@sap/ux-specification 1.71.94 → 1.71.96

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 (78) hide show
  1. package/CHANGELOG.md +59 -0
  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/index-min.js +31 -31
  8. package/dist/index-min.js.map +4 -4
  9. package/dist/package.json +5 -5
  10. package/dist/schemas/v2/AnalyticalListPageConfig.json +38 -0
  11. package/dist/schemas/v2/ListReportConfig.json +103 -65
  12. package/dist/schemas/v2/ObjectPageConfig.json +72 -4
  13. package/dist/schemas/v2/OverviewPageConfig.json +109 -69
  14. package/dist/src/sync/common/generate/objectPage.d.ts +6 -5
  15. package/dist/src/sync/common/generate/objectPage.d.ts.map +1 -1
  16. package/dist/src/sync/common/generate/objectPage.js +117 -86
  17. package/dist/src/sync/common/generate/objectPage.js.map +1 -1
  18. package/dist/src/sync/common/generate/utils.d.ts.map +1 -1
  19. package/dist/src/sync/common/generate/utils.js +6 -4
  20. package/dist/src/sync/common/generate/utils.js.map +1 -1
  21. package/dist/src/sync/common/importProject.d.ts.map +1 -1
  22. package/dist/src/sync/common/importProject.js +1 -3
  23. package/dist/src/sync/common/importProject.js.map +1 -1
  24. package/dist/src/sync/common/utils.d.ts +1 -1
  25. package/dist/src/sync/common/utils.d.ts.map +1 -1
  26. package/dist/src/sync/common/utils.js +17 -14
  27. package/dist/src/sync/common/utils.js.map +1 -1
  28. package/dist/src/sync/v2/application.js.map +1 -1
  29. package/dist/src/sync/v2/export/controls/Action.d.ts +21 -0
  30. package/dist/src/sync/v2/export/controls/Action.d.ts.map +1 -1
  31. package/dist/src/sync/v2/export/controls/Action.js +93 -1
  32. package/dist/src/sync/v2/export/controls/Action.js.map +1 -1
  33. package/dist/src/sync/v2/export/controls/Card.d.ts +6 -5
  34. package/dist/src/sync/v2/export/controls/Card.d.ts.map +1 -1
  35. package/dist/src/sync/v2/export/controls/Card.js.map +1 -1
  36. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +1 -1
  37. package/dist/src/sync/v2/export/export.d.ts.map +1 -1
  38. package/dist/src/sync/v2/export/export.js +3 -1
  39. package/dist/src/sync/v2/export/export.js.map +1 -1
  40. package/dist/src/sync/v2/export/exportPage.d.ts.map +1 -1
  41. package/dist/src/sync/v2/export/exportPage.js.map +1 -1
  42. package/dist/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -1
  43. package/dist/src/sync/v2/generate/analyticalListReport.js +2 -0
  44. package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
  45. package/dist/src/sync/v2/generate/generate.d.ts +5 -5
  46. package/dist/src/sync/v2/generate/generate.d.ts.map +1 -1
  47. package/dist/src/sync/v2/generate/generate.js.map +1 -1
  48. package/dist/src/sync/v2/generate/listReport.d.ts.map +1 -1
  49. package/dist/src/sync/v2/generate/listReport.js +6 -2
  50. package/dist/src/sync/v2/generate/listReport.js.map +1 -1
  51. package/dist/src/sync/v2/generate/objectPage.d.ts.map +1 -1
  52. package/dist/src/sync/v2/generate/objectPage.js +61 -62
  53. package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
  54. package/dist/src/sync/v2/generate/utils.d.ts +20 -0
  55. package/dist/src/sync/v2/generate/utils.d.ts.map +1 -1
  56. package/dist/src/sync/v2/generate/utils.js +62 -2
  57. package/dist/src/sync/v2/generate/utils.js.map +1 -1
  58. package/dist/src/sync/v2/import/app/appProvider.d.ts.map +1 -1
  59. package/dist/src/sync/v2/import/app/appProvider.js +9 -10
  60. package/dist/src/sync/v2/import/app/appProvider.js.map +1 -1
  61. package/dist/src/sync/v2/import/common/index.d.ts +9 -0
  62. package/dist/src/sync/v2/import/common/index.d.ts.map +1 -1
  63. package/dist/src/sync/v2/import/common/index.js +39 -13
  64. package/dist/src/sync/v2/import/common/index.js.map +1 -1
  65. package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -1
  66. package/dist/src/sync/v2/import/pages/analyticalListPage.js +3 -3
  67. package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
  68. package/dist/src/sync/v2/import/pages/listReport.d.ts.map +1 -1
  69. package/dist/src/sync/v2/import/pages/listReport.js +3 -3
  70. package/dist/src/sync/v2/import/pages/listReport.js.map +1 -1
  71. package/dist/src/sync/v2/import/pages/objectPage.d.ts.map +1 -1
  72. package/dist/src/sync/v2/import/pages/objectPage.js +80 -32
  73. package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
  74. package/dist/src/sync/v2/types.d.ts +6 -1
  75. package/dist/src/sync/v2/types.d.ts.map +1 -1
  76. package/dist/src/sync/v2/types.js +6 -1
  77. package/dist/src/sync/v2/types.js.map +1 -1
  78. package/package.json +5 -5
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/ux-specification",
3
- "version": "1.71.94",
3
+ "version": "1.71.96",
4
4
  "displayName": "SAP Fiori tools - Specification",
