@sap/ux-specification 1.84.126 → 1.84.128
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 +49 -1
- 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-ListReport.html +2 -2
- package/dist/documentation/v4/v4-ObjectPage.html +2 -2
- package/dist/index-min.js +223 -223
- package/dist/index-min.js.map +4 -4
- package/dist/schemas/v2/ApplicationV2.json +14 -7
- package/dist/schemas/v2/ListReportNewConfig.json +167 -0
- package/dist/schemas/v4/ApplicationV4.json +10 -5
- package/dist/specification/package.json +9 -8
- package/dist/specification/scripts/schema/to-json-schema.d.ts.map +1 -1
- package/dist/specification/scripts/schema/to-json-schema.js +62 -6
- package/dist/specification/scripts/schema/to-json-schema.js.map +1 -1
- package/dist/specification/src/api.js +1 -1
- package/dist/specification/src/ftfs/ftfs.d.ts +1 -1
- package/dist/specification/src/ftfs/ftfs.d.ts.map +1 -1
- package/dist/specification/src/ftfs/ftfs.js +38 -5
- package/dist/specification/src/ftfs/ftfs.js.map +1 -1
- package/dist/specification/src/ftfs/parser/annotations.d.ts +9 -0
- package/dist/specification/src/ftfs/parser/annotations.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/annotations.js +13 -0
- package/dist/specification/src/ftfs/parser/annotations.js.map +1 -0
- package/dist/specification/src/ftfs/parser/index.d.ts +15 -0
- package/dist/specification/src/ftfs/parser/index.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/index.js +35 -0
- package/dist/specification/src/ftfs/parser/index.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/AggregationValidator.d.ts +65 -0
- package/dist/specification/src/ftfs/parser/model/AggregationValidator.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/AggregationValidator.js +209 -0
- package/dist/specification/src/ftfs/parser/model/AggregationValidator.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/ArrayAggregation.d.ts +49 -0
- package/dist/specification/src/ftfs/parser/model/ArrayAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/ArrayAggregation.js +122 -0
- package/dist/specification/src/ftfs/parser/model/ArrayAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/NodeProperty.d.ts +38 -0
- package/dist/specification/src/ftfs/parser/model/NodeProperty.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/NodeProperty.js +25 -0
- package/dist/specification/src/ftfs/parser/model/NodeProperty.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/ObjectAggregation.d.ts +339 -0
- package/dist/specification/src/ftfs/parser/model/ObjectAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/ObjectAggregation.js +682 -0
- package/dist/specification/src/ftfs/parser/model/ObjectAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/RootAggregation.d.ts +24 -0
- package/dist/specification/src/ftfs/parser/model/RootAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/RootAggregation.js +57 -0
- package/dist/specification/src/ftfs/parser/model/RootAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/TreeModel.d.ts +223 -0
- package/dist/specification/src/ftfs/parser/model/TreeModel.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/TreeModel.js +947 -0
- package/dist/specification/src/ftfs/parser/model/TreeModel.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/actions/ActionAggregation.d.ts +34 -0
- package/dist/specification/src/ftfs/parser/model/actions/ActionAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/actions/ActionAggregation.js +94 -0
- package/dist/specification/src/ftfs/parser/model/actions/ActionAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/actions/ActionsAggregation.d.ts +67 -0
- package/dist/specification/src/ftfs/parser/model/actions/ActionsAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/actions/ActionsAggregation.js +113 -0
- package/dist/specification/src/ftfs/parser/model/actions/ActionsAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/actions/index.d.ts +3 -0
- package/dist/specification/src/ftfs/parser/model/actions/index.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/actions/index.js +19 -0
- package/dist/specification/src/ftfs/parser/model/actions/index.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/additionalObjects/AdditionalObjectAggregation.d.ts +17 -0
- package/dist/specification/src/ftfs/parser/model/additionalObjects/AdditionalObjectAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/additionalObjects/AdditionalObjectAggregation.js +29 -0
- package/dist/specification/src/ftfs/parser/model/additionalObjects/AdditionalObjectAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/additionalObjects/AdditionalObjectsAggregation.d.ts +46 -0
- package/dist/specification/src/ftfs/parser/model/additionalObjects/AdditionalObjectsAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/additionalObjects/AdditionalObjectsAggregation.js +66 -0
- package/dist/specification/src/ftfs/parser/model/additionalObjects/AdditionalObjectsAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/additionalObjects/index.d.ts +3 -0
- package/dist/specification/src/ftfs/parser/model/additionalObjects/index.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/additionalObjects/index.js +19 -0
- package/dist/specification/src/ftfs/parser/model/additionalObjects/index.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/chart/ChartAggregation.d.ts +21 -0
- package/dist/specification/src/ftfs/parser/model/chart/ChartAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/chart/ChartAggregation.js +30 -0
- package/dist/specification/src/ftfs/parser/model/chart/ChartAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/chart/index.d.ts +2 -0
- package/dist/specification/src/ftfs/parser/model/chart/index.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/chart/index.js +18 -0
- package/dist/specification/src/ftfs/parser/model/chart/index.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/fields/ConnectedFieldsAggregation.d.ts +9 -0
- package/dist/specification/src/ftfs/parser/model/fields/ConnectedFieldsAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/fields/ConnectedFieldsAggregation.js +16 -0
- package/dist/specification/src/ftfs/parser/model/fields/ConnectedFieldsAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/fields/FieldAggregation.d.ts +25 -0
- package/dist/specification/src/ftfs/parser/model/fields/FieldAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/fields/FieldAggregation.js +45 -0
- package/dist/specification/src/ftfs/parser/model/fields/FieldAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/fields/FieldsAggregation.d.ts +22 -0
- package/dist/specification/src/ftfs/parser/model/fields/FieldsAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/fields/FieldsAggregation.js +37 -0
- package/dist/specification/src/ftfs/parser/model/fields/FieldsAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/fields/index.d.ts +4 -0
- package/dist/specification/src/ftfs/parser/model/fields/index.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/fields/index.js +20 -0
- package/dist/specification/src/ftfs/parser/model/fields/index.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/filter-fields/FilterFieldAggregation.d.ts +39 -0
- package/dist/specification/src/ftfs/parser/model/filter-fields/FilterFieldAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/filter-fields/FilterFieldAggregation.js +97 -0
- package/dist/specification/src/ftfs/parser/model/filter-fields/FilterFieldAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/filter-fields/FilterFieldsAggregation.d.ts +36 -0
- package/dist/specification/src/ftfs/parser/model/filter-fields/FilterFieldsAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/filter-fields/FilterFieldsAggregation.js +59 -0
- package/dist/specification/src/ftfs/parser/model/filter-fields/FilterFieldsAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/filter-fields/index.d.ts +3 -0
- package/dist/specification/src/ftfs/parser/model/filter-fields/index.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/filter-fields/index.js +19 -0
- package/dist/specification/src/ftfs/parser/model/filter-fields/index.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/index.d.ts +19 -0
- package/dist/specification/src/ftfs/parser/model/index.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/index.js +35 -0
- package/dist/specification/src/ftfs/parser/model/index.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/macros/MacrosRoot.d.ts +29 -0
- package/dist/specification/src/ftfs/parser/model/macros/MacrosRoot.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/macros/MacrosRoot.js +50 -0
- package/dist/specification/src/ftfs/parser/model/macros/MacrosRoot.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/macros/index.d.ts +2 -0
- package/dist/specification/src/ftfs/parser/model/macros/index.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/macros/index.js +18 -0
- package/dist/specification/src/ftfs/parser/model/macros/index.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/sections/HeaderSectionsAggregation.d.ts +31 -0
- package/dist/specification/src/ftfs/parser/model/sections/HeaderSectionsAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/sections/HeaderSectionsAggregation.js +82 -0
- package/dist/specification/src/ftfs/parser/model/sections/HeaderSectionsAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/sections/SectionAggregation.d.ts +78 -0
- package/dist/specification/src/ftfs/parser/model/sections/SectionAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/sections/SectionAggregation.js +126 -0
- package/dist/specification/src/ftfs/parser/model/sections/SectionAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/sections/SectionsAggregation.d.ts +135 -0
- package/dist/specification/src/ftfs/parser/model/sections/SectionsAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/sections/SectionsAggregation.js +402 -0
- package/dist/specification/src/ftfs/parser/model/sections/SectionsAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/sections/SectionsObjectAggregation.d.ts +50 -0
- package/dist/specification/src/ftfs/parser/model/sections/SectionsObjectAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/sections/SectionsObjectAggregation.js +120 -0
- package/dist/specification/src/ftfs/parser/model/sections/SectionsObjectAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/sections/SubSectionsAggregation.d.ts +39 -0
- package/dist/specification/src/ftfs/parser/model/sections/SubSectionsAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/sections/SubSectionsAggregation.js +70 -0
- package/dist/specification/src/ftfs/parser/model/sections/SubSectionsAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/sections/index.d.ts +6 -0
- package/dist/specification/src/ftfs/parser/model/sections/index.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/sections/index.js +22 -0
- package/dist/specification/src/ftfs/parser/model/sections/index.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/table/ColumnAggregation.d.ts +89 -0
- package/dist/specification/src/ftfs/parser/model/table/ColumnAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/table/ColumnAggregation.js +175 -0
- package/dist/specification/src/ftfs/parser/model/table/ColumnAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/table/ColumnsAggregation.d.ts +113 -0
- package/dist/specification/src/ftfs/parser/model/table/ColumnsAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/table/ColumnsAggregation.js +290 -0
- package/dist/specification/src/ftfs/parser/model/table/ColumnsAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/table/TableAggregation.d.ts +13 -0
- package/dist/specification/src/ftfs/parser/model/table/TableAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/table/TableAggregation.js +21 -0
- package/dist/specification/src/ftfs/parser/model/table/TableAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/table/ToolbarAggregation.d.ts +15 -0
- package/dist/specification/src/ftfs/parser/model/table/ToolbarAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/table/ToolbarAggregation.js +22 -0
- package/dist/specification/src/ftfs/parser/model/table/ToolbarAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/table/index.d.ts +5 -0
- package/dist/specification/src/ftfs/parser/model/table/index.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/table/index.js +21 -0
- package/dist/specification/src/ftfs/parser/model/table/index.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/table/utils.d.ts +12 -0
- package/dist/specification/src/ftfs/parser/model/table/utils.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/table/utils.js +44 -0
- package/dist/specification/src/ftfs/parser/model/table/utils.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/types/annotations.d.ts +63 -0
- package/dist/specification/src/ftfs/parser/model/types/annotations.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/types/annotations.js +29 -0
- package/dist/specification/src/ftfs/parser/model/types/annotations.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/types/common.d.ts +13 -0
- package/dist/specification/src/ftfs/parser/model/types/common.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/types/common.js +3 -0
- package/dist/specification/src/ftfs/parser/model/types/common.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/types/index.d.ts +219 -0
- package/dist/specification/src/ftfs/parser/model/types/index.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/types/index.js +156 -0
- package/dist/specification/src/ftfs/parser/model/types/index.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/utils/annotations.d.ts +38 -0
- package/dist/specification/src/ftfs/parser/model/utils/annotations.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/utils/annotations.js +120 -0
- package/dist/specification/src/ftfs/parser/model/utils/annotations.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/utils/i18n.d.ts +33 -0
- package/dist/specification/src/ftfs/parser/model/utils/i18n.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/utils/i18n.js +69 -0
- package/dist/specification/src/ftfs/parser/model/utils/i18n.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/utils/index.d.ts +6 -0
- package/dist/specification/src/ftfs/parser/model/utils/index.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/utils/index.js +22 -0
- package/dist/specification/src/ftfs/parser/model/utils/index.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/utils/object.d.ts +25 -0
- package/dist/specification/src/ftfs/parser/model/utils/object.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/utils/object.js +68 -0
- package/dist/specification/src/ftfs/parser/model/utils/object.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/utils/sort.d.ts +31 -0
- package/dist/specification/src/ftfs/parser/model/utils/sort.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/utils/sort.js +18 -0
- package/dist/specification/src/ftfs/parser/model/utils/sort.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/utils/utils.d.ts +95 -0
- package/dist/specification/src/ftfs/parser/model/utils/utils.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/utils/utils.js +267 -0
- package/dist/specification/src/ftfs/parser/model/utils/utils.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/views/ViewAggregation.d.ts +62 -0
- package/dist/specification/src/ftfs/parser/model/views/ViewAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/views/ViewAggregation.js +111 -0
- package/dist/specification/src/ftfs/parser/model/views/ViewAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/views/ViewsAggregation.d.ts +54 -0
- package/dist/specification/src/ftfs/parser/model/views/ViewsAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/views/ViewsAggregation.js +144 -0
- package/dist/specification/src/ftfs/parser/model/views/ViewsAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/views/index.d.ts +3 -0
- package/dist/specification/src/ftfs/parser/model/views/index.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/views/index.js +19 -0
- package/dist/specification/src/ftfs/parser/model/views/index.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/visual-filters/VisualFilterAggregation.d.ts +11 -0
- package/dist/specification/src/ftfs/parser/model/visual-filters/VisualFilterAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/visual-filters/VisualFilterAggregation.js +18 -0
- package/dist/specification/src/ftfs/parser/model/visual-filters/VisualFilterAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/visual-filters/VisualFiltersAggregation.d.ts +11 -0
- package/dist/specification/src/ftfs/parser/model/visual-filters/VisualFiltersAggregation.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/visual-filters/VisualFiltersAggregation.js +18 -0
- package/dist/specification/src/ftfs/parser/model/visual-filters/VisualFiltersAggregation.js.map +1 -0
- package/dist/specification/src/ftfs/parser/model/visual-filters/index.d.ts +3 -0
- package/dist/specification/src/ftfs/parser/model/visual-filters/index.d.ts.map +1 -0
- package/dist/specification/src/ftfs/parser/model/visual-filters/index.js +19 -0
- package/dist/specification/src/ftfs/parser/model/visual-filters/index.js.map +1 -0
- package/dist/specification/src/sync/common/dist_tag.json +17 -18
- package/dist/specification/src/sync/common/i18n.json +17 -3
- package/dist/specification/src/sync/common/utils.d.ts +25 -0
- package/dist/specification/src/sync/common/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/common/utils.js +55 -0
- package/dist/specification/src/sync/common/utils.js.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/export/exportPageGeneric.js +1 -10
- package/dist/specification/src/sync/v2/export/exportPageGeneric.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.map +1 -1
- package/dist/specification/src/sync/v2/generate/manifestPropertyUtils.d.ts +1 -2
- package/dist/specification/src/sync/v2/generate/manifestPropertyUtils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.d.ts +1 -1
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.js +6 -18
- package/dist/specification/src/sync/v2/generate/schemaAdaptation.js.map +1 -1
- package/dist/specification/src/sync/v2/generate/stableIdUtils.d.ts +48 -0
- package/dist/specification/src/sync/v2/generate/stableIdUtils.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/generate/stableIdUtils.js +180 -0
- package/dist/specification/src/sync/v2/generate/stableIdUtils.js.map +1 -0
- package/dist/specification/src/sync/v2/generate/utils.d.ts +70 -2
- package/dist/specification/src/sync/v2/generate/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/generate/utils.js +207 -7
- package/dist/specification/src/sync/v2/generate/utils.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Action.d.ts +57 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Action.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Action.js +194 -4
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Action.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/FilterBar.js +3 -2
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/FilterBar.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiTable.d.ts +78 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiTable.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiTable.js +454 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/MultiTable.js.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts +53 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.d.ts.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js +149 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/Table.js.map +1 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.d.ts +2 -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 +2 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/controls/index.js.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.d.ts +10 -0
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.js +90 -7
- package/dist/specification/src/sync/v2/genericSchemaHandling/pages/ListReportNew.js.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/overviewPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/import/pages/overviewPage.js +36 -20
- package/dist/specification/src/sync/v2/import/pages/overviewPage.js.map +1 -1
- package/dist/specification/src/sync/v2/utils.d.ts +7 -0
- package/dist/specification/src/sync/v2/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v2/utils.js +10 -0
- package/dist/specification/src/sync/v2/utils.js.map +1 -1
- package/dist/specification/src/sync/v4/export/manifest.js +1 -1
- package/dist/specification/src/sync/v4/export/manifest.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/listReport.js +75 -8
- package/dist/specification/src/sync/v4/generate/listReport.js.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/generate/objectPage.js +81 -32
- package/dist/specification/src/sync/v4/generate/objectPage.js.map +1 -1
- package/dist/specification/src/sync/v4/import/app/appProvider.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/app/appProvider.js +3 -0
- package/dist/specification/src/sync/v4/import/app/appProvider.js.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/listReport.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/import/pages/listReport.js +3 -1
- package/dist/specification/src/sync/v4/import/pages/listReport.js.map +1 -1
- package/dist/specification/src/sync/v4/utils/utils.d.ts +34 -1
- package/dist/specification/src/sync/v4/utils/utils.d.ts.map +1 -1
- package/dist/specification/src/sync/v4/utils/utils.js +95 -0
- package/dist/specification/src/sync/v4/utils/utils.js.map +1 -1
- package/dist/types/src/apiTypes.d.ts +22 -0
- package/dist/types/src/apiTypes.d.ts.map +1 -1
- package/dist/types/src/apiTypes.js.map +1 -1
- package/dist/types/src/common/types.d.ts +1 -0
- package/dist/types/src/common/types.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/index.js +2 -1
- package/dist/types/src/index.js.map +1 -1
- package/dist/types/src/parser/application.d.ts +22 -0
- package/dist/types/src/parser/application.d.ts.map +1 -0
- package/dist/types/src/parser/application.js +3 -0
- package/dist/types/src/parser/application.js.map +1 -0
- package/dist/types/src/parser/index.d.ts +3 -0
- package/dist/types/src/parser/index.d.ts.map +1 -0
- package/dist/types/src/parser/index.js +18 -0
- package/dist/types/src/parser/index.js.map +1 -0
- package/dist/types/src/parser/model.d.ts +17 -0
- package/dist/types/src/parser/model.d.ts.map +1 -0
- package/dist/types/src/parser/model.js +3 -0
- package/dist/types/src/parser/model.js.map +1 -0
- package/package.json +9 -8
- package/dist/specification/src/ftfs/annotations.d.ts +0 -12
- package/dist/specification/src/ftfs/annotations.d.ts.map +0 -1
- package/dist/specification/src/ftfs/annotations.js +0 -50
- package/dist/specification/src/ftfs/annotations.js.map +0 -1
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @file This file contains the classes implementing the interfaces defined in the corresponding types file.
|
|
4
|
+
*/
|
|
2
5
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
6
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
7
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -6,12 +9,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
9
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
10
|
};
|
|
8
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.Share = void 0;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
*/
|
|
12
|
+
exports.Toolbar = exports.Actions = exports.Action = exports.Share = void 0;
|
|
13
|
+
exports.getControlId4ActionInfo = getControlId4ActionInfo;
|
|
14
|
+
exports.adaptProcessingRuleForToolbar = adaptProcessingRuleForToolbar;
|
|
13
15
|
const decoration_1 = require("../../../common/decoration");
|
|
16
|
+
const common_1 = require("../../../common");
|
|
14
17
|
const ux_specification_types_1 = require("@sap/ux-specification-types");
|
|
18
|
+
const utils_1 = require("../../generate/utils");
|
|
19
|
+
const stableIdUtils_1 = require("../../generate/stableIdUtils");
|
|
15
20
|
class Share {
|
|
16
21
|
}
|
|
17
22
|
exports.Share = Share;
|
|
@@ -26,4 +31,189 @@ __decorate([
|
|
|
26
31
|
}
|
|
27
32
|
})
|
|
28
33
|
], Share.prototype, "visible", void 0);
|
|
34
|
+
/**
|
|
35
|
+
* Common syncRule for all properties of an action, since they all have artifactType FlexChange and all belong to the same control.
|
|
36
|
+
*/
|
|
37
|
+
const syncRuleForAction = {
|
|
38
|
+
flex: {
|
|
39
|
+
controlType: () => ux_specification_types_1.ControlType.Button,
|
|
40
|
+
createFlexChange: decoration_1.exportToFlexChange
|
|
41
|
+
},
|
|
42
|
+
processingRuleAdapter(processingRule, schemaHandlingParams) {
|
|
43
|
+
const actionDetail = schemaHandlingParams.specificParams;
|
|
44
|
+
if (actionDetail.controlId) {
|
|
45
|
+
processingRule.controlId = actionDetail.controlId;
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
delete processingRule.element; // properties of an action without stable id cannot be modified by flex changes
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
// Action
|
|
53
|
+
// An instance of this class represents one action residing in one toolbar or a column.
|
|
54
|
+
// Its processingRuleAdapter function relies on the fact that an instance of ActionInfo
|
|
55
|
+
// is provided in schemaHandlingParams.specificParams providing more details on the action.
|
|
56
|
+
// Note that all properties of an action have ArtifactType 'FlexChange'. Thereby the control is always the button representing the action.
|
|
57
|
+
let Action = class Action {
|
|
58
|
+
};
|
|
59
|
+
exports.Action = Action;
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, decoration_1.syncRule)(syncRuleForAction)
|
|
62
|
+
], Action.prototype, "tooltip", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, decoration_1.syncRule)(syncRuleForAction)
|
|
65
|
+
], Action.prototype, "icon", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, decoration_1.syncRule)(syncRuleForAction)
|
|
68
|
+
], Action.prototype, "activeIcon", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, decoration_1.syncRule)(syncRuleForAction)
|
|
71
|
+
], Action.prototype, "type", void 0);
|
|
72
|
+
exports.Action = Action = __decorate([
|
|
73
|
+
(0, decoration_1.syncRule)({
|
|
74
|
+
processingRuleAdapter(processingRule, schemaHandlingParams) {
|
|
75
|
+
const actionInfo = schemaHandlingParams.specificParams;
|
|
76
|
+
const element = processingRule.element;
|
|
77
|
+
element[ux_specification_types_1.SchemaTag.isViewNode] = actionInfo.isViewNode;
|
|
78
|
+
if (actionInfo.action) {
|
|
79
|
+
element.description = actionInfo.dataField.description;
|
|
80
|
+
element[ux_specification_types_1.SchemaTag.keys] = [
|
|
81
|
+
{
|
|
82
|
+
name: 'Action',
|
|
83
|
+
value: actionInfo.action.Action
|
|
84
|
+
}
|
|
85
|
+
];
|
|
86
|
+
if (actionInfo.dataField.message) {
|
|
87
|
+
element[ux_specification_types_1.SchemaTag.messages] = [actionInfo.dataField.message];
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
// todo
|
|
92
|
+
}
|
|
93
|
+
const actionDetail = {
|
|
94
|
+
controlId: (0, stableIdUtils_1.getStableIdForDatafieldActionButton)(actionInfo)
|
|
95
|
+
};
|
|
96
|
+
processingRule.referenceAdaptation = {
|
|
97
|
+
specificParams: actionDetail
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
})
|
|
101
|
+
], Action);
|
|
102
|
+
/**
|
|
103
|
+
* This function returns the stable id of (the button realizing)an action.
|
|
104
|
+
* Up to now only implemented for annotations based actions.
|
|
105
|
+
*
|
|
106
|
+
* @param actionInfo - information about the action
|
|
107
|
+
* @returns the stable id of the button realizing the action. If no stable id can be generated for the button: undefined.
|
|
108
|
+
*/
|
|
109
|
+
function getControlId4ActionInfo(actionInfo) {
|
|
110
|
+
if (actionInfo.dataField) {
|
|
111
|
+
return (0, stableIdUtils_1.getStableIdForDatafieldActionButton)(actionInfo);
|
|
112
|
+
}
|
|
113
|
+
return 'todo'; // todo: handle standard buttons
|
|
114
|
+
}
|
|
115
|
+
// Actions
|
|
116
|
+
// An instance of this class represents a list of actions residing in one toolbar.
|
|
117
|
+
// Note that the list of properties to be used for this class is dynamic (depending on the list of actions valid for the current toolbar)
|
|
118
|
+
let Actions = class Actions {
|
|
119
|
+
};
|
|
120
|
+
exports.Actions = Actions;
|
|
121
|
+
exports.Actions = Actions = __decorate([
|
|
122
|
+
(0, decoration_1.syncRule)({
|
|
123
|
+
processingRuleAdapter(processingRule, schemaHandlingParams) {
|
|
124
|
+
const actionsInfo = schemaHandlingParams.specificParams;
|
|
125
|
+
const actionInfos = actionsInfo.actions;
|
|
126
|
+
const element = processingRule.element;
|
|
127
|
+
// Build the collection of properties for element based on the list of actions available (i.e. actionsInfo.actions)
|
|
128
|
+
const properties = {}; // Initialization
|
|
129
|
+
// In addition to the map property -> Definition which will be used as element.properties we need a ProcessingRulesAdapter
|
|
130
|
+
// that knows how to process each of of these properties.
|
|
131
|
+
// To achieve this we need to make the ActionInfo available for each of these properties. This is the purpose of actionInfoMap:
|
|
132
|
+
const actionInfoMap = {};
|
|
133
|
+
actionInfos.forEach(function (actionInfo, i) {
|
|
134
|
+
const propertyDefinition = {
|
|
135
|
+
$ref: common_1.DEFINITION_LINK_PREFIX + 'Action'
|
|
136
|
+
};
|
|
137
|
+
propertyDefinition[ux_specification_types_1.SchemaTag.propertyIndex] = i;
|
|
138
|
+
const property = getControlId4ActionInfo(actionInfo);
|
|
139
|
+
properties[property] = propertyDefinition;
|
|
140
|
+
actionInfoMap[property] = actionInfo;
|
|
141
|
+
});
|
|
142
|
+
element.properties = properties;
|
|
143
|
+
element.additionalProperties = false;
|
|
144
|
+
element[ux_specification_types_1.SchemaTag.icon] = 'Export'; // do not use member of enum UiIcons in @sap-ux/ui-components to avoid unwanted dependency
|
|
145
|
+
const processingRulesAdapter = function (property, processingRule) {
|
|
146
|
+
const actionInfo = actionInfoMap[property];
|
|
147
|
+
// Forward the handling of the property to class Action:
|
|
148
|
+
processingRule.referenceAdaptation = {
|
|
149
|
+
suffix: (0, common_1.prepareRef)(property), // ensure that a specific copy of type Action will be created in the specific schema
|
|
150
|
+
syncRuleProvider: Action,
|
|
151
|
+
specificParams: actionInfo
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
processingRule.referenceAdaptation = {
|
|
155
|
+
processingRulesAdapter
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
})
|
|
159
|
+
], Actions);
|
|
160
|
+
class Toolbar {
|
|
161
|
+
}
|
|
162
|
+
exports.Toolbar = Toolbar;
|
|
163
|
+
__decorate([
|
|
164
|
+
(0, decoration_1.syncRule)({
|
|
165
|
+
processingRuleAdapter(processingRule, schemaHandlingParams) {
|
|
166
|
+
const toolbarInfo = schemaHandlingParams.specificParams;
|
|
167
|
+
const actionsInfo = {
|
|
168
|
+
actions: toolbarInfo.dataFields.map(function (dataFieldInfo) {
|
|
169
|
+
// All data fields which are placed in a toolbar are instances of DataFieldForActionAbstractTypes which justifies the following type cast
|
|
170
|
+
const action = dataFieldInfo.dataField;
|
|
171
|
+
return {
|
|
172
|
+
dataField: dataFieldInfo,
|
|
173
|
+
action,
|
|
174
|
+
isDetermining: toolbarInfo.target === utils_1.DataFieldTarget.Footer,
|
|
175
|
+
isChart: toolbarInfo.isChart,
|
|
176
|
+
iconTabFilterKey: toolbarInfo.iconTabFilterKey,
|
|
177
|
+
isViewNode: true
|
|
178
|
+
};
|
|
179
|
+
})
|
|
180
|
+
};
|
|
181
|
+
processingRule.referenceAdaptation = {
|
|
182
|
+
suffix: toolbarInfo.target + (0, stableIdUtils_1.getSuffixFromIconTabFilterKey)(toolbarInfo.iconTabFilterKey),
|
|
183
|
+
syncRuleProvider: Actions,
|
|
184
|
+
specificParams: actionsInfo
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
})
|
|
188
|
+
], Toolbar.prototype, "actions", void 0);
|
|
189
|
+
/**
|
|
190
|
+
* Helper function to be used in the processingRuleAdapter of a node possessing a child node of type Toolbar.
|
|
191
|
+
*
|
|
192
|
+
* @param processingRule - the processingRule to be adapted
|
|
193
|
+
* @param target - location of the toolbar
|
|
194
|
+
* @param dataFieldInfos - List of data fields contributing to the toolbar
|
|
195
|
+
* @param isChart - Is the toolbar shown as a chart toolbar
|
|
196
|
+
* @param iconTabFilterKey - Key identifying the view in multi-view case
|
|
197
|
+
*/
|
|
198
|
+
function adaptProcessingRuleForToolbar(processingRule, target, dataFieldInfos, isChart, iconTabFilterKey) {
|
|
199
|
+
if (isChart || !dataFieldInfos) {
|
|
200
|
+
delete processingRule.element; // no toolbar
|
|
201
|
+
return; // todo: How can the toolbar of a chart be determined?
|
|
202
|
+
}
|
|
203
|
+
// Determine the data fields which contribute to the specified toolbar
|
|
204
|
+
const actionFields = dataFieldInfos.filter(function (datafieldInfo) {
|
|
205
|
+
return datafieldInfo.target === target;
|
|
206
|
+
});
|
|
207
|
+
const toolBarInfo = {
|
|
208
|
+
dataFields: actionFields,
|
|
209
|
+
target,
|
|
210
|
+
isChart,
|
|
211
|
+
iconTabFilterKey
|
|
212
|
+
};
|
|
213
|
+
processingRule.referenceAdaptation = {
|
|
214
|
+
suffix: target + (0, stableIdUtils_1.getSuffixFromIconTabFilterKey)(toolBarInfo.iconTabFilterKey), // ensure that a specific type is created for this toolbar
|
|
215
|
+
specificParams: toolBarInfo,
|
|
216
|
+
syncRuleProvider: Toolbar
|
|
217
|
+
};
|
|
218
|
+
}
|
|
29
219
|
//# sourceMappingURL=Action.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../../../../../src/sync/v2/genericSchemaHandling/controls/Action.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../../../../../src/sync/v2/genericSchemaHandling/controls/Action.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;AA8IH,0DAKC;AA2GD,sEA0BC;AAtRD,2DAA0E;AAC1E,4CAAqE;AACrE,wEAAqE;AAKrE,gDAAuD;AAEvD,gEAAkH;AAElH,MAAa,KAA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;QACxB,MAAM;QACN,OAAO;QACP,gBAAgB;KACnB,CAAC;IACF,cAAc,CAAC,mBAAmB,GAAG;QACjC,MAAM,EAAE,MAAM,GAAG,IAAA,6CAA6B,EAAC,WAAW,CAAC,gBAAgB,CAAC,EAAE,0DAA0D;QACxI,cAAc,EAAE,WAAW;QAC3B,gBAAgB,EAAE,OAAO;KAC5B,CAAC;AACN,CAAC"}
|
|
@@ -43,7 +43,7 @@ const syncRuleForFlexSmartFilterBar = {
|
|
|
43
43
|
*/
|
|
44
44
|
function getSyncRuleForDateRangeProperty(property) {
|
|
45
45
|
return (0, manifestPropertyUtils_1.getSyncRuleForManifestProperty)(property,
|
|
46
|
-
// analyze
|
|
46
|
+
// analyze:
|
|
47
47
|
function (element, schemaHandlingParams) {
|
|
48
48
|
// As described in the syncRule of the dateSettings property of class CommonFilterBar below,
|
|
49
49
|
// we currently enable the date range properties unconditionally, since the exact condition when the filter bar contains a potential date range field is not yet implemented.
|
|
@@ -59,7 +59,8 @@ function getSyncRuleForDateRangeProperty(property) {
|
|
|
59
59
|
// disallowedReason,
|
|
60
60
|
manifestPath
|
|
61
61
|
};
|
|
62
|
-
}
|
|
62
|
+
} // analyze
|
|
63
|
+
);
|
|
63
64
|
}
|
|
64
65
|
class DateRange {
|
|
65
66
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterBar.js","sourceRoot":"","sources":["../../../../../../../src/sync/v2/genericSchemaHandling/controls/FilterBar.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;AAOH,wEAAoF;AAQpF,4CAMyB;AACzB,2DAAuG;AAGvG,uCAAuF;AAEvF,gFAG8C;AAE9C;;GAEG;AACH,MAAM,iBAAiB,GAAwB;IAC3C,KAAK,EAAE,QAAQ;CAClB,CAAC;AAiDF,mEAAmE;AAEnE;;GAEG;AACH,MAAM,6BAA6B,GAAG;IAClC,IAAI,EAAE;QACF,WAAW,EAAE,GAAgB,EAAE,CAAC,oCAAW,CAAC,cAAc;QAC1D,gBAAgB,EAAE,+BAAkB;KACvC;IACD,qBAAqB,CAAC,cAA8B;QAChD,cAAc,CAAC,SAAS,GAAG,kBAAkB,CAAC;IAClD,CAAC;CACJ,CAAC;AAEF;;;;;;GAMG;AACH,SAAS,+BAA+B,CAAC,QAAgB;IACrD,OAAO,IAAA,sDAA8B,EACjC,QAAQ;IACR,
|
|
1
|
+
{"version":3,"file":"FilterBar.js","sourceRoot":"","sources":["../../../../../../../src/sync/v2/genericSchemaHandling/controls/FilterBar.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;AAOH,wEAAoF;AAQpF,4CAMyB;AACzB,2DAAuG;AAGvG,uCAAuF;AAEvF,gFAG8C;AAE9C;;GAEG;AACH,MAAM,iBAAiB,GAAwB;IAC3C,KAAK,EAAE,QAAQ;CAClB,CAAC;AAiDF,mEAAmE;AAEnE;;GAEG;AACH,MAAM,6BAA6B,GAAG;IAClC,IAAI,EAAE;QACF,WAAW,EAAE,GAAgB,EAAE,CAAC,oCAAW,CAAC,cAAc;QAC1D,gBAAgB,EAAE,+BAAkB;KACvC;IACD,qBAAqB,CAAC,cAA8B;QAChD,cAAc,CAAC,SAAS,GAAG,kBAAkB,CAAC;IAClD,CAAC;CACJ,CAAC;AAEF;;;;;;GAMG;AACH,SAAS,+BAA+B,CAAC,QAAgB;IACrD,OAAO,IAAA,sDAA8B,EACjC,QAAQ;IACR,WAAW;IACX,UAAU,OAAmB,EAAE,oBAA0C;QACrE,4FAA4F;QAC5F,6KAA6K;QAC7K,yDAAyD;QACzD;;qHAE6G;QAC7G,MAAM,YAAY,GAAG,IAAA,qCAA6B,EAAC,oBAAoB,CAAC,QAAQ,CAAC,QAAQ,EAAE;YACvF,gBAAgB;YAChB,cAAc;SACjB,CAAC,CAAC;QACH,OAAO;YACH,mCAAmC;YACnC,YAAY;SACf,CAAC;IACN,CAAC,CAAC,UAAU;KACf,CAAC;AACN,CAAC;AAED,MAAa,SAAS;CAYrB;AAZD,8BA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CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;oBACrC,KAAK,EAAE,cAAc;oBACrB,QAAQ;oBACR,kBAAkB;oBAClB,QAAQ,EAAE,CAAC;iBACd,CAAC;YACN,CAAC,CAAC,CAAC;YACH,MAAM,cAAc,GAAkB;gBAClC,UAAU,EAAE,QAAQ,CAAC,UAAU;gBAC/B,gBAAgB;gBAChB,2BAA2B;aAC9B,CAAC;YACF,cAAc,CAAC,mBAAmB,GAAG;gBACjC,cAAc;aACjB,CAAC;QACN,CAAC;KACJ,CAAC;GACW,mBAAmB,CAwB/B"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file This file is a helper class for its sibling class Table.ts. It provides the logic needed to support the multi-view multi-table scenario (in LR and ALP).
|
|
3
|
+
*/
|
|
4
|
+
import type * as Edm from '@sap-ux/vocabularies-types/Edm';
|
|
5
|
+
import type { SyncRule } from '@sap/ux-specification-types';
|
|
6
|
+
import * as v2 from '@sap/ux-specification-types/src/v2/genericSchemaHandling/controls/Table';
|
|
7
|
+
import { type LineItemInfo } from '../../generate/utils';
|
|
8
|
+
/**
|
|
9
|
+
* This type is used to collect information about the usage of different table types in multi-view multi-table scenarios.
|
|
10
|
+
*
|
|
11
|
+
* @property responsive - number of views using responsive table
|
|
12
|
+
* @property nonResponsive - number of views using non-responsive table
|
|
13
|
+
*/
|
|
14
|
+
export type TableTypeUsage = {
|
|
15
|
+
responsive: number;
|
|
16
|
+
nonResponsive: number;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* An instance of this type represents one view in a multi-view multi-table page.
|
|
20
|
+
* The instances are created in function getVariantInfo.
|
|
21
|
+
*
|
|
22
|
+
* @property accessor - the property name in manifest which is used to address the variant
|
|
23
|
+
* @property iconTabFilterKey - escaped version of the key in variantDefinition
|
|
24
|
+
* @property variantDefinition - the definition of the view from the manifest
|
|
25
|
+
* @property isChart - is this view a chart?
|
|
26
|
+
* @property tableType - the table type which will be used for this view (if it is not a chart). Todo: Can we use type TableTypeV2Enum here?
|
|
27
|
+
* @property smartControlId - the control id of the smart control representing this view
|
|
28
|
+
* @property description - human readable description of this view
|
|
29
|
+
* @property lineItemInfo - the line item this table is built on
|
|
30
|
+
* @property entitySetDefinition - definition of the entity set shown by this view
|
|
31
|
+
* @property entityTypeDefinition - definition of the entity type for the entity set
|
|
32
|
+
*/
|
|
33
|
+
export type VariantInfo = {
|
|
34
|
+
accessor: string;
|
|
35
|
+
iconTabFilterKey: string;
|
|
36
|
+
variantDefinition: object;
|
|
37
|
+
isChart: boolean;
|
|
38
|
+
tableType?: v2.TableTypeV2Enum;
|
|
39
|
+
smartControlId: string;
|
|
40
|
+
description: string;
|
|
41
|
+
lineItemInfo?: LineItemInfo;
|
|
42
|
+
entitySetDefinition?: Edm.EntitySet;
|
|
43
|
+
entityTypeDefinition?: Edm.EntityType;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Instances of this type are used when dealing with multi-view multi-table pages.
|
|
47
|
+
* In that scenario they are used for two purposes:
|
|
48
|
+
* a) One instance represents the general settings defined for all views (created in function processingRuleAdapter for property table of class ListReportNew and enhanced later).
|
|
49
|
+
* b) For each view there is one instance representing it. This is also true if the view actually displays a chart (which will be considered as a 'special table' in this context).
|
|
50
|
+
* These instances are created in the processingRuleAdapter of class MultiViewsVariants.
|
|
51
|
+
*
|
|
52
|
+
* @property variantInfo - undefined in scenario a). In scenario b) it contains information about the view represented.
|
|
53
|
+
* @property possibleEntitySets - has identical values for all instances used in a multi-view multi-table page. Contains the list of all entity sets that can be used for a view.
|
|
54
|
+
* @property usedTableTypes - has identical values for all instances used in a multi-view multi-table page. Contains the information which table type is currently used how often.
|
|
55
|
+
*/
|
|
56
|
+
export type MultiTableInfo = {
|
|
57
|
+
variantInfo?: VariantInfo;
|
|
58
|
+
possibleEntitySets?: string[];
|
|
59
|
+
usedTableTypes: TableTypeUsage;
|
|
60
|
+
};
|
|
61
|
+
export declare class MultiViewsVariants implements v2.MultiViewsVariants {
|
|
62
|
+
[key: string]: v2.Table;
|
|
63
|
+
}
|
|
64
|
+
export declare class MultiViewsDefinition implements v2.MultiViewsDefinition {
|
|
65
|
+
enableAutoBinding?: boolean;
|
|
66
|
+
showCounts?: boolean;
|
|
67
|
+
variants: {
|
|
68
|
+
[key: string]: v2.MultiViewsVariants;
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Expose SyncRules for those properties of class Table that are only relevant in the multi-view multi-table scenario.
|
|
73
|
+
*
|
|
74
|
+
* @param property - name of the property
|
|
75
|
+
* @returns the SyncRule for the given property (if the property is relevant in multi-view multi-table scenario), undefined otherwise
|
|
76
|
+
*/
|
|
77
|
+
export declare function getSyncRuleForMultiTableManifestProperty(property: string): SyncRule | undefined;
|
|
78
|
+
//# sourceMappingURL=MultiTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultiTable.d.ts","sourceRoot":"","sources":["../../../../../../../src/sync/v2/genericSchemaHandling/controls/MultiTable.ts"],"names":[],"mappings":"AAAA;;GAEG;AAMH,OAAO,KAAK,KAAK,GAAG,MAAM,gCAAgC,CAAC;AAG3D,OAAO,KAAK,EAKR,QAAQ,EACX,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,MAAM,yEAAyE,CAAC;AAI9F,OAAO,EAGH,KAAK,YAAY,EACpB,MAAM,sBAAsB,CAAC;AAgB9B;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,EAAE,CA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