@sap/ux-specification 1.120.15 → 1.120.17
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 +49 -0
- 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 +53 -53
- package/dist/index-min.js.map +4 -4
- package/dist/schemas/v4/ApplicationV4.json +71 -0
- package/dist/schemas/v4/BuildingBlocksConfig.json +495 -164
- package/dist/specification/package.json +9 -9
- package/dist/specification/src/api.d.ts +8 -0
- package/dist/specification/src/api.d.ts.map +1 -1
- package/dist/specification/src/api.js +11 -3
- package/dist/specification/src/api.js.map +1 -1
- package/dist/specification/src/sync/v4/application.d.ts +2 -1
- package/dist/specification/src/sync/v4/application.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/application.js +7 -0
- package/dist/specification/src/sync/v4/application.js.map +1 -1
- package/dist/specification/src/sync/v4/export/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/utils.js +3 -0
- package/dist/specification/src/sync/v4/export/utils.js.map +1 -1
- package/dist/types/src/apiTypes.d.ts +14 -9
- package/dist/types/src/apiTypes.d.ts.map +1 -1
- package/dist/types/src/apiTypes.js +8 -7
- package/dist/types/src/apiTypes.js.map +1 -1
- package/dist/types/src/v4/application.d.ts +5 -1
- package/dist/types/src/v4/application.d.ts.map +1 -1
- package/package.json +10 -10
|
@@ -45,6 +45,82 @@
|
|
|
45
45
|
"type": "Control"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
+
"sap.fe.macros.KPITag": {
|
|
49
|
+
"description": "Building block used to create a KPI tag.",
|
|
50
|
+
"isViewNode": true,
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {
|
|
53
|
+
"number": {
|
|
54
|
+
"type": "any",
|
|
55
|
+
"description": "The Number to be displayed.",
|
|
56
|
+
"artifactType": "XMLProperty",
|
|
57
|
+
"metadata": {
|
|
58
|
+
"type": "Property"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"showIcon": {
|
|
62
|
+
"type": "boolean",
|
|
63
|
+
"description": "Set it to `true` if the KPI should display its status icon.",
|
|
64
|
+
"artifactType": "XMLProperty",
|
|
65
|
+
"metadata": {
|
|
66
|
+
"type": "Property"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"status": {
|
|
70
|
+
"type": "any",
|
|
71
|
+
"description": "The Status to be displayed.",
|
|
72
|
+
"artifactType": "XMLProperty",
|
|
73
|
+
"metadata": {
|
|
74
|
+
"type": "Property"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"text": {
|
|
78
|
+
"type": "any",
|
|
79
|
+
"description": "The Text to be displayed.",
|
|
80
|
+
"artifactType": "XMLProperty",
|
|
81
|
+
"metadata": {
|
|
82
|
+
"type": "Property"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"tooltip": {
|
|
86
|
+
"type": "any",
|
|
87
|
+
"description": "The Tooltip to be displayed.",
|
|
88
|
+
"artifactType": "XMLProperty",
|
|
89
|
+
"metadata": {
|
|
90
|
+
"type": "Property"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"unit": {
|
|
94
|
+
"type": "any",
|
|
95
|
+
"description": "The Unit of Measure of the number to be displayed.",
|
|
96
|
+
"artifactType": "XMLProperty",
|
|
97
|
+
"metadata": {
|
|
98
|
+
"type": "Property"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"id": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"description": "Unique id of control",
|
|
104
|
+
"artifactType": "XMLProperty",
|
|
105
|
+
"metadata": {
|
|
106
|
+
"type": "Property"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"press": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"description": "An event is triggered when the KPI is pressed.",
|
|
112
|
+
"artifactType": "XMLProperty",
|
|
113
|
+
"metadata": {
|
|
114
|
+
"type": "Event"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"additionalProperties": false,
|
|
119
|
+
"metadata": {
|
|
120
|
+
"path": [],
|
|
121
|
+
"type": "Control"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
48
124
|
"sap.fe.macros.MacroAPI": {
|
|
49
125
|
"description": "Base API control for building blocks.",
|
|
50
126
|
"isViewNode": true,
|
|
@@ -81,6 +157,58 @@
|
|
|
81
157
|
"type": "Control"
|
|
82
158
|
}
|
|
83
159
|
},
|
|
160
|
+
"sap.fe.macros.MultiValueField": {
|
|
161
|
+
"description": "Building block for creating a MultiValueField based on the metadata provided by OData V4.\n\nThe MultiValueField can be used to display either a DataField or Property directly. It has to point to a collection property.\n\nUsage example:\n\n<macro:MultiValueField\n id=\"SomeUniqueIdentifier\"\n contextPath=\"{entitySet>}\"\n metaPath=\"{dataField>}\"\n />\n",
|
|
162
|
+
"isViewNode": true,
|
|
163
|
+
"type": "object",
|
|
164
|
+
"properties": {
|
|
165
|
+
"contextPath": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"description": "The context path provided for the MultiValueField",
|
|
168
|
+
"artifactType": "XMLProperty",
|
|
169
|
+
"metadata": {
|
|
170
|
+
"type": "Property"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"items": {
|
|
174
|
+
"type": "any",
|
|
175
|
+
"description": "Property added to be able to add data / items to the multi value field via a different model",
|
|
176
|
+
"artifactType": "XMLProperty",
|
|
177
|
+
"metadata": {
|
|
178
|
+
"type": "Property"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"metaPath": {
|
|
182
|
+
"type": "string",
|
|
183
|
+
"description": "Defines the relative Metadata path to the MultiValueField.\nThe metaPath should point to a Property or DataField.",
|
|
184
|
+
"artifactType": "XMLProperty",
|
|
185
|
+
"metadata": {
|
|
186
|
+
"type": "Property"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"readOnly": {
|
|
190
|
+
"type": "any",
|
|
191
|
+
"description": "The readOnly flag",
|
|
192
|
+
"artifactType": "XMLProperty",
|
|
193
|
+
"metadata": {
|
|
194
|
+
"type": "Property"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"id": {
|
|
198
|
+
"type": "string",
|
|
199
|
+
"description": "Unique id of control",
|
|
200
|
+
"artifactType": "XMLProperty",
|
|
201
|
+
"metadata": {
|
|
202
|
+
"type": "Property"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"additionalProperties": false,
|
|
207
|
+
"metadata": {
|
|
208
|
+
"path": [],
|
|
209
|
+
"type": "Control"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
84
212
|
"sap.fe.macros.RichTextEditor": {
|
|
85
213
|
"description": "Building block that exposes the RichTextEditor UI5 control.\nIt's used to enter formatted text, and uses the third-party component called TinyMCE.\n",
|
|
86
214
|
"isViewNode": true,
|
|
@@ -593,6 +721,14 @@
|
|
|
593
721
|
"type": "Property"
|
|
594
722
|
}
|
|
595
723
|
},
|
|
724
|
+
"description": {
|
|
725
|
+
"type": "string",
|
|
726
|
+
"description": "This is used to optionally provide an external description that comes from a different model than the oData model.\nThis should be used in conjunction with the value property.",
|
|
727
|
+
"artifactType": "XMLProperty",
|
|
728
|
+
"metadata": {
|
|
729
|
+
"type": "Property"
|
|
730
|
+
}
|
|
731
|
+
},
|
|
596
732
|
"formatOptions": {
|
|
597
733
|
"$ref": "#/definitions/sap.fe.macros.FieldFormatOptions",
|
|
598
734
|
"description": "formatOptions",
|
|
@@ -626,6 +762,14 @@
|
|
|
626
762
|
"type": "Property"
|
|
627
763
|
}
|
|
628
764
|
},
|
|
765
|
+
"value": {
|
|
766
|
+
"type": "string",
|
|
767
|
+
"description": "This is used to optionally provide an external value that comes from a different model than the oData model.\nIt is designed to work with a field with value help, and without support for complex value help (currency / unit).",
|
|
768
|
+
"artifactType": "XMLProperty",
|
|
769
|
+
"metadata": {
|
|
770
|
+
"type": "Property"
|
|
771
|
+
}
|
|
772
|
+
},
|
|
629
773
|
"id": {
|
|
630
774
|
"type": "string",
|
|
631
775
|
"description": "Unique id of control",
|
|
@@ -670,6 +814,14 @@
|
|
|
670
814
|
"type": "Property"
|
|
671
815
|
}
|
|
672
816
|
},
|
|
817
|
+
"description": {
|
|
818
|
+
"type": "string",
|
|
819
|
+
"description": "This is used to optionally provide an external description that comes from a different model than the oData model.\nThis should be used in conjunction with the value property.",
|
|
820
|
+
"artifactType": "XMLProperty",
|
|
821
|
+
"metadata": {
|
|
822
|
+
"type": "Property"
|
|
823
|
+
}
|
|
824
|
+
},
|
|
673
825
|
"formatOptions": {
|
|
674
826
|
"$ref": "#/definitions/sap.fe.macros.FieldFormatOptions",
|
|
675
827
|
"description": "formatOptions",
|
|
@@ -703,6 +855,14 @@
|
|
|
703
855
|
"type": "Property"
|
|
704
856
|
}
|
|
705
857
|
},
|
|
858
|
+
"value": {
|
|
859
|
+
"type": "string",
|
|
860
|
+
"description": "This is used to optionally provide an external value that comes from a different model than the oData model.\nIt is designed to work with a field with value help, and without support for complex value help (currency / unit).",
|
|
861
|
+
"artifactType": "XMLProperty",
|
|
862
|
+
"metadata": {
|
|
863
|
+
"type": "Property"
|
|
864
|
+
}
|
|
865
|
+
},
|
|
706
866
|
"id": {
|
|
707
867
|
"type": "string",
|
|
708
868
|
"description": "Unique id of control",
|
|
@@ -1115,74 +1275,11 @@
|
|
|
1115
1275
|
"type": "Control"
|
|
1116
1276
|
}
|
|
1117
1277
|
},
|
|
1118
|
-
"sap.fe.macros.
|
|
1119
|
-
"description": "Building block used to create a
|
|
1278
|
+
"sap.fe.macros.MicroChart": {
|
|
1279
|
+
"description": "Building block used to create a MicroChart based on the metadata provided by OData V4.",
|
|
1120
1280
|
"isViewNode": true,
|
|
1121
1281
|
"type": "object",
|
|
1122
1282
|
"properties": {
|
|
1123
|
-
"number": {
|
|
1124
|
-
"anyOf": [
|
|
1125
|
-
{
|
|
1126
|
-
"type": "number"
|
|
1127
|
-
},
|
|
1128
|
-
{
|
|
1129
|
-
"type": "string",
|
|
1130
|
-
"pattern": "^{[A-Za-z0-9{}&$!@#%? _|,<>'()[\\]\\/:=.]+}$"
|
|
1131
|
-
}
|
|
1132
|
-
],
|
|
1133
|
-
"description": "The Number to be displayed.",
|
|
1134
|
-
"artifactType": "XMLProperty",
|
|
1135
|
-
"metadata": {
|
|
1136
|
-
"type": "Property"
|
|
1137
|
-
}
|
|
1138
|
-
},
|
|
1139
|
-
"showIcon": {
|
|
1140
|
-
"type": "boolean",
|
|
1141
|
-
"description": "Set it to `true` if the KPI should display its status icon.",
|
|
1142
|
-
"artifactType": "XMLProperty",
|
|
1143
|
-
"metadata": {
|
|
1144
|
-
"type": "Property"
|
|
1145
|
-
}
|
|
1146
|
-
},
|
|
1147
|
-
"status": {
|
|
1148
|
-
"type": "string",
|
|
1149
|
-
"description": "The Status to be displayed.",
|
|
1150
|
-
"artifactType": "XMLProperty",
|
|
1151
|
-
"metadata": {
|
|
1152
|
-
"type": "Property"
|
|
1153
|
-
},
|
|
1154
|
-
"enum": [
|
|
1155
|
-
"Success",
|
|
1156
|
-
"Error",
|
|
1157
|
-
"Warning",
|
|
1158
|
-
"None",
|
|
1159
|
-
"Information"
|
|
1160
|
-
]
|
|
1161
|
-
},
|
|
1162
|
-
"text": {
|
|
1163
|
-
"type": "string",
|
|
1164
|
-
"description": "The Text to be displayed.",
|
|
1165
|
-
"artifactType": "XMLProperty",
|
|
1166
|
-
"metadata": {
|
|
1167
|
-
"type": "Property"
|
|
1168
|
-
}
|
|
1169
|
-
},
|
|
1170
|
-
"tooltip": {
|
|
1171
|
-
"type": "string",
|
|
1172
|
-
"description": "The Tooltip to be displayed.",
|
|
1173
|
-
"artifactType": "XMLProperty",
|
|
1174
|
-
"metadata": {
|
|
1175
|
-
"type": "Property"
|
|
1176
|
-
}
|
|
1177
|
-
},
|
|
1178
|
-
"unit": {
|
|
1179
|
-
"type": "string",
|
|
1180
|
-
"description": "The Unit of Measure of the number to be displayed.",
|
|
1181
|
-
"artifactType": "XMLProperty",
|
|
1182
|
-
"metadata": {
|
|
1183
|
-
"type": "Property"
|
|
1184
|
-
}
|
|
1185
|
-
},
|
|
1186
1283
|
"id": {
|
|
1187
1284
|
"type": "string",
|
|
1188
1285
|
"description": "Unique id of control",
|
|
@@ -1190,14 +1287,6 @@
|
|
|
1190
1287
|
"metadata": {
|
|
1191
1288
|
"type": "Property"
|
|
1192
1289
|
}
|
|
1193
|
-
},
|
|
1194
|
-
"press": {
|
|
1195
|
-
"type": "string",
|
|
1196
|
-
"description": "An event is triggered when the KPI is pressed.",
|
|
1197
|
-
"artifactType": "XMLProperty",
|
|
1198
|
-
"metadata": {
|
|
1199
|
-
"type": "Event"
|
|
1200
|
-
}
|
|
1201
1290
|
}
|
|
1202
1291
|
},
|
|
1203
1292
|
"additionalProperties": false,
|
|
@@ -1206,8 +1295,8 @@
|
|
|
1206
1295
|
"type": "Control"
|
|
1207
1296
|
}
|
|
1208
1297
|
},
|
|
1209
|
-
"sap.fe.macros.MicroChart": {
|
|
1210
|
-
"description": "Building block used to create a MicroChart based on the metadata provided by OData V4.",
|
|
1298
|
+
"sap.fe.macros.microchart.MicroChart": {
|
|
1299
|
+
"description": "Building block used to create a MicroChart based on the metadata provided by OData V4.\nUsage example:\n\nsap.ui.require([\"sap/fe/macros/microchart/MicroChart\"], function(MicroChart) {\n\t ...\n\t new MicroChart(\"microChartID\", {metaPath:\"MyProperty\"})\n})\n\nThis is currently an experimental API because the structure of the generated content will change to come closer to the MicroChart that you get out of templates.\nThe public method and property will not change but the internal structure will so be careful on your usage.\n",
|
|
1211
1300
|
"isViewNode": true,
|
|
1212
1301
|
"type": "object",
|
|
1213
1302
|
"properties": {
|
|
@@ -1226,11 +1315,19 @@
|
|
|
1226
1315
|
"type": "Control"
|
|
1227
1316
|
}
|
|
1228
1317
|
},
|
|
1229
|
-
"sap.fe.macros.
|
|
1230
|
-
"description": "Building block used to create a
|
|
1318
|
+
"sap.fe.macros.Paginator": {
|
|
1319
|
+
"description": "Building block used to create a paginator control.\nUsage example:\n\n<macros:Paginator />\n\n",
|
|
1231
1320
|
"isViewNode": true,
|
|
1232
1321
|
"type": "object",
|
|
1233
1322
|
"properties": {
|
|
1323
|
+
"ariaTitle": {
|
|
1324
|
+
"type": "string",
|
|
1325
|
+
"description": "Title of the object that is readout by screen readers when the next/previous item is loaded via keyboard focus on the paginator button.",
|
|
1326
|
+
"artifactType": "XMLProperty",
|
|
1327
|
+
"metadata": {
|
|
1328
|
+
"type": "Property"
|
|
1329
|
+
}
|
|
1330
|
+
},
|
|
1234
1331
|
"id": {
|
|
1235
1332
|
"type": "string",
|
|
1236
1333
|
"description": "Unique id of control",
|
|
@@ -1246,112 +1343,38 @@
|
|
|
1246
1343
|
"type": "Control"
|
|
1247
1344
|
}
|
|
1248
1345
|
},
|
|
1249
|
-
"sap.fe.macros.
|
|
1250
|
-
"description": "
|
|
1346
|
+
"sap.fe.macros.richtexteditor.ButtonGroup": {
|
|
1347
|
+
"description": "Button configurations for the RichTextEditor.",
|
|
1251
1348
|
"isViewNode": true,
|
|
1252
1349
|
"type": "object",
|
|
1253
1350
|
"properties": {
|
|
1254
|
-
"
|
|
1255
|
-
"
|
|
1256
|
-
"description": "
|
|
1351
|
+
"buttons": {
|
|
1352
|
+
"type": "string",
|
|
1353
|
+
"description": "The buttons to be displayed in the group.",
|
|
1257
1354
|
"artifactType": "XMLProperty",
|
|
1258
|
-
"isViewNode": true,
|
|
1259
1355
|
"metadata": {
|
|
1260
1356
|
"type": "Property"
|
|
1261
1357
|
}
|
|
1262
1358
|
},
|
|
1263
|
-
"
|
|
1264
|
-
"
|
|
1265
|
-
"description": "
|
|
1359
|
+
"customToolbarPriority": {
|
|
1360
|
+
"type": "string",
|
|
1361
|
+
"description": "The priority of the group in the custom toolbar.",
|
|
1266
1362
|
"artifactType": "XMLProperty",
|
|
1267
|
-
"isViewNode": true,
|
|
1268
1363
|
"metadata": {
|
|
1269
1364
|
"type": "Property"
|
|
1270
1365
|
}
|
|
1271
1366
|
},
|
|
1272
|
-
"
|
|
1273
|
-
"type": "
|
|
1274
|
-
"description": "The
|
|
1367
|
+
"name": {
|
|
1368
|
+
"type": "string",
|
|
1369
|
+
"description": "The name of the group.",
|
|
1275
1370
|
"artifactType": "XMLProperty",
|
|
1276
1371
|
"metadata": {
|
|
1277
1372
|
"type": "Property"
|
|
1278
1373
|
}
|
|
1279
1374
|
},
|
|
1280
|
-
"
|
|
1375
|
+
"priority": {
|
|
1281
1376
|
"type": "string",
|
|
1282
|
-
"description": "
|
|
1283
|
-
"artifactType": "XMLProperty",
|
|
1284
|
-
"metadata": {
|
|
1285
|
-
"type": "Property"
|
|
1286
|
-
}
|
|
1287
|
-
}
|
|
1288
|
-
},
|
|
1289
|
-
"additionalProperties": false,
|
|
1290
|
-
"metadata": {
|
|
1291
|
-
"path": [],
|
|
1292
|
-
"type": "Control"
|
|
1293
|
-
}
|
|
1294
|
-
},
|
|
1295
|
-
"sap.fe.macros.Paginator": {
|
|
1296
|
-
"description": "Building block used to create a paginator control.\nUsage example:\n\n<macros:Paginator />\n\n",
|
|
1297
|
-
"isViewNode": true,
|
|
1298
|
-
"type": "object",
|
|
1299
|
-
"properties": {
|
|
1300
|
-
"ariaTitle": {
|
|
1301
|
-
"type": "string",
|
|
1302
|
-
"description": "Title of the object that is readout by screen readers when the next/previous item is loaded via keyboard focus on the paginator button.",
|
|
1303
|
-
"artifactType": "XMLProperty",
|
|
1304
|
-
"metadata": {
|
|
1305
|
-
"type": "Property"
|
|
1306
|
-
}
|
|
1307
|
-
},
|
|
1308
|
-
"id": {
|
|
1309
|
-
"type": "string",
|
|
1310
|
-
"description": "Unique id of control",
|
|
1311
|
-
"artifactType": "XMLProperty",
|
|
1312
|
-
"metadata": {
|
|
1313
|
-
"type": "Property"
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
|
-
},
|
|
1317
|
-
"additionalProperties": false,
|
|
1318
|
-
"metadata": {
|
|
1319
|
-
"path": [],
|
|
1320
|
-
"type": "Control"
|
|
1321
|
-
}
|
|
1322
|
-
},
|
|
1323
|
-
"sap.fe.macros.richtexteditor.ButtonGroup": {
|
|
1324
|
-
"description": "Button configurations for the RichTextEditor.",
|
|
1325
|
-
"isViewNode": true,
|
|
1326
|
-
"type": "object",
|
|
1327
|
-
"properties": {
|
|
1328
|
-
"buttons": {
|
|
1329
|
-
"type": "string",
|
|
1330
|
-
"description": "The buttons to be displayed in the group.",
|
|
1331
|
-
"artifactType": "XMLProperty",
|
|
1332
|
-
"metadata": {
|
|
1333
|
-
"type": "Property"
|
|
1334
|
-
}
|
|
1335
|
-
},
|
|
1336
|
-
"customToolbarPriority": {
|
|
1337
|
-
"type": "string",
|
|
1338
|
-
"description": "The priority of the group in the custom toolbar.",
|
|
1339
|
-
"artifactType": "XMLProperty",
|
|
1340
|
-
"metadata": {
|
|
1341
|
-
"type": "Property"
|
|
1342
|
-
}
|
|
1343
|
-
},
|
|
1344
|
-
"name": {
|
|
1345
|
-
"type": "string",
|
|
1346
|
-
"description": "The name of the group.",
|
|
1347
|
-
"artifactType": "XMLProperty",
|
|
1348
|
-
"metadata": {
|
|
1349
|
-
"type": "Property"
|
|
1350
|
-
}
|
|
1351
|
-
},
|
|
1352
|
-
"priority": {
|
|
1353
|
-
"type": "string",
|
|
1354
|
-
"description": "The priority of the group.",
|
|
1377
|
+
"description": "The priority of the group.",
|
|
1355
1378
|
"artifactType": "XMLProperty",
|
|
1356
1379
|
"metadata": {
|
|
1357
1380
|
"type": "Property"
|
|
@@ -2680,11 +2703,319 @@
|
|
|
2680
2703
|
"type": "Control"
|
|
2681
2704
|
}
|
|
2682
2705
|
},
|
|
2706
|
+
"sap.fe.macros.table.TreeTable": {
|
|
2707
|
+
"description": "Building block used to create a table based on the metadata provided by OData V4.\n\nUsually, a LineItem, PresentationVariant or SelectionPresentationVariant annotation is expected, but the Table building block can also be used to display an EntitySet.\n\nIf a PresentationVariant is specified, then it must have UI.LineItem as the first property of the Visualizations.\n\nIf a SelectionPresentationVariant is specified, then it must contain a valid PresentationVariant that also has a UI.LineItem as the first property of the Visualizations.\nUsage example:\n\nsap.ui.require([\"sap/fe/macros/table/TreeTable\"], function(TreeTable) {\n\t ...\n\t new TreeTable(\"myTable\", {metaPath:\"@com.sap.vocabularies.UI.v1.LineItem\"})\n})\n\nThis is currently an experimental API because the structure of the generated content will change to come closer to the Table that you get out of templates.\nThe public method and property will not change but the internal structure will so be careful on your usage.\n",
|
|
2708
|
+
"isViewNode": true,
|
|
2709
|
+
"type": "object",
|
|
2710
|
+
"properties": {
|
|
2711
|
+
"busy": {
|
|
2712
|
+
"type": "boolean",
|
|
2713
|
+
"description": "An expression that allows you to control the 'busy' state of the table.",
|
|
2714
|
+
"artifactType": "XMLProperty",
|
|
2715
|
+
"metadata": {
|
|
2716
|
+
"type": "Property"
|
|
2717
|
+
}
|
|
2718
|
+
},
|
|
2719
|
+
"contextPath": {
|
|
2720
|
+
"type": "string",
|
|
2721
|
+
"description": "Defines the path of the context used in the current page or block.\nThis setting is defined by the framework.",
|
|
2722
|
+
"artifactType": "XMLProperty",
|
|
2723
|
+
"metadata": {
|
|
2724
|
+
"type": "Property"
|
|
2725
|
+
}
|
|
2726
|
+
},
|
|
2727
|
+
"creationMode": {
|
|
2728
|
+
"$ref": "#/definitions/sap.fe.macros.table.TreeTableCreationOptions",
|
|
2729
|
+
"description": "creationMode",
|
|
2730
|
+
"artifactType": "XMLProperty",
|
|
2731
|
+
"isViewNode": true,
|
|
2732
|
+
"metadata": {
|
|
2733
|
+
"type": "Property"
|
|
2734
|
+
}
|
|
2735
|
+
},
|
|
2736
|
+
"disableCopyToClipboard": {
|
|
2737
|
+
"type": "boolean",
|
|
2738
|
+
"description": "Controls if the copy functionality of the table is disabled or not.",
|
|
2739
|
+
"artifactType": "XMLProperty",
|
|
2740
|
+
"metadata": {
|
|
2741
|
+
"type": "Property"
|
|
2742
|
+
}
|
|
2743
|
+
},
|
|
2744
|
+
"enableAutoColumnWidth": {
|
|
2745
|
+
"type": "boolean",
|
|
2746
|
+
"description": "Specifies if the column width is automatically calculated.",
|
|
2747
|
+
"artifactType": "XMLProperty",
|
|
2748
|
+
"metadata": {
|
|
2749
|
+
"type": "Property"
|
|
2750
|
+
}
|
|
2751
|
+
},
|
|
2752
|
+
"enableExport": {
|
|
2753
|
+
"type": "boolean",
|
|
2754
|
+
"description": "Controls if the export functionality of the table is enabled or not.",
|
|
2755
|
+
"artifactType": "XMLProperty",
|
|
2756
|
+
"metadata": {
|
|
2757
|
+
"type": "Property"
|
|
2758
|
+
}
|
|
2759
|
+
},
|
|
2760
|
+
"enableFullScreen": {
|
|
2761
|
+
"type": "boolean",
|
|
2762
|
+
"description": "Controls whether the table can be opened in fullscreen mode or not.",
|
|
2763
|
+
"artifactType": "XMLProperty",
|
|
2764
|
+
"metadata": {
|
|
2765
|
+
"type": "Property"
|
|
2766
|
+
}
|
|
2767
|
+
},
|
|
2768
|
+
"enablePaste": {
|
|
2769
|
+
"type": "boolean",
|
|
2770
|
+
"description": "Controls if the paste functionality of the table is enabled or not.",
|
|
2771
|
+
"artifactType": "XMLProperty",
|
|
2772
|
+
"metadata": {
|
|
2773
|
+
"type": "Property"
|
|
2774
|
+
}
|
|
2775
|
+
},
|
|
2776
|
+
"exportRequestSize": {
|
|
2777
|
+
"$ref": "#/definitions/int",
|
|
2778
|
+
"description": "exportRequestSize",
|
|
2779
|
+
"artifactType": "XMLProperty",
|
|
2780
|
+
"isViewNode": true,
|
|
2781
|
+
"metadata": {
|
|
2782
|
+
"type": "Property"
|
|
2783
|
+
}
|
|
2784
|
+
},
|
|
2785
|
+
"filterBar": {
|
|
2786
|
+
"type": "string",
|
|
2787
|
+
"description": "ID of the FilterBar building block associated with the table.",
|
|
2788
|
+
"artifactType": "XMLProperty",
|
|
2789
|
+
"metadata": {
|
|
2790
|
+
"type": "Property"
|
|
2791
|
+
}
|
|
2792
|
+
},
|
|
2793
|
+
"frozenColumnCount": {
|
|
2794
|
+
"$ref": "#/definitions/int",
|
|
2795
|
+
"description": "frozenColumnCount",
|
|
2796
|
+
"artifactType": "XMLProperty",
|
|
2797
|
+
"isViewNode": true,
|
|
2798
|
+
"metadata": {
|
|
2799
|
+
"type": "Property"
|
|
2800
|
+
}
|
|
2801
|
+
},
|
|
2802
|
+
"header": {
|
|
2803
|
+
"type": "string",
|
|
2804
|
+
"description": "Specifies the header text that is shown in the table.",
|
|
2805
|
+
"artifactType": "XMLProperty",
|
|
2806
|
+
"metadata": {
|
|
2807
|
+
"type": "Property"
|
|
2808
|
+
}
|
|
2809
|
+
},
|
|
2810
|
+
"headerVisible": {
|
|
2811
|
+
"type": "boolean",
|
|
2812
|
+
"description": "Controls if the header text should be shown or not.",
|
|
2813
|
+
"artifactType": "XMLProperty",
|
|
2814
|
+
"metadata": {
|
|
2815
|
+
"type": "Property"
|
|
2816
|
+
}
|
|
2817
|
+
},
|
|
2818
|
+
"hierarchyQualifier": {
|
|
2819
|
+
"type": "string",
|
|
2820
|
+
"description": "A set of options that can be configured.",
|
|
2821
|
+
"artifactType": "XMLProperty",
|
|
2822
|
+
"metadata": {
|
|
2823
|
+
"type": "Property"
|
|
2824
|
+
}
|
|
2825
|
+
},
|
|
2826
|
+
"ignoredFields": {
|
|
2827
|
+
"type": "string",
|
|
2828
|
+
"description": "Comma-separated value of fields that must be ignored in the OData metadata by the Table building block.\nThe table building block is not going to create built-in columns or offer table personalization for comma-separated value of fields that are provided in the ignoredfields.\nAny column referencing an ignored field is to be removed.",
|
|
2829
|
+
"artifactType": "XMLProperty",
|
|
2830
|
+
"metadata": {
|
|
2831
|
+
"type": "Property"
|
|
2832
|
+
}
|
|
2833
|
+
},
|
|
2834
|
+
"isMoveToPositionAllowed": {
|
|
2835
|
+
"type": "string",
|
|
2836
|
+
"description": "Defines the extension point to control if a source node can be dropped on a specific parent node.\n",
|
|
2837
|
+
"artifactType": "XMLProperty",
|
|
2838
|
+
"metadata": {
|
|
2839
|
+
"type": "Property"
|
|
2840
|
+
}
|
|
2841
|
+
},
|
|
2842
|
+
"isNodeMovable": {
|
|
2843
|
+
"type": "string",
|
|
2844
|
+
"description": "Defines the extension point to control if a node can be dragged.\n",
|
|
2845
|
+
"artifactType": "XMLProperty",
|
|
2846
|
+
"metadata": {
|
|
2847
|
+
"type": "Property"
|
|
2848
|
+
}
|
|
2849
|
+
},
|
|
2850
|
+
"isSearchable": {
|
|
2851
|
+
"type": "boolean",
|
|
2852
|
+
"description": "Defines whether to display the search action.",
|
|
2853
|
+
"artifactType": "XMLProperty",
|
|
2854
|
+
"metadata": {
|
|
2855
|
+
"type": "Property"
|
|
2856
|
+
}
|
|
2857
|
+
},
|
|
2858
|
+
"metaPath": {
|
|
2859
|
+
"type": "string",
|
|
2860
|
+
"description": "Defines the relative path to a LineItem, PresentationVariant or SelectionPresentationVariant in the metamodel, based on the current contextPath.",
|
|
2861
|
+
"artifactType": "XMLProperty",
|
|
2862
|
+
"metadata": {
|
|
2863
|
+
"type": "Property"
|
|
2864
|
+
}
|
|
2865
|
+
},
|
|
2866
|
+
"personalization": {
|
|
2867
|
+
"type": "string",
|
|
2868
|
+
"description": "Controls which options should be enabled for the table personalization dialog.\nIf it is set to `true`, all possible options for this kind of table are enabled.\nIf it is set to `false`, personalization is disabled.\n\nYou can also provide a more granular control for the personalization by providing a comma-separated list with the options you want to be available.\nAvailable options are:\n - Sort\n - Column\n - Filter\n",
|
|
2869
|
+
"artifactType": "XMLProperty",
|
|
2870
|
+
"metadata": {
|
|
2871
|
+
"type": "Property"
|
|
2872
|
+
}
|
|
2873
|
+
},
|
|
2874
|
+
"readOnly": {
|
|
2875
|
+
"type": "boolean",
|
|
2876
|
+
"description": "An expression that allows you to control the 'read-only' state of the table.\nIf you do not set any expression, SAP Fiori elements hooks into the standard lifecycle to determine the current state.\n",
|
|
2877
|
+
"artifactType": "XMLProperty",
|
|
2878
|
+
"metadata": {
|
|
2879
|
+
"type": "Property"
|
|
2880
|
+
}
|
|
2881
|
+
},
|
|
2882
|
+
"rowCount": {
|
|
2883
|
+
"$ref": "#/definitions/int",
|
|
2884
|
+
"description": "rowCount",
|
|
2885
|
+
"artifactType": "XMLProperty",
|
|
2886
|
+
"isViewNode": true,
|
|
2887
|
+
"metadata": {
|
|
2888
|
+
"type": "Property"
|
|
2889
|
+
}
|
|
2890
|
+
},
|
|
2891
|
+
"rowCountMode": {
|
|
2892
|
+
"type": "string",
|
|
2893
|
+
"description": "Defines how the table handles the visible rows. Does not apply to Responsive tables.\nAllowed values are `Auto`, `Fixed`.\n- If set to `Fixed`, the table always has as many rows as defined in the rowCount property.\n- If set to `Auto`, the number of rows is changed by the table automatically. It will then adjust its row count to the space it is allowed to cover (limited by the surrounding container) but it cannot have less than defined in the `rowCount` property.\n",
|
|
2894
|
+
"artifactType": "XMLProperty",
|
|
2895
|
+
"metadata": {
|
|
2896
|
+
"type": "Property"
|
|
2897
|
+
},
|
|
2898
|
+
"enum": [
|
|
2899
|
+
"Auto",
|
|
2900
|
+
"Fixed"
|
|
2901
|
+
]
|
|
2902
|
+
},
|
|
2903
|
+
"selectionMode": {
|
|
2904
|
+
"type": "string",
|
|
2905
|
+
"description": "Defines the selection mode to be used by the table.\nAllowed values are `None`, `Single`, `ForceSingle`, `Multi`, `ForceMulti` or `Auto`.\nIf set to 'Single', 'Multi' or 'Auto', SAP Fiori elements hooks into the standard lifecycle to determine the consistent selection mode.\nIf set to 'ForceSingle' or 'ForceMulti' your choice will be respected but this might not respect the Fiori guidelines.\n",
|
|
2906
|
+
"artifactType": "XMLProperty",
|
|
2907
|
+
"metadata": {
|
|
2908
|
+
"type": "Property"
|
|
2909
|
+
},
|
|
2910
|
+
"enum": [
|
|
2911
|
+
"None",
|
|
2912
|
+
"Single",
|
|
2913
|
+
"Multi",
|
|
2914
|
+
"Auto",
|
|
2915
|
+
"ForceMulti",
|
|
2916
|
+
"ForceSingle"
|
|
2917
|
+
]
|
|
2918
|
+
},
|
|
2919
|
+
"type": {
|
|
2920
|
+
"type": "string",
|
|
2921
|
+
"description": "Defines the type of table that will be used by the building block to render the data. This setting is defined by the framework.\nAllowed value is `TreeTable`.\n",
|
|
2922
|
+
"artifactType": "XMLProperty",
|
|
2923
|
+
"metadata": {
|
|
2924
|
+
"type": "Property"
|
|
2925
|
+
},
|
|
2926
|
+
"const": "TreeTable"
|
|
2927
|
+
},
|
|
2928
|
+
"variantManagement": {
|
|
2929
|
+
"type": "string",
|
|
2930
|
+
"description": "Controls the kind of variant management that should be enabled for the table.\nAllowed value is `Control`.\nIf set with value `Control`, a variant management control is seen within the table and the table is linked to this.\nIf not set with any value, control level variant management is not available for this table.\n",
|
|
2931
|
+
"artifactType": "XMLProperty",
|
|
2932
|
+
"metadata": {
|
|
2933
|
+
"type": "Property"
|
|
2934
|
+
},
|
|
2935
|
+
"const": "Control"
|
|
2936
|
+
},
|
|
2937
|
+
"widthIncludingColumnHeader": {
|
|
2938
|
+
"type": "boolean",
|
|
2939
|
+
"description": "Indicates if the column header should be a part of the width calculation.",
|
|
2940
|
+
"artifactType": "XMLProperty",
|
|
2941
|
+
"metadata": {
|
|
2942
|
+
"type": "Property"
|
|
2943
|
+
}
|
|
2944
|
+
},
|
|
2945
|
+
"id": {
|
|
2946
|
+
"type": "string",
|
|
2947
|
+
"description": "Unique id of control",
|
|
2948
|
+
"artifactType": "XMLProperty",
|
|
2949
|
+
"metadata": {
|
|
2950
|
+
"type": "Property"
|
|
2951
|
+
}
|
|
2952
|
+
},
|
|
2953
|
+
"actions": {
|
|
2954
|
+
"type": "object",
|
|
2955
|
+
"additionalProperties": {
|
|
2956
|
+
"$ref": "#/definitions/sap.fe.macros.table.Action"
|
|
2957
|
+
},
|
|
2958
|
+
"isViewNode": true,
|
|
2959
|
+
"metadata": {
|
|
2960
|
+
"path": [],
|
|
2961
|
+
"type": "Aggregation"
|
|
2962
|
+
}
|
|
2963
|
+
},
|
|
2964
|
+
"columns": {
|
|
2965
|
+
"type": "object",
|
|
2966
|
+
"additionalProperties": {
|
|
2967
|
+
"$ref": "#/definitions/sap.fe.macros.table.Column"
|
|
2968
|
+
},
|
|
2969
|
+
"isViewNode": true,
|
|
2970
|
+
"metadata": {
|
|
2971
|
+
"path": [],
|
|
2972
|
+
"type": "Aggregation"
|
|
2973
|
+
}
|
|
2974
|
+
},
|
|
2975
|
+
"beforeRebindTable": {
|
|
2976
|
+
"type": "string",
|
|
2977
|
+
"description": "An event is triggered when the table is about to be rebinded. This event contains information about the binding info.\nYou can use this event to add or read: Filters, Sorters.\nYou can use this event to read the binding info.\nYou can use this event to add: Selects.\n",
|
|
2978
|
+
"artifactType": "XMLProperty",
|
|
2979
|
+
"metadata": {
|
|
2980
|
+
"type": "Event"
|
|
2981
|
+
}
|
|
2982
|
+
},
|
|
2983
|
+
"rowPress": {
|
|
2984
|
+
"type": "string",
|
|
2985
|
+
"description": "An event is triggered when the user chooses a row; the event contains information about which row is chosen.\nYou can set this in order to handle the navigation manually.\n",
|
|
2986
|
+
"artifactType": "XMLProperty",
|
|
2987
|
+
"metadata": {
|
|
2988
|
+
"type": "Event"
|
|
2989
|
+
}
|
|
2990
|
+
},
|
|
2991
|
+
"selectionChange": {
|
|
2992
|
+
"type": "string",
|
|
2993
|
+
"description": "An event triggered when the selection in the table changes.",
|
|
2994
|
+
"artifactType": "XMLProperty",
|
|
2995
|
+
"metadata": {
|
|
2996
|
+
"type": "Event"
|
|
2997
|
+
}
|
|
2998
|
+
}
|
|
2999
|
+
},
|
|
3000
|
+
"additionalProperties": false,
|
|
3001
|
+
"metadata": {
|
|
3002
|
+
"path": [],
|
|
3003
|
+
"type": "Control"
|
|
3004
|
+
}
|
|
3005
|
+
},
|
|
2683
3006
|
"sap.fe.macros.table.TreeTableCreationOptions": {
|
|
2684
3007
|
"description": "Create options for the tree table.",
|
|
2685
3008
|
"isViewNode": true,
|
|
2686
3009
|
"type": "object",
|
|
2687
3010
|
"properties": {
|
|
3011
|
+
"createInPlace": {
|
|
3012
|
+
"type": "boolean",
|
|
3013
|
+
"description": "Specifies if the new entry should be placed at the position computed by the backend (e.g. taking sorting into account).\nThe default value is 'false' (that is, the new entry is placed as the first child below its parent).\n",
|
|
3014
|
+
"artifactType": "XMLProperty",
|
|
3015
|
+
"metadata": {
|
|
3016
|
+
"type": "Property"
|
|
3017
|
+
}
|
|
3018
|
+
},
|
|
2688
3019
|
"isCreateEnabled": {
|
|
2689
3020
|
"type": "string",
|
|
2690
3021
|
"description": "Defines the extension point to control the enablement of the Create button or Create Menu buttons.\n",
|