@crystaldesign/diva-backoffice 25.5.0-beta.1 → 25.5.0-beta.11

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 (18) hide show
  1. package/build/esm/index.js +77 -321
  2. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Options.d.ts +1 -2
  3. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Options.d.ts.map +1 -1
  4. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useModule.d.ts.map +1 -1
  5. package/build/types/backoffice/src/ui/IDMCatalogEditor/index.d.ts.map +1 -1
  6. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatures/index.d.ts.map +1 -1
  7. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableOptions/index.d.ts.map +1 -1
  8. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/tableConfiguration.d.ts +30 -0
  9. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/tableConfiguration.d.ts.map +1 -1
  10. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/optionsConfig.d.ts.map +1 -1
  11. package/build/types/backoffice/src/ui/JsonEditor/index.d.ts +1 -1
  12. package/build/types/backoffice/src/ui/JsonEditor/index.d.ts.map +1 -1
  13. package/build/types/backoffice/src/ui/Table/BaseTable/index.d.ts.map +1 -1
  14. package/package.json +9 -9
  15. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogOptions.d.ts +0 -9
  16. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogOptions.d.ts.map +0 -1
  17. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableCatalogOptions/index.d.ts +0 -5
  18. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableCatalogOptions/index.d.ts.map +0 -1
