@sap/ux-specification 1.90.21 → 1.90.26
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 +97 -1
- 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/ApplicationV2.json +11 -11
- package/dist/schemas/v4/ApplicationV4.json +9 -5
- package/dist/schemas/v4/ListReportConfig.json +629 -183
- package/dist/schemas/v4/ObjectPageConfig.json +36 -0
- package/dist/scripts/extractDocu.js.map +1 -1
- package/dist/scripts/runDocu.js +10 -40
- package/dist/scripts/runDocu.js.map +1 -1
- package/dist/scripts/spec.js.map +1 -1
- package/dist/scripts/to-json-schema.js.map +1 -1
- package/dist/specification/v2/index-min.js +1 -1
- package/dist/specification/v4/index-min.js +1 -1
- package/dist/src/api.d.ts +2 -2
- package/dist/src/api.js +11 -11
- package/dist/src/api.js.map +1 -1
- package/dist/src/apiTypes.d.ts +16 -19
- package/dist/src/apiTypes.js +0 -2
- package/dist/src/apiTypes.js.map +1 -1
- package/dist/src/extensionLogger.d.ts +1 -1
- package/dist/src/project.d.ts +1 -1
- package/dist/src/project.js +11 -3
- package/dist/src/project.js.map +1 -1
- package/dist/src/specification/common/Application.d.ts +24 -4
- package/dist/src/specification/common/page.d.ts +1 -1
- package/dist/src/specification/common/webapp/manifest/Manifest.d.ts +6 -6
- package/dist/src/specification/common/webapp/manifest/sapUi5.d.ts +1 -1
- package/dist/src/specification/schemaAccess.d.ts +1 -1
- package/dist/src/specification/schemaAccess.js +1 -2
- package/dist/src/specification/schemaAccess.js.map +1 -1
- package/dist/src/specification/v2/ApplicationV2.d.ts +3 -17
- package/dist/src/specification/v2/controls/Facets.d.ts +1 -1
- package/dist/src/specification/v2/controls/Footer.d.ts +2 -2
- package/dist/src/specification/v2/controls/ObjectPageForm.d.ts +1 -1
- package/dist/src/specification/v2/controls/ObjectPageHeader.d.ts +1 -1
- package/dist/src/specification/v2/controls/ObjectPageSection.d.ts +2 -2
- package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +2 -2
- package/dist/src/specification/v2/controls/ObjectPageToolBar.d.ts +1 -1
- package/dist/src/specification/v2/controls/Table.d.ts +3 -3
- package/dist/src/specification/v2/controls/ToolBar.d.ts +1 -1
- package/dist/src/specification/v2/page.d.ts +1 -1
- package/dist/src/specification/v2/pages/AnalyticalListPageConfig.d.ts +4 -4
- package/dist/src/specification/v2/pages/ListReportConfig.d.ts +2 -2
- package/dist/src/specification/v2/pages/ObjectPageConfig.d.ts +3 -3
- package/dist/src/specification/v2/pages/OverviewPageConfig.d.ts +3 -3
- package/dist/src/specification/v2/webapp/manifest/sapUi5.d.ts +2 -2
- package/dist/src/specification/v2/webapp/manifest/sapUi5.js +0 -1
- package/dist/src/specification/v2/webapp/manifest/sapUi5.js.map +1 -1
- package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.d.ts +2 -2
- package/dist/src/specification/v4/ApplicationV4.d.ts +4 -14
- package/dist/src/specification/v4/controls/ObjectPageHeader.d.ts +1 -1
- package/dist/src/specification/v4/controls/ObjectPageSection.d.ts +24 -3
- package/dist/src/specification/v4/controls/ObjectPageSection.js.map +1 -1
- package/dist/src/specification/v4/controls/ObjectPageTable.d.ts +3 -3
- package/dist/src/specification/v4/controls/ObjectPageToolBar.d.ts +1 -1
- package/dist/src/specification/v4/controls/Table.d.ts +170 -25
- package/dist/src/specification/v4/controls/Table.js +6 -0
- package/dist/src/specification/v4/controls/Table.js.map +1 -1
- package/dist/src/specification/v4/controls/ToolBar.d.ts +26 -1
- package/dist/src/specification/v4/page.d.ts +2 -2
- package/dist/src/specification/v4/pages/ListReportConfig.d.ts +22 -3
- package/dist/src/specification/v4/pages/ObjectPageConfig.d.ts +2 -2
- package/dist/src/specification/v4/pages/ObjectPageConfig.js.map +1 -1
- package/dist/src/specification/v4/pages/index.d.ts +0 -1
- package/dist/src/specification/v4/webapp/manifest/ManifestSettings.d.ts +77 -0
- package/dist/src/specification/v4/webapp/manifest/ManifestSettings.js.map +1 -1
- package/dist/src/specification/v4/webapp/manifest/sapUi5.d.ts +12 -3
- package/dist/src/specification/v4/webapp/manifest/sapUi5.js.map +1 -1
- package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.d.ts +21 -1
- package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.js.map +1 -1
- package/dist/src/sync/common/appProvider.d.ts +6 -5
- package/dist/src/sync/common/appProvider.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/decoration/decorators.d.ts +1 -1
- package/dist/src/sync/common/decoration/decorators.js.map +1 -1
- package/dist/src/sync/common/decoration/factory.d.ts +3 -3
- package/dist/src/sync/common/decoration/flex.d.ts +3 -3
- package/dist/src/sync/common/flexUtils.d.ts +4 -4
- package/dist/src/sync/common/flexUtils.js.map +1 -1
- package/dist/src/sync/common/generate/objectPage.d.ts +9 -7
- package/dist/src/sync/common/generate/objectPage.js +69 -73
- package/dist/src/sync/common/generate/objectPage.js.map +1 -1
- package/dist/src/sync/common/generate/utils.d.ts +52 -19
- package/dist/src/sync/common/generate/utils.js +127 -70
- package/dist/src/sync/common/generate/utils.js.map +1 -1
- package/dist/src/sync/common/import/utils.d.ts +4 -3
- package/dist/src/sync/common/import/utils.js +3 -2
- package/dist/src/sync/common/import/utils.js.map +1 -1
- package/dist/src/sync/common/importProject.d.ts +4 -4
- package/dist/src/sync/common/importProject.js +33 -41
- package/dist/src/sync/common/importProject.js.map +1 -1
- package/dist/src/sync/common/types.d.ts +110 -13
- package/dist/src/sync/common/types.js +107 -7
- package/dist/src/sync/common/types.js.map +1 -1
- package/dist/src/sync/common/utils.d.ts +23 -15
- package/dist/src/sync/common/utils.js +138 -72
- package/dist/src/sync/common/utils.js.map +1 -1
- package/dist/src/sync/i18n.d.ts +1 -1
- package/dist/src/sync/v2/application.d.ts +2 -2
- package/dist/src/sync/v2/application.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Action.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts +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/AnalyticalListPageKPI.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/Card.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/Field.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/FilterBar.d.ts +2 -1
- package/dist/src/sync/v2/export/controls/FormAction.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/FormAction.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Fragment.d.ts +5 -11
- package/dist/src/sync/v2/export/controls/Fragment.js +110 -34
- package/dist/src/sync/v2/export/controls/Fragment.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageChart.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts +3 -3
- package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageLayout.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +2 -2
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +3 -3
- package/dist/src/sync/v2/export/controls/ObjectPageTable.js +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +1 -1
- package/dist/src/sync/v2/export/controls/Table.d.ts +4 -2
- package/dist/src/sync/v2/export/controls/Table.js +89 -47
- package/dist/src/sync/v2/export/controls/Table.js.map +1 -1
- package/dist/src/sync/v2/export/controls/TableColumn.d.ts +2 -2
- package/dist/src/sync/v2/export/controls/ToolBar.d.ts +1 -1
- package/dist/src/sync/v2/export/export.d.ts +3 -4
- 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.d.ts +2 -2
- package/dist/src/sync/v2/export/exportPage.js +4 -11
- package/dist/src/sync/v2/export/exportPage.js.map +1 -1
- package/dist/src/sync/v2/export/factory.d.ts +2 -1
- package/dist/src/sync/v2/export/factory.js.map +1 -1
- package/dist/src/sync/v2/export/manifest.d.ts +23 -1
- package/dist/src/sync/v2/export/manifest.js +77 -35
- package/dist/src/sync/v2/export/manifest.js.map +1 -1
- package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts +4 -4
- package/dist/src/sync/v2/export/pages/AnalyticalListPage.js.map +1 -1
- package/dist/src/sync/v2/export/pages/ListReport.d.ts +2 -2
- package/dist/src/sync/v2/export/pages/ListReport.js.map +1 -1
- package/dist/src/sync/v2/export/pages/ObjectPage.d.ts +3 -3
- package/dist/src/sync/v2/export/pages/OverviewPage.d.ts +3 -3
- package/dist/src/sync/v2/export/pages/OverviewPage.js +20 -15
- package/dist/src/sync/v2/export/pages/OverviewPage.js.map +1 -1
- package/dist/src/sync/v2/export/view-controller-generator.d.ts +2 -2
- package/dist/src/sync/v2/export/view-controller-generator.js.map +1 -1
- package/dist/src/sync/v2/generate/analyticalListReport.d.ts +1 -1
- package/dist/src/sync/v2/generate/analyticalListReport.js +27 -36
- package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
- package/dist/src/sync/v2/generate/generate.d.ts +2 -2
- package/dist/src/sync/v2/generate/generate.js +3 -0
- package/dist/src/sync/v2/generate/generate.js.map +1 -1
- package/dist/src/sync/v2/generate/listReport.d.ts +7 -4
- package/dist/src/sync/v2/generate/listReport.js +38 -36
- package/dist/src/sync/v2/generate/listReport.js.map +1 -1
- package/dist/src/sync/v2/generate/objectPage.d.ts +1 -1
- package/dist/src/sync/v2/generate/objectPage.js +102 -100
- package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v2/generate/overviewPage.d.ts +1 -1
- package/dist/src/sync/v2/generate/overviewPage.js.map +1 -1
- package/dist/src/sync/v2/generate/utils.d.ts +8 -7
- 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 +13 -4
- 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.d.ts +3 -3
- 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.d.ts +6 -5
- package/dist/src/sync/v2/import/common/index.js +9 -22
- package/dist/src/sync/v2/import/common/index.js.map +1 -1
- package/dist/src/sync/v2/import/controls/table.d.ts +1 -1
- package/dist/src/sync/v2/import/controls/table.js +1 -1
- package/dist/src/sync/v2/import/controls/table.js.map +1 -1
- package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts +2 -2
- package/dist/src/sync/v2/import/pages/analyticalListPage.js +1 -9
- package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
- package/dist/src/sync/v2/import/pages/listReport.d.ts +2 -2
- package/dist/src/sync/v2/import/pages/objectPage.d.ts +1 -1
- package/dist/src/sync/v2/import/pages/objectPage.js +36 -44
- package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v2/import/pages/overviewPage.d.ts +2 -2
- 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.d.ts +3 -2
- package/dist/src/sync/v2/import/utils.js +16 -2
- package/dist/src/sync/v2/import/utils.js.map +1 -1
- package/dist/src/sync/v2/types.d.ts +7 -7
- package/dist/src/sync/v4/application.d.ts +28 -12
- package/dist/src/sync/v4/application.js +85 -15
- package/dist/src/sync/v4/application.js.map +1 -1
- package/dist/src/sync/v4/export/controls/FilterBar.d.ts +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts +2 -1
- package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeader.d.ts +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.js.map +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageLayout.d.ts +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTable.js +6 -18
- package/dist/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +1 -1
- package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +1 -1
- package/dist/src/sync/v4/export/controls/Table.d.ts +131 -10
- package/dist/src/sync/v4/export/controls/Table.js +477 -75
- package/dist/src/sync/v4/export/controls/Table.js.map +1 -1
- package/dist/src/sync/v4/export/controls/TableColumn.d.ts +52 -1
- package/dist/src/sync/v4/export/controls/TableColumn.js +248 -2
- package/dist/src/sync/v4/export/controls/TableColumn.js.map +1 -1
- package/dist/src/sync/v4/export/controls/ToolBar.d.ts +1 -1
- package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts +4 -1
- package/dist/src/sync/v4/export/controls/ToolBarAction.js +10 -0
- package/dist/src/sync/v4/export/controls/ToolBarAction.js.map +1 -1
- package/dist/src/sync/v4/export/export.d.ts +2 -2
- package/dist/src/sync/v4/export/export.js +465 -96
- package/dist/src/sync/v4/export/export.js.map +1 -1
- package/dist/src/sync/v4/export/factory.d.ts +2 -1
- package/dist/src/sync/v4/export/factory.js.map +1 -1
- package/dist/src/sync/v4/export/flexibleColumnLayout.d.ts +1 -1
- package/dist/src/sync/v4/export/flexibleColumnLayout.js.map +1 -1
- package/dist/src/sync/v4/export/manifest.d.ts +1 -1
- package/dist/src/sync/v4/export/manifest.js.map +1 -1
- package/dist/src/sync/v4/export/pages/ListReport.d.ts +9 -3
- package/dist/src/sync/v4/export/pages/ListReport.js +49 -0
- package/dist/src/sync/v4/export/pages/ListReport.js.map +1 -1
- package/dist/src/sync/v4/export/pages/ObjectPage.d.ts +2 -2
- 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/pages/index.d.ts +0 -1
- package/dist/src/sync/v4/export/pages/index.js +0 -1
- package/dist/src/sync/v4/export/pages/index.js.map +1 -1
- package/dist/src/sync/v4/export/types.d.ts +8 -6
- package/dist/src/sync/v4/export/utils.d.ts +1 -1
- package/dist/src/sync/v4/generate/generate.d.ts +5 -4
- package/dist/src/sync/v4/generate/generate.js +6 -3
- package/dist/src/sync/v4/generate/generate.js.map +1 -1
- package/dist/src/sync/v4/generate/listReport.d.ts +2 -4
- package/dist/src/sync/v4/generate/listReport.js +450 -36
- 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 +302 -144
- package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v4/import/app/appProvider.d.ts +6 -5
- package/dist/src/sync/v4/import/app/appProvider.js +78 -56
- package/dist/src/sync/v4/import/app/appProvider.js.map +1 -1
- package/dist/src/sync/v4/import/fragment.d.ts +2 -2
- package/dist/src/sync/v4/import/fragment.js.map +1 -1
- package/dist/src/sync/v4/import/index.d.ts +0 -1
- package/dist/src/sync/v4/import/index.js +0 -1
- package/dist/src/sync/v4/import/index.js.map +1 -1
- package/dist/src/sync/v4/import/pages/listReport.d.ts +8 -7
- package/dist/src/sync/v4/import/pages/listReport.js +120 -29
- package/dist/src/sync/v4/import/pages/listReport.js.map +1 -1
- package/dist/src/sync/v4/import/pages/objectPage.d.ts +15 -2
- package/dist/src/sync/v4/import/pages/objectPage.js +69 -40
- package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v4/import/utils.d.ts +4 -3
- package/dist/src/sync/v4/import/utils.js +2 -2
- package/dist/src/sync/v4/import/utils.js.map +1 -1
- package/dist/src/sync/v4/types.d.ts +4 -2
- 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 +18 -12
- package/dist/src/sync/v4/utils/utils.js +77 -30
- package/dist/src/sync/v4/utils/utils.js.map +1 -1
- package/dist/test/test-data/flexChange/v2/stta.prod.man/index.d.ts +1 -1
- package/dist/test/test-projects/index.d.ts +1 -1
- package/dist/test/test-utils/utils.d.ts +5 -4
- package/dist/test/unit/export/manifest.test.d.ts +1 -0
- package/package.json +13 -10
- package/dist/documentation/v4/v4-AnalyticalListPage.html +0 -49
- package/dist/schemas/v4/AnalyticalListPageConfig.json +0 -392
- package/dist/src/specification/v4/pages/AnalyticalListPageConfig.d.ts +0 -13
- package/dist/src/specification/v4/pages/AnalyticalListPageConfig.js +0 -3
- package/dist/src/specification/v4/pages/AnalyticalListPageConfig.js.map +0 -1
- package/dist/src/sync/v4/export/pages/AnalyticalListPage.d.ts +0 -8
- package/dist/src/sync/v4/export/pages/AnalyticalListPage.js +0 -38
- package/dist/src/sync/v4/export/pages/AnalyticalListPage.js.map +0 -1
- package/dist/src/sync/v4/import/pages/analyticalListPage.d.ts +0 -11
- package/dist/src/sync/v4/import/pages/analyticalListPage.js +0 -60
- package/dist/src/sync/v4/import/pages/analyticalListPage.js.map +0 -1
|
@@ -9,6 +9,59 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
const common_1 = require("../../../common");
|
|
10
10
|
const decorators_1 = require("../../../common/decoration/decorators");
|
|
11
11
|
const application_1 = require("../../application");
|
|
12
|
+
/**
|
|
13
|
+
* Special edition of the global function getManifestSectionByPathV4 that initializes the views array if empty
|
|
14
|
+
* @param manifest - manifest.json
|
|
15
|
+
* @param path - path to the views array in manifest
|
|
16
|
+
* @param key - key of the view
|
|
17
|
+
* @returns the paths array of the views
|
|
18
|
+
*/
|
|
19
|
+
const getManifestSectionByPathV4 = (manifest, path) => {
|
|
20
|
+
let manifestSection = manifest;
|
|
21
|
+
for (const element of path.split('/')) {
|
|
22
|
+
if (!manifestSection[element]) {
|
|
23
|
+
if (element === 'paths') {
|
|
24
|
+
manifestSection[element] = [];
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
manifestSection[element] = {};
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
manifestSection = manifestSection[element];
|
|
31
|
+
}
|
|
32
|
+
return manifestSection;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Common function for determining the path in manifest of a list report view's path
|
|
36
|
+
* @param pageName - page name in manifest
|
|
37
|
+
* @param manifest - manifest.json
|
|
38
|
+
* @param _targetAnnotationEncoded - target annotation (not used here)
|
|
39
|
+
* @param viewKey - value of the key property of the view
|
|
40
|
+
* @returns the path to the entry in manifest
|
|
41
|
+
*/
|
|
42
|
+
function getSettingsPathForLRViewsPath(pageName, manifest, _targetAnnotationEncoded, viewKey) {
|
|
43
|
+
const viewsPath = application_1.getSettingsPathForLRViewsPaths(pageName);
|
|
44
|
+
const manifestSection = getManifestSectionByPathV4(JSON.parse(JSON.stringify(manifest)), viewsPath);
|
|
45
|
+
let path;
|
|
46
|
+
for (let index = 0; index < manifestSection.length; index++) {
|
|
47
|
+
const view = manifestSection[index];
|
|
48
|
+
if (view && view[common_1.SchemaTag.key] === viewKey) {
|
|
49
|
+
path = `${viewsPath}/${index}`;
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
if (!path) {
|
|
54
|
+
path = `${viewsPath}/[]`;
|
|
55
|
+
}
|
|
56
|
+
return path;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* sync rule function for export of creationMode.name
|
|
60
|
+
* @param manifestSection - section in manifest comprising the table settings
|
|
61
|
+
* @param configObject - section in config.json describing the table settings
|
|
62
|
+
* @param key - key or property in config.json
|
|
63
|
+
* @param manifestKey - key or property in manifest
|
|
64
|
+
*/
|
|
12
65
|
function exportCreationModeName(manifestSection, configObject, key, manifestKey) {
|
|
13
66
|
if (typeof manifestSection['creationMode'] === 'object') {
|
|
14
67
|
manifestSection['creationMode'][manifestKey] = configObject[key];
|
|
@@ -18,6 +71,13 @@ function exportCreationModeName(manifestSection, configObject, key, manifestKey)
|
|
|
18
71
|
}
|
|
19
72
|
}
|
|
20
73
|
exports.exportCreationModeName = exportCreationModeName;
|
|
74
|
+
/**
|
|
75
|
+
* common sync rule function for export of personalization properties
|
|
76
|
+
* @param manifestSection - section in manifest comprising the table settings
|
|
77
|
+
* @param configObject - section in config.json describing the table settings
|
|
78
|
+
* @param key - key or property in config.json
|
|
79
|
+
* @param manifestKey - key or property in manifest
|
|
80
|
+
*/
|
|
21
81
|
function exportPersonalizationProperty(manifestSection, configObject, key, manifestKey) {
|
|
22
82
|
if (typeof manifestSection['personalization'] === 'boolean' || !manifestSection['personalization']) {
|
|
23
83
|
manifestSection['personalization'] = {};
|
|
@@ -25,6 +85,11 @@ function exportPersonalizationProperty(manifestSection, configObject, key, manif
|
|
|
25
85
|
manifestSection['personalization'][manifestKey] = configObject[key];
|
|
26
86
|
}
|
|
27
87
|
exports.exportPersonalizationProperty = exportPersonalizationProperty;
|
|
88
|
+
/**
|
|
89
|
+
* sync rule function for the deletion of creationMode.name
|
|
90
|
+
* @param manifestSection - section in manifest comprising the table settings
|
|
91
|
+
* @param manifestKey - key or property in manifest
|
|
92
|
+
*/
|
|
28
93
|
function deleteCreationModeName(manifestSection, manifestKey) {
|
|
29
94
|
if (typeof manifestSection['creationMode'] === 'object' &&
|
|
30
95
|
manifestSection['creationMode'][manifestKey] !== undefined) {
|
|
@@ -35,7 +100,12 @@ function deleteCreationModeName(manifestSection, manifestKey) {
|
|
|
35
100
|
}
|
|
36
101
|
}
|
|
37
102
|
exports.deleteCreationModeName = deleteCreationModeName;
|
|
38
|
-
|
|
103
|
+
/**
|
|
104
|
+
* common sync rule function for the deletion of any property of personalization
|
|
105
|
+
* @param manifestSection - section in manifest comprising the table settings
|
|
106
|
+
* @param manifestKey - key or property in manifest
|
|
107
|
+
*/
|
|
108
|
+
function deletePersonalizationProperty(manifestSection, _configObject, _key, manifestKey) {
|
|
39
109
|
if (typeof manifestSection['personalization'] === 'object' &&
|
|
40
110
|
manifestSection['personalization'][manifestKey] !== undefined) {
|
|
41
111
|
delete manifestSection['personalization'][manifestKey];
|
|
@@ -46,6 +116,26 @@ function deletePersonalizationProperty(manifestSection, manifestKey) {
|
|
|
46
116
|
}
|
|
47
117
|
}
|
|
48
118
|
exports.deletePersonalizationProperty = deletePersonalizationProperty;
|
|
119
|
+
/**
|
|
120
|
+
* sync rule deleting a view if the annotation path gets deleted
|
|
121
|
+
* @param manifestSection - manifest section of the given view
|
|
122
|
+
*/
|
|
123
|
+
function deleteView(manifestSection) {
|
|
124
|
+
Object.keys(manifestSection).forEach((key) => delete manifestSection[key]);
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* sync rule for preventing the deletion of a property
|
|
128
|
+
*/
|
|
129
|
+
function doNotDelete() {
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* sync rule function for export of creationMode.createAtEnd
|
|
134
|
+
* @param manifestSection - section in manifest comprising the table settings
|
|
135
|
+
* @param configObject - section in config.json describing the table settings
|
|
136
|
+
* @param key - key or property in config.json
|
|
137
|
+
* @param manifestKey - key or property in manifest
|
|
138
|
+
*/
|
|
49
139
|
function exportCreationModeCreateAtEnd(manifestSection, configObject, key, manifestKey) {
|
|
50
140
|
if (typeof manifestSection['creationMode'] === 'object') {
|
|
51
141
|
manifestSection['creationMode'][manifestKey] = configObject[key];
|
|
@@ -59,6 +149,11 @@ function exportCreationModeCreateAtEnd(manifestSection, configObject, key, manif
|
|
|
59
149
|
}
|
|
60
150
|
}
|
|
61
151
|
exports.exportCreationModeCreateAtEnd = exportCreationModeCreateAtEnd;
|
|
152
|
+
/**
|
|
153
|
+
* sync rule function for the deletion of creationMode.createAtEnd
|
|
154
|
+
* @param manifestSection - section in manifest comprising the table settings
|
|
155
|
+
* @param manifestKey - key or property in manifest
|
|
156
|
+
*/
|
|
62
157
|
function deleteCreationModeCreateAtEnd(manifestSection, manifestKey) {
|
|
63
158
|
if (typeof manifestSection['creationMode'] === 'object' &&
|
|
64
159
|
manifestSection['creationMode'][manifestKey] !== undefined) {
|
|
@@ -66,16 +161,65 @@ function deleteCreationModeCreateAtEnd(manifestSection, manifestKey) {
|
|
|
66
161
|
}
|
|
67
162
|
}
|
|
68
163
|
exports.deleteCreationModeCreateAtEnd = deleteCreationModeCreateAtEnd;
|
|
164
|
+
/**
|
|
165
|
+
* sync rule for the import of personalization, does an implicit conversion of the former boolean value to the new object representation
|
|
166
|
+
* @param tableSettings - table settings in manifest, to be analyzed
|
|
167
|
+
* @returns - object rpresenting the value(s) for the config file
|
|
168
|
+
*/
|
|
169
|
+
function importPersonalization(tableSettings) {
|
|
170
|
+
const value = tableSettings['personalization'];
|
|
171
|
+
if (typeof value === 'object') {
|
|
172
|
+
return value;
|
|
173
|
+
}
|
|
174
|
+
else if (typeof value === 'boolean') {
|
|
175
|
+
return {
|
|
176
|
+
column: value,
|
|
177
|
+
sort: value,
|
|
178
|
+
filter: value
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* sync rule for the import of creationMode, does an implicit conversion of the former string value to the new object representation
|
|
184
|
+
* @param tableSettings - table settings in manifest, to be analyzed
|
|
185
|
+
* @returns - object rpresenting the value(s) for the config file
|
|
186
|
+
*/
|
|
187
|
+
function importCreationMode(tableSettings) {
|
|
188
|
+
const value = tableSettings['creationMode'];
|
|
189
|
+
if (typeof value === 'object') {
|
|
190
|
+
return value;
|
|
191
|
+
}
|
|
192
|
+
else if (typeof value === 'string') {
|
|
193
|
+
return {
|
|
194
|
+
name: value
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* sync rule for the import of the index of a table view
|
|
200
|
+
* @param manifestSection - manifest section, as determined by synRule.path
|
|
201
|
+
* @param _sectionId - not used
|
|
202
|
+
* @param _propertyKey - not used
|
|
203
|
+
* @param breadcrumbs - list if breadcrumbs, includes the given view key
|
|
204
|
+
* @returns index of the view in manifest, undefined if not found
|
|
205
|
+
*/
|
|
206
|
+
function determineIndexOfView(manifestSection, _sectionId, _propertyKey, breadcrumbs) {
|
|
207
|
+
const viewIndex = manifestSection.findIndex((view) => view['key'] === breadcrumbs[0]);
|
|
208
|
+
return viewIndex === -1 ? undefined : viewIndex;
|
|
209
|
+
}
|
|
210
|
+
/**********************************
|
|
211
|
+
* Sync class for TableCreationMode
|
|
212
|
+
*/
|
|
69
213
|
class TableCreationMode {
|
|
70
214
|
}
|
|
71
215
|
__decorate([
|
|
72
216
|
decorators_1.syncRule({
|
|
73
217
|
manifest: {
|
|
74
|
-
path:
|
|
218
|
+
path: application_1.getTableSettingsPathForLR,
|
|
75
219
|
export: (manifestSection, configObject, key, manifestKey) => {
|
|
76
220
|
exportCreationModeName(manifestSection, configObject, key, manifestKey);
|
|
77
221
|
},
|
|
78
|
-
delete: (manifestSection,
|
|
222
|
+
delete: (manifestSection, _configObject, _key, manifestKey) => {
|
|
79
223
|
deleteCreationModeName(manifestSection, manifestKey);
|
|
80
224
|
}
|
|
81
225
|
}
|
|
@@ -84,216 +228,362 @@ __decorate([
|
|
|
84
228
|
__decorate([
|
|
85
229
|
decorators_1.syncRule({
|
|
86
230
|
manifest: {
|
|
87
|
-
path:
|
|
231
|
+
path: application_1.getTableSettingsPathForLR,
|
|
88
232
|
export: (manifestSection, configObject, key, manifestKey) => {
|
|
89
233
|
exportCreationModeCreateAtEnd(manifestSection, configObject, key, manifestKey);
|
|
90
234
|
},
|
|
91
|
-
delete: (manifestSection,
|
|
235
|
+
delete: (manifestSection, _configObject, _key, manifestKey) => {
|
|
92
236
|
deleteCreationModeCreateAtEnd(manifestSection, manifestKey);
|
|
93
237
|
}
|
|
94
238
|
}
|
|
95
239
|
})
|
|
96
240
|
], TableCreationMode.prototype, "createAtEnd", void 0);
|
|
97
241
|
exports.TableCreationMode = TableCreationMode;
|
|
98
|
-
|
|
242
|
+
/**********************************
|
|
243
|
+
* Sync class for TableCreationMode
|
|
244
|
+
*/
|
|
245
|
+
class ViewTableCreationMode {
|
|
99
246
|
}
|
|
100
247
|
__decorate([
|
|
101
248
|
decorators_1.syncRule({
|
|
102
249
|
manifest: {
|
|
103
|
-
path:
|
|
250
|
+
path: application_1.getTableSettingsPathForView,
|
|
104
251
|
export: (manifestSection, configObject, key, manifestKey) => {
|
|
105
|
-
|
|
252
|
+
exportCreationModeName(manifestSection, configObject, key, manifestKey);
|
|
106
253
|
},
|
|
107
|
-
delete: (manifestSection,
|
|
108
|
-
|
|
254
|
+
delete: (manifestSection, _configObject, _key, manifestKey) => {
|
|
255
|
+
deleteCreationModeName(manifestSection, manifestKey);
|
|
109
256
|
}
|
|
110
257
|
}
|
|
111
258
|
})
|
|
112
|
-
],
|
|
259
|
+
], ViewTableCreationMode.prototype, "name", void 0);
|
|
113
260
|
__decorate([
|
|
114
261
|
decorators_1.syncRule({
|
|
115
262
|
manifest: {
|
|
116
|
-
path:
|
|
263
|
+
path: application_1.getTableSettingsPathForView,
|
|
117
264
|
export: (manifestSection, configObject, key, manifestKey) => {
|
|
118
|
-
|
|
265
|
+
exportCreationModeCreateAtEnd(manifestSection, configObject, key, manifestKey);
|
|
119
266
|
},
|
|
120
|
-
delete: (manifestSection,
|
|
121
|
-
|
|
267
|
+
delete: (manifestSection, _configObject, _key, manifestKey) => {
|
|
268
|
+
deleteCreationModeCreateAtEnd(manifestSection, manifestKey);
|
|
122
269
|
}
|
|
123
270
|
}
|
|
124
271
|
})
|
|
272
|
+
], ViewTableCreationMode.prototype, "createAtEnd", void 0);
|
|
273
|
+
exports.ViewTableCreationMode = ViewTableCreationMode;
|
|
274
|
+
/************************************
|
|
275
|
+
* Sync class for PersonalizationType
|
|
276
|
+
*/
|
|
277
|
+
class PersonalizationType {
|
|
278
|
+
}
|
|
279
|
+
__decorate([
|
|
280
|
+
decorators_1.syncRule({
|
|
281
|
+
manifest: {
|
|
282
|
+
path: application_1.getTableSettingsPathForLR,
|
|
283
|
+
export: exportPersonalizationProperty,
|
|
284
|
+
delete: deletePersonalizationProperty
|
|
285
|
+
}
|
|
286
|
+
})
|
|
287
|
+
], PersonalizationType.prototype, "column", void 0);
|
|
288
|
+
__decorate([
|
|
289
|
+
decorators_1.syncRule({
|
|
290
|
+
manifest: {
|
|
291
|
+
path: application_1.getTableSettingsPathForLR,
|
|
292
|
+
export: exportPersonalizationProperty,
|
|
293
|
+
delete: deletePersonalizationProperty
|
|
294
|
+
}
|
|
295
|
+
})
|
|
125
296
|
], PersonalizationType.prototype, "sort", void 0);
|
|
126
297
|
__decorate([
|
|
127
298
|
decorators_1.syncRule({
|
|
128
299
|
manifest: {
|
|
129
|
-
path:
|
|
130
|
-
export:
|
|
131
|
-
|
|
132
|
-
},
|
|
133
|
-
delete: (manifestSection, configObject, key, manifestKey) => {
|
|
134
|
-
deletePersonalizationProperty(manifestSection, manifestKey);
|
|
135
|
-
}
|
|
300
|
+
path: application_1.getTableSettingsPathForLR,
|
|
301
|
+
export: exportPersonalizationProperty,
|
|
302
|
+
delete: deletePersonalizationProperty
|
|
136
303
|
}
|
|
137
304
|
})
|
|
138
305
|
], PersonalizationType.prototype, "filter", void 0);
|
|
139
306
|
exports.PersonalizationType = PersonalizationType;
|
|
307
|
+
class ViewPersonalizationType {
|
|
308
|
+
}
|
|
309
|
+
__decorate([
|
|
310
|
+
decorators_1.syncRule({
|
|
311
|
+
manifest: {
|
|
312
|
+
path: application_1.getTableSettingsPathForView,
|
|
313
|
+
export: exportPersonalizationProperty,
|
|
314
|
+
delete: deletePersonalizationProperty
|
|
315
|
+
}
|
|
316
|
+
})
|
|
317
|
+
], ViewPersonalizationType.prototype, "column", void 0);
|
|
318
|
+
__decorate([
|
|
319
|
+
decorators_1.syncRule({
|
|
320
|
+
manifest: {
|
|
321
|
+
path: application_1.getTableSettingsPathForView,
|
|
322
|
+
export: exportPersonalizationProperty,
|
|
323
|
+
delete: deletePersonalizationProperty
|
|
324
|
+
}
|
|
325
|
+
})
|
|
326
|
+
], ViewPersonalizationType.prototype, "sort", void 0);
|
|
327
|
+
__decorate([
|
|
328
|
+
decorators_1.syncRule({
|
|
329
|
+
manifest: {
|
|
330
|
+
path: application_1.getTableSettingsPathForLR,
|
|
331
|
+
export: exportPersonalizationProperty,
|
|
332
|
+
delete: deletePersonalizationProperty
|
|
333
|
+
}
|
|
334
|
+
})
|
|
335
|
+
], ViewPersonalizationType.prototype, "filter", void 0);
|
|
336
|
+
exports.ViewPersonalizationType = ViewPersonalizationType;
|
|
337
|
+
/****************************************
|
|
338
|
+
* Sync class for QuickVariantSelectionV4
|
|
339
|
+
*/
|
|
140
340
|
class QuickVariantSelectionV4 {
|
|
141
341
|
}
|
|
142
342
|
__decorate([
|
|
143
343
|
decorators_1.syncRule({
|
|
144
344
|
manifest: {
|
|
145
|
-
path:
|
|
345
|
+
path: application_1.getQuickVariantPath
|
|
146
346
|
}
|
|
147
347
|
})
|
|
148
348
|
], QuickVariantSelectionV4.prototype, "paths", void 0);
|
|
149
349
|
__decorate([
|
|
150
350
|
decorators_1.syncRule({
|
|
151
351
|
manifest: {
|
|
152
|
-
path:
|
|
352
|
+
path: application_1.getQuickVariantPath
|
|
153
353
|
}
|
|
154
354
|
})
|
|
155
355
|
], QuickVariantSelectionV4.prototype, "hideTableTitle", void 0);
|
|
156
356
|
__decorate([
|
|
157
357
|
decorators_1.syncRule({
|
|
158
358
|
manifest: {
|
|
159
|
-
path:
|
|
359
|
+
path: application_1.getQuickVariantPath
|
|
160
360
|
}
|
|
161
361
|
})
|
|
162
362
|
], QuickVariantSelectionV4.prototype, "showCounts", void 0);
|
|
163
363
|
exports.QuickVariantSelectionV4 = QuickVariantSelectionV4;
|
|
164
|
-
|
|
364
|
+
/****************************************
|
|
365
|
+
* Sync class for TableSettings
|
|
366
|
+
*/
|
|
367
|
+
class TableSettings {
|
|
165
368
|
}
|
|
166
369
|
__decorate([
|
|
167
370
|
decorators_1.syncRule({
|
|
168
371
|
manifest: {
|
|
169
|
-
path:
|
|
372
|
+
path: application_1.getTableSettingsPathForLR
|
|
170
373
|
}
|
|
374
|
+
}),
|
|
375
|
+
decorators_1.validity({
|
|
376
|
+
since: '1.84.0'
|
|
171
377
|
})
|
|
172
|
-
],
|
|
378
|
+
], TableSettings.prototype, "type", void 0);
|
|
173
379
|
__decorate([
|
|
174
380
|
decorators_1.syncRule({
|
|
175
381
|
manifest: {
|
|
176
|
-
path:
|
|
382
|
+
path: application_1.getTableSettingsPathForLR,
|
|
383
|
+
import: importCreationMode
|
|
177
384
|
}
|
|
385
|
+
}),
|
|
386
|
+
decorators_1.validity({
|
|
387
|
+
since: '1.84.0'
|
|
178
388
|
})
|
|
179
|
-
],
|
|
180
|
-
|
|
181
|
-
|
|
389
|
+
], TableSettings.prototype, "creationMode", void 0);
|
|
390
|
+
__decorate([
|
|
391
|
+
decorators_1.syncRule({
|
|
392
|
+
manifest: {
|
|
393
|
+
path: application_1.getTableSettingsPathForLR,
|
|
394
|
+
import: importPersonalization
|
|
395
|
+
}
|
|
396
|
+
}),
|
|
397
|
+
decorators_1.validity({
|
|
398
|
+
since: '1.86.0'
|
|
399
|
+
})
|
|
400
|
+
], TableSettings.prototype, "personalization", void 0);
|
|
401
|
+
__decorate([
|
|
402
|
+
decorators_1.syncRule({
|
|
403
|
+
manifest: {
|
|
404
|
+
path: application_1.getTableSettingsPathForLR
|
|
405
|
+
}
|
|
406
|
+
}),
|
|
407
|
+
decorators_1.validity({
|
|
408
|
+
since: '1.84.0'
|
|
409
|
+
})
|
|
410
|
+
], TableSettings.prototype, "selectionMode", void 0);
|
|
411
|
+
__decorate([
|
|
412
|
+
decorators_1.syncRule({
|
|
413
|
+
manifest: {
|
|
414
|
+
path: application_1.getTableSettingsPathForLR
|
|
415
|
+
}
|
|
416
|
+
}),
|
|
417
|
+
decorators_1.validity({
|
|
418
|
+
since: '1.84.0'
|
|
419
|
+
})
|
|
420
|
+
], TableSettings.prototype, "selectAll", void 0);
|
|
421
|
+
__decorate([
|
|
422
|
+
decorators_1.syncRule({
|
|
423
|
+
manifest: {
|
|
424
|
+
path: application_1.getTableSettingsPathForLR
|
|
425
|
+
}
|
|
426
|
+
}),
|
|
427
|
+
decorators_1.validity({
|
|
428
|
+
since: '1.84.0'
|
|
429
|
+
})
|
|
430
|
+
], TableSettings.prototype, "selectionLimit", void 0);
|
|
431
|
+
__decorate([
|
|
432
|
+
decorators_1.syncRule({
|
|
433
|
+
manifest: {
|
|
434
|
+
path: application_1.getTableSettingsPathForLR
|
|
435
|
+
}
|
|
436
|
+
}),
|
|
437
|
+
decorators_1.validity({
|
|
438
|
+
since: '1.84.0'
|
|
439
|
+
})
|
|
440
|
+
], TableSettings.prototype, "enableExport", void 0);
|
|
441
|
+
__decorate([
|
|
442
|
+
decorators_1.syncRule({
|
|
443
|
+
manifest: {
|
|
444
|
+
path: application_1.getTableSettingsPathForLR
|
|
445
|
+
}
|
|
446
|
+
}),
|
|
447
|
+
decorators_1.validity({
|
|
448
|
+
since: '1.84.0'
|
|
449
|
+
})
|
|
450
|
+
], TableSettings.prototype, "quickVariantSelection", void 0);
|
|
451
|
+
__decorate([
|
|
452
|
+
decorators_1.syncRule({
|
|
453
|
+
manifest: {
|
|
454
|
+
path: application_1.getTableSettingsPathForLR
|
|
455
|
+
}
|
|
456
|
+
}),
|
|
457
|
+
decorators_1.validity({
|
|
458
|
+
since: '1.84.0'
|
|
459
|
+
})
|
|
460
|
+
], TableSettings.prototype, "condensedTableLayout", void 0);
|
|
461
|
+
exports.TableSettings = TableSettings;
|
|
462
|
+
/****************************************
|
|
463
|
+
* Sync class for ALPChartView (renamed due to indirection in app schema)
|
|
464
|
+
*/
|
|
465
|
+
class ALPChart {
|
|
182
466
|
}
|
|
183
467
|
__decorate([
|
|
184
468
|
decorators_1.syncRule({
|
|
185
469
|
manifest: {
|
|
186
|
-
path: (entitySet) => application_1.
|
|
470
|
+
path: (entitySet) => application_1.getSettingsPathForPage(entitySet) + '/views/paths/0/primary/0',
|
|
471
|
+
delete: deleteView
|
|
472
|
+
}
|
|
473
|
+
})
|
|
474
|
+
], ALPChart.prototype, "annotationPath", void 0);
|
|
475
|
+
exports.ALPChart = ALPChart;
|
|
476
|
+
/****************************************
|
|
477
|
+
* Sync class for view table settings
|
|
478
|
+
*/
|
|
479
|
+
class TableViewSettings {
|
|
480
|
+
}
|
|
481
|
+
__decorate([
|
|
482
|
+
decorators_1.syncRule({
|
|
483
|
+
manifest: {
|
|
484
|
+
path: application_1.getTableSettingsPathForView
|
|
187
485
|
}
|
|
188
486
|
}),
|
|
189
487
|
decorators_1.validity({
|
|
190
488
|
since: '1.84.0'
|
|
191
489
|
})
|
|
192
|
-
],
|
|
490
|
+
], TableViewSettings.prototype, "type", void 0);
|
|
193
491
|
__decorate([
|
|
194
492
|
decorators_1.syncRule({
|
|
195
493
|
manifest: {
|
|
196
|
-
path:
|
|
197
|
-
import:
|
|
198
|
-
const value = tableSettings['creationMode'];
|
|
199
|
-
if (typeof value === 'object') {
|
|
200
|
-
return value;
|
|
201
|
-
}
|
|
202
|
-
else if (typeof value === 'string') {
|
|
203
|
-
return {
|
|
204
|
-
name: value
|
|
205
|
-
};
|
|
206
|
-
}
|
|
207
|
-
}
|
|
494
|
+
path: application_1.getTableSettingsPathForView,
|
|
495
|
+
import: importCreationMode
|
|
208
496
|
}
|
|
209
497
|
}),
|
|
210
498
|
decorators_1.validity({
|
|
211
499
|
since: '1.84.0'
|
|
212
500
|
})
|
|
213
|
-
],
|
|
501
|
+
], TableViewSettings.prototype, "creationMode", void 0);
|
|
214
502
|
__decorate([
|
|
215
503
|
decorators_1.syncRule({
|
|
216
504
|
manifest: {
|
|
217
|
-
path:
|
|
218
|
-
import:
|
|
219
|
-
const value = tableSettings['personalization'];
|
|
220
|
-
if (typeof value === 'object') {
|
|
221
|
-
return value;
|
|
222
|
-
}
|
|
223
|
-
else if (typeof value === 'boolean') {
|
|
224
|
-
return {
|
|
225
|
-
column: value,
|
|
226
|
-
sort: value,
|
|
227
|
-
filter: value
|
|
228
|
-
};
|
|
229
|
-
}
|
|
230
|
-
}
|
|
505
|
+
path: application_1.getTableSettingsPathForView,
|
|
506
|
+
import: importPersonalization
|
|
231
507
|
}
|
|
232
508
|
}),
|
|
233
509
|
decorators_1.validity({
|
|
234
510
|
since: '1.86.0'
|
|
235
511
|
})
|
|
236
|
-
],
|
|
512
|
+
], TableViewSettings.prototype, "personalization", void 0);
|
|
237
513
|
__decorate([
|
|
238
514
|
decorators_1.syncRule({
|
|
239
515
|
manifest: {
|
|
240
|
-
path:
|
|
516
|
+
path: application_1.getTableSettingsPathForView
|
|
241
517
|
}
|
|
242
518
|
}),
|
|
243
519
|
decorators_1.validity({
|
|
244
520
|
since: '1.84.0'
|
|
245
521
|
})
|
|
246
|
-
],
|
|
522
|
+
], TableViewSettings.prototype, "selectionMode", void 0);
|
|
247
523
|
__decorate([
|
|
248
524
|
decorators_1.syncRule({
|
|
249
525
|
manifest: {
|
|
250
|
-
path:
|
|
526
|
+
path: application_1.getTableSettingsPathForView
|
|
251
527
|
}
|
|
252
528
|
}),
|
|
253
529
|
decorators_1.validity({
|
|
254
530
|
since: '1.84.0'
|
|
255
531
|
})
|
|
256
|
-
],
|
|
532
|
+
], TableViewSettings.prototype, "selectAll", void 0);
|
|
257
533
|
__decorate([
|
|
258
534
|
decorators_1.syncRule({
|
|
259
535
|
manifest: {
|
|
260
|
-
path:
|
|
536
|
+
path: application_1.getTableSettingsPathForView
|
|
261
537
|
}
|
|
262
538
|
}),
|
|
263
539
|
decorators_1.validity({
|
|
264
540
|
since: '1.84.0'
|
|
265
541
|
})
|
|
266
|
-
],
|
|
542
|
+
], TableViewSettings.prototype, "selectionLimit", void 0);
|
|
267
543
|
__decorate([
|
|
268
544
|
decorators_1.syncRule({
|
|
269
545
|
manifest: {
|
|
270
|
-
path:
|
|
546
|
+
path: application_1.getTableSettingsPathForView
|
|
271
547
|
}
|
|
272
548
|
}),
|
|
273
549
|
decorators_1.validity({
|
|
274
550
|
since: '1.84.0'
|
|
275
551
|
})
|
|
276
|
-
],
|
|
552
|
+
], TableViewSettings.prototype, "enableExport", void 0);
|
|
277
553
|
__decorate([
|
|
278
554
|
decorators_1.syncRule({
|
|
279
555
|
manifest: {
|
|
280
|
-
path:
|
|
556
|
+
path: application_1.getTableSettingsPathForView
|
|
281
557
|
}
|
|
282
558
|
}),
|
|
283
559
|
decorators_1.validity({
|
|
284
560
|
since: '1.84.0'
|
|
285
561
|
})
|
|
286
|
-
],
|
|
562
|
+
], TableViewSettings.prototype, "quickVariantSelection", void 0);
|
|
287
563
|
__decorate([
|
|
288
564
|
decorators_1.syncRule({
|
|
289
565
|
manifest: {
|
|
290
|
-
path:
|
|
566
|
+
path: application_1.getTableSettingsPathForView
|
|
291
567
|
}
|
|
292
568
|
}),
|
|
293
569
|
decorators_1.validity({
|
|
294
570
|
since: '1.84.0'
|
|
295
571
|
})
|
|
296
|
-
],
|
|
572
|
+
], TableViewSettings.prototype, "condensedTableLayout", void 0);
|
|
573
|
+
exports.TableViewSettings = TableViewSettings;
|
|
574
|
+
/****************************************
|
|
575
|
+
* Sync class for ALPTableView (renamed due to indirection in app schema)
|
|
576
|
+
*/
|
|
577
|
+
class ALPTable extends TableViewSettings {
|
|
578
|
+
}
|
|
579
|
+
__decorate([
|
|
580
|
+
decorators_1.syncRule({
|
|
581
|
+
manifest: {
|
|
582
|
+
path: (entitySet) => application_1.getSettingsPathForPage(entitySet) + '/views/paths/0/secondary/0',
|
|
583
|
+
delete: doNotDelete
|
|
584
|
+
}
|
|
585
|
+
})
|
|
586
|
+
], ALPTable.prototype, "annotationPath", void 0);
|
|
297
587
|
__decorate([
|
|
298
588
|
decorators_1.syncRule({
|
|
299
589
|
manifest: {
|
|
@@ -303,7 +593,119 @@ __decorate([
|
|
|
303
593
|
decorators_1.validity({
|
|
304
594
|
since: '1.84.0'
|
|
305
595
|
})
|
|
306
|
-
],
|
|
596
|
+
], ALPTable.prototype, "initialLoad", void 0);
|
|
597
|
+
exports.ALPTable = ALPTable;
|
|
598
|
+
/****************************************
|
|
599
|
+
* Sync class for LRChartView
|
|
600
|
+
*/
|
|
601
|
+
class LRChartView {
|
|
602
|
+
}
|
|
603
|
+
__decorate([
|
|
604
|
+
decorators_1.syncRule({
|
|
605
|
+
manifest: {
|
|
606
|
+
path: getSettingsPathForLRViewsPath,
|
|
607
|
+
delete: doNotDelete
|
|
608
|
+
}
|
|
609
|
+
})
|
|
610
|
+
], LRChartView.prototype, "key", void 0);
|
|
611
|
+
__decorate([
|
|
612
|
+
decorators_1.syncRule({
|
|
613
|
+
manifest: {
|
|
614
|
+
path: application_1.getSettingsPathForLRViewsPaths,
|
|
615
|
+
import: determineIndexOfView,
|
|
616
|
+
export: false,
|
|
617
|
+
delete: doNotDelete
|
|
618
|
+
}
|
|
619
|
+
})
|
|
620
|
+
], LRChartView.prototype, "index", void 0);
|
|
621
|
+
__decorate([
|
|
622
|
+
decorators_1.syncRule({
|
|
623
|
+
manifest: {
|
|
624
|
+
path: getSettingsPathForLRViewsPath,
|
|
625
|
+
delete: deleteView
|
|
626
|
+
}
|
|
627
|
+
})
|
|
628
|
+
], LRChartView.prototype, "annotationPath", void 0);
|
|
629
|
+
__decorate([
|
|
630
|
+
decorators_1.syncRule({
|
|
631
|
+
manifest: {
|
|
632
|
+
path: getSettingsPathForLRViewsPath
|
|
633
|
+
}
|
|
634
|
+
})
|
|
635
|
+
], LRChartView.prototype, "entitySet", void 0);
|
|
636
|
+
exports.LRChartView = LRChartView;
|
|
637
|
+
/****************************************
|
|
638
|
+
* Sync class for LRTableView
|
|
639
|
+
*/
|
|
640
|
+
class LRTableView extends TableViewSettings {
|
|
641
|
+
}
|
|
642
|
+
__decorate([
|
|
643
|
+
decorators_1.syncRule({
|
|
644
|
+
manifest: {
|
|
645
|
+
path: getSettingsPathForLRViewsPath,
|
|
646
|
+
delete: doNotDelete
|
|
647
|
+
}
|
|
648
|
+
})
|
|
649
|
+
], LRTableView.prototype, "key", void 0);
|
|
650
|
+
__decorate([
|
|
651
|
+
decorators_1.syncRule({
|
|
652
|
+
manifest: {
|
|
653
|
+
path: application_1.getSettingsPathForLRViewsPaths,
|
|
654
|
+
import: determineIndexOfView,
|
|
655
|
+
export: false,
|
|
656
|
+
delete: doNotDelete
|
|
657
|
+
}
|
|
658
|
+
})
|
|
659
|
+
], LRTableView.prototype, "index", void 0);
|
|
660
|
+
__decorate([
|
|
661
|
+
decorators_1.syncRule({
|
|
662
|
+
manifest: {
|
|
663
|
+
path: getSettingsPathForLRViewsPath,
|
|
664
|
+
delete: deleteView
|
|
665
|
+
}
|
|
666
|
+
})
|
|
667
|
+
], LRTableView.prototype, "annotationPath", void 0);
|
|
668
|
+
__decorate([
|
|
669
|
+
decorators_1.syncRule({
|
|
670
|
+
manifest: {
|
|
671
|
+
path: getSettingsPathForLRViewsPath
|
|
672
|
+
}
|
|
673
|
+
})
|
|
674
|
+
], LRTableView.prototype, "keepPreviousPersonalization", void 0);
|
|
675
|
+
__decorate([
|
|
676
|
+
decorators_1.syncRule({
|
|
677
|
+
manifest: {
|
|
678
|
+
path: getSettingsPathForLRViewsPath
|
|
679
|
+
}
|
|
680
|
+
})
|
|
681
|
+
], LRTableView.prototype, "entitySet", void 0);
|
|
682
|
+
exports.LRTableView = LRTableView;
|
|
683
|
+
/**
|
|
684
|
+
* LR mulit-view: own class for properties on views' level
|
|
685
|
+
*/
|
|
686
|
+
class MultiTableModeV4 {
|
|
687
|
+
}
|
|
688
|
+
__decorate([
|
|
689
|
+
decorators_1.syncRule({
|
|
690
|
+
manifest: {
|
|
691
|
+
path: (entitySet) => application_1.getSettingsPathForPage(entitySet) + '/views'
|
|
692
|
+
}
|
|
693
|
+
})
|
|
694
|
+
], MultiTableModeV4.prototype, "showCounts", void 0);
|
|
695
|
+
exports.MultiTableModeV4 = MultiTableModeV4;
|
|
696
|
+
/****************************************
|
|
697
|
+
* Sync class for Table
|
|
698
|
+
*/
|
|
699
|
+
class Table extends TableSettings {
|
|
700
|
+
}
|
|
701
|
+
__decorate([
|
|
702
|
+
decorators_1.syncRule({
|
|
703
|
+
manifest: {
|
|
704
|
+
path: (entitySet) => application_1.getSettingsPathForPage(entitySet) + '/views/paths/0/secondary/0',
|
|
705
|
+
delete: doNotDelete
|
|
706
|
+
}
|
|
707
|
+
})
|
|
708
|
+
], Table.prototype, "annotationPath", void 0);
|
|
307
709
|
__decorate([
|
|
308
710
|
decorators_1.syncRule({
|
|
309
711
|
manifest: {
|