@sap/ux-specification 1.142.5 → 1.144.1
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 +26 -160
- 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 +312 -317
- package/dist/index-min.js.map +4 -4
- package/dist/schemas/v2/AnalyticalListPageConfig.json +18 -0
- package/dist/schemas/v2/ListReportConfig.json +30 -0
- package/dist/schemas/v2/ListReportNewConfig.json +7 -202
- package/dist/schemas/v2/ObjectPageConfig.json +30 -0
- package/dist/schemas/v4/ApplicationV4.json +5 -13
- package/dist/schemas/v4/BuildingBlocksConfig.json +2094 -1618
- package/dist/schemas/v4/ObjectPageConfig.json +734 -112
- package/dist/specification/package.json +10 -9
- 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 +18 -24
- 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 +10 -23
- 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 +9 -45
- package/dist/specification/src/api.js.map +1 -1
- package/dist/specification/src/ftfs/ftfs.d.ts +0 -8
- package/dist/specification/src/ftfs/ftfs.d.ts.map +1 -1
- package/dist/specification/src/ftfs/ftfs.js +0 -1
- 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 +1 -2
- 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 +1 -3
- package/dist/specification/src/ftfs/parser/model/TreeModel.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorator-paths.d.ts +22 -58
- package/dist/specification/src/sync/common/decoration/decorator-paths.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorator-paths.js +1 -23
- package/dist/specification/src/sync/common/decoration/decorator-paths.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.d.ts +8 -0
- package/dist/specification/src/sync/common/decoration/decorators.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/decorators.js +15 -0
- package/dist/specification/src/sync/common/decoration/decorators.js.map +1 -1
- package/dist/specification/src/sync/common/decoration/index.d.ts +0 -4
- package/dist/specification/src/sync/common/decoration/index.d.ts.map +1 -1
- package/dist/specification/src/sync/common/decoration/index.js +0 -4
- package/dist/specification/src/sync/common/decoration/index.js.map +1 -1
- package/dist/specification/src/sync/common/generate/objectPage.js +1 -0
- package/dist/specification/src/sync/common/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/common/i18n.json +0 -25
- package/dist/specification/src/sync/common/importProject.d.ts.map +1 -1
- package/dist/specification/src/sync/common/importProject.js +3 -3
- package/dist/specification/src/sync/common/importProject.js.map +1 -1
- package/dist/specification/src/sync/common/rules.d.ts +1 -1
- package/dist/specification/src/sync/common/rules.js +1 -1
- package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts +5 -4
- package/dist/specification/src/sync/v2/export/controls/Fragment.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/Fragment.js +20 -29
- package/dist/specification/src/sync/v2/export/controls/Fragment.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts +1 -0
- package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.js +25 -40
- package/dist/specification/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -1
- package/dist/specification/src/sync/v2/export/controls/Table.d.ts +1 -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 +24 -34
- package/dist/specification/src/sync/v2/export/controls/Table.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 +2 -3
- 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 +19 -48
- package/dist/specification/src/sync/v2/export/exportPage.js.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts +0 -2
- package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.js +6 -17
- package/dist/specification/src/sync/v2/export/exportPageGeneric.js.map +1 -1
- package/dist/specification/src/sync/v2/export/view-controller-generator.d.ts +6 -54
- 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 +12 -106
- package/dist/specification/src/sync/v2/export/view-controller-generator.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/analyticalListReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js +15 -1
- package/dist/specification/src/sync/v2/generate/analyticalListReport.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/generate.d.ts +6 -3
- package/dist/specification/src/sync/v2/generate/generate.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/generate.js +12 -7
- package/dist/specification/src/sync/v2/generate/generate.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/listReport.js +2 -0
- package/dist/specification/src/sync/v2/generate/listReport.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 +20 -6
- package/dist/specification/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.js +2 -2
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/utils.d.ts +19 -0
- package/dist/specification/src/sync/v2/generate/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/utils.js +75 -0
- 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/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 +2 -59
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js +7 -582
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.d.ts +0 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.js +0 -1
- 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 +14 -29
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/pageAccess.js.map +1 -1
- package/dist/specification/src/sync/v2/types.d.ts +0 -2
- 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 +0 -25
- package/dist/specification/src/sync/v2/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/utils.js +4 -28
- package/dist/specification/src/sync/v2/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/application.d.ts +1 -1
- package/dist/specification/src/sync/v4/application.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/application.js +2 -2
- package/dist/specification/src/sync/v4/application.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/FilterBar.d.ts +2 -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 +2 -1
- package/dist/specification/src/sync/v4/export/controls/FilterBar.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Header.d.ts +5 -3
- package/dist/specification/src/sync/v4/export/controls/Header.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Header.js +7 -2
- package/dist/specification/src/sync/v4/export/controls/Header.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.d.ts +3 -9
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.js +6 -10
- package/dist/specification/src/sync/v4/export/controls/HeaderAction.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts +2 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.js +2 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts +51 -11
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js +246 -95
- package/dist/specification/src/sync/v4/export/controls/ObjectPageTable.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts +27 -6
- package/dist/specification/src/sync/v4/export/controls/Table.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/Table.js +38 -11
- package/dist/specification/src/sync/v4/export/controls/Table.js.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts +2 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/controls/ToolBarAction.js +2 -1
- 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 +4 -2
- package/dist/specification/src/sync/v4/export/factory.js.map +1 -1
- package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts +0 -1
- package/dist/specification/src/sync/v4/export/fpmCustomPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/fpmCustomPage.js +46 -212
- package/dist/specification/src/sync/v4/export/fpmCustomPage.js.map +1 -1
- package/dist/specification/src/sync/v4/export/pages/ObjectPage.d.ts +1 -0
- package/dist/specification/src/sync/v4/export/pages/ObjectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/export/pages/ObjectPage.js +11 -0
- package/dist/specification/src/sync/v4/export/pages/ObjectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/annotations.d.ts +0 -13
- 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 +2 -74
- 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.js +5 -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.map +1 -1
- package/dist/specification/src/sync/v4/generate/fpm-custom-page/generator.js +39 -29
- 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 +3 -12
- 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 +13 -32
- 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 +78 -103
- 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 +4 -7
- 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 +19 -34
- package/dist/specification/src/sync/v4/generate/list-report/listReport.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts +2 -1
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.js +95 -136
- 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 +0 -20
- 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 +50 -11
- package/dist/specification/src/sync/v4/import/pages/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/App.d.ts +4 -2
- package/dist/specification/src/sync/v4/sync-rules/App.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/App.js +1 -2
- package/dist/specification/src/sync/v4/sync-rules/App.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.d.ts +1 -2
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.js +1 -3
- package/dist/specification/src/sync/v4/sync-rules/AppSchema.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts +294 -1
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js +753 -0
- package/dist/specification/src/sync/v4/sync-rules/DecoratorClass.js.map +1 -1
- package/dist/specification/src/sync/v4/sync-rules/Page.d.ts +4 -2
- 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 +4 -10
- package/dist/specification/src/sync/v4/utils/StableIdHelper.js.map +1 -1
- package/dist/specification/src/sync/v4/utils/macros.d.ts +0 -19
- package/dist/specification/src/sync/v4/utils/macros.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/macros.js +0 -34
- package/dist/specification/src/sync/v4/utils/macros.js.map +1 -1
- package/dist/specification/src/sync/v4/utils/utils.d.ts +4 -24
- package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/utils.js +43 -240
- package/dist/specification/src/sync/v4/utils/utils.js.map +1 -1
- package/dist/specification/test/test-utils/utils.d.ts +1 -2
- package/dist/specification/test/test-utils/utils.d.ts.map +1 -1
- package/dist/specification/test/test-utils/utils.js +18 -26
- 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 +9 -15
- package/dist/types/src/apiTypes.d.ts.map +1 -1
- package/dist/types/src/apiTypes.js +0 -1
- package/dist/types/src/apiTypes.js.map +1 -1
- package/dist/types/src/common/types.d.ts +13 -11
- package/dist/types/src/common/types.d.ts.map +1 -1
- package/dist/types/src/common/types.js +7 -12
- package/dist/types/src/common/types.js.map +1 -1
- package/dist/types/src/v2/controls/ObjectPageTable.d.ts +4 -0
- package/dist/types/src/v2/controls/ObjectPageTable.d.ts.map +1 -1
- package/dist/types/src/v2/controls/Table.d.ts +4 -0
- package/dist/types/src/v2/controls/Table.d.ts.map +1 -1
- package/dist/types/src/v4/application.d.ts +4 -13
- package/dist/types/src/v4/application.d.ts.map +1 -1
- package/dist/types/src/v4/application.js +0 -10
- package/dist/types/src/v4/application.js.map +1 -1
- package/dist/types/src/v4/controls/ObjectPageTable.d.ts +252 -86
- 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/pages/ObjectPageConfigV4.d.ts +4 -0
- package/dist/types/src/v4/pages/ObjectPageConfigV4.d.ts.map +1 -1
- package/package.json +10 -9
- package/dist/specification/src/sync/common/decoration/Decorator.d.ts +0 -91
- package/dist/specification/src/sync/common/decoration/Decorator.d.ts.map +0 -1
- package/dist/specification/src/sync/common/decoration/Decorator.js +0 -139
- package/dist/specification/src/sync/common/decoration/Decorator.js.map +0 -1
- package/dist/specification/src/sync/common/decoration/condition-evaluator.d.ts +0 -95
- package/dist/specification/src/sync/common/decoration/condition-evaluator.d.ts.map +0 -1
- package/dist/specification/src/sync/common/decoration/condition-evaluator.js +0 -210
- package/dist/specification/src/sync/common/decoration/condition-evaluator.js.map +0 -1
- package/dist/specification/src/sync/common/decoration/interfaces.d.ts +0 -38
- package/dist/specification/src/sync/common/decoration/interfaces.d.ts.map +0 -1
- package/dist/specification/src/sync/common/decoration/interfaces.js +0 -3
- package/dist/specification/src/sync/common/decoration/interfaces.js.map +0 -1
- package/dist/specification/src/sync/common/decoration/steps/Enums.d.ts +0 -18
- package/dist/specification/src/sync/common/decoration/steps/Enums.d.ts.map +0 -1
- package/dist/specification/src/sync/common/decoration/steps/Enums.js +0 -50
- package/dist/specification/src/sync/common/decoration/steps/Enums.js.map +0 -1
- package/dist/specification/src/sync/common/decoration/steps/Hide.d.ts +0 -18
- package/dist/specification/src/sync/common/decoration/steps/Hide.d.ts.map +0 -1
- package/dist/specification/src/sync/common/decoration/steps/Hide.js +0 -46
- package/dist/specification/src/sync/common/decoration/steps/Hide.js.map +0 -1
- package/dist/specification/src/sync/common/decoration/steps/Message.d.ts +0 -26
- package/dist/specification/src/sync/common/decoration/steps/Message.d.ts.map +0 -1
- package/dist/specification/src/sync/common/decoration/steps/Message.js +0 -77
- package/dist/specification/src/sync/common/decoration/steps/Message.js.map +0 -1
- package/dist/specification/src/sync/common/decoration/steps/Readonly.d.ts +0 -18
- package/dist/specification/src/sync/common/decoration/steps/Readonly.d.ts.map +0 -1
- package/dist/specification/src/sync/common/decoration/steps/Readonly.js +0 -43
- package/dist/specification/src/sync/common/decoration/steps/Readonly.js.map +0 -1
- package/dist/specification/src/sync/common/decoration/steps/Validity.d.ts +0 -18
- package/dist/specification/src/sync/common/decoration/steps/Validity.d.ts.map +0 -1
- package/dist/specification/src/sync/common/decoration/steps/Validity.js +0 -68
- package/dist/specification/src/sync/common/decoration/steps/Validity.js.map +0 -1
- package/dist/specification/src/sync/common/decoration/steps/enum-utils.d.ts +0 -19
- package/dist/specification/src/sync/common/decoration/steps/enum-utils.d.ts.map +0 -1
- package/dist/specification/src/sync/common/decoration/steps/enum-utils.js +0 -48
- package/dist/specification/src/sync/common/decoration/steps/enum-utils.js.map +0 -1
- package/dist/specification/src/sync/common/decoration/steps/index.d.ts +0 -6
- package/dist/specification/src/sync/common/decoration/steps/index.d.ts.map +0 -1
- package/dist/specification/src/sync/common/decoration/steps/index.js +0 -14
- package/dist/specification/src/sync/common/decoration/steps/index.js.map +0 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiEdit.d.ts +0 -12
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiEdit.d.ts.map +0 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiEdit.js +0 -167
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiEdit.js.map +0 -1
- package/dist/specification/src/sync/v4/generate/app.d.ts +0 -11
- package/dist/specification/src/sync/v4/generate/app.d.ts.map +0 -1
- package/dist/specification/src/sync/v4/generate/app.js +0 -31
- package/dist/specification/src/sync/v4/generate/app.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PopinLayout } from 'sap/m/library';
|
|
2
|
-
import type { AnalyticalConfiguration, AnnotationPathAsObject, EnableMassEdit,
|
|
2
|
+
import type { AnalyticalConfiguration, AnnotationPathAsObject, EnableMassEdit, RowCountable, TableSettings, TableTypeV4 } from '.';
|
|
3
3
|
import type { Placement, ObjectPageTableColumn as ObjectPageTableColumnIF, ObjectPageTableColumnAction, TableCustomColumn } from '../webapp/manifest/ManifestSettings';
|
|
4
4
|
import type { ObjectPageToolBar } from './ObjectPageToolBar';
|
|
5
5
|
export interface PositionOP {
|
|
@@ -24,39 +24,84 @@ export interface TableCustomColumnOP extends TableCustomColumn {
|
|
|
24
24
|
*/
|
|
25
25
|
position?: PositionOP;
|
|
26
26
|
}
|
|
27
|
-
export type AnyObjectPageTableType =
|
|
27
|
+
export type AnyObjectPageTableType = ObjectPageAnalyticalTableV4 | ObjectPageGridTableV4 | ObjectPageResponsiveTableV4 | ObjectPageTreeTableV4;
|
|
28
|
+
/**
|
|
29
|
+
* Table
|
|
30
|
+
*
|
|
31
|
+
* @isViewNode true
|
|
32
|
+
* @controlProperty type
|
|
33
|
+
*/
|
|
34
|
+
export interface ObjectPageGridTableV4 extends ObjectPageTable, RowCountable {
|
|
35
|
+
/**
|
|
36
|
+
* Defines the table type. Note: Grid tables, analytical tables, and tree tables aren't rendered on small-screen devices. Responsive tables are shown instead.
|
|
37
|
+
*/
|
|
38
|
+
type?: TableTypeV4.GridTable;
|
|
39
|
+
/**
|
|
40
|
+
* Defines the page behavior when a new record is created.
|
|
41
|
+
*/
|
|
42
|
+
creationMode?: TableCreationModeInlineOPTable | TableCreationModeInlineCreationsRowsOPGridTable | TableCreationModeNewPageOPTable | TableCreationModeCreationDialogOPTable | TableCreationModeExternalOPTable;
|
|
43
|
+
}
|
|
28
44
|
export interface ObjectPageAnalyticalConfiguration extends AnalyticalConfiguration {
|
|
29
45
|
}
|
|
30
46
|
/**
|
|
31
47
|
* Table
|
|
32
48
|
*
|
|
33
49
|
* @isViewNode true
|
|
50
|
+
* @controlProperty type
|
|
34
51
|
*/
|
|
35
|
-
export interface
|
|
52
|
+
export interface ObjectPageAnalyticalTableV4 extends ObjectPageTable, RowCountable {
|
|
36
53
|
/**
|
|
37
54
|
* Defines the table type. Note: Grid tables, analytical tables, and tree tables aren't rendered on small-screen devices. Responsive tables are shown instead.
|
|
38
55
|
*/
|
|
39
|
-
type?: TableTypeV4;
|
|
56
|
+
type?: TableTypeV4.AnalyticalTable;
|
|
57
|
+
analyticalConfiguration?: ObjectPageAnalyticalConfiguration;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Table
|
|
61
|
+
*
|
|
62
|
+
* @isViewNode true
|
|
63
|
+
* @controlProperty type
|
|
64
|
+
*/
|
|
65
|
+
export interface ObjectPageTreeTableV4 extends ObjectPageTable, RowCountable {
|
|
40
66
|
/**
|
|
41
|
-
* Defines
|
|
42
|
-
* - Fixed: The table always has as many rows as defined in the rowCount property.
|
|
43
|
-
* - Auto (default): The number of rows is changed by the table automatically. It will then adjust its row count to the space it is allowed to cover (limited by the surrounding container) but it cannot have less than defined in the rowCount property.
|
|
44
|
-
* - Interactive: The user can change the number of displayed rows by dragging a resize handle.
|
|
67
|
+
* Defines the table type. Note: Grid tables, analytical tables, and tree tables aren't rendered on small-screen devices. Responsive tables are shown instead.
|
|
45
68
|
*/
|
|
46
|
-
|
|
69
|
+
type?: TableTypeV4.TreeTable;
|
|
47
70
|
/**
|
|
48
|
-
*
|
|
49
|
-
|
|
50
|
-
|
|
71
|
+
* Defines the page behavior when a new record is created.
|
|
72
|
+
*/
|
|
73
|
+
creationMode?: TableCreationModeNewPageOPTreeTable | TableCreationModeInlineOPTreeTable | TableCreationModeCreationDialogOPTreeTable;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Table
|
|
77
|
+
*
|
|
78
|
+
* @isViewNode true
|
|
79
|
+
* @controlProperty type
|
|
80
|
+
* @defaultControlProperty true
|
|
81
|
+
*/
|
|
82
|
+
export interface ObjectPageResponsiveTableV4 extends ObjectPageTable {
|
|
83
|
+
/**
|
|
84
|
+
* Defines the table type. Note: Grid tables, analytical tables, and tree tables aren't rendered on small-screen devices. Responsive tables are shown instead.
|
|
51
85
|
*/
|
|
52
|
-
|
|
86
|
+
type?: TableTypeV4.ResponsiveTable;
|
|
87
|
+
/**
|
|
88
|
+
* Defines the page behavior when a new record is created.
|
|
89
|
+
*/
|
|
90
|
+
creationMode?: TableCreationModeInlineOPTable | TableCreationModeInlineCreationsRowsOPResponsiveTable | TableCreationModeNewPageOPTable | TableCreationModeCreationDialogOPTable | TableCreationModeExternalOPTable;
|
|
53
91
|
/**
|
|
54
92
|
* Defines the layout options of the table popins. A popin layout defined at the table level takes precedence over a popin layout defined at the application level.
|
|
55
93
|
*
|
|
56
94
|
* @descriptionSrcURL https://help.sap.com/docs/SAPUI5/b1cda5dc7a7644eb886bc6ac04c0b438/7f844f1021cd4791b8f7408eac7c1cec.html
|
|
57
95
|
*/
|
|
58
96
|
popinLayout?: PopinLayout.Block | PopinLayout.GridSmall | PopinLayout.GridLarge;
|
|
59
|
-
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Table
|
|
100
|
+
*
|
|
101
|
+
* @isViewNode true
|
|
102
|
+
* @controlProperty type
|
|
103
|
+
*/
|
|
104
|
+
export interface ObjectPageTable extends TableSettingsOP {
|
|
60
105
|
/**
|
|
61
106
|
* Enables full screen mode for this table. This adds a button to the table toolbar which opens the table in a full screen dialog.
|
|
62
107
|
*/
|
|
@@ -69,11 +114,6 @@ export interface ObjectPageTable extends TableSettingsOP {
|
|
|
69
114
|
* Tool Bar
|
|
70
115
|
*/
|
|
71
116
|
toolBar?: ObjectPageToolBar;
|
|
72
|
-
/**
|
|
73
|
-
* Defines the page behavior when a new record is created.
|
|
74
|
-
* Note: Not available for AnalyticalTable.
|
|
75
|
-
*/
|
|
76
|
-
creationMode?: TableCreationModeOP;
|
|
77
117
|
}
|
|
78
118
|
/**
|
|
79
119
|
* Table Section
|
|
@@ -91,36 +131,81 @@ export declare enum TableCreationModeType {
|
|
|
91
131
|
External = "External"
|
|
92
132
|
}
|
|
93
133
|
/**
|
|
94
|
-
*
|
|
95
|
-
*
|
|
134
|
+
* NewPage creation mode for TreeTable
|
|
135
|
+
*
|
|
136
|
+
* @defaultControlProperty true
|
|
137
|
+
* @controlProperty name
|
|
96
138
|
*/
|
|
97
|
-
export interface
|
|
139
|
+
export interface TableCreationModeNewPageOPTreeTable extends TableCreationModeOPTreeTable {
|
|
98
140
|
/**
|
|
99
|
-
* Defines the creation mode to be used by the table.
|
|
141
|
+
* Defines the creation mode to be used by the tree table.
|
|
142
|
+
* Allowed values are 'NewPage', 'Inline', or 'CreationDialog'.
|
|
100
143
|
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
144
|
+
* - NewPage: The created document is shown in a new page, depending on whether 'Sync', 'Async', or 'Deferred' is specified in the metadata.
|
|
145
|
+
* - Inline: The creation is performed inline.
|
|
146
|
+
* - CreationDialog: The creation is performed in a table. There is a dialog which allows you to specify some initial property values which are listed in 'creationFields'.
|
|
147
|
+
*
|
|
148
|
+
* If the 'name' property is not set:
|
|
149
|
+
* If 'navigation' is defined, the default value is 'NewPage'. Otherwise, it is 'Inline'.
|
|
150
|
+
*/
|
|
151
|
+
name?: TableCreationModeType.NewPage;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Inline creation mode for TreeTable
|
|
155
|
+
*
|
|
156
|
+
* @controlProperty name
|
|
157
|
+
*/
|
|
158
|
+
export interface TableCreationModeInlineOPTreeTable extends TableCreationModeOPTreeTable {
|
|
159
|
+
/**
|
|
160
|
+
* Defines the creation mode to be used by the tree table.
|
|
161
|
+
* Allowed values are 'NewPage', 'Inline', or 'CreationDialog'.
|
|
103
162
|
*
|
|
104
163
|
* - NewPage: The created document is shown in a new page, depending on whether 'Sync', 'Async', or 'Deferred' is specified in the metadata.
|
|
105
|
-
* - Inline: The creation is performed inline
|
|
106
|
-
* - InlineCreationRows: The creation is performed inline with an empty row (not available for tree tables)
|
|
107
|
-
* - External: The creation is performed in a different application which is specified using the `outbound` parameter (not available for tree tables)
|
|
164
|
+
* - Inline: The creation is performed inline.
|
|
108
165
|
* - CreationDialog: The creation is performed in the table using a dialog which allows you to specify some initial property values which are listed in 'creationFields'.
|
|
109
166
|
*
|
|
110
167
|
* If the 'name' property is not set:
|
|
111
168
|
* If 'navigation' is defined, the default value is 'NewPage'. Otherwise it is 'Inline'.
|
|
112
169
|
*/
|
|
113
|
-
name?: TableCreationModeType;
|
|
170
|
+
name?: TableCreationModeType.Inline;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* CreationDialog creation mode for TreeTable
|
|
174
|
+
*
|
|
175
|
+
* @controlProperty name
|
|
176
|
+
*/
|
|
177
|
+
export interface TableCreationModeCreationDialogOPTreeTable extends TableCreationModeOPTreeTable {
|
|
114
178
|
/**
|
|
115
|
-
*
|
|
116
|
-
*
|
|
179
|
+
* Defines the creation mode to be used by the tree table.
|
|
180
|
+
* Allowed values are 'NewPage', 'Inline', or 'CreationDialog'.
|
|
181
|
+
*
|
|
182
|
+
* - NewPage: The created document is shown in a new page, depending on whether 'Sync', 'Async', or 'Deferred' is specified in the metadata.
|
|
183
|
+
* - Inline: The creation is performed inline.
|
|
184
|
+
* - CreationDialog: The creation is performed in the table using a dialog which allows you to specify some initial property values which are listed in 'creationFields'.
|
|
185
|
+
*
|
|
186
|
+
* If the 'name' property is not set:
|
|
187
|
+
* If 'navigation' is defined, the default value is 'NewPage'. Otherwise it is 'Inline'.
|
|
117
188
|
*/
|
|
118
|
-
|
|
189
|
+
name?: TableCreationModeType.CreationDialog;
|
|
119
190
|
/**
|
|
120
|
-
*
|
|
121
|
-
* The
|
|
191
|
+
* Defines the list of properties that will be displayed in the creation dialog, when the creation mode is set to 'CreationDialog'.
|
|
192
|
+
* The value is a comma-separated list of property names.
|
|
122
193
|
*/
|
|
123
|
-
|
|
194
|
+
creationFields?: string[];
|
|
195
|
+
}
|
|
196
|
+
export interface TableCreationModeOPTreeTable {
|
|
197
|
+
/**
|
|
198
|
+
* Defines the creation mode to be used by the tree table.
|
|
199
|
+
* Allowed values are 'NewPage', 'Inline', or 'CreationDialog'.
|
|
200
|
+
*
|
|
201
|
+
* - NewPage: The created document is shown in a new page, depending on whether 'Sync', 'Async', or 'Deferred' is specified in the metadata.
|
|
202
|
+
* - Inline: The creation is performed inline.
|
|
203
|
+
* - CreationDialog: The creation is performed in the table using a dialog which allows you to specify some initial property values which are listed in 'creationFields'.
|
|
204
|
+
*
|
|
205
|
+
* If the 'name' property is not set:
|
|
206
|
+
* If 'navigation' is defined, the default value is 'NewPage'. Otherwise it is 'Inline'.
|
|
207
|
+
*/
|
|
208
|
+
name?: TableCreationModeType.NewPage | TableCreationModeType.Inline | TableCreationModeType.CreationDialog;
|
|
124
209
|
/**
|
|
125
210
|
* Specifies if the new entry should be placed at the position computed by the backend (e.g. taking sorting into account).
|
|
126
211
|
* The default value is `false`. When set to `false`, the new entry is placed as the first child below its parent.
|
|
@@ -130,72 +215,153 @@ export interface TableCreationModeOP {
|
|
|
130
215
|
* Defines the extension point to control the enablement of the "Create" button or "Create Menu" buttons.
|
|
131
216
|
*/
|
|
132
217
|
isCreateEnabled?: string;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Inline creation mode
|
|
221
|
+
*
|
|
222
|
+
* @controlProperty name
|
|
223
|
+
*/
|
|
224
|
+
export interface TableCreationModeInlineOPTable {
|
|
133
225
|
/**
|
|
134
|
-
* Defines the
|
|
135
|
-
*
|
|
226
|
+
* Defines the creation mode to be used by the table.
|
|
227
|
+
* Allowed values are 'NewPage', 'Inline', 'InlineCreationsRows', 'External', or 'CreationDialog'.
|
|
228
|
+
*
|
|
229
|
+
* - NewPage: The created document is shown in a new page, depending on whether 'Sync', 'Async', or 'Deferred' is specified in the metadata.
|
|
230
|
+
* - Inline: The creation is performed inline
|
|
231
|
+
* - InlineCreationsRows: The creation is performed inline with an empty row
|
|
232
|
+
* - External: The creation is performed in a different application which is specified using the `outbound` parameter
|
|
233
|
+
* - CreationDialog: The creation is performed in the table using a dialog which allows you to specify some initial property values which are listed in 'creationFields'.
|
|
234
|
+
*
|
|
235
|
+
* If the 'name' property is not set:
|
|
236
|
+
* If 'navigation' is defined, the default value is 'NewPage'. Otherwise it is 'Inline'.
|
|
136
237
|
*/
|
|
137
|
-
|
|
238
|
+
name?: TableCreationModeType.Inline;
|
|
138
239
|
/**
|
|
139
|
-
*
|
|
240
|
+
* Specifies if the new entry should be created at the top or bottom of a table when `creationMode` is set to `Inline`.
|
|
241
|
+
* The default value is `false`.
|
|
140
242
|
*/
|
|
141
|
-
|
|
243
|
+
createAtEnd?: boolean;
|
|
142
244
|
}
|
|
143
245
|
/**
|
|
144
|
-
*
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* @deprecated Use TableCreationModeOP instead
|
|
149
|
-
*/
|
|
150
|
-
export type TableCreationModeNewPageOPTreeTable = TableCreationModeOP;
|
|
151
|
-
/**
|
|
152
|
-
* @deprecated Use TableCreationModeOP instead
|
|
153
|
-
*/
|
|
154
|
-
export type TableCreationModeInlineOPTreeTable = TableCreationModeOP;
|
|
155
|
-
/**
|
|
156
|
-
* @deprecated Use TableCreationModeOP instead
|
|
157
|
-
*/
|
|
158
|
-
export type TableCreationModeCreationDialogOPTreeTable = TableCreationModeOP;
|
|
159
|
-
/**
|
|
160
|
-
* @deprecated Use TableCreationModeOP instead
|
|
161
|
-
*/
|
|
162
|
-
export type TableCreationModeInlineOPTable = TableCreationModeOP;
|
|
163
|
-
/**
|
|
164
|
-
* @deprecated Use TableCreationModeOP instead
|
|
165
|
-
*/
|
|
166
|
-
export type TableCreationModeInlineCreationsRowsOPResponsiveTable = TableCreationModeOP;
|
|
167
|
-
/**
|
|
168
|
-
* @deprecated Use TableCreationModeOP instead
|
|
169
|
-
*/
|
|
170
|
-
export type TableCreationModeInlineCreationsRowsOPGridTable = TableCreationModeOP;
|
|
171
|
-
/**
|
|
172
|
-
* @deprecated Use TableCreationModeOP instead
|
|
173
|
-
*/
|
|
174
|
-
export type TableCreationModeNewPageOPTable = TableCreationModeOP;
|
|
175
|
-
/**
|
|
176
|
-
* @deprecated Use TableCreationModeOP instead
|
|
177
|
-
*/
|
|
178
|
-
export type TableCreationModeCreationDialogOPTable = TableCreationModeOP;
|
|
179
|
-
/**
|
|
180
|
-
* @deprecated Use TableCreationModeOP instead
|
|
246
|
+
* InlineCreationsRows creation mode for the responsive table
|
|
247
|
+
*
|
|
248
|
+
* @controlProperty name
|
|
181
249
|
*/
|
|
182
|
-
export
|
|
250
|
+
export interface TableCreationModeInlineCreationsRowsOPResponsiveTable {
|
|
251
|
+
/**
|
|
252
|
+
* Defines the creation mode to be used by the table.
|
|
253
|
+
* Allowed values are 'NewPage', 'Inline', 'InlineCreationsRows', 'External', or 'CreationDialog'.
|
|
254
|
+
*
|
|
255
|
+
* - NewPage: The created document is shown in a new page, depending on whether 'Sync', 'Async', or 'Deferred' is specified in the metadata.
|
|
256
|
+
* - Inline: The creation is performed inline
|
|
257
|
+
* - InlineCreationsRows: The creation is performed inline with an empty row
|
|
258
|
+
* - External: The creation is performed in a different application which is specified using the `outbound` parameter.
|
|
259
|
+
* - CreationDialog: The creation is performed in the table using a dialog which allows you to specify some initial property values which are listed in 'creationFields'.
|
|
260
|
+
*
|
|
261
|
+
* If the 'name' property is not set:
|
|
262
|
+
* If 'navigation' is defined, the default value is 'NewPage'. Otherwise it is 'Inline'.
|
|
263
|
+
*/
|
|
264
|
+
name?: TableCreationModeType.InlineCreationRows;
|
|
265
|
+
/**
|
|
266
|
+
* Specifies if the new entry should be hidden when `creationMode` is set to `InlineCreationRows`. This only applies to responsive tables.
|
|
267
|
+
* The default value is `false`.
|
|
268
|
+
*/
|
|
269
|
+
inlineCreationRowsHiddenInEditMode?: boolean;
|
|
270
|
+
}
|
|
183
271
|
/**
|
|
184
|
-
*
|
|
272
|
+
* InlineCreationsRows creation mode for the grid table
|
|
273
|
+
*
|
|
274
|
+
* @controlProperty name
|
|
185
275
|
*/
|
|
186
|
-
export
|
|
276
|
+
export interface TableCreationModeInlineCreationsRowsOPGridTable {
|
|
277
|
+
/**
|
|
278
|
+
* Defines the creation mode to be used by the table.
|
|
279
|
+
* Allowed values are 'NewPage', 'Inline', 'InlineCreationsRows', 'External', or 'CreationDialog'.
|
|
280
|
+
*
|
|
281
|
+
* - NewPage: The created document is shown in a new page, depending on whether 'Sync', 'Async', or 'Deferred' is specified in the metadata.
|
|
282
|
+
* - Inline: The creation is performed inline
|
|
283
|
+
* - InlineCreationsRows: The creation is performed inline with an empty row
|
|
284
|
+
* - External: The creation is performed in a different application which is specified using the `outbound` parameter.
|
|
285
|
+
* - CreationDialog: The creation is performed in the table using a dialog which allows you to specify some initial property values which are listed in 'creationFields'.
|
|
286
|
+
*
|
|
287
|
+
* If the 'name' property is not set:
|
|
288
|
+
* If 'navigation' is defined, the default value is 'NewPage'. Otherwise it is 'Inline'.
|
|
289
|
+
*/
|
|
290
|
+
name?: TableCreationModeType.InlineCreationRows;
|
|
291
|
+
}
|
|
187
292
|
/**
|
|
188
|
-
*
|
|
293
|
+
* NewPage creation mode
|
|
294
|
+
*
|
|
295
|
+
* @defaultControlProperty true
|
|
296
|
+
* @controlProperty name
|
|
189
297
|
*/
|
|
190
|
-
export
|
|
298
|
+
export interface TableCreationModeNewPageOPTable {
|
|
299
|
+
/**
|
|
300
|
+
* Defines the creation mode to be used by the table.
|
|
301
|
+
* Allowed values are 'NewPage', 'Inline', 'InlineCreationsRows', 'External', or 'CreationDialog'.
|
|
302
|
+
*
|
|
303
|
+
* - NewPage: The created document is shown in a new page, depending on whether 'Sync', 'Async', or 'Deferred' is specified in the metadata.
|
|
304
|
+
* - Inline: The creation is performed inline
|
|
305
|
+
* - InlineCreationsRows: The creation is performed inline with an empty row
|
|
306
|
+
* - External: The creation is performed in a different application which is specified using the `outbound` parameter.
|
|
307
|
+
* - CreationDialog: The creation is performed in the table using a dialog which allows you to specify some initial property values which are listed in 'creationFields'.
|
|
308
|
+
*
|
|
309
|
+
* If the 'name' property is not set:
|
|
310
|
+
* If 'navigation' is defined, the default value is 'NewPage'. Otherwise it is 'Inline'.
|
|
311
|
+
*/
|
|
312
|
+
name?: TableCreationModeType.NewPage;
|
|
313
|
+
}
|
|
191
314
|
/**
|
|
192
|
-
*
|
|
315
|
+
* CreationDialog creation mode
|
|
316
|
+
*
|
|
317
|
+
* @controlProperty name
|
|
193
318
|
*/
|
|
194
|
-
export
|
|
319
|
+
export interface TableCreationModeCreationDialogOPTable {
|
|
320
|
+
/**
|
|
321
|
+
* Defines the creation mode to be used by the table.
|
|
322
|
+
* Allowed values are 'NewPage', 'Inline', 'InlineCreationsRows', 'External', or 'CreationDialog'.
|
|
323
|
+
*
|
|
324
|
+
* - NewPage: The created document is shown in a new page, depending on whether 'Sync', 'Async', or 'Deferred' is specified in the metadata.
|
|
325
|
+
* - Inline: The creation is performed inline
|
|
326
|
+
* - InlineCreationsRows: The creation is performed inline with an empty row
|
|
327
|
+
* - External: The creation is performed in a different application which is specified using the `outbound` parameter.
|
|
328
|
+
* - CreationDialog: The creation is performed in the table using a dialog which allows you to specify some initial property values which are listed in 'creationFields'.
|
|
329
|
+
*
|
|
330
|
+
* If the 'name' property is not set:
|
|
331
|
+
* If 'navigation' is defined, the default value is 'NewPage'. Otherwise it is 'Inline'.
|
|
332
|
+
*/
|
|
333
|
+
name?: TableCreationModeType.CreationDialog;
|
|
334
|
+
/**
|
|
335
|
+
* Defines the list of properties that will be displayed in the creation dialog, when the creation mode is set to 'CreationDialog'.
|
|
336
|
+
* The value is a comma-separated list of property names.
|
|
337
|
+
*/
|
|
338
|
+
creationFields?: string[];
|
|
339
|
+
}
|
|
195
340
|
/**
|
|
196
|
-
*
|
|
341
|
+
* External creation mode
|
|
342
|
+
*
|
|
343
|
+
* @controlProperty name
|
|
197
344
|
*/
|
|
198
|
-
export
|
|
345
|
+
export interface TableCreationModeExternalOPTable {
|
|
346
|
+
/**
|
|
347
|
+
* Defines the creation mode to be used by the table.
|
|
348
|
+
* Allowed values are 'NewPage', 'Inline', 'InlineCreationsRows', 'External', or 'CreationDialog'.
|
|
349
|
+
*
|
|
350
|
+
* - NewPage: The created document is shown in a new page, depending on whether 'Sync', 'Async', or 'Deferred' is specified in the metadata.
|
|
351
|
+
* - Inline: The creation is performed inline
|
|
352
|
+
* - InlineCreationsRows: The creation is performed inline with an empty row
|
|
353
|
+
* - External: The creation is performed in a different application which is specified using the `outbound` parameter.
|
|
354
|
+
* - CreationDialog: The creation is performed in the table using a dialog which allows you to specify some initial property values which are listed in 'creationFields'.
|
|
355
|
+
*
|
|
356
|
+
* If the 'name' property is not set:
|
|
357
|
+
* If 'navigation' is defined, the default value is 'NewPage'. Otherwise it is 'Inline'.
|
|
358
|
+
*/
|
|
359
|
+
name?: TableCreationModeType.External;
|
|
360
|
+
/**
|
|
361
|
+
* The navigation target where the document is created when `creationMode` is set to `External`.
|
|
362
|
+
*/
|
|
363
|
+
outbound?: string;
|
|
364
|
+
}
|
|
199
365
|
export interface PersonalizationTypeOP {
|
|
200
366
|
/**
|
|
201
367
|
* Defines whether the user can add and remove columns to a given table.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectPageTable.d.ts","sourceRoot":"","sources":["../../../../../../types/src/v4/controls/ObjectPageTable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EACR,uBAAuB,EACvB,sBAAsB,EACtB,cAAc,EACd,YAAY,EACZ,aAAa,EACb,WAAW,EACd,MAAM,GAAG,CAAC;AACX,OAAO,KAAK,EACR,SAAS,EACT,qBAAqB,IAAI,uBAAuB,EAChD,2BAA2B,EAC3B,iBAAiB,EACpB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAI7D,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,SAAS,CAAC;CACxB;AAED,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAC1D;;;;OAIG;IACH,QAAQ,CAAC,EAAE,UAAU,CAAC;CACzB;AAED,MAAM,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"ObjectPageTable.d.ts","sourceRoot":"","sources":["../../../../../../types/src/v4/controls/ObjectPageTable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EACR,uBAAuB,EACvB,sBAAsB,EACtB,cAAc,EACd,YAAY,EACZ,aAAa,EACb,WAAW,EACd,MAAM,GAAG,CAAC;AACX,OAAO,KAAK,EACR,SAAS,EACT,qBAAqB,IAAI,uBAAuB,EAChD,2BAA2B,EAC3B,iBAAiB,EACpB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAI7D,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,EAAE,SAAS,CAAC;CACxB;AAED,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAC1D;;;;OAIG;IACH,QAAQ,CAAC,EAAE,UAAU,CAAC;CACzB;AAED,MAAM,MAAM,sBAAsB,GAC5B,2BAA2B,GAC3B,qBAAqB,GACrB,2BAA2B,GAC3B,qBAAqB,CAAC;AAE5B;;;;;GAKG;AACH,MAAM,WAAW,qBAAsB,SAAQ,eAAe,EAAE,YAAY;IACxE;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC;IAC7B;;OAEG;IACH,YAAY,CAAC,EACP,8BAA8B,GAC9B,+CAA+C,GAC/C,+BAA+B,GAC/B,sCAAsC,GACtC,gCAAgC,CAAC;CAC1C;AAED,MAAM,WAAW,iCAAkC,SAAQ,uBAAuB;CAAG;AAErF;;;;;GAKG;AACH,MAAM,WAAW,2BAA4B,SAAQ,eAAe,EAAE,YAAY;IAC9E;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC,eAAe,CAAC;IACnC,uBAAuB,CAAC,EAAE,iCAAiC,CAAC;CAC/D;AAED;;;;;GAKG;AACH,MAAM,WAAW,qBAAsB,SAAQ,eAAe,EAAE,YAAY;IACxE;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC;IAE7B;;OAEG;IACH,YAAY,CAAC,EACP,mCAAmC,GACnC,kCAAkC,GAClC,0CAA0C,CAAC;CACpD;AAED;;;;;;GAMG;AACH,MAAM,WAAW,2BAA4B,SAAQ,eAAe;IAChE;;OAEG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC,eAAe,CAAC;IACnC;;OAEG;IACH,YAAY,CAAC,EACP,8BAA8B,GAC9B,qDAAqD,GACrD,+BAA+B,GAC/B,sCAAsC,GACtC,gCAAgC,CAAC;IACvC;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC,KAAK,GAAG,WAAW,CAAC,SAAS,GAAG,WAAW,CAAC,SAAS,CAAC;CACnF;AAED;;;;;GAKG;AACH,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACpD;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC/B;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC,KAAK,CAAC,EAAE,sBAAsB,CAAC;CAClC;AAED,oBAAY,qBAAqB;IAC7B,OAAO,YAAY;IACnB,kBAAkB,uBAAuB;IACzC,MAAM,WAAW;IACjB,cAAc,mBAAmB;IACjC,QAAQ,aAAa;CACxB;AAED;;;;;GAKG;AACH,MAAM,WAAW,mCAAoC,SAAQ,4BAA4B;IACrF;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC,OAAO,CAAC;CACxC;AAED;;;;GAIG;AACH,MAAM,WAAW,kCAAmC,SAAQ,4BAA4B;IACpF;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC,MAAM,CAAC;CACvC;AAED;;;;GAIG;AACH,MAAM,WAAW,0CAA2C,SAAQ,4BAA4B;IAC5F;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC,cAAc,CAAC;IAC5C;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,4BAA4B;IACzC;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC,OAAO,GAAG,qBAAqB,CAAC,MAAM,GAAG,qBAAqB,CAAC,cAAc,CAAC;IAC3G;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC,MAAM,CAAC;IACpC;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;;GAIG;AACH,MAAM,WAAW,qDAAqD;IAClE;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC,kBAAkB,CAAC;IAChD;;;OAGG;IACH,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAChD;AAED;;;;GAIG;AACH,MAAM,WAAW,+CAA+C;IAC5D;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC,kBAAkB,CAAC;CACnD;AAED;;;;;GAKG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC,OAAO,CAAC;CACxC;AAED;;;;GAIG;AACH,MAAM,WAAW,sCAAsC;IACnD;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC,cAAc,CAAC;IAC5C;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,EAAE,qBAAqB,CAAC,QAAQ,CAAC;IACtC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,KAAK,EAAE,sBAAsB,EAAE,CAAC;IAChC;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,uBAAuB,GAAG,2BAA2B,GAAG,mBAAmB,CAAC;CAC9F;AAED,MAAM,WAAW,eAAgB,SAAQ,aAAa;IAClD;;;;OAIG;IACH,eAAe,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC;IAElD;;OAEG;IACH,qBAAqB,CAAC,EAAE,yBAAyB,CAAC;IAElD,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAE3B;;OAEG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;CACnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectPageTable.js","sourceRoot":"","sources":["../../../../../../types/src/v4/controls/ObjectPageTable.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ObjectPageTable.js","sourceRoot":"","sources":["../../../../../../types/src/v4/controls/ObjectPageTable.ts"],"names":[],"mappings":";;;AAuKA,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC7B,4CAAmB,CAAA;IACnB,kEAAyC,CAAA;IACzC,0CAAiB,CAAA;IACjB,0DAAiC,CAAA;IACjC,8CAAqB,CAAA;AACzB,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC"}
|
|
@@ -13,6 +13,10 @@ export interface ObjectPageConfigV4 extends PageConfig {
|
|
|
13
13
|
* - Control: Variant management can be enabled individually for each control using personalization.
|
|
14
14
|
*/
|
|
15
15
|
variantManagement?: VariantManagementTypeObjectPage;
|
|
16
|
+
/**
|
|
17
|
+
* Enable lazy loading for sections in an object page.
|
|
18
|
+
*/
|
|
19
|
+
enableLazyLoading?: boolean;
|
|
16
20
|
sections?: GenericSections | CustomSections;
|
|
17
21
|
footer?: ObjectPageFooter;
|
|
18
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectPageConfigV4.d.ts","sourceRoot":"","sources":["../../../../../../types/src/v4/pages/ObjectPageConfigV4.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EACR,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,gBAAgB,EACnB,MAAM,aAAa,CAAC;AAErB,oBAAY,+BAA+B;IACvC,IAAI,SAAS;IACb,OAAO,YAAY;CACtB;AAID,MAAM,WAAW,kBAAmB,SAAQ,UAAU;IAClD,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"ObjectPageConfigV4.d.ts","sourceRoot":"","sources":["../../../../../../types/src/v4/pages/ObjectPageConfigV4.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EACR,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,gBAAgB,EACnB,MAAM,aAAa,CAAC;AAErB,oBAAY,+BAA+B;IACvC,IAAI,SAAS;IACb,OAAO,YAAY;CACtB;AAID,MAAM,WAAW,kBAAmB,SAAQ,UAAU;IAClD,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,+BAA+B,CAAC;IACpD;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,QAAQ,CAAC,EAAE,eAAe,GAAG,cAAc,CAAC;IAE5C,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC7B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/ux-specification",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.144.1",
|
|
4
4
|
"displayName": "SAP Fiori tools - Specification",
|
|
5
5
|
"description": "SAP Fiori tools - Specification",
|
|
6
6
|
"files": [
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"build:schemas": "npm-run-all -l -s create-json-schemas copy-json-schemas",
|
|
28
28
|
"build:snap": "yarn build:dev && yarn update-snapshots",
|
|
29
29
|
"create-json-schemas": "ts-node ./scripts/schema/index.ts ",
|
|
30
|
-
"copy-json-schemas": "
|
|
31
|
-
"copy-templates": "
|
|
30
|
+
"copy-json-schemas": "copyfiles \"./schemas/**\" ./dist",
|
|
31
|
+
"copy-templates": "copyfiles --flat src/sync/v2/export/templates/** dist/templates",
|
|
32
32
|
"deleteSnapshots": "rimraf **/_file_snapshots_",
|
|
33
33
|
"docuV2": "ts-node ./scripts/extractDocu.ts --version=v2 format=excel",
|
|
34
34
|
"docuV4": "ts-node ./scripts/extractDocu.ts --version=v4 format=excel",
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"lint:report": "eslint . -f multiple",
|
|
42
42
|
"lint:report:jslint": "eslint . -o reports/lint/eslint.jslint.xml -f jslint-xml",
|
|
43
43
|
"macros": "ts-node ./scripts/macros/index.ts",
|
|
44
|
+
"macros:update": "npm run macros -- --update",
|
|
44
45
|
"test": "jest && node ../../scripts/scov.js reports/test/unit/coverage/lcov.info",
|
|
45
46
|
"test:ci": "node --max-old-space-size=4096 ./node_modules/.bin/jest --ci --forceExit --detectOpenHandles && node ../../scripts/scov.js reports/test/unit/coverage/lcov.info",
|
|
46
47
|
"update-snapshots": "jest --updateSnapshot",
|
|
@@ -50,15 +51,15 @@
|
|
|
50
51
|
"publisher": "SAPSE",
|
|
51
52
|
"license": "SEE LICENSE IN LICENSE",
|
|
52
53
|
"dependencies": {
|
|
53
|
-
"@sap-ux/fe-fpm-writer": "0.43.
|
|
54
|
+
"@sap-ux/fe-fpm-writer": "0.43.10",
|
|
54
55
|
"@sap-ux/vocabularies-types": "0.15.0"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
58
|
"@sap-ux/annotation-converter": "0.10.21",
|
|
58
59
|
"@sap-ux/edmx-parser": "0.10.0",
|
|
59
|
-
"@sap-ux/project-access": "1.35.
|
|
60
|
-
"@sap/ux-specification-types": "1.
|
|
61
|
-
"@sapui5/types": "latest-1.
|
|
60
|
+
"@sap-ux/project-access": "1.35.13",
|
|
61
|
+
"@sap/ux-specification-types": "1.144.1",
|
|
62
|
+
"@sapui5/types": "latest-1.144",
|
|
62
63
|
"@types/d3": "7.4.3",
|
|
63
64
|
"@types/jquery": "3.5.34",
|
|
64
65
|
"@types/json-schema": "7.0.15",
|
|
@@ -67,8 +68,8 @@
|
|
|
67
68
|
"@ui5/flexibility-utils": "0.1.3",
|
|
68
69
|
"@xml-tools/ast": "5.0.5",
|
|
69
70
|
"@xml-tools/parser": "1.0.11",
|
|
70
|
-
"axios": "1.
|
|
71
|
-
"
|
|
71
|
+
"axios": "1.13.6",
|
|
72
|
+
"copyfiles": "2.4.1",
|
|
72
73
|
"d3": "7.9.0",
|
|
73
74
|
"deepmerge": "4.3.1",
|
|
74
75
|
"ejs": "3.1.10",
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import type { Definition } from 'typescript-json-schema';
|
|
2
|
-
import type { DecoratorContext, DecoratorStep } from './interfaces';
|
|
3
|
-
type DecoratorClass = new (...args: unknown[]) => object;
|
|
4
|
-
/**
|
|
5
|
-
* Options for configuring the Decorator processor.
|
|
6
|
-
*/
|
|
7
|
-
export interface DecoratorOptions {
|
|
8
|
-
/** Custom steps (replaces defaults entirely) */
|
|
9
|
-
steps?: DecoratorStep[];
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Decorator processor - applies decorator metadata to schema definitions.
|
|
13
|
-
*
|
|
14
|
-
* This class processes decorator annotations (@hide, @message, @enums, @validity)
|
|
15
|
-
* through a configurable pipeline of steps.
|
|
16
|
-
*
|
|
17
|
-
* If the target class defines an `init(context: DecoratorContext)` method, it will be
|
|
18
|
-
* called automatically after all steps have been executed.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```typescript
|
|
22
|
-
* // Define a class with decorators (no base class needed)
|
|
23
|
-
* class TableSettings implements v4.TableSettings {
|
|
24
|
-
* @hide(when(tableContext.type, 'AnalyticalTable'))
|
|
25
|
-
* @validity({ since: '1.84.0' })
|
|
26
|
-
* creationMode?: v4.TableCreationModeLR;
|
|
27
|
-
* }
|
|
28
|
-
*
|
|
29
|
-
* // Create decorator processor with context
|
|
30
|
-
* const decorator = new Decorator({ schema: appSchema, app, page });
|
|
31
|
-
*
|
|
32
|
-
* // Apply decorators - just pass the class
|
|
33
|
-
* const definition = decorator.apply(TableSettings, { type: 'GridTable' });
|
|
34
|
-
*
|
|
35
|
-
* // Apply with an explicit definition (e.g., view-specific copy)
|
|
36
|
-
* const definition = decorator.apply(Table, customContext, tableDefinition);
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
export declare class Decorator {
|
|
40
|
-
private readonly context;
|
|
41
|
-
private readonly steps;
|
|
42
|
-
/**
|
|
43
|
-
* Creates a new Decorator processor.
|
|
44
|
-
*
|
|
45
|
-
* @param context - Runtime context for decorator evaluation (app, page, schema)
|
|
46
|
-
* @param options - Optional configuration for steps
|
|
47
|
-
*/
|
|
48
|
-
constructor(context: DecoratorContext, options?: DecoratorOptions);
|
|
49
|
-
/**
|
|
50
|
-
* Initialize all decorator metadata to a schema definition.
|
|
51
|
-
*
|
|
52
|
-
* Resolves the definition by class name from the schema, or uses an explicit
|
|
53
|
-
* definition if provided. Runs all configured steps in order, then calls
|
|
54
|
-
* `init(context)` on the target class if it defines one.
|
|
55
|
-
*
|
|
56
|
-
* @param Target - Class constructor with decorator metadata
|
|
57
|
-
* @param customContext - Optional runtime context (e.g., table state, section state)
|
|
58
|
-
* @param definition - Optional explicit definition (overrides schema lookup by class name)
|
|
59
|
-
* @returns The modified schema definition, or undefined if not found
|
|
60
|
-
*/
|
|
61
|
-
init<T extends DecoratorClass>(Target: T | T[], customContext?: Record<string, unknown>, definition?: Definition): Definition | undefined;
|
|
62
|
-
/**
|
|
63
|
-
* Apply decorator metadata to a schema definition.
|
|
64
|
-
*
|
|
65
|
-
* Resolves the definition by class name from the schema, or uses an explicit
|
|
66
|
-
* definition if provided. Runs all configured steps in order, then calls
|
|
67
|
-
* `init(context)` on the target class if it defines one.
|
|
68
|
-
*
|
|
69
|
-
* @param Target - Class constructor with decorator metadata
|
|
70
|
-
* @param customContext - Optional runtime context (e.g., table state, section state)
|
|
71
|
-
* @param definition - Optional explicit definition (overrides schema lookup by class name)
|
|
72
|
-
* @returns The modified schema definition, or undefined if not found
|
|
73
|
-
*/
|
|
74
|
-
private apply;
|
|
75
|
-
/**
|
|
76
|
-
* Apply description decorator from class metadata.
|
|
77
|
-
*
|
|
78
|
-
* @param Target - Class constructor with decorator metadata
|
|
79
|
-
* @param definition - The schema definition to modify
|
|
80
|
-
*/
|
|
81
|
-
private applyDescription;
|
|
82
|
-
/**
|
|
83
|
-
* Apply isViewNode decorator from class metadata.
|
|
84
|
-
*
|
|
85
|
-
* @param Target - Class constructor with decorator metadata
|
|
86
|
-
* @param definition - The schema definition to modify
|
|
87
|
-
*/
|
|
88
|
-
private applyIsViewNode;
|
|
89
|
-
}
|
|
90
|
-
export {};
|
|
91
|
-
//# sourceMappingURL=Decorator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Decorator.d.ts","sourceRoot":"","sources":["../../../../../../src/sync/common/decoration/Decorator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAYpE,KAAK,cAAc,GAAG,KAAK,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,MAAM,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,gDAAgD;IAChD,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBAAa,SAAS;IAClB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmB;IAC3C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAkB;IAExC;;;;;OAKG;gBACS,OAAO,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,gBAAgB;IAKjE;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,CAAC,SAAS,cAAc,EACzB,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,EACf,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACvC,UAAU,CAAC,EAAE,UAAU,GACxB,UAAU,GAAG,SAAS;IAUzB;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,KAAK;IAoCb;;;;;OAKG;IACH,OAAO,CAAC,gBAAgB;IAOxB;;;;;OAKG;IACH,OAAO,CAAC,eAAe;CAO1B"}
|