5
5
  "description": "SAP Fiori tools - Specification",
6
6
  "files": [
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "main": "dist/index-min.js",
12
12
  "engines": {
13
- "node": ">= 14.16.0 < 15.0.0 || >= 16.1.0 < 17.0.0 || >= 18.0.0 < 19.0.0 || >= 20.0.0",
13
+ "node": ">= 18.0.0 < 19.0.0 || >= 20.0.0 < 21.0.0 || >= 22.0.0",
14
14
  "yarn": ">=1.22.19 < 2"
15
15
  },
16
16
  "scripts": {
@@ -51,10 +51,10 @@
51
51
  },
52
52
  "devDependencies": {
53
53
  "@sap-ux/annotation-converter": "0.7.4",
54
- "@sap/ux-specification-types": "1.71.94",
54
+ "@sap/ux-specification-types": "1.71.96",
55
55
  "@sap-ux/edmx-parser": "0.6.0",
56
- "@types/d3": "7.4.0",
57
- "@types/jquery": "3.5.19",
56
+ "@types/d3": "7.4.1",
57
+ "@types/jquery": "3.5.22",
58
58
  "@ui5/flexibility-utils": "0.1.3",
59
59
  "ajv": "6.12.6",
60
60
  "axios": "0.27.2",
@@ -7,6 +7,10 @@
7
7
  "artifactType": "FlexChange",
8
8
  "controlType": "sap.f.DynamicPage"
9
9
  },
10
+ "header": {
11
+ "$ref": "#/definitions/Header",
12
+ "description": "Header"
13
+ },
10
14
  "table": {
11
15
  "anyOf": [
12
16
  {
@@ -43,6 +47,40 @@
43
47
  },
44
48
  "additionalProperties": false,
45
49
  "definitions": {
50
+ "Header": {
51
+ "description": "Header",
52
+ "isViewNode": true,
53
+ "type": "object",
54
+ "properties": {
55
+ "actions": {
56
+ "$ref": "#/definitions/HeaderActionsStandard"
57
+ }
58
+ },
59
+ "additionalProperties": false
60
+ },
61
+ "HeaderActionsStandard": {
62
+ "type": "object",
63
+ "properties": {
64
+ "Share": {
65
+ "$ref": "#/definitions/Share"
66
+ }
67
+ },
68
+ "additionalProperties": false
69
+ },
70
+ "Share": {
71
+ "description": "Share",
72
+ "isViewNode": true,
73
+ "type": "object",
74
+ "properties": {
75
+ "visible": {
76
+ "description": "Allows you to define if the button is visible on the screen.",
77
+ "type": "boolean",
78
+ "artifactType": "FlexChange",
79
+ "controlType": "sap.m.Button"
80
+ }
81
+ },
82
+ "additionalProperties": false
83
+ },
46
84
  "ALPResponsiveTable": {
47
85
  "description": "Table",
48
86
  "isViewNode": true,
@@ -7,6 +7,13 @@
7
7
  "artifactType": "FlexChange",
8
8
  "controlType": "sap.f.DynamicPage"
9
9
  },
10
+ "header": {
11
+ "$ref": "#/definitions/Header",
12
+ "description": "Header"
13
+ },
14
+ "filterBar": {
15
+ "$ref": "#/definitions/ListReportFilterBar"
16
+ },
10
17
  "table": {
11
18
  "anyOf": [
12
19
  {
@@ -23,9 +30,6 @@
23
30
  }
24
31
  ]
25
32
  },
26
- "filterBar": {
27
- "$ref": "#/definitions/ListReportFilterBar"
28
- },
29
33
  "footer": {
30
34
  "$ref": "#/definitions/GenericFooter"
31
35
  },
@@ -35,6 +39,102 @@
35
39
  },
36
40
  "additionalProperties": false,
37
41
  "definitions": {
42
+ "Header": {
43
+ "description": "Header",
44
+ "isViewNode": true,
45
+ "type": "object",
46
+ "properties": {
47
+ "actions": {
48
+ "$ref": "#/definitions/HeaderActionsStandard"
49
+ }
50
+ },
51
+ "additionalProperties": false
52
+ },
53
+ "HeaderActionsStandard": {
54
+ "type": "object",
55
+ "properties": {
56
+ "Share": {
57
+ "$ref": "#/definitions/Share"
58
+ }
59
+ },
60
+ "additionalProperties": false
61
+ },
62
+ "Share": {
63
+ "description": "Share",
64
+ "isViewNode": true,
65
+ "type": "object",
66
+ "properties": {
67
+ "visible": {
68
+ "description": "Allows you to define if the button is visible on the screen.",
69
+ "type": "boolean",
70
+ "artifactType": "FlexChange",
71
+ "controlType": "sap.m.Button"
72
+ }
73
+ },
74
+ "additionalProperties": false
75
+ },
76
+ "ListReportFilterBar": {
77
+ "description": "Filter Bar",
78
+ "isViewNode": true,
79
+ "type": "object",
80
+ "properties": {
81
+ "smartVariantManagement": {
82
+ "description": "Controls whether smart variant management is active. Default is true.",
83
+ "type": "boolean",
84
+ "artifactType": "Manifest"
85
+ },
86
+ "liveMode": {
87
+ "description": "If liveMode is set, the search will be automatically triggered when a filter value is set.",
88
+ "type": "boolean",
89
+ "artifactType": "FlexChange",
90
+ "controlType": "sap.ui.comp.smartfilterbar.SmartFilterBar"
91
+ },
92
+ "variantManagementHidden": {
93
+ "description": "If you set the flag to false or if the flag is not at all contained in the manifest of the app, the standard variant management is available and can be enabled or disabled.",
94
+ "type": "boolean",
95
+ "artifactType": "Manifest"
96
+ },
97
+ "subTitleIfVariantMgmtHidden": {
98
+ "description": "You can choose an app-specific title by setting the corresponding value for the subTitleIfVariantMgmtHidden property.",
99
+ "i18nClassification": "TIT: Subtitle if variant management is hidden",
100
+ "type": "string",
101
+ "artifactType": "Manifest"
102
+ },
103
+ "showClearOnFB": {
104
+ "description": "Handles visibility of the Clear button on the FilterBar.",
105
+ "type": "boolean",
106
+ "artifactType": "FlexChange",
107
+ "controlType": "sap.ui.comp.smartfilterbar.SmartFilterBar"
108
+ },
109
+ "showFilterConfiguration": {
110
+ "description": "Handles visibility of the Filter button on the FilterBar.",
111
+ "type": "boolean",
112
+ "artifactType": "FlexChange",
113
+ "controlType": "sap.ui.comp.smartfilterbar.SmartFilterBar"
114
+ },
115
+ "showRestoreOnFB": {
116
+ "description": "Handles visibility of the Restore button on the FilterBar.",
117
+ "type": "boolean",
118
+ "artifactType": "FlexChange",
119
+ "controlType": "sap.ui.comp.smartfilterbar.SmartFilterBar"
120
+ },
121
+ "selectionFields": {
122
+ "$ref": "#/definitions/SelectionFields"
123
+ }
124
+ },
125
+ "additionalProperties": false
126
+ },
127
+ "SelectionFields": {
128
+ "description": "Filter Fields",
129
+ "isViewNode": true,
130
+ "type": "object",
131
+ "additionalProperties": {
132
+ "description": "Filter Field",
133
+ "isViewNode": true,
134
+ "type": "object",
135
+ "properties": {}
136
+ }
137
+ },
38
138
  "AnalyticalTable": {
39
139
  "description": "Table",
40
140
  "isViewNode": true,
@@ -865,68 +965,6 @@
865
965
  },
866
966
  "additionalProperties": false
867
967
  },
868
- "ListReportFilterBar": {
869
- "description": "Filter Bar",
870
- "isViewNode": true,
871
- "type": "object",
872
- "properties": {
873
- "smartVariantManagement": {
874
- "description": "Controls whether smart variant management is active. Default is true.",
875
- "type": "boolean",
876
- "artifactType": "Manifest"
877
- },
878
- "liveMode": {
879
- "description": "If liveMode is set, the search will be automatically triggered when a filter value is set.",
880
- "type": "boolean",
881
- "artifactType": "FlexChange",
882
- "controlType": "sap.ui.comp.smartfilterbar.SmartFilterBar"
883
- },
884
- "variantManagementHidden": {
885
- "description": "If you set the flag to false or if the flag is not at all contained in the manifest of the app, the standard variant management is available and can be enabled or disabled.",
886
- "type": "boolean",
887
- "artifactType": "Manifest"
888
- },
889
- "subTitleIfVariantMgmtHidden": {
890
- "description": "You can choose an app-specific title by setting the corresponding value for the subTitleIfVariantMgmtHidden property.",
891
- "i18nClassification": "TIT: Subtitle if variant management is hidden",
892
- "type": "string",
893
- "artifactType": "Manifest"
894
- },
895
- "showClearOnFB": {
896
- "description": "Handles visibility of the Clear button on the FilterBar.",
897
- "type": "boolean",
898
- "artifactType": "FlexChange",
899
- "controlType": "sap.ui.comp.smartfilterbar.SmartFilterBar"
900
- },
901
- "showFilterConfiguration": {
902
- "description": "Handles visibility of the Filter button on the FilterBar.",
903
- "type": "boolean",
904
- "artifactType": "FlexChange",
905
- "controlType": "sap.ui.comp.smartfilterbar.SmartFilterBar"
906
- },
907
- "showRestoreOnFB": {
908
- "description": "Handles visibility of the Restore button on the FilterBar.",
909
- "type": "boolean",
910
- "artifactType": "FlexChange",
911
- "controlType": "sap.ui.comp.smartfilterbar.SmartFilterBar"
912
- },
913
- "selectionFields": {
914
- "$ref": "#/definitions/SelectionFields"
915
- }
916
- },
917
- "additionalProperties": false
918
- },
919
- "SelectionFields": {
920
- "description": "Filter Fields",
921
- "isViewNode": true,
922
- "type": "object",
923
- "additionalProperties": {
924
- "description": "Filter Field",
925
- "isViewNode": true,
926
- "type": "object",
927
- "properties": {}
928
- }
929
- },
930
968
  "GenericFooter": {
931
969
  "description": "Footer",
932
970
  "isViewNode": true,
@@ -98,6 +98,14 @@
98
98
  "type": "object",
99
99
  "additionalProperties": {
100
100
  "$ref": "#/definitions/HeaderAction"
101
+ },
102
+ "properties": {
103
+ "UpAndDownNavigation": {
104
+ "$ref": "#/definitions/UpAndDownNavigationOP"
105
+ },
106
+ "Share": {
107
+ "$ref": "#/definitions/ShareOP"
108
+ }
101
109
  }
102
110
  },
103
111
  "HeaderAction": {
@@ -120,7 +128,7 @@
120
128
  "type": "string"
121
129
  }
122
130
  ],
123
- "description": "Allows you to define if the action button should be visible on the screen.",
131
+ "description": "Allows you to define if the action button is visible on the screen.",
124
132
  "artifactType": "FlexChange",
125
133
  "controlType": "sap.uxap.ObjectPageHeaderActionButton"
126
134
  },
@@ -166,6 +174,34 @@
166
174
  ],
