@sap/ux-specification 1.96.48 → 1.96.49

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 (112) hide show
  1. package/CHANGELOG.md +38 -11
  2. package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
  3. package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
  4. package/dist/documentation/v2/v2-ListReport.html +2 -2
  5. package/dist/documentation/v2/v2-ObjectPage.html +2 -2
  6. package/dist/documentation/v2/v2-OverviewPage.html +2 -2
  7. package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
  8. package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
  9. package/dist/documentation/v4/v4-FreestylePage.html +2 -2
  10. package/dist/documentation/v4/v4-ListReport.html +2 -2
  11. package/dist/documentation/v4/v4-ObjectPage.html +2 -2
  12. package/dist/index-min.js +137 -137
  13. package/dist/index-min.js.map +4 -4
  14. package/dist/package.json +7 -7
  15. package/dist/schemas/v2/AnalyticalListPageConfig.json +38 -0
  16. package/dist/schemas/v2/ListReportConfig.json +575 -537
  17. package/dist/schemas/v2/ObjectPageConfig.json +72 -4
  18. package/dist/schemas/v4/ListReportConfig.json +77 -5
  19. package/dist/schemas/v4/ObjectPageConfig.json +148 -23
  20. package/dist/src/api.d.ts.map +1 -1
  21. package/dist/src/api.js +6 -3
  22. package/dist/src/api.js.map +1 -1
  23. package/dist/src/sync/common/generate/objectPage.d.ts +4 -3
  24. package/dist/src/sync/common/generate/objectPage.d.ts.map +1 -1
  25. package/dist/src/sync/common/generate/objectPage.js +99 -68
  26. package/dist/src/sync/common/generate/objectPage.js.map +1 -1
  27. package/dist/src/sync/common/generate/utils.d.ts.map +1 -1
  28. package/dist/src/sync/common/generate/utils.js +6 -4
  29. package/dist/src/sync/common/generate/utils.js.map +1 -1
  30. package/dist/src/sync/common/importProject.d.ts.map +1 -1
  31. package/dist/src/sync/common/importProject.js +1 -1
  32. package/dist/src/sync/common/importProject.js.map +1 -1
  33. package/dist/src/sync/common/utils.d.ts +9 -1
  34. package/dist/src/sync/common/utils.d.ts.map +1 -1
  35. package/dist/src/sync/common/utils.js +68 -19
  36. package/dist/src/sync/common/utils.js.map +1 -1
  37. package/dist/src/sync/v2/export/controls/Action.d.ts +21 -0
  38. package/dist/src/sync/v2/export/controls/Action.d.ts.map +1 -1
  39. package/dist/src/sync/v2/export/controls/Action.js +93 -1
  40. package/dist/src/sync/v2/export/controls/Action.js.map +1 -1
  41. package/dist/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -1
  42. package/dist/src/sync/v2/generate/analyticalListReport.js +2 -0
  43. package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
  44. package/dist/src/sync/v2/generate/listReport.d.ts.map +1 -1
  45. package/dist/src/sync/v2/generate/listReport.js +5 -2
  46. package/dist/src/sync/v2/generate/listReport.js.map +1 -1
  47. package/dist/src/sync/v2/generate/objectPage.d.ts.map +1 -1
  48. package/dist/src/sync/v2/generate/objectPage.js +62 -63
  49. package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
  50. package/dist/src/sync/v2/generate/utils.d.ts +20 -0
  51. package/dist/src/sync/v2/generate/utils.d.ts.map +1 -1
  52. package/dist/src/sync/v2/generate/utils.js +59 -2
  53. package/dist/src/sync/v2/generate/utils.js.map +1 -1
  54. package/dist/src/sync/v2/import/common/index.d.ts +9 -0
  55. package/dist/src/sync/v2/import/common/index.d.ts.map +1 -1
  56. package/dist/src/sync/v2/import/common/index.js +39 -13
  57. package/dist/src/sync/v2/import/common/index.js.map +1 -1
  58. package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -1
  59. package/dist/src/sync/v2/import/pages/analyticalListPage.js +3 -3
  60. package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
  61. package/dist/src/sync/v2/import/pages/listReport.d.ts.map +1 -1
  62. package/dist/src/sync/v2/import/pages/listReport.js +4 -5
  63. package/dist/src/sync/v2/import/pages/listReport.js.map +1 -1
  64. package/dist/src/sync/v2/import/pages/objectPage.d.ts.map +1 -1
  65. package/dist/src/sync/v2/import/pages/objectPage.js +80 -32
  66. package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
  67. package/dist/src/sync/v2/types.d.ts +6 -1
  68. package/dist/src/sync/v2/types.d.ts.map +1 -1
  69. package/dist/src/sync/v2/types.js +6 -1
  70. package/dist/src/sync/v2/types.js.map +1 -1
  71. package/dist/src/sync/v4/application.d.ts +10 -0
  72. package/dist/src/sync/v4/application.d.ts.map +1 -1
  73. package/dist/src/sync/v4/application.js +21 -1
  74. package/dist/src/sync/v4/application.js.map +1 -1
  75. package/dist/src/sync/v4/export/controls/FilterBar.d.ts +11 -0
  76. package/dist/src/sync/v4/export/controls/FilterBar.d.ts.map +1 -1
  77. package/dist/src/sync/v4/export/controls/FilterBar.js +77 -1
  78. package/dist/src/sync/v4/export/controls/FilterBar.js.map +1 -1
  79. package/dist/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.d.ts +18 -0
  80. package/dist/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.d.ts.map +1 -0
  81. package/dist/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.js +158 -0
  82. package/dist/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.js.map +1 -0
  83. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +3 -2
  84. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts.map +1 -1
  85. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +1 -1
  86. package/dist/src/sync/v4/export/controls/index.d.ts +1 -0
  87. package/dist/src/sync/v4/export/controls/index.d.ts.map +1 -1
  88. package/dist/src/sync/v4/export/controls/index.js +1 -0
  89. package/dist/src/sync/v4/export/controls/index.js.map +1 -1
  90. package/dist/src/sync/v4/export/export.d.ts.map +1 -1
  91. package/dist/src/sync/v4/export/export.js +33 -34
  92. package/dist/src/sync/v4/export/export.js.map +1 -1
  93. package/dist/src/sync/v4/generate/fpm-custom-page/annotations.js +4 -4
  94. package/dist/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -1
  95. package/dist/src/sync/v4/generate/listReport.d.ts +1 -1
  96. package/dist/src/sync/v4/generate/listReport.d.ts.map +1 -1
  97. package/dist/src/sync/v4/generate/listReport.js +72 -46
  98. package/dist/src/sync/v4/generate/listReport.js.map +1 -1
  99. package/dist/src/sync/v4/generate/objectPage.d.ts.map +1 -1
  100. package/dist/src/sync/v4/generate/objectPage.js +45 -27
  101. package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
  102. package/dist/src/sync/v4/import/pages/listReport.d.ts.map +1 -1
  103. package/dist/src/sync/v4/import/pages/listReport.js +36 -0
  104. package/dist/src/sync/v4/import/pages/listReport.js.map +1 -1
  105. package/dist/src/sync/v4/import/pages/objectPage.d.ts.map +1 -1
  106. package/dist/src/sync/v4/import/pages/objectPage.js +32 -0
  107. package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
  108. package/dist/src/sync/v4/utils/utils.d.ts +14 -6
  109. package/dist/src/sync/v4/utils/utils.d.ts.map +1 -1
  110. package/dist/src/sync/v4/utils/utils.js +64 -11
  111. package/dist/src/sync/v4/utils/utils.js.map +1 -1
  112. package/package.json +7 -7
