@colijnit/catalog 9.1.1 → 12.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/components/catalog/article-card/article-card.component.d.ts +5 -2
- package/app/components/catalog/catalog-filter/catalog-filter.component.d.ts +1 -1
- package/app/ione-catalog.component.d.ts +1 -0
- package/app/service/app-event.service.d.ts +1 -0
- package/app/service/dictionary.service.d.ts +3 -5
- package/app/service/icon-cache.service.d.ts +2 -2
- package/bundles/colijnit-catalog.umd.js +762 -707
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/app/base/base-component.js +1 -1
- package/esm2015/app/components/catalog/article-card/article-card.component.js +33 -54
- package/esm2015/app/components/catalog/catalog/catalog.component.js +13 -15
- package/esm2015/app/components/catalog/catalog-filter/catalog-filter.component.js +25 -29
- package/esm2015/app/components/catalog/catalog-page/catalog-page.component.js +14 -16
- package/esm2015/app/components/catalog/filter-items/filter-items.component.js +16 -24
- package/esm2015/app/components/core/icon-handle/icon-handle.component.js +15 -22
- package/esm2015/app/components/core/label-field/label-field.component.js +13 -17
- package/esm2015/app/components/left-content/left-content.component.js +10 -12
- package/esm2015/app/components/main-content/main-content.component.js +10 -12
- package/esm2015/app/components/navigation/navigation.component.js +13 -15
- package/esm2015/app/components/top-content/top-content.component.js +21 -25
- package/esm2015/app/enum/catalog-product-filter.enum.js +1 -1
- package/esm2015/app/enum/icon.enum.js +1 -1
- package/esm2015/app/enum/language-code.enum.js +1 -1
- package/esm2015/app/enum/level-indicator-level.enum.js +1 -1
- package/esm2015/app/interface/filter-item.js +2 -1
- package/esm2015/app/interface/order-by.interface.js +2 -1
- package/esm2015/app/ione-catalog.component.js +29 -43
- package/esm2015/app/ione-catalog.module.js +90 -101
- package/esm2015/app/layout.directive.js +15 -23
- package/esm2015/app/model/icon.js +1 -1
- package/esm2015/app/model/settings-options.js +1 -1
- package/esm2015/app/model/settings.js +1 -1
- package/esm2015/app/pipe/greater-than-zero.pipe.js +9 -11
- package/esm2015/app/pipe/localize.pipe.js +8 -12
- package/esm2015/app/service/app-event.service.js +9 -10
- package/esm2015/app/service/dictionary.service.js +14 -24
- package/esm2015/app/service/i-one-connector-adapter.service.js +7 -8
- package/esm2015/app/service/i-one-controller.service.js +7 -8
- package/esm2015/app/service/icon-cache.service.js +9 -11
- package/esm2015/app/service/navigation.service.js +10 -11
- package/esm2015/app/service/options.service.js +10 -12
- package/esm2015/app/service/product-catalog-controller.service.js +18 -13
- package/esm2015/app/service/settings.service.js +7 -8
- package/esm2015/app/utils/json-utils.service.js +8 -9
- package/esm2015/app/utils/string-utils.js +1 -1
- package/esm2015/app/utils/utils.service.js +7 -8
- package/esm2015/colijnit-catalog.js +1 -1
- package/esm2015/public_api.js +1 -1
- package/fesm2015/colijnit-catalog.js +394 -461
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/package.json +22 -21
- package/bundles/colijnit-catalog.umd.min.js +0 -16
- package/bundles/colijnit-catalog.umd.min.js.map +0 -1
- package/css/styles.css +0 -85
- package/esm5/app/base/base-component.js +0 -7
- package/esm5/app/components/catalog/article-card/article-card.component.js +0 -209
- package/esm5/app/components/catalog/catalog/catalog.component.js +0 -36
- package/esm5/app/components/catalog/catalog-filter/catalog-filter.component.js +0 -217
- package/esm5/app/components/catalog/catalog-page/catalog-page.component.js +0 -73
- package/esm5/app/components/catalog/filter-items/filter-items.component.js +0 -58
- package/esm5/app/components/core/icon-handle/icon-handle.component.js +0 -44
- package/esm5/app/components/core/label-field/label-field.component.js +0 -23
- package/esm5/app/components/left-content/left-content.component.js +0 -18
- package/esm5/app/components/main-content/main-content.component.js +0 -18
- package/esm5/app/components/navigation/navigation.component.js +0 -63
- package/esm5/app/components/top-content/top-content.component.js +0 -51
- package/esm5/app/enum/catalog-product-filter.enum.js +0 -9
- package/esm5/app/enum/icon.enum.js +0 -22
- package/esm5/app/enum/language-code.enum.js +0 -8
- package/esm5/app/enum/level-indicator-level.enum.js +0 -7
- package/esm5/app/interface/filter-item.js +0 -1
- package/esm5/app/interface/order-by.interface.js +0 -1
- package/esm5/app/ione-catalog.component.js +0 -158
- package/esm5/app/ione-catalog.module.js +0 -104
- package/esm5/app/layout.directive.js +0 -89
- package/esm5/app/model/icon.js +0 -21
- package/esm5/app/model/settings-options.js +0 -17
- package/esm5/app/model/settings.js +0 -11
- package/esm5/app/pipe/greater-than-zero.pipe.js +0 -21
- package/esm5/app/pipe/localize.pipe.js +0 -33
- package/esm5/app/service/app-event.service.js +0 -21
- package/esm5/app/service/dictionary.service.js +0 -123
- package/esm5/app/service/i-one-connector-adapter.service.js +0 -79
- package/esm5/app/service/i-one-controller.service.js +0 -153
- package/esm5/app/service/icon-cache.service.js +0 -42
- package/esm5/app/service/navigation.service.js +0 -73
- package/esm5/app/service/options.service.js +0 -138
- package/esm5/app/service/product-catalog-controller.service.js +0 -739
- package/esm5/app/service/settings.service.js +0 -94
- package/esm5/app/utils/json-utils.service.js +0 -39
- package/esm5/app/utils/string-utils.js +0 -45
- package/esm5/app/utils/utils.service.js +0 -135
- package/esm5/colijnit-catalog.js +0 -32
- package/esm5/public_api.js +0 -2
- package/fesm5/colijnit-catalog.js +0 -2815
- package/fesm5/colijnit-catalog.js.map +0 -1
- package/typings.d.ts +0 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colijnit-catalog.js","sources":["ng://@colijnit/catalog/app/utils/json-utils.service.ts","ng://@colijnit/catalog/app/service/i-one-connector-adapter.service.ts","ng://@colijnit/catalog/app/service/i-one-controller.service.ts","ng://@colijnit/catalog/app/utils/utils.service.ts","ng://@colijnit/catalog/app/enum/language-code.enum.ts","ng://@colijnit/catalog/app/utils/string-utils.ts","ng://@colijnit/catalog/app/service/dictionary.service.ts","ng://@colijnit/catalog/app/model/settings-options.ts","ng://@colijnit/catalog/app/model/settings.ts","ng://@colijnit/catalog/app/service/settings.service.ts","ng://@colijnit/catalog/app/service/options.service.ts","ng://@colijnit/catalog/app/service/product-catalog-controller.service.ts","ng://@colijnit/catalog/app/enum/icon.enum.ts","ng://@colijnit/catalog/app/model/icon.ts","ng://@colijnit/catalog/app/service/icon-cache.service.ts","ng://@colijnit/catalog/app/components/top-content/top-content.component.ts","ng://@colijnit/catalog/app/components/main-content/main-content.component.ts","ng://@colijnit/catalog/app/components/left-content/left-content.component.ts","ng://@colijnit/catalog/app/enum/catalog-product-filter.enum.ts","ng://@colijnit/catalog/app/components/catalog/catalog-filter/catalog-filter.component.ts","ng://@colijnit/catalog/app/components/catalog/catalog-page/catalog-page.component.ts","ng://@colijnit/catalog/app/service/app-event.service.ts","ng://@colijnit/catalog/app/components/catalog/article-card/article-card.component.ts","ng://@colijnit/catalog/app/components/core/label-field/label-field.component.ts","ng://@colijnit/catalog/app/components/core/icon-handle/icon-handle.component.ts","ng://@colijnit/catalog/app/components/catalog/catalog/catalog.component.ts","ng://@colijnit/catalog/app/pipe/localize.pipe.ts","ng://@colijnit/catalog/app/base/base-component.ts","ng://@colijnit/catalog/app/layout.directive.ts","ng://@colijnit/catalog/app/ione-catalog.component.ts","ng://@colijnit/catalog/app/components/catalog/filter-items/filter-items.component.ts","ng://@colijnit/catalog/app/pipe/greater-than-zero.pipe.ts","ng://@colijnit/catalog/app/service/navigation.service.ts","ng://@colijnit/catalog/app/components/navigation/navigation.component.ts","ng://@colijnit/catalog/app/ione-catalog.module.ts","ng://@colijnit/catalog/colijnit-catalog.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\n\r\n@Injectable()\r\nexport class JsonUtilsService {\r\n\r\n public async readJsonFile(filePath: string): Promise<any> {\r\n try {\r\n const response = await fetch(filePath);\r\n if (!response.ok) {\r\n console.error('Error getting translation:', response.statusText);\r\n return '';\r\n } else {\r\n return response.json();\r\n }\r\n } catch (e) {\r\n console.error('Error getting translation:', e.message);\r\n return '';\r\n }\r\n }\r\n}\r\n","import {Injectable} from '@angular/core';\r\nimport {Subject} from 'rxjs';\r\nimport {Connector} from '@colijnit/ioneconnector';\r\nimport {Options} from '@colijnit/ioneconnector/build/model/options';\r\nimport {Article} from '@colijnit/ioneconnector/build/model/article';\r\nimport {GetArticlesForCatalogRequest} from '@colijnit/ioneconnector/build/model/get-articles-for-catalog';\r\nimport {PagingParameters} from '@colijnit/ioneconnector/build/model/paging-parameters';\r\nimport {Atmosphere} from '@colijnit/ioneconnector/build/model/atmosphere';\r\nimport {Catalog} from '@colijnit/ioneconnector/build/catalog';\r\nimport {Brand} from '@colijnit/ioneconnector/build/model/brand';\r\nimport {Material} from '@colijnit/ioneconnector/build/model/material';\r\nimport {Design} from '@colijnit/ioneconnector/build/model/design';\r\nimport {Color} from '@colijnit/ioneconnector/build/model/color';\r\nimport {Tag} from '@colijnit/ioneconnector/build/model/tag';\r\nimport {SuperArticleImage} from '@colijnit/ioneconnector/build/model/super-article-image';\r\nimport {TurnoverGroupImage} from '@colijnit/ioneconnector/build/model/turnover-group-image';\r\nimport {ArticleGroupImage} from '@colijnit/ioneconnector/build/model/article-group-image';\r\nimport {ArticleCategory} from '@colijnit/ioneconnector/build/model/article-category';\r\nimport {ArticlePrice} from '@colijnit/ioneconnector/build/model/article-price';\r\nimport {ArticleGroup} from '@colijnit/ioneconnector/build/model/article-group';\r\nimport {Concept} from '@colijnit/ioneconnector/build/model/concept';\r\nimport {ArticleExtendedDto} from '@colijnit/ioneconnector/build/model/article-extended-dto';\r\n\r\n// Sole responsibility is simply to wrap around a colijn.Connector to create a stable inner interface to the library in a 1:1 method way.\r\n// Only to be used by the IOneControllerService.\r\n@Injectable()\r\nexport class IOneConnectorAdapterService {\r\n\r\n public readonly showLoader: Subject<boolean> = new Subject<boolean>();\r\n\r\n public connector?: Connector;\r\n\r\n constructor() {\r\n }\r\n\r\n public initConnector(options: Options): void {\r\n this.connector = new Connector(options);\r\n options.session = this.connector.session;\r\n this.connector.showLoader.subscribe(value => this.showLoader.next(value));\r\n }\r\n\r\n public getArticlesForCatalog(\r\n params: GetArticlesForCatalogRequest,\r\n paging?: PagingParameters,\r\n showLoader = true\r\n ): Promise<ArticleExtendedDto[]> {\r\n return this.connector.getArticlesForCatalog(params, paging, showLoader);\r\n }\r\n\r\n public getArticleCategories(publicationCode: number): Promise<ArticleCategory[]> {\r\n return this.connector.getArticleCategories(publicationCode);\r\n }\r\n\r\n public getArticleGroupImages(): Promise<ArticleGroupImage[]> {\r\n return this.connector.getArticleGroupImages();\r\n }\r\n\r\n public getTurnoverGroupImages(category?: string): Promise<TurnoverGroupImage[]> {\r\n return this.connector.getTurnoverGroupImages(category);\r\n }\r\n\r\n public getSuperArticleImages(): Promise<SuperArticleImage[]> {\r\n return this.connector.getSuperArticleImages();\r\n }\r\n\r\n public getTags(): Promise<Tag[]> {\r\n return this.connector.getTags();\r\n }\r\n\r\n public getColors(): Promise<Color[]> {\r\n return this.connector.getColors();\r\n }\r\n\r\n public getDesigns(): Promise<Design[]> {\r\n return this.connector.getDesigns();\r\n }\r\n\r\n public getMaterials(): Promise<Material[]> {\r\n return this.connector.getMaterials();\r\n }\r\n\r\n public getBrands(): Promise<Brand[]> {\r\n return this.connector.getBrands();\r\n }\r\n\r\n public getCatalogs(): Promise<Catalog[]> {\r\n return this.connector.getCatalogs();\r\n }\r\n\r\n public getAtmospheres(): Promise<Atmosphere[]> {\r\n return this.connector.getAtmospheres();\r\n }\r\n\r\n public getArticleGroups(): Promise<ArticleGroup[]> {\r\n return this.connector.getArticleGroups();\r\n }\r\n\r\n public getConcepts(): Promise<Concept[]> {\r\n return this.connector.getConcepts();\r\n }\r\n\r\n public getSelectorArticleThumbnail(documentKey: string): Promise<string> {\r\n return this.connector.getSelectorArticleThumbnail(documentKey);\r\n }\r\n\r\n public getArticlePrice(goodId: number): Promise<ArticlePrice> {\r\n return this.connector.getArticlePrice(goodId);\r\n }\r\n\r\n public getJsonArticleFlatTree(goodId: number): Promise<void> {\r\n return this.connector.getJsonArticleFlatTree(goodId);\r\n }\r\n\r\n // @returns The initial article\r\n public getArticle(skuOrId: string): Promise<Article> {\r\n return this.connector.getArticle(skuOrId);\r\n }\r\n}\r\n","import {Injectable, OnDestroy} from '@angular/core';\r\nimport {BehaviorSubject, Subscription} from 'rxjs';\r\nimport {Options} from '@colijnit/ioneconnector/build/model/options';\r\nimport {GetArticlesForCatalogRequest} from '@colijnit/ioneconnector/build/model/get-articles-for-catalog';\r\nimport {PagingParameters} from '@colijnit/ioneconnector/build/model/paging-parameters';\r\nimport {Material} from '@colijnit/ioneconnector/build/model/material';\r\nimport {Atmosphere} from '@colijnit/ioneconnector/build/model/atmosphere';\r\nimport {Tag} from '@colijnit/ioneconnector/build/model/tag';\r\nimport {SuperArticleImage} from '@colijnit/ioneconnector/build/model/super-article-image';\r\nimport {Brand} from '@colijnit/ioneconnector/build/model/brand';\r\nimport {Catalog} from '@colijnit/ioneconnector/build/catalog';\r\nimport {ArticleCategory} from '@colijnit/ioneconnector/build/model/article-category';\r\nimport {Color} from '@colijnit/ioneconnector/build/model/color';\r\nimport {TurnoverGroupImage} from '@colijnit/ioneconnector/build/model/turnover-group-image';\r\nimport {Design} from '@colijnit/ioneconnector/build/model/design';\r\nimport {ArticleGroupImage} from '@colijnit/ioneconnector/build/model/article-group-image';\r\n\r\nimport {IOneConnectorAdapterService} from './i-one-connector-adapter.service';\r\nimport {ArticlePrice} from '@colijnit/ioneconnector/build/model/article-price';\r\nimport {ArticleGroup} from '@colijnit/ioneconnector/build/model/article-group';\r\nimport {Concept} from '@colijnit/ioneconnector/build/model/concept';\r\nimport {ArticleExtendedDto} from '@colijnit/ioneconnector/build/model/article-extended-dto';\r\n\r\n// Holds all iONE backend related state and methods for a running HomeDecorator. To be used anywhere internally.\r\n@Injectable()\r\nexport class IOneControllerService implements OnDestroy {\r\n\r\n public get shouldShowLoader(): boolean {\r\n return this._shouldShowLoader;\r\n }\r\n\r\n public controllerInitialized: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(false);\r\n\r\n public assetPath: string;\r\n\r\n private _shouldShowLoader: boolean;\r\n private _initializing = false;\r\n private _initialized = false;\r\n\r\n private readonly defaultDevTestOptions: Options = new Options();\r\n\r\n private readonly subs: Subscription[] = [];\r\n\r\n constructor(public connector: IOneConnectorAdapterService) {\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subs.forEach(sub => sub.unsubscribe());\r\n }\r\n\r\n public async initDefaultDevelopTestConnection(settings?: any, forceReload?: boolean): Promise<void> {\r\n if ((this._initialized || this._initializing) && !forceReload) {\r\n return;\r\n }\r\n this._initializing = true;\r\n try {\r\n // const connectorSettings: any = await this._getConnectorSettings(settings);\r\n this.defaultDevTestOptions.url = settings.url;\r\n this.defaultDevTestOptions.schema = settings.schema;\r\n this.defaultDevTestOptions.version = settings.version;\r\n this.defaultDevTestOptions.branch = settings.branch;\r\n this.defaultDevTestOptions.username = settings.username;\r\n this.defaultDevTestOptions.password = settings.password;\r\n this.defaultDevTestOptions.session = settings.session;\r\n this.defaultDevTestOptions.currencyId = settings.currency;\r\n this.defaultDevTestOptions.useGroups = settings.useGroups;\r\n this.defaultDevTestOptions.useRenders = settings.useRenders;\r\n this.defaultDevTestOptions.useLoginEncryption = settings.useEncryption;\r\n this.defaultDevTestOptions.languageCode = settings.languageCode;\r\n this.assetPath = settings.assetPath;\r\n\r\n this.subs.push(\r\n this.connector.showLoader.subscribe(showLoader => this.onShowLoaderChange(showLoader))\r\n );\r\n this.connector.initConnector(this.defaultDevTestOptions);\r\n this.controllerInitialized.next(true);\r\n this._initialized = true;\r\n this._initializing = false;\r\n } catch (e) {\r\n this._initializing = false;\r\n }\r\n }\r\n\r\n public getArticlesForCatalog(params: GetArticlesForCatalogRequest,\r\n paging?: PagingParameters,\r\n showLoader: boolean = true): Promise<ArticleExtendedDto[]> {\r\n return this.connector.getArticlesForCatalog(params, paging, showLoader);\r\n }\r\n\r\n public getArticleCategories(publicationCode: number): Promise<ArticleCategory[]> {\r\n return this.connector.getArticleCategories(publicationCode);\r\n }\r\n\r\n // will be called in future\r\n public getArticleGroupImages(): Promise<ArticleGroupImage[]> {\r\n return this.connector.getArticleGroupImages();\r\n }\r\n\r\n public getTurnoverGroupImages(category?: string): Promise<TurnoverGroupImage[]> {\r\n return this.connector.getTurnoverGroupImages(category);\r\n }\r\n\r\n // will be called in future\r\n public getSuperArticleImages(): Promise<SuperArticleImage[]> {\r\n return this.connector.getSuperArticleImages();\r\n }\r\n\r\n // will be called in future\r\n public getTags(): Promise<Tag[]> {\r\n return this.connector.getTags();\r\n }\r\n\r\n public getColors(): Promise<Color[]> {\r\n return this.connector.getColors();\r\n }\r\n\r\n public getDesigns(): Promise<Design[]> {\r\n return this.connector.getDesigns();\r\n }\r\n\r\n public getMaterials(): Promise<Material[]> {\r\n return this.connector.getMaterials();\r\n }\r\n\r\n public getBrands(): Promise<Brand[]> {\r\n return this.connector.getBrands();\r\n }\r\n\r\n public getCatalogs(): Promise<Catalog[]> {\r\n return this.connector.getCatalogs();\r\n }\r\n\r\n public getAtmospheres(): Promise<Atmosphere[]> {\r\n return this.connector.getAtmospheres();\r\n }\r\n\r\n public getArticleGroups(): Promise<ArticleGroup[]> {\r\n return this.connector.getArticleGroups();\r\n }\r\n\r\n public getConcepts(): Promise<Concept[]> {\r\n return this.connector.getConcepts();\r\n }\r\n\r\n public getSelectorArticleThumbnail(documentKey: string): Promise<string> {\r\n return this.connector.getSelectorArticleThumbnail(documentKey);\r\n }\r\n\r\n public getArticlePrice(goodId: number): Promise<ArticlePrice> {\r\n return this.connector.getArticlePrice(goodId);\r\n }\r\n\r\n public getJsonArticleFlatTree(goodId: number): Promise<any> {\r\n return this.connector.getJsonArticleFlatTree(goodId);\r\n }\r\n\r\n private async _getConnectorSettings(settings?: any): Promise<any> {\r\n const connectorSettings: any = {};\r\n if (settings) {\r\n connectorSettings.url = settings.hasOwnProperty('url') ? settings['url'] : '';\r\n connectorSettings.ajaxUrl = settings.hasOwnProperty('url') ? settings['url'] : '';\r\n connectorSettings.schema = settings.hasOwnProperty('schema') ? settings['schema'] : '';\r\n connectorSettings.version = settings.hasOwnProperty('version') ? settings['version'] : '';\r\n connectorSettings.branch = settings.hasOwnProperty('branch') ? settings['branch'] : '';\r\n connectorSettings.username = settings.hasOwnProperty('username') ? settings['username'] : '';\r\n connectorSettings.password = settings.hasOwnProperty('password') ? settings['password'] : '';\r\n connectorSettings.currency = settings.hasOwnProperty('currency') ? settings['currency'] : '';\r\n connectorSettings.useGroups = settings.hasOwnProperty('useGroups') ? settings['useGroups'] : true;\r\n connectorSettings.useRenders = settings.hasOwnProperty('useRenders') ? settings['useRenders'] : true;\r\n connectorSettings.useEncryption = settings.hasOwnProperty('useEncryption') ? settings['useEncryption'] : true;\r\n connectorSettings.assetPath = settings.hasOwnProperty('assetPath') ? settings['assetPath'] : '';\r\n connectorSettings.languageCode = settings['languageCode'];\r\n }\r\n return connectorSettings;\r\n }\r\n\r\n public onShowLoaderChange(showLoader: boolean): void {\r\n this._shouldShowLoader = showLoader;\r\n }\r\n}\r\n","import { Injectable, ChangeDetectorRef } from '@angular/core';\r\n\r\n@Injectable()\r\nexport class UtilsService {\r\n\r\n private MAX_DIMENSION = 1200;\r\n private resizeImage(image: HTMLImageElement): string {\r\n const ratio = Math.min(\r\n this.MAX_DIMENSION / image.width,\r\n this.MAX_DIMENSION / image.height\r\n );\r\n const canvas = document.createElement('canvas');\r\n canvas.width = Math.trunc(image.width * ratio);\r\n canvas.height = Math.trunc(image.height * ratio);\r\n\r\n const ctx = canvas.getContext('2d');\r\n ctx.drawImage(\r\n image,\r\n 0, 0, image.width, image.height,\r\n 0, 0, canvas.width, canvas.height\r\n );\r\n const newSrc = canvas.toDataURL('image/jpeg'); // or png\r\n return newSrc;\r\n }\r\n\r\n readAndResizePhotoAsDataURL(file: File): Promise<string> {\r\n const image = new Image();\r\n return new Promise(async (resolve, reject) => {\r\n image.onload = () => {\r\n const newSrc = this.resizeImage(image);\r\n resolve(newSrc);\r\n };\r\n image.onerror = error => reject(error);\r\n image.src = await this.readFileAsDataURL(file);\r\n });\r\n }\r\n\r\n readFileAsDataURL(file: File): Promise<string> {\r\n const fileReader = new FileReader();\r\n return new Promise((resolve, reject) => {\r\n fileReader.onload = (e: any) => resolve(e.target.result);\r\n fileReader.onerror = error => reject(error);\r\n fileReader.readAsDataURL(file);\r\n });\r\n }\r\n\r\n readFileAsText(file: File): Promise<string> {\r\n const fileReader = new FileReader();\r\n return new Promise((resolve, reject) => {\r\n fileReader.onload = (e: any) => resolve(e.target.result);\r\n fileReader.onerror = error => reject(error);\r\n fileReader.readAsText(file);\r\n });\r\n }\r\n\r\n loadImage(src: string, resize: boolean = true): Promise<HTMLImageElement> {\r\n const image = new Image();\r\n return new Promise((resolve, reject) => {\r\n image.onload = () => {\r\n if (resize) {\r\n const resizedImage = new Image();\r\n resizedImage.onload = () => resolve(resizedImage);\r\n resizedImage.onerror = error => reject(error);\r\n const resizedImageSrc = this.resizeImage(image);\r\n resizedImage.src = resizedImageSrc;\r\n } else {\r\n resolve(image);\r\n }\r\n };\r\n image.onerror = error => reject(error);\r\n image.src = src;\r\n });\r\n }\r\n\r\n /**\r\n * Returns a new function that is a throttled version of given function func. Enforces that there is a always minimum amount of time\r\n * between two subsequent calls of the function. Tail calls are always executed. In-between calls are lost and not executed.\r\n *\r\n * @param func The function to return as a throttled version\r\n * @param throttleMs Number of milliseconds for throttle: the minimum time between any two subsequent function calls of function\r\n * @param [thisArg] Optionally supply the this context of the caller\r\n * @returns The given function, with the above-mentioned time constraints\r\n */\r\n getAsThrottledFunction(func: any, throttleMs: number = 250, thisArg?: any): any {\r\n let lastCallTime: number;\r\n let deferTimer: number;\r\n\r\n return function (): any {\r\n const context: any = thisArg || this;\r\n const now: any = +new Date;\r\n const args: any = arguments;\r\n if (lastCallTime && now < lastCallTime + throttleMs) {\r\n clearTimeout(deferTimer);\r\n deferTimer = window.setTimeout(function (): any {\r\n lastCallTime = now;\r\n func.apply(context, args);\r\n }, throttleMs);\r\n } else {\r\n lastCallTime = now;\r\n func.apply(context, args);\r\n }\r\n };\r\n }\r\n\r\n async readJsonFile(filePath: string): Promise<any> {\r\n const response = await fetch(filePath);\r\n if (!response.ok) {\r\n throw new Error(response.statusText);\r\n }\r\n return response.json();\r\n }\r\n\r\n public forceChangeDetection(cd: ChangeDetectorRef, component: any, propName: string): void {\r\n const value = component[propName];\r\n component[propName] = null;\r\n cd.detectChanges();\r\n component[propName] = value;\r\n }\r\n}\r\n","export enum LanguageCode {\r\n Dutch = 'nl-NL',\r\n English = 'en-GB',\r\n German = 'de-DE',\r\n French = 'fr-FR',\r\n}\r\n","\r\n// Static utility functions holder related to strings.\r\nexport class StringUtils {\r\n\r\n public static ReplaceOccurrencesIn(source: string, placeholder: string, ...replacementTexts: string[]): string {\r\n // parameter guards\r\n if (!(source)) {\r\n return undefined;\r\n }\r\n if (!placeholder || replacementTexts.length === 0) {\r\n return source;\r\n }\r\n let outString: string = source;\r\n // one replacementText means replace for all\r\n if (replacementTexts.length === 1) {\r\n // \"g\" is the g flag to replace globally\r\n outString = outString.replace(new RegExp(this._escapeRegExp(placeholder), 'g'), replacementTexts[0]);\r\n } else {\r\n // replace occurence i by replacementTexts[i], one at a time in loop (there might be a faster way..)\r\n for (let i = 0, len: number = replacementTexts.length; i < len; i++) {\r\n outString = outString.replace(placeholder, replacementTexts[i]);\r\n }\r\n }\r\n return outString;\r\n }\r\n\r\n public static IsString(str: any): boolean {\r\n return typeof str === 'string';\r\n }\r\n\r\n // Returns whether given str is a string and has a length > 0.\r\n public static IsStringWithLength(str: string): boolean {\r\n return str && StringUtils.IsString(str) && str.length > 0;\r\n }\r\n\r\n // Returns given string, escaped for use as string literal in regular expressions.\r\n private static _escapeRegExp(str: string): string {\r\n return str; // .replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^$\\|]/g, '\\\\$&');\r\n }\r\n\r\n}\r\n","import {Injectable} from '@angular/core';\r\nimport {HttpClient} from '@angular/common/http';\r\nimport {LanguageCode} from '../enum/language-code.enum';\r\nimport {StringUtils} from '../utils/string-utils';\r\nimport {JsonUtilsService} from '../utils/json-utils.service';\r\nimport {Subject} from 'rxjs';\r\n\r\n// The localization service, providing peers with text translation functionality.\r\n@Injectable()\r\nexport class DictionaryService {\r\n private readonly dictionaryUrl: string = 'js/browser/res/dictionary/';\r\n\r\n public get language(): string {\r\n return this._language;\r\n }\r\n\r\n public set rootUrl(value: string) {\r\n this._rootUrl = value;\r\n this._dictBasePath = this._rootUrl + '/' + this.dictionaryUrl;\r\n }\r\n\r\n public dictionaryLoaded: Subject<void> = new Subject();\r\n\r\n private _dictBasePath: string;\r\n private _rootUrl: string;\r\n private _dictionaryPromise: Map<string, Promise<{ [key: string]: string }>> =\r\n new Map<string, Promise<{ [key: string]: string }>>();\r\n private _dictionaries: Map<string, { [key: string]: string }> = new Map<string, { [key: string]: string }>();\r\n private _language: string;\r\n\r\n // Some dictionary values have one or more '|~' texts in them, meant to be replaced with client-side given texts.\r\n private readonly _placeholder: string = '|~';\r\n\r\n constructor(\r\n private _http: HttpClient,\r\n private _jsonUtils: JsonUtilsService\r\n ) {\r\n }\r\n\r\n public getLanguageCode(lc: string): string {\r\n for (const key in LanguageCode) {\r\n if (LanguageCode[key] === lc) {\r\n return lc;\r\n }\r\n }\r\n return LanguageCode.Dutch;\r\n }\r\n\r\n // Loads the dictionary for given language in memory.\r\n public async setDictionary(language: string, additionalTranslationFile?: string): Promise<void> {\r\n this._language = language;\r\n if (!this._dictionaryPromise.has(language)) {\r\n this._dictionaryPromise.set(language,\r\n this._jsonUtils.readJsonFile(\r\n additionalTranslationFile ?\r\n additionalTranslationFile :\r\n this._dictBasePath + 'text_' + language.substr(0, 2).toLowerCase() + '.properties.json')\r\n .then((data: { [key: string]: string }) => {\r\n this._dictionaries.set(language, data);\r\n this.dictionaryLoaded.next();\r\n return data;\r\n })\r\n // this._http.get(this._dictBasePath + 'text_' + language.substr(0, 2).toLowerCase() + '.properties.json')\r\n // .toPromise().then((data: { [key: string]: string }) => {\r\n // this._dictionaries.set(language, data);\r\n // return data;\r\n // })\r\n );\r\n } else {\r\n this.dictionaryLoaded.next();\r\n }\r\n await this._dictionaryPromise.get(language);\r\n }\r\n\r\n /**\r\n * Returns the localized text for the given dictionary key.\r\n * @param {string} key\r\n * @param {boolean} [upperCaseFirst = true] False for first letter lowercase, true for first letter uppercase for returned dict val\r\n * @param {string[]} replacementTexts Rest params for replacement of '|~' in returned dict value\r\n * @returns {string} The translated text for given dictionary key\r\n */\r\n public get(key: string, upperCaseFirst: boolean = true, ...replacementTexts: string[]): string {\r\n if (!StringUtils.IsStringWithLength(key)) {\r\n return key || '';\r\n } else if (!this._dictionaryLoaded(this._language)) {\r\n return key;\r\n }\r\n\r\n let text: string = this._dictionaries.get(this._language)[key];\r\n text = StringUtils.IsStringWithLength(text) ? text : key;\r\n\r\n if (upperCaseFirst) {\r\n text = text.charAt(0).toUpperCase() + text.slice(1);\r\n } else {\r\n text = text.charAt(0).toLowerCase() + text.slice(1);\r\n }\r\n\r\n if (replacementTexts.length > 0) {\r\n text = StringUtils.ReplaceOccurrencesIn(text, this._placeholder, ...replacementTexts);\r\n }\r\n\r\n return text;\r\n }\r\n\r\n private _dictionaryLoaded(language: string): boolean {\r\n return this._dictionaries.has(language);\r\n }\r\n}\r\n","export class SettingsOptions {\r\n public showAddToCart: boolean = true;\r\n public initialCategory: string;\r\n public showPriceFilter: boolean = true;\r\n public showLookAtArticleButton: boolean = true;\r\n public showStockIndication: boolean = false;\r\n public lookAtArticleButtonText: string = 'LOOKAT';\r\n public showAddArticleButton: boolean = true;\r\n public showARButton: boolean = false;\r\n public addArticleButtonText: string = 'ADD';\r\n public collapseFilterByDefault: boolean = false;\r\n public sortTurnoverGroupsByAlphabet: boolean = true;\r\n}\r\n","import {SettingsOptions} from './settings-options';\r\n\r\nexport class Settings {\r\n\r\n public url: string;\r\n public schema: string;\r\n public version: string;\r\n public branch: string;\r\n public currency: number;\r\n public username: string;\r\n public password: string;\r\n public session: any = undefined;\r\n public useEncryption: boolean = true;\r\n public additionalTranslationFile: string;\r\n public timeoutInMs: number;\r\n public languageCode: string;\r\n public catalogParameters: any;\r\n public options: SettingsOptions = new SettingsOptions();\r\n}\r\n","import {Injectable} from '@angular/core';\r\nimport {BehaviorSubject} from 'rxjs';\r\nimport {Settings} from '../model/settings';\r\nimport {DictionaryService} from './dictionary.service';\r\n\r\n@Injectable()\r\nexport class SettingsService {\r\n\r\n public set settings(value: Settings) {\r\n this._settings = value;\r\n }\r\n\r\n public get settings(): Settings {\r\n return this._settings;\r\n }\r\n\r\n public settingsLoaded: BehaviorSubject<boolean> = new BehaviorSubject(false);\r\n\r\n private _settings: Settings = new Settings();\r\n\r\n constructor(private _dictionaryService: DictionaryService) {}\r\n\r\n public async createSettingsFromObject(obj: any): Promise<void> {\r\n this.settings = new Settings();\r\n if (obj.hasOwnProperty('url')) {\r\n this.settings.url = obj['url'];\r\n }\r\n if (obj.hasOwnProperty('schema')) {\r\n this.settings.schema = obj['schema'];\r\n }\r\n if (obj.hasOwnProperty('version')) {\r\n this.settings.version = obj['version'];\r\n }\r\n if (obj.hasOwnProperty('branch')) {\r\n this.settings.branch = obj['branch'];\r\n }\r\n if (obj.hasOwnProperty('currency')) {\r\n this.settings.currency = obj['currency'];\r\n }\r\n if (obj.hasOwnProperty('languageCode')) {\r\n this.settings.languageCode = obj['languageCode'];\r\n }\r\n if (obj.hasOwnProperty('username')) {\r\n this.settings.username = obj['username'];\r\n }\r\n if (obj.hasOwnProperty('password')) {\r\n this.settings.password = obj['password'];\r\n }\r\n if (obj.hasOwnProperty('timeoutInMs')) {\r\n this.settings.timeoutInMs = obj['timeoutInMs'];\r\n }\r\n if (obj.hasOwnProperty('session')) {\r\n this.settings.session = obj['session'];\r\n }\r\n if (obj.hasOwnProperty('useEncryption')) {\r\n this.settings.useEncryption = obj['useEncryption'];\r\n }\r\n if (obj.hasOwnProperty('additionalTranslationFile')) {\r\n this.settings.additionalTranslationFile = obj['additionalTranslationFile'];\r\n }\r\n if (obj.hasOwnProperty('options')) {\r\n Object.assign(this.settings.options, obj['options']);\r\n }\r\n if (obj.hasOwnProperty('catalogParameters')) {\r\n this.settings.catalogParameters = obj['catalogParameters'];\r\n }\r\n this._dictionaryService.rootUrl = this.settings.url.replace('/ajaxservice', '');\r\n if (!this.settings.additionalTranslationFile) {\r\n const languageCode: string = this._dictionaryService.getLanguageCode(this.settings.languageCode);\r\n await this._dictionaryService.setDictionary(languageCode);\r\n }\r\n this.settingsLoaded.next(true);\r\n }\r\n}\r\n\r\n","import {Injectable, OnDestroy} from '@angular/core';\r\nimport {GetArticlesForCatalogRequest} from '@colijnit/ioneconnector/build/model/get-articles-for-catalog';\r\nimport {BehaviorSubject, Subscription} from 'rxjs';\r\nimport {DictionaryService} from './dictionary.service';\r\nimport {SettingsService} from './settings.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OptionsService implements OnDestroy {\r\n\r\n public parametersSet: BehaviorSubject<boolean> = new BehaviorSubject(false);\r\n\r\n public brandFilter: number[] = [];\r\n\r\n private _parameters: GetArticlesForCatalogRequest = {};\r\n private _subs: Subscription[] = [];\r\n\r\n constructor(\r\n private _dictionary: DictionaryService,\r\n private _settingsService: SettingsService\r\n ) {\r\n this._subs.push(\r\n this._dictionary.dictionaryLoaded.subscribe(() => {\r\n if (!this._settingsService.settings.options.lookAtArticleButtonText) {\r\n this._settingsService.settings.options.lookAtArticleButtonText =\r\n this._dictionary.get(this._settingsService.settings.options.lookAtArticleButtonText);\r\n }\r\n if (!this._settingsService.settings.options.addArticleButtonText) {\r\n this._settingsService.settings.options.addArticleButtonText =\r\n this._dictionary.get(this._settingsService.settings.options.addArticleButtonText);\r\n }\r\n }),\r\n this._settingsService.settingsLoaded.subscribe((loaded: boolean) => {\r\n if (loaded) {\r\n if (this._settingsService.settings.catalogParameters) {\r\n this.parameters = this._settingsService.settings.catalogParameters;\r\n }\r\n }\r\n })\r\n );\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._subs.forEach(s => s.unsubscribe());\r\n }\r\n\r\n public get showBrandFilter(): boolean {\r\n return !this.parameters.brand;\r\n }\r\n\r\n public get collapseFilterByDefault(): boolean {\r\n return this._settingsService.settings.options.collapseFilterByDefault;\r\n }\r\n\r\n public get showPriceFilter(): boolean {\r\n return this._settingsService.settings.options.showPriceFilter;\r\n }\r\n\r\n public get showAddArticleButton(): boolean {\r\n return this._settingsService.settings.options.showAddArticleButton;\r\n }\r\n\r\n public get showStockIndication(): boolean {\r\n return this._settingsService.settings.options.showStockIndication;\r\n }\r\n\r\n public get showLookAtArticleButton(): boolean {\r\n return this._settingsService.settings.options.showLookAtArticleButton;\r\n }\r\n\r\n public get showARButton(): boolean {\r\n return this._settingsService.settings.options.showARButton;\r\n }\r\n\r\n public get addArticleButtonText(): string {\r\n return this._settingsService.settings.options.addArticleButtonText;\r\n }\r\n\r\n public get lookAtArticleButtonText(): string {\r\n return this._settingsService.settings.options.lookAtArticleButtonText;\r\n }\r\n\r\n public get sortTurnoverGroupsByAlphabet(): boolean {\r\n return this._settingsService.settings.options.sortTurnoverGroupsByAlphabet;\r\n }\r\n\r\n public set parameters(value: GetArticlesForCatalogRequest) {\r\n this._parameters = value;\r\n if (this._parameters.rangeBrand) { // workaround until it works in 250\r\n const filter: string[] = this._parameters.rangeBrand.split(',');\r\n filter.forEach(f => this.brandFilter.push(parseInt(f, 0)));\r\n this._parameters.rangeBrand = undefined;\r\n }\r\n this.parametersSet.next(true);\r\n }\r\n\r\n public get parameters(): GetArticlesForCatalogRequest {\r\n return this._parameters;\r\n }\r\n}\r\n","import {Injectable, OnDestroy} from '@angular/core';\r\n\r\nimport {PagingParameters} from '@colijnit/ioneconnector/build/model/paging-parameters';\r\nimport {GetArticlesForCatalogRequest} from '@colijnit/ioneconnector/build/model/get-articles-for-catalog';\r\n\r\nimport {IOneControllerService} from './i-one-controller.service';\r\nimport {Brand} from '@colijnit/ioneconnector/build/model/brand';\r\nimport {Color} from '@colijnit/ioneconnector/build/model/color';\r\nimport {UtilsService} from '../utils/utils.service';\r\nimport {Material} from '@colijnit/ioneconnector/build/model/material';\r\nimport {Design} from '@colijnit/ioneconnector/build/model/design';\r\nimport {FilterItem} from '../interface/filter-item';\r\nimport {OptionsService} from './options.service';\r\nimport {Subject, Subscription} from 'rxjs';\r\nimport {ArticleGroup} from '@colijnit/ioneconnector/build/model/article-group';\r\nimport {Atmosphere} from '@colijnit/ioneconnector/build/model/atmosphere';\r\nimport {Concept} from '@colijnit/ioneconnector/build/model/concept';\r\nimport {OrderByInterface} from '../interface/order-by.interface';\r\nimport {ArticleExtendedDto} from '@colijnit/ioneconnector/build/model/article-extended-dto';\r\nimport {TurnoverGroupImage} from '@colijnit/ioneconnector/build/model/turnover-group-image';\r\nimport {ArticleCategory} from '@colijnit/ioneconnector/build/model/article-category';\r\n\r\nexport class ColorFilter extends Color implements FilterItem {\r\n public active = false;\r\n public count = 0;\r\n public activeColor;\r\n public inActiveColor;\r\n public checkMarkColor;\r\n public get descriptionWithCount(): string {\r\n return this.description + ' (' + this.count + ')';\r\n }\r\n}\r\n\r\nexport class MaterialFilter extends Material implements FilterItem {\r\n public active = false;\r\n public count = 0;\r\n public get descriptionWithCount(): string {\r\n return this.description + ' (' + this.count + ')';\r\n }\r\n}\r\n\r\nexport class BrandFilter extends Brand implements FilterItem {\r\n public active = false;\r\n public count = 0;\r\n public get descriptionWithCount(): string {\r\n return this.brandName + ' (' + this.count + ')';\r\n }\r\n}\r\n\r\nexport class DesignFilter extends Design implements FilterItem {\r\n public active = false;\r\n public count = 0;\r\n public get descriptionWithCount(): string {\r\n return this.description + ' (' + this.count + ')';\r\n }\r\n}\r\n\r\nexport class ArticleGroupFilter extends ArticleGroup implements FilterItem {\r\n public active = false;\r\n public count = 0;\r\n public get descriptionWithCount(): string {\r\n return this.description + ' (' + this.count + ')';\r\n }\r\n}\r\n\r\nexport class AtmosphereFilter extends Atmosphere implements FilterItem {\r\n public active = false;\r\n public count = 0;\r\n public get descriptionWithCount(): string {\r\n return this.description + ' (' + this.count + ')';\r\n }\r\n}\r\n\r\nexport class ConceptFilter extends Concept implements FilterItem {\r\n public active = false;\r\n public count = 0;\r\n public get descriptionWithCount(): string {\r\n return this.description + ' (' + this.count + ')';\r\n }\r\n}\r\n\r\n@Injectable()\r\nexport class ProductCatalogControllerService implements OnDestroy {\r\n public set filterText(value: string[]) {\r\n this._setRequestParametersAndProps(null, null, value);\r\n this.searchTextChanged.next(this.filterText);\r\n this.searchArticles();\r\n }\r\n\r\n public get filterText(): string[] {\r\n return this._filterText;\r\n }\r\n\r\n public set turnoverGroup(value: string) {\r\n this._setRequestParametersAndProps(null, value, null);\r\n this.turnoverGroupChanged.next(this.turnoverGroup);\r\n this.searchArticles();\r\n }\r\n\r\n public get turnoverGroup(): string {\r\n return this._turnoverGroup;\r\n }\r\n\r\n public set category(value: string) {\r\n this._setRequestParametersAndProps(value, null, null);\r\n this.categoryChanged.next(this.category);\r\n this.searchArticles();\r\n }\r\n\r\n public get category(): string {\r\n return this._category;\r\n }\r\n\r\n public articleSearchFilters: GetArticlesForCatalogRequest = {};\r\n public articlesOnShowcase: ArticleExtendedDto[] = [];\r\n\r\n public showcaseTitle = 'CATALOG';\r\n public articlesPerPage = 20;\r\n\r\n public get showcasePage(): number {\r\n return this._showcasePage;\r\n }\r\n\r\n public set showcasePage(value: number) {\r\n this._showcasePage = value;\r\n this.showPageChanged.next(this._showcasePage);\r\n }\r\n\r\n private _showcasePage = 1;\r\n\r\n public get catalogShown(): boolean {\r\n return this._catalogShown;\r\n }\r\n\r\n public set catalogShown(value: boolean) {\r\n this._catalogShown = value;\r\n }\r\n\r\n public priceMinFilter = 0;\r\n\r\n public priceMaxFilter = 0;\r\n public priceFromFilter: number;\r\n public priceToFilter: number;\r\n public colors: ColorFilter[] = [];\r\n public materials: MaterialFilter[] = [];\r\n public brands: BrandFilter[] = [];\r\n public designs: DesignFilter[] = [];\r\n public articleGroupsFilter: ArticleGroupFilter[] = [];\r\n public atmospheresFilter: AtmosphereFilter[] = [];\r\n public conceptsFilter: ConceptFilter[] = [];\r\n public filteredArticlesOnShowcase: ArticleExtendedDto[] = [];\r\n public get itemsFiltered(): boolean {\r\n return this.filteredArticlesOnShowcase.length !== this.articlesOnShowcase.length;\r\n }\r\n public categoryChanged: Subject<string> = new Subject<string>();\r\n\r\n public turnoverGroupChanged: Subject<string> = new Subject<string>();\r\n public searchTextChanged: Subject<string[]> = new Subject<string[]>();\r\n public showPageChanged: Subject<number> = new Subject<number>();\r\n public onResetFilters: Subject<void> = new Subject<void>();\r\n public onPrepareFilters: Subject<void> = new Subject<void>();\r\n\r\n private _filterText: string[] = [];\r\n private _category: string;\r\n private _turnoverGroup: string;\r\n private _filterTimeout: any;\r\n private _searchTimer: any;\r\n private doArticleSearchThrottledFunc: (params: GetArticlesForCatalogRequest) => Promise<void>;\r\n private readonly minMillisBetweenArticleSearches: number = 400;\r\n private _catalogShown: boolean;\r\n private _controllerInitialized = false;\r\n private _allBrands: Brand[] = [];\r\n private _allDesigns: Design[] = [];\r\n private _allArticleGroups: ArticleGroup[] = [];\r\n private _allAtmospheres: Atmosphere[] = [];\r\n private _allConcepts: Concept[] = [];\r\n private _subs: Subscription[] = [];\r\n private defaultOptions: GetArticlesForCatalogRequest;\r\n\r\n private _currentOrderBy = 1;\r\n\r\n constructor(\r\n private iOne: IOneControllerService,\r\n private utils: UtilsService,\r\n private optionsService: OptionsService\r\n ) {\r\n this._subs.push(\r\n this.iOne.controllerInitialized.subscribe(async (initialized: boolean) => {\r\n if (initialized) {\r\n this._controllerInitialized = true;\r\n await this.ensureDataListsLoaded();\r\n this.searchArticles();\r\n }\r\n }),\r\n this.optionsService.parametersSet.subscribe((set: boolean) => {\r\n if (set) {\r\n this.defaultOptions = this.optionsService.parameters;\r\n this._createDefaultRequest();\r\n }\r\n })\r\n );\r\n\r\n\r\n this.doArticleSearchThrottledFunc = this.utils.getAsThrottledFunction(() => {\r\n return this.doSearchArticles();\r\n }, this.minMillisBetweenArticleSearches, this);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._subs.forEach(s => s.unsubscribe());\r\n }\r\n\r\n public changeOrderBy(orderBy: OrderByInterface): void {\r\n this._currentOrderBy = orderBy.id;\r\n this._sortArticleList();\r\n }\r\n\r\n public async searchArticles(): Promise<void> {\r\n if (!this._controllerInitialized) {\r\n return;\r\n }\r\n clearTimeout(this._searchTimer);\r\n this._searchTimer = setTimeout(() => {\r\n this.searchTextChanged.next(this._filterText);\r\n this.doArticleSearchThrottledFunc.call(this);\r\n }, 400);\r\n }\r\n\r\n public resetFilters(): void {\r\n this._createDefaultRequest();\r\n this.category = null;\r\n this.turnoverGroup = null;\r\n if (this.filterText !== null) {\r\n this.filterText = this.filterText.slice();\r\n }\r\n this.onResetFilters.next();\r\n }\r\n\r\n public getBrandDescription(id: number): string {\r\n let name = '';\r\n const brand: Brand = this._allBrands.find(b => b.brandId === id);\r\n if (brand) {\r\n name = brand.brandName;\r\n }\r\n return name;\r\n }\r\n\r\n // POST: all plain 'data lists' that are used in the product catalog plugin are loaded from db (mainly for the filters sidebar).\r\n public async ensureDataListsLoaded(): Promise<void> {\r\n await Promise.all([\r\n this.iOne.getBrands().then(brands => this._allBrands = brands),\r\n this.iOne.getDesigns().then(designs => this._allDesigns = designs),\r\n this.iOne.getArticleGroups().then(groups => this._allArticleGroups = groups),\r\n this.iOne.getAtmospheres().then(atmospheres => this._allAtmospheres = atmospheres),\r\n this.iOne.getConcepts().then(concepts => this._allConcepts = concepts),\r\n ]);\r\n }\r\n\r\n // public async setCategory(category: string): Promise<void> {\r\n // this._createDefaultRequest();\r\n // this.articleSearchFilters = {...this.articleSearchFilters, category: category};\r\n // await this.doSearchArticles();\r\n // this.categoryChanged.next(category);\r\n // }\r\n //\r\n // public async setTurnoverGroup(turnoverGroup: string): Promise<void> {\r\n // this._turnoverGroup = turnoverGroup;\r\n // this._filterText = [];\r\n // await this.doSearchArticles();\r\n // this.turnoverGroupChanged.next(turnoverGroup);\r\n // }\r\n\r\n // POST: this.articlesOnShowcase contains all articles for given search parameters.\r\n public async doSearchArticles(): Promise<void> {\r\n this.articlesOnShowcase = await this.iOne.getArticlesForCatalog(\r\n this.articleSearchFilters, new PagingParameters(1, 1000), false\r\n );\r\n this.removeAndReplaceAllFilters();\r\n this.filteredArticlesOnShowcase = this.articlesOnShowcase.slice(0);\r\n this._sortArticleList();\r\n this._prepareFilters();\r\n }\r\n\r\n public removeAndReplaceAllFilters(): void {\r\n if (this._hasActiveFilter(this.colors)) {\r\n this.colors.length = 0;\r\n }\r\n if (this._hasActiveFilter(this.materials)) {\r\n this.materials.length = 0;\r\n }\r\n if (this._hasActiveFilter(this.brands)) {\r\n this.brands.length = 0;\r\n }\r\n if (this._hasActiveFilter(this.designs)) {\r\n this.designs.length = 0;\r\n }\r\n if (this._hasActiveFilter(this.articleGroupsFilter)) {\r\n this.articleGroupsFilter.length = 0;\r\n }\r\n if (this._hasActiveFilter(this.atmospheresFilter)) {\r\n this.atmospheresFilter.length = 0;\r\n }\r\n if (this._hasActiveFilter(this.conceptsFilter)) {\r\n this.conceptsFilter.length = 0;\r\n }\r\n }\r\n\r\n public filterOnPrice(): void {\r\n clearTimeout(this._filterTimeout);\r\n this._filterTimeout = setTimeout(() => {\r\n this.filterArticles();\r\n }, 200);\r\n }\r\n\r\n public async filterArticles(): Promise<void> {\r\n this.filteredArticlesOnShowcase = this.articlesOnShowcase.filter((a: ArticleExtendedDto) => {\r\n let valid = true;\r\n if (this._hasActiveFilter(this.colors)) {\r\n valid = valid &&\r\n a.colours && a.colours.some(c => this.colors.find(clr => clr.colorCode === c.colorCode && clr.active) !== undefined);\r\n }\r\n if (this._hasActiveFilter(this.materials)) {\r\n valid = valid && this.materials.find(m => m.materialId === a.material && m.active) !== undefined;\r\n }\r\n if (this._hasActiveFilter(this.brands)) {\r\n valid = valid && this.brands.find(b => b.brandId + '' === a.brandId + '' && b.active) !== undefined;\r\n }\r\n if (this._hasActiveFilter(this.designs)) {\r\n valid = valid && this.designs.find(d => d.design === a.design && d.active) !== undefined;\r\n }\r\n if (this._hasActiveFilter(this.articleGroupsFilter)) {\r\n valid = valid && this.articleGroupsFilter.find(g => g.groupCode === a.groupCode && g.active) !== undefined;\r\n }\r\n if (this._hasActiveFilter(this.atmospheresFilter)) {\r\n valid = valid && this.atmospheresFilter.find(s => s.code === a.sphereCode && s.active) !== undefined;\r\n }\r\n if (this._hasActiveFilter(this.conceptsFilter)) {\r\n valid = valid && this.conceptsFilter.find(s => s.conceptCode === a.conceptCode && s.active) !== undefined;\r\n }\r\n valid = valid && a.price >= this.priceFromFilter && a.price <= this.priceToFilter;\r\n return valid;\r\n });\r\n this._prepareFilters();\r\n }\r\n\r\n public hasFilterItems(filter: FilterItem[]): boolean {\r\n return filter && filter.find(f => f.count > 0) !== undefined;\r\n }\r\n\r\n public hasCheckedFilterItems(filter: FilterItem[]): boolean {\r\n let check = false;\r\n if (filter.length > 0) {\r\n filter.forEach((x: any) => {\r\n if (x.active === true) {\r\n check = true;\r\n }\r\n });\r\n }\r\n return check;\r\n }\r\n\r\n public sortTurnoverGroups(categories: ArticleCategory[]): void {\r\n if (this.optionsService.sortTurnoverGroupsByAlphabet) {\r\n categories.forEach((articleCategory: ArticleCategory) => {\r\n articleCategory.turnoverGroups.sort((a: TurnoverGroupImage, b: TurnoverGroupImage) => {\r\n return <any>(/[A-Za-z]/.test(a.description)) - <any>(/[A-Za-z]/.test(b.description)) ||\r\n (a.description.toUpperCase() < b.description.toUpperCase() ? -1 :\r\n a.description.toUpperCase() > b.description.toUpperCase() ? 1 : 0);\r\n });\r\n });\r\n } else {\r\n categories.forEach((articleCategory: ArticleCategory) => {\r\n articleCategory.turnoverGroups.sort((a: TurnoverGroupImage, b: TurnoverGroupImage) => {\r\n return +a.turnovergroupNr < +b.turnovergroupNr ? -1 : +a.turnovergroupNr > +b.turnovergroupNr ? 1 : 0;\r\n });\r\n });\r\n }\r\n }\r\n\r\n private _sortArticleList(): void {\r\n switch (this._currentOrderBy) {\r\n case 1:\r\n this._sortArticleListByArticleNr();\r\n break;\r\n case 2:\r\n this._sortArticleListByArticleName();\r\n break;\r\n }\r\n }\r\n\r\n private _sortArticleListByArticleNr(): void {\r\n const newList = this.filteredArticlesOnShowcase.sort((a, b) => a.articleNumber > b.articleNumber ? 1 : -1);\r\n this.filteredArticlesOnShowcase = newList.slice();\r\n }\r\n\r\n private _sortArticleListByArticleName(): void {\r\n const newList = this.filteredArticlesOnShowcase.sort((a, b) => {\r\n const first: string = a.name ? a.name : a.description;\r\n const second: string = b.name ? b.name : b.description;\r\n return first > second ? 1 : -1\r\n });\r\n this.filteredArticlesOnShowcase = newList.slice();\r\n }\r\n\r\n private _createDefaultRequest(): void {\r\n this.articleSearchFilters = Object.assign({}, this.defaultOptions);\r\n }\r\n\r\n private _setRequestParametersAndProps(category: string, turnoverGroup: string, searchText: string[]): void {\r\n this.articleSearchFilters.category = category;\r\n this.articleSearchFilters.turnoverGroup = turnoverGroup;\r\n this.articleSearchFilters.general = searchText ? searchText.join(' ') : null;\r\n this._category = category;\r\n this._turnoverGroup = turnoverGroup;\r\n this._filterText = searchText;\r\n }\r\n\r\n private _prepareFilters(): void {\r\n this._resetFilters();\r\n let minPrice = 0;\r\n let maxPrice = 0;\r\n if (this.optionsService.brandFilter && this.optionsService.brandFilter.length > 0) {\r\n this.filteredArticlesOnShowcase =\r\n this.filteredArticlesOnShowcase.filter(\r\n a => this.optionsService.brandFilter.find(bf => bf === a.brandId) !== undefined);\r\n }\r\n for (let i = 0; i < this.filteredArticlesOnShowcase.length; i++) {\r\n const article: ArticleExtendedDto = this.filteredArticlesOnShowcase[i];\r\n const articlePrice = article.price ? article.price : 0;\r\n // this.priceMinFilter =\r\n // this.priceMinFilter ? (articlePrice < this.priceMinFilter ? articlePrice : this.priceMinFilter) : articlePrice;\r\n // this.priceMaxFilter =\r\n // this.priceMaxFilter ? (articlePrice > this.priceMaxFilter ? articlePrice : this.priceMaxFilter) : articlePrice;\r\n\r\n minPrice = Math.min(minPrice, articlePrice);\r\n maxPrice = Math.max(maxPrice, articlePrice);\r\n if (article.colours && article.colours.length > 0) {\r\n article.colours.forEach((c: Color) => {\r\n this._addColorToFilter(c);\r\n });\r\n }\r\n if (article.material) {\r\n const material: Material = new Material();\r\n material.materialId = article.material;\r\n material.description = article.material;\r\n this._addMaterialToFilter(material);\r\n }\r\n if (article.brandId) {\r\n const brand: Brand = new Brand();\r\n brand.brandId = article.brandId;\r\n brand.brandName = this.getBrandDescription(brand.brandId);\r\n this._addBrandToFilter(brand);\r\n }\r\n if (article.design) {\r\n const lookupDesign = this._allDesigns.find(d => d.design === article.design);\r\n if (lookupDesign) {\r\n const design: Design = new Design();\r\n design.design = article.design;\r\n design.description = lookupDesign.description;\r\n this._addDesignToFilter(design);\r\n }\r\n }\r\n if (article.groupCode) {\r\n const lookupGroup = this._allArticleGroups.find(g => g.groupCode === article.groupCode);\r\n if (lookupGroup) {\r\n const articleGroup = new ArticleGroup();\r\n articleGroup.groupCode = lookupGroup.groupCode;\r\n articleGroup.description = lookupGroup.description;\r\n this._addArticleGroupToFilter(articleGroup);\r\n }\r\n }\r\n if (article.sphereCode) {\r\n const lookupSphere = this._allAtmospheres.find(s => s.code === article.sphereCode);\r\n if (lookupSphere) {\r\n const sphere = new Atmosphere();\r\n sphere.code = lookupSphere.code;\r\n sphere.description = lookupSphere.description;\r\n this._addAtmosphereToFilter(sphere);\r\n }\r\n }\r\n if (article.conceptCode) {\r\n const lookupConcept = this._allConcepts.find(c => c.conceptCode === article.conceptCode);\r\n if (lookupConcept) {\r\n const concept = new Concept();\r\n concept.conceptCode = lookupConcept.conceptCode;\r\n concept.description = lookupConcept.description;\r\n this._addConceptToFilter(concept);\r\n }\r\n }\r\n }\r\n this.priceMinFilter = this.priceMinFilter === 0 ? minPrice : this.priceMinFilter;\r\n this.priceMaxFilter = this.priceMaxFilter === 0 ? maxPrice : this.priceMaxFilter;\r\n if (!this.priceFromFilter || this.priceFromFilter < this.priceMinFilter || this.priceFromFilter > this.priceMaxFilter) {\r\n this.priceFromFilter = this.priceMinFilter;\r\n }\r\n\r\n if (!this.priceToFilter || this.priceToFilter > this.priceMaxFilter || this.priceToFilter < this.priceMinFilter) {\r\n this.priceToFilter = this.priceMaxFilter;\r\n }\r\n\r\n this.onPrepareFilters.next();\r\n }\r\n\r\n private _resetFilters(): void {\r\n // this.priceMinFilter = 0;\r\n // this.priceMaxFilter = 0;\r\n\r\n if (!this._hasActiveFilter(this.colors)) {\r\n this.colors.forEach(c => c.count = 0);\r\n }\r\n if (!this._hasActiveFilter(this.materials)) {\r\n this.materials.forEach(m => m.count = 0);\r\n }\r\n if (!this._hasActiveFilter(this.brands)) {\r\n this.brands.forEach(b => b.count = 0);\r\n }\r\n if (!this._hasActiveFilter(this.designs)) {\r\n this.designs.forEach(d => d.count = 0);\r\n }\r\n if (!this._hasActiveFilter(this.articleGroupsFilter)) {\r\n this.articleGroupsFilter.forEach(d => d.count = 0);\r\n }\r\n if (!this._hasActiveFilter(this.atmospheresFilter)) {\r\n this.atmospheresFilter.forEach(d => d.count = 0);\r\n }\r\n if (!this._hasActiveFilter(this.conceptsFilter)) {\r\n this.conceptsFilter.forEach(d => d.count = 0);\r\n }\r\n }\r\n\r\n private _hasActiveFilter(filter: FilterItem[]): boolean {\r\n return filter && filter.find(f => f.active) !== undefined;\r\n }\r\n\r\n private _addColorToFilter(color: Color): void {\r\n if (this._hasActiveFilter(this.colors)) {\r\n return;\r\n }\r\n const existingItem: ColorFilter = this.colors.find(f => f.colorCode === color.colorCode);\r\n if (!existingItem) {\r\n const newItem: ColorFilter = new ColorFilter();\r\n newItem.colorCode = color.colorCode;\r\n newItem.description = color.description;\r\n newItem.rgbColor = color.rgbColor;\r\n newItem.activeColor = color.hexColor;\r\n newItem.inActiveColor = color.hexColor;\r\n newItem.checkMarkColor =\r\n color.hexColor ? ( color.hexColor !== '#fff' && color.hexColor !== '#ffffff' ? '#ffffff' : '#000000') : '#000000';\r\n newItem.count = 1;\r\n this.colors.push(newItem);\r\n this.colors.sort((a, b) => a.description < b.description ? -1 : 1)\r\n } else {\r\n existingItem.count = existingItem.count + 1;\r\n }\r\n }\r\n\r\n private _addMaterialToFilter(material: Material): void {\r\n if (this._hasActiveFilter(this.materials)) {\r\n return;\r\n }\r\n const existingItem: MaterialFilter = this.materials.find(f => f.materialId === material.materialId);\r\n if (!existingItem) {\r\n const newItem: MaterialFilter = new MaterialFilter();\r\n newItem.materialId = material.materialId;\r\n newItem.description = material.description;\r\n newItem.count = 1;\r\n this.materials.push(newItem);\r\n this.materials.sort((a, b) => a.description < b.description ? -1 : 1)\r\n } else {\r\n existingItem.count = existingItem.count + 1;\r\n }\r\n }\r\n\r\n private _addBrandToFilter(brand: Brand): void {\r\n if (this._hasActiveFilter(this.brands)) {\r\n return;\r\n }\r\n const existingItem: BrandFilter = this.brands.find(f => f.brandId === brand.brandId);\r\n if (!existingItem) {\r\n const newItem: BrandFilter = new BrandFilter();\r\n newItem.brandId = brand.brandId;\r\n newItem.brandName = brand.brandName;\r\n newItem.count = 1;\r\n this.brands.push(newItem);\r\n this.brands.sort((a, b) => a.brandName < b.brandName ? -1 : 1)\r\n } else {\r\n existingItem.count = existingItem.count + 1;\r\n }\r\n }\r\n\r\n private _addDesignToFilter(design: Design): void {\r\n if (this._hasActiveFilter(this.designs)) {\r\n return;\r\n }\r\n const existingItem: DesignFilter = this.designs.find(d => d.design === design.design);\r\n if (!existingItem) {\r\n const newItem: DesignFilter = new DesignFilter();\r\n newItem.design = design.design;\r\n newItem.description = design.description;\r\n newItem.count = 1;\r\n this.designs.push(newItem);\r\n this.designs.sort((a, b) => a.description < b.description ? -1 : 1)\r\n } else {\r\n existingItem.count = existingItem.count + 1;\r\n }\r\n }\r\n\r\n private _addArticleGroupToFilter(group: ArticleGroup): void {\r\n if (this._hasActiveFilter(this.articleGroupsFilter)) {\r\n return;\r\n }\r\n const existingItem: ArticleGroupFilter = this.articleGroupsFilter.find(g => g.groupCode === group.groupCode);\r\n if (!existingItem) {\r\n const newItem: ArticleGroupFilter = new ArticleGroupFilter();\r\n newItem.groupCode = group.groupCode;\r\n newItem.description = group.description;\r\n newItem.count = 1;\r\n this.articleGroupsFilter.push(newItem);\r\n this.articleGroupsFilter.sort((a, b) => a.description < b.description ? -1 : 1)\r\n } else {\r\n existingItem.count = existingItem.count + 1;\r\n }\r\n }\r\n\r\n private _addAtmosphereToFilter(sphere: Atmosphere): void {\r\n if (this._hasActiveFilter(this.atmospheresFilter)) {\r\n return;\r\n }\r\n const existingItem: AtmosphereFilter = this.atmospheresFilter.find(s => s.code === sphere.code);\r\n if (!existingItem) {\r\n const newItem: AtmosphereFilter = new AtmosphereFilter();\r\n newItem.code = sphere.code;\r\n newItem.description = sphere.description;\r\n newItem.count = 1;\r\n this.atmospheresFilter.push(newItem);\r\n this.atmospheresFilter.sort((a, b) => a.description < b.description ? -1 : 1)\r\n } else {\r\n existingItem.count = existingItem.count + 1;\r\n }\r\n }\r\n\r\n private _addConceptToFilter(concept: Concept): void {\r\n if (this._hasActiveFilter(this.conceptsFilter)) {\r\n return;\r\n }\r\n const existingItem: ConceptFilter = this.conceptsFilter.find(c => c.conceptCode === concept.conceptCode);\r\n if (!existingItem) {\r\n const newItem: ConceptFilter = new ConceptFilter();\r\n newItem.conceptCode = concept.conceptCode;\r\n newItem.description = concept.description;\r\n newItem.count = 1;\r\n this.conceptsFilter.push(newItem);\r\n this.conceptsFilter.sort((a, b) => a.description < b.description ? -1 : 1)\r\n } else {\r\n existingItem.count = existingItem.count + 1;\r\n }\r\n }\r\n}\r\n","/** AUTO GENERATED FILE. DO NOT CHANGE.. **/\n\nexport enum IconEnum {\n AddToCartDrop = \"add_to_cart_drop\",\n Ar = \"ar\",\n ArrowScrollDown = \"arrow_scroll_down\",\n ArrowScrollLeft = \"arrow_scroll_left\",\n Camera = \"camera\",\n Check = \"check\",\n Close = \"close\",\n Eye = \"eye\",\n Filter = \"filter\",\n FilterCircleLarge = \"filter_circle_large\",\n Hamburger = \"hamburger\",\n MagicWand = \"magic_wand\",\n Refresh = \"refresh\",\n Search = \"search\",\n SyncAlt = \"sync_alt\",\n ThreeD = \"three_d\",\n Truck = \"truck\"\n}","/** AUTO GENERATED FILE. DO NOT CHANGE.. **/\n\nexport const IconSvg: {[iconName: string]: string} = {\n \"add_to_cart_drop\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><path d=\\\"M16.58,34.84a1.8,1.8,0,1,0,1.8,1.8A1.79,1.79,0,0,0,16.58,34.84Z\\\" fill=\\\"#484f60\\\"/><path d=\\\"M31.49,34.84a1.8,1.8,0,1,0,1.8,1.8A1.79,1.79,0,0,0,31.49,34.84Z\\\" fill=\\\"#484f60\\\"/><path d=\\\"M35.6,17.9l-1.51.18L31.88,20.3l1.31-.17a.88.88,0,0,1,1,1.08L32.35,29.5a1.52,1.52,0,0,1-1.44,1.2H16.51a1.75,1.75,0,0,1-1.57-1.17l-2.31-5.6a1,1,0,0,1,.85-1.29l4.43-.56-1.86-1.86-5.13.61a1,1,0,0,0-.87,1.28l3.34,9.44A1.73,1.73,0,0,0,15,32.72H32.64a1.51,1.51,0,0,0,1.43-1.2L36.6,19A.89.89,0,0,0,35.6,17.9Z\\\" fill=\\\"#484f60\\\"/><path d=\\\"M39,17a1.87,1.87,0,0,0-1.36,1.46l-.42,2.89c-.1.67.31,1,.9.7a2.75,2.75,0,0,0,1.33-1.7L40,18A.73.73,0,0,0,39,17Z\\\" fill=\\\"#484f60\\\"/><polygon points=\\\"24 25.35 32.04 17.3 27.04 17.3 27.04 10 20.95 10 20.95 17.3 15.96 17.3 24 25.35\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"ar\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><rect width=\\\"50\\\" height=\\\"50\\\" fill=\\\"none\\\"/><rect x=\\\"8\\\" y=\\\"20.98\\\" width=\\\"4.27\\\" height=\\\"11.1\\\" rx=\\\"0.5\\\" ry=\\\"0.5\\\" fill=\\\"#484f60\\\"/><rect x=\\\"38.73\\\" y=\\\"20.98\\\" width=\\\"4.27\\\" height=\\\"11.1\\\" rx=\\\"0.5\\\" ry=\\\"0.5\\\" fill=\\\"#484f60\\\"/><rect x=\\\"13.12\\\" y=\\\"15.86\\\" width=\\\"11.95\\\" height=\\\"8.54\\\" rx=\\\"0.5\\\" ry=\\\"0.5\\\" fill=\\\"#484f60\\\"/><rect x=\\\"13.12\\\" y=\\\"25.25\\\" width=\\\"11.95\\\" height=\\\"3.41\\\" rx=\\\"0.5\\\" ry=\\\"0.5\\\" fill=\\\"#484f60\\\"/><rect x=\\\"25.93\\\" y=\\\"15.86\\\" width=\\\"11.95\\\" height=\\\"8.54\\\" rx=\\\"0.5\\\" ry=\\\"0.5\\\" fill=\\\"#484f60\\\"/><rect x=\\\"25.93\\\" y=\\\"25.25\\\" width=\\\"11.95\\\" height=\\\"3.41\\\" rx=\\\"0.5\\\" ry=\\\"0.5\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"arrow_scroll_down\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\" version=\\\"1.1\\\" sodipodi:docname=\\\"arrow_scroll_left.svg\\\" inkscape:version=\\\"0.92.4 (5da689c313, 2019-01-14)\\\"><metadata ><rdf:RDF><cc:Work rdf:about=\\\"\\\"><dc:format>image/svg+xml</dc:format><dc:type rdf:resource=\\\"http://purl.org/dc/dcmitype/StillImage\\\" /></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor=\\\"#ffffff\\\" bordercolor=\\\"#666666\\\" borderopacity=\\\"1\\\" objecttolerance=\\\"10\\\" gridtolerance=\\\"10\\\" guidetolerance=\\\"10\\\" inkscape:pageopacity=\\\"0\\\" inkscape:pageshadow=\\\"2\\\" inkscape:window-width=\\\"1920\\\" inkscape:window-height=\\\"1017\\\" showgr inkscape:zoom=\\\"4.72\\\" inkscape:cx=\\\"25\\\" inkscape:cy=\\\"25\\\" inkscape:window-x=\\\"-8\\\" inkscape:window-y=\\\"-8\\\" inkscape:window-maximized=\\\"1\\\" inkscape:current-layer=\\\"svg4\\\" /><path d=\\\"m 37.771942,16.289849 a 2.37,2.37 0 0 1 1.67,4 l -12.64,12.68 a 2.37,2.37 0 0 1 -3.34,0 l -12.63,-12.64 a 2.36,2.36 0 1 1 3.3,-3.36 l 11,11 11,-11 a 2.36,2.36 0 0 1 1.64,-0.68 z\\\" inkscape:connector-curvature=\\\"0\\\" style=\\\"fill:#484f60\\\" /></svg>\",\n \"arrow_scroll_left\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><path d=\\\"M33.68,37.64a2.37,2.37,0,0,1-4,1.67L17,26.67a2.37,2.37,0,0,1,0-3.34L29.64,10.7A2.36,2.36,0,1,1,33,14L22,25,33,36A2.36,2.36,0,0,1,33.68,37.64Z\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"camera\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><path d=\\\"M35,18l-3-4H22l-3,4H16V36H40V18ZM24,16h6v2H24Zm2.5,18A6.5,6.5,0,1,1,33,27.5,6.51,6.51,0,0,1,26.5,34ZM38,22H36V20h2Z\\\" fill=\\\"#484f60\\\"/><rect x=\\\"10\\\" y=\\\"18\\\" width=\\\"5\\\" height=\\\"18\\\" fill=\\\"#484f60\\\"/><rect x=\\\"11\\\" y=\\\"15\\\" width=\\\"3\\\" height=\\\"2\\\" fill=\\\"#484f60\\\"/><path d=\\\"M26.5,32A4.5,4.5,0,1,1,31,27.5,4.51,4.51,0,0,1,26.5,32Z\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"check\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\" version=\\\"1.1\\\" sodipodi:docname=\\\"check.svg\\\" inkscape:version=\\\"0.92.4 (5da689c313, 2019-01-14)\\\"><metadata ><rdf:RDF><cc:Work rdf:about=\\\"\\\"><dc:format>image/svg+xml</dc:format><dc:type rdf:resource=\\\"http://purl.org/dc/dcmitype/StillImage\\\" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor=\\\"#ffffff\\\" bordercolor=\\\"#666666\\\" borderopacity=\\\"1\\\" objecttolerance=\\\"10\\\" gridtolerance=\\\"10\\\" guidetolerance=\\\"10\\\" inkscape:pageopacity=\\\"0\\\" inkscape:pageshadow=\\\"2\\\" inkscape:window-width=\\\"1920\\\" inkscape:window-height=\\\"1017\\\" showgr inkscape:zoom=\\\"9.44\\\" inkscape:cx=\\\"48.888969\\\" inkscape:cy=\\\"22.682813\\\" inkscape:window-x=\\\"-8\\\" inkscape:window-y=\\\"-8\\\" inkscape:window-maximized=\\\"1\\\" inkscape:current-layer=\\\"svg12\\\" /><path inkscape:connector-curvature=\\\"0\\\" d=\\\"m 11.438914,26.621633 c -0.316818,0.369021 -0.470979,0.838793 -0.433349,1.324347 0.03763,0.485552 0.26098,0.927404 0.631209,1.243014 l 8.986229,7.703294 c 0.333812,0.285263 0.74774,0.438212 1.182303,0.438212 0.05341,0 0.108033,-0.0025 0.162657,-0.0073 0.491616,-0.0437 0.934676,-0.277978 1.247852,-0.657923 L 38.585752,17.958158 c 0.308322,-0.376304 0.452771,-0.849718 0.40543,-1.334057 -0.04856,-0.484338 -0.280402,-0.921336 -0.656701,-1.230877 l -2.813733,-2.311231 c -0.77566,-0.636074 -1.923974,-0.524396 -2.562466,0.251275 L 21.129184,27.731121 16.375695,23.658547 c -0.762306,-0.65064 -1.913049,-0.564455 -2.56732,0.197864 z\\\" style=\\\"fill:#2b60a7;fill-opacity:1;stroke-width:1.21387255\\\" /></svg>\",\n \"close\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 29.258688 30.000004\\\" version=\\\"1.1\\\" sodipodi:docname=\\\"close.svg\\\" inkscape:version=\\\"0.92.4 (5da689c313, 2019-01-14)\\\" width=\\\"29.258688\\\" height=\\\"30.000004\\\"><metadata ><rdf:RDF><cc:Work rdf:about=\\\"\\\"><dc:format>image/svg+xml</dc:format><dc:type rdf:resource=\\\"http://purl.org/dc/dcmitype/StillImage\\\" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor=\\\"#ffffff\\\" bordercolor=\\\"#666666\\\" borderopacity=\\\"1\\\" objecttolerance=\\\"10\\\" gridtolerance=\\\"10\\\" guidetolerance=\\\"10\\\" inkscape:pageopacity=\\\"0\\\" inkscape:pageshadow=\\\"2\\\" inkscape:window-width=\\\"1920\\\" inkscape:window-height=\\\"1017\\\" showgr inkscape:zoom=\\\"26.700352\\\" inkscape:cx=\\\"19.112\\\" inkscape:cy=\\\"15.500206\\\" inkscape:window-x=\\\"-8\\\" inkscape:window-y=\\\"-8\\\" inkscape:window-maximized=\\\"1\\\" inkscape:current-layer=\\\"svg4\\\" fit-margin-top=\\\"0\\\" fit-margin-left=\\\"0\\\" fit-margin-right=\\\"0\\\" fit-margin-bottom=\\\"0\\\" /><path d=\\\"M 27.002162,0.10711058 A 2.3051231,2.3051231 0 0 1 28.626448,3.9976138 L 16.332458,16.330509 a 2.3051231,2.3051231 0 0 1 -3.248571,0 L 0.79962417,4.0365189 A 2.2953969,2.2953969 0 1 1 4.0092893,0.76849618 L 14.708173,11.46738 25.407057,0.76849618 a 2.2953969,2.2953969 0 0 1 1.595105,-0.6613856 z\\\" inkscape:connector-curvature=\\\"0\\\" style=\\\"fill:#484f60;stroke-width:0.97262579\\\" /><path d=\\\"m 27.002162,29.892891 a 2.3051231,2.3051231 0 0 0 1.624285,-3.890503 L 16.332458,13.669493 a 2.3051231,2.3051231 0 0 0 -3.248571,0 L 0.79962424,25.963483 A 2.2953968,2.2953968 0 1 0 4.0092893,29.231505 L 14.708173,18.532622 25.407057,29.231505 a 2.2953968,2.2953968 0 0 0 1.595105,0.661386 z\\\" inkscape:connector-curvature=\\\"0\\\" style=\\\"fill:#484f60;stroke-width:0.97262579\\\" /></svg>\",\n \"eye\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" version=\\\"1.1\\\" x=\\\"0px\\\" y=\\\"0px\\\" viewBox=\\\"0 0 50.000001 50.000001\\\" sodipodi:docname=\\\"eye.svg\\\" width=\\\"50\\\" height=\\\"50\\\" inkscape:version=\\\"0.92.4 (5da689c313, 2019-01-14)\\\"><metadata ><rdf:RDF><cc:Work rdf:about=\\\"\\\"><dc:format>image/svg+xml</dc:format><dc:type rdf:resource=\\\"http://purl.org/dc/dcmitype/StillImage\\\" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor=\\\"#ffffff\\\" bordercolor=\\\"#666666\\\" borderopacity=\\\"1\\\" objecttolerance=\\\"10\\\" gridtolerance=\\\"10\\\" guidetolerance=\\\"10\\\" inkscape:pageopacity=\\\"0\\\" inkscape:pageshadow=\\\"2\\\" inkscape:window-width=\\\"1920\\\" inkscape:window-height=\\\"1017\\\" showgr inkscape:zoom=\\\"1.8437536\\\" inkscape:cx=\\\"57.260141\\\" inkscape:cy=\\\"-26.955722\\\" inkscape:window-x=\\\"-8\\\" inkscape:window-y=\\\"-8\\\" inkscape:window-maximized=\\\"1\\\" inkscape:current-layer=\\\"Capa_1\\\" /><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><path d=\\\"M 508.745,246.041 C 504.171,239.784 395.188,92.835 255.997,92.835 c -139.191,0 -248.179,146.949 -252.748,153.2 -4.332,5.936 -4.332,13.987 0,19.923 4.569,6.257 113.557,153.206 252.748,153.206 139.191,0 248.174,-146.95 252.748,-153.201 4.338,-5.935 4.338,-13.992 0,-19.922 z M 255.997,385.406 c -102.529,0 -191.33,-97.533 -217.617,-129.418 26.253,-31.913 114.868,-129.395 217.617,-129.395 102.524,0 191.319,97.516 217.617,129.418 -26.253,31.912 -114.868,129.395 -217.617,129.395 z\\\" inkscape:connector-curvature=\\\"0\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><path d=\\\"m 255.997,154.725 c -55.842,0 -101.275,45.433 -101.275,101.275 0,55.842 45.433,101.275 101.275,101.275 55.842,0 101.275,-45.433 101.275,-101.275 0,-55.842 -45.433,-101.275 -101.275,-101.275 z m 0,168.791 c -37.23,0 -67.516,-30.287 -67.516,-67.516 0,-37.229 30.287,-67.516 67.516,-67.516 37.229,0 67.516,30.287 67.516,67.516 0,37.229 -30.286,67.516 -67.516,67.516 z\\\" inkscape:connector-curvature=\\\"0\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g></svg>\",\n \"filter\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><path d=\\\"M22.13,39.17A1.69,1.69,0,0,1,21,37.58v-8.5l-9-15.46a1.68,1.68,0,0,1,1.5-2.45h22.9A1.68,1.68,0,0,1,38,13.62L29,29.08v8.49a1.68,1.68,0,0,1-1.14,1.59Z\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"filter_circle_large\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><path d=\\\"M22.81,37A1.28,1.28,0,0,1,22,35.79V29.31L15.14,17.54a1.28,1.28,0,0,1,1.14-1.87H33.72a1.28,1.28,0,0,1,1.14,1.87L28,29.31v6.47A1.29,1.29,0,0,1,27.17,37Z\\\" fill=\\\"#484f60\\\"/><path d=\\\"M25,6.33A18.67,18.67,0,1,1,6.33,25,18.7,18.7,0,0,1,25,6.33M25,5A20,20,0,1,0,45,25,20,20,0,0,0,25,5Z\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"hamburger\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><title>hamburger</title><rect x=\\\"14\\\" y=\\\"15.17\\\" width=\\\"22\\\" height=\\\"4\\\"/><rect x=\\\"14\\\" y=\\\"23.17\\\" width=\\\"22\\\" height=\\\"4\\\"/><rect x=\\\"14\\\" y=\\\"31.17\\\" width=\\\"22\\\" height=\\\"4\\\"/></svg>\",\n \"magic_wand\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><g style=\\\"isolation:isolate\\\"><path d=\\\"M20.45,10.71a.28.28,0,0,1,.49-.19l1.4,1.25a.93.93,0,0,0,.83.23L25,11.62a.29.29,0,0,1,.34.41l-.76,1.71a.93.93,0,0,0,0,.86l.93,1.62c.12.26,0,.45-.29.45l-1.86-.2a1,1,0,0,0-.81.32l-1.26,1.38a.28.28,0,0,1-.5-.14l-.39-1.83a1,1,0,0,0-.55-.67l-1.71-.77a.28.28,0,0,1,0-.52l1.62-.94a1,1,0,0,0,.48-.73Z\\\" fill=\\\"#484f60\\\"/><g style=\\\"mix-blend-mode:lighten\\\"><path d=\\\"M23.3,16.21a1,1,0,0,0-.8.31l-1,1.13a.29.29,0,0,1-.51-.14L20.66,16a1,1,0,0,0-.55-.68l-1.39-.62a.28.28,0,0,1,0-.52L20,13.45a1,1,0,0,0,.48-.73l.16-1.5a.29.29,0,0,1,.49-.2l1.13,1a.93.93,0,0,0,.83.23L24.58,12a.29.29,0,0,1,.34.41l-.62,1.38a.91.91,0,0,0,.05.86l.75,1.32a.29.29,0,0,1-.29.44Z\\\" fill=\\\"#484f60\\\"/></g><path d=\\\"M33.57,36.76a.53.53,0,0,1,0,.72l-2.37,2.18a.48.48,0,0,1-.7,0L18,25.34a.51.51,0,0,1,0-.71l2.36-2.19a.49.49,0,0,1,.7,0Z\\\" fill=\\\"#484f60\\\"/><path d=\\\"M18.6,19.94a.51.51,0,0,1,0,.71L16.2,22.84a.48.48,0,0,1-.7,0l-2.76-3.13a.51.51,0,0,1,0-.71l2.37-2.19a.48.48,0,0,1,.7,0Z\\\" fill=\\\"#484f60\\\"/><path d=\\\"M30.67,10.55a.29.29,0,0,1,.47.24v1.12a1,1,0,0,0,.4.77l.9.66a.29.29,0,0,1-.08.52l-1.07.35a1,1,0,0,0-.61.61l-.35,1.06a.28.28,0,0,1-.51.09l-.67-.91a1,1,0,0,0-.77-.4H27.27a.29.29,0,0,1-.25-.47l.66-.9a.93.93,0,0,0,.14-.85l-.35-1.07a.29.29,0,0,1,.38-.38l1.07.35a1,1,0,0,0,.85-.13Z\\\" fill=\\\"#484f60\\\"/><g style=\\\"mix-blend-mode:lighten\\\"><path d=\\\"M29.25,14.88a1,1,0,0,0-.77-.4h-.86a.29.29,0,0,1-.24-.47l.5-.69a.93.93,0,0,0,.14-.85l-.26-.82c-.07-.27.1-.44.37-.37l.82.26a1,1,0,0,0,.85-.13l.69-.51a.29.29,0,0,1,.47.25V12a.94.94,0,0,0,.39.76l.7.51a.29.29,0,0,1-.09.52l-.81.26a1,1,0,0,0-.62.61l-.26.82a.29.29,0,0,1-.52.08Z\\\" fill=\\\"#484f60\\\"/></g><path d=\\\"M37,15.81a.29.29,0,0,1,.32.43l-.13.26a.91.91,0,0,0,0,.85l.15.26A.29.29,0,0,1,37,18l-.29,0a.93.93,0,0,0-.81.27l-.2.21a.28.28,0,0,1-.5-.16l0-.29a1,1,0,0,0-.52-.69l-.27-.13a.28.28,0,0,1,0-.52l.26-.13a.93.93,0,0,0,.5-.71l0-.29a.29.29,0,0,1,.5-.17l.21.21a.92.92,0,0,0,.82.26Z\\\" fill=\\\"#484f60\\\"/><g style=\\\"mix-blend-mode:lighten\\\"><path d=\\\"M35.25,18a1,1,0,0,0-.52-.7l-.12-.05a.28.28,0,0,1,0-.52l.12-.06a1,1,0,0,0,.51-.7V15.8a.29.29,0,0,1,.5-.18l.09.1a.92.92,0,0,0,.82.26l.13,0a.29.29,0,0,1,.32.42L37,16.5a.91.91,0,0,0,0,.85l.07.12a.29.29,0,0,1-.31.43l-.13,0a1,1,0,0,0-.82.28l-.09.1a.28.28,0,0,1-.5-.16Z\\\" fill=\\\"#484f60\\\"/></g></g></svg>\",\n \"refresh\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><polygon points=\\\"14.58 22.71 14.58 10 27.29 22.71 14.58 22.71\\\" fill=\\\"#484f60\\\"/><polygon points=\\\"35.42 27.29 35.42 40 22.71 27.29 35.42 27.29\\\" fill=\\\"#484f60\\\"/><path d=\\\"M19.9,15.32c4.09-4.09,10.2-8.13,18.33,0h0C31.73,8.82,26.65,13.9,22.56,18Z\\\" fill=\\\"#484f60\\\"/><path d=\\\"M30.1,34.68c-4.09,4.08-10.2,8.13-18.33,0h0c6.51,6.5,11.58,1.43,15.67-2.66Z\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"search\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><path d=\\\"M28,14.75A9.39,9.39,0,1,0,28,28,9.39,9.39,0,0,0,28,14.75ZM26.48,26.48a7.2,7.2,0,1,1,0-10.18A7.2,7.2,0,0,1,26.48,26.48Z\\\" fill=\\\"#484f60\\\"/><path d=\\\"M37.36,33.49,32.67,28.8a2.19,2.19,0,0,0-3.09,0l-.78.78a2.19,2.19,0,0,0,0,3.09l4.69,4.69a2.2,2.2,0,0,0,3.1,0l.77-.78A2.19,2.19,0,0,0,37.36,33.49Z\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"sync_alt\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 512 512\\\"><path d=\\\"M370.72 133.28C339.458 104.008 298.888 87.962 255.848 88c-77.458.068-144.328 53.178-162.791 126.85-1.344 5.363-6.122 9.15-11.651 9.15H24.103c-7.498 0-13.194-6.807-11.807-14.176C33.933 94.924 134.813 8 256 8c66.448 0 126.791 26.136 171.315 68.685L463.03 40.97C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.749zM32 296h134.059c21.382 0 32.09 25.851 16.971 40.971l-41.75 41.75c31.262 29.273 71.835 45.319 114.876 45.28 77.418-.07 144.315-53.144 162.787-126.849 1.344-5.363 6.122-9.15 11.651-9.15h57.304c7.498 0 13.194 6.807 11.807 14.176C478.067 417.076 377.187 504 256 504c-66.448 0-126.791-26.136-171.315-68.685L48.97 471.03C33.851 486.149 8 475.441 8 454.059V320c0-13.255 10.745-24 24-24z\\\"/></svg>\",\n \"three_d\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><path d=\\\"M16.08,30.77a4.85,4.85,0,0,1-3-.8,4,4,0,0,0-2.49-.15,6.21,6.21,0,0,0,2.53,1.09,12.84,12.84,0,0,0,2.93-.14\\\" fill=\\\"#484f60\\\" opacity=\\\"0.5\\\"/><path d=\\\"M14.27,19.68A4.71,4.71,0,0,0,11,20.78l2,.14c.31,0,1.2-.69,1.55-.81a3.88,3.88,0,0,1,1.65-.24l-1.94-.19\\\" fill=\\\"#484f60\\\" opacity=\\\"0.5\\\"/><path d=\\\"M21.64,28.79a4.13,4.13,0,0,0-3.1-4c.89-.7,1.77-1.09,2.26-2.21a5.12,5.12,0,0,0,.35-1.9c-.13-3.24-2.64-3.73-5.29-4.15a4,4,0,0,1,3.44,3.7,4.61,4.61,0,0,1-.83,3.12,9.7,9.7,0,0,1-1.82,1.43,4.3,4.3,0,0,1,3.17,4.34,4.9,4.9,0,0,1-4.21,5c2.09-.34,4.37-.64,5.46-2.69a5,5,0,0,0,.57-2.58\\\" fill=\\\"#484f60\\\" opacity=\\\"0.5\\\"/><path d=\\\"M28.44,18.88l.38-.07.48-.06.57,0h.75l.36,0,.35.05c-.2,0-.42-.08-1.57-.25l-.36-.05-.37,0h-.77l-.59,0-.49.07a3.08,3.08,0,0,0-.39.07l-.3.07V31.38H27l.13,0h1.63l.21,0h.2l.2,0h.05l1.55-.24h0l-.34.05-.33,0H29.12l-.36,0-.33,0a1.15,1.15,0,0,1-.28-.06V19Z\\\" fill=\\\"#484f60\\\" opacity=\\\"0.5\\\"/><path d=\\\"M40,24.34a9,9,0,0,0-3-7.1,11.06,11.06,0,0,0-4.47-1.86c4.38,1.13,6.23,5.31,6.13,9.54-.12,4.5-2.27,8.55-6.86,9.66,2.59-.63,5-1.41,6.52-3.78A12,12,0,0,0,40,24.34\\\" fill=\\\"#484f60\\\" opacity=\\\"0.5\\\"/><path d=\\\"M35.38,16.71A7.32,7.32,0,0,1,36.74,18a7.82,7.82,0,0,1,1,1.73,10.32,10.32,0,0,1,.68,2.16,13.86,13.86,0,0,1,.23,2.59,15,15,0,0,1-.25,2.78,11.39,11.39,0,0,1-.68,2.31,9.34,9.34,0,0,1-1,1.85,8.23,8.23,0,0,1-1.28,1.4,7.76,7.76,0,0,1-1.7,1.07,9.07,9.07,0,0,1-2,.69,13.36,13.36,0,0,1-2.26.33,18.25,18.25,0,0,1-2.45,0c-.5,0-1-.08-1.39-.12l-1.17-.14c-.36,0-.68-.11-1-.16l-.77-.15V15.86c.34-.09.71-.18,1.09-.26s.81-.15,1.24-.21.88-.12,1.34-.17.95-.1,1.44-.13a20.57,20.57,0,0,1,2.33,0,12,12,0,0,1,2,.24,8.24,8.24,0,0,1,1.72.55A7.1,7.1,0,0,1,35.38,16.71ZM27.92,31.53a6.53,6.53,0,0,0,2.46-.32A4.81,4.81,0,0,0,32.32,30a5.82,5.82,0,0,0,1.27-2.18A10.11,10.11,0,0,0,34,24.67a8.65,8.65,0,0,0-.42-2.85,4.94,4.94,0,0,0-1.18-2,4.45,4.45,0,0,0-1.83-1.11,6.55,6.55,0,0,0-2.35-.28l-.59,0-.49.07a3.08,3.08,0,0,0-.39.07l-.3.07V31.38a2.11,2.11,0,0,0,.29.06l.34,0,.37,0,.36,0h.07\\\" fill=\\\"#484f60\\\"/><path d=\\\"M14.57,16.47a5.49,5.49,0,0,1,2,.22,3.89,3.89,0,0,1,1.49.84A3.66,3.66,0,0,1,19,18.89a4.29,4.29,0,0,1,.33,1.7,5.29,5.29,0,0,1-.17,1.34,4.29,4.29,0,0,1-.5,1.16,4.17,4.17,0,0,1-.84.94,4.88,4.88,0,0,1-1.16.69v.05a3.7,3.7,0,0,1,1.22.5,4,4,0,0,1,1,.92,4.61,4.61,0,0,1,.69,1.3,5.24,5.24,0,0,1,.25,1.62,5.36,5.36,0,0,1-.42,2.15,4.44,4.44,0,0,1-1.2,1.64,4.84,4.84,0,0,1-1.86,1,6.78,6.78,0,0,1-2.39.23,7.69,7.69,0,0,1-2.36-.52,6.89,6.89,0,0,1-.9-.42,4.36,4.36,0,0,1-.69-.47l.62-2.9a4.12,4.12,0,0,0,.53.34,6.21,6.21,0,0,0,.73.36,5.69,5.69,0,0,0,.88.31,5.19,5.19,0,0,0,1,.15,3.11,3.11,0,0,0,1.1-.13,2,2,0,0,0,.8-.45,1.93,1.93,0,0,0,.49-.71,2.35,2.35,0,0,0,.17-.89A2.48,2.48,0,0,0,16,27.67a2.23,2.23,0,0,0-.63-.79,2.9,2.9,0,0,0-.89-.46,3.5,3.5,0,0,0-1-.15H12.2V23.44l1.23,0a3.44,3.44,0,0,0,.83-.11,2.83,2.83,0,0,0,.79-.36,2,2,0,0,0,.6-.62,2,2,0,0,0,.23-.94,1.8,1.8,0,0,0-.13-.71,1.36,1.36,0,0,0-.38-.56,1.58,1.58,0,0,0-.64-.35,2.79,2.79,0,0,0-.9-.1,4.07,4.07,0,0,0-.84.13c-.27.08-.53.18-.78.28a6.56,6.56,0,0,0-1.17.7L10.42,18a5,5,0,0,1,.72-.51,7.82,7.82,0,0,1,2.12-.82A8,8,0,0,1,14.57,16.47Z\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"truck\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\" version=\\\"1.1\\\" sodipodi:docname=\\\"truck.svg\\\" inkscape:version=\\\"0.92.4 (5da689c313, 2019-01-14)\\\"><metadata ><rdf:RDF><cc:Work rdf:about=\\\"\\\"><dc:format>image/svg+xml</dc:format><dc:type rdf:resource=\\\"http://purl.org/dc/dcmitype/StillImage\\\" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor=\\\"#ffffff\\\" bordercolor=\\\"#666666\\\" borderopacity=\\\"1\\\" objecttolerance=\\\"10\\\" gridtolerance=\\\"10\\\" guidetolerance=\\\"10\\\" inkscape:pageopacity=\\\"0\\\" inkscape:pageshadow=\\\"2\\\" inkscape:window-width=\\\"1920\\\" inkscape:window-height=\\\"1017\\\" showgr inkscape:zoom=\\\"9.44\\\" inkscape:cx=\\\"31.555563\\\" inkscape:cy=\\\"21.585628\\\" inkscape:window-x=\\\"-8\\\" inkscape:window-y=\\\"-8\\\" inkscape:window-maximized=\\\"1\\\" inkscape:current-layer=\\\"svg8\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><path inkscape:connector-curvature=\\\"0\\\" d=\\\"m 119.467,337.067 c -28.237,0 -51.2,22.963 -51.2,51.2 0,28.237 22.963,51.2 51.2,51.2 28.237,0 51.2,-22.963 51.2,-51.2 0,-28.237 -22.964,-51.2 -51.2,-51.2 z m 0,85.333 c -18.825,0 -34.133,-15.309 -34.133,-34.133 0,-18.825 15.309,-34.133 34.133,-34.133 18.824,0 34.133,15.309 34.133,34.133 0,18.824 -15.309,34.133 -34.133,34.133 z\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><path inkscape:connector-curvature=\\\"0\\\" d=\\\"m 409.6,337.067 c -28.237,0 -51.2,22.963 -51.2,51.2 0,28.237 22.963,51.2 51.2,51.2 28.237,0 51.2,-22.963 51.2,-51.2 0,-28.237 -22.963,-51.2 -51.2,-51.2 z m 0,85.333 c -18.825,0 -34.133,-15.309 -34.133,-34.133 0,-18.825 15.309,-34.133 34.133,-34.133 18.825,0 34.133,15.309 34.133,34.133 0,18.824 -15.308,34.133 -34.133,34.133 z\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><path inkscape:connector-curvature=\\\"0\\\" d=\\\"m 510.643,289.784 -76.8,-119.467 c -1.57,-2.441 -4.275,-3.917 -7.177,-3.917 H 332.8 c -4.719,0 -8.533,3.823 -8.533,8.533 v 213.333 c 0,4.719 3.814,8.533 8.533,8.533 h 34.133 v -17.067 h -25.6 V 183.467 h 80.674 l 72.926,113.442 v 82.825 H 452.266 V 396.8 h 51.2 c 4.719,0 8.533,-3.814 8.533,-8.533 V 294.4 c 10e-4,-1.63 -0.468,-3.243 -1.356,-4.616 z\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><path inkscape:connector-curvature=\\\"0\\\" d=\\\"M 375.467,277.333 V 217.6 h 68.267 v -17.067 h -76.8 c -4.719,0 -8.533,3.823 -8.533,8.533 v 76.8 c 0,4.719 3.814,8.533 8.533,8.533 h 128 V 277.332 H 375.467 Z\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><path inkscape:connector-curvature=\\\"0\\\" d=\\\"M 332.8,106.667 H 8.533 C 3.823,106.667 0,110.49 0,115.2 v 273.067 c 0,4.719 3.823,8.533 8.533,8.533 H 76.8 V 379.733 H 17.067 v -256 h 307.2 v 256 H 162.133 V 396.8 H 332.8 c 4.719,0 8.533,-3.814 8.533,-8.533 V 115.2 c 0,-4.71 -3.814,-8.533 -8.533,-8.533 z\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><rect x=\\\"8.533\\\" y=\\\"345.60001\\\" width=\\\"51.200001\\\" height=\\\"17.066999\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><rect x=\\\"179.2\\\" y=\\\"345.60001\\\" width=\\\"145.067\\\" height=\\\"17.066999\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><rect x=\\\"469.33301\\\" y=\\\"345.60001\\\" width=\\\"34.132999\\\" height=\\\"17.066999\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><rect x=\\\"34.132999\\\" y=\\\"140.8\\\" width=\\\"298.66699\\\" height=\\\"17.066999\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><rect x=\\\"110.933\\\" y=\\\"379.733\\\" width=\\\"17.066999\\\" height=\\\"17.066999\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><rect x=\\\"401.06699\\\" y=\\\"379.733\\\" width=\\\"17.066999\\\" height=\\\"17.066999\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></svg>\"\n};","import { Injectable } from '@angular/core';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { IconSvg } from '../model/icon';\r\nimport { IconEnum } from '../enum/icon.enum';\r\n\r\n@Injectable()\r\nexport class IconCacheService {\r\n /**\r\n * All the icons as a large JSON object, from the all-icons.json file.\r\n * The object has property keys that are the icon names, and property values with the data string of the actual svg icon.\r\n */\r\n public get iconCache(): { [iconName: string]: SafeHtml } {\r\n return this._iconCache;\r\n }\r\n\r\n private _iconCache: { [iconName: string]: SafeHtml } = {};\r\n\r\n private _allIcons: any;\r\n\r\n constructor(private _sanitizer: DomSanitizer) {\r\n this._allIcons = IconSvg;\r\n this.setIconCache();\r\n }\r\n\r\n public getIcon(iconName: IconEnum): SafeHtml {\r\n return this._iconCache[iconName.toLowerCase()];\r\n }\r\n\r\n public setIconCache(): void {\r\n for (const key in this._allIcons) {\r\n if (this._allIcons.hasOwnProperty(key)) {\r\n this._iconCache[key.toLowerCase()] = this._sanitizer.bypassSecurityTrustHtml(this._allIcons[key]);\r\n }\r\n }\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\nimport {ProductCatalogControllerService} from '../../service/product-catalog-controller.service';\nimport {IconEnum} from '../../enum/icon.enum';\nimport {IconCacheService} from '../../service/icon-cache.service';\nimport {animate, state, style, transition, trigger} from '@angular/animations';\n\n@Component({\n selector: 'app-top-content',\n templateUrl: './top-content.component.html',\n styleUrls: ['./top-content.component.scss'],\n animations: [\n trigger('showAdvancedSearch', [\n state('void', style({height: '0'})),\n state('*', style({height: '*'})),\n transition('void <=> *', animate(200))\n ])\n ]\n})\n\nexport class TopContentComponent implements OnInit {\n\n public readonly Icons: typeof IconEnum = IconEnum;\n\n @Input()\n public label: string;\n\n @Input()\n public description: string;\n\n public collapsed = true;\n\n constructor(\n public catalog: ProductCatalogControllerService,\n public iconCache: IconCacheService\n ) {\n\n }\n\n ngOnInit() {\n }\n\n public onHandleClick(event: MouseEvent): void {\n this.collapsed = !this.collapsed;\n }\n\n public onSubmitSearch(event: any): void {\n // this.catalog.articleSearchFilters.general = this.searchedText.length > 0 ? this.searchedText.join(' ') : null;\n // this.catalog.articleSearchFilters.description = this.searchedText.length > 0 ? this.searchedText[0] : null;\n this.catalog.searchArticles();\n }\n}\n","import {Component, OnInit} from '@angular/core';\n\n@Component({\n selector: 'app-main-content',\n templateUrl: './main-content.component.html',\n styleUrls: ['./main-content.component.css']\n})\n\nexport class MainContentComponent implements OnInit {\n\n ngOnInit() {\n }\n\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-left-content',\n templateUrl: './left-content.component.html',\n styleUrls: ['./left-content.component.css']\n})\n\nexport class LeftContentComponent implements OnInit {\n\n ngOnInit() {\n }\n\n}\n","export enum CatalogProductFilter {\r\n Prices = \"prices\",\r\n Colors = \"colors\",\r\n Materials = \"materials\",\r\n Brands = \"brands\",\r\n Designs = \"designs\"\r\n}\r\n","import { ChangeDetectorRef, Component, HostBinding, OnDestroy, OnInit, ViewChild } from '@angular/core';\nimport { GetArticlesForCatalogRequest } from '@colijnit/ioneconnector/build/model/get-articles-for-catalog';\nimport { ProductCatalogControllerService } from '../../../service/product-catalog-controller.service';\nimport { IconEnum } from '../../../enum/icon.enum';\nimport { CatalogProductFilter } from '../../../enum/catalog-product-filter.enum';\nimport { SliderComponent } from '@colijnit/corecomponents';\nimport { NumericalRange } from '@colijnit/corecomponents/app/core/model/numerical-range';\nimport { IconCacheService } from '../../../service/icon-cache.service';\nimport { animate, state, style, transition, trigger } from '@angular/animations';\nimport { OptionsService } from '../../../service/options.service';\nimport {Subscription} from 'rxjs';\n\n@Component({\n selector: 'app-catalog-filter',\n templateUrl: './catalog-filter.component.html',\n styleUrls: ['./catalog-filter.component.scss'],\n animations: [\n trigger('showFilterItem', [\n state('closed', style({'height': '80px'})),\n state('open', style({'height': '*'})),\n transition('closed <=> open', animate(200))\n ])\n ],\n host: {\n class: 'catalog-filter'\n }\n})\nexport class CatalogFilterComponent implements OnInit, OnDestroy {\n\n public readonly icons: typeof IconEnum = IconEnum;\n public readonly productFilter: typeof CatalogProductFilter = CatalogProductFilter;\n public readonly maxItemsForSearch: number = 30;\n\n public filterItems: any[] = [];\n\n public showFilterItemToggle: any = {\n design: true,\n color: true,\n material: true,\n brand: true,\n article_group: true,\n atmosphere: true,\n concept: true\n };\n\n @ViewChild(SliderComponent, { static: true })\n public priceSlider: SliderComponent;\n\n public get filters(): GetArticlesForCatalogRequest {\n return this.catalog.articleSearchFilters;\n }\n\n @HostBinding('class.collapsed')\n public collapsed = false;\n\n private destroyed: boolean;\n\n private _subs: Subscription[] = [];\n\n constructor(\n public catalog: ProductCatalogControllerService,\n public iconCache: IconCacheService,\n public optionsService: OptionsService,\n private changeDetector: ChangeDetectorRef\n ) {\n this._subs = [\n this.catalog.onPrepareFilters.subscribe(() => {\n this.setupFilters();\n this.detectChanges();\n })\n ];\n }\n\n ngOnInit(): void {\n // because our <co-checkbox-select> components will output a selectionStringChange on their init, which effectively changes this.filters\n this.catalog.catalogShown = true;\n this.collapsed = this.optionsService.collapseFilterByDefault;\n if (window.innerWidth <= 950) {\n this.collapsed = true;\n }\n this.detectChanges();\n }\n\n ngOnDestroy(): void {\n this.destroyed = true;\n this._subs.forEach((x) => {\n x.unsubscribe();\n });\n }\n\n public resetFilters(event: MouseEvent): void {\n this.catalog.resetFilters();\n this.resetPriceFilter();\n }\n\n public resetPriceFilter(): void {\n if (this.priceSlider) {\n this.priceSlider.setLowerBound(this.catalog.priceMinFilter, true);\n this.priceSlider.setUpperBound(this.catalog.priceMaxFilter, true);\n }\n }\n\n public onHandleClick(event: MouseEvent): void {\n this.collapsed = !this.collapsed;\n }\n\n public updatePriceInputs(range: NumericalRange): void {\n this.catalog.priceFromFilter = range.lowerBound;\n this.catalog.priceToFilter = range.upperBound;\n this.catalog.filterOnPrice();\n }\n\n public updateSliderRange(): void {\n if (this.priceSlider) {\n this.priceSlider.setLowerBound(this.catalog.priceFromFilter, false);\n this.priceSlider.setUpperBound(this.catalog.priceToFilter, false);\n }\n }\n\n public updatePriceFrom(value: string): void {\n this.catalog.priceFromFilter = parseInt(value, 0);\n this.catalog.filterOnPrice();\n this.updateSliderRange();\n }\n\n public updatePriceTo(value: string): void {\n this.catalog.priceToFilter = parseInt(value, 0);\n this.catalog.filterOnPrice();\n this.updateSliderRange();\n }\n\n public removeFilterItem(item: any): void {\n if (item instanceof String && item === 'price') {\n this.resetPriceFilter();\n } else {\n item.active = false;\n this.catalog.filterArticles();\n }\n }\n\n public showSelectedFilters(): boolean {\n let show: boolean = false;\n this.filterItems.forEach((x) => {\n if (x.typ === 'price') {\n if (this.optionsService.showPriceFilter && (this.catalog.priceFromFilter !== this.catalog.priceMinFilter || this.catalog.priceToFilter !== this.catalog.priceMaxFilter)) {\n show = true;\n }\n } else if (x.typ !== 'price') {\n if (this.catalog.hasFilterItems(this.catalog[x.items]) && this.catalog.hasCheckedFilterItems(this.catalog[x.items])) {\n show = true;\n }\n }\n\n });\n return show;\n }\n\n public setupFilters(): void {\n\n this.filterItems = [\n {\n show: this.optionsService.showPriceFilter,\n collapsed: false,\n title: 'PRICE',\n type: 'price'\n },\n {\n show: this.catalog.hasFilterItems(this.catalog.designs),\n collapsed: false,\n title: 'DESIGN',\n type: 'default',\n items: 'designs'\n },\n {\n show: this.catalog.hasFilterItems(this.catalog.colors),\n collapsed: false,\n title: 'COLOR',\n type: 'color',\n items: 'colors'\n },\n {\n show: this.catalog.hasFilterItems(this.catalog.materials),\n collapsed: false,\n title: 'MATERIAL',\n type: 'default',\n items: 'materials'\n },\n {\n show: this.catalog.hasFilterItems(this.catalog.brands),\n collapsed: false,\n title: 'BRAND',\n type: 'default',\n items: 'brands'\n },\n {\n show: this.catalog.hasFilterItems(this.catalog.articleGroupsFilter),\n collapsed: false,\n title: 'ARTICLE_GROUP',\n type: 'default',\n items: this.catalog.articleGroupsFilter\n },\n {\n show: this.catalog.hasFilterItems(this.catalog.atmospheresFilter),\n collapsed: false,\n title: 'ATMOSPHERE',\n type: 'default',\n items: 'atmospheresFilter'\n },\n {\n show: this.catalog.hasFilterItems(this.catalog.conceptsFilter),\n collapsed: false,\n title: 'CONCEPT',\n type: 'default',\n items: 'conceptsFilter'\n }\n ];\n }\n\n private detectChanges(): void {\n if (!this.destroyed) {\n this.changeDetector.detectChanges();\n }\n }\n}\n","import {ChangeDetectorRef, Component, OnDestroy, ViewChild} from '@angular/core';\nimport {ProductCatalogControllerService} from '../../../service/product-catalog-controller.service';\nimport {PaginationComponent} from '@colijnit/corecomponents';\nimport {Subscription} from 'rxjs';\nimport {OptionsService} from '../../../service/options.service';\nimport {OrderByInterface} from '../../../interface/order-by.interface';\nimport {ArticleExtendedDto} from '@colijnit/ioneconnector/build/model/article-extended-dto';\n\n@Component({\n selector: 'app-catalog-page',\n templateUrl: './catalog-page.component.html',\n styleUrls: ['./catalog-page.component.scss']\n})\nexport class CatalogPageComponent implements OnDestroy {\n\n @ViewChild(PaginationComponent, { static: true })\n public pagination: PaginationComponent;\n\n private destroyed: boolean;\n\n private _subs: Subscription[] = [];\n\n public orderByOptions: OrderByInterface[] = [\n {id: 1, name: 'ORDER_BY_ARTICLENR'},\n {id: 2, name: 'ORDER_BY_ARTICLENAME'}\n ];\n public orderByOption = this.orderByOptions[0];\n\n constructor(\n public catalog: ProductCatalogControllerService,\n public options: OptionsService,\n private changeDetector: ChangeDetectorRef\n ) {\n this._subs.push(\n this.catalog.categoryChanged.subscribe(category => this._navigationChanged()),\n this.catalog.turnoverGroupChanged.subscribe(turnoverGroup => this._navigationChanged()),\n this.catalog.searchTextChanged.subscribe(searchText => this._navigationChanged())\n )\n }\n\n ngOnDestroy(): void {\n this._subs.forEach(s => s.unsubscribe());\n this.destroyed = true;\n }\n\n public onArticleCardAdd3DButtonClick(event: MouseEvent, article: ArticleExtendedDto): void {\n // if (article) {\n // this.messageBus.emit(MessageType.LoadIOneFurnitureIntoSceneBySKU, {\n // sku: article.articleNumber,\n // position: { x: event.clientX, y: event.clientY }\n // });\n // this.catalog.catalogShown = false;\n // }\n }\n\n public onPaginationPageChange(pageNr: number): void {\n this.catalog.showcasePage = pageNr;\n this.detectChanges();\n }\n\n public onArticlesPageChange(qty: number): void {\n this.catalog.articlesPerPage = qty;\n this.detectChanges();\n }\n\n public handleOrderBy(orderBy: OrderByInterface): void {\n this.catalog.changeOrderBy(orderBy);\n this.detectChanges();\n }\n\n private _navigationChanged(): void {\n if (this.pagination) {\n this.pagination.goToFirstPage();\n }\n }\n\n private detectChanges(): void {\n if (!this.destroyed) {\n this.changeDetector.detectChanges();\n }\n }\n}\n","import {Injectable} from '@angular/core';\r\nimport {Subject} from 'rxjs';\r\nimport {ArticleExtendedDto} from '@colijnit/ioneconnector/build/model/article-extended-dto';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AppEventService {\r\n\r\n public lookAtArticleButtonClick: Subject<ArticleExtendedDto> = new Subject<ArticleExtendedDto>();\r\n public addArticleButtonClick: Subject<string> = new Subject<string>();\r\n public arButtonClick: Subject<ArticleExtendedDto> = new Subject<ArticleExtendedDto>();\r\n public articleClick: Subject<ArticleExtendedDto> = new Subject<ArticleExtendedDto>();\r\n\r\n\r\n}\r\n","import {ChangeDetectorRef, Component, EventEmitter, HostBinding, HostListener, Input, Output} from '@angular/core';\nimport {FileUtils} from '@colijnit/ioneconnector/build/utils/file-utils';\nimport {IOneControllerService} from '../../../service/i-one-controller.service';\nimport {LevelIndicatorLevel} from '../../../enum/level-indicator-level.enum';\nimport {IconEnum} from '../../../enum/icon.enum';\nimport {IconCacheService} from '../../../service/icon-cache.service';\nimport {ProductCatalogControllerService} from '../../../service/product-catalog-controller.service';\nimport {OptionsService} from '../../../service/options.service';\nimport {AppEventService} from '../../../service/app-event.service';\nimport {ArticleExtendedDto} from '@colijnit/ioneconnector/build/model/article-extended-dto';\nimport {ArticleListObjectExtended} from '@colijnit/ioneconnector/build/model/article-list-object-extended';\n\n@Component({\n selector: 'app-article-card',\n templateUrl: './article-card.component.html',\n styleUrls: ['./article-card.component.scss']\n})\nexport class ArticleCardComponent {\n\n get article(): ArticleExtendedDto {\n return this._article;\n }\n\n @Input()\n set article(value: ArticleExtendedDto) {\n this._article = value;\n if (this._article) {\n if (this._article.image) {\n this._iOne.getSelectorArticleThumbnail(this._article.image.key).then(imageData => {\n if (imageData) {\n this._article.imageData = imageData.indexOf('http') > -1 ? imageData : FileUtils.DocumentBodyToDataUri(imageData, 'image/jpeg');\n }\n });\n }\n this._iOne.getArticlePrice(this._article.goodId).then(price => {\n if (price) {\n this._article.baselinePrice = price.baselinePrice;\n this._article.price = price.basePrice;\n this._article.suppliedPrice = price.suppliedPrice;\n if (price.articleDescription !== undefined && price.articleDescription !== '') {\n this._article.name = price.articleDescription;\n this.description = this._article.name ? this._article.name : this._article.description;\n }\n }\n });\n this.description = this._article.name ? this._article.name : this._article.description;\n this.configurable = this._article.goodType === 'B';\n this.threeD = this._article.is3D;\n }\n this._getThumbNailImagesAndPrice(value);\n }\n\n public readonly Icons: typeof IconEnum = IconEnum;\n\n @Input()\n public imageData: string;\n\n @Input()\n public price: number | string;\n\n @Input()\n public level: LevelIndicatorLevel;\n\n @Input()\n public isSelected = false;\n\n @Input() @HostBinding('class.small-modus')\n public isSmallModus = false;\n\n @Input()\n public hasMagnifierButton = false;\n\n @Input()\n public hasInfoButton = false;\n\n // does not emit when you click one of the predefined buttons, but emits on a click on any of our other content\n @Output()\n public readonly contentClick: EventEmitter<MouseEvent> = new EventEmitter<MouseEvent>();\n\n @Output()\n public readonly infoButtonClick: EventEmitter<MouseEvent> = new EventEmitter<MouseEvent>();\n\n @Output()\n public readonly magnifierButtonClick: EventEmitter<MouseEvent> = new EventEmitter<MouseEvent>();\n\n @Output()\n public readonly threeDButtonClick: EventEmitter<MouseEvent> = new EventEmitter<MouseEvent>();\n\n private _article: ArticleExtendedDto;\n\n public configurable = false;\n public threeD = false;\n public description: string;\n\n @HostListener('click', ['$event'])\n public onHostClick(event: MouseEvent): void {\n event.stopPropagation();\n this._appEventService.articleClick.next(this.article);\n }\n\n constructor(\n public iconCache: IconCacheService,\n public catalog: ProductCatalogControllerService,\n public options: OptionsService,\n private _iOne: IOneControllerService,\n private _changeDetector: ChangeDetectorRef,\n private _appEventService: AppEventService\n ) {\n }\n public handleLookAtArticleButtonClick(event: MouseEvent) {\n event.stopPropagation();\n this._appEventService.lookAtArticleButtonClick.next(this.article);\n }\n\n public async handleAddArticleButtonClick(event: MouseEvent): Promise<void> {\n event.stopPropagation();\n this._appEventService.addArticleButtonClick.next(await this._getJSONFromArticleObject(this.article));\n }\n\n public handleArButtonClick(event: MouseEvent): void {\n event.stopPropagation();\n this._appEventService.arButtonClick.next(this.article);\n }\n\n public removeHtmlTags(desc: string): string {\n desc = desc.replace(/\\r?\\n|\\r/, '');\n return desc;\n }\n\n private async _getJSONFromArticleObject(article: ArticleListObjectExtended): Promise<string> {\n if (article.goodType !== 'A') { // only for simple articles\n return null;\n }\n const returnObject: {goodId: number, baseGoodId: number, selectorData: {}, quantity: number, articleTree: {}} =\n {goodId: 0, baseGoodId: 0, selectorData: {}, quantity: 0, articleTree: {}};\n returnObject.baseGoodId = article.goodId;\n returnObject.selectorData = {};\n returnObject.quantity = 1;\n returnObject.goodId = article.goodId;\n const articleFlatTreeJson = await this._iOne.getJsonArticleFlatTree(returnObject.goodId);\n if (articleFlatTreeJson) {\n returnObject.articleTree = JSON.parse(articleFlatTreeJson);\n }\n return JSON.stringify(returnObject);\n }\n\n private _detectChanges(): void {\n this._changeDetector.detectChanges();\n }\n\n private _getThumbNailImagesAndPrice(value: ArticleListObjectExtended) {\n this._article = value;\n if (this._article) {\n if (this._article.image) {\n this._iOne.getSelectorArticleThumbnail(this._article.image.key).then(imageData => {\n if (imageData) {\n this._article.imageData = imageData.indexOf('http') > -1 ? imageData : FileUtils.DocumentBodyToDataUri(imageData, 'image/jpeg');\n }\n });\n }\n this._iOne.getArticlePrice(this._article.goodId).then(price => {\n if (price) {\n this._article.baselinePrice = price.baselinePrice;\n this._article.price = price.basePrice;\n this._article.suppliedPrice = price.suppliedPrice;\n if (price.articleDescription !== undefined && price.articleDescription !== '') {\n this._article.description = price.articleDescription;\n }\n }\n });\n this.description = this._article.name ? this._article.name : this._article.description;\n this.configurable = this._article.goodType === 'B';\n this.threeD = this._article.homeBrandId !== undefined;\n }\n }\n}\n","import { Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-label-field',\n templateUrl: './label-field.component.html',\n styleUrls: ['./label-field.component.scss']\n})\nexport class LabelFieldComponent {\n\n @Input()\n public label = '';\n\n @Input()\n public description: string;\n\n}\n","import { Component, EventEmitter, HostBinding, Input, OnInit, Output } from '@angular/core';\nimport { IconEnum } from '../../../enum/icon.enum';\nimport { SafeHtml } from '@angular/platform-browser';\nimport { IconCacheService } from '../../../service/icon-cache.service';\n\n@Component({\n selector: 'app-icon-handle',\n templateUrl: './icon-handle.component.html',\n styleUrls: ['./icon-handle.component.scss']\n})\nexport class IconHandleComponent implements OnInit {\n\n public readonly icons: typeof IconEnum = IconEnum;\n\n @Input()\n public set icon(value: IconEnum) {\n this.iconData = this._iconCache.getIcon(value);\n }\n\n @HostBinding('class.horizontal')\n @Input()\n public horizontal = false;\n\n @Output()\n public onHandleClick: EventEmitter<MouseEvent> = new EventEmitter<MouseEvent>();\n\n public iconData: SafeHtml | null;\n\n constructor(private _iconCache: IconCacheService) { }\n\n ngOnInit() {\n }\n\n}\n","import {Component, ElementRef, OnDestroy, OnInit, ViewChild} from '@angular/core';\nimport {ProductCatalogControllerService} from '../../../service/product-catalog-controller.service';\nimport {Subscription} from 'rxjs';\nimport {SliderComponent} from '@colijnit/corecomponents';\n\n@Component({\n selector: 'app-catalog',\n templateUrl: './catalog.component.html',\n styleUrls: ['./catalog.component.scss']\n})\nexport class CatalogComponent implements OnInit, OnDestroy {\n\n public layout: {} = {};\n\n @ViewChild('container', {read: ElementRef, static: true })\n public containerElement: ElementRef;\n\n private _subs: Subscription[] = [];\n\n constructor(\n public catalog: ProductCatalogControllerService\n ) {\n\n this._subs.push(\n this.catalog.showPageChanged.subscribe(() => {\n this.containerElement.nativeElement.scrollTo({ left: 0, top: 0, behavior: 'smooth' });\n })\n );\n\n }\n\n ngOnInit() {\n // this.catalog.articleSearchFilters.category = this.category;\n }\n\n ngOnDestroy() {\n this._subs.forEach((s) => {s.unsubscribe();})\n }\n\n}\n","import {Pipe, PipeTransform} from '@angular/core';\r\nimport { DictionaryService } from '../service/dictionary.service';\r\n\r\n@Pipe({\r\n name: 'localize'\r\n})\r\n// A pipe for localizing string values in view templates.\r\nexport class LocalizePipe implements PipeTransform {\r\n\r\n constructor(private _dictionaryService: DictionaryService) {}\r\n\r\n transform(value: string, upperCaseFirst: boolean = true, replace: string|string[] = []): string {\r\n if (!value) {\r\n return '';\r\n }\r\n replace = replace ? replace : [];\r\n if (!Array.isArray(replace)) {\r\n replace = [replace];\r\n }\r\n return this._dictionaryService.get(value, upperCaseFirst, ...replace);\r\n }\r\n}\r\n","export class BaseComponent {\r\n\r\n}\r\n","import {\n AfterViewInit,\n ChangeDetectorRef,\n ContentChildren,\n Directive,\n HostListener,\n Input,\n OnDestroy,\n OnInit,\n QueryList,\n TemplateRef,\n ViewContainerRef\n} from '@angular/core';\nimport { BaseComponent } from './base/base-component';\n\n@Directive({\n selector: '[layout]'\n})\nexport class LayoutDirective implements OnDestroy, AfterViewInit, OnInit {\n\n @ContentChildren(BaseComponent, { descendants: true })\n public comps: QueryList<BaseComponent>;\n\n @Input()\n public set layout(value: {}) {\n if (value) {\n this._layout = value;\n this._setLayout();\n }\n }\n\n @Input()\n public set layoutLayoutId(value: string) {\n this._layoutId = value;\n }\n\n public get layoutId(): string {\n return this._layoutId;\n }\n\n @HostListener('click')\n public test(): void {\n this._changeDetector.detectChanges();\n }\n\n private _layout: {};\n private _layoutId: string;\n\n constructor (private _templateRef: TemplateRef<any>, private _containerRef: ViewContainerRef, private _changeDetector: ChangeDetectorRef) {\n }\n\n ngOnDestroy(): void {\n this._containerRef = undefined;\n this._templateRef = undefined;\n }\n\n ngOnInit(): void {\n let view = this._containerRef.createEmbeddedView(this._templateRef, {});\n this._setLayout();\n }\n\n ngAfterViewInit(): void {\n }\n\n private _setLayout(): void {\n for (const key in this._layout) {\n if (this._layout.hasOwnProperty(key) && this.layoutId === key) {\n // found a layout for this element\n this._resetView(this._layout[key]);\n }\n }\n }\n\n private _resetView(layout: {}): void {\n let i: number = 0;\n let view = this._containerRef.get(0);\n // let subView = view.get()\n // while (view !== null) {\n // i++;\n // view = this._containerRef.get(i);\n // }\n }\n\n}\n","import {\n ChangeDetectorRef,\n Component,\n ComponentFactoryResolver,\n ElementRef,\n EventEmitter,\n Input,\n OnDestroy,\n OnInit,\n Output,\n ViewEncapsulation\n} from '@angular/core';\nimport {JsonUtilsService} from './utils/json-utils.service';\nimport {IOneControllerService} from './service/i-one-controller.service';\nimport {LanguageCode} from './enum/language-code.enum';\nimport {DictionaryService} from './service/dictionary.service';\nimport {GetArticlesForCatalogRequest} from '@colijnit/ioneconnector/build/model/get-articles-for-catalog';\nimport {OptionsService} from './service/options.service';\nimport {ProductCatalogControllerService} from './service/product-catalog-controller.service';\nimport {AppEventService} from './service/app-event.service';\nimport {Subscription} from 'rxjs';\nimport {SettingsService} from './service/settings.service';\nimport {ArticleExtendedDto} from '@colijnit/ioneconnector/build/model/article-extended-dto';\n\n@Component({\n selector: 'app-ione-catalog',\n templateUrl: './ione-catalog.component.html',\n styleUrls: ['./ione-catalog.component.scss'],\n encapsulation: ViewEncapsulation.Emulated\n})\nexport class IoneCatalogComponent implements OnInit, OnDestroy {\n\n @Input()\n public set settings(value: any) {\n if (value) {\n let settings: any;\n if (typeof value === 'string') {\n settings = JSON.parse(value);\n } else {\n settings = value;\n }\n this._settingsService.createSettingsFromObject(settings);\n }\n }\n\n public get settings(): any {\n return this._settings;\n }\n\n @Input()\n public set parameters(value: GetArticlesForCatalogRequest) {\n this._optionsService.parameters = value;\n }\n\n @Output()\n public onAddToCart: EventEmitter<string> = new EventEmitter<string>();\n\n @Output()\n public onAddToQuote: EventEmitter<string> = new EventEmitter<string>();\n\n @Output()\n public onLookAtArticleButtonClick: EventEmitter<ArticleExtendedDto> = new EventEmitter<ArticleExtendedDto>();\n\n @Output()\n public onAddArticleButtonClick: EventEmitter<string> = new EventEmitter<string>();\n\n @Output()\n public onArticleClick: EventEmitter<ArticleExtendedDto> = new EventEmitter<ArticleExtendedDto>();\n\n @Output()\n public onArButtonClick: EventEmitter<ArticleExtendedDto> = new EventEmitter<ArticleExtendedDto>();\n\n public _subs: Subscription[] = [];\n public upAndLoaded = false;\n public layout: {};\n\n private _settings: any;\n private _connectionSet = false;\n\n constructor (\n private _dictionary: DictionaryService,\n private _catalogService: ProductCatalogControllerService,\n private _componentFactoryResolver: ComponentFactoryResolver,\n private _jsonUtils: JsonUtilsService,\n private _ione: IOneControllerService,\n private _changeDetector: ChangeDetectorRef,\n private _optionsService: OptionsService,\n private _elementRef: ElementRef,\n private _appEventService: AppEventService,\n private _settingsService: SettingsService\n ) {\n this._getLayoutAndCreateComponents();\n this._subs.push(\n this._dictionary.dictionaryLoaded.subscribe(d => this.upAndLoaded = true),\n this._catalogService.categoryChanged.subscribe(category => this._scrollToTop()),\n this._catalogService.turnoverGroupChanged.subscribe(turnoverGroup => this._scrollToTop()),\n this._catalogService.searchTextChanged.subscribe(searchText => this._scrollToTop()),\n this._catalogService.showPageChanged.subscribe(searchText => this._scrollToTop()),\n this._appEventService.addArticleButtonClick.subscribe((json: string) => this.onAddArticleButtonClick.next(json)),\n this._appEventService.articleClick.subscribe((article: ArticleExtendedDto) => this.onArticleClick.next(article)),\n this._appEventService.lookAtArticleButtonClick.subscribe((article: ArticleExtendedDto) => this.onLookAtArticleButtonClick.next(article)),\n this._appEventService.arButtonClick.subscribe((article: ArticleExtendedDto) => this.onArButtonClick.next(article)),\n this._settingsService.settingsLoaded.subscribe((loaded: boolean) => {\n if (loaded) {\n this._initConnection();\n }\n })\n );\n }\n\n async ngOnInit(): Promise<void> {\n // this.settings = {\n // url: 'https://wildflybaenks.i-m-g.nl:8443/ione/',\n // schema: '5101',\n // version: '250',\n // branch: '1',\n // assetPath: 'https://cdn1.colijn-it.nl/content43/',\n // username: 'gast3',\n // password: 'gast3',\n // // languageCode: 'DE',\n // useEncryption: true,\n // additionalTranslationFile: 'https://cdn1.colijn-it.nl/content43/assets/homedecorator_nl_NL.json',\n // options: {\n // // showAddToCart: true,\n // // showPriceFilter: true,\n // // showLookAtArticleButton: true,\n // // lookAtArticleButtonText: 'look attt',\n // // showAddArticleButton: true,\n // // addArticleButtonText: 'addddd'\n // },\n // catalogParameters: {\n // rangeBrand: '1,2',\n // showCustomizedArticles: false,\n // showConfigurableArticles: true,\n // showInactiveArticles: false,\n // showRegularArticles: true,\n // showCompositionArticles: false,\n // publicationCode: 2\n // }\n // };\n }\n\n ngOnDestroy(): void {\n this._subs.forEach(s => s.unsubscribe());\n }\n\n private _scrollToTop(): void {\n if (this._elementRef && this._elementRef.nativeElement) {\n this._elementRef.nativeElement.scrollTo({ top: 0, behavior: 'smooth' });\n }\n }\n\n private async _getLayoutAndCreateComponents(): Promise<void> {\n // this.layout = await this._jsonUtils.readJsonFile('layout/app-component.json');\n }\n\n // we need to prepare the settings before we can use it for the 3d configurator bundle\n private async _initConnection(): Promise<void> {\n await this._ione.initDefaultDevelopTestConnection(this._settingsService.settings, this._connectionSet);\n this._settingsService.settings.session = this._ione.connector.connector.session;\n await this._dictionary.setDictionary(LanguageCode.Dutch, this._settingsService.settings.additionalTranslationFile);\n setTimeout(() => {\n this._changeDetector.detectChanges();\n });\n this._settings = this._settingsService.settings;\n this._connectionSet = true;\n }\n}\n","import {Component, EventEmitter, Input, Output} from '@angular/core';\nimport {IconCacheService} from '../../../service/icon-cache.service';\nimport {IconEnum} from '../../../enum/icon.enum';\nimport {SafeHtml} from '@angular/platform-browser';\nimport {FilterItem} from '../../../interface/filter-item';\nimport {ProductCatalogControllerService} from '../../../service/product-catalog-controller.service';\nimport {Subscription} from 'rxjs';\n\n@Component({\n selector: 'app-filter-items',\n templateUrl: './filter-items.component.html',\n styleUrls: ['./filter-items.component.scss'],\n})\nexport class FilterItemsComponent {\n public icons: typeof IconEnum = IconEnum;\n\n @Input()\n public filterCollection: FilterItem[] = [];\n\n @Input()\n public description: string;\n\n @Input()\n public customColors: boolean = false;\n\n @Output()\n public filterCollectionChange: EventEmitter<void> = new EventEmitter<void>();\n\n public collapseIconData: SafeHtml;\n\n private _subs: Subscription[] = [];\n\n constructor(\n private _iconCache: IconCacheService,\n private _productCatalogControllerService: ProductCatalogControllerService\n ) {\n this.collapseIconData = this._iconCache.getIcon(this.icons.ArrowScrollLeft);\n this._subs.push(\n this._productCatalogControllerService.onResetFilters.subscribe(() => {\n this.resetFilterItems();\n })\n );\n }\n\n public handleInputClick(item: FilterItem, checked: boolean): void {\n item.active = checked;\n this.filterCollectionChange.next();\n }\n\n public resetFilterItems(): void {\n if (this.filterCollection !== undefined && this.filterCollection.length > 0) {\n this.filterCollection.forEach((x: FilterItem) => {\n x.active = false;\n });\n }\n }\n}\n","import {Pipe, PipeTransform} from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'greaterThanZero',\r\n pure: false\r\n})\r\nexport class GreaterThanZeroPipe implements PipeTransform {\r\n transform(items: any[], field: string): any {\r\n if (!items || !field) {\r\n return items;\r\n }\r\n return items.filter(item => item[field] > 0);\r\n }\r\n}\r\n","import {Injectable, OnDestroy} from '@angular/core';\nimport {ProductCatalogControllerService} from './product-catalog-controller.service';\nimport {IOneControllerService} from './i-one-controller.service';\nimport {Subscription} from 'rxjs';\nimport {ArticleCategory} from '@colijnit/ioneconnector/build/model/article-category';\nimport {OptionsService} from './options.service';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class NavigationService implements OnDestroy {\n private _subs: Subscription[] = [];\n private _connectionMade: boolean = false;\n private _optionsSet: boolean = false;\n public navigationCategories: ArticleCategory[] = [];\n\n constructor(\n private catalog: ProductCatalogControllerService,\n private iOne: IOneControllerService,\n private optionsService: OptionsService\n ) {\n this._subs.push(\n this.iOne.controllerInitialized.subscribe((initialized: boolean) => {\n if (initialized) {\n this._connectionMade = true;\n this.getCategories();\n }\n }),\n this.optionsService.parametersSet.subscribe((set: boolean) => {\n if (set) {\n this._optionsSet = true;\n this.getCategories();\n }\n })\n );\n }\n\n ngOnDestroy(): void {\n this._subs.forEach(s => s.unsubscribe());\n }\n\n public setCategory(category: string): void {\n this.catalog.category = category;\n }\n\n public setTurnoverGroup(turnoverGroup: string): void {\n this.catalog.turnoverGroup = turnoverGroup;\n }\n\n public async getCategories(): Promise<void> {\n if (this._optionsSet && this._connectionMade) {\n try {\n this.iOne.getArticleCategories(this.optionsService.parameters.publicationCode).then((cats: ArticleCategory[]) => {\n this.catalog.sortTurnoverGroups(cats);\n this.navigationCategories = cats;\n });\n } catch (e) {\n\n }\n }\n }\n}\n","import {Component, Input} from '@angular/core';\nimport {IconEnum} from '../../enum/icon.enum';\nimport {IconCacheService} from '../../service/icon-cache.service';\nimport {NavigationService} from '../../service/navigation.service';\n\n@Component({\n selector: 'app-ione-catalog-navigation',\n templateUrl: './navigation.component.html',\n styleUrls: ['./navigation.component.scss']\n})\nexport class NavigationComponent {\n public readonly icons: typeof IconEnum = IconEnum;\n\n @Input()\n public minified = false;\n\n public mobileMenuToggle = false;\n public popupTop: number;\n\n constructor(\n public iconCache: IconCacheService,\n public navigationService: NavigationService\n ) {}\n\n public onToggleMobileMenu() {\n this.mobileMenuToggle = !this.mobileMenuToggle;\n }\n\n public onSubMenuToggle(event: any) {\n event.preventDefault();\n const parentItem = event.currentTarget.closest('li');\n const parentClasses = parentItem.classList;\n if (parentClasses.contains('open')) {\n parentClasses.remove('open');\n } else {\n parentClasses.add('open');\n }\n }\n\n public onSetCategory(event: any, category: string) {\n if (!event.target.closest('.toggle_sub_menu') && !event.target.classList.contains('toggle_sub_menu')) {\n this.navigationService.setCategory(category);\n this.mobileMenuToggle = false;\n }\n }\n\n public onSetTurnoverGroup(event: any, turnoverGroup: string) {\n if (!event.target.closest('.toggle_sub_menu') && !event.target.classList.contains('toggle_sub_menu')) {\n this.navigationService.setTurnoverGroup(turnoverGroup);\n this.mobileMenuToggle = false;\n }\n }\n\n public onOpenSubMenu(event: MouseEvent) {\n const listItem: any = event.target;\n const rect: ClientRect = listItem.getBoundingClientRect();\n const rectParent: ClientRect = listItem.parentNode.getBoundingClientRect();\n this.popupTop = rect.bottom - rectParent.top;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {JsonUtilsService} from './utils/json-utils.service';\nimport {TopContentComponent} from './components/top-content/top-content.component';\nimport {MainContentComponent} from './components/main-content/main-content.component';\nimport {LeftContentComponent} from './components/left-content/left-content.component';\nimport {CatalogFilterComponent} from './components/catalog/catalog-filter/catalog-filter.component';\nimport {\n ButtonModule,\n CardModule,\n CollapseableModule,\n IconModule,\n ImageModule,\n InputCheckboxModule,\n InputTextChipsModule,\n InputTextModule,\n InputYesNoModule,\n LevelIndicatorModule,\n PaginationModule,\n PriceDisplayPipeModule,\n SliderModule\n} from '@colijnit/corecomponents';\nimport {ProductCatalogControllerService} from './service/product-catalog-controller.service';\nimport {IOneControllerService} from './service/i-one-controller.service';\nimport {IOneConnectorAdapterService} from './service/i-one-connector-adapter.service';\nimport {UtilsService} from './utils/utils.service';\nimport {CatalogPageComponent} from './components/catalog/catalog-page/catalog-page.component';\nimport {ArticleCardComponent} from './components/catalog/article-card/article-card.component';\nimport {IconCacheService} from './service/icon-cache.service';\nimport {LabelFieldComponent} from './components/core/label-field/label-field.component';\nimport {IconHandleComponent} from './components/core/icon-handle/icon-handle.component';\nimport {CatalogComponent} from './components/catalog/catalog/catalog.component';\nimport {LocalizePipe} from './pipe/localize.pipe';\nimport {LayoutDirective} from './layout.directive';\nimport {IoneCatalogComponent} from './ione-catalog.component';\nimport {FilterItemsComponent} from './components/catalog/filter-items/filter-items.component';\nimport {GreaterThanZeroPipe} from './pipe/greater-than-zero.pipe';\nimport {NavigationComponent} from './components/navigation/navigation.component';\nimport {CommonModule} from '@angular/common';\nimport {OptionsService} from './service/options.service';\nimport {NavigationService} from './service/navigation.service';\nimport {SettingsService} from './service/settings.service';\nimport {DictionaryService} from './service/dictionary.service';\nimport {FormsModule} from '@angular/forms';\nimport {BrowserAnimationsModule} from '@angular/platform-browser/animations';\n\n@NgModule({\n imports: [\n BrowserAnimationsModule,\n CommonModule,\n InputTextModule,\n CollapseableModule,\n PaginationModule,\n CardModule,\n ButtonModule,\n LevelIndicatorModule,\n ImageModule,\n IconModule,\n PriceDisplayPipeModule,\n InputYesNoModule,\n SliderModule,\n InputTextChipsModule,\n InputCheckboxModule,\n FormsModule\n ],\n declarations: [\n IoneCatalogComponent,\n TopContentComponent,\n LeftContentComponent,\n MainContentComponent,\n LayoutDirective,\n CatalogFilterComponent,\n CatalogPageComponent,\n ArticleCardComponent,\n LabelFieldComponent,\n IconHandleComponent,\n CatalogComponent,\n LocalizePipe,\n GreaterThanZeroPipe,\n FilterItemsComponent,\n NavigationComponent\n ],\n entryComponents: [\n IoneCatalogComponent,\n TopContentComponent,\n LeftContentComponent,\n MainContentComponent,\n NavigationComponent\n ],\n providers: [\n SettingsService,\n DictionaryService,\n NavigationService,\n OptionsService,\n UtilsService,\n JsonUtilsService,\n IOneControllerService,\n IOneConnectorAdapterService,\n ProductCatalogControllerService,\n IconCacheService\n ],\n exports: [\n IoneCatalogComponent,\n NavigationComponent\n ],\n bootstrap: [\n IoneCatalogComponent,\n NavigationComponent\n ]\n})\nexport class IoneCatalogModule {\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n\nexport {BaseComponent as ɵp} from './app/base/base-component';\nexport {ArticleCardComponent as ɵs} from './app/components/catalog/article-card/article-card.component';\nexport {CatalogFilterComponent as ɵq} from './app/components/catalog/catalog-filter/catalog-filter.component';\nexport {CatalogPageComponent as ɵr} from './app/components/catalog/catalog-page/catalog-page.component';\nexport {CatalogComponent as ɵv} from './app/components/catalog/catalog/catalog.component';\nexport {FilterItemsComponent as ɵy} from './app/components/catalog/filter-items/filter-items.component';\nexport {IconHandleComponent as ɵu} from './app/components/core/icon-handle/icon-handle.component';\nexport {LabelFieldComponent as ɵt} from './app/components/core/label-field/label-field.component';\nexport {LeftContentComponent as ɵm} from './app/components/left-content/left-content.component';\nexport {MainContentComponent as ɵn} from './app/components/main-content/main-content.component';\nexport {NavigationComponent as ɵz} from './app/components/navigation/navigation.component';\nexport {TopContentComponent as ɵk} from './app/components/top-content/top-content.component';\nexport {IoneCatalogComponent as ɵa} from './app/ione-catalog.component';\nexport {LayoutDirective as ɵo} from './app/layout.directive';\nexport {GreaterThanZeroPipe as ɵx} from './app/pipe/greater-than-zero.pipe';\nexport {LocalizePipe as ɵw} from './app/pipe/localize.pipe';\nexport {AppEventService as ɵj} from './app/service/app-event.service';\nexport {DictionaryService as ɵb} from './app/service/dictionary.service';\nexport {IOneConnectorAdapterService as ɵf} from './app/service/i-one-connector-adapter.service';\nexport {IOneControllerService as ɵe} from './app/service/i-one-controller.service';\nexport {IconCacheService as ɵl} from './app/service/icon-cache.service';\nexport {NavigationService as ɵba} from './app/service/navigation.service';\nexport {OptionsService as ɵh} from './app/service/options.service';\nexport {ProductCatalogControllerService as ɵd} from './app/service/product-catalog-controller.service';\nexport {SettingsService as ɵi} from './app/service/settings.service';\nexport {JsonUtilsService as ɵc} from './app/utils/json-utils.service';\nexport {UtilsService as ɵg} from './app/utils/utils.service';"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;IAGa,gBAAgB,GAA7B,MAAa,gBAAgB;IAEd,YAAY,CAAC,QAAgB;;YACxC,IAAI;gBACF,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAC,CAAC;gBACvC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE;oBAChB,OAAO,CAAC,KAAK,CAAC,4BAA4B,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;oBACjE,OAAO,EAAE,CAAC;iBACX;qBAAM;oBACL,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC;iBACxB;aACF;YAAC,OAAO,CAAC,EAAE;gBACV,OAAO,CAAC,KAAK,CAAC,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC;gBACvD,OAAO,EAAE,CAAC;aACX;SACF;KAAA;EACF;AAhBY,gBAAgB;IAD5B,UAAU,EAAE;GACA,gBAAgB,CAgB5B;;ACID;AACA;IAEa,2BAA2B,GAAxC,MAAa,2BAA2B;IAMtC;QAJgB,eAAU,GAAqB,IAAI,OAAO,EAAW,CAAC;KAKrE;IAEM,aAAa,CAAC,OAAgB;QACnC,IAAI,CAAC,SAAS,GAAG,IAAI,SAAS,CAAC,OAAO,CAAC,CAAC;QACxC,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;QACzC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,SAAS,CAAC,KAAK,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;KAC3E;IAEM,qBAAqB,CACxB,MAAoC,EACpC,MAAyB,EACzB,UAAU,GAAG,IAA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oBAAoB;YACpB,mBAAmB;YACnB,WAAW;SACd;QACD,YAAY,EAAE;YACV,oBAAoB;YACpB,mBAAmB;YACnB,oBAAoB;YACpB,oBAAoB;YACpB,eAAe;YACf,sBAAsB;YACtB,oBAAoB;YACpB,oBAAoB;YACpB,mBAAmB;YACnB,mBAAmB;YACnB,gBAAgB;YAChB,YAAY;YACZ,mBAAmB;YACnB,oBAAoB;YACpB,mBAAmB;SACtB;QACD,eAAe,EAAE;YACb,oBAAoB;YACpB,mBAAmB;YACnB,oBAAoB;YACpB,oBAAoB;YACpB,mBAAmB;SACtB;QACD,SAAS,EAAE;YACP,eAAe;YACf,iBAAiB;YACjB,iBAAiB;YACjB,cAAc;YACd,YAAY;YACZ,gBAAgB;YAChB,qBAAqB;YACrB,2BAA2B;YAC3B,+BAA+B;YAC/B,gBAAgB;SACnB;QACD,OAAO,EAAE;YACL,oBAAoB;YACpB,mBAAmB;SACtB;QACD,SAAS,EAAE;YACP,oBAAoB;YACpB,mBAAmB;SACtB;KACJ,CAAC;GACW,iBAAiB,CAE7B;;AChHD;;;;;;"}
|
|
1
|
+
{"version":3,"file":"colijnit-catalog.js","sources":["../../src/app/service/i-one-connector-adapter.service.ts","../../src/app/service/i-one-controller.service.ts","../../src/app/utils/utils.service.ts","../../src/app/enum/language-code.enum.ts","../../src/app/utils/string-utils.ts","../../src/app/utils/json-utils.service.ts","../../src/app/service/dictionary.service.ts","../../src/app/model/settings-options.ts","../../src/app/model/settings.ts","../../src/app/service/settings.service.ts","../../src/app/service/options.service.ts","../../src/app/service/product-catalog-controller.service.ts","../../src/app/enum/icon.enum.ts","../../src/app/model/icon.ts","../../src/app/service/icon-cache.service.ts","../../src/app/components/top-content/top-content.component.ts","../../src/app/components/main-content/main-content.component.ts","../../src/app/components/left-content/left-content.component.ts","../../src/app/enum/catalog-product-filter.enum.ts","../../src/app/components/catalog/catalog-filter/catalog-filter.component.ts","../../src/app/components/catalog/catalog-page/catalog-page.component.ts","../../src/app/service/app-event.service.ts","../../src/app/components/catalog/article-card/article-card.component.ts","../../src/app/components/core/label-field/label-field.component.ts","../../src/app/components/core/icon-handle/icon-handle.component.ts","../../src/app/components/catalog/catalog/catalog.component.ts","../../src/app/pipe/localize.pipe.ts","../../src/app/base/base-component.ts","../../src/app/layout.directive.ts","../../src/app/ione-catalog.component.ts","../../src/app/components/catalog/filter-items/filter-items.component.ts","../../src/app/pipe/greater-than-zero.pipe.ts","../../src/app/service/navigation.service.ts","../../src/app/components/navigation/navigation.component.ts","../../src/app/ione-catalog.module.ts","../../src/colijnit-catalog.ts"],"sourcesContent":["import {Injectable} from '@angular/core';\r\nimport {Subject} from 'rxjs';\r\nimport {Connector} from '@colijnit/ioneconnector';\r\nimport {Options} from '@colijnit/ioneconnector/build/model/options';\r\nimport {Article} from '@colijnit/ioneconnector/build/model/article';\r\nimport {GetArticlesForCatalogRequest} from '@colijnit/ioneconnector/build/model/get-articles-for-catalog';\r\nimport {PagingParameters} from '@colijnit/ioneconnector/build/model/paging-parameters';\r\nimport {Atmosphere} from '@colijnit/ioneconnector/build/model/atmosphere';\r\nimport {Catalog} from '@colijnit/ioneconnector/build/catalog';\r\nimport {Brand} from '@colijnit/ioneconnector/build/model/brand';\r\nimport {Material} from '@colijnit/ioneconnector/build/model/material';\r\nimport {Design} from '@colijnit/ioneconnector/build/model/design';\r\nimport {Color} from '@colijnit/ioneconnector/build/model/color';\r\nimport {Tag} from '@colijnit/ioneconnector/build/model/tag';\r\nimport {SuperArticleImage} from '@colijnit/ioneconnector/build/model/super-article-image';\r\nimport {TurnoverGroupImage} from '@colijnit/ioneconnector/build/model/turnover-group-image';\r\nimport {ArticleGroupImage} from '@colijnit/ioneconnector/build/model/article-group-image';\r\nimport {ArticleCategory} from '@colijnit/ioneconnector/build/model/article-category';\r\nimport {ArticlePrice} from '@colijnit/ioneconnector/build/model/article-price';\r\nimport {ArticleGroup} from '@colijnit/ioneconnector/build/model/article-group';\r\nimport {Concept} from '@colijnit/ioneconnector/build/model/concept';\r\nimport {ArticleExtendedDto} from '@colijnit/ioneconnector/build/model/article-extended-dto';\r\n\r\n// Sole responsibility is simply to wrap around a colijn.Connector to create a stable inner interface to the library in a 1:1 method way.\r\n// Only to be used by the IOneControllerService.\r\n@Injectable()\r\nexport class IOneConnectorAdapterService {\r\n\r\n public readonly showLoader: Subject<boolean> = new Subject<boolean>();\r\n\r\n public connector?: Connector;\r\n\r\n constructor() {\r\n }\r\n\r\n public initConnector(options: Options): void {\r\n this.connector = new Connector(options);\r\n options.session = this.connector.session;\r\n this.connector.showLoader.subscribe(value => this.showLoader.next(value));\r\n }\r\n\r\n public getArticlesForCatalog(\r\n params: GetArticlesForCatalogRequest,\r\n paging?: PagingParameters,\r\n showLoader = true\r\n ): Promise<ArticleExtendedDto[]> {\r\n return this.connector.getArticlesForCatalog(params, paging, showLoader);\r\n }\r\n\r\n public getArticleCategories(publicationCode: number): Promise<ArticleCategory[]> {\r\n return this.connector.getArticleCategories(publicationCode);\r\n }\r\n\r\n public getArticleGroupImages(): Promise<ArticleGroupImage[]> {\r\n return this.connector.getArticleGroupImages();\r\n }\r\n\r\n public getTurnoverGroupImages(category?: string): Promise<TurnoverGroupImage[]> {\r\n return this.connector.getTurnoverGroupImages(category);\r\n }\r\n\r\n public getSuperArticleImages(): Promise<SuperArticleImage[]> {\r\n return this.connector.getSuperArticleImages();\r\n }\r\n\r\n public getTags(): Promise<Tag[]> {\r\n return this.connector.getTags();\r\n }\r\n\r\n public getColors(): Promise<Color[]> {\r\n return this.connector.getColors();\r\n }\r\n\r\n public getDesigns(): Promise<Design[]> {\r\n return this.connector.getDesigns();\r\n }\r\n\r\n public getMaterials(): Promise<Material[]> {\r\n return this.connector.getMaterials();\r\n }\r\n\r\n public getBrands(): Promise<Brand[]> {\r\n return this.connector.getBrands();\r\n }\r\n\r\n public getCatalogs(): Promise<Catalog[]> {\r\n return this.connector.getCatalogs();\r\n }\r\n\r\n public getAtmospheres(): Promise<Atmosphere[]> {\r\n return this.connector.getAtmospheres();\r\n }\r\n\r\n public getArticleGroups(): Promise<ArticleGroup[]> {\r\n return this.connector.getArticleGroups();\r\n }\r\n\r\n public getConcepts(): Promise<Concept[]> {\r\n return this.connector.getConcepts();\r\n }\r\n\r\n public getSelectorArticleThumbnail(documentKey: string): Promise<string> {\r\n return this.connector.getSelectorArticleThumbnail(documentKey);\r\n }\r\n\r\n public getArticlePrice(goodId: number): Promise<ArticlePrice> {\r\n return this.connector.getArticlePrice(goodId);\r\n }\r\n\r\n public getJsonArticleFlatTree(goodId: number): Promise<void> {\r\n return this.connector.getJsonArticleFlatTree(goodId);\r\n }\r\n\r\n // @returns The initial article\r\n public getArticle(skuOrId: string): Promise<Article> {\r\n return this.connector.getArticle(skuOrId);\r\n }\r\n}\r\n","import {Injectable, OnDestroy} from '@angular/core';\r\nimport {BehaviorSubject, Subscription} from 'rxjs';\r\nimport {Options} from '@colijnit/ioneconnector/build/model/options';\r\nimport {GetArticlesForCatalogRequest} from '@colijnit/ioneconnector/build/model/get-articles-for-catalog';\r\nimport {PagingParameters} from '@colijnit/ioneconnector/build/model/paging-parameters';\r\nimport {Material} from '@colijnit/ioneconnector/build/model/material';\r\nimport {Atmosphere} from '@colijnit/ioneconnector/build/model/atmosphere';\r\nimport {Tag} from '@colijnit/ioneconnector/build/model/tag';\r\nimport {SuperArticleImage} from '@colijnit/ioneconnector/build/model/super-article-image';\r\nimport {Brand} from '@colijnit/ioneconnector/build/model/brand';\r\nimport {Catalog} from '@colijnit/ioneconnector/build/catalog';\r\nimport {ArticleCategory} from '@colijnit/ioneconnector/build/model/article-category';\r\nimport {Color} from '@colijnit/ioneconnector/build/model/color';\r\nimport {TurnoverGroupImage} from '@colijnit/ioneconnector/build/model/turnover-group-image';\r\nimport {Design} from '@colijnit/ioneconnector/build/model/design';\r\nimport {ArticleGroupImage} from '@colijnit/ioneconnector/build/model/article-group-image';\r\n\r\nimport {IOneConnectorAdapterService} from './i-one-connector-adapter.service';\r\nimport {ArticlePrice} from '@colijnit/ioneconnector/build/model/article-price';\r\nimport {ArticleGroup} from '@colijnit/ioneconnector/build/model/article-group';\r\nimport {Concept} from '@colijnit/ioneconnector/build/model/concept';\r\nimport {ArticleExtendedDto} from '@colijnit/ioneconnector/build/model/article-extended-dto';\r\n\r\n// Holds all iONE backend related state and methods for a running HomeDecorator. To be used anywhere internally.\r\n@Injectable()\r\nexport class IOneControllerService implements OnDestroy {\r\n\r\n public get shouldShowLoader(): boolean {\r\n return this._shouldShowLoader;\r\n }\r\n\r\n public controllerInitialized: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(false);\r\n\r\n public assetPath: string;\r\n\r\n private _shouldShowLoader: boolean;\r\n private _initializing = false;\r\n private _initialized = false;\r\n\r\n private readonly defaultDevTestOptions: Options = new Options();\r\n\r\n private readonly subs: Subscription[] = [];\r\n\r\n constructor(public connector: IOneConnectorAdapterService) {\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subs.forEach(sub => sub.unsubscribe());\r\n }\r\n\r\n public async initDefaultDevelopTestConnection(settings?: any, forceReload?: boolean): Promise<void> {\r\n if ((this._initialized || this._initializing) && !forceReload) {\r\n return;\r\n }\r\n this._initializing = true;\r\n try {\r\n // const connectorSettings: any = await this._getConnectorSettings(settings);\r\n this.defaultDevTestOptions.url = settings.url;\r\n this.defaultDevTestOptions.schema = settings.schema;\r\n this.defaultDevTestOptions.version = settings.version;\r\n this.defaultDevTestOptions.branch = settings.branch;\r\n this.defaultDevTestOptions.username = settings.username;\r\n this.defaultDevTestOptions.password = settings.password;\r\n this.defaultDevTestOptions.session = settings.session;\r\n this.defaultDevTestOptions.currencyId = settings.currency;\r\n this.defaultDevTestOptions.useGroups = settings.useGroups;\r\n this.defaultDevTestOptions.useRenders = settings.useRenders;\r\n this.defaultDevTestOptions.useLoginEncryption = settings.useEncryption;\r\n this.defaultDevTestOptions.languageCode = settings.languageCode;\r\n this.assetPath = settings.assetPath;\r\n\r\n this.subs.push(\r\n this.connector.showLoader.subscribe(showLoader => this.onShowLoaderChange(showLoader))\r\n );\r\n this.connector.initConnector(this.defaultDevTestOptions);\r\n this.controllerInitialized.next(true);\r\n this._initialized = true;\r\n this._initializing = false;\r\n } catch (e) {\r\n this._initializing = false;\r\n }\r\n }\r\n\r\n public getArticlesForCatalog(params: GetArticlesForCatalogRequest,\r\n paging?: PagingParameters,\r\n showLoader: boolean = true): Promise<ArticleExtendedDto[]> {\r\n return this.connector.getArticlesForCatalog(params, paging, showLoader);\r\n }\r\n\r\n public getArticleCategories(publicationCode: number): Promise<ArticleCategory[]> {\r\n return this.connector.getArticleCategories(publicationCode);\r\n }\r\n\r\n // will be called in future\r\n public getArticleGroupImages(): Promise<ArticleGroupImage[]> {\r\n return this.connector.getArticleGroupImages();\r\n }\r\n\r\n public getTurnoverGroupImages(category?: string): Promise<TurnoverGroupImage[]> {\r\n return this.connector.getTurnoverGroupImages(category);\r\n }\r\n\r\n // will be called in future\r\n public getSuperArticleImages(): Promise<SuperArticleImage[]> {\r\n return this.connector.getSuperArticleImages();\r\n }\r\n\r\n // will be called in future\r\n public getTags(): Promise<Tag[]> {\r\n return this.connector.getTags();\r\n }\r\n\r\n public getColors(): Promise<Color[]> {\r\n return this.connector.getColors();\r\n }\r\n\r\n public getDesigns(): Promise<Design[]> {\r\n return this.connector.getDesigns();\r\n }\r\n\r\n public getMaterials(): Promise<Material[]> {\r\n return this.connector.getMaterials();\r\n }\r\n\r\n public getBrands(): Promise<Brand[]> {\r\n return this.connector.getBrands();\r\n }\r\n\r\n public getCatalogs(): Promise<Catalog[]> {\r\n return this.connector.getCatalogs();\r\n }\r\n\r\n public getAtmospheres(): Promise<Atmosphere[]> {\r\n return this.connector.getAtmospheres();\r\n }\r\n\r\n public getArticleGroups(): Promise<ArticleGroup[]> {\r\n return this.connector.getArticleGroups();\r\n }\r\n\r\n public getConcepts(): Promise<Concept[]> {\r\n return this.connector.getConcepts();\r\n }\r\n\r\n public getSelectorArticleThumbnail(documentKey: string): Promise<string> {\r\n return this.connector.getSelectorArticleThumbnail(documentKey);\r\n }\r\n\r\n public getArticlePrice(goodId: number): Promise<ArticlePrice> {\r\n return this.connector.getArticlePrice(goodId);\r\n }\r\n\r\n public getJsonArticleFlatTree(goodId: number): Promise<any> {\r\n return this.connector.getJsonArticleFlatTree(goodId);\r\n }\r\n\r\n private async _getConnectorSettings(settings?: any): Promise<any> {\r\n const connectorSettings: any = {};\r\n if (settings) {\r\n connectorSettings.url = settings.hasOwnProperty('url') ? settings['url'] : '';\r\n connectorSettings.ajaxUrl = settings.hasOwnProperty('url') ? settings['url'] : '';\r\n connectorSettings.schema = settings.hasOwnProperty('schema') ? settings['schema'] : '';\r\n connectorSettings.version = settings.hasOwnProperty('version') ? settings['version'] : '';\r\n connectorSettings.branch = settings.hasOwnProperty('branch') ? settings['branch'] : '';\r\n connectorSettings.username = settings.hasOwnProperty('username') ? settings['username'] : '';\r\n connectorSettings.password = settings.hasOwnProperty('password') ? settings['password'] : '';\r\n connectorSettings.currency = settings.hasOwnProperty('currency') ? settings['currency'] : '';\r\n connectorSettings.useGroups = settings.hasOwnProperty('useGroups') ? settings['useGroups'] : true;\r\n connectorSettings.useRenders = settings.hasOwnProperty('useRenders') ? settings['useRenders'] : true;\r\n connectorSettings.useEncryption = settings.hasOwnProperty('useEncryption') ? settings['useEncryption'] : true;\r\n connectorSettings.assetPath = settings.hasOwnProperty('assetPath') ? settings['assetPath'] : '';\r\n connectorSettings.languageCode = settings['languageCode'];\r\n }\r\n return connectorSettings;\r\n }\r\n\r\n public onShowLoaderChange(showLoader: boolean): void {\r\n this._shouldShowLoader = showLoader;\r\n }\r\n}\r\n","import { Injectable, ChangeDetectorRef } from '@angular/core';\r\n\r\n@Injectable()\r\nexport class UtilsService {\r\n\r\n private MAX_DIMENSION = 1200;\r\n private resizeImage(image: HTMLImageElement): string {\r\n const ratio = Math.min(\r\n this.MAX_DIMENSION / image.width,\r\n this.MAX_DIMENSION / image.height\r\n );\r\n const canvas = document.createElement('canvas');\r\n canvas.width = Math.trunc(image.width * ratio);\r\n canvas.height = Math.trunc(image.height * ratio);\r\n\r\n const ctx = canvas.getContext('2d');\r\n ctx.drawImage(\r\n image,\r\n 0, 0, image.width, image.height,\r\n 0, 0, canvas.width, canvas.height\r\n );\r\n const newSrc = canvas.toDataURL('image/jpeg'); // or png\r\n return newSrc;\r\n }\r\n\r\n readAndResizePhotoAsDataURL(file: File): Promise<string> {\r\n const image = new Image();\r\n return new Promise(async (resolve, reject) => {\r\n image.onload = () => {\r\n const newSrc = this.resizeImage(image);\r\n resolve(newSrc);\r\n };\r\n image.onerror = error => reject(error);\r\n image.src = await this.readFileAsDataURL(file);\r\n });\r\n }\r\n\r\n readFileAsDataURL(file: File): Promise<string> {\r\n const fileReader = new FileReader();\r\n return new Promise((resolve, reject) => {\r\n fileReader.onload = (e: any) => resolve(e.target.result);\r\n fileReader.onerror = error => reject(error);\r\n fileReader.readAsDataURL(file);\r\n });\r\n }\r\n\r\n readFileAsText(file: File): Promise<string> {\r\n const fileReader = new FileReader();\r\n return new Promise((resolve, reject) => {\r\n fileReader.onload = (e: any) => resolve(e.target.result);\r\n fileReader.onerror = error => reject(error);\r\n fileReader.readAsText(file);\r\n });\r\n }\r\n\r\n loadImage(src: string, resize: boolean = true): Promise<HTMLImageElement> {\r\n const image = new Image();\r\n return new Promise((resolve, reject) => {\r\n image.onload = () => {\r\n if (resize) {\r\n const resizedImage = new Image();\r\n resizedImage.onload = () => resolve(resizedImage);\r\n resizedImage.onerror = error => reject(error);\r\n const resizedImageSrc = this.resizeImage(image);\r\n resizedImage.src = resizedImageSrc;\r\n } else {\r\n resolve(image);\r\n }\r\n };\r\n image.onerror = error => reject(error);\r\n image.src = src;\r\n });\r\n }\r\n\r\n /**\r\n * Returns a new function that is a throttled version of given function func. Enforces that there is a always minimum amount of time\r\n * between two subsequent calls of the function. Tail calls are always executed. In-between calls are lost and not executed.\r\n *\r\n * @param func The function to return as a throttled version\r\n * @param throttleMs Number of milliseconds for throttle: the minimum time between any two subsequent function calls of function\r\n * @param [thisArg] Optionally supply the this context of the caller\r\n * @returns The given function, with the above-mentioned time constraints\r\n */\r\n getAsThrottledFunction(func: any, throttleMs: number = 250, thisArg?: any): any {\r\n let lastCallTime: number;\r\n let deferTimer: number;\r\n\r\n return function (): any {\r\n const context: any = thisArg || this;\r\n const now: any = +new Date;\r\n const args: any = arguments;\r\n if (lastCallTime && now < lastCallTime + throttleMs) {\r\n clearTimeout(deferTimer);\r\n deferTimer = window.setTimeout(function (): any {\r\n lastCallTime = now;\r\n func.apply(context, args);\r\n }, throttleMs);\r\n } else {\r\n lastCallTime = now;\r\n func.apply(context, args);\r\n }\r\n };\r\n }\r\n\r\n async readJsonFile(filePath: string): Promise<any> {\r\n const response = await fetch(filePath);\r\n if (!response.ok) {\r\n throw new Error(response.statusText);\r\n }\r\n return response.json();\r\n }\r\n\r\n public forceChangeDetection(cd: ChangeDetectorRef, component: any, propName: string): void {\r\n const value = component[propName];\r\n component[propName] = null;\r\n cd.detectChanges();\r\n component[propName] = value;\r\n }\r\n}\r\n","export enum LanguageCode {\r\n Dutch = 'nl-NL',\r\n English = 'en-GB',\r\n German = 'de-DE',\r\n French = 'fr-FR',\r\n}\r\n","\r\n// Static utility functions holder related to strings.\r\nexport class StringUtils {\r\n\r\n public static ReplaceOccurrencesIn(source: string, placeholder: string, ...replacementTexts: string[]): string {\r\n // parameter guards\r\n if (!(source)) {\r\n return undefined;\r\n }\r\n if (!placeholder || replacementTexts.length === 0) {\r\n return source;\r\n }\r\n let outString: string = source;\r\n // one replacementText means replace for all\r\n if (replacementTexts.length === 1) {\r\n // \"g\" is the g flag to replace globally\r\n outString = outString.replace(new RegExp(this._escapeRegExp(placeholder), 'g'), replacementTexts[0]);\r\n } else {\r\n // replace occurence i by replacementTexts[i], one at a time in loop (there might be a faster way..)\r\n for (let i = 0, len: number = replacementTexts.length; i < len; i++) {\r\n outString = outString.replace(placeholder, replacementTexts[i]);\r\n }\r\n }\r\n return outString;\r\n }\r\n\r\n public static IsString(str: any): boolean {\r\n return typeof str === 'string';\r\n }\r\n\r\n // Returns whether given str is a string and has a length > 0.\r\n public static IsStringWithLength(str: string): boolean {\r\n return str && StringUtils.IsString(str) && str.length > 0;\r\n }\r\n\r\n // Returns given string, escaped for use as string literal in regular expressions.\r\n private static _escapeRegExp(str: string): string {\r\n return str; // .replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^$\\|]/g, '\\\\$&');\r\n }\r\n\r\n}\r\n","import {Injectable} from \"@angular/core\";\r\n\r\n@Injectable()\r\nexport class JsonUtilsService {\r\n\r\n public async readJsonFile(filePath: string): Promise<any> {\r\n try {\r\n const response = await fetch(filePath);\r\n if (!response.ok) {\r\n console.error('Error getting translation:', response.statusText);\r\n return '';\r\n } else {\r\n return response.json();\r\n }\r\n } catch (e) {\r\n console.error('Error getting translation:', e.message);\r\n return '';\r\n }\r\n }\r\n}\r\n","import {Injectable} from \"@angular/core\";\r\nimport {LanguageCode} from \"../enum/language-code.enum\";\r\nimport {StringUtils} from \"../utils/string-utils\";\r\nimport {JsonUtilsService} from \"../utils/json-utils.service\";\r\nimport {Subject} from \"rxjs\";\r\n\r\n// The localization service, providing peers with text translation functionality.\r\n@Injectable()\r\nexport class DictionaryService {\r\n private readonly dictionaryUrl: string = 'js/browser/res/dictionary/';\r\n\r\n public get language(): string {\r\n return this._language;\r\n }\r\n\r\n public set rootUrl(value: string) {\r\n this._rootUrl = value;\r\n this._dictBasePath = this._rootUrl + '/' + this.dictionaryUrl;\r\n }\r\n\r\n public dictionaryLoaded: Subject<void> = new Subject();\r\n\r\n private _dictBasePath: string;\r\n private _rootUrl: string;\r\n private _dictionaryPromise: Map<string, Promise<{ [key: string]: string }>> =\r\n new Map<string, Promise<{ [key: string]: string }>>();\r\n private _dictionaries: Map<string, { [key: string]: string }> = new Map<string, { [key: string]: string }>();\r\n private _language: string;\r\n\r\n // Some dictionary values have one or more '|~' texts in them, meant to be replaced with client-side given texts.\r\n private readonly _placeholder: string = '|~';\r\n\r\n constructor(\r\n private _jsonUtils: JsonUtilsService\r\n ) {\r\n }\r\n\r\n public getLanguageCode(lc: string): string {\r\n for (const key in LanguageCode) {\r\n if (LanguageCode[key] === lc) {\r\n return lc;\r\n }\r\n }\r\n return LanguageCode.Dutch;\r\n }\r\n\r\n // Loads the dictionary for given language in memory.\r\n public async setDictionary(language: string, additionalTranslationFile?: string): Promise<void> {\r\n this._language = language;\r\n if (!this._dictionaryPromise.has(language)) {\r\n this._dictionaryPromise.set(language,\r\n this._jsonUtils.readJsonFile(\r\n additionalTranslationFile ?\r\n additionalTranslationFile :\r\n this._dictBasePath + 'text_' + language.substr(0, 2).toLowerCase() + '.properties.json')\r\n .then((data: { [key: string]: string }) => {\r\n this._dictionaries.set(language, data);\r\n this.dictionaryLoaded.next();\r\n return data;\r\n })\r\n );\r\n } else {\r\n this.dictionaryLoaded.next();\r\n }\r\n await this._dictionaryPromise.get(language);\r\n }\r\n\r\n /**\r\n * Returns the localized text for the given dictionary key.\r\n * @param {string} key\r\n * @param {boolean} [upperCaseFirst = true] False for first letter lowercase, true for first letter uppercase for returned dict val\r\n * @param {string[]} replacementTexts Rest params for replacement of '|~' in returned dict value\r\n * @returns {string} The translated text for given dictionary key\r\n */\r\n public get(key: string, upperCaseFirst: boolean = true, ...replacementTexts: string[]): string {\r\n if (!StringUtils.IsStringWithLength(key)) {\r\n return key || '';\r\n } else if (!this._dictionaryLoaded(this._language)) {\r\n return key;\r\n }\r\n\r\n let text: string = this._dictionaries.get(this._language)[key];\r\n text = StringUtils.IsStringWithLength(text) ? text : key;\r\n\r\n if (upperCaseFirst) {\r\n text = text.charAt(0).toUpperCase() + text.slice(1);\r\n } else {\r\n text = text.charAt(0).toLowerCase() + text.slice(1);\r\n }\r\n\r\n if (replacementTexts.length > 0) {\r\n text = StringUtils.ReplaceOccurrencesIn(text, this._placeholder, ...replacementTexts);\r\n }\r\n\r\n return text;\r\n }\r\n\r\n private _dictionaryLoaded(language: string): boolean {\r\n return this._dictionaries.has(language);\r\n }\r\n}\r\n","export class SettingsOptions {\r\n public showAddToCart: boolean = true;\r\n public initialCategory: string;\r\n public showPriceFilter: boolean = true;\r\n public showLookAtArticleButton: boolean = true;\r\n public showStockIndication: boolean = false;\r\n public lookAtArticleButtonText: string = 'LOOKAT';\r\n public showAddArticleButton: boolean = true;\r\n public showARButton: boolean = false;\r\n public addArticleButtonText: string = 'ADD';\r\n public collapseFilterByDefault: boolean = false;\r\n public sortTurnoverGroupsByAlphabet: boolean = true;\r\n}\r\n","import {SettingsOptions} from './settings-options';\r\n\r\nexport class Settings {\r\n\r\n public url: string;\r\n public schema: string;\r\n public version: string;\r\n public branch: string;\r\n public currency: number;\r\n public username: string;\r\n public password: string;\r\n public session: any = undefined;\r\n public useEncryption: boolean = true;\r\n public additionalTranslationFile: string;\r\n public timeoutInMs: number;\r\n public languageCode: string;\r\n public catalogParameters: any;\r\n public options: SettingsOptions = new SettingsOptions();\r\n}\r\n","import {Injectable} from '@angular/core';\r\nimport {BehaviorSubject} from 'rxjs';\r\nimport {Settings} from '../model/settings';\r\nimport {DictionaryService} from './dictionary.service';\r\n\r\n@Injectable()\r\nexport class SettingsService {\r\n\r\n public set settings(value: Settings) {\r\n this._settings = value;\r\n }\r\n\r\n public get settings(): Settings {\r\n return this._settings;\r\n }\r\n\r\n public settingsLoaded: BehaviorSubject<boolean> = new BehaviorSubject(false);\r\n\r\n private _settings: Settings = new Settings();\r\n\r\n constructor(private _dictionaryService: DictionaryService) {}\r\n\r\n public async createSettingsFromObject(obj: any): Promise<void> {\r\n this.settings = new Settings();\r\n if (obj.hasOwnProperty('url')) {\r\n this.settings.url = obj['url'];\r\n }\r\n if (obj.hasOwnProperty('schema')) {\r\n this.settings.schema = obj['schema'];\r\n }\r\n if (obj.hasOwnProperty('version')) {\r\n this.settings.version = obj['version'];\r\n }\r\n if (obj.hasOwnProperty('branch')) {\r\n this.settings.branch = obj['branch'];\r\n }\r\n if (obj.hasOwnProperty('currency')) {\r\n this.settings.currency = obj['currency'];\r\n }\r\n if (obj.hasOwnProperty('languageCode')) {\r\n this.settings.languageCode = obj['languageCode'];\r\n }\r\n if (obj.hasOwnProperty('username')) {\r\n this.settings.username = obj['username'];\r\n }\r\n if (obj.hasOwnProperty('password')) {\r\n this.settings.password = obj['password'];\r\n }\r\n if (obj.hasOwnProperty('timeoutInMs')) {\r\n this.settings.timeoutInMs = obj['timeoutInMs'];\r\n }\r\n if (obj.hasOwnProperty('session')) {\r\n this.settings.session = obj['session'];\r\n }\r\n if (obj.hasOwnProperty('useEncryption')) {\r\n this.settings.useEncryption = obj['useEncryption'];\r\n }\r\n if (obj.hasOwnProperty('additionalTranslationFile')) {\r\n this.settings.additionalTranslationFile = obj['additionalTranslationFile'];\r\n }\r\n if (obj.hasOwnProperty('options')) {\r\n Object.assign(this.settings.options, obj['options']);\r\n }\r\n if (obj.hasOwnProperty('catalogParameters')) {\r\n this.settings.catalogParameters = obj['catalogParameters'];\r\n }\r\n this._dictionaryService.rootUrl = this.settings.url.replace('/ajaxservice', '');\r\n if (!this.settings.additionalTranslationFile) {\r\n const languageCode: string = this._dictionaryService.getLanguageCode(this.settings.languageCode);\r\n await this._dictionaryService.setDictionary(languageCode);\r\n }\r\n this.settingsLoaded.next(true);\r\n }\r\n}\r\n\r\n","import {Injectable, OnDestroy} from '@angular/core';\r\nimport {GetArticlesForCatalogRequest} from '@colijnit/ioneconnector/build/model/get-articles-for-catalog';\r\nimport {BehaviorSubject, Subscription} from 'rxjs';\r\nimport {DictionaryService} from './dictionary.service';\r\nimport {SettingsService} from './settings.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OptionsService implements OnDestroy {\r\n\r\n public parametersSet: BehaviorSubject<boolean> = new BehaviorSubject(false);\r\n\r\n public brandFilter: number[] = [];\r\n\r\n private _parameters: GetArticlesForCatalogRequest = {};\r\n private _subs: Subscription[] = [];\r\n\r\n constructor(\r\n private _dictionary: DictionaryService,\r\n private _settingsService: SettingsService\r\n ) {\r\n this._subs.push(\r\n this._dictionary.dictionaryLoaded.subscribe(() => {\r\n if (!this._settingsService.settings.options.lookAtArticleButtonText) {\r\n this._settingsService.settings.options.lookAtArticleButtonText =\r\n this._dictionary.get(this._settingsService.settings.options.lookAtArticleButtonText);\r\n }\r\n if (!this._settingsService.settings.options.addArticleButtonText) {\r\n this._settingsService.settings.options.addArticleButtonText =\r\n this._dictionary.get(this._settingsService.settings.options.addArticleButtonText);\r\n }\r\n }),\r\n this._settingsService.settingsLoaded.subscribe((loaded: boolean) => {\r\n if (loaded) {\r\n if (this._settingsService.settings.catalogParameters) {\r\n this.parameters = this._settingsService.settings.catalogParameters;\r\n }\r\n }\r\n })\r\n );\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._subs.forEach(s => s.unsubscribe());\r\n }\r\n\r\n public get showBrandFilter(): boolean {\r\n return !this.parameters.brand;\r\n }\r\n\r\n public get collapseFilterByDefault(): boolean {\r\n return this._settingsService.settings.options.collapseFilterByDefault;\r\n }\r\n\r\n public get showPriceFilter(): boolean {\r\n return this._settingsService.settings.options.showPriceFilter;\r\n }\r\n\r\n public get showAddArticleButton(): boolean {\r\n return this._settingsService.settings.options.showAddArticleButton;\r\n }\r\n\r\n public get showStockIndication(): boolean {\r\n return this._settingsService.settings.options.showStockIndication;\r\n }\r\n\r\n public get showLookAtArticleButton(): boolean {\r\n return this._settingsService.settings.options.showLookAtArticleButton;\r\n }\r\n\r\n public get showARButton(): boolean {\r\n return this._settingsService.settings.options.showARButton;\r\n }\r\n\r\n public get addArticleButtonText(): string {\r\n return this._settingsService.settings.options.addArticleButtonText;\r\n }\r\n\r\n public get lookAtArticleButtonText(): string {\r\n return this._settingsService.settings.options.lookAtArticleButtonText;\r\n }\r\n\r\n public get sortTurnoverGroupsByAlphabet(): boolean {\r\n return this._settingsService.settings.options.sortTurnoverGroupsByAlphabet;\r\n }\r\n\r\n public set parameters(value: GetArticlesForCatalogRequest) {\r\n this._parameters = value;\r\n if (this._parameters.rangeBrand) { // workaround until it works in 250\r\n const filter: string[] = this._parameters.rangeBrand.split(',');\r\n filter.forEach(f => this.brandFilter.push(parseInt(f, 2)));\r\n this._parameters.rangeBrand = undefined;\r\n }\r\n this.parametersSet.next(true);\r\n }\r\n\r\n public get parameters(): GetArticlesForCatalogRequest {\r\n return this._parameters;\r\n }\r\n}\r\n","import {Injectable, OnDestroy} from '@angular/core';\r\n\r\nimport {PagingParameters} from '@colijnit/ioneconnector/build/model/paging-parameters';\r\nimport {GetArticlesForCatalogRequest} from '@colijnit/ioneconnector/build/model/get-articles-for-catalog';\r\n\r\nimport {IOneControllerService} from './i-one-controller.service';\r\nimport {Brand} from '@colijnit/ioneconnector/build/model/brand';\r\nimport {Color} from '@colijnit/ioneconnector/build/model/color';\r\nimport {UtilsService} from '../utils/utils.service';\r\nimport {Material} from '@colijnit/ioneconnector/build/model/material';\r\nimport {Design} from '@colijnit/ioneconnector/build/model/design';\r\nimport {FilterItem} from '../interface/filter-item';\r\nimport {OptionsService} from './options.service';\r\nimport {Subject, Subscription} from 'rxjs';\r\nimport {ArticleGroup} from '@colijnit/ioneconnector/build/model/article-group';\r\nimport {Atmosphere} from '@colijnit/ioneconnector/build/model/atmosphere';\r\nimport {Concept} from '@colijnit/ioneconnector/build/model/concept';\r\nimport {OrderByInterface} from '../interface/order-by.interface';\r\nimport {ArticleExtendedDto} from '@colijnit/ioneconnector/build/model/article-extended-dto';\r\nimport {TurnoverGroupImage} from '@colijnit/ioneconnector/build/model/turnover-group-image';\r\nimport {ArticleCategory} from '@colijnit/ioneconnector/build/model/article-category';\r\n\r\nexport class ColorFilter extends Color implements FilterItem {\r\n public active = false;\r\n public count = 0;\r\n public activeColor;\r\n public inActiveColor;\r\n public checkMarkColor;\r\n public get descriptionWithCount(): string {\r\n return this.description + ' (' + this.count + ')';\r\n }\r\n}\r\n\r\nexport class MaterialFilter extends Material implements FilterItem {\r\n public active = false;\r\n public count = 0;\r\n public get descriptionWithCount(): string {\r\n return this.description + ' (' + this.count + ')';\r\n }\r\n}\r\n\r\nexport class BrandFilter extends Brand implements FilterItem {\r\n public active = false;\r\n public count = 0;\r\n public get descriptionWithCount(): string {\r\n return this.brandName + ' (' + this.count + ')';\r\n }\r\n}\r\n\r\nexport class DesignFilter extends Design implements FilterItem {\r\n public active = false;\r\n public count = 0;\r\n public get descriptionWithCount(): string {\r\n return this.description + ' (' + this.count + ')';\r\n }\r\n}\r\n\r\nexport class ArticleGroupFilter extends ArticleGroup implements FilterItem {\r\n public active = false;\r\n public count = 0;\r\n public get descriptionWithCount(): string {\r\n return this.description + ' (' + this.count + ')';\r\n }\r\n}\r\n\r\nexport class AtmosphereFilter extends Atmosphere implements FilterItem {\r\n public active = false;\r\n public count = 0;\r\n public get descriptionWithCount(): string {\r\n return this.description + ' (' + this.count + ')';\r\n }\r\n}\r\n\r\nexport class ConceptFilter extends Concept implements FilterItem {\r\n public active = false;\r\n public count = 0;\r\n public get descriptionWithCount(): string {\r\n return this.description + ' (' + this.count + ')';\r\n }\r\n}\r\n\r\n@Injectable()\r\nexport class ProductCatalogControllerService implements OnDestroy {\r\n public set filterText(value: string[]) {\r\n this._setRequestParametersAndProps(null, null, value);\r\n this.searchTextChanged.next(this.filterText);\r\n this.searchArticles();\r\n }\r\n\r\n public get filterText(): string[] {\r\n return this._filterText;\r\n }\r\n\r\n public set turnoverGroup(value: string) {\r\n this._setRequestParametersAndProps(null, value, null);\r\n this.turnoverGroupChanged.next(this.turnoverGroup);\r\n this.searchArticles();\r\n }\r\n\r\n public get turnoverGroup(): string {\r\n return this._turnoverGroup;\r\n }\r\n\r\n public set category(value: string) {\r\n this._setRequestParametersAndProps(value, null, null);\r\n this.categoryChanged.next(this.category);\r\n this.searchArticles();\r\n }\r\n\r\n public get category(): string {\r\n return this._category;\r\n }\r\n\r\n public articleSearchFilters: GetArticlesForCatalogRequest = {};\r\n public articlesOnShowcase: ArticleExtendedDto[] = [];\r\n\r\n public showcaseTitle = 'CATALOG';\r\n public articlesPerPage = 20;\r\n\r\n public get showcasePage(): number {\r\n return this._showcasePage;\r\n }\r\n\r\n public set showcasePage(value: number) {\r\n this._showcasePage = value;\r\n this.showPageChanged.next(this._showcasePage);\r\n }\r\n\r\n private _showcasePage = 1;\r\n\r\n public get catalogShown(): boolean {\r\n return this._catalogShown;\r\n }\r\n\r\n public set catalogShown(value: boolean) {\r\n this._catalogShown = value;\r\n }\r\n\r\n public priceMinFilter = 0;\r\n\r\n public priceMaxFilter = 0;\r\n public priceFromFilter: number;\r\n public priceToFilter: number;\r\n public colors: ColorFilter[] = [];\r\n public materials: MaterialFilter[] = [];\r\n public brands: BrandFilter[] = [];\r\n public designs: DesignFilter[] = [];\r\n public articleGroupsFilter: ArticleGroupFilter[] = [];\r\n public atmospheresFilter: AtmosphereFilter[] = [];\r\n public conceptsFilter: ConceptFilter[] = [];\r\n public filteredArticlesOnShowcase: ArticleExtendedDto[] = [];\r\n public get itemsFiltered(): boolean {\r\n return this.filteredArticlesOnShowcase.length !== this.articlesOnShowcase.length;\r\n }\r\n public categoryChanged: Subject<string> = new Subject<string>();\r\n\r\n public turnoverGroupChanged: Subject<string> = new Subject<string>();\r\n public searchTextChanged: Subject<string[]> = new Subject<string[]>();\r\n public showPageChanged: Subject<number> = new Subject<number>();\r\n public onResetFilters: Subject<void> = new Subject<void>();\r\n public onPrepareFilters: Subject<void> = new Subject<void>();\r\n\r\n private _filterText: string[] = [];\r\n private _category: string;\r\n private _turnoverGroup: string;\r\n private _filterTimeout: any;\r\n private _searchTimer: any;\r\n private doArticleSearchThrottledFunc: (params: GetArticlesForCatalogRequest) => Promise<void>;\r\n private readonly minMillisBetweenArticleSearches: number = 400;\r\n private _catalogShown: boolean;\r\n private _controllerInitialized = false;\r\n private _allBrands: Brand[] = [];\r\n private _allDesigns: Design[] = [];\r\n private _allArticleGroups: ArticleGroup[] = [];\r\n private _allAtmospheres: Atmosphere[] = [];\r\n private _allConcepts: Concept[] = [];\r\n private _subs: Subscription[] = [];\r\n private defaultOptions: GetArticlesForCatalogRequest;\r\n\r\n private _currentOrderBy = 1;\r\n\r\n constructor(\r\n private iOne: IOneControllerService,\r\n private utils: UtilsService,\r\n private optionsService: OptionsService\r\n ) {\r\n this._subs.push(\r\n this.iOne.controllerInitialized.subscribe(async (initialized: boolean) => {\r\n if (initialized) {\r\n this._controllerInitialized = true;\r\n await this.ensureDataListsLoaded();\r\n this.searchArticles();\r\n }\r\n }),\r\n this.optionsService.parametersSet.subscribe((set: boolean) => {\r\n if (set) {\r\n this.defaultOptions = this.optionsService.parameters;\r\n this._createDefaultRequest();\r\n }\r\n })\r\n );\r\n\r\n\r\n this.doArticleSearchThrottledFunc = this.utils.getAsThrottledFunction(() => {\r\n return this.doSearchArticles();\r\n }, this.minMillisBetweenArticleSearches, this);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this._subs.forEach(s => s.unsubscribe());\r\n }\r\n\r\n public changeOrderBy(orderBy: OrderByInterface): void {\r\n this._currentOrderBy = orderBy.id;\r\n this._sortArticleList();\r\n }\r\n\r\n public async searchArticles(): Promise<void> {\r\n if (!this._controllerInitialized) {\r\n return;\r\n }\r\n clearTimeout(this._searchTimer);\r\n this._searchTimer = setTimeout(() => {\r\n this.searchTextChanged.next(this._filterText);\r\n this.doArticleSearchThrottledFunc.call(this);\r\n }, 400);\r\n }\r\n\r\n public resetFilters(): void {\r\n this._createDefaultRequest();\r\n this.category = null;\r\n this.turnoverGroup = null;\r\n if (this.filterText !== null) {\r\n this.filterText = this.filterText.slice();\r\n }\r\n this.onResetFilters.next();\r\n }\r\n\r\n public getBrandDescription(id: number): string {\r\n let name = '';\r\n const brand: Brand = this._allBrands.find(b => b.brandId === id);\r\n if (brand) {\r\n name = brand.brandName;\r\n }\r\n return name;\r\n }\r\n\r\n // POST: all plain 'data lists' that are used in the product catalog plugin are loaded from db (mainly for the filters sidebar).\r\n public async ensureDataListsLoaded(): Promise<void> {\r\n await Promise.all([\r\n this.iOne.getBrands().then(brands => this._allBrands = brands),\r\n this.iOne.getDesigns().then(designs => this._allDesigns = designs),\r\n this.iOne.getArticleGroups().then(groups => this._allArticleGroups = groups),\r\n this.iOne.getAtmospheres().then(atmospheres => this._allAtmospheres = atmospheres),\r\n this.iOne.getConcepts().then(concepts => this._allConcepts = concepts),\r\n ]);\r\n }\r\n\r\n // public async setCategory(category: string): Promise<void> {\r\n // this._createDefaultRequest();\r\n // this.articleSearchFilters = {...this.articleSearchFilters, category: category};\r\n // await this.doSearchArticles();\r\n // this.categoryChanged.next(category);\r\n // }\r\n //\r\n // public async setTurnoverGroup(turnoverGroup: string): Promise<void> {\r\n // this._turnoverGroup = turnoverGroup;\r\n // this._filterText = [];\r\n // await this.doSearchArticles();\r\n // this.turnoverGroupChanged.next(turnoverGroup);\r\n // }\r\n\r\n // POST: this.articlesOnShowcase contains all articles for given search parameters.\r\n public async doSearchArticles(): Promise<void> {\r\n this.iOne.getArticlesForCatalog(\r\n this.articleSearchFilters, new PagingParameters(1, 20), false\r\n ).then((articles) => {\r\n this.articlesOnShowcase = articles;\r\n this.filteredArticlesOnShowcase = this.articlesOnShowcase.slice(0);\r\n })\r\n this.iOne.getArticlesForCatalog(\r\n this.articleSearchFilters, new PagingParameters(21, 1000), false\r\n ).then((articles) => {\r\n this.articlesOnShowcase.push(...articles);\r\n this.removeAndReplaceAllFilters();\r\n this.filteredArticlesOnShowcase = this.articlesOnShowcase.slice(0);\r\n this._sortArticleList();\r\n this._prepareFilters();\r\n })\r\n }\r\n\r\n public removeAndReplaceAllFilters(): void {\r\n if (this._hasActiveFilter(this.colors)) {\r\n this.colors.length = 0;\r\n }\r\n if (this._hasActiveFilter(this.materials)) {\r\n this.materials.length = 0;\r\n }\r\n if (this._hasActiveFilter(this.brands)) {\r\n this.brands.length = 0;\r\n }\r\n if (this._hasActiveFilter(this.designs)) {\r\n this.designs.length = 0;\r\n }\r\n if (this._hasActiveFilter(this.articleGroupsFilter)) {\r\n this.articleGroupsFilter.length = 0;\r\n }\r\n if (this._hasActiveFilter(this.atmospheresFilter)) {\r\n this.atmospheresFilter.length = 0;\r\n }\r\n if (this._hasActiveFilter(this.conceptsFilter)) {\r\n this.conceptsFilter.length = 0;\r\n }\r\n }\r\n\r\n public filterOnPrice(): void {\r\n clearTimeout(this._filterTimeout);\r\n this._filterTimeout = setTimeout(() => {\r\n this.filterArticles();\r\n }, 200);\r\n }\r\n\r\n public async filterArticles(): Promise<void> {\r\n this.filteredArticlesOnShowcase = this.articlesOnShowcase.filter((a: ArticleExtendedDto) => {\r\n let valid = true;\r\n if (this._hasActiveFilter(this.colors)) {\r\n valid = valid &&\r\n a.colours && a.colours.some(c => this.colors.find(clr => clr.colorCode === c.colorCode && clr.active) !== undefined);\r\n }\r\n if (this._hasActiveFilter(this.materials)) {\r\n valid = valid && this.materials.find(m => m.materialId === a.material && m.active) !== undefined;\r\n }\r\n if (this._hasActiveFilter(this.brands)) {\r\n valid = valid && this.brands.find(b => b.brandId + '' === a.brandId + '' && b.active) !== undefined;\r\n }\r\n if (this._hasActiveFilter(this.designs)) {\r\n valid = valid && this.designs.find(d => d.design === a.design && d.active) !== undefined;\r\n }\r\n if (this._hasActiveFilter(this.articleGroupsFilter)) {\r\n valid = valid && this.articleGroupsFilter.find(g => g.groupCode === a.groupCode && g.active) !== undefined;\r\n }\r\n if (this._hasActiveFilter(this.atmospheresFilter)) {\r\n valid = valid && this.atmospheresFilter.find(s => s.code === a.sphereCode && s.active) !== undefined;\r\n }\r\n if (this._hasActiveFilter(this.conceptsFilter)) {\r\n valid = valid && this.conceptsFilter.find(s => s.conceptCode === a.conceptCode && s.active) !== undefined;\r\n }\r\n valid = valid && a.price >= this.priceFromFilter && a.price <= this.priceToFilter;\r\n return valid;\r\n });\r\n this._prepareFilters();\r\n }\r\n\r\n public hasFilterItems(filter: FilterItem[]): boolean {\r\n return filter && filter.find(f => f.count > 0) !== undefined;\r\n }\r\n\r\n public hasCheckedFilterItems(filter: FilterItem[]): boolean {\r\n let check = false;\r\n if (filter.length > 0) {\r\n filter.forEach((x: any) => {\r\n if (x.active === true) {\r\n check = true;\r\n }\r\n });\r\n }\r\n return check;\r\n }\r\n\r\n public sortTurnoverGroups(categories: ArticleCategory[]): void {\r\n if (this.optionsService.sortTurnoverGroupsByAlphabet) {\r\n categories.forEach((articleCategory: ArticleCategory) => {\r\n articleCategory.turnoverGroups.sort((a: TurnoverGroupImage, b: TurnoverGroupImage) => {\r\n return <any>(/[A-Za-z]/.test(a.description)) - <any>(/[A-Za-z]/.test(b.description)) ||\r\n (a.description.toUpperCase() < b.description.toUpperCase() ? -1 :\r\n a.description.toUpperCase() > b.description.toUpperCase() ? 1 : 0);\r\n });\r\n });\r\n } else {\r\n categories.forEach((articleCategory: ArticleCategory) => {\r\n articleCategory.turnoverGroups.sort((a: TurnoverGroupImage, b: TurnoverGroupImage) => {\r\n return +a.turnovergroupNr < +b.turnovergroupNr ? -1 : +a.turnovergroupNr > +b.turnovergroupNr ? 1 : 0;\r\n });\r\n });\r\n }\r\n }\r\n\r\n private _sortArticleList(): void {\r\n switch (this._currentOrderBy) {\r\n case 1:\r\n this._sortArticleListByArticleNr();\r\n break;\r\n case 2:\r\n this._sortArticleListByArticleName();\r\n break;\r\n }\r\n }\r\n\r\n private _sortArticleListByArticleNr(): void {\r\n const newList = this.filteredArticlesOnShowcase.sort((a, b) => a.articleNumber > b.articleNumber ? 1 : -1);\r\n this.filteredArticlesOnShowcase = newList.slice();\r\n }\r\n\r\n private _sortArticleListByArticleName(): void {\r\n const newList = this.filteredArticlesOnShowcase.sort((a, b) => {\r\n const first: string = a.name ? a.name : a.description;\r\n const second: string = b.name ? b.name : b.description;\r\n return first > second ? 1 : -1\r\n });\r\n this.filteredArticlesOnShowcase = newList.slice();\r\n }\r\n\r\n private _createDefaultRequest(): void {\r\n this.articleSearchFilters = Object.assign({}, this.defaultOptions);\r\n }\r\n\r\n private _setRequestParametersAndProps(category: string, turnoverGroup: string, searchText: string[]): void {\r\n this.articleSearchFilters.category = category;\r\n this.articleSearchFilters.turnoverGroup = turnoverGroup;\r\n this.articleSearchFilters.general = searchText ? searchText.join(' ') : null;\r\n this._category = category;\r\n this._turnoverGroup = turnoverGroup;\r\n this._filterText = searchText;\r\n }\r\n\r\n private _prepareFilters(): void {\r\n this._resetFilters();\r\n let minPrice = 0;\r\n let maxPrice = 0;\r\n if (this.optionsService.brandFilter && this.optionsService.brandFilter.length > 0) {\r\n this.filteredArticlesOnShowcase =\r\n this.filteredArticlesOnShowcase.filter(\r\n a => this.optionsService.brandFilter.find(bf => bf === a.brandId) !== undefined);\r\n }\r\n for (let i = 0; i < this.filteredArticlesOnShowcase.length; i++) {\r\n const article: ArticleExtendedDto = this.filteredArticlesOnShowcase[i];\r\n const articlePrice = article.price ? article.price : 0;\r\n // this.priceMinFilter =\r\n // this.priceMinFilter ? (articlePrice < this.priceMinFilter ? articlePrice : this.priceMinFilter) : articlePrice;\r\n // this.priceMaxFilter =\r\n // this.priceMaxFilter ? (articlePrice > this.priceMaxFilter ? articlePrice : this.priceMaxFilter) : articlePrice;\r\n\r\n minPrice = Math.min(minPrice, articlePrice);\r\n maxPrice = Math.max(maxPrice, articlePrice);\r\n if (article.colours && article.colours.length > 0) {\r\n article.colours.forEach((c: Color) => {\r\n this._addColorToFilter(c);\r\n });\r\n }\r\n if (article.material) {\r\n const material: Material = new Material();\r\n material.materialId = article.material;\r\n material.description = article.material;\r\n this._addMaterialToFilter(material);\r\n }\r\n if (article.brandId) {\r\n const brand: Brand = new Brand();\r\n brand.brandId = article.brandId;\r\n brand.brandName = this.getBrandDescription(brand.brandId);\r\n this._addBrandToFilter(brand);\r\n }\r\n if (article.design) {\r\n const lookupDesign = this._allDesigns.find(d => d.design === article.design);\r\n if (lookupDesign) {\r\n const design: Design = new Design();\r\n design.design = article.design;\r\n design.description = lookupDesign.description;\r\n this._addDesignToFilter(design);\r\n }\r\n }\r\n if (article.groupCode) {\r\n const lookupGroup = this._allArticleGroups.find(g => g.groupCode === article.groupCode);\r\n if (lookupGroup) {\r\n const articleGroup = new ArticleGroup();\r\n articleGroup.groupCode = lookupGroup.groupCode;\r\n articleGroup.description = lookupGroup.description;\r\n this._addArticleGroupToFilter(articleGroup);\r\n }\r\n }\r\n if (article.sphereCode) {\r\n const lookupSphere = this._allAtmospheres.find(s => s.code === article.sphereCode);\r\n if (lookupSphere) {\r\n const sphere = new Atmosphere();\r\n sphere.code = lookupSphere.code;\r\n sphere.description = lookupSphere.description;\r\n this._addAtmosphereToFilter(sphere);\r\n }\r\n }\r\n if (article.conceptCode) {\r\n const lookupConcept = this._allConcepts.find(c => c.conceptCode === article.conceptCode);\r\n if (lookupConcept) {\r\n const concept = new Concept();\r\n concept.conceptCode = lookupConcept.conceptCode;\r\n concept.description = lookupConcept.description;\r\n this._addConceptToFilter(concept);\r\n }\r\n }\r\n }\r\n this.priceMinFilter = this.priceMinFilter === 0 ? minPrice : this.priceMinFilter;\r\n this.priceMaxFilter = this.priceMaxFilter === 0 ? maxPrice : this.priceMaxFilter;\r\n if (!this.priceFromFilter || this.priceFromFilter < this.priceMinFilter || this.priceFromFilter > this.priceMaxFilter) {\r\n this.priceFromFilter = this.priceMinFilter;\r\n }\r\n\r\n if (!this.priceToFilter || this.priceToFilter > this.priceMaxFilter || this.priceToFilter < this.priceMinFilter) {\r\n this.priceToFilter = this.priceMaxFilter;\r\n }\r\n\r\n this.onPrepareFilters.next();\r\n }\r\n\r\n private _resetFilters(): void {\r\n // this.priceMinFilter = 0;\r\n // this.priceMaxFilter = 0;\r\n\r\n if (!this._hasActiveFilter(this.colors)) {\r\n this.colors.forEach(c => c.count = 0);\r\n }\r\n if (!this._hasActiveFilter(this.materials)) {\r\n this.materials.forEach(m => m.count = 0);\r\n }\r\n if (!this._hasActiveFilter(this.brands)) {\r\n this.brands.forEach(b => b.count = 0);\r\n }\r\n if (!this._hasActiveFilter(this.designs)) {\r\n this.designs.forEach(d => d.count = 0);\r\n }\r\n if (!this._hasActiveFilter(this.articleGroupsFilter)) {\r\n this.articleGroupsFilter.forEach(d => d.count = 0);\r\n }\r\n if (!this._hasActiveFilter(this.atmospheresFilter)) {\r\n this.atmospheresFilter.forEach(d => d.count = 0);\r\n }\r\n if (!this._hasActiveFilter(this.conceptsFilter)) {\r\n this.conceptsFilter.forEach(d => d.count = 0);\r\n }\r\n }\r\n\r\n private _hasActiveFilter(filter: FilterItem[]): boolean {\r\n return filter && filter.find(f => f.active) !== undefined;\r\n }\r\n\r\n private _addColorToFilter(color: Color): void {\r\n if (this._hasActiveFilter(this.colors)) {\r\n return;\r\n }\r\n const existingItem: ColorFilter = this.colors.find(f => f.colorCode === color.colorCode);\r\n if (!existingItem) {\r\n const newItem: ColorFilter = new ColorFilter();\r\n newItem.colorCode = color.colorCode;\r\n newItem.description = color.description;\r\n newItem.rgbColor = color.rgbColor;\r\n newItem.activeColor = color.hexColor;\r\n newItem.inActiveColor = color.hexColor;\r\n newItem.checkMarkColor =\r\n color.hexColor ? ( color.hexColor !== '#fff' && color.hexColor !== '#ffffff' ? '#ffffff' : '#000000') : '#000000';\r\n newItem.count = 1;\r\n this.colors.push(newItem);\r\n this.colors.sort((a, b) => a.description < b.description ? -1 : 1)\r\n } else {\r\n existingItem.count = existingItem.count + 1;\r\n }\r\n }\r\n\r\n private _addMaterialToFilter(material: Material): void {\r\n if (this._hasActiveFilter(this.materials)) {\r\n return;\r\n }\r\n const existingItem: MaterialFilter = this.materials.find(f => f.materialId === material.materialId);\r\n if (!existingItem) {\r\n const newItem: MaterialFilter = new MaterialFilter();\r\n newItem.materialId = material.materialId;\r\n newItem.description = material.description;\r\n newItem.count = 1;\r\n this.materials.push(newItem);\r\n this.materials.sort((a, b) => a.description < b.description ? -1 : 1)\r\n } else {\r\n existingItem.count = existingItem.count + 1;\r\n }\r\n }\r\n\r\n private _addBrandToFilter(brand: Brand): void {\r\n if (this._hasActiveFilter(this.brands)) {\r\n return;\r\n }\r\n const existingItem: BrandFilter = this.brands.find(f => f.brandId === brand.brandId);\r\n if (!existingItem) {\r\n const newItem: BrandFilter = new BrandFilter();\r\n newItem.brandId = brand.brandId;\r\n newItem.brandName = brand.brandName;\r\n newItem.count = 1;\r\n this.brands.push(newItem);\r\n this.brands.sort((a, b) => a.brandName < b.brandName ? -1 : 1)\r\n } else {\r\n existingItem.count = existingItem.count + 1;\r\n }\r\n }\r\n\r\n private _addDesignToFilter(design: Design): void {\r\n if (this._hasActiveFilter(this.designs)) {\r\n return;\r\n }\r\n const existingItem: DesignFilter = this.designs.find(d => d.design === design.design);\r\n if (!existingItem) {\r\n const newItem: DesignFilter = new DesignFilter();\r\n newItem.design = design.design;\r\n newItem.description = design.description;\r\n newItem.count = 1;\r\n this.designs.push(newItem);\r\n this.designs.sort((a, b) => a.description < b.description ? -1 : 1)\r\n } else {\r\n existingItem.count = existingItem.count + 1;\r\n }\r\n }\r\n\r\n private _addArticleGroupToFilter(group: ArticleGroup): void {\r\n if (this._hasActiveFilter(this.articleGroupsFilter)) {\r\n return;\r\n }\r\n const existingItem: ArticleGroupFilter = this.articleGroupsFilter.find(g => g.groupCode === group.groupCode);\r\n if (!existingItem) {\r\n const newItem: ArticleGroupFilter = new ArticleGroupFilter();\r\n newItem.groupCode = group.groupCode;\r\n newItem.description = group.description;\r\n newItem.count = 1;\r\n this.articleGroupsFilter.push(newItem);\r\n this.articleGroupsFilter.sort((a, b) => a.description < b.description ? -1 : 1)\r\n } else {\r\n existingItem.count = existingItem.count + 1;\r\n }\r\n }\r\n\r\n private _addAtmosphereToFilter(sphere: Atmosphere): void {\r\n if (this._hasActiveFilter(this.atmospheresFilter)) {\r\n return;\r\n }\r\n const existingItem: AtmosphereFilter = this.atmospheresFilter.find(s => s.code === sphere.code);\r\n if (!existingItem) {\r\n const newItem: AtmosphereFilter = new AtmosphereFilter();\r\n newItem.code = sphere.code;\r\n newItem.description = sphere.description;\r\n newItem.count = 1;\r\n this.atmospheresFilter.push(newItem);\r\n this.atmospheresFilter.sort((a, b) => a.description < b.description ? -1 : 1)\r\n } else {\r\n existingItem.count = existingItem.count + 1;\r\n }\r\n }\r\n\r\n private _addConceptToFilter(concept: Concept): void {\r\n if (this._hasActiveFilter(this.conceptsFilter)) {\r\n return;\r\n }\r\n const existingItem: ConceptFilter = this.conceptsFilter.find(c => c.conceptCode === concept.conceptCode);\r\n if (!existingItem) {\r\n const newItem: ConceptFilter = new ConceptFilter();\r\n newItem.conceptCode = concept.conceptCode;\r\n newItem.description = concept.description;\r\n newItem.count = 1;\r\n this.conceptsFilter.push(newItem);\r\n this.conceptsFilter.sort((a, b) => a.description < b.description ? -1 : 1)\r\n } else {\r\n existingItem.count = existingItem.count + 1;\r\n }\r\n }\r\n}\r\n","/** AUTO GENERATED FILE. DO NOT CHANGE.. **/\n\nexport enum IconEnum {\n AddToCartDrop = \"add_to_cart_drop\",\n Ar = \"ar\",\n ArrowScrollDown = \"arrow_scroll_down\",\n ArrowScrollLeft = \"arrow_scroll_left\",\n Camera = \"camera\",\n Check = \"check\",\n Close = \"close\",\n Eye = \"eye\",\n Filter = \"filter\",\n FilterCircleLarge = \"filter_circle_large\",\n Hamburger = \"hamburger\",\n MagicWand = \"magic_wand\",\n Refresh = \"refresh\",\n Search = \"search\",\n SyncAlt = \"sync_alt\",\n ThreeD = \"three_d\",\n Truck = \"truck\"\n}","/** AUTO GENERATED FILE. DO NOT CHANGE.. **/\n\nexport const IconSvg: {[iconName: string]: string} = {\n \"add_to_cart_drop\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><path d=\\\"M16.58,34.84a1.8,1.8,0,1,0,1.8,1.8A1.79,1.79,0,0,0,16.58,34.84Z\\\" fill=\\\"#484f60\\\"/><path d=\\\"M31.49,34.84a1.8,1.8,0,1,0,1.8,1.8A1.79,1.79,0,0,0,31.49,34.84Z\\\" fill=\\\"#484f60\\\"/><path d=\\\"M35.6,17.9l-1.51.18L31.88,20.3l1.31-.17a.88.88,0,0,1,1,1.08L32.35,29.5a1.52,1.52,0,0,1-1.44,1.2H16.51a1.75,1.75,0,0,1-1.57-1.17l-2.31-5.6a1,1,0,0,1,.85-1.29l4.43-.56-1.86-1.86-5.13.61a1,1,0,0,0-.87,1.28l3.34,9.44A1.73,1.73,0,0,0,15,32.72H32.64a1.51,1.51,0,0,0,1.43-1.2L36.6,19A.89.89,0,0,0,35.6,17.9Z\\\" fill=\\\"#484f60\\\"/><path d=\\\"M39,17a1.87,1.87,0,0,0-1.36,1.46l-.42,2.89c-.1.67.31,1,.9.7a2.75,2.75,0,0,0,1.33-1.7L40,18A.73.73,0,0,0,39,17Z\\\" fill=\\\"#484f60\\\"/><polygon points=\\\"24 25.35 32.04 17.3 27.04 17.3 27.04 10 20.95 10 20.95 17.3 15.96 17.3 24 25.35\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"ar\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><rect width=\\\"50\\\" height=\\\"50\\\" fill=\\\"none\\\"/><rect x=\\\"8\\\" y=\\\"20.98\\\" width=\\\"4.27\\\" height=\\\"11.1\\\" rx=\\\"0.5\\\" ry=\\\"0.5\\\" fill=\\\"#484f60\\\"/><rect x=\\\"38.73\\\" y=\\\"20.98\\\" width=\\\"4.27\\\" height=\\\"11.1\\\" rx=\\\"0.5\\\" ry=\\\"0.5\\\" fill=\\\"#484f60\\\"/><rect x=\\\"13.12\\\" y=\\\"15.86\\\" width=\\\"11.95\\\" height=\\\"8.54\\\" rx=\\\"0.5\\\" ry=\\\"0.5\\\" fill=\\\"#484f60\\\"/><rect x=\\\"13.12\\\" y=\\\"25.25\\\" width=\\\"11.95\\\" height=\\\"3.41\\\" rx=\\\"0.5\\\" ry=\\\"0.5\\\" fill=\\\"#484f60\\\"/><rect x=\\\"25.93\\\" y=\\\"15.86\\\" width=\\\"11.95\\\" height=\\\"8.54\\\" rx=\\\"0.5\\\" ry=\\\"0.5\\\" fill=\\\"#484f60\\\"/><rect x=\\\"25.93\\\" y=\\\"25.25\\\" width=\\\"11.95\\\" height=\\\"3.41\\\" rx=\\\"0.5\\\" ry=\\\"0.5\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"arrow_scroll_down\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\" version=\\\"1.1\\\" sodipodi:docname=\\\"arrow_scroll_left.svg\\\" inkscape:version=\\\"0.92.4 (5da689c313, 2019-01-14)\\\"><metadata ><rdf:RDF><cc:Work rdf:about=\\\"\\\"><dc:format>image/svg+xml</dc:format><dc:type rdf:resource=\\\"http://purl.org/dc/dcmitype/StillImage\\\" /></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor=\\\"#ffffff\\\" bordercolor=\\\"#666666\\\" borderopacity=\\\"1\\\" objecttolerance=\\\"10\\\" gridtolerance=\\\"10\\\" guidetolerance=\\\"10\\\" inkscape:pageopacity=\\\"0\\\" inkscape:pageshadow=\\\"2\\\" inkscape:window-width=\\\"1920\\\" inkscape:window-height=\\\"1017\\\" showgr inkscape:zoom=\\\"4.72\\\" inkscape:cx=\\\"25\\\" inkscape:cy=\\\"25\\\" inkscape:window-x=\\\"-8\\\" inkscape:window-y=\\\"-8\\\" inkscape:window-maximized=\\\"1\\\" inkscape:current-layer=\\\"svg4\\\" /><path d=\\\"m 37.771942,16.289849 a 2.37,2.37 0 0 1 1.67,4 l -12.64,12.68 a 2.37,2.37 0 0 1 -3.34,0 l -12.63,-12.64 a 2.36,2.36 0 1 1 3.3,-3.36 l 11,11 11,-11 a 2.36,2.36 0 0 1 1.64,-0.68 z\\\" inkscape:connector-curvature=\\\"0\\\" style=\\\"fill:#484f60\\\" /></svg>\",\n \"arrow_scroll_left\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><path d=\\\"M33.68,37.64a2.37,2.37,0,0,1-4,1.67L17,26.67a2.37,2.37,0,0,1,0-3.34L29.64,10.7A2.36,2.36,0,1,1,33,14L22,25,33,36A2.36,2.36,0,0,1,33.68,37.64Z\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"camera\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><path d=\\\"M35,18l-3-4H22l-3,4H16V36H40V18ZM24,16h6v2H24Zm2.5,18A6.5,6.5,0,1,1,33,27.5,6.51,6.51,0,0,1,26.5,34ZM38,22H36V20h2Z\\\" fill=\\\"#484f60\\\"/><rect x=\\\"10\\\" y=\\\"18\\\" width=\\\"5\\\" height=\\\"18\\\" fill=\\\"#484f60\\\"/><rect x=\\\"11\\\" y=\\\"15\\\" width=\\\"3\\\" height=\\\"2\\\" fill=\\\"#484f60\\\"/><path d=\\\"M26.5,32A4.5,4.5,0,1,1,31,27.5,4.51,4.51,0,0,1,26.5,32Z\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"check\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\" version=\\\"1.1\\\" sodipodi:docname=\\\"check.svg\\\" inkscape:version=\\\"0.92.4 (5da689c313, 2019-01-14)\\\"><metadata ><rdf:RDF><cc:Work rdf:about=\\\"\\\"><dc:format>image/svg+xml</dc:format><dc:type rdf:resource=\\\"http://purl.org/dc/dcmitype/StillImage\\\" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor=\\\"#ffffff\\\" bordercolor=\\\"#666666\\\" borderopacity=\\\"1\\\" objecttolerance=\\\"10\\\" gridtolerance=\\\"10\\\" guidetolerance=\\\"10\\\" inkscape:pageopacity=\\\"0\\\" inkscape:pageshadow=\\\"2\\\" inkscape:window-width=\\\"1920\\\" inkscape:window-height=\\\"1017\\\" showgr inkscape:zoom=\\\"9.44\\\" inkscape:cx=\\\"48.888969\\\" inkscape:cy=\\\"22.682813\\\" inkscape:window-x=\\\"-8\\\" inkscape:window-y=\\\"-8\\\" inkscape:window-maximized=\\\"1\\\" inkscape:current-layer=\\\"svg12\\\" /><path inkscape:connector-curvature=\\\"0\\\" d=\\\"m 11.438914,26.621633 c -0.316818,0.369021 -0.470979,0.838793 -0.433349,1.324347 0.03763,0.485552 0.26098,0.927404 0.631209,1.243014 l 8.986229,7.703294 c 0.333812,0.285263 0.74774,0.438212 1.182303,0.438212 0.05341,0 0.108033,-0.0025 0.162657,-0.0073 0.491616,-0.0437 0.934676,-0.277978 1.247852,-0.657923 L 38.585752,17.958158 c 0.308322,-0.376304 0.452771,-0.849718 0.40543,-1.334057 -0.04856,-0.484338 -0.280402,-0.921336 -0.656701,-1.230877 l -2.813733,-2.311231 c -0.77566,-0.636074 -1.923974,-0.524396 -2.562466,0.251275 L 21.129184,27.731121 16.375695,23.658547 c -0.762306,-0.65064 -1.913049,-0.564455 -2.56732,0.197864 z\\\" style=\\\"fill:#2b60a7;fill-opacity:1;stroke-width:1.21387255\\\" /></svg>\",\n \"close\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 29.258688 30.000004\\\" version=\\\"1.1\\\" sodipodi:docname=\\\"close.svg\\\" inkscape:version=\\\"0.92.4 (5da689c313, 2019-01-14)\\\" width=\\\"29.258688\\\" height=\\\"30.000004\\\"><metadata ><rdf:RDF><cc:Work rdf:about=\\\"\\\"><dc:format>image/svg+xml</dc:format><dc:type rdf:resource=\\\"http://purl.org/dc/dcmitype/StillImage\\\" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor=\\\"#ffffff\\\" bordercolor=\\\"#666666\\\" borderopacity=\\\"1\\\" objecttolerance=\\\"10\\\" gridtolerance=\\\"10\\\" guidetolerance=\\\"10\\\" inkscape:pageopacity=\\\"0\\\" inkscape:pageshadow=\\\"2\\\" inkscape:window-width=\\\"1920\\\" inkscape:window-height=\\\"1017\\\" showgr inkscape:zoom=\\\"26.700352\\\" inkscape:cx=\\\"19.112\\\" inkscape:cy=\\\"15.500206\\\" inkscape:window-x=\\\"-8\\\" inkscape:window-y=\\\"-8\\\" inkscape:window-maximized=\\\"1\\\" inkscape:current-layer=\\\"svg4\\\" fit-margin-top=\\\"0\\\" fit-margin-left=\\\"0\\\" fit-margin-right=\\\"0\\\" fit-margin-bottom=\\\"0\\\" /><path d=\\\"M 27.002162,0.10711058 A 2.3051231,2.3051231 0 0 1 28.626448,3.9976138 L 16.332458,16.330509 a 2.3051231,2.3051231 0 0 1 -3.248571,0 L 0.79962417,4.0365189 A 2.2953969,2.2953969 0 1 1 4.0092893,0.76849618 L 14.708173,11.46738 25.407057,0.76849618 a 2.2953969,2.2953969 0 0 1 1.595105,-0.6613856 z\\\" inkscape:connector-curvature=\\\"0\\\" style=\\\"fill:#484f60;stroke-width:0.97262579\\\" /><path d=\\\"m 27.002162,29.892891 a 2.3051231,2.3051231 0 0 0 1.624285,-3.890503 L 16.332458,13.669493 a 2.3051231,2.3051231 0 0 0 -3.248571,0 L 0.79962424,25.963483 A 2.2953968,2.2953968 0 1 0 4.0092893,29.231505 L 14.708173,18.532622 25.407057,29.231505 a 2.2953968,2.2953968 0 0 0 1.595105,0.661386 z\\\" inkscape:connector-curvature=\\\"0\\\" style=\\\"fill:#484f60;stroke-width:0.97262579\\\" /></svg>\",\n \"eye\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" version=\\\"1.1\\\" x=\\\"0px\\\" y=\\\"0px\\\" viewBox=\\\"0 0 50.000001 50.000001\\\" sodipodi:docname=\\\"eye.svg\\\" width=\\\"50\\\" height=\\\"50\\\" inkscape:version=\\\"0.92.4 (5da689c313, 2019-01-14)\\\"><metadata ><rdf:RDF><cc:Work rdf:about=\\\"\\\"><dc:format>image/svg+xml</dc:format><dc:type rdf:resource=\\\"http://purl.org/dc/dcmitype/StillImage\\\" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor=\\\"#ffffff\\\" bordercolor=\\\"#666666\\\" borderopacity=\\\"1\\\" objecttolerance=\\\"10\\\" gridtolerance=\\\"10\\\" guidetolerance=\\\"10\\\" inkscape:pageopacity=\\\"0\\\" inkscape:pageshadow=\\\"2\\\" inkscape:window-width=\\\"1920\\\" inkscape:window-height=\\\"1017\\\" showgr inkscape:zoom=\\\"1.8437536\\\" inkscape:cx=\\\"57.260141\\\" inkscape:cy=\\\"-26.955722\\\" inkscape:window-x=\\\"-8\\\" inkscape:window-y=\\\"-8\\\" inkscape:window-maximized=\\\"1\\\" inkscape:current-layer=\\\"Capa_1\\\" /><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><path d=\\\"M 508.745,246.041 C 504.171,239.784 395.188,92.835 255.997,92.835 c -139.191,0 -248.179,146.949 -252.748,153.2 -4.332,5.936 -4.332,13.987 0,19.923 4.569,6.257 113.557,153.206 252.748,153.206 139.191,0 248.174,-146.95 252.748,-153.201 4.338,-5.935 4.338,-13.992 0,-19.922 z M 255.997,385.406 c -102.529,0 -191.33,-97.533 -217.617,-129.418 26.253,-31.913 114.868,-129.395 217.617,-129.395 102.524,0 191.319,97.516 217.617,129.418 -26.253,31.912 -114.868,129.395 -217.617,129.395 z\\\" inkscape:connector-curvature=\\\"0\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><path d=\\\"m 255.997,154.725 c -55.842,0 -101.275,45.433 -101.275,101.275 0,55.842 45.433,101.275 101.275,101.275 55.842,0 101.275,-45.433 101.275,-101.275 0,-55.842 -45.433,-101.275 -101.275,-101.275 z m 0,168.791 c -37.23,0 -67.516,-30.287 -67.516,-67.516 0,-37.229 30.287,-67.516 67.516,-67.516 37.229,0 67.516,30.287 67.516,67.516 0,37.229 -30.286,67.516 -67.516,67.516 z\\\" inkscape:connector-curvature=\\\"0\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g><g transform=\\\"matrix(0.06658223,0,0,0.06658311,7.955,7.9547573)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"></g></svg>\",\n \"filter\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><path d=\\\"M22.13,39.17A1.69,1.69,0,0,1,21,37.58v-8.5l-9-15.46a1.68,1.68,0,0,1,1.5-2.45h22.9A1.68,1.68,0,0,1,38,13.62L29,29.08v8.49a1.68,1.68,0,0,1-1.14,1.59Z\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"filter_circle_large\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><path d=\\\"M22.81,37A1.28,1.28,0,0,1,22,35.79V29.31L15.14,17.54a1.28,1.28,0,0,1,1.14-1.87H33.72a1.28,1.28,0,0,1,1.14,1.87L28,29.31v6.47A1.29,1.29,0,0,1,27.17,37Z\\\" fill=\\\"#484f60\\\"/><path d=\\\"M25,6.33A18.67,18.67,0,1,1,6.33,25,18.7,18.7,0,0,1,25,6.33M25,5A20,20,0,1,0,45,25,20,20,0,0,0,25,5Z\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"hamburger\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><title>hamburger</title><rect x=\\\"14\\\" y=\\\"15.17\\\" width=\\\"22\\\" height=\\\"4\\\"/><rect x=\\\"14\\\" y=\\\"23.17\\\" width=\\\"22\\\" height=\\\"4\\\"/><rect x=\\\"14\\\" y=\\\"31.17\\\" width=\\\"22\\\" height=\\\"4\\\"/></svg>\",\n \"magic_wand\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><g style=\\\"isolation:isolate\\\"><path d=\\\"M20.45,10.71a.28.28,0,0,1,.49-.19l1.4,1.25a.93.93,0,0,0,.83.23L25,11.62a.29.29,0,0,1,.34.41l-.76,1.71a.93.93,0,0,0,0,.86l.93,1.62c.12.26,0,.45-.29.45l-1.86-.2a1,1,0,0,0-.81.32l-1.26,1.38a.28.28,0,0,1-.5-.14l-.39-1.83a1,1,0,0,0-.55-.67l-1.71-.77a.28.28,0,0,1,0-.52l1.62-.94a1,1,0,0,0,.48-.73Z\\\" fill=\\\"#484f60\\\"/><g style=\\\"mix-blend-mode:lighten\\\"><path d=\\\"M23.3,16.21a1,1,0,0,0-.8.31l-1,1.13a.29.29,0,0,1-.51-.14L20.66,16a1,1,0,0,0-.55-.68l-1.39-.62a.28.28,0,0,1,0-.52L20,13.45a1,1,0,0,0,.48-.73l.16-1.5a.29.29,0,0,1,.49-.2l1.13,1a.93.93,0,0,0,.83.23L24.58,12a.29.29,0,0,1,.34.41l-.62,1.38a.91.91,0,0,0,.05.86l.75,1.32a.29.29,0,0,1-.29.44Z\\\" fill=\\\"#484f60\\\"/></g><path d=\\\"M33.57,36.76a.53.53,0,0,1,0,.72l-2.37,2.18a.48.48,0,0,1-.7,0L18,25.34a.51.51,0,0,1,0-.71l2.36-2.19a.49.49,0,0,1,.7,0Z\\\" fill=\\\"#484f60\\\"/><path d=\\\"M18.6,19.94a.51.51,0,0,1,0,.71L16.2,22.84a.48.48,0,0,1-.7,0l-2.76-3.13a.51.51,0,0,1,0-.71l2.37-2.19a.48.48,0,0,1,.7,0Z\\\" fill=\\\"#484f60\\\"/><path d=\\\"M30.67,10.55a.29.29,0,0,1,.47.24v1.12a1,1,0,0,0,.4.77l.9.66a.29.29,0,0,1-.08.52l-1.07.35a1,1,0,0,0-.61.61l-.35,1.06a.28.28,0,0,1-.51.09l-.67-.91a1,1,0,0,0-.77-.4H27.27a.29.29,0,0,1-.25-.47l.66-.9a.93.93,0,0,0,.14-.85l-.35-1.07a.29.29,0,0,1,.38-.38l1.07.35a1,1,0,0,0,.85-.13Z\\\" fill=\\\"#484f60\\\"/><g style=\\\"mix-blend-mode:lighten\\\"><path d=\\\"M29.25,14.88a1,1,0,0,0-.77-.4h-.86a.29.29,0,0,1-.24-.47l.5-.69a.93.93,0,0,0,.14-.85l-.26-.82c-.07-.27.1-.44.37-.37l.82.26a1,1,0,0,0,.85-.13l.69-.51a.29.29,0,0,1,.47.25V12a.94.94,0,0,0,.39.76l.7.51a.29.29,0,0,1-.09.52l-.81.26a1,1,0,0,0-.62.61l-.26.82a.29.29,0,0,1-.52.08Z\\\" fill=\\\"#484f60\\\"/></g><path d=\\\"M37,15.81a.29.29,0,0,1,.32.43l-.13.26a.91.91,0,0,0,0,.85l.15.26A.29.29,0,0,1,37,18l-.29,0a.93.93,0,0,0-.81.27l-.2.21a.28.28,0,0,1-.5-.16l0-.29a1,1,0,0,0-.52-.69l-.27-.13a.28.28,0,0,1,0-.52l.26-.13a.93.93,0,0,0,.5-.71l0-.29a.29.29,0,0,1,.5-.17l.21.21a.92.92,0,0,0,.82.26Z\\\" fill=\\\"#484f60\\\"/><g style=\\\"mix-blend-mode:lighten\\\"><path d=\\\"M35.25,18a1,1,0,0,0-.52-.7l-.12-.05a.28.28,0,0,1,0-.52l.12-.06a1,1,0,0,0,.51-.7V15.8a.29.29,0,0,1,.5-.18l.09.1a.92.92,0,0,0,.82.26l.13,0a.29.29,0,0,1,.32.42L37,16.5a.91.91,0,0,0,0,.85l.07.12a.29.29,0,0,1-.31.43l-.13,0a1,1,0,0,0-.82.28l-.09.1a.28.28,0,0,1-.5-.16Z\\\" fill=\\\"#484f60\\\"/></g></g></svg>\",\n \"refresh\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><polygon points=\\\"14.58 22.71 14.58 10 27.29 22.71 14.58 22.71\\\" fill=\\\"#484f60\\\"/><polygon points=\\\"35.42 27.29 35.42 40 22.71 27.29 35.42 27.29\\\" fill=\\\"#484f60\\\"/><path d=\\\"M19.9,15.32c4.09-4.09,10.2-8.13,18.33,0h0C31.73,8.82,26.65,13.9,22.56,18Z\\\" fill=\\\"#484f60\\\"/><path d=\\\"M30.1,34.68c-4.09,4.08-10.2,8.13-18.33,0h0c6.51,6.5,11.58,1.43,15.67-2.66Z\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"search\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><path d=\\\"M28,14.75A9.39,9.39,0,1,0,28,28,9.39,9.39,0,0,0,28,14.75ZM26.48,26.48a7.2,7.2,0,1,1,0-10.18A7.2,7.2,0,0,1,26.48,26.48Z\\\" fill=\\\"#484f60\\\"/><path d=\\\"M37.36,33.49,32.67,28.8a2.19,2.19,0,0,0-3.09,0l-.78.78a2.19,2.19,0,0,0,0,3.09l4.69,4.69a2.2,2.2,0,0,0,3.1,0l.77-.78A2.19,2.19,0,0,0,37.36,33.49Z\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"sync_alt\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 512 512\\\"><path d=\\\"M370.72 133.28C339.458 104.008 298.888 87.962 255.848 88c-77.458.068-144.328 53.178-162.791 126.85-1.344 5.363-6.122 9.15-11.651 9.15H24.103c-7.498 0-13.194-6.807-11.807-14.176C33.933 94.924 134.813 8 256 8c66.448 0 126.791 26.136 171.315 68.685L463.03 40.97C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.749zM32 296h134.059c21.382 0 32.09 25.851 16.971 40.971l-41.75 41.75c31.262 29.273 71.835 45.319 114.876 45.28 77.418-.07 144.315-53.144 162.787-126.849 1.344-5.363 6.122-9.15 11.651-9.15h57.304c7.498 0 13.194 6.807 11.807 14.176C478.067 417.076 377.187 504 256 504c-66.448 0-126.791-26.136-171.315-68.685L48.97 471.03C33.851 486.149 8 475.441 8 454.059V320c0-13.255 10.745-24 24-24z\\\"/></svg>\",\n \"three_d\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\"><path d=\\\"M16.08,30.77a4.85,4.85,0,0,1-3-.8,4,4,0,0,0-2.49-.15,6.21,6.21,0,0,0,2.53,1.09,12.84,12.84,0,0,0,2.93-.14\\\" fill=\\\"#484f60\\\" opacity=\\\"0.5\\\"/><path d=\\\"M14.27,19.68A4.71,4.71,0,0,0,11,20.78l2,.14c.31,0,1.2-.69,1.55-.81a3.88,3.88,0,0,1,1.65-.24l-1.94-.19\\\" fill=\\\"#484f60\\\" opacity=\\\"0.5\\\"/><path d=\\\"M21.64,28.79a4.13,4.13,0,0,0-3.1-4c.89-.7,1.77-1.09,2.26-2.21a5.12,5.12,0,0,0,.35-1.9c-.13-3.24-2.64-3.73-5.29-4.15a4,4,0,0,1,3.44,3.7,4.61,4.61,0,0,1-.83,3.12,9.7,9.7,0,0,1-1.82,1.43,4.3,4.3,0,0,1,3.17,4.34,4.9,4.9,0,0,1-4.21,5c2.09-.34,4.37-.64,5.46-2.69a5,5,0,0,0,.57-2.58\\\" fill=\\\"#484f60\\\" opacity=\\\"0.5\\\"/><path d=\\\"M28.44,18.88l.38-.07.48-.06.57,0h.75l.36,0,.35.05c-.2,0-.42-.08-1.57-.25l-.36-.05-.37,0h-.77l-.59,0-.49.07a3.08,3.08,0,0,0-.39.07l-.3.07V31.38H27l.13,0h1.63l.21,0h.2l.2,0h.05l1.55-.24h0l-.34.05-.33,0H29.12l-.36,0-.33,0a1.15,1.15,0,0,1-.28-.06V19Z\\\" fill=\\\"#484f60\\\" opacity=\\\"0.5\\\"/><path d=\\\"M40,24.34a9,9,0,0,0-3-7.1,11.06,11.06,0,0,0-4.47-1.86c4.38,1.13,6.23,5.31,6.13,9.54-.12,4.5-2.27,8.55-6.86,9.66,2.59-.63,5-1.41,6.52-3.78A12,12,0,0,0,40,24.34\\\" fill=\\\"#484f60\\\" opacity=\\\"0.5\\\"/><path d=\\\"M35.38,16.71A7.32,7.32,0,0,1,36.74,18a7.82,7.82,0,0,1,1,1.73,10.32,10.32,0,0,1,.68,2.16,13.86,13.86,0,0,1,.23,2.59,15,15,0,0,1-.25,2.78,11.39,11.39,0,0,1-.68,2.31,9.34,9.34,0,0,1-1,1.85,8.23,8.23,0,0,1-1.28,1.4,7.76,7.76,0,0,1-1.7,1.07,9.07,9.07,0,0,1-2,.69,13.36,13.36,0,0,1-2.26.33,18.25,18.25,0,0,1-2.45,0c-.5,0-1-.08-1.39-.12l-1.17-.14c-.36,0-.68-.11-1-.16l-.77-.15V15.86c.34-.09.71-.18,1.09-.26s.81-.15,1.24-.21.88-.12,1.34-.17.95-.1,1.44-.13a20.57,20.57,0,0,1,2.33,0,12,12,0,0,1,2,.24,8.24,8.24,0,0,1,1.72.55A7.1,7.1,0,0,1,35.38,16.71ZM27.92,31.53a6.53,6.53,0,0,0,2.46-.32A4.81,4.81,0,0,0,32.32,30a5.82,5.82,0,0,0,1.27-2.18A10.11,10.11,0,0,0,34,24.67a8.65,8.65,0,0,0-.42-2.85,4.94,4.94,0,0,0-1.18-2,4.45,4.45,0,0,0-1.83-1.11,6.55,6.55,0,0,0-2.35-.28l-.59,0-.49.07a3.08,3.08,0,0,0-.39.07l-.3.07V31.38a2.11,2.11,0,0,0,.29.06l.34,0,.37,0,.36,0h.07\\\" fill=\\\"#484f60\\\"/><path d=\\\"M14.57,16.47a5.49,5.49,0,0,1,2,.22,3.89,3.89,0,0,1,1.49.84A3.66,3.66,0,0,1,19,18.89a4.29,4.29,0,0,1,.33,1.7,5.29,5.29,0,0,1-.17,1.34,4.29,4.29,0,0,1-.5,1.16,4.17,4.17,0,0,1-.84.94,4.88,4.88,0,0,1-1.16.69v.05a3.7,3.7,0,0,1,1.22.5,4,4,0,0,1,1,.92,4.61,4.61,0,0,1,.69,1.3,5.24,5.24,0,0,1,.25,1.62,5.36,5.36,0,0,1-.42,2.15,4.44,4.44,0,0,1-1.2,1.64,4.84,4.84,0,0,1-1.86,1,6.78,6.78,0,0,1-2.39.23,7.69,7.69,0,0,1-2.36-.52,6.89,6.89,0,0,1-.9-.42,4.36,4.36,0,0,1-.69-.47l.62-2.9a4.12,4.12,0,0,0,.53.34,6.21,6.21,0,0,0,.73.36,5.69,5.69,0,0,0,.88.31,5.19,5.19,0,0,0,1,.15,3.11,3.11,0,0,0,1.1-.13,2,2,0,0,0,.8-.45,1.93,1.93,0,0,0,.49-.71,2.35,2.35,0,0,0,.17-.89A2.48,2.48,0,0,0,16,27.67a2.23,2.23,0,0,0-.63-.79,2.9,2.9,0,0,0-.89-.46,3.5,3.5,0,0,0-1-.15H12.2V23.44l1.23,0a3.44,3.44,0,0,0,.83-.11,2.83,2.83,0,0,0,.79-.36,2,2,0,0,0,.6-.62,2,2,0,0,0,.23-.94,1.8,1.8,0,0,0-.13-.71,1.36,1.36,0,0,0-.38-.56,1.58,1.58,0,0,0-.64-.35,2.79,2.79,0,0,0-.9-.1,4.07,4.07,0,0,0-.84.13c-.27.08-.53.18-.78.28a6.56,6.56,0,0,0-1.17.7L10.42,18a5,5,0,0,1,.72-.51,7.82,7.82,0,0,1,2.12-.82A8,8,0,0,1,14.57,16.47Z\\\" fill=\\\"#484f60\\\"/></svg>\",\n \"truck\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 50 50\\\" version=\\\"1.1\\\" sodipodi:docname=\\\"truck.svg\\\" inkscape:version=\\\"0.92.4 (5da689c313, 2019-01-14)\\\"><metadata ><rdf:RDF><cc:Work rdf:about=\\\"\\\"><dc:format>image/svg+xml</dc:format><dc:type rdf:resource=\\\"http://purl.org/dc/dcmitype/StillImage\\\" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs /><sodipodi:namedview pagecolor=\\\"#ffffff\\\" bordercolor=\\\"#666666\\\" borderopacity=\\\"1\\\" objecttolerance=\\\"10\\\" gridtolerance=\\\"10\\\" guidetolerance=\\\"10\\\" inkscape:pageopacity=\\\"0\\\" inkscape:pageshadow=\\\"2\\\" inkscape:window-width=\\\"1920\\\" inkscape:window-height=\\\"1017\\\" showgr inkscape:zoom=\\\"9.44\\\" inkscape:cx=\\\"31.555563\\\" inkscape:cy=\\\"21.585628\\\" inkscape:window-x=\\\"-8\\\" inkscape:window-y=\\\"-8\\\" inkscape:window-maximized=\\\"1\\\" inkscape:current-layer=\\\"svg8\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06827145,0,0,0.06827064,7.670918,5.1378096)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><path inkscape:connector-curvature=\\\"0\\\" d=\\\"m 119.467,337.067 c -28.237,0 -51.2,22.963 -51.2,51.2 0,28.237 22.963,51.2 51.2,51.2 28.237,0 51.2,-22.963 51.2,-51.2 0,-28.237 -22.964,-51.2 -51.2,-51.2 z m 0,85.333 c -18.825,0 -34.133,-15.309 -34.133,-34.133 0,-18.825 15.309,-34.133 34.133,-34.133 18.824,0 34.133,15.309 34.133,34.133 0,18.824 -15.309,34.133 -34.133,34.133 z\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><path inkscape:connector-curvature=\\\"0\\\" d=\\\"m 409.6,337.067 c -28.237,0 -51.2,22.963 -51.2,51.2 0,28.237 22.963,51.2 51.2,51.2 28.237,0 51.2,-22.963 51.2,-51.2 0,-28.237 -22.963,-51.2 -51.2,-51.2 z m 0,85.333 c -18.825,0 -34.133,-15.309 -34.133,-34.133 0,-18.825 15.309,-34.133 34.133,-34.133 18.825,0 34.133,15.309 34.133,34.133 0,18.824 -15.308,34.133 -34.133,34.133 z\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><path inkscape:connector-curvature=\\\"0\\\" d=\\\"m 510.643,289.784 -76.8,-119.467 c -1.57,-2.441 -4.275,-3.917 -7.177,-3.917 H 332.8 c -4.719,0 -8.533,3.823 -8.533,8.533 v 213.333 c 0,4.719 3.814,8.533 8.533,8.533 h 34.133 v -17.067 h -25.6 V 183.467 h 80.674 l 72.926,113.442 v 82.825 H 452.266 V 396.8 h 51.2 c 4.719,0 8.533,-3.814 8.533,-8.533 V 294.4 c 10e-4,-1.63 -0.468,-3.243 -1.356,-4.616 z\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><path inkscape:connector-curvature=\\\"0\\\" d=\\\"M 375.467,277.333 V 217.6 h 68.267 v -17.067 h -76.8 c -4.719,0 -8.533,3.823 -8.533,8.533 v 76.8 c 0,4.719 3.814,8.533 8.533,8.533 h 128 V 277.332 H 375.467 Z\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><path inkscape:connector-curvature=\\\"0\\\" d=\\\"M 332.8,106.667 H 8.533 C 3.823,106.667 0,110.49 0,115.2 v 273.067 c 0,4.719 3.823,8.533 8.533,8.533 H 76.8 V 379.733 H 17.067 v -256 h 307.2 v 256 H 162.133 V 396.8 H 332.8 c 4.719,0 8.533,-3.814 8.533,-8.533 V 115.2 c 0,-4.71 -3.814,-8.533 -8.533,-8.533 z\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><rect x=\\\"8.533\\\" y=\\\"345.60001\\\" width=\\\"51.200001\\\" height=\\\"17.066999\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><rect x=\\\"179.2\\\" y=\\\"345.60001\\\" width=\\\"145.067\\\" height=\\\"17.066999\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><rect x=\\\"469.33301\\\" y=\\\"345.60001\\\" width=\\\"34.132999\\\" height=\\\"17.066999\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><rect x=\\\"34.132999\\\" y=\\\"140.8\\\" width=\\\"298.66699\\\" height=\\\"17.066999\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><rect x=\\\"110.933\\\" y=\\\"379.733\\\" width=\\\"17.066999\\\" height=\\\"17.066999\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\"><g style=\\\"fill:#484f60;fill-opacity:1\\\"><rect x=\\\"401.06699\\\" y=\\\"379.733\\\" width=\\\"17.066999\\\" height=\\\"17.066999\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></g></g><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /><g transform=\\\"matrix(0.06813214,0,0,0.06813214,7.6,6.2856989)\\\" style=\\\"fill:#484f60;fill-opacity:1\\\" /></svg>\"\n};","import {Injectable} from \"@angular/core\";\r\nimport {IconSvg} from \"../model/icon\";\r\nimport {IconEnum} from \"../enum/icon.enum\";\r\nimport {DomSanitizer, SafeHtml} from \"@angular/platform-browser\";\r\n\r\n@Injectable()\r\nexport class IconCacheService {\r\n /**\r\n * All the icons as a large JSON object, from the all-icons.json file.\r\n * The object has property keys that are the icon names, and property values with the data string of the actual svg icon.\r\n */\r\n public get iconCache(): { [iconName: string]: SafeHtml } {\r\n return this._iconCache;\r\n }\r\n\r\n private _iconCache: { [iconName: string]: SafeHtml } = {};\r\n\r\n private _allIcons: any;\r\n\r\n constructor(private _sanitizer: DomSanitizer) {\r\n this._allIcons = IconSvg;\r\n this.setIconCache();\r\n }\r\n\r\n public getIcon(iconName: IconEnum): SafeHtml {\r\n return this._iconCache[iconName.toLowerCase()];\r\n }\r\n\r\n public setIconCache(): void {\r\n for (const key in this._allIcons) {\r\n if (this._allIcons.hasOwnProperty(key)) {\r\n this._iconCache[key.toLowerCase()] = this._sanitizer.bypassSecurityTrustHtml(this._allIcons[key]);\r\n }\r\n }\r\n }\r\n}\r\n","import {Component, Input, OnInit} from '@angular/core';\nimport {ProductCatalogControllerService} from '../../service/product-catalog-controller.service';\nimport {IconEnum} from '../../enum/icon.enum';\nimport {IconCacheService} from '../../service/icon-cache.service';\nimport {animate, state, style, transition, trigger} from '@angular/animations';\n\n@Component({\n selector: 'app-top-content',\n templateUrl: './top-content.component.html',\n styleUrls: ['./top-content.component.scss'],\n animations: [\n trigger('showAdvancedSearch', [\n state('void', style({height: '0'})),\n state('*', style({height: '*'})),\n transition('void <=> *', animate(200))\n ])\n ]\n})\n\nexport class TopContentComponent implements OnInit {\n\n public readonly Icons: typeof IconEnum = IconEnum;\n\n @Input()\n public label: string;\n\n @Input()\n public description: string;\n\n public collapsed = true;\n\n constructor(\n public catalog: ProductCatalogControllerService,\n public iconCache: IconCacheService\n ) {\n\n }\n\n ngOnInit() {\n }\n\n public onHandleClick(event: MouseEvent): void {\n this.collapsed = !this.collapsed;\n }\n\n public onSubmitSearch(event: any): void {\n // this.catalog.articleSearchFilters.general = this.searchedText.length > 0 ? this.searchedText.join(' ') : null;\n // this.catalog.articleSearchFilters.description = this.searchedText.length > 0 ? this.searchedText[0] : null;\n this.catalog.searchArticles();\n }\n}\n","import {Component, OnInit} from '@angular/core';\n\n@Component({\n selector: 'app-main-content',\n templateUrl: './main-content.component.html',\n styleUrls: ['./main-content.component.css']\n})\n\nexport class MainContentComponent implements OnInit {\n\n ngOnInit() {\n }\n\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-left-content',\n templateUrl: './left-content.component.html',\n styleUrls: ['./left-content.component.css']\n})\n\nexport class LeftContentComponent implements OnInit {\n\n ngOnInit() {\n }\n\n}\n","export enum CatalogProductFilter {\r\n Prices = \"prices\",\r\n Colors = \"colors\",\r\n Materials = \"materials\",\r\n Brands = \"brands\",\r\n Designs = \"designs\"\r\n}\r\n","import { ChangeDetectorRef, Component, HostBinding, OnDestroy, OnInit, ViewChild } from '@angular/core';\nimport { GetArticlesForCatalogRequest } from '@colijnit/ioneconnector/build/model/get-articles-for-catalog';\nimport { ProductCatalogControllerService } from '../../../service/product-catalog-controller.service';\nimport { IconEnum } from '../../../enum/icon.enum';\nimport { CatalogProductFilter } from '../../../enum/catalog-product-filter.enum';\nimport { SliderComponent } from '@colijnit/corecomponents';\nimport { NumericalRange } from '@colijnit/corecomponents/lib/core/model/numerical-range';\nimport { IconCacheService } from '../../../service/icon-cache.service';\nimport { animate, state, style, transition, trigger } from '@angular/animations';\nimport { OptionsService } from '../../../service/options.service';\nimport {Subscription} from 'rxjs';\n\n@Component({\n selector: 'app-catalog-filter',\n templateUrl: './catalog-filter.component.html',\n styleUrls: ['./catalog-filter.component.scss'],\n animations: [\n trigger('showFilterItem', [\n state('closed', style({'height': '80px'})),\n state('open', style({'height': '*'})),\n transition('closed <=> open', animate(200))\n ])\n ],\n host: {\n class: 'catalog-filter'\n }\n})\nexport class CatalogFilterComponent implements OnInit, OnDestroy {\n\n public readonly icons: typeof IconEnum = IconEnum;\n public readonly productFilter: typeof CatalogProductFilter = CatalogProductFilter;\n public readonly maxItemsForSearch: number = 30;\n\n public filterItems: any[] = [];\n\n public showFilterItemToggle: any = {\n design: true,\n color: true,\n material: true,\n brand: true,\n article_group: true,\n atmosphere: true,\n concept: true\n };\n\n @ViewChild(SliderComponent, { static: true })\n public priceSlider: SliderComponent;\n\n public get filters(): GetArticlesForCatalogRequest {\n return this.catalog.articleSearchFilters;\n }\n\n @HostBinding('class.collapsed')\n public collapsed = false;\n\n private destroyed: boolean;\n\n private _subs: Subscription[] = [];\n\n constructor(\n public catalog: ProductCatalogControllerService,\n public iconCache: IconCacheService,\n public optionsService: OptionsService,\n private changeDetector: ChangeDetectorRef\n ) {\n this._subs = [\n this.catalog.onPrepareFilters.subscribe(() => {\n this.setupFilters();\n this.detectChanges();\n })\n ];\n }\n\n ngOnInit(): void {\n // because our <co-checkbox-select> components will output a selectionStringChange on their init, which effectively changes this.filters\n this.catalog.catalogShown = true;\n this.collapsed = this.optionsService.collapseFilterByDefault;\n if (window.innerWidth <= 950) {\n this.collapsed = true;\n }\n this.detectChanges();\n }\n\n ngOnDestroy(): void {\n this.destroyed = true;\n this._subs.forEach((x) => {\n x.unsubscribe();\n });\n }\n\n public resetFilters(event: MouseEvent): void {\n this.catalog.resetFilters();\n this.resetPriceFilter();\n }\n\n public resetPriceFilter(): void {\n if (this.priceSlider) {\n this.priceSlider.setLowerBound(this.catalog.priceMinFilter, true);\n this.priceSlider.setUpperBound(this.catalog.priceMaxFilter, true);\n }\n }\n\n public onHandleClick(event: MouseEvent): void {\n this.collapsed = !this.collapsed;\n }\n\n public updatePriceInputs(range: NumericalRange): void {\n this.catalog.priceFromFilter = range.lowerBound;\n this.catalog.priceToFilter = range.upperBound;\n this.catalog.filterOnPrice();\n }\n\n public updateSliderRange(): void {\n if (this.priceSlider) {\n this.priceSlider.setLowerBound(this.catalog.priceFromFilter, false);\n this.priceSlider.setUpperBound(this.catalog.priceToFilter, false);\n }\n }\n\n public updatePriceFrom(value: string): void {\n this.catalog.priceFromFilter = parseInt(value, 0);\n this.catalog.filterOnPrice();\n this.updateSliderRange();\n }\n\n public updatePriceTo(value: string): void {\n this.catalog.priceToFilter = parseInt(value, 0);\n this.catalog.filterOnPrice();\n this.updateSliderRange();\n }\n\n public removeFilterItem(item: any): void {\n if (item instanceof String && item === 'price') {\n this.resetPriceFilter();\n } else {\n item.active = false;\n this.catalog.filterArticles();\n }\n }\n\n public showSelectedFilters(): boolean {\n let show: boolean = false;\n this.filterItems.forEach((x) => {\n if (x.typ === 'price') {\n if (this.optionsService.showPriceFilter && (this.catalog.priceFromFilter !== this.catalog.priceMinFilter || this.catalog.priceToFilter !== this.catalog.priceMaxFilter)) {\n show = true;\n }\n } else if (x.typ !== 'price') {\n if (this.catalog.hasFilterItems(this.catalog[x.items]) && this.catalog.hasCheckedFilterItems(this.catalog[x.items])) {\n show = true;\n }\n }\n\n });\n return show;\n }\n\n public setupFilters(): void {\n\n this.filterItems = [\n {\n show: this.optionsService.showPriceFilter,\n collapsed: false,\n title: 'PRICE',\n type: 'price'\n },\n {\n show: this.catalog.hasFilterItems(this.catalog.designs),\n collapsed: false,\n title: 'DESIGN',\n type: 'default',\n items: 'designs'\n },\n {\n show: this.catalog.hasFilterItems(this.catalog.colors),\n collapsed: false,\n title: 'COLOR',\n type: 'color',\n items: 'colors'\n },\n {\n show: this.catalog.hasFilterItems(this.catalog.materials),\n collapsed: false,\n title: 'MATERIAL',\n type: 'default',\n items: 'materials'\n },\n {\n show: this.catalog.hasFilterItems(this.catalog.brands),\n collapsed: false,\n title: 'BRAND',\n type: 'default',\n items: 'brands'\n },\n {\n show: this.catalog.hasFilterItems(this.catalog.articleGroupsFilter),\n collapsed: false,\n title: 'ARTICLE_GROUP',\n type: 'default',\n items: this.catalog.articleGroupsFilter\n },\n {\n show: this.catalog.hasFilterItems(this.catalog.atmospheresFilter),\n collapsed: false,\n title: 'ATMOSPHERE',\n type: 'default',\n items: 'atmospheresFilter'\n },\n {\n show: this.catalog.hasFilterItems(this.catalog.conceptsFilter),\n collapsed: false,\n title: 'CONCEPT',\n type: 'default',\n items: 'conceptsFilter'\n }\n ];\n }\n\n private detectChanges(): void {\n if (!this.destroyed) {\n this.changeDetector.detectChanges();\n }\n }\n}\n","import {ChangeDetectorRef, Component, OnDestroy, ViewChild} from '@angular/core';\nimport {ProductCatalogControllerService} from '../../../service/product-catalog-controller.service';\nimport {PaginationComponent} from '@colijnit/corecomponents';\nimport {Subscription} from 'rxjs';\nimport {OptionsService} from '../../../service/options.service';\nimport {OrderByInterface} from '../../../interface/order-by.interface';\nimport {ArticleExtendedDto} from '@colijnit/ioneconnector/build/model/article-extended-dto';\n\n@Component({\n selector: 'app-catalog-page',\n templateUrl: './catalog-page.component.html',\n styleUrls: ['./catalog-page.component.scss']\n})\nexport class CatalogPageComponent implements OnDestroy {\n\n @ViewChild(PaginationComponent, { static: true })\n public pagination: PaginationComponent;\n\n private destroyed: boolean;\n\n private _subs: Subscription[] = [];\n\n public orderByOptions: OrderByInterface[] = [\n {id: 1, name: 'ORDER_BY_ARTICLENR'},\n {id: 2, name: 'ORDER_BY_ARTICLENAME'}\n ];\n public orderByOption = this.orderByOptions[0];\n\n constructor(\n public catalog: ProductCatalogControllerService,\n public options: OptionsService,\n private changeDetector: ChangeDetectorRef\n ) {\n this._subs.push(\n this.catalog.categoryChanged.subscribe(category => this._navigationChanged()),\n this.catalog.turnoverGroupChanged.subscribe(turnoverGroup => this._navigationChanged()),\n this.catalog.searchTextChanged.subscribe(searchText => this._navigationChanged())\n )\n }\n\n ngOnDestroy(): void {\n this._subs.forEach(s => s.unsubscribe());\n this.destroyed = true;\n }\n\n public onArticleCardAdd3DButtonClick(event: MouseEvent, article: ArticleExtendedDto): void {\n // if (article) {\n // this.messageBus.emit(MessageType.LoadIOneFurnitureIntoSceneBySKU, {\n // sku: article.articleNumber,\n // position: { x: event.clientX, y: event.clientY }\n // });\n // this.catalog.catalogShown = false;\n // }\n }\n\n public onPaginationPageChange(pageNr: number): void {\n this.catalog.showcasePage = pageNr;\n this.detectChanges();\n }\n\n public onArticlesPageChange(qty: number): void {\n this.catalog.articlesPerPage = qty;\n this.detectChanges();\n }\n\n public handleOrderBy(orderBy: OrderByInterface): void {\n this.catalog.changeOrderBy(orderBy);\n this.detectChanges();\n }\n\n private _navigationChanged(): void {\n if (this.pagination) {\n this.pagination.goToFirstPage();\n }\n }\n\n private detectChanges(): void {\n if (!this.destroyed) {\n this.changeDetector.detectChanges();\n }\n }\n}\n","import {Injectable} from '@angular/core';\r\nimport {Subject} from 'rxjs';\r\nimport {ArticleExtendedDto} from '@colijnit/ioneconnector/build/model/article-extended-dto';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AppEventService {\r\n public lookAtArticleButtonClick: Subject<ArticleExtendedDto> = new Subject<ArticleExtendedDto>();\r\n public addArticleButtonClick: Subject<string> = new Subject<string>();\r\n public arButtonClick: Subject<ArticleExtendedDto> = new Subject<ArticleExtendedDto>();\r\n public articleClick: Subject<ArticleExtendedDto> = new Subject<ArticleExtendedDto>();\r\n public stockDetailsClick: Subject<ArticleExtendedDto> = new Subject<ArticleExtendedDto>();\r\n}\r\n","import {ChangeDetectorRef, Component, EventEmitter, HostBinding, HostListener, Input, Output} from '@angular/core';\nimport {FileUtils} from '@colijnit/ioneconnector/build/utils/file-utils';\nimport {IOneControllerService} from '../../../service/i-one-controller.service';\nimport {LevelIndicatorLevel} from '../../../enum/level-indicator-level.enum';\nimport {IconEnum} from '../../../enum/icon.enum';\nimport {IconCacheService} from '../../../service/icon-cache.service';\nimport {ProductCatalogControllerService} from '../../../service/product-catalog-controller.service';\nimport {OptionsService} from '../../../service/options.service';\nimport {AppEventService} from '../../../service/app-event.service';\nimport {ArticleExtendedDto} from '@colijnit/ioneconnector/build/model/article-extended-dto';\nimport {ArticleListObjectExtended} from '@colijnit/ioneconnector/build/model/article-list-object-extended';\n\n@Component({\n selector: 'app-article-card',\n templateUrl: './article-card.component.html',\n styleUrls: ['./article-card.component.scss']\n})\nexport class ArticleCardComponent {\n public readonly Icons: typeof IconEnum = IconEnum;\n\n @Input()\n public set article(value: ArticleExtendedDto) {\n this._article = value;\n if (this._article) {\n if (this._article.image) {\n this._iOne.getSelectorArticleThumbnail(this._article.image.key).then(imageData => {\n if (imageData) {\n this._article.imageData = imageData.indexOf('http') > -1 ? imageData : FileUtils.DocumentBodyToDataUri(imageData, 'image/jpeg');\n }\n });\n }\n this._iOne.getArticlePrice(this._article.goodId).then(price => {\n if (price) {\n this._article.baselinePrice = price.baselinePrice;\n this._article.price = price.basePrice;\n this._article.suppliedPrice = price.suppliedPrice;\n if (price.articleDescription !== undefined && price.articleDescription !== '') {\n this._article.name = price.articleDescription;\n this.description = this._article.name ? this._article.name : this._article.description;\n }\n }\n });\n this.description = this._article.name ? this._article.name : this._article.description;\n this.configurable = this._article.goodType === 'B';\n this.threeD = this._article.is3D;\n }\n this._getThumbNailImagesAndPrice(value);\n }\n\n public get article(): ArticleExtendedDto {\n return this._article;\n }\n\n @Input()\n public imageData: string;\n\n @Input()\n public price: number | string;\n\n @Input()\n public level: LevelIndicatorLevel;\n\n @Input()\n public isSelected = false;\n\n @Input() @HostBinding('class.small-modus')\n public isSmallModus = false;\n\n @Input()\n public hasMagnifierButton = false;\n\n @Input()\n public hasInfoButton = false;\n\n // does not emit when you click one of the predefined buttons, but emits on a click on any of our other content\n @Output()\n public readonly contentClick: EventEmitter<MouseEvent> = new EventEmitter<MouseEvent>();\n\n @Output()\n public readonly infoButtonClick: EventEmitter<MouseEvent> = new EventEmitter<MouseEvent>();\n\n @Output()\n public readonly magnifierButtonClick: EventEmitter<MouseEvent> = new EventEmitter<MouseEvent>();\n\n @Output()\n public readonly threeDButtonClick: EventEmitter<MouseEvent> = new EventEmitter<MouseEvent>();\n\n private _article: ArticleExtendedDto;\n\n public configurable = false;\n public threeD = false;\n public description: string;\n public valutaSymbol: string = '€';\n public stockDetails: boolean = true;\n\n @HostListener('click', ['$event'])\n public onHostClick(event: MouseEvent): void {\n event.stopPropagation();\n this._appEventService.articleClick.next(this.article);\n }\n\n constructor(\n public iconCache: IconCacheService,\n public catalog: ProductCatalogControllerService,\n public options: OptionsService,\n private _iOne: IOneControllerService,\n private _changeDetector: ChangeDetectorRef,\n private _appEventService: AppEventService\n ) {\n }\n public handleLookAtArticleButtonClick(event: MouseEvent) {\n event.stopPropagation();\n this._appEventService.lookAtArticleButtonClick.next(this.article);\n }\n\n public async handleAddArticleButtonClick(event: MouseEvent): Promise<void> {\n event.stopPropagation();\n this._appEventService.addArticleButtonClick.next(await this._getJSONFromArticleObject(this.article));\n }\n\n public handleArButtonClick(event: MouseEvent): void {\n event.stopPropagation();\n this._appEventService.arButtonClick.next(this.article);\n }\n\n public removeHtmlTags(desc: string): string {\n desc = desc.replace(/\\r?\\n|\\r/, '');\n return desc;\n }\n\n public openStockDetails(): void {\n\n }\n\n private async _getJSONFromArticleObject(article: ArticleListObjectExtended): Promise<string> {\n if (article.goodType !== 'A') { // only for simple articles\n return null;\n }\n const returnObject: {goodId: number, baseGoodId: number, selectorData: {}, quantity: number, articleTree: {}} =\n {goodId: 0, baseGoodId: 0, selectorData: {}, quantity: 0, articleTree: {}};\n returnObject.baseGoodId = article.goodId;\n returnObject.selectorData = {};\n returnObject.quantity = 1;\n returnObject.goodId = article.goodId;\n const articleFlatTreeJson = await this._iOne.getJsonArticleFlatTree(returnObject.goodId);\n if (articleFlatTreeJson) {\n returnObject.articleTree = JSON.parse(articleFlatTreeJson);\n }\n return JSON.stringify(returnObject);\n }\n\n private _detectChanges(): void {\n this._changeDetector.detectChanges();\n }\n\n private _getThumbNailImagesAndPrice(value: ArticleListObjectExtended) {\n this._article = value;\n if (this._article) {\n if (this._article.image) {\n this._iOne.getSelectorArticleThumbnail(this._article.image.key).then(imageData => {\n if (imageData) {\n this._article.imageData = imageData.indexOf('http') > -1 ? imageData : FileUtils.DocumentBodyToDataUri(imageData, 'image/jpeg');\n }\n });\n }\n this._iOne.getArticlePrice(this._article.goodId).then(price => {\n if (price) {\n this._article.baselinePrice = price.baselinePrice;\n this._article.price = price.basePrice;\n this._article.suppliedPrice = price.suppliedPrice;\n if (price.articleDescription !== undefined && price.articleDescription !== '') {\n this._article.description = price.articleDescription;\n }\n }\n });\n this.description = this._article.name ? this._article.name : this._article.description;\n this.configurable = this._article.goodType === 'B';\n this.threeD = this._article.homeBrandId !== undefined;\n }\n }\n}\n","import { Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-label-field',\n templateUrl: './label-field.component.html',\n styleUrls: ['./label-field.component.scss']\n})\nexport class LabelFieldComponent {\n\n @Input()\n public label = '';\n\n @Input()\n public description: string;\n\n}\n","import { Component, EventEmitter, HostBinding, Input, OnInit, Output } from '@angular/core';\nimport { IconEnum } from '../../../enum/icon.enum';\nimport { SafeHtml } from '@angular/platform-browser';\nimport { IconCacheService } from '../../../service/icon-cache.service';\n\n@Component({\n selector: 'app-icon-handle',\n templateUrl: './icon-handle.component.html',\n styleUrls: ['./icon-handle.component.scss']\n})\nexport class IconHandleComponent implements OnInit {\n\n public readonly icons: typeof IconEnum = IconEnum;\n\n @Input()\n public set icon(value: IconEnum) {\n this.iconData = this._iconCache.getIcon(value);\n }\n\n @HostBinding('class.horizontal')\n @Input()\n public horizontal = false;\n\n @Output()\n public onHandleClick: EventEmitter<MouseEvent> = new EventEmitter<MouseEvent>();\n\n public iconData: SafeHtml | null;\n\n constructor(private _iconCache: IconCacheService) { }\n\n ngOnInit() {\n }\n\n}\n","import {Component, ElementRef, OnDestroy, OnInit, ViewChild} from '@angular/core';\nimport {ProductCatalogControllerService} from '../../../service/product-catalog-controller.service';\nimport {Subscription} from 'rxjs';\nimport {SliderComponent} from '@colijnit/corecomponents';\n\n@Component({\n selector: 'app-catalog',\n templateUrl: './catalog.component.html',\n styleUrls: ['./catalog.component.scss']\n})\nexport class CatalogComponent implements OnInit, OnDestroy {\n\n public layout: {} = {};\n\n @ViewChild('container', {read: ElementRef, static: true })\n public containerElement: ElementRef;\n\n private _subs: Subscription[] = [];\n\n constructor(\n public catalog: ProductCatalogControllerService\n ) {\n\n this._subs.push(\n this.catalog.showPageChanged.subscribe(() => {\n this.containerElement.nativeElement.scrollTo({ left: 0, top: 0, behavior: 'smooth' });\n })\n );\n\n }\n\n ngOnInit() {\n // this.catalog.articleSearchFilters.category = this.category;\n }\n\n ngOnDestroy() {\n this._subs.forEach((s) => {s.unsubscribe();})\n }\n\n}\n","import {Pipe, PipeTransform} from '@angular/core';\r\nimport { DictionaryService } from '../service/dictionary.service';\r\n\r\n@Pipe({\r\n name: 'localize'\r\n})\r\n// A pipe for localizing string values in view templates.\r\nexport class LocalizePipe implements PipeTransform {\r\n\r\n constructor(private _dictionaryService: DictionaryService) {}\r\n\r\n transform(value: string, upperCaseFirst: boolean = true, replace: string|string[] = []): string {\r\n if (!value) {\r\n return '';\r\n }\r\n replace = replace ? replace : [];\r\n if (!Array.isArray(replace)) {\r\n replace = [replace];\r\n }\r\n return this._dictionaryService.get(value, upperCaseFirst, ...replace);\r\n }\r\n}\r\n","export class BaseComponent {\r\n\r\n}\r\n","import {\n AfterViewInit,\n ChangeDetectorRef,\n ContentChildren,\n Directive,\n HostListener,\n Input,\n OnDestroy,\n OnInit,\n QueryList,\n TemplateRef,\n ViewContainerRef\n} from '@angular/core';\nimport { BaseComponent } from './base/base-component';\n\n@Directive({\n selector: '[layout]'\n})\nexport class LayoutDirective implements OnDestroy, AfterViewInit, OnInit {\n\n @ContentChildren(BaseComponent, { descendants: true })\n public comps: QueryList<BaseComponent>;\n\n @Input()\n public set layout(value: {}) {\n if (value) {\n this._layout = value;\n this._setLayout();\n }\n }\n\n @Input()\n public set layoutLayoutId(value: string) {\n this._layoutId = value;\n }\n\n public get layoutId(): string {\n return this._layoutId;\n }\n\n @HostListener('click')\n public test(): void {\n this._changeDetector.detectChanges();\n }\n\n private _layout: {};\n private _layoutId: string;\n\n constructor (private _templateRef: TemplateRef<any>, private _containerRef: ViewContainerRef, private _changeDetector: ChangeDetectorRef) {\n }\n\n ngOnDestroy(): void {\n this._containerRef = undefined;\n this._templateRef = undefined;\n }\n\n ngOnInit(): void {\n let view = this._containerRef.createEmbeddedView(this._templateRef, {});\n this._setLayout();\n }\n\n ngAfterViewInit(): void {\n }\n\n private _setLayout(): void {\n for (const key in this._layout) {\n if (this._layout.hasOwnProperty(key) && this.layoutId === key) {\n // found a layout for this element\n this._resetView(this._layout[key]);\n }\n }\n }\n\n private _resetView(layout: {}): void {\n let i: number = 0;\n let view = this._containerRef.get(0);\n // let subView = view.get()\n // while (view !== null) {\n // i++;\n // view = this._containerRef.get(i);\n // }\n }\n\n}\n","import {\n ChangeDetectorRef,\n Component,\n ComponentFactoryResolver,\n ElementRef,\n EventEmitter,\n Input,\n OnDestroy,\n OnInit,\n Output,\n ViewEncapsulation\n} from '@angular/core';\nimport {JsonUtilsService} from './utils/json-utils.service';\nimport {IOneControllerService} from './service/i-one-controller.service';\nimport {LanguageCode} from './enum/language-code.enum';\nimport {DictionaryService} from './service/dictionary.service';\nimport {GetArticlesForCatalogRequest} from '@colijnit/ioneconnector/build/model/get-articles-for-catalog';\nimport {OptionsService} from './service/options.service';\nimport {ProductCatalogControllerService} from './service/product-catalog-controller.service';\nimport {AppEventService} from './service/app-event.service';\nimport {Subscription} from 'rxjs';\nimport {SettingsService} from './service/settings.service';\nimport {ArticleExtendedDto} from '@colijnit/ioneconnector/build/model/article-extended-dto';\n\n@Component({\n selector: 'app-ione-catalog',\n templateUrl: './ione-catalog.component.html',\n styleUrls: ['./ione-catalog.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class IoneCatalogComponent implements OnInit, OnDestroy {\n\n @Input()\n public set settings(value: any) {\n if (value) {\n let settings: any;\n if (typeof value === 'string') {\n settings = JSON.parse(value);\n } else {\n settings = value;\n }\n this._settingsService.createSettingsFromObject(settings);\n }\n }\n\n public get settings(): any {\n return this._settings;\n }\n\n @Input()\n public set parameters(value: GetArticlesForCatalogRequest) {\n this._optionsService.parameters = value;\n }\n\n @Output()\n public onAddToCart: EventEmitter<string> = new EventEmitter<string>();\n\n @Output()\n public onAddToQuote: EventEmitter<string> = new EventEmitter<string>();\n\n @Output()\n public onLookAtArticleButtonClick: EventEmitter<ArticleExtendedDto> = new EventEmitter<ArticleExtendedDto>();\n\n @Output()\n public onAddArticleButtonClick: EventEmitter<string> = new EventEmitter<string>();\n\n @Output()\n public onArticleClick: EventEmitter<ArticleExtendedDto> = new EventEmitter<ArticleExtendedDto>();\n\n @Output()\n public onArButtonClick: EventEmitter<ArticleExtendedDto> = new EventEmitter<ArticleExtendedDto>();\n\n @Output()\n public onStockDetailsClick: EventEmitter<ArticleExtendedDto> = new EventEmitter<ArticleExtendedDto>();\n\n public _subs: Subscription[] = [];\n public upAndLoaded = false;\n public layout: {};\n\n private _settings: any;\n private _connectionSet = false;\n\n constructor (\n private _dictionary: DictionaryService,\n private _catalogService: ProductCatalogControllerService,\n private _componentFactoryResolver: ComponentFactoryResolver,\n private _jsonUtils: JsonUtilsService,\n private _ione: IOneControllerService,\n private _changeDetector: ChangeDetectorRef,\n private _optionsService: OptionsService,\n private _elementRef: ElementRef,\n private _appEventService: AppEventService,\n private _settingsService: SettingsService\n ) {\n this._getLayoutAndCreateComponents();\n this._subs.push(\n this._dictionary.dictionaryLoaded.subscribe(d => this.upAndLoaded = true),\n this._catalogService.categoryChanged.subscribe(category => this._scrollToTop()),\n this._catalogService.turnoverGroupChanged.subscribe(turnoverGroup => this._scrollToTop()),\n this._catalogService.searchTextChanged.subscribe(searchText => this._scrollToTop()),\n this._catalogService.showPageChanged.subscribe(searchText => this._scrollToTop()),\n this._appEventService.addArticleButtonClick.subscribe((json: string) => this.onAddArticleButtonClick.next(json)),\n this._appEventService.articleClick.subscribe((article: ArticleExtendedDto) => this.onArticleClick.next(article)),\n this._appEventService.lookAtArticleButtonClick.subscribe((article: ArticleExtendedDto) => this.onLookAtArticleButtonClick.next(article)),\n this._appEventService.arButtonClick.subscribe((article: ArticleExtendedDto) => this.onArButtonClick.next(article)),\n this._appEventService.stockDetailsClick.subscribe((article: ArticleExtendedDto) => this.onStockDetailsClick.next(article)),\n this._settingsService.settingsLoaded.subscribe((loaded: boolean) => {\n if (loaded) {\n this._initConnection();\n }\n })\n );\n }\n\n async ngOnInit(): Promise<void> {\n // this.settings = {\n // url: 'https://h3drp.colijn-it.nl/ione/',\n // schema: '3936',\n // version: '250',\n // branch: '1',\n // assetPath: 'https://cdn1.colijn-it.nl/content43/',\n // username: 'gast3',\n // password: 'gast3',\n // // languageCode: 'DE',\n // useEncryption: true,\n // additionalTranslationFile: 'https://cdn1.colijn-it.nl/content43/assets/homedecorator_nl_NL.json',\n // options: {\n // // showAddToCart: true,\n // // showPriceFilter: true,\n // // showLookAtArticleButton: true,\n // // lookAtArticleButtonText: 'look attt',\n // // showAddArticleButton: true,\n // // addArticleButtonText: 'addddd'\n // },\n // catalogParameters: {\n // showCustomizedArticles: false,\n // showConfigurableArticles: true,\n // showInactiveArticles: false,\n // showRegularArticles: true,\n // showCompositionArticles: false,\n // publicationCode: 64\n // }\n // };\n }\n\n ngOnDestroy(): void {\n this._subs.forEach(s => s.unsubscribe());\n }\n\n private _scrollToTop(): void {\n if (this._elementRef && this._elementRef.nativeElement) {\n this._elementRef.nativeElement.scrollTo({ top: 0, behavior: 'smooth' });\n }\n }\n\n private async _getLayoutAndCreateComponents(): Promise<void> {\n // this.layout = await this._jsonUtils.readJsonFile('layout/app-component.json');\n }\n\n // we need to prepare the settings before we can use it for the 3d configurator bundle\n private async _initConnection(): Promise<void> {\n await this._ione.initDefaultDevelopTestConnection(this._settingsService.settings, this._connectionSet);\n this._settingsService.settings.session = this._ione.connector.connector.session;\n await this._dictionary.setDictionary(LanguageCode.Dutch, this._settingsService.settings.additionalTranslationFile);\n setTimeout(() => {\n this._changeDetector.detectChanges();\n });\n this._settings = this._settingsService.settings;\n this._connectionSet = true;\n }\n}\n","import {Component, EventEmitter, Input, Output} from '@angular/core';\nimport {IconCacheService} from '../../../service/icon-cache.service';\nimport {IconEnum} from '../../../enum/icon.enum';\nimport {SafeHtml} from '@angular/platform-browser';\nimport {FilterItem} from '../../../interface/filter-item';\nimport {ProductCatalogControllerService} from '../../../service/product-catalog-controller.service';\nimport {Subscription} from 'rxjs';\n\n@Component({\n selector: 'app-filter-items',\n templateUrl: './filter-items.component.html',\n styleUrls: ['./filter-items.component.scss'],\n})\nexport class FilterItemsComponent {\n public icons: typeof IconEnum = IconEnum;\n\n @Input()\n public filterCollection: FilterItem[] = [];\n\n @Input()\n public description: string;\n\n @Input()\n public customColors: boolean = false;\n\n @Output()\n public filterCollectionChange: EventEmitter<void> = new EventEmitter<void>();\n\n public collapseIconData: SafeHtml;\n\n private _subs: Subscription[] = [];\n\n constructor(\n private _iconCache: IconCacheService,\n private _productCatalogControllerService: ProductCatalogControllerService\n ) {\n this.collapseIconData = this._iconCache.getIcon(this.icons.ArrowScrollLeft);\n this._subs.push(\n this._productCatalogControllerService.onResetFilters.subscribe(() => {\n this.resetFilterItems();\n })\n );\n }\n\n public handleInputClick(item: FilterItem, checked: boolean): void {\n item.active = checked;\n this.filterCollectionChange.next();\n }\n\n public resetFilterItems(): void {\n if (this.filterCollection !== undefined && this.filterCollection.length > 0) {\n this.filterCollection.forEach((x: FilterItem) => {\n x.active = false;\n });\n }\n }\n}\n","import {Pipe, PipeTransform} from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'greaterThanZero',\r\n pure: false\r\n})\r\nexport class GreaterThanZeroPipe implements PipeTransform {\r\n transform(items: any[], field: string): any {\r\n if (!items || !field) {\r\n return items;\r\n }\r\n return items.filter(item => item[field] > 0);\r\n }\r\n}\r\n","import {Injectable, OnDestroy} from '@angular/core';\nimport {ProductCatalogControllerService} from './product-catalog-controller.service';\nimport {IOneControllerService} from './i-one-controller.service';\nimport {Subscription} from 'rxjs';\nimport {ArticleCategory} from '@colijnit/ioneconnector/build/model/article-category';\nimport {OptionsService} from './options.service';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class NavigationService implements OnDestroy {\n private _subs: Subscription[] = [];\n private _connectionMade: boolean = false;\n private _optionsSet: boolean = false;\n public navigationCategories: ArticleCategory[] = [];\n\n constructor(\n private catalog: ProductCatalogControllerService,\n private iOne: IOneControllerService,\n private optionsService: OptionsService\n ) {\n this._subs.push(\n this.iOne.controllerInitialized.subscribe((initialized: boolean) => {\n if (initialized) {\n this._connectionMade = true;\n this.getCategories();\n }\n }),\n this.optionsService.parametersSet.subscribe((set: boolean) => {\n if (set) {\n this._optionsSet = true;\n this.getCategories();\n }\n })\n );\n }\n\n ngOnDestroy(): void {\n this._subs.forEach(s => s.unsubscribe());\n }\n\n public setCategory(category: string): void {\n this.catalog.category = category;\n }\n\n public setTurnoverGroup(turnoverGroup: string): void {\n this.catalog.turnoverGroup = turnoverGroup;\n }\n\n public async getCategories(): Promise<void> {\n if (this._optionsSet && this._connectionMade) {\n try {\n this.iOne.getArticleCategories(this.optionsService.parameters.publicationCode).then((cats: ArticleCategory[]) => {\n this.catalog.sortTurnoverGroups(cats);\n this.navigationCategories = cats;\n });\n } catch (e) {\n\n }\n }\n }\n}\n","import {Component, Input} from '@angular/core';\nimport {IconEnum} from '../../enum/icon.enum';\nimport {IconCacheService} from '../../service/icon-cache.service';\nimport {NavigationService} from '../../service/navigation.service';\n\n@Component({\n selector: 'app-ione-catalog-navigation',\n templateUrl: './navigation.component.html',\n styleUrls: ['./navigation.component.scss']\n})\nexport class NavigationComponent {\n public readonly icons: typeof IconEnum = IconEnum;\n\n @Input()\n public minified = false;\n\n public mobileMenuToggle = false;\n public popupTop: number;\n\n constructor(\n public iconCache: IconCacheService,\n public navigationService: NavigationService\n ) {}\n\n public onToggleMobileMenu() {\n this.mobileMenuToggle = !this.mobileMenuToggle;\n }\n\n public onSubMenuToggle(event: any) {\n event.preventDefault();\n const parentItem = event.currentTarget.closest('li');\n const parentClasses = parentItem.classList;\n if (parentClasses.contains('open')) {\n parentClasses.remove('open');\n } else {\n parentClasses.add('open');\n }\n }\n\n public onSetCategory(event: any, category: string) {\n if (!event.target.closest('.toggle_sub_menu') && !event.target.classList.contains('toggle_sub_menu')) {\n this.navigationService.setCategory(category);\n this.mobileMenuToggle = false;\n }\n }\n\n public onSetTurnoverGroup(event: any, turnoverGroup: string) {\n if (!event.target.closest('.toggle_sub_menu') && !event.target.classList.contains('toggle_sub_menu')) {\n this.navigationService.setTurnoverGroup(turnoverGroup);\n this.mobileMenuToggle = false;\n }\n }\n\n public onOpenSubMenu(event: MouseEvent) {\n const listItem: any = event.target;\n const rect: ClientRect = listItem.getBoundingClientRect();\n const rectParent: ClientRect = listItem.parentNode.getBoundingClientRect();\n this.popupTop = rect.bottom - rectParent.top;\n }\n}\n","import {NgModule} from \"@angular/core\";\nimport {TopContentComponent} from \"./components/top-content/top-content.component\";\nimport {MainContentComponent} from \"./components/main-content/main-content.component\";\nimport {LeftContentComponent} from \"./components/left-content/left-content.component\";\nimport {CatalogFilterComponent} from \"./components/catalog/catalog-filter/catalog-filter.component\";\nimport {CatalogPageComponent} from \"./components/catalog/catalog-page/catalog-page.component\";\nimport {ArticleCardComponent} from \"./components/catalog/article-card/article-card.component\";\nimport {LabelFieldComponent} from \"./components/core/label-field/label-field.component\";\nimport {IconHandleComponent} from \"./components/core/icon-handle/icon-handle.component\";\nimport {CatalogComponent} from \"./components/catalog/catalog/catalog.component\";\nimport {LocalizePipe} from \"./pipe/localize.pipe\";\nimport {LayoutDirective} from \"./layout.directive\";\nimport {IoneCatalogComponent} from \"./ione-catalog.component\";\nimport {FilterItemsComponent} from \"./components/catalog/filter-items/filter-items.component\";\nimport {GreaterThanZeroPipe} from \"./pipe/greater-than-zero.pipe\";\nimport {NavigationComponent} from \"./components/navigation/navigation.component\";\nimport {CommonModule} from \"@angular/common\";\nimport {\n ButtonModule,\n CardModule,\n IconModule,\n ImageModule,\n InputCheckboxModule,\n InputTextChipsModule,\n InputTextModule,\n InputYesNoModule,\n LevelIndicatorModule,\n PaginationModule,\n PriceDisplayPipeModule,\n SliderModule\n} from \"@colijnit/corecomponents\";\nimport {FormsModule} from \"@angular/forms\";\nimport {JsonUtilsService} from \"./utils/json-utils.service\";\nimport {IOneConnectorAdapterService} from \"./service/i-one-connector-adapter.service\";\nimport {ProductCatalogControllerService} from \"./service/product-catalog-controller.service\";\nimport {IOneControllerService} from \"./service/i-one-controller.service\";\nimport {UtilsService} from \"./utils/utils.service\";\nimport {OptionsService} from \"./service/options.service\";\nimport {NavigationService} from \"./service/navigation.service\";\nimport {DictionaryService} from \"./service/dictionary.service\";\nimport {SettingsService} from \"./service/settings.service\";\nimport {IconCacheService} from \"./service/icon-cache.service\";\nimport {BrowserAnimationsModule} from \"@angular/platform-browser/animations\";\n\n@NgModule({\n imports: [\n // BrowserAnimationsModule,\n CommonModule,\n InputTextModule,\n PaginationModule,\n CardModule,\n ButtonModule,\n LevelIndicatorModule,\n ImageModule,\n IconModule,\n PriceDisplayPipeModule,\n InputYesNoModule,\n SliderModule,\n InputTextChipsModule,\n InputCheckboxModule,\n FormsModule\n ],\n declarations: [\n IoneCatalogComponent,\n TopContentComponent,\n LeftContentComponent,\n MainContentComponent,\n LayoutDirective,\n CatalogFilterComponent,\n CatalogPageComponent,\n ArticleCardComponent,\n LabelFieldComponent,\n IconHandleComponent,\n CatalogComponent,\n LocalizePipe,\n GreaterThanZeroPipe,\n FilterItemsComponent,\n NavigationComponent\n ],\n providers: [\n SettingsService,\n DictionaryService,\n NavigationService,\n OptionsService,\n UtilsService,\n JsonUtilsService,\n IOneControllerService,\n IOneConnectorAdapterService,\n ProductCatalogControllerService,\n IconCacheService\n ],\n exports: [\n IoneCatalogComponent,\n NavigationComponent\n ],\n bootstrap: [\n IoneCatalogComponent,\n NavigationComponent\n ]\n})\nexport class IoneCatalogModule {\n\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n\nexport {BaseComponent as ɵp} from './app/base/base-component';\nexport {ArticleCardComponent as ɵs} from './app/components/catalog/article-card/article-card.component';\nexport {CatalogFilterComponent as ɵq} from './app/components/catalog/catalog-filter/catalog-filter.component';\nexport {CatalogPageComponent as ɵr} from './app/components/catalog/catalog-page/catalog-page.component';\nexport {CatalogComponent as ɵv} from './app/components/catalog/catalog/catalog.component';\nexport {FilterItemsComponent as ɵy} from './app/components/catalog/filter-items/filter-items.component';\nexport {IconHandleComponent as ɵu} from './app/components/core/icon-handle/icon-handle.component';\nexport {LabelFieldComponent as ɵt} from './app/components/core/label-field/label-field.component';\nexport {LeftContentComponent as ɵm} from './app/components/left-content/left-content.component';\nexport {MainContentComponent as ɵn} from './app/components/main-content/main-content.component';\nexport {NavigationComponent as ɵz} from './app/components/navigation/navigation.component';\nexport {TopContentComponent as ɵk} from './app/components/top-content/top-content.component';\nexport {IoneCatalogComponent as ɵa} from './app/ione-catalog.component';\nexport {LayoutDirective as ɵo} from './app/layout.directive';\nexport {GreaterThanZeroPipe as ɵx} from './app/pipe/greater-than-zero.pipe';\nexport {LocalizePipe as ɵw} from './app/pipe/localize.pipe';\nexport {AppEventService as ɵj} from './app/service/app-event.service';\nexport {DictionaryService as ɵb} from './app/service/dictionary.service';\nexport {IOneConnectorAdapterService as ɵf} from './app/service/i-one-connector-adapter.service';\nexport {IOneControllerService as ɵe} from './app/service/i-one-controller.service';\nexport {IconCacheService as ɵl} from './app/service/icon-cache.service';\nexport {NavigationService as ɵba} from './app/service/navigation.service';\nexport {OptionsService as ɵh} from './app/service/options.service';\nexport {ProductCatalogControllerService as ɵd} from './app/service/product-catalog-controller.service';\nexport {SettingsService as ɵi} from './app/service/settings.service';\nexport {JsonUtilsService as ɵc} from './app/utils/json-utils.service';\nexport {UtilsService as ɵg} from './app/utils/utils.service';"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAuBA;AACA;MAEa,2BAA2B;IAMtC;QAJgB,eAAU,GAAqB,IAAI,OAAO,EAAW,CAAC;KAKrE;IAEM,aAAa,CAA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