@crystaldesign/diva-backoffice 25.14.0-beta.16 → 25.14.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.
@@ -41809,10 +41809,31 @@ function OptionCombinations(_ref) {
41809
41809
  },
41810
41810
  defaultValue: []
41811
41811
  }] : decision.decisionType == 3 ? [{
41812
- headerName: 'backoffice.idmCatalog.optionCombinations.label.actions',
41812
+ headerName: 'backoffice.idmCatalog.optionCombinations.label.setPosCountValue',
41813
41813
  field: 'actions',
41814
- cellDataType: 'array',
41815
- defaultValue: []
41814
+ cellDataType: 'number',
41815
+ required: true,
41816
+ customParams: {
41817
+ useParser: true,
41818
+ useFormatter: true
41819
+ },
41820
+ valueFormatter: function valueFormatter(_ref2) {
41821
+ _ref2.data;
41822
+ var value = _ref2.value;
41823
+ if (Array.isArray(value)) {
41824
+ var action = value === null || value === void 0 ? void 0 : value.find(function (action) {
41825
+ return action.startsWith('SET_POS_COUNT_VALUE');
41826
+ });
41827
+ return action ? Number(action.split(':')[1]) : undefined;
41828
+ }
41829
+ return value;
41830
+ },
41831
+ valueParser: function valueParser(_ref3) {
41832
+ var newValue = _ref3.newValue;
41833
+ if (newValue == '') return undefined;
41834
+ return ["SET_POS_COUNT_VALUE:".concat(newValue)];
41835
+ },
41836
+ additionalFields: ['projectActions']
41816
41837
  }] : []), [{
41817
41838
  headerName: 'backoffice.idmCatalogEditor.general.label.sequenceNo',
41818
41839
  field: 'sequence',
@@ -41840,13 +41861,6 @@ function OptionCombinations(_ref) {
41840
41861
  field: '_id',
41841
41862
  editable: false,
41842
41863
  cellDataType: 'objectId'
41843
- }, {
41844
- field: 'organizationId',
41845
- editable: false,
41846
- hide: true,
41847
- lockVisible: true,
41848
- suppressColumnsToolPanel: true,
41849
- defaultValue: '${organizationId}'
41850
41864
  }, {
41851
41865
  field: 'catalogId',
41852
41866
  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"}
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.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": "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.17",
19
+ "@crystaldesign/content-item": "25.14.0-beta.17",
20
+ "@crystaldesign/diva-core": "25.14.0-beta.17",
21
+ "@crystaldesign/diva-utils": "25.14.0-beta.17",
22
+ "@crystaldesign/media-upload": "25.14.0-beta.17",
23
+ "@crystaldesign/rtf-editor": "25.14.0-beta.17",
24
+ "@crystaldesign/spreadsheet": "25.14.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",
@@ -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": "a4a6a77e10e76bcf89c2958113ebf3bcd8519ed5"
55
55
  }