@@ -120,6 +120,14 @@
120
120
  "type": "object",
121
121
  "additionalProperties": {
122
122
  "$ref": "#/definitions/ObjectPageHeaderAction"
123
+ },
124
+ "properties": {
125
+ "UpAndDownNavigation": {
126
+ "$ref": "#/definitions/UpAndDownNavigationOP"
127
+ },
128
+ "Share": {
129
+ "$ref": "#/definitions/ShareOP"
130
+ }
123
131
  }
124
132
  },
125
133
  "ObjectPageHeaderAction": {
@@ -142,7 +150,7 @@
142
150
  "type": "string"
143
151
  }
144
152
  ],
145
- "description": "Allows you to define if the action button should be visible on the screen.",
153
+ "description": "Allows you to define if the action button is visible on the screen.",
146
154
  "artifactType": "FlexChange",
147
155
  "controlType": "sap.uxap.ObjectPageHeaderActionButton"
148
156
  },
@@ -194,6 +202,34 @@
194
202
  ],
195
203
  "type": "string"
196
204
  },
205
+ "UpAndDownNavigationOP": {
206
+ "description": "Up and Down Navigation",
207
+ "isViewNode": true,
208
+ "type": "object",
209
+ "properties": {
210
+ "visible": {
211
+ "description": "Allows you to define if the button is visible on the screen.",
212
+ "type": "boolean",
213
+ "artifactType": "FlexChange",
214
+ "controlType": "sap.m.Button"
215
+ }
216
+ },
217
+ "additionalProperties": false
218
+ },
219
+ "ShareOP": {
220
+ "description": "Share",
221
+ "isViewNode": true,
222
+ "type": "object",
223
+ "properties": {
224
+ "visible": {
225
+ "description": "Allows you to define if the button is visible on the screen.",
226
+ "type": "boolean",
227
+ "artifactType": "FlexChange",
228
+ "controlType": "sap.m.Button"
229
+ }
230
+ },
231
+ "additionalProperties": false
232
+ },
197
233
  "ObjectPageLayout": {
198
234
  "description": "Page Layout",
199
235
  "isViewNode": true,
@@ -397,7 +433,7 @@
397
433
  "type": "string"
398
434
  }
