@openui5/sap.ui.integration 1.113.0 → 1.114.1
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
|
@@ -70,7 +70,7 @@ sap.ui.define([
|
|
|
70
70
|
* @alias sap.ui.integration.editor.Settings
|
|
71
71
|
* @author SAP SE
|
|
72
72
|
* @since 1.83.0
|
|
73
|
-
* @version 1.
|
|
73
|
+
* @version 1.114.1
|
|
74
74
|
* @private
|
|
75
75
|
* @experimental since 1.83.0
|
|
76
76
|
* @ui5-restricted
|
|
@@ -109,7 +109,8 @@ sap.ui.define([
|
|
|
109
109
|
};
|
|
110
110
|
|
|
111
111
|
Settings.prototype.open = function (oField, oReferrer, oPreview, oHost, oParent, fnApply, fnCancel) {
|
|
112
|
-
var oCurrentData = this.getModel("currentSettings").getData()
|
|
112
|
+
var oCurrentData = this.getModel("currentSettings").getData(),
|
|
113
|
+
sParameterId = oParent.getParameterId();
|
|
113
114
|
//prepare fields in key
|
|
114
115
|
if (oCurrentData.values) {
|
|
115
116
|
this.prepareFieldsInKey(oCurrentData);
|
|
@@ -125,7 +126,7 @@ sap.ui.define([
|
|
|
125
126
|
oField.addDependent(this);
|
|
126
127
|
//adjust page admin values table height
|
|
127
128
|
if (!oCurrentData.allowDynamicValues && oCurrentData.values) {
|
|
128
|
-
Core.byId("
|
|
129
|
+
Core.byId(sParameterId + "_settings_popover_scroll_container").setHeight("155px");
|
|
129
130
|
}
|
|
130
131
|
//force update of all bindings
|
|
131
132
|
this.getModel("currentSettings").checkUpdate(true, true);
|
|
@@ -149,13 +150,13 @@ sap.ui.define([
|
|
|
149
150
|
}
|
|
150
151
|
oCurrentModel = this.getModel("currentSettings");
|
|
151
152
|
if (oCurrentModel.getProperty("/_hasDynamicValue")) {
|
|
152
|
-
selectDynamic();
|
|
153
|
+
selectDynamic(sParameterId);
|
|
153
154
|
} else if (oCurrentModel.getProperty("/_hasSettings")) {
|
|
154
|
-
selectSettings();
|
|
155
|
+
selectSettings(sParameterId);
|
|
155
156
|
} else if (oCurrentModel.getProperty("/allowDynamicValues")) {
|
|
156
|
-
selectDynamic();
|
|
157
|
+
selectDynamic(sParameterId);
|
|
157
158
|
} else if (oCurrentModel.getProperty("/allowSettings")) {
|
|
158
|
-
selectSettings();
|
|
159
|
+
selectSettings(sParameterId);
|
|
159
160
|
}
|
|
160
161
|
};
|
|
161
162
|
|
|
@@ -173,13 +174,14 @@ sap.ui.define([
|
|
|
173
174
|
};
|
|
174
175
|
|
|
175
176
|
function createPopover(oData, oField) {
|
|
176
|
-
var
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
var sParameterId = oField.getParameterId(),
|
|
178
|
+
oHeader = createHeader(sParameterId),
|
|
179
|
+
oResetToDefaultButton = createResetBtn(oData, sParameterId),
|
|
180
|
+
oDynamicPanel = createDynamicPanel(sParameterId),
|
|
181
|
+
oCurrentValue = createCurrentValuesBox(sParameterId),
|
|
180
182
|
oSettingsPanel = createSettingPanel(oData, oField),
|
|
181
183
|
oPopover = new Popover({
|
|
182
|
-
id: "
|
|
184
|
+
id: sParameterId + "_settings_popover",
|
|
183
185
|
showArrow: true,
|
|
184
186
|
contentWidth: "400px",
|
|
185
187
|
showHeader: false,
|
|
@@ -190,13 +192,13 @@ sap.ui.define([
|
|
|
190
192
|
content: [
|
|
191
193
|
oResetToDefaultButton,
|
|
192
194
|
new ToolbarSpacer(),
|
|
193
|
-
new Button({
|
|
195
|
+
new Button(sParameterId + "_settings_popover_ok_btn", {
|
|
194
196
|
text: oResourceBundle.getText("EDITOR_MORE_OK"),
|
|
195
197
|
type: "Emphasized",
|
|
196
198
|
press: function () {
|
|
197
199
|
//handle page admin values
|
|
198
200
|
if (oData.values) {
|
|
199
|
-
var oTable = Core.byId("
|
|
201
|
+
var oTable = Core.byId(sParameterId + "_settings_popover_pav_table"),
|
|
200
202
|
selectedContexts = oTable.getSelectedContexts(),
|
|
201
203
|
selectedKeys = [];
|
|
202
204
|
if (oCurrentModel.getProperty("/selectedValues") === "Partion") {
|
|
@@ -215,7 +217,7 @@ sap.ui.define([
|
|
|
215
217
|
oPopover.close();
|
|
216
218
|
}
|
|
217
219
|
}),
|
|
218
|
-
new Button({
|
|
220
|
+
new Button(sParameterId + "_settings_popover_cancel_btn", {
|
|
219
221
|
text: oResourceBundle.getText("EDITOR_MORE_CANCEL"),
|
|
220
222
|
press: function () {
|
|
221
223
|
oPopover.close();
|
|
@@ -237,7 +239,7 @@ sap.ui.define([
|
|
|
237
239
|
|
|
238
240
|
//handle page admin values selection
|
|
239
241
|
if (oData.values) {
|
|
240
|
-
var oTable = Core.byId("
|
|
242
|
+
var oTable = Core.byId(sParameterId + "_settings_popover_pav_table"),
|
|
241
243
|
paValues = oCurrentModel.getProperty("/_next/pageAdminValues");
|
|
242
244
|
if (paValues !== undefined && paValues.length > 0) {
|
|
243
245
|
oTable.removeSelections();
|
|
@@ -270,22 +272,24 @@ sap.ui.define([
|
|
|
270
272
|
return oPopover;
|
|
271
273
|
}
|
|
272
274
|
|
|
273
|
-
function createSettingsButton() {
|
|
275
|
+
function createSettingsButton(sParameterId) {
|
|
274
276
|
oSettingsButton = new SegmentedButtonItem({
|
|
275
277
|
text: oResourceBundle.getText("EDITOR_MORE_SETTINGS"),
|
|
276
278
|
tooltip: oResourceBundle.getText("EDITOR_MORE_SETTINGS"),
|
|
277
279
|
key: "settings",
|
|
278
280
|
icon: "sap-icon://action-settings",
|
|
279
281
|
width: "50%",
|
|
280
|
-
press:
|
|
282
|
+
press: function(oEvent) {
|
|
283
|
+
selectSettings(sParameterId);
|
|
284
|
+
}
|
|
281
285
|
}).addStyleClass("setbtn");
|
|
282
286
|
|
|
283
287
|
return oSettingsButton;
|
|
284
288
|
}
|
|
285
289
|
|
|
286
|
-
function createSegmentedButton() {
|
|
287
|
-
oSettingsButton = createSettingsButton();
|
|
288
|
-
oSegmentedButton = new SegmentedButton("
|
|
290
|
+
function createSegmentedButton(sParameterId) {
|
|
291
|
+
oSettingsButton = createSettingsButton(sParameterId);
|
|
292
|
+
oSegmentedButton = new SegmentedButton(sParameterId + "_settings_popover_segmented_btn", {
|
|
289
293
|
width: "100%",
|
|
290
294
|
visible: "{= ${currentSettings>allowDynamicValues} && ${currentSettings>allowSettings}}",
|
|
291
295
|
items: [
|
|
@@ -295,7 +299,9 @@ sap.ui.define([
|
|
|
295
299
|
key: "dynamic",
|
|
296
300
|
icon: "{= ${currentSettings>_hasDynamicValue} ? 'sap-icon://display-more' : 'sap-icon://enter-more'}",
|
|
297
301
|
width: "50%",
|
|
298
|
-
press:
|
|
302
|
+
press: function(oEvent) {
|
|
303
|
+
selectDynamic(sParameterId);
|
|
304
|
+
}
|
|
299
305
|
}).addStyleClass("dynbtn sel"),
|
|
300
306
|
oSettingsButton
|
|
301
307
|
]
|
|
@@ -304,14 +310,14 @@ sap.ui.define([
|
|
|
304
310
|
return oSegmentedButton;
|
|
305
311
|
}
|
|
306
312
|
|
|
307
|
-
function createHeader() {
|
|
308
|
-
oSegmentedButton = createSegmentedButton();
|
|
309
|
-
var oDynamicValueText = new Text({
|
|
313
|
+
function createHeader(sParameterId) {
|
|
314
|
+
oSegmentedButton = createSegmentedButton(sParameterId);
|
|
315
|
+
var oDynamicValueText = new Text(sParameterId + "_settings_popover_dynamicvalue_txt", {
|
|
310
316
|
text: oResourceBundle.getText("EDITOR_MORE_DYNAMICVALUES"),
|
|
311
317
|
tooltip: oResourceBundle.getText("EDITOR_MORE_DYNAMICVALUES"),
|
|
312
318
|
visible: "{= ${currentSettings>allowDynamicValues} && !${currentSettings>allowSettings}}"
|
|
313
319
|
}).addStyleClass("sapUiTinyMagin");
|
|
314
|
-
var oSettingsText = new Text({
|
|
320
|
+
var oSettingsText = new Text(sParameterId + "_settings_popover_settings_txt", {
|
|
315
321
|
text: oResourceBundle.getText("EDITOR_MORE_SETTINGS"),
|
|
316
322
|
visible: "{= !${currentSettings>allowDynamicValues} && ${currentSettings>allowSettings}}"
|
|
317
323
|
}).addStyleClass("sapUiTinyMagin");
|
|
@@ -326,8 +332,8 @@ sap.ui.define([
|
|
|
326
332
|
return oTitle;
|
|
327
333
|
}
|
|
328
334
|
|
|
329
|
-
function createResetBtn(oData) {
|
|
330
|
-
oResetToDefaultButton = new Button("
|
|
335
|
+
function createResetBtn(oData, sParameterId) {
|
|
336
|
+
oResetToDefaultButton = new Button(sParameterId + "_settings_popover_reset_btn", {
|
|
331
337
|
type: "Transparent",
|
|
332
338
|
text: oResourceBundle.getText("EDITOR_MORE_RESET"),
|
|
333
339
|
enabled: "{= ${currentSettings>_next/visible} === (typeof(${currentSettings>visibleToUser}) === 'undefined' ? false : !${currentSettings>visibleToUser}) || ${currentSettings>_next/editable} === (typeof(${currentSettings>editableToUser}) === 'undefined' ? false : !${currentSettings>editableToUser}) || ${currentSettings>_next/allowDynamicValues} === (typeof(${currentSettings>allowDynamicValues}) === 'undefined' ? false : !${currentSettings>allowDynamicValues}) || ${currentSettings>_beforeValue} !== ${currentSettings>value}}",
|
|
@@ -336,7 +342,7 @@ sap.ui.define([
|
|
|
336
342
|
var bVisibleDefault = typeof (oCurrentModel.getProperty("/visibleToUser")) === 'undefined' ? true : oCurrentModel.getProperty("/visibleToUser");
|
|
337
343
|
var bEditableDefault = typeof (oCurrentModel.getProperty("/editableToUser")) === 'undefined' ? true : oCurrentModel.getProperty("/editableToUser");
|
|
338
344
|
var bAllowDynamicValuesDefault = typeof (oCurrentModel.getProperty("/allowDynamicValues")) === 'undefined' ? true : oCurrentModel.getProperty("/allowDynamicValues");
|
|
339
|
-
var oPopover = Core.byId("
|
|
345
|
+
var oPopover = Core.byId(sParameterId + "_settings_popover");
|
|
340
346
|
setNextSetting("visible", bVisibleDefault);
|
|
341
347
|
setNextSetting("editable", bEditableDefault);
|
|
342
348
|
setNextSetting("allowDynamicValues", bAllowDynamicValuesDefault);
|
|
@@ -353,7 +359,7 @@ sap.ui.define([
|
|
|
353
359
|
|
|
354
360
|
//reset table selection
|
|
355
361
|
if (oData.values) {
|
|
356
|
-
var oTable = Core.byId("
|
|
362
|
+
var oTable = Core.byId(sParameterId + "_settings_popover_pav_table"),
|
|
357
363
|
sItems = oCurrentModel.getProperty("/_next/pageAdminValues"),
|
|
358
364
|
aItems = oTable.getItems();
|
|
359
365
|
// pavItemKey = oCurrentModel.getData().values.item.key;
|
|
@@ -382,18 +388,18 @@ sap.ui.define([
|
|
|
382
388
|
return oResetToDefaultButton;
|
|
383
389
|
}
|
|
384
390
|
|
|
385
|
-
function selectSettings() {
|
|
391
|
+
function selectSettings(sParameterId) {
|
|
386
392
|
oSettingsPanel.setVisible(true);
|
|
387
393
|
oDynamicPanel.setVisible(false);
|
|
388
|
-
Core.byId("
|
|
389
|
-
var oCurrentValue = Core.byId("
|
|
394
|
+
Core.byId(sParameterId + "_settings_popover_segmented_btn").setSelectedKey("settings");
|
|
395
|
+
var oCurrentValue = Core.byId(sParameterId + "_settings_popover_currentvalue");
|
|
390
396
|
oCurrentValue.setVisible(false);
|
|
391
397
|
}
|
|
392
398
|
|
|
393
|
-
function selectDynamic() {
|
|
399
|
+
function selectDynamic(sParameterId) {
|
|
394
400
|
oSettingsPanel.setVisible(false);
|
|
395
401
|
oDynamicPanel.setVisible(true);
|
|
396
|
-
Core.byId("
|
|
402
|
+
Core.byId(sParameterId + "_settings_popover_segmented_btn").setSelectedKey("dynamic");
|
|
397
403
|
var oFlat = oCurrentInstance.getModel("contextflat"),
|
|
398
404
|
o = oFlat._getValueObject(oCurrentModel.getProperty("/value"));
|
|
399
405
|
if (o && o.object.label) {
|
|
@@ -405,7 +411,7 @@ sap.ui.define([
|
|
|
405
411
|
updateCurrentValue(o);
|
|
406
412
|
}
|
|
407
413
|
//visible current value field
|
|
408
|
-
var oCurrentValue = Core.byId("
|
|
414
|
+
var oCurrentValue = Core.byId(sParameterId + "_settings_popover_currentvalue");
|
|
409
415
|
oCurrentValue.setVisible(true);
|
|
410
416
|
}
|
|
411
417
|
|
|
@@ -471,10 +477,10 @@ sap.ui.define([
|
|
|
471
477
|
}
|
|
472
478
|
];
|
|
473
479
|
|
|
474
|
-
function createDynamicPanel() {
|
|
480
|
+
function createDynamicPanel(sParameterId) {
|
|
475
481
|
oDynamicPanel = new VBox({ visible: true });
|
|
476
482
|
oDynamicPanel.addStyleClass("sapUiSmallMargin");
|
|
477
|
-
oDynamicValueField = new Input({
|
|
483
|
+
oDynamicValueField = new Input(sParameterId + "_settings_popover_dynamicvalue_input", {
|
|
478
484
|
width: "100%",
|
|
479
485
|
showValueHelp: true,
|
|
480
486
|
valueHelpOnly: true,
|
|
@@ -504,7 +510,7 @@ sap.ui.define([
|
|
|
504
510
|
|
|
505
511
|
oDynamicValueField.addStyleClass("selectvariable");
|
|
506
512
|
|
|
507
|
-
var selectDynamicValueLabel = new Label({
|
|
513
|
+
var selectDynamicValueLabel = new Label(sParameterId + "_settings_popover_dynamicvalue_label", {
|
|
508
514
|
text: "Select a dynamic value"
|
|
509
515
|
});
|
|
510
516
|
oDynamicValueField.addAriaLabelledBy(selectDynamicValueLabel);
|
|
@@ -516,7 +522,7 @@ sap.ui.define([
|
|
|
516
522
|
});
|
|
517
523
|
oDynamicPanel.addItem(oVBox);
|
|
518
524
|
|
|
519
|
-
oDescriptionLabel = new Text({ text: "", maxLines: 6, renderWhitespace: true });
|
|
525
|
+
oDescriptionLabel = new Text(sParameterId + "_settings_popover_dynamicvalue_desc_txt", { text: "", maxLines: 6, renderWhitespace: true });
|
|
520
526
|
oVBox = new VBox({
|
|
521
527
|
width: "100%",
|
|
522
528
|
items: [
|
|
@@ -527,7 +533,7 @@ sap.ui.define([
|
|
|
527
533
|
oDynamicPanel.addItem(oVBox);
|
|
528
534
|
if (aFormatters.length === -1) {
|
|
529
535
|
//not applicable right now
|
|
530
|
-
oSelectFormat = new Select({
|
|
536
|
+
oSelectFormat = new Select(sParameterId + "_settings_popover_dynamicvalue_format_select", {
|
|
531
537
|
width: "100%",
|
|
532
538
|
enabled: true,
|
|
533
539
|
change: function () {
|
|
@@ -542,7 +548,7 @@ sap.ui.define([
|
|
|
542
548
|
]
|
|
543
549
|
});
|
|
544
550
|
oDynamicPanel.addItem(oVBox);
|
|
545
|
-
oFormatDescriptionLabel = new Text({ text: "", maxLines: 4, renderWhitespace: true });
|
|
551
|
+
oFormatDescriptionLabel = new Text(sParameterId + "_settings_popover_dynamicvalue_format_label", { text: "", maxLines: 4, renderWhitespace: true });
|
|
546
552
|
oFormatDescriptionLabel.addStyleClass("description");
|
|
547
553
|
oVBox = new VBox({
|
|
548
554
|
width: "100%",
|
|
@@ -558,18 +564,18 @@ sap.ui.define([
|
|
|
558
564
|
return oDynamicPanel;
|
|
559
565
|
}
|
|
560
566
|
|
|
561
|
-
function createCurrentValuesBox() {
|
|
562
|
-
var settingsActualValueTxt = new Text({
|
|
567
|
+
function createCurrentValuesBox(sParameterId) {
|
|
568
|
+
var settingsActualValueTxt = new Text(sParameterId + "_settings_popover_actualvalue_label", {
|
|
563
569
|
text: oResourceBundle.getText("EDITOR_ACTUAL_VALUE")
|
|
564
570
|
});
|
|
565
|
-
var settingsActualValueInput = new Input({
|
|
571
|
+
var settingsActualValueInput = new Input(sParameterId + "_settings_popover_actualvalue_input", {
|
|
566
572
|
value: {
|
|
567
573
|
path: "currentSettings>_currentContextValue"
|
|
568
574
|
},
|
|
569
575
|
editable: false
|
|
570
576
|
});
|
|
571
577
|
settingsActualValueInput.addAriaLabelledBy(settingsActualValueTxt);
|
|
572
|
-
var oCurrentValue = new VBox("
|
|
578
|
+
var oCurrentValue = new VBox(sParameterId + "_settings_popover_currentvalue", {
|
|
573
579
|
width: "100%",
|
|
574
580
|
items: [
|
|
575
581
|
settingsActualValueTxt,
|
|
@@ -581,6 +587,7 @@ sap.ui.define([
|
|
|
581
587
|
}
|
|
582
588
|
|
|
583
589
|
function createSettingPanel(oData, oField) {
|
|
590
|
+
var sParameterId = oField.getParameterId();
|
|
584
591
|
oSettingsPanel = new VBox({ visible: false });
|
|
585
592
|
var oBox = new VBox().addStyleClass("commonSettings");
|
|
586
593
|
oSettingsPanel.addItem(oBox);
|
|
@@ -588,11 +595,11 @@ sap.ui.define([
|
|
|
588
595
|
text: oResourceBundle.getText("EDITOR_MORE_SETTINGS_P_ADMIN"),
|
|
589
596
|
wrapping: true
|
|
590
597
|
}).addStyleClass("stitle"));
|
|
591
|
-
var settingsAdminVisibleLabel = new Label({
|
|
598
|
+
var settingsAdminVisibleLabel = new Label(sParameterId + "_settings_popover_adminvisible_label", {
|
|
592
599
|
text: oResourceBundle.getText("EDITOR_MORE_SETTINGS_P_ADMIN_VISIBLE"),
|
|
593
600
|
wrapping: true
|
|
594
601
|
});
|
|
595
|
-
var settingsAdminVisibleCKB = new CheckBox({
|
|
602
|
+
var settingsAdminVisibleCKB = new CheckBox(sParameterId + "_settings_popover_adminvisible_checkbox", {
|
|
596
603
|
selected: "{= ${currentSettings>_next/visible} !== false}",
|
|
597
604
|
select: function (oEvent) {
|
|
598
605
|
setNextSetting("visible", oEvent.getParameter("selected"));
|
|
@@ -605,11 +612,11 @@ sap.ui.define([
|
|
|
605
612
|
settingsAdminVisibleCKB
|
|
606
613
|
]
|
|
607
614
|
}).addStyleClass("cbrow"));
|
|
608
|
-
var settingsAdminEditLabel = new Label({
|
|
615
|
+
var settingsAdminEditLabel = new Label(sParameterId + "_settings_popover_admineditable_label", {
|
|
609
616
|
text: oResourceBundle.getText("EDITOR_MORE_SETTINGS_P_ADMIN_EDIT"),
|
|
610
617
|
wrapping: true
|
|
611
618
|
});
|
|
612
|
-
var settingsAdminEditCKB = new CheckBox({
|
|
619
|
+
var settingsAdminEditCKB = new CheckBox(sParameterId + "_settings_popover_admineditable_checkbox", {
|
|
613
620
|
selected: "{= ${currentSettings>_next/editable} !== false}",
|
|
614
621
|
enabled: "{= ${currentSettings>_next/visible} !== false}",
|
|
615
622
|
select: function (oEvent) {
|
|
@@ -623,11 +630,11 @@ sap.ui.define([
|
|
|
623
630
|
settingsAdminEditCKB
|
|
624
631
|
]
|
|
625
632
|
}).addStyleClass("cbrow"));
|
|
626
|
-
var settingsAdminDYNLabel = new Label({
|
|
633
|
+
var settingsAdminDYNLabel = new Label(sParameterId + "_settings_popover_allowdynamicvalues_label", {
|
|
627
634
|
text: oResourceBundle.getText("EDITOR_MORE_SETTINGS_P_ADMIN_DYN"),
|
|
628
635
|
wrapping: true
|
|
629
636
|
});
|
|
630
|
-
var settingsAdminDYNCKB = new CheckBox({
|
|
637
|
+
var settingsAdminDYNCKB = new CheckBox(sParameterId + "_settings_popover_allowdynamicvalues_checkbox", {
|
|
631
638
|
selected: "{= ${currentSettings>_next/allowDynamicValues} !== false}",
|
|
632
639
|
enabled: "{= ${currentSettings>_next/visible} !== false && ${currentSettings>_next/editable} !== false}",
|
|
633
640
|
select: function (oEvent) {
|
|
@@ -671,12 +678,12 @@ sap.ui.define([
|
|
|
671
678
|
oBox.addItem(new HBox({
|
|
672
679
|
visible: "{= ${currentSettings>_next/visible} !== false && ${currentSettings>_next/editable} !== false}",
|
|
673
680
|
items: [
|
|
674
|
-
new Label({
|
|
681
|
+
new Label(sParameterId + "_settings_popover_allowselectedvalues_label", {
|
|
675
682
|
text: oResourceBundle.getText("EDITOR_MORE_SETTINGS_P_ADMIN_VALUES_LIST"),
|
|
676
683
|
tooltip: oResourceBundle.getText("EDITOR_MORE_SETTINGS_P_ADMIN_VALUES_LIST_TOOLTIPS"),
|
|
677
684
|
wrapping: false
|
|
678
685
|
}),
|
|
679
|
-
new Button({
|
|
686
|
+
new Button(sParameterId + "_settings_popover_allowselectedvalues_all_btn", {
|
|
680
687
|
type: "Transparent",
|
|
681
688
|
enabled: vData !== undefined,
|
|
682
689
|
icon: {
|
|
@@ -701,15 +708,19 @@ sap.ui.define([
|
|
|
701
708
|
}
|
|
702
709
|
}
|
|
703
710
|
},
|
|
704
|
-
press:
|
|
711
|
+
press: function () {
|
|
712
|
+
onMultiSelectionClick(sParameterId);
|
|
713
|
+
}
|
|
705
714
|
})
|
|
706
715
|
]
|
|
707
716
|
}).addStyleClass("cbrow"));
|
|
708
717
|
var pavTable = new Table({
|
|
709
|
-
id: "
|
|
718
|
+
id: sParameterId + "_settings_popover_pav_table",
|
|
710
719
|
mode: "MultiSelect",
|
|
711
720
|
width: "84%",
|
|
712
|
-
select:
|
|
721
|
+
select: function (oEvent) {
|
|
722
|
+
onTableSelection(oEvent, sParameterId);
|
|
723
|
+
},
|
|
713
724
|
columns: [
|
|
714
725
|
new Column()
|
|
715
726
|
]
|
|
@@ -731,7 +742,7 @@ sap.ui.define([
|
|
|
731
742
|
}
|
|
732
743
|
pavTable.bindItems("/", oTemplate);
|
|
733
744
|
var oScrollContainer = new ScrollContainer({
|
|
734
|
-
id: "
|
|
745
|
+
id: sParameterId + "_settings_popover_scroll_container",
|
|
735
746
|
height: "125px",
|
|
736
747
|
width: "94%",
|
|
737
748
|
vertical: true,
|
|
@@ -745,9 +756,9 @@ sap.ui.define([
|
|
|
745
756
|
return oSettingsPanel;
|
|
746
757
|
}
|
|
747
758
|
|
|
748
|
-
function onMultiSelectionClick() {
|
|
749
|
-
var oTable = Core.byId("
|
|
750
|
-
oResetBtn = Core.byId("
|
|
759
|
+
function onMultiSelectionClick(sParameterId) {
|
|
760
|
+
var oTable = Core.byId(sParameterId + "_settings_popover_pav_table"),
|
|
761
|
+
oResetBtn = Core.byId(sParameterId + "_settings_popover_reset_btn"),
|
|
751
762
|
selectedValues = oCurrentModel.getProperty("/selectedValues");
|
|
752
763
|
if (selectedValues === "All") {
|
|
753
764
|
oTable.removeSelections();
|
|
@@ -761,11 +772,11 @@ sap.ui.define([
|
|
|
761
772
|
}
|
|
762
773
|
}
|
|
763
774
|
|
|
764
|
-
function onTableSelection(oEvent) {
|
|
775
|
+
function onTableSelection(oEvent, sParameterId) {
|
|
765
776
|
var oTable = oEvent.getSource(),
|
|
766
777
|
selectedItems = oTable.getSelectedItems(),
|
|
767
778
|
allItems = oTable.getItems(),
|
|
768
|
-
oResetBtn = Core.byId("
|
|
779
|
+
oResetBtn = Core.byId(sParameterId + "_settings_popover_reset_btn");
|
|
769
780
|
if (selectedItems.length === allItems.length) {
|
|
770
781
|
oCurrentModel.setProperty("/selectedValues", "All");
|
|
771
782
|
} else if (selectedItems.length < allItems.length && selectedItems.length > 0) {
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @alias sap.ui.integration.editor.fields.BaseField
|
|
39
39
|
* @author SAP SE
|
|
40
40
|
* @since 1.83.0
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.114.1
|
|
42
42
|
* @private
|
|
43
43
|
* @ui5-restricted
|
|
44
44
|
* @experimental since 1.83.0
|
|
@@ -62,6 +62,9 @@ sap.ui.define([
|
|
|
62
62
|
visible: {
|
|
63
63
|
type: "boolean",
|
|
64
64
|
defaultValue: true
|
|
65
|
+
},
|
|
66
|
+
parameterId: {
|
|
67
|
+
type: "string"
|
|
65
68
|
}
|
|
66
69
|
},
|
|
67
70
|
aggregations: {
|
|
@@ -547,7 +550,7 @@ sap.ui.define([
|
|
|
547
550
|
}.bind(this));
|
|
548
551
|
return;
|
|
549
552
|
}
|
|
550
|
-
oControl = new this._visualization.type(this._visualization.settings || {});
|
|
553
|
+
oControl = new this._visualization.type(this.getParameterId() + "_control", this._visualization.settings || {});
|
|
551
554
|
} else if (this._visualization.fragment) {
|
|
552
555
|
if (typeof this._visualization.fragment === "string") {
|
|
553
556
|
if (!this._visualization.controller) {
|
|
@@ -682,7 +685,7 @@ sap.ui.define([
|
|
|
682
685
|
BaseField.prototype._getDynamicField = function () {
|
|
683
686
|
var oField = this.getAggregation("_dynamicField");
|
|
684
687
|
if (!oField) {
|
|
685
|
-
var oField = new MultiInput({
|
|
688
|
+
var oField = new MultiInput(this.getParameterId() + "_dynamic_control", {
|
|
686
689
|
showValueHelp: false
|
|
687
690
|
});
|
|
688
691
|
this.setAggregation("_dynamicField", oField);
|
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/ui/integration/editor/fields/BaseField",
|
|
8
|
-
"sap/m/DatePicker"
|
|
8
|
+
"sap/m/DatePicker",
|
|
9
|
+
"sap/ui/core/date/UI5Date"
|
|
9
10
|
], function (
|
|
10
|
-
BaseField, DatePicker
|
|
11
|
+
BaseField, DatePicker, UI5Date
|
|
11
12
|
) {
|
|
12
13
|
"use strict";
|
|
13
14
|
|
|
@@ -17,7 +18,7 @@ sap.ui.define([
|
|
|
17
18
|
* @alias sap.ui.integration.editor.fields.DateField
|
|
18
19
|
* @author SAP SE
|
|
19
20
|
* @since 1.83.0
|
|
20
|
-
* @version 1.
|
|
21
|
+
* @version 1.114.1
|
|
21
22
|
* @private
|
|
22
23
|
* @experimental since 1.83.0
|
|
23
24
|
* @ui5-restricted
|
|
@@ -33,7 +34,7 @@ sap.ui.define([
|
|
|
33
34
|
var oVisualization = oConfig.visualization;
|
|
34
35
|
var oformatter = oConfig.formatter;
|
|
35
36
|
if (oConfig.value !== "") {
|
|
36
|
-
oConfig.value =
|
|
37
|
+
oConfig.value = UI5Date.getInstance(oConfig.value);
|
|
37
38
|
}
|
|
38
39
|
if (!oVisualization) {
|
|
39
40
|
oVisualization = {
|
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"sap/ui/integration/editor/fields/BaseField",
|
|
8
|
-
"sap/m/DateTimePicker"
|
|
8
|
+
"sap/m/DateTimePicker",
|
|
9
|
+
"sap/ui/core/date/UI5Date"
|
|
9
10
|
], function (
|
|
10
|
-
BaseField, DateTimePicker
|
|
11
|
+
BaseField, DateTimePicker, UI5Date
|
|
11
12
|
) {
|
|
12
13
|
"use strict";
|
|
13
14
|
|
|
@@ -17,7 +18,7 @@ sap.ui.define([
|
|
|
17
18
|
* @alias sap.ui.integration.editor.fields.DateTimeField
|
|
18
19
|
* @author SAP SE
|
|
19
20
|
* @since 1.83.0
|
|
20
|
-
* @version 1.
|
|
21
|
+
* @version 1.114.1
|
|
21
22
|
* @private
|
|
22
23
|
* @experimental since 1.83.0
|
|
23
24
|
* @ui5-restricted
|
|
@@ -33,7 +34,7 @@ sap.ui.define([
|
|
|
33
34
|
var oVisualization = oConfig.visualization;
|
|
34
35
|
var oformatter = oConfig.formatter;
|
|
35
36
|
if (oConfig.value !== "") {
|
|
36
|
-
oConfig.value =
|
|
37
|
+
oConfig.value = UI5Date.getInstance(oConfig.value);
|
|
37
38
|
}
|
|
38
39
|
if (!oVisualization) {
|
|
39
40
|
oVisualization = {
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @alias sap.ui.integration.editor.fields.GroupField
|
|
27
27
|
* @author SAP SE
|
|
28
28
|
* @since 1.106.0
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.114.1
|
|
30
30
|
* @private
|
|
31
31
|
* @experimental since 1.106.0
|
|
32
32
|
* @ui5-restricted
|
|
@@ -113,7 +113,7 @@ sap.ui.define([
|
|
|
113
113
|
if (this.getMode() !== "translation") {
|
|
114
114
|
var oResourceBundle = this.getResourceBundle();
|
|
115
115
|
var oMessageStripOfPanel = new MessageStrip({
|
|
116
|
-
id:
|
|
116
|
+
id: this.getParameterId() + "_strip",
|
|
117
117
|
showIcon: false,
|
|
118
118
|
visible: "{= !${currentSettings>expanded} && ${currentSettings>hasError} === true}",
|
|
119
119
|
text: {
|
|
@@ -181,7 +181,7 @@ sap.ui.define([
|
|
|
181
181
|
};
|
|
182
182
|
oControl.addEventDelegate(oDelegate);
|
|
183
183
|
} else if (oControl instanceof IconTabBar) {
|
|
184
|
-
var oIconTabFilter = new IconTabFilter({
|
|
184
|
+
var oIconTabFilter = new IconTabFilter(this.getParameterId() + "_control_icontabfilter", {
|
|
185
185
|
text: oConfig.label,
|
|
186
186
|
visible: oConfig.visible,
|
|
187
187
|
objectBindings: {
|
|
@@ -205,7 +205,7 @@ sap.ui.define([
|
|
|
205
205
|
// handle messageStrip for tab filter
|
|
206
206
|
if (this.getMode() !== "translation") {
|
|
207
207
|
var oMessageStripOfTab = new MessageStrip({
|
|
208
|
-
id:
|
|
208
|
+
id: this.getParameterId() + "_strip",
|
|
209
209
|
showIcon: false,
|
|
210
210
|
visible: false,
|
|
211
211
|
objectBindings: {
|
|
@@ -324,8 +324,7 @@ sap.ui.define([
|
|
|
324
324
|
});
|
|
325
325
|
expandBTN.setEnabled(false);
|
|
326
326
|
expandBTN.addStyleClass("errorBTN").addStyleClass("errorBTNDisabled");
|
|
327
|
-
var
|
|
328
|
-
var iMessageStrip = Core.byId(iITBar.getId() + "_strip");
|
|
327
|
+
var iMessageStrip = Core.byId(this.getParameterId() + "_strip");
|
|
329
328
|
expandBTN.addEventDelegate({
|
|
330
329
|
onmouseover: function() {
|
|
331
330
|
iMessageStrip.setVisible(true);
|