@sap/ux-specification 1.84.35 → 1.84.38
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 +69 -24
- package/dist/documentation/v2/v2-AnalyticalListPage.html +1 -1
- package/dist/documentation/v2/v2-ApplicationV2.html +1 -1
- package/dist/documentation/v2/v2-ListReport.html +1 -1
- package/dist/documentation/v2/v2-ObjectPage.html +1 -1
- package/dist/documentation/v2/v2-OverviewPage.html +1 -1
- package/dist/documentation/v4/v4-ApplicationV4.html +1 -1
- package/dist/documentation/v4/v4-ListReport.html +1 -1
- package/dist/documentation/v4/v4-ObjectPage.html +1 -1
- package/dist/index-min.js +1 -1
- package/dist/schemas/v2/AnalyticalListPageConfig.json +9 -5
- package/dist/schemas/v2/ListReportConfig.json +11 -7
- package/dist/schemas/v2/ObjectPageConfig.json +195 -7
- package/dist/schemas/v4/ListReportConfig.json +34 -4
- package/dist/schemas/v4/ObjectPageConfig.json +36 -0
- package/dist/specification/v2/index-min.js +1 -1
- package/dist/src/apiTypes.d.ts +2 -1
- package/dist/src/project.d.ts +1 -0
- package/dist/src/project.js +13 -5
- package/dist/src/project.js.map +1 -1
- package/dist/src/specification/v2/controls/ObjectPageSection.d.ts +40 -7
- package/dist/src/specification/v2/controls/ObjectPageSection.js.map +1 -1
- package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +2 -3
- package/dist/src/specification/v2/controls/Table.d.ts +5 -2
- package/dist/src/specification/v2/controls/Table.js +5 -0
- package/dist/src/specification/v2/controls/Table.js.map +1 -1
- package/dist/src/specification/v4/controls/ObjectPageSection.d.ts +22 -1
- package/dist/src/specification/v4/controls/ObjectPageSection.js.map +1 -1
- package/dist/src/specification/v4/controls/ObjectPageTable.d.ts +0 -14
- package/dist/src/specification/v4/controls/Table.d.ts +12 -29
- package/dist/src/specification/v4/pages/ListReportConfig.d.ts +6 -1
- package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.d.ts +1 -0
- package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.js.map +1 -1
- package/dist/src/sync/common/decoration/control.d.ts +1 -1
- package/dist/src/sync/common/decoration/control.js +27 -22
- package/dist/src/sync/common/decoration/control.js.map +1 -1
- package/dist/src/sync/common/generate/objectPage.d.ts +5 -4
- package/dist/src/sync/common/generate/objectPage.js +67 -66
- package/dist/src/sync/common/generate/objectPage.js.map +1 -1
- package/dist/src/sync/common/generate/utils.d.ts +53 -12
- package/dist/src/sync/common/generate/utils.js +139 -46
- package/dist/src/sync/common/generate/utils.js.map +1 -1
- package/dist/src/sync/common/import/utils.d.ts +3 -2
- package/dist/src/sync/common/import/utils.js +11 -6
- package/dist/src/sync/common/import/utils.js.map +1 -1
- package/dist/src/sync/common/importProject.js +20 -19
- package/dist/src/sync/common/importProject.js.map +1 -1
- package/dist/src/sync/common/types.d.ts +105 -26
- package/dist/src/sync/common/types.js +101 -22
- package/dist/src/sync/common/types.js.map +1 -1
- package/dist/src/sync/common/utils.d.ts +17 -12
- package/dist/src/sync/common/utils.js +132 -88
- package/dist/src/sync/common/utils.js.map +1 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js +1 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Fragment.js +2 -2
- package/dist/src/sync/v2/export/controls/Fragment.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +26 -14
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +57 -5
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +2 -3
- package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Table.d.ts +3 -3
- package/dist/src/sync/v2/export/controls/Table.js +89 -48
- package/dist/src/sync/v2/export/controls/Table.js.map +1 -1
- package/dist/src/sync/v2/export/export.d.ts +0 -1
- package/dist/src/sync/v2/export/export.js +222 -160
- package/dist/src/sync/v2/export/export.js.map +1 -1
- package/dist/src/sync/v2/export/exportPage.js +35 -34
- package/dist/src/sync/v2/export/exportPage.js.map +1 -1
- package/dist/src/sync/v2/export/manifest.d.ts +22 -0
- package/dist/src/sync/v2/export/manifest.js +77 -36
- package/dist/src/sync/v2/export/manifest.js.map +1 -1
- package/dist/src/sync/v2/export/pages/OverviewPage.d.ts +1 -1
- package/dist/src/sync/v2/export/pages/OverviewPage.js +18 -16
- package/dist/src/sync/v2/export/pages/OverviewPage.js.map +1 -1
- package/dist/src/sync/v2/generate/analyticalListReport.js +10 -10
- package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
- package/dist/src/sync/v2/generate/listReport.js +1 -1
- package/dist/src/sync/v2/generate/listReport.js.map +1 -1
- package/dist/src/sync/v2/generate/objectPage.js +57 -43
- package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v2/generate/utils.d.ts +5 -4
- package/dist/src/sync/v2/generate/utils.js +73 -69
- package/dist/src/sync/v2/generate/utils.js.map +1 -1
- package/dist/src/sync/v2/import/app/appProvider.d.ts +9 -0
- package/dist/src/sync/v2/import/app/appProvider.js +36 -13
- package/dist/src/sync/v2/import/app/appProvider.js.map +1 -1
- package/dist/src/sync/v2/import/app/ovpProvider.js +1 -1
- package/dist/src/sync/v2/import/app/ovpProvider.js.map +1 -1
- package/dist/src/sync/v2/import/common/index.js +6 -6
- package/dist/src/sync/v2/import/common/index.js.map +1 -1
- package/dist/src/sync/v2/import/pages/objectPage.js +93 -101
- package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v2/import/pages/overviewPage.js +1 -1
- package/dist/src/sync/v2/import/pages/overviewPage.js.map +1 -1
- package/dist/src/sync/v2/import/utils.js +1 -1
- package/dist/src/sync/v2/import/utils.js.map +1 -1
- package/dist/src/sync/v2/types.d.ts +8 -3
- package/dist/src/sync/v2/types.js +6 -2
- package/dist/src/sync/v2/types.js.map +1 -1
- package/dist/src/sync/v4/application.d.ts +22 -10
- package/dist/src/sync/v4/application.js +68 -19
- package/dist/src/sync/v4/application.js.map +1 -1
- package/dist/src/sync/v4/export/controls/Table.d.ts +5 -0
- package/dist/src/sync/v4/export/controls/Table.js +91 -50
- package/dist/src/sync/v4/export/controls/Table.js.map +1 -1
- package/dist/src/sync/v4/export/controls/TableColumn.js +4 -4
- package/dist/src/sync/v4/export/controls/TableColumn.js.map +1 -1
- package/dist/src/sync/v4/export/export.js +287 -150
- package/dist/src/sync/v4/export/export.js.map +1 -1
- package/dist/src/sync/v4/export/manifest.js +25 -6
- package/dist/src/sync/v4/export/manifest.js.map +1 -1
- package/dist/src/sync/v4/export/pages/ListReport.d.ts +1 -0
- package/dist/src/sync/v4/export/pages/ListReport.js +7 -0
- package/dist/src/sync/v4/export/pages/ListReport.js.map +1 -1
- package/dist/src/sync/v4/export/pages/ObjectPage.js +3 -2
- package/dist/src/sync/v4/export/pages/ObjectPage.js.map +1 -1
- package/dist/src/sync/v4/export/types.d.ts +5 -5
- package/dist/src/sync/v4/generate/listReport.js +304 -156
- package/dist/src/sync/v4/generate/listReport.js.map +1 -1
- package/dist/src/sync/v4/generate/objectPage.d.ts +1 -1
- package/dist/src/sync/v4/generate/objectPage.js +288 -147
- package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v4/import/app/appProvider.js +32 -22
- package/dist/src/sync/v4/import/app/appProvider.js.map +1 -1
- package/dist/src/sync/v4/import/pages/listReport.js +54 -37
- package/dist/src/sync/v4/import/pages/listReport.js.map +1 -1
- package/dist/src/sync/v4/import/pages/objectPage.d.ts +13 -0
- package/dist/src/sync/v4/import/pages/objectPage.js +64 -35
- package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v4/import/utils.d.ts +2 -1
- package/dist/src/sync/v4/import/utils.js.map +1 -1
- package/dist/src/sync/v4/types.d.ts +2 -0
- package/dist/src/sync/v4/utils/StableIdHelper.js +13 -10
- package/dist/src/sync/v4/utils/StableIdHelper.js.map +1 -1
- package/dist/src/sync/v4/utils/utils.d.ts +7 -7
- package/dist/src/sync/v4/utils/utils.js +43 -32
- package/dist/src/sync/v4/utils/utils.js.map +1 -1
- package/dist/test/unit/export/manifest.test.d.ts +1 -0
- package/package.json +2 -2
|
@@ -5,6 +5,7 @@ import type { MetadataFactory, MetadataInstanceInterface } from '../common/decor
|
|
|
5
5
|
import type { ExportResults } from '../common';
|
|
6
6
|
import type * as v2controls from './export/controls';
|
|
7
7
|
import type * as v2pages from './export/pages';
|
|
8
|
+
import type { Definition } from 'typescript-json-schema';
|
|
8
9
|
export declare type V2Controls = typeof v2controls;
|
|
9
10
|
export declare type V2Pages = typeof v2pages;
|
|
10
11
|
export declare type TransferParameterTypeV2 = {
|
|
@@ -27,13 +28,17 @@ export declare const TREETABLE = "TreeTable<LineItems>";
|
|
|
27
28
|
export declare const ANALYTICALTABLE = "AnalyticalTable<LineItems>";
|
|
28
29
|
export declare const GRIDTABLE = "GridTable<LineItems>";
|
|
29
30
|
export declare enum SectionTypeV2 {
|
|
31
|
+
SectionAddress = "ObjectPageSectionAddressV2",
|
|
32
|
+
SectionChart = "ObjectPageSectionChartV2",
|
|
33
|
+
SectionContact = "ObjectPageSectionContactV2",
|
|
34
|
+
SectionForm = "ObjectPageSectionFormV2",
|
|
30
35
|
Section = "ObjectPageSectionV2",
|
|
31
36
|
SubSection = "ObjectPageSubSectionV2",
|
|
32
|
-
SectionForm = "ObjectPageSectionFormV2",
|
|
33
37
|
SectionTable = "ObjectPageSectionTableV2",
|
|
34
|
-
SectionChart = "ObjectPageSectionChartV2",
|
|
35
38
|
SubSectionForm = "ObjectPageSubSectionFormV2",
|
|
36
39
|
SubSectionTable = "ObjectPageSubSectionTableV2",
|
|
40
|
+
SubSectionAddress = "ObjectPageSubSectionAddressV2",
|
|
41
|
+
SubSectionContact = "ObjectPageSubSectionContactV2",
|
|
37
42
|
SubSectionChart = "ObjectPageSubSectionChartV2"
|
|
38
43
|
}
|
|
39
44
|
export declare enum ActionTypeV2 {
|
|
@@ -59,5 +64,5 @@ export declare type ObjectPageV2ConfigParameters = {
|
|
|
59
64
|
export declare type SectionPartProperties = {
|
|
60
65
|
id: string;
|
|
61
66
|
type: SectionTypeV2;
|
|
62
|
-
schema:
|
|
67
|
+
schema: Definition;
|
|
63
68
|
};
|
|
@@ -7,13 +7,17 @@ exports.ANALYTICALTABLE = 'AnalyticalTable<LineItems>';
|
|
|
7
7
|
exports.GRIDTABLE = 'GridTable<LineItems>';
|
|
8
8
|
var SectionTypeV2;
|
|
9
9
|
(function (SectionTypeV2) {
|
|
10
|
+
SectionTypeV2["SectionAddress"] = "ObjectPageSectionAddressV2";
|
|
11
|
+
SectionTypeV2["SectionChart"] = "ObjectPageSectionChartV2";
|
|
12
|
+
SectionTypeV2["SectionContact"] = "ObjectPageSectionContactV2";
|
|
13
|
+
SectionTypeV2["SectionForm"] = "ObjectPageSectionFormV2";
|
|
10
14
|
SectionTypeV2["Section"] = "ObjectPageSectionV2";
|
|
11
15
|
SectionTypeV2["SubSection"] = "ObjectPageSubSectionV2";
|
|
12
|
-
SectionTypeV2["SectionForm"] = "ObjectPageSectionFormV2";
|
|
13
16
|
SectionTypeV2["SectionTable"] = "ObjectPageSectionTableV2";
|
|
14
|
-
SectionTypeV2["SectionChart"] = "ObjectPageSectionChartV2";
|
|
15
17
|
SectionTypeV2["SubSectionForm"] = "ObjectPageSubSectionFormV2";
|
|
16
18
|
SectionTypeV2["SubSectionTable"] = "ObjectPageSubSectionTableV2";
|
|
19
|
+
SectionTypeV2["SubSectionAddress"] = "ObjectPageSubSectionAddressV2";
|
|
20
|
+
SectionTypeV2["SubSectionContact"] = "ObjectPageSubSectionContactV2";
|
|
17
21
|
SectionTypeV2["SubSectionChart"] = "ObjectPageSubSectionChartV2";
|
|
18
22
|
})(SectionTypeV2 = exports.SectionTypeV2 || (exports.SectionTypeV2 = {}));
|
|
19
23
|
var ActionTypeV2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/sync/v2/types.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/sync/v2/types.ts"],"names":[],"mappings":";;AA2Ba,QAAA,gBAAgB,GAAG,2CAA2C,CAAC;AAC/D,QAAA,iBAAiB,GAAG,4CAA4C,CAAC;AACjE,QAAA,SAAS,GAAG,sBAAsB,CAAC;AACnC,QAAA,eAAe,GAAG,4BAA4B,CAAC;AAC/C,QAAA,SAAS,GAAG,sBAAsB,CAAC;AAEhD,IAAY,aAaX;AAbD,WAAY,aAAa;IACrB,8DAA6C,CAAA;IAC7C,0DAAyC,CAAA;IACzC,8DAA6C,CAAA;IAC7C,wDAAuC,CAAA;IACvC,gDAA+B,CAAA;IAC/B,sDAAqC,CAAA;IACrC,0DAAyC,CAAA;IACzC,8DAA6C,CAAA;IAC7C,gEAA+C,CAAA;IAC/C,oEAAmD,CAAA;IACnD,oEAAmD,CAAA;IACnD,gEAA+C,CAAA;AACnD,CAAC,EAbW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAaxB;AAED,IAAY,YAYX;AAZD,WAAY,YAAY;IACpB,mCAAmB,CAAA;IACnB,uCAAuB,CAAA;IACvB,qDAAqC,CAAA;IACrC,mDAAmC,CAAA;IACnC,wDAAwC,CAAA;IACxC,yCAAyB,CAAA;IACzB,uCAAuB,CAAA;IACvB,4CAA4B,CAAA;IAC5B,+DAA+C,CAAA;IAC/C,6DAA6C,CAAA;IAC7C,kEAAkD,CAAA;AACtD,CAAC,EAZW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAYvB"}
|
|
@@ -6,16 +6,28 @@ export declare const getSettingsPathForPage: (pageName: string[]) => string;
|
|
|
6
6
|
export declare const getSettingsPathForLRViewsPaths: (pageName: string[]) => string;
|
|
7
7
|
export declare const getSettingsPathForHeaderOP: (pageName: string[]) => string;
|
|
8
8
|
export declare const getControlConfigurationPath: (pageName: string[]) => string;
|
|
9
|
-
export declare const getHeaderFacetSettingPath: (pageName: string[],
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
export declare const getHeaderFacetSettingPath: (pageName: string[], _manifest: Manifest, sectionId: string) => string;
|
|
10
|
+
/**
|
|
11
|
+
* Common function that calculates the path in manifest for table settings of a list report or ALP table view
|
|
12
|
+
* @param pageName - page name in manifest
|
|
13
|
+
* @param manifest - manifest (not used)
|
|
14
|
+
* @param targetAnnotationEncoded - encoded target annotation (not used)
|
|
15
|
+
* @param viewKey - view key (not used)
|
|
16
|
+
* @param targetAnnotation - target annotation, i.e. the line item (with or without qualifier)
|
|
17
|
+
* @returns - path as string
|
|
18
|
+
*/
|
|
19
|
+
export declare const getTableSettingsPathForView: (pageName: string[], _manifest: Manifest, _targetAnnotationEncoded: string, _viewKey: string, targetAnnotation: string) => string;
|
|
20
|
+
export declare const getExportSectionId: (sectionId: any) => string;
|
|
21
|
+
export declare const getTableSettingsPathForLR: (pageName: string[], manifest: Manifest, targetAnnotationEncoded: string, columnKey: string, targetAnnotation: string) => string;
|
|
22
|
+
export declare const getQuickVariantPath: (pageName: string[], manifest: Manifest, targetAnnotationEncoded: string, columnKey: string, targetAnnotation: string) => string;
|
|
23
|
+
export declare const getColumnsPathForView: (pageName: string[], _manifest: Manifest, targetAnnotationEncoded: string, columnKey: string, targetAnnotation: string) => string;
|
|
24
|
+
export declare const getColumnsPathForLR: (pageName: string[], manifest: Manifest, targetAnnotationEncoded: string, columnKey: string, targetAnnotation: string) => string;
|
|
25
|
+
export declare const getActionsPathForView: (pageName: string[], _manifest: Manifest, _targetAnnotationEncoded: string, columnKey: string, targetAnnotation: string) => string;
|
|
26
|
+
export declare const getActionsPathForLR: (pageName: string[], manifest: Manifest, targetAnnotationEncoded: string, columnKey: string, targetAnnotation: string) => string;
|
|
27
|
+
export declare const getColumnsPathForOP: (pageName: string[], _manifest: Manifest, sectionId: string, columnKey: string) => string;
|
|
28
|
+
export declare const getActionsPathForOP: (pageName: string[], _manifest: Manifest, sectionId: string, columnKey: string) => string;
|
|
29
|
+
export declare const getTableSettingsPathForOP: (pageName: string[], _manifest: Manifest, sectionId: string) => string;
|
|
30
|
+
export declare const getCustomSectionPath: (pageName: string[], _manifest: Manifest, sectionId: string, pathPart?: string) => string;
|
|
19
31
|
export declare class ApplicationV4 implements Application {
|
|
20
32
|
$schema?: string;
|
|
21
33
|
id?: string;
|
|
@@ -7,6 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
const decorators_1 = require("../common/decoration/decorators");
|
|
10
|
+
const common_1 = require("../common");
|
|
10
11
|
exports.getSettingsPathForPage = (pageName) => {
|
|
11
12
|
return `sap.ui5/routing/targets/${pageName[0]}/options/settings`;
|
|
12
13
|
};
|
|
@@ -19,36 +20,84 @@ exports.getSettingsPathForHeaderOP = (pageName) => {
|
|
|
19
20
|
exports.getControlConfigurationPath = (pageName) => {
|
|
20
21
|
return exports.getSettingsPathForPage(pageName) + '/controlConfiguration';
|
|
21
22
|
};
|
|
22
|
-
exports.getHeaderFacetSettingPath = (pageName,
|
|
23
|
+
exports.getHeaderFacetSettingPath = (pageName, _manifest, sectionId) => {
|
|
23
24
|
return exports.getControlConfigurationPath(pageName) + `/@${"com.sap.vocabularies.UI.v1.HeaderFacets" /* HeaderFacets */}/facets/${sectionId}`;
|
|
24
25
|
};
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
/**
|
|
27
|
+
* Common function that calculates the path in manifest for table settings of a list report or ALP table view
|
|
28
|
+
* @param pageName - page name in manifest
|
|
29
|
+
* @param manifest - manifest (not used)
|
|
30
|
+
* @param targetAnnotationEncoded - encoded target annotation (not used)
|
|
31
|
+
* @param viewKey - view key (not used)
|
|
32
|
+
* @param targetAnnotation - target annotation, i.e. the line item (with or without qualifier)
|
|
33
|
+
* @returns - path as string
|
|
34
|
+
*/
|
|
35
|
+
exports.getTableSettingsPathForView = (pageName, _manifest, _targetAnnotationEncoded, _viewKey, targetAnnotation) => {
|
|
36
|
+
const annotationEncoded = targetAnnotation === null || targetAnnotation === void 0 ? void 0 : targetAnnotation.replace(/\//gi, '??');
|
|
37
|
+
return annotationEncoded
|
|
38
|
+
? exports.getControlConfigurationPath(pageName) + `/${annotationEncoded}/tableSettings`
|
|
39
|
+
: undefined;
|
|
27
40
|
};
|
|
28
|
-
exports.
|
|
29
|
-
|
|
41
|
+
exports.getExportSectionId = (sectionId) => {
|
|
42
|
+
var _a;
|
|
43
|
+
return sectionId.startsWith(`@${"com.sap.vocabularies.UI.v1.PresentationVariant" /* PresentationVariant */}`)
|
|
44
|
+
? (_a = sectionId.split('<')[1]) === null || _a === void 0 ? void 0 : _a.split('>')[0] : sectionId;
|
|
30
45
|
};
|
|
31
|
-
exports.
|
|
32
|
-
|
|
33
|
-
|
|
46
|
+
exports.getTableSettingsPathForLR = (pageName, manifest, targetAnnotationEncoded, columnKey, targetAnnotation) => {
|
|
47
|
+
if (targetAnnotation) {
|
|
48
|
+
return exports.getTableSettingsPathForView(pageName, manifest, targetAnnotationEncoded, columnKey, targetAnnotation);
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
return exports.getControlConfigurationPath(pageName) + `/@${"com.sap.vocabularies.UI.v1.LineItem" /* LineItem */}/tableSettings`;
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
exports.getQuickVariantPath = (pageName, manifest, targetAnnotationEncoded, columnKey, targetAnnotation) => {
|
|
55
|
+
return (exports.getTableSettingsPathForLR(pageName, manifest, targetAnnotationEncoded, columnKey, targetAnnotation) +
|
|
56
|
+
common_1.QUICKVARPATH);
|
|
57
|
+
};
|
|
58
|
+
exports.getColumnsPathForView = (pageName, _manifest, targetAnnotationEncoded, columnKey, targetAnnotation) => {
|
|
59
|
+
const annotationEncoded = targetAnnotation ? targetAnnotation.replace(/\//gi, '??') : targetAnnotationEncoded;
|
|
60
|
+
return annotationEncoded
|
|
61
|
+
? exports.getControlConfigurationPath(pageName) + `/${annotationEncoded}/columns/${columnKey}`
|
|
62
|
+
: undefined;
|
|
34
63
|
};
|
|
35
|
-
exports.
|
|
36
|
-
|
|
64
|
+
exports.getColumnsPathForLR = (pageName, manifest, targetAnnotationEncoded, columnKey, targetAnnotation) => {
|
|
65
|
+
if (targetAnnotation) {
|
|
66
|
+
return exports.getColumnsPathForView(pageName, manifest, targetAnnotationEncoded, columnKey, targetAnnotation);
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
return exports.getControlConfigurationPath(pageName) + `/@${"com.sap.vocabularies.UI.v1.LineItem" /* LineItem */}/columns/${columnKey}`;
|
|
70
|
+
}
|
|
37
71
|
};
|
|
38
|
-
exports.getActionsPathForView = (pageName,
|
|
72
|
+
exports.getActionsPathForView = (pageName, _manifest, _targetAnnotationEncoded, columnKey, targetAnnotation) => {
|
|
39
73
|
const annotationEncoded = targetAnnotation.replace(/\//gi, '??');
|
|
40
|
-
return
|
|
74
|
+
return annotationEncoded
|
|
75
|
+
? exports.getControlConfigurationPath(pageName) + `/${annotationEncoded}/actions/${columnKey}`
|
|
76
|
+
: undefined;
|
|
77
|
+
};
|
|
78
|
+
exports.getActionsPathForLR = (pageName, manifest, targetAnnotationEncoded, columnKey, targetAnnotation) => {
|
|
79
|
+
if (targetAnnotation) {
|
|
80
|
+
return exports.getActionsPathForView(pageName, manifest, targetAnnotationEncoded, columnKey, targetAnnotation);
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
return exports.getControlConfigurationPath(pageName) + `/@${"com.sap.vocabularies.UI.v1.LineItem" /* LineItem */}/actions/${columnKey}`;
|
|
84
|
+
}
|
|
41
85
|
};
|
|
42
|
-
exports.getColumnsPathForOP = (pageName,
|
|
43
|
-
|
|
86
|
+
exports.getColumnsPathForOP = (pageName, _manifest, sectionId, columnKey) => {
|
|
87
|
+
sectionId = exports.getExportSectionId(sectionId);
|
|
88
|
+
return sectionId ? exports.getControlConfigurationPath(pageName) + `/${sectionId}/columns/${columnKey}` : undefined;
|
|
44
89
|
};
|
|
45
|
-
exports.getActionsPathForOP = (pageName,
|
|
46
|
-
|
|
90
|
+
exports.getActionsPathForOP = (pageName, _manifest, sectionId, columnKey) => {
|
|
91
|
+
sectionId = exports.getExportSectionId(sectionId);
|
|
92
|
+
return sectionId
|
|
93
|
+
? exports.getControlConfigurationPath(pageName) + `/${sectionId}/actions/${columnKey.replace('/', '??')}`
|
|
94
|
+
: undefined;
|
|
47
95
|
};
|
|
48
|
-
exports.getTableSettingsPathForOP = (pageName,
|
|
49
|
-
|
|
96
|
+
exports.getTableSettingsPathForOP = (pageName, _manifest, sectionId) => {
|
|
97
|
+
sectionId = exports.getExportSectionId(sectionId);
|
|
98
|
+
return sectionId ? exports.getControlConfigurationPath(pageName) + `/${sectionId}/tableSettings` : undefined;
|
|
50
99
|
};
|
|
51
|
-
exports.getCustomSectionPath = (pageName,
|
|
100
|
+
exports.getCustomSectionPath = (pageName, _manifest, sectionId, pathPart) => {
|
|
52
101
|
let path = exports.getSettingsPathForPage(pageName) + `/content/body/sections/${sectionId}`;
|
|
53
102
|
if (pathPart) {
|
|
54
103
|
path += '/' + pathPart;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.js","sourceRoot":"","sources":["../../../../src/sync/v4/application.ts"],"names":[],"mappings":";;;;;;;;AAAA,gEAA8E;
|
|
1
|
+
{"version":3,"file":"application.js","sourceRoot":"","sources":["../../../../src/sync/v4/application.ts"],"names":[],"mappings":";;;;;;;;AAAA,gEAA8E;AAM9E,sCAAyC;AAE5B,QAAA,sBAAsB,GAAG,CAAC,QAAkB,EAAU,EAAE;IACjE,OAAO,2BAA2B,QAAQ,CAAC,CAAC,CAAC,m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ACN,KAAK,EAAE,QAAQ;KAClB,CAAC;yDAC4C;AAU9C;IARC,qBAAQ,CAAC;QACN,QAAQ,EAAE;YACN,IAAI,EAAE,GAAW,EAAE,CAAC,SAAS;SAChC;KACJ,CAAC;IACD,qBAAQ,CAAC;QACN,KAAK,EAAE,QAAQ;KAClB,CAAC;gDACoB;AAjC1B,kCAkCC"}
|
|
@@ -97,6 +97,8 @@ export declare class ALPTable extends TableViewSettings implements ALPTableIF {
|
|
|
97
97
|
* Sync class for LRChartView
|
|
98
98
|
*/
|
|
99
99
|
export declare class LRChartView implements LRChartViewIF {
|
|
100
|
+
key: string;
|
|
101
|
+
index: number;
|
|
100
102
|
annotationPath: string;
|
|
101
103
|
entitySet?: string;
|
|
102
104
|
toolBar?: ViewChartToolBar;
|
|
@@ -105,6 +107,8 @@ export declare class LRChartView implements LRChartViewIF {
|
|
|
105
107
|
* Sync class for LRTableView
|
|
106
108
|
*/
|
|
107
109
|
export declare class LRTableView extends TableViewSettings implements LRTableViewIF {
|
|
110
|
+
key: string;
|
|
111
|
+
index: number;
|
|
108
112
|
annotationPath: string;
|
|
109
113
|
keepPreviousPersonalization?: boolean;
|
|
110
114
|
entitySet?: string;
|
|
@@ -121,6 +125,7 @@ export declare class MultiTableModeV4 implements MultiTableModeIF {
|
|
|
121
125
|
* Sync class for Table
|
|
122
126
|
*/
|
|
123
127
|
export declare class Table extends TableSettings implements TableInterface {
|
|
128
|
+
annotationPath?: string;
|
|
124
129
|
views?: MultiTableModeV4;
|
|
125
130
|
initialLoad?: boolean;
|
|
126
131
|
toolBar?: ToolBar;
|
|
@@ -31,34 +31,21 @@ const getManifestSectionByPathV4 = (manifest, path) => {
|
|
|
31
31
|
}
|
|
32
32
|
return manifestSection;
|
|
33
33
|
};
|
|
34
|
-
/**
|
|
35
|
-
* Common function that calculates the path in manifest for table settings of a list report or ALP table view
|
|
36
|
-
* @param pageName - page name in manifest
|
|
37
|
-
* @param manifest - manifest (not used)
|
|
38
|
-
* @param targetAnnotationEncoded - encoded target annotation (not used)
|
|
39
|
-
* @param viewKey - view key (not used)
|
|
40
|
-
* @param targetAnnotation - target annotation, i.e. the line item (with or without qualifier)
|
|
41
|
-
* @returns - path as string
|
|
42
|
-
*/
|
|
43
|
-
const getTableSettingsPathForView = (pageName, manifest, targetAnnotationEncoded, viewKey, targetAnnotation) => {
|
|
44
|
-
const annotationEncoded = targetAnnotation.replace(/\//gi, '??');
|
|
45
|
-
return application_1.getControlConfigurationPath(pageName) + `/${annotationEncoded}/tableSettings`;
|
|
46
|
-
};
|
|
47
34
|
/**
|
|
48
35
|
* Common function for determining the path in manifest of a list report view's path
|
|
49
36
|
* @param pageName - page name in manifest
|
|
50
37
|
* @param manifest - manifest.json
|
|
51
|
-
* @param
|
|
38
|
+
* @param _targetAnnotationEncoded - target annotation (not used here)
|
|
52
39
|
* @param viewKey - value of the key property of the view
|
|
53
40
|
* @returns the path to the entry in manifest
|
|
54
41
|
*/
|
|
55
|
-
function getSettingsPathForLRViewsPath(pageName, manifest,
|
|
42
|
+
function getSettingsPathForLRViewsPath(pageName, manifest, _targetAnnotationEncoded, viewKey) {
|
|
56
43
|
const viewsPath = application_1.getSettingsPathForLRViewsPaths(pageName);
|
|
57
44
|
const manifestSection = getManifestSectionByPathV4(JSON.parse(JSON.stringify(manifest)), viewsPath);
|
|
58
45
|
let path;
|
|
59
46
|
for (let index = 0; index < manifestSection.length; index++) {
|
|
60
47
|
const view = manifestSection[index];
|
|
61
|
-
if (view && view[
|
|
48
|
+
if (view && view[common_1.SchemaTag.key] === viewKey) {
|
|
62
49
|
path = `${viewsPath}/${index}`;
|
|
63
50
|
break;
|
|
64
51
|
}
|
|
@@ -76,12 +63,10 @@ function getSettingsPathForLRViewsPath(pageName, manifest, targetAnnotationEncod
|
|
|
76
63
|
* @param manifestKey - key or property in manifest
|
|
77
64
|
*/
|
|
78
65
|
function exportCreationModeName(manifestSection, configObject, key, manifestKey) {
|
|
79
|
-
if (typeof manifestSection['creationMode'] === '
|
|
80
|
-
manifestSection['creationMode']
|
|
81
|
-
}
|
|
82
|
-
else if (typeof manifestSection['creationMode'] === 'string') {
|
|
83
|
-
manifestSection['creationMode'] = configObject[key];
|
|
66
|
+
if (typeof manifestSection['creationMode'] === 'string') {
|
|
67
|
+
manifestSection['creationMode'] = {};
|
|
84
68
|
}
|
|
69
|
+
manifestSection['creationMode'][manifestKey] = configObject[key];
|
|
85
70
|
}
|
|
86
71
|
exports.exportCreationModeName = exportCreationModeName;
|
|
87
72
|
/**
|
|
@@ -124,7 +109,7 @@ function exportCreationModeCreateAtEnd(manifestSection, configObject, key, manif
|
|
|
124
109
|
manifestSection['creationMode'][manifestKey] = configObject[key];
|
|
125
110
|
}
|
|
126
111
|
else if (typeof manifestSection['creationMode'] === 'string') {
|
|
127
|
-
// If
|
|
112
|
+
// If createAtEnd property is defined in config, then we have to convert manifest property creationMode to an object
|
|
128
113
|
manifestSection['creationMode'] = {
|
|
129
114
|
name: configObject['name'],
|
|
130
115
|
[manifestKey]: configObject[key]
|
|
@@ -160,6 +145,18 @@ function importCreationMode(tableSettings) {
|
|
|
160
145
|
};
|
|
161
146
|
}
|
|
162
147
|
}
|
|
148
|
+
/**
|
|
149
|
+
* sync rule for the import of the index of a table view
|
|
150
|
+
* @param manifestSection - manifest section, as determined by synRule.path
|
|
151
|
+
* @param _sectionId - not used
|
|
152
|
+
* @param _propertyKey - not used
|
|
153
|
+
* @param breadcrumbs - list if breadcrumbs, includes the given view key
|
|
154
|
+
* @returns index of the view in manifest, undefined if not found
|
|
155
|
+
*/
|
|
156
|
+
function determineIndexOfView(manifestSection, _sectionId, _propertyKey, breadcrumbs) {
|
|
157
|
+
const viewIndex = manifestSection.findIndex((view) => view['key'] === breadcrumbs[0]);
|
|
158
|
+
return viewIndex === -1 ? undefined : viewIndex;
|
|
159
|
+
}
|
|
163
160
|
/**********************************
|
|
164
161
|
* Sync class for TableCreationMode
|
|
165
162
|
*/
|
|
@@ -168,11 +165,11 @@ class TableCreationMode {
|
|
|
168
165
|
__decorate([
|
|
169
166
|
decorators_1.syncRule({
|
|
170
167
|
manifest: {
|
|
171
|
-
path:
|
|
168
|
+
path: application_1.getTableSettingsPathForLR,
|
|
172
169
|
export: (manifestSection, configObject, key, manifestKey) => {
|
|
173
170
|
exportCreationModeName(manifestSection, configObject, key, manifestKey);
|
|
174
171
|
},
|
|
175
|
-
delete: (manifestSection,
|
|
172
|
+
delete: (manifestSection, _configObject, _key, manifestKey) => {
|
|
176
173
|
deleteCreationModeName(manifestSection, manifestKey);
|
|
177
174
|
}
|
|
178
175
|
}
|
|
@@ -181,11 +178,11 @@ __decorate([
|
|
|
181
178
|
__decorate([
|
|
182
179
|
decorators_1.syncRule({
|
|
183
180
|
manifest: {
|
|
184
|
-
path:
|
|
181
|
+
path: application_1.getTableSettingsPathForLR,
|
|
185
182
|
export: (manifestSection, configObject, key, manifestKey) => {
|
|
186
183
|
exportCreationModeCreateAtEnd(manifestSection, configObject, key, manifestKey);
|
|
187
184
|
},
|
|
188
|
-
delete: (manifestSection,
|
|
185
|
+
delete: (manifestSection, _configObject, _key, manifestKey) => {
|
|
189
186
|
deleteCreationModeCreateAtEnd(manifestSection, manifestKey);
|
|
190
187
|
}
|
|
191
188
|
}
|
|
@@ -200,11 +197,11 @@ class ViewTableCreationMode {
|
|
|
200
197
|
__decorate([
|
|
201
198
|
decorators_1.syncRule({
|
|
202
199
|
manifest: {
|
|
203
|
-
path: getTableSettingsPathForView,
|
|
200
|
+
path: application_1.getTableSettingsPathForView,
|
|
204
201
|
export: (manifestSection, configObject, key, manifestKey) => {
|
|
205
202
|
exportCreationModeName(manifestSection, configObject, key, manifestKey);
|
|
206
203
|
},
|
|
207
|
-
delete: (manifestSection,
|
|
204
|
+
delete: (manifestSection, _configObject, _key, manifestKey) => {
|
|
208
205
|
deleteCreationModeName(manifestSection, manifestKey);
|
|
209
206
|
}
|
|
210
207
|
}
|
|
@@ -213,11 +210,11 @@ __decorate([
|
|
|
213
210
|
__decorate([
|
|
214
211
|
decorators_1.syncRule({
|
|
215
212
|
manifest: {
|
|
216
|
-
path: getTableSettingsPathForView,
|
|
213
|
+
path: application_1.getTableSettingsPathForView,
|
|
217
214
|
export: (manifestSection, configObject, key, manifestKey) => {
|
|
218
215
|
exportCreationModeCreateAtEnd(manifestSection, configObject, key, manifestKey);
|
|
219
216
|
},
|
|
220
|
-
delete: (manifestSection,
|
|
217
|
+
delete: (manifestSection, _configObject, _key, manifestKey) => {
|
|
221
218
|
deleteCreationModeCreateAtEnd(manifestSection, manifestKey);
|
|
222
219
|
}
|
|
223
220
|
}
|
|
@@ -232,21 +229,21 @@ class QuickVariantSelectionV4 {
|
|
|
232
229
|
__decorate([
|
|
233
230
|
decorators_1.syncRule({
|
|
234
231
|
manifest: {
|
|
235
|
-
path:
|
|
232
|
+
path: application_1.getQuickVariantPath
|
|
236
233
|
}
|
|
237
234
|
})
|
|
238
235
|
], QuickVariantSelectionV4.prototype, "paths", void 0);
|
|
239
236
|
__decorate([
|
|
240
237
|
decorators_1.syncRule({
|
|
241
238
|
manifest: {
|
|
242
|
-
path:
|
|
239
|
+
path: application_1.getQuickVariantPath
|
|
243
240
|
}
|
|
244
241
|
})
|
|
245
242
|
], QuickVariantSelectionV4.prototype, "hideTableTitle", void 0);
|
|
246
243
|
__decorate([
|
|
247
244
|
decorators_1.syncRule({
|
|
248
245
|
manifest: {
|
|
249
|
-
path:
|
|
246
|
+
path: application_1.getQuickVariantPath
|
|
250
247
|
}
|
|
251
248
|
})
|
|
252
249
|
], QuickVariantSelectionV4.prototype, "showCounts", void 0);
|
|
@@ -259,7 +256,7 @@ class TableSettings {
|
|
|
259
256
|
__decorate([
|
|
260
257
|
decorators_1.syncRule({
|
|
261
258
|
manifest: {
|
|
262
|
-
path:
|
|
259
|
+
path: application_1.getTableSettingsPathForLR
|
|
263
260
|
}
|
|
264
261
|
}),
|
|
265
262
|
decorators_1.validity({
|
|
@@ -280,7 +277,7 @@ __decorate([
|
|
|
280
277
|
__decorate([
|
|
281
278
|
decorators_1.syncRule({
|
|
282
279
|
manifest: {
|
|
283
|
-
path:
|
|
280
|
+
path: application_1.getTableSettingsPathForLR
|
|
284
281
|
}
|
|
285
282
|
}),
|
|
286
283
|
decorators_1.validity({
|
|
@@ -290,7 +287,7 @@ __decorate([
|
|
|
290
287
|
__decorate([
|
|
291
288
|
decorators_1.syncRule({
|
|
292
289
|
manifest: {
|
|
293
|
-
path:
|
|
290
|
+
path: application_1.getTableSettingsPathForLR
|
|
294
291
|
}
|
|
295
292
|
}),
|
|
296
293
|
decorators_1.validity({
|
|
@@ -300,7 +297,7 @@ __decorate([
|
|
|
300
297
|
__decorate([
|
|
301
298
|
decorators_1.syncRule({
|
|
302
299
|
manifest: {
|
|
303
|
-
path:
|
|
300
|
+
path: application_1.getTableSettingsPathForLR
|
|
304
301
|
}
|
|
305
302
|
}),
|
|
306
303
|
decorators_1.validity({
|
|
@@ -310,7 +307,7 @@ __decorate([
|
|
|
310
307
|
__decorate([
|
|
311
308
|
decorators_1.syncRule({
|
|
312
309
|
manifest: {
|
|
313
|
-
path:
|
|
310
|
+
path: application_1.getTableSettingsPathForLR
|
|
314
311
|
}
|
|
315
312
|
}),
|
|
316
313
|
decorators_1.validity({
|
|
@@ -320,7 +317,7 @@ __decorate([
|
|
|
320
317
|
__decorate([
|
|
321
318
|
decorators_1.syncRule({
|
|
322
319
|
manifest: {
|
|
323
|
-
path:
|
|
320
|
+
path: application_1.getTableSettingsPathForLR
|
|
324
321
|
}
|
|
325
322
|
}),
|
|
326
323
|
decorators_1.validity({
|
|
@@ -330,7 +327,7 @@ __decorate([
|
|
|
330
327
|
__decorate([
|
|
331
328
|
decorators_1.syncRule({
|
|
332
329
|
manifest: {
|
|
333
|
-
path:
|
|
330
|
+
path: application_1.getTableSettingsPathForLR
|
|
334
331
|
}
|
|
335
332
|
}),
|
|
336
333
|
decorators_1.validity({
|
|
@@ -340,7 +337,7 @@ __decorate([
|
|
|
340
337
|
__decorate([
|
|
341
338
|
decorators_1.syncRule({
|
|
342
339
|
manifest: {
|
|
343
|
-
path:
|
|
340
|
+
path: application_1.getTableSettingsPathForLR
|
|
344
341
|
}
|
|
345
342
|
}),
|
|
346
343
|
decorators_1.validity({
|
|
@@ -370,7 +367,7 @@ class TableViewSettings {
|
|
|
370
367
|
__decorate([
|
|
371
368
|
decorators_1.syncRule({
|
|
372
369
|
manifest: {
|
|
373
|
-
path: getTableSettingsPathForView
|
|
370
|
+
path: application_1.getTableSettingsPathForView
|
|
374
371
|
}
|
|
375
372
|
}),
|
|
376
373
|
decorators_1.validity({
|
|
@@ -380,7 +377,7 @@ __decorate([
|
|
|
380
377
|
__decorate([
|
|
381
378
|
decorators_1.syncRule({
|
|
382
379
|
manifest: {
|
|
383
|
-
path: getTableSettingsPathForView,
|
|
380
|
+
path: application_1.getTableSettingsPathForView,
|
|
384
381
|
import: importCreationMode
|
|
385
382
|
}
|
|
386
383
|
}),
|
|
@@ -391,7 +388,7 @@ __decorate([
|
|
|
391
388
|
__decorate([
|
|
392
389
|
decorators_1.syncRule({
|
|
393
390
|
manifest: {
|
|
394
|
-
path: getTableSettingsPathForView
|
|
391
|
+
path: application_1.getTableSettingsPathForView
|
|
395
392
|
}
|
|
396
393
|
}),
|
|
397
394
|
decorators_1.validity({
|
|
@@ -401,7 +398,7 @@ __decorate([
|
|
|
401
398
|
__decorate([
|
|
402
399
|
decorators_1.syncRule({
|
|
403
400
|
manifest: {
|
|
404
|
-
path: getTableSettingsPathForView
|
|
401
|
+
path: application_1.getTableSettingsPathForView
|
|
405
402
|
}
|
|
406
403
|
}),
|
|
407
404
|
decorators_1.validity({
|
|
@@ -411,7 +408,7 @@ __decorate([
|
|
|
411
408
|
__decorate([
|
|
412
409
|
decorators_1.syncRule({
|
|
413
410
|
manifest: {
|
|
414
|
-
path: getTableSettingsPathForView
|
|
411
|
+
path: application_1.getTableSettingsPathForView
|
|
415
412
|
}
|
|
416
413
|
}),
|
|
417
414
|
decorators_1.validity({
|
|
@@ -421,7 +418,7 @@ __decorate([
|
|
|
421
418
|
__decorate([
|
|
422
419
|
decorators_1.syncRule({
|
|
423
420
|
manifest: {
|
|
424
|
-
path: getTableSettingsPathForView
|
|
421
|
+
path: application_1.getTableSettingsPathForView
|
|
425
422
|
}
|
|
426
423
|
}),
|
|
427
424
|
decorators_1.validity({
|
|
@@ -431,7 +428,7 @@ __decorate([
|
|
|
431
428
|
__decorate([
|
|
432
429
|
decorators_1.syncRule({
|
|
433
430
|
manifest: {
|
|
434
|
-
path: getTableSettingsPathForView
|
|
431
|
+
path: application_1.getTableSettingsPathForView
|
|
435
432
|
}
|
|
436
433
|
}),
|
|
437
434
|
decorators_1.validity({
|
|
@@ -441,7 +438,7 @@ __decorate([
|
|
|
441
438
|
__decorate([
|
|
442
439
|
decorators_1.syncRule({
|
|
443
440
|
manifest: {
|
|
444
|
-
path: getTableSettingsPathForView
|
|
441
|
+
path: application_1.getTableSettingsPathForView
|
|
445
442
|
}
|
|
446
443
|
}),
|
|
447
444
|
decorators_1.validity({
|
|
@@ -451,7 +448,7 @@ __decorate([
|
|
|
451
448
|
__decorate([
|
|
452
449
|
decorators_1.syncRule({
|
|
453
450
|
manifest: {
|
|
454
|
-
path: getTableSettingsPathForView
|
|
451
|
+
path: application_1.getTableSettingsPathForView
|
|
455
452
|
}
|
|
456
453
|
}),
|
|
457
454
|
decorators_1.validity({
|
|
@@ -488,6 +485,24 @@ exports.ALPTable = ALPTable;
|
|
|
488
485
|
*/
|
|
489
486
|
class LRChartView {
|
|
490
487
|
}
|
|
488
|
+
__decorate([
|
|
489
|
+
decorators_1.syncRule({
|
|
490
|
+
manifest: {
|
|
491
|
+
path: getSettingsPathForLRViewsPath,
|
|
492
|
+
delete: doNotDelete
|
|
493
|
+
}
|
|
494
|
+
})
|
|
495
|
+
], LRChartView.prototype, "key", void 0);
|
|
496
|
+
__decorate([
|
|
497
|
+
decorators_1.syncRule({
|
|
498
|
+
manifest: {
|
|
499
|
+
path: application_1.getSettingsPathForLRViewsPaths,
|
|
500
|
+
import: determineIndexOfView,
|
|
501
|
+
export: false,
|
|
502
|
+
delete: doNotDelete
|
|
503
|
+
}
|
|
504
|
+
})
|
|
505
|
+
], LRChartView.prototype, "index", void 0);
|
|
491
506
|
__decorate([
|
|
492
507
|
decorators_1.syncRule({
|
|
493
508
|
manifest: {
|
|
@@ -509,6 +524,24 @@ exports.LRChartView = LRChartView;
|
|
|
509
524
|
*/
|
|
510
525
|
class LRTableView extends TableViewSettings {
|
|
511
526
|
}
|
|
527
|
+
__decorate([
|
|
528
|
+
decorators_1.syncRule({
|
|
529
|
+
manifest: {
|
|
530
|
+
path: getSettingsPathForLRViewsPath,
|
|
531
|
+
delete: doNotDelete
|
|
532
|
+
}
|
|
533
|
+
})
|
|
534
|
+
], LRTableView.prototype, "key", void 0);
|
|
535
|
+
__decorate([
|
|
536
|
+
decorators_1.syncRule({
|
|
537
|
+
manifest: {
|
|
538
|
+
path: application_1.getSettingsPathForLRViewsPaths,
|
|
539
|
+
import: determineIndexOfView,
|
|
540
|
+
export: false,
|
|
541
|
+
delete: doNotDelete
|
|
542
|
+
}
|
|
543
|
+
})
|
|
544
|
+
], LRTableView.prototype, "index", void 0);
|
|
512
545
|
__decorate([
|
|
513
546
|
decorators_1.syncRule({
|
|
514
547
|
manifest: {
|
|
@@ -550,6 +583,14 @@ exports.MultiTableModeV4 = MultiTableModeV4;
|
|
|
550
583
|
*/
|
|
551
584
|
class Table extends TableSettings {
|
|
552
585
|
}
|
|
586
|
+
__decorate([
|
|
587
|
+
decorators_1.syncRule({
|
|
588
|
+
manifest: {
|
|
589
|
+
path: (entitySet) => application_1.getSettingsPathForPage(entitySet) + '/views/paths/0/secondary/0',
|
|
590
|
+
delete: doNotDelete
|
|
591
|
+
}
|
|
592
|
+
})
|
|
593
|
+
], Table.prototype, "annotationPath", void 0);
|
|
553
594
|
__decorate([
|
|
554
595
|
decorators_1.syncRule({
|
|
555
596
|
manifest: {
|