@colijnit/catalog 256.1.6 → 256.1.8
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 +110 -27
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog-256.1.7.tgz +0 -0
- package/colijnit-catalog.d.ts +7 -7
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/colijnit-catalog.js +8 -8
- 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-external-source/catalog-external-source.component.js +6 -6
- package/esm2015/lib/component/catalog-external-sources/catalog-external-sources.component.js +62 -17
- package/esm2015/lib/component/catalog-filter-item/catalog-filter-item.component.js +24 -6
- 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 +13 -3
- package/esm2015/lib/service/catalog-connector.service.js +6 -1
- package/esm2015/lib/service/catalog-stock-comparison.service.js +1 -2
- package/esm2015/lib/service/catalog-stock-transfer.service.js +1 -2
- package/esm2015/lib/service/catalog-stock.service.js +1 -2
- package/fesm2015/colijnit-catalog.js +117 -36
- 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-sources/catalog-external-sources.component.d.ts +5 -0
- package/lib/component/catalog-external-sources/style/_layout.scss +17 -0
- package/lib/component/catalog-filter-item/catalog-filter-item.component.d.ts +10 -5
- package/lib/enum/icon.enum.d.ts +2 -0
- package/lib/service/catalog-connector-adapter.service.d.ts +1 -1
- package/lib/service/catalog-connector.service.d.ts +1 -0
- package/package.json +1 -1
- package/colijnit-catalog-256.1.4.tgz +0 -0
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
function Version() {
|
|
31
31
|
this.name = "@colijnit/catalog";
|
|
32
32
|
this.description = "iOne Catalog module based on Angular 12";
|
|
33
|
-
this.symVer = "256.1.
|
|
34
|
-
this.publishDate = "
|
|
33
|
+
this.symVer = "256.1.8";
|
|
34
|
+
this.publishDate = "29-11-2024 16:24:27";
|
|
35
35
|
}
|
|
36
36
|
return Version;
|
|
37
37
|
}());
|
|
@@ -807,7 +807,6 @@
|
|
|
807
807
|
this._boFactory = new businessObjectFactory.BusinessObjectFactory();
|
|
808
808
|
this._initializing = false;
|
|
809
809
|
this._initialized = false;
|
|
810
|
-
console.log('create');
|
|
811
810
|
}
|
|
812
811
|
Object.defineProperty(CatalogConnectorAdapterService.prototype, "shouldShowLoader", {
|
|
813
812
|
get: function () {
|
|
@@ -1543,6 +1542,26 @@
|
|
|
1543
1542
|
});
|
|
1544
1543
|
});
|
|
1545
1544
|
};
|
|
1545
|
+
CatalogConnectorAdapterService.prototype.getAvailabeCatalogsForLoggedInUser = function () {
|
|
1546
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1547
|
+
var response;
|
|
1548
|
+
return __generator(this, function (_a) {
|
|
1549
|
+
switch (_a.label) {
|
|
1550
|
+
case 0: return [4 /*yield*/, this.relationConnector.getAvailabeCatalogsForLoggedInUser(true)];
|
|
1551
|
+
case 1:
|
|
1552
|
+
response = _a.sent();
|
|
1553
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
1554
|
+
return [2 /*return*/, response];
|
|
1555
|
+
}
|
|
1556
|
+
else {
|
|
1557
|
+
console.error(response.validationMessagesAsString);
|
|
1558
|
+
return [2 /*return*/, response];
|
|
1559
|
+
}
|
|
1560
|
+
return [2 /*return*/];
|
|
1561
|
+
}
|
|
1562
|
+
});
|
|
1563
|
+
});
|
|
1564
|
+
};
|
|
1546
1565
|
CatalogConnectorAdapterService.prototype.getPresets = function (module, user) {
|
|
1547
1566
|
return __awaiter(this, void 0, void 0, function () {
|
|
1548
1567
|
var response;
|
|
@@ -1841,8 +1860,7 @@
|
|
|
1841
1860
|
{ type: i0.Injectable, args: [{
|
|
1842
1861
|
providedIn: 'root'
|
|
1843
1862
|
},] }
|
|
1844
|
-
];
|
|
1845
|
-
CatalogConnectorAdapterService.ctorParameters = function () { return []; };
|
|
1863
|
+
];
|
|
1846
1864
|
|
|
1847
1865
|
// 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.
|
|
1848
1866
|
var CacheField = /** @class */ (function () {
|
|
@@ -2600,6 +2618,13 @@
|
|
|
2600
2618
|
});
|
|
2601
2619
|
});
|
|
2602
2620
|
};
|
|
2621
|
+
CatalogConnectorService.prototype.getAvailabeCatalogsForLoggedInUser = function () {
|
|
2622
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2623
|
+
return __generator(this, function (_a) {
|
|
2624
|
+
return [2 /*return*/, this._adapterService.getAvailabeCatalogsForLoggedInUser()];
|
|
2625
|
+
});
|
|
2626
|
+
});
|
|
2627
|
+
};
|
|
2603
2628
|
CatalogConnectorService.prototype.getPresets = function (module, user) {
|
|
2604
2629
|
return __awaiter(this, void 0, void 0, function () {
|
|
2605
2630
|
return __generator(this, function (_a) {
|
|
@@ -3652,6 +3677,7 @@
|
|
|
3652
3677
|
IconEnum["Camera"] = "camera";
|
|
3653
3678
|
IconEnum["Cancel"] = "cancel";
|
|
3654
3679
|
IconEnum["Check"] = "check";
|
|
3680
|
+
IconEnum["ChevronRightRegular"] = "chevron_right_regular";
|
|
3655
3681
|
IconEnum["Close"] = "close";
|
|
3656
3682
|
IconEnum["Eye"] = "eye";
|
|
3657
3683
|
IconEnum["Filter"] = "filter";
|
|
@@ -3668,6 +3694,7 @@
|
|
|
3668
3694
|
IconEnum["ThreeD"] = "three_d";
|
|
3669
3695
|
IconEnum["TileView"] = "tile_view";
|
|
3670
3696
|
IconEnum["Truck"] = "truck";
|
|
3697
|
+
IconEnum["WandMagicSparklesLight"] = "wand_magic_sparkles_light";
|
|
3671
3698
|
IconEnum["WebCatalog"] = "web_catalog";
|
|
3672
3699
|
})(IconEnum || (IconEnum = {}));
|
|
3673
3700
|
|
|
@@ -3681,6 +3708,7 @@
|
|
|
3681
3708
|
"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>",
|
|
3682
3709
|
"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>",
|
|
3683
3710
|
"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>",
|
|
3711
|
+
"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>",
|
|
3684
3712
|
"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>",
|
|
3685
3713
|
"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>",
|
|
3686
3714
|
"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>",
|
|
@@ -3697,6 +3725,7 @@
|
|
|
3697
3725
|
"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>",
|
|
3698
3726
|
"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>",
|
|
3699
3727
|
"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>",
|
|
3728
|
+
"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>",
|
|
3700
3729
|
"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>"
|
|
3701
3730
|
};
|
|
3702
3731
|
|
|
@@ -4120,8 +4149,9 @@
|
|
|
4120
4149
|
};
|
|
4121
4150
|
|
|
4122
4151
|
var CatalogFilterItemComponent = /** @class */ (function () {
|
|
4123
|
-
function CatalogFilterItemComponent(searchService) {
|
|
4152
|
+
function CatalogFilterItemComponent(searchService, _screenConfigService) {
|
|
4124
4153
|
this.searchService = searchService;
|
|
4154
|
+
this._screenConfigService = _screenConfigService;
|
|
4125
4155
|
this.collection = [];
|
|
4126
4156
|
this.placeholder = '';
|
|
4127
4157
|
this.customContent = false;
|
|
@@ -4138,7 +4168,23 @@
|
|
|
4138
4168
|
this.showMoreLabel = "SHOW_MORE";
|
|
4139
4169
|
this.showLessLabel = "SHOW_LESS";
|
|
4140
4170
|
this.filterButtonLabel = "SEARCH_IMPERATIVE";
|
|
4171
|
+
this._subs = [];
|
|
4141
4172
|
}
|
|
4173
|
+
CatalogFilterItemComponent.prototype.ngOnInit = function () {
|
|
4174
|
+
var _this = this;
|
|
4175
|
+
this._subs.push(
|
|
4176
|
+
// todo: remove this dirty hack when screenconfig is completed
|
|
4177
|
+
this._screenConfigService.configSet.subscribe(function (config) {
|
|
4178
|
+
if (config) {
|
|
4179
|
+
if (!_this._screenConfigService.getObjectConfigurationFor(_this.screenConfigurationObjectName)) {
|
|
4180
|
+
_this.screenConfigurationObjectName = undefined;
|
|
4181
|
+
}
|
|
4182
|
+
}
|
|
4183
|
+
}));
|
|
4184
|
+
};
|
|
4185
|
+
CatalogFilterItemComponent.prototype.ngOnDestroy = function () {
|
|
4186
|
+
this._subs.forEach(function (s) { return s.unsubscribe(); });
|
|
4187
|
+
};
|
|
4142
4188
|
CatalogFilterItemComponent.prototype.onFilterButtonClicked = function () {
|
|
4143
4189
|
this.searchService.searchArticles();
|
|
4144
4190
|
this._scrollToTop();
|
|
@@ -4160,7 +4206,8 @@
|
|
|
4160
4206
|
},] }
|
|
4161
4207
|
];
|
|
4162
4208
|
CatalogFilterItemComponent.ctorParameters = function () { return [
|
|
4163
|
-
{ type: CatalogSearchService }
|
|
4209
|
+
{ type: CatalogSearchService },
|
|
4210
|
+
{ type: CatalogScreenConfigurationService }
|
|
4164
4211
|
]; };
|
|
4165
4212
|
CatalogFilterItemComponent.propDecorators = {
|
|
4166
4213
|
model: [{ type: i0.Input }],
|
|
@@ -4731,8 +4778,10 @@
|
|
|
4731
4778
|
function CatalogExternalSourcesComponent(_catalogConnectorService, _imageService) {
|
|
4732
4779
|
this._catalogConnectorService = _catalogConnectorService;
|
|
4733
4780
|
this._imageService = _imageService;
|
|
4781
|
+
this.isStandalone = false;
|
|
4734
4782
|
this.externalSourceClick = new i0.EventEmitter();
|
|
4735
4783
|
this.externalSourceViewModels = [];
|
|
4784
|
+
this.unavailableCatalogs = [];
|
|
4736
4785
|
}
|
|
4737
4786
|
CatalogExternalSourcesComponent.prototype.showClass = function () {
|
|
4738
4787
|
return true;
|
|
@@ -4740,12 +4789,45 @@
|
|
|
4740
4789
|
CatalogExternalSourcesComponent.prototype.ngOnInit = function () {
|
|
4741
4790
|
var _this = this;
|
|
4742
4791
|
this.externalSourceViewModels.length = 0;
|
|
4743
|
-
this.
|
|
4792
|
+
if (!this.isStandalone) {
|
|
4793
|
+
this._catalogConnectorService.getAvailabeCatalogsForLoggedInUser().then(function (result) {
|
|
4794
|
+
if (result['validationResult']['success'] === true) {
|
|
4795
|
+
if (result['resultObject']['availableCatalogs']) {
|
|
4796
|
+
_this.loadCatalogs(result['resultObject']['availableCatalogs']).then(function (result) { });
|
|
4797
|
+
}
|
|
4798
|
+
if (result['resultObject']['unavailableCatalogs']) {
|
|
4799
|
+
_this.loadUnavailableCatalogs(result['resultObject']['unavailableCatalogs']);
|
|
4800
|
+
}
|
|
4801
|
+
}
|
|
4802
|
+
else {
|
|
4803
|
+
_this._catalogConnectorService.getCatalogDefinitions().then(function (defs) { return __awaiter(_this, void 0, void 0, function () {
|
|
4804
|
+
return __generator(this, function (_a) {
|
|
4805
|
+
if (defs) {
|
|
4806
|
+
this.loadCatalogs(defs).then(function (result) { });
|
|
4807
|
+
}
|
|
4808
|
+
return [2 /*return*/];
|
|
4809
|
+
});
|
|
4810
|
+
}); });
|
|
4811
|
+
}
|
|
4812
|
+
});
|
|
4813
|
+
}
|
|
4814
|
+
else {
|
|
4815
|
+
this._catalogConnectorService.getCatalogDefinitions().then(function (defs) { return __awaiter(_this, void 0, void 0, function () {
|
|
4816
|
+
return __generator(this, function (_a) {
|
|
4817
|
+
if (defs) {
|
|
4818
|
+
this.loadCatalogs(defs).then(function (result) { });
|
|
4819
|
+
}
|
|
4820
|
+
return [2 /*return*/];
|
|
4821
|
+
});
|
|
4822
|
+
}); });
|
|
4823
|
+
}
|
|
4824
|
+
};
|
|
4825
|
+
CatalogExternalSourcesComponent.prototype.loadCatalogs = function (defs) {
|
|
4826
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
4744
4827
|
var i, viewModel, _a, _b, _c;
|
|
4745
4828
|
return __generator(this, function (_d) {
|
|
4746
4829
|
switch (_d.label) {
|
|
4747
4830
|
case 0:
|
|
4748
|
-
if (!defs) return [3 /*break*/, 6];
|
|
4749
4831
|
i = 0;
|
|
4750
4832
|
_d.label = 1;
|
|
4751
4833
|
case 1:
|
|
@@ -4771,14 +4853,17 @@
|
|
|
4771
4853
|
case 6: return [2 /*return*/];
|
|
4772
4854
|
}
|
|
4773
4855
|
});
|
|
4774
|
-
});
|
|
4856
|
+
});
|
|
4857
|
+
};
|
|
4858
|
+
CatalogExternalSourcesComponent.prototype.loadUnavailableCatalogs = function (defs) {
|
|
4859
|
+
this.unavailableCatalogs = defs;
|
|
4775
4860
|
};
|
|
4776
4861
|
return CatalogExternalSourcesComponent;
|
|
4777
4862
|
}());
|
|
4778
4863
|
CatalogExternalSourcesComponent.decorators = [
|
|
4779
4864
|
{ type: i0.Component, args: [{
|
|
4780
4865
|
selector: 'co-catalog-external-sources',
|
|
4781
|
-
template: "\n
|
|
4866
|
+
template: "\n <ng-container *ngIf=\"externalSourceViewModels && externalSourceViewModels.length > 0\">\n <div class=\"catalog-external-sources-wrapper\">\n <div class=\"external-source-item\" *ngFor=\"let externalSourceViewModel of externalSourceViewModels\"\n (click)=\"externalSourceClick.emit(externalSourceViewModel)\">\n <div class=\"external-source-description\"\n [textContent]=\"externalSourceViewModel.catalogDefinition.name\"></div>\n <co-image [source]=\"externalSourceViewModel.catalogDefinition.imageData\"></co-image>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"unavailableCatalogs && unavailableCatalogs.length > 0\">\n <div class=\"catalog-external-sources-wrapper catalog-external-sources-wrapper-unavailable\">\n <div class=\"external-source-item external-source-item-unavailable\"\n *ngFor=\"let unavailableCatalog of unavailableCatalogs\">\n <div class=\"external-source-description\"\n [textContent]=\"unavailableCatalog.name\"></div>\n <co-image [source]=\"unavailableCatalog.imageData\"></co-image>\n </div>\n </div>\n </ng-container>\n\n ",
|
|
4782
4867
|
encapsulation: i0.ViewEncapsulation.None
|
|
4783
4868
|
},] }
|
|
4784
4869
|
];
|
|
@@ -4787,6 +4872,7 @@
|
|
|
4787
4872
|
{ type: CatalogImageService }
|
|
4788
4873
|
]; };
|
|
4789
4874
|
CatalogExternalSourcesComponent.propDecorators = {
|
|
4875
|
+
isStandalone: [{ type: i0.Input }],
|
|
4790
4876
|
externalSourceClick: [{ type: i0.Output }],
|
|
4791
4877
|
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-external-sources',] }]
|
|
4792
4878
|
};
|
|
@@ -4915,7 +5001,6 @@
|
|
|
4915
5001
|
CatalogStockService.prototype.getArticleGridViewExcelFile = function () {
|
|
4916
5002
|
this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: null, rangeWarehouse: null, rangeStockStatus: null });
|
|
4917
5003
|
this._catalogConnectorService.getArticleGridViewExcelFile(this.stockSearchRequest).then(function (result) {
|
|
4918
|
-
console.log('export: ', result);
|
|
4919
5004
|
});
|
|
4920
5005
|
};
|
|
4921
5006
|
return CatalogStockService;
|
|
@@ -5009,7 +5094,6 @@
|
|
|
5009
5094
|
CatalogStockTransferService.prototype.getArticleGridViewExcelFile = function () {
|
|
5010
5095
|
this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: null, rangeStockStatus: null, rangeSourceWarehouse: null, rangeTargetWarehouse: null });
|
|
5011
5096
|
this._catalogConnectorService.getTransferArticleGridViewExcelFile(this.stockSearchRequest).then(function (result) {
|
|
5012
|
-
console.log('export: ', result);
|
|
5013
5097
|
});
|
|
5014
5098
|
};
|
|
5015
5099
|
return CatalogStockTransferService;
|
|
@@ -5103,7 +5187,6 @@
|
|
|
5103
5187
|
CatalogStockComparisonService.prototype.getArticleGridViewExcelFile = function () {
|
|
5104
5188
|
this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 1 });
|
|
5105
5189
|
this._catalogConnectorService.getComparisonArticleGridViewExcelFile(this.stockSearchRequest).then(function (result) {
|
|
5106
|
-
console.log('export: ', result);
|
|
5107
5190
|
});
|
|
5108
5191
|
};
|
|
5109
5192
|
return CatalogStockComparisonService;
|
|
@@ -5618,7 +5701,7 @@
|
|
|
5618
5701
|
CatalogArticleTileComponent.decorators = [
|
|
5619
5702
|
{ type: i0.Component, args: [{
|
|
5620
5703
|
selector: 'co-catalog-article-tile',
|
|
5621
|
-
template: "\n <div class=\"article-tile-wrapper\">\n <div class=\"card-wrapper\">\n <div class=\"image\">\n <co-image class=\"co-image\" [source]=\"article.imageData\"></co-image>\n </div>\n <div class=\"button-wrapper\"
|
|
5704
|
+
template: "\n <div class=\"article-tile-wrapper\">\n <div class=\"card-wrapper\">\n <div class=\"image\">\n <co-image class=\"co-image\" [source]=\"article.imageData\"></co-image>\n </div>\n <div class=\"button-wrapper\" *ngIf=\"threeD\">\n <co-icon [iconData]=\"iconCache.getIcon(icons.ThreeD)\" class=\"pointer\"></co-icon>\n <co-icon *ngIf=\"options.showARButton\" class=\"pointer\"\n [iconData]=\"iconCache.getIcon(icons.Ar)\"\n (click)=\"handleArButtonClick($event)\"\n ></co-icon>\n </div>\n <div class=\"button-wrapper right configurable\" *ngIf=\"configurable\">\n <co-icon [iconData]=\"iconCache.getIcon(icons.WandMagicSparklesLight)\" class=\"pointer\"></co-icon>\n </div>\n </div>\n <div class=\"description-wrapper\">\n <!--\n <div class=\"main\">\n -->\n <div class=\"main-top\">\n <div *ngIf=\"!!turnover\" class=\"turnover\" [innerText]=\"removeHtmlTags(turnover)\"></div>\n <div class=\"name\" [innerText]=\"removeHtmlTags(article.name)\"></div>\n <div class=\"description\" [innerText]=\"removeHtmlTags(article.description)\"></div>\n </div>\n <div class=\"main-bottom\">\n <div class=\"main-bottom-left\">\n <div *ngIf=\"!!article?.price\" class=\"price\" [innerText]=\"article?.price | priceDisplay:valutaSymbol\"></div>\n <div *ngIf=\"!!article?.articleNumber\" class=\"sku\">\n <span [innerText]=\"'sku' | localize\"></span>:\n <span [innerText]=\"article.articleNumber\"></span>\n </div>\n <div class=\"stock-delivery-wrapper\" (click)=\"handleStockDetailsButtonClick($event)\">\n <div *ngIf=\"inStock\"\n class=\"instock-wrapper\"\n [class.in-stock]=\"inStock\"\n (click)=\"handleStockDetailsButtonClick($event)\">\n <span [innerText]=\"stockAmount\"></span>\n <span [innerText]=\"stockLabel | localize\"></span>\n </div>\n <div *ngIf=\"!inStock\" class=\"outstock-wrapper\">\n <span [innerText]=\"stockLabel | localize\"></span>\n </div>\n <div class=\"delivery-wrapper\">\n <span [innerText]=\"deliveryTimeLabel\"></span>\n </div> \n </div>\n </div>\n <div *ngIf=\"options.showAddArticleButton\" class=\"on-article-buttons\">\n <co-button *ngIf=\"!configurable\"\n [label]=\"options.addArticleButtonText\"\n class=\"open-icon action pointer\"\n (onClick)=\"handleAddArticleButtonClick($event)\"\n [iconData]=\"iconCache.getIcon(icons.AddToCartDrop)\"\n [disabled]=\"isHomeDecoHub\">\n </co-button>\n <co-button *ngIf=\"configurable\"\n [label]=\"options.lookAtArticleButtonText\"\n class=\"open-icon action pointer configurable\"\n (onClick)=\"handleLookAtArticleButtonClick($event)\"\n [iconData]=\"iconCache.getIcon(icons.ChevronRightRegular)\" \n [disabled]=\"isHomeDecoHub\">\n </co-button>\n <!--co-button\n [label]=\"options.stockButtonText\"\n class=\"open-icon action pointer stock\"\n (onClick)=\"handleStockDetailsButtonClick($event)\"\n [iconData]=\"iconCache.getIcon(icons.Truck)\">\n </co-button-->\n </div>\n </div>\n </div>\n </div>\n ",
|
|
5622
5705
|
encapsulation: i0.ViewEncapsulation.None
|
|
5623
5706
|
},] }
|
|
5624
5707
|
];
|
|
@@ -6086,7 +6169,7 @@
|
|
|
6086
6169
|
}).catch(function (e) {
|
|
6087
6170
|
//If there is no price data, make that object null and pass data along
|
|
6088
6171
|
_this.create3DimerseFeedback(configurationData_1, null);
|
|
6089
|
-
console.log(e);
|
|
6172
|
+
// console.log(e);
|
|
6090
6173
|
});
|
|
6091
6174
|
}
|
|
6092
6175
|
else {
|
|
@@ -6096,17 +6179,17 @@
|
|
|
6096
6179
|
}).catch(function (e) {
|
|
6097
6180
|
//If we cannot fetch price data
|
|
6098
6181
|
_this.create3DimerseFeedback(configurationData_1, null);
|
|
6099
|
-
console.log(e);
|
|
6182
|
+
// console.log(e);
|
|
6100
6183
|
});
|
|
6101
6184
|
}).catch(function (e) {
|
|
6102
6185
|
//If there is an error fetching config data do not continue. just log the error.
|
|
6103
|
-
console.log(e);
|
|
6186
|
+
// console.log(e);
|
|
6104
6187
|
configurationData_1 = {};
|
|
6105
6188
|
});
|
|
6106
6189
|
}
|
|
6107
6190
|
}).catch(function (e) {
|
|
6108
6191
|
//If there is an error fetching config dat. just log the error.
|
|
6109
|
-
console.log(e);
|
|
6192
|
+
// console.log(e);
|
|
6110
6193
|
configurationData_1 = {};
|
|
6111
6194
|
});
|
|
6112
6195
|
}
|
|
@@ -6121,7 +6204,7 @@
|
|
|
6121
6204
|
var resultObject = {};
|
|
6122
6205
|
resultObject['configuratie-data'] = configurationData;
|
|
6123
6206
|
resultObject['prijs-data'] = priceData;
|
|
6124
|
-
console.log(resultObject);
|
|
6207
|
+
// console.log(resultObject);
|
|
6125
6208
|
this.iFrameFeedbackReceived.emit(JSON.stringify(resultObject));
|
|
6126
6209
|
};
|
|
6127
6210
|
CatalogExternalSourceComponent.prototype.fetchJsonFile = function (url) {
|
|
@@ -6745,13 +6828,13 @@
|
|
|
6745
6828
|
exports["ɵg"] = CatalogFilterItemModule;
|
|
6746
6829
|
exports["ɵh"] = CatalogFilterItemComponent;
|
|
6747
6830
|
exports["ɵi"] = CacheField;
|
|
6748
|
-
exports["ɵj"] =
|
|
6749
|
-
exports["ɵk"] =
|
|
6750
|
-
exports["ɵl"] =
|
|
6751
|
-
exports["ɵm"] =
|
|
6752
|
-
exports["ɵn"] =
|
|
6753
|
-
exports["ɵo"] =
|
|
6754
|
-
exports["ɵp"] =
|
|
6831
|
+
exports["ɵj"] = CatalogScreenConfigurationService;
|
|
6832
|
+
exports["ɵk"] = CatalogFilterContentGeneralComponent;
|
|
6833
|
+
exports["ɵl"] = IconCacheService;
|
|
6834
|
+
exports["ɵm"] = CatalogFilterContentPurchaseModule;
|
|
6835
|
+
exports["ɵn"] = CatalogFilterContentPurchaseComponent;
|
|
6836
|
+
exports["ɵo"] = CatalogFilterContentLogisticsModule;
|
|
6837
|
+
exports["ɵp"] = CatalogFilterContentLogisticsComponent;
|
|
6755
6838
|
exports["ɵq"] = CatalogFilterComponent;
|
|
6756
6839
|
exports["ɵr"] = ResponsiveTextModule;
|
|
6757
6840
|
exports["ɵs"] = ResponsiveTextComponent;
|