@sap/ux-specification 1.144.0 → 1.144.2
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 +73 -0
- package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
- package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
- package/dist/documentation/v2/v2-ListReport.html +2 -2
- package/dist/documentation/v2/v2-ListReportNew.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 +340 -330
- package/dist/index-min.js.map +4 -4
- package/dist/schemas/v2/ListReportNewConfig.json +208 -7
- package/dist/schemas/v4/ApplicationV4.json +14 -0
- package/dist/schemas/v4/BuildingBlocksConfig.json +384 -43
- package/dist/schemas/v4/ObjectPageConfig.json +112 -728
- package/dist/specification/package.json +11 -10
- package/dist/specification/scripts/generate-validity-report.js +1 -1
- package/dist/specification/scripts/generate-validity-report.js.map +1 -1
- package/dist/specification/scripts/macros/corrections.d.ts.map +1 -1
- package/dist/specification/scripts/macros/corrections.js +48 -1
- package/dist/specification/scripts/macros/corrections.js.map +1 -1
- package/dist/specification/scripts/macros/schema.d.ts.map +1 -1
- package/dist/specification/scripts/macros/schema.js +23 -10
- package/dist/specification/scripts/macros/schema.js.map +1 -1
- package/dist/specification/scripts/schema/to-json-schema.js +1 -1
- package/dist/specification/scripts/schema/to-json-schema.js.map +1 -1
- package/dist/specification/src/api.d.ts.map +1 -1
- package/dist/specification/src/api.js +39 -3
- package/dist/specification/src/api.js.map +1 -1
- package/dist/specification/src/ftfs/ftfs.d.ts +8 -0
- package/dist/specification/src/ftfs/ftfs.d.ts.map +1 -1
- package/dist/specification/src/ftfs/ftfs.js +1 -0
- package/dist/specification/src/ftfs/ftfs.js.map +1 -1
- package/dist/specification/src/ftfs/index.d.ts +1 -1
- package/dist/specification/src/ftfs/index.d.ts.map +1 -1
- package/dist/specification/src/ftfs/index.js +2 -1
- package/dist/specification/src/ftfs/index.js.map +1 -1
- package/dist/specification/src/ftfs/parser/model/TreeModel.d.ts.map +1 -1
- package/dist/specification/src/ftfs/parser/model/TreeModel.js +3 -1
- package/dist/specification/src/ftfs/parser/model/TreeModel.js.map +1 -1
- package/dist/specification/src/i18n/i18n.d.ts.map +1 -1
- package/dist/specification/src/i18n/i18n.js +2 -1
- package/dist/specification/src/i18n/i18n.js.map +1 -1
- package/dist/specification/src/sync/common/ManifestDrivenSchemaProcessor.d.ts +8 -1
- package/dist/specification/src/sync/common/ManifestDrivenSchemaProcessor.d.ts.map +1 -1
- package/dist/specification/src/sync/common/ManifestDrivenSchemaProcessor.js +10 -7
- package/dist/specification/src/sync/common/ManifestDrivenSchemaProcessor.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/Decorator.d.ts +91 -0
- package/dist/specification/src/sync/common/decoration/Decorator.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/Decorator.js +139 -0
- package/dist/specification/src/sync/common/decoration/Decorator.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/condition-evaluator.d.ts +95 -0
- package/dist/specification/src/sync/common/decoration/condition-evaluator.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/condition-evaluator.js +210 -0
- package/dist/specification/src/sync/common/decoration/condition-evaluator.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/decorator-paths.d.ts +58 -22
- package/dist/specification/src/sync/common/decoration/decorator-paths.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorator-paths.js +23 -1
- package/dist/specification/src/sync/common/decoration/decorator-paths.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.d.ts +6 -48
- package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.js +26 -106
- package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/index.d.ts +4 -0
- package/dist/specification/src/sync/common/decoration/index.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/index.js +4 -0
- package/dist/specification/src/sync/common/decoration/index.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/interfaces.d.ts +38 -0
- package/dist/specification/src/sync/common/decoration/interfaces.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/interfaces.js +3 -0
- package/dist/specification/src/sync/common/decoration/interfaces.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Enums.d.ts +18 -0
- package/dist/specification/src/sync/common/decoration/steps/Enums.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Enums.js +50 -0
- package/dist/specification/src/sync/common/decoration/steps/Enums.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Hide.d.ts +18 -0
- package/dist/specification/src/sync/common/decoration/steps/Hide.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Hide.js +46 -0
- package/dist/specification/src/sync/common/decoration/steps/Hide.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Message.d.ts +26 -0
- package/dist/specification/src/sync/common/decoration/steps/Message.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Message.js +77 -0
- package/dist/specification/src/sync/common/decoration/steps/Message.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Readonly.d.ts +18 -0
- package/dist/specification/src/sync/common/decoration/steps/Readonly.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Readonly.js +43 -0
- package/dist/specification/src/sync/common/decoration/steps/Readonly.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Validity.d.ts +18 -0
- package/dist/specification/src/sync/common/decoration/steps/Validity.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/Validity.js +68 -0
- package/dist/specification/src/sync/common/decoration/steps/Validity.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/enum-utils.d.ts +19 -0
- package/dist/specification/src/sync/common/decoration/steps/enum-utils.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/enum-utils.js +48 -0
- package/dist/specification/src/sync/common/decoration/steps/enum-utils.js.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/index.d.ts +6 -0
- package/dist/specification/src/sync/common/decoration/steps/index.d.ts.map +1 -0
- package/dist/specification/src/sync/common/decoration/steps/index.js +14 -0
- package/dist/specification/src/sync/common/decoration/steps/index.js.map +1 -0
- package/dist/specification/src/sync/common/i18n.json +25 -1
- package/dist/specification/src/sync/common/importProject.d.ts.map +1 -1
- package/dist/specification/src/sync/common/importProject.js +2 -0
- package/dist/specification/src/sync/common/importProject.js.map +1 -1
- package/dist/specification/src/sync/common/rules.d.ts +25 -0
- package/dist/specification/src/sync/common/rules.d.ts.map +1 -1
- package/dist/specification/src/sync/common/rules.js +27 -2
- package/dist/specification/src/sync/common/rules.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts +4 -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 +29 -20
- package/dist/specification/src/sync/v2/export/controls/Fragment.js.map +1 -1
- package/dist/specification/src/sync/v2/export/export.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/export.js +3 -2
- package/dist/specification/src/sync/v2/export/export.js.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPage.js +48 -19
- package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts +2 -0
- package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.js +17 -6
- package/dist/specification/src/sync/v2/export/exportPageGeneric.js.map +1 -1
- package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts +54 -6
- 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 +106 -12
- package/dist/specification/src/sync/v2/export/view-controller-generator.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js +7 -7
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/objectPage.js +56 -2
- package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.d.ts +2 -0
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.js +3 -2
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/utils.d.ts +16 -1
- package/dist/specification/src/sync/v2/generate/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/utils.js +30 -18
- package/dist/specification/src/sync/v2/generate/utils.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/FilterBar.js +4 -4
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiEdit.d.ts +12 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiEdit.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiEdit.js +167 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiEdit.js.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiTable.js +3 -3
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiTable.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts +60 -2
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js +626 -11
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.d.ts +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.js +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.js +30 -6
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.js.map +1 -1
- package/dist/specification/src/sync/v2/types.d.ts +2 -0
- package/dist/specification/src/sync/v2/types.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/types.js.map +1 -1
- package/dist/specification/src/sync/v2/utils.d.ts +25 -0
- package/dist/specification/src/sync/v2/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/utils.js +28 -4
- package/dist/specification/src/sync/v2/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/application.d.ts +12 -0
- package/dist/specification/src/sync/v4/application.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/application.js +28 -3
- package/dist/specification/src/sync/v4/application.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts +1 -2
- package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/FilterBar.js +1 -2
- package/dist/specification/src/sync/v4/export/controls/FilterBar.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Header.d.ts +3 -5
- package/dist/specification/src/sync/v4/export/controls/Header.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Header.js +2 -7
- package/dist/specification/src/sync/v4/export/controls/Header.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.d.ts +9 -3
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.js +10 -6
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts +1 -2
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.js +1 -2
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts +11 -51
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js +95 -246
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts +6 -21
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.js +46 -37
- package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts +1 -2
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +3 -4
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/factory.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/factory.js +2 -4
- package/dist/specification/src/sync/v4/export/factory.js.map +1 -1
- package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts +1 -0
- package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/fpmCustomPage.js +212 -46
- package/dist/specification/src/sync/v4/export/fpmCustomPage.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/app.d.ts +11 -0
- package/dist/specification/src/sync/v4/generate/app.d.ts.map +1 -0
- package/dist/specification/src/sync/v4/generate/app.js +31 -0
- package/dist/specification/src/sync/v4/generate/app.js.map +1 -0
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.d.ts +13 -0
- 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 +93 -13
- 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.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/extensions.js +4 -3
- 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.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js +29 -27
- 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/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js +12 -3
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.d.ts +32 -13
- package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.js +103 -78
- package/dist/specification/src/sync/v4/generate/list-report/ListReportUtils.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/list-report/listReport.d.ts +13 -6
- package/dist/specification/src/sync/v4/generate/list-report/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/list-report/listReport.js +107 -108
- package/dist/specification/src/sync/v4/generate/list-report/listReport.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts +1 -2
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.js +162 -118
- package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js +20 -0
- package/dist/specification/src/sync/v4/import/pages/fpmCustomPage.js.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/objectPage.js +11 -50
- package/dist/specification/src/sync/v4/import/pages/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/App.d.ts +2 -4
- package/dist/specification/src/sync/v4/sync-rules/App.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/App.js +2 -1
- package/dist/specification/src/sync/v4/sync-rules/App.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.d.ts +2 -1
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.js +3 -1
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts +1 -302
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js +0 -753
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/Page.d.ts +2 -4
- package/dist/specification/src/sync/v4/sync-rules/Page.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/Page.js.map +1 -1
- package/dist/specification/src/sync/v4/utils/StableIdHelper.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/StableIdHelper.js +10 -4
- package/dist/specification/src/sync/v4/utils/StableIdHelper.js.map +1 -1
- package/dist/specification/src/sync/v4/utils/macros.d.ts +19 -0
- package/dist/specification/src/sync/v4/utils/macros.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/macros.js +34 -0
- package/dist/specification/src/sync/v4/utils/macros.js.map +1 -1
- package/dist/specification/src/sync/v4/utils/utils.d.ts +22 -2
- package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/utils.js +238 -41
- package/dist/specification/src/sync/v4/utils/utils.js.map +1 -1
- package/dist/specification/test/test-utils/utils.d.ts +1 -0
- package/dist/specification/test/test-utils/utils.d.ts.map +1 -1
- package/dist/specification/test/test-utils/utils.js +11 -0
- package/dist/specification/test/test-utils/utils.js.map +1 -1
- package/dist/specification/test/unit/decorators/validity-test-utils.d.ts +2 -2
- package/dist/specification/test/unit/decorators/validity-test-utils.d.ts.map +1 -1
- package/dist/specification/test/unit/decorators/validity-test-utils.js +6 -6
- package/dist/specification/test/unit/decorators/validity-test-utils.js.map +1 -1
- package/dist/templates/AnalyticalTableColumnsExtension.xml +3 -3
- package/dist/templates/GridTableColumnsExtension.xml +3 -3
- package/dist/templates/ResponsiveTableColumnsExtension.xml +2 -2
- package/dist/templates/TreeTableColumnsExtension.xml +4 -4
- package/dist/templates/fragment.xml +3 -3
- package/dist/templates/view.xml +3 -3
- package/dist/types/src/apiTypes.d.ts +15 -5
- package/dist/types/src/apiTypes.d.ts.map +1 -1
- package/dist/types/src/apiTypes.js +1 -0
- package/dist/types/src/apiTypes.js.map +1 -1
- package/dist/types/src/common/types.d.ts +11 -6
- package/dist/types/src/common/types.d.ts.map +1 -1
- package/dist/types/src/common/types.js +12 -7
- package/dist/types/src/common/types.js.map +1 -1
- package/dist/types/src/v4/application.d.ts +15 -0
- package/dist/types/src/v4/application.d.ts.map +1 -1
- package/dist/types/src/v4/application.js +10 -0
- package/dist/types/src/v4/application.js.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageTable.d.ts +86 -252
- package/dist/types/src/v4/controls/ObjectPageTable.d.ts.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageTable.js.map +1 -1
- package/package.json +12 -11
|
@@ -1,303 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { ExtensionLogger } from '@sap/ux-specification-types';
|
|
3
|
-
import type { App } from './App';
|
|
4
|
-
import type { Page } from './Page';
|
|
5
|
-
import type { AppSchema } from './AppSchema';
|
|
6
|
-
export type GeneralSettings<PageWithConfig extends Page = Page> = {
|
|
7
|
-
appSchema: AppSchema;
|
|
8
|
-
app: App;
|
|
9
|
-
page: PageWithConfig;
|
|
10
|
-
logger?: ExtensionLogger;
|
|
11
|
-
};
|
|
12
|
-
export declare class BaseConstruct {
|
|
13
|
-
protected readonly appSchema: AppSchema;
|
|
14
|
-
protected readonly app: App;
|
|
15
|
-
protected readonly page: Page;
|
|
16
|
-
protected readonly logger?: ExtensionLogger;
|
|
17
|
-
/**
|
|
18
|
-
* Constructor for BaseConstruct.
|
|
19
|
-
*
|
|
20
|
-
* @param settings - General settings including appSchema, app, page, and logger
|
|
21
|
-
*/
|
|
22
|
-
constructor(settings?: GeneralSettings);
|
|
23
|
-
/**
|
|
24
|
-
* Gets the general settings.
|
|
25
|
-
*
|
|
26
|
-
* @returns The general settings object
|
|
27
|
-
*/
|
|
28
|
-
getSettings(): GeneralSettings;
|
|
29
|
-
}
|
|
30
|
-
export interface Base {
|
|
31
|
-
name: string;
|
|
32
|
-
definition: Definition;
|
|
33
|
-
}
|
|
34
|
-
export declare class BaseClass extends BaseConstruct {
|
|
35
|
-
private readonly base;
|
|
36
|
-
/**
|
|
37
|
-
* Creates an instance of BaseClass.
|
|
38
|
-
*
|
|
39
|
-
* @param settings - General settings including appSchema, app, page, and logger
|
|
40
|
-
*/
|
|
41
|
-
constructor(settings?: GeneralSettings);
|
|
42
|
-
/**
|
|
43
|
-
* Gets the class name.
|
|
44
|
-
*
|
|
45
|
-
* @returns The name of the class
|
|
46
|
-
*/
|
|
47
|
-
getClassName(): string;
|
|
48
|
-
/**
|
|
49
|
-
* Gets the base name.
|
|
50
|
-
*
|
|
51
|
-
* @returns The base name
|
|
52
|
-
*/
|
|
53
|
-
getBaseName(): string;
|
|
54
|
-
/**
|
|
55
|
-
* Gets the base definition.
|
|
56
|
-
*
|
|
57
|
-
* @returns The base definition
|
|
58
|
-
*/
|
|
59
|
-
getBase(): Definition;
|
|
60
|
-
/**
|
|
61
|
-
* Creates an annotation path for schema based on entity type, term, and qualifier.
|
|
62
|
-
*
|
|
63
|
-
* @param entityTypeName - Entity type name.
|
|
64
|
-
* @param term - Annotation term.
|
|
65
|
-
* @param qualifier - Annotation qualifier (optional).
|
|
66
|
-
* @returns Annotation path based on received params
|
|
67
|
-
*/
|
|
68
|
-
createAnnotationPath(entityTypeName: string, term: string, qualifier?: string): string | undefined;
|
|
69
|
-
}
|
|
70
|
-
export declare class Decorator extends BaseClass {
|
|
71
|
-
/**
|
|
72
|
-
* Context for decorator condition evaluation.
|
|
73
|
-
* Contains 'config' (auto-injected from page.config) and any custom context sources.
|
|
74
|
-
* Defined as non-enumerable to hide from serialization.
|
|
75
|
-
*/
|
|
76
|
-
private decoratorContext;
|
|
77
|
-
/**
|
|
78
|
-
* Creates an instance of Decorator.
|
|
79
|
-
*
|
|
80
|
-
* @param settings - General settings including appSchema, app, page, and logger
|
|
81
|
-
*/
|
|
82
|
-
constructor(settings?: GeneralSettings);
|
|
83
|
-
/**
|
|
84
|
-
* Initializes the decorator by applying all decorators to the schema definition.
|
|
85
|
-
*
|
|
86
|
-
* The decorator context is structured as:
|
|
87
|
-
* - `app`: The App configuration (from `this.app.config`, includes manifest)
|
|
88
|
-
* - `page`: The Page configuration (from `this.page.config`)
|
|
89
|
-
* - `custom`: Custom context provided by the caller.
|
|
90
|
-
*
|
|
91
|
-
* @param customContext - Optional custom context for decorator conditions.
|
|
92
|
-
* Use this for runtime-specific conditions like table state, section state, etc.
|
|
93
|
-
* @param definition - Optional custom definition to apply decorators to.
|
|
94
|
-
* If provided, decorators are applied to this definition instead of the one from appSchema.
|
|
95
|
-
* @example
|
|
96
|
-
* ```typescript
|
|
97
|
-
* // Basic initialization (app and page auto-injected)
|
|
98
|
-
* decorator.init();
|
|
99
|
-
*
|
|
100
|
-
* // With custom context for table-specific conditions
|
|
101
|
-
* decorator.init({
|
|
102
|
-
* table: { type: 'GridTable', views: [] }
|
|
103
|
-
* });
|
|
104
|
-
*
|
|
105
|
-
* // With custom definition (for dynamically created definitions)
|
|
106
|
-
* decorator.init({ table: { type: 'GridTable' } }, customTableDefinition);
|
|
107
|
-
* ```
|
|
108
|
-
*/
|
|
109
|
-
init(customContext?: Record<string, unknown>, definition?: Definition): void;
|
|
110
|
-
/**
|
|
111
|
-
* Gets property value from the decorator context using a property path.
|
|
112
|
-
*
|
|
113
|
-
* The path must include an explicit source prefix ('app', 'page', or 'custom').
|
|
114
|
-
*
|
|
115
|
-
* @param propertyPath - The property path with explicit source prefix - supports full jsonpath syntax
|
|
116
|
-
* @returns Object containing the final key and its value, or undefined if not found
|
|
117
|
-
* @example
|
|
118
|
-
* ```typescript
|
|
119
|
-
* // With decoratorContext = {
|
|
120
|
-
* // app: { manifest: { 'sap.ui5': { routing: {...} } } },
|
|
121
|
-
* // page: { isALP: true },
|
|
122
|
-
* // custom: { type: 'GridTable', items: [{ name: 'Item1' }, { name: 'Item2' }] }
|
|
123
|
-
* // }
|
|
124
|
-
* getPropertyKeyValue('page.isALP') // { key: 'isALP', value: true }
|
|
125
|
-
* getPropertyKeyValue('custom.items[0]') // { key: '0', value: { name: 'Item1' } }
|
|
126
|
-
* getPropertyKeyValue('custom.items[1].name') // { key: 'name', value: 'Item2' }
|
|
127
|
-
* getPropertyKeyValue('app.manifest["sap.ui5"]') // Access property with dot in name
|
|
128
|
-
* getPropertyKeyValue('$.app.manifest["sap.ui5"].routing') // JSONPath with root reference
|
|
129
|
-
* getPropertyKeyValue('$app["manifest"]["sap.ui5"]') // Alternative JSONPath format
|
|
130
|
-
* ```
|
|
131
|
-
*/
|
|
132
|
-
private getPropertyKeyValue;
|
|
133
|
-
/**
|
|
134
|
-
* Evaluates a single dependency condition.
|
|
135
|
-
*
|
|
136
|
-
* @param condition - The single condition to evaluate
|
|
137
|
-
* @param condition.path - The property path to check
|
|
138
|
-
* @param condition.dependsOn - Optional custom condition function
|
|
139
|
-
* @param condition.expectedValue - Optional expected value for equality check
|
|
140
|
-
* @param condition.negate - Optional flag to invert the condition result
|
|
141
|
-
* @returns Object containing whether condition passed and the dependency value
|
|
142
|
-
*/
|
|
143
|
-
private evaluateSingleCondition;
|
|
144
|
-
/**
|
|
145
|
-
* Helper method to add a message to the schema property based on value condition.
|
|
146
|
-
*
|
|
147
|
-
* @param condition - DecoratorMetadata or EnumValueCondition object containing condition details
|
|
148
|
-
* @param syncRuleProviderInstance - The instance of the sync rule provider
|
|
149
|
-
* @param definition - The schema property definition
|
|
150
|
-
* @param i18nProperties - i18n properties for message translation
|
|
151
|
-
* @param i18nProperties.propertyName - The property name for the message
|
|
152
|
-
* @param i18nProperties.context - The context for the message
|
|
153
|
-
*/
|
|
154
|
-
private addConditionalMessage;
|
|
155
|
-
/**
|
|
156
|
-
* Resolves PathNode values in message params to their actual values from the decorator context.
|
|
157
|
-
*
|
|
158
|
-
* @param params - The message params potentially containing PathNode values
|
|
159
|
-
* @returns The params with PathNode values resolved to actual values
|
|
160
|
-
*/
|
|
161
|
-
private resolveMessageParams;
|
|
162
|
-
/**
|
|
163
|
-
* Gets the context message from evaluation results.
|
|
164
|
-
*
|
|
165
|
-
* @param results - The evaluation results
|
|
166
|
-
* @returns The context message string
|
|
167
|
-
*/
|
|
168
|
-
private getContextForMessage;
|
|
169
|
-
/**
|
|
170
|
-
* Evaluates an AND condition item which can be either a single condition or a nested OR group.
|
|
171
|
-
*
|
|
172
|
-
* @param conditionItem - The condition item to evaluate
|
|
173
|
-
* @returns Object containing whether condition passed and evaluation details
|
|
174
|
-
*/
|
|
175
|
-
private evaluateAndConditionItem;
|
|
176
|
-
/**
|
|
177
|
-
* Evaluates OR conditions (at least one condition must match).
|
|
178
|
-
* Supports both single conditions and nested AND groups.
|
|
179
|
-
*
|
|
180
|
-
* @param orConditions - Array of condition items (single conditions or AND groups)
|
|
181
|
-
* @returns Object containing whether any condition passed and evaluation details
|
|
182
|
-
*/
|
|
183
|
-
private evaluateOrConditions;
|
|
184
|
-
/**
|
|
185
|
-
* Evaluates AND conditions (all conditions must match).
|
|
186
|
-
* Supports both single conditions and nested OR groups.
|
|
187
|
-
*
|
|
188
|
-
* @param andConditions - Array of condition items (single conditions or OR groups)
|
|
189
|
-
* @returns Object containing whether all conditions passed and evaluation details
|
|
190
|
-
*/
|
|
191
|
-
private evaluateAndConditions;
|
|
192
|
-
/**
|
|
193
|
-
* Evaluates condition metadata and returns whether the condition is met and the context.
|
|
194
|
-
*
|
|
195
|
-
* @param conditionInfo - The condition metadata
|
|
196
|
-
* @returns Object with passed (boolean) and context (string)
|
|
197
|
-
*/
|
|
198
|
-
private evaluateCondition;
|
|
199
|
-
/**
|
|
200
|
-
* Iterates over schema properties and yields property info for decorator processing.
|
|
201
|
-
* Centralizes the guard clause and property iteration logic.
|
|
202
|
-
*
|
|
203
|
-
* @param schemaDefinition - The schema definition to process
|
|
204
|
-
* @param target - The target object (used for guard clause validation)
|
|
205
|
-
* @yields Property name and definition for each property in the schema
|
|
206
|
-
*/
|
|
207
|
-
private iterateProperties;
|
|
208
|
-
/**
|
|
209
|
-
* Applies the hide decorator to the schema definition.
|
|
210
|
-
* Hides properties when their condition evaluates to true, but only if
|
|
211
|
-
* the message decorator did not add any messages to the property.
|
|
212
|
-
*
|
|
213
|
-
* @param schemaDefinition - The schema definition to apply the decorator to
|
|
214
|
-
* @param syncRuleProviderInstance - The sync rule provider instance
|
|
215
|
-
*/
|
|
216
|
-
private applyHideDecorator;
|
|
217
|
-
/**
|
|
218
|
-
* Applies the message decorator to the schema definition.
|
|
219
|
-
* Shows messages when their condition evaluates to true.
|
|
220
|
-
*
|
|
221
|
-
* @param schemaDefinition - The schema definition to apply the decorator to
|
|
222
|
-
* @param syncRuleProviderInstance - The sync rule provider instance
|
|
223
|
-
*/
|
|
224
|
-
private applyMessageDecorator;
|
|
225
|
-
/**
|
|
226
|
-
* Applies the readonly decorator to the schema definition.
|
|
227
|
-
* Marks properties as readonly when their condition evaluates to true.
|
|
228
|
-
*
|
|
229
|
-
* @param schemaDefinition - The schema definition to apply the decorator to
|
|
230
|
-
* @param syncRuleProviderInstance - The sync rule provider instance
|
|
231
|
-
*/
|
|
232
|
-
private applyReadonlyDecorator;
|
|
233
|
-
/**
|
|
234
|
-
* Applies the enums decorator to the schema definition.
|
|
235
|
-
* Restricts enum values when their condition evaluates to true.
|
|
236
|
-
* If multiple @enums decorators exist on the same property, the first matching condition wins.
|
|
237
|
-
*
|
|
238
|
-
* @param schemaDefinition - The schema definition to apply the decorator to
|
|
239
|
-
* @param syncRuleProviderInstance - The sync rule provider instance
|
|
240
|
-
*/
|
|
241
|
-
private applyEnumsDecorator;
|
|
242
|
-
/**
|
|
243
|
-
* Gets the validity metadata for a property.
|
|
244
|
-
*
|
|
245
|
-
* @param target - The target object
|
|
246
|
-
* @param propertyName - The property name
|
|
247
|
-
* @returns The validity metadata or undefined
|
|
248
|
-
*/
|
|
249
|
-
private getValidityMetadata;
|
|
250
|
-
/**
|
|
251
|
-
* Resolves an enum array from a property definition.
|
|
252
|
-
* Handles both inline enums and $ref to enum definitions.
|
|
253
|
-
*
|
|
254
|
-
* @param property - The property definition
|
|
255
|
-
* @returns The enum array or undefined if not found
|
|
256
|
-
*/
|
|
257
|
-
private resolveEnumFromProperty;
|
|
258
|
-
/**
|
|
259
|
-
* Applies filtered enum values to a property.
|
|
260
|
-
* For $ref properties, inlines the filtered enum, copies the type from the referenced definition, and removes the $ref.
|
|
261
|
-
* For inline enum properties, updates the enum directly.
|
|
262
|
-
*
|
|
263
|
-
* @param property - The property definition to update
|
|
264
|
-
* @param filteredEnum - The filtered enum values
|
|
265
|
-
*/
|
|
266
|
-
private applyFilteredEnumToProperty;
|
|
267
|
-
/**
|
|
268
|
-
* Applies the validity decorator to the schema definition based on the sync rule provider instance and minimum UI5 version.
|
|
269
|
-
*
|
|
270
|
-
* @param schemaDefinition The schema definition to apply the validity decorator to
|
|
271
|
-
* @param syncRuleProviderInstance The instance of the sync rule provider
|
|
272
|
-
* @param minUI5Version The minimum UI5 version to consider for validity checks
|
|
273
|
-
*/
|
|
274
|
-
private applyValidityDecorator;
|
|
275
|
-
/**
|
|
276
|
-
* Applies the isViewNode decorator to the schema definition based on the target and property name.
|
|
277
|
-
*
|
|
278
|
-
* @param schemaDefinition The schema definition to apply the isViewNode decorator to
|
|
279
|
-
* @param target The target object or function
|
|
280
|
-
* @param propertyName The property name (optional)
|
|
281
|
-
*/
|
|
282
|
-
private applyIsViewNodeDecorator;
|
|
283
|
-
/**
|
|
284
|
-
* Applies the description decorator to the schema definition.
|
|
285
|
-
*
|
|
286
|
-
* @param schemaDefinition - The schema definition to apply the decorator to
|
|
287
|
-
* @param target - The target object or function
|
|
288
|
-
* @param propertyName - The property name (optional)
|
|
289
|
-
*/
|
|
290
|
-
private applyDescriptionDecorator;
|
|
291
|
-
/**
|
|
292
|
-
* Applies all decorators to the schema definition.
|
|
293
|
-
*
|
|
294
|
-
* @param minUi5Version - The minimum UI5 version (optional)
|
|
295
|
-
* @param propertyName - The property name (optional)
|
|
296
|
-
* @param customDefinition - Optional custom definition to apply decorators to (overrides getBase())
|
|
297
|
-
* @returns Object containing the definition
|
|
298
|
-
*/
|
|
299
|
-
applyDecorators(minUi5Version?: string, propertyName?: string, customDefinition?: Definition): {
|
|
300
|
-
definition: Definition;
|
|
301
|
-
};
|
|
302
|
-
}
|
|
1
|
+
export {};
|
|
303
2
|
//# sourceMappingURL=DecoratorClass.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DecoratorClass.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v4/sync-rules/DecoratorClass.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DecoratorClass.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/v4/sync-rules/DecoratorClass.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC"}
|