@sap/open.fe 1.98.0 → 1.99.0
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/package.json +1 -1
- package/packages/sap.fe.common/src/sap/fe/common/.library +1 -1
- package/packages/sap.fe.common/src/sap/fe/common/.theming +1 -1
- package/packages/sap.fe.common/src/sap/fe/common/MessageButton-dbg.js +10 -8
- package/packages/sap.fe.common/src/sap/fe/common/MessageButton.js +1 -1
- package/packages/sap.fe.common/src/sap/fe/common/library-dbg.js +1 -1
- package/packages/sap.fe.common/src/sap/fe/common/library-h2-preload.js +2 -2
- package/packages/sap.fe.common/src/sap/fe/common/library-preload.js +3 -3
- package/packages/sap.fe.common/src/sap/fe/common/library-preload.js.map +3 -3
- package/packages/sap.fe.common/src/sap/fe/common/library.js +1 -1
- package/packages/sap.fe.common/src/sap/fe/common/manifest.json +3 -3
- package/packages/sap.fe.common/src/sap/fe/common/resources.json +4 -4
- package/packages/sap.fe.common/test/sap/fe/common/designtime/api.json +1 -1
- package/packages/sap.fe.common/test/sap/fe/common/designtime/apiref/api.json +1 -1
- package/packages/sap.fe.common/test/sap/fe/common/designtime/codeassistance/Library.xmlmeta.json +1 -1
- package/packages/sap.fe.common/test/sap/fe/common/relnotes/changes-1.99.json +18 -0
- package/packages/sap.fe.core/src/sap/fe/core/.library +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/.theming +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/AnnotationHelper-dbg.js +376 -405
- package/packages/sap.fe.core/src/sap/fe/core/AnnotationHelper.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/AnnotationHelper.ts +385 -0
- package/packages/sap.fe.core/src/sap/fe/core/AppStateHandler-dbg.js +228 -181
- package/packages/sap.fe.core/src/sap/fe/core/AppStateHandler.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/AppStateHandler.ts +171 -0
- package/packages/sap.fe.core/src/sap/fe/core/BusyLocker-dbg.js +104 -121
- package/packages/sap.fe.core/src/sap/fe/core/BusyLocker.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/BusyLocker.ts +98 -0
- package/packages/sap.fe.core/src/sap/fe/core/CommonUtils-dbg.js +2072 -2399
- package/packages/sap.fe.core/src/sap/fe/core/CommonUtils.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/CommonUtils.ts +2078 -0
- package/packages/sap.fe.core/src/sap/fe/core/PageController-dbg.js +83 -125
- package/packages/sap.fe.core/src/sap/fe/core/PageController.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/PageController.ts +101 -0
- package/packages/sap.fe.core/src/sap/fe/core/RouterProxy-dbg.js +985 -823
- package/packages/sap.fe.core/src/sap/fe/core/RouterProxy.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/RouterProxy.ts +838 -0
- package/packages/sap.fe.core/src/sap/fe/core/Synchronization-dbg.js +50 -35
- package/packages/sap.fe.core/src/sap/fe/core/Synchronization.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/Synchronization.ts +29 -0
- package/packages/sap.fe.core/src/sap/fe/core/TemplateComponent-dbg.js +172 -164
- package/packages/sap.fe.core/src/sap/fe/core/TemplateComponent.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/TemplateComponent.ts +166 -0
- package/packages/sap.fe.core/src/sap/fe/core/TemplateModel-dbg.js +96 -54
- package/packages/sap.fe.core/src/sap/fe/core/TemplateModel.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/TemplateModel.ts +63 -0
- package/packages/sap.fe.core/src/sap/fe/core/TransactionHelper-dbg.js +1575 -1664
- package/packages/sap.fe.core/src/sap/fe/core/TransactionHelper.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/TransactionHelper.ts +1706 -0
- package/packages/sap.fe.core/src/sap/fe/core/actions/draft-dbg.js +558 -608
- package/packages/sap.fe.core/src/sap/fe/core/actions/draft.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/actions/draft.ts +593 -0
- package/packages/sap.fe.core/src/sap/fe/core/actions/messageHandling-dbg.js +544 -514
- package/packages/sap.fe.core/src/sap/fe/core/actions/messageHandling.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/actions/messageHandling.ts +532 -0
- package/packages/sap.fe.core/src/sap/fe/core/actions/nonDraft-dbg.js +16 -19
- package/packages/sap.fe.core/src/sap/fe/core/actions/nonDraft.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/actions/nonDraft.ts +12 -0
- package/packages/sap.fe.core/src/sap/fe/core/actions/operations-dbg.js +1073 -1215
- package/packages/sap.fe.core/src/sap/fe/core/actions/operations.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/actions/operations.ts +1162 -0
- package/packages/sap.fe.core/src/sap/fe/core/actions/sticky-dbg.js +101 -105
- package/packages/sap.fe.core/src/sap/fe/core/actions/sticky.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/actions/sticky.ts +102 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/EditFlow-dbg.js +51 -209
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/EditFlow.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalEditFlow-dbg.js +276 -9
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalEditFlow.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation-dbg.js +5 -4
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalRouting-dbg.js +44 -43
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalRouting.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/KPIManagement-dbg.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/KPIManagement.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/KPIManagement.ts +29 -26
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/MassEdit-dbg.js +98 -6
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/MassEdit.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/MessageHandler-dbg.js +14 -6
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/MessageHandler.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/PageReady-dbg.js +2 -2
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/PageReady.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/PageReady.ts +12 -8
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Routing-dbg.js +6 -2
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Routing.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/SideEffects-dbg.js +3 -3
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/SideEffects.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/SideEffects.ts +18 -18
- package/packages/sap.fe.core/src/sap/fe/core/controls/FieldWrapper-dbg.js +8 -20
- package/packages/sap.fe.core/src/sap/fe/core/controls/FieldWrapper.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/controls/NonComputedVisibleKeyFieldsDialog.fragment.xml +1 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar/VisualFilter-dbg.js +2 -2
- package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar/VisualFilter.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/ConverterContext-dbg.js +2 -2
- package/packages/sap.fe.core/src/sap/fe/core/converters/ConverterContext.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/ConverterContext.ts +4 -3
- package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestSettings-dbg.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestSettings.ts +1 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestWrapper-dbg.js +39 -26
- package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestWrapper.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestWrapper.ts +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/MetaModelConverter-dbg.js +11 -8
- package/packages/sap.fe.core/src/sap/fe/core/converters/MetaModelConverter.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/MetaModelConverter.ts +16 -16
- package/packages/sap.fe.core/src/sap/fe/core/converters/TemplateConverter-dbg.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/TemplateConverter.ts +2 -2
- package/packages/sap.fe.core/src/sap/fe/core/converters/common/AnnotationConverter-dbg.js +17 -13
- package/packages/sap.fe.core/src/sap/fe/core/converters/common/AnnotationConverter.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Action-dbg.js +2 -2
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Action.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Action.ts +2 -2
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Chart-dbg.js +5 -3
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Chart.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Chart.ts +11 -3
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/DataVisualization-dbg.js +3 -3
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/DataVisualization.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/DataVisualization.ts +2 -2
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Form-dbg.js +4 -2
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Form.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Form.ts +16 -2
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Table-dbg.js +250 -146
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Table.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Table.ts +300 -167
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/table/StandardActions-dbg.js +115 -56
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/table/StandardActions.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/table/StandardActions.ts +120 -74
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/FilterBar-dbg.js +467 -32
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/FilterBar.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/FilterBar.ts +483 -54
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ObjectPage/SubSection-dbg.js +6 -6
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ObjectPage/SubSection.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ObjectPage/SubSection.ts +9 -15
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/Aggregation-dbg.js +13 -5
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/Aggregation.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/Aggregation.ts +20 -5
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/IssueManager-dbg.js +4 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/IssueManager.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/IssueManager.ts +3 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/objectPage/HeaderAndFooterAction-dbg.js +4 -4
- package/packages/sap.fe.core/src/sap/fe/core/converters/objectPage/HeaderAndFooterAction.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/objectPage/HeaderAndFooterAction.ts +3 -3
- package/packages/sap.fe.core/src/sap/fe/core/converters/templates/ListReportConverter-dbg.js +13 -6
- package/packages/sap.fe.core/src/sap/fe/core/converters/templates/ListReportConverter.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/converters/templates/ListReportConverter.ts +26 -15
- package/packages/sap.fe.core/src/sap/fe/core/formatters/CriticalityFormatter-dbg.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/formatters/CriticalityFormatter.ts +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/formatters/FPMFormatter-dbg.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/formatters/FPMFormatter.ts +4 -10
- package/packages/sap.fe.core/src/sap/fe/core/formatters/KPIFormatter-dbg.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/formatters/KPIFormatter.ts +3 -1
- package/packages/sap.fe.core/src/sap/fe/core/formatters/TableFormatter-dbg.js +39 -28
- package/packages/sap.fe.core/src/sap/fe/core/formatters/TableFormatter.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/formatters/TableFormatter.ts +43 -28
- package/packages/sap.fe.core/src/sap/fe/core/formatters/ValueFormatter-dbg.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/formatters/ValueFormatter.ts +7 -6
- package/packages/sap.fe.core/src/sap/fe/core/fpm/manifest.json +2 -2
- package/packages/sap.fe.core/src/sap/fe/core/helpers/AppStartupHelper-dbg.js +2 -2
- package/packages/sap.fe.core/src/sap/fe/core/helpers/AppStartupHelper.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/helpers/AppStartupHelper.ts +7 -4
- package/packages/sap.fe.core/src/sap/fe/core/helpers/BindingExpression-dbg.js +314 -355
- package/packages/sap.fe.core/src/sap/fe/core/helpers/BindingExpression.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/helpers/BindingExpression.ts +317 -391
- package/packages/sap.fe.core/src/sap/fe/core/helpers/ClassSupport-dbg.js +27 -15
- package/packages/sap.fe.core/src/sap/fe/core/helpers/ClassSupport.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/helpers/ClassSupport.ts +31 -20
- package/packages/sap.fe.core/src/sap/fe/core/helpers/DynamicAnnotationPathHelper-dbg.js +62 -59
- package/packages/sap.fe.core/src/sap/fe/core/helpers/DynamicAnnotationPathHelper.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/helpers/DynamicAnnotationPathHelper.ts +56 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/EditState-dbg.js +80 -84
- package/packages/sap.fe.core/src/sap/fe/core/helpers/EditState.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/helpers/EditState.ts +81 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/ExcelFormatHelper-dbg.js +61 -48
- package/packages/sap.fe.core/src/sap/fe/core/helpers/ExcelFormatHelper.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/helpers/ExcelFormatHelper.ts +49 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/FPMHelper-dbg.js +51 -56
- package/packages/sap.fe.core/src/sap/fe/core/helpers/FPMHelper.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/helpers/FPMHelper.ts +62 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/KeepAliveHelper-dbg.js +3 -4
- package/packages/sap.fe.core/src/sap/fe/core/helpers/KeepAliveHelper.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/helpers/KeepAliveHelper.ts +9 -9
- package/packages/sap.fe.core/src/sap/fe/core/helpers/MassEditHelper-dbg.js +24 -16
- package/packages/sap.fe.core/src/sap/fe/core/helpers/MassEditHelper.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/helpers/ModelHelper-dbg.js +228 -225
- package/packages/sap.fe.core/src/sap/fe/core/helpers/ModelHelper.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/helpers/ModelHelper.ts +227 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/PasteHelper-dbg.js +209 -132
- package/packages/sap.fe.core/src/sap/fe/core/helpers/PasteHelper.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/helpers/PasteHelper.ts +196 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/SemanticDateOperators-dbg.js +331 -313
- package/packages/sap.fe.core/src/sap/fe/core/helpers/SemanticDateOperators.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/helpers/SemanticDateOperators.ts +330 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/SemanticKeyHelper-dbg.js +65 -67
- package/packages/sap.fe.core/src/sap/fe/core/helpers/SemanticKeyHelper.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/helpers/SemanticKeyHelper.ts +73 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/StableIdHelper-dbg.js +1 -5
- package/packages/sap.fe.core/src/sap/fe/core/helpers/StableIdHelper.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/helpers/StableIdHelper.ts +2 -6
- package/packages/sap.fe.core/src/sap/fe/core/jsx-runtime/jsx-dbg.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/jsx-runtime/jsx.ts +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/library-dbg.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/library-h2-preload.js +23 -26
- package/packages/sap.fe.core/src/sap/fe/core/library-h2-preload.js.map +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/library-preload.js +630 -649
- package/packages/sap.fe.core/src/sap/fe/core/library-preload.js.map +3 -3
- package/packages/sap.fe.core/src/sap/fe/core/library-preload.support.js +17 -5
- package/packages/sap.fe.core/src/sap/fe/core/library-preload.support.js.map +2 -2
- package/packages/sap.fe.core/src/sap/fe/core/library.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/manifest.json +10 -10
- package/packages/sap.fe.core/src/sap/fe/core/manifestMerger/ChangePageConfiguration-dbg.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/manifestMerger/ChangePageConfiguration.ts +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle.properties +23 -10
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ar.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_bg.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ca.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_cs.properties +10 -1
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_cy.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_da.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_de.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_el.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_GB.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_US_sappsd.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_US_saprigi.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_US_saptrc.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_es.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_es_MX.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_et.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_fi.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_fr.properties +13 -4
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_fr_CA.properties +15 -6
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_hi.properties +15 -6
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_hr.properties +15 -6
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_hu.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_id.properties +10 -1
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_it.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_iw.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ja.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_kk.properties +15 -6
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ko.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_lt.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_lv.properties +15 -6
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ms.properties +14 -5
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_nl.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_no.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_pl.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_pt.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_pt_PT.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ro.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ru.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sh.properties +11 -2
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sk.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sl.properties +15 -6
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sv.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_th.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_tr.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_uk.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_vi.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_zh_CN.properties +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_zh_TW.properties +15 -6
- package/packages/sap.fe.core/src/sap/fe/core/resources.json +427 -341
- package/packages/sap.fe.core/src/sap/fe/core/services/AsyncComponentServiceFactory-dbg.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/services/AsyncComponentServiceFactory.ts +3 -1
- package/packages/sap.fe.core/src/sap/fe/core/services/CacheHandlerServiceFactory-dbg.js +268 -202
- package/packages/sap.fe.core/src/sap/fe/core/services/CacheHandlerServiceFactory.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/services/CacheHandlerServiceFactory.ts +212 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/EnvironmentServiceFactory-dbg.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/services/EnvironmentServiceFactory.ts +7 -6
- package/packages/sap.fe.core/src/sap/fe/core/services/NavigationServiceFactory-dbg.js +405 -300
- package/packages/sap.fe.core/src/sap/fe/core/services/NavigationServiceFactory.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/services/NavigationServiceFactory.ts +316 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/ResourceModelServiceFactory-dbg.js +148 -81
- package/packages/sap.fe.core/src/sap/fe/core/services/ResourceModelServiceFactory.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/services/ResourceModelServiceFactory.ts +80 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/RoutingServiceFactory-dbg.js +986 -899
- package/packages/sap.fe.core/src/sap/fe/core/services/RoutingServiceFactory.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/services/RoutingServiceFactory.ts +898 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/ShellServicesFactory-dbg.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/services/ShellServicesFactory.ts +15 -10
- package/packages/sap.fe.core/src/sap/fe/core/services/SideEffectsServiceFactory-dbg.js +35 -81
- package/packages/sap.fe.core/src/sap/fe/core/services/SideEffectsServiceFactory.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/services/SideEffectsServiceFactory.ts +46 -94
- package/packages/sap.fe.core/src/sap/fe/core/services/TemplatedViewServiceFactory-dbg.js +460 -487
- package/packages/sap.fe.core/src/sap/fe/core/services/TemplatedViewServiceFactory.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/services/TemplatedViewServiceFactory.ts +453 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/view/TemplatingErrorPage-dbg.controller.js +9 -8
- package/packages/sap.fe.core/src/sap/fe/core/services/view/TemplatingErrorPage.controller.js +2 -3
- package/packages/sap.fe.core/src/sap/fe/core/services/view/TemplatingErrorPage.controller.ts +8 -0
- package/packages/sap.fe.core/src/sap/fe/core/support/AnnotationIssue.support.js +15 -3
- package/packages/sap.fe.core/src/sap/fe/core/support/AnnotationIssue.support.ts +16 -2
- package/packages/sap.fe.core/src/sap/fe/core/support/CollectionFacetUnsupportedLevel.support.js +2 -2
- package/packages/sap.fe.core/src/sap/fe/core/support/CollectionFacetUnsupportedLevel.support.ts +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/templating/FieldControlHelper-dbg.js +8 -8
- package/packages/sap.fe.core/src/sap/fe/core/templating/FieldControlHelper.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/templating/FieldControlHelper.ts +25 -7
- package/packages/sap.fe.core/src/sap/fe/core/templating/FilterHelper-dbg.js +138 -72
- package/packages/sap.fe.core/src/sap/fe/core/templating/FilterHelper.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/templating/FilterHelper.ts +139 -71
- package/packages/sap.fe.core/src/sap/fe/core/templating/UIFormatters-dbg.js +31 -1
- package/packages/sap.fe.core/src/sap/fe/core/templating/UIFormatters.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/templating/UIFormatters.ts +33 -2
- package/packages/sap.fe.core/src/sap/fe/core/type/Email-dbg.js +1 -1
- package/packages/sap.fe.core/src/sap/fe/core/type/Email.ts +4 -6
- package/packages/sap.fe.core/test/sap/fe/core/designtime/api.json +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/designtime/apiref/api.json +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/designtime/codeassistance/Library.jsmeta.json +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/designtime/codeassistance/Library.jstemplates.json +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/designtime/codeassistance/Library.xmlmeta.json +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/controls/FileEditor.js +15 -1
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/model/MacroNavigationModel.js +90 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/buildingBlockOverview.md +2 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/Component.js +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/chartFilterBar.controller.js +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/chartFilterBar.view.xml +22 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/localService/ChildEntity.json +686 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/localService/CreditLimitDetails.json +154 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/localService/RootEntity.json +252 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/localService/service.cds +141 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/localService/status.json +11 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartFilterBar/manifest.json +69 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chartFilterBar.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/FieldFormatOptions.view.xml +186 -122
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/localService/FieldFormatOptions.cds +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/localService/RootEntity.json +2 -1
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/localService/service.cds +15 -1
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarSVandAnnotationDefaults/localService/service.cds +36 -5
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/form/formSample/Component.js +33 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/form/formSample/FormSample.view.xml +10 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/form/formSample/localService/FormSample.cds +72 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/form/formSample/localService/RootEntity.json +13 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/form/formSample/manifest.json +68 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/formSample.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/EntryPage.controller.js +72 -43
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/EntryPage.controller.ts +90 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/guidance/guidanceFreestyle/EntryPage.view.xml +12 -3
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableCustoms/Page.controller.js +4 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableCustoms/Page.view.xml +9 -3
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableFilterBar/Component.js +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableFilterBar/TableFilterBar.controller.js +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableFilterBar/TableFilterBar.view.xml +11 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableFilterBar/localService/RootEntity.json +102 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableFilterBar/localService/ValueHelpEntity.js +11 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableFilterBar/localService/service.cds +94 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableFilterBar/manifest.json +79 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/tableFilterBar.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/AnnotationHelper.spec.js +694 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/AnnotationHelper.spec.ts +819 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/AppStateHandler.spec.js +51 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/AppStateHandler.spec.ts +40 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/BindingExpression-AnnotationExpression.spec.js +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/jest/BindingExpression-AnnotationExpression.spec.ts +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/jest/BindingExpression.spec.js +26 -15
- package/packages/sap.fe.core/test/sap/fe/core/jest/BindingExpression.spec.ts +28 -15
- package/packages/sap.fe.core/test/sap/fe/core/jest/CommonUtils.spec.ts +202 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/RouterProxy.spec.js +54 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/RouterProxy.spec.ts +35 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/TemplateConverter.spec.js +5 -11
- package/packages/sap.fe.core/test/sap/fe/core/jest/TemplateConverter.spec.ts +8 -8
- package/packages/sap.fe.core/test/sap/fe/core/jest/TransactionHelper.spec.js +736 -619
- package/packages/sap.fe.core/test/sap/fe/core/jest/TransactionHelper.spec.ts +703 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/__snapshots__/TemplateConverter.spec.ts.snap +89 -85
- package/packages/sap.fe.core/test/sap/fe/core/jest/actions/draft.spec.js +102 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/actions/draft.spec.ts +97 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/actions/messageHandling.spec.js +492 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/actions/messageHandling.spec.ts +509 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/actions/operations.spec.js +895 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/actions/operations.spec.ts +908 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/EditFlow.spec.js +209 -353
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/EditFlow.spec.ts +222 -362
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/InternalEditFlow.spec.js +508 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/InternalEditFlow.spec.ts +440 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/InternalRouting.spec.ts +90 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/KPIManagement.spec.js +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/KPIManagement.spec.ts +10 -10
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MassEdit.spec.js +286 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MassEdit.spec.ts +179 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MessageHandler.spec.js +200 -21
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MessageHandler.spec.ts +168 -17
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/Routing.spec.js +40 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/Routing.spec.ts +26 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/SideEffects.spec.js +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/SideEffects.spec.ts +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/jest/controls/FilterBar.spec.js +355 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/controls/FilterBar.spec.ts +287 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ConverterContext.spec.js +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ConverterContext.spec.ts +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/Filter.spec.js +542 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/Filter.spec.ts +588 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/HeaderFacet.spec.js +1 -2
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/HeaderFacet.spec.ts +1 -2
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ListReportConverter.spec.js +371 -7
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ListReportConverter.spec.ts +469 -6
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/MetaModelConverter.spec.js +2 -2
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/MetaModelConverter.spec.ts +2 -2
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ObjectPageAvatar.spec.js +2 -2
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ObjectPageAvatar.spec.ts +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/SubSection.spec.js +12 -8
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/SubSection.spec.ts +8 -7
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/Table.spec.js +436 -45
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/Table.spec.ts +565 -33
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/TableStandardActions.spec.js +136 -78
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/TableStandardActions.spec.ts +315 -199
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/__snapshots__/Filter.spec.ts.snap +307 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/__snapshots__/MetaModelConverter.spec.ts.snap +49 -1
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/__snapshots__/Table.spec.ts.snap +1 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/AnalyticalService.cds +51 -4
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/AnalyticalService2.cds +107 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/ComplexType.cds +39 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/Filter.cds +187 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/MassEditHelper.cds +226 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/SideEffects.cds +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/computedDefaultValueService.cds +99 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/formatters/TableFormatters.spec.js +25 -5
- package/packages/sap.fe.core/test/sap/fe/core/jest/formatters/TableFormatters.spec.ts +18 -7
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/AppStartupHelper.spec.js +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/AppStartupHelper.spec.ts +4 -2
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/DynamicAnnotationPathHelper.spec.js +40 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/DynamicAnnotationPathHelper.spec.ts +39 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/ExcelFormatHelper.spec.js +20 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/ExcelFormatHelper.spec.ts +13 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/KeepAliveHelper.spec.js +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/KeepAliveHelper.spec.ts +3 -3
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/MassEditHelper.spec.js +712 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/MassEditHelper.spec.ts +613 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/ModelHelper.spec.js +344 -225
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/ModelHelper.spec.ts +347 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/PasteHelper.spec.js +439 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/PasteHelper.spec.ts +378 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/SemanticDateOperators.spec.js +123 -0
- package/packages/sap.fe.core/test/sap/fe/core/{qunit/helpers/SemanticDateOperators.qunit.js → jest/helpers/SemanticDateOperators.spec.ts} +10 -21
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/SemanticKeyHelper.spec.js +215 -0
- package/packages/sap.fe.core/test/sap/fe/core/{qunit/helpers/SemanticKeyHelper.qunit.js → jest/helpers/SemanticKeyHelper.spec.ts} +58 -55
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/StableIdHelper.spec.js +125 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/StableIdHelper.spec.ts +142 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/helpers/__snapshots__/MassEditHelper.spec.ts.snap +263 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/services/CacheHandlerTest.spec.js +871 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/services/CacheHandlerTest.spec.ts +899 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/services/NavigationServiceFactory.spec.js +46 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/services/NavigationServiceFactory.spec.ts +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/services/RoutingServiceFactory.spec.js +120 -3
- package/packages/sap.fe.core/test/sap/fe/core/jest/services/RoutingServiceFactory.spec.ts +96 -7
- package/packages/sap.fe.core/test/sap/fe/core/jest/services/ShellServicesFactory.spec.js +86 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/services/ShellServicesFactory.spec.ts +72 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/services/SideEffectsService.spec.js +16 -44
- package/packages/sap.fe.core/test/sap/fe/core/jest/services/SideEffectsService.spec.ts +22 -60
- package/packages/sap.fe.core/test/sap/fe/core/jest/templating/PropertyHelper.spec.js +4 -4
- package/packages/sap.fe.core/test/sap/fe/core/jest/templating/PropertyHelper.spec.ts +9 -3
- package/packages/sap.fe.core/test/sap/fe/core/jest/type/ComplexType.spec.js +68 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/type/ComplexType.spec.ts +51 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/TemplatingExpressions.qunit.js +2 -2
- package/packages/sap.fe.core/test/sap/fe/core/qunit/apps/generalTests.json +0 -105
- package/packages/sap.fe.core/test/sap/fe/core/relnotes/changes-1.98.json +0 -11
- package/packages/sap.fe.core/test/sap/fe/core/relnotes/changes-1.99.json +534 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/.library +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/.theming +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/Chart.metadata-dbg.js +14 -5
- package/packages/sap.fe.macros/src/sap/fe/macros/Chart.metadata.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/ChartAPI-dbg.js +15 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/ChartAPI.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/ChartAPI.ts +9 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/ChartDelegate-dbg.js +37 -3
- package/packages/sap.fe.macros/src/sap/fe/macros/ChartDelegate.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/CommonHelper-dbg.js +27 -2
- package/packages/sap.fe.macros/src/sap/fe/macros/CommonHelper.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/Field.fragment.xml +4 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Field.metadata-dbg.js +17 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/Field.metadata.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/Field.metadata.ts +17 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/FieldAPI-dbg.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/FieldAPI.ts +35 -9
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBar.fragment.xml +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBar.metadata-dbg.js +41 -10
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBar.metadata.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarAPI-dbg.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarAPI.ts +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarDelegate-dbg.js +50 -4
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarDelegate.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/Form.fragment.xml +65 -75
- package/packages/sap.fe.macros/src/sap/fe/macros/Form.metadata-dbg.js +55 -51
- package/packages/sap.fe.macros/src/sap/fe/macros/Form.metadata.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/FormAPI-dbg.js +83 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FormAPI.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FormAPI.ts +29 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FormContainer.fragment.xml +11 -10
- package/packages/sap.fe.macros/src/sap/fe/macros/FormContainer.metadata-dbg.js +2 -4
- package/packages/sap.fe.macros/src/sap/fe/macros/FormContainer.metadata.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/FormContainerAPI-dbg.js +99 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FormContainerAPI.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FormContainerAPI.ts +32 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MacroAPI-dbg.js +67 -7
- package/packages/sap.fe.macros/src/sap/fe/macros/MacroAPI.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/MacroAPI.ts +60 -10
- package/packages/sap.fe.macros/src/sap/fe/macros/PhantomUtil-dbg.js +26 -34
- package/packages/sap.fe.macros/src/sap/fe/macros/PhantomUtil.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/Table.fragment.xml +6 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/Table.metadata-dbg.js +38 -4
- package/packages/sap.fe.macros/src/sap/fe/macros/Table.metadata.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/TableAPI-dbg.js +78 -92
- package/packages/sap.fe.macros/src/sap/fe/macros/TableAPI.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/TableAPI.ts +55 -68
- package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldHelper-dbg.js +41 -39
- package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldHelper.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldRuntime-dbg.js +125 -31
- package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldRuntime.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldTemplating-dbg.js +16 -42
- package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldTemplating.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldTemplating.ts +13 -39
- package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkDelegate-dbg.js +0 -7
- package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkDelegate.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterFieldHelper-dbg.js +142 -129
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterFieldHelper.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterUtils-dbg.js +120 -61
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterUtils.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/form/AddressSection.fragment.xml +4 -4
- package/packages/sap.fe.macros/src/sap/fe/macros/form/DataFieldCollection.fragment.xml +3 -3
- package/packages/sap.fe.macros/src/sap/fe/macros/form/FormHelper-dbg.js +1 -14
- package/packages/sap.fe.macros/src/sap/fe/macros/form/FormHelper.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/CollectionField.fragment.xml +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/CollectionField.metadata-dbg.js +23 -8
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/CollectionField.metadata.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/CollectionField.metadata.ts +29 -17
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/DataPoint.fragment.xml +45 -54
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/DataPoint.metadata-dbg.js +16 -22
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/DataPoint.metadata.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/Field.fragment.xml +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/Field.metadata-dbg.js +14 -5
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/Field.metadata.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/FilterField.fragment.xml +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/SituationsIndicator-dbg.js +3 -2
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/SituationsIndicator.ts +4 -3
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/FieldStructure.fragment.xml +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/LinkWithQuickViewForm.fragment.xml +3 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/LinkWrapper.fragment.xml +3 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/ObjectIdentifier.fragment.xml +4 -145
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/ObjectStatus.fragment.xml +32 -8
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/DatePicker.fragment.xml +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/DateTimePicker.fragment.xml +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/File.fragment.xml +3 -3
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/Input.fragment.xml +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/InputWithUnit.fragment.xml +2 -2
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/InputWithValueHelp.fragment.xml +2 -2
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/TextArea.fragment.xml +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/TimePicker.fragment.xml +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/fragments/ObjectIdentifierContent.fragment.xml +81 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/helpers/DataPointTemplating-dbg.js +64 -30
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/helpers/DataPointTemplating.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/helpers/DataPointTemplating.ts +58 -36
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Formatter-dbg.js +4 -2
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Formatter.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Formatter.ts +19 -20
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Runtime-dbg.js +2 -3
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Runtime.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/situations/Runtime.ts +13 -5
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelpContent.fragment.xml +3 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelpTemplating-dbg.js +17 -7
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelpTemplating.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelpTemplating.ts +10 -3
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListDialogTable.fragment.xml +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListHelper-dbg.js +53 -62
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListHelper.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListTable.fragment.xml +2 -2
- package/packages/sap.fe.macros/src/sap/fe/macros/library-dbg.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/library-h2-preload.js +16 -14
- package/packages/sap.fe.macros/src/sap/fe/macros/library-h2-preload.js.map +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/library-preload.js +157 -178
- package/packages/sap.fe.macros/src/sap/fe/macros/library-preload.js.map +4 -4
- package/packages/sap.fe.macros/src/sap/fe/macros/library.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/manifest.json +9 -9
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle.properties +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ar.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_bg.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ca.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_cs.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_cy.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_da.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_de.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_el.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_GB.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_US_sappsd.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_US_saprigi.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_US_saptrc.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_es.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_es_MX.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_et.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_fi.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_fr.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_fr_CA.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_hi.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_hr.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_hu.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_id.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_it.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_iw.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ja.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_kk.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ko.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_lt.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_lv.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ms.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_nl.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_no.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_pl.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_pt.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_pt_PT.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ro.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ru.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sh.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sk.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sl.properties +16 -8
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sv.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_th.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_tr.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_uk.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_vi.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_zh_CN.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_zh_TW.properties +14 -6
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/MicroChartHelper-dbg.js +2 -2
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/MicroChartHelper.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/fragments/BulletMicroChart.fragment.xml +2 -2
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/fragments/ComparisonMicroChart.fragment.xml +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/resources.json +277 -209
- package/packages/sap.fe.macros/src/sap/fe/macros/table/Actions.fragment.xml +5 -16
- package/packages/sap.fe.macros/src/sap/fe/macros/table/ColumnContent.fragment.xml +17 -4
- package/packages/sap.fe.macros/src/sap/fe/macros/table/TableHelper-dbg.js +0 -2
- package/packages/sap.fe.macros/src/sap/fe/macros/table/TableHelper.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/table/TableRuntime-dbg.js +27 -18
- package/packages/sap.fe.macros/src/sap/fe/macros/table/TableRuntime.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/TableDelegate-dbg.js +196 -139
- package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/TableDelegate.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/visualfilters/InteractiveChartHelper-dbg.js +12 -14
- package/packages/sap.fe.macros/src/sap/fe/macros/visualfilters/InteractiveChartHelper.js +1 -1
- package/packages/sap.fe.macros/src/sap/fe/macros/visualfilters/VisualFilterRuntime-dbg.js +13 -15
- package/packages/sap.fe.macros/src/sap/fe/macros/visualfilters/VisualFilterRuntime.js +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/designtime/api.json +113 -2
- package/packages/sap.fe.macros/test/sap/fe/macros/designtime/apiref/api.json +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/designtime/codeassistance/Library.jsmeta.json +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/designtime/codeassistance/Library.xmlmeta.json +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartDelegate.spec.js +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartDelegate.spec.ts +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartMacro.spec.js +32 -20
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/ChartMacro.spec.ts +24 -12
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/CollectionField.spec.js +15 -5
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/CollectionField.spec.ts +18 -3
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/CommonHelper.spec.js +69 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/CommonHelper.spec.ts +32 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/DatapointMacro.spec.js +6 -180
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/DatapointMacro.spec.ts +6 -177
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldMacroWithSemanticKey.spec.js +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldMacroWithSemanticKey.spec.ts +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterField.spec.js +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterField.spec.ts +1 -2
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterFieldHelper.spec.js +51 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterFieldHelper.spec.ts +48 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterUtils.spec.js +133 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FormContainerAPI.spec.js +34 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FormContainerAPI.spec.ts +23 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FormMacro.spec.js +49 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FormMacro.spec.ts +41 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/MacroAPI.spec.js +105 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/MacroAPI.spec.ts +53 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/MacroComponent.spec.js +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/MacroComponent.spec.ts +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/MicroChart.spec.js +15 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/MicroChart.spec.ts +13 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/PhantomUtil.spec.js +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/PhantomUtil.spec.ts +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/QuickViewForm.spec.js +2 -3
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/QuickViewForm.spec.ts +3 -4
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/SimpleFieldMacro.spec.js +14 -4
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/SimpleFieldMacro.spec.ts +18 -4
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/Table.spec.js +140 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/Table.spec.ts +144 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableAPI.spec.js +445 -635
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableAPI.spec.ts +528 -719
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableMacro.spec.js +83 -4
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableMacro.spec.ts +101 -3
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/ValueHelpMacro.spec.js +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/ValueHelpMacro.spec.ts +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/ChartMacro.spec.ts.snap +75 -7
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/CollectionField.spec.ts.snap +26 -11
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/DatapointMacro.spec.ts.snap +42 -304
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FieldMacroDataFieldTypes.spec.ts.snap +6 -6
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FilterBarMacro.spec.ts.snap +12 -12
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FilterField.spec.ts.snap +3 -3
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FormMacro.spec.ts.snap +150 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/KPITag.spec.ts.snap +4 -4
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/MicroChart.spec.ts.snap +39 -3
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/QuickViewForm.spec.ts.snap +4 -4
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/SimpleFieldMacro.spec.ts.snap +125 -51
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/Table.spec.ts.snap +1455 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/Chart.cds +56 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/FieldMacroDataFieldTypes.cds +12 -59
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/Form.cds +129 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/MicroChart.cds +14 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/Table.cds +55 -2
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/simpleFieldMacro.cds +10 -4
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldRuntime.spec.js +2 -2
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldRuntime.spec.ts +15 -8
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldTemplating.spec.js +12 -34
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldTemplating.spec.ts +21 -38
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/Actions.spec.js +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/Actions.spec.ts +2 -2
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/__snapshots__/columnWidth.spec.ts.snap +54 -14
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/columnWidth.spec.js +17 -7
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/columnWidth.spec.ts +18 -11
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/data/columnWidth.cds +26 -3
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/TableDelegate.spec.js +145 -17
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/TableDelegate.spec.ts +176 -18
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/__snapshots__/TableDelegate.spec.ts.snap +813 -111
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/table/delegates/data/tabledelegate.cds +9 -2
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FieldHelper.qunit.js +0 -56
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FieldHelperTemplate.qunit.js +0 -321
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FormContainerTemplating.qunit.js +1 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FormTemplating.qunit.js +10 -5
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FormTemplatingTs.qunit.js +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/MicroChartHelperForTemplate.qunit.js +1 -2
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/TableRuntime.qunit.js +1 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/ValueListHelper.qunit.js +130 -1
- package/packages/sap.fe.macros/test/sap/fe/macros/relnotes/changes-1.99.json +343 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/.library +1 -1
- package/packages/sap.fe.navigation/src/sap/fe/navigation/.theming +1 -1
- package/packages/sap.fe.navigation/src/sap/fe/navigation/NavigationHandler-dbg.js +0 -1
- package/packages/sap.fe.navigation/src/sap/fe/navigation/NavigationHandler.js +1 -1
- package/packages/sap.fe.navigation/src/sap/fe/navigation/library-dbg.js +1 -1
- package/packages/sap.fe.navigation/src/sap/fe/navigation/library-h2-preload.js +2 -2
- package/packages/sap.fe.navigation/src/sap/fe/navigation/library-preload.js +3 -3
- package/packages/sap.fe.navigation/src/sap/fe/navigation/library-preload.js.map +2 -2
- package/packages/sap.fe.navigation/src/sap/fe/navigation/library.js +1 -1
- package/packages/sap.fe.navigation/src/sap/fe/navigation/manifest.json +3 -3
- package/packages/sap.fe.navigation/src/sap/fe/navigation/resources.json +4 -4
- package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/api.json +1 -1
- package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/apiref/api.json +1 -1
- package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/codeassistance/Library.xmlmeta.json +1 -1
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/.library +1 -1
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/.theming +1 -1
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-dbg.js +1 -1
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-h2-preload.js +2 -2
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-preload.js +2 -2
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library.js +1 -1
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/manifest.json +3 -3
- package/packages/sap.fe.placeholder/test/sap/fe/placeholder/designtime/api.json +1 -1
- package/packages/sap.fe.placeholder/test/sap/fe/placeholder/designtime/apiref/api.json +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/.library +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/.theming +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/AnalyticalListPage/manifest.json +2 -2
- package/packages/sap.fe.templates/src/sap/fe/templates/ListComponent-dbg.js +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/ListComponent.js +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/Component-dbg.js +8 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/Component.js +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ExtensionAPI-dbg.js +8 -3
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ExtensionAPI.js +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ListReport.view.xml +11 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ListReportController-dbg.controller.js +114 -29
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ListReportController.controller.js +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/manifest.json +2 -2
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation-dbg.js +10 -10
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.js +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/Share-dbg.js +7 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/Share.js +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/ViewState-dbg.js +75 -53
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/ViewState.js +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/resources.json +14 -23
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/view/fragments/CollectionVisualization.fragment.xml +8 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/AnnotationHelper-dbg.js +3 -3
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/AnnotationHelper.js +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/Component-dbg.js +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/Component.js +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +8 -45
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ObjectPageController-dbg.controller.js +17 -67
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/manifest.json +2 -2
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/resources.json +24 -12
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating-dbg.js +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.ts +2 -2
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/FooterContent.fragment.xml +5 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/Heading.fragment.xml +33 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/HeadingAvatar.fragment.xml +17 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/HeadingTitle.fragment.xml +18 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/SectionFormContent.fragment.xml +3 -3
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/SectionMoreFormContent.fragment.xml +3 -3
- package/packages/sap.fe.templates/src/sap/fe/templates/library-dbg.js +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/library-h2-preload.js +7 -5
- package/packages/sap.fe.templates/src/sap/fe/templates/library-h2-preload.js.map +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/library-preload.js +24 -22
- package/packages/sap.fe.templates/src/sap/fe/templates/library-preload.js.map +4 -4
- package/packages/sap.fe.templates/src/sap/fe/templates/library.js +1 -1
- package/packages/sap.fe.templates/src/sap/fe/templates/manifest.json +13 -13
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle.properties +14 -30
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ar.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_bg.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ca.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_cs.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_cy.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_da.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_de.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_el.properties +25 -7
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en_GB.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en_US_sappsd.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en_US_saprigi.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en_US_saptrc.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_es.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_es_MX.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_et.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_fi.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_fr.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_fr_CA.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_hi.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_hr.properties +25 -7
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_hu.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_id.properties +26 -8
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_it.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_iw.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ja.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_kk.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ko.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_lt.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_lv.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ms.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_nl.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_no.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_pl.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_pt.properties +27 -9
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_pt_PT.properties +25 -7
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ro.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ru.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_sh.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_sk.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_sl.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_sv.properties +25 -7
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_th.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_tr.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_uk.properties +25 -7
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_vi.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_zh_CN.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_zh_TW.properties +24 -6
- package/packages/sap.fe.templates/src/sap/fe/templates/resources.json +127 -113
- package/packages/sap.fe.templates/test/sap/fe/templates/demokit/apps/itelo/webapp/manifest.json +1 -1
- package/packages/sap.fe.templates/test/sap/fe/templates/designtime/api.json +1 -1
- package/packages/sap.fe.templates/test/sap/fe/templates/designtime/apiref/api.json +1 -1
- package/packages/sap.fe.templates/test/sap/fe/templates/designtime/codeassistance/Library.xmlmeta.json +1 -1
- package/packages/sap.fe.templates/test/sap/fe/templates/jest/ListReport/overrides/IntentBasedNavigation.spec.js +59 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/jest/ListReport/overrides/IntentBasedNavigation.spec.ts +54 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/jest/ListReport/overrides/Share.spec.js +85 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/jest/ListReport/overrides/Share.spec.ts +89 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/jest/ListReport/overrides/ViewState.spec.js +482 -259
- package/packages/sap.fe.templates/test/sap/fe/templates/jest/ListReport/overrides/ViewState.spec.ts +442 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/AnnotationHelper.spec.js +99 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/AnnotationHelper.spec.ts +82 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/Heading.spec.js +50 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/Heading.spec.ts +32 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/__snapshots__/Heading.spec.ts.snap +43 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/jest/ObjectPage/view/fragments/__snapshots__/Sections.spec.ts.snap +9 -7
- package/packages/sap.fe.templates/test/sap/fe/templates/jest/RootContainer/RootContainerBaseController.spec.js +2 -2
- package/packages/sap.fe.templates/test/sap/fe/templates/jest/RootContainer/RootContainerBaseController.spec.ts +4 -3
- package/packages/sap.fe.templates/test/sap/fe/templates/relnotes/changes-1.99.json +335 -0
- package/packages/sap.fe.test/src/sap/fe/test/.library +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/.theming +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/FeMocks-dbg.js +66 -0
- package/packages/sap.fe.test/src/sap/fe/test/FeMocks.js +5 -0
- package/packages/sap.fe.test/src/sap/fe/test/FeMocks.ts +77 -0
- package/packages/sap.fe.test/src/sap/fe/test/JestTemplatingHelper-dbg.js +78 -22
- package/packages/sap.fe.test/src/sap/fe/test/JestTemplatingHelper.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/JestTemplatingHelper.ts +66 -22
- package/packages/sap.fe.test/src/sap/fe/test/ObjectPage-dbg.js +6 -4
- package/packages/sap.fe.test/src/sap/fe/test/ObjectPage.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/UI5MockHelper-dbg.js +44 -21
- package/packages/sap.fe.test/src/sap/fe/test/UI5MockHelper.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/UI5MockHelper.ts +28 -8
- package/packages/sap.fe.test/src/sap/fe/test/api/BaseAPI-dbg.js +1 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogAPI-dbg.js +14 -2
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogAPI.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogCreateActions-dbg.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogCreateActions.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogCreateAssertions-dbg.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogCreateAssertions.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogMessageActions-dbg.js +16 -1
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogMessageActions.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogMessageAssertions-dbg.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogMessageAssertions.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogValueHelpActions-dbg.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogValueHelpActions.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogValueHelpAssertions-dbg.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogValueHelpAssertions.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/api/TableActions-dbg.js +0 -19
- package/packages/sap.fe.test/src/sap/fe/test/api/TableActions.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/api/TableAssertions-dbg.js +3 -4
- package/packages/sap.fe.test/src/sap/fe/test/api/TableAssertions.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/builder/MdcTableBuilder-dbg.js +4 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/MdcTableBuilder.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/internal/FEJourneyRunner-dbg.js +6 -3
- package/packages/sap.fe.test/src/sap/fe/test/internal/FEJourneyRunner.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/library-dbg.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/library-h2-preload.js +3 -2
- package/packages/sap.fe.test/src/sap/fe/test/library-h2-preload.js.map +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/library-preload.js +39 -20
- package/packages/sap.fe.test/src/sap/fe/test/library-preload.js.map +4 -4
- package/packages/sap.fe.test/src/sap/fe/test/library.js +1 -1
- package/packages/sap.fe.test/src/sap/fe/test/manifest.json +3 -3
- package/packages/sap.fe.test/src/sap/fe/test/resources.json +65 -28
- package/packages/sap.fe.test/test/sap/fe/test/designtime/api.json +1 -1
- package/packages/sap.fe.test/test/sap/fe/test/designtime/apiref/api.json +1 -1
- package/packages/sap.fe.test/test/sap/fe/test/designtime/codeassistance/Library.jsmeta.json +1 -1
- package/packages/sap.fe.test/test/sap/fe/test/designtime/codeassistance/Library.xmlmeta.json +1 -1
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MessageHandling.spec.js +0 -115
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/MessageHandling.spec.ts +0 -95
- package/packages/sap.fe.core/test/sap/fe/core/qunit/helpers/ExcelFormatHelper.qunit.js +0 -19
- package/packages/sap.fe.core/test/sap/fe/core/qunit/helpers/StableIdHelper.qunit.js +0 -301
- package/packages/sap.fe.core/test/sap/fe/core/qunit/services/CacheHandlerTest.qunit.js +0 -924
- package/packages/sap.fe.macros/src/sap/fe/macros/formcontainer/FormContainerRuntime-dbg.js +0 -46
- package/packages/sap.fe.macros/src/sap/fe/macros/formcontainer/FormContainerRuntime.js +0 -6
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/CommonUtils.spec.js +0 -94
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/CommonUtils.spec.ts +0 -70
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableFieldLabel.spec.js +0 -68
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableFieldLabel.spec.ts +0 -65
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/TableFieldLabel.spec.ts.snap +0 -607
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/MassEdit-dbg.js +0 -96
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/MassEdit.js +0 -6
|
@@ -6,7 +6,9 @@ import {
|
|
|
6
6
|
TableCapabilityRestriction,
|
|
7
7
|
TableControlConfiguration,
|
|
8
8
|
isFilteringCaseSensitive,
|
|
9
|
-
AnnotationTableColumn
|
|
9
|
+
AnnotationTableColumn,
|
|
10
|
+
getP13nMode,
|
|
11
|
+
getTableAnnotationConfiguration
|
|
10
12
|
} from "sap/fe/core/converters/controls/Common/Table";
|
|
11
13
|
|
|
12
14
|
import { TableHelper } from "sap/fe/macros/table";
|
|
@@ -14,10 +16,12 @@ import path from "path";
|
|
|
14
16
|
import { convertTypes } from "sap/fe/core/converters/MetaModelConverter";
|
|
15
17
|
import { compileCDS, getConverterContextForTest, getMetaModel } from "sap/fe/test/JestTemplatingHelper";
|
|
16
18
|
import {
|
|
19
|
+
CreationMode,
|
|
17
20
|
HorizontalAlign,
|
|
18
21
|
SelectionMode,
|
|
19
22
|
ListReportManifestSettings,
|
|
20
23
|
TableManifestConfiguration,
|
|
24
|
+
ChartManifestConfiguration,
|
|
21
25
|
TableManifestSettingsConfiguration,
|
|
22
26
|
TemplateType
|
|
23
27
|
} from "sap/fe/core/converters/ManifestSettings";
|
|
@@ -80,6 +84,24 @@ const getTableConfigurationForTest = (
|
|
|
80
84
|
isCondensedLayoutCompliant
|
|
81
85
|
);
|
|
82
86
|
};
|
|
87
|
+
const defaultTableControlConfiguration: TableControlConfiguration = {
|
|
88
|
+
createAtEnd: false,
|
|
89
|
+
creationMode: CreationMode.NewPage,
|
|
90
|
+
disableAddRowButtonForEmptyData: false,
|
|
91
|
+
customValidationFunction: undefined,
|
|
92
|
+
useCondensedTableLayout: false,
|
|
93
|
+
enableExport: false,
|
|
94
|
+
headerVisible: false,
|
|
95
|
+
type: "GridTable",
|
|
96
|
+
selectionLimit: 0,
|
|
97
|
+
multiSelectMode: undefined,
|
|
98
|
+
enablePaste: false,
|
|
99
|
+
enableFullScreen: false,
|
|
100
|
+
showRowCount: false,
|
|
101
|
+
enableMassEdit: undefined,
|
|
102
|
+
enableAutoColumnWidth: false,
|
|
103
|
+
dataStateIndicatorFilter: undefined
|
|
104
|
+
};
|
|
83
105
|
|
|
84
106
|
describe("TableHelper - build expression for table buttons", function() {
|
|
85
107
|
it("press Event for the delete button", function() {
|
|
@@ -404,7 +426,8 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
404
426
|
targetCapabilities: TableCapabilityRestriction,
|
|
405
427
|
basicContext: ConverterContext,
|
|
406
428
|
visualizationPath: string,
|
|
407
|
-
isDeleteButtonVisible?: Expression<boolean
|
|
429
|
+
isDeleteButtonVisible?: Expression<boolean>,
|
|
430
|
+
isMassEditButtonVisible?: Expression<boolean>
|
|
408
431
|
): string | undefined => {
|
|
409
432
|
return getSelectionMode(
|
|
410
433
|
basicContext.getEntityType().annotations.UI?.LineItem,
|
|
@@ -412,7 +435,8 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
412
435
|
basicContext,
|
|
413
436
|
isEntitySet,
|
|
414
437
|
targetCapabilities,
|
|
415
|
-
isDeleteButtonVisible
|
|
438
|
+
isDeleteButtonVisible,
|
|
439
|
+
isMassEditButtonVisible
|
|
416
440
|
);
|
|
417
441
|
};
|
|
418
442
|
|
|
@@ -429,12 +453,14 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
429
453
|
}
|
|
430
454
|
});
|
|
431
455
|
const isDeleteButtonVisible = constant(true);
|
|
456
|
+
const isMassEditButtonVisible = constant(false);
|
|
432
457
|
const result = getSelectionModeForTest(
|
|
433
458
|
true,
|
|
434
459
|
{ isDeletable: true, isUpdatable: false },
|
|
435
460
|
basicContext_LR,
|
|
436
461
|
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
437
|
-
isDeleteButtonVisible
|
|
462
|
+
isDeleteButtonVisible,
|
|
463
|
+
isMassEditButtonVisible
|
|
438
464
|
);
|
|
439
465
|
expect(result).toEqual("Multi");
|
|
440
466
|
});
|
|
@@ -452,12 +478,14 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
452
478
|
}
|
|
453
479
|
});
|
|
454
480
|
const isDeleteButtonVisible = bindingExpression("dummyOPExpression");
|
|
481
|
+
const isMassEditButtonVisible = constant(false);
|
|
455
482
|
const result = getSelectionModeForTest(
|
|
456
483
|
false,
|
|
457
484
|
{ isDeletable: true, isUpdatable: false },
|
|
458
485
|
basicContext_OP,
|
|
459
486
|
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
460
|
-
isDeleteButtonVisible
|
|
487
|
+
isDeleteButtonVisible,
|
|
488
|
+
isMassEditButtonVisible
|
|
461
489
|
);
|
|
462
490
|
expect(result).toEqual("{= %{dummyOPExpression} ? 'Multi' : 'None'}");
|
|
463
491
|
});
|
|
@@ -467,12 +495,14 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
467
495
|
converterType: TemplateType.ObjectPage
|
|
468
496
|
});
|
|
469
497
|
const isDeleteButtonVisible = bindingExpression("dummyOPExpression");
|
|
498
|
+
const isMassEditButtonVisible = constant(false);
|
|
470
499
|
const result = getSelectionModeForTest(
|
|
471
500
|
false,
|
|
472
501
|
{ isDeletable: true, isUpdatable: false },
|
|
473
502
|
basicContext_OP,
|
|
474
503
|
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
475
|
-
isDeleteButtonVisible
|
|
504
|
+
isDeleteButtonVisible,
|
|
505
|
+
isMassEditButtonVisible
|
|
476
506
|
);
|
|
477
507
|
expect(result).toEqual("{= (%{ui>/editMode} === 'Editable' && %{dummyOPExpression}) ? 'Multi' : 'None'}");
|
|
478
508
|
});
|
|
@@ -490,12 +520,14 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
490
520
|
}
|
|
491
521
|
});
|
|
492
522
|
const isDeleteButtonVisible = constant(false);
|
|
523
|
+
const isMassEditButtonVisible = constant(false);
|
|
493
524
|
const result = getSelectionModeForTest(
|
|
494
525
|
true,
|
|
495
526
|
{ isDeletable: true, isUpdatable: false },
|
|
496
527
|
basicContext_LR,
|
|
497
528
|
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
498
|
-
isDeleteButtonVisible
|
|
529
|
+
isDeleteButtonVisible,
|
|
530
|
+
isMassEditButtonVisible
|
|
499
531
|
);
|
|
500
532
|
expect(result).toEqual("None");
|
|
501
533
|
});
|
|
@@ -513,12 +545,14 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
513
545
|
}
|
|
514
546
|
});
|
|
515
547
|
const isDeleteButtonVisible = constant(false);
|
|
548
|
+
const isMassEditButtonVisible = constant(false);
|
|
516
549
|
const result = getSelectionModeForTest(
|
|
517
550
|
false,
|
|
518
551
|
{ isDeletable: true, isUpdatable: false },
|
|
519
552
|
basicContext_OP,
|
|
520
553
|
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
521
|
-
isDeleteButtonVisible
|
|
554
|
+
isDeleteButtonVisible,
|
|
555
|
+
isMassEditButtonVisible
|
|
522
556
|
);
|
|
523
557
|
expect(result).toEqual("None");
|
|
524
558
|
});
|
|
@@ -536,12 +570,14 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
536
570
|
}
|
|
537
571
|
});
|
|
538
572
|
const isDeleteButtonVisible = bindingExpression("dummyLRExpression");
|
|
573
|
+
const isMassEditButtonVisible = constant(false);
|
|
539
574
|
const result = getSelectionModeForTest(
|
|
540
575
|
true,
|
|
541
576
|
{ isDeletable: true, isUpdatable: false },
|
|
542
577
|
basicContext_LR,
|
|
543
578
|
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
544
|
-
isDeleteButtonVisible
|
|
579
|
+
isDeleteButtonVisible,
|
|
580
|
+
isMassEditButtonVisible
|
|
545
581
|
);
|
|
546
582
|
expect(result).toEqual("{= %{dummyLRExpression} ? 'Multi' : 'None'}");
|
|
547
583
|
});
|
|
@@ -559,12 +595,14 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
559
595
|
}
|
|
560
596
|
});
|
|
561
597
|
const isDeleteButtonVisible = bindingExpression("dummyOPExpression");
|
|
598
|
+
const isMassEditButtonVisible = constant(false);
|
|
562
599
|
const result = getSelectionModeForTest(
|
|
563
600
|
false,
|
|
564
601
|
{ isDeletable: true, isUpdatable: false },
|
|
565
602
|
basicContext_OP,
|
|
566
603
|
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
567
|
-
isDeleteButtonVisible
|
|
604
|
+
isDeleteButtonVisible,
|
|
605
|
+
isMassEditButtonVisible
|
|
568
606
|
);
|
|
569
607
|
expect(result).toEqual("{= %{dummyOPExpression} ? 'Multi' : 'None'}");
|
|
570
608
|
});
|
|
@@ -574,27 +612,32 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
574
612
|
converterType: TemplateType.ListReport
|
|
575
613
|
});
|
|
576
614
|
const isDeleteButtonVisible = constant(true);
|
|
615
|
+
const isMassEditButtonVisible = constant(false);
|
|
577
616
|
const result = getSelectionModeForTest(
|
|
578
617
|
true,
|
|
579
618
|
{ isDeletable: false, isUpdatable: false },
|
|
580
619
|
basicContext_LR,
|
|
581
620
|
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
582
|
-
isDeleteButtonVisible
|
|
621
|
+
isDeleteButtonVisible,
|
|
622
|
+
isMassEditButtonVisible
|
|
583
623
|
);
|
|
584
624
|
expect(result).toEqual("None");
|
|
585
625
|
});
|
|
626
|
+
|
|
586
627
|
it("If the Entity is deletable, LR table has not action and the service is draft : the tableSelectionMode is 'Multi' ", () => {
|
|
587
628
|
const basicContext_LR = getConverterContextForTest(convertedTypesSelectionMode, {
|
|
588
629
|
entitySet: "EntityWithoutActionOnTable",
|
|
589
630
|
converterType: TemplateType.ListReport
|
|
590
631
|
});
|
|
591
632
|
const isDeleteButtonVisible = constant(true);
|
|
633
|
+
const isMassEditButtonVisible = constant(false);
|
|
592
634
|
const result = getSelectionModeForTest(
|
|
593
635
|
true,
|
|
594
636
|
{ isDeletable: true, isUpdatable: false },
|
|
595
637
|
basicContext_LR,
|
|
596
638
|
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
597
|
-
isDeleteButtonVisible
|
|
639
|
+
isDeleteButtonVisible,
|
|
640
|
+
isMassEditButtonVisible
|
|
598
641
|
);
|
|
599
642
|
expect(result).toEqual("Multi");
|
|
600
643
|
});
|
|
@@ -604,12 +647,14 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
604
647
|
converterType: TemplateType.ListReport
|
|
605
648
|
});
|
|
606
649
|
const isDeleteButtonVisible = constant(true);
|
|
650
|
+
const isMassEditButtonVisible = constant(false);
|
|
607
651
|
const result = getSelectionModeForTest(
|
|
608
652
|
true,
|
|
609
653
|
{ isDeletable: true, isUpdatable: false },
|
|
610
654
|
basicContext_LR,
|
|
611
655
|
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
612
|
-
isDeleteButtonVisible
|
|
656
|
+
isDeleteButtonVisible,
|
|
657
|
+
isMassEditButtonVisible
|
|
613
658
|
);
|
|
614
659
|
expect(result).toEqual("Multi");
|
|
615
660
|
});
|
|
@@ -619,12 +664,14 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
619
664
|
converterType: TemplateType.ListReport
|
|
620
665
|
});
|
|
621
666
|
const isDeleteButtonVisible = constant(false);
|
|
667
|
+
const isMassEditButtonVisible = constant(false);
|
|
622
668
|
const result = getSelectionModeForTest(
|
|
623
669
|
true,
|
|
624
670
|
{ isDeletable: false, isUpdatable: false },
|
|
625
671
|
basicContext_LR,
|
|
626
672
|
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
627
|
-
isDeleteButtonVisible
|
|
673
|
+
isDeleteButtonVisible,
|
|
674
|
+
isMassEditButtonVisible
|
|
628
675
|
);
|
|
629
676
|
expect(result).toEqual("Multi");
|
|
630
677
|
});
|
|
@@ -634,12 +681,14 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
634
681
|
converterType: TemplateType.ListReport
|
|
635
682
|
});
|
|
636
683
|
const isDeleteButtonVisible = constant(false);
|
|
684
|
+
const isMassEditButtonVisible = constant(false);
|
|
637
685
|
const result = getSelectionModeForTest(
|
|
638
686
|
true,
|
|
639
687
|
{ isDeletable: false, isUpdatable: false },
|
|
640
688
|
basicContext_LR,
|
|
641
689
|
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
642
|
-
isDeleteButtonVisible
|
|
690
|
+
isDeleteButtonVisible,
|
|
691
|
+
isMassEditButtonVisible
|
|
643
692
|
);
|
|
644
693
|
expect(result).toEqual("None");
|
|
645
694
|
});
|
|
@@ -649,12 +698,14 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
649
698
|
converterType: TemplateType.ListReport
|
|
650
699
|
});
|
|
651
700
|
const isDeleteButtonVisible = constant(false);
|
|
701
|
+
const isMassEditButtonVisible = constant(false);
|
|
652
702
|
const result = getSelectionModeForTest(
|
|
653
703
|
true,
|
|
654
704
|
{ isDeletable: false, isUpdatable: false },
|
|
655
705
|
basicContext_LR,
|
|
656
706
|
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
657
|
-
isDeleteButtonVisible
|
|
707
|
+
isDeleteButtonVisible,
|
|
708
|
+
isMassEditButtonVisible
|
|
658
709
|
);
|
|
659
710
|
expect(result).toEqual("Multi");
|
|
660
711
|
});
|
|
@@ -664,12 +715,14 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
664
715
|
converterType: TemplateType.ListReport
|
|
665
716
|
});
|
|
666
717
|
const isDeleteButtonVisible = constant(false);
|
|
718
|
+
const isMassEditButtonVisible = constant(false);
|
|
667
719
|
const result = getSelectionModeForTest(
|
|
668
720
|
true,
|
|
669
721
|
{ isDeletable: false, isUpdatable: false },
|
|
670
722
|
basicContext_LR,
|
|
671
723
|
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
672
|
-
isDeleteButtonVisible
|
|
724
|
+
isDeleteButtonVisible,
|
|
725
|
+
isMassEditButtonVisible
|
|
673
726
|
);
|
|
674
727
|
expect(result).toEqual("Multi");
|
|
675
728
|
});
|
|
@@ -762,12 +815,14 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
762
815
|
converterType: TemplateType.ObjectPage
|
|
763
816
|
});
|
|
764
817
|
const isDeleteButtonVisible = constant(false);
|
|
818
|
+
const isMassEditButtonVisible = constant(false);
|
|
765
819
|
const result = getSelectionModeForTest(
|
|
766
820
|
false,
|
|
767
821
|
{ isDeletable: false, isUpdatable: false },
|
|
768
822
|
basicContext_OP,
|
|
769
823
|
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
770
|
-
isDeleteButtonVisible
|
|
824
|
+
isDeleteButtonVisible,
|
|
825
|
+
isMassEditButtonVisible
|
|
771
826
|
);
|
|
772
827
|
expect(result).toEqual("None");
|
|
773
828
|
});
|
|
@@ -777,12 +832,14 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
777
832
|
converterType: TemplateType.ObjectPage
|
|
778
833
|
});
|
|
779
834
|
const isDeleteButtonVisible = constant(false);
|
|
835
|
+
const isMassEditButtonVisible = constant(false);
|
|
780
836
|
const result = getSelectionModeForTest(
|
|
781
837
|
false,
|
|
782
838
|
{ isDeletable: true, isUpdatable: false },
|
|
783
839
|
basicContext_OP,
|
|
784
840
|
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
785
|
-
isDeleteButtonVisible
|
|
841
|
+
isDeleteButtonVisible,
|
|
842
|
+
isMassEditButtonVisible
|
|
786
843
|
);
|
|
787
844
|
expect(result).toEqual("None");
|
|
788
845
|
});
|
|
@@ -829,12 +886,14 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
829
886
|
converterType: TemplateType.ObjectPage
|
|
830
887
|
});
|
|
831
888
|
const isDeleteButtonVisible = constant(false);
|
|
889
|
+
const isMassEditButtonVisible = constant(false);
|
|
832
890
|
const result = getSelectionModeForTest(
|
|
833
891
|
false,
|
|
834
892
|
{ isDeletable: false, isUpdatable: false },
|
|
835
893
|
basicContext_OP,
|
|
836
894
|
"_Partner/@com.sap.vocabularies.UI.v1.LineItem",
|
|
837
|
-
isDeleteButtonVisible
|
|
895
|
+
isDeleteButtonVisible,
|
|
896
|
+
isMassEditButtonVisible
|
|
838
897
|
);
|
|
839
898
|
expect(result).toEqual("None");
|
|
840
899
|
});
|
|
@@ -882,6 +941,341 @@ describe("Table Converter - #getSelectionMode ", function() {
|
|
|
882
941
|
"{= %{ui>/editMode} === 'Editable' ? 'Multi' : ((%{Hidden1} === false || %{Hidden2} === false || ( ${ui>/editMode} === 'Editable' ) || ( %{OverallSDProcessStatus} === 'B' )) ? 'Multi' : 'None')}"
|
|
883
942
|
);
|
|
884
943
|
});
|
|
944
|
+
|
|
945
|
+
it("If the bound entity is not deletable but mass edit is visible then the LR table selectionMode is ignored", () => {
|
|
946
|
+
const basicContext_LR = getConverterContextForTest(convertedTypesSelectionMode, {
|
|
947
|
+
entitySet: "NoDeleteButtonEntity",
|
|
948
|
+
converterType: TemplateType.ListReport,
|
|
949
|
+
controlConfiguration: {
|
|
950
|
+
"@com.sap.vocabularies.UI.v1.LineItem": {
|
|
951
|
+
tableSettings: {
|
|
952
|
+
selectionMode: SelectionMode.None
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
});
|
|
957
|
+
const isDeleteButtonVisible = constant(false);
|
|
958
|
+
const isMassEditButtonVisible = constant(true);
|
|
959
|
+
const result = getSelectionModeForTest(
|
|
960
|
+
true,
|
|
961
|
+
{ isDeletable: false, isUpdatable: true },
|
|
962
|
+
basicContext_LR,
|
|
963
|
+
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
964
|
+
isDeleteButtonVisible,
|
|
965
|
+
isMassEditButtonVisible
|
|
966
|
+
);
|
|
967
|
+
expect(result).toEqual("Multi");
|
|
968
|
+
});
|
|
969
|
+
|
|
970
|
+
it("If the bound entity is not deletable but mass edit is visible then the LR table selectionMode is Single", () => {
|
|
971
|
+
const basicContext_LR = getConverterContextForTest(convertedTypesSelectionMode, {
|
|
972
|
+
entitySet: "NoDeleteButtonEntity",
|
|
973
|
+
converterType: TemplateType.ListReport,
|
|
974
|
+
controlConfiguration: {
|
|
975
|
+
"@com.sap.vocabularies.UI.v1.LineItem": {
|
|
976
|
+
tableSettings: {
|
|
977
|
+
selectionMode: SelectionMode.Single
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
});
|
|
982
|
+
const isDeleteButtonVisible = constant(false);
|
|
983
|
+
const isMassEditButtonVisible = constant(true);
|
|
984
|
+
const result = getSelectionModeForTest(
|
|
985
|
+
true,
|
|
986
|
+
{ isDeletable: false, isUpdatable: true },
|
|
987
|
+
basicContext_LR,
|
|
988
|
+
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
989
|
+
isDeleteButtonVisible,
|
|
990
|
+
isMassEditButtonVisible
|
|
991
|
+
);
|
|
992
|
+
expect(result).toEqual("Single");
|
|
993
|
+
});
|
|
994
|
+
|
|
995
|
+
it("If the bound entity is deletable and mass edit is visble then the OP table selectionMode is ignored in edit mode", () => {
|
|
996
|
+
const basicContext_OP = getConverterContextForTest(convertedTypesSelectionMode, {
|
|
997
|
+
entitySet: "NoDeleteButtonEntity",
|
|
998
|
+
converterType: TemplateType.ObjectPage,
|
|
999
|
+
controlConfiguration: {
|
|
1000
|
+
"@com.sap.vocabularies.UI.v1.LineItem": {
|
|
1001
|
+
tableSettings: {
|
|
1002
|
+
selectionMode: SelectionMode.None
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
});
|
|
1007
|
+
const isDeleteButtonVisible = bindingExpression("dummyOPExpression");
|
|
1008
|
+
const isMassEditButtonVisible = constant(true);
|
|
1009
|
+
const result = getSelectionModeForTest(
|
|
1010
|
+
false,
|
|
1011
|
+
{ isDeletable: true, isUpdatable: false },
|
|
1012
|
+
basicContext_OP,
|
|
1013
|
+
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
1014
|
+
isDeleteButtonVisible,
|
|
1015
|
+
isMassEditButtonVisible
|
|
1016
|
+
);
|
|
1017
|
+
expect(result).toEqual("{= %{ui>/editMode} === 'Editable' ? 'Multi' : (%{dummyOPExpression} ? 'Multi' : 'None')}");
|
|
1018
|
+
});
|
|
1019
|
+
|
|
1020
|
+
it("If the bound entity is deletable and mass edit is visble by path then the OP table selectionMode is ignored in edit mode", () => {
|
|
1021
|
+
const basicContext_OP = getConverterContextForTest(convertedTypesSelectionMode, {
|
|
1022
|
+
entitySet: "NoDeleteButtonEntity",
|
|
1023
|
+
converterType: TemplateType.ObjectPage,
|
|
1024
|
+
controlConfiguration: {
|
|
1025
|
+
"@com.sap.vocabularies.UI.v1.LineItem": {
|
|
1026
|
+
tableSettings: {
|
|
1027
|
+
selectionMode: SelectionMode.None
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
});
|
|
1032
|
+
const isDeleteButtonVisible = bindingExpression("dummyOPExpression");
|
|
1033
|
+
const isMassEditButtonVisible = bindingExpression("dummyOPMEExpression");
|
|
1034
|
+
const result = getSelectionModeForTest(
|
|
1035
|
+
false,
|
|
1036
|
+
{ isDeletable: true, isUpdatable: false },
|
|
1037
|
+
basicContext_OP,
|
|
1038
|
+
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
1039
|
+
isDeleteButtonVisible,
|
|
1040
|
+
isMassEditButtonVisible
|
|
1041
|
+
);
|
|
1042
|
+
expect(result).toEqual(
|
|
1043
|
+
"{= (%{ui>/editMode} === 'Editable' && %{dummyOPMEExpression}) ? 'Multi' : (%{dummyOPExpression} ? 'Multi' : 'None')}"
|
|
1044
|
+
);
|
|
1045
|
+
});
|
|
1046
|
+
|
|
1047
|
+
it("If there is no action and the bound entity is deletable and mass edit is true: The OP table selectionMode is 'Multi' in edit mode", () => {
|
|
1048
|
+
const basicContext_OP = getConverterContextForTest(convertedTypesSelectionMode, {
|
|
1049
|
+
entitySet: "NoDeleteButtonEntity",
|
|
1050
|
+
converterType: TemplateType.ObjectPage
|
|
1051
|
+
});
|
|
1052
|
+
const isDeleteButtonVisible = bindingExpression("dummyOPExpression");
|
|
1053
|
+
const isMassEditButtonVisible = constant(true);
|
|
1054
|
+
const result = getSelectionModeForTest(
|
|
1055
|
+
false,
|
|
1056
|
+
{ isDeletable: false, isUpdatable: true },
|
|
1057
|
+
basicContext_OP,
|
|
1058
|
+
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
1059
|
+
isDeleteButtonVisible,
|
|
1060
|
+
isMassEditButtonVisible
|
|
1061
|
+
);
|
|
1062
|
+
expect(result).toEqual("{= %{ui>/editMode} === 'Editable' ? 'Multi' : 'None'}");
|
|
1063
|
+
});
|
|
1064
|
+
|
|
1065
|
+
it("If there is no action and the bound entity is not deletable and mass edit is path based: The OP table selectionMode is 'Multi' in edit mode", () => {
|
|
1066
|
+
const basicContext_OP = getConverterContextForTest(convertedTypesSelectionMode, {
|
|
1067
|
+
entitySet: "NoDeleteButtonEntity",
|
|
1068
|
+
converterType: TemplateType.ObjectPage
|
|
1069
|
+
});
|
|
1070
|
+
const isDeleteButtonVisible = constant(false);
|
|
1071
|
+
const isMassEditButtonVisible = bindingExpression("dummyOPMEExpression");
|
|
1072
|
+
const result = getSelectionModeForTest(
|
|
1073
|
+
false,
|
|
1074
|
+
{ isDeletable: false, isUpdatable: true },
|
|
1075
|
+
basicContext_OP,
|
|
1076
|
+
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
1077
|
+
isDeleteButtonVisible,
|
|
1078
|
+
isMassEditButtonVisible
|
|
1079
|
+
);
|
|
1080
|
+
expect(result).toEqual("{= (%{ui>/editMode} === 'Editable' && %{dummyOPMEExpression}) ? 'Multi' : 'None'}");
|
|
1081
|
+
});
|
|
1082
|
+
|
|
1083
|
+
it("If there is no action and the bound entity is not deletable and mass edit is path based: The OP table selectionMode is 'Multi' in edit mode", () => {
|
|
1084
|
+
const basicContext_OP = getConverterContextForTest(convertedTypesSelectionMode, {
|
|
1085
|
+
entitySet: "NoDeleteButtonEntity",
|
|
1086
|
+
converterType: TemplateType.ObjectPage
|
|
1087
|
+
});
|
|
1088
|
+
const isDeleteButtonVisible = bindingExpression("dummyOPExpression");
|
|
1089
|
+
const isMassEditButtonVisible = bindingExpression("dummyOPMEExpression");
|
|
1090
|
+
const result = getSelectionModeForTest(
|
|
1091
|
+
false,
|
|
1092
|
+
{ isDeletable: false, isUpdatable: true },
|
|
1093
|
+
basicContext_OP,
|
|
1094
|
+
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
1095
|
+
isDeleteButtonVisible,
|
|
1096
|
+
isMassEditButtonVisible
|
|
1097
|
+
);
|
|
1098
|
+
expect(result).toEqual(
|
|
1099
|
+
"{= (%{ui>/editMode} === 'Editable' && (%{dummyOPExpression} || %{dummyOPMEExpression})) ? 'Multi' : 'None'}"
|
|
1100
|
+
);
|
|
1101
|
+
});
|
|
1102
|
+
|
|
1103
|
+
it("If the Entity is not deletable and the LR table has not action and mass edit is enabled: the tableSelectionMode is 'Multi' ", () => {
|
|
1104
|
+
const basicContext_LR = getConverterContextForTest(convertedTypesSelectionMode, {
|
|
1105
|
+
entitySet: "EntityWithoutActionOnTable",
|
|
1106
|
+
converterType: TemplateType.ListReport
|
|
1107
|
+
});
|
|
1108
|
+
const isDeleteButtonVisible = constant(true);
|
|
1109
|
+
const isMassEditButtonVisible = constant(true);
|
|
1110
|
+
const result = getSelectionModeForTest(
|
|
1111
|
+
true,
|
|
1112
|
+
{ isDeletable: false, isUpdatable: false },
|
|
1113
|
+
basicContext_LR,
|
|
1114
|
+
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
1115
|
+
isDeleteButtonVisible,
|
|
1116
|
+
isMassEditButtonVisible
|
|
1117
|
+
);
|
|
1118
|
+
expect(result).toEqual("Multi");
|
|
1119
|
+
});
|
|
1120
|
+
|
|
1121
|
+
it("If the Entity is not deletable and the LR table has 1 custom bound and mass edit enabled: the tableSelectionMode is 'Multi' ", () => {
|
|
1122
|
+
const manifestSettings = {
|
|
1123
|
+
entitySet: "EntityWithCustomActionOnTable",
|
|
1124
|
+
converterType: TemplateType.ListReport,
|
|
1125
|
+
controlConfiguration: {
|
|
1126
|
+
"@com.sap.vocabularies.UI.v1.LineItem": {
|
|
1127
|
+
tableSettings: {
|
|
1128
|
+
enableExport: false
|
|
1129
|
+
},
|
|
1130
|
+
actions: {
|
|
1131
|
+
"Action1": {
|
|
1132
|
+
press: "xx",
|
|
1133
|
+
visible: "{= %{OverallSDProcessStatus} === 'B' }",
|
|
1134
|
+
enabled: "true",
|
|
1135
|
+
text: "Custom Action",
|
|
1136
|
+
enableOnSelect: "xx",
|
|
1137
|
+
requiresSelection: true
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
};
|
|
1143
|
+
const basicContext_LR = getConverterContextForTest(convertedTypesSelectionMode, manifestSettings);
|
|
1144
|
+
const result = getSelectionModeForTest(
|
|
1145
|
+
true,
|
|
1146
|
+
{ isDeletable: false, isUpdatable: false },
|
|
1147
|
+
basicContext_LR,
|
|
1148
|
+
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
1149
|
+
undefined,
|
|
1150
|
+
constant(true)
|
|
1151
|
+
);
|
|
1152
|
+
expect(result).toEqual("Multi");
|
|
1153
|
+
});
|
|
1154
|
+
|
|
1155
|
+
it("If the Entity is not deletable and the LR table has several custom bound actions with visible key as an expression binding and mass edit true: the tableSelectionMode is 'Multi'", () => {
|
|
1156
|
+
const manifestSettings = {
|
|
1157
|
+
entitySet: "EntityWithCustomActionOnTable",
|
|
1158
|
+
converterType: TemplateType.ListReport,
|
|
1159
|
+
controlConfiguration: {
|
|
1160
|
+
"@com.sap.vocabularies.UI.v1.LineItem": {
|
|
1161
|
+
tableSettings: {
|
|
1162
|
+
enableExport: false
|
|
1163
|
+
},
|
|
1164
|
+
actions: {
|
|
1165
|
+
"Action1": {
|
|
1166
|
+
press: "xx",
|
|
1167
|
+
visible: "{= ${ui>/editMode} === 'Editable' }",
|
|
1168
|
+
enabled: "true",
|
|
1169
|
+
text: "Custom Action1",
|
|
1170
|
+
enableOnSelect: "xx",
|
|
1171
|
+
requiresSelection: true
|
|
1172
|
+
},
|
|
1173
|
+
"Action2": {
|
|
1174
|
+
press: "xx",
|
|
1175
|
+
visible: "{= %{OverallSDProcessStatus} === 'B' }",
|
|
1176
|
+
enabled: "true",
|
|
1177
|
+
text: "Custom Action2",
|
|
1178
|
+
enableOnSelect: "xx",
|
|
1179
|
+
requiresSelection: true
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
};
|
|
1185
|
+
const basicContext_LR = getConverterContextForTest(convertedTypesSelectionMode, manifestSettings);
|
|
1186
|
+
const result = getSelectionModeForTest(
|
|
1187
|
+
true,
|
|
1188
|
+
{ isDeletable: false, isUpdatable: false },
|
|
1189
|
+
basicContext_LR,
|
|
1190
|
+
"@com.sap.vocabularies.UI.v1.LineItem",
|
|
1191
|
+
undefined,
|
|
1192
|
+
constant(true)
|
|
1193
|
+
);
|
|
1194
|
+
expect(result).toEqual("Multi");
|
|
1195
|
+
});
|
|
1196
|
+
|
|
1197
|
+
it("If the Entity is not deletable and the OP table has 1 DataFieldForIntentBasedNavigation requiring a context with Hidden binding exp with nav property and masse edit enabled", () => {
|
|
1198
|
+
const manifestSettings = {
|
|
1199
|
+
entitySet: "EntityWithBoundActionOnTableWithHiddenExp",
|
|
1200
|
+
converterType: TemplateType.ObjectPage,
|
|
1201
|
+
controlConfiguration: {
|
|
1202
|
+
"_Item/@com.sap.vocabularies.UI.v1.LineItem": {
|
|
1203
|
+
tableSettings: {
|
|
1204
|
+
enableExport: false
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
};
|
|
1209
|
+
const basicContext_OP = getConverterContextForTest(convertedTypesSelectionMode, manifestSettings);
|
|
1210
|
+
const dataModelObjectPath = basicContext_OP.getDataModelObjectPath();
|
|
1211
|
+
dataModelObjectPath.targetObject._type = "NavigationProperty";
|
|
1212
|
+
dataModelObjectPath.targetObject.partner = "owner";
|
|
1213
|
+
const result = getSelectionModeForTest(
|
|
1214
|
+
false,
|
|
1215
|
+
{ isDeletable: false, isUpdatable: false },
|
|
1216
|
+
basicContext_OP,
|
|
1217
|
+
"_Item/@com.sap.vocabularies.UI.v1.LineItem",
|
|
1218
|
+
undefined,
|
|
1219
|
+
constant(true)
|
|
1220
|
+
);
|
|
1221
|
+
expect(result).toEqual("{= %{ui>/editMode} === 'Editable' ? 'Multi' : (%{Hidden} === false ? 'Multi' : 'None')}");
|
|
1222
|
+
});
|
|
1223
|
+
|
|
1224
|
+
it("If the Entity is not deletable and the OP table has 1 DataFieldForIntentBasedNavigation requiring a context with Hidden binding exp with nav property and masse edit enabled path based", () => {
|
|
1225
|
+
const manifestSettings = {
|
|
1226
|
+
entitySet: "EntityWithBoundActionOnTableWithHiddenExp",
|
|
1227
|
+
converterType: TemplateType.ObjectPage,
|
|
1228
|
+
controlConfiguration: {
|
|
1229
|
+
"_Item/@com.sap.vocabularies.UI.v1.LineItem": {
|
|
1230
|
+
tableSettings: {
|
|
1231
|
+
enableExport: false
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
};
|
|
1236
|
+
const basicContext_OP = getConverterContextForTest(convertedTypesSelectionMode, manifestSettings);
|
|
1237
|
+
const dataModelObjectPath = basicContext_OP.getDataModelObjectPath();
|
|
1238
|
+
dataModelObjectPath.targetObject._type = "NavigationProperty";
|
|
1239
|
+
dataModelObjectPath.targetObject.partner = "owner";
|
|
1240
|
+
const result = getSelectionModeForTest(
|
|
1241
|
+
false,
|
|
1242
|
+
{ isDeletable: false, isUpdatable: false },
|
|
1243
|
+
basicContext_OP,
|
|
1244
|
+
"_Item/@com.sap.vocabularies.UI.v1.LineItem",
|
|
1245
|
+
undefined,
|
|
1246
|
+
bindingExpression("dummyOPMEExpression")
|
|
1247
|
+
);
|
|
1248
|
+
expect(result).toEqual(
|
|
1249
|
+
"{= (%{ui>/editMode} === 'Editable' && %{dummyOPMEExpression}) ? 'Multi' : (%{Hidden} === false ? 'Multi' : 'None')}"
|
|
1250
|
+
);
|
|
1251
|
+
});
|
|
1252
|
+
|
|
1253
|
+
it("If the Entity is deletable and the OP table has 1 DataFieldForIntentBasedNavigation requiring a context with Hidden binding exp with nav property and masse edit enabled path based", () => {
|
|
1254
|
+
const manifestSettings = {
|
|
1255
|
+
entitySet: "EntityWithBoundActionOnTableWithHiddenExp",
|
|
1256
|
+
converterType: TemplateType.ObjectPage,
|
|
1257
|
+
controlConfiguration: {
|
|
1258
|
+
"_Item/@com.sap.vocabularies.UI.v1.LineItem": {
|
|
1259
|
+
tableSettings: {
|
|
1260
|
+
enableExport: false
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
};
|
|
1265
|
+
const basicContext_OP = getConverterContextForTest(convertedTypesSelectionMode, manifestSettings);
|
|
1266
|
+
const dataModelObjectPath = basicContext_OP.getDataModelObjectPath();
|
|
1267
|
+
dataModelObjectPath.targetObject._type = "NavigationProperty";
|
|
1268
|
+
dataModelObjectPath.targetObject.partner = "owner";
|
|
1269
|
+
const result = getSelectionModeForTest(
|
|
1270
|
+
false,
|
|
1271
|
+
{ isDeletable: true, isUpdatable: false },
|
|
1272
|
+
basicContext_OP,
|
|
1273
|
+
"_Item/@com.sap.vocabularies.UI.v1.LineItem",
|
|
1274
|
+
undefined,
|
|
1275
|
+
bindingExpression("dummyOPMEExpression")
|
|
1276
|
+
);
|
|
1277
|
+
expect(result).toEqual("{= %{ui>/editMode} === 'Editable' ? 'Multi' : (%{Hidden} === false ? 'Multi' : 'None')}");
|
|
1278
|
+
});
|
|
885
1279
|
});
|
|
886
1280
|
|
|
887
1281
|
describe("Show counts in table title", () => {
|
|
@@ -1323,6 +1717,142 @@ describe("Table Type", () => {
|
|
|
1323
1717
|
});
|
|
1324
1718
|
});
|
|
1325
1719
|
|
|
1720
|
+
describe("Table Converter - #getP13nMode", function() {
|
|
1721
|
+
it(
|
|
1722
|
+
"get the default p13n mode",
|
|
1723
|
+
{
|
|
1724
|
+
"references": [
|
|
1725
|
+
{
|
|
1726
|
+
"type": "JIRA",
|
|
1727
|
+
"ID": "FIORITECHP1-21061"
|
|
1728
|
+
}
|
|
1729
|
+
]
|
|
1730
|
+
},
|
|
1731
|
+
function() {
|
|
1732
|
+
const converterContext = getConverterContextForTest(convertedTypes, {
|
|
1733
|
+
converterType: TemplateType.ListReport,
|
|
1734
|
+
entitySet: "TestEntity"
|
|
1735
|
+
});
|
|
1736
|
+
const p13nMode = getP13nMode("", converterContext, defaultTableControlConfiguration);
|
|
1737
|
+
expect(p13nMode).toBe("Sort,Column");
|
|
1738
|
+
}
|
|
1739
|
+
);
|
|
1740
|
+
|
|
1741
|
+
it(
|
|
1742
|
+
"get the default p13n mode when filter bar is hidden",
|
|
1743
|
+
{
|
|
1744
|
+
"references": [
|
|
1745
|
+
{
|
|
1746
|
+
"type": "JIRA",
|
|
1747
|
+
"ID": "FIORITECHP1-21061"
|
|
1748
|
+
}
|
|
1749
|
+
]
|
|
1750
|
+
},
|
|
1751
|
+
function() {
|
|
1752
|
+
const converterContext = getConverterContextForTest(convertedTypes, {
|
|
1753
|
+
converterType: TemplateType.ListReport,
|
|
1754
|
+
entitySet: "TestEntity",
|
|
1755
|
+
hideFilterBar: true
|
|
1756
|
+
});
|
|
1757
|
+
const p13nMode = getP13nMode("", converterContext, defaultTableControlConfiguration);
|
|
1758
|
+
expect(p13nMode).toBe("Sort,Column,Filter");
|
|
1759
|
+
}
|
|
1760
|
+
);
|
|
1761
|
+
|
|
1762
|
+
it(
|
|
1763
|
+
"get the default p13n mode when filter bar is hidden, with chart",
|
|
1764
|
+
{
|
|
1765
|
+
"references": [
|
|
1766
|
+
{
|
|
1767
|
+
"type": "JIRA",
|
|
1768
|
+
"ID": "FIORITECHP1-21061"
|
|
1769
|
+
}
|
|
1770
|
+
]
|
|
1771
|
+
},
|
|
1772
|
+
function() {
|
|
1773
|
+
const converterContext = getConverterContextForTest(convertedTypes, {
|
|
1774
|
+
converterType: TemplateType.ListReport,
|
|
1775
|
+
entitySet: "TestEntity",
|
|
1776
|
+
hideFilterBar: true,
|
|
1777
|
+
views: {
|
|
1778
|
+
"paths": [
|
|
1779
|
+
{
|
|
1780
|
+
"primary": [
|
|
1781
|
+
{
|
|
1782
|
+
"annotationPath": "com.sap.vocabularies.UI.v1.PresentationVariant"
|
|
1783
|
+
}
|
|
1784
|
+
],
|
|
1785
|
+
"secondary": [
|
|
1786
|
+
{
|
|
1787
|
+
"annotationPath": "com.sap.vocabularies.UI.v1.LineItem"
|
|
1788
|
+
}
|
|
1789
|
+
],
|
|
1790
|
+
"defaultPath": "both"
|
|
1791
|
+
}
|
|
1792
|
+
]
|
|
1793
|
+
}
|
|
1794
|
+
});
|
|
1795
|
+
const p13nMode = getP13nMode("", converterContext, defaultTableControlConfiguration);
|
|
1796
|
+
expect(p13nMode).toBe("Sort,Column");
|
|
1797
|
+
}
|
|
1798
|
+
);
|
|
1799
|
+
});
|
|
1800
|
+
|
|
1801
|
+
describe("Table Converter - #getTableAnnotationConfiguration", function() {
|
|
1802
|
+
it(
|
|
1803
|
+
"get the default autoBindOnInit",
|
|
1804
|
+
{
|
|
1805
|
+
"references": [
|
|
1806
|
+
{
|
|
1807
|
+
"type": "JIRA",
|
|
1808
|
+
"ID": "FIORITECHP1-21061"
|
|
1809
|
+
}
|
|
1810
|
+
]
|
|
1811
|
+
},
|
|
1812
|
+
function() {
|
|
1813
|
+
const converterContext = getConverterContextForTest(convertedTypes, {
|
|
1814
|
+
converterType: TemplateType.ListReport,
|
|
1815
|
+
entitySet: "TestEntity"
|
|
1816
|
+
});
|
|
1817
|
+
const tableAnnotationConfiguration = getTableAnnotationConfiguration(
|
|
1818
|
+
(converterContext.getEntityType().annotations?.UI as any)["LineItem"] as LineItem,
|
|
1819
|
+
"",
|
|
1820
|
+
converterContext,
|
|
1821
|
+
defaultTableControlConfiguration,
|
|
1822
|
+
[]
|
|
1823
|
+
);
|
|
1824
|
+
expect(tableAnnotationConfiguration.autoBindOnInit).toBe(false);
|
|
1825
|
+
}
|
|
1826
|
+
);
|
|
1827
|
+
|
|
1828
|
+
it(
|
|
1829
|
+
"get autoBindOnInit when filter bar is hidden",
|
|
1830
|
+
{
|
|
1831
|
+
"references": [
|
|
1832
|
+
{
|
|
1833
|
+
"type": "JIRA",
|
|
1834
|
+
"ID": "FIORITECHP1-21061"
|
|
1835
|
+
}
|
|
1836
|
+
]
|
|
1837
|
+
},
|
|
1838
|
+
function() {
|
|
1839
|
+
const converterContext = getConverterContextForTest(convertedTypes, {
|
|
1840
|
+
converterType: TemplateType.ListReport,
|
|
1841
|
+
entitySet: "TestEntity",
|
|
1842
|
+
hideFilterBar: true
|
|
1843
|
+
});
|
|
1844
|
+
const tableAnnotationConfiguration = getTableAnnotationConfiguration(
|
|
1845
|
+
(converterContext.getEntityType().annotations?.UI as any)["LineItem"] as LineItem,
|
|
1846
|
+
"",
|
|
1847
|
+
converterContext,
|
|
1848
|
+
defaultTableControlConfiguration,
|
|
1849
|
+
[]
|
|
1850
|
+
);
|
|
1851
|
+
expect(tableAnnotationConfiguration.autoBindOnInit).toBe(true);
|
|
1852
|
+
}
|
|
1853
|
+
);
|
|
1854
|
+
});
|
|
1855
|
+
|
|
1326
1856
|
describe("Table Converter - #getTableActions", function() {
|
|
1327
1857
|
it("can retrieve basic actions", function() {
|
|
1328
1858
|
const converterContext = getConverterContextForTest(convertedTypes, {
|
|
@@ -1440,12 +1970,13 @@ describe("Table Converter - #getTableColumns", function() {
|
|
|
1440
1970
|
converterContext,
|
|
1441
1971
|
{}
|
|
1442
1972
|
);
|
|
1443
|
-
expect(columns.length).toBe(
|
|
1973
|
+
expect(columns.length).toBe(8);
|
|
1444
1974
|
expect(columns[0].key).toBe("DataField::IsActiveEntity");
|
|
1445
|
-
expect(columns[3].key).toBe("DataField::
|
|
1446
|
-
expect(columns[
|
|
1447
|
-
expect(columns[4].
|
|
1448
|
-
expect(columns[
|
|
1975
|
+
expect(columns[3].key).toBe("DataField::DraftAdministrativeData_DraftUUID");
|
|
1976
|
+
expect(columns[4].key).toBe("DataField::ID");
|
|
1977
|
+
expect(columns[4].width).toBe(undefined);
|
|
1978
|
+
expect(columns[5].key).toBe("DataField::name");
|
|
1979
|
+
expect(columns[7].key).toBe("Property::name");
|
|
1449
1980
|
});
|
|
1450
1981
|
it(
|
|
1451
1982
|
"can also merge column with the ones defined in the manifest",
|
|
@@ -1520,15 +2051,16 @@ describe("Table Converter - #getTableColumns", function() {
|
|
|
1520
2051
|
converterContext,
|
|
1521
2052
|
{}
|
|
1522
2053
|
);
|
|
1523
|
-
expect(columns.length).toBe(
|
|
2054
|
+
expect(columns.length).toBe(12);
|
|
1524
2055
|
expect(columns[0].key).toBe("DataField::IsActiveEntity");
|
|
1525
|
-
expect(columns[3].key).toBe("DataField::
|
|
1526
|
-
expect(columns[
|
|
1527
|
-
expect(columns[4].
|
|
1528
|
-
expect(columns[5].key).toBe("
|
|
1529
|
-
expect(columns[6].key).toBe("
|
|
1530
|
-
expect(columns[7].key).toBe("
|
|
1531
|
-
expect(columns[
|
|
2056
|
+
expect(columns[3].key).toBe("DataField::DraftAdministrativeData_DraftUUID");
|
|
2057
|
+
expect(columns[4].key).toBe("DataField::ID");
|
|
2058
|
+
expect(columns[4].width).toBe("20em");
|
|
2059
|
+
expect(columns[5].key).toBe("CustomColumnRating");
|
|
2060
|
+
expect(columns[6].key).toBe("CustomColumnButton");
|
|
2061
|
+
expect(columns[7].key).toBe("CustomColumnSoldToParty");
|
|
2062
|
+
expect(columns[8].key).toBe("CustomColumnFixedText");
|
|
2063
|
+
expect(columns[11].key).toBe("Property::name");
|
|
1532
2064
|
}
|
|
1533
2065
|
);
|
|
1534
2066
|
|