@openui5/sap.ui.mdc 1.131.0 → 1.132.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/THIRDPARTY.txt +1 -1
- package/package.json +4 -4
- package/src/sap/ui/mdc/.library +2 -2
- package/src/sap/ui/mdc/ActionToolbar.js +2 -2
- 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 +80 -55
- package/src/sap/ui/mdc/ChartDelegate.js +42 -36
- package/src/sap/ui/mdc/ChartRenderer.js +1 -1
- package/src/sap/ui/mdc/Control.js +2 -2
- package/src/sap/ui/mdc/DefaultTypeMap.js +2 -2
- package/src/sap/ui/mdc/Element.js +2 -2
- package/src/sap/ui/mdc/Field.js +3 -3
- package/src/sap/ui/mdc/FilterBar.js +2 -2
- package/src/sap/ui/mdc/FilterBarDelegate.js +1 -1
- package/src/sap/ui/mdc/FilterField.js +4 -4
- package/src/sap/ui/mdc/Link.js +2 -2
- package/src/sap/ui/mdc/LinkDelegate.js +1 -1
- package/src/sap/ui/mdc/MultiValueField.js +2 -2
- package/src/sap/ui/mdc/Table.js +70 -143
- package/src/sap/ui/mdc/TableDelegate.js +32 -29
- package/src/sap/ui/mdc/ValueHelp.js +15 -26
- package/src/sap/ui/mdc/ValueHelpDelegate.js +1 -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/chart/ChartImplementationContainer.js +2 -2
- package/src/sap/ui/mdc/chart/ChartImplementationContainerRenderer.js +1 -1
- package/src/sap/ui/mdc/chart/ChartSelectionDetails.js +2 -2
- package/src/sap/ui/mdc/chart/DrillBreadcrumbs.js +1 -1
- package/src/sap/ui/mdc/chart/Item.js +5 -6
- package/src/sap/ui/mdc/chart/PropertyHelper.js +2 -2
- package/src/sap/ui/mdc/chart/SelectionButton.js +1 -1
- package/src/sap/ui/mdc/chart/SelectionButtonDisplay.js +1 -1
- package/src/sap/ui/mdc/chart/SelectionButtonItem.js +1 -1
- package/src/sap/ui/mdc/chart/SelectionDetailsActions.js +1 -1
- package/src/sap/ui/mdc/chart/ToolbarControlFactory.js +2 -2
- package/src/sap/ui/mdc/chart/Util.js +1 -1
- 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/ConditionValidateException.js +1 -1
- package/src/sap/ui/mdc/condition/FilterConverter.js +2 -2
- package/src/sap/ui/mdc/condition/FilterOperatorUtil.js +54 -40
- package/src/sap/ui/mdc/condition/Operator.js +3 -3
- package/src/sap/ui/mdc/condition/OperatorDynamicDateOption.js +2 -2
- package/src/sap/ui/mdc/condition/RangeOperator.js +2 -2
- package/src/sap/ui/mdc/designtime/Util.js +1 -1
- package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbar.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/actiontoolbar/ActionToolbarAction.designtime.js +7 -3
- package/src/sap/ui/mdc/designtime/chart/Chart.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/field/Field.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/field/FieldBase.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/field/FilterField.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/field/MultiValueField.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/filterbar/FilterBar.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/filterbar/FilterBarBase.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/library.designtime.js +1 -1
- package/src/sap/ui/mdc/designtime/messagebundle_en_US_saptrc.properties +2 -2
- 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/FilterBarValidationStatus.js +1 -1
- package/src/sap/ui/mdc/enum/LinkType.js +1 -1
- package/src/sap/ui/mdc/enum/OperatorOverwrite.js +1 -1
- package/src/sap/ui/mdc/enum/OperatorValueType.js +1 -1
- package/src/sap/ui/mdc/enum/ProcessingStrategy.js +1 -1
- package/src/sap/ui/mdc/enum/PropagationReason.js +1 -1
- package/src/sap/ui/mdc/enum/ReasonMode.js +1 -1
- package/src/sap/ui/mdc/enum/SelectType.js +1 -1
- package/src/sap/ui/mdc/enums/ActionToolbarActionAlignment.js +1 -1
- package/src/sap/ui/mdc/enums/BaseType.js +1 -1
- package/src/sap/ui/mdc/enums/ChartItemRoleType.js +1 -1
- package/src/sap/ui/mdc/enums/ChartItemType.js +1 -1
- package/src/sap/ui/mdc/enums/ChartP13nMode.js +1 -1
- package/src/sap/ui/mdc/enums/ChartToolbarActionType.js +1 -1
- package/src/sap/ui/mdc/enums/ConditionValidated.js +1 -1
- package/src/sap/ui/mdc/enums/ContentMode.js +1 -1
- package/src/sap/ui/mdc/enums/FieldDisplay.js +1 -1
- package/src/sap/ui/mdc/enums/FieldEditMode.js +1 -1
- package/src/sap/ui/mdc/enums/FilterBarP13nMode.js +1 -1
- package/src/sap/ui/mdc/enums/FilterBarValidationStatus.js +1 -1
- package/src/sap/ui/mdc/enums/LinkType.js +1 -1
- package/src/sap/ui/mdc/enums/OperatorName.js +3 -3
- package/src/sap/ui/mdc/enums/OperatorOverwrite.js +1 -1
- package/src/sap/ui/mdc/enums/OperatorValueType.js +1 -1
- package/src/sap/ui/mdc/enums/ProcessingStrategy.js +1 -1
- package/src/sap/ui/mdc/enums/ReasonMode.js +1 -1
- package/src/sap/ui/mdc/enums/TableGrowingMode.js +1 -1
- package/src/sap/ui/mdc/enums/TableMultiSelectMode.js +1 -1
- package/src/sap/ui/mdc/enums/TableP13nMode.js +1 -1
- package/src/sap/ui/mdc/enums/TableRowActionType.js +1 -1
- package/src/sap/ui/mdc/enums/TableRowCountMode.js +1 -1
- package/src/sap/ui/mdc/enums/TableSelectionMode.js +1 -1
- package/src/sap/ui/mdc/enums/TableType.js +1 -1
- package/src/sap/ui/mdc/enums/ValueHelpPropagationReason.js +1 -1
- package/src/sap/ui/mdc/enums/ValueHelpSelectionType.js +1 -1
- package/src/sap/ui/mdc/field/ConditionType.js +2 -2
- package/src/sap/ui/mdc/field/ConditionTypeMixin.js +2 -2
- package/src/sap/ui/mdc/field/ConditionsType.js +2 -2
- package/src/sap/ui/mdc/field/CustomFieldInfo.js +2 -2
- package/src/sap/ui/mdc/field/DynamicDateRangeConditionsType.js +2 -2
- package/src/sap/ui/mdc/field/FieldBase.js +39 -31
- package/src/sap/ui/mdc/field/FieldBaseDelegate.js +1 -1
- package/src/sap/ui/mdc/field/FieldBaseRenderer.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 +8 -3
- package/src/sap/ui/mdc/field/FieldMultiInputRenderer.js +1 -1
- 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/TokenDisplay.js +2 -2
- package/src/sap/ui/mdc/field/TokenDisplayRenderer.js +1 -1
- package/src/sap/ui/mdc/field/TokenizerDisplay.js +2 -2
- package/src/sap/ui/mdc/field/TokenizerDisplayRenderer.js +1 -1
- package/src/sap/ui/mdc/field/content/BooleanContent.js +1 -1
- package/src/sap/ui/mdc/field/content/ContentFactory.js +9 -3
- package/src/sap/ui/mdc/field/content/DateContent.js +2 -2
- package/src/sap/ui/mdc/field/content/DateTimeContent.js +1 -1
- package/src/sap/ui/mdc/field/content/DefaultContent.js +1 -4
- 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 +1 -1
- package/src/sap/ui/mdc/field/content/UnitContent.js +2 -1
- package/src/sap/ui/mdc/field/splitValue.js +1 -1
- package/src/sap/ui/mdc/filterbar/FilterBarBase.js +73 -53
- 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/PropertyInfoValidator.js +167 -0
- 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 +2 -2
- 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 +1 -1
- package/src/sap/ui/mdc/filterbar/vh/FilterBar.js +2 -2
- package/src/sap/ui/mdc/filterbar/vh/FilterBarDelegate.js +1 -1
- package/src/sap/ui/mdc/filterbar/vh/FilterContainer.js +1 -1
- 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 +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/ChartTypeFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/ColumnFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/ConditionFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/FilterBar.flexibility.js +2 -2
- package/src/sap/ui/mdc/flexibility/FilterItemFlex.js +2 -2
- package/src/sap/ui/mdc/flexibility/GroupFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/ItemBaseFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/Panel.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/PanelItem.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/PropertyInfoFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/SortFlex.js +1 -1
- package/src/sap/ui/mdc/flexibility/Table.flexibility.js +1 -1
- package/src/sap/ui/mdc/flexibility/Util.js +1 -1
- package/src/sap/ui/mdc/flexibility/actiontoolbar/CombineAction.js +2 -2
- package/src/sap/ui/mdc/flexibility/actiontoolbar/SplitAction.js +2 -2
- package/src/sap/ui/mdc/flexibility/helpers/addKeyOrName.js +1 -1
- package/src/sap/ui/mdc/flexibility/xConfigFlex.js +1 -1
- package/src/sap/ui/mdc/flp/FlpLinkDelegate.js +1 -1
- package/src/sap/ui/mdc/library.js +5 -5
- package/src/sap/ui/mdc/library.support.js +1 -1
- package/src/sap/ui/mdc/link/Factory.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 +2 -2
- package/src/sap/ui/mdc/link/PanelItem.js +2 -2
- package/src/sap/ui/mdc/link/PanelRenderer.js +1 -1
- 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 +6 -0
- package/src/sap/ui/mdc/messagebundle_ar.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_bg.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_ca.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_cnr.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_cs.properties +4 -3
- package/src/sap/ui/mdc/messagebundle_cy.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_da.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_de.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_el.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_en.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_en_GB.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_en_US_saprigi.properties +3 -0
- package/src/sap/ui/mdc/messagebundle_en_US_saptrc.properties +328 -420
- package/src/sap/ui/mdc/messagebundle_es.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_es_MX.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_et.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_fi.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_fr.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_fr_CA.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_hi.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_hr.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_hu.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_id.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_it.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_iw.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_ja.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_kk.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_ko.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_lt.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_lv.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_mk.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_ms.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_nl.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_no.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_pl.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_pt.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_pt_PT.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_ro.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_ru.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_sh.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_sk.properties +4 -3
- package/src/sap/ui/mdc/messagebundle_sl.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_sr.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_sv.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_th.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_tr.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_uk.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_vi.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_zh_CN.properties +3 -2
- package/src/sap/ui/mdc/messagebundle_zh_TW.properties +3 -2
- package/src/sap/ui/mdc/mixin/AdaptationMixin.js +2 -2
- package/src/sap/ui/mdc/mixin/DelegateMixin.js +2 -2
- package/src/sap/ui/mdc/mixin/FilterIntegrationMixin.js +2 -2
- package/src/sap/ui/mdc/mixin/PromiseMixin.js +2 -2
- package/src/sap/ui/mdc/mixin/PropertyHelperMixin.js +3 -4
- package/src/sap/ui/mdc/mixin/delegate/FilterIntegrationDefault.js +1 -1
- package/src/sap/ui/mdc/odata/TypeMap.js +2 -2
- package/src/sap/ui/mdc/odata/TypeUtil.js +1 -1
- package/src/sap/ui/mdc/odata/v4/ChartDelegate.js +1 -1
- package/src/sap/ui/mdc/odata/v4/ODataMetaModelUtil.js +1 -1
- package/src/sap/ui/mdc/odata/v4/TableDelegate.js +194 -78
- package/src/sap/ui/mdc/odata/v4/TypeMap.js +2 -2
- package/src/sap/ui/mdc/odata/v4/TypeUtil.js +1 -1
- package/src/sap/ui/mdc/odata/v4/ValueHelpDelegate.js +1 -1
- package/src/sap/ui/mdc/odata/v4/util/DelegateUtil.js +1 -1
- package/src/sap/ui/mdc/odata/v4/vizChart/ChartDelegate.js +131 -473
- package/src/sap/ui/mdc/p13n/P13nBuilder.js +1 -1
- package/src/sap/ui/mdc/p13n/PersistenceProvider.js +1 -1
- package/src/sap/ui/mdc/p13n/PropertyHelper.js +2 -2
- package/src/sap/ui/mdc/p13n/StateUtil.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/ActionToolbarPanel.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/AdaptFiltersPanel.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/ChartItemPanel.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/FilterPanel.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/GroupView.js +1 -1
- package/src/sap/ui/mdc/p13n/panels/LinkSelectionPanel.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/ActionToolbarController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/AdaptFiltersController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/AggregateController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/ChartItemController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/ChartTypeController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/ColumnController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/FilterController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/GroupController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/LinkPanelController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/SelectionController.js +1 -1
- package/src/sap/ui/mdc/p13n/subcontroller/SortController.js +1 -1
- package/src/sap/ui/mdc/rules/Table.support.js +1 -1
- package/src/sap/ui/mdc/table/Column.js +1 -1
- package/src/sap/ui/mdc/table/ColumnSettings.js +2 -2
- package/src/sap/ui/mdc/table/CreationRow.js +5 -5
- package/src/sap/ui/mdc/table/DragDropConfig.js +2 -2
- package/src/sap/ui/mdc/table/GridTableType.js +41 -26
- package/src/sap/ui/mdc/table/PropertyHelper.js +3 -15
- package/src/sap/ui/mdc/table/ResponsiveColumnSettings.js +2 -2
- package/src/sap/ui/mdc/table/ResponsiveTableType.js +35 -33
- package/src/sap/ui/mdc/table/RowActionItem.js +2 -2
- package/src/sap/ui/mdc/table/RowSettings.js +2 -2
- package/src/sap/ui/mdc/table/TableSettings.js +1 -1
- package/src/sap/ui/mdc/table/TableTypeBase.js +1 -5
- package/src/sap/ui/mdc/table/TreeTableType.js +1 -1
- package/src/sap/ui/mdc/table/V4AnalyticsPropertyHelper.js +16 -32
- package/src/sap/ui/mdc/table/menu/GroupHeaderRowContextMenu.js +120 -0
- package/src/sap/ui/mdc/table/menu/Item.js +1 -1
- package/src/sap/ui/mdc/table/menu/ItemContainer.js +1 -1
- package/src/sap/ui/mdc/table/menu/QuickActionContainer.js +4 -4
- package/src/sap/ui/mdc/table/utils/Personalization.js +25 -11
- package/src/sap/ui/mdc/themes/base/library.source.less +1 -1
- package/src/sap/ui/mdc/ushell/LinkDelegate.js +1 -1
- package/src/sap/ui/mdc/ushell/SemanticObjectMapping.js +2 -2
- package/src/sap/ui/mdc/ushell/SemanticObjectMappingItem.js +2 -2
- package/src/sap/ui/mdc/ushell/SemanticObjectUnavailableAction.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/DensityHelper.js +1 -1
- package/src/sap/ui/mdc/util/FilterUtil.js +1 -1
- package/src/sap/ui/mdc/util/IdentifierUtil.js +1 -1
- package/src/sap/ui/mdc/util/InfoBar.js +2 -2
- package/src/sap/ui/mdc/util/InfoBarRenderer.js +1 -1
- package/src/sap/ui/mdc/util/PromiseCache.js +2 -2
- package/src/sap/ui/mdc/util/PropertyHelper.js +31 -89
- package/src/sap/ui/mdc/util/TypeMap.js +1 -1
- package/src/sap/ui/mdc/util/TypeUtil.js +1 -1
- package/src/sap/ui/mdc/util/loadModules.js +1 -1
- package/src/sap/ui/mdc/valuehelp/CollectiveSearchSelect.js +1 -1
- package/src/sap/ui/mdc/valuehelp/Dialog.js +3 -2
- package/src/sap/ui/mdc/valuehelp/FilterBar.js +3 -2
- package/src/sap/ui/mdc/valuehelp/FilterBarDelegate.js +1 -1
- package/src/sap/ui/mdc/valuehelp/FilterContainer.js +1 -1
- package/src/sap/ui/mdc/valuehelp/Popover.js +4 -2
- package/src/sap/ui/mdc/valuehelp/base/Container.js +34 -4
- package/src/sap/ui/mdc/valuehelp/base/Content.js +3 -3
- package/src/sap/ui/mdc/valuehelp/base/DefineConditionPanel.js +5 -5
- package/src/sap/ui/mdc/valuehelp/base/DialogTab.js +2 -2
- package/src/sap/ui/mdc/valuehelp/base/FilterableListContent.js +3 -38
- package/src/sap/ui/mdc/valuehelp/base/ListContent.js +2 -2
- package/src/sap/ui/mdc/valuehelp/content/Bool.js +2 -2
- package/src/sap/ui/mdc/valuehelp/content/Conditions.js +2 -2
- package/src/sap/ui/mdc/valuehelp/content/FixedList.js +6 -4
- package/src/sap/ui/mdc/valuehelp/content/FixedListItem.js +2 -2
- package/src/sap/ui/mdc/valuehelp/content/MDCTable.js +2 -2
- package/src/sap/ui/mdc/valuehelp/content/MTable.js +3 -8
package/THIRDPARTY.txt
CHANGED
|
@@ -468,7 +468,7 @@ License: Apache-2.0
|
|
|
468
468
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
469
469
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
470
470
|
|
|
471
|
-
Component: SAP Theming Base Content, version: 11.
|
|
471
|
+
Component: SAP Theming Base Content, version: 11.24.0
|
|
472
472
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
473
473
|
License: Apache-2.0
|
|
474
474
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.mdc",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.132.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.mdc",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.m": "1.
|
|
18
|
-
"@openui5/sap.ui.core": "1.
|
|
19
|
-
"@openui5/sap.ui.layout": "1.
|
|
17
|
+
"@openui5/sap.m": "1.132.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.132.0",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.132.0"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/ui/mdc/.library
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<name>sap.ui.mdc</name>
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
6
|
<copyright>OpenUI5
|
|
7
|
-
* (c) Copyright 2009-
|
|
7
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.132.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>UI5 library: sap.ui.mdc</documentation>
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* The content aggregation of the control must not be used.
|
|
34
34
|
* @extends sap.m.OverflowToolbar
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
36
|
+
* @version 1.132.0
|
|
37
37
|
* @constructor
|
|
38
38
|
* @since 1.58
|
|
39
39
|
* @private
|
package/src/sap/ui/mdc/Chart.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2025 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -75,7 +75,7 @@ sap.ui.define([
|
|
|
75
75
|
* @extends sap.ui.mdc.Control
|
|
76
76
|
* @borrows sap.ui.mdc.mixin.FilterIntegrationMixin.rebind as #rebind
|
|
77
77
|
* @author SAP SE
|
|
78
|
-
* @version 1.
|
|
78
|
+
* @version 1.132.0
|
|
79
79
|
* @constructor
|
|
80
80
|
*
|
|
81
81
|
* @public
|
|
@@ -171,7 +171,7 @@ sap.ui.define([
|
|
|
171
171
|
},
|
|
172
172
|
|
|
173
173
|
/**
|
|
174
|
-
* Enables the legend of the chart
|
|
174
|
+
* Enables the legend of the chart.<br>
|
|
175
175
|
* <b>Note:</b> The setter calls <code>setLegendVisible</code> of the delegate class.
|
|
176
176
|
*
|
|
177
177
|
* @since 1.88
|
|
@@ -239,7 +239,7 @@ sap.ui.define([
|
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
241
|
* Controls the visibility of the chart tooltip.<br>
|
|
242
|
-
* If set to <code>true</code>, a call of the <code>delegate.setChartTooltipVisibility</code>
|
|
242
|
+
* <b>Note:</b> If set to <code>true</code>, a call of the <code>delegate.setChartTooltipVisibility</code> is triggered and can be used to make the <code>Chart</code> tooltip visible.
|
|
243
243
|
*
|
|
244
244
|
* @since 1.88
|
|
245
245
|
*/
|
|
@@ -281,15 +281,13 @@ sap.ui.define([
|
|
|
281
281
|
* Specifies the chart metadata.<br>
|
|
282
282
|
* <b>Note:</b> This property must not be bound.<br>
|
|
283
283
|
* <b>Note:</b> This property is exclusively used for handling SAPUI5 flexibility changes. Do not use it otherwise.<br>
|
|
284
|
-
* <b>Note</b>: Existing properties (set via <code>sap.ui.mdc.Chart#setPropertyInfo</code>) must not be removed and their attributes must not be changed during the {@link module:sap/ui/mdc/ChartDelegate.fetchProperties fetchProperties} callback
|
|
285
|
-
* Otherwise validation errors might occur whenever personalization-related control features (such as the opening of any personalization dialog) are activated.
|
|
286
|
-
*
|
|
284
|
+
* <b>Note</b>: Existing properties (set via <code>sap.ui.mdc.Chart#setPropertyInfo</code>) must not be removed and their attributes must not be changed during the {@link module:sap/ui/mdc/ChartDelegate.fetchProperties fetchProperties} callback. Otherwise validation errors might occur whenever personalization-related control features (such as the opening of any personalization dialog) are activated.
|
|
287
285
|
* <b>Note</b>: For more information about the supported inner elements, see {@link sap.ui.mdc.chart.PropertyInfo PropertyInfo}.
|
|
288
286
|
*
|
|
289
287
|
* @since 1.99
|
|
290
288
|
*/
|
|
291
289
|
propertyInfo: {
|
|
292
|
-
type: "object",
|
|
290
|
+
type: "object",
|
|
293
291
|
defaultValue: []
|
|
294
292
|
},
|
|
295
293
|
|
|
@@ -332,6 +330,7 @@ sap.ui.define([
|
|
|
332
330
|
/**
|
|
333
331
|
* This property describes the measures and dimensions visible in the chart.
|
|
334
332
|
* Changes in the personalization are also reflected here.
|
|
333
|
+
*
|
|
335
334
|
* <b>Note:</b>
|
|
336
335
|
* This aggregation is managed by the control, can only be populated during the definition in the XML view, and is not bindable.
|
|
337
336
|
* Any changes of the initial aggregation content might result in undesired effects.
|
|
@@ -359,7 +358,7 @@ sap.ui.define([
|
|
|
359
358
|
}
|
|
360
359
|
},
|
|
361
360
|
/**
|
|
362
|
-
* Feeds details popover actions for data point selection in the
|
|
361
|
+
* Feeds details popover actions for data point selection in the chart.<br>
|
|
363
362
|
* For more information, see {@link sap.ui.mdc.chart.SelectionDetailsActions SelectionDetailsActions}.
|
|
364
363
|
*/
|
|
365
364
|
selectionDetailsActions: {
|
|
@@ -483,29 +482,15 @@ sap.ui.define([
|
|
|
483
482
|
* Defines whether the property is groupable and is selectable as a dimension in the chart
|
|
484
483
|
* @property {boolean} aggregatable
|
|
485
484
|
* Defines whether the property is aggregatable and is selectable as a measure in the chart
|
|
486
|
-
* @property {string} [aggregationMethod]
|
|
487
|
-
* The aggregation method used if the property is aggregatable
|
|
488
485
|
* @property {string} role
|
|
489
486
|
* Defines the role that the property visualizes inside the chart
|
|
490
|
-
* @property {object} [datapoint]
|
|
491
|
-
* Implementation-specific object containing information about the data point
|
|
492
|
-
* @property {object} [criticality]
|
|
493
|
-
* Implementation-specific object containing information about the criticality
|
|
494
|
-
* @property {string} [textProperty]
|
|
495
|
-
* The text property used for the dimension
|
|
496
|
-
* @property {object} [textFormatter]
|
|
497
|
-
* The text formatter object which can be used to format the textProperty
|
|
498
|
-
* @property {object} [unitPath]
|
|
499
|
-
* The name of the unit property which will be used to display and format measure values with a unit value on a selectionDetails popover
|
|
500
|
-
* @property {string} [timeUnitType]
|
|
501
|
-
* The <code>timeUnitType</code> type for a <code>TimeDimension</code>. If set, a <code>TimeDimension</code> is created instead of a <code>Dimension</code>
|
|
502
487
|
* @public
|
|
503
488
|
* @experimental As of version 1.80
|
|
504
489
|
*/
|
|
505
490
|
|
|
506
491
|
|
|
507
492
|
/**
|
|
508
|
-
*
|
|
493
|
+
* Initializes the chart.
|
|
509
494
|
*
|
|
510
495
|
* @private
|
|
511
496
|
*/
|
|
@@ -605,9 +590,9 @@ sap.ui.define([
|
|
|
605
590
|
return this.getInbuiltFilter() ? this.getInbuiltFilter().getConditions() : [];
|
|
606
591
|
};
|
|
607
592
|
/**
|
|
608
|
-
* Registers the chart rebind to the filter bar search event.
|
|
593
|
+
* Registers the chart rebind function call to the filter bar search event.
|
|
609
594
|
*
|
|
610
|
-
* @param {sap.ui.mdc.filterbar.p13n.AdaptionFilterBar} oFilter The FilterBar instance
|
|
595
|
+
* @param {sap.ui.mdc.filterbar.p13n.AdaptionFilterBar} oFilter The FilterBar instance
|
|
611
596
|
* @private
|
|
612
597
|
*/
|
|
613
598
|
Chart.prototype._registerInnerFilter = function(oFilter) {
|
|
@@ -617,7 +602,7 @@ sap.ui.define([
|
|
|
617
602
|
};
|
|
618
603
|
|
|
619
604
|
/**
|
|
620
|
-
* Applies given settings
|
|
605
|
+
* Applies the given settings to the chart, loads the delegate, and initializes the chart.
|
|
621
606
|
*
|
|
622
607
|
* @param {*} mSettings settings to apply
|
|
623
608
|
*
|
|
@@ -654,8 +639,8 @@ sap.ui.define([
|
|
|
654
639
|
};
|
|
655
640
|
|
|
656
641
|
/**
|
|
657
|
-
* Initializes the inner controls of the
|
|
658
|
-
*
|
|
642
|
+
* Initializes the inner controls of the chart (toolbar, inner chart).
|
|
643
|
+
* The inner chart is initialized via the delegate.
|
|
659
644
|
*/
|
|
660
645
|
Chart.prototype._initInnerControls = function() {
|
|
661
646
|
|
|
@@ -698,9 +683,9 @@ sap.ui.define([
|
|
|
698
683
|
const aIgnoreToolbarActions = this.getIgnoreToolbarActions();
|
|
699
684
|
|
|
700
685
|
const bShowSelectionDetails = this.getShowSelectionDetails();
|
|
701
|
-
const bShowDrillDown = (aP13nMode.includes("Item") && !(aIgnoreToolbarActions.length
|
|
702
|
-
const bShowLegend = !(aIgnoreToolbarActions.length
|
|
703
|
-
const bShowZoom = !(aIgnoreToolbarActions.length
|
|
686
|
+
const bShowDrillDown = (aP13nMode.includes("Item") && !(aIgnoreToolbarActions.length && aIgnoreToolbarActions.includes(ChartToolbarActionType.DrillDownUp)));
|
|
687
|
+
const bShowLegend = !(aIgnoreToolbarActions.length && aIgnoreToolbarActions.includes(ChartToolbarActionType.Legend));
|
|
688
|
+
const bShowZoom = !(aIgnoreToolbarActions.length && aIgnoreToolbarActions.includes(ChartToolbarActionType.ZoomInOut));
|
|
704
689
|
const bShowSettings = aP13nMode.includes("Sort") || aP13nMode.includes("Item") || aP13nMode.includes("Filter");
|
|
705
690
|
const bShowChartType = this._getTypeBtnActive();
|
|
706
691
|
|
|
@@ -817,7 +802,11 @@ sap.ui.define([
|
|
|
817
802
|
}
|
|
818
803
|
}
|
|
819
804
|
}).then((vResult) => {
|
|
820
|
-
this.getControlDelegate().requestToolbarUpdate
|
|
805
|
+
if (this.getControlDelegate().requestToolbarUpdate) {
|
|
806
|
+
this.getControlDelegate().requestToolbarUpdate(this);
|
|
807
|
+
} else {
|
|
808
|
+
this._updateToolbar();
|
|
809
|
+
}
|
|
821
810
|
});
|
|
822
811
|
|
|
823
812
|
});
|
|
@@ -882,10 +871,10 @@ sap.ui.define([
|
|
|
882
871
|
this._updateVariantManagementStyle();
|
|
883
872
|
};
|
|
884
873
|
/**
|
|
885
|
-
* Creates the SelectionDetails control used in the toolbar.
|
|
874
|
+
* Creates the <code>SelectionDetails</code> control used in the toolbar.
|
|
886
875
|
*
|
|
887
|
-
* @param {string} sId
|
|
888
|
-
* @returns {sap.m.SelectionDetails} The SelectionDetails instance
|
|
876
|
+
* @param {string} sId ID of the chart
|
|
877
|
+
* @returns {sap.m.SelectionDetails} The <code>SelectionDetails</code> instance
|
|
889
878
|
* @private
|
|
890
879
|
*/
|
|
891
880
|
Chart.prototype._createSelectionDetails = function(sId) {
|
|
@@ -970,7 +959,7 @@ sap.ui.define([
|
|
|
970
959
|
}
|
|
971
960
|
};
|
|
972
961
|
/**
|
|
973
|
-
*
|
|
962
|
+
* Gets the filter info text used to update the info toolbar.
|
|
974
963
|
*
|
|
975
964
|
* @returns {string} The info text
|
|
976
965
|
* @private
|
|
@@ -996,6 +985,43 @@ sap.ui.define([
|
|
|
996
985
|
return undefined;
|
|
997
986
|
};
|
|
998
987
|
|
|
988
|
+
/**
|
|
989
|
+
* This iterates over all items of the chart to make sure all necessary information is available on them.
|
|
990
|
+
* If something is missing, this method updates the item accordingly. This is the last check before the inner chart is rendered.
|
|
991
|
+
* @returns {Promise} Resolves once check is complete
|
|
992
|
+
*
|
|
993
|
+
* @private
|
|
994
|
+
*/
|
|
995
|
+
Chart.prototype.checkAndUpdateItems = function() {
|
|
996
|
+
return new Promise((resolve, reject) => {
|
|
997
|
+
const aPropPromises = [];
|
|
998
|
+
|
|
999
|
+
const fnCheckAndUpdateItemProperty = function(oItem, oPropertyInfoProValue, sPropertyName, sDefaultValue) {
|
|
1000
|
+
const value = oItem.getProperty(sPropertyName);
|
|
1001
|
+
if (!value || value !== oPropertyInfoProValue) {
|
|
1002
|
+
if (value !== oPropertyInfoProValue) {
|
|
1003
|
+
Log.error("sap.ui.mdc.Chart", `the propertyInfo.${sPropertyName} for Item '${oItem.getId()}' has a different value! new value = ${ oPropertyInfoProValue || sDefaultValue }`);
|
|
1004
|
+
}
|
|
1005
|
+
oItem.setProperty(sPropertyName, oPropertyInfoProValue || sDefaultValue);
|
|
1006
|
+
}
|
|
1007
|
+
};
|
|
1008
|
+
|
|
1009
|
+
this.getItems().forEach((oItem) => {
|
|
1010
|
+
aPropPromises.push(this._getPropertyByNameAsync(oItem.getPropertyKey()).then((oPropertyInfo) => {
|
|
1011
|
+
if (oPropertyInfo) {
|
|
1012
|
+
fnCheckAndUpdateItemProperty(oItem, oPropertyInfo.label, "label");
|
|
1013
|
+
fnCheckAndUpdateItemProperty(oItem, oPropertyInfo.groupable ? "groupable" : "aggregatable", "type");
|
|
1014
|
+
fnCheckAndUpdateItemProperty(oItem, oPropertyInfo.role, "role", oPropertyInfo.groupable ? "category" : "axis1");
|
|
1015
|
+
}
|
|
1016
|
+
}));
|
|
1017
|
+
});
|
|
1018
|
+
|
|
1019
|
+
Promise.all(aPropPromises).then(() => {
|
|
1020
|
+
resolve();
|
|
1021
|
+
});
|
|
1022
|
+
});
|
|
1023
|
+
};
|
|
1024
|
+
|
|
999
1025
|
/**
|
|
1000
1026
|
* Creates the content for the inner chart from properties.
|
|
1001
1027
|
* The properties are given via the PropertyHelper which is initialized here.
|
|
@@ -1006,7 +1032,7 @@ sap.ui.define([
|
|
|
1006
1032
|
*/
|
|
1007
1033
|
Chart.prototype._createContentfromPropertyInfos = function(oInnerChart) {
|
|
1008
1034
|
//Make sure all MDC Items have the necessary information to create a chart
|
|
1009
|
-
this.
|
|
1035
|
+
this.checkAndUpdateItems().then(() => {
|
|
1010
1036
|
//Create content on inner chart instance
|
|
1011
1037
|
if (!this._oInnerChartContentPromise) {
|
|
1012
1038
|
this._oInnerChartContentPromise = this.getControlDelegate().createInnerChartContent(this, this._innerChartDataLoadComplete.bind(this));
|
|
@@ -1031,7 +1057,7 @@ sap.ui.define([
|
|
|
1031
1057
|
});
|
|
1032
1058
|
};
|
|
1033
1059
|
/**
|
|
1034
|
-
* Creates the
|
|
1060
|
+
* Creates the <code>Breadcrumbs</code> control to visualize the drilling depth of the chart.
|
|
1035
1061
|
* @private
|
|
1036
1062
|
*/
|
|
1037
1063
|
Chart.prototype._createBreadcrumbs = function() {
|
|
@@ -1140,10 +1166,6 @@ sap.ui.define([
|
|
|
1140
1166
|
break;
|
|
1141
1167
|
}
|
|
1142
1168
|
|
|
1143
|
-
//Needed to apply current sorters when sorted measure/dimension was not selected yet
|
|
1144
|
-
//However, since this gets called multiple times when the aggregation adds/removes multiple properties, the binding seems to break
|
|
1145
|
-
this._rebind();
|
|
1146
|
-
|
|
1147
1169
|
//Update the breadcrumbs after an MDC Item change
|
|
1148
1170
|
const aItems = this.getControlDelegate().getDrillableItems(this).map((oItem) => { return { key: oItem.getPropertyKey(), text: oItem.getLabel() }; });
|
|
1149
1171
|
this.getAggregation("_breadcrumbs").update(aItems);
|
|
@@ -1266,7 +1288,7 @@ sap.ui.define([
|
|
|
1266
1288
|
};
|
|
1267
1289
|
|
|
1268
1290
|
/**
|
|
1269
|
-
* Calls the update function
|
|
1291
|
+
* Calls the update function for the toolbar if a toolbar exists.
|
|
1270
1292
|
*
|
|
1271
1293
|
* @private
|
|
1272
1294
|
*/
|
|
@@ -1286,8 +1308,8 @@ sap.ui.define([
|
|
|
1286
1308
|
};
|
|
1287
1309
|
|
|
1288
1310
|
/**
|
|
1289
|
-
*
|
|
1290
|
-
* <b>Note:</b> Buttons will be disabled
|
|
1311
|
+
* Checks the enablement of the zoom buttons in the toolbar.
|
|
1312
|
+
* <b>Note:</b> Buttons will be disabled if no zoom state is available or if it is disabled.
|
|
1291
1313
|
*
|
|
1292
1314
|
* @experimental
|
|
1293
1315
|
* @private
|
|
@@ -1324,7 +1346,7 @@ sap.ui.define([
|
|
|
1324
1346
|
};
|
|
1325
1347
|
|
|
1326
1348
|
/**
|
|
1327
|
-
*
|
|
1349
|
+
* Initializes the <code>SelectionDetails</code> control by attaching it to the provided chart selection handler.
|
|
1328
1350
|
* @private
|
|
1329
1351
|
*/
|
|
1330
1352
|
Chart.prototype._initSelectionDetails = function() {
|
|
@@ -1377,7 +1399,7 @@ sap.ui.define([
|
|
|
1377
1399
|
};
|
|
1378
1400
|
|
|
1379
1401
|
/**
|
|
1380
|
-
* Zooms in
|
|
1402
|
+
* Zooms in from the inner chart.
|
|
1381
1403
|
*
|
|
1382
1404
|
* @private
|
|
1383
1405
|
* @ui5-restricted sap.ui.mdc
|
|
@@ -1388,7 +1410,7 @@ sap.ui.define([
|
|
|
1388
1410
|
};
|
|
1389
1411
|
|
|
1390
1412
|
/**
|
|
1391
|
-
* Zooms out
|
|
1413
|
+
* Zooms out from the inner chart.
|
|
1392
1414
|
*
|
|
1393
1415
|
* @private
|
|
1394
1416
|
* @ui5-restricted sap.ui.mdc
|
|
@@ -1484,7 +1506,7 @@ sap.ui.define([
|
|
|
1484
1506
|
};
|
|
1485
1507
|
|
|
1486
1508
|
/**
|
|
1487
|
-
*
|
|
1509
|
+
* Gets the information about the current chart type.
|
|
1488
1510
|
*
|
|
1489
1511
|
* @returns {object} object containing information about the chart type
|
|
1490
1512
|
*
|
|
@@ -1497,7 +1519,7 @@ sap.ui.define([
|
|
|
1497
1519
|
};
|
|
1498
1520
|
|
|
1499
1521
|
/**
|
|
1500
|
-
*
|
|
1522
|
+
* Gets the available chart types of the inner chart based on its current state.
|
|
1501
1523
|
*
|
|
1502
1524
|
* @returns {sap.ui.mdc.chart.ChartTypeObject[]} Array containing the currently available chart types
|
|
1503
1525
|
*
|
|
@@ -1537,7 +1559,7 @@ sap.ui.define([
|
|
|
1537
1559
|
this.setAggregation("noData", oControl);
|
|
1538
1560
|
|
|
1539
1561
|
try {
|
|
1540
|
-
this.getControlDelegate().changedNoDataStruct(this);
|
|
1562
|
+
this.getControlDelegate().changedNoDataStruct(this, oControl);
|
|
1541
1563
|
} catch (err) {
|
|
1542
1564
|
//This fails when the delegate instance is not yet available.
|
|
1543
1565
|
//It is not a problem as the delegate will use getNoData() on init of the chart, thus using the correct noData struct.
|
|
@@ -1560,7 +1582,6 @@ sap.ui.define([
|
|
|
1560
1582
|
/**
|
|
1561
1583
|
* This is a callback function which is called from the delegate once the inner chart finished loading data
|
|
1562
1584
|
* Updates the Toolbar
|
|
1563
|
-
* Fires the innerChartLoadedData event
|
|
1564
1585
|
*
|
|
1565
1586
|
* @private
|
|
1566
1587
|
*/
|
|
@@ -1569,7 +1590,11 @@ sap.ui.define([
|
|
|
1569
1590
|
this.setBusy(false);
|
|
1570
1591
|
this._renderOverlay(false);
|
|
1571
1592
|
|
|
1572
|
-
this.getControlDelegate().requestToolbarUpdate
|
|
1593
|
+
if (this.getControlDelegate().requestToolbarUpdate) {
|
|
1594
|
+
this.getControlDelegate().requestToolbarUpdate(this);
|
|
1595
|
+
} else {
|
|
1596
|
+
this._updateToolbar();
|
|
1597
|
+
}
|
|
1573
1598
|
};
|
|
1574
1599
|
|
|
1575
1600
|
Chart.prototype._checkStyleClassesForDimensions = function() {
|
|
@@ -1726,7 +1751,7 @@ sap.ui.define([
|
|
|
1726
1751
|
return this;
|
|
1727
1752
|
};
|
|
1728
1753
|
/**
|
|
1729
|
-
* Returns the
|
|
1754
|
+
* Returns the <code>VariantManagement</code> control of the chart.
|
|
1730
1755
|
* @returns {sap.ui.fl.variants.VariantManagement} The variant management instance
|
|
1731
1756
|
*/
|
|
1732
1757
|
Chart.prototype.getVariant = function() {
|