167
175
  "type": "string"
168
176
  },
177
+ "UpAndDownNavigationOP": {
178
+ "description": "Up and Down Navigation",
179
+ "isViewNode": true,
180
+ "type": "object",
181
+ "properties": {
182
+ "visible": {
183
+ "description": "Allows you to define if the button is visible on the screen.",
184
+ "type": "boolean",
185
+ "artifactType": "FlexChange",
186
+ "controlType": "sap.m.Button"
187
+ }
188
+ },
189
+ "additionalProperties": false
190
+ },
191
+ "ShareOP": {
192
+ "description": "Share",
193
+ "isViewNode": true,
194
+ "type": "object",
195
+ "properties": {
196
+ "visible": {
197
+ "description": "Allows you to define if the button is visible on the screen.",
198
+ "type": "boolean",
199
+ "artifactType": "FlexChange",
200
+ "controlType": "sap.m.Button"
201
+ }
202
+ },
203
+ "additionalProperties": false
204
+ },
169
205
  "ObjectPageLayout": {
170
206
  "description": "Page Layout",
171
207
  "isViewNode": true,
@@ -369,7 +405,7 @@
369
405
  "type": "string"
370
406
  }
371
407
  ],
372
- "description": "Allows you to define if the action button should be visible on the screen.",
408
+ "description": "Allows you to define if the action button is visible on the screen.",
373
409
  "artifactType": "FlexChange",
