@openui5/sap.ui.integration 1.113.0 → 1.114.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 +6 -6
- package/src/sap/ui/integration/.library +1 -1
- package/src/sap/ui/integration/ActionDefinition.js +1 -1
- package/src/sap/ui/integration/Designtime.js +1 -1
- package/src/sap/ui/integration/Extension.js +1 -1
- package/src/sap/ui/integration/Host.js +1 -1
- package/src/sap/ui/integration/cards/AdaptiveContent.js +1 -1
- package/src/sap/ui/integration/cards/AnalyticalContent.js +3 -3
- package/src/sap/ui/integration/cards/AnalyticsCloudContent.js +2 -2
- package/src/sap/ui/integration/cards/BaseContent.js +52 -22
- package/src/sap/ui/integration/cards/BaseContentRenderer.js +3 -3
- package/src/sap/ui/integration/cards/BaseListContent.js +3 -3
- package/src/sap/ui/integration/cards/CalendarContent.js +1 -1
- package/src/sap/ui/integration/cards/ComponentContent.js +3 -3
- 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 +7 -1
- package/src/sap/ui/integration/cards/NumericHeader.js +1 -1
- package/src/sap/ui/integration/cards/ObjectContent.js +29 -3
- package/src/sap/ui/integration/cards/TableContent.js +1 -1
- package/src/sap/ui/integration/cards/TimelineContent.js +1 -1
- package/src/sap/ui/integration/cards/WebPageContent.js +8 -6
- 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 +24 -23
- 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 +267 -0
- package/src/sap/ui/integration/controls/LinkWithIcon.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItem.js +1 -1
- package/src/sap/ui/integration/controls/Microchart.js +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/controls/Paginator.js +1 -1
- package/src/sap/ui/integration/controls/PaginatorRenderer.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/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 +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/multiSelectEditor/MultiSelectEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/objectArrayEditor/ObjectArrayEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +7 -5
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/BASEditor.js +8 -10
- package/src/sap/ui/integration/designtime/cardEditor/CardEditor.js +0 -1
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n.properties +3 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ar.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_bg.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ca.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_cs.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_cy.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_da.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_de.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_el.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_GB.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_US_sappsd.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_US_saprigi.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_US_saptrc.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_es.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_es_MX.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_et.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_fi.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_fr.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_fr_CA.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_hi.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_hr.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_hu.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_id.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_it.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_iw.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ja.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_kk.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ko.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_lt.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_lv.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ms.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_nl.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_no.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_pl.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_pt.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_pt_PT.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ro.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_ru.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_sh.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_sk.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_sl.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_sv.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_th.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_tr.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_uk.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_vi.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_zh_CN.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_zh_TW.properties +2 -0
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/complexMapEditor/ComplexMapEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/destinationsEditor/DestinationsEditor.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/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 +12 -1
- package/src/sap/ui/integration/designtime/editor/Card.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +1 -1
- package/src/sap/ui/integration/editor/Editor.js +44 -40
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +1 -1
- 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 +74 -63
- package/src/sap/ui/integration/editor/fields/BaseField.js +6 -3
- package/src/sap/ui/integration/editor/fields/BooleanField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateField.js +5 -4
- package/src/sap/ui/integration/editor/fields/DateTimeField.js +5 -4
- package/src/sap/ui/integration/editor/fields/DestinationField.js +1 -1
- package/src/sap/ui/integration/editor/fields/GroupField.js +5 -6
- 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 +55 -40
- package/src/sap/ui/integration/editor/fields/ObjectListField.js +3 -3
- package/src/sap/ui/integration/editor/fields/StringField.js +12 -8
- package/src/sap/ui/integration/editor/fields/StringListField.js +1 -1
- 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/library.js +33 -4
- package/src/sap/ui/integration/messagebundle.properties +1 -1
- package/src/sap/ui/integration/messagebundle_en_US_sappsd.properties +1 -1
- package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +1 -1
- package/src/sap/ui/integration/messagebundle_en_US_saptrc.properties +1 -1
- package/src/sap/ui/integration/model/ContextModel.js +1 -1
- package/src/sap/ui/integration/model/ObservableModel.js +1 -1
- package/src/sap/ui/integration/model/PagingModelListBinding.js +1 -1
- package/src/sap/ui/integration/schemas/sap-card.json +7 -1
- package/src/sap/ui/integration/themes/base/BlockingMessage.less +11 -0
- package/src/sap/ui/integration/themes/base/Paginator.less +19 -38
- package/src/sap/ui/integration/themes/base/library.source.less +1 -0
- package/src/sap/ui/integration/util/BaseFactory.js +1 -1
- package/src/sap/ui/integration/util/BindingHelper.js +9 -3
- package/src/sap/ui/integration/util/BindingResolver.js +1 -1
- package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +4 -3
- package/src/sap/ui/integration/util/CardObserver.js +1 -1
- package/src/sap/ui/integration/util/ContentFactory.js +1 -1
- package/src/sap/ui/integration/util/CsrfTokenHandler.js +1 -1
- package/src/sap/ui/integration/util/DataProvider.js +1 -1
- package/src/sap/ui/integration/util/DataProviderFactory.js +14 -13
- package/src/sap/ui/integration/util/Destinations.js +1 -1
- package/src/sap/ui/integration/util/ErrorHandler.js +24 -174
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
- package/src/sap/ui/integration/util/Form.js +7 -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/ParameterMap.js +6 -4
- 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 +6 -4
- package/src/sap/ui/integration/util/Validators.js +1 -1
- package/src/sap/ui/integration/widgets/Card.js +165 -94
|
@@ -80,7 +80,7 @@ sap.ui.define([
|
|
|
80
80
|
* @alias sap.ui.integration.editor.fields.ObjectField
|
|
81
81
|
* @author SAP SE
|
|
82
82
|
* @since 1.100.0
|
|
83
|
-
* @version 1.
|
|
83
|
+
* @version 1.114.0
|
|
84
84
|
* @private
|
|
85
85
|
* @experimental since 1.100.0
|
|
86
86
|
* @ui5-restricted
|
|
@@ -204,6 +204,7 @@ sap.ui.define([
|
|
|
204
204
|
|
|
205
205
|
ObjectField.prototype.createSimpleFormVisualization = function(oConfig) {
|
|
206
206
|
var that = this;
|
|
207
|
+
var sParameterId = that.getParameterId();
|
|
207
208
|
var oResourceBundle = that.getResourceBundle();
|
|
208
209
|
var fnChange = function() {
|
|
209
210
|
var oModel = this.getAggregation("_field").getModel();
|
|
@@ -221,7 +222,7 @@ sap.ui.define([
|
|
|
221
222
|
this.setValue(oValue);
|
|
222
223
|
}.bind(that);
|
|
223
224
|
var aObjectPropertyFormContents = that.createFormContents(fnChange, "/value/", false, that.openTranslationPopup);
|
|
224
|
-
var oEditModeButton = new Button({
|
|
225
|
+
var oEditModeButton = new Button(sParameterId + "_control_form_editmode_btn", {
|
|
225
226
|
icon: {
|
|
226
227
|
path: '/editMode',
|
|
227
228
|
formatter: function(oEditMode) {
|
|
@@ -252,7 +253,7 @@ sap.ui.define([
|
|
|
252
253
|
}
|
|
253
254
|
}
|
|
254
255
|
});
|
|
255
|
-
var oDeleteButon = new Button({
|
|
256
|
+
var oDeleteButon = new Button(sParameterId + "_control_form_delete_btn", {
|
|
256
257
|
icon: "sap-icon://delete",
|
|
257
258
|
tooltip: oResourceBundle.getText("EDITOR_FIELD_OBJECT_DELETE"),
|
|
258
259
|
visible: oConfig.enabled,
|
|
@@ -339,11 +340,11 @@ sap.ui.define([
|
|
|
339
340
|
return oVisualization;
|
|
340
341
|
};
|
|
341
342
|
|
|
342
|
-
ObjectField.prototype.
|
|
343
|
+
ObjectField.prototype.buildSelectionColumnLabels = function() {
|
|
343
344
|
var that = this;
|
|
344
345
|
var oConfig = that.getConfiguration();
|
|
345
346
|
var oResourceBundle = that.getResourceBundle();
|
|
346
|
-
return new Button({
|
|
347
|
+
return new Button(that.getParameterId() + "_control_table_column_selection_label_clearall_btn", {
|
|
347
348
|
icon: "sap-icon://clear-all",
|
|
348
349
|
type: "Transparent",
|
|
349
350
|
enabled: typeof oConfig.values === "undefined" ? false : "{/_hasSelected}",
|
|
@@ -354,13 +355,14 @@ sap.ui.define([
|
|
|
354
355
|
|
|
355
356
|
ObjectField.prototype.buildTableColumns = function() {
|
|
356
357
|
var that = this;
|
|
358
|
+
var sParameterId = that.getParameterId();
|
|
357
359
|
var oConfig = that.getConfiguration();
|
|
358
360
|
var aColumns = [];
|
|
359
361
|
var aKeys = Object.keys(oConfig.properties);
|
|
360
362
|
if (aKeys.length > 0) {
|
|
361
363
|
var oResourceBundle = that.getResourceBundle();
|
|
362
|
-
var oSelectionColumnLabels = that.
|
|
363
|
-
var oSelectionColumn = new Column({
|
|
364
|
+
var oSelectionColumnLabels = that.buildSelectionColumnLabels();
|
|
365
|
+
var oSelectionColumn = new Column(sParameterId + "_control_table_column_selection", {
|
|
364
366
|
width: "3.2rem",
|
|
365
367
|
hAlign: "Center",
|
|
366
368
|
// hide selection column for object list field with properties defined only
|
|
@@ -392,6 +394,7 @@ sap.ui.define([
|
|
|
392
394
|
});
|
|
393
395
|
aColumns.push(oSelectionColumn);
|
|
394
396
|
for (var n in oConfig.properties) {
|
|
397
|
+
var sPropertyId = sParameterId + "_control_table_column_property_" + n;
|
|
395
398
|
var oProperty = oConfig.properties[n];
|
|
396
399
|
var sDefaultLabel = oProperty.label || n;
|
|
397
400
|
var sDefaultValue = "{" + n + "}";
|
|
@@ -511,7 +514,7 @@ sap.ui.define([
|
|
|
511
514
|
break;
|
|
512
515
|
}
|
|
513
516
|
oColumnSettings.template = oCellTemplate;
|
|
514
|
-
var oColumn = new Column(oColumnSettings);
|
|
517
|
+
var oColumn = new Column(sPropertyId, oColumnSettings);
|
|
515
518
|
aColumns.push(oColumn);
|
|
516
519
|
}
|
|
517
520
|
}
|
|
@@ -531,6 +534,7 @@ sap.ui.define([
|
|
|
531
534
|
|
|
532
535
|
ObjectField.prototype.createTableToolbar = function(oConfig) {
|
|
533
536
|
var that = this;
|
|
537
|
+
var sParameterId = that.getParameterId();
|
|
534
538
|
var oResourceBundle = that.getResourceBundle();
|
|
535
539
|
// check if has filterProperty defined in each column of config.properties
|
|
536
540
|
var bHasFilterDefined = that.checkHasFilterDefined(oConfig);
|
|
@@ -541,39 +545,39 @@ sap.ui.define([
|
|
|
541
545
|
}
|
|
542
546
|
var oContents = [
|
|
543
547
|
new ToolbarSpacer(),
|
|
544
|
-
new Button({
|
|
548
|
+
new Button(sParameterId + "_control_table_add_btn", {
|
|
545
549
|
icon: "sap-icon://add",
|
|
546
550
|
visible: bAddButtonVisible,
|
|
547
551
|
tooltip: sAddButtonTooltip,
|
|
548
552
|
press: that.addNewObject.bind(that)
|
|
549
553
|
}),
|
|
550
|
-
new Button({
|
|
554
|
+
new Button(sParameterId + "_control_table_edit_btn", {
|
|
551
555
|
icon: "sap-icon://edit",
|
|
552
556
|
tooltip: oResourceBundle.getText("EDITOR_FIELD_OBJECT_TABLE_BUTTON_EDIT_TOOLTIP"),
|
|
553
557
|
enabled: "{= !!${/_hasTableSelected}}",
|
|
554
558
|
press: that.onEditOrViewDetail.bind(that)
|
|
555
559
|
}),
|
|
556
|
-
new Button({
|
|
560
|
+
new Button(sParameterId + "_control_table_delete_btn", {
|
|
557
561
|
icon: "sap-icon://delete",
|
|
558
562
|
tooltip: oResourceBundle.getText("EDITOR_FIELD_OBJECT_DELETE"),
|
|
559
563
|
enabled: "{= !!${/_canDelete}}",
|
|
560
564
|
press: that.onDelete.bind(that)
|
|
561
565
|
}),
|
|
562
|
-
new Button({
|
|
566
|
+
new Button(sParameterId + "_control_table_filter_btn", {
|
|
563
567
|
icon: "sap-icon://clear-filter",
|
|
564
568
|
visible: bHasFilterDefined,
|
|
565
569
|
enabled: "{= !!${/_hasFilter}}",
|
|
566
570
|
tooltip: oResourceBundle.getText("EDITOR_FIELD_OBJECT_TABLE_BUTTON_CLEAR_ALL_FILTERS_TOOLTIP"),
|
|
567
571
|
press: that.clearAllFilters.bind(that)
|
|
568
572
|
}),
|
|
569
|
-
new Button({
|
|
573
|
+
new Button(sParameterId + "_control_table_multiselect_all_btn", {
|
|
570
574
|
icon: "sap-icon://multiselect-all",
|
|
571
575
|
visible: false,
|
|
572
576
|
enabled: "{= !${/_hasTableAllSelected}}",
|
|
573
577
|
tooltip: oResourceBundle.getText("EDITOR_FIELD_OBJECT_TABLE_BUTTON_SELECT_ALL_SELETIONS_TOOLTIP"),
|
|
574
578
|
press: that.selectAllTableSelections.bind(that)
|
|
575
579
|
}),
|
|
576
|
-
new Button({
|
|
580
|
+
new Button(sParameterId + "_control_table_multiselect_none_btn", {
|
|
577
581
|
icon: "sap-icon://multiselect-none",
|
|
578
582
|
visible: false,
|
|
579
583
|
enabled: "{= !!${/_hasTableSelected}}",
|
|
@@ -583,13 +587,13 @@ sap.ui.define([
|
|
|
583
587
|
];
|
|
584
588
|
if (oConfig.type === "object[]") {
|
|
585
589
|
oContents = oContents.concat([
|
|
586
|
-
new Button({
|
|
590
|
+
new Button(sParameterId + "_control_table_navigationup_btn", {
|
|
587
591
|
icon: "sap-icon://navigation-up-arrow",
|
|
588
592
|
enabled: "{= !!${/_hasOnlyOneRowSelected}}",
|
|
589
593
|
tooltip: oResourceBundle.getText("EDITOR_FIELD_OBJECT_TABLE_BUTTON_MOVE_UP_TOOLTIP"),
|
|
590
594
|
press: that.moveRowUp.bind(that)
|
|
591
595
|
}),
|
|
592
|
-
new Button({
|
|
596
|
+
new Button(sParameterId + "_control_table_navigationdown_btn", {
|
|
593
597
|
icon: "sap-icon://navigation-down-arrow",
|
|
594
598
|
enabled: "{= !!${/_hasOnlyOneRowSelected}}",
|
|
595
599
|
tooltip: oResourceBundle.getText("EDITOR_FIELD_OBJECT_TABLE_BUTTON_MOVE_DOWN_TOOLTIP"),
|
|
@@ -931,11 +935,12 @@ sap.ui.define([
|
|
|
931
935
|
ObjectField.prototype.createFormContents = function (fnChange, sPathPrefix, bIsInPopover, fnNavToTranslation) {
|
|
932
936
|
var that = this;
|
|
933
937
|
var oConfig = that.getConfiguration();
|
|
934
|
-
var aContentList = that.createPropertyContents(fnChange, sPathPrefix, fnNavToTranslation);
|
|
938
|
+
var aContentList = that.createPropertyContents(fnChange, sPathPrefix, bIsInPopover, fnNavToTranslation);
|
|
935
939
|
aContentList.push(new Label({
|
|
936
940
|
visible: false
|
|
937
941
|
}).addStyleClass("sapFormLabel"));
|
|
938
|
-
|
|
942
|
+
var sTextAreaId = bIsInPopover ? that.getParameterId() + "_control_objectdetails_popover_form_textarea" : that.getParameterId() + "_control_form_textarea";
|
|
943
|
+
aContentList.push(new TextArea(sTextAreaId, {
|
|
939
944
|
value: {
|
|
940
945
|
path: sPathPrefix,
|
|
941
946
|
formatter: function(vValue) {
|
|
@@ -964,8 +969,10 @@ sap.ui.define([
|
|
|
964
969
|
return aContentList;
|
|
965
970
|
};
|
|
966
971
|
|
|
967
|
-
ObjectField.prototype.createPropertyContents = function (fnChange, sPathPrefix, fnNavToTranslation) {
|
|
972
|
+
ObjectField.prototype.createPropertyContents = function (fnChange, sPathPrefix, bIsInPopover, fnNavToTranslation) {
|
|
968
973
|
var that = this;
|
|
974
|
+
var sParameterId = that.getParameterId();
|
|
975
|
+
var sPropertyIdPrefix = bIsInPopover ? sParameterId + "_control_objectdetails_popover_form_property_" : sParameterId + "_control_form_property_";
|
|
969
976
|
var oConfig = that.getConfiguration();
|
|
970
977
|
var aPropertyContentList = [];
|
|
971
978
|
if (!sPathPrefix) {
|
|
@@ -1012,7 +1019,9 @@ sap.ui.define([
|
|
|
1012
1019
|
var sLabelKey = sLabelText.substring(2, sLabelText.length - 2);
|
|
1013
1020
|
sLabelText = "{i18n>" + sLabelKey + "}";
|
|
1014
1021
|
}
|
|
1015
|
-
var
|
|
1022
|
+
var sPropertyLabelId = sPropertyIdPrefix + n + "_label";
|
|
1023
|
+
var sPropertyControlId = sPropertyIdPrefix + n + "_control";
|
|
1024
|
+
var oLable = new Label(sPropertyLabelId, {
|
|
1016
1025
|
text: sLabelText,
|
|
1017
1026
|
visible: "{= ${/editMode} === 'Properties'}",
|
|
1018
1027
|
required: oProperty.required || false
|
|
@@ -1045,7 +1054,7 @@ sap.ui.define([
|
|
|
1045
1054
|
oSettings.customTextOff = oProperty.cell.customTextOff;
|
|
1046
1055
|
}
|
|
1047
1056
|
oSettings = merge(oSettings, oPropertySettings);
|
|
1048
|
-
oValueControl = new Switch(oSettings);
|
|
1057
|
+
oValueControl = new Switch(sPropertyControlId, oSettings);
|
|
1049
1058
|
} else {
|
|
1050
1059
|
oSettings = {
|
|
1051
1060
|
selected: "{" + sPathPrefix + n + "}",
|
|
@@ -1054,7 +1063,7 @@ sap.ui.define([
|
|
|
1054
1063
|
select: fnChange
|
|
1055
1064
|
};
|
|
1056
1065
|
oSettings = merge(oSettings, oPropertySettings);
|
|
1057
|
-
oValueControl = new CheckBox(oSettings);
|
|
1066
|
+
oValueControl = new CheckBox(sPropertyControlId, oSettings);
|
|
1058
1067
|
}
|
|
1059
1068
|
break;
|
|
1060
1069
|
case "int":
|
|
@@ -1071,7 +1080,7 @@ sap.ui.define([
|
|
|
1071
1080
|
change: fnChange
|
|
1072
1081
|
};
|
|
1073
1082
|
oSettings = merge(oSettings, oPropertySettings);
|
|
1074
|
-
oValueControl = new Input(oSettings);
|
|
1083
|
+
oValueControl = new Input(sPropertyControlId, oSettings);
|
|
1075
1084
|
break;
|
|
1076
1085
|
case "number":
|
|
1077
1086
|
oSettings = {
|
|
@@ -1086,7 +1095,7 @@ sap.ui.define([
|
|
|
1086
1095
|
change: fnChange
|
|
1087
1096
|
};
|
|
1088
1097
|
oSettings = merge(oSettings, oPropertySettings);
|
|
1089
|
-
oValueControl = new Input(oSettings);
|
|
1098
|
+
oValueControl = new Input(sPropertyControlId, oSettings);
|
|
1090
1099
|
break;
|
|
1091
1100
|
case "object":
|
|
1092
1101
|
oSettings = {
|
|
@@ -1111,7 +1120,7 @@ sap.ui.define([
|
|
|
1111
1120
|
rows: 3
|
|
1112
1121
|
};
|
|
1113
1122
|
oSettings = merge(oSettings, oPropertySettings);
|
|
1114
|
-
oValueControl = new TextArea(oSettings);
|
|
1123
|
+
oValueControl = new TextArea(sPropertyControlId, oSettings);
|
|
1115
1124
|
break;
|
|
1116
1125
|
default:
|
|
1117
1126
|
var oTextSettingsModel = new JSONModel({
|
|
@@ -1169,7 +1178,7 @@ sap.ui.define([
|
|
|
1169
1178
|
};
|
|
1170
1179
|
}
|
|
1171
1180
|
}
|
|
1172
|
-
oValueControl = new Input(oSettings);
|
|
1181
|
+
oValueControl = new Input(sPropertyControlId, oSettings);
|
|
1173
1182
|
oValueControl.setModel(oTextSettingsModel,"settings");
|
|
1174
1183
|
}
|
|
1175
1184
|
aPropertyContentList.push(oValueControl);
|
|
@@ -1269,6 +1278,7 @@ sap.ui.define([
|
|
|
1269
1278
|
|
|
1270
1279
|
ObjectField.prototype.openObjectDetailsPopover = function (oItem, oControl, sMode) {
|
|
1271
1280
|
var that = this;
|
|
1281
|
+
var sParameterId = that.getParameterId();
|
|
1272
1282
|
var oResourceBundle = that.getResourceBundle();
|
|
1273
1283
|
var oItemCloned = deepClone(oItem, 500);
|
|
1274
1284
|
var oModel;
|
|
@@ -1277,7 +1287,7 @@ sap.ui.define([
|
|
|
1277
1287
|
sPlacement = this.getPopoverPlacement(oControl);
|
|
1278
1288
|
}
|
|
1279
1289
|
if (!that._oObjectDetailsPopover) {
|
|
1280
|
-
var oAddButton = new Button({
|
|
1290
|
+
var oAddButton = new Button(sParameterId + "_control_objectdetails_popover_add_btn", {
|
|
1281
1291
|
text: oResourceBundle.getText("EDITOR_FIELD_OBJECT_DETAILS_POPOVER_BUTTON_ADD"),
|
|
1282
1292
|
visible: sMode === "add",
|
|
1283
1293
|
enabled: {
|
|
@@ -1297,7 +1307,7 @@ sap.ui.define([
|
|
|
1297
1307
|
},
|
|
1298
1308
|
press: that.onAdd.bind(that)
|
|
1299
1309
|
});
|
|
1300
|
-
var oUpdateButton = new Button({
|
|
1310
|
+
var oUpdateButton = new Button(sParameterId + "_control_objectdetails_popover_update_btn", {
|
|
1301
1311
|
text: oResourceBundle.getText("EDITOR_FIELD_OBJECT_DETAILS_POPOVER_BUTTON_UPDATE"),
|
|
1302
1312
|
visible: sMode === "update",
|
|
1303
1313
|
enabled: {
|
|
@@ -1311,7 +1321,7 @@ sap.ui.define([
|
|
|
1311
1321
|
},
|
|
1312
1322
|
press: that.onUpdate.bind(that)
|
|
1313
1323
|
});
|
|
1314
|
-
var oCancelButton = new Button({
|
|
1324
|
+
var oCancelButton = new Button(sParameterId + "_control_objectdetails_popover_cancel_btn", {
|
|
1315
1325
|
text: oResourceBundle.getText("EDITOR_FIELD_OBJECT_DETAILS_POPOVER_BUTTON_CANCEL"),
|
|
1316
1326
|
visible: sMode !== "view",
|
|
1317
1327
|
press: function () {
|
|
@@ -1323,14 +1333,14 @@ sap.ui.define([
|
|
|
1323
1333
|
that._oObjectDetailsPopover.close();
|
|
1324
1334
|
}
|
|
1325
1335
|
});
|
|
1326
|
-
var oCloseButton = new Button({
|
|
1336
|
+
var oCloseButton = new Button(sParameterId + "_control_objectdetails_popover_close_btn", {
|
|
1327
1337
|
text: oResourceBundle.getText("EDITOR_FIELD_OBJECT_DETAILS_POPOVER_BUTTON_CLOSE"),
|
|
1328
1338
|
visible: sMode === "view",
|
|
1329
1339
|
press: function () {
|
|
1330
1340
|
that._oObjectDetailsPopover.close();
|
|
1331
1341
|
}
|
|
1332
1342
|
});
|
|
1333
|
-
var oEditModeButton = new Button({
|
|
1343
|
+
var oEditModeButton = new Button(sParameterId + "_control_objectdetails_popover_editmode_btn", {
|
|
1334
1344
|
icon: {
|
|
1335
1345
|
path: '/editMode',
|
|
1336
1346
|
formatter: function(oEditMode) {
|
|
@@ -1381,7 +1391,7 @@ sap.ui.define([
|
|
|
1381
1391
|
that._oNavContainer.back();
|
|
1382
1392
|
that._oObjectDetailsPage.focus();
|
|
1383
1393
|
};
|
|
1384
|
-
var oList = that.buildTranslationsList();
|
|
1394
|
+
var oList = that.buildTranslationsList(false);
|
|
1385
1395
|
var oTranslationsFooter = that.buildTranslationsFooter(oList, false);
|
|
1386
1396
|
that._oTranslationListPage = new Page({
|
|
1387
1397
|
title: oResourceBundle.getText("EDITOR_FIELD_OBJECT_TRANSLATION_LIST_TITLE", "{languages>/property}"),
|
|
@@ -1428,7 +1438,7 @@ sap.ui.define([
|
|
|
1428
1438
|
_oTranslationListPage.addContent();
|
|
1429
1439
|
*/
|
|
1430
1440
|
that._oNavContainer.addPage(that._oTranslationListPage);
|
|
1431
|
-
that._oObjectDetailsPopover = new Popover({
|
|
1441
|
+
that._oObjectDetailsPopover = new Popover(sParameterId + "_control_objectdetails_popover", {
|
|
1432
1442
|
placement: sPlacement,
|
|
1433
1443
|
showHeader: false,
|
|
1434
1444
|
contentWidth: "300px",
|
|
@@ -1562,8 +1572,11 @@ sap.ui.define([
|
|
|
1562
1572
|
return oTranslatonsModel;
|
|
1563
1573
|
};
|
|
1564
1574
|
|
|
1565
|
-
ObjectField.prototype.buildTranslationsList = function () {
|
|
1566
|
-
|
|
1575
|
+
ObjectField.prototype.buildTranslationsList = function (bIsInTranslationPopover) {
|
|
1576
|
+
var that = this;
|
|
1577
|
+
var sParameterId = that.getParameterId();
|
|
1578
|
+
var sIdPrefix = bIsInTranslationPopover ? sParameterId + "_control_translation_popover" : sParameterId + "_control_objectdetails_popover_translation_page";
|
|
1579
|
+
return new List(sIdPrefix + "_value_list", {
|
|
1567
1580
|
items: {
|
|
1568
1581
|
path: "languages>/translatedLanguages",
|
|
1569
1582
|
template: new CustomListItem({
|
|
@@ -1598,9 +1611,11 @@ sap.ui.define([
|
|
|
1598
1611
|
|
|
1599
1612
|
ObjectField.prototype.buildTranslationsFooter = function (oList, bIsInTranslationPopover) {
|
|
1600
1613
|
var that = this;
|
|
1614
|
+
var sParameterId = that.getParameterId();
|
|
1601
1615
|
var oResourceBundle = that.getResourceBundle();
|
|
1602
1616
|
var sCurrentLanugae = oResourceBundle.sLocale.replaceAll('_', '-');
|
|
1603
|
-
var
|
|
1617
|
+
var sIdPrefix = bIsInTranslationPopover ? sParameterId + "_control_translation_popover" : sParameterId + "_control_objectdetails_popover_translation_page";
|
|
1618
|
+
var oSaveTranslationButton = new Button(sIdPrefix + "_save_btn", {
|
|
1604
1619
|
type: "Emphasized",
|
|
1605
1620
|
text: oResourceBundle.getText("EDITOR_FIELD_TRANSLATION_LIST_POPOVER_BUTTON_SAVE"),
|
|
1606
1621
|
enabled: "{languages>/isUpdated}",
|
|
@@ -1642,7 +1657,7 @@ sap.ui.define([
|
|
|
1642
1657
|
}
|
|
1643
1658
|
}
|
|
1644
1659
|
});
|
|
1645
|
-
var oResetTranslationButton = new Button({
|
|
1660
|
+
var oResetTranslationButton = new Button(sIdPrefix + "_reset_btn", {
|
|
1646
1661
|
text: oResourceBundle.getText("EDITOR_FIELD_OBJECT_DETAILS_POPOVER_BUTTON_RESET"),
|
|
1647
1662
|
enabled: "{languages>/isUpdated}",
|
|
1648
1663
|
press: function(oEvent) {
|
|
@@ -1658,7 +1673,7 @@ sap.ui.define([
|
|
|
1658
1673
|
oTranslationModel.checkUpdate(true);
|
|
1659
1674
|
}
|
|
1660
1675
|
});
|
|
1661
|
-
var oCancelButton = new Button({
|
|
1676
|
+
var oCancelButton = new Button(sIdPrefix + "_cancel_btn", {
|
|
1662
1677
|
text: oResourceBundle.getText("EDITOR_FIELD_TRANSLATION_LIST_POPOVER_BUTTON_CANCEL"),
|
|
1663
1678
|
visible: bIsInTranslationPopover,
|
|
1664
1679
|
press: function () {
|
|
@@ -1700,9 +1715,9 @@ sap.ui.define([
|
|
|
1700
1715
|
var oTranslatonsModel;
|
|
1701
1716
|
var sPlacement = this.getPopoverPlacement(oControl._oValueHelpIcon);
|
|
1702
1717
|
if (!that._oTranslationPopover) {
|
|
1703
|
-
var oList = that.buildTranslationsList();
|
|
1718
|
+
var oList = that.buildTranslationsList(true);
|
|
1704
1719
|
var oTranslationsFooter = that.buildTranslationsFooter(oList, true);
|
|
1705
|
-
that._oTranslationPopover = new Popover({
|
|
1720
|
+
that._oTranslationPopover = new Popover(that.getParameterId() + "_control_translation_popover", {
|
|
1706
1721
|
placement: sPlacement,
|
|
1707
1722
|
contentWidth: "300px",
|
|
1708
1723
|
contentHeight: "345px",
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @alias sap.ui.integration.editor.fields.ObjectListField
|
|
30
30
|
* @author SAP SE
|
|
31
31
|
* @since 1.100.0
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.114.0
|
|
33
33
|
* @private
|
|
34
34
|
* @experimental since 1.100.0
|
|
35
35
|
* @ui5-restricted
|
|
@@ -119,11 +119,11 @@ sap.ui.define([
|
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
|
|
122
|
-
ObjectListField.prototype.
|
|
122
|
+
ObjectListField.prototype.buildSelectionColumnLabels = function() {
|
|
123
123
|
var that = this;
|
|
124
124
|
var oConfig = that.getConfiguration();
|
|
125
125
|
var oResourceBundle = that.getResourceBundle();
|
|
126
|
-
return new CheckBox({
|
|
126
|
+
return new CheckBox(that.getParameterId() + "_control_table_column_selection_label_all_checkbox",{
|
|
127
127
|
selected: "{/_allSelected}",
|
|
128
128
|
visible: typeof oConfig.values !== "undefined",
|
|
129
129
|
tooltip: {
|
|
@@ -65,7 +65,7 @@ sap.ui.define([
|
|
|
65
65
|
* @alias sap.ui.integration.editor.fields.StringField
|
|
66
66
|
* @author SAP SE
|
|
67
67
|
* @since 1.83.0
|
|
68
|
-
* @version 1.
|
|
68
|
+
* @version 1.114.0
|
|
69
69
|
* @private
|
|
70
70
|
* @experimental since 1.83.0
|
|
71
71
|
* @ui5-restricted
|
|
@@ -142,6 +142,7 @@ sap.ui.define([
|
|
|
142
142
|
},
|
|
143
143
|
editable: oConfig.editable,
|
|
144
144
|
visible: oConfig.visible,
|
|
145
|
+
maxLength: oConfig.maxLength,
|
|
145
146
|
placeholder: oConfig.placeholder
|
|
146
147
|
}
|
|
147
148
|
};
|
|
@@ -237,10 +238,11 @@ sap.ui.define([
|
|
|
237
238
|
},
|
|
238
239
|
editable: oConfig.editable,
|
|
239
240
|
visible: oConfig.visible,
|
|
241
|
+
maxLength: oConfig.maxLength,
|
|
240
242
|
placeholder: oConfig.placeholder,
|
|
241
243
|
valueHelpIconSrc: "sap-icon://translate",
|
|
242
244
|
showValueHelp: true,
|
|
243
|
-
valueHelpRequest: this.openTranslationListPopup,
|
|
245
|
+
valueHelpRequest: this.openTranslationListPopup.bind(this),
|
|
244
246
|
change: function(oEvent) {
|
|
245
247
|
//add current change into translation texts
|
|
246
248
|
var oControl = oEvent.getSource();
|
|
@@ -270,6 +272,7 @@ sap.ui.define([
|
|
|
270
272
|
},
|
|
271
273
|
editable: oConfig.editable,
|
|
272
274
|
visible: oConfig.visible,
|
|
275
|
+
maxLength: oConfig.maxLength,
|
|
273
276
|
placeholder: oConfig.placeholder
|
|
274
277
|
}
|
|
275
278
|
};
|
|
@@ -411,6 +414,7 @@ sap.ui.define([
|
|
|
411
414
|
var that = this;
|
|
412
415
|
var oControl = oEvent.getSource();
|
|
413
416
|
var oField = oControl.getParent();
|
|
417
|
+
var sParameterId = oField.getParameterId();
|
|
414
418
|
var oConfig = oField.getConfiguration();
|
|
415
419
|
|
|
416
420
|
if (!that._aOriginTranslatedValues) {
|
|
@@ -462,7 +466,7 @@ sap.ui.define([
|
|
|
462
466
|
}
|
|
463
467
|
var sPlacement = oField.getPopoverPlacement(oControl._oValueHelpIcon);
|
|
464
468
|
if (!that._oTranslationPopover) {
|
|
465
|
-
var oList = new List({
|
|
469
|
+
var oList = new List(sParameterId + "_translation_popover_value_list", {
|
|
466
470
|
//mode: "Delete",
|
|
467
471
|
items: {
|
|
468
472
|
path: "languages>/translatedLanguages",
|
|
@@ -495,7 +499,7 @@ sap.ui.define([
|
|
|
495
499
|
groupHeaderFactory: oField.getGroupHeader
|
|
496
500
|
}
|
|
497
501
|
});
|
|
498
|
-
that._oTranslationPopover = new Popover({
|
|
502
|
+
that._oTranslationPopover = new Popover(sParameterId + "_translation_popover", {
|
|
499
503
|
placement: sPlacement,
|
|
500
504
|
contentWidth: "300px",
|
|
501
505
|
contentHeight: "345px",
|
|
@@ -509,10 +513,10 @@ sap.ui.define([
|
|
|
509
513
|
}).addStyleClass("sapMHeaderTitle"),
|
|
510
514
|
new VBox({
|
|
511
515
|
items: [
|
|
512
|
-
new Text({
|
|
516
|
+
new Text(sParameterId + "_translation_popover_currentlanguage_desription_label", {
|
|
513
517
|
text: "{languages>/currentLanguage/desription}"
|
|
514
518
|
}),
|
|
515
|
-
new Input({
|
|
519
|
+
new Input(sParameterId + "_translation_popover_currentlanguage_value_input", {
|
|
516
520
|
value: "{languages>/currentLanguage/value}",
|
|
517
521
|
editable: false
|
|
518
522
|
})
|
|
@@ -527,7 +531,7 @@ sap.ui.define([
|
|
|
527
531
|
footer: new OverflowToolbar({
|
|
528
532
|
content: [
|
|
529
533
|
new ToolbarSpacer(),
|
|
530
|
-
new Button({
|
|
534
|
+
new Button(sParameterId + "_translation_popover_save_btn", {
|
|
531
535
|
type: "Emphasized",
|
|
532
536
|
text: oResourceBundle.getText("EDITOR_FIELD_TRANSLATION_LIST_POPOVER_BUTTON_SAVE"),
|
|
533
537
|
enabled: "{languages>/isUpdated}",
|
|
@@ -551,7 +555,7 @@ sap.ui.define([
|
|
|
551
555
|
that._oTranslationPopover.close();
|
|
552
556
|
}
|
|
553
557
|
}),
|
|
554
|
-
new Button({
|
|
558
|
+
new Button(sParameterId + "_translation_popover_cancel_btn", {
|
|
555
559
|
text: oResourceBundle.getText("EDITOR_FIELD_TRANSLATION_LIST_POPOVER_BUTTON_CANCEL"),
|
|
556
560
|
press: function () {
|
|
557
561
|
that._oTranslationPopover.close();
|
|
@@ -24,13 +24,13 @@ sap.ui.define([
|
|
|
24
24
|
* @namespace
|
|
25
25
|
* @alias sap.ui.integration
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.114.0
|
|
28
28
|
* @since 1.62
|
|
29
29
|
* @public
|
|
30
30
|
*/
|
|
31
31
|
var thisLib = sap.ui.getCore().initLibrary({
|
|
32
32
|
name: "sap.ui.integration",
|
|
33
|
-
version: "1.
|
|
33
|
+
version: "1.114.0",
|
|
34
34
|
dependencies: [
|
|
35
35
|
"sap.ui.core",
|
|
36
36
|
"sap.f",
|
|
@@ -42,14 +42,16 @@ sap.ui.define([
|
|
|
42
42
|
"sap.ui.integration.CardActionType",
|
|
43
43
|
"sap.ui.integration.CardDataMode",
|
|
44
44
|
"sap.ui.integration.CardMenuAction",
|
|
45
|
-
"sap.ui.integration.CardDesign"
|
|
45
|
+
"sap.ui.integration.CardDesign",
|
|
46
|
+
"sap.ui.integration.CardBlockingMessageType"
|
|
46
47
|
],
|
|
47
48
|
controls: [
|
|
48
49
|
"sap.ui.integration.widgets.Card",
|
|
49
50
|
"sap.ui.integration.cards.filters.FilterBar",
|
|
50
51
|
"sap.ui.integration.cards.Header",
|
|
51
52
|
"sap.ui.integration.cards.NumericHeader",
|
|
52
|
-
"sap.ui.integration.controls.ListContentItem"
|
|
53
|
+
"sap.ui.integration.controls.ListContentItem",
|
|
54
|
+
"sap.ui.integration.controls.BlockingMessage"
|
|
53
55
|
],
|
|
54
56
|
elements: [
|
|
55
57
|
"sap.ui.integration.ActionDefinition",
|
|
@@ -180,6 +182,33 @@ sap.ui.define([
|
|
|
180
182
|
Header: "Header"
|
|
181
183
|
};
|
|
182
184
|
|
|
185
|
+
/**
|
|
186
|
+
* Card blocking message types.
|
|
187
|
+
*
|
|
188
|
+
* @enum {string}
|
|
189
|
+
* @public
|
|
190
|
+
* @experimental since 1.114
|
|
191
|
+
*/
|
|
192
|
+
thisLib.CardBlockingMessageType = {
|
|
193
|
+
/**
|
|
194
|
+
* An error ocurred in the card.
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
Error: "Error",
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* There is no data to be displayed.
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
NoData: "NoData",
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Information message.
|
|
207
|
+
* @public
|
|
208
|
+
*/
|
|
209
|
+
Information: "Information"
|
|
210
|
+
};
|
|
211
|
+
|
|
183
212
|
/**
|
|
184
213
|
* Defines the areas in a card.
|
|
185
214
|
* @enum {string}
|
|
@@ -29,7 +29,7 @@ CARD_NO_ITEMS_ERROR_LISTS=No items available
|
|
|
29
29
|
CARD_NO_ITEMS_ERROR_CHART=No data available
|
|
30
30
|
|
|
31
31
|
#XMSG: Information message when preview configuration is missing
|
|
32
|
-
CARD_MISSING_PREVIEW_CONFIGURATION=Preview configuration is missing.
|
|
32
|
+
CARD_MISSING_PREVIEW_CONFIGURATION=Preview configuration is missing. Abstract preview is displayed.
|
|
33
33
|
|
|
34
34
|
#XMSG: Error message when embedded page couldn't be loaded after certain seconds
|
|
35
35
|
CARD_WEB_PAGE_TIMEOUT_ERROR=The page could not be loaded in {0} seconds. Please check the URL.
|
|
@@ -17,7 +17,7 @@ CARD_NO_ITEMS_ERROR_LISTS=[[[\u0143\u014F \u012F\u0163\u0113\u0271\u015F \u0105\
|
|
|
17
17
|
|
|
18
18
|
CARD_NO_ITEMS_ERROR_CHART=[[[\u0143\u014F \u018C\u0105\u0163\u0105 \u0105\u028B\u0105\u012F\u013A\u0105\u0183\u013A\u0113\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
|
|
19
19
|
|
|
20
|
-
CARD_MISSING_PREVIEW_CONFIGURATION=[[[\u01A4\u0157\u0113\u028B\u012F\u0113\u0175 \u010B\u014F\u014B\u0192\u012F\u011F\u0171\u0157\u0105\u0163\u012F\u014F\u014B \u012F\u015F \u0271\u012F\u015F\u015F\u012F\u014B\u011F. \
|
|
20
|
+
CARD_MISSING_PREVIEW_CONFIGURATION=[[[\u01A4\u0157\u0113\u028B\u012F\u0113\u0175 \u010B\u014F\u014B\u0192\u012F\u011F\u0171\u0157\u0105\u0163\u012F\u014F\u014B \u012F\u015F \u0271\u012F\u015F\u015F\u012F\u014B\u011F. \u0100\u0183\u015F\u0163\u0157\u0105\u010B\u0163 \u03C1\u0157\u0113\u028B\u012F\u0113\u0175 \u012F\u015F \u018C\u012F\u015F\u03C1\u013A\u0105\u0177\u0113\u018C.\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
|
|
21
21
|
|
|
22
22
|
CARD_WEB_PAGE_TIMEOUT_ERROR=[[[\u0162\u0125\u0113 \u03C1\u0105\u011F\u0113 \u010B\u014F\u0171\u013A\u018C \u014B\u014F\u0163 \u0183\u0113 \u013A\u014F\u0105\u018C\u0113\u018C \u012F\u014B {0} \u015F\u0113\u010B\u014F\u014B\u018C\u015F. \u01A4\u013A\u0113\u0105\u015F\u0113 \u010B\u0125\u0113\u010B\u0137 \u0163\u0125\u0113 \u016E\u0158\u013B.]]]
|
|
23
23
|
|
|
@@ -17,7 +17,7 @@ CARD_NO_ITEMS_ERROR_LISTS=\u206A\u206A\u206A\u200C\u200B\u200C\u200C\u200D\u200C
|
|
|
17
17
|
|
|
18
18
|
CARD_NO_ITEMS_ERROR_CHART=\u206A\u206A\u206A\u200C\u200C\u200B\u200D\u200B\u200D\u200B\u200C\u200B\u200C\u200C\u200D\u200B\u200C\u200C\u200D\u200D\u200D\u200C\u200D\u200D\u200D\u200D\u200C\u200D\u200B\u200C\u200C\u200D\u200B\u200D\u200B\u200D\u200B\u200D\u200D\u200D\u200C\u200C\u200C\u200B\u206ANo data available\u206A\u206A
|
|
19
19
|
|
|
20
|
-
CARD_MISSING_PREVIEW_CONFIGURATION=\u206A\u206A\u206A\u200C\u200B\u200C\u200C\u200C\u200B\u200C\u200C\u200B\u200D\u200D\u200D\u200D\u200D\u200B\u200D\u200C\u200C\u200D\u200C\u200D\u200D\u200B\u200C\u200D\u200D\u200B\u200C\u200D\u200B\u200D\u200C\u200B\u200C\u200D\u200B\u200B\u200D\u200B\u206APreview configuration is missing.
|
|
20
|
+
CARD_MISSING_PREVIEW_CONFIGURATION=\u206A\u206A\u206A\u200C\u200B\u200C\u200C\u200C\u200B\u200C\u200C\u200B\u200D\u200D\u200D\u200D\u200D\u200B\u200D\u200C\u200C\u200D\u200C\u200D\u200D\u200B\u200C\u200D\u200D\u200B\u200C\u200D\u200B\u200D\u200C\u200B\u200C\u200D\u200B\u200B\u200D\u200B\u206APreview configuration is missing. Abstract preview is displayed.\u206A\u206A
|
|
21
21
|
|
|
22
22
|
CARD_WEB_PAGE_TIMEOUT_ERROR=\u206A\u206A\u206A\u200C\u200C\u200B\u200D\u200C\u200D\u200D\u200D\u200C\u200D\u200C\u200C\u200C\u200D\u200D\u200D\u200B\u200D\u200B\u200D\u200D\u200D\u200B\u200B\u200B\u200B\u200C\u200D\u200D\u200B\u200B\u200D\u200D\u200B\u200D\u200C\u200D\u200C\u200D\u200C\u206AThe page could not be loaded in \u200B\u200B\u200B{0}\u200C\u200C\u200C seconds. Please check the URL.\u206A\u206A
|
|
23
23
|
|
|
@@ -17,7 +17,7 @@ CARD_NO_ITEMS_ERROR_LISTS=Pq+bcz+SyfKQQghk5+vP6g_No items available
|
|
|
17
17
|
|
|
18
18
|
CARD_NO_ITEMS_ERROR_CHART=QN4qAjUGHKJ9jE/izA0qSQ_No data available
|
|
19
19
|
|
|
20
|
-
CARD_MISSING_PREVIEW_CONFIGURATION=
|
|
20
|
+
CARD_MISSING_PREVIEW_CONFIGURATION=fuLpFAkJuiKJ18H+Fq4cIQ_Preview configuration is missing. Abstract preview is displayed.
|
|
21
21
|
|
|
22
22
|
CARD_WEB_PAGE_TIMEOUT_ERROR=3cHxohsn2kOIn7GRws2o3g_The page could not be loaded in {0} seconds. Please check the URL.
|
|
23
23
|
|