@sap/ux-specification 1.96.26 → 1.96.28

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 (200) hide show
  1. package/dist/documentation/v2/v2-AnalyticalListPage.html +1 -1
  2. package/dist/documentation/v2/v2-ApplicationV2.html +1 -1
  3. package/dist/documentation/v2/v2-ListReport.html +1 -1
  4. package/dist/documentation/v2/v2-ObjectPage.html +1 -1
  5. package/dist/documentation/v2/v2-OverviewPage.html +1 -1
  6. package/dist/documentation/v4/v4-ApplicationV4.html +1 -1
  7. package/dist/documentation/v4/v4-BuildingBlocks.html +60 -0
  8. package/dist/documentation/v4/v4-FreestylePage.html +1 -1
  9. package/dist/documentation/v4/v4-ListReport.html +1 -1
  10. package/dist/documentation/v4/v4-ObjectPage.html +1 -1
  11. package/dist/index-min.js +262 -48
  12. package/dist/index-min.js.map +3 -3
  13. package/dist/package.json +111 -0
  14. package/dist/schemas/v2/ObjectPageConfig.json +4 -4
  15. package/dist/schemas/v4/BuildingBlocksConfig.json +750 -0
  16. package/dist/schemas/v4/ListReportConfig.json +38 -15
  17. package/dist/schemas/v4/ObjectPageConfig.json +309 -59
  18. package/dist/scripts/macros/api.d.ts +9 -0
  19. package/dist/scripts/macros/api.d.ts.map +1 -0
  20. package/dist/scripts/macros/api.js +161 -0
  21. package/dist/scripts/macros/api.js.map +1 -0
  22. package/dist/scripts/macros/cmd.d.ts +7 -0
  23. package/dist/scripts/macros/cmd.d.ts.map +1 -0
  24. package/dist/scripts/macros/cmd.js +49 -0
  25. package/dist/scripts/macros/cmd.js.map +1 -0
  26. package/dist/scripts/macros/corrections.d.ts +18 -0
  27. package/dist/scripts/macros/corrections.d.ts.map +1 -0
  28. package/dist/scripts/macros/corrections.js +188 -0
  29. package/dist/scripts/macros/corrections.js.map +1 -0
  30. package/dist/scripts/macros/index.d.ts +2 -0
  31. package/dist/scripts/macros/index.d.ts.map +1 -0
  32. package/dist/scripts/macros/index.js +8 -0
  33. package/dist/scripts/macros/index.js.map +1 -0
  34. package/dist/scripts/macros/schema.d.ts +9 -0
  35. package/dist/scripts/macros/schema.d.ts.map +1 -0
  36. package/dist/scripts/macros/schema.js +201 -0
  37. package/dist/scripts/macros/schema.js.map +1 -0
  38. package/dist/scripts/macros/types.d.ts +77 -0
  39. package/dist/scripts/macros/types.d.ts.map +1 -0
  40. package/dist/scripts/macros/types.js +14 -0
  41. package/dist/scripts/macros/types.js.map +1 -0
  42. package/dist/src/api.d.ts.map +1 -1
  43. package/dist/src/api.js +9 -2
  44. package/dist/src/api.js.map +1 -1
  45. package/dist/src/project.d.ts +1 -0
  46. package/dist/src/project.d.ts.map +1 -1
  47. package/dist/src/project.js +6 -4
  48. package/dist/src/project.js.map +1 -1
  49. package/dist/src/specification/schemaAccess.d.ts.map +1 -1
  50. package/dist/src/specification/schemaAccess.js +16 -3
  51. package/dist/src/specification/schemaAccess.js.map +1 -1
  52. package/dist/src/sync/common/appProvider.d.ts +12 -0
  53. package/dist/src/sync/common/appProvider.d.ts.map +1 -1
  54. package/dist/src/sync/common/appProvider.js +51 -18
  55. package/dist/src/sync/common/appProvider.js.map +1 -1
  56. package/dist/src/sync/common/generate/objectPage.d.ts +10 -6
  57. package/dist/src/sync/common/generate/objectPage.d.ts.map +1 -1
  58. package/dist/src/sync/common/generate/objectPage.js +224 -115
  59. package/dist/src/sync/common/generate/objectPage.js.map +1 -1
  60. package/dist/src/sync/common/generate/utils.d.ts +8 -8
  61. package/dist/src/sync/common/generate/utils.d.ts.map +1 -1
  62. package/dist/src/sync/common/generate/utils.js +40 -38
  63. package/dist/src/sync/common/generate/utils.js.map +1 -1
  64. package/dist/src/sync/common/i18n.json +2 -1
  65. package/dist/src/sync/common/importProject.d.ts.map +1 -1
  66. package/dist/src/sync/common/importProject.js +67 -31
  67. package/dist/src/sync/common/importProject.js.map +1 -1
  68. package/dist/src/sync/common/types.d.ts +6 -0
  69. package/dist/src/sync/common/types.d.ts.map +1 -0
  70. package/dist/src/sync/common/types.js +3 -0
  71. package/dist/src/sync/common/types.js.map +1 -0
  72. package/dist/src/sync/common/utils.d.ts +26 -5
  73. package/dist/src/sync/common/utils.d.ts.map +1 -1
  74. package/dist/src/sync/common/utils.js +72 -18
  75. package/dist/src/sync/common/utils.js.map +1 -1
  76. package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts +2 -2
  77. package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts.map +1 -1
  78. package/dist/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -1
  79. package/dist/src/sync/v2/generate/analyticalListReport.js +1 -0
  80. package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
  81. package/dist/src/sync/v2/generate/listReport.d.ts.map +1 -1
  82. package/dist/src/sync/v2/generate/listReport.js +1 -0
  83. package/dist/src/sync/v2/generate/listReport.js.map +1 -1
  84. package/dist/src/sync/v2/generate/objectPage.d.ts.map +1 -1
  85. package/dist/src/sync/v2/generate/objectPage.js +75 -40
  86. package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
  87. package/dist/src/sync/v2/generate/utils.d.ts +1 -1
  88. package/dist/src/sync/v2/generate/utils.d.ts.map +1 -1
  89. package/dist/src/sync/v2/generate/utils.js +22 -19
  90. package/dist/src/sync/v2/generate/utils.js.map +1 -1
  91. package/dist/src/sync/v4/application.d.ts +3 -0
  92. package/dist/src/sync/v4/application.d.ts.map +1 -1
  93. package/dist/src/sync/v4/application.js +13 -1
  94. package/dist/src/sync/v4/application.js.map +1 -1
  95. package/dist/src/sync/v4/export/controls/ObjectPageFooter.d.ts +9 -0
  96. package/dist/src/sync/v4/export/controls/ObjectPageFooter.d.ts.map +1 -0
  97. package/dist/src/sync/v4/export/controls/ObjectPageFooter.js +10 -0
  98. package/dist/src/sync/v4/export/controls/ObjectPageFooter.js.map +1 -0
  99. package/dist/src/sync/v4/export/controls/ObjectPageFooterAction.d.ts +23 -0
  100. package/dist/src/sync/v4/export/controls/ObjectPageFooterAction.d.ts.map +1 -0
  101. package/dist/src/sync/v4/export/controls/ObjectPageFooterAction.js +124 -0
  102. package/dist/src/sync/v4/export/controls/ObjectPageFooterAction.js.map +1 -0
  103. package/dist/src/sync/v4/export/controls/ObjectPageForm.d.ts +10 -3
  104. package/dist/src/sync/v4/export/controls/ObjectPageForm.d.ts.map +1 -1
  105. package/dist/src/sync/v4/export/controls/ObjectPageForm.js +39 -1
  106. package/dist/src/sync/v4/export/controls/ObjectPageForm.js.map +1 -1
  107. package/dist/src/sync/v4/export/controls/ObjectPageFormAction.d.ts +1 -1
  108. package/dist/src/sync/v4/export/controls/ObjectPageFormAction.js +8 -8
  109. package/dist/src/sync/v4/export/controls/ObjectPageHeader.d.ts +5 -0
  110. package/dist/src/sync/v4/export/controls/ObjectPageHeader.d.ts.map +1 -1
  111. package/dist/src/sync/v4/export/controls/ObjectPageHeader.js +4 -1
  112. package/dist/src/sync/v4/export/controls/ObjectPageHeader.js.map +1 -1
  113. package/dist/src/sync/v4/export/controls/ObjectPageHeaderAction.d.ts +23 -0
  114. package/dist/src/sync/v4/export/controls/ObjectPageHeaderAction.d.ts.map +1 -0
  115. package/dist/src/sync/v4/export/controls/ObjectPageHeaderAction.js +124 -0
  116. package/dist/src/sync/v4/export/controls/ObjectPageHeaderAction.js.map +1 -0
  117. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +1 -2
  118. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +1 -1
  119. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js +0 -10
  120. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -1
  121. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +1 -1
  122. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +1 -1
  123. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.js +9 -9
  124. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +1 -1
  125. package/dist/src/sync/v4/export/controls/Table.js +1 -1
  126. package/dist/src/sync/v4/export/controls/Table.js.map +1 -1
  127. package/dist/src/sync/v4/export/controls/ToolBar.d.ts +2 -2
  128. package/dist/src/sync/v4/export/controls/ToolBar.d.ts.map +1 -1
  129. package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts +6 -1
  130. package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -1
  131. package/dist/src/sync/v4/export/controls/ToolBarAction.js +33 -9
  132. package/dist/src/sync/v4/export/controls/ToolBarAction.js.map +1 -1
  133. package/dist/src/sync/v4/export/controls/index.d.ts +4 -0
  134. package/dist/src/sync/v4/export/controls/index.d.ts.map +1 -1
  135. package/dist/src/sync/v4/export/controls/index.js +4 -0
  136. package/dist/src/sync/v4/export/controls/index.js.map +1 -1
  137. package/dist/src/sync/v4/export/export.d.ts +1 -0
  138. package/dist/src/sync/v4/export/export.d.ts.map +1 -1
  139. package/dist/src/sync/v4/export/export.js +11 -6
  140. package/dist/src/sync/v4/export/export.js.map +1 -1
  141. package/dist/src/sync/v4/export/fpmCustomPage.d.ts +11 -0
  142. package/dist/src/sync/v4/export/fpmCustomPage.d.ts.map +1 -0
  143. package/dist/src/sync/v4/export/fpmCustomPage.js +131 -0
  144. package/dist/src/sync/v4/export/fpmCustomPage.js.map +1 -0
  145. package/dist/src/sync/v4/export/manifest.js +1 -1
  146. package/dist/src/sync/v4/export/manifest.js.map +1 -1
  147. package/dist/src/sync/v4/export/pages/ObjectPage.d.ts +1 -0
  148. package/dist/src/sync/v4/export/pages/ObjectPage.d.ts.map +1 -1
  149. package/dist/src/sync/v4/export/pages/ObjectPage.js.map +1 -1
  150. package/dist/src/sync/v4/generate/fpmCustomPage.d.ts +10 -0
  151. package/dist/src/sync/v4/generate/fpmCustomPage.d.ts.map +1 -0
  152. package/dist/src/sync/v4/generate/fpmCustomPage.js +266 -0
  153. package/dist/src/sync/v4/generate/fpmCustomPage.js.map +1 -0
  154. package/dist/src/sync/v4/generate/generate.d.ts +13 -1
  155. package/dist/src/sync/v4/generate/generate.d.ts.map +1 -1
  156. package/dist/src/sync/v4/generate/generate.js +22 -1
  157. package/dist/src/sync/v4/generate/generate.js.map +1 -1
  158. package/dist/src/sync/v4/generate/index.d.ts +2 -1
  159. package/dist/src/sync/v4/generate/index.d.ts.map +1 -1
  160. package/dist/src/sync/v4/generate/index.js +4 -1
  161. package/dist/src/sync/v4/generate/index.js.map +1 -1
  162. package/dist/src/sync/v4/generate/listReport.d.ts.map +1 -1
  163. package/dist/src/sync/v4/generate/listReport.js +26 -10
  164. package/dist/src/sync/v4/generate/listReport.js.map +1 -1
  165. package/dist/src/sync/v4/generate/objectPage.d.ts.map +1 -1
  166. package/dist/src/sync/v4/generate/objectPage.js +112 -34
  167. package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
  168. package/dist/src/sync/v4/import/app/appProvider.d.ts +2 -1
  169. package/dist/src/sync/v4/import/app/appProvider.d.ts.map +1 -1
  170. package/dist/src/sync/v4/import/app/appProvider.js +2 -2
  171. package/dist/src/sync/v4/import/app/appProvider.js.map +1 -1
  172. package/dist/src/sync/v4/import/app/baseAppProvider.d.ts +7 -2
  173. package/dist/src/sync/v4/import/app/baseAppProvider.d.ts.map +1 -1
  174. package/dist/src/sync/v4/import/app/baseAppProvider.js +27 -7
  175. package/dist/src/sync/v4/import/app/baseAppProvider.js.map +1 -1
  176. package/dist/src/sync/v4/import/app/freestyleProvider.d.ts +2 -1
  177. package/dist/src/sync/v4/import/app/freestyleProvider.d.ts.map +1 -1
  178. package/dist/src/sync/v4/import/app/freestyleProvider.js +2 -2
  179. package/dist/src/sync/v4/import/app/freestyleProvider.js.map +1 -1
  180. package/dist/src/sync/v4/import/index.d.ts +1 -0
  181. package/dist/src/sync/v4/import/index.d.ts.map +1 -1
  182. package/dist/src/sync/v4/import/index.js +1 -0
  183. package/dist/src/sync/v4/import/index.js.map +1 -1
  184. package/dist/src/sync/v4/import/pages/fpmCustomPage.d.ts +9 -0
  185. package/dist/src/sync/v4/import/pages/fpmCustomPage.d.ts.map +1 -0
  186. package/dist/src/sync/v4/import/pages/fpmCustomPage.js +102 -0
  187. package/dist/src/sync/v4/import/pages/fpmCustomPage.js.map +1 -0
  188. package/dist/src/sync/v4/import/pages/objectPage.d.ts +2 -1
  189. package/dist/src/sync/v4/import/pages/objectPage.d.ts.map +1 -1
  190. package/dist/src/sync/v4/import/pages/objectPage.js +84 -43
  191. package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
  192. package/dist/src/sync/v4/utils/macros.d.ts +29 -0
  193. package/dist/src/sync/v4/utils/macros.d.ts.map +1 -0
  194. package/dist/src/sync/v4/utils/macros.js +113 -0
  195. package/dist/src/sync/v4/utils/macros.js.map +1 -0
  196. package/dist/src/sync/v4/utils/utils.d.ts +11 -1
  197. package/dist/src/sync/v4/utils/utils.d.ts.map +1 -1
  198. package/dist/src/sync/v4/utils/utils.js +95 -8
  199. package/dist/src/sync/v4/utils/utils.js.map +1 -1
  200. package/package.json +16 -9
