@openui5/sap.ui.integration 1.95.0 → 1.96.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +10 -5
- package/THIRDPARTY.txt +17 -8
- package/package.json +3 -3
- package/src/sap/ui/integration/.library +6 -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 +30 -2
- 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 +1 -1
- package/src/sap/ui/integration/cards/BaseListContent.js +23 -3
- package/src/sap/ui/integration/cards/CalendarContent.js +1 -1
- package/src/sap/ui/integration/cards/CalendarContentRenderer.js +8 -3
- 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 +1 -1
- package/src/sap/ui/integration/cards/ListContent.js +37 -13
- package/src/sap/ui/integration/cards/ListContentRenderer.js +38 -7
- package/src/sap/ui/integration/cards/NumericHeader.js +3 -2
- package/src/sap/ui/integration/cards/ObjectContent.js +1 -1
- package/src/sap/ui/integration/cards/TableContent.js +9 -2
- 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/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/{Filter.js → filters/BaseFilter.js} +56 -134
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +232 -0
- package/src/sap/ui/integration/{util → cards/filters}/FilterBarFactory.js +37 -12
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +157 -0
- 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/ListContentItem.js +13 -2
- package/src/sap/ui/integration/controls/ListContentItemRenderer.js +65 -2
- 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/designtime/baseEditor/BaseEditor.js +26 -1
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +44 -2
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +27 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n.properties +34 -25
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ar.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_bg.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ca.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_cs.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_cy.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_da.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_de.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_el.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_GB.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_US_sappsd.properties +4 -2
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_US_saprigi.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_es.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_es_MX.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_et.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fi.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fr.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fr_CA.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hi.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hr.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hu.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_id.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_it.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_iw.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ja.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_kk.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ko.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_lt.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_lv.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ms.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_nl.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_no.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pl.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pt.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pt_PT.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ro.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ru.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sh.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sk.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sl.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sv.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_th.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_tr.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_uk.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_vi.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_zh_CN.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_zh_TW.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +48 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +4 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +4 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.fragment.xml +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +65 -17
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.fragment.xml +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +17 -4
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +4 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +10 -2
- 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 +10 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +11 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.fragment.xml +8 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +62 -35
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +10 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +4 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +4 -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 +5 -4
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +1 -5
- 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/BASEditor.js +7 -1
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_US_saprigi.properties +4 -0
- 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/iconEditor/IconEditor.js +11 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +2 -2
- package/src/sap/ui/integration/editor/Editor.js +33 -34
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +3 -3
- package/src/sap/ui/integration/editor/Extension.js +1 -1
- package/src/sap/ui/integration/editor/Manifest.js +2 -2
- package/src/sap/ui/integration/editor/Merger.js +5 -3
- package/src/sap/ui/integration/editor/Settings.js +1 -1
- package/src/sap/ui/integration/editor/css/Editor.css +0 -3
- 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 -20
- package/src/sap/ui/integration/editor/fields/IntegerField.js +1 -1
- package/src/sap/ui/integration/editor/fields/ListField.js +45 -47
- package/src/sap/ui/integration/editor/fields/NumberField.js +1 -1
- package/src/sap/ui/integration/editor/fields/StringField.js +2 -23
- 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/editor/languages.json +32 -32
- package/src/sap/ui/integration/library.js +22 -2
- package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +81 -55
- 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 +222 -28
- package/src/sap/ui/integration/themes/base/CalendarContent.less +4 -2
- package/src/sap/ui/integration/themes/base/ListContentItem.less +101 -68
- package/src/sap/ui/integration/themes/base/Microchart.less +0 -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 +35 -13
- package/src/sap/ui/integration/util/CardActions.js +1 -1
- package/src/sap/ui/integration/util/CardMerger.js +5 -3
- package/src/sap/ui/integration/util/CardObserver.js +1 -1
- package/src/sap/ui/integration/util/ContentFactory.js +1 -1
- package/src/sap/ui/integration/util/DataProvider.js +4 -4
- package/src/sap/ui/integration/util/DataProviderFactory.js +14 -8
- package/src/sap/ui/integration/util/Destinations.js +1 -1
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
- package/src/sap/ui/integration/util/HeaderFactory.js +8 -7
- package/src/sap/ui/integration/util/JSONBindingHelper.js +3 -3
- package/src/sap/ui/integration/util/LoadingProvider.js +1 -1
- package/src/sap/ui/integration/util/Manifest.js +3 -2
- package/src/sap/ui/integration/util/RequestDataProvider.js +3 -3
- 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/Utils.js +1 -1
- package/src/sap/ui/integration/widgets/Card.js +125 -70
- package/ui5.yaml +4 -1
package/.reuse/dep5
CHANGED
|
@@ -400,6 +400,11 @@ Copyright: 2014 Vitaly Puzrin, Alex Kocharin
|
|
|
400
400
|
License: MIT
|
|
401
401
|
Comment: these files belong to: Markdown-it
|
|
402
402
|
|
|
403
|
+
Files: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
|
|
404
|
+
Copyright: 2015-2017 Evgeny Poberezkin
|
|
405
|
+
License: MIT
|
|
406
|
+
Comment: these files belong to: ajv
|
|
407
|
+
|
|
403
408
|
|
|
404
409
|
# Library: sap.ui.mdc:
|
|
405
410
|
|
|
@@ -447,11 +452,6 @@ Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
|
|
|
447
452
|
License: Apache-2.0
|
|
448
453
|
Comment: these files belong to: LESS
|
|
449
454
|
|
|
450
|
-
Files: ../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
|
|
451
|
-
Copyright: 2015-2017 Evgeny Poberezkin
|
|
452
|
-
License: MIT
|
|
453
|
-
Comment: these files belong to: ajv
|
|
454
|
-
|
|
455
455
|
Files: lib/jsdoc/ui5/plugin.js
|
|
456
456
|
Copyright:
|
|
457
457
|
2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
@@ -459,3 +459,8 @@ Copyright:
|
|
|
459
459
|
License: Apache-2.0
|
|
460
460
|
Comment: these files contain content from SAP and JSDoc 3: plugin.js is overall written by SAP, but contains code taken from JSDoc 3.6.7 (see the respective comments)
|
|
461
461
|
|
|
462
|
+
Files: src/sap.ui.core/src/sap/ui/core/themes/base/base.less src/themelib_sap_belize/src/sap/ui/core/themes/*/base.less src/themelib_sap_fiori_3/src/sap/ui/core/themes/*/base.less src/themelib_sap_horizon/src/sap/ui/core/themes/*/base.less
|
|
463
|
+
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
464
|
+
License: Apache-2.0
|
|
465
|
+
Comment: these files belong to: SAP Theming Base Content
|
|
466
|
+
|
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.ui.codeeditor:
|
|
8
8
|
|
|
9
|
-
Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.
|
|
9
|
+
Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.13
|
|
10
10
|
Copyright: 2010, Ajax.org B.V.
|
|
11
11
|
License: BSD-3-Clause
|
|
12
12
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
@@ -197,7 +197,7 @@ License: BSD-3-Clause
|
|
|
197
197
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
198
198
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
|
|
199
199
|
|
|
200
|
-
Component: URI.js, version: 1.19.
|
|
200
|
+
Component: URI.js, version: 1.19.7
|
|
201
201
|
Copyright: Rodney Rehm
|
|
202
202
|
License: MIT
|
|
203
203
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
@@ -389,6 +389,12 @@ License: MIT
|
|
|
389
389
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
390
390
|
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/markdown-it.js
|
|
391
391
|
|
|
392
|
+
Component: ajv, version: 6.12.3
|
|
393
|
+
Copyright: 2015-2017 Evgeny Poberezkin
|
|
394
|
+
License: MIT
|
|
395
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
396
|
+
Contained in: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
|
|
397
|
+
|
|
392
398
|
|
|
393
399
|
Library: sap.ui.mdc:
|
|
394
400
|
|
|
@@ -444,18 +450,21 @@ License: Apache-2.0
|
|
|
444
450
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
445
451
|
Contained in: src/testsuite-utils/src/main/resources/META-INF/less/less.js
|
|
446
452
|
|
|
447
|
-
Component: ajv, version: 6.12.3
|
|
448
|
-
Copyright: 2015-2017 Evgeny Poberezkin
|
|
449
|
-
License: MIT
|
|
450
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
451
|
-
Contained in: ../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
|
|
452
|
-
|
|
453
453
|
Component: JSDoc 3, version: 3.6.7
|
|
454
454
|
Copyright: 2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
|
|
455
455
|
License: Apache-2.0
|
|
456
456
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
457
457
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
458
458
|
|
|
459
|
+
Component: SAP Theming Base Content, version: 11.1.34
|
|
460
|
+
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
461
|
+
License: Apache-2.0
|
|
462
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
463
|
+
Contained in: src/sap.ui.core/src/sap/ui/core/themes/base/base.less
|
|
464
|
+
src/themelib_sap_belize/src/sap/ui/core/themes/*/base.less
|
|
465
|
+
src/themelib_sap_fiori_3/src/sap/ui/core/themes/*/base.less
|
|
466
|
+
src/themelib_sap_horizon/src/sap/ui/core/themes/*/base.less
|
|
467
|
+
|
|
459
468
|
|
|
460
469
|
ALL LICENSE TEXTS:
|
|
461
470
|
==================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.integration",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.96.3",
|
|
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.96.3",
|
|
18
|
+
"@openui5/sap.f": "1.96.3"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2021 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.96.3</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with integration-related controls.</documentation>
|
|
12
12
|
|
|
@@ -81,6 +81,11 @@
|
|
|
81
81
|
<copyright>2014 Vitaly Puzrin, Alex Kocharin</copyright>
|
|
82
82
|
<pattern>sap/ui/integration/thirdparty/markdown-it.js</pattern>
|
|
83
83
|
</lib>
|
|
84
|
+
<lib name="ajv" displayName="ajv" version="6.12.3" homepage="https://ajv.js.org/">
|
|
85
|
+
<license url="https://ajv.js.org/license.html" type="MIT"></license>
|
|
86
|
+
<copyright>2015-2017 Evgeny Poberezkin</copyright>
|
|
87
|
+
<pattern>../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js</pattern>
|
|
88
|
+
</lib>
|
|
84
89
|
</thirdparty>
|
|
85
90
|
|
|
86
91
|
<documentation xmlns="http://www.sap.com/ui5/buildext/documentation"
|
|
@@ -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.96.3
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -113,6 +113,34 @@ sap.ui.define([
|
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
|
|
116
|
+
/**
|
|
117
|
+
* Fired when some card configuration settings are changed as a result of user interaction.
|
|
118
|
+
* For example - filter value is changed.
|
|
119
|
+
* @experimental since 1.96
|
|
120
|
+
*/
|
|
121
|
+
cardConfigurationChange: {
|
|
122
|
+
parameters: {
|
|
123
|
+
/**
|
|
124
|
+
* The card the changes are fired from.
|
|
125
|
+
*/
|
|
126
|
+
card: { type: "sap.ui.core.Control" },
|
|
127
|
+
/**
|
|
128
|
+
* Changed configuration settings.
|
|
129
|
+
*
|
|
130
|
+
* Example:
|
|
131
|
+
* <pre>
|
|
132
|
+
* {
|
|
133
|
+
* "/sap.card/configuration/filters/shipper/value": "key3",
|
|
134
|
+
* "/sap.card/configuration/filters/item/value": "key2"
|
|
135
|
+
* }
|
|
136
|
+
* </pre>
|
|
137
|
+
*/
|
|
138
|
+
changes: {
|
|
139
|
+
type: "object"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
|
|
116
144
|
/**
|
|
117
145
|
* Fired when a message from channels like navigator.serviceWorker is received.
|
|
118
146
|
* @experimental since 1.91
|
|
@@ -271,7 +299,7 @@ sap.ui.define([
|
|
|
271
299
|
* Override if you need to change the default cache headers behavior.
|
|
272
300
|
* @param {map} mHeaders The current map of headers.
|
|
273
301
|
* @param {map} mSettings The map of request settings defined in the card manifest.
|
|
274
|
-
* @param {sap.ui.integration.widgets.Card} oCard The card for which the request is made.
|
|
302
|
+
* @param {sap.ui.integration.widgets.Card} [oCard] The card for which the request is made.
|
|
275
303
|
* @returns {map} Map of http headers.
|
|
276
304
|
* @private
|
|
277
305
|
* @ui5-restricted
|
|
@@ -10,14 +10,16 @@ sap.ui.define([
|
|
|
10
10
|
"sap/ui/integration/library",
|
|
11
11
|
"sap/ui/model/Filter",
|
|
12
12
|
"sap/ui/model/FilterOperator",
|
|
13
|
-
"sap/base/Log"
|
|
13
|
+
"sap/base/Log",
|
|
14
|
+
"sap/ui/model/Sorter"
|
|
14
15
|
], function (
|
|
15
16
|
BaseContent,
|
|
16
17
|
BindingResolver,
|
|
17
18
|
library,
|
|
18
19
|
Filter,
|
|
19
20
|
FilterOperator,
|
|
20
|
-
Log
|
|
21
|
+
Log,
|
|
22
|
+
Sorter
|
|
21
23
|
) {
|
|
22
24
|
"use strict";
|
|
23
25
|
|
|
@@ -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.96.3
|
|
37
39
|
*
|
|
38
40
|
* @constructor
|
|
39
41
|
* @private
|
|
@@ -205,5 +207,23 @@ sap.ui.define([
|
|
|
205
207
|
}.bind(this));
|
|
206
208
|
};
|
|
207
209
|
|
|
210
|
+
/**
|
|
211
|
+
* Define the sorting of a group.
|
|
212
|
+
* @param {object} oGroup The group which will be sorted
|
|
213
|
+
* @returns {sap.ui.model.Sorter} Sorter for a list bindings.
|
|
214
|
+
*/
|
|
215
|
+
BaseListContent.prototype._getGroupSorter = function(oGroup) {
|
|
216
|
+
|
|
217
|
+
var bDescendingOrder = false;
|
|
218
|
+
if (oGroup.order.dir && oGroup.order.dir === "DESC") {
|
|
219
|
+
bDescendingOrder = true;
|
|
220
|
+
}
|
|
221
|
+
var oSorter = new Sorter(oGroup.order.path, bDescendingOrder, function (oContext) {
|
|
222
|
+
return BindingResolver.resolveValue(oGroup.title, oContext.getModel(), oContext.getPath());
|
|
223
|
+
});
|
|
224
|
+
|
|
225
|
+
return oSorter;
|
|
226
|
+
};
|
|
227
|
+
|
|
208
228
|
return BaseListContent;
|
|
209
229
|
});
|
|
@@ -4,11 +4,16 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define([
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
"./BaseContentRenderer",
|
|
9
|
+
"sap/ui/core/IconPool",
|
|
8
10
|
"sap/ui/core/InvisibleText",
|
|
9
11
|
"sap/ui/unified/library",
|
|
10
|
-
"sap/ui/unified/CalendarLegendRenderer"
|
|
11
|
-
|
|
12
|
+
"sap/ui/unified/CalendarLegendRenderer"
|
|
13
|
+
],
|
|
14
|
+
function(
|
|
15
|
+
BaseContentRenderer,
|
|
16
|
+
IconPool,
|
|
12
17
|
InvisibleText,
|
|
13
18
|
unifiedLibrary,
|
|
14
19
|
CalendarLegendRenderer) {
|
|
@@ -9,6 +9,7 @@ sap.ui.define([
|
|
|
9
9
|
"sap/ui/util/openWindow",
|
|
10
10
|
"sap/m/library",
|
|
11
11
|
"sap/m/List",
|
|
12
|
+
"sap/m/ObjectStatus",
|
|
12
13
|
"sap/ui/integration/library",
|
|
13
14
|
"sap/ui/integration/util/BindingHelper",
|
|
14
15
|
"sap/ui/integration/controls/Microchart",
|
|
@@ -21,6 +22,7 @@ sap.ui.define([
|
|
|
21
22
|
openWindow,
|
|
22
23
|
mLibrary,
|
|
23
24
|
List,
|
|
25
|
+
ObjectStatus,
|
|
24
26
|
library,
|
|
25
27
|
BindingHelper,
|
|
26
28
|
Microchart,
|
|
@@ -45,6 +47,9 @@ sap.ui.define([
|
|
|
45
47
|
// shortcut for sap.ui.integration.CardActionArea
|
|
46
48
|
var ActionArea = library.CardActionArea;
|
|
47
49
|
|
|
50
|
+
// shortcut for sap.m.EmptyIndicator
|
|
51
|
+
var EmptyIndicatorMode = mLibrary.EmptyIndicatorMode;
|
|
52
|
+
|
|
48
53
|
var LEGEND_COLORS_LOAD = "_legendColorsLoad";
|
|
49
54
|
|
|
50
55
|
/**
|
|
@@ -59,7 +64,7 @@ sap.ui.define([
|
|
|
59
64
|
* @extends sap.ui.integration.cards.BaseListContent
|
|
60
65
|
*
|
|
61
66
|
* @author SAP SE
|
|
62
|
-
* @version 1.
|
|
67
|
+
* @version 1.96.3
|
|
63
68
|
*
|
|
64
69
|
* @constructor
|
|
65
70
|
* @private
|
|
@@ -68,6 +73,7 @@ sap.ui.define([
|
|
|
68
73
|
*/
|
|
69
74
|
var ListContent = BaseListContent.extend("sap.ui.integration.cards.ListContent", {
|
|
70
75
|
metadata: {
|
|
76
|
+
library: "sap.ui.integration",
|
|
71
77
|
aggregations: {
|
|
72
78
|
|
|
73
79
|
/**
|
|
@@ -101,10 +107,6 @@ sap.ui.define([
|
|
|
101
107
|
}
|
|
102
108
|
}
|
|
103
109
|
});
|
|
104
|
-
|
|
105
|
-
this._oItemTemplate = new ListContentItem({
|
|
106
|
-
iconDensityAware: false
|
|
107
|
-
});
|
|
108
110
|
};
|
|
109
111
|
|
|
110
112
|
/**
|
|
@@ -195,13 +197,14 @@ sap.ui.define([
|
|
|
195
197
|
ListContent.prototype._setItem = function (mItem) {
|
|
196
198
|
var oList = this._getList(),
|
|
197
199
|
mSettings = {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
200
|
+
iconDensityAware: false,
|
|
201
|
+
title: mItem.title && (mItem.title.value || mItem.title),
|
|
202
|
+
description: mItem.description && (mItem.description.value || mItem.description),
|
|
203
|
+
highlight: mItem.highlight,
|
|
204
|
+
info: mItem.info && mItem.info.value,
|
|
205
|
+
infoState: mItem.info && mItem.info.state,
|
|
206
|
+
attributes: []
|
|
207
|
+
};
|
|
205
208
|
|
|
206
209
|
if (mItem.icon) {
|
|
207
210
|
mSettings.icon = BindingHelper.formattedProperty(mItem.icon.src, function (sValue) {
|
|
@@ -221,6 +224,20 @@ sap.ui.define([
|
|
|
221
224
|
mSettings.iconBackgroundColor = mItem.icon.backgroundColor || (mItem.icon.text ? undefined : AvatarColor.Transparent);
|
|
222
225
|
}
|
|
223
226
|
|
|
227
|
+
if (mItem.attributesLayoutType) {
|
|
228
|
+
mSettings.attributesLayoutType = mItem.attributesLayoutType;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
if (mItem.attributes) {
|
|
232
|
+
mItem.attributes.forEach(function (attr) {
|
|
233
|
+
mSettings.attributes.push(new ObjectStatus({
|
|
234
|
+
text: attr.value,
|
|
235
|
+
state: attr.state,
|
|
236
|
+
emptyIndicatorMode: EmptyIndicatorMode.On
|
|
237
|
+
}));
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
|
|
224
241
|
if (mItem.chart) {
|
|
225
242
|
mSettings.microchart = this._createChartAndAddLegend(mItem.chart);
|
|
226
243
|
}
|
|
@@ -243,9 +260,16 @@ sap.ui.define([
|
|
|
243
260
|
disabledPropertyValue: ListType.Inactive
|
|
244
261
|
});
|
|
245
262
|
|
|
263
|
+
var oGroup = this.getConfiguration().group;
|
|
264
|
+
|
|
265
|
+
if (oGroup) {
|
|
266
|
+
this._oSorter = this._getGroupSorter(oGroup);
|
|
267
|
+
}
|
|
246
268
|
var oBindingInfo = {
|
|
247
|
-
template: this._oItemTemplate
|
|
269
|
+
template: this._oItemTemplate,
|
|
270
|
+
sorter: this._oSorter
|
|
248
271
|
};
|
|
272
|
+
|
|
249
273
|
this._filterHiddenNavigationItems(mItem, oBindingInfo);
|
|
250
274
|
this._bindAggregationToControl("items", oList, oBindingInfo);
|
|
251
275
|
};
|
|
@@ -4,9 +4,17 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define([
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
"./BaseContentRenderer",
|
|
9
|
+
"../library"
|
|
10
|
+
], function (
|
|
11
|
+
BaseContentRenderer,
|
|
12
|
+
library
|
|
13
|
+
) {
|
|
8
14
|
"use strict";
|
|
9
15
|
|
|
16
|
+
var AttributesLayoutType = library.AttributesLayoutType;
|
|
17
|
+
|
|
10
18
|
/**
|
|
11
19
|
* ListContentRenderer renderer.
|
|
12
20
|
* @author SAP SE
|
|
@@ -48,20 +56,43 @@ sap.ui.define(["./BaseContentRenderer"], function (BaseContentRenderer) {
|
|
|
48
56
|
|
|
49
57
|
var bIsCompact = this.isCompact(oControl),
|
|
50
58
|
oTemplate = oConfiguration.item,
|
|
51
|
-
fItemHeight = bIsCompact ?
|
|
59
|
+
fItemHeight = bIsCompact ? 1 : 1.125, // title height in "rem",
|
|
60
|
+
fVerticalPadding = bIsCompact ? 1 : 1.625, // vertical padding in "rem"
|
|
61
|
+
iAttrLength;
|
|
62
|
+
|
|
63
|
+
if (oTemplate.icon && !oTemplate.description) {
|
|
64
|
+
fVerticalPadding = bIsCompact ? 0 : 0.75;
|
|
65
|
+
fItemHeight = 2;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
if (oTemplate.description) {
|
|
69
|
+
fVerticalPadding = 2;
|
|
70
|
+
fItemHeight += bIsCompact ? 2 : 1.875;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if (oTemplate.attributes) {
|
|
74
|
+
fVerticalPadding = 2.25;
|
|
75
|
+
iAttrLength = oTemplate.attributes.length / 2;
|
|
52
76
|
|
|
53
|
-
|
|
54
|
-
|
|
77
|
+
if (oTemplate.attributesLayoutType === AttributesLayoutType.OneColumn) {
|
|
78
|
+
iAttrLength = oTemplate.attributes.length;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
iAttrLength = Math.ceil(iAttrLength);
|
|
82
|
+
fItemHeight += iAttrLength * 1.5; // attribute row height in "rem"
|
|
55
83
|
}
|
|
56
84
|
|
|
57
|
-
if (oTemplate.
|
|
58
|
-
fItemHeight
|
|
85
|
+
if (oTemplate.chart) {
|
|
86
|
+
fItemHeight += 1; // chart height in "rem"
|
|
59
87
|
}
|
|
60
88
|
|
|
61
89
|
if (oTemplate.actionsStrip) {
|
|
62
|
-
|
|
90
|
+
fVerticalPadding = 1;
|
|
91
|
+
fItemHeight += bIsCompact ? 3 : 3.75; // actions strip height in "rem"
|
|
63
92
|
}
|
|
64
93
|
|
|
94
|
+
fItemHeight += fVerticalPadding;
|
|
95
|
+
|
|
65
96
|
return fItemHeight;
|
|
66
97
|
};
|
|
67
98
|
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @extends sap.f.NumericHeader
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.96.3
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @private
|
|
@@ -63,7 +63,8 @@ sap.ui.define([
|
|
|
63
63
|
|
|
64
64
|
extend(mSettings, {
|
|
65
65
|
unitOfMeasurement: mConfiguration.unitOfMeasurement,
|
|
66
|
-
details: mConfiguration.details
|
|
66
|
+
details: mConfiguration.details,
|
|
67
|
+
sideIndicatorsAlignment: mConfiguration.sideIndicatorsAlignment
|
|
67
68
|
});
|
|
68
69
|
|
|
69
70
|
if (mConfiguration.mainIndicator) {
|
|
@@ -77,7 +77,7 @@ sap.ui.define([
|
|
|
77
77
|
* @extends sap.ui.integration.cards.BaseListContent
|
|
78
78
|
*
|
|
79
79
|
* @author SAP SE
|
|
80
|
-
* @version 1.
|
|
80
|
+
* @version 1.96.3
|
|
81
81
|
*
|
|
82
82
|
* @constructor
|
|
83
83
|
* @private
|
|
@@ -189,8 +189,15 @@ sap.ui.define([
|
|
|
189
189
|
disabledPropertyValue: ListType.Inactive
|
|
190
190
|
});
|
|
191
191
|
|
|
192
|
+
var oGroup = this.getConfiguration().group;
|
|
193
|
+
|
|
194
|
+
if (oGroup) {
|
|
195
|
+
this._oSorter = this._getGroupSorter(oGroup);
|
|
196
|
+
}
|
|
197
|
+
|
|
192
198
|
var oBindingInfo = {
|
|
193
|
-
template: this._oItemTemplate
|
|
199
|
+
template: this._oItemTemplate,
|
|
200
|
+
sorter: this._oSorter
|
|
194
201
|
};
|
|
195
202
|
this._filterHiddenNavigationItems(oRow, oBindingInfo);
|
|
196
203
|
this._bindAggregationToControl("items", oTable, oBindingInfo);
|
|
@@ -17,7 +17,7 @@ sap.ui.define(["sap/ui/integration/thirdparty/adaptivecards"], function (Adaptiv
|
|
|
17
17
|
* <code>ui5-select</code>, or container with <code>ui5-radiobutton</code>, or <code>ui5-checkbox</code> web components.
|
|
18
18
|
*
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.96.3
|
|
21
21
|
*
|
|
22
22
|
* @private
|
|
23
23
|
* @since 1.74
|