@sap/ux-specification 1.139.12 → 1.139.13

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.
Files changed (95) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
  3. package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
  4. package/dist/documentation/v2/v2-ListReport.html +2 -2
  5. package/dist/documentation/v2/v2-ListReportNew.html +2 -2
  6. package/dist/documentation/v2/v2-ObjectPage.html +2 -2
  7. package/dist/documentation/v2/v2-OverviewPage.html +2 -2
  8. package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
  9. package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
  10. package/dist/documentation/v4/v4-FreestylePage.html +2 -2
  11. package/dist/documentation/v4/v4-ListReport.html +2 -2
  12. package/dist/documentation/v4/v4-ObjectPage.html +2 -2
  13. package/dist/index-min.js +244 -236
  14. package/dist/index-min.js.map +4 -4
  15. package/dist/schemas/v2/ListReportNewConfig.json +143 -0
  16. package/dist/schemas/v4/BuildingBlocksConfig.json +100 -8
  17. package/dist/specification/package.json +4 -4
  18. package/dist/specification/scripts/macros/corrections.d.ts.map +1 -1
  19. package/dist/specification/scripts/macros/corrections.js +71 -3
  20. package/dist/specification/scripts/macros/corrections.js.map +1 -1
  21. package/dist/specification/scripts/macros/schema.d.ts +9 -0
  22. package/dist/specification/scripts/macros/schema.d.ts.map +1 -1
  23. package/dist/specification/scripts/macros/schema.js +21 -4
  24. package/dist/specification/scripts/macros/schema.js.map +1 -1
  25. package/dist/specification/scripts/schema/to-json-schema.js +1 -1
  26. package/dist/specification/scripts/schema/to-json-schema.js.map +1 -1
  27. package/dist/specification/src/ftfs/parser/model/ObjectAggregation.d.ts +21 -0
  28. package/dist/specification/src/ftfs/parser/model/ObjectAggregation.d.ts.map +1 -1
  29. package/dist/specification/src/ftfs/parser/model/ObjectAggregation.js +35 -0
  30. package/dist/specification/src/ftfs/parser/model/ObjectAggregation.js.map +1 -1
  31. package/dist/specification/src/ftfs/parser/model/TreeModel.d.ts.map +1 -1
  32. package/dist/specification/src/ftfs/parser/model/TreeModel.js +3 -2
  33. package/dist/specification/src/ftfs/parser/model/TreeModel.js.map +1 -1
  34. package/dist/specification/src/ftfs/parser/model/actions/ActionAggregation.d.ts +0 -3
  35. package/dist/specification/src/ftfs/parser/model/actions/ActionAggregation.d.ts.map +1 -1
  36. package/dist/specification/src/ftfs/parser/model/actions/ActionAggregation.js +6 -4
  37. package/dist/specification/src/ftfs/parser/model/actions/ActionAggregation.js.map +1 -1
  38. package/dist/specification/src/ftfs/parser/model/actions/ActionGroupAggregation.d.ts +86 -0
  39. package/dist/specification/src/ftfs/parser/model/actions/ActionGroupAggregation.d.ts.map +1 -0
  40. package/dist/specification/src/ftfs/parser/model/actions/ActionGroupAggregation.js +139 -0
  41. package/dist/specification/src/ftfs/parser/model/actions/ActionGroupAggregation.js.map +1 -0
  42. package/dist/specification/src/ftfs/parser/model/actions/ActionsAggregation.d.ts +11 -52
  43. package/dist/specification/src/ftfs/parser/model/actions/ActionsAggregation.d.ts.map +1 -1
  44. package/dist/specification/src/ftfs/parser/model/actions/ActionsAggregation.js +15 -81
  45. package/dist/specification/src/ftfs/parser/model/actions/ActionsAggregation.js.map +1 -1
  46. package/dist/specification/src/ftfs/parser/model/actions/ActionsContainerAggregation.d.ts +46 -0
  47. package/dist/specification/src/ftfs/parser/model/actions/ActionsContainerAggregation.d.ts.map +1 -0
  48. package/dist/specification/src/ftfs/parser/model/actions/ActionsContainerAggregation.js +81 -0
  49. package/dist/specification/src/ftfs/parser/model/actions/ActionsContainerAggregation.js.map +1 -0
  50. package/dist/specification/src/ftfs/parser/model/actions/index.d.ts +2 -0
  51. package/dist/specification/src/ftfs/parser/model/actions/index.d.ts.map +1 -1
  52. package/dist/specification/src/ftfs/parser/model/actions/index.js +2 -0
  53. package/dist/specification/src/ftfs/parser/model/actions/index.js.map +1 -1
  54. package/dist/specification/src/sync/common/generate/utils.d.ts +8 -0
  55. package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -1
  56. package/dist/specification/src/sync/common/generate/utils.js +56 -34
  57. package/dist/specification/src/sync/common/generate/utils.js.map +1 -1
  58. package/dist/specification/src/sync/common/utils.d.ts +9 -2
  59. package/dist/specification/src/sync/common/utils.d.ts.map +1 -1
  60. package/dist/specification/src/sync/common/utils.js +10 -0
  61. package/dist/specification/src/sync/common/utils.js.map +1 -1
  62. package/dist/specification/src/sync/v2/generate/stableIdUtils.d.ts +14 -1
  63. package/dist/specification/src/sync/v2/generate/stableIdUtils.d.ts.map +1 -1
  64. package/dist/specification/src/sync/v2/generate/stableIdUtils.js +110 -0
  65. package/dist/specification/src/sync/v2/generate/stableIdUtils.js.map +1 -1
  66. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/FilterBar.d.ts.map +1 -1
  67. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/FilterBar.js +1 -1
  68. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/FilterBar.js.map +1 -1
  69. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts +1 -0
  70. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts.map +1 -1
  71. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js +4 -0
  72. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js.map +1 -1
  73. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/TableColumn.d.ts +32 -0
  74. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/TableColumn.d.ts.map +1 -0
  75. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/TableColumn.js +274 -0
  76. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/TableColumn.js.map +1 -0
  77. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.d.ts +1 -0
  78. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.d.ts.map +1 -1
  79. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.js +1 -0
  80. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.js.map +1 -1
  81. package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts.map +1 -1
  82. package/dist/specification/src/sync/v4/export/fpmCustomPage.js +141 -72
  83. package/dist/specification/src/sync/v4/export/fpmCustomPage.js.map +1 -1
  84. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.d.ts.map +1 -1
  85. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js +14 -1
  86. package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -1
  87. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +1 -1
  88. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js +66 -4
  89. package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js.map +1 -1
  90. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts.map +1 -1
  91. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js +70 -19
  92. package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js.map +1 -1
  93. package/dist/specification/src/sync/v4/utils/utils.d.ts +1 -1
  94. package/dist/specification/src/sync/v4/utils/utils.js +1 -1
  95. package/package.json +4 -4
