@openui5/sap.ui.mdc 1.96.5 → 1.96.8
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 +4 -4
- package/src/sap/ui/mdc/.library +1 -1
- package/src/sap/ui/mdc/ActionToolbar.js +1 -1
- package/src/sap/ui/mdc/Chart.js +1 -1
- package/src/sap/ui/mdc/ChartNew.js +1 -1
- package/src/sap/ui/mdc/Control.js +1 -1
- package/src/sap/ui/mdc/Element.js +1 -1
- package/src/sap/ui/mdc/Field.js +2 -2
- package/src/sap/ui/mdc/FilterBar.js +1 -1
- package/src/sap/ui/mdc/FilterField.js +2 -2
- package/src/sap/ui/mdc/Link.js +1 -1
- package/src/sap/ui/mdc/MultiValueField.js +1 -1
- package/src/sap/ui/mdc/Table.js +43 -7
- package/src/sap/ui/mdc/ValueHelp.js +1 -1
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
- package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +1 -1
- package/src/sap/ui/mdc/chart/ToolbarHandler.js +1 -1
- package/src/sap/ui/mdc/chartNew/ChartSelectionDetailsNew.js +1 -1
- package/src/sap/ui/mdc/chartNew/ChartToolbarNew.js +1 -1
- package/src/sap/ui/mdc/chartNew/PropertyHelperNew.js +1 -1
- package/src/sap/ui/mdc/condition/Condition.js +1 -1
- package/src/sap/ui/mdc/condition/ConditionConverter.js +1 -1
- package/src/sap/ui/mdc/condition/ConditionModel.js +1 -1
- package/src/sap/ui/mdc/condition/FilterConverter.js +1 -1
- package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +1 -1
- package/src/sap/ui/mdc/condition/Operator.js +1 -1
- package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
- package/src/sap/ui/mdc/field/BoolFieldHelp.js +1 -1
- package/src/sap/ui/mdc/field/ConditionFieldHelp.js +1 -1
- package/src/sap/ui/mdc/field/ConditionType.js +1 -1
- package/src/sap/ui/mdc/field/ConditionsType.js +1 -1
- package/src/sap/ui/mdc/field/CustomFieldHelp.js +1 -1
- package/src/sap/ui/mdc/field/CustomFieldInfo.js +1 -1
- package/src/sap/ui/mdc/field/DefineConditionPanel.js +1 -1
- package/src/sap/ui/mdc/field/FieldBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldHelpBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldInfoBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldInput.js +1 -1
- package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +1 -1
- package/src/sap/ui/mdc/field/FieldMultiInput.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelp.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +1 -1
- package/src/sap/ui/mdc/field/InParameter.js +1 -1
- package/src/sap/ui/mdc/field/ListFieldHelp.js +1 -1
- package/src/sap/ui/mdc/field/ListFieldHelpItem.js +1 -1
- package/src/sap/ui/mdc/field/MultiValueFieldItem.js +1 -1
- package/src/sap/ui/mdc/field/OutParameter.js +1 -1
- package/src/sap/ui/mdc/field/ValueHelpPanel.js +1 -1
- package/src/sap/ui/mdc/filterbar/FilterBarBase.js +1 -1
- package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +1 -1
- package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
- package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
- package/src/sap/ui/mdc/library.js +6 -4
- package/src/sap/ui/mdc/link/ContactDetails.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsItem.js +1 -1
- package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +1 -1
- package/src/sap/ui/mdc/link/Factory.js +1 -1
- package/src/sap/ui/mdc/link/FakeFlpConnector.js +1 -1
- package/src/sap/ui/mdc/link/LinkItem.js +1 -1
- package/src/sap/ui/mdc/link/Panel.js +1 -1
- package/src/sap/ui/mdc/link/PanelItem.js +1 -1
- package/src/sap/ui/mdc/link/PanelListItem.js +1 -1
- package/src/sap/ui/mdc/link/SelectionDialog.js +1 -1
- package/src/sap/ui/mdc/link/SelectionDialogItem.js +1 -1
- package/src/sap/ui/mdc/link/SemanticObjectMapping.js +1 -1
- package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +1 -1
- package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +1 -1
- package/src/sap/ui/mdc/messagebundle_ar.properties +1 -1
- package/src/sap/ui/mdc/messagebundle_tr.properties +3 -3
- package/src/sap/ui/mdc/messagebundle_zh_CN.properties +2 -2
- package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/DelegateMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/PromiseMixin.js +1 -1
- package/src/sap/ui/mdc/odata/v4/ChartPropertyHelperNew.js +1 -1
- package/src/sap/ui/mdc/p13n/DefaultProviderRegistry.js +1 -1
- package/src/sap/ui/mdc/p13n/Engine.js +2 -1
- package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/p13n/UIManager.js +1 -1
- package/src/sap/ui/mdc/p13n/modification/FlexModificationHandler.js +4 -1
- package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +19 -3
- package/src/sap/ui/mdc/p13n/panels/GroupPanel.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/QueryPanel.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/SortQueryPanel.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/Wrapper.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +1 -1
- package/src/sap/ui/mdc/table/CreationRow.js +1 -1
- package/src/sap/ui/mdc/table/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/table/RowSettings.js +1 -1
- package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +1 -1
- package/src/sap/ui/mdc/ui/Container.js +2 -2
- package/src/sap/ui/mdc/ui/ContainerItem.js +2 -2
- package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
- package/src/sap/ui/mdc/util/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/valuehelp/Dialog.js +1 -1
- package/src/sap/ui/mdc/valuehelp/Popover.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/Container.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/Content.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +1 -1
- package/src/sap/ui/mdc/valuehelp/base/ListContent.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/Bool.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/Conditions.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/FixedList.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +1 -1
- package/src/sap/ui/mdc/valuehelp/content/MTable.js +1 -1
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* @param {object} [mSettings] Initial settings for the new control
|
|
23
23
|
* @class The <code>OutParameter</code> element is used in the {@link sap.ui.mdc.field.FieldValueHelp FieldValueHelp} element.
|
|
24
24
|
* @extends sap.ui.mdc.field.InParameter
|
|
25
|
-
* @version 1.96.
|
|
25
|
+
* @version 1.96.8
|
|
26
26
|
* @constructor
|
|
27
27
|
* @abstract
|
|
28
28
|
* @private
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* @class The <code>FilterBarBase</code> control is used as a faceless base class for common functionality of any MDC FilterBar derivation.
|
|
61
61
|
* @extends sap.ui.mdc.Control
|
|
62
62
|
* @author SAP SE
|
|
63
|
-
* @version 1.96.
|
|
63
|
+
* @version 1.96.8
|
|
64
64
|
* @constructor
|
|
65
65
|
* @private
|
|
66
66
|
* @ui5-restricted sap.ui.mdc
|
|
@@ -33,7 +33,7 @@ sap.ui.define(
|
|
|
33
33
|
* The metadata information is provided via the {@link sap.ui.mdc.FilterBarDelegate FilterBarDelegate} implementation. This implementation has to be provided by the application.
|
|
34
34
|
* @extends sap.ui.mdc.filterbar.FilterBarBase
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.96.
|
|
36
|
+
* @version 1.96.8
|
|
37
37
|
* @constructor
|
|
38
38
|
* @private
|
|
39
39
|
* @since 1.84.0
|
|
@@ -15,7 +15,7 @@ sap.ui.define([
|
|
|
15
15
|
"use strict";
|
|
16
16
|
|
|
17
17
|
sap.ui.getCore().initLibrary({
|
|
18
|
-
version: "1.96.
|
|
18
|
+
version: "1.96.8",
|
|
19
19
|
name: "sap.ui.mdc",
|
|
20
20
|
dependencies: ["sap.ui.core", "sap.m"],
|
|
21
21
|
designtime: "sap/ui/mdc/designtime/library.designtime",
|
|
@@ -759,7 +759,7 @@ sap.ui.define([
|
|
|
759
759
|
* @namespace
|
|
760
760
|
* @alias sap.ui.mdc
|
|
761
761
|
* @author SAP SE
|
|
762
|
-
* @version 1.96.
|
|
762
|
+
* @version 1.96.8
|
|
763
763
|
* @since 1.80
|
|
764
764
|
* @private
|
|
765
765
|
* @ui5-restricted sap.fe
|
|
@@ -1145,9 +1145,11 @@ sap.ui.define([
|
|
|
1145
1145
|
};
|
|
1146
1146
|
|
|
1147
1147
|
/**
|
|
1148
|
-
* Enumeration of the <code>multiSelectMode
|
|
1148
|
+
* Enumeration of the <code>multiSelectMode</code> in <code>ListBase</code>.
|
|
1149
1149
|
* @enum {string}
|
|
1150
|
-
* @
|
|
1150
|
+
* @private
|
|
1151
|
+
* @ui5-restricted sap.ui.mdc
|
|
1152
|
+
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
1151
1153
|
*/
|
|
1152
1154
|
thisLib.MultiSelectMode = {
|
|
1153
1155
|
/**
|
|
@@ -15,7 +15,7 @@ sap.ui.define(['sap/ui/core/XMLComposite', 'sap/m/Text', 'sap/m/Link', 'sap/m/La
|
|
|
15
15
|
* @class The ContactDetails control is used to show additional information like for example 'contact details'.
|
|
16
16
|
* @extends sap.ui.core.XMLComposite
|
|
17
17
|
* @author SAP SE
|
|
18
|
-
* @version 1.96.
|
|
18
|
+
* @version 1.96.8
|
|
19
19
|
* @constructor
|
|
20
20
|
* @private
|
|
21
21
|
* @since 1.56.0
|
|
@@ -11,7 +11,7 @@ sap.ui.define([], function() {
|
|
|
11
11
|
* @namespace Factory to access services outside of sap.ui.mdc library like for example <code>ushell</code> services.
|
|
12
12
|
* @name sap.ui.mdc.link.Factory
|
|
13
13
|
* @author SAP SE
|
|
14
|
-
* @version 1.96.
|
|
14
|
+
* @version 1.96.8
|
|
15
15
|
* @private
|
|
16
16
|
* @since 1.54.0
|
|
17
17
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -13,7 +13,7 @@ sap.ui.define([
|
|
|
13
13
|
* @namespace FakeFlpConnector.
|
|
14
14
|
* @name sap.ui.mdc.link.FakeFlpConnector
|
|
15
15
|
* @author SAP SE
|
|
16
|
-
* @version 1.96.
|
|
16
|
+
* @version 1.96.8
|
|
17
17
|
* @private
|
|
18
18
|
* @since 1.54.0
|
|
19
19
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
* @param {object} [mSettings] Initial settings for the new control
|
|
17
17
|
* @class A <code>LinkItem</code> control is used in the {@link sap.ui.mdc.Link} control to provide a navigation target.
|
|
18
18
|
* @extends sap.ui.core.Element
|
|
19
|
-
* @version 1.96.
|
|
19
|
+
* @version 1.96.8
|
|
20
20
|
* @constructor
|
|
21
21
|
* @private
|
|
22
22
|
* @since 1.58.0
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
* @param {object} [mSettings] initial settings for the new control
|
|
17
17
|
* @class Type for <code>items</code> aggregation in <code>Panel</code> control.
|
|
18
18
|
* @extends sap.ui.core.Element
|
|
19
|
-
* @version 1.96.
|
|
19
|
+
* @version 1.96.8
|
|
20
20
|
* @constructor
|
|
21
21
|
* @private
|
|
22
22
|
* @since 1.54.0
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
* @param {object} [mSettings] initial settings for the new control
|
|
17
17
|
* @class Type for <code>items</code> aggregation in <code>Panel</code> control.
|
|
18
18
|
* @extends sap.ui.core.XMLComposite
|
|
19
|
-
* @version 1.96.
|
|
19
|
+
* @version 1.96.8
|
|
20
20
|
* @constructor
|
|
21
21
|
* @private
|
|
22
22
|
* @since 1.54.0
|
|
@@ -295,7 +295,7 @@ p13nDialog.RESET_WARNING_TEXT=\u0623\u0646\u062A \u0639\u0644\u0649 \u0648\u0634
|
|
|
295
295
|
p13nDialog.TAB_Column=\u0627\u0644\u0623\u0639\u0645\u062F\u0629
|
|
296
296
|
p13nDialog.TAB_Sort=\u062A\u0631\u062A\u064A\u0628
|
|
297
297
|
p13nDialog.TAB_Filter=\u062A\u0635\u0641\u064A\u0629
|
|
298
|
-
p13nDialog.TAB_Group=\
|
|
298
|
+
p13nDialog.TAB_Group=\u062A\u062C\u0645\u064A\u0639
|
|
299
299
|
p13nDialog.TAB_Chart=\u0627\u0644\u0645\u062E\u0637\u0637
|
|
300
300
|
p13nDialog.HEADER_COUNT=({0}/{1})
|
|
301
301
|
|
|
@@ -294,7 +294,7 @@ p13nDialog.FILTER_GROUP_DESCRIPTION=Filtre grubu {0}
|
|
|
294
294
|
p13nDialog.RESET_WARNING_TEXT=G\u00F6r\u00FCn\u00FCm ayarlar\u0131n\u0131zda yapt\u0131\u011F\u0131n\u0131z t\u00FCm de\u011Fi\u015Fiklikleri s\u0131f\u0131rlamak ve se\u00E7ilen g\u00F6r\u00FCn\u00FCme d\u00F6nmek \u00FCzeresiniz.
|
|
295
295
|
p13nDialog.TAB_Column=S\u00FCtunlar
|
|
296
296
|
p13nDialog.TAB_Sort=S\u0131rala
|
|
297
|
-
p13nDialog.TAB_Filter=
|
|
297
|
+
p13nDialog.TAB_Filter=Filtrele
|
|
298
298
|
p13nDialog.TAB_Group=Grupla
|
|
299
299
|
p13nDialog.TAB_Chart=Grafik
|
|
300
300
|
p13nDialog.HEADER_COUNT=({0}/{1})
|
|
@@ -377,10 +377,10 @@ table.SELECTION_LIMIT_MESSAGE=\u0130\u015Faretledi\u011Finiz \u00F6\u011Felerin
|
|
|
377
377
|
table.SHOWDETAILS_TEXT=Ayr\u0131nt\u0131lar\u0131 g\u00F6ster
|
|
378
378
|
table.HIDEDETAILS_TEXT=Ayr\u0131nt\u0131lar\u0131 gizle
|
|
379
379
|
table.FILTER_INFO=Filtreleme \u00F6l\u00E7\u00FCt\u00FC\: {0}
|
|
380
|
-
table.EXPORT_BUTTON_TEXT=
|
|
380
|
+
table.EXPORT_BUTTON_TEXT=Elektronik tabloya aktar
|
|
381
381
|
table.QUICK_EXPORT=D\u0131\u015Fa aktar
|
|
382
382
|
table.EXPORT_WITH_SETTINGS=D\u0131\u015Fa aktarma bi\u00E7imi...
|
|
383
|
-
table.NO_COLS_EXPORT=\u015Eu anda tabloda g\u00F6r\u00FCn\u00FCr s\u00FCtun yok. \
|
|
383
|
+
table.NO_COLS_EXPORT=\u015Eu anda tabloda g\u00F6r\u00FCn\u00FCr s\u00FCtun yok. \nElektronik tabloya aktarmay\u0131 y\u00FCr\u00FCtmeden \u00F6nce tablo ayarlar\u0131nda ihtiyac\u0131n\u0131z olan s\u00FCtunlar\u0131 se\u00E7in.
|
|
384
384
|
table.ANNOUNCEMENT_TABLE_UPDATED=Tablo {0} g\u00FCncellendi. \u00D6\u011Feler kullan\u0131labilir.
|
|
385
385
|
table.ANNOUNCEMENT_TABLE_UPDATED_SING=Tablo {0} g\u00FCncellendi. {1} \u00F6\u011Fe kullan\u0131labilir.
|
|
386
386
|
table.ANNOUNCEMENT_TABLE_UPDATED_MULT=Tablo {0} g\u00FCncellendi. {1} \u00F6\u011Fe kullan\u0131labilir.
|
|
@@ -183,7 +183,7 @@ field.VALUE_NOT_VALID=\u503C\u65E0\u6548\u3002
|
|
|
183
183
|
|
|
184
184
|
field.NO_VALUE=\u65E0\u4EFB\u4F55\u503C
|
|
185
185
|
|
|
186
|
-
field.SEPARATOR=\
|
|
186
|
+
field.SEPARATOR=\u00B7\u00A0
|
|
187
187
|
|
|
188
188
|
valuehelp.DIALOGSHORTTITLECOLONTITLE={0}\uFF1A{1}
|
|
189
189
|
|
|
@@ -267,7 +267,7 @@ info.SELECTION_DIALOG_ALIGNEDTITLE=\u5B9A\u4E49\u94FE\u63A5\u5217\u8868
|
|
|
267
267
|
info.SELECTION_DIALOG_COLUMNHEADER=\u5168\u9009 ({0}/{1})
|
|
268
268
|
info.SELECTION_DIALOG_INFO_TOOLBAR=\u9009\u62E9\u94FE\u63A5\uFF1A
|
|
269
269
|
|
|
270
|
-
p13nDialog.VIEW_SETTINGS=\
|
|
270
|
+
p13nDialog.VIEW_SETTINGS=\u67E5\u770B\u8BBE\u7F6E
|
|
271
271
|
p13nDialog.RESET=\u91CD\u7F6E
|
|
272
272
|
p13nDialog.OK=\u786E\u5B9A
|
|
273
273
|
p13nDialog.CANCEL=\u53D6\u6D88
|
|
@@ -39,7 +39,7 @@ sap.ui.define([
|
|
|
39
39
|
* @extends sap.ui.base.Object
|
|
40
40
|
*
|
|
41
41
|
* @author SAP SE
|
|
42
|
-
* @version 1.96.
|
|
42
|
+
* @version 1.96.8
|
|
43
43
|
*
|
|
44
44
|
* @private
|
|
45
45
|
* @ui5-restricted sap.ui.mdc
|
|
@@ -231,6 +231,7 @@ sap.ui.define([
|
|
|
231
231
|
aKeys = aKeys instanceof Array ? aKeys : [aKeys];
|
|
232
232
|
|
|
233
233
|
var oResetConfig = {
|
|
234
|
+
selectors: [oControl],
|
|
234
235
|
selector: oControl
|
|
235
236
|
};
|
|
236
237
|
|
|
@@ -54,8 +54,11 @@ sap.ui.define([
|
|
|
54
54
|
|
|
55
55
|
FlexModificationHandler.prototype.reset = function(mPropertyBag, oModificationPayload){
|
|
56
56
|
var sPersistenceMode = oModificationPayload.mode;
|
|
57
|
+
|
|
57
58
|
var bIsGlobal = sPersistenceMode === mode.Global;
|
|
58
|
-
|
|
59
|
+
var bIsAutoGlobal = !oModificationPayload.hasVM && oModificationPayload.hasPP && sPersistenceMode === mode.Auto;
|
|
60
|
+
|
|
61
|
+
return (bIsGlobal || bIsAutoGlobal) ? FlexUtil.reset.call(this, mPropertyBag) : FlexUtil.restore.call(this, mPropertyBag);
|
|
59
62
|
};
|
|
60
63
|
|
|
61
64
|
FlexModificationHandler.prototype.isModificationSupported = function(mPropertyBag, oModificationPayload){
|
|
@@ -165,6 +165,7 @@ sap.ui.define([
|
|
|
165
165
|
* @param {object} mViewSettings the setting for the cutom view
|
|
166
166
|
* @param {sap.m.SegmentedButtonItem} mViewSettings.item the custom button used in the view switch
|
|
167
167
|
* @param {sap.ui.core.Control} mViewSettings.content the content displayed in the custom view
|
|
168
|
+
* @param {function} [mViewSettings.filterSelect] callback triggered by the combobox in the header area - executed with the selected key as paramter
|
|
168
169
|
* @param {function} [mViewSettings.search] callback triggered by search - executed with the string as parameter
|
|
169
170
|
* @param {function} [mViewSettings.selectionChange] callback triggered by selecting a view - executed with the key as parameter
|
|
170
171
|
*
|
|
@@ -175,6 +176,7 @@ sap.ui.define([
|
|
|
175
176
|
var oContent = mViewSettings.content;
|
|
176
177
|
var fnOnSearch = mViewSettings.search;
|
|
177
178
|
var fnSelectionChange = mViewSettings.selectionChange;
|
|
179
|
+
var fnDropDownChange = mViewSettings.filterSelect;
|
|
178
180
|
|
|
179
181
|
if (!sKey) {
|
|
180
182
|
throw new Error("Please provide an item of type sap.m.SegmentedButtonItem with a key");
|
|
@@ -186,13 +188,18 @@ sap.ui.define([
|
|
|
186
188
|
fnSelectionChange(oEvt.getParameter("item").getKey());
|
|
187
189
|
}
|
|
188
190
|
//Fire search if custom view is selected
|
|
189
|
-
if (this._isCustomView()
|
|
190
|
-
|
|
191
|
+
if (this._isCustomView()) {
|
|
192
|
+
if (fnOnSearch instanceof Function) {
|
|
193
|
+
fnOnSearch(this._getSearchField().getValue());
|
|
194
|
+
}
|
|
195
|
+
if (fnDropDownChange instanceof Function) {
|
|
196
|
+
fnDropDownChange(this._getQuickFilter().getSelectedKey());
|
|
197
|
+
}
|
|
191
198
|
}
|
|
192
199
|
}.bind(this));
|
|
193
200
|
}
|
|
194
201
|
|
|
195
|
-
if (fnOnSearch) {
|
|
202
|
+
if (fnOnSearch instanceof Function) {
|
|
196
203
|
this._getSearchField().attachLiveChange(function (oEvt) {
|
|
197
204
|
if (this._isCustomView()) {
|
|
198
205
|
//Fire search only while on the custom view
|
|
@@ -201,6 +208,15 @@ sap.ui.define([
|
|
|
201
208
|
}.bind(this));
|
|
202
209
|
}
|
|
203
210
|
|
|
211
|
+
if (fnDropDownChange instanceof Function) {
|
|
212
|
+
this._getQuickFilter().attachChange(function (oEvt){
|
|
213
|
+
if (this._isCustomView()) {
|
|
214
|
+
//Fire selection change only when on custom view
|
|
215
|
+
fnDropDownChange(this._getQuickFilter().getSelectedKey());
|
|
216
|
+
}
|
|
217
|
+
}.bind(this));
|
|
218
|
+
}
|
|
219
|
+
|
|
204
220
|
this.addView(new ContainerItem({
|
|
205
221
|
key: sKey,
|
|
206
222
|
content: oContent.addStyleClass("sapUiMDCPanelPadding")
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* is experimental and the API/behaviour is not finalised and hence this should not be used for productive usage.
|
|
23
23
|
* @extends sap.ui.core.Element
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.96.
|
|
25
|
+
* @version 1.96.8
|
|
26
26
|
* @constructor
|
|
27
27
|
* @private
|
|
28
28
|
* @experimental
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* The <code>RowSettings</code> control allows you to configure a row.
|
|
20
20
|
* You can only use this control in the context of the <code>sap.ui.mdc.Table</code> control to define row settings.
|
|
21
21
|
* @extends sap.ui.core.Element
|
|
22
|
-
* @version 1.96.
|
|
22
|
+
* @version 1.96.8
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
@@ -22,12 +22,12 @@ sap.ui.define([
|
|
|
22
22
|
* @extends sap.ui.core.Control
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.96.
|
|
25
|
+
* @version 1.96.8
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @alias sap.ui.mdc.ui.Container
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.96.
|
|
30
|
+
* @version 1.96.8
|
|
31
31
|
* @since 1.85.0
|
|
32
32
|
*
|
|
33
33
|
* @private
|
|
@@ -20,12 +20,12 @@ sap.ui.define(['sap/ui/core/Element'],
|
|
|
20
20
|
* @extends sap.ui.core.Element
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.96.
|
|
23
|
+
* @version 1.96.8
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @alias sap.ui.mdc.ui.ContainerItem
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.96.
|
|
28
|
+
* @version 1.96.8
|
|
29
29
|
* @since 1.85.0
|
|
30
30
|
*
|
|
31
31
|
* @private
|
|
@@ -44,7 +44,7 @@ sap.ui.define(
|
|
|
44
44
|
* Destroying the cache will cancel all registered promises and delete references. Convenience methods for promise creation, wrapping and replacement are offered.
|
|
45
45
|
*
|
|
46
46
|
* @author SAP SE
|
|
47
|
-
* @version 1.96.
|
|
47
|
+
* @version 1.96.8
|
|
48
48
|
* @alias sap.ui.mdc.util.PromiseCache
|
|
49
49
|
* @namespace
|
|
50
50
|
* @since 1.85.0
|