@crystaldesign/diva-backoffice 25.14.0-beta.16 → 25.14.0-beta.18

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.
@@ -33879,6 +33879,9 @@ var TablePackages = observer(function () {
33879
33879
  apiInterface: {
33880
33880
  read: apiConfig.authService + "/organizations/".concat(organizationId, "/related")
33881
33881
  },
33882
+ filter: function filter(_, lookupData) {
33883
+ return lookupData._id !== organizationId;
33884
+ },
33882
33885
  lookupValue: 'displayName',
33883
33886
  lookupKey: '_id',
33884
33887
  serverType: 'nodejs',
@@ -41809,10 +41812,31 @@ function OptionCombinations(_ref) {
41809
41812
  },
41810
41813
  defaultValue: []
41811
41814
  }] : decision.decisionType == 3 ? [{
41812
- headerName: 'backoffice.idmCatalog.optionCombinations.label.actions',
41815
+ headerName: 'backoffice.idmCatalog.optionCombinations.label.setPosCountValue',
41813
41816
  field: 'actions',
41814
- cellDataType: 'array',
41815
- defaultValue: []
41817
+ cellDataType: 'number',
41818
+ required: true,
41819
+ customParams: {
41820
+ useParser: true,
41821
+ useFormatter: true
41822
+ },
41823
+ valueFormatter: function valueFormatter(_ref2) {
41824
+ _ref2.data;
41825
+ var value = _ref2.value;
41826
+ if (Array.isArray(value)) {
41827
+ var action = value === null || value === void 0 ? void 0 : value.find(function (action) {
41828
+ return action.startsWith('SET_POS_COUNT_VALUE');
41829
+ });
41830
+ return action ? Number(action.split(':')[1]) : undefined;
41831
+ }
41832
+ return value;
41833
+ },
41834
+ valueParser: function valueParser(_ref3) {
41835
+ var newValue = _ref3.newValue;
41836
+ if (newValue == '') return undefined;
41837
+ return ["SET_POS_COUNT_VALUE:".concat(newValue)];
41838
+ },
41839
+ additionalFields: ['projectActions']
41816
41840
  }] : []), [{
41817
41841
  headerName: 'backoffice.idmCatalogEditor.general.label.sequenceNo',
41818
41842
  field: 'sequence',
@@ -41840,13 +41864,6 @@ function OptionCombinations(_ref) {
41840
41864
  field: '_id',
41841
41865
  editable: false,
41842
41866
  cellDataType: 'objectId'
41843
- }, {
41844
- field: 'organizationId',
41845
- editable: false,
41846
- hide: true,
41847
- lockVisible: true,
41848
- suppressColumnsToolPanel: true,
41849
- defaultValue: '${organizationId}'
41850
41867
  }, {
41851
41868
  field: 'catalogId',
41852
41869
  editable: false,
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAMrE,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,QAAQ,EACR,SAAS,EACT,SAAS,EACT,gBAAgB,GACjB,EAAE;IACD,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;CAC1D,qBAmLA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAOrE,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,QAAQ,EACR,SAAS,EACT,SAAS,EACT,gBAAgB,GACjB,EAAE;IACD,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC;CAC1D,qBA4LA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AA6BpD,eAAO,MAAM,aAAa;;CAiWxB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AA6BpD,eAAO,MAAM,aAAa;;CAoWxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "25.14.0-beta.16",
3
+ "version": "25.14.0-beta.18",
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.14.0-beta.16",
19
- "@crystaldesign/content-item": "25.14.0-beta.16",
20
- "@crystaldesign/diva-core": "25.14.0-beta.16",
21
- "@crystaldesign/diva-utils": "25.14.0-beta.16",
22
- "@crystaldesign/media-upload": "25.14.0-beta.16",
23
- "@crystaldesign/rtf-editor": "25.14.0-beta.16",
24
- "@crystaldesign/spreadsheet": "25.14.0-beta.16",
18
+ "@crystaldesign/content-box": "25.14.0-beta.18",
19
+ "@crystaldesign/content-item": "25.14.0-beta.18",
20
+ "@crystaldesign/diva-core": "25.14.0-beta.18",
21
+ "@crystaldesign/diva-utils": "25.14.0-beta.18",
22
+ "@crystaldesign/media-upload": "25.14.0-beta.18",
23
+ "@crystaldesign/rtf-editor": "25.14.0-beta.18",
24
+ "@crystaldesign/spreadsheet": "25.14.0-beta.18",
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": "ebba4520f6150dc558ae92b5219355c83968d6d1"
54
+ "gitHead": "5e5d8b8b6d02d50a3d9d69d028cb42585c346e88"
55
55
  }