@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
|
@@ -1,551 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-2021 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
|
-
"./BindingResolver",
|
|
8
|
-
"../library",
|
|
9
|
-
"sap/base/Log",
|
|
10
|
-
"sap/ui/util/openWindow",
|
|
11
|
-
"sap/ui/base/ManagedObject",
|
|
12
|
-
"sap/base/strings/capitalize"
|
|
13
|
-
], function (
|
|
14
|
-
BindingResolver,
|
|
15
|
-
library,
|
|
16
|
-
Log,
|
|
17
|
-
openWindow,
|
|
18
|
-
ManagedObject,
|
|
19
|
-
capitalize
|
|
20
|
-
) {
|
|
21
|
-
"use strict";
|
|
22
|
-
|
|
23
|
-
function _getServiceName(vService) {
|
|
24
|
-
if (vService && typeof vService === "object") {
|
|
25
|
-
return vService.name;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
return vService;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
var ActionArea = library.CardActionArea,
|
|
32
|
-
CardActionType = library.CardActionType;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Constructor for a new <code>CardActions</code>.
|
|
36
|
-
*
|
|
37
|
-
* @param {string} [sId] ID for the new data provider, generated automatically if no ID is given.
|
|
38
|
-
* @param {object} [mSettings] Initial settings for the new data provider.
|
|
39
|
-
*
|
|
40
|
-
* @class
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* @extends sap.ui.base.ManagedObject
|
|
44
|
-
*
|
|
45
|
-
* @author SAP SE
|
|
46
|
-
* @version 1.96.2
|
|
47
|
-
*
|
|
48
|
-
* @constructor
|
|
49
|
-
* @private
|
|
50
|
-
* @since 1.65
|
|
51
|
-
* @alias sap.ui.integration.util.CardActions
|
|
52
|
-
*/
|
|
53
|
-
var CardActions = ManagedObject.extend("sap.ui.integration.util.CardActions", {
|
|
54
|
-
metadata: {
|
|
55
|
-
library: "sap.ui.integration",
|
|
56
|
-
properties: {
|
|
57
|
-
card: {
|
|
58
|
-
type: "object"
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Set this function if specific binding path is needed.
|
|
63
|
-
* By default getBindingContext().getPath() is used.
|
|
64
|
-
*/
|
|
65
|
-
bindingPathResolver: {
|
|
66
|
-
type: "function"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Listens for a press event on the provided area control and triggers an action with the provided parameters from the item.
|
|
74
|
-
* @private
|
|
75
|
-
* @param {object} oConfig Object containing configuration for the action
|
|
76
|
-
* @param {sap.ui.integration.CardActionArea} oConfig.area The area that describes what the action will be attached to
|
|
77
|
-
* @param {object[]} oConfig.actions Configuration object for the actions on an item
|
|
78
|
-
* @param {sap.ui.core.Control} oConfig.control The control that the action will be attached on
|
|
79
|
-
* @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.
|
|
80
|
-
* @param {string} [oConfig.enabledPropertyName] Property of the control that will be maintained, based on the configuration of the actions.
|
|
81
|
-
* @param {*} [oConfig.enabledPropertyValue=true] The value <code>oConfig.enabledPropertyName</code> will be set to if the action is enabled.
|
|
82
|
-
* @param {*} [oConfig.disabledPropertyValue=false] The value <code>oConfig.disabledPropertyValue</code> will be set to if the action is disabled.
|
|
83
|
-
* @param {string} [oConfig.eventName=press] Name of the event to attach to
|
|
84
|
-
*/
|
|
85
|
-
CardActions.prototype.attach = function (oConfig) {
|
|
86
|
-
var oControl = oConfig.control,
|
|
87
|
-
sActionArea = oConfig.area;
|
|
88
|
-
|
|
89
|
-
oConfig.actionControl = oConfig.actionControl || oConfig.control;
|
|
90
|
-
oConfig.enabledPropertyValue = oConfig.enabledPropertyValue || true;
|
|
91
|
-
oConfig.disabledPropertyValue = oConfig.disabledPropertyValue || false;
|
|
92
|
-
oConfig.eventName = oConfig.eventName || "press";
|
|
93
|
-
|
|
94
|
-
if (!oConfig.actions) {
|
|
95
|
-
// For now firing the event here, after refactor need to think
|
|
96
|
-
// of a way to sync async navigation setters
|
|
97
|
-
this._fireActionReady(oControl, sActionArea);
|
|
98
|
-
|
|
99
|
-
return;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// For now we allow for only one action of type navigation.
|
|
103
|
-
var oAction = oConfig.actions[0];
|
|
104
|
-
if (oAction && oAction.type) { // todo - check if the type is valid
|
|
105
|
-
oConfig.action = oAction;
|
|
106
|
-
this._attachAction(oConfig);
|
|
107
|
-
|
|
108
|
-
} else {
|
|
109
|
-
// For now firing the event here, after refactor need to think of a way to sync async navigation setters
|
|
110
|
-
this._fireActionReady(oControl, sActionArea);
|
|
111
|
-
}
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
CardActions.prototype._attachAction = function (oConfig) {
|
|
115
|
-
var oAction = oConfig.action,
|
|
116
|
-
sActionArea = oConfig.area,
|
|
117
|
-
oAreaControl = oConfig.control,
|
|
118
|
-
oActionControl = oConfig.actionControl,
|
|
119
|
-
sEnabledPropertyName = oConfig.enabledPropertyName,
|
|
120
|
-
vEnabled = oConfig.enabledPropertyValue,
|
|
121
|
-
vDisabled = oConfig.disabledPropertyValue,
|
|
122
|
-
bCheckEnabledState = true,
|
|
123
|
-
bSingleAction = this._isSingleAction(sActionArea),
|
|
124
|
-
bActionEnabled = true;
|
|
125
|
-
|
|
126
|
-
if (sEnabledPropertyName) {
|
|
127
|
-
bCheckEnabledState = false;
|
|
128
|
-
|
|
129
|
-
if (oAction.service && !bSingleAction) {
|
|
130
|
-
// When there is a service let it handle the "enabled" state.
|
|
131
|
-
this._setControlEnabledStateUsingService(oAction, oAreaControl, oActionControl, sEnabledPropertyName, vEnabled, vDisabled);
|
|
132
|
-
} else {
|
|
133
|
-
// Or when there is a list item template, handle the "enabled" state with bindProperty + formatter
|
|
134
|
-
this._setControlEnabledState(oAction, oActionControl, sEnabledPropertyName, vEnabled, vDisabled);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
if (oAction.service && bSingleAction) {
|
|
139
|
-
|
|
140
|
-
this._getSingleActionEnabledState(oAction, oAreaControl).then(function (bEnabled) {
|
|
141
|
-
if (bEnabled) {
|
|
142
|
-
this._attachEventListener(oConfig);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
this._fireActionReady(oAreaControl, sActionArea);
|
|
146
|
-
}.bind(this));
|
|
147
|
-
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
if (bCheckEnabledState) {
|
|
152
|
-
// Handle the "enabled" state when there is no service and item template with formatter.
|
|
153
|
-
bActionEnabled = oAction.enabled !== false && oAction.enabled !== "false";
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
if (bActionEnabled) {
|
|
157
|
-
this._attachEventListener(oConfig);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
this._fireActionReady(oAreaControl, sActionArea);
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
CardActions.prototype._setControlEnabledStateUsingService = function (oAction, oAreaControl, oActionControl, sPropertyName, vEnabled, vDisabled) {
|
|
164
|
-
var oBindingInfo = ManagedObject.bindingParser("{path:''}");
|
|
165
|
-
|
|
166
|
-
// Async formatter to set oActionControl's property depending
|
|
167
|
-
// if the list item context is a correct navigation target (decided by the navigation service).
|
|
168
|
-
oBindingInfo.formatter = function (vValue) {
|
|
169
|
-
|
|
170
|
-
var oBindingContext = this.getBindingContext(),
|
|
171
|
-
sPath,
|
|
172
|
-
mParameters;
|
|
173
|
-
|
|
174
|
-
if (oBindingContext) {
|
|
175
|
-
sPath = oBindingContext.getPath();
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
mParameters = BindingResolver.resolveValue(oAction.parameters, oAreaControl, sPath);
|
|
179
|
-
|
|
180
|
-
if (vValue.__resolved) {
|
|
181
|
-
if (!vValue.__enabled || vValue.__enabled === "false") {
|
|
182
|
-
return vDisabled;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
return vEnabled;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
if (!vValue.__promise) {
|
|
189
|
-
vValue.__promise = true;
|
|
190
|
-
|
|
191
|
-
oAreaControl._oServiceManager.getService(_getServiceName(oAction.service))
|
|
192
|
-
.then(function (oNavigationService) {
|
|
193
|
-
if (oNavigationService) {
|
|
194
|
-
oNavigationService
|
|
195
|
-
.enabled({
|
|
196
|
-
parameters: mParameters
|
|
197
|
-
})
|
|
198
|
-
.then(function (bEnabled) {
|
|
199
|
-
vValue.__resolved = true;
|
|
200
|
-
vValue.__enabled = bEnabled;
|
|
201
|
-
oAreaControl.getModel().checkUpdate(true);
|
|
202
|
-
})
|
|
203
|
-
.catch(function () {
|
|
204
|
-
vValue.__resolved = true;
|
|
205
|
-
vValue.__enabled = false;
|
|
206
|
-
});
|
|
207
|
-
} else {
|
|
208
|
-
vValue.__resolved = true;
|
|
209
|
-
vValue.__enabled = false;
|
|
210
|
-
}
|
|
211
|
-
});
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
return vDisabled;
|
|
215
|
-
};
|
|
216
|
-
|
|
217
|
-
oActionControl.bindProperty(sPropertyName, oBindingInfo);
|
|
218
|
-
};
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* Binds property to the control using a formatter.
|
|
222
|
-
* @param {object} oAction The action object which contains binding infos.
|
|
223
|
-
* @param {sap.ui.core.Control} oControl The control instance.
|
|
224
|
-
* @param {string} sPropertyName The property name of the control to be bound.
|
|
225
|
-
* @param {*} vEnabled The value to be set if the property should be enabled.
|
|
226
|
-
* @param {*} vDisabled The value to be set if the property should be disabled.
|
|
227
|
-
*/
|
|
228
|
-
CardActions.prototype._setControlEnabledState = function (oAction, oControl, sPropertyName, vEnabled, vDisabled) {
|
|
229
|
-
var oBindingInfo,
|
|
230
|
-
bVal;
|
|
231
|
-
|
|
232
|
-
if (typeof oAction.enabled === "object") {
|
|
233
|
-
oBindingInfo = oAction.enabled;
|
|
234
|
-
oBindingInfo.formatter = function (vValue) {
|
|
235
|
-
if (!vValue || vValue === "false") {
|
|
236
|
-
return vDisabled;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
return vEnabled;
|
|
240
|
-
};
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
if (oBindingInfo) {
|
|
244
|
-
oControl.bindProperty(sPropertyName, oBindingInfo);
|
|
245
|
-
} else {
|
|
246
|
-
bVal = (oAction.enabled === false || oAction.enabled === "false") ? vDisabled : vEnabled;
|
|
247
|
-
oControl.setProperty(sPropertyName, bVal);
|
|
248
|
-
}
|
|
249
|
-
};
|
|
250
|
-
|
|
251
|
-
CardActions.prototype._getSingleActionEnabledState = function (oAction, oAreaControl) {
|
|
252
|
-
var oBindingContext = oAreaControl.getBindingContext(),
|
|
253
|
-
mParameters,
|
|
254
|
-
sPath;
|
|
255
|
-
|
|
256
|
-
if (oBindingContext) {
|
|
257
|
-
sPath = oBindingContext.getPath();
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
mParameters = BindingResolver.resolveValue(oAction.parameters, oAreaControl, sPath);
|
|
261
|
-
|
|
262
|
-
return new Promise(function (resolve) {
|
|
263
|
-
oAreaControl._oServiceManager.getService(_getServiceName(oAction.service))
|
|
264
|
-
.then(function (oNavigationService) {
|
|
265
|
-
if (oNavigationService) {
|
|
266
|
-
oNavigationService
|
|
267
|
-
.enabled({
|
|
268
|
-
parameters: mParameters
|
|
269
|
-
})
|
|
270
|
-
.then(function (bEnabled) {
|
|
271
|
-
resolve(bEnabled);
|
|
272
|
-
})
|
|
273
|
-
.catch(function () {
|
|
274
|
-
resolve(false);
|
|
275
|
-
});
|
|
276
|
-
} else {
|
|
277
|
-
resolve(false);
|
|
278
|
-
}
|
|
279
|
-
})
|
|
280
|
-
.catch(function () {
|
|
281
|
-
resolve(false);
|
|
282
|
-
});
|
|
283
|
-
});
|
|
284
|
-
};
|
|
285
|
-
|
|
286
|
-
CardActions.prototype._fireActionReady = function (oAreaControl, sActionArea) {
|
|
287
|
-
var bHeader = sActionArea === ActionArea.Header;
|
|
288
|
-
var sEventName = bHeader ? "_actionHeaderReady" : "_actionContentReady";
|
|
289
|
-
oAreaControl.fireEvent(sEventName);
|
|
290
|
-
};
|
|
291
|
-
|
|
292
|
-
CardActions.prototype._resolveBindingPath = function (oEvent) {
|
|
293
|
-
var oBindingContext = oEvent.getSource().getBindingContext(),
|
|
294
|
-
sPath;
|
|
295
|
-
|
|
296
|
-
if (this.getBindingPathResolver()) {
|
|
297
|
-
sPath = this.getBindingPathResolver()(oEvent);
|
|
298
|
-
} else if (oBindingContext) {
|
|
299
|
-
sPath = oBindingContext.getPath();
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
return sPath;
|
|
303
|
-
};
|
|
304
|
-
|
|
305
|
-
CardActions.prototype._handleServiceAction = function (oEvent, oAction, oAreaControl) {
|
|
306
|
-
var oSource = oEvent.getSource();
|
|
307
|
-
var sPath = this._resolveBindingPath(oEvent);
|
|
308
|
-
|
|
309
|
-
oAreaControl._oServiceManager.getService(_getServiceName(oAction.service))
|
|
310
|
-
.then(function (oService) {
|
|
311
|
-
if (oService) {
|
|
312
|
-
oService.navigate({ // only for navigation?
|
|
313
|
-
parameters: BindingResolver.resolveValue(oAction.parameters, oSource, sPath)
|
|
314
|
-
});
|
|
315
|
-
}
|
|
316
|
-
})
|
|
317
|
-
.catch(function (e) {
|
|
318
|
-
Log.error("Navigation service unavailable", e);
|
|
319
|
-
}).finally(function () {
|
|
320
|
-
this._processAction(oSource, oAction, sPath);
|
|
321
|
-
}.bind(this));
|
|
322
|
-
};
|
|
323
|
-
|
|
324
|
-
CardActions.prototype._attachEventListener = function (oConfig) {
|
|
325
|
-
var oAction = oConfig.action;
|
|
326
|
-
|
|
327
|
-
oConfig.actionControl["attach" + capitalize(oConfig.eventName)](function (oEvent) {
|
|
328
|
-
var oSource = oEvent.getSource();
|
|
329
|
-
|
|
330
|
-
if (oAction.service) {
|
|
331
|
-
this._handleServiceAction(oEvent, oAction, oConfig.control);
|
|
332
|
-
} else {
|
|
333
|
-
this._processAction(oSource, oAction, this._resolveBindingPath(oEvent));
|
|
334
|
-
}
|
|
335
|
-
}.bind(this));
|
|
336
|
-
};
|
|
337
|
-
|
|
338
|
-
CardActions.prototype._processAction = function (oSource, oAction, sPath) {
|
|
339
|
-
var oHost = this._getHostInstance(),
|
|
340
|
-
oCard = this.getCard(),
|
|
341
|
-
sUrl = oAction.url;
|
|
342
|
-
|
|
343
|
-
if (sUrl) {
|
|
344
|
-
sUrl = BindingResolver.resolveValue(sUrl, oSource, sPath);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
CardActions.fireAction({
|
|
348
|
-
card: oCard,
|
|
349
|
-
host: oHost,
|
|
350
|
-
action: oAction,
|
|
351
|
-
parameters: BindingResolver.resolveValue(oAction.parameters, oSource, sPath),
|
|
352
|
-
source: oSource,
|
|
353
|
-
url: sUrl
|
|
354
|
-
});
|
|
355
|
-
};
|
|
356
|
-
|
|
357
|
-
CardActions.prototype._getHostInstance = function () {
|
|
358
|
-
var oCard = this.getCard();
|
|
359
|
-
if (oCard) {
|
|
360
|
-
return oCard.getHostInstance();
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
return null;
|
|
364
|
-
};
|
|
365
|
-
|
|
366
|
-
CardActions.prototype.fireAction = function (oSource, sType, mParameters) {
|
|
367
|
-
var oHost = this._getHostInstance(),
|
|
368
|
-
oCard = this.getCard(),
|
|
369
|
-
oActionHandlingConfiguration = this._extractActionConfigurations(oCard, mParameters),
|
|
370
|
-
oEventData = {
|
|
371
|
-
card: oCard,
|
|
372
|
-
host: oHost,
|
|
373
|
-
action: {
|
|
374
|
-
type: sType
|
|
375
|
-
},
|
|
376
|
-
parameters: oActionHandlingConfiguration,
|
|
377
|
-
source: oSource
|
|
378
|
-
};
|
|
379
|
-
|
|
380
|
-
CardActions.fireAction(oEventData);
|
|
381
|
-
};
|
|
382
|
-
|
|
383
|
-
CardActions.fireAction = function (mConfig) {
|
|
384
|
-
var oHost = mConfig.host,
|
|
385
|
-
oCard = mConfig.card,
|
|
386
|
-
oExtension = oCard.getAggregation("_extension"),
|
|
387
|
-
oAction = mConfig.action,
|
|
388
|
-
mParameters = mConfig.parameters || {},
|
|
389
|
-
mActionParams = {
|
|
390
|
-
type: oAction.type,
|
|
391
|
-
card: oCard,
|
|
392
|
-
actionSource: mConfig.source,
|
|
393
|
-
parameters: mParameters
|
|
394
|
-
},
|
|
395
|
-
mActionParamsLegacy = Object.assign({}, mActionParams, {
|
|
396
|
-
manifestParameters: mParameters // for backward compatibility
|
|
397
|
-
}),
|
|
398
|
-
bActionResult = oCard.fireAction(mActionParamsLegacy);
|
|
399
|
-
|
|
400
|
-
if (!bActionResult) {
|
|
401
|
-
return false;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
if (oHost) {
|
|
405
|
-
bActionResult = oHost.fireAction(mActionParams);
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
if (!bActionResult) {
|
|
409
|
-
return false;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
if (oExtension) {
|
|
413
|
-
bActionResult = oExtension.fireAction(mActionParams);
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
if (bActionResult) {
|
|
417
|
-
CardActions._doPredefinedAction(mConfig);
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
return bActionResult;
|
|
421
|
-
};
|
|
422
|
-
|
|
423
|
-
CardActions._doPredefinedAction = function (mConfig) {
|
|
424
|
-
var oAction = mConfig.action,
|
|
425
|
-
mParameters = mConfig.parameters,
|
|
426
|
-
sType = oAction.type,
|
|
427
|
-
sUrl,
|
|
428
|
-
sTarget,
|
|
429
|
-
sParametersUrl,
|
|
430
|
-
sParametersTarget;
|
|
431
|
-
|
|
432
|
-
if (mParameters) {
|
|
433
|
-
sParametersUrl = mParameters.url;
|
|
434
|
-
sParametersTarget = mParameters.target;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
switch (sType) {
|
|
438
|
-
case CardActionType.Navigation:
|
|
439
|
-
if (oAction.service) {
|
|
440
|
-
break;
|
|
441
|
-
}
|
|
442
|
-
sUrl = mConfig.url || sParametersUrl;
|
|
443
|
-
sTarget = oAction.target || sParametersTarget || "_blank";
|
|
444
|
-
if (sUrl) {
|
|
445
|
-
CardActions.openUrl(sUrl, sTarget);
|
|
446
|
-
}
|
|
447
|
-
break;
|
|
448
|
-
case CardActionType.Custom:
|
|
449
|
-
if (typeof oAction.action === "function") {
|
|
450
|
-
oAction.action(mConfig.card, mConfig.source);
|
|
451
|
-
}
|
|
452
|
-
break;
|
|
453
|
-
case CardActionType.Submit:
|
|
454
|
-
if (mConfig.source && mConfig.source.isA("sap.ui.integration.cards.BaseContent")) {
|
|
455
|
-
CardActions.handleSubmitAction(mConfig);
|
|
456
|
-
}
|
|
457
|
-
break;
|
|
458
|
-
default: break;
|
|
459
|
-
}
|
|
460
|
-
};
|
|
461
|
-
|
|
462
|
-
/**
|
|
463
|
-
* Navigates to url
|
|
464
|
-
*
|
|
465
|
-
* @param sUrl url to navigate to.
|
|
466
|
-
* @param sTarget target of the url
|
|
467
|
-
* @private
|
|
468
|
-
*/
|
|
469
|
-
CardActions.openUrl = function (sUrl, sTarget) {
|
|
470
|
-
openWindow(sUrl, sTarget);
|
|
471
|
-
};
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
* Handles Submit action
|
|
475
|
-
*
|
|
476
|
-
* @param mConfig
|
|
477
|
-
* @private
|
|
478
|
-
* @static
|
|
479
|
-
*/
|
|
480
|
-
CardActions.handleSubmitAction = function (mConfig) {
|
|
481
|
-
var oDataProvider,
|
|
482
|
-
oCard = mConfig.card,
|
|
483
|
-
oDataProviderFactory = oCard._oDataProviderFactory,
|
|
484
|
-
oBaseContentInstance = mConfig.source,
|
|
485
|
-
oActionParameters = mConfig.parameters;
|
|
486
|
-
|
|
487
|
-
if (!oActionParameters.configuration) {
|
|
488
|
-
return;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
oBaseContentInstance.onActionSubmitStart(oActionParameters);
|
|
492
|
-
|
|
493
|
-
oDataProvider = oDataProviderFactory.create({request: oActionParameters.configuration});
|
|
494
|
-
|
|
495
|
-
oDataProvider.getData()
|
|
496
|
-
.then(function (oResponse) {
|
|
497
|
-
oBaseContentInstance.onActionSubmitEnd(oResponse, null);
|
|
498
|
-
}, function (oError) {
|
|
499
|
-
Log.error(oError);
|
|
500
|
-
oBaseContentInstance.onActionSubmitEnd(null, {error: oError});
|
|
501
|
-
})
|
|
502
|
-
.finally(function () {
|
|
503
|
-
// Cleanup the data provider
|
|
504
|
-
oDataProviderFactory.remove(oDataProvider);
|
|
505
|
-
});
|
|
506
|
-
};
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
* Resolves manifest configurations for the Actions
|
|
510
|
-
*
|
|
511
|
-
* @param oCard {sap.ui.integration.widgets.Card}
|
|
512
|
-
* @param mParameters {Object}
|
|
513
|
-
* @returns {Object}
|
|
514
|
-
* @private
|
|
515
|
-
*/
|
|
516
|
-
CardActions.prototype._extractActionConfigurations = function (oCard, mParameters) {
|
|
517
|
-
var oRequestConfig = oCard && oCard.getManifestEntry("/sap.card/configuration/actionHandlers/submit"),
|
|
518
|
-
oData = mParameters.data || {};
|
|
519
|
-
|
|
520
|
-
if (!oRequestConfig) {
|
|
521
|
-
return mParameters;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
return {
|
|
525
|
-
data: oData,
|
|
526
|
-
configuration: {
|
|
527
|
-
"mode": oRequestConfig.mode || "cors",
|
|
528
|
-
"url": oRequestConfig.url,
|
|
529
|
-
"method": oRequestConfig.method || "POST",
|
|
530
|
-
"parameters": Object.assign({}, oData, oRequestConfig.parameters),
|
|
531
|
-
"headers": oRequestConfig.headers,
|
|
532
|
-
"xhrFields": {
|
|
533
|
-
"withCredentials": !!oRequestConfig.withCredentials
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
};
|
|
537
|
-
};
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
* @param {sap.ui.integration.CardActionArea} sActionArea The area that describes what the action will be attached to
|
|
541
|
-
* @returns {boolean} If the action is configured for the header, content, or a detail of an item in the content of the card
|
|
542
|
-
*/
|
|
543
|
-
CardActions.prototype._isSingleAction = function (sActionArea) {
|
|
544
|
-
return [ActionArea.Header,
|
|
545
|
-
ActionArea.Content,
|
|
546
|
-
ActionArea.ContentItemDetail,
|
|
547
|
-
ActionArea.ActionsStrip].indexOf(sActionArea) > -1;
|
|
548
|
-
};
|
|
549
|
-
|
|
550
|
-
return CardActions;
|
|
551
|
-
});
|