@openui5/sap.ui.integration 1.95.0 → 1.96.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +10 -5
- package/THIRDPARTY.txt +17 -8
- package/package.json +3 -3
- package/src/sap/ui/integration/.library +6 -1
- package/src/sap/ui/integration/ActionDefinition.js +1 -1
- package/src/sap/ui/integration/Designtime.js +1 -1
- package/src/sap/ui/integration/Extension.js +1 -1
- package/src/sap/ui/integration/Host.js +30 -2
- 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 +1 -1
- package/src/sap/ui/integration/cards/BaseListContent.js +23 -3
- package/src/sap/ui/integration/cards/CalendarContent.js +1 -1
- package/src/sap/ui/integration/cards/CalendarContentRenderer.js +8 -3
- package/src/sap/ui/integration/cards/ComponentContent.js +1 -1
- package/src/sap/ui/integration/cards/Footer.js +1 -1
- package/src/sap/ui/integration/cards/Header.js +1 -1
- package/src/sap/ui/integration/cards/ListContent.js +37 -13
- package/src/sap/ui/integration/cards/ListContentRenderer.js +38 -7
- package/src/sap/ui/integration/cards/NumericHeader.js +3 -2
- package/src/sap/ui/integration/cards/ObjectContent.js +1 -1
- package/src/sap/ui/integration/cards/TableContent.js +9 -2
- package/src/sap/ui/integration/cards/TimelineContent.js +1 -1
- package/src/sap/ui/integration/cards/WebPageContent.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/{Filter.js → filters/BaseFilter.js} +56 -134
- package/src/sap/ui/integration/cards/filters/DateRangeFilter.js +232 -0
- package/src/sap/ui/integration/{util → cards/filters}/FilterBarFactory.js +37 -12
- package/src/sap/ui/integration/cards/filters/SelectFilter.js +157 -0
- package/src/sap/ui/integration/controls/ActionsStrip.js +1 -1
- package/src/sap/ui/integration/controls/ActionsToolbar.js +1 -1
- package/src/sap/ui/integration/controls/ListContentItem.js +13 -2
- package/src/sap/ui/integration/controls/ListContentItemRenderer.js +65 -2
- package/src/sap/ui/integration/controls/Microchart.js +1 -1
- package/src/sap/ui/integration/controls/MicrochartLegend.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/BaseEditor.js +26 -1
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditor.js +44 -2
- package/src/sap/ui/integration/designtime/baseEditor/PropertyEditors.js +27 -1
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n.properties +34 -25
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ar.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_bg.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ca.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_cs.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_cy.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_da.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_de.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_el.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_GB.properties +15 -11
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_US_sappsd.properties +4 -2
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_en_US_saprigi.properties +19 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_es.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_es_MX.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_et.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fi.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fr.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_fr_CA.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hi.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hr.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_hu.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_id.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_it.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_iw.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ja.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_kk.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ko.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_lt.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_lv.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ms.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_nl.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_no.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pl.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pt.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_pt_PT.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ro.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_ru.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sh.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sk.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sl.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_sv.properties +17 -13
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_th.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_tr.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_uk.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_vi.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_zh_CN.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/i18n/i18n_zh_TW.properties +18 -14
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/BasePropertyEditor.js +48 -3
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js +2 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js +4 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js +4 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.fragment.xml +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js +65 -17
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.fragment.xml +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js +17 -4
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/enumStringEditor/EnumStringEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js +4 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js +10 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IsInIconPool.validator.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js +10 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/jsonEditor/JsonEditor.js +11 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/listEditor/ListEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.fragment.xml +8 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/mapEditor/MapEditor.js +62 -35
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/numberEditor/NumberEditor.js +10 -2
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/selectEditor/SelectEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/separatorEditor/SeparatorEditor.js +4 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/stringEditor/StringEditor.js +4 -1
- package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/textAreaEditor/TextAreaEditor.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/binding/ObjectBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/util/unset.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsBoolean.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsDate.js +5 -4
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsInteger.js +1 -5
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsNumber.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsSelectedKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsStringList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueKey.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsUniqueList.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/IsValidBinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/MaxLength.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/NotABinding.js +1 -1
- package/src/sap/ui/integration/designtime/baseEditor/validator/ValidatorRegistry.js +1 -1
- package/src/sap/ui/integration/designtime/cardEditor/BASEditor.js +7 -1
- package/src/sap/ui/integration/designtime/cardEditor/i18n/i18n_en_US_saprigi.properties +4 -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/iconEditor/IconEditor.js +11 -1
- package/src/sap/ui/integration/designtime/cardEditor/propertyEditor/parametersEditor/ParametersEditor.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardEditor.js +1 -1
- package/src/sap/ui/integration/designtime/editor/CardPreview.js +2 -2
- package/src/sap/ui/integration/editor/Editor.js +33 -34
- package/src/sap/ui/integration/editor/EditorResourceBundles.js +3 -3
- package/src/sap/ui/integration/editor/Extension.js +1 -1
- package/src/sap/ui/integration/editor/Manifest.js +2 -2
- package/src/sap/ui/integration/editor/Merger.js +5 -3
- package/src/sap/ui/integration/editor/Settings.js +1 -1
- package/src/sap/ui/integration/editor/css/Editor.css +0 -3
- package/src/sap/ui/integration/editor/fields/BaseField.js +1 -1
- package/src/sap/ui/integration/editor/fields/BooleanField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DateTimeField.js +1 -1
- package/src/sap/ui/integration/editor/fields/DestinationField.js +1 -20
- package/src/sap/ui/integration/editor/fields/IntegerField.js +1 -1
- package/src/sap/ui/integration/editor/fields/ListField.js +45 -47
- package/src/sap/ui/integration/editor/fields/NumberField.js +1 -1
- package/src/sap/ui/integration/editor/fields/StringField.js +2 -23
- 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/languages.json +32 -32
- package/src/sap/ui/integration/library.js +22 -2
- package/src/sap/ui/integration/messagebundle_en_US_saprigi.properties +81 -55
- 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 +222 -28
- package/src/sap/ui/integration/themes/base/CalendarContent.less +4 -2
- package/src/sap/ui/integration/themes/base/ListContentItem.less +101 -68
- package/src/sap/ui/integration/themes/base/Microchart.less +0 -1
- package/src/sap/ui/integration/util/BaseFactory.js +1 -1
- package/src/sap/ui/integration/util/BindingHelper.js +1 -1
- package/src/sap/ui/integration/util/BindingResolver.js +1 -1
- package/src/sap/ui/integration/util/CacheAndRequestDataProvider.js +35 -13
- package/src/sap/ui/integration/util/CardActions.js +1 -1
- package/src/sap/ui/integration/util/CardMerger.js +5 -3
- package/src/sap/ui/integration/util/CardObserver.js +1 -1
- package/src/sap/ui/integration/util/ContentFactory.js +1 -1
- package/src/sap/ui/integration/util/DataProvider.js +4 -4
- package/src/sap/ui/integration/util/DataProviderFactory.js +14 -8
- package/src/sap/ui/integration/util/Destinations.js +1 -1
- package/src/sap/ui/integration/util/ExtensionDataProvider.js +1 -1
- package/src/sap/ui/integration/util/HeaderFactory.js +8 -7
- package/src/sap/ui/integration/util/JSONBindingHelper.js +3 -3
- package/src/sap/ui/integration/util/LoadingProvider.js +1 -1
- package/src/sap/ui/integration/util/Manifest.js +3 -2
- package/src/sap/ui/integration/util/RequestDataProvider.js +3 -3
- package/src/sap/ui/integration/util/ServiceDataProvider.js +1 -1
- package/src/sap/ui/integration/util/ServiceManager.js +1 -1
- package/src/sap/ui/integration/util/Utils.js +1 -1
- package/src/sap/ui/integration/widgets/Card.js +125 -70
- package/ui5.yaml +4 -1
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
BASE_EDITOR.FALLBACK_TYPE=\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0438\u0439 \u0442\u0438\u043F
|
|
2
|
+
|
|
1
3
|
BASE_EDITOR.MAP.EMPTY=\u041D\u0435\u043C\u0430\u0454 \u0437\u0430\u043F\u0438\u0441\u0456\u0432
|
|
2
4
|
|
|
3
5
|
BASE_EDITOR.MAP.KEY=\u041A\u043B\u044E\u0447
|
|
@@ -6,35 +8,37 @@ BASE_EDITOR.MAP.VALUE=\u0417\u043D\u0430\u0447\u0435\u043D\u043D\u044F
|
|
|
6
8
|
|
|
7
9
|
BASE_EDITOR.MAP.TYPE=\u0422\u0438\u043F
|
|
8
10
|
|
|
9
|
-
BASE_EDITOR.MAP.REMOVE
|
|
11
|
+
BASE_EDITOR.MAP.REMOVE=\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438
|
|
10
12
|
|
|
11
13
|
BASE_EDITOR.MAP.DUPLICATE_KEY=\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0443\u043D\u0456\u043A\u0430\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447.
|
|
12
14
|
|
|
13
|
-
BASE_EDITOR.MAP.ADD
|
|
15
|
+
BASE_EDITOR.MAP.ADD=\u0414\u043E\u0434\u0430\u0442\u0438\: {0}
|
|
16
|
+
|
|
17
|
+
BASE_EDITOR.MAP.DEFAULT_TYPE=\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440
|
|
14
18
|
|
|
15
|
-
BASE_EDITOR.
|
|
19
|
+
BASE_EDITOR.TYPES.STRING=\u0420\u044F\u0434\u043E\u043A \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432
|
|
16
20
|
|
|
17
|
-
BASE_EDITOR.
|
|
21
|
+
BASE_EDITOR.TYPES.BOOLEAN=\u0411\u0443\u043B\u0435\u0432\u0438\u0439
|
|
18
22
|
|
|
19
|
-
BASE_EDITOR.
|
|
23
|
+
BASE_EDITOR.TYPES.NUMBER=\u041D\u043E\u043C\u0435\u0440
|
|
20
24
|
|
|
21
|
-
BASE_EDITOR.
|
|
25
|
+
BASE_EDITOR.TYPES.INTEGER=\u0426\u0456\u043B\u0435 \u0447\u0438\u0441\u043B\u043E
|
|
22
26
|
|
|
23
|
-
BASE_EDITOR.
|
|
27
|
+
BASE_EDITOR.TYPES.DATE=\u0414\u0430\u0442\u0430
|
|
24
28
|
|
|
25
|
-
BASE_EDITOR.
|
|
29
|
+
BASE_EDITOR.TYPES.DATETIME=\u0414\u0430\u0442\u0430/\u0447\u0430\u0441
|
|
26
30
|
|
|
27
|
-
BASE_EDITOR.
|
|
31
|
+
BASE_EDITOR.TYPES.GROUP=\u0413\u0440\u0443\u043F\u0430
|
|
28
32
|
|
|
29
|
-
BASE_EDITOR.
|
|
33
|
+
BASE_EDITOR.TYPES.SEPARATOR=\u0420\u043E\u0437\u0434\u0456\u043B\u044E\u0432\u0430\u0447
|
|
30
34
|
|
|
31
|
-
BASE_EDITOR.
|
|
35
|
+
BASE_EDITOR.TYPES.ICON=\u041F\u0456\u043A\u0442\u043E\u0433\u0440\u0430\u043C\u0430
|
|
32
36
|
|
|
33
|
-
BASE_EDITOR.
|
|
37
|
+
BASE_EDITOR.TYPES.SIMPLEICON=\u041F\u0440\u043E\u0441\u0442\u0430 \u043F\u0456\u043A\u0442\u043E\u0433\u0440\u0430\u043C\u0430
|
|
34
38
|
|
|
35
|
-
BASE_EDITOR.
|
|
39
|
+
BASE_EDITOR.TYPES.ARRAY=\u041C\u0430\u0441\u0438\u0432
|
|
36
40
|
|
|
37
|
-
BASE_EDITOR.
|
|
41
|
+
BASE_EDITOR.TYPES.JSON=JSON
|
|
38
42
|
|
|
39
43
|
BASE_EDITOR.STRING.INVALID_BINDING=\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0434\u0456\u0439\u0441\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A \u0437\u0432'\u044F\u0437\u0443\u0432\u0430\u043D\u043D\u044F.
|
|
40
44
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
BASE_EDITOR.FALLBACK_TYPE=Ki\u00EA\u0309u tu\u0300y chi\u0309nh
|
|
2
|
+
|
|
1
3
|
BASE_EDITOR.MAP.EMPTY=Kh\u00F4ng co\u0301 mu\u0323c nh\u00E2\u0323p
|
|
2
4
|
|
|
3
5
|
BASE_EDITOR.MAP.KEY=Kho\u0301a
|
|
@@ -6,35 +8,37 @@ BASE_EDITOR.MAP.VALUE=Gia\u0301 tri\u0323
|
|
|
6
8
|
|
|
7
9
|
BASE_EDITOR.MAP.TYPE=Loa\u0323i
|
|
8
10
|
|
|
9
|
-
BASE_EDITOR.MAP.REMOVE=
|
|
11
|
+
BASE_EDITOR.MAP.REMOVE=Loa\u0323i bo\u0309
|
|
10
12
|
|
|
11
13
|
BASE_EDITOR.MAP.DUPLICATE_KEY=Vui lo\u0300ng nh\u00E2\u0323p ma\u0303 duy nh\u00E2\u0301t.
|
|
12
14
|
|
|
13
|
-
BASE_EDITOR.MAP.ADD=
|
|
15
|
+
BASE_EDITOR.MAP.ADD=Th\u00EAm\: {0}
|
|
16
|
+
|
|
17
|
+
BASE_EDITOR.MAP.DEFAULT_TYPE=Tham s\u00F4\u0301
|
|
14
18
|
|
|
15
|
-
BASE_EDITOR.
|
|
19
|
+
BASE_EDITOR.TYPES.STRING=Chu\u00F4\u0303i
|
|
16
20
|
|
|
17
|
-
BASE_EDITOR.
|
|
21
|
+
BASE_EDITOR.TYPES.BOOLEAN=Boolean
|
|
18
22
|
|
|
19
|
-
BASE_EDITOR.
|
|
23
|
+
BASE_EDITOR.TYPES.NUMBER=S\u00F4\u0301
|
|
20
24
|
|
|
21
|
-
BASE_EDITOR.
|
|
25
|
+
BASE_EDITOR.TYPES.INTEGER=S\u00F4\u0301 nguy\u00EAn
|
|
22
26
|
|
|
23
|
-
BASE_EDITOR.
|
|
27
|
+
BASE_EDITOR.TYPES.DATE=Nga\u0300y
|
|
24
28
|
|
|
25
|
-
BASE_EDITOR.
|
|
29
|
+
BASE_EDITOR.TYPES.DATETIME=Nga\u0300y/Gi\u01A1\u0300
|
|
26
30
|
|
|
27
|
-
BASE_EDITOR.
|
|
31
|
+
BASE_EDITOR.TYPES.GROUP=Nho\u0301m
|
|
28
32
|
|
|
29
|
-
BASE_EDITOR.
|
|
33
|
+
BASE_EDITOR.TYPES.SEPARATOR=D\u00E2\u0301u ta\u0301ch
|
|
30
34
|
|
|
31
|
-
BASE_EDITOR.
|
|
35
|
+
BASE_EDITOR.TYPES.ICON=Bi\u00EA\u0309u t\u01B0\u01A1\u0323ng
|
|
32
36
|
|
|
33
|
-
BASE_EDITOR.
|
|
37
|
+
BASE_EDITOR.TYPES.SIMPLEICON=Bi\u1EC3u t\u01B0\u1EE3ng \u0111\u01A1n gi\u1EA3n
|
|
34
38
|
|
|
35
|
-
BASE_EDITOR.
|
|
39
|
+
BASE_EDITOR.TYPES.ARRAY=Ma\u0309ng
|
|
36
40
|
|
|
37
|
-
BASE_EDITOR.
|
|
41
|
+
BASE_EDITOR.TYPES.JSON=JSON
|
|
38
42
|
|
|
39
43
|
BASE_EDITOR.STRING.INVALID_BINDING=Vui lo\u0300ng nh\u00E2\u0323p chu\u00F4\u0303i li\u00EAn k\u00EA\u0301t h\u01A1\u0323p l\u00EA\u0323.
|
|
40
44
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
BASE_EDITOR.FALLBACK_TYPE=\u81EA\u5B9A\u4E49\u7C7B\u578B
|
|
2
|
+
|
|
1
3
|
BASE_EDITOR.MAP.EMPTY=\u65E0\u4EFB\u4F55\u6761\u76EE
|
|
2
4
|
|
|
3
5
|
BASE_EDITOR.MAP.KEY=\u952E
|
|
@@ -6,35 +8,37 @@ BASE_EDITOR.MAP.VALUE=\u503C
|
|
|
6
8
|
|
|
7
9
|
BASE_EDITOR.MAP.TYPE=\u7C7B\u578B
|
|
8
10
|
|
|
9
|
-
BASE_EDITOR.MAP.REMOVE
|
|
11
|
+
BASE_EDITOR.MAP.REMOVE=\u79FB\u9664
|
|
10
12
|
|
|
11
13
|
BASE_EDITOR.MAP.DUPLICATE_KEY=\u8BF7\u8F93\u5165\u552F\u4E00\u952E\u503C\u3002
|
|
12
14
|
|
|
13
|
-
BASE_EDITOR.MAP.ADD
|
|
15
|
+
BASE_EDITOR.MAP.ADD=\u6DFB\u52A0\uFF1A{0}
|
|
16
|
+
|
|
17
|
+
BASE_EDITOR.MAP.DEFAULT_TYPE=\u53C2\u6570
|
|
14
18
|
|
|
15
|
-
BASE_EDITOR.
|
|
19
|
+
BASE_EDITOR.TYPES.STRING=\u5B57\u7B26\u4E32
|
|
16
20
|
|
|
17
|
-
BASE_EDITOR.
|
|
21
|
+
BASE_EDITOR.TYPES.BOOLEAN=\u5E03\u5C14\u503C
|
|
18
22
|
|
|
19
|
-
BASE_EDITOR.
|
|
23
|
+
BASE_EDITOR.TYPES.NUMBER=\u6570\u5B57
|
|
20
24
|
|
|
21
|
-
BASE_EDITOR.
|
|
25
|
+
BASE_EDITOR.TYPES.INTEGER=\u6574\u6570
|
|
22
26
|
|
|
23
|
-
BASE_EDITOR.
|
|
27
|
+
BASE_EDITOR.TYPES.DATE=\u65E5\u671F
|
|
24
28
|
|
|
25
|
-
BASE_EDITOR.
|
|
29
|
+
BASE_EDITOR.TYPES.DATETIME=\u65E5\u671F/\u65F6\u95F4
|
|
26
30
|
|
|
27
|
-
BASE_EDITOR.
|
|
31
|
+
BASE_EDITOR.TYPES.GROUP=\u7EC4
|
|
28
32
|
|
|
29
|
-
BASE_EDITOR.
|
|
33
|
+
BASE_EDITOR.TYPES.SEPARATOR=\u5206\u9694\u7B26
|
|
30
34
|
|
|
31
|
-
BASE_EDITOR.
|
|
35
|
+
BASE_EDITOR.TYPES.ICON=\u56FE\u6807
|
|
32
36
|
|
|
33
|
-
BASE_EDITOR.
|
|
37
|
+
BASE_EDITOR.TYPES.SIMPLEICON=\u7B80\u5355\u56FE\u6807
|
|
34
38
|
|
|
35
|
-
BASE_EDITOR.
|
|
39
|
+
BASE_EDITOR.TYPES.ARRAY=\u6570\u7EC4
|
|
36
40
|
|
|
37
|
-
BASE_EDITOR.
|
|
41
|
+
BASE_EDITOR.TYPES.JSON=JSON
|
|
38
42
|
|
|
39
43
|
BASE_EDITOR.STRING.INVALID_BINDING=\u8BF7\u8F93\u5165\u6709\u6548\u7684\u7ED1\u5B9A\u5B57\u7B26\u4E32\u3002
|
|
40
44
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
BASE_EDITOR.FALLBACK_TYPE=\u81EA\u8A02\u985E\u578B
|
|
2
|
+
|
|
1
3
|
BASE_EDITOR.MAP.EMPTY=\u7121\u8F38\u5165\u9805
|
|
2
4
|
|
|
3
5
|
BASE_EDITOR.MAP.KEY=\u7D22\u5F15\u9375
|
|
@@ -6,35 +8,37 @@ BASE_EDITOR.MAP.VALUE=\u503C
|
|
|
6
8
|
|
|
7
9
|
BASE_EDITOR.MAP.TYPE=\u985E\u578B
|
|
8
10
|
|
|
9
|
-
BASE_EDITOR.MAP.REMOVE
|
|
11
|
+
BASE_EDITOR.MAP.REMOVE=\u79FB\u9664
|
|
10
12
|
|
|
11
13
|
BASE_EDITOR.MAP.DUPLICATE_KEY=\u8ACB\u8F38\u5165\u552F\u4E00\u7D22\u5F15\u9375\u3002
|
|
12
14
|
|
|
13
|
-
BASE_EDITOR.MAP.ADD
|
|
15
|
+
BASE_EDITOR.MAP.ADD=\u65B0\u589E\uFF1A{0}
|
|
16
|
+
|
|
17
|
+
BASE_EDITOR.MAP.DEFAULT_TYPE=\u53C3\u6578
|
|
14
18
|
|
|
15
|
-
BASE_EDITOR.
|
|
19
|
+
BASE_EDITOR.TYPES.STRING=\u5B57\u4E32
|
|
16
20
|
|
|
17
|
-
BASE_EDITOR.
|
|
21
|
+
BASE_EDITOR.TYPES.BOOLEAN=\u5E03\u6797
|
|
18
22
|
|
|
19
|
-
BASE_EDITOR.
|
|
23
|
+
BASE_EDITOR.TYPES.NUMBER=\u6578\u5B57
|
|
20
24
|
|
|
21
|
-
BASE_EDITOR.
|
|
25
|
+
BASE_EDITOR.TYPES.INTEGER=\u6574\u6578
|
|
22
26
|
|
|
23
|
-
BASE_EDITOR.
|
|
27
|
+
BASE_EDITOR.TYPES.DATE=\u65E5\u671F
|
|
24
28
|
|
|
25
|
-
BASE_EDITOR.
|
|
29
|
+
BASE_EDITOR.TYPES.DATETIME=\u65E5\u671F/\u6642\u9593
|
|
26
30
|
|
|
27
|
-
BASE_EDITOR.
|
|
31
|
+
BASE_EDITOR.TYPES.GROUP=\u7FA4\u7D44
|
|
28
32
|
|
|
29
|
-
BASE_EDITOR.
|
|
33
|
+
BASE_EDITOR.TYPES.SEPARATOR=\u5206\u9694\u7B26\u865F
|
|
30
34
|
|
|
31
|
-
BASE_EDITOR.
|
|
35
|
+
BASE_EDITOR.TYPES.ICON=\u5716\u793A
|
|
32
36
|
|
|
33
|
-
BASE_EDITOR.
|
|
37
|
+
BASE_EDITOR.TYPES.SIMPLEICON=\u7C21\u6613\u5716\u793A
|
|
34
38
|
|
|
35
|
-
BASE_EDITOR.
|
|
39
|
+
BASE_EDITOR.TYPES.ARRAY=\u9663\u5217
|
|
36
40
|
|
|
37
|
-
BASE_EDITOR.
|
|
41
|
+
BASE_EDITOR.TYPES.JSON=JSON
|
|
38
42
|
|
|
39
43
|
BASE_EDITOR.STRING.INVALID_BINDING=\u8ACB\u8F38\u5165\u6709\u6548\u7684\u9023\u7D50\u5B57\u4E32\u3002
|
|
40
44
|
|
|
@@ -52,7 +52,7 @@ sap.ui.define([
|
|
|
52
52
|
* @alias sap.ui.integration.designtime.baseEditor.propertyEditor.BasePropertyEditor
|
|
53
53
|
* @author SAP SE
|
|
54
54
|
* @since 1.70
|
|
55
|
-
* @version 1.
|
|
55
|
+
* @version 1.96.3
|
|
56
56
|
*
|
|
57
57
|
* @private
|
|
58
58
|
* @experimental 1.70
|
|
@@ -173,7 +173,20 @@ sap.ui.define([
|
|
|
173
173
|
/**
|
|
174
174
|
* Fires when init is finished
|
|
175
175
|
*/
|
|
176
|
-
init: {}
|
|
176
|
+
init: {},
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Fires when the error state of the editor changes
|
|
180
|
+
*/
|
|
181
|
+
validationErrorChange: {
|
|
182
|
+
parameters: {
|
|
183
|
+
/**
|
|
184
|
+
* Whether there is an error in the editor
|
|
185
|
+
* @since 1.96.0
|
|
186
|
+
*/
|
|
187
|
+
hasError: { type: "boolean" }
|
|
188
|
+
}
|
|
189
|
+
}
|
|
177
190
|
}
|
|
178
191
|
},
|
|
179
192
|
/**
|
|
@@ -316,6 +329,9 @@ sap.ui.define([
|
|
|
316
329
|
var vCurrentValue = this.getValue();
|
|
317
330
|
var oConfig = this.getConfig() || {};
|
|
318
331
|
var vNextValue = vValue;
|
|
332
|
+
if (oConfig.type === "integer" && Number.isInteger(Number(vValue))) {
|
|
333
|
+
vNextValue = parseInt(vValue);
|
|
334
|
+
}
|
|
319
335
|
|
|
320
336
|
// If the editor is not visible, don't allow setting new values
|
|
321
337
|
// to avoid unwanted updates and side effects like validation failures
|
|
@@ -341,6 +357,7 @@ sap.ui.define([
|
|
|
341
357
|
value: vNextValue
|
|
342
358
|
});
|
|
343
359
|
}
|
|
360
|
+
this.setHasOwnError(!bResult);
|
|
344
361
|
}.bind(this));
|
|
345
362
|
};
|
|
346
363
|
|
|
@@ -618,6 +635,7 @@ sap.ui.define([
|
|
|
618
635
|
return oEditorWrapper !== oObservedWrapper;
|
|
619
636
|
});
|
|
620
637
|
this._checkReadyState();
|
|
638
|
+
this._checkForError();
|
|
621
639
|
break;
|
|
622
640
|
case 'parent':
|
|
623
641
|
// Observed elements might contain nested wrappers
|
|
@@ -694,6 +712,8 @@ sap.ui.define([
|
|
|
694
712
|
this._checkReadyState();
|
|
695
713
|
}.bind(this));
|
|
696
714
|
|
|
715
|
+
oWrapper.attachValidationErrorChange(this._checkForError.bind(this));
|
|
716
|
+
|
|
697
717
|
if (oWrapper.isA("sap.ui.integration.designtime.baseEditor.PropertyEditor")) {
|
|
698
718
|
oWrapper.attachPropertyEditorChange(function (oEvent) {
|
|
699
719
|
var oPropertyEditor = oEvent.getParameter("propertyEditor");
|
|
@@ -723,6 +743,28 @@ sap.ui.define([
|
|
|
723
743
|
return !!this._bIsReady;
|
|
724
744
|
};
|
|
725
745
|
|
|
746
|
+
BasePropertyEditor.prototype.setHasOwnError = function (bHasError) {
|
|
747
|
+
this._bHasOwnError = bHasError;
|
|
748
|
+
this._checkForError();
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
BasePropertyEditor.prototype._checkForError = function () {
|
|
752
|
+
var bHasError = this.hasError();
|
|
753
|
+
// If the error state switches, fire the event
|
|
754
|
+
if (bHasError !== this._bHasError) {
|
|
755
|
+
this._bHasError = bHasError;
|
|
756
|
+
this.fireValidationErrorChange({
|
|
757
|
+
hasError: bHasError
|
|
758
|
+
});
|
|
759
|
+
}
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
BasePropertyEditor.prototype.hasError = function () {
|
|
763
|
+
return !!this._bHasOwnError || this._aEditorWrappers.some(function(oWrapper) {
|
|
764
|
+
return oWrapper.hasError();
|
|
765
|
+
});
|
|
766
|
+
};
|
|
767
|
+
|
|
726
768
|
/**
|
|
727
769
|
* Wait for the editor to be ready.
|
|
728
770
|
* @returns {Promise} Promise which will resolve once the editor is ready. Resolves immediately if the editor is currently ready.
|
|
@@ -829,6 +871,9 @@ sap.ui.define([
|
|
|
829
871
|
visible: {
|
|
830
872
|
defaultValue: true,
|
|
831
873
|
mergeStrategy: "mostRestrictiveWins"
|
|
874
|
+
},
|
|
875
|
+
typeLabel: {
|
|
876
|
+
defaultValue: "BASE_EDITOR.FALLBACK_TYPE"
|
|
832
877
|
}
|
|
833
878
|
};
|
|
834
879
|
|
|
@@ -836,7 +881,7 @@ sap.ui.define([
|
|
|
836
881
|
var oPreviousConfig = this.getConfig();
|
|
837
882
|
|
|
838
883
|
var oDefaultConfig = {};
|
|
839
|
-
var oConfigMetadata = PropertyEditorFactory.
|
|
884
|
+
var oConfigMetadata = PropertyEditorFactory.getByClassName(this.getMetadata().getName()).configMetadata;
|
|
840
885
|
each(oConfigMetadata, function (sConfigKey, mConfigValue) {
|
|
841
886
|
oDefaultConfig[sConfigKey] = mConfigValue.defaultValue;
|
|
842
887
|
});
|
package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/PropertyEditorFactory.js
CHANGED
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @namespace sap.ui.integration.designtime.baseEditor.propertyEditor.PropertyEditorFactory
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.96.3
|
|
23
23
|
*
|
|
24
24
|
* @static
|
|
25
25
|
* @since 1.75
|
|
@@ -115,7 +115,7 @@ sap.ui.define([
|
|
|
115
115
|
});
|
|
116
116
|
};
|
|
117
117
|
|
|
118
|
-
PropertyEditorFactory.
|
|
118
|
+
PropertyEditorFactory.getByClassName = function(sType) {
|
|
119
119
|
return oPropertyEditorClasses[sType];
|
|
120
120
|
};
|
|
121
121
|
|
package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/arrayEditor/ArrayEditor.js
CHANGED
|
@@ -82,7 +82,7 @@ sap.ui.define([
|
|
|
82
82
|
* @alias sap.ui.integration.designtime.baseEditor.propertyEditor.arrayEditor.ArrayEditor
|
|
83
83
|
* @author SAP SE
|
|
84
84
|
* @since 1.72
|
|
85
|
-
* @version 1.
|
|
85
|
+
* @version 1.96.3
|
|
86
86
|
*
|
|
87
87
|
* @private
|
|
88
88
|
* @experimental 1.72
|
|
@@ -120,6 +120,9 @@ sap.ui.define([
|
|
|
120
120
|
},
|
|
121
121
|
template: {
|
|
122
122
|
defaultValue: {}
|
|
123
|
+
},
|
|
124
|
+
typeLabel: {
|
|
125
|
+
defaultValue: "BASE_EDITOR.TYPES.ARRAY"
|
|
123
126
|
}
|
|
124
127
|
});
|
|
125
128
|
|
package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/booleanEditor/BooleanEditor.js
CHANGED
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @alias sap.ui.integration.designtime.baseEditor.propertyEditor.booleanEditor.BooleanEditor
|
|
25
25
|
* @author SAP SE
|
|
26
26
|
* @since 1.72
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.96.3
|
|
28
28
|
*
|
|
29
29
|
* @private
|
|
30
30
|
* @experimental 1.72
|
|
@@ -75,6 +75,9 @@ sap.ui.define([
|
|
|
75
75
|
allowBindings: {
|
|
76
76
|
defaultValue: true,
|
|
77
77
|
mergeStrategy: "mostRestrictiveWins"
|
|
78
|
+
},
|
|
79
|
+
typeLabel: {
|
|
80
|
+
defaultValue: "BASE_EDITOR.TYPES.BOOLEAN"
|
|
78
81
|
}
|
|
79
82
|
});
|
|
80
83
|
|
package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateEditor/DateEditor.js
CHANGED
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* @alias sap.ui.integration.designtime.baseEditor.propertyEditor.dateEditor.DateEditor
|
|
23
23
|
* @author SAP SE
|
|
24
24
|
* @since 1.76
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.96.3
|
|
26
26
|
*
|
|
27
27
|
* @private
|
|
28
28
|
* @experimental 1.76
|
|
@@ -51,23 +51,40 @@ sap.ui.define([
|
|
|
51
51
|
isEnabled: !oConfig.allowBindings
|
|
52
52
|
},
|
|
53
53
|
isDate: {
|
|
54
|
-
type: "isDate"
|
|
54
|
+
type: "isDate",
|
|
55
|
+
config: {
|
|
56
|
+
formatterInstance: function() {
|
|
57
|
+
var sDatePattern = (this.getConfig() || {}).pattern;
|
|
58
|
+
var oConfig = sDatePattern
|
|
59
|
+
? {
|
|
60
|
+
pattern: sDatePattern
|
|
61
|
+
}
|
|
62
|
+
: undefined;
|
|
63
|
+
return this.getFormatterInstance(oConfig);
|
|
64
|
+
}.bind(this)
|
|
65
|
+
}
|
|
55
66
|
}
|
|
56
67
|
}
|
|
57
68
|
);
|
|
58
69
|
};
|
|
59
70
|
|
|
60
71
|
DateEditor.prototype.formatValue = function (sValue) {
|
|
61
|
-
var oDate =
|
|
62
|
-
|
|
63
|
-
return sValue;
|
|
64
|
-
}
|
|
65
|
-
return this.getFormatterInstance().format(oDate);
|
|
72
|
+
var oDate = this._parse(sValue);
|
|
73
|
+
return this._format(oDate, true) || sValue;
|
|
66
74
|
};
|
|
67
75
|
|
|
68
76
|
DateEditor.configMetadata = Object.assign({}, BasePropertyEditor.configMetadata, {
|
|
69
77
|
allowBindings: {
|
|
70
78
|
defaultValue: true
|
|
79
|
+
},
|
|
80
|
+
typeLabel: {
|
|
81
|
+
defaultValue: "BASE_EDITOR.TYPES.DATE"
|
|
82
|
+
},
|
|
83
|
+
pattern: {
|
|
84
|
+
defaultValue: "YYYY-MM-dd'T'HH:mm:ss.SSS'Z'"
|
|
85
|
+
},
|
|
86
|
+
utc: {
|
|
87
|
+
defaultValue: false
|
|
71
88
|
}
|
|
72
89
|
});
|
|
73
90
|
|
|
@@ -83,24 +100,55 @@ sap.ui.define([
|
|
|
83
100
|
|
|
84
101
|
DateEditor.prototype._onChange = function (oEvent) {
|
|
85
102
|
var sValue = oEvent.getParameter("newValue");
|
|
86
|
-
var
|
|
87
|
-
this.
|
|
103
|
+
var oDate = this._parse(sValue, true);
|
|
104
|
+
var sDateString = this._format(oDate) || sValue;
|
|
105
|
+
this.setValue(sDateString);
|
|
88
106
|
};
|
|
89
107
|
|
|
90
|
-
DateEditor.prototype._parse = function (sValue) {
|
|
91
|
-
if (sValue === "") {
|
|
108
|
+
DateEditor.prototype._parse = function (sValue, bUseDefaultPattern) {
|
|
109
|
+
if (sValue == null || sValue === "") {
|
|
110
|
+
return sValue;
|
|
111
|
+
}
|
|
112
|
+
var bUTC = (this.getConfig() || {}).utc !== false;
|
|
113
|
+
if (bUseDefaultPattern) {
|
|
114
|
+
return this.getFormatterInstance().parse(sValue, bUTC);
|
|
115
|
+
}
|
|
116
|
+
var sDatePattern = (this.getConfig() || {}).pattern;
|
|
117
|
+
if (sDatePattern) {
|
|
118
|
+
var oDateFormatterInstance = this.getFormatterInstance({
|
|
119
|
+
pattern: sDatePattern
|
|
120
|
+
});
|
|
121
|
+
return oDateFormatterInstance.parse(sValue, bUTC);
|
|
122
|
+
}
|
|
123
|
+
return undefined;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
DateEditor.prototype._format = function (oDate, bUseDefaultPattern) {
|
|
127
|
+
if (!this._isValidDate(oDate)) {
|
|
92
128
|
return undefined;
|
|
93
129
|
}
|
|
94
|
-
var
|
|
95
|
-
|
|
130
|
+
var bUTC = (this.getConfig() || {}).utc !== false;
|
|
131
|
+
if (bUseDefaultPattern) {
|
|
132
|
+
return this.getFormatterInstance().format(oDate, bUTC);
|
|
133
|
+
}
|
|
134
|
+
var sDatePattern = (this.getConfig() || {}).pattern;
|
|
135
|
+
if (sDatePattern) {
|
|
136
|
+
var oDateFormatterInstance = this.getFormatterInstance({
|
|
137
|
+
pattern: sDatePattern
|
|
138
|
+
});
|
|
139
|
+
return oDateFormatterInstance.format(oDate, bUTC);
|
|
140
|
+
}
|
|
141
|
+
return undefined;
|
|
96
142
|
};
|
|
97
143
|
|
|
98
|
-
DateEditor.prototype._isValidDate = function (
|
|
99
|
-
return
|
|
144
|
+
DateEditor.prototype._isValidDate = function (oDate) {
|
|
145
|
+
return oDate && !isNaN(oDate.getTime());
|
|
100
146
|
};
|
|
101
147
|
|
|
102
|
-
DateEditor.prototype.getFormatterInstance = function () {
|
|
103
|
-
return DateFormat.getDateInstance(
|
|
148
|
+
DateEditor.prototype.getFormatterInstance = function (mOptions) {
|
|
149
|
+
return DateFormat.getDateInstance(mOptions || {
|
|
150
|
+
pattern: "YYYY-MM-dd"
|
|
151
|
+
});
|
|
104
152
|
};
|
|
105
153
|
|
|
106
154
|
return DateEditor;
|
package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/dateTimeEditor/DateTimeEditor.js
CHANGED
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @alias sap.ui.integration.designtime.baseEditor.propertyEditor.dateTimeEditor.DateTimeEditor
|
|
25
25
|
* @author SAP SE
|
|
26
26
|
* @since 1.76
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.96.3
|
|
28
28
|
*
|
|
29
29
|
* @private
|
|
30
30
|
* @experimental 1.76
|
|
@@ -38,11 +38,24 @@ sap.ui.define([
|
|
|
38
38
|
renderer: BasePropertyEditor.getMetadata().getRenderer().render
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
DateTimeEditor.prototype.getFormatterInstance = function () {
|
|
42
|
-
return DateFormat.getDateTimeInstance(
|
|
41
|
+
DateTimeEditor.prototype.getFormatterInstance = function (mOptions) {
|
|
42
|
+
return DateFormat.getDateTimeInstance(mOptions || {
|
|
43
|
+
pattern: "YYYY-MM-dd'T'HH:mm:ss.SSSSZ"
|
|
44
|
+
});
|
|
43
45
|
};
|
|
44
46
|
|
|
45
|
-
DateTimeEditor.configMetadata = Object.assign(
|
|
47
|
+
DateTimeEditor.configMetadata = Object.assign(
|
|
48
|
+
{},
|
|
49
|
+
DateEditor.configMetadata,
|
|
50
|
+
{
|
|
51
|
+
typeLabel: {
|
|
52
|
+
defaultValue: "BASE_EDITOR.TYPES.DATETIME"
|
|
53
|
+
},
|
|
54
|
+
utc: {
|
|
55
|
+
defaultValue: true
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
);
|
|
46
59
|
|
|
47
60
|
return DateTimeEditor;
|
|
48
61
|
});
|
package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/groupEditor/GroupEditor.js
CHANGED
|
@@ -47,7 +47,7 @@ sap.ui.define([
|
|
|
47
47
|
* @alias sap.ui.integration.designtime.baseEditor.propertyEditor.groupEditor.GroupEditor
|
|
48
48
|
* @author SAP SE
|
|
49
49
|
* @since 1.85
|
|
50
|
-
* @version 1.
|
|
50
|
+
* @version 1.96.3
|
|
51
51
|
*
|
|
52
52
|
* @private
|
|
53
53
|
* @experimental 1.85
|
|
@@ -65,6 +65,9 @@ sap.ui.define([
|
|
|
65
65
|
allowBindings: {
|
|
66
66
|
defaultValue: true,
|
|
67
67
|
mergeStrategy: "mostRestrictiveWins"
|
|
68
|
+
},
|
|
69
|
+
typeLabel: {
|
|
70
|
+
defaultValue: "BASE_EDITOR.TYPES.GROUP"
|
|
68
71
|
}
|
|
69
72
|
});
|
|
70
73
|
|
package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/iconEditor/IconEditor.js
CHANGED
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @alias sap.ui.integration.designtime.baseEditor.propertyEditor.iconEditor.IconEditor
|
|
43
43
|
* @author SAP SE
|
|
44
44
|
* @since 1.70
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.96.3
|
|
46
46
|
*
|
|
47
47
|
* @private
|
|
48
48
|
* @experimental 1.70
|
|
@@ -56,7 +56,15 @@ sap.ui.define([
|
|
|
56
56
|
renderer: BasePropertyEditor.getMetadata().getRenderer().render
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
IconEditor.configMetadata = Object.assign(
|
|
59
|
+
IconEditor.configMetadata = Object.assign(
|
|
60
|
+
{},
|
|
61
|
+
BasePropertyEditor.configMetadata,
|
|
62
|
+
{
|
|
63
|
+
typeLabel: {
|
|
64
|
+
defaultValue: "BASE_EDITOR.TYPES.SIMPLEICON"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
);
|
|
60
68
|
|
|
61
69
|
IconEditor.prototype.onFragmentReady = function () {
|
|
62
70
|
var oInput = this.getContent();
|
package/src/sap/ui/integration/designtime/baseEditor/propertyEditor/integerEditor/IntegerEditor.js
CHANGED
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @alias sap.ui.integration.designtime.baseEditor.propertyEditor.integerEditor.IntegerEditor
|
|
25
25
|
* @author SAP SE
|
|
26
26
|
* @since 1.76
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.96.3
|
|
28
28
|
*
|
|
29
29
|
* @private
|
|
30
30
|
* @experimental 1.76
|
|
@@ -50,7 +50,15 @@ sap.ui.define([
|
|
|
50
50
|
);
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
IntegerEditor.configMetadata = Object.assign(
|
|
53
|
+
IntegerEditor.configMetadata = Object.assign(
|
|
54
|
+
{},
|
|
55
|
+
NumberEditor.configMetadata,
|
|
56
|
+
{
|
|
57
|
+
typeLabel: {
|
|
58
|
+
defaultValue: "BASE_EDITOR.TYPES.INTEGER"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
);
|
|
54
62
|
|
|
55
63
|
IntegerEditor.prototype.validateNumber = function (vValue) {
|
|
56
64
|
return NumberEditor.prototype.validateNumber.call(this, vValue) && Number.isInteger(vValue);
|