@sap/ux-specification 1.84.73 → 1.84.75
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 -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-ListReport.html +2 -2
- package/dist/documentation/v4/v4-ObjectPage.html +2 -2
- package/dist/index-min.js +46 -46
- package/dist/index-min.js.map +4 -4
- package/dist/package.json +7 -7
- package/dist/schemas/v2/AnalyticalListPageConfig.json +42 -4
- package/dist/schemas/v2/ApplicationV2.json +2 -1
- package/dist/schemas/v2/ListReportConfig.json +560 -522
- package/dist/schemas/v2/ObjectPageConfig.json +92 -24
- package/dist/schemas/v4/ApplicationV4.json +2 -1
- package/dist/schemas/v4/ListReportConfig.json +35 -22
- package/dist/schemas/v4/ObjectPageConfig.json +27 -12
- 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 +6 -5
- package/dist/src/sync/common/generate/objectPage.d.ts.map +1 -1
- package/dist/src/sync/common/generate/objectPage.js +117 -86
- 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 +20 -10
- package/dist/src/sync/common/importProject.js.map +1 -1
- package/dist/src/sync/common/utils.d.ts +15 -8
- package/dist/src/sync/common/utils.d.ts.map +1 -1
- package/dist/src/sync/common/utils.js +43 -24
- 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 +62 -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 +14 -0
- package/dist/src/sync/v2/import/utils.d.ts.map +1 -1
- package/dist/src/sync/v2/import/utils.js +68 -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/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 +45 -47
- 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 +17 -3
- package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v4/import/app/appProvider.d.ts +3 -2
- package/dist/src/sync/v4/import/app/appProvider.d.ts.map +1 -1
- package/dist/src/sync/v4/import/app/appProvider.js +68 -55
- 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 +49 -33
- 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 +52 -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/package.json +7 -7
|
@@ -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": {
|
|
@@ -113,7 +113,8 @@
|
|
|
113
113
|
"type": "object",
|
|
114
114
|
"properties": {
|
|
115
115
|
"designtime": {
|
|
116
|
-
"description": "
|
|
116
|
+
"description": "Allows you to define which settings are available for key user adaptation at design time.",
|
|
117
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/ccd45ba3f0b446a0901b2c9d42b8ad53.html https://ui5.sap.com/sdk/#/topic/de9fd55c69af4b46863f5d26b5d796c4.html",
|
|
117
118
|
"type": "string",
|
|
118
119
|
"const": "not-adaptable-visibility",
|
|
119
120
|
"artifactType": "Manifest"
|
|
@@ -194,7 +195,7 @@
|
|
|
194
195
|
"properties": {
|
|
195
196
|
"sectionLayout": {
|
|
196
197
|
"$ref": "#/definitions/SectionLayoutType",
|
|
197
|
-
"description": "
|
|
198
|
+
"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.",
|
|
198
199
|
"artifactType": "Manifest"
|
|
199
200
|
}
|
|
200
201
|
},
|
|
@@ -289,7 +290,7 @@
|
|
|
289
290
|
},
|
|
290
291
|
"selectionMode": {
|
|
291
292
|
"$ref": "#/definitions/SelectionMode",
|
|
292
|
-
"description": "
|
|
293
|
+
"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.",
|
|
293
294
|
"artifactType": "Manifest"
|
|
294
295
|
},
|
|
295
296
|
"selectAll": {
|
|
@@ -298,17 +299,19 @@
|
|
|
298
299
|
"artifactType": "Manifest"
|
|
299
300
|
},
|
|
300
301
|
"selectionLimit": {
|
|
301
|
-
"description": "
|
|
302
|
+
"description": "You can define how many items can be selected at a time using the selectionLimit.",
|
|
302
303
|
"type": "number",
|
|
303
304
|
"artifactType": "Manifest"
|
|
304
305
|
},
|
|
305
306
|
"enableExport": {
|
|
306
|
-
"description": "
|
|
307
|
+
"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.",
|
|
308
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/4bab6f2043814257974b52d4dafe1dcd",
|
|
307
309
|
"type": "boolean",
|
|
308
310
|
"artifactType": "Manifest"
|
|
309
311
|
},
|
|
310
312
|
"condensedTableLayout": {
|
|
311
|
-
"description": "
|
|
313
|
+
"description": "Allows you to set the content density to condensed for ui.table on the List Report and Object Page.",
|
|
314
|
+
"descriptionSrcURL": "https://ui5.sap.com/sdk/#/topic/f3cc057e405c4fd58ee2ed42c557797c",
|
|
312
315
|
"type": "boolean",
|
|
313
316
|
"artifactType": "Manifest"
|
|
314
317
|
}
|
|
@@ -438,7 +441,8 @@
|
|
|
438
441
|
"type": "object",
|
|
439
442
|
"properties": {
|
|
440
443
|
"width": {
|
|
441
|
-
"description": "A string type that represents CSS size values.\nRefer to https://
|
|
444
|
+
"description": "A string type that represents CSS size values.\nRefer to https://ui5.sap.com/api/sap.ui.core.CSSSize",
|
|
445
|
+
"descriptionSrcURL": "https://ui5.sap.com/api/sap.ui.core.CSSSize",
|
|
442
446
|
"type": "string",
|
|
443
447
|
"artifactType": "Manifest"
|
|
444
448
|
},
|
|
@@ -469,7 +473,8 @@
|
|
|
469
473
|
"artifactType": "Manifest"
|
|
470
474
|
},
|
|
471
475
|
"width": {
|
|
472
|
-
"description": "A string type that represents CSS size values.\nRefer to https://
|
|
476
|
+
"description": "A string type that represents CSS size values.\nRefer to https://ui5.sap.com/api/sap.ui.core.CSSSize",
|
|
477
|
+
"descriptionSrcURL": "https://ui5.sap.com/api/sap.ui.core.CSSSize",
|
|
473
478
|
"type": "string",
|
|
474
479
|
"artifactType": "Manifest"
|
|
475
480
|
},
|
|
@@ -490,7 +495,7 @@
|
|
|
490
495
|
"artifactType": "Manifest"
|
|
491
496
|
},
|
|
492
497
|
"enableAutoScroll": {
|
|
493
|
-
"description": "
|
|
498
|
+
"description": "Allows you to scroll to the newly created or changed item after you have performed an action.",
|
|
494
499
|
"type": "boolean",
|
|
495
500
|
"artifactType": "Manifest"
|
|
496
501
|
}
|
|
@@ -620,27 +625,37 @@
|
|
|
620
625
|
"type": "object",
|
|
621
626
|
"properties": {
|
|
622
627
|
"className": {
|
|
628
|
+
"hidden": true,
|
|
623
629
|
"type": "string",
|
|
624
630
|
"const": "sap.ui.core.Fragment"
|
|
625
631
|
},
|
|
626
632
|
"fragmentName": {
|
|
633
|
+
"description": "The path to the XML template containing the section control.",
|
|
634
|
+
"artifactType": "Manifest",
|
|
627
635
|
"type": "string"
|
|
628
636
|
},
|
|
629
637
|
"relatedFacet": {
|
|
638
|
+
"description": "Use the key of another facet/section as a placement anchor.",
|
|
639
|
+
"artifactType": "Manifest",
|
|
630
640
|
"type": "string"
|
|
631
641
|
},
|
|
632
642
|
"relativePosition": {
|
|
633
|
-
"$ref": "#/definitions/SectionPosition"
|
|
643
|
+
"$ref": "#/definitions/SectionPosition",
|
|
644
|
+
"description": "Define the placement, either before or after the anchor facet/section."
|
|
634
645
|
},
|
|
635
646
|
"id": {
|
|
647
|
+
"description": "The unique ID of a section.",
|
|
648
|
+
"artifactType": "Manifest",
|
|
636
649
|
"type": "string"
|
|
637
650
|
},
|
|
638
651
|
"type": {
|
|
652
|
+
"hidden": true,
|
|
639
653
|
"type": "string",
|
|
640
654
|
"const": "XML"
|
|
641
655
|
},
|
|
642
656
|
"title": {
|
|
643
|
-
"description": "The label of
|
|
657
|
+
"description": "The label of a custom section, preferably as an i18n key.",
|
|
658
|
+
"artifactType": "Manifest",
|
|
644
659
|
"i18nClassification": "TIT: Custom section title",
|
|
645
660
|
"type": "string"
|
|
646
661
|
}
|
|
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"distTagEvaluator.js","sourceRoot":"","sources":["../../../../src/sync/common/distTagEvaluator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAAwE;AACxE,2DAA4C;AAC5C,sDAA8B;AAC9B,8DAAgD;AAChD,wDAAsE;AAEtE,MAAa,gBAAgB;IAGzB;QACI,IAAI,gBAAgB,CAAC,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE;YAC9C,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,oBAAoB,EAAE,CAAC;SACjE;IACL,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,mBAAmB;QACtB,gBAAgB,CAAC,cAAc,GAAG,EAAE,CAAC;IACzC,CAAC;IAED;;;OAGG;IACI,cAAc;QACjB,OAAO,sBAAkB,CAAC;IAC9B,CAAC;IAED;;;;;OAKG;IACI,oBAAoB;QACvB,IAAI,MAAM,GAAa,EAAE,CAAC;QAC1B,MAAM,QAAQ,GAAG,YAAY,CAAC,QAAQ,CAAC;QAEvC,IAAI,WAAW,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;QACxC,IAAI,WAAW,EAAE;YACb,IAAI,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE;gBACjC,oCAAoC;gBACpC,MAAM,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;aAChC;iBAAM;gBACH,WAAW,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;gBACrE,MAAM,GAAG,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,C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ACP,QAAQ,EAAE;oBACN,IAAI,EAAE,qCAAY;iBACrB;aACJ,CAAC,CAAC;SACN;IACL,CAAC;;AAnFL,4CAoFC;AAnFU,+BAAc,GAAa,EAAE,CAAC"}
|
|
@@ -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
|
|
@@ -34,17 +34,18 @@ export declare function getActionNameAndId(item: any, oDataServiceAVT: Converted
|
|
|
34
34
|
* Add Object Page Footer Action Buttons to app-specific schema
|
|
35
35
|
*
|
|
36
36
|
* @param {object} appSchema Schema of the app
|
|
37
|
-
* @param {
|
|
38
|
-
* @param {
|
|
37
|
+
* @param {GenerateAppSchemaParameters} generateParameters - Schema parameters
|
|
38
|
+
* @param {FioriElementsVersion} version - Fiori elements versions
|
|
39
|
+
* @param {SapUiAppPagesV2} pages - pages found in manifest
|
|
39
40
|
*/
|
|
40
|
-
export declare function addFooterActions(appSchema: Definition, generateParameters: GenerateAppSchemaParameters): void;
|
|
41
|
+
export declare function addFooterActions(appSchema: Definition, generateParameters: GenerateAppSchemaParameters, version?: FioriElementsVersion, pages?: v2.SapUiAppPagesV2): void;
|
|
41
42
|
/**
|
|
42
43
|
* Add Object Page Header Action Buttons to app-specific schema
|
|
43
44
|
* @param {object} appSchema Schema of the app
|
|
44
45
|
* @param {EntityType} entityType - current entity type
|
|
45
46
|
* @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
|
|
46
47
|
*/
|
|
47
|
-
export declare function addHeaderActions(appSchema: Definition, entityType: EntityType, oDataServiceAVT: ConvertedMetadata, addHeaderActionCallBack: any): void;
|
|
48
|
+
export declare function addHeaderActions(appSchema: Definition, entityType: EntityType, oDataServiceAVT: ConvertedMetadata, addHeaderActionCallBack: any, isV2?: boolean): void;
|
|
48
49
|
/**
|
|
49
50
|
* Adds common Object Page Header definitions to the app schema
|
|
50
51
|
* @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;AAydzD;;;;;;;;;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;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