@openui5/sap.ui.integration 1.96.2 → 1.98.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/.reuse/dep5 +26 -31
- package/THIRDPARTY.txt +15 -21
- package/package.json +3 -3
- package/src/sap/ui/integration/.library +16 -22
- package/src/sap/ui/integration/ActionDefinition.js +2 -2
- package/src/sap/ui/integration/Designtime.js +2 -2
- package/src/sap/ui/integration/Extension.js +2 -2
- package/src/sap/ui/integration/Host.js +38 -2
- package/src/sap/ui/integration/bindingFeatures/DateRange.js +1 -1
- package/src/sap/ui/integration/cards/AdaptiveContent.js +16 -50
- package/src/sap/ui/integration/cards/AnalyticalContent.js +8 -9
- package/src/sap/ui/integration/cards/AnalyticalContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +5 -3
- package/src/sap/ui/integration/cards/AnalyticsCloudContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/BaseContent.js +56 -6
- package/src/sap/ui/integration/cards/BaseContentRenderer.js +2 -2
- package/src/sap/ui/integration/cards/BaseListContent.js +39 -69
- package/src/sap/ui/integration/cards/CalendarContent.js +16 -12
- package/src/sap/ui/integration/cards/CalendarContentRenderer.js +2 -1
- package/src/sap/ui/integration/cards/ComponentContent.js +3 -2
- package/src/sap/ui/integration/cards/ComponentContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/Footer.js +2 -2
- package/src/sap/ui/integration/cards/Header.js +3 -3
- package/src/sap/ui/integration/cards/ListContent.js +67 -23
- package/src/sap/ui/integration/cards/ListContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/NumericHeader.js +3 -3
- package/src/sap/ui/integration/cards/ObjectContent.js +353 -228
- package/src/sap/ui/integration/cards/ObjectContentRenderer.js +28 -0
- package/src/sap/ui/integration/cards/TableContent.js +6 -10
- package/src/sap/ui/integration/cards/TableContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/TimelineContent.js +10 -14
- package/src/sap/ui/integration/cards/TimelineContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/WebPageContent.js +6 -2
- package/src/sap/ui/integration/cards/WebPageContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/actions/BaseAction.js +89 -0
- package/src/sap/ui/integration/cards/actions/CardActions.js +472 -0
- package/src/sap/ui/integration/cards/actions/CustomAction.js +31 -0
- package/src/sap/ui/integration/cards/actions/DateChangeAction.js +20 -0
- package/src/sap/ui/integration/cards/actions/MonthChangeAction.js +20 -0
- package/src/sap/ui/integration/cards/actions/NavigationAction.js +63 -0
- package/src/sap/ui/integration/cards/actions/SubmitAction.js +89 -0
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +10 -10
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +3 -3
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +7 -12
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputTime.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +3 -3
- package/src/sap/ui/integration/cards/adaptivecards/elements/hostConfig.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/overwrites/ActionRender.js +1 -1
- package/src/sap/ui/integration/cards/filters/BaseFilter.js +2 -2
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +63 -58
- package/src/sap/ui/integration/cards/filters/FilterBar.js +91 -0
- package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +34 -13
- package/src/sap/ui/integration/cards/filters/SearchFilter.js +95 -0
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +34 -4
- package/src/sap/ui/integration/controls/ActionsStrip.js +3 -3
- package/src/sap/ui/integration/controls/ActionsToolbar.js +4 -5
- package/src/sap/ui/integration/controls/ActionsToolbarRenderer.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItem.js +2 -2
- package/src/sap/ui/integration/controls/ListContentItemRenderer.js +1 -1
- package/src/sap/ui/integration/controls/Microchart.js +2 -2
- package/src/sap/ui/integration/controls/MicrochartLegend.js +2 -2
- package/src/sap/ui/integration/controls/MicrochartLegendRenderer.js +1 -1
- package/src/sap/ui/integration/customElements/CustomElementBase.js +1 -1
- package/src/sap/ui/integration/customElements/CustomElementCard.js +1 -1
- package/src/sap/ui/integration/customElements/CustomElementCardEditor.js +1 -1
- package/src/sap/ui/integration/customElements/CustomElementEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_US_sappsd.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_US_saprigi.properties +13 -19
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_US_saptrc.properties +16 -12
- package/src/sap/ui/integration/designtime/baseEditor/layout/Form.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.fragment.xml +1 -0
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +7 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/multiSelectEditor/MultiSelectEditor.fragment.xml +15 -0
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/multiSelectEditor/MultiSelectEditor.js +116 -0
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/util/BaseDefaultValidatorModules.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/StylesheetManager.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/resolveBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/cleanupDesigntimeMetadata.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/createPromise.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/escapeParameter.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/findClosestInstance.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/hasTag.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/isTemplate.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/isValidBindingString.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsPatternMatch.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +18 -3
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/BASEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/CardEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/PropertyEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/PropertyEditors.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/AppConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/HeaderConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/ListCardConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/ObjectCardConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/TableCardConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/generateActionConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/generateDataConfig.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/index.js +13 -2
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n.properties +57 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ar.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_bg.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ca.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_cs.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_cy.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_da.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_de.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_el.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_GB.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_US_sappsd.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_US_saprigi.properties +0 -4
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_US_saptrc.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_es.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_es_MX.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_et.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_fi.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_fr.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_fr_CA.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_hi.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_hr.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_hu.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_id.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_it.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_iw.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ja.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_kk.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ko.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_lt.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_lv.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ms.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_nl.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_no.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_pl.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_pt.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_pt_PT.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ro.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ru.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_sh.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_sk.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_sl.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_sv.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_th.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_tr.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_uk.properties +41 -1
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_vi.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_zh_CN.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_zh_TW.properties +40 -0
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +62 -4
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/filtersEditor/FiltersEditor.js +218 -0
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/util/CommonPatterns.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/validator/IsPatternMatchList.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +53 -4
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +31 -11
- package/src/sap/ui/integration/designtime/editor/css/CardPreview.css +18 -1
- package/src/sap/ui/integration/editor/Editor.js +219 -209
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +43 -32
- package/src/sap/ui/integration/editor/Extension.js +2 -2
- package/src/sap/ui/integration/editor/Manifest.js +3 -3
- package/src/sap/ui/integration/editor/Merger.js +1 -19
- package/src/sap/ui/integration/editor/Settings.js +10 -6
- package/src/sap/ui/integration/editor/css/Editor.css +22 -0
- package/src/sap/ui/integration/editor/fields/BaseField.js +9 -12
- package/src/sap/ui/integration/editor/fields/BooleanField.js +4 -2
- package/src/sap/ui/integration/editor/fields/DateField.js +2 -2
- package/src/sap/ui/integration/editor/fields/DateTimeField.js +2 -2
- package/src/sap/ui/integration/editor/fields/DestinationField.js +2 -2
- package/src/sap/ui/integration/editor/fields/IntegerField.js +5 -2
- package/src/sap/ui/integration/editor/fields/ListField.js +274 -62
- package/src/sap/ui/integration/editor/fields/NumberField.js +2 -2
- package/src/sap/ui/integration/editor/fields/StringField.js +85 -53
- package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +10 -30
- package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +2 -4
- package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +2 -4
- package/src/sap/ui/integration/editor/languages.json +2 -2
- package/src/sap/ui/integration/formatters/DateTimeFormatter.js +1 -1
- package/src/sap/ui/integration/formatters/IconFormatter.js +1 -1
- package/src/sap/ui/integration/formatters/NumberFormatter.js +1 -1
- package/src/sap/ui/integration/formatters/TextFormatter.js +1 -1
- package/src/sap/ui/integration/library-bootstrap.js +1 -1
- package/src/sap/ui/integration/library.js +21 -4
- package/src/sap/ui/integration/messagebundle_ar.properties +4 -0
- package/src/sap/ui/integration/messagebundle_bg.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ca.properties +4 -0
- package/src/sap/ui/integration/messagebundle_cs.properties +4 -0
- package/src/sap/ui/integration/messagebundle_cy.properties +4 -0
- package/src/sap/ui/integration/messagebundle_da.properties +4 -0
- package/src/sap/ui/integration/messagebundle_de.properties +4 -0
- package/src/sap/ui/integration/messagebundle_el.properties +4 -0
- package/src/sap/ui/integration/messagebundle_en.properties +4 -0
- package/src/sap/ui/integration/messagebundle_en_GB.properties +4 -0
- package/src/sap/ui/integration/messagebundle_en_US_sappsd.properties +4 -0
- package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +55 -81
- package/src/sap/ui/integration/messagebundle_en_US_saptrc.properties +4 -0
- package/src/sap/ui/integration/messagebundle_es.properties +4 -0
- package/src/sap/ui/integration/messagebundle_es_MX.properties +4 -0
- package/src/sap/ui/integration/messagebundle_et.properties +4 -0
- package/src/sap/ui/integration/messagebundle_fi.properties +4 -0
- package/src/sap/ui/integration/messagebundle_fr.properties +4 -0
- package/src/sap/ui/integration/messagebundle_fr_CA.properties +4 -0
- package/src/sap/ui/integration/messagebundle_hi.properties +4 -0
- package/src/sap/ui/integration/messagebundle_hr.properties +4 -0
- package/src/sap/ui/integration/messagebundle_hu.properties +4 -0
- package/src/sap/ui/integration/messagebundle_id.properties +4 -0
- package/src/sap/ui/integration/messagebundle_it.properties +4 -0
- package/src/sap/ui/integration/messagebundle_iw.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ja.properties +4 -0
- package/src/sap/ui/integration/messagebundle_kk.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ko.properties +4 -0
- package/src/sap/ui/integration/messagebundle_lt.properties +4 -0
- package/src/sap/ui/integration/messagebundle_lv.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ms.properties +4 -0
- package/src/sap/ui/integration/messagebundle_nl.properties +4 -0
- package/src/sap/ui/integration/messagebundle_no.properties +4 -0
- package/src/sap/ui/integration/messagebundle_pl.properties +4 -0
- package/src/sap/ui/integration/messagebundle_pt.properties +4 -0
- package/src/sap/ui/integration/messagebundle_pt_PT.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ro.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ru.properties +4 -0
- package/src/sap/ui/integration/messagebundle_sh.properties +4 -0
- package/src/sap/ui/integration/messagebundle_sk.properties +4 -0
- package/src/sap/ui/integration/messagebundle_sl.properties +4 -0
- package/src/sap/ui/integration/messagebundle_sv.properties +4 -0
- package/src/sap/ui/integration/messagebundle_th.properties +4 -0
- package/src/sap/ui/integration/messagebundle_tr.properties +4 -0
- package/src/sap/ui/integration/messagebundle_uk.properties +4 -0
- package/src/sap/ui/integration/messagebundle_vi.properties +4 -0
- package/src/sap/ui/integration/messagebundle_zh_CN.properties +4 -0
- package/src/sap/ui/integration/messagebundle_zh_TW.properties +4 -0
- package/src/sap/ui/integration/model/ContextModel.js +3 -3
- package/src/sap/ui/integration/model/ObservableModel.js +2 -2
- package/src/sap/ui/integration/sap-ui-integration-config.js +1 -1
- package/src/sap/ui/integration/sap-ui-integration-define-nojQuery.js +1 -1
- package/src/sap/ui/integration/schemas/sap-card.json +195 -8
- package/src/sap/ui/integration/services/Data.js +1 -1
- package/src/sap/ui/integration/services/Navigation.js +1 -1
- package/src/sap/ui/integration/services/Service.js +1 -1
- package/src/sap/ui/integration/themes/base/CalendarContent.less +31 -4
- package/src/sap/ui/integration/themes/base/ObjectContent.less +57 -9
- package/src/sap/ui/integration/themes/base/library.source.less +1 -1
- package/src/sap/ui/integration/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/ui/integration/thirdparty/adaptive-expressions.js +1 -0
- package/src/sap/ui/integration/thirdparty/adaptivecards-templating.js +660 -952
- package/src/sap/ui/integration/thirdparty/markdown-it.js +8340 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/bundle.esm.js +27 -102
- package/src/sap/ui/integration/thirdparty/webcomponents/bundle.esm.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ar-8f9ad94e.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ar-8f9ad94e.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ar-f6792d81.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ar-f6792d81.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_bg-39f4bd50.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_bg-39f4bd50.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_bg-884d46bd.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_bg-884d46bd.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ca-5b6cc3e2.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ca-5b6cc3e2.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ca-d12c1ceb.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ca-d12c1ceb.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cs-307b7f69.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cs-307b7f69.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cs-c7ed5c29.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cs-c7ed5c29.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cy-0f578e7e.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cy-0f578e7e.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cy-9889d6f0.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cy-9889d6f0.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_da-53593542.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_da-53593542.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_da-6bb7d77b.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_da-6bb7d77b.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_de-0376c479.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_de-0376c479.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_de-eb501c07.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_de-eb501c07.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_el-45d1c326.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_el-45d1c326.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_el-e1955d32.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_el-e1955d32.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en-3bc10a88.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en-3bc10a88.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en-e41c44ec.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en-e41c44ec.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_GB-963f5beb.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_GB-963f5beb.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_GB-a4723c29.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_GB-a4723c29.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_sappsd-10d3b264.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_sappsd-10d3b264.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_sappsd-9cf5ba75.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_sappsd-9cf5ba75.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_saprigi-00c865df.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_saprigi-00c865df.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_saprigi-8a51ede2.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_saprigi-8a51ede2.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_saptrc-ac48007a.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_saptrc-ac48007a.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_saptrc-ae1a6e4a.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_en_US_saptrc-ae1a6e4a.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es-1fe90167.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es-1fe90167.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es-288d5c23.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es-288d5c23.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es_MX-4f1305df.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es_MX-4f1305df.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es_MX-b984b6dc.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es_MX-b984b6dc.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_et-a0061a71.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_et-a0061a71.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_et-c96b504c.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_et-c96b504c.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fi-27edc9b8.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fi-27edc9b8.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fi-c943134b.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fi-c943134b.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr-16c1c577.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr-16c1c577.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr-6265990a.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr-6265990a.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr_CA-60f6fce4.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr_CA-60f6fce4.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr_CA-c0eae649.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr_CA-c0eae649.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hi-3c753818.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hi-3c753818.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hi-c4029409.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hi-c4029409.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hr-49952683.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hr-49952683.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hr-f5eadd90.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hr-f5eadd90.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hu-9eaeaf2e.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hu-9eaeaf2e.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hu-d57d2bfc.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hu-d57d2bfc.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_in-5f15c5a1.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_in-5f15c5a1.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_in-69efcc93.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_in-69efcc93.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_it-0b408aea.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_it-0b408aea.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_it-51d189db.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_it-51d189db.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_iw-6db571be.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_iw-6db571be.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_iw-71f66463.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_iw-71f66463.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ja-5b3dd502.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ja-5b3dd502.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ja-9c40042d.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ja-9c40042d.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_kk-b620a07a.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_kk-b620a07a.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_kk-c393c4a9.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_kk-c393c4a9.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ko-4be67a77.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ko-4be67a77.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ko-632e4f9f.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ko-632e4f9f.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lt-56b41ac8.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lt-56b41ac8.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lt-daa86622.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lt-daa86622.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lv-54381557.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lv-54381557.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lv-c58db769.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lv-c58db769.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ms-536227b5.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ms-536227b5.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ms-54fe878e.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ms-54fe878e.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_nl-56e48e33.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_nl-56e48e33.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_nl-71b1c190.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_nl-71b1c190.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_no-5ae816d9.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_no-5ae816d9.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_no-eecb1eec.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_no-eecb1eec.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pl-bd30a402.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pl-bd30a402.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pl-dd8107e1.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pl-dd8107e1.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt-026877c7.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt-026877c7.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt-9e9f924f.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt-9e9f924f.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt_PT-2c6cce63.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt_PT-2c6cce63.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt_PT-a24258d4.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt_PT-a24258d4.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ro-0dbe572d.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ro-0dbe572d.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ro-767b0e99.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ro-767b0e99.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ru-4291aa7d.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ru-4291aa7d.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ru-b3537542.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ru-b3537542.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sh-4047dcd1.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sh-4047dcd1.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sh-806e8ca0.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sh-806e8ca0.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sk-57daf6b1.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sk-57daf6b1.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sk-fd3049d8.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sk-fd3049d8.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sl-586b310b.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sl-586b310b.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sl-71a84189.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sl-71a84189.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sv-1796a5d2.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sv-1796a5d2.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sv-d6d000eb.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sv-d6d000eb.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_th-63398540.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_th-63398540.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_th-79715cf0.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_th-79715cf0.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_tr-c378e505.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_tr-c378e505.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_tr-f32e601b.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_tr-f32e601b.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_uk-70daf763.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_uk-70daf763.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_uk-99b5589a.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_uk-99b5589a.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_vi-3f36f453.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_vi-3f36f453.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_vi-c9a9277d.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_vi-c9a9277d.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_CN-2420a6e9.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_CN-2420a6e9.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_CN-748178a2.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_CN-748178a2.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_TW-91e89b06.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_TW-91e89b06.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_TW-ffef9f6e.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_TW-ffef9f6e.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-0c3377c5.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-0c3377c5.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-16ed5ab0.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-16ed5ab0.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-2b80e11c.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-2b80e11c.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-324b2fcc.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-324b2fcc.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-4809f843.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-4809f843.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-5338149e.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-5338149e.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-55dcf53d.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-55dcf53d.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-55e683ed.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-55e683ed.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-5bc2c0de.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-5bc2c0de.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-7bc1fa16.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-7bc1fa16.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-7f593c6e.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-7f593c6e.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-826107f5.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-826107f5.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-8b95ce95.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-8b95ce95.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-a003a2e2.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-a003a2e2.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-ab3e8649.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-ab3e8649.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-bfa33d93.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-bfa33d93.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-dec4feca.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-dec4feca.js.map +1 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-fb5a25ab.js +2 -0
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css-fb5a25ab.js.map +1 -0
- package/src/sap/ui/integration/util/BaseFactory.js +2 -2
- package/src/sap/ui/integration/util/BindingHelper.js +6 -4
- package/src/sap/ui/integration/util/BindingResolver.js +6 -5
- package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +1 -1
- package/src/sap/ui/integration/util/CardMerger.js +7 -18
- package/src/sap/ui/integration/util/CardObserver.js +2 -2
- package/src/sap/ui/integration/util/ContentFactory.js +5 -9
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +296 -0
- package/src/sap/ui/integration/util/DataProvider.js +11 -2
- package/src/sap/ui/integration/util/DataProviderFactory.js +49 -12
- package/src/sap/ui/integration/util/Destinations.js +2 -2
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +2 -2
- package/src/sap/ui/integration/util/HeaderFactory.js +3 -3
- package/src/sap/ui/integration/util/JSONBindingHelper.js +3 -3
- package/src/sap/ui/integration/util/LoadingProvider.js +2 -2
- package/src/sap/ui/integration/util/Manifest.js +4 -4
- package/src/sap/ui/integration/util/ManifestResolver.js +99 -0
- package/src/sap/ui/integration/util/ParameterMap.js +1 -1
- package/src/sap/ui/integration/util/RequestDataProvider.js +88 -50
- package/src/sap/ui/integration/util/ServiceDataProvider.js +2 -2
- package/src/sap/ui/integration/util/ServiceManager.js +2 -2
- package/src/sap/ui/integration/util/SkeletonCard.js +50 -0
- package/src/sap/ui/integration/util/Utils.js +74 -2
- package/src/sap/ui/integration/util/loadCardEditor.js +1 -1
- package/src/sap/ui/integration/widgets/Card.js +67 -20
- package/src/sap/ui/integration/widgets/CardRenderer.js +1 -7
- package/src/sap-ui-integration-card-editor.js +1 -1
- package/src/sap-ui-integration-editor.js +1 -1
- package/src/sap-ui-integration.js +1 -1
- package/ui5.yaml +288 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/Unicode-Data-Files-LICENSE.txt +0 -27
- package/src/sap/ui/integration/thirdparty/webcomponents/ar.43441c1da168c24d.json +0 -5906
- package/src/sap/ui/integration/thirdparty/webcomponents/ar_EG.2c9d7bc8c6cc480e.json +0 -5906
- package/src/sap/ui/integration/thirdparty/webcomponents/ar_SA.5a58dac7851f3491.json +0 -5906
- package/src/sap/ui/integration/thirdparty/webcomponents/bg.ed8d32010cf321a6.json +0 -4979
- package/src/sap/ui/integration/thirdparty/webcomponents/bundle.es5.js +0 -212
- package/src/sap/ui/integration/thirdparty/webcomponents/ca.e7ad42298985cd11.json +0 -4996
- package/src/sap/ui/integration/thirdparty/webcomponents/cs.9c679acdc4b03e38.json +0 -5498
- package/src/sap/ui/integration/thirdparty/webcomponents/da.ba9951ef39b201a6.json +0 -4888
- package/src/sap/ui/integration/thirdparty/webcomponents/de.6caccc36abcd1ecf.json +0 -4916
- package/src/sap/ui/integration/thirdparty/webcomponents/de_AT.0f4ffe37737725a0.json +0 -4917
- package/src/sap/ui/integration/thirdparty/webcomponents/de_CH.c148cbc7ceb1a7a5.json +0 -4915
- package/src/sap/ui/integration/thirdparty/webcomponents/el.11c4c67dcb9fadcc.json +0 -4883
- package/src/sap/ui/integration/thirdparty/webcomponents/el_CY.ed3bddd6e79dc343.json +0 -4883
- package/src/sap/ui/integration/thirdparty/webcomponents/en.c4465af466100b5b.json +0 -4970
- package/src/sap/ui/integration/thirdparty/webcomponents/en_AU.5cb9fccc9ce24663.json +0 -4962
- package/src/sap/ui/integration/thirdparty/webcomponents/en_GB.e31daeeb57c2f1d1.json +0 -4971
- package/src/sap/ui/integration/thirdparty/webcomponents/en_HK.0a22405bb092bec2.json +0 -4977
- package/src/sap/ui/integration/thirdparty/webcomponents/en_IE.6a062df10dabdb1c.json +0 -4971
- package/src/sap/ui/integration/thirdparty/webcomponents/en_IN.bfd20b07e9079267.json +0 -4972
- package/src/sap/ui/integration/thirdparty/webcomponents/en_NZ.18303e8298e4752a.json +0 -4971
- package/src/sap/ui/integration/thirdparty/webcomponents/en_PG.9f604c968f3ab77e.json +0 -4972
- package/src/sap/ui/integration/thirdparty/webcomponents/en_SG.cc59a6a409e1617e.json +0 -4973
- package/src/sap/ui/integration/thirdparty/webcomponents/en_ZA.198f9641a502d660.json +0 -4972
- package/src/sap/ui/integration/thirdparty/webcomponents/es.c10bf80f473caf30.json +0 -4912
- package/src/sap/ui/integration/thirdparty/webcomponents/es_AR.7708d7dd7a6d2a15.json +0 -4914
- package/src/sap/ui/integration/thirdparty/webcomponents/es_BO.4a1616d9f3425fba.json +0 -4913
- package/src/sap/ui/integration/thirdparty/webcomponents/es_CL.5637126713317a15.json +0 -4914
- package/src/sap/ui/integration/thirdparty/webcomponents/es_CO.c9436572ca8f4da8.json +0 -4913
- package/src/sap/ui/integration/thirdparty/webcomponents/es_MX.b4bce7dc951eb8f4.json +0 -4915
- package/src/sap/ui/integration/thirdparty/webcomponents/es_PE.65f448fde1f0de13.json +0 -4913
- package/src/sap/ui/integration/thirdparty/webcomponents/es_UY.9ec44031491e9b95.json +0 -4915
- package/src/sap/ui/integration/thirdparty/webcomponents/es_VE.152233c7f57ecdab.json +0 -4914
- package/src/sap/ui/integration/thirdparty/webcomponents/et.bbc93e8a17832e8f.json +0 -4967
- package/src/sap/ui/integration/thirdparty/webcomponents/fa.083b927b3586b3a3.json +0 -4883
- package/src/sap/ui/integration/thirdparty/webcomponents/fi.1b4c89f38783556e.json +0 -5008
- package/src/sap/ui/integration/thirdparty/webcomponents/fr.ddbb9df1e0bdb6ac.json +0 -4979
- package/src/sap/ui/integration/thirdparty/webcomponents/fr_BE.bf3609280b7b93ee.json +0 -4979
- package/src/sap/ui/integration/thirdparty/webcomponents/fr_CA.b64d0bcd23a5cd3e.json +0 -4973
- package/src/sap/ui/integration/thirdparty/webcomponents/fr_CH.349b221a02887244.json +0 -4997
- package/src/sap/ui/integration/thirdparty/webcomponents/fr_LU.ef7d7c8bb3328d28.json +0 -4979
- package/src/sap/ui/integration/thirdparty/webcomponents/he.d628e8bf13a8a2c8.json +0 -5378
- package/src/sap/ui/integration/thirdparty/webcomponents/hi.cc34df8229f656f5.json +0 -4829
- package/src/sap/ui/integration/thirdparty/webcomponents/hr.c920290f50173516.json +0 -4919
- package/src/sap/ui/integration/thirdparty/webcomponents/hu.2d9fa4a9163cd7c0.json +0 -4856
- package/src/sap/ui/integration/thirdparty/webcomponents/id.163fdd2a7dbd1dd3.json +0 -4658
- package/src/sap/ui/integration/thirdparty/webcomponents/it.b5acbefdd6794dfc.json +0 -4950
- package/src/sap/ui/integration/thirdparty/webcomponents/it_CH.ade4cbfb2e49424a.json +0 -4950
- package/src/sap/ui/integration/thirdparty/webcomponents/ja.d882fade5c3e04b5.json +0 -4830
- package/src/sap/ui/integration/thirdparty/webcomponents/kk.ab96b18c66676a99.json +0 -4725
- package/src/sap/ui/integration/thirdparty/webcomponents/ko.a0d63a1580dcbefd.json +0 -4738
- package/src/sap/ui/integration/thirdparty/webcomponents/lt.93bb00f91a74d613.json +0 -5481
- package/src/sap/ui/integration/thirdparty/webcomponents/lv.3c272216d7d4d61c.json +0 -5112
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ar.d20c665dc46a6f9b.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_bg.38428028ff3b1869.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ca.c46423cc94896604.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cs.d9d68b2690954b4e.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_cy.facf33e921a1a902.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_da.1189e997523b89f6.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_de.1edf86f620dd657a.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_el.b0d02877b9366e9a.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es.43fc364a8be37449.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_es_MX.ebf2828c83c4821a.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_et.8f9abcfab5eb10c2.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fi.6fc14fd0d16cc223.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr.c686ab9036b91d78.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_fr_CA.fb1250c736f2ac8c.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hi.8b8cbc4fb282adf6.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hr.bb811aa76359724a.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_hu.18417ced7dce8cf7.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_in.e3c5681fc8917143.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_it.554f904c106ab069.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_iw.487febe0c5c504ff.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ja.68cf1fa9f03cd6c3.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_kk.36e63b8f9e1fd98f.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ko.fb000c7a35009d21.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lt.6acd357e3eb3f54e.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_lv.3ffdda1a20bc15ec.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ms.218aa30a3e8f58fa.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_nl.f753744c7e08b3a5.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_no.385f0fc9f2e49ab5.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pl.6c42672479ad9687.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt.ede162cbf79f7fca.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_pt_PT.dcaa871d6b8eec75.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ro.d3f32654c57588ea.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_ru.0ec083b64484a12d.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sh.98cd3e4299919a30.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sk.fddb8b9e7b70fc1d.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sl.c55d5f817482ea06.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_sv.6d855a11d20b4335.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_th.e791b9a81f16120c.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_tr.ce83741e39606b55.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_uk.e1ea822764025a5a.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_vi.7ee7339211750379.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_CN.0cfd71faba640211.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/messagebundle_zh_TW.bc718e0187728a16.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/ms.e26b54937e5d1516.json +0 -4515
- package/src/sap/ui/integration/thirdparty/webcomponents/nb.a6e9993590a73989.json +0 -4977
- package/src/sap/ui/integration/thirdparty/webcomponents/nl.cac914c3529b7b01.json +0 -4884
- package/src/sap/ui/integration/thirdparty/webcomponents/nl_BE.a3ac6f9f99feba7b.json +0 -4884
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.34f9ef46a8f6a852.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.52d78e00faad9126.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.6c6e759e0d3534d0.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.8cc66e917327b7a4.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.966b2e43c0966351.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.97725b2cf4e77494.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.b1bf75f0b850363c.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.d164773ecb392b28.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.def3978aa5de7b11.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.dfd19a1252497415.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.e19065174fdd4592.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/parameters-bundle.css.e2ac94de83159e1e.json +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/pl.2cc1c94da23f8c37.json +0 -5176
- package/src/sap/ui/integration/thirdparty/webcomponents/pt.fc8dd9656bc363a4.json +0 -4805
- package/src/sap/ui/integration/thirdparty/webcomponents/pt_PT.be31b641eedfdb48.json +0 -4940
- package/src/sap/ui/integration/thirdparty/webcomponents/ro.fc6a48bc63cf435e.json +0 -5090
- package/src/sap/ui/integration/thirdparty/webcomponents/ru.77f0de46b3b490b1.json +0 -5407
- package/src/sap/ui/integration/thirdparty/webcomponents/ru_UA.4c4e0034fbd799c6.json +0 -5407
- package/src/sap/ui/integration/thirdparty/webcomponents/sk.0d62a8cca83c1dec.json +0 -5370
- package/src/sap/ui/integration/thirdparty/webcomponents/sl.7b303551cc238560.json +0 -5340
- package/src/sap/ui/integration/thirdparty/webcomponents/sr.7fb9ac6ed054ff7d.json +0 -5126
- package/src/sap/ui/integration/thirdparty/webcomponents/sv.6ea04dfd8d1c331b.json +0 -5011
- package/src/sap/ui/integration/thirdparty/webcomponents/th.8e8d734a66ed1c51.json +0 -4797
- package/src/sap/ui/integration/thirdparty/webcomponents/tr.dbb9aa836fc4e3f5.json +0 -4979
- package/src/sap/ui/integration/thirdparty/webcomponents/uk.4854089f0c12f77c.json +0 -5353
- package/src/sap/ui/integration/thirdparty/webcomponents/vi.e6ffbde0643d7d75.json +0 -4673
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/bundles/webcomponents-ce.js +0 -73
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/bundles/webcomponents-ce.js.map +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js +0 -336
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce-pf.js.map +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce.js +0 -221
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/bundles/webcomponents-sd-ce.js.map +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/bundles/webcomponents-sd.js +0 -169
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/bundles/webcomponents-sd.js.map +0 -1
- package/src/sap/ui/integration/thirdparty/webcomponents/webcomponentsjs/webcomponents-loader.js +0 -185
- package/src/sap/ui/integration/thirdparty/webcomponents/zh_CN.6607a3e9e0901e53.json +0 -4632
- package/src/sap/ui/integration/thirdparty/webcomponents/zh_HK.1c2563d3e4dad56e.json +0 -4640
- package/src/sap/ui/integration/thirdparty/webcomponents/zh_SG.db7f1334eecf894d.json +0 -4640
- package/src/sap/ui/integration/thirdparty/webcomponents/zh_TW.a1d00dd87c58d8f0.json +0 -4728
- package/src/sap/ui/integration/util/CardActions.js +0 -551
|
@@ -0,0 +1,472 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([
|
|
7
|
+
"sap/ui/integration/library",
|
|
8
|
+
"sap/base/Log",
|
|
9
|
+
"sap/ui/base/ManagedObject",
|
|
10
|
+
"sap/ui/integration/cards/actions/CustomAction",
|
|
11
|
+
"sap/ui/integration/cards/actions/DateChangeAction",
|
|
12
|
+
"sap/ui/integration/cards/actions/MonthChangeAction",
|
|
13
|
+
"sap/ui/integration/cards/actions/SubmitAction",
|
|
14
|
+
"sap/ui/integration/cards/actions/NavigationAction",
|
|
15
|
+
"sap/ui/integration/util/BindingResolver",
|
|
16
|
+
"sap/base/strings/capitalize"
|
|
17
|
+
], function (
|
|
18
|
+
library,
|
|
19
|
+
Log,
|
|
20
|
+
ManagedObject,
|
|
21
|
+
CustomAction,
|
|
22
|
+
DateChangeAction,
|
|
23
|
+
MonthChangeAction,
|
|
24
|
+
SubmitAction,
|
|
25
|
+
NavigationAction,
|
|
26
|
+
BindingResolver,
|
|
27
|
+
capitalize
|
|
28
|
+
) {
|
|
29
|
+
"use strict";
|
|
30
|
+
|
|
31
|
+
function _getServiceName(vService) {
|
|
32
|
+
if (vService && typeof vService === "object") {
|
|
33
|
+
return vService.name;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
return vService;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
var ActionArea = library.CardActionArea,
|
|
40
|
+
CardActionType = library.CardActionType;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Constructor for a new <code>CardActions</code>.
|
|
44
|
+
*
|
|
45
|
+
* @param {string} [sId] ID for the new data provider, generated automatically if no ID is given.
|
|
46
|
+
* @param {object} [mSettings] Initial settings for the new data provider.
|
|
47
|
+
*
|
|
48
|
+
* @class
|
|
49
|
+
*
|
|
50
|
+
*
|
|
51
|
+
* @extends sap.ui.base.ManagedObject
|
|
52
|
+
*
|
|
53
|
+
* @author SAP SE
|
|
54
|
+
* @version 1.98.0
|
|
55
|
+
*
|
|
56
|
+
* @constructor
|
|
57
|
+
* @private
|
|
58
|
+
* @since 1.65
|
|
59
|
+
* @alias sap.ui.integration.cards.actions.CardActions
|
|
60
|
+
*/
|
|
61
|
+
var CardActions = ManagedObject.extend("sap.ui.integration.cards.actions.CardActions", {
|
|
62
|
+
metadata: {
|
|
63
|
+
library: "sap.ui.integration",
|
|
64
|
+
properties: {
|
|
65
|
+
card: {
|
|
66
|
+
type: "object"
|
|
67
|
+
},
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Set this function if specific binding path is needed.
|
|
71
|
+
* By default getBindingContext().getPath() is used.
|
|
72
|
+
*/
|
|
73
|
+
bindingPathResolver: {
|
|
74
|
+
type: "function"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Listens for a press event on the provided area control and triggers an action with the provided parameters from the item.
|
|
82
|
+
* @private
|
|
83
|
+
* @param {object} oConfig Object containing configuration for the action
|
|
84
|
+
* @param {sap.ui.integration.CardActionArea} oConfig.area The area that describes what the action will be attached to
|
|
85
|
+
* @param {object[]} oConfig.actions Configuration object for the actions on an item
|
|
86
|
+
* @param {sap.ui.core.Control} oConfig.control The control that the action will be attached on
|
|
87
|
+
* @param {sap.ui.core.Control} [oConfig.actionControl] Optional control that the action will be attached on. If supplied, <code>oConfig.control</code> will not receive the action.
|
|
88
|
+
* @param {string} [oConfig.enabledPropertyName] Property of the control that will be maintained, based on the configuration of the actions.
|
|
89
|
+
* @param {*} [oConfig.enabledPropertyValue=true] The value <code>oConfig.enabledPropertyName</code> will be set to if the action is enabled.
|
|
90
|
+
* @param {*} [oConfig.disabledPropertyValue=false] The value <code>oConfig.disabledPropertyValue</code> will be set to if the action is disabled.
|
|
91
|
+
* @param {string} [oConfig.eventName=press] Name of the event to attach to
|
|
92
|
+
*/
|
|
93
|
+
CardActions.prototype.attach = function (oConfig) {
|
|
94
|
+
var oControl = oConfig.control,
|
|
95
|
+
sActionArea = oConfig.area;
|
|
96
|
+
|
|
97
|
+
oConfig.actionControl = oConfig.actionControl || oConfig.control;
|
|
98
|
+
oConfig.enabledPropertyValue = oConfig.enabledPropertyValue || true;
|
|
99
|
+
oConfig.disabledPropertyValue = oConfig.disabledPropertyValue || false;
|
|
100
|
+
oConfig.eventName = oConfig.eventName || "press";
|
|
101
|
+
|
|
102
|
+
if (!oConfig.actions) {
|
|
103
|
+
// For now firing the event here, after refactor need to think
|
|
104
|
+
// of a way to sync async navigation setters
|
|
105
|
+
this._fireActionReady(oControl, sActionArea);
|
|
106
|
+
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// For now we allow for only one action of type navigation.
|
|
111
|
+
var oAction = oConfig.actions[0];
|
|
112
|
+
if (oAction && oAction.type) { // todo - check if the type is valid
|
|
113
|
+
oConfig.action = oAction;
|
|
114
|
+
this._attachAction(oConfig);
|
|
115
|
+
|
|
116
|
+
} else {
|
|
117
|
+
// For now firing the event here, after refactor need to think of a way to sync async navigation setters
|
|
118
|
+
this._fireActionReady(oControl, sActionArea);
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
CardActions.prototype._attachAction = function (oConfig) {
|
|
123
|
+
var oAction = oConfig.action,
|
|
124
|
+
sActionArea = oConfig.area,
|
|
125
|
+
oAreaControl = oConfig.control,
|
|
126
|
+
oActionControl = oConfig.actionControl,
|
|
127
|
+
sEnabledPropertyName = oConfig.enabledPropertyName,
|
|
128
|
+
vEnabled = oConfig.enabledPropertyValue,
|
|
129
|
+
vDisabled = oConfig.disabledPropertyValue,
|
|
130
|
+
bCheckEnabledState = true,
|
|
131
|
+
bSingleAction = this._isSingleAction(sActionArea),
|
|
132
|
+
bActionEnabled = true;
|
|
133
|
+
|
|
134
|
+
if (sEnabledPropertyName) {
|
|
135
|
+
bCheckEnabledState = false;
|
|
136
|
+
|
|
137
|
+
if (oAction.service && !bSingleAction) {
|
|
138
|
+
// When there is a service let it handle the "enabled" state.
|
|
139
|
+
this._setControlEnabledStateUsingService(oAction, oAreaControl, oActionControl, sEnabledPropertyName, vEnabled, vDisabled);
|
|
140
|
+
} else {
|
|
141
|
+
// Or when there is a list item template, handle the "enabled" state with bindProperty + formatter
|
|
142
|
+
this._setControlEnabledState(oAction, oActionControl, sEnabledPropertyName, vEnabled, vDisabled);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
if (oAction.service && bSingleAction) {
|
|
147
|
+
|
|
148
|
+
this._getSingleActionEnabledState(oAction, oAreaControl).then(function (bEnabled) {
|
|
149
|
+
if (bEnabled) {
|
|
150
|
+
this._attachEventListener(oConfig);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
this._fireActionReady(oAreaControl, sActionArea);
|
|
154
|
+
}.bind(this));
|
|
155
|
+
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
if (bCheckEnabledState) {
|
|
160
|
+
// Handle the "enabled" state when there is no service and item template with formatter.
|
|
161
|
+
bActionEnabled = oAction.enabled !== false && oAction.enabled !== "false";
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
if (bActionEnabled) {
|
|
165
|
+
this._attachEventListener(oConfig);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
this._fireActionReady(oAreaControl, sActionArea);
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
CardActions.prototype._setControlEnabledStateUsingService = function (oAction, oAreaControl, oActionControl, sPropertyName, vEnabled, vDisabled) {
|
|
172
|
+
var oBindingInfo = ManagedObject.bindingParser("{path:''}");
|
|
173
|
+
|
|
174
|
+
// Async formatter to set oActionControl's property depending
|
|
175
|
+
// if the list item context is a correct navigation target (decided by the navigation service).
|
|
176
|
+
oBindingInfo.formatter = function (vValue) {
|
|
177
|
+
|
|
178
|
+
var oBindingContext = this.getBindingContext(),
|
|
179
|
+
sPath,
|
|
180
|
+
mParameters;
|
|
181
|
+
|
|
182
|
+
if (oBindingContext) {
|
|
183
|
+
sPath = oBindingContext.getPath();
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
mParameters = BindingResolver.resolveValue(oAction.parameters, oAreaControl, sPath);
|
|
187
|
+
|
|
188
|
+
if (vValue.__resolved) {
|
|
189
|
+
if (!vValue.__enabled || vValue.__enabled === "false") {
|
|
190
|
+
return vDisabled;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
return vEnabled;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
if (!vValue.__promise) {
|
|
197
|
+
vValue.__promise = true;
|
|
198
|
+
|
|
199
|
+
oAreaControl._oServiceManager.getService(_getServiceName(oAction.service))
|
|
200
|
+
.then(function (oNavigationService) {
|
|
201
|
+
if (oNavigationService) {
|
|
202
|
+
oNavigationService
|
|
203
|
+
.enabled({
|
|
204
|
+
parameters: mParameters
|
|
205
|
+
})
|
|
206
|
+
.then(function (bEnabled) {
|
|
207
|
+
vValue.__resolved = true;
|
|
208
|
+
vValue.__enabled = bEnabled;
|
|
209
|
+
oAreaControl.getModel().checkUpdate(true);
|
|
210
|
+
})
|
|
211
|
+
.catch(function () {
|
|
212
|
+
vValue.__resolved = true;
|
|
213
|
+
vValue.__enabled = false;
|
|
214
|
+
});
|
|
215
|
+
} else {
|
|
216
|
+
vValue.__resolved = true;
|
|
217
|
+
vValue.__enabled = false;
|
|
218
|
+
}
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
return vDisabled;
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
oActionControl.bindProperty(sPropertyName, oBindingInfo);
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Binds property to the control using a formatter.
|
|
230
|
+
* @param {object} oAction The action object which contains binding infos.
|
|
231
|
+
* @param {sap.ui.core.Control} oControl The control instance.
|
|
232
|
+
* @param {string} sPropertyName The property name of the control to be bound.
|
|
233
|
+
* @param {*} vEnabled The value to be set if the property should be enabled.
|
|
234
|
+
* @param {*} vDisabled The value to be set if the property should be disabled.
|
|
235
|
+
*/
|
|
236
|
+
CardActions.prototype._setControlEnabledState = function (oAction, oControl, sPropertyName, vEnabled, vDisabled) {
|
|
237
|
+
var oBindingInfo,
|
|
238
|
+
bVal;
|
|
239
|
+
|
|
240
|
+
if (typeof oAction.enabled === "object") {
|
|
241
|
+
oBindingInfo = oAction.enabled;
|
|
242
|
+
oBindingInfo.formatter = function (vValue) {
|
|
243
|
+
if (!vValue || vValue === "false") {
|
|
244
|
+
return vDisabled;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
return vEnabled;
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
if (oBindingInfo) {
|
|
252
|
+
oControl.bindProperty(sPropertyName, oBindingInfo);
|
|
253
|
+
} else {
|
|
254
|
+
bVal = (oAction.enabled === false || oAction.enabled === "false") ? vDisabled : vEnabled;
|
|
255
|
+
oControl.setProperty(sPropertyName, bVal);
|
|
256
|
+
}
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
CardActions.prototype._getSingleActionEnabledState = function (oAction, oAreaControl) {
|
|
260
|
+
var oBindingContext = oAreaControl.getBindingContext(),
|
|
261
|
+
mParameters,
|
|
262
|
+
sPath;
|
|
263
|
+
|
|
264
|
+
if (oBindingContext) {
|
|
265
|
+
sPath = oBindingContext.getPath();
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
mParameters = BindingResolver.resolveValue(oAction.parameters, oAreaControl, sPath);
|
|
269
|
+
|
|
270
|
+
return new Promise(function (resolve) {
|
|
271
|
+
oAreaControl._oServiceManager.getService(_getServiceName(oAction.service))
|
|
272
|
+
.then(function (oNavigationService) {
|
|
273
|
+
if (oNavigationService) {
|
|
274
|
+
oNavigationService
|
|
275
|
+
.enabled({
|
|
276
|
+
parameters: mParameters
|
|
277
|
+
})
|
|
278
|
+
.then(function (bEnabled) {
|
|
279
|
+
resolve(bEnabled);
|
|
280
|
+
})
|
|
281
|
+
.catch(function () {
|
|
282
|
+
resolve(false);
|
|
283
|
+
});
|
|
284
|
+
} else {
|
|
285
|
+
resolve(false);
|
|
286
|
+
}
|
|
287
|
+
})
|
|
288
|
+
.catch(function () {
|
|
289
|
+
resolve(false);
|
|
290
|
+
});
|
|
291
|
+
});
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
CardActions.prototype._fireActionReady = function (oAreaControl, sActionArea) {
|
|
295
|
+
var bHeader = sActionArea === ActionArea.Header;
|
|
296
|
+
var sEventName = bHeader ? "_actionHeaderReady" : "_actionContentReady";
|
|
297
|
+
oAreaControl.fireEvent(sEventName);
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
CardActions.prototype._resolveBindingPath = function (oEvent) {
|
|
301
|
+
var oBindingContext = oEvent.getSource().getBindingContext(),
|
|
302
|
+
sPath;
|
|
303
|
+
|
|
304
|
+
if (this.getBindingPathResolver()) {
|
|
305
|
+
sPath = this.getBindingPathResolver()(oEvent);
|
|
306
|
+
} else if (oBindingContext) {
|
|
307
|
+
sPath = oBindingContext.getPath();
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
return sPath;
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
CardActions.prototype._handleServiceAction = function (oEvent, oAction, oAreaControl) {
|
|
314
|
+
var oSource = oEvent.getSource();
|
|
315
|
+
var sPath = this._resolveBindingPath(oEvent);
|
|
316
|
+
|
|
317
|
+
oAreaControl._oServiceManager.getService(_getServiceName(oAction.service))
|
|
318
|
+
.then(function (oService) {
|
|
319
|
+
if (oService) {
|
|
320
|
+
oService.navigate({ // only for navigation?
|
|
321
|
+
parameters: BindingResolver.resolveValue(oAction.parameters, oSource, sPath)
|
|
322
|
+
});
|
|
323
|
+
}
|
|
324
|
+
})
|
|
325
|
+
.catch(function (e) {
|
|
326
|
+
Log.error("Navigation service unavailable", e);
|
|
327
|
+
}).finally(function () {
|
|
328
|
+
this._processAction(oSource, oAction, sPath);
|
|
329
|
+
}.bind(this));
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
CardActions.prototype._attachEventListener = function (oConfig) {
|
|
333
|
+
var oAction = oConfig.action;
|
|
334
|
+
|
|
335
|
+
oConfig.actionControl["attach" + capitalize(oConfig.eventName)](function (oEvent) {
|
|
336
|
+
var oSource = oEvent.getSource();
|
|
337
|
+
|
|
338
|
+
if (oAction.service) {
|
|
339
|
+
this._handleServiceAction(oEvent, oAction, oConfig.control);
|
|
340
|
+
} else {
|
|
341
|
+
this._processAction(oSource, oAction, this._resolveBindingPath(oEvent));
|
|
342
|
+
}
|
|
343
|
+
}.bind(this));
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
CardActions.prototype._processAction = function (oSource, oAction, sPath) {
|
|
347
|
+
var oHost = this._getHostInstance(),
|
|
348
|
+
oCard = this.getCard();
|
|
349
|
+
|
|
350
|
+
CardActions.fireAction({
|
|
351
|
+
card: oCard,
|
|
352
|
+
host: oHost,
|
|
353
|
+
action: oAction,
|
|
354
|
+
parameters: BindingResolver.resolveValue(oAction.parameters, oSource, sPath),
|
|
355
|
+
source: oSource
|
|
356
|
+
});
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
CardActions.prototype._getHostInstance = function () {
|
|
360
|
+
var oCard = this.getCard();
|
|
361
|
+
if (oCard) {
|
|
362
|
+
return oCard.getHostInstance();
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
return null;
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
CardActions.prototype.fireAction = function (oSource, sType, mParameters) {
|
|
369
|
+
CardActions.fireAction({
|
|
370
|
+
card: this.getCard(),
|
|
371
|
+
host: this._getHostInstance(),
|
|
372
|
+
action: {
|
|
373
|
+
type: sType
|
|
374
|
+
},
|
|
375
|
+
parameters: mParameters,
|
|
376
|
+
source: oSource
|
|
377
|
+
});
|
|
378
|
+
};
|
|
379
|
+
|
|
380
|
+
// TODO: make this method private and allow usage only through an instance, i.e. new CardActions(...).fireAction(...)
|
|
381
|
+
CardActions.fireAction = function (mConfig) {
|
|
382
|
+
var oHost = mConfig.host,
|
|
383
|
+
oCard = mConfig.card,
|
|
384
|
+
oExtension = oCard.getAggregation("_extension"),
|
|
385
|
+
mParameters = mConfig.parameters || {},
|
|
386
|
+
mActionParams = {
|
|
387
|
+
type: mConfig.action.type,
|
|
388
|
+
card: oCard,
|
|
389
|
+
actionSource: mConfig.source,
|
|
390
|
+
parameters: mParameters
|
|
391
|
+
},
|
|
392
|
+
mActionParamsLegacy = Object.assign({}, mActionParams, {
|
|
393
|
+
manifestParameters: mParameters // for backward compatibility
|
|
394
|
+
}),
|
|
395
|
+
bActionResult = oCard.fireAction(mActionParamsLegacy);
|
|
396
|
+
|
|
397
|
+
if (!bActionResult) {
|
|
398
|
+
return false;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
if (oHost) {
|
|
402
|
+
bActionResult = oHost.fireAction(mActionParams);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
if (!bActionResult) {
|
|
406
|
+
return false;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
if (oExtension) {
|
|
410
|
+
bActionResult = oExtension.fireAction(mActionParams);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
if (bActionResult) {
|
|
414
|
+
var oHandler = CardActions._createHandler(mConfig);
|
|
415
|
+
|
|
416
|
+
if (oHandler) {
|
|
417
|
+
oHandler.execute();
|
|
418
|
+
oHandler.destroy();
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
return bActionResult;
|
|
423
|
+
};
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* @param {sap.ui.integration.CardActionArea} sActionArea The area that describes what the action will be attached to
|
|
427
|
+
* @returns {boolean} If the action is configured for the header, content, or a detail of an item in the content of the card
|
|
428
|
+
*/
|
|
429
|
+
CardActions.prototype._isSingleAction = function (sActionArea) {
|
|
430
|
+
return [ActionArea.Header,
|
|
431
|
+
ActionArea.Content,
|
|
432
|
+
ActionArea.ContentItemDetail,
|
|
433
|
+
ActionArea.ActionsStrip].indexOf(sActionArea) > -1;
|
|
434
|
+
};
|
|
435
|
+
|
|
436
|
+
CardActions._createHandler = function (mConfig) {
|
|
437
|
+
var _ActionClass = null;
|
|
438
|
+
|
|
439
|
+
switch (mConfig.action.type) {
|
|
440
|
+
case CardActionType.Custom:
|
|
441
|
+
_ActionClass = CustomAction; break;
|
|
442
|
+
case CardActionType.DateChange:
|
|
443
|
+
_ActionClass = DateChangeAction; break;
|
|
444
|
+
case CardActionType.MonthChange:
|
|
445
|
+
_ActionClass = MonthChangeAction; break;
|
|
446
|
+
case CardActionType.Navigation:
|
|
447
|
+
_ActionClass = NavigationAction; break;
|
|
448
|
+
case CardActionType.Submit:
|
|
449
|
+
_ActionClass = SubmitAction; break;
|
|
450
|
+
default:
|
|
451
|
+
Log.error(
|
|
452
|
+
"Unknown action type '" + mConfig.action.type + "'. Expected one of " + Object.values(CardActionType).join(", "),
|
|
453
|
+
null,
|
|
454
|
+
"sap.ui.integration.widgets.Card"
|
|
455
|
+
);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
if (_ActionClass) {
|
|
459
|
+
return new _ActionClass({
|
|
460
|
+
config: mConfig.action,
|
|
461
|
+
parameters: mConfig.parameters,
|
|
462
|
+
actionHandler: mConfig.card.getManifestEntry("/sap.card/configuration/actionHandlers/" + mConfig.action.type.toLowerCase()),
|
|
463
|
+
card: mConfig.card,
|
|
464
|
+
source: mConfig.source
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
return null;
|
|
469
|
+
};
|
|
470
|
+
|
|
471
|
+
return CardActions;
|
|
472
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([
|
|
7
|
+
"./BaseAction"
|
|
8
|
+
], function (
|
|
9
|
+
BaseAction
|
|
10
|
+
) {
|
|
11
|
+
"use strict";
|
|
12
|
+
|
|
13
|
+
var CustomAction = BaseAction.extend("sap.ui.integration.cards.actions.CustomAction", {
|
|
14
|
+
metadata: {
|
|
15
|
+
library: "sap.ui.integration"
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @override
|
|
21
|
+
*/
|
|
22
|
+
CustomAction.prototype.execute = function () {
|
|
23
|
+
var mConfig = this.getConfig();
|
|
24
|
+
|
|
25
|
+
if (typeof mConfig.action === "function") {
|
|
26
|
+
mConfig.action(this.getCardInstance(), this.getSourceInstance());
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
return CustomAction;
|
|
31
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([
|
|
7
|
+
"./BaseAction"
|
|
8
|
+
], function (
|
|
9
|
+
BaseAction
|
|
10
|
+
) {
|
|
11
|
+
"use strict";
|
|
12
|
+
|
|
13
|
+
var DateChangeAction = BaseAction.extend("sap.ui.integration.cards.actions.DateChangeAction", {
|
|
14
|
+
metadata: {
|
|
15
|
+
library: "sap.ui.integration"
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
return DateChangeAction;
|
|
20
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([
|
|
7
|
+
"./BaseAction"
|
|
8
|
+
], function (
|
|
9
|
+
BaseAction
|
|
10
|
+
) {
|
|
11
|
+
"use strict";
|
|
12
|
+
|
|
13
|
+
var MonthChangeAction = BaseAction.extend("sap.ui.integration.cards.actions.MonthChangeAction", {
|
|
14
|
+
metadata: {
|
|
15
|
+
library: "sap.ui.integration"
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
return MonthChangeAction;
|
|
20
|
+
});
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([
|
|
7
|
+
"./BaseAction",
|
|
8
|
+
"sap/ui/util/openWindow"
|
|
9
|
+
], function (
|
|
10
|
+
BaseAction,
|
|
11
|
+
openWindow
|
|
12
|
+
) {
|
|
13
|
+
"use strict";
|
|
14
|
+
|
|
15
|
+
var NavigationAction = BaseAction.extend("sap.ui.integration.cards.actions.NavigationAction", {
|
|
16
|
+
metadata: {
|
|
17
|
+
library: "sap.ui.integration"
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @override
|
|
23
|
+
*/
|
|
24
|
+
NavigationAction.prototype.execute = function () {
|
|
25
|
+
var oResolvedConfig = this.getResolvedConfig();
|
|
26
|
+
|
|
27
|
+
if (oResolvedConfig.service) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
var oParameters = this.getParameters(),
|
|
32
|
+
sUrl,
|
|
33
|
+
sTarget,
|
|
34
|
+
sParametersUrl,
|
|
35
|
+
sParametersTarget;
|
|
36
|
+
|
|
37
|
+
if (oParameters) {
|
|
38
|
+
sParametersUrl = oParameters.url;
|
|
39
|
+
sParametersTarget = oParameters.target;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
sUrl = oResolvedConfig.url || sParametersUrl;
|
|
43
|
+
sTarget = oResolvedConfig.target || sParametersTarget || "_blank";
|
|
44
|
+
|
|
45
|
+
if (sUrl) {
|
|
46
|
+
this._openUrl(sUrl, sTarget);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Navigates to url
|
|
53
|
+
*
|
|
54
|
+
* @param {string} sUrl url to navigate to.
|
|
55
|
+
* @param {string} sTarget target of the url
|
|
56
|
+
* @private
|
|
57
|
+
*/
|
|
58
|
+
NavigationAction.prototype._openUrl = function (sUrl, sTarget) {
|
|
59
|
+
openWindow(sUrl, sTarget);
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
return NavigationAction;
|
|
63
|
+
});
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([
|
|
7
|
+
"./BaseAction",
|
|
8
|
+
"sap/base/Log",
|
|
9
|
+
"sap/ui/integration/util/BindingHelper",
|
|
10
|
+
"sap/ui/integration/util/BindingResolver",
|
|
11
|
+
"sap/ui/integration/util/Utils"
|
|
12
|
+
], function (
|
|
13
|
+
BaseAction,
|
|
14
|
+
Log,
|
|
15
|
+
BindingHelper,
|
|
16
|
+
BindingResolver,
|
|
17
|
+
Utils
|
|
18
|
+
) {
|
|
19
|
+
"use strict";
|
|
20
|
+
|
|
21
|
+
var SubmitAction = BaseAction.extend("sap.ui.integration.cards.actions.SubmitAction", {
|
|
22
|
+
metadata: {
|
|
23
|
+
library: "sap.ui.integration"
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @override
|
|
29
|
+
*/
|
|
30
|
+
SubmitAction.prototype.execute = function () {
|
|
31
|
+
var oSource = this.getSourceInstance(),
|
|
32
|
+
oSubmitActionHandler = this.getActionHandler();
|
|
33
|
+
|
|
34
|
+
if (!oSubmitActionHandler || !oSource.isA("sap.ui.integration.cards.BaseContent")) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
var oDataProviderFactory = this.getCardInstance()._oDataProviderFactory,
|
|
39
|
+
oParameters = this.getParameters();
|
|
40
|
+
|
|
41
|
+
oSource.onActionSubmitStart(oParameters);
|
|
42
|
+
|
|
43
|
+
var oDataProvider = oDataProviderFactory.create({
|
|
44
|
+
request: this._createRequest(oSubmitActionHandler, oParameters)
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
oDataProvider.getData()
|
|
48
|
+
.then(function (oResponse) {
|
|
49
|
+
oSource.onActionSubmitEnd(oResponse, null);
|
|
50
|
+
}, function (oError) {
|
|
51
|
+
Log.error(oError);
|
|
52
|
+
oSource.onActionSubmitEnd(null, {error: oError});
|
|
53
|
+
})
|
|
54
|
+
.finally(function () {
|
|
55
|
+
// Cleanup the data provider
|
|
56
|
+
oDataProviderFactory.remove(oDataProvider);
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
SubmitAction.prototype._createRequest = function (oSubmitActionHandler, oDefaultParameters) {
|
|
62
|
+
return {
|
|
63
|
+
mode: oSubmitActionHandler.mode || "cors",
|
|
64
|
+
url: oSubmitActionHandler.url,
|
|
65
|
+
method: oSubmitActionHandler.method || "POST",
|
|
66
|
+
parameters: this._resolveActionHandlerParams(oSubmitActionHandler.parameters, oDefaultParameters) || oDefaultParameters,
|
|
67
|
+
headers: oSubmitActionHandler.headers,
|
|
68
|
+
xhrFields: {
|
|
69
|
+
withCredentials: !!oSubmitActionHandler.withCredentials
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
SubmitAction.prototype._resolveActionHandlerParams = function (oActionHandlerParameters, oDefaultParameters) {
|
|
75
|
+
var oCard = this.getCardInstance();
|
|
76
|
+
|
|
77
|
+
oCard.getModel("form").setProperty("/", oDefaultParameters.data);
|
|
78
|
+
|
|
79
|
+
oActionHandlerParameters = BindingResolver.resolveValue(
|
|
80
|
+
BindingHelper.createBindingInfos(oActionHandlerParameters, oCard.getBindingNamespaces()),
|
|
81
|
+
this.getSourceInstance()
|
|
82
|
+
);
|
|
83
|
+
Utils.makeUndefinedValuesNull(oActionHandlerParameters);
|
|
84
|
+
|
|
85
|
+
return oActionHandlerParameters;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
return SubmitAction;
|
|
89
|
+
});
|