@amcharts/amcharts5 5.0.20 → 5.0.21
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/.internal/charts/map/MapLineSeries.d.ts +6 -1
- package/.internal/charts/map/MapLineSeries.d.ts.map +1 -1
- package/.internal/charts/map/MapLineSeries.js +11 -6
- package/.internal/charts/map/MapLineSeries.js.map +1 -1
- package/.internal/charts/map/MapPointSeries.d.ts +6 -1
- package/.internal/charts/map/MapPointSeries.d.ts.map +1 -1
- package/.internal/charts/map/MapPointSeries.js +7 -2
- package/.internal/charts/map/MapPointSeries.js.map +1 -1
- package/.internal/charts/map/MapPolygonSeries.d.ts +6 -1
- package/.internal/charts/map/MapPolygonSeries.d.ts.map +1 -1
- package/.internal/charts/map/MapPolygonSeries.js +7 -2
- package/.internal/charts/map/MapPolygonSeries.js.map +1 -1
- package/.internal/charts/xy/XYCursor.d.ts +6 -0
- package/.internal/charts/xy/XYCursor.d.ts.map +1 -1
- package/.internal/charts/xy/XYCursor.js +4 -0
- package/.internal/charts/xy/XYCursor.js.map +1 -1
- package/.internal/charts/xy/axes/DateAxis.d.ts.map +1 -1
- package/.internal/charts/xy/axes/DateAxis.js +1 -0
- package/.internal/charts/xy/axes/DateAxis.js.map +1 -1
- package/.internal/charts/xy/series/LineSeries.d.ts +1 -0
- package/.internal/charts/xy/series/LineSeries.d.ts.map +1 -1
- package/.internal/charts/xy/series/LineSeries.js +14 -2
- package/.internal/charts/xy/series/LineSeries.js.map +1 -1
- package/.internal/core/Classes.d.ts +2 -0
- package/.internal/core/Classes.d.ts.map +1 -1
- package/.internal/core/Classes.js.map +1 -1
- package/.internal/core/render/Component.d.ts +6 -1
- package/.internal/core/render/Component.d.ts.map +1 -1
- package/.internal/core/render/Component.js +8 -3
- package/.internal/core/render/Component.js.map +1 -1
- package/.internal/core/render/Ellipse.d.ts +28 -0
- package/.internal/core/render/Ellipse.d.ts.map +1 -0
- package/.internal/core/render/Ellipse.js +51 -0
- package/.internal/core/render/Ellipse.js.map +1 -0
- package/.internal/core/render/HorizontalLayout.d.ts.map +1 -1
- package/.internal/core/render/HorizontalLayout.js +14 -0
- package/.internal/core/render/HorizontalLayout.js.map +1 -1
- package/.internal/core/render/Line.js +1 -1
- package/.internal/core/render/Line.js.map +1 -1
- package/.internal/core/render/Series.d.ts +1 -1
- package/.internal/core/render/Series.d.ts.map +1 -1
- package/.internal/core/render/Series.js +2 -2
- package/.internal/core/render/Series.js.map +1 -1
- package/.internal/core/render/Slice.d.ts.map +1 -1
- package/.internal/core/render/Slice.js +3 -1
- package/.internal/core/render/Slice.js.map +1 -1
- package/.internal/core/render/Sprite.d.ts +9 -0
- package/.internal/core/render/Sprite.d.ts.map +1 -1
- package/.internal/core/render/Sprite.js +18 -2
- package/.internal/core/render/Sprite.js.map +1 -1
- package/.internal/core/render/VerticalLayout.d.ts.map +1 -1
- package/.internal/core/render/VerticalLayout.js +14 -0
- package/.internal/core/render/VerticalLayout.js.map +1 -1
- package/.internal/core/render/backend/CanvasRenderer.d.ts +2 -0
- package/.internal/core/render/backend/CanvasRenderer.d.ts.map +1 -1
- package/.internal/core/render/backend/CanvasRenderer.js +75 -8
- package/.internal/core/render/backend/CanvasRenderer.js.map +1 -1
- package/.internal/core/render/backend/Renderer.d.ts +2 -0
- package/.internal/core/render/backend/Renderer.d.ts.map +1 -1
- package/.internal/core/render/backend/Renderer.js.map +1 -1
- package/.internal/core/util/Entity.js +2 -2
- package/.internal/core/util/Entity.js.map +1 -1
- package/.internal/plugins/sliceGrouper/SliceGrouper.d.ts.map +1 -1
- package/.internal/plugins/sliceGrouper/SliceGrouper.js +4 -2
- package/.internal/plugins/sliceGrouper/SliceGrouper.js.map +1 -1
- package/CHANGELOG.md +18 -0
- package/examples/javascript/flow-chord/package.json +1 -1
- package/examples/javascript/flow-chord-directed/package.json +1 -1
- package/examples/javascript/flow-chord-non-ribbon/package.json +1 -1
- package/examples/javascript/flow-sankey/package.json +1 -1
- package/examples/javascript/gauge/package.json +1 -1
- package/examples/javascript/gauge-bands/package.json +1 -1
- package/examples/javascript/hierarchy-force-directed/package.json +1 -1
- package/examples/javascript/hierarchy-pack/package.json +1 -1
- package/examples/javascript/hierarchy-partition/package.json +1 -1
- package/examples/javascript/hierarchy-sunburst/package.json +1 -1
- package/examples/javascript/hierarchy-tree/package.json +1 -1
- package/examples/javascript/hierarchy-treemap/package.json +1 -1
- package/examples/javascript/map-animating-along-lines/package.json +1 -1
- package/examples/javascript/map-day-and-night/package.json +1 -1
- package/examples/javascript/map-globe-rotate-to-country/package.json +1 -1
- package/examples/javascript/map-globe-with-projected-circles/package.json +1 -1
- package/examples/javascript/map-with-bubbles/package.json +1 -1
- package/examples/javascript/map-zoom-to-country/package.json +1 -1
- package/examples/javascript/misc-40-charts/package.json +1 -1
- package/examples/javascript/misc-microchart-grid/package.json +1 -1
- package/examples/javascript/pie-chart/package.json +1 -1
- package/examples/javascript/pie-donut-chart/package.json +1 -1
- package/examples/javascript/pie-variable-radius/package.json +1 -1
- package/examples/javascript/radar-column-iwatch-style/package.json +1 -1
- package/examples/javascript/radar-heat-map/package.json +1 -1
- package/examples/javascript/radar-line/package.json +1 -1
- package/examples/javascript/radar-time-line/package.json +1 -1
- package/examples/javascript/sliced-funnel/package.json +1 -1
- package/examples/javascript/sliced-pictorial-stacked/package.json +1 -1
- package/examples/javascript/sliced-pyramid/package.json +1 -1
- package/examples/javascript/venn-diagram/package.json +1 -1
- package/examples/javascript/wordcloud-with-data/package.json +1 -1
- package/examples/javascript/wordcloud-with-text/package.json +1 -1
- package/examples/javascript/xy-100-percent-stacked-column/package.json +1 -1
- package/examples/javascript/xy-animated-bullet-at-the-end-of-the-series/package.json +1 -1
- package/examples/javascript/xy-bubble/package.json +1 -1
- package/examples/javascript/xy-candlestick/package.json +1 -1
- package/examples/javascript/xy-clustered-column/package.json +1 -1
- package/examples/javascript/xy-column/package.json +1 -1
- package/examples/javascript/xy-comparing-series-google-analytics-style/package.json +1 -1
- package/examples/javascript/xy-data-grouping/package.json +1 -1
- package/examples/javascript/xy-draggable-range/package.json +1 -1
- package/examples/javascript/xy-drawing-series-with-mouse-or-touch/package.json +1 -1
- package/examples/javascript/xy-dumbbell plot/package.json +1 -1
- package/examples/javascript/xy-evenly-spaced-date-axis/package.json +1 -1
- package/examples/javascript/xy-line/package.json +1 -1
- package/examples/javascript/xy-line-highlight-on-legend-hover/package.json +1 -1
- package/examples/javascript/xy-live-data/package.json +1 -1
- package/examples/javascript/xy-multiple-synced-value-axes/package.json +1 -1
- package/examples/javascript/xy-ohlc/package.json +1 -1
- package/examples/javascript/xy-real-time-data-sorting/package.json +1 -1
- package/examples/javascript/xy-smoothed-line/package.json +1 -1
- package/examples/javascript/xy-stacked-and-clustered-column/package.json +1 -1
- package/examples/javascript/xy-stacked-column/package.json +1 -1
- package/examples/javascript/xy-stacked-step/package.json +1 -1
- package/examples/javascript/xy-stock/package.json +1 -1
- package/examples/javascript/xy-stock-comparing/package.json +1 -1
- package/examples/typescript/flow-chord/package.json +1 -1
- package/examples/typescript/flow-chord-directed/package.json +1 -1
- package/examples/typescript/flow-chord-non-ribbon/package.json +1 -1
- package/examples/typescript/flow-sankey/package.json +1 -1
- package/examples/typescript/gauge/package.json +1 -1
- package/examples/typescript/gauge-bands/package.json +1 -1
- package/examples/typescript/hierarchy-force-directed/package.json +1 -1
- package/examples/typescript/hierarchy-pack/package.json +1 -1
- package/examples/typescript/hierarchy-partition/package.json +1 -1
- package/examples/typescript/hierarchy-sunburst/package.json +1 -1
- package/examples/typescript/hierarchy-tree/package.json +1 -1
- package/examples/typescript/hierarchy-treemap/package.json +1 -1
- package/examples/typescript/map-animating-along-lines/package.json +1 -1
- package/examples/typescript/map-day-and-night/package.json +1 -1
- package/examples/typescript/map-globe-rotate-to-country/package.json +1 -1
- package/examples/typescript/map-globe-with-projected-circles/package.json +1 -1
- package/examples/typescript/map-with-bubbles/package.json +1 -1
- package/examples/typescript/map-zoom-to-country/package.json +1 -1
- package/examples/typescript/misc-40-charts/package.json +1 -1
- package/examples/typescript/misc-microchart-grid/package.json +1 -1
- package/examples/typescript/pie-chart/package.json +1 -1
- package/examples/typescript/pie-donut-chart/package.json +1 -1
- package/examples/typescript/pie-variable-radius/package.json +1 -1
- package/examples/typescript/radar-column-iwatch-style/package.json +1 -1
- package/examples/typescript/radar-heat-map/package.json +1 -1
- package/examples/typescript/radar-line/package.json +1 -1
- package/examples/typescript/radar-time-line/package.json +1 -1
- package/examples/typescript/sliced-funnel/package.json +1 -1
- package/examples/typescript/sliced-pictorial-stacked/package.json +1 -1
- package/examples/typescript/sliced-pyramid/package.json +1 -1
- package/examples/typescript/venn-diagram/package.json +1 -1
- package/examples/typescript/wordcloud-with-data/package.json +1 -1
- package/examples/typescript/wordcloud-with-text/package.json +1 -1
- package/examples/typescript/xy-100-percent-stacked-column/package.json +1 -1
- package/examples/typescript/xy-animated-bullet-at-the-end-of-the-series/package.json +1 -1
- package/examples/typescript/xy-bubble/package.json +1 -1
- package/examples/typescript/xy-candlestick/package.json +1 -1
- package/examples/typescript/xy-clustered-column/package.json +1 -1
- package/examples/typescript/xy-column/package.json +1 -1
- package/examples/typescript/xy-comparing-series-google-analytics-style/package.json +1 -1
- package/examples/typescript/xy-data-grouping/package.json +1 -1
- package/examples/typescript/xy-draggable-range/package.json +1 -1
- package/examples/typescript/xy-drawing-series-with-mouse-or-touch/package.json +1 -1
- package/examples/typescript/xy-dumbbell plot/package.json +1 -1
- package/examples/typescript/xy-evenly-spaced-date-axis/package.json +1 -1
- package/examples/typescript/xy-line/package.json +1 -1
- package/examples/typescript/xy-line-highlight-on-legend-hover/package.json +1 -1
- package/examples/typescript/xy-live-data/package.json +1 -1
- package/examples/typescript/xy-multiple-synced-value-axes/package.json +1 -1
- package/examples/typescript/xy-ohlc/package.json +1 -1
- package/examples/typescript/xy-real-time-data-sorting/package.json +1 -1
- package/examples/typescript/xy-smoothed-line/package.json +1 -1
- package/examples/typescript/xy-stacked-and-clustered-column/package.json +1 -1
- package/examples/typescript/xy-stacked-column/package.json +1 -1
- package/examples/typescript/xy-stacked-step/package.json +1 -1
- package/examples/typescript/xy-stock/package.json +1 -1
- package/examples/typescript/xy-stock-comparing/package.json +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Classes.js","sourceRoot":"","sources":["../../../../src/.internal/core/Classes.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is automatically generated by `yarn generate-classes`.\n * DO NOT MANUALLY EDIT IT OR YOUR CHANGES WILL BE LOST!\n */\n\nimport type { Axis } from \"./../charts/xy/axes/Axis\";\nimport type { AxisBullet } from \"./../charts/xy/axes/AxisBullet\";\nimport type { AxisLabel } from \"./../charts/xy/axes/AxisLabel\";\nimport type { AxisLabelRadial } from \"./../charts/xy/axes/AxisLabelRadial\";\nimport type { AxisRenderer } from \"./../charts/xy/axes/AxisRenderer\";\nimport type { AxisRendererCircular } from \"./../charts/radar/AxisRendererCircular\";\nimport type { AxisRendererRadial } from \"./../charts/radar/AxisRendererRadial\";\nimport type { AxisRendererX } from \"./../charts/xy/axes/AxisRendererX\";\nimport type { AxisRendererY } from \"./../charts/xy/axes/AxisRendererY\";\nimport type { AxisTick } from \"./../charts/xy/axes/AxisTick\";\nimport type { BaseColumnSeries } from \"./../charts/xy/series/BaseColumnSeries\";\nimport type { BreadcrumbBar } from \"./../charts/hierarchy/BreadcrumbBar\";\nimport type { Bullet } from \"./render/Bullet\";\nimport type { Button } from \"./render/Button\";\nimport type { Candlestick } from \"./../charts/xy/series/Candlestick\";\nimport type { CandlestickSeries } from \"./../charts/xy/series/CandlestickSeries\";\nimport type { CategoryAxis } from \"./../charts/xy/axes/CategoryAxis\";\nimport type { CategoryDateAxis } from \"./../charts/xy/axes/CategoryDateAxis\";\nimport type { Chart } from \"./render/Chart\";\nimport type { Chord } from \"./../charts/flow/Chord\";\nimport type { ChordDirected } from \"./../charts/flow/ChordDirected\";\nimport type { ChordLink } from \"./../charts/flow/ChordLink\";\nimport type { ChordLinkDirected } from \"./../charts/flow/ChordLinkDirected\";\nimport type { ChordNodes } from \"./../charts/flow/ChordNodes\";\nimport type { ChordNonRibbon } from \"./../charts/flow/ChordNonRibbon\";\nimport type { Circle } from \"./render/Circle\";\nimport type { CirclePattern } from \"./render/patterns/CirclePattern\";\nimport type { ClockHand } from \"./../charts/radar/ClockHand\";\nimport type { ColorSet } from \"./util/ColorSet\";\nimport type { ColumnSeries } from \"./../charts/xy/series/ColumnSeries\";\nimport type { Component } from \"./render/Component\";\nimport type { Container } from \"./render/Container\";\nimport type { DateAxis } from \"./../charts/xy/axes/DateAxis\";\nimport type { DurationAxis } from \"./../charts/xy/axes/DurationAxis\";\nimport type { Entity } from \"./util/Entity\";\nimport type { Exporting } from \"./../plugins/exporting/Exporting\";\nimport type { ExportingMenu } from \"./../plugins/exporting/ExportingMenu\";\nimport type { Flow } from \"./../charts/flow/Flow\";\nimport type { FlowLink } from \"./../charts/flow/FlowLink\";\nimport type { FlowNode } from \"./../charts/flow/FlowNode\";\nimport type { FlowNodes } from \"./../charts/flow/FlowNodes\";\nimport type { ForceDirected } from \"./../charts/hierarchy/ForceDirected\";\nimport type { FunnelSeries } from \"./../charts/funnel/FunnelSeries\";\nimport type { FunnelSlice } from \"./../charts/funnel/FunnelSlice\";\nimport type { Gradient } from \"./render/gradients/Gradient\";\nimport type { Graphics } from \"./render/Graphics\";\nimport type { GraticuleSeries } from \"./../charts/map/GraticuleSeries\";\nimport type { Grid } from \"./../charts/xy/axes/Grid\";\nimport type { GridLayout } from \"./render/GridLayout\";\nimport type { HeatLegend } from \"./render/HeatLegend\";\nimport type { Hierarchy } from \"./../charts/hierarchy/Hierarchy\";\nimport type { HierarchyLink } from \"./../charts/hierarchy/HierarchyLink\";\nimport type { HierarchyNode } from \"./../charts/hierarchy/HierarchyNode\";\nimport type { HorizontalLayout } from \"./render/HorizontalLayout\";\nimport type { InterfaceColors } from \"./util/InterfaceColors\";\nimport type { Label } from \"./render/Label\";\nimport type { Layout } from \"./render/Layout\";\nimport type { Legend } from \"./render/Legend\";\nimport type { Line } from \"./render/Line\";\nimport type { LinePattern } from \"./render/patterns/LinePattern\";\nimport type { LineSeries } from \"./../charts/xy/series/LineSeries\";\nimport type { LinearGradient } from \"./render/gradients/LinearGradient\";\nimport type { LinkedHierarchy } from \"./../charts/hierarchy/LinkedHierarchy\";\nimport type { LinkedHierarchyNode } from \"./../charts/hierarchy/LinkedHierarchyNode\";\nimport type { MapChart } from \"./../charts/map/MapChart\";\nimport type { MapLine } from \"./../charts/map/MapLine\";\nimport type { MapLineSeries } from \"./../charts/map/MapLineSeries\";\nimport type { MapPointSeries } from \"./../charts/map/MapPointSeries\";\nimport type { MapPolygon } from \"./../charts/map/MapPolygon\";\nimport type { MapPolygonSeries } from \"./../charts/map/MapPolygonSeries\";\nimport type { MapSeries } from \"./../charts/map/MapSeries\";\nimport type { OHLC } from \"./../charts/xy/series/OHLC\";\nimport type { OHLCSeries } from \"./../charts/xy/series/OHLCSeries\";\nimport type { Pack } from \"./../charts/hierarchy/Pack\";\nimport type { Partition } from \"./../charts/hierarchy/Partition\";\nimport type { Pattern } from \"./render/patterns/Pattern\";\nimport type { PercentChart } from \"./../charts/percent/PercentChart\";\nimport type { PercentSeries } from \"./../charts/percent/PercentSeries\";\nimport type { PictorialStackedSeries } from \"./../charts/funnel/PictorialStackedSeries\";\nimport type { Picture } from \"./render/Picture\";\nimport type { PieChart } from \"./../charts/pie/PieChart\";\nimport type { PieSeries } from \"./../charts/pie/PieSeries\";\nimport type { PointedRectangle } from \"./render/PointedRectangle\";\nimport type { PyramidSeries } from \"./../charts/funnel/PyramidSeries\";\nimport type { RadarChart } from \"./../charts/radar/RadarChart\";\nimport type { RadarColumnSeries } from \"./../charts/radar/RadarColumnSeries\";\nimport type { RadarCursor } from \"./../charts/radar/RadarCursor\";\nimport type { RadarLineSeries } from \"./../charts/radar/RadarLineSeries\";\nimport type { RadialGradient } from \"./render/gradients/RadialGradient\";\nimport type { RadialLabel } from \"./render/RadialLabel\";\nimport type { RadialText } from \"./render/RadialText\";\nimport type { Rectangle } from \"./render/Rectangle\";\nimport type { Triangle } from \"./render/Triangle\";\nimport type { RectanglePattern } from \"./render/patterns/RectanglePattern\";\nimport type { RoundedRectangle } from \"./render/RoundedRectangle\";\nimport type { Sankey } from \"./../charts/flow/Sankey\";\nimport type { SankeyLink } from \"./../charts/flow/SankeyLink\";\nimport type { SankeyNodes } from \"./../charts/flow/SankeyNodes\";\nimport type { Scrollbar } from \"./render/Scrollbar\";\nimport type { SerialChart } from \"./render/SerialChart\";\nimport type { Series } from \"./render/Series\";\nimport type { Slice } from \"./render/Slice\";\nimport type { SlicedChart } from \"./../charts/funnel/SlicedChart\";\nimport type { Slider } from \"./render/Slider\";\nimport type { SmoothedRadarLineSeries } from \"./../charts/radar/SmoothedRadarLineSeries\";\nimport type { SmoothedXLineSeries } from \"./../charts/xy/series/SmoothedXLineSeries\";\nimport type { SmoothedXYLineSeries } from \"./../charts/xy/series/SmoothedXYLineSeries\";\nimport type { SmoothedYLineSeries } from \"./../charts/xy/series/SmoothedYLineSeries\";\nimport type { Sprite } from \"./render/Sprite\";\nimport type { Star } from \"./render/Star\";\nimport type { StepLineSeries } from \"./../charts/xy/series/StepLineSeries\";\nimport type { Sunburst } from \"./../charts/hierarchy/Sunburst\";\nimport type { Text } from \"./render/Text\";\nimport type { Tick } from \"./render/Tick\";\nimport type { Tooltip } from \"./render/Tooltip\";\nimport type { Tree } from \"./../charts/hierarchy/Tree\";\nimport type { Treemap } from \"./../charts/hierarchy/Treemap\";\nimport type { ValueAxis } from \"./../charts/xy/axes/ValueAxis\";\nimport type { VerticalLayout } from \"./render/VerticalLayout\";\nimport type { XYChart } from \"./../charts/xy/XYChart\";\nimport type { XYChartScrollbar } from \"./../charts/xy/XYChartScrollbar\";\nimport type { XYCursor } from \"./../charts/xy/XYCursor\";\nimport type { XYSeries } from \"./../charts/xy/series/XYSeries\";\nimport type { Venn } from \"./../charts/venn/Venn\";\nimport type { WordCloud } from \"./../charts/wordcloud/WordCloud\";\nimport type { ZoomControl } from \"./../charts/map/ZoomControl\";\n\nexport interface IClasses {\n\t\"Axis\": Axis<AxisRenderer>;\n\t\"AxisBullet\": AxisBullet;\n\t\"AxisLabel\": AxisLabel;\n\t\"AxisLabelRadial\": AxisLabelRadial;\n\t\"AxisRenderer\": AxisRenderer;\n\t\"AxisRendererCircular\": AxisRendererCircular;\n\t\"AxisRendererRadial\": AxisRendererRadial;\n\t\"AxisRendererX\": AxisRendererX;\n\t\"AxisRendererY\": AxisRendererY;\n\t\"AxisTick\": AxisTick;\n\t\"BaseColumnSeries\": BaseColumnSeries;\n\t\"BreadcrumbBar\": BreadcrumbBar;\n\t\"Bullet\": Bullet;\n\t\"Button\": Button;\n\t\"Candlestick\": Candlestick;\n\t\"CandlestickSeries\": CandlestickSeries;\n\t\"CategoryAxis\": CategoryAxis<AxisRenderer>;\n\t\"CategoryDateAxis\": CategoryDateAxis<AxisRenderer>;\n\t\"Chart\": Chart;\n\t\"Chord\": Chord;\n\t\"ChordDirected\": ChordDirected;\n\t\"ChordLink\": ChordLink;\n\t\"ChordLinkDirected\": ChordLinkDirected;\n\t\"ChordNodes\": ChordNodes;\n\t\"ChordNonRibbon\": ChordNonRibbon;\n\t\"Circle\": Circle;\n\t\"CirclePattern\": CirclePattern;\n\t\"ClockHand\": ClockHand;\n\t\"ColorSet\": ColorSet;\n\t\"ColumnSeries\": ColumnSeries;\n\t\"Component\": Component;\n\t\"Container\": Container;\n\t\"DateAxis\": DateAxis<AxisRenderer>;\n\t\"DurationAxis\": DurationAxis<AxisRenderer>;\n\t\"Entity\": Entity;\n\t\"Exporting\": Exporting;\n\t\"ExportingMenu\": ExportingMenu;\n\t\"Flow\": Flow;\n\t\"FlowLink\": FlowLink;\n\t\"FlowNode\": FlowNode;\n\t\"FlowNodes\": FlowNodes;\n\t\"ForceDirected\": ForceDirected;\n\t\"FunnelSeries\": FunnelSeries;\n\t\"FunnelSlice\": FunnelSlice;\n\t\"Gradient\": Gradient;\n\t\"Graphics\": Graphics;\n\t\"GraticuleSeries\": GraticuleSeries;\n\t\"Grid\": Grid;\n\t\"GridLayout\": GridLayout;\n\t\"HeatLegend\": HeatLegend;\n\t\"Hierarchy\": Hierarchy;\n\t\"HierarchyLink\": HierarchyLink;\n\t\"HierarchyNode\": HierarchyNode;\n\t\"HorizontalLayout\": HorizontalLayout;\n\t\"InterfaceColors\": InterfaceColors;\n\t\"Label\": Label;\n\t\"Layout\": Layout;\n\t\"Legend\": Legend;\n\t\"Line\": Line;\n\t\"LinePattern\": LinePattern;\n\t\"LineSeries\": LineSeries;\n\t\"LinearGradient\": LinearGradient;\n\t\"LinkedHierarchy\": LinkedHierarchy;\n\t\"LinkedHierarchyNode\": LinkedHierarchyNode;\n\t\"MapChart\": MapChart;\n\t\"MapLine\": MapLine;\n\t\"MapLineSeries\": MapLineSeries;\n\t\"MapPointSeries\": MapPointSeries;\n\t\"MapPolygon\": MapPolygon;\n\t\"MapPolygonSeries\": MapPolygonSeries;\n\t\"MapSeries\": MapSeries;\n\t\"OHLC\": OHLC;\n\t\"OHLCSeries\": OHLCSeries;\n\t\"Pack\": Pack;\n\t\"Partition\": Partition;\n\t\"Pattern\": Pattern;\n\t\"PercentChart\": PercentChart;\n\t\"PercentSeries\": PercentSeries;\n\t\"PictorialStackedSeries\": PictorialStackedSeries;\n\t\"Picture\": Picture;\n\t\"PieChart\": PieChart;\n\t\"PieSeries\": PieSeries;\n\t\"PointedRectangle\": PointedRectangle;\n\t\"PyramidSeries\": PyramidSeries;\n\t\"RadarChart\": RadarChart;\n\t\"RadarColumnSeries\": RadarColumnSeries;\n\t\"RadarCursor\": RadarCursor;\n\t\"RadarLineSeries\": RadarLineSeries;\n\t\"RadialGradient\": RadialGradient;\n\t\"RadialLabel\": RadialLabel;\n\t\"RadialText\": RadialText;\n\t\"Rectangle\": Rectangle;\n\t\"Triangle\": Triangle;\n\t\"RectanglePattern\": RectanglePattern;\n\t\"RoundedRectangle\": RoundedRectangle;\n\t\"Sankey\": Sankey;\n\t\"SankeyLink\": SankeyLink;\n\t\"SankeyNodes\": SankeyNodes;\n\t\"Scrollbar\": Scrollbar;\n\t\"SerialChart\": SerialChart;\n\t\"Series\": Series;\n\t\"Slice\": Slice;\n\t\"SlicedChart\": SlicedChart;\n\t\"Slider\": Slider;\n\t\"SmoothedRadarLineSeries\": SmoothedRadarLineSeries;\n\t\"SmoothedXLineSeries\": SmoothedXLineSeries;\n\t\"SmoothedXYLineSeries\": SmoothedXYLineSeries;\n\t\"SmoothedYLineSeries\": SmoothedYLineSeries;\n\t\"Sprite\": Sprite;\n\t\"Star\": Star;\n\t\"StepLineSeries\": StepLineSeries;\n\t\"Sunburst\": Sunburst;\n\t\"Text\": Text;\n\t\"Tick\": Tick;\n\t\"Tooltip\": Tooltip;\n\t\"Tree\": Tree;\n\t\"Treemap\": Treemap;\n\t\"ValueAxis\": ValueAxis<AxisRenderer>;\n\t\"VerticalLayout\": VerticalLayout;\n\t\"XYChart\": XYChart;\n\t\"XYChartScrollbar\": XYChartScrollbar;\n\t\"XYCursor\": XYCursor;\n\t\"XYSeries\": XYSeries;\n\t\"Venn\": Venn;\n\t\"WordCloud\": WordCloud;\n\t\"ZoomControl\": ZoomControl;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Classes.js","sourceRoot":"","sources":["../../../../src/.internal/core/Classes.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is automatically generated by `yarn generate-classes`.\n * DO NOT MANUALLY EDIT IT OR YOUR CHANGES WILL BE LOST!\n */\n\nimport type { Axis } from \"./../charts/xy/axes/Axis\";\nimport type { AxisBullet } from \"./../charts/xy/axes/AxisBullet\";\nimport type { AxisLabel } from \"./../charts/xy/axes/AxisLabel\";\nimport type { AxisLabelRadial } from \"./../charts/xy/axes/AxisLabelRadial\";\nimport type { AxisRenderer } from \"./../charts/xy/axes/AxisRenderer\";\nimport type { AxisRendererCircular } from \"./../charts/radar/AxisRendererCircular\";\nimport type { AxisRendererRadial } from \"./../charts/radar/AxisRendererRadial\";\nimport type { AxisRendererX } from \"./../charts/xy/axes/AxisRendererX\";\nimport type { AxisRendererY } from \"./../charts/xy/axes/AxisRendererY\";\nimport type { AxisTick } from \"./../charts/xy/axes/AxisTick\";\nimport type { BaseColumnSeries } from \"./../charts/xy/series/BaseColumnSeries\";\nimport type { BreadcrumbBar } from \"./../charts/hierarchy/BreadcrumbBar\";\nimport type { Bullet } from \"./render/Bullet\";\nimport type { Button } from \"./render/Button\";\nimport type { Candlestick } from \"./../charts/xy/series/Candlestick\";\nimport type { CandlestickSeries } from \"./../charts/xy/series/CandlestickSeries\";\nimport type { CategoryAxis } from \"./../charts/xy/axes/CategoryAxis\";\nimport type { CategoryDateAxis } from \"./../charts/xy/axes/CategoryDateAxis\";\nimport type { Chart } from \"./render/Chart\";\nimport type { Chord } from \"./../charts/flow/Chord\";\nimport type { ChordDirected } from \"./../charts/flow/ChordDirected\";\nimport type { ChordLink } from \"./../charts/flow/ChordLink\";\nimport type { ChordLinkDirected } from \"./../charts/flow/ChordLinkDirected\";\nimport type { ChordNodes } from \"./../charts/flow/ChordNodes\";\nimport type { ChordNonRibbon } from \"./../charts/flow/ChordNonRibbon\";\nimport type { Circle } from \"./render/Circle\";\nimport type { Ellipse } from \"./render/Ellipse\";\nimport type { CirclePattern } from \"./render/patterns/CirclePattern\";\nimport type { ClockHand } from \"./../charts/radar/ClockHand\";\nimport type { ColorSet } from \"./util/ColorSet\";\nimport type { ColumnSeries } from \"./../charts/xy/series/ColumnSeries\";\nimport type { Component } from \"./render/Component\";\nimport type { Container } from \"./render/Container\";\nimport type { DateAxis } from \"./../charts/xy/axes/DateAxis\";\nimport type { DurationAxis } from \"./../charts/xy/axes/DurationAxis\";\nimport type { Entity } from \"./util/Entity\";\nimport type { Exporting } from \"./../plugins/exporting/Exporting\";\nimport type { ExportingMenu } from \"./../plugins/exporting/ExportingMenu\";\nimport type { Flow } from \"./../charts/flow/Flow\";\nimport type { FlowLink } from \"./../charts/flow/FlowLink\";\nimport type { FlowNode } from \"./../charts/flow/FlowNode\";\nimport type { FlowNodes } from \"./../charts/flow/FlowNodes\";\nimport type { ForceDirected } from \"./../charts/hierarchy/ForceDirected\";\nimport type { FunnelSeries } from \"./../charts/funnel/FunnelSeries\";\nimport type { FunnelSlice } from \"./../charts/funnel/FunnelSlice\";\nimport type { Gradient } from \"./render/gradients/Gradient\";\nimport type { Graphics } from \"./render/Graphics\";\nimport type { GraticuleSeries } from \"./../charts/map/GraticuleSeries\";\nimport type { Grid } from \"./../charts/xy/axes/Grid\";\nimport type { GridLayout } from \"./render/GridLayout\";\nimport type { HeatLegend } from \"./render/HeatLegend\";\nimport type { Hierarchy } from \"./../charts/hierarchy/Hierarchy\";\nimport type { HierarchyLink } from \"./../charts/hierarchy/HierarchyLink\";\nimport type { HierarchyNode } from \"./../charts/hierarchy/HierarchyNode\";\nimport type { HorizontalLayout } from \"./render/HorizontalLayout\";\nimport type { InterfaceColors } from \"./util/InterfaceColors\";\nimport type { Label } from \"./render/Label\";\nimport type { Layout } from \"./render/Layout\";\nimport type { Legend } from \"./render/Legend\";\nimport type { Line } from \"./render/Line\";\nimport type { LinePattern } from \"./render/patterns/LinePattern\";\nimport type { LineSeries } from \"./../charts/xy/series/LineSeries\";\nimport type { LinearGradient } from \"./render/gradients/LinearGradient\";\nimport type { LinkedHierarchy } from \"./../charts/hierarchy/LinkedHierarchy\";\nimport type { LinkedHierarchyNode } from \"./../charts/hierarchy/LinkedHierarchyNode\";\nimport type { MapChart } from \"./../charts/map/MapChart\";\nimport type { MapLine } from \"./../charts/map/MapLine\";\nimport type { MapLineSeries } from \"./../charts/map/MapLineSeries\";\nimport type { MapPointSeries } from \"./../charts/map/MapPointSeries\";\nimport type { MapPolygon } from \"./../charts/map/MapPolygon\";\nimport type { MapPolygonSeries } from \"./../charts/map/MapPolygonSeries\";\nimport type { MapSeries } from \"./../charts/map/MapSeries\";\nimport type { OHLC } from \"./../charts/xy/series/OHLC\";\nimport type { OHLCSeries } from \"./../charts/xy/series/OHLCSeries\";\nimport type { Pack } from \"./../charts/hierarchy/Pack\";\nimport type { Partition } from \"./../charts/hierarchy/Partition\";\nimport type { Pattern } from \"./render/patterns/Pattern\";\nimport type { PercentChart } from \"./../charts/percent/PercentChart\";\nimport type { PercentSeries } from \"./../charts/percent/PercentSeries\";\nimport type { PictorialStackedSeries } from \"./../charts/funnel/PictorialStackedSeries\";\nimport type { Picture } from \"./render/Picture\";\nimport type { PieChart } from \"./../charts/pie/PieChart\";\nimport type { PieSeries } from \"./../charts/pie/PieSeries\";\nimport type { PointedRectangle } from \"./render/PointedRectangle\";\nimport type { PyramidSeries } from \"./../charts/funnel/PyramidSeries\";\nimport type { RadarChart } from \"./../charts/radar/RadarChart\";\nimport type { RadarColumnSeries } from \"./../charts/radar/RadarColumnSeries\";\nimport type { RadarCursor } from \"./../charts/radar/RadarCursor\";\nimport type { RadarLineSeries } from \"./../charts/radar/RadarLineSeries\";\nimport type { RadialGradient } from \"./render/gradients/RadialGradient\";\nimport type { RadialLabel } from \"./render/RadialLabel\";\nimport type { RadialText } from \"./render/RadialText\";\nimport type { Rectangle } from \"./render/Rectangle\";\nimport type { Triangle } from \"./render/Triangle\";\nimport type { RectanglePattern } from \"./render/patterns/RectanglePattern\";\nimport type { RoundedRectangle } from \"./render/RoundedRectangle\";\nimport type { Sankey } from \"./../charts/flow/Sankey\";\nimport type { SankeyLink } from \"./../charts/flow/SankeyLink\";\nimport type { SankeyNodes } from \"./../charts/flow/SankeyNodes\";\nimport type { Scrollbar } from \"./render/Scrollbar\";\nimport type { SerialChart } from \"./render/SerialChart\";\nimport type { Series } from \"./render/Series\";\nimport type { Slice } from \"./render/Slice\";\nimport type { SlicedChart } from \"./../charts/funnel/SlicedChart\";\nimport type { Slider } from \"./render/Slider\";\nimport type { SmoothedRadarLineSeries } from \"./../charts/radar/SmoothedRadarLineSeries\";\nimport type { SmoothedXLineSeries } from \"./../charts/xy/series/SmoothedXLineSeries\";\nimport type { SmoothedXYLineSeries } from \"./../charts/xy/series/SmoothedXYLineSeries\";\nimport type { SmoothedYLineSeries } from \"./../charts/xy/series/SmoothedYLineSeries\";\nimport type { Sprite } from \"./render/Sprite\";\nimport type { Star } from \"./render/Star\";\nimport type { StepLineSeries } from \"./../charts/xy/series/StepLineSeries\";\nimport type { Sunburst } from \"./../charts/hierarchy/Sunburst\";\nimport type { Text } from \"./render/Text\";\nimport type { Tick } from \"./render/Tick\";\nimport type { Tooltip } from \"./render/Tooltip\";\nimport type { Tree } from \"./../charts/hierarchy/Tree\";\nimport type { Treemap } from \"./../charts/hierarchy/Treemap\";\nimport type { ValueAxis } from \"./../charts/xy/axes/ValueAxis\";\nimport type { VerticalLayout } from \"./render/VerticalLayout\";\nimport type { XYChart } from \"./../charts/xy/XYChart\";\nimport type { XYChartScrollbar } from \"./../charts/xy/XYChartScrollbar\";\nimport type { XYCursor } from \"./../charts/xy/XYCursor\";\nimport type { XYSeries } from \"./../charts/xy/series/XYSeries\";\nimport type { Venn } from \"./../charts/venn/Venn\";\nimport type { WordCloud } from \"./../charts/wordcloud/WordCloud\";\nimport type { ZoomControl } from \"./../charts/map/ZoomControl\";\n\nexport interface IClasses {\n\t\"Axis\": Axis<AxisRenderer>;\n\t\"AxisBullet\": AxisBullet;\n\t\"AxisLabel\": AxisLabel;\n\t\"AxisLabelRadial\": AxisLabelRadial;\n\t\"AxisRenderer\": AxisRenderer;\n\t\"AxisRendererCircular\": AxisRendererCircular;\n\t\"AxisRendererRadial\": AxisRendererRadial;\n\t\"AxisRendererX\": AxisRendererX;\n\t\"AxisRendererY\": AxisRendererY;\n\t\"AxisTick\": AxisTick;\n\t\"BaseColumnSeries\": BaseColumnSeries;\n\t\"BreadcrumbBar\": BreadcrumbBar;\n\t\"Bullet\": Bullet;\n\t\"Button\": Button;\n\t\"Candlestick\": Candlestick;\n\t\"CandlestickSeries\": CandlestickSeries;\n\t\"CategoryAxis\": CategoryAxis<AxisRenderer>;\n\t\"CategoryDateAxis\": CategoryDateAxis<AxisRenderer>;\n\t\"Chart\": Chart;\n\t\"Chord\": Chord;\n\t\"ChordDirected\": ChordDirected;\n\t\"ChordLink\": ChordLink;\n\t\"ChordLinkDirected\": ChordLinkDirected;\n\t\"ChordNodes\": ChordNodes;\n\t\"ChordNonRibbon\": ChordNonRibbon;\n\t\"Circle\": Circle;\n\t\"CirclePattern\": CirclePattern;\n\t\"ClockHand\": ClockHand;\n\t\"ColorSet\": ColorSet;\n\t\"ColumnSeries\": ColumnSeries;\n\t\"Component\": Component;\n\t\"Container\": Container;\n\t\"DateAxis\": DateAxis<AxisRenderer>;\n\t\"DurationAxis\": DurationAxis<AxisRenderer>;\n\t\"Ellipse\": Ellipse;\n\t\"Entity\": Entity;\n\t\"Exporting\": Exporting;\n\t\"ExportingMenu\": ExportingMenu;\n\t\"Flow\": Flow;\n\t\"FlowLink\": FlowLink;\n\t\"FlowNode\": FlowNode;\n\t\"FlowNodes\": FlowNodes;\n\t\"ForceDirected\": ForceDirected;\n\t\"FunnelSeries\": FunnelSeries;\n\t\"FunnelSlice\": FunnelSlice;\n\t\"Gradient\": Gradient;\n\t\"Graphics\": Graphics;\n\t\"GraticuleSeries\": GraticuleSeries;\n\t\"Grid\": Grid;\n\t\"GridLayout\": GridLayout;\n\t\"HeatLegend\": HeatLegend;\n\t\"Hierarchy\": Hierarchy;\n\t\"HierarchyLink\": HierarchyLink;\n\t\"HierarchyNode\": HierarchyNode;\n\t\"HorizontalLayout\": HorizontalLayout;\n\t\"InterfaceColors\": InterfaceColors;\n\t\"Label\": Label;\n\t\"Layout\": Layout;\n\t\"Legend\": Legend;\n\t\"Line\": Line;\n\t\"LinePattern\": LinePattern;\n\t\"LineSeries\": LineSeries;\n\t\"LinearGradient\": LinearGradient;\n\t\"LinkedHierarchy\": LinkedHierarchy;\n\t\"LinkedHierarchyNode\": LinkedHierarchyNode;\n\t\"MapChart\": MapChart;\n\t\"MapLine\": MapLine;\n\t\"MapLineSeries\": MapLineSeries;\n\t\"MapPointSeries\": MapPointSeries;\n\t\"MapPolygon\": MapPolygon;\n\t\"MapPolygonSeries\": MapPolygonSeries;\n\t\"MapSeries\": MapSeries;\n\t\"OHLC\": OHLC;\n\t\"OHLCSeries\": OHLCSeries;\n\t\"Pack\": Pack;\n\t\"Partition\": Partition;\n\t\"Pattern\": Pattern;\n\t\"PercentChart\": PercentChart;\n\t\"PercentSeries\": PercentSeries;\n\t\"PictorialStackedSeries\": PictorialStackedSeries;\n\t\"Picture\": Picture;\n\t\"PieChart\": PieChart;\n\t\"PieSeries\": PieSeries;\n\t\"PointedRectangle\": PointedRectangle;\n\t\"PyramidSeries\": PyramidSeries;\n\t\"RadarChart\": RadarChart;\n\t\"RadarColumnSeries\": RadarColumnSeries;\n\t\"RadarCursor\": RadarCursor;\n\t\"RadarLineSeries\": RadarLineSeries;\n\t\"RadialGradient\": RadialGradient;\n\t\"RadialLabel\": RadialLabel;\n\t\"RadialText\": RadialText;\n\t\"Rectangle\": Rectangle;\n\t\"Triangle\": Triangle;\n\t\"RectanglePattern\": RectanglePattern;\n\t\"RoundedRectangle\": RoundedRectangle;\n\t\"Sankey\": Sankey;\n\t\"SankeyLink\": SankeyLink;\n\t\"SankeyNodes\": SankeyNodes;\n\t\"Scrollbar\": Scrollbar;\n\t\"SerialChart\": SerialChart;\n\t\"Series\": Series;\n\t\"Slice\": Slice;\n\t\"SlicedChart\": SlicedChart;\n\t\"Slider\": Slider;\n\t\"SmoothedRadarLineSeries\": SmoothedRadarLineSeries;\n\t\"SmoothedXLineSeries\": SmoothedXLineSeries;\n\t\"SmoothedXYLineSeries\": SmoothedXYLineSeries;\n\t\"SmoothedYLineSeries\": SmoothedYLineSeries;\n\t\"Sprite\": Sprite;\n\t\"Star\": Star;\n\t\"StepLineSeries\": StepLineSeries;\n\t\"Sunburst\": Sunburst;\n\t\"Text\": Text;\n\t\"Tick\": Tick;\n\t\"Tooltip\": Tooltip;\n\t\"Tree\": Tree;\n\t\"Treemap\": Treemap;\n\t\"ValueAxis\": ValueAxis<AxisRenderer>;\n\t\"VerticalLayout\": VerticalLayout;\n\t\"XYChart\": XYChart;\n\t\"XYChartScrollbar\": XYChartScrollbar;\n\t\"XYCursor\": XYCursor;\n\t\"XYSeries\": XYSeries;\n\t\"Venn\": Venn;\n\t\"WordCloud\": WordCloud;\n\t\"ZoomControl\": ZoomControl;\n}\n"]}
|
|
@@ -159,7 +159,12 @@ export declare abstract class Component extends Container {
|
|
|
159
159
|
_clearDirty(): void;
|
|
160
160
|
protected _afterDataChange(): void;
|
|
161
161
|
_afterChanged(): void;
|
|
162
|
-
|
|
162
|
+
/**
|
|
163
|
+
* Forces a repaint of the element which relies on data.
|
|
164
|
+
*
|
|
165
|
+
* @since 5.0.21
|
|
166
|
+
*/
|
|
167
|
+
markDirtyValues(_dataItem?: DataItem<this["_dataItemSettings"]>): void;
|
|
163
168
|
_markDirtyGroup(): void;
|
|
164
169
|
/**
|
|
165
170
|
* @ignore
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../../../src/.internal/core/render/Component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACjG,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC;;GAEG;AACH,qBAAa,QAAQ,CAAC,CAAC,SAAS,kBAAkB,CAAE,SAAQ,QAAQ;IAC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,mBAAmB,CAAC,CAAC;IAK/D,eAAe;IAItB;;OAEG;IACI,aAAa;CAKpB"}
|
|
@@ -70,7 +70,7 @@ var DataItem = /** @class */ (function (_super) {
|
|
|
70
70
|
configurable: true,
|
|
71
71
|
writable: true,
|
|
72
72
|
value: function () {
|
|
73
|
-
this.component.
|
|
73
|
+
this.component.markDirtyValues(this);
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(DataItem.prototype, "_startAnimation", {
|
|
@@ -276,7 +276,7 @@ var Component = /** @class */ (function (_super) {
|
|
|
276
276
|
this._updateFields();
|
|
277
277
|
this._disposers.push(this.data.events.onAll(function (change) {
|
|
278
278
|
var dataItems = _this._mainDataItems;
|
|
279
|
-
_this.
|
|
279
|
+
_this.markDirtyValues();
|
|
280
280
|
_this._markDirtyGroup();
|
|
281
281
|
_this._dataChanged = true;
|
|
282
282
|
if (change.type === "clear") {
|
|
@@ -505,7 +505,12 @@ var Component = /** @class */ (function (_super) {
|
|
|
505
505
|
this.inited = true;
|
|
506
506
|
}
|
|
507
507
|
});
|
|
508
|
-
|
|
508
|
+
/**
|
|
509
|
+
* Forces a repaint of the element which relies on data.
|
|
510
|
+
*
|
|
511
|
+
* @since 5.0.21
|
|
512
|
+
*/
|
|
513
|
+
Object.defineProperty(Component.prototype, "markDirtyValues", {
|
|
509
514
|
enumerable: false,
|
|
510
515
|
configurable: true,
|
|
511
516
|
writable: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Component.js","sourceRoot":"","sources":["../../../../../src/.internal/core/render/Component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAA2D,MAAM,aAAa,CAAC;AACjG,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC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;;;eAAkC,WAAW;OAAC;IAC9C;;;;eAA0C,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;OAAC;IA0Q9F,gBAAC;CAAA,AA5QD,CAAwC,SAAS,GA4QhD;SA5QqB,SAAS","sourcesContent":["import { Settings } from \"../util/Entity\";\nimport { Container, IContainerSettings, IContainerPrivate, IContainerEvents } from \"./Container\";\nimport { ListData } from \"../util/Data\";\nimport * as $array from \"../util/Array\";\nimport * as $object from \"../util/Object\";\nimport type * as $ease from \"../util/Ease\";\nimport type { Bullet } from \"./Bullet\";\n\n/**\n * A base element that holds data bit (data item) for any [[Component]].\n */\nexport class DataItem<P extends IComponentDataItem> extends Settings {\n\tdeclare public _settings: P;\n\n\t/**\n\t * A data item's owener [[Component]].\n\t */\n\tpublic component: Component;\n\n\t/**\n\t * A reference to actual item in source data this item is based on.\n\t */\n\tpublic dataContext: unknown;\n\n\t/**\n\t * @todo requires description\n\t */\n\tpublic bullets: Array<Bullet> | undefined;\n\n\t/**\n\t * A set of \"open\" values.\n\t */\n\tpublic open: { [index: string]: any } | undefined;\n\n\t/**\n\t * A set of \"close\" values.\n\t */\n\tpublic close: { [index: string]: any } | undefined;\n\n\tconstructor(component: Component, dataContext: unknown, settings: P) {\n\t\tsuper(settings);\n\n\t\tthis.dataContext = dataContext;\n\t\tthis.component = component;\n\t\tthis._settings.visible = true;\n\t\tthis._checkDirty();\n\t}\n\n\t/**\n\t * @ignore\n\t */\n\tpublic markDirty(): void {\n\t\tthis.component._markDirtyValues(this);\n\t}\n\n\tprotected _startAnimation(): void {\n\t\tthis.component._root._addAnimation(this);\n\t}\n\n\tprotected _animationTime(): number | null {\n\t\treturn this.component._root.animationTime;\n\t}\n\n\tprotected _dispose() {\n\t\tif (this.component) {\n\t\t\tthis.component.disposeDataItem(this);\n\t\t}\n\t\tsuper._dispose();\n\t}\n\n\t/**\n\t * Shows a data item that's currently hidden.\n\t */\n\tpublic show(duration?: number) {\n\t\tthis.setRaw(\"visible\", true);\n\t\tif (this.component) {\n\t\t\tthis.component.showDataItem(this, duration);\n\t\t}\n\t}\n\n\t/**\n\t * Hides a data item that's currently visible.\n\t */\n\tpublic hide(duration?: number) {\n\t\tthis.setRaw(\"visible\", false);\n\t\tif (this.component) {\n\t\t\tthis.component.hideDataItem(this, duration);\n\t\t}\n\t}\n\n\tpublic isHidden() {\n\t\treturn !this.get(\"visible\");\n\t}\n}\n\n\nexport interface IComponentDataItem {\n\tvisible?: boolean;\n}\n\nexport interface IComponentSettings extends IContainerSettings {\n\n\t/**\n\t * A duration of the animation from one setting value to another, in\n\t * milliseconds.\n\t *\n\t * @see {@link https://www.amcharts.com/docs/v5/concepts/animations/#Animating_data_values} for more info\n\t */\n\tinterpolationDuration?: number;\n\n\t/**\n\t * Easing function to use for cross setting value animations.\n\t *\n\t * @see {@link https://www.amcharts.com/docs/v5/concepts/animations/#Easing_functions} for more info\n\t */\n\tinterpolationEasing?: $ease.Easing;\n\n}\n\nexport interface IComponentPrivate extends IContainerPrivate {\n}\n\nexport interface IComponentEvents extends IContainerEvents {\n\tdatavalidated: {}\n}\n\n/**\n * A base class for elements that make use of data.\n */\nexport abstract class Component extends Container {\n\tpublic static className: string = \"Component\";\n\tpublic static classNames: Array<string> = Container.classNames.concat([Component.className]);\n\n\tdeclare public _settings: IComponentSettings;\n\tdeclare public _privateSettings: IComponentPrivate;\n\tdeclare public _dataItemSettings: IComponentDataItem;\n\tdeclare public _events: IComponentEvents;\n\n\tprotected _data: ListData<unknown> = new ListData();\n\n\tprotected _dataItems: Array<DataItem<this[\"_dataItemSettings\"]>> = [];\n\n\tpublic _mainDataItems = this._dataItems;\n\n\tprotected valueFields: Array<string> = [];\n\tprotected fields: Array<string> = [\"id\"];\n\n\tprotected _valueFields!: Array<string>;\n\tprotected _valueFieldsF!: { [index: string]: { fieldKey: string, workingKey: string } };\n\n\tprotected _fields!: Array<string>;\n\tprotected _fieldsF!: { [index: string]: string };\n\n\tpublic _valuesDirty: boolean = false;\n\n\tprotected _dataChanged: boolean = false;\n\n\tprotected _dataGrouped = false;\n\n\t/**\n\t * Indicates if the component has already been initialized.\n\t */\n\tpublic inited: boolean = false;\n\n\t/**\n\t * Component's data.\n\t *\n\t * @see {@link https://www.amcharts.com/docs/v5/concepts/data/} for more info\n\t */\n\tpublic set data(data: ListData<unknown>) {\n\t\tdata.incrementRef();\n\t\tthis._data.decrementRef();\n\t\tthis._data = data;\n\t}\n\n\t/**\n\t * @return Data\n\t */\n\tpublic get data(): ListData<unknown> {\n\t\treturn this._data;\n\t}\n\n\tprotected _dispose() {\n\t\tsuper._dispose();\n\t\tthis._data.decrementRef();\n\t}\n\n\tprotected _onDataClear() {\n\n\t}\n\n\tprotected _afterNew() {\n\t\tsuper._afterNew();\n\n\t\tthis._data.incrementRef();\n\t\tthis._updateFields();\n\n\t\tthis._disposers.push(this.data.events.onAll((change) => {\n\t\t\tconst dataItems = this._mainDataItems;\n\t\t\tthis._markDirtyValues();\n\t\t\tthis._markDirtyGroup();\n\t\t\tthis._dataChanged = true;\n\t\t\tif (change.type === \"clear\") {\n\t\t\t\t$array.each(dataItems, (dataItem) => {\n\t\t\t\t\tdataItem.dispose();\n\t\t\t\t});\n\n\t\t\t\tdataItems.length = 0;\n\t\t\t\tthis._onDataClear();\n\t\t\t} else if (change.type === \"push\") {\n\t\t\t\tconst dataItem = new DataItem(this, change.newValue, this._makeDataItem(change.newValue));\n\t\t\t\tdataItems.push(dataItem);\n\t\t\t\tthis.processDataItem(dataItem);\n\n\t\t\t} else if (change.type === \"setIndex\") {\n\t\t\t\tconst dataItem = dataItems[change.index];\n\t\t\t\tconst properties = this._makeDataItem(change.newValue);\n\n\t\t\t\t$object.keys(properties).forEach((key) => {\n\t\t\t\t\tdataItem.animate({\n\t\t\t\t\t\tkey: key,\n\t\t\t\t\t\tto: properties[key],\n\t\t\t\t\t\tduration: this.get(\"interpolationDuration\", 0),\n\t\t\t\t\t\teasing: this.get(\"interpolationEasing\"),\n\t\t\t\t\t});\n\t\t\t\t});\n\n\t\t\t\tdataItem.dataContext = change.newValue;\n\n\t\t\t} else if (change.type === \"insertIndex\") {\n\t\t\t\tconst dataItem = new DataItem(this, change.newValue, this._makeDataItem(change.newValue));\n\t\t\t\tdataItems.splice(change.index, 0, dataItem);\n\t\t\t\tthis.processDataItem(dataItem);\n\n\t\t\t} else if (change.type === \"removeIndex\") {\n\t\t\t\tconst dataItem = dataItems[change.index];\n\t\t\t\tdataItem.dispose();\n\t\t\t\tdataItems.splice(change.index, 1);\n\n\t\t\t} else if (change.type === \"moveIndex\") {\n\t\t\t\tconst dataItem = dataItems[change.oldIndex];\n\t\t\t\tdataItems.splice(change.oldIndex, 1);\n\t\t\t\tdataItems.splice(change.newIndex, 0, dataItem);\n\n\t\t\t} else {\n\t\t\t\tthrow new Error(\"Unknown IStreamEvent type\");\n\t\t\t}\n\n\t\t\tthis._afterDataChange();\n\t\t}));\n\t}\n\n\tprotected _updateFields() {\n\t\tif (this.valueFields) {\n\t\t\tthis._valueFields = [];\n\t\t\tthis._valueFieldsF = {};\n\n\t\t\t$array.each(this.valueFields as Array<keyof this[\"_settings\"]>, (key) => {\n\t\t\t\tconst field = this.get(<any>(key + \"Field\"));\n\t\t\t\tif (field) {\n\t\t\t\t\tthis._valueFields.push(<any>key);\n\t\t\t\t\tthis._valueFieldsF[key as string] = { fieldKey: key + \"Field\", workingKey: key + \"Working\" };\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\tif (this.fields) {\n\t\t\tthis._fields = [];\n\t\t\tthis._fieldsF = {};\n\n\t\t\t$array.each(this.fields as Array<keyof this[\"_settings\"]>, (key) => {\n\t\t\t\tconst field = this.get(<any>(key + \"Field\"));\n\t\t\t\tif (field) {\n\t\t\t\t\tthis._fields.push(<any>key);\n\t\t\t\t\tthis._fieldsF[key as string] = key + \"Field\";\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\t/**\n\t * A list of component's data items.\n\t *\n\t * @return Data items\n\t */\n\tpublic get dataItems(): Array<DataItem<this[\"_dataItemSettings\"]>> {\n\t\treturn this._dataItems;\n\t}\n\n\tprotected processDataItem(_dataItem: DataItem<this[\"_dataItemSettings\"]>) { }\n\n\n\tpublic _makeDataItem(data: unknown): this[\"_dataItemSettings\"] {\n\t\t//const output: this[\"_dataItemSettings\"] = {};\n\t\tconst output: any = {}; // temporary to solve error\n\t\tif (this._valueFields) {\n\t\t\t$array.each(this._valueFields, (key) => {\n\t\t\t\tconst field = this.get(<any>(this._valueFieldsF[key].fieldKey));\n\t\t\t\toutput[key] = (data as any)[field];\n\n\t\t\t\toutput[this._valueFieldsF[key].workingKey] = output[key];\n\t\t\t});\n\t\t}\n\t\tif (this._fields) {\n\t\t\t$array.each(this._fields, (key) => {\n\t\t\t\tconst field = this.get(<any>(this._fieldsF[key]));\n\t\t\t\toutput[key] = (data as any)[field];\n\t\t\t});\n\t\t}\n\n\t\treturn output;\n\t}\n\n\t/**\n\t * @ignore\n\t */\n\tpublic makeDataItem(data: this[\"_dataItemSettings\"]): DataItem<this[\"_dataItemSettings\"]> {\n\t\tlet dataItem = new DataItem(this, undefined, data);\n\t\tthis.processDataItem(dataItem);\n\t\treturn dataItem;\n\t}\n\n\t/**\n\t * @ignore\n\t */\n\tpublic pushDataItem(data: this[\"_dataItemSettings\"]): DataItem<this[\"_dataItemSettings\"]> {\n\t\tconst dataItem = this.makeDataItem(data);\n\t\tthis._mainDataItems.push(dataItem);\n\t\treturn dataItem;\n\t}\n\n\t/**\n\t * @ignore\n\t */\n\tpublic disposeDataItem(_dataItem: DataItem<this[\"_dataItemSettings\"]>) { }\n\n\t/**\n\t * Shows component's data item.\n\t *\n\t * @param dataItem Data item\n\t * @param _duration Animation duration in milliseconds\n\t * @return Promise\n\t */\n\tpublic async showDataItem(dataItem: DataItem<this[\"_dataItemSettings\"]>, _duration?: number): Promise<void> {\n\t\tdataItem.set(\"visible\", true);\n\t}\n\n\t/**\n\t * Hides component's data item.\n\t *\n\t * @param dataItem Data item\n\t * @param _duration Animation duration in milliseconds\n\t * @return Promise\n\t */\n\tpublic async hideDataItem(dataItem: DataItem<this[\"_dataItemSettings\"]>, _duration?: number): Promise<void> {\n\t\tdataItem.set(\"visible\", false);\n\t}\n\n\tpublic _clearDirty() {\n\t\tsuper._clearDirty();\n\t\tthis._valuesDirty = false;\n\t}\n\n\tprotected _afterDataChange() {\n\n\t}\n\n\tpublic _afterChanged() {\n\t\tsuper._afterChanged();\n\t\tif (this._dataChanged) {\n\t\t\tconst type = \"datavalidated\";\n\t\t\tif (this.events.isEnabled(type)) {\n\t\t\t\tthis.events.dispatch(type, { type: type, target: this });\n\t\t\t\tthis._dataChanged = false;\n\t\t\t}\n\t\t}\n\n\t\tthis.inited = true;\n\t}\n\n\tpublic _markDirtyValues(_dataItem?: DataItem<this[\"_dataItemSettings\"]>) {\n\t\tthis.markDirty();\n\t\tthis._valuesDirty = true;\n\t}\n\n\tpublic _markDirtyGroup() {\n\t\tthis._dataGrouped = false;\n\t}\n\n\t/**\n\t * @ignore\n\t */\n\tpublic markDirtySize() {\n\t\tthis._sizeDirty = true;\n\t\tthis.markDirty();\n\t}\n\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Component.js","sourceRoot":"","sources":["../../../../../src/.internal/core/render/Component.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAA2D,MAAM,aAAa,CAAC;AACjG,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAI1C;;GAEG;AACH;IAA4D,4BAAQ;IA4BnE,kBAAY,SAAoB,EAAE,WAAoB,EAAE,QAAW;QAAnE,YACC,kBAAM,QAAQ,CAAC,SAMf;QAhCD;;WAEG;QACH;;;;;WAA4B;QAE5B;;WAEG;Q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AS,GAiRhD;SAjRqB,SAAS","sourcesContent":["import { Settings } from \"../util/Entity\";\nimport { Container, IContainerSettings, IContainerPrivate, IContainerEvents } from \"./Container\";\nimport { ListData } from \"../util/Data\";\nimport * as $array from \"../util/Array\";\nimport * as $object from \"../util/Object\";\nimport type * as $ease from \"../util/Ease\";\nimport type { Bullet } from \"./Bullet\";\n\n/**\n * A base element that holds data bit (data item) for any [[Component]].\n */\nexport class DataItem<P extends IComponentDataItem> extends Settings {\n\tdeclare public _settings: P;\n\n\t/**\n\t * A data item's owener [[Component]].\n\t */\n\tpublic component: Component;\n\n\t/**\n\t * A reference to actual item in source data this item is based on.\n\t */\n\tpublic dataContext: unknown;\n\n\t/**\n\t * @todo requires description\n\t */\n\tpublic bullets: Array<Bullet> | undefined;\n\n\t/**\n\t * A set of \"open\" values.\n\t */\n\tpublic open: { [index: string]: any } | undefined;\n\n\t/**\n\t * A set of \"close\" values.\n\t */\n\tpublic close: { [index: string]: any } | undefined;\n\n\tconstructor(component: Component, dataContext: unknown, settings: P) {\n\t\tsuper(settings);\n\n\t\tthis.dataContext = dataContext;\n\t\tthis.component = component;\n\t\tthis._settings.visible = true;\n\t\tthis._checkDirty();\n\t}\n\n\t/**\n\t * @ignore\n\t */\n\tpublic markDirty(): void {\n\t\tthis.component.markDirtyValues(this);\n\t}\n\n\tprotected _startAnimation(): void {\n\t\tthis.component._root._addAnimation(this);\n\t}\n\n\tprotected _animationTime(): number | null {\n\t\treturn this.component._root.animationTime;\n\t}\n\n\tprotected _dispose() {\n\t\tif (this.component) {\n\t\t\tthis.component.disposeDataItem(this);\n\t\t}\n\t\tsuper._dispose();\n\t}\n\n\t/**\n\t * Shows a data item that's currently hidden.\n\t */\n\tpublic show(duration?: number) {\n\t\tthis.setRaw(\"visible\", true);\n\t\tif (this.component) {\n\t\t\tthis.component.showDataItem(this, duration);\n\t\t}\n\t}\n\n\t/**\n\t * Hides a data item that's currently visible.\n\t */\n\tpublic hide(duration?: number) {\n\t\tthis.setRaw(\"visible\", false);\n\t\tif (this.component) {\n\t\t\tthis.component.hideDataItem(this, duration);\n\t\t}\n\t}\n\n\tpublic isHidden() {\n\t\treturn !this.get(\"visible\");\n\t}\n}\n\n\nexport interface IComponentDataItem {\n\tvisible?: boolean;\n}\n\nexport interface IComponentSettings extends IContainerSettings {\n\n\t/**\n\t * A duration of the animation from one setting value to another, in\n\t * milliseconds.\n\t *\n\t * @see {@link https://www.amcharts.com/docs/v5/concepts/animations/#Animating_data_values} for more info\n\t */\n\tinterpolationDuration?: number;\n\n\t/**\n\t * Easing function to use for cross setting value animations.\n\t *\n\t * @see {@link https://www.amcharts.com/docs/v5/concepts/animations/#Easing_functions} for more info\n\t */\n\tinterpolationEasing?: $ease.Easing;\n\n}\n\nexport interface IComponentPrivate extends IContainerPrivate {\n}\n\nexport interface IComponentEvents extends IContainerEvents {\n\tdatavalidated: {}\n}\n\n/**\n * A base class for elements that make use of data.\n */\nexport abstract class Component extends Container {\n\tpublic static className: string = \"Component\";\n\tpublic static classNames: Array<string> = Container.classNames.concat([Component.className]);\n\n\tdeclare public _settings: IComponentSettings;\n\tdeclare public _privateSettings: IComponentPrivate;\n\tdeclare public _dataItemSettings: IComponentDataItem;\n\tdeclare public _events: IComponentEvents;\n\n\tprotected _data: ListData<unknown> = new ListData();\n\n\tprotected _dataItems: Array<DataItem<this[\"_dataItemSettings\"]>> = [];\n\n\tpublic _mainDataItems = this._dataItems;\n\n\tprotected valueFields: Array<string> = [];\n\tprotected fields: Array<string> = [\"id\"];\n\n\tprotected _valueFields!: Array<string>;\n\tprotected _valueFieldsF!: { [index: string]: { fieldKey: string, workingKey: string } };\n\n\tprotected _fields!: Array<string>;\n\tprotected _fieldsF!: { [index: string]: string };\n\n\tpublic _valuesDirty: boolean = false;\n\n\tprotected _dataChanged: boolean = false;\n\n\tprotected _dataGrouped = false;\n\n\t/**\n\t * Indicates if the component has already been initialized.\n\t */\n\tpublic inited: boolean = false;\n\n\t/**\n\t * Component's data.\n\t *\n\t * @see {@link https://www.amcharts.com/docs/v5/concepts/data/} for more info\n\t */\n\tpublic set data(data: ListData<unknown>) {\n\t\tdata.incrementRef();\n\t\tthis._data.decrementRef();\n\t\tthis._data = data;\n\t}\n\n\t/**\n\t * @return Data\n\t */\n\tpublic get data(): ListData<unknown> {\n\t\treturn this._data;\n\t}\n\n\tprotected _dispose() {\n\t\tsuper._dispose();\n\t\tthis._data.decrementRef();\n\t}\n\n\tprotected _onDataClear() {\n\n\t}\n\n\tprotected _afterNew() {\n\t\tsuper._afterNew();\n\n\t\tthis._data.incrementRef();\n\t\tthis._updateFields();\n\n\t\tthis._disposers.push(this.data.events.onAll((change) => {\n\t\t\tconst dataItems = this._mainDataItems;\n\t\t\tthis.markDirtyValues();\n\t\t\tthis._markDirtyGroup();\n\t\t\tthis._dataChanged = true;\n\t\t\tif (change.type === \"clear\") {\n\t\t\t\t$array.each(dataItems, (dataItem) => {\n\t\t\t\t\tdataItem.dispose();\n\t\t\t\t});\n\n\t\t\t\tdataItems.length = 0;\n\t\t\t\tthis._onDataClear();\n\t\t\t} else if (change.type === \"push\") {\n\t\t\t\tconst dataItem = new DataItem(this, change.newValue, this._makeDataItem(change.newValue));\n\t\t\t\tdataItems.push(dataItem);\n\t\t\t\tthis.processDataItem(dataItem);\n\n\t\t\t} else if (change.type === \"setIndex\") {\n\t\t\t\tconst dataItem = dataItems[change.index];\n\t\t\t\tconst properties = this._makeDataItem(change.newValue);\n\n\t\t\t\t$object.keys(properties).forEach((key) => {\n\t\t\t\t\tdataItem.animate({\n\t\t\t\t\t\tkey: key,\n\t\t\t\t\t\tto: properties[key],\n\t\t\t\t\t\tduration: this.get(\"interpolationDuration\", 0),\n\t\t\t\t\t\teasing: this.get(\"interpolationEasing\"),\n\t\t\t\t\t});\n\t\t\t\t});\n\n\t\t\t\tdataItem.dataContext = change.newValue;\n\n\t\t\t} else if (change.type === \"insertIndex\") {\n\t\t\t\tconst dataItem = new DataItem(this, change.newValue, this._makeDataItem(change.newValue));\n\t\t\t\tdataItems.splice(change.index, 0, dataItem);\n\t\t\t\tthis.processDataItem(dataItem);\n\n\t\t\t} else if (change.type === \"removeIndex\") {\n\t\t\t\tconst dataItem = dataItems[change.index];\n\t\t\t\tdataItem.dispose();\n\t\t\t\tdataItems.splice(change.index, 1);\n\n\t\t\t} else if (change.type === \"moveIndex\") {\n\t\t\t\tconst dataItem = dataItems[change.oldIndex];\n\t\t\t\tdataItems.splice(change.oldIndex, 1);\n\t\t\t\tdataItems.splice(change.newIndex, 0, dataItem);\n\n\t\t\t} else {\n\t\t\t\tthrow new Error(\"Unknown IStreamEvent type\");\n\t\t\t}\n\n\t\t\tthis._afterDataChange();\n\t\t}));\n\t}\n\n\tprotected _updateFields() {\n\t\tif (this.valueFields) {\n\t\t\tthis._valueFields = [];\n\t\t\tthis._valueFieldsF = {};\n\n\t\t\t$array.each(this.valueFields as Array<keyof this[\"_settings\"]>, (key) => {\n\t\t\t\tconst field = this.get(<any>(key + \"Field\"));\n\t\t\t\tif (field) {\n\t\t\t\t\tthis._valueFields.push(<any>key);\n\t\t\t\t\tthis._valueFieldsF[key as string] = { fieldKey: key + \"Field\", workingKey: key + \"Working\" };\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\tif (this.fields) {\n\t\t\tthis._fields = [];\n\t\t\tthis._fieldsF = {};\n\n\t\t\t$array.each(this.fields as Array<keyof this[\"_settings\"]>, (key) => {\n\t\t\t\tconst field = this.get(<any>(key + \"Field\"));\n\t\t\t\tif (field) {\n\t\t\t\t\tthis._fields.push(<any>key);\n\t\t\t\t\tthis._fieldsF[key as string] = key + \"Field\";\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\t/**\n\t * A list of component's data items.\n\t *\n\t * @return Data items\n\t */\n\tpublic get dataItems(): Array<DataItem<this[\"_dataItemSettings\"]>> {\n\t\treturn this._dataItems;\n\t}\n\n\tprotected processDataItem(_dataItem: DataItem<this[\"_dataItemSettings\"]>) { }\n\n\n\tpublic _makeDataItem(data: unknown): this[\"_dataItemSettings\"] {\n\t\t//const output: this[\"_dataItemSettings\"] = {};\n\t\tconst output: any = {}; // temporary to solve error\n\t\tif (this._valueFields) {\n\t\t\t$array.each(this._valueFields, (key) => {\n\t\t\t\tconst field = this.get(<any>(this._valueFieldsF[key].fieldKey));\n\t\t\t\toutput[key] = (data as any)[field];\n\n\t\t\t\toutput[this._valueFieldsF[key].workingKey] = output[key];\n\t\t\t});\n\t\t}\n\t\tif (this._fields) {\n\t\t\t$array.each(this._fields, (key) => {\n\t\t\t\tconst field = this.get(<any>(this._fieldsF[key]));\n\t\t\t\toutput[key] = (data as any)[field];\n\t\t\t});\n\t\t}\n\n\t\treturn output;\n\t}\n\n\t/**\n\t * @ignore\n\t */\n\tpublic makeDataItem(data: this[\"_dataItemSettings\"]): DataItem<this[\"_dataItemSettings\"]> {\n\t\tlet dataItem = new DataItem(this, undefined, data);\n\t\tthis.processDataItem(dataItem);\n\t\treturn dataItem;\n\t}\n\n\t/**\n\t * @ignore\n\t */\n\tpublic pushDataItem(data: this[\"_dataItemSettings\"]): DataItem<this[\"_dataItemSettings\"]> {\n\t\tconst dataItem = this.makeDataItem(data);\n\t\tthis._mainDataItems.push(dataItem);\n\t\treturn dataItem;\n\t}\n\n\t/**\n\t * @ignore\n\t */\n\tpublic disposeDataItem(_dataItem: DataItem<this[\"_dataItemSettings\"]>) { }\n\n\t/**\n\t * Shows component's data item.\n\t *\n\t * @param dataItem Data item\n\t * @param _duration Animation duration in milliseconds\n\t * @return Promise\n\t */\n\tpublic async showDataItem(dataItem: DataItem<this[\"_dataItemSettings\"]>, _duration?: number): Promise<void> {\n\t\tdataItem.set(\"visible\", true);\n\t}\n\n\t/**\n\t * Hides component's data item.\n\t *\n\t * @param dataItem Data item\n\t * @param _duration Animation duration in milliseconds\n\t * @return Promise\n\t */\n\tpublic async hideDataItem(dataItem: DataItem<this[\"_dataItemSettings\"]>, _duration?: number): Promise<void> {\n\t\tdataItem.set(\"visible\", false);\n\t}\n\n\tpublic _clearDirty() {\n\t\tsuper._clearDirty();\n\t\tthis._valuesDirty = false;\n\t}\n\n\tprotected _afterDataChange() {\n\n\t}\n\n\tpublic _afterChanged() {\n\t\tsuper._afterChanged();\n\t\tif (this._dataChanged) {\n\t\t\tconst type = \"datavalidated\";\n\t\t\tif (this.events.isEnabled(type)) {\n\t\t\t\tthis.events.dispatch(type, { type: type, target: this });\n\t\t\t\tthis._dataChanged = false;\n\t\t\t}\n\t\t}\n\n\t\tthis.inited = true;\n\t}\n\n\t/**\n\t * Forces a repaint of the element which relies on data.\n\t *\n\t * @since 5.0.21\n\t */\n\tpublic markDirtyValues(_dataItem?: DataItem<this[\"_dataItemSettings\"]>) {\n\t\tthis.markDirty();\n\t\tthis._valuesDirty = true;\n\t}\n\n\tpublic _markDirtyGroup() {\n\t\tthis._dataGrouped = false;\n\t}\n\n\t/**\n\t * @ignore\n\t */\n\tpublic markDirtySize() {\n\t\tthis._sizeDirty = true;\n\t\tthis.markDirty();\n\t}\n\n}\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Graphics, IGraphicsSettings, IGraphicsPrivate } from "./Graphics";
|
|
2
|
+
export interface IEllipseSettings extends IGraphicsSettings {
|
|
3
|
+
/**
|
|
4
|
+
* The ellipse's major-axis radius. Must be non-negative.
|
|
5
|
+
*/
|
|
6
|
+
radiusX: number;
|
|
7
|
+
/**
|
|
8
|
+
* The ellipse's minor-axis radius. Must be non-negative.
|
|
9
|
+
*/
|
|
10
|
+
radiusY: number;
|
|
11
|
+
}
|
|
12
|
+
export interface IEllipsePrivate extends IGraphicsPrivate {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Draws a Ellipse.
|
|
16
|
+
*
|
|
17
|
+
* @see {@link https://www.amcharts.com/docs/v5/concepts/common-elements/graphics/} for more info
|
|
18
|
+
* @important
|
|
19
|
+
*/
|
|
20
|
+
export declare class Ellipse extends Graphics {
|
|
21
|
+
_settings: IEllipseSettings;
|
|
22
|
+
_privateSettings: IEllipsePrivate;
|
|
23
|
+
static className: string;
|
|
24
|
+
static classNames: Array<string>;
|
|
25
|
+
_beforeChanged(): void;
|
|
26
|
+
_changed(): void;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=Ellipse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Ellipse.d.ts","sourceRoot":"","sources":["../../../../../src/.internal/core/render/Ellipse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAE3E,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IAE1D;;OAEG;IAEH,OAAO,EAAE,MAAM,CAAA;IAEf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,eAAgB,SAAQ,gBAAgB;CACxD;AAED;;;;;GAKG;AACH,qBAAa,OAAQ,SAAQ,QAAQ;IAErB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,gBAAgB,EAAE,eAAe,CAAC;IAEjD,OAAc,SAAS,EAAE,MAAM,CAAa;IAC5C,OAAc,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAmD;IAEnF,cAAc;IAQd,QAAQ;CAOf"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { Graphics } from "./Graphics";
|
|
3
|
+
/**
|
|
4
|
+
* Draws a Ellipse.
|
|
5
|
+
*
|
|
6
|
+
* @see {@link https://www.amcharts.com/docs/v5/concepts/common-elements/graphics/} for more info
|
|
7
|
+
* @important
|
|
8
|
+
*/
|
|
9
|
+
var Ellipse = /** @class */ (function (_super) {
|
|
10
|
+
__extends(Ellipse, _super);
|
|
11
|
+
function Ellipse() {
|
|
12
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
13
|
+
}
|
|
14
|
+
Object.defineProperty(Ellipse.prototype, "_beforeChanged", {
|
|
15
|
+
enumerable: false,
|
|
16
|
+
configurable: true,
|
|
17
|
+
writable: true,
|
|
18
|
+
value: function () {
|
|
19
|
+
_super.prototype._beforeChanged.call(this);
|
|
20
|
+
if (this.isDirty("radiusX") || this.isDirty("radiusY") || this.isDirty("rotation")) {
|
|
21
|
+
this._clear = true;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(Ellipse.prototype, "_changed", {
|
|
26
|
+
enumerable: false,
|
|
27
|
+
configurable: true,
|
|
28
|
+
writable: true,
|
|
29
|
+
value: function () {
|
|
30
|
+
_super.prototype._changed.call(this);
|
|
31
|
+
if (this._clear) {
|
|
32
|
+
this._display.drawEllipse(0, 0, Math.abs(this.get("radiusX")), Math.abs(this.get("radiusY")));
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(Ellipse, "className", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
configurable: true,
|
|
39
|
+
writable: true,
|
|
40
|
+
value: "Ellipse"
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(Ellipse, "classNames", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
configurable: true,
|
|
45
|
+
writable: true,
|
|
46
|
+
value: Graphics.classNames.concat([Ellipse.className])
|
|
47
|
+
});
|
|
48
|
+
return Ellipse;
|
|
49
|
+
}(Graphics));
|
|
50
|
+
export { Ellipse };
|
|
51
|
+
//# sourceMappingURL=Ellipse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Ellipse.js","sourceRoot":"","sources":["../../../../../src/.internal/core/render/Ellipse.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAuC,MAAM,YAAY,CAAC;AAmB3E;;;;;GAKG;AACH;IAA6B,2BAAQ;IAArC;;IAuBA,CAAC;;;;;eAfA;YACC,iBAAM,cAAc,WAAE,CAAC;YAEvB,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;gBACnF,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;aACnB;QACF,CAAC;;;;;;eAED;YACC,iBAAM,QAAQ,WAAE,CAAC;YAEjB,IAAI,IAAI,CAAC,MAAM,EAAE;gBAChB,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;aAC9F;QACF,CAAC;;IAjBD;;;;eAAkC,SAAS;OAAC;IAC5C;;;;eAA0C,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;OAAC;IAiB3F,cAAC;CAAA,AAvBD,CAA6B,QAAQ,GAuBpC;SAvBY,OAAO","sourcesContent":["import { Graphics, IGraphicsSettings, IGraphicsPrivate } from \"./Graphics\";\r\n\r\nexport interface IEllipseSettings extends IGraphicsSettings {\r\n\r\n\t/**\r\n\t * The ellipse's major-axis radius. Must be non-negative.\r\n\t */\r\n\r\n\tradiusX: number\r\n\r\n\t/**\r\n\t * The ellipse's minor-axis radius. Must be non-negative.\r\n\t */\r\n\tradiusY: number\r\n}\r\n\r\nexport interface IEllipsePrivate extends IGraphicsPrivate {\r\n}\r\n\r\n/**\r\n * Draws a Ellipse.\r\n *\r\n * @see {@link https://www.amcharts.com/docs/v5/concepts/common-elements/graphics/} for more info\r\n * @important\r\n */\r\nexport class Ellipse extends Graphics {\r\n\r\n\tdeclare public _settings: IEllipseSettings;\r\n\tdeclare public _privateSettings: IEllipsePrivate;\r\n\r\n\tpublic static className: string = \"Ellipse\";\r\n\tpublic static classNames: Array<string> = Graphics.classNames.concat([Ellipse.className]);\r\n\r\n\tpublic _beforeChanged() {\r\n\t\tsuper._beforeChanged();\r\n\r\n\t\tif (this.isDirty(\"radiusX\") || this.isDirty(\"radiusY\") || this.isDirty(\"rotation\")) {\r\n\t\t\tthis._clear = true;\r\n\t\t}\r\n\t}\r\n\r\n\tpublic _changed() {\r\n\t\tsuper._changed();\r\n\r\n\t\tif (this._clear) {\r\n\t\t\tthis._display.drawEllipse(0, 0, Math.abs(this.get(\"radiusX\")), Math.abs(this.get(\"radiusY\")));\r\n\t\t}\r\n\t}\r\n}\r\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HorizontalLayout.d.ts","sourceRoot":"","sources":["../../../../../src/.internal/core/render/HorizontalLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C;;;;GAIG;AACH,qBAAa,gBAAiB,SAAQ,MAAM;IAE3C,OAAc,SAAS,EAAE,MAAM,CAAsB;IACrD,OAAc,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAA0D;IAEjG;;OAEG;IACI,eAAe,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"HorizontalLayout.d.ts","sourceRoot":"","sources":["../../../../../src/.internal/core/render/HorizontalLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C;;;;GAIG;AACH,qBAAa,gBAAiB,SAAQ,MAAM;IAE3C,OAAc,SAAS,EAAE,MAAM,CAAsB;IACrD,OAAc,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAA0D;IAEjG;;OAEG;IACI,eAAe,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;CAiElD"}
|
|
@@ -28,6 +28,17 @@ var HorizontalLayout = /** @class */ (function (_super) {
|
|
|
28
28
|
var childWidth = child.get("width");
|
|
29
29
|
if (childWidth instanceof Percent) {
|
|
30
30
|
totalPercent += childWidth.value;
|
|
31
|
+
var w = availableWidth * childWidth.value;
|
|
32
|
+
var minWidth = child.get("minWidth", -Infinity);
|
|
33
|
+
if (minWidth > w) {
|
|
34
|
+
availableWidth -= minWidth;
|
|
35
|
+
totalPercent -= childWidth.value;
|
|
36
|
+
}
|
|
37
|
+
var maxWidth = child.get("maxWidth", Infinity);
|
|
38
|
+
if (w > maxWidth) {
|
|
39
|
+
availableWidth -= maxWidth;
|
|
40
|
+
totalPercent -= childWidth.value;
|
|
41
|
+
}
|
|
31
42
|
}
|
|
32
43
|
else {
|
|
33
44
|
if (!$type.isNumber(childWidth)) {
|
|
@@ -43,6 +54,9 @@ var HorizontalLayout = /** @class */ (function (_super) {
|
|
|
43
54
|
var childWidth = child.get("width");
|
|
44
55
|
if (childWidth instanceof Percent) {
|
|
45
56
|
var privateWidth = availableWidth * childWidth.value / totalPercent - child.get("marginLeft", 0) - child.get("marginRight", 0);
|
|
57
|
+
var minWidth = child.get("minWidth", -Infinity);
|
|
58
|
+
var maxWidth = child.get("maxWidth", Infinity);
|
|
59
|
+
privateWidth = Math.min(Math.max(minWidth, privateWidth), maxWidth);
|
|
46
60
|
child.setPrivate("width", privateWidth);
|
|
47
61
|
}
|
|
48
62
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HorizontalLayout.js","sourceRoot":"","sources":["../../../../../src/.internal/core/render/HorizontalLayout.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAG1C;;;;GAIG;AACH;IAAsC,oCAAM;IAA5C;;
|
|
1
|
+
{"version":3,"file":"HorizontalLayout.js","sourceRo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AI,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,UAAU,EAAE;oBACxC,IAAI,MAAM,GAAG,KAAK,CAAC,mBAAmB,EAAE,CAAC;oBACzC,IAAI,UAAU,GAAG,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC;oBAC5C,IAAI,WAAW,GAAG,KAAK,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;oBAE9C,IAAI,CAAC,GAAG,KAAK,GAAG,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC;oBACzC,KAAK,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;oBACzB,KAAK,GAAG,CAAC,GAAG,MAAM,CAAC,KAAK,GAAG,WAAW,CAAC;iBACvC;YACF,CAAC,CAAC,CAAC;QACJ,CAAC;;IAtED;;;;eAAkC,kBAAkB;OAAC;IACrD;;;;eAA0C,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC;OAAC;IAsElG,uBAAC;CAAA,AAzED,CAAsC,MAAM,GAyE3C;SAzEY,gBAAgB","sourcesContent":["import { Layout } from \"./Layout\";\nimport * as $type from \"../util/Type\";\nimport { Percent } from \"../util/Percent\";\nimport type { Container } from \"./Container\";\n\n/**\n * A horizontal children layout for [[Container]].\n *\n * @see {@link https://www.amcharts.com/docs/v5/concepts/common-elements/containers/#Layout} for more info\n */\nexport class HorizontalLayout extends Layout {\n\n\tpublic static className: string = \"HorizontalLayout\";\n\tpublic static classNames: Array<string> = Layout.classNames.concat([HorizontalLayout.className]);\n\n\t/**\n\t * @ignore\n\t */\n\tpublic updateContainer(container: Container): void {\n\n\t\tlet paddingLeft = container.get(\"paddingLeft\", 0);\n\n\t\tlet availableWidth = container.innerWidth();\n\n\t\tlet totalPercent = 0;\n\n\t\tcontainer.children.each((child) => {\n\t\t\tif (child.get(\"position\") == \"relative\") {\n\t\t\t\tlet childWidth = child.get(\"width\");\n\t\t\t\tif (childWidth instanceof Percent) {\n\t\t\t\t\ttotalPercent += childWidth.value;\n\n\t\t\t\t\tlet w = availableWidth * childWidth.value;\n\t\t\t\t\tlet minWidth = child.get(\"minWidth\", -Infinity);\n\t\t\t\t\tif (minWidth > w) {\n\t\t\t\t\t\tavailableWidth -= minWidth;\n\t\t\t\t\t\ttotalPercent -= childWidth.value;\n\t\t\t\t\t}\n\t\t\t\t\tlet maxWidth = child.get(\"maxWidth\", Infinity);\n\t\t\t\t\tif (w > maxWidth) {\n\t\t\t\t\t\tavailableWidth -= maxWidth;\n\t\t\t\t\t\ttotalPercent -= childWidth.value;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tif (!$type.isNumber(childWidth)) {\n\t\t\t\t\t\tchildWidth = child.width();\n\t\t\t\t\t}\n\t\t\t\t\tavailableWidth -= childWidth + child.get(\"marginLeft\", 0) + child.get(\"marginRight\", 0);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tif (availableWidth > 0) {\n\t\t\tcontainer.children.each((child) => {\n\t\t\t\tif (child.get(\"position\") == \"relative\") {\n\t\t\t\t\tlet childWidth = child.get(\"width\");\n\t\t\t\t\tif (childWidth instanceof Percent) {\n\t\t\t\t\t\tlet privateWidth = availableWidth * childWidth.value / totalPercent - child.get(\"marginLeft\", 0) - child.get(\"marginRight\", 0);\n\t\t\t\t\t\tlet minWidth = child.get(\"minWidth\", -Infinity);\n\t\t\t\t\t\tlet maxWidth = child.get(\"maxWidth\", Infinity);\n\t\t\t\t\t\tprivateWidth = Math.min(Math.max(minWidth, privateWidth), maxWidth);\n\n\t\t\t\t\t\tchild.setPrivate(\"width\", privateWidth);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\tlet prevX = paddingLeft;\n\n\t\tcontainer.children.each((child) => {\n\t\t\tif (child.get(\"position\") == \"relative\") {\n\t\t\t\tlet bounds = child.adjustedLocalBounds();\n\t\t\t\tlet marginLeft = child.get(\"marginLeft\", 0);\n\t\t\t\tlet marginRight = child.get(\"marginRight\", 0);\n\n\t\t\t\tlet x = prevX + marginLeft - bounds.left;\n\t\t\t\tchild.setPrivate(\"x\", x);\n\t\t\t\tprevX = x + bounds.right + marginRight;\n\t\t\t}\n\t\t});\n\t}\n}\n"]}
|
|
@@ -36,7 +36,7 @@ var Line = /** @class */ (function (_super) {
|
|
|
36
36
|
this._display.moveTo(point.x, point.y);
|
|
37
37
|
$draw.segmentedLine(this._display, [[points]]);
|
|
38
38
|
}
|
|
39
|
-
else {
|
|
39
|
+
else if (!this.get("draw")) {
|
|
40
40
|
var w = this.width();
|
|
41
41
|
var h = this.height();
|
|
42
42
|
this._display.moveTo(0, 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Line.js","sourceRoot":"","sources":["../../../../../src/.internal/core/render/Line.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAuC,MAAM,YAAY,CAAC;AAE3E,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AActC;;;;;GAKG;AACH;IAA0B,wBAAQ;IAAlC;;IAsCA,CAAC;;;;;eA9BA;YACC,iBAAM,cAAc,WAAE,CAAC;YAEvB,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE;gBAC/G,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;aACnB;QACF,CAAC;;;;;;eAED;YACC,iBAAM,QAAQ,WAAE,CAAC;YAEjB,IAAI,IAAI,CAAC,MAAM,EAAE;gBAEhB,IAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAE,CAAC;gBAEnC,IAAI,MAAM,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE;oBAChC,IAAI,KAAK,GAAG,MAAM,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AAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE;oBAC3B,IAAI,CAAC,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;oBACrB,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;oBAEtB,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;oBAC3B,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;iBAC3B;aACD;QACF,CAAC;;IAhCD;;;;eAAkC,MAAM;OAAC;IACzC;;;;eAA0C,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;OAAC;IAgCxF,WAAC;CAAA,AAtCD,CAA0B,QAAQ,GAsCjC;SAtCY,IAAI","sourcesContent":["import { Graphics, IGraphicsSettings, IGraphicsPrivate } from \"./Graphics\";\nimport type { IPoint } from \"../util/IPoint\";\nimport * as $draw from \"../util/Draw\";\n\nexport interface ILineSettings extends IGraphicsSettings {\n\n\t/**\n\t * A list of [[IPoint]] (x/y coordinates) points for the line.\n\t */\n\tpoints?: Array<IPoint>;\n\n}\n\nexport interface ILinePrivate extends IGraphicsPrivate {\n}\n\n/**\n * Draws a line.\n *\n * @see {@link https://www.amcharts.com/docs/v5/concepts/common-elements/graphics/} for more info\n * @important\n */\nexport class Line extends Graphics {\n\n\tdeclare public _settings: ILineSettings;\n\tdeclare public _privateSettings: ILinePrivate;\n\n\tpublic static className: string = \"Line\";\n\tpublic static classNames: Array<string> = Graphics.classNames.concat([Line.className]);\n\n\tpublic _beforeChanged() {\n\t\tsuper._beforeChanged();\n\n\t\tif (this.isDirty(\"points\") || this._sizeDirty || this.isPrivateDirty(\"width\") || this.isPrivateDirty(\"height\")) {\n\t\t\tthis._clear = true;\n\t\t}\n\t}\n\n\tpublic _changed() {\n\t\tsuper._changed();\n\n\t\tif (this._clear) {\n\n\t\t\tconst points = this.get(\"points\")!;\n\n\t\t\tif (points && points.length > 0) {\n\t\t\t\tlet point = points[0];\n\n\t\t\t\tthis._display.moveTo(point.x, point.y);\n\t\t\t\t$draw.segmentedLine(this._display, [[points]]);\n\t\t\t}\n\t\t\telse if (!this.get(\"draw\")) {\n\t\t\t\tlet w = this.width();\n\t\t\t\tlet h = this.height();\n\n\t\t\t\tthis._display.moveTo(0, 0);\n\t\t\t\tthis._display.lineTo(w, h);\n\t\t\t}\n\t\t}\n\t}\n}\n"]}
|
|
@@ -54,7 +54,7 @@ export interface IHeatRule {
|
|
|
54
54
|
* Can be used to do custom manipulation on complex objects requiring more
|
|
55
55
|
* than modifying a setting.
|
|
56
56
|
*/
|
|
57
|
-
customFunction?: (target: Sprite, minValue: number, maxValue: number,
|
|
57
|
+
customFunction?: (target: Sprite, minValue: number, maxValue: number, value?: any) => void;
|
|
58
58
|
}
|
|
59
59
|
export interface ISeriesDataItem extends IComponentDataItem {
|
|
60
60
|
id?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Series.d.ts","sourceRoot":"","sources":["../../../../../src/.internal/core/render/Series.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAC/I,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAM9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,KAAK,E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E,OAAO,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA4CnF;;OAEG;IACI,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IA4BtE;;OAEG;IACI,kBAAkB,CAAC,SAAS,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IAGzE,SAAS,CAAC,OAAO;IASjB;;OAEG;IACI,aAAa,CAAC,SAAS,EAAE,QAAQ,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IAGnE;;OAEG;IACI,eAAe,CAAC,SAAS,EAAE,QAAQ,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;CAErE"}
|
|
@@ -154,7 +154,7 @@ var Series = /** @class */ (function (_super) {
|
|
|
154
154
|
dataItem.bullets = undefined;
|
|
155
155
|
}
|
|
156
156
|
});
|
|
157
|
-
this.
|
|
157
|
+
this.markDirtyValues();
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
/**
|
|
@@ -416,7 +416,7 @@ var Series = /** @class */ (function (_super) {
|
|
|
416
416
|
propertyValue = percentInterpolate(percent, rule.min, rule.max);
|
|
417
417
|
}
|
|
418
418
|
if (rule.customFunction) {
|
|
419
|
-
rule.customFunction.call(_this, target, minValue, maxValue,
|
|
419
|
+
rule.customFunction.call(_this, target, minValue, maxValue, value);
|
|
420
420
|
}
|
|
421
421
|
else {
|
|
422
422
|
target.set(rule.key, propertyValue);
|