@openui5/sap.ui.integration 1.144.0 → 1.146.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.toml +40 -16
- package/THIRDPARTY.txt +28 -7
- package/package.json +6 -6
- package/src/sap/ui/integration/.library +1 -1
- package/src/sap/ui/integration/ActionDefinition.js +2 -3
- package/src/sap/ui/integration/Designtime.js +1 -2
- package/src/sap/ui/integration/Extension.js +5 -8
- package/src/sap/ui/integration/Host.js +14 -21
- 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 +3 -2
- package/src/sap/ui/integration/cards/BaseListContent.js +1 -1
- package/src/sap/ui/integration/cards/CalendarContent.js +1 -1
- package/src/sap/ui/integration/cards/ComponentContent.js +1 -2
- 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 +1 -1
- package/src/sap/ui/integration/cards/NumericHeader.js +1 -1
- package/src/sap/ui/integration/cards/ObjectContent.js +1 -1
- package/src/sap/ui/integration/cards/TableContent.js +3 -2
- package/src/sap/ui/integration/cards/TimelineContent.js +2 -2
- package/src/sap/ui/integration/cards/WebPageContent.js +2 -3
- package/src/sap/ui/integration/cards/actions/CardActions.js +3 -12
- 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/ComboBoxFilter.js +1 -1
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +5 -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/cards/list/MicrochartsResizeHelper.js +1 -1
- package/src/sap/ui/integration/controls/ActionsStrip.js +1 -1
- package/src/sap/ui/integration/controls/ActionsToolbar.js +1 -1
- package/src/sap/ui/integration/controls/BlockingMessage.js +1 -1
- package/src/sap/ui/integration/controls/ComboBox.js +1 -1
- package/src/sap/ui/integration/controls/HeaderInfoSectionColumn.js +1 -1
- package/src/sap/ui/integration/controls/HeaderInfoSectionRow.js +1 -1
- package/src/sap/ui/integration/controls/ImageWithOverlay.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItem.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/ObjectStatus.js +1 -1
- package/src/sap/ui/integration/delegate/OverflowHandler.js +1 -1
- package/src/sap/ui/integration/delegate/Paginator.js +1 -1
- package/src/sap/ui/integration/delegate/PreventKeyboardScrolling.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +18 -16
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +9 -7
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/codeEditor/CodeEditor.fragment.xml +0 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/codeEditor/CodeEditor.js +18 -4
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/multiSelectEditor/MultiSelectEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/objectArrayEditor/ObjectArrayEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +2 -3
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/resolveBinding.js +0 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/cleanupDesigntimeMetadata.js +0 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/createPromise.js +0 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/escapeParameter.js +0 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/findClosestInstance.js +0 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/hasTag.js +0 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/isTemplate.js +0 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/isValidBindingString.js +0 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +1 -2
- package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +1 -2
- package/src/sap/ui/integration/designtime/cardEditor/BASEditor.js +0 -1
- package/src/sap/ui/integration/designtime/cardEditor/CardEditor.js +0 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/AppConfig.js +0 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/FooterConfig.js +0 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/HeaderConfig.js +0 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/ListCardConfig.js +0 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/ObjectCardConfig.js +0 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/TableCardConfig.js +0 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/generateActionConfig.js +0 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/generateDataConfig.js +0 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/generateFooterActionsStripConfig.js +0 -1
- package/src/sap/ui/integration/designtime/cardEditor/config/index.js +0 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +2 -3
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +2 -3
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/filtersEditor/FiltersEditor.js +2 -3
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/iconEditor/IconEditor.js +2 -3
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +2 -3
- package/src/sap/ui/integration/designtime/editor/Card.js +1 -3
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +2 -3
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +1 -2
- package/src/sap/ui/integration/editor/Editor.js +88 -34
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +5 -30
- 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 -2
- package/src/sap/ui/integration/editor/fields/BaseField.js +1 -4
- package/src/sap/ui/integration/editor/fields/BooleanField.js +1 -2
- package/src/sap/ui/integration/editor/fields/DateField.js +1 -2
- package/src/sap/ui/integration/editor/fields/DateTimeField.js +1 -2
- package/src/sap/ui/integration/editor/fields/DestinationField.js +1 -2
- package/src/sap/ui/integration/editor/fields/GroupField.js +1 -2
- package/src/sap/ui/integration/editor/fields/IntegerField.js +1 -2
- package/src/sap/ui/integration/editor/fields/NumberField.js +1 -2
- package/src/sap/ui/integration/editor/fields/ObjectField.js +1 -4
- package/src/sap/ui/integration/editor/fields/ObjectListField.js +1 -2
- package/src/sap/ui/integration/editor/fields/StringField.js +1 -4
- package/src/sap/ui/integration/editor/fields/StringListField.js +1 -2
- package/src/sap/ui/integration/editor/fields/fragment/Controller.js +1 -2
- package/src/sap/ui/integration/editor/fields/viz/ColorSelect.js +1 -2
- package/src/sap/ui/integration/editor/fields/viz/IconSelect.js +1 -2
- package/src/sap/ui/integration/editor/fields/viz/ImageSelect.js +1 -2
- package/src/sap/ui/integration/editor/fields/viz/ShapeSelect.js +1 -2
- package/src/sap/ui/integration/editor/fields/viz/VizBase.js +1 -2
- package/src/sap/ui/integration/extensions/OAuth3LO.js +1 -1
- package/src/sap/ui/integration/library.js +17 -22
- 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_cnr.properties +3 -1
- 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_saprigi.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 +3 -1
- package/src/sap/ui/integration/messagebundle_it.properties +2 -0
- package/src/sap/ui/integration/messagebundle_iw.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ja.properties +2 -0
- package/src/sap/ui/integration/messagebundle_kk.properties +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_mk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ms.properties +2 -0
- package/src/sap/ui/integration/messagebundle_nl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_no.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pt.properties +2 -0
- package/src/sap/ui/integration/messagebundle_pt_PT.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ro.properties +2 -0
- package/src/sap/ui/integration/messagebundle_ru.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sh.properties +3 -1
- package/src/sap/ui/integration/messagebundle_sk.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sl.properties +2 -0
- package/src/sap/ui/integration/messagebundle_sr.properties +3 -1
- 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 +1 -1
- package/src/sap/ui/integration/model/ObservableModel.js +1 -1
- package/src/sap/ui/integration/schemas/sap-card.json +78 -4
- package/src/sap/ui/integration/services/Data.js +0 -1
- package/src/sap/ui/integration/services/Navigation.js +0 -1
- package/src/sap/ui/integration/services/Service.js +0 -1
- package/src/sap/ui/integration/themes/base/ListContentItem.less +7 -7
- package/src/sap/ui/integration/themes/base/ObjectContent.less +8 -1
- package/src/sap/ui/integration/util/AnalyticsCloudHelper.js +1 -1
- package/src/sap/ui/integration/util/BaseFactory.js +1 -1
- package/src/sap/ui/integration/util/BindingHelper.js +1 -1
- package/src/sap/ui/integration/util/BindingResolver.js +1 -1
- package/src/sap/ui/integration/util/CardObserver.js +1 -1
- package/src/sap/ui/integration/util/ComboBoxHelper.js +1 -1
- package/src/sap/ui/integration/util/ContentFactory.js +1 -1
- 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 -2
- package/src/sap/ui/integration/util/Destinations.js +1 -1
- package/src/sap/ui/integration/util/DisplayVariants.js +1 -1
- package/src/sap/ui/integration/util/ErrorHandler.js +1 -1
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
- package/src/sap/ui/integration/util/Form.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 +1 -1
- package/src/sap/ui/integration/util/Manifest.js +1 -1
- package/src/sap/ui/integration/util/ManifestResolver.js +0 -1
- package/src/sap/ui/integration/util/OAuth3LOHelper.js +1 -1
- package/src/sap/ui/integration/util/ObjectStatusFactory.js +1 -1
- package/src/sap/ui/integration/util/RadioButtonHelper.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/SorterHelper.js +1 -1
- package/src/sap/ui/integration/util/Utils.js +2 -2
- package/src/sap/ui/integration/util/Validators.js +1 -1
- package/src/sap/ui/integration/widgets/Card.js +40 -50
- package/src/sap-ui-integration.js +1 -1
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
* Utility class helping with JSON strings and formatters.
|
|
32
32
|
*
|
|
33
33
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.146.0
|
|
35
35
|
*
|
|
36
36
|
* @private
|
|
37
37
|
* @alias sap.ui.integration.util.Utils
|
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
* @returns {string} language code
|
|
66
66
|
*/
|
|
67
67
|
Utils.getLocalizationLanguage = function() {
|
|
68
|
-
var language = Localization.
|
|
68
|
+
var language = Localization.getLanguageTag().toString();
|
|
69
69
|
return Utils.languageMapping[language] || language;
|
|
70
70
|
};
|
|
71
71
|
|
|
@@ -191,7 +191,7 @@ sap.ui.define([
|
|
|
191
191
|
* @extends sap.f.CardBase
|
|
192
192
|
*
|
|
193
193
|
* @author SAP SE
|
|
194
|
-
* @version 1.
|
|
194
|
+
* @version 1.146.0
|
|
195
195
|
* @public
|
|
196
196
|
* @constructor
|
|
197
197
|
* @see {@link topic:5b46b03f024542ba802d99d67bc1a3f4 Cards}
|
|
@@ -225,7 +225,7 @@ sap.ui.define([
|
|
|
225
225
|
* Overrides the default values of the parameters, which are defined in the manifest.
|
|
226
226
|
* The value is an object containing parameters in format <code>{parameterKey: parameterValue}</code>.
|
|
227
227
|
*
|
|
228
|
-
* @experimental
|
|
228
|
+
* @ui5-experimental-since 1.65
|
|
229
229
|
*/
|
|
230
230
|
parameters: {
|
|
231
231
|
type: "object",
|
|
@@ -234,8 +234,7 @@ sap.ui.define([
|
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* Defines the state of the <code>Card</code>. When set to <code>Inactive</code>, the <code>Card</code> doesn't make requests.
|
|
237
|
-
* @experimental
|
|
238
|
-
* @since 1.65
|
|
237
|
+
* @ui5-experimental-since 1.65
|
|
239
238
|
*/
|
|
240
239
|
dataMode: {
|
|
241
240
|
type: "sap.ui.integration.CardDataMode",
|
|
@@ -247,8 +246,7 @@ sap.ui.define([
|
|
|
247
246
|
* Defines the base URL of the card manifest. It should be used when manifest property is an object instead of a URL.
|
|
248
247
|
* If both manifest URL and base URL are defined - the base URL will be used for loading dependencies.
|
|
249
248
|
* If both manifest URL and base URL are not defined - relative resources might not be loaded correctly.
|
|
250
|
-
* @experimental
|
|
251
|
-
* @since 1.70
|
|
249
|
+
* @ui5-experimental-since 1.70
|
|
252
250
|
*/
|
|
253
251
|
baseUrl: {
|
|
254
252
|
type: "sap.ui.core.URI",
|
|
@@ -289,8 +287,9 @@ sap.ui.define([
|
|
|
289
287
|
* ]
|
|
290
288
|
* </pre>
|
|
291
289
|
*
|
|
292
|
-
*
|
|
293
|
-
*
|
|
290
|
+
* Disclaimer: this API might be removed when a permanent solution for flexibility changes is implemented.
|
|
291
|
+
*
|
|
292
|
+
* @ui5-experimental-since 1.76
|
|
294
293
|
*/
|
|
295
294
|
manifestChanges: {
|
|
296
295
|
type: "object[]",
|
|
@@ -299,7 +298,6 @@ sap.ui.define([
|
|
|
299
298
|
|
|
300
299
|
/**
|
|
301
300
|
* Defines if the card should be displayed with mock data. To be used with component cards.
|
|
302
|
-
* @experimental Since 1.109
|
|
303
301
|
* @private
|
|
304
302
|
* @since 1.109
|
|
305
303
|
* @deprecated Since 1.112. Use <code>previewMode</code> instead.
|
|
@@ -312,8 +310,7 @@ sap.ui.define([
|
|
|
312
310
|
|
|
313
311
|
/**
|
|
314
312
|
* Defines the design of the <code>Card</code>.
|
|
315
|
-
* @experimental
|
|
316
|
-
* @since 1.109
|
|
313
|
+
* @ui5-experimental-since 1.109
|
|
317
314
|
*/
|
|
318
315
|
design: {
|
|
319
316
|
type: "sap.ui.integration.CardDesign",
|
|
@@ -323,8 +320,8 @@ sap.ui.define([
|
|
|
323
320
|
|
|
324
321
|
/**
|
|
325
322
|
* Defines the display variant for card rendering and behavior.
|
|
326
|
-
* @experimental
|
|
327
|
-
* @
|
|
323
|
+
* @ui5-experimental-since 1.118
|
|
324
|
+
* @ui5-restricted Work Zone
|
|
328
325
|
*/
|
|
329
326
|
displayVariant: {
|
|
330
327
|
type: "sap.ui.integration.CardDisplayVariant",
|
|
@@ -340,8 +337,7 @@ sap.ui.define([
|
|
|
340
337
|
* <li>When set to "Abstract", the card shows abstract placeholder without loading data.</li>
|
|
341
338
|
* <li>When set to "Off", the card displays real data.</li>
|
|
342
339
|
* </ul>
|
|
343
|
-
* @experimental
|
|
344
|
-
* @since 1.112
|
|
340
|
+
* @ui5-experimental-since 1.112
|
|
345
341
|
*/
|
|
346
342
|
previewMode: {
|
|
347
343
|
type: "sap.ui.integration.CardPreviewMode",
|
|
@@ -352,8 +348,7 @@ sap.ui.define([
|
|
|
352
348
|
/**
|
|
353
349
|
* If the card should change depending on its size.
|
|
354
350
|
* This property is temporary. Should be used to enable the feature for cards where it is needed.
|
|
355
|
-
* @experimental
|
|
356
|
-
* @since 1.127
|
|
351
|
+
* @ui5-experimental-since 1.127
|
|
357
352
|
*/
|
|
358
353
|
useProgressiveDisclosure: {
|
|
359
354
|
type: "boolean",
|
|
@@ -366,8 +361,7 @@ sap.ui.define([
|
|
|
366
361
|
*
|
|
367
362
|
* <b>Note</b>: If the "Default" option is used, the card must be allowed to grow in height as much as it needs to avoid overflowing. Use a layout which allows this.
|
|
368
363
|
*
|
|
369
|
-
* @experimental
|
|
370
|
-
* @since 1.133
|
|
364
|
+
* @ui5-experimental-since 1.133
|
|
371
365
|
*/
|
|
372
366
|
overflow: {
|
|
373
367
|
type: "sap.ui.integration.CardOverflow",
|
|
@@ -409,8 +403,7 @@ sap.ui.define([
|
|
|
409
403
|
/**
|
|
410
404
|
* Actions definitions from which actions in the header menu of the card are created.
|
|
411
405
|
* <b>Note</b>: This aggregation is destroyed when the property <code>manifest</code> changes.
|
|
412
|
-
* @experimental
|
|
413
|
-
* @since 1.85
|
|
406
|
+
* @ui5-experimental-since 1.85
|
|
414
407
|
*/
|
|
415
408
|
actionDefinitions: {
|
|
416
409
|
type: "sap.ui.integration.ActionDefinition",
|
|
@@ -483,8 +476,7 @@ sap.ui.define([
|
|
|
483
476
|
* When an action is triggered in the card it can be handled on several places by "action" event handlers. In consecutive order those places are: <code>Extension</code>, <code>Card</code>, <code>Host</code>.
|
|
484
477
|
* Each of them can prevent the next one to handle the action by calling <code>oEvent.preventDefault()</code>.
|
|
485
478
|
*
|
|
486
|
-
* @experimental
|
|
487
|
-
* Disclaimer: this event is in a beta state - incompatible API changes may be done before its official public release. Use at your own discretion.
|
|
479
|
+
* @ui5-experimental-since 1.64
|
|
488
480
|
*/
|
|
489
481
|
action: {
|
|
490
482
|
allowPreventDefault: true,
|
|
@@ -537,7 +529,7 @@ sap.ui.define([
|
|
|
537
529
|
/**
|
|
538
530
|
* Fired when some configuration settings are changed as a result of user interaction.
|
|
539
531
|
* For example - filter value is changed.
|
|
540
|
-
* @experimental
|
|
532
|
+
* @ui5-experimental-since 1.96
|
|
541
533
|
*/
|
|
542
534
|
configurationChange: {
|
|
543
535
|
parameters: {
|
|
@@ -560,7 +552,7 @@ sap.ui.define([
|
|
|
560
552
|
|
|
561
553
|
/**
|
|
562
554
|
* Fired when the manifest is loaded.
|
|
563
|
-
* @experimental
|
|
555
|
+
* @ui5-experimental-since 1.72
|
|
564
556
|
*/
|
|
565
557
|
manifestReady: {},
|
|
566
558
|
|
|
@@ -576,7 +568,7 @@ sap.ui.define([
|
|
|
576
568
|
/**
|
|
577
569
|
* Fired when the state of the card is changed.
|
|
578
570
|
* For example - the card is ready, new page is selected, a filter is changed or data is refreshed.
|
|
579
|
-
* @experimental
|
|
571
|
+
* @ui5-experimental-since 1.107
|
|
580
572
|
*/
|
|
581
573
|
stateChanged: {}
|
|
582
574
|
},
|
|
@@ -647,7 +639,7 @@ sap.ui.define([
|
|
|
647
639
|
* @name sap.ui.integration.widgets.CardFacade
|
|
648
640
|
* @public
|
|
649
641
|
* @author SAP SE
|
|
650
|
-
* @version 1.
|
|
642
|
+
* @version 1.146.0
|
|
651
643
|
* @borrows sap.ui.integration.widgets.Card#getId as getId
|
|
652
644
|
* @borrows sap.ui.integration.widgets.Card#getCombinedParameters as getCombinedParameters
|
|
653
645
|
* @borrows sap.ui.integration.widgets.Card#getManifestEntry as getManifestEntry
|
|
@@ -1040,8 +1032,6 @@ sap.ui.define([
|
|
|
1040
1032
|
Card.prototype.createManifest = function (vManifest, sBaseUrl) {
|
|
1041
1033
|
var mOptions = {};
|
|
1042
1034
|
|
|
1043
|
-
this._isManifestReady = false;
|
|
1044
|
-
|
|
1045
1035
|
if (typeof vManifest === "string") {
|
|
1046
1036
|
mOptions.manifestUrl = vManifest;
|
|
1047
1037
|
vManifest = null;
|
|
@@ -1148,11 +1138,11 @@ sap.ui.define([
|
|
|
1148
1138
|
};
|
|
1149
1139
|
|
|
1150
1140
|
/**
|
|
1151
|
-
* Causes all
|
|
1141
|
+
* Causes all the controls within the Card
|
|
1152
1142
|
* that support validation to validate their data.
|
|
1153
1143
|
* @public
|
|
1154
|
-
* @experimental
|
|
1155
|
-
* @returns {boolean} if all
|
|
1144
|
+
* @ui5-experimental-since 1.106
|
|
1145
|
+
* @returns {boolean} if all the controls validated successfully; otherwise, false
|
|
1156
1146
|
*/
|
|
1157
1147
|
Card.prototype.validateControls = function () {
|
|
1158
1148
|
this._validateContentControls(true);
|
|
@@ -1288,7 +1278,7 @@ sap.ui.define([
|
|
|
1288
1278
|
|
|
1289
1279
|
/**
|
|
1290
1280
|
* @public
|
|
1291
|
-
* @experimental
|
|
1281
|
+
* @ui5-experimental-since 1.65
|
|
1292
1282
|
* @returns {boolean} If the card is ready or not.
|
|
1293
1283
|
*/
|
|
1294
1284
|
Card.prototype.isReady = function () {
|
|
@@ -1299,7 +1289,7 @@ sap.ui.define([
|
|
|
1299
1289
|
* Refreshes the card by re-applying the manifest settings and triggering all data requests.
|
|
1300
1290
|
*
|
|
1301
1291
|
* @public
|
|
1302
|
-
* @experimental
|
|
1292
|
+
* @ui5-experimental-since 1.65
|
|
1303
1293
|
*/
|
|
1304
1294
|
Card.prototype.refresh = function () {
|
|
1305
1295
|
if (this._getActualDataMode() === CardDataMode.Active) {
|
|
@@ -1396,6 +1386,7 @@ sap.ui.define([
|
|
|
1396
1386
|
return;
|
|
1397
1387
|
}
|
|
1398
1388
|
|
|
1389
|
+
this.hideBlockingMessage();
|
|
1399
1390
|
this.refreshAllData();
|
|
1400
1391
|
this.resetPaginator();
|
|
1401
1392
|
};
|
|
@@ -1531,6 +1522,8 @@ sap.ui.define([
|
|
|
1531
1522
|
* @param {boolean} [bResetInternalModels=true] If true, the internal models will be reset.
|
|
1532
1523
|
*/
|
|
1533
1524
|
Card.prototype._cleanupOldManifest = function(bResetInternalModels = true) {
|
|
1525
|
+
this._isManifestReady = false;
|
|
1526
|
+
|
|
1534
1527
|
if (this._fnOnModelChange) {
|
|
1535
1528
|
this.getModel().detachEvent("change", this._fnOnModelChange, this);
|
|
1536
1529
|
delete this._fnOnModelChange;
|
|
@@ -1598,7 +1591,7 @@ sap.ui.define([
|
|
|
1598
1591
|
* - Use when developing a Component card.
|
|
1599
1592
|
*
|
|
1600
1593
|
* @public
|
|
1601
|
-
* @experimental
|
|
1594
|
+
* @ui5-experimental-since 1.77
|
|
1602
1595
|
* @returns {map} Object containing parameters in format <code>{parameterKey: parameterValue}</code>.
|
|
1603
1596
|
*/
|
|
1604
1597
|
Card.prototype.getCombinedParameters = function () {
|
|
@@ -1624,7 +1617,7 @@ sap.ui.define([
|
|
|
1624
1617
|
* <b>Note</b> Use this method when the manifest is ready. Check <code>manifestReady</code> event.
|
|
1625
1618
|
*
|
|
1626
1619
|
* @public
|
|
1627
|
-
* @experimental
|
|
1620
|
+
* @ui5-experimental-since 1.77
|
|
1628
1621
|
* @param {string} sPath The path to return a value for.
|
|
1629
1622
|
* @returns {any} The value at the specified path.
|
|
1630
1623
|
*/
|
|
@@ -1705,7 +1698,7 @@ sap.ui.define([
|
|
|
1705
1698
|
* Can be used only after the <code>manifestApplied</code> event is fired.
|
|
1706
1699
|
*
|
|
1707
1700
|
* @public
|
|
1708
|
-
* @experimental
|
|
1701
|
+
* @ui5-experimental-since 1.81
|
|
1709
1702
|
* @param {string} sMessage The message.
|
|
1710
1703
|
* @param {sap.ui.integration.CardMessageType} sType Type of the message.
|
|
1711
1704
|
* @param {boolean} bAutoClose Close the message automatically. Default is <code>false</code> for most message types.
|
|
@@ -1732,7 +1725,7 @@ sap.ui.define([
|
|
|
1732
1725
|
* Hides the message previously shown by showMessage.
|
|
1733
1726
|
*
|
|
1734
1727
|
* @public
|
|
1735
|
-
* @experimental
|
|
1728
|
+
* @ui5-experimental-since 1.117
|
|
1736
1729
|
*/
|
|
1737
1730
|
Card.prototype.hideMessage = function () {
|
|
1738
1731
|
var oContent = this.getCardContent();
|
|
@@ -1759,7 +1752,7 @@ sap.ui.define([
|
|
|
1759
1752
|
* @property {Response} [httpResponse] Response object in case of a network error
|
|
1760
1753
|
* @property {array} [additionalContent] A list of buttons placed below the description as additional content. Experimental since 1.121
|
|
1761
1754
|
* @public
|
|
1762
|
-
* @experimental
|
|
1755
|
+
* @ui5-experimental-since 1.114
|
|
1763
1756
|
*/
|
|
1764
1757
|
|
|
1765
1758
|
/**
|
|
@@ -1767,7 +1760,7 @@ sap.ui.define([
|
|
|
1767
1760
|
* Should be used after the <code>manifestApplied</code> event or after the <code>cardReady</code> lifecycle hook in Component cards and Extensions.
|
|
1768
1761
|
*
|
|
1769
1762
|
* @public
|
|
1770
|
-
* @experimental
|
|
1763
|
+
* @ui5-experimental-since 1.114
|
|
1771
1764
|
* @param {sap.ui.integration.BlockingMessageSettings} oSettings Blocking message settings
|
|
1772
1765
|
*/
|
|
1773
1766
|
Card.prototype.showBlockingMessage = function (oSettings) {
|
|
@@ -1783,7 +1776,7 @@ sap.ui.define([
|
|
|
1783
1776
|
* Get information about the blocking message in the card.
|
|
1784
1777
|
*
|
|
1785
1778
|
* @public
|
|
1786
|
-
* @experimental
|
|
1779
|
+
* @ui5-experimental-since 1.114
|
|
1787
1780
|
* @returns {sap.ui.integration.BlockingMessageSettings|null} Information about the message or <code>null</code>, if such isn't shown.
|
|
1788
1781
|
*/
|
|
1789
1782
|
Card.prototype.getBlockingMessage = function () {
|
|
@@ -1809,7 +1802,7 @@ sap.ui.define([
|
|
|
1809
1802
|
* Hide the blocking message that is shown in the card by <code>showBlockingMessage</code> call.
|
|
1810
1803
|
*
|
|
1811
1804
|
* @public
|
|
1812
|
-
* @experimental
|
|
1805
|
+
* @ui5-experimental-since 1.114
|
|
1813
1806
|
*/
|
|
1814
1807
|
Card.prototype.hideBlockingMessage = function () {
|
|
1815
1808
|
var oContent = this.getCardContent();
|
|
@@ -2352,7 +2345,7 @@ sap.ui.define([
|
|
|
2352
2345
|
* Gets the instance of the <code>host</code> association.
|
|
2353
2346
|
*
|
|
2354
2347
|
* @public
|
|
2355
|
-
* @experimental
|
|
2348
|
+
* @ui5-experimental-since 1.77
|
|
2356
2349
|
* @returns {sap.ui.integration.Host} The host object associated with this card.
|
|
2357
2350
|
*/
|
|
2358
2351
|
Card.prototype.getHostInstance = function () {
|
|
@@ -2703,11 +2696,10 @@ sap.ui.define([
|
|
|
2703
2696
|
/**
|
|
2704
2697
|
* Sets a new value for the <code>dataMode</code> property.
|
|
2705
2698
|
*
|
|
2706
|
-
* @experimental
|
|
2699
|
+
* @ui5-experimental-since 1.65
|
|
2707
2700
|
* @param {sap.ui.integration.CardDataMode} sMode The mode to set to the Card.
|
|
2708
2701
|
* @returns {this} Pointer to the control instance to allow method chaining.
|
|
2709
2702
|
* @public
|
|
2710
|
-
* @since 1.65
|
|
2711
2703
|
*/
|
|
2712
2704
|
Card.prototype.setDataMode = function (sMode) {
|
|
2713
2705
|
|
|
@@ -2744,7 +2736,7 @@ sap.ui.define([
|
|
|
2744
2736
|
* }
|
|
2745
2737
|
*
|
|
2746
2738
|
* @public
|
|
2747
|
-
* @experimental
|
|
2739
|
+
* @ui5-experimental-since 1.73
|
|
2748
2740
|
* @returns {Promise<object>} Promise resolves after the designtime configuration is loaded.
|
|
2749
2741
|
*/
|
|
2750
2742
|
Card.prototype.loadDesigntime = function () {
|
|
@@ -2933,7 +2925,7 @@ sap.ui.define([
|
|
|
2933
2925
|
* @property {object} response The response object
|
|
2934
2926
|
* @property {string} responseText The response text
|
|
2935
2927
|
* @public
|
|
2936
|
-
* @experimental
|
|
2928
|
+
* @ui5-experimental-since 1.139
|
|
2937
2929
|
*/
|
|
2938
2930
|
|
|
2939
2931
|
/**
|
|
@@ -3034,7 +3026,7 @@ sap.ui.define([
|
|
|
3034
3026
|
* </pre>
|
|
3035
3027
|
*
|
|
3036
3028
|
* @public
|
|
3037
|
-
* @experimental
|
|
3029
|
+
* @ui5-experimental-since 1.84
|
|
3038
3030
|
* @param {object} oAction The settings of the action.
|
|
3039
3031
|
* @param {sap.ui.integration.CardActionType} oAction.type The type of the action.
|
|
3040
3032
|
* @param {object} [oAction.parameters] Additional parameters which will be used by the action handler to perform the action.
|
|
@@ -3054,7 +3046,6 @@ sap.ui.define([
|
|
|
3054
3046
|
* <b>Note:</b> Should be used after the <code>stateChanged</code> event is fired.
|
|
3055
3047
|
*
|
|
3056
3048
|
* @private
|
|
3057
|
-
* @experimental since 1.113
|
|
3058
3049
|
* @deprecated since 1.114
|
|
3059
3050
|
* @returns {boolean} Whether 'No Data' is displayed in the card
|
|
3060
3051
|
*/
|
|
@@ -3067,7 +3058,6 @@ sap.ui.define([
|
|
|
3067
3058
|
* Should be used only by component cards, no earlier than the <code>onCardReady</code> lifecycle hook.
|
|
3068
3059
|
*
|
|
3069
3060
|
* @private
|
|
3070
|
-
* @experimental since 1.113
|
|
3071
3061
|
* @deprecated since 1.114
|
|
3072
3062
|
* @param {object} oSettings 'No Data' settings
|
|
3073
3063
|
* @param {sap.m.IllustratedMessageType} oSettings.type Illustration type
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
return;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
window.sap.ui.require(["
|
|
107
|
+
window.sap.ui.require(["ui5loader-autoconfig", "sap/ui/core/Core", "sap/ui/core/Lib"],
|
|
108
108
|
function (config, _Core, _Lib) {
|
|
109
109
|
Core = _Core;
|
|
110
110
|
Lib = _Lib;
|