@sap/ux-specification 1.71.41 → 1.71.45

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 (187) hide show
  1. package/CHANGELOG.md +88 -22
  2. package/README.md +4 -4
  3. package/dist/documentation/runDocu-min.js +2 -0
  4. package/dist/documentation/runDocu-min.js.LICENSE.txt +24 -0
  5. package/dist/documentation/styleDocu.css +227 -0
  6. package/dist/documentation/v2/v2-AnalyticalListPage.html +49 -0
  7. package/dist/documentation/v2/v2-ApplicationV2.html +48 -0
  8. package/dist/documentation/v2/v2-ListReport.html +49 -0
  9. package/dist/documentation/v2/v2-ObjectPage.html +49 -0
  10. package/dist/documentation/v2/v2-OverviewPage.html +49 -0
  11. package/dist/index-min.js +1 -1
  12. package/dist/schemas/v2/AnalyticalListPageConfig.json +76 -6
  13. package/dist/schemas/v2/ApplicationV2.json +6 -0
  14. package/dist/schemas/v2/ListReportConfig.json +75 -5
  15. package/dist/schemas/v2/ObjectPageConfig.json +302 -42
  16. package/dist/schemas/v2/OverviewPageConfig.json +24 -41
  17. package/dist/scripts/extractDocu.js +186 -19
  18. package/dist/scripts/extractDocu.js.map +1 -1
  19. package/dist/scripts/runDocu.d.ts +1 -0
  20. package/dist/scripts/runDocu.js +561 -0
  21. package/dist/scripts/runDocu.js.map +1 -0
  22. package/dist/specification/v2/index-min.js +1 -1
  23. package/dist/src/api.js +8 -14
  24. package/dist/src/api.js.map +1 -1
  25. package/dist/src/apiTypes.d.ts +72 -65
  26. package/dist/src/extensionLogger.js +2 -2
  27. package/dist/src/extensionLogger.js.map +1 -1
  28. package/dist/src/specification/common/page.d.ts +2 -2
  29. package/dist/src/specification/common/page.js.map +1 -1
  30. package/dist/src/specification/common/types.d.ts +1 -0
  31. package/dist/src/specification/common/webapp/manifest/Manifest.d.ts +3 -1
  32. package/dist/src/specification/common/webapp/manifest/Manifest.js +1 -0
  33. package/dist/src/specification/common/webapp/manifest/Manifest.js.map +1 -1
  34. package/dist/src/specification/common/webapp/manifest/sapOvp.d.ts +2 -1
  35. package/dist/src/specification/v2/ApplicationV2.d.ts +6 -0
  36. package/dist/src/specification/v2/controls/AnalyticalListPageChart.d.ts +1 -1
  37. package/dist/src/specification/v2/controls/Card.d.ts +11 -13
  38. package/dist/src/specification/v2/controls/Card.js +0 -3
  39. package/dist/src/specification/v2/controls/Card.js.map +1 -1
  40. package/dist/src/specification/v2/controls/Facets.d.ts +2 -1
  41. package/dist/src/specification/v2/controls/Field.d.ts +10 -0
  42. package/dist/src/specification/v2/controls/Field.js +3 -0
  43. package/dist/src/specification/v2/controls/Field.js.map +1 -0
  44. package/dist/src/specification/v2/controls/FormAction.d.ts +38 -0
  45. package/dist/src/specification/v2/controls/FormAction.js +15 -0
  46. package/dist/src/specification/v2/controls/FormAction.js.map +1 -0
  47. package/dist/src/specification/v2/controls/ObjectPageFooter.d.ts +11 -0
  48. package/dist/src/specification/v2/controls/ObjectPageFooter.js +3 -0
  49. package/dist/src/specification/v2/controls/ObjectPageFooter.js.map +1 -0
  50. package/dist/src/specification/v2/controls/ObjectPageForm.d.ts +16 -0
  51. package/dist/src/specification/v2/controls/ObjectPageForm.js +3 -0
  52. package/dist/src/specification/v2/controls/ObjectPageForm.js.map +1 -0
  53. package/dist/src/specification/v2/controls/ObjectPageHeaderAction.d.ts +21 -5
  54. package/dist/src/specification/v2/controls/ObjectPageHeaderAction.js +0 -5
  55. package/dist/src/specification/v2/controls/ObjectPageHeaderAction.js.map +1 -1
  56. package/dist/src/specification/v2/controls/ObjectPageSection.d.ts +24 -7
  57. package/dist/src/specification/v2/controls/ObjectPageSection.js.map +1 -1
  58. package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +4 -1
  59. package/dist/src/specification/v2/controls/Table.d.ts +4 -0
  60. package/dist/src/specification/v2/controls/Table.js.map +1 -1
  61. package/dist/src/specification/v2/controls/ToolBar.d.ts +2 -6
  62. package/dist/src/specification/v2/controls/index.d.ts +5 -0
  63. package/dist/src/specification/v2/controls/index.js +1 -1
  64. package/dist/src/specification/v2/controls/index.js.map +1 -1
  65. package/dist/src/specification/v2/pages/ListReportConfig.d.ts +2 -1
  66. package/dist/src/specification/v2/pages/ObjectPageConfig.d.ts +2 -1
  67. package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.d.ts +1 -0
  68. package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.js +1 -0
  69. package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.js.map +1 -1
  70. package/dist/src/sync/common/decoration/control.d.ts +8 -1
  71. package/dist/src/sync/common/decoration/control.js +62 -21
  72. package/dist/src/sync/common/decoration/control.js.map +1 -1
  73. package/dist/src/sync/common/flexUtils.d.ts +2 -2
  74. package/dist/src/sync/common/flexUtils.js +10 -5
  75. package/dist/src/sync/common/flexUtils.js.map +1 -1
  76. package/dist/src/sync/common/generate/index.d.ts +1 -0
  77. package/dist/src/sync/common/generate/index.js +7 -0
  78. package/dist/src/sync/common/generate/index.js.map +1 -0
  79. package/dist/src/sync/common/generate/objectPage.d.ts +49 -0
  80. package/dist/src/sync/common/generate/objectPage.js +319 -0
  81. package/dist/src/sync/common/generate/objectPage.js.map +1 -0
  82. package/dist/src/sync/common/import/utils.d.ts +28 -0
  83. package/dist/src/sync/common/import/utils.js +75 -0
  84. package/dist/src/sync/common/import/utils.js.map +1 -0
  85. package/dist/src/sync/common/importProject.js +53 -50
  86. package/dist/src/sync/common/importProject.js.map +1 -1
  87. package/dist/src/sync/common/index.d.ts +2 -0
  88. package/dist/src/sync/common/index.js +2 -0
  89. package/dist/src/sync/common/index.js.map +1 -1
  90. package/dist/src/sync/common/types.d.ts +19 -6
  91. package/dist/src/sync/common/types.js +12 -0
  92. package/dist/src/sync/common/types.js.map +1 -1
  93. package/dist/src/sync/common/utils.d.ts +30 -9
  94. package/dist/src/sync/common/utils.js +255 -173
  95. package/dist/src/sync/common/utils.js.map +1 -1
  96. package/dist/src/sync/v2/application.d.ts +2 -0
  97. package/dist/src/sync/v2/application.js +18 -5
  98. package/dist/src/sync/v2/application.js.map +1 -1
  99. package/dist/src/sync/v2/export/controls/Card.d.ts +4 -3
  100. package/dist/src/sync/v2/export/controls/Card.js +16 -9
  101. package/dist/src/sync/v2/export/controls/Card.js.map +1 -1
  102. package/dist/src/sync/v2/export/controls/Field.d.ts +4 -0
  103. package/dist/src/sync/v2/export/controls/Field.js +32 -0
  104. package/dist/src/sync/v2/export/controls/Field.js.map +1 -0
  105. package/dist/src/sync/v2/export/controls/FormAction.d.ts +15 -0
  106. package/dist/src/sync/v2/export/controls/FormAction.js +127 -0
  107. package/dist/src/sync/v2/export/controls/FormAction.js.map +1 -0
  108. package/dist/src/sync/v2/export/controls/Fragment.d.ts +1 -1
  109. package/dist/src/sync/v2/export/controls/Fragment.js +100 -87
  110. package/dist/src/sync/v2/export/controls/Fragment.js.map +1 -1
  111. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js +1 -1
  112. package/dist/src/sync/v2/export/controls/ObjectPageHeader.js.map +1 -1
  113. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +6 -2
  114. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js +43 -4
  115. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -1
  116. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +25 -0
  117. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +113 -0
  118. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +1 -0
  119. package/dist/src/sync/v2/export/controls/ObjectPageTable.js +4 -5
  120. package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -1
  121. package/dist/src/sync/v2/export/controls/Table.d.ts +8 -1
  122. package/dist/src/sync/v2/export/controls/Table.js +88 -31
  123. package/dist/src/sync/v2/export/controls/Table.js.map +1 -1
  124. package/dist/src/sync/v2/export/controls/TableColumn.js +1 -1
  125. package/dist/src/sync/v2/export/controls/TableColumn.js.map +1 -1
  126. package/dist/src/sync/v2/export/controls/index.d.ts +3 -0
  127. package/dist/src/sync/v2/export/controls/index.js +3 -0
  128. package/dist/src/sync/v2/export/controls/index.js.map +1 -1
  129. package/dist/src/sync/v2/export/export.d.ts +24 -10
  130. package/dist/src/sync/v2/export/export.js +285 -503
  131. package/dist/src/sync/v2/export/export.js.map +1 -1
  132. package/dist/src/sync/v2/export/exportPage.d.ts +10 -0
  133. package/dist/src/sync/v2/export/exportPage.js +311 -0
  134. package/dist/src/sync/v2/export/exportPage.js.map +1 -0
  135. package/dist/src/sync/v2/export/pages/ListReport.d.ts +3 -1
  136. package/dist/src/sync/v2/export/pages/ListReport.js.map +1 -1
  137. package/dist/src/sync/v2/export/pages/OverviewPage.d.ts +3 -1
  138. package/dist/src/sync/v2/export/pages/OverviewPage.js.map +1 -1
  139. package/dist/src/sync/v2/export/view-controller-generator.js +1 -1
  140. package/dist/src/sync/v2/export/view-controller-generator.js.map +1 -1
  141. package/dist/src/sync/v2/generate/analyticalListReport.d.ts +3 -9
  142. package/dist/src/sync/v2/generate/analyticalListReport.js +13 -16
  143. package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
  144. package/dist/src/sync/v2/generate/generate.js +28 -6
  145. package/dist/src/sync/v2/generate/generate.js.map +1 -1
  146. package/dist/src/sync/v2/generate/listReport.d.ts +3 -9
  147. package/dist/src/sync/v2/generate/listReport.js +20 -23
  148. package/dist/src/sync/v2/generate/listReport.js.map +1 -1
  149. package/dist/src/sync/v2/generate/objectPage.d.ts +3 -10
  150. package/dist/src/sync/v2/generate/objectPage.js +226 -141
  151. package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
  152. package/dist/src/sync/v2/generate/utils.d.ts +1 -2
  153. package/dist/src/sync/v2/generate/utils.js +21 -6
  154. package/dist/src/sync/v2/generate/utils.js.map +1 -1
  155. package/dist/src/sync/v2/import/app/appProvider.js +25 -3
  156. package/dist/src/sync/v2/import/app/appProvider.js.map +1 -1
  157. package/dist/src/sync/v2/import/app/ovpProvider.d.ts +2 -1
  158. package/dist/src/sync/v2/import/app/ovpProvider.js +7 -3
  159. package/dist/src/sync/v2/import/app/ovpProvider.js.map +1 -1
  160. package/dist/src/sync/v2/import/common/index.d.ts +10 -1
  161. package/dist/src/sync/v2/import/common/index.js +17 -38
  162. package/dist/src/sync/v2/import/common/index.js.map +1 -1
  163. package/dist/src/sync/v2/import/controls/table.d.ts +2 -1
  164. package/dist/src/sync/v2/import/controls/table.js +1 -1
  165. package/dist/src/sync/v2/import/controls/table.js.map +1 -1
  166. package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts +3 -8
  167. package/dist/src/sync/v2/import/pages/analyticalListPage.js +23 -24
  168. package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
  169. package/dist/src/sync/v2/import/pages/listReport.d.ts +3 -7
  170. package/dist/src/sync/v2/import/pages/listReport.js +23 -24
  171. package/dist/src/sync/v2/import/pages/listReport.js.map +1 -1
  172. package/dist/src/sync/v2/import/pages/objectPage.d.ts +6 -12
  173. package/dist/src/sync/v2/import/pages/objectPage.js +293 -154
  174. package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
  175. package/dist/src/sync/v2/import/pages/overviewPage.d.ts +9 -1
  176. package/dist/src/sync/v2/import/pages/overviewPage.js +69 -39
  177. package/dist/src/sync/v2/import/pages/overviewPage.js.map +1 -1
  178. package/dist/src/sync/v2/import/utils.d.ts +3 -3
  179. package/dist/src/sync/v2/import/utils.js +5 -5
  180. package/dist/src/sync/v2/import/utils.js.map +1 -1
  181. package/dist/src/sync/v2/types.d.ts +32 -0
  182. package/dist/src/sync/v2/types.js +15 -0
  183. package/dist/src/sync/v2/types.js.map +1 -1
  184. package/dist/src/sync/v4/utils/StableIdHelper.d.ts +4 -0
  185. package/dist/src/sync/v4/utils/StableIdHelper.js +153 -0
  186. package/dist/src/sync/v4/utils/StableIdHelper.js.map +1 -0
  187. package/package.json +15 -7
