@sap/ux-specification 1.108.15 → 1.108.16
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 +37 -10
- package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
- package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
- package/dist/documentation/v2/v2-ListReport.html +2 -2
- package/dist/documentation/v2/v2-ObjectPage.html +2 -2
- package/dist/documentation/v2/v2-OverviewPage.html +2 -2
- package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
- package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
- package/dist/documentation/v4/v4-FreestylePage.html +2 -2
- package/dist/documentation/v4/v4-ListReport.html +2 -2
- package/dist/documentation/v4/v4-ObjectPage.html +2 -2
- package/dist/index-min.js +138 -138
- package/dist/index-min.js.map +4 -4
- package/dist/package.json +7 -7
- package/dist/schemas/v2/AnalyticalListPageConfig.json +38 -0
- package/dist/schemas/v2/ListReportConfig.json +574 -536
- package/dist/schemas/v2/ObjectPageConfig.json +72 -4
- package/dist/schemas/v4/ListReportConfig.json +77 -5
- package/dist/schemas/v4/ObjectPageConfig.json +148 -23
- package/dist/src/api.d.ts.map +1 -1
- package/dist/src/api.js +6 -3
- package/dist/src/api.js.map +1 -1
- package/dist/src/sync/common/generate/objectPage.d.ts +4 -3
- package/dist/src/sync/common/generate/objectPage.d.ts.map +1 -1
- package/dist/src/sync/common/generate/objectPage.js +99 -68
- package/dist/src/sync/common/generate/objectPage.js.map +1 -1
- package/dist/src/sync/common/generate/utils.d.ts.map +1 -1
- package/dist/src/sync/common/generate/utils.js +6 -4
- package/dist/src/sync/common/generate/utils.js.map +1 -1
- package/dist/src/sync/common/importProject.d.ts.map +1 -1
- package/dist/src/sync/common/importProject.js +1 -1
- package/dist/src/sync/common/importProject.js.map +1 -1
- package/dist/src/sync/common/utils.d.ts +9 -1
- package/dist/src/sync/common/utils.d.ts.map +1 -1
- package/dist/src/sync/common/utils.js +68 -19
- package/dist/src/sync/common/utils.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Action.d.ts +21 -0
- package/dist/src/sync/v2/export/controls/Action.d.ts.map +1 -1
- package/dist/src/sync/v2/export/controls/Action.js +93 -1
- package/dist/src/sync/v2/export/controls/Action.js.map +1 -1
- package/dist/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -1
- package/dist/src/sync/v2/generate/analyticalListReport.js +2 -0
- package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
- package/dist/src/sync/v2/generate/listReport.d.ts.map +1 -1
- package/dist/src/sync/v2/generate/listReport.js +5 -2
- package/dist/src/sync/v2/generate/listReport.js.map +1 -1
- package/dist/src/sync/v2/generate/objectPage.d.ts.map +1 -1
- package/dist/src/sync/v2/generate/objectPage.js +62 -63
- package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v2/generate/utils.d.ts +20 -0
- package/dist/src/sync/v2/generate/utils.d.ts.map +1 -1
- package/dist/src/sync/v2/generate/utils.js +59 -2
- package/dist/src/sync/v2/generate/utils.js.map +1 -1
- package/dist/src/sync/v2/import/common/index.d.ts +9 -0
- package/dist/src/sync/v2/import/common/index.d.ts.map +1 -1
- package/dist/src/sync/v2/import/common/index.js +39 -13
- package/dist/src/sync/v2/import/common/index.js.map +1 -1
- package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -1
- package/dist/src/sync/v2/import/pages/analyticalListPage.js +3 -3
- package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
- package/dist/src/sync/v2/import/pages/listReport.d.ts.map +1 -1
- package/dist/src/sync/v2/import/pages/listReport.js +4 -5
- package/dist/src/sync/v2/import/pages/listReport.js.map +1 -1
- package/dist/src/sync/v2/import/pages/objectPage.d.ts.map +1 -1
- package/dist/src/sync/v2/import/pages/objectPage.js +80 -32
- package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v2/types.d.ts +6 -1
- package/dist/src/sync/v2/types.d.ts.map +1 -1
- package/dist/src/sync/v2/types.js +6 -1
- package/dist/src/sync/v2/types.js.map +1 -1
- package/dist/src/sync/v4/application.d.ts +10 -0
- package/dist/src/sync/v4/application.d.ts.map +1 -1
- package/dist/src/sync/v4/application.js +21 -1
- package/dist/src/sync/v4/application.js.map +1 -1
- package/dist/src/sync/v4/export/controls/FilterBar.d.ts +11 -0
- package/dist/src/sync/v4/export/controls/FilterBar.d.ts.map +1 -1
- package/dist/src/sync/v4/export/controls/FilterBar.js +77 -1
- package/dist/src/sync/v4/export/controls/FilterBar.js.map +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.d.ts +18 -0
- package/dist/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.d.ts.map +1 -0
- package/dist/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.js +158 -0
- package/dist/src/sync/v4/export/controls/ObjectPageCustomHeaderSection.js.map +1 -0
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +3 -2
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts.map +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +1 -1
- package/dist/src/sync/v4/export/controls/index.d.ts +1 -0
- package/dist/src/sync/v4/export/controls/index.d.ts.map +1 -1
- package/dist/src/sync/v4/export/controls/index.js +1 -0
- package/dist/src/sync/v4/export/controls/index.js.map +1 -1
- package/dist/src/sync/v4/export/export.d.ts.map +1 -1
- package/dist/src/sync/v4/export/export.js +33 -34
- package/dist/src/sync/v4/export/export.js.map +1 -1
- package/dist/src/sync/v4/generate/fpm-custom-page/annotations.js +4 -4
- package/dist/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -1
- package/dist/src/sync/v4/generate/listReport.d.ts +1 -1
- package/dist/src/sync/v4/generate/listReport.d.ts.map +1 -1
- package/dist/src/sync/v4/generate/listReport.js +36 -12
- package/dist/src/sync/v4/generate/listReport.js.map +1 -1
- package/dist/src/sync/v4/generate/objectPage.d.ts.map +1 -1
- package/dist/src/sync/v4/generate/objectPage.js +45 -27
- package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v4/import/pages/listReport.d.ts.map +1 -1
- package/dist/src/sync/v4/import/pages/listReport.js +36 -0
- package/dist/src/sync/v4/import/pages/listReport.js.map +1 -1
- package/dist/src/sync/v4/import/pages/objectPage.d.ts.map +1 -1
- package/dist/src/sync/v4/import/pages/objectPage.js +32 -0
- package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v4/utils/utils.d.ts +14 -6
- package/dist/src/sync/v4/utils/utils.d.ts.map +1 -1
- package/dist/src/sync/v4/utils/utils.js +64 -11
- package/dist/src/sync/v4/utils/utils.js.map +1 -1
- 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
|
|
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
|
|
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
|
},
|
|
@@ -708,7 +744,7 @@
|
|
|
708
744
|
"type": "string"
|
|
709
745
|
}
|
|
710
746
|
],
|
|
711
|
-
"description": "Allows you to define if the action button
|
|
747
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
712
748
|
"artifactType": "FlexChange",
|
|
713
749
|
"controlType": "sap.m.Button"
|
|
714
750
|
},
|
|
@@ -1646,6 +1682,11 @@
|
|
|
1646
1682
|
"type": "object",
|
|
1647
1683
|
"additionalProperties": {
|
|
1648
1684
|
"$ref": "#/definitions/ObjectPageFooterAction"
|
|
1685
|
+
},
|
|
1686
|
+
"properties": {
|
|
1687
|
+
"SaveAndEdit": {
|
|
1688
|
+
"$ref": "#/definitions/SaveAndEditOP"
|
|
1689
|
+
}
|
|
1649
1690
|
}
|
|
1650
1691
|
},
|
|
1651
1692
|
"ObjectPageFooterAction": {
|
|
@@ -1668,7 +1709,7 @@
|
|
|
1668
1709
|
"type": "string"
|
|
1669
1710
|
}
|
|
1670
1711
|
],
|
|
1671
|
-
"description": "Allows you to define if the action button
|
|
1712
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
1672
1713
|
"artifactType": "FlexChange",
|
|
1673
1714
|
"controlType": "sap.m.Button"
|
|
1674
1715
|
},
|
|
@@ -1699,6 +1740,33 @@
|
|
|
1699
1740
|
}
|
|
1700
1741
|
},
|
|
1701
1742
|
"additionalProperties": false
|
|
1743
|
+
},
|
|
1744
|
+
"SaveAndEditOP": {
|
|
1745
|
+
"description": "Save and Edit",
|
|
1746
|
+
"isViewNode": true,
|
|
1747
|
+
"type": "object",
|
|
1748
|
+
"properties": {
|
|
1749
|
+
"visible": {
|
|
1750
|
+
"pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
|
|
1751
|
+
"anyOf": [
|
|
1752
|
+
{
|
|
1753
|
+
"enum": [
|
|
1754
|
+
false,
|
|
1755
|
+
true,
|
|
1756
|
+
"{ui>/editable}",
|
|
1757
|
+
"{= !${ui>/editable}}"
|
|
1758
|
+
]
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
"type": "string"
|
|
1762
|
+
}
|
|
1763
|
+
],
|
|
1764
|
+
"description": "Allows you to define if the button is visible on the screen.",
|
|
1765
|
+
"artifactType": "FlexChange",
|
|
1766
|
+
"controlType": "sap.m.Button"
|
|
1767
|
+
}
|
|
1768
|
+
},
|
|
1769
|
+
"additionalProperties": false
|
|
1702
1770
|
}
|
|
1703
1771
|
},
|
|
1704
1772
|
"$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
|
|
106
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
107
107
|
"artifactType": "Manifest"
|
|
108
108
|
},
|
|
109
109
|
"enabled": {
|
|
@@ -198,10 +198,82 @@
|
|
|
198
198
|
"isViewNode": true,
|
|
199
199
|
"type": "object",
|
|
200
200
|
"additionalProperties": {
|
|
201
|
-
"
|
|
202
|
-
|
|
201
|
+
"anyOf": [
|
|
202
|
+
{
|
|
203
|
+
"type": "object",
|
|
204
|
+
"properties": {}
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"$ref": "#/definitions/CustomFilterField"
|
|
208
|
+
}
|
|
209
|
+
]
|
|
203
210
|
}
|
|
204
211
|
},
|
|
212
|
+
"CustomFilterField": {
|
|
213
|
+
"description": "Custom Filter Field",
|
|
214
|
+
"isViewNode": true,
|
|
215
|
+
"type": "object",
|
|
216
|
+
"properties": {
|
|
217
|
+
"label": {
|
|
218
|
+
"description": "A static or i18n binding string.",
|
|
219
|
+
"i18nClassification": "COL: Custom filter field label",
|
|
220
|
+
"type": "string",
|
|
221
|
+
"artifactType": "Manifest"
|
|
222
|
+
},
|
|
223
|
+
"property": {
|
|
224
|
+
"description": "The full path to the property to be filtered.",
|
|
225
|
+
"type": "string",
|
|
226
|
+
"artifactType": "Manifest"
|
|
227
|
+
},
|
|
228
|
+
"template": {
|
|
229
|
+
"description": "The path to the XML template containing the filter control.",
|
|
230
|
+
"type": "string",
|
|
231
|
+
"artifactType": "Manifest"
|
|
232
|
+
},
|
|
233
|
+
"required": {
|
|
234
|
+
"description": "If filter field is mandatory, i.e. it requires a value.",
|
|
235
|
+
"type": "boolean",
|
|
236
|
+
"artifactType": "Manifest"
|
|
237
|
+
},
|
|
238
|
+
"position": {
|
|
239
|
+
"$ref": "#/definitions/CustomFilterFieldPosition",
|
|
240
|
+
"description": "Defines the position of the filter field relative to another filter field.",
|
|
241
|
+
"artifactType": "Manifest"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"additionalProperties": false,
|
|
245
|
+
"required": [
|
|
246
|
+
"label",
|
|
247
|
+
"property",
|
|
248
|
+
"template"
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
"CustomFilterFieldPosition": {
|
|
252
|
+
"type": "object",
|
|
253
|
+
"properties": {
|
|
254
|
+
"anchor": {
|
|
255
|
+
"description": "The key of another filter field is to be used as a placement anchor.",
|
|
256
|
+
"type": "string",
|
|
257
|
+
"artifactType": "Manifest"
|
|
258
|
+
},
|
|
259
|
+
"placement": {
|
|
260
|
+
"$ref": "#/definitions/FilterFieldPlacement",
|
|
261
|
+
"description": "Define the placement, either before or after the anchor filter field.",
|
|
262
|
+
"artifactType": "Manifest"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"additionalProperties": false,
|
|
266
|
+
"required": [
|
|
267
|
+
"placement"
|
|
268
|
+
]
|
|
269
|
+
},
|
|
270
|
+
"FilterFieldPlacement": {
|
|
271
|
+
"enum": [
|
|
272
|
+
"After",
|
|
273
|
+
"Before"
|
|
274
|
+
],
|
|
275
|
+
"type": "string"
|
|
276
|
+
},
|
|
205
277
|
"CompactFilters": {
|
|
206
278
|
"description": "Compact Filters",
|
|
207
279
|
"isViewNode": true,
|
|
@@ -390,7 +462,7 @@
|
|
|
390
462
|
"type": "string"
|
|
391
463
|
}
|
|
392
464
|
],
|
|
393
|
-
"description": "Allows you to define if the action button
|
|
465
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
394
466
|
"artifactType": "Manifest"
|
|
395
467
|
},
|
|
396
468
|
"enabled": {
|
|
@@ -608,7 +680,7 @@
|
|
|
608
680
|
"type": "string"
|
|
609
681
|
}
|
|
610
682
|
],
|
|
611
|
-
"description": "Allows you to define if the action button
|
|
683
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
612
684
|
"artifactType": "Manifest"
|
|
613
685
|
},
|
|
614
686
|
"enabled": {
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"type": "string"
|
|
113
113
|
}
|
|
114
114
|
],
|
|
115
|
-
"description": "Allows you to define if the action button
|
|
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>/isEditable}",
|
|
361
|
+
"{= !${ui>/isEditable}}"
|
|
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
|
|
657
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
539
658
|
"artifactType": "Manifest"
|
|
540
659
|
},
|
|
541
660
|
"enabled": {
|
|
@@ -913,7 +1032,7 @@
|
|
|
913
1032
|
"type": "string"
|
|
914
1033
|
}
|
|
915
1034
|
],
|
|
916
|
-
"description": "Allows you to define if the action button
|
|
1035
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
917
1036
|
"artifactType": "Manifest"
|
|
918
1037
|
},
|
|
919
1038
|
"enabled": {
|
|
@@ -1093,21 +1212,24 @@
|
|
|
1093
1212
|
"type": "object",
|
|
1094
1213
|
"properties": {
|
|
1095
1214
|
"title": {
|
|
1096
|
-
"description": "The label of
|
|
1215
|
+
"description": "The label of a custom section, preferably as an i18n key.",
|
|
1216
|
+
"artifactType": "Manifest",
|
|
1097
1217
|
"i18nClassification": "TIT: Custom section title",
|
|
1098
|
-
"type": "string"
|
|
1099
|
-
"artifactType": "Manifest"
|
|
1218
|
+
"type": "string"
|
|
1100
1219
|
},
|
|
1101
1220
|
"fragmentName": {
|
|
1102
|
-
"
|
|
1103
|
-
"artifactType": "Manifest"
|
|
1221
|
+
"description": "The path to the XML template containing the section control.",
|
|
1222
|
+
"artifactType": "Manifest",
|
|
1223
|
+
"type": "string"
|
|
1104
1224
|
},
|
|
1105
1225
|
"relatedFacet": {
|
|
1106
|
-
"
|
|
1107
|
-
"artifactType": "Manifest"
|
|
1226
|
+
"description": "Use the key of another facet/section as a placement anchor.",
|
|
1227
|
+
"artifactType": "Manifest",
|
|
1228
|
+
"type": "string"
|
|
1108
1229
|
},
|
|
1109
1230
|
"relativePosition": {
|
|
1110
1231
|
"$ref": "#/definitions/SectionPosition",
|
|
1232
|
+
"description": "Define the placement, either before or after the anchor facet/section.",
|
|
1111
1233
|
"artifactType": "Manifest"
|
|
1112
1234
|
}
|
|
1113
1235
|
},
|
|
@@ -1117,13 +1239,6 @@
|
|
|
1117
1239
|
"title"
|
|
1118
1240
|
]
|
|
1119
1241
|
},
|
|
1120
|
-
"SectionPosition": {
|
|
1121
|
-
"enum": [
|
|
1122
|
-
"After",
|
|
1123
|
-
"Before"
|
|
1124
|
-
],
|
|
1125
|
-
"type": "string"
|
|
1126
|
-
},
|
|
1127
1242
|
"CustomSections": {
|
|
1128
1243
|
"description": "Custom Sections",
|
|
1129
1244
|
"isViewNode": true,
|
|
@@ -1146,27 +1261,37 @@
|
|
|
1146
1261
|
"type": "object",
|
|
1147
1262
|
"properties": {
|
|
1148
1263
|
"className": {
|
|
1264
|
+
"hidden": true,
|
|
1149
1265
|
"type": "string",
|
|
1150
1266
|
"const": "sap.ui.core.Fragment"
|
|
1151
1267
|
},
|
|
1152
1268
|
"fragmentName": {
|
|
1269
|
+
"description": "The path to the XML template containing the section control.",
|
|
1270
|
+
"artifactType": "Manifest",
|
|
1153
1271
|
"type": "string"
|
|
1154
1272
|
},
|
|
1155
1273
|
"relatedFacet": {
|
|
1274
|
+
"description": "Use the key of another facet/section as a placement anchor.",
|
|
1275
|
+
"artifactType": "Manifest",
|
|
1156
1276
|
"type": "string"
|
|
1157
1277
|
},
|
|
1158
1278
|
"relativePosition": {
|
|
1159
|
-
"$ref": "#/definitions/SectionPosition"
|
|
1279
|
+
"$ref": "#/definitions/SectionPosition",
|
|
1280
|
+
"description": "Define the placement, either before or after the anchor facet/section."
|
|
1160
1281
|
},
|
|
1161
1282
|
"id": {
|
|
1283
|
+
"description": "The unique ID of a section.",
|
|
1284
|
+
"artifactType": "Manifest",
|
|
1162
1285
|
"type": "string"
|
|
1163
1286
|
},
|
|
1164
1287
|
"type": {
|
|
1288
|
+
"hidden": true,
|
|
1165
1289
|
"type": "string",
|
|
1166
1290
|
"const": "XML"
|
|
1167
1291
|
},
|
|
1168
1292
|
"title": {
|
|
1169
|
-
"description": "The label of
|
|
1293
|
+
"description": "The label of a custom section, preferably as an i18n key.",
|
|
1294
|
+
"artifactType": "Manifest",
|
|
1170
1295
|
"i18nClassification": "TIT: Custom section title",
|
|
1171
1296
|
"type": "string"
|
|
1172
1297
|
}
|
|
@@ -1238,7 +1363,7 @@
|
|
|
1238
1363
|
"type": "string"
|
|
1239
1364
|
}
|
|
1240
1365
|
],
|
|
1241
|
-
"description": "Allows you to define if the action button
|
|
1366
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
1242
1367
|
"artifactType": "Manifest"
|
|
1243
1368
|
},
|
|
1244
1369
|
"enabled": {
|
package/dist/src/api.d.ts.map
CHANGED
|
@@ -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;
|
|
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;AA8B5C;;;;;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,CAgCzF;AAED;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,gBAAgB,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAE9F;AAED;;;;GAIG;AACH,wBAAsB,mBAAmB,CAAC,gBAAgB,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,CAEpG;AAED;;;GAGG;AACH,wBAAgB,aAAa,IAAI,UAAU,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: '
|
|
185
|
-
fpmWriter: '
|
|
187
|
+
version: '11',
|
|
188
|
+
fpmWriter: '9'
|
|
186
189
|
};
|
|
187
190
|
}
|
|
188
191
|
exports.getApiVersion = getApiVersion;
|
package/dist/src/api.js.map
CHANGED
|
@@ -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,
|
|
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,yDAY+B;AAE/B,MAAM,YAAY,GAAG,IAAI,GAAG,CACxB;IACI,CAAC,4CAAmB,CAAC,UAAU,EAAE,kCAAkB,CAAC;IACpD,CAAC,4CAAmB,CAAC,YAAY,EAAE,oCAAoB,CAAC;IACxD,CAAC,4CAAmB,CAAC,aAAa,EAAE,qCAAqB,CAAC;IAC1D,CAAC,4CAAmB,CAAC,UAAU,EAAE,kCAAkB,CAAC;IACpD,CAAC,4CAAmB,CAAC,YAAY,EAAE,oCAAoB,CAAC;IACxD,CAAC,4CAAmB,CAAC,UAAU,EAAE,kCAAkB,CAAC;IACpD,CAAC,4CAAmB,CAAC,mBAAmB,EAAE,2CAA2B,CAAC;IACtE,CAAC,4CAAmB,CAAC,gBAAgB,EAAE,wCAAwB,CAAC;IAChE,CAAC,4CAAmB,CAAC,iBAAiB,EAAE,oCAAoB,CAAC;IAC7D,CAAC,4CAAmB,CAAC,mBAAmB,EAAE,2CAA2B,CAAC;CACzE,CACJ,CAAC;AAEF;;;;;GAKG;AACH,6DAAgE;AAAvD,gHAAA,gBAAgB,OAAA;AAEzB;;;GAGG;AACH,SAAgB,cAAc,CAAC,kBAA4C;IACvE,IAAI,MAAc,CAAC;IACnB,IAAI,kBAAkB,CAAC,6CAAoB,CAAC,EAAE,CAAC,EAAE;QAC7C;;WAEG;QACH,MAAM,QAAQ,GAAG,k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C9D,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;
|
|
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;AAC9G,OAAO,EAGH,oBAAoB,EAIpB,WAAW,EAEX,EAAE,EACL,MAAM,6BAA6B,CAAC;AAUrC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAiazD;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CACtB,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,WAAW,EACpB,gBAAgB,EAAE,UAAU,EAC5B,SAAS,EAAE,UAAU,EACrB,OAAO,EAAE,oBAAoB,EAC7B,QAAQ,EAAE,M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