@openui5/sap.ui.mdc 1.96.2 → 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 +26 -31
- package/THIRDPARTY.txt +15 -21
- package/package.json +4 -4
- package/src/sap/ui/mdc/.library +2 -2
- package/src/sap/ui/mdc/ActionToolbar.js +3 -8
- package/src/sap/ui/mdc/AggregationBaseDelegate.js +2 -2
- package/src/sap/ui/mdc/BaseDelegate.js +2 -2
- package/src/sap/ui/mdc/Chart.js +1017 -1797
- package/src/sap/ui/mdc/ChartDelegate.js +430 -271
- package/src/sap/ui/mdc/ChartRenderer.js +74 -78
- package/src/sap/ui/mdc/Control.js +2 -2
- package/src/sap/ui/mdc/Delegate.js +1 -1
- package/src/sap/ui/mdc/Element.js +2 -2
- package/src/sap/ui/mdc/Field.js +4 -3
- package/src/sap/ui/mdc/FilterBar.js +4 -3
- package/src/sap/ui/mdc/FilterBarDelegate.js +1 -1
- package/src/sap/ui/mdc/FilterField.js +26 -9
- package/src/sap/ui/mdc/Link.js +5 -4
- package/src/sap/ui/mdc/LinkDelegate.js +2 -2
- package/src/sap/ui/mdc/MultiValueField.js +3 -2
- package/src/sap/ui/mdc/Table.js +174 -142
- package/src/sap/ui/mdc/TableDelegate.js +31 -16
- package/src/sap/ui/mdc/ValueHelp.js +52 -16
- package/src/sap/ui/mdc/ValueHelpDelegate.js +21 -1
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarAction.js +2 -2
- package/src/sap/ui/mdc/actiontoolbar/ActionToolbarActionRenderer.js +1 -1
- package/src/sap/ui/mdc/{chartNew/ChartSelectionDetailsNew.js → chart/ChartSelectionDetails.js} +9 -9
- package/src/sap/ui/mdc/chart/ChartSettings.js +1 -1
- package/src/sap/ui/mdc/{chartNew/ChartToolbarNew.js → chart/ChartToolbar.js} +11 -11
- package/src/sap/ui/mdc/chart/ChartTypeButton.js +49 -53
- package/src/sap/ui/mdc/{chartNew/DrillBreadcrumbsNew.js → chart/DrillBreadcrumbs.js} +4 -4
- package/src/sap/ui/mdc/chart/DrillStackHandler.js +39 -250
- package/src/sap/ui/mdc/chart/Item.js +63 -93
- package/src/sap/ui/mdc/{chartNew/PropertyHelperNew.js → chart/PropertyHelper.js} +4 -4
- package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +18 -22
- package/src/sap/ui/mdc/condition/Condition.js +2 -2
- package/src/sap/ui/mdc/condition/ConditionConverter.js +2 -2
- package/src/sap/ui/mdc/condition/ConditionModel.js +2 -2
- package/src/sap/ui/mdc/condition/ConditionModelPropertyBinding.js +1 -1
- package/src/sap/ui/mdc/condition/FilterConverter.js +2 -2
- package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +7 -3
- package/src/sap/ui/mdc/condition/Operator.js +10 -10
- package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +437 -0
- package/src/sap/ui/mdc/condition/RangeOperator.js +2 -2
- package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +78 -6
- package/src/sap/ui/mdc/designtime/field/Field.designtime.js +97 -0
- package/src/sap/ui/mdc/designtime/field/FieldBase.designtime.js +104 -0
- package/src/sap/ui/mdc/designtime/field/FilterField.designtime.js +22 -0
- package/src/sap/ui/mdc/designtime/field/MultiValueField.designtime.js +23 -0
- package/src/sap/ui/mdc/designtime/filterbar/FilterBar.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/filterbar/FilterBarBase.designtime.js +4 -1
- package/src/sap/ui/mdc/designtime/library.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/link/Panel.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/link/PanelItem.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/p13n/PersistenceProvider.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/table/Table.designtime.js +1 -1
- package/src/sap/ui/mdc/enum/ActionToolbarActionAlignment.js +1 -1
- package/src/sap/ui/mdc/enum/BaseType.js +1 -1
- package/src/sap/ui/mdc/enum/ConditionValidated.js +1 -1
- package/src/sap/ui/mdc/enum/ContentMode.js +1 -1
- package/src/sap/ui/mdc/enum/EditMode.js +1 -1
- package/src/sap/ui/mdc/enum/FieldDisplay.js +1 -1
- package/src/sap/ui/mdc/enum/OutParameterMode.js +1 -1
- package/src/sap/ui/mdc/enum/PersistenceMode.js +1 -1
- package/src/sap/ui/mdc/enum/SelectType.js +1 -1
- package/src/sap/ui/mdc/field/BoolFieldHelp.js +2 -2
- package/src/sap/ui/mdc/field/ConditionFieldHelp.js +2 -2
- package/src/sap/ui/mdc/field/ConditionType.js +8 -8
- package/src/sap/ui/mdc/field/ConditionsType.js +8 -8
- package/src/sap/ui/mdc/field/CustomFieldHelp.js +2 -2
- package/src/sap/ui/mdc/field/CustomFieldInfo.js +2 -2
- package/src/sap/ui/mdc/field/DefineConditionPanel.js +59 -22
- package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +311 -0
- package/src/sap/ui/mdc/field/FieldBase.js +84 -53
- package/src/sap/ui/mdc/field/FieldBaseDelegate.js +1 -1
- package/src/sap/ui/mdc/field/FieldBaseRenderer.js +1 -4
- package/src/sap/ui/mdc/field/FieldHelpBase.js +2 -2
- package/src/sap/ui/mdc/field/FieldHelpBaseDelegate.js +1 -1
- package/src/sap/ui/mdc/field/FieldInfoBase.js +2 -2
- package/src/sap/ui/mdc/field/FieldInput.js +2 -2
- package/src/sap/ui/mdc/field/FieldInputRenderUtil.js +2 -2
- package/src/sap/ui/mdc/field/FieldInputRenderer.js +1 -1
- package/src/sap/ui/mdc/field/FieldMultiInput.js +2 -2
- package/src/sap/ui/mdc/field/FieldMultiInputRenderer.js +1 -1
- package/src/sap/ui/mdc/field/FieldValueHelp.js +8 -8
- package/src/sap/ui/mdc/field/FieldValueHelpContentWrapperBase.js +2 -2
- package/src/sap/ui/mdc/field/FieldValueHelpDelegate.js +21 -1
- package/src/sap/ui/mdc/field/FieldValueHelpMTableWrapper.js +2 -2
- package/src/sap/ui/mdc/field/FieldValueHelpMdcTableWrapper.js +2 -2
- package/src/sap/ui/mdc/field/FieldValueHelpTableWrapperBase.js +3 -2
- package/src/sap/ui/mdc/field/FieldValueHelpUITableWrapper.js +2 -2
- package/src/sap/ui/mdc/field/InParameter.js +2 -2
- package/src/sap/ui/mdc/field/ListFieldHelp.js +11 -3
- package/src/sap/ui/mdc/field/ListFieldHelpItem.js +2 -2
- package/src/sap/ui/mdc/field/MultiValueFieldDelegate.js +1 -1
- package/src/sap/ui/mdc/field/MultiValueFieldItem.js +2 -2
- package/src/sap/ui/mdc/field/OutParameter.js +2 -2
- package/src/sap/ui/mdc/field/ValueHelpPanel.js +3 -2
- package/src/sap/ui/mdc/field/content/BooleanContent.js +2 -2
- package/src/sap/ui/mdc/field/content/ContentFactory.js +24 -22
- package/src/sap/ui/mdc/field/content/DateContent.js +129 -3
- package/src/sap/ui/mdc/field/content/DateTimeContent.js +10 -2
- package/src/sap/ui/mdc/field/content/DefaultContent.js +2 -2
- package/src/sap/ui/mdc/field/content/LinkContent.js +1 -1
- package/src/sap/ui/mdc/field/content/SearchContent.js +1 -1
- package/src/sap/ui/mdc/field/content/TimeContent.js +9 -2
- package/src/sap/ui/mdc/field/content/UnitContent.js +24 -5
- package/src/sap/ui/mdc/filterbar/FilterBarBase.js +326 -141
- package/src/sap/ui/mdc/filterbar/FilterBarBaseRenderer.js +1 -1
- package/src/sap/ui/mdc/filterbar/IFilterContainer.js +1 -1
- package/src/sap/ui/mdc/filterbar/PropertyHelper.js +2 -2
- package/src/sap/ui/mdc/filterbar/aligned/FilterContainer.js +1 -1
- package/src/sap/ui/mdc/filterbar/aligned/FilterItemLayout.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/AdaptationFilterBar.js +9 -3
- package/src/sap/ui/mdc/filterbar/p13n/FilterColumnLayout.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/FilterGroupLayout.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/GroupContainer.js +1 -1
- package/src/sap/ui/mdc/filterbar/p13n/TableContainer.js +1 -1
- package/src/sap/ui/mdc/filterbar/vh/CollectiveSearchSelect.js +4 -2
- package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +8 -2
- package/src/sap/ui/mdc/filterbar/vh/FilterContainer.js +1 -1
- package/src/sap/ui/mdc/filterbar/vh/GenericFilterBarDelegate.js +7 -7
- package/src/sap/ui/mdc/flexibility/ActionToolbar.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/ActionToolbarAction.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/AggregateFlex.js +3 -3
- package/src/sap/ui/mdc/flexibility/AggregationConfigFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/Chart.flexibility.js +2 -2
- package/src/sap/ui/mdc/flexibility/ChartItemFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/ColumnFlex.js +2 -2
- package/src/sap/ui/mdc/flexibility/ConditionFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +5 -4
- package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +2 -2
- package/src/sap/ui/mdc/flexibility/GroupFlex.js +2 -2
- package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/Panel.flexibility.js +10 -4
- package/src/sap/ui/mdc/flexibility/PanelItem.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js +110 -0
- package/src/sap/ui/mdc/flexibility/SortFlex.js +3 -3
- package/src/sap/ui/mdc/flexibility/Table.flexibility.js +1 -1
- package/src/sap/ui/mdc/flp/FlpLinkDelegate.js +2 -2
- package/src/sap/ui/mdc/library.js +50 -39
- package/src/sap/ui/mdc/link/ContactDetails.js +2 -2
- package/src/sap/ui/mdc/link/ContactDetailsAddressItem.js +2 -2
- package/src/sap/ui/mdc/link/ContactDetailsEmailItem.js +2 -2
- package/src/sap/ui/mdc/link/ContactDetailsItem.js +2 -2
- package/src/sap/ui/mdc/link/ContactDetailsPhoneItem.js +2 -2
- package/src/sap/ui/mdc/link/Factory.js +3 -3
- package/src/sap/ui/mdc/link/FakeFlpConnector.js +2 -2
- package/src/sap/ui/mdc/link/LinkItem.js +2 -2
- package/src/sap/ui/mdc/link/Log.js +1 -1
- package/src/sap/ui/mdc/link/Panel.js +141 -179
- package/src/sap/ui/mdc/link/PanelItem.js +2 -2
- package/src/sap/ui/mdc/link/PanelListItem.js +2 -2
- package/src/sap/ui/mdc/link/SemanticObjectMapping.js +2 -2
- package/src/sap/ui/mdc/link/SemanticObjectMappingItem.js +2 -2
- package/src/sap/ui/mdc/link/SemanticObjectUnavailableAction.js +2 -2
- package/src/sap/ui/mdc/messagebundle.properties +19 -4
- package/src/sap/ui/mdc/messagebundle_ar.properties +13 -4
- package/src/sap/ui/mdc/messagebundle_bg.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_ca.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_cs.properties +26 -17
- package/src/sap/ui/mdc/messagebundle_cy.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_da.properties +18 -9
- package/src/sap/ui/mdc/messagebundle_de.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_el.properties +12 -3
- package/src/sap/ui/mdc/messagebundle_en.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_en_GB.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_en_US_sappsd.properties +17 -0
- package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +3 -19
- package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +17 -0
- package/src/sap/ui/mdc/messagebundle_es.properties +12 -3
- package/src/sap/ui/mdc/messagebundle_es_MX.properties +24 -15
- package/src/sap/ui/mdc/messagebundle_et.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_fi.properties +17 -8
- package/src/sap/ui/mdc/messagebundle_fr.properties +15 -6
- package/src/sap/ui/mdc/messagebundle_fr_CA.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_hi.properties +12 -3
- package/src/sap/ui/mdc/messagebundle_hr.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_hu.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_id.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_it.properties +26 -17
- package/src/sap/ui/mdc/messagebundle_iw.properties +12 -3
- package/src/sap/ui/mdc/messagebundle_ja.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_kk.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_ko.properties +15 -6
- package/src/sap/ui/mdc/messagebundle_lt.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_lv.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_ms.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_nl.properties +16 -7
- package/src/sap/ui/mdc/messagebundle_no.properties +19 -10
- package/src/sap/ui/mdc/messagebundle_pl.properties +12 -3
- package/src/sap/ui/mdc/messagebundle_pt.properties +18 -9
- package/src/sap/ui/mdc/messagebundle_pt_PT.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_ro.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_ru.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_sh.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_sk.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_sl.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_sv.properties +13 -4
- package/src/sap/ui/mdc/messagebundle_th.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_tr.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_uk.properties +12 -3
- package/src/sap/ui/mdc/messagebundle_vi.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_zh_CN.properties +11 -2
- package/src/sap/ui/mdc/messagebundle_zh_TW.properties +11 -2
- package/src/sap/ui/mdc/mixin/AdaptationMixin.js +3 -4
- package/src/sap/ui/mdc/mixin/DelegateMixin.js +3 -3
- package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +17 -12
- package/src/sap/ui/mdc/mixin/PromiseMixin.js +3 -4
- package/src/sap/ui/mdc/odata/TypeUtil.js +2 -2
- package/src/sap/ui/mdc/odata/json/FilterBarDelegate.js +1 -1
- package/src/sap/ui/mdc/odata/v4/ChartDelegate.js +30 -484
- package/src/sap/ui/mdc/odata/v4/{ChartPropertyHelperNew.js → ChartPropertyHelper.js} +6 -6
- package/src/sap/ui/mdc/odata/v4/FieldBaseDelegate.js +1 -1
- package/src/sap/ui/mdc/odata/v4/FieldValueHelpDelegate.js +1 -1
- package/src/sap/ui/mdc/odata/v4/FilterBarDelegate.js +1 -1
- package/src/sap/ui/mdc/odata/v4/ODataMetaModelUtil.js +1 -1
- package/src/sap/ui/mdc/odata/v4/TableDelegate.js +158 -114
- package/src/sap/ui/mdc/odata/v4/TypeUtil.js +2 -2
- package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +2 -2
- package/src/sap/ui/mdc/odata/v4/util/DelegateUtil.js +2 -2
- package/src/sap/ui/mdc/odata/v4/vizChart/{ChartDelegateNew.js → ChartDelegate.js} +137 -49
- package/src/sap/ui/mdc/p13n/AdaptationProvider.js +1 -1
- package/src/sap/ui/mdc/p13n/Engine.js +56 -19
- package/src/sap/ui/mdc/p13n/FlexUtil.js +12 -119
- package/src/sap/ui/mdc/p13n/P13nBuilder.js +3 -3
- package/src/sap/ui/mdc/p13n/PersistenceProvider.js +22 -11
- package/src/sap/ui/mdc/p13n/PropertyHelper.js +2 -2
- package/src/sap/ui/mdc/p13n/StateUtil.js +41 -7
- package/src/sap/ui/mdc/p13n/UIManager.js +16 -13
- package/src/sap/ui/mdc/p13n/modification/FlexModificationHandler.js +5 -2
- package/src/sap/ui/mdc/p13n/modification/ModificationHandler.js +10 -7
- package/src/sap/ui/mdc/p13n/{DefaultProviderRegistry.js → modules/DefaultProviderRegistry.js} +3 -3
- package/src/sap/ui/mdc/p13n/modules/StateHandlerRegistry.js +86 -0
- package/src/sap/ui/mdc/p13n/panels/ActionToolbarPanel.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +20 -4
- package/src/sap/ui/mdc/p13n/panels/BasePanel.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +1093 -49
- package/src/sap/ui/mdc/p13n/panels/GroupView.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/LinkSelectionPanel.js +72 -0
- package/src/sap/ui/mdc/p13n/panels/ListView.js +7 -3
- package/src/sap/ui/mdc/p13n/panels/SelectionPanel.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/SortPanel.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/ActionToolbarController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/AdaptFiltersController.js +7 -6
- package/src/sap/ui/mdc/p13n/subcontroller/AggregateController.js +2 -2
- package/src/sap/ui/mdc/p13n/subcontroller/BaseController.js +157 -12
- package/src/sap/ui/mdc/p13n/subcontroller/ChartItemController.js +16 -27
- package/src/sap/ui/mdc/p13n/subcontroller/ColumnController.js +7 -6
- package/src/sap/ui/mdc/p13n/subcontroller/ColumnWidthController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/FilterController.js +7 -6
- package/src/sap/ui/mdc/p13n/subcontroller/GroupController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +173 -0
- package/src/sap/ui/mdc/p13n/subcontroller/SortController.js +11 -18
- package/src/sap/ui/mdc/table/Column.js +36 -11
- package/src/sap/ui/mdc/table/CreationRow.js +15 -14
- package/src/sap/ui/mdc/table/GridTableType.js +14 -14
- package/src/sap/ui/mdc/table/PropertyHelper.js +65 -28
- package/src/sap/ui/mdc/table/ResponsiveTableType.js +27 -30
- package/src/sap/ui/mdc/table/RowSettings.js +8 -6
- package/src/sap/ui/mdc/table/TableSettings.js +1 -1
- package/src/sap/ui/mdc/table/TableTypeBase.js +7 -7
- package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +16 -72
- package/src/sap/ui/mdc/themes/base/Chart.less +3 -0
- 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/themes/base/library.source.less +2 -1
- package/src/sap/ui/mdc/ui/Container.js +3 -3
- package/src/sap/ui/mdc/ui/ContainerItem.js +3 -3
- package/src/sap/ui/mdc/util/Common.js +2 -2
- package/src/sap/ui/mdc/util/DateUtil.js +2 -2
- package/src/sap/ui/mdc/util/FilterUtil.js +2 -2
- package/src/sap/ui/mdc/util/FormatUtil.js +2 -2
- package/src/sap/ui/mdc/util/IdentifierUtil.js +2 -2
- package/src/sap/ui/mdc/util/PromiseCache.js +2 -2
- package/src/sap/ui/mdc/util/PropertyHelper.js +149 -326
- package/src/sap/ui/mdc/util/TypeUtil.js +6 -5
- package/src/sap/ui/mdc/util/loadModules.js +1 -1
- package/src/sap/ui/mdc/valuehelp/Dialog.js +13 -9
- package/src/sap/ui/mdc/valuehelp/Popover.js +15 -3
- package/src/sap/ui/mdc/valuehelp/base/Container.js +34 -2
- package/src/sap/ui/mdc/valuehelp/base/Content.js +37 -6
- package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +3 -2
- package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +44 -16
- package/src/sap/ui/mdc/valuehelp/base/ListContent.js +3 -2
- package/src/sap/ui/mdc/valuehelp/content/Bool.js +3 -2
- package/src/sap/ui/mdc/valuehelp/content/Conditions.js +29 -33
- package/src/sap/ui/mdc/valuehelp/content/FixedList.js +12 -6
- package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +44 -9
- package/src/sap/ui/mdc/valuehelp/content/MTable.js +58 -27
- 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 +365 -236
- 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 -1171
- package/src/sap/ui/mdc/p13n/panels/GroupPanel.js +0 -111
- package/src/sap/ui/mdc/p13n/panels/QueryPanel.js +0 -322
- package/src/sap/ui/mdc/p13n/panels/SortQueryPanel.js +0 -133
- package/src/sap/ui/mdc/p13n/panels/Wrapper.js +0 -203
|
@@ -1,276 +1,435 @@
|
|
|
1
|
-
|
|
2
|
-
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
1
|
+
/*
|
|
2
|
+
* ! OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
// ---------------------------------------------------------------------------------------
|
|
8
|
+
// Helper class used to help create content in the MDC chart and fill relevant metadata
|
|
9
|
+
// ---------------------------------------------------------------------------------------
|
|
10
|
+
// ---------------------------------------------------------------------------------------
|
|
7
11
|
sap.ui.define([
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
12
|
+
"sap/ui/mdc/AggregationBaseDelegate"
|
|
13
|
+
], function (AggregationBaseDelegate) {
|
|
14
|
+
"use strict";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Base delegate class for sap.ui.mdc.Chart.<br>
|
|
18
|
+
* <b>Note:</b> The class is experimental and the API/behavior is not finalized and hence this should not be used for productive usage.
|
|
19
|
+
*
|
|
20
|
+
* @author SAP SE
|
|
21
|
+
* @private
|
|
22
|
+
* @experimental
|
|
23
|
+
* @since 1.88
|
|
24
|
+
* @alias sap.ui.mdc.ChartDelegate
|
|
25
|
+
*/
|
|
26
|
+
var ChartDelegate = Object.assign({}, AggregationBaseDelegate);
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Toolbar relevant API (WIP)
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
*Zooms in on the inner chart.
|
|
35
|
+
* @param {int} iValue Number of steps for zooming in
|
|
36
|
+
*
|
|
37
|
+
* @experimental
|
|
38
|
+
* @private
|
|
39
|
+
* @ui5-restricted sap.ui.mdc
|
|
40
|
+
*/
|
|
41
|
+
ChartDelegate.zoomIn = function (iValue) {
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
*Zooms out of the inner chart.
|
|
46
|
+
* @param {int} iValue Number of steps for zooming out
|
|
47
|
+
*
|
|
48
|
+
* @experimental
|
|
49
|
+
* @private
|
|
50
|
+
* @ui5-restricted sap.ui.mdc
|
|
51
|
+
*/
|
|
52
|
+
ChartDelegate.zoomOut = function (iValue) {
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @typedef {Object} ZoomState
|
|
58
|
+
* @property {bool} enabled <code>true</code> if zooming is enabled
|
|
59
|
+
* @property {number} currentZoomLevel Current zoom level of the chart in percent (between 0 and 1)
|
|
60
|
+
*/
|
|
61
|
+
/**
|
|
62
|
+
* Retrieves the current zooming information for the inner chart.
|
|
63
|
+
* @returns {ZoomState} Current zoom state on the inner chart
|
|
64
|
+
*
|
|
65
|
+
* @experimental
|
|
66
|
+
* @private
|
|
67
|
+
* @ui5-restricted sap.ui.mdc
|
|
68
|
+
*/
|
|
69
|
+
ChartDelegate.getZoomState = function () {
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @typedef {Object} SelectionDetails
|
|
74
|
+
* @property {string} eventId ID of the selection event
|
|
75
|
+
* @property {sap.core.Control} reference Reference to inner chart
|
|
76
|
+
*/
|
|
77
|
+
/**
|
|
78
|
+
** Returns the event handler for <code>chartSelectionDetails</code> as an object.
|
|
79
|
+
*
|
|
80
|
+
* @returns {SelectionDetails} Event handler for chartSelectionDetails
|
|
81
|
+
*
|
|
82
|
+
* @experimental
|
|
83
|
+
* @private
|
|
84
|
+
* @ui5-restricted sap.ui.mdc
|
|
85
|
+
*/
|
|
86
|
+
ChartDelegate.getInnerChartSelectionHandler = function () {
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Sets the visibility of the legend.
|
|
91
|
+
* <b>Note:</b> This function is called by the MDC chart only. You must not call it directly but use {@link sap.ui.mdc.Chart#setLegendVisible LegendVisible} instead.
|
|
92
|
+
* @param {bool} bVisible <code>true</code> to show legend, <code>false</code> to hide
|
|
93
|
+
*
|
|
94
|
+
* @experimental
|
|
95
|
+
* @private
|
|
96
|
+
* @ui5-restricted sap.ui.mdc
|
|
97
|
+
*/
|
|
98
|
+
ChartDelegate.setLegendVisible = function (bVisible) {
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Creates a sorter for a given property.
|
|
103
|
+
* @param {sap.ui.mdc.Chart.Item} oMDCItem MDC item for which a sorter is created
|
|
104
|
+
* @param {object} oSortProperty The sorting information
|
|
105
|
+
*
|
|
106
|
+
* @experimental
|
|
107
|
+
* @private
|
|
108
|
+
* @ui5-restricted sap.ui.mdc
|
|
109
|
+
*/
|
|
110
|
+
ChartDelegate.getSorterForItem = function (oMDCItem, oSortProperty) {
|
|
111
|
+
//TODO: Check wether we really need this method.
|
|
112
|
+
//TODO: Right now it is needed since the name of a property does not include the aggregation method -> leads to an error when calling back-end
|
|
113
|
+
//TODO: In old chart, aggragation method was included in name since every method had their own Item
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Inserts an MDC chart item (for <code>sap.chart.Chart</code>, this would be a measure/dimension) into the inner chart.
|
|
118
|
+
* This function is called by the MDC chart after a change of the <code>Items</code> aggregation.
|
|
119
|
+
* <b>Note:</b> Do not call this yourself, as it would not be synced with the MDC chart, but instead insert the Item into the MDC chart.
|
|
120
|
+
* @param {sap.ui.mdc.chart.Item} oMDCChartItem MDC chart item that is inserted into the inner chart
|
|
121
|
+
* @param {int} iIndex The index into which items are inserted
|
|
122
|
+
*
|
|
123
|
+
* @experimental
|
|
124
|
+
* @private
|
|
125
|
+
* @ui5-restricted sap.ui.mdc
|
|
126
|
+
*/
|
|
127
|
+
ChartDelegate.insertItemToInnerChart = function (oMDCChartItem, iIndex) {
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Removes an item (for <code>sap.chart.Chart</code>, this would be a measure/dimension) from the inner chart.
|
|
132
|
+
* This function is called by the MDC chart after a change of the <code>Items</code> aggregation.
|
|
133
|
+
* <b>Note:</b> Do not call this yourself, as it would not be synced with the MDC chart, but instead remove the item from the MDC chart.
|
|
134
|
+
* @param {sap.ui.mdc.chart.Item} oMDCChartItem The item to be removed from the inner chart
|
|
135
|
+
*
|
|
136
|
+
* @experimental
|
|
137
|
+
* @private
|
|
138
|
+
* @ui5-restricted sap.ui.mdc
|
|
139
|
+
*/
|
|
140
|
+
ChartDelegate.removeItemFromInnerChart = function (oMDCChartItem) {
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Creates a new MDC chart item for a given property name and updates the inner chart.
|
|
145
|
+
* <b>Note:</b> This does <b>not</b> add the MDC chart item to the <code>Items</code> aggregation of the MDC chart.
|
|
146
|
+
* Called and used by <code>p13n</code>.
|
|
147
|
+
* @param {string} sPropertyName Name of the property added
|
|
148
|
+
* @param {sap.ui.mdc.Chart} oMDCChart Reference to the MDC chart to which the item is added
|
|
149
|
+
* @returns {Promise<sap.ui.mdc.Chart.Item>} <code>Promise</code> that resolves with new MDC chart item as parameter
|
|
150
|
+
*
|
|
151
|
+
* @experimental
|
|
152
|
+
* @private
|
|
153
|
+
* @ui5-restricted sap.ui.mdc
|
|
154
|
+
*/
|
|
155
|
+
ChartDelegate.addItem = function (sPropertyName, oMDCChart, mPropertyBag, sRole) {
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Removes an existing MDC chart item for a given property name and updates the inner chart.
|
|
160
|
+
* Called and used by p13n
|
|
161
|
+
* @param {string} sPropertyName Name of the property removed
|
|
162
|
+
* @param {sap.ui.mdc.Chart} oMDCChart Reference to the MDC chart from which property is removed
|
|
163
|
+
* @returns {Promise<bool>} Promise containing information whether the item was deleted
|
|
164
|
+
*
|
|
165
|
+
* @experimental
|
|
166
|
+
* @private
|
|
167
|
+
* @ui5-restricted sap.ui.mdc
|
|
168
|
+
*/
|
|
169
|
+
ChartDelegate.removeItem = function (oProperty, oMDCChart) {
|
|
170
|
+
return Promise.resolve(true);
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Chart relevant API (WIP)
|
|
175
|
+
*/
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Loads the required libraries and creates the inner chart.
|
|
179
|
+
* @param {sap.ui.mdc.Chart} oMDCChart Reference to the MDC chart
|
|
180
|
+
* @returns {Promise} Resolved once the inner chart has been initialized
|
|
181
|
+
*
|
|
182
|
+
* @experimental
|
|
183
|
+
* @private
|
|
184
|
+
* @ui5-restricted sap.ui.mdc
|
|
185
|
+
*/
|
|
186
|
+
ChartDelegate.initializeInnerChart = function (oMDCChart) {
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Creates the initial content for the chart before the metadata is retrieved.
|
|
191
|
+
* This can be used by chart libraries that can already show some information without the actual data (for example, axis labels, legend, ...).
|
|
192
|
+
* @param {sap.ui.mdc.Chart} oMDCChart Reference to the MDC chart
|
|
193
|
+
*
|
|
194
|
+
* @experimental
|
|
195
|
+
* @private
|
|
196
|
+
* @ui5-restricted sap.ui.mdc
|
|
197
|
+
*/
|
|
198
|
+
ChartDelegate.createInitialChartContent = function (oMDCChart) {
|
|
199
|
+
//Not relevant for sap.chart.Chart
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* Returns the instance of the inner chart.
|
|
203
|
+
* @returns {sap.core.Control} Instance of the inner chart
|
|
204
|
+
*/
|
|
205
|
+
ChartDelegate.getInnerChart = function () {
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* @typedef {Object} ChartTypeObject
|
|
210
|
+
* @property {string} key Unique key of the chart type
|
|
211
|
+
* @property {string} icon URI for the icon for the current chart type
|
|
212
|
+
* @property {string} text Name of the current chart type
|
|
213
|
+
* @property {bool} selected Whether the chart type is the one currently used
|
|
214
|
+
*/
|
|
215
|
+
/**
|
|
216
|
+
* Returns the current chart type.
|
|
217
|
+
* @returns {ChartTypeObject} Information about the current chart type
|
|
218
|
+
* @throws exception if inner chart is not initialized yet
|
|
219
|
+
*
|
|
220
|
+
* @experimental
|
|
221
|
+
* @private
|
|
222
|
+
* @ui5-restricted sap.ui.mdc
|
|
223
|
+
*/
|
|
224
|
+
ChartDelegate.getChartTypeInfo = function () {
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* This function is used by P13n to determine which chart type supports which layout options.
|
|
229
|
+
* There might be chart tyoes which do not support certain layout options (i.e. "Axis3").
|
|
230
|
+
* Layout config is defined as followed:
|
|
231
|
+
* {
|
|
232
|
+
* key: string //identifier for the chart type
|
|
233
|
+
* allowedLayoutOptions : [] //array containing allowed layout options as string
|
|
234
|
+
* }
|
|
235
|
+
*
|
|
236
|
+
* @returns {array}
|
|
237
|
+
*/
|
|
238
|
+
ChartDelegate.getChartTypeLayoutConfig = function() {
|
|
239
|
+
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Gets the available chart types for the current state of the inner chart.
|
|
244
|
+
*
|
|
245
|
+
* @returns {array<ChartTypeObject>} Array containing the available chart types
|
|
246
|
+
*
|
|
247
|
+
* @experimental
|
|
248
|
+
* @private
|
|
249
|
+
* @ui5-restricted Fiori Elements
|
|
250
|
+
*/
|
|
251
|
+
ChartDelegate.getAvailableChartTypes = function () {
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Returns the current drilling stack of the inner chart.
|
|
256
|
+
* The returned objects need at least a <code>label</code> and a <code>name</code> property.
|
|
257
|
+
* Also, a <code>dimension</code> array containing the dimension drill stack at the current level is required.
|
|
258
|
+
* @returns {array} Array containing the drill stack
|
|
259
|
+
*
|
|
260
|
+
* @experimental
|
|
261
|
+
* @private
|
|
262
|
+
* @ui5-restricted sap.ui.mdc
|
|
263
|
+
*/
|
|
264
|
+
ChartDelegate.getDrillStack = function () {
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Returns all sorted dimensions of an inner chart as property.
|
|
269
|
+
* This is used to determine possible drilldown dimensions in the drill down popover of the MDC chart.
|
|
270
|
+
* @param {sap.ui.mdc.Chart} oMDCChart Reference to the MDC chart
|
|
271
|
+
* @returns {Promise<array<sap.ui.mdc.chart.Item>>} <code>Promise</code> containing an array of dimensions that is sorted
|
|
272
|
+
*
|
|
273
|
+
* @experimental
|
|
274
|
+
* @private
|
|
275
|
+
* @ui5-restricted sap.ui.mdc
|
|
276
|
+
*/
|
|
277
|
+
ChartDelegate.getSortedDimensions = function (oMDCChart) {
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Determines which MDC items are drillable and returns them.
|
|
282
|
+
* This function is used by the breadcrumb navigation.
|
|
283
|
+
*
|
|
284
|
+
* @param {sap.ui.mdc.Chart} oMDCChart Reference to the MDC chart
|
|
285
|
+
* @returns {array<sap.ui.mdc.chart.Item>} Array of MDC items that are drillable
|
|
286
|
+
*
|
|
287
|
+
* @experimental
|
|
288
|
+
* @private
|
|
289
|
+
* @ui5-restricted sap.ui.mdc
|
|
290
|
+
*/
|
|
291
|
+
ChartDelegate.getDrillableItems = function (oMDCChart) {
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Sets the chart type of the inner chart.
|
|
296
|
+
* This function is called by the MDC chart when the <code>chartType</code> property is updated.
|
|
297
|
+
* <b>Note:</b> This function is called by the MDC chart only. You must not call it directly but use {@link sap.ui.mdc.Chart#setChartType setChartType} instead.
|
|
298
|
+
* @param {string} sChartType The new chart type
|
|
299
|
+
*
|
|
300
|
+
* @experimental
|
|
301
|
+
* @private
|
|
302
|
+
* @ui5-restricted sap.ui.mdc
|
|
303
|
+
*/
|
|
304
|
+
ChartDelegate.setChartType = function (sChartType) {
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Binds the inner chart to the back-end data and creates the inner chart content.
|
|
309
|
+
* @param {sap.ui.mdc.Chart} oMDCChart Reference to the MDC chart
|
|
310
|
+
* @param {function} fnCallbackDataLoaded Callback function when data is loaded
|
|
311
|
+
*
|
|
312
|
+
* @experimental
|
|
313
|
+
* @private
|
|
314
|
+
* @ui5-restricted sap.ui.mdc
|
|
315
|
+
*/
|
|
316
|
+
ChartDelegate.createInnerChartContent = function (oMDCChart, fnCallbackDataLoaded) {
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Checks the binding of the chart and rebinds it if required.
|
|
321
|
+
*
|
|
322
|
+
* @param {sap.ui.mdc.Chart} oMDCChart Reference to the MDC chart
|
|
323
|
+
* @param {object} oBindingInfo The bindingInfo of the chart
|
|
324
|
+
* @deprecated as of 1.98;: use rebind instead
|
|
325
|
+
*
|
|
326
|
+
* @experimental
|
|
327
|
+
* @private
|
|
328
|
+
* @ui5-restricted sap.ui.mdc
|
|
329
|
+
*/
|
|
330
|
+
ChartDelegate.rebindChart = function (oMDCChart, oBindingInfo) {
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Checks the binding of the chart and rebinds it if required.
|
|
336
|
+
*
|
|
337
|
+
* @param {sap.ui.mdc.Chart} oMDCChart Reference to the MDC chart
|
|
338
|
+
* @param {object} oBindingInfo The bindingInfo of the chart
|
|
339
|
+
*
|
|
340
|
+
* @experimental
|
|
341
|
+
* @private
|
|
342
|
+
* @ui5-restricted sap.ui.mdc
|
|
343
|
+
*/
|
|
344
|
+
ChartDelegate.rebind = function (oMDCChart, oBindingInfo) {
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Returns the information whether the inner chart is currently bound.
|
|
349
|
+
* @returns {bool} <code>true</code> if inner chart is bound; <code>false</code> if not
|
|
350
|
+
*
|
|
351
|
+
* @experimental
|
|
352
|
+
* @private
|
|
353
|
+
* @ui5-restricted sap.ui.mdc
|
|
354
|
+
*/
|
|
355
|
+
ChartDelegate.getInnerChartBound = function () {
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Updates the binding info with the relevant filters.
|
|
360
|
+
*
|
|
361
|
+
* @param {Object} oMDCChart The MDC chart instance
|
|
362
|
+
* @param {Object} oBindingInfo The binding info of the chart
|
|
363
|
+
*
|
|
364
|
+
* @experimental
|
|
365
|
+
* @private
|
|
366
|
+
* @ui5-restricted sap.ui.mdc
|
|
367
|
+
*/
|
|
368
|
+
ChartDelegate.updateBindingInfo = function (oMDCChart, oBindingInfo) {
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Sets tooltips to visible/invisible for the inner chart.
|
|
373
|
+
* <b>Note:</b> This function is called by the MDC chart only. You must not call it directly but use {@link sap.ui.mdc.Chart#setShowChartTooltip setShowChartTooltip} instead.
|
|
374
|
+
* @param {bool} bFlag <code>true</code> for visible, <code>false</code> for invisible
|
|
375
|
+
*
|
|
376
|
+
* @experimental
|
|
377
|
+
* @private
|
|
378
|
+
* @ui5-restricted sap.ui.mdc
|
|
379
|
+
*/
|
|
380
|
+
ChartDelegate.setChartTooltipVisibility = function (bFlag) {
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* This function returns an id which should be used in the internal chart for the measure/dimension
|
|
385
|
+
* In the standard case, this is just the id of the property.
|
|
386
|
+
* If it is necessary to use another id internally inside the chart (e.g. on duplicate property ids) this method can be overwritten.
|
|
387
|
+
* In this case, <code>getPropertyFromNameAndKind</code> needs to be overwritten aswell.
|
|
388
|
+
* @param {string} sName ID of the property
|
|
389
|
+
* @param {string} sKind Kind of the Property (Measure/Dimension)
|
|
390
|
+
* @param {sap.ui.mdc.Chart} oMDCChart reference to the MDC Chart
|
|
391
|
+
* @returns {string} internal id for the sap.chart.Chart
|
|
392
|
+
*/
|
|
393
|
+
ChartDelegate.getInternalChartNameFromPropertyNameAndKind = function(sName, sKind, oMDCChart) {
|
|
394
|
+
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* This maps an id of an internal chart dimension/measure & kind of a property to its coresponding property entry.
|
|
399
|
+
* @param {string} sName the id of internal chart measure/dimension
|
|
400
|
+
* @param {string} sKind the kind of the property
|
|
401
|
+
* @param {sap.ui.mdc.Chart} oMDCChart reference to the MDC Chart
|
|
402
|
+
* @returns {object} the property object
|
|
403
|
+
*/
|
|
404
|
+
ChartDelegate.getPropertyFromNameAndKind = function(sName, sKind, oMDCChart) {
|
|
405
|
+
|
|
406
|
+
};
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Initializes a new chart property helper for V4 analytics with the property extensions merged into the property infos.
|
|
411
|
+
*
|
|
412
|
+
* @param {sap.ui.mdc.Chart} oMDCChart Reference to the MDC chart
|
|
413
|
+
* @returns {Promise<sap.ui.mdc.chart.PropertyHelper>} <code>Promise</code> that resolves with the property helper
|
|
414
|
+
* @private
|
|
415
|
+
* @ui5-restricted sap.ui.mdc
|
|
416
|
+
*/
|
|
417
|
+
ChartDelegate.initPropertyHelper = function (oMDCChart) {
|
|
418
|
+
return Promise.resolve(true);
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Returns the relevant propery infos based on the metadata used with the MDC chart instance.
|
|
423
|
+
*
|
|
424
|
+
* @param {sap.ui.mdc.Chart} oMDCChart Reference to the MDC chart
|
|
425
|
+
* @returns {array} Array of the property infos to be used within MDC chart
|
|
426
|
+
*
|
|
427
|
+
* @experimental
|
|
428
|
+
* @private
|
|
429
|
+
* @ui5-restricted sap.ui.mdc
|
|
430
|
+
*/
|
|
431
|
+
ChartDelegate.fetchProperties = function (oMDCChart) {
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
return ChartDelegate;
|
|
276
435
|
});
|