@@ -222,6 +222,11 @@
222
222
  "QuickVariantSelectionX": {
223
223
  "type": "object",
224
224
  "properties": {
225
+ "enableAutoBinding": {
226
+ "description": "When set to true, this enables automatic binding of the table with either the tableBindingPath (if it exists) or the entitySet property.",
227
+ "type": "boolean",
228
+ "artifactType": "Manifest"
229
+ },
225
230
  "variants": {
226
231
  "description": "The variants section contains a set of entries that point to SelectionVariants or SelectionPresentationVariants defined in the annotations.",
227
232
  "type": "object",
@@ -230,11 +235,13 @@
230
235
  "^[0-9]+$": {
231
236
  "$ref": "#/definitions/QuickVariantX"
232
237
  }
233
- }
238
+ },
239
+ "artifactType": "Manifest"
234
240
  },
235
241
  "showCounts": {
236
242
  "description": "To show the number of records available, set showCounts to true.",
237
- "type": "boolean"
243
+ "type": "boolean",
244
+ "artifactType": "Manifest"
238
245
  }
239
246
  },
240
247
  "additionalProperties": false,
@@ -288,11 +295,74 @@
288
295
  "isViewNode": true,
289
296
  "type": "object",
290
297
  "additionalProperties": {
291
- "type": "object",
292
- "properties": {},
293
- "additionalProperties": true
298
+ "$ref": "#/definitions/FormAction"
294
299
  }
