@crystaldesign/diva-backoffice 26.5.0-beta.1 → 26.5.0-beta.2

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.
@@ -35528,7 +35528,7 @@ var TablePackages = observer(function () {
35528
35528
  filterCellType: 'objectId',
35529
35529
  nameField: 'basedCatalogName',
35530
35530
  apiInterface: {
35531
- read: apiConfig.idmService + '/v3.0/catalogs?organizationId=${organizationId}'
35531
+ read: apiConfig.idmService + '/catalogs?organizationId=${organizationId}'
35532
35532
  },
35533
35533
  lookupValue: 'name',
35534
35534
  lookupKey: '_id',
@@ -40732,7 +40732,7 @@ var Catalogs = /*#__PURE__*/forwardRef(function Catalogs(_ref, ref) {
40732
40732
  children: [{
40733
40733
  headerName: 'backoffice.idmCatalog.general.label.catalogNumber',
40734
40734
  field: 'catalogNumber',
40735
- required: true
40735
+ required: catalogMajor === 3
40736
40736
  }, {
40737
40737
  headerName: 'backoffice.idmCatalog.general.label.catalogName',
40738
40738
  marryChildren: true,
@@ -40805,7 +40805,7 @@ var Catalogs = /*#__PURE__*/forwardRef(function Catalogs(_ref, ref) {
40805
40805
  enumData: catalogMark,
40806
40806
  displayLabelTemplate: '${name} (${value})'
40807
40807
  },
40808
- required: true,
40808
+ required: catalogMajor === 3,
40809
40809
  defaultValue: 'K'
40810
40810
  }, {
40811
40811
  headerName: 'backoffice.idmCatalog.general.label.catalogMergeType',
@@ -42259,7 +42259,7 @@ var Items$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
42259
42259
  label: 'backoffice.idmCatalogEditor.items.label.decisionRefs',
42260
42260
  lookupLabelTemplate: '${name} (${value})',
42261
42261
  apiInterface: {
42262
- read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions'
42262
+ read: apiConfig.idmService + '/catalogs/${catalogId}/decisions'
42263
42263
  },
42264
42264
  lookupValue: 'decisionText',
42265
42265
  lookupKey: 'decisionNo',
@@ -42305,7 +42305,7 @@ var Items$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
42305
42305
  label: 'backoffice.idmCatalogEditor.items.label.decisionRefs',
42306
42306
  lookupLabelTemplate: '${name} (${value})',
42307
42307
  apiInterface: {
42308
- read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions'
42308
+ read: apiConfig.idmService + '/catalogs/${catalogId}/decisions'
42309
42309
  },
42310
42310
  lookupValue: 'decisionText',
42311
42311
  lookupKey: 'decisionNo',
@@ -43031,7 +43031,7 @@ var TableSeries = observer(function () {
43031
43031
  filterCellType: 'number',
43032
43032
  displayLabelTemplate: '${name} (${value})',
43033
43033
  apiInterface: {
43034
- read: apiConfig.idmService + '/v3.0/catalogs/${catalogId}/decisions'
43034
+ read: apiConfig.idmService + '/catalogs/${catalogId}/decisions'
43035
43035
  },
43036
43036
  lookupValue: 'decisionText',
43037
43037
  lookupKey: 'decisionNo',
@@ -50599,7 +50599,7 @@ function _loadPackage() {
50599
50599
  }
50600
50600
  _context2.prev = 2;
50601
50601
  _context2.next = 5;
50602
- return fetch("".concat(enricherServiceUrl, "/wysiwyg/v3.0/").concat(packageId, "/catalogs"), {
50602
+ return fetch("".concat(enricherServiceUrl, "/wysiwyg/").concat(packageId, "/catalogs"), {
50603
50603
  method: 'GET',
50604
50604
  headers: headers
50605
50605
  });
@@ -50612,7 +50612,7 @@ function _loadPackage() {
50612
50612
  catalog = JSON.parse(catalogText);
50613
50613
  catalogId = catalog._id; // Then, fetch the series for this catalog
50614
50614
  _context2.next = 13;
50615
- return fetch("".concat(enricherServiceUrl, "/wysiwyg/v3.0/").concat(packageId, "/catalogs/").concat(catalogId, "/series"), {
50615
+ return fetch("".concat(enricherServiceUrl, "/wysiwyg/").concat(packageId, "/catalogs/").concat(catalogId, "/series"), {
50616
50616
  method: 'GET',
50617
50617
  headers: headers
50618
50618
  });
@@ -50662,7 +50662,7 @@ function _loadCatalogs() {
50662
50662
  baseUrl = useIDMService ? idmServiceUrl : enricherServiceUrl;
50663
50663
  _context3.prev = 3;
50664
50664
  _context3.next = 6;
50665
- return fetch("".concat(baseUrl, "/v3.0/catalogs/").concat(catalogId, "/series"), {
50665
+ return fetch("".concat(baseUrl, "/catalogs/").concat(catalogId, "/series"), {
50666
50666
  method: 'GET',
50667
50667
  headers: headers
50668
50668
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "26.5.0-beta.1",
3
+ "version": "26.5.0-beta.2",
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.5.0-beta.1",
19
- "@crystaldesign/content-item": "26.5.0-beta.1",
20
- "@crystaldesign/diva-core": "26.5.0-beta.1",
21
- "@crystaldesign/diva-utils": "26.5.0-beta.1",
22
- "@crystaldesign/media-upload": "26.5.0-beta.1",
23
- "@crystaldesign/rtf-editor": "26.5.0-beta.1",
24
- "@crystaldesign/spreadsheet": "26.5.0-beta.1",
18
+ "@crystaldesign/content-box": "26.5.0-beta.2",
19
+ "@crystaldesign/content-item": "26.5.0-beta.2",
20
+ "@crystaldesign/diva-core": "26.5.0-beta.2",
21
+ "@crystaldesign/diva-utils": "26.5.0-beta.2",
22
+ "@crystaldesign/media-upload": "26.5.0-beta.2",
23
+ "@crystaldesign/rtf-editor": "26.5.0-beta.2",
24
+ "@crystaldesign/spreadsheet": "26.5.0-beta.2",
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": "96b435ae2034e5d16e116a91334ac026d4dba7bb"
55
+ "gitHead": "41f9149613ce6595a72233ee569f177178031bd7"
56
56
  }