@@ -0,0 +1,139 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ActionGroupAggregation = void 0;
7
+ const types_1 = require("../types");
8
+ const ActionAggregation_1 = require("./ActionAggregation");
9
+ const i18next_1 = __importDefault(require("i18next"));
10
+ const ActionsContainerAggregation_1 = require("./ActionsContainerAggregation");
11
+ const ActionsAggregation_1 = require("./ActionsAggregation");
12
+ class ActionGroupAggregation extends ActionsContainerAggregation_1.ActionsContainerAggregation {
13
+ /**
14
+ * Creates an instance of `ActionGroupAggregation`.
15
+ * Reads `actionType` from the schema to set `menuType` and, for `CustomMenu` groups
16
+ * that are not pure aggregations, registers a custom creation form.
17
+ *
18
+ * @param data Optional aggregation data object used to initialize properties.
19
+ * @param schema Optional JSON schema fragment associated with this aggregation.
20
+ */
21
+ constructor(data, schema) {
22
+ super(data, schema);
23
+ this.sortableList = true;
24
+ this.childClass = ActionAggregation_1.ActionAggregation;
25
+ this.allowedAnnotationCreationForms = [];
26
+ this.actions = [{ type: types_1.AggregationActions.Delete }];
27
+ this.sortableItem = types_1.SortingOptions.Enabled;
28
+ this.sortableCollection = 'actions';
29
+ this.i18nKey = 'ACTION_MENU';
30
+ this.disallowEmpty = true;
31
+ this.menuType = schema?.actionType ?? '';
32
+ // Custom creation form - check schema if supported
33
+ if (this.schema?.properties &&
34
+ this.schema?.actionType === 'CustomMenu' &&
35
+ this.schema?.metadata?.type !== 'Aggregation') {
36
+ this.schemaCreationForms = [
37
+ {
38
+ name: types_1.AggregationCreationForm.CustomAction,
39
+ kind: types_1.SCHEMA_CREATION_FORM,
40
+ title: 'PAGE_EDITOR_OUTLINE_ADD_CUSTOM_ACTIONS_TITLE',
41
+ disabled: false
42
+ }
43
+ ];
44
+ this.custom = true;
45
+ this.additionalText = i18next_1.default.t('PAGE_EDITOR_OUTLINE_NODE_DESC_CUSTOM_ACTION_MENU');
46
+ }
47
+ }
48
+ /**
49
+ * Overwritten method for data update of object page actions
50
+ * Method receives current values for actions and detects custom actions.
51
+ *
52
+ * @param data Data which should be used for value population.
53
+ * @param page Page config data.
54
+ * @param pageType Page type.
55
+ * @param path Aggregation path.
56
+ * @param annotations Annotations data.
57
+ */
58
+ updatePropertiesValues(data, page, pageType, path, annotations) {
59
+ super.updatePropertiesValues(data, page, pageType, path, annotations);
60
+ this.formSchema = this.actionsContainer.additionalProperties?.aggregations['actions'];
61
+ const actions = data?.actions ?? {};
62
+ if (actions && typeof actions === 'object') {
63
+ for (const id in actions) {
64
+ const action = this.aggregations['actions'].aggregations[id];
65
+ if (action?.schema && (action.schema.actionType === 'Custom' || !action.schema.annotationPath)) {
66
+ action.markAsCustomAction();
67
+ }
68
+ }
69
+ }
70
+ }
71
+ /**
72
+ * Returns the internal actions container aggregation.
73
+ * For custom action groups this is the nested `ActionsAggregation`; for annotation-based groups it is `this`.
74
+ *
75
+ * @returns The `ActionsAggregation` that holds the action items for this group.
76
+ */
77
+ get actionsContainer() {
78
+ return this.custom ? this.aggregations['actions'] : this;
79
+ }
80
+ /**
81
+ * Resolves the child class to use when instantiating nested aggregation nodes.
82
+ * Custom action groups expose a nested `ActionsAggregation` under the `actions` key;
83
+ * annotation-based action groups only accept children that carry an `annotationPath`.
84
+ *
85
+ * @param schema - The JSON schema of the property being resolved.
86
+ * @param path - The property path leading to the current node.
87
+ * @returns `ActionsAggregation` when the last path segment is `'actions'`, the default
88
+ * `childClass` when the schema has an `annotationPath`, or `undefined` otherwise.
89
+ */
90
+ getChildClass(schema, path = []) {
91
+ if (path[path.length - 1] === 'actions') {
92
+ return ActionsAggregation_1.ActionsAggregation; // Allow nested 'actions' aggregation for custom action groups
93
+ }
94
+ return schema?.annotationPath ? this.childClass : undefined; // annotation bases action groups don't have nested 'actions' aggregation
95
+ }
96
+ /**
97
+ * Method adds aggregation object.
98
+ * Overwritten to mark internal actions container as nested.
99
+ *
100
+ * @param name Name of aggregation.
101
+ * @param aggregation Aggregation to add.
102
+ * @param path Array of path to aggregation.
103
+ * @param order Order index.
104
+ * @param overwrite Overwrite existing aggregation.
105
+ * @returns Added aggregation.
106
+ */
107
+ addAggregation(name, aggregation, path, order, overwrite) {
108
+ aggregation = super.addAggregation(name, aggregation, path, order, overwrite);
109
+ if (aggregation instanceof ActionsAggregation_1.ActionsAggregation) {
110
+ aggregation.isNestedContainer = true;
111
+ }
112
+ return aggregation;
113
+ }
114
+ /**
115
+ * Method returns array of ordered aggregations.
116
+ * Overridden to return nested actions container aggregations for custom action groups.
117
+ *
118
+ * @param viewNodesOnly Return only aggregations for view.
119
+ * @param sortBy Sorting type. Currently aggregations can be sorted by 'ViewNode' to move visible nodes to top.
120
+ * @returns Array of aggregations.
121
+ */
122
+ getAggregations(viewNodesOnly = false, sortBy) {
123
+ return this.custom && viewNodesOnly
124
+ ? this.actionsContainer.getAggregations(viewNodesOnly, sortBy)
125
+ : super.getAggregations(viewNodesOnly, sortBy);
126
+ }
127
+ /**
128
+ * Returns the keys of all menu item actions belonging to this action group.
129
+ * For custom action groups the items are sourced from the nested `ActionsAggregation`;
130
+ * for annotation-based groups they are taken directly from `this`.
131
+ *
132
+ * @returns An array of aggregation key strings representing the menu items.
133
+ */
134
+ getMenuItems() {
135
+ return (this.custom ? this.aggregations['actions'] : this).getAggregationKeys();
136
+ }
137
+ }
138
+ exports.ActionGroupAggregation = ActionGroupAggregation;
139
+ //# sourceMappingURL=ActionGroupAggregation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionGroupAggregation.js","sourceRoot":"","sources":["../../../../../../../src/ftfs/parser/model/actions/ActionGroupAggregation.ts"],"names":[],"mappings":";;;;;;AAEA,oCAA6G;AAE7G,2DAAwD;AACxD,sDAA8B;AAC9B,+EAA4E;AAE5E,6DAA0D;AAE1D,MAAa,sBAAuB,SAAQ,yDAA2B;IAYnE;;;;;;;OAOG;IACH,YAAY,IAA8B,EAAE,MAAoB;QAC5D,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QApBxB,iBAAY,GAAG,IAAI,CAAC;QACpB,eAAU,GAAG,qCAAiB,CAAC;QAC/B,mCAA8B,GAA8B,EAAE,CAAC;QACxD,YAAO,GAAgC,CAAC,EAAE,IAAI,EAAE,0BAAkB,CAAC,MAAM,EAAE,CAAC,CAAC;QAC7E,iBAAY,GAA+B,sBAAc,CAAC,OAAO,CAAC;QAEzE,uBAAkB,GAAuB,SAAS,CAAC;QAEnD,YAAO,GAAG,aAAa,CAAC;QACxB,kBAAa,GAAG,IAAI,CAAC;QAYjB,IAAI,CAAC,QAAQ,GAAG,MAAM,EAAE,UAAU,IAAI,E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AI,CAAC,MAAM,CAAC,CAAC,CAAE,IAAI,CAAC,YAAY,CAAC,SAAS,CAAwB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,kBAAkB,EAAE,CAAC;IAC5G,CAAC;CACJ;AAvJD,wDAuJC"}
@@ -1,67 +1,26 @@
1
1
  import type { JSONSchema4 } from 'json-schema';
