@sap/ux-specification 1.96.88 → 1.96.89
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 +32 -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-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 +79 -79
- package/dist/index-min.js.map +3 -3
- package/dist/schemas/v2/ApplicationV2.json +2 -1
- package/dist/schemas/v4/ApplicationV4.json +6 -1
- package/dist/specification/package.json +5 -5
- 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 +9 -5
- package/dist/specification/scripts/schema/to-json-schema.d.ts.map +1 -1
- package/dist/specification/scripts/schema/to-json-schema.js +32 -5
- 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 +22 -14
- 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/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 +27 -18
- package/dist/specification/src/sync/common/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/common/generate/objectPage.js +54 -33
- package/dist/specification/src/sync/common/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/common/generate/utils.d.ts +62 -35
- package/dist/specification/src/sync/common/generate/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/generate/utils.js +64 -35
- package/dist/specification/src/sync/common/generate/utils.js.map +1 -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/utils.d.ts +129 -53
- package/dist/specification/src/sync/common/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/utils.js +237 -88
- 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 +18 -10
- package/dist/specification/src/sync/v2/export/exportPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPage.js +34 -20
- package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts +5 -2
- 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 +9 -12
- package/dist/specification/src/sync/v2/generate/generate.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/listReport.d.ts +4 -2
- package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/listReport.js +24 -7
- 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.js +2 -2
- 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/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 +20 -4
- 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 +2 -1
- 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 +26 -1
- 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/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/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/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 +136 -58
- 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 +4 -0
- 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 +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.js +206 -154
- 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 +69 -46
- 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 +49 -36
- 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 +12 -0
- package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/StableIdHelper.js +18 -0
- 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 +38 -20
- package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/utils.js +99 -52
- 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 +51 -2
- package/dist/types/src/common/types.d.ts.map +1 -1
- package/dist/types/src/common/types.js +2 -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 +1 -0
- package/dist/types/src/v4/controls/ObjectPageForm.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageHeader.d.ts +2 -0
- 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 +4 -0
- 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 +9 -0
- 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 +6 -6
|
@@ -5,7 +5,13 @@ import type { V4Controls, V4Pages } from '../../v4/types';
|
|
|
5
5
|
* Common interface that is used for all instantiations of (reflect) metadata classes
|
|
6
6
|
*/
|
|
7
7
|
export interface MetadataInstanceInterface {
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
8
11
|
createInstance(pageType: PageTypeV2 | PageTypeV4, schemaPropertyName: string, data?: object, controlPropertyValue?: string): any;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
9
15
|
createPageInstance(pageType: PageTypeV2 | PageTypeV4, data?: object): object;
|
|
10
16
|
}
|
|
11
17
|
export declare abstract class MetadataFactory implements MetadataInstanceInterface {
|
|
@@ -13,14 +19,16 @@ export declare abstract class MetadataFactory implements MetadataInstanceInterfa
|
|
|
13
19
|
private readonly pages;
|
|
14
20
|
private readonly pageTypes;
|
|
15
21
|
/**
|
|
16
|
-
* Sub-classes for V2 and V4 have to pass their specific (reflect) metadata classes
|
|
22
|
+
* Sub-classes for V2 and V4 have to pass their specific (reflect) metadata classes.
|
|
23
|
+
*
|
|
17
24
|
* @param controls - list of imported metadata classes for controls
|
|
18
25
|
* @param pages - list of imported metadata classes for pages
|
|
19
26
|
* @param pageTypes - list of supported pages, entry point to further definitions
|
|
20
27
|
*/
|
|
21
28
|
protected constructor(controls: V2Controls | V4Controls, pages: V2Pages | V4Pages, pageTypes: object);
|
|
22
29
|
/**
|
|
23
|
-
* Creates an instance of a metadata class for a given (complex) property of a JSON schema
|
|
30
|
+
* Creates an instance of a metadata class for a given (complex) property of a JSON schema.
|
|
31
|
+
*
|
|
24
32
|
* @param {PageTypeV2} pageType - page type of a Fiori Element
|
|
25
33
|
* @param schemaPropertyName - name of the complex property in the JSON schema of the page.
|
|
26
34
|
* Used as fallback if no metadataclass can be found by evaluating controlPropertyValue.
|
|
@@ -31,7 +39,8 @@ export declare abstract class MetadataFactory implements MetadataInstanceInterfa
|
|
|
31
39
|
*/
|
|
32
40
|
createInstance(pageType: PageTypeV2 | PageTypeV4, schemaPropertyName: string, data?: object, controlPropertyValue?: string): any;
|
|
33
41
|
/**
|
|
34
|
-
* Creates an instance of a metadata class for a given page
|
|
42
|
+
* Creates an instance of a metadata class for a given page.
|
|
43
|
+
*
|
|
35
44
|
* @param {PageTypeV2} pageType - page type of a Fiori Element
|
|
36
45
|
* @param data - data to be taken over (from the config)
|
|
37
46
|
* @returns a class instance comprising the reflect metadata for import or export
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/common/decoration/factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAE1D;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC,cAAc,CACV,QAAQ,EAAE,UAAU,GAAG,UAAU,EACjC,kBAAkB,EAAE,MAAM,EAC1B,IAAI,CAAC,EAAE,MAAM,EACb,oBAAoB,CAAC,EAAE,MAAM,GAC9B,GAAG,CAAC;IACP,kBAAkB,CAAC,QAAQ,EAAE,UAAU,GAAG,UAAU,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAChF;AAED,8BAAsB,eAAgB,YAAW,yBAAyB;IACtE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA0B;IACnD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAoB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C,EAAE,MAAM,GAAG,MAAM;CAI/E"}
|
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MetadataFactory = void 0;
|
|
4
4
|
class MetadataFactory {
|
|
5
5
|
/**
|
|
6
|
-
* Sub-classes for V2 and V4 have to pass their specific (reflect) metadata classes
|
|
6
|
+
* Sub-classes for V2 and V4 have to pass their specific (reflect) metadata classes.
|
|
7
|
+
*
|
|
7
8
|
* @param controls - list of imported metadata classes for controls
|
|
8
9
|
* @param pages - list of imported metadata classes for pages
|
|
9
10
|
* @param pageTypes - list of supported pages, entry point to further definitions
|
|
@@ -14,7 +15,8 @@ class MetadataFactory {
|
|
|
14
15
|
this.pageTypes = pageTypes;
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
17
|
-
* Creates an instance of a metadata class for a given (complex) property of a JSON schema
|
|
18
|
+
* Creates an instance of a metadata class for a given (complex) property of a JSON schema.
|
|
19
|
+
*
|
|
18
20
|
* @param {PageTypeV2} pageType - page type of a Fiori Element
|
|
19
21
|
* @param schemaPropertyName - name of the complex property in the JSON schema of the page.
|
|
20
22
|
* Used as fallback if no metadataclass can be found by evaluating controlPropertyValue.
|
|
@@ -35,7 +37,8 @@ class MetadataFactory {
|
|
|
35
37
|
return metadataClass ? Object.assign(new metadataClass(), data) : data;
|
|
36
38
|
}
|
|
37
39
|
/**
|
|
38
|
-
* Creates an instance of a metadata class for a given page
|
|
40
|
+
* Creates an instance of a metadata class for a given page.
|
|
41
|
+
*
|
|
39
42
|
* @param {PageTypeV2} pageType - page type of a Fiori Element
|
|
40
43
|
* @param data - data to be taken over (from the config)
|
|
41
44
|
* @returns a class instance comprising the reflect metadata for import or export
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.js","sourceRoot":"","sources":["../../../../../../src/sync/common/decoration/factory.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"factory.js","sourceRoot":"","sources":["../../../../../../src/sync/common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type { Manifest, ChangeDefinitionInCreation } from '@sap/ux-specification-types';
|
|
2
|
+
/**
|
|
3
|
+
* Exports a change definition to a flex change string.
|
|
4
|
+
*
|
|
5
|
+
* @param change - The change definition to be exported.
|
|
6
|
+
* @param manifest - The manifest containing metadata for the change.
|
|
7
|
+
* @returns The serialized flex change string.
|
|
8
|
+
*/
|
|
2
9
|
export declare function exportToFlexChange(change: ChangeDefinitionInCreation, manifest: Manifest): string;
|
|
3
10
|
//# sourceMappingURL=flex.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/common/decoration/flex.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAExF,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,0BAA0B,EAAE,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAEjG"}
|
|
1
|
+
{"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/common/decoration/flex.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAExF;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,0BAA0B,EAAE,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAEjG"}
|
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.exportToFlexChange = exportToFlexChange;
|
|
4
4
|
const flexUtils_1 = require("../flexUtils");
|
|
5
|
+
/**
|
|
6
|
+
* Exports a change definition to a flex change string.
|
|
7
|
+
*
|
|
8
|
+
* @param change - The change definition to be exported.
|
|
9
|
+
* @param manifest - The manifest containing metadata for the change.
|
|
10
|
+
* @returns The serialized flex change string.
|
|
11
|
+
*/
|
|
5
12
|
function exportToFlexChange(change, manifest) {
|
|
6
13
|
return (0, flexUtils_1.createChangeString)(change, manifest);
|
|
7
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex.js","sourceRoot":"","sources":["../../../../../../src/sync/common/decoration/flex.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"flex.js","sourceRoot":"","sources":["../../../../../../src/sync/common/decoration/flex.ts"],"names":[],"mappings":";;AAUA,gDAEC;AAZD,4CAAkD;AAGlD;;;;;;GAMG;AACH,SAAgB,kBAAkB,CAAC,MAAkC,EAAE,QAAkB;IACrF,OAAO,IAAA,8BAAkB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AAChD,CAAC"}
|
|
@@ -3,11 +3,12 @@ export declare class DistTagEvaluator {
|
|
|
3
3
|
static distTagsOfSpec: string[];
|
|
4
4
|
constructor();
|
|
5
5
|
/**
|
|
6
|
-
* Resets the buffered list of dist tags (used for unit tests)
|
|
6
|
+
* Resets the buffered list of dist tags (used for unit tests).
|
|
7
7
|
*/
|
|
8
8
|
static resetDistTagsOfSpec(): void;
|
|
9
9
|
/**
|
|
10
|
-
* Retrieves the actual spec version from package.json
|
|
10
|
+
* Retrieves the actual spec version from package.json.
|
|
11
|
+
*
|
|
11
12
|
* @returns the version, if found in package.json
|
|
12
13
|
*/
|
|
13
14
|
getSpecVersion(): string | undefined;
|
|
@@ -15,11 +16,13 @@ export declare class DistTagEvaluator {
|
|
|
15
16
|
* Determines the relevant list of dist tags for the current spec version.
|
|
16
17
|
* The dist tags are read from the dist_tag.json (copy from https://github.wdf.sap.corp/NPMJS/FIORI_ELEMENT_SPECIFICATION-1.0.0/blob/master/dist_tag.json).
|
|
17
18
|
* The spec vrsion is read from package.json.
|
|
19
|
+
*
|
|
18
20
|
* @returns an array of the dist tags
|
|
19
21
|
*/
|
|
20
22
|
getDistTagsOfVersion(): string[];
|
|
21
23
|
/**
|
|
22
|
-
* Checks if the given minUI5Version and spec version fit together, based on the distTags stord in ./dist_tag.json
|
|
24
|
+
* Checks if the given minUI5Version and spec version fit together, based on the distTags stord in ./dist_tag.json.
|
|
25
|
+
*
|
|
23
26
|
* @param {string} minUI5Version - minUI5Version from manifest
|
|
24
27
|
* @param {ExtensionLogger} logger - logger as passed from the API
|
|
25
28
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distTagEvaluator.d.ts","sourceRoot":"","sources":["../../../../../src/sync/common/distTagEvaluator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAOnE,qBAAa,gBAAgB;IACzB,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,CAAM;;IAQrC;;OAEG;IACH,MAAM,CAAC,mBAAmB,IAAI,IAAI;IAIlC
|
|
1
|
+
{"version":3,"file":"distTagEvaluator.d.ts","sourceRoot":"","sources":["../../../../../src/sync/common/distTagEvaluator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAOnE,qBAAa,gBAAgB;IACzB,MAAM,CAAC,cAAc,EAAE,MAAM,EAAE,CAAM;;IAQrC;;OAEG;IACH,MAAM,CAAC,mBAAmB,IAAI,IAAI;IAIlC;;;;OAIG;IACI,cAAc,IAAI,MAAM,GAAG,SAAS;IAI3C;;;;;;OAMG;IACI,oBAAoB,IAAI,MAAM,EAAE;IAoBvC;;;;;OAKG;IACI,yBAAyB,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,GAAG,IAAI;CA+BzF"}
|
|
@@ -49,13 +49,14 @@ class DistTagEvaluator {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
|
-
* Resets the buffered list of dist tags (used for unit tests)
|
|
52
|
+
* Resets the buffered list of dist tags (used for unit tests).
|
|
53
53
|
*/
|
|
54
54
|
static resetDistTagsOfSpec() {
|
|
55
55
|
DistTagEvaluator.distTagsOfSpec = [];
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
|
-
* Retrieves the actual spec version from package.json
|
|
58
|
+
* Retrieves the actual spec version from package.json.
|
|
59
|
+
*
|
|
59
60
|
* @returns the version, if found in package.json
|
|
60
61
|
*/
|
|
61
62
|
getSpecVersion() {
|
|
@@ -65,6 +66,7 @@ class DistTagEvaluator {
|
|
|
65
66
|
* Determines the relevant list of dist tags for the current spec version.
|
|
66
67
|
* The dist tags are read from the dist_tag.json (copy from https://github.wdf.sap.corp/NPMJS/FIORI_ELEMENT_SPECIFICATION-1.0.0/blob/master/dist_tag.json).
|
|
67
68
|
* The spec vrsion is read from package.json.
|
|
69
|
+
*
|
|
68
70
|
* @returns an array of the dist tags
|
|
69
71
|
*/
|
|
70
72
|
getDistTagsOfVersion() {
|
|
@@ -87,7 +89,8 @@ class DistTagEvaluator {
|
|
|
87
89
|
return result;
|
|
88
90
|
}
|
|
89
91
|
/**
|
|
90
|
-
* Checks if the given minUI5Version and spec version fit together, based on the distTags stord in ./dist_tag.json
|
|
92
|
+
* Checks if the given minUI5Version and spec version fit together, based on the distTags stord in ./dist_tag.json.
|
|
93
|
+
*
|
|
91
94
|
* @param {string} minUI5Version - minUI5Version from manifest
|
|
92
95
|
* @param {ExtensionLogger} logger - logger as passed from the API
|
|
93
96
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"distTagEvaluator.js","sourceRoot":"","sources":["../../../../../src/sync/common/distTagEvaluator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wEAAwE;AACxE,2DAA4C;AAC5C,sDAA8B;AAC9B,8DAAgD;AAChD,wDAAsE;AAEtE,MAAa,gBAAgB;IAGzB;QACI,IAAI,gBAAgB,CAAC,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC/C,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,oBAAoB,EAAE,CAAC;QAClE,CAAC;IACL,CAAC;IAED;;OAEG;IACH,MAAM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AAC;;AAxFL,4CAyFC;AAxFU,+BAAc,GAAa,EAAE,CAAC"}
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import type { Manifest, UI5Version, ChangeDefinition, ChangeDefinitionInCreation, SyncRule } from '@sap/ux-specification-types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* @param
|
|
3
|
+
* Creates a serialized string representation of a flex change using ui5-flexibility-utils.
|
|
4
|
+
*
|
|
5
|
+
* @param change - Properties required to create the change.
|
|
6
|
+
* @param manifest - The manifest.json file.
|
|
7
|
+
* @returns {string} - The serialized change string.
|
|
6
8
|
*/
|
|
7
9
|
export declare function createChangeString(change: ChangeDefinitionInCreation, manifest: Manifest): string;
|
|
8
10
|
/**
|
|
9
|
-
* Parse string and return the change as object (calls changeUtils from ui5-flexibility-utils)
|
|
11
|
+
* Parse string and return the change as object (calls changeUtils from ui5-flexibility-utils).
|
|
12
|
+
*
|
|
10
13
|
* @param changeString - string with serialized change
|
|
14
|
+
* @returns {ChangeDefinition | boolean} - The parsed change object or false if parsing fails.
|
|
11
15
|
*/
|
|
12
16
|
export declare function parseChangeString(changeString: string): ChangeDefinition | boolean;
|
|
13
17
|
/**
|
|
14
|
-
* Creates a flex change based on the given config information
|
|
18
|
+
* Creates a flex change based on the given config information.
|
|
19
|
+
*
|
|
15
20
|
* @param configObject - current (sub)object of the configuration file
|
|
16
|
-
* @param breadcrumbs - list of breadcrumbs, i.e. ID parts for building the stable ID
|
|
17
21
|
* @param syncRule - export rule from the object classes decorator
|
|
18
22
|
* @param ui5Version - SAP UI5 version
|
|
19
|
-
* @param baseId - selector id of the current page
|
|
20
|
-
* @param ids - list of parent & child ids
|
|
21
|
-
* @param title - title from the app schema (comprising for instance the facet ID)
|
|
22
23
|
* @param key - key of the given property
|
|
23
|
-
* @param
|
|
24
|
+
* @param controlId - The ID of the control for which the flex change is being created.
|
|
24
25
|
* @returns {ChangeDefinitionInCreation} - the newly created flex change
|
|
25
26
|
*/
|
|
26
27
|
export declare function fillFlexChangeContent(configObject: object, syncRule: SyncRule, ui5Version: UI5Version, key: string, controlId: string): ChangeDefinitionInCreation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flexUtils.d.ts","sourceRoot":"","sources":["../../../../../src/sync/common/flexUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,0BAA0B,EAC1B,QAAQ,EACX,MAAM,6BAA6B,CAAC;AAarC
|
|
1
|
+
{"version":3,"file":"flexUtils.d.ts","sourceRoot":"","sources":["../../../../../src/sync/common/flexUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,0BAA0B,EAC1B,QAAQ,EACX,MAAM,6BAA6B,CAAC;AAarC;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,0BAA0B,EAAE,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAajG;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,MAAM,GAAG,gBAAgB,GAAG,OAAO,CAMlF;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CACjC,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,EACtB,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,MAAM,GAClB,0BAA0B,CAyB5B"}
|
|
@@ -45,9 +45,11 @@ const defaultValues = {
|
|
|
45
45
|
type: 'propertyChange'
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
* @param
|
|
48
|
+
* Creates a serialized string representation of a flex change using ui5-flexibility-utils.
|
|
49
|
+
*
|
|
50
|
+
* @param change - Properties required to create the change.
|
|
51
|
+
* @param manifest - The manifest.json file.
|
|
52
|
+
* @returns {string} - The serialized change string.
|
|
51
53
|
*/
|
|
52
54
|
function createChangeString(change, manifest) {
|
|
53
55
|
let changeString = '';
|
|
@@ -65,8 +67,10 @@ function createChangeString(change, manifest) {
|
|
|
65
67
|
return changeString;
|
|
66
68
|
}
|
|
67
69
|
/**
|
|
68
|
-
* Parse string and return the change as object (calls changeUtils from ui5-flexibility-utils)
|
|
70
|
+
* Parse string and return the change as object (calls changeUtils from ui5-flexibility-utils).
|
|
71
|
+
*
|
|
69
72
|
* @param changeString - string with serialized change
|
|
73
|
+
* @returns {ChangeDefinition | boolean} - The parsed change object or false if parsing fails.
|
|
70
74
|
*/
|
|
71
75
|
function parseChangeString(changeString) {
|
|
72
76
|
try {
|
|
@@ -77,16 +81,13 @@ function parseChangeString(changeString) {
|
|
|
77
81
|
}
|
|
78
82
|
}
|
|
79
83
|
/**
|
|
80
|
-
* Creates a flex change based on the given config information
|
|
84
|
+
* Creates a flex change based on the given config information.
|
|
85
|
+
*
|
|
81
86
|
* @param configObject - current (sub)object of the configuration file
|
|
82
|
-
* @param breadcrumbs - list of breadcrumbs, i.e. ID parts for building the stable ID
|
|
83
87
|
* @param syncRule - export rule from the object classes decorator
|
|
84
88
|
* @param ui5Version - SAP UI5 version
|
|
85
|
-
* @param baseId - selector id of the current page
|
|
86
|
-
* @param ids - list of parent & child ids
|
|
87
|
-
* @param title - title from the app schema (comprising for instance the facet ID)
|
|
88
89
|
* @param key - key of the given property
|
|
89
|
-
* @param
|
|
90
|
+
* @param controlId - The ID of the control for which the flex change is being created.
|
|
90
91
|
* @returns {ChangeDefinitionInCreation} - the newly created flex change
|
|
91
92
|
*/
|
|
92
93
|
function fillFlexChangeContent(configObject, syncRule, ui5Version, key, controlId) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flexUtils.js","sourceRoot":"","sources":["../../../../../src/sync/common/flexUtils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"flexUtils.js","sourceRoot":"","s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AAC,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,mDAA6B,CAAC,CAAC,CAAC,IAAI,CAAC;IAE3F,MAAM,UAAU,GAA+B;QAC3C,SAAS,EAAE,sFAAsF;QACjG,WAAW,EAAE,QAAQ,CAAC,IAAI,CAAC,WAAW,EAAE;QACxC,OAAO,EAAE;YACL,QAAQ,EAAE,GAAG;SAChB;QACD,aAAa,EAAE,UAAU,CAAC,UAAU;QACpC,UAAU;KACb,CAAC;IACF,IAAI,YAAY,CAAC,GAAG,CAAC,KAAK,SAAS,EAAE,CAAC;QAClC,IAAI,QAAQ,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC;YAChC,QAAQ,CAAC,IAAI,CAAC,eAAe,CAAC,UAAU,EAAE,YAAY,EAAE,GAAG,CAAC,CAAC;QACjE,CAAC;aAAM,IAAI,YAAY,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;YACtD,UAAU,CAAC,OAAO,CAAC,UAAU,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;YAClD,UAAU,CAAC,IAAI,GAAG,uBAAuB,CAAC;QAC9C,CAAC;aAAM,CAAC;YACJ,UAAU,CAAC,OAAO,CAAC,QAAQ,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;QACpD,CAAC;IACL,CAAC;SAAM,CAAC;QACJ,UAAU,CAAC,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;IACvC,CAAC;IACD,OAAO,UAAU,CAAC;AACtB,CAAC"}
|
|
@@ -4,7 +4,8 @@ import { FioriElementsVersion, SectionType, v2 } from '@sap/ux-specification-typ
|
|
|
4
4
|
import type { Definition } from 'typescript-json-schema';
|
|
5
5
|
import type { SapUiAppPageV4 } from '@sap/ux-specification-types/src/v4';
|
|
6
6
|
/**
|
|
7
|
-
* Adds definitions for forms in object page sections to the app schema
|
|
7
|
+
* Adds definitions for forms in object page sections to the app schema.
|
|
8
|
+
*
|
|
8
9
|
* @param {SectionType} sectionType - prefix to distinguish Section and HeaderSection
|
|
9
10
|
* @param {FacetConfig} section - section definition, as prepared from the annotations
|
|
10
11
|
* @param {object} appSchemaSection - current definition of facet or section in the JSON schema
|
|
@@ -15,17 +16,19 @@ import type { SapUiAppPageV4 } from '@sap/ux-specification-types/src/v4';
|
|
|
15
16
|
*/
|
|
16
17
|
export declare function handleForm(sectionType: SectionType, section: FacetConfig, appSchemaSection: Definition, appSchema: Definition, version: FioriElementsVersion, facetKey: string): string | undefined;
|
|
17
18
|
/**
|
|
18
|
-
* Replaces an alias in an annotation ID or reference, based on the AVT references' list
|
|
19
|
+
* Replaces an alias in an annotation ID or reference, based on the AVT references' list.
|
|
20
|
+
*
|
|
19
21
|
* @param annotationIdentifier - annotation ID or reference
|
|
20
22
|
* @param {ConvertedMetadata} oDataServiceAVT - complete service information, as returned by annotation vocabularies tool
|
|
21
23
|
* @returns the converted string
|
|
22
24
|
*/
|
|
23
25
|
export declare function replaceAlias(annotationIdentifier: string, oDataServiceAVT: ConvertedMetadata): string;
|
|
24
26
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* @param
|
|
28
|
-
* @
|
|
27
|
+
* Extracts the action name, action ID, and namespace from the given item and OData service metadata.
|
|
28
|
+
*
|
|
29
|
+
* @param item - The item containing action information.
|
|
30
|
+
* @param oDataServiceAVT - The OData service metadata used for alias replacement.
|
|
31
|
+
* @returns An object containing the action name, action ID, and namespace.
|
|
29
32
|
*/
|
|
30
33
|
export declare function getActionNameAndId(item: any, oDataServiceAVT: ConvertedMetadata): {
|
|
31
34
|
actionName: string;
|
|
@@ -33,32 +36,38 @@ export declare function getActionNameAndId(item: any, oDataServiceAVT: Converted
|
|
|
33
36
|
namespace: string;
|
|
34
37
|
};
|
|
35
38
|
/**
|
|
36
|
-
* Add Object Page Footer Action Buttons to app-specific schema
|
|
39
|
+
* Add Object Page Footer Action Buttons to app-specific schema.
|
|
37
40
|
*
|
|
38
|
-
* @param
|
|
39
|
-
* @param
|
|
40
|
-
* @param
|
|
41
|
-
* @param
|
|
42
|
-
* @param
|
|
41
|
+
* @param appSchema Schema of the app
|
|
42
|
+
* @param generateParameters - Schema parameters
|
|
43
|
+
* @param version - Fiori elements versions
|
|
44
|
+
* @param addFooterActionCallBack - Callback function, either V2 or V4
|
|
45
|
+
* @param pages - pages found in manifest
|
|
43
46
|
*/
|
|
44
47
|
export declare function addFooterActions(appSchema: Definition, generateParameters: GenerateAppSchemaParameters, version: FioriElementsVersion, addFooterActionCallBack: any, pages?: v2.SapUiAppPagesV2): void;
|
|
45
48
|
/**
|
|
46
|
-
* Add Object Page Header Action Buttons to app-specific schema
|
|
49
|
+
* Add Object Page Header Action Buttons to app-specific schema.
|
|
50
|
+
*
|
|
47
51
|
* @param {Definition} appSchema Schema of the app
|
|
52
|
+
* @param entityType - The entity type for which the entity set is being determined
|
|
48
53
|
* @param {GenerateAppSchemaParameters} generateParameters - list of API input parameters
|
|
49
|
-
* @param {
|
|
54
|
+
* @param {Function} addHeaderActionCallBack - Callback function, either V2 or V4
|
|
55
|
+
* @param page - The page configuration for the object page
|
|
56
|
+
* @param isV2 - Indicates whether the version is V2
|
|
50
57
|
*/
|
|
51
58
|
export declare function addHeaderActions(appSchema: Definition, entityType: EntityType, generateParameters: GenerateAppSchemaParameters, addHeaderActionCallBack: any, page?: SapUiAppPageV4, isV2?: boolean): void;
|
|
52
59
|
/**
|
|
53
|
-
* Adds common Object Page Header definitions to the app schema
|
|
60
|
+
* Adds common Object Page Header definitions to the app schema.
|
|
61
|
+
*
|
|
54
62
|
* @param appSchema - app-specific JSOn schema
|
|
55
63
|
* @param entityType - current entity Type
|
|
56
64
|
*/
|
|
57
65
|
export declare function addCommonHeaderSchema(appSchema: Definition, entityType: EntityType): void;
|
|
58
66
|
/**
|
|
59
|
-
* Common logic to determine the EntitySet of a given EntityType
|
|
60
|
-
*
|
|
61
|
-
* @param
|
|
67
|
+
* Common logic to determine the EntitySet of a given EntityType.
|
|
68
|
+
*
|
|
69
|
+
* @param entityType - The entity type for which the entity set is being determined
|
|
70
|
+
* @param serviceAVT - AVT converter output, comprising all annotation information
|
|
62
71
|
* @returns the entity set as defined in AVT, if found
|
|
63
72
|
*/
|
|
64
73
|
export declare function determineEntitySetOfEntityType(entityType: EntityType, serviceAVT: ConvertedMetadata): EntitySet | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objectPage.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/common/generate/objectPage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAI3F,OAAO,KAAK,EAAE,WAAW,EAAE,2BAA2B,EAAoB,MAAM,6BAA6B,CAAC;AAC9G,OAAO,EAGH,oBAAoB,EAIpB,WAAW,EAEX,EAAE,EACL,MAAM,6BAA6B,CAAC;AAUrC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"objectPage.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/common/generate/objectPage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAI3F,OAAO,KAAK,EAAE,WAAW,EAAE,2BAA2B,EAAoB,MAAM,6BAA6B,CAAC;AAC9G,OAAO,EAGH,oBAAoB,EAIpB,WAAW,EAEX,EAAE,EACL,MAAM,6BAA6B,CAAC;AAUrC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAyazE;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CACtB,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,WAAW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