@sap/ux-specification 1.90.12 → 1.90.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/CHANGELOG.md +38 -4
  2. package/dist/documentation/v2/v2-AnalyticalListPage.html +1 -1
  3. package/dist/documentation/v2/v2-ApplicationV2.html +1 -1
  4. package/dist/documentation/v2/v2-ListReport.html +1 -1
  5. package/dist/documentation/v2/v2-ObjectPage.html +1 -1
  6. package/dist/documentation/v2/v2-OverviewPage.html +1 -1
  7. package/dist/documentation/v4/v4-AnalyticalListPage.html +1 -1
  8. package/dist/documentation/v4/v4-ApplicationV4.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 +1 -1
  12. package/dist/schemas/v2/AnalyticalListPageConfig.json +86 -11
  13. package/dist/schemas/v2/ListReportConfig.json +86 -11
  14. package/dist/schemas/v2/ObjectPageConfig.json +265 -53
  15. package/dist/schemas/v2/OverviewPageConfig.json +0 -28
  16. package/dist/schemas/v4/ObjectPageConfig.json +22 -0
  17. package/dist/specification/v2/index-min.js +1 -1
  18. package/dist/src/apiTypes.d.ts +8 -0
  19. package/dist/src/specification/v2/controls/Card.d.ts +0 -8
  20. package/dist/src/specification/v2/controls/Card.js.map +1 -1
  21. package/dist/src/specification/v2/controls/{DataField.d.ts → Field.d.ts} +2 -2
  22. package/dist/src/specification/v2/controls/{DataField.js → Field.js} +1 -1
  23. package/dist/src/specification/v2/controls/Field.js.map +1 -0
  24. package/dist/src/specification/v2/controls/FormAction.d.ts +43 -0
  25. package/dist/src/specification/v2/controls/FormAction.js +20 -0
  26. package/dist/src/specification/v2/controls/FormAction.js.map +1 -0
  27. package/dist/src/specification/v2/controls/ObjectPageFooter.d.ts +11 -0
  28. package/dist/src/specification/v2/controls/ObjectPageFooter.js +3 -0
  29. package/dist/src/specification/v2/controls/ObjectPageFooter.js.map +1 -0
  30. package/dist/src/specification/v2/controls/ObjectPageForm.d.ts +4 -5
  31. package/dist/src/specification/v2/controls/ObjectPageHeaderAction.d.ts +20 -0
  32. package/dist/src/specification/v2/controls/ObjectPageSection.d.ts +25 -15
  33. package/dist/src/specification/v2/controls/ObjectPageSection.js.map +1 -1
  34. package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +8 -4
  35. package/dist/src/specification/v2/controls/ObjectPageTable.js.map +1 -1
  36. package/dist/src/specification/v2/controls/Table.d.ts +4 -3
  37. package/dist/src/specification/v2/controls/ToolBar.d.ts +2 -6
  38. package/dist/src/specification/v2/controls/index.d.ts +4 -1
  39. package/dist/src/specification/v2/controls/index.js +1 -0
  40. package/dist/src/specification/v2/controls/index.js.map +1 -1
  41. package/dist/src/specification/v2/pages/ObjectPageConfig.d.ts +2 -1
  42. package/dist/src/specification/v4/controls/ObjectPageFooter.d.ts +11 -0
  43. package/dist/src/specification/v4/controls/ObjectPageFooter.js +3 -0
  44. package/dist/src/specification/v4/controls/ObjectPageFooter.js.map +1 -0
  45. package/dist/src/specification/v4/controls/index.d.ts +1 -0
  46. package/dist/src/specification/v4/pages/ObjectPageConfig.d.ts +2 -1
  47. package/dist/src/specification/v4/webapp/manifest/sapUi5.d.ts +2 -1
  48. package/dist/src/specification/v4/webapp/manifest/sapUi5.js.map +1 -1
  49. package/dist/src/sync/common/decoration/control.js +34 -19
  50. package/dist/src/sync/common/decoration/control.js.map +1 -1
  51. package/dist/src/sync/common/generate/objectPage.d.ts +31 -2
  52. package/dist/src/sync/common/generate/objectPage.js +185 -20
  53. package/dist/src/sync/common/generate/objectPage.js.map +1 -1
  54. package/dist/src/sync/common/import/utils.d.ts +6 -0
  55. package/dist/src/sync/common/import/utils.js +21 -0
  56. package/dist/src/sync/common/import/utils.js.map +1 -1
  57. package/dist/src/sync/common/importProject.js +62 -60
  58. package/dist/src/sync/common/importProject.js.map +1 -1
  59. package/dist/src/sync/common/types.d.ts +5 -2
  60. package/dist/src/sync/common/types.js +4 -0
  61. package/dist/src/sync/common/types.js.map +1 -1
  62. package/dist/src/sync/common/utils.d.ts +4 -3
  63. package/dist/src/sync/common/utils.js +76 -81
  64. package/dist/src/sync/common/utils.js.map +1 -1
  65. package/dist/src/sync/v2/application.d.ts +1 -0
  66. package/dist/src/sync/v2/application.js +3 -0
  67. package/dist/src/sync/v2/application.js.map +1 -1
  68. package/dist/src/sync/v2/export/controls/Card.d.ts +0 -2
  69. package/dist/src/sync/v2/export/controls/Card.js +0 -14
  70. package/dist/src/sync/v2/export/controls/Card.js.map +1 -1
  71. package/dist/src/sync/v2/export/controls/Field.d.ts +4 -0
  72. package/dist/src/sync/v2/export/controls/{DataField.js → Field.js} +6 -6
  73. package/dist/src/sync/v2/export/controls/Field.js.map +1 -0
  74. package/dist/src/sync/v2/export/controls/FilterBar.d.ts +1 -2
  75. package/dist/src/sync/v2/export/controls/FilterBar.js +2 -4
  76. package/dist/src/sync/v2/export/controls/FilterBar.js.map +1 -1
  77. package/dist/src/sync/v2/export/controls/FormAction.d.ts +15 -0
  78. package/dist/src/sync/v2/export/controls/FormAction.js +133 -0
  79. package/dist/src/sync/v2/export/controls/FormAction.js.map +1 -0
  80. package/dist/src/sync/v2/export/controls/ObjectPageChart.d.ts +4 -1
  81. package/dist/src/sync/v2/export/controls/ObjectPageChart.js +13 -0
  82. package/dist/src/sync/v2/export/controls/ObjectPageChart.js.map +1 -1
  83. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +5 -1
  84. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js +42 -3
  85. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -1
  86. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +32 -0
  87. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +144 -0
  88. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +1 -0
  89. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +5 -4
  90. package/dist/src/sync/v2/export/controls/ObjectPageTable.js +16 -4
  91. package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -1
  92. package/dist/src/sync/v2/export/controls/Table.d.ts +12 -4
  93. package/dist/src/sync/v2/export/controls/Table.js +84 -37
  94. package/dist/src/sync/v2/export/controls/Table.js.map +1 -1
  95. package/dist/src/sync/v2/export/controls/index.d.ts +3 -1
  96. package/dist/src/sync/v2/export/controls/index.js +3 -1
  97. package/dist/src/sync/v2/export/controls/index.js.map +1 -1
  98. package/dist/src/sync/v2/export/export.js +125 -86
  99. package/dist/src/sync/v2/export/export.js.map +1 -1
  100. package/dist/src/sync/v2/generate/analyticalListReport.d.ts +3 -9
  101. package/dist/src/sync/v2/generate/analyticalListReport.js +12 -13
  102. package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
  103. package/dist/src/sync/v2/generate/generate.js +28 -6
  104. package/dist/src/sync/v2/generate/generate.js.map +1 -1
  105. package/dist/src/sync/v2/generate/listReport.d.ts +3 -10
  106. package/dist/src/sync/v2/generate/listReport.js +7 -12
  107. package/dist/src/sync/v2/generate/listReport.js.map +1 -1
  108. package/dist/src/sync/v2/generate/objectPage.d.ts +3 -10
  109. package/dist/src/sync/v2/generate/objectPage.js +199 -151
  110. package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
  111. package/dist/src/sync/v2/generate/utils.d.ts +1 -2
  112. package/dist/src/sync/v2/generate/utils.js +5 -0
  113. package/dist/src/sync/v2/generate/utils.js.map +1 -1
  114. package/dist/src/sync/v2/import/pages/objectPage.js +162 -88
  115. package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
  116. package/dist/src/sync/v2/types.d.ts +12 -0
  117. package/dist/src/sync/v2/types.js +11 -0
  118. package/dist/src/sync/v2/types.js.map +1 -1
  119. package/dist/src/sync/v4/application.js +10 -10
  120. package/dist/src/sync/v4/application.js.map +1 -1
  121. package/dist/src/sync/v4/export/export.js +156 -134
  122. package/dist/src/sync/v4/export/export.js.map +1 -1
  123. package/dist/src/sync/v4/export/manifest.js +96 -76
  124. package/dist/src/sync/v4/export/manifest.js.map +1 -1
  125. package/dist/src/sync/v4/generate/generate.js +10 -2
  126. package/dist/src/sync/v4/generate/generate.js.map +1 -1
  127. package/dist/src/sync/v4/generate/objectPage.d.ts +3 -6
  128. package/dist/src/sync/v4/generate/objectPage.js +87 -94
  129. package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
  130. package/dist/src/sync/v4/import/app/appProvider.js +108 -80
  131. package/dist/src/sync/v4/import/app/appProvider.js.map +1 -1
  132. package/dist/src/sync/v4/import/fragment.js +41 -46
  133. package/dist/src/sync/v4/import/fragment.js.map +1 -1
  134. package/dist/src/sync/v4/utils/utils.js +1 -1
  135. package/dist/src/sync/v4/utils/utils.js.map +1 -1
  136. package/package.json +4 -5
  137. package/dist/src/specification/v2/controls/DataField.js.map +0 -1
  138. package/dist/src/sync/v2/export/controls/DataField.d.ts +0 -4
  139. package/dist/src/sync/v2/export/controls/DataField.js.map +0 -1
