@openui5/sap.ui.integration 1.128.0 → 1.130.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/THIRDPARTY.txt +2 -2
- package/package.json +7 -7
- 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 +13 -1
- package/src/sap/ui/integration/Host.js +13 -1
- package/src/sap/ui/integration/cards/AdaptiveContent.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticalContent.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +1 -1
- package/src/sap/ui/integration/cards/BaseContent.js +8 -7
- package/src/sap/ui/integration/cards/BaseContentRenderer.js +30 -8
- package/src/sap/ui/integration/cards/BaseListContent.js +44 -19
- package/src/sap/ui/integration/cards/BaseListContentRenderer.js +52 -0
- package/src/sap/ui/integration/cards/CalendarContent.js +12 -2
- package/src/sap/ui/integration/cards/CalendarContentRenderer.js +2 -2
- package/src/sap/ui/integration/cards/ComponentContent.js +5 -5
- package/src/sap/ui/integration/cards/Footer.js +110 -35
- package/src/sap/ui/integration/cards/Header.js +4 -3
- package/src/sap/ui/integration/cards/ListContent.js +2 -1
- package/src/sap/ui/integration/cards/ListContentRenderer.js +5 -3
- package/src/sap/ui/integration/cards/NumericHeader.js +4 -3
- package/src/sap/ui/integration/cards/ObjectContent.js +2 -2
- package/src/sap/ui/integration/cards/TableContent.js +1 -1
- package/src/sap/ui/integration/cards/TableContentRenderer.js +2 -2
- package/src/sap/ui/integration/cards/TimelineContent.js +1 -1
- package/src/sap/ui/integration/cards/TimelineContentRenderer.js +2 -2
- package/src/sap/ui/integration/cards/WebPageContent.js +1 -1
- package/src/sap/ui/integration/cards/actions/CardActions.js +6 -2
- package/src/sap/ui/integration/cards/actions/ShowCardAction.js +12 -83
- 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 +16 -5
- package/src/sap/ui/integration/cards/filters/ComboBoxFilter.js +27 -4
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +11 -1
- 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 +8 -1
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +12 -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 +1 -1
- package/src/sap/ui/integration/controls/ComboBox.js +47 -0
- package/src/sap/ui/integration/controls/ImageWithOverlay.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItem.js +7 -4
- package/src/sap/ui/integration/controls/ListContentItemRenderer.js +4 -4
- 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 +26 -1
- package/src/sap/ui/integration/delegate/Paginator.js +287 -0
- 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 +119 -82
- 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 +1 -1
- package/src/sap/ui/integration/editor/css/Editor.css +7 -0
- 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 +1 -1
- package/src/sap/ui/integration/editor/fields/ObjectListField.js +1 -1
- package/src/sap/ui/integration/editor/fields/StringField.js +1 -1
- 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 +1 -1
- package/src/sap/ui/integration/library.js +2 -2
- package/src/sap/ui/integration/messagebundle.properties +3 -0
- 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 +3 -1
- 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 +3 -1
- 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 +2 -0
- package/src/sap/ui/integration/messagebundle_en_GB.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_es.properties +3 -1
- 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 +3 -1
- 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 +3 -1
- package/src/sap/ui/integration/messagebundle_ko.properties +3 -1
- 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 +2 -0
- 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 +3 -1
- package/src/sap/ui/integration/messagebundle_zh_CN.properties +2 -0
- package/src/sap/ui/integration/messagebundle_zh_TW.properties +3 -1
- package/src/sap/ui/integration/model/ContextModel.js +1 -1
- package/src/sap/ui/integration/model/ObservableModel.js +3 -16
- package/src/sap/ui/integration/schemas/sap-card.json +27 -4
- package/src/sap/ui/integration/themes/base/Card.less +4 -0
- package/src/sap/ui/integration/themes/base/CardVariants.less +2 -2
- package/src/sap/ui/integration/themes/base/Footer.less +2 -2
- package/src/sap/ui/integration/themes/base/Paginator.less +5 -118
- package/src/sap/ui/integration/themes/sap_hcb/library.source.less +0 -1
- 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 +1 -1
- package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +19 -17
- 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 +9 -3
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +1 -1
- package/src/sap/ui/integration/util/DataProvider.js +49 -23
- package/src/sap/ui/integration/util/DataProviderFactory.js +22 -23
- package/src/sap/ui/integration/util/Destinations.js +3 -2
- package/src/sap/ui/integration/util/DisplayVariants.js +1 -1
- package/src/sap/ui/integration/util/ErrorHandler.js +1 -1
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +6 -6
- package/src/sap/ui/integration/util/Form.js +1 -1
- package/src/sap/ui/integration/util/HeaderFactory.js +10 -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 +1 -1
- package/src/sap/ui/integration/util/OAuth3LOHelper.js +1 -1
- package/src/sap/ui/integration/util/RequestDataProvider.js +59 -21
- package/src/sap/ui/integration/util/ServiceDataProvider.js +9 -7
- 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/util/openCardDialog.js +191 -0
- package/src/sap/ui/integration/widgets/Card.js +98 -28
- package/src/sap/ui/integration/controls/Paginator.js +0 -449
- package/src/sap/ui/integration/controls/PaginatorRenderer.js +0 -114
- package/src/sap/ui/integration/model/PagingModelListBinding.js +0 -40
- package/src/sap/ui/integration/themes/sap_hcb/base_Paginator.less +0 -125
package/THIRDPARTY.txt
CHANGED
|
@@ -6,7 +6,7 @@ The full text of all referenced licenses is appended at the end of this file.
|
|
|
6
6
|
|
|
7
7
|
Library: sap.m:
|
|
8
8
|
|
|
9
|
-
Component: purify.js, version:
|
|
9
|
+
Component: purify.js, version: 3.1.7
|
|
10
10
|
Copyright: Mario Heiderich
|
|
11
11
|
License: Apache-2.0
|
|
12
12
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
@@ -468,7 +468,7 @@ License: Apache-2.0
|
|
|
468
468
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
469
469
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
470
470
|
|
|
471
|
-
Component: SAP Theming Base Content, version: 11.
|
|
471
|
+
Component: SAP Theming Base Content, version: 11.18.0
|
|
472
472
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
473
473
|
License: Apache-2.0
|
|
474
474
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.integration",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.130.0",
|
|
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,11 +14,11 @@
|
|
|
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.
|
|
22
|
-
"@openui5/sap.ui.table": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.130.0",
|
|
18
|
+
"@openui5/sap.f": "1.130.0",
|
|
19
|
+
"@openui5/sap.m": "1.130.0",
|
|
20
|
+
"@openui5/sap.ui.unified": "1.130.0",
|
|
21
|
+
"@openui5/sap.ui.layout": "1.130.0",
|
|
22
|
+
"@openui5/sap.ui.table": "1.130.0"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -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.130.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with integration-related controls.</documentation>
|
|
12
12
|
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @extends sap.ui.base.ManagedObject
|
|
27
27
|
*
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.130.0
|
|
30
30
|
*
|
|
31
31
|
* @constructor
|
|
32
32
|
* @public
|
|
@@ -92,11 +92,23 @@ sap.ui.define([
|
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
* The parameters related to the triggered action.
|
|
95
|
+
*
|
|
96
|
+
* <b>Disclaimer:</b> Since 1.129 the special parameter <code>data</code> for action <code>Submit</code> is deprecated and must not be used. Use event parameter <code>formData</code> instead.
|
|
95
97
|
*/
|
|
96
98
|
parameters: {
|
|
97
99
|
type: "object"
|
|
98
100
|
},
|
|
99
101
|
|
|
102
|
+
/**
|
|
103
|
+
* All form data that is filled inside the card. This parameter is available only with action types <code>Submit</code> and <code>Custom</code>.
|
|
104
|
+
*
|
|
105
|
+
* The format will be the same as in the <code>form</code> model available in the card manifest. For more information look at the documentation for each individual form type.
|
|
106
|
+
* @since 1.129
|
|
107
|
+
*/
|
|
108
|
+
formData: {
|
|
109
|
+
type: "object"
|
|
110
|
+
},
|
|
111
|
+
|
|
100
112
|
/**
|
|
101
113
|
* The type of the action.
|
|
102
114
|
*/
|
|
@@ -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.130.0
|
|
34
34
|
*
|
|
35
35
|
* @constructor
|
|
36
36
|
* @public
|
|
@@ -113,11 +113,23 @@ sap.ui.define([
|
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* The parameters related to the triggered action.
|
|
116
|
+
*
|
|
117
|
+
* <b>Disclaimer:</b> Since 1.129 the special parameter <code>data</code> for action <code>Submit</code> is deprecated and must not be used. Use event parameter <code>formData</code> instead.
|
|
116
118
|
*/
|
|
117
119
|
parameters: {
|
|
118
120
|
type: "object"
|
|
119
121
|
},
|
|
120
122
|
|
|
123
|
+
/**
|
|
124
|
+
* All form data that is filled inside the card. This parameter is available only with action types <code>Submit</code> and <code>Custom</code>.
|
|
125
|
+
*
|
|
126
|
+
* The format will be the same as in the <code>form</code> model available in the card manifest. For more information look at the documentation for each individual form type.
|
|
127
|
+
* @since 1.129
|
|
128
|
+
*/
|
|
129
|
+
formData: {
|
|
130
|
+
type: "object"
|
|
131
|
+
},
|
|
132
|
+
|
|
121
133
|
/**
|
|
122
134
|
* The type of the action.
|
|
123
135
|
*/
|
|
@@ -74,7 +74,7 @@ sap.ui.define([
|
|
|
74
74
|
* @extends sap.ui.core.Control
|
|
75
75
|
*
|
|
76
76
|
* @author SAP SE
|
|
77
|
-
* @version 1.
|
|
77
|
+
* @version 1.130.0
|
|
78
78
|
*
|
|
79
79
|
* @constructor
|
|
80
80
|
* @private
|
|
@@ -111,7 +111,6 @@ sap.ui.define([
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
aggregations: {
|
|
114
|
-
|
|
115
114
|
/**
|
|
116
115
|
* Defines the content of the control.
|
|
117
116
|
*/
|
|
@@ -583,7 +582,7 @@ sap.ui.define([
|
|
|
583
582
|
|
|
584
583
|
this.getLoadDependenciesPromise().then(function (bLoadSuccessful){
|
|
585
584
|
if (bLoadSuccessful && !this.isDestroyed()) {
|
|
586
|
-
|
|
585
|
+
this.setModelData(oData, oModel);
|
|
587
586
|
}
|
|
588
587
|
}.bind(this));
|
|
589
588
|
}.bind(this));
|
|
@@ -591,7 +590,7 @@ sap.ui.define([
|
|
|
591
590
|
this._oDataProvider.attachError(function (oEvent) {
|
|
592
591
|
this.handleError({
|
|
593
592
|
requestErrorParams: oEvent.getParameters(),
|
|
594
|
-
requestSettings: this._oDataProvider.
|
|
593
|
+
requestSettings: this._oDataProvider.getResolvedConfiguration()
|
|
595
594
|
});
|
|
596
595
|
this.onDataRequestComplete();
|
|
597
596
|
}.bind(this));
|
|
@@ -685,6 +684,10 @@ sap.ui.define([
|
|
|
685
684
|
}.bind(this));
|
|
686
685
|
};
|
|
687
686
|
|
|
687
|
+
BaseContent.prototype.setModelData = function (vData, oModel) {
|
|
688
|
+
oModel.setData(vData);
|
|
689
|
+
};
|
|
690
|
+
|
|
688
691
|
/**
|
|
689
692
|
* Binds an aggregation to the binding path of the BaseContent.
|
|
690
693
|
* Observes the aggregation to update parameters>/visibleItems.
|
|
@@ -876,8 +879,6 @@ sap.ui.define([
|
|
|
876
879
|
return oCard && oCard.isSkeleton();
|
|
877
880
|
};
|
|
878
881
|
|
|
879
|
-
BaseContent.prototype.sliceData = function (iStartIndex, iEndIndex) { };
|
|
880
|
-
|
|
881
882
|
BaseContent.prototype.getDataLength = function () {
|
|
882
883
|
return 0;
|
|
883
884
|
};
|
|
@@ -898,7 +899,7 @@ sap.ui.define([
|
|
|
898
899
|
};
|
|
899
900
|
|
|
900
901
|
BaseContent.prototype._isDataProviderJson = function () {
|
|
901
|
-
return this._oDataProvider
|
|
902
|
+
return !!this._oDataProvider?.getConfiguration()?.json;
|
|
902
903
|
};
|
|
903
904
|
|
|
904
905
|
/*
|
|
@@ -38,8 +38,6 @@ sap.ui.define([
|
|
|
38
38
|
sName = oCardContent.getMetadata().getName(),
|
|
39
39
|
sType = sName.slice(sName.lastIndexOf(".") + 1),
|
|
40
40
|
oCard = oCardContent.getCardInstance(),
|
|
41
|
-
bLoading = oCardContent.isLoading(),
|
|
42
|
-
bIsAbstractPreviewMode = oCard && oCard.getPreviewMode() === CardPreviewMode.Abstract,
|
|
43
41
|
oMessageContainer = oCardContent.getAggregation("_messageContainer"),
|
|
44
42
|
oBlockingMessage = oCardContent.getAggregation("_blockingMessage");
|
|
45
43
|
|
|
@@ -58,15 +56,11 @@ sap.ui.define([
|
|
|
58
56
|
oRm.style("min-height", sHeight);
|
|
59
57
|
}
|
|
60
58
|
|
|
61
|
-
|
|
62
|
-
oRm.class("sapFCardContentLoading");
|
|
63
|
-
}
|
|
59
|
+
this.renderLoadingClass(oRm, oCardContent);
|
|
64
60
|
|
|
65
61
|
oRm.openEnd();
|
|
66
62
|
|
|
67
|
-
|
|
68
|
-
oRm.renderControl(oCardContent.getAggregation("_loadingPlaceholder"));
|
|
69
|
-
}
|
|
63
|
+
this.renderLoadingPlaceholder(oRm, oCardContent);
|
|
70
64
|
|
|
71
65
|
if (oMessageContainer) {
|
|
72
66
|
oRm.renderControl(oMessageContainer);
|
|
@@ -90,6 +84,34 @@ sap.ui.define([
|
|
|
90
84
|
oRm.renderControl(oCardContent.getAggregation("_content"));
|
|
91
85
|
};
|
|
92
86
|
|
|
87
|
+
/**
|
|
88
|
+
* @protected
|
|
89
|
+
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
|
|
90
|
+
* @param {sap.ui.integration.cards.BaseContent} oCardContent an object representation of the control that should be rendered
|
|
91
|
+
*/
|
|
92
|
+
BaseContentRenderer.renderLoadingClass = function (oRm, oCardContent) {
|
|
93
|
+
const oCard = oCardContent.getCardInstance();
|
|
94
|
+
const bIsAbstractPreviewMode = oCard && oCard.getPreviewMode() === CardPreviewMode.Abstract;
|
|
95
|
+
|
|
96
|
+
if (oCardContent.isLoading() || bIsAbstractPreviewMode) {
|
|
97
|
+
oRm.class("sapFCardContentLoading");
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @protected
|
|
103
|
+
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the Render-Output-Buffer
|
|
104
|
+
* @param {sap.ui.integration.cards.BaseContent} oCardContent an object representation of the control that should be rendered
|
|
105
|
+
*/
|
|
106
|
+
BaseContentRenderer.renderLoadingPlaceholder = function (oRm, oCardContent) {
|
|
107
|
+
const oCard = oCardContent.getCardInstance();
|
|
108
|
+
const bIsAbstractPreviewMode = oCard && oCard.getPreviewMode() === CardPreviewMode.Abstract;
|
|
109
|
+
|
|
110
|
+
if (oCardContent.isLoading() || bIsAbstractPreviewMode) {
|
|
111
|
+
oRm.renderControl(oCardContent.getAggregation("_loadingPlaceholder"));
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
|
|
93
115
|
/**
|
|
94
116
|
* @protected
|
|
95
117
|
* @param {object} oConfiguration The manifest configuration of the content
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
"
|
|
8
|
+
"./BaseContent",
|
|
9
|
+
"./BaseListContentRenderer",
|
|
9
10
|
"sap/ui/integration/util/BindingResolver",
|
|
10
11
|
"sap/m/IllustratedMessageType",
|
|
11
12
|
"sap/ui/integration/library",
|
|
@@ -13,6 +14,7 @@ sap.ui.define([
|
|
|
13
14
|
"sap/ui/model/Sorter"
|
|
14
15
|
], function (
|
|
15
16
|
BaseContent,
|
|
17
|
+
BaseListContentRenderer,
|
|
16
18
|
BindingResolver,
|
|
17
19
|
IllustratedMessageType,
|
|
18
20
|
library,
|
|
@@ -33,7 +35,7 @@ sap.ui.define([
|
|
|
33
35
|
* @extends sap.ui.integration.cards.BaseContent
|
|
34
36
|
*
|
|
35
37
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
38
|
+
* @version 1.130.0
|
|
37
39
|
*
|
|
38
40
|
* @constructor
|
|
39
41
|
* @private
|
|
@@ -44,9 +46,7 @@ sap.ui.define([
|
|
|
44
46
|
metadata: {
|
|
45
47
|
library: "sap.ui.integration"
|
|
46
48
|
},
|
|
47
|
-
renderer:
|
|
48
|
-
apiVersion: 2
|
|
49
|
-
}
|
|
49
|
+
renderer: BaseListContentRenderer
|
|
50
50
|
});
|
|
51
51
|
|
|
52
52
|
/**
|
|
@@ -85,6 +85,21 @@ sap.ui.define([
|
|
|
85
85
|
title: this.getCardInstance().getTranslatedText("CARD_NO_ITEMS_ERROR_LISTS")
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
+
|
|
89
|
+
this.getPaginator()?.onDataChanged(this);
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @override
|
|
94
|
+
*/
|
|
95
|
+
BaseListContent.prototype.setModelData = function (vData, oModel) {
|
|
96
|
+
const oPaginator = this.getPaginator();
|
|
97
|
+
|
|
98
|
+
if (oPaginator?.isLoadingMore()) {
|
|
99
|
+
oPaginator.setModelData(vData, oModel);
|
|
100
|
+
} else {
|
|
101
|
+
BaseContent.prototype.setModelData.apply(this, arguments);
|
|
102
|
+
}
|
|
88
103
|
};
|
|
89
104
|
|
|
90
105
|
BaseListContent.prototype._keepHeight = function () {
|
|
@@ -131,19 +146,28 @@ sap.ui.define([
|
|
|
131
146
|
}
|
|
132
147
|
|
|
133
148
|
var oList = this.getInnerList(),
|
|
134
|
-
bHasPaginator = this.getCard() ? this.getCardInstance().hasPaginator() : false,
|
|
135
149
|
maxItems = BindingResolver.resolveValue(oConfiguration.maxItems, this);
|
|
136
150
|
|
|
137
151
|
if (!Number.isNaN(parseInt(maxItems))) {
|
|
138
152
|
maxItems = parseInt(maxItems);
|
|
139
153
|
}
|
|
140
154
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
155
|
+
const oPaginator = this.getPaginator();
|
|
156
|
+
|
|
157
|
+
if (oList && (!oPaginator || !oPaginator.getActive())) {
|
|
158
|
+
let iDisplayCount = maxItems;
|
|
159
|
+
|
|
160
|
+
if (oPaginator) {
|
|
161
|
+
iDisplayCount = oPaginator.getPageSize();
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
if (iDisplayCount) {
|
|
165
|
+
oList.applySettings({
|
|
166
|
+
growing: true,
|
|
167
|
+
growingThreshold: iDisplayCount
|
|
168
|
+
});
|
|
169
|
+
oList.addStyleClass("sapFCardMaxItems");
|
|
170
|
+
}
|
|
147
171
|
}
|
|
148
172
|
|
|
149
173
|
this._fMinHeight = 0;
|
|
@@ -168,6 +192,14 @@ sap.ui.define([
|
|
|
168
192
|
return 0;
|
|
169
193
|
};
|
|
170
194
|
|
|
195
|
+
BaseListContent.prototype.setPaginator = function (oPaginator) {
|
|
196
|
+
this._oPaginator = oPaginator;
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
BaseListContent.prototype.getPaginator = function () {
|
|
200
|
+
return this._oPaginator;
|
|
201
|
+
};
|
|
202
|
+
|
|
171
203
|
/**
|
|
172
204
|
* Used to check which content items should be hidden based on the Navigation Service.
|
|
173
205
|
*
|
|
@@ -274,13 +306,6 @@ sap.ui.define([
|
|
|
274
306
|
return oSorter;
|
|
275
307
|
};
|
|
276
308
|
|
|
277
|
-
BaseListContent.prototype.sliceData = function (iStartIndex, iEndIndex) {
|
|
278
|
-
this.getModel().sliceData(iStartIndex, iEndIndex);
|
|
279
|
-
if (iStartIndex !== 0) {
|
|
280
|
-
this._keepHeight();
|
|
281
|
-
}
|
|
282
|
-
};
|
|
283
|
-
|
|
284
309
|
BaseListContent.prototype.getDataLength = function () {
|
|
285
310
|
var oData = this.getModel().getProperty(this.getInnerList().getBindingContext().getPath());
|
|
286
311
|
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2024 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
|
+
"./BaseContentRenderer"
|
|
9
|
+
], function (BaseContentRenderer) {
|
|
10
|
+
"use strict";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* BaseContent renderer.
|
|
14
|
+
* @author SAP SE
|
|
15
|
+
* @namespace
|
|
16
|
+
*/
|
|
17
|
+
var BaseListContentRenderer = BaseContentRenderer.extend("sap.ui.integration.cards.BaseListContentRenderer", {
|
|
18
|
+
apiVersion: 2
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @override
|
|
23
|
+
*/
|
|
24
|
+
BaseListContentRenderer.renderContent = function (oRm, oCardContent) {
|
|
25
|
+
oRm.renderControl(oCardContent.getAggregation("_content"));
|
|
26
|
+
oCardContent.getPaginator()?.render(oRm);
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @override
|
|
31
|
+
*/
|
|
32
|
+
BaseListContentRenderer.renderLoadingClass = function (oRm, oCardContent) {
|
|
33
|
+
if (oCardContent.getPaginator()?.isLoadingMore()) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
BaseContentRenderer.renderLoadingClass(oRm, oCardContent);
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @override
|
|
42
|
+
*/
|
|
43
|
+
BaseListContentRenderer.renderLoadingPlaceholder = function (oRm, oCardContent) {
|
|
44
|
+
if (oCardContent.getPaginator()?.isLoadingMore()) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
BaseContentRenderer.renderLoadingPlaceholder(oRm, oCardContent);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
return BaseListContentRenderer;
|
|
52
|
+
});
|
|
@@ -79,7 +79,7 @@ sap.ui.define([
|
|
|
79
79
|
* @extends sap.ui.integration.cards.BaseContent
|
|
80
80
|
*
|
|
81
81
|
* @author SAP SE
|
|
82
|
-
* @version 1.
|
|
82
|
+
* @version 1.130.0
|
|
83
83
|
*
|
|
84
84
|
* @constructor
|
|
85
85
|
* @private
|
|
@@ -99,7 +99,9 @@ sap.ui.define([
|
|
|
99
99
|
/**
|
|
100
100
|
* Defines the text that is displayed when no {@link sap.f.CalendarAppointmentInCard CalendarAppointmentInCard} are assigned.
|
|
101
101
|
*/
|
|
102
|
-
noAppointmentsText : {type : "string", group : "Misc", defaultValue : null}
|
|
102
|
+
noAppointmentsText : {type : "string", group : "Misc", defaultValue : null},
|
|
103
|
+
|
|
104
|
+
use12HourFormat : { type : "boolean", defaultValue : false }
|
|
103
105
|
},
|
|
104
106
|
aggregations: {
|
|
105
107
|
/**
|
|
@@ -330,6 +332,10 @@ sap.ui.define([
|
|
|
330
332
|
this._addMaxLegendItems(oConfiguration.maxLegendItems);
|
|
331
333
|
}
|
|
332
334
|
|
|
335
|
+
if (oConfiguration.use12HourFormat) {
|
|
336
|
+
this.setUse12HourFormat(oConfiguration.use12HourFormat);
|
|
337
|
+
}
|
|
338
|
+
|
|
333
339
|
if (oConfiguration.noItemsText) {
|
|
334
340
|
this._addNoItemsText(oConfiguration.noItemsText);
|
|
335
341
|
}
|
|
@@ -341,6 +347,10 @@ sap.ui.define([
|
|
|
341
347
|
control: this._getMoreButton()
|
|
342
348
|
});
|
|
343
349
|
}
|
|
350
|
+
|
|
351
|
+
if (oConfiguration.calendarWeekNumbering) {
|
|
352
|
+
this._oCalendar.setCalendarWeekNumbering(oConfiguration.calendarWeekNumbering);
|
|
353
|
+
}
|
|
344
354
|
};
|
|
345
355
|
|
|
346
356
|
CalendarContent.prototype._getStaticConfigurationLegendItems = function (aLegendItems, aLegendAppointmentItems, oConfiguration, oLegend) {
|
|
@@ -129,12 +129,12 @@ sap.ui.define([
|
|
|
129
129
|
oRm.openStart("div");
|
|
130
130
|
oRm.class("sapUiCalendarAppStart");
|
|
131
131
|
oRm.openEnd();
|
|
132
|
-
oRm.text(oAppointment._getDateRangeIntersectionText(oSelectedDate).start);
|
|
132
|
+
oRm.text(oAppointment._getDateRangeIntersectionText(oSelectedDate, oCalendarContent.getUse12HourFormat()).start);
|
|
133
133
|
oRm.close("div");
|
|
134
134
|
oRm.openStart("div");
|
|
135
135
|
oRm.class("sapUiCalendarAppEnd");
|
|
136
136
|
oRm.openEnd();
|
|
137
|
-
oRm.text(oAppointment._getDateRangeIntersectionText(oSelectedDate).end);
|
|
137
|
+
oRm.text(oAppointment._getDateRangeIntersectionText(oSelectedDate, oCalendarContent.getUse12HourFormat()).end);
|
|
138
138
|
oRm.close("div");
|
|
139
139
|
oRm.close("div");
|
|
140
140
|
oRm.openStart("div");
|
|
@@ -10,14 +10,14 @@ sap.ui.define([
|
|
|
10
10
|
"sap/ui/integration/library",
|
|
11
11
|
"sap/m/IllustratedMessageType",
|
|
12
12
|
"sap/ui/core/ComponentContainer",
|
|
13
|
-
"sap/ui/core/
|
|
13
|
+
"sap/ui/core/ComponentHooks"
|
|
14
14
|
], function (
|
|
15
15
|
BaseContent,
|
|
16
16
|
ComponentContentRenderer,
|
|
17
17
|
library,
|
|
18
18
|
IllustratedMessageType,
|
|
19
19
|
ComponentContainer,
|
|
20
|
-
|
|
20
|
+
ComponentHooks
|
|
21
21
|
) {
|
|
22
22
|
"use strict";
|
|
23
23
|
|
|
@@ -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.130.0
|
|
41
41
|
*
|
|
42
42
|
* @experimental
|
|
43
43
|
* @constructor
|
|
@@ -55,12 +55,12 @@ sap.ui.define([
|
|
|
55
55
|
* Global hook when a new component instance of any kind is created.
|
|
56
56
|
* @param {sap.ui.core.Component} oInstance The created component instance.
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
ComponentHooks.onInstanceCreated.register(function (oInstance) {
|
|
59
59
|
var oCompData = oInstance.getComponentData();
|
|
60
60
|
if (oCompData && oCompData["__sapUiIntegration_card"] && oInstance.onCardReady) {
|
|
61
61
|
oInstance.onCardReady(oCompData["__sapUiIntegration_card"]);
|
|
62
62
|
}
|
|
63
|
-
};
|
|
63
|
+
});
|
|
64
64
|
|
|
65
65
|
ComponentContent.prototype.onAfterRendering = function () {
|
|
66
66
|
if (this._oComponent?.tileSetVisible) {
|