@sap/ux-specification 1.71.42 → 1.71.46
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.
- package/CHANGELOG.md +83 -10
- package/README.md +4 -4
- package/dist/documentation/v2/v2-AnalyticalListPage.html +1 -1
- package/dist/documentation/v2/v2-ApplicationV2.html +1 -1
- package/dist/documentation/v2/v2-ListReport.html +1 -1
- package/dist/documentation/v2/v2-ObjectPage.html +1 -1
- package/dist/documentation/v2/v2-OverviewPage.html +1 -1
- package/dist/index-min.js +1 -1
- package/dist/schemas/v2/AnalyticalListPageConfig.json +76 -6
- package/dist/schemas/v2/ApplicationV2.json +2 -0
- package/dist/schemas/v2/ListReportConfig.json +75 -5
- package/dist/schemas/v2/ObjectPageConfig.json +278 -85
- package/dist/schemas/v2/OverviewPageConfig.json +13 -33
- package/dist/scripts/to-json-schema.js +9 -1
- package/dist/scripts/to-json-schema.js.map +1 -1
- package/dist/specification/v2/index-min.js +1 -1
- package/dist/src/apiTypes.d.ts +8 -0
- package/dist/src/specification/v2/ApplicationV2.d.ts +2 -0
- package/dist/src/specification/v2/controls/AnalyticalListPageChart.d.ts +1 -1
- package/dist/src/specification/v2/controls/Card.d.ts +9 -12
- package/dist/src/specification/v2/controls/Card.js +0 -3
- package/dist/src/specification/v2/controls/Card.js.map +1 -1
- package/dist/src/specification/v2/controls/Field.d.ts +10 -0
- package/dist/src/specification/v2/controls/{DataField.js → Field.js} +1 -1
- package/dist/src/specification/v2/controls/Field.js.map +1 -0
- package/dist/src/specification/v2/controls/FormAction.d.ts +38 -0
- package/dist/src/specification/v2/controls/FormAction.js +15 -0
- package/dist/src/specification/v2/controls/FormAction.js.map +1 -0
- package/dist/src/specification/v2/controls/ObjectPageFooter.d.ts +11 -0
- package/dist/src/specification/v2/controls/ObjectPageFooter.js +3 -0
- package/dist/src/specification/v2/controls/ObjectPageFooter.js.map +1 -0
- package/dist/src/specification/v2/controls/ObjectPageForm.d.ts +4 -5
- package/dist/src/specification/v2/controls/ObjectPageHeaderAction.d.ts +21 -5
- package/dist/src/specification/v2/controls/ObjectPageHeaderAction.js +0 -5
- package/dist/src/specification/v2/controls/ObjectPageHeaderAction.js.map +1 -1
- package/dist/src/specification/v2/controls/ObjectPageSection.d.ts +21 -11
- package/dist/src/specification/v2/controls/ObjectPageSection.js.map +1 -1
- package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +4 -1
- package/dist/src/specification/v2/controls/Table.d.ts +4 -0
- package/dist/src/specification/v2/controls/Table.js.map +1 -1
- package/dist/src/specification/v2/controls/ToolBar.d.ts +2 -6
- package/dist/src/specification/v2/controls/index.d.ts +4 -1
- package/dist/src/specification/v2/controls/index.js +1 -1
- package/dist/src/specification/v2/controls/index.js.map +1 -1
- package/dist/src/specification/v2/pages/ObjectPageConfig.d.ts +2 -1
- package/dist/src/sync/common/decoration/control.d.ts +8 -1
- package/dist/src/sync/common/decoration/control.js +58 -17
- package/dist/src/sync/common/decoration/control.js.map +1 -1
- package/dist/src/sync/common/generate/objectPage.d.ts +41 -1
- package/dist/src/sync/common/generate/objectPage.js +210 -32
- package/dist/src/sync/common/generate/objectPage.js.map +1 -1
- package/dist/src/sync/common/import/utils.d.ts +6 -0
- package/dist/src/sync/common/import/utils.js +21 -0
- package/dist/src/sync/common/import/utils.js.map +1 -1
- package/dist/src/sync/common/importProject.js +45 -39
- package/dist/src/sync/common/importProject.js.map +1 -1
- package/dist/src/sync/common/types.d.ts +11 -3
- package/dist/src/sync/common/types.js +8 -0
- package/dist/src/sync/common/types.js.map +1 -1
- package/dist/src/sync/common/utils.d.ts +2 -1
- package/dist/src/sync/common/utils.js +81 -82
- package/dist/src/sync/common/utils.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Card.d.ts +4 -3
- package/dist/src/sync/v2/export/controls/Card.js +16 -9
- package/dist/src/sync/v2/export/controls/Card.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Field.d.ts +4 -0
- package/dist/src/sync/v2/export/controls/{DataField.js → Field.js} +7 -7
- package/dist/src/sync/v2/export/controls/Field.js.map +1 -0
- package/dist/src/sync/v2/export/controls/FormAction.d.ts +15 -0
- package/dist/src/sync/v2/export/controls/FormAction.js +127 -0
- package/dist/src/sync/v2/export/controls/FormAction.js.map +1 -0
- package/dist/src/sync/v2/export/controls/Fragment.js +5 -6
- package/dist/src/sync/v2/export/controls/Fragment.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.js +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +6 -2
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js +43 -4
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +25 -0
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +113 -0
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +1 -0
- package/dist/src/sync/v2/export/controls/ObjectPageTable.js +4 -5
- package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Table.d.ts +8 -1
- package/dist/src/sync/v2/export/controls/Table.js +72 -16
- package/dist/src/sync/v2/export/controls/Table.js.map +1 -1
- package/dist/src/sync/v2/export/controls/TableColumn.js +1 -1
- package/dist/src/sync/v2/export/controls/TableColumn.js.map +1 -1
- package/dist/src/sync/v2/export/controls/index.d.ts +3 -1
- package/dist/src/sync/v2/export/controls/index.js +3 -1
- package/dist/src/sync/v2/export/controls/index.js.map +1 -1
- package/dist/src/sync/v2/export/export.js +130 -91
- package/dist/src/sync/v2/export/export.js.map +1 -1
- package/dist/src/sync/v2/generate/analyticalListReport.d.ts +3 -9
- package/dist/src/sync/v2/generate/analyticalListReport.js +13 -16
- package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
- package/dist/src/sync/v2/generate/generate.js +28 -6
- package/dist/src/sync/v2/generate/generate.js.map +1 -1
- package/dist/src/sync/v2/generate/listReport.d.ts +3 -9
- package/dist/src/sync/v2/generate/listReport.js +20 -23
- package/dist/src/sync/v2/generate/listReport.js.map +1 -1
- package/dist/src/sync/v2/generate/objectPage.d.ts +3 -10
- package/dist/src/sync/v2/generate/objectPage.js +194 -139
- package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v2/generate/utils.d.ts +1 -2
- package/dist/src/sync/v2/generate/utils.js +8 -3
- package/dist/src/sync/v2/generate/utils.js.map +1 -1
- package/dist/src/sync/v2/import/pages/listReport.js +3 -2
- package/dist/src/sync/v2/import/pages/listReport.js.map +1 -1
- package/dist/src/sync/v2/import/pages/objectPage.js +173 -102
- package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v2/import/pages/overviewPage.js +0 -2
- package/dist/src/sync/v2/import/pages/overviewPage.js.map +1 -1
- package/dist/src/sync/v2/types.d.ts +16 -0
- package/dist/src/sync/v2/types.js +15 -0
- package/dist/src/sync/v2/types.js.map +1 -1
- package/dist/src/sync/v4/utils/StableIdHelper.d.ts +0 -3
- package/dist/src/sync/v4/utils/StableIdHelper.js +9 -11
- package/dist/src/sync/v4/utils/StableIdHelper.js.map +1 -1
- package/package.json +4 -5
- package/dist/src/specification/v2/controls/DataField.d.ts +0 -7
- package/dist/src/specification/v2/controls/DataField.js.map +0 -1
- package/dist/src/sync/v2/export/controls/DataField.d.ts +0 -4
- package/dist/src/sync/v2/export/controls/DataField.js.map +0 -1
|
@@ -37,6 +37,9 @@
|
|
|
37
37
|
}
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
|
+
"footer": {
|
|
41
|
+
"$ref": "#/definitions/ObjectPageFooter<GenericFooterActions>"
|
|
42
|
+
},
|
|
40
43
|
"$schema": {
|
|
41
44
|
"type": "string"
|
|
42
45
|
}
|
|
@@ -102,6 +105,30 @@
|
|
|
102
105
|
"isViewNode": true,
|
|
103
106
|
"type": "object",
|
|
104
107
|
"properties": {
|
|
108
|
+
"tooltip": {
|
|
109
|
+
"description": "Text for tooltip of button",
|
|
110
|
+
"type": "string",
|
|
111
|
+
"artifactType": "FlexChange",
|
|
112
|
+
"controlType": "sap.uxap.ObjectPageHeaderActionButton"
|
|
113
|
+
},
|
|
114
|
+
"icon": {
|
|
115
|
+
"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.",
|
|
116
|
+
"type": "string",
|
|
117
|
+
"artifactType": "FlexChange",
|
|
118
|
+
"controlType": "sap.uxap.ObjectPageHeaderActionButton"
|
|
119
|
+
},
|
|
120
|
+
"activeIcon": {
|
|
121
|
+
"description": "Alternative icon for the active (depressed) state of the button, represented as RFC 3986 conformant URI.",
|
|
122
|
+
"type": "string",
|
|
123
|
+
"artifactType": "FlexChange",
|
|
124
|
+
"controlType": "sap.uxap.ObjectPageHeaderActionButton"
|
|
125
|
+
},
|
|
126
|
+
"type": {
|
|
127
|
+
"$ref": "#/definitions/ButtonType",
|
|
128
|
+
"description": "Defines the Button type.",
|
|
129
|
+
"artifactType": "FlexChange",
|
|
130
|
+
"controlType": "sap.uxap.ObjectPageHeaderActionButton"
|
|
131
|
+
},
|
|
105
132
|
"visible": {
|
|
106
133
|
"pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#? _|,<>'()[\\]\\/:=.]+}$",
|
|
107
134
|
"anyOf": [
|
|
@@ -109,20 +136,35 @@
|
|
|
109
136
|
"enum": [
|
|
110
137
|
false,
|
|
111
138
|
true,
|
|
112
|
-
"{
|
|
113
|
-
"{ui>/editable}"
|
|
139
|
+
"{ui>/editable}",
|
|
140
|
+
"{= !${ui>/editable}}"
|
|
114
141
|
]
|
|
115
142
|
},
|
|
116
143
|
{
|
|
117
144
|
"type": "string"
|
|
118
145
|
}
|
|
119
146
|
],
|
|
147
|
+
"description": "Whether the button should be visible on the screen.",
|
|
120
148
|
"artifactType": "FlexChange",
|
|
121
|
-
"controlType": "sap.
|
|
149
|
+
"controlType": "sap.uxap.ObjectPageHeaderActionButton"
|
|
122
150
|
}
|
|
123
151
|
},
|
|
124
152
|
"additionalProperties": false
|
|
125
153
|
},
|
|
154
|
+
"ButtonType": {
|
|
155
|
+
"enum": [
|
|
156
|
+
"Accept",
|
|
157
|
+
"Back",
|
|
158
|
+
"Default",
|
|
159
|
+
"Emphasized",
|
|
160
|
+
"Ghost",
|
|
161
|
+
"Reject",
|
|
162
|
+
"Transparent",
|
|
163
|
+
"Unstyled",
|
|
164
|
+
"Up"
|
|
165
|
+
],
|
|
166
|
+
"type": "string"
|
|
167
|
+
},
|
|
126
168
|
"ObjectPageLayout": {
|
|
127
169
|
"description": "Page Layout",
|
|
128
170
|
"isViewNode": true,
|
|
@@ -159,15 +201,152 @@
|
|
|
159
201
|
"type": "object",
|
|
160
202
|
"additionalProperties": {
|
|
161
203
|
"anyOf": [
|
|
204
|
+
{
|
|
205
|
+
"$ref": "#/definitions/ObjectPageSectionFormV2"
|
|
206
|
+
},
|
|
162
207
|
{
|
|
163
208
|
"$ref": "#/definitions/ObjectPageSectionTableV2"
|
|
164
209
|
},
|
|
165
210
|
{
|
|
166
|
-
"$ref": "#/definitions/
|
|
211
|
+
"$ref": "#/definitions/ObjectPageSubSectionV2"
|
|
167
212
|
}
|
|
168
213
|
]
|
|
169
214
|
}
|
|
170
215
|
},
|
|
216
|
+
"ObjectPageSectionFormV2": {
|
|
217
|
+
"description": "Form",
|
|
218
|
+
"isViewNode": true,
|
|
219
|
+
"type": "object",
|
|
220
|
+
"properties": {
|
|
221
|
+
"form": {
|
|
222
|
+
"$ref": "#/definitions/ObjectPageForm"
|
|
223
|
+
},
|
|
224
|
+
"visible": {
|
|
225
|
+
"pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#? _|,<>'()[\\]\\/:=.]+}$",
|
|
226
|
+
"anyOf": [
|
|
227
|
+
{
|
|
228
|
+
"enum": [
|
|
229
|
+
false,
|
|
230
|
+
true,
|
|
231
|
+
"{ui>/editable}",
|
|
232
|
+
"{= !${ui>/editable}}"
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"type": "string"
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"description": "Whether the section should be visible on the screen.",
|
|
240
|
+
"artifactType": "FlexChange",
|
|
241
|
+
"controlType": "sap.uxap.ObjectPageSection"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"additionalProperties": false
|
|
245
|
+
},
|
|
246
|
+
"ObjectPageForm": {
|
|
247
|
+
"description": "Object Page Form",
|
|
248
|
+
"isViewNode": true,
|
|
249
|
+
"type": "object",
|
|
250
|
+
"properties": {
|
|
251
|
+
"fields": {
|
|
252
|
+
"$ref": "#/definitions/ObjectPageFormFields"
|
|
253
|
+
},
|
|
254
|
+
"actions": {
|
|
255
|
+
"$ref": "#/definitions/ObjectPageFormActions"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"additionalProperties": false
|
|
259
|
+
},
|
|
260
|
+
"ObjectPageFormFields": {
|
|
261
|
+
"type": "object",
|
|
262
|
+
"additionalProperties": {
|
|
263
|
+
"$ref": "#/definitions/Field"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"Field": {
|
|
267
|
+
"description": "Field",
|
|
268
|
+
"isViewNode": true,
|
|
269
|
+
"type": "object",
|
|
270
|
+
"properties": {
|
|
271
|
+
"visible": {
|
|
272
|
+
"pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#? _|,<>'()[\\]\\/:=.]+}$",
|
|
273
|
+
"anyOf": [
|
|
274
|
+
{
|
|
275
|
+
"enum": [
|
|
276
|
+
false,
|
|
277
|
+
true,
|
|
278
|
+
"{ui>/editable}",
|
|
279
|
+
"{= !${ui>/editable}}"
|
|
280
|
+
]
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"type": "string"
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
"description": "Whether the field should be visible on the screen.",
|
|
287
|
+
"artifactType": "FlexChange",
|
|
288
|
+
"controlType": "sap.ui.comp.smartform.SmartGroup"
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"additionalProperties": false
|
|
292
|
+
},
|
|
293
|
+
"ObjectPageFormActions": {
|
|
294
|
+
"type": "object",
|
|
295
|
+
"additionalProperties": {
|
|
296
|
+
"$ref": "#/definitions/FormAction"
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"FormAction": {
|
|
300
|
+
"description": "Action",
|
|
301
|
+
"isViewNode": true,
|
|
302
|
+
"type": "object",
|
|
303
|
+
"properties": {
|
|
304
|
+
"tooltip": {
|
|
305
|
+
"description": "Text for tooltip of button",
|
|
306
|
+
"type": "string",
|
|
307
|
+
"artifactType": "FlexChange",
|
|
308
|
+
"controlType": "sap.m.Button"
|
|
309
|
+
},
|
|
310
|
+
"icon": {
|
|
311
|
+
"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.",
|
|
312
|
+
"type": "string",
|
|
313
|
+
"artifactType": "FlexChange",
|
|
314
|
+
"controlType": "sap.m.Button"
|
|
315
|
+
},
|
|
316
|
+
"activeIcon": {
|
|
317
|
+
"description": "Alternative icon for the active (depressed) state of the button, represented as RFC 3986 conformant URI.",
|
|
318
|
+
"type": "string",
|
|
319
|
+
"artifactType": "FlexChange",
|
|
320
|
+
"controlType": "sap.m.Button"
|
|
321
|
+
},
|
|
322
|
+
"type": {
|
|
323
|
+
"$ref": "#/definitions/ButtonType",
|
|
324
|
+
"description": "Defines the Button type.",
|
|
325
|
+
"artifactType": "FlexChange",
|
|
326
|
+
"controlType": "sap.m.Button"
|
|
327
|
+
},
|
|
328
|
+
"visible": {
|
|
329
|
+
"pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#? _|,<>'()[\\]\\/:=.]+}$",
|
|
330
|
+
"anyOf": [
|
|
331
|
+
{
|
|
332
|
+
"enum": [
|
|
333
|
+
false,
|
|
334
|
+
true,
|
|
335
|
+
"{ui>/editable}",
|
|
336
|
+
"{= !${ui>/editable}}"
|
|
337
|
+
]
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"type": "string"
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
"description": "Whether the button should be visible on the screen.",
|
|
344
|
+
"artifactType": "FlexChange",
|
|
345
|
+
"controlType": "sap.m.Button"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"additionalProperties": false
|
|
349
|
+
},
|
|
171
350
|
"ObjectPageSectionTableV2": {
|
|
172
351
|
"description": "Table",
|
|
173
352
|
"isViewNode": true,
|
|
@@ -188,6 +367,25 @@
|
|
|
188
367
|
"$ref": "#/definitions/ObjectPageTreeTable"
|
|
189
368
|
}
|
|
190
369
|
]
|
|
370
|
+
},
|
|
371
|
+
"visible": {
|
|
372
|
+
"pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#? _|,<>'()[\\]\\/:=.]+}$",
|
|
373
|
+
"anyOf": [
|
|
374
|
+
{
|
|
375
|
+
"enum": [
|
|
376
|
+
false,
|
|
377
|
+
true,
|
|
378
|
+
"{ui>/editable}",
|
|
379
|
+
"{= !${ui>/editable}}"
|
|
380
|
+
]
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"type": "string"
|
|
384
|
+
}
|
|
385
|
+
],
|
|
386
|
+
"description": "Whether the section should be visible on the screen.",
|
|
387
|
+
"artifactType": "FlexChange",
|
|
388
|
+
"controlType": "sap.uxap.ObjectPageSection"
|
|
191
389
|
}
|
|
192
390
|
},
|
|
193
391
|
"additionalProperties": false
|
|
@@ -275,12 +473,13 @@
|
|
|
275
473
|
"type": "boolean",
|
|
276
474
|
"artifactType": "Manifest"
|
|
277
475
|
},
|
|
278
|
-
"columns": {
|
|
279
|
-
"$ref": "#/definitions/GenericColumns"
|
|
280
|
-
},
|
|
281
476
|
"toolBar": {
|
|
282
477
|
"$ref": "#/definitions/ObjectPageToolBar",
|
|
283
478
|
"description": "Tool Bar"
|
|
479
|
+
},
|
|
480
|
+
"columns": {
|
|
481
|
+
"$ref": "#/definitions/GenericColumns",
|
|
482
|
+
"description": "Columns"
|
|
284
483
|
}
|
|
285
484
|
},
|
|
286
485
|
"additionalProperties": false
|
|
@@ -336,6 +535,30 @@
|
|
|
336
535
|
"key"
|
|
337
536
|
]
|
|
338
537
|
},
|
|
538
|
+
"ObjectPageToolBar": {
|
|
539
|
+
"description": "Toolbar",
|
|
540
|
+
"isViewNode": true,
|
|
541
|
+
"type": "object",
|
|
542
|
+
"properties": {
|
|
543
|
+
"actions": {
|
|
544
|
+
"$ref": "#/definitions/ObjectPageToolBarActions"
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
"additionalProperties": false,
|
|
548
|
+
"required": [
|
|
549
|
+
"actions"
|
|
550
|
+
]
|
|
551
|
+
},
|
|
552
|
+
"ObjectPageToolBarActions": {
|
|
553
|
+
"description": "Actions",
|
|
554
|
+
"isViewNode": true,
|
|
555
|
+
"type": "object",
|
|
556
|
+
"additionalProperties": {
|
|
557
|
+
"type": "object",
|
|
558
|
+
"properties": {},
|
|
559
|
+
"additionalProperties": true
|
|
560
|
+
}
|
|
561
|
+
},
|
|
339
562
|
"GenericColumns": {
|
|
340
563
|
"type": "object",
|
|
341
564
|
"additionalProperties": {
|
|
@@ -460,30 +683,6 @@
|
|
|
460
683
|
],
|
|
461
684
|
"type": "string"
|
|
462
685
|
},
|
|
463
|
-
"ObjectPageToolBar": {
|
|
464
|
-
"description": "Toolbar",
|
|
465
|
-
"isViewNode": true,
|
|
466
|
-
"type": "object",
|
|
467
|
-
"properties": {
|
|
468
|
-
"actions": {
|
|
469
|
-
"$ref": "#/definitions/ObjectPageToolBarActions"
|
|
470
|
-
}
|
|
471
|
-
},
|
|
472
|
-
"additionalProperties": false,
|
|
473
|
-
"required": [
|
|
474
|
-
"actions"
|
|
475
|
-
]
|
|
476
|
-
},
|
|
477
|
-
"ObjectPageToolBarActions": {
|
|
478
|
-
"description": "Actions",
|
|
479
|
-
"isViewNode": true,
|
|
480
|
-
"type": "object",
|
|
481
|
-
"additionalProperties": {
|
|
482
|
-
"type": "object",
|
|
483
|
-
"properties": {},
|
|
484
|
-
"additionalProperties": true
|
|
485
|
-
}
|
|
486
|
-
},
|
|
487
686
|
"ObjectPageAnalyticalTable": {
|
|
488
687
|
"description": "Table",
|
|
489
688
|
"isViewNode": true,
|
|
@@ -548,12 +747,13 @@
|
|
|
548
747
|
"type": "boolean",
|
|
549
748
|
"artifactType": "Manifest"
|
|
550
749
|
},
|
|
551
|
-
"columns": {
|
|
552
|
-
"$ref": "#/definitions/GenericColumns"
|
|
553
|
-
},
|
|
554
750
|
"toolBar": {
|
|
555
751
|
"$ref": "#/definitions/ObjectPageToolBar",
|
|
556
752
|
"description": "Tool Bar"
|
|
753
|
+
},
|
|
754
|
+
"columns": {
|
|
755
|
+
"$ref": "#/definitions/GenericColumns",
|
|
756
|
+
"description": "Columns"
|
|
557
757
|
}
|
|
558
758
|
},
|
|
559
759
|
"additionalProperties": false
|
|
@@ -622,12 +822,13 @@
|
|
|
622
822
|
"type": "boolean",
|
|
623
823
|
"artifactType": "Manifest"
|
|
624
824
|
},
|
|
625
|
-
"columns": {
|
|
626
|
-
"$ref": "#/definitions/GenericColumns"
|
|
627
|
-
},
|
|
628
825
|
"toolBar": {
|
|
629
826
|
"$ref": "#/definitions/ObjectPageToolBar",
|
|
630
827
|
"description": "Tool Bar"
|
|
828
|
+
},
|
|
829
|
+
"columns": {
|
|
830
|
+
"$ref": "#/definitions/GenericColumns",
|
|
831
|
+
"description": "Columns"
|
|
631
832
|
}
|
|
632
833
|
},
|
|
633
834
|
"additionalProperties": false
|
|
@@ -696,76 +897,49 @@
|
|
|
696
897
|
"type": "boolean",
|
|
697
898
|
"artifactType": "Manifest"
|
|
698
899
|
},
|
|
699
|
-
"columns": {
|
|
700
|
-
"$ref": "#/definitions/GenericColumns"
|
|
701
|
-
},
|
|
702
900
|
"toolBar": {
|
|
703
901
|
"$ref": "#/definitions/ObjectPageToolBar",
|
|
704
902
|
"description": "Tool Bar"
|
|
705
|
-
}
|
|
706
|
-
},
|
|
707
|
-
"additionalProperties": false
|
|
708
|
-
},
|
|
709
|
-
"ObjectPageSectionFormV2": {
|
|
710
|
-
"description": "Form",
|
|
711
|
-
"isViewNode": true,
|
|
712
|
-
"type": "object",
|
|
713
|
-
"properties": {
|
|
714
|
-
"form": {
|
|
715
|
-
"$ref": "#/definitions/ObjectPageForm"
|
|
716
|
-
}
|
|
717
|
-
},
|
|
718
|
-
"additionalProperties": false
|
|
719
|
-
},
|
|
720
|
-
"ObjectPageForm": {
|
|
721
|
-
"description": "Object Page Form",
|
|
722
|
-
"isViewNode": true,
|
|
723
|
-
"type": "object",
|
|
724
|
-
"properties": {
|
|
725
|
-
"fields": {
|
|
726
|
-
"$ref": "#/definitions/ObjectPageFormFields"
|
|
727
903
|
},
|
|
728
|
-
"
|
|
729
|
-
"$ref": "#/definitions/
|
|
904
|
+
"columns": {
|
|
905
|
+
"$ref": "#/definitions/GenericColumns",
|
|
906
|
+
"description": "Columns"
|
|
730
907
|
}
|
|
731
908
|
},
|
|
732
909
|
"additionalProperties": false
|
|
733
910
|
},
|
|
734
|
-
"
|
|
735
|
-
"
|
|
736
|
-
"additionalProperties": {
|
|
737
|
-
"$ref": "#/definitions/DataField"
|
|
738
|
-
}
|
|
739
|
-
},
|
|
740
|
-
"DataField": {
|
|
741
|
-
"description": "DataField",
|
|
911
|
+
"ObjectPageSubSectionV2": {
|
|
912
|
+
"description": "Subsection",
|
|
742
913
|
"isViewNode": true,
|
|
743
914
|
"type": "object",
|
|
744
915
|
"properties": {
|
|
916
|
+
"subsections": {
|
|
917
|
+
"type": "object",
|
|
918
|
+
"properties": {},
|
|
919
|
+
"additionalProperties": true
|
|
920
|
+
},
|
|
745
921
|
"visible": {
|
|
746
|
-
"pattern": "^{[A-Za-z0-9{}&$!@#? _|,<>'()[\\]\\/:=.]+}$",
|
|
922
|
+
"pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#? _|,<>'()[\\]\\/:=.]+}$",
|
|
747
923
|
"anyOf": [
|
|
748
924
|
{
|
|
749
|
-
"
|
|
925
|
+
"enum": [
|
|
926
|
+
false,
|
|
927
|
+
true,
|
|
928
|
+
"{ui>/editable}",
|
|
929
|
+
"{= !${ui>/editable}}"
|
|
930
|
+
]
|
|
750
931
|
},
|
|
751
932
|
{
|
|
752
933
|
"type": "string"
|
|
753
934
|
}
|
|
754
935
|
],
|
|
936
|
+
"description": "Whether the section should be visible on the screen.",
|
|
755
937
|
"artifactType": "FlexChange",
|
|
756
|
-
"controlType": "sap.
|
|
938
|
+
"controlType": "sap.uxap.ObjectPageSubSection"
|
|
757
939
|
}
|
|
758
940
|
},
|
|
759
941
|
"additionalProperties": false
|
|
760
942
|
},
|
|
761
|
-
"ObjectPageFormActions": {
|
|
762
|
-
"type": "object",
|
|
763
|
-
"additionalProperties": {
|
|
764
|
-
"type": "object",
|
|
765
|
-
"properties": {},
|
|
766
|
-
"additionalProperties": true
|
|
767
|
-
}
|
|
768
|
-
},
|
|
769
943
|
"CustomSections": {
|
|
770
944
|
"description": "Custom Sections",
|
|
771
945
|
"isViewNode": true,
|
|
@@ -811,7 +985,7 @@
|
|
|
811
985
|
"$ref": "#/definitions/SectionPosition"
|
|
812
986
|
},
|
|
813
987
|
"title": {
|
|
814
|
-
"description": "The label of the custom section,
|
|
988
|
+
"description": "The label of the custom section, preferably as an i18n key",
|
|
815
989
|
"i18nClassification": "TIT: Custom section title",
|
|
816
990
|
"type": "string"
|
|
817
991
|
}
|
|
@@ -870,7 +1044,7 @@
|
|
|
870
1044
|
"$ref": "#/definitions/SectionPosition"
|
|
871
1045
|
},
|
|
872
1046
|
"title": {
|
|
873
|
-
"description": "The label of the custom section,
|
|
1047
|
+
"description": "The label of the custom section, preferably as an i18n key",
|
|
874
1048
|
"i18nClassification": "TIT: Custom section title",
|
|
875
1049
|
"type": "string"
|
|
876
1050
|
}
|
|
@@ -884,6 +1058,25 @@
|
|
|
884
1058
|
"title",
|
|
885
1059
|
"type"
|
|
886
1060
|
]
|
|
1061
|
+
},
|
|
1062
|
+
"ObjectPageFooter<GenericFooterActions>": {
|
|
1063
|
+
"description": "Footer",
|
|
1064
|
+
"isViewNode": true,
|
|
1065
|
+
"type": "object",
|
|
1066
|
+
"properties": {
|
|
1067
|
+
"actions": {
|
|
1068
|
+
"$ref": "#/definitions/GenericFooterActions"
|
|
1069
|
+
}
|
|
1070
|
+
},
|
|
1071
|
+
"additionalProperties": false
|
|
1072
|
+
},
|
|
1073
|
+
"GenericFooterActions": {
|
|
1074
|
+
"type": "object",
|
|
1075
|
+
"additionalProperties": {
|
|
1076
|
+
"type": "object",
|
|
1077
|
+
"properties": {},
|
|
1078
|
+
"additionalProperties": true
|
|
1079
|
+
}
|
|
887
1080
|
}
|
|
888
1081
|
},
|
|
889
1082
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
]
|
|
362
362
|
},
|
|
363
363
|
"requireAppAuthorization": {
|
|
364
|
-
"description": "
|
|
364
|
+
"description": "Define an authorization check at card level",
|
|
365
365
|
"type": "string"
|
|
366
366
|
}
|
|
367
367
|
},
|
|
@@ -575,7 +575,7 @@
|
|
|
575
575
|
]
|
|
576
576
|
},
|
|
577
577
|
"requireAppAuthorization": {
|
|
578
|
-
"description": "
|
|
578
|
+
"description": "Define an authorization check at card level",
|
|
579
579
|
"type": "string"
|
|
580
580
|
}
|
|
581
581
|
},
|
|
@@ -694,20 +694,6 @@
|
|
|
694
694
|
"$ref": "#/definitions/StackCardSettings",
|
|
695
695
|
"description": "Represents the properties that are passed to the stack card.",
|
|
696
696
|
"artifactType": "Manifest"
|
|
697
|
-
},
|
|
698
|
-
"tabs": {
|
|
699
|
-
"description": "Represents the Stack Card with view switch control.",
|
|
700
|
-
"type": "array",
|
|
701
|
-
"items": [
|
|
702
|
-
{
|
|
703
|
-
"$ref": "#/definitions/TabSetting"
|
|
704
|
-
}
|
|
705
|
-
],
|
|
706
|
-
"minItems": 1,
|
|
707
|
-
"additionalItems": {
|
|
708
|
-
"$ref": "#/definitions/TabSetting"
|
|
709
|
-
},
|
|
710
|
-
"artifactType": "Manifest"
|
|
711
697
|
}
|
|
712
698
|
},
|
|
713
699
|
"additionalProperties": false,
|
|
@@ -816,7 +802,7 @@
|
|
|
816
802
|
]
|
|
817
803
|
},
|
|
818
804
|
"requireAppAuthorization": {
|
|
819
|
-
"description": "
|
|
805
|
+
"description": "Define an authorization check at card level",
|
|
820
806
|
"type": "string"
|
|
821
807
|
}
|
|
822
808
|
},
|
|
@@ -849,20 +835,6 @@
|
|
|
849
835
|
"$ref": "#/definitions/LinkListCardSettings",
|
|
850
836
|
"description": "Represents the properties that are passed to the link list card.",
|
|
851
837
|
"artifactType": "Manifest"
|
|
852
|
-
},
|
|
853
|
-
"tabs": {
|
|
854
|
-
"description": "Represents the card with view switch control.",
|
|
855
|
-
"type": "array",
|
|
856
|
-
"items": [
|
|
857
|
-
{
|
|
858
|
-
"$ref": "#/definitions/TabSetting"
|
|
859
|
-
}
|
|
860
|
-
],
|
|
861
|
-
"minItems": 1,
|
|
862
|
-
"additionalItems": {
|
|
863
|
-
"$ref": "#/definitions/TabSetting"
|
|
864
|
-
},
|
|
865
|
-
"artifactType": "Manifest"
|
|
866
838
|
}
|
|
867
839
|
},
|
|
868
840
|
"additionalProperties": false,
|
|
@@ -960,6 +932,14 @@
|
|
|
960
932
|
"items": {
|
|
961
933
|
"$ref": "#/definitions/StaticContent"
|
|
962
934
|
}
|
|
935
|
+
},
|
|
936
|
+
"requireAppAuthorization": {
|
|
937
|
+
"description": "Define an authorization check at card level",
|
|
938
|
+
"type": "string"
|
|
939
|
+
},
|
|
940
|
+
"annotationPath": {
|
|
941
|
+
"description": "Represents the annotation path.",
|
|
942
|
+
"type": "string"
|
|
963
943
|
}
|
|
964
944
|
},
|
|
965
945
|
"additionalProperties": false,
|
|
@@ -1190,7 +1170,7 @@
|
|
|
1190
1170
|
]
|
|
1191
1171
|
},
|
|
1192
1172
|
"requireAppAuthorization": {
|
|
1193
|
-
"description": "
|
|
1173
|
+
"description": "Define an authorization check at card level",
|
|
1194
1174
|
"type": "string"
|
|
1195
1175
|
}
|
|
1196
1176
|
},
|
|
@@ -1333,7 +1313,7 @@
|
|
|
1333
1313
|
]
|
|
1334
1314
|
},
|
|
1335
1315
|
"requireAppAuthorization": {
|
|
1336
|
-
"description": "
|
|
1316
|
+
"description": "Define an authorization check at card level",
|
|
1337
1317
|
"type": "string"
|
|
1338
1318
|
}
|
|
1339
1319
|
},
|
|
@@ -31,7 +31,15 @@ function convertInterfaces(path, files, version) {
|
|
|
31
31
|
const generator = typescript_json_schema_1.buildGenerator(typescript_json_schema_1.getProgramFromFiles([path_1.join(path, file)], compilerOptions), {
|
|
32
32
|
noExtraProps: true,
|
|
33
33
|
required: true,
|
|
34
|
-
validationKeywords: [
|
|
34
|
+
validationKeywords: [
|
|
35
|
+
'i18nClassification',
|
|
36
|
+
'isViewNode',
|
|
37
|
+
'displayName',
|
|
38
|
+
'dataType',
|
|
39
|
+
'controlProperty',
|
|
40
|
+
'annotationType',
|
|
41
|
+
'annotationPath'
|
|
42
|
+
]
|
|
35
43
|
});
|
|
36
44
|
const filename = file.replace('ts', 'json');
|
|
37
45
|
schemas[filename] = generator.getSchemaForSymbol(file.replace('.ts', ''));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"to-json-schema.js","sourceRoot":"","sources":["../../scripts/to-json-schema.ts"],"names":[],"mappings":";;;;;;;;;AAAA,+BAAsC;AACtC,uCAAyB;AACzB,mEAAkG;AAClG,yDAAgE;AAChE,2DAAuF;AACvF,wDAA6E;AAK7E,MAAM,eAAe,GAAG;IACpB,YAAY,EAAE,IAAI;CACrB,CAAC;AAEF;;;;GAIG;AACH,SAAgB,iBAAiB,CAAC,IAAY,EAAE,KAAe,EA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