@@ -189,10 +189,7 @@
189
189
  "type": "object",
190
190
  "properties": {
191
191
  "fields": {
192
- "type": "object",
193
- "additionalProperties": {
194
- "$ref": "#/definitions/FieldPath"
195
- },
192
+ "$ref": "#/definitions/CreationFieldKeys",
196
193
  "artifactType": "Manifest"
197
194
  }
198
195
  },
@@ -201,11 +198,18 @@
201
198
  "fields"
202
199
  ]
203
200
  },
201
+ "CreationFieldKeys": {
202
+ "type": "object",
203
+ "additionalProperties": {
204
+ "$ref": "#/definitions/FieldPath"
205
+ }
206
+ },
204
207
  "FieldPath": {
205
208
  "type": "object",
206
209
  "properties": {
207
210
  "path": {
208
- "type": "string"
211
+ "type": "string",
212
+ "artifactType": "Manifest"
209
213
  }
210
214
  },
211
215
  "additionalProperties": false,
@@ -261,7 +265,8 @@
261
265
  "properties": {
262
266
  "enableAutoBinding": {
263
267
  "description": "When set to true, this enables automatic binding of the table with either the tableBindingPath (if it exists) or the entitySet property.",
264
- "type": "boolean"
268
+ "type": "boolean",
269
+ "artifactType": "Manifest"
265
270
  },
266
271
  "variants": {
267
272
  "description": "The variants section contains a set of entries that point to SelectionVariants or SelectionPresentationVariants defined in the annotations.",
@@ -271,11 +276,13 @@
271
276
  "^[0-9]+$": {
272
277
  "$ref": "#/definitions/QuickVariantX"
273
278
  }
274
- }
279
+ },
280
+ "artifactType": "Manifest"
275
281
  },
