@colijnit/catalog 12.0.1 → 12.0.4
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 +2 -0
- package/app/components/navigation/navigation.component.d.ts +3 -0
- package/app/ione-catalog.component.d.ts +1 -0
- package/app/model/settings-options.d.ts +1 -0
- package/app/service/app-event.service.d.ts +1 -0
- package/app/service/options.service.d.ts +1 -0
- package/bundles/colijnit-catalog.umd.js +53 -35
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/app/components/catalog/article-card/article-card.component.js +8 -3
- package/esm2015/app/components/catalog/catalog/catalog.component.js +3 -3
- package/esm2015/app/components/catalog/catalog-filter/catalog-filter.component.js +1 -1
- package/esm2015/app/components/catalog/catalog-page/catalog-page.component.js +1 -1
- package/esm2015/app/components/catalog/filter-items/filter-items.component.js +3 -3
- package/esm2015/app/components/core/icon-handle/icon-handle.component.js +1 -1
- package/esm2015/app/components/navigation/navigation.component.js +5 -4
- package/esm2015/app/components/top-content/top-content.component.js +1 -1
- package/esm2015/app/ione-catalog.component.js +7 -5
- package/esm2015/app/ione-catalog.module.js +2 -3
- package/esm2015/app/model/settings-options.js +2 -1
- package/esm2015/app/service/app-event.service.js +2 -1
- package/esm2015/app/service/options.service.js +4 -1
- package/esm2015/app/service/product-catalog-controller.service.js +12 -6
- package/fesm2015/colijnit-catalog.js +42 -24
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colijnit-catalog.umd.js","sources":["../../node_modules/tslib/tslib.es6.js","../../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":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\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\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.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 {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\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 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\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.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 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://h3drp.colijn-it.nl/ione/',\n // schema: '3929',\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 {BrowserAnimationsModule} from \"@angular/platform-browser/animations\";\nimport {\n ButtonModule,\n CardModule,\n IconModule,\n ImageModule,\n InputCheckboxModule,\n InputTextChipsModule, 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\";\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":["Subject","Connector","Injectable","BehaviorSubject","Options","Color","Material","Brand","Design","ArticleGroup","Atmosphere","Concept","PagingParameters","material","brand","design","articleGroup","concept","DomSanitizer","Component","trigger","state","style","transition","animate","Input","ChangeDetectorRef","ViewChild","SliderComponent","HostBinding","PaginationComponent","EventEmitter","FileUtils","Output","HostListener","ElementRef","Pipe","Directive","TemplateRef","ViewContainerRef","ContentChildren","ViewEncapsulation","ComponentFactoryResolver","NgModule","BrowserAnimationsModule","CommonModule","InputTextModule","PaginationModule","CardModule","ButtonModule","LevelIndicatorModule","ImageModule","IconModule","PriceDisplayPipeModule","InputYesNoModule","SliderModule","InputTextChipsModule","InputCheckboxModule","FormsModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;IAAA;;;;;;;;;;;;;;IAcA;IAEA,IAAI,aAAa,GAAG,UAAS,CAAC,EAAE,CAAC;QAC7B,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU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BAAiB;wBACjB,iBAAiB;wBACjB,cAAc;wBACd,YAAY;wBACZ,gBAAgB;wBAChB,qBAAqB;wBACrB,2BAA2B;wBAC3B,+BAA+B;wBAC/B,gBAAgB;qBACnB;oBACD,OAAO,EAAE;wBACL,oBAAoB;wBACpB,mBAAmB;qBACtB;oBACD,SAAS,EAAE;wBACP,oBAAoB;wBACpB,mBAAmB;qBACtB;iBACJ;;;IClGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"colijnit-catalog.umd.js","sources":["../../node_modules/tslib/tslib.es6.js","../../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":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\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\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 stockButtonText: string = 'STOCK';\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 stockButtonText(): string {\r\n return this._settingsService.settings.options.stockButtonText;\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 handleStockDetailsButtonClick(event: MouseEvent): void {\n event.stopPropagation();\n this._appEventService.stockDetailsClick.next(this.article);\n\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.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 public popupHeight: number;\n public popupWidth: number;\n public popupLeft: 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.popupHeight = rectParent.height;\n this.popupLeft = rectParent.width;\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":["Subject","Connector","Injectable","BehaviorSubject","Options","Color","Material","Brand","Design","ArticleGroup","Atmosphere","Concept","PagingParameters","material","brand","design","articleGroup","concept","DomSanitizer","Component","trigger","state","style","transition","animate","Input","ChangeDetectorRef","ViewChild","SliderComponent","HostBinding","PaginationComponent","EventEmitter","FileUtils","Output","HostListener","ElementRef","Pipe","Directive","TemplateRef","ViewContainerRef","ContentChildren","ViewEncapsulation","ComponentFactoryResolver","NgModule","CommonModule","InputTextModule","PaginationModule","CardModule","ButtonModule","LevelIndicatorModule","ImageModule","IconModule","PriceDisplayPipeModule","InputYesNoModule","SliderModule","InputTextChipsModule","InputCheckboxModule","FormsModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;IAAA;;;;;;;;;;;;;;IAcA;IAEA,IAAI,aAAa,GAAG,UAAS,CAAC,EAAE,CAAC;QAC7B,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC;gBAAE,IAAI,MAAM,CAAC,SAAS,CAAC,c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