@crystaldesign/diva-backoffice 26.4.0-beta.15 → 26.4.0-beta.17

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.
@@ -16395,7 +16395,15 @@ var _default$5 = /*#__PURE__*/function () {
16395
16395
  }, {
16396
16396
  key: "setOrganizationData",
16397
16397
  value: function setOrganizationData(currentOrganization) {
16398
+ var _this$_currentOrganiz;
16399
+ var previousOrganizationId = (_this$_currentOrganiz = this._currentOrganization) === null || _this$_currentOrganiz === void 0 ? void 0 : _this$_currentOrganiz._id;
16398
16400
  this._currentOrganization = currentOrganization;
16401
+ var nextOrganizationId = currentOrganization === null || currentOrganization === void 0 ? void 0 : currentOrganization._id;
16402
+
16403
+ // When switching organization context, drop stale tree selection from the previous org.
16404
+ if (previousOrganizationId !== nextOrganizationId) {
16405
+ this._selectedOrganizationId = nextOrganizationId;
16406
+ }
16399
16407
  }
16400
16408
  }, {
16401
16409
  key: "setSelectedOrganizationId",
@@ -16430,14 +16438,14 @@ var _default$5 = /*#__PURE__*/function () {
16430
16438
  }, {
16431
16439
  key: "organizationId",
16432
16440
  get: function get() {
16433
- var _this$_currentOrganiz;
16434
- return (_this$_currentOrganiz = this._currentOrganization) === null || _this$_currentOrganiz === void 0 ? void 0 : _this$_currentOrganiz._id;
16441
+ var _this$_currentOrganiz2;
16442
+ return (_this$_currentOrganiz2 = this._currentOrganization) === null || _this$_currentOrganiz2 === void 0 ? void 0 : _this$_currentOrganiz2._id;
16435
16443
  }
16436
16444
  }, {
16437
16445
  key: "selectedOrganizationId",
16438
16446
  get: function get() {
16439
- var _this$_selectedOrgani, _this$_currentOrganiz2;
16440
- return (_this$_selectedOrgani = this._selectedOrganizationId) !== null && _this$_selectedOrgani !== void 0 ? _this$_selectedOrgani : (_this$_currentOrganiz2 = this._currentOrganization) === null || _this$_currentOrganiz2 === void 0 ? void 0 : _this$_currentOrganiz2._id;
16447
+ var _this$_selectedOrgani, _this$_currentOrganiz3;
16448
+ return (_this$_selectedOrgani = this._selectedOrganizationId) !== null && _this$_selectedOrgani !== void 0 ? _this$_selectedOrgani : (_this$_currentOrganiz3 = this._currentOrganization) === null || _this$_currentOrganiz3 === void 0 ? void 0 : _this$_currentOrganiz3._id;
16441
16449
  }
16442
16450
  }, {
16443
16451
  key: "currentOrganization",
@@ -17356,16 +17364,18 @@ var StoreProvider = function StoreProvider(_ref) {
17356
17364
  })),
17357
17365
  _useState2 = _slicedToArray(_useState, 1),
17358
17366
  store = _useState2[0];
17367
+ useEffect(function () {
17368
+ store.dataStore.setUserData(jwt, nToken, user);
17369
+ store.dataStore.setOrganizationData(organization);
17370
+ store.configurationStore.setConfiguration(settings, apiConfig, t, i18n.language);
17371
+ }, [jwt, nToken, user, organization, settings, apiConfig, i18n.language]);
17359
17372
  useEffect(function () {
17360
17373
  var _location$pathname2;
17361
17374
  store.updateNavigationState({
17362
17375
  searchParams: searchParams,
17363
17376
  path: (_location$pathname2 = location.pathname) !== null && _location$pathname2 !== void 0 ? _location$pathname2 : '/'
17364
17377
  });
17365
- store.dataStore.setUserData(jwt, nToken, user);
17366
- store.dataStore.setOrganizationData(organization);
17367
- store.configurationStore.setConfiguration(settings, apiConfig, t, i18n.language);
17368
- }, [jwt, nToken, user, organization, settings, apiConfig, i18n.language]);
17378
+ }, [store, searchParams, location.pathname]);
17369
17379
  useEffect(function () {
17370
17380
  store.updateHandlers(handler);
17371
17381
  }, [handler]);
