@colijnit/catalog 12.1.68 → 253.1.1
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 +105 -12
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-general/catalog-filter-content-general.component.js +2 -2
- package/esm2015/lib/component/catalog-filter-content/catalog-filter-content-purchase/catalog-filter-content-purchase.component.js +2 -2
- package/esm2015/lib/service/catalog-filter.service.js +3 -2
- package/fesm2015/colijnit-catalog.js +6 -5
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/package.json +8 -7
|
@@ -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 = "
|
|
34
|
-
this.publishDate = "
|
|
33
|
+
this.symVer = "253.1.1";
|
|
34
|
+
this.publishDate = "21-6-2024 10:55:11";
|
|
35
35
|
}
|
|
36
36
|
return Version;
|
|
37
37
|
}());
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
51
51
|
PERFORMANCE OF THIS SOFTWARE.
|
|
52
52
|
***************************************************************************** */
|
|
53
|
-
/* global Reflect, Promise */
|
|
53
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
54
54
|
var extendStatics = function (d, b) {
|
|
55
55
|
extendStatics = Object.setPrototypeOf ||
|
|
56
56
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -129,11 +129,11 @@
|
|
|
129
129
|
if (_ = accept(result.set))
|
|
130
130
|
descriptor.set = _;
|
|
131
131
|
if (_ = accept(result.init))
|
|
132
|
-
initializers.
|
|
132
|
+
initializers.unshift(_);
|
|
133
133
|
}
|
|
134
134
|
else if (_ = accept(result)) {
|
|
135
135
|
if (kind === "field")
|
|
136
|
-
initializers.
|
|
136
|
+
initializers.unshift(_);
|
|
137
137
|
else
|
|
138
138
|
descriptor[key] = _;
|
|
139
139
|
}
|
|
@@ -342,9 +342,13 @@
|
|
|
342
342
|
if (!Symbol.asyncIterator)
|
|
343
343
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
344
344
|
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
345
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
346
|
-
function
|
|
347
|
-
|
|
345
|
+
return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
346
|
+
function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
|
|
347
|
+
function verb(n, f) { if (g[n]) {
|
|
348
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); };
|
|
349
|
+
if (f)
|
|
350
|
+
i[n] = f(i[n]);
|
|
351
|
+
} }
|
|
348
352
|
function resume(n, v) { try {
|
|
349
353
|
step(g[n](v));
|
|
350
354
|
}
|
|
@@ -419,7 +423,95 @@
|
|
|
419
423
|
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
420
424
|
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
421
425
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
422
|
-
}
|
|
426
|
+
}
|
|
427
|
+
function __addDisposableResource(env, value, async) {
|
|
428
|
+
if (value !== null && value !== void 0) {
|
|
429
|
+
if (typeof value !== "object" && typeof value !== "function")
|
|
430
|
+
throw new TypeError("Object expected.");
|
|
431
|
+
var dispose, inner;
|
|
432
|
+
if (async) {
|
|
433
|
+
if (!Symbol.asyncDispose)
|
|
434
|
+
throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
435
|
+
dispose = value[Symbol.asyncDispose];
|
|
436
|
+
}
|
|
437
|
+
if (dispose === void 0) {
|
|
438
|
+
if (!Symbol.dispose)
|
|
439
|
+
throw new TypeError("Symbol.dispose is not defined.");
|
|
440
|
+
dispose = value[Symbol.dispose];
|
|
441
|
+
if (async)
|
|
442
|
+
inner = dispose;
|
|
443
|
+
}
|
|
444
|
+
if (typeof dispose !== "function")
|
|
445
|
+
throw new TypeError("Object not disposable.");
|
|
446
|
+
if (inner)
|
|
447
|
+
dispose = function () { try {
|
|
448
|
+
inner.call(this);
|
|
449
|
+
}
|
|
450
|
+
catch (e) {
|
|
451
|
+
return Promise.reject(e);
|
|
452
|
+
} };
|
|
453
|
+
env.stack.push({ value: value, dispose: dispose, async: async });
|
|
454
|
+
}
|
|
455
|
+
else if (async) {
|
|
456
|
+
env.stack.push({ async: true });
|
|
457
|
+
}
|
|
458
|
+
return value;
|
|
459
|
+
}
|
|
460
|
+
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
461
|
+
var e = new Error(message);
|
|
462
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
463
|
+
};
|
|
464
|
+
function __disposeResources(env) {
|
|
465
|
+
function fail(e) {
|
|
466
|
+
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
|
467
|
+
env.hasError = true;
|
|
468
|
+
}
|
|
469
|
+
function next() {
|
|
470
|
+
while (env.stack.length) {
|
|
471
|
+
var rec = env.stack.pop();
|
|
472
|
+
try {
|
|
473
|
+
var result = rec.dispose && rec.dispose.call(rec.value);
|
|
474
|
+
if (rec.async)
|
|
475
|
+
return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
|
|
476
|
+
}
|
|
477
|
+
catch (e) {
|
|
478
|
+
fail(e);
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
if (env.hasError)
|
|
482
|
+
throw env.error;
|
|
483
|
+
}
|
|
484
|
+
return next();
|
|
485
|
+
}
|
|
486
|
+
var tslib_es6 = {
|
|
487
|
+
__extends: __extends,
|
|
488
|
+
__assign: __assign,
|
|
489
|
+
__rest: __rest,
|
|
490
|
+
__decorate: __decorate,
|
|
491
|
+
__param: __param,
|
|
492
|
+
__metadata: __metadata,
|
|
493
|
+
__awaiter: __awaiter,
|
|
494
|
+
__generator: __generator,
|
|
495
|
+
__createBinding: __createBinding,
|
|
496
|
+
__exportStar: __exportStar,
|
|
497
|
+
__values: __values,
|
|
498
|
+
__read: __read,
|
|
499
|
+
__spread: __spread,
|
|
500
|
+
__spreadArrays: __spreadArrays,
|
|
501
|
+
__spreadArray: __spreadArray,
|
|
502
|
+
__await: __await,
|
|
503
|
+
__asyncGenerator: __asyncGenerator,
|
|
504
|
+
__asyncDelegator: __asyncDelegator,
|
|
505
|
+
__asyncValues: __asyncValues,
|
|
506
|
+
__makeTemplateObject: __makeTemplateObject,
|
|
507
|
+
__importStar: __importStar,
|
|
508
|
+
__importDefault: __importDefault,
|
|
509
|
+
__classPrivateFieldGet: __classPrivateFieldGet,
|
|
510
|
+
__classPrivateFieldSet: __classPrivateFieldSet,
|
|
511
|
+
__classPrivateFieldIn: __classPrivateFieldIn,
|
|
512
|
+
__addDisposableResource: __addDisposableResource,
|
|
513
|
+
__disposeResources: __disposeResources,
|
|
514
|
+
};
|
|
423
515
|
|
|
424
516
|
var SettingsOptions = /** @class */ (function () {
|
|
425
517
|
function SettingsOptions() {
|
|
@@ -2551,7 +2643,8 @@
|
|
|
2551
2643
|
['Main article', 'rangeSuperArticleNr'],
|
|
2552
2644
|
['Material', 'rangeMaterial'],
|
|
2553
2645
|
['Tag', 'tagRange'],
|
|
2554
|
-
['Turnover group', 'rangeTurnoverGroup']
|
|
2646
|
+
['Turnover group', 'rangeTurnoverGroup'],
|
|
2647
|
+
['Brand', 'rangeBrand']
|
|
2555
2648
|
]);
|
|
2556
2649
|
}
|
|
2557
2650
|
CatalogFilterService.prototype.getFilters = function (filters) {
|
|
@@ -3547,7 +3640,7 @@
|
|
|
3547
3640
|
CatalogFilterContentGeneralComponent.decorators = [
|
|
3548
3641
|
{ type: i0.Component, args: [{
|
|
3549
3642
|
selector: 'co-catalog-filter-content-general',
|
|
3550
|
-
template: "\n <div class=\"catalog-filter-content-general-wrapper catalog-filter-content-wrapper\">\n\n <div class=\"catalog-filter-wrapper\">\n <div class=\"filter-items-wrapper co-small-scrollbar\">\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'ARTICLENR'\"\n [mode]=\"modes.TextField\"\n [(model)]=\"catalogSearchService.searchRequest.articleNumber\"\n [expanded]=\"false\"\n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'BARCODE'\"\n [mode]=\"modes.TextField\"\n [(model)]=\"catalogSearchService.searchRequest.barcode\"\n [expanded]=\"false\"\n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'PRICE'\"\n [mode]=\"modes.Slider\"\n [sliderDefaultMin]=0\n [sliderDefaultMax]=100000\n [(model)]=\"catalogSearchService.searchRequest.rangePrice\"\n [expanded]=\"false\"\n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'LENGTH'\"\n [mode]=\"modes.Slider\"\n [sliderDefaultMin]=0\n [sliderDefaultMax]=5000\n [(model)]=\"catalogSearchService.searchRequest.length\"\n [expanded]=\"false\"\n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'WIDTH'\"\n [mode]=\"modes.Slider\"\n [sliderDefaultMin]=0\n [sliderDefaultMax]=5000\n [(model)]=\"catalogSearchService.searchRequest.width\"\n [expanded]=\"false\" \n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'HEIGHT'\"\n [mode]=\"modes.Slider\"\n [sliderDefaultMin]=0\n [sliderDefaultMax]=5000\n [(model)]=\"catalogSearchService.searchRequest.height\"\n [expanded]=\"false\" \n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'DEPTH'\"\n [mode]=\"modes.Slider\"\n [sliderDefaultMin]=0\n [sliderDefaultMax]=5000\n [(model)]=\"catalogSearchService.searchRequest.depth\"\n [expanded]=\"false\" \n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'ARTICLE_TYPE'\"\n [customContent]=\"true\">\n <co-input-checkbox\n (modelChange)=\"this.handleAllChanged($event)\"\n [label]=\"'ALL'\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'SHOW_REGULAR_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showRegularArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'SHOW_CONFIGURED_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showConfiguredArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'BASE_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showConfigurableArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'COMPOSITION_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showCompositionArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'SHOW_CUSTOMIZED_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showCustomizedArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'SHOW_INACTIVE_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showInactiveArticles\"></co-input-checkbox>\n </co-catalog-filter-item>\n </div>\n \n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'COLOR'\"\n [(model)]=\"catalogSearchService.searchRequest.colourCodes\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\"\n [collection]=\"colorCollection\"\n [expanded]=\"false\"\n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'LATEST_DELIVERY_DATE'\"\n [(model)]=\"catalogSearchService.searchRequest.latestDeliveryDate\"\n [mode]=\"modes.DateField\"\n [expanded]=\"false\"\n >\n </co-catalog-filter-item>\n </div>\n \n <!--TODO reinitialize once screenconfig is implemented-->\n <!--<div class=\"filter-item-wrapper\"> \n <co-catalog-filter-item\n [placeholder]=\"'ARTICLE_TYPE'\"\n [customContent]=\"true\">\n <co-input-checkbox\n (modelChange)=\"this.handleAllChanged($event)\"\n [label]=\"'ALL'\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'SHOW_REGULAR_ARTICLES' | localize\" \n [(model)]=\"catalogSearchService.searchRequest.showRegularArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'SHOW_CONFIGURED_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showConfiguredArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'BASE_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showConfigurableArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'COMPOSITION_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showCompositionArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'SHOW_CUSTOMIZED_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showCustomizedArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'SHOW_INACTIVE_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showInactiveArticles\"></co-input-checkbox>\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'AUTOMATICALLY_UPDATE'\"\n [collection]=\"doSyncCollection\"\n [mode]=\"modes.Filterlist\"\n [(model)]=\"catalogSearchService.searchRequest.doSync\"\n >\n </co-catalog-filter-item> \n </div> --> \n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'RETAIL_FORMULA'\"\n [collection]=\"storeGroupCollection\" \n [mode]=\"modes.Filterlist\"\n [(model)]=\"catalogSearchService.searchRequest.rangeStoreGroup\"\n > \n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'IN_OUT_COLLECTION'\"\n [collection]=\"inOutCollectionCollection\" \n [mode]=\"modes.Filterlist\"\n [(model)]=\"catalogSearchService.searchRequest.collection\"\n >\n </co-catalog-filter-item>\n </div>\n <!--TODO reinitialize once screenconfig is implemented-->\n <!--<div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'ARTICLE_TYPE'\"\n [collection]=\"articleTypeCollection\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\"\n [(model)]=\"catalogSearchService.searchRequest.articleKindList\"\n >\n </co-catalog-filter-item>\n </div>-->\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'PUBLISH_VIA'\"\n [collection]=\"artPublicationCollection\"\n [(model)]=\"catalogSearchService.searchRequest.publicationCode\"\n [mode]=\"modes.SelectListWithNumberOutput\"\n [expanded]=\"false\"\n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'SELL_VIA'\"\n [collection]=\"artPublicationSalesCollection\"\n [(model)]=\"catalogSearchService.searchRequest.publicationWebshopSales\"\n [mode]=\"modes.SelectListWithNumberOutput\"\n [expanded]=\"false\"\n >\n </co-catalog-filter-item>\n </div>\n <!--TODO reinitialize once screenconfig is implemented-->\n <!--<div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'PRICELIST_SALES'\"\n [(model)]=\"catalogSearchService.searchRequest.pricelistRetail\"\n [mode]=\"modes.SingleSelectList\"\n [collection]=\"priceListsSalesCollection\"\n >\n </co-catalog-filter-item>\n </div>-->\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'CATEGORY'\"\n [(model)]=\"catalogSearchService.searchRequest.category\"\n [mode]=\"modes.SingleSelectList\"\n [collection]=\"categoryCollection\"\n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\" *ngFor=\"let filter of filterService.filters\">\n <co-catalog-filter-item\n [placeholder]=\"filter.filterName\"\n [collection]=\"filter.filterItems\"\n [(model)]=\"catalogSearchService.searchRequest[filterService.getFilterItemMap(filter.filterName)]\"\n [mode]=\"modes.Filterlist\"\n [initialLimit]=5\n ></co-catalog-filter-item> \n </div> \n </div>\n </div> \n </div>\n "
|
|
3643
|
+
template: "\n <div class=\"catalog-filter-content-general-wrapper catalog-filter-content-wrapper\">\n\n <div class=\"catalog-filter-wrapper\">\n <div class=\"filter-items-wrapper co-small-scrollbar\">\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'ARTICLENR'\"\n [mode]=\"modes.TextField\"\n [(model)]=\"catalogSearchService.searchRequest.articleNumber\"\n [expanded]=\"false\"\n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'BARCODE'\"\n [mode]=\"modes.TextField\"\n [(model)]=\"catalogSearchService.searchRequest.barcode\"\n [expanded]=\"false\"\n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'PRICE'\"\n [mode]=\"modes.Slider\"\n [sliderDefaultMin]=0\n [sliderDefaultMax]=100000\n [(model)]=\"catalogSearchService.searchRequest.rangePrice\"\n [expanded]=\"false\"\n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'LENGTH'\"\n [mode]=\"modes.Slider\"\n [sliderDefaultMin]=0\n [sliderDefaultMax]=5000\n [(model)]=\"catalogSearchService.searchRequest.length\"\n [expanded]=\"false\"\n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'WIDTH'\"\n [mode]=\"modes.Slider\"\n [sliderDefaultMin]=0\n [sliderDefaultMax]=5000\n [(model)]=\"catalogSearchService.searchRequest.width\"\n [expanded]=\"false\" \n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'HEIGHT'\"\n [mode]=\"modes.Slider\"\n [sliderDefaultMin]=0\n [sliderDefaultMax]=5000\n [(model)]=\"catalogSearchService.searchRequest.height\"\n [expanded]=\"false\" \n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'DEPTH'\"\n [mode]=\"modes.Slider\"\n [sliderDefaultMin]=0\n [sliderDefaultMax]=5000\n [(model)]=\"catalogSearchService.searchRequest.depth\"\n [expanded]=\"false\" \n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item\n [placeholder]=\"'ARTICLE_TYPE'\"\n [customContent]=\"true\">\n <co-input-checkbox\n (modelChange)=\"this.handleAllChanged($event)\"\n [label]=\"'ALL'\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'SHOW_REGULAR_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showRegularArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'SHOW_CONFIGURED_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showConfiguredArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'BASE_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showConfigurableArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'COMPOSITION_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showCompositionArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'SHOW_CUSTOMIZED_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showCustomizedArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'SHOW_INACTIVE_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showInactiveArticles\"></co-input-checkbox>\n </co-catalog-filter-item>\n </div>\n \n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'COLOR'\"\n [(model)]=\"catalogSearchService.searchRequest.colourCodes\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\"\n [collection]=\"colorCollection\"\n [expanded]=\"false\"\n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'LATEST_DELIVERY_DATE'\"\n [(model)]=\"catalogSearchService.searchRequest.latestDeliveryDate\"\n [mode]=\"modes.DateField\"\n [expanded]=\"false\"\n >\n </co-catalog-filter-item>\n </div>\n \n <!--TODO reinitialize once screenconfig is implemented-->\n <!--<div class=\"filter-item-wrapper\"> \n <co-catalog-filter-item\n [placeholder]=\"'ARTICLE_TYPE'\"\n [customContent]=\"true\">\n <co-input-checkbox\n (modelChange)=\"this.handleAllChanged($event)\"\n [label]=\"'ALL'\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'SHOW_REGULAR_ARTICLES' | localize\" \n [(model)]=\"catalogSearchService.searchRequest.showRegularArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'SHOW_CONFIGURED_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showConfiguredArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'BASE_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showConfigurableArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'COMPOSITION_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showCompositionArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'SHOW_CUSTOMIZED_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showCustomizedArticles\"></co-input-checkbox>\n <co-input-checkbox\n [label]=\"'SHOW_INACTIVE_ARTICLES' | localize\"\n [(model)]=\"catalogSearchService.searchRequest.showInactiveArticles\"></co-input-checkbox>\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'AUTOMATICALLY_UPDATE'\"\n [collection]=\"doSyncCollection\"\n [mode]=\"modes.Filterlist\"\n [(model)]=\"catalogSearchService.searchRequest.doSync\"\n >\n </co-catalog-filter-item> \n </div> --> \n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'RETAIL_FORMULA'\"\n [collection]=\"storeGroupCollection\" \n [mode]=\"modes.Filterlist\"\n [(model)]=\"catalogSearchService.searchRequest.rangeStoreGroup\"\n > \n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'IN_OUT_COLLECTION'\"\n [collection]=\"inOutCollectionCollection\" \n [mode]=\"modes.Filterlist\"\n [(model)]=\"catalogSearchService.searchRequest.collection\"\n >\n </co-catalog-filter-item>\n </div>\n <!--TODO reinitialize once screenconfig is implemented-->\n <!--<div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'ARTICLE_TYPE'\"\n [collection]=\"articleTypeCollection\"\n [mode]=\"modes.SelectListWithStringCollectionOutput\"\n [(model)]=\"catalogSearchService.searchRequest.articleKindList\"\n >\n </co-catalog-filter-item>\n </div>-->\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'PUBLISH_VIA'\"\n [collection]=\"artPublicationCollection\"\n [(model)]=\"catalogSearchService.searchRequest.publicationCode\"\n [mode]=\"modes.SelectListWithNumberOutput\"\n [expanded]=\"false\"\n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'SELL_VIA'\"\n [collection]=\"artPublicationSalesCollection\"\n [(model)]=\"catalogSearchService.searchRequest.publicationWebshopSales\"\n [mode]=\"modes.SelectListWithNumberOutput\"\n [expanded]=\"false\"\n >\n </co-catalog-filter-item>\n </div>\n <!--TODO reinitialize once screenconfig is implemented-->\n <!--<div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'PRICELIST_SALES'\"\n [(model)]=\"catalogSearchService.searchRequest.pricelistRetail\"\n [mode]=\"modes.SingleSelectList\"\n [collection]=\"priceListsSalesCollection\"\n >\n </co-catalog-filter-item>\n </div>-->\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'CATEGORY'\"\n [(model)]=\"catalogSearchService.searchRequest.category\"\n [mode]=\"modes.Filterlist\"\n [collection]=\"categoryCollection\"\n >\n </co-catalog-filter-item>\n </div>\n <div class=\"filter-item-wrapper\" *ngFor=\"let filter of filterService.filters\">\n <co-catalog-filter-item\n [placeholder]=\"filter.filterName\"\n [collection]=\"filter.filterItems\"\n [(model)]=\"catalogSearchService.searchRequest[filterService.getFilterItemMap(filter.filterName)]\"\n [mode]=\"modes.Filterlist\"\n [initialLimit]=5\n ></co-catalog-filter-item> \n </div> \n </div>\n </div> \n </div>\n "
|
|
3551
3644
|
},] }
|
|
3552
3645
|
];
|
|
3553
3646
|
CatalogFilterContentGeneralComponent.ctorParameters = function () { return [
|
|
@@ -3719,7 +3812,7 @@
|
|
|
3719
3812
|
CatalogFilterContentPurchaseComponent.decorators = [
|
|
3720
3813
|
{ type: i0.Component, args: [{
|
|
3721
3814
|
selector: 'co-catalog-filter-content-purchase',
|
|
3722
|
-
template: "\n <div class=\"catalog-filter-content-purchase-wrapper catalog-filter-content-wrapper\">\n <div class=\"catalog-filter-wrapper\">\n <div class=\"filter-items-wrapper co-small-scrollbar\">\n <div class=\"filter-item-wrapper\">\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'SUPPLIER'\"\n [collection]=\"suppliers\"\n [(model)]=\"catalogSearchService.searchRequest.rangeSupplierNr\"\n >\n </co-catalog-filter-item>\n </div> \n <co-catalog-filter-item [placeholder]=\"'ARTICLE_NR_SUPPLIER'\"\n [mode]=\"modes.TextField\"\n [(model)]=\"catalogSearchService.searchRequest.artNrSupplier\"> \n </co-catalog-filter-item>\n <co-catalog-filter-item [placeholder]=\"'REFERENCE'\"\n [mode]=\"modes.TextField\"\n [(model)]=\"catalogSearchService.searchRequest.simpleReference\">\n </co-catalog-filter-item> \n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'PRICELIST_PURCHASE'\"\n [collection]=\"priceListsPurchCollection\"\n [mode]=\"modes.
|
|
3815
|
+
template: "\n <div class=\"catalog-filter-content-purchase-wrapper catalog-filter-content-wrapper\">\n <div class=\"catalog-filter-wrapper\">\n <div class=\"filter-items-wrapper co-small-scrollbar\">\n <div class=\"filter-item-wrapper\">\n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'SUPPLIER'\"\n [collection]=\"suppliers\"\n [(model)]=\"catalogSearchService.searchRequest.rangeSupplierNr\"\n >\n </co-catalog-filter-item>\n </div> \n <co-catalog-filter-item [placeholder]=\"'ARTICLE_NR_SUPPLIER'\"\n [mode]=\"modes.TextField\"\n [(model)]=\"catalogSearchService.searchRequest.artNrSupplier\"> \n </co-catalog-filter-item>\n <co-catalog-filter-item [placeholder]=\"'REFERENCE'\"\n [mode]=\"modes.TextField\"\n [(model)]=\"catalogSearchService.searchRequest.simpleReference\">\n </co-catalog-filter-item> \n <div class=\"filter-item-wrapper\">\n <co-catalog-filter-item [placeholder]=\"'PRICELIST_PURCHASE'\"\n [collection]=\"priceListsPurchCollection\"\n [mode]=\"modes.Filterlist\"\n [(model)]=\"catalogSearchService.searchRequest.pricelistPurchase\"\n >\n </co-catalog-filter-item>\n </div>\n </div>\n </div>\n </div> \n </div>\n "
|
|
3723
3816
|
},] }
|
|
3724
3817
|
];
|
|
3725
3818
|
CatalogFilterContentPurchaseComponent.ctorParameters = function () { return [
|