{"version":3,"sources":["webpack:///D:/a/1/s/src/app/core/components/tagImages/tag-images.shared.component.html","webpack:///D:/a/1/s/src/app/core/components/tagImages/tag-images.shared.component.ts","webpack:///D:/a/1/s/src/app/core/components/stats/stats.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/stats/index.ts","webpack:///D:/a/1/s/src/app/core/components/tiles/tilesTypes/forHistoryOrder/tile-for-history-order.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/lists/listsTypes/forHistoryOrders/list-for-history-orders.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/lists/listsTypes/forHistoryOrders/index.ts","webpack:///D:/a/1/s/src/app/core/modules/forms/components/formsOffsetWrapper/forms-offset-wrapper.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/forms/components/formsOffsetWrapper/index.ts","webpack:///D:/a/1/s/src/app/core/modules/forms/components/formsInputsGroup/forms-inputs-group.shared.component.html","webpack:///D:/a/1/s/src/app/core/modules/forms/components/formsInputsGroup/forms-inputs-group.shared.component.ts","webpack:///D:/a/1/s/src/app/core/modules/forms/components/formsInputsGroup/forms-inputs-group.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/forms/components/formsPhoneInput/forms-phone-input.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/forms/components/formsPhoneInput/index.ts","webpack:///D:/a/1/s/src/app/core/components/stats/stats.shared.component.ts","webpack:///D:/a/1/s/src/app/core/components/stats/stats.shared.component.html","webpack:///D:/a/1/s/src/app/core/modules/order/components/orderId/order-id.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/order/components/orderId/index.ts","webpack:///D:/a/1/s/src/app/core/modules/auth/components/authDeleteAccount/auth-delete-account.shared.module.ts","webpack:///D:/a/1/s/src/app/core/modules/auth/components/authDeleteAccount/index.ts","webpack:///D:/a/1/s/src/app/core/components/animatedCounter/animated-counter.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/tiles/tilesTypes/forProduct/tile-for-product.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/tiles/tilesTypes/forProduct/index.ts","webpack:///D:/a/1/s/src/app/core/components/tagImages/tag-images.shared.module.ts","webpack:///D:/a/1/s/src/app/core/components/tagImages/index.ts","webpack:///D:/a/1/s/src/app/core/modules/forms/components/formsPhoneInput/forms-phone-input.shared.component.ts","webpack:///D:/a/1/s/src/app/core/modules/forms/components/formsPhoneInput/forms-phone-input.shared.component.html","webpack:///D:/a/1/s/src/app/core/modules/order/components/orderId/order-id.shared.component.ts","webpack:///D:/a/1/s/src/app/core/modules/order/components/orderId/order-id.shared.component.html"],"names":["TagImagesComponent","images","index","image","Id","StatsModule","TileForHistoryOrderModule","ListForHistoryOrdersModule","FormsOffsetWrapperModule","FormsInputsGroupComponent","single","FormsInputsGroupModule","FormsPhoneInputModule","StatsComponent","config","stats","this","kilojoules","energyUnits","cals","OrderIdModule","AuthDeleteAccountModule","AnimatedCounterModule","TileForProductModule","TagImagesModule","FormsPhoneInputComponent","controllers","onSelectUpdateRevalidatedFields","compact","countryName","mobileName","flagSize","flagStyle","onButtonClick","countries$","appSettings","appGetCounrtries$","pipe","countries","undefined","defaultSelected","find","c","IsDefault","showCountries$","length","parentForm","controls","console","warn","push","placeholder","$event","emit","handleErrorButtonClick","OrderIdComponent","super","title","orderId","size","mobileSize","feel","inverted","window","innerWidth"],"mappings":"gMAGY,gBAEI,gBAEJ,Q,8BAHI,qBAC6B,oCAA2B,e,yBAHhE,QACI,sBAKJ,Q,yBALkC,8DCOnC,Y,MAAMA,EAGT,cAFgB,KAAAC,OAAmC,GAInD,YAEO,QAAQC,EAAeC,G,MAC1B,OAAY,QAAL,EAAAA,SAAK,eAAEC,KAAMF,G,6CARfF,I,uBAAAA,EAAkB,6WDV/B,gBACI,gBACI,+BAOJ,OACJ,Q,MARsB,iCAA8C,4B,+pBCQ7D,I,gECKA,Y,MAAMK,G,8BAAAA,I,oDAAAA,IAAW,UAFT,GAAE,SAJJ,CAAC,Q,GAMP,GCfP,mC,kMCqCO,Y,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GJ,OACJ,Q,MAPkB,4BAAqB,cAArB,CAAqB,eAEF,6BACC,iC,2qBDM/B","file":"x","sourcesContent":["
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
","import { Component, OnInit, Input, ChangeDetectionStrategy } from '@angular/core';\r\n\r\nimport * as State from '@shared/state';\r\n\r\n@Component({\r\n selector: 'shared-tag-images',\r\n templateUrl: './tag-images.shared.component.html',\r\n styleUrls: ['./tag-images.shared.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class TagImagesComponent implements OnInit {\r\n @Input() public images: State.IDietaryTagImage[] = [];\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void { }\r\n\r\n public trackBy(index: number, image: State.IDietaryTagImage): number {\r\n return image?.Id || index;\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { StatsComponent } from './stats.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n StatsComponent\r\n ],\r\n imports: [CommonModule],\r\n exports: [\r\n StatsComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class StatsModule { }\r\n","export * from './stats.shared.module';\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { TruncatePipeModule } from '@shared/core/pipes/truncate';\r\n\r\nimport { OrderIdModule } from '@shared/core/modules/order/components/orderId';\r\nimport { LoadersModule } from '@shared/core/components/loaders';\r\nimport { HintsModule } from '@shared/core/components/hints';\r\nimport { BoxModule } from '@shared/core/components/box';\r\nimport { ButtonsModule } from '@shared/core/components/buttons';\r\nimport { HeadersModule } from '@shared/core/components/headers';\r\nimport { StatsModule } from '@shared/core/components/stats';\r\nimport { ThumbsModule } from '@shared/core/components/thumbs';\r\n\r\nimport { TileForHistoryOrderComponent } from './tile-for-history-order.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n TileForHistoryOrderComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n OrderIdModule,\r\n TruncatePipeModule,\r\n HeadersModule,\r\n HintsModule,\r\n LoadersModule,\r\n ButtonsModule,\r\n BoxModule,\r\n StatsModule,\r\n ThumbsModule\r\n ],\r\n exports: [\r\n TileForHistoryOrderComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class TileForHistoryOrderModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { LimitPipeModule } from '@shared/core/pipes/limit';\r\nimport { TileForProductModule } from '@shared/core/components/tiles/tilesTypes/forProduct';\r\nimport { TileForHistoryOrderModule } from '@shared/core/components/tiles/tilesTypes/forHistoryOrder';\r\n\r\nimport { ListForHistoryOrdersComponent } from './list-for-history-orders.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n ListForHistoryOrdersComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n LimitPipeModule,\r\n TileForProductModule,\r\n TileForHistoryOrderModule,\r\n ],\r\n exports: [\r\n ListForHistoryOrdersComponent\r\n ],\r\n})\r\nexport class ListForHistoryOrdersModule { }\r\n","export * from './list-for-history-orders.shared.module';\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { FormsOffsetWrapperComponent } from './forms-offset-wrapper.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n FormsOffsetWrapperComponent\r\n ],\r\n imports: [CommonModule],\r\n exports: [\r\n FormsOffsetWrapperComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class FormsOffsetWrapperModule { }\r\n","export * from './forms-offset-wrapper.shared.module';\r\n","
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
","import { Component, OnInit, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'shared-forms-inputs-group',\r\n templateUrl: './forms-inputs-group.shared.component.html',\r\n styleUrls: ['./forms-inputs-group.shared.component.scss']\r\n})\r\nexport class FormsInputsGroupComponent {\r\n @Input() public label: string;\r\n @Input() public single: boolean = false;\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { FormsInputsGroupComponent } from './forms-inputs-group.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n FormsInputsGroupComponent\r\n ],\r\n imports: [CommonModule],\r\n exports: [FormsInputsGroupComponent],\r\n providers: [],\r\n})\r\nexport class FormsInputsGroupModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { FormsInputsGroupModule } from '../formsInputsGroup';\r\nimport { FormsInputModule } from '../formsInput';\r\n\r\nimport { FormsPhoneInputComponent } from './forms-phone-input.shared.component';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n FormsPhoneInputComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n FormsInputsGroupModule,\r\n FormsInputModule,\r\n ],\r\n exports: [\r\n FormsPhoneInputComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class FormsPhoneInputModule { }\r\n","export * from './forms-phone-input.shared.component';\r\nexport * from './forms-phone-input.shared.module';\r\n","import { Component, OnInit, Input, ChangeDetectionStrategy, Inject } from '@angular/core';\r\n\r\nimport * as Tokens from '@shared/core/tokens';\r\n\r\n@Component({\r\n selector: 'shared-stats',\r\n templateUrl: './stats.shared.component.html',\r\n styleUrls: ['./stats.shared.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class StatsComponent implements OnInit {\r\n @Input() public stats: OLO.Components.IStatsComponentInput = {};\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) public config: IConfig,\r\n ) { }\r\n\r\n ngOnInit(): void { }\r\n\r\n public get energy(): string {\r\n return this.stats?.kilojoules ?\r\n this.config.energyUnits === 1 ? this.stats.kilojoules + 'kJ' : this.stats.cals + 'cals'\r\n : null;\r\n }\r\n}\r\n","
\r\n
\r\n {{stats?.label}}\r\n {{stats?.price | currency : config.localization.currency:'symbol-narrow':null: config.localization.locale}}\r\n \r\n \r\n {{energy}}\r\n \r\n
\r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { IndicatorsModule } from '@shared/core/components/indicators';\r\n\r\nimport { OrderIdComponent } from './order-id.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n OrderIdComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n IndicatorsModule,\r\n ],\r\n exports: [\r\n OrderIdComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class OrderIdModule { }\r\n","export * from './order-id.shared.module';\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { LinkModule } from '@shared/core/components/link';\r\n\r\nimport { AuthDeleteAccountComponent } from './auth-delete-account.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n AuthDeleteAccountComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n LinkModule,\r\n ],\r\n exports: [\r\n AuthDeleteAccountComponent\r\n ]\r\n})\r\nexport class AuthDeleteAccountModule { }\r\n","export * from './auth-delete-account.shared.module';\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { BadgesModule } from '@shared/core/components/badges';\r\n\r\nimport { AnimatedCounterComponent } from './animated-counter.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n AnimatedCounterComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n BadgesModule,\r\n ],\r\n exports: [\r\n AnimatedCounterComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class AnimatedCounterModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { TruncatePipeModule } from '@shared/core/pipes/truncate';\r\n\r\nimport { LoadersModule } from '@shared/core/components/loaders';\r\nimport { HeadersModule } from '@shared/core/components/headers';\r\nimport { ButtonsModule } from '@shared/core/components/buttons';\r\nimport { AnimatedCounterModule } from '@shared/core/components/animatedCounter';\r\nimport { StatsModule } from '@shared/core/components/stats';\r\nimport { TagImagesModule } from '@shared/core/components/tagImages';\r\nimport { ThumbsModule } from '@shared/core/components/thumbs';\r\n\r\nimport { TileForProductComponent } from './tile-for-product.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n TileForProductComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n TruncatePipeModule,\r\n HeadersModule,\r\n LoadersModule,\r\n ButtonsModule,\r\n AnimatedCounterModule,\r\n StatsModule,\r\n TagImagesModule,\r\n ThumbsModule,\r\n ],\r\n exports: [\r\n TileForProductComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class TileForProductModule { }\r\n","export * from './tile-for-product.shared.module';\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { ImagePreloadDirectiveSharedModule } from '@shared/core/directives/imagePreload/image-preload.directive.shared.module';\r\n\r\nimport { TagImagesComponent } from './tag-images.shared.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n TagImagesComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n ImagePreloadDirectiveSharedModule,\r\n ],\r\n exports: [\r\n TagImagesComponent\r\n ],\r\n providers: [],\r\n})\r\nexport class TagImagesModule { }\r\n","export * from './tag-images.shared.module';\r\n","import { Component, OnInit, Input, Output, EventEmitter, Inject } from '@angular/core';\r\nimport { FormGroup } from '@angular/forms';\r\n\r\nimport * as Tokens from '@shared/core/tokens';\r\nimport { ILoyaltyAppCountryAssignmentModel } from '@shared/state';\r\nimport { Controllers } from '@shared/core';\r\nimport { Observable } from 'rxjs';\r\nimport { map, tap } from 'rxjs/operators';\r\n\r\n@Component({\r\n selector: 'shared-forms-phone-input',\r\n templateUrl: './forms-phone-input.shared.component.html',\r\n styleUrls: ['./forms-phone-input.shared.component.scss']\r\n})\r\nexport class FormsPhoneInputComponent implements OnInit {\r\n public countries$: Observable;\r\n public showCountries$: Observable;\r\n public onSelectUpdateRevalidatedFields: string[] = [];\r\n @Input() public compact: boolean = false;\r\n @Input() public parentForm: FormGroup;\r\n @Input() public label: string;\r\n @Input() public countryName: string = 'countryPrefix';\r\n @Input() public mobileName: string = 'cellNumber';\r\n @Input() public defaultSelected: number;\r\n @Input() public placeholder!: string;\r\n /* https://www.countryflags.io/ */\r\n @Input() public flagSize: 16 | 24 | 32 | 48 | 64 = 24;\r\n @Input() public flagStyle: 'flat' | 'shiny' = 'shiny';\r\n @Output() public onButtonClick: EventEmitter = new EventEmitter();\r\n\r\n constructor(\r\n @Inject(Tokens.CONFIG_TOKEN) public config: IConfig,\r\n public controllers: Controllers,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.countries$ = this.controllers.appSettings.appGetCounrtries$().pipe(tap(countries => {\r\n if (this.defaultSelected === undefined) {\r\n this.defaultSelected = countries.find((c) => c.IsDefault)?.Id || 222;\r\n }\r\n }));\r\n this.showCountries$ = this.controllers.appSettings.appGetCounrtries$().pipe(\r\n map(countries => countries.length > 0 && this.parentForm !== undefined && this.parentForm.controls[this.countryName] !== undefined)\r\n );\r\n\r\n if (!this.parentForm) {\r\n return console.warn('parentForm not provided in forms-phone-input component', this.parentForm);\r\n }\r\n if (!this.parentForm.controls[this.countryName]) {\r\n console.warn(`form control \"${this.countryName}\" doesn't exist in provided 'parentForm' instance:`, this.parentForm,\r\n 'This component can accept string \"countryName\" property to adjust control name');\r\n }\r\n\r\n if (!this.parentForm.controls[this.mobileName]) {\r\n console.warn(`form control \"${this.mobileName}\" doesn't exist in provided 'parentForm' instance:`, this.parentForm,\r\n 'This component can accept string \"mobileName\" property to adjust control name');\r\n }\r\n\r\n this.onSelectUpdateRevalidatedFields.push(this.mobileName);\r\n\r\n if (!this.placeholder) {\r\n this.placeholder = '';\r\n }\r\n }\r\n\r\n public handleErrorButtonClick($event: Event): void {\r\n this.onButtonClick.emit($event);\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
+{{item.PhonePrefix}}
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n
{{item.Name}}
\r\n
+{{item.PhonePrefix}}
\r\n
\r\n
\r\n\r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n","import { Component, OnInit, Input } from '@angular/core';\r\n\r\nimport { IndicatorComponent } from '@shared/core/components/indicators/indicator.shared.component';\r\n\r\n@Component({\r\n selector: 'shared-order-id',\r\n templateUrl: './order-id.shared.component.html',\r\n styleUrls: ['./order-id.shared.component.scss']\r\n})\r\nexport class OrderIdComponent extends IndicatorComponent implements OnInit {\r\n @Input() public title: string = 'ORDER';\r\n @Input() public orderId: string | number = null;\r\n @Input() public size: OLO.Components.INDICATOR_SIZE = 'xxxlg';\r\n @Input() public mobileSize: OLO.Components.INDICATOR_SIZE = null;\r\n @Input() public feel: OLO.Components.INDICATOR_FEEL = null;\r\n @Input() public inverted: boolean = true;\r\n\r\n constructor() {\r\n super();\r\n }\r\n\r\n ngOnInit(): void {\r\n if (this.mobileSize && window.innerWidth < 768) {\r\n this.size = this.mobileSize;\r\n }\r\n }\r\n}\r\n","\r\n
\r\n
{{title}}
\r\n
\r\n {{orderId}}\r\n
\r\n
\r\n
"]}