@openui5/sap.ui.integration 1.136.2 → 1.138.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/REUSE.toml +0 -28
- package/THIRDPARTY.txt +0 -24
- package/package.json +6 -7
- 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 +8 -6
- package/src/sap/ui/integration/cards/BaseContent.js +1 -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 +1 -1
- package/src/sap/ui/integration/cards/ListContent.js +17 -2
- package/src/sap/ui/integration/cards/NumericHeader.js +1 -1
- package/src/sap/ui/integration/cards/ObjectContent.js +18 -3
- package/src/sap/ui/integration/cards/TableContent.js +19 -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 +1 -1
- 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 +57 -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 +13 -2
- 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 +1 -1
- package/src/sap/ui/integration/util/BindingResolver.js +4 -3
- 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/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 +23 -18
- 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/widgets/Card.js +58 -42
- package/ui5.yaml +4 -4
|
@@ -7,17 +7,14 @@ sap.ui.define([
|
|
|
7
7
|
"./BaseFactory",
|
|
8
8
|
"sap/base/Log",
|
|
9
9
|
"sap/base/util/isEmptyObject",
|
|
10
|
-
"sap/ui/core/Lib",
|
|
11
10
|
"sap/ui/integration/cards/actions/CardActions",
|
|
12
11
|
"sap/ui/integration/cards/actions/NavigationAction",
|
|
13
12
|
"sap/ui/integration/library",
|
|
14
|
-
"sap/m/library",
|
|
15
13
|
"sap/ui/integration/cards/NumericHeader",
|
|
16
14
|
"sap/ui/integration/cards/Header",
|
|
17
15
|
"sap/ui/integration/controls/HeaderInfoSectionRow",
|
|
18
16
|
"sap/ui/integration/controls/HeaderInfoSectionColumn",
|
|
19
17
|
"sap/ui/integration/util/Utils",
|
|
20
|
-
"sap/m/Button",
|
|
21
18
|
"./ObjectStatusFactory",
|
|
22
19
|
"sap/m/AvatarImageFitType",
|
|
23
20
|
"sap/f/library"
|
|
@@ -25,17 +22,14 @@ sap.ui.define([
|
|
|
25
22
|
BaseFactory,
|
|
26
23
|
Log,
|
|
27
24
|
isEmptyObject,
|
|
28
|
-
Library,
|
|
29
25
|
CardActions,
|
|
30
26
|
NavigationAction,
|
|
31
27
|
library,
|
|
32
|
-
mLibrary,
|
|
33
28
|
NumericHeader,
|
|
34
29
|
Header,
|
|
35
30
|
HeaderInfoSectionRow,
|
|
36
31
|
HeaderInfoSectionColumn,
|
|
37
32
|
Utils,
|
|
38
|
-
Button,
|
|
39
33
|
ObjectStatusFactory,
|
|
40
34
|
AvatarImageFitType,
|
|
41
35
|
fLibrary
|
|
@@ -58,7 +52,7 @@ sap.ui.define([
|
|
|
58
52
|
* @extends sap.ui.integration.util.BaseFactory
|
|
59
53
|
*
|
|
60
54
|
* @author SAP SE
|
|
61
|
-
* @version 1.
|
|
55
|
+
* @version 1.138.0
|
|
62
56
|
*
|
|
63
57
|
* @constructor
|
|
64
58
|
* @private
|
|
@@ -139,7 +133,7 @@ sap.ui.define([
|
|
|
139
133
|
}
|
|
140
134
|
|
|
141
135
|
oHeader.applySettings({
|
|
142
|
-
infoSection: HeaderFactory._createInfoSection(mConfiguration)
|
|
136
|
+
infoSection: HeaderFactory._createInfoSection(mConfiguration, oActions)
|
|
143
137
|
});
|
|
144
138
|
|
|
145
139
|
return oHeader;
|
|
@@ -228,29 +222,27 @@ sap.ui.define([
|
|
|
228
222
|
}
|
|
229
223
|
};
|
|
230
224
|
|
|
231
|
-
HeaderFactory._createInfoSection = function (mConfiguration) {
|
|
225
|
+
HeaderFactory._createInfoSection = function (mConfiguration, oActions) {
|
|
232
226
|
const oRows = [];
|
|
233
227
|
const oInfoSection = mConfiguration.infoSection;
|
|
234
228
|
|
|
235
229
|
(oInfoSection?.rows || []).forEach((oRow) => {
|
|
236
|
-
oRows.push(HeaderFactory._createRow(oRow));
|
|
230
|
+
oRows.push(HeaderFactory._createRow(oRow, oActions));
|
|
237
231
|
});
|
|
238
232
|
|
|
239
233
|
return oRows;
|
|
240
234
|
};
|
|
241
235
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
HeaderFactory._createRow = function (oRow) {
|
|
236
|
+
HeaderFactory._createRow = function (oRow, oActions) {
|
|
245
237
|
const aItems = [];
|
|
246
238
|
const aColumns = [];
|
|
247
239
|
|
|
248
240
|
(oRow.items || []).forEach((oItem) => {
|
|
249
|
-
aItems.push(
|
|
241
|
+
aItems.push(HeaderFactory._createStatusItem(oItem, oActions));
|
|
250
242
|
});
|
|
251
243
|
|
|
252
244
|
(oRow.columns || []).forEach((oColumn) => {
|
|
253
|
-
aColumns.push(HeaderFactory._createColumn(oColumn));
|
|
245
|
+
aColumns.push(HeaderFactory._createColumn(oColumn, oActions));
|
|
254
246
|
});
|
|
255
247
|
|
|
256
248
|
return new HeaderInfoSectionRow({
|
|
@@ -260,16 +252,16 @@ sap.ui.define([
|
|
|
260
252
|
});
|
|
261
253
|
};
|
|
262
254
|
|
|
263
|
-
HeaderFactory._createColumn = function (oColumn) {
|
|
255
|
+
HeaderFactory._createColumn = function (oColumn, oActions) {
|
|
264
256
|
const aItems = [];
|
|
265
257
|
const aRows = [];
|
|
266
258
|
|
|
267
259
|
(oColumn.items || []).forEach((oItem) => {
|
|
268
|
-
aItems.push(
|
|
260
|
+
aItems.push(HeaderFactory._createStatusItem(oItem, oActions));
|
|
269
261
|
});
|
|
270
262
|
|
|
271
263
|
(oColumn.rows || []).forEach((oRow) => {
|
|
272
|
-
aRows.push(HeaderFactory._createRow(oRow));
|
|
264
|
+
aRows.push(HeaderFactory._createRow(oRow, oActions));
|
|
273
265
|
});
|
|
274
266
|
|
|
275
267
|
return new HeaderInfoSectionColumn({
|
|
@@ -278,5 +270,18 @@ sap.ui.define([
|
|
|
278
270
|
});
|
|
279
271
|
};
|
|
280
272
|
|
|
273
|
+
HeaderFactory._createStatusItem = function (oItem, oActions) {
|
|
274
|
+
const oStatus = ObjectStatusFactory.createStatusItem(oItem);
|
|
275
|
+
|
|
276
|
+
oActions.attach({
|
|
277
|
+
area: ActionArea.Header,
|
|
278
|
+
actions: oItem.actions,
|
|
279
|
+
control: oStatus,
|
|
280
|
+
enabledPropertyName: "active"
|
|
281
|
+
});
|
|
282
|
+
|
|
283
|
+
return oStatus;
|
|
284
|
+
};
|
|
285
|
+
|
|
281
286
|
return HeaderFactory;
|
|
282
287
|
});
|
|
@@ -100,6 +100,7 @@ sap.ui.define([
|
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
+
var iFilterIndex = 0;
|
|
103
104
|
// Process card sections in order - nested sections with "data" have to be processed first
|
|
104
105
|
aFilters.concat([
|
|
105
106
|
["/sap.card/content", oCard.getCardContent()],
|
|
@@ -120,6 +121,11 @@ sap.ui.define([
|
|
|
120
121
|
};
|
|
121
122
|
} else if (oContext.getStaticConfiguration) {
|
|
122
123
|
oSubConfig = oContext.getStaticConfiguration(Utils.getNestedPropertyValue(oManifest, sManifestPath));
|
|
124
|
+
// add index to each filter so that Mobile SDK can get correct order of the filters
|
|
125
|
+
if (sManifestPath.startsWith("/sap.card/configuration/filters/")) {
|
|
126
|
+
oSubConfig.index = iFilterIndex;
|
|
127
|
+
iFilterIndex++;
|
|
128
|
+
}
|
|
123
129
|
} else {
|
|
124
130
|
oSubConfig = Utils.getNestedPropertyValue(oManifest, sManifestPath);
|
|
125
131
|
}
|
|
@@ -186,8 +192,8 @@ sap.ui.define([
|
|
|
186
192
|
title: oResourceBundle.getText("CARD_ERROR_CONFIGURATION_TITLE"),
|
|
187
193
|
description: oResourceBundle.getText("CARD_ERROR_CONFIGURATION_DESCRIPTION"),
|
|
188
194
|
details: oError.toString(),
|
|
189
|
-
illustrationType: IllustratedMessageType.
|
|
190
|
-
illustrationSize: IllustratedMessageSize.
|
|
195
|
+
illustrationType: IllustratedMessageType.UnableToLoad,
|
|
196
|
+
illustrationSize: IllustratedMessageSize.Small
|
|
191
197
|
}
|
|
192
198
|
}
|
|
193
199
|
};
|
|
@@ -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.138.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.138.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
|
|
|
@@ -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.138.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.138.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
|
/**
|
|
@@ -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,6 +2754,8 @@ sap.ui.define([
|
|
|
2766
2754
|
}
|
|
2767
2755
|
|
|
2768
2756
|
this._setLoadingProviderState(false);
|
|
2757
|
+
|
|
2758
|
+
this._fireDataChange();
|
|
2769
2759
|
};
|
|
2770
2760
|
|
|
2771
2761
|
/**
|
|
@@ -2777,10 +2767,36 @@ sap.ui.define([
|
|
|
2777
2767
|
* @param {string} oConfiguration.url The URL of the resource.
|
|
2778
2768
|
* @param {string} [oConfiguration.mode="cors"] The mode of the request. Possible values are "cors", "no-cors", "same-origin".
|
|
2779
2769
|
* @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
|
-
*
|
|
2770
|
+
* @param {object|FormData|string} [oConfiguration.parameters] The request parameters to be sent to the server. They are sent as follows:
|
|
2771
|
+
*<ul>
|
|
2772
|
+
* <li>
|
|
2773
|
+
* When the HTTP method is "GET" or "HEAD", and parameters are set as:
|
|
2774
|
+
* <ul>
|
|
2775
|
+
* <li>object - Sent as part of the URL, appended as key/value pairs in the query string</li>
|
|
2776
|
+
* <li>FormData - Not sent</li>
|
|
2777
|
+
* <li>string - Not sent</li>
|
|
2778
|
+
* </ul>
|
|
2779
|
+
* </li>
|
|
2780
|
+
* <li>
|
|
2781
|
+
* 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:
|
|
2782
|
+
* <ul>
|
|
2783
|
+
* <li>
|
|
2784
|
+
* object - Supports the following encodings, decided based on the Content-Type header of the request:
|
|
2785
|
+
* <ul>
|
|
2786
|
+
* <li><code>application/x-www-form-urlencoded</code> - Default</li>
|
|
2787
|
+
* <li><code>application/json</code></li>
|
|
2788
|
+
* </ul>
|
|
2789
|
+
* </li>
|
|
2790
|
+
* <li>
|
|
2791
|
+
* FormData - Encoded as <code>multipart/form-data</code>. The <code>Content-Type</code> header on the request must not be set explicitly.
|
|
2792
|
+
* <b>Note:</b> FormData will not be resolved for bindings, destinations and others. It will be sent as it is.
|
|
2793
|
+
* Added since version 1.130
|
|
2794
|
+
* </li>
|
|
2795
|
+
* <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>
|
|
2796
|
+
* </ul>
|
|
2797
|
+
* </li>
|
|
2798
|
+
*</ul>
|
|
2799
|
+
* @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
2800
|
* @param {object} [oConfiguration.headers] The HTTP headers of the request.
|
|
2785
2801
|
* @param {boolean} [oConfiguration.withCredentials=false] Indicates whether cross-site requests should be made using credentials.
|
|
2786
2802
|
* @returns {Promise<any>} Resolves when the request is successful, rejects otherwise.
|
package/ui5.yaml
CHANGED
|
@@ -28,6 +28,8 @@ builder:
|
|
|
28
28
|
- sap/ui/core/Core.js
|
|
29
29
|
- sap/ui/core/CustomData.js
|
|
30
30
|
- sap/ui/core/UIComponent.js
|
|
31
|
+
- sap/ui/core/boot/FieldHelpEndpoint.js
|
|
32
|
+
- sap/ui/core/boot/KeyboardInteractionEndpoint.js
|
|
31
33
|
- sap/ui/core/mvc/XMLView.js
|
|
32
34
|
- sap/ui/integration/
|
|
33
35
|
- sap/f/cards/
|
|
@@ -55,7 +57,6 @@ builder:
|
|
|
55
57
|
- sap/f/manifest.json
|
|
56
58
|
- sap/ui/unified/manifest.json
|
|
57
59
|
- sap/ui/layout/manifest.json
|
|
58
|
-
- sap/ui/table/manifest.json
|
|
59
60
|
resolve: true
|
|
60
61
|
renderer: true
|
|
61
62
|
- mode: require
|
|
@@ -75,7 +76,6 @@ builder:
|
|
|
75
76
|
- sap/f/
|
|
76
77
|
- sap/ui/layout/
|
|
77
78
|
- sap/ui/unified/
|
|
78
|
-
- sap/ui/table/
|
|
79
79
|
- "!**/designtime/"
|
|
80
80
|
- "!**/library-preload-lazy.js"
|
|
81
81
|
- "!**/*.support.js"
|
|
@@ -95,6 +95,8 @@ builder:
|
|
|
95
95
|
- sap/ui/core/Core.js
|
|
96
96
|
- sap/ui/core/CustomData.js
|
|
97
97
|
- sap/ui/core/UIComponent.js
|
|
98
|
+
- sap/ui/core/boot/FieldHelpEndpoint.js
|
|
99
|
+
- sap/ui/core/boot/KeyboardInteractionEndpoint.js
|
|
98
100
|
- sap/ui/core/mvc/XMLView.js
|
|
99
101
|
- sap/ui/integration/
|
|
100
102
|
- sap/f/cards/
|
|
@@ -122,7 +124,6 @@ builder:
|
|
|
122
124
|
- sap/f/manifest.json
|
|
123
125
|
- sap/ui/unified/manifest.json
|
|
124
126
|
- sap/ui/layout/manifest.json
|
|
125
|
-
- sap/ui/table/manifest.json
|
|
126
127
|
resolve: true
|
|
127
128
|
renderer: true
|
|
128
129
|
- mode: preload
|
|
@@ -139,7 +140,6 @@ builder:
|
|
|
139
140
|
- sap/f/
|
|
140
141
|
- sap/ui/layout/
|
|
141
142
|
- sap/ui/unified/
|
|
142
|
-
- sap/ui/table/
|
|
143
143
|
- "!**/designtime/"
|
|
144
144
|
- "!**/library-preload-lazy.js"
|
|
145
145
|
- "!**/*.support.js"
|