@openui5/sap.ui.integration 1.94.0 → 1.97.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +12 -12
- package/THIRDPARTY.txt +21 -17
- 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 +107 -8
- package/src/sap/ui/integration/ManifestResolver.js +102 -0
- package/src/sap/ui/integration/cards/AdaptiveContent.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticalContent.js +180 -150
- package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +6 -3
- package/src/sap/ui/integration/cards/BaseContent.js +60 -6
- package/src/sap/ui/integration/cards/BaseContentRenderer.js +1 -1
- package/src/sap/ui/integration/cards/BaseListContent.js +26 -4
- package/src/sap/ui/integration/cards/CalendarContent.js +4 -2
- package/src/sap/ui/integration/cards/CalendarContentRenderer.js +9 -3
- package/src/sap/ui/integration/cards/ComponentContent.js +2 -1
- package/src/sap/ui/integration/cards/Footer.js +1 -1
- package/src/sap/ui/integration/cards/Header.js +7 -1
- package/src/sap/ui/integration/cards/ListContent.js +71 -22
- package/src/sap/ui/integration/cards/ListContentRenderer.js +38 -7
- package/src/sap/ui/integration/cards/NumericHeader.js +9 -2
- package/src/sap/ui/integration/cards/ObjectContent.js +145 -131
- package/src/sap/ui/integration/cards/TableContent.js +12 -8
- package/src/sap/ui/integration/cards/TimelineContent.js +7 -9
- package/src/sap/ui/integration/cards/WebPageContent.js +5 -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 -128
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +234 -0
- package/src/sap/ui/integration/{util → cards/filters}/FilterBarFactory.js +37 -12
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +187 -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 +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_bg.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ca.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_cs.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_cy.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_da.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_de.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_el.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_GB.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_US_sappsd.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_US_saptrc.properties +20 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_es.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_es_MX.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_et.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fi.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fr.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fr_CA.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hi.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hr.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hu.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_id.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_it.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_iw.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ja.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_kk.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ko.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_lt.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_lv.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ms.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_nl.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_no.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pl.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pt.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pt_PT.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ro.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ru.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sh.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sk.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sl.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sv.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_th.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_tr.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_uk.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_vi.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_zh_CN.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_zh_TW.properties +19 -13
- 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/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 +12 -10
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +46 -3
- package/src/sap/ui/integration/designtime/editor/css/CardPreview.css +22 -1
- package/src/sap/ui/integration/editor/Editor.js +214 -108
- 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 +6 -4
- package/src/sap/ui/integration/editor/Settings.js +48 -34
- package/src/sap/ui/integration/editor/css/Editor.css +6 -18
- package/src/sap/ui/integration/editor/fields/BaseField.js +26 -3
- package/src/sap/ui/integration/editor/fields/BooleanField.js +3 -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/IntegerField.js +4 -1
- package/src/sap/ui/integration/editor/fields/ListField.js +279 -87
- package/src/sap/ui/integration/editor/fields/NumberField.js +1 -1
- package/src/sap/ui/integration/editor/fields/StringField.js +67 -7
- package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +3 -3
- 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/model/ContextModel.js +1 -1
- package/src/sap/ui/integration/model/ObservableModel.js +2 -14
- package/src/sap/ui/integration/schemas/sap-card.json +344 -44
- package/src/sap/ui/integration/themes/base/AnalyticsCloudContent.less +4 -0
- package/src/sap/ui/integration/themes/base/CalendarContent.less +31 -2
- package/src/sap/ui/integration/themes/base/ListContentItem.less +102 -62
- 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 +2 -2
- package/src/sap/ui/integration/util/BindingResolver.js +1 -1
- package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +58 -24
- 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 +3 -7
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +312 -0
- package/src/sap/ui/integration/util/DataProvider.js +13 -4
- package/src/sap/ui/integration/util/DataProviderFactory.js +59 -16
- 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 +4 -4
- package/src/sap/ui/integration/util/LoadingProvider.js +1 -1
- package/src/sap/ui/integration/util/Manifest.js +4 -3
- package/src/sap/ui/integration/util/RequestDataProvider.js +88 -50
- 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 +41 -1
- package/src/sap/ui/integration/widgets/Card.js +178 -72
- package/ui5.yaml +289 -1
package/.reuse/dep5
CHANGED
|
@@ -309,7 +309,7 @@ License: MIT
|
|
|
309
309
|
Comment: these files belong to: lodash
|
|
310
310
|
|
|
311
311
|
Files: src/sap.ui.core/src/sap/ui/thirdparty/hyphenopoly/*
|
|
312
|
-
Copyright:
|
|
312
|
+
Copyright: 2021 Mathias Nater
|
|
313
313
|
License: MIT
|
|
314
314
|
Comment: these files belong to: Hyphenopoly
|
|
315
315
|
|
|
@@ -347,11 +347,6 @@ Copyright: 2013 Ariya Hidayat and other contributors
|
|
|
347
347
|
License: BSD-2-Clause
|
|
348
348
|
Comment: these files belong to: Esprima
|
|
349
349
|
|
|
350
|
-
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/*
|
|
351
|
-
Copyright: 2006 Google Inc.
|
|
352
|
-
License: Apache-2.0
|
|
353
|
-
Comment: these files belong to: google-code-prettify
|
|
354
|
-
|
|
355
350
|
Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/*
|
|
356
351
|
Copyright: 2006-2020, Ivan Sagalaev
|
|
357
352
|
License: BSD-3-Clause
|
|
@@ -405,6 +400,11 @@ Copyright: 2014 Vitaly Puzrin, Alex Kocharin
|
|
|
405
400
|
License: MIT
|
|
406
401
|
Comment: these files belong to: Markdown-it
|
|
407
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
|
+
|
|
408
408
|
|
|
409
409
|
# Library: sap.ui.mdc:
|
|
410
410
|
|
|
@@ -418,7 +418,7 @@ Comment: these files contain content from SAP and BooleanExpressionEvaluator: Bo
|
|
|
418
418
|
|
|
419
419
|
# Library: sap.ui.webc.common:
|
|
420
420
|
|
|
421
|
-
Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/
|
|
421
|
+
Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
|
|
422
422
|
Copyright: SAP
|
|
423
423
|
License: Apache-2.0
|
|
424
424
|
Comment: these files belong to: UI5 Web Components
|
|
@@ -452,11 +452,6 @@ Copyright: 2009-2014, Alexis Sellier <self@cloudhead.net>
|
|
|
452
452
|
License: Apache-2.0
|
|
453
453
|
Comment: these files belong to: LESS
|
|
454
454
|
|
|
455
|
-
Files: ../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
|
|
456
|
-
Copyright: 2015-2017 Evgeny Poberezkin
|
|
457
|
-
License: MIT
|
|
458
|
-
Comment: these files belong to: ajv
|
|
459
|
-
|
|
460
455
|
Files: lib/jsdoc/ui5/plugin.js
|
|
461
456
|
Copyright:
|
|
462
457
|
2009-2021 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
@@ -464,3 +459,8 @@ Copyright:
|
|
|
464
459
|
License: Apache-2.0
|
|
465
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)
|
|
466
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
|
|
@@ -279,8 +279,8 @@ License: MIT
|
|
|
279
279
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
280
280
|
Contained in: src/sap.ui.core/src/sap/ui/base/util/restricted/_/lodash.custom.js
|
|
281
281
|
|
|
282
|
-
Component: Hyphenopoly, version:
|
|
283
|
-
Copyright:
|
|
282
|
+
Component: Hyphenopoly, version: 3.4.0
|
|
283
|
+
Copyright: 2021 Mathias Nater
|
|
284
284
|
License: MIT
|
|
285
285
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
286
286
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/hyphenopoly/*
|
|
@@ -324,12 +324,6 @@ License: BSD-2-Clause
|
|
|
324
324
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-2-Clause.txt
|
|
325
325
|
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/esprima.js
|
|
326
326
|
|
|
327
|
-
Component: google-code-prettify, version: 20130304
|
|
328
|
-
Copyright: 2006 Google Inc.
|
|
329
|
-
License: Apache-2.0
|
|
330
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
331
|
-
Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/*
|
|
332
|
-
|
|
333
327
|
Component: highlight.js, version: 10.4.1
|
|
334
328
|
Copyright: 2006-2020, Ivan Sagalaev
|
|
335
329
|
License: BSD-3-Clause
|
|
@@ -395,6 +389,12 @@ License: MIT
|
|
|
395
389
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
396
390
|
Contained in: src/sap.ui.integration/src/sap/ui/integration/thirdparty/markdown-it.js
|
|
397
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
|
+
|
|
398
398
|
|
|
399
399
|
Library: sap.ui.mdc:
|
|
400
400
|
|
|
@@ -412,10 +412,11 @@ Copyright: SAP
|
|
|
412
412
|
License: Apache-2.0
|
|
413
413
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
414
414
|
Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
|
|
415
|
-
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/
|
|
415
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/*.*
|
|
416
416
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.*
|
|
417
417
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.*
|
|
418
418
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
|
|
419
|
+
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
|
|
419
420
|
|
|
420
421
|
Component: lit-html, version: 1.4.1
|
|
421
422
|
Copyright: Google LLC
|
|
@@ -450,18 +451,21 @@ License: Apache-2.0
|
|
|
450
451
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
451
452
|
Contained in: src/testsuite-utils/src/main/resources/META-INF/less/less.js
|
|
452
453
|
|
|
453
|
-
Component: ajv, version: 6.12.3
|
|
454
|
-
Copyright: 2015-2017 Evgeny Poberezkin
|
|
455
|
-
License: MIT
|
|
456
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
457
|
-
Contained in: ../test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/ajv/ajv.min.js
|
|
458
|
-
|
|
459
454
|
Component: JSDoc 3, version: 3.6.7
|
|
460
455
|
Copyright: 2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
|
|
461
456
|
License: Apache-2.0
|
|
462
457
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
463
458
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
464
459
|
|
|
460
|
+
Component: SAP Theming Base Content, version: 11.1.34
|
|
461
|
+
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
462
|
+
License: Apache-2.0
|
|
463
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
464
|
+
Contained in: src/sap.ui.core/src/sap/ui/core/themes/base/base.less
|
|
465
|
+
src/themelib_sap_belize/src/sap/ui/core/themes/*/base.less
|
|
466
|
+
src/themelib_sap_fiori_3/src/sap/ui/core/themes/*/base.less
|
|
467
|
+
src/themelib_sap_horizon/src/sap/ui/core/themes/*/base.less
|
|
468
|
+
|
|
465
469
|
|
|
466
470
|
ALL LICENSE TEXTS:
|
|
467
471
|
==================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.integration",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.97.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.97.0",
|
|
18
|
+
"@openui5/sap.f": "1.97.0"
|
|
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.97.0</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.97.0
|
|
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
|
|
@@ -126,6 +154,10 @@ sap.ui.define([
|
|
|
126
154
|
}
|
|
127
155
|
});
|
|
128
156
|
|
|
157
|
+
Host.prototype.init = function () {
|
|
158
|
+
this._handlePostMessageBound = this._handlePostMessage.bind(this);
|
|
159
|
+
};
|
|
160
|
+
|
|
129
161
|
/**
|
|
130
162
|
* Resolves the destination and returns its URL.
|
|
131
163
|
*
|
|
@@ -156,6 +188,42 @@ sap.ui.define([
|
|
|
156
188
|
return Promise.resolve(vReturn);
|
|
157
189
|
};
|
|
158
190
|
|
|
191
|
+
/**
|
|
192
|
+
* Resolves the CSRF token and returns a Promise with its value.
|
|
193
|
+
*
|
|
194
|
+
* @param {object} mCSRFTokenConfig The CSRF token configuration.
|
|
195
|
+
* @returns {Promise} A promise which resolves the CSRF token to its value.
|
|
196
|
+
* @experimental since 1.97
|
|
197
|
+
* @abstract
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
Host.prototype.getCsrfToken = function (mCSRFTokenConfig) {
|
|
201
|
+
return Promise.resolve();
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* This functions is called when a CSRF token is fetched.
|
|
206
|
+
*
|
|
207
|
+
* @param {object} mCSRFTokenConfig The CSRF token configuration.
|
|
208
|
+
* @param {Promise} pCSRFTokenValuePromise A promise which resolves the CSRF token to its value.
|
|
209
|
+
* @experimental since 1.97
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
Host.prototype.csrfTokenFetched = function (mCSRFTokenConfig, pCSRFTokenValuePromise) {
|
|
213
|
+
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* This functions is called when a CSRF token has expired.
|
|
218
|
+
*
|
|
219
|
+
* @param {object} mCSRFTokenConfig The CSRF token configuration.
|
|
220
|
+
* @experimental since 1.97
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
Host.prototype.csrfTokenExpired = function (mCSRFTokenConfig) {
|
|
224
|
+
|
|
225
|
+
};
|
|
226
|
+
|
|
159
227
|
/**
|
|
160
228
|
* Resolves the value for a given path in the context of the host
|
|
161
229
|
* Contexts can be used to configure Cards with information available in the host environment.
|
|
@@ -251,12 +319,23 @@ sap.ui.define([
|
|
|
251
319
|
this.subscribeForMessages();
|
|
252
320
|
};
|
|
253
321
|
|
|
322
|
+
/**
|
|
323
|
+
* Stops the usage of the experimental caching for all cards.
|
|
324
|
+
* @private
|
|
325
|
+
* @ui5-restricted
|
|
326
|
+
* @experimental Since 1.91. The API might change.
|
|
327
|
+
*/
|
|
328
|
+
Host.prototype.stopUsingExperimentalCaching = function () {
|
|
329
|
+
this.bUseExperimentalCaching = false;
|
|
330
|
+
this.unsubscribeForMessages();
|
|
331
|
+
};
|
|
332
|
+
|
|
254
333
|
/**
|
|
255
334
|
* Modify request headers before sending a data request.
|
|
256
335
|
* Override if you need to change the default cache headers behavior.
|
|
257
336
|
* @param {map} mHeaders The current map of headers.
|
|
258
337
|
* @param {map} mSettings The map of request settings defined in the card manifest.
|
|
259
|
-
* @param {sap.ui.integration.widgets.Card} oCard The card for which the request is made.
|
|
338
|
+
* @param {sap.ui.integration.widgets.Card} [oCard] The card for which the request is made.
|
|
260
339
|
* @returns {map} Map of http headers.
|
|
261
340
|
* @private
|
|
262
341
|
* @ui5-restricted
|
|
@@ -266,7 +345,7 @@ sap.ui.define([
|
|
|
266
345
|
var oCacheSettings = mSettings.request.cache,
|
|
267
346
|
aCacheControl = [];
|
|
268
347
|
|
|
269
|
-
if (oCacheSettings.
|
|
348
|
+
if (oCacheSettings.enabled === false) {
|
|
270
349
|
// cache disabled
|
|
271
350
|
aCacheControl.push("max-age=0");
|
|
272
351
|
aCacheControl.push("no-store");
|
|
@@ -299,11 +378,31 @@ sap.ui.define([
|
|
|
299
378
|
return;
|
|
300
379
|
}
|
|
301
380
|
|
|
302
|
-
navigator.serviceWorker.addEventListener(
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
381
|
+
navigator.serviceWorker.addEventListener("message", this._handlePostMessageBound);
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Unsubscribes from navigator.serviceWorker messages.
|
|
386
|
+
* @private
|
|
387
|
+
* @ui5-restricted
|
|
388
|
+
*/
|
|
389
|
+
Host.prototype.unsubscribeForMessages = function () {
|
|
390
|
+
if (!navigator || !navigator.serviceWorker) {
|
|
391
|
+
return;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
navigator.serviceWorker.removeEventListener("message", this._handlePostMessageBound);
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Handler for a post message event
|
|
399
|
+
* @private
|
|
400
|
+
* @param {*} oEvent The post message event.
|
|
401
|
+
*/
|
|
402
|
+
Host.prototype._handlePostMessage = function (oEvent) {
|
|
403
|
+
this.fireMessage({
|
|
404
|
+
data: oEvent.data
|
|
405
|
+
});
|
|
307
406
|
};
|
|
308
407
|
|
|
309
408
|
return Host;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
sap.ui.define([
|
|
7
|
+
"sap/ui/integration/widgets/Card",
|
|
8
|
+
"sap/ui/integration/util/BindingHelper",
|
|
9
|
+
"sap/ui/integration/util/BindingResolver",
|
|
10
|
+
"sap/ui/integration/util/Utils"
|
|
11
|
+
], function (
|
|
12
|
+
Card,
|
|
13
|
+
BindingHelper,
|
|
14
|
+
BindingResolver,
|
|
15
|
+
Utils
|
|
16
|
+
) {
|
|
17
|
+
"use strict";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Util class for preprocessing of card manifests.
|
|
21
|
+
* @namespace sap.ui.integration.ManifestResolver
|
|
22
|
+
* @since 1.97
|
|
23
|
+
* @experimental 1.97
|
|
24
|
+
* @private
|
|
25
|
+
* @ui5-restricted shell-toolkit
|
|
26
|
+
*/
|
|
27
|
+
var ManifestResolver = {};
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Resolves manifest.
|
|
31
|
+
* @memberof sap.ui.integration.ManifestResolver
|
|
32
|
+
* @alias sap.ui.integration.ManifestResolver.resolve
|
|
33
|
+
* @param {object} oManifest Card manifest
|
|
34
|
+
* @param {string} sBaseUrl The base URL of the card manifest
|
|
35
|
+
* @returns {Promise<string>} Stringified manifest without any bindings
|
|
36
|
+
* @private
|
|
37
|
+
* @ui5-restricted shell-toolkit
|
|
38
|
+
*/
|
|
39
|
+
ManifestResolver.resolve = function (oManifest, sBaseUrl) {
|
|
40
|
+
var oCard = new Card({
|
|
41
|
+
baseUrl: sBaseUrl,
|
|
42
|
+
manifest: oManifest
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
oCard.startManifestProcessing();
|
|
46
|
+
|
|
47
|
+
return ManifestResolver._awaitReadyEvent(oCard)
|
|
48
|
+
.then(ManifestResolver._handleCardReady);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
ManifestResolver._awaitReadyEvent = function (oCard) {
|
|
52
|
+
return new Promise(function (resolve, reject) {
|
|
53
|
+
oCard.attachEvent("_ready", function (e) {
|
|
54
|
+
resolve(oCard);
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
ManifestResolver._handleCardReady = function (oCard) {
|
|
60
|
+
var oManifest = oCard.getManifestEntry("/");
|
|
61
|
+
var aFilters = [];
|
|
62
|
+
|
|
63
|
+
if (oCard.getAggregation("_filterBar")) {
|
|
64
|
+
aFilters = oCard.getAggregation("_filterBar").getItems().map(function (oFilter) {
|
|
65
|
+
return ["/sap.card/configuration/filters/" + oFilter.getKey(), oFilter];
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// Process card sections in order - nested sections with "data" have to be processed first
|
|
70
|
+
aFilters.concat([
|
|
71
|
+
["/sap.card/content", oCard.getCardContent()],
|
|
72
|
+
["/sap.card/header", oCard.getCardHeader()],
|
|
73
|
+
["/sap.card", oCard]
|
|
74
|
+
]).filter(function (aPathAndContext) {
|
|
75
|
+
return !!oCard.getManifestEntry(aPathAndContext[0]); // only resolve existing sections
|
|
76
|
+
}).forEach(function (aPathAndContext) {
|
|
77
|
+
var sManifestPath = aPathAndContext[0];
|
|
78
|
+
var oContext = aPathAndContext[1];
|
|
79
|
+
var oSubConfig;
|
|
80
|
+
|
|
81
|
+
if (oContext.getStaticConfiguration) {
|
|
82
|
+
oSubConfig = oContext.getStaticConfiguration();
|
|
83
|
+
} else {
|
|
84
|
+
oSubConfig = Utils.getNestedPropertyValue(oManifest, sManifestPath);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
if (oSubConfig.data) {
|
|
88
|
+
var sDataPath = oSubConfig.data.path;
|
|
89
|
+
delete oSubConfig.data;
|
|
90
|
+
oSubConfig = BindingHelper.createBindingInfos(oSubConfig, oCard.getBindingNamespaces());
|
|
91
|
+
oSubConfig = BindingResolver.resolveValue(oSubConfig, oContext, sDataPath);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
Utils.setNestedPropertyValue(oManifest, sManifestPath, oSubConfig);
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
oCard.destroy();
|
|
98
|
+
return JSON.stringify(oManifest);
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
return ManifestResolver;
|
|
102
|
+
});
|