399
435
  ],
400
- "description": "Allows you to define if the action button should be visible on the screen.",
436
+ "description": "Allows you to define if the action button is visible on the screen.",
401
437
  "artifactType": "FlexChange",
402
438
  "controlType": "sap.m.Button"
403
439
  },
@@ -700,7 +736,7 @@
700
736
  "type": "string"
701
737
  }
702
738
  ],
703
- "description": "Allows you to define if the action button should be visible on the screen.",
739
+ "description": "Allows you to define if the action button is visible on the screen.",
704
740
  "artifactType": "FlexChange",
705
741
  "controlType": "sap.m.Button"
706
742
  },
@@ -1642,6 +1678,11 @@
1642
1678
  "type": "object",
1643
1679
  "additionalProperties": {
1644
1680
  "$ref": "#/definitions/ObjectPageFooterAction"
1681
+ },
1682
+ "properties": {
1683
+ "SaveAndEdit": {
1684
+ "$ref": "#/definitions/SaveAndEditOP"
1685
+ }
1645
1686
  }
1646
1687
  },
1647
1688
  "ObjectPageFooterAction": {
@@ -1664,7 +1705,7 @@
1664
1705
  "type": "string"
1665
1706
  }
1666
1707
  ],
1667
- "description": "Allows you to define if the action button should be visible on the screen.",
1708
+ "description": "Allows you to define if the action button is visible on the screen.",
1668
1709
  "artifactType": "FlexChange",
1669
1710
  "controlType": "sap.m.Button"
1670
1711
  },
@@ -1695,6 +1736,33 @@
1695
1736
  }
1696
1737
  },
1697
1738
  "additionalProperties": false
1739
+ },
1740
+ "SaveAndEditOP": {
1741
+ "description": "Save and Edit",
1742
+ "isViewNode": true,
1743
+ "type": "object",
1744
+ "properties": {
1745
+ "visible": {
1746
+ "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
1747
+ "anyOf": [
1748
+ {
1749
+ "enum": [
1750
+ false,
1751
+ true,
1752
+ "{ui>/editable}",
1753
+ "{= !${ui>/editable}}"
1754
+ ]
1755
+ },
1756
+ {
1757
+ "type": "string"
1758
+ }
1759
+ ],
1760
+ "description": "Allows you to define if the button is visible on the screen.",
1761
+ "artifactType": "FlexChange",
1762
+ "controlType": "sap.m.Button"
1763
+ }
1764
+ },
1765
+ "additionalProperties": false
1698
1766
  }
1699
1767
  },
1700
1768
  "$schema": "http://json-schema.org/draft-07/schema#"
@@ -103,7 +103,7 @@
103
103
  "type": "string"
104
104
  }
105
105
  ],
106
- "description": "Allows you to define if the action button should be visible on the screen.",
106
+ "description": "Allows you to define if the action button is visible on the screen.",
107
107
  "artifactType": "Manifest"
108
108
  },
109
109
  "enabled": {
@@ -192,10 +192,82 @@
192
192
  "isViewNode": true,
193
193
  "type": "object",
194
194
  "additionalProperties": {
195
- "type": "object",
196
- "properties": {}
195
+ "anyOf": [
196
+ {
197
+ "type": "object",
198
+ "properties": {}
199
+ },
200
+ {
201
+ "$ref": "#/definitions/CustomFilterField"
202
+ }
203
+ ]
197
204
  }
198
205
  },
