@sap/ux-specification 1.136.13 → 1.136.14

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 (163) hide show
  1. package/CHANGELOG.md +31 -1
  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 +247 -247
  14. package/dist/index-min.js.map +4 -4
  15. package/dist/schemas/v2/ApplicationV2.json +28 -3
  16. package/dist/schemas/v2/ListReportNewConfig.json +45 -0
  17. package/dist/schemas/v2/ObjectPageConfig.json +11 -5
  18. package/dist/schemas/v4/ApplicationV4.json +18 -12
  19. package/dist/schemas/v4/ListReportConfig.json +48 -0
  20. package/dist/schemas/v4/ObjectPageConfig.json +24 -0
  21. package/dist/specification/package.json +16 -16
  22. package/dist/specification/scripts/schema/to-json-schema.d.ts.map +1 -1
  23. package/dist/specification/scripts/schema/to-json-schema.js +23 -13
  24. package/dist/specification/scripts/schema/to-json-schema.js.map +1 -1
  25. package/dist/specification/src/sync/common/decoration/decorators.d.ts +65 -4
  26. package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
  27. package/dist/specification/src/sync/common/decoration/decorators.js +138 -8
  28. package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
  29. package/dist/specification/src/sync/common/distTagEvaluator.d.ts +10 -3
  30. package/dist/specification/src/sync/common/distTagEvaluator.d.ts.map +1 -1
  31. package/dist/specification/src/sync/common/distTagEvaluator.js +14 -4
  32. package/dist/specification/src/sync/common/distTagEvaluator.js.map +1 -1
  33. package/dist/specification/src/sync/common/generate/utils.d.ts +11 -4
  34. package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -1
  35. package/dist/specification/src/sync/common/generate/utils.js +32 -20
  36. package/dist/specification/src/sync/common/generate/utils.js.map +1 -1
  37. package/dist/specification/src/sync/common/i18n.json +6 -4
  38. package/dist/specification/src/sync/common/rules.d.ts.map +1 -1
  39. package/dist/specification/src/sync/common/rules.js +18 -12
  40. package/dist/specification/src/sync/common/rules.js.map +1 -1
  41. package/dist/specification/src/sync/common/utils.d.ts +39 -0
  42. package/dist/specification/src/sync/common/utils.d.ts.map +1 -1
  43. package/dist/specification/src/sync/common/utils.js +93 -2
  44. package/dist/specification/src/sync/common/utils.js.map +1 -1
  45. package/dist/specification/src/sync/v2/application.d.ts +1 -0
  46. package/dist/specification/src/sync/v2/application.d.ts.map +1 -1
  47. package/dist/specification/src/sync/v2/application.js +18 -0
  48. package/dist/specification/src/sync/v2/application.js.map +1 -1
  49. package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts.map +1 -1
  50. package/dist/specification/src/sync/v2/export/exportPage.d.ts.map +1 -1
  51. package/dist/specification/src/sync/v2/export/exportPage.js +15 -4
  52. package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -1
  53. package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts.map +1 -1
  54. package/dist/specification/src/sync/v2/export/exportPageGeneric.js +5 -2
  55. package/dist/specification/src/sync/v2/export/exportPageGeneric.js.map +1 -1
  56. package/dist/specification/src/sync/v2/export/factory.d.ts +26 -0
  57. package/dist/specification/src/sync/v2/export/factory.d.ts.map +1 -1
  58. package/dist/specification/src/sync/v2/export/factory.js +3 -3
  59. package/dist/specification/src/sync/v2/export/factory.js.map +1 -1
  60. package/dist/specification/src/sync/v2/export/pages/ObjectPage.d.ts +1 -0
  61. package/dist/specification/src/sync/v2/export/pages/ObjectPage.d.ts.map +1 -1
  62. package/dist/specification/src/sync/v2/export/pages/ObjectPage.js +11 -0
  63. package/dist/specification/src/sync/v2/export/pages/ObjectPage.js.map +1 -1
  64. package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -1
  65. package/dist/specification/src/sync/v2/generate/listReport.js +46 -1
  66. package/dist/specification/src/sync/v2/generate/listReport.js.map +1 -1
  67. package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -1
  68. package/dist/specification/src/sync/v2/generate/objectPage.js +63 -13
  69. package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -1
  70. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiViewSingleTable.d.ts +22 -0
  71. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiViewSingleTable.d.ts.map +1 -0
  72. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiViewSingleTable.js +124 -0
  73. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiViewSingleTable.js.map +1 -0
  74. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts +1 -0
  75. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts.map +1 -1
  76. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js +4 -0
  77. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js.map +1 -1
  78. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.d.ts +1 -0
  79. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.d.ts.map +1 -1
  80. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.js +1 -0
  81. package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.js.map +1 -1
  82. package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts.map +1 -1
  83. package/dist/specification/src/sync/v2/import/pages/overviewPage.js +4 -0
  84. package/dist/specification/src/sync/v2/import/pages/overviewPage.js.map +1 -1
  85. package/dist/specification/src/sync/v2/utils.d.ts +17 -1
  86. package/dist/specification/src/sync/v2/utils.d.ts.map +1 -1
  87. package/dist/specification/src/sync/v2/utils.js +57 -0
  88. package/dist/specification/src/sync/v2/utils.js.map +1 -1
  89. package/dist/specification/src/sync/v4/export/controls/Header.d.ts +3 -2
  90. package/dist/specification/src/sync/v4/export/controls/Header.d.ts.map +1 -1
  91. package/dist/specification/src/sync/v4/export/controls/Header.js +14 -2
  92. package/dist/specification/src/sync/v4/export/controls/Header.js.map +1 -1
  93. package/dist/specification/src/sync/v4/export/controls/HeaderAction.d.ts +2 -1
  94. package/dist/specification/src/sync/v4/export/controls/HeaderAction.d.ts.map +1 -1
  95. package/dist/specification/src/sync/v4/export/controls/HeaderAction.js +7 -2
  96. package/dist/specification/src/sync/v4/export/controls/HeaderAction.js.map +1 -1
  97. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +4 -0
  98. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +1 -1
  99. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js +30 -0
  100. package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -1
  101. package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts +7 -0
  102. package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts.map +1 -1
  103. package/dist/specification/src/sync/v4/export/controls/TableColumn.js +60 -0
  104. package/dist/specification/src/sync/v4/export/controls/TableColumn.js.map +1 -1
  105. package/dist/specification/src/sync/v4/export/pages/ListReport.d.ts.map +1 -1
  106. package/dist/specification/src/sync/v4/export/pages/ListReport.js +2 -1
  107. package/dist/specification/src/sync/v4/export/pages/ListReport.js.map +1 -1
  108. package/dist/specification/src/sync/v4/generate/ListReportUtils.d.ts +107 -0
  109. package/dist/specification/src/sync/v4/generate/ListReportUtils.d.ts.map +1 -0
  110. package/dist/specification/src/sync/v4/generate/ListReportUtils.js +392 -0
  111. package/dist/specification/src/sync/v4/generate/ListReportUtils.js.map +1 -0
  112. package/dist/specification/src/sync/v4/generate/listReport.d.ts +107 -2
  113. package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +1 -1
  114. package/dist/specification/src/sync/v4/generate/listReport.js +112 -104
  115. package/dist/specification/src/sync/v4/generate/listReport.js.map +1 -1
  116. package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
  117. package/dist/specification/src/sync/v4/generate/objectPage.js +7 -7
  118. package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
  119. package/dist/specification/src/sync/v4/sync-rules/App.d.ts +141 -0
  120. package/dist/specification/src/sync/v4/sync-rules/App.d.ts.map +1 -0
  121. package/dist/specification/src/sync/v4/sync-rules/App.js +208 -0
  122. package/dist/specification/src/sync/v4/sync-rules/App.js.map +1 -0
  123. package/dist/specification/src/sync/v4/sync-rules/AppSchema.d.ts +193 -0
  124. package/dist/specification/src/sync/v4/sync-rules/AppSchema.d.ts.map +1 -0
  125. package/dist/specification/src/sync/v4/sync-rules/AppSchema.js +384 -0
  126. package/dist/specification/src/sync/v4/sync-rules/AppSchema.js.map +1 -0
  127. package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts +172 -0
  128. package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts.map +1 -0
  129. package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js +410 -0
  130. package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js.map +1 -0
  131. package/dist/specification/src/sync/v4/sync-rules/Page.d.ts +70 -0
  132. package/dist/specification/src/sync/v4/sync-rules/Page.d.ts.map +1 -0
  133. package/dist/specification/src/sync/v4/sync-rules/Page.js +73 -0
  134. package/dist/specification/src/sync/v4/sync-rules/Page.js.map +1 -0
  135. package/dist/specification/src/sync/v4/sync-rules/utils.d.ts +9 -0
  136. package/dist/specification/src/sync/v4/sync-rules/utils.d.ts.map +1 -0
  137. package/dist/specification/src/sync/v4/sync-rules/utils.js +43 -0
  138. package/dist/specification/src/sync/v4/sync-rules/utils.js.map +1 -0
  139. package/dist/specification/src/sync/v4/utils/utils.d.ts +5 -27
  140. package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
  141. package/dist/specification/src/sync/v4/utils/utils.js +6 -53
  142. package/dist/specification/src/sync/v4/utils/utils.js.map +1 -1
  143. package/dist/types/src/common/types.d.ts +109 -1
  144. package/dist/types/src/common/types.d.ts.map +1 -1
  145. package/dist/types/src/common/types.js +6 -0
  146. package/dist/types/src/common/types.js.map +1 -1
  147. package/dist/types/src/common/webapp/manifest/Manifest.d.ts +1 -1
  148. package/dist/types/src/common/webapp/manifest/Manifest.d.ts.map +1 -1
  149. package/dist/types/src/v2/application.d.ts +18 -0
  150. package/dist/types/src/v2/application.d.ts.map +1 -1
  151. package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts.map +1 -1
  152. package/dist/types/src/v2/controls/ObjectPageTable.d.ts +4 -4
  153. package/dist/types/src/v2/controls/ObjectPageTable.d.ts.map +1 -1
  154. package/dist/types/src/v2/controls/Table.d.ts.map +1 -1
  155. package/dist/types/src/v2/pages/ObjectPageConfigV2.d.ts +10 -1
  156. package/dist/types/src/v2/pages/ObjectPageConfigV2.d.ts.map +1 -1
  157. package/dist/types/src/v4/application.d.ts +6 -6
  158. package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts.map +1 -1
  159. package/dist/types/src/v4/controls/ObjectPageSection.d.ts.map +1 -1
  160. package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts +59 -0
  161. package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts.map +1 -1
  162. package/dist/types/src/v4/webapp/manifest/ManifestSettings.js.map +1 -1
  163. package/package.json +16 -16
