@colijnit/catalog 256.1.5 → 256.1.7
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 +207 -113
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog-256.1.6.tgz +0 -0
- package/colijnit-catalog.d.ts +31 -30
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/colijnit-catalog.js +32 -31
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/component/catalog-article-tile/catalog-article-tile.component.js +9 -6
- package/esm2015/lib/component/catalog-filter-item/catalog-filter-item.component.js +24 -6
- package/esm2015/lib/component/catalog-search/catalog-search.component.js +32 -34
- package/esm2015/lib/component/catalog-search/catalog-search.module.js +1 -1
- package/esm2015/lib/enum/icon.enum.js +3 -1
- package/esm2015/lib/model/icon.js +3 -1
- package/esm2015/lib/service/catalog-connector-adapter.service.js +15 -1
- package/esm2015/lib/service/catalog-screen-configuration.service.js +48 -0
- package/esm2015/lib/service/catalog.service.js +15 -9
- package/fesm2015/colijnit-catalog.js +127 -47
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/component/catalog-article-tile/style/_layout.scss +30 -8
- package/lib/component/catalog-article-tile/style/_material-definition.scss +1 -1
- package/lib/component/catalog-external-configurator/style/_layout.scss +4 -0
- package/lib/component/catalog-external-configurator/style/_material-definition.scss +32 -0
- package/lib/component/catalog-external-configurator/style/_theme.scss +4 -0
- package/lib/component/catalog-external-configurator/style/material.scss +4 -0
- package/lib/component/catalog-filter-item/catalog-filter-item.component.d.ts +10 -5
- package/lib/component/catalog-search/catalog-search.component.d.ts +5 -2
- package/lib/enum/icon.enum.d.ts +2 -0
- package/lib/service/catalog-connector-adapter.service.d.ts +3 -0
- package/lib/service/catalog-screen-configuration.service.d.ts +13 -0
- package/lib/service/catalog.service.d.ts +5 -2
- package/package.json +1 -1
|
@@ -33,9 +33,10 @@ import { ExternalCatalogStartupInfo } from '@colijnit/articleapi/build/model/ext
|
|
|
33
33
|
import { Color } from '@colijnit/mainapi/build/model/color.bo';
|
|
34
34
|
import { TransactionInfoResponse } from '@colijnit/transactionapi/build/model/transaction-info-response.bo';
|
|
35
35
|
import { DateField } from '@colijnit/ioneconnector/build/factory/decorators/date-field.decorator';
|
|
36
|
+
import { ObjectConfiguration } from '@colijnit/ioneconnector/build/model/object-configuration';
|
|
36
37
|
import { ObjectUtils } from '@colijnit/ioneconnector/build/utils/object-utils';
|
|
37
38
|
import { FileUtils } from '@colijnit/ioneconnector/build/utils/file-utils';
|
|
38
|
-
import { FilterViewmodel, FilterItemViewmodel, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, FilterItemModule, ScreenConfigurationModule, InputTextModule, ButtonModule, IconModule, FilterItemMode as FilterItemMode$1, InputDatePickerModule, IconCollapseHandleModule, CoDialogModule, ListOfValuesModule, CheckmarkOverlayModule, ImageModule, OverlayModule, OverlayService,
|
|
39
|
+
import { FilterViewmodel, FilterItemViewmodel, BaseModuleScreenConfigService, BaseModuleService, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, FilterItemModule, ScreenConfigurationModule, InputTextModule, ButtonModule, IconModule, FilterItemMode as FilterItemMode$1, InputDatePickerModule, IconCollapseHandleModule, CoDialogModule, ListOfValuesModule, CheckmarkOverlayModule, ImageModule, OverlayModule, OverlayService, InputSearchModule, PaginationBarModule, SimpleGridModule } from '@colijnit/corecomponents_v12';
|
|
39
40
|
import { PagingParameters } from '@colijnit/ioneconnector/build/model/paging-parameters';
|
|
40
41
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
41
42
|
import * as i1 from '@angular/platform-browser';
|
|
@@ -53,8 +54,8 @@ class Version {
|
|
|
53
54
|
constructor() {
|
|
54
55
|
this.name = "@colijnit/catalog";
|
|
55
56
|
this.description = "iOne Catalog module based on Angular 12";
|
|
56
|
-
this.symVer = "256.1.
|
|
57
|
-
this.publishDate = "
|
|
57
|
+
this.symVer = "256.1.7";
|
|
58
|
+
this.publishDate = "19-11-2024 17:12:53";
|
|
58
59
|
}
|
|
59
60
|
}
|
|
60
61
|
|
|
@@ -328,6 +329,7 @@ class CatalogConnectorAdapterService {
|
|
|
328
329
|
this._boFactory = new BusinessObjectFactory();
|
|
329
330
|
this._initializing = false;
|
|
330
331
|
this._initialized = false;
|
|
332
|
+
console.log('create');
|
|
331
333
|
}
|
|
332
334
|
get shouldShowLoader() {
|
|
333
335
|
return this._shouldShowLoader;
|
|
@@ -938,6 +940,17 @@ class CatalogConnectorAdapterService {
|
|
|
938
940
|
getJsonArticleFlatTree(goodId, goodType, quantity, externalSource = false, showLoader = true, instanceId = undefined, configuratorStatistics) {
|
|
939
941
|
return this.connector.getJsonArticleFlatTree(goodId, goodType, quantity, externalSource, showLoader, undefined, configuratorStatistics);
|
|
940
942
|
}
|
|
943
|
+
getObjectConfiguration(screenCfgModule, params, insertMode) {
|
|
944
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
945
|
+
const response = yield this.mainConnector.getObjectConfigurations(screenCfgModule, params, insertMode);
|
|
946
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
947
|
+
return this._boFactory.makeBOArrayFromRawBackendDataArray(ObjectConfiguration, response.resultObjects);
|
|
948
|
+
}
|
|
949
|
+
else {
|
|
950
|
+
console.error(response.validationMessagesAsString);
|
|
951
|
+
}
|
|
952
|
+
});
|
|
953
|
+
}
|
|
941
954
|
onShowLoaderChange(showLoader) {
|
|
942
955
|
this._shouldShowLoader = showLoader;
|
|
943
956
|
}
|
|
@@ -947,7 +960,8 @@ CatalogConnectorAdapterService.decorators = [
|
|
|
947
960
|
{ type: Injectable, args: [{
|
|
948
961
|
providedIn: 'root'
|
|
949
962
|
},] }
|
|
950
|
-
];
|
|
963
|
+
];
|
|
964
|
+
CatalogConnectorAdapterService.ctorParameters = () => [];
|
|
951
965
|
|
|
952
966
|
// 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.
|
|
953
967
|
class CacheField {
|
|
@@ -2114,10 +2128,54 @@ CatalogSearchService.ctorParameters = () => [
|
|
|
2114
2128
|
{ type: CatalogOptionsService }
|
|
2115
2129
|
];
|
|
2116
2130
|
|
|
2117
|
-
class
|
|
2118
|
-
constructor(
|
|
2131
|
+
class CatalogScreenConfigurationService extends BaseModuleScreenConfigService {
|
|
2132
|
+
constructor(_catalogAdapterService) {
|
|
2133
|
+
super();
|
|
2134
|
+
this._catalogAdapterService = _catalogAdapterService;
|
|
2135
|
+
this.screenModuleName = "Selector";
|
|
2136
|
+
this._screenConfigurationObjectCache = [];
|
|
2137
|
+
}
|
|
2138
|
+
clear() {
|
|
2139
|
+
this._screenConfigurationObjectCache = [];
|
|
2140
|
+
}
|
|
2141
|
+
loadConfigForModule(params, insertRights) {
|
|
2142
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2143
|
+
if (!this._screenConfigurationLoaded()) {
|
|
2144
|
+
const config = yield this._catalogAdapterService.getObjectConfiguration(this.screenModuleName);
|
|
2145
|
+
if (config) {
|
|
2146
|
+
this._setScreenConfigurationObjectCache(config);
|
|
2147
|
+
return config;
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2150
|
+
else {
|
|
2151
|
+
return Promise.resolve(this._screenConfigurationObjectCache);
|
|
2152
|
+
}
|
|
2153
|
+
return Promise.resolve([]);
|
|
2154
|
+
});
|
|
2155
|
+
}
|
|
2156
|
+
_setScreenConfigurationObjectCache(objects) {
|
|
2157
|
+
this._screenConfigurationObjectCache = objects;
|
|
2158
|
+
}
|
|
2159
|
+
_screenConfigurationLoaded() {
|
|
2160
|
+
return this._screenConfigurationObjectCache.length !== 0;
|
|
2161
|
+
}
|
|
2162
|
+
}
|
|
2163
|
+
CatalogScreenConfigurationService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CatalogScreenConfigurationService_Factory() { return new CatalogScreenConfigurationService(i0.ɵɵinject(CatalogConnectorAdapterService)); }, token: CatalogScreenConfigurationService, providedIn: "root" });
|
|
2164
|
+
CatalogScreenConfigurationService.decorators = [
|
|
2165
|
+
{ type: Injectable, args: [{
|
|
2166
|
+
providedIn: "root"
|
|
2167
|
+
},] }
|
|
2168
|
+
];
|
|
2169
|
+
CatalogScreenConfigurationService.ctorParameters = () => [
|
|
2170
|
+
{ type: CatalogConnectorAdapterService }
|
|
2171
|
+
];
|
|
2172
|
+
|
|
2173
|
+
class CatalogService extends BaseModuleService {
|
|
2174
|
+
constructor(connector, connectorAdapter, screenConfigService, settingsService, optionsService, _imageService, _filterService, _catalogSearchService) {
|
|
2175
|
+
super(screenConfigService);
|
|
2119
2176
|
this.connector = connector;
|
|
2120
2177
|
this.connectorAdapter = connectorAdapter;
|
|
2178
|
+
this.screenConfigService = screenConfigService;
|
|
2121
2179
|
this.settingsService = settingsService;
|
|
2122
2180
|
this.optionsService = optionsService;
|
|
2123
2181
|
this._imageService = _imageService;
|
|
@@ -2271,7 +2329,7 @@ class CatalogService {
|
|
|
2271
2329
|
this.activeStockViewSubject.next(value);
|
|
2272
2330
|
}
|
|
2273
2331
|
}
|
|
2274
|
-
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(CatalogFilterService), i0.ɵɵinject(CatalogSearchService)); }, token: CatalogService, providedIn: "root" });
|
|
2332
|
+
CatalogService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CatalogService_Factory() { return new CatalogService(i0.ɵɵinject(CatalogConnectorService), i0.ɵɵinject(CatalogConnectorAdapterService), i0.ɵɵinject(CatalogScreenConfigurationService), i0.ɵɵinject(CatalogSettingsService), i0.ɵɵinject(CatalogOptionsService), i0.ɵɵinject(CatalogImageService), i0.ɵɵinject(CatalogFilterService), i0.ɵɵinject(CatalogSearchService)); }, token: CatalogService, providedIn: "root" });
|
|
2275
2333
|
CatalogService.decorators = [
|
|
2276
2334
|
{ type: Injectable, args: [{
|
|
2277
2335
|
providedIn: 'root'
|
|
@@ -2280,6 +2338,7 @@ CatalogService.decorators = [
|
|
|
2280
2338
|
CatalogService.ctorParameters = () => [
|
|
2281
2339
|
{ type: CatalogConnectorService },
|
|
2282
2340
|
{ type: CatalogConnectorAdapterService },
|
|
2341
|
+
{ type: CatalogScreenConfigurationService },
|
|
2283
2342
|
{ type: CatalogSettingsService },
|
|
2284
2343
|
{ type: CatalogOptionsService },
|
|
2285
2344
|
{ type: CatalogImageService },
|
|
@@ -2405,6 +2464,7 @@ var IconEnum;
|
|
|
2405
2464
|
IconEnum["Camera"] = "camera";
|
|
2406
2465
|
IconEnum["Cancel"] = "cancel";
|
|
2407
2466
|
IconEnum["Check"] = "check";
|
|
2467
|
+
IconEnum["ChevronRightRegular"] = "chevron_right_regular";
|
|
2408
2468
|
IconEnum["Close"] = "close";
|
|
2409
2469
|
IconEnum["Eye"] = "eye";
|
|
2410
2470
|
IconEnum["Filter"] = "filter";
|
|
@@ -2421,6 +2481,7 @@ var IconEnum;
|
|
|
2421
2481
|
IconEnum["ThreeD"] = "three_d";
|
|
2422
2482
|
IconEnum["TileView"] = "tile_view";
|
|
2423
2483
|
IconEnum["Truck"] = "truck";
|
|
2484
|
+
IconEnum["WandMagicSparklesLight"] = "wand_magic_sparkles_light";
|
|
2424
2485
|
IconEnum["WebCatalog"] = "web_catalog";
|
|
2425
2486
|
})(IconEnum || (IconEnum = {}));
|
|
2426
2487
|
|
|
@@ -2434,6 +2495,7 @@ const IconSvg = {
|
|
|
2434
2495
|
"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>",
|
|
2435
2496
|
"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>",
|
|
2436
2497
|
"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>",
|
|
2498
|
+
"chevron_right_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\"><path d=\"M305 239c9.4 9.4 9.4 24.6 0 33.9L113 465c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l175-175L79 81c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L305 239z\"/></svg>",
|
|
2437
2499
|
"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>",
|
|
2438
2500
|
"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>",
|
|
2439
2501
|
"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>",
|
|
@@ -2450,6 +2512,7 @@ const IconSvg = {
|
|
|
2450
2512
|
"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>",
|
|
2451
2513
|
"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>",
|
|
2452
2514
|
"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>",
|
|
2515
|
+
"wand_magic_sparkles_light": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M458.3 34.9c3.1-3.1 8.2-3.1 11.3 0l39.4 39.4c3.1 3.1 3.1 8.2 0 11.3L388.7 206.1l-50.7-50.7L458.3 34.9zM66.9 426.3L315.3 177.9l50.7 50.7L117.7 477.1c-3.1 3.1-8.2 3.1-11.3 0L66.9 437.7c-3.1-3.1-3.1-8.2 0-11.3zM435.7 12.3L44.3 403.7c-15.6 15.6-15.6 40.9 0 56.6l39.4 39.4c15.6 15.6 40.9 15.6 56.6 0L531.7 108.3c15.6-15.6 15.6-40.9 0-56.6L492.3 12.3c-15.6-15.6-40.9-15.6-56.6 0zM128 80c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 48-48 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l48 0 0 48c0 8.8 7.2 16 16 16s16-7.2 16-16l0-48 48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-48 0 0-48zM464 320c-8.8 0-16 7.2-16 16l0 48-48 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l48 0 0 48c0 8.8 7.2 16 16 16s16-7.2 16-16l0-48 48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-48 0 0-48c0-8.8-7.2-16-16-16zM252.2 16c0-6.7-5.4-12.2-12.2-12.2s-12.2 5.4-12.2 12.2l0 19.8-19.8 0c-6.7 0-12.2 5.4-12.2 12.2s5.4 12.2 12.2 12.2l19.8 0 0 19.8c0 6.7 5.4 12.2 12.2 12.2s12.2-5.4 12.2-12.2l0-19.8 19.8 0c6.7 0 12.2-5.4 12.2-12.2s-5.4-12.2-12.2-12.2l-19.8 0 0-19.8z\"/></svg>",
|
|
2453
2516
|
"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>"
|
|
2454
2517
|
};
|
|
2455
2518
|
|
|
@@ -3114,8 +3177,9 @@ CatalogFilterContentGeneralComponent.propDecorators = {
|
|
|
3114
3177
|
};
|
|
3115
3178
|
|
|
3116
3179
|
class CatalogFilterItemComponent {
|
|
3117
|
-
constructor(searchService) {
|
|
3180
|
+
constructor(searchService, _screenConfigService) {
|
|
3118
3181
|
this.searchService = searchService;
|
|
3182
|
+
this._screenConfigService = _screenConfigService;
|
|
3119
3183
|
this.collection = [];
|
|
3120
3184
|
this.placeholder = '';
|
|
3121
3185
|
this.customContent = false;
|
|
@@ -3132,6 +3196,21 @@ class CatalogFilterItemComponent {
|
|
|
3132
3196
|
this.showMoreLabel = "SHOW_MORE";
|
|
3133
3197
|
this.showLessLabel = "SHOW_LESS";
|
|
3134
3198
|
this.filterButtonLabel = "SEARCH_IMPERATIVE";
|
|
3199
|
+
this._subs = [];
|
|
3200
|
+
}
|
|
3201
|
+
ngOnInit() {
|
|
3202
|
+
this._subs.push(
|
|
3203
|
+
// todo: remove this dirty hack when screenconfig is completed
|
|
3204
|
+
this._screenConfigService.configSet.subscribe((config) => {
|
|
3205
|
+
if (config) {
|
|
3206
|
+
if (!this._screenConfigService.getObjectConfigurationFor(this.screenConfigurationObjectName)) {
|
|
3207
|
+
this.screenConfigurationObjectName = undefined;
|
|
3208
|
+
}
|
|
3209
|
+
}
|
|
3210
|
+
}));
|
|
3211
|
+
}
|
|
3212
|
+
ngOnDestroy() {
|
|
3213
|
+
this._subs.forEach(s => s.unsubscribe());
|
|
3135
3214
|
}
|
|
3136
3215
|
onFilterButtonClicked() {
|
|
3137
3216
|
this.searchService.searchArticles();
|
|
@@ -3177,7 +3256,8 @@ CatalogFilterItemComponent.decorators = [
|
|
|
3177
3256
|
},] }
|
|
3178
3257
|
];
|
|
3179
3258
|
CatalogFilterItemComponent.ctorParameters = () => [
|
|
3180
|
-
{ type: CatalogSearchService }
|
|
3259
|
+
{ type: CatalogSearchService },
|
|
3260
|
+
{ type: CatalogScreenConfigurationService }
|
|
3181
3261
|
];
|
|
3182
3262
|
CatalogFilterItemComponent.propDecorators = {
|
|
3183
3263
|
model: [{ type: Input }],
|
|
@@ -4299,11 +4379,12 @@ CatalogStockComparisonService.ctorParameters = () => [
|
|
|
4299
4379
|
];
|
|
4300
4380
|
|
|
4301
4381
|
class CatalogSearchComponent {
|
|
4302
|
-
constructor(_settingsService, _catalogService, _catalogSearchService, _catalogEventService, iconCacheService, _cfgService) {
|
|
4382
|
+
constructor(_settingsService, _catalogService, _catalogSearchService, _catalogEventService, _catalogAdapterService, iconCacheService, _cfgService) {
|
|
4303
4383
|
this._settingsService = _settingsService;
|
|
4304
4384
|
this._catalogService = _catalogService;
|
|
4305
4385
|
this._catalogSearchService = _catalogSearchService;
|
|
4306
4386
|
this._catalogEventService = _catalogEventService;
|
|
4387
|
+
this._catalogAdapterService = _catalogAdapterService;
|
|
4307
4388
|
this.iconCacheService = iconCacheService;
|
|
4308
4389
|
this._cfgService = _cfgService;
|
|
4309
4390
|
this.icons = IconEnum;
|
|
@@ -4322,6 +4403,7 @@ class CatalogSearchComponent {
|
|
|
4322
4403
|
this.onExternalSourceClick = new EventEmitter();
|
|
4323
4404
|
this.mode = 'tile';
|
|
4324
4405
|
this.showCategories = true;
|
|
4406
|
+
this.configLoaded = false;
|
|
4325
4407
|
this._subs = [];
|
|
4326
4408
|
}
|
|
4327
4409
|
set settings(value) {
|
|
@@ -4332,7 +4414,6 @@ class CatalogSearchComponent {
|
|
|
4332
4414
|
else {
|
|
4333
4415
|
this._settings = value;
|
|
4334
4416
|
}
|
|
4335
|
-
this._catalogService.init(this._settings, true);
|
|
4336
4417
|
}
|
|
4337
4418
|
}
|
|
4338
4419
|
showClass() {
|
|
@@ -4341,10 +4422,25 @@ class CatalogSearchComponent {
|
|
|
4341
4422
|
ngOnInit() {
|
|
4342
4423
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4343
4424
|
yield this._settingsService.initializeSettings();
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4425
|
+
yield this._catalogService.init(this._settings, true);
|
|
4426
|
+
this._subs.push(this._catalogAdapterService.controllerInitialized.subscribe((initialized) => {
|
|
4427
|
+
if (initialized) {
|
|
4428
|
+
this._cfgService.loadConfig().then((configs) => {
|
|
4429
|
+
if (configs && configs.length > 0) {
|
|
4430
|
+
this.configLoaded = true;
|
|
4431
|
+
let configObject = this._cfgService.getObjectConfigurationFor('resultSetting');
|
|
4432
|
+
if (configObject) {
|
|
4433
|
+
if (configObject.getDefaultBooleanValue()) {
|
|
4434
|
+
this.mode = 'tile';
|
|
4435
|
+
}
|
|
4436
|
+
else {
|
|
4437
|
+
this.mode = 'list';
|
|
4438
|
+
}
|
|
4439
|
+
}
|
|
4440
|
+
}
|
|
4441
|
+
});
|
|
4442
|
+
}
|
|
4443
|
+
}), this._catalogEventService.addArticleButtonClick.subscribe((article) => {
|
|
4348
4444
|
this.onAddArticleButtonClick.emit(article);
|
|
4349
4445
|
}), this._catalogEventService.arButtonClick.subscribe((article) => {
|
|
4350
4446
|
this.onArButtonClick.emit(article);
|
|
@@ -4354,30 +4450,7 @@ class CatalogSearchComponent {
|
|
|
4354
4450
|
this.onLookAtArticleButtonClick.emit(article);
|
|
4355
4451
|
}), this._catalogEventService.stockDetailsClick.subscribe((article) => {
|
|
4356
4452
|
this.onStockDetailsClick.emit(article);
|
|
4357
|
-
}), this._cfgService.configSet.subscribe((config) => {
|
|
4358
|
-
if (config && config.length > 0) {
|
|
4359
|
-
let configObject = this._cfgService.getObjectConfigurationFor('resultSetting');
|
|
4360
|
-
if (configObject) {
|
|
4361
|
-
if (configObject.getDefaultBooleanValue()) {
|
|
4362
|
-
this.mode = 'tile';
|
|
4363
|
-
}
|
|
4364
|
-
else {
|
|
4365
|
-
this.mode = 'list';
|
|
4366
|
-
}
|
|
4367
|
-
}
|
|
4368
|
-
}
|
|
4369
4453
|
}));
|
|
4370
|
-
if (this._cfgService.configObjects && this._cfgService.configObjects.length > 0) {
|
|
4371
|
-
let config = this._cfgService.getObjectConfigurationFor('resultSetting');
|
|
4372
|
-
if (config) {
|
|
4373
|
-
if (config.getDefaultBooleanValue()) {
|
|
4374
|
-
this.mode = 'tile';
|
|
4375
|
-
}
|
|
4376
|
-
else {
|
|
4377
|
-
this.mode = 'list';
|
|
4378
|
-
}
|
|
4379
|
-
}
|
|
4380
|
-
}
|
|
4381
4454
|
});
|
|
4382
4455
|
}
|
|
4383
4456
|
ngOnDestroy() {
|
|
@@ -4400,7 +4473,7 @@ CatalogSearchComponent.decorators = [
|
|
|
4400
4473
|
{ type: Component, args: [{
|
|
4401
4474
|
selector: 'co-catalog-search',
|
|
4402
4475
|
template: `
|
|
4403
|
-
<div class="catalog-search-wrapper">
|
|
4476
|
+
<div class="catalog-search-wrapper" *ngIf="configLoaded">
|
|
4404
4477
|
<ng-container *ngIf="tempFilter">
|
|
4405
4478
|
<div class="filter-content" @showHideFilter>
|
|
4406
4479
|
<div class="search-filter-panel-header-wrapper">
|
|
@@ -4487,17 +4560,20 @@ CatalogSearchComponent.decorators = [
|
|
|
4487
4560
|
CatalogSelectMultipleParameterizedCacheService,
|
|
4488
4561
|
CatalogSelectSingleParameterizedCacheService,
|
|
4489
4562
|
CatalogBusinessObjectCacheManagerService,
|
|
4563
|
+
CatalogService,
|
|
4564
|
+
CatalogScreenConfigurationService,
|
|
4490
4565
|
CatalogImageService,
|
|
4491
4566
|
CatalogFilterService,
|
|
4492
4567
|
CatalogOptionsService,
|
|
4493
4568
|
CatalogConnectorService,
|
|
4494
4569
|
CatalogConnectorAdapterService,
|
|
4495
|
-
CatalogService,
|
|
4496
4570
|
CatalogSettingsService,
|
|
4497
4571
|
CatalogSearchService,
|
|
4498
4572
|
CatalogStockService,
|
|
4499
4573
|
CatalogStockComparisonService,
|
|
4500
4574
|
CatalogStockTransferService,
|
|
4575
|
+
{ provide: BaseModuleService, useExisting: CatalogService },
|
|
4576
|
+
{ provide: BaseModuleScreenConfigService, useExisting: CatalogScreenConfigurationService },
|
|
4501
4577
|
{
|
|
4502
4578
|
provide: SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME,
|
|
4503
4579
|
useExisting: forwardRef(() => CatalogSearchComponent)
|
|
@@ -4518,8 +4594,9 @@ CatalogSearchComponent.ctorParameters = () => [
|
|
|
4518
4594
|
{ type: CatalogService, decorators: [{ type: Host }] },
|
|
4519
4595
|
{ type: CatalogSearchService, decorators: [{ type: Host }] },
|
|
4520
4596
|
{ type: CatalogEventService },
|
|
4597
|
+
{ type: CatalogConnectorAdapterService },
|
|
4521
4598
|
{ type: IconCacheService },
|
|
4522
|
-
{ type:
|
|
4599
|
+
{ type: CatalogScreenConfigurationService }
|
|
4523
4600
|
];
|
|
4524
4601
|
CatalogSearchComponent.propDecorators = {
|
|
4525
4602
|
settings: [{ type: Input }],
|
|
@@ -4854,13 +4931,16 @@ CatalogArticleTileComponent.decorators = [
|
|
|
4854
4931
|
<div class="image">
|
|
4855
4932
|
<co-image class="co-image" [source]="article.imageData"></co-image>
|
|
4856
4933
|
</div>
|
|
4857
|
-
<div class="button-wrapper">
|
|
4858
|
-
<co-icon
|
|
4859
|
-
<co-icon *ngIf="
|
|
4934
|
+
<div class="button-wrapper" *ngIf="threeD">
|
|
4935
|
+
<co-icon [iconData]="iconCache.getIcon(icons.ThreeD)" class="pointer"></co-icon>
|
|
4936
|
+
<co-icon *ngIf="options.showARButton" class="pointer"
|
|
4860
4937
|
[iconData]="iconCache.getIcon(icons.Ar)"
|
|
4861
4938
|
(click)="handleArButtonClick($event)"
|
|
4862
4939
|
></co-icon>
|
|
4863
4940
|
</div>
|
|
4941
|
+
<div class="button-wrapper right configurable" *ngIf="configurable">
|
|
4942
|
+
<co-icon [iconData]="iconCache.getIcon(icons.WandMagicSparklesLight)" class="pointer"></co-icon>
|
|
4943
|
+
</div>
|
|
4864
4944
|
</div>
|
|
4865
4945
|
<div class="description-wrapper">
|
|
4866
4946
|
<!--
|
|
@@ -4904,9 +4984,9 @@ CatalogArticleTileComponent.decorators = [
|
|
|
4904
4984
|
</co-button>
|
|
4905
4985
|
<co-button *ngIf="configurable"
|
|
4906
4986
|
[label]="options.lookAtArticleButtonText"
|
|
4907
|
-
class="open-icon action pointer"
|
|
4987
|
+
class="open-icon action pointer configurable"
|
|
4908
4988
|
(onClick)="handleLookAtArticleButtonClick($event)"
|
|
4909
|
-
[iconData]="iconCache.getIcon(icons.
|
|
4989
|
+
[iconData]="iconCache.getIcon(icons.ChevronRightRegular)"
|
|
4910
4990
|
[disabled]="isHomeDecoHub">
|
|
4911
4991
|
</co-button>
|
|
4912
4992
|
<!--co-button
|
|
@@ -6385,5 +6465,5 @@ CatalogNavigationService.ctorParameters = () => [
|
|
|
6385
6465
|
* Generated bundle index. Do not edit.
|
|
6386
6466
|
*/
|
|
6387
6467
|
|
|
6388
|
-
export { CatalogArticleListModule, CatalogArticleTileModule, CatalogBusinessObjectCacheManagerService, CatalogCategoriesModule, CatalogConnectorAdapterService, CatalogConnectorService, CatalogEventService, CatalogExternalSourceModule, CatalogExternalSourcesModule, CatalogFilterModule, CatalogFilterService, CatalogImageService, CatalogNavigationModule, CatalogNavigationService, CatalogOptionsService, CatalogSearchHeaderModule, CatalogSearchModule, CatalogSearchResultListModule, CatalogSearchResultTileModule, CatalogSearchService, CatalogSelectMultipleCacheService, CatalogSelectMultipleParameterizedCacheService, CatalogSelectSingleCacheService, CatalogSelectSingleParameterizedCacheService, CatalogService, CatalogSettingsService, CatalogStockComparisonListModule, CatalogStockComparisonService, CatalogStockComparisonTileModule, CatalogStockOverviewListModule, CatalogStockOverviewTileModule, CatalogStockService, CatalogStockTransferService, CatalogWarehouseTransfersListModule, CatalogWarehouseTransfersTileModule, StockView, Version, CatalogFilterCategoriesModule as ɵa, PipeModule as ɵb,
|
|
6468
|
+
export { CatalogArticleListModule, CatalogArticleTileModule, CatalogBusinessObjectCacheManagerService, CatalogCategoriesModule, CatalogConnectorAdapterService, CatalogConnectorService, CatalogEventService, CatalogExternalSourceModule, CatalogExternalSourcesModule, CatalogFilterModule, CatalogFilterService, CatalogImageService, CatalogNavigationModule, CatalogNavigationService, CatalogOptionsService, CatalogSearchHeaderModule, CatalogSearchModule, CatalogSearchResultListModule, CatalogSearchResultTileModule, CatalogSearchService, CatalogSelectMultipleCacheService, CatalogSelectMultipleParameterizedCacheService, CatalogSelectSingleCacheService, CatalogSelectSingleParameterizedCacheService, CatalogService, CatalogSettingsService, CatalogStockComparisonListModule, CatalogStockComparisonService, CatalogStockComparisonTileModule, CatalogStockOverviewListModule, CatalogStockOverviewTileModule, CatalogStockService, CatalogStockTransferService, CatalogWarehouseTransfersListModule, CatalogWarehouseTransfersTileModule, StockView, Version, CatalogFilterCategoriesModule as ɵa, PipeModule as ɵb, VisibilityObserverMasterDirective as ɵba, VisibilityObserverDirective as ɵbb, CatalogSearchResultTileComponent as ɵbc, CatalogSearchBaseComponent as ɵbd, CatalogArticleListComponent as ɵbe, CatalogSearchResultListComponent as ɵbf, CatalogSearchComponent as ɵbg, CatalogExternalSourceComponent as ɵbh, CatalogStockOverviewTileComponent as ɵbi, CatalogStockOverviewListComponent as ɵbj, CatalogStockComparisonTileComponent as ɵbk, CatalogStockComparisonListComponent as ɵbl, CatalogWarehouseTransfersTileComponent as ɵbm, CatalogWarehouseTransfersListComponent as ɵbn, LocalizePipe as ɵc, DictionaryService as ɵd, CatalogFilterCategoriesComponent as ɵe, CatalogFilterContentGeneralModule as ɵf, CatalogFilterItemModule as ɵg, CatalogFilterItemComponent as ɵh, CacheField as ɵi, CatalogScreenConfigurationService as ɵj, CatalogFilterContentGeneralComponent as ɵk, IconCacheService as ɵl, CatalogFilterContentPurchaseModule as ɵm, CatalogFilterContentPurchaseComponent as ɵn, CatalogFilterContentLogisticsModule as ɵo, CatalogFilterContentLogisticsComponent as ɵp, CatalogFilterComponent as ɵq, ResponsiveTextModule as ɵr, ResponsiveTextComponent as ɵs, CatalogCategoriesComponent as ɵt, CatalogExternalSourcesComponent as ɵu, CatalogNavigationComponent as ɵv, CatalogSearchHeaderComponent as ɵw, CatalogArticleTileComponent as ɵx, ArticleBaseComponent as ɵy, VisibilityObserverModule as ɵz };
|
|
6389
6469
|
//# sourceMappingURL=colijnit-catalog.js.map
|