@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,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -32,10 +32,10 @@ sap.ui.define([
|
|
|
32
32
|
*
|
|
33
33
|
* @class
|
|
34
34
|
* Displays general information in the header of the {@link sap.ui.integration.widgets.Card}.
|
|
35
|
-
* @extends sap.f.NumericHeader
|
|
35
|
+
* @extends sap.f.cards.NumericHeader
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.98.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @private
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
|
+
"./BaseContent",
|
|
8
|
+
"./ObjectContentRenderer",
|
|
7
9
|
"sap/ui/integration/library",
|
|
8
|
-
"sap/ui/integration/cards/BaseContent",
|
|
9
10
|
"sap/m/library",
|
|
11
|
+
"sap/m/FlexItemData",
|
|
10
12
|
"sap/m/HBox",
|
|
11
13
|
"sap/m/VBox",
|
|
12
14
|
"sap/m/Text",
|
|
@@ -14,16 +16,21 @@ sap.ui.define([
|
|
|
14
16
|
"sap/m/Avatar",
|
|
15
17
|
"sap/m/Link",
|
|
16
18
|
"sap/m/Label",
|
|
19
|
+
"sap/m/ObjectStatus",
|
|
17
20
|
"sap/base/Log",
|
|
18
21
|
"sap/ui/core/ResizeHandler",
|
|
19
22
|
"sap/ui/layout/AlignedFlowLayout",
|
|
20
23
|
"sap/ui/dom/units/Rem",
|
|
21
24
|
"sap/ui/integration/util/BindingHelper",
|
|
22
|
-
"sap/ui/integration/util/Utils"
|
|
25
|
+
"sap/ui/integration/util/Utils",
|
|
26
|
+
"sap/f/cards/NumericIndicators",
|
|
27
|
+
"sap/f/cards/NumericSideIndicator"
|
|
23
28
|
], function (
|
|
24
|
-
library,
|
|
25
29
|
BaseContent,
|
|
30
|
+
ObjectContentRenderer,
|
|
31
|
+
library,
|
|
26
32
|
mLibrary,
|
|
33
|
+
FlexItemData,
|
|
27
34
|
HBox,
|
|
28
35
|
VBox,
|
|
29
36
|
Text,
|
|
@@ -31,12 +38,15 @@ sap.ui.define([
|
|
|
31
38
|
Avatar,
|
|
32
39
|
Link,
|
|
33
40
|
Label,
|
|
41
|
+
ObjectStatus,
|
|
34
42
|
Log,
|
|
35
43
|
ResizeHandler,
|
|
36
44
|
AlignedFlowLayout,
|
|
37
45
|
Rem,
|
|
38
46
|
BindingHelper,
|
|
39
|
-
Utils
|
|
47
|
+
Utils,
|
|
48
|
+
NumericIndicators,
|
|
49
|
+
NumericSideIndicator
|
|
40
50
|
) {
|
|
41
51
|
"use strict";
|
|
42
52
|
|
|
@@ -62,35 +72,341 @@ sap.ui.define([
|
|
|
62
72
|
*
|
|
63
73
|
* @extends sap.ui.integration.cards.BaseContent
|
|
64
74
|
* @author SAP SE
|
|
65
|
-
* @version 1.
|
|
75
|
+
* @version 1.98.0
|
|
66
76
|
*
|
|
67
77
|
* @constructor
|
|
68
78
|
* @experimental
|
|
69
79
|
* @since 1.64
|
|
70
|
-
* @see {@link TODO Card}
|
|
71
80
|
* @alias sap.ui.integration.cards.ObjectContent
|
|
72
81
|
*/
|
|
73
82
|
var ObjectContent = BaseContent.extend("sap.ui.integration.cards.ObjectContent", {
|
|
74
83
|
metadata: {
|
|
75
84
|
library: "sap.ui.integration"
|
|
76
85
|
},
|
|
77
|
-
renderer:
|
|
78
|
-
apiVersion: 2
|
|
79
|
-
}
|
|
86
|
+
renderer: ObjectContentRenderer
|
|
80
87
|
});
|
|
81
88
|
|
|
89
|
+
ObjectContent.prototype.exit = function() {
|
|
90
|
+
BaseContent.prototype.exit.apply(this, arguments);
|
|
91
|
+
|
|
92
|
+
if (this._sResizeListenerId) {
|
|
93
|
+
ResizeHandler.deregister(this._sResizeListenerId);
|
|
94
|
+
this._sResizeListenerId = "";
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
ObjectContent.prototype.setConfiguration = function (oConfiguration) {
|
|
99
|
+
BaseContent.prototype.setConfiguration.apply(this, arguments);
|
|
100
|
+
oConfiguration = this.getParsedConfiguration();
|
|
101
|
+
|
|
102
|
+
if (!oConfiguration) {
|
|
103
|
+
return this;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
if (oConfiguration.groups) {
|
|
107
|
+
this._addGroups(oConfiguration);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
return this;
|
|
111
|
+
};
|
|
112
|
+
|
|
82
113
|
ObjectContent.prototype._getRootContainer = function () {
|
|
83
|
-
|
|
84
|
-
|
|
114
|
+
var oRootContainer = this.getAggregation("_content");
|
|
115
|
+
|
|
116
|
+
if (!oRootContainer) {
|
|
117
|
+
oRootContainer = new VBox({
|
|
118
|
+
renderType: FlexRendertype.Bare
|
|
119
|
+
});
|
|
120
|
+
this.setAggregation("_content", oRootContainer);
|
|
121
|
+
// registration ID used for deregistering the resize handler
|
|
122
|
+
this._sResizeListenerId = ResizeHandler.register(oRootContainer, this._onResize.bind(this));
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
return oRootContainer;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
ObjectContent.prototype._addGroups = function (oConfiguration) {
|
|
129
|
+
var oContainer = this._getRootContainer(),
|
|
130
|
+
oAFLayout,
|
|
131
|
+
bNextAFLayout = true,
|
|
132
|
+
aGroups = oConfiguration.groups || [];
|
|
133
|
+
|
|
134
|
+
aGroups.forEach(function (oGroupConfiguration, i) {
|
|
135
|
+
var oGroup = this._createGroup(oGroupConfiguration);
|
|
136
|
+
|
|
137
|
+
if (oGroupConfiguration.alignment === "Stretch") {
|
|
138
|
+
oGroup.setLayoutData(new FlexItemData({
|
|
139
|
+
growFactor: 1
|
|
140
|
+
}));
|
|
141
|
+
|
|
142
|
+
if (i === aGroups.length - 1) {
|
|
143
|
+
oGroup.addStyleClass("sapFCardObjectGroupLastInColumn");
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
oContainer.addItem(oGroup);
|
|
147
|
+
bNextAFLayout = true;
|
|
148
|
+
} else {
|
|
149
|
+
if (bNextAFLayout) {
|
|
150
|
+
oAFLayout = this._createAFLayout();
|
|
151
|
+
oContainer.addItem(oAFLayout);
|
|
152
|
+
bNextAFLayout = false;
|
|
153
|
+
}
|
|
154
|
+
oAFLayout.addContent(oGroup);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
}, this);
|
|
158
|
+
|
|
159
|
+
this._oActions.attach({
|
|
160
|
+
area: ActionArea.Content,
|
|
161
|
+
actions: oConfiguration.actions,
|
|
162
|
+
control: this
|
|
163
|
+
});
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
ObjectContent.prototype._createGroup = function (oGroupConfiguration) {
|
|
167
|
+
var vVisible;
|
|
168
|
+
|
|
169
|
+
if (typeof oGroupConfiguration.visible == "string") {
|
|
170
|
+
vVisible = !Utils.hasFalsyValueAsString(oGroupConfiguration.visible);
|
|
171
|
+
} else {
|
|
172
|
+
vVisible = oGroupConfiguration.visible;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
var oGroup = new VBox({
|
|
176
|
+
visible: vVisible,
|
|
177
|
+
renderType: FlexRendertype.Bare
|
|
178
|
+
}).addStyleClass("sapFCardObjectGroup");
|
|
179
|
+
|
|
180
|
+
if (oGroupConfiguration.title) {
|
|
181
|
+
oGroup.addItem(new Title({
|
|
182
|
+
text: oGroupConfiguration.title
|
|
183
|
+
}).addStyleClass("sapFCardObjectItemTitle"));
|
|
184
|
+
|
|
185
|
+
oGroup.addStyleClass("sapFCardObjectGroupWithTitle");
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
oGroupConfiguration.items.forEach(function (oItem) {
|
|
189
|
+
this._createGroupItems(oItem).forEach(oGroup.addItem, oGroup);
|
|
190
|
+
}, this);
|
|
191
|
+
|
|
192
|
+
return oGroup;
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
ObjectContent.prototype._createGroupItems = function (oItem) {
|
|
196
|
+
var vLabel = oItem.label,
|
|
197
|
+
oLabel,
|
|
198
|
+
vVisible,
|
|
199
|
+
oControl;
|
|
200
|
+
|
|
201
|
+
if (typeof oItem.visible == "string") {
|
|
202
|
+
vVisible = !Utils.hasFalsyValueAsString(oItem.visible);
|
|
203
|
+
} else {
|
|
204
|
+
vVisible = oItem.visible;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
if (vLabel) {
|
|
208
|
+
// Checks if the label ends with ":" and if not we just add the ":"
|
|
209
|
+
vLabel = BindingHelper.formattedProperty(vLabel, function (sValue) {
|
|
210
|
+
return sValue && sValue[sValue.length - 1] === ":" ? sValue : sValue + ":";
|
|
211
|
+
});
|
|
212
|
+
oLabel = new Label({
|
|
213
|
+
text: vLabel,
|
|
214
|
+
visible: vVisible
|
|
215
|
+
}).addStyleClass("sapFCardObjectItemLabel");
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
oControl = this._createItem(oItem, vVisible, oLabel);
|
|
219
|
+
|
|
220
|
+
if (oControl) {
|
|
221
|
+
oControl.addStyleClass("sapFCardObjectItemValue");
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
if (oItem.icon) {
|
|
225
|
+
var oVbox = new VBox({
|
|
226
|
+
renderType: FlexRendertype.Bare,
|
|
227
|
+
items: [
|
|
228
|
+
oLabel,
|
|
229
|
+
oControl
|
|
230
|
+
]
|
|
231
|
+
});
|
|
232
|
+
var oHBox = new HBox({
|
|
233
|
+
visible: vVisible,
|
|
234
|
+
renderType: FlexRendertype.Bare,
|
|
235
|
+
items: [
|
|
236
|
+
this._createGroupItemAvatar(oItem.icon),
|
|
237
|
+
oVbox
|
|
238
|
+
]
|
|
239
|
+
}).addStyleClass("sapFCardObjectItemLabel");
|
|
240
|
+
return [oHBox];
|
|
241
|
+
} else {
|
|
242
|
+
return [oLabel, oControl];
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
ObjectContent.prototype._createGroupItemAvatar = function (oIconConfiguration) {
|
|
247
|
+
var vSrc = BindingHelper.formattedProperty(oIconConfiguration.src, function (sValue) {
|
|
248
|
+
return this._oIconFormatter.formatSrc(sValue);
|
|
249
|
+
}.bind(this));
|
|
250
|
+
|
|
251
|
+
var oAvatar = new Avatar({
|
|
252
|
+
displaySize: oIconConfiguration.size || AvatarSize.XS,
|
|
253
|
+
src: vSrc,
|
|
254
|
+
initials: oIconConfiguration.text,
|
|
255
|
+
displayShape: oIconConfiguration.shape,
|
|
256
|
+
tooltip: oIconConfiguration.alt,
|
|
257
|
+
backgroundColor: oIconConfiguration.backgroundColor || (oIconConfiguration.text ? undefined : AvatarColor.Transparent)
|
|
258
|
+
}).addStyleClass("sapFCardObjectItemAvatar sapFCardIcon");
|
|
259
|
+
|
|
260
|
+
return oAvatar;
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
ObjectContent.prototype._createItem = function (oItem, vVisible, oLabel) {
|
|
264
|
+
var oControl,
|
|
265
|
+
vValue = oItem.value,
|
|
266
|
+
vHref;
|
|
267
|
+
|
|
268
|
+
switch (oItem.type) {
|
|
269
|
+
case "NumericData":
|
|
270
|
+
oControl = this._createNumericDataItem(oItem);
|
|
271
|
+
break;
|
|
272
|
+
case "Status":
|
|
273
|
+
oControl = this._createStatusItem(oItem, vVisible);
|
|
274
|
+
break;
|
|
275
|
+
|
|
276
|
+
// deprecated types
|
|
277
|
+
case "link":
|
|
278
|
+
Log.warning("Usage of Object Group Item property 'type' with value 'link' is deprecated. Use Card Actions for navigation instead.", null, "sap.ui.integration.widgets.Card");
|
|
279
|
+
oControl = new Link({
|
|
280
|
+
href: oItem.url || vValue,
|
|
281
|
+
text: vValue,
|
|
282
|
+
target: oItem.target || '_blank',
|
|
283
|
+
visible: BindingHelper.reuse(vVisible)
|
|
284
|
+
});
|
|
285
|
+
break;
|
|
286
|
+
case "email":
|
|
287
|
+
Log.warning("Usage of Object Group Item property 'type' with value 'email' is deprecated. Use Card Actions for navigation instead.", null, "sap.ui.integration.widgets.Card");
|
|
288
|
+
var aBindingParts = [];
|
|
289
|
+
if (oItem.value) {
|
|
290
|
+
aBindingParts.push(oItem.value);
|
|
291
|
+
}
|
|
292
|
+
if (oItem.emailSubject) {
|
|
293
|
+
aBindingParts.push(oItem.emailSubject);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
vHref = BindingHelper.formattedProperty(aBindingParts, function (sValue, sEmailSubject) {
|
|
297
|
+
if (sEmailSubject) {
|
|
298
|
+
return "mailto:" + sValue + "?subject=" + sEmailSubject;
|
|
299
|
+
} else {
|
|
300
|
+
return "mailto:" + sValue;
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
|
|
304
|
+
oControl = new Link({
|
|
305
|
+
href: vHref,
|
|
306
|
+
text: vValue,
|
|
307
|
+
visible: BindingHelper.reuse(vVisible)
|
|
308
|
+
});
|
|
309
|
+
break;
|
|
310
|
+
case "phone":
|
|
311
|
+
Log.warning("Usage of Object Group Item property 'type' with value 'phone' is deprecated. Use Card Actions for navigation instead.", null, "sap.ui.integration.widgets.Card");
|
|
312
|
+
vHref = BindingHelper.formattedProperty(vValue, function (sValue) {
|
|
313
|
+
return "tel:" + sValue;
|
|
314
|
+
});
|
|
315
|
+
oControl = new Link({
|
|
316
|
+
href: vHref,
|
|
317
|
+
text: vValue,
|
|
318
|
+
visible: BindingHelper.reuse(vVisible)
|
|
319
|
+
});
|
|
320
|
+
break;
|
|
321
|
+
|
|
322
|
+
default:
|
|
323
|
+
oControl = this._createTextItem(oItem, vVisible, oLabel);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
return oControl;
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
ObjectContent.prototype._createNumericDataItem = function (oItem) {
|
|
330
|
+
var oVbox = new VBox();
|
|
331
|
+
var oNumericIndicators = new NumericIndicators({
|
|
332
|
+
number: oItem.mainIndicator.number,
|
|
333
|
+
numberSize: oItem.mainIndicator.size,
|
|
334
|
+
scale: oItem.mainIndicator.unit,
|
|
335
|
+
trend: oItem.mainIndicator.trend,
|
|
336
|
+
state: oItem.mainIndicator.state
|
|
337
|
+
}).addStyleClass("sapUiIntOCNumericIndicators");
|
|
338
|
+
|
|
339
|
+
oVbox.addItem(oNumericIndicators);
|
|
340
|
+
|
|
341
|
+
if (oItem.sideIndicators) {
|
|
342
|
+
oItem.sideIndicators.forEach(function (oIndicator) {
|
|
343
|
+
oNumericIndicators.addSideIndicator(
|
|
344
|
+
new NumericSideIndicator({
|
|
345
|
+
title: oIndicator.title,
|
|
346
|
+
number: oIndicator.number,
|
|
347
|
+
unit: oIndicator.unit,
|
|
348
|
+
state: oIndicator.state
|
|
349
|
+
})
|
|
350
|
+
);
|
|
351
|
+
});
|
|
85
352
|
}
|
|
86
353
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
354
|
+
if (oItem.details) {
|
|
355
|
+
oVbox.addItem(new Text({
|
|
356
|
+
text: oItem.details,
|
|
357
|
+
maxLines: 1
|
|
358
|
+
}).addStyleClass("sapUiIntOCNumericIndicatorsDetails"));
|
|
91
359
|
}
|
|
92
|
-
|
|
93
|
-
|
|
360
|
+
|
|
361
|
+
return oVbox;
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
ObjectContent.prototype._createStatusItem = function (oItem, vVisible) {
|
|
365
|
+
var oControl = new ObjectStatus({
|
|
366
|
+
text: oItem.value,
|
|
367
|
+
visible: BindingHelper.reuse(vVisible),
|
|
368
|
+
state: oItem.state
|
|
369
|
+
});
|
|
370
|
+
|
|
371
|
+
return oControl;
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
ObjectContent.prototype._createTextItem = function (oItem, vVisible, oLabel) {
|
|
375
|
+
var vValue = oItem.value,
|
|
376
|
+
oControl;
|
|
377
|
+
|
|
378
|
+
if (vValue && oItem.actions) {
|
|
379
|
+
oControl = new Link({
|
|
380
|
+
text: vValue,
|
|
381
|
+
visible: BindingHelper.reuse(vVisible)
|
|
382
|
+
});
|
|
383
|
+
|
|
384
|
+
if (oLabel) {
|
|
385
|
+
oControl.addAriaLabelledBy(oLabel);
|
|
386
|
+
} else {
|
|
387
|
+
Log.warning("Missing label for Object group item with actions.", null, "sap.ui.integration.widgets.Card");
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
this._oActions.attach({
|
|
391
|
+
area: ActionArea.ContentItemDetail,
|
|
392
|
+
actions: oItem.actions,
|
|
393
|
+
control: this,
|
|
394
|
+
actionControl: oControl,
|
|
395
|
+
enabledPropertyName: "enabled"
|
|
396
|
+
});
|
|
397
|
+
} else if (vValue) {
|
|
398
|
+
oControl = new Text({
|
|
399
|
+
text: vValue,
|
|
400
|
+
visible: BindingHelper.reuse(vVisible),
|
|
401
|
+
maxLines: oItem.maxLines
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
return oControl;
|
|
406
|
+
};
|
|
407
|
+
|
|
408
|
+
ObjectContent.prototype._createAFLayout = function () {
|
|
409
|
+
var oAlignedFlowLayout = new AlignedFlowLayout();
|
|
94
410
|
|
|
95
411
|
oAlignedFlowLayout.addEventDelegate({
|
|
96
412
|
"onAfterRendering": function() {
|
|
@@ -105,15 +421,26 @@ sap.ui.define([
|
|
|
105
421
|
return oAlignedFlowLayout;
|
|
106
422
|
};
|
|
107
423
|
|
|
108
|
-
ObjectContent.prototype.
|
|
109
|
-
if (oEvent
|
|
424
|
+
ObjectContent.prototype._onResize = function (oEvent) {
|
|
425
|
+
if (oEvent.size.width === oEvent.oldSize.width) {
|
|
110
426
|
return;
|
|
111
427
|
}
|
|
112
428
|
|
|
113
|
-
var
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
429
|
+
var aItems = this._getRootContainer().getItems();
|
|
430
|
+
|
|
431
|
+
aItems.forEach(function (oItem, i) {
|
|
432
|
+
if (oItem.isA("sap.ui.layout.AlignedFlowLayout")) {
|
|
433
|
+
this._onAlignedFlowLayoutResize(oItem, oEvent, i === aItems.length - 1);
|
|
434
|
+
}
|
|
435
|
+
}.bind(this));
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
ObjectContent.prototype._onAlignedFlowLayoutResize = function (oAFLayout, oEvent, bLast) {
|
|
439
|
+
var sMinItemWidth = oAFLayout.getMinItemWidth(),
|
|
440
|
+
iMinItemWidth,
|
|
441
|
+
iNumberOfGroups = oAFLayout.getContent().filter(function (oContent) {
|
|
442
|
+
return oContent.getVisible();
|
|
443
|
+
}).length;
|
|
117
444
|
|
|
118
445
|
// the CSS unit of the minItemWidth control property is in rem
|
|
119
446
|
if (sMinItemWidth.lastIndexOf("rem") !== -1) {
|
|
@@ -131,17 +458,10 @@ sap.ui.define([
|
|
|
131
458
|
iColumns = iNumberOfGroups;
|
|
132
459
|
}
|
|
133
460
|
|
|
134
|
-
//Optimization
|
|
135
|
-
if (this._iColsOld === iColumns) {
|
|
136
|
-
return;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
this._iColsOld = iColumns;
|
|
140
|
-
|
|
141
461
|
var lastColIndex = iColumns - 1,
|
|
142
462
|
iRows = Math.ceil(iNumberOfGroups / iColumns);
|
|
143
463
|
|
|
144
|
-
|
|
464
|
+
oAFLayout.getContent().forEach(function (oItem, iIndex) {
|
|
145
465
|
// Add spacing on every group
|
|
146
466
|
oItem.addStyleClass("sapFCardObjectSpaceBetweenGroup");
|
|
147
467
|
|
|
@@ -152,7 +472,7 @@ sap.ui.define([
|
|
|
152
472
|
}
|
|
153
473
|
|
|
154
474
|
// change bottom padding of the last item in each column
|
|
155
|
-
if (iIndex + 1 > (iRows - 1) * iColumns) {
|
|
475
|
+
if (bLast && iIndex + 1 > (iRows - 1) * iColumns) {
|
|
156
476
|
oItem.addStyleClass("sapFCardObjectGroupLastInColumn");
|
|
157
477
|
} else {
|
|
158
478
|
oItem.removeStyleClass("sapFCardObjectGroupLastInColumn");
|
|
@@ -160,200 +480,5 @@ sap.ui.define([
|
|
|
160
480
|
});
|
|
161
481
|
};
|
|
162
482
|
|
|
163
|
-
ObjectContent.prototype.exit = function() {
|
|
164
|
-
BaseContent.prototype.exit.apply(this, arguments);
|
|
165
|
-
|
|
166
|
-
if (this._sResizeListenerId) {
|
|
167
|
-
ResizeHandler.deregister(this._sResizeListenerId);
|
|
168
|
-
this._sResizeListenerId = "";
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
|
|
172
|
-
ObjectContent.prototype.setConfiguration = function (oConfiguration) {
|
|
173
|
-
BaseContent.prototype.setConfiguration.apply(this, arguments);
|
|
174
|
-
|
|
175
|
-
if (!oConfiguration) {
|
|
176
|
-
return this;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
if (oConfiguration.groups) {
|
|
180
|
-
this._addGroups(oConfiguration);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
return this;
|
|
184
|
-
};
|
|
185
|
-
|
|
186
|
-
ObjectContent.prototype._addGroups = function (oConfiguration) {
|
|
187
|
-
var oContainer = this._getRootContainer(),
|
|
188
|
-
aGroups = oConfiguration.groups || [];
|
|
189
|
-
|
|
190
|
-
aGroups.forEach(function (oGroup) {
|
|
191
|
-
var vVisible;
|
|
192
|
-
|
|
193
|
-
if (typeof oGroup.visible == "string") {
|
|
194
|
-
vVisible = !Utils.hasFalsyValueAsString(oGroup.visible);
|
|
195
|
-
} else {
|
|
196
|
-
vVisible = oGroup.visible;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
var oGroupContainer = new VBox({
|
|
200
|
-
visible: vVisible,
|
|
201
|
-
renderType: FlexRendertype.Bare
|
|
202
|
-
}).addStyleClass("sapFCardObjectGroup");
|
|
203
|
-
|
|
204
|
-
if (oGroup.title) {
|
|
205
|
-
oGroupContainer.addItem(new Title({
|
|
206
|
-
text: oGroup.title
|
|
207
|
-
}).addStyleClass("sapFCardObjectItemTitle"));
|
|
208
|
-
|
|
209
|
-
oGroupContainer.addStyleClass("sapFCardObjectGroupWithTitle");
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
oGroup.items.forEach(function (oItem) {
|
|
213
|
-
|
|
214
|
-
var vLabel = oItem.label,
|
|
215
|
-
vValue = oItem.value,
|
|
216
|
-
oLabel,
|
|
217
|
-
vVisible,
|
|
218
|
-
oControl,
|
|
219
|
-
vHref,
|
|
220
|
-
aBindingParts = [];
|
|
221
|
-
|
|
222
|
-
if (typeof oItem.visible == "string") {
|
|
223
|
-
vVisible = !Utils.hasFalsyValueAsString(oItem.visible);
|
|
224
|
-
} else {
|
|
225
|
-
vVisible = oItem.visible;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
if (vLabel) {
|
|
229
|
-
// Checks if the label ends with ":" and if not we just add the ":"
|
|
230
|
-
vLabel = BindingHelper.formattedProperty(vLabel, function (sValue) {
|
|
231
|
-
return sValue && sValue[sValue.length - 1] === ":" ? sValue : sValue + ":";
|
|
232
|
-
});
|
|
233
|
-
oLabel = new Label({
|
|
234
|
-
text: vLabel,
|
|
235
|
-
visible: vVisible
|
|
236
|
-
}).addStyleClass("sapFCardObjectItemLabel");
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
if (vValue && oItem.actions) {
|
|
240
|
-
oControl = new Link({
|
|
241
|
-
text: vValue,
|
|
242
|
-
visible: BindingHelper.reuse(vVisible)
|
|
243
|
-
});
|
|
244
|
-
this._oActions.attach({
|
|
245
|
-
area: ActionArea.ContentItemDetail,
|
|
246
|
-
actions: oItem.actions,
|
|
247
|
-
control: this,
|
|
248
|
-
actionControl: oControl,
|
|
249
|
-
enabledPropertyName: "enabled"
|
|
250
|
-
});
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
if (vValue && !oItem.actions && oItem.type) {
|
|
254
|
-
Log.warning("Usage of Object Group Item property 'type' is deprecated. Use Card Actions for navigation.", null, "sap.ui.integration.widgets.Card");
|
|
255
|
-
|
|
256
|
-
switch (oItem.type) {
|
|
257
|
-
case 'link':
|
|
258
|
-
oControl = new Link({
|
|
259
|
-
href: oItem.url || vValue,
|
|
260
|
-
text: vValue,
|
|
261
|
-
target: oItem.target || '_blank',
|
|
262
|
-
visible: BindingHelper.reuse(vVisible)
|
|
263
|
-
});
|
|
264
|
-
break;
|
|
265
|
-
case 'email':
|
|
266
|
-
if (oItem.value) {
|
|
267
|
-
aBindingParts.push(oItem.value);
|
|
268
|
-
}
|
|
269
|
-
if (oItem.emailSubject) {
|
|
270
|
-
aBindingParts.push(oItem.emailSubject);
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
vHref = BindingHelper.formattedProperty(aBindingParts, function (sValue, sEmailSubject) {
|
|
274
|
-
if (sEmailSubject) {
|
|
275
|
-
return "mailto:" + sValue + "?subject=" + sEmailSubject;
|
|
276
|
-
} else {
|
|
277
|
-
return "mailto:" + sValue;
|
|
278
|
-
}
|
|
279
|
-
});
|
|
280
|
-
|
|
281
|
-
oControl = new Link({
|
|
282
|
-
href: vHref,
|
|
283
|
-
text: vValue,
|
|
284
|
-
visible: BindingHelper.reuse(vVisible)
|
|
285
|
-
});
|
|
286
|
-
break;
|
|
287
|
-
case 'phone':
|
|
288
|
-
vHref = BindingHelper.formattedProperty(vValue, function (sValue) {
|
|
289
|
-
return "tel:" + sValue;
|
|
290
|
-
});
|
|
291
|
-
oControl = new Link({
|
|
292
|
-
href: vHref,
|
|
293
|
-
text: vValue,
|
|
294
|
-
visible: BindingHelper.reuse(vVisible)
|
|
295
|
-
});
|
|
296
|
-
break;
|
|
297
|
-
default:
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
if (vValue && !oControl) {
|
|
302
|
-
oControl = new Text({
|
|
303
|
-
text: vValue,
|
|
304
|
-
visible: BindingHelper.reuse(vVisible)
|
|
305
|
-
});
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
if (oControl) {
|
|
309
|
-
oControl.addStyleClass("sapFCardObjectItemText");
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
if (oItem.icon) {
|
|
313
|
-
var vSrc = BindingHelper.formattedProperty(oItem.icon.src, function (sValue) {
|
|
314
|
-
return this._oIconFormatter.formatSrc(sValue);
|
|
315
|
-
}.bind(this));
|
|
316
|
-
|
|
317
|
-
var oAvatar = new Avatar({
|
|
318
|
-
displaySize: oItem.icon.size || AvatarSize.XS,
|
|
319
|
-
src: vSrc,
|
|
320
|
-
initials: oItem.icon.text,
|
|
321
|
-
displayShape: oItem.icon.shape,
|
|
322
|
-
tooltip: oItem.icon.alt,
|
|
323
|
-
backgroundColor: oItem.icon.backgroundColor || (oItem.icon.text ? undefined : AvatarColor.Transparent)
|
|
324
|
-
}).addStyleClass("sapFCardObjectItemAvatar sapFCardIcon");
|
|
325
|
-
|
|
326
|
-
var oVbox = new VBox({
|
|
327
|
-
renderType: FlexRendertype.Bare,
|
|
328
|
-
items: [
|
|
329
|
-
oLabel,
|
|
330
|
-
oControl
|
|
331
|
-
]
|
|
332
|
-
});
|
|
333
|
-
var oHBox = new HBox({
|
|
334
|
-
visible: vVisible,
|
|
335
|
-
renderType: FlexRendertype.Bare,
|
|
336
|
-
items: [
|
|
337
|
-
oAvatar,
|
|
338
|
-
oVbox
|
|
339
|
-
]
|
|
340
|
-
}).addStyleClass("sapFCardObjectItemLabel");
|
|
341
|
-
|
|
342
|
-
oGroupContainer.addItem(oHBox);
|
|
343
|
-
} else {
|
|
344
|
-
oGroupContainer.addItem(oLabel);
|
|
345
|
-
oGroupContainer.addItem(oControl);
|
|
346
|
-
}
|
|
347
|
-
}, this);
|
|
348
|
-
oContainer.addContent(oGroupContainer);
|
|
349
|
-
}, this);
|
|
350
|
-
|
|
351
|
-
this._oActions.attach({
|
|
352
|
-
area: ActionArea.Content,
|
|
353
|
-
actions: oConfiguration.actions,
|
|
354
|
-
control: this
|
|
355
|
-
});
|
|
356
|
-
};
|
|
357
|
-
|
|
358
483
|
return ObjectContent;
|
|
359
484
|
});
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
|
|
7
|
+
sap.ui.define(["./BaseContentRenderer"], function (BaseContentRenderer) {
|
|
8
|
+
"use strict";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* ObjectContentRenderer renderer.
|
|
12
|
+
* @author SAP SE
|
|
13
|
+
* @namespace
|
|
14
|
+
*/
|
|
15
|
+
var ObjectContentRenderer = BaseContentRenderer.extend("sap.ui.integration.cards.ObjectContentRenderer", {
|
|
16
|
+
apiVersion: 2,
|
|
17
|
+
MIN_OBJECT_CONTENT_HEIGHT: "3rem" // assuming 1 line of text and content padding
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @override
|
|
22
|
+
*/
|
|
23
|
+
ObjectContentRenderer.getMinHeight = function (oConfiguration, oContent) {
|
|
24
|
+
return ObjectContentRenderer.MIN_OBJECT_CONTENT_HEIGHT;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
return ObjectContentRenderer;
|
|
28
|
+
});
|