@openui5/sap.ui.integration 1.108.1 → 1.109.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRDPARTY.txt +1 -1
- package/package.json +3 -3
- package/src/sap/ui/integration/.library +2 -2
- 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 +2 -2
- package/src/sap/ui/integration/Host.js +1 -1
- package/src/sap/ui/integration/cards/AdaptiveContent.js +5 -2
- 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 +73 -24
- package/src/sap/ui/integration/cards/BaseListContent.js +51 -2
- package/src/sap/ui/integration/cards/CalendarContent.js +3 -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 +1 -1
- package/src/sap/ui/integration/cards/ListContent.js +29 -2
- package/src/sap/ui/integration/cards/ListContentRenderer.js +7 -3
- package/src/sap/ui/integration/cards/NumericHeader.js +2 -1
- package/src/sap/ui/integration/cards/ObjectContent.js +1 -1
- package/src/sap/ui/integration/cards/TableContent.js +29 -2
- package/src/sap/ui/integration/cards/TableContentRenderer.js +7 -3
- package/src/sap/ui/integration/cards/TimelineContent.js +1 -1
- package/src/sap/ui/integration/cards/TimelineContentRenderer.js +7 -3
- package/src/sap/ui/integration/cards/WebPageContent.js +1 -1
- package/src/sap/ui/integration/cards/actions/CardActions.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/filters/BaseFilter.js +1 -1
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +1 -1
- package/src/sap/ui/integration/cards/filters/FilterBar.js +1 -1
- package/src/sap/ui/integration/cards/filters/FilterBarFactory.js +1 -1
- package/src/sap/ui/integration/cards/filters/SearchFilter.js +1 -1
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +1 -1
- package/src/sap/ui/integration/controls/ActionsStrip.js +1 -1
- package/src/sap/ui/integration/controls/ActionsToolbar.js +1 -1
- package/src/sap/ui/integration/controls/LinkWithIcon.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItem.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItemRenderer.js +1 -1
- package/src/sap/ui/integration/controls/Microchart.js +1 -1
- package/src/sap/ui/integration/controls/MicrochartLegend.js +1 -1
- package/src/sap/ui/integration/controls/Paginator.js +24 -20
- package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +5 -9
- 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 +2 -4
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +3 -8
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/codeEditor/CodeEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +5 -7
- 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 +2 -4
- 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 +2 -4
- 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 +4 -14
- 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 +3 -5
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +12 -4
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +70 -26
- package/src/sap/ui/integration/designtime/editor/css/CardPreview.css +12 -12
- package/src/sap/ui/integration/editor/Editor.js +13 -17
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +4 -5
- package/src/sap/ui/integration/editor/Extension.js +1 -1
- package/src/sap/ui/integration/editor/Manifest.js +1 -1
- package/src/sap/ui/integration/editor/Settings.js +1 -1
- package/src/sap/ui/integration/editor/fields/BaseField.js +1 -1
- package/src/sap/ui/integration/editor/fields/BooleanField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateTimeField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DestinationField.js +1 -1
- package/src/sap/ui/integration/editor/fields/GroupField.js +1 -1
- package/src/sap/ui/integration/editor/fields/IntegerField.js +1 -1
- package/src/sap/ui/integration/editor/fields/NumberField.js +1 -1
- package/src/sap/ui/integration/editor/fields/ObjectField.js +4 -6
- package/src/sap/ui/integration/editor/fields/ObjectListField.js +1 -1
- package/src/sap/ui/integration/editor/fields/StringField.js +6 -8
- package/src/sap/ui/integration/editor/fields/StringListField.js +7 -9
- package/src/sap/ui/integration/editor/fields/fragment/Controller.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +1 -1
- package/src/sap/ui/integration/editor/fields/viz/VizBase.js +1 -1
- package/src/sap/ui/integration/formatters/DateTimeFormatter.js +11 -6
- package/src/sap/ui/integration/library.js +25 -3
- package/src/sap/ui/integration/messagebundle.properties +3 -0
- package/src/sap/ui/integration/messagebundle_ar.properties +2 -0
- package/src/sap/ui/integration/messagebundle_bg.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ca.properties +2 -0
- package/src/sap/ui/integration/messagebundle_cs.properties +2 -0
- package/src/sap/ui/integration/messagebundle_cy.properties +2 -0
- package/src/sap/ui/integration/messagebundle_da.properties +2 -0
- package/src/sap/ui/integration/messagebundle_de.properties +2 -0
- package/src/sap/ui/integration/messagebundle_el.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en_GB.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en_US_sappsd.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_en_US_saptrc.properties +2 -0
- package/src/sap/ui/integration/messagebundle_es.properties +2 -0
- package/src/sap/ui/integration/messagebundle_es_MX.properties +2 -0
- package/src/sap/ui/integration/messagebundle_et.properties +2 -0
- package/src/sap/ui/integration/messagebundle_fi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_fr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_fr_CA.properties +2 -0
- package/src/sap/ui/integration/messagebundle_hi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_hr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_hu.properties +2 -0
- package/src/sap/ui/integration/messagebundle_id.properties +2 -0
- package/src/sap/ui/integration/messagebundle_it.properties +2 -0
- package/src/sap/ui/integration/messagebundle_iw.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ja.properties +2 -0
- package/src/sap/ui/integration/messagebundle_kk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ko.properties +2 -0
- package/src/sap/ui/integration/messagebundle_lt.properties +2 -0
- package/src/sap/ui/integration/messagebundle_lv.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ms.properties +2 -0
- package/src/sap/ui/integration/messagebundle_nl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_no.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pt.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pt_PT.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ro.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ru.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sh.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sv.properties +2 -0
- package/src/sap/ui/integration/messagebundle_th.properties +2 -0
- package/src/sap/ui/integration/messagebundle_tr.properties +2 -0
- package/src/sap/ui/integration/messagebundle_uk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_vi.properties +2 -0
- package/src/sap/ui/integration/messagebundle_zh_CN.properties +2 -0
- package/src/sap/ui/integration/messagebundle_zh_TW.properties +2 -0
- package/src/sap/ui/integration/model/ContextModel.js +2 -2
- 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 +58 -0
- package/src/sap/ui/integration/themes/base/ListContentItem.less +10 -2
- 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 +3 -1
- package/src/sap/ui/integration/util/CardObserver.js +39 -9
- package/src/sap/ui/integration/util/ContentFactory.js +43 -44
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +1 -1
- package/src/sap/ui/integration/util/DataProvider.js +1 -1
- package/src/sap/ui/integration/util/DataProviderFactory.js +1 -1
- package/src/sap/ui/integration/util/Destinations.js +1 -1
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
- package/src/sap/ui/integration/util/Forms.js +1 -1
- package/src/sap/ui/integration/util/HeaderFactory.js +1 -1
- package/src/sap/ui/integration/util/JSONBindingHelper.js +1 -1
- package/src/sap/ui/integration/util/LoadingProvider.js +35 -5
- package/src/sap/ui/integration/util/Manifest.js +1 -1
- 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 +8 -9
- package/src/sap/ui/integration/util/Validators.js +1 -1
- package/src/sap/ui/integration/widgets/Card.js +113 -138
- package/src/sap/ui/integration/widgets/CardRenderer.js +8 -2
|
@@ -239,6 +239,8 @@ CARDEDITOR_CONTEXT_CARD_LANG_DESC=Okraj\u0161ava trenutnega jezika trenutnega ko
|
|
|
239
239
|
|
|
240
240
|
CARDEDITOR_PREVIEW_BTN_LIVEPREVIEW=Predogled v \u017Eivo
|
|
241
241
|
|
|
242
|
+
CARDEDITOR_PREVIEW_BTN_MOCKPREVIEW=Dummy predogled
|
|
243
|
+
|
|
242
244
|
CARDEDITOR_PREVIEW_BTN_SAMPLEPREVIEW=Vzor\u010Dni predogled
|
|
243
245
|
|
|
244
246
|
ADAPTIVE_CARDS_REQUIRED_FIELD=Obvezno
|
|
@@ -239,6 +239,8 @@ CARDEDITOR_CONTEXT_CARD_LANG_DESC=Spr\u00E5kf\u00F6rkortningen f\u00F6r aktuell
|
|
|
239
239
|
|
|
240
240
|
CARDEDITOR_PREVIEW_BTN_LIVEPREVIEW=Livef\u00F6rhandsgranskning
|
|
241
241
|
|
|
242
|
+
CARDEDITOR_PREVIEW_BTN_MOCKPREVIEW=Testf\u00F6rhandsgranskning
|
|
243
|
+
|
|
242
244
|
CARDEDITOR_PREVIEW_BTN_SAMPLEPREVIEW=F\u00F6rhandsgranskningsexempel
|
|
243
245
|
|
|
244
246
|
ADAPTIVE_CARDS_REQUIRED_FIELD=Obligatorisk
|
|
@@ -239,6 +239,8 @@ CARDEDITOR_CONTEXT_CARD_LANG_DESC=\u0E15\u0E31\u0E27\u0E22\u0E48\u0E2D\u0E20\u0E
|
|
|
239
239
|
|
|
240
240
|
CARDEDITOR_PREVIEW_BTN_LIVEPREVIEW=\u0E01\u0E32\u0E23\u0E41\u0E2A\u0E14\u0E07\u0E15\u0E31\u0E27\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E41\u0E1A\u0E1A\u0E2A\u0E14
|
|
241
241
|
|
|
242
|
+
CARDEDITOR_PREVIEW_BTN_MOCKPREVIEW=\u0E01\u0E32\u0E23\u0E41\u0E2A\u0E14\u0E07\u0E15\u0E31\u0E27\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E08\u0E33\u0E25\u0E2D\u0E07
|
|
243
|
+
|
|
242
244
|
CARDEDITOR_PREVIEW_BTN_SAMPLEPREVIEW=\u0E01\u0E32\u0E23\u0E41\u0E2A\u0E14\u0E07\u0E15\u0E31\u0E27\u0E2D\u0E22\u0E48\u0E32\u0E07
|
|
243
245
|
|
|
244
246
|
ADAPTIVE_CARDS_REQUIRED_FIELD=\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E32\u0E23
|
|
@@ -239,6 +239,8 @@ CARDEDITOR_CONTEXT_CARD_LANG_DESC=Ge\u00E7erli son kullan\u0131c\u0131n\u0131n g
|
|
|
239
239
|
|
|
240
240
|
CARDEDITOR_PREVIEW_BTN_LIVEPREVIEW=Canl\u0131 \u00F6ng\u00F6r\u00FCn\u00FCm
|
|
241
241
|
|
|
242
|
+
CARDEDITOR_PREVIEW_BTN_MOCKPREVIEW=Sahte \u00F6ng\u00F6r\u00FCn\u00FCm
|
|
243
|
+
|
|
242
244
|
CARDEDITOR_PREVIEW_BTN_SAMPLEPREVIEW=\u00D6rnek \u00F6ng\u00F6r\u00FCn\u00FCm
|
|
243
245
|
|
|
244
246
|
ADAPTIVE_CARDS_REQUIRED_FIELD=Gerekli
|
|
@@ -239,6 +239,8 @@ CARDEDITOR_CONTEXT_CARD_LANG_DESC=\u0421\u043A\u043E\u0440\u043E\u0447\u0435\u04
|
|
|
239
239
|
|
|
240
240
|
CARDEDITOR_PREVIEW_BTN_LIVEPREVIEW=\u0414\u0438\u043D\u0430\u043C\u0456\u0447\u043D\u0438\u0439 \u043F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u0456\u0439 \u043F\u0435\u0440\u0435\u0433\u043B\u044F\u0434
|
|
241
241
|
|
|
242
|
+
CARDEDITOR_PREVIEW_BTN_MOCKPREVIEW=\u0424\u0456\u043A\u0442\u0438\u0432\u043D\u0438\u0439 \u043F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u0456\u0439 \u043F\u0435\u0440\u0435\u0433\u043B\u044F\u0434
|
|
243
|
+
|
|
242
244
|
CARDEDITOR_PREVIEW_BTN_SAMPLEPREVIEW=\u041F\u0435\u0440\u0435\u0433\u043B\u044F\u0434 \u0437\u0440\u0430\u0437\u043A\u0430
|
|
243
245
|
|
|
244
246
|
ADAPTIVE_CARDS_REQUIRED_FIELD=\u041E\u0431\u043E\u0432'\u044F\u0437\u043A\u043E\u0432\u043E
|
|
@@ -239,6 +239,8 @@ CARDEDITOR_CONTEXT_CARD_LANG_DESC=Vi\u00EA\u0301t t\u0103\u0301t ng\u00F4n ng\u0
|
|
|
239
239
|
|
|
240
240
|
CARDEDITOR_PREVIEW_BTN_LIVEPREVIEW=Xem tr\u01B0\u01A1\u0301c tr\u01B0\u0323c ti\u00EA\u0301p
|
|
241
241
|
|
|
242
|
+
CARDEDITOR_PREVIEW_BTN_MOCKPREVIEW=Xem tr\u01B0\u01A1\u0301c gia\u0309
|
|
243
|
+
|
|
242
244
|
CARDEDITOR_PREVIEW_BTN_SAMPLEPREVIEW=Xem tr\u01B0\u01A1\u0301c m\u00E2\u0303u
|
|
243
245
|
|
|
244
246
|
ADAPTIVE_CARDS_REQUIRED_FIELD=\u0110\u01B0\u01A1\u0323c y\u00EAu c\u00E2\u0300u
|
|
@@ -239,6 +239,8 @@ CARDEDITOR_CONTEXT_CARD_LANG_DESC=\u5F53\u524D\u6700\u7EC8\u7528\u6237\u7684\u5F
|
|
|
239
239
|
|
|
240
240
|
CARDEDITOR_PREVIEW_BTN_LIVEPREVIEW=\u5B9E\u65F6\u9884\u89C8
|
|
241
241
|
|
|
242
|
+
CARDEDITOR_PREVIEW_BTN_MOCKPREVIEW=\u6A21\u62DF\u9884\u89C8
|
|
243
|
+
|
|
242
244
|
CARDEDITOR_PREVIEW_BTN_SAMPLEPREVIEW=\u793A\u8303\u9884\u89C8
|
|
243
245
|
|
|
244
246
|
ADAPTIVE_CARDS_REQUIRED_FIELD=\u5FC5\u586B
|
|
@@ -239,6 +239,8 @@ CARDEDITOR_CONTEXT_CARD_LANG_DESC=\u76EE\u524D\u4E00\u822C\u4F7F\u7528\u8005\u76
|
|
|
239
239
|
|
|
240
240
|
CARDEDITOR_PREVIEW_BTN_LIVEPREVIEW=\u5373\u6642\u9810\u89BD
|
|
241
241
|
|
|
242
|
+
CARDEDITOR_PREVIEW_BTN_MOCKPREVIEW=\u6A21\u64EC\u9810\u89BD
|
|
243
|
+
|
|
242
244
|
CARDEDITOR_PREVIEW_BTN_SAMPLEPREVIEW=\u6A23\u672C\u9810\u89BD
|
|
243
245
|
|
|
244
246
|
ADAPTIVE_CARDS_REQUIRED_FIELD=\u5FC5\u8981
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @extends sap.ui.model.json.JSONModel
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.109.0
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
31
31
|
* @alias sap.ui.integration.model.ContextModel
|
|
@@ -61,7 +61,7 @@ sap.ui.define([
|
|
|
61
61
|
|
|
62
62
|
if (bHasHost) {
|
|
63
63
|
this._mValues = this._mValues || {};
|
|
64
|
-
if (this._mValues
|
|
64
|
+
if (this._mValues.hasOwnProperty(sAbsolutePath)) {
|
|
65
65
|
return this._mValues[sAbsolutePath];
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -639,6 +639,18 @@
|
|
|
639
639
|
"$ref": "#/definitions/simpleBinding"
|
|
640
640
|
}
|
|
641
641
|
]
|
|
642
|
+
},
|
|
643
|
+
"visible": {
|
|
644
|
+
"description": "Visibility of the main indicator",
|
|
645
|
+
"oneOf": [
|
|
646
|
+
{
|
|
647
|
+
"type": "boolean",
|
|
648
|
+
"default": true
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"$ref": "#/definitions/simpleBinding"
|
|
652
|
+
}
|
|
653
|
+
]
|
|
642
654
|
}
|
|
643
655
|
}
|
|
644
656
|
},
|
|
@@ -671,6 +683,18 @@
|
|
|
671
683
|
"$ref": "#/definitions/simpleBinding"
|
|
672
684
|
}
|
|
673
685
|
]
|
|
686
|
+
},
|
|
687
|
+
"visible": {
|
|
688
|
+
"description": "Visibility of the side indicator",
|
|
689
|
+
"oneOf": [
|
|
690
|
+
{
|
|
691
|
+
"type": "boolean",
|
|
692
|
+
"default": true
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"$ref": "#/definitions/simpleBinding"
|
|
696
|
+
}
|
|
697
|
+
]
|
|
674
698
|
}
|
|
675
699
|
}
|
|
676
700
|
},
|
|
@@ -706,6 +730,17 @@
|
|
|
706
730
|
}
|
|
707
731
|
]
|
|
708
732
|
},
|
|
733
|
+
"minItems": {
|
|
734
|
+
"description": "Represents the minimum expected number of items",
|
|
735
|
+
"oneOf": [
|
|
736
|
+
{
|
|
737
|
+
"type": "number"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"$ref": "#/definitions/simpleBinding"
|
|
741
|
+
}
|
|
742
|
+
]
|
|
743
|
+
},
|
|
709
744
|
"group": {
|
|
710
745
|
"$ref": "#/definitions/group"
|
|
711
746
|
}
|
|
@@ -1206,6 +1241,17 @@
|
|
|
1206
1241
|
"$ref": "#/definitions/simpleBinding"
|
|
1207
1242
|
}
|
|
1208
1243
|
]
|
|
1244
|
+
},
|
|
1245
|
+
"minItems": {
|
|
1246
|
+
"description": "Represents the minimum expected number of items",
|
|
1247
|
+
"oneOf": [
|
|
1248
|
+
{
|
|
1249
|
+
"type": "number"
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"$ref": "#/definitions/simpleBinding"
|
|
1253
|
+
}
|
|
1254
|
+
]
|
|
1209
1255
|
}
|
|
1210
1256
|
}
|
|
1211
1257
|
},
|
|
@@ -1596,6 +1642,7 @@
|
|
|
1596
1642
|
}
|
|
1597
1643
|
]
|
|
1598
1644
|
}
|
|
1645
|
+
|
|
1599
1646
|
}
|
|
1600
1647
|
},
|
|
1601
1648
|
"ContentType.Object.Item.IconGroupTemplate": {
|
|
@@ -1777,6 +1824,17 @@
|
|
|
1777
1824
|
}
|
|
1778
1825
|
]
|
|
1779
1826
|
},
|
|
1827
|
+
"minItems": {
|
|
1828
|
+
"description": "Represents the minimum expected number of items",
|
|
1829
|
+
"oneOf": [
|
|
1830
|
+
{
|
|
1831
|
+
"type": "number"
|
|
1832
|
+
},
|
|
1833
|
+
{
|
|
1834
|
+
"$ref": "#/definitions/simpleBinding"
|
|
1835
|
+
}
|
|
1836
|
+
]
|
|
1837
|
+
},
|
|
1780
1838
|
"group": {
|
|
1781
1839
|
"$ref": "#/definitions/group"
|
|
1782
1840
|
}
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
align-items: stretch;
|
|
10
10
|
height: auto;
|
|
11
|
-
padding: 0.
|
|
11
|
+
padding: 0.875rem 1rem ~"calc(0.875rem - 1px)" 1rem;
|
|
12
12
|
|
|
13
13
|
&.sapMSLIWithDescription,
|
|
14
14
|
&.sapUiIntLCIWithAttributes,
|
|
15
15
|
&.sapUiIntLCIWithChart {
|
|
16
16
|
&:not(.sapMSLIThumbnail):not(.sapUiIntLCIIconSizeXS):not(.sapUiIntLCIIconSizeS):not(.sapUiIntLCIIconSizeM) {
|
|
17
17
|
.sapMLIBContent .sapMSLIDiv {
|
|
18
|
-
padding: 0.
|
|
18
|
+
padding: 0.25rem 0; // increase the height of the inner div
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -165,5 +165,13 @@
|
|
|
165
165
|
&.sapUiIntLCIWithActionsStrip {
|
|
166
166
|
padding: 0.5rem 1rem ~"calc(0.5rem - 1px)" 1rem;
|
|
167
167
|
}
|
|
168
|
+
|
|
169
|
+
.sapMLIBContent {
|
|
170
|
+
.sapMSLITitle,
|
|
171
|
+
.sapMSLITitleOnly,
|
|
172
|
+
.sapMSLIDescription {
|
|
173
|
+
line-height: 1rem; // ensure zoom won't change height
|
|
174
|
+
}
|
|
175
|
+
}
|
|
168
176
|
}
|
|
169
177
|
}
|
|
@@ -33,9 +33,10 @@ sap.ui.define([
|
|
|
33
33
|
* Resolves a binding syntax based on a provided model and path.
|
|
34
34
|
*
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.109.0
|
|
37
37
|
*
|
|
38
38
|
* @private
|
|
39
|
+
* @ui5-restricted sap.ushell
|
|
39
40
|
* @alias sap.ui.integration.util.BindingResolver
|
|
40
41
|
*/
|
|
41
42
|
var BindingResolver = {};
|
|
@@ -135,6 +136,7 @@ sap.ui.define([
|
|
|
135
136
|
* @param {*} vModelOrObject The model.
|
|
136
137
|
* @param {string} [sPath] The path to the referenced entity which is going to be used as a binding context.
|
|
137
138
|
* @private
|
|
139
|
+
* @ui5-restricted sap.ushell
|
|
138
140
|
* @returns {*} The resolved value.
|
|
139
141
|
*/
|
|
140
142
|
BindingResolver.resolveValue = function (vValue, vModelOrObject, sPath) {
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* @extends sap.ui.base.Object
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.109.0
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @private
|
|
@@ -31,10 +31,10 @@ sap.ui.define([
|
|
|
31
31
|
constructor: function (oCard) {
|
|
32
32
|
BaseObject.call(this);
|
|
33
33
|
this._oCard = oCard;
|
|
34
|
+
this._oObservedDomRef = null;
|
|
34
35
|
}
|
|
35
36
|
});
|
|
36
37
|
|
|
37
|
-
|
|
38
38
|
/**
|
|
39
39
|
* Destroys cardObserver
|
|
40
40
|
*
|
|
@@ -43,9 +43,9 @@ sap.ui.define([
|
|
|
43
43
|
BaseObject.prototype.destroy.apply(this, arguments);
|
|
44
44
|
this._oCard = null;
|
|
45
45
|
|
|
46
|
-
if (this.
|
|
47
|
-
this.
|
|
48
|
-
this.
|
|
46
|
+
if (this._oObserver) {
|
|
47
|
+
this._oObserver.disconnect();
|
|
48
|
+
this._oObserver = null;
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
|
|
@@ -53,9 +53,9 @@ sap.ui.define([
|
|
|
53
53
|
* Creates cardObserver.
|
|
54
54
|
*
|
|
55
55
|
*/
|
|
56
|
-
CardObserver.prototype.
|
|
57
|
-
if (!this.
|
|
58
|
-
this.
|
|
56
|
+
CardObserver.prototype._createObserver = function () {
|
|
57
|
+
if (!this._oObserver) {
|
|
58
|
+
this._oObserver = new window.IntersectionObserver(function (oEntries) {
|
|
59
59
|
oEntries.forEach(function (oEntry) {
|
|
60
60
|
if (oEntry.isIntersecting) {
|
|
61
61
|
this.loadManifest();
|
|
@@ -67,6 +67,36 @@ sap.ui.define([
|
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
+
/**
|
|
71
|
+
* Starts observing the target card.
|
|
72
|
+
* @param {Object} oDomRef The domRef of the card to be observed.
|
|
73
|
+
*/
|
|
74
|
+
CardObserver.prototype.observe = function (oDomRef) {
|
|
75
|
+
if (!this._oObserver) {
|
|
76
|
+
this._createObserver();
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (oDomRef !== this._oObservedDomRef) {
|
|
80
|
+
if (this._oObservedDomRef) {
|
|
81
|
+
this._oObserver.unobserve(this._oObservedDomRef);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
this._oObserver.observe(oDomRef);
|
|
85
|
+
this._oObservedDomRef = oDomRef;
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Stops observing the target card.
|
|
91
|
+
* @param {Object} oDomRef The domRef of the card to be unobserved.
|
|
92
|
+
*/
|
|
93
|
+
CardObserver.prototype.unobserve = function (oDomRef) {
|
|
94
|
+
if (this._oObserver && this._oObservedDomRef === oDomRef) {
|
|
95
|
+
this._oObserver.unobserve(oDomRef);
|
|
96
|
+
this._oObservedDomRef = null;
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
|
|
70
100
|
/**
|
|
71
101
|
* Loads card manifest.
|
|
72
102
|
*
|
|
@@ -74,7 +104,7 @@ sap.ui.define([
|
|
|
74
104
|
CardObserver.prototype.loadManifest = function () {
|
|
75
105
|
var oCardDomRef = this._oCard.getDomRef();
|
|
76
106
|
this._oCard.setDataMode(CardDataMode.Active);
|
|
77
|
-
this.
|
|
107
|
+
this.unobserve(oCardDomRef);
|
|
78
108
|
};
|
|
79
109
|
|
|
80
110
|
return CardObserver;
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
* @extends sap.ui.integration.util.BaseFactory
|
|
41
41
|
*
|
|
42
42
|
* @author SAP SE
|
|
43
|
-
* @version 1.
|
|
43
|
+
* @version 1.109.0
|
|
44
44
|
*
|
|
45
45
|
* @constructor
|
|
46
46
|
* @private
|
|
@@ -50,59 +50,58 @@ sap.ui.define([
|
|
|
50
50
|
|
|
51
51
|
ContentFactory.prototype.create = function (mConfig) {
|
|
52
52
|
var oCard = this._oCard,
|
|
53
|
-
sType = mConfig.cardType
|
|
53
|
+
sType = mConfig.cardType,
|
|
54
|
+
oExtension = oCard.getAggregation("_extension");
|
|
54
55
|
|
|
55
|
-
|
|
56
|
-
var Content = this.getClass(sType);
|
|
56
|
+
var Content = this.getClass(sType);
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
58
|
+
if (!Content) {
|
|
59
|
+
throw new Error(sType.toUpperCase() + " content type is not supported.");
|
|
60
|
+
}
|
|
62
61
|
|
|
63
|
-
|
|
62
|
+
var oContent = new Content();
|
|
64
63
|
|
|
65
|
-
|
|
66
|
-
|
|
64
|
+
// Set the card ID as association to the content
|
|
65
|
+
oContent.setCard(oCard);
|
|
67
66
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
67
|
+
if (oContent instanceof AdaptiveContent) {
|
|
68
|
+
oContent.setCardDataProvider(oCard._oDataProvider);
|
|
69
|
+
}
|
|
71
70
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
71
|
+
oContent._sAppId = mConfig.appId;
|
|
72
|
+
oContent.setServiceManager(mConfig.serviceManager);
|
|
73
|
+
oContent.setDataProviderFactory(mConfig.dataProviderFactory);
|
|
74
|
+
oContent.setIconFormatter(mConfig.iconFormatter);
|
|
75
|
+
oContent.setActions(new CardActions({
|
|
76
|
+
card: oCard
|
|
77
|
+
}));
|
|
75
78
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
+
if (!(oContent instanceof AdaptiveContent)) {
|
|
80
|
+
oContent.setDataConfiguration(mConfig.contentManifest.data);
|
|
81
|
+
}
|
|
79
82
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
83
|
+
oContent.setLoadDependenciesPromise(
|
|
84
|
+
Promise.all([
|
|
85
|
+
oContent.loadDependencies(mConfig.cardManifest),
|
|
86
|
+
oExtension ? oExtension.loadDependencies() : Promise.resolve()
|
|
87
|
+
]).then(function () {
|
|
88
|
+
return true;
|
|
89
|
+
}).catch(function (sError) {
|
|
90
|
+
if (sError) {
|
|
91
|
+
oCard._handleError(sError);
|
|
92
|
+
}
|
|
93
|
+
return false;
|
|
94
|
+
})
|
|
95
|
+
);
|
|
89
96
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
97
|
+
oContent.getLoadDependenciesPromise()
|
|
98
|
+
.then(function (bLoadSuccessful) {
|
|
99
|
+
if (bLoadSuccessful && !oContent.isDestroyed()) {
|
|
100
|
+
oContent.setConfiguration(mConfig.contentManifest);
|
|
101
|
+
}
|
|
102
|
+
});
|
|
93
103
|
|
|
94
|
-
|
|
95
|
-
oContent.setServiceManager(mConfig.serviceManager);
|
|
96
|
-
oContent.setDataProviderFactory(mConfig.dataProviderFactory);
|
|
97
|
-
oContent.setIconFormatter(mConfig.iconFormatter);
|
|
98
|
-
oContent.setActions(oActions);
|
|
99
|
-
oContent.setConfiguration(mConfig.contentManifest, sType);
|
|
100
|
-
resolve(oContent);
|
|
101
|
-
})
|
|
102
|
-
.catch(function (sError) {
|
|
103
|
-
reject(sError);
|
|
104
|
-
});
|
|
105
|
-
}.bind(this));
|
|
104
|
+
return oContent;
|
|
106
105
|
};
|
|
107
106
|
|
|
108
107
|
/**
|
|
@@ -45,7 +45,7 @@ sap.ui.define([
|
|
|
45
45
|
* @extends sap.ui.core.Element
|
|
46
46
|
*
|
|
47
47
|
* @author SAP SE
|
|
48
|
-
* @version 1.
|
|
48
|
+
* @version 1.109.0
|
|
49
49
|
*
|
|
50
50
|
* @constructor
|
|
51
51
|
* @private
|
|
@@ -92,18 +92,24 @@ sap.ui.define([
|
|
|
92
92
|
};
|
|
93
93
|
|
|
94
94
|
LoadingProvider.prototype.createContentPlaceholder = function (oConfiguration, sType, oCard) {
|
|
95
|
+
var iContentMinItems;
|
|
96
|
+
|
|
95
97
|
switch (sType) {
|
|
96
98
|
case "List":
|
|
99
|
+
iContentMinItems = oCard.getContentMinItems(oConfiguration);
|
|
100
|
+
|
|
97
101
|
this._oContentPlaceholder = new ListPlaceholder({
|
|
98
|
-
|
|
102
|
+
minItems: iContentMinItems !== null ? iContentMinItems : 2,
|
|
99
103
|
item: oConfiguration.item,
|
|
100
104
|
itemHeight: ListContentRenderer.getItemMinHeight(oConfiguration, oCard || this) + "rem"
|
|
101
105
|
});
|
|
102
106
|
break;
|
|
103
107
|
|
|
104
108
|
case "Calendar":
|
|
109
|
+
iContentMinItems = oCard.getContentMinItems(oConfiguration);
|
|
110
|
+
|
|
105
111
|
this._oContentPlaceholder = new CalendarPlaceholder({
|
|
106
|
-
|
|
112
|
+
minItems: iContentMinItems !== null ? iContentMinItems : 2,
|
|
107
113
|
maxLegendItems: oConfiguration.maxLegendItems ? parseInt(oConfiguration.maxLegendItems) : 2,
|
|
108
114
|
item: oConfiguration.item ? oConfiguration.item.template : {},
|
|
109
115
|
legendItem: oConfiguration.legendItem ? oConfiguration.legendItem.template : {}
|
|
@@ -114,16 +120,20 @@ sap.ui.define([
|
|
|
114
120
|
break;
|
|
115
121
|
|
|
116
122
|
case "Table":
|
|
123
|
+
iContentMinItems = oCard.getContentMinItems(oConfiguration);
|
|
124
|
+
|
|
117
125
|
this._oContentPlaceholder = new TablePlaceholder({
|
|
118
|
-
|
|
126
|
+
minItems: iContentMinItems !== null ? iContentMinItems : 2,
|
|
119
127
|
itemHeight: TableContentRenderer.getItemMinHeight(oConfiguration, oCard || this) + "rem",
|
|
120
128
|
columns: oConfiguration.row ? oConfiguration.row.columns.length || 2 : 2
|
|
121
129
|
});
|
|
122
130
|
break;
|
|
123
131
|
|
|
124
132
|
case "Timeline":
|
|
133
|
+
iContentMinItems = oCard.getContentMinItems(oConfiguration);
|
|
134
|
+
|
|
125
135
|
this._oContentPlaceholder = new TimelinePlaceholder({
|
|
126
|
-
|
|
136
|
+
minItems: iContentMinItems !== null ? iContentMinItems : 2,
|
|
127
137
|
item: oConfiguration.item,
|
|
128
138
|
itemHeight: TimelineContentRenderer.getItemMinHeight(oConfiguration, oCard || this) + "rem"
|
|
129
139
|
});
|
|
@@ -143,5 +153,25 @@ sap.ui.define([
|
|
|
143
153
|
return this._oContentPlaceholder;
|
|
144
154
|
};
|
|
145
155
|
|
|
156
|
+
/**
|
|
157
|
+
* Set to <code>true</code> if the loading should wait for a pagination animation.
|
|
158
|
+
* @private
|
|
159
|
+
* @ui5-restricted sap.ui.integration
|
|
160
|
+
* @param {boolean} bValue True if it should wait. False otherwise.
|
|
161
|
+
*/
|
|
162
|
+
LoadingProvider.prototype.setAwaitPagination = function (bValue) {
|
|
163
|
+
this._bAwaitPagination = bValue;
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Gets if the loading should wait for a pagination animation.
|
|
168
|
+
* @private
|
|
169
|
+
* @ui5-restricted sap.ui.integration
|
|
170
|
+
* @returns {boolean} bValue True if it should wait. False otherwise.
|
|
171
|
+
*/
|
|
172
|
+
LoadingProvider.prototype.getAwaitPagination = function () {
|
|
173
|
+
return this._bAwaitPagination;
|
|
174
|
+
};
|
|
175
|
+
|
|
146
176
|
return LoadingProvider;
|
|
147
177
|
});
|