@openui5/sap.ui.integration 1.102.2 → 1.104.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/.eslintrc.json +2 -3
- package/.reuse/dep5 +17 -0
- package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
- package/THIRDPARTY.txt +35 -2
- package/package.json +3 -3
- package/src/sap/ui/integration/.library +1 -1
- package/src/sap/ui/integration/ActionDefinition.js +1 -1
- package/src/sap/ui/integration/Designtime.js +1 -1
- package/src/sap/ui/integration/Extension.js +1 -1
- package/src/sap/ui/integration/Host.js +11 -5
- package/src/sap/ui/integration/cards/AdaptiveContent.js +3 -4
- 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 +12 -7
- package/src/sap/ui/integration/cards/BaseContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/BaseListContent.js +4 -4
- package/src/sap/ui/integration/cards/CalendarContent.js +1 -1
- package/src/sap/ui/integration/cards/ComponentContent.js +1 -1
- package/src/sap/ui/integration/cards/Footer.js +1 -1
- package/src/sap/ui/integration/cards/Header.js +40 -9
- package/src/sap/ui/integration/cards/ListContent.js +2 -2
- package/src/sap/ui/integration/cards/NumericHeader.js +12 -3
- package/src/sap/ui/integration/cards/ObjectContent.js +142 -4
- package/src/sap/ui/integration/cards/TableContent.js +71 -3
- package/src/sap/ui/integration/cards/TableContentRenderer.js +11 -1
- package/src/sap/ui/integration/cards/TimelineContent.js +1 -1
- package/src/sap/ui/integration/cards/WebPageContent.js +1 -1
- package/src/sap/ui/integration/cards/actions/CardActions.js +24 -12
- package/src/sap/ui/integration/cards/actions/SubmitAction.js +27 -14
- 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 -1
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +2 -2
- 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 +2 -2
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +2 -7
- 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/LinkWithIcon.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItem.js +1 -1
- package/src/sap/ui/integration/controls/Microchart.js +31 -4
- package/src/sap/ui/integration/controls/MicrochartLegend.js +1 -1
- package/src/sap/ui/integration/controls/Paginator.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/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 +2 -2
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +13 -8
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +2 -1
- package/src/sap/ui/integration/editor/Editor.js +65 -23
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +1 -1
- package/src/sap/ui/integration/editor/Extension.js +10 -24
- package/src/sap/ui/integration/editor/Manifest.js +1 -1
- package/src/sap/ui/integration/editor/Settings.js +61 -45
- package/src/sap/ui/integration/editor/fields/BaseField.js +8 -4
- 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 -2
- 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 +110 -44
- package/src/sap/ui/integration/editor/fields/ObjectListField.js +36 -11
- package/src/sap/ui/integration/editor/fields/StringField.js +2 -2
- package/src/sap/ui/integration/editor/fields/StringListField.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/ShapeSelect.js +1 -1
- package/src/sap/ui/integration/formatters/IconFormatter.js +0 -12
- package/src/sap/ui/integration/library.js +2 -2
- package/src/sap/ui/integration/messagebundle.properties +8 -2
- package/src/sap/ui/integration/messagebundle_ar.properties +4 -0
- package/src/sap/ui/integration/messagebundle_bg.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ca.properties +4 -0
- package/src/sap/ui/integration/messagebundle_cs.properties +4 -0
- package/src/sap/ui/integration/messagebundle_cy.properties +4 -0
- package/src/sap/ui/integration/messagebundle_da.properties +4 -0
- package/src/sap/ui/integration/messagebundle_de.properties +4 -0
- package/src/sap/ui/integration/messagebundle_el.properties +6 -2
- package/src/sap/ui/integration/messagebundle_en.properties +6 -2
- package/src/sap/ui/integration/messagebundle_en_GB.properties +6 -2
- package/src/sap/ui/integration/messagebundle_en_US_sappsd.properties +6 -2
- package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +6 -2
- package/src/sap/ui/integration/messagebundle_en_US_saptrc.properties +6 -2
- package/src/sap/ui/integration/messagebundle_es.properties +5 -1
- package/src/sap/ui/integration/messagebundle_es_MX.properties +4 -0
- package/src/sap/ui/integration/messagebundle_et.properties +4 -0
- package/src/sap/ui/integration/messagebundle_fi.properties +4 -0
- package/src/sap/ui/integration/messagebundle_fr.properties +4 -0
- package/src/sap/ui/integration/messagebundle_fr_CA.properties +4 -0
- package/src/sap/ui/integration/messagebundle_hi.properties +4 -0
- package/src/sap/ui/integration/messagebundle_hr.properties +4 -0
- package/src/sap/ui/integration/messagebundle_hu.properties +5 -1
- package/src/sap/ui/integration/messagebundle_id.properties +6 -2
- package/src/sap/ui/integration/messagebundle_it.properties +4 -0
- package/src/sap/ui/integration/messagebundle_iw.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ja.properties +4 -0
- package/src/sap/ui/integration/messagebundle_kk.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ko.properties +4 -0
- package/src/sap/ui/integration/messagebundle_lt.properties +4 -0
- package/src/sap/ui/integration/messagebundle_lv.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ms.properties +6 -2
- package/src/sap/ui/integration/messagebundle_nl.properties +4 -0
- package/src/sap/ui/integration/messagebundle_no.properties +4 -0
- package/src/sap/ui/integration/messagebundle_pl.properties +5 -1
- package/src/sap/ui/integration/messagebundle_pt.properties +4 -0
- package/src/sap/ui/integration/messagebundle_pt_PT.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ro.properties +4 -0
- package/src/sap/ui/integration/messagebundle_ru.properties +6 -2
- package/src/sap/ui/integration/messagebundle_sh.properties +4 -0
- package/src/sap/ui/integration/messagebundle_sk.properties +4 -0
- package/src/sap/ui/integration/messagebundle_sl.properties +4 -0
- package/src/sap/ui/integration/messagebundle_sv.properties +4 -0
- package/src/sap/ui/integration/messagebundle_th.properties +5 -1
- package/src/sap/ui/integration/messagebundle_tr.properties +4 -0
- package/src/sap/ui/integration/messagebundle_uk.properties +4 -0
- package/src/sap/ui/integration/messagebundle_vi.properties +4 -0
- package/src/sap/ui/integration/messagebundle_zh_CN.properties +4 -0
- package/src/sap/ui/integration/messagebundle_zh_TW.properties +4 -0
- package/src/sap/ui/integration/model/ContextModel.js +1 -1
- package/src/sap/ui/integration/model/ObservableModel.js +1 -1
- package/src/sap/ui/integration/model/PagingModelListBinding.js +1 -1
- package/src/sap/ui/integration/schemas/sap-card.json +106 -8
- 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/CardObserver.js +1 -1
- package/src/sap/ui/integration/util/ContentFactory.js +1 -2
- 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 +49 -17
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
- package/src/sap/ui/integration/util/HeaderFactory.js +9 -45
- package/src/sap/ui/integration/util/JSONBindingHelper.js +1 -1
- package/src/sap/ui/integration/util/LoadingProvider.js +28 -4
- package/src/sap/ui/integration/util/Manifest.js +11 -6
- package/src/sap/ui/integration/util/RequestDataProvider.js +1 -1
- package/src/sap/ui/integration/util/ServiceDataProvider.js +1 -1
- package/src/sap/ui/integration/util/ServiceManager.js +1 -1
- package/src/sap/ui/integration/util/SkeletonCard.js +1 -1
- package/src/sap/ui/integration/util/Utils.js +42 -1
- package/src/sap/ui/integration/widgets/Card.js +95 -66
package/.eslintrc.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"overrides": [
|
|
3
3
|
/*
|
|
4
|
-
* Productive code
|
|
4
|
+
* Productive code and test code of sap.ui.integration has been cleaned up.
|
|
5
5
|
* No more references to the global jQuery allowed
|
|
6
6
|
*/
|
|
7
7
|
{
|
|
8
8
|
"files": [
|
|
9
9
|
"src/**/*.js",
|
|
10
|
-
"test
|
|
11
|
-
"test/sap/ui/integration/qunit/**/*.js"
|
|
10
|
+
"test/**/*.js"
|
|
12
11
|
],
|
|
13
12
|
"globals": {
|
|
14
13
|
"jQuery": "off"
|
package/.reuse/dep5
CHANGED
|
@@ -137,6 +137,11 @@ Copyright: jQuery Foundation and other contributors
|
|
|
137
137
|
License: MIT
|
|
138
138
|
Comment: these files belong to: QUnit 2
|
|
139
139
|
|
|
140
|
+
Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.*
|
|
141
|
+
Copyright: jQuery Foundation and other contributors
|
|
142
|
+
License: MIT
|
|
143
|
+
Comment: these files belong to: QUnit 2.18
|
|
144
|
+
|
|
140
145
|
Files: src/sap.ui.core/src/sap/ui/thirdparty/jquery-compat.js
|
|
141
146
|
Copyright: OpenJS Foundation and other contributors
|
|
142
147
|
License: MIT
|
|
@@ -234,6 +239,11 @@ Copyright: 2010-2017, Christian Johansen, christian@cjohansen.no
|
|
|
234
239
|
License: BSD-3-Clause
|
|
235
240
|
Comment: these files belong to: SinonJS
|
|
236
241
|
|
|
242
|
+
Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.*
|
|
243
|
+
Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
|
|
244
|
+
License: BSD-3-Clause
|
|
245
|
+
Comment: these files belong to: SinonJS 14
|
|
246
|
+
|
|
237
247
|
Files: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
|
|
238
248
|
Copyright: 2010-2011, Christian Johansen
|
|
239
249
|
License: BSD-3-Clause
|
|
@@ -339,6 +349,13 @@ Copyright:
|
|
|
339
349
|
License: Apache-2.0 and ISC
|
|
340
350
|
Comment: these files contain content from SAP and node-lru-cache: LRUPersistentCache.js is overall written by SAP, but portions ('Least Recently Used' logic) are taken from the node-lru-cache project (see https://github.com/isaacs/node-lru-cache/blob/v2.7.3/README.md) and modified.
|
|
341
351
|
|
|
352
|
+
Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
|
|
353
|
+
Copyright:
|
|
354
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
355
|
+
Arthur David Olson, Paul Eggert and other contributors
|
|
356
|
+
License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
|
|
357
|
+
Comment: these files contain content from SAP and Time Zone Database: _timezones.js is overall written by SAP, but the list of IANA timezone IDs is taken from the Timezone Database
|
|
358
|
+
|
|
342
359
|
|
|
343
360
|
# Library: sap.ui.documentation:
|
|
344
361
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -76,6 +76,12 @@ License: MIT
|
|
|
76
76
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
77
77
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.*
|
|
78
78
|
|
|
79
|
+
Component: QUnit 2.18, version: 2.18.0
|
|
80
|
+
Copyright: jQuery Foundation and other contributors
|
|
81
|
+
License: MIT
|
|
82
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
83
|
+
Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.*
|
|
84
|
+
|
|
79
85
|
Component: jQuery-Migrate, version: 3.3.1
|
|
80
86
|
Copyright: OpenJS Foundation and other contributors
|
|
81
87
|
License: MIT
|
|
@@ -191,13 +197,19 @@ License: BSD-3-Clause
|
|
|
191
197
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
192
198
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-4.js
|
|
193
199
|
|
|
200
|
+
Component: SinonJS 14, version: 14.0.0
|
|
201
|
+
Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
|
|
202
|
+
License: BSD-3-Clause
|
|
203
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
204
|
+
Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.*
|
|
205
|
+
|
|
194
206
|
Component: Sinon-qunit, version: 2.0.0
|
|
195
207
|
Copyright: 2010-2011, Christian Johansen
|
|
196
208
|
License: BSD-3-Clause
|
|
197
209
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
198
210
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
|
|
199
211
|
|
|
200
|
-
Component: URI.js, version: 1.19.
|
|
212
|
+
Component: URI.js, version: 1.19.11
|
|
201
213
|
Copyright: Rodney Rehm
|
|
202
214
|
License: MIT
|
|
203
215
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
@@ -315,6 +327,12 @@ License: ISC
|
|
|
315
327
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
|
|
316
328
|
Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
|
|
317
329
|
|
|
330
|
+
Component: Time Zone Database, version: 2022a
|
|
331
|
+
Copyright: Arthur David Olson, Paul Eggert and other contributors
|
|
332
|
+
License: LicenseRef-tzdata-PublicDomain
|
|
333
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
|
|
334
|
+
Contained in: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
|
|
335
|
+
|
|
318
336
|
|
|
319
337
|
Library: sap.ui.documentation:
|
|
320
338
|
|
|
@@ -450,7 +468,7 @@ License: Apache-2.0
|
|
|
450
468
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
451
469
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
452
470
|
|
|
453
|
-
Component: SAP Theming Base Content, version: 11.1.
|
|
471
|
+
Component: SAP Theming Base Content, version: 11.1.40
|
|
454
472
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
455
473
|
License: Apache-2.0
|
|
456
474
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
@@ -980,6 +998,21 @@ END of license: LicenseRef-JSONinJSPublicDomain
|
|
|
980
998
|
=================================
|
|
981
999
|
|
|
982
1000
|
|
|
1001
|
+
=================================
|
|
1002
|
+
BEGIN of license: LicenseRef-tzdata-PublicDomain
|
|
1003
|
+
=================================
|
|
1004
|
+
|
|
1005
|
+
Unless specified below, all files in the tz code and data (including
|
|
1006
|
+
this LICENSE file) are in the public domain.
|
|
1007
|
+
|
|
1008
|
+
If the files date.c, newstrftime.3, and strftime.c are present, they
|
|
1009
|
+
contain material derived from BSD and use the BSD 3-clause license.
|
|
1010
|
+
|
|
1011
|
+
=================================
|
|
1012
|
+
END of license: LicenseRef-tzdata-PublicDomain
|
|
1013
|
+
=================================
|
|
1014
|
+
|
|
1015
|
+
|
|
983
1016
|
=================================
|
|
984
1017
|
BEGIN of license: MIT
|
|
985
1018
|
=================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.integration",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.104.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,7 +14,7 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.
|
|
18
|
-
"@openui5/sap.f": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.104.0",
|
|
18
|
+
"@openui5/sap.f": "1.104.0"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.104.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with integration-related controls.</documentation>
|
|
12
12
|
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @extends sap.ui.core.Element
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.104.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -64,7 +64,12 @@ sap.ui.define([
|
|
|
64
64
|
/**
|
|
65
65
|
* The name of the destination to resolve.
|
|
66
66
|
*/
|
|
67
|
-
destinationName: {
|
|
67
|
+
destinationName: {type: "string"},
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* The card that resolves the destination.
|
|
71
|
+
*/
|
|
72
|
+
card: {type: "sap.ui.integration.widgets.Card"}
|
|
68
73
|
}
|
|
69
74
|
}
|
|
70
75
|
},
|
|
@@ -162,12 +167,13 @@ sap.ui.define([
|
|
|
162
167
|
* Resolves the destination and returns its URL.
|
|
163
168
|
*
|
|
164
169
|
* @param {string} sDestinationName The name of the destination.
|
|
170
|
+
* @param {sap.ui.integration.widgets.Card} oCard The card that depends on the destination.
|
|
165
171
|
* Most often the name which is used in the SAP Cloud Platform.
|
|
166
172
|
* @returns {Promise} A promise which resolves with the URL of the destination.
|
|
167
173
|
*
|
|
168
174
|
* @public
|
|
169
175
|
*/
|
|
170
|
-
Host.prototype.getDestination = function (sDestinationName) {
|
|
176
|
+
Host.prototype.getDestination = function (sDestinationName, oCard) {
|
|
171
177
|
var fnResolveDestination = this.getResolveDestination(),
|
|
172
178
|
vReturn;
|
|
173
179
|
|
|
@@ -175,9 +181,9 @@ sap.ui.define([
|
|
|
175
181
|
return Promise.reject("Could not resolve destination '" + sDestinationName + "'. There is no 'resolveDestination' callback function configured in the host.");
|
|
176
182
|
}
|
|
177
183
|
|
|
178
|
-
vReturn = fnResolveDestination(sDestinationName);
|
|
184
|
+
vReturn = fnResolveDestination(sDestinationName, oCard);
|
|
179
185
|
|
|
180
|
-
if (
|
|
186
|
+
if (vReturn === null || vReturn === undefined) {
|
|
181
187
|
return Promise.reject("Destination '" + sDestinationName + "' could not be resolved by the host.");
|
|
182
188
|
}
|
|
183
189
|
|
|
@@ -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.104.0
|
|
41
41
|
*
|
|
42
42
|
* @constructor
|
|
43
43
|
* @private
|
|
@@ -279,9 +279,8 @@ sap.ui.define([
|
|
|
279
279
|
};
|
|
280
280
|
sType = library.CardActionType.Navigation;
|
|
281
281
|
} else if (oAction instanceof AdaptiveCards.SubmitAction) {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
};
|
|
282
|
+
this.getModel("form").setProperty("/", oAction.data);
|
|
283
|
+
|
|
285
284
|
sType = library.CardActionType.Submit;
|
|
286
285
|
} else {
|
|
287
286
|
// The other types of actions are entirely internal
|
|
@@ -52,7 +52,7 @@ sap.ui.define([
|
|
|
52
52
|
* @extends sap.ui.core.Control
|
|
53
53
|
*
|
|
54
54
|
* @author SAP SE
|
|
55
|
-
* @version 1.
|
|
55
|
+
* @version 1.104.0
|
|
56
56
|
*
|
|
57
57
|
* @constructor
|
|
58
58
|
* @private
|
|
@@ -81,6 +81,15 @@ sap.ui.define([
|
|
|
81
81
|
visibility: "hidden"
|
|
82
82
|
},
|
|
83
83
|
|
|
84
|
+
/**
|
|
85
|
+
* Defines the internally used LoadingProvider.
|
|
86
|
+
*/
|
|
87
|
+
_loadingPlaceholder: {
|
|
88
|
+
type: "sap.ui.core.Element",
|
|
89
|
+
multiple: false,
|
|
90
|
+
visibility: "hidden"
|
|
91
|
+
},
|
|
92
|
+
|
|
84
93
|
_messageContainer: {
|
|
85
94
|
type: "sap.m.VBox",
|
|
86
95
|
multiple: false,
|
|
@@ -161,11 +170,6 @@ sap.ui.define([
|
|
|
161
170
|
this._oActions = null;
|
|
162
171
|
}
|
|
163
172
|
|
|
164
|
-
if (this._oLoadingPlaceholder) {
|
|
165
|
-
this._oLoadingPlaceholder.destroy();
|
|
166
|
-
this._oLoadingPlaceholder = null;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
173
|
this._sContentBindingPath = null;
|
|
170
174
|
};
|
|
171
175
|
|
|
@@ -228,7 +232,8 @@ sap.ui.define([
|
|
|
228
232
|
return this;
|
|
229
233
|
}
|
|
230
234
|
|
|
231
|
-
|
|
235
|
+
var oLoadingPlaceholder = this.getAggregation("_loadingProvider").createContentPlaceholder(oConfiguration, sType, this.getCardInstance());
|
|
236
|
+
this.setAggregation("_loadingPlaceholder", oLoadingPlaceholder);
|
|
232
237
|
this._setDataConfiguration(oConfiguration.data);
|
|
233
238
|
|
|
234
239
|
return this;
|
|
@@ -59,7 +59,7 @@ sap.ui.define(["sap/ui/core/Renderer"], function (Renderer) {
|
|
|
59
59
|
oRm.openEnd();
|
|
60
60
|
|
|
61
61
|
if (bLoading) {
|
|
62
|
-
oRm.renderControl(oCardContent.
|
|
62
|
+
oRm.renderControl(oCardContent.getAggregation("_loadingPlaceholder"));
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
if (oMessageContainer) {
|
|
@@ -35,12 +35,12 @@ sap.ui.define([
|
|
|
35
35
|
* @extends sap.ui.integration.cards.BaseContent
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.104.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @private
|
|
42
42
|
* @since 1.76
|
|
43
|
-
* @alias sap.ui.integration.cards.
|
|
43
|
+
* @alias sap.ui.integration.cards.BaseListContent
|
|
44
44
|
*/
|
|
45
45
|
var BaseListContent = BaseContent.extend("sap.ui.integration.cards.BaseListContent", {
|
|
46
46
|
metadata: {
|
|
@@ -103,7 +103,7 @@ sap.ui.define([
|
|
|
103
103
|
*
|
|
104
104
|
* @protected
|
|
105
105
|
* @virtual
|
|
106
|
-
* @returns {sap.ui.core.Control|null} An instance of ListBase or null
|
|
106
|
+
* @returns {sap.ui.core.Control|null} An instance of ListBase or <code>null</code>.
|
|
107
107
|
*/
|
|
108
108
|
BaseListContent.prototype.getInnerList = function () {
|
|
109
109
|
return null;
|
|
@@ -184,7 +184,7 @@ sap.ui.define([
|
|
|
184
184
|
};
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
|
-
* Used to show the illustrated message for no data
|
|
187
|
+
* Used to show the illustrated message for no data retrieved from server.
|
|
188
188
|
*
|
|
189
189
|
* @protected
|
|
190
190
|
* @param {Object} mItemConfig The item template.
|
|
@@ -5,22 +5,26 @@
|
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/ui/core/Core",
|
|
8
|
+
"sap/ui/model/json/JSONModel",
|
|
8
9
|
"sap/base/util/isEmptyObject",
|
|
10
|
+
"sap/base/util/merge",
|
|
9
11
|
"sap/f/cards/Header",
|
|
10
12
|
"sap/f/cards/HeaderRenderer",
|
|
11
13
|
"sap/m/library",
|
|
12
14
|
"sap/ui/integration/util/BindingHelper",
|
|
13
|
-
"sap/ui/
|
|
14
|
-
"sap/ui/integration/util/
|
|
15
|
+
"sap/ui/integration/util/LoadingProvider",
|
|
16
|
+
"sap/ui/integration/util/Utils"
|
|
15
17
|
], function (
|
|
16
18
|
Core,
|
|
19
|
+
JSONModel,
|
|
17
20
|
isEmptyObject,
|
|
21
|
+
merge,
|
|
18
22
|
FHeader,
|
|
19
23
|
FHeaderRenderer,
|
|
20
24
|
mLibrary,
|
|
21
25
|
BindingHelper,
|
|
22
|
-
|
|
23
|
-
|
|
26
|
+
LoadingProvider,
|
|
27
|
+
Utils
|
|
24
28
|
) {
|
|
25
29
|
"use strict";
|
|
26
30
|
|
|
@@ -38,7 +42,7 @@ sap.ui.define([
|
|
|
38
42
|
* @extends sap.f.cards.Header
|
|
39
43
|
*
|
|
40
44
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
45
|
+
* @version 1.104.0
|
|
42
46
|
*
|
|
43
47
|
* @constructor
|
|
44
48
|
* @private
|
|
@@ -87,11 +91,15 @@ sap.ui.define([
|
|
|
87
91
|
if (oActionsToolbar && oActionsToolbar.isA("sap.ui.integration.controls.ActionsToolbar")) {
|
|
88
92
|
oActionsToolbar.attachVisibilityChange(this._handleToolbarVisibilityChange.bind(this));
|
|
89
93
|
}
|
|
94
|
+
|
|
95
|
+
this._oConfiguration = mConfiguration;
|
|
90
96
|
},
|
|
91
97
|
|
|
92
98
|
metadata: {
|
|
93
99
|
library: "sap.ui.integration",
|
|
94
|
-
|
|
100
|
+
properties: {
|
|
101
|
+
interactive: { type: "boolean", defaultValue: false }
|
|
102
|
+
},
|
|
95
103
|
aggregations: {
|
|
96
104
|
/**
|
|
97
105
|
* The internally used LoadingProvider.
|
|
@@ -109,7 +117,6 @@ sap.ui.define([
|
|
|
109
117
|
});
|
|
110
118
|
|
|
111
119
|
Header.prototype.init = function () {
|
|
112
|
-
|
|
113
120
|
FHeader.prototype.init.call(this);
|
|
114
121
|
|
|
115
122
|
this._bReady = false;
|
|
@@ -129,7 +136,6 @@ sap.ui.define([
|
|
|
129
136
|
};
|
|
130
137
|
|
|
131
138
|
Header.prototype.exit = function () {
|
|
132
|
-
|
|
133
139
|
FHeader.prototype.exit.call(this);
|
|
134
140
|
|
|
135
141
|
this._oServiceManager = null;
|
|
@@ -146,6 +152,13 @@ sap.ui.define([
|
|
|
146
152
|
}
|
|
147
153
|
};
|
|
148
154
|
|
|
155
|
+
/**
|
|
156
|
+
* @override
|
|
157
|
+
*/
|
|
158
|
+
Header.prototype._isInteractive = function () {
|
|
159
|
+
return this.getInteractive();
|
|
160
|
+
};
|
|
161
|
+
|
|
149
162
|
/**
|
|
150
163
|
* @public
|
|
151
164
|
* @returns {boolean} If the header is ready or not.
|
|
@@ -188,7 +201,6 @@ sap.ui.define([
|
|
|
188
201
|
}.bind(this)));
|
|
189
202
|
};
|
|
190
203
|
|
|
191
|
-
|
|
192
204
|
Header.prototype.setServiceManager = function (oServiceManager) {
|
|
193
205
|
this._oServiceManager = oServiceManager;
|
|
194
206
|
return this;
|
|
@@ -199,6 +211,25 @@ sap.ui.define([
|
|
|
199
211
|
return this;
|
|
200
212
|
};
|
|
201
213
|
|
|
214
|
+
/**
|
|
215
|
+
* @returns {object} Header configuration with static values.
|
|
216
|
+
*/
|
|
217
|
+
Header.prototype.getStaticConfiguration = function () {
|
|
218
|
+
var oConfiguration = merge({}, this._oConfiguration),
|
|
219
|
+
mFormat = Utils.getNestedPropertyValue(oConfiguration, "/status/text/format"),
|
|
220
|
+
oBindingInfo;
|
|
221
|
+
|
|
222
|
+
if (mFormat) {
|
|
223
|
+
oBindingInfo = Utils.getStatusTextBindingInfo(mFormat);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
if (oBindingInfo) {
|
|
227
|
+
oConfiguration.status.text = oBindingInfo;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
return oConfiguration;
|
|
231
|
+
};
|
|
232
|
+
|
|
202
233
|
/**
|
|
203
234
|
* Sets a data settings to the header.
|
|
204
235
|
*
|
|
@@ -66,7 +66,7 @@ sap.ui.define([
|
|
|
66
66
|
* @extends sap.ui.integration.cards.BaseListContent
|
|
67
67
|
*
|
|
68
68
|
* @author SAP SE
|
|
69
|
-
* @version 1.
|
|
69
|
+
* @version 1.104.0
|
|
70
70
|
*
|
|
71
71
|
* @constructor
|
|
72
72
|
* @private
|
|
@@ -302,7 +302,7 @@ sap.ui.define([
|
|
|
302
302
|
control: this,
|
|
303
303
|
actionControl: this._oItemTemplate,
|
|
304
304
|
enabledPropertyName: "type",
|
|
305
|
-
enabledPropertyValue: ListType.
|
|
305
|
+
enabledPropertyValue: ListType.Active,
|
|
306
306
|
disabledPropertyValue: ListType.Inactive
|
|
307
307
|
});
|
|
308
308
|
|
|
@@ -35,12 +35,12 @@ sap.ui.define([
|
|
|
35
35
|
* @extends sap.f.cards.NumericHeader
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.104.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @private
|
|
42
42
|
* @since 1.77
|
|
43
|
-
* @alias sap.ui.integration.cards.
|
|
43
|
+
* @alias sap.ui.integration.cards.NumericHeader
|
|
44
44
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
45
45
|
*/
|
|
46
46
|
var NumericHeader = FNumericHeader.extend("sap.ui.integration.cards.NumericHeader", {
|
|
@@ -93,6 +93,9 @@ sap.ui.define([
|
|
|
93
93
|
},
|
|
94
94
|
metadata: {
|
|
95
95
|
library: "sap.ui.integration",
|
|
96
|
+
properties: {
|
|
97
|
+
interactive: { type: "boolean", defaultValue: false }
|
|
98
|
+
},
|
|
96
99
|
aggregations: {
|
|
97
100
|
/**
|
|
98
101
|
* The internally used LoadingProvider.
|
|
@@ -149,6 +152,12 @@ sap.ui.define([
|
|
|
149
152
|
}
|
|
150
153
|
};
|
|
151
154
|
|
|
155
|
+
/**
|
|
156
|
+
* @override
|
|
157
|
+
*/
|
|
158
|
+
NumericHeader.prototype._isInteractive = function () {
|
|
159
|
+
return this.getInteractive();
|
|
160
|
+
};
|
|
152
161
|
|
|
153
162
|
/**
|
|
154
163
|
* @public
|
|
@@ -285,8 +294,8 @@ sap.ui.define([
|
|
|
285
294
|
|
|
286
295
|
/**
|
|
287
296
|
* Gets the card instance of which this element is part of.
|
|
288
|
-
* @ui5-restricted
|
|
289
297
|
* @private
|
|
298
|
+
* @ui5-restricted
|
|
290
299
|
* @returns {sap.ui.integration.widgets.Card} The card instance.
|
|
291
300
|
*/
|
|
292
301
|
NumericHeader.prototype.getCardInstance = function () {
|