@@ -0,0 +1,392 @@
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.TableAndViews = exports.FilterBar = exports.Header = exports.GeneralListReportSettings = exports.BaseConstruct = void 0;
7
+ const __1 = require("../../..");
8
+ const utils_1 = require("../utils/utils");
9
+ const listReport_1 = require("./listReport");
10
+ const controls_1 = require("../export/controls");
11
+ const listReport_2 = require("./listReport");
12
+ const common_1 = require("../../common");
13
+ const i18next_1 = __importDefault(require("i18next"));
14
+ class BaseConstruct {
15
+ /**
16
+ * Constructor for BaseConstruct.
17
+ *
18
+ * @param schema - the application schema
19
+ * @param page - the page object
20
+ * @param logger - optional extension logger
21
+ */
22
+ constructor(schema, page, logger) {
23
+ this.schema = schema;
24
+ this.page = page;
25
+ this.logger = logger;
26
+ }
27
+ }
28
+ exports.BaseConstruct = BaseConstruct;
29
+ /**
30
+ * Add general settings to schema (LR or ALP).
31
+ *
32
+ * - Adds Selection-(PresentationVariant) related enums to the schema.
33
+ */
34
+ class GeneralListReportSettings extends BaseConstruct {
35
+ /**
36
+ * Constructor for general settings of ListReport.
37
+ *
38
+ * @param schema - the application schema
39
+ * @param page - the page object
40
+ * @param logger - optional extension logger
41
+ */
42
+ constructor(schema, page, logger) {
43
+ super(schema, page, logger);
44
+ }
45
+ /**
46
+ * Adds Selection-(PresentationVariant) related enums to the schema.
47
+ *
48
+ * @param definitionName - definition name
49
+ */
50
+ addSPVEnums(definitionName) {
51
+ const targetTerms = ["com.sap.vocabularies.UI.v1.SelectionVariant" /* UIAnnotationTerms.SelectionVariant */, "com.sap.vocabularies.UI.v1.SelectionPresentationVariant" /* UIAnnotationTerms.SelectionPresentationVariant */];
52
+ const uiAnnotations = this.page.getUIAnnotations();
53
+ if (!uiAnnotations) {
54
+ return;
55
+ }
56
+ const enumStrings = Object.values(uiAnnotations)
57
+ .filter((annotation) => targetTerms.includes(annotation.term))
58
+ .map((annotation) => annotation.qualifier ? `${annotation.term}#${annotation.qualifier}` : annotation.term);
59
+ const enums = [...new Set(enumStrings)];
60
+ this.schema.addEnumToSchema(definitionName, ['properties', __1.SchemaTag.annotationPath], enums);
61
+ }
62
+ /**
63
+ * Instantiates the GeneralListReport and adds general settings to the schema.
64
+ */
65
+ instantiate() {
66
+ this.addSPVEnums(__1.DefinitionName.AnnotationPathAsObject);
67
+ }
68
+ }
69
+ exports.GeneralListReportSettings = GeneralListReportSettings;
70
+ /**
71
+ * Add header to schema (LR or ALP).
72
+ */
73
+ class Header extends BaseConstruct {
74
+ /**
75
+ * Constructor for Header.
76
+ *
77
+ * @param schema - the application schema
78
+ * @param page - the page object
79
+ * @param logger - optional extension logger
80
+ */
81
+ constructor(schema, page, logger) {
82
+ super(schema, page, logger);
83
+ }
84
+ /**
85
+ * Adds header actions to schema (LR or ALP).
86
+ */
87
+ addActions() {
88
+ new controls_1.HeaderActions(this.schema.getSchema()).applyDecorators();
89
+ new controls_1.CustomHeaderAction(this.schema.getSchema()).applyDecorators();
90
+ (0, utils_1.addHeaderFooterCustomActionDefinition)(this.schema.getSchema(), this.page.getPage(), this.logger, __1.DefinitionName.CustomHeaderAction, __1.DefinitionName.HeaderActions);
91
+ // parseSchemaDefinition(facetKey, facetKey, this.schema.getSchema(), false);
92
+ // this.schema.setPropertyRef(
93
+ // this.schema.getDefinition(DefinitionName.CustomHeaderAction),
94
+ // ['properties', 'position'],
95
+ // DefinitionName.CustomHeaderActionPosition
96
+ // );
97
+ // Anchor selection
98
+ (0, utils_1.addEnumForActionAnchor)(this.schema.getSchema(), __1.DefinitionName.HeaderActions, __1.DefinitionName.CustomHeaderActionPosition);
99
+ }
100
+ /**
101
+ * Instantiates the Header and adds actions to the schema.
102
+ */
103
+ instantiate() {
104
+ // addHeaderActions(this.schema.getSchema(), this.page.getPage(), this.logger);
105
+ this.addActions();
106
+ }
107
+ }
108
+ exports.Header = Header;
109
+ /**
110
+ * Add filter bar to schema (LR or ALP).
111
+ */
112
+ class FilterBar extends BaseConstruct {
113
+ /**
114
+ * Constructor for FilterBar.
115
+ *
116
+ * @param schema - the application schema
117
+ * @param page - the page object
118
+ * @param logger - optional extension logger
119
+ */
120
+ constructor(schema, page, logger) {
121
+ super(schema, page, logger);
122
+ }
123
+ // Implementation for FilterBar can be added here
124
+ addVisualFilters() {
125
+ const visualFilters = (0, listReport_2.getVisualFilters)(this.page.getPage());
126
+ }
127
+ addSelectionFields() {
128
+ const selectionFields = this.page.getUIAnnotations()?.SelectionFields;
129
+ }
130
+ /**
131
+ * Instantiates the FilterBar and adds the filterBar to the schema.
132
+ */
133
+ instantiate() {
134
+ // this.addVisualFilters();
135
+ // this.addSelectionFields();
136
+ this.addFilterBar(this.page.getEntityType(), this.schema, this.page.getPage(), this.page.getApp().getUIVocabularyAlias() || 'UI');
137
+ }
138
+ /**
139
+ * Adds filter bar to schema (LR or ALP).
140
+ *
141
+ * @param entityType - the entity type
142
+ * @param schema - the application schema
143
+ * @param v4Page - the actual page in the manifest
144
+ * @param alias - alias definition for the UI vocabulary
145
+ */
146
+ addFilterBar(entityType, schema, v4Page, alias) {
147
+ const selectionFields = alias && entityType?.annotations?.[alias]?.SelectionFields;
148
+ let selectionFieldsDefinition;
149
+ // Hide visualFilters/selectionFields depending on existing visual filters
150
+ const appSchema = schema.getSchema();
151
+ const visualFilters = (0, listReport_2.getVisualFilters)(v4Page);
152
+ if (visualFilters) {
153
+ appSchema.definitions[__1.DefinitionName.SelectionFields][__1.SchemaTag.hidden] = true;
154
+ appSchema.definitions[__1.DefinitionName.SelectionFields]['properties'] = {};
155
+ selectionFieldsDefinition = appSchema.definitions[__1.DefinitionName.CompactFilters];
156
+ selectionFieldsDefinition.additionalProperties = false;
157
+ selectionFieldsDefinition.properties = {};
158
+ (0, listReport_2.addVisualFilters)(entityType, appSchema, visualFilters, selectionFields);
159
+ }
160
+ else {
161
+ const filterBar = schema.getDefinition(__1.DefinitionName.FilterBar);
162
+ filterBar.properties['initialLayout'][__1.SchemaTag.hidden] = true;
163
+ filterBar.properties['layout'][__1.SchemaTag.hidden] = true;
164
+ appSchema.definitions[__1.DefinitionName.CompactFilters][__1.SchemaTag.hidden] = true;
165
+ appSchema.definitions[__1.DefinitionName.VisualFilters][__1.SchemaTag.hidden] = true;
166
+ }
167
+ selectionFieldsDefinition = (0, listReport_2.addSelectionFields)(entityType, appSchema, selectionFields, selectionFieldsDefinition);
168
+ // Apply custom filter fields
169
+ (0, listReport_2.applyCustomFilterFields)(appSchema, selectionFieldsDefinition, v4Page);
170
+ }
171
+ }
172
+ exports.FilterBar = FilterBar;
173
+ /**
174
+ * Adjusts the entity type if a different entity set is maintained for a view.
175
+ *
176
+ * @param {EntitySet} entitySet - actual entity set (AVT information)
177
+ * @param view - the current view in manifest
178
+ * @param page - the page object
179
+ * @returns the target entity type
180
+ */
181
+ function getTargetEntityType(entitySet, view, page) {
182
+ let targetEntityType = page.getEntityType();
183
+ let viewEntitySet = entitySet;
184
+ if (view['entitySet'] && view['entitySet'] !== entitySet.name) {
185
+ viewEntitySet = page
186
+ .getApp()
187
+ .getAVT()
188
+ ?.entitySets.find((es) => {
189
+ return es.name === view['entitySet'];
190
+ });
191
+ targetEntityType = viewEntitySet.entityType;
192
+ }
193
+ return targetEntityType;
194
+ }
195
+ /**
196
+ * Adapts the table definition in schema.
197
+ * Evaluates the path depending on if defaultTemplateAnnotationPath or Selection-/PresentationVariant is present.
198
+ *
199
+ * @param schema - the app-specific JSON schema
200
+ * @param page - the page object
201
+ * @param templateAnnotation - defaultTemplateAnnotationPath as registered in manifest
202
+ * @param tableDefinitionName - The name of the table definition in the schema
203
+ */
204
+ function adaptTableDefinition(schema, page, templateAnnotation, tableDefinitionName) {
205
+ const logger = page.getApp().getLogger();
206
+ //here: tableDefinitionName = DefinitionName.Table
207
+ const tableDefinition = schema.getDefinition(tableDefinitionName);
208
+ const { visualization, targetAnnotation, namespace } = (0, listReport_2.analyzeViewAnnotation)(templateAnnotation, page.getUIAnnotations(), page.getApp().avt, undefined, __1.Visualization.LineItem, page.getApp().getLogger());
209
+ if (visualization) {
210
+ const annotationTerm = visualization.split('.')[1];
211
+ const annotationTermInSchema = `${__1.DefinitionName.LineItems}OfSPV::${(0, common_1.prepareRef)(annotationTerm)}`;
212
+ const spvTable = schema.cloneDefinition(tableDefinitionName, `${tableDefinitionName}SPV`);
213
+ schema.setPropertyRef(spvTable, ['properties', 'toolBar'], `${__1.DefinitionName.ToolBar}<${annotationTermInSchema}>`);
214
+ // Switch from generic column to specific definition
215
+ // schema.setProperty(spvTable, ['properties', 'columns'], {});
216
+ schema.setProperty(spvTable, [__1.SchemaTag.annotationPath], targetAnnotation);
217
+ schema.setPropertyRef(spvTable, ['properties', 'columns'], annotationTermInSchema);
218
+ schema.setDefinitionRef(tableDefinition, `${tableDefinitionName}SPV`);
219
+ schema.removeProperty(spvTable, __1.SchemaTag.isViewNode);
220
+ schema.removeProperty(tableDefinition, 'properties');
221
+ schema.setProperty(tableDefinition, [__1.SchemaTag.annotationPath], `/${namespace}/@${templateAnnotation}`);
222
+ const lineItemAnnotation = page.getUIAnnotations()[annotationTerm];
223
+ if (!lineItemAnnotation) {
224
+ (0, __1.log)(logger, {
225
+ severity: "error" /* LogSeverity.Error */,
226
+ message: i18next_1.default.t('NOTARGET', { target: annotationTerm })
227
+ });
228
+ }
229
+ const dataForLineItem = {
230
+ isObjectPage: false,
231
+ appSchema: schema.getSchema(),
232
+ lineItemAnnotation,
233
+ entityType: page.entity.type,
234
+ oDataServiceAVT: page.getApp().getAVT(),
235
+ lineItemId: annotationTermInSchema
236
+ };
237
+ (0, utils_1.addLineItemsTypeToSchema)(dataForLineItem);
238
+ const annotationTermQualifier = annotationTerm.split('#')?.[1];
239
+ const sectionIdInManifest = annotationTermQualifier
240
+ ? `@${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}#${annotationTermQualifier}`
241
+ : `@${"com.sap.vocabularies.UI.v1.LineItem" /* UIAnnotationTerms.LineItem */}`;
242
+ (0, utils_1.addCustomColumnDefinition)(schema.getSchema(), page.getPage(), logger, undefined, annotationTermInSchema, sectionIdInManifest);
243
+ (0, utils_1.addFragmentEnumForAnchor)(schema.getSchema(), annotationTermInSchema, page.getPage(), undefined, sectionIdInManifest);
244
+ const schemaAdjustmentParameters = {
245
+ appSchema: schema.getSchema(),
246
+ v4Page: page.getPage(),
247
+ tableDefinitionId: `${tableDefinitionName}SPV`,
248
+ facetDefinitionId: annotationTermInSchema,
249
+ dataForLineItem,
250
+ entityType: page.entity.type
251
+ };
252
+ (0, listReport_2.applyLRTableSchemaAdjustments)(schemaAdjustmentParameters);
253
+ // Table toolbar actions with custom actions
254
+ const schemaIdForToolbarActions = `${__1.DefinitionName.Actions}<${annotationTermInSchema}>`;
255
+ const customColumnDefinitionName = (0, common_1.getCustomExtensionDefinitionName)(schema.getSchema(), annotationTermInSchema, __1.DefinitionName.CustomTableAction);
256
+ (0, utils_1.addCustomActionDefinition)(schema.getSchema(), page.getPage(), logger, (0, common_1.getDefinitionKey)(customColumnDefinitionName), schemaIdForToolbarActions, sectionIdInManifest);
257
+ (0, utils_1.addEnumForActionAnchor)(schema.getSchema(), schemaIdForToolbarActions, __1.DefinitionName.CustomActionPosition);
258
+ }
259
+ else {
260
+ schema.setPropertyRef(tableDefinition, ['properties', 'toolBar'], `${__1.DefinitionName.ToolBarLR}`);
261
+ schema.setPropertyRef(tableDefinition, ['properties', 'columns'], `${__1.DefinitionName.LineItems}`);
262
+ // Switch from generic column to specific definition
263
+ const lineItemAnnotation = page.getUIAnnotations()?.LineItem;
264
+ if (!lineItemAnnotation && !page.getPage().options?.settings?.views?.paths) {
265
+ (0, __1.log)(logger, {
266
+ severity: "error" /* LogSeverity.Error */,
267
+ message: i18next_1.default.t('NOLINEITEMS')
268
+ });
269
+ }
270
+ const dataForLineItem = {
271
+ isObjectPage: false,
272
+ appSchema: schema.getSchema(),
273
+ lineItemAnnotation,
274
+ entityType: page.entity.type,
275
+ oDataServiceAVT: page.getApp().getAVT(),
276
+ lineItemId: __1.DefinitionName.LineItems
277
+ };
278
+ (0, utils_1.addLineItemsTypeToSchema)(dataForLineItem);
279
+ (0, utils_1.addCustomColumnDefinition)(schema.getSchema(), page.getPage(), logger);
280
+ (0, utils_1.addFragmentEnumForAnchor)(schema.getSchema(), __1.DefinitionName.LineItems, page.getPage());
281
+ const schemaAdjustmentParameters = {
282
+ appSchema: schema.getSchema(),
283
+ v4Page: page.getPage(),
284
+ tableDefinitionId: tableDefinitionName,
285
+ facetDefinitionId: __1.DefinitionName.LineItems,
286
+ dataForLineItem,
287
+ entityType: page.entity.type
288
+ };
289
+ (0, listReport_2.applyLRTableSchemaAdjustments)(schemaAdjustmentParameters);
290
+ if (lineItemAnnotation && !page.getPage().options?.settings?.views?.paths) {
291
+ tableDefinition[__1.SchemaTag.annotationPath] = (0, common_1.createAnnotationPath)(page.getEntityType().fullyQualifiedName, lineItemAnnotation.term, lineItemAnnotation.qualifier);
292
+ }
293
+ // Table toolbar actions with custom actions
294
+ const schemaIdForActions = `${__1.DefinitionName.Actions}<${__1.DefinitionName.LineItems}>`;
295
+ (0, utils_1.addCustomActionDefinition)(schema.getSchema(), page.getPage(), logger, undefined, schemaIdForActions);
296
+ (0, utils_1.addEnumForActionAnchor)(schema.getSchema(), schemaIdForActions, __1.DefinitionName.CustomActionPosition);
297
+ }
298
+ // Add "manifestPath" for table properties
299
+ (0, listReport_1.addManifestPathsToPropertiesLR)(schema.getSchema(), tableDefinitionName, tableDefinition, {
300
+ pageName: page.getPage().id,
301
+ manifest: page.getApp().getManifest(),
302
+ targetAnnotation
303
+ });
304
+ }
305
+ /**
306
+ * Add list report views to the app-specific schema.
307
+ *
308
+ * @param schema - app-specific JSON schema
309
+ * @param viewsPaths - views' paths' section in the manifest
310
+ * @param page - the given page in manifest
311
+ * @param tableDefinitionName - The name of the table definition in the schema
312
+ */
313
+ function addLRViews(schema, viewsPaths, page, tableDefinitionName) {
314
+ const tableDefinition = schema.getDefinition(tableDefinitionName);
315
+ tableDefinition.properties = {
316
+ annotationPath: tableDefinition.properties.annotationPath,
317
+ initialLoad: tableDefinition.properties.initialLoad,
318
+ views: tableDefinition.properties.views
319
+ };
320
+ const viewsDefinition = schema.getDefinition(__1.DefinitionName.MultiTableModeV4);
321
+ for (const view of viewsPaths) {
322
+ if (!view[__1.SchemaTag.key]) {
323
+ continue;
324
+ }
325
+ let navPropName = undefined;
326
+ const targetEntityType = getTargetEntityType(page.entity.set, view, page);
327
+ const uiAnnotations = targetEntityType?.annotations.UI;
328
+ const { visualization, targetAnnotation, namespace, title } = (0, listReport_2.analyzeViewAnnotation)(view?.[__1.SchemaTag.annotationPath], uiAnnotations, page.getApp().getAVT(), view[__1.SchemaTag.key], undefined, page.getApp().getLogger());
329
+ if (view['entitySet']) {
330
+ navPropName = page.getEntityType().navigationProperties.find((np) => {
331
+ return np.targetTypeName === namespace;
332
+ })?.name;
333
+ }
334
+ const viewKey = (0, common_1.prepareRef)(view[__1.SchemaTag.key]);
335
+ const commonInputParameters = {
336
+ viewKey,
337
+ appSchema: schema.getSchema(),
338
+ targetAnnotation,
339
+ navPropName,
340
+ targetEntityType,
341
+ title,
342
+ entitySet: view['entitySet']
343
+ };
344
+ (0, listReport_2.addLRViewParts)(visualization, viewsDefinition, commonInputParameters, { serviceAVT: page.getApp().getAVT(), entityType: targetEntityType, logger: page.getApp().getLogger() }, page, uiAnnotations, view);
345
+ (0, listReport_2.addTagsToView)(viewsDefinition, viewKey, namespace, view);
346
+ }
347
+ }
348
+ class TableAndViews extends BaseConstruct {
349
+ /**
350
+ * Constructor for TableAndViews.
351
+ *
352
+ * @param schema - the application schema
353
+ * @param page - the page object
354
+ * @param logger - optional extension logger
355
+ */
356
+ constructor(schema, page, logger) {
357
+ super(schema, page, logger);
358
+ }
359
+ addTableAndViews() {
360
+ const views = this.page.getPage().options?.settings?.views;
361
+ const defaultAnnotation = (0, listReport_2.getDefaultAnnotationPath)(this.page.getPage(), this.page.getEntityType(), this.page.getTemplate().type);
362
+ const tableDefinitionName = (0, utils_1.alignSchemaWithTemplateType)(this.schema.getSchema(), this.page.getTemplate().type);
363
+ if (this.page.getTemplate().type === __1.TemplateType.ListReportObjectPageV4) {
364
+ this.schema.hide(this.schema.getRootProperty([__1.PropertyName.chart]));
365
+ adaptTableDefinition(this.schema, this.page, defaultAnnotation, tableDefinitionName);
366
+ if (!views) {
367
+ this.schema.setProperty(__1.DefinitionName.MultiTableModeV4, ['properties'], {});
368
+ }
369
+ else if (views.paths) {
370
+ this.schema.cleanup(['LineItems', 'ToolBar<LineItems>', 'Actions<LineItems>']);
371
+ addLRViews(this.schema, views.paths, this.page, tableDefinitionName);
372
+ }
373
+ }
374
+ else if (this.page.getTemplate().type === __1.TemplateType.AnalyticalListPageV4) {
375
+ const generateParameters = {
376
+ logger: this.logger,
377
+ entityType: this.page.getEntityType(),
378
+ serviceAVT: this.page.getApp().getAVT()
379
+ };
380
+ (0, listReport_2.addALPViews)(this.schema.getSchema(), views?.paths, generateParameters, defaultAnnotation, this.page.getPage(), tableDefinitionName);
381
+ (0, utils_1.addFragmentEnumForAnchor)(this.schema.getSchema(), __1.DefinitionName.LineItems, this.page.getPage());
382
+ }
383
+ }
384
+ /**
385
+ * Instantiates the TableAndViews and adds them to the schema.
386
+ */
387
+ instantiate() {
388
+ this.addTableAndViews();
389
+ }
390
+ }
391
+ exports.TableAndViews = TableAndViews;
392
+ //# sourceMappingURL=ListReportUtils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListReportUtils.js","sourceRoot":"","sources":["../../../../../../src/sync/v4/generate/ListReportUtils.ts"],"names":[],"mappings":";;;;;;AACA,gCAAkH;AAElH,0CAQwB;AACxB,6CAA8D;AAC9D,iDAAuE;AAGvE,6CAWsB;AAItB,yCAAoH;AACpH,sDAA8B;AAG9B,MAAa,aAAa;IAKtB;;;;;;OAMG;IACH,YAAY,MAAiB,EAAE,IAAU,EAAE,MAAwB;QAC/D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;CACJ;AAjBD,sCAiBC;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sap/ux-specification-types';
2
+ import { TemplateType, Visualization } from '@sap/ux-specification-types';
3
3
  import type { ExtensionLogger, v4, GenerateAppSchemaParameters } from '@sap/ux-specification-types';
