@openui5/sap.ui.integration 1.96.1 → 1.97.1
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 +1 -1
- package/THIRDPARTY.txt +2 -1
- package/package.json +3 -3
- package/src/sap/ui/integration/.library +2 -2
- 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/ManifestResolver.js +102 -0
- package/src/sap/ui/integration/bindingFeatures/DateRange.js +1 -1
- package/src/sap/ui/integration/cards/AdaptiveContent.js +2 -2
- 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 +51 -6
- package/src/sap/ui/integration/cards/BaseContentRenderer.js +2 -2
- package/src/sap/ui/integration/cards/BaseListContent.js +5 -3
- package/src/sap/ui/integration/cards/CalendarContent.js +4 -2
- 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 +2 -2
- package/src/sap/ui/integration/cards/ListContent.js +37 -12
- package/src/sap/ui/integration/cards/ListContentRenderer.js +34 -9
- package/src/sap/ui/integration/cards/NumericHeader.js +2 -2
- package/src/sap/ui/integration/cards/ObjectContent.js +146 -132
- package/src/sap/ui/integration/cards/TableContent.js +6 -9
- package/src/sap/ui/integration/cards/TableContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/TimelineContent.js +8 -10
- 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/adaptivecards/elements/UI5InputChoiceSet.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +2 -2
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputTime.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +2 -2
- 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 +16 -14
- package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +2 -2
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +34 -4
- package/src/sap/ui/integration/controls/ActionsStrip.js +2 -2
- package/src/sap/ui/integration/controls/ActionsToolbar.js +2 -2
- 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_ar.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_bg.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ca.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_cs.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_cy.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_da.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_de.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_el.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_GB.properties +15 -11
- 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/i18n/i18n_es.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_es_MX.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_et.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fi.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fr.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fr_CA.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hi.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hr.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hu.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_id.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_it.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_iw.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ja.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_kk.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ko.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_lt.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_lv.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ms.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_nl.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_no.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pl.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pt.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pt_PT.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ro.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ru.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sh.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sk.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sl.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sv.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_th.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_tr.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_uk.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_vi.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_zh_CN.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_zh_TW.properties +15 -11
- 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.js +2 -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/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 +2 -2
- 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 +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_US_saprigi.properties +0 -4
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +2 -2
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +2 -2
- 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 +2 -2
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +27 -5
- package/src/sap/ui/integration/designtime/editor/css/CardPreview.css +18 -1
- package/src/sap/ui/integration/editor/Editor.js +63 -47
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +2 -2
- package/src/sap/ui/integration/editor/Extension.js +2 -2
- package/src/sap/ui/integration/editor/Manifest.js +2 -2
- package/src/sap/ui/integration/editor/Merger.js +1 -1
- package/src/sap/ui/integration/editor/Settings.js +2 -2
- package/src/sap/ui/integration/editor/css/Editor.css +0 -3
- package/src/sap/ui/integration/editor/fields/BaseField.js +9 -3
- 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 -21
- package/src/sap/ui/integration/editor/fields/IntegerField.js +5 -2
- package/src/sap/ui/integration/editor/fields/ListField.js +252 -67
- package/src/sap/ui/integration/editor/fields/NumberField.js +2 -2
- package/src/sap/ui/integration/editor/fields/StringField.js +3 -16
- package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +2 -2
- package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +2 -2
- package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +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 +3 -3
- package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +55 -81
- package/src/sap/ui/integration/model/ContextModel.js +2 -2
- 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 +29 -4
- 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/ListContentItem.less +66 -28
- 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/util/BaseFactory.js +2 -2
- package/src/sap/ui/integration/util/BindingHelper.js +3 -3
- package/src/sap/ui/integration/util/BindingResolver.js +2 -2
- package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +1 -1
- package/src/sap/ui/integration/util/CardActions.js +2 -2
- package/src/sap/ui/integration/util/CardMerger.js +1 -1
- package/src/sap/ui/integration/util/CardObserver.js +2 -2
- package/src/sap/ui/integration/util/ContentFactory.js +4 -8
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +312 -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 +2 -2
- 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 +3 -3
- package/src/sap/ui/integration/util/ParameterMap.js +1 -1
- package/src/sap/ui/integration/util/RequestDataProvider.js +87 -49
- 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/Utils.js +42 -2
- package/src/sap/ui/integration/util/loadCardEditor.js +1 -1
- package/src/sap/ui/integration/widgets/Card.js +18 -4
- package/src/sap/ui/integration/widgets/CardRenderer.js +1 -1
- 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 +286 -1
package/.reuse/dep5
CHANGED
|
@@ -418,7 +418,7 @@ Comment: these files contain content from SAP and BooleanExpressionEvaluator: Bo
|
|
|
418
418
|
|
|
419
419
|
# Library: sap.ui.webc.common:
|
|
420
420
|
|
|
421
|
-
Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/
|
|
421
|
+
Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
|
|
422
422
|
Copyright: SAP
|
|
423
423
|
License: Apache-2.0
|
|
424
424
|
Comment: these files belong to: UI5 Web Components
|
package/THIRDPARTY.txt
CHANGED
|
@@ -412,10 +412,11 @@ Copyright: SAP
|
|
|
412
412
|
License: Apache-2.0
|
|
413
413
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
414
414
|
Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
|
|
415
|
-
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/
|
|
415
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/*.*
|
|
416
416
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.*
|
|
417
417
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.*
|
|
418
418
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
|
|
419
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
|
|
419
420
|
|
|
420
421
|
Component: lit-html, version: 1.4.1
|
|
421
422
|
Copyright: Google LLC
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.integration",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.97.1",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.integration",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.
|
|
18
|
-
"@openui5/sap.f": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.97.1",
|
|
18
|
+
"@openui5/sap.f": "1.97.1"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<name>sap.ui.integration</name>
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
6
|
<copyright>OpenUI5
|
|
7
|
-
* (c) Copyright 2009-
|
|
7
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.97.1</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with integration-related controls.</documentation>
|
|
12
12
|
|
|
@@ -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
|
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* @extends sap.ui.core.Element
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.97.1
|
|
32
32
|
*
|
|
33
33
|
* @constructor
|
|
34
34
|
* @public
|
|
@@ -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([
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @extends sap.ui.base.ManagedObject
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.97.1
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
|
@@ -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([
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @extends sap.ui.base.ManagedObject
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.97.1
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -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([
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @extends sap.ui.core.Element
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.97.1
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -188,6 +188,42 @@ sap.ui.define([
|
|
|
188
188
|
return Promise.resolve(vReturn);
|
|
189
189
|
};
|
|
190
190
|
|
|
191
|
+
/**
|
|
192
|
+
* Resolves the CSRF token and returns a Promise with its value.
|
|
193
|
+
*
|
|
194
|
+
* @param {object} mCSRFTokenConfig The CSRF token configuration.
|
|
195
|
+
* @returns {Promise} A promise which resolves the CSRF token to its value.
|
|
196
|
+
* @experimental since 1.97
|
|
197
|
+
* @abstract
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
Host.prototype.getCsrfToken = function (mCSRFTokenConfig) {
|
|
201
|
+
return Promise.resolve();
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* This functions is called when a CSRF token is fetched.
|
|
206
|
+
*
|
|
207
|
+
* @param {object} mCSRFTokenConfig The CSRF token configuration.
|
|
208
|
+
* @param {Promise} pCSRFTokenValuePromise A promise which resolves the CSRF token to its value.
|
|
209
|
+
* @experimental since 1.97
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
Host.prototype.csrfTokenFetched = function (mCSRFTokenConfig, pCSRFTokenValuePromise) {
|
|
213
|
+
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* This functions is called when a CSRF token has expired.
|
|
218
|
+
*
|
|
219
|
+
* @param {object} mCSRFTokenConfig The CSRF token configuration.
|
|
220
|
+
* @experimental since 1.97
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
Host.prototype.csrfTokenExpired = function (mCSRFTokenConfig) {
|
|
224
|
+
|
|
225
|
+
};
|
|
226
|
+
|
|
191
227
|
/**
|
|
192
228
|
* Resolves the value for a given path in the context of the host
|
|
193
229
|
* Contexts can be used to configure Cards with information available in the host environment.
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([
|
|
7
|
+
"sap/ui/integration/widgets/Card",
|
|
8
|
+
"sap/ui/integration/util/BindingHelper",
|
|
9
|
+
"sap/ui/integration/util/BindingResolver",
|
|
10
|
+
"sap/ui/integration/util/Utils"
|
|
11
|
+
], function (
|
|
12
|
+
Card,
|
|
13
|
+
BindingHelper,
|
|
14
|
+
BindingResolver,
|
|
15
|
+
Utils
|
|
16
|
+
) {
|
|
17
|
+
"use strict";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Util class for preprocessing of card manifests.
|
|
21
|
+
* @namespace sap.ui.integration.ManifestResolver
|
|
22
|
+
* @since 1.97
|
|
23
|
+
* @experimental 1.97
|
|
24
|
+
* @private
|
|
25
|
+
* @ui5-restricted shell-toolkit
|
|
26
|
+
*/
|
|
27
|
+
var ManifestResolver = {};
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Resolves manifest.
|
|
31
|
+
* @memberof sap.ui.integration.ManifestResolver
|
|
32
|
+
* @alias sap.ui.integration.ManifestResolver.resolve
|
|
33
|
+
* @param {object} oManifest Card manifest
|
|
34
|
+
* @param {string} sBaseUrl The base URL of the card manifest
|
|
35
|
+
* @returns {Promise<string>} Stringified manifest without any bindings
|
|
36
|
+
* @private
|
|
37
|
+
* @ui5-restricted shell-toolkit
|
|
38
|
+
*/
|
|
39
|
+
ManifestResolver.resolve = function (oManifest, sBaseUrl) {
|
|
40
|
+
var oCard = new Card({
|
|
41
|
+
baseUrl: sBaseUrl,
|
|
42
|
+
manifest: oManifest
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
oCard.startManifestProcessing();
|
|
46
|
+
|
|
47
|
+
return ManifestResolver._awaitReadyEvent(oCard)
|
|
48
|
+
.then(ManifestResolver._handleCardReady);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
ManifestResolver._awaitReadyEvent = function (oCard) {
|
|
52
|
+
return new Promise(function (resolve, reject) {
|
|
53
|
+
oCard.attachEvent("_ready", function (e) {
|
|
54
|
+
resolve(oCard);
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
ManifestResolver._handleCardReady = function (oCard) {
|
|
60
|
+
var oManifest = oCard.getManifestEntry("/");
|
|
61
|
+
var aFilters = [];
|
|
62
|
+
|
|
63
|
+
if (oCard.getAggregation("_filterBar")) {
|
|
64
|
+
aFilters = oCard.getAggregation("_filterBar").getItems().map(function (oFilter) {
|
|
65
|
+
return ["/sap.card/configuration/filters/" + oFilter.getKey(), oFilter];
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// Process card sections in order - nested sections with "data" have to be processed first
|
|
70
|
+
aFilters.concat([
|
|
71
|
+
["/sap.card/content", oCard.getCardContent()],
|
|
72
|
+
["/sap.card/header", oCard.getCardHeader()],
|
|
73
|
+
["/sap.card", oCard]
|
|
74
|
+
]).filter(function (aPathAndContext) {
|
|
75
|
+
return !!oCard.getManifestEntry(aPathAndContext[0]); // only resolve existing sections
|
|
76
|
+
}).forEach(function (aPathAndContext) {
|
|
77
|
+
var sManifestPath = aPathAndContext[0];
|
|
78
|
+
var oContext = aPathAndContext[1];
|
|
79
|
+
var oSubConfig;
|
|
80
|
+
|
|
81
|
+
if (oContext.getStaticConfiguration) {
|
|
82
|
+
oSubConfig = oContext.getStaticConfiguration();
|
|
83
|
+
} else {
|
|
84
|
+
oSubConfig = Utils.getNestedPropertyValue(oManifest, sManifestPath);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
if (oSubConfig.data) {
|
|
88
|
+
var sDataPath = oSubConfig.data.path;
|
|
89
|
+
delete oSubConfig.data;
|
|
90
|
+
oSubConfig = BindingHelper.createBindingInfos(oSubConfig, oCard.getBindingNamespaces());
|
|
91
|
+
oSubConfig = BindingResolver.resolveValue(oSubConfig, oContext, sDataPath);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
Utils.setNestedPropertyValue(oManifest, sManifestPath, oSubConfig);
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
oCard.destroy();
|
|
98
|
+
return JSON.stringify(oManifest);
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
return ManifestResolver;
|
|
102
|
+
});
|
|
@@ -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([
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @extends sap.ui.integration.cards.BaseContent
|
|
39
39
|
*
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.97.1
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @private
|
|
@@ -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([
|
|
@@ -88,7 +88,7 @@ sap.ui.define([
|
|
|
88
88
|
* @extends sap.ui.integration.cards.BaseContent
|
|
89
89
|
*
|
|
90
90
|
* @author SAP SE
|
|
91
|
-
* @version 1.
|
|
91
|
+
* @version 1.97.1
|
|
92
92
|
*
|
|
93
93
|
* @constructor
|
|
94
94
|
* @private
|
|
@@ -153,7 +153,7 @@ sap.ui.define([
|
|
|
153
153
|
* @private
|
|
154
154
|
*/
|
|
155
155
|
AnalyticalContent.prototype._createChart = function () {
|
|
156
|
-
var oConfiguration = this.
|
|
156
|
+
var oConfiguration = this.getParsedConfiguration();
|
|
157
157
|
|
|
158
158
|
if (!oConfiguration.chartType) {
|
|
159
159
|
Log.error("\"sap.card\".content.chartType is mandatory property.", null, "sap.ui.integration.widgets.Card");
|
|
@@ -169,20 +169,19 @@ sap.ui.define([
|
|
|
169
169
|
width: "100%",
|
|
170
170
|
vizType: ChartTypes[oResolvedConfiguration.chartType] || oResolvedConfiguration.chartType,
|
|
171
171
|
vizProperties: this._getVizProperties(oResolvedConfiguration),
|
|
172
|
-
dataset: this._getDataset(oResolvedConfiguration),
|
|
172
|
+
dataset: this._getDataset(oConfiguration, oResolvedConfiguration),
|
|
173
173
|
feeds: this._getFeeds(oResolvedConfiguration)
|
|
174
174
|
});
|
|
175
175
|
|
|
176
176
|
this.setAggregation("_content", oChart);
|
|
177
|
-
this._attachActions();
|
|
177
|
+
this._attachActions(oConfiguration);
|
|
178
178
|
|
|
179
179
|
if (oResolvedConfiguration.popover && oResolvedConfiguration.popover.active) {
|
|
180
180
|
this._attachPopover();
|
|
181
181
|
}
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
AnalyticalContent.prototype._attachActions = function () {
|
|
185
|
-
var oConfiguration = this.getConfiguration();
|
|
184
|
+
AnalyticalContent.prototype._attachActions = function (oConfiguration) {
|
|
186
185
|
var oActionConfig = {
|
|
187
186
|
area: ActionArea.Content,
|
|
188
187
|
actions: oConfiguration.actions,
|
|
@@ -298,11 +297,11 @@ sap.ui.define([
|
|
|
298
297
|
};
|
|
299
298
|
|
|
300
299
|
/**
|
|
300
|
+
* @param {object} oConfiguration Parsed manifest configuration
|
|
301
301
|
* @param {object} oResolvedConfiguration Manifest configuration with resolved bindings
|
|
302
302
|
* @returns {sap.viz.ui5.data.FlattenedDataset} The data set for the VizFrame
|
|
303
303
|
*/
|
|
304
|
-
AnalyticalContent.prototype._getDataset = function (oResolvedConfiguration) {
|
|
305
|
-
var oConfiguration = this.getConfiguration();
|
|
304
|
+
AnalyticalContent.prototype._getDataset = function (oConfiguration, oResolvedConfiguration) {
|
|
306
305
|
var aMeasures, aDimensions;
|
|
307
306
|
|
|
308
307
|
if (oConfiguration.dimensions) {
|
|
@@ -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
|
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @extends sap.ui.integration.cards.BaseContent
|
|
31
31
|
*
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.97.1
|
|
34
34
|
*
|
|
35
35
|
* @constructor
|
|
36
36
|
* @private
|
|
@@ -87,6 +87,8 @@ sap.ui.define([
|
|
|
87
87
|
*/
|
|
88
88
|
AnalyticsCloudContent.prototype.setConfiguration = function (oConfiguration) {
|
|
89
89
|
BaseContent.prototype.setConfiguration.apply(this, arguments);
|
|
90
|
+
oConfiguration = this.getParsedConfiguration();
|
|
91
|
+
|
|
90
92
|
//workaround until actions refactor
|
|
91
93
|
this.fireEvent("_actionContentReady");
|
|
92
94
|
this._oActions.attach({
|
|
@@ -130,7 +132,7 @@ sap.ui.define([
|
|
|
130
132
|
}
|
|
131
133
|
|
|
132
134
|
var oCard = this.getCardInstance(),
|
|
133
|
-
oConfiguration = this.
|
|
135
|
+
oConfiguration = this.getParsedConfiguration(),
|
|
134
136
|
oBindingContext = this.getBindingContext(),
|
|
135
137
|
sPath,
|
|
136
138
|
oChartOptions;
|
|
@@ -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
|
|
|
@@ -12,14 +12,20 @@ sap.ui.define([
|
|
|
12
12
|
"sap/ui/core/Control",
|
|
13
13
|
"sap/ui/integration/model/ObservableModel",
|
|
14
14
|
"sap/ui/base/ManagedObjectObserver",
|
|
15
|
-
"sap/ui/integration/util/
|
|
15
|
+
"sap/ui/integration/util/BindingResolver",
|
|
16
|
+
"sap/ui/integration/util/LoadingProvider",
|
|
17
|
+
"sap/ui/integration/util/BindingHelper",
|
|
18
|
+
"sap/base/util/merge"
|
|
16
19
|
], function (
|
|
17
20
|
BaseContentRenderer,
|
|
18
21
|
Core,
|
|
19
22
|
Control,
|
|
20
23
|
ObservableModel,
|
|
21
24
|
ManagedObjectObserver,
|
|
22
|
-
|
|
25
|
+
BindingResolver,
|
|
26
|
+
LoadingProvider,
|
|
27
|
+
BindingHelper,
|
|
28
|
+
merge
|
|
23
29
|
) {
|
|
24
30
|
"use strict";
|
|
25
31
|
|
|
@@ -35,7 +41,7 @@ sap.ui.define([
|
|
|
35
41
|
* @extends sap.ui.core.Control
|
|
36
42
|
*
|
|
37
43
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
44
|
+
* @version 1.97.1
|
|
39
45
|
*
|
|
40
46
|
* @constructor
|
|
41
47
|
* @private
|
|
@@ -190,6 +196,12 @@ sap.ui.define([
|
|
|
190
196
|
}.bind(this));
|
|
191
197
|
};
|
|
192
198
|
|
|
199
|
+
/**
|
|
200
|
+
* @public
|
|
201
|
+
* @param {object} oConfiguration Content configuration from the manifest
|
|
202
|
+
* @param {string} sType The type of the content
|
|
203
|
+
* @returns {this} Pointer to the control instance to allow method chaining
|
|
204
|
+
*/
|
|
193
205
|
BaseContent.prototype.setConfiguration = function (oConfiguration, sType) {
|
|
194
206
|
this._oConfiguration = oConfiguration;
|
|
195
207
|
this.awaitEvent("_dataReady");
|
|
@@ -209,6 +221,35 @@ sap.ui.define([
|
|
|
209
221
|
return this._oConfiguration;
|
|
210
222
|
};
|
|
211
223
|
|
|
224
|
+
/**
|
|
225
|
+
* Parses the configuration. As binding infos are modified when used once,
|
|
226
|
+
* new object is returned every time.
|
|
227
|
+
* @protected
|
|
228
|
+
* @returns {object} Parsed configuration - with binding infos
|
|
229
|
+
*/
|
|
230
|
+
BaseContent.prototype.getParsedConfiguration = function () {
|
|
231
|
+
var oResult = merge({}, this._oConfiguration),
|
|
232
|
+
oDataSettings = oResult.data;
|
|
233
|
+
|
|
234
|
+
// do not create binding info for data
|
|
235
|
+
delete oResult.data;
|
|
236
|
+
oResult = BindingHelper.createBindingInfos(oResult, this.getCardInstance().getBindingNamespaces());
|
|
237
|
+
|
|
238
|
+
if (oDataSettings) {
|
|
239
|
+
oResult.data = oDataSettings;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
return oResult;
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* @protected
|
|
247
|
+
* @returns {object} Content configuration with static items
|
|
248
|
+
*/
|
|
249
|
+
BaseContent.prototype.getStaticConfiguration = function () {
|
|
250
|
+
return this.getConfiguration();
|
|
251
|
+
};
|
|
252
|
+
|
|
212
253
|
/**
|
|
213
254
|
* Requests data and bind it to the item template.
|
|
214
255
|
*
|
|
@@ -248,8 +289,12 @@ sap.ui.define([
|
|
|
248
289
|
}
|
|
249
290
|
|
|
250
291
|
oModel.attachEvent("change", function () {
|
|
251
|
-
|
|
252
|
-
this
|
|
292
|
+
// It is possible to receive change event after the content is destroyed
|
|
293
|
+
// TO DO: unsubscribe from all events upon exit and remove this check
|
|
294
|
+
if (!this.isDestroyed()) {
|
|
295
|
+
this.onDataChanged();
|
|
296
|
+
this.onDataRequestComplete();
|
|
297
|
+
}
|
|
253
298
|
}.bind(this));
|
|
254
299
|
|
|
255
300
|
if (this._oDataProvider) {
|
|
@@ -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
|
|
|
@@ -47,7 +47,7 @@ sap.ui.define(["sap/ui/core/Renderer"], function (Renderer) {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
if (bIsCardValid && oCard.getHeight() === "auto") { // if there is no height specified the default value is "auto"
|
|
50
|
-
var sHeight = this.getMinHeight(oCardContent.
|
|
50
|
+
var sHeight = this.getMinHeight(oCardContent.getParsedConfiguration(), oCardContent);
|
|
51
51
|
oRm.style("min-height", sHeight);
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -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
|
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @extends sap.ui.integration.cards.BaseContent
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.97.1
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @private
|
|
@@ -73,6 +73,7 @@ sap.ui.define([
|
|
|
73
73
|
*/
|
|
74
74
|
BaseListContent.prototype.setConfiguration = function (oConfiguration, sType) {
|
|
75
75
|
BaseContent.prototype.setConfiguration.apply(this, arguments);
|
|
76
|
+
oConfiguration = this.getConfiguration();
|
|
76
77
|
|
|
77
78
|
if (!oConfiguration) {
|
|
78
79
|
return this;
|
|
@@ -137,7 +138,8 @@ sap.ui.define([
|
|
|
137
138
|
return;
|
|
138
139
|
}
|
|
139
140
|
|
|
140
|
-
var
|
|
141
|
+
var oInnerList = this.getInnerList(),
|
|
142
|
+
oBindingInfo = oInnerList.getBinding(oInnerList.getMetadata().getDefaultAggregationName()),
|
|
141
143
|
oModel = oBindingInfo.getModel(),
|
|
142
144
|
sPath = oBindingInfo.getPath(),
|
|
143
145
|
aItems = oModel.getProperty(sPath),
|
|
@@ -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([
|
|
@@ -64,7 +64,7 @@ sap.ui.define([
|
|
|
64
64
|
* @extends sap.ui.integration.cards.BaseContent
|
|
65
65
|
*
|
|
66
66
|
* @author SAP SE
|
|
67
|
-
* @version 1.
|
|
67
|
+
* @version 1.97.1
|
|
68
68
|
*
|
|
69
69
|
* @constructor
|
|
70
70
|
* @private
|
|
@@ -219,6 +219,8 @@ sap.ui.define([
|
|
|
219
219
|
*/
|
|
220
220
|
CalendarContent.prototype.setConfiguration = function (oConfiguration) {
|
|
221
221
|
BaseContent.prototype.setConfiguration.apply(this, arguments);
|
|
222
|
+
oConfiguration = this.getParsedConfiguration();
|
|
223
|
+
|
|
222
224
|
//workaround until actions refactor
|
|
223
225
|
this.fireEvent("_actionContentReady"); // todo
|
|
224
226
|
|
|
@@ -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
|
|
|
@@ -188,6 +188,7 @@ sap.ui.define([
|
|
|
188
188
|
|
|
189
189
|
mAttributes["id"] = sId + "-Icon";
|
|
190
190
|
mAttributes["title"] = null;
|
|
191
|
+
mAttributes["role"] = "img";
|
|
191
192
|
oRm.icon(sIcon, aClasses, mAttributes);
|
|
192
193
|
}
|
|
193
194
|
|
|
@@ -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
|
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @extends sap.ui.integration.cards.BaseContent
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.97.1
|
|
33
33
|
*
|
|
34
34
|
* @experimental
|
|
35
35
|
* @constructor
|
|
@@ -56,6 +56,7 @@ sap.ui.define([
|
|
|
56
56
|
|
|
57
57
|
ComponentContent.prototype.setConfiguration = function (oConfiguration) {
|
|
58
58
|
BaseContent.prototype.setConfiguration.apply(this, arguments);
|
|
59
|
+
oConfiguration = this.getParsedConfiguration();
|
|
59
60
|
|
|
60
61
|
if (!oConfiguration) {
|
|
61
62
|
return;
|
|
@@ -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([
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @extends sap.ui.core.Control
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.97.1
|
|
33
33
|
*
|
|
34
34
|
* @constructor
|
|
35
35
|
* @private
|