276
282
  "showCounts": {
277
283
  "description": "To show the number of records available, set showCounts to true.",
278
- "type": "boolean"
284
+ "type": "boolean",
285
+ "artifactType": "Manifest"
279
286
  }
280
287
  },
281
288
  "additionalProperties": false,
@@ -377,11 +384,79 @@
377
384
  "isViewNode": true,
378
385
  "type": "object",
379
386
  "additionalProperties": {
380
- "type": "object",
381
- "properties": {},
382
- "additionalProperties": true
387
+ "$ref": "#/definitions/FormAction"
383
388
  }
384
389
  },
390
+ "FormAction": {
391
+ "description": "Action",
392
+ "isViewNode": true,
393
+ "type": "object",
394
+ "properties": {
395
+ "tooltip": {
396
+ "description": "Text for tooltip of button",
397
+ "type": "string",
398
+ "artifactType": "FlexChange",
399
+ "controlType": "sap.m.Button"
400
+ },
401
+ "icon": {
402
+ "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.",
403
+ "type": "string",
404
+ "artifactType": "FlexChange",
405
+ "controlType": "sap.m.Button"
406
+ },
407
+ "activeIcon": {
408
+ "description": "Alternative icon for the active (depressed) state of the button, represented as RFC 3986 conformant URI.",
409
+ "type": "string",
410
+ "artifactType": "FlexChange",
411
+ "controlType": "sap.m.Button"
412
+ },
413
+ "type": {
414
+ "$ref": "#/definitions/ButtonType",
415
+ "description": "Defines the Button type.",
416
+ "artifactType": "FlexChange",
417
+ "controlType": "sap.m.Button"
418
+ },
419
+ "visible": {
420
+ "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#? _|,<>'()[\\]\\/:=.]+}$",
421
+ "anyOf": [
422
+ {
423
+ "enum": [
424
+ false,
425
+ true,
426
+ "{ui>/editable}",
427
+ "{= !${ui>/editable}}"
428
+ ]
429
+ },
430
+ {
431
+ "type": "string"
432
+ }
433
+ ],
434
+ "description": "Whether the button should be visible on the screen.",
435
+ "artifactType": "FlexChange",
436
+ "controlType": "sap.m.Button"
437
+ }
438
+ },
439
+ "additionalProperties": false
440
+ },
441
+ "ButtonType": {
442
+ "enum": [
443
+ "Accept",
444
+ "Attention",
445
+ "Back",
446
+ "Critical",
447
+ "Default",
448
+ "Emphasized",
449
+ "Ghost",
450
+ "Negative",
451
+ "Neutral",
452
+ "Reject",
453
+ "Success",
454
+ "Transparent",
455
+ "Unstyled",
456
+ "Up"
457
+ ],
458
+ "type": "string"
459
+ },
385
460
  "GenericColumns": {
386
461
  "type": "object",
387
462
  "additionalProperties": {
@@ -188,10 +188,7 @@
188
188
  "type": "object",
189
189
  "properties": {
190
190
  "fields": {
191
- "type": "object",
192
- "additionalProperties": {
193
- "$ref": "#/definitions/FieldPath"
194
- },
191
+ "$ref": "#/definitions/CreationFieldKeys",
195
192
  "artifactType": "Manifest"
196
193
  }
197
194
  },
@@ -200,11 +197,18 @@
200
197
  "fields"
201
198
  ]
202
199
  },