206
+ "CustomFilterField": {
207
+ "description": "Custom Filter Field",
208
+ "isViewNode": true,
209
+ "type": "object",
210
+ "properties": {
211
+ "label": {
212
+ "description": "A static or i18n binding string.",
213
+ "i18nClassification": "COL: Custom filter field label",
214
+ "type": "string",
215
+ "artifactType": "Manifest"
216
+ },
217
+ "property": {
218
+ "description": "The full path to the property to be filtered.",
219
+ "type": "string",
220
+ "artifactType": "Manifest"
221
+ },
222
+ "template": {
223
+ "description": "The path to the XML template containing the filter control.",
224
+ "type": "string",
225
+ "artifactType": "Manifest"
226
+ },
227
+ "required": {
228
+ "description": "If filter field is mandatory, i.e. it requires a value.",
229
+ "type": "boolean",
230
+ "artifactType": "Manifest"
231
+ },
232
+ "position": {
233
+ "$ref": "#/definitions/CustomFilterFieldPosition",
234
+ "description": "Defines the position of the filter field relative to another filter field.",
235
+ "artifactType": "Manifest"
236
+ }
237
+ },
238
+ "additionalProperties": false,
239
+ "required": [
240
+ "label",
241
+ "property",
242
+ "template"
243
+ ]
244
+ },
245
+ "CustomFilterFieldPosition": {
246
+ "type": "object",
247
+ "properties": {
248
+ "anchor": {
249
+ "description": "The key of another filter field is to be used as a placement anchor.",
250
+ "type": "string",
251
+ "artifactType": "Manifest"
252
+ },
253
+ "placement": {
254
+ "$ref": "#/definitions/FilterFieldPlacement",
255
+ "description": "Define the placement, either before or after the anchor filter field.",
256
+ "artifactType": "Manifest"
257
+ }
258
+ },
259
+ "additionalProperties": false,
260
+ "required": [
261
+ "placement"
262
+ ]
263
+ },
264
+ "FilterFieldPlacement": {
265
+ "enum": [
266
+ "After",
267
+ "Before"
268
+ ],
269
+ "type": "string"
270
+ },
199
271
  "CompactFilters": {
200
272
  "description": "Compact Filters",
201
273
  "isViewNode": true,
@@ -384,7 +456,7 @@
384
456
  "type": "string"
385
457
  }
386
458
  ],
387
- "description": "Allows you to define if the action button should be visible on the screen.",
459
+ "description": "Allows you to define if the action button is visible on the screen.",
388
460
  "artifactType": "Manifest"
389
461
  },
390
462
  "enabled": {
@@ -602,7 +674,7 @@
602
674
  "type": "string"
603
675
  }
604
676
  ],
605
- "description": "Allows you to define if the action button should be visible on the screen.",
677
+ "description": "Allows you to define if the action button is visible on the screen.",
606
678
  "artifactType": "Manifest"
607
679
  },
608
680
  "enabled": {
@@ -112,7 +112,7 @@
112
112
  "type": "string"
113
113
  }
114
114
  ],
115
- "description": "Allows you to define if the action button should be visible on the screen.",
115
+ "description": "Allows you to define if the action button is visible on the screen.",
116
116
  "artifactType": "Manifest"
117
117
  },
118
118
  "enabled": {
@@ -211,6 +211,9 @@
211
211
  },
212
212
  {
213
213
  "$ref": "#/definitions/ObjectPageHeaderSectionAddress"
214
+ },
215
+ {
216
+ "$ref": "#/definitions/ObjectPageCustomHeaderSectionFragment"
214
217
  }
215
218
  ]
216
219
  }
@@ -225,6 +228,7 @@
225
228
  },
226
229
  "flexSettings": {
227
230
  "$ref": "#/definitions/FlexSettings",
231
+ "description": "Defines the key user adaptation behavior of the header facet.",
228
232
  "artifactType": "Manifest"
229
233
  }
230
234
  },
@@ -234,15 +238,23 @@
234
238
  "type": "object",
235
239
  "properties": {
236
240
  "designtime": {
241
+ "$ref": "#/definitions/DesignTime",
237
242
  "description": "Allows you to define which settings are available for key user adaptation at design time.",
238
- "descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/ccd45ba3f0b446a0901b2c9d42b8ad53.html https://ui5.sap.com/sdk/#/topic/de9fd55c69af4b46863f5d26b5d796c4.html",
239
- "type": "string",
240
- "const": "not-adaptable-visibility",
241
243
  "artifactType": "Manifest"
242
244
  }
243
245
  },
