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AAAmC,EAAA3B,UAMAR,CANiC,YAAAmC,EAAAb,KAMjCtB,CALuB,kBAAAmC,EAAAX,QAKvBxB,CAJgC,MAAAmC,EAAAV,IAIhCzB,CAHiB,UAAAmC,EAAAM,QAGjBzC,CAFyB,SAAAmC,EAAAG,OAEzBtC,CADuB,YAAAmC,EAAA1B,aAAA,MAAA0B,EAAAjC,SAAA,KAAAiC,EAAAjC,SAAAwC,eAEvB1C,MAAA,OAAAmC,EAAAQ,8yBCIbtC,CAAkB,KCJlBuC,EAAe,MAAtB,MAAOA,EAAejB,SACjBpB,KAAAsC,WAAa,CAAEC,iBAAoBzC,GAAoBsB,SAAApB,KAAA,mBAAAqB,iBADrDgB,EAAe,EAAAjB,SAAApB,KAAA,UAAAsB,EAAAkB,GAAA,MAAfH,IAAejB,SAAApB,KAAA,UAAAsB,EAAAmB,IAAA,UALxBC,KACAC,IACAC,cAGSP,CAAe","names":["i0","ctx_r0","settings","backgroundImage","sourceset","BlockListComponent","constructor","this","direction","widthOptions","SettingsSetterDirective","role","ngOnInit","hideAt","length","Object","assign","setColorSettings","setBoxSettings","setFontSettings","setPositionSettings","mapSourceSet","wrap","disallowWrap","justify","gap","mapAmountWithUnitNotRestricted","static","__ngFactoryType__","core","VBU","selectors","hostVars","hostBindings","rf","ctx","color","backgroundColor","margin","maxWidth","BlockListComponent_Conditional_0_Template","padding","contentWidth","layout","BlockListModule","components","blockListElement","$C","G2t","CommonModule","GridModule","MediaModule"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./src/business/grid/block-list/block-list.component.html","./src/business/grid/block-list/block-list.component.ts","./src/business/grid/block-list/block-list.module.ts"],"sourcesContent":["@if(settings.backgroundImage) {\n \n\n}\n\n","import { ChangeDetectionStrategy, Component, HostBinding, OnInit } from '@angular/core';\nimport { GeneralElementSettings, SettingsSetterDirective } from 'src/business/models/general-element-settings';\nimport { SourceSet } from 'src/core-lib/umbraco/umbraco-image.model';\nimport { UmbracoGridElement } from 'src/layout/grid/models/umbraco-grid-element.interface';\n\nexport interface BlockListSettings extends GeneralElementSettings {\n direction: string;\n contentWidth: string;\n gap: string;\n justify: string;\n}\n\n@Component({\n selector: 'app-block-list-element',\n templateUrl: './block-list.component.html',\n styleUrls: ['./block-list.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class BlockListComponent implements OnInit {\n settings: BlockListSettings;\n direction: string = 'column';\n widthOptions = SettingsSetterDirective.widthOptions;\n layout: UmbracoGridElement[];\n wrap: string;\n justify: string;\n\n @HostBinding('style.--color')\n color: string;\n\n @HostBinding('style.--background-color')\n backgroundColor: string;\n\n @HostBinding('attr.id')\n id: string;\n\n @HostBinding('style.margin')\n margin: string;\n\n @HostBinding('style.max-width')\n maxWidth: string;\n\n @HostBinding('attr.role')\n role = 'region';\n\n @HostBinding('attr.hideAt')\n hideAt: string;\n\n // @HostBinding('style.border-width.px')\n // borderWidth: string;\n\n // @HostBinding('style.border-style')\n // borderStyle: string;\n\n // @HostBinding('style.border-color')\n // borderColor: string;\n\n gap: string;\n srcset: SourceSet[];\n sourceset: string;\n\n padding: string;\n flexWrap: string;\n\n ngOnInit() {\n // super.ngOnInit();\n if ((this.settings?.hideAt ?? '')?.length > 0)\n this.hideAt = this.settings?.hideAt;\n Object.assign(this, SettingsSetterDirective.setColorSettings(this.settings));\n Object.assign(this, SettingsSetterDirective.setBoxSettings(this.settings));\n // Object.assign(this, SettingsSetterDirective.setBackgroundSettings(this));\n Object.assign(this, SettingsSetterDirective.setFontSettings(this.settings));\n Object.assign(this, SettingsSetterDirective.setPositionSettings(this.settings));\n this.sourceset = SettingsSetterDirective.mapSourceSet(this.settings)\n this.wrap = this.settings?.wrap && !this.settings?.disallowWrap ? 'wrap' : (this.settings?.disallowWrap ? 'nowrap !important': null);\n this.justify = this.settings?.justify;\n this.direction = this.settings?.direction;\n this.gap = SettingsSetterDirective.mapAmountWithUnitNotRestricted(this.settings.gap);\n // this.borderWidth = this.settings.border?.includes('{') ? null : this.settings.border; // SettingsSetterDirective.mapAmountWithUnit(this.settings.border);\n // if (this.borderWidth != null && this.borderWidth != '')\n // this.borderStyle = 'solid';\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { GridModule } from 'src/layout/grid/grid.module';\nimport { MediaModule } from 'src/layout/media/media.module';\nimport { BlockListComponent } from './block-list.component';\n\n@NgModule({\n declarations: [BlockListComponent],\n imports: [\n CommonModule,\n GridModule,\n MediaModule\n ]\n})\nexport class BlockListModule {\n static components = { 'blockListElement': BlockListComponent };\n}\n"],"x_google_ignoreList":[]}