@sap/ux-specification 1.108.14 → 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 +67 -2
- 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 +10 -10
- package/dist/schemas/v2/AnalyticalListPageConfig.json +42 -4
- package/dist/schemas/v2/ApplicationV2.json +2 -1
- package/dist/schemas/v2/ListReportConfig.json +578 -540
- package/dist/schemas/v2/ObjectPageConfig.json +92 -24
- package/dist/schemas/v4/ApplicationV4.json +2 -1
- package/dist/schemas/v4/ListReportConfig.json +124 -37
- package/dist/schemas/v4/ObjectPageConfig.json +176 -42
- 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/distTagEvaluator.d.ts.map +1 -1
- package/dist/src/sync/common/distTagEvaluator.js +9 -2
- package/dist/src/sync/common/distTagEvaluator.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/i18n.json +5 -2
- package/dist/src/sync/common/importProject.d.ts.map +1 -1
- package/dist/src/sync/common/importProject.js +21 -11
- package/dist/src/sync/common/importProject.js.map +1 -1
- package/dist/src/sync/common/utils.d.ts +17 -8
- package/dist/src/sync/common/utils.d.ts.map +1 -1
- package/dist/src/sync/common/utils.js +84 -28
- 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/export/controls/Fragment.d.ts.map +1 -1
- package/dist/src/sync/v2/export/controls/Fragment.js +2 -4
- package/dist/src/sync/v2/export/controls/Fragment.js.map +1 -1
- package/dist/src/sync/v2/export/exportPage.d.ts.map +1 -1
- package/dist/src/sync/v2/export/exportPage.js +13 -3
- package/dist/src/sync/v2/export/exportPage.js.map +1 -1
- package/dist/src/sync/v2/export/manifest.js +1 -1
- package/dist/src/sync/v2/export/manifest.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/app/appProvider.d.ts +2 -2
- package/dist/src/sync/v2/import/app/appProvider.d.ts.map +1 -1
- package/dist/src/sync/v2/import/app/appProvider.js +41 -18
- package/dist/src/sync/v2/import/app/appProvider.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 +44 -19
- 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 +6 -27
- 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 +17 -29
- 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 +84 -62
- package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v2/import/utils.d.ts +15 -0
- package/dist/src/sync/v2/import/utils.d.ts.map +1 -1
- package/dist/src/sync/v2/import/utils.js +69 -5
- package/dist/src/sync/v2/import/utils.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 +38 -15
- 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 +60 -38
- package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v4/import/app/appProvider.d.ts.map +1 -1
- package/dist/src/sync/v4/import/app/appProvider.js +71 -57
- package/dist/src/sync/v4/import/app/appProvider.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 +64 -22
- 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 +56 -19
- package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v4/import/utils.d.ts +1 -1
- package/dist/src/sync/v4/import/utils.d.ts.map +1 -1
- package/dist/src/sync/v4/import/utils.js +4 -4
- package/dist/src/sync/v4/import/utils.js.map +1 -1
- package/dist/src/sync/v4/utils/utils.d.ts +15 -8
- package/dist/src/sync/v4/utils/utils.d.ts.map +1 -1
- package/dist/src/sync/v4/utils/utils.js +65 -13
- package/dist/src/sync/v4/utils/utils.js.map +1 -1
- package/package.json +10 -10
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"variantManagement": {
|
|
11
11
|
"$ref": "#/definitions/VariantManagementTypeObjectPage",
|
|
12
|
-
"description": "
|
|
12
|
+
"description": "Allows you to enable and disable variant management for tables.\n\n- None (default): No variant management is possible by default.\n- Control: Individual personalization for each control is possible.",
|
|
13
13
|
"artifactType": "Manifest"
|
|
14
14
|
},
|
|
15
15
|
"sections": {
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"type": "string"
|
|
113
113
|
}
|
|
114
114
|
],
|
|
115
|
-
"description": "
|
|
115
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
116
116
|
"artifactType": "Manifest"
|
|
117
117
|
},
|
|
118
118
|
"enabled": {
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"type": "string"
|
|
131
131
|
}
|
|
132
132
|
],
|
|
133
|
-
"description": "
|
|
133
|
+
"description": "Allows you to define if the action should be enabled. The default value is \"true\".",
|
|
134
134
|
"artifactType": "Manifest"
|
|
135
135
|
}
|
|
136
136
|
},
|
|
@@ -181,12 +181,13 @@
|
|
|
181
181
|
"type": "object",
|
|
182
182
|
"properties": {
|
|
183
183
|
"navigateToInstance": {
|
|
184
|
-
"description": "By default,
|
|
184
|
+
"description": "Allows you to disable the navigation. By default, navigation is automatically triggered after you have performed an action.",
|
|
185
|
+
"descriptionSrcURL": "https://ui5.sap.com/#/topic/2c65f07f44094012a511d6bd83f50f2d",
|
|
185
186
|
"type": "boolean",
|
|
186
187
|
"artifactType": "Manifest"
|
|
187
188
|
},
|
|
188
189
|
"enableAutoScroll": {
|
|
189
|
-
"description": "
|
|
190
|
+
"description": "Allows you to scroll to the newly created or changed item after you have performed an action.",
|
|
190
191
|
"type": "boolean",
|
|
191
192
|
"artifactType": "Manifest"
|
|
192
193
|
}
|
|
@@ -210,6 +211,9 @@
|
|
|
210
211
|
},
|
|
211
212
|
{
|
|
212
213
|
"$ref": "#/definitions/ObjectPageHeaderSectionAddress"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"$ref": "#/definitions/ObjectPageCustomHeaderSectionFragment"
|
|
213
217
|
}
|
|
214
218
|
]
|
|
215
219
|
}
|
|
@@ -224,6 +228,7 @@
|
|
|
224
228
|
},
|
|
225
229
|
"flexSettings": {
|
|
226
230
|
"$ref": "#/definitions/FlexSettings",
|
|
231
|
+
"description": "Defines the key user adaptation behavior of the header facet.",
|
|
227
232
|
"artifactType": "Manifest"
|
|
228
233
|
}
|
|
229
234
|
},
|
|
@@ -233,14 +238,23 @@
|
|
|
233
238
|
"type": "object",
|
|
234
239
|
"properties": {
|
|
235
240
|
"designtime": {
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"const": "not-adaptable-visibility",
|
|
241
|
+
"$ref": "#/definitions/DesignTime",
|
|
242
|
+
"description": "Allows you to define which settings are available for key user adaptation at design time.",
|
|
239
243
|
"artifactType": "Manifest"
|
|
240
244
|
}
|
|
241
245
|
},
|
|
242
246
|
"additionalProperties": false
|
|
243
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
|
+
},
|
|
244
258
|
"ObjectPageHeaderSectionForm": {
|
|
245
259
|
"type": "object",
|
|
246
260
|
"properties": {
|
|
@@ -258,6 +272,7 @@
|
|
|
258
272
|
},
|
|
259
273
|
"flexSettings": {
|
|
260
274
|
"$ref": "#/definitions/FlexSettings",
|
|
275
|
+
"description": "Defines the key user adaptation behavior of the header facet.",
|
|
261
276
|
"artifactType": "Manifest"
|
|
262
277
|
}
|
|
263
278
|
},
|
|
@@ -280,6 +295,7 @@
|
|
|
280
295
|
},
|
|
281
296
|
"flexSettings": {
|
|
282
297
|
"$ref": "#/definitions/FlexSettings",
|
|
298
|
+
"description": "Defines the key user adaptation behavior of the header facet.",
|
|
283
299
|
"artifactType": "Manifest"
|
|
284
300
|
}
|
|
285
301
|
},
|
|
@@ -302,11 +318,116 @@
|
|
|
302
318
|
},
|
|
303
319
|
"flexSettings": {
|
|
304
320
|
"$ref": "#/definitions/FlexSettings",
|
|
321
|
+
"description": "Defines the key user adaptation behavior of the header facet.",
|
|
305
322
|
"artifactType": "Manifest"
|
|
306
323
|
}
|
|
307
324
|
},
|
|
308
325
|
"additionalProperties": false
|
|
309
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.",
|
|
419
|
+
"artifactType": "Manifest"
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
"additionalProperties": false
|
|
423
|
+
},
|
|
424
|
+
"SectionPosition": {
|
|
425
|
+
"enum": [
|
|
426
|
+
"After",
|
|
427
|
+
"Before"
|
|
428
|
+
],
|
|
429
|
+
"type": "string"
|
|
430
|
+
},
|
|
310
431
|
"ObjectPageLayout": {
|
|
311
432
|
"description": "Page Layout",
|
|
312
433
|
"isViewNode": true,
|
|
@@ -314,7 +435,7 @@
|
|
|
314
435
|
"properties": {
|
|
315
436
|
"sectionLayout": {
|
|
316
437
|
"$ref": "#/definitions/SectionLayoutType",
|
|
317
|
-
"description": "
|
|
438
|
+
"description": "Allows you to define the layout of the sections.\n\n- Page (default): In this mode, all the sections and subsections are added to the same page.\n- Tabs: In this mode, the sections are represented as tabs under the header facet.",
|
|
318
439
|
"artifactType": "Manifest"
|
|
319
440
|
}
|
|
320
441
|
},
|
|
@@ -417,7 +538,7 @@
|
|
|
417
538
|
},
|
|
418
539
|
"selectionMode": {
|
|
419
540
|
"$ref": "#/definitions/SelectionMode",
|
|
420
|
-
"description": "
|
|
541
|
+
"description": "Allows you to enable or disable row selection and choose between single or multiple row selection.\n\n- Auto: This type is now deprecated. Choose any of the following modes.\n- Multi (default): This type allows multiple table selections if relevant actions are available in the toolbar. In edit mode, multiple selection is possible with the delete button.\n- Single: This type allows single table selection if relevant actions are available in the toolbar. In edit mode, multiple selection is possible with the Delete button.\n- None: No table selection is possible in display mode. In edit mode, the selection (including multiple row selection) is still possible when the Delete button is available in the table toolbar.",
|
|
421
542
|
"artifactType": "Manifest"
|
|
422
543
|
},
|
|
423
544
|
"selectAll": {
|
|
@@ -426,17 +547,19 @@
|
|
|
426
547
|
"artifactType": "Manifest"
|
|
427
548
|
},
|
|
428
549
|
"selectionLimit": {
|
|
429
|
-
"description": "
|
|
550
|
+
"description": "You can define how many items can be selected at a time using the selectionLimit.",
|
|
430
551
|
"type": "number",
|
|
431
552
|
"artifactType": "Manifest"
|
|
432
553
|
},
|
|
433
554
|
"enableExport": {
|
|
434
|
-
"description": "
|
|
555
|
+
"description": "By default, export is enabled in the List Report and on the Object Page. When enabled, the Export button is displayed in the table toolbar.",
|
|
556
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/4bab6f2043814257974b52d4dafe1dcd",
|
|
435
557
|
"type": "boolean",
|
|
436
558
|
"artifactType": "Manifest"
|
|
437
559
|
},
|
|
438
560
|
"condensedTableLayout": {
|
|
439
|
-
"description": "
|
|
561
|
+
"description": "Allows you to set the content density to condensed for ui.table on the List Report and Object Page.",
|
|
562
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/f3cc057e405c4fd58ee2ed42c557797c",
|
|
440
563
|
"type": "boolean",
|
|
441
564
|
"artifactType": "Manifest"
|
|
442
565
|
}
|
|
@@ -531,7 +654,7 @@
|
|
|
531
654
|
"type": "string"
|
|
532
655
|
}
|
|
533
656
|
],
|
|
534
|
-
"description": "
|
|
657
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
535
658
|
"artifactType": "Manifest"
|
|
536
659
|
},
|
|
537
660
|
"enabled": {
|
|
@@ -549,7 +672,7 @@
|
|
|
549
672
|
"type": "string"
|
|
550
673
|
}
|
|
551
674
|
],
|
|
552
|
-
"description": "
|
|
675
|
+
"description": "Allows you to define if the action should be enabled. The default value is \"true\".",
|
|
553
676
|
"artifactType": "Manifest"
|
|
554
677
|
}
|
|
555
678
|
},
|
|
@@ -689,7 +812,8 @@
|
|
|
689
812
|
"type": "object",
|
|
690
813
|
"properties": {
|
|
691
814
|
"width": {
|
|
692
|
-
"description": "A string type that represents CSS size values.\nRefer to https://
|
|
815
|
+
"description": "A string type that represents CSS size values.\nRefer to https://ui5.sap.com/api/sap.ui.core.CSSSize",
|
|
816
|
+
"descriptionSrcURL": "https://ui5.sap.com/api/sap.ui.core.CSSSize",
|
|
693
817
|
"type": "string",
|
|
694
818
|
"artifactType": "Manifest"
|
|
695
819
|
},
|
|
@@ -715,7 +839,8 @@
|
|
|
715
839
|
"type": "object",
|
|
716
840
|
"properties": {
|
|
717
841
|
"width": {
|
|
718
|
-
"description": "A string type that represents CSS size values.\nRefer to https://
|
|
842
|
+
"description": "A string type that represents CSS size values.\nRefer to https://ui5.sap.com/api/sap.ui.core.CSSSize",
|
|
843
|
+
"descriptionSrcURL": "https://ui5.sap.com/api/sap.ui.core.CSSSize",
|
|
719
844
|
"type": "string",
|
|
720
845
|
"artifactType": "Manifest"
|
|
721
846
|
},
|
|
@@ -742,8 +867,9 @@
|
|
|
742
867
|
"type": "string"
|
|
743
868
|
},
|
|
744
869
|
"width": {
|
|
745
|
-
"description": "A string type that represents CSS size values.\nRefer to https://
|
|
870
|
+
"description": "A string type that represents CSS size values.\nRefer to https://ui5.sap.com/api/sap.ui.core.CSSSize",
|
|
746
871
|
"artifactType": "Manifest",
|
|
872
|
+
"descriptionSrcURL": "https://ui5.sap.com/api/sap.ui.core.CSSSize",
|
|
747
873
|
"type": "string"
|
|
748
874
|
},
|
|
749
875
|
"template": {
|
|
@@ -906,7 +1032,7 @@
|
|
|
906
1032
|
"type": "string"
|
|
907
1033
|
}
|
|
908
1034
|
],
|
|
909
|
-
"description": "
|
|
1035
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
910
1036
|
"artifactType": "Manifest"
|
|
911
1037
|
},
|
|
912
1038
|
"enabled": {
|
|
@@ -924,7 +1050,7 @@
|
|
|
924
1050
|
"type": "string"
|
|
925
1051
|
}
|
|
926
1052
|
],
|
|
927
|
-
"description": "
|
|
1053
|
+
"description": "Allows you to define if the action should be enabled. The default value is \"true\".",
|
|
928
1054
|
"artifactType": "Manifest"
|
|
929
1055
|
}
|
|
930
1056
|
},
|
|
@@ -949,12 +1075,13 @@
|
|
|
949
1075
|
"type": "object",
|
|
950
1076
|
"properties": {
|
|
951
1077
|
"navigateToInstance": {
|
|
952
|
-
"description": "By default,
|
|
1078
|
+
"description": "Allows you to disable the navigation. By default, navigation is automatically triggered after you have performed an action.",
|
|
1079
|
+
"descriptionSrcURL": "https://ui5.sap.com/#/topic/2c65f07f44094012a511d6bd83f50f2d",
|
|
953
1080
|
"type": "boolean",
|
|
954
1081
|
"artifactType": "Manifest"
|
|
955
1082
|
},
|
|
956
1083
|
"enableAutoScroll": {
|
|
957
|
-
"description": "
|
|
1084
|
+
"description": "Allows you to scroll to the newly created or changed item after you have performed an action.",
|
|
958
1085
|
"type": "boolean",
|
|
959
1086
|
"artifactType": "Manifest"
|
|
960
1087
|
}
|
|
@@ -1085,21 +1212,24 @@
|
|
|
1085
1212
|
"type": "object",
|
|
1086
1213
|
"properties": {
|
|
1087
1214
|
"title": {
|
|
1088
|
-
"description": "The label of
|
|
1215
|
+
"description": "The label of a custom section, preferably as an i18n key.",
|
|
1216
|
+
"artifactType": "Manifest",
|
|
1089
1217
|
"i18nClassification": "TIT: Custom section title",
|
|
1090
|
-
"type": "string"
|
|
1091
|
-
"artifactType": "Manifest"
|
|
1218
|
+
"type": "string"
|
|
1092
1219
|
},
|
|
1093
1220
|
"fragmentName": {
|
|
1094
|
-
"
|
|
1095
|
-
"artifactType": "Manifest"
|
|
1221
|
+
"description": "The path to the XML template containing the section control.",
|
|
1222
|
+
"artifactType": "Manifest",
|
|
1223
|
+
"type": "string"
|
|
1096
1224
|
},
|
|
1097
1225
|
"relatedFacet": {
|
|
1098
|
-
"
|
|
1099
|
-
"artifactType": "Manifest"
|
|
1226
|
+
"description": "Use the key of another facet/section as a placement anchor.",
|
|
1227
|
+
"artifactType": "Manifest",
|
|
1228
|
+
"type": "string"
|
|
1100
1229
|
},
|
|
1101
1230
|
"relativePosition": {
|
|
1102
1231
|
"$ref": "#/definitions/SectionPosition",
|
|
1232
|
+
"description": "Define the placement, either before or after the anchor facet/section.",
|
|
1103
1233
|
"artifactType": "Manifest"
|
|
1104
1234
|
}
|
|
1105
1235
|
},
|
|
@@ -1109,13 +1239,6 @@
|
|
|
1109
1239
|
"title"
|
|
1110
1240
|
]
|
|
1111
1241
|
},
|
|
1112
|
-
"SectionPosition": {
|
|
1113
|
-
"enum": [
|
|
1114
|
-
"After",
|
|
1115
|
-
"Before"
|
|
1116
|
-
],
|
|
1117
|
-
"type": "string"
|
|
1118
|
-
},
|
|
1119
1242
|
"CustomSections": {
|
|
1120
1243
|
"description": "Custom Sections",
|
|
1121
1244
|
"isViewNode": true,
|
|
@@ -1138,27 +1261,37 @@
|
|
|
1138
1261
|
"type": "object",
|
|
1139
1262
|
"properties": {
|
|
1140
1263
|
"className": {
|
|
1264
|
+
"hidden": true,
|
|
1141
1265
|
"type": "string",
|
|
1142
1266
|
"const": "sap.ui.core.Fragment"
|
|
1143
1267
|
},
|
|
1144
1268
|
"fragmentName": {
|
|
1269
|
+
"description": "The path to the XML template containing the section control.",
|
|
1270
|
+
"artifactType": "Manifest",
|
|
1145
1271
|
"type": "string"
|
|
1146
1272
|
},
|
|
1147
1273
|
"relatedFacet": {
|
|
1274
|
+
"description": "Use the key of another facet/section as a placement anchor.",
|
|
1275
|
+
"artifactType": "Manifest",
|
|
1148
1276
|
"type": "string"
|
|
1149
1277
|
},
|
|
1150
1278
|
"relativePosition": {
|
|
1151
|
-
"$ref": "#/definitions/SectionPosition"
|
|
1279
|
+
"$ref": "#/definitions/SectionPosition",
|
|
1280
|
+
"description": "Define the placement, either before or after the anchor facet/section."
|
|
1152
1281
|
},
|
|
1153
1282
|
"id": {
|
|
1283
|
+
"description": "The unique ID of a section.",
|
|
1284
|
+
"artifactType": "Manifest",
|
|
1154
1285
|
"type": "string"
|
|
1155
1286
|
},
|
|
1156
1287
|
"type": {
|
|
1288
|
+
"hidden": true,
|
|
1157
1289
|
"type": "string",
|
|
1158
1290
|
"const": "XML"
|
|
1159
1291
|
},
|
|
1160
1292
|
"title": {
|
|
1161
|
-
"description": "The label of
|
|
1293
|
+
"description": "The label of a custom section, preferably as an i18n key.",
|
|
1294
|
+
"artifactType": "Manifest",
|
|
1162
1295
|
"i18nClassification": "TIT: Custom section title",
|
|
1163
1296
|
"type": "string"
|
|
1164
1297
|
}
|
|
@@ -1230,7 +1363,7 @@
|
|
|
1230
1363
|
"type": "string"
|
|
1231
1364
|
}
|
|
1232
1365
|
],
|
|
1233
|
-
"description": "
|
|
1366
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
1234
1367
|
"artifactType": "Manifest"
|
|
1235
1368
|
},
|
|
1236
1369
|
"enabled": {
|
|
@@ -1248,7 +1381,7 @@
|
|
|
1248
1381
|
"type": "string"
|
|
1249
1382
|
}
|
|
1250
1383
|
],
|
|
1251
|
-
"description": "
|
|
1384
|
+
"description": "Allows you to define if the action should be enabled. The default value is \"true\".",
|
|
1252
1385
|
"artifactType": "Manifest"
|
|
1253
1386
|
}
|
|
1254
1387
|
},
|
|
@@ -1292,12 +1425,13 @@
|
|
|
1292
1425
|
"type": "object",
|
|
1293
1426
|
"properties": {
|
|
1294
1427
|
"navigateToInstance": {
|
|
1295
|
-
"description": "By default,
|
|
1428
|
+
"description": "Allows you to disable the navigation. By default, navigation is automatically triggered after you have performed an action.",
|
|
1429
|
+
"descriptionSrcURL": "https://ui5.sap.com/#/topic/2c65f07f44094012a511d6bd83f50f2d",
|
|
1296
1430
|
"type": "boolean",
|
|
1297
1431
|
"artifactType": "Manifest"
|
|
1298
1432
|
},
|
|
1299
1433
|
"enableAutoScroll": {
|
|
1300
|
-
"description": "
|
|
1434
|
+
"description": "Allows you to scroll to the newly created or changed item after you have performed an action.",
|
|
1301
1435
|
"type": "boolean",
|
|
1302
1436
|
"artifactType": "Manifest"
|
|
1303
1437
|
}
|
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,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AAoD;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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distTagEvaluator.d.ts","sourceRoot":"","sources":["../../../../src/sync/common/distTagEvaluator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAOnE,qBAAa,gBAAgB;IACzB,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,CAAM;;IAQrC;;OAEG;IACH,MAAM,CAAC,mBAAmB,IAAI,IAAI;IAIlC;;;OAGG;IACI,cAAc,IAAI,MAAM,GAAG,SAAS;IAI3C;;;;;OAKG;IACI,oBAAoB,IAAI,MAAM,EAAE;IAoBvC;;;;OAIG;IACI,yBAAyB,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"distTagEvaluator.d.ts","sourceRoot":"","sources":["../../../../src/sync/common/distTagEvaluator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAOnE,qBAAa,gBAAgB;IACzB,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,CAAM;;IAQrC;;OAEG;IACH,MAAM,CAAC,mBAAmB,IAAI,IAAI;IAIlC;;;OAGG;IACI,cAAc,IAAI,MAAM,GAAG,SAAS;IAI3C;;;;;OAKG;IACI,oBAAoB,IAAI,MAAM,EAAE;IAoBvC;;;;OAIG;IACI,yBAAyB,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,GAAG,IAAI;CA6BzF"}
|
|
@@ -27,6 +27,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.DistTagEvaluator = void 0;
|
|
30
|
+
const ux_specification_types_1 = require("@sap/ux-specification-types");
|
|
30
31
|
const extensionLogger_1 = require("../../extensionLogger");
|
|
31
32
|
const i18next_1 = __importDefault(require("i18next"));
|
|
32
33
|
const distTagsJSON = __importStar(require("./dist_tag.json"));
|
|
@@ -89,7 +90,10 @@ class DistTagEvaluator {
|
|
|
89
90
|
const message = i18next_1.default.t('UNKNOWNMINUI5VERSION', { minUI5Version });
|
|
90
91
|
(0, extensionLogger_1.log)(logger, {
|
|
91
92
|
severity: "info" /* LogSeverity.Info */,
|
|
92
|
-
message
|
|
93
|
+
message,
|
|
94
|
+
location: {
|
|
95
|
+
path: ux_specification_types_1.MANIFESTPATH
|
|
96
|
+
}
|
|
93
97
|
});
|
|
94
98
|
return;
|
|
95
99
|
}
|
|
@@ -98,7 +102,10 @@ class DistTagEvaluator {
|
|
|
98
102
|
const message = i18next_1.default.t('WRONGMINUI5VERSION', { minUI5Version });
|
|
99
103
|
(0, extensionLogger_1.log)(logger, {
|
|
100
104
|
severity: "warning" /* LogSeverity.Warning */,
|
|
101
|
-
message
|
|
105
|
+
message,
|
|
106
|
+
location: {
|
|
107
|
+
path: ux_specification_types_1.MANIFESTPATH
|
|
108
|
+
}
|
|
102
109
|
});
|
|
103
110
|
}
|
|
104
111
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distTagEvaluator.js","sourceRoot":"","sources":["../../../../src/sync/common/distTagEvaluator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
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|
|
|
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,MAAM,GACjB,MAAM,GAAG,SAAS,CAwDpB;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,oBAAoB,EAAE,MAAM,EAAE,eAAe,EAAE,iBAAiB,GAAG,MAAM,CAarG;AAED;;;;;GAKG;AAEH,wBAAgB,kBAAkB,CAC9B,IAAI,EAAE,GAAG,EACT,eAAe,EAAE,iBAAiB,GACnC;IAAE,UAAU,EAAE,MAAM,CA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