244
246
  "additionalProperties": false
245
247
  },
248
+ "DesignTime": {
249
+ "enum": [
250
+ "Default",
251
+ "not-adaptable",
252
+ "not-adaptable-tree",
253
+ "not-adaptable-visibility",
254
+ "not-removable"
255
+ ],
256
+ "type": "string"
257
+ },
246
258
  "ObjectPageHeaderSectionForm": {
247
259
  "type": "object",
248
260
  "properties": {
@@ -260,6 +272,7 @@
260
272
  },
261
273
  "flexSettings": {
262
274
  "$ref": "#/definitions/FlexSettings",
275
+ "description": "Defines the key user adaptation behavior of the header facet.",
263
276
  "artifactType": "Manifest"
264
277
  }
265
278
  },
@@ -282,6 +295,7 @@
282
295
  },
283
296
  "flexSettings": {
284
297
  "$ref": "#/definitions/FlexSettings",
298
+ "description": "Defines the key user adaptation behavior of the header facet.",
285
299
  "artifactType": "Manifest"
286
300
  }
287
301
  },
@@ -304,11 +318,116 @@
304
318
  },
305
319
  "flexSettings": {
306
320
  "$ref": "#/definitions/FlexSettings",
321
+ "description": "Defines the key user adaptation behavior of the header facet.",
322
+ "artifactType": "Manifest"
323
+ }
324
+ },
325
+ "additionalProperties": false
326
+ },
327
+ "ObjectPageCustomHeaderSectionFragment": {
328
+ "description": "Custom Section fragment",
329
+ "isViewNode": true,
330
+ "type": "object",
331
+ "properties": {
332
+ "subTitle": {
333
+ "description": "Subtitle of header section.",
334
+ "i18nClassification": "TIT: Custom header section subtitle",
335
+ "type": "string",
336
+ "artifactType": "Manifest"
337
+ },
338
+ "templateEdit": {
339
+ "description": "The fragment for the editable version of the header facet.",
340
+ "type": "string",
341
+ "artifactType": "Manifest"
342
+ },
343
+ "requestGroupId": {
344
+ "$ref": "#/definitions/RequestGroupId",
345
+ "description": "Defines the Loading Behavior of Object Page Headers.",
346
+ "artifactType": "Manifest"
347
+ },
348
+ "flexSettings": {
349
+ "$ref": "#/definitions/ObjectPageCustomHeaderSectionFlexSettings",
350
+ "description": "Defines the key user adaptation behavior of the header facet.",
351
+ "artifactType": "Manifest"
352
+ },
353
+ "visible": {
354
+ "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
355
+ "anyOf": [
356
+ {
357
+ "enum": [
358
+ false,
359
+ true,
360
+ "{= ${ui>/editMode} === 'Editable'}",
361
+ "{= ${ui>/editMode} !== 'Editable'}"
362
+ ]
363
+ },
364
+ {
365
+ "type": "string"
366
+ }
367
+ ],
368
+ "description": "Defines if the header facet is displayed in the header area.",
369
+ "artifactType": "Manifest"
370
+ },
371
+ "title": {
372
+ "description": "The label of a custom section, preferably as an i18n key.",
373
+ "artifactType": "Manifest",
374
+ "i18nClassification": "TIT: Custom section title",
375
+ "type": "string"
376
+ },
377
+ "fragmentName": {
378
+ "description": "The path to the XML template containing the section control.",
379
+ "artifactType": "Manifest",
380
+ "type": "string"
381
+ },
382
+ "relatedFacet": {
383
+ "description": "Use the key of another facet/section as a placement anchor.",
384
+ "artifactType": "Manifest",
385
+ "type": "string"
386
+ },
387
+ "relativePosition": {
388
+ "$ref": "#/definitions/SectionPosition",
389
+ "description": "Define the placement, either before or after the anchor facet/section.",
390
+ "artifactType": "Manifest"
391
+ },
392
+ "stashed": {
393
+ "description": "Header facets marked as stashed are initially not visible on the UI. Key users can add these header facets via key user adaptation.",
394
+ "type": "boolean",
395
+ "artifactType": "Manifest"
396
+ }
397
+ },
398
+ "additionalProperties": false,
399
+ "required": [
400
+ "fragmentName",
401
+ "title"
402
+ ]
403
+ },
404
+ "RequestGroupId": {
405
+ "enum": [
406
+ "Decoration",
407
+ "Heroes",
408
+ "LongRunners",
409
+ "Workers"
410
+ ],
411
+ "type": "string"
412
+ },
413
+ "ObjectPageCustomHeaderSectionFlexSettings": {
414
+ "type": "object",
415
+ "properties": {
416
+ "designtime": {
417
+ "$ref": "#/definitions/DesignTime",
418
+ "description": "Allows you to define which settings are available for key user adaptation at design time.",
307
419
  "artifactType": "Manifest"
308
420
  }
309
421
  },
310
422
  "additionalProperties": false
311
423
  },
