@sap/open.fe 1.94.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/LICENSE.txt +23 -0
- package/README.md +10 -0
- package/package.json +21 -0
- package/packages/sap.fe.common/src/sap/fe/common/.library +36 -0
- package/packages/sap.fe.common/src/sap/fe/common/.theming +6 -0
- package/packages/sap.fe.common/src/sap/fe/common/MessageButton-dbg.js +1378 -0
- package/packages/sap.fe.common/src/sap/fe/common/MessageButton.js +6 -0
- package/packages/sap.fe.common/src/sap/fe/common/MessageFilter-dbg.js +36 -0
- package/packages/sap.fe.common/src/sap/fe/common/MessageFilter.js +6 -0
- package/packages/sap.fe.common/src/sap/fe/common/MessagePopover-dbg.js +56 -0
- package/packages/sap.fe.common/src/sap/fe/common/MessagePopover.js +6 -0
- package/packages/sap.fe.common/src/sap/fe/common/library-dbg.js +41 -0
- package/packages/sap.fe.common/src/sap/fe/common/library-h2-preload.js +18 -0
- package/packages/sap.fe.common/src/sap/fe/common/library-h2-preload.js.map +9 -0
- package/packages/sap.fe.common/src/sap/fe/common/library-preload.js +68 -0
- package/packages/sap.fe.common/src/sap/fe/common/library-preload.js.map +9 -0
- package/packages/sap.fe.common/src/sap/fe/common/library.js +6 -0
- package/packages/sap.fe.common/src/sap/fe/common/manifest.json +40 -0
- package/packages/sap.fe.common/src/sap/fe/common/resources.json +186 -0
- package/packages/sap.fe.common/test/sap/fe/common/designtime/api.json +1 -0
- package/packages/sap.fe.common/test/sap/fe/common/designtime/apiref/api.json +1 -0
- package/packages/sap.fe.common/test/sap/fe/common/designtime/codeassistance/Library.jsmeta.json +1 -0
- package/packages/sap.fe.common/test/sap/fe/common/designtime/codeassistance/Library.jstemplates.json +1 -0
- package/packages/sap.fe.common/test/sap/fe/common/designtime/codeassistance/Library.xmlmeta.json +1 -0
- package/packages/sap.fe.common/test/sap/fe/common/designtime/codeassistance/Library.xmltemplates.json +1 -0
- package/packages/sap.fe.common/test/sap/fe/common/relnotes/changes-1.91.json +23 -0
- package/packages/sap.fe.common/test/sap/fe/common/relnotes/changes-1.94.json +23 -0
- package/packages/sap.fe.core/src/sap/fe/core/.library +60 -0
- package/packages/sap.fe.core/src/sap/fe/core/.supportrc +4 -0
- package/packages/sap.fe.core/src/sap/fe/core/.theming +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/AnnotationHelper-dbg.js +409 -0
- package/packages/sap.fe.core/src/sap/fe/core/AnnotationHelper.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/AppComponent-dbg.js +433 -0
- package/packages/sap.fe.core/src/sap/fe/core/AppComponent.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/AppStateHandler-dbg.js +184 -0
- package/packages/sap.fe.core/src/sap/fe/core/AppStateHandler.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/BaseController-dbg.js +65 -0
- package/packages/sap.fe.core/src/sap/fe/core/BaseController.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/BusyLocker-dbg.js +112 -0
- package/packages/sap.fe.core/src/sap/fe/core/BusyLocker.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/CommonUtils-dbg.js +2246 -0
- package/packages/sap.fe.core/src/sap/fe/core/CommonUtils.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/ExtensionAPI-dbg.js +269 -0
- package/packages/sap.fe.core/src/sap/fe/core/ExtensionAPI.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/PageController-dbg.js +120 -0
- package/packages/sap.fe.core/src/sap/fe/core/PageController.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/RouterProxy-dbg.js +822 -0
- package/packages/sap.fe.core/src/sap/fe/core/RouterProxy.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/Synchronization-dbg.js +38 -0
- package/packages/sap.fe.core/src/sap/fe/core/Synchronization.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/TemplateComponent-dbg.js +152 -0
- package/packages/sap.fe.core/src/sap/fe/core/TemplateComponent.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/TemplateModel-dbg.js +57 -0
- package/packages/sap.fe.core/src/sap/fe/core/TemplateModel.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/TransactionHelper-dbg.js +1584 -0
- package/packages/sap.fe.core/src/sap/fe/core/TransactionHelper.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/actions/draft-dbg.js +584 -0
- package/packages/sap.fe.core/src/sap/fe/core/actions/draft.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/actions/messageHandling-dbg.js +439 -0
- package/packages/sap.fe.core/src/sap/fe/core/actions/messageHandling.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/actions/nonDraft-dbg.js +23 -0
- package/packages/sap.fe.core/src/sap/fe/core/actions/nonDraft.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/actions/operations-dbg.js +1174 -0
- package/packages/sap.fe.core/src/sap/fe/core/actions/operations.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/actions/sticky-dbg.js +121 -0
- package/packages/sap.fe.core/src/sap/fe/core/actions/sticky.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/ControllerExtensionMetadata-dbg.js +75 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/ControllerExtensionMetadata.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/EditFlow-dbg.js +1667 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/EditFlow.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/IntentBasedNavigation-dbg.js +57 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/IntentBasedNavigation.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalEditFlow-dbg.js +501 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalEditFlow.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation-dbg.js +707 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalIntentBasedNavigation.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalRouting-dbg.js +989 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/InternalRouting.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/KPIManagement-dbg.js +417 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/KPIManagement.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/KPIManagement.ts +399 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/MessageHandler-dbg.js +116 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/MessageHandler.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/PageReady-dbg.js +403 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/PageReady.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/PageReady.ts +350 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Paginator-dbg.js +135 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Paginator.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Placeholder-dbg.js +287 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Placeholder.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Routing-dbg.js +109 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Routing.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/RoutingListener-dbg.js +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/RoutingListener.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Share-dbg.js +258 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/Share.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/SideEffects-dbg.js +711 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/SideEffects.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/SideEffects.ts +692 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/ViewState-dbg.js +615 -0
- package/packages/sap.fe.core/src/sap/fe/core/controllerextensions/ViewState.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/ActionParameterDialog.fragment.xml +76 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/ActionPartial.fragment.xml +91 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/CommandExecution-dbg.js +71 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/CommandExecution.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/ConditionalWrapper-dbg.js +82 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/ConditionalWrapper.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/CustomQuickViewPage-dbg.js +127 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/CustomQuickViewPage.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/DataLossOrDraftDiscard/DataLossDraft.fragment.xml +12 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/DataLossOrDraftDiscard/DataLossOrDraftDiscardHandler-dbg.js +122 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/DataLossOrDraftDiscard/DataLossOrDraftDiscardHandler.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/FieldWrapper-dbg.js +150 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/FieldWrapper.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/FilterBar-dbg.js +162 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/FilterBar.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/FormElementWrapper-dbg.js +47 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/FormElementWrapper.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/NonComputedVisibleKeyFieldsDialog.fragment.xml +61 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar/FilterContainer-dbg.js +122 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar/FilterContainer.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar/VisualFilter-dbg.js +209 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar/VisualFilter.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar/VisualFilterContainer-dbg.js +148 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar/VisualFilterContainer.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar/utils/VisualFilterUtils-dbg.js +319 -0
- package/packages/sap.fe.core/src/sap/fe/core/controls/filterbar/utils/VisualFilterUtils.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/ConverterContext-dbg.js +500 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/ConverterContext.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/ConverterContext.ts +460 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestSettings-dbg.js +90 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestSettings.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestSettings.ts +431 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestWrapper-dbg.js +404 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestWrapper.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/ManifestWrapper.ts +322 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/MetaModelConverter-dbg.js +1294 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/MetaModelConverter.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/MetaModelConverter.ts +1172 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/TemplateConverter-dbg.js +100 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/TemplateConverter.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/TemplateConverter.ts +126 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/annotations/DataField-dbg.js +335 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/annotations/DataField.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/annotations/DataField.ts +306 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/common/AnnotationConverter-dbg.js +1692 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/common/AnnotationConverter.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Action-dbg.js +349 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Action.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Action.ts +353 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Chart-dbg.js +206 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Chart.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Chart.ts +202 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Criticality-dbg.js +50 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Criticality.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Criticality.ts +33 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/DataVisualization-dbg.js +276 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/DataVisualization.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/DataVisualization.ts +296 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Form-dbg.js +222 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Form.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Form.ts +241 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/KPI-dbg.js +181 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/KPI.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/KPI.ts +220 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Table-dbg.js +2100 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Table.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/Common/Table.ts +2446 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/FilterBar-dbg.js +499 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/FilterBar.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/FilterBar.ts +545 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/VisualFilters-dbg.js +335 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/VisualFilters.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ListReport/VisualFilters.ts +316 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ObjectPage/HeaderFacet-dbg.js +495 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ObjectPage/HeaderFacet.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ObjectPage/HeaderFacet.ts +502 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ObjectPage/SubSection-dbg.js +674 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ObjectPage/SubSection.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/controls/ObjectPage/SubSection.ts +711 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/Aggregation-dbg.js +204 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/Aggregation.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/Aggregation.ts +176 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/BindingHelper-dbg.js +96 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/BindingHelper.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/BindingHelper.ts +76 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/ConfigurableObject-dbg.js +217 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/ConfigurableObject.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/ConfigurableObject.ts +211 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/ID-dbg.js +90 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/ID.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/ID.ts +45 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/IssueManager-dbg.js +61 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/IssueManager.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/IssueManager.ts +41 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/Key-dbg.js +86 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/Key.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/Key.ts +49 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/SelectionVariantHelper-dbg.js +93 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/SelectionVariantHelper.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/helpers/SelectionVariantHelper.ts +92 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/objectPage/FormMenuActions-dbg.js +164 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/objectPage/FormMenuActions.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/objectPage/FormMenuActions.ts +160 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/objectPage/HeaderAndFooterAction-dbg.js +427 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/objectPage/HeaderAndFooterAction.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/objectPage/HeaderAndFooterAction.ts +414 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/templates/ListReportConverter-dbg.js +552 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/templates/ListReportConverter.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/templates/ListReportConverter.ts +601 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/templates/ObjectPageConverter-dbg.js +320 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/templates/ObjectPageConverter.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/converters/templates/ObjectPageConverter.ts +314 -0
- package/packages/sap.fe.core/src/sap/fe/core/designtime/AppComponent-dbg.designtime.js +93 -0
- package/packages/sap.fe.core/src/sap/fe/core/designtime/AppComponent.designtime.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/designtime/library-preload.designtime.js +8 -0
- package/packages/sap.fe.core/src/sap/fe/core/designtime/library-preload.designtime.js.map +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/CriticalityFormatter-dbg.js +77 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/CriticalityFormatter.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/CriticalityFormatter.ts +58 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/FPMFormatter-dbg.js +51 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/FPMFormatter.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/FPMFormatter.ts +41 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/KPIFormatter-dbg.js +103 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/KPIFormatter.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/KPIFormatter.ts +88 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/TableFormatter-dbg.js +100 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/TableFormatter.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/TableFormatter.ts +80 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/TableFormatterTypes-dbg.js +23 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/TableFormatterTypes.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/TableFormatterTypes.ts +7 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/ValueFormatter-dbg.js +162 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/ValueFormatter.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/formatters/ValueFormatter.ts +130 -0
- package/packages/sap.fe.core/src/sap/fe/core/fpm/Component-dbg.js +58 -0
- package/packages/sap.fe.core/src/sap/fe/core/fpm/Component.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/fpm/manifest.json +64 -0
- package/packages/sap.fe.core/src/sap/fe/core/fpm/resources.json +18 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/AnnotationEnum-dbg.js +49 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/AnnotationEnum.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/AnnotationEnum.ts +18 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/BindingExpression-dbg.js +1667 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/BindingExpression.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/BindingExpression.ts +1765 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/ClassSupport-dbg.js +314 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/ClassSupport.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/ClassSupport.ts +232 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/DynamicAnnotationPathHelper-dbg.js +62 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/DynamicAnnotationPathHelper.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/EditState-dbg.js +92 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/EditState.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/ExcelFormatHelper-dbg.js +53 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/ExcelFormatHelper.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/FPMHelper-dbg.js +64 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/FPMHelper.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/ModelHelper-dbg.js +150 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/ModelHelper.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/PasteHelper-dbg.js +130 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/PasteHelper.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/SemanticDateOperators-dbg.js +327 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/SemanticDateOperators.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/SemanticKeyHelper-dbg.js +78 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/SemanticKeyHelper.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/StableIdHelper-dbg.js +267 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/StableIdHelper.js +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/helpers/StableIdHelper.ts +228 -0
- package/packages/sap.fe.core/src/sap/fe/core/jsx-runtime/jsx-dbg.js +75 -0
- package/packages/sap.fe.core/src/sap/fe/core/jsx-runtime/jsx.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/jsx-runtime/jsx.ts +83 -0
- package/packages/sap.fe.core/src/sap/fe/core/jsx-runtime/jsxs-dbg.js +10 -0
- package/packages/sap.fe.core/src/sap/fe/core/jsx-runtime/jsxs.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/jsx-runtime/jsxs.ts +3 -0
- package/packages/sap.fe.core/src/sap/fe/core/library-dbg.js +429 -0
- package/packages/sap.fe.core/src/sap/fe/core/library-h2-preload.js +123 -0
- package/packages/sap.fe.core/src/sap/fe/core/library-h2-preload.js.map +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/library-preload.js +1201 -0
- package/packages/sap.fe.core/src/sap/fe/core/library-preload.js.map +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/library-preload.support.js +148 -0
- package/packages/sap.fe.core/src/sap/fe/core/library-preload.support.js.map +9 -0
- package/packages/sap.fe.core/src/sap/fe/core/library.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/library.support.js +32 -0
- package/packages/sap.fe.core/src/sap/fe/core/manifest.json +121 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle.properties +417 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ar.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_bg.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ca.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_cs.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_cy.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_da.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_de.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_el.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_GB.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_US_sappsd.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_US_saprigi.properties +275 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_en_US_saptrc.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_es.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_es_MX.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_et.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_fi.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_fr.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_fr_CA.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_hi.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_hr.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_hu.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_id.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_it.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_iw.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ja.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_kk.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ko.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_lt.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_lv.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ms.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_nl.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_no.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_pl.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_pt.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_pt_PT.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ro.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_ru.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sh.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sk.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sl.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_sv.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_th.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_tr.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_uk.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_vi.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_zh_CN.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/messagebundle_zh_TW.properties +273 -0
- package/packages/sap.fe.core/src/sap/fe/core/resources.json +4087 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/AsyncComponentServiceFactory-dbg.js +106 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/AsyncComponentServiceFactory.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/AsyncComponentServiceFactory.ts +58 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/CacheHandlerServiceFactory-dbg.js +205 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/CacheHandlerServiceFactory.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/EnvironmentServiceFactory-dbg.js +128 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/EnvironmentServiceFactory.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/EnvironmentServiceFactory.ts +71 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/NavigationServiceFactory-dbg.js +303 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/NavigationServiceFactory.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/ResourceModelServiceFactory-dbg.js +84 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/ResourceModelServiceFactory.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/RoutingServiceFactory-dbg.js +1099 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/RoutingServiceFactory.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/ShellServicesFactory-dbg.js +819 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/ShellServicesFactory.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/ShellServicesFactory.ts +720 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/SideEffectsServiceFactory-dbg.js +731 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/SideEffectsServiceFactory.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/SideEffectsServiceFactory.ts +668 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/TemplatedViewServiceFactory-dbg.js +471 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/TemplatedViewServiceFactory.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/view/TemplatingErrorPage-dbg.controller.js +12 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/view/TemplatingErrorPage.controller.js +6 -0
- package/packages/sap.fe.core/src/sap/fe/core/services/view/TemplatingErrorPage.view.xml +8 -0
- package/packages/sap.fe.core/src/sap/fe/core/support/AnnotationIssue.support.js +38 -0
- package/packages/sap.fe.core/src/sap/fe/core/support/AnnotationIssue.support.ts +20 -0
- package/packages/sap.fe.core/src/sap/fe/core/support/CollectionFacetMissingID.support.js +38 -0
- package/packages/sap.fe.core/src/sap/fe/core/support/CollectionFacetMissingID.support.ts +18 -0
- package/packages/sap.fe.core/src/sap/fe/core/support/CollectionFacetUnsupportedLevel.support.js +38 -0
- package/packages/sap.fe.core/src/sap/fe/core/support/CollectionFacetUnsupportedLevel.support.ts +18 -0
- package/packages/sap.fe.core/src/sap/fe/core/support/CommonHelper-dbg.js +71 -0
- package/packages/sap.fe.core/src/sap/fe/core/support/CommonHelper.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/support/CommonHelper.ts +67 -0
- package/packages/sap.fe.core/src/sap/fe/core/support/Diagnostics-dbg.js +73 -0
- package/packages/sap.fe.core/src/sap/fe/core/support/Diagnostics.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/support/Diagnostics.ts +66 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/CriticalityFormatters-dbg.js +156 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/CriticalityFormatters.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/CriticalityFormatters.ts +226 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/DataFieldFormatters-dbg.js +77 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/DataFieldFormatters.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/DataFieldFormatters.ts +54 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/DataModelPathHelper-dbg.js +444 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/DataModelPathHelper.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/DataModelPathHelper.ts +428 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/EntitySetHelper-dbg.js +33 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/EntitySetHelper.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/EntitySetHelper.ts +13 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/FieldControlHelper-dbg.js +89 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/FieldControlHelper.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/FieldControlHelper.ts +53 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/FilterHelper-dbg.js +331 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/FilterHelper.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/FilterHelper.ts +310 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/FilterTemplating-dbg.js +66 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/FilterTemplating.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/FilterTemplating.ts +39 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/PropertyFormatters-dbg.js +126 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/PropertyFormatters.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/PropertyFormatters.ts +86 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/PropertyHelper-dbg.js +303 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/PropertyHelper.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/PropertyHelper.ts +209 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/UIFormatters-dbg.js +525 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/UIFormatters.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/templating/UIFormatters.ts +489 -0
- package/packages/sap.fe.core/src/sap/fe/core/type/Email-dbg.js +20 -0
- package/packages/sap.fe.core/src/sap/fe/core/type/Email.js +5 -0
- package/packages/sap.fe.core/src/sap/fe/core/type/Email.ts +18 -0
- package/packages/sap.fe.core/test/sap/fe/core/designtime/api.json +1 -0
- package/packages/sap.fe.core/test/sap/fe/core/designtime/apiref/api.json +1 -0
- package/packages/sap.fe.core/test/sap/fe/core/designtime/codeassistance/Library.jsmeta.json +1 -0
- package/packages/sap.fe.core/test/sap/fe/core/designtime/codeassistance/Library.jstemplates.json +1 -0
- package/packages/sap.fe.core/test/sap/fe/core/designtime/codeassistance/Library.xmlmeta.json +1 -0
- package/packages/sap.fe.core/test/sap/fe/core/designtime/codeassistance/Library.xmltemplates.json +1 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/Component.js +56 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/controller/App.controller.js +252 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/controller/BaseController.js +46 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/controller/ControllerExtensions.controller.js +380 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/controller/CustomElements.controller.js +380 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/controller/MacrosPage.controller.js +382 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/controller/Overview.controller.js +99 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/controller/Topic.controller.js +71 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/controls/FileEditor.js +401 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/css/FileEditor.css +8 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/css/codesample.css +172 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/css/markdown-styles.css +3 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/css/style.css +48 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/css/topic.css +176 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/index.html +62 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/manifest.json +132 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/model/ControllerExtensionNavigationModel.js +174 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/model/CustomElementNavigationModel.js +327 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/model/ExploreSettingsModel.js +12 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/model/MacroNavigationModel.js +709 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/model/OverviewNavigationModel.js +15 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/scripts/boot.js +68 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/service-worker.js +100 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/template/.gitignore.tmpl +0 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/template/.npmrc.tmpl +0 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/template/README.md +43 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/template/package.json +31 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/template/ui5-local.yaml +25 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/template/ui5.yaml +25 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/template/webapp/Component.js +9 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/template/webapp/i18n/i18n.properties +9 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/template/webapp/index.html +28 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/template/webapp/manifest.json +165 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/FCL/FclNavigationButtons/Component.js +31 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/FCL/FclNavigationButtons/localService/Incidents.json +56 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/FCL/FclNavigationButtons/localService/service.cds +32 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/FCL/FclNavigationButtons/manifest.json +109 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/FCL/FclNavigationButtons/myViewTest.controller.js +6 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/FCL/FclNavigationButtons/myViewTest.view.xml +30 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/FclNavigationButtons.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/buildingBlockOverview.html +24 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/buildingBlockOverview.md +23 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartDefault/ChartDefault.controller.js +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartDefault/ChartDefault.view.xml +21 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartDefault/Component.js +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartDefault/localService/ChildEntity.json +686 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartDefault/localService/CreditLimitDetails.json +154 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartDefault/localService/RootEntity.json +252 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartDefault/localService/service.cds +122 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartDefault/manifest.json +69 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartQualifier/ChartQualifier.controller.js +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartQualifier/ChartQualifier.view.xml +20 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartQualifier/Component.js +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartQualifier/localService/ChildEntity.json +686 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartQualifier/localService/CreditLimitDetails.json +154 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartQualifier/localService/RootEntity.json +252 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartQualifier/localService/service.cds +122 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartQualifier/manifest.json +69 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartSelectionMode/ChartSelectionMode.controller.js +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartSelectionMode/ChartSelectionMode.view.xml +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartSelectionMode/Component.js +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartSelectionMode/localService/ChildEntity.json +686 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartSelectionMode/localService/CreditLimitDetails.json +154 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartSelectionMode/localService/RootEntity.json +277 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartSelectionMode/localService/service.cds +122 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chart/chartSelectionMode/manifest.json +69 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chartDefault.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chartQualifier.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/chartSelectionMode.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldDisplay/Component.js +34 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldDisplay/FieldDisplay.view.xml +64 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldDisplay/localService/ChildEntity.json +14 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldDisplay/localService/FieldDisplay.cds +94 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldDisplay/localService/RootEntity.json +23 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldDisplay/localService/ValueHelpEntity.js +11 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldDisplay/manifest.json +68 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEdit/Component.js +33 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEdit/FieldEdit.controller.js +10 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEdit/FieldEdit.view.xml +101 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEdit/localService/ChildEntity.json +14 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEdit/localService/FieldControlValueHelpEntity.json +14 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEdit/localService/FieldEdit.cds +77 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEdit/localService/RootEntity.json +14 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEdit/localService/localAnnotations.xml +38 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEdit/manifest.json +75 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEvents/Component.js +33 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEvents/FieldEvents.controller.js +23 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEvents/FieldEvents.view.xml +20 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEvents/localService/Entities.json +6 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEvents/localService/service.cds +6 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldEvents/manifest.json +68 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/Component.js +33 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/FieldFormatOptions.controller.js +10 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/FieldFormatOptions.view.xml +132 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/localService/Currencies.json +29 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/localService/Currencies_texts.json +38 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/localService/FieldFormatOptions.cds +58 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/localService/Languages.json +17 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/localService/Languages_texts.json +38 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/localService/RootEntity.json +13 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/localService/UnitOfMeasure.json +12 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldFormatOptions/manifest.json +68 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldNavProp/Component.js +33 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldNavProp/FieldNavProp.controller.js +10 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldNavProp/FieldNavProp.view.xml +114 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldNavProp/localService/FieldNavProp.cds +161 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldNavProp/localService/NavProp1.json +25 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldNavProp/localService/NavProp2.json +7 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldNavProp/localService/RootEntity.json +14 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldNavProp/localService/ValueHelpEntity.json +14 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/field/fieldNavProp/manifest.json +68 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/fieldDisplay.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/fieldEdit.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/fieldEvents.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/fieldFormatOptions.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/fieldNavProp.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/Component.js +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/FilterBarDefault.controller.js +35 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/FilterBarDefault.view.xml +58 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/localService/ChildEntity.json +686 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/localService/CreditLimitDetails.json +154 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/localService/RootEntity.json +102 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/localService/ValueHelpEntity.js +11 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/localService/service.cds +96 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBar/filterBarDefault/manifest.json +68 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/filterBarDefault.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/formElement/formElementCustomField/Component.js +33 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/formElement/formElementCustomField/FormElementCustomField.view.xml +49 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/formElement/formElementCustomField/localService/FormElementCustomField.cds +19 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/formElement/formElementCustomField/localService/RootEntity.json +13 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/formElement/formElementCustomField/manifest.json +68 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/formElement/formElementLabel/Component.js +33 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/formElement/formElementLabel/FormElementLabel.view.xml +32 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/formElement/formElementLabel/localService/FormElementLabel.cds +19 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/formElement/formElementLabel/localService/RootEntity.json +13 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/formElement/formElementLabel/manifest.json +68 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/formElementCustomField.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/formElementLabel.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/i18n/i18n.properties +19 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microChartDefault.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microChartDynamicSize.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microChartHideOnNoData.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microChartShowOnlyChart.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDefault/Component.js +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDefault/MicroChartDefault.controller.js +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDefault/MicroChartDefault.view.xml +83 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDefault/localService/ChildEntity.json +686 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDefault/localService/CreditLimitDetails.json +154 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDefault/localService/RootEntity.json +34 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDefault/localService/service.cds +308 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDefault/manifest.json +69 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDynamicSize/Component.js +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDynamicSize/MicroChartDynamicSize.controller.js +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDynamicSize/MicroChartDynamicSize.view.xml +93 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDynamicSize/localService/ChildEntity.json +686 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDynamicSize/localService/CreditLimitDetails.json +154 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDynamicSize/localService/RootEntity.json +34 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDynamicSize/localService/service.cds +308 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartDynamicSize/manifest.json +69 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartHideOnNoData/Component.js +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartHideOnNoData/MicroChartHideOnNoData.controller.js +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartHideOnNoData/MicroChartHideOnNoData.view.xml +91 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartHideOnNoData/localService/ChildEntity.json +686 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartHideOnNoData/localService/CreditLimitDetails.json +154 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartHideOnNoData/localService/RootEntity.json +34 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartHideOnNoData/localService/service.cds +308 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartHideOnNoData/manifest.json +69 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartShowOnlyChart/Component.js +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartShowOnlyChart/MicroChartShowOnlyChart.controller.js +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartShowOnlyChart/MicroChartShowOnlyChart.view.xml +93 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartShowOnlyChart/localService/ChildEntity.json +686 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartShowOnlyChart/localService/CreditLimitDetails.json +154 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartShowOnlyChart/localService/RootEntity.json +34 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartShowOnlyChart/localService/service.cds +308 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/microchart/microChartShowOnlyChart/manifest.json +69 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/paginator/paginatorDefault/Component.js +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/paginator/paginatorDefault/PaginatorDefault.controller.js +27 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/paginator/paginatorDefault/PaginatorDefault.view.xml +45 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/paginator/paginatorDefault/localService/RootEntity.json +102 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/paginator/paginatorDefault/localService/ValueHelpEntity.js +11 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/paginator/paginatorDefault/localService/service.cds +90 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/paginator/paginatorDefault/manifest.json +79 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/paginatorDefault.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/share/Component.js +34 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/share/Share.controller.js +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/share/Share.view.xml +23 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/share/localService/RootEntity.json +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/share/localService/Share.cds +11 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/share/manifest.json +68 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/shareDefault.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableCustoms/Component.js +40 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableCustoms/Page.controller.js +32 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableCustoms/Page.view.xml +32 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableCustoms/localService/RootEntity.json +82 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableCustoms/localService/service.cds +82 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableCustoms/manifest.json +78 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableDefault/Component.js +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableDefault/TableDefault.controller.js +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableDefault/TableDefault.view.xml +10 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableDefault/localService/RootEntity.json +102 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableDefault/localService/ValueHelpEntity.js +11 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableDefault/localService/service.cds +90 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableDefault/manifest.json +79 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableEdit/Component.js +35 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableEdit/TableEdit.controller.js +19 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableEdit/TableEdit.view.xml +31 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableEdit/localService/RootEntity.json +78 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableEdit/localService/ValueHelpCurrencyEntity.json +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableEdit/localService/ValueHelpEntity.js +11 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableEdit/localService/service.cds +119 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/table/tableEdit/manifest.json +82 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/tableCustoms.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/tableDefault.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/buildingBlocks/tableEdit.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/basicExtensibility/Component.js +35 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/basicExtensibility/OPExtend.controller.js +41 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/basicExtensibility/localService/RootEntity.json +12 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/basicExtensibility/localService/service.cds +52 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/basicExtensibility/manifest.json +76 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/basicExtensibility.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/controllerExtensionsOverview.html +24 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/controllerExtensionsOverview.md +18 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/intentBasedNavigation/Component.js +35 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/intentBasedNavigation/IntentBasedNavigation.controller.js +21 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/intentBasedNavigation/IntentBasedNavigation.view.xml +23 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/intentBasedNavigation/localService/RootEntity.json +12 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/intentBasedNavigation/localService/service.cds +40 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/intentBasedNavigation/manifest.json +76 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/intentBasedNavigation.html +70 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/routingExtensibility/Component.js +35 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/routingExtensibility/extendLR.controller.js +63 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/routingExtensibility/extendOP.controller.js +13 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/routingExtensibility/localService/RootEntity.json +18 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/routingExtensibility/localService/service.cds +64 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/routingExtensibility/manifest.json +103 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/routingExtensibility.html +70 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/share/Component.js +35 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/share/Share.controller.js +11 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/share/Share.view.xml +21 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/share/ShareExtend.js +15 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/share/localService/RootEntity.json +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/share/localService/service.cds +11 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/share/manifest.json +68 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/shareExtensibility.html +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/viewState/Component.js +35 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/viewState/CustomSection.fragment.xml +15 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/viewState/OPExtend.controller.js +57 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/viewState/localService/RootEntity.json +12 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/viewState/localService/service.cds +40 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/viewState/manifest.json +86 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/controllerExtensions/viewState.html +70 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customAction/customActionContent/Component.js +35 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customAction/customActionContent/CustomAction.js +41 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customAction/customActionContent/extendOP.controller.js +9 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customAction/customActionContent/localService/ChildEntity.json +22 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customAction/customActionContent/localService/RootEntity.json +10 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customAction/customActionContent/localService/service.cds +73 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customAction/customActionContent/manifest.json +133 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customActionContent.html +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/Component.js +35 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/CustomColumn.js +25 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/CustomColumnAdaptation.fragment.xml +11 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/CustomColumnButton.fragment.xml +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/localService/ChildEntity.json +26 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/localService/RootEntity.json +9 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/localService/service.cds +55 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumn/customColumnContent/manifest.json +98 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customColumnContent.html +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customElementsOverview.html +24 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customElementsOverview.md +21 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customFilter/customFilterContent/Component.js +35 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customFilter/customFilterContent/CustomFilter.js +28 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customFilter/customFilterContent/CustomRatingFilter.fragment.xml +8 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customFilter/customFilterContent/CustomRatingFilterOperator.fragment.xml +17 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customFilter/customFilterContent/localService/RootEntity.json +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customFilter/customFilterContent/localService/service.cds +75 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customFilter/customFilterContent/manifest.json +87 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customFilterContent.html +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacet/customHeaderFacetContent/Component.js +35 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacet/customHeaderFacetContent/CustomHeaderFacetColumnChart.fragment.xml +19 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacet/customHeaderFacetContent/CustomHeaderFacetDataPoint.fragment.xml +11 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacet/customHeaderFacetContent/CustomHeaderFacetMicroChartAndFormElement.fragment.xml +42 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacet/customHeaderFacetContent/localService/RootEntity.json +12 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacet/customHeaderFacetContent/localService/service.cds +54 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacet/customHeaderFacetContent/manifest.json +127 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customHeaderFacetContent.html +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customPage/customPageContent/Component.js +35 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customPage/customPageContent/CustomDetailPage.controller.js +12 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customPage/customPageContent/CustomDetailPage.view.xml +64 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customPage/customPageContent/CustomPage.controller.js +10 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customPage/customPageContent/CustomPage.view.xml +39 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customPage/customPageContent/localService/ChildEntity.json +23 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customPage/customPageContent/localService/RootEntity.json +41 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customPage/customPageContent/localService/ValueHelpCurrencyEntity.json +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customPage/customPageContent/localService/ValueHelpEntity.js +11 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customPage/customPageContent/localService/resources/275081.jpg +0 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customPage/customPageContent/localService/resources/275472.jpg +0 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customPage/customPageContent/localService/service.cds +144 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customPage/customPageContent/manifest.json +119 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customPageContent.html +70 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSection/customSectionContent/Component.js +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSection/customSectionContent/CustomSection.fragment.xml +13 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSection/customSectionContent/CustomSectionFormElementAndTable.fragment.xml +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSection/customSectionContent/CustomSectionNavigation.fragment.xml +44 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSection/customSectionContent/CustomSectionNavigation.js +11 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSection/customSectionContent/extendOP.controller.js +13 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSection/customSectionContent/localService/ChildEntity.json +82 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSection/customSectionContent/localService/RootEntity.json +9 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSection/customSectionContent/localService/ValueHelpCurrencyEntity.json +5 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSection/customSectionContent/localService/ValueHelpEntity.js +11 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSection/customSectionContent/localService/service.cds +177 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSection/customSectionContent/manifest.json +129 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customSectionContent.html +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customViewInLR/customViewInLRContent/Component.js +35 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customViewInLR/customViewInLRContent/CustomButton.js +12 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customViewInLR/customViewInLRContent/CustomViewWithButton.fragment.xml +12 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customViewInLR/customViewInLRContent/CustomViewWithTable.fragment.xml +46 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customViewInLR/customViewInLRContent/LRExtend.controller.js +31 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customViewInLR/customViewInLRContent/localService/RootEntity.json +37 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customViewInLR/customViewInLRContent/localService/service.cds +70 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customViewInLR/customViewInLRContent/manifest.json +100 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/customViewInLRContent.html +36 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/customElements/i18n/i18n.properties +61 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/overview/introduction.html +24 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/topics/overview/introduction.md +6 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/util/FileUtils.js +124 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/view/App.view.xml +60 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/view/ControllerExtensions.view.xml +97 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/view/CustomElements.view.xml +97 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/view/MacrosPage.view.xml +97 -0
- package/packages/sap.fe.core/test/sap/fe/core/fpmExplorer/view/Overview.view.xml +13 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/BindingExpression-AnnotationExpression.spec.js +140 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/BindingExpression-AnnotationExpression.spec.ts +142 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/BindingExpression.spec.js +504 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/BindingExpression.spec.ts +751 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/TemplateConverter.spec.js +74 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/TemplateConverter.spec.ts +75 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/__snapshots__/BindingExpression-AnnotationExpression.spec.ts.snap +7 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/__snapshots__/TemplateConverter.spec.ts.snap +17450 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/KPIManagement.spec.js +582 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/KPIManagement.spec.ts +515 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/SideEffects.spec.js +636 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/controllerextensions/SideEffects.spec.ts +547 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ConverterContext.spec.js +60 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ConverterContext.spec.ts +57 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/HeaderFacet.spec.js +436 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/HeaderFacet.spec.ts +469 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/KPITag.spec.js +346 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/KPITag.spec.ts +357 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ListReportConverter.spec.js +255 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ListReportConverter.spec.ts +254 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/MetaModelConverter.spec.js +67 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/MetaModelConverter.spec.ts +43 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ObjectPageConverter.spec.js +577 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/ObjectPageConverter.spec.ts +593 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/Table.spec.js +1206 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/Table.spec.ts +1361 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/converters/__snapshots__/Table.spec.ts.snap +21 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/AnalyticalService.cds +16 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/BindingExpression-AnnotationExpression.xml +248 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/ConverterContext.cds +34 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/HeaderFacets.cds +199 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/KPI.cds +320 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/KPINone.cds +78 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/ListReportConverter.cds +164 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/MetaModelConverter.cds +43 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/MetaModelConverterBoundAction.cds +31 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/ObjectPageConverter.cds +161 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/PropertyHelper.cds +14 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/SideEffects.cds +285 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/Table.cds +98 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/TableGetSelectionMode.cds +242 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/TableNewActionNoOperationAvailable.cds +22 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/TableNewActionOperationAvailableFalse.cds +25 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/TableNewActionOperationAvailableTrue.cds +24 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/data/salesOrderMetadata.xml +4824 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/formatters/ValueFormatters.spec.js +54 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/formatters/ValueFormatters.spec.ts +70 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/services/SideEffectsService.spec.js +607 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/services/SideEffectsService.spec.ts +540 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/templating/PropertyHelper.spec.js +62 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/templating/PropertyHelper.spec.ts +45 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/type/Email.spec.js +34 -0
- package/packages/sap.fe.core/test/sap/fe/core/jest/type/Email.spec.ts +21 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/TemplatingExpressions.qunit.js +1328 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/apps/generalTests.js +18 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/apps/generalTests.json +233 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/apps/index.js +33 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/common/testHelper.js +81 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/common/utility.js +28 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/helpers/ExcelFormatHelper.qunit.js +19 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/helpers/SemanticDateOperators.qunit.js +253 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/helpers/SemanticKeyHelper.qunit.js +211 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/helpers/StableIdHelper.qunit.js +301 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/services/CacheHandlerTest.qunit.js +924 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/test/iteloMetadata.js +2752 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/test/musicDraftMetadata.js +2301 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/test/simpleMetadata.js +1186 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/test/techServiceMetadata.js +3993 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/testsuite.qunit.html +14 -0
- package/packages/sap.fe.core/test/sap/fe/core/qunit/testsuite.qunit.js +33 -0
- package/packages/sap.fe.core/test/sap/fe/core/relnotes/changes-1.91.json +96 -0
- package/packages/sap.fe.core/test/sap/fe/core/relnotes/changes-1.94.json +40 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/.library +54 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/.theming +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Chart.fragment.xml +171 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Chart.metadata-dbg.js +200 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Chart.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/ChartDelegate-dbg.js +530 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/ChartDelegate.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/CommonHelper-dbg.js +1256 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/CommonHelper.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Contact-dbg.designtime.js +93 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Contact.designtime.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Contact.fragment.xml +38 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Contact.metadata-dbg.js +91 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Contact.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/ContactHelper-dbg.js +96 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/ContactHelper.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/DelegateUtil-dbg.js +286 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/DelegateUtil.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/DraftIndicator.fragment.xml +37 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/DraftIndicator.metadata-dbg.js +91 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/DraftIndicator.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/DraftIndicatorRuntime-dbg.js +138 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/DraftIndicatorRuntime.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Field.fragment.xml +37 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Field.metadata-dbg.js +144 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Field.metadata.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Field.metadata.ts +136 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FieldAPI-dbg.js +234 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FieldAPI.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FieldAPI.ts +177 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FieldValueHelpDelegate-dbg.js +55 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FieldValueHelpDelegate.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBar-dbg.designtime.js +83 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBar.designtime.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBar.fragment.xml +109 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBar.metadata-dbg.js +243 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBar.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarAPI-dbg.js +130 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarAPI.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarAPI.ts +62 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarDelegate-dbg.js +568 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarDelegate.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarHelper-dbg.js +48 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterBarHelper.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterField-dbg.designtime.js +339 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterField.designtime.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterField.fragment.xml +57 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterField.metadata-dbg.js +130 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FilterField.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FlexibleColumnLayoutActions.fragment.xml +24 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FlexibleColumnLayoutActions.metadata-dbg.js +68 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FlexibleColumnLayoutActions.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Form-dbg.designtime.js +188 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Form.designtime.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Form.fragment.xml +94 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Form.metadata-dbg.js +209 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Form.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FormContainer-dbg.designtime.js +42 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FormContainer.designtime.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FormContainer.fragment.xml +196 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FormContainer.metadata-dbg.js +132 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FormContainer.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FormElement.fragment.xml +25 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FormElement.metadata-dbg.js +123 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FormElement.metadata.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FormElement.metadata.ts +113 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/FormWrapper.fragment.xml +26 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/KPITag.fragment.xml +33 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/KPITag.metadata-dbg.js +103 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/KPITag.metadata.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/KPITag.metadata.ts +106 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MacroAPI-dbg.js +197 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MacroAPI.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MacroAPI.ts +120 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MacroMetadata-dbg.js +92 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MacroMetadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MacroRuntime-dbg.js +33 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MacroRuntime.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MacroRuntime.ts +12 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MacroTemplating-dbg.js +22 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MacroTemplating.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MacroTemplating.ts +9 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MicroChart-dbg.designtime.js +361 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MicroChart.designtime.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MicroChart.fragment.xml +36 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MicroChart.metadata-dbg.js +149 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/MicroChart.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/ODataMetaModelUtil-dbg.js +600 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/ODataMetaModelUtil.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Paginator.fragment.xml +32 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Paginator.metadata-dbg.js +61 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Paginator.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/PhantomUtil-dbg.js +615 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/PhantomUtil.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/QuickViewForm-dbg.designtime.js +215 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/QuickViewForm.designtime.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/QuickViewForm.fragment.xml +66 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/QuickViewForm.metadata-dbg.js +84 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/QuickViewForm.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/ResourceModel-dbg.js +56 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/ResourceModel.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Share.fragment.xml +21 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Share.metadata-dbg.js +90 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Share.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/SizeHelper-dbg.js +41 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/SizeHelper.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Table.fragment.xml +236 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Table.metadata-dbg.js +489 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/Table.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/TableAPI-dbg.js +469 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/TableAPI.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/TableAPI.ts +487 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/TraceInfo-dbg.js +462 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/TraceInfo.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/ValueHelp.metadata-dbg.js +135 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/ValueHelp.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/VisualFilter.fragment.xml +87 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/VisualFilter.metadata-dbg.js +217 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/VisualFilter.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/chart/ChartHelper-dbg.js +468 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/chart/ChartHelper.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/chart/ChartRuntime-dbg.js +118 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/chart/ChartRuntime.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/chart/ChartUtils-dbg.js +221 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/chart/ChartUtils.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/designtime/library-preload.designtime.js +17 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/designtime/library-preload.designtime.js.map +9 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/field/DraftPopOverAdminData.fragment.xml +53 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldHelper-dbg.js +1670 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldHelper.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldRuntime-dbg.js +400 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldRuntime.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldTemplating-dbg.js +538 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldTemplating.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/field/FieldTemplating.ts +541 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkContactContent.fragment.xml +95 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkDelegate-dbg.js +1136 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkDelegate.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkForContact.fragment.xml +26 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkForDataField.fragment.xml +95 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkForEntity.fragment.xml +76 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/field/QuickViewLinkWithFacets.fragment.xml +40 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/CustomFilter.fragment.xml +38 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/DraftEditState-dbg.js +179 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/DraftEditState.fragment.xml +36 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/DraftEditState.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterFieldHelper-dbg.js +149 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterFieldHelper.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterFieldTemplating-dbg.js +23 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterFieldTemplating.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterFieldTemplating.ts +11 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterUtils-dbg.js +363 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/FilterUtils.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/type/MultiValue-dbg.js +53 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/type/MultiValue.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/type/Range-dbg.js +38 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/type/Range.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/type/Value-dbg.js +219 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/filter/type/Value.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/flexibility/FormDelegate-dbg.js +152 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/flexibility/FormDelegate.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/flexibility/ValueHelpWrapper.fragment.xml +3 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/form/AddressSection.fragment.xml +35 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/form/DataFieldCollection.fragment.xml +44 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/form/FormElement.fragment.xml +42 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/form/FormHelper-dbg.js +118 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/form/FormHelper.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/fpm/CustomFormElement.fragment.xml +10 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/fpm/CustomFragment.fragment.xml +13 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/fpm/CustomFragment.metadata-dbg.js +73 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/fpm/CustomFragment.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/fpm/CustomHeaderFieldElement.fragment.xml +17 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/fpm/CustomSection.fragment.xml +13 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/fpm/CustomSection.metadata-dbg.js +82 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/fpm/CustomSection.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/fpm/fpm-dbg.js +15 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/fpm/fpm.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/CollectionField.fragment.xml +33 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/CollectionField.metadata-dbg.js +167 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/CollectionField.metadata.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/CollectionField.metadata.ts +179 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/DataPoint.fragment.xml +123 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/DataPoint.metadata-dbg.js +162 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/DataPoint.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/Field-dbg.designtime.js +811 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/Field.designtime.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/Field.fragment.xml +20 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/Field.metadata-dbg.js +534 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/Field.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/collectionField/MultiValueFieldDelegate-dbg.js +76 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/collectionField/MultiValueFieldDelegate.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/ConnectedDataField.fragment.xml +39 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/FieldContent.fragment.xml +94 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/FieldStructure.fragment.xml +55 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/AmountWithCurrency.fragment.xml +41 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/Avatar.fragment.xml +57 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/Button.fragment.xml +56 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/Contact.fragment.xml +38 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/DataPoint.fragment.xml +45 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/ExpandableText.fragment.xml +18 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/File.fragment.xml +31 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/LabelSemanticKey.fragment.xml +65 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/Link.fragment.xml +30 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/LinkWithQuickViewForm.fragment.xml +45 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/LinkWrapper.fragment.xml +56 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/ObjectIdentifier.fragment.xml +37 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/ObjectStatus.fragment.xml +16 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/SemanticKeyWithDraftIndicator.fragment.xml +35 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/displayStyle/Text.fragment.xml +33 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/CheckBox.fragment.xml +28 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/DatePicker.fragment.xml +32 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/DateTimePicker.fragment.xml +33 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/File.fragment.xml +55 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/Input.fragment.xml +33 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/InputWithUnit.fragment.xml +77 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/InputWithValueHelp.fragment.xml +73 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/RatingIndicator.fragment.xml +23 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/TextArea.fragment.xml +34 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/field/editStyle/TimePicker.fragment.xml +33 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/form/FormTemplating-dbg.js +65 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/form/FormTemplating.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/form/FormTemplating.ts +40 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/helpers/DataPointTemplating-dbg.js +244 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/helpers/DataPointTemplating.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/helpers/DataPointTemplating.ts +229 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/TableDelegate-dbg.js +215 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/TableDelegate.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelp-dbg.designtime.js +466 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelp.designtime.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelp.fragment.xml +23 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelpContent.fragment.xml +62 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelpTemplating-dbg.js +155 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelpTemplating.js +5 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueHelpTemplating.ts +133 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListDialogTable.fragment.xml +57 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListFilterBar.fragment.xml +20 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListHelper-dbg.js +1286 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListHelper.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListTable.fragment.xml +67 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/internal/valuehelp/ValueListTableColumnHeader.fragment.xml +25 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/library-dbg.js +144 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/library-h2-preload.js +190 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/library-h2-preload.js.map +9 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/library-preload.js +696 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/library-preload.js.map +9 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/library.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/macroLibrary-dbg.js +126 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/macroLibrary.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/manifest.json +115 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/massedit/MassEditDialog.fragment.xml +106 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/massedit/MassEditHandler-dbg.js +708 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/massedit/MassEditHandler.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/massedit/MassEditRuntime-dbg.js +115 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/massedit/MassEditRuntime.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle.properties +215 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ar.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_bg.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ca.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_cs.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_cy.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_da.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_de.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_el.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_GB.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_US_sappsd.properties +129 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_US_saprigi.properties +129 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_en_US_saptrc.properties +129 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_es.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_es_MX.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_et.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_fi.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_fr.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_fr_CA.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_hi.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_hr.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_hu.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_id.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_it.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_iw.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ja.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_kk.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ko.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_lt.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_lv.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ms.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_nl.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_no.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_pl.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_pt.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_pt_PT.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ro.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_ru.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sh.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sk.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sl.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_sv.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_th.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_tr.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_uk.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_vi.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_zh_CN.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/messagebundle_zh_TW.properties +140 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/MicroChartContainer-dbg.js +620 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/MicroChartContainer.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/MicroChartHelper-dbg.js +491 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/MicroChartHelper.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/fragments/AreaMicroChart.fragment.xml +180 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/fragments/BulletMicroChart.fragment.xml +111 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/fragments/ColumnMicroChart.fragment.xml +99 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/fragments/ComparisonMicroChart.fragment.xml +64 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/fragments/HarveyBallMicroChart.fragment.xml +64 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/fragments/LineMicroChart.fragment.xml +67 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/fragments/MicroChartContent.fragment.xml +41 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/fragments/MicroChartTitle.fragment.xml +52 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/fragments/RadialMicroChart.fragment.xml +58 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/microchart/fragments/StackedBarMicroChart.fragment.xml +54 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/resources.json +4885 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/share/ShareSheet.fragment.xml +26 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/Actions.fragment.xml +215 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/BasicSearch-dbg.js +73 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/BasicSearch.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/Column.fragment.xml +27 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/ColumnContent.fragment.xml +133 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/ColumnProperty.fragment.xml +43 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/Columns.fragment.xml +37 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/CreationRow.fragment.xml +33 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/CustomColumn.fragment.xml +16 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/QuickFilterContainer-dbg.js +298 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/QuickFilterContainer.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/TableFullScreenUtil-dbg.js +194 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/TableFullScreenUtil.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/TableHelper-dbg.js +1399 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/TableHelper.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/TableRuntime-dbg.js +231 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/TableRuntime.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/Utils-dbg.js +468 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/Utils.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/ValueHelp.fragment.xml +34 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/ALPTableDelegate-dbg.js +32 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/ALPTableDelegate.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/ALPTableDelegateBaseMixin-dbg.js +100 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/ALPTableDelegateBaseMixin.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/AnalyticalALPTableDelegate-dbg.js +36 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/AnalyticalALPTableDelegate.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/AnalyticalTableDelegate-dbg.js +147 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/AnalyticalTableDelegate.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/TableDelegate-dbg.js +818 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/table/delegates/TableDelegate.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/valuehelp/ValueHelpFilterBar-dbg.designtime.js +83 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/valuehelp/ValueHelpFilterBar.designtime.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/valuehelp/ValueHelpFilterBar.fragment.xml +115 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/valuehelp/ValueHelpFilterBar.metadata-dbg.js +204 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/valuehelp/ValueHelpFilterBar.metadata.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/visualfilters/InteractiveChartHelper-dbg.js +476 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/visualfilters/InteractiveChartHelper.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/visualfilters/VisualFilterRuntime-dbg.js +286 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/visualfilters/VisualFilterRuntime.js +6 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/visualfilters/fragments/InteractiveBarChart.fragment.xml +70 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/visualfilters/fragments/InteractiveDonutChart.fragment.xml +69 -0
- package/packages/sap.fe.macros/src/sap/fe/macros/visualfilters/fragments/InteractiveLineChart.fragment.xml +70 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/designtime/api.json +1001 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/designtime/apiref/api.json +1 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/designtime/codeassistance/Library.jsmeta.json +1 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/designtime/codeassistance/Library.jstemplates.json +1 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/designtime/codeassistance/Library.xmlmeta.json +1 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/designtime/codeassistance/Library.xmltemplates.json +1 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/CollectionField.spec.js +64 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/CollectionField.spec.ts +67 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/DatapointMacro.spec.js +326 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/DatapointMacro.spec.ts +349 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldMacroDataFieldTypes.spec.js +127 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldMacroDataFieldTypes.spec.ts +127 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldMacroWithSemanticKey.spec.js +184 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldMacroWithSemanticKey.spec.ts +263 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldMacroWithValueHelp.spec.js +63 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FieldMacroWithValueHelp.spec.ts +72 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterField.spec.js +32 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/FilterField.spec.ts +28 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/MacroComponent.spec.js +39 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/MacroComponent.spec.ts +26 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/MicroChart.spec.js +53 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/MicroChart.spec.ts +54 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/PhantomUtil.spec.js +142 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/PhantomUtil.spec.ts +178 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/QuickViewForm.spec.js +401 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/QuickViewForm.spec.ts +662 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/SimpleFieldMacro.spec.js +571 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/SimpleFieldMacro.spec.ts +778 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableAPI.spec.js +712 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/TableAPI.spec.ts +800 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/ValueHelpMacro.spec.js +192 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/ValueHelpMacro.spec.ts +194 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/FilterField.spec.ts.snap +37 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/MacroComponent.spec.ts.snap +7 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/PhantomUtil.spec.ts.snap +184 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/QuickViewForm.spec.ts.snap +820 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/__snapshots__/ValueHelpMacro.spec.ts.snap +279 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/addTemplatingTest.md +51 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/AdminDataPopOver.cds +8 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/CollectionField.cds +48 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/FieldMacroDataFieldTypes.cds +295 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/FieldMacroWithSemanticKey.cds +62 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/FieldMacroWithValueHelp.cds +131 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/FilterFieldMacro.cds +124 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/MicroChart.cds +47 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/PhantomUtil.cds +20 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/QuickViewForm.cds +248 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/Table.cds +113 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/ValueHelpMacro.cds +163 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/data/simpleFieldMacro.cds +129 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldTemplating.cds +115 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldTemplating.spec.js +180 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/FieldTemplating.spec.ts +215 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/field/__snapshots__/FieldTemplating.spec.ts.snap +160 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/fragments/MyTestFragment.xml +15 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/fragments/MyTestFragmentRepeat.xml +27 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/tsx/TestTSX.spec.tsx +49 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/jest/tsx/__snapshots__/TestTSX.spec.tsx.snap +33 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/common/testHelper.js +24 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/index.json +154 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/AnalyticalTableDelegate.qunit.js +158 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/ChartDelegate.qunit.js +275 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/ChartHelper.qunit.js +601 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/ChartHelperTemplate.qunit.js +67 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/CommonHelper.qunit.js +1607 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FieldHelper.qunit.js +2478 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FieldHelperTemplate.qunit.js +383 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FilterBarDelegate.qunit.js +89 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FilterBarHelper.qunit.js +223 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FilterFieldHelper.qunit.js +712 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FormContainerTemplating.qunit.js +245 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FormElementTemplating.qunit.js +83 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FormHelper.qunit.js +209 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FormTemplating.qunit.js +577 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/FormTemplatingTs.qunit.js +271 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/InteractiveChartHelper.qunit.js +1227 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/MacroMetadata.qunit.js +123 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/MicroChartContainer.qunit.js +1637 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/MicroChartHelper.qunit.js +619 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/MicroChartHelperForTemplate.qunit.js +360 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/PhantomUtil.qunit.js +307 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/QuickViewLinkDelegate.qunit.js +81 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/TableDelegate.qunit.js +734 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/TableHelper.qunit.js +2630 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/TableHelperTemplate.qunit.js +201 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/TableRuntime.qunit.js +861 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/ValueHelpTemplating.qunit.js +176 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/ValueListHelper.qunit.js +1133 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/chartMetadata/metadata.xml +461 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/flexibility/FormDelegate.qunit.js +408 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/fragments/FilterFieldMacro.fragment.xml +9 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/fragments/FilterFieldMacroMissingID.fragment.xml +9 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/fragments/TableMacro.fragment.xml +22 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/macros/metadata/simpleMetadata.js +1415 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/teststarter.qunit.html +13 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/testsuite.qunit.html +14 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/qunit/testsuite.qunit.js +41 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/relnotes/changes-1.91.json +76 -0
- package/packages/sap.fe.macros/test/sap/fe/macros/relnotes/changes-1.94.json +29 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/.library +36 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/.theming +6 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/NavError-dbg.js +49 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/NavError.js +6 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/NavigationHandler-dbg.js +2215 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/NavigationHandler.js +6 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/PresentationVariant-dbg.js +347 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/PresentationVariant.js +6 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/SelectionVariant-dbg.js +774 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/SelectionVariant.js +6 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/library-dbg.js +170 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/library-h2-preload.js +19 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/library-h2-preload.js.map +9 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/library-preload.js +129 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/library-preload.js.map +9 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/library.js +6 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/manifest.json +44 -0
- package/packages/sap.fe.navigation/src/sap/fe/navigation/resources.json +215 -0
- package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/api.json +1 -0
- package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/apiref/api.json +1 -0
- package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/codeassistance/Library.jsmeta.json +1 -0
- package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/codeassistance/Library.jstemplates.json +1 -0
- package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/codeassistance/Library.xmlmeta.json +1 -0
- package/packages/sap.fe.navigation/test/sap/fe/navigation/designtime/codeassistance/Library.xmltemplates.json +1 -0
- package/packages/sap.fe.navigation/test/sap/fe/navigation/qunit/index.json +17 -0
- package/packages/sap.fe.navigation/test/sap/fe/navigation/qunit/navigation/CrossAppNavigationServiceMock.js +110 -0
- package/packages/sap.fe.navigation/test/sap/fe/navigation/qunit/navigation/NavigationHandlerTest.qunit.js +8625 -0
- package/packages/sap.fe.navigation/test/sap/fe/navigation/qunit/navigation/PresentationVariantTest.qunit.js +179 -0
- package/packages/sap.fe.navigation/test/sap/fe/navigation/qunit/navigation/SelectionVariantTest.qunit.js +1366 -0
- package/packages/sap.fe.navigation/test/sap/fe/navigation/qunit/teststarter.qunit.html +13 -0
- package/packages/sap.fe.navigation/test/sap/fe/navigation/qunit/testsuite.qunit.html +14 -0
- package/packages/sap.fe.navigation/test/sap/fe/navigation/qunit/testsuite.qunit.js +41 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/.library +35 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/.theming +5 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/controller/Placeholder-dbg.controller.js +60 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/controller/Placeholder.controller.js +6 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-dbg.js +41 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-h2-preload.js +20 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-h2-preload.js.map +9 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-preload.js +21 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library-preload.js.map +9 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/library.js +6 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/manifest.json +49 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/resources.json +725 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/base/.theming +5 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/base/Placeholder.less +504 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/base/css_variables.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/base/css_variables.less +4 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/base/css_variables.source.less +1439 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/base/library-RTL.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/base/library-parameters.json +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/base/library.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/base/library.less +511 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/base/library.source.less +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/base/library_skeleton-RTL.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/base/library_skeleton.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/base/resources.json +70 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize/.theming +27 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize/css_variables.css +4 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize/css_variables.less +1497 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize/css_variables.source.less +1487 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize/library-RTL.css +4 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize/library-parameters.json +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize/library.css +4 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize/library.less +6 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize/library.source.less +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize/library_skeleton-RTL.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize/library_skeleton.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize/resources.json +64 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcb/.theming +6 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcb/css_variables.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcb/css_variables.less +1463 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcb/css_variables.source.less +1453 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcb/library-RTL.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcb/library-parameters.json +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcb/library.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcb/library.less +6 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcb/library.source.less +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcb/library_skeleton-RTL.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcb/library_skeleton.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcb/resources.json +64 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcw/.theming +6 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcw/css_variables.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcw/css_variables.less +1463 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcw/css_variables.source.less +1453 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcw/library-RTL.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcw/library-parameters.json +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcw/library.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcw/library.less +6 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcw/library.source.less +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcw/library_skeleton-RTL.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcw/library_skeleton.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_hcw/resources.json +64 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_plus/.theming +26 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_plus/css_variables.css +4 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_plus/css_variables.less +1497 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_plus/css_variables.source.less +1487 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_plus/library-RTL.css +4 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_plus/library-parameters.json +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_plus/library.css +4 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_plus/library.less +6 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_plus/library.source.less +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_plus/library_skeleton-RTL.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_plus/library_skeleton.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_belize_plus/resources.json +64 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3/.theming +6 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3/css_variables.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3/css_variables.less +1468 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3/css_variables.source.less +1458 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3/library-RTL.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3/library-parameters.json +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3/library.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3/library.less +6 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3/library.source.less +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3/library_skeleton-RTL.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3/library_skeleton.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3/resources.json +64 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_dark/.theming +6 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_dark/css_variables.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_dark/css_variables.less +1468 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_dark/css_variables.source.less +1458 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_dark/library-RTL.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_dark/library-parameters.json +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_dark/library.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_dark/library.less +6 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_dark/library.source.less +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_dark/library_skeleton-RTL.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_dark/library_skeleton.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_dark/resources.json +64 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcb/.theming +6 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcb/css_variables.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcb/css_variables.less +1464 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcb/css_variables.source.less +1454 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcb/library-RTL.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcb/library-parameters.json +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcb/library.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcb/library.less +6 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcb/library.source.less +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcb/library_skeleton-RTL.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcb/library_skeleton.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcb/resources.json +64 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcw/.theming +6 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcw/css_variables.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcw/css_variables.less +1464 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcw/css_variables.source.less +1454 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcw/library-RTL.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcw/library-parameters.json +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcw/library.css +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcw/library.less +6 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcw/library.source.less +3 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcw/library_skeleton-RTL.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcw/library_skeleton.css +1 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/themes/sap_fiori_3_hcw/resources.json +64 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/view/PlaceholderALP.fragment.html +10 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/view/PlaceholderALP.view.xml +11 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/view/PlaceholderLR.fragment.html +8 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/view/PlaceholderLR.view.xml +11 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/view/PlaceholderOP.fragment.html +8 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/view/PlaceholderOP.view.xml +11 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/view/PlaceholderOVP.fragment.html +8 -0
- package/packages/sap.fe.placeholder/src/sap/fe/placeholder/view/PlaceholderOVP.view.xml +11 -0
- package/packages/sap.fe.placeholder/test/sap/fe/placeholder/designtime/api.json +1 -0
- package/packages/sap.fe.placeholder/test/sap/fe/placeholder/designtime/apiref/api.json +1 -0
- package/packages/sap.fe.placeholder/test/sap/fe/placeholder/designtime/codeassistance/Library.jsmeta.json +1 -0
- package/packages/sap.fe.placeholder/test/sap/fe/placeholder/designtime/codeassistance/Library.jstemplates.json +1 -0
- package/packages/sap.fe.placeholder/test/sap/fe/placeholder/designtime/codeassistance/Library.xmlmeta.json +1 -0
- package/packages/sap.fe.placeholder/test/sap/fe/placeholder/designtime/codeassistance/Library.xmltemplates.json +1 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/.library +74 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/.theming +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/AnalyticalListPage/Component-dbg.js +15 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/AnalyticalListPage/Component.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/AnalyticalListPage/chart/FEChartDelegate-dbg.js +37 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/AnalyticalListPage/chart/FEChartDelegate.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/AnalyticalListPage/manifest.json +27 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/AnalyticalListPage/resources.json +27 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListComponent-dbg.js +121 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListComponent.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/Component-dbg.js +42 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/Component.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ExtensionAPI-dbg.js +95 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ExtensionAPI.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ListReport.view.xml +199 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ListReportController-dbg.controller.js +954 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/ListReportController.controller.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/manifest.json +28 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation-dbg.js +52 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/IntentBasedNavigation.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/Share-dbg.js +124 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/Share.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/ViewState-dbg.js +264 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/overrides/ViewState.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/resources.json +79 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/view/fragments/CollectionVisualization.fragment.xml +32 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/view/fragments/CustomView.fragment.xml +10 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ListReport/view/fragments/MultipleMode.fragment.xml +49 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/AnnotationHelper-dbg.js +457 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/AnnotationHelper.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/Component-dbg.js +139 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/Component.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ExtensionAPI-dbg.js +130 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ExtensionAPI.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ObjectPage.view.xml +184 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ObjectPageController-dbg.controller.js +1460 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/ObjectPageController.controller.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/controls/StashableHBox-dbg.js +90 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/controls/StashableHBox.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/controls/StashableVBox-dbg.js +27 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/controls/StashableVBox.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/controls/SubSectionBlock-dbg.js +57 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/controls/SubSectionBlock.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/designtime/FlexBox-dbg.designtime.js +19 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/designtime/FlexBox.designtime.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/designtime/StashableHBox-dbg.designtime.js +51 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/designtime/StashableHBox.designtime.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/designtime/StashableVBox-dbg.designtime.js +38 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/designtime/StashableVBox.designtime.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/flexibility/StashableHBox.flexibility-dbg.js +19 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/flexibility/StashableHBox.flexibility.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/flexibility/StashableVBox.flexibility-dbg.js +15 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/flexibility/StashableVBox.flexibility.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/manifest.json +122 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/IntentBasedNavigation-dbg.js +55 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/IntentBasedNavigation.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/InternalRouting-dbg.js +20 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/InternalRouting.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/MessageHandler-dbg.js +20 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/MessageHandler.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/Routing-dbg.js +21 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/Routing.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/Share-dbg.js +303 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/Share.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/ViewState-dbg.js +45 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/overrides/ViewState.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/resources.json +282 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating-dbg.js +117 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.js +5 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/templating/ObjectPageTemplating.ts +124 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/Actions.fragment.xml +183 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/EditableHeaderFacet.fragment.xml +160 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/FooterContent.fragment.xml +117 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/FormActionButtons.fragment.xml +79 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/FormActions.fragment.xml +24 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/HeaderContent.fragment.xml +54 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/HeaderDataPoint.fragment.xml +26 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/HeaderDataPointTitle.fragment.xml +69 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/HeaderFacet.fragment.xml +90 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/HeaderFacetCustomContainer.fragment.xml +41 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/HeaderImage.fragment.xml +24 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/ObjectPageHeaderAddress.fragment.xml +20 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/ObjectPageHeaderForm.fragment.xml +72 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/RelatedApps.fragment.xml +22 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/Section.fragment.xml +71 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/SectionContent.fragment.xml +175 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/SectionCustomSection.fragment.xml +18 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/SectionFormContent.fragment.xml +18 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/SectionMoreFormContent.fragment.xml +18 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/SectionPresentationVisualization.fragment.xml +17 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/SideContentCustomContainer.fragment.xml +19 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/ObjectPage/view/fragments/TitleAndSubtitle.fragment.xml +24 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/controller/Fcl-dbg.controller.js +816 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/controller/Fcl.controller.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/controller/NavContainer-dbg.controller.js +176 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/controller/NavContainer.controller.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController-dbg.js +441 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/controller/RootContainerBaseController.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/overrides/EditFlow-dbg.js +18 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/overrides/EditFlow.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/view/Fcl.view.xml +15 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/view/NavContainer.view.xml +9 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/view/PlaceholderLR.view.xml +617 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/RootContainer/view/PlaceholderOP.view.xml +588 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/controls/Chart.fragment.xml +20 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/controls/OverflowToolbarButtonHover-dbg.js +26 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/controls/OverflowToolbarButtonHover.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/controls/Paginator-dbg.js +174 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/controls/Paginator.control.xml +24 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/controls/Paginator.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/controls/Table.fragment.xml +23 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/designtime/library-preload.designtime.js +10 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/designtime/library-preload.designtime.js.map +9 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/library-dbg.js +72 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/library-h2-preload.js +77 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/library-h2-preload.js.map +9 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/library-preload.js +154 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/library-preload.js.map +9 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/library.js +6 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/manifest.json +136 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle.properties +210 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ar.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_bg.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ca.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_cs.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_cy.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_da.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_de.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_el.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en_GB.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en_US_sappsd.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en_US_saprigi.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_en_US_saptrc.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_es.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_es_MX.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_et.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_fi.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_fr.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_fr_CA.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_hi.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_hr.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_hu.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_id.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_it.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_iw.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ja.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_kk.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ko.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_lt.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_lv.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ms.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_nl.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_no.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_pl.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_pt.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_pt_PT.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ro.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_ru.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_sh.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_sk.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_sl.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_sv.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_th.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_tr.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_uk.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_vi.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_zh_CN.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/messagebundle_zh_TW.properties +135 -0
- package/packages/sap.fe.templates/src/sap/fe/templates/resources.json +2103 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/demokit/apps/itelo/webapp/Component.js +9 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/demokit/apps/itelo/webapp/WEB-INF/web.xml +120 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/demokit/apps/itelo/webapp/annotations/annotations.xml +43 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/demokit/apps/itelo/webapp/i18n/i18n.properties +13 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/demokit/apps/itelo/webapp/manifest.json +176 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/demokit/apps/itelo/webapp/test/manifestCreateDialogWithFCL.json +87 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/demokit/apps/itelo/webapp/test/testFLP.html +71 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/demokit/apps/itelo/webapp/test/testFLPService.html +82 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/demokit/flpSandbox.html +24 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/demokit/flpSandbox.js +225 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/demokit/mockServer.js +780 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/demokit/mockServerHelper.js +195 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/designtime/api.json +1 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/designtime/apiref/api.json +1 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/designtime/codeassistance/Library.jsmeta.json +1 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/designtime/codeassistance/Library.jstemplates.json +1 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/designtime/codeassistance/Library.xmlmeta.json +1 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/designtime/codeassistance/Library.xmltemplates.json +1 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/qunit/common/testHelper.js +80 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/qunit/common/utility.js +28 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/qunit/testsuite.qunit.html +14 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/qunit/testsuite.qunit.js +33 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/relnotes/changes-1.91.json +134 -0
- package/packages/sap.fe.templates/test/sap/fe/templates/relnotes/changes-1.94.json +34 -0
- package/packages/sap.fe.test/src/sap/fe/test/.library +30 -0
- package/packages/sap.fe.test/src/sap/fe/test/.theming +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/BaseActions-dbg.js +107 -0
- package/packages/sap.fe.test/src/sap/fe/test/BaseActions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/BaseArrangements-dbg.js +199 -0
- package/packages/sap.fe.test/src/sap/fe/test/BaseArrangements.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/BaseAssertions-dbg.js +56 -0
- package/packages/sap.fe.test/src/sap/fe/test/BaseAssertions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/ConfirmDialog-dbg.js +72 -0
- package/packages/sap.fe.test/src/sap/fe/test/ConfirmDialog.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/FCLView-dbg.js +86 -0
- package/packages/sap.fe.test/src/sap/fe/test/FCLView.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/Flexibility-dbg.js +743 -0
- package/packages/sap.fe.test/src/sap/fe/test/Flexibility.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/FlexibleColumnLayout-dbg.js +149 -0
- package/packages/sap.fe.test/src/sap/fe/test/FlexibleColumnLayout.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/JestTemplatingHelper-dbg.js +284 -0
- package/packages/sap.fe.test/src/sap/fe/test/JestTemplatingHelper.js +5 -0
- package/packages/sap.fe.test/src/sap/fe/test/JestTemplatingHelper.ts +242 -0
- package/packages/sap.fe.test/src/sap/fe/test/JourneyRunner-dbg.js +314 -0
- package/packages/sap.fe.test/src/sap/fe/test/JourneyRunner.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/ListReport-dbg.js +525 -0
- package/packages/sap.fe.test/src/sap/fe/test/ListReport.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/LocationUtil-dbg.js +54 -0
- package/packages/sap.fe.test/src/sap/fe/test/LocationUtil.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/ObjectPage-dbg.js +857 -0
- package/packages/sap.fe.test/src/sap/fe/test/ObjectPage.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/Shell-dbg.js +226 -0
- package/packages/sap.fe.test/src/sap/fe/test/Shell.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/Stubs-dbg.js +97 -0
- package/packages/sap.fe.test/src/sap/fe/test/Stubs.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/TemplatePage-dbg.js +447 -0
- package/packages/sap.fe.test/src/sap/fe/test/TemplatePage.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/TemplatingTestUtils-dbg.js +243 -0
- package/packages/sap.fe.test/src/sap/fe/test/TemplatingTestUtils.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/Utils-dbg.js +301 -0
- package/packages/sap.fe.test/src/sap/fe/test/Utils.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/APIHelper-dbg.js +117 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/APIHelper.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/BaseAPI-dbg.js +285 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/BaseAPI.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/ChartActions-dbg.js +131 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/ChartActions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/ChartAssertions-dbg.js +114 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/ChartAssertions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogAPI-dbg.js +93 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogAPI.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogActions-dbg.js +101 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogActions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogAssertions-dbg.js +123 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogAssertions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogCreateActions-dbg.js +44 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogCreateActions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogCreateAssertions-dbg.js +55 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogCreateAssertions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogMessageActions-dbg.js +59 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogMessageActions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogMessageAssertions-dbg.js +87 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogMessageAssertions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogType-dbg.js +76 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogType.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogValueHelpActions-dbg.js +317 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogValueHelpActions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogValueHelpAssertions-dbg.js +263 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/DialogValueHelpAssertions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/EditState-dbg.js +67 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/EditState.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FilterBarAPI-dbg.js +197 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FilterBarAPI.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FilterBarActions-dbg.js +310 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FilterBarActions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FilterBarAssertions-dbg.js +413 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FilterBarAssertions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FooterAPI-dbg.js +37 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FooterAPI.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FooterActionsBase-dbg.js +47 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FooterActionsBase.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FooterActionsOP-dbg.js +83 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FooterActionsOP.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FooterAssertionsBase-dbg.js +66 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FooterAssertionsBase.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FooterAssertionsOP-dbg.js +98 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FooterAssertionsOP.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FormAPI-dbg.js +82 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FormAPI.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FormActions-dbg.js +180 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FormActions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FormAssertions-dbg.js +182 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/FormAssertions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/HeaderAPI-dbg.js +152 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/HeaderAPI.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/HeaderActions-dbg.js +232 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/HeaderActions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/HeaderActionsLR-dbg.js +94 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/HeaderActionsLR.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/HeaderAssertions-dbg.js +495 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/HeaderAssertions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/HeaderAssertionsLR-dbg.js +110 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/HeaderAssertionsLR.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/HeaderLR-dbg.js +74 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/HeaderLR.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/TableAPI-dbg.js +452 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/TableAPI.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/TableActions-dbg.js +958 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/TableActions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/TableAssertions-dbg.js +697 -0
- package/packages/sap.fe.test/src/sap/fe/test/api/TableAssertions.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/DialogBuilder-dbg.js +118 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/DialogBuilder.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/FEBuilder-dbg.js +428 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/FEBuilder.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/KPIBuilder-dbg.js +56 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/KPIBuilder.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/MacroFieldBuilder-dbg.js +174 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/MacroFieldBuilder.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/MdcFieldBuilder-dbg.js +254 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/MdcFieldBuilder.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/MdcFilterBarBuilder-dbg.js +112 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/MdcFilterBarBuilder.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/MdcFilterFieldBuilder-dbg.js +54 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/MdcFilterFieldBuilder.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/MdcTableBuilder-dbg.js +1069 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/MdcTableBuilder.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/OverflowToolbarBuilder-dbg.js +89 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/OverflowToolbarBuilder.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/VMBuilder-dbg.js +268 -0
- package/packages/sap.fe.test/src/sap/fe/test/builder/VMBuilder.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/internal/FEArrangements-dbg.js +66 -0
- package/packages/sap.fe.test/src/sap/fe/test/internal/FEArrangements.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/internal/FEJourneyRunner-dbg.js +55 -0
- package/packages/sap.fe.test/src/sap/fe/test/internal/FEJourneyRunner.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/library-dbg.js +37 -0
- package/packages/sap.fe.test/src/sap/fe/test/library-h2-preload.js +78 -0
- package/packages/sap.fe.test/src/sap/fe/test/library-h2-preload.js.map +9 -0
- package/packages/sap.fe.test/src/sap/fe/test/library-preload.js +587 -0
- package/packages/sap.fe.test/src/sap/fe/test/library-preload.js.map +9 -0
- package/packages/sap.fe.test/src/sap/fe/test/library.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/manifest.json +39 -0
- package/packages/sap.fe.test/src/sap/fe/test/massEdit-dbg.js +99 -0
- package/packages/sap.fe.test/src/sap/fe/test/massEdit.js +6 -0
- package/packages/sap.fe.test/src/sap/fe/test/resources.json +1972 -0
- package/packages/sap.fe.test/test/sap/fe/test/designtime/api.json +1 -0
- package/packages/sap.fe.test/test/sap/fe/test/designtime/apiref/api.json +1 -0
- package/packages/sap.fe.test/test/sap/fe/test/designtime/codeassistance/Library.jsmeta.json +1 -0
- package/packages/sap.fe.test/test/sap/fe/test/designtime/codeassistance/Library.jstemplates.json +1 -0
- package/packages/sap.fe.test/test/sap/fe/test/designtime/codeassistance/Library.xmlmeta.json +1 -0
- package/packages/sap.fe.test/test/sap/fe/test/designtime/codeassistance/Library.xmltemplates.json +1 -0
- package/packages/sap.fe.test/test/sap/fe/test/mockserver/MockServer.js +134870 -0
- package/src/LICENSE.txt +23 -0
- package/ui5.yaml +66 -0
|
@@ -0,0 +1,2215 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* SAP UI development toolkit for HTML5 (SAPUI5)
|
|
3
|
+
(c) Copyright 2009-2021 SAP SE. All rights reserved
|
|
4
|
+
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define(
|
|
7
|
+
[
|
|
8
|
+
"./NavError",
|
|
9
|
+
"./SelectionVariant",
|
|
10
|
+
"./library",
|
|
11
|
+
"sap/ui/base/Object",
|
|
12
|
+
"sap/ui/core/UIComponent",
|
|
13
|
+
"sap/ui/core/routing/HashChanger",
|
|
14
|
+
"sap/base/util/extend",
|
|
15
|
+
"sap/base/util/isEmptyObject",
|
|
16
|
+
"sap/base/Log",
|
|
17
|
+
"sap/base/assert",
|
|
18
|
+
"sap/base/util/merge",
|
|
19
|
+
"sap/ui/thirdparty/URI",
|
|
20
|
+
"sap/ui/util/openWindow"
|
|
21
|
+
],
|
|
22
|
+
function(
|
|
23
|
+
NavError,
|
|
24
|
+
SelectionVariant,
|
|
25
|
+
NavLibrary,
|
|
26
|
+
BaseObject,
|
|
27
|
+
UIComponent,
|
|
28
|
+
HashChanger,
|
|
29
|
+
extend,
|
|
30
|
+
isEmptyObject,
|
|
31
|
+
Log,
|
|
32
|
+
assert,
|
|
33
|
+
merge,
|
|
34
|
+
URI,
|
|
35
|
+
openWindow
|
|
36
|
+
) {
|
|
37
|
+
"use strict";
|
|
38
|
+
// shortcuts for sap.ui.generic.app enums
|
|
39
|
+
var NavType = NavLibrary.NavType;
|
|
40
|
+
var ParamHandlingMode = NavLibrary.ParamHandlingMode;
|
|
41
|
+
var SuppressionBehavior = NavLibrary.SuppressionBehavior;
|
|
42
|
+
var Mode = NavLibrary.Mode;
|
|
43
|
+
/**
|
|
44
|
+
* @class This is the successor of {@link sap.ui.generic.app.navigation.service.NavigationHandler}.<br> Creates a new NavigationHandler class by providing the required environment. <br>
|
|
45
|
+
* The <code>NavigationHandler</code> supports the verification of sensitive information. All properties that are part of
|
|
46
|
+
* <code>selectionVariant</code> and <code>valueTexts</code> will be verified if they are annotated as
|
|
47
|
+
* <code>com.sap.vocabularies.PersonalData.v1.IsPotentiallySensitive</code> or
|
|
48
|
+
* <code>com.sap.vocabularies.UI.v1.ExcludeFromNavigationContext</code> and will be removed before the data is persisted as the app
|
|
49
|
+
* state.<br>
|
|
50
|
+
* Also, all properties annotated as <code>com.sap.vocabularies.Analytics.v1.Measure</code> will be removed from the data stored as the
|
|
51
|
+
* xapp state.<br>
|
|
52
|
+
* To verify the information to be removed, the <code>NavigationHandler</code> requires an unnamed model of type
|
|
53
|
+
* {@link sap.ui.model.odata.v2.ODataModel} on component level. It is possible to set such a model using the <code>setModel</code>
|
|
54
|
+
* method.<br>
|
|
55
|
+
* <b>Note:</b> The check for excluded data requires that the OData metadata has already been loaded completely.<br>
|
|
56
|
+
* If the OData metadata model has not been loaded completely, all properties are removed from the application context.<br>
|
|
57
|
+
* <b>Note:</b> This class requires that the UShell {@link sap.ushell.services.CrossApplicationNavigation} is available and initialized.
|
|
58
|
+
*
|
|
59
|
+
* @extends sap.ui.base.Object
|
|
60
|
+
* @class
|
|
61
|
+
* @public
|
|
62
|
+
* @since 1.83.0
|
|
63
|
+
* @param {object} oController UI5 controller that contains a router and a component; typically the main controller of your application, for
|
|
64
|
+
* example, a subclass of the sap.ca.scfld.md.controller.BaseFullscreenController if scaffolding is used
|
|
65
|
+
* @param {string} [sMode=sap.fe.navigation.Mode.ODataV4] Mode to be used to indicates the Odata version used for runnning the Navigation Handler,
|
|
66
|
+
* see {@link sap.fe.navigation.Mode}.<br>
|
|
67
|
+
* Note: Mode has to be sap.fe.navigation.Mode.ODataV2 whenever this constructor is used to initialize a OData V2 based service.
|
|
68
|
+
* @param {string} [sParamHandlingMode=SelVarWins] Mode to be used to handle conflicts when merging URL parameters and the SelectionVariant class,
|
|
69
|
+
* see {@link sap.fe.navigation.ParamHandlingMode}
|
|
70
|
+
* @throws An instance of {@link sap.fe.navigation.NavError} in case of input errors. Valid error codes are: <table>
|
|
71
|
+
* <tr>
|
|
72
|
+
* <th align="left">NavError code</th>
|
|
73
|
+
* <th align="left">Description</th>
|
|
74
|
+
* </tr>
|
|
75
|
+
* <tr>
|
|
76
|
+
* <td>NavigationHandler.INVALID_INPUT</td>
|
|
77
|
+
* <td>Indicates that the input parameter is invalid</td>
|
|
78
|
+
* </tr>
|
|
79
|
+
* </table>
|
|
80
|
+
* @alias sap.fe.navigation.NavigationHandler
|
|
81
|
+
*/
|
|
82
|
+
var NavigationHandler = BaseObject.extend("sap.fe.navigation.NavigationHandler" /** @lends sap.fe.navigation.NavigationHandler */, {
|
|
83
|
+
metadata: {
|
|
84
|
+
publicMethods: [
|
|
85
|
+
"navigate",
|
|
86
|
+
"parseNavigation",
|
|
87
|
+
"storeInnerAppState",
|
|
88
|
+
"storeInnerAppStateWithImmediateReturn",
|
|
89
|
+
"processBeforeSmartLinkPopoverOpens",
|
|
90
|
+
"processBeforeSemanticLinkPopoverOpens",
|
|
91
|
+
"mixAttributesAndSelectionVariant",
|
|
92
|
+
"setModel",
|
|
93
|
+
"getTechnicalParameters",
|
|
94
|
+
"setTechnicalParameters",
|
|
95
|
+
"replaceHash",
|
|
96
|
+
"constructContextUrl"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
|
|
100
|
+
constructor: function(oController, sMode, sParamHandlingMode) {
|
|
101
|
+
if (!oController) {
|
|
102
|
+
throw new NavError("NavigationHandler.INVALID_INPUT");
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
if (oController instanceof UIComponent) {
|
|
106
|
+
this.oRouter = oController.getRouter();
|
|
107
|
+
this.oComponent = oController;
|
|
108
|
+
} else {
|
|
109
|
+
if (typeof oController.getOwnerComponent !== "function") {
|
|
110
|
+
throw new NavError("NavigationHandler.INVALID_INPUT");
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
this.oRouter = this._getRouter(oController);
|
|
114
|
+
this.oComponent = oController.getOwnerComponent();
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// special handling for SmartTemplates
|
|
118
|
+
if (this.oComponent && this.oComponent.getAppComponent) {
|
|
119
|
+
this.oComponent = this.oComponent.getAppComponent();
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
if (
|
|
123
|
+
typeof this.oRouter === "undefined" ||
|
|
124
|
+
typeof this.oComponent === "undefined" ||
|
|
125
|
+
typeof this.oComponent.getComponentData !== "function"
|
|
126
|
+
) {
|
|
127
|
+
throw new NavError("NavigationHandler.INVALID_INPUT");
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
try {
|
|
131
|
+
this.oCrossAppNavService = this._getAppNavigationService();
|
|
132
|
+
if (!this.oCrossAppNavService) {
|
|
133
|
+
Log.error("NavigationHandler: CrossApplicationNavigation is not available.");
|
|
134
|
+
throw new NavError("NavigationHandler.NO.XAPPSERVICE");
|
|
135
|
+
}
|
|
136
|
+
} catch (ex) {
|
|
137
|
+
Log.error("NavigationHandler: UShell service API for CrossApplicationNavigation is not available.");
|
|
138
|
+
// throw new NavError("NavigationHandler.NO.SHELL");
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
this.IAPP_STATE = "sap-iapp-state";
|
|
142
|
+
this.sDefaultedParamProp = "sap-ushell-defaultedParameterNames";
|
|
143
|
+
this.sSAPSystemProp = "sap-system";
|
|
144
|
+
|
|
145
|
+
// list of technical parameters
|
|
146
|
+
this._aTechnicalParamaters = ["hcpApplicationId"];
|
|
147
|
+
|
|
148
|
+
this._oLastSavedInnerAppData = {
|
|
149
|
+
sAppStateKey: "",
|
|
150
|
+
oAppData: {},
|
|
151
|
+
iCacheHit: 0,
|
|
152
|
+
iCacheMiss: 0
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
/*
|
|
156
|
+
* There exists a generation of "old" sap-iapp-states which are based on the following URL schema:
|
|
157
|
+
* #SemObj-action&/route/sap-iapp-state=ABC12345678 The new URL schema is: #SemObj-action&/route?sap-iapp-state=ABC12345678 (mind the
|
|
158
|
+
* difference between / and ? above), i.e. the sap-iapp-state has become a parameter of the query parameter section in the AppHash string.
|
|
159
|
+
* Yet, this tool shall be able to deal even with old sap-iapp-states. Therefore, we use two Regular Expressions (rIAppStateOld and
|
|
160
|
+
* rIAppStateOldAtStart) as defined below to scan for these old variants. The new variant is being scanned using rIAppStateNew as Regular
|
|
161
|
+
* Expression search string. Compatibility is centrally ensured by the two methods _getInnerAppStateKey and _replaceInnerAppStateKey (see
|
|
162
|
+
* below). Never use these RegExp in a method on your own, as it typically indicates that you will fall into the compatibility trap!
|
|
163
|
+
*/
|
|
164
|
+
// Warning! Do not use GLOBAL flags here; RegExp in GLOBAL mode store the lastIndex value
|
|
165
|
+
// Therefore, repeated calls to the RegExp will then only start beginning with that stored
|
|
166
|
+
// lastIndex. Thus, multiple calls therefore could yield strange results.
|
|
167
|
+
// Moreover, there shall only be exactly one IAPP_STATE per RegExp in an AppHash.
|
|
168
|
+
// Therefore, GLOBAL search should be superfluous.
|
|
169
|
+
this._rIAppStateOld = new RegExp("/" + this.IAPP_STATE + "=([^/?]+)");
|
|
170
|
+
this._rIAppStateOldAtStart = new RegExp("^" + this.IAPP_STATE + "=([^/?]+)");
|
|
171
|
+
|
|
172
|
+
this._rIAppStateNew = new RegExp("[?&]" + this.IAPP_STATE + "=([^&]+)");
|
|
173
|
+
/*
|
|
174
|
+
* Regular Expression in words: Search for something that either stars with ? or &, followed by the term "sap-iapp-state". That one is
|
|
175
|
+
* followed by an equal sign (=). The stuff that is after the equal sign forms the first regexp group. This group consists of at least one
|
|
176
|
+
* (or arbitrary many) characters, as long as it is not an ampersand sign (&). Characters after such an ampersand would be ignored and do
|
|
177
|
+
* not belong to the group. Alternatively, the string also may end.
|
|
178
|
+
*/
|
|
179
|
+
|
|
180
|
+
if (sParamHandlingMode === ParamHandlingMode.URLParamWins || sParamHandlingMode === ParamHandlingMode.InsertInSelOpt) {
|
|
181
|
+
this.sParamHandlingMode = sParamHandlingMode;
|
|
182
|
+
} else {
|
|
183
|
+
this.sParamHandlingMode = ParamHandlingMode.SelVarWins; // default
|
|
184
|
+
}
|
|
185
|
+
if (sMode === Mode.ODataV2) {
|
|
186
|
+
this._sMode = sMode;
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Retrieves the shell navigation service.
|
|
192
|
+
* @returns {object} The Navigation service
|
|
193
|
+
* @private
|
|
194
|
+
*/
|
|
195
|
+
_getAppNavigationService: function() {
|
|
196
|
+
return sap.ushell.Container.getService("CrossApplicationNavigation");
|
|
197
|
+
},
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Retrieves the reference to the router object for navigation for this given Controller.
|
|
201
|
+
*
|
|
202
|
+
* @param {object} oController The reference to the Controller for which the Router instance shall be determined.
|
|
203
|
+
* @returns {object} The Router for the given Controller
|
|
204
|
+
* @private
|
|
205
|
+
*/
|
|
206
|
+
_getRouter: function(oController) {
|
|
207
|
+
return UIComponent.getRouterFor(oController);
|
|
208
|
+
},
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Triggers a cross-app navigation after saving the inner and the cross-app states. The navigation mode based on
|
|
212
|
+
* <code>sap-ushell-next-navmode</code> is taken into account. If set to <code>explace</code> the inner app state will not be changed.
|
|
213
|
+
* <b>Note:</b> The <code>sNavMode</code> argument can be used to overwrite the SAP Fiori launchpad default navigation for opening a URL
|
|
214
|
+
* in-place or ex-place.
|
|
215
|
+
* @param {string} sSemanticObject Name of the semantic object of the target app
|
|
216
|
+
* @param {string} sActionName Name of the action of the target app
|
|
217
|
+
* @param {object | string } [vNavigationParameters] Navigation parameters as an object with key/value pairs or as a string representation of
|
|
218
|
+
* such an object. If passed as an object, the properties are not checked against the <code>IsPotentialSensitive</code> or
|
|
219
|
+
* <code>Measure</code> type.
|
|
220
|
+
* @param {object} [oInnerAppData] Object for storing current state of the app
|
|
221
|
+
* @param {string} [oInnerAppData.selectionVariant] Stringified JSON object as returned, for example, from getDataSuiteFormat() of the
|
|
222
|
+
* SmartFilterBar control
|
|
223
|
+
* @param {string} [oInnerAppData.tableVariantId] ID of the SmartTable variant
|
|
224
|
+
* @param {object} [oInnerAppData.customData] Object that can be used to store arbitrary data
|
|
225
|
+
* @param {object} [oInnerAppData.presentationVariant] Object containing the current ui state of the app
|
|
226
|
+
* @param {object} [oInnerAppData.valueTexts] Object containing value descriptions
|
|
227
|
+
* @param {object} [oInnerAppData.semanticDates] Object containing semanticDates filter information
|
|
228
|
+
* @param {Function} [fnOnError] Callback that is called if an error occurs during navigation <br>
|
|
229
|
+
* @param {object} oExternalAppData Object for storing the state which will be forwarded to the target component.
|
|
230
|
+
* @param {object} [oExternalAppData.presentationVariant] Object containing the current ui state of the app which will be forwarded to the
|
|
231
|
+
* target component.
|
|
232
|
+
* @param {object} [oExternalAppData.valueTexts] Object containing value descriptions which will be forwarded to the target component.
|
|
233
|
+
* @param {object} [oExternalAppData.selectionVariant] Stringified JSON object, which will be forwarded to the target component. If not
|
|
234
|
+
* provided the selectionVariant will be constructed based on the vNavigationParameters.
|
|
235
|
+
* @param {string} [sNavMode] Argument is used to overwrite the FLP-configured target for opening a URL. If used, only the
|
|
236
|
+
* <code>explace</code> or <code>inplace</code> values are allowed. Any other value will lead to an exception
|
|
237
|
+
* <code>NavigationHandler.INVALID_NAV_MODE</code>.
|
|
238
|
+
* @public <br>
|
|
239
|
+
* <b>Node:</b> If the <code>oExternalAppData</code> parameter is not supplied, the external app data will be calculated based on
|
|
240
|
+
* the <code>oInnerAppData</code> data.<br>
|
|
241
|
+
* SmartFilterBar control <b>Parameters:</b> <table>
|
|
242
|
+
* <tr>
|
|
243
|
+
* <td align="center">{object}</td>
|
|
244
|
+
* <td><b>oError</b></td>
|
|
245
|
+
* <td>NavError object (instance of {@link sap.fe.navigation.NavError}) that describes which kind of error occurred</td>
|
|
246
|
+
* <tr>
|
|
247
|
+
* <td align="center">{string}</td>
|
|
248
|
+
* <td><b>oError.errorCode</b></td>
|
|
249
|
+
* <td>Code to identify the error</td>
|
|
250
|
+
* <tr>
|
|
251
|
+
* <td align="center">{string}</td>
|
|
252
|
+
* <td><b>oError.type</b></td>
|
|
253
|
+
* <td>Severity of the error (info/warning/error)</td>
|
|
254
|
+
* <tr>
|
|
255
|
+
* <td align="center">{array}</td>
|
|
256
|
+
* <td><b>oError.params</b></td>
|
|
257
|
+
* <td>An array of objects (typically strings) that describe additional value parameters required for generating the message</td>
|
|
258
|
+
* </table>
|
|
259
|
+
* @example <code>
|
|
260
|
+
* sap.ui.define(["sap/fe/navigation/NavigationHandler", "sap/fe/navigation/SelectionVariant"], function (NavigationHandler, SelectionVariant) {
|
|
261
|
+
* var oNavigationHandler = new NavigationHandler(oController);
|
|
262
|
+
* var sSemanticObject = "SalesOrder";
|
|
263
|
+
* var sActionName = "create";
|
|
264
|
+
*
|
|
265
|
+
* //simple parameters as Object
|
|
266
|
+
* var vNavigationParameters = {
|
|
267
|
+
* CompanyCode : "0001",
|
|
268
|
+
* Customer : "C0001"
|
|
269
|
+
* };
|
|
270
|
+
*
|
|
271
|
+
* //or as selection variant
|
|
272
|
+
* var oSelectionVariant = new SelectionVariant();
|
|
273
|
+
* oSelectionVariant.addSelectOption("CompanyCode", "I", "EQ", "0001");
|
|
274
|
+
* oSelectionVariant.addSelectOption("Customer", "I", "EQ", "C0001");
|
|
275
|
+
* vNavigationParameters = oSelectionVariant.toJSONString();
|
|
276
|
+
*
|
|
277
|
+
* //or directly from SmartFilterBar
|
|
278
|
+
* vNavigationParameters = oSmartFilterBar.getDataSuiteFormat();
|
|
279
|
+
*
|
|
280
|
+
* //app state for back navigation
|
|
281
|
+
* var oInnerAppData = {
|
|
282
|
+
* selectionVariant : oSmartFilterBar.getDataSuiteFormat(),
|
|
283
|
+
* tableVariantId : oSmartTable.getCurrentVariantId(),
|
|
284
|
+
* customData : oMyCustomData
|
|
285
|
+
* };
|
|
286
|
+
*
|
|
287
|
+
* // callback function in case of errors
|
|
288
|
+
* var fnOnError = function(oError){
|
|
289
|
+
* var oi18n = oController.getView().getModel("i18n").getResourceBundle();
|
|
290
|
+
* oError.setUIText({oi18n : oi18n, sTextKey : "OUTBOUND_NAV_ERROR"});
|
|
291
|
+
* oError.showMessageBox();
|
|
292
|
+
* };
|
|
293
|
+
*
|
|
294
|
+
* oNavigationHandler.navigate(sSemanticObject, sActionName, vNavigationParameters, oInnerAppData, fnOnError);
|
|
295
|
+
* });
|
|
296
|
+
* </code>
|
|
297
|
+
*/
|
|
298
|
+
navigate: function(sSemanticObject, sActionName, vNavigationParameters, oInnerAppData, fnOnError, oExternalAppData, sNavMode) {
|
|
299
|
+
var sSelectionVariant,
|
|
300
|
+
mParameters,
|
|
301
|
+
oXAppDataObj,
|
|
302
|
+
oComponentData,
|
|
303
|
+
oStartupParameters,
|
|
304
|
+
bExPlace = false,
|
|
305
|
+
oTmpData = {};
|
|
306
|
+
|
|
307
|
+
oComponentData = this.oComponent.getComponentData();
|
|
308
|
+
/*
|
|
309
|
+
* There are some race conditions where the oComponentData may not be set, for example in case the UShell was not initialized properly. To
|
|
310
|
+
* make sure that we do not dump here with an exception, we take this special error handling behavior:
|
|
311
|
+
*/
|
|
312
|
+
if (oComponentData) {
|
|
313
|
+
oStartupParameters = oComponentData.startupParameters;
|
|
314
|
+
|
|
315
|
+
if (
|
|
316
|
+
oStartupParameters &&
|
|
317
|
+
oStartupParameters["sap-ushell-next-navmode"] &&
|
|
318
|
+
oStartupParameters["sap-ushell-next-navmode"].length > 0
|
|
319
|
+
) {
|
|
320
|
+
// bExPlace = (JSON.parse(oStartupParameters["sap-ushell-next-navmode"][0]) === "explace");
|
|
321
|
+
bExPlace = oStartupParameters["sap-ushell-next-navmode"][0] === "explace";
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
// only nav-mode 'inplace' or 'explace' are supported. Any other value will lead to an exception.
|
|
326
|
+
if (sNavMode && (sNavMode === "inplace" || sNavMode === "explace")) {
|
|
327
|
+
bExPlace = sNavMode === "explace";
|
|
328
|
+
} else if (sNavMode) {
|
|
329
|
+
throw new NavError("NavigationHandler.INVALID_NAV_MODE");
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
if (oExternalAppData === undefined || oExternalAppData === null) {
|
|
333
|
+
oXAppDataObj = {};
|
|
334
|
+
} else {
|
|
335
|
+
oXAppDataObj = oExternalAppData;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
// for navigation we need URL parameters (legacy navigation) and sap-xapp-state, therefore we need to create the missing one from the
|
|
339
|
+
// passed one
|
|
340
|
+
if (typeof vNavigationParameters === "string") {
|
|
341
|
+
sSelectionVariant = vNavigationParameters;
|
|
342
|
+
} else if (typeof vNavigationParameters === "object") {
|
|
343
|
+
var oEnrichedSelVar = this._splitInboundNavigationParameters(new SelectionVariant(), vNavigationParameters, [])
|
|
344
|
+
.oNavigationSelVar;
|
|
345
|
+
sSelectionVariant = oEnrichedSelVar.toJSONString();
|
|
346
|
+
} else {
|
|
347
|
+
throw new NavError("NavigationHandler.INVALID_INPUT");
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
oTmpData.selectionVariant = new SelectionVariant(sSelectionVariant).toJSONObject();
|
|
351
|
+
oTmpData = this._removeMeasureBasedInformation(oTmpData); // remove eventual measures
|
|
352
|
+
oTmpData = this._checkIsPotentiallySensitive(oTmpData); // remove eventual sensitive data
|
|
353
|
+
|
|
354
|
+
if (oTmpData.selectionVariant) {
|
|
355
|
+
mParameters = this._getURLParametersFromSelectionVariant(new SelectionVariant(oTmpData.selectionVariant));
|
|
356
|
+
sSelectionVariant = new SelectionVariant(oTmpData.selectionVariant).toJSONString();
|
|
357
|
+
} else {
|
|
358
|
+
mParameters = {};
|
|
359
|
+
sSelectionVariant = null;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
var oNavHandler = this;
|
|
363
|
+
var oNavArguments = {
|
|
364
|
+
target: {
|
|
365
|
+
semanticObject: sSemanticObject,
|
|
366
|
+
action: sActionName
|
|
367
|
+
},
|
|
368
|
+
params: mParameters || {}
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
if (sNavMode) {
|
|
372
|
+
oNavArguments.params["sap-ushell-navmode"] = bExPlace ? "explace" : "inplace";
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
var oSupportedPromise = oNavHandler.oCrossAppNavService.isNavigationSupported([oNavArguments], oNavHandler.oComponent);
|
|
376
|
+
oSupportedPromise.done(function(oTargets) {
|
|
377
|
+
if (oTargets[0].supported) {
|
|
378
|
+
var oReturn;
|
|
379
|
+
|
|
380
|
+
if (!bExPlace) {
|
|
381
|
+
oReturn = oNavHandler.storeInnerAppStateWithImmediateReturn(oInnerAppData, true);
|
|
382
|
+
if (oReturn && oReturn.appStateKey) {
|
|
383
|
+
oNavHandler.replaceHash(oReturn.appStateKey);
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
if (!oXAppDataObj.selectionVariant) {
|
|
388
|
+
oXAppDataObj.selectionVariant = sSelectionVariant;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
oXAppDataObj = oNavHandler._removeMeasureBasedInformation(oXAppDataObj);
|
|
392
|
+
|
|
393
|
+
oReturn = oNavHandler._saveAppStateWithImmediateReturn(oXAppDataObj, fnOnError);
|
|
394
|
+
if (oReturn) {
|
|
395
|
+
oNavArguments.appStateKey = oReturn.appStateKey;
|
|
396
|
+
|
|
397
|
+
// Remark:
|
|
398
|
+
// The Cross App Service takes care of encoding parameter keys and values. Example:
|
|
399
|
+
// mParams = { "$@%" : "&/=" } results in the URL parameter %2524%2540%2525=%2526%252F%253D
|
|
400
|
+
// Note the double encoding, this is correct.
|
|
401
|
+
|
|
402
|
+
// toExternal sets sap-xapp-state in the URL if appStateKey is provided in oNavArguments
|
|
403
|
+
// toExternal has issues on sticky apps FIORITECHP1-14400, temp fix using hrefForExternal
|
|
404
|
+
if (sNavMode == "explace") {
|
|
405
|
+
var sNewHref = oNavHandler.oCrossAppNavService.hrefForExternal(
|
|
406
|
+
oNavArguments,
|
|
407
|
+
oNavHandler.oComponent,
|
|
408
|
+
false
|
|
409
|
+
);
|
|
410
|
+
openWindow(sNewHref);
|
|
411
|
+
} else {
|
|
412
|
+
oNavHandler.oCrossAppNavService.toExternal(oNavArguments, oNavHandler.oComponent);
|
|
413
|
+
}
|
|
414
|
+
} // else : error was already reported
|
|
415
|
+
} else {
|
|
416
|
+
// intent is not supported
|
|
417
|
+
if (fnOnError) {
|
|
418
|
+
var oError = new NavError("NavigationHandler.isIntentSupported.notSupported");
|
|
419
|
+
fnOnError(oError);
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
});
|
|
423
|
+
|
|
424
|
+
if (fnOnError) {
|
|
425
|
+
oSupportedPromise.fail(function() {
|
|
426
|
+
// technical error: could not determine if intent is supported
|
|
427
|
+
var oError = oNavHandler._createTechnicalError("NavigationHandler.isIntentSupported.failed");
|
|
428
|
+
fnOnError(oError);
|
|
429
|
+
});
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* Parses the incoming URL and returns a Promise. If this method detects a back navigation, the inner app state is returned in the resolved
|
|
435
|
+
* Promise. Otherwise startup parameters will be merged into the app state provided by cross app navigation, and a combined app state will be
|
|
436
|
+
* returned. The conflict resolution can be influenced with sParamHandlingMode defined in the constructor.
|
|
437
|
+
* @returns {object} A Promise object to monitor when all the actions of the function have been executed. If the execution is successful, the
|
|
438
|
+
* extracted app state, the startup parameters, and the type of navigation are returned, see also the example above. The app state is
|
|
439
|
+
* an object that contains the following information:
|
|
440
|
+
* <ul>
|
|
441
|
+
* <li><code>oAppData.oSelectionVariant</code>: An instance of {@link sap.fe.navigation.SelectionVariant}
|
|
442
|
+
* containing only parameters/select options that are related to navigation</li>
|
|
443
|
+
* <li><code>oAppData.selectionVariant</code>: The navigation-related selection variant as a JSON-formatted string</li>
|
|
444
|
+
* <li><code>oAppData.oDefaultedSelectionVariant</code>: An instance of
|
|
445
|
+
* {@link sap.fe.navigation.SelectionVariant} containing only the parameters/select options that are set by user
|
|
446
|
+
* default data</li>
|
|
447
|
+
* <li><code>oAppData.bNavSelVarHasDefaultsOnly</code>: A Boolean flag that indicates whether only defaulted parameters and no
|
|
448
|
+
* navigation parameters are present.<br>
|
|
449
|
+
* <b>Note:</b> If no navigation parameters are available, <code>bNavSelVarHasDefaultsOnly</code> is set to <code>true</code>,
|
|
450
|
+
* even though parameters without default might be available as well.</li>
|
|
451
|
+
* </ul>
|
|
452
|
+
* If the navigation-related selection variant is empty, it is replaced by a copy of the defaulted selection variant.<br>
|
|
453
|
+
* The navigation type is an enumeration type of type {@link sap.fe.navigation.NavType} (possible values are
|
|
454
|
+
* initial, URLParams, xAppState, and iAppState).<br>
|
|
455
|
+
* <b>Note:</b> If the navigation type is {@link sap.fe.navigation.NavType.iAppState} oAppData has two
|
|
456
|
+
* additional properties
|
|
457
|
+
* <ul>
|
|
458
|
+
* <li><code>oAppData.tableVariantId</code></li>
|
|
459
|
+
* <li><code>oAppData.customData</code></li>
|
|
460
|
+
* </ul>
|
|
461
|
+
* which return the inner app data as stored in {@link #.navigate navigate} or {@link #.storeInnerAppState storeInnerAppState}.
|
|
462
|
+
* <code>oAppData.oDefaultedSelectionVariant</code> is an empty selection variant and
|
|
463
|
+
* <code>oAppData.bNavSelVarHasDefaultsOnly</code> is <code>false</code> in this case.<br>
|
|
464
|
+
* <b>Note:</b> If the navigation type is {@link sap.fe.navigation.NavType.initial} oAppData is an empty object!<br>
|
|
465
|
+
* If an error occurs, an error object of type {@link sap.fe.navigation.NavError}, URL parameters (if available)
|
|
466
|
+
* and the type of navigation are returned.
|
|
467
|
+
* @public
|
|
468
|
+
* @example <code>
|
|
469
|
+
* sap.ui.define(["sap/fe/navigation/NavigationHandler"], function (NavigationHandler) {
|
|
470
|
+
* var oNavigationHandler = new NavigationHandler(oController);
|
|
471
|
+
* var oParseNavigationPromise = oNavigationHandler.parseNavigation();
|
|
472
|
+
*
|
|
473
|
+
* oParseNavigationPromise.done(function(oAppData, oStartupParameters, sNavType){
|
|
474
|
+
* oSmartFilterBar.setDataSuiteFormat(oAppData.selectionVariant);
|
|
475
|
+
* // oAppData.oSelectionVariant can be used to manipulate the selection variant
|
|
476
|
+
* // oAppData.oDefaultedSelectionVariant contains the parameters which are set by user defaults
|
|
477
|
+
* // oAppData.bNavSelVarHasDefaultsOnly indicates whether only defaulted parameters and no navigation parameters are present
|
|
478
|
+
* });
|
|
479
|
+
* oParseNavigationPromise.fail(function(oError, oURLParameters, sNavType){
|
|
480
|
+
* // if e.g. the xapp state could not be loaded, nevertheless there may be URL parameters available
|
|
481
|
+
* //some error handling
|
|
482
|
+
* });
|
|
483
|
+
* });
|
|
484
|
+
* </code>
|
|
485
|
+
*/
|
|
486
|
+
parseNavigation: function() {
|
|
487
|
+
var sAppHash = HashChanger.getInstance().getHash();
|
|
488
|
+
/*
|
|
489
|
+
* use .getHash() here instead of .getAppHash() to also be able dealing with environments where only SAPUI5 is loaded and the UShell is
|
|
490
|
+
* not initialized properly.
|
|
491
|
+
*/
|
|
492
|
+
var sIAppState = this._getInnerAppStateKey(sAppHash);
|
|
493
|
+
|
|
494
|
+
var oComponentData = this.oComponent.getComponentData();
|
|
495
|
+
/*
|
|
496
|
+
* There are some race conditions where the oComponentData may not be set, for example in case the UShell was not initialized properly. To
|
|
497
|
+
* make sure that we do not dump here with an exception, we take this special error handling behavior:
|
|
498
|
+
*/
|
|
499
|
+
if (oComponentData === undefined) {
|
|
500
|
+
Log.warning("The navigation Component's data was not set properly; assuming instead that no parameters are provided.");
|
|
501
|
+
oComponentData = {};
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
// Remark:
|
|
505
|
+
// The startup parameters are already decoded. Example:
|
|
506
|
+
// The original URL parameter %2524%2540%2525=%2526%252F%253D results in oStartupParameters = { "$@%" : "&/=" }
|
|
507
|
+
// Note the double encoding in the URL, this is correct. An URL parameter like xyz=%25 causes an "URI malformed" error.
|
|
508
|
+
// If the decoded value should be e.g. "%25", the parameter in the URL needs to be: xyz=%252525
|
|
509
|
+
var oStartupParameters = oComponentData.startupParameters;
|
|
510
|
+
|
|
511
|
+
var aDefaultedParameters = [];
|
|
512
|
+
if (
|
|
513
|
+
oStartupParameters &&
|
|
514
|
+
oStartupParameters[this.sDefaultedParamProp] &&
|
|
515
|
+
oStartupParameters[this.sDefaultedParamProp].length > 0
|
|
516
|
+
) {
|
|
517
|
+
aDefaultedParameters = JSON.parse(oStartupParameters[this.sDefaultedParamProp][0]);
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
var oMyDeferred = jQuery.Deferred();
|
|
521
|
+
var oNavHandler = this;
|
|
522
|
+
|
|
523
|
+
if (sIAppState) {
|
|
524
|
+
// inner app state is available in the AppHash (back navigation); extract the parameter value
|
|
525
|
+
this._loadAppState(sIAppState, oMyDeferred);
|
|
526
|
+
} else {
|
|
527
|
+
// no back navigation
|
|
528
|
+
var bIsXappStateNavigation = oComponentData["sap-xapp-state"] !== undefined;
|
|
529
|
+
if (bIsXappStateNavigation) {
|
|
530
|
+
// inner app state was not found in the AppHash, but xapp state => try to read the xapp state
|
|
531
|
+
var oStartupPromise = this.oCrossAppNavService.getStartupAppState(this.oComponent);
|
|
532
|
+
|
|
533
|
+
oStartupPromise.done(function(oAppState) {
|
|
534
|
+
// get app state from sap-xapp-state,
|
|
535
|
+
// create a copy, not only a reference, because we want to modify the object
|
|
536
|
+
var oAppStateData = oAppState.getData();
|
|
537
|
+
if (oAppStateData) {
|
|
538
|
+
try {
|
|
539
|
+
oAppStateData = JSON.parse(JSON.stringify(oAppStateData));
|
|
540
|
+
} catch (x) {
|
|
541
|
+
var oError = oNavHandler._createTechnicalError("NavigationHandler.AppStateData.parseError");
|
|
542
|
+
oMyDeferred.reject(oError, oStartupParameters, NavType.xAppState);
|
|
543
|
+
return oMyDeferred.promise();
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
if (oAppStateData) {
|
|
548
|
+
var oSelVar = new SelectionVariant(oAppStateData.selectionVariant);
|
|
549
|
+
|
|
550
|
+
var oSelVars = oNavHandler._splitInboundNavigationParameters(
|
|
551
|
+
oSelVar,
|
|
552
|
+
oStartupParameters,
|
|
553
|
+
aDefaultedParameters
|
|
554
|
+
);
|
|
555
|
+
oAppStateData.selectionVariant = oSelVars.oNavigationSelVar.toJSONString();
|
|
556
|
+
oAppStateData.oSelectionVariant = oSelVars.oNavigationSelVar;
|
|
557
|
+
oAppStateData.oDefaultedSelectionVariant = oSelVars.oDefaultedSelVar;
|
|
558
|
+
oAppStateData.bNavSelVarHasDefaultsOnly = oSelVars.bNavSelVarHasDefaultsOnly;
|
|
559
|
+
oMyDeferred.resolve(oAppStateData, oStartupParameters, NavType.xAppState);
|
|
560
|
+
} else {
|
|
561
|
+
// sap-xapp-state navigation, but ID has already expired, but URL parameters available
|
|
562
|
+
oError = oNavHandler._createTechnicalError("NavigationHandler.getDataFromAppState.failed");
|
|
563
|
+
oMyDeferred.reject(oError, oStartupParameters || {}, NavType.xAppState);
|
|
564
|
+
}
|
|
565
|
+
});
|
|
566
|
+
oStartupPromise.fail(function() {
|
|
567
|
+
var oError = oNavHandler._createTechnicalError("NavigationHandler.getStartupState.failed");
|
|
568
|
+
oMyDeferred.reject(oError, {}, NavType.xAppState);
|
|
569
|
+
});
|
|
570
|
+
} else {
|
|
571
|
+
// no sap-xapp-state
|
|
572
|
+
if (oStartupParameters) {
|
|
573
|
+
// standard URL navigation
|
|
574
|
+
var oSelVars = oNavHandler._splitInboundNavigationParameters(
|
|
575
|
+
new SelectionVariant(),
|
|
576
|
+
oStartupParameters,
|
|
577
|
+
aDefaultedParameters
|
|
578
|
+
);
|
|
579
|
+
if (oSelVars.oNavigationSelVar.isEmpty() && oSelVars.oDefaultedSelVar.isEmpty()) {
|
|
580
|
+
// Startup parameters contain only technical parameters (SAP system) which were filtered out.
|
|
581
|
+
// oNavigationSelVar and oDefaultedSelVar are empty.
|
|
582
|
+
// Thus, consider this type of navigation as an initial navigation.
|
|
583
|
+
oMyDeferred.resolve({}, oStartupParameters, NavType.initial);
|
|
584
|
+
} else {
|
|
585
|
+
var oAppStateData = {};
|
|
586
|
+
oAppStateData.selectionVariant = oSelVars.oNavigationSelVar.toJSONString();
|
|
587
|
+
oAppStateData.oSelectionVariant = oSelVars.oNavigationSelVar;
|
|
588
|
+
oAppStateData.oDefaultedSelectionVariant = oSelVars.oDefaultedSelVar;
|
|
589
|
+
oAppStateData.bNavSelVarHasDefaultsOnly = oSelVars.bNavSelVarHasDefaultsOnly;
|
|
590
|
+
oMyDeferred.resolve(oAppStateData, oStartupParameters, NavType.URLParams);
|
|
591
|
+
}
|
|
592
|
+
} else {
|
|
593
|
+
// initial navigation
|
|
594
|
+
oMyDeferred.resolve({}, {}, NavType.initial);
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
return oMyDeferred.promise();
|
|
600
|
+
},
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* Sets the application specific technical parameters. Technical parameters will not be added to the selection variant passed to the
|
|
604
|
+
* application. As a default the following values are considered as technical parameters:
|
|
605
|
+
* <ul>
|
|
606
|
+
* <li><code>sap-system</code></li>
|
|
607
|
+
* <li><code>sap-ushell-defaultedParameterNames</code></li>
|
|
608
|
+
* <li><code>"hcpApplicationId"</code></li>
|
|
609
|
+
* </ul>.
|
|
610
|
+
*
|
|
611
|
+
* @param {Array} aTechnicalParameters List of parameter names to be considered as technical parameters. <code>null</code> or
|
|
612
|
+
* <code>undefined</code> may be used to reset the complete list.
|
|
613
|
+
* @public
|
|
614
|
+
*/
|
|
615
|
+
setTechnicalParameters: function(aTechnicalParameters) {
|
|
616
|
+
if (!aTechnicalParameters) {
|
|
617
|
+
aTechnicalParameters = [];
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
if (!Array.isArray(aTechnicalParameters)) {
|
|
621
|
+
Log.error("NavigationHandler: parameter incorrect, array of strings expected");
|
|
622
|
+
throw new NavError("NavigationHandler.INVALID_INPUT");
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
this._aTechnicalParamaters = aTechnicalParameters;
|
|
626
|
+
},
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* Gets the application specific technical parameters. Technical parameters will not be added to the selection variant passed to the
|
|
630
|
+
* application. As a default the following values are considered as technical parameters:
|
|
631
|
+
* <ul>
|
|
632
|
+
* <li><code>sap-system</code></li>
|
|
633
|
+
* <li><code>sap-ushell-defaultedParameterNames</code></li>
|
|
634
|
+
* <li><code>"hcpApplicationId"</code></li>
|
|
635
|
+
* </ul>.
|
|
636
|
+
*
|
|
637
|
+
* @returns {Array} Containing the technical parameters.
|
|
638
|
+
* @public
|
|
639
|
+
*/
|
|
640
|
+
getTechnicalParameters: function() {
|
|
641
|
+
return this._aTechnicalParamaters.concat([]);
|
|
642
|
+
},
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* Checks if the passed parameter is considered as technical parameter.
|
|
646
|
+
* @param {string} sParameterName Name of a request parameter, considered as technical parameter.
|
|
647
|
+
* @returns {boolean} Indicates if the parameter is considered as technical parameter or not.
|
|
648
|
+
* @private
|
|
649
|
+
*/
|
|
650
|
+
_isTechnicalParameter: function(sParameterName) {
|
|
651
|
+
if (sParameterName) {
|
|
652
|
+
if (sParameterName.toLowerCase().indexOf("sap-") === 0) {
|
|
653
|
+
return true;
|
|
654
|
+
} else if (this._aTechnicalParamaters.indexOf(sParameterName) >= 0) {
|
|
655
|
+
return true;
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
return false;
|
|
660
|
+
},
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* Splits the parameters provided during inbound navigation and separates the contextual information between defaulted parameter values and
|
|
664
|
+
* navigation parameters.
|
|
665
|
+
*
|
|
666
|
+
* @param {object} oSelectionVariant Instance of {@link sap.fe.navigation.SelectionVariant} containing navigation data of
|
|
667
|
+
* the app
|
|
668
|
+
* @param {object} oStartupParameters Object containing startup parameters of the app (derived from the component)
|
|
669
|
+
* @param {Array} aDefaultedParameters Array containing defaulted parameter names
|
|
670
|
+
* @returns {object} Object containing two SelectionVariants, one for navigation (oNavigationSelVar) and one for defaulted startup parameters
|
|
671
|
+
* (oDefaultedSelVar), and a flag (bNavSelVarHasDefaultsOnly) indicating whether all parameters were defaulted. The function is
|
|
672
|
+
* handed two objects containing parameters (names and their corresponding values), oSelectionVariant and oStartupParameters. A
|
|
673
|
+
* parameter could be stored in just one of these two objects or in both of them simultaneously. Because of the latter case a
|
|
674
|
+
* parameter could be associated with conflicting values and it is the job of this function to resolve any such conflict. Parameters
|
|
675
|
+
* are assigned to the two returned SelectionVariants, oNavigationSelVar and oDefaultedSelVar, as follows: | parameter NOT in |
|
|
676
|
+
* parameter in | oSelectionVariant | oSelectionVariant ---------------------------------------|------------------ parameter NOT in |
|
|
677
|
+
* nothing to do | Add parameter oStartupParameters | here | (see below) ----------------------------------------------------------
|
|
678
|
+
* parameter in | Add parameter | Conflict resolution oStartupParameters | (see below) | (see below) Add parameter: if parameter in
|
|
679
|
+
* aDefaultedParameters: add parameter to oDefaultedSelVar else: add parameter to oNavigationSelVar Conflict resolution: if parameter
|
|
680
|
+
* in aDefaultedParameters: add parameter value from oSelectionVariant to oNavigationSelVar add parameter value from
|
|
681
|
+
* oStartupParameters to oDefaultedSelVar Note: This case only occurs in UI5 1.32. In later versions UShell stores any defaulted
|
|
682
|
+
* parameter either in oSelectionVariant or oStartupParameters but never simultaneously in both. else: Choose 1 of the following
|
|
683
|
+
* options based on given handling mode (this.sParamHandlingMode). -> add parameter value from oStartupParameters to
|
|
684
|
+
* oNavigationSelVar | -> add parameter value from oAppState.selectionVariant to oNavigationSelVar -> add both parameter values to
|
|
685
|
+
* navigationSelVar If navigationSelVar is still empty at the end of execution, navigationSelVar is replaced by a copy of
|
|
686
|
+
* oDefaultedSelVar and the flag bNavSelVarHasDefaultsOnly is set to true. The selection variant oDefaultedSelVar itself is always
|
|
687
|
+
* returned as is.
|
|
688
|
+
* @private
|
|
689
|
+
*/
|
|
690
|
+
_splitInboundNavigationParameters: function(oSelectionVariant, oStartupParameters, aDefaultedParameters) {
|
|
691
|
+
if (!Array.isArray(aDefaultedParameters)) {
|
|
692
|
+
throw new NavError("NavigationHandler.INVALID_INPUT");
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
var sPropName, i;
|
|
696
|
+
// First we do some parsing of the StartUp Parameters.
|
|
697
|
+
var oStartupParametersAdjusted = {};
|
|
698
|
+
for (sPropName in oStartupParameters) {
|
|
699
|
+
if (!oStartupParameters.hasOwnProperty(sPropName)) {
|
|
700
|
+
continue;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
// if (sPropName === this.sSAPSystemProp || sPropName === this.sDefaultedParamProp) {
|
|
704
|
+
if (this._isTechnicalParameter(sPropName)) {
|
|
705
|
+
// Do not add the SAP system parameter to the selection variant as it is a technical parameter
|
|
706
|
+
// not relevant for the selection variant.
|
|
707
|
+
// Do not add the startup parameter for default values to the selection variant. The information, which parameters
|
|
708
|
+
// are defaulted, is available in the defaulted selection variant.
|
|
709
|
+
continue;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
// We support parameters as a map with strings and as a map with value arrays
|
|
713
|
+
if (typeof oStartupParameters[sPropName] === "string") {
|
|
714
|
+
oStartupParametersAdjusted[sPropName] = oStartupParameters[sPropName];
|
|
715
|
+
} else if (Array.isArray(oStartupParameters[sPropName]) && oStartupParameters[sPropName].length === 1) {
|
|
716
|
+
oStartupParametersAdjusted[sPropName] = oStartupParameters[sPropName][0]; // single-valued parameters
|
|
717
|
+
} else if (Array.isArray(oStartupParameters[sPropName]) && oStartupParameters[sPropName].length > 1) {
|
|
718
|
+
oStartupParametersAdjusted[sPropName] = oStartupParameters[sPropName]; // multi-valued parameters
|
|
719
|
+
} else {
|
|
720
|
+
throw new NavError("NavigationHandler.INVALID_INPUT");
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
// Construct two selection variants for defaults and navigation to be returned by the function.
|
|
725
|
+
var oDefaultedSelVar = new SelectionVariant();
|
|
726
|
+
var oNavigationSelVar = new SelectionVariant();
|
|
727
|
+
|
|
728
|
+
var aSelVarPropNames = oSelectionVariant.getParameterNames().concat(oSelectionVariant.getSelectOptionsPropertyNames());
|
|
729
|
+
for (i = 0; i < aSelVarPropNames.length; i++) {
|
|
730
|
+
sPropName = aSelVarPropNames[i];
|
|
731
|
+
if (sPropName in oStartupParametersAdjusted) {
|
|
732
|
+
// Resolve conflict.
|
|
733
|
+
if (aDefaultedParameters.indexOf(sPropName) > -1) {
|
|
734
|
+
oNavigationSelVar.massAddSelectOption(sPropName, oSelectionVariant.getValue(sPropName));
|
|
735
|
+
this._addParameterValues(oDefaultedSelVar, sPropName, "I", "EQ", oStartupParametersAdjusted[sPropName]);
|
|
736
|
+
} else {
|
|
737
|
+
switch (this.sParamHandlingMode) {
|
|
738
|
+
case ParamHandlingMode.SelVarWins:
|
|
739
|
+
oNavigationSelVar.massAddSelectOption(sPropName, oSelectionVariant.getValue(sPropName));
|
|
740
|
+
break;
|
|
741
|
+
case ParamHandlingMode.URLParamWins:
|
|
742
|
+
this._addParameterValues(
|
|
743
|
+
oNavigationSelVar,
|
|
744
|
+
sPropName,
|
|
745
|
+
"I",
|
|
746
|
+
"EQ",
|
|
747
|
+
oStartupParametersAdjusted[sPropName]
|
|
748
|
+
);
|
|
749
|
+
break;
|
|
750
|
+
case ParamHandlingMode.InsertInSelOpt:
|
|
751
|
+
oNavigationSelVar.massAddSelectOption(sPropName, oSelectionVariant.getValue(sPropName));
|
|
752
|
+
this._addParameterValues(
|
|
753
|
+
oNavigationSelVar,
|
|
754
|
+
sPropName,
|
|
755
|
+
"I",
|
|
756
|
+
"EQ",
|
|
757
|
+
oStartupParametersAdjusted[sPropName]
|
|
758
|
+
);
|
|
759
|
+
break;
|
|
760
|
+
default:
|
|
761
|
+
throw new NavError("NavigationHandler.INVALID_INPUT");
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
} else {
|
|
765
|
+
// parameter only in SelVar
|
|
766
|
+
if (aDefaultedParameters.indexOf(sPropName) > -1) {
|
|
767
|
+
oDefaultedSelVar.massAddSelectOption(sPropName, oSelectionVariant.getValue(sPropName));
|
|
768
|
+
} else {
|
|
769
|
+
oNavigationSelVar.massAddSelectOption(sPropName, oSelectionVariant.getValue(sPropName));
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
for (sPropName in oStartupParametersAdjusted) {
|
|
775
|
+
// The case where the parameter appears twice has already been taken care of above so we skip it here.
|
|
776
|
+
if (aSelVarPropNames.indexOf(sPropName) > -1) {
|
|
777
|
+
continue;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
if (aDefaultedParameters.indexOf(sPropName) > -1) {
|
|
781
|
+
this._addParameterValues(oDefaultedSelVar, sPropName, "I", "EQ", oStartupParametersAdjusted[sPropName]);
|
|
782
|
+
} else {
|
|
783
|
+
this._addParameterValues(oNavigationSelVar, sPropName, "I", "EQ", oStartupParametersAdjusted[sPropName]);
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
// the selection variant used for navigation should be filled with defaults in case that only defaults exist
|
|
788
|
+
var bNavSelVarHasDefaultsOnly = false;
|
|
789
|
+
if (oNavigationSelVar.isEmpty()) {
|
|
790
|
+
bNavSelVarHasDefaultsOnly = true;
|
|
791
|
+
var aPropNames = oDefaultedSelVar.getSelectOptionsPropertyNames();
|
|
792
|
+
for (i = 0; i < aPropNames.length; i++) {
|
|
793
|
+
oNavigationSelVar.massAddSelectOption(aPropNames[i], oDefaultedSelVar.getValue(aPropNames[i]));
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
return {
|
|
798
|
+
oNavigationSelVar: oNavigationSelVar,
|
|
799
|
+
oDefaultedSelVar: oDefaultedSelVar,
|
|
800
|
+
bNavSelVarHasDefaultsOnly: bNavSelVarHasDefaultsOnly
|
|
801
|
+
};
|
|
802
|
+
},
|
|
803
|
+
|
|
804
|
+
_addParameterValues: function(oSelVariant, sPropName, sSign, sOption, oValues) {
|
|
805
|
+
if (Array.isArray(oValues)) {
|
|
806
|
+
for (var i = 0; i < oValues.length; i++) {
|
|
807
|
+
oSelVariant.addSelectOption(sPropName, sSign, sOption, oValues[i]);
|
|
808
|
+
}
|
|
809
|
+
} else {
|
|
810
|
+
oSelVariant.addSelectOption(sPropName, sSign, sOption, oValues);
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* Changes the URL according to the current sAppStateKey. As an reaction route change event will be triggered.
|
|
816
|
+
* @param {string} sAppStateKey The new app state key.
|
|
817
|
+
* @public
|
|
818
|
+
*/
|
|
819
|
+
replaceHash: function(sAppStateKey) {
|
|
820
|
+
var oHashChanger = this.oRouter.oHashChanger ? this.oRouter.oHashChanger : HashChanger.getInstance();
|
|
821
|
+
var sAppHashOld = oHashChanger.getHash();
|
|
822
|
+
/*
|
|
823
|
+
* use .getHash() here instead of .getAppHash() to also be able dealing with environments where only SAPUI5 is loaded and the UShell is
|
|
824
|
+
* not initialized properly.
|
|
825
|
+
*/
|
|
826
|
+
var sAppHashNew = this._replaceInnerAppStateKey(sAppHashOld, sAppStateKey);
|
|
827
|
+
oHashChanger.replaceHash(sAppHashNew);
|
|
828
|
+
},
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* Changes the URL according to the current app state and stores the app state for later retrieval.
|
|
832
|
+
* @param {object} mInnerAppData Object containing the current state of the app
|
|
833
|
+
* @param {string} mInnerAppData.selectionVariant Stringified JSON object as returned, for example, from getDataSuiteFormat() of the
|
|
834
|
+
* SmartFilterBar control
|
|
835
|
+
* @param {string} [mInnerAppData.tableVariantId] ID of the SmartTable variant
|
|
836
|
+
* @param {object} [mInnerAppData.customData] Object that can be used to store additional app-specific data
|
|
837
|
+
* @param {object} [mInnerAppData.presentationVariant] Object containing the current ui state of the app
|
|
838
|
+
* @param {object} [mInnerAppData.valueTexts] Object containing value descriptions
|
|
839
|
+
* @param {object} [mInnerAppData.semanticDates] Object containing semanticDates filter information
|
|
840
|
+
* @param {boolean} [bImmediateHashReplace=true] If set to false, the inner app hash will not be replaced until storing is successful; do not
|
|
841
|
+
* set to false if you cannot react to the resolution of the Promise, for example, when calling the beforeLinkPressed event
|
|
842
|
+
* @returns {object} A Promise object to monitor when all the actions of the function have been executed; if the execution is successful, the
|
|
843
|
+
* app state key is returned; if an error occurs, an object of type {@link sap.fe.navigation.NavError} is
|
|
844
|
+
* returned
|
|
845
|
+
* @public
|
|
846
|
+
* @example <code>
|
|
847
|
+
* sap.ui.define(["sap/fe/navigation/NavigationHandler"], function (NavigationHandler) {
|
|
848
|
+
* var oNavigationHandler = new NavigationHandler(oController);
|
|
849
|
+
* var mInnerAppData = {
|
|
850
|
+
* selectionVariant : oSmartFilterBar.getDataSuiteFormat(),
|
|
851
|
+
* tableVariantId : oSmartTable.getCurrentVariantId(),
|
|
852
|
+
* customData : oMyCustomData
|
|
853
|
+
* };
|
|
854
|
+
*
|
|
855
|
+
* var oStoreInnerAppStatePromise = oNavigationHandler.storeInnerAppState(mInnerAppData);
|
|
856
|
+
*
|
|
857
|
+
* oStoreInnerAppStatePromise.done(function(sAppStateKey){
|
|
858
|
+
* //your inner app state is saved now, sAppStateKey was added to URL
|
|
859
|
+
* //perform actions that must run after save
|
|
860
|
+
* });
|
|
861
|
+
*
|
|
862
|
+
* oStoreInnerAppStatePromise.fail(function(oError){
|
|
863
|
+
* //some error handling
|
|
864
|
+
* });
|
|
865
|
+
* });
|
|
866
|
+
* </code>
|
|
867
|
+
*/
|
|
868
|
+
storeInnerAppState: function(mInnerAppData, bImmediateHashReplace) {
|
|
869
|
+
if (typeof bImmediateHashReplace !== "boolean") {
|
|
870
|
+
bImmediateHashReplace = true; // default
|
|
871
|
+
}
|
|
872
|
+
var oNavHandler = this;
|
|
873
|
+
var oMyDeferred = jQuery.Deferred();
|
|
874
|
+
|
|
875
|
+
var fnReplaceHash = function(sAppStateKey) {
|
|
876
|
+
var oHashChanger = oNavHandler.oRouter.oHashChanger ? oNavHandler.oRouter.oHashChanger : HashChanger.getInstance();
|
|
877
|
+
var sAppHashOld = oHashChanger.getHash();
|
|
878
|
+
/*
|
|
879
|
+
* use .getHash() here instead of .getAppHash() to also be able dealing with environments where only SAPUI5 is loaded and the UShell
|
|
880
|
+
* is not initialized properly.
|
|
881
|
+
*/
|
|
882
|
+
var sAppHashNew = oNavHandler._replaceInnerAppStateKey(sAppHashOld, sAppStateKey);
|
|
883
|
+
oHashChanger.replaceHash(sAppHashNew);
|
|
884
|
+
};
|
|
885
|
+
|
|
886
|
+
// in case mInnerAppState is empty, do not overwrite the last saved state
|
|
887
|
+
if (isEmptyObject(mInnerAppData)) {
|
|
888
|
+
oMyDeferred.resolve("");
|
|
889
|
+
return oMyDeferred.promise();
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
// check if we already saved the same data
|
|
893
|
+
var sAppStateKeyCached = this._oLastSavedInnerAppData.sAppStateKey;
|
|
894
|
+
|
|
895
|
+
var bInnerAppDataEqual = JSON.stringify(mInnerAppData) === JSON.stringify(this._oLastSavedInnerAppData.oAppData);
|
|
896
|
+
if (bInnerAppDataEqual && sAppStateKeyCached) {
|
|
897
|
+
// passed inner app state found in cache
|
|
898
|
+
this._oLastSavedInnerAppData.iCacheHit++;
|
|
899
|
+
|
|
900
|
+
// replace inner app hash with cached appStateKey in url (just in case the app has changed the hash in meantime)
|
|
901
|
+
fnReplaceHash(sAppStateKeyCached);
|
|
902
|
+
oMyDeferred.resolve(sAppStateKeyCached);
|
|
903
|
+
return oMyDeferred.promise();
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
// passed inner app state not found in cache
|
|
907
|
+
this._oLastSavedInnerAppData.iCacheMiss++;
|
|
908
|
+
|
|
909
|
+
var fnOnAfterSave = function(sAppStateKey) {
|
|
910
|
+
// replace inner app hash with new appStateKey in url
|
|
911
|
+
if (!bImmediateHashReplace) {
|
|
912
|
+
fnReplaceHash(sAppStateKey);
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
// remember last saved state
|
|
916
|
+
oNavHandler._oLastSavedInnerAppData.oAppData = mInnerAppData;
|
|
917
|
+
oNavHandler._oLastSavedInnerAppData.sAppStateKey = sAppStateKey;
|
|
918
|
+
oMyDeferred.resolve(sAppStateKey);
|
|
919
|
+
};
|
|
920
|
+
|
|
921
|
+
var fnOnError = function(oError) {
|
|
922
|
+
oMyDeferred.reject(oError);
|
|
923
|
+
};
|
|
924
|
+
|
|
925
|
+
var sAppStateKey = this._saveAppState(mInnerAppData, fnOnAfterSave, fnOnError);
|
|
926
|
+
/*
|
|
927
|
+
* Note that _sapAppState may return 'undefined' in case that the parsing has failed. In this case, we should not trigger the replacement
|
|
928
|
+
* of the App Hash with the generated key, as the container was not written before. Note as well that the error handling has already
|
|
929
|
+
* happened before by making the oMyDeferred promise fail (see fnOnError above).
|
|
930
|
+
*/
|
|
931
|
+
if (sAppStateKey !== undefined) {
|
|
932
|
+
// replace inner app hash with new appStateKey in url
|
|
933
|
+
// note: we do not wait for the save to be completed: this asynchronously behaviour is necessary if
|
|
934
|
+
// this method is called e.g. in a onLinkPressed event with no possibility to wait for the promise resolution
|
|
935
|
+
if (bImmediateHashReplace) {
|
|
936
|
+
fnReplaceHash(sAppStateKey);
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
return oMyDeferred.promise();
|
|
941
|
+
},
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* Changes the URL according to the current app state and stores the app state for later retrieval.
|
|
945
|
+
* @param {object} mInnerAppData Object containing the current state of the app
|
|
946
|
+
* @param {string} mInnerAppData.selectionVariant Stringified JSON object as returned, for example, from getDataSuiteFormat() of the
|
|
947
|
+
* SmartFilterBar control
|
|
948
|
+
* @param {string} [mInnerAppData.tableVariantId] ID of the SmartTable variant
|
|
949
|
+
* @param {object} [mInnerAppData.customData] Object that can be used to store additional app-specific data
|
|
950
|
+
* @param {object} [mInnerAppData.presentationVariant] Object containing the current ui state of the app
|
|
951
|
+
* @param {object} [mInnerAppData.valueTexts] Object containing value descriptions
|
|
952
|
+
* @param {object} [mInnerAppData.semanticDates] Object containing semanticDates filter information
|
|
953
|
+
* @param {boolean} [bImmediateHashReplace=false] If set to false, the inner app hash will not be replaced until storing is successful; do not
|
|
954
|
+
* set to false if you cannot react to the resolution of the Promise, for example, when calling the beforeLinkPressed event. <b>Note:</b>If
|
|
955
|
+
* not provided it will be treated as set to false. <b>Note:</b>If set to true, the calling instance has to ensure that a follow-on
|
|
956
|
+
* call to <code>replaceHash</code> will take place!
|
|
957
|
+
* @returns {object} An object containing the appStateId and a promise object to monitor when all the actions of the function have been
|
|
958
|
+
* executed; Please note that the appStateKey may be undefined or empty.
|
|
959
|
+
* @example <code>
|
|
960
|
+
* sap.ui.define(["sap/fe/navigation/NavigationHandler"], function (NavigationHandler) {
|
|
961
|
+
* var oNavigationHandler = new NavigationHandler(oController);
|
|
962
|
+
* var mInnerAppData = {
|
|
963
|
+
* selectionVariant : oSmartFilterBar.getDataSuiteFormat(),
|
|
964
|
+
* tableVariantId : oSmartTable.getCurrentVariantId(),
|
|
965
|
+
* customData : oMyCustomData
|
|
966
|
+
* };
|
|
967
|
+
*
|
|
968
|
+
* var oStoreInnerAppState = storeInnerAppStateWithNonDelayedReturn(mInnerAppData);
|
|
969
|
+
* var sAppStateKey = oStoreInnerAppState.appStateKey;
|
|
970
|
+
* if (!sAppStateKey) {
|
|
971
|
+
* // no appStateKey obtained...
|
|
972
|
+
* };
|
|
973
|
+
* var oStoreInnerAppStatePromise = oStoreInnerAppState.promise;
|
|
974
|
+
*
|
|
975
|
+
* oStoreInnerAppStatePromise.done(function(sAppStateKey){
|
|
976
|
+
* //your inner app state is saved now, sAppStateKey was added to URL
|
|
977
|
+
* //perform actions that must run after save
|
|
978
|
+
* });
|
|
979
|
+
*
|
|
980
|
+
* oStoreInnerAppStatePromise.fail(function(oError){
|
|
981
|
+
* //some error handling
|
|
982
|
+
* });
|
|
983
|
+
* });
|
|
984
|
+
* </code>
|
|
985
|
+
* @public
|
|
986
|
+
*/
|
|
987
|
+
storeInnerAppStateWithImmediateReturn: function(mInnerAppData, bImmediateHashReplace) {
|
|
988
|
+
if (typeof bImmediateHashReplace !== "boolean") {
|
|
989
|
+
bImmediateHashReplace = false; // default
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
var that = this;
|
|
993
|
+
var oAppStatePromise = jQuery.Deferred();
|
|
994
|
+
|
|
995
|
+
// in case mInnerAppState is empty, do not overwrite the last saved state
|
|
996
|
+
if (isEmptyObject(mInnerAppData)) {
|
|
997
|
+
return {
|
|
998
|
+
appStateKey: "",
|
|
999
|
+
promise: oAppStatePromise.resolve("")
|
|
1000
|
+
};
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
// check if we already saved the same data
|
|
1004
|
+
var sAppStateKeyCached = this._oLastSavedInnerAppData.sAppStateKey;
|
|
1005
|
+
|
|
1006
|
+
var bInnerAppDataEqual = JSON.stringify(mInnerAppData) === JSON.stringify(this._oLastSavedInnerAppData.oAppData);
|
|
1007
|
+
if (bInnerAppDataEqual && sAppStateKeyCached) {
|
|
1008
|
+
// passed inner app state found in cache
|
|
1009
|
+
this._oLastSavedInnerAppData.iCacheHit++;
|
|
1010
|
+
return {
|
|
1011
|
+
appStateKey: sAppStateKeyCached,
|
|
1012
|
+
promise: oAppStatePromise.resolve(sAppStateKeyCached)
|
|
1013
|
+
};
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
// passed inner app state not found in cache
|
|
1017
|
+
this._oLastSavedInnerAppData.iCacheMiss++;
|
|
1018
|
+
|
|
1019
|
+
var fnOnAfterSave = function(sAppStateKey) {
|
|
1020
|
+
// replace inner app hash with new appStateKey in url
|
|
1021
|
+
if (!bImmediateHashReplace) {
|
|
1022
|
+
that.replaceHash(sAppStateKey);
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
// remember last saved state
|
|
1026
|
+
that._oLastSavedInnerAppData.oAppData = mInnerAppData;
|
|
1027
|
+
that._oLastSavedInnerAppData.sAppStateKey = sAppStateKey;
|
|
1028
|
+
oAppStatePromise.resolve(sAppStateKey);
|
|
1029
|
+
};
|
|
1030
|
+
|
|
1031
|
+
var fnOnError = function(oError) {
|
|
1032
|
+
oAppStatePromise.reject(oError);
|
|
1033
|
+
};
|
|
1034
|
+
|
|
1035
|
+
var sAppStateKey = this._saveAppState(mInnerAppData, fnOnAfterSave, fnOnError);
|
|
1036
|
+
/*
|
|
1037
|
+
* Note that _sapAppState may return 'undefined' in case that the parsing has failed. In this case, we should not trigger the replacement
|
|
1038
|
+
* of the App Hash with the generated key, as the container was not written before. Note as well that the error handling has already
|
|
1039
|
+
* happened before by making the oMyDeferred promise fail (see fnOnError above).
|
|
1040
|
+
*/
|
|
1041
|
+
// if (sAppStateKey !== undefined) {
|
|
1042
|
+
// //replace inner app hash with new appStateKey in url
|
|
1043
|
+
// //note: we do not wait for the save to be completed: this asynchronously behaviour is necessary if
|
|
1044
|
+
// //this method is called e.g. in a onLinkPressed event with no possibility to wait for the promise resolution
|
|
1045
|
+
// if (bImmediateHashReplace) {
|
|
1046
|
+
// fnReplaceHash(sAppStateKey);
|
|
1047
|
+
// }
|
|
1048
|
+
// }
|
|
1049
|
+
return {
|
|
1050
|
+
appStateKey: sAppStateKey,
|
|
1051
|
+
promise: oAppStatePromise.promise()
|
|
1052
|
+
};
|
|
1053
|
+
},
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* Processes navigation-related tasks related to beforePopoverOpens event handling for the SmartLink control and returns a Promise object. In
|
|
1057
|
+
* particular, the following tasks are performed before the SmartLink popover can be opened:
|
|
1058
|
+
* <ul>
|
|
1059
|
+
* <li>If <code>mInnerAppData</code> is provided, this inner app state is saved for back navigation at a later time.</li>
|
|
1060
|
+
* <li>The table event parameters (semantic attributes) and the selection variant data are combined by calling the method
|
|
1061
|
+
* {@link #.mixAttributesAndSelectionVariant mixAttributesAndSelectionVariant}.</li>
|
|
1062
|
+
* <li>The combined data is saved as the cross app state to be handed over to the target app, and the corresponding sap-xapp-state key is set
|
|
1063
|
+
* in the URL.</li>
|
|
1064
|
+
* <li>All single selections ("including equal") of the combined selection data are passed to the SmartLink popover as semantic attributes.</li>
|
|
1065
|
+
* <li>The method <code>oTableEventParameters.open()</code> is called. Note that this does not really open the popover, but the SmartLink
|
|
1066
|
+
* control proceeds with firing the event <code>navigationTargetsObtained</code>.</li>
|
|
1067
|
+
* </ul>.
|
|
1068
|
+
*
|
|
1069
|
+
* @param {object} oTableEventParameters The parameters made available by the SmartTable control when the SmartLink control has been clicked,
|
|
1070
|
+
* an instance of a PopOver object
|
|
1071
|
+
* @param {string} sSelectionVariant Stringified JSON object as returned, for example, from getDataSuiteFormat() of the SmartFilterBar control
|
|
1072
|
+
* @param {object} [mInnerAppData] Object containing the current state of the app. If provided, opening the Popover is deferred until the
|
|
1073
|
+
* inner app data is saved in a consistent way.
|
|
1074
|
+
* @param {string} [mInnerAppData.selectionVariant] Stringified JSON object as returned, for example, from getDataSuiteFormat() of the the
|
|
1075
|
+
* SmartFilterBar control; if provided, the selection is merged into the semantic attributes
|
|
1076
|
+
* @param {string} [mInnerAppData.tableVariantId] ID of the SmartTable variant
|
|
1077
|
+
* @param {object} [mInnerAppData.customData] Object that can be used to store additional app-specific data
|
|
1078
|
+
* @param {object} [mInnerAppData.presentationVariant] Object containing the current ui presentationVariantof the app
|
|
1079
|
+
* @param {object} [mInnerAppData.valueTexts] Object containing value descriptions
|
|
1080
|
+
* @param {object} [mInnerAppData.semanticDates] Object containing semanticDates filter information
|
|
1081
|
+
* @param {object} [oExternalAppData] Object containing the state which will be passed to the target screen.
|
|
1082
|
+
* @param {object} [oExternalAppData.selectionVariant] Object containing selectionVariant, which will be passed to the target screen. If not
|
|
1083
|
+
* set the sSelectionVariant will be used.
|
|
1084
|
+
* @param {object} [oExternalAppData.presentationVariant] Object containing the current ui presentationVariant of the app, which will be
|
|
1085
|
+
* passed to the target screen
|
|
1086
|
+
* @param {object} [oExternalAppData.valueTexts] Object containing value descriptions, which will be passed to the target screen
|
|
1087
|
+
* @returns {object} A Promise object to monitor when all actions of the function have been executed; if the execution is successful, the
|
|
1088
|
+
* modified oTableEventParameters is returned; if an error occurs, an error object of type
|
|
1089
|
+
* {@link sap.fe.navigation.NavError} is returned
|
|
1090
|
+
* @public <br>
|
|
1091
|
+
* <b>Node:</b> If the <code>oExternalAppData</code> parameter is not supplied, the external app data will be calculated based on
|
|
1092
|
+
* the <code>mInnerAppData</code> data.<br>
|
|
1093
|
+
* @example <code>
|
|
1094
|
+
* sap.ui.define(["sap/fe/navigation/NavigationHandler", "sap/fe/navigation/SelectionVariant"], function (NavigationHandler, SelectionVariant) {
|
|
1095
|
+
* //event handler for the smart link event "beforePopoverOpens"
|
|
1096
|
+
* onBeforePopoverOpens: function(oEvent) {
|
|
1097
|
+
* var oTableEventParameters = oEvent.getParameters();
|
|
1098
|
+
*
|
|
1099
|
+
* var mInnerAppData = {
|
|
1100
|
+
* selectionVariant : oSmartFilterBar.getDataSuiteFormat(),
|
|
1101
|
+
* tableVariantId : oSmartTable.getCurrentVariantId(),
|
|
1102
|
+
* customData : oMyCustomData
|
|
1103
|
+
* };
|
|
1104
|
+
*
|
|
1105
|
+
* var oSelectionVariant = new SelectionVariant();
|
|
1106
|
+
* oSelectionVariant.addSelectOption("CompanyCode", "I", "EQ", "0001");
|
|
1107
|
+
* oSelectionVariant.addSelectOption("Customer", "I", "EQ", "C0001");
|
|
1108
|
+
* var sSelectionVariant= oSelectionVariant.toJSONString();
|
|
1109
|
+
*
|
|
1110
|
+
* var oNavigationHandler = new NavigationHandler(oController);
|
|
1111
|
+
* var oSmartLinkPromise = oNavigationHandler.processBeforeSmartLinkPopoverOpens(oTableEventParameters, sSelectionVariant, mInnerAppData);
|
|
1112
|
+
*
|
|
1113
|
+
* oSmartLinkPromise.done(function(oTableEventParameters){
|
|
1114
|
+
* // here you can add coding that should run after all app states are saved and the semantic attributes are set
|
|
1115
|
+
* });
|
|
1116
|
+
*
|
|
1117
|
+
* oSmartLinkPromise.fail(function(oError){
|
|
1118
|
+
* //some error handling
|
|
1119
|
+
* });
|
|
1120
|
+
* };
|
|
1121
|
+
* });
|
|
1122
|
+
* </code>
|
|
1123
|
+
*/
|
|
1124
|
+
processBeforeSmartLinkPopoverOpens: function(oTableEventParameters, sSelectionVariant, mInnerAppData, oExternalAppData) {
|
|
1125
|
+
var oMyDeferred = jQuery.Deferred();
|
|
1126
|
+
var mSemanticAttributes;
|
|
1127
|
+
if (oTableEventParameters != undefined) {
|
|
1128
|
+
mSemanticAttributes = oTableEventParameters.semanticAttributes;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
var oXAppDataObj,
|
|
1132
|
+
oNavHandler = this;
|
|
1133
|
+
|
|
1134
|
+
if (oExternalAppData === undefined) {
|
|
1135
|
+
oXAppDataObj = {};
|
|
1136
|
+
} else {
|
|
1137
|
+
oXAppDataObj = oExternalAppData;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
var fnStoreXappAndCallOpen = function(mSemanticAttributes, sSelectionVariant) {
|
|
1141
|
+
// mix the semantic attributes (e.g. from the row line) with the selection variant (e.g. from the filter bar)
|
|
1142
|
+
sSelectionVariant = oXAppDataObj.selectionVariant || sSelectionVariant || "{}";
|
|
1143
|
+
|
|
1144
|
+
var iSuppressionBehavior = SuppressionBehavior.raiseErrorOnNull | SuppressionBehavior.raiseErrorOnUndefined;
|
|
1145
|
+
/*
|
|
1146
|
+
* compatiblity: Until SAPUI5 1.28.5 (or even later) the Smart Link in a Smart Table is filtering all null- and undefined values.
|
|
1147
|
+
* Therefore, mSemanticAttributes are already reduced appropriately -- this does not need to be done by
|
|
1148
|
+
* mixAttributesAndSelectionVariant again. To ensure that we still have the old behaviour (i.e. an NavError is raised in case that
|
|
1149
|
+
* behaviour of the Smart Link control has changed), the "old" Suppression Behaviour is retained.
|
|
1150
|
+
*/
|
|
1151
|
+
|
|
1152
|
+
var oMixedSelVar = oNavHandler.mixAttributesAndSelectionVariant(
|
|
1153
|
+
mSemanticAttributes,
|
|
1154
|
+
sSelectionVariant,
|
|
1155
|
+
iSuppressionBehavior
|
|
1156
|
+
);
|
|
1157
|
+
sSelectionVariant = oMixedSelVar.toJSONString();
|
|
1158
|
+
|
|
1159
|
+
// enrich the semantic attributes with single selections from the selection variant
|
|
1160
|
+
var oTmpData = {};
|
|
1161
|
+
oTmpData.selectionVariant = oMixedSelVar.toJSONObject();
|
|
1162
|
+
|
|
1163
|
+
oTmpData = oNavHandler._removeMeasureBasedInformation(oTmpData);
|
|
1164
|
+
|
|
1165
|
+
oTmpData = oNavHandler._checkIsPotentiallySensitive(oTmpData);
|
|
1166
|
+
|
|
1167
|
+
mSemanticAttributes = oTmpData.selectionVariant
|
|
1168
|
+
? oNavHandler._getURLParametersFromSelectionVariant(new SelectionVariant(oTmpData.selectionVariant))
|
|
1169
|
+
: {};
|
|
1170
|
+
|
|
1171
|
+
var fnOnContainerSave = function(sAppStateKey) {
|
|
1172
|
+
if (oTableEventParameters === undefined) {
|
|
1173
|
+
// If oTableEventParameters is undefined, return both semanticAttributes and appStatekey
|
|
1174
|
+
oMyDeferred.resolve(mSemanticAttributes, sAppStateKey);
|
|
1175
|
+
} else {
|
|
1176
|
+
// set the stored data in popover and call open()
|
|
1177
|
+
oTableEventParameters.setSemanticAttributes(mSemanticAttributes);
|
|
1178
|
+
oTableEventParameters.setAppStateKey(sAppStateKey);
|
|
1179
|
+
oTableEventParameters.open(); // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Note that "open" does not open the popover, but proceeds
|
|
1180
|
+
// with firing the onNavTargetsObtained event.
|
|
1181
|
+
oMyDeferred.resolve(oTableEventParameters);
|
|
1182
|
+
}
|
|
1183
|
+
};
|
|
1184
|
+
|
|
1185
|
+
var fnOnError = function(oError) {
|
|
1186
|
+
oMyDeferred.reject(oError);
|
|
1187
|
+
};
|
|
1188
|
+
|
|
1189
|
+
oXAppDataObj.selectionVariant = sSelectionVariant;
|
|
1190
|
+
|
|
1191
|
+
oXAppDataObj = oNavHandler._removeMeasureBasedInformation(oXAppDataObj);
|
|
1192
|
+
|
|
1193
|
+
oNavHandler._saveAppState(oXAppDataObj, fnOnContainerSave, fnOnError);
|
|
1194
|
+
};
|
|
1195
|
+
|
|
1196
|
+
if (mInnerAppData) {
|
|
1197
|
+
var oStoreInnerAppStatePromise = this.storeInnerAppState(mInnerAppData, true);
|
|
1198
|
+
|
|
1199
|
+
// if the inner app state was successfully stored, store also the xapp-state
|
|
1200
|
+
oStoreInnerAppStatePromise.done(function() {
|
|
1201
|
+
fnStoreXappAndCallOpen(mSemanticAttributes, sSelectionVariant);
|
|
1202
|
+
});
|
|
1203
|
+
|
|
1204
|
+
oStoreInnerAppStatePromise.fail(function(oError) {
|
|
1205
|
+
oMyDeferred.reject(oError);
|
|
1206
|
+
});
|
|
1207
|
+
} else {
|
|
1208
|
+
// there is no inner app state to save, just put the parameters into xapp-state
|
|
1209
|
+
fnStoreXappAndCallOpen(mSemanticAttributes, sSelectionVariant);
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
return oMyDeferred.promise();
|
|
1213
|
+
},
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* Processes selectionVariant string and returns a Promise object (semanticAttributes and AppStateKey).
|
|
1217
|
+
* @param {string} sSelectionVariant Stringified JSON object
|
|
1218
|
+
* @returns {object} A Promise object to monitor when all actions of the function have been executed; if the execution is successful, the
|
|
1219
|
+
* semanticAttributes as well as the appStateKey are returned; if an error occurs, an error object of type
|
|
1220
|
+
* {@link sap.fe.navigation.NavError} is returned
|
|
1221
|
+
* <br>
|
|
1222
|
+
* @example <code>
|
|
1223
|
+
* sap.ui.define(["sap/fe/navigation/NavigationHandler", "sap/fe/navigation/SelectionVariant"], function (NavigationHandler, SelectionVariant) {
|
|
1224
|
+
* var oSelectionVariant = new SelectionVariant();
|
|
1225
|
+
* oSelectionVariant.addSelectOption("CompanyCode", "I", "EQ", "0001");
|
|
1226
|
+
* oSelectionVariant.addSelectOption("Customer", "I", "EQ", "C0001");
|
|
1227
|
+
* var sSelectionVariant= oSelectionVariant.toJSONString();
|
|
1228
|
+
*
|
|
1229
|
+
* var oNavigationHandler = new NavigationHandler(oController);
|
|
1230
|
+
* var oPromiseObject = oNavigationHandler._getAppStateKeyAndUrlParameters(sSelectionVariant);
|
|
1231
|
+
*
|
|
1232
|
+
* oPromiseObject.done(function(oSemanticAttributes, sAppStateKey){
|
|
1233
|
+
* // here you can add coding that should run after all app state and the semantic attributes have been returned.
|
|
1234
|
+
* });
|
|
1235
|
+
*
|
|
1236
|
+
* oPromiseObject.fail(function(oError){
|
|
1237
|
+
* //some error handling
|
|
1238
|
+
* });
|
|
1239
|
+
* });
|
|
1240
|
+
* </code>
|
|
1241
|
+
* @private
|
|
1242
|
+
* @ui5-restricted
|
|
1243
|
+
*/
|
|
1244
|
+
_getAppStateKeyAndUrlParameters: function(sSelectionVariant) {
|
|
1245
|
+
return this.processBeforeSmartLinkPopoverOpens(undefined, sSelectionVariant, undefined, undefined);
|
|
1246
|
+
},
|
|
1247
|
+
|
|
1248
|
+
_mixAttributesToSelVariant: function(mSemanticAttributes, oSelVariant, iSuppressionBehavior) {
|
|
1249
|
+
// add all semantic attributes to the mixed selection variant
|
|
1250
|
+
for (var sPropertyName in mSemanticAttributes) {
|
|
1251
|
+
if (mSemanticAttributes.hasOwnProperty(sPropertyName)) {
|
|
1252
|
+
// A value of a semantic attribute may not be a string, but can be e.g. a date.
|
|
1253
|
+
// Since the selection variant accepts only a string, we have to convert it in dependence of the type.
|
|
1254
|
+
var vSemanticAttributeValue = mSemanticAttributes[sPropertyName];
|
|
1255
|
+
if (vSemanticAttributeValue instanceof Date) {
|
|
1256
|
+
// use the same conversion method for dates as the SmartFilterBar: toJSON()
|
|
1257
|
+
vSemanticAttributeValue = vSemanticAttributeValue.toJSON();
|
|
1258
|
+
} else if (
|
|
1259
|
+
Array.isArray(vSemanticAttributeValue) ||
|
|
1260
|
+
(vSemanticAttributeValue && typeof vSemanticAttributeValue === "object")
|
|
1261
|
+
) {
|
|
1262
|
+
vSemanticAttributeValue = JSON.stringify(vSemanticAttributeValue);
|
|
1263
|
+
} else if (typeof vSemanticAttributeValue === "number" || typeof vSemanticAttributeValue === "boolean") {
|
|
1264
|
+
vSemanticAttributeValue = vSemanticAttributeValue.toString();
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
if (vSemanticAttributeValue === "") {
|
|
1268
|
+
if (iSuppressionBehavior & sap.fe.navigation.SuppressionBehavior.ignoreEmptyString) {
|
|
1269
|
+
Log.info(
|
|
1270
|
+
"Semantic attribute " +
|
|
1271
|
+
sPropertyName +
|
|
1272
|
+
" is an empty string and due to the chosen Suppression Behiavour is being ignored."
|
|
1273
|
+
);
|
|
1274
|
+
continue;
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
if (vSemanticAttributeValue === null) {
|
|
1279
|
+
if (iSuppressionBehavior & sap.fe.navigation.SuppressionBehavior.raiseErrorOnNull) {
|
|
1280
|
+
throw new NavError("NavigationHandler.INVALID_INPUT");
|
|
1281
|
+
} else {
|
|
1282
|
+
Log.warning("Semantic attribute " + sPropertyName + " is null and ignored for mix in to selection variant");
|
|
1283
|
+
continue; // ignore!
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
if (vSemanticAttributeValue === undefined) {
|
|
1288
|
+
if (iSuppressionBehavior & sap.fe.navigation.SuppressionBehavior.raiseErrorOnUndefined) {
|
|
1289
|
+
throw new NavError("NavigationHandler.INVALID_INPUT");
|
|
1290
|
+
} else {
|
|
1291
|
+
Log.warning(
|
|
1292
|
+
"Semantic attribute " + sPropertyName + " is undefined and ignored for mix in to selection variant"
|
|
1293
|
+
);
|
|
1294
|
+
continue;
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
if (typeof vSemanticAttributeValue === "string" || vSemanticAttributeValue instanceof String) {
|
|
1299
|
+
oSelVariant.addSelectOption(sPropertyName, "I", "EQ", vSemanticAttributeValue);
|
|
1300
|
+
} else {
|
|
1301
|
+
throw new NavError("NavigationHandler.INVALID_INPUT");
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
return oSelVariant;
|
|
1306
|
+
},
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* Combines the given parameters and selection variant into a new selection variant containing properties from both, with the parameters
|
|
1310
|
+
* overriding existing properties in the selection variant. The new selection variant does not contain any parameters. All parameters are
|
|
1311
|
+
* merged into select options. The output of this function, converted to a JSON string, can be used for the
|
|
1312
|
+
* {@link #.navigate NavigationHandler.navigate} method.
|
|
1313
|
+
* @param {object|Array} vSemanticAttributes Object/(Array of Objects) containing key/value pairs
|
|
1314
|
+
* @param {string} sSelectionVariant The selection variant in string format as provided by the SmartFilterBar control
|
|
1315
|
+
* @param {int} [iSuppressionBehavior=sap.fe.navigation.SuppressionBehavior.standard] Indicates whether semantic
|
|
1316
|
+
* attributes with special values (see {@link sap.fe.navigation.SuppressionBehavior suppression behavior}) must be
|
|
1317
|
+
* suppressed before they are combined with the selection variant; several
|
|
1318
|
+
* {@link sap.fe.navigation.SuppressionBehavior suppression behaviors} can be combined with the bitwise OR operator
|
|
1319
|
+
* (|)
|
|
1320
|
+
* @returns {object} Instance of {@link sap.fe.navigation.SelectionVariant}
|
|
1321
|
+
* @public
|
|
1322
|
+
* @example <code>
|
|
1323
|
+
* sap.ui.define(["sap/fe/navigation/NavigationHandler", "sap/fe/navigation/SelectionVariant"], function (NavigationHandler, SelectionVariant) {
|
|
1324
|
+
* var vSemanticAttributes = { "Customer" : "C0001" };
|
|
1325
|
+
* or
|
|
1326
|
+
* var vSemanticAttributes = [{ "Customer" : "C0001" },{ "Customer" : "C0002" }];
|
|
1327
|
+
* var sSelectionVariant = oSmartFilterBar.getDataSuiteFormat();
|
|
1328
|
+
* var oNavigationHandler = new NavigationHandler(oController);
|
|
1329
|
+
* var sNavigationSelectionVariant = oNavigationHandler.mixAttributesAndSelectionVariant(vSemanticAttributes, sSelectionVariant).toJSONString();
|
|
1330
|
+
* // In case of an vSemanticAttributes being an array, the semanticAttributes are merged to a single SV and compared against the sSelectionVariant(second agrument).
|
|
1331
|
+
* // Optionally, you can specify one or several suppression behaviors. Several suppression behaviors are combined with the bitwise OR operator, e.g.
|
|
1332
|
+
* // var iSuppressionBehavior = sap.fe.navigation.SuppressionBehavior.raiseErrorOnNull | sap.fe.navigation.SuppressionBehavior.raiseErrorOnUndefined;
|
|
1333
|
+
* // var sNavigationSelectionVariant = oNavigationHandler.mixAttributesAndSelectionVariant(mSemanticAttributes, sSelectionVariant, iSuppressionBehavior).toJSONString();
|
|
1334
|
+
*
|
|
1335
|
+
* oNavigationHandler.navigate("SalesOrder", "create", sNavigationSelectionVariant);
|
|
1336
|
+
* });
|
|
1337
|
+
* </code>
|
|
1338
|
+
*/
|
|
1339
|
+
mixAttributesAndSelectionVariant: function(vSemanticAttributes, sSelectionVariant, iSuppressionBehavior) {
|
|
1340
|
+
var oSelectionVariant = new SelectionVariant(sSelectionVariant);
|
|
1341
|
+
var oNewSelVariant = new SelectionVariant();
|
|
1342
|
+
var that = this;
|
|
1343
|
+
|
|
1344
|
+
if (oSelectionVariant.getFilterContextUrl()) {
|
|
1345
|
+
oNewSelVariant.setFilterContextUrl(oSelectionVariant.getFilterContextUrl());
|
|
1346
|
+
}
|
|
1347
|
+
if (oSelectionVariant.getParameterContextUrl()) {
|
|
1348
|
+
oNewSelVariant.setParameterContextUrl(oSelectionVariant.getParameterContextUrl());
|
|
1349
|
+
}
|
|
1350
|
+
if (Array.isArray(vSemanticAttributes)) {
|
|
1351
|
+
vSemanticAttributes.forEach(function(mSemanticAttributes) {
|
|
1352
|
+
that._mixAttributesToSelVariant(mSemanticAttributes, oNewSelVariant, iSuppressionBehavior);
|
|
1353
|
+
});
|
|
1354
|
+
} else {
|
|
1355
|
+
this._mixAttributesToSelVariant(vSemanticAttributes, oNewSelVariant, iSuppressionBehavior);
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
// add parameters that are not part of the oNewSelVariant yet
|
|
1359
|
+
var aParameters = oSelectionVariant.getParameterNames();
|
|
1360
|
+
for (var i = 0; i < aParameters.length; i++) {
|
|
1361
|
+
if (!oNewSelVariant.getSelectOption(aParameters[i])) {
|
|
1362
|
+
oNewSelVariant.addSelectOption(aParameters[i], "I", "EQ", oSelectionVariant.getParameter(aParameters[i]));
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
// add selOptions that are not part of the oNewSelVariant yet
|
|
1367
|
+
var aSelOptionNames = oSelectionVariant.getSelectOptionsPropertyNames();
|
|
1368
|
+
for (i = 0; i < aSelOptionNames.length; i++) {
|
|
1369
|
+
// add selOptions that are not part of the oNewSelVariant yet
|
|
1370
|
+
var aSelectOption = oSelectionVariant.getSelectOption(aSelOptionNames[i]);
|
|
1371
|
+
if (!oNewSelVariant.getSelectOption(aSelOptionNames[i])) {
|
|
1372
|
+
for (var j = 0; j < aSelectOption.length; j++) {
|
|
1373
|
+
oNewSelVariant.addSelectOption(
|
|
1374
|
+
aSelOptionNames[i],
|
|
1375
|
+
aSelectOption[j].Sign,
|
|
1376
|
+
aSelectOption[j].Option,
|
|
1377
|
+
aSelectOption[j].Low,
|
|
1378
|
+
aSelectOption[j].High
|
|
1379
|
+
);
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
return oNewSelVariant;
|
|
1385
|
+
},
|
|
1386
|
+
|
|
1387
|
+
_ensureSelectionVariantFormatString: function(vSelectionVariant) {
|
|
1388
|
+
/*
|
|
1389
|
+
* There are legacy AppStates where the SelectionVariant is being stored as a string. However, that is not compliant to the specification,
|
|
1390
|
+
* which states that a standard JS object shall be provided. Internally, however, the selectionVariant is always of type string. Situation
|
|
1391
|
+
* Persistency internal API ---------------- ------------------ --------------------- legacy string string new approach (JSON) object
|
|
1392
|
+
* string
|
|
1393
|
+
*/
|
|
1394
|
+
|
|
1395
|
+
if (vSelectionVariant === undefined) {
|
|
1396
|
+
return undefined;
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
var vConvertedSelectionVariant = vSelectionVariant;
|
|
1400
|
+
|
|
1401
|
+
if (typeof vSelectionVariant === "object") {
|
|
1402
|
+
vConvertedSelectionVariant = JSON.stringify(vSelectionVariant);
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
return vConvertedSelectionVariant;
|
|
1406
|
+
},
|
|
1407
|
+
|
|
1408
|
+
_saveAppState: function(oAppData, fnOnAfterSave, fnOnError) {
|
|
1409
|
+
var oReturn = this._saveAppStateWithImmediateReturn(oAppData, fnOnError);
|
|
1410
|
+
if (oReturn) {
|
|
1411
|
+
oReturn.promise.done(function() {
|
|
1412
|
+
if (fnOnAfterSave) {
|
|
1413
|
+
fnOnAfterSave(oReturn.appStateKey);
|
|
1414
|
+
}
|
|
1415
|
+
});
|
|
1416
|
+
|
|
1417
|
+
if (fnOnError) {
|
|
1418
|
+
var oNavHandler = this;
|
|
1419
|
+
oReturn.promise.fail(function() {
|
|
1420
|
+
var oError = oNavHandler._createTechnicalError("NavigationHandler.AppStateSave.failed");
|
|
1421
|
+
fnOnError(oError);
|
|
1422
|
+
});
|
|
1423
|
+
}
|
|
1424
|
+
return oReturn.appStateKey;
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
return undefined;
|
|
1428
|
+
},
|
|
1429
|
+
|
|
1430
|
+
_saveAppStateWithImmediateReturn: function(oAppData, fnOnError) {
|
|
1431
|
+
var oAppState = this.oCrossAppNavService.createEmptyAppState(this.oComponent);
|
|
1432
|
+
var sAppStateKey = oAppState.getKey();
|
|
1433
|
+
var oAppDataForSave = {};
|
|
1434
|
+
|
|
1435
|
+
if (oAppData.hasOwnProperty("selectionVariant")) {
|
|
1436
|
+
oAppDataForSave.selectionVariant = oAppData.selectionVariant;
|
|
1437
|
+
|
|
1438
|
+
if (oAppData.selectionVariant) {
|
|
1439
|
+
/*
|
|
1440
|
+
* The specification states that Selection Variants need to be JSON objects. However, internally, we work with strings for
|
|
1441
|
+
* "selectionVariant". Therefore, in case that this is a string, we need to JSON-parse the data.
|
|
1442
|
+
*/
|
|
1443
|
+
if (typeof oAppData.selectionVariant === "string") {
|
|
1444
|
+
try {
|
|
1445
|
+
oAppDataForSave.selectionVariant = JSON.parse(oAppData.selectionVariant);
|
|
1446
|
+
} catch (x) {
|
|
1447
|
+
var oError = this._createTechnicalError("NavigationHandler.AppStateSave.parseError");
|
|
1448
|
+
if (fnOnError) {
|
|
1449
|
+
fnOnError(oError);
|
|
1450
|
+
}
|
|
1451
|
+
return undefined;
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
if (this._sMode === Mode.ODataV2) {
|
|
1458
|
+
oAppDataForSave = extend(
|
|
1459
|
+
{
|
|
1460
|
+
selectionVariant: {},
|
|
1461
|
+
tableVariantId: "",
|
|
1462
|
+
customData: {}
|
|
1463
|
+
},
|
|
1464
|
+
oAppDataForSave
|
|
1465
|
+
);
|
|
1466
|
+
|
|
1467
|
+
if (oAppData.tableVariantId) {
|
|
1468
|
+
oAppDataForSave.tableVariantId = oAppData.tableVariantId;
|
|
1469
|
+
}
|
|
1470
|
+
if (oAppData.customData) {
|
|
1471
|
+
oAppDataForSave.customData = oAppData.customData;
|
|
1472
|
+
}
|
|
1473
|
+
if (oAppData.presentationVariant) {
|
|
1474
|
+
oAppDataForSave.presentationVariant = oAppData.presentationVariant;
|
|
1475
|
+
}
|
|
1476
|
+
if (oAppData.valueTexts) {
|
|
1477
|
+
oAppDataForSave.valueTexts = oAppData.valueTexts;
|
|
1478
|
+
}
|
|
1479
|
+
if (oAppData.semanticDates) {
|
|
1480
|
+
oAppDataForSave.semanticDates = oAppData.semanticDates;
|
|
1481
|
+
}
|
|
1482
|
+
} else {
|
|
1483
|
+
var oAppDataClone = Object.assign({}, oAppData);
|
|
1484
|
+
oAppDataForSave = merge(oAppDataClone, oAppDataForSave);
|
|
1485
|
+
}
|
|
1486
|
+
oAppDataForSave = this._checkIsPotentiallySensitive(oAppDataForSave);
|
|
1487
|
+
oAppState.setData(oAppDataForSave);
|
|
1488
|
+
var oSavePromise = oAppState.save();
|
|
1489
|
+
|
|
1490
|
+
return {
|
|
1491
|
+
appStateKey: sAppStateKey,
|
|
1492
|
+
promise: oSavePromise.promise()
|
|
1493
|
+
};
|
|
1494
|
+
},
|
|
1495
|
+
|
|
1496
|
+
_loadAppState: function(sAppStateKey, oDeferred) {
|
|
1497
|
+
var oAppStatePromise = this.oCrossAppNavService.getAppState(this.oComponent, sAppStateKey);
|
|
1498
|
+
var oNavHandler = this;
|
|
1499
|
+
|
|
1500
|
+
oAppStatePromise.done(function(oAppState) {
|
|
1501
|
+
var oAppData = {};
|
|
1502
|
+
var oAppDataLoaded = oAppState.getData();
|
|
1503
|
+
|
|
1504
|
+
if (typeof oAppDataLoaded === "undefined") {
|
|
1505
|
+
var oError = oNavHandler._createTechnicalError("NavigationHandler.getDataFromAppState.failed");
|
|
1506
|
+
oDeferred.reject(oError, {}, NavType.iAppState);
|
|
1507
|
+
} else {
|
|
1508
|
+
if (oNavHandler._sMode === Mode.ODataV2) {
|
|
1509
|
+
oAppData = {
|
|
1510
|
+
selectionVariant: "{}",
|
|
1511
|
+
oSelectionVariant: new SelectionVariant(),
|
|
1512
|
+
oDefaultedSelectionVariant: new SelectionVariant(),
|
|
1513
|
+
bNavSelVarHasDefaultsOnly: false,
|
|
1514
|
+
tableVariantId: "",
|
|
1515
|
+
customData: {},
|
|
1516
|
+
appStateKey: sAppStateKey,
|
|
1517
|
+
presentationVariant: {},
|
|
1518
|
+
valueTexts: {},
|
|
1519
|
+
semanticDates: {}
|
|
1520
|
+
};
|
|
1521
|
+
if (oAppDataLoaded.selectionVariant) {
|
|
1522
|
+
/*
|
|
1523
|
+
* In case that we get an object from the stored AppData (=persistency), we need to stringify the JSON object.
|
|
1524
|
+
*/
|
|
1525
|
+
oAppData.selectionVariant = oNavHandler._ensureSelectionVariantFormatString(
|
|
1526
|
+
oAppDataLoaded.selectionVariant
|
|
1527
|
+
);
|
|
1528
|
+
oAppData.oSelectionVariant = new SelectionVariant(oAppData.selectionVariant);
|
|
1529
|
+
}
|
|
1530
|
+
if (oAppDataLoaded.tableVariantId) {
|
|
1531
|
+
oAppData.tableVariantId = oAppDataLoaded.tableVariantId;
|
|
1532
|
+
}
|
|
1533
|
+
if (oAppDataLoaded.customData) {
|
|
1534
|
+
oAppData.customData = oAppDataLoaded.customData;
|
|
1535
|
+
}
|
|
1536
|
+
if (oAppDataLoaded.presentationVariant) {
|
|
1537
|
+
oAppData.presentationVariant = oAppDataLoaded.presentationVariant;
|
|
1538
|
+
}
|
|
1539
|
+
if (oAppDataLoaded.valueTexts) {
|
|
1540
|
+
oAppData.valueTexts = oAppDataLoaded.valueTexts;
|
|
1541
|
+
}
|
|
1542
|
+
if (oAppDataLoaded.semanticDates) {
|
|
1543
|
+
oAppData.semanticDates = oAppDataLoaded.semanticDates;
|
|
1544
|
+
}
|
|
1545
|
+
} else {
|
|
1546
|
+
oAppData = merge(oAppData, oAppDataLoaded);
|
|
1547
|
+
if (oAppDataLoaded.selectionVariant) {
|
|
1548
|
+
/*
|
|
1549
|
+
* In case that we get an object from the stored AppData (=persistency), we need to stringify the JSON object.
|
|
1550
|
+
*/
|
|
1551
|
+
oAppData.selectionVariant = oNavHandler._ensureSelectionVariantFormatString(
|
|
1552
|
+
oAppDataLoaded.selectionVariant
|
|
1553
|
+
);
|
|
1554
|
+
oAppData.oSelectionVariant = new SelectionVariant(oAppData.selectionVariant);
|
|
1555
|
+
}
|
|
1556
|
+
}
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
// resolve is called on passed Deferred object to trigger a call of the done method, if implemented
|
|
1560
|
+
// the done method will receive the loaded appState and the navigation type as parameters
|
|
1561
|
+
oDeferred.resolve(oAppData, {}, NavType.iAppState);
|
|
1562
|
+
});
|
|
1563
|
+
oAppStatePromise.fail(function() {
|
|
1564
|
+
var oError = oNavHandler._createTechnicalError("NavigationHandler.getAppState.failed");
|
|
1565
|
+
oDeferred.reject(oError, {}, NavType.iAppState);
|
|
1566
|
+
});
|
|
1567
|
+
},
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* Retrieves the parameter value of the sap-iapp-state (the internal apps) from the AppHash string. It automatically takes care about
|
|
1571
|
+
* compatibility between the old and the new approach of the sap-iapp-state. Precedence is that the new approach is favoured against the old
|
|
1572
|
+
* approach.
|
|
1573
|
+
* @param {string} sAppHash The AppHash, which may contain a sap-iapp-state parameter (both old and/or new approach)
|
|
1574
|
+
* @returns {string} The value of sap-iapp-state (i.e. the name of the container to retrieve the parameters), or <code>undefined</code> in
|
|
1575
|
+
* case that no sap-iapp-state was found in <code>sAppHash</code>.
|
|
1576
|
+
* @private
|
|
1577
|
+
*/
|
|
1578
|
+
_getInnerAppStateKey: function(sAppHash) {
|
|
1579
|
+
// trivial case: no app hash available at all.
|
|
1580
|
+
if (!sAppHash) {
|
|
1581
|
+
return undefined;
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
/* new approach: separated via question mark / part of the query parameter of the AppHash */
|
|
1585
|
+
var aMatches = this._rIAppStateNew.exec(sAppHash);
|
|
1586
|
+
|
|
1587
|
+
/* old approach: spearated via slashes / i.e. part of the route itself */
|
|
1588
|
+
if (aMatches === null) {
|
|
1589
|
+
aMatches = this._rIAppStateOld.exec(sAppHash);
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
/*
|
|
1593
|
+
* old approach: special case: if there is no deep route/key defined, the sap-iapp-state may be at the beginning of the string, without
|
|
1594
|
+
* any separation with the slashes
|
|
1595
|
+
*/
|
|
1596
|
+
if (aMatches === null) {
|
|
1597
|
+
aMatches = this._rIAppStateOldAtStart.exec(sAppHash);
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
if (aMatches === null) {
|
|
1601
|
+
// there is no (valid) sap-iapp-state in the App Hash
|
|
1602
|
+
return undefined;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
return aMatches[1];
|
|
1606
|
+
},
|
|
1607
|
+
|
|
1608
|
+
/**
|
|
1609
|
+
* Replaces (or inserts) a parameter value (an AppStateKey) for the sap-iapp-state into an existing AppHash string. Other routes/parameters
|
|
1610
|
+
* are ignored and returned without modification ("environmental agnostic" property). Only the new approach (sap-iapp-state as query parameter
|
|
1611
|
+
* in the AppHash) is being issued.
|
|
1612
|
+
* @param {string} sAppHash The AppHash into which the sap-iapp-state parameter shall be made available
|
|
1613
|
+
* @param {string} sAppStateKey The key value of the AppState which shall be stored as parameter value of the sap-iapp-state property.
|
|
1614
|
+
* @returns {string} The modified sAppHash string, such that the sap-iapp-state has been set based on the new (query option-based)
|
|
1615
|
+
* sap-iapp-state. If a sap-iapp-state has been specified before, the key is replaced. If <code>sAppHash</code> was of the old
|
|
1616
|
+
* format (sap-iapp-state as part of the keys/route), the format is converted to the new format before the result is returned.
|
|
1617
|
+
* @private
|
|
1618
|
+
*/
|
|
1619
|
+
_replaceInnerAppStateKey: function(sAppHash, sAppStateKey) {
|
|
1620
|
+
var sNewIAppState = this.IAPP_STATE + "=" + sAppStateKey;
|
|
1621
|
+
|
|
1622
|
+
/*
|
|
1623
|
+
* generate sap-iapp-states with the new way
|
|
1624
|
+
*/
|
|
1625
|
+
if (!sAppHash) {
|
|
1626
|
+
// there's no sAppHash key yet
|
|
1627
|
+
return "?" + sNewIAppState;
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
var fnAppendToQueryParameter = function(sAppHash) {
|
|
1631
|
+
// there is an AppHash available, but it does not contain a sap-iapp-state parameter yet - we need to append one
|
|
1632
|
+
|
|
1633
|
+
// new approach: we need to check, if a set of query parameters is already available
|
|
1634
|
+
if (sAppHash.indexOf("?") !== -1) {
|
|
1635
|
+
// there are already query parameters available - append it as another parameter
|
|
1636
|
+
return sAppHash + "&" + sNewIAppState;
|
|
1637
|
+
}
|
|
1638
|
+
// there are no a query parameters available yet; create a set with a single parameter
|
|
1639
|
+
return sAppHash + "?" + sNewIAppState;
|
|
1640
|
+
};
|
|
1641
|
+
|
|
1642
|
+
if (!this._getInnerAppStateKey(sAppHash)) {
|
|
1643
|
+
return fnAppendToQueryParameter(sAppHash);
|
|
1644
|
+
}
|
|
1645
|
+
// There is an AppHash available and there is already an sap-iapp-state in the AppHash
|
|
1646
|
+
|
|
1647
|
+
if (this._rIAppStateNew.test(sAppHash)) {
|
|
1648
|
+
// the new approach is being used
|
|
1649
|
+
return sAppHash.replace(this._rIAppStateNew, function(sNeedle) {
|
|
1650
|
+
return sNeedle.replace(/\=.*/gi, "=" + sAppStateKey);
|
|
1651
|
+
});
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
// we need to remove the old AppHash entirely and replace it with a new one.
|
|
1655
|
+
|
|
1656
|
+
var fnReplaceOldApproach = function(rOldApproach, sAppHash) {
|
|
1657
|
+
sAppHash = sAppHash.replace(rOldApproach, "");
|
|
1658
|
+
return fnAppendToQueryParameter(sAppHash);
|
|
1659
|
+
};
|
|
1660
|
+
|
|
1661
|
+
if (this._rIAppStateOld.test(sAppHash)) {
|
|
1662
|
+
return fnReplaceOldApproach(this._rIAppStateOld, sAppHash);
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
if (this._rIAppStateOldAtStart.test(sAppHash)) {
|
|
1666
|
+
return fnReplaceOldApproach(this._rIAppStateOldAtStart, sAppHash);
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
assert(false, "internal inconsistency: Approach of sap-iapp-state not known, but _getInnerAppStateKey returned it");
|
|
1670
|
+
return undefined;
|
|
1671
|
+
},
|
|
1672
|
+
|
|
1673
|
+
_getURLParametersFromSelectionVariant: function(vSelectionVariant) {
|
|
1674
|
+
var mURLParameters = {};
|
|
1675
|
+
var i = 0;
|
|
1676
|
+
|
|
1677
|
+
if (typeof vSelectionVariant === "string") {
|
|
1678
|
+
var oSelectionVariant = new SelectionVariant(vSelectionVariant);
|
|
1679
|
+
} else if (typeof vSelectionVariant === "object") {
|
|
1680
|
+
oSelectionVariant = vSelectionVariant;
|
|
1681
|
+
} else {
|
|
1682
|
+
throw new NavError("NavigationHandler.INVALID_INPUT");
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
// add URLs parameters from SelectionVariant.SelectOptions (if single value)
|
|
1686
|
+
var aSelectProperties = oSelectionVariant.getSelectOptionsPropertyNames();
|
|
1687
|
+
for (i = 0; i < aSelectProperties.length; i++) {
|
|
1688
|
+
var aSelectOptions = oSelectionVariant.getSelectOption(aSelectProperties[i]);
|
|
1689
|
+
if (aSelectOptions.length === 1 && aSelectOptions[0].Sign === "I" && aSelectOptions[0].Option === "EQ") {
|
|
1690
|
+
mURLParameters[aSelectProperties[i]] = aSelectOptions[0].Low;
|
|
1691
|
+
}
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
// add parameters from SelectionVariant.Parameters
|
|
1695
|
+
var aParameterNames = oSelectionVariant.getParameterNames();
|
|
1696
|
+
for (i = 0; i < aParameterNames.length; i++) {
|
|
1697
|
+
var sParameterValue = oSelectionVariant.getParameter(aParameterNames[i]);
|
|
1698
|
+
|
|
1699
|
+
mURLParameters[aParameterNames[i]] = sParameterValue;
|
|
1700
|
+
}
|
|
1701
|
+
return mURLParameters;
|
|
1702
|
+
},
|
|
1703
|
+
|
|
1704
|
+
_createTechnicalError: function(sErrorCode) {
|
|
1705
|
+
return new NavError(sErrorCode);
|
|
1706
|
+
},
|
|
1707
|
+
|
|
1708
|
+
/**
|
|
1709
|
+
* Sets the model that is used for verification of sensitive information. If the model is not set, the unnamed component model is used for the
|
|
1710
|
+
* verification of sensitive information.
|
|
1711
|
+
* @public
|
|
1712
|
+
* @param {sap.ui.model.odata.v2.ODataModel} oModel For checking sensitive information
|
|
1713
|
+
*/
|
|
1714
|
+
setModel: function(oModel) {
|
|
1715
|
+
this._oModel = oModel;
|
|
1716
|
+
},
|
|
1717
|
+
|
|
1718
|
+
_getModel: function() {
|
|
1719
|
+
return this._oModel || this.oComponent.getModel();
|
|
1720
|
+
},
|
|
1721
|
+
|
|
1722
|
+
_removeAllProperties: function(oData) {
|
|
1723
|
+
if (oData) {
|
|
1724
|
+
if (oData.selectionVariant) {
|
|
1725
|
+
oData.selectionVariant = null;
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
if (oData.valueTexts) {
|
|
1729
|
+
oData.valueTexts = null;
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
if (oData.semanticDates) {
|
|
1733
|
+
oData.semanticDates = null;
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
},
|
|
1737
|
+
|
|
1738
|
+
_removeProperties: function(aFilterName, aParameterName, oData) {
|
|
1739
|
+
if (aFilterName.length && oData && (oData.selectionVariant || oData.valueTexts || oData.semanticDates)) {
|
|
1740
|
+
aFilterName.forEach(function(sName) {
|
|
1741
|
+
if (oData.selectionVariant.SelectOptions) {
|
|
1742
|
+
oData.selectionVariant.SelectOptions.some(function(oValue, nIdx) {
|
|
1743
|
+
if (sName === oValue.PropertyName) {
|
|
1744
|
+
oData.selectionVariant.SelectOptions.splice(nIdx, 1);
|
|
1745
|
+
return true;
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
return false;
|
|
1749
|
+
});
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
if (oData.valueTexts && oData.valueTexts.Texts) {
|
|
1753
|
+
oData.valueTexts.Texts.forEach(function(oTexts) {
|
|
1754
|
+
if (oTexts.PropertyTexts) {
|
|
1755
|
+
oTexts.PropertyTexts.some(function(oValue, nIdx) {
|
|
1756
|
+
if (sName === oValue.PropertyName) {
|
|
1757
|
+
oTexts.PropertyTexts.splice(nIdx, 1);
|
|
1758
|
+
return true;
|
|
1759
|
+
}
|
|
1760
|
+
|
|
1761
|
+
return false;
|
|
1762
|
+
});
|
|
1763
|
+
}
|
|
1764
|
+
});
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
if (oData.semanticDates && oData.semanticDates.Dates) {
|
|
1768
|
+
oData.semanticDates.Dates.forEach(function(oDates, nIdx) {
|
|
1769
|
+
if (sName === oDates.PropertyName) {
|
|
1770
|
+
oData.semanticDates.Dates.splice(nIdx, 1);
|
|
1771
|
+
}
|
|
1772
|
+
});
|
|
1773
|
+
}
|
|
1774
|
+
});
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
if (aParameterName.length && oData && oData.selectionVariant && oData.selectionVariant.Parameters) {
|
|
1778
|
+
aParameterName.forEach(function(sName) {
|
|
1779
|
+
oData.selectionVariant.Parameters.some(function(oValue, nIdx) {
|
|
1780
|
+
if (sName === oValue.PropertyName || "$Parameter." + sName === oValue.PropertyName) {
|
|
1781
|
+
oData.selectionVariant.Parameters.splice(nIdx, 1);
|
|
1782
|
+
return true;
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
return false;
|
|
1786
|
+
});
|
|
1787
|
+
});
|
|
1788
|
+
}
|
|
1789
|
+
},
|
|
1790
|
+
|
|
1791
|
+
_isTermTrue: function(oProperty, sTerm) {
|
|
1792
|
+
var fIsTermDefaultTrue = function(oTerm) {
|
|
1793
|
+
if (oTerm) {
|
|
1794
|
+
return oTerm.Bool ? oTerm.Bool !== "false" : true;
|
|
1795
|
+
}
|
|
1796
|
+
return false;
|
|
1797
|
+
};
|
|
1798
|
+
|
|
1799
|
+
return !!oProperty[sTerm] && fIsTermDefaultTrue(oProperty[sTerm]);
|
|
1800
|
+
},
|
|
1801
|
+
|
|
1802
|
+
_isExcludedFromNavigationContext: function(oProperty) {
|
|
1803
|
+
return this._isTermTrue(oProperty, "com.sap.vocabularies.UI.v1.ExcludeFromNavigationContext");
|
|
1804
|
+
},
|
|
1805
|
+
|
|
1806
|
+
_isPotentiallySensitive: function(oProperty) {
|
|
1807
|
+
return this._isTermTrue(oProperty, "com.sap.vocabularies.PersonalData.v1.IsPotentiallySensitive");
|
|
1808
|
+
},
|
|
1809
|
+
|
|
1810
|
+
_isMeasureProperty: function(oProperty) {
|
|
1811
|
+
return this._isTermTrue(oProperty, "com.sap.vocabularies.Analytics.v1.Measure");
|
|
1812
|
+
},
|
|
1813
|
+
|
|
1814
|
+
_isToBeExcluded: function(oProperty) {
|
|
1815
|
+
return this._isPotentiallySensitive(oProperty) || this._isExcludedFromNavigationContext(oProperty);
|
|
1816
|
+
},
|
|
1817
|
+
|
|
1818
|
+
/**
|
|
1819
|
+
* The method creates a context url based on provided data. This context url can either be used as
|
|
1820
|
+
* {@link sap.fe.navigation.NavigationHandler#setParameterContextUrl ParameterContextUrl} or
|
|
1821
|
+
* {@link sap.fe.navigation.NavigationHandler#setFilterContextUrl FilterContextUrl}.
|
|
1822
|
+
*
|
|
1823
|
+
* @param {string} sEntitySetName Used for url determination
|
|
1824
|
+
* @param {sap.ui.model.odata.v2.ODataModel} [oModel] Used for url determination. If omitted, the NavigationHandler model is used.
|
|
1825
|
+
* @throws An instance of {@link sap.fe.navigation.NavError} in case of missing or wrong passed parameters
|
|
1826
|
+
* @returns {string} The context url for the given entities
|
|
1827
|
+
* @protected
|
|
1828
|
+
*/
|
|
1829
|
+
constructContextUrl: function(sEntitySetName, oModel) {
|
|
1830
|
+
if (!sEntitySetName) {
|
|
1831
|
+
throw new NavError("NavigationHandler.NO_ENTITY_SET_PROVIDED");
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
if (oModel === undefined) {
|
|
1835
|
+
oModel = this._getModel();
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
return this._constructContextUrl(oModel) + "#" + sEntitySetName;
|
|
1839
|
+
},
|
|
1840
|
+
|
|
1841
|
+
_constructContextUrl: function(oModel) {
|
|
1842
|
+
// TODO: replace with public APIs, once available
|
|
1843
|
+
var sServerUrl;
|
|
1844
|
+
|
|
1845
|
+
if (oModel && oModel.isA("sap.ui.model.odata.v2.ODataModel")) {
|
|
1846
|
+
sServerUrl = oModel._getServerUrl();
|
|
1847
|
+
} else if (oModel && oModel.isA("sap.ui.model.odata.v4.ODataModel")) {
|
|
1848
|
+
var oServiceURI = new URI(oModel.sServiceUrl).absoluteTo(document.baseURI);
|
|
1849
|
+
sServerUrl = new URI("/").absoluteTo(oServiceURI).toString();
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
if (sServerUrl && sServerUrl.lastIndexOf("/") === sServerUrl.length - 1) {
|
|
1853
|
+
sServerUrl = sServerUrl.substr(0, sServerUrl.length - 1);
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
return sServerUrl + oModel.sServiceUrl + "/$metadata";
|
|
1857
|
+
},
|
|
1858
|
+
|
|
1859
|
+
/**
|
|
1860
|
+
* The method verifies, if any of the passed parameters/filters are marked as sensitive, and if this is the case remove those from the app
|
|
1861
|
+
* data. <b>Note:</b> To use this method, the metadata must be loaded first.
|
|
1862
|
+
*
|
|
1863
|
+
* @param {object} oData With potential sensitive information (for OData, external representation using
|
|
1864
|
+
* <code>oSelectionVariant.toJSONObject()</code> must be used), with the <code>FilterContextUrl</code> or
|
|
1865
|
+
* <code>ParameterContextUrl</code> property.
|
|
1866
|
+
* @returns {object} Data without properties marked as sensitive or an empty object if the OData metadata is not fully loaded yet
|
|
1867
|
+
* @private
|
|
1868
|
+
*/
|
|
1869
|
+
_checkIsPotentiallySensitive: function(oData) {
|
|
1870
|
+
var oAdaptedData = oData;
|
|
1871
|
+
if (
|
|
1872
|
+
oData &&
|
|
1873
|
+
oData.selectionVariant &&
|
|
1874
|
+
((oData.selectionVariant.FilterContextUrl && oData.selectionVariant.SelectOptions) ||
|
|
1875
|
+
(oData.selectionVariant.ParameterContextUrl && oData.selectionVariant.Parameters))
|
|
1876
|
+
) {
|
|
1877
|
+
var oModel = this._getModel();
|
|
1878
|
+
if (this.oComponent && oModel && oModel.isA("sap.ui.model.odata.v2.ODataModel")) {
|
|
1879
|
+
var aSensitiveFilterName = [],
|
|
1880
|
+
aSensitiveParameterName = [],
|
|
1881
|
+
i,
|
|
1882
|
+
oMetaModel,
|
|
1883
|
+
oEntitySet,
|
|
1884
|
+
oEntityDef,
|
|
1885
|
+
oSubEntityDef,
|
|
1886
|
+
oEndRole,
|
|
1887
|
+
aFilterContextPart = [],
|
|
1888
|
+
aParamContextPart = [];
|
|
1889
|
+
|
|
1890
|
+
oMetaModel = oModel.getMetaModel();
|
|
1891
|
+
if (oModel.getServiceMetadata() && oMetaModel && oMetaModel.oModel) {
|
|
1892
|
+
if (oData.selectionVariant.FilterContextUrl) {
|
|
1893
|
+
aFilterContextPart = oData.selectionVariant.FilterContextUrl.split("#");
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
if (
|
|
1897
|
+
aFilterContextPart.length === 2 &&
|
|
1898
|
+
oData.selectionVariant.SelectOptions &&
|
|
1899
|
+
this._constructContextUrl(oModel).indexOf(aFilterContextPart[0]) === 0
|
|
1900
|
+
) {
|
|
1901
|
+
oEntitySet = oMetaModel.getODataEntitySet(aFilterContextPart[1]);
|
|
1902
|
+
if (oEntitySet) {
|
|
1903
|
+
oEntityDef = oMetaModel.getODataEntityType(oEntitySet.entityType);
|
|
1904
|
+
} else {
|
|
1905
|
+
oEntityDef = oMetaModel.getODataEntityType(aFilterContextPart[1]);
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
if (oEntityDef) {
|
|
1909
|
+
if (oEntityDef && oEntityDef.property) {
|
|
1910
|
+
for (i = 0; i < oEntityDef.property.length; i++) {
|
|
1911
|
+
if (this._isToBeExcluded(oEntityDef.property[i])) {
|
|
1912
|
+
aSensitiveFilterName.push(oEntityDef.property[i].name);
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
if (oEntityDef.navigationProperty) {
|
|
1918
|
+
for (i = 0; i < oEntityDef.navigationProperty.length; i++) {
|
|
1919
|
+
oEndRole = oMetaModel.getODataAssociationEnd(oEntityDef, oEntityDef.navigationProperty[i].name);
|
|
1920
|
+
if (!oEndRole || oEndRole.type === oData.selectionVariant.FilterContextUrl) {
|
|
1921
|
+
continue;
|
|
1922
|
+
}
|
|
1923
|
+
// check if the end role has cardinality 0..1 or 1
|
|
1924
|
+
if (oEndRole.multiplicity === "1" || oEndRole.multiplicity === "0..1") {
|
|
1925
|
+
oSubEntityDef = oMetaModel.getODataEntityType(oEndRole.type);
|
|
1926
|
+
if (oSubEntityDef && oSubEntityDef.property) {
|
|
1927
|
+
for (var j = 0; j < oSubEntityDef.property.length; j++) {
|
|
1928
|
+
if (this._isToBeExcluded(oSubEntityDef.property[j])) {
|
|
1929
|
+
aSensitiveFilterName.push(
|
|
1930
|
+
oEntityDef.navigationProperty[i].name + "." + oSubEntityDef.property[j].name
|
|
1931
|
+
);
|
|
1932
|
+
}
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1935
|
+
}
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
if (oData.selectionVariant.ParameterContextUrl) {
|
|
1942
|
+
aParamContextPart = oData.selectionVariant.ParameterContextUrl.split("#");
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
if (
|
|
1946
|
+
aParamContextPart.length === 2 &&
|
|
1947
|
+
oData.selectionVariant.Parameters &&
|
|
1948
|
+
this._constructContextUrl(oModel).indexOf(aParamContextPart[0]) === 0
|
|
1949
|
+
) {
|
|
1950
|
+
oEntitySet = oMetaModel.getODataEntitySet(aParamContextPart[1]);
|
|
1951
|
+
if (oEntitySet) {
|
|
1952
|
+
oEntityDef = oMetaModel.getODataEntityType(oEntitySet.entityType);
|
|
1953
|
+
} else {
|
|
1954
|
+
oEntityDef = oMetaModel.getODataEntityType(aFilterContextPart[1]);
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
if (oEntityDef) {
|
|
1958
|
+
if (oEntityDef.property) {
|
|
1959
|
+
for (i = 0; i < oEntityDef.property.length; i++) {
|
|
1960
|
+
if (this._isToBeExcluded(oEntityDef.property[i])) {
|
|
1961
|
+
aSensitiveParameterName.push(oEntityDef.property[i].name);
|
|
1962
|
+
}
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
if (aSensitiveFilterName.length || aSensitiveParameterName.length) {
|
|
1969
|
+
oAdaptedData = extend(true, {}, oAdaptedData);
|
|
1970
|
+
|
|
1971
|
+
this._removeProperties(aSensitiveFilterName, aSensitiveParameterName, oAdaptedData);
|
|
1972
|
+
}
|
|
1973
|
+
} else {
|
|
1974
|
+
// annotations are not loaded
|
|
1975
|
+
|
|
1976
|
+
this._removeAllProperties(oAdaptedData);
|
|
1977
|
+
Log.error("NavigationHandler: oMetadata are not fully loaded!");
|
|
1978
|
+
}
|
|
1979
|
+
} else if (this.oComponent && oModel && oModel.isA("sap.ui.model.odata.v4.ODataModel")) {
|
|
1980
|
+
return this._removeSensitiveDataForODataV4(oAdaptedData);
|
|
1981
|
+
}
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
return oAdaptedData;
|
|
1985
|
+
},
|
|
1986
|
+
|
|
1987
|
+
_removeMeasureBasedInformation: function(oAppData) {
|
|
1988
|
+
var oAppDataForSave = oAppData;
|
|
1989
|
+
|
|
1990
|
+
if (oAppData.selectionVariant) {
|
|
1991
|
+
/*
|
|
1992
|
+
* The specification states that Selection Variants need to be JSON objects. However, internally, we work with strings for
|
|
1993
|
+
* "selectionVariant". Therefore, in case that this is a string, we need to JSON-parse the data.
|
|
1994
|
+
*/
|
|
1995
|
+
if (typeof oAppData.selectionVariant === "string") {
|
|
1996
|
+
try {
|
|
1997
|
+
oAppDataForSave.selectionVariant = JSON.parse(oAppData.selectionVariant);
|
|
1998
|
+
} catch (x) {
|
|
1999
|
+
Log.error("NavigationHandler: _removeMeasureBasedInformation parse error");
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
oAppDataForSave = this._removeMeasureBasedProperties(oAppDataForSave);
|
|
2004
|
+
}
|
|
2005
|
+
|
|
2006
|
+
return oAppDataForSave;
|
|
2007
|
+
},
|
|
2008
|
+
|
|
2009
|
+
/**
|
|
2010
|
+
* The method verifies if any of the passed parameters/filters are marked as a measure. If this is the case, they are removed from the xapp
|
|
2011
|
+
* app data. <b>Note:</b> To use this method, the metadata must be loaded first.
|
|
2012
|
+
* @param {object} oData With potential sensitive information (for OData, external representation using
|
|
2013
|
+
* <code>oSelectionVariant.toJSONObject()</code> must be used), with the <code>FilterContextUrl</code> or
|
|
2014
|
+
* <code>ParameterContextUrl</code> property.
|
|
2015
|
+
* @returns {object} Data without properties marked as measures or an empty object if the OData metadata is not fully loaded yet
|
|
2016
|
+
* @private
|
|
2017
|
+
*/
|
|
2018
|
+
_removeMeasureBasedProperties: function(oData) {
|
|
2019
|
+
var oAdaptedData = oData,
|
|
2020
|
+
aMeasureFilterName = [],
|
|
2021
|
+
aMeasureParameterName = [];
|
|
2022
|
+
var i,
|
|
2023
|
+
oModel,
|
|
2024
|
+
oMetaModel,
|
|
2025
|
+
oEntitySet,
|
|
2026
|
+
oEntityDef,
|
|
2027
|
+
oSubEntityDef,
|
|
2028
|
+
oEndRole,
|
|
2029
|
+
aFilterContextPart = [],
|
|
2030
|
+
aParamContextPart = [];
|
|
2031
|
+
|
|
2032
|
+
if (
|
|
2033
|
+
oData &&
|
|
2034
|
+
oData.selectionVariant &&
|
|
2035
|
+
((oData.selectionVariant.FilterContextUrl && oData.selectionVariant.SelectOptions) ||
|
|
2036
|
+
(oData.selectionVariant.ParameterContextUrl && oData.selectionVariant.Parameters))
|
|
2037
|
+
) {
|
|
2038
|
+
oModel = this._getModel();
|
|
2039
|
+
if (this.oComponent && oModel && oModel.isA("sap.ui.model.odata.v2.ODataModel")) {
|
|
2040
|
+
oMetaModel = oModel.getMetaModel();
|
|
2041
|
+
if (oModel.getServiceMetadata() && oMetaModel && oMetaModel.oModel) {
|
|
2042
|
+
if (oData.selectionVariant.FilterContextUrl) {
|
|
2043
|
+
aFilterContextPart = oData.selectionVariant.FilterContextUrl.split("#");
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2046
|
+
if (
|
|
2047
|
+
aFilterContextPart.length === 2 &&
|
|
2048
|
+
oData.selectionVariant.SelectOptions &&
|
|
2049
|
+
this._constructContextUrl(oModel).indexOf(aFilterContextPart[0]) === 0
|
|
2050
|
+
) {
|
|
2051
|
+
oEntitySet = oMetaModel.getODataEntitySet(aFilterContextPart[1]);
|
|
2052
|
+
if (oEntitySet) {
|
|
2053
|
+
oEntityDef = oMetaModel.getODataEntityType(oEntitySet.entityType);
|
|
2054
|
+
} else {
|
|
2055
|
+
oEntityDef = oMetaModel.getODataEntityType(aFilterContextPart[1]);
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
if (oEntityDef) {
|
|
2059
|
+
if (oEntityDef && oEntityDef.property) {
|
|
2060
|
+
for (i = 0; i < oEntityDef.property.length; i++) {
|
|
2061
|
+
if (this._isMeasureProperty(oEntityDef.property[i])) {
|
|
2062
|
+
aMeasureFilterName.push(oEntityDef.property[i].name);
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
if (oEntityDef.navigationProperty) {
|
|
2068
|
+
for (i = 0; i < oEntityDef.navigationProperty.length; i++) {
|
|
2069
|
+
oEndRole = oMetaModel.getODataAssociationEnd(oEntityDef, oEntityDef.navigationProperty[i].name);
|
|
2070
|
+
if (!oEndRole || oEndRole.type === oData.selectionVariant.FilterContextUrl) {
|
|
2071
|
+
continue;
|
|
2072
|
+
}
|
|
2073
|
+
// check if the end role has cardinality 0..1 or 1
|
|
2074
|
+
if (oEndRole.multiplicity === "1" || oEndRole.multiplicity === "0..1") {
|
|
2075
|
+
oSubEntityDef = oMetaModel.getODataEntityType(oEndRole.type);
|
|
2076
|
+
if (oSubEntityDef && oSubEntityDef.property) {
|
|
2077
|
+
for (var j = 0; j < oSubEntityDef.property.length; j++) {
|
|
2078
|
+
if (this._isMeasureProperty(oSubEntityDef.property[j])) {
|
|
2079
|
+
aMeasureFilterName.push(
|
|
2080
|
+
oEntityDef.navigationProperty[i].name + "." + oSubEntityDef.property[j].name
|
|
2081
|
+
);
|
|
2082
|
+
}
|
|
2083
|
+
}
|
|
2084
|
+
}
|
|
2085
|
+
}
|
|
2086
|
+
}
|
|
2087
|
+
}
|
|
2088
|
+
}
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
if (oData.selectionVariant.ParameterContextUrl) {
|
|
2092
|
+
aParamContextPart = oData.selectionVariant.ParameterContextUrl.split("#");
|
|
2093
|
+
}
|
|
2094
|
+
|
|
2095
|
+
if (
|
|
2096
|
+
aParamContextPart.length === 2 &&
|
|
2097
|
+
oData.selectionVariant.Parameters &&
|
|
2098
|
+
this._constructContextUrl(oModel).indexOf(aParamContextPart[0]) === 0
|
|
2099
|
+
) {
|
|
2100
|
+
oEntitySet = oMetaModel.getODataEntitySet(aParamContextPart[1]);
|
|
2101
|
+
if (oEntitySet) {
|
|
2102
|
+
oEntityDef = oMetaModel.getODataEntityType(oEntitySet.entityType);
|
|
2103
|
+
} else {
|
|
2104
|
+
oEntityDef = oMetaModel.getODataEntityType(aFilterContextPart[1]);
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
if (oEntityDef) {
|
|
2108
|
+
if (oEntityDef.property) {
|
|
2109
|
+
for (i = 0; i < oEntityDef.property.length; i++) {
|
|
2110
|
+
if (this._isMeasureProperty(oEntityDef.property[i])) {
|
|
2111
|
+
aMeasureParameterName.push(oEntityDef.property[i].name);
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
if (aMeasureFilterName.length || aMeasureParameterName.length) {
|
|
2119
|
+
oAdaptedData = extend(true, {}, oAdaptedData);
|
|
2120
|
+
|
|
2121
|
+
this._removeProperties(aMeasureFilterName, aMeasureParameterName, oAdaptedData);
|
|
2122
|
+
}
|
|
2123
|
+
} else {
|
|
2124
|
+
// annotations are not loaded
|
|
2125
|
+
|
|
2126
|
+
this._removeAllProperties(oAdaptedData);
|
|
2127
|
+
Log.error("NavigationHandler: oMetadata are not fully loaded!");
|
|
2128
|
+
}
|
|
2129
|
+
} else if (this.oComponent && oModel && oModel.isA("sap.ui.model.odata.v4.ODataModel")) {
|
|
2130
|
+
return this._removeSensitiveDataForODataV4(oAdaptedData, true);
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
return oAdaptedData;
|
|
2134
|
+
},
|
|
2135
|
+
|
|
2136
|
+
/**
|
|
2137
|
+
* Removes sensitive data from the navigation context.
|
|
2138
|
+
*
|
|
2139
|
+
* @param {object} oData Selection variant
|
|
2140
|
+
* @param {boolean} bMeasure Should measures be removed
|
|
2141
|
+
* @returns {object} The selection variant after sensitive data has been removed
|
|
2142
|
+
**/
|
|
2143
|
+
_removeSensitiveDataForODataV4: function(oData, bMeasure) {
|
|
2144
|
+
var that = this,
|
|
2145
|
+
aFilterContextPart,
|
|
2146
|
+
oSV = new SelectionVariant(oData.selectionVariant),
|
|
2147
|
+
oModel = this._getModel();
|
|
2148
|
+
|
|
2149
|
+
if (!oModel.getMetaModel().getObject("/")) {
|
|
2150
|
+
// annotations are not loaded
|
|
2151
|
+
this._removeAllProperties(oData);
|
|
2152
|
+
Log.error("NavigationHandler: oMetadata are not fully loaded!");
|
|
2153
|
+
return oData;
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
if (oData.selectionVariant.FilterContextUrl) {
|
|
2157
|
+
aFilterContextPart = oData.selectionVariant.FilterContextUrl.split("#");
|
|
2158
|
+
}
|
|
2159
|
+
|
|
2160
|
+
if (
|
|
2161
|
+
aFilterContextPart.length === 2 &&
|
|
2162
|
+
oData.selectionVariant.SelectOptions &&
|
|
2163
|
+
this._constructContextUrl(oModel).indexOf(aFilterContextPart[0]) === 0
|
|
2164
|
+
) {
|
|
2165
|
+
oSV.removeSelectOption("@odata.context");
|
|
2166
|
+
oSV.removeSelectOption("@odata.metadataEtag");
|
|
2167
|
+
oSV.removeSelectOption("SAP__Messages");
|
|
2168
|
+
|
|
2169
|
+
var sEntitySet = aFilterContextPart[1],
|
|
2170
|
+
oMetaModel = oModel.getMetaModel(),
|
|
2171
|
+
aPropertyNames = oSV.getPropertyNames() || [],
|
|
2172
|
+
fnIsSensitiveData = function(sProp, esName, mData) {
|
|
2173
|
+
var aPropertyAnnotations;
|
|
2174
|
+
esName = esName || sEntitySet;
|
|
2175
|
+
mData = mData;
|
|
2176
|
+
aPropertyAnnotations = oMetaModel.getObject("/" + esName + "/" + sProp + "@");
|
|
2177
|
+
if (aPropertyAnnotations) {
|
|
2178
|
+
if (
|
|
2179
|
+
(bMeasure && aPropertyAnnotations["@com.sap.vocabularies.Analytics.v1.Measure"]) ||
|
|
2180
|
+
that._checkPropertyAnnotationsForSensitiveData(aPropertyAnnotations)
|
|
2181
|
+
) {
|
|
2182
|
+
return true;
|
|
2183
|
+
} else if (aPropertyAnnotations["@com.sap.vocabularies.Common.v1.FieldControl"]) {
|
|
2184
|
+
var oFieldControl = aPropertyAnnotations["@com.sap.vocabularies.Common.v1.FieldControl"];
|
|
2185
|
+
if (oFieldControl["$EnumMember"] && oFieldControl["$EnumMember"].split("/")[1] === "Inapplicable") {
|
|
2186
|
+
return true;
|
|
2187
|
+
}
|
|
2188
|
+
}
|
|
2189
|
+
}
|
|
2190
|
+
return false;
|
|
2191
|
+
};
|
|
2192
|
+
|
|
2193
|
+
for (var k = 0; k < aPropertyNames.length; k++) {
|
|
2194
|
+
var sProperty = aPropertyNames[k];
|
|
2195
|
+
// properties of the entity set
|
|
2196
|
+
if (fnIsSensitiveData(sProperty, sEntitySet)) {
|
|
2197
|
+
oSV.removeSelectOption(sProperty);
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2200
|
+
oData.selectionVariant = oSV.toJSONObject();
|
|
2201
|
+
}
|
|
2202
|
+
return oData;
|
|
2203
|
+
},
|
|
2204
|
+
|
|
2205
|
+
_checkPropertyAnnotationsForSensitiveData: function(aPropertyAnnotations) {
|
|
2206
|
+
return (
|
|
2207
|
+
aPropertyAnnotations["@com.sap.vocabularies.PersonalData.v1.IsPotentiallySensitive"] ||
|
|
2208
|
+
aPropertyAnnotations["@com.sap.vocabularies.UI.v1.ExcludeFromNavigationContext"]
|
|
2209
|
+
);
|
|
2210
|
+
}
|
|
2211
|
+
});
|
|
2212
|
+
|
|
2213
|
+
return NavigationHandler;
|
|
2214
|
+
}
|
|
2215
|
+
);
|