@sap/ux-specification 1.96.88 → 1.96.90
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 +52 -1
- package/dist/documentation/runDocu-min.js +1 -1
- package/dist/documentation/runDocu-min.js.map +2 -2
- package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
- package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
- package/dist/documentation/v2/v2-ListReport.html +2 -2
- package/dist/documentation/v2/v2-ListReportNew.html +73 -0
- package/dist/documentation/v2/v2-ObjectPage.html +2 -2
- package/dist/documentation/v2/v2-OverviewPage.html +2 -2
- package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
- package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
- package/dist/documentation/v4/v4-FreestylePage.html +2 -2
- package/dist/documentation/v4/v4-ListReport.html +2 -2
- package/dist/documentation/v4/v4-ObjectPage.html +2 -2
- package/dist/index-min.js +110 -110
- package/dist/index-min.js.map +4 -4
- package/dist/schemas/v2/ApplicationV2.json +2 -1
- package/dist/schemas/v2/ListReportNewConfig.json +16 -0
- package/dist/schemas/v4/ApplicationV4.json +6 -1
- package/dist/schemas/v4/ListReportConfig.json +18 -0
- package/dist/schemas/v4/ObjectPageConfig.json +27 -0
- package/dist/specification/package.json +7 -7
- package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts +21 -0
- package/dist/specification/scripts/documentation/components/TreeDiagram.d.ts.map +1 -1
- package/dist/specification/scripts/documentation/components/TreeDiagram.js +21 -0
- package/dist/specification/scripts/documentation/components/TreeDiagram.js.map +1 -1
- package/dist/specification/scripts/documentation/components/filter.d.ts +7 -0
- package/dist/specification/scripts/documentation/components/filter.d.ts.map +1 -1
- package/dist/specification/scripts/documentation/components/filter.js +30 -0
- package/dist/specification/scripts/documentation/components/filter.js.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts +70 -0
- package/dist/specification/scripts/documentation/components/ui/TreeUI.d.ts.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/TreeUI.js +70 -3
- package/dist/specification/scripts/documentation/components/ui/TreeUI.js.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts +17 -0
- package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.d.ts.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js +23 -0
- package/dist/specification/scripts/documentation/components/ui/keyboardNavigation.js.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/search.d.ts +12 -0
- package/dist/specification/scripts/documentation/components/ui/search.d.ts.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/search.js +78 -8
- package/dist/specification/scripts/documentation/components/ui/search.js.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/toggle.d.ts +21 -0
- package/dist/specification/scripts/documentation/components/ui/toggle.d.ts.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/toggle.js +23 -6
- package/dist/specification/scripts/documentation/components/ui/toggle.js.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts +24 -0
- package/dist/specification/scripts/documentation/components/ui/tooltip.d.ts.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/tooltip.js +24 -3
- package/dist/specification/scripts/documentation/components/ui/tooltip.js.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/utils.d.ts +36 -0
- package/dist/specification/scripts/documentation/components/ui/utils.d.ts.map +1 -1
- package/dist/specification/scripts/documentation/components/ui/utils.js +36 -4
- package/dist/specification/scripts/documentation/components/ui/utils.js.map +1 -1
- package/dist/specification/scripts/extractDocu.js +49 -5
- package/dist/specification/scripts/extractDocu.js.map +1 -1
- package/dist/specification/scripts/macros/api.d.ts +4 -1
- package/dist/specification/scripts/macros/api.d.ts.map +1 -1
- package/dist/specification/scripts/macros/api.js +9 -1
- package/dist/specification/scripts/macros/api.js.map +1 -1
- package/dist/specification/scripts/macros/cmd.d.ts +1 -0
- package/dist/specification/scripts/macros/cmd.d.ts.map +1 -1
- package/dist/specification/scripts/macros/cmd.js +1 -0
- package/dist/specification/scripts/macros/cmd.js.map +1 -1
- package/dist/specification/scripts/macros/corrections.d.ts +1 -0
- package/dist/specification/scripts/macros/corrections.d.ts.map +1 -1
- package/dist/specification/scripts/macros/corrections.js +4 -0
- package/dist/specification/scripts/macros/corrections.js.map +1 -1
- package/dist/specification/scripts/macros/i18n.d.ts +1 -0
- package/dist/specification/scripts/macros/i18n.d.ts.map +1 -1
- package/dist/specification/scripts/macros/i18n.js +1 -0
- package/dist/specification/scripts/macros/i18n.js.map +1 -1
- package/dist/specification/scripts/macros/schema.d.ts +1 -0
- package/dist/specification/scripts/macros/schema.d.ts.map +1 -1
- package/dist/specification/scripts/macros/schema.js +18 -5
- package/dist/specification/scripts/macros/schema.js.map +1 -1
- package/dist/specification/scripts/schema/to-json-schema.d.ts +13 -5
- package/dist/specification/scripts/schema/to-json-schema.d.ts.map +1 -1
- package/dist/specification/scripts/schema/to-json-schema.js +57 -6
- package/dist/specification/scripts/schema/to-json-schema.js.map +1 -1
- package/dist/specification/scripts/spec.js +19 -9
- package/dist/specification/scripts/spec.js.map +1 -1
- package/dist/specification/src/api.d.ts +20 -12
- package/dist/specification/src/api.d.ts.map +1 -1
- package/dist/specification/src/api.js +24 -15
- package/dist/specification/src/api.js.map +1 -1
- package/dist/specification/src/extensionLogger.d.ts +3 -2
- package/dist/specification/src/extensionLogger.d.ts.map +1 -1
- package/dist/specification/src/extensionLogger.js +3 -2
- package/dist/specification/src/extensionLogger.js.map +1 -1
- package/dist/specification/src/i18n/i18n.d.ts +5 -0
- package/dist/specification/src/i18n/i18n.d.ts.map +1 -1
- package/dist/specification/src/i18n/i18n.js +5 -0
- package/dist/specification/src/i18n/i18n.js.map +1 -1
- package/dist/specification/src/project.d.ts +3 -1
- package/dist/specification/src/project.d.ts.map +1 -1
- package/dist/specification/src/project.js +3 -1
- package/dist/specification/src/project.js.map +1 -1
- package/dist/specification/src/specification/schemaAccess.d.ts +6 -2
- package/dist/specification/src/specification/schemaAccess.d.ts.map +1 -1
- package/dist/specification/src/specification/schemaAccess.js +10 -4
- package/dist/specification/src/specification/schemaAccess.js.map +1 -1
- package/dist/specification/src/sync/common/DataFieldStrategy.d.ts +63 -0
- package/dist/specification/src/sync/common/DataFieldStrategy.d.ts.map +1 -0
- package/dist/specification/src/sync/common/DataFieldStrategy.js +357 -0
- package/dist/specification/src/sync/common/DataFieldStrategy.js.map +1 -0
- package/dist/specification/src/sync/common/appProvider.d.ts +17 -6
- package/dist/specification/src/sync/common/appProvider.d.ts.map +1 -1
- package/dist/specification/src/sync/common/appProvider.js +33 -17
- package/dist/specification/src/sync/common/appProvider.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/control.d.ts +26 -10
- package/dist/specification/src/sync/common/decoration/control.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/control.js +32 -13
- package/dist/specification/src/sync/common/decoration/control.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.d.ts +14 -0
- package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.js +14 -0
- package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/factory.d.ts +12 -3
- package/dist/specification/src/sync/common/decoration/factory.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/factory.js +6 -3
- package/dist/specification/src/sync/common/decoration/factory.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/flex.d.ts +7 -0
- package/dist/specification/src/sync/common/decoration/flex.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/flex.js +7 -0
- package/dist/specification/src/sync/common/decoration/flex.js.map +1 -1
- package/dist/specification/src/sync/common/distTagEvaluator.d.ts +6 -3
- package/dist/specification/src/sync/common/distTagEvaluator.d.ts.map +1 -1
- package/dist/specification/src/sync/common/distTagEvaluator.js +6 -3
- package/dist/specification/src/sync/common/distTagEvaluator.js.map +1 -1
- package/dist/specification/src/sync/common/flexUtils.d.ts +11 -10
- package/dist/specification/src/sync/common/flexUtils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/flexUtils.js +11 -10
- package/dist/specification/src/sync/common/flexUtils.js.map +1 -1
- package/dist/specification/src/sync/common/generate/objectPage.d.ts +89 -19
- package/dist/specification/src/sync/common/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/common/generate/objectPage.js +223 -89
- package/dist/specification/src/sync/common/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/common/generate/utils.d.ts +81 -36
- package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/generate/utils.js +109 -35
- package/dist/specification/src/sync/common/generate/utils.js.map +1 -1
- package/dist/specification/src/sync/common/i18n.json +2 -1
- package/dist/specification/src/sync/common/import/utils.d.ts +9 -3
- package/dist/specification/src/sync/common/import/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/import/utils.js +9 -3
- package/dist/specification/src/sync/common/import/utils.js.map +1 -1
- package/dist/specification/src/sync/common/importProject.d.ts +17 -6
- package/dist/specification/src/sync/common/importProject.d.ts.map +1 -1
- package/dist/specification/src/sync/common/importProject.js +60 -30
- package/dist/specification/src/sync/common/importProject.js.map +1 -1
- package/dist/specification/src/sync/common/index.d.ts +1 -0
- package/dist/specification/src/sync/common/index.d.ts.map +1 -1
- package/dist/specification/src/sync/common/index.js +1 -0
- package/dist/specification/src/sync/common/index.js.map +1 -1
- package/dist/specification/src/sync/common/utils.d.ts +152 -56
- package/dist/specification/src/sync/common/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/utils.js +262 -149
- package/dist/specification/src/sync/common/utils.js.map +1 -1
- package/dist/specification/src/sync/i18n.d.ts +5 -0
- package/dist/specification/src/sync/i18n.d.ts.map +1 -1
- package/dist/specification/src/sync/i18n.js +5 -0
- package/dist/specification/src/sync/i18n.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/Action.d.ts +3 -3
- package/dist/specification/src/sync/v2/export/controls/Action.js +15 -15
- package/dist/specification/src/sync/v2/export/controls/Card.d.ts +14 -0
- package/dist/specification/src/sync/v2/export/controls/Card.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/Card.js +20 -0
- package/dist/specification/src/sync/v2/export/controls/Card.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/Field.js +5 -5
- package/dist/specification/src/sync/v2/export/controls/FilterBar.d.ts +20 -0
- package/dist/specification/src/sync/v2/export/controls/FilterBar.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/FilterBar.js +28 -0
- package/dist/specification/src/sync/v2/export/controls/FilterBar.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/FormAction.js +4 -4
- package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts +10 -5
- package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/Fragment.js +62 -25
- package/dist/specification/src/sync/v2/export/controls/Fragment.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/ObjectPageFooterAction.js +6 -6
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderAction.js +6 -6
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.js +20 -16
- package/dist/specification/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/ObjectPageSection.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/ObjectPageToolBarAction.js +6 -6
- package/dist/specification/src/sync/v2/export/controls/Table.d.ts +24 -0
- package/dist/specification/src/sync/v2/export/controls/Table.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/Table.js +42 -3
- package/dist/specification/src/sync/v2/export/controls/Table.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/TableColumn.js +10 -10
- package/dist/specification/src/sync/v2/export/export.d.ts +7 -3
- package/dist/specification/src/sync/v2/export/export.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/export.js +133 -44
- package/dist/specification/src/sync/v2/export/export.js.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPage.d.ts +28 -11
- package/dist/specification/src/sync/v2/export/exportPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPage.js +43 -22
- package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts +6 -3
- package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.js +27 -17
- package/dist/specification/src/sync/v2/export/exportPageGeneric.js.map +1 -1
- package/dist/specification/src/sync/v2/export/manifest.d.ts +5 -2
- package/dist/specification/src/sync/v2/export/manifest.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/manifest.js +30 -6
- package/dist/specification/src/sync/v2/export/manifest.js.map +1 -1
- package/dist/specification/src/sync/v2/export/pages/OverviewPage.d.ts +21 -0
- package/dist/specification/src/sync/v2/export/pages/OverviewPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/pages/OverviewPage.js +36 -2
- package/dist/specification/src/sync/v2/export/pages/OverviewPage.js.map +1 -1
- package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts +25 -15
- package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/view-controller-generator.js +27 -16
- package/dist/specification/src/sync/v2/export/view-controller-generator.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts +2 -0
- package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js +6 -0
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/generate.d.ts +5 -9
- package/dist/specification/src/sync/v2/generate/generate.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/generate.js +14 -14
- package/dist/specification/src/sync/v2/generate/generate.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/index.d.ts +1 -1
- package/dist/specification/src/sync/v2/generate/index.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/index.js +5 -2
- package/dist/specification/src/sync/v2/generate/index.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/listReport.d.ts +5 -3
- package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/listReport.js +25 -8
- package/dist/specification/src/sync/v2/generate/listReport.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/objectPage.d.ts +2 -2
- package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/objectPage.js +75 -43
- package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/overviewPage.d.ts +2 -2
- package/dist/specification/src/sync/v2/generate/overviewPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/overviewPage.js +2 -2
- package/dist/specification/src/sync/v2/generate/overviewPage.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.d.ts +5 -2
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.js +4 -4
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/utils.d.ts +47 -22
- package/dist/specification/src/sync/v2/generate/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/utils.js +92 -33
- package/dist/specification/src/sync/v2/generate/utils.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.d.ts +27 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.js +60 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.js.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.d.ts +84 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.js +262 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.js.map +1 -0
- package/dist/specification/src/sync/v2/import/app/appProvider.d.ts +7 -0
- package/dist/specification/src/sync/v2/import/app/appProvider.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/app/appProvider.js +26 -6
- package/dist/specification/src/sync/v2/import/app/appProvider.js.map +1 -1
- package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts +4 -0
- package/dist/specification/src/sync/v2/import/app/ovpProvider.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/app/ovpProvider.js +4 -0
- package/dist/specification/src/sync/v2/import/app/ovpProvider.js.map +1 -1
- package/dist/specification/src/sync/v2/import/common/index.d.ts +28 -15
- package/dist/specification/src/sync/v2/import/common/index.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/common/index.js +91 -35
- package/dist/specification/src/sync/v2/import/common/index.js.map +1 -1
- package/dist/specification/src/sync/v2/import/controls/table.d.ts +6 -2
- package/dist/specification/src/sync/v2/import/controls/table.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/controls/table.js +6 -2
- package/dist/specification/src/sync/v2/import/controls/table.js.map +1 -1
- package/dist/specification/src/sync/v2/import/importPage.d.ts +3 -2
- package/dist/specification/src/sync/v2/import/importPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/importPage.js +4 -5
- package/dist/specification/src/sync/v2/import/importPage.js.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts +3 -3
- package/dist/specification/src/sync/v2/import/pages/analyticalListPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js +9 -10
- package/dist/specification/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/listReport.d.ts +8 -7
- package/dist/specification/src/sync/v2/import/pages/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/listReport.js +28 -24
- package/dist/specification/src/sync/v2/import/pages/listReport.js.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts +3 -3
- package/dist/specification/src/sync/v2/import/pages/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/objectPage.js +107 -76
- package/dist/specification/src/sync/v2/import/pages/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts +2 -1
- package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/overviewPage.js +27 -12
- package/dist/specification/src/sync/v2/import/pages/overviewPage.js.map +1 -1
- package/dist/specification/src/sync/v2/import/utils.d.ts +18 -9
- package/dist/specification/src/sync/v2/import/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/utils.js +27 -15
- package/dist/specification/src/sync/v2/import/utils.js.map +1 -1
- package/dist/specification/src/sync/v2/utils.d.ts +27 -2
- package/dist/specification/src/sync/v2/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/utils.js +46 -0
- package/dist/specification/src/sync/v2/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/application.d.ts +7 -5
- package/dist/specification/src/sync/v4/application.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/application.js +7 -5
- package/dist/specification/src/sync/v4/application.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/FilterBar.js +8 -0
- package/dist/specification/src/sync/v4/export/controls/FilterBar.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageFooter.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.d.ts +4 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.js +4 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageForm.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.d.ts +2 -2
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeader.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.d.ts +3 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.js +4 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageHeaderAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +6 -0
- package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.js +7 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageToolBarAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts +18 -10
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.js +48 -18
- package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/TableColumn.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/TableColumn.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBar.d.ts +2 -2
- package/dist/specification/src/sync/v4/export/controls/ToolBar.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts +6 -0
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +7 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/export.d.ts +6 -4
- package/dist/specification/src/sync/v4/export/export.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/export.js +147 -59
- package/dist/specification/src/sync/v4/export/export.js.map +1 -1
- package/dist/specification/src/sync/v4/export/exportCustomColumn.d.ts +6 -4
- package/dist/specification/src/sync/v4/export/exportCustomColumn.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/exportCustomColumn.js +6 -4
- package/dist/specification/src/sync/v4/export/exportCustomColumn.js.map +1 -1
- package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts +3 -2
- package/dist/specification/src/sync/v4/export/flexibleColumnLayout.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js +13 -9
- package/dist/specification/src/sync/v4/export/flexibleColumnLayout.js.map +1 -1
- package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts +6 -4
- package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/fpmCustomPage.js +9 -4
- package/dist/specification/src/sync/v4/export/fpmCustomPage.js.map +1 -1
- package/dist/specification/src/sync/v4/export/manifest.d.ts +6 -2
- package/dist/specification/src/sync/v4/export/manifest.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/manifest.js +46 -17
- package/dist/specification/src/sync/v4/export/manifest.js.map +1 -1
- package/dist/specification/src/sync/v4/export/pages/ListReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/pages/ListReport.js +4 -3
- package/dist/specification/src/sync/v4/export/pages/ListReport.js.map +1 -1
- package/dist/specification/src/sync/v4/export/utils.d.ts +6 -4
- package/dist/specification/src/sync/v4/export/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/utils.js +6 -4
- package/dist/specification/src/sync/v4/export/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js +6 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.d.ts +5 -3
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js +14 -5
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts +1 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js +18 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.js +2 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/pageExtensions.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.d.ts +2 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js +2 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/freestylePage.d.ts +2 -2
- package/dist/specification/src/sync/v4/generate/freestylePage.js +2 -2
- package/dist/specification/src/sync/v4/generate/generate.d.ts +13 -11
- package/dist/specification/src/sync/v4/generate/generate.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/generate.js +13 -11
- package/dist/specification/src/sync/v4/generate/generate.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/listReport.d.ts +10 -7
- package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/listReport.js +122 -73
- package/dist/specification/src/sync/v4/generate/listReport.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts +22 -1
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.js +247 -187
- package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/import/app/appProvider.d.ts +18 -4
- package/dist/specification/src/sync/v4/import/app/appProvider.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/app/appProvider.js +56 -24
- package/dist/specification/src/sync/v4/import/app/appProvider.js.map +1 -1
- package/dist/specification/src/sync/v4/import/fragment.d.ts +29 -4
- package/dist/specification/src/sync/v4/import/fragment.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/fragment.js +46 -7
- package/dist/specification/src/sync/v4/import/fragment.js.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts +3 -2
- package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js +7 -2
- package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/listReport.d.ts +12 -10
- package/dist/specification/src/sync/v4/import/pages/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/listReport.js +82 -51
- package/dist/specification/src/sync/v4/import/pages/listReport.js.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts +7 -6
- package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/objectPage.js +82 -71
- package/dist/specification/src/sync/v4/import/pages/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/import/utils.d.ts +4 -2
- package/dist/specification/src/sync/v4/import/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/utils.js +4 -2
- package/dist/specification/src/sync/v4/import/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.js +5 -2
- package/dist/specification/src/sync/v4/sync-rules/controllerExtensions.js.map +1 -1
- package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts +33 -0
- package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/StableIdHelper.js +42 -53
- package/dist/specification/src/sync/v4/utils/StableIdHelper.js.map +1 -1
- package/dist/specification/src/sync/v4/utils/macros.d.ts +4 -0
- package/dist/specification/src/sync/v4/utils/macros.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/macros.js +17 -1
- package/dist/specification/src/sync/v4/utils/macros.js.map +1 -1
- package/dist/specification/src/sync/v4/utils/utils.d.ts +109 -22
- package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/utils.js +372 -159
- package/dist/specification/src/sync/v4/utils/utils.js.map +1 -1
- package/dist/types/src/common/Application.d.ts +6 -0
- package/dist/types/src/common/Application.d.ts.map +1 -1
- package/dist/types/src/common/Application.js +4 -0
- package/dist/types/src/common/Application.js.map +1 -1
- package/dist/types/src/common/types.d.ts +56 -2
- package/dist/types/src/common/types.d.ts.map +1 -1
- package/dist/types/src/common/types.js +7 -1
- package/dist/types/src/common/types.js.map +1 -1
- package/dist/types/src/common/webapp/manifest/sapUi5.d.ts +3 -2
- package/dist/types/src/common/webapp/manifest/sapUi5.d.ts.map +1 -1
- package/dist/types/src/common/webapp/manifest/sapUi5.js +3 -2
- package/dist/types/src/common/webapp/manifest/sapUi5.js.map +1 -1
- package/dist/types/src/v2/application.d.ts +1 -1
- package/dist/types/src/v2/controls/Action.d.ts +12 -0
- package/dist/types/src/v2/controls/Action.d.ts.map +1 -1
- package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts +1 -0
- package/dist/types/src/v2/controls/AnalyticalListPageChart.d.ts.map +1 -1
- package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts +1 -0
- package/dist/types/src/v2/controls/AnalyticalListPageKPI.d.ts.map +1 -1
- package/dist/types/src/v2/controls/Card.d.ts +13 -0
- package/dist/types/src/v2/controls/Card.d.ts.map +1 -1
- package/dist/types/src/v2/controls/Card.js.map +1 -1
- package/dist/types/src/v2/controls/Field.d.ts +1 -0
- package/dist/types/src/v2/controls/Field.d.ts.map +1 -1
- package/dist/types/src/v2/controls/FilterBar.d.ts +6 -0
- package/dist/types/src/v2/controls/FilterBar.d.ts.map +1 -1
- package/dist/types/src/v2/controls/FilterBar.js.map +1 -1
- package/dist/types/src/v2/controls/Header.d.ts +1 -0
- package/dist/types/src/v2/controls/Header.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageChart.d.ts +1 -0
- package/dist/types/src/v2/controls/ObjectPageChart.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageFooter.d.ts +2 -0
- package/dist/types/src/v2/controls/ObjectPageFooter.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageForm.d.ts +1 -0
- package/dist/types/src/v2/controls/ObjectPageForm.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageHeader.d.ts +1 -0
- package/dist/types/src/v2/controls/ObjectPageHeader.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts +3 -0
- package/dist/types/src/v2/controls/ObjectPageHeaderSection.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageLayout.d.ts +1 -0
- package/dist/types/src/v2/controls/ObjectPageLayout.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageSection.d.ts +13 -0
- package/dist/types/src/v2/controls/ObjectPageSection.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageSection.js.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageTable.d.ts +6 -0
- package/dist/types/src/v2/controls/ObjectPageTable.d.ts.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts +2 -0
- package/dist/types/src/v2/controls/ObjectPageToolBar.d.ts.map +1 -1
- package/dist/types/src/v2/controls/Table.d.ts +28 -0
- package/dist/types/src/v2/controls/Table.d.ts.map +1 -1
- package/dist/types/src/v2/controls/Table.js.map +1 -1
- package/dist/types/src/v2/controls/ToolBar.d.ts +1 -0
- package/dist/types/src/v2/controls/ToolBar.d.ts.map +1 -1
- package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts +1 -0
- package/dist/types/src/v2/pages/AnalyticalListPageConfigV2.d.ts.map +1 -1
- package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts +4 -0
- package/dist/types/src/v2/pages/OverviewPageConfigV2.d.ts.map +1 -1
- package/dist/types/src/v4/application.d.ts +1 -1
- package/dist/types/src/v4/controls/CustomAction.d.ts +10 -0
- package/dist/types/src/v4/controls/CustomAction.d.ts.map +1 -1
- package/dist/types/src/v4/controls/FilterBar.d.ts +10 -0
- package/dist/types/src/v4/controls/FilterBar.d.ts.map +1 -1
- package/dist/types/src/v4/controls/FilterBar.js.map +1 -1
- package/dist/types/src/v4/controls/Header.d.ts +1 -0
- package/dist/types/src/v4/controls/Header.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageFooter.d.ts +1 -0
- package/dist/types/src/v4/controls/ObjectPageFooter.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageForm.d.ts +5 -1
- package/dist/types/src/v4/controls/ObjectPageForm.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageHeader.d.ts +6 -1
- package/dist/types/src/v4/controls/ObjectPageHeader.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts +6 -0
- package/dist/types/src/v4/controls/ObjectPageHeaderSection.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageLayout.d.ts +1 -0
- package/dist/types/src/v4/controls/ObjectPageLayout.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageSection.d.ts +17 -0
- package/dist/types/src/v4/controls/ObjectPageSection.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageSection.js.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageTable.d.ts +5 -0
- package/dist/types/src/v4/controls/ObjectPageTable.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageTable.js.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts +8 -1
- package/dist/types/src/v4/controls/ObjectPageToolBar.d.ts.map +1 -1
- package/dist/types/src/v4/controls/Table.d.ts +15 -0
- package/dist/types/src/v4/controls/Table.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ToolBar.d.ts +17 -2
- package/dist/types/src/v4/controls/ToolBar.d.ts.map +1 -1
- package/dist/types/src/v4/page.d.ts +4 -0
- package/dist/types/src/v4/page.d.ts.map +1 -1
- package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts +22 -0
- package/dist/types/src/v4/webapp/manifest/ManifestSettings.d.ts.map +1 -1
- package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts +3 -0
- package/dist/types/src/v4/webapp/manifest/sapUi5.d.ts.map +1 -1
- package/dist/types/src/v4/webapp/manifest/sapUi5.js.map +1 -1
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts +1 -1
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.d.ts.map +1 -1
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js +2 -2
- package/dist/types/src/v4/webapp/manifest/sapUiPageV4.js.map +1 -1
- package/package.json +8 -8
|
@@ -2,7 +2,7 @@ import type { Definition } from 'typescript-json-schema';
|
|
|
2
2
|
import type { MetadataInstanceInterface } from './decoration/factory';
|
|
3
3
|
import type { Manifest, ExtensionLogger, FacetConfig, FacetConfigs, FacetSection, FileData, SchemaFilePath, FeatureToggle } from '@sap/ux-specification-types';
|
|
4
4
|
import { TemplateType, v4, FioriElementsVersion, OdataVersion, PageTypeV2, PageTypeV4, SchemaType } from '@sap/ux-specification-types';
|
|
5
|
-
import type { DataField, DataFieldAbstractTypes, FacetTypes } from '@sap-ux/vocabularies-types/vocabularies/UI';
|
|
5
|
+
import type { DataField, DataFieldAbstractTypes, DataFieldForActionAbstractTypes, FacetTypes } from '@sap-ux/vocabularies-types/vocabularies/UI';
|
|
6
6
|
import type { ConvertedMetadata, EntityType, PropertyPath, PropertyAnnotationValue } from '@sap-ux/vocabularies-types';
|
|
7
7
|
import type { PropertyAnnotations } from '@sap-ux/vocabularies-types/vocabularies/Edm_Types';
|
|
8
8
|
export declare const DEFINITION_LINK_PREFIX = "#/definitions/";
|
|
@@ -11,6 +11,7 @@ export declare const V4_LIBS: string[];
|
|
|
11
11
|
export declare const arrayIncludes: (arr: string[], target: string[]) => boolean;
|
|
12
12
|
/**
|
|
13
13
|
* Function returns annotation path for schema based on received params.
|
|
14
|
+
*
|
|
14
15
|
* @param entityTypeName - Entity type name.
|
|
15
16
|
* @param term - Annotation term.
|
|
16
17
|
* @param qualifier - Annotation qualifier.
|
|
@@ -18,57 +19,91 @@ export declare const arrayIncludes: (arr: string[], target: string[]) => boolean
|
|
|
18
19
|
*/
|
|
19
20
|
export declare const createAnnotationPath: (entityTypeName: string, term: string, qualifier?: string) => string | undefined;
|
|
20
21
|
/**
|
|
21
|
-
* Parses, merges, and converts a list of annotation files with aid of tools from annotation-vocabularies-tools
|
|
22
|
+
* Parses, merges, and converts a list of annotation files with aid of tools from annotation-vocabularies-tools.
|
|
23
|
+
*
|
|
22
24
|
* @param annotationFiles - The list of all annotation files, in JSON format
|
|
25
|
+
* @param logger - Logger instance used for logging errors or messages during processing
|
|
23
26
|
* @returns the complete service information
|
|
24
27
|
*/
|
|
25
28
|
export declare function parseAndMergeAndConvert(annotationFiles: FileData[], logger: ExtensionLogger): ConvertedMetadata;
|
|
26
29
|
export declare const getAnnotationPropertyValue: (annotationProperty: DataField["Value"]) => string;
|
|
27
30
|
/**
|
|
28
|
-
* Checks for Common.Label and overwrites the label from it if present
|
|
31
|
+
* Checks for Common.Label and overwrites the label from it if present.
|
|
32
|
+
*
|
|
29
33
|
* @param {PropertyAnnotations} annotations - property annotations
|
|
30
34
|
* @param {EntityType} entityType - entity type
|
|
31
35
|
* @param {string} label - label, to be actualized
|
|
36
|
+
* @returns label, derived from Common.Label or from property value
|
|
32
37
|
*/
|
|
33
38
|
export declare function evaluateCommonLabel(annotations: PropertyAnnotations, entityType: EntityType, label: string): string;
|
|
34
39
|
/**
|
|
35
|
-
* Determines the label for a property path
|
|
40
|
+
* Determines the label for a property path.
|
|
41
|
+
*
|
|
36
42
|
* @param {PropertyPath} propertyPath - property path
|
|
37
43
|
* @param {EntityType} entityType - entity type
|
|
38
44
|
* @returns label, derived from Common.Label or from property value
|
|
39
45
|
*/
|
|
40
46
|
export declare function getLabelForPropertyPath(propertyPath: PropertyPath, entityType: EntityType): string;
|
|
41
47
|
/**
|
|
42
|
-
* Determines the label for a LineItem record
|
|
43
|
-
*
|
|
44
|
-
* @param
|
|
48
|
+
* Determines the label for a LineItem record.
|
|
49
|
+
*
|
|
50
|
+
* @param field - Line item record
|
|
51
|
+
* @param entityType - entity type
|
|
45
52
|
* @returns label, derived from Common.Label or from property value
|
|
46
53
|
*/
|
|
47
54
|
export declare function getLabelForDataField(field: DataFieldAbstractTypes, entityType: EntityType): string;
|
|
48
55
|
/**
|
|
49
|
-
*
|
|
50
|
-
*
|
|
56
|
+
* Function to resolve the dataField label.
|
|
57
|
+
*
|
|
58
|
+
* @param dataFieldLabel - Given dataField label; might be of type string, or an object in case of a path reference
|
|
51
59
|
* @param entityType - the entity type as part of the AVT ConvertedMetadata
|
|
60
|
+
* @returns undefined or the right string value
|
|
61
|
+
*/
|
|
62
|
+
export declare function getLabel(dataFieldLabel: any, entityType: EntityType): string;
|
|
63
|
+
/**
|
|
64
|
+
* Generates a description for action-based data fields using the provided data field information
|
|
65
|
+
* and its corresponding label.
|
|
66
|
+
*
|
|
67
|
+
* @param {DataFieldForActionAbstractTypes} dataFieldAbstract - Abstract representation of the data field
|
|
68
|
+
* with action-based properties.
|
|
69
|
+
* @param {string} dataFieldLabel - The label associated with the data field, which may influence
|
|
70
|
+
* the generated description.
|
|
71
|
+
* @returns {string} The description derived from the data field label or action name.
|
|
72
|
+
*/
|
|
73
|
+
export declare function getDescriptionForActionBasedDataFields(dataFieldAbstract: DataFieldForActionAbstractTypes, dataFieldLabel: string): any;
|
|
74
|
+
/**
|
|
75
|
+
* Retrieves the title for a given data field.
|
|
76
|
+
*
|
|
77
|
+
* @param dataField - The data field object containing metadata.
|
|
78
|
+
* @param entityType - The entity type as part of the AVT ConvertedMetadata.
|
|
79
|
+
* @param dataFieldLabel - The label associated with the data field.
|
|
80
|
+
* @returns The title for the data field as a string.
|
|
52
81
|
*/
|
|
53
|
-
export declare function
|
|
82
|
+
export declare function getTitleForDataField(dataField: DataField, entityType: EntityType, dataFieldLabel: string): string;
|
|
54
83
|
/**
|
|
55
|
-
* Prepare string for reference use in schema
|
|
84
|
+
* Prepare string for reference use in schema.
|
|
85
|
+
*
|
|
56
86
|
* @param refInput string to be character checked and replaced
|
|
57
87
|
* @returns string with replaced characters
|
|
58
88
|
*/
|
|
59
89
|
export declare function prepareRef(refInput: string | PropertyAnnotationValue<String>): string;
|
|
60
90
|
/**
|
|
61
|
-
* Return the page type for a given V2 page in manifest
|
|
91
|
+
* Return the page type for a given V2 page in manifest.
|
|
92
|
+
*
|
|
62
93
|
* @param name - page component name
|
|
94
|
+
* @returns page type
|
|
63
95
|
*/
|
|
64
96
|
export declare function getPageTypeV2(name: string): PageTypeV2 | undefined;
|
|
65
97
|
/**
|
|
66
|
-
* Return the page type for a given V4 page in manifest
|
|
67
|
-
*
|
|
98
|
+
* Return the page type for a given V4 page in manifest.
|
|
99
|
+
*
|
|
100
|
+
* @param v4Page - The V4 application page or routing target configuration
|
|
101
|
+
* @returns page type
|
|
68
102
|
*/
|
|
69
|
-
export declare function getPageTypeV4(
|
|
103
|
+
export declare function getPageTypeV4(v4Page: v4.SapUiAppPageV4 | v4.SapUi5RoutingTargetCustomPageV4): PageTypeV4 | undefined;
|
|
70
104
|
/**
|
|
71
|
-
* Finds the alias for a given namespace in the references' section of the converted service metadata
|
|
105
|
+
* Finds the alias for a given namespace in the references' section of the converted service metadata.
|
|
106
|
+
*
|
|
72
107
|
* @param {string} namespace - complete namespace, e.g. 'com.sap.vocabularies.UI.v1'
|
|
73
108
|
* @param {ConvertedMetadata} oDataServiceAVT - combined service metadata, as returned by annotation vocabularies tools
|
|
74
109
|
* @returns alias for the given namespace
|
|
@@ -76,23 +111,27 @@ export declare function getPageTypeV4(v4App: v4.SapUiAppPageV4 | v4.SapUi5Routin
|
|
|
76
111
|
export declare function findAlias(namespace: string, oDataServiceAVT: ConvertedMetadata): string | undefined;
|
|
77
112
|
/**
|
|
78
113
|
* Method returns annotation from passed meta path.
|
|
114
|
+
*
|
|
79
115
|
* @param metaPath - annotation meta path
|
|
80
116
|
* @returns annotation name
|
|
81
117
|
*/
|
|
82
118
|
export declare function getAnnotationFromMetaPath(metaPath: string): string;
|
|
83
119
|
/**
|
|
84
120
|
* Resolve page section(get key and label->description).
|
|
121
|
+
*
|
|
85
122
|
* @param facetDefinition - the actual annotation record
|
|
123
|
+
* @param sourceEntityType - The source entity type to be used for resolving facets
|
|
124
|
+
* @param oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
|
|
125
|
+
* @param logger - Logger class for logging messages
|
|
126
|
+
* @param oDataVersion - OData version
|
|
86
127
|
* @param keyForRelatedFacetKeys - construct key for 'keyForRelatedFacetKeys' property(used to define custom sections) - we should not add '@' symbol there.
|
|
87
|
-
* @
|
|
88
|
-
* @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
|
|
89
|
-
* @param {ExtensionLogger} logger - Logger class for logging messages
|
|
90
|
-
* @returns {FacetSection} - object comprising the relevant facet information
|
|
128
|
+
* @returns - object comprising the relevant facet information
|
|
91
129
|
*/
|
|
92
130
|
export declare function getSectionFacet(facetDefinition: FacetTypes, sourceEntityType: EntityType, oDataServiceAVT: ConvertedMetadata, logger?: ExtensionLogger, oDataVersion?: FioriElementsVersion, keyForRelatedFacetKeys?: boolean): FacetSection | undefined;
|
|
93
131
|
/**
|
|
94
132
|
* Method prepares value as empty object or array based on passed path.
|
|
95
133
|
* For array path should end with '[]'.
|
|
134
|
+
*
|
|
96
135
|
* @param {string} path - path of the property in the manifest
|
|
97
136
|
* @returns prepared value based on passed path
|
|
98
137
|
*/
|
|
@@ -101,16 +140,18 @@ export declare const prepareValueForPath: (path?: string) => Array<unknown> | ob
|
|
|
101
140
|
* Finds the alias for a given namespace in the references' section of the converted service metadata.
|
|
102
141
|
* An empty object is created if the path element does not exist yet.
|
|
103
142
|
* Exception: if an empty array is the next element of the 'path' definition, an empty array is created instead of an empty object.
|
|
143
|
+
*
|
|
104
144
|
* @param {object} manifest - manifest that is being modified during export
|
|
105
145
|
* @param {string} path - path of the property in the manifest
|
|
106
146
|
* @param {string} targetAnnotation - target annotation (optional)
|
|
107
147
|
* @param {string} targetAnnotationEncoded - target annotation in its encoded form, as used in manifest settings
|
|
108
|
-
* @param {boolean} [readOnly
|
|
148
|
+
* @param {boolean} [readOnly] - indicates if the function should create object/array if existing value not found by given path
|
|
109
149
|
* @returns returns section of the manifest based on path, generates an empty object in case it does not exists
|
|
110
150
|
*/
|
|
111
151
|
export declare const getManifestSectionByPathV4: (manifest: object, path: string, targetAnnotation?: string, targetAnnotationEncoded?: string, readOnly?: boolean) => object | undefined;
|
|
112
152
|
/**
|
|
113
153
|
* Method sets value for passed path in manifest.
|
|
154
|
+
*
|
|
114
155
|
* @param {object} manifest - manifest that is being modified during export
|
|
115
156
|
* @param {string} path - path of the property in the manifest
|
|
116
157
|
* @param {unknown} value - value to apply
|
|
@@ -118,32 +159,44 @@ export declare const getManifestSectionByPathV4: (manifest: object, path: string
|
|
|
118
159
|
* @param {string} targetAnnotationEncoded - target annotation in its encoded form, as used in manifest settings
|
|
119
160
|
*/
|
|
120
161
|
export declare const setManifestSectionByPathV4: (manifest: object, path: string, value: unknown, targetAnnotation?: string, targetAnnotationEncoded?: string) => void;
|
|
162
|
+
/**
|
|
163
|
+
* Retrieves the schema key for a given line item record based on its type and properties.
|
|
164
|
+
*
|
|
165
|
+
* @param lineItemRecord - The line item record to process.
|
|
166
|
+
* @returns The schema key as a string, or undefined if no key is determined.
|
|
167
|
+
*/
|
|
121
168
|
export declare function getSchemaKeyOfLineItemRecord(lineItemRecord: DataFieldAbstractTypes): string;
|
|
122
169
|
/**
|
|
123
170
|
* Method returns schema annotation path for passed fullyQualifiedName.
|
|
171
|
+
*
|
|
124
172
|
* @param {EntityType} entityType entity type.
|
|
125
173
|
* @param {string} fullyQualifiedName fully qualifier name.
|
|
126
174
|
* @returns {TemplateType} Schema annotation path.
|
|
127
175
|
*/
|
|
128
176
|
export declare function getAnnotationPathUsingFullyQualifiedName(entityType: EntityType, fullyQualifiedName: string): string;
|
|
129
177
|
/**
|
|
130
|
-
* Retrieve header facet configurations that can be used to generate ObjectPage schemas
|
|
131
|
-
*
|
|
132
|
-
* @param
|
|
133
|
-
* @param
|
|
134
|
-
* @param
|
|
178
|
+
* Retrieve header facet configurations that can be used to generate ObjectPage schemas.
|
|
179
|
+
*
|
|
180
|
+
* @param entityType - The entity type to be used for resolving facets
|
|
181
|
+
* @param oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
|
|
182
|
+
* @param oDataVersion - OData version
|
|
183
|
+
* @param logger - Logger class for logging messages
|
|
184
|
+
* @returns - header facet configurations
|
|
135
185
|
*/
|
|
136
186
|
export declare function getObjectPageHeaderFacets(entityType: EntityType, oDataServiceAVT: ConvertedMetadata, oDataVersion?: FioriElementsVersion, logger?: ExtensionLogger): FacetConfigs | undefined;
|
|
137
187
|
/**
|
|
138
|
-
* Retrieve facet configurations that can be used to generate ObjectPage schemas
|
|
139
|
-
*
|
|
140
|
-
* @param
|
|
188
|
+
* Retrieve facet configurations that can be used to generate ObjectPage schemas.
|
|
189
|
+
*
|
|
190
|
+
* @param entityType - The entity type to be used for resolving facets
|
|
191
|
+
* @param oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
|
|
141
192
|
* @param {FioriElementsVersion} oDataVersion - OData version
|
|
142
193
|
* @param {ExtensionLogger} logger - Logger class for logging messages
|
|
194
|
+
* @returns - facet configurations
|
|
143
195
|
*/
|
|
144
196
|
export declare function getObjectPageFacets(entityType: EntityType, oDataServiceAVT: ConvertedMetadata, oDataVersion?: FioriElementsVersion, logger?: ExtensionLogger): FacetConfigs | undefined;
|
|
145
197
|
/**
|
|
146
|
-
* Returns the version of Fiori elements (v2/v4) from a given manifest
|
|
198
|
+
* Returns the version of Fiori elements (v2/v4) from a given manifest.
|
|
199
|
+
*
|
|
147
200
|
* @param manifest - the manifest.json file
|
|
148
201
|
* @returns FioriElementsVersion
|
|
149
202
|
*/
|
|
@@ -158,33 +211,38 @@ export declare function getFEVersionFromManifest(manifest: Manifest): FioriEleme
|
|
|
158
211
|
*/
|
|
159
212
|
export declare function getMainService(manifest: Manifest): string | undefined;
|
|
160
213
|
/**
|
|
161
|
-
* Returns the oData version of the service (if any) from a given manifest
|
|
214
|
+
* Returns the oData version of the service (if any) from a given manifest.
|
|
215
|
+
*
|
|
162
216
|
* @param manifest - the manifest.json file
|
|
163
217
|
* @returns the OData version
|
|
164
218
|
*/
|
|
165
219
|
export declare function getODataVersionFromManifest(manifest: Manifest): OdataVersion;
|
|
166
220
|
/**
|
|
167
|
-
* Determines the template type of a V2 app
|
|
221
|
+
* Determines the template type of a V2 app.
|
|
222
|
+
*
|
|
168
223
|
* @param manifest - the manifest.json file
|
|
169
224
|
* @param {ExtensionLogger} logger - Logger class for logging messages
|
|
170
|
-
* @returns
|
|
225
|
+
* @returns the template type
|
|
171
226
|
*/
|
|
172
227
|
export declare function determineV2Template(manifest: Manifest, logger: ExtensionLogger): TemplateType | undefined;
|
|
173
228
|
/**
|
|
174
|
-
* Determines the template type of a single page
|
|
229
|
+
* Determines the template type of a single page.
|
|
230
|
+
*
|
|
175
231
|
* @param v4Page - single page from routing targets
|
|
176
232
|
* @returns {TemplateType | undefined} the template type
|
|
177
233
|
*/
|
|
178
234
|
export declare function determineV4PageTemplateType(v4Page: v4.SapUiAppPageV4): TemplateType | undefined;
|
|
179
235
|
/**
|
|
180
|
-
* Determines the template type of a V4 app
|
|
236
|
+
* Determines the template type of a V4 app.
|
|
237
|
+
*
|
|
181
238
|
* @param manifest - the manifest.json file
|
|
182
239
|
* @param {ExtensionLogger} logger - Logger class for logging messages
|
|
183
240
|
* @returns {TemplateType} the template type
|
|
184
241
|
*/
|
|
185
242
|
export declare function determineV4Template(manifest: Manifest, logger: ExtensionLogger): TemplateType | undefined;
|
|
186
243
|
/**
|
|
187
|
-
* Determines the template type, based on the given manifest entries of the app
|
|
244
|
+
* Determines the template type, based on the given manifest entries of the app.
|
|
245
|
+
*
|
|
188
246
|
* @param manifest - the manifest.json file
|
|
189
247
|
* @param {FioriElementsVersion} fioriElementsVersion - OData or FE version
|
|
190
248
|
* @param {ExtensionLogger} logger - Logger class for logging messages
|
|
@@ -192,51 +250,59 @@ export declare function determineV4Template(manifest: Manifest, logger: Extensio
|
|
|
192
250
|
*/
|
|
193
251
|
export declare function getTemplateTypeFromManifest(manifest: Manifest, fioriElementsVersion: FioriElementsVersion, logger: ExtensionLogger): TemplateType | undefined;
|
|
194
252
|
/**
|
|
195
|
-
* Adds title to a section or header section in an app schema
|
|
253
|
+
* Adds title to a section or header section in an app schema.
|
|
254
|
+
*
|
|
196
255
|
* @param facet - intermediate facet structure comprising annotation information
|
|
197
256
|
* @param section - section in the app schema
|
|
198
257
|
* @param facetKey - key of the facet
|
|
199
258
|
*/
|
|
200
259
|
export declare function addSectionTitle(facet: FacetConfig, section: Definition, facetKey: string): void;
|
|
201
260
|
/**
|
|
202
|
-
* Adds description to a section or header section in an app schema
|
|
261
|
+
* Adds description to a section or header section in an app schema.
|
|
262
|
+
*
|
|
203
263
|
* @param facet - intermediate facet structure comprising annotation information
|
|
204
264
|
* @param section - section in the app schema
|
|
205
265
|
* @param facetKey - key of the facet
|
|
206
266
|
*/
|
|
207
267
|
export declare function addSectionDescription(facet: FacetConfig, section: Definition, facetKey: string): void;
|
|
208
268
|
/**
|
|
209
|
-
* Adds target title or description to a section or header section in an app schema
|
|
269
|
+
* Adds target title or description to a section or header section in an app schema.
|
|
270
|
+
*
|
|
210
271
|
* @param facet - intermediate facet structure comprising annotation information
|
|
211
272
|
* @param section - section in the app schema
|
|
212
273
|
* @param facetKey - key of the facet
|
|
213
274
|
*/
|
|
214
275
|
export declare function addTargetTitleAndSectionDescription(facet: FacetConfig, section: Definition, facetKey: string): void;
|
|
215
276
|
/**
|
|
216
|
-
* Adds chart (S)PV header facet ID, in case chart has no title
|
|
277
|
+
* Adds chart (S)PV header facet ID, in case chart has no title.
|
|
278
|
+
*
|
|
217
279
|
* @param facet - intermediate facet structure comprising annotation information
|
|
218
280
|
* @param section - section in the app schema
|
|
219
|
-
* @param facetKey - key of the facet
|
|
220
281
|
*/
|
|
221
282
|
export declare function addChartFacetID(facet: FacetConfig, section: Definition): void;
|
|
222
283
|
/**
|
|
223
284
|
* Creates a default object for a new section or subsection, and adds the ID as title if present.
|
|
224
|
-
*
|
|
285
|
+
*
|
|
286
|
+
* @param appSchema - The application-specific JSON schema.
|
|
287
|
+
* @param facet - Facet configuration, to be analyzed.
|
|
288
|
+
* @param facetKey - The key of the facet.
|
|
225
289
|
* @returns the new section object
|
|
226
290
|
*/
|
|
227
291
|
export declare function createDefaultSection(appSchema: Definition, facet: FacetConfig, facetKey: string): Definition;
|
|
228
292
|
/**
|
|
229
293
|
* Retrieve page section data(so far id/key and label/description).
|
|
294
|
+
*
|
|
230
295
|
* @param {EntityType} entityType The actual entityType
|
|
231
296
|
* @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
|
|
232
297
|
* @param {ExtensionLogger} logger - Logger class for logging messages
|
|
233
298
|
* @param {FioriElementsVersion} oDataVersion - OData version
|
|
234
|
-
* @param {boolean} [checkUnresolvableFacets
|
|
235
|
-
* @returns
|
|
299
|
+
* @param {boolean} [checkUnresolvableFacets] - Check and avoid facets and sections without ID and Target.
|
|
300
|
+
* @returns - Array of facets or sections
|
|
236
301
|
*/
|
|
237
302
|
export declare function getObjectPageFacetSection(entityType: EntityType, oDataServiceAVT: ConvertedMetadata, logger?: ExtensionLogger, oDataVersion?: FioriElementsVersion, checkUnresolvableFacets?: boolean): FacetSection[];
|
|
238
303
|
/**
|
|
239
|
-
* Cleans empty sub-structures from the export result for manifest
|
|
304
|
+
* Cleans empty sub-structures from the export result for manifest.
|
|
305
|
+
*
|
|
240
306
|
* @param {object} manifest - manifest.json part of the export result
|
|
241
307
|
* @param {string} path - path in the manifest
|
|
242
308
|
* @param {boolean} deletionRequest - if set to true, any manifest setting specified by entityPath gets deleted even if it comprises any unknown property
|
|
@@ -248,13 +314,16 @@ export declare function getObjectPageFacetSection(entityType: EntityType, oDataS
|
|
|
248
314
|
export declare const deleteEmptyStructure: (manifest: object, path: string, deletionRequest: boolean, entityPathArray?: string[], targetAnnotation?: string, targetAnnotationEncoded?: string) => void;
|
|
249
315
|
/**
|
|
250
316
|
* Method which returns schema file name and path depending on passed schema or page type.
|
|
317
|
+
*
|
|
251
318
|
* @param {SchemaType | PageTypeV2} schemaType Schema type or Page type.
|
|
252
319
|
* @param {string} [pageId] target page id from manifest.json
|
|
253
|
-
* @
|
|
320
|
+
* @param viewId - The view ID for custom pages (optional).
|
|
321
|
+
* @returns {SchemaFilePath} File path info.
|
|
254
322
|
*/
|
|
255
323
|
export declare const getSchemaFilePath: (schemaType: SchemaType | PageTypeV2 | PageTypeV4, pageId?: string, viewId?: string) => SchemaFilePath;
|
|
256
324
|
/**
|
|
257
325
|
* Method which generates id of page according to passed parameters
|
|
326
|
+
*
|
|
258
327
|
* @param appVersion - Fiori Elements version - V2 or V4
|
|
259
328
|
* @param pageType - Page type
|
|
260
329
|
* @param entitySet - Entity Set
|
|
@@ -262,6 +331,15 @@ export declare const getSchemaFilePath: (schemaType: SchemaType | PageTypeV2 | P
|
|
|
262
331
|
* @param pageName - Page name in manifest. Used if entitySet is empty
|
|
263
332
|
* @returns {string} Generated page id
|
|
264
333
|
*/
|
|
334
|
+
/**
|
|
335
|
+
* Generates a unique page ID based on the provided parameters.
|
|
336
|
+
*
|
|
337
|
+
* @param pageType - The type of the page (e.g., ListReport, ObjectPage, etc.).
|
|
338
|
+
* @param entitySet - The entity set associated with the page.
|
|
339
|
+
* @param viewId - The view ID for custom pages (optional).
|
|
340
|
+
* @param pageName - The name of the page in the manifest (used if entitySet is empty).
|
|
341
|
+
* @returns The generated page ID as a string.
|
|
342
|
+
*/
|
|
265
343
|
export declare function generatePageId(pageType: PageTypeV2 | PageTypeV4, entitySet: string, viewId?: string, pageName?: string): string;
|
|
266
344
|
export type NextDefinition = {
|
|
267
345
|
configObject?: object;
|
|
@@ -270,6 +348,7 @@ export type NextDefinition = {
|
|
|
270
348
|
};
|
|
271
349
|
/**
|
|
272
350
|
* Method finds matching objects against passed interface of 'additionalProperties' and returns array of matching object keys.
|
|
351
|
+
*
|
|
273
352
|
* @param {Definition} appSchema - App-specific JSON schema.
|
|
274
353
|
* @param {Definition} additionalProperties - Allowed additional properties.
|
|
275
354
|
* @param {object} configObject -Container object to find matching childs.
|
|
@@ -277,7 +356,8 @@ export type NextDefinition = {
|
|
|
277
356
|
*/
|
|
278
357
|
export declare function findMatchingKeysByAdditionalProperties(appSchema: Definition, additionalProperties: Definition, configObject: object): string[];
|
|
279
358
|
/**
|
|
280
|
-
* Recursive function to determine the next config part, next definition in the app schema and the title
|
|
359
|
+
* Recursive function to determine the next config part, next definition in the app schema and the title.
|
|
360
|
+
*
|
|
281
361
|
* @param appSchema - app-specific JSON schema
|
|
282
362
|
* @param title - default title
|
|
283
363
|
* @param currentConfigObject - current part of the configuration that gets traversed
|
|
@@ -285,38 +365,43 @@ export declare function findMatchingKeysByAdditionalProperties(appSchema: Defini
|
|
|
285
365
|
* @param key - actual key
|
|
286
366
|
* @param {MetadataInstanceInterface} factory - factory for creating metadata instances
|
|
287
367
|
* @param pageType - page type
|
|
368
|
+
* @returns {NextDefinition} - Next target definition to process
|
|
288
369
|
*/
|
|
289
370
|
export declare function getNextTargetDefinition(appSchema: object, title: string, currentConfigObject: object, propertyDefinition: object, key: string, factory: MetadataInstanceInterface, pageType: PageTypeV2 | PageTypeV4): NextDefinition;
|
|
290
371
|
/**
|
|
291
|
-
* Custom array merge function called by deepmerge's merge function
|
|
372
|
+
* Custom array merge function called by deepmerge's merge function.
|
|
292
373
|
*
|
|
293
374
|
* @param {*} target Target array
|
|
294
375
|
* @param {*} source Source array
|
|
295
376
|
* @param {*} options options object provided by deepmerge's merge function
|
|
296
|
-
* @returns
|
|
377
|
+
* @returns {string[]} Combined array with unique elements from both target and source arrays.
|
|
297
378
|
*/
|
|
298
379
|
export declare const arrayCombineMerge: (target: any, source: any, options: any) => string[];
|
|
299
380
|
/**
|
|
300
|
-
* Converts an enum into a CSV
|
|
381
|
+
* Converts an enum into a CSV.
|
|
382
|
+
*
|
|
301
383
|
* @param {object} manifestSection - manifestSection where the key exists
|
|
302
384
|
* @param {object} configPart - Property as mentioned in config file
|
|
303
385
|
* @param {string} key - Property to be exported to manifest
|
|
304
386
|
*/
|
|
305
387
|
export declare function convertEnumToCSV(manifestSection: any, configPart: any, key: string): void;
|
|
306
388
|
/**
|
|
307
|
-
* Converts an action ID from the internal format (schema, config) to the stable ID representation
|
|
389
|
+
* Converts an action ID from the internal format (schema, config) to the stable ID representation.
|
|
390
|
+
*
|
|
308
391
|
* @param actionId - the (unique) internal format of the action ID
|
|
309
392
|
* @returns the converted action ID
|
|
310
393
|
*/
|
|
311
394
|
export declare function convertActionKeyToStableId(actionId: string): string;
|
|
312
395
|
/**
|
|
313
|
-
* Method returns definition key for passed '$ref' property by removing 'definition' prefix
|
|
396
|
+
* Method returns definition key for passed '$ref' property by removing 'definition' prefix.
|
|
397
|
+
*
|
|
314
398
|
* @param {string} $ref Definition reference.
|
|
315
399
|
* @returns Definition key.
|
|
316
400
|
*/
|
|
317
401
|
export declare function getDefinitionKey($ref: string): string;
|
|
318
402
|
/**
|
|
319
403
|
* Method returns definition $ref' property for passed definition key.
|
|
404
|
+
*
|
|
320
405
|
* @param {string} key Definition key.
|
|
321
406
|
* @returns Definition reference.
|
|
322
407
|
*/
|
|
@@ -346,20 +431,23 @@ export declare function isFeatureSupported(featureToggles?: FeatureToggle[], fea
|
|
|
346
431
|
export declare function updatePropertyIndices(schema: Definition, order: string[]): void;
|
|
347
432
|
/**
|
|
348
433
|
* Method to get value for passed path in passed object.
|
|
434
|
+
*
|
|
349
435
|
* @param obj Object to check.
|
|
350
436
|
* @param paths Path for searching property/value.
|
|
351
437
|
* @returns Found value for passed path.
|
|
352
438
|
*/
|
|
353
439
|
export declare function getJSONPropertyByPath(obj: object, paths: Array<string | number>): unknown;
|
|
354
440
|
/**
|
|
355
|
-
* Method to remove namespaces
|
|
356
|
-
*
|
|
441
|
+
* Method to remove namespaces.
|
|
442
|
+
*
|
|
443
|
+
* @param sId - The string identifier to process and remove namespaces from.
|
|
357
444
|
* @returns {string} modified string without namespace
|
|
358
445
|
*/
|
|
359
446
|
export declare function removeNamespaces(sId: string): string;
|
|
360
447
|
/**
|
|
361
|
-
* Method to replace namespaces with short hand form
|
|
362
|
-
*
|
|
448
|
+
* Method to replace namespaces with short hand form.
|
|
449
|
+
*
|
|
450
|
+
* @param {string } sId - The string identifier to process and replace namespaces with shorthand forms.
|
|
363
451
|
* @returns {string} modified string with replaced namespaces
|
|
364
452
|
*/
|
|
365
453
|
export declare function replaceNamespaces(sId: string): string;
|
|
@@ -370,4 +458,12 @@ export declare function replaceNamespaces(sId: string): string;
|
|
|
370
458
|
* @returns the name of the referred Definition, if it exists, otherwise undefined
|
|
371
459
|
*/
|
|
372
460
|
export declare function getRefType(element: Definition): string | undefined;
|
|
461
|
+
/**
|
|
462
|
+
* Determines whether two template names match either directly or by resolving their corresponding page types.
|
|
463
|
+
*
|
|
464
|
+
* @param templateName1 The first template name to compare.
|
|
465
|
+
* @param templateName2 The second template name to compare.
|
|
466
|
+
* @returns Returns true if the template names match directly or their page types match; otherwise, false.
|
|
467
|
+
*/
|
|
468
|
+
export declare function compareTemplateNames(templateName1: string, templateName2: any): boolean;
|
|
373
469
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/sync/common/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,KAAK,EACR,QAAQ,EACR,eAAe,EACf,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,aAAa,EAChB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAMH,YAAY,EAIZ,EAAE,EAGF,oBAAoB,EAEpB,YAAY,EACZ,UAAU,EAEV,UAAU,EACV,UAAU,EAGb,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACR,SAAS,EACT,sBAAsB,EAEtB,UAAU,EAEb,MAAM,4CAA4C,CAAC;AACpD,OAAO,KAAK,EACR,iBAAiB,EACjB,UAAU,EAEV,YAAY,EACZ,uBAAuB,EAC1B,MAAM,4BAA4B,CAAC;AASpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,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