200
+ "CreationFieldKeys": {
201
+ "type": "object",
202
+ "additionalProperties": {
203
+ "$ref": "#/definitions/FieldPath"
204
+ }
205
+ },
203
206
  "FieldPath": {
204
207
  "type": "object",
205
208
  "properties": {
206
209
  "path": {
207
- "type": "string"
210
+ "type": "string",
211
+ "artifactType": "Manifest"
208
212
  }
209
213
  },
210
214
  "additionalProperties": false,
@@ -260,7 +264,8 @@
260
264
  "properties": {
261
265
  "enableAutoBinding": {
262
266
  "description": "When set to true, this enables automatic binding of the table with either the tableBindingPath (if it exists) or the entitySet property.",
263
- "type": "boolean"
267
+ "type": "boolean",
268
+ "artifactType": "Manifest"
264
269
  },
265
270
  "variants": {
266
271
  "description": "The variants section contains a set of entries that point to SelectionVariants or SelectionPresentationVariants defined in the annotations.",
@@ -270,11 +275,13 @@
270
275
  "^[0-9]+$": {
271
276
  "$ref": "#/definitions/QuickVariantX"
272
277
  }
273
- }
278
+ },
279
+ "artifactType": "Manifest"
274
280
  },
275
281
  "showCounts": {
276
282
  "description": "To show the number of records available, set showCounts to true.",
277
- "type": "boolean"
283
+ "type": "boolean",
284
+ "artifactType": "Manifest"
278
285
  }