@@ -25419,7 +25419,7 @@ var TableWrapper = function TableWrapper(_ref) {
25419
25419
  style: {
25420
25420
  "float": 'right'
25421
25421
  },
25422
- children: [state.configuration.histogram && state.configuration.histogram.type == 'default' && /*#__PURE__*/jsx(Button, {
25422
+ children: [state.configuration.histogram && state.configuration.histogram.type == 'default' && root.actions.userHasPermission(state.configuration.histogram.permission) && /*#__PURE__*/jsx(Button, {
25423
25423
  type: "default",
25424
25424
  size: 'middle',
25425
25425
  onClick: function onClick() {
@@ -32159,7 +32159,28 @@ var getConfig$2 = function getConfig(isoLanguageIds) {
32159
32159
  }, ['origOptionText', 'optionText']), createTranslatedColumnConfig('translatedOptionCommentText', 'backoffice.idmEnricher.renaming.label.optionCommentText', isoLanguageIds, false, 'withPlaceholder', {
32160
32160
  placeHolderField: 'origOptionCommentText',
32161
32161
  combinedField: 'optionCommentText'
32162
- }, ['origOptionCommentText', 'optionCommentText'])]
32162
+ }, ['origOptionCommentText', 'optionCommentText']), {
32163
+ field: 'featureNos',
32164
+ headerName: 'backoffice.idmCatalogEditor.catalogoptions.label.featureIds',
32165
+ cellDataType: 'lookup',
32166
+ editable: false,
32167
+ required: false,
32168
+ customParams: {
32169
+ nameField: 'featureNosDisplayTexts',
32170
+ filterCellType: 'objectId',
32171
+ displayLabelTemplate: '${name} (${value})',
32172
+ lookupValue: 'featureText',
32173
+ lookupKey: 'featureNo',
32174
+ lookupKeyFilterType: {
32175
+ type: 'equals',
32176
+ filterType: 'text'
32177
+ },
32178
+ multiple: true,
32179
+ translated: true
32180
+ },
32181
+ additionalFields: ['featureNosDisplayTexts'],
32182
+ isDictionary: true
32183
+ }]
32163
32184
  };
32164
32185
  };
32165
32186
 
@@ -32219,44 +32240,6 @@ var SeriesSelector$2 = function SeriesSelector(_ref) {
32219
32240
  };
32220
32241
  var SeriesSelector$3 = observer(SeriesSelector$2);
32221
32242
 
32222
- var FeatureSelector$2 = function FeatureSelector(_ref) {
32223
- var modules = _ref.modules,
32224
- dataSet = _ref.dataSet;
32225
- var _useTranslation = useTranslation(),
32226
- t = _useTranslation.t,
32227
- i18n = _useTranslation.i18n;
32228
- var _useEnricherContext = useEnricherContext(modules),
32229
- packageId = _useEnricherContext.packageId,
32230
- enricherService = _useEnricherContext.enricherService,
32231
- setSelectedFeature = _useEnricherContext.setSelectedFeature,
32232
- lookupFeatureSelectorState = _useEnricherContext.lookupFeatureSelectorState,
32233
- exclusivitiesFeatureSelectorState = _useEnricherContext.exclusivitiesFeatureSelectorState,
32234
- selectedFeature = _useEnricherContext.selectedFeature;
32235
- var state = dataSet === 'lookup' ? lookupFeatureSelectorState : exclusivitiesFeatureSelectorState;
32236
- return /*#__PURE__*/jsx(SimpleSelect, {
32237
- sharedState: state,
32238
- apiInterface: {
32239
- read: enricherService + '/packages/' + packageId + '/' + dataSet + "/features?fields=featureText[".concat(i18n.language.toLocaleUpperCase(), "];featureNo;_id")
32240
- },
32241
- selectMapping: {
32242
- label: "${featureText.".concat(i18n.language.toLocaleUpperCase(), "} (${featureNo})"),
32243
- value: '${featureNo}'
32244
- },
32245
- autoSelectFirst: true,
32246
- title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingFeature'),
32247
- value: selectedFeature,
32248
- onChange: function onChange(value) {
32249
- return setSelectedFeature(value);
32250
- },
32251
- search: true,
32252
- style: {
32253
- width: 200
32254
- },
32255
- popupClassName: 'ag-custom-component-popup'
32256
- }, packageId);
32257
- };
32258
- var FeatureSelector$3 = observer(FeatureSelector$2);
32259
-
32260
32243
  var RenamingCatalog = function RenamingCatalog() {
32261
32244
  return /*#__PURE__*/jsx(RenamingTable, {
32262
32245
  type: "catalogs",
@@ -32303,8 +32286,7 @@ var RenamingTable = observer(function (_ref) {
32303
32286
  packageId = _useModule.packageId,
32304
32287
  apiConfig = _useModule.apiConfig,
32305
32288
  selectedPackage = _useModule.selectedPackage,
32306
- selectedSerie = _useModule.selectedSerie,
32307
- selectedFeature = _useModule.selectedFeature;
32289
+ selectedSerie = _useModule.selectedSerie;
32308
32290
  var baseConfiguration = useMemo(function () {
32309
32291
  return getConfig((selectedPackage === null || selectedPackage === void 0 ? void 0 : selectedPackage.isoLanguageIds) || ['DE'], t);
32310
32292
  }, [selectedPackage, i18n.language]);
@@ -32315,32 +32297,21 @@ var RenamingTable = observer(function (_ref) {
32315
32297
  }, [packageId]);
32316
32298
  var prevPreFilter = useRef();
32317
32299
  var preFilter = useMemo(function () {
32318
- if (type === 'options' && !selectedFeature) {
32319
- return prevPreFilter.current;
32320
- } else if (type === 'items' && selectedSerie) {
32300
+ if (type === 'items' && selectedSerie) {
32321
32301
  var newFilter = {
32322
32302
  filterType: 'text',
32323
32303
  type: 'equals',
32324
- colId: 'featureNo',
32325
- filter: selectedFeature === null || selectedFeature === void 0 ? void 0 : selectedFeature.featureNo
32304
+ colId: 'serieNo',
32305
+ filter: selectedSerie === null || selectedSerie === void 0 ? void 0 : selectedSerie.serieNo
32326
32306
  };
32327
32307
  prevPreFilter.current = newFilter;
32328
32308
  return newFilter;
32329
32309
  }
32330
32310
  if (type === 'items' && !selectedSerie) {
32331
32311
  return prevPreFilter.current;
32332
- } else if (type === 'options' && selectedFeature) {
32333
- var _newFilter = {
32334
- filterType: 'text',
32335
- type: 'equals',
32336
- colId: 'featureNo',
32337
- filter: selectedFeature === null || selectedFeature === void 0 ? void 0 : selectedFeature.featureNo
32338
- };
32339
- prevPreFilter.current = _newFilter;
32340
- return _newFilter;
32341
32312
  }
32342
32313
  return undefined;
32343
- }, [type, selectedSerie, selectedFeature]);
32314
+ }, [type, selectedSerie]);
32344
32315
  var apiInterface = useMemo(function () {
32345
32316
  return {
32346
32317
  read: apiConfig.enricherService + '/packages/${packageId}/renamings/' + type,
@@ -32371,7 +32342,7 @@ var RenamingTable = observer(function (_ref) {
32371
32342
  };
32372
32343
  }, [apiInterface, baseConfiguration.colDef]);
32373
32344
  var showTable = useMemo(function () {
32374
- return selectedPackage && (!['items', 'options'].includes(type) || type === 'items' && preFilter || type === 'options' && preFilter);
32345
+ return selectedPackage && (!['items'].includes(type) || type === 'items' && preFilter);
32375
32346
  }, [type, preFilter, selectedPackage]);
32376
32347
  return /*#__PURE__*/jsxs(Fragment, {
32377
32348
  children: [/*#__PURE__*/jsx(Descriptions$1, {
@@ -32385,9 +32356,6 @@ var RenamingTable = observer(function (_ref) {
32385
32356
  }), type === 'items' && /*#__PURE__*/jsx(SeriesSelector$3, {
32386
32357
  modules: ['renaming', type],
32387
32358
  dataSet: 'lookup'
32388
- }), type === 'options' && /*#__PURE__*/jsx(FeatureSelector$3, {
32389
- modules: ['renaming', type],
32390
- dataSet: 'lookup'
32391
32359
  })]
32392
32360
  })]
32393
32361
  })
@@ -32687,6 +32655,27 @@ function getConfig(t) {
32687
32655
  },
32688
32656
  option: {
32689
32657
  colDef: [{
32658
+ field: 'featureNos',
32659
+ headerName: 'backoffice.idmCatalogEditor.catalogoptions.label.featureIds',
32660
+ cellDataType: 'lookup',
32661
+ editable: false,
32662
+ required: false,
32663
+ customParams: {
32664
+ nameField: 'featureIdsDisplayTexts',
32665
+ filterCellType: 'objectId',
32666
+ displayLabelTemplate: '${name} (${value})',
32667
+ lookupValue: 'featureText',
32668
+ lookupKey: 'featureNo',
32669
+ lookupKeyFilterType: {
32670
+ type: 'equals',
32671
+ filterType: 'text'
32672
+ },
32673
+ multiple: true,
32674
+ translated: true
32675
+ },
32676
+ additionalFields: ['featureIdsDisplayTexts'],
32677
+ isDictionary: true
32678
+ }, {
32690
32679
  field: 'optionKey',
32691
32680
  headerName: 'backoffice.idmEnricher.renaming.label.optionKey',
32692
32681
  editable: false
@@ -32838,19 +32827,21 @@ var ExclusivityTable = observer(function (_ref) {
32838
32827
  apiConfig = _useModule.apiConfig,
32839
32828
  organizationId = _useModule.organizationId,
32840
32829
  selectedPackage = _useModule.selectedPackage,
32841
- selectedSerie = _useModule.selectedSerie,
32842
- selectedFeature = _useModule.selectedFeature;
32830
+ selectedSerie = _useModule.selectedSerie;
32843
32831
  var apiInterface = useMemo(function () {
32844
32832
  var patchId = '${_id}';
32845
32833
  if (type === 'eitem') patchId = '${typeNo}';
32846
32834
  if (type === 'eoption') patchId = '${optionKey}';
32835
+ var patchId2 = '${_id}';
32836
+ if (type === 'eoption') patchId2 = '${featureNos}';
32847
32837
  var subType = 'features';
32848
32838
  if (type === 'eserie' || type === 'eitem') subType = 'series';
32849
32839
  if (type === 'edetailInfo') subType = 'detailInfos';
32840
+ if (type === 'eoption') subType = 'options';
32850
32841
  var listType = type === 'eitem' ? 'items' : 'options';
32851
32842
  return {
32852
- read: !['eitem', 'eoption'].includes(type) ? apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType : apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType + '/${subTypeId}/' + listType,
32853
- update: !['eitem', 'eoption'].includes(type) ? apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType + '/' + patchId : apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType + '/${subTypeId}/' + listType + '/' + patchId
32843
+ read: !['eitem'].includes(type) ? apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType : apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType + '/${subTypeId}/' + listType,
32844
+ update: !['eitem', 'eoption'].includes(type) ? apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType + '/' + patchId : type === 'eoption' ? apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType + '/' + patchId + '?featureNos=' + patchId2 : apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType + '/${subTypeId}/' + listType + '/' + patchId
32854
32845
  };
32855
32846
  }, [type]);
32856
32847
  var oldDataRef = useRef();
@@ -32858,20 +32849,17 @@ var ExclusivityTable = observer(function (_ref) {
32858
32849
  if (type === 'eitem' && !selectedSerie) {
32859
32850
  return oldDataRef.current;
32860
32851
  }
32861
- if (type === 'eoption' && !selectedFeature) {
32862
- return oldDataRef.current;
32863
- }
32864
32852
  var newData = {
32865
32853
  type: type,
32866
32854
  packageId: packageId,
32867
32855
  organizationId: organizationId,
32868
- subTypeId: type === 'eitem' ? selectedSerie === null || selectedSerie === void 0 ? void 0 : selectedSerie._id : selectedFeature === null || selectedFeature === void 0 ? void 0 : selectedFeature._id
32856
+ subTypeId: selectedSerie === null || selectedSerie === void 0 ? void 0 : selectedSerie._id
32869
32857
  };
32870
32858
  oldDataRef.current = newData;
32871
32859
  return newData;
32872
- }, [type, packageId, organizationId, selectedSerie, selectedFeature]);
32860
+ }, [type, packageId, organizationId, selectedSerie]);
32873
32861
  var showTable = useMemo(function () {
32874
- return selectedPackage && (!['eitem', 'eoption'].includes(type) || type === 'eitem' && applicationData || type === 'eoption' && applicationData);
32862
+ return selectedPackage && (!['eitem'].includes(type) || type === 'eitem' && applicationData);
32875
32863
  }, [type, applicationData, selectedPackage]);
32876
32864
  var configuration = useMemo(function () {
32877
32865
  return {
@@ -32902,7 +32890,7 @@ var ExclusivityTable = observer(function (_ref) {
32902
32890
  cellDataType: 'objectId'
32903
32891
  }])
32904
32892
  };
32905
- }, [apiInterface, selectedSerie, selectedFeature, config.colDef]);
32893
+ }, [apiInterface, selectedSerie, config.colDef]);
32906
32894
  return /*#__PURE__*/jsxs(Fragment, {
32907
32895
  children: [/*#__PURE__*/jsx(Descriptions$1, {
32908
32896
  title: /*#__PURE__*/jsxs("div", {
@@ -32915,9 +32903,6 @@ var ExclusivityTable = observer(function (_ref) {
32915
32903
  }), type === 'eitem' && /*#__PURE__*/jsx(SeriesSelector$3, {
32916
32904
  modules: ['exclusivity', type],
32917
32905
  dataSet: 'exclusivities'
32918
- }), type === 'eoption' && /*#__PURE__*/jsx(FeatureSelector$3, {
32919
- modules: ['exclusivity', type],
32920
- dataSet: 'exclusivities'
32921
32906
  })]
32922
32907
  })]
32923
32908
  })
@@ -35737,16 +35722,6 @@ function useModule (currentModules) {
35737
35722
  to: 'catalogs/idmeditor/catalogs/' + catalogId + '/options' + (searchParams ? '?' + searchParams.toString() : ''),
35738
35723
  children: t('backoffice.menu.items.label.IDMCatalogEditorTableOptions')
35739
35724
  })
35740
- }, {
35741
- key: 'catalogoptions',
35742
- style: {
35743
- margin: 0
35744
- },
35745
- icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
35746
- label: /*#__PURE__*/jsx(Link, {
35747
- to: 'catalogs/idmeditor/catalogs/' + catalogId + '/catalogoptions' + (searchParams ? '?' + searchParams.toString() : ''),
35748
- children: t('backoffice.menu.items.label.IDMCatalogEditorTableCatalogOptions')
35749
- })
35750
35725
  }, {
35751
35726
  key: 'optiongroups',
35752
35727
  style: {
@@ -36353,114 +36328,6 @@ var TableSeries = observer(function () {
36353
36328
  });
36354
36329
  });
36355
36330
 
36356
- function Options(_ref) {
36357
- var organizationId = _ref.organizationId,
36358
- selectedCatalog = _ref.selectedCatalog,
36359
- selectedFeature = _ref.selectedFeature,
36360
- apiConfig = _ref.apiConfig;
36361
- var applicationData = useMemo(function () {
36362
- return {
36363
- organizationId: organizationId,
36364
- catalogId: selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog._id,
36365
- selectedFeature: selectedFeature
36366
- };
36367
- }, [organizationId, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog._id, selectedFeature]);
36368
- var configuration = useMemo(function () {
36369
- return {
36370
- type: 'dotnetSSM',
36371
- idCol: 'optionKey',
36372
- apiInterface: {
36373
- read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/${selectedFeature}/options',
36374
- create: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/${selectedFeature}/options',
36375
- restore: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/${selectedFeature}/options/${optionKey}',
36376
- "delete": apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/${selectedFeature}/options/${optionKey}',
36377
- update: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/${selectedFeature}/options/${optionKey}'
36378
- },
36379
- dateFormat: 'DD.MM.YYYY, HH:mm:ss',
36380
- floatingFilter: true,
36381
- colDef: [{
36382
- field: 'optionKey',
36383
- required: true,
36384
- unique: true
36385
- }, {
36386
- headerName: 'backoffice.idmCatalogEditor.general.label.sequenceNo',
36387
- field: 'sequenceNo',
36388
- cellDataType: 'number'
36389
- }, createTranslatedColumnConfig('optionText', 'backoffice.idmCatalog.options.label.optionText', selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.isoLanguageIds, true), createTranslatedColumnConfig('optionCommentText', 'backoffice.idmCatalog.options.label.optionCommentText', selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.isoLanguageIds), {
36390
- headerName: 'backoffice.idmCatalog.options.label.optionFreeText',
36391
- field: 'optionFreeText',
36392
- cellDataType: 'boolean'
36393
- }, {
36394
- headerName: 'backoffice.idmCatalog.items.label.validation',
36395
- children: [{
36396
- headerName: 'backoffice.idmCatalog.general.label.validFromDate',
36397
- field: 'validFromDate',
36398
- cellDataType: 'dateString'
36399
- }, {
36400
- headerName: 'backoffice.idmCatalog.general.label.validUntilDate',
36401
- field: 'validUntilDate',
36402
- cellDataType: 'dateString'
36403
- }]
36404
- }, {
36405
- headerName: 'backoffice.idmCatalog.options.label.material',
36406
- children: [{
36407
- headerName: 'backoffice.idmCatalog.options.label.materialNo',
36408
- field: 'materialNo'
36409
- }, {
36410
- headerName: 'backoffice.idmCatalog.options.label.materialColorR',
36411
- field: 'materialColorR',
36412
- cellDataType: 'number'
36413
- }, {
36414
- headerName: 'backoffice.idmCatalog.options.label.materialColorG',
36415
- field: 'materialColorG',
36416
- cellDataType: 'number'
36417
- }, {
36418
- headerName: 'backoffice.idmCatalog.options.label.materialColorB',
36419
- field: 'materialColorR',
36420
- cellDataType: 'number'
36421
- }]
36422
- }, {
36423
- headerName: 'backoffice.idmCatalog.options.label.measurement',
36424
- children: [{
36425
- headerName: 'backoffice.idmCatalog.options.label.measureNo',
36426
- field: 'measureNo',
36427
- cellDataType: 'number'
36428
- }, {
36429
- headerName: 'backoffice.idmCatalog.options.label.measureValue',
36430
- field: 'measureValue',
36431
- cellDataType: 'number'
36432
- }, {
36433
- headerName: 'backoffice.idmCatalog.options.label.measureUnit',
36434
- field: 'measureUnit'
36435
- }]
36436
- }, {
36437
- headerName: 'backoffice.idmCatalog.general.label.lastUpdatedDate',
36438
- field: 'lastUpdatedDate',
36439
- cellDataType: 'dateString',
36440
- editable: false
36441
- }, {
36442
- headerName: 'backoffice.idmCatalog.general.label.lastUpdatedByDisplayText',
36443
- field: 'lastUpdatedByDisplayText',
36444
- editable: false
36445
- }, {
36446
- headerName: 'backoffice.idmCatalog.general.label.createdDate',
36447
- field: 'createdDate',
36448
- cellDataType: 'dateString',
36449
- editable: false
36450
- }, {
36451
- headerName: 'backoffice.idmCatalog.general.label.createdByDisplayText',
36452
- field: 'createdByDisplayText',
36453
- editable: false
36454
- }]
36455
- };
36456
- }, [selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.isoLanguageIds]);
36457
- return /*#__PURE__*/jsx(Spreadsheet, {
36458
- gridId: 'crud-grid_options',
36459
- applicationData: applicationData,
36460
- configuration: configuration
36461
- }, selectedFeature);
36462
- }
36463
-
36464
36331
  function Features(_ref) {
36465
36332
  var organizationId = _ref.organizationId,
36466
36333
  selectedCatalog = _ref.selectedCatalog,
@@ -36625,52 +36492,10 @@ function Features(_ref) {
36625
36492
  var TableFeatures = observer(function () {
36626
36493
  var _useTranslation = useTranslation(),
36627
36494
  t = _useTranslation.t;
36628
- var root = useStore();
36629
36495
  var _useModule = useModule(['features']),
36630
36496
  selectedCatalog = _useModule.selectedCatalog,
36631
36497
  organizationId = _useModule.organizationId,
36632
36498
  apiConfig = _useModule.apiConfig;
36633
- var _React$useState = React.useState(),
36634
- _React$useState2 = _slicedToArray(_React$useState, 2),
36635
- selectedFeature = _React$useState2[0],
36636
- setSelectedFeature = _React$useState2[1];
36637
- useEffect(function () {
36638
- if (selectedFeature !== null && selectedFeature !== void 0 && selectedFeature._id) {
36639
- root.contentStore.bottomToolBar.tools = [{
36640
- id: 'options',
36641
- name: t('backoffice.menu.items.label.IDMCatalogEditorTableOptions'),
36642
- elementComponent: Options,
36643
- elementProps: {
36644
- organizationId: organizationId,
36645
- selectedCatalog: selectedCatalog,
36646
- selectedFeature: selectedFeature._id,
36647
- apiConfig: apiConfig
36648
- },
36649
- startWidth: 300,
36650
- defaultPinned: false,
36651
- defaultOpen: false
36652
- }];
36653
- } else {
36654
- root.contentStore.bottomToolBar.tools = [];
36655
- }
36656
- }, [selectedFeature]);
36657
- useEffect(function () {
36658
- //remove options table, when features are unmounted
36659
- return function () {
36660
- root.contentStore.bottomToolBar.tools = [];
36661
- };
36662
- }, []);
36663
- var hooks = useMemo(function () {
36664
- return {
36665
- onCellSelectionChanged: function onCellSelectionChanged(event) {
36666
- if (event.selection.length == 1) {
36667
- setSelectedFeature(event.selection[0].node.data);
36668
- } else {
36669
- setSelectedFeature(null);
36670
- }
36671
- }
36672
- };
36673
- }, []);
36674
36499
  return /*#__PURE__*/jsxs(Fragment, {
36675
36500
  children: [/*#__PURE__*/jsx(Descriptions$1, {
36676
36501
  title: /*#__PURE__*/jsxs("div", {
@@ -36686,77 +36511,12 @@ var TableFeatures = observer(function () {
36686
36511
  }), selectedCatalog && /*#__PURE__*/jsx(Features, {
36687
36512
  organizationId: organizationId,
36688
36513
  selectedCatalog: selectedCatalog,
36689
- apiConfig: apiConfig,
36690
- hooks: hooks
36691
- })]
36692
- });
36693
- });
36694
-
36695
- var FeatureSelector = function FeatureSelector(_ref) {
36696
- var modules = _ref.modules;
36697
- var _useTranslation = useTranslation(),
36698
- t = _useTranslation.t,
36699
- i18n = _useTranslation.i18n;
36700
- var _useCatalogContext = useCatalogContext(modules),
36701
- catalogId = _useCatalogContext.catalogId,
36702
- idmService = _useCatalogContext.idmService,
36703
- selectedFeature = _useCatalogContext.selectedFeature,
36704
- setSelectedFeature = _useCatalogContext.setSelectedFeature,
36705
- featureSelectorState = _useCatalogContext.featureSelectorState;
36706
- return /*#__PURE__*/jsx(SimpleSelect, {
36707
- sharedState: featureSelectorState,
36708
- apiInterface: {
36709
- read: idmService + '/v3.0/catalogs/' + catalogId + "/features?fields=featureText[".concat(i18n.language.toLocaleUpperCase(), "];featureNo;_id")
36710
- },
36711
- selectMapping: {
36712
- label: "${featureText.".concat(i18n.language.toLocaleUpperCase(), "} (${featureNo})"),
36713
- value: '${_id}'
36714
- },
36715
- autoSelectFirst: true,
36716
- title: t('backoffice.menu.items.label.IDMCatalogEditorTableFeatures'),
36717
- value: selectedFeature,
36718
- onChange: setSelectedFeature,
36719
- search: true,
36720
- style: {
36721
- width: 200
36722
- },
36723
- popupClassName: 'ag-custom-component-popup'
36724
- }, catalogId);
36725
- };
36726
- var FeatureSelector$1 = observer(FeatureSelector);
36727
-
36728
- var TableOptions = observer(function () {
36729
- var _useTranslation = useTranslation(),
36730
- t = _useTranslation.t;
36731
- var _useModule = useModule(['options']),
36732
- selectedCatalog = _useModule.selectedCatalog,
36733
- selectedFeature = _useModule.selectedFeature,
36734
- apiConfig = _useModule.apiConfig,
36735
- organizationId = _useModule.organizationId;
36736
- return /*#__PURE__*/jsxs(Fragment, {
36737
- children: [/*#__PURE__*/jsx(Descriptions$1, {
36738
- title: /*#__PURE__*/jsxs("div", {
36739
- children: [t('backoffice.menu.items.label.IDMCatalogEditorTableOptions'), /*#__PURE__*/jsxs(Space$1, {
36740
- style: {
36741
- "float": 'right'
36742
- },
36743
- children: [/*#__PURE__*/jsx(CatalogSelector$1, {
36744
- modules: ['options']
36745
- }), /*#__PURE__*/jsx(FeatureSelector$1, {
36746
- modules: ['options']
36747
- })]
36748
- })]
36749
- })
36750
- }), selectedFeature && selectedCatalog && /*#__PURE__*/jsx(Options, {
36751
- organizationId: organizationId,
36752
- selectedCatalog: selectedCatalog,
36753
- selectedFeature: selectedFeature._id,
36754
36514
  apiConfig: apiConfig
36755
36515
  })]
36756
36516
  });
36757
36517
  });
36758
36518
 
36759
- function CatalogOptions(_ref) {
36519
+ function Options(_ref) {
36760
36520
  var organizationId = _ref.organizationId,
36761
36521
  selectedCatalog = _ref.selectedCatalog,
36762
36522
  apiConfig = _ref.apiConfig;
@@ -36781,8 +36541,7 @@ function CatalogOptions(_ref) {
36781
36541
  floatingFilter: true,
36782
36542
  colDef: [{
36783
36543
  field: 'optionKey',
36784
- required: true,
36785
- unique: true
36544
+ required: true
36786
36545
  }, {
36787
36546
  headerName: 'backoffice.idmCatalogEditor.general.label.sequenceNo',
36788
36547
  field: 'sequenceNo',
@@ -36796,9 +36555,9 @@ function CatalogOptions(_ref) {
36796
36555
  headerName: 'backoffice.idmCatalogEditor.catalogoptions.label.featureIds',
36797
36556
  cellDataType: 'lookup',
36798
36557
  editable: true,
36799
- required: true,
36558
+ required: false,
36800
36559
  customParams: {
36801
- nameField: 'featureNosDisplayTexts',
36560
+ nameField: 'featureIdsDisplayTexts',
36802
36561
  filterCellType: 'objectId',
36803
36562
  displayLabelTemplate: '${name} (${value})',
36804
36563
  apiInterface: {
@@ -36813,7 +36572,7 @@ function CatalogOptions(_ref) {
36813
36572
  multiple: true,
36814
36573
  translated: true
36815
36574
  },
36816
- additionalFields: ['featureNosDisplayTexts'],
36575
+ additionalFields: ['featureIdsDisplayTexts'],
36817
36576
  isDictionary: true
36818
36577
  }, {
36819
36578
  headerName: 'backoffice.idmCatalog.items.label.validation',
@@ -36830,7 +36589,8 @@ function CatalogOptions(_ref) {
36830
36589
  headerName: 'backoffice.idmCatalog.options.label.material',
36831
36590
  children: [{
36832
36591
  headerName: 'backoffice.idmCatalog.options.label.materialNo',
36833
- field: 'materialNo'
36592
+ field: 'materialNo',
36593
+ editable: false
36834
36594
  }, {
36835
36595
  headerName: 'backoffice.idmCatalog.options.label.materialColorR',
36836
36596
  field: 'materialColorR',
@@ -36841,7 +36601,7 @@ function CatalogOptions(_ref) {
36841
36601
  cellDataType: 'number'
36842
36602
  }, {
36843
36603
  headerName: 'backoffice.idmCatalog.options.label.materialColorB',
36844
- field: 'materialColorR',
36604
+ field: 'materialColorB',
36845
36605
  cellDataType: 'number'
36846
36606
  }]
36847
36607
  }, {
@@ -36849,7 +36609,8 @@ function CatalogOptions(_ref) {
36849
36609
  children: [{
36850
36610
  headerName: 'backoffice.idmCatalog.options.label.measureNo',
36851
36611
  field: 'measureNo',
36852
- cellDataType: 'number'
36612
+ cellDataType: 'number',
36613
+ editable: false
36853
36614
  }, {
36854
36615
  headerName: 'backoffice.idmCatalog.options.label.measureValue',
36855
36616
  field: 'measureValue',
@@ -36905,7 +36666,7 @@ function CatalogOptions(_ref) {
36905
36666
  });
36906
36667
  }
36907
36668
 
36908
- var TableCatalogOptions = observer(function () {
36669
+ var TableOptions = observer(function () {
36909
36670
  var _useTranslation = useTranslation(),
36910
36671
  t = _useTranslation.t;
36911
36672
  var _useModule = useModule(['catalogoptions']),
@@ -36915,18 +36676,16 @@ var TableCatalogOptions = observer(function () {
36915
36676
  return /*#__PURE__*/jsxs(Fragment, {
36916
36677
  children: [/*#__PURE__*/jsx(Descriptions$1, {
36917
36678
  title: /*#__PURE__*/jsxs("div", {
36918
- children: [t('backoffice.menu.items.label.IDMCatalogEditorTableCatalogOptions'), /*#__PURE__*/jsxs(Space$1, {
36679
+ children: [t('backoffice.menu.items.label.IDMCatalogEditorTableOptions'), /*#__PURE__*/jsx(Space$1, {
36919
36680
  style: {
36920
36681
  "float": 'right'
36921
36682
  },
36922
- children: [/*#__PURE__*/jsx(CatalogSelector$1, {
36923
- modules: ['options']
36924
- }), /*#__PURE__*/jsx(FeatureSelector$1, {
36683
+ children: /*#__PURE__*/jsx(CatalogSelector$1, {
36925
36684
  modules: ['options']
36926
- })]
36685
+ })
36927
36686
  })]
36928
36687
  })
36929
- }), selectedCatalog && /*#__PURE__*/jsx(CatalogOptions, {
36688
+ }), selectedCatalog && /*#__PURE__*/jsx(Options, {
36930
36689
  organizationId: organizationId,
36931
36690
  selectedCatalog: selectedCatalog,
36932
36691
  apiConfig: apiConfig
@@ -39329,9 +39088,6 @@ function Content$2() {
39329
39088
  }), /*#__PURE__*/jsx(Route, {
39330
39089
  path: ":catalogId/options",
39331
39090
  element: /*#__PURE__*/jsx(TableOptions, {})
39332
- }), /*#__PURE__*/jsx(Route, {
39333
- path: ":catalogId/catalogoptions",
39334
- element: /*#__PURE__*/jsx(TableCatalogOptions, {})
39335
39091
  }), /*#__PURE__*/jsx(Route, {
39336
39092
  path: ":catalogId/optiongroups",
39337
39093
  element: /*#__PURE__*/jsx(TableOptionGroups, {})
@@ -39459,7 +39215,7 @@ function TableCollections () {
39459
39215
  var organizationId = root.dataStore.organizationId;
39460
39216
  var apiConfig = root.configurationStore.apiConfig;
39461
39217
  useEffect(function () {
39462
- if (selectedCollection) {
39218
+ if (selectedCollection !== null && selectedCollection !== void 0 && selectedCollection._id) {
39463
39219
  root.contentStore.bottomToolBar.tools = [{
39464
39220
  id: 'collectionMembers',
39465
39221
  name: t('backoffice.menu.items.label.IDMCatalogEditorTableCollectionmembers'),
@@ -40192,7 +39948,7 @@ function Detail(_ref) {
40192
39948
  setCanSave: setCanSave,
40193
39949
  onChange: onChange,
40194
39950
  onError: onError,
40195
- height: 650
39951
+ height: '100%'
40196
39952
  }), info.type == 'ImageCropper' && /*#__PURE__*/jsx(ImageCropper$1, {
40197
39953
  ref: ref,
40198
39954
  id: info.configurationId,
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
2
  import { ApiConfig } from '@crystaldesign/diva-core';
3
3
  import { CatalogData } from '../types';
4
- export default function Options({ organizationId, selectedCatalog, selectedFeature, apiConfig, }: {
4
+ export default function Options({ organizationId, selectedCatalog, apiConfig, }: {
5
5
  organizationId: string;
6
6
  selectedCatalog: CatalogData;
7
- selectedFeature: string;
8
7
  apiConfig: ApiConfig;
9
8
  }): React.JSX.Element;
10
9
  //# sourceMappingURL=Options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAC9B,cAAc,EACd,eAAe,EACf,eAAe,EACf,SAAS,GACV,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,SAAS,CAAC;CACtB,qBA+HA"}
1
+ {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAC9B,cAAc,EACd,eAAe,EACf,SAAS,GACV,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC;IAC7B,SAAS,EAAE,SAAS,CAAC;CACtB,qBA2KA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/hooks/useModule.tsx"],"names":[],"mappings":"AASA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;;;;;;;EAsKhD"}
1
+ {"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/hooks/useModule.tsx"],"names":[],"mappings":"AASA,MAAM,CAAC,OAAO,WAAW,cAAc,EAAE,MAAM,EAAE;;;;;;;EA4JhD"}
@@ -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;AAcxD,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/TableFeatures/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAYlD,eAAO,MAAM,aAAa;;CAgExB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableFeatures/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,eAAO,MAAM,aAAa;;CAmBxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableOptions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,eAAO,MAAM,YAAY;;CAsBvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableOptions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,eAAO,MAAM,YAAY;;CAmBvB,CAAC"}
@@ -150,10 +150,34 @@ export default function getConfig(t: TFunction): {
150
150
  };
151
151
  option: {
152
152
  colDef: ({
153
+ field: string;
154
+ headerName: string;
155
+ cellDataType: string;
156
+ editable: boolean;
157
+ required: boolean;
158
+ customParams: {
159
+ nameField: string;
160
+ filterCellType: string;
161
+ displayLabelTemplate: string;
162
+ lookupValue: string;
163
+ lookupKey: string;
164
+ lookupKeyFilterType: {
165
+ type: string;
166
+ filterType: string;
167
+ };
168
+ multiple: boolean;
169
+ translated: boolean;
170
+ };
171
+ additionalFields: string[];
172
+ isDictionary: boolean;
173
+ } | {
153
174
  field: string;
154
175
  headerName: string;
155
176
  editable: boolean;
156
177
  cellDataType?: undefined;
178
+ required?: undefined;
179
+ customParams?: undefined;
180
+ additionalFields?: undefined;
157
181
  isDictionary?: undefined;
158
182
  } | {
159
183
  headerName: string;
@@ -161,11 +185,17 @@ export default function getConfig(t: TFunction): {
161
185
  editable: boolean;
162
186
  cellDataType: string;
163
187
  isDictionary: boolean;
188
+ required?: undefined;
189
+ customParams?: undefined;
190
+ additionalFields?: undefined;
164
191
  } | {
165
192
  field: string;
166
193
  headerName: string;
167
194
  editable: boolean;
168
195
  cellDataType: string;
196
+ required?: undefined;
197
+ customParams?: undefined;
198
+ additionalFields?: undefined;
169
199
  isDictionary?: undefined;
170
200
  })[];
171
201
  };
@@ -1 +1 @@
1
- {"version":3,"file":"tableConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableExclusivity/tableConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGpC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,CAAC,EAAE,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0a7C"}
1
+ {"version":3,"file":"tableConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableExclusivity/tableConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGpC,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,CAAC,EAAE,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6b7C"}
@@ -1 +1 @@
1
- {"version":3,"file":"optionsConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/optionsConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAGlF,QAAA,MAAM,SAAS,mBAAoB,MAAM,EAAE,KAAG;IAAE,MAAM,EAAE,CAAC,mBAAmB,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,EAAE,mBAAmB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAA;CAoCpI,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"optionsConfig.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/optionsConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAGlF,QAAA,MAAM,SAAS,mBAAoB,MAAM,EAAE,KAAG;IAAE,MAAM,EAAE,CAAC,mBAAmB,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,EAAE,mBAAmB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAA;CAuDpI,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -13,7 +13,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
13
13
  onError?: (error: string) => void;
14
14
  setCanSave?: (canSave: boolean) => void;
15
15
  data?: any;
16
- height?: number;
16
+ height?: number | string;
17
17
  } & React.RefAttributes<{
18
18
  submit: () => void;
19
19
  }>, "ref"> & React.RefAttributes<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/JsonEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,gCAAgC,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAK7D,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;IACrE,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,GAAG,CAAC;CACf;;QAYO,MAAM;YACF,GAAG;cACD,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI;cACpB,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;iBACpB,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI;WAChC,GAAG;aACD,MAAM;;YAEQ,MAAM,IAAI;;YAAV,MAAM,IAAI;;AAgErC,wBAAsD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/JsonEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,gCAAgC,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAK7D,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;IACrE,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,GAAG,CAAC;CACf;;QAYO,MAAM;YACF,GAAG;cACD,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI;cACpB,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;iBACpB,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI;WAChC,GAAG;aACD,MAAM,GAAG,MAAM;;YAED,MAAM,IAAI;;YAAV,MAAM,IAAI;;AAgErC,wBAAsD"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/BaseTable/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAK5D,OAAO,EAAE,KAAK,EAAgB,MAAM,UAAU,CAAC;AA8B/C,eAAO,MAAM,UAAU,yCAAoB,CAAC;AAG5C,UAAU,KAAK,CAAC,CAAC;IACf,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;CACjB;0BAEqB,CAAC,SAAS,MAAM,aAAa,KAAK,CAAC,CAAC,CAAC;;;AAwT3D,wBAAsC;AACtC,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/BaseTable/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAK5D,OAAO,EAAE,KAAK,EAAgB,MAAM,UAAU,CAAC;AA8B/C,eAAO,MAAM,UAAU,yCAAoB,CAAC;AAG5C,UAAU,KAAK,CAAC,CAAC;IACf,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;CACjB;0BAEqB,CAAC,SAAS,MAAM,aAAa,KAAK,CAAC,CAAC,CAAC;;;AA0T3D,wBAAsC;AACtC,cAAc,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "25.5.0-beta.1",
3
+ "version": "25.5.0-beta.11",
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": "25.5.0-beta.1",
19
- "@crystaldesign/content-item": "25.5.0-beta.1",
20
- "@crystaldesign/diva-core": "25.5.0-beta.1",
21
- "@crystaldesign/diva-utils": "25.5.0-beta.1",
22
- "@crystaldesign/media-upload": "25.5.0-beta.1",
23
- "@crystaldesign/rtf-editor": "25.5.0-beta.1",
24
- "@crystaldesign/spreadsheet": "25.5.0-beta.1",
18
+ "@crystaldesign/content-box": "25.5.0-beta.11",
19
+ "@crystaldesign/content-item": "25.5.0-beta.11",
20
+ "@crystaldesign/diva-core": "25.5.0-beta.11",
21
+ "@crystaldesign/diva-utils": "25.5.0-beta.11",
22
+ "@crystaldesign/media-upload": "25.5.0-beta.11",
23
+ "@crystaldesign/rtf-editor": "25.5.0-beta.11",
24
+ "@crystaldesign/spreadsheet": "25.5.0-beta.11",
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": "42f38e8c4444cbdf33cd0e253bef8acc1ab8dc33"
54
+ "gitHead": "680d1783e627ebf9f0c573a500b2503de1873099"
55
55
  }
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { ApiConfig } from '@crystaldesign/diva-core';
3
- import { CatalogData } from '../types';
4
- export default function CatalogOptions({ organizationId, selectedCatalog, apiConfig, }: {
5
- organizationId: string;
6
- selectedCatalog: CatalogData;
7
- apiConfig: ApiConfig;
8
- }): React.JSX.Element;
9
- //# sourceMappingURL=CatalogOptions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CatalogOptions.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/CatalogOptions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,cAAc,EACd,eAAe,EACf,SAAS,GACV,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,WAAW,CAAC;IAC7B,SAAS,EAAE,SAAS,CAAC;CACtB,qBA0KA"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- export declare const TableCatalogOptions: (() => React.JSX.Element) & {
3
- displayName: string;
4
- };
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableCatalogOptions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,eAAO,MAAM,mBAAmB;;CAoB9B,CAAC"}