424
+ "SectionPosition": {
425
+ "enum": [
426
+ "After",
427
+ "Before"
428
+ ],
429
+ "type": "string"
430
+ },
312
431
  "ObjectPageLayout": {
313
432
  "description": "Page Layout",
314
433
  "isViewNode": true,
@@ -535,7 +654,7 @@
535
654
  "type": "string"
536
655
  }
537
656
  ],
538
- "description": "Allows you to define if the action button should be visible on the screen.",
657
+ "description": "Allows you to define if the action button is visible on the screen.",
539
658
  "artifactType": "Manifest"
540
659
  },
541
660
  "enabled": {
@@ -907,7 +1026,7 @@
907
1026
  "type": "string"
908
1027
  }
909
1028
  ],
910
- "description": "Allows you to define if the action button should be visible on the screen.",
1029
+ "description": "Allows you to define if the action button is visible on the screen.",
911
1030
  "artifactType": "Manifest"
912
1031
  },
913
1032
  "enabled": {
@@ -1087,21 +1206,24 @@
1087
1206
  "type": "object",
1088
1207
  "properties": {
1089
1208
  "title": {
1090
- "description": "The label of the custom section, preferrable as an i18n key",
1209
+ "description": "The label of a custom section, preferably as an i18n key.",
1210
+ "artifactType": "Manifest",
1091
1211
  "i18nClassification": "TIT: Custom section title",
1092
- "type": "string",
1093
- "artifactType": "Manifest"
1212
+ "type": "string"
1094
1213
  },
1095
1214
  "fragmentName": {
1096
- "type": "string",
1097
- "artifactType": "Manifest"
1215
+ "description": "The path to the XML template containing the section control.",
1216
+ "artifactType": "Manifest",
1217
+ "type": "string"
1098
1218
  },
1099
1219
  "relatedFacet": {
1100
- "type": "string",
1101
- "artifactType": "Manifest"
1220
+ "description": "Use the key of another facet/section as a placement anchor.",
1221
+ "artifactType": "Manifest",
1222
+ "type": "string"
1102
1223
  },
1103
1224
  "relativePosition": {
1104
1225
  "$ref": "#/definitions/SectionPosition",
1226
+ "description": "Define the placement, either before or after the anchor facet/section.",
1105
1227
  "artifactType": "Manifest"
1106
1228
  }
1107
1229
  },
@@ -1111,13 +1233,6 @@
1111
1233
  "title"
1112
1234
  ]
1113
1235
  },
1114
- "SectionPosition": {
1115
- "enum": [
1116
- "After",
1117
- "Before"
1118
- ],
1119
- "type": "string"
1120
- },
1121
1236
  "CustomSections": {
1122
1237
  "description": "Custom Sections",
1123
1238
  "isViewNode": true,
@@ -1140,27 +1255,37 @@
1140
1255
  "type": "object",
1141
1256
  "properties": {
1142
1257
  "className": {
1258
+ "hidden": true,
1143
1259
  "type": "string",
1144
1260
  "const": "sap.ui.core.Fragment"
1145
1261
  },
1146
1262
  "fragmentName": {
1263
+ "description": "The path to the XML template containing the section control.",
1264
+ "artifactType": "Manifest",
1147
1265
  "type": "string"
1148
1266
  },
1149
1267
  "relatedFacet": {
1268
+ "description": "Use the key of another facet/section as a placement anchor.",
1269
+ "artifactType": "Manifest",
1150
1270
  "type": "string"
1151
1271
  },
1152
1272
  "relativePosition": {
1153
- "$ref": "#/definitions/SectionPosition"
1273
+ "$ref": "#/definitions/SectionPosition",
1274
+ "description": "Define the placement, either before or after the anchor facet/section."
1154
1275
  },
1155
1276
  "id": {
1277
+ "description": "The unique ID of a section.",
1278
+ "artifactType": "Manifest",
1156
1279
  "type": "string"
1157
1280
  },
1158
1281
  "type": {
1282
+ "hidden": true,
1159
1283
  "type": "string",
1160
1284
  "const": "XML"
1161
1285
  },
1162
1286
  "title": {
1163
- "description": "The label of the custom section, preferrable as an i18n key",
1287
+ "description": "The label of a custom section, preferably as an i18n key.",
1288
+ "artifactType": "Manifest",
1164
1289
  "i18nClassification": "TIT: Custom section title",
1165
1290
  "type": "string"
1166
1291
  }
@@ -1232,7 +1357,7 @@
1232
1357
  "type": "string"
1233
1358
  }
1234
1359
  ],
