@crystaldesign/diva-backoffice 26.8.0-beta.34 → 26.8.0-beta.35

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.
Files changed (24) hide show
  1. package/build/esm/index.js +80 -32
  2. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Features.d.ts.map +1 -1
  3. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/FeaturesWithFeatureClass.d.ts.map +1 -1
  4. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts.map +1 -1
  5. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts +2 -1
  6. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts.map +1 -1
  7. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Options.d.ts.map +1 -1
  8. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts.map +1 -1
  9. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts +2 -1
  10. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts.map +1 -1
  11. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts +2 -1
  12. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts.map +1 -1
  13. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/PrefilterSelectors/FeatureSelector.d.ts.map +1 -1
  14. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDecisions/index.d.ts.map +1 -1
  15. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePartlists/index.d.ts.map +1 -1
  16. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.d.ts.map +1 -1
  17. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts.map +1 -1
  18. package/build/types/backoffice/src/ui/IDMCatalogEditor/types.d.ts +1 -0
  19. package/build/types/backoffice/src/ui/IDMCatalogEditor/types.d.ts.map +1 -1
  20. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/FeatureSelector.d.ts.map +1 -1
  21. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableGroups/index.d.ts.map +1 -1
  22. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableProperties/index.d.ts.map +1 -1
  23. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableTabGroups/index.d.ts.map +1 -1
  24. package/package.json +9 -9
@@ -35331,11 +35331,13 @@ var TableGroups = observer(function () {
35331
35331
  item: selectedItem
35332
35332
  });