4
4
  import type { AnnotationTerm, EntityType, ConvertedMetadata } from '@sap-ux/vocabularies-types';
5
5
  import type { SelectionFields } from '@sap-ux/vocabularies-types/vocabularies/UI';
6
+ import { type ManifestPathParams } from '../../common';
6
7
  import type { Definition } from 'typescript-json-schema';
8
+ import { Page } from '../sync-rules/Page';
7
9
  export interface SchemaAdjustmentParameters {
8
- generateParameters: GenerateAppSchemaParameters;
9
10
  appSchema: Definition;
10
11
  v4Page: v4.SapUiAppPageV4;
11
12
  tableDefinitionId: string;
@@ -25,6 +26,32 @@ export interface SchemaAdjustmentParameters {
25
26
  * @returns {Definition} - the updated selection fields definition
26
27
  */
27
28
  export declare function addSelectionFields(entityType: EntityType, appSchema: Definition, selectionFieldsAnnotation: AnnotationTerm<SelectionFields>, selectionFieldsDefinition?: Definition, qualifier?: string): Definition;
29
+ /**
30
+ * Returns visual filters (if defined) from manifest page.
31
+ *
32
+ * @param v4Page - actual page in the manifest
33
+ * @returns - The visual filters object if defined, otherwise undefined.
34
+ */
35
+ export declare function getVisualFilters(v4Page: v4.SapUiAppPageV4): {} | undefined;
36
+ /**
37
+ * Adds visual filters to the app schema, as properties of the FilterBar.
38
+ *
39
+ * @param {EntityType} entityType - the entity type as part of the AVT ConvertedMetadata
40
+ * @param {Definition} appSchema - the app specific schema that shall get enhanced
41
+ * @param visualFiltersManifest - the UI.SelectionFields under controlConfiguration
42
+ * @param selectionFields - The selection fields annotation to be processed
43
+ */
44
+ export declare function addVisualFilters(entityType: EntityType, appSchema: Definition, visualFiltersManifest: any, selectionFields: AnnotationTerm<SelectionFields>): void;
45
+ /**
46
+ * Method updates schema for custom filter fields:
47
+ * 1. Enables creation of custom filter fields.
48
+ * 2. Populates custom filter fields from manifest to schema.
49
+ *
50
+ * @param appSchema - the app specific schema that shall get enhanced
51
+ * @param selectionFieldsDefinition - schema of selection fields which should contain custom filter fields
52
+ * @param v4Page - actual page in the manifest
53
+ */
54
+ export declare function applyCustomFilterFields(appSchema: Definition, selectionFieldsDefinition: Definition, v4Page: v4.SapUiAppPageV4): void;
28
55
  /**
29
56
  * An annotationPath must be analyzed, to find the right target annotation and visualization.
30
57
  *
@@ -45,6 +72,84 @@ export declare function analyzeViewAnnotation(annotationPath: string, uIAnnotati
45
72
  namespace: string;
46
73
  title: string;
47
74
  };
75
+ /**
76
+ * Adds the ALP views to the app-specific schema.
77
+ *
78
+ * @param appSchema - app-specific JSON schema
79
+ * @param viewsPaths - views' paths' section in the manifest
80
+ * @param generateParameters - list of API input parameters
81
+ * @param templateAnnotation - defaultTemplateAnnotationPath as registered in manifest
82
+ * @param v4Page - actual page in the manifest
83
+ * @param tableDefinitionName - The name of the table definition in the schema
84
+ */
85
+ export declare function addALPViews(appSchema: Definition, viewsPaths: Array<object>, generateParameters: GenerateAppSchemaParameters, templateAnnotation: string, v4Page: v4.SapUiAppPageV4, tableDefinitionName: string): void;
86
+ export type ViewsParameters = {
87
+ viewKey: string;
88
+ appSchema: Definition;
89
+ targetAnnotation: string;
90
+ navPropName: string;
91
+ targetEntityType: EntityType;
92
+ title: string;
93
+ entitySet?: string;
94
+ };
95
+ /**
96
+ * Adjusts the schema for a table by making necessary changes such as populating creation fields,
97
+ * adjusting creation field definitions, and adding enum mappings for mass edit functionalities.
98
+ *
99
+ * @param {SchemaAdjustmentParameters} schemaAdjustmentParameters - Object containing the parameters required for schema adjustments. Includes the generate parameters, application schema, table definition ID, and facet definition ID.
100
+ * @returns {void} This function does not return a value; it performs in-place adjustments to the schema provided through the input parameters.
101
+ */
102
+ export declare function applyLRTableSchemaAdjustments(schemaAdjustmentParameters: SchemaAdjustmentParameters): void;
103
+ /**
104
+ * Adds the schema tags to a given view.
105
+ *
106
+ * @param viewsDefinition - the views definition in app schema (MultiTableModeV4)
107
+ * @param viewKey - key property of the view
108
+ * @param namespace - target namespace for annotations
109
+ * @param view - the given view
110
+ */
111
+ export declare function addTagsToView(viewsDefinition: Definition, viewKey: string, namespace: string, view: object): void;
112
+ /**
113
+ * Adds definition parts to a LR View (LineItem/Chart).
114
+ *
115
+ * @param visualization - visualization of the annotation
116
+ * @param viewsDefinition - the views definition in app schema (MultiTableModeV4)
117
+ * @param commonInputParameters - list of input parameters as collected by the calling instance
118
+ * @param generateParameters - list of API input parameters
119
+ * @param generateParameters.serviceAVT - OData service AVT information
120
+ * @param generateParameters.entityType - entity type of the current page
121
+ * @param generateParameters.logger - extension logger
122
+ * @param page - the current page object
123
+ * @param uiAnnotations - UI annotations of the given entityType
124
+ * @param view - the given view
125
+ */
126
+ export declare function addLRViewParts(visualization: string, viewsDefinition: Definition, commonInputParameters: ViewsParameters, { serviceAVT, entityType, logger }: Partial<GenerateAppSchemaParameters>, page: Page, uiAnnotations: object, view: object): void;
127
+ /**
128
+ * Checks for the default annotation path to use for LR table.
129
+ *
130
+ * @param v4Page - actual page in the manifest
131
+ * @param entityType - actual entity type (AVT information)
132
+ * @param templateType - The type of template being used (e.g., ListReportObjectPageV4 or AnalyticalListPageV4)
133
+ * @returns annotation term
134
+ */
135
+ export declare function getDefaultAnnotationPath(v4Page: v4.SapUiAppPageV4, entityType: EntityType, templateType: TemplateType): string | undefined;
136
+ /**
137
+ * Adds header actions to schema (LR or ALP).
138
+ *
139
+ * @param appSchema - app-specific JSON schema
140
+ * @param v4Page - actual page in the manifest
141
+ * @param logger - Logger class for logging messages
142
+ */
143
+ export declare function addHeaderActions(appSchema: Definition, v4Page: v4.SapUiAppPageV4, logger: ExtensionLogger): void;
144
+ /**
145
+ * Adds 'manifestPath' to each property in a definition based on metadata sync rules.
146
+ *
147
+ * @param appSchema - Full schema.
148
+ * @param definitionName - The name of the definition/class whose properties are being processed.
149
+ * @param definition - The definition object containing property schemas.
150
+ * @param pathParams - Additional context required to compute manifest paths.
151
+ */
152
+ export declare function addManifestPathsToPropertiesLR(appSchema: Definition, definitionName: string | undefined, definition: Definition, pathParams: ManifestPathParams): void;
48
153
  /**
49
154
  * Generates an app specific schema for the FE V4 ListReport from the generic schema.
50
155
  * Generic types are replaced by information from the app specific annotations.
@@ -1 +1 @@
1
- {"version":3,"file":"listReport.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v4/generate/listReport.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,qBAAqB,EAC7B,MAAM,gBAAgB,CAAC;AAcxB,OAAO,EAKH,aAAa,EAYhB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,2BAA2B,EAAY,MAAM,6BAA6B,CAAC;AAC9G,OAAO,KAAK,EAAE,cAAc,EAAa,UAAU,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC3G,OAAO,KAAK,EAAoC,eAAe,EAAE,MAAM,4CAA4C,CAAC;AA0BpH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAMzD,MAAM,WAAW,0BAA0B;IACvC,kBAAkB,EAAE,2BAA2B,CAAC;IAChD,SAAS,EAAE,UAAU,CAAC;IACtB,MAAM,EAAE,EAAE,CAAC,cAAc,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,eAAe,EAAE,qBAAqB,CAAC;CAC1C;AASD;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAC9B,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,UAAU,EACrB,yBAAyB,EAAE,cAAc,CAAC,eAAe,CAAC,EAC1D,yBAAyB,CAAC,EAAE,UAAU,EACtC,SAAS,CAAC,EAAE,MAAM,GACnB,UAAU,CAsDZ;AA+SD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,qBAAqB,CACjC,cAAc,EAAE,MAAM,EACtB,aAA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