1235
- "description": "Allows you to define if the action button should be visible on the screen.",
1360
+ "description": "Allows you to define if the action button is visible on the screen.",
1236
1361
  "artifactType": "Manifest"
1237
1362
  },
1238
1363
  "enabled": {
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAER,aAAa,EACb,IAAI,EACJ,wBAAwB,EACxB,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,UAAU,EAEV,6BAA6B,EAChC,MAAM,6BAA6B,CAAC;AA2BrC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAwB5C;;;;;GAKG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE;;;GAGG;AACH,wBAAgB,cAAc,CAAC,kBAAkB,EAAE,wBAAwB,GAAG,MAAM,CA2GnF;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,gBAAgB,EAAE,sBAAsB,GAAG,aAAa,CAiBpF;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,gBAAgB,EAAE,sBAAsB,GAAG,MAAM,GAAG,SAAS,CAgC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CAK1C;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,qBAAqB,EAAE,6BAA6B,GAAG,MAAM,GAAG,SAAS,CAYhH"}
package/dist/src/api.js CHANGED
@@ -20,7 +20,10 @@ const FPMWriterMap = new Map([
20
20
  [ux_specification_types_1.CustomExtensionType.ObjectPage, fe_fpm_writer_1.generateObjectPage],
21
21
  [ux_specification_types_1.CustomExtensionType.CustomAction, fe_fpm_writer_1.generateCustomAction],
22
22
  [ux_specification_types_1.CustomExtensionType.CustomView, fe_fpm_writer_1.generateCustomView],
23
- [ux_specification_types_1.CustomExtensionType.ControllerExtension, fe_fpm_writer_1.generateControllerExtension]
23
+ [ux_specification_types_1.CustomExtensionType.ControllerExtension, fe_fpm_writer_1.generateControllerExtension],
24
+ [ux_specification_types_1.CustomExtensionType.CustomSubSection, fe_fpm_writer_1.generateCustomSubSection],
25
+ [ux_specification_types_1.CustomExtensionType.CustomFilterField, fe_fpm_writer_1.generateCustomFilter],
26
+ [ux_specification_types_1.CustomExtensionType.CustomHeaderSection, fe_fpm_writer_1.generateCustomHeaderSection]
24
27
  ]);
25
28
  /**
26
29
  * Return the generic (project independent) JSON schema
@@ -181,8 +184,8 @@ exports.importProjectSchema = importProjectSchema;
181
184
  */
182
185
  function getApiVersion() {
183
186
  return {
184
- version: '9',
185
- fpmWriter: '7'
187
+ version: '11',
188
+ fpmWriter: '9'
186
189
  };
187
190
  }
188
191
  exports.getApiVersion = getApiVersion;
@@ -1 +1 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/api.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,wEAAkH;AAalH,iDAK4B;AAC5B,iDAK4B;AAC5B,4DAA2D;AAC3D,6CAK0B;AAC1B,oDAAuD;AACvD,6CAI0B;AAC1B,0CAA6G;AAE7G,yDAS+B;AAE/B,MAAM,YAAY,GAAG,IAAI,GAAG,CACxB;IACI,CAAC,4CAAmB,CAAC,UAAU,EAAE,kCAAkB,CAAC;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,MAAM,CAAC;AAClB,CAAC;AAhCD,oCAgCC;AAED;;;;GAIG;AACI,KAAK,UAAU,aAAa,CAAC,gBAAyC;IACzE,OAAO,IAAA,qCAA4B,EAAC,gBAAgB,CAAC,CAAC;AAC1D,CAAC;AAFD,sCAEC;AAED;;;;GAIG;AACI,KAAK,UAAU,mBAAmB,CAAC,gBAAyC;IAC/E,OAAO,IAAA,4BAAuB,EAAC,gBAAgB,CAAC,CAAC;AACrD,CAAC;AAFD,kDAEC;AAED;;;GAGG;AACH,SAAgB,aAAa;IACzB,OAAO;QACH,OAAO,EAAE,IAAI;QACb,SAAS,EAAE,GAAG;KACjB,CAAC;AACN,CAAC;AALD,sCAKC;AAED;;;;;GAKG;AACH,SAAgB,uBAAuB,CAAC,qBAAoD;IACxF,MAAM,iBAAiB,GAAG,YAAY,CAAC,GAAG,CAAC,qBAAqB,CAAC,eAAe,CAAC,CAAC;IAClF,IAAI,iBAAiB,IAAI,OAAO,iBAAiB,KAAK,UAAU,EAAE;QAC9D,IAAA,yBAAS,EAAC,qBAAqB,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;QAC9C,OAAO,iBAAiB,CACpB,qBAAqB,CAAC,QAAQ,EAC9B,qBAAqB,CAAC,IAAI,EAC1B,qBAAqB,CAAC,QAAQ,CACjC,CAAC;KACL;SAAM;QACH,OAAO;KACV;AACL,CAAC;AAZD,0DAYC"}
@@ -1,6 +1,6 @@
1
1
  import type { ConvertedMetadata, EntitySet, EntityType } from '@sap-ux/vocabularies-types';
2
2
  import type { FacetConfig, GenerateAppSchemaParameters } from '@sap/ux-specification-types';
3
- import { FioriElementsVersion, SectionType } from '@sap/ux-specification-types';
3
+ import { FioriElementsVersion, SectionType, v2 } from '@sap/ux-specification-types';
4
4
  import type { Definition } from 'typescript-json-schema';
5
5
  /**
6
6
  * Adds definitions for forms in object page sections to the app schema
@@ -38,8 +38,9 @@ export declare function getActionNameAndId(item: any, oDataServiceAVT: Converted
38
38
  * @param {GenerateAppSchemaParameters} generateParameters - Schema parameters
39
39
  * @param {FioriElementsVersion} version - Fiori elements versions
40
40
  * @param {function} addFooterActionCallBack - Callback function, either V2 or V4
41
+ * @param {SapUiAppPagesV2} pages - pages found in manifest
41
42
  */
42
- export declare function addFooterActions(appSchema: Definition, generateParameters: GenerateAppSchemaParameters, version: FioriElementsVersion, addFooterActionCallBack: any): void;
43
+ export declare function addFooterActions(appSchema: Definition, generateParameters: GenerateAppSchemaParameters, version: FioriElementsVersion, addFooterActionCallBack: any, pages?: v2.SapUiAppPagesV2): void;
43
44
  /**
44
45
  * Add Object Page Header Action Buttons to app-specific schema
45
46
  * @param {object} appSchema Schema of the app
@@ -47,7 +48,7 @@ export declare function addFooterActions(appSchema: Definition, generateParamete
47
48
  * @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
48
49
  * @param {function} addHeaderActionCallBack - Callback function, either V2 or V4
49
50
  */
50
- export declare function addHeaderActions(appSchema: Definition, entityType: EntityType, oDataServiceAVT: ConvertedMetadata, addHeaderActionCallBack: any): void;
51
+ export declare function addHeaderActions(appSchema: Definition, entityType: EntityType, oDataServiceAVT: ConvertedMetadata, addHeaderActionCallBack: any, isV2?: boolean): void;
51
52
  /**
52
53
  * Adds common Object Page Header definitions to the app schema
53
54
  * @param appSchema - app-specific JSOn schema
@@ -1 +1 @@
1
- {"version":3,"file":"objectPage.d.ts","sourceRoot":"","sources":["../../../../../src/sync/common/generate/objectPage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAI3F,OAAO,KAAK,EAAE,WAAW,EAAE,2BAA2B,EAAoB,MAAM,6BAA6B,CAAC;AAE9G,OAAO,EAGH,oBAAoB,EAGpB,WAAW,EAEd,MAAM,6BAA6B,CAAC;AAUrC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAgazD;;;;;;;;;GASG;AACH,wB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