295
300
  },
301
+ "FormAction": {
302
+ "description": "Action",
303
+ "isViewNode": true,
304
+ "type": "object",
305
+ "properties": {
306
+ "tooltip": {
307
+ "description": "Text for tooltip of button",
308
+ "type": "string",
309
+ "artifactType": "FlexChange",
310
+ "controlType": "sap.m.Button"
311
+ },
312
+ "icon": {
313
+ "description": "Icon to be displayed as graphical element within the Button. Can be an image or icon from the icon font, represented as RFC 3986 conformant URI.",
314
+ "type": "string",
315
+ "artifactType": "FlexChange",
316
+ "controlType": "sap.m.Button"
317
+ },
318
+ "activeIcon": {
319
+ "description": "Alternative icon for the active (depressed) state of the button, represented as RFC 3986 conformant URI.",
320
+ "type": "string",
321
+ "artifactType": "FlexChange",
322
+ "controlType": "sap.m.Button"
323
+ },
324
+ "type": {
325
+ "$ref": "#/definitions/ButtonType",
326
+ "description": "Defines the Button type.",
327
+ "artifactType": "FlexChange",
328
+ "controlType": "sap.m.Button"
329
+ },
330
+ "visible": {
331
+ "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#? _|,<>'()[\\]\\/:=.]+}$",
332
+ "anyOf": [
333
+ {
334
+ "enum": [
335
+ false,
336
+ true,
337
+ "{ui>/editable}",
338
+ "{= !${ui>/editable}}"
339
+ ]
340
+ },
341
+ {
342
+ "type": "string"
343
+ }
344
+ ],
345
+ "description": "Whether the button should be visible on the screen.",
346
+ "artifactType": "FlexChange",
347
+ "controlType": "sap.m.Button"
348
+ }
349
+ },
350
+ "additionalProperties": false
351
+ },
352
+ "ButtonType": {
353
+ "enum": [
354
+ "Accept",
355
+ "Back",
356
+ "Default",
357
+ "Emphasized",
358
+ "Ghost",
359
+ "Reject",
360
+ "Transparent",
361
+ "Unstyled",
362
+ "Up"
363
+ ],
364
+ "type": "string"
365
+ },
296
366
  "GenericColumns": {
297
367
  "type": "object",
298
368
  "additionalProperties": {
@@ -701,7 +771,7 @@
701
771
  "additionalProperties": false
702
772
  },
703
773
  "ChartSettings": {
704
- "description": "Chart Settings",
774
+ "description": "Chart",
705
775
  "isViewNode": true,
706
776
  "type": "object",
707
777
  "properties": {
@@ -27,10 +27,12 @@
27
27
  "properties": {
28
28
  "title": {
29
29
  "description": "To change the application header, in your project artifacts, change the i18n property file for your app under webapp/i18n/i18n.properties ->appTitle. Then, refer to the title as {{appTitle}} in the sap.app section of the manifest file.",
30
+ "i18nClassification": "TIT: Title of the application",
30
31
  "type": "string"
31
32
  },
32
33
  "description": {
33
34
  "description": "To change the application header, in your project artifacts, change i18n property file for your app under webapp/i18n/i18n.properties ->appDescription. Then, refer to the description as {{appDescription}} in the sap.app section of the manifest file.",
35
+ "i18nClassification": "TIT: Description of the application",
34
36
  "type": "string"
35
37
  },
36
38
  "forceGlobalRefresh": {
@@ -40,6 +42,10 @@
40
42
  "flexibleColumnLayout": {
41
43
  "$ref": "#/definitions/FlexibleColumnLayout",
42
44
  "description": "The flexible column layout allows users to see more details on the page, and to expand and collapse the screen areas. For the overview page, this layout is not relevant."
45
+ },
46
+ "flexEnabled": {
47
+ "description": "The flexEnabled indicates if the application supports UI adaptation.",
48
+ "type": "boolean"
43
49
  }
44
50
  },
45
51
  "additionalProperties": false
@@ -221,6 +221,11 @@
221
221
  "QuickVariantSelectionX": {
222
222
  "type": "object",
223
223
  "properties": {
224
+ "enableAutoBinding": {
225
+ "description": "When set to true, this enables automatic binding of the table with either the tableBindingPath (if it exists) or the entitySet property.",
226
+ "type": "boolean",
227
+ "artifactType": "Manifest"
228
+ },
224
229
  "variants": {
225
230
  "description": "The variants section contains a set of entries that point to SelectionVariants or SelectionPresentationVariants defined in the annotations.",
226
231
  "type": "object",
@@ -229,11 +234,13 @@
229
234
  "^[0-9]+$": {
230
235
  "$ref": "#/definitions/QuickVariantX"
231
236
  }
232
- }
237
+ },
238
+ "artifactType": "Manifest"
233
239
  },
234
240
  "showCounts": {
235
241
  "description": "To show the number of records available, set showCounts to true.",
236
- "type": "boolean"
242
+ "type": "boolean",
243
+ "artifactType": "Manifest"
237
244
  }
238
245
  },
239
246
  "additionalProperties": false,
@@ -287,11 +294,74 @@
287
294
  "isViewNode": true,
288
295
  "type": "object",
289
296
  "additionalProperties": {
290
- "type": "object",
291
- "properties": {},
292
- "additionalProperties": true
297
+ "$ref": "#/definitions/FormAction"
293
298
  }
294
299
  },
300
+ "FormAction": {
301
+ "description": "Action",
302
+ "isViewNode": true,
303
+ "type": "object",
304
+ "properties": {
305
+ "tooltip": {
306
+ "description": "Text for tooltip of button",
307
+ "type": "string",
308
+ "artifactType": "FlexChange",
309
+ "controlType": "sap.m.Button"
310
+ },
311
+ "icon": {
312
+ "description": "Icon to be displayed as graphical element within the Button. Can be an image or icon from the icon font, represented as RFC 3986 conformant URI.",
313
+ "type": "string",
314
+ "artifactType": "FlexChange",
315
+ "controlType": "sap.m.Button"
316
+ },
317
+ "activeIcon": {
318
+ "description": "Alternative icon for the active (depressed) state of the button, represented as RFC 3986 conformant URI.",
319
+ "type": "string",
320
+ "artifactType": "FlexChange",
321
+ "controlType": "sap.m.Button"
322
+ },
323
+ "type": {
324
+ "$ref": "#/definitions/ButtonType",
325
+ "description": "Defines the Button type.",
326
+ "artifactType": "FlexChange",
327
+ "controlType": "sap.m.Button"
328
+ },
329
+ "visible": {
330
+ "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#? _|,<>'()[\\]\\/:=.]+}$",
331
+ "anyOf": [
332
+ {
333
+ "enum": [
334
+ false,
335
+ true,
336
+ "{ui>/editable}",
337
+ "{= !${ui>/editable}}"
338
+ ]
339
+ },
340
+ {
341
+ "type": "string"
342
+ }
343
+ ],
344
+ "description": "Whether the button should be visible on the screen.",
345
+ "artifactType": "FlexChange",
346
+ "controlType": "sap.m.Button"
347
+ }
348
+ },
349
+ "additionalProperties": false
350
+ },
351
+ "ButtonType": {
352
+ "enum": [
353
+ "Accept",
354
+ "Back",
355
+ "Default",
356
+ "Emphasized",
357
+ "Ghost",
358
+ "Reject",
359
+ "Transparent",
360
+ "Unstyled",
361
+ "Up"
362
+ ],
363
+ "type": "string"
364
+ },
295
365
  "GenericColumns": {
296
366
  "type": "object",
297
367
  "additionalProperties": {