@crystaldesign/diva-backoffice 25.4.0-rc.9 → 25.5.0-beta.10

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 (19) hide show
  1. package/build/esm/index.js +79 -326
  2. package/build/types/backoffice/src/ui/CatalogEditor/DragDropUpload/index.d.ts.map +1 -1
  3. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Options.d.ts +1 -2
  4. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Options.d.ts.map +1 -1
  5. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useModule.d.ts.map +1 -1
  6. package/build/types/backoffice/src/ui/IDMCatalogEditor/index.d.ts.map +1 -1
  7. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatures/index.d.ts.map +1 -1
  8. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableOptions/index.d.ts.map +1 -1
  9. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/tableConfiguration.d.ts +30 -0
  10. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/tableConfiguration.d.ts.map +1 -1
  11. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/optionsConfig.d.ts.map +1 -1
  12. package/build/types/backoffice/src/ui/JsonEditor/index.d.ts +1 -1
  13. package/build/types/backoffice/src/ui/JsonEditor/index.d.ts.map +1 -1
  14. package/build/types/backoffice/src/ui/Table/BaseTable/index.d.ts.map +1 -1
  15. package/package.json +9 -9
  16. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogOptions.d.ts +0 -9
  17. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogOptions.d.ts.map +0 -1
  18. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableCatalogOptions/index.d.ts +0 -5
  19. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableCatalogOptions/index.d.ts.map +0 -1
