@colijnit/catalog 255.1.1 → 255.1.3
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 +1157 -42
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.d.ts +8 -2
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/colijnit-catalog.js +9 -3
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/component/catalog-search/catalog-search.component.js +8 -2
- package/esm2015/lib/component/catalog-search/catalog-search.module.js +20 -2
- package/esm2015/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.js +1 -1
- package/esm2015/lib/component/catalog-stock-comparison-list/catalog-stock-comparison-list.component.js +88 -0
- package/esm2015/lib/component/catalog-stock-comparison-list/catalog-stock-comparison-list.module.js +24 -0
- package/esm2015/lib/component/catalog-stock-comparison-tile/catalog-stock-comparison-tile.component.js +89 -0
- package/esm2015/lib/component/catalog-stock-comparison-tile/catalog-stock-comparison-tile.module.js +27 -0
- package/esm2015/lib/component/catalog-stock-overview-list/catalog-stock-overview-list.component.js +104 -0
- package/esm2015/lib/component/catalog-stock-overview-list/catalog-stock-overview-list.module.js +24 -0
- package/esm2015/lib/component/catalog-stock-overview-tile/catalog-stock-overview-tile.component.js +89 -0
- package/esm2015/lib/component/catalog-stock-overview-tile/catalog-stock-overview-tile.module.js +27 -0
- package/esm2015/lib/component/catalog-warehouse-transfers-list/catalog-warehouse-transfers-list.component.js +108 -0
- package/esm2015/lib/component/catalog-warehouse-transfers-list/catalog-warehouse-transfers-list.module.js +24 -0
- package/esm2015/lib/component/catalog-warehouse-transfers-tile/catalog-warehouse-transfers-tile.component.js +95 -0
- package/esm2015/lib/component/catalog-warehouse-transfers-tile/catalog-warehouse-transfers-tile.module.js +27 -0
- package/esm2015/lib/model/article-stock-comparison-search-grid-result.js +3 -0
- package/esm2015/lib/model/article-stock-comparison-search-grid-selection.js +4 -0
- package/esm2015/lib/model/article-stock-comparison-search-tile-result.js +3 -0
- package/esm2015/lib/model/article-stock-comparison-search-tile-selection.js +4 -0
- package/esm2015/lib/model/article-stock-search-grid-selection.js +4 -0
- package/esm2015/lib/model/article-stock-search-tile-selection.js +4 -0
- package/esm2015/lib/model/article-stock-transfer-search-grid-result.js +3 -0
- package/esm2015/lib/model/article-stock-transfer-search-grid-selection.js +12 -0
- package/esm2015/lib/model/article-stock-transfer-search-tile-result.js +3 -0
- package/esm2015/lib/model/article-stock-transfer-search-tile-selection.js +4 -0
- package/esm2015/lib/model/articles-stock-search-grid-result.js +3 -0
- package/esm2015/lib/model/articles-stock-search-tile-result.js +3 -0
- package/esm2015/lib/service/catalog-connector-adapter.service.js +130 -1
- package/esm2015/lib/service/catalog-connector.service.js +46 -1
- package/esm2015/lib/service/catalog-search.service.js +1 -1
- package/esm2015/lib/service/catalog-stock-comparison.service.js +90 -0
- package/esm2015/lib/service/catalog-stock-transfer.service.js +90 -0
- package/esm2015/lib/service/catalog-stock.service.js +90 -0
- package/esm2015/public_api.js +10 -1
- package/fesm2015/colijnit-catalog.js +1221 -80
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/component/catalog-stock-comparison-list/catalog-stock-comparison-list.component.d.ts +11 -0
- package/lib/component/catalog-stock-comparison-list/catalog-stock-comparison-list.module.d.ts +2 -0
- package/lib/component/catalog-stock-comparison-list/catalog-stock-comparison-list.scss +0 -0
- package/lib/component/catalog-stock-comparison-list/style/_layout.scss +5 -0
- package/lib/component/catalog-stock-comparison-list/style/_material-definition.scss +0 -0
- package/lib/component/catalog-stock-comparison-list/style/_theme.scss +4 -0
- package/lib/component/catalog-stock-comparison-list/style/material.scss +4 -0
- package/lib/component/catalog-stock-comparison-tile/catalog-stock-comparison-tile.component.d.ts +16 -0
- package/lib/component/catalog-stock-comparison-tile/catalog-stock-comparison-tile.module.d.ts +2 -0
- package/lib/component/catalog-stock-comparison-tile/catalog-stock-comparison-tile.scss +88 -0
- package/lib/component/catalog-stock-comparison-tile/style/_layout.scss +16 -0
- package/lib/component/catalog-stock-comparison-tile/style/_material-definition.scss +0 -0
- package/lib/component/catalog-stock-comparison-tile/style/_theme.scss +4 -0
- package/lib/component/catalog-stock-comparison-tile/style/material.scss +4 -0
- package/lib/component/catalog-stock-overview-list/catalog-stock-overview-list.component.d.ts +11 -0
- package/lib/component/catalog-stock-overview-list/catalog-stock-overview-list.module.d.ts +2 -0
- package/lib/component/catalog-stock-overview-list/catalog-stock-overview-list.scss +0 -0
- package/lib/component/catalog-stock-overview-list/style/_layout.scss +5 -0
- package/lib/component/catalog-stock-overview-list/style/_material-definition.scss +0 -0
- package/lib/component/catalog-stock-overview-list/style/_theme.scss +4 -0
- package/lib/component/catalog-stock-overview-list/style/material.scss +4 -0
- package/lib/component/catalog-stock-overview-tile/catalog-stock-overview-tile.component.d.ts +16 -0
- package/lib/component/catalog-stock-overview-tile/catalog-stock-overview-tile.module.d.ts +2 -0
- package/lib/component/catalog-stock-overview-tile/catalog-stock-overview-tile.scss +86 -0
- package/lib/component/catalog-stock-overview-tile/style/_layout.scss +16 -0
- package/lib/component/catalog-stock-overview-tile/style/_material-definition.scss +0 -0
- package/lib/component/catalog-stock-overview-tile/style/_theme.scss +4 -0
- package/lib/component/catalog-stock-overview-tile/style/material.scss +4 -0
- package/lib/component/catalog-warehouse-transfers-list/catalog-warehouse-transfers-list.component.d.ts +11 -0
- package/lib/component/catalog-warehouse-transfers-list/catalog-warehouse-transfers-list.module.d.ts +2 -0
- package/lib/component/catalog-warehouse-transfers-list/catalog-warehouse-transfers-list.scss +0 -0
- package/lib/component/catalog-warehouse-transfers-list/style/_layout.scss +5 -0
- package/lib/component/catalog-warehouse-transfers-list/style/_material-definition.scss +0 -0
- package/lib/component/catalog-warehouse-transfers-list/style/_theme.scss +4 -0
- package/lib/component/catalog-warehouse-transfers-list/style/material.scss +4 -0
- package/lib/component/catalog-warehouse-transfers-tile/catalog-warehouse-transfers-tile.component.d.ts +16 -0
- package/lib/component/catalog-warehouse-transfers-tile/catalog-warehouse-transfers-tile.module.d.ts +2 -0
- package/lib/component/catalog-warehouse-transfers-tile/catalog-warehouse-transfers-tile.scss +92 -0
- package/lib/component/catalog-warehouse-transfers-tile/style/_layout.scss +16 -0
- package/lib/component/catalog-warehouse-transfers-tile/style/_material-definition.scss +0 -0
- package/lib/component/catalog-warehouse-transfers-tile/style/_theme.scss +4 -0
- package/lib/component/catalog-warehouse-transfers-tile/style/material.scss +4 -0
- package/lib/model/article-stock-comparison-search-grid-result.d.ts +5 -0
- package/lib/model/article-stock-comparison-search-grid-selection.d.ts +15 -0
- package/lib/model/article-stock-comparison-search-tile-result.d.ts +5 -0
- package/lib/model/article-stock-comparison-search-tile-selection.d.ts +15 -0
- package/lib/model/article-stock-search-grid-selection.d.ts +21 -0
- package/lib/model/article-stock-search-tile-selection.d.ts +15 -0
- package/lib/model/article-stock-transfer-search-grid-result.d.ts +5 -0
- package/lib/model/article-stock-transfer-search-grid-selection.d.ts +21 -0
- package/lib/model/article-stock-transfer-search-tile-result.d.ts +5 -0
- package/lib/model/article-stock-transfer-search-tile-selection.d.ts +16 -0
- package/lib/model/articles-stock-search-grid-result.d.ts +5 -0
- package/lib/model/articles-stock-search-tile-result.d.ts +5 -0
- package/lib/service/catalog-connector-adapter.service.d.ts +18 -0
- package/lib/service/catalog-connector.service.d.ts +18 -0
- package/lib/service/catalog-stock-comparison.service.d.ts +30 -0
- package/lib/service/catalog-stock-transfer.service.d.ts +30 -0
- package/lib/service/catalog-stock.service.d.ts +30 -0
- package/package.json +2 -2
- package/public_api.d.ts +9 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('rxjs'), require('@colijnit/ioneconnector/build/model/options'), require('@colijnit/articleapi/build/model/article-extended-request'), require('@colijnit/ioneconnector/build/utils/string-utils'), require('@colijnit/articleapi/build/model/article-category'), require('@colijnit/articleapi/build/model/catalog-definition.bo'), require('@colijnit/articleapi/build/model/external-source.bo'), require('@colijnit/articleapi/build/articles'), require('@colijnit/articleapi/build/model/article-extended.bo'), require('@colijnit/articleapi/build/model/article-search-filter-selections'), require('@colijnit/articleapi/build/model/article-search-filter-max-and-min-price'), require('@colijnit/articleapi/build/model/article-price'), require('@colijnit/articleapi/build/model/get-article-price-request'), require('@colijnit/relationapi'), require('@colijnit/mainapi'), require('@colijnit/mainapi/build/model/store-group.bo'), require('@colijnit/mainapi/build/model/co-domain-value.bo'), require('@colijnit/relationapi/build/model/relation-list-object.bo'), require('@colijnit/relationapi/build/model/relation-request'), require('@colijnit/relationapi/build/enum/relation-kind.enum'), require('@colijnit/mainapi/build/model/co-rv-domain-value.bo'), require('@colijnit/mainapi/build/model/category.bo'), require('@colijnit/ioneconnector/build/service/business-object-factory'), require('@colijnit/mainapi/build/model/preset.bo'), require('@colijnit/mainapi/build/model/user-group.bo'), require('@colijnit/transactionapi/build/model/price-list'), require('@colijnit/transactionapi/build/transaction'), require('@colijnit/articleapi/build/model/external-catalog-startup-info'), require('@colijnit/mainapi/build/model/color.bo'), require('@colijnit/transactionapi/build/model/transaction-info-response.bo'), require('@colijnit/ioneconnector/build/utils/object-utils'), require('@colijnit/ioneconnector/build/utils/file-utils'), require('@colijnit/corecomponents_v12'), require('@colijnit/ioneconnector/build/model/paging-parameters'), require('@angular/animations'), require('@angular/platform-browser'), require('@colijnit/corecomponents'), require('@colijnit/mainapi/build/enum/domain-name.enum'), require('@colijnit/corecomponents_v12/'), require('@colijnit/transactionapi/build/enum/external-catalog-types.enum')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@colijnit/catalog', ['exports', '@angular/core', '@angular/common', 'rxjs', '@colijnit/ioneconnector/build/model/options', '@colijnit/articleapi/build/model/article-extended-request', '@colijnit/ioneconnector/build/utils/string-utils', '@colijnit/articleapi/build/model/article-category', '@colijnit/articleapi/build/model/catalog-definition.bo', '@colijnit/articleapi/build/model/external-source.bo', '@colijnit/articleapi/build/articles', '@colijnit/articleapi/build/model/article-extended.bo', '@colijnit/articleapi/build/model/article-search-filter-selections', '@colijnit/articleapi/build/model/article-search-filter-max-and-min-price', '@colijnit/articleapi/build/model/article-price', '@colijnit/articleapi/build/model/get-article-price-request', '@colijnit/relationapi', '@colijnit/mainapi', '@colijnit/mainapi/build/model/store-group.bo', '@colijnit/mainapi/build/model/co-domain-value.bo', '@colijnit/relationapi/build/model/relation-list-object.bo', '@colijnit/relationapi/build/model/relation-request', '@colijnit/relationapi/build/enum/relation-kind.enum', '@colijnit/mainapi/build/model/co-rv-domain-value.bo', '@colijnit/mainapi/build/model/category.bo', '@colijnit/ioneconnector/build/service/business-object-factory', '@colijnit/mainapi/build/model/preset.bo', '@colijnit/mainapi/build/model/user-group.bo', '@colijnit/transactionapi/build/model/price-list', '@colijnit/transactionapi/build/transaction', '@colijnit/articleapi/build/model/external-catalog-startup-info', '@colijnit/mainapi/build/model/color.bo', '@colijnit/transactionapi/build/model/transaction-info-response.bo', '@colijnit/ioneconnector/build/utils/object-utils', '@colijnit/ioneconnector/build/utils/file-utils', '@colijnit/corecomponents_v12', '@colijnit/ioneconnector/build/model/paging-parameters', '@angular/animations', '@angular/platform-browser', '@colijnit/corecomponents', '@colijnit/mainapi/build/enum/domain-name.enum', '@colijnit/corecomponents_v12/', '@colijnit/transactionapi/build/enum/external-catalog-types.enum'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.catalog = {}), global.ng.core, global.ng.common, global.rxjs, global.options, global.articleExtendedRequest, global.stringUtils, global.articleCategory, global.catalogDefinition_bo, global.externalSource_bo, global.articles, global.articleExtended_bo, global.articleSearchFilterSelections, global.articleSearchFilterMaxAndMinPrice, global.articlePrice, global.getArticlePriceRequest, global.relationapi, global.mainapi, global.storeGroup_bo, global.coDomainValue_bo, global.relationListObject_bo, global.relationRequest, global.relationKind_enum, global.coRvDomainValue_bo, global.category_bo, global.businessObjectFactory, global.preset_bo, global.userGroup_bo, global.priceList, global.transaction, global.externalCatalogStartupInfo, global.color_bo, global.transactionInfoResponse_bo, global.objectUtils, global.fileUtils, global.corecomponents_v12, global.pagingParameters, global.ng.animations, global.ng.platformBrowser, global.corecomponents, global.domainName_enum, global._, global.externalCatalogTypes_enum));
|
|
5
|
-
})(this, (function (exports, i0, common, rxjs, options, articleExtendedRequest, stringUtils, articleCategory, catalogDefinition_bo, externalSource_bo, articles, articleExtended_bo, articleSearchFilterSelections, articleSearchFilterMaxAndMinPrice, articlePrice, getArticlePriceRequest, relationapi, mainapi, storeGroup_bo, coDomainValue_bo, relationListObject_bo, relationRequest, relationKind_enum, coRvDomainValue_bo, category_bo, businessObjectFactory, preset_bo, userGroup_bo, priceList, transaction, externalCatalogStartupInfo, color_bo, transactionInfoResponse_bo, objectUtils, fileUtils, corecomponents_v12, pagingParameters, animations, i1, corecomponents, domainName_enum, _, externalCatalogTypes_enum) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('rxjs'), require('@colijnit/ioneconnector/build/model/options'), require('@colijnit/articleapi/build/model/article-extended-request'), require('@colijnit/ioneconnector/build/utils/string-utils'), require('@colijnit/articleapi/build/model/article-category'), require('@colijnit/articleapi/build/model/catalog-definition.bo'), require('@colijnit/articleapi/build/model/external-source.bo'), require('@colijnit/articleapi/build/articles'), require('@colijnit/articleapi/build/model/article-extended.bo'), require('@colijnit/articleapi/build/model/article-search-filter-selections'), require('@colijnit/articleapi/build/model/article-search-filter-max-and-min-price'), require('@colijnit/articleapi/build/model/article-price'), require('@colijnit/articleapi/build/model/get-article-price-request'), require('@colijnit/relationapi'), require('@colijnit/mainapi'), require('@colijnit/mainapi/build/model/store-group.bo'), require('@colijnit/mainapi/build/model/co-domain-value.bo'), require('@colijnit/relationapi/build/model/relation-list-object.bo'), require('@colijnit/relationapi/build/model/relation-request'), require('@colijnit/relationapi/build/enum/relation-kind.enum'), require('@colijnit/mainapi/build/model/co-rv-domain-value.bo'), require('@colijnit/mainapi/build/model/category.bo'), require('@colijnit/ioneconnector/build/service/business-object-factory'), require('@colijnit/mainapi/build/model/preset.bo'), require('@colijnit/mainapi/build/model/user-group.bo'), require('@colijnit/transactionapi/build/model/price-list'), require('@colijnit/transactionapi/build/transaction'), require('@colijnit/articleapi/build/model/external-catalog-startup-info'), require('@colijnit/mainapi/build/model/color.bo'), require('@colijnit/transactionapi/build/model/transaction-info-response.bo'), require('@colijnit/ioneconnector/build/factory/decorators/date-field.decorator'), require('@colijnit/ioneconnector/build/utils/object-utils'), require('@colijnit/ioneconnector/build/utils/file-utils'), require('@colijnit/corecomponents_v12'), require('@colijnit/ioneconnector/build/model/paging-parameters'), require('@angular/animations'), require('@angular/platform-browser'), require('@colijnit/corecomponents'), require('@colijnit/mainapi/build/enum/domain-name.enum'), require('@colijnit/corecomponents_v12/'), require('@colijnit/articleapi/build/model/article-stock-search-request'), require('@colijnit/articleapi/build/model/article-stock-transfer-search-request'), require('@colijnit/articleapi/build/model/article-stock-comparison-search-request'), require('@colijnit/transactionapi/build/enum/external-catalog-types.enum')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@colijnit/catalog', ['exports', '@angular/core', '@angular/common', 'rxjs', '@colijnit/ioneconnector/build/model/options', '@colijnit/articleapi/build/model/article-extended-request', '@colijnit/ioneconnector/build/utils/string-utils', '@colijnit/articleapi/build/model/article-category', '@colijnit/articleapi/build/model/catalog-definition.bo', '@colijnit/articleapi/build/model/external-source.bo', '@colijnit/articleapi/build/articles', '@colijnit/articleapi/build/model/article-extended.bo', '@colijnit/articleapi/build/model/article-search-filter-selections', '@colijnit/articleapi/build/model/article-search-filter-max-and-min-price', '@colijnit/articleapi/build/model/article-price', '@colijnit/articleapi/build/model/get-article-price-request', '@colijnit/relationapi', '@colijnit/mainapi', '@colijnit/mainapi/build/model/store-group.bo', '@colijnit/mainapi/build/model/co-domain-value.bo', '@colijnit/relationapi/build/model/relation-list-object.bo', '@colijnit/relationapi/build/model/relation-request', '@colijnit/relationapi/build/enum/relation-kind.enum', '@colijnit/mainapi/build/model/co-rv-domain-value.bo', '@colijnit/mainapi/build/model/category.bo', '@colijnit/ioneconnector/build/service/business-object-factory', '@colijnit/mainapi/build/model/preset.bo', '@colijnit/mainapi/build/model/user-group.bo', '@colijnit/transactionapi/build/model/price-list', '@colijnit/transactionapi/build/transaction', '@colijnit/articleapi/build/model/external-catalog-startup-info', '@colijnit/mainapi/build/model/color.bo', '@colijnit/transactionapi/build/model/transaction-info-response.bo', '@colijnit/ioneconnector/build/factory/decorators/date-field.decorator', '@colijnit/ioneconnector/build/utils/object-utils', '@colijnit/ioneconnector/build/utils/file-utils', '@colijnit/corecomponents_v12', '@colijnit/ioneconnector/build/model/paging-parameters', '@angular/animations', '@angular/platform-browser', '@colijnit/corecomponents', '@colijnit/mainapi/build/enum/domain-name.enum', '@colijnit/corecomponents_v12/', '@colijnit/articleapi/build/model/article-stock-search-request', '@colijnit/articleapi/build/model/article-stock-transfer-search-request', '@colijnit/articleapi/build/model/article-stock-comparison-search-request', '@colijnit/transactionapi/build/enum/external-catalog-types.enum'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.colijnit = global.colijnit || {}, global.colijnit.catalog = {}), global.ng.core, global.ng.common, global.rxjs, global.options, global.articleExtendedRequest, global.stringUtils, global.articleCategory, global.catalogDefinition_bo, global.externalSource_bo, global.articles, global.articleExtended_bo, global.articleSearchFilterSelections, global.articleSearchFilterMaxAndMinPrice, global.articlePrice, global.getArticlePriceRequest, global.relationapi, global.mainapi, global.storeGroup_bo, global.coDomainValue_bo, global.relationListObject_bo, global.relationRequest, global.relationKind_enum, global.coRvDomainValue_bo, global.category_bo, global.businessObjectFactory, global.preset_bo, global.userGroup_bo, global.priceList, global.transaction, global.externalCatalogStartupInfo, global.color_bo, global.transactionInfoResponse_bo, global.dateField_decorator, global.objectUtils, global.fileUtils, global.corecomponents_v12, global.pagingParameters, global.ng.animations, global.ng.platformBrowser, global.corecomponents, global.domainName_enum, global._, global.articleStockSearchRequest, global.articleStockTransferSearchRequest, global.articleStockComparisonSearchRequest, global.externalCatalogTypes_enum));
|
|
5
|
+
})(this, (function (exports, i0, common, rxjs, options, articleExtendedRequest, stringUtils, articleCategory, catalogDefinition_bo, externalSource_bo, articles, articleExtended_bo, articleSearchFilterSelections, articleSearchFilterMaxAndMinPrice, articlePrice, getArticlePriceRequest, relationapi, mainapi, storeGroup_bo, coDomainValue_bo, relationListObject_bo, relationRequest, relationKind_enum, coRvDomainValue_bo, category_bo, businessObjectFactory, preset_bo, userGroup_bo, priceList, transaction, externalCatalogStartupInfo, color_bo, transactionInfoResponse_bo, dateField_decorator, objectUtils, fileUtils, corecomponents_v12, pagingParameters, animations, i1, corecomponents, domainName_enum, _, articleStockSearchRequest, articleStockTransferSearchRequest, articleStockComparisonSearchRequest, externalCatalogTypes_enum) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -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.3";
|
|
34
|
+
this.publishDate = "13/08/2024, 09:50:34";
|
|
35
35
|
}
|
|
36
36
|
return Version;
|
|
37
37
|
}());
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
51
51
|
PERFORMANCE OF THIS SOFTWARE.
|
|
52
52
|
***************************************************************************** */
|
|
53
|
-
/* global Reflect, Promise */
|
|
53
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
54
54
|
var extendStatics = function (d, b) {
|
|
55
55
|
extendStatics = Object.setPrototypeOf ||
|
|
56
56
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -129,11 +129,11 @@
|
|
|
129
129
|
if (_ = accept(result.set))
|
|
130
130
|
descriptor.set = _;
|
|
131
131
|
if (_ = accept(result.init))
|
|
132
|
-
initializers.
|
|
132
|
+
initializers.unshift(_);
|
|
133
133
|
}
|
|
134
134
|
else if (_ = accept(result)) {
|
|
135
135
|
if (kind === "field")
|
|
136
|
-
initializers.
|
|
136
|
+
initializers.unshift(_);
|
|
137
137
|
else
|
|
138
138
|
descriptor[key] = _;
|
|
139
139
|
}
|
|
@@ -342,9 +342,13 @@
|
|
|
342
342
|
if (!Symbol.asyncIterator)
|
|
343
343
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
344
344
|
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
345
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
346
|
-
function
|
|
347
|
-
|
|
345
|
+
return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
346
|
+
function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
|
|
347
|
+
function verb(n, f) { if (g[n]) {
|
|
348
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); };
|
|
349
|
+
if (f)
|
|
350
|
+
i[n] = f(i[n]);
|
|
351
|
+
} }
|
|
348
352
|
function resume(n, v) { try {
|
|
349
353
|
step(g[n](v));
|
|
350
354
|
}
|
|
@@ -419,7 +423,95 @@
|
|
|
419
423
|
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
420
424
|
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
421
425
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
422
|
-
}
|
|
426
|
+
}
|
|
427
|
+
function __addDisposableResource(env, value, async) {
|
|
428
|
+
if (value !== null && value !== void 0) {
|
|
429
|
+
if (typeof value !== "object" && typeof value !== "function")
|
|
430
|
+
throw new TypeError("Object expected.");
|
|
431
|
+
var dispose, inner;
|
|
432
|
+
if (async) {
|
|
433
|
+
if (!Symbol.asyncDispose)
|
|
434
|
+
throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
435
|
+
dispose = value[Symbol.asyncDispose];
|
|
436
|
+
}
|
|
437
|
+
if (dispose === void 0) {
|
|
438
|
+
if (!Symbol.dispose)
|
|
439
|
+
throw new TypeError("Symbol.dispose is not defined.");
|
|
440
|
+
dispose = value[Symbol.dispose];
|
|
441
|
+
if (async)
|
|
442
|
+
inner = dispose;
|
|
443
|
+
}
|
|
444
|
+
if (typeof dispose !== "function")
|
|
445
|
+
throw new TypeError("Object not disposable.");
|
|
446
|
+
if (inner)
|
|
447
|
+
dispose = function () { try {
|
|
448
|
+
inner.call(this);
|
|
449
|
+
}
|
|
450
|
+
catch (e) {
|
|
451
|
+
return Promise.reject(e);
|
|
452
|
+
} };
|
|
453
|
+
env.stack.push({ value: value, dispose: dispose, async: async });
|
|
454
|
+
}
|
|
455
|
+
else if (async) {
|
|
456
|
+
env.stack.push({ async: true });
|
|
457
|
+
}
|
|
458
|
+
return value;
|
|
459
|
+
}
|
|
460
|
+
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
461
|
+
var e = new Error(message);
|
|
462
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
463
|
+
};
|
|
464
|
+
function __disposeResources(env) {
|
|
465
|
+
function fail(e) {
|
|
466
|
+
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
|
467
|
+
env.hasError = true;
|
|
468
|
+
}
|
|
469
|
+
function next() {
|
|
470
|
+
while (env.stack.length) {
|
|
471
|
+
var rec = env.stack.pop();
|
|
472
|
+
try {
|
|
473
|
+
var result = rec.dispose && rec.dispose.call(rec.value);
|
|
474
|
+
if (rec.async)
|
|
475
|
+
return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
|
|
476
|
+
}
|
|
477
|
+
catch (e) {
|
|
478
|
+
fail(e);
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
if (env.hasError)
|
|
482
|
+
throw env.error;
|
|
483
|
+
}
|
|
484
|
+
return next();
|
|
485
|
+
}
|
|
486
|
+
var tslib_es6 = {
|
|
487
|
+
__extends: __extends,
|
|
488
|
+
__assign: __assign,
|
|
489
|
+
__rest: __rest,
|
|
490
|
+
__decorate: __decorate,
|
|
491
|
+
__param: __param,
|
|
492
|
+
__metadata: __metadata,
|
|
493
|
+
__awaiter: __awaiter,
|
|
494
|
+
__generator: __generator,
|
|
495
|
+
__createBinding: __createBinding,
|
|
496
|
+
__exportStar: __exportStar,
|
|
497
|
+
__values: __values,
|
|
498
|
+
__read: __read,
|
|
499
|
+
__spread: __spread,
|
|
500
|
+
__spreadArrays: __spreadArrays,
|
|
501
|
+
__spreadArray: __spreadArray,
|
|
502
|
+
__await: __await,
|
|
503
|
+
__asyncGenerator: __asyncGenerator,
|
|
504
|
+
__asyncDelegator: __asyncDelegator,
|
|
505
|
+
__asyncValues: __asyncValues,
|
|
506
|
+
__makeTemplateObject: __makeTemplateObject,
|
|
507
|
+
__importStar: __importStar,
|
|
508
|
+
__importDefault: __importDefault,
|
|
509
|
+
__classPrivateFieldGet: __classPrivateFieldGet,
|
|
510
|
+
__classPrivateFieldSet: __classPrivateFieldSet,
|
|
511
|
+
__classPrivateFieldIn: __classPrivateFieldIn,
|
|
512
|
+
__addDisposableResource: __addDisposableResource,
|
|
513
|
+
__disposeResources: __disposeResources,
|
|
514
|
+
};
|
|
423
515
|
|
|
424
516
|
var SettingsOptions = /** @class */ (function () {
|
|
425
517
|
function SettingsOptions() {
|
|
@@ -707,6 +799,96 @@
|
|
|
707
799
|
return ArticlesSearchResult;
|
|
708
800
|
}());
|
|
709
801
|
|
|
802
|
+
var ArticleStockSearchTileSelection = /** @class */ (function (_super) {
|
|
803
|
+
__extends(ArticleStockSearchTileSelection, _super);
|
|
804
|
+
function ArticleStockSearchTileSelection() {
|
|
805
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
806
|
+
}
|
|
807
|
+
return ArticleStockSearchTileSelection;
|
|
808
|
+
}(articleExtended_bo.ArticleExtended));
|
|
809
|
+
|
|
810
|
+
var ArticleStockSearchGridSelection = /** @class */ (function (_super) {
|
|
811
|
+
__extends(ArticleStockSearchGridSelection, _super);
|
|
812
|
+
function ArticleStockSearchGridSelection() {
|
|
813
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
814
|
+
}
|
|
815
|
+
return ArticleStockSearchGridSelection;
|
|
816
|
+
}(articleExtended_bo.ArticleExtended));
|
|
817
|
+
|
|
818
|
+
var ArticlesStockSearchTileResult = /** @class */ (function () {
|
|
819
|
+
function ArticlesStockSearchTileResult() {
|
|
820
|
+
}
|
|
821
|
+
return ArticlesStockSearchTileResult;
|
|
822
|
+
}());
|
|
823
|
+
|
|
824
|
+
var ArticlesStockSearchGridResult = /** @class */ (function () {
|
|
825
|
+
function ArticlesStockSearchGridResult() {
|
|
826
|
+
}
|
|
827
|
+
return ArticlesStockSearchGridResult;
|
|
828
|
+
}());
|
|
829
|
+
|
|
830
|
+
var ArticleStockTransferSearchGridResult = /** @class */ (function () {
|
|
831
|
+
function ArticleStockTransferSearchGridResult() {
|
|
832
|
+
}
|
|
833
|
+
return ArticleStockTransferSearchGridResult;
|
|
834
|
+
}());
|
|
835
|
+
|
|
836
|
+
var ArticleStockTransferSearchGridSelection = /** @class */ (function (_super) {
|
|
837
|
+
__extends(ArticleStockTransferSearchGridSelection, _super);
|
|
838
|
+
function ArticleStockTransferSearchGridSelection() {
|
|
839
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
840
|
+
}
|
|
841
|
+
return ArticleStockTransferSearchGridSelection;
|
|
842
|
+
}(articleExtended_bo.ArticleExtended));
|
|
843
|
+
__decorate([
|
|
844
|
+
dateField_decorator.DateField()
|
|
845
|
+
], ArticleStockTransferSearchGridSelection.prototype, "changeDate", void 0);
|
|
846
|
+
__decorate([
|
|
847
|
+
dateField_decorator.DateField()
|
|
848
|
+
], ArticleStockTransferSearchGridSelection.prototype, "creationDate", void 0);
|
|
849
|
+
|
|
850
|
+
var ArticleStockTransferSearchTileResult = /** @class */ (function () {
|
|
851
|
+
function ArticleStockTransferSearchTileResult() {
|
|
852
|
+
}
|
|
853
|
+
return ArticleStockTransferSearchTileResult;
|
|
854
|
+
}());
|
|
855
|
+
|
|
856
|
+
var ArticleStockTransferSearchTileSelection = /** @class */ (function (_super) {
|
|
857
|
+
__extends(ArticleStockTransferSearchTileSelection, _super);
|
|
858
|
+
function ArticleStockTransferSearchTileSelection() {
|
|
859
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
860
|
+
}
|
|
861
|
+
return ArticleStockTransferSearchTileSelection;
|
|
862
|
+
}(articleExtended_bo.ArticleExtended));
|
|
863
|
+
|
|
864
|
+
var ArticleStockComparisonSearchTileResult = /** @class */ (function () {
|
|
865
|
+
function ArticleStockComparisonSearchTileResult() {
|
|
866
|
+
}
|
|
867
|
+
return ArticleStockComparisonSearchTileResult;
|
|
868
|
+
}());
|
|
869
|
+
|
|
870
|
+
var ArticleStockComparisonSearchTileSelection = /** @class */ (function (_super) {
|
|
871
|
+
__extends(ArticleStockComparisonSearchTileSelection, _super);
|
|
872
|
+
function ArticleStockComparisonSearchTileSelection() {
|
|
873
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
874
|
+
}
|
|
875
|
+
return ArticleStockComparisonSearchTileSelection;
|
|
876
|
+
}(articleExtended_bo.ArticleExtended));
|
|
877
|
+
|
|
878
|
+
var ArticleStockComparisonSearchGridResult = /** @class */ (function () {
|
|
879
|
+
function ArticleStockComparisonSearchGridResult() {
|
|
880
|
+
}
|
|
881
|
+
return ArticleStockComparisonSearchGridResult;
|
|
882
|
+
}());
|
|
883
|
+
|
|
884
|
+
var ArticleStockComparisonSearchGridSelection = /** @class */ (function (_super) {
|
|
885
|
+
__extends(ArticleStockComparisonSearchGridSelection, _super);
|
|
886
|
+
function ArticleStockComparisonSearchGridSelection() {
|
|
887
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
888
|
+
}
|
|
889
|
+
return ArticleStockComparisonSearchGridSelection;
|
|
890
|
+
}(articleExtended_bo.ArticleExtended));
|
|
891
|
+
|
|
710
892
|
var CatalogConnectorAdapterService = /** @class */ (function () {
|
|
711
893
|
function CatalogConnectorAdapterService() {
|
|
712
894
|
this.controllerInitialized = new rxjs.BehaviorSubject(false);
|
|
@@ -828,6 +1010,204 @@
|
|
|
828
1010
|
});
|
|
829
1011
|
});
|
|
830
1012
|
};
|
|
1013
|
+
CatalogConnectorAdapterService.prototype.getArticlesForStockSearchTile = function (params, showLoader) {
|
|
1014
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
1015
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1016
|
+
var response, result;
|
|
1017
|
+
return __generator(this, function (_a) {
|
|
1018
|
+
switch (_a.label) {
|
|
1019
|
+
case 0: return [4 /*yield*/, this.connector.searchArticlesForTileView(params, showLoader)];
|
|
1020
|
+
case 1:
|
|
1021
|
+
response = _a.sent();
|
|
1022
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
1023
|
+
result = new ArticlesStockSearchTileResult();
|
|
1024
|
+
result.count = response.pagingParameters.resultCount;
|
|
1025
|
+
result.articles = this._boFactory.makeBOArrayFromRawBackendDataArray(ArticleStockSearchTileSelection, response.resultObjects);
|
|
1026
|
+
return [2 /*return*/, result];
|
|
1027
|
+
}
|
|
1028
|
+
else {
|
|
1029
|
+
console.error(response.validationMessagesAsString);
|
|
1030
|
+
}
|
|
1031
|
+
return [2 /*return*/];
|
|
1032
|
+
}
|
|
1033
|
+
});
|
|
1034
|
+
});
|
|
1035
|
+
};
|
|
1036
|
+
CatalogConnectorAdapterService.prototype.getArticlesForStockSearchGrid = function (params, showLoader) {
|
|
1037
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
1038
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1039
|
+
var response, result;
|
|
1040
|
+
return __generator(this, function (_a) {
|
|
1041
|
+
switch (_a.label) {
|
|
1042
|
+
case 0: return [4 /*yield*/, this.connector.searchArticlesForGridView(params, showLoader)];
|
|
1043
|
+
case 1:
|
|
1044
|
+
response = _a.sent();
|
|
1045
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
1046
|
+
result = new ArticlesStockSearchGridResult();
|
|
1047
|
+
result.count = response.pagingParameters.resultCount;
|
|
1048
|
+
result.articles = this._boFactory.makeBOArrayFromRawBackendDataArray(ArticleStockSearchGridSelection, response.resultObjects);
|
|
1049
|
+
return [2 /*return*/, result];
|
|
1050
|
+
}
|
|
1051
|
+
else {
|
|
1052
|
+
console.error(response.validationMessagesAsString);
|
|
1053
|
+
}
|
|
1054
|
+
return [2 /*return*/];
|
|
1055
|
+
}
|
|
1056
|
+
});
|
|
1057
|
+
});
|
|
1058
|
+
};
|
|
1059
|
+
CatalogConnectorAdapterService.prototype.getArticleGridViewExcelFile = function (params, showLoader) {
|
|
1060
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
1061
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1062
|
+
var response;
|
|
1063
|
+
return __generator(this, function (_a) {
|
|
1064
|
+
switch (_a.label) {
|
|
1065
|
+
case 0: return [4 /*yield*/, this.connector.getArticleGridViewExcelFile(params, showLoader)];
|
|
1066
|
+
case 1:
|
|
1067
|
+
response = _a.sent();
|
|
1068
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
1069
|
+
return [2 /*return*/, this._boFactory.makeBOArrayFromRawBackendDataArray([], response.resultObjects)];
|
|
1070
|
+
}
|
|
1071
|
+
else {
|
|
1072
|
+
console.error(response.validationMessagesAsString);
|
|
1073
|
+
}
|
|
1074
|
+
return [2 /*return*/];
|
|
1075
|
+
}
|
|
1076
|
+
});
|
|
1077
|
+
});
|
|
1078
|
+
};
|
|
1079
|
+
CatalogConnectorAdapterService.prototype.getArticlesForStockTransferSearchTile = function (params, showLoader) {
|
|
1080
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
1081
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1082
|
+
var response, result;
|
|
1083
|
+
return __generator(this, function (_a) {
|
|
1084
|
+
switch (_a.label) {
|
|
1085
|
+
case 0: return [4 /*yield*/, this.connector.searchTransferArticlesForTileView(params, showLoader)];
|
|
1086
|
+
case 1:
|
|
1087
|
+
response = _a.sent();
|
|
1088
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
1089
|
+
result = new ArticleStockTransferSearchTileResult();
|
|
1090
|
+
result.count = response.pagingParameters.resultCount;
|
|
1091
|
+
result.articles = this._boFactory.makeBOArrayFromRawBackendDataArray(ArticleStockTransferSearchTileSelection, response.resultObjects);
|
|
1092
|
+
return [2 /*return*/, result];
|
|
1093
|
+
}
|
|
1094
|
+
else {
|
|
1095
|
+
console.error(response.validationMessagesAsString);
|
|
1096
|
+
}
|
|
1097
|
+
return [2 /*return*/];
|
|
1098
|
+
}
|
|
1099
|
+
});
|
|
1100
|
+
});
|
|
1101
|
+
};
|
|
1102
|
+
CatalogConnectorAdapterService.prototype.getArticlesForStockTransferSearchGrid = function (params, showLoader) {
|
|
1103
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
1104
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1105
|
+
var response, result;
|
|
1106
|
+
return __generator(this, function (_a) {
|
|
1107
|
+
switch (_a.label) {
|
|
1108
|
+
case 0: return [4 /*yield*/, this.connector.searchTransferArticlesForGridView(params, showLoader)];
|
|
1109
|
+
case 1:
|
|
1110
|
+
response = _a.sent();
|
|
1111
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
1112
|
+
result = new ArticleStockTransferSearchGridResult();
|
|
1113
|
+
result.count = response.pagingParameters.resultCount;
|
|
1114
|
+
result.articles = this._boFactory.makeBOArrayFromRawBackendDataArray(ArticleStockTransferSearchGridSelection, response.resultObjects);
|
|
1115
|
+
return [2 /*return*/, result];
|
|
1116
|
+
}
|
|
1117
|
+
else {
|
|
1118
|
+
console.error(response.validationMessagesAsString);
|
|
1119
|
+
}
|
|
1120
|
+
return [2 /*return*/];
|
|
1121
|
+
}
|
|
1122
|
+
});
|
|
1123
|
+
});
|
|
1124
|
+
};
|
|
1125
|
+
CatalogConnectorAdapterService.prototype.getTransferArticleGridViewExcelFile = function (params, showLoader) {
|
|
1126
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
1127
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1128
|
+
var response;
|
|
1129
|
+
return __generator(this, function (_a) {
|
|
1130
|
+
switch (_a.label) {
|
|
1131
|
+
case 0: return [4 /*yield*/, this.connector.getTransferArticleGridViewExcelFile(params, showLoader)];
|
|
1132
|
+
case 1:
|
|
1133
|
+
response = _a.sent();
|
|
1134
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
1135
|
+
return [2 /*return*/, this._boFactory.makeBOArrayFromRawBackendDataArray([], response.resultObjects)];
|
|
1136
|
+
}
|
|
1137
|
+
else {
|
|
1138
|
+
console.error(response.validationMessagesAsString);
|
|
1139
|
+
}
|
|
1140
|
+
return [2 /*return*/];
|
|
1141
|
+
}
|
|
1142
|
+
});
|
|
1143
|
+
});
|
|
1144
|
+
};
|
|
1145
|
+
CatalogConnectorAdapterService.prototype.getArticlesForStockComparisonSearchTile = function (params, showLoader) {
|
|
1146
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
1147
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1148
|
+
var response, result;
|
|
1149
|
+
return __generator(this, function (_a) {
|
|
1150
|
+
switch (_a.label) {
|
|
1151
|
+
case 0: return [4 /*yield*/, this.connector.searchComparisonArticlesForTileView(params, showLoader)];
|
|
1152
|
+
case 1:
|
|
1153
|
+
response = _a.sent();
|
|
1154
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
1155
|
+
result = new ArticleStockComparisonSearchTileResult();
|
|
1156
|
+
result.count = response.pagingParameters.resultCount;
|
|
1157
|
+
result.articles = this._boFactory.makeBOArrayFromRawBackendDataArray(ArticleStockComparisonSearchTileSelection, response.resultObjects);
|
|
1158
|
+
return [2 /*return*/, result];
|
|
1159
|
+
}
|
|
1160
|
+
else {
|
|
1161
|
+
console.error(response.validationMessagesAsString);
|
|
1162
|
+
}
|
|
1163
|
+
return [2 /*return*/];
|
|
1164
|
+
}
|
|
1165
|
+
});
|
|
1166
|
+
});
|
|
1167
|
+
};
|
|
1168
|
+
CatalogConnectorAdapterService.prototype.getArticlesForStockComparisonSearchGrid = function (params, showLoader) {
|
|
1169
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
1170
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1171
|
+
var response, result;
|
|
1172
|
+
return __generator(this, function (_a) {
|
|
1173
|
+
switch (_a.label) {
|
|
1174
|
+
case 0: return [4 /*yield*/, this.connector.searchComparisonArticlesForGridView(params, showLoader)];
|
|
1175
|
+
case 1:
|
|
1176
|
+
response = _a.sent();
|
|
1177
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
1178
|
+
result = new ArticleStockComparisonSearchGridResult();
|
|
1179
|
+
result.count = response.pagingParameters.resultCount;
|
|
1180
|
+
result.articles = this._boFactory.makeBOArrayFromRawBackendDataArray(ArticleStockComparisonSearchGridSelection, response.resultObjects);
|
|
1181
|
+
return [2 /*return*/, result];
|
|
1182
|
+
}
|
|
1183
|
+
else {
|
|
1184
|
+
console.error(response.validationMessagesAsString);
|
|
1185
|
+
}
|
|
1186
|
+
return [2 /*return*/];
|
|
1187
|
+
}
|
|
1188
|
+
});
|
|
1189
|
+
});
|
|
1190
|
+
};
|
|
1191
|
+
CatalogConnectorAdapterService.prototype.getComparisonArticleGridViewExcelFile = function (params, showLoader) {
|
|
1192
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
1193
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1194
|
+
var response;
|
|
1195
|
+
return __generator(this, function (_a) {
|
|
1196
|
+
switch (_a.label) {
|
|
1197
|
+
case 0: return [4 /*yield*/, this.connector.getComparisonArticleGridViewExcelFile(params, showLoader)];
|
|
1198
|
+
case 1:
|
|
1199
|
+
response = _a.sent();
|
|
1200
|
+
if (response && response.validationResult && response.validationResult.success) {
|
|
1201
|
+
return [2 /*return*/, this._boFactory.makeBOArrayFromRawBackendDataArray([], response.resultObjects)];
|
|
1202
|
+
}
|
|
1203
|
+
else {
|
|
1204
|
+
console.error(response.validationMessagesAsString);
|
|
1205
|
+
}
|
|
1206
|
+
return [2 /*return*/];
|
|
1207
|
+
}
|
|
1208
|
+
});
|
|
1209
|
+
});
|
|
1210
|
+
};
|
|
831
1211
|
CatalogConnectorAdapterService.prototype.getCatalogDefinitions = function (showLoader) {
|
|
832
1212
|
if (showLoader === void 0) { showLoader = true; }
|
|
833
1213
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -2014,78 +2394,150 @@
|
|
|
2014
2394
|
});
|
|
2015
2395
|
});
|
|
2016
2396
|
};
|
|
2017
|
-
CatalogConnectorService.prototype.
|
|
2397
|
+
CatalogConnectorService.prototype.getArticlesForStockSearchTile = function (params, showLoader) {
|
|
2018
2398
|
if (showLoader === void 0) { showLoader = true; }
|
|
2019
2399
|
return __awaiter(this, void 0, void 0, function () {
|
|
2020
|
-
var _this = this;
|
|
2021
2400
|
return __generator(this, function (_a) {
|
|
2022
|
-
return [2 /*return*/, this.
|
|
2023
|
-
return _this._adapterService.getCatalogDefinitions(showLoader);
|
|
2024
|
-
}).getValue()];
|
|
2401
|
+
return [2 /*return*/, this._adapterService.getArticlesForStockSearchTile(params, showLoader)];
|
|
2025
2402
|
});
|
|
2026
2403
|
});
|
|
2027
2404
|
};
|
|
2028
|
-
CatalogConnectorService.prototype.
|
|
2405
|
+
CatalogConnectorService.prototype.getArticlesForStockSearchGrid = function (params, showLoader) {
|
|
2029
2406
|
if (showLoader === void 0) { showLoader = true; }
|
|
2030
2407
|
return __awaiter(this, void 0, void 0, function () {
|
|
2031
|
-
var _this = this;
|
|
2032
2408
|
return __generator(this, function (_a) {
|
|
2033
|
-
return [2 /*return*/, this.
|
|
2034
|
-
return _this._adapterService.getExternalSource(externalSourceId, showLoader);
|
|
2035
|
-
}).getValue()];
|
|
2409
|
+
return [2 /*return*/, this._adapterService.getArticlesForStockSearchGrid(params, showLoader)];
|
|
2036
2410
|
});
|
|
2037
2411
|
});
|
|
2038
2412
|
};
|
|
2039
|
-
CatalogConnectorService.prototype.
|
|
2413
|
+
CatalogConnectorService.prototype.getArticleGridViewExcelFile = function (params, showLoader) {
|
|
2414
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
2040
2415
|
return __awaiter(this, void 0, void 0, function () {
|
|
2041
2416
|
return __generator(this, function (_a) {
|
|
2042
|
-
return [2 /*return*/, this._adapterService.
|
|
2417
|
+
return [2 /*return*/, this._adapterService.getArticleGridViewExcelFile(params, showLoader)];
|
|
2043
2418
|
});
|
|
2044
2419
|
});
|
|
2045
2420
|
};
|
|
2046
|
-
CatalogConnectorService.prototype.
|
|
2421
|
+
CatalogConnectorService.prototype.getArticlesForStockTransferSearchTile = function (params, showLoader) {
|
|
2422
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
2047
2423
|
return __awaiter(this, void 0, void 0, function () {
|
|
2048
2424
|
return __generator(this, function (_a) {
|
|
2049
|
-
return [2 /*return*/, this._adapterService.
|
|
2425
|
+
return [2 /*return*/, this._adapterService.getArticlesForStockTransferSearchTile(params, showLoader)];
|
|
2050
2426
|
});
|
|
2051
2427
|
});
|
|
2052
2428
|
};
|
|
2053
|
-
CatalogConnectorService.prototype.
|
|
2429
|
+
CatalogConnectorService.prototype.getArticlesForStockTransferSearchGrid = function (params, showLoader) {
|
|
2430
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
2054
2431
|
return __awaiter(this, void 0, void 0, function () {
|
|
2055
2432
|
return __generator(this, function (_a) {
|
|
2056
|
-
return [2 /*return*/, this._adapterService.
|
|
2433
|
+
return [2 /*return*/, this._adapterService.getArticlesForStockTransferSearchGrid(params, showLoader)];
|
|
2057
2434
|
});
|
|
2058
2435
|
});
|
|
2059
2436
|
};
|
|
2060
|
-
CatalogConnectorService.prototype.
|
|
2437
|
+
CatalogConnectorService.prototype.getTransferArticleGridViewExcelFile = function (params, showLoader) {
|
|
2438
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
2061
2439
|
return __awaiter(this, void 0, void 0, function () {
|
|
2062
2440
|
return __generator(this, function (_a) {
|
|
2063
|
-
return [2 /*return*/, this._adapterService.
|
|
2441
|
+
return [2 /*return*/, this._adapterService.getTransferArticleGridViewExcelFile(params, showLoader)];
|
|
2064
2442
|
});
|
|
2065
2443
|
});
|
|
2066
2444
|
};
|
|
2067
|
-
CatalogConnectorService.prototype.
|
|
2445
|
+
CatalogConnectorService.prototype.getArticlesForStockComparisonSearchTile = function (params, showLoader) {
|
|
2446
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
2068
2447
|
return __awaiter(this, void 0, void 0, function () {
|
|
2069
2448
|
return __generator(this, function (_a) {
|
|
2070
|
-
return [2 /*return*/, this._adapterService.
|
|
2449
|
+
return [2 /*return*/, this._adapterService.getArticlesForStockComparisonSearchTile(params, showLoader)];
|
|
2071
2450
|
});
|
|
2072
2451
|
});
|
|
2073
2452
|
};
|
|
2074
|
-
CatalogConnectorService.prototype.
|
|
2453
|
+
CatalogConnectorService.prototype.getArticlesForStockComparisonSearchGrid = function (params, showLoader) {
|
|
2454
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
2075
2455
|
return __awaiter(this, void 0, void 0, function () {
|
|
2076
2456
|
return __generator(this, function (_a) {
|
|
2077
|
-
return [2 /*return*/, this._adapterService.
|
|
2457
|
+
return [2 /*return*/, this._adapterService.getArticlesForStockComparisonSearchGrid(params, showLoader)];
|
|
2078
2458
|
});
|
|
2079
2459
|
});
|
|
2080
2460
|
};
|
|
2081
|
-
CatalogConnectorService.prototype.
|
|
2461
|
+
CatalogConnectorService.prototype.getComparisonArticleGridViewExcelFile = function (params, showLoader) {
|
|
2462
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
2082
2463
|
return __awaiter(this, void 0, void 0, function () {
|
|
2083
2464
|
return __generator(this, function (_a) {
|
|
2084
|
-
return [2 /*return*/, this._adapterService.
|
|
2465
|
+
return [2 /*return*/, this._adapterService.getComparisonArticleGridViewExcelFile(params, showLoader)];
|
|
2085
2466
|
});
|
|
2086
2467
|
});
|
|
2087
2468
|
};
|
|
2088
|
-
CatalogConnectorService.prototype.
|
|
2469
|
+
CatalogConnectorService.prototype.getCatalogDefinitions = function (showLoader) {
|
|
2470
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
2471
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2472
|
+
var _this = this;
|
|
2473
|
+
return __generator(this, function (_a) {
|
|
2474
|
+
return [2 /*return*/, this._selectMultipleCacheService.requestCache(catalogDefinition_bo.CatalogDefinition, function () {
|
|
2475
|
+
return _this._adapterService.getCatalogDefinitions(showLoader);
|
|
2476
|
+
}).getValue()];
|
|
2477
|
+
});
|
|
2478
|
+
});
|
|
2479
|
+
};
|
|
2480
|
+
CatalogConnectorService.prototype.getExternalSource = function (externalSourceId, showLoader) {
|
|
2481
|
+
if (showLoader === void 0) { showLoader = true; }
|
|
2482
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2483
|
+
var _this = this;
|
|
2484
|
+
return __generator(this, function (_a) {
|
|
2485
|
+
return [2 /*return*/, this._selectSingleCacheService.requestCache(externalSource_bo.ExternalSource, externalSourceId, function () {
|
|
2486
|
+
return _this._adapterService.getExternalSource(externalSourceId, showLoader);
|
|
2487
|
+
}).getValue()];
|
|
2488
|
+
});
|
|
2489
|
+
});
|
|
2490
|
+
};
|
|
2491
|
+
CatalogConnectorService.prototype.getCatalogFilter = function (params) {
|
|
2492
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2493
|
+
return __generator(this, function (_a) {
|
|
2494
|
+
return [2 /*return*/, this._adapterService.getCatalogFilter(params)];
|
|
2495
|
+
});
|
|
2496
|
+
});
|
|
2497
|
+
};
|
|
2498
|
+
CatalogConnectorService.prototype.getPriceFilter = function (params) {
|
|
2499
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2500
|
+
return __generator(this, function (_a) {
|
|
2501
|
+
return [2 /*return*/, this._adapterService.getPriceFilter(params)];
|
|
2502
|
+
});
|
|
2503
|
+
});
|
|
2504
|
+
};
|
|
2505
|
+
CatalogConnectorService.prototype.getArticleGroupsFilter = function (params) {
|
|
2506
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2507
|
+
return __generator(this, function (_a) {
|
|
2508
|
+
return [2 /*return*/, this._adapterService.getArticleGroupsFilter(params)];
|
|
2509
|
+
});
|
|
2510
|
+
});
|
|
2511
|
+
};
|
|
2512
|
+
CatalogConnectorService.prototype.getAtmosphereFilter = function (params) {
|
|
2513
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2514
|
+
return __generator(this, function (_a) {
|
|
2515
|
+
return [2 /*return*/, this._adapterService.getAtmosphereFilter(params)];
|
|
2516
|
+
});
|
|
2517
|
+
});
|
|
2518
|
+
};
|
|
2519
|
+
CatalogConnectorService.prototype.getColorFilter = function (params) {
|
|
2520
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2521
|
+
return __generator(this, function (_a) {
|
|
2522
|
+
return [2 /*return*/, this._adapterService.getColorFilter(params)];
|
|
2523
|
+
});
|
|
2524
|
+
});
|
|
2525
|
+
};
|
|
2526
|
+
CatalogConnectorService.prototype.getConceptFilter = function (params) {
|
|
2527
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2528
|
+
return __generator(this, function (_a) {
|
|
2529
|
+
return [2 /*return*/, this._adapterService.getConceptFilter(params)];
|
|
2530
|
+
});
|
|
2531
|
+
});
|
|
2532
|
+
};
|
|
2533
|
+
CatalogConnectorService.prototype.getDesignFilter = function (params) {
|
|
2534
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2535
|
+
return __generator(this, function (_a) {
|
|
2536
|
+
return [2 /*return*/, this._adapterService.getDesignFilter(params)];
|
|
2537
|
+
});
|
|
2538
|
+
});
|
|
2539
|
+
};
|
|
2540
|
+
CatalogConnectorService.prototype.getMainArticleFilter = function (params) {
|
|
2089
2541
|
return __awaiter(this, void 0, void 0, function () {
|
|
2090
2542
|
return __generator(this, function (_a) {
|
|
2091
2543
|
return [2 /*return*/, this._adapterService.getMainArticleFilter(params)];
|
|
@@ -4256,6 +4708,194 @@
|
|
|
4256
4708
|
},] }
|
|
4257
4709
|
];
|
|
4258
4710
|
|
|
4711
|
+
var CatalogStockService = /** @class */ (function () {
|
|
4712
|
+
function CatalogStockService(_filterService, _catalogConnectorService, _settingsService, _optionService) {
|
|
4713
|
+
var _this = this;
|
|
4714
|
+
this._filterService = _filterService;
|
|
4715
|
+
this._catalogConnectorService = _catalogConnectorService;
|
|
4716
|
+
this._settingsService = _settingsService;
|
|
4717
|
+
this._optionService = _optionService;
|
|
4718
|
+
this.searchRequest = new articleExtendedRequest.ArticleExtendedRequest();
|
|
4719
|
+
this.stockSearchRequest = new articleStockSearchRequest.ArticleStockSearchRequest();
|
|
4720
|
+
this.articlesPerPage = 20;
|
|
4721
|
+
this.tileArticles = [];
|
|
4722
|
+
this.gridArticles = [];
|
|
4723
|
+
this._currentPage = 1;
|
|
4724
|
+
this._subs = [];
|
|
4725
|
+
this._subs.push(this._optionService.parametersSet.subscribe(function (isSet) {
|
|
4726
|
+
if (isSet) {
|
|
4727
|
+
if (_this._settingsService.settings.catalogParameters) {
|
|
4728
|
+
_this.searchRequest = _this._settingsService.settings.catalogParameters;
|
|
4729
|
+
}
|
|
4730
|
+
}
|
|
4731
|
+
}));
|
|
4732
|
+
}
|
|
4733
|
+
Object.defineProperty(CatalogStockService.prototype, "currentPage", {
|
|
4734
|
+
get: function () {
|
|
4735
|
+
return this._currentPage;
|
|
4736
|
+
},
|
|
4737
|
+
set: function (value) {
|
|
4738
|
+
this._currentPage = value;
|
|
4739
|
+
this.searchArticlesForTileView(false);
|
|
4740
|
+
},
|
|
4741
|
+
enumerable: false,
|
|
4742
|
+
configurable: true
|
|
4743
|
+
});
|
|
4744
|
+
CatalogStockService.prototype.ngOnDestroy = function () {
|
|
4745
|
+
this._subs.forEach(function (s) { return s.unsubscribe(); });
|
|
4746
|
+
};
|
|
4747
|
+
CatalogStockService.prototype.searchArticlesForTileView = function (resetPaging, resetRequestParameters) {
|
|
4748
|
+
var _this = this;
|
|
4749
|
+
if (resetPaging === void 0) { resetPaging = true; }
|
|
4750
|
+
if (resetRequestParameters === void 0) { resetRequestParameters = false; }
|
|
4751
|
+
var lowerBound;
|
|
4752
|
+
if (!resetPaging) {
|
|
4753
|
+
lowerBound = ((this.currentPage - 1) * this.articlesPerPage) + 1;
|
|
4754
|
+
}
|
|
4755
|
+
else {
|
|
4756
|
+
this._currentPage = 1;
|
|
4757
|
+
lowerBound = 1;
|
|
4758
|
+
}
|
|
4759
|
+
this.searchRequest.paging = new pagingParameters.PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
|
|
4760
|
+
this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeWarehouse: '', rangeStockStatus: '' });
|
|
4761
|
+
this._catalogConnectorService.getArticlesForStockSearchTile(this.stockSearchRequest).then(function (result) {
|
|
4762
|
+
_this.tileArticles = result && result.articles ? result.articles : [];
|
|
4763
|
+
_this.resultCount = result && result.count ? result.count : 0;
|
|
4764
|
+
_this._filterService.getFilters(_this.searchRequest);
|
|
4765
|
+
});
|
|
4766
|
+
};
|
|
4767
|
+
CatalogStockService.prototype.searchArticlesForGridView = function (resetPaging, resetRequestParameters) {
|
|
4768
|
+
var _this = this;
|
|
4769
|
+
if (resetPaging === void 0) { resetPaging = true; }
|
|
4770
|
+
if (resetRequestParameters === void 0) { resetRequestParameters = false; }
|
|
4771
|
+
var lowerBound;
|
|
4772
|
+
if (!resetPaging) {
|
|
4773
|
+
lowerBound = ((this.currentPage - 1) * this.articlesPerPage) + 1;
|
|
4774
|
+
}
|
|
4775
|
+
else {
|
|
4776
|
+
this._currentPage = 1;
|
|
4777
|
+
lowerBound = 1;
|
|
4778
|
+
}
|
|
4779
|
+
this.searchRequest.paging = new pagingParameters.PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
|
|
4780
|
+
this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeWarehouse: '', rangeStockStatus: '' });
|
|
4781
|
+
this._catalogConnectorService.getArticlesForStockSearchGrid(this.stockSearchRequest).then(function (result) {
|
|
4782
|
+
_this.gridArticles = result && result.articles ? result.articles : [];
|
|
4783
|
+
_this.resultCount = result && result.count ? result.count : 0;
|
|
4784
|
+
_this._filterService.getFilters(_this.searchRequest);
|
|
4785
|
+
});
|
|
4786
|
+
};
|
|
4787
|
+
CatalogStockService.prototype.getArticleGridViewExcelFile = function () {
|
|
4788
|
+
this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeWarehouse: '', rangeStockStatus: '' });
|
|
4789
|
+
this._catalogConnectorService.getArticleGridViewExcelFile(this.stockSearchRequest).then(function (result) {
|
|
4790
|
+
console.log('export: ', result);
|
|
4791
|
+
});
|
|
4792
|
+
};
|
|
4793
|
+
return CatalogStockService;
|
|
4794
|
+
}());
|
|
4795
|
+
CatalogStockService.decorators = [
|
|
4796
|
+
{ type: i0.Injectable }
|
|
4797
|
+
];
|
|
4798
|
+
CatalogStockService.ctorParameters = function () { return [
|
|
4799
|
+
{ type: CatalogFilterService },
|
|
4800
|
+
{ type: CatalogConnectorService },
|
|
4801
|
+
{ type: CatalogSettingsService },
|
|
4802
|
+
{ type: CatalogOptionsService }
|
|
4803
|
+
]; };
|
|
4804
|
+
|
|
4805
|
+
var CatalogStockTransferService = /** @class */ (function () {
|
|
4806
|
+
function CatalogStockTransferService(_filterService, _catalogConnectorService, _settingsService, _optionService) {
|
|
4807
|
+
var _this = this;
|
|
4808
|
+
this._filterService = _filterService;
|
|
4809
|
+
this._catalogConnectorService = _catalogConnectorService;
|
|
4810
|
+
this._settingsService = _settingsService;
|
|
4811
|
+
this._optionService = _optionService;
|
|
4812
|
+
this.searchRequest = new articleExtendedRequest.ArticleExtendedRequest();
|
|
4813
|
+
this.stockSearchRequest = new articleStockTransferSearchRequest.ArticleStockTransferSearchRequest();
|
|
4814
|
+
this.articlesPerPage = 20;
|
|
4815
|
+
this.transferTileArticles = [];
|
|
4816
|
+
this.transferGridArticles = [];
|
|
4817
|
+
this._currentPage = 1;
|
|
4818
|
+
this._subs = [];
|
|
4819
|
+
this._subs.push(this._optionService.parametersSet.subscribe(function (isSet) {
|
|
4820
|
+
if (isSet) {
|
|
4821
|
+
if (_this._settingsService.settings.catalogParameters) {
|
|
4822
|
+
_this.searchRequest = _this._settingsService.settings.catalogParameters;
|
|
4823
|
+
}
|
|
4824
|
+
}
|
|
4825
|
+
}));
|
|
4826
|
+
}
|
|
4827
|
+
Object.defineProperty(CatalogStockTransferService.prototype, "currentPage", {
|
|
4828
|
+
get: function () {
|
|
4829
|
+
return this._currentPage;
|
|
4830
|
+
},
|
|
4831
|
+
set: function (value) {
|
|
4832
|
+
this._currentPage = value;
|
|
4833
|
+
this.searchArticlesForTileView(false);
|
|
4834
|
+
},
|
|
4835
|
+
enumerable: false,
|
|
4836
|
+
configurable: true
|
|
4837
|
+
});
|
|
4838
|
+
CatalogStockTransferService.prototype.ngOnDestroy = function () {
|
|
4839
|
+
this._subs.forEach(function (s) { return s.unsubscribe(); });
|
|
4840
|
+
};
|
|
4841
|
+
CatalogStockTransferService.prototype.searchArticlesForTileView = function (resetPaging, resetRequestParameters) {
|
|
4842
|
+
var _this = this;
|
|
4843
|
+
if (resetPaging === void 0) { resetPaging = true; }
|
|
4844
|
+
if (resetRequestParameters === void 0) { resetRequestParameters = false; }
|
|
4845
|
+
var lowerBound;
|
|
4846
|
+
if (!resetPaging) {
|
|
4847
|
+
lowerBound = ((this.currentPage - 1) * this.articlesPerPage) + 1;
|
|
4848
|
+
}
|
|
4849
|
+
else {
|
|
4850
|
+
this._currentPage = 1;
|
|
4851
|
+
lowerBound = 1;
|
|
4852
|
+
}
|
|
4853
|
+
this.searchRequest.paging = new pagingParameters.PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
|
|
4854
|
+
this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeStockStatus: '', rangeSourceWarehouse: '', rangeTargetWarehouse: '' });
|
|
4855
|
+
this._catalogConnectorService.getArticlesForStockTransferSearchTile(this.stockSearchRequest).then(function (result) {
|
|
4856
|
+
_this.transferTileArticles = result && result.articles ? result.articles : [];
|
|
4857
|
+
_this.resultCount = result && result.count ? result.count : 0;
|
|
4858
|
+
_this._filterService.getFilters(_this.searchRequest);
|
|
4859
|
+
});
|
|
4860
|
+
};
|
|
4861
|
+
CatalogStockTransferService.prototype.searchArticlesForGridView = function (resetPaging, resetRequestParameters) {
|
|
4862
|
+
var _this = this;
|
|
4863
|
+
if (resetPaging === void 0) { resetPaging = true; }
|
|
4864
|
+
if (resetRequestParameters === void 0) { resetRequestParameters = false; }
|
|
4865
|
+
var lowerBound;
|
|
4866
|
+
if (!resetPaging) {
|
|
4867
|
+
lowerBound = ((this.currentPage - 1) * this.articlesPerPage) + 1;
|
|
4868
|
+
}
|
|
4869
|
+
else {
|
|
4870
|
+
this._currentPage = 1;
|
|
4871
|
+
lowerBound = 1;
|
|
4872
|
+
}
|
|
4873
|
+
this.searchRequest.paging = new pagingParameters.PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
|
|
4874
|
+
this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeStockStatus: '', rangeSourceWarehouse: '', rangeTargetWarehouse: '' });
|
|
4875
|
+
this._catalogConnectorService.getArticlesForStockTransferSearchGrid(this.stockSearchRequest).then(function (result) {
|
|
4876
|
+
_this.transferGridArticles = result && result.articles ? result.articles : [];
|
|
4877
|
+
_this.resultCount = result && result.count ? result.count : 0;
|
|
4878
|
+
_this._filterService.getFilters(_this.searchRequest);
|
|
4879
|
+
});
|
|
4880
|
+
};
|
|
4881
|
+
CatalogStockTransferService.prototype.getArticleGridViewExcelFile = function () {
|
|
4882
|
+
this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { rangeStockMutationDate: '', rangeStockStatus: '', rangeSourceWarehouse: '', rangeTargetWarehouse: '' });
|
|
4883
|
+
this._catalogConnectorService.getTransferArticleGridViewExcelFile(this.stockSearchRequest).then(function (result) {
|
|
4884
|
+
console.log('export: ', result);
|
|
4885
|
+
});
|
|
4886
|
+
};
|
|
4887
|
+
return CatalogStockTransferService;
|
|
4888
|
+
}());
|
|
4889
|
+
CatalogStockTransferService.decorators = [
|
|
4890
|
+
{ type: i0.Injectable }
|
|
4891
|
+
];
|
|
4892
|
+
CatalogStockTransferService.ctorParameters = function () { return [
|
|
4893
|
+
{ type: CatalogFilterService },
|
|
4894
|
+
{ type: CatalogConnectorService },
|
|
4895
|
+
{ type: CatalogSettingsService },
|
|
4896
|
+
{ type: CatalogOptionsService }
|
|
4897
|
+
]; };
|
|
4898
|
+
|
|
4259
4899
|
var CatalogNavigationService = /** @class */ (function () {
|
|
4260
4900
|
function CatalogNavigationService(_catalog, _iOne, _optionsService, _imageService) {
|
|
4261
4901
|
this._catalog = _catalog;
|
|
@@ -4327,6 +4967,100 @@
|
|
|
4327
4967
|
{ type: CatalogImageService }
|
|
4328
4968
|
]; };
|
|
4329
4969
|
|
|
4970
|
+
var CatalogStockComparisonService = /** @class */ (function () {
|
|
4971
|
+
function CatalogStockComparisonService(_filterService, _catalogConnectorService, _settingsService, _optionService) {
|
|
4972
|
+
var _this = this;
|
|
4973
|
+
this._filterService = _filterService;
|
|
4974
|
+
this._catalogConnectorService = _catalogConnectorService;
|
|
4975
|
+
this._settingsService = _settingsService;
|
|
4976
|
+
this._optionService = _optionService;
|
|
4977
|
+
this.searchRequest = new articleExtendedRequest.ArticleExtendedRequest();
|
|
4978
|
+
this.stockSearchRequest = new articleStockComparisonSearchRequest.ArticleStockComparisonSearchRequest();
|
|
4979
|
+
this.articlesPerPage = 20;
|
|
4980
|
+
this.comparisonTileArticles = [];
|
|
4981
|
+
this.comparisonGridArticles = [];
|
|
4982
|
+
this._currentPage = 1;
|
|
4983
|
+
this._subs = [];
|
|
4984
|
+
this._subs.push(this._optionService.parametersSet.subscribe(function (isSet) {
|
|
4985
|
+
if (isSet) {
|
|
4986
|
+
if (_this._settingsService.settings.catalogParameters) {
|
|
4987
|
+
_this.searchRequest = _this._settingsService.settings.catalogParameters;
|
|
4988
|
+
}
|
|
4989
|
+
}
|
|
4990
|
+
}));
|
|
4991
|
+
}
|
|
4992
|
+
Object.defineProperty(CatalogStockComparisonService.prototype, "currentPage", {
|
|
4993
|
+
get: function () {
|
|
4994
|
+
return this._currentPage;
|
|
4995
|
+
},
|
|
4996
|
+
set: function (value) {
|
|
4997
|
+
this._currentPage = value;
|
|
4998
|
+
this.searchArticlesForTileView(false);
|
|
4999
|
+
},
|
|
5000
|
+
enumerable: false,
|
|
5001
|
+
configurable: true
|
|
5002
|
+
});
|
|
5003
|
+
CatalogStockComparisonService.prototype.ngOnDestroy = function () {
|
|
5004
|
+
this._subs.forEach(function (s) { return s.unsubscribe(); });
|
|
5005
|
+
};
|
|
5006
|
+
CatalogStockComparisonService.prototype.searchArticlesForTileView = function (resetPaging, resetRequestParameters) {
|
|
5007
|
+
var _this = this;
|
|
5008
|
+
if (resetPaging === void 0) { resetPaging = true; }
|
|
5009
|
+
if (resetRequestParameters === void 0) { resetRequestParameters = false; }
|
|
5010
|
+
var lowerBound;
|
|
5011
|
+
if (!resetPaging) {
|
|
5012
|
+
lowerBound = ((this.currentPage - 1) * this.articlesPerPage) + 1;
|
|
5013
|
+
}
|
|
5014
|
+
else {
|
|
5015
|
+
this._currentPage = 1;
|
|
5016
|
+
lowerBound = 1;
|
|
5017
|
+
}
|
|
5018
|
+
this.searchRequest.paging = new pagingParameters.PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
|
|
5019
|
+
this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 0 });
|
|
5020
|
+
this._catalogConnectorService.getArticlesForStockComparisonSearchTile(this.stockSearchRequest).then(function (result) {
|
|
5021
|
+
_this.comparisonTileArticles = result && result.articles ? result.articles : [];
|
|
5022
|
+
_this.resultCount = result && result.count ? result.count : 0;
|
|
5023
|
+
_this._filterService.getFilters(_this.searchRequest);
|
|
5024
|
+
});
|
|
5025
|
+
};
|
|
5026
|
+
CatalogStockComparisonService.prototype.searchArticlesForGridView = function (resetPaging, resetRequestParameters) {
|
|
5027
|
+
var _this = this;
|
|
5028
|
+
if (resetPaging === void 0) { resetPaging = true; }
|
|
5029
|
+
if (resetRequestParameters === void 0) { resetRequestParameters = false; }
|
|
5030
|
+
var lowerBound;
|
|
5031
|
+
if (!resetPaging) {
|
|
5032
|
+
lowerBound = ((this.currentPage - 1) * this.articlesPerPage) + 1;
|
|
5033
|
+
}
|
|
5034
|
+
else {
|
|
5035
|
+
this._currentPage = 1;
|
|
5036
|
+
lowerBound = 1;
|
|
5037
|
+
}
|
|
5038
|
+
this.searchRequest.paging = new pagingParameters.PagingParameters(lowerBound, lowerBound + this.articlesPerPage - 1, this.articlesPerPage);
|
|
5039
|
+
this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 0 });
|
|
5040
|
+
this._catalogConnectorService.getArticlesForStockComparisonSearchGrid(this.stockSearchRequest).then(function (result) {
|
|
5041
|
+
_this.comparisonGridArticles = result && result.articles ? result.articles : [];
|
|
5042
|
+
_this.resultCount = result && result.count ? result.count : 0;
|
|
5043
|
+
_this._filterService.getFilters(_this.searchRequest);
|
|
5044
|
+
});
|
|
5045
|
+
};
|
|
5046
|
+
CatalogStockComparisonService.prototype.getArticleGridViewExcelFile = function () {
|
|
5047
|
+
this.stockSearchRequest = Object.assign(Object.assign({}, this.searchRequest), { sourceWarehouse: 0, targetWarehouse: 0 });
|
|
5048
|
+
this._catalogConnectorService.getComparisonArticleGridViewExcelFile(this.stockSearchRequest).then(function (result) {
|
|
5049
|
+
console.log('export: ', result);
|
|
5050
|
+
});
|
|
5051
|
+
};
|
|
5052
|
+
return CatalogStockComparisonService;
|
|
5053
|
+
}());
|
|
5054
|
+
CatalogStockComparisonService.decorators = [
|
|
5055
|
+
{ type: i0.Injectable }
|
|
5056
|
+
];
|
|
5057
|
+
CatalogStockComparisonService.ctorParameters = function () { return [
|
|
5058
|
+
{ type: CatalogFilterService },
|
|
5059
|
+
{ type: CatalogConnectorService },
|
|
5060
|
+
{ type: CatalogSettingsService },
|
|
5061
|
+
{ type: CatalogOptionsService }
|
|
5062
|
+
]; };
|
|
5063
|
+
|
|
4330
5064
|
var CatalogSearchComponent = /** @class */ (function () {
|
|
4331
5065
|
function CatalogSearchComponent(_settingsService, _catalogService, _catalogSearchService, _catalogEventService, iconCacheService) {
|
|
4332
5066
|
this._settingsService = _settingsService;
|
|
@@ -4428,7 +5162,10 @@
|
|
|
4428
5162
|
CatalogConnectorAdapterService,
|
|
4429
5163
|
CatalogService,
|
|
4430
5164
|
CatalogSettingsService,
|
|
4431
|
-
CatalogSearchService
|
|
5165
|
+
CatalogSearchService,
|
|
5166
|
+
CatalogStockService,
|
|
5167
|
+
CatalogStockComparisonService,
|
|
5168
|
+
CatalogStockTransferService
|
|
4432
5169
|
],
|
|
4433
5170
|
encapsulation: i0.ViewEncapsulation.None,
|
|
4434
5171
|
animations: [
|
|
@@ -5111,6 +5848,360 @@
|
|
|
5111
5848
|
},] }
|
|
5112
5849
|
];
|
|
5113
5850
|
|
|
5851
|
+
var CatalogStockOverviewTileComponent = /** @class */ (function () {
|
|
5852
|
+
function CatalogStockOverviewTileComponent(iconCache, catalogStockService) {
|
|
5853
|
+
this.iconCache = iconCache;
|
|
5854
|
+
this.catalogStockService = catalogStockService;
|
|
5855
|
+
this.showClass = true;
|
|
5856
|
+
this.icons = IconEnum;
|
|
5857
|
+
this.valutaSymbol = '€';
|
|
5858
|
+
}
|
|
5859
|
+
CatalogStockOverviewTileComponent.prototype.ngOnInit = function () {
|
|
5860
|
+
this.catalogStockService.searchArticlesForTileView();
|
|
5861
|
+
};
|
|
5862
|
+
CatalogStockOverviewTileComponent.prototype.onPreviousClick = function () {
|
|
5863
|
+
this.catalogStockService.currentPage -= 1;
|
|
5864
|
+
};
|
|
5865
|
+
CatalogStockOverviewTileComponent.prototype.onNextClick = function () {
|
|
5866
|
+
this.catalogStockService.currentPage += 1;
|
|
5867
|
+
};
|
|
5868
|
+
CatalogStockOverviewTileComponent.prototype.onPageClick = function (pageNr) {
|
|
5869
|
+
this.catalogStockService.currentPage = pageNr;
|
|
5870
|
+
};
|
|
5871
|
+
return CatalogStockOverviewTileComponent;
|
|
5872
|
+
}());
|
|
5873
|
+
CatalogStockOverviewTileComponent.decorators = [
|
|
5874
|
+
{ type: i0.Component, args: [{
|
|
5875
|
+
selector: 'co-catalog-stock-overview-tile',
|
|
5876
|
+
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.buyerDescription\"></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=\"article-info\">\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 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 ",
|
|
5877
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
5878
|
+
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"]
|
|
5879
|
+
},] }
|
|
5880
|
+
];
|
|
5881
|
+
CatalogStockOverviewTileComponent.ctorParameters = function () { return [
|
|
5882
|
+
{ type: IconCacheService },
|
|
5883
|
+
{ type: CatalogStockService }
|
|
5884
|
+
]; };
|
|
5885
|
+
CatalogStockOverviewTileComponent.propDecorators = {
|
|
5886
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-stock-overview-tile',] }]
|
|
5887
|
+
};
|
|
5888
|
+
|
|
5889
|
+
var CatalogStockOverviewTileModule = /** @class */ (function () {
|
|
5890
|
+
function CatalogStockOverviewTileModule() {
|
|
5891
|
+
}
|
|
5892
|
+
return CatalogStockOverviewTileModule;
|
|
5893
|
+
}());
|
|
5894
|
+
CatalogStockOverviewTileModule.decorators = [
|
|
5895
|
+
{ type: i0.NgModule, args: [{
|
|
5896
|
+
imports: [
|
|
5897
|
+
common.CommonModule,
|
|
5898
|
+
PipeModule,
|
|
5899
|
+
corecomponents_v12.IconModule,
|
|
5900
|
+
corecomponents_v12.ImageModule,
|
|
5901
|
+
corecomponents.PriceDisplayPipeModule,
|
|
5902
|
+
corecomponents_v12.PaginationBarModule,
|
|
5903
|
+
],
|
|
5904
|
+
declarations: [
|
|
5905
|
+
CatalogStockOverviewTileComponent
|
|
5906
|
+
],
|
|
5907
|
+
exports: [
|
|
5908
|
+
CatalogStockOverviewTileComponent
|
|
5909
|
+
]
|
|
5910
|
+
},] }
|
|
5911
|
+
];
|
|
5912
|
+
|
|
5913
|
+
var CatalogStockOverviewListComponent = /** @class */ (function () {
|
|
5914
|
+
function CatalogStockOverviewListComponent(catalogStockService) {
|
|
5915
|
+
this.catalogStockService = catalogStockService;
|
|
5916
|
+
this.showClass = true;
|
|
5917
|
+
}
|
|
5918
|
+
CatalogStockOverviewListComponent.prototype.ngOnInit = function () {
|
|
5919
|
+
this.catalogStockService.searchArticlesForGridView();
|
|
5920
|
+
};
|
|
5921
|
+
CatalogStockOverviewListComponent.prototype.onPreviousClick = function () {
|
|
5922
|
+
this.catalogStockService.currentPage -= 1;
|
|
5923
|
+
};
|
|
5924
|
+
CatalogStockOverviewListComponent.prototype.onNextClick = function () {
|
|
5925
|
+
this.catalogStockService.currentPage += 1;
|
|
5926
|
+
};
|
|
5927
|
+
CatalogStockOverviewListComponent.prototype.onPageClick = function (pageNr) {
|
|
5928
|
+
this.catalogStockService.currentPage = pageNr;
|
|
5929
|
+
};
|
|
5930
|
+
return CatalogStockOverviewListComponent;
|
|
5931
|
+
}());
|
|
5932
|
+
CatalogStockOverviewListComponent.decorators = [
|
|
5933
|
+
{ type: i0.Component, args: [{
|
|
5934
|
+
selector: 'co-catalog-stock-overview-list',
|
|
5935
|
+
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]=\"'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]=\"'warehouseDescription'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'LOCATION' | localize\"\n [field]=\"'stockLocationDescription'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'STOCK' | localize\"\n [field]=\"'amount'\">\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 ",
|
|
5936
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
5937
|
+
styles: [""]
|
|
5938
|
+
},] }
|
|
5939
|
+
];
|
|
5940
|
+
CatalogStockOverviewListComponent.ctorParameters = function () { return [
|
|
5941
|
+
{ type: CatalogStockService }
|
|
5942
|
+
]; };
|
|
5943
|
+
CatalogStockOverviewListComponent.propDecorators = {
|
|
5944
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-stock-overview-list',] }]
|
|
5945
|
+
};
|
|
5946
|
+
|
|
5947
|
+
var CatalogStockOverviewListModule = /** @class */ (function () {
|
|
5948
|
+
function CatalogStockOverviewListModule() {
|
|
5949
|
+
}
|
|
5950
|
+
return CatalogStockOverviewListModule;
|
|
5951
|
+
}());
|
|
5952
|
+
CatalogStockOverviewListModule.decorators = [
|
|
5953
|
+
{ type: i0.NgModule, args: [{
|
|
5954
|
+
imports: [
|
|
5955
|
+
common.CommonModule,
|
|
5956
|
+
PipeModule,
|
|
5957
|
+
corecomponents_v12.SimpleGridModule,
|
|
5958
|
+
corecomponents_v12.PaginationBarModule
|
|
5959
|
+
],
|
|
5960
|
+
declarations: [
|
|
5961
|
+
CatalogStockOverviewListComponent
|
|
5962
|
+
],
|
|
5963
|
+
exports: [
|
|
5964
|
+
CatalogStockOverviewListComponent
|
|
5965
|
+
]
|
|
5966
|
+
},] }
|
|
5967
|
+
];
|
|
5968
|
+
|
|
5969
|
+
var CatalogStockComparisonTileComponent = /** @class */ (function () {
|
|
5970
|
+
function CatalogStockComparisonTileComponent(iconCache, catalogStockComparisonService) {
|
|
5971
|
+
this.iconCache = iconCache;
|
|
5972
|
+
this.catalogStockComparisonService = catalogStockComparisonService;
|
|
5973
|
+
this.showClass = true;
|
|
5974
|
+
this.icons = IconEnum;
|
|
5975
|
+
this.valutaSymbol = '€';
|
|
5976
|
+
}
|
|
5977
|
+
CatalogStockComparisonTileComponent.prototype.ngOnInit = function () {
|
|
5978
|
+
this.catalogStockComparisonService.searchArticlesForTileView();
|
|
5979
|
+
};
|
|
5980
|
+
CatalogStockComparisonTileComponent.prototype.onPreviousClick = function () {
|
|
5981
|
+
this.catalogStockComparisonService.currentPage -= 1;
|
|
5982
|
+
};
|
|
5983
|
+
CatalogStockComparisonTileComponent.prototype.onNextClick = function () {
|
|
5984
|
+
this.catalogStockComparisonService.currentPage += 1;
|
|
5985
|
+
};
|
|
5986
|
+
CatalogStockComparisonTileComponent.prototype.onPageClick = function (pageNr) {
|
|
5987
|
+
this.catalogStockComparisonService.currentPage = pageNr;
|
|
5988
|
+
};
|
|
5989
|
+
return CatalogStockComparisonTileComponent;
|
|
5990
|
+
}());
|
|
5991
|
+
CatalogStockComparisonTileComponent.decorators = [
|
|
5992
|
+
{ type: i0.Component, args: [{
|
|
5993
|
+
selector: 'co-catalog-stock-comparison-tile',
|
|
5994
|
+
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 ",
|
|
5995
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
5996
|
+
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"]
|
|
5997
|
+
},] }
|
|
5998
|
+
];
|
|
5999
|
+
CatalogStockComparisonTileComponent.ctorParameters = function () { return [
|
|
6000
|
+
{ type: IconCacheService },
|
|
6001
|
+
{ type: CatalogStockComparisonService }
|
|
6002
|
+
]; };
|
|
6003
|
+
CatalogStockComparisonTileComponent.propDecorators = {
|
|
6004
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-stock-comparison-tile',] }]
|
|
6005
|
+
};
|
|
6006
|
+
|
|
6007
|
+
var CatalogStockComparisonTileModule = /** @class */ (function () {
|
|
6008
|
+
function CatalogStockComparisonTileModule() {
|
|
6009
|
+
}
|
|
6010
|
+
return CatalogStockComparisonTileModule;
|
|
6011
|
+
}());
|
|
6012
|
+
CatalogStockComparisonTileModule.decorators = [
|
|
6013
|
+
{ type: i0.NgModule, args: [{
|
|
6014
|
+
imports: [
|
|
6015
|
+
common.CommonModule,
|
|
6016
|
+
PipeModule,
|
|
6017
|
+
corecomponents_v12.IconModule,
|
|
6018
|
+
corecomponents_v12.ImageModule,
|
|
6019
|
+
corecomponents.PriceDisplayPipeModule,
|
|
6020
|
+
corecomponents_v12.PaginationBarModule,
|
|
6021
|
+
],
|
|
6022
|
+
declarations: [
|
|
6023
|
+
CatalogStockComparisonTileComponent
|
|
6024
|
+
],
|
|
6025
|
+
exports: [
|
|
6026
|
+
CatalogStockComparisonTileComponent
|
|
6027
|
+
]
|
|
6028
|
+
},] }
|
|
6029
|
+
];
|
|
6030
|
+
|
|
6031
|
+
var CatalogStockComparisonListComponent = /** @class */ (function () {
|
|
6032
|
+
function CatalogStockComparisonListComponent(catalogStockComparisonService) {
|
|
6033
|
+
this.catalogStockComparisonService = catalogStockComparisonService;
|
|
6034
|
+
this.showClass = true;
|
|
6035
|
+
}
|
|
6036
|
+
CatalogStockComparisonListComponent.prototype.ngOnInit = function () {
|
|
6037
|
+
this.catalogStockComparisonService.searchArticlesForGridView();
|
|
6038
|
+
};
|
|
6039
|
+
CatalogStockComparisonListComponent.prototype.onPreviousClick = function () {
|
|
6040
|
+
this.catalogStockComparisonService.currentPage -= 1;
|
|
6041
|
+
};
|
|
6042
|
+
CatalogStockComparisonListComponent.prototype.onNextClick = function () {
|
|
6043
|
+
this.catalogStockComparisonService.currentPage += 1;
|
|
6044
|
+
};
|
|
6045
|
+
CatalogStockComparisonListComponent.prototype.onPageClick = function (pageNr) {
|
|
6046
|
+
this.catalogStockComparisonService.currentPage = pageNr;
|
|
6047
|
+
};
|
|
6048
|
+
return CatalogStockComparisonListComponent;
|
|
6049
|
+
}());
|
|
6050
|
+
CatalogStockComparisonListComponent.decorators = [
|
|
6051
|
+
{ type: i0.Component, args: [{
|
|
6052
|
+
selector: 'co-catalog-stock-comparison-list',
|
|
6053
|
+
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 ",
|
|
6054
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
6055
|
+
styles: [""]
|
|
6056
|
+
},] }
|
|
6057
|
+
];
|
|
6058
|
+
CatalogStockComparisonListComponent.ctorParameters = function () { return [
|
|
6059
|
+
{ type: CatalogStockComparisonService }
|
|
6060
|
+
]; };
|
|
6061
|
+
CatalogStockComparisonListComponent.propDecorators = {
|
|
6062
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-stock-comparison-list',] }]
|
|
6063
|
+
};
|
|
6064
|
+
|
|
6065
|
+
var CatalogStockComparisonListModule = /** @class */ (function () {
|
|
6066
|
+
function CatalogStockComparisonListModule() {
|
|
6067
|
+
}
|
|
6068
|
+
return CatalogStockComparisonListModule;
|
|
6069
|
+
}());
|
|
6070
|
+
CatalogStockComparisonListModule.decorators = [
|
|
6071
|
+
{ type: i0.NgModule, args: [{
|
|
6072
|
+
imports: [
|
|
6073
|
+
common.CommonModule,
|
|
6074
|
+
PipeModule,
|
|
6075
|
+
corecomponents_v12.SimpleGridModule,
|
|
6076
|
+
corecomponents_v12.PaginationBarModule
|
|
6077
|
+
],
|
|
6078
|
+
declarations: [
|
|
6079
|
+
CatalogStockComparisonListComponent
|
|
6080
|
+
],
|
|
6081
|
+
exports: [
|
|
6082
|
+
CatalogStockComparisonListComponent
|
|
6083
|
+
]
|
|
6084
|
+
},] }
|
|
6085
|
+
];
|
|
6086
|
+
|
|
6087
|
+
var CatalogWarehouseTransfersTileComponent = /** @class */ (function () {
|
|
6088
|
+
function CatalogWarehouseTransfersTileComponent(iconCache, catalogStockTransferService) {
|
|
6089
|
+
this.iconCache = iconCache;
|
|
6090
|
+
this.catalogStockTransferService = catalogStockTransferService;
|
|
6091
|
+
this.showClass = true;
|
|
6092
|
+
this.icons = IconEnum;
|
|
6093
|
+
this.valutaSymbol = '€';
|
|
6094
|
+
}
|
|
6095
|
+
CatalogWarehouseTransfersTileComponent.prototype.ngOnInit = function () {
|
|
6096
|
+
this.catalogStockTransferService.searchArticlesForTileView();
|
|
6097
|
+
};
|
|
6098
|
+
CatalogWarehouseTransfersTileComponent.prototype.onPreviousClick = function () {
|
|
6099
|
+
this.catalogStockTransferService.currentPage -= 1;
|
|
6100
|
+
};
|
|
6101
|
+
CatalogWarehouseTransfersTileComponent.prototype.onNextClick = function () {
|
|
6102
|
+
this.catalogStockTransferService.currentPage += 1;
|
|
6103
|
+
};
|
|
6104
|
+
CatalogWarehouseTransfersTileComponent.prototype.onPageClick = function (pageNr) {
|
|
6105
|
+
this.catalogStockTransferService.currentPage = pageNr;
|
|
6106
|
+
};
|
|
6107
|
+
return CatalogWarehouseTransfersTileComponent;
|
|
6108
|
+
}());
|
|
6109
|
+
CatalogWarehouseTransfersTileComponent.decorators = [
|
|
6110
|
+
{ type: i0.Component, args: [{
|
|
6111
|
+
selector: 'co-catalog-warehouse-transfers-tile',
|
|
6112
|
+
template: "\n <div class=\"article-tiles\">\n <div class=\"article-tile\" *ngFor=\"let article of catalogStockTransferService.transferTileArticles\">\n <div class=\"image\">\n <co-image class=\"co-image\" [source]=\"article.imageData\"></co-image>\n </div>\n <div class=\"brand\" [innerText]=\"article.buyerDescription\"></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.sourceWarehouseNumber\"></strong>\n </div>\n <div class=\"tile-item\">\n <span [innerText]=\"'TARGET_WAREHOUSE' | localize\"></span>:\n <strong [innerText]=\"article.targetWarehouseNumber\"></strong>\n </div>\n <div class=\"one-liner\">\n <div>\n <span>Number overbooked</span>:\n <strong [innerText]=\"article.quantityOverbooked\"></strong>\n </div>\n <div class=\"details\">Details</div>\n </div>\n </div>\n </div>\n <co-pagination-bar\n *ngIf=\"catalogStockTransferService.transferTileArticles?.length > 0\"\n [currentPage]=\"catalogStockTransferService.currentPage\"\n [itemsPerPage]=\"catalogStockTransferService.articlesPerPage\"\n [totalItems]=\"catalogStockTransferService.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 ",
|
|
6113
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
6114
|
+
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 .one-liner:last-of-type{margin:0}.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"]
|
|
6115
|
+
},] }
|
|
6116
|
+
];
|
|
6117
|
+
CatalogWarehouseTransfersTileComponent.ctorParameters = function () { return [
|
|
6118
|
+
{ type: IconCacheService },
|
|
6119
|
+
{ type: CatalogStockTransferService }
|
|
6120
|
+
]; };
|
|
6121
|
+
CatalogWarehouseTransfersTileComponent.propDecorators = {
|
|
6122
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-warehouse-transfers-tile',] }]
|
|
6123
|
+
};
|
|
6124
|
+
|
|
6125
|
+
var CatalogWarehouseTransfersTileModule = /** @class */ (function () {
|
|
6126
|
+
function CatalogWarehouseTransfersTileModule() {
|
|
6127
|
+
}
|
|
6128
|
+
return CatalogWarehouseTransfersTileModule;
|
|
6129
|
+
}());
|
|
6130
|
+
CatalogWarehouseTransfersTileModule.decorators = [
|
|
6131
|
+
{ type: i0.NgModule, args: [{
|
|
6132
|
+
imports: [
|
|
6133
|
+
common.CommonModule,
|
|
6134
|
+
PipeModule,
|
|
6135
|
+
corecomponents_v12.IconModule,
|
|
6136
|
+
corecomponents_v12.ImageModule,
|
|
6137
|
+
corecomponents.PriceDisplayPipeModule,
|
|
6138
|
+
corecomponents_v12.PaginationBarModule,
|
|
6139
|
+
],
|
|
6140
|
+
declarations: [
|
|
6141
|
+
CatalogWarehouseTransfersTileComponent
|
|
6142
|
+
],
|
|
6143
|
+
exports: [
|
|
6144
|
+
CatalogWarehouseTransfersTileComponent
|
|
6145
|
+
]
|
|
6146
|
+
},] }
|
|
6147
|
+
];
|
|
6148
|
+
|
|
6149
|
+
var CatalogWarehouseTransfersListComponent = /** @class */ (function () {
|
|
6150
|
+
function CatalogWarehouseTransfersListComponent(catalogStockTransferService) {
|
|
6151
|
+
this.catalogStockTransferService = catalogStockTransferService;
|
|
6152
|
+
this.showClass = true;
|
|
6153
|
+
}
|
|
6154
|
+
CatalogWarehouseTransfersListComponent.prototype.ngOnInit = function () {
|
|
6155
|
+
this.catalogStockTransferService.searchArticlesForGridView();
|
|
6156
|
+
};
|
|
6157
|
+
CatalogWarehouseTransfersListComponent.prototype.onPreviousClick = function () {
|
|
6158
|
+
this.catalogStockTransferService.currentPage -= 1;
|
|
6159
|
+
};
|
|
6160
|
+
CatalogWarehouseTransfersListComponent.prototype.onNextClick = function () {
|
|
6161
|
+
this.catalogStockTransferService.currentPage += 1;
|
|
6162
|
+
};
|
|
6163
|
+
CatalogWarehouseTransfersListComponent.prototype.onPageClick = function (pageNr) {
|
|
6164
|
+
this.catalogStockTransferService.currentPage = pageNr;
|
|
6165
|
+
};
|
|
6166
|
+
return CatalogWarehouseTransfersListComponent;
|
|
6167
|
+
}());
|
|
6168
|
+
CatalogWarehouseTransfersListComponent.decorators = [
|
|
6169
|
+
{ type: i0.Component, args: [{
|
|
6170
|
+
selector: 'co-catalog-warehouse-transfers-list',
|
|
6171
|
+
template: "\n <co-simple-grid [data]=\"this.catalogStockTransferService.transferGridArticles\">\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]=\"'description'\">\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]=\"'supplierNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SOURCE_WAREHOUSE' | localize\"\n [field]=\"'sourceWarehouseNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'SOURCE_LOCATION' | localize\"\n [field]=\"'sourceLocation'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'TARGET_WAREHOUSE' | localize\"\n [field]=\"'targetWarehouseNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'TARGET_LOCATION' | localize\"\n [field]=\"'targetLocation'\">\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]=\"'BATCH_NO' | localize\"\n [field]=\"'batchNumber'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'QUANTITY' | localize\"\n [field]=\"'quantity'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'CREATION_DATE' | localize\"\n [field]=\"'creationDate'\">\n </co-simple-grid-column>\n <co-simple-grid-column\n [headerText]=\"'USER' | localize\"\n [field]=\"'user'\">\n </co-simple-grid-column>\n </co-simple-grid>\n <co-pagination-bar\n *ngIf=\"catalogStockTransferService.transferGridArticles?.length > 0\"\n [currentPage]=\"catalogStockTransferService.currentPage\"\n [itemsPerPage]=\"catalogStockTransferService.articlesPerPage\"\n [totalItems]=\"catalogStockTransferService.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 ",
|
|
6172
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
6173
|
+
styles: [""]
|
|
6174
|
+
},] }
|
|
6175
|
+
];
|
|
6176
|
+
CatalogWarehouseTransfersListComponent.ctorParameters = function () { return [
|
|
6177
|
+
{ type: CatalogStockTransferService }
|
|
6178
|
+
]; };
|
|
6179
|
+
CatalogWarehouseTransfersListComponent.propDecorators = {
|
|
6180
|
+
showClass: [{ type: i0.HostBinding, args: ['class.co-catalog-warehouse-transfers-list',] }]
|
|
6181
|
+
};
|
|
6182
|
+
|
|
6183
|
+
var CatalogWarehouseTransfersListModule = /** @class */ (function () {
|
|
6184
|
+
function CatalogWarehouseTransfersListModule() {
|
|
6185
|
+
}
|
|
6186
|
+
return CatalogWarehouseTransfersListModule;
|
|
6187
|
+
}());
|
|
6188
|
+
CatalogWarehouseTransfersListModule.decorators = [
|
|
6189
|
+
{ type: i0.NgModule, args: [{
|
|
6190
|
+
imports: [
|
|
6191
|
+
common.CommonModule,
|
|
6192
|
+
PipeModule,
|
|
6193
|
+
corecomponents_v12.SimpleGridModule,
|
|
6194
|
+
corecomponents_v12.PaginationBarModule
|
|
6195
|
+
],
|
|
6196
|
+
declarations: [
|
|
6197
|
+
CatalogWarehouseTransfersListComponent
|
|
6198
|
+
],
|
|
6199
|
+
exports: [
|
|
6200
|
+
CatalogWarehouseTransfersListComponent
|
|
6201
|
+
]
|
|
6202
|
+
},] }
|
|
6203
|
+
];
|
|
6204
|
+
|
|
5114
6205
|
var CatalogSearchModule = /** @class */ (function () {
|
|
5115
6206
|
function CatalogSearchModule() {
|
|
5116
6207
|
}
|
|
@@ -5131,7 +6222,10 @@
|
|
|
5131
6222
|
CatalogConnectorAdapterService,
|
|
5132
6223
|
CatalogService,
|
|
5133
6224
|
CatalogSettingsService,
|
|
5134
|
-
CatalogSearchService
|
|
6225
|
+
CatalogSearchService,
|
|
6226
|
+
CatalogStockService,
|
|
6227
|
+
CatalogStockComparisonService,
|
|
6228
|
+
CatalogStockTransferService
|
|
5135
6229
|
]
|
|
5136
6230
|
};
|
|
5137
6231
|
};
|
|
@@ -5145,6 +6239,12 @@
|
|
|
5145
6239
|
CatalogSearchHeaderModule,
|
|
5146
6240
|
CatalogSearchResultTileModule,
|
|
5147
6241
|
CatalogSearchResultListModule,
|
|
6242
|
+
CatalogStockOverviewTileModule,
|
|
6243
|
+
CatalogStockOverviewListModule,
|
|
6244
|
+
CatalogStockComparisonTileModule,
|
|
6245
|
+
CatalogStockComparisonListModule,
|
|
6246
|
+
CatalogWarehouseTransfersTileModule,
|
|
6247
|
+
CatalogWarehouseTransfersListModule,
|
|
5148
6248
|
CatalogCategoriesModule,
|
|
5149
6249
|
CatalogExternalSourcesModule,
|
|
5150
6250
|
CatalogNavigationModule,
|
|
@@ -5378,6 +6478,15 @@
|
|
|
5378
6478
|
exports.CatalogSearchService = CatalogSearchService;
|
|
5379
6479
|
exports.CatalogService = CatalogService;
|
|
5380
6480
|
exports.CatalogSettingsService = CatalogSettingsService;
|
|
6481
|
+
exports.CatalogStockComparisonListModule = CatalogStockComparisonListModule;
|
|
6482
|
+
exports.CatalogStockComparisonService = CatalogStockComparisonService;
|
|
6483
|
+
exports.CatalogStockComparisonTileModule = CatalogStockComparisonTileModule;
|
|
6484
|
+
exports.CatalogStockOverviewListModule = CatalogStockOverviewListModule;
|
|
6485
|
+
exports.CatalogStockOverviewTileModule = CatalogStockOverviewTileModule;
|
|
6486
|
+
exports.CatalogStockService = CatalogStockService;
|
|
6487
|
+
exports.CatalogStockTransferService = CatalogStockTransferService;
|
|
6488
|
+
exports.CatalogWarehouseTransfersListModule = CatalogWarehouseTransfersListModule;
|
|
6489
|
+
exports.CatalogWarehouseTransfersTileModule = CatalogWarehouseTransfersTileModule;
|
|
5381
6490
|
exports.SelectMultipleCacheService = SelectMultipleCacheService;
|
|
5382
6491
|
exports.SelectMultipleParameterizedCacheService = SelectMultipleParameterizedCacheService;
|
|
5383
6492
|
exports.SelectSingleCacheService = SelectSingleCacheService;
|
|
@@ -5390,8 +6499,14 @@
|
|
|
5390
6499
|
exports["ɵbc"] = CatalogSearchBaseComponent;
|
|
5391
6500
|
exports["ɵbd"] = CatalogArticleListComponent;
|
|
5392
6501
|
exports["ɵbe"] = CatalogSearchResultListComponent;
|
|
5393
|
-
exports["ɵbf"] =
|
|
5394
|
-
exports["ɵbg"] =
|
|
6502
|
+
exports["ɵbf"] = CatalogStockOverviewTileComponent;
|
|
6503
|
+
exports["ɵbg"] = CatalogStockOverviewListComponent;
|
|
6504
|
+
exports["ɵbh"] = CatalogStockComparisonTileComponent;
|
|
6505
|
+
exports["ɵbi"] = CatalogStockComparisonListComponent;
|
|
6506
|
+
exports["ɵbj"] = CatalogWarehouseTransfersTileComponent;
|
|
6507
|
+
exports["ɵbk"] = CatalogWarehouseTransfersListComponent;
|
|
6508
|
+
exports["ɵbl"] = CatalogSearchComponent;
|
|
6509
|
+
exports["ɵbm"] = CatalogExternalSourceComponent;
|
|
5395
6510
|
exports["ɵc"] = LocalizePipe;
|
|
5396
6511
|
exports["ɵd"] = DictionaryService;
|
|
5397
6512
|
exports["ɵe"] = CatalogFilterCategoriesComponent;
|