@colijnit/catalog 255.1.5 → 255.1.6
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 +550 -633
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.d.ts +8 -8
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/colijnit-catalog.js +9 -9
- package/esm2015/lib/cache/service/catalog-business-object-cache-manager.service.js +142 -0
- package/esm2015/lib/cache/service/catalog-select-multiple-cache.service.js +38 -0
- package/esm2015/lib/cache/service/catalog-select-multiple-parameterized-cache.service.js +47 -0
- package/esm2015/lib/cache/service/catalog-select-single-cache.service.js +30 -0
- package/esm2015/lib/cache/service/catalog-select-single-parameterized-cache.service.js +47 -0
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/component/catalog-external-source/catalog-external-source.module.js +2 -2
- package/esm2015/lib/component/catalog-external-sources/catalog-external-sources.component.js +7 -5
- package/esm2015/lib/component/catalog-search/catalog-search.component.js +11 -13
- package/esm2015/lib/component/catalog-search/catalog-search.module.js +1 -54
- package/esm2015/lib/service/catalog-connector-adapter.service.js +6 -2
- package/esm2015/lib/service/catalog-connector.service.js +19 -10
- package/esm2015/lib/service/catalog-filter.service.js +7 -2
- package/esm2015/lib/service/catalog-image.service.js +7 -2
- package/esm2015/lib/service/catalog-options.service.js +8 -2
- package/esm2015/lib/service/catalog-search.service.js +11 -2
- package/esm2015/lib/service/catalog-settings.service.js +7 -2
- package/esm2015/lib/service/catalog.service.js +13 -2
- package/esm2015/public_api.js +6 -6
- package/fesm2015/colijnit-catalog.js +460 -450
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/cache/service/{business-object-cache-manager.service.d.ts → catalog-business-object-cache-manager.service.d.ts} +1 -1
- package/lib/cache/service/{select-multiple-cache.service.d.ts → catalog-select-multiple-cache.service.d.ts} +3 -3
- package/lib/cache/service/{select-multiple-parameterized-cache.service.d.ts → catalog-select-multiple-parameterized-cache.service.d.ts} +3 -3
- package/lib/cache/service/{select-single-cache.service.d.ts → catalog-select-single-cache.service.d.ts} +3 -3
- package/lib/cache/service/{select-single-parameterized-cache.service.d.ts → catalog-select-single-parameterized-cache.service.d.ts} +3 -3
- package/lib/component/catalog-search/catalog-search.module.d.ts +0 -2
- package/lib/service/catalog-connector.service.d.ts +5 -5
- package/package.json +3 -3
- package/public_api.d.ts +5 -5
- package/esm2015/lib/cache/service/business-object-cache-manager.service.js +0 -138
- package/esm2015/lib/cache/service/select-multiple-cache.service.js +0 -33
- package/esm2015/lib/cache/service/select-multiple-parameterized-cache.service.js +0 -42
- package/esm2015/lib/cache/service/select-single-cache.service.js +0 -25
- package/esm2015/lib/cache/service/select-single-parameterized-cache.service.js +0 -42
|
@@ -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 = "255.1.
|
|
34
|
-
this.publishDate = "
|
|
33
|
+
this.symVer = "255.1.6";
|
|
34
|
+
this.publishDate = "2-9-2024 16:25:22";
|
|
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 */
|
|
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.push(_);
|
|
133
133
|
}
|
|
134
134
|
else if (_ = accept(result)) {
|
|
135
135
|
if (kind === "field")
|
|
136
|
-
initializers.
|
|
136
|
+
initializers.push(_);
|
|
137
137
|
else
|
|
138
138
|
descriptor[key] = _;
|
|
139
139
|
}
|
|
@@ -342,13 +342,9 @@
|
|
|
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"
|
|
346
|
-
function
|
|
347
|
-
|
|
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
|
-
} }
|
|
345
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
346
|
+
function verb(n) { if (g[n])
|
|
347
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
352
348
|
function resume(n, v) { try {
|
|
353
349
|
step(g[n](v));
|
|
354
350
|
}
|
|
@@ -423,95 +419,7 @@
|
|
|
423
419
|
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
424
420
|
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
425
421
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
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
|
-
};
|
|
422
|
+
}
|
|
515
423
|
|
|
516
424
|
var SettingsOptions = /** @class */ (function () {
|
|
517
425
|
function SettingsOptions() {
|
|
@@ -786,8 +694,11 @@
|
|
|
786
694
|
};
|
|
787
695
|
return CatalogSettingsService;
|
|
788
696
|
}());
|
|
697
|
+
CatalogSettingsService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CatalogSettingsService_Factory() { return new CatalogSettingsService(i0__namespace.ɵɵinject(DictionaryService)); }, token: CatalogSettingsService, providedIn: "root" });
|
|
789
698
|
CatalogSettingsService.decorators = [
|
|
790
|
-
{ type: i0.Injectable
|
|
699
|
+
{ type: i0.Injectable, args: [{
|
|
700
|
+
providedIn: 'root'
|
|
701
|
+
},] }
|
|
791
702
|
];
|
|
792
703
|
CatalogSettingsService.ctorParameters = function () { return [
|
|
793
704
|
{ type: DictionaryService }
|
|
@@ -1904,8 +1815,11 @@
|
|
|
1904
1815
|
};
|
|
1905
1816
|
return CatalogConnectorAdapterService;
|
|
1906
1817
|
}());
|
|
1818
|
+
CatalogConnectorAdapterService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CatalogConnectorAdapterService_Factory() { return new CatalogConnectorAdapterService(); }, token: CatalogConnectorAdapterService, providedIn: "root" });
|
|
1907
1819
|
CatalogConnectorAdapterService.decorators = [
|
|
1908
|
-
{ type: i0.Injectable
|
|
1820
|
+
{ type: i0.Injectable, args: [{
|
|
1821
|
+
providedIn: 'root'
|
|
1822
|
+
},] }
|
|
1909
1823
|
];
|
|
1910
1824
|
|
|
1911
1825
|
// 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.
|
|
@@ -2080,8 +1994,8 @@
|
|
|
2080
1994
|
*
|
|
2081
1995
|
* All caches are reset when the user logs out.
|
|
2082
1996
|
*/
|
|
2083
|
-
var
|
|
2084
|
-
function
|
|
1997
|
+
var CatalogBusinessObjectCacheManagerService = /** @class */ (function () {
|
|
1998
|
+
function CatalogBusinessObjectCacheManagerService() {
|
|
2085
1999
|
// emits after this BO cache manager has been reset (e.g. after user logs out)
|
|
2086
2000
|
this.reset = new rxjs.Subject();
|
|
2087
2001
|
// key: global cache id's, e.g. a model classe or any other arbitrary key for cache items
|
|
@@ -2098,7 +2012,7 @@
|
|
|
2098
2012
|
* @param overrideOld Whether to allow an old cache item with the same key to become override by this newly created cache item.
|
|
2099
2013
|
* @returns The newly created cache item.
|
|
2100
2014
|
*/
|
|
2101
|
-
|
|
2015
|
+
CatalogBusinessObjectCacheManagerService.prototype.addNewSelectMultipleCacheItem = function (key, loadFunction, overrideOld) {
|
|
2102
2016
|
if (overrideOld === void 0) { overrideOld = false; }
|
|
2103
2017
|
if (!overrideOld && this._selectMultipleCache.has(key)) {
|
|
2104
2018
|
return;
|
|
@@ -2108,8 +2022,8 @@
|
|
|
2108
2022
|
this._selectMultipleCache.set(key, newCacheItem);
|
|
2109
2023
|
return newCacheItem;
|
|
2110
2024
|
};
|
|
2111
|
-
|
|
2112
|
-
if (id === void 0) { id =
|
|
2025
|
+
CatalogBusinessObjectCacheManagerService.prototype.addNewSelectSingleCacheItem = function (key, id, loadFunction, overrideOld) {
|
|
2026
|
+
if (id === void 0) { id = CatalogBusinessObjectCacheManagerService._NullBoId; }
|
|
2113
2027
|
if (overrideOld === void 0) { overrideOld = false; }
|
|
2114
2028
|
var cacheId = id.toString();
|
|
2115
2029
|
if (!overrideOld && this.hasSingleCacheItem(key, id)) {
|
|
@@ -2123,7 +2037,7 @@
|
|
|
2123
2037
|
this._selectSingleCache.get(key)[cacheId] = newCacheItem;
|
|
2124
2038
|
return newCacheItem;
|
|
2125
2039
|
};
|
|
2126
|
-
|
|
2040
|
+
CatalogBusinessObjectCacheManagerService.prototype.addNewSelectSingleParameterizedCacheItem = function (key, loadFunction, overrideOld) {
|
|
2127
2041
|
if (overrideOld === void 0) { overrideOld = false; }
|
|
2128
2042
|
if (!overrideOld && this._selectSingleParameterizedCache.has(key)) {
|
|
2129
2043
|
return;
|
|
@@ -2139,7 +2053,7 @@
|
|
|
2139
2053
|
* @param loadFunction e.g. (category: ArticleCategory) => { return this._dataService.selectMultiple(TurnoverGroupImage, category); }
|
|
2140
2054
|
* @param overrideOld Whether to allow an old cache item with the same key to become override by this newly created cache item.
|
|
2141
2055
|
*/
|
|
2142
|
-
|
|
2056
|
+
CatalogBusinessObjectCacheManagerService.prototype.addNewSelectMultipleParameterizedCacheItem = function (key, loadFunction, overrideOld) {
|
|
2143
2057
|
if (overrideOld === void 0) { overrideOld = false; }
|
|
2144
2058
|
if (!overrideOld && this._selectMultipleParameterizedCache.has(key)) {
|
|
2145
2059
|
return;
|
|
@@ -2149,37 +2063,37 @@
|
|
|
2149
2063
|
this._selectMultipleParameterizedCache.set(key, newCacheItem);
|
|
2150
2064
|
return newCacheItem;
|
|
2151
2065
|
};
|
|
2152
|
-
|
|
2066
|
+
CatalogBusinessObjectCacheManagerService.prototype.hasSelectMultipleCacheItem = function (key) {
|
|
2153
2067
|
return this._selectMultipleCache.has(key);
|
|
2154
2068
|
};
|
|
2155
|
-
|
|
2156
|
-
if (id === void 0) { id =
|
|
2069
|
+
CatalogBusinessObjectCacheManagerService.prototype.hasSingleCacheItem = function (key, id) {
|
|
2070
|
+
if (id === void 0) { id = CatalogBusinessObjectCacheManagerService._NullBoId; }
|
|
2157
2071
|
var cacheId = id.toString();
|
|
2158
2072
|
return this._selectSingleCache.has(key) && !!this._selectSingleCache.get(key)[cacheId];
|
|
2159
2073
|
};
|
|
2160
|
-
|
|
2074
|
+
CatalogBusinessObjectCacheManagerService.prototype.hasSelectMultipleParameterizedCacheItem = function (key) {
|
|
2161
2075
|
return this._selectMultipleParameterizedCache.has(key);
|
|
2162
2076
|
};
|
|
2163
|
-
|
|
2077
|
+
CatalogBusinessObjectCacheManagerService.prototype.hasSelectSingleParameterizedCacheItem = function (key) {
|
|
2164
2078
|
return this._selectSingleParameterizedCache.has(key);
|
|
2165
2079
|
};
|
|
2166
2080
|
// Returns the simple cache item with the given key. T is the type of the cache value items requested, e.g. Color.
|
|
2167
|
-
|
|
2081
|
+
CatalogBusinessObjectCacheManagerService.prototype.getSelectMultipleCacheItem = function (key) {
|
|
2168
2082
|
return this._selectMultipleCache.get(key);
|
|
2169
2083
|
};
|
|
2170
|
-
|
|
2171
|
-
if (id === void 0) { id =
|
|
2084
|
+
CatalogBusinessObjectCacheManagerService.prototype.getSingleCacheItem = function (key, id) {
|
|
2085
|
+
if (id === void 0) { id = CatalogBusinessObjectCacheManagerService._NullBoId; }
|
|
2172
2086
|
var cacheId = id.toString();
|
|
2173
2087
|
return this._selectSingleCache.has(key) && this._selectSingleCache.get(key)[cacheId];
|
|
2174
2088
|
};
|
|
2175
2089
|
// Returns the parameterized cache item with the given key. T is the type of the cache value items requested, e.g. Color.
|
|
2176
|
-
|
|
2090
|
+
CatalogBusinessObjectCacheManagerService.prototype.getSelectMultipleParameterCacheItem = function (key) {
|
|
2177
2091
|
return this._selectMultipleParameterizedCache.get(key);
|
|
2178
2092
|
};
|
|
2179
|
-
|
|
2093
|
+
CatalogBusinessObjectCacheManagerService.prototype.getSelectSingleParameterCacheItem = function (key) {
|
|
2180
2094
|
return this._selectSingleParameterizedCache.get(key);
|
|
2181
2095
|
};
|
|
2182
|
-
|
|
2096
|
+
CatalogBusinessObjectCacheManagerService.prototype._reset = function () {
|
|
2183
2097
|
this._selectMultipleCache.forEach(function (cacheItem) {
|
|
2184
2098
|
if (cacheItem) {
|
|
2185
2099
|
cacheItem.reset();
|
|
@@ -2204,39 +2118,45 @@
|
|
|
2204
2118
|
});
|
|
2205
2119
|
this.reset.next();
|
|
2206
2120
|
};
|
|
2207
|
-
return
|
|
2121
|
+
return CatalogBusinessObjectCacheManagerService;
|
|
2208
2122
|
}());
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2123
|
+
CatalogBusinessObjectCacheManagerService._NullBoId = -1;
|
|
2124
|
+
CatalogBusinessObjectCacheManagerService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CatalogBusinessObjectCacheManagerService_Factory() { return new CatalogBusinessObjectCacheManagerService(); }, token: CatalogBusinessObjectCacheManagerService, providedIn: "root" });
|
|
2125
|
+
CatalogBusinessObjectCacheManagerService.decorators = [
|
|
2126
|
+
{ type: i0.Injectable, args: [{
|
|
2127
|
+
providedIn: 'root'
|
|
2128
|
+
},] }
|
|
2212
2129
|
];
|
|
2213
2130
|
|
|
2214
|
-
var
|
|
2215
|
-
function
|
|
2131
|
+
var CatalogSelectSingleCacheService = /** @class */ (function () {
|
|
2132
|
+
function CatalogSelectSingleCacheService(_boCacheManager) {
|
|
2216
2133
|
this._boCacheManager = _boCacheManager;
|
|
2217
2134
|
}
|
|
2218
|
-
|
|
2135
|
+
CatalogSelectSingleCacheService.prototype.requestCache = function (clazz, sourceId, loadFunction) {
|
|
2219
2136
|
if (!this._boCacheManager.hasSingleCacheItem(clazz, sourceId)) {
|
|
2220
2137
|
this._createCacheItem(clazz, sourceId, loadFunction);
|
|
2221
2138
|
}
|
|
2222
2139
|
// noinspection TypeScriptValidateTypes
|
|
2223
2140
|
return this._boCacheManager.getSingleCacheItem(clazz, sourceId);
|
|
2224
2141
|
};
|
|
2225
|
-
|
|
2142
|
+
CatalogSelectSingleCacheService.prototype._createCacheItem = function (clazz, sourceId, loadFunction) {
|
|
2226
2143
|
// noinspection TypeScriptValidateTypes
|
|
2227
2144
|
return this._boCacheManager.addNewSelectSingleCacheItem(clazz, sourceId, loadFunction);
|
|
2228
2145
|
};
|
|
2229
|
-
return
|
|
2146
|
+
return CatalogSelectSingleCacheService;
|
|
2230
2147
|
}());
|
|
2231
|
-
|
|
2232
|
-
|
|
2148
|
+
CatalogSelectSingleCacheService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CatalogSelectSingleCacheService_Factory() { return new CatalogSelectSingleCacheService(i0__namespace.ɵɵinject(CatalogBusinessObjectCacheManagerService)); }, token: CatalogSelectSingleCacheService, providedIn: "root" });
|
|
2149
|
+
CatalogSelectSingleCacheService.decorators = [
|
|
2150
|
+
{ type: i0.Injectable, args: [{
|
|
2151
|
+
providedIn: 'root'
|
|
2152
|
+
},] }
|
|
2233
2153
|
];
|
|
2234
|
-
|
|
2235
|
-
{ type:
|
|
2154
|
+
CatalogSelectSingleCacheService.ctorParameters = function () { return [
|
|
2155
|
+
{ type: CatalogBusinessObjectCacheManagerService }
|
|
2236
2156
|
]; };
|
|
2237
2157
|
|
|
2238
|
-
var
|
|
2239
|
-
function
|
|
2158
|
+
var CatalogSelectMultipleCacheService = /** @class */ (function () {
|
|
2159
|
+
function CatalogSelectMultipleCacheService(_boCacheManager) {
|
|
2240
2160
|
this._boCacheManager = _boCacheManager;
|
|
2241
2161
|
}
|
|
2242
2162
|
/**
|
|
@@ -2244,7 +2164,7 @@
|
|
|
2244
2164
|
* @param clazz The BO class, e.g. CustomerFullObject
|
|
2245
2165
|
* @returns {CacheField<T[]>}
|
|
2246
2166
|
*/
|
|
2247
|
-
|
|
2167
|
+
CatalogSelectMultipleCacheService.prototype.requestCache = function (clazz, loadFunction) {
|
|
2248
2168
|
if (!this._boCacheManager.hasSelectMultipleCacheItem(clazz)) {
|
|
2249
2169
|
this._createCacheItem(clazz, loadFunction);
|
|
2250
2170
|
}
|
|
@@ -2252,23 +2172,26 @@
|
|
|
2252
2172
|
return this._boCacheManager.getSelectMultipleCacheItem(clazz);
|
|
2253
2173
|
};
|
|
2254
2174
|
// Creates and returns a new select multiple cache item into the global business object cache manager for given business object class.
|
|
2255
|
-
|
|
2175
|
+
CatalogSelectMultipleCacheService.prototype._createCacheItem = function (clazz, loadFunction) {
|
|
2256
2176
|
// noinspection TypeScriptValidateTypes
|
|
2257
2177
|
return this._boCacheManager.addNewSelectMultipleCacheItem(clazz, loadFunction);
|
|
2258
2178
|
};
|
|
2259
|
-
return
|
|
2179
|
+
return CatalogSelectMultipleCacheService;
|
|
2260
2180
|
}());
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2181
|
+
CatalogSelectMultipleCacheService._NullCache = new CacheField();
|
|
2182
|
+
CatalogSelectMultipleCacheService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CatalogSelectMultipleCacheService_Factory() { return new CatalogSelectMultipleCacheService(i0__namespace.ɵɵinject(CatalogBusinessObjectCacheManagerService)); }, token: CatalogSelectMultipleCacheService, providedIn: "root" });
|
|
2183
|
+
CatalogSelectMultipleCacheService.decorators = [
|
|
2184
|
+
{ type: i0.Injectable, args: [{
|
|
2185
|
+
providedIn: 'root'
|
|
2186
|
+
},] }
|
|
2264
2187
|
];
|
|
2265
|
-
|
|
2266
|
-
{ type:
|
|
2188
|
+
CatalogSelectMultipleCacheService.ctorParameters = function () { return [
|
|
2189
|
+
{ type: CatalogBusinessObjectCacheManagerService }
|
|
2267
2190
|
]; };
|
|
2268
2191
|
|
|
2269
2192
|
// service resonsible for filling the global BO cache manager service with parameterized select multiple cache items
|
|
2270
|
-
var
|
|
2271
|
-
function
|
|
2193
|
+
var CatalogSelectMultipleParameterizedCacheService = /** @class */ (function () {
|
|
2194
|
+
function CatalogSelectMultipleParameterizedCacheService(_boCacheManager) {
|
|
2272
2195
|
var _this = this;
|
|
2273
2196
|
this._boCacheManager = _boCacheManager;
|
|
2274
2197
|
// emits after this select multiple parameterized cache service has been reset (e.g. after user logs out)
|
|
@@ -2278,7 +2201,7 @@
|
|
|
2278
2201
|
_this.reset.next();
|
|
2279
2202
|
}));
|
|
2280
2203
|
}
|
|
2281
|
-
|
|
2204
|
+
CatalogSelectMultipleParameterizedCacheService.prototype.ngOnDestroy = function () {
|
|
2282
2205
|
this._subs.forEach(function (sub) { return sub.unsubscribe(); });
|
|
2283
2206
|
};
|
|
2284
2207
|
/**
|
|
@@ -2286,7 +2209,7 @@
|
|
|
2286
2209
|
* @param clazz The BO class, used for undeflying dataService.selectMultiple(clazz) call.
|
|
2287
2210
|
* @returns {CacheField<T[]>}
|
|
2288
2211
|
*/
|
|
2289
|
-
|
|
2212
|
+
CatalogSelectMultipleParameterizedCacheService.prototype.requestCache = function (clazz, loadFunction) {
|
|
2290
2213
|
if (!this._boCacheManager.hasSelectMultipleParameterizedCacheItem(clazz)) {
|
|
2291
2214
|
this._createParameterizedCacheItem(clazz, loadFunction);
|
|
2292
2215
|
}
|
|
@@ -2294,22 +2217,25 @@
|
|
|
2294
2217
|
return this._boCacheManager.getSelectMultipleParameterCacheItem(clazz);
|
|
2295
2218
|
};
|
|
2296
2219
|
// Creates and returns a new parameterized select multiple cache item into the global business object cache manager for given business object class.
|
|
2297
|
-
|
|
2220
|
+
CatalogSelectMultipleParameterizedCacheService.prototype._createParameterizedCacheItem = function (clazz, loadFunction) {
|
|
2298
2221
|
// noinspection TypeScriptValidateTypes
|
|
2299
2222
|
return this._boCacheManager.addNewSelectMultipleParameterizedCacheItem(clazz, loadFunction);
|
|
2300
2223
|
};
|
|
2301
|
-
return
|
|
2224
|
+
return CatalogSelectMultipleParameterizedCacheService;
|
|
2302
2225
|
}());
|
|
2303
|
-
|
|
2304
|
-
|
|
2226
|
+
CatalogSelectMultipleParameterizedCacheService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CatalogSelectMultipleParameterizedCacheService_Factory() { return new CatalogSelectMultipleParameterizedCacheService(i0__namespace.ɵɵinject(CatalogBusinessObjectCacheManagerService)); }, token: CatalogSelectMultipleParameterizedCacheService, providedIn: "root" });
|
|
2227
|
+
CatalogSelectMultipleParameterizedCacheService.decorators = [
|
|
2228
|
+
{ type: i0.Injectable, args: [{
|
|
2229
|
+
providedIn: 'root'
|
|
2230
|
+
},] }
|
|
2305
2231
|
];
|
|
2306
|
-
|
|
2307
|
-
{ type:
|
|
2232
|
+
CatalogSelectMultipleParameterizedCacheService.ctorParameters = function () { return [
|
|
2233
|
+
{ type: CatalogBusinessObjectCacheManagerService }
|
|
2308
2234
|
]; };
|
|
2309
2235
|
|
|
2310
2236
|
// service resonsible for filling the global BO cache manager service with parameterized select single cache items
|
|
2311
|
-
var
|
|
2312
|
-
function
|
|
2237
|
+
var CatalogSelectSingleParameterizedCacheService = /** @class */ (function () {
|
|
2238
|
+
function CatalogSelectSingleParameterizedCacheService(_boCacheManager) {
|
|
2313
2239
|
var _this = this;
|
|
2314
2240
|
this._boCacheManager = _boCacheManager;
|
|
2315
2241
|
// emits after this select single parameterized cache service has been reset (e.g. after user logs out)
|
|
@@ -2319,7 +2245,7 @@
|
|
|
2319
2245
|
_this.reset.next();
|
|
2320
2246
|
}));
|
|
2321
2247
|
}
|
|
2322
|
-
|
|
2248
|
+
CatalogSelectSingleParameterizedCacheService.prototype.ngOnDestroy = function () {
|
|
2323
2249
|
this._subs.forEach(function (sub) { return sub.unsubscribe(); });
|
|
2324
2250
|
};
|
|
2325
2251
|
/**
|
|
@@ -2327,7 +2253,7 @@
|
|
|
2327
2253
|
* @param clazz The BO class, used for undeflying dataService.selectSingle(clazz) call.
|
|
2328
2254
|
* @returns {CacheField<T>}
|
|
2329
2255
|
*/
|
|
2330
|
-
|
|
2256
|
+
CatalogSelectSingleParameterizedCacheService.prototype.requestCache = function (clazz, loadFunction) {
|
|
2331
2257
|
if (!this._boCacheManager.hasSelectSingleParameterizedCacheItem(clazz)) {
|
|
2332
2258
|
this._createParameterizedCacheItem(clazz, loadFunction);
|
|
2333
2259
|
}
|
|
@@ -2335,17 +2261,20 @@
|
|
|
2335
2261
|
return this._boCacheManager.getSelectSingleParameterCacheItem(clazz);
|
|
2336
2262
|
};
|
|
2337
2263
|
// Creates and returns a new parameterized select single cache item into the global business object cache manager for given business object class.
|
|
2338
|
-
|
|
2264
|
+
CatalogSelectSingleParameterizedCacheService.prototype._createParameterizedCacheItem = function (clazz, loadFunction) {
|
|
2339
2265
|
// noinspection TypeScriptValidateTypes
|
|
2340
2266
|
return this._boCacheManager.addNewSelectSingleParameterizedCacheItem(clazz, loadFunction);
|
|
2341
2267
|
};
|
|
2342
|
-
return
|
|
2268
|
+
return CatalogSelectSingleParameterizedCacheService;
|
|
2343
2269
|
}());
|
|
2344
|
-
|
|
2345
|
-
|
|
2270
|
+
CatalogSelectSingleParameterizedCacheService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CatalogSelectSingleParameterizedCacheService_Factory() { return new CatalogSelectSingleParameterizedCacheService(i0__namespace.ɵɵinject(CatalogBusinessObjectCacheManagerService)); }, token: CatalogSelectSingleParameterizedCacheService, providedIn: "root" });
|
|
2271
|
+
CatalogSelectSingleParameterizedCacheService.decorators = [
|
|
2272
|
+
{ type: i0.Injectable, args: [{
|
|
2273
|
+
providedIn: 'root'
|
|
2274
|
+
},] }
|
|
2346
2275
|
];
|
|
2347
|
-
|
|
2348
|
-
{ type:
|
|
2276
|
+
CatalogSelectSingleParameterizedCacheService.ctorParameters = function () { return [
|
|
2277
|
+
{ type: CatalogBusinessObjectCacheManagerService }
|
|
2349
2278
|
]; };
|
|
2350
2279
|
|
|
2351
2280
|
var CatalogConnectorService = /** @class */ (function () {
|
|
@@ -2712,15 +2641,18 @@
|
|
|
2712
2641
|
};
|
|
2713
2642
|
return CatalogConnectorService;
|
|
2714
2643
|
}());
|
|
2644
|
+
CatalogConnectorService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CatalogConnectorService_Factory() { return new CatalogConnectorService(i0__namespace.ɵɵinject(CatalogConnectorAdapterService), i0__namespace.ɵɵinject(CatalogSelectSingleCacheService), i0__namespace.ɵɵinject(CatalogSelectMultipleCacheService), i0__namespace.ɵɵinject(CatalogSelectMultipleParameterizedCacheService), i0__namespace.ɵɵinject(CatalogSelectSingleParameterizedCacheService)); }, token: CatalogConnectorService, providedIn: "root" });
|
|
2715
2645
|
CatalogConnectorService.decorators = [
|
|
2716
|
-
{ type: i0.Injectable
|
|
2646
|
+
{ type: i0.Injectable, args: [{
|
|
2647
|
+
providedIn: 'root'
|
|
2648
|
+
},] }
|
|
2717
2649
|
];
|
|
2718
2650
|
CatalogConnectorService.ctorParameters = function () { return [
|
|
2719
2651
|
{ type: CatalogConnectorAdapterService },
|
|
2720
|
-
{ type:
|
|
2721
|
-
{ type:
|
|
2722
|
-
{ type:
|
|
2723
|
-
{ type:
|
|
2652
|
+
{ type: CatalogSelectSingleCacheService },
|
|
2653
|
+
{ type: CatalogSelectMultipleCacheService },
|
|
2654
|
+
{ type: CatalogSelectMultipleParameterizedCacheService },
|
|
2655
|
+
{ type: CatalogSelectSingleParameterizedCacheService }
|
|
2724
2656
|
]; };
|
|
2725
2657
|
|
|
2726
2658
|
var CatalogOptionsService = /** @class */ (function () {
|
|
@@ -2841,8 +2773,11 @@
|
|
|
2841
2773
|
});
|
|
2842
2774
|
return CatalogOptionsService;
|
|
2843
2775
|
}());
|
|
2776
|
+
CatalogOptionsService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CatalogOptionsService_Factory() { return new CatalogOptionsService(i0__namespace.ɵɵinject(DictionaryService), i0__namespace.ɵɵinject(CatalogSettingsService)); }, token: CatalogOptionsService, providedIn: "root" });
|
|
2844
2777
|
CatalogOptionsService.decorators = [
|
|
2845
|
-
{ type: i0.Injectable
|
|
2778
|
+
{ type: i0.Injectable, args: [{
|
|
2779
|
+
providedIn: 'root'
|
|
2780
|
+
},] }
|
|
2846
2781
|
];
|
|
2847
2782
|
CatalogOptionsService.ctorParameters = function () { return [
|
|
2848
2783
|
{ type: DictionaryService },
|
|
@@ -2963,8 +2898,11 @@
|
|
|
2963
2898
|
};
|
|
2964
2899
|
return CatalogImageService;
|
|
2965
2900
|
}());
|
|
2901
|
+
CatalogImageService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CatalogImageService_Factory() { return new CatalogImageService(i0__namespace.ɵɵinject(CatalogConnectorService)); }, token: CatalogImageService, providedIn: "root" });
|
|
2966
2902
|
CatalogImageService.decorators = [
|
|
2967
|
-
{ type: i0.Injectable
|
|
2903
|
+
{ type: i0.Injectable, args: [{
|
|
2904
|
+
providedIn: 'root'
|
|
2905
|
+
},] }
|
|
2968
2906
|
];
|
|
2969
2907
|
CatalogImageService.ctorParameters = function () { return [
|
|
2970
2908
|
{ type: CatalogConnectorService }
|
|
@@ -3123,8 +3061,11 @@
|
|
|
3123
3061
|
};
|
|
3124
3062
|
return CatalogFilterService;
|
|
3125
3063
|
}());
|
|
3064
|
+
CatalogFilterService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CatalogFilterService_Factory() { return new CatalogFilterService(i0__namespace.ɵɵinject(CatalogConnectorService)); }, token: CatalogFilterService, providedIn: "root" });
|
|
3126
3065
|
CatalogFilterService.decorators = [
|
|
3127
|
-
{ type: i0.Injectable
|
|
3066
|
+
{ type: i0.Injectable, args: [{
|
|
3067
|
+
providedIn: 'root'
|
|
3068
|
+
},] }
|
|
3128
3069
|
];
|
|
3129
3070
|
CatalogFilterService.ctorParameters = function () { return [
|
|
3130
3071
|
{ type: CatalogConnectorService }
|
|
@@ -3280,8 +3221,11 @@
|
|
|
3280
3221
|
};
|
|
3281
3222
|
return CatalogSearchService;
|
|
3282
3223
|
}());
|
|
3224
|
+
CatalogSearchService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CatalogSearchService_Factory() { return new CatalogSearchService(i0__namespace.ɵɵinject(CatalogFilterService), i0__namespace.ɵɵinject(CatalogConnectorService), i0__namespace.ɵɵinject(CatalogConnectorAdapterService), i0__namespace.ɵɵinject(CatalogSettingsService), i0__namespace.ɵɵinject(CatalogOptionsService)); }, token: CatalogSearchService, providedIn: "root" });
|
|
3283
3225
|
CatalogSearchService.decorators = [
|
|
3284
|
-
{ type: i0.Injectable
|
|
3226
|
+
{ type: i0.Injectable, args: [{
|
|
3227
|
+
providedIn: 'root'
|
|
3228
|
+
},] }
|
|
3285
3229
|
];
|
|
3286
3230
|
CatalogSearchService.ctorParameters = function () { return [
|
|
3287
3231
|
{ type: CatalogFilterService },
|
|
@@ -3501,8 +3445,11 @@
|
|
|
3501
3445
|
};
|
|
3502
3446
|
return CatalogService;
|
|
3503
3447
|
}());
|
|
3448
|
+
CatalogService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CatalogService_Factory() { return new CatalogService(i0__namespace.ɵɵinject(CatalogConnectorService), i0__namespace.ɵɵinject(CatalogConnectorAdapterService), i0__namespace.ɵɵinject(CatalogSettingsService), i0__namespace.ɵɵinject(CatalogOptionsService), i0__namespace.ɵɵinject(CatalogImageService), i0__namespace.ɵɵinject(CatalogFilterService), i0__namespace.ɵɵinject(CatalogSearchService)); }, token: CatalogService, providedIn: "root" });
|
|
3504
3449
|
CatalogService.decorators = [
|
|
3505
|
-
{ type: i0.Injectable
|
|
3450
|
+
{ type: i0.Injectable, args: [{
|
|
3451
|
+
providedIn: 'root'
|
|
3452
|
+
},] }
|
|
3506
3453
|
];
|
|
3507
3454
|
CatalogService.ctorParameters = function () { return [
|
|
3508
3455
|
{ type: CatalogConnectorService },
|
|
@@ -4653,6 +4600,7 @@
|
|
|
4653
4600
|
return __generator(this, function (_d) {
|
|
4654
4601
|
switch (_d.label) {
|
|
4655
4602
|
case 0:
|
|
4603
|
+
if (!defs) return [3 /*break*/, 6];
|
|
4656
4604
|
i = 0;
|
|
4657
4605
|
_d.label = 1;
|
|
4658
4606
|
case 1:
|
|
@@ -4931,77 +4879,6 @@
|
|
|
4931
4879
|
{ type: CatalogOptionsService }
|
|
4932
4880
|
]; };
|
|
4933
4881
|
|
|
4934
|
-
var CatalogNavigationService = /** @class */ (function () {
|
|
4935
|
-
function CatalogNavigationService(_catalog, _iOne, _optionsService, _imageService) {
|
|
4936
|
-
this._catalog = _catalog;
|
|
4937
|
-
this._iOne = _iOne;
|
|
4938
|
-
this._optionsService = _optionsService;
|
|
4939
|
-
this._imageService = _imageService;
|
|
4940
|
-
this._subs = [];
|
|
4941
|
-
this._connectionMade = false;
|
|
4942
|
-
this._optionsSet = false;
|
|
4943
|
-
this.navigationCategories = [];
|
|
4944
|
-
this.allTurnoverGroups = [];
|
|
4945
|
-
// this._subs.push(
|
|
4946
|
-
// this._iOne.controllerInitialized.subscribe((initialized: boolean) => {
|
|
4947
|
-
// if (initialized) {
|
|
4948
|
-
// this._connectionMade = true;
|
|
4949
|
-
// this.getCategories();
|
|
4950
|
-
// }
|
|
4951
|
-
// }),
|
|
4952
|
-
// this._optionsService.parametersSet.subscribe((set: boolean) => {
|
|
4953
|
-
// if (set) {
|
|
4954
|
-
// this._optionsSet = true;
|
|
4955
|
-
// this.getCategories();
|
|
4956
|
-
// }
|
|
4957
|
-
// })
|
|
4958
|
-
// );
|
|
4959
|
-
}
|
|
4960
|
-
CatalogNavigationService.prototype.ngOnDestroy = function () {
|
|
4961
|
-
this._subs.forEach(function (s) { return s.unsubscribe(); });
|
|
4962
|
-
};
|
|
4963
|
-
CatalogNavigationService.prototype.setCategory = function (category) {
|
|
4964
|
-
// this._catalog.category = category;
|
|
4965
|
-
};
|
|
4966
|
-
CatalogNavigationService.prototype.setTurnoverGroup = function (turnoverGroup) {
|
|
4967
|
-
// this._catalog.turnoverGroup = turnoverGroup;
|
|
4968
|
-
};
|
|
4969
|
-
CatalogNavigationService.prototype.setExternalSourceUrl = function (url) {
|
|
4970
|
-
this._catalog.externalSourceUrl = url;
|
|
4971
|
-
};
|
|
4972
|
-
CatalogNavigationService.prototype.setIoneSourceUrl = function (url, ioneUrl, id, username, password) {
|
|
4973
|
-
this._catalog.ioneSourceUrl = url + '?url=' + ioneUrl + '&id=' + id + '&user=' + username + '&pass=' + password;
|
|
4974
|
-
};
|
|
4975
|
-
CatalogNavigationService.prototype.navigateToHome = function () {
|
|
4976
|
-
this._catalog.reset();
|
|
4977
|
-
};
|
|
4978
|
-
CatalogNavigationService.prototype.getCategories = function () {
|
|
4979
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
4980
|
-
return __generator(this, function (_a) {
|
|
4981
|
-
return [2 /*return*/];
|
|
4982
|
-
});
|
|
4983
|
-
});
|
|
4984
|
-
};
|
|
4985
|
-
CatalogNavigationService.prototype.getTurnoverGroupList = function () {
|
|
4986
|
-
var _this = this;
|
|
4987
|
-
this.navigationCategories.forEach(function (category) {
|
|
4988
|
-
var _a;
|
|
4989
|
-
category.turnoverGroups.forEach(function (tog) { return _this._imageService.getTurnoverGroupImage(tog); });
|
|
4990
|
-
(_a = _this.allTurnoverGroups).push.apply(_a, __spreadArray([], __read(category.turnoverGroups)));
|
|
4991
|
-
});
|
|
4992
|
-
};
|
|
4993
|
-
return CatalogNavigationService;
|
|
4994
|
-
}());
|
|
4995
|
-
CatalogNavigationService.decorators = [
|
|
4996
|
-
{ type: i0.Injectable }
|
|
4997
|
-
];
|
|
4998
|
-
CatalogNavigationService.ctorParameters = function () { return [
|
|
4999
|
-
{ type: CatalogService },
|
|
5000
|
-
{ type: CatalogConnectorService },
|
|
5001
|
-
{ type: CatalogOptionsService },
|
|
5002
|
-
{ type: CatalogImageService }
|
|
5003
|
-
]; };
|
|
5004
|
-
|
|
5005
4882
|
var CatalogStockComparisonService = /** @class */ (function () {
|
|
5006
4883
|
function CatalogStockComparisonService(_filterService, _catalogConnectorService, _settingsService, _optionService) {
|
|
5007
4884
|
var _this = this;
|
|
@@ -5184,16 +5061,15 @@
|
|
|
5184
5061
|
selector: 'co-catalog-search',
|
|
5185
5062
|
template: "\n <div class=\"catalog-search-wrapper\">\n <ng-container *ngIf=\"showFilter\">\n <div class=\"filter-content\" @showHideFilter>\n <div class=\"search-filter-panel-header-wrapper\">\n <div class=\"search-filter-panel-header\">\n <span [textContent]=\"'Filters'\"></span>\n <co-icon class=\"filter-reset-icon clickable\"\n [iconData]=\"iconCacheService.getIcon(icons.SyncAlt)\"\n (click)=\"handleResetButtonClick($event)\">\n </co-icon>\n </div>\n <co-icon class=\"clickable\"\n [iconData]=\"iconCacheService.getIcon(icons.Cancel)\"\n (click)=\"showFilter = false\">\n </co-icon>\n </div>\n\n <!--filter-content-->\n <div class=\"search-filter-wrapper narrow-scrollbar\">\n <co-catalog-filter [showResetFilter]=\"true\"></co-catalog-filter>\n </div>\n </div>\n </ng-container>\n <div class=\"search-content-wrapper\" #contentView>\n <div class=\"search-header\">\n <div class=\"search-catalog-title-wrapper\">\n <div class=\"catalog-title-wrapper\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.WebCatalog)\"></co-icon>\n <div class=\"catalog-title\" [textContent]=\"title\"></div>\n </div>\n <div class=\"catalog-sub-title\" [textContent]=\"subTitle\"></div>\n </div>\n <co-catalog-search-header [placeholder]=\"searchPlaceholder\"\n (filterIconClick)=\"showFilter = !showFilter\"></co-catalog-search-header>\n </div>\n <div class=\"view-modes-wrapper\">\n <co-button \n (click)=\"mode = 'tile'\"\n [class.selected]=\"mode === 'tile'\"\n [iconData]=\"iconCacheService.getIcon(icons.ListView)\">\n </co-button>\n <co-button \n (click)=\"mode = 'list'\"\n [class.selected]=\"mode === 'list'\"\n [iconData]=\"iconCacheService.getIcon(icons.ThinLines)\">\n </co-button>\n </div>\n <co-catalog-navigation *ngIf=\"showNavigation\"\n [view]=\"contentView\"\n (homeClick)=\"handleHomeClick($event)\"\n (categoryClick)=\"handleCategoryClick($event)\"\n (turnoverGroupClick)=\"handleTurnoverGroupClick($event)\"\n (externalSourceClick)=\"onExternalSourceClick.emit($event)\"\n ></co-catalog-navigation>\n <co-catalog-categories *ngIf=\"showLandingPage\" (categoryClick)=\"handleCategoryClick($event)\"\n (turnoverGroupClick)=\"handleTurnoverGroupClick($event)\"></co-catalog-categories>\n <div class=\"search-content\">\n <ng-container *ngIf=\"mode === 'tile'\">\n <co-catalog-search-result-tile\n [createFrozenArticle]=\"createFrozenArticle\"\n ></co-catalog-search-result-tile>\n </ng-container>\n <ng-container *ngIf=\"mode === 'list'\">\n <co-catalog-search-result-list\n [createFrozenArticle]=\"createFrozenArticle\"\n ></co-catalog-search-result-list>\n </ng-container>\n <ng-container *ngIf=\"mode === 'grid'\">\n <!--\n <co-catalog-search-result></co-catalog-search-result>\n -->\n </ng-container>\n </div>\n </div>\n </div>\n ",
|
|
5186
5063
|
providers: [
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5064
|
+
CatalogSelectSingleCacheService,
|
|
5065
|
+
CatalogSelectMultipleCacheService,
|
|
5066
|
+
CatalogSelectMultipleParameterizedCacheService,
|
|
5067
|
+
CatalogSelectSingleParameterizedCacheService,
|
|
5068
|
+
CatalogBusinessObjectCacheManagerService,
|
|
5192
5069
|
CatalogImageService,
|
|
5193
5070
|
CatalogFilterService,
|
|
5194
5071
|
CatalogOptionsService,
|
|
5195
5072
|
CatalogConnectorService,
|
|
5196
|
-
CatalogNavigationService,
|
|
5197
5073
|
CatalogConnectorAdapterService,
|
|
5198
5074
|
CatalogService,
|
|
5199
5075
|
CatalogSettingsService,
|
|
@@ -5883,168 +5759,270 @@
|
|
|
5883
5759
|
},] }
|
|
5884
5760
|
];
|
|
5885
5761
|
|
|
5886
|
-
var
|
|
5887
|
-
function
|
|
5888
|
-
this.iconCache = iconCache;
|
|
5889
|
-
this.catalogStockService = catalogStockService;
|
|
5890
|
-
this.showClass = true;
|
|
5891
|
-
this.icons = IconEnum;
|
|
5892
|
-
this.valutaSymbol = '€';
|
|
5893
|
-
}
|
|
5894
|
-
CatalogStockOverviewTileComponent.prototype.ngOnInit = function () {
|
|
5895
|
-
this.catalogStockService.searchArticlesForTileView();
|
|
5896
|
-
};
|
|
5897
|
-
CatalogStockOverviewTileComponent.prototype.onPreviousClick = function () {
|
|
5898
|
-
this.catalogStockService.currentPage -= 1;
|
|
5899
|
-
};
|
|
5900
|
-
CatalogStockOverviewTileComponent.prototype.onNextClick = function () {
|
|
5901
|
-
this.catalogStockService.currentPage += 1;
|
|
5902
|
-
};
|
|
5903
|
-
CatalogStockOverviewTileComponent.prototype.onPageClick = function (pageNr) {
|
|
5904
|
-
this.catalogStockService.currentPage = pageNr;
|
|
5905
|
-
};
|
|
5906
|
-
return CatalogStockOverviewTileComponent;
|
|
5907
|
-
}());
|
|
5908
|
-
CatalogStockOverviewTileComponent.decorators = [
|
|
5909
|
-
{ type: i0.Component, args: [{
|
|
5910
|
-
selector: 'co-catalog-stock-overview-tile',
|
|
5911
|
-
template: "\n <div class=\"article-tiles\">\n <div class=\"article-tile\" *ngFor=\"let article of catalogStockService.tileArticles\">\n <div class=\"image\">\n <co-image class=\"co-image\" [source]=\"article.imageData\"></co-image>\n </div>\n <div class=\"brand\" [innerText]=\"article.brandDescription\"></div>\n <div class=\"product\" [innerText]=\"article.superArticleDescr\"></div>\n <div class=\"description\" [innerText]=\"article.description\"></div>\n <div class=\"price\">\n <span [innerText]=\"'FROM' | localize\"></span> \n <span [innerText]=\"article.price | priceDisplay:valutaSymbol\"></span>\n </div>\n <div class=\"article-info\">\n <div class=\"product-num\">\n <co-icon [iconData]=\"iconCache.getIcon(icons.BarsFilter)\"></co-icon>\n <span [innerText]=\"article.articleNumber\"></span>\n </div>\n <div class=\"turnover-group\">\n <span [innerText]=\"'GROUP' | localize\"></span>:\n <span [innerText]=\"article.turnoverGroupDescr\"></span>\n </div>\n <div class=\"stock-quantity\">\n <span [innerText]=\"'AMOUNT_IN_STOCK' | localize\"></span>:\n <span [innerText]=\"article.quantity\"></span>\n </div>\n <div class=\"direct-available\">\n Direct available:\n <span [innerText]=\"article.nowAvailable\"></span>\n </div>\n <div class=\"details\">Details</div>\n </div>\n </div>\n </div>\n <co-pagination-bar\n *ngIf=\"catalogStockService.tileArticles?.length > 0\"\n [currentPage]=\"catalogStockService.currentPage\"\n [itemsPerPage]=\"catalogStockService.articlesPerPage\"\n [totalItems]=\"catalogStockService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
|
|
5912
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
5913
|
-
styles: [".article-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,.5fr));grid-gap:20px;gap:20px;padding:40px 0;z-index:1}.article-tile{padding:10px;border:1px solid #DCE4EA}.article-tile .image{display:flex;align-items:center;justify-content:center;overflow:hidden;width:100%;height:150px}.article-tile .image .co-image{height:100%;width:-moz-fit-content;width:fit-content}.article-tile .image .no-image-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:.2;width:150px;height:150px}.article-tile .image .no-image-wrapper .no-image{height:50%;width:50%}.article-tile .image .no-image-wrapper .no-image span{font-size:14px}.article-tile .brand,.article-tile .description{margin-bottom:10px}.article-tile .product,.article-tile .price{margin-bottom:10px;font-weight:bold}.article-tile .article-info{display:grid;grid-template-columns:repeat(2,1fr);grid-row-gap:10px;row-gap:10px}.article-tile .product-num{display:flex;align-items:center}.article-tile .product-num co-icon{width:10px;height:10px;margin-right:5px}.article-tile .details{font-weight:bold;color:#1a73e8;cursor:pointer}.article-tile .details:hover{text-decoration:underline}\n"]
|
|
5914
|
-
},] }
|
|
5915
|
-
];
|
|
5916
|
-
CatalogStockOverviewTileComponent.ctorParameters = function () { return [
|
|
5917
|
-
{ type: IconCacheService },
|
|
5918
|
-
{ type: CatalogStockService }
|
|
5919
|
-
]; };
|
|
5920
|
-
CatalogStockOverviewTileComponent.propDecorators = {
|
|
5921
|
-
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-stock-overview-tile',] }]
|
|
5922
|
-
};
|
|
5923
|
-
|
|
5924
|
-
var CatalogStockOverviewTileModule = /** @class */ (function () {
|
|
5925
|
-
function CatalogStockOverviewTileModule() {
|
|
5762
|
+
var CatalogSearchModule = /** @class */ (function () {
|
|
5763
|
+
function CatalogSearchModule() {
|
|
5926
5764
|
}
|
|
5927
|
-
return
|
|
5765
|
+
return CatalogSearchModule;
|
|
5928
5766
|
}());
|
|
5929
|
-
|
|
5767
|
+
CatalogSearchModule.decorators = [
|
|
5930
5768
|
{ type: i0.NgModule, args: [{
|
|
5931
5769
|
imports: [
|
|
5932
5770
|
common.CommonModule,
|
|
5933
|
-
|
|
5771
|
+
CatalogFilterModule,
|
|
5772
|
+
CatalogSearchHeaderModule,
|
|
5773
|
+
CatalogSearchResultTileModule,
|
|
5774
|
+
CatalogSearchResultListModule,
|
|
5775
|
+
CatalogCategoriesModule,
|
|
5776
|
+
CatalogExternalSourcesModule,
|
|
5777
|
+
CatalogNavigationModule,
|
|
5934
5778
|
corecomponents_v12.IconModule,
|
|
5935
|
-
corecomponents_v12.
|
|
5936
|
-
corecomponents.PriceDisplayPipeModule,
|
|
5937
|
-
corecomponents_v12.PaginationBarModule,
|
|
5779
|
+
corecomponents_v12.ButtonModule
|
|
5938
5780
|
],
|
|
5939
5781
|
declarations: [
|
|
5940
|
-
|
|
5782
|
+
CatalogSearchComponent
|
|
5941
5783
|
],
|
|
5942
5784
|
exports: [
|
|
5943
|
-
|
|
5785
|
+
CatalogSearchComponent
|
|
5944
5786
|
]
|
|
5945
5787
|
},] }
|
|
5946
5788
|
];
|
|
5947
5789
|
|
|
5948
|
-
var
|
|
5949
|
-
function
|
|
5950
|
-
this.
|
|
5790
|
+
var CatalogExternalSourceComponent = /** @class */ (function () {
|
|
5791
|
+
function CatalogExternalSourceComponent(_sanitizer, _catalogConnectorService, _appEventService) {
|
|
5792
|
+
this._sanitizer = _sanitizer;
|
|
5793
|
+
this._catalogConnectorService = _catalogConnectorService;
|
|
5794
|
+
this._appEventService = _appEventService;
|
|
5795
|
+
this.showFilter = true;
|
|
5796
|
+
this.showNavigation = true;
|
|
5797
|
+
this.articleClick = new i0.EventEmitter();
|
|
5798
|
+
this.addArticleClick = new i0.EventEmitter();
|
|
5799
|
+
this.iFrameFeedbackReceived = new i0.EventEmitter();
|
|
5951
5800
|
this.showClass = true;
|
|
5801
|
+
this.showCatalog = false;
|
|
5802
|
+
this.vadainCounter = 0;
|
|
5803
|
+
this.loaded = false;
|
|
5804
|
+
this.externalSettings = {};
|
|
5805
|
+
this._subs = [];
|
|
5952
5806
|
}
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5807
|
+
Object.defineProperty(CatalogExternalSourceComponent.prototype, "container", {
|
|
5808
|
+
set: function (content) {
|
|
5809
|
+
if (content) {
|
|
5810
|
+
this.catalogFrame = content;
|
|
5811
|
+
this.catalogFrame.nativeElement.setAttribute('data-password', this.password);
|
|
5812
|
+
this.catalogFrame.nativeElement.setAttribute('data-username', this.username);
|
|
5813
|
+
}
|
|
5814
|
+
},
|
|
5815
|
+
enumerable: false,
|
|
5816
|
+
configurable: true
|
|
5817
|
+
});
|
|
5818
|
+
Object.defineProperty(CatalogExternalSourceComponent.prototype, "catalogDefinitionId", {
|
|
5819
|
+
get: function () {
|
|
5820
|
+
return this._catalogDefinitionId;
|
|
5821
|
+
},
|
|
5822
|
+
set: function (value) {
|
|
5823
|
+
this._catalogDefinitionId = value;
|
|
5824
|
+
},
|
|
5825
|
+
enumerable: false,
|
|
5826
|
+
configurable: true
|
|
5827
|
+
});
|
|
5828
|
+
Object.defineProperty(CatalogExternalSourceComponent.prototype, "externalCatalogStartupInfo", {
|
|
5829
|
+
get: function () {
|
|
5830
|
+
return this._externalCatalogStartupInfo;
|
|
5831
|
+
},
|
|
5832
|
+
set: function (value) {
|
|
5833
|
+
this._externalCatalogStartupInfo = value;
|
|
5834
|
+
this._externalSource = value.externalSource;
|
|
5835
|
+
this.loaded = false;
|
|
5836
|
+
this._prepareExternalSource();
|
|
5837
|
+
},
|
|
5838
|
+
enumerable: false,
|
|
5839
|
+
configurable: true
|
|
5840
|
+
});
|
|
5841
|
+
CatalogExternalSourceComponent.prototype.ngOnInit = function () {
|
|
5842
|
+
var _this = this;
|
|
5843
|
+
this._subs.push(this._appEventService.addArticleButtonClick.subscribe(function (article) {
|
|
5844
|
+
if (!(article instanceof articleExtended_bo.ArticleExtended)) {
|
|
5845
|
+
_this.addArticleClick.next({ quantity: 1, article: article });
|
|
5846
|
+
}
|
|
5847
|
+
}));
|
|
5848
|
+
};
|
|
5849
|
+
CatalogExternalSourceComponent.prototype.handleArticleClick = function (article) {
|
|
5850
|
+
if (article && this.externalSettings) {
|
|
5851
|
+
this.articleClick.emit({ article: article, settings: { name: this.name, settings: this.externalSettings } });
|
|
5852
|
+
}
|
|
5853
|
+
};
|
|
5854
|
+
CatalogExternalSourceComponent.prototype.receiveMessage = function (event) {
|
|
5855
|
+
//if(event.origin === this.externalSource.url) {
|
|
5856
|
+
if (typeof event.data === 'string') {
|
|
5857
|
+
this.iFrameFeedbackReceived.emit(event.data);
|
|
5858
|
+
}
|
|
5859
|
+
else {
|
|
5860
|
+
this.iFrameFeedbackReceived.emit(JSON.stringify(event.data));
|
|
5861
|
+
}
|
|
5862
|
+
//}
|
|
5863
|
+
};
|
|
5864
|
+
CatalogExternalSourceComponent.prototype.iframeLoaded = function (event) {
|
|
5865
|
+
if (this.username && this.password) {
|
|
5866
|
+
event.target.contentWindow.postMessage({
|
|
5867
|
+
'USERNAME': this.username,
|
|
5868
|
+
'PASSWORD': this.password
|
|
5869
|
+
}, '*');
|
|
5870
|
+
}
|
|
5871
|
+
if (this.externalOrderNr && this.vadainCounter === 1) {
|
|
5872
|
+
event.target.contentWindow.postMessage({
|
|
5873
|
+
'EDIT_ORDER': true,
|
|
5874
|
+
'ORDER_ID': this.externalOrderNr
|
|
5875
|
+
}, '*');
|
|
5876
|
+
this.externalOrderNr = null;
|
|
5877
|
+
}
|
|
5878
|
+
this.vadainCounter++;
|
|
5879
|
+
};
|
|
5880
|
+
CatalogExternalSourceComponent.prototype._prepareExternalSource = function () {
|
|
5881
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
5882
|
+
var bundleSettings;
|
|
5883
|
+
var _this = this;
|
|
5884
|
+
return __generator(this, function (_a) {
|
|
5885
|
+
switch (_a.label) {
|
|
5886
|
+
case 0:
|
|
5887
|
+
if (!this._externalSource) {
|
|
5888
|
+
return [2 /*return*/];
|
|
5889
|
+
}
|
|
5890
|
+
this.externalUrl = undefined;
|
|
5891
|
+
this.externalSettings = {};
|
|
5892
|
+
if (!(this._externalSource.type === 'CATF')) return [3 /*break*/, 2];
|
|
5893
|
+
return [4 /*yield*/, this._catalogConnectorService.getCatalogBundleSettings(this._externalSource.url, parseInt(this._externalSource.schema))];
|
|
5894
|
+
case 1:
|
|
5895
|
+
bundleSettings = _a.sent();
|
|
5896
|
+
this.externalSettings = JSON.parse(bundleSettings);
|
|
5897
|
+
if (this.options) {
|
|
5898
|
+
this.externalSettings.options = this.options;
|
|
5899
|
+
}
|
|
5900
|
+
if (this._externalSource.username && this._externalSource.password) {
|
|
5901
|
+
this.externalSettings.username = this._externalSource.username;
|
|
5902
|
+
this.externalSettings.password = this._externalSource.password;
|
|
5903
|
+
}
|
|
5904
|
+
// finally show the catalog
|
|
5905
|
+
this.showCatalog = true;
|
|
5906
|
+
return [3 /*break*/, 3];
|
|
5907
|
+
case 2:
|
|
5908
|
+
if (this._externalSource.type !== externalCatalogTypes_enum.ExternalCatalogTypes.Webshop) {
|
|
5909
|
+
this.externalUrl = this._externalCatalogStartupInfo.apiUrl;
|
|
5910
|
+
if (this._externalSource.type === externalCatalogTypes_enum.ExternalCatalogTypes.Vadain) {
|
|
5911
|
+
this.username = this._externalCatalogStartupInfo.username;
|
|
5912
|
+
this.password = this._externalCatalogStartupInfo.password;
|
|
5913
|
+
this.externalOrderNr = this._externalCatalogStartupInfo.orderId;
|
|
5914
|
+
}
|
|
5915
|
+
}
|
|
5916
|
+
else {
|
|
5917
|
+
this.externalUrl = this._externalSource.url;
|
|
5918
|
+
}
|
|
5919
|
+
this.safeUrl = this._sanitizer.bypassSecurityTrustResourceUrl(this.externalUrl);
|
|
5920
|
+
this.showCatalog = false;
|
|
5921
|
+
window.addEventListener("message", function (event) { _this.receiveMessage(event); });
|
|
5922
|
+
_a.label = 3;
|
|
5923
|
+
case 3:
|
|
5924
|
+
this.loaded = true;
|
|
5925
|
+
return [2 /*return*/];
|
|
5926
|
+
}
|
|
5927
|
+
});
|
|
5928
|
+
});
|
|
5929
|
+
};
|
|
5930
|
+
return CatalogExternalSourceComponent;
|
|
5986
5931
|
}());
|
|
5987
|
-
|
|
5932
|
+
CatalogExternalSourceComponent.decorators = [
|
|
5933
|
+
{ type: i0.Component, args: [{
|
|
5934
|
+
selector: 'co-catalog-external-source',
|
|
5935
|
+
template: "\n <ng-container *ngIf=\"loaded\">\n <ng-container *ngIf=\"showCatalog\">\n <co-catalog-search\n [(settings)]=\"externalSettings\"\n [title]=\"title\"\n [subTitle]=\"subTitle\"\n [searchPlaceholder]=\"searchPlaceholder\"\n [showFilter]=\"showFilter\"\n [showNavigation]=\"showNavigation\"\n (onArticleClick)=\"handleArticleClick($event)\"\n ></co-catalog-search>\n </ng-container>\n <ng-container *ngIf=\"!showCatalog\">\n <iframe #catalogFrame width=\"100%\" height=\"100%\" [src]=\"safeUrl\" frameborder=\"0\" allowfullscreen (load)=\"iframeLoaded($event)\"></iframe>\n </ng-container>\n </ng-container>\n ",
|
|
5936
|
+
encapsulation: i0.ViewEncapsulation.None
|
|
5937
|
+
},] }
|
|
5938
|
+
];
|
|
5939
|
+
CatalogExternalSourceComponent.ctorParameters = function () { return [
|
|
5940
|
+
{ type: i1.DomSanitizer },
|
|
5941
|
+
{ type: CatalogConnectorService },
|
|
5942
|
+
{ type: CatalogEventService }
|
|
5943
|
+
]; };
|
|
5944
|
+
CatalogExternalSourceComponent.propDecorators = {
|
|
5945
|
+
container: [{ type: i0.ViewChild, args: ['catalogFrame', { read: i0.ElementRef },] }],
|
|
5946
|
+
catalogDefinitionId: [{ type: i0.Input }],
|
|
5947
|
+
user: [{ type: i0.Input }],
|
|
5948
|
+
externalCatalogStartupInfo: [{ type: i0.Input }],
|
|
5949
|
+
title: [{ type: i0.Input }],
|
|
5950
|
+
subTitle: [{ type: i0.Input }],
|
|
5951
|
+
searchPlaceholder: [{ type: i0.Input }],
|
|
5952
|
+
showFilter: [{ type: i0.Input }],
|
|
5953
|
+
showNavigation: [{ type: i0.Input }],
|
|
5954
|
+
options: [{ type: i0.Input }],
|
|
5955
|
+
name: [{ type: i0.Input }],
|
|
5956
|
+
articleClick: [{ type: i0.Output }],
|
|
5957
|
+
addArticleClick: [{ type: i0.Output }],
|
|
5958
|
+
iFrameFeedbackReceived: [{ type: i0.Output }],
|
|
5959
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-external-source',] }]
|
|
5960
|
+
};
|
|
5961
|
+
|
|
5962
|
+
var CatalogExternalSourceModule = /** @class */ (function () {
|
|
5963
|
+
function CatalogExternalSourceModule() {
|
|
5964
|
+
}
|
|
5965
|
+
return CatalogExternalSourceModule;
|
|
5966
|
+
}());
|
|
5967
|
+
CatalogExternalSourceModule.decorators = [
|
|
5988
5968
|
{ type: i0.NgModule, args: [{
|
|
5989
5969
|
imports: [
|
|
5990
5970
|
common.CommonModule,
|
|
5991
|
-
|
|
5992
|
-
corecomponents_v12.SimpleGridModule,
|
|
5993
|
-
corecomponents_v12.PaginationBarModule
|
|
5971
|
+
CatalogSearchModule //.ForRoot()
|
|
5994
5972
|
],
|
|
5995
5973
|
declarations: [
|
|
5996
|
-
|
|
5974
|
+
CatalogExternalSourceComponent
|
|
5997
5975
|
],
|
|
5998
5976
|
exports: [
|
|
5999
|
-
|
|
5977
|
+
CatalogExternalSourceComponent
|
|
6000
5978
|
]
|
|
6001
5979
|
},] }
|
|
6002
5980
|
];
|
|
6003
5981
|
|
|
6004
|
-
var
|
|
6005
|
-
function
|
|
5982
|
+
var CatalogStockOverviewTileComponent = /** @class */ (function () {
|
|
5983
|
+
function CatalogStockOverviewTileComponent(iconCache, catalogStockService) {
|
|
6006
5984
|
this.iconCache = iconCache;
|
|
6007
|
-
this.
|
|
5985
|
+
this.catalogStockService = catalogStockService;
|
|
6008
5986
|
this.showClass = true;
|
|
6009
5987
|
this.icons = IconEnum;
|
|
6010
5988
|
this.valutaSymbol = '€';
|
|
6011
5989
|
}
|
|
6012
|
-
|
|
6013
|
-
this.
|
|
5990
|
+
CatalogStockOverviewTileComponent.prototype.ngOnInit = function () {
|
|
5991
|
+
this.catalogStockService.searchArticlesForTileView();
|
|
6014
5992
|
};
|
|
6015
|
-
|
|
6016
|
-
this.
|
|
5993
|
+
CatalogStockOverviewTileComponent.prototype.onPreviousClick = function () {
|
|
5994
|
+
this.catalogStockService.currentPage -= 1;
|
|
6017
5995
|
};
|
|
6018
|
-
|
|
6019
|
-
this.
|
|
5996
|
+
CatalogStockOverviewTileComponent.prototype.onNextClick = function () {
|
|
5997
|
+
this.catalogStockService.currentPage += 1;
|
|
6020
5998
|
};
|
|
6021
|
-
|
|
6022
|
-
this.
|
|
5999
|
+
CatalogStockOverviewTileComponent.prototype.onPageClick = function (pageNr) {
|
|
6000
|
+
this.catalogStockService.currentPage = pageNr;
|
|
6023
6001
|
};
|
|
6024
|
-
return
|
|
6002
|
+
return CatalogStockOverviewTileComponent;
|
|
6025
6003
|
}());
|
|
6026
|
-
|
|
6004
|
+
CatalogStockOverviewTileComponent.decorators = [
|
|
6027
6005
|
{ type: i0.Component, args: [{
|
|
6028
|
-
selector: 'co-catalog-stock-
|
|
6029
|
-
template: "\n <div class=\"article-tiles\">\n <div class=\"article-tile\" *ngFor=\"let article of
|
|
6006
|
+
selector: 'co-catalog-stock-overview-tile',
|
|
6007
|
+
template: "\n <div class=\"article-tiles\">\n <div class=\"article-tile\" *ngFor=\"let article of catalogStockService.tileArticles\">\n <div class=\"image\">\n <co-image class=\"co-image\" [source]=\"article.imageData\"></co-image>\n </div>\n <div class=\"brand\" [innerText]=\"article.brandDescription\"></div>\n <div class=\"product\" [innerText]=\"article.superArticleDescr\"></div>\n <div class=\"description\" [innerText]=\"article.description\"></div>\n <div class=\"price\">\n <span [innerText]=\"'FROM' | localize\"></span> \n <span [innerText]=\"article.price | priceDisplay:valutaSymbol\"></span>\n </div>\n <div class=\"article-info\">\n <div class=\"product-num\">\n <co-icon [iconData]=\"iconCache.getIcon(icons.BarsFilter)\"></co-icon>\n <span [innerText]=\"article.articleNumber\"></span>\n </div>\n <div class=\"turnover-group\">\n <span [innerText]=\"'GROUP' | localize\"></span>:\n <span [innerText]=\"article.turnoverGroupDescr\"></span>\n </div>\n <div class=\"stock-quantity\">\n <span [innerText]=\"'AMOUNT_IN_STOCK' | localize\"></span>:\n <span [innerText]=\"article.quantity\"></span>\n </div>\n <div class=\"direct-available\">\n Direct available:\n <span [innerText]=\"article.nowAvailable\"></span>\n </div>\n <div class=\"details\">Details</div>\n </div>\n </div>\n </div>\n <co-pagination-bar\n *ngIf=\"catalogStockService.tileArticles?.length > 0\"\n [currentPage]=\"catalogStockService.currentPage\"\n [itemsPerPage]=\"catalogStockService.articlesPerPage\"\n [totalItems]=\"catalogStockService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
|
|
6030
6008
|
encapsulation: i0.ViewEncapsulation.None,
|
|
6031
|
-
styles: [".article-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,.5fr));grid-gap:20px;gap:20px;padding:40px 0;z-index:1}.article-tile{padding:10px;border:1px solid #DCE4EA}.article-tile .image{display:flex;align-items:center;justify-content:center;overflow:hidden;width:100%;height:150px}.article-tile .image .co-image{height:100%;width:-moz-fit-content;width:fit-content}.article-tile .image .no-image-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:.2;width:150px;height:150px}.article-tile .image .no-image-wrapper .no-image{height:50%;width:50%}.article-tile .image .no-image-wrapper .no-image span{font-size:14px}.article-tile .brand,.article-tile .description
|
|
6009
|
+
styles: [".article-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,.5fr));grid-gap:20px;gap:20px;padding:40px 0;z-index:1}.article-tile{padding:10px;border:1px solid #DCE4EA}.article-tile .image{display:flex;align-items:center;justify-content:center;overflow:hidden;width:100%;height:150px}.article-tile .image .co-image{height:100%;width:-moz-fit-content;width:fit-content}.article-tile .image .no-image-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:.2;width:150px;height:150px}.article-tile .image .no-image-wrapper .no-image{height:50%;width:50%}.article-tile .image .no-image-wrapper .no-image span{font-size:14px}.article-tile .brand,.article-tile .description{margin-bottom:10px}.article-tile .product,.article-tile .price{margin-bottom:10px;font-weight:bold}.article-tile .article-info{display:grid;grid-template-columns:repeat(2,1fr);grid-row-gap:10px;row-gap:10px}.article-tile .product-num{display:flex;align-items:center}.article-tile .product-num co-icon{width:10px;height:10px;margin-right:5px}.article-tile .details{font-weight:bold;color:#1a73e8;cursor:pointer}.article-tile .details:hover{text-decoration:underline}\n"]
|
|
6032
6010
|
},] }
|
|
6033
6011
|
];
|
|
6034
|
-
|
|
6012
|
+
CatalogStockOverviewTileComponent.ctorParameters = function () { return [
|
|
6035
6013
|
{ type: IconCacheService },
|
|
6036
|
-
{ type:
|
|
6014
|
+
{ type: CatalogStockService }
|
|
6037
6015
|
]; };
|
|
6038
|
-
|
|
6039
|
-
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-stock-
|
|
6016
|
+
CatalogStockOverviewTileComponent.propDecorators = {
|
|
6017
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-stock-overview-tile',] }]
|
|
6040
6018
|
};
|
|
6041
6019
|
|
|
6042
|
-
var
|
|
6043
|
-
function
|
|
6020
|
+
var CatalogStockOverviewTileModule = /** @class */ (function () {
|
|
6021
|
+
function CatalogStockOverviewTileModule() {
|
|
6044
6022
|
}
|
|
6045
|
-
return
|
|
6023
|
+
return CatalogStockOverviewTileModule;
|
|
6046
6024
|
}());
|
|
6047
|
-
|
|
6025
|
+
CatalogStockOverviewTileModule.decorators = [
|
|
6048
6026
|
{ type: i0.NgModule, args: [{
|
|
6049
6027
|
imports: [
|
|
6050
6028
|
common.CommonModule,
|
|
@@ -6055,45 +6033,163 @@
|
|
|
6055
6033
|
corecomponents_v12.PaginationBarModule,
|
|
6056
6034
|
],
|
|
6057
6035
|
declarations: [
|
|
6058
|
-
|
|
6036
|
+
CatalogStockOverviewTileComponent
|
|
6059
6037
|
],
|
|
6060
6038
|
exports: [
|
|
6061
|
-
|
|
6039
|
+
CatalogStockOverviewTileComponent
|
|
6062
6040
|
]
|
|
6063
6041
|
},] }
|
|
6064
6042
|
];
|
|
6065
6043
|
|
|
6066
|
-
var
|
|
6067
|
-
function
|
|
6068
|
-
this.
|
|
6044
|
+
var CatalogStockOverviewListComponent = /** @class */ (function () {
|
|
6045
|
+
function CatalogStockOverviewListComponent(catalogStockService) {
|
|
6046
|
+
this.catalogStockService = catalogStockService;
|
|
6069
6047
|
this.showClass = true;
|
|
6070
6048
|
}
|
|
6071
|
-
|
|
6072
|
-
this.
|
|
6049
|
+
CatalogStockOverviewListComponent.prototype.ngOnInit = function () {
|
|
6050
|
+
this.catalogStockService.searchArticlesForGridView();
|
|
6073
6051
|
};
|
|
6074
|
-
|
|
6075
|
-
this.
|
|
6052
|
+
CatalogStockOverviewListComponent.prototype.onPreviousClick = function () {
|
|
6053
|
+
this.catalogStockService.currentPage -= 1;
|
|
6076
6054
|
};
|
|
6077
|
-
|
|
6078
|
-
this.
|
|
6055
|
+
CatalogStockOverviewListComponent.prototype.onNextClick = function () {
|
|
6056
|
+
this.catalogStockService.currentPage += 1;
|
|
6079
6057
|
};
|
|
6080
|
-
|
|
6081
|
-
this.
|
|
6058
|
+
CatalogStockOverviewListComponent.prototype.onPageClick = function (pageNr) {
|
|
6059
|
+
this.catalogStockService.currentPage = pageNr;
|
|
6082
6060
|
};
|
|
6083
|
-
return
|
|
6061
|
+
return CatalogStockOverviewListComponent;
|
|
6084
6062
|
}());
|
|
6085
|
-
|
|
6063
|
+
CatalogStockOverviewListComponent.decorators = [
|
|
6086
6064
|
{ type: i0.Component, args: [{
|
|
6087
|
-
selector: 'co-catalog-stock-
|
|
6088
|
-
template: "\n <co-simple-grid [data]=\"this.
|
|
6065
|
+
selector: 'co-catalog-stock-overview-list',
|
|
6066
|
+
template: "\n <co-simple-grid [data]=\"this.catalogStockService.gridArticles\">\n <co-simple-grid-column\n [headerText]=\"'ARTICLE_NUMBER' | localize\"\n [field]=\"'articleNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'ARTICLE_DESCRIPTION' | localize\"\n [field]=\"'articleDescription'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SUPER_ARTICLE' | localize\"\n [field]=\"'superArticleDescr'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'TURNOVER_GROUP' | localize\"\n [field]=\"'turnoverGroupDescr'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SUPPLIER' | localize\"\n [field]=\"'supplierNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'STOREROOM' | localize\"\n [field]=\"'warehouseNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'LOCATION' | localize\"\n [field]=\"'stockLocationNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'STOCK' | localize\"\n [field]=\"'quantity'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'TOTAL_ARTICLES_IN_ORDER' | localize\"\n [field]=\"'quantityInOrders'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'PURCHASEORDERS' | localize\"\n [field]=\"'quantityInPurchaseOrders'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'BATCH_NO' | localize\"\n [field]=\"'batchNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SERIAL_NO' | localize\"\n [field]=\"'serialNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'DIRECTLY_AVAILABLE' | localize\"\n [field]=\"'nowAvailable'\">\n </co-simple-grid-column>\n </co-simple-grid>\n <co-pagination-bar\n *ngIf=\"catalogStockService.gridArticles?.length > 0\"\n [currentPage]=\"catalogStockService.currentPage\"\n [itemsPerPage]=\"catalogStockService.articlesPerPage\"\n [totalItems]=\"catalogStockService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
|
|
6089
6067
|
encapsulation: i0.ViewEncapsulation.None,
|
|
6090
6068
|
styles: [""]
|
|
6091
6069
|
},] }
|
|
6092
6070
|
];
|
|
6093
|
-
|
|
6094
|
-
{ type:
|
|
6071
|
+
CatalogStockOverviewListComponent.ctorParameters = function () { return [
|
|
6072
|
+
{ type: CatalogStockService }
|
|
6095
6073
|
]; };
|
|
6096
|
-
|
|
6074
|
+
CatalogStockOverviewListComponent.propDecorators = {
|
|
6075
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-stock-overview-list',] }]
|
|
6076
|
+
};
|
|
6077
|
+
|
|
6078
|
+
var CatalogStockOverviewListModule = /** @class */ (function () {
|
|
6079
|
+
function CatalogStockOverviewListModule() {
|
|
6080
|
+
}
|
|
6081
|
+
return CatalogStockOverviewListModule;
|
|
6082
|
+
}());
|
|
6083
|
+
CatalogStockOverviewListModule.decorators = [
|
|
6084
|
+
{ type: i0.NgModule, args: [{
|
|
6085
|
+
imports: [
|
|
6086
|
+
common.CommonModule,
|
|
6087
|
+
PipeModule,
|
|
6088
|
+
corecomponents_v12.SimpleGridModule,
|
|
6089
|
+
corecomponents_v12.PaginationBarModule
|
|
6090
|
+
],
|
|
6091
|
+
declarations: [
|
|
6092
|
+
CatalogStockOverviewListComponent
|
|
6093
|
+
],
|
|
6094
|
+
exports: [
|
|
6095
|
+
CatalogStockOverviewListComponent
|
|
6096
|
+
]
|
|
6097
|
+
},] }
|
|
6098
|
+
];
|
|
6099
|
+
|
|
6100
|
+
var CatalogStockComparisonTileComponent = /** @class */ (function () {
|
|
6101
|
+
function CatalogStockComparisonTileComponent(iconCache, catalogStockComparisonService) {
|
|
6102
|
+
this.iconCache = iconCache;
|
|
6103
|
+
this.catalogStockComparisonService = catalogStockComparisonService;
|
|
6104
|
+
this.showClass = true;
|
|
6105
|
+
this.icons = IconEnum;
|
|
6106
|
+
this.valutaSymbol = '€';
|
|
6107
|
+
}
|
|
6108
|
+
CatalogStockComparisonTileComponent.prototype.ngOnInit = function () {
|
|
6109
|
+
this.catalogStockComparisonService.searchArticlesForTileView();
|
|
6110
|
+
};
|
|
6111
|
+
CatalogStockComparisonTileComponent.prototype.onPreviousClick = function () {
|
|
6112
|
+
this.catalogStockComparisonService.currentPage -= 1;
|
|
6113
|
+
};
|
|
6114
|
+
CatalogStockComparisonTileComponent.prototype.onNextClick = function () {
|
|
6115
|
+
this.catalogStockComparisonService.currentPage += 1;
|
|
6116
|
+
};
|
|
6117
|
+
CatalogStockComparisonTileComponent.prototype.onPageClick = function (pageNr) {
|
|
6118
|
+
this.catalogStockComparisonService.currentPage = pageNr;
|
|
6119
|
+
};
|
|
6120
|
+
return CatalogStockComparisonTileComponent;
|
|
6121
|
+
}());
|
|
6122
|
+
CatalogStockComparisonTileComponent.decorators = [
|
|
6123
|
+
{ type: i0.Component, args: [{
|
|
6124
|
+
selector: 'co-catalog-stock-comparison-tile',
|
|
6125
|
+
template: "\n <div class=\"article-tiles\">\n <div class=\"article-tile\" *ngFor=\"let article of catalogStockComparisonService.comparisonTileArticles\">\n <div class=\"image\">\n <co-image class=\"co-image\" [source]=\"article.imageData\"></co-image>\n </div>\n <div class=\"brand\" [innerText]=\"article.brandDescription\"></div>\n <div class=\"product\" [innerText]=\"article.name\"></div>\n <div class=\"description\" [innerText]=\"article.description\"></div>\n <div class=\"price\">\n <span [innerText]=\"'FROM' | localize\"></span> \n <span [innerText]=\"article.price | priceDisplay:valutaSymbol\"></span>\n </div>\n <div class=\"one-liner\">\n <div class=\"product-num\">\n <co-icon [iconData]=\"iconCache.getIcon(icons.BarsFilter)\"></co-icon>\n <span [innerText]=\"article.goodId\"></span>\n </div>\n <div class=\"turnover-group\">\n <span [innerText]=\"'GROUP' | localize\"></span>:\n <span [innerText]=\"article.turnoverGroupDescr\"></span>\n </div>\n </div>\n <div class=\"tile-item\">\n <span [innerText]=\"'SOURCE_WAREHOUSE' | localize\"></span>:\n <strong [innerText]=\"article.sourceWarehouseQuantity\"></strong>\n </div>\n <div class=\"tile-item\">\n <span [innerText]=\"'TARGET_WAREHOUSE' | localize\"></span>:\n <strong [innerText]=\"article.targetWarehouseQuantity\"></strong>\n </div>\n <div class=\"details\">Details</div>\n </div>\n </div>\n <co-pagination-bar\n *ngIf=\"catalogStockComparisonService.comparisonTileArticles?.length > 0\"\n [currentPage]=\"catalogStockComparisonService.currentPage\"\n [itemsPerPage]=\"catalogStockComparisonService.articlesPerPage\"\n [totalItems]=\"catalogStockComparisonService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
|
|
6126
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
6127
|
+
styles: [".article-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,.5fr));grid-gap:20px;gap:20px;padding:40px 0;z-index:1}.article-tile{padding:10px;border:1px solid #DCE4EA}.article-tile .image{display:flex;align-items:center;justify-content:center;overflow:hidden;width:100%;height:150px}.article-tile .image .co-image{height:100%;width:-moz-fit-content;width:fit-content}.article-tile .image .no-image-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:.2;width:150px;height:150px}.article-tile .image .no-image-wrapper .no-image{height:50%;width:50%}.article-tile .image .no-image-wrapper .no-image span{font-size:14px}.article-tile .brand,.article-tile .description,.article-tile .tile-item{margin-bottom:10px}.article-tile .product,.article-tile .price{margin-bottom:10px;font-weight:bold}.article-tile .one-liner{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.article-tile .product-num{display:flex;align-items:center}.article-tile .product-num co-icon{width:10px;height:10px;margin-right:5px}.article-tile .details{font-weight:bold;color:#1a73e8;cursor:pointer}.article-tile .details:hover{text-decoration:underline}\n"]
|
|
6128
|
+
},] }
|
|
6129
|
+
];
|
|
6130
|
+
CatalogStockComparisonTileComponent.ctorParameters = function () { return [
|
|
6131
|
+
{ type: IconCacheService },
|
|
6132
|
+
{ type: CatalogStockComparisonService }
|
|
6133
|
+
]; };
|
|
6134
|
+
CatalogStockComparisonTileComponent.propDecorators = {
|
|
6135
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-stock-comparison-tile',] }]
|
|
6136
|
+
};
|
|
6137
|
+
|
|
6138
|
+
var CatalogStockComparisonTileModule = /** @class */ (function () {
|
|
6139
|
+
function CatalogStockComparisonTileModule() {
|
|
6140
|
+
}
|
|
6141
|
+
return CatalogStockComparisonTileModule;
|
|
6142
|
+
}());
|
|
6143
|
+
CatalogStockComparisonTileModule.decorators = [
|
|
6144
|
+
{ type: i0.NgModule, args: [{
|
|
6145
|
+
imports: [
|
|
6146
|
+
common.CommonModule,
|
|
6147
|
+
PipeModule,
|
|
6148
|
+
corecomponents_v12.IconModule,
|
|
6149
|
+
corecomponents_v12.ImageModule,
|
|
6150
|
+
corecomponents.PriceDisplayPipeModule,
|
|
6151
|
+
corecomponents_v12.PaginationBarModule,
|
|
6152
|
+
],
|
|
6153
|
+
declarations: [
|
|
6154
|
+
CatalogStockComparisonTileComponent
|
|
6155
|
+
],
|
|
6156
|
+
exports: [
|
|
6157
|
+
CatalogStockComparisonTileComponent
|
|
6158
|
+
]
|
|
6159
|
+
},] }
|
|
6160
|
+
];
|
|
6161
|
+
|
|
6162
|
+
var CatalogStockComparisonListComponent = /** @class */ (function () {
|
|
6163
|
+
function CatalogStockComparisonListComponent(catalogStockComparisonService) {
|
|
6164
|
+
this.catalogStockComparisonService = catalogStockComparisonService;
|
|
6165
|
+
this.showClass = true;
|
|
6166
|
+
}
|
|
6167
|
+
CatalogStockComparisonListComponent.prototype.ngOnInit = function () {
|
|
6168
|
+
this.catalogStockComparisonService.searchArticlesForGridView();
|
|
6169
|
+
};
|
|
6170
|
+
CatalogStockComparisonListComponent.prototype.onPreviousClick = function () {
|
|
6171
|
+
this.catalogStockComparisonService.currentPage -= 1;
|
|
6172
|
+
};
|
|
6173
|
+
CatalogStockComparisonListComponent.prototype.onNextClick = function () {
|
|
6174
|
+
this.catalogStockComparisonService.currentPage += 1;
|
|
6175
|
+
};
|
|
6176
|
+
CatalogStockComparisonListComponent.prototype.onPageClick = function (pageNr) {
|
|
6177
|
+
this.catalogStockComparisonService.currentPage = pageNr;
|
|
6178
|
+
};
|
|
6179
|
+
return CatalogStockComparisonListComponent;
|
|
6180
|
+
}());
|
|
6181
|
+
CatalogStockComparisonListComponent.decorators = [
|
|
6182
|
+
{ type: i0.Component, args: [{
|
|
6183
|
+
selector: 'co-catalog-stock-comparison-list',
|
|
6184
|
+
template: "\n <co-simple-grid [data]=\"this.catalogStockComparisonService.comparisonGridArticles\">\n <co-simple-grid-column\n [headerText]=\"'ARTICLE_NUMBER' | localize\"\n [field]=\"'articleNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'ARTICLE_DESCRIPTION' | localize\"\n [field]=\"'articleDescription'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SUPER_ARTICLE' | localize\"\n [field]=\"'name'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'TURNOVER_GROUP' | localize\"\n [field]=\"'turnoverGroupDescr'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SUPPLIER' | localize\"\n [field]=\"'standardSupplier'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'STOREROOM' | localize\"\n [field]=\"'sourceWarehouseDescription'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'Quantity source'\"\n [field]=\"'sourceWarehouseQuantity'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'TARGET_WAREHOUSE' | localize\"\n [field]=\"'targetWarehouseDescription'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'STOCK' | localize\"\n [field]=\"'targetWarehouseQuantity'\">\n </co-simple-grid-column>\n </co-simple-grid>\n <co-pagination-bar\n *ngIf=\"catalogStockComparisonService.comparisonGridArticles?.length > 0\"\n [currentPage]=\"catalogStockComparisonService.currentPage\"\n [itemsPerPage]=\"catalogStockComparisonService.articlesPerPage\"\n [totalItems]=\"catalogStockComparisonService.resultCount\"\n [previousLabel]=\"'PREVIOUS' | localize\"\n [nextLabel]=\"'NEXT' | localize\"\n [autoHide]=\"true\"\n [directionLinks]=\"true\"\n [paginationRange]=\"8\"\n (previousClick)=\"onPreviousClick()\"\n (nextClick)=\"onNextClick()\"\n (pageClick)=\"onPageClick($event)\">\n </co-pagination-bar>\n ",
|
|
6185
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
6186
|
+
styles: [""]
|
|
6187
|
+
},] }
|
|
6188
|
+
];
|
|
6189
|
+
CatalogStockComparisonListComponent.ctorParameters = function () { return [
|
|
6190
|
+
{ type: CatalogStockComparisonService }
|
|
6191
|
+
]; };
|
|
6192
|
+
CatalogStockComparisonListComponent.propDecorators = {
|
|
6097
6193
|
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-stock-comparison-list',] }]
|
|
6098
6194
|
};
|
|
6099
6195
|
|
|
@@ -6237,263 +6333,84 @@
|
|
|
6237
6333
|
},] }
|
|
6238
6334
|
];
|
|
6239
6335
|
|
|
6240
|
-
var
|
|
6241
|
-
function
|
|
6242
|
-
|
|
6243
|
-
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
providers: [
|
|
6247
|
-
SelectSingleCacheService,
|
|
6248
|
-
SelectMultipleCacheService,
|
|
6249
|
-
SelectMultipleParameterizedCacheService,
|
|
6250
|
-
SelectSingleParameterizedCacheService,
|
|
6251
|
-
BusinessObjectCacheManagerService,
|
|
6252
|
-
CatalogImageService,
|
|
6253
|
-
CatalogFilterService,
|
|
6254
|
-
CatalogOptionsService,
|
|
6255
|
-
CatalogConnectorService,
|
|
6256
|
-
CatalogNavigationService,
|
|
6257
|
-
CatalogConnectorAdapterService,
|
|
6258
|
-
CatalogService,
|
|
6259
|
-
CatalogSettingsService,
|
|
6260
|
-
CatalogSearchService,
|
|
6261
|
-
CatalogStockService,
|
|
6262
|
-
CatalogStockComparisonService,
|
|
6263
|
-
CatalogStockTransferService
|
|
6264
|
-
]
|
|
6265
|
-
};
|
|
6266
|
-
};
|
|
6267
|
-
return CatalogSearchModule;
|
|
6268
|
-
}());
|
|
6269
|
-
CatalogSearchModule.decorators = [
|
|
6270
|
-
{ type: i0.NgModule, args: [{
|
|
6271
|
-
imports: [
|
|
6272
|
-
common.CommonModule,
|
|
6273
|
-
CatalogFilterModule,
|
|
6274
|
-
CatalogSearchHeaderModule,
|
|
6275
|
-
CatalogSearchResultTileModule,
|
|
6276
|
-
CatalogSearchResultListModule,
|
|
6277
|
-
CatalogStockOverviewTileModule,
|
|
6278
|
-
CatalogStockOverviewListModule,
|
|
6279
|
-
CatalogStockComparisonTileModule,
|
|
6280
|
-
CatalogStockComparisonListModule,
|
|
6281
|
-
CatalogWarehouseTransfersTileModule,
|
|
6282
|
-
CatalogWarehouseTransfersListModule,
|
|
6283
|
-
CatalogCategoriesModule,
|
|
6284
|
-
CatalogExternalSourcesModule,
|
|
6285
|
-
CatalogNavigationModule,
|
|
6286
|
-
corecomponents_v12.IconModule,
|
|
6287
|
-
corecomponents_v12.ButtonModule
|
|
6288
|
-
],
|
|
6289
|
-
declarations: [
|
|
6290
|
-
CatalogSearchComponent
|
|
6291
|
-
],
|
|
6292
|
-
exports: [
|
|
6293
|
-
CatalogSearchComponent
|
|
6294
|
-
]
|
|
6295
|
-
},] }
|
|
6296
|
-
];
|
|
6297
|
-
|
|
6298
|
-
var CatalogExternalSourceComponent = /** @class */ (function () {
|
|
6299
|
-
function CatalogExternalSourceComponent(_sanitizer, _catalogConnectorService, _appEventService) {
|
|
6300
|
-
this._sanitizer = _sanitizer;
|
|
6301
|
-
this._catalogConnectorService = _catalogConnectorService;
|
|
6302
|
-
this._appEventService = _appEventService;
|
|
6303
|
-
this.showFilter = true;
|
|
6304
|
-
this.showNavigation = true;
|
|
6305
|
-
this.articleClick = new i0.EventEmitter();
|
|
6306
|
-
this.addArticleClick = new i0.EventEmitter();
|
|
6307
|
-
this.iFrameFeedbackReceived = new i0.EventEmitter();
|
|
6308
|
-
this.showClass = true;
|
|
6309
|
-
this.showCatalog = false;
|
|
6310
|
-
this.vadainCounter = 0;
|
|
6311
|
-
this.loaded = false;
|
|
6312
|
-
this.externalSettings = {};
|
|
6336
|
+
var CatalogNavigationService = /** @class */ (function () {
|
|
6337
|
+
function CatalogNavigationService(_catalog, _iOne, _optionsService, _imageService) {
|
|
6338
|
+
this._catalog = _catalog;
|
|
6339
|
+
this._iOne = _iOne;
|
|
6340
|
+
this._optionsService = _optionsService;
|
|
6341
|
+
this._imageService = _imageService;
|
|
6313
6342
|
this._subs = [];
|
|
6343
|
+
this._connectionMade = false;
|
|
6344
|
+
this._optionsSet = false;
|
|
6345
|
+
this.navigationCategories = [];
|
|
6346
|
+
this.allTurnoverGroups = [];
|
|
6347
|
+
// this._subs.push(
|
|
6348
|
+
// this._iOne.controllerInitialized.subscribe((initialized: boolean) => {
|
|
6349
|
+
// if (initialized) {
|
|
6350
|
+
// this._connectionMade = true;
|
|
6351
|
+
// this.getCategories();
|
|
6352
|
+
// }
|
|
6353
|
+
// }),
|
|
6354
|
+
// this._optionsService.parametersSet.subscribe((set: boolean) => {
|
|
6355
|
+
// if (set) {
|
|
6356
|
+
// this._optionsSet = true;
|
|
6357
|
+
// this.getCategories();
|
|
6358
|
+
// }
|
|
6359
|
+
// })
|
|
6360
|
+
// );
|
|
6314
6361
|
}
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
if (content) {
|
|
6318
|
-
this.catalogFrame = content;
|
|
6319
|
-
this.catalogFrame.nativeElement.setAttribute('data-password', this.password);
|
|
6320
|
-
this.catalogFrame.nativeElement.setAttribute('data-username', this.username);
|
|
6321
|
-
}
|
|
6322
|
-
},
|
|
6323
|
-
enumerable: false,
|
|
6324
|
-
configurable: true
|
|
6325
|
-
});
|
|
6326
|
-
Object.defineProperty(CatalogExternalSourceComponent.prototype, "catalogDefinitionId", {
|
|
6327
|
-
get: function () {
|
|
6328
|
-
return this._catalogDefinitionId;
|
|
6329
|
-
},
|
|
6330
|
-
set: function (value) {
|
|
6331
|
-
this._catalogDefinitionId = value;
|
|
6332
|
-
},
|
|
6333
|
-
enumerable: false,
|
|
6334
|
-
configurable: true
|
|
6335
|
-
});
|
|
6336
|
-
Object.defineProperty(CatalogExternalSourceComponent.prototype, "externalCatalogStartupInfo", {
|
|
6337
|
-
get: function () {
|
|
6338
|
-
return this._externalCatalogStartupInfo;
|
|
6339
|
-
},
|
|
6340
|
-
set: function (value) {
|
|
6341
|
-
this._externalCatalogStartupInfo = value;
|
|
6342
|
-
this._externalSource = value.externalSource;
|
|
6343
|
-
this.loaded = false;
|
|
6344
|
-
this._prepareExternalSource();
|
|
6345
|
-
},
|
|
6346
|
-
enumerable: false,
|
|
6347
|
-
configurable: true
|
|
6348
|
-
});
|
|
6349
|
-
CatalogExternalSourceComponent.prototype.ngOnInit = function () {
|
|
6350
|
-
var _this = this;
|
|
6351
|
-
this._subs.push(this._appEventService.addArticleButtonClick.subscribe(function (article) {
|
|
6352
|
-
if (!(article instanceof articleExtended_bo.ArticleExtended)) {
|
|
6353
|
-
_this.addArticleClick.next({ quantity: 1, article: article });
|
|
6354
|
-
}
|
|
6355
|
-
}));
|
|
6362
|
+
CatalogNavigationService.prototype.ngOnDestroy = function () {
|
|
6363
|
+
this._subs.forEach(function (s) { return s.unsubscribe(); });
|
|
6356
6364
|
};
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
this.articleClick.emit({ article: article, settings: { name: this.name, settings: this.externalSettings } });
|
|
6360
|
-
}
|
|
6365
|
+
CatalogNavigationService.prototype.setCategory = function (category) {
|
|
6366
|
+
// this._catalog.category = category;
|
|
6361
6367
|
};
|
|
6362
|
-
|
|
6363
|
-
//
|
|
6364
|
-
if (typeof event.data === 'string') {
|
|
6365
|
-
this.iFrameFeedbackReceived.emit(event.data);
|
|
6366
|
-
}
|
|
6367
|
-
else {
|
|
6368
|
-
this.iFrameFeedbackReceived.emit(JSON.stringify(event.data));
|
|
6369
|
-
}
|
|
6370
|
-
//}
|
|
6368
|
+
CatalogNavigationService.prototype.setTurnoverGroup = function (turnoverGroup) {
|
|
6369
|
+
// this._catalog.turnoverGroup = turnoverGroup;
|
|
6371
6370
|
};
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
event.target.contentWindow.postMessage({
|
|
6375
|
-
'USERNAME': this.username,
|
|
6376
|
-
'PASSWORD': this.password
|
|
6377
|
-
}, '*');
|
|
6378
|
-
}
|
|
6379
|
-
if (this.externalOrderNr && this.vadainCounter === 1) {
|
|
6380
|
-
event.target.contentWindow.postMessage({
|
|
6381
|
-
'EDIT_ORDER': true,
|
|
6382
|
-
'ORDER_ID': this.externalOrderNr
|
|
6383
|
-
}, '*');
|
|
6384
|
-
this.externalOrderNr = null;
|
|
6385
|
-
}
|
|
6386
|
-
this.vadainCounter++;
|
|
6371
|
+
CatalogNavigationService.prototype.setExternalSourceUrl = function (url) {
|
|
6372
|
+
this._catalog.externalSourceUrl = url;
|
|
6387
6373
|
};
|
|
6388
|
-
|
|
6374
|
+
CatalogNavigationService.prototype.setIoneSourceUrl = function (url, ioneUrl, id, username, password) {
|
|
6375
|
+
this._catalog.ioneSourceUrl = url + '?url=' + ioneUrl + '&id=' + id + '&user=' + username + '&pass=' + password;
|
|
6376
|
+
};
|
|
6377
|
+
CatalogNavigationService.prototype.navigateToHome = function () {
|
|
6378
|
+
this._catalog.reset();
|
|
6379
|
+
};
|
|
6380
|
+
CatalogNavigationService.prototype.getCategories = function () {
|
|
6389
6381
|
return __awaiter(this, void 0, void 0, function () {
|
|
6390
|
-
var bundleSettings;
|
|
6391
|
-
var _this = this;
|
|
6392
6382
|
return __generator(this, function (_a) {
|
|
6393
|
-
|
|
6394
|
-
case 0:
|
|
6395
|
-
if (!this._externalSource) {
|
|
6396
|
-
return [2 /*return*/];
|
|
6397
|
-
}
|
|
6398
|
-
this.externalUrl = undefined;
|
|
6399
|
-
this.externalSettings = {};
|
|
6400
|
-
if (!(this._externalSource.type === 'CATF')) return [3 /*break*/, 2];
|
|
6401
|
-
return [4 /*yield*/, this._catalogConnectorService.getCatalogBundleSettings(this._externalSource.url, parseInt(this._externalSource.schema))];
|
|
6402
|
-
case 1:
|
|
6403
|
-
bundleSettings = _a.sent();
|
|
6404
|
-
this.externalSettings = JSON.parse(bundleSettings);
|
|
6405
|
-
if (this.options) {
|
|
6406
|
-
this.externalSettings.options = this.options;
|
|
6407
|
-
}
|
|
6408
|
-
if (this._externalSource.username && this._externalSource.password) {
|
|
6409
|
-
this.externalSettings.username = this._externalSource.username;
|
|
6410
|
-
this.externalSettings.password = this._externalSource.password;
|
|
6411
|
-
}
|
|
6412
|
-
// finally show the catalog
|
|
6413
|
-
this.showCatalog = true;
|
|
6414
|
-
return [3 /*break*/, 3];
|
|
6415
|
-
case 2:
|
|
6416
|
-
if (this._externalSource.type !== externalCatalogTypes_enum.ExternalCatalogTypes.Webshop) {
|
|
6417
|
-
this.externalUrl = this._externalCatalogStartupInfo.apiUrl;
|
|
6418
|
-
if (this._externalSource.type === externalCatalogTypes_enum.ExternalCatalogTypes.Vadain) {
|
|
6419
|
-
this.username = this._externalCatalogStartupInfo.username;
|
|
6420
|
-
this.password = this._externalCatalogStartupInfo.password;
|
|
6421
|
-
this.externalOrderNr = this._externalCatalogStartupInfo.orderId;
|
|
6422
|
-
}
|
|
6423
|
-
}
|
|
6424
|
-
else {
|
|
6425
|
-
this.externalUrl = this._externalSource.url;
|
|
6426
|
-
}
|
|
6427
|
-
this.safeUrl = this._sanitizer.bypassSecurityTrustResourceUrl(this.externalUrl);
|
|
6428
|
-
this.showCatalog = false;
|
|
6429
|
-
window.addEventListener("message", function (event) { _this.receiveMessage(event); });
|
|
6430
|
-
_a.label = 3;
|
|
6431
|
-
case 3:
|
|
6432
|
-
this.loaded = true;
|
|
6433
|
-
return [2 /*return*/];
|
|
6434
|
-
}
|
|
6383
|
+
return [2 /*return*/];
|
|
6435
6384
|
});
|
|
6436
6385
|
});
|
|
6437
6386
|
};
|
|
6438
|
-
|
|
6387
|
+
CatalogNavigationService.prototype.getTurnoverGroupList = function () {
|
|
6388
|
+
var _this = this;
|
|
6389
|
+
this.navigationCategories.forEach(function (category) {
|
|
6390
|
+
var _a;
|
|
6391
|
+
category.turnoverGroups.forEach(function (tog) { return _this._imageService.getTurnoverGroupImage(tog); });
|
|
6392
|
+
(_a = _this.allTurnoverGroups).push.apply(_a, __spreadArray([], __read(category.turnoverGroups)));
|
|
6393
|
+
});
|
|
6394
|
+
};
|
|
6395
|
+
return CatalogNavigationService;
|
|
6439
6396
|
}());
|
|
6440
|
-
|
|
6441
|
-
{ type: i0.
|
|
6442
|
-
selector: 'co-catalog-external-source',
|
|
6443
|
-
template: "\n <ng-container *ngIf=\"loaded\">\n <ng-container *ngIf=\"showCatalog\">\n <co-catalog-search\n [(settings)]=\"externalSettings\"\n [title]=\"title\"\n [subTitle]=\"subTitle\"\n [searchPlaceholder]=\"searchPlaceholder\"\n [showFilter]=\"showFilter\"\n [showNavigation]=\"showNavigation\"\n (onArticleClick)=\"handleArticleClick($event)\"\n ></co-catalog-search>\n </ng-container>\n <ng-container *ngIf=\"!showCatalog\">\n <iframe #catalogFrame width=\"100%\" height=\"100%\" [src]=\"safeUrl\" frameborder=\"0\" allowfullscreen (load)=\"iframeLoaded($event)\"></iframe>\n </ng-container>\n </ng-container>\n ",
|
|
6444
|
-
encapsulation: i0.ViewEncapsulation.None
|
|
6445
|
-
},] }
|
|
6397
|
+
CatalogNavigationService.decorators = [
|
|
6398
|
+
{ type: i0.Injectable }
|
|
6446
6399
|
];
|
|
6447
|
-
|
|
6448
|
-
{ type:
|
|
6400
|
+
CatalogNavigationService.ctorParameters = function () { return [
|
|
6401
|
+
{ type: CatalogService },
|
|
6449
6402
|
{ type: CatalogConnectorService },
|
|
6450
|
-
{ type:
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
container: [{ type: i0.ViewChild, args: ['catalogFrame', { read: i0.ElementRef },] }],
|
|
6454
|
-
catalogDefinitionId: [{ type: i0.Input }],
|
|
6455
|
-
user: [{ type: i0.Input }],
|
|
6456
|
-
externalCatalogStartupInfo: [{ type: i0.Input }],
|
|
6457
|
-
title: [{ type: i0.Input }],
|
|
6458
|
-
subTitle: [{ type: i0.Input }],
|
|
6459
|
-
searchPlaceholder: [{ type: i0.Input }],
|
|
6460
|
-
showFilter: [{ type: i0.Input }],
|
|
6461
|
-
showNavigation: [{ type: i0.Input }],
|
|
6462
|
-
options: [{ type: i0.Input }],
|
|
6463
|
-
name: [{ type: i0.Input }],
|
|
6464
|
-
articleClick: [{ type: i0.Output }],
|
|
6465
|
-
addArticleClick: [{ type: i0.Output }],
|
|
6466
|
-
iFrameFeedbackReceived: [{ type: i0.Output }],
|
|
6467
|
-
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-external-source',] }]
|
|
6468
|
-
};
|
|
6469
|
-
|
|
6470
|
-
var CatalogExternalSourceModule = /** @class */ (function () {
|
|
6471
|
-
function CatalogExternalSourceModule() {
|
|
6472
|
-
}
|
|
6473
|
-
return CatalogExternalSourceModule;
|
|
6474
|
-
}());
|
|
6475
|
-
CatalogExternalSourceModule.decorators = [
|
|
6476
|
-
{ type: i0.NgModule, args: [{
|
|
6477
|
-
imports: [
|
|
6478
|
-
common.CommonModule,
|
|
6479
|
-
CatalogSearchModule.ForRoot()
|
|
6480
|
-
],
|
|
6481
|
-
declarations: [
|
|
6482
|
-
CatalogExternalSourceComponent
|
|
6483
|
-
],
|
|
6484
|
-
exports: [
|
|
6485
|
-
CatalogExternalSourceComponent
|
|
6486
|
-
]
|
|
6487
|
-
},] }
|
|
6488
|
-
];
|
|
6403
|
+
{ type: CatalogOptionsService },
|
|
6404
|
+
{ type: CatalogImageService }
|
|
6405
|
+
]; };
|
|
6489
6406
|
|
|
6490
6407
|
/**
|
|
6491
6408
|
* Generated bundle index. Do not edit.
|
|
6492
6409
|
*/
|
|
6493
6410
|
|
|
6494
|
-
exports.BusinessObjectCacheManagerService = BusinessObjectCacheManagerService;
|
|
6495
6411
|
exports.CatalogArticleListModule = CatalogArticleListModule;
|
|
6496
6412
|
exports.CatalogArticleTileModule = CatalogArticleTileModule;
|
|
6413
|
+
exports.CatalogBusinessObjectCacheManagerService = CatalogBusinessObjectCacheManagerService;
|
|
6497
6414
|
exports.CatalogCategoriesModule = CatalogCategoriesModule;
|
|
6498
6415
|
exports.CatalogConnectorAdapterService = CatalogConnectorAdapterService;
|
|
6499
6416
|
exports.CatalogConnectorService = CatalogConnectorService;
|
|
@@ -6511,6 +6428,10 @@
|
|
|
6511
6428
|
exports.CatalogSearchResultListModule = CatalogSearchResultListModule;
|
|
6512
6429
|
exports.CatalogSearchResultTileModule = CatalogSearchResultTileModule;
|
|
6513
6430
|
exports.CatalogSearchService = CatalogSearchService;
|
|
6431
|
+
exports.CatalogSelectMultipleCacheService = CatalogSelectMultipleCacheService;
|
|
6432
|
+
exports.CatalogSelectMultipleParameterizedCacheService = CatalogSelectMultipleParameterizedCacheService;
|
|
6433
|
+
exports.CatalogSelectSingleCacheService = CatalogSelectSingleCacheService;
|
|
6434
|
+
exports.CatalogSelectSingleParameterizedCacheService = CatalogSelectSingleParameterizedCacheService;
|
|
6514
6435
|
exports.CatalogService = CatalogService;
|
|
6515
6436
|
exports.CatalogSettingsService = CatalogSettingsService;
|
|
6516
6437
|
exports.CatalogStockComparisonListModule = CatalogStockComparisonListModule;
|
|
@@ -6522,10 +6443,6 @@
|
|
|
6522
6443
|
exports.CatalogStockTransferService = CatalogStockTransferService;
|
|
6523
6444
|
exports.CatalogWarehouseTransfersListModule = CatalogWarehouseTransfersListModule;
|
|
6524
6445
|
exports.CatalogWarehouseTransfersTileModule = CatalogWarehouseTransfersTileModule;
|
|
6525
|
-
exports.SelectMultipleCacheService = SelectMultipleCacheService;
|
|
6526
|
-
exports.SelectMultipleParameterizedCacheService = SelectMultipleParameterizedCacheService;
|
|
6527
|
-
exports.SelectSingleCacheService = SelectSingleCacheService;
|
|
6528
|
-
exports.SelectSingleParameterizedCacheService = SelectSingleParameterizedCacheService;
|
|
6529
6446
|
exports.Version = Version;
|
|
6530
6447
|
exports["ɵa"] = CatalogFilterCategoriesModule;
|
|
6531
6448
|
exports["ɵb"] = PipeModule;
|
|
@@ -6534,14 +6451,14 @@
|
|
|
6534
6451
|
exports["ɵbc"] = CatalogSearchBaseComponent;
|
|
6535
6452
|
exports["ɵbd"] = CatalogArticleListComponent;
|
|
6536
6453
|
exports["ɵbe"] = CatalogSearchResultListComponent;
|
|
6537
|
-
exports["ɵbf"] =
|
|
6538
|
-
exports["ɵbg"] =
|
|
6539
|
-
exports["ɵbh"] =
|
|
6540
|
-
exports["ɵbi"] =
|
|
6541
|
-
exports["ɵbj"] =
|
|
6542
|
-
exports["ɵbk"] =
|
|
6543
|
-
exports["ɵbl"] =
|
|
6544
|
-
exports["ɵbm"] =
|
|
6454
|
+
exports["ɵbf"] = CatalogSearchComponent;
|
|
6455
|
+
exports["ɵbg"] = CatalogExternalSourceComponent;
|
|
6456
|
+
exports["ɵbh"] = CatalogStockOverviewTileComponent;
|
|
6457
|
+
exports["ɵbi"] = CatalogStockOverviewListComponent;
|
|
6458
|
+
exports["ɵbj"] = CatalogStockComparisonTileComponent;
|
|
6459
|
+
exports["ɵbk"] = CatalogStockComparisonListComponent;
|
|
6460
|
+
exports["ɵbl"] = CatalogWarehouseTransfersTileComponent;
|
|
6461
|
+
exports["ɵbm"] = CatalogWarehouseTransfersListComponent;
|
|
6545
6462
|
exports["ɵc"] = LocalizePipe;
|
|
6546
6463
|
exports["ɵd"] = DictionaryService;
|
|
6547
6464
|
exports["ɵe"] = CatalogFilterCategoriesComponent;
|