@colijnit/catalog 12.1.34 → 12.1.35
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/bundles/colijnit-catalog.umd.js +417 -226
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.d.ts +24 -35
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/colijnit-catalog.js +25 -36
- package/esm2015/lib/cache/service/business-object-cache-manager.service.js +2 -14
- package/esm2015/lib/cache/service/select-multiple-cache.service.js +2 -7
- package/esm2015/lib/cache/service/select-multiple-parameterized-cache.service.js +2 -7
- package/esm2015/lib/cache/service/select-single-cache.service.js +2 -7
- package/esm2015/lib/cache/service/select-single-parameterized-cache.service.js +2 -7
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/component/catalog-categories/catalog-categories.component.js +3 -2
- package/esm2015/lib/component/catalog-categories/catalog-categories.module.js +4 -3
- package/esm2015/lib/component/catalog-external-source/catalog-external-source.component.js +77 -34
- package/esm2015/lib/component/catalog-external-source/catalog-external-source.module.js +4 -2
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.component.js +33 -17
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.component.js +26 -10
- package/esm2015/lib/component/catalog-navigation/catalog-navigation.component.js +17 -8
- package/esm2015/lib/component/catalog-search/catalog-search.component.js +113 -15
- package/esm2015/lib/component/catalog-search/catalog-search.module.js +39 -2
- package/esm2015/lib/component/catalog-search-header/catalog-search-header.component.js +15 -4
- package/esm2015/lib/component/catalog-search-header/catalog-search-header.module.js +4 -3
- package/esm2015/lib/enum/external-settings.interface.js +2 -0
- package/esm2015/lib/enum/icon.enum.js +4 -1
- package/esm2015/lib/model/icon.js +5 -2
- package/esm2015/lib/model/settings.js +3 -2
- package/esm2015/lib/service/catalog-connector-adapter.service.js +25 -24
- package/esm2015/lib/service/catalog-connector.service.js +7 -11
- package/esm2015/lib/service/catalog-filter.service.js +14 -15
- package/esm2015/lib/service/catalog-image.service.js +2 -7
- package/esm2015/lib/service/catalog-navigation.service.js +83 -0
- package/esm2015/lib/service/catalog-options.service.js +2 -8
- package/esm2015/lib/service/catalog-search.service.js +2 -10
- package/esm2015/lib/service/catalog-settings.service.js +12 -12
- package/esm2015/lib/service/catalog.service.js +5 -18
- package/esm2015/public_api.js +13 -1
- package/fesm2015/colijnit-catalog.js +419 -169
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/cache/service/business-object-cache-manager.service.d.ts +1 -4
- package/lib/component/catalog-categories/catalog-categories.component.d.ts +2 -1
- package/lib/component/catalog-external-source/catalog-external-source.component.d.ts +34 -16
- package/lib/component/catalog-external-source/style/_layout.scss +0 -47
- package/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.component.d.ts +14 -8
- package/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.component.d.ts +10 -4
- package/lib/component/catalog-navigation/catalog-navigation.component.d.ts +1 -0
- package/lib/component/catalog-navigation/style/_layout.scss +2 -0
- package/lib/component/catalog-navigation/style/_material-definition.scss +6 -1
- package/lib/component/catalog-search/catalog-search.component.d.ts +17 -1
- package/lib/component/catalog-search/catalog-search.module.d.ts +2 -0
- package/lib/component/catalog-search/style/_layout.scss +47 -1
- package/lib/component/catalog-search/style/_material-definition.scss +31 -2
- package/lib/component/catalog-search-header/catalog-search-header.component.d.ts +7 -1
- package/lib/component/catalog-search-header/style/_layout.scss +4 -1
- package/lib/component/catalog-search-header/style/_material-definition.scss +2 -1
- package/lib/enum/external-settings.interface.d.ts +4 -0
- package/lib/enum/icon.enum.d.ts +4 -1
- package/lib/model/settings.d.ts +2 -1
- package/lib/service/catalog-connector-adapter.service.d.ts +10 -9
- package/lib/service/catalog-connector.service.d.ts +8 -7
- package/lib/service/catalog-navigation.service.d.ts +27 -0
- package/lib/service/catalog-settings.service.d.ts +1 -1
- package/lib/service/catalog.service.d.ts +1 -2
- package/lib/style/_variables.scss +21 -9
- package/package.json +3 -3
- package/public_api.d.ts +12 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, EventEmitter, Component, ViewEncapsulation, Input, Output, HostBinding, ChangeDetectorRef, ViewChild, ElementRef, Pipe, NgModule, Directive, HostListener
|
|
2
|
+
import { Injectable, EventEmitter, Component, ViewEncapsulation, Input, Output, HostBinding, ChangeDetectorRef, ViewChild, ElementRef, Pipe, NgModule, Host, Directive, HostListener } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
import { __awaiter } from 'tslib';
|
|
5
5
|
import { Subject, BehaviorSubject } from 'rxjs';
|
|
@@ -24,7 +24,7 @@ import { Category } from '@colijnit/mainapi/build/model/category.bo';
|
|
|
24
24
|
import { BusinessObjectFactory } from '@colijnit/ioneconnector/build/service/business-object-factory';
|
|
25
25
|
import { ObjectUtils } from '@colijnit/ioneconnector/build/utils/object-utils';
|
|
26
26
|
import { FileUtils } from '@colijnit/ioneconnector/build/utils/file-utils';
|
|
27
|
-
import { FilterViewmodel, FilterItemViewmodel, FilterItemModule, InputTextModule, ButtonModule, IconModule, InputDatePickerModule, IconCollapseHandleModule, ImageModule, OverlayModule, InputSearchModule, PaginationBarModule } from '@colijnit/corecomponents_v12';
|
|
27
|
+
import { FilterViewmodel, FilterItemViewmodel, FilterItemModule, InputTextModule, ButtonModule, IconModule, InputDatePickerModule, IconCollapseHandleModule, ImageModule, OverlayModule, OverlayService, InputSearchModule, PaginationBarModule } from '@colijnit/corecomponents_v12';
|
|
28
28
|
import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article-extended-request';
|
|
29
29
|
import { PagingParameters } from '@colijnit/ioneconnector/build/model/paging-parameters';
|
|
30
30
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
@@ -38,8 +38,8 @@ class Version {
|
|
|
38
38
|
constructor() {
|
|
39
39
|
this.name = "@colijnit/catalog";
|
|
40
40
|
this.description = "iOne Catalog module based on Angular 12";
|
|
41
|
-
this.symVer = "12.1.
|
|
42
|
-
this.publishDate = "
|
|
41
|
+
this.symVer = "12.1.35";
|
|
42
|
+
this.publishDate = "20-7-2023 17:36:18";
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -66,9 +66,10 @@ class SettingsOptions {
|
|
|
66
66
|
class Settings {
|
|
67
67
|
constructor() {
|
|
68
68
|
this.session = undefined;
|
|
69
|
-
this.
|
|
69
|
+
this.useLoginEncryption = true;
|
|
70
70
|
this.type = "V";
|
|
71
71
|
this.options = new SettingsOptions();
|
|
72
|
+
this.withCredentials = true;
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
75
|
|
|
@@ -196,14 +197,16 @@ class CatalogSettingsService {
|
|
|
196
197
|
get settings() {
|
|
197
198
|
return this._settings;
|
|
198
199
|
}
|
|
199
|
-
initializeSettings(
|
|
200
|
+
initializeSettings() {
|
|
200
201
|
return __awaiter(this, void 0, void 0, function* () {
|
|
201
202
|
// see if there's a json file for application settings
|
|
202
203
|
if (typeof settings === 'undefined') {
|
|
203
204
|
const jsonSettings = yield JsonUtils.ReadJsonFile('catalog-settings.json');
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
if (jsonSettings) {
|
|
206
|
+
this.settings = Object.assign(new Settings(), jsonSettings);
|
|
207
|
+
this.settings.options = Object.assign(new SettingsOptions(), this.settings.options);
|
|
208
|
+
this.settingsFinished();
|
|
209
|
+
}
|
|
207
210
|
}
|
|
208
211
|
else {
|
|
209
212
|
this.settings = Object.assign(new Settings(), settings);
|
|
@@ -248,7 +251,10 @@ class CatalogSettingsService {
|
|
|
248
251
|
this.settings.session = obj['session'];
|
|
249
252
|
}
|
|
250
253
|
if (obj.hasOwnProperty('useEncryption')) {
|
|
251
|
-
this.settings.
|
|
254
|
+
this.settings.useLoginEncryption = obj['useEncryption'];
|
|
255
|
+
}
|
|
256
|
+
if (obj.hasOwnProperty('useLoginEncryption')) {
|
|
257
|
+
this.settings.useLoginEncryption = obj['useLoginEncryption'];
|
|
252
258
|
}
|
|
253
259
|
if (obj.hasOwnProperty('additionalTranslationFile')) {
|
|
254
260
|
this.settings.additionalTranslationFile = obj['additionalTranslationFile'];
|
|
@@ -276,11 +282,8 @@ class CatalogSettingsService {
|
|
|
276
282
|
});
|
|
277
283
|
}
|
|
278
284
|
}
|
|
279
|
-
CatalogSettingsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CatalogSettingsService_Factory() { return new CatalogSettingsService(i0.ɵɵinject(DictionaryService)); }, token: CatalogSettingsService, providedIn: "root" });
|
|
280
285
|
CatalogSettingsService.decorators = [
|
|
281
|
-
{ type: Injectable
|
|
282
|
-
providedIn: 'root'
|
|
283
|
-
},] }
|
|
286
|
+
{ type: Injectable }
|
|
284
287
|
];
|
|
285
288
|
CatalogSettingsService.ctorParameters = () => [
|
|
286
289
|
{ type: DictionaryService }
|
|
@@ -312,18 +315,8 @@ class CatalogConnectorAdapterService {
|
|
|
312
315
|
}
|
|
313
316
|
this._initializing = true;
|
|
314
317
|
try {
|
|
315
|
-
this.connectorOptions
|
|
316
|
-
this.connectorOptions.
|
|
317
|
-
this.connectorOptions.version = settings.version;
|
|
318
|
-
this.connectorOptions.branch = settings.branch;
|
|
319
|
-
this.connectorOptions.username = settings.username;
|
|
320
|
-
this.connectorOptions.password = settings.password;
|
|
321
|
-
this.connectorOptions.session = settings.session;
|
|
322
|
-
this.connectorOptions.currencyId = settings.currency;
|
|
323
|
-
this.connectorOptions.useGroups = settings.useGroups;
|
|
324
|
-
this.connectorOptions.useRenders = settings.useRenders;
|
|
325
|
-
this.connectorOptions.useLoginEncryption = settings.useEncryption;
|
|
326
|
-
this.connectorOptions.languageCode = settings.languageCode;
|
|
318
|
+
this.connectorOptions = Object.assign(new Settings(), settings);
|
|
319
|
+
this.connectorOptions.options = Object.assign(new SettingsOptions(), this.connectorOptions.options);
|
|
327
320
|
this.assetPath = settings.assetPath;
|
|
328
321
|
this.connector = new Articles(this.connectorOptions);
|
|
329
322
|
this.connectorOptions.session = this.connector.session;
|
|
@@ -339,6 +332,19 @@ class CatalogConnectorAdapterService {
|
|
|
339
332
|
}
|
|
340
333
|
});
|
|
341
334
|
}
|
|
335
|
+
getCatalogBundleSettings(url, upId) {
|
|
336
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
337
|
+
const tempSettings = new Settings();
|
|
338
|
+
tempSettings.url = url;
|
|
339
|
+
tempSettings.schema = upId.toString();
|
|
340
|
+
const tempMainConnector = new MainApi(tempSettings);
|
|
341
|
+
const response = yield tempMainConnector.getPublicParams(upId);
|
|
342
|
+
if (response) {
|
|
343
|
+
return response.catalogSettings;
|
|
344
|
+
}
|
|
345
|
+
return "";
|
|
346
|
+
});
|
|
347
|
+
}
|
|
342
348
|
getArticlesForCatalog(params, showLoader = true) {
|
|
343
349
|
return __awaiter(this, void 0, void 0, function* () {
|
|
344
350
|
const response = yield this.connector.searchArticles(params, showLoader);
|
|
@@ -680,11 +686,8 @@ class CatalogConnectorAdapterService {
|
|
|
680
686
|
this._shouldShowLoader = showLoader;
|
|
681
687
|
}
|
|
682
688
|
}
|
|
683
|
-
CatalogConnectorAdapterService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CatalogConnectorAdapterService_Factory() { return new CatalogConnectorAdapterService(); }, token: CatalogConnectorAdapterService, providedIn: "root" });
|
|
684
689
|
CatalogConnectorAdapterService.decorators = [
|
|
685
|
-
{ type: Injectable
|
|
686
|
-
providedIn: "root"
|
|
687
|
-
},] }
|
|
690
|
+
{ type: Injectable }
|
|
688
691
|
];
|
|
689
692
|
|
|
690
693
|
// Class represents a value that is to be loaded only once, lazily, by its .loadFunction, despite how many times or how fast its getValue() is called.
|
|
@@ -834,14 +837,6 @@ class BusinessObjectCacheManagerService {
|
|
|
834
837
|
this._selectSingleCache = new Map();
|
|
835
838
|
this._selectSingleParameterizedCache = new Map();
|
|
836
839
|
}
|
|
837
|
-
// constructor(private _transactionService: TransactionService) {
|
|
838
|
-
// this._logoutSub = this._transactionService.logout.subscribe(() => {
|
|
839
|
-
// this._reset();
|
|
840
|
-
// });
|
|
841
|
-
// }
|
|
842
|
-
ngOnDestroy() {
|
|
843
|
-
this._logoutSub.unsubscribe();
|
|
844
|
-
}
|
|
845
840
|
/**
|
|
846
841
|
* Creates and adds a new simple cache item for the given key with the given load function.
|
|
847
842
|
* @param key
|
|
@@ -950,11 +945,8 @@ class BusinessObjectCacheManagerService {
|
|
|
950
945
|
}
|
|
951
946
|
}
|
|
952
947
|
BusinessObjectCacheManagerService._NullBoId = -1;
|
|
953
|
-
BusinessObjectCacheManagerService.ɵprov = i0.ɵɵdefineInjectable({ factory: function BusinessObjectCacheManagerService_Factory() { return new BusinessObjectCacheManagerService(); }, token: BusinessObjectCacheManagerService, providedIn: "root" });
|
|
954
948
|
BusinessObjectCacheManagerService.decorators = [
|
|
955
|
-
{ type: Injectable
|
|
956
|
-
providedIn: "root"
|
|
957
|
-
},] }
|
|
949
|
+
{ type: Injectable }
|
|
958
950
|
];
|
|
959
951
|
|
|
960
952
|
class SelectSingleCacheService {
|
|
@@ -973,11 +965,8 @@ class SelectSingleCacheService {
|
|
|
973
965
|
return this._boCacheManager.addNewSelectSingleCacheItem(clazz, sourceId, loadFunction);
|
|
974
966
|
}
|
|
975
967
|
}
|
|
976
|
-
SelectSingleCacheService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SelectSingleCacheService_Factory() { return new SelectSingleCacheService(i0.ɵɵinject(BusinessObjectCacheManagerService)); }, token: SelectSingleCacheService, providedIn: "root" });
|
|
977
968
|
SelectSingleCacheService.decorators = [
|
|
978
|
-
{ type: Injectable
|
|
979
|
-
providedIn: "root"
|
|
980
|
-
},] }
|
|
969
|
+
{ type: Injectable }
|
|
981
970
|
];
|
|
982
971
|
SelectSingleCacheService.ctorParameters = () => [
|
|
983
972
|
{ type: BusinessObjectCacheManagerService }
|
|
@@ -1006,11 +995,8 @@ class SelectMultipleCacheService {
|
|
|
1006
995
|
}
|
|
1007
996
|
}
|
|
1008
997
|
SelectMultipleCacheService._NullCache = new CacheField();
|
|
1009
|
-
SelectMultipleCacheService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SelectMultipleCacheService_Factory() { return new SelectMultipleCacheService(i0.ɵɵinject(BusinessObjectCacheManagerService)); }, token: SelectMultipleCacheService, providedIn: "root" });
|
|
1010
998
|
SelectMultipleCacheService.decorators = [
|
|
1011
|
-
{ type: Injectable
|
|
1012
|
-
providedIn: "root"
|
|
1013
|
-
},] }
|
|
999
|
+
{ type: Injectable }
|
|
1014
1000
|
];
|
|
1015
1001
|
SelectMultipleCacheService.ctorParameters = () => [
|
|
1016
1002
|
{ type: BusinessObjectCacheManagerService }
|
|
@@ -1048,11 +1034,8 @@ class SelectMultipleParameterizedCacheService {
|
|
|
1048
1034
|
return this._boCacheManager.addNewSelectMultipleParameterizedCacheItem(clazz, loadFunction);
|
|
1049
1035
|
}
|
|
1050
1036
|
}
|
|
1051
|
-
SelectMultipleParameterizedCacheService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SelectMultipleParameterizedCacheService_Factory() { return new SelectMultipleParameterizedCacheService(i0.ɵɵinject(BusinessObjectCacheManagerService)); }, token: SelectMultipleParameterizedCacheService, providedIn: "root" });
|
|
1052
1037
|
SelectMultipleParameterizedCacheService.decorators = [
|
|
1053
|
-
{ type: Injectable
|
|
1054
|
-
providedIn: "root"
|
|
1055
|
-
},] }
|
|
1038
|
+
{ type: Injectable }
|
|
1056
1039
|
];
|
|
1057
1040
|
SelectMultipleParameterizedCacheService.ctorParameters = () => [
|
|
1058
1041
|
{ type: BusinessObjectCacheManagerService }
|
|
@@ -1090,11 +1073,8 @@ class SelectSingleParameterizedCacheService {
|
|
|
1090
1073
|
return this._boCacheManager.addNewSelectSingleParameterizedCacheItem(clazz, loadFunction);
|
|
1091
1074
|
}
|
|
1092
1075
|
}
|
|
1093
|
-
SelectSingleParameterizedCacheService.ɵprov = i0.ɵɵdefineInjectable({ factory: function SelectSingleParameterizedCacheService_Factory() { return new SelectSingleParameterizedCacheService(i0.ɵɵinject(BusinessObjectCacheManagerService)); }, token: SelectSingleParameterizedCacheService, providedIn: "root" });
|
|
1094
1076
|
SelectSingleParameterizedCacheService.decorators = [
|
|
1095
|
-
{ type: Injectable
|
|
1096
|
-
providedIn: "root"
|
|
1097
|
-
},] }
|
|
1077
|
+
{ type: Injectable }
|
|
1098
1078
|
];
|
|
1099
1079
|
SelectSingleParameterizedCacheService.ctorParameters = () => [
|
|
1100
1080
|
{ type: BusinessObjectCacheManagerService }
|
|
@@ -1114,6 +1094,11 @@ class CatalogConnectorService {
|
|
|
1114
1094
|
yield this._adapterService.initConnector(settings, forceReload);
|
|
1115
1095
|
});
|
|
1116
1096
|
}
|
|
1097
|
+
getCatalogBundleSettings(url, upId) {
|
|
1098
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1099
|
+
return this._adapterService.getCatalogBundleSettings(url, upId);
|
|
1100
|
+
});
|
|
1101
|
+
}
|
|
1117
1102
|
getArticlesForCatalog(params, showLoader = true) {
|
|
1118
1103
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1119
1104
|
return this._adapterService.getArticlesForCatalog(params, showLoader);
|
|
@@ -1246,11 +1231,8 @@ class CatalogConnectorService {
|
|
|
1246
1231
|
return this._adapterService.getJsonArticleFlatTree(goodId, goodType, quantity, showLoader, undefined, configuratorStatistics);
|
|
1247
1232
|
}
|
|
1248
1233
|
}
|
|
1249
|
-
CatalogConnectorService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CatalogConnectorService_Factory() { return new CatalogConnectorService(i0.ɵɵinject(CatalogConnectorAdapterService), i0.ɵɵinject(SelectSingleCacheService), i0.ɵɵinject(SelectMultipleCacheService), i0.ɵɵinject(SelectMultipleParameterizedCacheService), i0.ɵɵinject(SelectSingleParameterizedCacheService)); }, token: CatalogConnectorService, providedIn: "root" });
|
|
1250
1234
|
CatalogConnectorService.decorators = [
|
|
1251
|
-
{ type: Injectable
|
|
1252
|
-
providedIn: 'root'
|
|
1253
|
-
},] }
|
|
1235
|
+
{ type: Injectable }
|
|
1254
1236
|
];
|
|
1255
1237
|
CatalogConnectorService.ctorParameters = () => [
|
|
1256
1238
|
{ type: CatalogConnectorAdapterService },
|
|
@@ -1334,11 +1316,8 @@ class CatalogOptionsService {
|
|
|
1334
1316
|
return this._parameters;
|
|
1335
1317
|
}
|
|
1336
1318
|
}
|
|
1337
|
-
CatalogOptionsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CatalogOptionsService_Factory() { return new CatalogOptionsService(i0.ɵɵinject(DictionaryService), i0.ɵɵinject(CatalogSettingsService)); }, token: CatalogOptionsService, providedIn: "root" });
|
|
1338
1319
|
CatalogOptionsService.decorators = [
|
|
1339
|
-
{ type: Injectable
|
|
1340
|
-
providedIn: 'root'
|
|
1341
|
-
},] }
|
|
1320
|
+
{ type: Injectable }
|
|
1342
1321
|
];
|
|
1343
1322
|
CatalogOptionsService.ctorParameters = () => [
|
|
1344
1323
|
{ type: DictionaryService },
|
|
@@ -1454,11 +1433,8 @@ class CatalogImageService {
|
|
|
1454
1433
|
}
|
|
1455
1434
|
}
|
|
1456
1435
|
}
|
|
1457
|
-
CatalogImageService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CatalogImageService_Factory() { return new CatalogImageService(i0.ɵɵinject(CatalogConnectorService)); }, token: CatalogImageService, providedIn: "root" });
|
|
1458
1436
|
CatalogImageService.decorators = [
|
|
1459
|
-
{ type: Injectable
|
|
1460
|
-
providedIn: 'root'
|
|
1461
|
-
},] }
|
|
1437
|
+
{ type: Injectable }
|
|
1462
1438
|
];
|
|
1463
1439
|
CatalogImageService.ctorParameters = () => [
|
|
1464
1440
|
{ type: CatalogConnectorService }
|
|
@@ -1570,26 +1546,27 @@ class CatalogFilterService {
|
|
|
1570
1546
|
}
|
|
1571
1547
|
createFilterSelectionsCollection(collection, id, description) {
|
|
1572
1548
|
let returnCollection = [];
|
|
1573
|
-
collection.
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1549
|
+
if (collection && Array.isArray(collection)) {
|
|
1550
|
+
collection.forEach((collectionObject) => {
|
|
1551
|
+
let model = new FilterItemViewmodel(collectionObject[id], collectionObject[description], false);
|
|
1552
|
+
returnCollection.push(model);
|
|
1553
|
+
});
|
|
1554
|
+
}
|
|
1577
1555
|
return returnCollection;
|
|
1578
1556
|
}
|
|
1579
1557
|
createFilterSelectionsSupplierCollection(collection) {
|
|
1580
1558
|
let returnCollection = [];
|
|
1581
|
-
collection.
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1559
|
+
if (collection && Array.isArray(collection)) {
|
|
1560
|
+
collection.forEach((collectionObject) => {
|
|
1561
|
+
let model = new FilterItemViewmodel(collectionObject.relationNr, collectionObject.displayName, false);
|
|
1562
|
+
returnCollection.push(model);
|
|
1563
|
+
});
|
|
1564
|
+
}
|
|
1585
1565
|
return returnCollection;
|
|
1586
1566
|
}
|
|
1587
1567
|
}
|
|
1588
|
-
CatalogFilterService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CatalogFilterService_Factory() { return new CatalogFilterService(i0.ɵɵinject(CatalogConnectorService)); }, token: CatalogFilterService, providedIn: "root" });
|
|
1589
1568
|
CatalogFilterService.decorators = [
|
|
1590
|
-
{ type: Injectable
|
|
1591
|
-
providedIn: 'root'
|
|
1592
|
-
},] }
|
|
1569
|
+
{ type: Injectable }
|
|
1593
1570
|
];
|
|
1594
1571
|
CatalogFilterService.ctorParameters = () => [
|
|
1595
1572
|
{ type: CatalogConnectorService }
|
|
@@ -1760,11 +1737,8 @@ class CatalogSearchService {
|
|
|
1760
1737
|
// this._filterText = searchText;
|
|
1761
1738
|
}
|
|
1762
1739
|
}
|
|
1763
|
-
CatalogSearchService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CatalogSearchService_Factory() { return new CatalogSearchService(i0.ɵɵinject(CatalogFilterService), i0.ɵɵinject(CatalogConnectorService), i0.ɵɵinject(CatalogSettingsService), i0.ɵɵinject(CatalogOptionsService)); }, token: CatalogSearchService, providedIn: "root" });
|
|
1764
1740
|
CatalogSearchService.decorators = [
|
|
1765
|
-
{ type: Injectable
|
|
1766
|
-
providedIn: "root"
|
|
1767
|
-
},] }
|
|
1741
|
+
{ type: Injectable }
|
|
1768
1742
|
];
|
|
1769
1743
|
CatalogSearchService.ctorParameters = () => [
|
|
1770
1744
|
{ type: CatalogFilterService },
|
|
@@ -1774,13 +1748,12 @@ CatalogSearchService.ctorParameters = () => [
|
|
|
1774
1748
|
];
|
|
1775
1749
|
|
|
1776
1750
|
class CatalogService {
|
|
1777
|
-
constructor(connector, connectorAdapter, settingsService, optionsService, _imageService,
|
|
1751
|
+
constructor(connector, connectorAdapter, settingsService, optionsService, _imageService, _filterService, _catalogSearchService) {
|
|
1778
1752
|
this.connector = connector;
|
|
1779
1753
|
this.connectorAdapter = connectorAdapter;
|
|
1780
1754
|
this.settingsService = settingsService;
|
|
1781
1755
|
this.optionsService = optionsService;
|
|
1782
1756
|
this._imageService = _imageService;
|
|
1783
|
-
this._settingsService = _settingsService;
|
|
1784
1757
|
this._filterService = _filterService;
|
|
1785
1758
|
this._catalogSearchService = _catalogSearchService;
|
|
1786
1759
|
this.externalSourceChanged = new BehaviorSubject(undefined);
|
|
@@ -1810,7 +1783,7 @@ class CatalogService {
|
|
|
1810
1783
|
if (initialized) {
|
|
1811
1784
|
this._controllerInitialized = true;
|
|
1812
1785
|
// this.ensureDataListsLoaded();
|
|
1813
|
-
this.articlesPerPage = this.
|
|
1786
|
+
this.articlesPerPage = this.settingsService.settings.options.maxItemsPerPage;
|
|
1814
1787
|
// if (this._settingsService.settings.options.searchOnStart) {
|
|
1815
1788
|
// this._catalogSearchService.searchArticles();
|
|
1816
1789
|
// }
|
|
@@ -1883,7 +1856,7 @@ class CatalogService {
|
|
|
1883
1856
|
}
|
|
1884
1857
|
init(settings, forceReload = false) {
|
|
1885
1858
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1886
|
-
yield this.settingsService.
|
|
1859
|
+
yield this.settingsService.createSettingsFromObject(settings);
|
|
1887
1860
|
yield this.connector.initConnector(this.settingsService.settings, forceReload);
|
|
1888
1861
|
});
|
|
1889
1862
|
}
|
|
@@ -1919,11 +1892,8 @@ class CatalogService {
|
|
|
1919
1892
|
this.showExternalSource = false;
|
|
1920
1893
|
}
|
|
1921
1894
|
}
|
|
1922
|
-
CatalogService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CatalogService_Factory() { return new CatalogService(i0.ɵɵinject(CatalogConnectorService), i0.ɵɵinject(CatalogConnectorAdapterService), i0.ɵɵinject(CatalogSettingsService), i0.ɵɵinject(CatalogOptionsService), i0.ɵɵinject(CatalogImageService), i0.ɵɵinject(CatalogSettingsService), i0.ɵɵinject(CatalogFilterService), i0.ɵɵinject(CatalogSearchService)); }, token: CatalogService, providedIn: "root" });
|
|
1923
1895
|
CatalogService.decorators = [
|
|
1924
|
-
{ type: Injectable
|
|
1925
|
-
providedIn: 'root'
|
|
1926
|
-
},] }
|
|
1896
|
+
{ type: Injectable }
|
|
1927
1897
|
];
|
|
1928
1898
|
CatalogService.ctorParameters = () => [
|
|
1929
1899
|
{ type: CatalogConnectorService },
|
|
@@ -1931,7 +1901,6 @@ CatalogService.ctorParameters = () => [
|
|
|
1931
1901
|
{ type: CatalogSettingsService },
|
|
1932
1902
|
{ type: CatalogOptionsService },
|
|
1933
1903
|
{ type: CatalogImageService },
|
|
1934
|
-
{ type: CatalogSettingsService },
|
|
1935
1904
|
{ type: CatalogFilterService },
|
|
1936
1905
|
{ type: CatalogSearchService }
|
|
1937
1906
|
];
|
|
@@ -1982,7 +1951,7 @@ CatalogCategoriesComponent.decorators = [
|
|
|
1982
1951
|
{ type: Component, args: [{
|
|
1983
1952
|
selector: 'co-catalog-categories',
|
|
1984
1953
|
template: `
|
|
1985
|
-
<div class="catalog-categories-wrapper">
|
|
1954
|
+
<div class="catalog-categories-wrapper" [overlay]="parentForOverlay">
|
|
1986
1955
|
<ng-container *ngIf="categories && categories.length > 0">
|
|
1987
1956
|
<div class="categories-wrapper">
|
|
1988
1957
|
<div class="category-item" *ngFor="let category of categories" (click)="handleCategoryClick($event, category.category)">
|
|
@@ -2022,6 +1991,7 @@ CatalogCategoriesComponent.propDecorators = {
|
|
|
2022
1991
|
showTurnoverGroups: [{ type: Input }],
|
|
2023
1992
|
categoryClick: [{ type: Output }],
|
|
2024
1993
|
turnoverGroupClick: [{ type: Output }],
|
|
1994
|
+
parentForOverlay: [{ type: Input }],
|
|
2025
1995
|
showClass: [{ type: HostBinding, args: ['class.co-catalog-categories',] }]
|
|
2026
1996
|
};
|
|
2027
1997
|
|
|
@@ -2032,7 +2002,9 @@ var IconEnum;
|
|
|
2032
2002
|
IconEnum["Ar"] = "ar";
|
|
2033
2003
|
IconEnum["ArrowScrollDown"] = "arrow_scroll_down";
|
|
2034
2004
|
IconEnum["ArrowScrollLeft"] = "arrow_scroll_left";
|
|
2005
|
+
IconEnum["BarsFilter"] = "bars_filter";
|
|
2035
2006
|
IconEnum["Camera"] = "camera";
|
|
2007
|
+
IconEnum["Cancel"] = "cancel";
|
|
2036
2008
|
IconEnum["Check"] = "check";
|
|
2037
2009
|
IconEnum["Close"] = "close";
|
|
2038
2010
|
IconEnum["Eye"] = "eye";
|
|
@@ -2048,6 +2020,7 @@ var IconEnum;
|
|
|
2048
2020
|
IconEnum["ThreeD"] = "three_d";
|
|
2049
2021
|
IconEnum["TileView"] = "tile_view";
|
|
2050
2022
|
IconEnum["Truck"] = "truck";
|
|
2023
|
+
IconEnum["WebCatalog"] = "web_catalog";
|
|
2051
2024
|
})(IconEnum || (IconEnum = {}));
|
|
2052
2025
|
|
|
2053
2026
|
/** AUTO GENERATED FILE. DO NOT CHANGE.. **/
|
|
@@ -2056,7 +2029,9 @@ const IconSvg = {
|
|
|
2056
2029
|
"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>",
|
|
2057
2030
|
"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>",
|
|
2058
2031
|
"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>",
|
|
2032
|
+
"bars_filter": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path fill=\"#494f61\" d=\"M264 392H183.1C170.8 392 160 402.8 160 415.1C160 429.2 170.8 440 183.1 440h80C277.2 440 288 429.2 288 416C288 402.8 277.2 392 264 392zM424 72H23.1C10.8 72 0 82.8 0 95.1S10.8 120 23.1 120H424c13.2 0 24-10.8 24-23.1S437.2 72 424 72zM360 232H87.1C74.8 232 64 242.8 64 255.1C64 269.2 74.8 280 87.1 280h272C373.2 280 384 269.2 384 256C384 242.8 373.2 232 360 232z\"/></svg>",
|
|
2059
2033
|
"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>",
|
|
2034
|
+
"cancel": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><g><polygon points=\"26 25.16 20.45 25.16 4 4.84 9.55 4.84 26 25.16\" fill=\"#484f60\"/><polygon points=\"4 25.16 9.55 25.16 26 4.84 20.45 4.84 4 25.16\" fill=\"#484f60\"/></g></g></svg>",
|
|
2060
2035
|
"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:#3E7EFF;fill-opacity:1;stroke-width:1.21387255\" /></svg>",
|
|
2061
2036
|
"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>",
|
|
2062
2037
|
"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>",
|
|
@@ -2071,7 +2046,8 @@ const IconSvg = {
|
|
|
2071
2046
|
"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>",
|
|
2072
2047
|
"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>",
|
|
2073
2048
|
"tile_view": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><g><rect x=\"16\" y=\"2.67\" width=\"14\" height=\"7\" fill=\"#484f60\"/><rect y=\"2.67\" width=\"14\" height=\"7\" fill=\"#484f60\"/><rect y=\"11.67\" width=\"14\" height=\"7\" fill=\"#484f60\"/><rect x=\"16\" y=\"11.67\" width=\"14\" height=\"7\" fill=\"#484f60\"/><rect y=\"20.67\" width=\"14\" height=\"7\" fill=\"#484f60\"/><rect x=\"16\" y=\"20.67\" width=\"14\" height=\"7\" fill=\"#484f60\"/></g></g></svg>",
|
|
2074
|
-
"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>"
|
|
2049
|
+
"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>",
|
|
2050
|
+
"web_catalog": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 30 30\"><g ><g><path d=\"M30,4.2c0-1.66-1.34-3-3-3H10.35V7.65H30v-3.45Z\" fill=\"#484f60\"/><path d=\"M3,1.2C1.34,1.2,0,2.54,0,4.2v3.45H8.85V1.2H3Z\" fill=\"#484f60\"/><path d=\"M0,9.15V25.8c0,1.66,1.34,3,3,3H27c1.66,0,3-1.34,3-3V9.15H0Zm7.2,10.45H3.6v-1.2h3.6v1.2Zm0-3.2H3.6v-1.2h3.6v1.2Zm0-3.2H3.6v-1.2h3.6v1.2Zm7.37,12.3c0,.28-.22,.5-.5,.5h-3c-.28,0-.5-.22-.5-.5v-5c0-.28,.22-.5,.5-.5h3c.28,0,.5,.22,.5,.5v5Zm0-8c0,.28-.22,.5-.5,.5h-3c-.28,0-.5-.22-.5-.5v-5c0-.28,.22-.5,.5-.5h3c.28,0,.5,.22,.5,.5v5Zm6,8c0,.28-.22,.5-.5,.5h-3c-.28,0-.5-.22-.5-.5v-5c0-.28,.22-.5,.5-.5h3c.28,0,.5,.22,.5,.5v5Zm0-8c0,.28-.22,.5-.5,.5h-3c-.28,0-.5-.22-.5-.5v-5c0-.28,.22-.5,.5-.5h3c.28,0,.5,.22,.5,.5v5Zm6,8c0,.28-.22,.5-.5,.5h-3c-.28,0-.5-.22-.5-.5v-5c0-.28,.22-.5,.5-.5h3c.28,0,.5,.22,.5,.5v5Zm0-8c0,.28-.22,.5-.5,.5h-3c-.28,0-.5-.22-.5-.5v-5c0-.28,.22-.5,.5-.5h3c.28,0,.5,.22,.5,.5v5Z\" fill=\"#484f60\"/></g></g></svg>"
|
|
2075
2051
|
};
|
|
2076
2052
|
|
|
2077
2053
|
class IconCacheService {
|
|
@@ -2326,14 +2302,16 @@ CatalogFilterCategoriesModule.decorators = [
|
|
|
2326
2302
|
];
|
|
2327
2303
|
|
|
2328
2304
|
class CatalogFilterContentGeneralComponent {
|
|
2329
|
-
constructor(catalogSearchService, filterService, iconCache, _catalogConnectorService) {
|
|
2305
|
+
constructor(catalogSearchService, filterService, iconCache, _catalogConnectorService, _adapterService) {
|
|
2330
2306
|
this.catalogSearchService = catalogSearchService;
|
|
2331
2307
|
this.filterService = filterService;
|
|
2332
2308
|
this.iconCache = iconCache;
|
|
2333
2309
|
this._catalogConnectorService = _catalogConnectorService;
|
|
2310
|
+
this._adapterService = _adapterService;
|
|
2334
2311
|
this.icons = IconEnum;
|
|
2335
2312
|
this._min = 0;
|
|
2336
2313
|
this._max = 100000;
|
|
2314
|
+
this._subs = [];
|
|
2337
2315
|
this.supplierDropdownFields = { text: "description", value: "storeGroupId" };
|
|
2338
2316
|
this.getRetail = (barcodeFilter) => __awaiter(this, void 0, void 0, function* () {
|
|
2339
2317
|
const request = new ArticleExtendedRequest();
|
|
@@ -2347,6 +2325,16 @@ class CatalogFilterContentGeneralComponent {
|
|
|
2347
2325
|
return true;
|
|
2348
2326
|
}
|
|
2349
2327
|
ngOnInit() {
|
|
2328
|
+
this._subs.push(this._adapterService.controllerInitialized.subscribe((initialized) => {
|
|
2329
|
+
if (initialized) {
|
|
2330
|
+
this._setCollections();
|
|
2331
|
+
}
|
|
2332
|
+
}));
|
|
2333
|
+
}
|
|
2334
|
+
ngOnDestroy() {
|
|
2335
|
+
this._subs.forEach(s => s.unsubscribe());
|
|
2336
|
+
}
|
|
2337
|
+
_setCollections() {
|
|
2350
2338
|
this._setStoreGroups();
|
|
2351
2339
|
this._setInOutCollection();
|
|
2352
2340
|
this._setArticleTypes();
|
|
@@ -2389,11 +2377,13 @@ class CatalogFilterContentGeneralComponent {
|
|
|
2389
2377
|
_setPriceList() {
|
|
2390
2378
|
let tempPriceListsSalesCollection = [];
|
|
2391
2379
|
this._catalogConnectorService.getPriceLists().then((priceLists) => {
|
|
2392
|
-
priceLists.
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2380
|
+
if (priceLists && Array.isArray(priceLists)) {
|
|
2381
|
+
priceLists.forEach((list) => {
|
|
2382
|
+
if (list.type.indexOf("I") != -1) {
|
|
2383
|
+
tempPriceListsSalesCollection.push(list);
|
|
2384
|
+
}
|
|
2385
|
+
});
|
|
2386
|
+
}
|
|
2397
2387
|
this.priceListsSalesCollection = this.filterService.createFilterSelectionsCollection(tempPriceListsSalesCollection, "code", "description");
|
|
2398
2388
|
});
|
|
2399
2389
|
}
|
|
@@ -2684,7 +2674,8 @@ CatalogFilterContentGeneralComponent.ctorParameters = () => [
|
|
|
2684
2674
|
{ type: CatalogSearchService },
|
|
2685
2675
|
{ type: CatalogFilterService },
|
|
2686
2676
|
{ type: IconCacheService },
|
|
2687
|
-
{ type: CatalogConnectorService }
|
|
2677
|
+
{ type: CatalogConnectorService },
|
|
2678
|
+
{ type: CatalogConnectorAdapterService }
|
|
2688
2679
|
];
|
|
2689
2680
|
CatalogFilterContentGeneralComponent.propDecorators = {
|
|
2690
2681
|
showClass: [{ type: HostBinding, args: ['class.co-catalog-filter',] }]
|
|
@@ -2712,17 +2703,29 @@ CatalogFilterContentGeneralModule.decorators = [
|
|
|
2712
2703
|
];
|
|
2713
2704
|
|
|
2714
2705
|
class CatalogFilterContentPurchaseComponent {
|
|
2715
|
-
constructor(catalogSearchService, iconCache, _catalogConnectorService,
|
|
2706
|
+
constructor(catalogSearchService, iconCache, filterService, _catalogConnectorService, _adapterService) {
|
|
2716
2707
|
this.catalogSearchService = catalogSearchService;
|
|
2717
2708
|
this.iconCache = iconCache;
|
|
2718
|
-
this._catalogConnectorService = _catalogConnectorService;
|
|
2719
2709
|
this.filterService = filterService;
|
|
2710
|
+
this._catalogConnectorService = _catalogConnectorService;
|
|
2711
|
+
this._adapterService = _adapterService;
|
|
2720
2712
|
this.icons = IconEnum;
|
|
2713
|
+
this._subs = [];
|
|
2721
2714
|
}
|
|
2722
2715
|
showClass() {
|
|
2723
2716
|
return true;
|
|
2724
2717
|
}
|
|
2725
2718
|
ngOnInit() {
|
|
2719
|
+
this._subs.push(this._adapterService.controllerInitialized.subscribe((initialized) => {
|
|
2720
|
+
if (initialized) {
|
|
2721
|
+
this._setCollections();
|
|
2722
|
+
}
|
|
2723
|
+
}));
|
|
2724
|
+
}
|
|
2725
|
+
ngOnDestroy() {
|
|
2726
|
+
this._subs.forEach(s => s.unsubscribe());
|
|
2727
|
+
}
|
|
2728
|
+
_setCollections() {
|
|
2726
2729
|
this._setSuppliers();
|
|
2727
2730
|
this._setPriceList();
|
|
2728
2731
|
}
|
|
@@ -2734,11 +2737,13 @@ class CatalogFilterContentPurchaseComponent {
|
|
|
2734
2737
|
_setPriceList() {
|
|
2735
2738
|
let tempPriceListsPurchCollection = [];
|
|
2736
2739
|
this._catalogConnectorService.getPriceLists().then((priceLists) => {
|
|
2737
|
-
priceLists.
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2740
|
+
if (priceLists && Array.isArray(priceLists)) {
|
|
2741
|
+
priceLists.forEach((list) => {
|
|
2742
|
+
if (list.type.indexOf("I") > -1) {
|
|
2743
|
+
tempPriceListsPurchCollection.push(list);
|
|
2744
|
+
}
|
|
2745
|
+
});
|
|
2746
|
+
}
|
|
2742
2747
|
this.priceListsPurchCollection = this.filterService.createFilterSelectionsCollection(tempPriceListsPurchCollection, "code", "description");
|
|
2743
2748
|
});
|
|
2744
2749
|
}
|
|
@@ -2798,8 +2803,9 @@ CatalogFilterContentPurchaseComponent.decorators = [
|
|
|
2798
2803
|
CatalogFilterContentPurchaseComponent.ctorParameters = () => [
|
|
2799
2804
|
{ type: CatalogSearchService },
|
|
2800
2805
|
{ type: IconCacheService },
|
|
2806
|
+
{ type: CatalogFilterService },
|
|
2801
2807
|
{ type: CatalogConnectorService },
|
|
2802
|
-
{ type:
|
|
2808
|
+
{ type: CatalogConnectorAdapterService }
|
|
2803
2809
|
];
|
|
2804
2810
|
CatalogFilterContentPurchaseComponent.propDecorators = {
|
|
2805
2811
|
showClass: [{ type: HostBinding, args: ['class.co-catalog-filter',] }],
|
|
@@ -3095,7 +3101,8 @@ CatalogCategoriesModule.decorators = [
|
|
|
3095
3101
|
IconModule,
|
|
3096
3102
|
CatalogFilterModule,
|
|
3097
3103
|
ResponsiveTextModule,
|
|
3098
|
-
PipeModule
|
|
3104
|
+
PipeModule,
|
|
3105
|
+
OverlayModule
|
|
3099
3106
|
],
|
|
3100
3107
|
declarations: [
|
|
3101
3108
|
CatalogCategoriesComponent
|
|
@@ -3123,11 +3130,7 @@ CatalogEventService.decorators = [
|
|
|
3123
3130
|
];
|
|
3124
3131
|
|
|
3125
3132
|
class CatalogNavigationComponent {
|
|
3126
|
-
constructor(iconCache,
|
|
3127
|
-
/*
|
|
3128
|
-
public navigationService: CatalogNavigationService,
|
|
3129
|
-
*/
|
|
3130
|
-
catalogService, _appEventService) {
|
|
3133
|
+
constructor(iconCache, catalogService, _appEventService) {
|
|
3131
3134
|
this.iconCache = iconCache;
|
|
3132
3135
|
this.catalogService = catalogService;
|
|
3133
3136
|
this._appEventService = _appEventService;
|
|
@@ -3271,7 +3274,11 @@ CatalogNavigationComponent.decorators = [
|
|
|
3271
3274
|
overlayParent #collectionParentForOverlay="overlayParent">
|
|
3272
3275
|
<co-icon class="hamburger-icon" [iconData]="iconCache.getIcon(icons.Hamburger)"></co-icon>
|
|
3273
3276
|
<span [textContent]="collectionLabel"></span>
|
|
3274
|
-
<div class="navigation-overlay-wrapper"
|
|
3277
|
+
<div class="navigation-overlay-wrapper" *ngIf="showCollectionOverlay" @showHideOverlay
|
|
3278
|
+
[overlay]="collectionParentForOverlay"
|
|
3279
|
+
[keepInView]="true"
|
|
3280
|
+
[view]="view"
|
|
3281
|
+
[fullSize]="true">
|
|
3275
3282
|
<div class="navigation-category-column-wrapper" *ngFor="let category of categories">
|
|
3276
3283
|
<div class="navigation-category" [textContent]="category.category" (click)="handleCategoryClick($event, category.category)"></div>
|
|
3277
3284
|
<div class="navigation-turnovergroup-wrapper">
|
|
@@ -3286,12 +3293,19 @@ CatalogNavigationComponent.decorators = [
|
|
|
3286
3293
|
overlayParent #externalParentForOverlay="overlayParent">
|
|
3287
3294
|
<co-icon class="hamburger-icon" [iconData]="iconCache.getIcon(icons.Ar)"></co-icon>
|
|
3288
3295
|
<span [textContent]="externalSourcesLabel"></span>
|
|
3289
|
-
<div class="navigation-overlay-wrapper"
|
|
3296
|
+
<div class="navigation-overlay-wrapper" *ngIf="showExternalOverlay" @showHideOverlay
|
|
3297
|
+
[overlay]="externalParentForOverlay"
|
|
3298
|
+
[keepInView]="true"
|
|
3299
|
+
[view]="view"
|
|
3300
|
+
[fullSize]="true">
|
|
3290
3301
|
<co-catalog-external-sources (externalSourceClick)="handleExternalSourceClick($event)"></co-catalog-external-sources>
|
|
3291
3302
|
</div>
|
|
3292
3303
|
</div>
|
|
3293
3304
|
</div>
|
|
3294
3305
|
`,
|
|
3306
|
+
providers: [
|
|
3307
|
+
OverlayService
|
|
3308
|
+
],
|
|
3295
3309
|
animations: [
|
|
3296
3310
|
trigger('showHideOverlay', [
|
|
3297
3311
|
state('void', style({ height: '0' })),
|
|
@@ -3312,6 +3326,7 @@ CatalogNavigationComponent.propDecorators = {
|
|
|
3312
3326
|
collectionLabel: [{ type: Input }],
|
|
3313
3327
|
externalSourcesLabel: [{ type: Input }],
|
|
3314
3328
|
showTurnoverGroups: [{ type: Input }],
|
|
3329
|
+
view: [{ type: Input }],
|
|
3315
3330
|
homeClick: [{ type: Output }],
|
|
3316
3331
|
categoryClick: [{ type: Output }],
|
|
3317
3332
|
turnoverGroupClick: [{ type: Output }],
|
|
@@ -3412,23 +3427,119 @@ CatalogNavigationModule.decorators = [
|
|
|
3412
3427
|
},] }
|
|
3413
3428
|
];
|
|
3414
3429
|
|
|
3430
|
+
class CatalogNavigationService {
|
|
3431
|
+
constructor(_catalog, _iOne, _optionsService, _imageService) {
|
|
3432
|
+
this._catalog = _catalog;
|
|
3433
|
+
this._iOne = _iOne;
|
|
3434
|
+
this._optionsService = _optionsService;
|
|
3435
|
+
this._imageService = _imageService;
|
|
3436
|
+
this._subs = [];
|
|
3437
|
+
this._connectionMade = false;
|
|
3438
|
+
this._optionsSet = false;
|
|
3439
|
+
this.navigationCategories = [];
|
|
3440
|
+
this.allTurnoverGroups = [];
|
|
3441
|
+
// this._subs.push(
|
|
3442
|
+
// this._iOne.controllerInitialized.subscribe((initialized: boolean) => {
|
|
3443
|
+
// if (initialized) {
|
|
3444
|
+
// this._connectionMade = true;
|
|
3445
|
+
// this.getCategories();
|
|
3446
|
+
// }
|
|
3447
|
+
// }),
|
|
3448
|
+
// this._optionsService.parametersSet.subscribe((set: boolean) => {
|
|
3449
|
+
// if (set) {
|
|
3450
|
+
// this._optionsSet = true;
|
|
3451
|
+
// this.getCategories();
|
|
3452
|
+
// }
|
|
3453
|
+
// })
|
|
3454
|
+
// );
|
|
3455
|
+
}
|
|
3456
|
+
ngOnDestroy() {
|
|
3457
|
+
this._subs.forEach(s => s.unsubscribe());
|
|
3458
|
+
}
|
|
3459
|
+
setCategory(category) {
|
|
3460
|
+
// this._catalog.category = category;
|
|
3461
|
+
}
|
|
3462
|
+
setTurnoverGroup(turnoverGroup) {
|
|
3463
|
+
// this._catalog.turnoverGroup = turnoverGroup;
|
|
3464
|
+
}
|
|
3465
|
+
setExternalSourceUrl(url) {
|
|
3466
|
+
this._catalog.externalSourceUrl = url;
|
|
3467
|
+
}
|
|
3468
|
+
setIoneSourceUrl(url, ioneUrl, id, username, password) {
|
|
3469
|
+
this._catalog.ioneSourceUrl = url + '?url=' + ioneUrl + '&id=' + id + '&user=' + username + '&pass=' + password;
|
|
3470
|
+
}
|
|
3471
|
+
navigateToHome() {
|
|
3472
|
+
this._catalog.reset();
|
|
3473
|
+
}
|
|
3474
|
+
getCategories() {
|
|
3475
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3476
|
+
// if (this._optionsSet && this._connectionMade) {
|
|
3477
|
+
// try {
|
|
3478
|
+
// this._iOne.getArticleCategories(this._optionsService.parameters.publicationCode).then((cats: ArticleCategory[]) => {
|
|
3479
|
+
// this._catalog.sortTurnoverGroups(cats);
|
|
3480
|
+
// this.navigationCategories = cats;
|
|
3481
|
+
// this.navigationCategories.forEach(cat => this._imageService.getCategoryImage(cat));
|
|
3482
|
+
// this.getTurnoverGroupList();
|
|
3483
|
+
// });
|
|
3484
|
+
// } catch (e) {
|
|
3485
|
+
//
|
|
3486
|
+
// }
|
|
3487
|
+
// }
|
|
3488
|
+
});
|
|
3489
|
+
}
|
|
3490
|
+
getTurnoverGroupList() {
|
|
3491
|
+
this.navigationCategories.forEach((category) => {
|
|
3492
|
+
category.turnoverGroups.forEach(tog => this._imageService.getTurnoverGroupImage(tog));
|
|
3493
|
+
this.allTurnoverGroups.push(...category.turnoverGroups);
|
|
3494
|
+
});
|
|
3495
|
+
}
|
|
3496
|
+
}
|
|
3497
|
+
CatalogNavigationService.decorators = [
|
|
3498
|
+
{ type: Injectable }
|
|
3499
|
+
];
|
|
3500
|
+
CatalogNavigationService.ctorParameters = () => [
|
|
3501
|
+
{ type: CatalogService },
|
|
3502
|
+
{ type: CatalogConnectorService },
|
|
3503
|
+
{ type: CatalogOptionsService },
|
|
3504
|
+
{ type: CatalogImageService }
|
|
3505
|
+
];
|
|
3506
|
+
|
|
3415
3507
|
class CatalogSearchComponent {
|
|
3416
|
-
constructor(_catalogSearchService, _catalogEventService) {
|
|
3508
|
+
constructor(_settingsService, _catalogService, _catalogSearchService, _catalogEventService, iconCacheService) {
|
|
3509
|
+
this._settingsService = _settingsService;
|
|
3510
|
+
this._catalogService = _catalogService;
|
|
3417
3511
|
this._catalogSearchService = _catalogSearchService;
|
|
3418
3512
|
this._catalogEventService = _catalogEventService;
|
|
3513
|
+
this.iconCacheService = iconCacheService;
|
|
3514
|
+
this.icons = IconEnum;
|
|
3419
3515
|
this.showNavigation = false;
|
|
3420
3516
|
this.showLandingPage = false;
|
|
3421
3517
|
this.showFilter = false;
|
|
3422
3518
|
this.showViewModes = false;
|
|
3519
|
+
this.settingsChange = new EventEmitter();
|
|
3423
3520
|
this.onLookAtArticleButtonClick = new EventEmitter();
|
|
3424
3521
|
this.onArButtonClick = new EventEmitter();
|
|
3425
3522
|
this.onAddArticleButtonClick = new EventEmitter();
|
|
3426
3523
|
this.onArticleClick = new EventEmitter();
|
|
3427
3524
|
this.onStockDetailsClick = new EventEmitter();
|
|
3525
|
+
this.onExternalSourceClick = new EventEmitter();
|
|
3428
3526
|
this.mode = 'tile';
|
|
3429
3527
|
this.showCategories = true;
|
|
3430
3528
|
this._subs = [];
|
|
3431
3529
|
}
|
|
3530
|
+
set settings(value) {
|
|
3531
|
+
if (value) {
|
|
3532
|
+
let settings;
|
|
3533
|
+
if (typeof value === 'string') {
|
|
3534
|
+
settings = JSON.parse(value);
|
|
3535
|
+
}
|
|
3536
|
+
else {
|
|
3537
|
+
settings = value;
|
|
3538
|
+
}
|
|
3539
|
+
this._settingsService.createSettingsFromObject(settings);
|
|
3540
|
+
this._catalogService.init(this._settingsService.settings);
|
|
3541
|
+
}
|
|
3542
|
+
}
|
|
3432
3543
|
showClass() {
|
|
3433
3544
|
return true;
|
|
3434
3545
|
}
|
|
@@ -3454,6 +3565,9 @@ class CatalogSearchComponent {
|
|
|
3454
3565
|
handleTurnoverGroupClick(turnoverGroup) {
|
|
3455
3566
|
this._catalogSearchService.turnoverGroup = turnoverGroup;
|
|
3456
3567
|
}
|
|
3568
|
+
handleResetButtonClick(event) {
|
|
3569
|
+
this._catalogSearchService.resetFilters();
|
|
3570
|
+
}
|
|
3457
3571
|
}
|
|
3458
3572
|
CatalogSearchComponent.decorators = [
|
|
3459
3573
|
{ type: Component, args: [{
|
|
@@ -3461,24 +3575,52 @@ CatalogSearchComponent.decorators = [
|
|
|
3461
3575
|
template: `
|
|
3462
3576
|
<div class="catalog-search-wrapper">
|
|
3463
3577
|
<ng-container *ngIf="showFilter">
|
|
3464
|
-
<div class="filter-content">
|
|
3465
|
-
<
|
|
3578
|
+
<div class="filter-content" @showHideFilter>
|
|
3579
|
+
<div class="search-filter-panel-header-wrapper">
|
|
3580
|
+
<div class="search-filter-panel-header">
|
|
3581
|
+
<span [textContent]="'Filters'"></span>
|
|
3582
|
+
<co-icon class="filter-reset-icon clickable"
|
|
3583
|
+
[iconData]="iconCacheService.getIcon(icons.SyncAlt)"
|
|
3584
|
+
(click)="handleResetButtonClick($event)">
|
|
3585
|
+
</co-icon>
|
|
3586
|
+
</div>
|
|
3587
|
+
<co-icon class="clickable"
|
|
3588
|
+
[iconData]="iconCacheService.getIcon(icons.Cancel)"
|
|
3589
|
+
(click)="showFilter = false">
|
|
3590
|
+
</co-icon>
|
|
3591
|
+
</div>
|
|
3592
|
+
|
|
3593
|
+
<!--filter-content-->
|
|
3594
|
+
<div class="search-filter-wrapper narrow-scrollbar">
|
|
3595
|
+
<co-catalog-filter [showResetFilter]="true"></co-catalog-filter>
|
|
3596
|
+
</div>
|
|
3466
3597
|
</div>
|
|
3467
3598
|
</ng-container>
|
|
3468
|
-
<div class="search-content-wrapper">
|
|
3599
|
+
<div class="search-content-wrapper" #contentView>
|
|
3469
3600
|
<div class="search-header">
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3601
|
+
<div class="search-catalog-title-wrapper">
|
|
3602
|
+
<div class="catalog-title-wrapper">
|
|
3603
|
+
<co-icon [iconData]="iconCacheService.getIcon(icons.WebCatalog)"></co-icon>
|
|
3604
|
+
<div class="catalog-title" [textContent]="title"></div>
|
|
3605
|
+
</div>
|
|
3606
|
+
<div class="catalog-sub-title" [textContent]="subTitle"></div>
|
|
3607
|
+
</div>
|
|
3608
|
+
<co-catalog-search-header [placeholder]="searchPlaceholder"
|
|
3609
|
+
(filterIconClick)="showFilter = !showFilter"></co-catalog-search-header>
|
|
3474
3610
|
</div>
|
|
3475
3611
|
<ng-container *ngIf="showViewModes">
|
|
3476
3612
|
<button (click)="mode = 'tile'">tile</button>
|
|
3477
3613
|
<button (click)="mode = 'list'">list</button>
|
|
3478
3614
|
<button (click)="mode = 'grid'">grid</button>
|
|
3479
3615
|
</ng-container>
|
|
3480
|
-
<co-catalog-navigation *ngIf="showNavigation"
|
|
3481
|
-
|
|
3616
|
+
<co-catalog-navigation *ngIf="showNavigation"
|
|
3617
|
+
[view]="contentView"
|
|
3618
|
+
(categoryClick)="handleCategoryClick($event)"
|
|
3619
|
+
(turnoverGroupClick)="handleTurnoverGroupClick($event)"
|
|
3620
|
+
(externalSourceClick)="onExternalSourceClick.emit($event)"
|
|
3621
|
+
></co-catalog-navigation>
|
|
3622
|
+
<co-catalog-categories *ngIf="showLandingPage" (categoryClick)="handleCategoryClick($event)"
|
|
3623
|
+
(turnoverGroupClick)="handleTurnoverGroupClick($event)"></co-catalog-categories>
|
|
3482
3624
|
<div class="search-content">
|
|
3483
3625
|
<ng-container *ngIf="mode === 'tile'">
|
|
3484
3626
|
<co-catalog-search-result-tile></co-catalog-search-result-tile>
|
|
@@ -3495,29 +3637,64 @@ CatalogSearchComponent.decorators = [
|
|
|
3495
3637
|
</div>
|
|
3496
3638
|
</div>
|
|
3497
3639
|
`,
|
|
3498
|
-
|
|
3640
|
+
providers: [
|
|
3641
|
+
SelectSingleCacheService,
|
|
3642
|
+
SelectMultipleCacheService,
|
|
3643
|
+
SelectMultipleParameterizedCacheService,
|
|
3644
|
+
SelectSingleParameterizedCacheService,
|
|
3645
|
+
BusinessObjectCacheManagerService,
|
|
3646
|
+
CatalogImageService,
|
|
3647
|
+
CatalogFilterService,
|
|
3648
|
+
CatalogOptionsService,
|
|
3649
|
+
CatalogConnectorService,
|
|
3650
|
+
CatalogNavigationService,
|
|
3651
|
+
CatalogConnectorAdapterService,
|
|
3652
|
+
CatalogService,
|
|
3653
|
+
CatalogSettingsService,
|
|
3654
|
+
CatalogSearchService
|
|
3655
|
+
],
|
|
3656
|
+
encapsulation: ViewEncapsulation.None,
|
|
3657
|
+
animations: [
|
|
3658
|
+
trigger('showHideFilter', [
|
|
3659
|
+
state('void', style({ width: '0' })),
|
|
3660
|
+
state('*', style({ width: '*' })),
|
|
3661
|
+
transition('void <=> *', animate(200))
|
|
3662
|
+
])
|
|
3663
|
+
]
|
|
3499
3664
|
},] }
|
|
3500
3665
|
];
|
|
3501
3666
|
CatalogSearchComponent.ctorParameters = () => [
|
|
3502
|
-
{ type:
|
|
3503
|
-
{ type:
|
|
3667
|
+
{ type: CatalogSettingsService, decorators: [{ type: Host }] },
|
|
3668
|
+
{ type: CatalogService, decorators: [{ type: Host }] },
|
|
3669
|
+
{ type: CatalogSearchService, decorators: [{ type: Host }] },
|
|
3670
|
+
{ type: CatalogEventService },
|
|
3671
|
+
{ type: IconCacheService }
|
|
3504
3672
|
];
|
|
3505
3673
|
CatalogSearchComponent.propDecorators = {
|
|
3674
|
+
settings: [{ type: Input }],
|
|
3675
|
+
title: [{ type: Input }],
|
|
3676
|
+
subTitle: [{ type: Input }],
|
|
3677
|
+
searchPlaceholder: [{ type: Input }],
|
|
3506
3678
|
showNavigation: [{ type: Input }],
|
|
3507
3679
|
showLandingPage: [{ type: Input }],
|
|
3508
3680
|
showFilter: [{ type: Input }],
|
|
3509
3681
|
showViewModes: [{ type: Input }],
|
|
3682
|
+
settingsChange: [{ type: Output }],
|
|
3510
3683
|
onLookAtArticleButtonClick: [{ type: Output }],
|
|
3511
3684
|
onArButtonClick: [{ type: Output }],
|
|
3512
3685
|
onAddArticleButtonClick: [{ type: Output }],
|
|
3513
3686
|
onArticleClick: [{ type: Output }],
|
|
3514
3687
|
onStockDetailsClick: [{ type: Output }],
|
|
3688
|
+
onExternalSourceClick: [{ type: Output }],
|
|
3515
3689
|
showClass: [{ type: HostBinding, args: ['class.co-catalog-search',] }]
|
|
3516
3690
|
};
|
|
3517
3691
|
|
|
3518
3692
|
class CatalogSearchHeaderComponent {
|
|
3519
|
-
constructor(catalogSearchService) {
|
|
3693
|
+
constructor(catalogSearchService, iconCacheService) {
|
|
3520
3694
|
this.catalogSearchService = catalogSearchService;
|
|
3695
|
+
this.iconCacheService = iconCacheService;
|
|
3696
|
+
this.icons = IconEnum;
|
|
3697
|
+
this.filterIconClick = new EventEmitter();
|
|
3521
3698
|
}
|
|
3522
3699
|
showClass() {
|
|
3523
3700
|
return true;
|
|
@@ -3536,16 +3713,22 @@ CatalogSearchHeaderComponent.decorators = [
|
|
|
3536
3713
|
[initFocus]="true"
|
|
3537
3714
|
(search)="catalogSearchService.searchArticles()">
|
|
3538
3715
|
</co-input-search>
|
|
3716
|
+
<co-icon class="catalog-search-filter-icon"
|
|
3717
|
+
[iconData]="iconCacheService.getIcon(icons.BarsFilter)"
|
|
3718
|
+
(click)="filterIconClick.emit()">
|
|
3719
|
+
</co-icon>
|
|
3539
3720
|
</div>
|
|
3540
3721
|
`,
|
|
3541
3722
|
encapsulation: ViewEncapsulation.None
|
|
3542
3723
|
},] }
|
|
3543
3724
|
];
|
|
3544
3725
|
CatalogSearchHeaderComponent.ctorParameters = () => [
|
|
3545
|
-
{ type: CatalogSearchService }
|
|
3726
|
+
{ type: CatalogSearchService },
|
|
3727
|
+
{ type: IconCacheService }
|
|
3546
3728
|
];
|
|
3547
3729
|
CatalogSearchHeaderComponent.propDecorators = {
|
|
3548
3730
|
placeholder: [{ type: Input }],
|
|
3731
|
+
filterIconClick: [{ type: Output }],
|
|
3549
3732
|
showClass: [{ type: HostBinding, args: ['class.co-catalog-search-header',] }]
|
|
3550
3733
|
};
|
|
3551
3734
|
|
|
@@ -3555,7 +3738,8 @@ CatalogSearchHeaderModule.decorators = [
|
|
|
3555
3738
|
{ type: NgModule, args: [{
|
|
3556
3739
|
imports: [
|
|
3557
3740
|
CommonModule,
|
|
3558
|
-
InputSearchModule
|
|
3741
|
+
InputSearchModule,
|
|
3742
|
+
IconModule
|
|
3559
3743
|
],
|
|
3560
3744
|
declarations: [
|
|
3561
3745
|
CatalogSearchHeaderComponent
|
|
@@ -4198,6 +4382,27 @@ CatalogSearchResultListModule.decorators = [
|
|
|
4198
4382
|
];
|
|
4199
4383
|
|
|
4200
4384
|
class CatalogSearchModule {
|
|
4385
|
+
static ForRoot() {
|
|
4386
|
+
return {
|
|
4387
|
+
ngModule: CatalogSearchModule,
|
|
4388
|
+
providers: [
|
|
4389
|
+
SelectSingleCacheService,
|
|
4390
|
+
SelectMultipleCacheService,
|
|
4391
|
+
SelectMultipleParameterizedCacheService,
|
|
4392
|
+
SelectSingleParameterizedCacheService,
|
|
4393
|
+
BusinessObjectCacheManagerService,
|
|
4394
|
+
CatalogImageService,
|
|
4395
|
+
CatalogFilterService,
|
|
4396
|
+
CatalogOptionsService,
|
|
4397
|
+
CatalogConnectorService,
|
|
4398
|
+
CatalogNavigationService,
|
|
4399
|
+
CatalogConnectorAdapterService,
|
|
4400
|
+
CatalogService,
|
|
4401
|
+
CatalogSettingsService,
|
|
4402
|
+
CatalogSearchService
|
|
4403
|
+
]
|
|
4404
|
+
};
|
|
4405
|
+
}
|
|
4201
4406
|
}
|
|
4202
4407
|
CatalogSearchModule.decorators = [
|
|
4203
4408
|
{ type: NgModule, args: [{
|
|
@@ -4209,7 +4414,8 @@ CatalogSearchModule.decorators = [
|
|
|
4209
4414
|
CatalogSearchResultListModule,
|
|
4210
4415
|
CatalogCategoriesModule,
|
|
4211
4416
|
CatalogExternalSourcesModule,
|
|
4212
|
-
CatalogNavigationModule
|
|
4417
|
+
CatalogNavigationModule,
|
|
4418
|
+
IconModule
|
|
4213
4419
|
],
|
|
4214
4420
|
declarations: [
|
|
4215
4421
|
CatalogSearchComponent
|
|
@@ -4221,55 +4427,98 @@ CatalogSearchModule.decorators = [
|
|
|
4221
4427
|
];
|
|
4222
4428
|
|
|
4223
4429
|
class CatalogExternalSourceComponent {
|
|
4224
|
-
constructor(
|
|
4225
|
-
this.catalogService = catalogService;
|
|
4226
|
-
this._appEventService = _appEventService;
|
|
4430
|
+
constructor(_sanitizer, _catalogConnectorService) {
|
|
4227
4431
|
this._sanitizer = _sanitizer;
|
|
4228
|
-
this.
|
|
4229
|
-
this.
|
|
4230
|
-
this.
|
|
4231
|
-
this.
|
|
4232
|
-
this.
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
this.externalSourceFrame.nativeElement.src = this.catalogService.externalSourceUrl;
|
|
4237
|
-
}
|
|
4238
|
-
}
|
|
4239
|
-
}));
|
|
4432
|
+
this._catalogConnectorService = _catalogConnectorService;
|
|
4433
|
+
this.showFilter = true;
|
|
4434
|
+
this.showNavigation = true;
|
|
4435
|
+
this.articleClick = new EventEmitter();
|
|
4436
|
+
this.showClass = true;
|
|
4437
|
+
this.showCatalog = false;
|
|
4438
|
+
this.loaded = false;
|
|
4439
|
+
this.externalSettings = {};
|
|
4240
4440
|
}
|
|
4241
|
-
|
|
4242
|
-
|
|
4441
|
+
set externalSource(value) {
|
|
4442
|
+
this._externalSource = value;
|
|
4443
|
+
this.loaded = false;
|
|
4444
|
+
this._prepareExternalSource();
|
|
4243
4445
|
}
|
|
4244
|
-
|
|
4245
|
-
this.
|
|
4446
|
+
get externalSource() {
|
|
4447
|
+
return this._externalSource;
|
|
4246
4448
|
}
|
|
4247
|
-
|
|
4248
|
-
this.
|
|
4249
|
-
|
|
4449
|
+
handleArticleClick(article) {
|
|
4450
|
+
if (article && this.externalSettings) {
|
|
4451
|
+
this.articleClick.emit({ article: article, settings: { name: this.name, settings: this.externalSettings } });
|
|
4452
|
+
}
|
|
4250
4453
|
}
|
|
4251
|
-
|
|
4252
|
-
return this
|
|
4454
|
+
_prepareExternalSource() {
|
|
4455
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4456
|
+
if (!this._externalSource) {
|
|
4457
|
+
return;
|
|
4458
|
+
}
|
|
4459
|
+
this.externalUrl = undefined;
|
|
4460
|
+
this.externalSettings = {};
|
|
4461
|
+
if (this.externalSource.type === 'CATF') {
|
|
4462
|
+
// get bundle settings from external source
|
|
4463
|
+
const bundleSettings = yield this._catalogConnectorService.getCatalogBundleSettings(this.externalSource.url, parseInt(this.externalSource.schema));
|
|
4464
|
+
this.externalSettings = JSON.parse(bundleSettings);
|
|
4465
|
+
if (this.options) {
|
|
4466
|
+
this.externalSettings.options = this.options;
|
|
4467
|
+
}
|
|
4468
|
+
if (this.externalSource.username && this.externalSource.password) {
|
|
4469
|
+
this.externalSettings.username = this.externalSource.username;
|
|
4470
|
+
this.externalSettings.password = this.externalSource.password;
|
|
4471
|
+
}
|
|
4472
|
+
// finally show the catalog
|
|
4473
|
+
this.showCatalog = true;
|
|
4474
|
+
}
|
|
4475
|
+
else {
|
|
4476
|
+
this.externalUrl = this.externalSource.url;
|
|
4477
|
+
this.safeUrl = this._sanitizer.bypassSecurityTrustResourceUrl(this.externalUrl);
|
|
4478
|
+
this.showCatalog = false;
|
|
4479
|
+
}
|
|
4480
|
+
this.loaded = true;
|
|
4481
|
+
});
|
|
4253
4482
|
}
|
|
4254
4483
|
}
|
|
4255
4484
|
CatalogExternalSourceComponent.decorators = [
|
|
4256
4485
|
{ type: Component, args: [{
|
|
4257
4486
|
selector: 'co-catalog-external-source',
|
|
4258
4487
|
template: `
|
|
4259
|
-
<
|
|
4488
|
+
<ng-container *ngIf="loaded">
|
|
4489
|
+
<ng-container *ngIf="showCatalog">
|
|
4490
|
+
<co-catalog-search
|
|
4491
|
+
[(settings)]="externalSettings"
|
|
4492
|
+
[title]="title"
|
|
4493
|
+
[subTitle]="subTitle"
|
|
4494
|
+
[searchPlaceholder]="searchPlaceholder"
|
|
4495
|
+
[showFilter]="showFilter"
|
|
4496
|
+
[showNavigation]="showNavigation"
|
|
4497
|
+
(onArticleClick)="handleArticleClick($event)"
|
|
4498
|
+
></co-catalog-search>
|
|
4499
|
+
</ng-container>
|
|
4500
|
+
<ng-container *ngIf="!showCatalog">
|
|
4501
|
+
<iframe width="100%" height="100%" [src]="safeUrl" frameborder="0" allowfullscreen></iframe>
|
|
4502
|
+
</ng-container>
|
|
4503
|
+
</ng-container>
|
|
4260
4504
|
`,
|
|
4261
4505
|
encapsulation: ViewEncapsulation.None
|
|
4262
4506
|
},] }
|
|
4263
4507
|
];
|
|
4264
4508
|
CatalogExternalSourceComponent.ctorParameters = () => [
|
|
4265
|
-
{ type: CatalogService },
|
|
4266
|
-
{ type: CatalogEventService },
|
|
4267
4509
|
{ type: DomSanitizer },
|
|
4268
|
-
{ type:
|
|
4269
|
-
{ type: Renderer2 }
|
|
4510
|
+
{ type: CatalogConnectorService }
|
|
4270
4511
|
];
|
|
4271
4512
|
CatalogExternalSourceComponent.propDecorators = {
|
|
4272
|
-
|
|
4513
|
+
externalSource: [{ type: Input }],
|
|
4514
|
+
title: [{ type: Input }],
|
|
4515
|
+
subTitle: [{ type: Input }],
|
|
4516
|
+
searchPlaceholder: [{ type: Input }],
|
|
4517
|
+
showFilter: [{ type: Input }],
|
|
4518
|
+
showNavigation: [{ type: Input }],
|
|
4519
|
+
options: [{ type: Input }],
|
|
4520
|
+
name: [{ type: Input }],
|
|
4521
|
+
articleClick: [{ type: Output }],
|
|
4273
4522
|
showClass: [{ type: HostBinding, args: ['class.co-catalog-external-source',] }]
|
|
4274
4523
|
};
|
|
4275
4524
|
|
|
@@ -4278,7 +4527,8 @@ class CatalogExternalSourceModule {
|
|
|
4278
4527
|
CatalogExternalSourceModule.decorators = [
|
|
4279
4528
|
{ type: NgModule, args: [{
|
|
4280
4529
|
imports: [
|
|
4281
|
-
CommonModule
|
|
4530
|
+
CommonModule,
|
|
4531
|
+
CatalogSearchModule.ForRoot()
|
|
4282
4532
|
],
|
|
4283
4533
|
declarations: [
|
|
4284
4534
|
CatalogExternalSourceComponent
|
|
@@ -4293,5 +4543,5 @@ CatalogExternalSourceModule.decorators = [
|
|
|
4293
4543
|
* Generated bundle index. Do not edit.
|
|
4294
4544
|
*/
|
|
4295
4545
|
|
|
4296
|
-
export { CatalogArticleListModule, CatalogArticleTileModule, CatalogCategoriesModule, CatalogEventService, CatalogExternalSourceModule, CatalogExternalSourcesModule, CatalogFilterModule,
|
|
4546
|
+
export { BusinessObjectCacheManagerService, CatalogArticleListModule, CatalogArticleTileModule, CatalogCategoriesModule, CatalogConnectorAdapterService, CatalogConnectorService, CatalogEventService, CatalogExternalSourceModule, CatalogExternalSourcesModule, CatalogFilterModule, CatalogFilterService, CatalogImageService, CatalogNavigationModule, CatalogNavigationService, CatalogOptionsService, CatalogSearchHeaderModule, CatalogSearchModule, CatalogSearchResultListModule, CatalogSearchResultTileModule, CatalogSearchService, CatalogService, CatalogSettingsService, SelectMultipleCacheService, SelectMultipleParameterizedCacheService, SelectSingleCacheService, SelectSingleParameterizedCacheService, Version, CatalogFilterCategoriesModule as ɵa, PipeModule as ɵb, CatalogSearchBaseComponent as ɵba, CatalogArticleListComponent as ɵbb, CatalogSearchResultListComponent as ɵbc, CatalogSearchComponent as ɵbd, CatalogExternalSourceComponent as ɵbe, LocalizePipe as ɵc, DictionaryService as ɵd, CatalogFilterCategoriesComponent as ɵe, CatalogFilterContentGeneralModule as ɵf, CatalogFilterContentGeneralComponent as ɵg, CacheField as ɵh, IconCacheService as ɵi, CatalogFilterContentPurchaseModule as ɵj, CatalogFilterContentPurchaseComponent as ɵk, CatalogFilterContentLogisticsModule as ɵl, CatalogFilterContentLogisticsComponent as ɵm, CatalogFilterComponent as ɵn, ResponsiveTextModule as ɵo, ResponsiveTextComponent as ɵp, CatalogCategoriesComponent as ɵq, CatalogExternalSourcesComponent as ɵr, CatalogNavigationComponent as ɵs, CatalogSearchHeaderComponent as ɵt, CatalogArticleTileComponent as ɵu, ArticleBaseComponent as ɵv, VisibilityObserverModule as ɵw, VisibilityObserverMasterDirective as ɵx, VisibilityObserverDirective as ɵy, CatalogSearchResultTileComponent as ɵz };
|
|
4297
4547
|
//# sourceMappingURL=colijnit-catalog.js.map
|