35333
35333
  var applicationData = useMemo(function () {
35334
+ var _selectedPackage$isoL;
35334
35335
  return {
35335
35336
  packageId: packageId,
35336
- organizationId: organizationId
35337
+ organizationId: organizationId,
35338
+ defaultLanguage: (selectedPackage === null || selectedPackage === void 0 || (_selectedPackage$isoL = selectedPackage.isoLanguageIds) === null || _selectedPackage$isoL === void 0 ? void 0 : _selectedPackage$isoL[0]) || 'DE'
35337
35339
  };
35338
- }, [packageId, organizationId]);
35340
+ }, [packageId, organizationId, selectedPackage === null || selectedPackage === void 0 ? void 0 : selectedPackage.isoLanguageIds]);
35339
35341
  var apiInterface = useMemo(function () {
35340
35342
  return {
35341
35343
  read: apiConfig.enricherService + '/packages/${packageId}/groups',
@@ -37147,11 +37149,13 @@ var TableProperties = observer(function () {
37147
37149
  item: selectedItem
37148
37150
  });
37149
37151
  var applicationData = useMemo(function () {
37152
+ var _selectedPackage$isoL;
37150
37153
  return {
37151
37154
  packageId: packageId,
37152
- organizationId: organizationId
37155
+ organizationId: organizationId,
37156
+ defaultLanguage: (selectedPackage === null || selectedPackage === void 0 || (_selectedPackage$isoL = selectedPackage.isoLanguageIds) === null || _selectedPackage$isoL === void 0 ? void 0 : _selectedPackage$isoL[0]) || 'DE'
37153
37157
  };
37154
- }, [packageId, organizationId]);
37158
+ }, [packageId, organizationId, selectedPackage === null || selectedPackage === void 0 ? void 0 : selectedPackage.isoLanguageIds]);
37155
37159
  var apiInterface = useMemo(function () {
37156
37160
  return {
37157
37161
  read: apiConfig.enricherService + '/packages/${packageId}/properties',
@@ -38772,11 +38776,13 @@ var TableTabGroups = observer(function () {
38772
38776
  item: selectedItem
38773
38777
  });
38774
38778
  var applicationData = useMemo(function () {
38779
+ var _selectedPackage$isoL;
38775
38780
  return {
38776
38781
  packageId: packageId,
38777
- organizationId: organizationId
38782
+ organizationId: organizationId,
38783
+ defaultLanguage: (selectedPackage === null || selectedPackage === void 0 || (_selectedPackage$isoL = selectedPackage.isoLanguageIds) === null || _selectedPackage$isoL === void 0 ? void 0 : _selectedPackage$isoL[0]) || 'DE'
38778
38784
  };
38779
- }, [packageId, organizationId]);
38785
+ }, [packageId, organizationId, selectedPackage === null || selectedPackage === void 0 ? void 0 : selectedPackage.isoLanguageIds]);
38780
38786
  var apiInterface = useMemo(function () {
38781
38787
  return {
38782
38788
  //TODO: Es gibt globale Tabgroups, die vordefiniert sind und pro Enricher Paket nochmals angepasst werden können -endpoint anpassen?
@@ -43464,7 +43470,7 @@ var CatalogSelector = function CatalogSelector(_ref) {
43464
43470
  return /*#__PURE__*/jsx(SimpleSelect, {
43465
43471
  sharedState: catalogSelectorState,
43466
43472
  apiInterface: {
43467
- read: "".concat(idmService, "/catalogs?fields=name;_id;isoLanguageIds;major&filter=organizationId==\"").concat(organizationId, "\"")
43473
+ read: "".concat(idmService, "/catalogs?fields=name;_id;isoLanguageIds;major;fallBackLanguage&filter=organizationId==\"").concat(organizationId, "\"")
43468
43474
  },
43469
43475
  apiMapping: {
43470
43476
  type: 'query',
@@ -43518,6 +43524,15 @@ var SeriesSelector = function SeriesSelector(_ref) {
43518
43524
  }, catalogId);
43519
43525
  };
43520
43526
  var SeriesSelector$1 = observer(SeriesSelector);
43527
+
43528
+ /** Resolves a translated dictionary value (e.g. `{ DE: '...', FR: '...' }`) to a plain string, falling back to the catalog's default language, then German. */
43529
+ function resolveTranslatedText$1(value, language, catalog) {
43530
+ var _catalog$isoLanguageI, _ref2, _ref3, _value$language;
43531
+ if (value == null) return '';
43532
+ if (_typeof(value) !== 'object') return value;
43533
+ var fallbackLanguage = (catalog === null || catalog === void 0 ? void 0 : catalog.fallBackLanguage) || (catalog === null || catalog === void 0 || (_catalog$isoLanguageI = catalog.isoLanguageIds) === null || _catalog$isoLanguageI === void 0 ? void 0 : _catalog$isoLanguageI[0]);
43534
+ return (_ref2 = (_ref3 = (_value$language = value[language]) !== null && _value$language !== void 0 ? _value$language : fallbackLanguage && value[fallbackLanguage]) !== null && _ref3 !== void 0 ? _ref3 : value.DE) !== null && _ref2 !== void 0 ? _ref2 : '';
43535
+ }
43521
43536
  var useSeriesSelector = function useSeriesSelector(modules) {
43522
43537
  var _useTranslation2 = useTranslation(),
43523
43538
  i18n = _useTranslation2.i18n;
@@ -43525,6 +43540,7 @@ var useSeriesSelector = function useSeriesSelector(modules) {
43525
43540
  var _useCatalogContext = useCatalogContext(modules),
43526
43541
  catalogId = _useCatalogContext.catalogId,
43527
43542
  idmService = _useCatalogContext.idmService,
43543
+ selectedCatalog = _useCatalogContext.selectedCatalog,
43528
43544
  selectedSerie = _useCatalogContext.selectedSerie,
43529
43545
  setSelectedSerie = _useCatalogContext.setSelectedSerie,
43530
43546
  seriesSelectorState = _useCatalogContext.seriesSelectorState;
@@ -43532,18 +43548,23 @@ var useSeriesSelector = function useSeriesSelector(modules) {
43532
43548
  _useState2 = _slicedToArray(_useState, 2),
43533
43549
  selected = _useState2[0],
43534
43550
  setSelected = _useState2[1];
43551
+
43552
+ // Query the full seriesName dictionary (not narrowed to the current language) so a catalog that doesn't have
43553
+ // the current UI language still returns a value to fall back to.
43535
43554
  var apiInterface = {
43536
- read: idmService + "/catalogs/".concat(catalogId, "/series?fields=seriesName[").concat(i18n.language.toLocaleUpperCase(), "];_id;serieNo")
43555
+ read: idmService + "/catalogs/".concat(catalogId, "/series?fields=seriesName;_id;serieNo")
43537
43556
  };
43538
43557
  var selectMapping = {
43539
- label: "${seriesName.".concat(i18n.language.toLocaleUpperCase(), "} (${serieNo})"),
43558
+ label: function label(data) {
43559
+ return "".concat(resolveTranslatedText$1(data.seriesName, i18n.language.toLocaleUpperCase(), selectedCatalog), " (").concat(data.serieNo, ")");
43560
+ },
43540
43561
  value: '${_id}'
43541
43562
  };
43542
43563
  useEffect(function () {
43543
43564
  setSelected(selectedSerie);
43544
43565
  }, [selectedSerie]);
43545
43566
  var fetchSerie = /*#__PURE__*/function () {
43546
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(newSerie) {
43567
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(newSerie) {
43547
43568
  var _seriesSelectorState$, _seriesSelectorState$2;
43548
43569
  var isLoaded, api, serie, option;
43549
43570
  return _regeneratorRuntime.wrap(function _callee$(_context) {
@@ -43571,7 +43592,7 @@ var useSeriesSelector = function useSeriesSelector(modules) {
43571
43592
  api = new _default$c({
43572
43593
  type: 'SelectSimple',
43573
43594
  apiInterface: {
43574
- read: idmService + "/catalogs/".concat(catalogId, "/series/").concat(newSerie._id, "?fields=seriesName[").concat(i18n.language.toLocaleUpperCase(), "];_id;serieNo;pricefeaturegroups;pricefeaturegroupsDisplayTexts;pricefeaturegroupsKeys;pricefeaturegroupsKeysDisplayTexts;lastUpdatedDate")
43595
+ read: idmService + "/catalogs/".concat(catalogId, "/series/").concat(newSerie._id, "?fields=seriesName;_id;serieNo;pricefeaturegroups;pricefeaturegroupsDisplayTexts;pricefeaturegroupsKeys;pricefeaturegroupsKeysDisplayTexts;lastUpdatedDate")
43575
43596
  }
43576
43597
  }, root);
43577
43598
  _context.next = 10;
@@ -43594,7 +43615,7 @@ var useSeriesSelector = function useSeriesSelector(modules) {
43594
43615
  }, _callee);
43595
43616
  }));
43596
43617
  return function fetchSerie(_x) {
43597
- return _ref2.apply(this, arguments);
43618
+ return _ref4.apply(this, arguments);
43598
43619
  };
43599
43620
  }();
43600
43621
  var onChange = function onChange(value) {
@@ -43783,12 +43804,14 @@ var Items$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
43783
43804
  t = _useTranslation.t,
43784
43805
  i18n = _useTranslation.i18n;
43785
43806
  var applicationData = useMemo(function () {
43807
+ var _selectedCatalog$isoL;
43786
43808
  return {
43787
43809
  organizationId: organizationId,
43788
43810
  catalogId: selectedCatalog._id,
43789
43811
  catalogName: selectedCatalog.name,
43790
43812
  selectedSerieId: selectedSerie._id,
43791
- selectedSerieNo: selectedSerie.serieNo
43813
+ selectedSerieNo: selectedSerie.serieNo,
43814
+ defaultLanguage: selectedCatalog.fallBackLanguage || ((_selectedCatalog$isoL = selectedCatalog.isoLanguageIds) === null || _selectedCatalog$isoL === void 0 ? void 0 : _selectedCatalog$isoL[0]) || 'DE'
43792
43815
  };
43793
43816
  }, [organizationId, selectedCatalog, selectedSerie]);
43794
43817
  var configuration = useMemo(function () {
@@ -44534,11 +44557,13 @@ var TableSeries = observer(function () {
44534
44557
  }]
44535
44558
  });
44536
44559
  var applicationData = useMemo(function () {
44560
+ var _selectedCatalog$isoL;
44537
44561
  return {
44538
44562
  catalogId: catalogId,
44539
- organizationId: organizationId
44563
+ organizationId: organizationId,
44564
+ defaultLanguage: (selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.fallBackLanguage) || (selectedCatalog === null || selectedCatalog === void 0 || (_selectedCatalog$isoL = selectedCatalog.isoLanguageIds) === null || _selectedCatalog$isoL === void 0 ? void 0 : _selectedCatalog$isoL[0]) || 'DE'
44540
44565
  };
44541
- }, [catalogId, organizationId]);
44566
+ }, [catalogId, organizationId, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.fallBackLanguage, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.isoLanguageIds]);
44542
44567
  var catalogMajor = (_selectedCatalog$majo = selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.major) !== null && _selectedCatalog$majo !== void 0 ? _selectedCatalog$majo : catalogMajorFetched;
44543
44568
  var hooks = useMemo(function () {
44544
44569
  return {
@@ -44827,11 +44852,13 @@ var Features$2 = /*#__PURE__*/forwardRef(function Features(_ref, ref) {
44827
44852
  var _useTranslation = useTranslation(),
44828
44853
  t = _useTranslation.t;
44829
44854
  var applicationData = useMemo(function () {
44855
+ var _selectedCatalog$isoL;
44830
44856
  return {
44831
44857
  catalogId: selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog._id,
44832
- organizationId: organizationId
44858
+ organizationId: organizationId,
44859
+ defaultLanguage: (selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.fallBackLanguage) || (selectedCatalog === null || selectedCatalog === void 0 || (_selectedCatalog$isoL = selectedCatalog.isoLanguageIds) === null || _selectedCatalog$isoL === void 0 ? void 0 : _selectedCatalog$isoL[0]) || 'DE'
44833
44860
  };
44834
- }, [selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog._id, organizationId]);
44861
+ }, [selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog._id, organizationId, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.fallBackLanguage, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.isoLanguageIds]);
44835
44862
  var apiInterface = useMemo(function () {
44836
44863
  return {
44837
44864
  read: apiConfig.idmService + '/catalogs/${catalogId}/features',
@@ -45152,11 +45179,13 @@ var Options$1 = /*#__PURE__*/forwardRef(function Options(_ref, ref) {
45152
45179
  i18n = _useTranslation.i18n;
45153
45180
  var isIdm4 = (selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.major) === 4;
45154
45181
  var applicationData = useMemo(function () {
45182
+ var _selectedCatalog$isoL;
45155
45183
  return {
45156
45184
  organizationId: organizationId,
45157
- catalogId: selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog._id
45185
+ catalogId: selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog._id,
45186
+ defaultLanguage: (selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.fallBackLanguage) || (selectedCatalog === null || selectedCatalog === void 0 || (_selectedCatalog$isoL = selectedCatalog.isoLanguageIds) === null || _selectedCatalog$isoL === void 0 ? void 0 : _selectedCatalog$isoL[0]) || 'DE'
45158
45187
  };
45159
- }, [organizationId, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog._id]);
45188
+ }, [organizationId, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog._id, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.fallBackLanguage, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.isoLanguageIds]);
45160
45189
  var configuration = useMemo(function () {
45161
45190
  return {
45162
45191
  type: 'dotnetSSM',
@@ -45532,12 +45561,14 @@ var FeaturesWithFeatureClass = /*#__PURE__*/forwardRef(function FeaturesWithFeat
45532
45561
  var _useTranslation = useTranslation(),
45533
45562
  t = _useTranslation.t;
45534
45563
  var applicationData = useMemo(function () {
45564
+ var _selectedCatalog$isoL;
45535
45565
  return {
45536
45566
  catalogId: selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog._id,
45537
45567
  organizationId: organizationId,
45538
- featureClassId: featureClassId
45568
+ featureClassId: featureClassId,
45569
+ defaultLanguage: (selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.fallBackLanguage) || (selectedCatalog === null || selectedCatalog === void 0 || (_selectedCatalog$isoL = selectedCatalog.isoLanguageIds) === null || _selectedCatalog$isoL === void 0 ? void 0 : _selectedCatalog$isoL[0]) || 'DE'
45539
45570
  };
45540
- }, [selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog._id, featureClassId, organizationId]);
45571
+ }, [selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog._id, featureClassId, organizationId, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.fallBackLanguage, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.isoLanguageIds]);
45541
45572
  var apiInterface = useMemo(function () {
45542
45573
  return {
45543
45574
  read: apiConfig.idmService + '/catalogs/${catalogId}/featureclasses/${featureClassId}/features',
@@ -47926,6 +47957,7 @@ function OptionSetRefExpandedEditor(_ref) {
47926
47957
  function OptionCombinations(_ref) {
47927
47958
  var decision = _ref.decision,
47928
47959
  catalogId = _ref.catalogId,
47960
+ defaultLanguage = _ref.defaultLanguage,
47929
47961
  apiConfig = _ref.apiConfig,
47930
47962
  setNodeDataValue = _ref.setNodeDataValue;
47931
47963
  var _useTranslation = useTranslation(),
@@ -47956,9 +47988,10 @@ function OptionCombinations(_ref) {
47956
47988
  var applicationData = useMemo(function () {
47957
47989
  return {
47958
47990
  catalogId: catalogId,
47959
- decisionId: decision._id
47991
+ decisionId: decision._id,
47992
+ defaultLanguage: defaultLanguage
47960
47993
  };
47961
- }, [catalogId, decision._id]);
47994
+ }, [catalogId, decision._id, defaultLanguage]);
47962
47995
  var apiInterface = useMemo(function () {
47963
47996
  return {
47964
47997
  read: apiConfig.idmService + '/catalogs/${catalogId}/decisions/${decisionId}/optioncombinations',
@@ -48122,6 +48155,7 @@ function OptionCombinations(_ref) {
48122
48155
  }
48123
48156
 
48124
48157
  var TableDecisions = observer(function () {
48158
+ var _selectedCatalog$isoL;
48125
48159
  var _useTranslation = useTranslation(),
48126
48160
  t = _useTranslation.t;
48127
48161
  var spreadsheetRef = useRef(null);
@@ -48159,6 +48193,7 @@ var TableDecisions = observer(function () {
48159
48193
  elementProps: {
48160
48194
  decision: selectedDecision,
48161
48195
  catalogId: catalogId,
48196
+ defaultLanguage: (selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.fallBackLanguage) || (selectedCatalog === null || selectedCatalog === void 0 || (_selectedCatalog$isoL = selectedCatalog.isoLanguageIds) === null || _selectedCatalog$isoL === void 0 ? void 0 : _selectedCatalog$isoL[0]) || 'DE',
48162
48197
  apiConfig: apiConfig,
48163
48198
  setNodeDataValue: setNodeDataValue
48164
48199
  },
@@ -48168,11 +48203,13 @@ var TableDecisions = observer(function () {
48168
48203
  }]
48169
48204
  });
48170
48205
  var applicationData = useMemo(function () {
48206
+ var _selectedCatalog$isoL2;
48171
48207
  return {
48172
48208
  catalogId: catalogId,
48173
- organizationId: organizationId
48209
+ organizationId: organizationId,
48210
+ defaultLanguage: (selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.fallBackLanguage) || (selectedCatalog === null || selectedCatalog === void 0 || (_selectedCatalog$isoL2 = selectedCatalog.isoLanguageIds) === null || _selectedCatalog$isoL2 === void 0 ? void 0 : _selectedCatalog$isoL2[0]) || 'DE'
48174
48211
  };
48175
- }, [catalogId, organizationId]);
48212
+ }, [catalogId, organizationId, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.fallBackLanguage, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.isoLanguageIds]);
48176
48213
  var hooks = useMemo(function () {
48177
48214
  return {
48178
48215
  onCellSelectionChanged: function onCellSelectionChanged(event) {
@@ -48633,10 +48670,12 @@ function PartlistPos(_ref2) {
48633
48670
  }];
48634
48671
  }, []);
48635
48672
  var applicationData = useMemo(function () {
48673
+ var _catalog$isoLanguageI;
48636
48674
  return {
48637
48675
  catalogId: catalog._id,
48638
48676
  organizationId: organizationId,
48639
- partlistId: partlist._id
48677
+ partlistId: partlist._id,
48678
+ defaultLanguage: catalog.fallBackLanguage || ((_catalog$isoLanguageI = catalog.isoLanguageIds) === null || _catalog$isoLanguageI === void 0 ? void 0 : _catalog$isoLanguageI[0]) || 'DE'
48640
48679
  };
48641
48680
  }, [catalog, partlist, organizationId]);
48642
48681
  var apiInterface = useMemo(function () {
@@ -49110,11 +49149,13 @@ var TablePartlists = observer(function () {
49110
49149
  }]
49111
49150
  });
49112
49151
  var applicationData = useMemo(function () {
49152
+ var _selectedCatalog$isoL;
49113
49153
  return {
49114
49154
  organizationId: organizationId,
49115
- catalogId: catalogId
49155
+ catalogId: catalogId,
49156
+ defaultLanguage: (selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.fallBackLanguage) || (selectedCatalog === null || selectedCatalog === void 0 || (_selectedCatalog$isoL = selectedCatalog.isoLanguageIds) === null || _selectedCatalog$isoL === void 0 ? void 0 : _selectedCatalog$isoL[0]) || 'DE'
49116
49157
  };
49117
- }, [organizationId, catalogId]);
49158
+ }, [organizationId, catalogId, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.fallBackLanguage, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.isoLanguageIds]);
49118
49159
  var hooks = useMemo(function () {
49119
49160
  return {
49120
49161
  onCellSelectionChanged: function onCellSelectionChanged(event) {
@@ -49262,6 +49303,7 @@ function _objectSpread$u(e) { for (var r = 1; r < arguments.length; r++) { var t
49262
49303
  function PriceFeatureGroupPercentageSurcharge(_ref) {
49263
49304
  var priceFeatureGroup = _ref.priceFeatureGroup,
49264
49305
  catalogId = _ref.catalogId,
49306
+ defaultLanguage = _ref.defaultLanguage,
49265
49307
  apiConfig = _ref.apiConfig,
49266
49308
  setNodeDataValue = _ref.setNodeDataValue,
49267
49309
  setIsPercentage = _ref.setIsPercentage;
@@ -49306,9 +49348,10 @@ function PriceFeatureGroupPercentageSurcharge(_ref) {
49306
49348
  var applicationData = useMemo(function () {
49307
49349
  return {
49308
49350
  catalogId: catalogId,
49309
- priceFeatureGroupId: priceFeatureGroup._id
49351
+ priceFeatureGroupId: priceFeatureGroup._id,
49352
+ defaultLanguage: defaultLanguage
49310
49353
  };
49311
- }, [catalogId, priceFeatureGroup._id]);
49354
+ }, [catalogId, priceFeatureGroup._id, defaultLanguage]);
49312
49355
  var apiInterface = useMemo(function () {
49313
49356
  return {
49314
49357
  read: apiConfig.idmService + '/catalogs/${catalogId}/pricefeaturegroups/${priceFeatureGroupId}/percentagesurcharges',
@@ -49465,6 +49508,7 @@ function PriceFeatureGroupPercentageSurcharge(_ref) {
49465
49508
  function PriceFeatureGroupFinishes(_ref) {
49466
49509
  var priceFeatureGroup = _ref.priceFeatureGroup,
49467
49510
  catalogId = _ref.catalogId,
49511
+ defaultLanguage = _ref.defaultLanguage,
49468
49512
  apiConfig = _ref.apiConfig,
49469
49513
  setNodeDataValue = _ref.setNodeDataValue,
49470
49514
  setIsPercentage = _ref.setIsPercentage;
@@ -49504,9 +49548,10 @@ function PriceFeatureGroupFinishes(_ref) {
49504
49548
  var applicationData = useMemo(function () {
49505
49549
  return {
49506
49550
  catalogId: catalogId,
49507
- priceFeatureGroupId: priceFeatureGroup._id
49551
+ priceFeatureGroupId: priceFeatureGroup._id,
49552
+ defaultLanguage: defaultLanguage
49508
49553
  };
49509
- }, [catalogId, priceFeatureGroup._id]);
49554
+ }, [catalogId, priceFeatureGroup._id, defaultLanguage]);
49510
49555
  var hooks = useMemo(function () {
49511
49556
  return {
49512
49557
  onDataUpdated: function onDataUpdated(event) {
@@ -49656,6 +49701,7 @@ function PriceFeatureGroupFinishes(_ref) {
49656
49701
  function ownKeys$t(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
49657
49702
  function _objectSpread$t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$t(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
49658
49703
  var TablePriceFeatureGroups = observer(function () {
49704
+ var _selectedCatalog$isoL, _selectedCatalog$isoL2;
49659
49705
  var _useTranslation = useTranslation(),
49660
49706
  t = _useTranslation.t;
49661
49707
  var root = useStore();
@@ -49700,6 +49746,7 @@ var TablePriceFeatureGroups = observer(function () {
49700
49746
  elementProps: {
49701
49747
  priceFeatureGroup: selectedPriceFeatureGroup,
49702
49748
  catalogId: catalogId,
49749
+ defaultLanguage: (selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.fallBackLanguage) || (selectedCatalog === null || selectedCatalog === void 0 || (_selectedCatalog$isoL = selectedCatalog.isoLanguageIds) === null || _selectedCatalog$isoL === void 0 ? void 0 : _selectedCatalog$isoL[0]) || 'DE',
49703
49750
  apiConfig: apiConfig,
49704
49751
  setNodeDataValue: setNodeDataValue,
49705
49752
  setIsPercentage: setIsPercentage
@@ -49715,6 +49762,7 @@ var TablePriceFeatureGroups = observer(function () {
49715
49762
  elementProps: {
49716
49763
  priceFeatureGroup: selectedPriceFeatureGroup,
49717
49764
  catalogId: catalogId,
49765
+ defaultLanguage: (selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.fallBackLanguage) || (selectedCatalog === null || selectedCatalog === void 0 || (_selectedCatalog$isoL2 = selectedCatalog.isoLanguageIds) === null || _selectedCatalog$isoL2 === void 0 ? void 0 : _selectedCatalog$isoL2[0]) || 'DE',
49718
49766
  apiConfig: apiConfig,
49719
49767
  setNodeDataValue: setNodeDataValue,
49720
49768
  setIsPercentage: setIsPercentage
@@ -1 +1 @@
1
- {"version":3,"file":"Features.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Features.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAiB,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,QAAA,MAAM,QAAQ;oBAGM,MAAM;qBACL,WAAW;eACjB,SAAS;YACZ,oBAAoB,CAAC,GAAG,CAAC;6CA4KnC,CAAC;AAEH,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Features.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Features.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAiB,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,QAAA,MAAM,QAAQ;oBAGM,MAAM;qBACL,WAAW;eACjB,SAAS;YACZ,oBAAoB,CAAC,GAAG,CAAC;6CA6KnC,CAAC;AAEH,eAAe,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FeaturesWithFeatureClass.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/FeaturesWithFeatureClass.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAiB,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,QAAA,MAAM,wBAAwB;oBAGV,MAAM;qBACL,WAAW;oBACZ,MAAM;eACX,SAAS;YACZ,oBAAoB,CAAC,GAAG,CAAC;6CA+JnC,CAAC;AAEH,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"FeaturesWithFeatureClass.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/FeaturesWithFeatureClass.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAiB,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,QAAA,MAAM,wBAAwB;oBAGV,MAAM;qBACL,WAAW;oBACZ,MAAM;eACX,SAAS;YACZ,oBAAoB,CAAC,GAAG,CAAC;6CAgKnC,CAAC;AAEH,eAAe,wBAAwB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Items.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Items.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAiB,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAIvC,UAAU,UAAU;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC;IAC7B,aAAa,EAAE,GAAG,CAAC;IACnB,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;CACnC;AAED,QAAA,MAAM,KAAK,wFAgfT,CAAC;AAIH,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Items.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Items.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAiB,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAIvC,UAAU,UAAU;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC;IAC7B,aAAa,EAAE,GAAG,CAAC;IACnB,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;CACnC;AAED,QAAA,MAAM,KAAK,wFAifT,CAAC;AAIH,eAAe,KAAK,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
2
  import { ApiConfig } from '@crystaldesign/diva-core';
3
- export default function OptionCombinations({ decision, catalogId, apiConfig, setNodeDataValue, }: {
3
+ export default function OptionCombinations({ decision, catalogId, defaultLanguage, apiConfig, setNodeDataValue, }: {
4
4
  decision: any;
5
5
  catalogId: string;
6
+ defaultLanguage?: string;
6
7
  apiConfig: ApiConfig;
7
8
  setNodeDataValue: (data: Record<string, any>) => boolean;
8
9
  }): React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAQrE,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,QAAQ,EACR,SAAS,EACT,SAAS,EACT,gBAAgB,GACjB,EAAE;IACD,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;CAC1D,qBA0MA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAQrE,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,QAAQ,EACR,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,GACjB,EAAE;IACD,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;CAC1D,qBA2MA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAiB,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,QAAA,MAAM,OAAO;oBAGO,MAAM;qBACL,WAAW;eACjB,SAAS;YACZ,oBAAoB,CAAC,GAAG,CAAC;6CAkXnC,CAAC;AAEH,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAiB,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,QAAA,MAAM,OAAO;oBAGO,MAAM;qBACL,WAAW;eACjB,SAAS;YACZ,oBAAoB,CAAC,GAAG,CAAC;6CAmXnC,CAAC;AAEH,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PartlistPos.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PartlistPos.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAqC,MAAM,0BAA0B,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAmD,MAAM,4BAA4B,CAAC;AAenH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,cAAc,EACd,OAAO,EACP,QAAQ,EACR,SAAS,EACT,KAAK,EACL,gBAAgB,EAChB,gCAAgC,EAChC,uBAA2B,GAC5B,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAClC,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;IACzD,gHAAgH;IAChH,gCAAgC,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,0FAA0F;IAC1F,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,qBAiaA"}
1
+ {"version":3,"file":"PartlistPos.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PartlistPos.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAqC,MAAM,0BAA0B,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAmD,MAAM,4BAA4B,CAAC;AAenH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,cAAc,EACd,OAAO,EACP,QAAQ,EACR,SAAS,EACT,KAAK,EACL,gBAAgB,EAChB,gCAAgC,EAChC,uBAA2B,GAC5B,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAClC,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;IACzD,gHAAgH;IAChH,gCAAgC,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,0FAA0F;IAC1F,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,qBAkaA"}
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
2
  import { ApiConfig } from '@crystaldesign/diva-core';
3
- export default function PriceFeatureGroupFinishes({ priceFeatureGroup, catalogId, apiConfig, setNodeDataValue, setIsPercentage, }: {
3
+ export default function PriceFeatureGroupFinishes({ priceFeatureGroup, catalogId, defaultLanguage, apiConfig, setNodeDataValue, setIsPercentage, }: {
4
4
  priceFeatureGroup: any;
5
5
  catalogId: string;
6
+ defaultLanguage?: string;
6
7
  apiConfig: ApiConfig;
7
8
  setNodeDataValue: (data: Record<string, any>) => boolean;
8
9
  setIsPercentage: (isPercentage?: boolean) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"PriceFeatureGroupFinishes.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAKrE,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAChD,iBAAiB,EACjB,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,eAAe,GAChB,EAAE;IACD,iBAAiB,EAAE,GAAG,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;IACzD,eAAe,EAAE,CAAC,YAAY,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACnD,qBAwMA"}
1
+ {"version":3,"file":"PriceFeatureGroupFinishes.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAKrE,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAChD,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,EAChB,eAAe,GAChB,EAAE;IACD,iBAAiB,EAAE,GAAG,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;IACzD,eAAe,EAAE,CAAC,YAAY,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACnD,qBAyMA"}
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
2
  import { ApiConfig } from '@crystaldesign/diva-core';
3
- export default function PriceFeatureGroupPercentageSurcharge({ priceFeatureGroup, catalogId, apiConfig, setNodeDataValue, setIsPercentage, }: {
3
+ export default function PriceFeatureGroupPercentageSurcharge({ priceFeatureGroup, catalogId, defaultLanguage, apiConfig, setNodeDataValue, setIsPercentage, }: {
4
4
  priceFeatureGroup: any;
5
5
  catalogId: string;
6
+ defaultLanguage?: string;
6
7
  apiConfig: ApiConfig;
7
8
  setNodeDataValue: (data: Record<string, any>) => boolean;
8
9
  setIsPercentage: (isPercentage?: boolean) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"PriceFeatureGroupPercentageSurcharge.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAMrE,MAAM,CAAC,OAAO,UAAU,oCAAoC,CAAC,EAC3D,iBAAiB,EACjB,SAAS,EACT,SAAS,EACT,gBAAgB,EAChB,eAAe,GAChB,EAAE;IACD,iBAAiB,EAAE,GAAG,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;IACzD,eAAe,EAAE,CAAC,YAAY,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACnD,qBAkNA"}
1
+ {"version":3,"file":"PriceFeatureGroupPercentageSurcharge.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAMrE,MAAM,CAAC,OAAO,UAAU,oCAAoC,CAAC,EAC3D,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,EAChB,eAAe,GAChB,EAAE;IACD,iBAAiB,EAAE,GAAG,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;IACzD,eAAe,EAAE,CAAC,YAAY,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACnD,qBAmNA"}
@@ -1 +1 @@
1
- {"version":3,"file":"FeatureSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/components/PrefilterSelectors/FeatureSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;uCAMY;IAAE,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE;;;AA0B3D,wBAAyC"}
1
+ {"version":3,"file":"FeatureSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/components/PrefilterSelectors/FeatureSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;uCAcY;IAAE,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE;;;AA4B3D,wBAAyC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableDecisions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAcvE,eAAO,MAAM,cAAc;;CA2OzB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableDecisions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAcvE,eAAO,MAAM,cAAc;;CA6OzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePartlists/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAa5D,eAAO,MAAM,cAAc;;CA2OzB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePartlists/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAa5D,eAAO,MAAM,cAAc;;CA4OzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAgBvE,eAAO,MAAM,uBAAuB;;CA0OlC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAgBvE,eAAO,MAAM,uBAAuB;;CA4OlC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableSeries/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAe5D,eAAO,MAAM,WAAW;;CA0WtB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableSeries/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAe5D,eAAO,MAAM,WAAW;;CA2WtB,CAAC"}
@@ -8,5 +8,6 @@ export interface CatalogData {
8
8
  isoLanguageIds: string[];
9
9
  /** Present when loaded from catalog list (e.g. fields include major). */
10
10
  major?: number;
11
+ fallBackLanguage?: string;
11
12
  }
12
13
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,WAAW,6BAA8B,SAAQ,sBAAsB;IAC3E,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AACD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,yEAAyE;IACzE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,WAAW,6BAA8B,SAAQ,sBAAsB;IAC3E,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AACD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,yEAAyE;IACzE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"FeatureSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PrefilterSelectors/FeatureSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,oBAAoB;IAC5B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,QAAQ,GAAG,eAAe,CAAC;CACrC;gDAE8C,oBAAoB;;;AAkCnE,wBAAyC"}
1
+ {"version":3,"file":"FeatureSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PrefilterSelectors/FeatureSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,oBAAoB;IAC5B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,EAAE,QAAQ,GAAG,eAAe,CAAC;CACrC;gDAU8C,oBAAoB;;;AA8BnE,wBAAyC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAWvC,eAAO,MAAM,WAAW;;CAgJtB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAWvC,eAAO,MAAM,WAAW;;CAiJtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAavC,eAAO,MAAM,eAAe;;CA4M1B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAavC,eAAO,MAAM,eAAe;;CA6M1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableTabGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAavC,eAAO,MAAM,cAAc;;CAwHzB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableTabGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAavC,eAAO,MAAM,cAAc;;CAyHzB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "26.8.0-beta.34",
3
+ "version": "26.8.0-beta.35",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^6.5.0",
@@ -15,13 +15,13 @@
15
15
  "dependencies": {
16
16
  "@ant-design/icons": "6.1.0",
17
17
  "@babel/runtime": "7.24.7",
18
- "@crystaldesign/content-box": "26.8.0-beta.34",
19
- "@crystaldesign/content-item": "26.8.0-beta.34",
20
- "@crystaldesign/diva-core": "26.8.0-beta.34",
21
- "@crystaldesign/diva-utils": "26.8.0-beta.34",
22
- "@crystaldesign/media-upload": "26.8.0-beta.34",
23
- "@crystaldesign/rtf-editor": "26.8.0-beta.34",
24
- "@crystaldesign/spreadsheet": "26.8.0-beta.34",
18
+ "@crystaldesign/content-box": "26.8.0-beta.35",
19
+ "@crystaldesign/content-item": "26.8.0-beta.35",
20
+ "@crystaldesign/diva-core": "26.8.0-beta.35",
21
+ "@crystaldesign/diva-utils": "26.8.0-beta.35",
22
+ "@crystaldesign/media-upload": "26.8.0-beta.35",
23
+ "@crystaldesign/rtf-editor": "26.8.0-beta.35",
24
+ "@crystaldesign/spreadsheet": "26.8.0-beta.35",
25
25
  "@dnd-kit/core": "^6.1.0",
26
26
  "@dnd-kit/sortable": "^8.0.0",
27
27
  "@dnd-kit/utilities": "^3.2.2",
@@ -56,5 +56,5 @@
56
56
  },
57
57
  "module": "build/esm/index.js",
58
58
  "types": "./build/types/backoffice/src/index.d.ts",
59
- "gitHead": "fec961adaec806216857775bc6b509c822bc65bc"
59
+ "gitHead": "28782b1146c621314fb2440d6a49d77960ddec89"
60
60
  }