@sapui5/sap.suite.ui.commons 1.93.3 → 1.97.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/package.json +1 -1
- package/src/sap/suite/ui/commons/.library +1 -1
- package/src/sap/suite/ui/commons/AriaProperties.js +5 -3
- package/src/sap/suite/ui/commons/BulletChart.js +4 -2
- package/src/sap/suite/ui/commons/BulletChartData.js +4 -2
- package/src/sap/suite/ui/commons/BusinessCard.js +4 -2
- package/src/sap/suite/ui/commons/BusinessCardRenderer.js +4 -2
- package/src/sap/suite/ui/commons/CalculationBuilder.js +19 -50
- package/src/sap/suite/ui/commons/CalculationBuilderExpression.js +2 -2
- package/src/sap/suite/ui/commons/CalculationBuilderFunction.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderGroup.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderInput.js +0 -12
- package/src/sap/suite/ui/commons/CalculationBuilderItem.js +2 -2
- package/src/sap/suite/ui/commons/CalculationBuilderValidationResult.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderVariable.js +1 -1
- package/src/sap/suite/ui/commons/ChartContainer.js +31 -92
- package/src/sap/suite/ui/commons/ChartContainerContent.js +4 -2
- package/src/sap/suite/ui/commons/ChartContainerContentRenderer.js +4 -2
- package/src/sap/suite/ui/commons/ChartContainerRenderer.js +4 -2
- package/src/sap/suite/ui/commons/ChartContainerToolbarPlaceholder.js +4 -2
- package/src/sap/suite/ui/commons/ChartContainerToolbarPlaceholderRenderer.js +4 -2
- package/src/sap/suite/ui/commons/ChartTile.js +4 -2
- package/src/sap/suite/ui/commons/ChartTileRenderer.js +4 -2
- package/src/sap/suite/ui/commons/ColumnData.js +4 -2
- package/src/sap/suite/ui/commons/ColumnMicroChart.js +4 -2
- package/src/sap/suite/ui/commons/ColumnMicroChartLabel.js +4 -2
- package/src/sap/suite/ui/commons/ComparisonChart.js +4 -2
- package/src/sap/suite/ui/commons/ComparisonData.js +4 -2
- package/src/sap/suite/ui/commons/CountingNavigationItem.js +4 -2
- package/src/sap/suite/ui/commons/DateRangeScroller.js +4 -2
- package/src/sap/suite/ui/commons/DateRangeScrollerRenderer.js +8 -3
- package/src/sap/suite/ui/commons/DateRangeSlider.js +4 -2
- package/src/sap/suite/ui/commons/DateRangeSliderInternal.js +4 -2
- package/src/sap/suite/ui/commons/DateRangeSliderInternalRenderer.js +13 -4
- package/src/sap/suite/ui/commons/DateRangeSliderRenderer.js +4 -2
- package/src/sap/suite/ui/commons/DeltaMicroChart.js +4 -2
- package/src/sap/suite/ui/commons/DynamicContainer.js +4 -2
- package/src/sap/suite/ui/commons/FacetOverview.js +4 -2
- package/src/sap/suite/ui/commons/FacetOverviewRenderer.js +4 -2
- package/src/sap/suite/ui/commons/FeedItem.js +4 -2
- package/src/sap/suite/ui/commons/FeedItemHeader.js +4 -2
- package/src/sap/suite/ui/commons/FeedItemHeaderRenderer.js +6 -6
- package/src/sap/suite/ui/commons/FeedTile.js +4 -2
- package/src/sap/suite/ui/commons/FeedTileRenderer.js +8 -8
- package/src/sap/suite/ui/commons/GenericTile.js +4 -2
- package/src/sap/suite/ui/commons/GenericTile2X2.js +4 -2
- package/src/sap/suite/ui/commons/GenericTile2X2Renderer.js +6 -5
- package/src/sap/suite/ui/commons/HarveyBallMicroChart.js +4 -2
- package/src/sap/suite/ui/commons/HarveyBallMicroChartItem.js +4 -2
- package/src/sap/suite/ui/commons/HeaderCell.js +4 -2
- package/src/sap/suite/ui/commons/HeaderCellItem.js +4 -2
- package/src/sap/suite/ui/commons/HeaderCellRenderer.js +4 -2
- package/src/sap/suite/ui/commons/HeaderContainer.js +4 -2
- package/src/sap/suite/ui/commons/HeaderContainerRenderer.js +4 -2
- package/src/sap/suite/ui/commons/InfoTile.js +4 -2
- package/src/sap/suite/ui/commons/InfoTileRenderer.js +4 -2
- package/src/sap/suite/ui/commons/JamContent.js +4 -2
- package/src/sap/suite/ui/commons/KpiTile.js +4 -2
- package/src/sap/suite/ui/commons/KpiTileRenderer.js +4 -2
- package/src/sap/suite/ui/commons/LaunchTile.js +4 -2
- package/src/sap/suite/ui/commons/LaunchTileRenderer.js +4 -2
- package/src/sap/suite/ui/commons/LinkActionSheet.js +4 -2
- package/src/sap/suite/ui/commons/LinkActionSheetRenderer.js +4 -2
- package/src/sap/suite/ui/commons/MicroAreaChart.js +4 -2
- package/src/sap/suite/ui/commons/MicroAreaChartItem.js +4 -2
- package/src/sap/suite/ui/commons/MicroAreaChartLabel.js +4 -2
- package/src/sap/suite/ui/commons/MicroAreaChartPoint.js +4 -2
- package/src/sap/suite/ui/commons/MicroProcessFlow.js +1 -1
- package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
- package/src/sap/suite/ui/commons/MonitoringContent.js +4 -2
- package/src/sap/suite/ui/commons/MonitoringContentRenderer.js +4 -2
- package/src/sap/suite/ui/commons/MonitoringTile.js +4 -2
- package/src/sap/suite/ui/commons/MonitoringTileRenderer.js +4 -2
- package/src/sap/suite/ui/commons/NewsContent.js +4 -2
- package/src/sap/suite/ui/commons/NoteTaker.js +4 -2
- package/src/sap/suite/ui/commons/NoteTakerCard.js +4 -2
- package/src/sap/suite/ui/commons/NoteTakerCardRenderer.js +4 -2
- package/src/sap/suite/ui/commons/NoteTakerFeeder.js +4 -2
- package/src/sap/suite/ui/commons/NoteTakerFeederRenderer.js +4 -2
- package/src/sap/suite/ui/commons/NoteTakerRenderer.js +4 -2
- package/src/sap/suite/ui/commons/NumericContent.js +4 -2
- package/src/sap/suite/ui/commons/NumericTile.js +4 -2
- package/src/sap/suite/ui/commons/NumericTileRenderer.js +4 -2
- package/src/sap/suite/ui/commons/PictureZoomIn.js +4 -2
- package/src/sap/suite/ui/commons/PictureZoomInRenderer.js +4 -2
- package/src/sap/suite/ui/commons/ProcessFlow.js +8 -6
- package/src/sap/suite/ui/commons/ProcessFlowConnection.js +4 -2
- package/src/sap/suite/ui/commons/ProcessFlowConnectionLabel.js +4 -2
- package/src/sap/suite/ui/commons/ProcessFlowConnectionLabelRenderer.js +4 -2
- package/src/sap/suite/ui/commons/ProcessFlowConnectionRenderer.js +4 -2
- package/src/sap/suite/ui/commons/ProcessFlowLaneHeader.js +6 -4
- package/src/sap/suite/ui/commons/ProcessFlowLaneHeaderRenderer.js +4 -2
- package/src/sap/suite/ui/commons/ProcessFlowNode.js +6 -9
- package/src/sap/suite/ui/commons/ProcessFlowNodeRenderer.js +4 -2
- package/src/sap/suite/ui/commons/ProcessFlowRenderer.js +4 -2
- package/src/sap/suite/ui/commons/RepeaterViewConfiguration.js +4 -2
- package/src/sap/suite/ui/commons/RepeaterViewConfigurationRenderer.js +4 -2
- package/src/sap/suite/ui/commons/SplitButton.js +4 -2
- package/src/sap/suite/ui/commons/SplitButtonRenderer.js +4 -2
- package/src/sap/suite/ui/commons/TargetFilter.js +4 -2
- package/src/sap/suite/ui/commons/TargetFilterColumn.js +4 -2
- package/src/sap/suite/ui/commons/TargetFilterMeasureColumn.js +4 -2
- package/src/sap/suite/ui/commons/TargetFilterRenderer.js +4 -2
- package/src/sap/suite/ui/commons/ThingCollection.js +4 -2
- package/src/sap/suite/ui/commons/ThingCollectionRenderer.js +4 -2
- package/src/sap/suite/ui/commons/ThreePanelThingInspector.js +4 -2
- package/src/sap/suite/ui/commons/ThreePanelThingViewer.js +4 -2
- package/src/sap/suite/ui/commons/ThreePanelThingViewerRenderer.js +4 -2
- package/src/sap/suite/ui/commons/TileContent.js +4 -2
- package/src/sap/suite/ui/commons/TileContent2X2.js +4 -2
- package/src/sap/suite/ui/commons/TileContent2X2Renderer.js +4 -2
- package/src/sap/suite/ui/commons/Timeline.designtime.js +4 -2
- package/src/sap/suite/ui/commons/Timeline.js +7 -6
- package/src/sap/suite/ui/commons/TimelineFilterListItem.js +4 -2
- package/src/sap/suite/ui/commons/TimelineItem.js +70 -12
- package/src/sap/suite/ui/commons/TimelineItemRenderer.js +4 -2
- package/src/sap/suite/ui/commons/TimelineNavigator.js +9 -3
- package/src/sap/suite/ui/commons/TimelineRenderManager.js +4 -2
- package/src/sap/suite/ui/commons/TimelineRenderManagerTimestamp.js +4 -2
- package/src/sap/suite/ui/commons/TimelineRenderer.js +4 -2
- package/src/sap/suite/ui/commons/UnifiedThingGroup.js +4 -2
- package/src/sap/suite/ui/commons/UnifiedThingGroupRenderer.js +4 -2
- package/src/sap/suite/ui/commons/UnifiedThingInspector.js +4 -2
- package/src/sap/suite/ui/commons/UnifiedThingInspectorRenderer.js +4 -2
- package/src/sap/suite/ui/commons/Utils.js +4 -2
- package/src/sap/suite/ui/commons/VerticalNavigationBar.js +4 -2
- package/src/sap/suite/ui/commons/VerticalNavigationBarRenderer.js +4 -2
- package/src/sap/suite/ui/commons/ViewRepeater.js +6 -5
- package/src/sap/suite/ui/commons/ViewRepeaterRenderer.js +10 -4
- package/src/sap/suite/ui/commons/flexibility/Timeline.flexibility.js +4 -2
- package/src/sap/suite/ui/commons/flexibility/changeHandler/PropertyChangeMapper.js +5 -3
- package/src/sap/suite/ui/commons/imageeditor/CropCustomShapeHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/CropEllipseHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/CropRectangleHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/CustomSizeItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/FilterHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/FlipHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/HistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/ImageEditor.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/ImageEditorContainer.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/ImageEditorResponsiveContainer.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/ResizeHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/RotateHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/library.js +5 -3
- package/src/sap/suite/ui/commons/messagebundle.properties +2 -0
- package/src/sap/suite/ui/commons/messagebundle_ar.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_bg.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_ca.properties +4 -3
- package/src/sap/suite/ui/commons/messagebundle_cs.properties +2 -1
- package/src/sap/suite/ui/commons/messagebundle_cy.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_da.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_de.properties +7 -6
- package/src/sap/suite/ui/commons/messagebundle_el.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_en.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_en_GB.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_en_US_sappsd.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_en_US_saprigi.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_en_US_saptrc.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_es.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_es_MX.properties +4 -3
- package/src/sap/suite/ui/commons/messagebundle_et.properties +9 -8
- package/src/sap/suite/ui/commons/messagebundle_fi.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_fr.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_fr_CA.properties +2 -1
- package/src/sap/suite/ui/commons/messagebundle_hi.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_hr.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_hu.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_id.properties +3 -2
- package/src/sap/suite/ui/commons/messagebundle_it.properties +2 -1
- package/src/sap/suite/ui/commons/messagebundle_iw.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_ja.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_kk.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_ko.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_lt.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_lv.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_ms.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_nl.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_no.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_pl.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_pt.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_pt_PT.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_ro.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_ru.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_sh.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_sk.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_sl.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_sv.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_th.properties +28 -27
- package/src/sap/suite/ui/commons/messagebundle_tr.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_uk.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_vi.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_zh_CN.properties +1 -0
- package/src/sap/suite/ui/commons/messagebundle_zh_TW.properties +1 -0
- package/src/sap/suite/ui/commons/networkgraph/ActionButton.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/Coordinate.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/ElementAttribute.js +5 -3
- package/src/sap/suite/ui/commons/networkgraph/ElementBase.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/Graph.js +39 -58
- package/src/sap/suite/ui/commons/networkgraph/GraphMap.js +10 -8
- package/src/sap/suite/ui/commons/networkgraph/GraphMapRenderer.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/GraphRenderer.js +7 -6
- package/src/sap/suite/ui/commons/networkgraph/Group.js +23 -24
- package/src/sap/suite/ui/commons/networkgraph/KeyboardNavigator.js +7 -2
- package/src/sap/suite/ui/commons/networkgraph/Line.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/Node.js +90 -87
- package/src/sap/suite/ui/commons/networkgraph/NodeImage.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/NodeRenderer.js +5 -3
- package/src/sap/suite/ui/commons/networkgraph/Status.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/SvgBase.js +47 -17
- package/src/sap/suite/ui/commons/networkgraph/Tooltip.js +9 -7
- package/src/sap/suite/ui/commons/networkgraph/Utils.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/layout/D3ForceWrapper.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/layout/ForceBasedLayout.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/layout/ForceDirectedLayout.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/layout/Geometry.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/layout/KlayWrapper.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/layout/LayeredLayout.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/layout/LayoutAlgorithm.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/layout/LayoutTask.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/layout/NoopLayout.js +4 -2
- package/src/sap/suite/ui/commons/networkgraph/util/Dijkstra.js +4 -2
- package/src/sap/suite/ui/commons/statusindicator/Circle.js +5 -3
- package/src/sap/suite/ui/commons/statusindicator/CustomShape.js +5 -3
- package/src/sap/suite/ui/commons/statusindicator/CustomShapeRenderer.js +4 -2
- package/src/sap/suite/ui/commons/statusindicator/DiscreteThreshold.js +5 -3
- package/src/sap/suite/ui/commons/statusindicator/FillingOption.js +5 -3
- package/src/sap/suite/ui/commons/statusindicator/LibraryShape.js +5 -3
- package/src/sap/suite/ui/commons/statusindicator/Path.js +5 -3
- package/src/sap/suite/ui/commons/statusindicator/PropertyThreshold.js +5 -3
- package/src/sap/suite/ui/commons/statusindicator/Rectangle.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/Shape.js +5 -3
- package/src/sap/suite/ui/commons/statusindicator/ShapeGroup.js +5 -3
- package/src/sap/suite/ui/commons/statusindicator/SimpleShape.js +5 -3
- package/src/sap/suite/ui/commons/statusindicator/SimpleShapeRenderer.js +4 -2
- package/src/sap/suite/ui/commons/statusindicator/StatusIndicator.js +5 -3
- package/src/sap/suite/ui/commons/statusindicator/StatusIndicatorRenderer.js +4 -2
- package/src/sap/suite/ui/commons/statusindicator/shapes/ShapeFactory.js +4 -2
- package/src/sap/suite/ui/commons/taccount/TAccount.js +23 -9
- package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +3 -3
- package/src/sap/suite/ui/commons/taccount/TAccountItem.js +23 -5
- package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +7 -3
- package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +11 -2
- package/src/sap/suite/ui/commons/taccount/TAccountPanelRenderer.js +4 -2
- package/src/sap/suite/ui/commons/taccount/TAccountUtils.js +9 -8
- package/src/sap/suite/ui/commons/themes/base/CalculationBuilder.less +4 -0
- package/src/sap/suite/ui/commons/themes/base/CalculationBuilderExpression.less +4 -0
- package/src/sap/suite/ui/commons/themes/base/CalculationBuilderItem.less +5 -1
- package/src/sap/suite/ui/commons/themes/base/ChartContainer.less +4 -0
- package/src/sap/suite/ui/commons/themes/base/NetworkGraph.less +12 -0
- package/src/sap/suite/ui/commons/themes/base/NetworkLine.less +4 -0
- package/src/sap/suite/ui/commons/themes/base/TimelineItem.less +6 -0
- package/src/sap/suite/ui/commons/themes/base/library.source.less +4 -2
- package/src/sap/suite/ui/commons/themes/sap_belize/library.source.less +4 -2
- package/src/sap/suite/ui/commons/themes/sap_belize_hcb/library.source.less +4 -2
- package/src/sap/suite/ui/commons/themes/sap_belize_hcw/library.source.less +4 -2
- package/src/sap/suite/ui/commons/themes/sap_belize_plus/library.source.less +4 -2
- package/src/sap/suite/ui/commons/themes/sap_bluecrystal/library.source.less +4 -2
- package/src/sap/suite/ui/commons/themes/sap_fiori_3/library.source.less +4 -2
- package/src/sap/suite/ui/commons/themes/sap_fiori_3_dark/library.source.less +4 -2
- package/src/sap/suite/ui/commons/themes/sap_fiori_3_hcb/library.source.less +4 -2
- package/src/sap/suite/ui/commons/themes/sap_fiori_3_hcw/library.source.less +4 -2
- package/src/sap/suite/ui/commons/themes/sap_hcb/library.source.less +4 -2
- package/src/sap/suite/ui/commons/themes/sap_horizon/library.source.less +4 -2
- package/src/sap/suite/ui/commons/util/DateUtils.js +4 -2
- package/src/sap/suite/ui/commons/util/FeedAggregator.js +4 -2
- package/src/sap/suite/ui/commons/util/FeedItemUtils.js +4 -2
- package/src/sap/suite/ui/commons/util/FullScreenUtil.js +115 -0
- package/src/sap/suite/ui/commons/util/HtmlElement.js +4 -2
- package/src/sap/suite/ui/commons/util/HtmlElementRenderer.js +4 -2
- package/src/sap/suite/ui/commons/util/ManagedObjectRegister.js +4 -2
- package/src/sap/suite/ui/commons/util/RenderUtils.js +4 -2
- package/src/sap/suite/ui/commons/util/StringSliderTooltip.js +4 -2
- package/ui5.yaml +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
|
|
2
|
+
*
|
|
3
|
+
SAP UI development toolkit for HTML5 (SAPUI5)
|
|
4
|
+
(c) Copyright 2009-2015 SAP SE. All rights reserved
|
|
5
|
+
|
|
4
6
|
*/
|
|
5
7
|
|
|
6
8
|
sap.ui.define([
|
|
@@ -17,7 +19,7 @@ sap.ui.define([
|
|
|
17
19
|
* @extends sap.ui.core.Element
|
|
18
20
|
*
|
|
19
21
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
22
|
+
* @version 1.97.0
|
|
21
23
|
* @since 1.65.0
|
|
22
24
|
*
|
|
23
25
|
* @constructor
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
|
|
2
|
+
*
|
|
3
|
+
SAP UI development toolkit for HTML5 (SAPUI5)
|
|
4
|
+
(c) Copyright 2009-2015 SAP SE. All rights reserved
|
|
5
|
+
|
|
4
6
|
*/
|
|
5
7
|
|
|
6
8
|
sap.ui.define([ 'sap/suite/ui/microchart/library', 'sap/suite/ui/microchart/BulletMicroChart', 'sap/suite/ui/microchart/BulletMicroChartRenderer' ],
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
|
|
2
|
+
*
|
|
3
|
+
SAP UI development toolkit for HTML5 (SAPUI5)
|
|
4
|
+
(c) Copyright 2009-2015 SAP SE. All rights reserved
|
|
5
|
+
|
|
4
6
|
*/
|
|
5
7
|
|
|
6
8
|
sap.ui.define([ 'sap/suite/ui/microchart/BulletMicroChartData' ], function(BulletMicroChartData) {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
|
|
2
|
+
*
|
|
3
|
+
SAP UI development toolkit for HTML5 (SAPUI5)
|
|
4
|
+
(c) Copyright 2009-2015 SAP SE. All rights reserved
|
|
5
|
+
|
|
4
6
|
*/
|
|
5
7
|
|
|
6
8
|
sap.ui.define(['sap/ui/core/Control', "./BusinessCardRenderer"], function(Control, BusinessCardRenderer) {
|
|
@@ -11,15 +11,14 @@ sap.ui.define([
|
|
|
11
11
|
"sap/m/OverflowToolbarButton",
|
|
12
12
|
"sap/m/ToolbarSpacer",
|
|
13
13
|
"sap/m/Title",
|
|
14
|
-
"sap/ui/core/Popup",
|
|
15
14
|
"sap/m/MessageBox",
|
|
16
15
|
"sap/base/Log",
|
|
17
16
|
"sap/base/util/uid",
|
|
18
17
|
"sap/ui/core/library",
|
|
19
18
|
"sap/m/library",
|
|
20
|
-
"sap/ui/
|
|
19
|
+
"sap/suite/ui/commons/util/FullScreenUtil"
|
|
21
20
|
], function (jQuery, library, Control, CalculationBuilderItem, CalculationBuilderExpression, CalculationBuilderInput, CalculationBuilderFunction, OverflowToolbar,
|
|
22
|
-
OverflowToolbarToggleButton, OverflowToolbarButton, ToolbarSpacer, Title,
|
|
21
|
+
OverflowToolbarToggleButton, OverflowToolbarButton, ToolbarSpacer, Title, MessageBox, Log, uid, coreLibrary, mLibrary, FullScreenUtil) {
|
|
23
22
|
"use strict";
|
|
24
23
|
|
|
25
24
|
// shortcut for sap.m.ButtonType
|
|
@@ -125,7 +124,7 @@ sap.ui.define([
|
|
|
125
124
|
* @extends sap.ui.core.Control
|
|
126
125
|
*
|
|
127
126
|
* @author SAP SE
|
|
128
|
-
* @version 1.
|
|
127
|
+
* @version 1.97.0
|
|
129
128
|
* @since 1.56.0
|
|
130
129
|
*
|
|
131
130
|
* @constructor
|
|
@@ -338,7 +337,7 @@ sap.ui.define([
|
|
|
338
337
|
renderer: function (oRm, oCalculationBuilder) {
|
|
339
338
|
var sWrapItemsClass = oCalculationBuilder.getWrapItemsInExpression() ? " sapCalculationBuilderWrapItems " : "",
|
|
340
339
|
bIsLayoutTextualOnly = oCalculationBuilder.getLayoutType() === LayoutTypes.TextualOnly,
|
|
341
|
-
|
|
340
|
+
bDisplayInput = oCalculationBuilder._bShowInput || bIsLayoutTextualOnly,
|
|
342
341
|
bIsExpressionVisible = oCalculationBuilder._isExpressionVisible(),
|
|
343
342
|
bIsInputVisible = oCalculationBuilder._isInputVisible(),
|
|
344
343
|
bIsReadOnly = oCalculationBuilder.getReadOnly();
|
|
@@ -381,8 +380,12 @@ sap.ui.define([
|
|
|
381
380
|
oRm.addClass("sapCalculationBuilderInputOuterWrapperMargin");
|
|
382
381
|
}
|
|
383
382
|
|
|
383
|
+
if (!bDisplayInput) {
|
|
384
|
+
oRm.addClass("sapCalculationBuilderDisplayNone");
|
|
385
|
+
}
|
|
384
386
|
oRm.writeClasses();
|
|
385
|
-
|
|
387
|
+
|
|
388
|
+
oRm.write(">");
|
|
386
389
|
oRm.renderControl(oCalculationBuilder._oInput);
|
|
387
390
|
oRm.write("</div>");
|
|
388
391
|
}
|
|
@@ -392,9 +395,6 @@ sap.ui.define([
|
|
|
392
395
|
});
|
|
393
396
|
|
|
394
397
|
CalculationBuilder.prototype.init = function () {
|
|
395
|
-
//init for hashchanger so it can listen to hashchange events
|
|
396
|
-
this.oHashChanger = new HashChanger();
|
|
397
|
-
this.oHashChanger.init();
|
|
398
398
|
|
|
399
399
|
// Hash map with disabled items
|
|
400
400
|
this._mDisabledTokens = {};
|
|
@@ -504,17 +504,11 @@ sap.ui.define([
|
|
|
504
504
|
this._bRendered = true;
|
|
505
505
|
|
|
506
506
|
this._oInput._displayError(this._oExpressionBuilder._aErrors.length > 0);
|
|
507
|
-
//attach to on hash change after rendering of the chart container
|
|
508
|
-
this.oHashChanger.attachEvent("hashChanged", function() {
|
|
509
|
-
if (this._bIsFullScreen) {
|
|
510
|
-
this._toggleFullScreen();
|
|
511
|
-
}
|
|
512
|
-
}.bind(this));
|
|
513
507
|
};
|
|
514
508
|
|
|
515
509
|
CalculationBuilder.prototype.exit = function () {
|
|
516
|
-
if (this.
|
|
517
|
-
this.
|
|
510
|
+
if (this._oFullScreenUtil) {
|
|
511
|
+
this._oFullScreenUtil.cleanUpFullScreen(this);
|
|
518
512
|
}
|
|
519
513
|
};
|
|
520
514
|
|
|
@@ -898,20 +892,12 @@ sap.ui.define([
|
|
|
898
892
|
press: function (oEvent) {
|
|
899
893
|
var oToggleButton = oEvent.getSource();
|
|
900
894
|
|
|
901
|
-
this._toggleFullScreen();
|
|
895
|
+
this._toggleFullScreen(oToggleButton);
|
|
902
896
|
oToggleButton.setTooltip(this._bIsFullScreen ? oResourceBundle.getText("CALCULATION_BUILDER_EXIT_FULL_SCREEN_BUTTON") : oResourceBundle.getText("CALCULATION_BUILDER_ENTER_FULL_SCREEN_BUTTON"));
|
|
903
897
|
oToggleButton.setIcon(this._bIsFullScreen ? Icons.EXIT_FULL_SCREEN : Icons.FULL_SCREEN);
|
|
904
|
-
this.invalidate();
|
|
905
898
|
}.bind(this)
|
|
906
899
|
}));
|
|
907
900
|
|
|
908
|
-
// Full screen mode - popup for Calculation builder content
|
|
909
|
-
this._oFullScreenPopup = new Popup({
|
|
910
|
-
modal: true,
|
|
911
|
-
shadow: false,
|
|
912
|
-
autoClose: false
|
|
913
|
-
});
|
|
914
|
-
|
|
915
901
|
this.addDependent(this._oToolbar);
|
|
916
902
|
};
|
|
917
903
|
|
|
@@ -987,31 +973,14 @@ sap.ui.define([
|
|
|
987
973
|
this._oInput._setupAriaLabel();
|
|
988
974
|
};
|
|
989
975
|
|
|
990
|
-
CalculationBuilder.prototype._toggleFullScreen = function () {
|
|
991
|
-
|
|
992
|
-
this._oFullScreenContainer = {};
|
|
993
|
-
this._oFullScreenContainer.$content = this.$();
|
|
994
|
-
|
|
995
|
-
if (this._oFullScreenContainer.$content) {
|
|
996
|
-
this._oFullScreenContainer.$tempNode = jQuery("<div></div>");
|
|
997
|
-
this._oFullScreenContainer.$content.before(this._oFullScreenContainer.$tempNode);
|
|
998
|
-
this._oFullScreenContainer.$overlay = jQuery("<div id='" + uid() + "'></div>");
|
|
999
|
-
this._oFullScreenContainer.$overlay.addClass("sapCalculationBuilderOverlay");
|
|
1000
|
-
this._oFullScreenContainer.$overlay.append(this._oFullScreenContainer.$content);
|
|
1001
|
-
this._oFullScreenPopup.setContent(this._oFullScreenContainer.$overlay);
|
|
1002
|
-
this._oFullScreenPopup.setModal(true);
|
|
1003
|
-
}
|
|
1004
|
-
this._oFullScreenPopup.open(0, Popup.Dock.BeginTop, Popup.Dock.BeginTop, jQuery("body"));
|
|
1005
|
-
}.bind(this);
|
|
1006
|
-
|
|
1007
|
-
var fnClose = function () {
|
|
1008
|
-
this._oFullScreenContainer.$tempNode.replaceWith(this.$());
|
|
1009
|
-
this._oFullScreenPopup.close();
|
|
1010
|
-
this._oFullScreenContainer.$overlay.remove();
|
|
1011
|
-
}.bind(this);
|
|
1012
|
-
|
|
1013
|
-
this._bIsFullScreen ? fnClose() : fnOpen();
|
|
976
|
+
CalculationBuilder.prototype._toggleFullScreen = function (oToggleButton) {
|
|
977
|
+
this._oFullScreenButton = oToggleButton;
|
|
1014
978
|
this._bIsFullScreen = !this._bIsFullScreen;
|
|
979
|
+
if (!this._oFullScreenUtil) {
|
|
980
|
+
this._oFullScreenUtil = FullScreenUtil;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
this._oFullScreenUtil.toggleFullScreen(this, this._bIsFullScreen, this._oFullScreenButton, this._toggleFullScreen);
|
|
1015
984
|
};
|
|
1016
985
|
|
|
1017
986
|
CalculationBuilder.prototype._getGroupMap = function () {
|
|
@@ -120,7 +120,7 @@ sap.ui.define([
|
|
|
120
120
|
* @extends sap.ui.core.Control
|
|
121
121
|
*
|
|
122
122
|
* @author SAP SE
|
|
123
|
-
* @version 1.
|
|
123
|
+
* @version 1.97.0
|
|
124
124
|
* @since 1.56.0
|
|
125
125
|
*
|
|
126
126
|
* @constructor
|
|
@@ -236,7 +236,7 @@ sap.ui.define([
|
|
|
236
236
|
|
|
237
237
|
sHtml += "<div class=\"sapCalculationBuilderDelimiterNewButton\">";
|
|
238
238
|
sHtml += "<span role=\"presentation\" aria-hidden=\"true\" data-sap-ui-icon-content=\"\"" +
|
|
239
|
-
"class=\"sapUiIcon sapUiIconMirrorInRTL sapCalculationBuilderDelimiterNewButtonIcon
|
|
239
|
+
"class=\"sapUiIcon sapUiIconMirrorInRTL sapCalculationBuilderDelimiterNewButtonIcon sapCalculationBuilderExpressionSAPFont\"></span>";
|
|
240
240
|
|
|
241
241
|
sHtml += "</div>";
|
|
242
242
|
sHtml += "</div>";
|
|
@@ -195,11 +195,6 @@ sap.ui.define([
|
|
|
195
195
|
bAllowSuggestions = oParent && oParent.getAllowSuggestions() && Device.system.desktop,
|
|
196
196
|
sEvent = "paste input";
|
|
197
197
|
|
|
198
|
-
// IE seems to not trigger input
|
|
199
|
-
if (Device.browser.msie) {
|
|
200
|
-
sEvent += " keyup";
|
|
201
|
-
}
|
|
202
|
-
|
|
203
198
|
this.$("input").on('focus', function () {
|
|
204
199
|
var $this = jQuery(this);
|
|
205
200
|
$this.data('before', fnGetNodesText($this[0]));
|
|
@@ -274,8 +269,6 @@ sap.ui.define([
|
|
|
274
269
|
var oNewItemSpan = jQuery('<span></span>', {
|
|
275
270
|
title: oError ? oError.title : "",
|
|
276
271
|
"class": fnGetItemClass(),
|
|
277
|
-
// aria-hidden must be set to true in IE for correct reading
|
|
278
|
-
"aria-hidden": Device.browser.msie
|
|
279
272
|
})[sFnName](sKey || EMPTY_STRING);
|
|
280
273
|
|
|
281
274
|
return oNewItemSpan;
|
|
@@ -790,11 +783,6 @@ sap.ui.define([
|
|
|
790
783
|
CalculationBuilderInput.prototype._setupAriaLabel = function () {
|
|
791
784
|
var oParent, aErrors, sAriaLabel;
|
|
792
785
|
|
|
793
|
-
// aria-label must be empty in IE for correct reading
|
|
794
|
-
if (Device.browser.msie) {
|
|
795
|
-
return;
|
|
796
|
-
}
|
|
797
|
-
|
|
798
786
|
oParent = this.getParent();
|
|
799
787
|
aErrors = oParent._oExpressionBuilder._aErrors;
|
|
800
788
|
sAriaLabel = oResourceBundle.getText("CALCULATION_BUILDER_EXPRESSION_TITLE") + ": " + oParent.getExpression();
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @extends sap.ui.core.Control
|
|
31
31
|
*
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.97.0
|
|
34
34
|
* @since 1.56.0
|
|
35
35
|
*
|
|
36
36
|
* @constructor
|
|
@@ -100,7 +100,7 @@ sap.ui.define([
|
|
|
100
100
|
}.bind(this);
|
|
101
101
|
|
|
102
102
|
var fnRenderIcon = function (sIcon) {
|
|
103
|
-
sHtml += "<span aria-hidden=\"true\" data-sap-ui-icon-content=\"" + sIcon + "\" class=\"sapCalculationBuilderEmptyItemIcon sapUiIcon sapUiIconMirrorInRTL
|
|
103
|
+
sHtml += "<span aria-hidden=\"true\" data-sap-ui-icon-content=\"" + sIcon + "\" class=\"sapCalculationBuilderEmptyItemIcon sapUiIcon sapUiIconMirrorInRTL sapCalculationBuilderExpressionSAPFont\"></span>";
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
var fnGetItemAriaLabel = function (sTextBundle) {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
|
|
2
|
+
*
|
|
3
|
+
SAP UI development toolkit for HTML5 (SAPUI5)
|
|
4
|
+
(c) Copyright 2009-2015 SAP SE. All rights reserved
|
|
5
|
+
|
|
4
6
|
*/
|
|
5
7
|
|
|
6
8
|
sap.ui.define([
|
|
@@ -18,7 +20,6 @@ sap.ui.define([
|
|
|
18
20
|
'sap/ui/Device',
|
|
19
21
|
'sap/ui/core/Control',
|
|
20
22
|
'sap/ui/core/CustomData',
|
|
21
|
-
'sap/ui/core/Popup',
|
|
22
23
|
'sap/ui/core/ResizeHandler',
|
|
23
24
|
'sap/ui/core/delegate/ScrollEnablement',
|
|
24
25
|
'sap/m/ToggleButton',
|
|
@@ -26,9 +27,9 @@ sap.ui.define([
|
|
|
26
27
|
"sap/base/util/uid",
|
|
27
28
|
"sap/base/Log",
|
|
28
29
|
"./ChartContainerRenderer",
|
|
29
|
-
"sap/ui/
|
|
30
|
+
"sap/suite/ui/commons/util/FullScreenUtil"
|
|
30
31
|
], function (jQuery, library, MobileLibrary, VizLibrary, ManagedObject, Button, OverflowToolbar, OverflowToolbarButton,
|
|
31
|
-
SegmentedButton, Title, ToolbarSpacer, Device, Control, CustomData,
|
|
32
|
+
SegmentedButton, Title, ToolbarSpacer, Device, Control, CustomData, ResizeHandler, ScrollEnablement, ToggleButton, OverflowToolbarToggleButton, uid, Log, ChartContainerRenderer, FullScreenUtil) {
|
|
32
33
|
"use strict";
|
|
33
34
|
|
|
34
35
|
// shortcut for sap.m.ButtonType
|
|
@@ -232,12 +233,6 @@ sap.ui.define([
|
|
|
232
233
|
press: this._onFullScreenButtonPress.bind(this)
|
|
233
234
|
});
|
|
234
235
|
|
|
235
|
-
//Popup for chart content
|
|
236
|
-
this._oPopup = new Popup({
|
|
237
|
-
modal: true,
|
|
238
|
-
shadow: false,
|
|
239
|
-
autoClose: false
|
|
240
|
-
});
|
|
241
236
|
|
|
242
237
|
//legend button
|
|
243
238
|
this._oShowLegendButton = new ToggleButton({
|
|
@@ -286,9 +281,6 @@ sap.ui.define([
|
|
|
286
281
|
//Left side...
|
|
287
282
|
//display title if no dimension selectors
|
|
288
283
|
this._oChartTitle = new Title();
|
|
289
|
-
//init for hashchanger so it can listen to hashchange events
|
|
290
|
-
this.oHashChanger = new HashChanger();
|
|
291
|
-
this.oHashChanger.init();
|
|
292
284
|
};
|
|
293
285
|
|
|
294
286
|
ChartContainer.prototype.onAfterRendering = function () {
|
|
@@ -322,13 +314,6 @@ sap.ui.define([
|
|
|
322
314
|
});
|
|
323
315
|
}
|
|
324
316
|
this._bControlNotRendered = false;
|
|
325
|
-
//attach to on hash change after rendering of the chart container
|
|
326
|
-
this.oHashChanger.attachEvent("hashChanged", function() {
|
|
327
|
-
var bIsFullScreen = this.getFullScreen();
|
|
328
|
-
if (bIsFullScreen) {
|
|
329
|
-
this._toggleFullScreen();
|
|
330
|
-
}
|
|
331
|
-
}.bind(this));
|
|
332
317
|
|
|
333
318
|
if (this.getTitle() && (this.getToolbar().getContent().length === 2
|
|
334
319
|
&& this.getToolbar().getContent()[0] instanceof sap.m.Title)) {
|
|
@@ -386,9 +371,8 @@ sap.ui.define([
|
|
|
386
371
|
this._oFullScreenButton.destroy();
|
|
387
372
|
this._oFullScreenButton = undefined;
|
|
388
373
|
}
|
|
389
|
-
if (this.
|
|
390
|
-
this.
|
|
391
|
-
this._oPopup = undefined;
|
|
374
|
+
if (this._oFullScreenUtil) {
|
|
375
|
+
this._oFullScreenUtil.cleanUpFullScreen(this);
|
|
392
376
|
}
|
|
393
377
|
if (this._oShowLegendButton) {
|
|
394
378
|
this._oShowLegendButton.destroy();
|
|
@@ -446,10 +430,6 @@ sap.ui.define([
|
|
|
446
430
|
this._oZoomOutButton.destroy();
|
|
447
431
|
this._oZoomOutButton = undefined;
|
|
448
432
|
}
|
|
449
|
-
if (this.oHashChanger) {
|
|
450
|
-
this.oHashChanger.destroy();
|
|
451
|
-
this.oHashChanger = undefined;
|
|
452
|
-
}
|
|
453
433
|
};
|
|
454
434
|
|
|
455
435
|
/* =========================================================== */
|
|
@@ -663,85 +643,44 @@ sap.ui.define([
|
|
|
663
643
|
*/
|
|
664
644
|
ChartContainer.prototype._toggleFullScreen = function () {
|
|
665
645
|
var bFullScreen = this.getProperty("fullScreen");
|
|
646
|
+
|
|
647
|
+
var fnSetFullScreenButton = function (sIcon, sText, pressed) {
|
|
648
|
+
this._oFullScreenButton.setIcon(sIcon);
|
|
649
|
+
this._oFullScreenButton.setText(sText);
|
|
650
|
+
this._oFullScreenButton.setTooltip(sText);
|
|
651
|
+
this._oFullScreenButton.setPressed(pressed);
|
|
652
|
+
}.bind(this);
|
|
653
|
+
|
|
654
|
+
var oContent;
|
|
655
|
+
var aContent = this.getAggregation("content");
|
|
666
656
|
if (bFullScreen) {
|
|
667
|
-
var aContent = this.getAggregation("content");
|
|
668
|
-
this._closeFullScreen();
|
|
669
657
|
this.setProperty("fullScreen", false, true);
|
|
670
|
-
|
|
671
|
-
this._oFullScreenButton.setTooltip(this._oResBundle.getText("CHARTCONTAINER_FULLSCREEN"));
|
|
672
|
-
this._oFullScreenButton.setText(this._oResBundle.getText("CHARTCONTAINER_FULLSCREEN"));
|
|
673
|
-
this._oFullScreenButton.setPressed(false);
|
|
674
|
-
var oContent;
|
|
675
|
-
var sHeight;
|
|
658
|
+
fnSetFullScreenButton("sap-icon://full-screen", this._oResBundle.getText("CHARTCONTAINER_FULLSCREEN"), false);
|
|
676
659
|
for (var i = 0; i < aContent.length; i++) {
|
|
677
660
|
oContent = aContent[i].getContent();
|
|
678
661
|
oContent.setWidth("100%");
|
|
679
|
-
|
|
680
|
-
if (sHeight) {
|
|
681
|
-
oContent.setHeight(sHeight);
|
|
682
|
-
}
|
|
662
|
+
oContent.setHeight(this._sChartOriginalHeight);
|
|
683
663
|
}
|
|
684
664
|
this.invalidate();
|
|
685
665
|
} else {
|
|
686
|
-
//Make sure the cart doesn't disappear when it's toggled with the full screen button.
|
|
687
|
-
//By suppressing the bSuppressInvalidate argument for the setProperty, this delay shouldn't be needed.
|
|
688
|
-
this._openFullScreen();
|
|
689
666
|
this.setProperty("fullScreen", true, true);
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
667
|
+
fnSetFullScreenButton("sap-icon://exit-full-screen", this._oResBundle.getText("CHARTCONTAINER_FULLSCREEN_CLOSE"), true);
|
|
668
|
+
for (var i = 0; i < aContent.length; i++) {
|
|
669
|
+
oContent = aContent[i].getContent();
|
|
670
|
+
oContent.setWidth("100%");
|
|
671
|
+
this._sChartOriginalHeight = oContent.getHeight();
|
|
672
|
+
}
|
|
694
673
|
}
|
|
695
|
-
};
|
|
696
674
|
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
* @private
|
|
701
|
-
*/
|
|
702
|
-
ChartContainer.prototype._openFullScreen = function () {
|
|
703
|
-
var eDock = Popup.Dock;
|
|
704
|
-
this.$content = this.$();
|
|
705
|
-
if (this.$content) {
|
|
706
|
-
this.$tempNode = jQuery("<div></div>");
|
|
707
|
-
this.$content.before(this.$tempNode);
|
|
708
|
-
this._$overlay = jQuery("<div id='" + uid() + "'></div>");
|
|
709
|
-
this._$overlay.addClass("sapSuiteUiCommonsChartContainerOverlay");
|
|
710
|
-
this._$overlay.addClass("sapSuiteUiCommonsChartContainerChartArea");
|
|
711
|
-
this._$overlay.append(this.$content);
|
|
712
|
-
this._oPopup.setContent(this._$overlay);
|
|
713
|
-
} else {
|
|
714
|
-
Log.warning("Overlay: content does not exist or contains more than one child");
|
|
715
|
-
}
|
|
716
|
-
this._oPopup.open(200, eDock.BeginTop, eDock.BeginTop, jQuery("body"));
|
|
717
|
-
if (!Device.system.desktop) {
|
|
718
|
-
// Fixes missing height adjustment on mobile devices
|
|
719
|
-
setTimeout(function () {
|
|
720
|
-
var fnMethod = this._performHeightChanges.bind(this);
|
|
721
|
-
if (typeof fnMethod === "string" || fnMethod instanceof String) {
|
|
722
|
-
fnMethod = this[fnMethod];
|
|
723
|
-
}
|
|
724
|
-
fnMethod.apply(this, []);
|
|
725
|
-
}.bind(this), 500);
|
|
675
|
+
bFullScreen = !bFullScreen;
|
|
676
|
+
if (!this._oFullScreenUtil) {
|
|
677
|
+
this._oFullScreenUtil = FullScreenUtil;
|
|
726
678
|
}
|
|
727
|
-
};
|
|
728
679
|
|
|
729
|
-
|
|
730
|
-
* Closes Full Screen and returns to normal mode.
|
|
731
|
-
*
|
|
732
|
-
* @private
|
|
733
|
-
*/
|
|
734
|
-
ChartContainer.prototype._closeFullScreen = function () {
|
|
735
|
-
if (this._oScrollEnablement) {
|
|
736
|
-
this._oScrollEnablement.destroy();
|
|
737
|
-
this._oScrollEnablement = null;
|
|
738
|
-
}
|
|
739
|
-
this.$tempNode.replaceWith(this.$content);
|
|
740
|
-
this._oToolBar.setDesign(MobileLibrary.ToolbarDesign.Auto);
|
|
741
|
-
this._oPopup.close();
|
|
742
|
-
this._$overlay.remove();
|
|
680
|
+
this._oFullScreenUtil.toggleFullScreen(this, bFullScreen, this._oFullScreenButton, this._toggleFullScreen);
|
|
743
681
|
};
|
|
744
682
|
|
|
683
|
+
|
|
745
684
|
/**
|
|
746
685
|
* Performs height changes needed when toggling between full screen and normal modes.
|
|
747
686
|
*
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
|
|
2
|
+
*
|
|
3
|
+
SAP UI development toolkit for HTML5 (SAPUI5)
|
|
4
|
+
(c) Copyright 2009-2015 SAP SE. All rights reserved
|
|
5
|
+
|
|
4
6
|
*/
|
|
5
7
|
|
|
6
8
|
sap.ui.define([ 'sap/ui/core/Control', './ChartContainerToolbarPlaceholderRenderer' ], function(Control, ChartContainerToolbarPlaceholderRenderer) {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
|
|
2
|
+
*
|
|
3
|
+
SAP UI development toolkit for HTML5 (SAPUI5)
|
|
4
|
+
(c) Copyright 2009-2015 SAP SE. All rights reserved
|
|
5
|
+
|
|
4
6
|
*/
|
|
5
7
|
|
|
6
8
|
sap.ui.define([ './library', './InfoTileRenderer', 'sap/ui/core/Renderer' ], function(library, InfoTileRenderer, Renderer) {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
|
|
2
|
+
*
|
|
3
|
+
SAP UI development toolkit for HTML5 (SAPUI5)
|
|
4
|
+
(c) Copyright 2009-2015 SAP SE. All rights reserved
|
|
5
|
+
|
|
4
6
|
*/
|
|
5
7
|
|
|
6
8
|
sap.ui.define([ 'sap/suite/ui/microchart/ColumnMicroChartData' ], function(ColumnMicroChartData) {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
|
|
2
|
+
*
|
|
3
|
+
SAP UI development toolkit for HTML5 (SAPUI5)
|
|
4
|
+
(c) Copyright 2009-2015 SAP SE. All rights reserved
|
|
5
|
+
|
|
4
6
|
*/
|
|
5
7
|
|
|
6
8
|
sap.ui.define([ 'sap/suite/ui/microchart/library', 'sap/suite/ui/microchart/ColumnMicroChart', 'sap/suite/ui/microchart/ColumnMicroChartRenderer' ],
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
*
|
|
3
|
-
|
|
2
|
+
*
|
|
3
|
+
SAP UI development toolkit for HTML5 (SAPUI5)
|
|
4
|
+
(c) Copyright 2009-2015 SAP SE. All rights reserved
|
|
5
|
+
|
|
4
6
|
*/
|
|
5
7
|
|
|
6
8
|
sap.ui.define([ 'sap/suite/ui/microchart/ColumnMicroChartLabel' ], function(ColumnMicroChartLabel) {
|