@@ -7846,7 +7846,7 @@ function loadConfiguration(t, root, config, lang) {
7846
7846
  }, {
7847
7847
  name: ['settings', 'versioningToIDMService'],
7848
7848
  label: t('backoffice.form.organizationdetails.items.versioningToIDMService'),
7849
- permission: 'backoffice_admin_organizations',
7849
+ permission: 'backoffice_sys_admin_organizations',
7850
7850
  hidden: function hidden(data) {
7851
7851
  return (data === null || data === void 0 ? void 0 : data.type) !== 'RETAILER' && (data === null || data === void 0 ? void 0 : data.parentType) !== 'ASSOCIATION';
7852
7852
  },
@@ -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() {
@@ -29916,10 +29916,7 @@ function DragDropUpload(_ref) {
29916
29916
  var props = {
29917
29917
  name: 'file',
29918
29918
  multiple: false,
29919
- action: api2Params.api2BaseUrl + '?function=upload&filename=' + fileName,
29920
- headers: {
29921
- sessionguid: api2Params.api2SessionGuid
29922
- },
29919
+ action: api2Params.api2BaseUrl + '?function=upload&sessionguid=' + api2Params.api2SessionGuid + '&filename=' + fileName,
29923
29920
  accept: '.xls,.xlsx,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
29924
29921
  onChange: function onChange(info) {
29925
29922
  var status = info.file.status;
@@ -32162,7 +32159,28 @@ var getConfig$2 = function getConfig(isoLanguageIds) {
32162
32159
  }, ['origOptionText', 'optionText']), createTranslatedColumnConfig('translatedOptionCommentText', 'backoffice.idmEnricher.renaming.label.optionCommentText', isoLanguageIds, false, 'withPlaceholder', {
32163
32160
  placeHolderField: 'origOptionCommentText',
32164
32161
  combinedField: 'optionCommentText'
32165
- }, ['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
+ }]
32166
32184
  };
32167
32185
  };
32168
32186
 
@@ -32222,44 +32240,6 @@ var SeriesSelector$2 = function SeriesSelector(_ref) {
32222
32240
  };
32223
32241
  var SeriesSelector$3 = observer(SeriesSelector$2);
32224
32242
 
32225
- var FeatureSelector$2 = function FeatureSelector(_ref) {
32226
- var modules = _ref.modules,
32227
- dataSet = _ref.dataSet;
32228
- var _useTranslation = useTranslation(),
32229
- t = _useTranslation.t,
32230
- i18n = _useTranslation.i18n;
32231
- var _useEnricherContext = useEnricherContext(modules),
32232
- packageId = _useEnricherContext.packageId,
32233
- enricherService = _useEnricherContext.enricherService,
32234
- setSelectedFeature = _useEnricherContext.setSelectedFeature,
32235
- lookupFeatureSelectorState = _useEnricherContext.lookupFeatureSelectorState,
32236
- exclusivitiesFeatureSelectorState = _useEnricherContext.exclusivitiesFeatureSelectorState,
32237
- selectedFeature = _useEnricherContext.selectedFeature;
32238
- var state = dataSet === 'lookup' ? lookupFeatureSelectorState : exclusivitiesFeatureSelectorState;
32239
- return /*#__PURE__*/jsx(SimpleSelect, {
32240
- sharedState: state,
32241
- apiInterface: {
32242
- read: enricherService + '/packages/' + packageId + '/' + dataSet + "/features?fields=featureText[".concat(i18n.language.toLocaleUpperCase(), "];featureNo;_id")
32243
- },
32244
- selectMapping: {
32245
- label: "${featureText.".concat(i18n.language.toLocaleUpperCase(), "} (${featureNo})"),
32246
- value: '${featureNo}'
32247
- },
32248
- autoSelectFirst: true,
32249
- title: t('backoffice.menu.items.label.IDMEnricherEditorTableRenamingFeature'),
32250
- value: selectedFeature,
32251
- onChange: function onChange(value) {
32252
- return setSelectedFeature(value);
32253
- },
32254
- search: true,
32255
- style: {
32256
- width: 200
32257
- },
32258
- popupClassName: 'ag-custom-component-popup'
32259
- }, packageId);
32260
- };
32261
- var FeatureSelector$3 = observer(FeatureSelector$2);
32262
-
32263
32243
  var RenamingCatalog = function RenamingCatalog() {
32264
32244
  return /*#__PURE__*/jsx(RenamingTable, {
32265
32245
  type: "catalogs",
@@ -32306,8 +32286,7 @@ var RenamingTable = observer(function (_ref) {
32306
32286
  packageId = _useModule.packageId,
32307
32287
  apiConfig = _useModule.apiConfig,
32308
32288
  selectedPackage = _useModule.selectedPackage,
32309
- selectedSerie = _useModule.selectedSerie,
32310
- selectedFeature = _useModule.selectedFeature;
32289
+ selectedSerie = _useModule.selectedSerie;
32311
32290
  var baseConfiguration = useMemo(function () {
32312
32291
  return getConfig((selectedPackage === null || selectedPackage === void 0 ? void 0 : selectedPackage.isoLanguageIds) || ['DE'], t);
32313
32292
  }, [selectedPackage, i18n.language]);
@@ -32318,32 +32297,21 @@ var RenamingTable = observer(function (_ref) {
32318
32297
  }, [packageId]);
32319
32298
  var prevPreFilter = useRef();
32320
32299
  var preFilter = useMemo(function () {
32321
- if (type === 'options' && !selectedFeature) {
32322
- return prevPreFilter.current;
32323
- } else if (type === 'items' && selectedSerie) {
32300
+ if (type === 'items' && selectedSerie) {
32324
32301
  var newFilter = {
32325
32302
  filterType: 'text',
32326
32303
  type: 'equals',
32327
- colId: 'featureNo',
32328
- filter: selectedFeature === null || selectedFeature === void 0 ? void 0 : selectedFeature.featureNo
32304
+ colId: 'serieNo',
32305
+ filter: selectedSerie === null || selectedSerie === void 0 ? void 0 : selectedSerie.serieNo
32329
32306
  };
32330
32307
  prevPreFilter.current = newFilter;
32331
32308
  return newFilter;
32332
32309
  }
32333
32310
  if (type === 'items' && !selectedSerie) {
32334
32311
  return prevPreFilter.current;
32335
- } else if (type === 'options' && selectedFeature) {
32336
- var _newFilter = {
32337
- filterType: 'text',
32338
- type: 'equals',
32339
- colId: 'featureNo',
32340
- filter: selectedFeature === null || selectedFeature === void 0 ? void 0 : selectedFeature.featureNo
32341
- };
32342
- prevPreFilter.current = _newFilter;
32343
- return _newFilter;
32344
32312
  }
32345
32313
  return undefined;
32346
- }, [type, selectedSerie, selectedFeature]);
32314
+ }, [type, selectedSerie]);
32347
32315
  var apiInterface = useMemo(function () {
32348
32316
  return {
32349
32317
  read: apiConfig.enricherService + '/packages/${packageId}/renamings/' + type,
@@ -32374,7 +32342,7 @@ var RenamingTable = observer(function (_ref) {
32374
32342
  };
32375
32343
  }, [apiInterface, baseConfiguration.colDef]);
32376
32344
  var showTable = useMemo(function () {
32377
- return selectedPackage && (!['items', 'options'].includes(type) || type === 'items' && preFilter || type === 'options' && preFilter);
32345
+ return selectedPackage && (!['items'].includes(type) || type === 'items' && preFilter);
32378
32346
  }, [type, preFilter, selectedPackage]);
32379
32347
  return /*#__PURE__*/jsxs(Fragment, {
32380
32348
  children: [/*#__PURE__*/jsx(Descriptions$1, {
@@ -32388,9 +32356,6 @@ var RenamingTable = observer(function (_ref) {
32388
32356
  }), type === 'items' && /*#__PURE__*/jsx(SeriesSelector$3, {
32389
32357
  modules: ['renaming', type],
32390
32358
  dataSet: 'lookup'
32391
- }), type === 'options' && /*#__PURE__*/jsx(FeatureSelector$3, {
32392
- modules: ['renaming', type],
32393
- dataSet: 'lookup'
32394
32359
  })]
32395
32360
  })]
32396
32361
  })
@@ -32690,6 +32655,27 @@ function getConfig(t) {
32690
32655
  },
32691
32656
  option: {
32692
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
+ }, {
32693
32679
  field: 'optionKey',
32694
32680
  headerName: 'backoffice.idmEnricher.renaming.label.optionKey',
32695
32681
  editable: false
@@ -32841,19 +32827,21 @@ var ExclusivityTable = observer(function (_ref) {
32841
32827
  apiConfig = _useModule.apiConfig,
32842
32828
  organizationId = _useModule.organizationId,
32843
32829
  selectedPackage = _useModule.selectedPackage,
32844
- selectedSerie = _useModule.selectedSerie,
32845
- selectedFeature = _useModule.selectedFeature;
32830
+ selectedSerie = _useModule.selectedSerie;
32846
32831
  var apiInterface = useMemo(function () {
32847
32832
  var patchId = '${_id}';
32848
32833
  if (type === 'eitem') patchId = '${typeNo}';
32849
32834
  if (type === 'eoption') patchId = '${optionKey}';
32835
+ var patchId2 = '${_id}';
32836
+ if (type === 'eoption') patchId2 = '${featureNos}';
32850
32837
  var subType = 'features';
32851
32838
  if (type === 'eserie' || type === 'eitem') subType = 'series';
32852
32839
  if (type === 'edetailInfo') subType = 'detailInfos';
32840
+ if (type === 'eoption') subType = 'options';
32853
32841
  var listType = type === 'eitem' ? 'items' : 'options';
32854
32842
  return {
32855
- read: !['eitem', 'eoption'].includes(type) ? apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType : apiConfig.enricherService + '/packages/${packageId}/exclusivities/' + subType + '/${subTypeId}/' + listType,
32856
- 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
32857
32845
  };
32858
32846
  }, [type]);
32859
32847
  var oldDataRef = useRef();
@@ -32861,20 +32849,17 @@ var ExclusivityTable = observer(function (_ref) {
32861
32849
  if (type === 'eitem' && !selectedSerie) {
32862
32850
  return oldDataRef.current;
32863
32851
  }
32864
- if (type === 'eoption' && !selectedFeature) {
32865
- return oldDataRef.current;
32866
- }
32867
32852
  var newData = {
32868
32853
  type: type,
32869
32854
  packageId: packageId,
32870
32855
  organizationId: organizationId,
32871
- 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
32872
32857
  };
32873
32858
  oldDataRef.current = newData;
32874
32859
  return newData;
32875
- }, [type, packageId, organizationId, selectedSerie, selectedFeature]);
32860
+ }, [type, packageId, organizationId, selectedSerie]);
32876
32861
  var showTable = useMemo(function () {
32877
- return selectedPackage && (!['eitem', 'eoption'].includes(type) || type === 'eitem' && applicationData || type === 'eoption' && applicationData);
32862
+ return selectedPackage && (!['eitem'].includes(type) || type === 'eitem' && applicationData);
32878
32863
  }, [type, applicationData, selectedPackage]);
32879
32864
  var configuration = useMemo(function () {
32880
32865
  return {
@@ -32905,7 +32890,7 @@ var ExclusivityTable = observer(function (_ref) {
32905
32890
  cellDataType: 'objectId'
32906
32891
  }])
32907
32892
  };
32908
- }, [apiInterface, selectedSerie, selectedFeature, config.colDef]);
32893
+ }, [apiInterface, selectedSerie, config.colDef]);
32909
32894
  return /*#__PURE__*/jsxs(Fragment, {
32910
32895
  children: [/*#__PURE__*/jsx(Descriptions$1, {
32911
32896
  title: /*#__PURE__*/jsxs("div", {
@@ -32918,9 +32903,6 @@ var ExclusivityTable = observer(function (_ref) {
32918
32903
  }), type === 'eitem' && /*#__PURE__*/jsx(SeriesSelector$3, {
32919
32904
  modules: ['exclusivity', type],
32920
32905
  dataSet: 'exclusivities'
32921
- }), type === 'eoption' && /*#__PURE__*/jsx(FeatureSelector$3, {
32922
- modules: ['exclusivity', type],
32923
- dataSet: 'exclusivities'
32924
32906
  })]
32925
32907
  })]
32926
32908
  })
@@ -35740,16 +35722,6 @@ function useModule (currentModules) {
35740
35722
  to: 'catalogs/idmeditor/catalogs/' + catalogId + '/options' + (searchParams ? '?' + searchParams.toString() : ''),
35741
35723
  children: t('backoffice.menu.items.label.IDMCatalogEditorTableOptions')
35742
35724
  })
35743
- }, {
35744
- key: 'catalogoptions',
35745
- style: {
35746
- margin: 0
35747
- },
35748
- icon: /*#__PURE__*/jsx(ApartmentOutlined, {}),
35749
- label: /*#__PURE__*/jsx(Link, {
35750
- to: 'catalogs/idmeditor/catalogs/' + catalogId + '/catalogoptions' + (searchParams ? '?' + searchParams.toString() : ''),
35751
- children: t('backoffice.menu.items.label.IDMCatalogEditorTableCatalogOptions')
35752
- })
35753
35725
  }, {
35754
35726
  key: 'optiongroups',
35755
35727
  style: {
@@ -36356,114 +36328,6 @@ var TableSeries = observer(function () {
36356
36328
  });
36357
36329
  });
36358
36330
 
36359
- function Options(_ref) {
36360
- var organizationId = _ref.organizationId,
36361
- selectedCatalog = _ref.selectedCatalog,
36362
- selectedFeature = _ref.selectedFeature,
36363
- apiConfig = _ref.apiConfig;
36364
- var applicationData = useMemo(function () {
36365
- return {
36366
- organizationId: organizationId,
36367
- catalogId: selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog._id,
36368
- selectedFeature: selectedFeature
36369
- };
36370
- }, [organizationId, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog._id, selectedFeature]);
36371
- var configuration = useMemo(function () {
36372
- return {
36373
- type: 'dotnetSSM',
36374
- idCol: 'optionKey',
36375
- apiInterface: {
36376
- read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/${selectedFeature}/options',
36377
- create: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/${selectedFeature}/options',
36378
- restore: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/${selectedFeature}/options/${optionKey}',
36379
- "delete": apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/${selectedFeature}/options/${optionKey}',
36380
- update: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features/${selectedFeature}/options/${optionKey}'
36381
- },
36382
- dateFormat: 'DD.MM.YYYY, HH:mm:ss',
36383
- floatingFilter: true,
36384
- colDef: [{
36385
- field: 'optionKey',
36386
- required: true,
36387
- unique: true
36388
- }, {
36389
- headerName: 'backoffice.idmCatalogEditor.general.label.sequenceNo',
36390
- field: 'sequenceNo',
36391
- cellDataType: 'number'
36392
- }, 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), {
36393
- headerName: 'backoffice.idmCatalog.options.label.optionFreeText',
36394
- field: 'optionFreeText',
36395
- cellDataType: 'boolean'
36396
- }, {
36397
- headerName: 'backoffice.idmCatalog.items.label.validation',
36398
- children: [{
36399
- headerName: 'backoffice.idmCatalog.general.label.validFromDate',
36400
- field: 'validFromDate',
36401
- cellDataType: 'dateString'
36402
- }, {
36403
- headerName: 'backoffice.idmCatalog.general.label.validUntilDate',
36404
- field: 'validUntilDate',
36405
- cellDataType: 'dateString'
36406
- }]
36407
- }, {
36408
- headerName: 'backoffice.idmCatalog.options.label.material',
36409
- children: [{
36410
- headerName: 'backoffice.idmCatalog.options.label.materialNo',
36411
- field: 'materialNo'
36412
- }, {
36413
- headerName: 'backoffice.idmCatalog.options.label.materialColorR',
36414
- field: 'materialColorR',
36415
- cellDataType: 'number'
36416
- }, {
36417
- headerName: 'backoffice.idmCatalog.options.label.materialColorG',
36418
- field: 'materialColorG',
36419
- cellDataType: 'number'
36420
- }, {
36421
- headerName: 'backoffice.idmCatalog.options.label.materialColorB',
36422
- field: 'materialColorR',
36423
- cellDataType: 'number'
36424
- }]
36425
- }, {
36426
- headerName: 'backoffice.idmCatalog.options.label.measurement',
36427
- children: [{
36428
- headerName: 'backoffice.idmCatalog.options.label.measureNo',
36429
- field: 'measureNo',
36430
- cellDataType: 'number'
36431
- }, {
36432
- headerName: 'backoffice.idmCatalog.options.label.measureValue',
36433
- field: 'measureValue',
36434
- cellDataType: 'number'
36435
- }, {
36436
- headerName: 'backoffice.idmCatalog.options.label.measureUnit',
36437
- field: 'measureUnit'
36438
- }]
36439
- }, {
36440
- headerName: 'backoffice.idmCatalog.general.label.lastUpdatedDate',
36441
- field: 'lastUpdatedDate',
36442
- cellDataType: 'dateString',
36443
- editable: false
36444
- }, {
36445
- headerName: 'backoffice.idmCatalog.general.label.lastUpdatedByDisplayText',
36446
- field: 'lastUpdatedByDisplayText',
36447
- editable: false
36448
- }, {
36449
- headerName: 'backoffice.idmCatalog.general.label.createdDate',
36450
- field: 'createdDate',
36451
- cellDataType: 'dateString',
36452
- editable: false
36453
- }, {
36454
- headerName: 'backoffice.idmCatalog.general.label.createdByDisplayText',
36455
- field: 'createdByDisplayText',
36456
- editable: false
36457
- }]
36458
- };
36459
- }, [selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.isoLanguageIds]);
36460
- return /*#__PURE__*/jsx(Spreadsheet, {
36461
- gridId: 'crud-grid_options',
36462
- applicationData: applicationData,
36463
- configuration: configuration
36464
- }, selectedFeature);
36465
- }
36466
-
36467
36331
  function Features(_ref) {
36468
36332
  var organizationId = _ref.organizationId,
36469
36333
  selectedCatalog = _ref.selectedCatalog,
@@ -36628,52 +36492,10 @@ function Features(_ref) {
36628
36492
  var TableFeatures = observer(function () {
36629
36493
  var _useTranslation = useTranslation(),
36630
36494
  t = _useTranslation.t;
36631
- var root = useStore();
36632
36495
  var _useModule = useModule(['features']),
36633
36496
  selectedCatalog = _useModule.selectedCatalog,
36634
36497
  organizationId = _useModule.organizationId,
36635
36498
  apiConfig = _useModule.apiConfig;
36636
- var _React$useState = React.useState(),
36637
- _React$useState2 = _slicedToArray(_React$useState, 2),
36638
- selectedFeature = _React$useState2[0],
36639
- setSelectedFeature = _React$useState2[1];
36640
- useEffect(function () {
36641
- if (selectedFeature !== null && selectedFeature !== void 0 && selectedFeature._id) {
36642
- root.contentStore.bottomToolBar.tools = [{
36643
- id: 'options',
36644
- name: t('backoffice.menu.items.label.IDMCatalogEditorTableOptions'),
36645
- elementComponent: Options,
36646
- elementProps: {
36647
- organizationId: organizationId,
36648
- selectedCatalog: selectedCatalog,
36649
- selectedFeature: selectedFeature._id,
36650
- apiConfig: apiConfig
36651
- },
36652
- startWidth: 300,
36653
- defaultPinned: false,
36654
- defaultOpen: false
36655
- }];
36656
- } else {
36657
- root.contentStore.bottomToolBar.tools = [];
36658
- }
36659
- }, [selectedFeature]);
36660
- useEffect(function () {
36661
- //remove options table, when features are unmounted
36662
- return function () {
36663
- root.contentStore.bottomToolBar.tools = [];
36664
- };
36665
- }, []);
36666
- var hooks = useMemo(function () {
36667
- return {
36668
- onCellSelectionChanged: function onCellSelectionChanged(event) {
36669
- if (event.selection.length == 1) {
36670
- setSelectedFeature(event.selection[0].node.data);
36671
- } else {
36672
- setSelectedFeature(null);
36673
- }
36674
- }
36675
- };
36676
- }, []);
36677
36499
  return /*#__PURE__*/jsxs(Fragment, {
36678
36500
  children: [/*#__PURE__*/jsx(Descriptions$1, {
36679
36501
  title: /*#__PURE__*/jsxs("div", {
@@ -36689,77 +36511,12 @@ var TableFeatures = observer(function () {
36689
36511
  }), selectedCatalog && /*#__PURE__*/jsx(Features, {
36690
36512
  organizationId: organizationId,
36691
36513
  selectedCatalog: selectedCatalog,
36692
- apiConfig: apiConfig,
36693
- hooks: hooks
36694
- })]
36695
- });
36696
- });
36697
-
36698
- var FeatureSelector = function FeatureSelector(_ref) {
36699
- var modules = _ref.modules;
36700
- var _useTranslation = useTranslation(),
36701
- t = _useTranslation.t,
36702
- i18n = _useTranslation.i18n;
36703
- var _useCatalogContext = useCatalogContext(modules),
36704
- catalogId = _useCatalogContext.catalogId,
36705
- idmService = _useCatalogContext.idmService,
36706
- selectedFeature = _useCatalogContext.selectedFeature,
36707
- setSelectedFeature = _useCatalogContext.setSelectedFeature,
36708
- featureSelectorState = _useCatalogContext.featureSelectorState;
36709
- return /*#__PURE__*/jsx(SimpleSelect, {
36710
- sharedState: featureSelectorState,
36711
- apiInterface: {
36712
- read: idmService + '/v3.0/catalogs/' + catalogId + "/features?fields=featureText[".concat(i18n.language.toLocaleUpperCase(), "];featureNo;_id")
36713
- },
36714
- selectMapping: {
36715
- label: "${featureText.".concat(i18n.language.toLocaleUpperCase(), "} (${featureNo})"),
36716
- value: '${_id}'
36717
- },
36718
- autoSelectFirst: true,
36719
- title: t('backoffice.menu.items.label.IDMCatalogEditorTableFeatures'),
36720
- value: selectedFeature,
36721
- onChange: setSelectedFeature,
36722
- search: true,
36723
- style: {
36724
- width: 200
36725
- },
36726
- popupClassName: 'ag-custom-component-popup'
36727
- }, catalogId);
36728
- };
36729
- var FeatureSelector$1 = observer(FeatureSelector);
36730
-
36731
- var TableOptions = observer(function () {
36732
- var _useTranslation = useTranslation(),
36733
- t = _useTranslation.t;
36734
- var _useModule = useModule(['options']),
36735
- selectedCatalog = _useModule.selectedCatalog,
36736
- selectedFeature = _useModule.selectedFeature,
36737
- apiConfig = _useModule.apiConfig,
36738
- organizationId = _useModule.organizationId;
36739
- return /*#__PURE__*/jsxs(Fragment, {
36740
- children: [/*#__PURE__*/jsx(Descriptions$1, {
36741
- title: /*#__PURE__*/jsxs("div", {
36742
- children: [t('backoffice.menu.items.label.IDMCatalogEditorTableOptions'), /*#__PURE__*/jsxs(Space$1, {
36743
- style: {
36744
- "float": 'right'
36745
- },
36746
- children: [/*#__PURE__*/jsx(CatalogSelector$1, {
36747
- modules: ['options']
36748
- }), /*#__PURE__*/jsx(FeatureSelector$1, {
36749
- modules: ['options']
36750
- })]
36751
- })]
36752
- })
36753
- }), selectedFeature && selectedCatalog && /*#__PURE__*/jsx(Options, {
36754
- organizationId: organizationId,
36755
- selectedCatalog: selectedCatalog,
36756
- selectedFeature: selectedFeature._id,
36757
36514
  apiConfig: apiConfig
36758
36515
  })]
36759
36516
  });
36760
36517
  });
36761
36518
 
36762
- function CatalogOptions(_ref) {
36519
+ function Options(_ref) {
36763
36520
  var organizationId = _ref.organizationId,
36764
36521
  selectedCatalog = _ref.selectedCatalog,
36765
36522
  apiConfig = _ref.apiConfig;
@@ -36784,8 +36541,7 @@ function CatalogOptions(_ref) {
36784
36541
  floatingFilter: true,
36785
36542
  colDef: [{
36786
36543
  field: 'optionKey',
36787
- required: true,
36788
- unique: true
36544
+ required: true
36789
36545
  }, {
36790
36546
  headerName: 'backoffice.idmCatalogEditor.general.label.sequenceNo',
36791
36547
  field: 'sequenceNo',
@@ -36799,9 +36555,9 @@ function CatalogOptions(_ref) {
36799
36555
  headerName: 'backoffice.idmCatalogEditor.catalogoptions.label.featureIds',
36800
36556
  cellDataType: 'lookup',
36801
36557
  editable: true,
36802
- required: true,
36558
+ required: false,
36803
36559
  customParams: {
36804
- nameField: 'featureNosDisplayTexts',
36560
+ nameField: 'featureIdsDisplayTexts',
36805
36561
  filterCellType: 'objectId',
36806
36562
  displayLabelTemplate: '${name} (${value})',
36807
36563
  apiInterface: {
@@ -36816,7 +36572,7 @@ function CatalogOptions(_ref) {
36816
36572
  multiple: true,
36817
36573
  translated: true
36818
36574
  },
36819
- additionalFields: ['featureNosDisplayTexts'],
36575
+ additionalFields: ['featureIdsDisplayTexts'],
36820
36576
  isDictionary: true
36821
36577
  }, {
36822
36578
  headerName: 'backoffice.idmCatalog.items.label.validation',
@@ -36833,7 +36589,8 @@ function CatalogOptions(_ref) {
36833
36589
  headerName: 'backoffice.idmCatalog.options.label.material',
36834
36590
  children: [{
36835
36591
  headerName: 'backoffice.idmCatalog.options.label.materialNo',
36836
- field: 'materialNo'
36592
+ field: 'materialNo',
36593
+ editable: false
36837
36594
  }, {
36838
36595
  headerName: 'backoffice.idmCatalog.options.label.materialColorR',
36839
36596
  field: 'materialColorR',
@@ -36844,7 +36601,7 @@ function CatalogOptions(_ref) {
36844
36601
  cellDataType: 'number'
36845
36602
  }, {
36846
36603
  headerName: 'backoffice.idmCatalog.options.label.materialColorB',
36847
- field: 'materialColorR',
36604
+ field: 'materialColorB',
36848
36605
  cellDataType: 'number'
36849
36606
  }]
36850
36607
  }, {
@@ -36852,7 +36609,8 @@ function CatalogOptions(_ref) {
36852
36609
  children: [{
36853
36610
  headerName: 'backoffice.idmCatalog.options.label.measureNo',
36854
36611
  field: 'measureNo',
36855
- cellDataType: 'number'
36612
+ cellDataType: 'number',
36613
+ editable: false
36856
36614
  }, {
36857
36615
  headerName: 'backoffice.idmCatalog.options.label.measureValue',
36858
36616
  field: 'measureValue',
@@ -36908,7 +36666,7 @@ function CatalogOptions(_ref) {
36908
36666
  });
36909
36667
  }
36910
36668
 
36911
- var TableCatalogOptions = observer(function () {
36669
+ var TableOptions = observer(function () {
36912
36670
  var _useTranslation = useTranslation(),
36913
36671
  t = _useTranslation.t;
36914
36672
  var _useModule = useModule(['catalogoptions']),
@@ -36918,18 +36676,16 @@ var TableCatalogOptions = observer(function () {
36918
36676
  return /*#__PURE__*/jsxs(Fragment, {
36919
36677
  children: [/*#__PURE__*/jsx(Descriptions$1, {
36920
36678
  title: /*#__PURE__*/jsxs("div", {
36921
- children: [t('backoffice.menu.items.label.IDMCatalogEditorTableCatalogOptions'), /*#__PURE__*/jsxs(Space$1, {
36679
+ children: [t('backoffice.menu.items.label.IDMCatalogEditorTableOptions'), /*#__PURE__*/jsx(Space$1, {
36922
36680
  style: {
36923
36681
  "float": 'right'
36924
36682
  },
36925
- children: [/*#__PURE__*/jsx(CatalogSelector$1, {
36926
- modules: ['options']
36927
- }), /*#__PURE__*/jsx(FeatureSelector$1, {
36683
+ children: /*#__PURE__*/jsx(CatalogSelector$1, {
36928
36684
  modules: ['options']
36929
- })]
36685
+ })
36930
36686
  })]
36931
36687
  })
36932
- }), selectedCatalog && /*#__PURE__*/jsx(CatalogOptions, {
36688
+ }), selectedCatalog && /*#__PURE__*/jsx(Options, {
36933
36689
  organizationId: organizationId,
36934
36690
  selectedCatalog: selectedCatalog,
36935
36691
  apiConfig: apiConfig
@@ -39332,9 +39088,6 @@ function Content$2() {
39332
39088
  }), /*#__PURE__*/jsx(Route, {
39333
39089
  path: ":catalogId/options",
39334
39090
  element: /*#__PURE__*/jsx(TableOptions, {})
39335
- }), /*#__PURE__*/jsx(Route, {
39336
- path: ":catalogId/catalogoptions",
39337
- element: /*#__PURE__*/jsx(TableCatalogOptions, {})
39338
39091
  }), /*#__PURE__*/jsx(Route, {
39339
39092
  path: ":catalogId/optiongroups",
39340
39093
  element: /*#__PURE__*/jsx(TableOptionGroups, {})
@@ -39462,7 +39215,7 @@ function TableCollections () {
39462
39215
  var organizationId = root.dataStore.organizationId;
39463
39216
  var apiConfig = root.configurationStore.apiConfig;
39464
39217
  useEffect(function () {
39465
- if (selectedCollection) {
39218
+ if (selectedCollection !== null && selectedCollection !== void 0 && selectedCollection._id) {
39466
39219
  root.contentStore.bottomToolBar.tools = [{
39467
39220
  id: 'collectionMembers',
39468
39221
  name: t('backoffice.menu.items.label.IDMCatalogEditorTableCollectionmembers'),
@@ -40195,7 +39948,7 @@ function Detail(_ref) {
40195
39948
  setCanSave: setCanSave,
40196
39949
  onChange: onChange,
40197
39950
  onError: onError,
40198
- height: 650
39951
+ height: '100%'
40199
39952
  }), info.type == 'ImageCropper' && /*#__PURE__*/jsx(ImageCropper$1, {
40200
39953
  ref: ref,
40201
39954
  id: info.configurationId,
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CatalogEditor/DragDropUpload/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,EAAE;IAAE,UAAU,EAAE,GAAG,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,GAAG,CAAA;CAAE,qBAmFxI"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CatalogEditor/DragDropUpload/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,EAAE;IAAE,UAAU,EAAE,GAAG,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,GAAG,CAAA;CAAE,qBAgFxI"}
@@ -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.4.0-rc.9",
3
+ "version": "25.5.0-beta.10",
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.4.0-rc.9",
19
- "@crystaldesign/content-item": "25.4.0-rc.9",
20
- "@crystaldesign/diva-core": "25.4.0-rc.9",
21
- "@crystaldesign/diva-utils": "25.4.0-rc.9",
22
- "@crystaldesign/media-upload": "25.4.0-rc.9",
23
- "@crystaldesign/rtf-editor": "25.4.0-rc.9",
24
- "@crystaldesign/spreadsheet": "25.4.0-rc.9",
18
+ "@crystaldesign/content-box": "25.5.0-beta.10",
19
+ "@crystaldesign/content-item": "25.5.0-beta.10",
20
+ "@crystaldesign/diva-core": "25.5.0-beta.10",
21
+ "@crystaldesign/diva-utils": "25.5.0-beta.10",
22
+ "@crystaldesign/media-upload": "25.5.0-beta.10",
23
+ "@crystaldesign/rtf-editor": "25.5.0-beta.10",
24
+ "@crystaldesign/spreadsheet": "25.5.0-beta.10",
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": "0151eba0dd5481f08fafa2bddb1fbac0739c7acb"
54
+ "gitHead": "e9f4d7ebf12a46547ba66e19b14ada5fb91b39df"
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"}