@openui5/sap.ui.mdc 1.93.3 → 1.96.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/.reuse/dep5 +6 -11
- package/THIRDPARTY.txt +10 -16
- package/package.json +4 -4
- package/src/sap/ui/mdc/.library +1 -1
- package/src/sap/ui/mdc/ActionToolbar.js +236 -334
- package/src/sap/ui/mdc/AggregationBaseDelegate.js +2 -1
- package/src/sap/ui/mdc/Chart.js +150 -22
- package/src/sap/ui/mdc/ChartDelegateNew.js +15 -0
- package/src/sap/ui/mdc/ChartNew.js +107 -66
- package/src/sap/ui/mdc/Control.js +4 -3
- package/src/sap/ui/mdc/Element.js +5 -4
- package/src/sap/ui/mdc/Field.js +2 -2
- package/src/sap/ui/mdc/FilterBar.js +1 -10
- package/src/sap/ui/mdc/FilterField.js +28 -4
- package/src/sap/ui/mdc/Link.js +2 -2
- package/src/sap/ui/mdc/MultiValueField.js +1 -1
- package/src/sap/ui/mdc/Table.js +160 -79
- package/src/sap/ui/mdc/TableDelegate.js +20 -3
- package/src/sap/ui/mdc/ValueHelp.js +1474 -0
- package/src/sap/ui/mdc/ValueHelpDelegate.js +147 -0
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +49 -104
- package/src/sap/ui/mdc/chart/DimensionItem.js +3 -3
- package/src/sap/ui/mdc/chart/Item.js +2 -3
- package/src/sap/ui/mdc/chart/MeasureItem.js +2 -2
- package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +21 -2
- package/src/sap/ui/mdc/chart/ToolbarHandler.js +237 -225
- package/src/sap/ui/mdc/chartNew/ChartSelectionDetailsNew.js +1 -1
- package/src/sap/ui/mdc/chartNew/ChartToolbarNew.js +14 -10
- package/src/sap/ui/mdc/chartNew/ChartTypeButtonNew.js +1 -1
- package/src/sap/ui/mdc/chartNew/DrillStackHandlerNew.js +12 -10
- package/src/sap/ui/mdc/chartNew/ItemNew.js +0 -1
- package/src/sap/ui/mdc/chartNew/PropertyHelperNew.js +1 -1
- package/src/sap/ui/mdc/condition/Condition.js +2 -2
- 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 +13 -7
- package/src/sap/ui/mdc/condition/Operator.js +4 -4
- package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
- package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +43 -0
- package/src/sap/ui/mdc/designtime/chart/ChartNew.designtime.js +91 -0
- package/src/sap/ui/mdc/designtime/filterbar/FilterBar.designtime.js +20 -0
- package/src/sap/ui/mdc/designtime/filterbar/FilterBarBase.designtime.js +31 -0
- package/src/sap/ui/mdc/designtime/table/Table.designtime.js +5 -0
- package/src/sap/ui/mdc/enum/ContentMode.js +25 -4
- package/src/sap/ui/mdc/enum/SelectType.js +43 -0
- 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 +19 -4
- package/src/sap/ui/mdc/field/ConditionsType.js +5 -4
- 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 +38 -14
- package/src/sap/ui/mdc/field/FieldBase.js +92 -41
- package/src/sap/ui/mdc/field/FieldBaseDelegate.js +9 -2
- package/src/sap/ui/mdc/field/FieldHelpBase.js +64 -4
- package/src/sap/ui/mdc/field/FieldInfoBase.js +9 -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 +7 -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 +2 -2
- 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 +3 -3
- 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/field/content/BooleanContent.js +15 -3
- package/src/sap/ui/mdc/field/content/ContentFactory.js +16 -8
- package/src/sap/ui/mdc/field/content/DefaultContent.js +64 -23
- package/src/sap/ui/mdc/field/content/LinkContent.js +6 -0
- package/src/sap/ui/mdc/field/content/SearchContent.js +21 -3
- package/src/sap/ui/mdc/field/content/UnitContent.js +2 -2
- package/src/sap/ui/mdc/filterbar/FilterBarBase.js +105 -44
- package/src/sap/ui/mdc/filterbar/PropertyHelper.js +52 -0
- package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +10 -51
- package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +1 -1
- package/src/sap/ui/mdc/flexibility/ActionToolbar.flexibility.js +22 -0
- package/src/sap/ui/mdc/flexibility/ActionToolbarAction.flexibility.js +19 -0
- package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/ConditionFlex.js +57 -46
- 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/flexibility/ItemBaseFlex.js +203 -197
- package/src/sap/ui/mdc/library.js +588 -8
- 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 +2 -2
- 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.properties +31 -5
- package/src/sap/ui/mdc/messagebundle_ar.properties +11 -4
- package/src/sap/ui/mdc/messagebundle_bg.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_ca.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_cs.properties +12 -5
- package/src/sap/ui/mdc/messagebundle_cy.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_da.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_de.properties +12 -5
- package/src/sap/ui/mdc/messagebundle_el.properties +11 -4
- package/src/sap/ui/mdc/messagebundle_en.properties +9 -2
- package/src/sap/ui/mdc/messagebundle_en_GB.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +11 -3
- package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +19 -3
- package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_es.properties +35 -28
- package/src/sap/ui/mdc/messagebundle_es_MX.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_et.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_fi.properties +11 -4
- package/src/sap/ui/mdc/messagebundle_fr.properties +22 -15
- package/src/sap/ui/mdc/messagebundle_fr_CA.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_hi.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_hr.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_hu.properties +11 -4
- package/src/sap/ui/mdc/messagebundle_id.properties +11 -4
- package/src/sap/ui/mdc/messagebundle_it.properties +33 -26
- package/src/sap/ui/mdc/messagebundle_iw.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_ja.properties +13 -6
- package/src/sap/ui/mdc/messagebundle_kk.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_ko.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_lt.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_lv.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_ms.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_nl.properties +11 -4
- package/src/sap/ui/mdc/messagebundle_no.properties +17 -10
- package/src/sap/ui/mdc/messagebundle_pl.properties +14 -7
- package/src/sap/ui/mdc/messagebundle_pt.properties +11 -4
- package/src/sap/ui/mdc/messagebundle_pt_PT.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_ro.properties +13 -6
- package/src/sap/ui/mdc/messagebundle_ru.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_sh.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_sk.properties +11 -4
- package/src/sap/ui/mdc/messagebundle_sl.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_sv.properties +11 -4
- package/src/sap/ui/mdc/messagebundle_th.properties +16 -9
- package/src/sap/ui/mdc/messagebundle_tr.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_uk.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_vi.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_zh_CN.properties +10 -3
- package/src/sap/ui/mdc/messagebundle_zh_TW.properties +10 -3
- package/src/sap/ui/mdc/mixin/AdaptationMixin.js +1 -1
- package/src/sap/ui/mdc/mixin/DelegateMixin.js +2 -2
- package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +3 -3
- package/src/sap/ui/mdc/mixin/PromiseMixin.js +94 -0
- package/src/sap/ui/mdc/odata/v4/ChartPropertyHelperNew.js +1 -1
- package/src/sap/ui/mdc/odata/v4/FilterBarDelegate.js +6 -6
- package/src/sap/ui/mdc/odata/v4/TableDelegate.js +37 -10
- package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +94 -0
- package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegateNew.js +492 -203
- package/src/sap/ui/mdc/p13n/DefaultProviderRegistry.js +1 -1
- package/src/sap/ui/mdc/p13n/Engine.js +3 -2
- package/src/sap/ui/mdc/p13n/P13nBuilder.js +6 -60
- 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/ModificationHandler.js +22 -24
- package/src/sap/ui/mdc/p13n/panels/ActionToolbarPanel.js +59 -0
- package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +1 -2
- package/src/sap/ui/mdc/p13n/panels/BasePanel.js +17 -8
- package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +1 -2
- package/src/sap/ui/mdc/p13n/panels/ChartItemPanelNew.js +1171 -0
- package/src/sap/ui/mdc/p13n/panels/GroupPanel.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/GroupView.js +7 -11
- package/src/sap/ui/mdc/p13n/panels/ListView.js +5 -3
- package/src/sap/ui/mdc/p13n/panels/QueryPanel.js +16 -9
- package/src/sap/ui/mdc/p13n/panels/SelectionPanel.js +0 -1
- package/src/sap/ui/mdc/p13n/panels/SortPanel.js +0 -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/ActionToolbarController.js +89 -0
- package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +9 -6
- package/src/sap/ui/mdc/p13n/subcontroller/ChartItemController.js +33 -4
- package/src/sap/ui/mdc/p13n/subcontroller/ColumnController.js +9 -15
- package/src/sap/ui/mdc/p13n/subcontroller/FilterController.js +12 -0
- package/src/sap/ui/mdc/p13n/subcontroller/GroupController.js +5 -12
- package/src/sap/ui/mdc/p13n/subcontroller/SortController.js +19 -21
- package/src/sap/ui/mdc/table/Column.js +35 -9
- package/src/sap/ui/mdc/table/CreationRow.js +1 -1
- package/src/sap/ui/mdc/table/GridTableType.js +0 -1
- package/src/sap/ui/mdc/table/PropertyHelper.js +108 -5
- package/src/sap/ui/mdc/table/ResponsiveTableType.js +19 -3
- package/src/sap/ui/mdc/table/RowSettings.js +1 -1
- package/src/sap/ui/mdc/table/TableTypeBase.js +0 -1
- package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +1 -1
- package/src/sap/ui/mdc/themes/base/FilterBar.less +2 -2
- package/src/sap/ui/mdc/themes/base/GroupView.less +2 -2
- package/src/sap/ui/mdc/themes/base/ListView.less +2 -2
- package/src/sap/ui/mdc/themes/base/ValueHelpDialog.less +56 -21
- 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/Common.js +26 -0
- package/src/sap/ui/mdc/util/FilterUtil.js +12 -1
- package/src/sap/ui/mdc/util/IdentifierUtil.js +4 -0
- package/src/sap/ui/mdc/util/PromiseCache.js +266 -0
- package/src/sap/ui/mdc/util/PropertyHelper.js +22 -1
- package/src/sap/ui/mdc/valuehelp/Dialog.js +498 -0
- package/src/sap/ui/mdc/valuehelp/Popover.js +362 -0
- package/src/sap/ui/mdc/valuehelp/base/Container.js +642 -0
- package/src/sap/ui/mdc/valuehelp/base/Content.js +628 -0
- package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +139 -0
- package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +557 -0
- package/src/sap/ui/mdc/valuehelp/base/ListContent.js +133 -0
- package/src/sap/ui/mdc/valuehelp/content/Bool.js +318 -0
- package/src/sap/ui/mdc/valuehelp/content/Conditions.js +276 -0
- package/src/sap/ui/mdc/valuehelp/content/FixedList.js +532 -0
- package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +638 -0
- package/src/sap/ui/mdc/valuehelp/content/MTable.js +916 -0
- package/test/sap/ui/mdc/testutils/opa/TestLibrary.js +3 -2
- package/test/sap/ui/mdc/testutils/opa/actions/OpenContextMenu.js +48 -0
- package/test/sap/ui/mdc/testutils/opa/chartNew/ActionsBase.js +310 -0
- package/test/sap/ui/mdc/testutils/opa/chartNew/ActionsViz.js +39 -0
- package/test/sap/ui/mdc/testutils/opa/chartNew/AssertionsBase.js +118 -0
- package/test/sap/ui/mdc/testutils/opa/chartNew/AssertionsViz.js +137 -0
- package/test/sap/ui/mdc/testutils/opa/chartNew/ChartNew.js +24 -0
- package/test/sap/ui/mdc/testutils/opa/chartNew/TestObjects.js +289 -0
- package/test/sap/ui/mdc/testutils/opa/filterbar/Actions.js +250 -0
- package/test/sap/ui/mdc/testutils/opa/filterbar/Assertions.js +91 -0
- package/test/sap/ui/mdc/testutils/opa/filterbar/TestObjects.js +137 -0
- package/test/sap/ui/mdc/testutils/opa/filterbar/Util.js +25 -0
- package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +401 -93
- package/test/sap/ui/mdc/testutils/opa/p13n/Util.js +4 -1
- package/test/sap/ui/mdc/testutils/opa/p13n/{waitForP13nButtonWithParentAndIcon.js → waitForP13nButtonWithMatchers.js} +5 -18
- package/test/sap/ui/mdc/testutils/opa/table/TestObjects.js +0 -1
|
@@ -15,7 +15,7 @@ sap.ui.define([
|
|
|
15
15
|
"use strict";
|
|
16
16
|
|
|
17
17
|
sap.ui.getCore().initLibrary({
|
|
18
|
-
version: "1.
|
|
18
|
+
version: "1.96.1",
|
|
19
19
|
name: "sap.ui.mdc",
|
|
20
20
|
dependencies: ["sap.ui.core", "sap.m"],
|
|
21
21
|
designtime: "sap/ui/mdc/designtime/library.designtime",
|
|
@@ -32,7 +32,12 @@ sap.ui.define([
|
|
|
32
32
|
interfaces: [
|
|
33
33
|
"sap.ui.mdc.IFilterSource",
|
|
34
34
|
"sap.ui.mdc.IFilter",
|
|
35
|
-
"sap.ui.mdc.IxState"
|
|
35
|
+
"sap.ui.mdc.IxState",
|
|
36
|
+
"sap.ui.mdc.valuehelp.ITypeaheadContent",
|
|
37
|
+
"sap.ui.mdc.valuehelp.IDialogContent",
|
|
38
|
+
"sap.ui.mdc.valuehelp.ITypeaheadContainer",
|
|
39
|
+
"sap.ui.mdc.valuehelp.IDialogContainer"
|
|
40
|
+
|
|
36
41
|
],
|
|
37
42
|
controls: [
|
|
38
43
|
"sap.ui.mdc.Chart",
|
|
@@ -59,6 +64,7 @@ sap.ui.define([
|
|
|
59
64
|
"sap.ui.mdc.table.GridTableType",
|
|
60
65
|
"sap.ui.mdc.table.ResponsiveTableType",
|
|
61
66
|
"sap.ui.mdc.table.RowSettings",
|
|
67
|
+
"sap.ui.mdc.chart.Item",
|
|
62
68
|
"sap.ui.mdc.chart.DimensionItem",
|
|
63
69
|
"sap.ui.mdc.chart.MeasureItem",
|
|
64
70
|
"sap.ui.mdc.chartNew.ItemNew",
|
|
@@ -94,7 +100,10 @@ sap.ui.define([
|
|
|
94
100
|
"sap.ui.mdc.field.InParameter",
|
|
95
101
|
"sap.ui.mdc.field.OutParameter",
|
|
96
102
|
"sap.ui.mdc.ui.ContainerItem",
|
|
97
|
-
"sap.ui.mdc.field.MultiValueFieldItem"
|
|
103
|
+
"sap.ui.mdc.field.MultiValueFieldItem",
|
|
104
|
+
"sap.ui.mdc.ValueHelp",
|
|
105
|
+
"sap.ui.mdc.valuehelp.Popover",
|
|
106
|
+
"sap.ui.mdc.valuehelp.Dialog"
|
|
98
107
|
],
|
|
99
108
|
extensions: {
|
|
100
109
|
flChangeHandlers: {
|
|
@@ -104,11 +113,578 @@ sap.ui.define([
|
|
|
104
113
|
"sap.ui.mdc.FilterBar": "sap/ui/mdc/flexibility/FilterBar",
|
|
105
114
|
"sap.ui.mdc.filterbar.p13n.AdaptationFilterBar": "sap/ui/mdc/flexibility/FilterBar",
|
|
106
115
|
"sap.ui.mdc.link.PanelItem": "sap/ui/mdc/flexibility/PanelItem",
|
|
107
|
-
"sap.ui.mdc.link.Panel": "sap/ui/mdc/flexibility/Panel"
|
|
116
|
+
"sap.ui.mdc.link.Panel": "sap/ui/mdc/flexibility/Panel",
|
|
117
|
+
"sap.ui.mdc.ActionToolbar": "sap/ui/mdc/flexibility/ActionToolbar",
|
|
118
|
+
"sap.ui.mdc.actiontoolbar.ActionToolbarAction": "sap/ui/mdc/flexibility/ActionToolbarAction",
|
|
119
|
+
"sap.ui.mdc.chartNew.ChartToolbarNew": "sap/ui/mdc/flexibility/ActionToolbar"
|
|
108
120
|
}
|
|
109
121
|
},
|
|
110
122
|
noLibraryCSS: false
|
|
111
123
|
});
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* Interface for valuehelp containers / contents supporting typeahead functionality
|
|
133
|
+
*
|
|
134
|
+
*
|
|
135
|
+
* @since 1.95
|
|
136
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContent
|
|
137
|
+
* @interface
|
|
138
|
+
* @private
|
|
139
|
+
* @ui5-restricted sap.ui.mdc.valuehelp.ITypeaheadContainer
|
|
140
|
+
*/
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContent#cancel
|
|
145
|
+
* @event
|
|
146
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
147
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
148
|
+
*/
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContent#confirm
|
|
153
|
+
* @event
|
|
154
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
155
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
156
|
+
*/
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContent#requestDelegateContent
|
|
161
|
+
* @event
|
|
162
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
163
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
164
|
+
*/
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContent#select
|
|
169
|
+
* @event
|
|
170
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
171
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
172
|
+
*/
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Returns a title for the given Content
|
|
176
|
+
*
|
|
177
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContent.getTitle
|
|
178
|
+
* @method
|
|
179
|
+
* @returns {string} Content title as string
|
|
180
|
+
|
|
181
|
+
* @ui5-restricted sap.ui.mdc.valuehelp.ITypeaheadContainer
|
|
182
|
+
*/
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Returns info if the given content is in multi select mode
|
|
186
|
+
*
|
|
187
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContent.isMultiSelect
|
|
188
|
+
* @method
|
|
189
|
+
* @returns {string} Content title as string
|
|
190
|
+
|
|
191
|
+
* @ui5-restricted sap.ui.mdc.valuehelp.ITypeaheadContainer
|
|
192
|
+
*/
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Loads additional dependencies, creates and returns displayed content.
|
|
196
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContent.getContent
|
|
197
|
+
* @method
|
|
198
|
+
* @returns {Promise<sap.ui.core.Control>} Promise resolving in displayed content
|
|
199
|
+
* @private
|
|
200
|
+
* @ui5-restricted sap.ui.mdc.valuehelp.ITypeaheadContainer
|
|
201
|
+
*/
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Determines the item (key and description) for a given value.
|
|
206
|
+
*
|
|
207
|
+
* The value help checks if there is an item with a key or description that fits this value.
|
|
208
|
+
*
|
|
209
|
+
* <b>Note:</b> This function must only be called by the control the <code>ValuedHelp</code> element
|
|
210
|
+
* belongs to, not by the application.
|
|
211
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContent.getItemForValue
|
|
212
|
+
* @method
|
|
213
|
+
* @param {object} oConfig Configuration
|
|
214
|
+
* @param {any} oConfig.value Value as entered by user
|
|
215
|
+
* @param {any} [oConfig.parsedValue] Value parsed by type to fit the data type of the key
|
|
216
|
+
* @param {object} [oConfig.inParameters] In parameters for the key (as a key must not be unique.)
|
|
217
|
+
* @param {object} [oConfig.outParameters] Out parameters for the key (as a key must not be unique.)
|
|
218
|
+
* @param {sap.ui.model.Context} [oConfig.bindingContext] <code>BindingContext</code> of the checked field. Inside a table the <code>ValueHelp</code> element might be connected to a different row.
|
|
219
|
+
* @param {boolean} [oConfig.checkKeyFirst] If set, the value help checks first if the value fits a key // TODO: not longer needed?
|
|
220
|
+
* @param {boolean} oConfig.checkKey If set, the value help checks only if there is an item with the given key. This is set to <code>false</code> if the value cannot be a valid key because of type validation.
|
|
221
|
+
* @param {boolean} oConfig.checkDescription If set, the field help checks only if there is an item with the given description. This is set to <code>false</code> if only the key is used in the field.
|
|
222
|
+
* @param {sap.ui.mdc.condition.ConditionModel} [oConfig.conditionModel] <code>ConditionModel</code>, in case of <code>FilterField</code>
|
|
223
|
+
* @param {string} [oConfig.conditionModelName] Name of the <code>ConditionModel</code>, in case of <code>FilterField</code>
|
|
224
|
+
* @returns {Promise<sap.ui.mdc.valuehelp.ValueHelpItem>} Promise returning object containing description, key, in and out parameters.
|
|
225
|
+
* @throws {sap.ui.model.FormatException|sap.ui.model.ParseException} if entry is not found or not unique
|
|
226
|
+
*
|
|
227
|
+
* @private
|
|
228
|
+
* @ui5-restricted sap.ui.mdc.valuehelp.ITypeaheadContainer
|
|
229
|
+
*/
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Navigates the typeaheads values (optional)
|
|
233
|
+
*
|
|
234
|
+
* As this could be asyncronous as data might be loaded a promise is returned.
|
|
235
|
+
*
|
|
236
|
+
*
|
|
237
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContent.navigate
|
|
238
|
+
* @method
|
|
239
|
+
* @param {int} iStep Number of steps for navigation (e.g. 1 means next item, -1 means previous item)
|
|
240
|
+
* @returns {Promise<object>} Promise returning object of navigated item (condition and itemId)
|
|
241
|
+
*
|
|
242
|
+
* @private
|
|
243
|
+
* @ui5-restricted sap.ui.mdc.valuehelp.ITypeaheadContainer
|
|
244
|
+
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
245
|
+
*/
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* This optional event is fired after either a filter value or the visibility of a filter item has been changed.
|
|
250
|
+
*
|
|
251
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContent#navigated
|
|
252
|
+
* @event
|
|
253
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
254
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
255
|
+
* @param {object} oControlEvent.getParameters
|
|
256
|
+
* @param {boolean} oControlEvent.getParameters.bLeaveFocus Indicates that the source control should be focused again
|
|
257
|
+
* @param {object} oControlEvent.getParameters.condition Provides the target condition of the navigation
|
|
258
|
+
* @param {string} oControlEvent.getParameters.value When no condition is given this can be used to create a default condition
|
|
259
|
+
* @param {string} oControlEvent.getParameters.key When no condition is given this can be used to create a default condition
|
|
260
|
+
* @param {string} oControlEvent.getParameters.itemId provides the navigated item's id (useful for aria attributes)
|
|
261
|
+
*/
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* This optional event can be fired by typaehead contents also supporting dialog mode.
|
|
265
|
+
*
|
|
266
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContent#requestSwitchToDialog
|
|
267
|
+
* @event
|
|
268
|
+
*/
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
If the container is used for type-ahead it might be wanted that the same content should also be shown as valuehelp. If not, the field should not show a valuehelp icon.
|
|
272
|
+
*
|
|
273
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContent.getUseAsValueHelp
|
|
274
|
+
* @method
|
|
275
|
+
* @private
|
|
276
|
+
* @ui5-restricted sap.ui.mdc.valuehelp.ITypeaheadContainer
|
|
277
|
+
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
278
|
+
*/
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Defines if the typeahead can be used for input validation.
|
|
282
|
+
*
|
|
283
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContent.isValidationSupported
|
|
284
|
+
* @method
|
|
285
|
+
* @returns {boolean} True if the typeahead container can be used for input validation
|
|
286
|
+
*
|
|
287
|
+
* @private
|
|
288
|
+
* @ui5-restricted sap.ui.mdc.valuehelp.ITypeaheadContainer
|
|
289
|
+
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
290
|
+
*/
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Defines if the typeahead containers values can be navigated without visibly opening the help
|
|
294
|
+
*
|
|
295
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContent.shouldOpenOnNavigate
|
|
296
|
+
* @method
|
|
297
|
+
* @returns {boolean} True if value help shall open as valuehelp
|
|
298
|
+
* @private
|
|
299
|
+
* @ui5-restricted sap.ui.mdc.valuehelp.ITypeaheadContainer
|
|
300
|
+
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
301
|
+
*/
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* The focus visualization of the field help needs to be removed as the user starts typing into the source control.
|
|
305
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContent.removeFocus
|
|
306
|
+
* @method
|
|
307
|
+
* @private
|
|
308
|
+
* @ui5-restricted sap.ui.mdc.valuehelp.ITypeaheadContainer
|
|
309
|
+
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
310
|
+
*/
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* Interface for valuehelp containers
|
|
316
|
+
*
|
|
317
|
+
*
|
|
318
|
+
* @since 1.95
|
|
319
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer
|
|
320
|
+
* @interface
|
|
321
|
+
* @private
|
|
322
|
+
* @ui5-restricted sap.ui.mdc.ValueHelp
|
|
323
|
+
*/
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer#cancel
|
|
328
|
+
* @event
|
|
329
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
330
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
331
|
+
*/
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
*
|
|
335
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer#confirm
|
|
336
|
+
* @event
|
|
337
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
338
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
339
|
+
*/
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
*
|
|
343
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer#requestDelegateContent
|
|
344
|
+
* @event
|
|
345
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
346
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
347
|
+
*/
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
*
|
|
351
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer#select
|
|
352
|
+
* @event
|
|
353
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
354
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
355
|
+
*/
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer#opened
|
|
360
|
+
* @event
|
|
361
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
362
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
363
|
+
*/
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer#closed
|
|
368
|
+
* @event
|
|
369
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
370
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
371
|
+
*/
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Opens the container
|
|
375
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer.open
|
|
376
|
+
* @method
|
|
377
|
+
* @returns {Promise} This promise resolves after the container completely opened.
|
|
378
|
+
*
|
|
379
|
+
* @private
|
|
380
|
+
* @ui5-restricted sap.ui.mdc.ValueHelp
|
|
381
|
+
*/
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* Closes the container
|
|
385
|
+
*
|
|
386
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer.close
|
|
387
|
+
* @method
|
|
388
|
+
* @returns {Promise} This promise resolves after the container completely closed.
|
|
389
|
+
*
|
|
390
|
+
* @private
|
|
391
|
+
* @ui5-restricted sap.ui.mdc.ValueHelp
|
|
392
|
+
*/
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Determines the item (key and description) for a given value.
|
|
396
|
+
*
|
|
397
|
+
* The value help checks if there is an item with a key or description that fits this value.
|
|
398
|
+
*
|
|
399
|
+
* <b>Note:</b> This function must only be called by the control the <code>ValuedHelp</code> element
|
|
400
|
+
* belongs to, not by the application.
|
|
401
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer.getItemForValue
|
|
402
|
+
* @method
|
|
403
|
+
* @param {object} oConfig Configuration
|
|
404
|
+
* @param {any} oConfig.value Value as entered by user
|
|
405
|
+
* @param {any} [oConfig.parsedValue] Value parsed by type to fit the data type of the key
|
|
406
|
+
* @param {object} [oConfig.inParameters] In parameters for the key (as a key must not be unique.)
|
|
407
|
+
* @param {object} [oConfig.outParameters] Out parameters for the key (as a key must not be unique.)
|
|
408
|
+
* @param {sap.ui.model.Context} [oConfig.bindingContext] <code>BindingContext</code> of the checked field. Inside a table the <code>ValueHelp</code> element might be connected to a different row.
|
|
409
|
+
* @param {boolean} [oConfig.checkKeyFirst] If set, the value help checks first if the value fits a key // TODO: not longer needed?
|
|
410
|
+
* @param {boolean} oConfig.checkKey If set, the value help checks only if there is an item with the given key. This is set to <code>false</code> if the value cannot be a valid key because of type validation.
|
|
411
|
+
* @param {boolean} oConfig.checkDescription If set, the field help checks only if there is an item with the given description. This is set to <code>false</code> if only the key is used in the field.
|
|
412
|
+
* @param {sap.ui.mdc.condition.ConditionModel} [oConfig.conditionModel] <code>ConditionModel</code>, in case of <code>FilterField</code>
|
|
413
|
+
* @param {string} [oConfig.conditionModelName] Name of the <code>ConditionModel</code>, in case of <code>FilterField</code>
|
|
414
|
+
* @returns {Promise<sap.ui.mdc.valuehelp.ValueHelpItem>} Promise returning object containing description, key, in and out parameters.
|
|
415
|
+
* @throws {sap.ui.model.FormatException|sap.ui.model.ParseException} if entry is not found or not unique
|
|
416
|
+
*
|
|
417
|
+
* @private
|
|
418
|
+
* @ui5-restricted sap.ui.mdc.ValueHelp
|
|
419
|
+
*/
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Navigates the typeaheads values (optional)
|
|
423
|
+
*
|
|
424
|
+
* As this could be asyncronous as data might be loaded a promise is returned.
|
|
425
|
+
*
|
|
426
|
+
*
|
|
427
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer.navigate
|
|
428
|
+
* @method
|
|
429
|
+
* @param {int} iStep Number of steps for navigation (e.g. 1 means next item, -1 means previous item)
|
|
430
|
+
* @returns {Promise<object>} Promise returning object of navigated item (condition and itemId)
|
|
431
|
+
*
|
|
432
|
+
* @private
|
|
433
|
+
* @ui5-restricted sap.ui.mdc.ValueHelp
|
|
434
|
+
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
435
|
+
*/
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* This optional event is fired after either a filter value or the visibility of a filter item has been changed.
|
|
440
|
+
*
|
|
441
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer#navigated
|
|
442
|
+
* @event
|
|
443
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
444
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
445
|
+
* @param {object} oControlEvent.getParameters
|
|
446
|
+
* @param {boolean} oControlEvent.getParameters.bLeaveFocus Indicates that the source control should be focused again
|
|
447
|
+
* @param {object} oControlEvent.getParameters.condition Provides the target condition of the navigation
|
|
448
|
+
* @param {string} oControlEvent.getParameters.value When no condition is given this can be used to create a default condition
|
|
449
|
+
* @param {string} oControlEvent.getParameters.key When no condition is given this can be used to create a default condition
|
|
450
|
+
* @param {string} oControlEvent.getParameters.itemId provides the navigated item's id (useful for aria attributes)
|
|
451
|
+
*/
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* This optional event can be fired by typaehead contents also supporting dialog mode.
|
|
455
|
+
*
|
|
456
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer#requestSwitchToDialog
|
|
457
|
+
* @event
|
|
458
|
+
*/
|
|
459
|
+
|
|
460
|
+
/**
|
|
461
|
+
If the container is used for type-ahead it might be wanted that the same content should also be shown as valuehelp. If not, the field should not show a valuehelp icon.
|
|
462
|
+
*
|
|
463
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer.getUseAsValueHelp
|
|
464
|
+
* @method
|
|
465
|
+
* @private
|
|
466
|
+
* @ui5-restricted sap.ui.mdc.ValueHelp
|
|
467
|
+
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
468
|
+
*/
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Defines if the typeahead can be used for input validation.
|
|
472
|
+
*
|
|
473
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer.isValidationSupported
|
|
474
|
+
* @method
|
|
475
|
+
* @returns {boolean} True if the typeahead container can be used for input validation
|
|
476
|
+
*
|
|
477
|
+
* @private
|
|
478
|
+
* @ui5-restricted sap.ui.mdc.ValueHelp
|
|
479
|
+
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
480
|
+
*/
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Defines if the typeahead containers values can be navigated without visibly opening the help
|
|
484
|
+
*
|
|
485
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer.shouldOpenOnNavigate
|
|
486
|
+
* @method
|
|
487
|
+
* @returns {boolean} True if value help shall open as valuehelp
|
|
488
|
+
* @private
|
|
489
|
+
* @ui5-restricted sap.ui.mdc.ValueHelp
|
|
490
|
+
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
491
|
+
*/
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* The focus visualization of the field help needs to be removed as the user starts typing into the source control.
|
|
495
|
+
* @name sap.ui.mdc.valuehelp.ITypeaheadContainer.removeFocus
|
|
496
|
+
* @method
|
|
497
|
+
* @private
|
|
498
|
+
* @ui5-restricted sap.ui.mdc.ValueHelp
|
|
499
|
+
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
500
|
+
*/
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* Interface for valuehelp containers / contents supporting typeahead functionality
|
|
506
|
+
*
|
|
507
|
+
*
|
|
508
|
+
* @since 1.95
|
|
509
|
+
* @name sap.ui.mdc.valuehelp.IDialogContent
|
|
510
|
+
* @interface
|
|
511
|
+
* @private
|
|
512
|
+
* @ui5-restricted sap.ui.mdc.valuehelp.IDialogContainer
|
|
513
|
+
*/
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
*
|
|
517
|
+
* @name sap.ui.mdc.valuehelp.IDialogContent#cancel
|
|
518
|
+
* @event
|
|
519
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
520
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
521
|
+
*/
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
*
|
|
525
|
+
* @name sap.ui.mdc.valuehelp.IDialogContent#confirm
|
|
526
|
+
* @event
|
|
527
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
528
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
529
|
+
*/
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
*
|
|
533
|
+
* @name sap.ui.mdc.valuehelp.IDialogContent#requestDelegateContent
|
|
534
|
+
* @event
|
|
535
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
536
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
537
|
+
*/
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @name sap.ui.mdc.valuehelp.IDialogContent#select
|
|
542
|
+
* @event
|
|
543
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
544
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
545
|
+
*/
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
*
|
|
549
|
+
* Returns number of relevant conditions for this content
|
|
550
|
+
*
|
|
551
|
+
* @name sap.ui.mdc.valuehelp.IDialogContent.getCount
|
|
552
|
+
* @method
|
|
553
|
+
* @returns {number} Number of relevant conditions
|
|
554
|
+
* @private
|
|
555
|
+
* @ui5-restricted sap.ui.mdc.valuehelp.IDialogContainer
|
|
556
|
+
*/
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Returns a title for the given Content
|
|
560
|
+
*
|
|
561
|
+
* @name sap.ui.mdc.valuehelp.IDialogContent.getTitle
|
|
562
|
+
* @method
|
|
563
|
+
* @returns {string} Content title as string
|
|
564
|
+
* @ui5-restricted sap.ui.mdc.valuehelp.IDialogContainer
|
|
565
|
+
*/
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Returns info if the given content is in multi select mode
|
|
569
|
+
*
|
|
570
|
+
* @name sap.ui.mdc.valuehelp.IDialogContent.isMultiSelect
|
|
571
|
+
* @method
|
|
572
|
+
* @returns {string} Content title as string
|
|
573
|
+
|
|
574
|
+
* @ui5-restricted sap.ui.mdc.valuehelp.IDialogContainer
|
|
575
|
+
*/
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Loads additional dependencies, creates and returns displayed content.
|
|
579
|
+
* @name sap.ui.mdc.valuehelp.IDialogContent.getContent
|
|
580
|
+
* @method
|
|
581
|
+
* @returns {Promise<sap.ui.core.Control>} Promise resolving in displayed content
|
|
582
|
+
* @private
|
|
583
|
+
* @ui5-restricted sap.ui.mdc.valuehelp.IDialogContainer
|
|
584
|
+
*/
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
*
|
|
590
|
+
* Interface for valuehelp containers
|
|
591
|
+
*
|
|
592
|
+
*
|
|
593
|
+
* @since 1.95
|
|
594
|
+
* @name sap.ui.mdc.valuehelp.IDialogContainer
|
|
595
|
+
* @interface
|
|
596
|
+
* @private
|
|
597
|
+
* @ui5-restricted sap.ui.mdc.valuehelp.IDialogContainer
|
|
598
|
+
*/
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
*
|
|
602
|
+
* @name sap.ui.mdc.valuehelp.IDialogContainer#cancel
|
|
603
|
+
* @event
|
|
604
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
605
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
606
|
+
*/
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
*
|
|
610
|
+
* @name sap.ui.mdc.valuehelp.IDialogContainer#confirm
|
|
611
|
+
* @event
|
|
612
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
613
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
614
|
+
*/
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
*
|
|
618
|
+
* @name sap.ui.mdc.valuehelp.IDialogContainer#requestDelegateContent
|
|
619
|
+
* @event
|
|
620
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
621
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
622
|
+
*/
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
*
|
|
626
|
+
* @name sap.ui.mdc.valuehelp.IDialogContainer#select
|
|
627
|
+
* @event
|
|
628
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
629
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
630
|
+
*/
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
*
|
|
634
|
+
* @name sap.ui.mdc.valuehelp.IDialogContainer#opened
|
|
635
|
+
* @event
|
|
636
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
637
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
638
|
+
*/
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
*
|
|
642
|
+
* @name sap.ui.mdc.valuehelp.IDialogContainer#closed
|
|
643
|
+
* @event
|
|
644
|
+
* @param {sap.ui.base.Event} oControlEvent
|
|
645
|
+
* @param {sap.ui.base.EventProvider} oControlEvent.getSource
|
|
646
|
+
*/
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* Opens the container
|
|
650
|
+
* @name sap.ui.mdc.valuehelp.IDialogContainer.open
|
|
651
|
+
* @method
|
|
652
|
+
* @returns {Promise} This promise resolves after the container completely opened.
|
|
653
|
+
* @private
|
|
654
|
+
* @ui5-restricted sap.ui.mdc.ValueHelp
|
|
655
|
+
*/
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* Closes the container
|
|
659
|
+
*
|
|
660
|
+
* @name sap.ui.mdc.valuehelp.IDialogContainer.close
|
|
661
|
+
* @method
|
|
662
|
+
* @returns {Promise} This promise resolves after the container completely closed.
|
|
663
|
+
*
|
|
664
|
+
* @private
|
|
665
|
+
* @ui5-restricted sap.ui.mdc.ValueHelp
|
|
666
|
+
*/
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* Item object type.
|
|
672
|
+
*
|
|
673
|
+
* If an item is requested using a description or key, an object with the following
|
|
674
|
+
* properties is returned.
|
|
675
|
+
*
|
|
676
|
+
* @type {sap.ui.mdc.valuehelp.ValueHelpItem}
|
|
677
|
+
* @static
|
|
678
|
+
* @constant
|
|
679
|
+
* @typedef {Object} sap.ui.mdc.valuehelp.ValueHelpItem
|
|
680
|
+
* @property {any} key Key of the item
|
|
681
|
+
* @property {string} description Description of the item
|
|
682
|
+
* @property {object} [inParameters] In parameters of the item. For each field path a value is stored
|
|
683
|
+
* @property {object} [outParameters] Out parameters of the item. For each field path a value is stored
|
|
684
|
+
* @private
|
|
685
|
+
* @ui5-restricted sap.ui.mdc
|
|
686
|
+
*/
|
|
687
|
+
|
|
112
688
|
/**
|
|
113
689
|
*
|
|
114
690
|
* Interface for controls or entities which are able to return a set of present conditions.
|
|
@@ -140,7 +716,7 @@ sap.ui.define([
|
|
|
140
716
|
*
|
|
141
717
|
* <ul>
|
|
142
718
|
* <li><code>getConditions</code> - Part of the {@link sap.ui.mdc.IFilterSource} interface.</li>
|
|
143
|
-
* <li><code>
|
|
719
|
+
* <li><code>validate</code> - The <code>validate</code> method should return a promise which resolves after the IFilter interface has handled its inner validation. The <code>getConditions</code> method will be called subsequently by the filtered control.</li>
|
|
144
720
|
* <li><code>getSearch</code> - <b>Note:</b> The <code>getSearch</code> method can optionally be implemented and should return a string for approximate string matching implemented in the backend.</li>
|
|
145
721
|
* </ul>
|
|
146
722
|
*
|
|
@@ -151,8 +727,6 @@ sap.ui.define([
|
|
|
151
727
|
* <li><code>filtersChanged</code> - <b>Note:</b> The <code>filtersChanged</code> event can optionally be implemented and should be fired whenever a filter value has changed. This event will be used to display an overlay on the IFilter consuming control.</li>
|
|
152
728
|
* </ul>
|
|
153
729
|
*
|
|
154
|
-
* The controls or entities have to implement the following APIs: <code>getSearch</code> & <code>getConditions</code> & <code>triggerSearch</code> methods along with the <code>search</code> & <code>filtersChanged</code> events
|
|
155
|
-
*
|
|
156
730
|
* @since 1.70
|
|
157
731
|
* @extends sap.ui.mdc.IFilterSource
|
|
158
732
|
* @name sap.ui.mdc.IFilter
|
|
@@ -185,7 +759,7 @@ sap.ui.define([
|
|
|
185
759
|
* @namespace
|
|
186
760
|
* @alias sap.ui.mdc
|
|
187
761
|
* @author SAP SE
|
|
188
|
-
* @version 1.
|
|
762
|
+
* @version 1.96.1
|
|
189
763
|
* @since 1.80
|
|
190
764
|
* @private
|
|
191
765
|
* @ui5-restricted sap.fe
|
|
@@ -200,6 +774,8 @@ sap.ui.define([
|
|
|
200
774
|
* @enum {string}
|
|
201
775
|
* @private
|
|
202
776
|
* @since 1.74
|
|
777
|
+
* @experimental As of version 1.74
|
|
778
|
+
* @ui5-restricted sap.ui.mdc
|
|
203
779
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
204
780
|
*/
|
|
205
781
|
thisLib.FilterBarP13nMode = {
|
|
@@ -340,6 +916,8 @@ sap.ui.define([
|
|
|
340
916
|
* @enum {string}
|
|
341
917
|
* @private
|
|
342
918
|
* @since 1.64
|
|
919
|
+
* @experimental As of version 1.64
|
|
920
|
+
* @ui5-restricted sap.ui.mdc
|
|
343
921
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
344
922
|
*/
|
|
345
923
|
thisLib.ChartToolbarActionType = {
|
|
@@ -375,6 +953,8 @@ sap.ui.define([
|
|
|
375
953
|
* @enum {string}
|
|
376
954
|
* @private
|
|
377
955
|
* @since 1.75
|
|
956
|
+
* @experimental As of version 1.75
|
|
957
|
+
* @ui5-restricted sap.ui.mdc
|
|
378
958
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
379
959
|
*/
|
|
380
960
|
thisLib.ChartP13nMode = {
|
|
@@ -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.
|
|
18
|
+
* @version 1.96.1
|
|
19
19
|
* @constructor
|
|
20
20
|
* @private
|
|
21
21
|
* @since 1.56.0
|