@crystaldesign/diva-backoffice 25.4.0-beta.16 → 25.4.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.
@@ -36540,7 +36540,8 @@ var ACTION_TYPES = {
36540
36540
  SET_FEATURE: 'SET_FEATURE',
36541
36541
  SET_FEATURE_DEFAULT_NULL: 'SET_FEATURE_DEFAULT_NULL',
36542
36542
  ENABLE_DECISION: 'ENABLE_DECISION',
36543
- DISABLE_DECISION: 'DISABLE_DECISION'
36543
+ DISABLE_DECISION: 'DISABLE_DECISION',
36544
+ SET_MESSAGE: 'SET_MESSAGE'
36544
36545
  };
36545
36546
  var REFERENCE_TYPES = {
36546
36547
  OPTION_REF: 'OPTION_REF',
@@ -36551,6 +36552,7 @@ function createValueString(values) {
36551
36552
  var valueString = "".concat(values.actionType, ":");
36552
36553
  valueString += values.featureNo || '';
36553
36554
  valueString += values.decisionNo || '';
36555
+ valueString += values.messageNo || '';
36554
36556
  valueString += values.referenceType ? "=".concat(values.referenceType, "#") : '';
36555
36557
  valueString += values.featureRefNo || '';
36556
36558
  valueString += values.optionRefNo || '';
@@ -36586,6 +36588,29 @@ function ActionForm(_ref) {
36586
36588
  form.setFields([{
36587
36589
  name: 'featureNo',
36588
36590
  value: undefined
36591
+ }, {
36592
+ name: 'messageNo',
36593
+ value: undefined
36594
+ }, {
36595
+ name: 'referenceType',
36596
+ value: undefined
36597
+ }, {
36598
+ name: 'featureRefNo',
36599
+ value: undefined
36600
+ }, {
36601
+ name: 'optionRefNo',
36602
+ value: undefined
36603
+ }, {
36604
+ name: 'formula',
36605
+ value: undefined
36606
+ }]);
36607
+ } else if (fieldValue === ACTION_TYPES.SET_MESSAGE) {
36608
+ form.setFields([{
36609
+ name: 'featureNo',
36610
+ value: undefined
36611
+ }, {
36612
+ name: 'decisionNo',
36613
+ value: undefined
36589
36614
  }, {
36590
36615
  name: 'referenceType',
36591
36616
  value: undefined
@@ -36603,6 +36628,9 @@ function ActionForm(_ref) {
36603
36628
  form.setFields([{
36604
36629
  name: 'decisionNo',
36605
36630
  value: undefined
36631
+ }, {
36632
+ name: 'messageNo',
36633
+ value: undefined
36606
36634
  }]);
36607
36635
  if (['VISIBLE', 'INVISIBLE'].includes(fieldValue.split('_')[2])) {
36608
36636
  form.setFields([{
@@ -36715,6 +36743,13 @@ function ActionForm(_ref) {
36715
36743
  required: true
36716
36744
  }],
36717
36745
  children: /*#__PURE__*/jsx(Input, {})
36746
+ }), actionType === ACTION_TYPES.SET_MESSAGE && /*#__PURE__*/jsx(Form$1.Item, {
36747
+ name: "messageNo",
36748
+ label: t('backoffice.idmCatalog.optionCombinations.label.messageNo'),
36749
+ rules: [{
36750
+ required: true
36751
+ }],
36752
+ children: /*#__PURE__*/jsx(Input, {})
36718
36753
  }), (actionType === null || actionType === void 0 ? void 0 : actionType.startsWith('SET_FEATURE')) && !['VISIBLE', 'INVISIBLE'].includes(actionType.split('_')[2]) && /*#__PURE__*/jsx(Form$1.Item, {
36719
36754
  name: "referenceType",
36720
36755
  label: t('backoffice.idmCatalog.optionCombinations.label.reference'),
@@ -37070,7 +37105,7 @@ function OptionCombinations(_ref) {
37070
37105
  }], _toConsumableArray(decision.decisionType == 2 ? [{
37071
37106
  headerName: 'backoffice.idmCatalog.optionCombinations.label.actions',
37072
37107
  field: 'actions',
37073
- cellDataType: 'text',
37108
+ cellDataType: 'array',
37074
37109
  customParams: {
37075
37110
  expandedEditor: OptionCombinationsExpandedEditor
37076
37111
  },
@@ -37078,7 +37113,7 @@ function OptionCombinations(_ref) {
37078
37113
  }] : decision.decisionType == 3 ? [{
37079
37114
  headerName: 'backoffice.idmCatalog.optionCombinations.label.actions',
37080
37115
  field: 'actions',
37081
- cellDataType: 'text',
37116
+ cellDataType: 'array',
37082
37117
  defaultValue: []
37083
37118
  }] : []), [{
37084
37119
  headerName: 'backoffice.idmCatalogEditor.general.label.sequenceNo',
@@ -8,6 +8,7 @@ export declare const ACTION_TYPES: {
8
8
  readonly SET_FEATURE_DEFAULT_NULL: "SET_FEATURE_DEFAULT_NULL";
9
9
  readonly ENABLE_DECISION: "ENABLE_DECISION";
10
10
  readonly DISABLE_DECISION: "DISABLE_DECISION";
11
+ readonly SET_MESSAGE: "SET_MESSAGE";
11
12
  };
12
13
  export declare const REFERENCE_TYPES: {
13
14
  readonly OPTION_REF: "OPTION_REF";
@@ -20,6 +21,7 @@ export interface FormValues {
20
21
  actionType: ActionType;
21
22
  featureNo?: string;
22
23
  decisionNo?: string;
24
+ messageNo?: string;
23
25
  referenceType?: ReferenceType;
24
26
  featureRefNo?: string;
25
27
  optionRefNo?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ActionForm.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations/ActionForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAM/D,eAAO,MAAM,YAAY;;;;;;;;;CASf,CAAC;AAEX,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAC1E,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEnF,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAS5D;AAED,UAAU,eAAe;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IACpC,MAAM,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,UAAU,CAAC,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,eAAe,qBAyJ9E"}
1
+ {"version":3,"file":"ActionForm.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations/ActionForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAM/D,eAAO,MAAM,YAAY;;;;;;;;;;CAUf,CAAC;AAEX,eAAO,MAAM,eAAe;;;;CAIlB,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAC1E,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEnF,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAU5D;AAED,UAAU,eAAe;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IACpC,MAAM,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,UAAU,CAAC,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,eAAe,qBA2K9E"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "25.4.0-beta.16",
3
+ "version": "25.4.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.4.0-beta.16",
19
- "@crystaldesign/content-item": "25.4.0-beta.16",
20
- "@crystaldesign/diva-core": "25.4.0-beta.16",
21
- "@crystaldesign/diva-utils": "25.4.0-beta.16",
22
- "@crystaldesign/media-upload": "25.4.0-beta.16",
23
- "@crystaldesign/rtf-editor": "25.4.0-beta.16",
24
- "@crystaldesign/spreadsheet": "25.4.0-beta.16",
18
+ "@crystaldesign/content-box": "25.4.0-beta.18",
19
+ "@crystaldesign/content-item": "25.4.0-beta.18",
20
+ "@crystaldesign/diva-core": "25.4.0-beta.18",
21
+ "@crystaldesign/diva-utils": "25.4.0-beta.18",
22
+ "@crystaldesign/media-upload": "25.4.0-beta.18",
23
+ "@crystaldesign/rtf-editor": "25.4.0-beta.18",
24
+ "@crystaldesign/spreadsheet": "25.4.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": "df52f39871f5e56c63fd1590e214b519b9fb77eb"
54
+ "gitHead": "7e9da069d4860096180f58dde630b94aa69b804b"
55
55
  }