2
- import type { PageConfig, PageType, Parser } from '@sap/ux-specification-types';
3
- import { ObjectAggregation } from '../ObjectAggregation';
4
- import type { PageEditAggregationData } from '../ObjectAggregation';
2
+ import type { ObjectAggregation, PageEditAggregationData } from '../ObjectAggregation';
5
3
  import { AggregationCreationForm } from '../types';
6
- import type { PageData, CreationFormOptions, PageAnnotations, AllowedMoveRange } from '../types';
7
- import { ActionAggregation } from './ActionAggregation';
8
- export declare enum ActionType {
9
- Annotation = "Annotation",
10
- Copy = "Copy",
11
- Criticality = "Criticality",
12
- Custom = "Custom",
13
- Standard = "Standard",
14
- StandardWithoutAnnotation = "StandardWithoutAnnotation"
15
- }
16
- export interface ActionsContainers {
17
- top: AllowedMoveRange;
18
- bottom: AllowedMoveRange;
19
- }
20
- /**
21
- * Represents an aggregation for actions container object.
22
- */
23
- export declare class ActionsAggregation extends ObjectAggregation {
24
- sortableList: boolean;
25
- childClass: typeof ActionAggregation;
4
+ import { ActionsContainerAggregation } from './ActionsContainerAggregation';
5
+ export declare class ActionsAggregation extends ActionsContainerAggregation {
26
6
  allowedAnnotationCreationForms: AggregationCreationForm[];
27
- sortableCollection: string | undefined;
28
- i18nKey: string;
29
7
  /**
30
8
  * Creates an instance of `ActionsAggregation`.
9
+ * Registers a custom creation form when the schema exposes `additionalProperties`
10
+ * and is not a pure aggregation type.
31
11
  *
32
12
  * @param data Optional aggregation data object used to initialize properties.
33
13
  * @param schema Optional JSON schema fragment associated with this aggregation.
34
14
  */
35
15
  constructor(data?: PageEditAggregationData, schema?: JSONSchema4);
36
16
  /**
37
- * Method adds aggregation object.
38
- * Overwritten to mark standard action.
39
- *
40
- * @param name Name of aggregation.
41
- * @param aggregation Aggregation to add.
42
- * @param path Array of path to aggregation.
43
- * @param order Order index.
44
- * @param overwrite Overwrite existing aggregation.
45
- * @returns Added aggregation.
46
- */
47
- addAggregation(name: string, aggregation: ObjectAggregation, path: Parser.PropertyPath, order?: number, overwrite?: boolean): ObjectAggregation;
48
- /**
49
- * Overwritten method for data update of object page actions
50
- * Method receives current values for actions and detects custom actions.
51
- *
52
- * @param data Data which should be used for value population.
53
- * @param page Page config data.
54
- * @param pageType Page type.
55
- * @param path Aggregation path.
56
- * @param annotations Annotations data.
57
- */
58
- updatePropertiesValues(data: PageData, page: PageConfig, pageType: PageType, path: Parser.PropertyPath, annotations: PageAnnotations): void;
59
- /**
60
- * Method provides creation options based on its related annotation node.
17
+ * Resolves the child class to use when instantiating a nested action node.
18
+ * Returns `ActionGroupAggregation` for annotation-based action groups (`DataFieldForActionGroup`)
19
+ * and custom menu groups (`CustomMenu`); falls back to the default `childClass` otherwise.
61
20
  *
62
- * @param annotations Page annotations.
63
- * @returns Array of creation forms.
21
+ * @param schema - The JSON schema of the property being resolved.
22
+ * @returns The appropriate child class constructor, or `undefined` if none is defined.
64
23
  */
65
- protected getNativeNodeCreationForms(annotations: PageAnnotations | undefined): CreationFormOptions[];
24
+ getChildClass(schema?: JSONSchema4): typeof ObjectAggregation | undefined;
66
25
  }
67
26
  //# sourceMappingURL=ActionsAggregation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionsAggregation.d.ts","sourceRoot":"","sources":["../../../../../../../src/ftfs/parser/model/actions/ActionsAggregation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAs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Root":"","sources":["../../../../../../../src/ftfs/parser/model/actions/ActionsAggregation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAwB,MAAM,UAAU,CAAC;AAEzE,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,qBAAa,kBAAmB,SAAQ,2BAA2B;IAC/D,8BAA8B,4BAAoF;IAElH;;;;;;;OAOG;gBACS,IAAI,CAAC,EAAE,uBAAuB,EAAE,MAAM,CAAC,EAAE,WAAW;IAehE;;;;;;;OAOG;IACI,aAAa,CAAC,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,iBAAiB,GAAG,SAAS;CAMnF"}
@@ -1,36 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ActionsAggregation = exports.ActionType = void 0;
4
- const ObjectAggregation_1 = require("../ObjectAggregation");
3
+ exports.ActionsAggregation = void 0;
5
4
  const types_1 = require("../types");
6
- const ActionAggregation_1 = require("./ActionAggregation");
7
- // Remove when latest '@sap/ux-specification-types' is released
8
- var ActionType;
9
- (function (ActionType) {
10
- ActionType["Annotation"] = "Annotation";
11
- ActionType["Copy"] = "Copy";
12
- ActionType["Criticality"] = "Criticality";
13
- ActionType["Custom"] = "Custom";
14
- ActionType["Standard"] = "Standard";
15
- ActionType["StandardWithoutAnnotation"] = "StandardWithoutAnnotation";
16
- })(ActionType || (exports.ActionType = ActionType = {}));
17
- /**
18
- * Represents an aggregation for actions container object.
19
- */
20
- class ActionsAggregation extends ObjectAggregation_1.ObjectAggregation {
5
+ const ActionGroupAggregation_1 = require("./ActionGroupAggregation");
6
+ const ActionsContainerAggregation_1 = require("./ActionsContainerAggregation");
7
+ class ActionsAggregation extends ActionsContainerAggregation_1.ActionsContainerAggregation {
21
8
  /**
22
9
  * Creates an instance of `ActionsAggregation`.
10
+ * Registers a custom creation form when the schema exposes `additionalProperties`
11
+ * and is not a pure aggregation type.
23
12
  *
24
13
  * @param data Optional aggregation data object used to initialize properties.
25
14
  * @param schema Optional JSON schema fragment associated with this aggregation.
26
15
  */
27
16
  constructor(data, schema) {
28
17
  super(data, schema);
29
- this.sortableList = true;
30
- this.childClass = ActionAggregation_1.ActionAggregation;
31
18
  this.allowedAnnotationCreationForms = [types_1.AggregationCreationForm.NativeAction, types_1.AggregationCreationForm.NativeNavigation];
32
- this.sortableCollection = 'actions';
33
- this.i18nKey = 'ACTIONS';
34
19
  // Custom creation form - check schema if supported
35
20
  if (schema?.properties && this.schema?.additionalProperties && this.schema?.metadata?.type !== 'Aggregation') {
36
21
  this.schemaCreationForms = [
@@ -44,69 +29,18 @@ class ActionsAggregation extends ObjectAggregation_1.ObjectAggregation {
44
29
  }
45
30
  }
46
31
  /**
47
- * Method adds aggregation object.
48
- * Overwritten to mark standard action.
32
+ * Resolves the child class to use when instantiating a nested action node.
33
+ * Returns `ActionGroupAggregation` for annotation-based action groups (`DataFieldForActionGroup`)
34
+ * and custom menu groups (`CustomMenu`); falls back to the default `childClass` otherwise.
49
35
  *
50
- * @param name Name of aggregation.
51
- * @param aggregation Aggregation to add.
52
- * @param path Array of path to aggregation.
53
- * @param order Order index.
54
- * @param overwrite Overwrite existing aggregation.
55
- * @returns Added aggregation.
36
+ * @param schema - The JSON schema of the property being resolved.
37
+ * @returns The appropriate child class constructor, or `undefined` if none is defined.
56
38
  */
57
- addAggregation(name, aggregation, path, order, overwrite) {
58
- aggregation = super.addAggregation(name, aggregation, path, order, overwrite);
59
- if (aggregation instanceof ActionAggregation_1.ActionAggregation && aggregation.name) {
60
- switch (aggregation.schema?.actionType) {
61
- case ActionType.Standard: {
62
- aggregation.markAsStandardAction();
63
- break;
64
- }
65
- case ActionType.Copy: {
66
- aggregation.sortableItem = types_1.SortingOptions.Readonly;
67
- break;
68
- }
69
- }
70
- }
71
- return aggregation;
72
- }
73
- /**
74
- * Overwritten method for data update of object page actions
75
- * Method receives current values for actions and detects custom actions.
76
- *
77
- * @param data Data which should be used for value population.
78
- * @param page Page config data.
79
- * @param pageType Page type.
80
- * @param path Aggregation path.
81
- * @param annotations Annotations data.
82
- */
83
- updatePropertiesValues(data, page, pageType, path, annotations) {
84
- super.updatePropertiesValues(data, page, pageType, path, annotations);
85
- this.formSchema = this.additionalProperties?.aggregations['actions'];
86
- const actions = data || {};
87
- for (const id in actions) {
88
- const action = this.aggregations[id];
89
- if (action?.name && action.schema?.actionType === 'Standard') {
90
- action.markAsStandardAction();
91
- }
92
- else if (action?.schema && (action.schema.actionType === 'Custom' || !action.schema.annotationPath)) {
93
- action.markAsCustomAction();
94
- }
95
- }
96
- }
97
- /**
98
- * Method provides creation options based on its related annotation node.
99
- *
100
- * @param annotations Page annotations.
101
- * @returns Array of creation forms.
102
- */
103
- getNativeNodeCreationForms(annotations) {
104
- if (this.parent) {
105
- if (this.parent.name === 'footer') {
106
- this.allowedAnnotationCreationForms = [types_1.AggregationCreationForm.NativeAction];
107
- }
39
+ getChildClass(schema) {
40
+ if (schema?.dataType === 'DataFieldForActionGroup' || schema?.actionType === 'CustomMenu') {
41
+ return ActionGroupAggregation_1.ActionGroupAggregation;
108
42
  }
109
- return super.getNativeNodeCreationForms(annotations);
43
+ return this.childClass;
110
44
  }
111
45
  }
112
46
  exports.ActionsAggregation = ActionsAggregation;
@@ -1 +1 @@
1
- {"version":3,"file":"ActionsAggregation.js","sourceRoot":"","sources":["../../../../../../../src/ftfs/parser/model/actions/ActionsAggregation.ts"],"names":[],"mappings":";;;AAEA,4DAAyD;AAEzD,oCAAyF;AAEzF,2DAAwD;AAExD,+DAA+D;AAC/D,IAAY,UAOX;AAPD,WAAY,UAAU;IAClB,uCAAyB,CAAA;IACzB,2BAAa,CAAA;IACb,yCAA2B,CAAA;IAC3B,+BAAiB,CAAA;IACjB,mCAAqB,CAAA;I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ACjF,CAAC;QACL,CAAC;QACD,OAAO,KAAK,CAAC,0BAA0B,CAAC,WAAW,CAAC,CAAC;IACzD,CAAC;CACJ;AA1GD,gDA0GC"}
1
+ {"version":3,"file":"ActionsAggregation.js","sourceRoot":"","sources":["../../../../../../../src/ftfs/parser/model/actions/ActionsAggregation.ts"],"names":[],"mappings":";;;AAEA,oCAAyE;AACzE,qEAAkE;AAClE,+EAA4E;AAE5E,MAAa,kBAAmB,SAAQ,yDAA2B;IAG/D;;;;;;;OAOG;IACH,YAAY,IAA8B,EAAE,MAAoB;QAC5D,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAXxB,mCAA8B,GAAG,CAAC,+BAAuB,CAAC,YAAY,EAAE,+BAAuB,CAAC,gBAAgB,CAAC,CAAC;QAY9G,mDAAmD;QACnD,IAAI,MAAM,EAAE,UAAU,IAAI,IAAI,CAAC,MAAM,EAAE,oBAAoB,IAAI,IAAI,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,KAAK,aAAa,EAAE,CAAC;YAC3G,IAAI,CAAC,mBAAmB,GAAG;gBACvB;oBACI,IAAI,EAAE,+BAAuB,CAAC,YAAY;oBAC1C,IAAI,EAAE,4BAAoB;oBAC1B,KAAK,EAAE,8CAA8C;oBACrD,QAAQ,EAAE,KAAK;iBAClB;aACJ,CAAC;QACN,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACI,aAAa,CAAC,MAAoB;QACrC,IAAI,MAAM,EAAE,QAAQ,KAAK,yBAAyB,IAAI,MAAM,EAAE,UAAU,KAAK,YAAY,EAAE,CAAC;YACxF,OAAO,+CAAsB,CAAC;QAClC,CAAC;QACD,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;CACJ;AAxCD,gDAwCC"}
@@ -0,0 +1,46 @@
1
+ import type { JSONSchema4 } from 'json-schema';
2
+ import { type PageConfig, type PageType, type Parser } from '@sap/ux-specification-types';
3
+ import { ObjectAggregation } from '../ObjectAggregation';
4
+ import type { PageEditAggregationData } from '../ObjectAggregation';
5
+ import { AggregationCreationForm } from '../types';
6
+ import type { PageData, PageAnnotations } from '../types';
7
+ import { ActionAggregation } from './ActionAggregation';
8
+ export declare class ActionsContainerAggregation extends ObjectAggregation {
9
+ sortableList: boolean;
10
+ childClass: typeof ActionAggregation;
11
+ allowedAnnotationCreationForms: AggregationCreationForm[];
12
+ sortableCollection: string | undefined;
13
+ i18nKey: string;
14
+ isNestedContainer: boolean;
15
+ /**
16
+ * Creates an instance of `ActionsContainerAggregation`.
17
+ *
18
+ * @param data Optional aggregation data object used to initialize properties.
19
+ * @param schema Optional JSON schema fragment associated with this aggregation.
20
+ */
21
+ constructor(data?: PageEditAggregationData, schema?: JSONSchema4);
22
+ /**
23
+ * Method adds aggregation object.
24
+ * Overwritten to mark standard action.
25
+ *
26
+ * @param name Name of aggregation.
27
+ * @param aggregation Aggregation to add.
28
+ * @param path Array of path to aggregation.
29
+ * @param order Order index.
30
+ * @param overwrite Overwrite existing aggregation.
31
+ * @returns Added aggregation.
32
+ */
33
+ addAggregation(name: string, aggregation: ObjectAggregation, path: Parser.PropertyPath, order?: number, overwrite?: boolean): ObjectAggregation;
34
+ /**
35
+ * Overwritten method for data update of object page actions
36
+ * Method receives current values for actions and detects custom actions.
37
+ *
38
+ * @param data Data which should be used for value population.
39
+ * @param page Page config data.
40
+ * @param pageType Page type.
41
+ * @param path Aggregation path.
42
+ * @param annotations Annotations data.
43
+ */
44
+ updatePropertiesValues(data: PageData, page: PageConfig, pageType: PageType, path: Parser.PropertyPath, annotations: PageAnnotations): void;
45
+ }
46
+ //# sourceMappingURL=ActionsContainerAggregation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionsContainerAggregation.d.ts","sourceRoot":"","sources":["../../../../../../../src/ftfs/parser/model/actions/ActionsContainerAggregation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAc,KAAK,UAAU,EAAE,KAAK,QAAQ,EAAE,KAAK,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACtG,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAkB,MAAM,UAAU,CAAC;AACnE,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,qBAAa,2BAA4B,SAAQ,iBAAiB;IAC9D,YAAY,UAAQ;IACpB,UAAU,2BAAqB;IAC/B,8BAA8B,4BAA0C;IACxE,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAa;IACnD,OAAO,SAAa;IACpB,iBAAiB,UAAS;IAE1B;;;;;OAKG;gBACS,IAAI,CAAC,EAAE,uBAAuB,EAAE,MAAM,CAAC,EAAE,WAAW;IAIhE;;;;;;;;;;OAUG;IACI,cAAc,CACjB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,iBAAiB,EAC9B,IAAI,EAAE,MAAM,CAAC,YAAY,EACzB,KAAK,CAAC,EAAE,MAAM,EACd,SAAS,CAAC,EAAE,OAAO,GACpB,iBAAiB;IAiBpB;;;;;;;;;OASG;IACI,sBAAsB,CACzB,IAAI,EAAE,QAAQ,EACd,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,MAAM,CAAC,YAAY,EACzB,WAAW,EAAE,eAAe,GAC7B,IAAI;CAmBV"}
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ActionsContainerAggregation = void 0;
4
+ const ux_specification_types_1 = require("@sap/ux-specification-types");
5
+ const ObjectAggregation_1 = require("../ObjectAggregation");
6
+ const types_1 = require("../types");
7
+ const ActionAggregation_1 = require("./ActionAggregation");
8
+ class ActionsContainerAggregation extends ObjectAggregation_1.ObjectAggregation {
9
+ /**
10
+ * Creates an instance of `ActionsContainerAggregation`.
11
+ *
12
+ * @param data Optional aggregation data object used to initialize properties.
13
+ * @param schema Optional JSON schema fragment associated with this aggregation.
14
+ */
15
+ constructor(data, schema) {
16
+ super(data, schema);
17
+ this.sortableList = true;
18
+ this.childClass = ActionAggregation_1.ActionAggregation;
19
+ this.allowedAnnotationCreationForms = [types_1.AggregationCreationForm.NativeAction];
20
+ this.sortableCollection = 'actions';
21
+ this.i18nKey = 'ACTIONS';
22
+ this.isNestedContainer = false; // Whether container is nested in another container (e.g. actions container within action group )
23
+ }
24
+ /**
25
+ * Method adds aggregation object.
26
+ * Overwritten to mark standard action.
27
+ *
28
+ * @param name Name of aggregation.
29
+ * @param aggregation Aggregation to add.
30
+ * @param path Array of path to aggregation.
31
+ * @param order Order index.
32
+ * @param overwrite Overwrite existing aggregation.
33
+ * @returns Added aggregation.
34
+ */
35
+ addAggregation(name, aggregation, path, order, overwrite) {
36
+ aggregation = super.addAggregation(name, aggregation, path, order, overwrite);
37
+ if (aggregation instanceof ActionAggregation_1.ActionAggregation && aggregation.name) {
38
+ switch (aggregation.schema?.actionType) {
39
+ case ux_specification_types_1.ActionType.Standard: {
40
+ aggregation.markAsStandardAction();
41
+ break;
42
+ }
43
+ case ux_specification_types_1.ActionType.Copy: {
44
+ aggregation.sortableItem = types_1.SortingOptions.Readonly;
45
+ break;
46
+ }
47
+ }
48
+ }
49
+ return aggregation;
50
+ }
51
+ /**
52
+ * Overwritten method for data update of object page actions
53
+ * Method receives current values for actions and detects custom actions.
54
+ *
55
+ * @param data Data which should be used for value population.
56
+ * @param page Page config data.
57
+ * @param pageType Page type.
58
+ * @param path Aggregation path.
59
+ * @param annotations Annotations data.
60
+ */
61
+ updatePropertiesValues(data, page, pageType, path, annotations) {
62
+ super.updatePropertiesValues(data, page, pageType, path, annotations);
63
+ this.formSchema = this.additionalProperties?.aggregations['actions'];
64
+ const actions = data || {};
65
+ if (!actions['menu']) {
66
+ for (const id in actions) {
67
+ const action = this.aggregations[id];
68
+ if (action?.name && action.schema?.actionType === 'Standard') {
69
+ action.markAsStandardAction();
70
+ }
71
+ else if (action?.schema &&
72
+ (action.schema.actionType === 'Custom' ||
73
+ (!action.schema.annotationPath && action.schema.actionType !== 'CustomMenu'))) {
74
+ action.markAsCustomAction();
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ exports.ActionsContainerAggregation = ActionsContainerAggregation;
81
+ //# sourceMappingURL=ActionsContainerAggregation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionsContainerAggregation.js","sourceRoot":"","sources":["../../../../../../../src/ftfs/parser/model/actions/ActionsContainerAggregation.ts"],"names":[],"mappings":";;;AACA,wEAAsG;AACtG,4DAAyD;AAEzD,oCAAmE;AAEnE,2DAAwD;AAExD,MAAa,2BAA4B,SAAQ,qCAAiB;IAQ9D;;;;;OAKG;IACH,YAAY,IAA8B,EAAE,MAAoB;QAC5D,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAdxB,iBAAY,GAAG,IAAI,CAAC;QACpB,eAAU,GAAG,qCAAiB,CAAC;QAC/B,mCAA8B,GAAG,CAAC,+BAAuB,CAAC,YAAY,CAAC,CAAC;QACxE,uBAAkB,GAAuB,SAAS,CAAC;QACnD,YAAO,GAAG,SAAS,CAAC;QACpB,sBAAiB,GAAG,KAAK,CAAC,CAAC,iGAAiG;IAU5H,CAAC;IAED;;;;;;;;;;OAUG;IACI,cAAc,CACjB,IAAY,EACZ,WAA8B,EAC9B,IAAyB,EACzB,KAAc,EACd,SAAmB;QAEnB,WAAW,GAAG,KAAK,CAAC,cAAc,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;QAC9E,IAAI,WAAW,YAAY,qCAAiB,IAAI,WAAW,CAAC,IAAI,EAAE,CAAC;YAC/D,QAAQ,WAAW,CAAC,MAAM,E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CAAC;YACL,CAAC;QACL,CAAC;IACL,CAAC;CACJ;AAvFD,kEAuFC"}
@@ -1,3 +1,5 @@
1
1
  export * from './ActionAggregation';
2
2
  export * from './ActionsAggregation';
3
+ export * from './ActionsContainerAggregation';
4
+ export * from './ActionGroupAggregation';
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ftfs/parser/model/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ftfs/parser/model/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC"}
@@ -16,4 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ActionAggregation"), exports);
18
18
  __exportStar(require("./ActionsAggregation"), exports);
19
+ __exportStar(require("./ActionsContainerAggregation"), exports);
20
+ __exportStar(require("./ActionGroupAggregation"), exports);
19
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/ftfs/parser/model/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/ftfs/parser/model/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,uDAAqC;AACrC,gEAA8C;AAC9C,2DAAyC"}
@@ -268,6 +268,14 @@ export declare function getActionKey(action: string, isAction: boolean): {
268
268
  key: string;
269
269
  ns: string;
270
270
  };
271
+ /**
272
+ * Adds the schema tag 'key' to a line item record or property in schema. By default it also adds schema tag 'target' if applicable.
273
+ *
274
+ * @param lineItemRecord - the given line item record
275
+ * @param element - the target object to be updated
276
+ * @param addTarget - if true the schema tag 'target' will be added as well if applicable
277
+ */
278
+ export declare function addKeyToElement(lineItemRecord: object, element: object, addTarget?: boolean): void;
271
279
  /**
272
280
  * Adds the schema tag key to a line item record or property in schema.
273
281
  *
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/common/generate/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC3G,OAAO,KAAK,EAAE,sBAAsB,EAAE,QAAQ,EAAE,MAAM,4CAA4C,CAAC;AACnG,OAAO,EAAqB,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,KAAK,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAU5D,OAAO,KAAK,EACR,WAAW,EACX,YAAY,EACZ,WAAW,EACX,gBAAgB,EAGhB,iBAAiB,EACpB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,cAAc,EAAa,aAAa,EAAgB,MAAM,6BAA6B,CAAC;AAKrG,UAAU,oBAAoB;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,UAAU,CAAC;CACvB;AAED,UAAU,4BAA4B;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,aAAa,CAAC,EAAE,aAAa,EAAE,CAAC;IAEhC,qBAAqB,CAAC,EAAE,OAAO,CAAC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