@colijnit/catalog 255.1.22 → 255.1.23
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 +16 -11
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog-255.1.23.tgz +0 -0
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/lib/catalog-version.js +3 -3
- package/esm2015/lib/service/catalog-connector-adapter.service.js +3 -3
- package/esm2015/lib/service/catalog-connector.service.js +7 -4
- package/fesm2015/colijnit-catalog.js +10 -7
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/service/catalog-connector-adapter.service.d.ts +1 -1
- package/lib/service/catalog-connector.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -36,6 +36,7 @@ import { TransactionInfoResponse } from '@colijnit/transactionapi/build/model/tr
|
|
|
36
36
|
import { DateField } from '@colijnit/ioneconnector/build/factory/decorators/date-field.decorator';
|
|
37
37
|
import { ObjectConfiguration } from '@colijnit/ioneconnector/build/model/object-configuration';
|
|
38
38
|
import { ObjectUtils } from '@colijnit/ioneconnector/build/utils/object-utils';
|
|
39
|
+
import { AvaliableCatalogs } from '@colijnit/articleapi/build/model/catalogs-available.bo';
|
|
39
40
|
import { FileUtils } from '@colijnit/ioneconnector/build/utils/file-utils';
|
|
40
41
|
import { FilterViewmodel, FilterItemViewmodel, BaseModuleScreenConfigService, BaseModuleService, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, ScreenConfigurationModule, FilterItemModule, InputTextModule, ButtonModule, IconModule, FilterItemMode as FilterItemMode$1, InputDatePickerModule, IconCollapseHandleModule, CoDialogModule, ListOfValuesModule, CheckmarkOverlayModule, ImageModule, OverlayModule, OverlayService, InputSearchModule, PaginationBarModule, SimpleGridModule } from '@colijnit/corecomponents_v12';
|
|
41
42
|
import { PagingParameters } from '@colijnit/ioneconnector/build/model/paging-parameters';
|
|
@@ -55,8 +56,8 @@ class Version {
|
|
|
55
56
|
constructor() {
|
|
56
57
|
this.name = "@colijnit/catalog";
|
|
57
58
|
this.description = "iOne Catalog module based on Angular 12";
|
|
58
|
-
this.symVer = "255.1.
|
|
59
|
-
this.publishDate = "
|
|
59
|
+
this.symVer = "255.1.23";
|
|
60
|
+
this.publishDate = "6-1-2025 15:57:26";
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
63
|
|
|
@@ -962,8 +963,8 @@ class CatalogConnectorAdapterService {
|
|
|
962
963
|
return "";
|
|
963
964
|
});
|
|
964
965
|
}
|
|
965
|
-
getJsonArticleFlatTree(goodId, goodType, quantity, showLoader = true, instanceId = undefined, configuratorStatistics) {
|
|
966
|
-
return this.connector.getJsonArticleFlatTree(goodId, goodType, quantity, showLoader, undefined, configuratorStatistics);
|
|
966
|
+
getJsonArticleFlatTree(goodId, goodType, quantity, externalSource = false, showLoader = true, instanceId = undefined, configuratorStatistics) {
|
|
967
|
+
return this.connector.getJsonArticleFlatTree(goodId, goodType, quantity, externalSource, showLoader, undefined, configuratorStatistics);
|
|
967
968
|
}
|
|
968
969
|
getObjectConfiguration(screenCfgModule, params, insertMode) {
|
|
969
970
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1599,7 +1600,9 @@ class CatalogConnectorService {
|
|
|
1599
1600
|
}
|
|
1600
1601
|
getAvailabeCatalogsForLoggedInUser() {
|
|
1601
1602
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1602
|
-
return this.
|
|
1603
|
+
return this._selectMultipleCacheService.requestCache(AvaliableCatalogs, () => {
|
|
1604
|
+
return this._adapterService.getAvailabeCatalogsForLoggedInUser();
|
|
1605
|
+
}).getValue();
|
|
1603
1606
|
});
|
|
1604
1607
|
}
|
|
1605
1608
|
getPresets(module, user) {
|
|
@@ -1634,8 +1637,8 @@ class CatalogConnectorService {
|
|
|
1634
1637
|
}).getValue(docId, thumbnail);
|
|
1635
1638
|
});
|
|
1636
1639
|
}
|
|
1637
|
-
getJsonArticleFlatTree(goodId, goodType, quantity, showLoader = true, instanceId = undefined, configuratorStatistics) {
|
|
1638
|
-
return this._adapterService.getJsonArticleFlatTree(goodId, goodType, quantity, showLoader, undefined, configuratorStatistics);
|
|
1640
|
+
getJsonArticleFlatTree(goodId, goodType, quantity, externalSource = false, showLoader = true, instanceId = undefined, configuratorStatistics) {
|
|
1641
|
+
return this._adapterService.getJsonArticleFlatTree(goodId, goodType, quantity, externalSource, showLoader, undefined, configuratorStatistics);
|
|
1639
1642
|
}
|
|
1640
1643
|
addWebSessionTransactionLine(transactionUuid, sku, quantity) {
|
|
1641
1644
|
return __awaiter(this, void 0, void 0, function* () {
|