374
410
  "controlType": "sap.m.Button"
375
411
  },
@@ -640,7 +676,7 @@
640
676
  "type": "string"
641
677
  }
642
678
  ],
643
- "description": "Allows you to define if the action button should be visible on the screen.",
679
+ "description": "Allows you to define if the action button is visible on the screen.",
644
680
  "artifactType": "FlexChange",
645
681
  "controlType": "sap.m.Button"
646
682
  },
@@ -1443,6 +1479,11 @@
1443
1479
  "type": "object",
1444
1480
  "additionalProperties": {
1445
1481
  "$ref": "#/definitions/ObjectPageFooterAction"
1482
+ },
1483
+ "properties": {
1484
+ "SaveAndEdit": {
1485
+ "$ref": "#/definitions/SaveAndEditOP"
1486
+ }
1446
1487
  }
1447
1488
  },
1448
1489
  "ObjectPageFooterAction": {
@@ -1465,7 +1506,7 @@
1465
1506
  "type": "string"
1466
1507
  }
1467
1508
  ],
1468
- "description": "Allows you to define if the action button should be visible on the screen.",
1509
+ "description": "Allows you to define if the action button is visible on the screen.",
1469
1510
  "artifactType": "FlexChange",
1470
1511
  "controlType": "sap.m.Button"
1471
1512
  },
@@ -1496,6 +1537,33 @@
1496
1537
  }
1497
1538
  },
1498
1539
  "additionalProperties": false
1540
+ },
1541
+ "SaveAndEditOP": {
1542
+ "description": "Save and Edit",
1543
+ "isViewNode": true,
1544
+ "type": "object",
1545
+ "properties": {
1546
+ "visible": {
1547
+ "pattern": "^(false|true)$|^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$",
1548
+ "anyOf": [
1549
+ {
1550
+ "enum": [
1551
+ false,
1552
+ true,
1553
+ "{ui>/editable}",
1554
+ "{= !${ui>/editable}}"
1555
+ ]
1556
+ },
1557
+ {
1558
+ "type": "string"
1559
+ }
1560
+ ],
1561
+ "description": "Allows you to define if the button is visible on the screen.",
1562
+ "artifactType": "FlexChange",
1563
+ "controlType": "sap.m.Button"
1564
+ }
1565
+ },
1566
+ "additionalProperties": false
1499
1567
  }
1500
1568
  },
1501
1569
  "$schema": "http://json-schema.org/draft-07/schema#"