@openui5/sap.ui.mdc 1.97.1 → 1.98.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +25 -30
- package/THIRDPARTY.txt +13 -20
- 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/AggregationBaseDelegate.js +1 -1
- package/src/sap/ui/mdc/BaseDelegate.js +1 -1
- package/src/sap/ui/mdc/Chart.js +1016 -1796
- package/src/sap/ui/mdc/ChartDelegate.js +429 -270
- package/src/sap/ui/mdc/ChartRenderer.js +73 -77
- 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 +3 -2
- package/src/sap/ui/mdc/FilterField.js +11 -8
- package/src/sap/ui/mdc/Link.js +4 -3
- package/src/sap/ui/mdc/LinkDelegate.js +1 -1
- package/src/sap/ui/mdc/MultiValueField.js +1 -1
- package/src/sap/ui/mdc/Table.js +48 -44
- package/src/sap/ui/mdc/TableDelegate.js +23 -10
- package/src/sap/ui/mdc/ValueHelp.js +19 -9
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +1 -1
- package/src/sap/ui/mdc/{chartNew/ChartSelectionDetailsNew.js → chart/ChartSelectionDetails.js} +8 -8
- package/src/sap/ui/mdc/{chartNew/ChartToolbarNew.js → chart/ChartToolbar.js} +10 -10
- package/src/sap/ui/mdc/chart/ChartTypeButton.js +48 -52
- package/src/sap/ui/mdc/{chartNew/DrillBreadcrumbsNew.js → chart/DrillBreadcrumbs.js} +3 -3
- package/src/sap/ui/mdc/chart/DrillStackHandler.js +38 -249
- package/src/sap/ui/mdc/chart/Item.js +62 -92
- package/src/sap/ui/mdc/{chartNew/PropertyHelperNew.js → chart/PropertyHelper.js} +3 -3
- package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +17 -21
- 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/OperatorDynamicDateOption.js +1 -1
- package/src/sap/ui/mdc/condition/RangeOperator.js +1 -1
- package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +77 -5
- package/src/sap/ui/mdc/designtime/field/Field.designtime.js +81 -5
- package/src/sap/ui/mdc/designtime/filterbar/FilterBarBase.designtime.js +3 -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 +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 +58 -21
- package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +4 -4
- package/src/sap/ui/mdc/field/FieldBase.js +30 -6
- package/src/sap/ui/mdc/field/FieldBaseRenderer.js +0 -3
- 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 +2 -2
- 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 +10 -2
- 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/DateContent.js +2 -2
- package/src/sap/ui/mdc/filterbar/FilterBarBase.js +301 -124
- package/src/sap/ui/mdc/filterbar/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +8 -2
- package/src/sap/ui/mdc/filterbar/vh/CollectiveSearchSelect.js +3 -1
- package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +7 -1
- package/src/sap/ui/mdc/filterbar/vh/GenericFilterBarDelegate.js +6 -6
- package/src/sap/ui/mdc/flexibility/AggregateFlex.js +2 -2
- package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/ColumnFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +4 -3
- package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/GroupFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/Panel.flexibility.js +9 -3
- package/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js +110 -0
- package/src/sap/ui/mdc/flexibility/SortFlex.js +2 -2
- package/src/sap/ui/mdc/flp/FlpLinkDelegate.js +1 -1
- package/src/sap/ui/mdc/library.js +32 -37
- 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 +2 -2
- 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 +140 -178
- 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/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 +6 -0
- package/src/sap/ui/mdc/messagebundle_ar.properties +5 -2
- package/src/sap/ui/mdc/messagebundle_bg.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_ca.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_cs.properties +18 -15
- package/src/sap/ui/mdc/messagebundle_cy.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_da.properties +10 -7
- package/src/sap/ui/mdc/messagebundle_de.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_el.properties +4 -1
- package/src/sap/ui/mdc/messagebundle_en.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_en_GB.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_es.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_es_MX.properties +16 -13
- package/src/sap/ui/mdc/messagebundle_et.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_fi.properties +9 -6
- package/src/sap/ui/mdc/messagebundle_fr.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_fr_CA.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_hi.properties +4 -1
- package/src/sap/ui/mdc/messagebundle_hr.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_hu.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_id.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_it.properties +18 -15
- package/src/sap/ui/mdc/messagebundle_iw.properties +4 -1
- package/src/sap/ui/mdc/messagebundle_ja.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_kk.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_ko.properties +7 -4
- package/src/sap/ui/mdc/messagebundle_lt.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_lv.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_ms.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_nl.properties +8 -5
- package/src/sap/ui/mdc/messagebundle_no.properties +11 -8
- package/src/sap/ui/mdc/messagebundle_pl.properties +4 -1
- package/src/sap/ui/mdc/messagebundle_pt.properties +10 -7
- package/src/sap/ui/mdc/messagebundle_pt_PT.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_ro.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_ru.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_sh.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_sk.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_sl.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_sv.properties +5 -2
- package/src/sap/ui/mdc/messagebundle_th.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_tr.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_uk.properties +4 -1
- package/src/sap/ui/mdc/messagebundle_vi.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_zh_CN.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_zh_TW.properties +3 -0
- package/src/sap/ui/mdc/mixin/AdaptationMixin.js +2 -3
- package/src/sap/ui/mdc/mixin/DelegateMixin.js +2 -2
- package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +14 -9
- package/src/sap/ui/mdc/mixin/PromiseMixin.js +2 -3
- package/src/sap/ui/mdc/odata/TypeUtil.js +1 -1
- package/src/sap/ui/mdc/odata/v4/ChartDelegate.js +29 -483
- package/src/sap/ui/mdc/odata/v4/{ChartPropertyHelperNew.js → ChartPropertyHelper.js} +5 -5
- package/src/sap/ui/mdc/odata/v4/TableDelegate.js +109 -93
- package/src/sap/ui/mdc/odata/v4/TypeUtil.js +1 -1
- package/src/sap/ui/mdc/odata/v4/util/DelegateUtil.js +1 -1
- package/src/sap/ui/mdc/odata/v4/vizChart/{ChartDelegateNew.js → ChartDelegate.js} +125 -46
- package/src/sap/ui/mdc/p13n/Engine.js +24 -10
- package/src/sap/ui/mdc/p13n/FlexUtil.js +11 -118
- package/src/sap/ui/mdc/p13n/P13nBuilder.js +1 -1
- package/src/sap/ui/mdc/p13n/PropertyHelper.js +1 -1
- package/src/sap/ui/mdc/p13n/StateUtil.js +20 -6
- package/src/sap/ui/mdc/p13n/UIManager.js +5 -7
- package/src/sap/ui/mdc/p13n/modification/FlexModificationHandler.js +4 -1
- package/src/sap/ui/mdc/p13n/modification/ModificationHandler.js +9 -6
- package/src/sap/ui/mdc/p13n/modules/DefaultProviderRegistry.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +1092 -48
- package/src/sap/ui/mdc/p13n/panels/LinkSelectionPanel.js +72 -0
- package/src/sap/ui/mdc/p13n/panels/ListView.js +6 -2
- package/src/sap/ui/mdc/p13n/subcontroller/AdaptFiltersController.js +6 -5
- package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +156 -11
- package/src/sap/ui/mdc/p13n/subcontroller/ChartItemController.js +15 -26
- package/src/sap/ui/mdc/p13n/subcontroller/ColumnController.js +6 -5
- package/src/sap/ui/mdc/p13n/subcontroller/FilterController.js +6 -5
- package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +173 -0
- package/src/sap/ui/mdc/p13n/subcontroller/SortController.js +10 -17
- package/src/sap/ui/mdc/table/Column.js +12 -12
- package/src/sap/ui/mdc/table/CreationRow.js +11 -11
- package/src/sap/ui/mdc/table/GridTableType.js +5 -6
- package/src/sap/ui/mdc/table/PropertyHelper.js +44 -7
- package/src/sap/ui/mdc/table/ResponsiveTableType.js +8 -10
- package/src/sap/ui/mdc/table/RowSettings.js +4 -4
- package/src/sap/ui/mdc/table/TableTypeBase.js +2 -2
- package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +1 -1
- package/src/sap/ui/mdc/themes/base/FieldBase.less +0 -5
- package/src/sap/ui/mdc/themes/base/ValueHelpDialog.less +12 -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/Common.js +1 -1
- package/src/sap/ui/mdc/util/DateUtil.js +1 -1
- package/src/sap/ui/mdc/util/FilterUtil.js +1 -1
- package/src/sap/ui/mdc/util/FormatUtil.js +1 -1
- package/src/sap/ui/mdc/util/IdentifierUtil.js +1 -1
- package/src/sap/ui/mdc/util/PromiseCache.js +1 -1
- package/src/sap/ui/mdc/util/PropertyHelper.js +43 -12
- package/src/sap/ui/mdc/util/TypeUtil.js +5 -4
- package/src/sap/ui/mdc/valuehelp/Dialog.js +11 -8
- package/src/sap/ui/mdc/valuehelp/Popover.js +2 -1
- package/src/sap/ui/mdc/valuehelp/base/Container.js +2 -1
- package/src/sap/ui/mdc/valuehelp/base/Content.js +2 -1
- package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +2 -1
- package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +2 -1
- package/src/sap/ui/mdc/valuehelp/base/ListContent.js +2 -1
- package/src/sap/ui/mdc/valuehelp/content/Bool.js +2 -1
- package/src/sap/ui/mdc/valuehelp/content/Conditions.js +4 -2
- package/src/sap/ui/mdc/valuehelp/content/FixedList.js +11 -5
- package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +36 -6
- package/src/sap/ui/mdc/valuehelp/content/MTable.js +43 -24
- package/test/sap/ui/mdc/testutils/opa/TestLibrary.js +2 -1
- package/test/sap/ui/mdc/testutils/opa/actions/OpenContextMenu.js +3 -3
- package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ActionsBase.js +3 -3
- package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ActionsViz.js +0 -0
- package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/AssertionsBase.js +1 -1
- package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/AssertionsViz.js +0 -0
- package/test/sap/ui/mdc/testutils/opa/{chartNew → chart}/ChartNew.js +0 -0
- package/test/sap/ui/mdc/testutils/opa/chart/TestObjects.js +289 -0
- package/test/sap/ui/mdc/testutils/opa/chartNew/TestObjects.js +5 -5
- package/test/sap/ui/mdc/testutils/opa/filterbar/Util.js +12 -11
- package/test/sap/ui/mdc/testutils/opa/link/Actions.js +85 -0
- package/test/sap/ui/mdc/testutils/opa/link/Assertions.js +79 -0
- package/test/sap/ui/mdc/testutils/opa/link/TestObjects.js +112 -0
- package/test/sap/ui/mdc/testutils/opa/link/waitForLink.js +50 -0
- package/test/sap/ui/mdc/testutils/opa/p13n/Actions.js +264 -141
- package/test/sap/ui/mdc/testutils/opa/p13n/Util.js +27 -26
- package/src/sap/ui/mdc/ChartDelegateNew.js +0 -395
- package/src/sap/ui/mdc/ChartNew.js +0 -1114
- package/src/sap/ui/mdc/ChartNewRenderer.js +0 -91
- package/src/sap/ui/mdc/chart/DimensionItem.js +0 -281
- package/src/sap/ui/mdc/chart/MeasureItem.js +0 -318
- package/src/sap/ui/mdc/chart/MetadataDelegate.js +0 -31
- package/src/sap/ui/mdc/chart/SelectionHandler.js +0 -127
- package/src/sap/ui/mdc/chart/ToolbarHandler.js +0 -328
- package/src/sap/ui/mdc/chartNew/ChartTypeButtonNew.js +0 -295
- package/src/sap/ui/mdc/chartNew/DrillStackHandlerNew.js +0 -212
- package/src/sap/ui/mdc/chartNew/ItemNew.js +0 -72
- package/src/sap/ui/mdc/chartNew/SelectionDetailsActionsNew.js +0 -34
- package/src/sap/ui/mdc/designtime/chart/ChartNew.designtime.js +0 -91
- package/src/sap/ui/mdc/link/SelectionDialog.control.xml +0 -66
- package/src/sap/ui/mdc/link/SelectionDialog.js +0 -213
- package/src/sap/ui/mdc/link/SelectionDialogItem.js +0 -86
- package/src/sap/ui/mdc/odata/v4/ChartDelegateNew.js +0 -35
- package/src/sap/ui/mdc/p13n/panels/ChartItemPanelNew.js +0 -1179
|
@@ -5,91 +5,87 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define(['./library'],
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
function(library) {
|
|
9
|
+
"use strict";
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Chart renderer.
|
|
13
|
+
* @namespace
|
|
14
|
+
*/
|
|
15
|
+
var ChartRenderer = {
|
|
16
|
+
apiVersion: 2
|
|
17
|
+
};
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
/**
|
|
20
|
+
* CSS class to be applied to the HTML root element of the control.
|
|
21
|
+
*
|
|
22
|
+
* @readonly
|
|
23
|
+
* @const {string}
|
|
24
|
+
*/
|
|
25
|
+
ChartRenderer.CSS_CLASS = "sapUiMDCChart";
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
29
|
+
*
|
|
30
|
+
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
31
|
+
* @param {sap.ui.core.Control} oInnerChart An object representation of the control that should be rendered
|
|
32
|
+
*/
|
|
33
|
+
ChartRenderer.render = function(oRm, oMDCChart) {
|
|
34
|
+
oRm.openStart("div", oMDCChart);
|
|
35
|
+
//TODO: Clarify why writeControlData doesn't work on rerender
|
|
36
|
+
oRm.attr("id", oMDCChart.getId());
|
|
37
|
+
oRm.class(ChartRenderer.CSS_CLASS);
|
|
38
|
+
//oRm.class("sapUiFixFlex");
|
|
39
|
+
//oRm.style("overflow", "hidden");
|
|
40
|
+
oRm.style("height", oMDCChart.getHeight());
|
|
41
|
+
oRm.style("width", oMDCChart.getWidth());
|
|
42
|
+
oRm.style("min-height", oMDCChart.getMinHeight());
|
|
43
|
+
oRm.style("min-width", oMDCChart.getMinWidth());
|
|
44
|
+
oRm.openEnd();
|
|
45
|
+
this.renderToolbar(oRm, oMDCChart.getAggregation("_toolbar"));
|
|
46
|
+
this.renderBreadcrumbs(oRm, oMDCChart.getAggregation("_breadcrumbs"));
|
|
47
|
+
//this.renderInnerChart(oRm, oMDCChart._getInnerChart());
|
|
48
|
+
this.renderInnerStructure(oRm, oMDCChart.getAggregation("_innerChart"));
|
|
49
|
+
oRm.close("div");
|
|
50
|
+
};
|
|
49
51
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
52
|
+
ChartRenderer.renderNoDataStruct = function(oRm, oNoDataStruct) {
|
|
53
|
+
if (oNoDataStruct) {
|
|
54
|
+
/*oRm.openStart("div");
|
|
55
|
+
oRm.class("sapUiFixFlexFlexibleContainer");
|
|
56
|
+
oRm.openEnd();
|
|
57
|
+
oRm.renderControl(oNoDataStruct);
|
|
58
|
+
oRm.close("div");*/
|
|
59
|
+
}
|
|
60
|
+
};
|
|
59
61
|
|
|
60
|
-
|
|
62
|
+
ChartRenderer.renderToolbar = function(oRm, oToolbar) {
|
|
61
63
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
64
|
+
if (oToolbar) {
|
|
65
|
+
oRm.openStart("div");
|
|
66
|
+
oRm.class("sapUiFixFlexFixed");
|
|
67
|
+
oRm.openEnd();
|
|
68
|
+
oRm.renderControl(oToolbar);
|
|
69
|
+
oRm.close("div");
|
|
70
|
+
}
|
|
71
|
+
};
|
|
70
72
|
|
|
71
|
-
|
|
73
|
+
ChartRenderer.renderBreadcrumbs = function(oRm, oDrillBreadcrumbs) {
|
|
72
74
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
if (oDrillBreadcrumbs) {
|
|
76
|
+
oRm.renderControl(oDrillBreadcrumbs);
|
|
77
|
+
}
|
|
78
|
+
};
|
|
77
79
|
|
|
78
|
-
|
|
80
|
+
ChartRenderer.renderInnerChart = function(oRm, oInnerChart) {
|
|
79
81
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
oRm.openEnd();
|
|
88
|
-
oRm.renderControl(oChart);
|
|
89
|
-
oRm.close("div");
|
|
90
|
-
oRm.close("div");
|
|
91
|
-
}
|
|
92
|
-
};
|
|
82
|
+
if (oInnerChart) {
|
|
83
|
+
oRm.renderControl(oInnerChart);
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
ChartRenderer.renderInnerStructure = function (oRm, oInnerStructure){
|
|
87
|
+
oRm.renderControl(oInnerStructure);
|
|
88
|
+
};
|
|
93
89
|
|
|
94
|
-
|
|
95
|
-
|
|
90
|
+
return ChartRenderer;
|
|
91
|
+
}, true);
|
package/src/sap/ui/mdc/Field.js
CHANGED
|
@@ -46,12 +46,12 @@ sap.ui.define([
|
|
|
46
46
|
* @implements sap.ui.core.IFormContent
|
|
47
47
|
*
|
|
48
48
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.98.0
|
|
50
50
|
*
|
|
51
51
|
* @constructor
|
|
52
52
|
* @alias sap.ui.mdc.Field
|
|
53
53
|
* @author SAP SE
|
|
54
|
-
* @version 1.
|
|
54
|
+
* @version 1.98.0
|
|
55
55
|
* @since 1.54.0
|
|
56
56
|
* @experimental As of version 1.54
|
|
57
57
|
*
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* The metadata information is provided via the {@link sap.ui.mdc.FilterBarDelegate FilterBarDelegate} implementation. This implementation has to be provided by the application.
|
|
22
22
|
* @extends sap.ui.mdc.filterbar.FilterBarBase
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.98.0
|
|
25
25
|
* @constructor
|
|
26
26
|
* @experimental As of version 1.61
|
|
27
27
|
* @private
|
|
@@ -207,9 +207,10 @@ sap.ui.define([
|
|
|
207
207
|
}.bind(this));
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
+
|
|
210
211
|
FilterBar.prototype.onAdaptFilters = function(oEvent) {
|
|
211
212
|
|
|
212
|
-
return this.
|
|
213
|
+
return this._retrieveMetadata().then(function() {
|
|
213
214
|
return this.getEngine().uimanager.show(this, "Item", this._btnAdapt);
|
|
214
215
|
}.bind(this));
|
|
215
216
|
|
|
@@ -31,12 +31,12 @@ sap.ui.define([
|
|
|
31
31
|
* @extends sap.ui.mdc.field.FieldBase
|
|
32
32
|
*
|
|
33
33
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.98.0
|
|
35
35
|
*
|
|
36
36
|
* @constructor
|
|
37
37
|
* @alias sap.ui.mdc.FilterField
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.98.0
|
|
40
40
|
* @since 1.48.0
|
|
41
41
|
*
|
|
42
42
|
* @experimental As of version 1.48
|
|
@@ -222,10 +222,11 @@ sap.ui.define([
|
|
|
222
222
|
/**
|
|
223
223
|
* Adds an operator to the list of known operators.
|
|
224
224
|
*
|
|
225
|
-
* @param {sap.ui.mdc.condition.Operator|string} vOperator The operator instance or operator name
|
|
226
|
-
*
|
|
227
225
|
* <b>Note</b>: If no operator is set, the used type of the <code>FilterField</code> defines the set of default operators.
|
|
228
226
|
*
|
|
227
|
+
* @param {sap.ui.mdc.condition.Operator|string} vOperator The operator instance or operator name
|
|
228
|
+
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
229
|
+
*
|
|
229
230
|
* @since: 1.88.0
|
|
230
231
|
* @private
|
|
231
232
|
* @ui5-restricted sap.fe
|
|
@@ -243,15 +244,17 @@ sap.ui.define([
|
|
|
243
244
|
aOperators.push(sOpName);
|
|
244
245
|
this.setOperators(aOperators);
|
|
245
246
|
}
|
|
247
|
+
return this;
|
|
246
248
|
};
|
|
247
249
|
|
|
248
250
|
/**
|
|
249
251
|
* Adds an array of operators to the list of known operators.
|
|
250
252
|
*
|
|
251
|
-
* @param {sap.ui.mdc.condition.Operator[]} aOperators Array of operators
|
|
252
|
-
*
|
|
253
253
|
* <b>Note</b>: <code>aOperators</code> can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance itself, or multiple operators inside an array.
|
|
254
254
|
*
|
|
255
|
+
* @param {sap.ui.mdc.condition.Operator[]} aOperators Array of operators
|
|
256
|
+
* @returns {this} Reference to <code>this</code> to allow method chaining
|
|
257
|
+
*
|
|
255
258
|
* @since: 1.88.0
|
|
256
259
|
* @private
|
|
257
260
|
* @ui5-restricted sap.fe
|
|
@@ -295,10 +298,10 @@ sap.ui.define([
|
|
|
295
298
|
/**
|
|
296
299
|
* Removes all given operators from the list of known operators.
|
|
297
300
|
*
|
|
298
|
-
* @param {sap.ui.mdc.condition.Operator[]} aOperators Array of operators
|
|
299
|
-
*
|
|
300
301
|
* <b>Note</b>: <code>aOperators</code> can be the name of an {@link sap.ui.mdc.condition.Operator Operator}, the instance itself, or multiple operators inside an array.
|
|
301
302
|
*
|
|
303
|
+
* @param {sap.ui.mdc.condition.Operator[]} aOperators Array of operators
|
|
304
|
+
*
|
|
302
305
|
* @since: 1.88.0
|
|
303
306
|
* @private
|
|
304
307
|
* @ui5-restricted sap.fe
|
package/src/sap/ui/mdc/Link.js
CHANGED
|
@@ -45,7 +45,7 @@ sap.ui.define([
|
|
|
45
45
|
* @extends sap.ui.mdc.field.FieldInfoBase
|
|
46
46
|
*
|
|
47
47
|
* @author SAP SE
|
|
48
|
-
* @version 1.
|
|
48
|
+
* @version 1.98.0
|
|
49
49
|
*
|
|
50
50
|
* @constructor
|
|
51
51
|
* @alias sap.ui.mdc.Link
|
|
@@ -101,6 +101,7 @@ sap.ui.define([
|
|
|
101
101
|
contentTitle: undefined,
|
|
102
102
|
linkItems: []
|
|
103
103
|
});
|
|
104
|
+
|
|
104
105
|
oModel.setDefaultBindingMode(BindingMode.TwoWay);
|
|
105
106
|
oModel.setSizeLimit(1000);
|
|
106
107
|
this.setModel(oModel, "$sapuimdcLink");
|
|
@@ -318,7 +319,7 @@ sap.ui.define([
|
|
|
318
319
|
if (this.getParent()) {
|
|
319
320
|
oField = this.getParent();
|
|
320
321
|
}
|
|
321
|
-
var oControl = sap.ui.getCore().byId(this.getSourceControl());
|
|
322
|
+
var oControl = typeof this.getSourceControl() === "string" ? sap.ui.getCore().byId(this.getSourceControl()) : this.getSourceControl();
|
|
322
323
|
if (!oControl) {
|
|
323
324
|
//SapBaseLog.error("Invalid source control: " + this.getSourceControl() + ". The mandatory 'sourceControl' association should be defined due to personalization reasons, parent: " + oField + " used instead.");
|
|
324
325
|
this.setSourceControl(oField);
|
|
@@ -543,7 +544,7 @@ sap.ui.define([
|
|
|
543
544
|
* @returns {Object} The binding context of the SourceControl / link
|
|
544
545
|
*/
|
|
545
546
|
Link.prototype._getControlBindingContext = function() {
|
|
546
|
-
var oControl = sap.ui.getCore().byId(this.getSourceControl());
|
|
547
|
+
var oControl = typeof this.getSourceControl() === "string" ? sap.ui.getCore().byId(this.getSourceControl()) : this.getSourceControl();
|
|
547
548
|
return oControl && oControl.getBindingContext() || this.getBindingContext();
|
|
548
549
|
};
|
|
549
550
|
|
package/src/sap/ui/mdc/Table.js
CHANGED
|
@@ -23,6 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
"sap/ui/core/dnd/DragDropInfo",
|
|
24
24
|
"sap/ui/core/Item",
|
|
25
25
|
"sap/ui/core/format/ListFormat",
|
|
26
|
+
"sap/ui/core/library",
|
|
26
27
|
"sap/ui/events/KeyCodes",
|
|
27
28
|
"sap/ui/model/Sorter",
|
|
28
29
|
"sap/ui/dom/containsOrEquals",
|
|
@@ -59,6 +60,7 @@ sap.ui.define([
|
|
|
59
60
|
DragDropInfo,
|
|
60
61
|
Item,
|
|
61
62
|
ListFormat,
|
|
63
|
+
coreLibrary,
|
|
62
64
|
KeyCodes,
|
|
63
65
|
Sorter,
|
|
64
66
|
containsOrEquals,
|
|
@@ -85,6 +87,7 @@ sap.ui.define([
|
|
|
85
87
|
var ToolbarDesign = MLibrary.ToolbarDesign;
|
|
86
88
|
var ToolbarStyle = MLibrary.ToolbarStyle;
|
|
87
89
|
var MultiSelectMode = library.MultiSelectMode;
|
|
90
|
+
var TitleLevel = coreLibrary.TitleLevel;
|
|
88
91
|
var internalMap = new window.WeakMap();
|
|
89
92
|
var internal = function(oTable) {
|
|
90
93
|
if (!internalMap.has(oTable)) {
|
|
@@ -108,14 +111,13 @@ sap.ui.define([
|
|
|
108
111
|
* Constructor for a new <code>MDCTable</code>.
|
|
109
112
|
*
|
|
110
113
|
* @param {string} [sId] Optional ID for the new control; generated automatically if no non-empty ID is given
|
|
111
|
-
* <b>Note:</b>
|
|
114
|
+
* <b>Note:</b> The optional ID can be omitted, no matter whether <code>mSettings</code> is given or not.
|
|
112
115
|
* @param {object} [mSettings] Object with initial settings for the new control
|
|
113
116
|
* @class
|
|
114
|
-
* <
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
* </p>
|
|
117
|
+
* A metadata-driven table to simplify the usage of existing tables, such as the <code>ResponsiveTable</code> and <code>GridTable</code>
|
|
118
|
+
* controls. The metadata needs to be provided via the {@link module:sap/ui/mdc/TableDelegate TableDelegate} implementation as
|
|
119
|
+
* {@link sap.ui.mdc.table.PropertyInfo}.
|
|
120
|
+
*
|
|
119
121
|
* @extends sap.ui.mdc.Control
|
|
120
122
|
* @author SAP SE
|
|
121
123
|
* @private
|
|
@@ -196,7 +198,7 @@ sap.ui.define([
|
|
|
196
198
|
headerLevel: {
|
|
197
199
|
type: "sap.ui.core.TitleLevel",
|
|
198
200
|
group: "Appearance",
|
|
199
|
-
defaultValue:
|
|
201
|
+
defaultValue: TitleLevel.Auto
|
|
200
202
|
},
|
|
201
203
|
/**
|
|
202
204
|
* Determines whether to bind the table automatically after the initial creation or re-creation of the table.
|
|
@@ -264,7 +266,7 @@ sap.ui.define([
|
|
|
264
266
|
},
|
|
265
267
|
|
|
266
268
|
/**
|
|
267
|
-
* Determines the text shown
|
|
269
|
+
* Determines the text shown if the table has no data.
|
|
268
270
|
*
|
|
269
271
|
* @since 1.63
|
|
270
272
|
*/
|
|
@@ -273,10 +275,10 @@ sap.ui.define([
|
|
|
273
275
|
},
|
|
274
276
|
|
|
275
277
|
/**
|
|
276
|
-
*
|
|
278
|
+
* Defines the sort conditions.
|
|
277
279
|
*
|
|
278
280
|
* <b>Note</b>: This property must not be bound.<br>
|
|
279
|
-
* <b>Note:</b> This property is exclusively
|
|
281
|
+
* <b>Note:</b> This property is used exclusively for handling SAPUI5 flexibility changes. Do not use it otherwise.
|
|
280
282
|
*
|
|
281
283
|
* @since 1.73
|
|
282
284
|
*/
|
|
@@ -285,10 +287,10 @@ sap.ui.define([
|
|
|
285
287
|
},
|
|
286
288
|
|
|
287
289
|
/**
|
|
288
|
-
*
|
|
290
|
+
* Defines the filter conditions.
|
|
289
291
|
*
|
|
290
292
|
* <b>Note</b>: This property must not be bound.<br>
|
|
291
|
-
* <b>Note:</b> This property is exclusively
|
|
293
|
+
* <b>Note:</b> This property is used exclusively for handling SAPUI5 flexibility changes. Do not use it otherwise.
|
|
292
294
|
*
|
|
293
295
|
* @since 1.80.0
|
|
294
296
|
*/
|
|
@@ -298,10 +300,10 @@ sap.ui.define([
|
|
|
298
300
|
},
|
|
299
301
|
|
|
300
302
|
/**
|
|
301
|
-
*
|
|
303
|
+
* Defines the group conditions.
|
|
302
304
|
*
|
|
303
305
|
* <b>Note</b>: This property must not be bound.<br>
|
|
304
|
-
* <b>Note:</b> This property is exclusively
|
|
306
|
+
* <b>Note:</b> This property is used exclusively for handling SAPUI5 flexibility changes. Do not use it otherwise.
|
|
305
307
|
*
|
|
306
308
|
* @since 1.87
|
|
307
309
|
*/
|
|
@@ -310,10 +312,10 @@ sap.ui.define([
|
|
|
310
312
|
},
|
|
311
313
|
|
|
312
314
|
/**
|
|
313
|
-
*
|
|
315
|
+
* Defines the aggregate conditions.
|
|
314
316
|
*
|
|
315
317
|
* <b>Note</b>: This property must not be bound.<br>
|
|
316
|
-
* <b>Note:</b> This property is exclusively used for handling flexibility changes.
|
|
318
|
+
* <b>Note:</b> This property is exclusively used for handling SAPUI5 flexibility changes.
|
|
317
319
|
*
|
|
318
320
|
* @since 1.87
|
|
319
321
|
*/
|
|
@@ -322,7 +324,7 @@ sap.ui.define([
|
|
|
322
324
|
},
|
|
323
325
|
|
|
324
326
|
/**
|
|
325
|
-
* Determines whether table data export is enabled.
|
|
327
|
+
* Determines whether the table data export is enabled.
|
|
326
328
|
*
|
|
327
329
|
* @since 1.75
|
|
328
330
|
*/
|
|
@@ -385,12 +387,14 @@ sap.ui.define([
|
|
|
385
387
|
/**
|
|
386
388
|
* Enables automatic column width calculation based on metadata information if set to <code>true</code>.
|
|
387
389
|
* The column width calculation takes the type, column label, referenced properties, and many other metadata parameters into account.
|
|
388
|
-
* Providing a more precise <code>maxLength</code> value for the <code>String</code> type or <code>precision</code> value for numeric
|
|
390
|
+
* Providing a more precise <code>maxLength</code> value for the <code>String</code> type or <code>precision</code> value for numeric
|
|
391
|
+
* types can help this algorithm to produce better results.
|
|
389
392
|
* The calculated column widths can have a minimum of 3rem and a maximum of 20rem.
|
|
390
393
|
*
|
|
391
|
-
* <b>Note:</b> To customize the automatic column width calculation the <code>visualSettings.widthSettings</code> key of the
|
|
392
|
-
* To avoid the heuristic column width calculation for a particular column, the
|
|
393
|
-
*
|
|
394
|
+
* <b>Note:</b> To customize the automatic column width calculation, the <code>visualSettings.widthSettings</code> key of the
|
|
395
|
+
* <code>PropertyInfo</code> can be used. To avoid the heuristic column width calculation for a particular column, the
|
|
396
|
+
* <code>visualSettings.widthSettings</code> key of the <code>PropertyInfo</code> must be set to <code>null</code>. This feature has
|
|
397
|
+
* no effect if the <code>width</code> property of the column is bound or its value is set.
|
|
394
398
|
*
|
|
395
399
|
* @since 1.95
|
|
396
400
|
*/
|
|
@@ -426,7 +430,7 @@ sap.ui.define([
|
|
|
426
430
|
|
|
427
431
|
/**
|
|
428
432
|
* This row can be used for user input to create new data if {@link sap.ui.mdc.TableType TableType} is "<code>Table</code>".
|
|
429
|
-
* <b>Note:</b> Once the binding
|
|
433
|
+
* <b>Note:</b> Once the binding supports creating transient records, this aggregation will be removed.
|
|
430
434
|
*/
|
|
431
435
|
creationRow: {
|
|
432
436
|
type: "sap.ui.mdc.table.CreationRow",
|
|
@@ -472,9 +476,9 @@ sap.ui.define([
|
|
|
472
476
|
/**
|
|
473
477
|
* <code>DataStateIndicator</code> plugin that can be used to show binding-related messages.
|
|
474
478
|
*
|
|
475
|
-
* <b>Note:</b> The message filtering is not yet supported for this control
|
|
476
|
-
* {@link sap.m.plugins.DataStateIndicator#getEnableFiltering enableFiltering} property of the <code>DataStateIndicator</code>
|
|
477
|
-
* not be set to <code>true</code>.
|
|
479
|
+
* <b>Note:</b> The message filtering is not yet supported for this control. Therefore the
|
|
480
|
+
* {@link sap.m.plugins.DataStateIndicator#getEnableFiltering enableFiltering} property of the <code>DataStateIndicator</code> plugin
|
|
481
|
+
* must not be set to <code>true</code>.
|
|
478
482
|
*
|
|
479
483
|
* @since 1.89
|
|
480
484
|
*/
|
|
@@ -495,7 +499,7 @@ sap.ui.define([
|
|
|
495
499
|
},
|
|
496
500
|
events: {
|
|
497
501
|
/**
|
|
498
|
-
*
|
|
502
|
+
* This event is fired when a row in the table is pressed.
|
|
499
503
|
*/
|
|
500
504
|
rowPress: {
|
|
501
505
|
parameters: {
|
|
@@ -508,7 +512,7 @@ sap.ui.define([
|
|
|
508
512
|
}
|
|
509
513
|
},
|
|
510
514
|
/**
|
|
511
|
-
*
|
|
515
|
+
* This event is fired when the selection in the table is changed.
|
|
512
516
|
*/
|
|
513
517
|
selectionChange: {
|
|
514
518
|
parameters: {
|
|
@@ -525,7 +529,7 @@ sap.ui.define([
|
|
|
525
529
|
type: "boolean"
|
|
526
530
|
},
|
|
527
531
|
/**
|
|
528
|
-
* Identifies whether
|
|
532
|
+
* Identifies whether the Select All checkbox was pressed
|
|
529
533
|
*/
|
|
530
534
|
selectAll: {
|
|
531
535
|
type: "boolean"
|
|
@@ -533,7 +537,7 @@ sap.ui.define([
|
|
|
533
537
|
}
|
|
534
538
|
},
|
|
535
539
|
/**
|
|
536
|
-
*
|
|
540
|
+
* This event is fired right before the export is triggered.
|
|
537
541
|
*
|
|
538
542
|
* For more information about the export settings, see {@link sap.ui.export.Spreadsheet} or
|
|
539
543
|
* {@link topic:7e12e6b9154a4607be9d6072c72d609c Spreadsheet Export Configuration}.
|
|
@@ -560,7 +564,7 @@ sap.ui.define([
|
|
|
560
564
|
}
|
|
561
565
|
},
|
|
562
566
|
/**
|
|
563
|
-
*
|
|
567
|
+
* This event is fired when the user pastes content from the clipboard to the table.
|
|
564
568
|
*/
|
|
565
569
|
paste: {
|
|
566
570
|
parameters: {
|
|
@@ -715,7 +719,7 @@ sap.ui.define([
|
|
|
715
719
|
Table.prototype._onApplyMessageFilter = function(oEvent) {
|
|
716
720
|
this._oMessageFilter = oEvent.getParameter("filter");
|
|
717
721
|
oEvent.preventDefault();
|
|
718
|
-
this.
|
|
722
|
+
this._rebind();
|
|
719
723
|
};
|
|
720
724
|
|
|
721
725
|
/**
|
|
@@ -725,7 +729,7 @@ sap.ui.define([
|
|
|
725
729
|
Table.prototype._onClearMessageFilter = function(oEvent) {
|
|
726
730
|
this._oMessageFilter = null;
|
|
727
731
|
oEvent.preventDefault();
|
|
728
|
-
this.
|
|
732
|
+
this._rebind();
|
|
729
733
|
};
|
|
730
734
|
|
|
731
735
|
// ----Type----
|
|
@@ -876,7 +880,7 @@ sap.ui.define([
|
|
|
876
880
|
}
|
|
877
881
|
|
|
878
882
|
this._bForceRebind = true;
|
|
879
|
-
this.
|
|
883
|
+
this._rebind();
|
|
880
884
|
}
|
|
881
885
|
|
|
882
886
|
return this;
|
|
@@ -1371,7 +1375,7 @@ sap.ui.define([
|
|
|
1371
1375
|
}
|
|
1372
1376
|
|
|
1373
1377
|
if (this.getAutoBindOnInit()) {
|
|
1374
|
-
this.
|
|
1378
|
+
this.rebind();
|
|
1375
1379
|
}
|
|
1376
1380
|
|
|
1377
1381
|
return this.awaitPropertyHelper();
|
|
@@ -1493,7 +1497,7 @@ sap.ui.define([
|
|
|
1493
1497
|
};
|
|
1494
1498
|
|
|
1495
1499
|
/**
|
|
1496
|
-
* Returns the current filter conditions present on the table
|
|
1500
|
+
* Returns the current filter conditions present on the table.
|
|
1497
1501
|
*
|
|
1498
1502
|
* @private
|
|
1499
1503
|
* @ui5-restricted sap.ui.mdc
|
|
@@ -1795,7 +1799,7 @@ sap.ui.define([
|
|
|
1795
1799
|
|
|
1796
1800
|
this._loadExportLibrary().then(function() {
|
|
1797
1801
|
sap.ui.require(['sap/ui/export/ExportUtils'], function(ExportUtils) {
|
|
1798
|
-
var bEnablePDFExport = new URL(window.location.href).search.indexOf("sap-ui-xx-enablePDFExport=true");
|
|
1802
|
+
var bEnablePDFExport = new URL(window.location.href).search.indexOf("sap-ui-xx-enablePDFExport=true") > -1;
|
|
1799
1803
|
ExportUtils.getExportSettingsViaDialog(that._cachedExportSettings, that, undefined, bEnablePDFExport).then(function(oUserInput) {
|
|
1800
1804
|
that._cachedExportSettings = oUserInput;
|
|
1801
1805
|
that._onExport(oUserInput);
|
|
@@ -2438,7 +2442,7 @@ sap.ui.define([
|
|
|
2438
2442
|
|
|
2439
2443
|
Table.prototype._registerInnerFilter = function(oFilter) {
|
|
2440
2444
|
oFilter.attachSearch(function() {
|
|
2441
|
-
this.
|
|
2445
|
+
this._rebind();
|
|
2442
2446
|
}, this);
|
|
2443
2447
|
};
|
|
2444
2448
|
|
|
@@ -2467,7 +2471,7 @@ sap.ui.define([
|
|
|
2467
2471
|
|
|
2468
2472
|
var oBindingInfo = {};
|
|
2469
2473
|
|
|
2470
|
-
this.getControlDelegate().updateBindingInfo(this,
|
|
2474
|
+
this.getControlDelegate().updateBindingInfo(this, oBindingInfo, oBindingInfo);
|
|
2471
2475
|
|
|
2472
2476
|
if (oBindingInfo.path) {
|
|
2473
2477
|
this._oTable.setShowOverlay(false);
|
|
@@ -2604,7 +2608,7 @@ sap.ui.define([
|
|
|
2604
2608
|
};
|
|
2605
2609
|
|
|
2606
2610
|
/**
|
|
2607
|
-
* Gets the row count of the table
|
|
2611
|
+
* Gets the row count of the table.
|
|
2608
2612
|
*
|
|
2609
2613
|
* @private
|
|
2610
2614
|
* @returns {int} the row count
|
|
@@ -2690,19 +2694,19 @@ sap.ui.define([
|
|
|
2690
2694
|
};
|
|
2691
2695
|
|
|
2692
2696
|
// TODO: Delete!
|
|
2693
|
-
Table.prototype.rebindTable = function() {
|
|
2694
|
-
this.
|
|
2697
|
+
Table.prototype.rebindTable = function () {
|
|
2698
|
+
this._rebind();
|
|
2695
2699
|
};
|
|
2696
2700
|
|
|
2697
2701
|
/**
|
|
2698
2702
|
* Rebinds the table rows.
|
|
2699
2703
|
*/
|
|
2700
|
-
Table.prototype.
|
|
2704
|
+
Table.prototype._rebind = function() {
|
|
2701
2705
|
// Bind the rows/items of the table, only once it is initialized.
|
|
2702
2706
|
if (this._bFullyInitialized) {
|
|
2703
2707
|
this.bindRows();
|
|
2704
2708
|
} else {
|
|
2705
|
-
this._fullyInitialized().then(this.
|
|
2709
|
+
this._fullyInitialized().then(this._rebind.bind(this));
|
|
2706
2710
|
}
|
|
2707
2711
|
};
|
|
2708
2712
|
|
|
@@ -2743,7 +2747,7 @@ sap.ui.define([
|
|
|
2743
2747
|
};
|
|
2744
2748
|
|
|
2745
2749
|
/**
|
|
2746
|
-
*
|
|
2750
|
+
* Terminates the <code>MDCTable</code> control.
|
|
2747
2751
|
* @private
|
|
2748
2752
|
*/
|
|
2749
2753
|
Table.prototype.exit = function() {
|