@@ -132,6 +132,10 @@
132
132
  "$ref": "#/definitions/SelectType",
133
133
  "description": "Enables single selection for a bound action",
134
134
  "artifactType": "Manifest"
135
+ },
136
+ "afterExecution": {
137
+ "$ref": "#/definitions/ActionAfterExecutionConfigurationToolBarLR",
138
+ "description": "Settings that are only relevant for actions (associated with a UI.DataFieldForAction annotation)"
135
139
  }
136
140
  },
137
141
  "additionalProperties": false
@@ -143,6 +147,22 @@
143
147
  ],
144
148
  "type": "string"
145
149
  },
150
+ "ActionAfterExecutionConfigurationToolBarLR": {
151
+ "type": "object",
152
+ "properties": {
153
+ "navigateToInstance": {
154
+ "description": "By default, a navigation is automatically triggered after an action execution. If applications want to disable the navigation, they can do so using the manifest setting “navigateToInstance”.",
155
+ "type": "boolean",
156
+ "artifactType": "Manifest"
157
+ },
158
+ "enableAutoScroll": {
159
+ "description": "The \"enableAutoScroll\" allows you to scroll to the newly created or changed item after execution of an action",
160
+ "type": "boolean",
161
+ "artifactType": "Manifest"
162
+ }
163
+ },
164
+ "additionalProperties": false
165
+ },
146
166
  "ViewTableCustomAction": {
147
167
  "type": "object",
148
168
  "properties": {
@@ -151,6 +171,11 @@
151
171
  "description": "Defines the position of the action relative to other actions.",
152
172
  "artifactType": "Manifest"
153
173
  },
174
+ "requiresSelection": {
175
+ "description": "Indicates whether the action requires a selection of items.",
176
+ "artifactType": "Manifest",
177
+ "type": "boolean"
178
+ },
154
179
  "text": {
155
180
  "description": "The text that is displayed on the button (typically a binding to an i18n entry).",
156
181
  "i18nClassification": "COL: Custom action text",
@@ -162,11 +187,6 @@
162
187
  "artifactType": "Manifest",
163
188
  "type": "string"
164
189
  },
165
- "requiresSelection": {
166
- "description": "Indicates whether the action requires a selection of items.",
167
- "artifactType": "Manifest",
168
- "type": "boolean"
169
- },
170
190
  "visible": {
171
191
  "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
172
192
  "anyOf": [
@@ -371,7 +391,7 @@
371
391
  "$ref": "#/definitions/ToolBarAction"
372
392
  },
373
393
  {
374
- "$ref": "#/definitions/CustomAction"
394
+ "$ref": "#/definitions/CustomTableAction"
375
395
  }
376
396
  ]
377
397
  }
