@sap/ux-specification 1.96.47 → 1.96.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +68 -3
- 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 +579 -541
- package/dist/schemas/v2/ObjectPageConfig.json +92 -24
- package/dist/schemas/v4/ApplicationV4.json +2 -1
- package/dist/schemas/v4/ListReportConfig.json +122 -36
- 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 +74 -49
- 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 +61 -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>/editMode} === 'Editable'}",
|
|
361
|
+
"{= ${ui>/editMode} !== 'Editable'}"
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"type": "string"
|
|
366
|
+
}
|
|
367
|
+
],
|
|
368
|
+
"description": "Defines if the header facet is displayed in the header area.",
|
|
369
|
+
"artifactType": "Manifest"
|
|
370
|
+
},
|
|
371
|
+
"title": {
|
|
372
|
+
"description": "The label of a custom section, preferably as an i18n key.",
|
|
373
|
+
"artifactType": "Manifest",
|
|
374
|
+
"i18nClassification": "TIT: Custom section title",
|
|
375
|
+
"type": "string"
|
|
376
|
+
},
|
|
377
|
+
"fragmentName": {
|
|
378
|
+
"description": "The path to the XML template containing the section control.",
|
|
379
|
+
"artifactType": "Manifest",
|
|
380
|
+
"type": "string"
|
|
381
|
+
},
|
|
382
|
+
"relatedFacet": {
|
|
383
|
+
"description": "Use the key of another facet/section as a placement anchor.",
|
|
384
|
+
"artifactType": "Manifest",
|
|
385
|
+
"type": "string"
|
|
386
|
+
},
|
|
387
|
+
"relativePosition": {
|
|
388
|
+
"$ref": "#/definitions/SectionPosition",
|
|
389
|
+
"description": "Define the placement, either before or after the anchor facet/section.",
|
|
390
|
+
"artifactType": "Manifest"
|
|
391
|
+
},
|
|
392
|
+
"stashed": {
|
|
393
|
+
"description": "Header facets marked as stashed are initially not visible on the UI. Key users can add these header facets via key user adaptation.",
|
|
394
|
+
"type": "boolean",
|
|
395
|
+
"artifactType": "Manifest"
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
"additionalProperties": false,
|
|
399
|
+
"required": [
|
|
400
|
+
"fragmentName",
|
|
401
|
+
"title"
|
|
402
|
+
]
|
|
403
|
+
},
|
|
404
|
+
"RequestGroupId": {
|
|
405
|
+
"enum": [
|
|
406
|
+
"Decoration",
|
|
407
|
+
"Heroes",
|
|
408
|
+
"LongRunners",
|
|
409
|
+
"Workers"
|
|
410
|
+
],
|
|
411
|
+
"type": "string"
|
|
412
|
+
},
|
|
413
|
+
"ObjectPageCustomHeaderSectionFlexSettings": {
|
|
414
|
+
"type": "object",
|
|
415
|
+
"properties": {
|
|
416
|
+
"designtime": {
|
|
417
|
+
"$ref": "#/definitions/DesignTime",
|
|
418
|
+
"description": "Allows you to define which settings are available for key user adaptation at design time.",
|
|
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
|
},
|
|
@@ -683,7 +806,8 @@
|
|
|
683
806
|
"type": "object",
|
|
684
807
|
"properties": {
|
|
685
808
|
"width": {
|
|
686
|
-
"description": "A string type that represents CSS size values.\nRefer to https://
|
|
809
|
+
"description": "A string type that represents CSS size values.\nRefer to https://ui5.sap.com/api/sap.ui.core.CSSSize",
|
|
810
|
+
"descriptionSrcURL": "https://ui5.sap.com/api/sap.ui.core.CSSSize",
|
|
687
811
|
"type": "string",
|
|
688
812
|
"artifactType": "Manifest"
|
|
689
813
|
},
|
|
@@ -709,7 +833,8 @@
|
|
|
709
833
|
"type": "object",
|
|
710
834
|
"properties": {
|
|
711
835
|
"width": {
|
|
712
|
-
"description": "A string type that represents CSS size values.\nRefer to https://
|
|
836
|
+
"description": "A string type that represents CSS size values.\nRefer to https://ui5.sap.com/api/sap.ui.core.CSSSize",
|
|
837
|
+
"descriptionSrcURL": "https://ui5.sap.com/api/sap.ui.core.CSSSize",
|
|
713
838
|
"type": "string",
|
|
714
839
|
"artifactType": "Manifest"
|
|
715
840
|
},
|
|
@@ -736,8 +861,9 @@
|
|
|
736
861
|
"type": "string"
|
|
737
862
|
},
|
|
738
863
|
"width": {
|
|
739
|
-
"description": "A string type that represents CSS size values.\nRefer to https://
|
|
864
|
+
"description": "A string type that represents CSS size values.\nRefer to https://ui5.sap.com/api/sap.ui.core.CSSSize",
|
|
740
865
|
"artifactType": "Manifest",
|
|
866
|
+
"descriptionSrcURL": "https://ui5.sap.com/api/sap.ui.core.CSSSize",
|
|
741
867
|
"type": "string"
|
|
742
868
|
},
|
|
743
869
|
"template": {
|
|
@@ -900,7 +1026,7 @@
|
|
|
900
1026
|
"type": "string"
|
|
901
1027
|
}
|
|
902
1028
|
],
|
|
903
|
-
"description": "
|
|
1029
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
904
1030
|
"artifactType": "Manifest"
|
|
905
1031
|
},
|
|
906
1032
|
"enabled": {
|
|
@@ -918,7 +1044,7 @@
|
|
|
918
1044
|
"type": "string"
|
|
919
1045
|
}
|
|
920
1046
|
],
|
|
921
|
-
"description": "
|
|
1047
|
+
"description": "Allows you to define if the action should be enabled. The default value is \"true\".",
|
|
922
1048
|
"artifactType": "Manifest"
|
|
923
1049
|
}
|
|
924
1050
|
},
|
|
@@ -943,12 +1069,13 @@
|
|
|
943
1069
|
"type": "object",
|
|
944
1070
|
"properties": {
|
|
945
1071
|
"navigateToInstance": {
|
|
946
|
-
"description": "By default,
|
|
1072
|
+
"description": "Allows you to disable the navigation. By default, navigation is automatically triggered after you have performed an action.",
|
|
1073
|
+
"descriptionSrcURL": "https://ui5.sap.com/#/topic/2c65f07f44094012a511d6bd83f50f2d",
|
|
947
1074
|
"type": "boolean",
|
|
948
1075
|
"artifactType": "Manifest"
|
|
949
1076
|
},
|
|
950
1077
|
"enableAutoScroll": {
|
|
951
|
-
"description": "
|
|
1078
|
+
"description": "Allows you to scroll to the newly created or changed item after you have performed an action.",
|
|
952
1079
|
"type": "boolean",
|
|
953
1080
|
"artifactType": "Manifest"
|
|
954
1081
|
}
|
|
@@ -1079,21 +1206,24 @@
|
|
|
1079
1206
|
"type": "object",
|
|
1080
1207
|
"properties": {
|
|
1081
1208
|
"title": {
|
|
1082
|
-
"description": "The label of
|
|
1209
|
+
"description": "The label of a custom section, preferably as an i18n key.",
|
|
1210
|
+
"artifactType": "Manifest",
|
|
1083
1211
|
"i18nClassification": "TIT: Custom section title",
|
|
1084
|
-
"type": "string"
|
|
1085
|
-
"artifactType": "Manifest"
|
|
1212
|
+
"type": "string"
|
|
1086
1213
|
},
|
|
1087
1214
|
"fragmentName": {
|
|
1088
|
-
"
|
|
1089
|
-
"artifactType": "Manifest"
|
|
1215
|
+
"description": "The path to the XML template containing the section control.",
|
|
1216
|
+
"artifactType": "Manifest",
|
|
1217
|
+
"type": "string"
|
|
1090
1218
|
},
|
|
1091
1219
|
"relatedFacet": {
|
|
1092
|
-
"
|
|
1093
|
-
"artifactType": "Manifest"
|
|
1220
|
+
"description": "Use the key of another facet/section as a placement anchor.",
|
|
1221
|
+
"artifactType": "Manifest",
|
|
1222
|
+
"type": "string"
|
|
1094
1223
|
},
|
|
1095
1224
|
"relativePosition": {
|
|
1096
1225
|
"$ref": "#/definitions/SectionPosition",
|
|
1226
|
+
"description": "Define the placement, either before or after the anchor facet/section.",
|
|
1097
1227
|
"artifactType": "Manifest"
|
|
1098
1228
|
}
|
|
1099
1229
|
},
|
|
@@ -1103,13 +1233,6 @@
|
|
|
1103
1233
|
"title"
|
|
1104
1234
|
]
|
|
1105
1235
|
},
|
|
1106
|
-
"SectionPosition": {
|
|
1107
|
-
"enum": [
|
|
1108
|
-
"After",
|
|
1109
|
-
"Before"
|
|
1110
|
-
],
|
|
1111
|
-
"type": "string"
|
|
1112
|
-
},
|
|
1113
1236
|
"CustomSections": {
|
|
1114
1237
|
"description": "Custom Sections",
|
|
1115
1238
|
"isViewNode": true,
|
|
@@ -1132,27 +1255,37 @@
|
|
|
1132
1255
|
"type": "object",
|
|
1133
1256
|
"properties": {
|
|
1134
1257
|
"className": {
|
|
1258
|
+
"hidden": true,
|
|
1135
1259
|
"type": "string",
|
|
1136
1260
|
"const": "sap.ui.core.Fragment"
|
|
1137
1261
|
},
|
|
1138
1262
|
"fragmentName": {
|
|
1263
|
+
"description": "The path to the XML template containing the section control.",
|
|
1264
|
+
"artifactType": "Manifest",
|
|
1139
1265
|
"type": "string"
|
|
1140
1266
|
},
|
|
1141
1267
|
"relatedFacet": {
|
|
1268
|
+
"description": "Use the key of another facet/section as a placement anchor.",
|
|
1269
|
+
"artifactType": "Manifest",
|
|
1142
1270
|
"type": "string"
|
|
1143
1271
|
},
|
|
1144
1272
|
"relativePosition": {
|
|
1145
|
-
"$ref": "#/definitions/SectionPosition"
|
|
1273
|
+
"$ref": "#/definitions/SectionPosition",
|
|
1274
|
+
"description": "Define the placement, either before or after the anchor facet/section."
|
|
1146
1275
|
},
|
|
1147
1276
|
"id": {
|
|
1277
|
+
"description": "The unique ID of a section.",
|
|
1278
|
+
"artifactType": "Manifest",
|
|
1148
1279
|
"type": "string"
|
|
1149
1280
|
},
|
|
1150
1281
|
"type": {
|
|
1282
|
+
"hidden": true,
|
|
1151
1283
|
"type": "string",
|
|
1152
1284
|
"const": "XML"
|
|
1153
1285
|
},
|
|
1154
1286
|
"title": {
|
|
1155
|
-
"description": "The label of
|
|
1287
|
+
"description": "The label of a custom section, preferably as an i18n key.",
|
|
1288
|
+
"artifactType": "Manifest",
|
|
1156
1289
|
"i18nClassification": "TIT: Custom section title",
|
|
1157
1290
|
"type": "string"
|
|
1158
1291
|
}
|
|
@@ -1224,7 +1357,7 @@
|
|
|
1224
1357
|
"type": "string"
|
|
1225
1358
|
}
|
|
1226
1359
|
],
|
|
1227
|
-
"description": "
|
|
1360
|
+
"description": "Allows you to define if the action button is visible on the screen.",
|
|
1228
1361
|
"artifactType": "Manifest"
|
|
1229
1362
|
},
|
|
1230
1363
|
"enabled": {
|
|
@@ -1242,7 +1375,7 @@
|
|
|
1242
1375
|
"type": "string"
|
|
1243
1376
|
}
|
|
1244
1377
|
],
|
|
1245
|
-
"description": "
|
|
1378
|
+
"description": "Allows you to define if the action should be enabled. The default value is \"true\".",
|
|
1246
1379
|
"artifactType": "Manifest"
|
|
1247
1380
|
}
|
|
1248
1381
|
},
|
|
@@ -1286,12 +1419,13 @@
|
|
|
1286
1419
|
"type": "object",
|
|
1287
1420
|
"properties": {
|
|
1288
1421
|
"navigateToInstance": {
|
|
1289
|
-
"description": "By default,
|
|
1422
|
+
"description": "Allows you to disable the navigation. By default, navigation is automatically triggered after you have performed an action.",
|
|
1423
|
+
"descriptionSrcURL": "https://ui5.sap.com/#/topic/2c65f07f44094012a511d6bd83f50f2d",
|
|
1290
1424
|
"type": "boolean",
|
|
1291
1425
|
"artifactType": "Manifest"
|
|
1292
1426
|
},
|
|
1293
1427
|
"enableAutoScroll": {
|
|
1294
|
-
"description": "
|
|
1428
|
+
"description": "Allows you to scroll to the newly created or changed item after you have performed an action.",
|
|
1295
1429
|
"type": "boolean",
|
|
1296
1430
|
"artifactType": "Manifest"
|
|
1297
1431
|
}
|
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;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gB,uBAAuB,CAAC,qBAAoD;IACxF,MAAM,iBAAiB,GAAG,YAAY,CAAC,GAAG,CAAC,qBAAqB,CAAC,eAAe,CAAC,CAAC;IAClF,IAAI,iBAAiB,IAAI,OAAO,iBAAiB,KAAK,UAAU,EAAE;QAC9D,IAAA,yBAAS,EAAC,qBAAqB,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;QAC9C,OAAO,iBAAiB,CACpB,qBAAqB,CAAC,QAAQ,EAC9B,qBAAqB,CAAC,IAAI,EAC1B,qBAAqB,CAAC,QAAQ,CACjC,CAAC;KACL;SAAM;QACH,OAAO;KACV;AACL,CAAC;AAZD,0DAYC"}
|
|
@@ -1 +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,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,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,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