279
286
  },
280
287
  "additionalProperties": false,
@@ -376,11 +383,79 @@
376
383
  "isViewNode": true,
377
384
  "type": "object",
378
385
  "additionalProperties": {
379
- "type": "object",
380
- "properties": {},
381
- "additionalProperties": true
386
+ "$ref": "#/definitions/FormAction"
382
387
  }
383
388
  },
389
+ "FormAction": {
390
+ "description": "Action",
391
+ "isViewNode": true,
392
+ "type": "object",
393
+ "properties": {
394
+ "tooltip": {
395
+ "description": "Text for tooltip of button",
396
+ "type": "string",
397
+ "artifactType": "FlexChange",
398
+ "controlType": "sap.m.Button"
399
+ },
400
+ "icon": {
401
+ "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.",
402
+ "type": "string",
403
+ "artifactType": "FlexChange",
404
+ "controlType": "sap.m.Button"
405
+ },
406
+ "activeIcon": {
407
+ "description": "Alternative icon for the active (depressed) state of the button, represented as RFC 3986 conformant URI.",
408
+ "type": "string",
409
+ "artifactType": "FlexChange",
410
+ "controlType": "sap.m.Button"
411
+ },
412
+ "type": {
413
+ "$ref": "#/definitions/ButtonType",
414
+ "description": "Defines the Button type.",
415
+ "artifactType": "FlexChange",
416
+ "controlType": "sap.m.Button"
417
+ },
418
+ "visible": {
419
+ "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#? _|,<>'()[\\]\\/:=.]+}$",
420
+ "anyOf": [
421
+ {
422
+ "enum": [
423
+ false,
424
+ true,
425
+ "{ui>/editable}",
426
+ "{= !${ui>/editable}}"
427
+ ]
428
+ },
429
+ {
430
+ "type": "string"
431
+ }
432
+ ],
433
+ "description": "Whether the button should be visible on the screen.",
434
+ "artifactType": "FlexChange",
435
+ "controlType": "sap.m.Button"
436
+ }
437
+ },
438
+ "additionalProperties": false
439
+ },
440
+ "ButtonType": {
441
+ "enum": [
442
+ "Accept",
443
+ "Attention",
444
+ "Back",
445
+ "Critical",
446
+ "Default",
447
+ "Emphasized",
448
+ "Ghost",
449
+ "Negative",
450
+ "Neutral",
451
+ "Reject",
452
+ "Success",
453
+ "Transparent",
454
+ "Unstyled",
455
+ "Up"
456
+ ],
457
+ "type": "string"
458
+ },
384
459
  "GenericColumns": {
385
460
  "type": "object",
386
461
  "additionalProperties": {