@@ -43258,6 +43268,7 @@ var Options$1 = /*#__PURE__*/forwardRef(function Options(_ref, ref) {
43258
43268
  var _useTranslation = useTranslation(),
43259
43269
  t = _useTranslation.t,
43260
43270
  i18n = _useTranslation.i18n;
43271
+ var isIdm4 = (selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.major) === 4;
43261
43272
  var applicationData = useMemo(function () {
43262
43273
  return {
43263
43274
  organizationId: organizationId,
@@ -43269,12 +43280,12 @@ var Options$1 = /*#__PURE__*/forwardRef(function Options(_ref, ref) {
43269
43280
  type: 'dotnetSSM',
43270
43281
  idCol: '_id',
43271
43282
  apiInterface: {
43272
- read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/options',
43273
- create: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/options',
43274
- restore: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/options/${_id}',
43275
- "delete": apiConfig.idmService + '/v3.0/catalogs/${catalogId}/options/${_id}',
43276
- update: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/options/${_id}',
43277
- bulk: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/options/bulk'
43283
+ read: apiConfig.idmService + '/catalogs/${catalogId}/options',
43284
+ create: apiConfig.idmService + '/catalogs/${catalogId}/options',
43285
+ restore: apiConfig.idmService + '/catalogs/${catalogId}/options/${_id}',
43286
+ "delete": apiConfig.idmService + '/catalogs/${catalogId}/options/${_id}',
43287
+ update: apiConfig.idmService + '/catalogs/${catalogId}/options/${_id}',
43288
+ bulk: apiConfig.idmService + '/catalogs/${catalogId}/options/bulk'
43278
43289
  },
43279
43290
  dateFormat: 'DD.MM.YYYY, HH:mm:ss',
43280
43291
  floatingFilter: true,
@@ -43285,12 +43296,12 @@ var Options$1 = /*#__PURE__*/forwardRef(function Options(_ref, ref) {
43285
43296
  headerName: 'backoffice.idmCatalogEditor.general.label.sequenceNo',
43286
43297
  field: 'sequenceNo',
43287
43298
  cellDataType: 'number'
43288
- }, 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), {
43299
+ }, 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)].concat(_toConsumableArray(isIdm4 ? [] : [{
43289
43300
  headerName: 'backoffice.idmCatalog.options.label.optionFreeText',
43290
43301
  field: 'optionFreeText',
43291
43302
  cellDataType: 'boolean',
43292
43303
  defaultValue: false
43293
- }, {
43304
+ }]), [{
43294
43305
  field: 'featureNos',
43295
43306
  headerName: 'backoffice.idmCatalogEditor.catalogoptions.label.featureIds',
43296
43307
  cellDataType: 'lookup',
@@ -43301,7 +43312,7 @@ var Options$1 = /*#__PURE__*/forwardRef(function Options(_ref, ref) {
43301
43312
  filterCellType: 'number',
43302
43313
  displayLabelTemplate: '${name} (${value})',
43303
43314
  apiInterface: {
43304
- read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/features'
43315
+ read: apiConfig.idmService + '/catalogs/${catalogId}/features'
43305
43316
  },
43306
43317
  lookupValue: 'featureText',
43307
43318
  lookupKey: 'featureNo',
@@ -43342,7 +43353,7 @@ var Options$1 = /*#__PURE__*/forwardRef(function Options(_ref, ref) {
43342
43353
  label: 'backoffice.idmCatalog.series.label.serieNo',
43343
43354
  lookupLabelTemplate: '${name} (${value})',
43344
43355
  apiInterface: {
43345
- read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/series'
43356
+ read: apiConfig.idmService + '/catalogs/${catalogId}/series'
43346
43357
  },
43347
43358
  lookupValue: 'seriesName',
43348
43359
  lookupKey: 'serieNo',
@@ -43389,7 +43400,7 @@ var Options$1 = /*#__PURE__*/forwardRef(function Options(_ref, ref) {
43389
43400
  label: 'backoffice.idmCatalog.series.label.serieNo',
43390
43401
  lookupLabelTemplate: '${name} (${value})',
43391
43402
  apiInterface: {
43392
- read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/series'
43403
+ read: apiConfig.idmService + '/catalogs/${catalogId}/series'
43393
43404
  },
43394
43405
  lookupValue: 'seriesName',
43395
43406
  lookupKey: 'serieNo',
@@ -43466,7 +43477,7 @@ var Options$1 = /*#__PURE__*/forwardRef(function Options(_ref, ref) {
43466
43477
  dateFormat: 'DD.MM.YYYY'
43467
43478
  }
43468
43479
  }]
43469
- }, {
43480
+ }], _toConsumableArray(isIdm4 ? [] : [{
43470
43481
  headerName: 'backoffice.idmCatalog.options.label.material',
43471
43482
  children: [{
43472
43483
  headerName: 'backoffice.idmCatalog.options.label.materialNo',
@@ -43485,7 +43496,7 @@ var Options$1 = /*#__PURE__*/forwardRef(function Options(_ref, ref) {
43485
43496
  field: 'materialColorB',
43486
43497
  cellDataType: 'number'
43487
43498
  }]
43488
- }, {
43499
+ }]), [{
43489
43500
  headerName: 'backoffice.idmCatalog.options.label.measurement',
43490
43501
  children: [{
43491
43502
  headerName: 'backoffice.idmCatalog.options.label.measureNo',
@@ -43537,9 +43548,9 @@ var Options$1 = /*#__PURE__*/forwardRef(function Options(_ref, ref) {
43537
43548
  lockVisible: true,
43538
43549
  suppressColumnsToolPanel: true,
43539
43550
  defaultValue: '${catalogId}'
43540
- }]
43551
+ }])
43541
43552
  };
43542
- }, [selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.isoLanguageIds, i18n.language]);
43553
+ }, [selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.isoLanguageIds, selectedCatalog === null || selectedCatalog === void 0 ? void 0 : selectedCatalog.major, i18n.language, t]);
43543
43554
  return /*#__PURE__*/jsx(Spreadsheet, {
43544
43555
  ref: ref,
43545
43556
  gridId: 'crud-grid_catalogoptions',
@@ -43595,7 +43606,7 @@ var TableOptions$1 = observer(function () {
43595
43606
  buttonIcon: /*#__PURE__*/jsx(DownloadOutlined$1, {}),
43596
43607
  buttonText: t('backoffice.idmEnricher.importexcel.label'),
43597
43608
  modalTitle: t('backoffice.idmEnricher.importexcel.label'),
43598
- endpoint: "".concat(apiConfig.idmService, "/v3.0/catalogs/").concat(catalogId, "/options/bulk/excel"),
43609
+ endpoint: "".concat(apiConfig.idmService, "/catalogs/").concat(catalogId, "/options/bulk/excel"),
43599
43610
  authToken: jwt,
43600
43611
  acceptedFileTypes: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
43601
43612
  uploadHint: t('backoffice.idmEnricher.importexcel.uploadhint'),
@@ -46808,12 +46819,12 @@ function Features(_ref) {
46808
46819
  return {
46809
46820
  type: 'dotnetSSM',
46810
46821
  apiInterface: {
46811
- read: apiConfig.idmService + '/v3.0/${organizationId}/features',
46812
- create: readOnly ? undefined : apiConfig.idmService + '/v3.0/${organizationId}/features',
46813
- restore: readOnly ? undefined : apiConfig.idmService + '/v3.0/${organizationId}/features/${_id}/restore',
46814
- "delete": readOnly ? undefined : apiConfig.idmService + '/v3.0/${organizationId}/features/${_id}',
46815
- update: readOnly ? undefined : apiConfig.idmService + '/v3.0/${organizationId}/features/${_id}',
46816
- bulk: readOnly ? undefined : apiConfig.idmService + '/v3.0/${organizationId}/features/bulk'
46822
+ read: apiConfig.idmService + '/${organizationId}/features',
46823
+ create: readOnly ? undefined : apiConfig.idmService + '/${organizationId}/features',
46824
+ restore: readOnly ? undefined : apiConfig.idmService + '/${organizationId}/features/${_id}/restore',
46825
+ "delete": readOnly ? undefined : apiConfig.idmService + '/${organizationId}/features/${_id}',
46826
+ update: readOnly ? undefined : apiConfig.idmService + '/${organizationId}/features/${_id}',
46827
+ bulk: readOnly ? undefined : apiConfig.idmService + '/${organizationId}/features/bulk'
46817
46828
  },
46818
46829
  dateFormat: 'DD.MM.YYYY, HH:mm:ss',
46819
46830
  colDef: [{
@@ -46958,12 +46969,12 @@ function Options(_ref) {
46958
46969
  return {
46959
46970
  type: 'dotnetSSM',
46960
46971
  apiInterface: {
46961
- read: apiConfig.idmService + '/v3.0/${organizationId}/options',
46962
- create: readOnly ? undefined : apiConfig.idmService + '/v3.0/${organizationId}/options',
46963
- restore: readOnly ? undefined : apiConfig.idmService + '/v3.0/${organizationId}/options/${_id}/restore',
46964
- "delete": readOnly ? undefined : apiConfig.idmService + '/v3.0/${organizationId}/options/${_id}',
46965
- update: readOnly ? undefined : apiConfig.idmService + '/v3.0/${organizationId}/options/${_id}',
46966
- bulk: readOnly ? undefined : apiConfig.idmService + '/v3.0/${organizationId}/options/bulk'
46972
+ read: apiConfig.idmService + '/${organizationId}/options',
46973
+ create: readOnly ? undefined : apiConfig.idmService + '/${organizationId}/options',
46974
+ restore: readOnly ? undefined : apiConfig.idmService + '/${organizationId}/options/${_id}/restore',
46975
+ "delete": readOnly ? undefined : apiConfig.idmService + '/${organizationId}/options/${_id}',
46976
+ update: readOnly ? undefined : apiConfig.idmService + '/${organizationId}/options/${_id}',
46977
+ bulk: readOnly ? undefined : apiConfig.idmService + '/${organizationId}/options/bulk'
46967
46978
  },
46968
46979
  dateFormat: 'DD.MM.YYYY, HH:mm:ss',
46969
46980
  colDef: [{
@@ -46974,11 +46985,6 @@ function Options(_ref) {
46974
46985
  field: 'sequenceNo',
46975
46986
  cellDataType: 'number'
46976
46987
  }, createTranslatedColumnConfig('optionText', 'backoffice.idmCatalog.options.label.optionText', languages, true), createTranslatedColumnConfig('optionCommentText', 'backoffice.idmCatalog.options.label.optionCommentText', languages), {
46977
- headerName: 'backoffice.idmCatalog.options.label.optionFreeText',
46978
- field: 'optionFreeText',
46979
- cellDataType: 'boolean',
46980
- defaultValue: false
46981
- }, {
46982
46988
  field: 'featureNos',
46983
46989
  headerName: 'backoffice.idmCatalogEditor.catalogoptions.label.featureIds',
46984
46990
  cellDataType: 'lookup',
@@ -46989,7 +46995,7 @@ function Options(_ref) {
46989
46995
  filterCellType: 'number',
46990
46996
  displayLabelTemplate: '${name} (${value})',
46991
46997
  apiInterface: {
46992
- read: apiConfig.idmService + '/v3.0/${organizationId}/features'
46998
+ read: apiConfig.idmService + '/${organizationId}/features'
46993
46999
  },
46994
47000
  lookupValue: 'featureText',
46995
47001
  lookupKey: 'featureNo',
@@ -47098,25 +47104,6 @@ function Options(_ref) {
47098
47104
  dateFormat: 'DD.MM.YYYY'
47099
47105
  }
47100
47106
  }]
47101
- }, {
47102
- headerName: 'backoffice.idmCatalog.options.label.material',
47103
- children: [{
47104
- headerName: 'backoffice.idmCatalog.options.label.materialNo',
47105
- field: 'materialNo',
47106
- editable: false
47107
- }, {
47108
- headerName: 'backoffice.idmCatalog.options.label.materialColorR',
47109
- field: 'materialColorR',
47110
- cellDataType: 'number'
47111
- }, {
47112
- headerName: 'backoffice.idmCatalog.options.label.materialColorG',
47113
- field: 'materialColorG',
47114
- cellDataType: 'number'
47115
- }, {
47116
- headerName: 'backoffice.idmCatalog.options.label.materialColorB',
47117
- field: 'materialColorB',
47118
- cellDataType: 'number'
47119
- }]
47120
47107
  }, {
47121
47108
  headerName: 'backoffice.idmCatalog.options.label.measurement',
47122
47109
  children: [{
@@ -1 +1 @@
1
- {"version":3,"file":"DataStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/DataStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEtE,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,MAAM,CAAC,OAAO;IAQA,OAAO,CAAC,IAAI;IAPxB,OAAO,CAAC,IAAI,CAAC,CAAS;IACtB,OAAO,CAAC,OAAO,CAAC,CAAS;IACzB,OAAO,CAAC,YAAY,CAAC,CAAW;IAChC,OAAO,CAAC,oBAAoB,CAAC,CAAmB;IAChD,OAAO,CAAC,SAAS,CAAkB;IACnC,OAAO,CAAC,uBAAuB,CAAC,CAAqB;gBAEjC,IAAI,EAAE,SAAS;IAWnC,WAAW,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,QAAQ;IAMjE,mBAAmB,CAAC,mBAAmB,CAAC,EAAE,gBAAgB;IAI1D,yBAAyB,CAAC,EAAE,CAAC,EAAE,MAAM;IAIrC,aAAa;IAIb,IAAI,QAAQ,YAEX;IACD,IAAI,GAAG,uBAEN;IACD,IAAI,MAAM,uBAET;IACD,IAAI,WAAW,yBAEd;IACD,IAAI,cAAc,uBAEjB;IACD,IAAI,sBAAsB,uBAEzB;IACD,IAAI,mBAAmB,iCAEtB;IAED,IAAI,YAAY;;;;MAEf;IACK,kBAAkB,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM;IAGjE,oBAAoB,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM;CAG1E"}
1
+ {"version":3,"file":"DataStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/DataStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEtE,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,MAAM,CAAC,OAAO;IAQA,OAAO,CAAC,IAAI;IAPxB,OAAO,CAAC,IAAI,CAAC,CAAS;IACtB,OAAO,CAAC,OAAO,CAAC,CAAS;IACzB,OAAO,CAAC,YAAY,CAAC,CAAW;IAChC,OAAO,CAAC,oBAAoB,CAAC,CAAmB;IAChD,OAAO,CAAC,SAAS,CAAkB;IACnC,OAAO,CAAC,uBAAuB,CAAC,CAAqB;gBAEjC,IAAI,EAAE,SAAS;IAWnC,WAAW,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,QAAQ;IAMjE,mBAAmB,CAAC,mBAAmB,CAAC,EAAE,gBAAgB;IAW1D,yBAAyB,CAAC,EAAE,CAAC,EAAE,MAAM;IAIrC,aAAa;IAIb,IAAI,QAAQ,YAEX;IACD,IAAI,GAAG,uBAEN;IACD,IAAI,MAAM,uBAET;IACD,IAAI,WAAW,yBAEd;IACD,IAAI,cAAc,uBAEjB;IACD,IAAI,sBAAsB,uBAEzB;IACD,IAAI,mBAAmB,iCAEtB;IAED,IAAI,YAAY;;;;MAEf;IACK,kBAAkB,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM;IAGjE,oBAAoB,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM;CAG1E"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/store/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAA+B,MAAM,0BAA0B,CAAC;AACvF,OAAO,KAA6C,MAAM,OAAO,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,SAAS,MAAM,aAAa,CAAC;AAIpC,eAAO,MAAM,aAAa,uCAIvB,cAAc,CAAC,aAAa,CAAC,GAAG;IACjC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;CAC9B,sBAwBA,CAAC;AAEF,eAAO,MAAM,QAAQ,iBAMpB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/store/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAA+B,MAAM,0BAA0B,CAAC;AACvF,OAAO,KAA6C,MAAM,OAAO,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,SAAS,MAAM,aAAa,CAAC;AAIpC,eAAO,MAAM,aAAa,uCAIvB,cAAc,CAAC,aAAa,CAAC,GAAG;IACjC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;CAC9B,sBA2BA,CAAC;AAEF,eAAO,MAAM,QAAQ,iBAMpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAiB,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,QAAA,MAAM,OAAO;oBAGO,MAAM;qBACL,WAAW;eACjB,SAAS;YACZ,oBAAoB,CAAC,GAAG,CAAC;6CAwTnC,CAAC;AAEH,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAiB,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,QAAA,MAAM,OAAO;oBAGO,MAAM;qBACL,WAAW;eACjB,SAAS;YACZ,oBAAoB,CAAC,GAAG,CAAC;6CAkUnC,CAAC;AAEH,eAAe,OAAO,CAAC"}
@@ -6,5 +6,7 @@ export interface CatalogData {
6
6
  name: string;
7
7
  _id: string;
8
8
  isoLanguageIds: string[];
9
+ /** Present when loaded from catalog list (e.g. fields include major). */
10
+ major?: number;
9
11
  }
10
12
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,WAAW,6BAA8B,SAAQ,sBAAsB;IAC3E,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AACD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/IDMCatalogEditor/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,WAAW,6BAA8B,SAAQ,sBAAsB;IAC3E,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AACD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,yEAAyE;IACzE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -1 +1 @@
1
- {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMOrganizationOptionsEditor/Tables/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,qBAsPnE"}
1
+ {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMOrganizationOptionsEditor/Tables/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,qBAyNnE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "26.4.0-beta.15",
3
+ "version": "26.4.0-beta.17",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^6.5.0",
@@ -15,13 +15,13 @@
15
15
  "dependencies": {
16
16
  "@ant-design/icons": "6.1.0",
17
17
  "@babel/runtime": "7.24.7",
18
- "@crystaldesign/content-box": "26.4.0-beta.15",
19
- "@crystaldesign/content-item": "26.4.0-beta.15",
20
- "@crystaldesign/diva-core": "26.4.0-beta.15",
21
- "@crystaldesign/diva-utils": "26.4.0-beta.15",
22
- "@crystaldesign/media-upload": "26.4.0-beta.15",
23
- "@crystaldesign/rtf-editor": "26.4.0-beta.15",
24
- "@crystaldesign/spreadsheet": "26.4.0-beta.15",
18
+ "@crystaldesign/content-box": "26.4.0-beta.17",
19
+ "@crystaldesign/content-item": "26.4.0-beta.17",
20
+ "@crystaldesign/diva-core": "26.4.0-beta.17",
21
+ "@crystaldesign/diva-utils": "26.4.0-beta.17",
22
+ "@crystaldesign/media-upload": "26.4.0-beta.17",
23
+ "@crystaldesign/rtf-editor": "26.4.0-beta.17",
24
+ "@crystaldesign/spreadsheet": "26.4.0-beta.17",
25
25
  "@google/model-viewer": "3.5.0",
26
26
  "ag-charts-community": "^10.1.0",
27
27
  "ag-charts-react": "^10.1.0",
@@ -52,5 +52,5 @@
52
52
  },
53
53
  "module": "build/esm/index.js",
54
54
  "types": "./build/types/backoffice/src/index.d.ts",
55
- "gitHead": "8e582113a0e5f0252e9d7158b422459b74406f7a"
55
+ "gitHead": "d680b041a7453755eaafde78c1337b60f444228b"
56
56
  }