@openui5/sap.ui.integration 1.120.10 → 1.121.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 +23 -21
- package/THIRDPARTY.txt +6 -43
- package/package.json +6 -6
- package/src/sap/ui/integration/.library +1 -1
- package/src/sap/ui/integration/ActionDefinition.js +1 -1
- package/src/sap/ui/integration/Designtime.js +1 -1
- package/src/sap/ui/integration/Extension.js +1 -1
- package/src/sap/ui/integration/Host.js +14 -12
- package/src/sap/ui/integration/cards/AdaptiveContent.js +16 -16
- package/src/sap/ui/integration/cards/AnalyticalContent.js +37 -11
- package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +1 -1
- package/src/sap/ui/integration/cards/BaseContent.js +13 -4
- package/src/sap/ui/integration/cards/BaseContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/BaseListContent.js +1 -1
- package/src/sap/ui/integration/cards/CalendarContent.js +9 -9
- package/src/sap/ui/integration/cards/CalendarContentRenderer.js +10 -7
- package/src/sap/ui/integration/cards/ComponentContent.js +1 -1
- package/src/sap/ui/integration/cards/Footer.js +11 -5
- package/src/sap/ui/integration/cards/Header.js +4 -4
- package/src/sap/ui/integration/cards/ListContent.js +8 -2
- package/src/sap/ui/integration/cards/ListContentRenderer.js +5 -3
- package/src/sap/ui/integration/cards/NumericHeader.js +4 -4
- package/src/sap/ui/integration/cards/ObjectContent.js +42 -5
- package/src/sap/ui/integration/cards/TableContent.js +1 -1
- package/src/sap/ui/integration/cards/TimelineContent.js +4 -4
- package/src/sap/ui/integration/cards/WebPageContent.js +1 -1
- package/src/sap/ui/integration/cards/actions/BaseAction.js +4 -4
- package/src/sap/ui/integration/cards/actions/CardActions.js +1 -1
- package/src/sap/ui/integration/cards/actions/ShowCardAction.js +3 -3
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputChoiceSet.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputDate.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputNumber.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputText.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/elements/UI5InputToggle.js +1 -1
- package/src/sap/ui/integration/cards/adaptivecards/overwrites/inputsGeneralOverwrites.js +3 -3
- package/src/sap/ui/integration/cards/data/CsrfToken.js +61 -0
- package/src/sap/ui/integration/cards/filters/BaseFilter.js +33 -32
- package/src/sap/ui/integration/cards/filters/ComboBoxFilter.js +254 -0
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +1 -1
- package/src/sap/ui/integration/cards/filters/FilterBar.js +1 -1
- package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +9 -3
- package/src/sap/ui/integration/cards/filters/SearchFilter.js +16 -3
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +1 -1
- package/src/sap/ui/integration/cards/list/MicrochartsResizeHelper.js +1 -1
- package/src/sap/ui/integration/controls/ActionsStrip.js +189 -84
- package/src/sap/ui/integration/controls/ActionsToolbar.js +12 -9
- package/src/sap/ui/integration/controls/BlockingMessage.js +93 -44
- package/src/sap/ui/integration/controls/ImageWithOverlay.js +199 -0
- package/src/sap/ui/integration/controls/ImageWithOverlayRenderer.js +36 -0
- package/src/sap/ui/integration/controls/LinkWithIcon.js +2 -2
- package/src/sap/ui/integration/controls/ListContentItem.js +10 -7
- package/src/sap/ui/integration/controls/ListContentItemRenderer.js +5 -4
- package/src/sap/ui/integration/controls/Microchart.js +4 -4
- package/src/sap/ui/integration/controls/MicrochartLegend.js +4 -4
- package/src/sap/ui/integration/controls/MicrochartLegendRenderer.js +3 -3
- package/src/sap/ui/integration/controls/ObjectStatus.js +3 -1
- package/src/sap/ui/integration/controls/Paginator.js +19 -11
- package/src/sap/ui/integration/controls/PaginatorRenderer.js +4 -4
- package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +6 -4
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +8 -6
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/codeEditor/CodeEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/multiSelectEditor/MultiSelectEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/objectArrayEditor/ObjectArrayEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/index.js +5 -16
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_mk.properties +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/filtersEditor/FiltersEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +5 -3
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +1 -1
- package/src/sap/ui/integration/designtime/editor/Card.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +14 -6
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +27 -11
- package/src/sap/ui/integration/designtime/editor/css/CardPreview.css +30 -17
- package/src/sap/ui/integration/editor/Editor.js +23 -25
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +1 -1
- package/src/sap/ui/integration/editor/Extension.js +1 -1
- package/src/sap/ui/integration/editor/Manifest.js +1 -1
- package/src/sap/ui/integration/editor/Settings.js +21 -18
- package/src/sap/ui/integration/editor/css/Editor.css +9 -7
- package/src/sap/ui/integration/editor/fields/BaseField.js +27 -7
- package/src/sap/ui/integration/editor/fields/BooleanField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateField.js +5 -5
- package/src/sap/ui/integration/editor/fields/DateTimeField.js +5 -5
- package/src/sap/ui/integration/editor/fields/DestinationField.js +1 -1
- package/src/sap/ui/integration/editor/fields/GroupField.js +11 -13
- package/src/sap/ui/integration/editor/fields/IntegerField.js +5 -5
- package/src/sap/ui/integration/editor/fields/NumberField.js +5 -5
- package/src/sap/ui/integration/editor/fields/ObjectField.js +171 -13
- package/src/sap/ui/integration/editor/fields/ObjectListField.js +2 -1
- package/src/sap/ui/integration/editor/fields/StringField.js +4 -4
- package/src/sap/ui/integration/editor/fields/StringListField.js +1 -1
- package/src/sap/ui/integration/editor/fields/fragment/Controller.js +5 -5
- package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +2 -3
- package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +12 -8
- package/src/sap/ui/integration/editor/fields/viz/ImageSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/VizBase.js +1 -1
- package/src/sap/ui/integration/formatters/IconFormatter.js +5 -5
- package/src/sap/ui/integration/library-bootstrap.js +21 -20
- package/src/sap/ui/integration/library.js +23 -8
- package/src/sap/ui/integration/messagebundle.properties +3 -3
- package/src/sap/ui/integration/messagebundle_ar.properties +2 -0
- package/src/sap/ui/integration/messagebundle_bg.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ca.properties +2 -0
- package/src/sap/ui/integration/messagebundle_cnr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_cs.properties +2 -0
- package/src/sap/ui/integration/messagebundle_cy.properties +2 -0
- package/src/sap/ui/integration/messagebundle_da.properties +2 -0
- package/src/sap/ui/integration/messagebundle_de.properties +2 -0
- package/src/sap/ui/integration/messagebundle_el.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en.properties +157 -0
- package/src/sap/ui/integration/messagebundle_en_GB.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +154 -152
- package/src/sap/ui/integration/messagebundle_es.properties +2 -0
- package/src/sap/ui/integration/messagebundle_es_MX.properties +2 -0
- package/src/sap/ui/integration/messagebundle_et.properties +2 -0
- package/src/sap/ui/integration/messagebundle_fi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_fr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_fr_CA.properties +2 -0
- package/src/sap/ui/integration/messagebundle_hi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_hr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_hu.properties +2 -0
- package/src/sap/ui/integration/messagebundle_id.properties +2 -0
- package/src/sap/ui/integration/messagebundle_it.properties +2 -0
- package/src/sap/ui/integration/messagebundle_iw.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ja.properties +2 -0
- package/src/sap/ui/integration/messagebundle_kk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ko.properties +2 -0
- package/src/sap/ui/integration/messagebundle_lt.properties +2 -0
- package/src/sap/ui/integration/messagebundle_lv.properties +2 -0
- package/src/sap/ui/integration/messagebundle_mk.properties +4 -2
- package/src/sap/ui/integration/messagebundle_ms.properties +2 -0
- package/src/sap/ui/integration/messagebundle_nl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_no.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pt.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pt_PT.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ro.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ru.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sh.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sv.properties +2 -0
- package/src/sap/ui/integration/messagebundle_th.properties +2 -0
- package/src/sap/ui/integration/messagebundle_tr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_uk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_vi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_zh_CN.properties +2 -0
- package/src/sap/ui/integration/messagebundle_zh_TW.properties +2 -0
- package/src/sap/ui/integration/model/ContextModel.js +1 -1
- package/src/sap/ui/integration/model/ObservableModel.js +1 -1
- package/src/sap/ui/integration/model/PagingModelListBinding.js +1 -1
- package/src/sap/ui/integration/schemas/sap-card.json +198 -22
- package/src/sap/ui/integration/themes/base/ActionsStrip.less +6 -0
- package/src/sap/ui/integration/themes/base/AnalyticsCloudContent.less +2 -2
- package/src/sap/ui/integration/themes/base/Card.less +5 -0
- package/src/sap/ui/integration/themes/base/ImageWithOverlay.less +47 -0
- package/src/sap/ui/integration/themes/base/ListContentItem.less +12 -0
- package/src/sap/ui/integration/themes/base/ObjectContent.less +20 -2
- package/src/sap/ui/integration/themes/base/{ObjectStatusIcons.less → ObjectStatus.less} +12 -8
- package/src/sap/ui/integration/themes/base/library.source.less +2 -1
- package/src/sap/ui/integration/util/BaseFactory.js +1 -1
- package/src/sap/ui/integration/util/BindingHelper.js +1 -1
- package/src/sap/ui/integration/util/BindingResolver.js +1 -1
- package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +4 -4
- package/src/sap/ui/integration/util/CardMerger.js +4 -4
- package/src/sap/ui/integration/util/CardObserver.js +1 -1
- package/src/sap/ui/integration/util/ComboBoxHelper.js +59 -0
- package/src/sap/ui/integration/util/ContentFactory.js +1 -1
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +130 -148
- package/src/sap/ui/integration/util/DataProvider.js +22 -9
- package/src/sap/ui/integration/util/DataProviderFactory.js +32 -12
- package/src/sap/ui/integration/util/Destinations.js +1 -1
- package/src/sap/ui/integration/util/ErrorHandler.js +3 -2
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
- package/src/sap/ui/integration/util/Form.js +9 -34
- package/src/sap/ui/integration/util/HeaderFactory.js +6 -4
- package/src/sap/ui/integration/util/JSONBindingHelper.js +1 -1
- package/src/sap/ui/integration/util/LoadingProvider.js +1 -1
- package/src/sap/ui/integration/util/Manifest.js +22 -7
- package/src/sap/ui/integration/util/ManifestResolver.js +3 -3
- package/src/sap/ui/integration/util/ParameterMap.js +5 -3
- package/src/sap/ui/integration/util/RequestDataProvider.js +27 -22
- package/src/sap/ui/integration/util/ServiceDataProvider.js +1 -1
- package/src/sap/ui/integration/util/ServiceManager.js +1 -1
- package/src/sap/ui/integration/util/SkeletonCard.js +1 -1
- package/src/sap/ui/integration/util/Utils.js +1 -1
- package/src/sap/ui/integration/util/Validators.js +1 -1
- package/src/sap/ui/integration/widgets/Card.js +47 -33
- package/src/sap/ui/integration/widgets/CardRenderer.js +6 -1
- package/src/sap-ui-integration.js +19 -17
- package/ui5.yaml +4 -0
- package/LICENSES/BSD-2-Clause.txt +0 -22
package/.reuse/dep5
CHANGED
|
@@ -28,7 +28,7 @@ Disclaimer: The code in this project may include calls to APIs (“API Calls”)
|
|
|
28
28
|
# OpenUI5 code
|
|
29
29
|
|
|
30
30
|
Files: *
|
|
31
|
-
Copyright: 2009-
|
|
31
|
+
Copyright: 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
32
32
|
License: Apache-2.0
|
|
33
33
|
|
|
34
34
|
|
|
@@ -68,7 +68,7 @@ Comment: these files belong to: jQuery UI
|
|
|
68
68
|
|
|
69
69
|
Files: src/sap.ui.commons/src/sap/ui/commons/Carousel.js
|
|
70
70
|
Copyright:
|
|
71
|
-
2009-
|
|
71
|
+
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
72
72
|
Spencer Tipping
|
|
73
73
|
License: Apache-2.0 and MIT
|
|
74
74
|
Comment: these files contain content from SAP and jquery.fix.clone: Carousel.js is authored by SAP, but contains an improved implementation of the clone function which is taken from jquery-fix-clone
|
|
@@ -83,35 +83,35 @@ Comment: these files belong to: jQuery 3
|
|
|
83
83
|
|
|
84
84
|
Files: src/sap.ui.core/src/sap/base/util/isPlainObject.js
|
|
85
85
|
Copyright:
|
|
86
|
-
2009-
|
|
86
|
+
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
87
87
|
OpenJS Foundation and other contributors
|
|
88
88
|
License: Apache-2.0 and MIT
|
|
89
89
|
Comment: these files contain content from SAP and jQuery 3: isPlainObject.js is overall written by SAP, but contains a modified implementation of jQuery.isPlainObject taken from jQuery
|
|
90
90
|
|
|
91
91
|
Files: src/sap.ui.core/src/sap/base/util/_merge.js
|
|
92
92
|
Copyright:
|
|
93
|
-
2009-
|
|
93
|
+
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
94
94
|
OpenJS Foundation and other contributors
|
|
95
95
|
License: Apache-2.0 and MIT
|
|
96
96
|
Comment: these files contain content from SAP and jQuery 3: _merge.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
|
|
97
97
|
|
|
98
98
|
Files: src/sap.ui.core/src/jquery.sap.script.js
|
|
99
99
|
Copyright:
|
|
100
|
-
2009-
|
|
100
|
+
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
101
101
|
OpenJS Foundation and other contributors
|
|
102
102
|
License: Apache-2.0 and MIT
|
|
103
103
|
Comment: these files contain content from SAP and jQuery 3: jquery.sap.script.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
|
|
104
104
|
|
|
105
105
|
Files: src/sap.ui.core/src/sap/ui/Device.js
|
|
106
106
|
Copyright:
|
|
107
|
-
2009-
|
|
107
|
+
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
108
108
|
2011, John Resig
|
|
109
109
|
License: Apache-2.0 and MIT
|
|
110
110
|
Comment: these files contain content from SAP and jQuery 1: Device.js is overall written by SAP, but contains code taken from jQuery 1.7.1 (see the respective comment)
|
|
111
111
|
|
|
112
112
|
Files: src/sap.ui.core/src/sap/ui/dom/jquery/Selectors.js
|
|
113
113
|
Copyright:
|
|
114
|
-
2009-
|
|
114
|
+
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
115
115
|
2014 jQuery Foundation and other contributors
|
|
116
116
|
License: Apache-2.0 and MIT
|
|
117
117
|
Comment: these files contain content from SAP and jQuery UI 1.8: Selectors.js is overall written by SAP, but contains code taken from jQuery UI (see the respective comments)
|
|
@@ -123,14 +123,14 @@ Comment: these files belong to: jQuery UI 1.10
|
|
|
123
123
|
|
|
124
124
|
Files: src/sap.ui.core/src/jquery.sap.dom.js
|
|
125
125
|
Copyright:
|
|
126
|
-
2009-
|
|
126
|
+
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
127
127
|
2014 jQuery Foundation and other contributors
|
|
128
128
|
License: Apache-2.0 and MIT
|
|
129
129
|
Comment: these files contain content from SAP and jQuery UI 1.10: jquery.sap.dom.js is overall written by SAP, but contains code taken from jQuery UI Core (see the respective comment)
|
|
130
130
|
|
|
131
131
|
Files: src/sap.ui.core/src/sap/ui/dom/jquery/zIndex.js
|
|
132
132
|
Copyright:
|
|
133
|
-
2009-
|
|
133
|
+
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
134
134
|
2014 jQuery Foundation and other contributors
|
|
135
135
|
License: Apache-2.0 and MIT
|
|
136
136
|
Comment: these files contain content from SAP and jQuery UI 1.11: zIndex.js is overall written by SAP, but contains an implementation of the function 'fnzIndex' which is taken from jQuery UI Datepicker 1.11.1
|
|
@@ -162,7 +162,7 @@ Comment: these files belong to: jQuery Mobile
|
|
|
162
162
|
|
|
163
163
|
Files: src/sap.ui.core/src/sap/ui/util/_FeatureDetection.js
|
|
164
164
|
Copyright:
|
|
165
|
-
2009-
|
|
165
|
+
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
166
166
|
2012 Wei-Ko Kao
|
|
167
167
|
License: Apache-2.0 and MIT
|
|
168
168
|
Comment: these files contain content from SAP and jQuery.rtl-scroll-type: _FeatureDetection.js is overall written by SAP, but contains code which is inspired by jQuery.rtl-scroll-type
|
|
@@ -177,6 +177,13 @@ Copyright: jQuery Foundation and other contributors
|
|
|
177
177
|
License: MIT
|
|
178
178
|
Comment: these files belong to: JUnit Reporter for QUnit
|
|
179
179
|
|
|
180
|
+
Files: src/sap.ui.core/src/sap/ui/qunit/qunit-junit.js
|
|
181
|
+
Copyright:
|
|
182
|
+
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
183
|
+
jQuery Foundation and other contributors
|
|
184
|
+
License: Apache-2.0 and MIT
|
|
185
|
+
Comment: these files contain content from SAP and JUnit Reporter for QUnit: qunit-junit.js is overall written by SAP, but contains a modified copy of JUnit Reporter for QUnit (qunit-reporter-junit)
|
|
186
|
+
|
|
180
187
|
Files: src/sap.ui.core/src/sap/ui/thirdparty/iscroll.js
|
|
181
188
|
Copyright: 2012 Matteo Spinelli
|
|
182
189
|
License: MIT
|
|
@@ -294,14 +301,14 @@ Comment: these files belong to: blanket.js
|
|
|
294
301
|
|
|
295
302
|
Files: src/sap.ui.core/src/sap/base/util/JSTokenizer.js
|
|
296
303
|
Copyright:
|
|
297
|
-
2009-
|
|
304
|
+
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
298
305
|
Douglas Crockford
|
|
299
306
|
License: Apache-2.0 and LicenseRef-JSONinJSPublicDomain
|
|
300
307
|
Comment: these files contain content from SAP and JSON in JS: JSTokenizer.js is overall written by SAP, but contains code has been taken from the component JSON in JavaScript (https://github.com/douglascrockford/JSON-js/blob/master/json2.js) from Douglas Crockford which is licensed under Public Domain
|
|
301
308
|
|
|
302
309
|
Files: src/sap.ui.core/src/sap/ui/base/ExpressionParser.js
|
|
303
310
|
Copyright:
|
|
304
|
-
2009-
|
|
311
|
+
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
305
312
|
2010 Douglas Crockford
|
|
306
313
|
License: Apache-2.0
|
|
307
314
|
Comment: these files contain content from SAP and Top Down Operator Precedence: ExpressionParser.js is overall written by SAP, but contains code taken from or inspired by TDOP by Douglas Crockford (see the respective comment)
|
|
@@ -335,7 +342,7 @@ Comment: these files contain content from p-cancelable and @babel/helpers: _Canc
|
|
|
335
342
|
|
|
336
343
|
Files: src/sap.ui.core/src/sap/ui/core/date/Persian.js
|
|
337
344
|
Copyright:
|
|
338
|
-
2009-
|
|
345
|
+
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
339
346
|
Behrang Norouzinia
|
|
340
347
|
License: Apache-2.0 and MIT
|
|
341
348
|
Comment: these files contain content from SAP and Jalaali JS: Persian.js is overall written by SAP, but the calculation is taken from jalaali-js
|
|
@@ -347,14 +354,14 @@ Comment: these files belong to: vkBeautify
|
|
|
347
354
|
|
|
348
355
|
Files: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
|
|
349
356
|
Copyright:
|
|
350
|
-
2009-
|
|
357
|
+
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
351
358
|
Isaac Z. Schlueter and Contributors
|
|
352
359
|
License: Apache-2.0 and ISC
|
|
353
360
|
Comment: these files contain content from SAP and node-lru-cache: LRUPersistentCache.js is overall written by SAP, but portions ('Least Recently Used' logic) are taken from the node-lru-cache project (see https://github.com/isaacs/node-lru-cache/blob/v2.7.3/README.md) and modified.
|
|
354
361
|
|
|
355
362
|
Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
|
|
356
363
|
Copyright:
|
|
357
|
-
2009-
|
|
364
|
+
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
358
365
|
Arthur David Olson, Paul Eggert and other contributors
|
|
359
366
|
License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
|
|
360
367
|
Comment: these files contain content from SAP and Time Zone Database: _timezones.js is overall written by SAP, but the list of IANA timezone IDs is taken from the Timezone Database
|
|
@@ -362,11 +369,6 @@ Comment: these files contain content from SAP and Time Zone Database: _timezones
|
|
|
362
369
|
|
|
363
370
|
# Library: sap.ui.documentation:
|
|
364
371
|
|
|
365
|
-
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/esprima.js
|
|
366
|
-
Copyright: 2013 Ariya Hidayat and other contributors
|
|
367
|
-
License: BSD-2-Clause
|
|
368
|
-
Comment: these files belong to: Esprima
|
|
369
|
-
|
|
370
372
|
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/*
|
|
371
373
|
Copyright: 2006-2020, Ivan Sagalaev
|
|
372
374
|
License: BSD-3-Clause
|
|
@@ -459,7 +461,7 @@ Comment: these files belong to: UI5 Web Components
|
|
|
459
461
|
|
|
460
462
|
Files: lib/jsdoc/ui5/plugin.js
|
|
461
463
|
Copyright:
|
|
462
|
-
2009-
|
|
464
|
+
2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
463
465
|
2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
|
|
464
466
|
License: Apache-2.0
|
|
465
467
|
Comment: these files contain content from SAP and JSDoc 3: plugin.js is overall written by SAP, but contains code taken from JSDoc 3.6.7 (see the respective comments)
|
package/THIRDPARTY.txt
CHANGED
|
@@ -15,7 +15,7 @@ Contained in: src/sap.m/src/sap/m/_thirdparty/purify.js
|
|
|
15
15
|
|
|
16
16
|
Library: sap.ui.codeeditor:
|
|
17
17
|
|
|
18
|
-
Component: Ace (Ajax.org Cloud9 Editor), version: 1.
|
|
18
|
+
Component: Ace (Ajax.org Cloud9 Editor), version: 1.31.1
|
|
19
19
|
Copyright: 2010, Ajax.org B.V.
|
|
20
20
|
License: BSD-3-Clause
|
|
21
21
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
@@ -124,6 +124,7 @@ Copyright: jQuery Foundation and other contributors
|
|
|
124
124
|
License: MIT
|
|
125
125
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
126
126
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-reporter-junit.js
|
|
127
|
+
src/sap.ui.core/src/sap/ui/qunit/qunit-junit.js
|
|
127
128
|
|
|
128
129
|
Component: cubiq.org - iScroll, version: 4.2.5
|
|
129
130
|
Copyright: 2012 Matteo Spinelli
|
|
@@ -179,7 +180,7 @@ License: Apache-2.0
|
|
|
179
180
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
180
181
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
|
|
181
182
|
|
|
182
|
-
Component: Unicode Common Locale Data Repository, version:
|
|
183
|
+
Component: Unicode Common Locale Data Repository, version: 44
|
|
183
184
|
Copyright: 1991-2023 Unicode, Inc.
|
|
184
185
|
License: Unicode-DFS-2015
|
|
185
186
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
|
|
@@ -334,7 +335,7 @@ License: ISC
|
|
|
334
335
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
|
|
335
336
|
Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
|
|
336
337
|
|
|
337
|
-
Component: Time Zone Database, version:
|
|
338
|
+
Component: Time Zone Database, version: 2023d
|
|
338
339
|
Copyright: Arthur David Olson, Paul Eggert and other contributors
|
|
339
340
|
License: LicenseRef-tzdata-PublicDomain
|
|
340
341
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
|
|
@@ -343,13 +344,7 @@ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
|
|
|
343
344
|
|
|
344
345
|
Library: sap.ui.documentation:
|
|
345
346
|
|
|
346
|
-
Component:
|
|
347
|
-
Copyright: 2013 Ariya Hidayat and other contributors
|
|
348
|
-
License: BSD-2-Clause
|
|
349
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-2-Clause.txt
|
|
350
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/esprima.js
|
|
351
|
-
|
|
352
|
-
Component: highlight.js, version: 10.4.1
|
|
347
|
+
Component: highlight.js, version: 11.9.0
|
|
353
348
|
Copyright: 2006-2020, Ivan Sagalaev
|
|
354
349
|
License: BSD-3-Clause
|
|
355
350
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
@@ -466,7 +461,7 @@ License: Apache-2.0
|
|
|
466
461
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
467
462
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
468
463
|
|
|
469
|
-
Component: SAP Theming Base Content, version: 11.
|
|
464
|
+
Component: SAP Theming Base Content, version: 11.10.0
|
|
470
465
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
471
466
|
License: Apache-2.0
|
|
472
467
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
@@ -663,38 +658,6 @@ END of license: Apache-2.0
|
|
|
663
658
|
=================================
|
|
664
659
|
|
|
665
660
|
|
|
666
|
-
=================================
|
|
667
|
-
BEGIN of license: BSD-2-Clause
|
|
668
|
-
=================================
|
|
669
|
-
|
|
670
|
-
Copyright (c) <year> <owner>. All rights reserved.
|
|
671
|
-
|
|
672
|
-
Redistribution and use in source and binary forms, with or without modification,
|
|
673
|
-
are permitted provided that the following conditions are met:
|
|
674
|
-
|
|
675
|
-
1. Redistributions of source code must retain the above copyright notice,
|
|
676
|
-
this list of conditions and the following disclaimer.
|
|
677
|
-
|
|
678
|
-
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
679
|
-
this list of conditions and the following disclaimer in the documentation
|
|
680
|
-
and/or other materials provided with the distribution.
|
|
681
|
-
|
|
682
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
683
|
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
684
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
685
|
-
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
686
|
-
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
687
|
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
688
|
-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
689
|
-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
690
|
-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
|
691
|
-
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
692
|
-
|
|
693
|
-
=================================
|
|
694
|
-
END of license: BSD-2-Clause
|
|
695
|
-
=================================
|
|
696
|
-
|
|
697
|
-
|
|
698
661
|
=================================
|
|
699
662
|
BEGIN of license: BSD-3-Clause
|
|
700
663
|
=================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.integration",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.121.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,10 +14,10 @@
|
|
|
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.
|
|
19
|
-
"@openui5/sap.m": "1.
|
|
20
|
-
"@openui5/sap.ui.unified": "1.
|
|
21
|
-
"@openui5/sap.ui.layout": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.121.1",
|
|
18
|
+
"@openui5/sap.f": "1.121.1",
|
|
19
|
+
"@openui5/sap.m": "1.121.1",
|
|
20
|
+
"@openui5/sap.ui.unified": "1.121.1",
|
|
21
|
+
"@openui5/sap.ui.layout": "1.121.1"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2024 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.121.1</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with integration-related controls.</documentation>
|
|
12
12
|
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @extends sap.ui.core.Element
|
|
31
31
|
*
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.121.1
|
|
34
34
|
*
|
|
35
35
|
* @constructor
|
|
36
36
|
* @public
|
|
@@ -268,16 +268,18 @@ sap.ui.define([
|
|
|
268
268
|
};
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
|
-
* Resolves the
|
|
271
|
+
* Resolves the value of a CSRF token.
|
|
272
|
+
* Subclasses of Host can override this method to take over the default CSRF token resolving.
|
|
273
|
+
* Applications must not call this method directly, it is called by the framework.
|
|
272
274
|
*
|
|
273
|
-
* @param {{data: object}}
|
|
274
|
-
* @returns {Promise<string>} A promise which resolves the CSRF token to its value.
|
|
275
|
+
* @param {{data: object}} csrfTokenConfig The CSRF token configuration.
|
|
275
276
|
* @experimental since 1.97
|
|
277
|
+
* @returns {Promise<string>} A promise which resolves the CSRF token to its value.
|
|
276
278
|
* @abstract
|
|
277
279
|
* @protected
|
|
278
280
|
* @deprecated As of version 1.120.0
|
|
279
281
|
*/
|
|
280
|
-
Host.prototype.getCsrfToken = function (
|
|
282
|
+
Host.prototype.getCsrfToken = function (csrfTokenConfig) {
|
|
281
283
|
return Promise.resolve();
|
|
282
284
|
};
|
|
283
285
|
|
|
@@ -417,10 +419,10 @@ sap.ui.define([
|
|
|
417
419
|
/**
|
|
418
420
|
* Modifies the card HTTP data request headers before sending.
|
|
419
421
|
* Override if you need to change the default headers behavior, including cache headers.
|
|
420
|
-
* @param {
|
|
421
|
-
* @param {
|
|
422
|
+
* @param {object} mHeaders The current map of headers.
|
|
423
|
+
* @param {object} mSettings The map of request settings defined in the card manifest.
|
|
422
424
|
* @param {sap.ui.integration.widgets.Card} [oCard] Optional. The card for which the request is made.
|
|
423
|
-
* @returns {
|
|
425
|
+
* @returns {object} Map of http headers.
|
|
424
426
|
* @private
|
|
425
427
|
* @ui5-restricted
|
|
426
428
|
* @deprecated Since 1.113 Use Host.prototype.fetch instead.
|
|
@@ -432,12 +434,12 @@ sap.ui.define([
|
|
|
432
434
|
/**
|
|
433
435
|
* Modifies the card HTTP data request before sending.
|
|
434
436
|
* Override if you need to change the default data request behavior.
|
|
435
|
-
* @param {
|
|
437
|
+
* @param {object} mRequest The current request.
|
|
436
438
|
* @param {string} mRequest.url The request url.
|
|
437
439
|
* @param {object} mRequest.options The request options in the same format as for the native Request object.
|
|
438
|
-
* @param {
|
|
440
|
+
* @param {object} mSettings The map of request settings defined in the card manifest.
|
|
439
441
|
* @param {sap.ui.integration.widgets.Card} [oCard] Optional. The card for which the request is made.
|
|
440
|
-
* @returns {
|
|
442
|
+
* @returns {object} The modified request.
|
|
441
443
|
* @private
|
|
442
444
|
* @ui5-restricted
|
|
443
445
|
* @deprecated Since 1.113 Use Host.prototype.fetch instead.
|
|
@@ -483,7 +485,7 @@ sap.ui.define([
|
|
|
483
485
|
/**
|
|
484
486
|
* @private
|
|
485
487
|
* @param {Headers} mHeaders The current map of headers.
|
|
486
|
-
* @param {
|
|
488
|
+
* @param {object} mRequestSettings The map of request settings defined in the card manifest.
|
|
487
489
|
*/
|
|
488
490
|
Host.prototype._addCacheHeaders = function (mHeaders, mRequestSettings) {
|
|
489
491
|
var oCacheSettings = mRequestSettings.cache,
|
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
7
|
+
"sap/base/i18n/Localization",
|
|
8
|
+
"sap/ui/core/Lib",
|
|
9
|
+
"sap/ui/integration/library",
|
|
10
|
+
"sap/ui/core/library",
|
|
11
|
+
"sap/ui/dom/includeScript",
|
|
12
|
+
"sap/ui/integration/cards/BaseContent",
|
|
13
|
+
"sap/ui/integration/cards/adaptivecards/elements/hostConfig",
|
|
14
|
+
"sap/m/VBox",
|
|
15
|
+
"sap/ui/core/HTML",
|
|
16
|
+
"sap/ui/model/json/JSONModel",
|
|
17
|
+
"sap/base/Log"
|
|
18
|
+
],
|
|
19
|
+
function(Localization, Library, library, coreLibrary, includeScript, BaseContent, hostConfig, VBox, HTML, JSONModel, Log) {
|
|
20
20
|
"use strict";
|
|
21
21
|
|
|
22
22
|
// lazy dependencies, loaded on demand
|
|
@@ -37,7 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
* @extends sap.ui.integration.cards.BaseContent
|
|
38
38
|
*
|
|
39
39
|
* @author SAP SE
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.121.1
|
|
41
41
|
*
|
|
42
42
|
* @constructor
|
|
43
43
|
* @private
|
|
@@ -259,7 +259,7 @@ sap.ui.define([
|
|
|
259
259
|
*/
|
|
260
260
|
AdaptiveContent.prototype._isRtl = function () {
|
|
261
261
|
this.adaptiveCardInstance.isRtl = function () {
|
|
262
|
-
return
|
|
262
|
+
return Localization.getRTL();
|
|
263
263
|
};
|
|
264
264
|
};
|
|
265
265
|
|
|
@@ -300,7 +300,7 @@ sap.ui.define([
|
|
|
300
300
|
};
|
|
301
301
|
|
|
302
302
|
AdaptiveContent.prototype.onActionSubmitEnd = function (oResponse, oError) {
|
|
303
|
-
var oResourceBundle =
|
|
303
|
+
var oResourceBundle = Library.getResourceBundleFor("sap.ui.integration"),
|
|
304
304
|
sMessage = oError ? oResourceBundle.getText("CARDS_ADAPTIVE_ACTION_SUBMIT_ERROR") :
|
|
305
305
|
oResourceBundle.getText("CARDS_ADAPTIVE_ACTION_SUBMIT_SUCCESS"),
|
|
306
306
|
sMessageType = oError ? MessageType.Error : MessageType.Success;
|
|
@@ -8,21 +8,21 @@ sap.ui.define([
|
|
|
8
8
|
"./BaseContent",
|
|
9
9
|
"sap/f/cards/loading/AnalyticalPlaceholder",
|
|
10
10
|
"sap/m/IllustratedMessageType",
|
|
11
|
+
"sap/ui/core/Lib",
|
|
11
12
|
"sap/ui/integration/library",
|
|
12
13
|
"sap/ui/integration/util/BindingResolver",
|
|
13
14
|
"sap/base/Log",
|
|
14
|
-
"sap/base/util/merge"
|
|
15
|
-
"sap/ui/core/Core"
|
|
15
|
+
"sap/base/util/merge"
|
|
16
16
|
], function (
|
|
17
17
|
AnalyticalContentRenderer,
|
|
18
18
|
BaseContent,
|
|
19
19
|
AnalyticalPlaceholder,
|
|
20
20
|
IllustratedMessageType,
|
|
21
|
+
Library,
|
|
21
22
|
library,
|
|
22
23
|
BindingResolver,
|
|
23
24
|
Log,
|
|
24
|
-
merge
|
|
25
|
-
Core
|
|
25
|
+
merge
|
|
26
26
|
) {
|
|
27
27
|
"use strict";
|
|
28
28
|
|
|
@@ -92,7 +92,7 @@ sap.ui.define([
|
|
|
92
92
|
* @extends sap.ui.integration.cards.BaseContent
|
|
93
93
|
*
|
|
94
94
|
* @author SAP SE
|
|
95
|
-
* @version 1.
|
|
95
|
+
* @version 1.121.1
|
|
96
96
|
*
|
|
97
97
|
* @constructor
|
|
98
98
|
* @private
|
|
@@ -114,6 +114,16 @@ sap.ui.define([
|
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
|
|
117
|
+
AnalyticalContent.prototype.applyConfiguration = function () {
|
|
118
|
+
var oConfiguration = this.getParsedConfiguration();
|
|
119
|
+
|
|
120
|
+
if (!oConfiguration) {
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
this._createChart();
|
|
125
|
+
};
|
|
126
|
+
|
|
117
127
|
/**
|
|
118
128
|
* @override
|
|
119
129
|
*/
|
|
@@ -129,7 +139,7 @@ sap.ui.define([
|
|
|
129
139
|
*/
|
|
130
140
|
AnalyticalContent.prototype.loadDependencies = function (oCardManifest) {
|
|
131
141
|
return new Promise(function (resolve, reject) {
|
|
132
|
-
|
|
142
|
+
Library.load("sap.viz")
|
|
133
143
|
.then(function () {
|
|
134
144
|
sap.ui.require([
|
|
135
145
|
"sap/viz/ui5/controls/VizFrame",
|
|
@@ -162,7 +172,7 @@ sap.ui.define([
|
|
|
162
172
|
* @private
|
|
163
173
|
*/
|
|
164
174
|
AnalyticalContent.prototype.onDataChanged = function () {
|
|
165
|
-
this.
|
|
175
|
+
this._updateChart();
|
|
166
176
|
var oChart = this.getAggregation("_content");
|
|
167
177
|
|
|
168
178
|
if (oChart) {
|
|
@@ -204,10 +214,7 @@ sap.ui.define([
|
|
|
204
214
|
},
|
|
205
215
|
height: "100%",
|
|
206
216
|
width: "100%",
|
|
207
|
-
vizType: ChartTypes[oResolvedConfiguration.chartType] || oResolvedConfiguration.chartType
|
|
208
|
-
vizProperties: this._getVizProperties(oResolvedConfiguration),
|
|
209
|
-
dataset: this._getDataset(oConfiguration, oResolvedConfiguration),
|
|
210
|
-
feeds: this._getFeeds(oResolvedConfiguration)
|
|
217
|
+
vizType: ChartTypes[oResolvedConfiguration.chartType] || oResolvedConfiguration.chartType
|
|
211
218
|
});
|
|
212
219
|
|
|
213
220
|
this.setAggregation("_content", oChart);
|
|
@@ -218,6 +225,25 @@ sap.ui.define([
|
|
|
218
225
|
}
|
|
219
226
|
};
|
|
220
227
|
|
|
228
|
+
AnalyticalContent.prototype._updateChart = function () {
|
|
229
|
+
var oConfiguration = this.getParsedConfiguration();
|
|
230
|
+
var oChart = this.getAggregation("_content");
|
|
231
|
+
var oResolvedConfiguration = BindingResolver.resolveValue(oConfiguration, this, "/");
|
|
232
|
+
|
|
233
|
+
if (!oChart) {
|
|
234
|
+
return;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
oChart.destroyDataset().destroyFeeds();
|
|
238
|
+
|
|
239
|
+
oChart.applySettings({
|
|
240
|
+
vizProperties: this._getVizProperties(oResolvedConfiguration),
|
|
241
|
+
dataset: this._getDataset(oConfiguration, oResolvedConfiguration),
|
|
242
|
+
feeds: this._getFeeds(oResolvedConfiguration),
|
|
243
|
+
vizType: ChartTypes[oResolvedConfiguration.chartType] || oResolvedConfiguration.chartType
|
|
244
|
+
});
|
|
245
|
+
};
|
|
246
|
+
|
|
221
247
|
AnalyticalContent.prototype._attachActions = function (oConfiguration) {
|
|
222
248
|
var oActionConfig = {
|
|
223
249
|
area: ActionArea.Content,
|
|
@@ -12,8 +12,8 @@ sap.ui.define([
|
|
|
12
12
|
"sap/m/library",
|
|
13
13
|
"sap/m/IllustratedMessageType",
|
|
14
14
|
"sap/m/IllustratedMessageSize",
|
|
15
|
-
"sap/ui/core/Core",
|
|
16
15
|
"sap/ui/core/Control",
|
|
16
|
+
"sap/ui/core/Element",
|
|
17
17
|
"sap/ui/core/InvisibleMessage",
|
|
18
18
|
"sap/ui/core/library",
|
|
19
19
|
"sap/ui/integration/controls/BlockingMessage",
|
|
@@ -32,8 +32,8 @@ sap.ui.define([
|
|
|
32
32
|
mLibrary,
|
|
33
33
|
IllustratedMessageType,
|
|
34
34
|
IllustratedMessageSize,
|
|
35
|
-
Core,
|
|
36
35
|
Control,
|
|
36
|
+
Element,
|
|
37
37
|
InvisibleMessage,
|
|
38
38
|
coreLibrary,
|
|
39
39
|
BlockingMessage,
|
|
@@ -69,7 +69,7 @@ sap.ui.define([
|
|
|
69
69
|
* @extends sap.ui.core.Control
|
|
70
70
|
*
|
|
71
71
|
* @author SAP SE
|
|
72
|
-
* @version 1.
|
|
72
|
+
* @version 1.121.1
|
|
73
73
|
*
|
|
74
74
|
* @constructor
|
|
75
75
|
* @private
|
|
@@ -421,6 +421,15 @@ sap.ui.define([
|
|
|
421
421
|
return null;
|
|
422
422
|
};
|
|
423
423
|
|
|
424
|
+
/**
|
|
425
|
+
* @private
|
|
426
|
+
* @ui5-restricted sap.ui.integration
|
|
427
|
+
* @returns {Object} The static configuration for the blocking message
|
|
428
|
+
*/
|
|
429
|
+
BaseContent.prototype.getBlockingMessageStaticConfiguration = function () {
|
|
430
|
+
return this.getAggregation("_blockingMessage")?.getStaticConfiguration();
|
|
431
|
+
};
|
|
432
|
+
|
|
424
433
|
/**
|
|
425
434
|
* Show 'No Data' blocking message in the content. If there is configuration in the manifest, it will be applied.
|
|
426
435
|
* @protected
|
|
@@ -794,7 +803,7 @@ sap.ui.define([
|
|
|
794
803
|
BaseContent.prototype.validateControls = function (bShowValueState, bSkipFiringStateChangedEvent) { };
|
|
795
804
|
|
|
796
805
|
BaseContent.prototype.getCardInstance = function () {
|
|
797
|
-
return
|
|
806
|
+
return Element.getElementById(this.getCard());
|
|
798
807
|
};
|
|
799
808
|
|
|
800
809
|
BaseContent.prototype.isSkeleton = function () {
|
|
@@ -109,7 +109,7 @@ sap.ui.define([
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
// check if there is an element up the DOM which enables compact density
|
|
112
|
-
return oReferenceElement
|
|
112
|
+
return oReferenceElement.getDomRef()?.closest(".sapUiSizeCompact")?.classList.contains("sapUiSizeCompact");
|
|
113
113
|
};
|
|
114
114
|
|
|
115
115
|
return BaseContentRenderer;
|