@crystaldesign/diva-backoffice 24.13.0-beta.26 → 24.13.0-beta.28

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.
@@ -29841,7 +29841,7 @@ function PackageSelector(_ref) {
29841
29841
  });
29842
29842
  }
29843
29843
 
29844
- function useModule (currentModules) {
29844
+ function useModule$1 (currentModules) {
29845
29845
  var root = useStore();
29846
29846
  var _useTranslation = useTranslation(),
29847
29847
  t = _useTranslation.t;
@@ -30051,7 +30051,7 @@ function useModule (currentModules) {
30051
30051
  function TableProperties () {
30052
30052
  var _useTranslation = useTranslation(),
30053
30053
  t = _useTranslation.t;
30054
- var _useModule = useModule(['properties']),
30054
+ var _useModule = useModule$1(['properties']),
30055
30055
  packageId = _useModule.packageId,
30056
30056
  organizationId = _useModule.organizationId,
30057
30057
  updateNavigation = _useModule.updateNavigation,
@@ -30632,7 +30632,7 @@ function useConfiguration (configuration) {
30632
30632
  };
30633
30633
  }
30634
30634
 
30635
- function PrefilterSelector (_ref) {
30635
+ function PrefilterSelector$1 (_ref) {
30636
30636
  var type = _ref.type,
30637
30637
  packageId = _ref.packageId,
30638
30638
  selectedSerie = _ref.selectedSerie,
@@ -30708,7 +30708,7 @@ var RenamingTable = function RenamingTable(_ref) {
30708
30708
  config = _ref.config;
30709
30709
  var _useTranslation = useTranslation(),
30710
30710
  t = _useTranslation.t;
30711
- var _useModule = useModule(['renaming', type]),
30711
+ var _useModule = useModule$1(['renaming', type]),
30712
30712
  packageId = _useModule.packageId,
30713
30713
  updateNavigation = _useModule.updateNavigation,
30714
30714
  apiConfig = _useModule.apiConfig;
@@ -30743,7 +30743,7 @@ var RenamingTable = function RenamingTable(_ref) {
30743
30743
  return updateNavigation(id);
30744
30744
  },
30745
30745
  enricherService: apiConfig.enricherService
30746
- }), /*#__PURE__*/jsx(PrefilterSelector, {
30746
+ }), /*#__PURE__*/jsx(PrefilterSelector$1, {
30747
30747
  type: type == 'items' ? 'item' : type == 'options' ? 'option' : type,
30748
30748
  packageId: packageId,
30749
30749
  selectedSerie: selectedSerie,
@@ -31182,7 +31182,7 @@ var ExclusivityTable = function ExclusivityTable(_ref) {
31182
31182
  _React$useState4 = _slicedToArray(_React$useState3, 2),
31183
31183
  selectedFeature = _React$useState4[0],
31184
31184
  setSelectedFeature = _React$useState4[1];
31185
- var _useModule = useModule(['exclusivity', type]),
31185
+ var _useModule = useModule$1(['exclusivity', type]),
31186
31186
  packageId = _useModule.packageId,
31187
31187
  updateNavigation = _useModule.updateNavigation,
31188
31188
  apiConfig = _useModule.apiConfig,
@@ -31218,7 +31218,7 @@ var ExclusivityTable = function ExclusivityTable(_ref) {
31218
31218
  return updateNavigation(id);
31219
31219
  },
31220
31220
  enricherService: apiConfig.enricherService
31221
- }), /*#__PURE__*/jsx(PrefilterSelector, {
31221
+ }), /*#__PURE__*/jsx(PrefilterSelector$1, {
31222
31222
  type: type.slice(1) //remove the first character 'e' from the type
31223
31223
  ,
31224
31224
  packageId: packageId,
@@ -31272,7 +31272,7 @@ var ExclusivityTable = function ExclusivityTable(_ref) {
31272
31272
  function TableTabGroups () {
31273
31273
  var _useTranslation = useTranslation(),
31274
31274
  t = _useTranslation.t;
31275
- var _useModule = useModule(['tabgroups']),
31275
+ var _useModule = useModule$1(['tabgroups']),
31276
31276
  packageId = _useModule.packageId,
31277
31277
  updateNavigation = _useModule.updateNavigation,
31278
31278
  apiConfig = _useModule.apiConfig,
@@ -31447,7 +31447,7 @@ function useNavigation () {
31447
31447
  searchParams = _useSearchParams2[0];
31448
31448
  var navigate = useNavigate();
31449
31449
  var _useParams = useParams(),
31450
- catalogId = _useParams.packageId;
31450
+ catalogId = _useParams.catalogId;
31451
31451
 
31452
31452
  /**
31453
31453
  *
@@ -31473,7 +31473,61 @@ function TableCatalogs () {
31473
31473
  t = _useTranslation.t;
31474
31474
  var _useNavigation = useNavigation(),
31475
31475
  organizationId = _useNavigation.organizationId,
31476
- apiConfig = _useNavigation.apiConfig;
31476
+ apiConfig = _useNavigation.apiConfig,
31477
+ updateNavigation = _useNavigation.updateNavigation;
31478
+ var formatDic = {
31479
+ A: t('backoffice.idmCatalogEditor.items.label.arbeitsplattenhersteller'),
31480
+ B: t('backoffice.idmCatalogEditor.items.label.badmoebelhersteller'),
31481
+ G: t('backoffice.idmCatalogEditor.items.label.geraetehersteller'),
31482
+ K: t('backoffice.idmCatalogEditor.items.label.kuechenmöbelhersteller'),
31483
+ O: t('backoffice.idmCatalogEditor.items.label.bueromoebelhersteller'),
31484
+ P: t('backoffice.idmCatalogEditor.items.label.polstermoebelhersteller'),
31485
+ S: t('backoffice.idmCatalogEditor.items.label.sanitaerhersteller'),
31486
+ W: t('backoffice.idmCatalogEditor.items.label.wohnmoebelhersteller'),
31487
+ Z: t('backoffice.idmCatalogEditor.items.label.zubehoerhersteller')
31488
+ };
31489
+ var catalogMarkDic = {
31490
+ K: t('backoffice.idmCatalog.general.label.catalogMark.K'),
31491
+ B: t('backoffice.idmCatalog.general.label.catalogMark.B'),
31492
+ V: t('backoffice.idmCatalog.general.label.catalogMark.V'),
31493
+ F: t('backoffice.idmCatalog.general.label.catalogMark.F')
31494
+ };
31495
+ var formOfAddressDic = {
31496
+ 1: t('backoffice.idmCatalog.general.label.formOfAddress.1'),
31497
+ 2: t('backoffice.idmCatalog.general.label.formOfAddress.2')
31498
+ };
31499
+ var priceDependentDic = {
31500
+ 0: t('backoffice.idmCatalog.general.label.priceDependent.0'),
31501
+ 1: t('backoffice.idmCatalog.general.label.priceDependent.1')
31502
+ };
31503
+ var unitDic = {
31504
+ 0: t('backoffice.idmCatalog.general.label.unit.0'),
31505
+ 1: t('backoffice.idmCatalog.general.label.unit.1'),
31506
+ 10: t('backoffice.idmCatalog.general.label.unit.10'),
31507
+ 100: t('backoffice.idmCatalog.general.label.unit.100'),
31508
+ 1000: t('backoffice.idmCatalog.general.label.unit.1000'),
31509
+ 1000000: t('backoffice.idmCatalog.general.label.unit.1000000'),
31510
+ 1000000000: t('backoffice.idmCatalog.general.label.unit.1000000000')
31511
+ };
31512
+
31513
+ /*formatValue: (value: number) => {
31514
+ const displayNames: { [key: number]: string } = {
31515
+ 0: 'Stückpreis',
31516
+ 1: 'mm',
31517
+ 10: 'cm',
31518
+ 100: 'cm²',
31519
+ 1000: 'm oder cm³',
31520
+ 1000000: 'm²',
31521
+ 1000000000: 'm³',
31522
+ };
31523
+ return value + ' - ' + displayNames[value];
31524
+ },*/
31525
+
31526
+ var roundingTypeDic = {
31527
+ 1: t('backoffice.idmCatalog.general.label.roundingType.1'),
31528
+ 2: t('backoffice.idmCatalog.general.label.roundingType.2'),
31529
+ 3: t('backoffice.idmCatalog.general.label.roundingType.3')
31530
+ };
31477
31531
  var applicationData = useMemo(function () {
31478
31532
  return {
31479
31533
  organizationId: organizationId
@@ -31489,6 +31543,13 @@ function TableCatalogs () {
31489
31543
  }), /*#__PURE__*/jsx(Spreadsheet, {
31490
31544
  gridId: 'catalogs-grid',
31491
31545
  applicationData: applicationData,
31546
+ rowActions: [{
31547
+ icon: /*#__PURE__*/jsx(EditOutlined, {}),
31548
+ action: function action(_ref) {
31549
+ var selectedNodes = _ref.selectedNodes;
31550
+ updateNavigation(selectedNodes[0].data._id, ['items']);
31551
+ }
31552
+ }],
31492
31553
  configuration: {
31493
31554
  type: 'dotnetSSM',
31494
31555
  apiInterface: {
@@ -31565,21 +31626,9 @@ function TableCatalogs () {
31565
31626
  field: 'format',
31566
31627
  cellDataType: 'enum',
31567
31628
  customParams: {
31568
- values: ['A', 'B', 'G', 'K', 'O', 'P', 'S', 'W', 'Z'],
31569
- formatValue: function formatValue(value) {
31570
- var displayNames = {
31571
- A: 'Arbeitsplattenhersteller',
31572
- B: 'Badmöbelhersteller',
31573
- G: 'Gerätehersteller',
31574
- K: 'Küchenmöbelhersteller',
31575
- O: 'Büromöbelhersteller',
31576
- P: 'Polstermöbelhersteller',
31577
- S: 'Sanitärhersteller',
31578
- W: 'Wohnmöbelhersteller',
31579
- Z: 'Zubehörhersteller'
31580
- };
31581
- return value + ' - ' + displayNames[value];
31582
- }
31629
+ displayTexts: formatDic,
31630
+ values: Object.keys(formatDic),
31631
+ displayLabelTemplate: '${name} (${value})'
31583
31632
  }
31584
31633
  }]
31585
31634
  }, {
@@ -31637,16 +31686,9 @@ function TableCatalogs () {
31637
31686
  field: 'catalogMark',
31638
31687
  cellDataType: 'enum',
31639
31688
  customParams: {
31640
- values: ['K', 'B', 'V', 'G'],
31641
- formatValue: function formatValue(value) {
31642
- var displayNames = {
31643
- K: 'Katalogdaten',
31644
- B: 'Blockdaten mit Preisen',
31645
- V: 'Blockdaten ohne (aber fiktiven) Preise',
31646
- F: 'Korrekturupdate'
31647
- };
31648
- return value + ' - ' + displayNames[value];
31649
- }
31689
+ displayTexts: catalogMarkDic,
31690
+ values: Object.keys(catalogMarkDic),
31691
+ displayLabelTemplate: '${name} (${value})'
31650
31692
  }
31651
31693
  }, {
31652
31694
  headerName: 'backoffice.idmCatalog.general.label.catalogMergeType',
@@ -31759,14 +31801,9 @@ function TableCatalogs () {
31759
31801
  field: 'formOfAddress1',
31760
31802
  cellDataType: 'enum',
31761
31803
  customParams: {
31762
- values: [1, 2],
31763
- formatValue: function formatValue(value) {
31764
- var displayNames = {
31765
- 1: 'Frau',
31766
- 2: 'Herr'
31767
- };
31768
- return value + ' - ' + displayNames[value];
31769
- }
31804
+ displayTexts: formOfAddressDic,
31805
+ values: Object.keys(formOfAddressDic),
31806
+ displayLabelTemplate: '${name} (${value})'
31770
31807
  }
31771
31808
  }, {
31772
31809
  headerName: 'backoffice.idmCatalog.general.label.department',
@@ -31809,14 +31846,9 @@ function TableCatalogs () {
31809
31846
  field: 'formOfAddress2',
31810
31847
  cellDataType: 'enum',
31811
31848
  customParams: {
31812
- values: [1, 2],
31813
- formatValue: function formatValue(value) {
31814
- var displayNames = {
31815
- 1: 'Frau',
31816
- 2: 'Herr'
31817
- };
31818
- return value + ' - ' + displayNames[value];
31819
- }
31849
+ displayTexts: formOfAddressDic,
31850
+ values: Object.keys(formOfAddressDic),
31851
+ displayLabelTemplate: '${name} (${value})'
31820
31852
  }
31821
31853
  }, {
31822
31854
  headerName: 'backoffice.idmCatalog.general.label.department',
@@ -31854,95 +31886,54 @@ function TableCatalogs () {
31854
31886
  field: 'widthX',
31855
31887
  cellDataType: 'enum',
31856
31888
  customParams: {
31857
- values: [0, 1],
31858
- formatValue: function formatValue(value) {
31859
- var displayNames = {
31860
- 0: 'default',
31861
- 1: 'Preis abhängig von der Breite'
31862
- };
31863
- return value + ' - ' + displayNames[value];
31864
- }
31889
+ displayTexts: priceDependentDic,
31890
+ values: Object.keys(priceDependentDic),
31891
+ displayLabelTemplate: '${name} (${value})'
31865
31892
  }
31866
31893
  }, {
31867
31894
  headerName: 'backoffice.idmCatalog.general.label.depthY',
31868
31895
  field: 'depthY',
31869
31896
  cellDataType: 'enum',
31870
31897
  customParams: {
31871
- values: [0, 1],
31872
- formatValue: function formatValue(value) {
31873
- var displayNames = {
31874
- 0: 'default',
31875
- 1: 'Preis abhängig von der Tiefe'
31876
- };
31877
- return value + ' - ' + displayNames[value];
31878
- }
31898
+ displayTexts: priceDependentDic,
31899
+ values: Object.keys(priceDependentDic),
31900
+ displayLabelTemplate: '${name} (${value})'
31879
31901
  }
31880
31902
  }, {
31881
31903
  headerName: 'backoffice.idmCatalog.general.label.heightZ',
31882
31904
  field: 'heightZ',
31883
31905
  cellDataType: 'enum',
31884
31906
  customParams: {
31885
- values: [0, 1],
31886
- formatValue: function formatValue(value) {
31887
- var displayNames = {
31888
- 0: 'default',
31889
- 1: 'Preis abhängig von der Höhe'
31890
- };
31891
- return value + ' - ' + displayNames[value];
31892
- }
31907
+ displayTexts: priceDependentDic,
31908
+ values: Object.keys(priceDependentDic),
31909
+ displayLabelTemplate: '${name} (${value})'
31893
31910
  }
31894
31911
  }, {
31895
31912
  headerName: 'backoffice.idmCatalog.general.label.basicUnit',
31896
31913
  field: 'basicUnit',
31897
31914
  cellDataType: 'enum',
31898
31915
  customParams: {
31899
- values: [0, 1, 10, 100, 1000, 1000000, 1000000000],
31900
- formatValue: function formatValue(value) {
31901
- var displayNames = {
31902
- 0: 'Stückpreis',
31903
- 1: 'mm',
31904
- 10: 'cm',
31905
- 100: 'cm²',
31906
- 1000: 'm oder cm³',
31907
- 1000000: 'm²',
31908
- 1000000000: 'm³'
31909
- };
31910
- return value + ' - ' + displayNames[value];
31911
- }
31916
+ displayTexts: unitDic,
31917
+ values: Object.keys(unitDic),
31918
+ displayLabelTemplate: '${name} (${value})'
31912
31919
  }
31913
31920
  }, {
31914
31921
  headerName: 'backoffice.idmCatalog.general.label.roundingUnit',
31915
31922
  field: 'roundingUnit',
31916
31923
  cellDataType: 'enum',
31917
31924
  customParams: {
31918
- values: [0, 1, 10, 100, 1000, 1000000, 1000000000],
31919
- formatValue: function formatValue(value) {
31920
- var displayNames = {
31921
- 0: 'Stückpreis',
31922
- 1: 'mm',
31923
- 10: 'cm',
31924
- 100: 'cm²',
31925
- 1000: 'm oder cm³',
31926
- 1000000: 'm²',
31927
- 1000000000: 'm³'
31928
- };
31929
- return value + ' - ' + displayNames[value];
31930
- }
31925
+ displayTexts: unitDic,
31926
+ values: Object.keys(unitDic),
31927
+ displayLabelTemplate: '${name} (${value})'
31931
31928
  }
31932
31929
  }, {
31933
31930
  headerName: 'backoffice.idmCatalog.general.label.roundingType',
31934
31931
  field: 'roundingType',
31935
31932
  cellDataType: 'enum',
31936
31933
  customParams: {
31937
- values: [1, 2, 3],
31938
- formatValue: function formatValue(value) {
31939
- var displayNames = {
31940
- 1: 'aufrunden',
31941
- 10: 'abrunden',
31942
- 100: 'kaufmännisches Runden'
31943
- };
31944
- return value + ' - ' + displayNames[value];
31945
- }
31934
+ displayTexts: roundingTypeDic,
31935
+ values: Object.keys(roundingTypeDic),
31936
+ displayLabelTemplate: '${name} (${value})'
31946
31937
  }
31947
31938
  }, {
31948
31939
  headerName: 'backoffice.idmCatalog.general.label.basicPriceDependent',
@@ -31986,6 +31977,477 @@ function TableCatalogs () {
31986
31977
  });
31987
31978
  }
31988
31979
 
31980
+ function CatalogSelector(_ref) {
31981
+ var selectedCatalog = _ref.selectedCatalog,
31982
+ setSelectedCatalog = _ref.setSelectedCatalog,
31983
+ idmService = _ref.idmService;
31984
+ var _useTranslation = useTranslation(),
31985
+ t = _useTranslation.t;
31986
+ return /*#__PURE__*/jsx(SimpleSelect, {
31987
+ apiInterface: {
31988
+ read: idmService + '/v3.0/catalogs'
31989
+ },
31990
+ apiMapping: {
31991
+ type: 'query',
31992
+ map: [{
31993
+ globalValue: 'organizationId',
31994
+ targetField: 'organizationId'
31995
+ }]
31996
+ },
31997
+ selectMapping: {
31998
+ label: '${name}',
31999
+ value: '${_id}'
32000
+ },
32001
+ title: t('backoffice.idmCatalog.catalogs.label.catalogId'),
32002
+ value: {
32003
+ _id: selectedCatalog
32004
+ },
32005
+ onChange: function onChange(value) {
32006
+ return setSelectedCatalog(value._id);
32007
+ },
32008
+ search: true,
32009
+ style: {
32010
+ width: 200
32011
+ }
32012
+ });
32013
+ }
32014
+
32015
+ function PrefilterSelector (_ref) {
32016
+ var type = _ref.type,
32017
+ catalogId = _ref.catalogId,
32018
+ selectedSerie = _ref.selectedSerie,
32019
+ setSelectedSerie = _ref.setSelectedSerie,
32020
+ selectedFeature = _ref.selectedFeature,
32021
+ setSelectedFeature = _ref.setSelectedFeature,
32022
+ idmService = _ref.idmService;
32023
+ var _useTranslation = useTranslation(),
32024
+ t = _useTranslation.t,
32025
+ i18n = _useTranslation.i18n;
32026
+ return /*#__PURE__*/jsxs(Fragment, {
32027
+ children: [type === 'item' && /*#__PURE__*/jsx(SimpleSelect, {
32028
+ apiInterface: {
32029
+ read: idmService + '/v3.0/catalogs/' + catalogId + '/series'
32030
+ },
32031
+ selectMapping: {
32032
+ label: "${seriesName.".concat(i18n.language.toLocaleUpperCase(), "}"),
32033
+ value: '${_id}'
32034
+ },
32035
+ autoSelectFirst: true,
32036
+ title: t('backoffice.menu.items.label.IDMCatalogEditorTable.serie'),
32037
+ value: selectedSerie,
32038
+ onChange: function onChange(value) {
32039
+ return setSelectedSerie ? setSelectedSerie(value) : null;
32040
+ },
32041
+ search: true,
32042
+ style: {
32043
+ width: 200
32044
+ }
32045
+ }), type === 'option' && /*#__PURE__*/jsx(SimpleSelect, {
32046
+ apiInterface: {
32047
+ read: idmService + '/v3.0/catalogs/' + catalogId + '/features'
32048
+ },
32049
+ selectMapping: {
32050
+ label: "${featureText.".concat(i18n.language.toLocaleUpperCase(), "} (${featureNo})"),
32051
+ value: '${_id}'
32052
+ },
32053
+ autoSelectFirst: true,
32054
+ title: t('backoffice.menu.items.label.IDMCatalogEditorTable.serie'),
32055
+ value: selectedFeature,
32056
+ onChange: function onChange(value) {
32057
+ return setSelectedFeature ? setSelectedFeature(value) : null;
32058
+ },
32059
+ search: true,
32060
+ style: {
32061
+ width: 200
32062
+ }
32063
+ })]
32064
+ });
32065
+ }
32066
+
32067
+ function useModule (currentModules) {
32068
+ var root = useStore();
32069
+ var _useTranslation = useTranslation(),
32070
+ t = _useTranslation.t;
32071
+ var _useNavigation = useNavigation(),
32072
+ updateNavigation = _useNavigation.updateNavigation,
32073
+ organizationId = _useNavigation.organizationId,
32074
+ apiConfig = _useNavigation.apiConfig,
32075
+ catalogId = _useNavigation.catalogId;
32076
+ var location = useLocation();
32077
+ var _useSearchParams = useSearchParams(),
32078
+ _useSearchParams2 = _slicedToArray(_useSearchParams, 1),
32079
+ searchParams = _useSearchParams2[0];
32080
+ var menuItems = useMemo(function () {
32081
+ return [{
32082
+ key: 'items',
32083
+ style: {
32084
+ margin: 0
32085
+ },
32086
+ icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
32087
+ label: /*#__PURE__*/jsx(Link, {
32088
+ to: 'catalogs/idm/catalogs/' + catalogId + '/items' + (searchParams ? '?' + searchParams.toString() : ''),
32089
+ children: t('backoffice.menu.items.label.IDMCatalogEditorTableItems')
32090
+ })
32091
+ }];
32092
+ }, [catalogId]);
32093
+ if (!catalogId) throw new Error('catalogId is required');
32094
+ var updateNavigationModule = useCallback(function (currentCatalog) {
32095
+ var modules = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : currentModules;
32096
+ updateNavigation(currentCatalog, modules, '../');
32097
+ }, [updateNavigation]);
32098
+ useEffect(function () {
32099
+ root.contentStore.updateAdditionalElement('catalogs', menuItems, currentModules);
32100
+ }, [menuItems, location.pathname]);
32101
+
32102
+ //updating tools
32103
+
32104
+ useEffect(function () {
32105
+ var tools = [];
32106
+ if (catalogId) tools.push({
32107
+ name: 'Konfigurator',
32108
+ parameters: {
32109
+ packageId: catalogId
32110
+ },
32111
+ type: 'Configurator',
32112
+ id: 'WYSIWYG',
32113
+ startWidth: 600,
32114
+ defaultPinned: true
32115
+ });
32116
+ root.contentStore.tools = tools;
32117
+ return function () {
32118
+ root.contentStore.tools = [];
32119
+ };
32120
+ }, [catalogId]);
32121
+ return {
32122
+ updateNavigation: updateNavigationModule,
32123
+ organizationId: organizationId,
32124
+ apiConfig: apiConfig,
32125
+ catalogId: catalogId
32126
+ };
32127
+ }
32128
+
32129
+ function TableItems () {
32130
+ var _useTranslation = useTranslation(),
32131
+ t = _useTranslation.t;
32132
+ var _useModule = useModule(['items']),
32133
+ catalogId = _useModule.catalogId,
32134
+ updateNavigation = _useModule.updateNavigation,
32135
+ apiConfig = _useModule.apiConfig,
32136
+ organizationId = _useModule.organizationId;
32137
+ var _React$useState = React.useState(),
32138
+ _React$useState2 = _slicedToArray(_React$useState, 2),
32139
+ selectedSerie = _React$useState2[0],
32140
+ setSelectedSerie = _React$useState2[1];
32141
+ var itemIdentificationDic = {
32142
+ K: t('backoffice.idmCatalogEditor.items.label.catalogArticle'),
32143
+ 1: t('backoffice.idmCatalogEditor.items.label.planningAdvice'),
32144
+ 2: t('backoffice.idmCatalogEditor.items.label.combination')
32145
+ };
32146
+ var typeKeyDic = {
32147
+ 1: t('backoffice.idmCatalogEditor.items.label.sessel'),
32148
+ 2: t('backoffice.idmCatalogEditor.items.label.clubchair'),
32149
+ 3: t('backoffice.idmCatalogEditor.items.label.relaxSessel'),
32150
+ 4: t('backoffice.idmCatalogEditor.items.label.longChair'),
32151
+ 5: t('backoffice.idmCatalogEditor.items.label.sofa'),
32152
+ 6: t('backoffice.idmCatalogEditor.items.label.zwischenlement'),
32153
+ 7: t('backoffice.idmCatalogEditor.items.label.eckelement'),
32154
+ 8: t('backoffice.idmCatalogEditor.items.label.einzelliege'),
32155
+ 9: t('backoffice.idmCatalogEditor.items.label.hocker'),
32156
+ 10: t('backoffice.idmCatalogEditor.items.label.kissen'),
32157
+ 11: t('backoffice.idmCatalogEditor.items.label.anstelltisch'),
32158
+ 12: t('backoffice.idmCatalogEditor.items.label.esstisch'),
32159
+ 13: t('backoffice.idmCatalogEditor.items.label.kombinationen'),
32160
+ 14: t('backoffice.idmCatalogEditor.items.label.abschlusselement'),
32161
+ 15: t('backoffice.idmCatalogEditor.items.label.bettsofa'),
32162
+ 16: t('backoffice.idmCatalogEditor.items.label.sitzbank'),
32163
+ 17: t('backoffice.idmCatalogEditor.items.label.stuhl'),
32164
+ 18: t('backoffice.idmCatalogEditor.items.label.fussbank'),
32165
+ 19: t('backoffice.idmCatalogEditor.items.label.kopfstuetze'),
32166
+ 20: t('backoffice.idmCatalogEditor.items.label.leuchten'),
32167
+ 21: t('backoffice.idmCatalogEditor.items.label.teppiche'),
32168
+ 22: t('backoffice.idmCatalogEditor.items.label.kleinteile'),
32169
+ 23: t('backoffice.idmCatalogEditor.items.label.polsterbetten'),
32170
+ 24: t('backoffice.idmCatalogEditor.items.label.polsterbettgestelle'),
32171
+ 25: t('backoffice.idmCatalogEditor.items.label.metrage'),
32172
+ 26: t('backoffice.idmCatalogEditor.items.label.sonstiges')
32173
+ };
32174
+ return /*#__PURE__*/jsxs(Fragment, {
32175
+ children: [/*#__PURE__*/jsx(Descriptions$1, {
32176
+ title: /*#__PURE__*/jsxs("div", {
32177
+ children: [t('backoffice.menu.items.label.IDMCatalogEditor.items'), /*#__PURE__*/jsxs(Space$1, {
32178
+ style: {
32179
+ "float": 'right'
32180
+ },
32181
+ children: [/*#__PURE__*/jsx(CatalogSelector, {
32182
+ selectedCatalog: catalogId,
32183
+ setSelectedCatalog: function setSelectedCatalog(id) {
32184
+ return updateNavigation(id);
32185
+ },
32186
+ idmService: apiConfig.idmService
32187
+ }), /*#__PURE__*/jsx(PrefilterSelector, {
32188
+ type: 'item',
32189
+ catalogId: catalogId,
32190
+ selectedSerie: selectedSerie,
32191
+ setSelectedSerie: setSelectedSerie,
32192
+ idmService: apiConfig.idmService
32193
+ })]
32194
+ })]
32195
+ })
32196
+ }), selectedSerie && /*#__PURE__*/jsx(Spreadsheet, {
32197
+ gridId: 'crud-grid_items',
32198
+ applicationData: {
32199
+ organizationId: organizationId,
32200
+ catalogId: catalogId
32201
+ },
32202
+ configuration: {
32203
+ type: 'dotnetSSM',
32204
+ idCol: 'typeNo',
32205
+ apiInterface: {
32206
+ read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/series/' + (selectedSerie === null || selectedSerie === void 0 ? void 0 : selectedSerie._id) + '/items',
32207
+ create: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/series/' + (selectedSerie === null || selectedSerie === void 0 ? void 0 : selectedSerie._id) + '/items',
32208
+ restore: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/series/' + (selectedSerie === null || selectedSerie === void 0 ? void 0 : selectedSerie._id) + '/items/${typeNo}',
32209
+ "delete": apiConfig.idmService + '/v3.0/catalogs/${catalogId}/series/' + (selectedSerie === null || selectedSerie === void 0 ? void 0 : selectedSerie._id) + '/items/${typeNo}',
32210
+ update: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/series/' + (selectedSerie === null || selectedSerie === void 0 ? void 0 : selectedSerie._id) + '/items/${typeNo}'
32211
+ },
32212
+ dateFormat: 'LL',
32213
+ floatingFilter: true,
32214
+ colDef: [{
32215
+ field: 'typeNo'
32216
+ }, {
32217
+ headerName: 'backoffice.idmCatalogEditor.items.label.priceTypeRef',
32218
+ field: 'priceTypeRef',
32219
+ cellDataType: 'number'
32220
+ }, {
32221
+ headerName: 'backoffice.idmCatalogEditor.general.label.sequenceNo',
32222
+ field: 'sequenceNo',
32223
+ cellDataType: 'number'
32224
+ }, {
32225
+ headerName: 'backoffice.idmCatalog.common.label.texts',
32226
+ children: [{
32227
+ headerName: 'backoffice.idmCatalog.general.label.shortText',
32228
+ marryChildren: true,
32229
+ children: [{
32230
+ field: 'shortText.DE',
32231
+ headerName: 'backoffice.idmEnricher.general.label.DE',
32232
+ isDictionary: true
32233
+ }, {
32234
+ field: 'shortText.EN',
32235
+ headerName: 'backoffice.idmEnricher.general.label.EN',
32236
+ isDictionary: true
32237
+ }, {
32238
+ field: 'shortText.FR',
32239
+ headerName: 'backoffice.idmEnricher.general.label.FR',
32240
+ isDictionary: true
32241
+ }, {
32242
+ field: 'shortText.IT',
32243
+ headerName: 'backoffice.idmEnricher.general.label.IT',
32244
+ isDictionary: true
32245
+ }]
32246
+ }, {
32247
+ headerName: 'backoffice.idmCatalog.general.label.planningAdvice',
32248
+ marryChildren: true,
32249
+ children: [{
32250
+ field: 'planningAdvice.DE',
32251
+ headerName: 'backoffice.idmEnricher.general.label.DE',
32252
+ isDictionary: true
32253
+ }, {
32254
+ field: 'planningAdvice.EN',
32255
+ headerName: 'backoffice.idmEnricher.general.label.EN',
32256
+ isDictionary: true
32257
+ }, {
32258
+ field: 'planningAdvice.FR',
32259
+ headerName: 'backoffice.idmEnricher.general.label.FR',
32260
+ isDictionary: true
32261
+ }, {
32262
+ field: 'planningAdvice.IT',
32263
+ headerName: 'backoffice.idmEnricher.general.label.IT',
32264
+ isDictionary: true
32265
+ }]
32266
+ }]
32267
+ }, {
32268
+ headerName: 'backoffice.idmCatalog.items.label.articleNumbers',
32269
+ children: [{
32270
+ headerName: 'backoffice.idmCatalogEditor.items.label.edpNumber',
32271
+ field: 'edpNumber'
32272
+ }, {
32273
+ headerName: 'backoffice.idmCatalogEditor.items.label.eanNumber',
32274
+ field: 'eanNumber'
32275
+ }, {
32276
+ headerName: 'backoffice.idmCatalogEditor.items.label.salesNumber',
32277
+ field: 'salesNumber'
32278
+ }, {
32279
+ headerName: 'backoffice.idmCatalog.general.items.itemIdentification',
32280
+ field: 'itemIdentification',
32281
+ cellDataType: 'enum',
32282
+ customParams: {
32283
+ displayTexts: itemIdentificationDic,
32284
+ values: Object.keys(itemIdentificationDic),
32285
+ displayLabelTemplate: '${name} (${value})'
32286
+ }
32287
+ }]
32288
+ }, {
32289
+ headerName: 'backoffice.idmCatalog.items.label.common',
32290
+ children: [{
32291
+ headerName: 'backoffice.idmCatalog.general.items.typeKey',
32292
+ field: 'typeKey',
32293
+ cellDataType: 'enum',
32294
+ customParams: {
32295
+ displayTexts: typeKeyDic,
32296
+ values: Object.keys(typeKeyDic),
32297
+ displayLabelTemplate: '${name} (${value})'
32298
+ }
32299
+ }, {
32300
+ headerName: 'backoffice.idmCatalogEditor.items.label.eClassNo',
32301
+ field: 'eClassNo',
32302
+ cellDataType: 'number'
32303
+ }, {
32304
+ headerName: 'backoffice.idmCatalogEditor.items.label.catalogPage',
32305
+ field: 'catalogPage'
32306
+ }, {
32307
+ headerName: 'backoffice.idmCatalogEditor.items.label.minimumDeliveryTime',
32308
+ field: 'minimumDeliveryTime',
32309
+ cellDataType: 'number'
32310
+ }]
32311
+ }, {
32312
+ headerName: 'backoffice.idmCatalog.items.label.configurator',
32313
+ children: [{
32314
+ headerName: 'backoffice.idmCatalogEditor.items.label.partListExclusive',
32315
+ field: 'partListExclusive',
32316
+ cellDataType: 'boolean'
32317
+ }, {
32318
+ headerName: 'backoffice.idmCatalogEditor.items.label.partlist',
32319
+ field: 'partListRef',
32320
+ cellDataType: 'lookup',
32321
+ customParams: {
32322
+ nameField: 'partListRef',
32323
+ apiInterface: {
32324
+ read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/partlists'
32325
+ },
32326
+ lookupValue: 'partlistKey',
32327
+ lookupKey: 'partlistKey'
32328
+ }
32329
+ }, {
32330
+ field: 'decisionRefs',
32331
+ headerName: 'backoffice.idmCatalogEditor.items.label.decisionRefs',
32332
+ cellDataType: 'lookup',
32333
+ editable: true,
32334
+ customParams: {
32335
+ nameField: 'decisionRefsDisplayTexts',
32336
+ filterCellType: 'number',
32337
+ displayLabelTemplate: '${name} (${value})',
32338
+ apiInterface: {
32339
+ read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions'
32340
+ },
32341
+ lookupValue: 'decisionText',
32342
+ lookupKey: 'decisionNo',
32343
+ lookupKeyFilterType: {
32344
+ type: 'equals',
32345
+ filterType: 'number'
32346
+ },
32347
+ multiple: true,
32348
+ translated: true
32349
+ },
32350
+ additionalFields: ['decisionRefsDisplayTexts'],
32351
+ isDictionary: true
32352
+ }]
32353
+ }, {
32354
+ headerName: 'backoffice.idmCatalog.items.label.validation',
32355
+ children: [{
32356
+ headerName: 'backoffice.idmCatalog.general.label.validFromDate',
32357
+ field: 'validFromDate',
32358
+ cellDataType: 'dateString'
32359
+ }, {
32360
+ headerName: 'backoffice.idmCatalog.general.label.validUntilDate',
32361
+ field: 'validUntilDate',
32362
+ cellDataType: 'dateString'
32363
+ }]
32364
+ }, {
32365
+ headerName: 'backoffice.idmCatalog.items.label.measurements',
32366
+ children: [{
32367
+ headerName: 'backoffice.idmCatalogEditor.items.label.weightBrutto',
32368
+ field: 'weightBrutto',
32369
+ cellDataType: 'number'
32370
+ }, {
32371
+ headerName: 'backoffice.idmCatalogEditor.items.label.weightNetto',
32372
+ field: 'weightNetto',
32373
+ cellDataType: 'number'
32374
+ }, {
32375
+ headerName: 'backoffice.idmCatalogEditor.items.label.volume',
32376
+ field: 'volume',
32377
+ cellDataType: 'number'
32378
+ }, {
32379
+ headerName: 'backoffice.idmCatalogEditor.items.label.widthBasicShapeNominalValue',
32380
+ field: 'widthBasicShapeNominalValue',
32381
+ cellDataType: 'number'
32382
+ }, {
32383
+ headerName: 'backoffice.idmCatalogEditor.items.label.widthBasicShapeFrom',
32384
+ field: 'widthBasicShapeFrom',
32385
+ cellDataType: 'number'
32386
+ }, {
32387
+ headerName: 'backoffice.idmCatalogEditor.items.label.widthBasicShapeTo',
32388
+ field: 'widthBasicShapeTo',
32389
+ cellDataType: 'number'
32390
+ }, {
32391
+ headerName: 'backoffice.idmCatalogEditor.items.label.widthBasicShapeStepSize',
32392
+ field: 'widthBasicShapeStepSize',
32393
+ cellDataType: 'number'
32394
+ }, {
32395
+ headerName: 'backoffice.idmCatalogEditor.items.label.heightBasicShapeNominalValue',
32396
+ field: 'heightBasicShapeNominalValue',
32397
+ cellDataType: 'number'
32398
+ }, {
32399
+ headerName: 'backoffice.idmCatalogEditor.items.label.heightBasicShapeFrom',
32400
+ field: 'heightBasicShapeFrom',
32401
+ cellDataType: 'number'
32402
+ }, {
32403
+ headerName: 'backoffice.idmCatalogEditor.items.label.heightBasicShapeTo',
32404
+ field: 'heightBasicShapeTo',
32405
+ cellDataType: 'number'
32406
+ }, {
32407
+ headerName: 'backoffice.idmCatalogEditor.items.label.heightBasicShapeStepSize',
32408
+ field: 'heightBasicShapeStepSize',
32409
+ cellDataType: 'number'
32410
+ }, {
32411
+ headerName: 'backoffice.idmCatalogEditor.items.label.depthBasicShapeNominalValue',
32412
+ field: 'depthBasicShapeNominalValue',
32413
+ cellDataType: 'number'
32414
+ }, {
32415
+ headerName: 'backoffice.idmCatalogEditor.items.label.depthBasicShapeFrom',
32416
+ field: 'depthBasicShapeFrom',
32417
+ cellDataType: 'number'
32418
+ }, {
32419
+ headerName: 'backoffice.idmCatalogEditor.items.label.depthBasicShapeTo',
32420
+ field: 'depthBasicShapeTo',
32421
+ cellDataType: 'number'
32422
+ }, {
32423
+ headerName: 'backoffice.idmCatalogEditor.items.label.depthBasicShapeStepSize',
32424
+ field: 'depthBasicShapeStepSize',
32425
+ cellDataType: 'number'
32426
+ }]
32427
+ }, {
32428
+ headerName: 'backoffice.idmCatalogEditor.general.label.lastUpdatedDate',
32429
+ field: 'lastUpdatedDate',
32430
+ cellDataType: 'dateString',
32431
+ editable: false
32432
+ }, {
32433
+ headerName: 'backoffice.idmCatalogEditor.general.label.createdDate',
32434
+ field: 'createdDate',
32435
+ cellDataType: 'dateString',
32436
+ editable: false
32437
+ }, {
32438
+ headerName: 'backoffice.idmCatalogEditor.general.label.createdBy',
32439
+ field: 'createdByDisplayText',
32440
+ editable: false
32441
+ }, {
32442
+ headerName: 'backoffice.idmCatalogEditor.general.label.lastUpdatedBy',
32443
+ field: 'lastUpdatedByDisplayText',
32444
+ editable: false
32445
+ }]
32446
+ }
32447
+ })]
32448
+ });
32449
+ }
32450
+
31989
32451
  function IDMCatalogEditor (_ref) {
31990
32452
  _objectDestructuringEmpty(_ref);
31991
32453
  return /*#__PURE__*/jsx("div", {
@@ -31998,12 +32460,15 @@ function IDMCatalogEditor (_ref) {
31998
32460
  });
31999
32461
  }
32000
32462
  function Content$1() {
32001
- return /*#__PURE__*/jsx(Routes, {
32002
- children: /*#__PURE__*/jsx(Route, {
32463
+ return /*#__PURE__*/jsxs(Routes, {
32464
+ children: [/*#__PURE__*/jsx(Route, {
32003
32465
  index: true,
32004
32466
  path: "",
32005
32467
  element: /*#__PURE__*/jsx(TableCatalogs, {})
32006
- })
32468
+ }), /*#__PURE__*/jsx(Route, {
32469
+ path: ":catalogId/items",
32470
+ element: /*#__PURE__*/jsx(TableItems, {})
32471
+ })]
32007
32472
  }) /*at the moment nothing else*/;
32008
32473
  }
32009
32474
 
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export default function CatalogSelector({ selectedCatalog, setSelectedCatalog, idmService, }: {
3
+ selectedCatalog: string | undefined;
4
+ setSelectedCatalog: (id: string) => void;
5
+ idmService: string;
6
+ }): React.JSX.Element;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/components/CatalogSelector/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,eAAe,EACf,kBAAkB,EAClB,UAAU,GACX,EAAE;IACD,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,UAAU,EAAE,MAAM,CAAC;CACpB,qBA0BA"}
@@ -1,12 +1,11 @@
1
1
  import React from 'react';
2
- export default function ({ type, packageId, selectedSerie, setSelectedSerie, selectedFeature, setSelectedFeature, enricherService, dataSet, }: {
2
+ export default function ({ type, catalogId, selectedSerie, setSelectedSerie, selectedFeature, setSelectedFeature, idmService, }: {
3
3
  type: string;
4
- packageId: string;
5
- selectedSerie: any;
6
- setSelectedSerie: (value: any) => void;
7
- selectedFeature: any;
8
- setSelectedFeature: (value: any) => void;
9
- enricherService: string;
10
- dataSet: 'lookup' | 'exclusivities';
4
+ catalogId: string;
5
+ selectedSerie?: any;
6
+ setSelectedSerie?: (value: any) => void;
7
+ selectedFeature?: any;
8
+ setSelectedFeature?: (value: any) => void;
9
+ idmService: string;
11
10
  }): React.JSX.Element;
12
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/components/PrefilterSelector/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,CAAC,OAAO,WAAW,EACvB,IAAI,EACJ,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,OAAO,GACR,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,GAAG,CAAC;IACnB,gBAAgB,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC,eAAe,EAAE,GAAG,CAAC;IACrB,kBAAkB,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACzC,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,QAAQ,GAAG,eAAe,CAAC;CACrC,qBAqCA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/components/PrefilterSelector/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,CAAC,OAAO,WAAW,EACvB,IAAI,EACJ,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,UAAU,GACX,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACxC,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAC1C,UAAU,EAAE,MAAM,CAAC;CACpB,qBAqCA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAExD,UAAU,KAAK;IACb,aAAa,EAAE,6BAA6B,CAAC;IAC7C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,EAAE,KAAK,qBAMjC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAGxD,UAAU,KAAK;IACb,aAAa,EAAE,6BAA6B,CAAC;IAC7C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,EAAE,KAAK,qBAMjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableCatalogs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAWlD,MAAM,CAAC,OAAO,gCAonBb"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableCatalogs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAQlD,MAAM,CAAC,OAAO,gCAgnBb"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export default function (): React.JSX.Element;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableItems/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,MAAM,CAAC,OAAO,gCAmXb"}
@@ -1 +1 @@
1
- {"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/useModule.tsx"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;uCAW5B,MAAM,YAAW,MAAM,EAAE;;;;EAmC7C"}
1
+ {"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/useModule.tsx"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;uCAyB5B,MAAM,YAAW,MAAM,EAAE;;;;EAmC7C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "24.13.0-beta.26",
3
+ "version": "24.13.0-beta.28",
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": "5.4.0",
17
17
  "@babel/runtime": "7.24.7",
18
- "@crystaldesign/content-box": "24.13.0-beta.26",
19
- "@crystaldesign/content-item": "24.13.0-beta.26",
20
- "@crystaldesign/diva-core": "24.13.0-beta.26",
21
- "@crystaldesign/diva-utils": "24.13.0-beta.26",
22
- "@crystaldesign/media-upload": "24.13.0-beta.26",
23
- "@crystaldesign/rtf-editor": "24.13.0-beta.26",
24
- "@crystaldesign/spreadsheet": "24.13.0-beta.26",
18
+ "@crystaldesign/content-box": "24.13.0-beta.28",
19
+ "@crystaldesign/content-item": "24.13.0-beta.28",
20
+ "@crystaldesign/diva-core": "24.13.0-beta.28",
21
+ "@crystaldesign/diva-utils": "24.13.0-beta.28",
22
+ "@crystaldesign/media-upload": "24.13.0-beta.28",
23
+ "@crystaldesign/rtf-editor": "24.13.0-beta.28",
24
+ "@crystaldesign/spreadsheet": "24.13.0-beta.28",
25
25
  "@google/model-viewer": "3.5.0",
26
26
  "ag-charts-community": "^10.1.0",
27
27
  "ag-charts-react": "^10.1.0",
@@ -51,5 +51,5 @@
51
51
  },
52
52
  "module": "build/esm/index.js",
53
53
  "types": "./build/types/backoffice/src/index.d.ts",
54
- "gitHead": "89c730a9a4e7010fb4d6465656bf90c716f15c0e"
54
+ "gitHead": "d44cd5dd9f3b58f1bf238e887457b710ab453dba"
55
55
  }
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- export default function PackageSelector({ selectedPackage, setSelectedPackage, enricherService, }: {
3
- selectedPackage: string | undefined;
4
- setSelectedPackage: (id: string) => void;
5
- enricherService: string;
6
- }): React.JSX.Element;
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/components/PackageSelector/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,eAAe,EACf,kBAAkB,EAClB,eAAe,GAChB,EAAE;IACD,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,eAAe,EAAE,MAAM,CAAC;CACzB,qBA0BA"}