@openui5/sap.ui.integration 1.136.3 → 1.139.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/README.md +1 -1
- package/REUSE.toml +8 -29
- package/THIRDPARTY.txt +72 -90
- package/package.json +7 -8
- package/src/sap/ui/integration/.library +1 -4
- 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 +1 -1
- package/src/sap/ui/integration/cards/AdaptiveContent.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticalContent.js +3 -3
- package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +23 -6
- package/src/sap/ui/integration/cards/BaseContent.js +9 -1
- package/src/sap/ui/integration/cards/BaseListContent.js +4 -2
- package/src/sap/ui/integration/cards/CalendarContent.js +1 -1
- package/src/sap/ui/integration/cards/ComponentContent.js +7 -5
- package/src/sap/ui/integration/cards/Footer.js +1 -1
- package/src/sap/ui/integration/cards/Header.js +7 -3
- package/src/sap/ui/integration/cards/ListContent.js +17 -2
- package/src/sap/ui/integration/cards/NumericHeader.js +20 -4
- package/src/sap/ui/integration/cards/ObjectContent.js +57 -27
- package/src/sap/ui/integration/cards/TableContent.js +29 -10
- package/src/sap/ui/integration/cards/TimelineContent.js +1 -1
- package/src/sap/ui/integration/cards/WebPageContent.js +15 -13
- package/src/sap/ui/integration/cards/actions/CardActions.js +4 -2
- 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/filters/BaseFilter.js +2 -2
- package/src/sap/ui/integration/cards/filters/ComboBoxFilter.js +1 -1
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +16 -4
- package/src/sap/ui/integration/cards/filters/FilterBar.js +1 -1
- package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +1 -1
- package/src/sap/ui/integration/cards/filters/SearchFilter.js +1 -1
- 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 +1 -1
- package/src/sap/ui/integration/controls/ActionsToolbar.js +1 -1
- package/src/sap/ui/integration/controls/BlockingMessage.js +2 -2
- package/src/sap/ui/integration/controls/ComboBox.js +1 -1
- package/src/sap/ui/integration/controls/HeaderInfoSectionColumn.js +1 -1
- package/src/sap/ui/integration/controls/HeaderInfoSectionColumnRenderer.js +1 -1
- package/src/sap/ui/integration/controls/HeaderInfoSectionRow.js +1 -1
- package/src/sap/ui/integration/controls/HeaderInfoSectionRowRenderer.js +1 -1
- package/src/sap/ui/integration/controls/ImageWithOverlay.js +9 -9
- package/src/sap/ui/integration/controls/ListContentItem.js +16 -5
- package/src/sap/ui/integration/controls/Microchart.js +1 -1
- package/src/sap/ui/integration/controls/MicrochartLegend.js +1 -1
- package/src/sap/ui/integration/controls/ObjectStatus.js +1 -1
- package/src/sap/ui/integration/delegate/OverflowHandler.js +1 -1
- package/src/sap/ui/integration/delegate/Paginator.js +1 -1
- package/src/sap/ui/integration/delegate/PreventKeyboardScrolling.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +1 -1
- 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/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 +1 -1
- 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 +1 -1
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +1 -1
- package/src/sap/ui/integration/editor/Editor.js +12 -3
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +6 -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 +1 -1
- package/src/sap/ui/integration/editor/fields/BaseField.js +1 -1
- package/src/sap/ui/integration/editor/fields/BooleanField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateTimeField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DestinationField.js +1 -1
- package/src/sap/ui/integration/editor/fields/GroupField.js +1 -1
- package/src/sap/ui/integration/editor/fields/IntegerField.js +1 -1
- package/src/sap/ui/integration/editor/fields/NumberField.js +1 -1
- package/src/sap/ui/integration/editor/fields/ObjectField.js +62 -23
- package/src/sap/ui/integration/editor/fields/ObjectListField.js +22 -5
- package/src/sap/ui/integration/editor/fields/StringField.js +3 -3
- package/src/sap/ui/integration/editor/fields/StringListField.js +1 -1
- package/src/sap/ui/integration/editor/fields/fragment/Controller.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +1 -1
- 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/extensions/OAuth3LO.js +10 -10
- package/src/sap/ui/integration/i18n/public/messagebundle.properties +5 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_ar.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_bg.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_ca.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_cnr.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_cs.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_cy.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_da.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_de.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_el.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_en.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_en_GB.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_en_US_sappsd.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_en_US_saprigi.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_en_US_saptrc.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_es.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_es_MX.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_et.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_fi.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_fr.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_fr_CA.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_hi.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_hr.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_hu.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_id.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_it.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_iw.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_ja.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_kk.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_ko.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_lt.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_lv.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_mk.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_ms.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_nl.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_no.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_pl.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_pt.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_pt_PT.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_ro.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_ru.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_sh.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_sk.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_sl.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_sr.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_sv.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_th.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_tr.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_uk.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_vi.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_zh_CN.properties +2 -0
- package/src/sap/ui/integration/i18n/public/messagebundle_zh_TW.properties +2 -0
- package/src/sap/ui/integration/library.js +4 -6
- package/src/sap/ui/integration/messagebundle.properties +7 -7
- package/src/sap/ui/integration/messagebundle_ar.properties +4 -4
- package/src/sap/ui/integration/messagebundle_bg.properties +4 -4
- package/src/sap/ui/integration/messagebundle_ca.properties +4 -4
- package/src/sap/ui/integration/messagebundle_cnr.properties +4 -4
- package/src/sap/ui/integration/messagebundle_cs.properties +4 -4
- package/src/sap/ui/integration/messagebundle_cy.properties +4 -4
- package/src/sap/ui/integration/messagebundle_da.properties +4 -4
- package/src/sap/ui/integration/messagebundle_de.properties +3 -3
- package/src/sap/ui/integration/messagebundle_el.properties +4 -4
- package/src/sap/ui/integration/messagebundle_en.properties +4 -4
- package/src/sap/ui/integration/messagebundle_en_GB.properties +4 -4
- package/src/sap/ui/integration/messagebundle_en_US_sappsd.properties +0 -2
- package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +4 -4
- package/src/sap/ui/integration/messagebundle_en_US_saptrc.properties +0 -2
- package/src/sap/ui/integration/messagebundle_es.properties +4 -4
- package/src/sap/ui/integration/messagebundle_es_MX.properties +4 -4
- package/src/sap/ui/integration/messagebundle_et.properties +4 -4
- package/src/sap/ui/integration/messagebundle_fi.properties +4 -4
- package/src/sap/ui/integration/messagebundle_fr.properties +4 -4
- package/src/sap/ui/integration/messagebundle_fr_CA.properties +4 -4
- package/src/sap/ui/integration/messagebundle_hi.properties +4 -4
- package/src/sap/ui/integration/messagebundle_hr.properties +4 -4
- package/src/sap/ui/integration/messagebundle_hu.properties +4 -4
- package/src/sap/ui/integration/messagebundle_id.properties +4 -4
- package/src/sap/ui/integration/messagebundle_it.properties +4 -4
- package/src/sap/ui/integration/messagebundle_iw.properties +3 -3
- package/src/sap/ui/integration/messagebundle_ja.properties +4 -4
- package/src/sap/ui/integration/messagebundle_kk.properties +4 -4
- package/src/sap/ui/integration/messagebundle_ko.properties +4 -4
- package/src/sap/ui/integration/messagebundle_lt.properties +4 -4
- package/src/sap/ui/integration/messagebundle_lv.properties +4 -4
- package/src/sap/ui/integration/messagebundle_mk.properties +4 -4
- package/src/sap/ui/integration/messagebundle_ms.properties +4 -4
- package/src/sap/ui/integration/messagebundle_nl.properties +4 -4
- package/src/sap/ui/integration/messagebundle_no.properties +3 -3
- package/src/sap/ui/integration/messagebundle_pl.properties +4 -4
- package/src/sap/ui/integration/messagebundle_pt.properties +4 -4
- package/src/sap/ui/integration/messagebundle_pt_PT.properties +4 -4
- package/src/sap/ui/integration/messagebundle_ro.properties +4 -4
- package/src/sap/ui/integration/messagebundle_ru.properties +4 -4
- package/src/sap/ui/integration/messagebundle_sh.properties +4 -4
- package/src/sap/ui/integration/messagebundle_sk.properties +4 -4
- package/src/sap/ui/integration/messagebundle_sl.properties +4 -4
- package/src/sap/ui/integration/messagebundle_sr.properties +4 -4
- package/src/sap/ui/integration/messagebundle_sv.properties +4 -4
- package/src/sap/ui/integration/messagebundle_th.properties +4 -4
- package/src/sap/ui/integration/messagebundle_tr.properties +4 -4
- package/src/sap/ui/integration/messagebundle_uk.properties +4 -4
- package/src/sap/ui/integration/messagebundle_vi.properties +4 -4
- package/src/sap/ui/integration/messagebundle_zh_CN.properties +4 -4
- package/src/sap/ui/integration/messagebundle_zh_TW.properties +4 -4
- 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/schemas/sap-card.json +67 -6
- package/src/sap/ui/integration/util/AnalyticsCloudHelper.js +1 -1
- package/src/sap/ui/integration/util/BaseFactory.js +1 -1
- package/src/sap/ui/integration/util/BindingHelper.js +20 -2
- package/src/sap/ui/integration/util/BindingResolver.js +34 -4
- package/src/sap/ui/integration/util/CardObserver.js +1 -1
- package/src/sap/ui/integration/util/ComboBoxHelper.js +1 -1
- package/src/sap/ui/integration/util/ContentFactory.js +8 -4
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +1 -1
- package/src/sap/ui/integration/util/DataProvider.js +1 -1
- package/src/sap/ui/integration/util/DataProviderFactory.js +1 -1
- package/src/sap/ui/integration/util/DateRangeHelper.js +24 -2
- package/src/sap/ui/integration/util/Destinations.js +1 -1
- package/src/sap/ui/integration/util/DisplayVariants.js +1 -1
- package/src/sap/ui/integration/util/ErrorHandler.js +26 -23
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
- package/src/sap/ui/integration/util/Form.js +2 -2
- package/src/sap/ui/integration/util/HeaderFactory.js +25 -20
- 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 +1 -1
- package/src/sap/ui/integration/util/ManifestResolver.js +8 -2
- package/src/sap/ui/integration/util/OAuth3LOHelper.js +1 -1
- package/src/sap/ui/integration/util/ObjectStatusFactory.js +1 -1
- package/src/sap/ui/integration/util/RequestDataProvider.js +33 -26
- 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/SorterHelper.js +1 -1
- package/src/sap/ui/integration/util/Utils.js +5 -1
- package/src/sap/ui/integration/util/Validators.js +1 -1
- package/src/sap/ui/integration/util/openCardDialog.js +4 -0
- package/src/sap/ui/integration/util/subtitleToSubTitle.js +36 -0
- package/src/sap/ui/integration/widgets/Card.js +96 -47
- package/ui5.yaml +97 -12
|
@@ -9,14 +9,16 @@ sap.ui.define([
|
|
|
9
9
|
"sap/base/Log",
|
|
10
10
|
"sap/ui/model/odata/v4/ODataUtils",
|
|
11
11
|
"sap/base/util/fetch",
|
|
12
|
-
"sap/base/util/deepClone"
|
|
12
|
+
"sap/base/util/deepClone",
|
|
13
|
+
"sap/base/util/isPlainObject"
|
|
13
14
|
], function (
|
|
14
15
|
Element,
|
|
15
16
|
DataProvider,
|
|
16
17
|
Log,
|
|
17
18
|
ODataUtils,
|
|
18
19
|
fetch,
|
|
19
|
-
deepClone
|
|
20
|
+
deepClone,
|
|
21
|
+
isPlainObject
|
|
20
22
|
) {
|
|
21
23
|
"use strict";
|
|
22
24
|
|
|
@@ -72,7 +74,7 @@ sap.ui.define([
|
|
|
72
74
|
* @extends sap.ui.integration.util.DataProvider
|
|
73
75
|
*
|
|
74
76
|
* @author SAP SE
|
|
75
|
-
* @version 1.
|
|
77
|
+
* @version 1.139.0
|
|
76
78
|
*
|
|
77
79
|
* @constructor
|
|
78
80
|
* @private
|
|
@@ -211,38 +213,26 @@ sap.ui.define([
|
|
|
211
213
|
sDataType = (this.getAllowCustomDataType() && oRequestConfig.dataType) || "json",
|
|
212
214
|
mHeaders = oRequestConfig.headers || {},
|
|
213
215
|
mBatchRequests = oRequestConfig.batch,
|
|
214
|
-
oBatchSerialized,
|
|
215
|
-
oRequest,
|
|
216
216
|
vBody,
|
|
217
|
-
sMethod = oRequestConfig.method && oRequestConfig.method.toUpperCase() || "GET"
|
|
218
|
-
bJsonRequest = this._hasHeader(oRequestConfig, "Content-Type", "application/json"),
|
|
219
|
-
bGetMethod = ["GET", "HEAD"].includes(sMethod);
|
|
217
|
+
sMethod = oRequestConfig.method && oRequestConfig.method.toUpperCase() || "GET";
|
|
220
218
|
|
|
221
219
|
if ( !sUrl.startsWith("/")) {
|
|
222
220
|
sUrl = this._getRuntimeUrl(oRequestConfig.url);
|
|
223
221
|
}
|
|
224
222
|
|
|
225
|
-
if (oParameters) {
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
} else if (bGetMethod) {
|
|
230
|
-
sUrl = combineUrlAndParams(sUrl, oParameters);
|
|
231
|
-
} else if (oParameters instanceof FormData) {
|
|
232
|
-
vBody = oParameters;
|
|
233
|
-
} else {
|
|
234
|
-
// application/x-www-form-urlencoded
|
|
235
|
-
vBody = new URLSearchParams(oParameters);
|
|
236
|
-
}
|
|
223
|
+
if (oParameters && isPlainObject(oParameters) && ["GET", "HEAD"].includes(sMethod)) {
|
|
224
|
+
sUrl = combineUrlAndParams(sUrl, oParameters);
|
|
225
|
+
} else if (oParameters) {
|
|
226
|
+
vBody = this._encodeParameters(oParameters, oRequestConfig);
|
|
237
227
|
}
|
|
238
228
|
|
|
239
229
|
if (mBatchRequests) {
|
|
240
|
-
oBatchSerialized = ODataUtils.serializeBatchRequest(Object.values(mBatchRequests));
|
|
230
|
+
const oBatchSerialized = ODataUtils.serializeBatchRequest(Object.values(mBatchRequests));
|
|
241
231
|
vBody = oBatchSerialized.body;
|
|
242
232
|
mHeaders = Object.assign({}, mHeaders, oBatchSerialized.headers);
|
|
243
233
|
}
|
|
244
234
|
|
|
245
|
-
oRequest = {
|
|
235
|
+
let oRequest = {
|
|
246
236
|
url: sUrl,
|
|
247
237
|
options: {
|
|
248
238
|
mode: oRequestConfig.mode || "cors",
|
|
@@ -323,6 +313,23 @@ sap.ui.define([
|
|
|
323
313
|
});
|
|
324
314
|
};
|
|
325
315
|
|
|
316
|
+
RequestDataProvider.prototype._encodeParameters = function (oParameters, oRequestConfiguration) {
|
|
317
|
+
if (this._hasHeader(oRequestConfiguration, "Content-Type", /^application\/json$/)) {
|
|
318
|
+
return JSON.stringify(oParameters);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
if (this._hasHeader(oRequestConfiguration, "Content-Type", /^text\/plain/)) {
|
|
322
|
+
return oParameters;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
if (oParameters instanceof FormData) {
|
|
326
|
+
return oParameters;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
// application/x-www-form-urlencoded
|
|
330
|
+
return new URLSearchParams(oParameters);
|
|
331
|
+
};
|
|
332
|
+
|
|
326
333
|
/**
|
|
327
334
|
* Retries to send the given request if response status code allows it
|
|
328
335
|
* and if a retry-after value is specified in response header or in the request settings.
|
|
@@ -431,21 +438,21 @@ sap.ui.define([
|
|
|
431
438
|
|
|
432
439
|
/**
|
|
433
440
|
* Checks if header with given value is part of the request.
|
|
434
|
-
* Header name is case-insensitive
|
|
441
|
+
* Header name is case-insensitive RFC7230 https://tools.ietf.org/html/rfc7230#section-3.2.
|
|
435
442
|
*
|
|
436
443
|
* @private
|
|
437
444
|
* @param {*} oRequestConfig The request config.
|
|
438
445
|
* @param {*} sHeader Searched header. For example "Content-Type"
|
|
439
|
-
* @param {*}
|
|
446
|
+
* @param {*} rValue Regex to match the value. For example /application\/json/
|
|
440
447
|
* @returns {boolean} Whether a header with given value is present.
|
|
441
448
|
*/
|
|
442
|
-
RequestDataProvider.prototype._hasHeader = function (oRequestConfig, sHeader,
|
|
449
|
+
RequestDataProvider.prototype._hasHeader = function (oRequestConfig, sHeader, rValue) {
|
|
443
450
|
if (!oRequestConfig.headers) {
|
|
444
451
|
return false;
|
|
445
452
|
}
|
|
446
453
|
|
|
447
454
|
for (var sKey in oRequestConfig.headers) {
|
|
448
|
-
if (sKey.toLowerCase() === sHeader.toLowerCase() && oRequestConfig.headers[sKey]
|
|
455
|
+
if (sKey.toLowerCase() === sHeader.toLowerCase() && rValue.test(oRequestConfig.headers[sKey])) {
|
|
449
456
|
return true;
|
|
450
457
|
}
|
|
451
458
|
}
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* Utility class helping with JSON strings and formatters.
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.139.0
|
|
33
33
|
*
|
|
34
34
|
* @private
|
|
35
35
|
* @alias sap.ui.integration.util.Utils
|
|
@@ -337,6 +337,10 @@ sap.ui.define([
|
|
|
337
337
|
mFormat.parts[1].toString()
|
|
338
338
|
],
|
|
339
339
|
formatter: function (sText, vParam1, vParam2) {
|
|
340
|
+
if (!sText) {
|
|
341
|
+
return "";
|
|
342
|
+
}
|
|
343
|
+
|
|
340
344
|
var sParam1 = vParam1 || mFormat.parts[0];
|
|
341
345
|
var sParam2 = vParam2 || mFormat.parts[1];
|
|
342
346
|
|
|
@@ -137,9 +137,13 @@ sap.ui.define([
|
|
|
137
137
|
oChildCard.attachEvent("_ready", () => {
|
|
138
138
|
_setDialogHeader(oDialog, oChildCard);
|
|
139
139
|
_setAriaAttributes(oDialog, oChildCard);
|
|
140
|
+
|
|
140
141
|
if (!oChildCard._isComponentCard()) {
|
|
141
142
|
oDialog.open();
|
|
142
143
|
}
|
|
144
|
+
|
|
145
|
+
oChildCard.getCardContent()?.onOpenInDialog();
|
|
146
|
+
|
|
143
147
|
_setFocus(oChildCard, oDialog);
|
|
144
148
|
});
|
|
145
149
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2025 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([
|
|
8
|
+
], (
|
|
9
|
+
) => {
|
|
10
|
+
"use strict";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Converts the subtitle and subtitleMaxLines properties in the configuration to subTitle and subTitleMaxLines.
|
|
14
|
+
* This is necessary for consistency in the card header and image overlay configurations when resolving the manifest.
|
|
15
|
+
*
|
|
16
|
+
* @param {object} oConfiguration The card configuration object.
|
|
17
|
+
* @returns {void}
|
|
18
|
+
* @private
|
|
19
|
+
* @ui5-restricted sap.ui.integration
|
|
20
|
+
*/
|
|
21
|
+
function subtitleToSubTitle(oConfiguration) {
|
|
22
|
+
if (oConfiguration?.hasOwnProperty("subtitle")) {
|
|
23
|
+
const sSubtitle = oConfiguration.subtitle;
|
|
24
|
+
delete oConfiguration.subtitle;
|
|
25
|
+
oConfiguration.subTitle = sSubtitle;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
if (oConfiguration?.hasOwnProperty("subtitleMaxLines")) {
|
|
29
|
+
const sSubtitleMaxLines = oConfiguration.subtitleMaxLines;
|
|
30
|
+
delete oConfiguration.subtitleMaxLines;
|
|
31
|
+
oConfiguration.subTitleMaxLines = sSubtitleMaxLines;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return subtitleToSubTitle;
|
|
36
|
+
});
|
|
@@ -131,6 +131,8 @@ sap.ui.define([
|
|
|
131
131
|
|
|
132
132
|
const DEFAULT_MODEL_SIZE_LIMIT = 1000;
|
|
133
133
|
|
|
134
|
+
const oResourceBundle = Library.getResourceBundleFor("sap.ui.integration");
|
|
135
|
+
|
|
134
136
|
/**
|
|
135
137
|
* Constructor for a new <code>Card</code>.
|
|
136
138
|
*
|
|
@@ -188,7 +190,7 @@ sap.ui.define([
|
|
|
188
190
|
* @extends sap.f.CardBase
|
|
189
191
|
*
|
|
190
192
|
* @author SAP SE
|
|
191
|
-
* @version 1.
|
|
193
|
+
* @version 1.139.0
|
|
192
194
|
* @public
|
|
193
195
|
* @constructor
|
|
194
196
|
* @see {@link topic:5b46b03f024542ba802d99d67bc1a3f4 Cards}
|
|
@@ -624,7 +626,7 @@ sap.ui.define([
|
|
|
624
626
|
* @experimental since 1.79
|
|
625
627
|
* @public
|
|
626
628
|
* @author SAP SE
|
|
627
|
-
* @version 1.
|
|
629
|
+
* @version 1.139.0
|
|
628
630
|
* @borrows sap.ui.integration.widgets.Card#getId as getId
|
|
629
631
|
* @borrows sap.ui.integration.widgets.Card#getDomRef as getDomRef
|
|
630
632
|
* @borrows sap.ui.integration.widgets.Card#setVisible as setVisible
|
|
@@ -735,13 +737,17 @@ sap.ui.define([
|
|
|
735
737
|
i18n: {
|
|
736
738
|
init: () => {
|
|
737
739
|
this.setModel(new ResourceModel({
|
|
738
|
-
|
|
740
|
+
bundleName: "sap.ui.integration.i18n.public.messagebundle",
|
|
739
741
|
async: true
|
|
740
742
|
}), "i18n");
|
|
741
|
-
this._oActiveRb = this._oIntegrationRb;
|
|
742
743
|
},
|
|
743
744
|
reset: () => {
|
|
744
|
-
this._oActiveRb =
|
|
745
|
+
this._oActiveRb = null;
|
|
746
|
+
this.getModel("i18n").destroy();
|
|
747
|
+
this.setModel(new ResourceModel({
|
|
748
|
+
bundleName: "sap.ui.integration.i18n.public.messagebundle",
|
|
749
|
+
async: true
|
|
750
|
+
}), "i18n");
|
|
745
751
|
}
|
|
746
752
|
},
|
|
747
753
|
size: {
|
|
@@ -1126,10 +1132,11 @@ sap.ui.define([
|
|
|
1126
1132
|
this._logSevereError("There must be a 'sap.card' section in the manifest.");
|
|
1127
1133
|
}
|
|
1128
1134
|
|
|
1129
|
-
if (oCardManifest
|
|
1130
|
-
this.
|
|
1135
|
+
if (oCardManifest.getResourceBundle()) {
|
|
1136
|
+
this._enhanceI18nModel(oCardManifest.getResourceBundle());
|
|
1131
1137
|
}
|
|
1132
1138
|
|
|
1139
|
+
this._oActiveRb = await this.getModel("i18n").getResourceBundle();
|
|
1133
1140
|
this.getModel("context").resetHostProperties();
|
|
1134
1141
|
|
|
1135
1142
|
if (this._hasContextParams()) {
|
|
@@ -1143,30 +1150,13 @@ sap.ui.define([
|
|
|
1143
1150
|
};
|
|
1144
1151
|
|
|
1145
1152
|
/**
|
|
1146
|
-
* Enhances
|
|
1153
|
+
* Enhances the public resource bundle with the one of the card.
|
|
1147
1154
|
*
|
|
1148
|
-
* @param {module:sap/base/i18n/ResourceBundle} oResourceBundle The resource bundle
|
|
1149
|
-
* @returns {Promise<module:sap/base/i18n/ResourceBundle>} The enhanced resource bundle.
|
|
1155
|
+
* @param {module:sap/base/i18n/ResourceBundle} oResourceBundle The resource bundle of the card.
|
|
1150
1156
|
* @private
|
|
1151
1157
|
*/
|
|
1152
1158
|
Card.prototype._enhanceI18nModel = function (oResourceBundle) {
|
|
1153
|
-
|
|
1154
|
-
oNewResourceModel;
|
|
1155
|
-
|
|
1156
|
-
// the library resource bundle must not be enhanced
|
|
1157
|
-
// so the card resource bundle should be first
|
|
1158
|
-
oNewResourceModel = new ResourceModel({
|
|
1159
|
-
async: true,
|
|
1160
|
-
bundle: oResourceBundle,
|
|
1161
|
-
enhanceWith: [
|
|
1162
|
-
this._oIntegrationRb
|
|
1163
|
-
]
|
|
1164
|
-
});
|
|
1165
|
-
|
|
1166
|
-
this.setModel(oNewResourceModel, "i18n");
|
|
1167
|
-
oResourceModel.destroy();
|
|
1168
|
-
|
|
1169
|
-
return oNewResourceModel.getResourceBundle();
|
|
1159
|
+
this.getModel("i18n").enhance(oResourceBundle);
|
|
1170
1160
|
};
|
|
1171
1161
|
|
|
1172
1162
|
/**
|
|
@@ -1682,7 +1672,7 @@ sap.ui.define([
|
|
|
1682
1672
|
};
|
|
1683
1673
|
|
|
1684
1674
|
/**
|
|
1685
|
-
* Settings for blocking message that
|
|
1675
|
+
* Settings for blocking message that occurred in a {@link sap.ui.integration.widgets.Card}
|
|
1686
1676
|
*
|
|
1687
1677
|
* @typedef {object} sap.ui.integration.BlockingMessageSettings
|
|
1688
1678
|
* @property {sap.ui.integration.CardBlockingMessageType} type Blocking message type
|
|
@@ -1757,9 +1747,8 @@ sap.ui.define([
|
|
|
1757
1747
|
/**
|
|
1758
1748
|
* Gets translated text from the i18n properties files configured for this card.
|
|
1759
1749
|
*
|
|
1760
|
-
* For more details see {@link module:sap/base/i18n/ResourceBundle#getText}.
|
|
1750
|
+
* This method uses <code>ResourceBundle.getText()</code>. For more details see {@link module:sap/base/i18n/ResourceBundle#getText}.
|
|
1761
1751
|
*
|
|
1762
|
-
* @experimental Since 1.83. The API might change.
|
|
1763
1752
|
* @public
|
|
1764
1753
|
* @param {string} sKey Key to retrieve the text for
|
|
1765
1754
|
* @param {string[]} [aArgs] List of parameter values which should replace the placeholders "{<i>n</i>}"
|
|
@@ -1767,14 +1756,12 @@ sap.ui.define([
|
|
|
1767
1756
|
* whenever <code>aArgs</code> is given, no matter whether the text contains placeholders or not
|
|
1768
1757
|
* and no matter whether <code>aArgs</code> contains a value for <i>n</i> or not.
|
|
1769
1758
|
* @param {boolean} [bIgnoreKeyFallback=false] If set, <code>undefined</code> is returned instead of the key string, when the key is not found in any bundle or fallback bundle.
|
|
1770
|
-
* @returns {string} The value belonging to the key, if found; otherwise the key itself or <code>undefined</code> depending on <code>bIgnoreKeyFallback</code>.
|
|
1759
|
+
* @returns {string|undefined} The value belonging to the key, if found; otherwise, it returns the key itself or <code>undefined</code> depending on <code>bIgnoreKeyFallback</code>.
|
|
1771
1760
|
*/
|
|
1772
1761
|
Card.prototype.getTranslatedText = function (sKey, aArgs, bIgnoreKeyFallback) {
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
Log.warning("There are no translations available. Either the i18n configuration is missing or the method is called too early.");
|
|
1777
|
-
return null;
|
|
1762
|
+
if (!this._oActiveRb) {
|
|
1763
|
+
Log.error("'getTranslatedText' cannot be used before the card instance is ready. Consider using the event 'manifestApplied'.", "sap.ui.integration.widgets.Card");
|
|
1764
|
+
return bIgnoreKeyFallback ? undefined : sKey;
|
|
1778
1765
|
}
|
|
1779
1766
|
|
|
1780
1767
|
return this._oActiveRb.getText(sKey, aArgs, bIgnoreKeyFallback);
|
|
@@ -2280,9 +2267,9 @@ sap.ui.define([
|
|
|
2280
2267
|
});
|
|
2281
2268
|
} catch (e) {
|
|
2282
2269
|
this._handleError({
|
|
2283
|
-
illustrationType: IllustratedMessageType.
|
|
2284
|
-
title:
|
|
2285
|
-
description:
|
|
2270
|
+
illustrationType: IllustratedMessageType.UnableToLoad,
|
|
2271
|
+
title: oResourceBundle.getText("CARD_ERROR_CONFIGURATION_TITLE"),
|
|
2272
|
+
description: oResourceBundle.getText("CARD_ERROR_CONFIGURATION_DESCRIPTION"),
|
|
2286
2273
|
details: e.message,
|
|
2287
2274
|
originalError: e
|
|
2288
2275
|
});
|
|
@@ -2418,6 +2405,7 @@ sap.ui.define([
|
|
|
2418
2405
|
this._fireConfigurationChange({
|
|
2419
2406
|
[`/sap.card/configuration/filters/${oEvent.getParameter("key")}/value`]: oEvent.getParameter("value")
|
|
2420
2407
|
});
|
|
2408
|
+
this.scheduleFireStateChanged();
|
|
2421
2409
|
this.resetPaginator();
|
|
2422
2410
|
});
|
|
2423
2411
|
};
|
|
@@ -2766,23 +2754,72 @@ sap.ui.define([
|
|
|
2766
2754
|
}
|
|
2767
2755
|
|
|
2768
2756
|
this._setLoadingProviderState(false);
|
|
2757
|
+
|
|
2758
|
+
this._fireDataChange();
|
|
2769
2759
|
};
|
|
2770
2760
|
|
|
2771
2761
|
/**
|
|
2772
|
-
*
|
|
2762
|
+
* Settings for card request error.
|
|
2763
|
+
*
|
|
2764
|
+
* <b>Note:</b> For backward compatibility, the object can also be accessed as an array
|
|
2765
|
+
* with the properties in the order - message, response, and responseText.
|
|
2773
2766
|
*
|
|
2767
|
+
* @typedef {object} sap.ui.integration.CardRequestError
|
|
2768
|
+
* @property {string} message The error message
|
|
2769
|
+
* @property {object} response The response object
|
|
2770
|
+
* @property {string} responseText The response text
|
|
2774
2771
|
* @public
|
|
2775
|
-
* @experimental
|
|
2772
|
+
* @experimental As of version 1.139
|
|
2773
|
+
*/
|
|
2774
|
+
|
|
2775
|
+
/**
|
|
2776
|
+
* Performs an asynchronous network request using the specified request settings,
|
|
2777
|
+
* enabling dynamic bindings to card configurations, such as CSRF tokens, destinations, and parameters.
|
|
2778
|
+
* If the request is successful, it returns a Promise that resolves with the response data.
|
|
2779
|
+
*
|
|
2780
|
+
* If an error occurs during the request, the Promise will reject with a {@link sap.ui.integration.CardRequestError}.
|
|
2781
|
+
*
|
|
2782
|
+
* For more details on card data handling and request settings see [Card Explorer Data Section]{@link https://ui5.sap.com/test-resources/sap/ui/integration/demokit/cardExplorer/webapp/index.html#/learn/features/data}.
|
|
2783
|
+
*
|
|
2784
|
+
* @public
|
|
2785
|
+
* @since 1.79
|
|
2776
2786
|
* @param {object} oConfiguration The configuration of the request.
|
|
2777
2787
|
* @param {string} oConfiguration.url The URL of the resource.
|
|
2778
2788
|
* @param {string} [oConfiguration.mode="cors"] The mode of the request. Possible values are "cors", "no-cors", "same-origin".
|
|
2779
2789
|
* @param {string} [oConfiguration.method="GET"] The HTTP method. Possible values are "GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", and "HEAD".
|
|
2780
|
-
* @param {object|FormData} [oConfiguration.parameters] The request parameters
|
|
2781
|
-
|
|
2782
|
-
*
|
|
2783
|
-
*
|
|
2790
|
+
* @param {object|FormData|string} [oConfiguration.parameters] The request parameters to be sent to the server. They are sent as follows:
|
|
2791
|
+
*<ul>
|
|
2792
|
+
* <li>
|
|
2793
|
+
* When the HTTP method is "GET" or "HEAD", and parameters are set as:
|
|
2794
|
+
* <ul>
|
|
2795
|
+
* <li>object - Sent as part of the URL, appended as key/value pairs in the query string</li>
|
|
2796
|
+
* <li>FormData - Not sent</li>
|
|
2797
|
+
* <li>string - Not sent</li>
|
|
2798
|
+
* </ul>
|
|
2799
|
+
* </li>
|
|
2800
|
+
* <li>
|
|
2801
|
+
* When the HTTP method is "POST", "PUT", "PATCH", or "DELETE", the parameters will be sent in the request body, encoded based on the <code>Content-Type</code> header and parameters type:
|
|
2802
|
+
* <ul>
|
|
2803
|
+
* <li>
|
|
2804
|
+
* object - Supports the following encodings, decided based on the Content-Type header of the request:
|
|
2805
|
+
* <ul>
|
|
2806
|
+
* <li><code>application/x-www-form-urlencoded</code> - Default</li>
|
|
2807
|
+
* <li><code>application/json</code></li>
|
|
2808
|
+
* </ul>
|
|
2809
|
+
* </li>
|
|
2810
|
+
* <li>
|
|
2811
|
+
* FormData - Encoded as <code>multipart/form-data</code>. The <code>Content-Type</code> header on the request must not be set explicitly.
|
|
2812
|
+
* <b>Note:</b> FormData will not be resolved for bindings, destinations and others. It will be sent as it is.
|
|
2813
|
+
* Added since version 1.130
|
|
2814
|
+
* </li>
|
|
2815
|
+
* <li>string - Must be used in combination with <code>Content-Type: text/plain</code>. Will be sent as is. Added since version 1.138</li>
|
|
2816
|
+
* </ul>
|
|
2817
|
+
* </li>
|
|
2818
|
+
*</ul>
|
|
2819
|
+
* @param {string} [oConfiguration.dataType="json"] Deprecated. Use the correct <code>Accept</code> headers and set correct <code>Content-Type</code> header in the response.
|
|
2784
2820
|
* @param {object} [oConfiguration.headers] The HTTP headers of the request.
|
|
2785
|
-
* @param {boolean} [oConfiguration.withCredentials=false] Indicates whether
|
|
2821
|
+
* @param {boolean} [oConfiguration.withCredentials=false] Indicates whether
|
|
2822
|
+
* cross-site requests should be made using credentials. Same-origin requests are always made using credentials.
|
|
2786
2823
|
* @returns {Promise<any>} Resolves when the request is successful, rejects otherwise.
|
|
2787
2824
|
*/
|
|
2788
2825
|
Card.prototype.request = function (oConfiguration) {
|
|
@@ -2796,7 +2833,19 @@ sap.ui.define([
|
|
|
2796
2833
|
true)
|
|
2797
2834
|
.setAllowCustomDataType(true)
|
|
2798
2835
|
.attachDataChanged((e) => { resolve(e.getParameter("data")); })
|
|
2799
|
-
.attachError((e) => {
|
|
2836
|
+
.attachError((e) => {
|
|
2837
|
+
const oResult = [e.getParameter("message"),
|
|
2838
|
+
e.getParameter("response"),
|
|
2839
|
+
e.getParameter("responseText"),
|
|
2840
|
+
e.getParameter("settings")];
|
|
2841
|
+
|
|
2842
|
+
oResult.message = e.getParameter("message");
|
|
2843
|
+
oResult.response = e.getParameter("response");
|
|
2844
|
+
oResult.responseText = e.getParameter("responseText");
|
|
2845
|
+
oResult._requestSettings = e.getParameter("settings");
|
|
2846
|
+
|
|
2847
|
+
reject(oResult);
|
|
2848
|
+
})
|
|
2800
2849
|
.triggerDataUpdate();
|
|
2801
2850
|
});
|
|
2802
2851
|
});
|