@@ -385,15 +405,23 @@
385
405
  "$ref": "#/definitions/SelectType",
386
406
  "description": "Enables single selection for a bound action",
387
407
  "artifactType": "Manifest"
408
+ },
409
+ "afterExecution": {
410
+ "$ref": "#/definitions/ActionAfterExecutionConfigurationToolBarLR",
411
+ "description": "Settings that are only relevant for actions (associated with a UI.DataFieldForAction annotation)",
412
+ "artifactType": "Manifest"
388
413
  }
389
414
  },
390
415
  "additionalProperties": false
391
416
  },
392
- "CustomAction": {
393
- "description": "Action",
394
- "isViewNode": true,
417
+ "CustomTableAction": {
395
418
  "type": "object",
396
419
  "properties": {
420
+ "requiresSelection": {
421
+ "description": "Indicates whether the action requires a selection of items.",
422
+ "artifactType": "Manifest",
423
+ "type": "boolean"
424
+ },
397
425
  "text": {
398
426
  "description": "The text that is displayed on the button (typically a binding to an i18n entry).",
399
427
  "i18nClassification": "COL: Custom action text",
@@ -410,11 +438,6 @@
410
438
  "artifactType": "Manifest",
411
439
  "type": "string"
412
440
  },
413
- "requiresSelection": {
414
- "description": "Indicates whether the action requires a selection of items.",
415
- "artifactType": "Manifest",
416
- "type": "boolean"
417
- },
418
441
  "visible": {
419
442
  "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
420
443
  "anyOf": [
@@ -547,7 +570,7 @@
547
570
  "artifactType": "Manifest"
548
571
  },
549
572
  "enableAutoScroll": {
550
- "description": "The \"enableAutoScroll\" allows you to scroll to the newly created or change item after execution of an action",
573
+ "description": "The \"enableAutoScroll\" allows you to scroll to the newly created or changed item after execution of an action",
551
574
  "type": "boolean",
552
575
  "artifactType": "Manifest"
553
576
  }
@@ -2,7 +2,7 @@
2
2
  "type": "object",
3
3
  "properties": {
4
4
  "header": {
5
- "$ref": "#/definitions/ObjectPageHeader<GenericActions>"
5
+ "$ref": "#/definitions/ObjectPageHeader"
6
6
  },
7
7
  "layout": {
8
8
  "$ref": "#/definitions/ObjectPageLayout"
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "additionalProperties": false,
33
33
  "definitions": {
34
- "ObjectPageHeader<GenericActions>": {
34
+ "ObjectPageHeader": {
35
35
  "description": "Header",
36
36
  "isViewNode": true,
37
37
  "type": "object",
@@ -57,7 +57,7 @@
57
57
  "artifactType": "Manifest"
58
58
  },
59
59
  "actions": {
60
- "$ref": "#/definitions/GenericActions"
60
+ "$ref": "#/definitions/HeaderActions"
61
61
  },
62
62
  "sections": {
63
63
  "$ref": "#/definitions/HeaderSections"
@@ -65,14 +65,134 @@
65
65
  },
66
66
  "additionalProperties": false
67
67
  },
68
- "GenericActions": {
68
+ "HeaderActions": {
69
69
  "type": "object",
70
70
  "additionalProperties": {
71
- "type": "object",
72
- "properties": {},
73
- "additionalProperties": true
71
+ "anyOf": [
72
+ {
73
+ "$ref": "#/definitions/CustomHeaderActionOP"
74
+ },
75
+ {
76
+ "$ref": "#/definitions/HeaderActionV4"
77
+ }
78
+ ]
74
79
  }
75
80
  },
81
+ "CustomHeaderActionOP": {
82
+ "type": "object",
83
+ "properties": {
84
+ "position": {
85
+ "$ref": "#/definitions/CustomHeaderActionPositionOP",
86
+ "description": "Defines the position of the action relative to other actions.",
87
+ "artifactType": "Manifest"
88
+ },
89
+ "text": {
90
+ "description": "The text that is displayed on the button (typically a binding to an i18n entry).",
91
+ "i18nClassification": "COL: Custom action text",
92
+ "artifactType": "Manifest",
93
+ "type": "string"
94
+ },
95
+ "press": {
96
+ "description": "Relevant for extension actions; allows the definition of a target action handler.",
97
+ "artifactType": "Manifest",
98
+ "type": "string"
99
+ },
100
+ "visible": {
101
+ "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
102
+ "anyOf": [
103
+ {
104
+ "enum": [
105
+ false,
106
+ true,
107
+ "{ui>/editable}",
108
+ "{= !${ui>/editable}}"
109
+ ]
110
+ },
111
+ {
112
+ "type": "string"
113
+ }
114
+ ],
115
+ "description": "Whether the action button should be visible on the screen.",
116
+ "artifactType": "Manifest"
117
+ },
118
+ "enabled": {
119
+ "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
120
+ "anyOf": [
121
+ {
122
+ "enum": [
123
+ false,
124
+ true,
125
+ "{ui>/editable}",
126
+ "{= !${ui>/editable}}"
127
+ ]
128
+ },
129
+ {
130
+ "type": "string"
131
+ }
132
+ ],
133
+ "description": "Whether the action button should be enabled. Default value is `true`.",
134
+ "artifactType": "Manifest"
135
+ }
136
+ },
137
+ "additionalProperties": false,
138
+ "required": [
139
+ "press",
140
+ "text"
141
+ ]
142
+ },
143
+ "CustomHeaderActionPositionOP": {
144
+ "type": "object",
145
+ "properties": {
146
+ "anchor": {
147
+ "description": "The key of another action to be used as placement anchor.",
148
+ "artifactType": "Manifest",
149
+ "type": "string"
150
+ },
151
+ "placement": {
152
+ "$ref": "#/definitions/ActionPlacement",
153
+ "description": "Define the placement, either before or after the anchor action.",
154
+ "artifactType": "Manifest"
155
+ }
156
+ },
157
+ "additionalProperties": false,
158
+ "required": [
159
+ "placement"
160
+ ]
161
+ },
162
+ "ActionPlacement": {
163
+ "enum": [
164
+ "After",
165
+ "Before"
166
+ ],
167
+ "type": "string"
168
+ },
169
+ "HeaderActionV4": {
170
+ "type": "object",
171
+ "properties": {
172
+ "afterExecution": {
173
+ "$ref": "#/definitions/ActionAfterExecutionConfigurationHeader",
174
+ "description": "Settings that are only relevant for actions (associated with a UI.DataFieldForAction annotation)",
175
+ "artifactType": "Manifest"
176
+ }
177
+ },
178
+ "additionalProperties": false
179
+ },
180
+ "ActionAfterExecutionConfigurationHeader": {
181
+ "type": "object",
182
+ "properties": {
183
+ "navigateToInstance": {
184
+ "description": "By default, a navigation is automatically triggered after an action execution. If applications want to disable the navigation, they can do so using the manifest setting “navigateToInstance”.",
185
+ "type": "boolean",
186
+ "artifactType": "Manifest"
187
+ },
188
+ "enableAutoScroll": {
189
+ "description": "The \"enableAutoScroll\" allows you to scroll to the newly created or changed item after execution of an action",
190
+ "type": "boolean",
191
+ "artifactType": "Manifest"
192
+ }
193
+ },
194
+ "additionalProperties": false
195
+ },
76
196
  "HeaderSections": {
77
197
  "description": "Header Sections",
78
198
  "isViewNode": true,
@@ -346,7 +466,7 @@
346
466
  "$ref": "#/definitions/ObjectPageToolBarAction"
347
467
  },
348
468
  {
349
- "$ref": "#/definitions/CustomActionOP"
469
+ "$ref": "#/definitions/CustomTableActionOP"
350
470
  }
351
471
  ]
352
472
  }
@@ -371,7 +491,7 @@
371
491
  ],
372
492
  "type": "string"
373
493
  },
374
- "CustomActionOP": {
494
+ "CustomTableActionOP": {
375
495
  "type": "object",
376
496
  "properties": {
377
497
  "position": {
@@ -379,6 +499,11 @@
379
499
  "description": "Defines the position of the action relative to other actions.",
380
500
  "artifactType": "Manifest"
381
501
  },
502
+ "requiresSelection": {
503
+ "description": "Indicates whether the action requires a selection of items.",
504
+ "artifactType": "Manifest",
505
+ "type": "boolean"
506
+ },
382
507
  "text": {
383
508
  "description": "The text that is displayed on the button (typically a binding to an i18n entry).",
384
509
  "i18nClassification": "COL: Custom action text",
@@ -390,11 +515,6 @@
390
515
  "artifactType": "Manifest",
391
516
  "type": "string"
392
517
  },
393
- "requiresSelection": {
394
- "description": "Indicates whether the action requires a selection of items.",
395
- "artifactType": "Manifest",
396
- "type": "boolean"
397
- },
398
518
  "visible": {
399
519
  "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
400
520
  "anyOf": [
@@ -457,13 +577,6 @@
457
577
  "placement"
458
578
  ]
459
579
  },
460
- "ActionPlacement": {
461
- "enum": [
462
- "After",
463
- "Before"
464
- ],
465
- "type": "string"
466
- },
467
580
  "TableCreationModeOP": {
468
581
  "type": "object",
469
582
  "properties": {
@@ -595,11 +708,6 @@
595
708
  "isViewNode": true,
596
709
  "type": "object",
597
710
  "properties": {
598
- "afterExecution": {
599
- "$ref": "#/definitions/ActionAfterExecutionConfigurationOP",
600
- "description": "Settings that are only relevant for actions (associated with a UI.DataFieldForAction annotation)",
601
- "artifactType": "Manifest"
602
- },
603
711
  "width": {
604
712
  "description": "A string type that represents CSS size values.\nRefer to https://openui5.hana.ondemand.com/api/sap.ui.core.CSSSize.",
605
713
  "type": "string",
@@ -613,22 +721,6 @@
613
721
  },
614
722
  "additionalProperties": false
615
723
  },
616
- "ActionAfterExecutionConfigurationOP": {
617
- "type": "object",
618
- "properties": {
619
- "navigateToInstance": {
620
- "description": "By default, a navigation is automatically triggered after an action execution. If applications want to disable the navigation, they can do so using the manifest setting “navigateToInstance”.",
621
- "type": "boolean",
622
- "artifactType": "Manifest"
623
- },
624
- "enableAutoScroll": {
625
- "description": "The \"enableAutoScroll\" allows you to scroll to the newly created or change item after execution of an action",
626
- "type": "boolean",
627
- "artifactType": "Manifest"
628
- }
629
- },
630
- "additionalProperties": false
631
- },
632
724
  "TableCustomColumnOP": {
633
725
  "type": "object",
634
726
  "properties": {
@@ -744,27 +836,55 @@
744
836
  "isViewNode": true,
745
837
  "type": "object",
746
838
  "properties": {
839
+ "fields": {
840
+ "$ref": "#/definitions/ObjectPageFormFields"
841
+ },
747
842
  "actions": {
748
- "$ref": "#/definitions/FormCustomActionsOP"
843
+ "$ref": "#/definitions/ObjectPageFormActions"
749
844
  }
750
845
  },
751
846
  "additionalProperties": false
752
847
  },
753
- "FormCustomActionsOP": {
848
+ "ObjectPageFormFields": {
754
849
  "type": "object",
755
850
  "additionalProperties": {
756
- "$ref": "#/definitions/FormCustomActionOP"
851
+ "type": "object",
852
+ "properties": {},
853
+ "additionalProperties": true
757
854
  }
758
855
  },
759
- "FormCustomActionOP": {
856
+ "ObjectPageFormActions": {
857
+ "type": "object",
858
+ "additionalProperties": {
859
+ "anyOf": [
860
+ {
861
+ "$ref": "#/definitions/CustomFormActionOP"
862
+ },
863
+ {
864
+ "$ref": "#/definitions/FormAction"
865
+ }
866
+ ]
867
+ }
868
+ },
869
+ "CustomFormActionOP": {
760
870
  "type": "object",
761
871
  "properties": {
872
+ "position": {
873
+ "$ref": "#/definitions/CustomActionPositionOP",
874
+ "description": "Defines the position of the action relative to other actions.",
875
+ "artifactType": "Manifest"
876
+ },
762
877
  "text": {
763
878
  "description": "The text that is displayed on the button (typically a binding to an i18n entry).",
764
879
  "i18nClassification": "COL: Custom action text",
765
880
  "artifactType": "Manifest",
766
881
  "type": "string"
767
882
  },
883
+ "press": {
884
+ "description": "Relevant for extension actions; allows the definition of a target action handler.",
885
+ "artifactType": "Manifest",
886
+ "type": "string"
887
+ },
768
888
  "visible": {
769
889
  "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
770
890
  "anyOf": [
@@ -783,16 +903,6 @@
783
903
  "description": "Whether the action button should be visible on the screen.",
784
904
  "artifactType": "Manifest"
785
905
  },
786
- "position": {
787
- "$ref": "#/definitions/CustomActionPositionOP",
788
- "description": "Defines the position of the action relative to other actions.",
789
- "artifactType": "Manifest"
790
- },
791
- "press": {
792
- "description": "Relevant for extension actions; allows the definition of a target action handler.",
793
- "artifactType": "Manifest",
794
- "type": "string"
795
- },
796
906
  "enabled": {
797
907
  "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
798
908
  "anyOf": [
@@ -818,6 +928,33 @@
818
928
  "text"
819
929
  ]
820
930
  },
931
+ "FormAction": {
932
+ "type": "object",
933
+ "properties": {
934
+ "afterExecution": {
935
+ "$ref": "#/definitions/ActionAfterExecutionConfigurationForm",
936
+ "description": "Settings that are only relevant for actions (associated with a UI.DataFieldForAction annotation)",
937
+ "artifactType": "Manifest"
938
+ }
939
+ },
940
+ "additionalProperties": false
941
+ },
942
+ "ActionAfterExecutionConfigurationForm": {
943
+ "type": "object",
944
+ "properties": {
945
+ "navigateToInstance": {
946
+ "description": "By default, a navigation is automatically triggered after an action execution. If applications want to disable the navigation, they can do so using the manifest setting “navigateToInstance”.",
947
+ "type": "boolean",
948
+ "artifactType": "Manifest"
949
+ },
950
+ "enableAutoScroll": {
951
+ "description": "The \"enableAutoScroll\" allows you to scroll to the newly created or changed item after execution of an action",
952
+ "type": "boolean",
953
+ "artifactType": "Manifest"
954
+ }
955
+ },
956
+ "additionalProperties": false
957
+ },
821
958
  "ObjectPageSectionDataPoint": {
822
959
  "type": "object",
823
960
  "properties": {
@@ -973,10 +1110,123 @@
973
1110
  "ObjectPageFooterActions": {
974
1111
  "type": "object",
975
1112
  "additionalProperties": {
976
- "type": "object",
977
- "properties": {},
978
- "additionalProperties": true
1113
+ "anyOf": [
1114
+ {
1115
+ "$ref": "#/definitions/CustomFooterActionOP"
1116
+ },
1117
+ {
1118
+ "$ref": "#/definitions/FooterActionV4"
1119
+ }
1120
+ ]
979
1121
  }
1122
+ },
1123
+ "CustomFooterActionOP": {
1124
+ "type": "object",
1125
+ "properties": {
1126
+ "position": {
1127
+ "$ref": "#/definitions/CustomFooterActionPositionOP",
1128
+ "description": "Defines the position of the action relative to other actions.",
1129
+ "artifactType": "Manifest"
1130
+ },
1131
+ "text": {
1132
+ "description": "The text that is displayed on the button (typically a binding to an i18n entry).",
1133
+ "i18nClassification": "COL: Custom action text",
1134
+ "artifactType": "Manifest",
1135
+ "type": "string"
1136
+ },
1137
+ "press": {
1138
+ "description": "Relevant for extension actions; allows the definition of a target action handler.",
1139
+ "artifactType": "Manifest",
1140
+ "type": "string"
1141
+ },
1142
+ "visible": {
1143
+ "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
1144
+ "anyOf": [
1145
+ {
1146
+ "enum": [
1147
+ false,
1148
+ true,
1149
+ "{ui>/editable}",
1150
+ "{= !${ui>/editable}}"
1151
+ ]
1152
+ },
1153
+ {
1154
+ "type": "string"
1155
+ }
1156
+ ],
1157
+ "description": "Whether the action button should be visible on the screen.",
1158
+ "artifactType": "Manifest"
1159
+ },
1160
+ "enabled": {
1161
+ "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
1162
+ "anyOf": [
1163
+ {
1164
+ "enum": [
1165
+ false,
1166
+ true,
1167
+ "{ui>/editable}",
1168
+ "{= !${ui>/editable}}"
1169
+ ]
1170
+ },
1171
+ {
1172
+ "type": "string"
1173
+ }
1174
+ ],
1175
+ "description": "Whether the action button should be enabled. Default value is `true`.",
1176
+ "artifactType": "Manifest"
1177
+ }
1178
+ },
1179
+ "additionalProperties": false,
1180
+ "required": [
1181
+ "press",
1182
+ "text"
1183
+ ]
1184
+ },
1185
+ "CustomFooterActionPositionOP": {
1186
+ "type": "object",
1187
+ "properties": {
1188
+ "anchor": {
1189
+ "description": "The key of another action to be used as placement anchor.",
1190
+ "artifactType": "Manifest",
1191
+ "type": "string"
1192
+ },
1193
+ "placement": {
1194
+ "$ref": "#/definitions/ActionPlacement",
1195
+ "description": "Define the placement, either before or after the anchor action.",
1196
+ "artifactType": "Manifest"
1197
+ }
1198
+ },
1199
+ "additionalProperties": false,
1200
+ "required": [
1201
+ "placement"
1202
+ ]
1203
+ },
1204
+ "FooterActionV4": {
1205
+ "type": "object",
1206
+ "properties": {
1207
+ "afterExecution": {
1208
+ "$ref": "#/definitions/ActionAfterExecutionConfigurationFooter",
1209
+ "description": "Settings that are only relevant for actions (associated with a UI.DataFieldForAction annotation)",
1210
+ "artifactType": "Manifest"
1211
+ }
1212
+ },
1213
+ "additionalProperties": false
1214
+ },
1215
+ "ActionAfterExecutionConfigurationFooter": {
1216
+ "type": "object",
1217
+ "properties": {
1218
+ "navigateToInstance": {
1219
+ "description": "By default, a navigation is automatically triggered after an action execution. If applications want to disable the navigation, they can do so using the manifest setting “navigateToInstance”.",
1220
+ "type": "boolean",
1221
+ "artifactType": "Manifest"
1222
+ },
1223
+ "enableAutoScroll": {
1224
+ "description": "The \"enableAutoScroll\" allows you to scroll to the newly created or changed item after execution of an action",
1225
+ "type": "boolean",
1226
+ "artifactType": "Manifest"
1227
+ }
1228
+ },
1229
+ "additionalProperties": false
980
1230
  }
981
1231
  },
982
1232
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -0,0 +1,9 @@
1
+ import type { MacrosAPI } from './types';
2
+ /**
3
+ * Method returns "sap.fe.macros" api for passed specification version.
4
+ * @param {string} specVersion Specification version.
5
+ * @param {boolean} [useNightlyBuild] If true, then dev/nightly build version will be retrieved.
6
+ * @returns {Promise<MacrosAPI | undefined>} Promise to "sap.fe.macros" api.
7
+ */
8
+ export declare function getMacrosAPI(specVersion: string, useNightlyBuild?: boolean, overwriteCache?: boolean): Promise<MacrosAPI | undefined>;
9
+ //# sourceMappingURL=api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../scripts/macros/api.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAqIzC;;;;;GAKG;AACH,wBAAsB,YAAY,CAC9B,WAAW,EAAE,MAAM,EACnB,eAAe,UAAQ,EACvB,cAAc,UAAQ,GACvB,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,CA+BhC"}