@gravity-ui/chartkit 8.12.0 → 9.0.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/LICENSE +1 -0
- package/README.md +47 -11
- package/build/cjs/components/ChartKit.css +31 -0
- package/build/cjs/components/ChartKit.d.ts +11 -0
- package/build/cjs/components/ChartKit.js +43 -0
- package/build/cjs/components/ChartKit.js.map +1 -0
- package/build/cjs/components/ErrorBoundary/ErrorBoundary.d.ts +23 -0
- package/build/cjs/components/ErrorBoundary/ErrorBoundary.js +53 -0
- package/build/cjs/components/ErrorBoundary/ErrorBoundary.js.map +1 -0
- package/build/cjs/components/Loader/Loader.d.ts +9 -0
- package/build/cjs/components/Loader/Loader.js +20 -0
- package/build/cjs/components/Loader/Loader.js.map +1 -0
- package/build/cjs/components/SplitPane/Pane.d.ts +14 -0
- package/build/cjs/components/SplitPane/Pane.js +32 -0
- package/build/cjs/components/SplitPane/Pane.js.map +1 -0
- package/build/cjs/components/SplitPane/Resizer.d.ts +18 -0
- package/build/cjs/components/SplitPane/Resizer.js +32 -0
- package/build/cjs/components/SplitPane/Resizer.js.map +1 -0
- package/build/cjs/components/SplitPane/SplitPane.d.ts +60 -0
- package/build/cjs/components/SplitPane/SplitPane.js +259 -0
- package/build/cjs/components/SplitPane/SplitPane.js.map +1 -0
- package/build/cjs/components/SplitPane/StyledSplitPane.css +45 -0
- package/build/cjs/components/SplitPane/StyledSplitPane.d.ts +9 -0
- package/build/cjs/components/SplitPane/StyledSplitPane.js +35 -0
- package/build/cjs/components/SplitPane/StyledSplitPane.js.map +1 -0
- package/build/cjs/components/SplitPane/constants.js +8 -0
- package/build/cjs/components/SplitPane/constants.js.map +1 -0
- package/build/cjs/components/SplitPane/index.d.ts +8 -0
- package/build/cjs/components/SplitPane/index.js +25 -0
- package/build/cjs/components/SplitPane/index.js.map +1 -0
- package/build/cjs/components/SplitPane/types.d.ts +2 -0
- package/build/cjs/components/SplitPane/types.js +3 -0
- package/build/cjs/components/SplitPane/types.js.map +1 -0
- package/build/cjs/components/SplitTooltip/SplitTooltip.d.ts +63 -0
- package/build/cjs/components/SplitTooltip/SplitTooltip.js +141 -0
- package/build/cjs/components/SplitTooltip/SplitTooltip.js.map +1 -0
- package/build/cjs/components/SplitTooltip/index.d.ts +2 -0
- package/build/cjs/components/SplitTooltip/index.js +7 -0
- package/build/cjs/components/SplitTooltip/index.js.map +1 -0
- package/build/cjs/constants/common.js +6 -0
- package/build/cjs/constants/common.js.map +1 -0
- package/build/cjs/constants/index.d.ts +3 -0
- package/build/cjs/constants/index.js +9 -0
- package/build/cjs/constants/index.js.map +1 -0
- package/build/cjs/constants/misc.js +23 -0
- package/build/cjs/constants/misc.js.map +1 -0
- package/build/cjs/constants/widget-data.js +51 -0
- package/build/cjs/constants/widget-data.js.map +1 -0
- package/build/cjs/hooks/index.d.ts +1 -0
- package/build/cjs/hooks/index.js +5 -0
- package/build/cjs/hooks/index.js.map +1 -0
- package/build/cjs/hooks/misc.js +13 -0
- package/build/cjs/hooks/misc.js.map +1 -0
- package/build/cjs/i18n/index.d.ts +79 -0
- package/build/cjs/i18n/index.js +22 -0
- package/build/cjs/i18n/index.js.map +1 -0
- package/build/cjs/index.d.ts +8 -0
- package/build/cjs/index.js +13 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/libs/chartkit-error/chartkit-error.js +28 -0
- package/build/cjs/libs/chartkit-error/chartkit-error.js.map +1 -0
- package/build/cjs/libs/index.d.ts +3 -0
- package/build/cjs/libs/index.js +10 -0
- package/build/cjs/libs/index.js.map +1 -0
- package/build/cjs/libs/settings/eventEmitter.js +28 -0
- package/build/cjs/libs/settings/eventEmitter.js.map +1 -0
- package/build/cjs/libs/settings/mergeSettingStrategy.js +35 -0
- package/build/cjs/libs/settings/mergeSettingStrategy.js.map +1 -0
- package/build/cjs/libs/settings/settings.d.ts +22 -0
- package/build/cjs/libs/settings/settings.js +46 -0
- package/build/cjs/libs/settings/settings.js.map +1 -0
- package/build/cjs/package.json +1 -0
- package/build/cjs/plugins/gravity-charts/index.d.ts +5 -0
- package/build/cjs/plugins/gravity-charts/index.js +19 -0
- package/build/cjs/plugins/gravity-charts/index.js.map +1 -0
- package/build/cjs/plugins/gravity-charts/renderer/GravityChartsWidget.d.ts +21 -0
- package/build/cjs/plugins/gravity-charts/renderer/GravityChartsWidget.js +72 -0
- package/build/cjs/plugins/gravity-charts/renderer/GravityChartsWidget.js.map +1 -0
- package/build/cjs/plugins/gravity-charts/renderer/utils.d.ts +2 -0
- package/build/cjs/plugins/gravity-charts/renderer/utils.js +20 -0
- package/build/cjs/plugins/gravity-charts/renderer/utils.js.map +1 -0
- package/build/cjs/plugins/gravity-charts/renderer/withSplitPane/TooltipContent.js +17 -0
- package/build/cjs/plugins/gravity-charts/renderer/withSplitPane/TooltipContent.js.map +1 -0
- package/build/cjs/plugins/gravity-charts/renderer/withSplitPane/useViewportSplitTooltipLayout.d.ts +3 -0
- package/build/cjs/plugins/gravity-charts/renderer/withSplitPane/useViewportSplitTooltipLayout.js +35 -0
- package/build/cjs/plugins/gravity-charts/renderer/withSplitPane/useViewportSplitTooltipLayout.js.map +1 -0
- package/build/cjs/plugins/gravity-charts/renderer/withSplitPane/withSplitPane.js +75 -0
- package/build/cjs/plugins/gravity-charts/renderer/withSplitPane/withSplitPane.js.map +1 -0
- package/build/cjs/plugins/gravity-charts/types.d.ts +6 -0
- package/build/cjs/plugins/gravity-charts/types.js +3 -0
- package/build/cjs/plugins/gravity-charts/types.js.map +1 -0
- package/build/cjs/plugins/highcharts/index.d.ts +4 -0
- package/build/cjs/plugins/highcharts/index.js +15 -0
- package/build/cjs/plugins/highcharts/index.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/HighchartsWidget.d.ts +31 -0
- package/build/cjs/plugins/highcharts/renderer/HighchartsWidget.js +10 -0
- package/build/cjs/plugins/highcharts/renderer/HighchartsWidget.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/components/HighchartsComponent.d.ts +579 -0
- package/build/cjs/plugins/highcharts/renderer/components/HighchartsComponent.js +157 -0
- package/build/cjs/plugins/highcharts/renderer/components/HighchartsComponent.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/components/HighchartsReact.d.ts +20 -0
- package/build/cjs/plugins/highcharts/renderer/components/HighchartsReact.js +78 -0
- package/build/cjs/plugins/highcharts/renderer/components/HighchartsReact.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/components/useElementSize.js +55 -0
- package/build/cjs/plugins/highcharts/renderer/components/useElementSize.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/components/withSplitPane/withSplitPane.d.ts +18 -0
- package/build/cjs/plugins/highcharts/renderer/components/withSplitPane/withSplitPane.js +221 -0
- package/build/cjs/plugins/highcharts/renderer/components/withSplitPane/withSplitPane.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/add-holidays.d.ts +3 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/add-holidays.js +47 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/add-holidays.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/comments/drawing.js +577 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/comments/drawing.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/config.js +1579 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/config.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/handleLegendItemClick.js +81 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/handleLegendItemClick.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/options.js +351 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/options.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/types.js +3 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/types.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/addShowInNavigatorToSeries.d.ts +10 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/addShowInNavigatorToSeries.js +47 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/addShowInNavigatorToSeries.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/buildNavigatorFallback.js +22 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/buildNavigatorFallback.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/calculatePrecision.js +26 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/calculatePrecision.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/concatStrings.js +6 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/concatStrings.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/getChartKitFormattedValue.d.ts +2 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/getChartKitFormattedValue.js +20 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/getChartKitFormattedValue.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/getFormatOptionsFromLine.d.ts +3 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/getFormatOptionsFromLine.js +20 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/getFormatOptionsFromLine.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/getXAxisThresholdValue.js +25 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/getXAxisThresholdValue.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/index.d.ts +78 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/index.js +39 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/index.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/isNavigatorSeries.d.ts +2 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/isNavigatorSeries.js +8 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/isNavigatorSeries.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/isSafari.js +16 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/isSafari.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/localStorage.js +26 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/localStorage.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/mergeArrayWithObject.js +15 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/mergeArrayWithObject.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/numberFormat.d.ts +2 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/numberFormat.js +33 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/numberFormat.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/setNavigatorDefaultPeriod.d.ts +13 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/setNavigatorDefaultPeriod.js +33 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/setNavigatorDefaultPeriod.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/tooltip.d.ts +7 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/tooltip.js +30 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/config/utils/tooltip.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/constants.js +35 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/constants.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/graph.css +82 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/graph.d.ts +553 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/graph.js +94 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/graph.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/highcharts/colors.js +20 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/highcharts/colors.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/highcharts/highcharts.js +376 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/highcharts/highcharts.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/highcharts/utils/calcucalteClosestPointManually.js +23 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/highcharts/utils/calcucalteClosestPointManually.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/highcharts/utils/index.d.ts +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/highcharts/utils/index.js +6 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/highcharts/utils/index.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/prepare-data.js +186 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/prepare-data.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/constants.js +18 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/constants.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/helpers.js +10 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/helpers.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/index.d.ts +13 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/index.js +274 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/index.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/index.d.ts +6 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/index.js +27 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/index.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashDotLineIcon.d.ts +2 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashDotLineIcon.js +25 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashDotLineIcon.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashLineIcon.d.ts +2 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashLineIcon.js +30 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashLineIcon.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DotLineIcon.d.ts +2 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DotLineIcon.js +25 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DotLineIcon.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotDotLineIcon.d.ts +2 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotDotLineIcon.js +23 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotDotLineIcon.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotLineIcon.d.ts +2 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotLineIcon.js +23 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotLineIcon.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashLineIcon.d.ts +2 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashLineIcon.js +20 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashLineIcon.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotDotLineIcon.d.ts +2 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotDotLineIcon.js +23 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotDotLineIcon.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotLineIcon.d.ts +2 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotLineIcon.js +23 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotLineIcon.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashLineIcon.d.ts +2 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashLineIcon.js +23 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashLineIcon.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDotLineIcon.d.ts +2 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDotLineIcon.js +25 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDotLineIcon.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/SolidLineIcon.d.ts +2 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/SolidLineIcon.js +18 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/SolidLineIcon.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/index.d.ts +11 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/index.js +26 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/index.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/types.js +3 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/types.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/utils.js +10 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/utils.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/tooltip.css +313 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/types.d.ts +88 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/types.js +3 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/tooltip/types.js.map +1 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/types.d.ts +22 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/types.js +3 -0
- package/build/cjs/plugins/highcharts/renderer/helpers/types.js.map +1 -0
- package/build/cjs/plugins/highcharts/types/comments.js +3 -0
- package/build/cjs/plugins/highcharts/types/comments.js.map +1 -0
- package/build/cjs/plugins/highcharts/types/index.d.ts +4 -0
- package/build/cjs/plugins/highcharts/types/index.js +3 -0
- package/build/cjs/plugins/highcharts/types/index.js.map +1 -0
- package/build/cjs/plugins/highcharts/types/lib.js +6 -0
- package/build/cjs/plugins/highcharts/types/lib.js.map +1 -0
- package/build/cjs/plugins/highcharts/types/misc.d.ts +22 -0
- package/build/cjs/plugins/highcharts/types/misc.js +3 -0
- package/build/cjs/plugins/highcharts/types/misc.js.map +1 -0
- package/build/cjs/plugins/highcharts/types/widget.d.ts +117 -0
- package/build/cjs/plugins/highcharts/types/widget.js +3 -0
- package/build/cjs/plugins/highcharts/types/widget.js.map +1 -0
- package/build/cjs/plugins/indicator/index.d.ts +3 -0
- package/build/cjs/plugins/indicator/index.js +13 -0
- package/build/cjs/plugins/indicator/index.js.map +1 -0
- package/build/cjs/plugins/indicator/renderer/IndicatorItem.d.ts +7 -0
- package/build/cjs/plugins/indicator/renderer/IndicatorItem.js +21 -0
- package/build/cjs/plugins/indicator/renderer/IndicatorItem.js.map +1 -0
- package/build/cjs/plugins/indicator/renderer/IndicatorWidget.css +51 -0
- package/build/cjs/plugins/indicator/renderer/IndicatorWidget.d.ts +20 -0
- package/build/cjs/plugins/indicator/renderer/IndicatorWidget.js +38 -0
- package/build/cjs/plugins/indicator/renderer/IndicatorWidget.js.map +1 -0
- package/build/cjs/plugins/indicator/types.js +3 -0
- package/build/cjs/plugins/indicator/types.js.map +1 -0
- package/build/cjs/plugins/shared/format-number/format-number.d.ts +5 -0
- package/build/cjs/plugins/shared/format-number/format-number.js +97 -0
- package/build/cjs/plugins/shared/format-number/format-number.js.map +1 -0
- package/build/cjs/plugins/shared/format-number/i18n/i18n.js +13 -0
- package/build/cjs/plugins/shared/format-number/i18n/i18n.js.map +1 -0
- package/build/cjs/plugins/shared/format-number/types.js +3 -0
- package/build/cjs/plugins/shared/format-number/types.js.map +1 -0
- package/build/cjs/plugins/shared/index.d.ts +2 -0
- package/build/cjs/plugins/shared/index.js +6 -0
- package/build/cjs/plugins/shared/index.js.map +1 -0
- package/build/cjs/plugins/yagr/index.d.ts +3 -0
- package/build/cjs/plugins/yagr/index.js +11 -0
- package/build/cjs/plugins/yagr/index.js.map +1 -0
- package/build/cjs/plugins/yagr/renderer/YagrWidget.d.ts +24 -0
- package/build/cjs/plugins/yagr/renderer/YagrWidget.js +82 -0
- package/build/cjs/plugins/yagr/renderer/YagrWidget.js.map +1 -0
- package/build/cjs/plugins/yagr/renderer/polyfills.js +17 -0
- package/build/cjs/plugins/yagr/renderer/polyfills.js.map +1 -0
- package/build/cjs/plugins/yagr/renderer/tooltip/helpers/escapeHTML.js +9 -0
- package/build/cjs/plugins/yagr/renderer/tooltip/helpers/escapeHTML.js.map +1 -0
- package/build/cjs/plugins/yagr/renderer/tooltip/index.d.ts +1 -0
- package/build/cjs/plugins/yagr/renderer/tooltip/index.js +6 -0
- package/build/cjs/plugins/yagr/renderer/tooltip/index.js.map +1 -0
- package/build/cjs/plugins/yagr/renderer/tooltip/renderTooltip.d.ts +2 -0
- package/build/cjs/plugins/yagr/renderer/tooltip/renderTooltip.js +72 -0
- package/build/cjs/plugins/yagr/renderer/tooltip/renderTooltip.js.map +1 -0
- package/build/cjs/plugins/yagr/renderer/tooltip/tooltip.css +306 -0
- package/build/cjs/plugins/yagr/renderer/tooltip/tooltip.d.ts +3 -0
- package/build/cjs/plugins/yagr/renderer/tooltip/tooltip.js +241 -0
- package/build/cjs/plugins/yagr/renderer/tooltip/tooltip.js.map +1 -0
- package/build/cjs/plugins/yagr/renderer/tooltip/types.js +3 -0
- package/build/cjs/plugins/yagr/renderer/tooltip/types.js.map +1 -0
- package/build/cjs/plugins/yagr/renderer/useWidgetData.d.ts +6 -0
- package/build/cjs/plugins/yagr/renderer/useWidgetData.js +31 -0
- package/build/cjs/plugins/yagr/renderer/useWidgetData.js.map +1 -0
- package/build/cjs/plugins/yagr/renderer/utils.d.ts +29 -0
- package/build/cjs/plugins/yagr/renderer/utils.js +154 -0
- package/build/cjs/plugins/yagr/renderer/utils.js.map +1 -0
- package/build/cjs/plugins/yagr/types.d.ts +32 -0
- package/build/cjs/plugins/yagr/types.js +3 -0
- package/build/cjs/plugins/yagr/types.js.map +1 -0
- package/build/cjs/types/index.d.ts +75 -0
- package/build/cjs/types/index.js +3 -0
- package/build/cjs/types/index.js.map +1 -0
- package/build/cjs/types/misc.js +3 -0
- package/build/cjs/types/misc.js.map +1 -0
- package/build/cjs/types/widget.d.ts +41 -0
- package/build/cjs/types/widget.js +3 -0
- package/build/cjs/types/widget.js.map +1 -0
- package/build/cjs/utils/cn.js +8 -0
- package/build/cjs/utils/cn.js.map +1 -0
- package/build/cjs/utils/common.js +14 -0
- package/build/cjs/utils/common.js.map +1 -0
- package/build/cjs/utils/getErrorMessage.d.ts +2 -0
- package/build/cjs/utils/getErrorMessage.js +9 -0
- package/build/cjs/utils/getErrorMessage.js.map +1 -0
- package/build/cjs/utils/index.d.ts +4 -0
- package/build/cjs/utils/index.js +12 -0
- package/build/cjs/utils/index.js.map +1 -0
- package/build/cjs/utils/merge.d.ts +19 -0
- package/build/cjs/utils/merge.js +154 -0
- package/build/cjs/utils/merge.js.map +1 -0
- package/build/cjs/utils/misc.d.ts +2 -0
- package/build/cjs/utils/misc.js +11 -0
- package/build/cjs/utils/misc.js.map +1 -0
- package/build/cjs/utils/performance.js +27 -0
- package/build/cjs/utils/performance.js.map +1 -0
- package/build/cjs/utils/react.js +9 -0
- package/build/cjs/utils/react.js.map +1 -0
- package/build/cjs/utils/throttle.d.ts +13 -0
- package/build/cjs/utils/throttle.js +47 -0
- package/build/cjs/utils/throttle.js.map +1 -0
- package/build/docs/INDEX.md +35 -9
- package/build/docs/guides/migration-to-v9.md +52 -0
- package/build/docs/guides/testing.md +12 -11
- package/build/esm/components/ChartKit.css +31 -0
- package/build/esm/components/ChartKit.d.ts +11 -0
- package/build/esm/components/ChartKit.js +39 -0
- package/build/esm/components/ChartKit.js.map +1 -0
- package/build/esm/components/ErrorBoundary/ErrorBoundary.d.ts +23 -0
- package/build/esm/components/ErrorBoundary/ErrorBoundary.js +48 -0
- package/build/esm/components/ErrorBoundary/ErrorBoundary.js.map +1 -0
- package/build/esm/components/Loader/Loader.css +7 -0
- package/build/esm/components/Loader/Loader.d.ts +9 -0
- package/build/esm/components/Loader/Loader.js +15 -0
- package/build/esm/components/Loader/Loader.js.map +1 -0
- package/build/esm/components/SplitPane/Pane.d.ts +14 -0
- package/build/esm/components/SplitPane/Pane.js +27 -0
- package/build/esm/components/SplitPane/Pane.js.map +1 -0
- package/build/esm/components/SplitPane/Resizer.d.ts +18 -0
- package/build/esm/components/SplitPane/Resizer.js +27 -0
- package/build/esm/components/SplitPane/Resizer.js.map +1 -0
- package/build/esm/components/SplitPane/SplitPane.d.ts +60 -0
- package/build/esm/components/SplitPane/SplitPane.js +254 -0
- package/build/esm/components/SplitPane/SplitPane.js.map +1 -0
- package/build/esm/components/SplitPane/StyledSplitPane.css +45 -0
- package/build/esm/components/SplitPane/StyledSplitPane.d.ts +9 -0
- package/build/esm/components/SplitPane/StyledSplitPane.js +30 -0
- package/build/esm/components/SplitPane/StyledSplitPane.js.map +1 -0
- package/build/esm/components/SplitPane/constants.d.ts +4 -0
- package/build/esm/components/SplitPane/constants.js +5 -0
- package/build/esm/components/SplitPane/constants.js.map +1 -0
- package/build/esm/components/SplitPane/index.d.ts +8 -0
- package/build/esm/components/SplitPane/index.js +19 -0
- package/build/esm/components/SplitPane/index.js.map +1 -0
- package/build/esm/components/SplitPane/types.d.ts +2 -0
- package/build/esm/components/SplitPane/types.js +2 -0
- package/build/esm/components/SplitPane/types.js.map +1 -0
- package/build/esm/components/SplitTooltip/SplitTooltip.d.ts +63 -0
- package/build/esm/components/SplitTooltip/SplitTooltip.js +133 -0
- package/build/esm/components/SplitTooltip/SplitTooltip.js.map +1 -0
- package/build/esm/components/SplitTooltip/index.d.ts +2 -0
- package/build/esm/components/SplitTooltip/index.js +2 -0
- package/build/esm/components/SplitTooltip/index.js.map +1 -0
- package/build/esm/constants/common.d.ts +1 -0
- package/build/esm/constants/common.js +3 -0
- package/build/esm/constants/common.js.map +1 -0
- package/build/esm/constants/index.d.ts +3 -0
- package/build/esm/constants/index.js +4 -0
- package/build/esm/constants/index.js.map +1 -0
- package/build/esm/constants/misc.d.ts +10 -0
- package/build/esm/constants/misc.js +20 -0
- package/build/esm/constants/misc.js.map +1 -0
- package/build/esm/constants/widget-data.d.ts +43 -0
- package/build/esm/constants/widget-data.js +48 -0
- package/build/esm/constants/widget-data.js.map +1 -0
- package/build/esm/hooks/index.d.ts +1 -0
- package/build/esm/hooks/index.js +2 -0
- package/build/esm/hooks/index.js.map +1 -0
- package/build/esm/hooks/misc.d.ts +1 -0
- package/build/esm/hooks/misc.js +9 -0
- package/build/esm/hooks/misc.js.map +1 -0
- package/build/esm/i18n/index.d.ts +79 -0
- package/build/esm/i18n/index.js +17 -0
- package/build/esm/i18n/index.js.map +1 -0
- package/build/esm/i18n/keysets/en.json +80 -0
- package/build/esm/i18n/keysets/ru.json +79 -0
- package/build/esm/index.d.ts +8 -0
- package/build/esm/index.js +7 -0
- package/build/esm/index.js.map +1 -0
- package/build/esm/libs/chartkit-error/chartkit-error.d.ts +18 -0
- package/build/esm/libs/chartkit-error/chartkit-error.js +23 -0
- package/build/esm/libs/chartkit-error/chartkit-error.js.map +1 -0
- package/build/esm/libs/index.d.ts +3 -0
- package/build/esm/libs/index.js +3 -0
- package/build/esm/libs/index.js.map +1 -0
- package/build/esm/libs/settings/eventEmitter.d.ts +11 -0
- package/build/esm/libs/settings/eventEmitter.js +24 -0
- package/build/esm/libs/settings/eventEmitter.js.map +1 -0
- package/build/esm/libs/settings/mergeSettingStrategy.d.ts +1 -0
- package/build/esm/libs/settings/mergeSettingStrategy.js +31 -0
- package/build/esm/libs/settings/mergeSettingStrategy.js.map +1 -0
- package/build/esm/libs/settings/settings.d.ts +22 -0
- package/build/esm/libs/settings/settings.js +42 -0
- package/build/esm/libs/settings/settings.js.map +1 -0
- package/build/esm/package.json +1 -0
- package/build/esm/plugins/gravity-charts/index.d.ts +5 -0
- package/build/esm/plugins/gravity-charts/index.js +11 -0
- package/build/esm/plugins/gravity-charts/index.js.map +1 -0
- package/build/esm/plugins/gravity-charts/renderer/GravityChartsWidget.d.ts +21 -0
- package/build/esm/plugins/gravity-charts/renderer/GravityChartsWidget.js +68 -0
- package/build/esm/plugins/gravity-charts/renderer/GravityChartsWidget.js.map +1 -0
- package/build/esm/plugins/gravity-charts/renderer/utils.d.ts +2 -0
- package/build/esm/plugins/gravity-charts/renderer/utils.js +17 -0
- package/build/esm/plugins/gravity-charts/renderer/utils.js.map +1 -0
- package/build/esm/plugins/gravity-charts/renderer/withSplitPane/TooltipContent.d.ts +8 -0
- package/build/esm/plugins/gravity-charts/renderer/withSplitPane/TooltipContent.js +13 -0
- package/build/esm/plugins/gravity-charts/renderer/withSplitPane/TooltipContent.js.map +1 -0
- package/build/esm/plugins/gravity-charts/renderer/withSplitPane/useViewportSplitTooltipLayout.d.ts +3 -0
- package/build/esm/plugins/gravity-charts/renderer/withSplitPane/useViewportSplitTooltipLayout.js +30 -0
- package/build/esm/plugins/gravity-charts/renderer/withSplitPane/useViewportSplitTooltipLayout.js.map +1 -0
- package/build/esm/plugins/gravity-charts/renderer/withSplitPane/withSplitPane.d.ts +8 -0
- package/build/esm/plugins/gravity-charts/renderer/withSplitPane/withSplitPane.js +71 -0
- package/build/esm/plugins/gravity-charts/renderer/withSplitPane/withSplitPane.js.map +1 -0
- package/build/esm/plugins/gravity-charts/types.d.ts +6 -0
- package/build/esm/plugins/gravity-charts/types.js +2 -0
- package/build/esm/plugins/gravity-charts/types.js.map +1 -0
- package/build/esm/plugins/highcharts/index.d.ts +4 -0
- package/build/esm/plugins/highcharts/index.js +10 -0
- package/build/esm/plugins/highcharts/index.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/HighchartsWidget.d.ts +31 -0
- package/build/esm/plugins/highcharts/renderer/HighchartsWidget.js +6 -0
- package/build/esm/plugins/highcharts/renderer/HighchartsWidget.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/components/HighchartsComponent.css +4 -0
- package/build/esm/plugins/highcharts/renderer/components/HighchartsComponent.d.ts +579 -0
- package/build/esm/plugins/highcharts/renderer/components/HighchartsComponent.js +152 -0
- package/build/esm/plugins/highcharts/renderer/components/HighchartsComponent.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/components/HighchartsReact.d.ts +20 -0
- package/build/esm/plugins/highcharts/renderer/components/HighchartsReact.js +74 -0
- package/build/esm/plugins/highcharts/renderer/components/HighchartsReact.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/components/useElementSize.d.ts +6 -0
- package/build/esm/plugins/highcharts/renderer/components/useElementSize.js +51 -0
- package/build/esm/plugins/highcharts/renderer/components/useElementSize.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/components/withSplitPane/WithSplitPane.css +4 -0
- package/build/esm/plugins/highcharts/renderer/components/withSplitPane/withSplitPane.d.ts +18 -0
- package/build/esm/plugins/highcharts/renderer/components/withSplitPane/withSplitPane.js +216 -0
- package/build/esm/plugins/highcharts/renderer/components/withSplitPane/withSplitPane.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/add-holidays.d.ts +3 -0
- package/build/esm/plugins/highcharts/renderer/helpers/add-holidays.js +44 -0
- package/build/esm/plugins/highcharts/renderer/helpers/add-holidays.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/comments/drawing.d.ts +11 -0
- package/build/esm/plugins/highcharts/renderer/helpers/comments/drawing.js +570 -0
- package/build/esm/plugins/highcharts/renderer/helpers/comments/drawing.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/config.d.ts +582 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/config.js +1565 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/config.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/handleLegendItemClick.d.ts +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/handleLegendItemClick.js +76 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/handleLegendItemClick.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/options.d.ts +468 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/options.js +348 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/options.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/types.d.ts +6 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/types.js +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/types.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/addShowInNavigatorToSeries.d.ts +10 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/addShowInNavigatorToSeries.js +43 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/addShowInNavigatorToSeries.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/buildNavigatorFallback.d.ts +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/buildNavigatorFallback.js +18 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/buildNavigatorFallback.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/calculatePrecision.d.ts +5 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/calculatePrecision.js +21 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/calculatePrecision.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/concatStrings.d.ts +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/concatStrings.js +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/concatStrings.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/getChartKitFormattedValue.d.ts +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/getChartKitFormattedValue.js +16 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/getChartKitFormattedValue.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/getFormatOptionsFromLine.d.ts +3 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/getFormatOptionsFromLine.js +16 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/getFormatOptionsFromLine.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/getXAxisThresholdValue.d.ts +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/getXAxisThresholdValue.js +21 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/getXAxisThresholdValue.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/index.d.ts +78 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/index.js +22 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/index.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/isNavigatorSeries.d.ts +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/isNavigatorSeries.js +4 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/isNavigatorSeries.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/isSafari.d.ts +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/isSafari.js +13 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/isSafari.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/localStorage.d.ts +5 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/localStorage.js +24 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/localStorage.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/mergeArrayWithObject.d.ts +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/mergeArrayWithObject.js +11 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/mergeArrayWithObject.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/numberFormat.d.ts +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/numberFormat.js +29 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/numberFormat.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/setNavigatorDefaultPeriod.d.ts +13 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/setNavigatorDefaultPeriod.js +28 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/setNavigatorDefaultPeriod.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/tooltip.d.ts +7 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/tooltip.js +25 -0
- package/build/esm/plugins/highcharts/renderer/helpers/config/utils/tooltip.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/constants.d.ts +29 -0
- package/build/esm/plugins/highcharts/renderer/helpers/constants.js +32 -0
- package/build/esm/plugins/highcharts/renderer/helpers/constants.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/graph.css +82 -0
- package/build/esm/plugins/highcharts/renderer/helpers/graph.d.ts +553 -0
- package/build/esm/plugins/highcharts/renderer/helpers/graph.js +92 -0
- package/build/esm/plugins/highcharts/renderer/helpers/graph.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/highcharts/colors.d.ts +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/highcharts/colors.js +18 -0
- package/build/esm/plugins/highcharts/renderer/helpers/highcharts/colors.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/highcharts/highcharts.d.ts +5 -0
- package/build/esm/plugins/highcharts/renderer/helpers/highcharts/highcharts.js +371 -0
- package/build/esm/plugins/highcharts/renderer/helpers/highcharts/highcharts.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/highcharts/utils/calcucalteClosestPointManually.d.ts +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/highcharts/utils/calcucalteClosestPointManually.js +20 -0
- package/build/esm/plugins/highcharts/renderer/helpers/highcharts/utils/calcucalteClosestPointManually.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/highcharts/utils/index.d.ts +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/highcharts/utils/index.js +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/highcharts/utils/index.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/prepare-data.d.ts +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/prepare-data.js +182 -0
- package/build/esm/plugins/highcharts/renderer/helpers/prepare-data.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/constants.d.ts +13 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/constants.js +15 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/constants.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/helpers.d.ts +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/helpers.js +6 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/helpers.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/index.d.ts +13 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/index.js +269 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/index.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/index.d.ts +6 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/index.js +23 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/index.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashDotLineIcon.d.ts +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashDotLineIcon.js +21 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashDotLineIcon.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashLineIcon.d.ts +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashLineIcon.js +26 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashLineIcon.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DotLineIcon.d.ts +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DotLineIcon.js +21 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DotLineIcon.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotDotLineIcon.d.ts +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotDotLineIcon.js +19 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotDotLineIcon.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotLineIcon.d.ts +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotLineIcon.js +19 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotLineIcon.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashLineIcon.d.ts +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashLineIcon.js +16 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashLineIcon.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotDotLineIcon.d.ts +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotDotLineIcon.js +19 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotDotLineIcon.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotLineIcon.d.ts +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotLineIcon.js +19 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotLineIcon.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashLineIcon.d.ts +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashLineIcon.js +19 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashLineIcon.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDotLineIcon.d.ts +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDotLineIcon.js +21 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDotLineIcon.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/SolidLineIcon.d.ts +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/SolidLineIcon.js +14 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/SolidLineIcon.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/index.d.ts +11 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/index.js +12 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/index.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/types.d.ts +4 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/types.js +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/types.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/utils.d.ts +7 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/utils.js +6 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/utils.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/tooltip.css +313 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/types.d.ts +88 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/types.js +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/tooltip/types.js.map +1 -0
- package/build/esm/plugins/highcharts/renderer/helpers/types.d.ts +22 -0
- package/build/esm/plugins/highcharts/renderer/helpers/types.js +2 -0
- package/build/esm/plugins/highcharts/renderer/helpers/types.js.map +1 -0
- package/build/esm/plugins/highcharts/types/comments.d.ts +51 -0
- package/build/esm/plugins/highcharts/types/comments.js +2 -0
- package/build/esm/plugins/highcharts/types/comments.js.map +1 -0
- package/build/esm/plugins/highcharts/types/highcharts-extends.d.ts +53 -0
- package/build/esm/plugins/highcharts/types/index.d.ts +4 -0
- package/build/esm/plugins/highcharts/types/index.js +2 -0
- package/build/esm/plugins/highcharts/types/index.js.map +1 -0
- package/build/esm/plugins/highcharts/types/lib.js +2 -0
- package/build/esm/plugins/highcharts/types/lib.js.map +1 -0
- package/build/esm/plugins/highcharts/types/misc.d.ts +22 -0
- package/build/esm/plugins/highcharts/types/misc.js +2 -0
- package/build/esm/plugins/highcharts/types/misc.js.map +1 -0
- package/build/esm/plugins/highcharts/types/widget.d.ts +117 -0
- package/build/esm/plugins/highcharts/types/widget.js +2 -0
- package/build/esm/plugins/highcharts/types/widget.js.map +1 -0
- package/build/esm/plugins/indicator/index.d.ts +3 -0
- package/build/esm/plugins/indicator/index.js +9 -0
- package/build/esm/plugins/indicator/index.js.map +1 -0
- package/build/esm/plugins/indicator/renderer/IndicatorItem.d.ts +7 -0
- package/build/esm/plugins/indicator/renderer/IndicatorItem.js +16 -0
- package/build/esm/plugins/indicator/renderer/IndicatorItem.js.map +1 -0
- package/build/esm/plugins/indicator/renderer/IndicatorWidget.css +51 -0
- package/build/esm/plugins/indicator/renderer/IndicatorWidget.d.ts +20 -0
- package/build/esm/plugins/indicator/renderer/IndicatorWidget.js +34 -0
- package/build/esm/plugins/indicator/renderer/IndicatorWidget.js.map +1 -0
- package/build/esm/plugins/indicator/types.d.ts +15 -0
- package/build/esm/plugins/indicator/types.js +2 -0
- package/build/esm/plugins/indicator/types.js.map +1 -0
- package/build/esm/plugins/shared/format-number/format-number.d.ts +5 -0
- package/build/esm/plugins/shared/format-number/format-number.js +91 -0
- package/build/esm/plugins/shared/format-number/format-number.js.map +1 -0
- package/build/esm/plugins/shared/format-number/i18n/en.json +17 -0
- package/build/esm/plugins/shared/format-number/i18n/i18n.d.ts +5 -0
- package/build/esm/plugins/shared/format-number/i18n/i18n.js +9 -0
- package/build/esm/plugins/shared/format-number/i18n/i18n.js.map +1 -0
- package/build/esm/plugins/shared/format-number/i18n/ru.json +17 -0
- package/build/esm/plugins/shared/format-number/types.d.ts +14 -0
- package/build/esm/plugins/shared/format-number/types.js +2 -0
- package/build/esm/plugins/shared/format-number/types.js.map +1 -0
- package/build/esm/plugins/shared/index.d.ts +2 -0
- package/build/esm/plugins/shared/index.js +2 -0
- package/build/esm/plugins/shared/index.js.map +1 -0
- package/build/esm/plugins/yagr/index.d.ts +3 -0
- package/build/esm/plugins/yagr/index.js +7 -0
- package/build/esm/plugins/yagr/index.js.map +1 -0
- package/build/esm/plugins/yagr/renderer/YagrWidget.css +4 -0
- package/build/esm/plugins/yagr/renderer/YagrWidget.d.ts +24 -0
- package/build/esm/plugins/yagr/renderer/YagrWidget.js +78 -0
- package/build/esm/plugins/yagr/renderer/YagrWidget.js.map +1 -0
- package/build/esm/plugins/yagr/renderer/polyfills.js +16 -0
- package/build/esm/plugins/yagr/renderer/polyfills.js.map +1 -0
- package/build/esm/plugins/yagr/renderer/tooltip/helpers/escapeHTML.d.ts +1 -0
- package/build/esm/plugins/yagr/renderer/tooltip/helpers/escapeHTML.js +6 -0
- package/build/esm/plugins/yagr/renderer/tooltip/helpers/escapeHTML.js.map +1 -0
- package/build/esm/plugins/yagr/renderer/tooltip/index.d.ts +1 -0
- package/build/esm/plugins/yagr/renderer/tooltip/index.js +2 -0
- package/build/esm/plugins/yagr/renderer/tooltip/index.js.map +1 -0
- package/build/esm/plugins/yagr/renderer/tooltip/renderTooltip.d.ts +2 -0
- package/build/esm/plugins/yagr/renderer/tooltip/renderTooltip.js +68 -0
- package/build/esm/plugins/yagr/renderer/tooltip/renderTooltip.js.map +1 -0
- package/build/esm/plugins/yagr/renderer/tooltip/tooltip.css +306 -0
- package/build/esm/plugins/yagr/renderer/tooltip/tooltip.d.ts +3 -0
- package/build/esm/plugins/yagr/renderer/tooltip/tooltip.js +237 -0
- package/build/esm/plugins/yagr/renderer/tooltip/tooltip.js.map +1 -0
- package/build/esm/plugins/yagr/renderer/tooltip/types.d.ts +74 -0
- package/build/esm/plugins/yagr/renderer/tooltip/types.js +2 -0
- package/build/esm/plugins/yagr/renderer/tooltip/types.js.map +1 -0
- package/build/esm/plugins/yagr/renderer/useWidgetData.d.ts +6 -0
- package/build/esm/plugins/yagr/renderer/useWidgetData.js +26 -0
- package/build/esm/plugins/yagr/renderer/useWidgetData.js.map +1 -0
- package/build/esm/plugins/yagr/renderer/utils.d.ts +29 -0
- package/build/esm/plugins/yagr/renderer/utils.js +146 -0
- package/build/esm/plugins/yagr/renderer/utils.js.map +1 -0
- package/build/esm/plugins/yagr/types.d.ts +32 -0
- package/build/esm/plugins/yagr/types.js +2 -0
- package/build/esm/plugins/yagr/types.js.map +1 -0
- package/build/esm/types/index.d.ts +75 -0
- package/build/esm/types/index.js +2 -0
- package/build/esm/types/index.js.map +1 -0
- package/build/esm/types/misc.d.ts +4 -0
- package/build/esm/types/misc.js +2 -0
- package/build/esm/types/misc.js.map +1 -0
- package/build/esm/types/widget.d.ts +41 -0
- package/build/esm/types/widget.js +2 -0
- package/build/esm/types/widget.js.map +1 -0
- package/build/esm/utils/cn.d.ts +3 -0
- package/build/esm/utils/cn.js +5 -0
- package/build/esm/utils/cn.js.map +1 -0
- package/build/esm/utils/common.d.ts +2 -0
- package/build/esm/utils/common.js +9 -0
- package/build/esm/utils/common.js.map +1 -0
- package/build/esm/utils/getErrorMessage.d.ts +2 -0
- package/build/esm/utils/getErrorMessage.js +6 -0
- package/build/esm/utils/getErrorMessage.js.map +1 -0
- package/build/esm/utils/index.d.ts +4 -0
- package/build/esm/utils/index.js +5 -0
- package/build/esm/utils/index.js.map +1 -0
- package/build/esm/utils/merge.d.ts +19 -0
- package/build/esm/utils/merge.js +149 -0
- package/build/esm/utils/merge.js.map +1 -0
- package/build/esm/utils/misc.d.ts +2 -0
- package/build/esm/utils/misc.js +8 -0
- package/build/esm/utils/misc.js.map +1 -0
- package/build/esm/utils/performance.d.ts +5 -0
- package/build/esm/utils/performance.js +21 -0
- package/build/esm/utils/performance.js.map +1 -0
- package/build/esm/utils/react.d.ts +1 -0
- package/build/esm/utils/react.js +5 -0
- package/build/esm/utils/react.js.map +1 -0
- package/build/esm/utils/throttle.d.ts +13 -0
- package/build/esm/utils/throttle.js +44 -0
- package/build/esm/utils/throttle.js.map +1 -0
- package/package.json +85 -25
- package/build/components/ChartKit.css +0 -32
- package/build/components/ChartKit.d.ts +0 -11
- package/build/components/ChartKit.js +0 -40
- package/build/components/ErrorBoundary/ErrorBoundary.d.ts +0 -23
- package/build/components/ErrorBoundary/ErrorBoundary.js +0 -51
- package/build/components/Loader/Loader.d.ts +0 -9
- package/build/components/Loader/Loader.js +0 -16
- package/build/components/SplitPane/Pane.d.ts +0 -14
- package/build/components/SplitPane/Pane.js +0 -26
- package/build/components/SplitPane/Resizer.d.ts +0 -18
- package/build/components/SplitPane/Resizer.js +0 -26
- package/build/components/SplitPane/SplitPane.d.ts +0 -60
- package/build/components/SplitPane/SplitPane.js +0 -243
- package/build/components/SplitPane/StyledSplitPane.css +0 -52
- package/build/components/SplitPane/StyledSplitPane.d.ts +0 -9
- package/build/components/SplitPane/StyledSplitPane.js +0 -32
- package/build/components/SplitPane/constants.js +0 -4
- package/build/components/SplitPane/index.d.ts +0 -8
- package/build/components/SplitPane/index.js +0 -18
- package/build/components/SplitPane/types.d.ts +0 -2
- package/build/components/SplitTooltip/SplitTooltip.d.ts +0 -63
- package/build/components/SplitTooltip/SplitTooltip.js +0 -129
- package/build/components/SplitTooltip/index.d.ts +0 -2
- package/build/components/SplitTooltip/index.js +0 -1
- package/build/constants/common.js +0 -2
- package/build/constants/index.d.ts +0 -3
- package/build/constants/index.js +0 -3
- package/build/constants/misc.js +0 -19
- package/build/constants/widget-data.js +0 -47
- package/build/hooks/index.d.ts +0 -1
- package/build/hooks/index.js +0 -1
- package/build/hooks/misc.js +0 -8
- package/build/i18n/index.d.ts +0 -7
- package/build/i18n/index.js +0 -10
- package/build/index.d.ts +0 -8
- package/build/index.js +0 -6
- package/build/libs/chartkit-error/chartkit-error.js +0 -21
- package/build/libs/index.d.ts +0 -3
- package/build/libs/index.js +0 -2
- package/build/libs/settings/eventEmitter.js +0 -25
- package/build/libs/settings/mergeSettingStrategy.js +0 -31
- package/build/libs/settings/settings.d.ts +0 -22
- package/build/libs/settings/settings.js +0 -41
- package/build/plugins/gravity-charts/index.d.ts +0 -4
- package/build/plugins/gravity-charts/index.js +0 -7
- package/build/plugins/gravity-charts/renderer/GravityChartsWidget.d.ts +0 -22
- package/build/plugins/gravity-charts/renderer/GravityChartsWidget.js +0 -70
- package/build/plugins/gravity-charts/renderer/utils.d.ts +0 -2
- package/build/plugins/gravity-charts/renderer/utils.js +0 -18
- package/build/plugins/gravity-charts/renderer/withSplitPane/TooltipContent.js +0 -13
- package/build/plugins/gravity-charts/renderer/withSplitPane/useViewportSplitTooltipLayout.d.ts +0 -3
- package/build/plugins/gravity-charts/renderer/withSplitPane/useViewportSplitTooltipLayout.js +0 -29
- package/build/plugins/gravity-charts/renderer/withSplitPane/withSplitPane.js +0 -61
- package/build/plugins/gravity-charts/types.d.ts +0 -5
- package/build/plugins/gravity-charts/types.js +0 -1
- package/build/plugins/highcharts/index.d.ts +0 -4
- package/build/plugins/highcharts/index.js +0 -7
- package/build/plugins/highcharts/renderer/HighchartsWidget.d.ts +0 -32
- package/build/plugins/highcharts/renderer/HighchartsWidget.js +0 -6
- package/build/plugins/highcharts/renderer/components/HighchartsComponent.d.ts +0 -579
- package/build/plugins/highcharts/renderer/components/HighchartsComponent.js +0 -155
- package/build/plugins/highcharts/renderer/components/HighchartsReact.d.ts +0 -20
- package/build/plugins/highcharts/renderer/components/HighchartsReact.js +0 -74
- package/build/plugins/highcharts/renderer/components/useElementSize.js +0 -50
- package/build/plugins/highcharts/renderer/components/withSplitPane/withSplitPane.d.ts +0 -18
- package/build/plugins/highcharts/renderer/components/withSplitPane/withSplitPane.js +0 -217
- package/build/plugins/highcharts/renderer/helpers/add-holidays.d.ts +0 -3
- package/build/plugins/highcharts/renderer/helpers/add-holidays.js +0 -43
- package/build/plugins/highcharts/renderer/helpers/comments/drawing.js +0 -571
- package/build/plugins/highcharts/renderer/helpers/config/config.js +0 -1515
- package/build/plugins/highcharts/renderer/helpers/config/handleLegendItemClick.js +0 -75
- package/build/plugins/highcharts/renderer/helpers/config/options.js +0 -350
- package/build/plugins/highcharts/renderer/helpers/config/types.js +0 -1
- package/build/plugins/highcharts/renderer/helpers/config/utils/addShowInNavigatorToSeries.d.ts +0 -10
- package/build/plugins/highcharts/renderer/helpers/config/utils/addShowInNavigatorToSeries.js +0 -42
- package/build/plugins/highcharts/renderer/helpers/config/utils/buildNavigatorFallback.js +0 -17
- package/build/plugins/highcharts/renderer/helpers/config/utils/calculatePrecision.js +0 -20
- package/build/plugins/highcharts/renderer/helpers/config/utils/concatStrings.js +0 -1
- package/build/plugins/highcharts/renderer/helpers/config/utils/getChartKitFormattedValue.d.ts +0 -2
- package/build/plugins/highcharts/renderer/helpers/config/utils/getChartKitFormattedValue.js +0 -15
- package/build/plugins/highcharts/renderer/helpers/config/utils/getFormatOptionsFromLine.d.ts +0 -3
- package/build/plugins/highcharts/renderer/helpers/config/utils/getFormatOptionsFromLine.js +0 -15
- package/build/plugins/highcharts/renderer/helpers/config/utils/getXAxisThresholdValue.js +0 -20
- package/build/plugins/highcharts/renderer/helpers/config/utils/index.d.ts +0 -78
- package/build/plugins/highcharts/renderer/helpers/config/utils/index.js +0 -21
- package/build/plugins/highcharts/renderer/helpers/config/utils/isNavigatorSeries.d.ts +0 -2
- package/build/plugins/highcharts/renderer/helpers/config/utils/isNavigatorSeries.js +0 -3
- package/build/plugins/highcharts/renderer/helpers/config/utils/isSafari.js +0 -12
- package/build/plugins/highcharts/renderer/helpers/config/utils/localStorage.js +0 -23
- package/build/plugins/highcharts/renderer/helpers/config/utils/mergeArrayWithObject.js +0 -10
- package/build/plugins/highcharts/renderer/helpers/config/utils/numberFormat.d.ts +0 -2
- package/build/plugins/highcharts/renderer/helpers/config/utils/numberFormat.js +0 -19
- package/build/plugins/highcharts/renderer/helpers/config/utils/setNavigatorDefaultPeriod.d.ts +0 -13
- package/build/plugins/highcharts/renderer/helpers/config/utils/setNavigatorDefaultPeriod.js +0 -27
- package/build/plugins/highcharts/renderer/helpers/config/utils/tooltip.d.ts +0 -7
- package/build/plugins/highcharts/renderer/helpers/config/utils/tooltip.js +0 -25
- package/build/plugins/highcharts/renderer/helpers/constants.js +0 -31
- package/build/plugins/highcharts/renderer/helpers/graph.css +0 -98
- package/build/plugins/highcharts/renderer/helpers/graph.d.ts +0 -553
- package/build/plugins/highcharts/renderer/helpers/graph.js +0 -88
- package/build/plugins/highcharts/renderer/helpers/highcharts/colors.js +0 -17
- package/build/plugins/highcharts/renderer/helpers/highcharts/highcharts.js +0 -370
- package/build/plugins/highcharts/renderer/helpers/highcharts/utils/calcucalteClosestPointManually.js +0 -19
- package/build/plugins/highcharts/renderer/helpers/highcharts/utils/index.d.ts +0 -1
- package/build/plugins/highcharts/renderer/helpers/highcharts/utils/index.js +0 -1
- package/build/plugins/highcharts/renderer/helpers/prepare-data.js +0 -181
- package/build/plugins/highcharts/renderer/helpers/tooltip/constants.js +0 -14
- package/build/plugins/highcharts/renderer/helpers/tooltip/helpers.js +0 -5
- package/build/plugins/highcharts/renderer/helpers/tooltip/index.d.ts +0 -13
- package/build/plugins/highcharts/renderer/helpers/tooltip/index.js +0 -263
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/index.d.ts +0 -6
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/index.js +0 -22
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashDotLineIcon.d.ts +0 -2
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashDotLineIcon.js +0 -20
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashLineIcon.d.ts +0 -2
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DashLineIcon.js +0 -25
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DotLineIcon.d.ts +0 -2
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/DotLineIcon.js +0 -20
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotDotLineIcon.d.ts +0 -2
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotDotLineIcon.js +0 -18
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotLineIcon.d.ts +0 -2
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashDotLineIcon.js +0 -18
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashLineIcon.d.ts +0 -2
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/LongDashLineIcon.js +0 -15
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotDotLineIcon.d.ts +0 -2
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotDotLineIcon.js +0 -18
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotLineIcon.d.ts +0 -2
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashDotLineIcon.js +0 -18
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashLineIcon.d.ts +0 -2
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDashLineIcon.js +0 -18
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDotLineIcon.d.ts +0 -2
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/ShortDotLineIcon.js +0 -20
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/SolidLineIcon.d.ts +0 -2
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/SolidLineIcon.js +0 -13
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/index.d.ts +0 -11
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/template-icons/index.js +0 -11
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/types.js +0 -1
- package/build/plugins/highcharts/renderer/helpers/tooltip/render-shape-icon/utils.js +0 -5
- package/build/plugins/highcharts/renderer/helpers/tooltip/tooltip.css +0 -370
- package/build/plugins/highcharts/renderer/helpers/tooltip/types.d.ts +0 -88
- package/build/plugins/highcharts/renderer/helpers/tooltip/types.js +0 -1
- package/build/plugins/highcharts/renderer/helpers/types.d.ts +0 -22
- package/build/plugins/highcharts/renderer/helpers/types.js +0 -1
- package/build/plugins/highcharts/types/comments.js +0 -1
- package/build/plugins/highcharts/types/index.d.ts +0 -4
- package/build/plugins/highcharts/types/index.js +0 -1
- package/build/plugins/highcharts/types/misc.d.ts +0 -22
- package/build/plugins/highcharts/types/misc.js +0 -1
- package/build/plugins/highcharts/types/widget.d.ts +0 -117
- package/build/plugins/highcharts/types/widget.js +0 -1
- package/build/plugins/indicator/index.d.ts +0 -3
- package/build/plugins/indicator/index.js +0 -6
- package/build/plugins/indicator/renderer/IndicatorItem.d.ts +0 -7
- package/build/plugins/indicator/renderer/IndicatorItem.js +0 -15
- package/build/plugins/indicator/renderer/IndicatorWidget.css +0 -62
- package/build/plugins/indicator/renderer/IndicatorWidget.d.ts +0 -21
- package/build/plugins/indicator/renderer/IndicatorWidget.js +0 -34
- package/build/plugins/indicator/types.js +0 -1
- package/build/plugins/shared/format-number/format-number.d.ts +0 -5
- package/build/plugins/shared/format-number/format-number.js +0 -87
- package/build/plugins/shared/format-number/i18n/i18n.js +0 -8
- package/build/plugins/shared/format-number/types.js +0 -1
- package/build/plugins/shared/index.d.ts +0 -2
- package/build/plugins/shared/index.js +0 -1
- package/build/plugins/yagr/index.d.ts +0 -3
- package/build/plugins/yagr/index.js +0 -6
- package/build/plugins/yagr/renderer/YagrWidget.d.ts +0 -25
- package/build/plugins/yagr/renderer/YagrWidget.js +0 -79
- package/build/plugins/yagr/renderer/polyfills.js +0 -15
- package/build/plugins/yagr/renderer/tooltip/helpers/escapeHTML.js +0 -5
- package/build/plugins/yagr/renderer/tooltip/index.d.ts +0 -1
- package/build/plugins/yagr/renderer/tooltip/index.js +0 -1
- package/build/plugins/yagr/renderer/tooltip/renderTooltip.d.ts +0 -2
- package/build/plugins/yagr/renderer/tooltip/renderTooltip.js +0 -60
- package/build/plugins/yagr/renderer/tooltip/tooltip.css +0 -371
- package/build/plugins/yagr/renderer/tooltip/tooltip.d.ts +0 -3
- package/build/plugins/yagr/renderer/tooltip/tooltip.js +0 -230
- package/build/plugins/yagr/renderer/tooltip/types.js +0 -1
- package/build/plugins/yagr/renderer/useWidgetData.d.ts +0 -6
- package/build/plugins/yagr/renderer/useWidgetData.js +0 -26
- package/build/plugins/yagr/renderer/utils.d.ts +0 -29
- package/build/plugins/yagr/renderer/utils.js +0 -141
- package/build/plugins/yagr/types.d.ts +0 -32
- package/build/plugins/yagr/types.js +0 -1
- package/build/types/index.d.ts +0 -75
- package/build/types/index.js +0 -1
- package/build/types/misc.js +0 -1
- package/build/types/widget.d.ts +0 -41
- package/build/types/widget.js +0 -1
- package/build/utils/cn.js +0 -4
- package/build/utils/common.js +0 -8
- package/build/utils/getErrorMessage.d.ts +0 -2
- package/build/utils/getErrorMessage.js +0 -5
- package/build/utils/index.d.ts +0 -4
- package/build/utils/index.js +0 -4
- package/build/utils/misc.d.ts +0 -2
- package/build/utils/misc.js +0 -7
- package/build/utils/performance.js +0 -20
- package/build/utils/react.js +0 -4
- /package/build/{components → cjs/components}/Loader/Loader.css +0 -0
- /package/build/{components → cjs/components}/SplitPane/constants.d.ts +0 -0
- /package/build/{constants → cjs/constants}/common.d.ts +0 -0
- /package/build/{constants → cjs/constants}/misc.d.ts +0 -0
- /package/build/{constants → cjs/constants}/widget-data.d.ts +0 -0
- /package/build/{hooks → cjs/hooks}/misc.d.ts +0 -0
- /package/build/{i18n → cjs/i18n}/keysets/en.json +0 -0
- /package/build/{i18n → cjs/i18n}/keysets/ru.json +0 -0
- /package/build/{libs → cjs/libs}/chartkit-error/chartkit-error.d.ts +0 -0
- /package/build/{libs → cjs/libs}/settings/eventEmitter.d.ts +0 -0
- /package/build/{libs → cjs/libs}/settings/mergeSettingStrategy.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/gravity-charts/renderer/withSplitPane/TooltipContent.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/gravity-charts/renderer/withSplitPane/withSplitPane.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/components/HighchartsComponent.css +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/components/useElementSize.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/components/withSplitPane/WithSplitPane.css +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/comments/drawing.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/config/config.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/config/handleLegendItemClick.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/config/options.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/config/types.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/config/utils/buildNavigatorFallback.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/config/utils/calculatePrecision.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/config/utils/concatStrings.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/config/utils/getXAxisThresholdValue.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/config/utils/isSafari.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/config/utils/localStorage.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/config/utils/mergeArrayWithObject.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/constants.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/highcharts/colors.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/highcharts/highcharts.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/highcharts/utils/calcucalteClosestPointManually.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/prepare-data.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/tooltip/constants.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/tooltip/helpers.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/tooltip/render-shape-icon/types.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/renderer/helpers/tooltip/render-shape-icon/utils.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/types/comments.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/types/highcharts-extends.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/highcharts/types/lib.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/indicator/types.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/shared/format-number/i18n/en.json +0 -0
- /package/build/{plugins → cjs/plugins}/shared/format-number/i18n/i18n.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/shared/format-number/i18n/ru.json +0 -0
- /package/build/{plugins → cjs/plugins}/shared/format-number/types.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/yagr/renderer/YagrWidget.css +0 -0
- /package/build/{components/SplitPane/types.js → cjs/plugins/yagr/renderer/polyfills.d.ts} +0 -0
- /package/build/{plugins → cjs/plugins}/yagr/renderer/tooltip/helpers/escapeHTML.d.ts +0 -0
- /package/build/{plugins → cjs/plugins}/yagr/renderer/tooltip/types.d.ts +0 -0
- /package/build/{types → cjs/types}/misc.d.ts +0 -0
- /package/build/{utils → cjs/utils}/cn.d.ts +0 -0
- /package/build/{utils → cjs/utils}/common.d.ts +0 -0
- /package/build/{utils → cjs/utils}/performance.d.ts +0 -0
- /package/build/{utils → cjs/utils}/react.d.ts +0 -0
- /package/build/{plugins/highcharts/types/lib.js → esm/plugins/highcharts/types/lib.d.ts} +0 -0
- /package/build/{plugins → esm/plugins}/yagr/renderer/polyfills.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawing.js","sourceRoot":"../../../../../../../src","sources":["plugins/highcharts/renderer/helpers/comments/drawing.js"],"names":[],"mappings":";AAAA,+BAA+B;;AA0B/B,sCAkCC;AAofD,oCA8CC;AAED,4DA+BC;AAED,oCAmCC;AAED,8CA6BC;AAjsBD,MAAM,UAAU,GAAG,CAAC,CAAC;AACrB,MAAM,UAAU,GAAG,UAAU,GAAG,CAAC,CAAC;AAClC,MAAM,eAAe,GAAG,UAAU,GAAG,CAAC,CAAC;AAEvC,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;AAChD,MAAM,2BAA2B,GAAG,6BAA6B,CAAC;AAElE,MAAM,aAAa,GAAG,SAAS,CAAC;AAChC,MAAM,kBAAkB,GAAG,OAAO,CAAC;AACn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AI,OAAO,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;gBACrC,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;oBAClB,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,EAAC,IAAI,EAAE,OAAO,CAAC,IAAI,EAAC,CAAC;gBACvD,CAAC;qBAAM,CAAC;oBACJ,MAAM,IAAI,GAAG,OAAO,CAAC,KAAK;wBACtB,CAAC,CAAC,OAAO,CAAC,KAAK,GAAG,MAAM,GAAG,CAAC,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC;wBAC/C,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;oBAEnB,SAAS,CAAC,IAAI,CAAC,EAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,IAAI,aAAa,EAAC,CAAC,CAAC;gBACxE,CAAC;YACL,CAAC;iBAAM,IACH,OAAO,CAAC,IAAI;gBACZ,OAAO,CAAC,IAAI,IAAI,KAAK,CAAC,CAAC;gBACvB,KAAK,CAAC,CAAC,IAAI,OAAO,CAAC,EAAE;gBACrB,OAAO,CAAC,KAAK,EACf,CAAC;gBACC,SAAS,CAAC,IAAI,CAAC,EAAC,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,IAAI,aAAa,EAAC,CAAC,CAAC;YAChF,CAAC;QACL,CAAC,CAAC,CAAC;IACP,CAAC;IAED,OAAO,EAAC,SAAS,EAAE,UAAU,EAAC,CAAC;AACnC,CAAC","sourcesContent":["/* eslint-disable complexity */\n\nconst DOT_RADIUS = 5;\nconst DOT_MARGIN = DOT_RADIUS * 3;\nconst DOT_HALF_MARGIN = DOT_MARGIN / 2;\n\nconst HIGHCHARTS_COMMENT = 'highcharts-comment';\nconst HIGHCHARTS_RENDERER_COMMENT = 'highcharts-renderer-comment';\n\nconst DEFAULT_COLOR = '#ffcc00';\nconst DEFAULT_TEXT_COLOR = 'white';\nconst DEFAULT_FILL_COLOR = 'black';\n\nconst Z_INDEX = 10;\n\nconst TYPES = {\n FLAG_X: 'flag-x',\n LINE_X: 'line-x',\n BAND_X: 'band-x',\n DOT_XY: 'dot-x-y',\n};\n\nfunction convertDateToX(date) {\n return new Date(date).valueOf();\n}\n\nexport function extendComment({meta, ...rest}, chart) {\n const extended = Object.assign({}, rest, meta);\n\n const {\n userOptions: {_config: {comments: {ignoreScale} = {}} = {}},\n xAxis: [xAxis],\n } = chart;\n\n if (extended.dateUntil) {\n extended.from = convertDateToX(extended.date);\n extended.to = convertDateToX(extended.dateUntil);\n } else if (extended.date) {\n extended.x = convertDateToX(extended.date);\n }\n\n let isFit;\n if (extended.x) {\n isFit = extended.x >= xAxis.min && extended.x <= xAxis.max;\n\n if (ignoreScale === false && isFit) {\n isFit = xAxis.series.some(({xData}) => xData.indexOf(extended.x) !== -1);\n }\n } else {\n isFit = extended.from <= xAxis.max && extended.to >= xAxis.min;\n\n if (ignoreScale === false && isFit) {\n isFit = xAxis.series.some(({xData}) =>\n xData.some((x) => extended.from <= x && x <= extended.to),\n );\n }\n }\n extended.isFit = isFit;\n\n return extended;\n}\n\nfunction drawFlagX(chart, {isFit, x, text, y, shape, color = DEFAULT_COLOR}) {\n if (!isFit) {\n return;\n }\n\n chart.addSeries(\n {\n className: HIGHCHARTS_COMMENT,\n type: 'flags',\n data: [{x, text, title: text}],\n y: y || -30,\n shape: shape || 'circlepin',\n color,\n // lineWidth: 2,\n showInLegend: false,\n zIndex: Z_INDEX,\n },\n false,\n false,\n );\n}\n\nfunction drawLineX(chart, {isFit, x, color = DEFAULT_COLOR, width, dashStyle, text}) {\n if (!isFit) {\n return;\n }\n\n const line = chart.xAxis[0].addPlotLine({\n className: HIGHCHARTS_COMMENT,\n value: x,\n color,\n width: width || 2,\n dashStyle,\n label: {\n className: HIGHCHARTS_COMMENT,\n text,\n },\n id: Math.random().toFixed(3).toString(),\n zIndex: Z_INDEX,\n });\n\n line.svgElem.element.classList.add(HIGHCHARTS_COMMENT);\n}\n\nfunction drawBandX(chart, options, onlyRenderer) {\n if (!options.isFit) {\n return;\n }\n\n const xAxis = chart.xAxis[0];\n const yAxis = chart.yAxis[0];\n const xExtremes = xAxis.getExtremes();\n const yExtremes = yAxis.getExtremes();\n\n let from;\n let to;\n let xFromPx;\n let yFromPx;\n let width = 0;\n\n let half;\n\n while (Math.abs(width) < 3) {\n half = half === undefined ? xAxis.closestPointRange / 2 : half * 1.5;\n\n from = Math.max(options.from || options.x, xExtremes.dataMin) - half;\n to = Math.min(options.to || options.x, xExtremes.dataMax) + half;\n\n xFromPx = Math.max(xAxis.toPixels(from), chart.plotLeft);\n yFromPx = yAxis.toPixels(yExtremes.max);\n const xToPx = Math.min(xAxis.toPixels(to), chart.plotLeft + chart.plotWidth);\n width = xToPx - xFromPx;\n }\n\n if (options.visible && !onlyRenderer) {\n xAxis.addPlotBand({\n from: from,\n to: to,\n color: options.color || DEFAULT_COLOR,\n zIndex: options.zIndex || 0,\n className: ' highcharts-plot-band_comment ' + HIGHCHARTS_COMMENT,\n });\n }\n\n if (yFromPx) {\n chart.renderer\n .rect(xFromPx, yFromPx, width, 4, 0)\n .attr({\n fill: options.color || DEFAULT_COLOR,\n zIndex: 1,\n opacity: 0.8,\n class: HIGHCHARTS_RENDERER_COMMENT,\n })\n .add();\n }\n}\n\nfunction getDotLabelPositions(options) {\n const width = options.width;\n const height = options.height;\n const pointX = options.pointX;\n const pointY = options.pointY;\n const plotRight = options.plotRight;\n const plotBottom = options.plotBottom;\n\n const widthPlusMargin = width + DOT_MARGIN;\n const widthMinusMargin = width - DOT_MARGIN;\n const heightPlusMargin = height + DOT_MARGIN;\n const heightMinusMargin = height - DOT_MARGIN;\n\n const halfWidth = width / 2;\n const halfHeight = height / 2;\n\n const positions = [];\n\n let x;\n let y;\n let anchor;\n\n // top\n if (pointY > heightPlusMargin) {\n y = pointY - heightPlusMargin;\n anchor = [\n 'M',\n pointX,\n pointY - DOT_HALF_MARGIN,\n 'L',\n pointX - DOT_RADIUS,\n pointY - DOT_MARGIN,\n pointX + DOT_RADIUS,\n pointY - DOT_MARGIN,\n 'Z',\n ];\n\n // top-left\n if (pointX > widthMinusMargin) {\n positions.push({\n x: pointX - widthMinusMargin,\n y: y,\n w: width,\n h: height,\n anchor: anchor,\n });\n }\n\n // top-right\n if (pointX + widthMinusMargin < plotRight) {\n positions.push({\n x: pointX - DOT_MARGIN,\n y: y,\n w: width,\n h: height,\n anchor: anchor,\n });\n }\n\n // top-mid\n if (pointX > halfWidth && pointX + halfWidth < plotRight) {\n positions.push({\n x: pointX - halfWidth,\n y: y,\n w: width,\n h: height,\n anchor: anchor,\n });\n }\n }\n\n // right\n if (pointX + widthPlusMargin < plotRight) {\n x = pointX + DOT_MARGIN;\n anchor = [\n 'M',\n pointX + DOT_HALF_MARGIN,\n pointY,\n 'L',\n pointX + DOT_MARGIN,\n pointY + DOT_RADIUS,\n pointX + DOT_MARGIN,\n pointY - DOT_RADIUS,\n 'Z',\n ];\n\n // right-top\n if (pointY > heightMinusMargin) {\n positions.push({\n x: x,\n y: pointY - heightMinusMargin,\n w: width,\n h: height,\n anchor: anchor,\n });\n }\n\n // right-bottom\n if (pointY + heightMinusMargin < plotBottom) {\n positions.push({\n x: x,\n y: pointY - DOT_MARGIN,\n w: width,\n h: height,\n anchor: anchor,\n });\n }\n\n // right-mid\n if (pointY > halfHeight && pointY + halfHeight < plotBottom) {\n positions.push({\n x: x,\n y: pointY - halfHeight,\n w: width,\n h: height,\n anchor: anchor,\n });\n }\n }\n\n // bottom\n if (pointY + heightPlusMargin < plotBottom) {\n y = pointY + DOT_MARGIN;\n anchor = [\n 'M',\n pointX,\n pointY + DOT_HALF_MARGIN,\n 'L',\n pointX - DOT_RADIUS,\n pointY + DOT_MARGIN,\n pointX + DOT_RADIUS,\n pointY + DOT_MARGIN,\n 'Z',\n ];\n\n // bottom-left\n if (pointX > widthMinusMargin) {\n positions.push({\n x: pointX - widthMinusMargin,\n y: y,\n w: width,\n h: height,\n anchor: anchor,\n });\n }\n\n // bottom-right\n if (pointX + widthMinusMargin < plotRight) {\n positions.push({\n x: pointX - DOT_MARGIN,\n y: y,\n w: width,\n h: height,\n anchor: anchor,\n });\n }\n\n // bottom-mid\n if (pointX > halfWidth && pointX + halfWidth < plotRight) {\n positions.push({\n x: pointX - halfWidth,\n y: y,\n w: width,\n h: height,\n anchor: anchor,\n });\n }\n }\n\n // left\n if (pointX > widthPlusMargin) {\n x = pointX - widthPlusMargin;\n anchor = [\n 'M',\n pointX - DOT_HALF_MARGIN,\n pointY,\n 'L',\n pointX - DOT_MARGIN,\n pointY + DOT_RADIUS,\n pointX - DOT_MARGIN,\n pointY - DOT_RADIUS,\n 'Z',\n ];\n\n // left-top\n if (pointY > heightMinusMargin) {\n positions.push({\n x: x,\n y: pointY - heightMinusMargin,\n w: width,\n h: height,\n anchor: anchor,\n });\n }\n\n // left-bottom\n if (pointY + heightMinusMargin < plotBottom) {\n positions.push({\n x: x,\n y: pointY - DOT_MARGIN,\n w: width,\n h: height,\n anchor: anchor,\n });\n }\n\n // left-mid\n if (pointY > halfHeight && pointY + halfHeight < plotBottom) {\n positions.push({\n x: x,\n y: pointY - halfHeight,\n w: width,\n h: height,\n anchor: anchor,\n });\n }\n }\n\n return positions;\n}\n\nfunction drawDot(chart, options) {\n if (!options.isFit) {\n return;\n }\n\n const seriesIndex = chart.series.findIndex(\n ({name, userOptions: {id}, visible}) => options.graphId === (id || name) && visible,\n );\n\n if (seriesIndex === -1) {\n return null;\n }\n\n const point = chart.series[seriesIndex].data.find((_point) => _point && _point.x === options.x);\n const color = options.color || chart.series[seriesIndex].color;\n\n if (!point) {\n return null;\n }\n\n point.update(\n {\n marker: {\n enabled: true,\n radius: DOT_RADIUS,\n fillColor: color,\n states: {\n hover: {\n fillColor: color,\n },\n },\n },\n },\n false,\n false,\n );\n}\n\nfunction drawDotLabel(chart, options) {\n if (!options.visible || !options.isFit) {\n return null;\n }\n\n const seriesIndex = chart.series.findIndex(\n ({name, userOptions: {id}, visible}) => options.graphId === (id || name) && visible,\n );\n\n if (seriesIndex === -1) {\n return null;\n }\n\n const point = chart.series[seriesIndex]\n .getValidPoints()\n .find((_point) => _point && _point.x === options.x);\n\n if (!point) {\n return null;\n }\n\n const pointX = point.plotX + chart.plotLeft;\n const pointY = point.plotY + chart.plotTop;\n const label = chart.renderer\n .label(options.text, pointX, pointY, 'callout')\n .css({\n color: options.textColor || DEFAULT_TEXT_COLOR,\n width: 150,\n fontSize: 10,\n })\n .attr({\n fill: options.fillColor || DEFAULT_FILL_COLOR,\n padding: 8,\n opacity: 0.7,\n r: 8,\n zIndex: 6,\n class: HIGHCHARTS_RENDERER_COMMENT,\n })\n .add();\n const positions = getDotLabelPositions({\n width: label.width,\n height: label.height,\n pointX: pointX,\n pointY: pointY,\n plotRight: chart.plotWidth + chart.plotLeft,\n plotBottom: chart.plotHeight + chart.plotTop,\n });\n\n if (positions.length === 0) {\n label.destroy();\n return null;\n }\n\n return {label: label, positions: positions, fillColor: options.fillColor};\n}\n\nfunction isRectsIntersects(ax1, ax2, ay1, ay2, bx1, bx2, by1, by2) {\n return ax1 < bx2 && ax2 > bx1 && ay1 < by2 && ay2 > by1;\n}\n\nfunction translateDotsLabels(chart, notTranslatedDotsLabels) {\n const translatedDotsLabels = [];\n\n notTranslatedDotsLabels\n .sort((a, b) => {\n return a.label.x - b.label.x;\n })\n .forEach((label, index) => {\n const available = label.positions\n .map((position) => {\n return {\n previous: translatedDotsLabels.filter((translated) => {\n return isRectsIntersects(\n position.x,\n position.x + position.w,\n position.y,\n position.y + position.h,\n translated.x,\n translated.x + translated.w,\n translated.y,\n translated.y + translated.h,\n );\n }).length,\n\n next: notTranslatedDotsLabels\n .slice(index + 1, notTranslatedDotsLabels.length)\n .filter((notTranslated) => {\n return (\n notTranslated.label.x > position.x &&\n notTranslated.label.x < position.x + position.w &&\n notTranslated.label.y > position.y &&\n notTranslated.label.y < position.y + position.h\n );\n })\n .map((notTranslated) => {\n return notTranslated.positions.filter((notPosition) => {\n return isRectsIntersects(\n notPosition.x,\n notPosition.x + notPosition.w,\n notPosition.y,\n notPosition.y + notPosition.h,\n position.x,\n position.x + position.w,\n position.y,\n position.y + position.h,\n );\n }).length;\n })\n .reduce((sum, current) => {\n return sum + current;\n }, 0),\n\n position: position,\n };\n })\n .sort((a, b) => {\n return a.previous === b.previous ? a.next - b.next : a.previous - b.previous;\n });\n\n label.label.translate(available[0].position.x, available[0].position.y);\n\n chart.renderer\n .path(available[0].position.anchor)\n .attr({\n strokeWidth: 1,\n stroke: label.fillColor || DEFAULT_FILL_COLOR,\n fill: label.fillColor || DEFAULT_FILL_COLOR,\n opacity: 0.7,\n zIndex: 6,\n class: HIGHCHARTS_RENDERER_COMMENT,\n })\n .add();\n\n translatedDotsLabels.push({\n x: available[0].position.x,\n y: available[0].position.y,\n w: available[0].position.w,\n h: available[0].position.h,\n });\n });\n}\n\nexport function drawComments(chart, comments, settings, force) {\n if (force) {\n settings.hideComments = false;\n } else if (settings.hideComments) {\n return;\n }\n\n if (comments) {\n const notTranslatedDotsLabels = [];\n\n comments.forEach((comment) => {\n const extendedComment = extendComment(comment, chart);\n\n switch (comment.type) {\n case TYPES.FLAG_X:\n drawFlagX(chart, extendedComment);\n break;\n case TYPES.LINE_X:\n drawLineX(chart, extendedComment);\n break;\n case TYPES.BAND_X:\n drawBandX(chart, extendedComment, false);\n break;\n case TYPES.DOT_XY: {\n drawDot(chart, extendedComment);\n\n const metaDotLabel = drawDotLabel(chart, extendedComment);\n\n if (metaDotLabel) {\n notTranslatedDotsLabels.push(metaDotLabel);\n }\n break;\n }\n }\n });\n\n translateDotsLabels(chart, notTranslatedDotsLabels);\n\n if (\n comments.some(\n (comment) => comment.type === TYPES.DOT_XY || comment.type === TYPES.FLAG_X,\n )\n ) {\n chart.redraw();\n }\n }\n}\n\nexport function drawOnlyRendererComments(chart, comments = [], settings) {\n if (settings.hideComments) {\n return;\n }\n\n const notTranslatedDotsLabels = [];\n\n if (comments && comments.length && chart.container) {\n chart.container\n .querySelectorAll(`.${HIGHCHARTS_RENDERER_COMMENT}`)\n .forEach((elem) => elem.remove());\n\n comments.forEach((comment) => {\n const extendedComment = extendComment(comment, chart);\n\n switch (comment.type) {\n case TYPES.BAND_X:\n drawBandX(chart, extendedComment, true);\n break;\n case TYPES.DOT_XY: {\n const metaDotLabel = drawDotLabel(chart, extendedComment);\n if (metaDotLabel) {\n notTranslatedDotsLabels.push(metaDotLabel);\n }\n break;\n }\n }\n });\n\n translateDotsLabels(chart, notTranslatedDotsLabels);\n }\n}\n\nexport function hideComments(chart, comments, settings, force) {\n if (chart && chart.container && comments && comments.length) {\n chart.container.querySelectorAll(`.${HIGHCHARTS_COMMENT}`).forEach((elem) => elem.remove());\n chart.container\n .querySelectorAll(`.${HIGHCHARTS_RENDERER_COMMENT}`)\n .forEach((elem) => elem.remove());\n chart.series.forEach(\n (serie) => serie.options.type === 'flags' && serie.remove(false, false, false),\n );\n\n comments.forEach((comment) => {\n const extendedComment = extendComment(comment, chart);\n\n if (extendedComment.type === TYPES.DOT_XY) {\n const seriesIndex = chart.series.findIndex(\n (graph) => (graph.userOptions.id || graph.name) === extendedComment.graphId,\n );\n\n if (seriesIndex !== -1) {\n const point = chart.series[seriesIndex].data.find(\n (_point) => _point && _point.x === extendedComment.x,\n );\n if (point) {\n point.update({marker: {}}, false, false);\n }\n }\n }\n });\n\n if (force) {\n settings.hideComments = true;\n }\n\n chart.redraw();\n }\n}\n\nexport function getCommentsOnLine(xLine, comments, chart) {\n const xComments = [];\n const xyComments = [];\n\n if (comments) {\n comments.forEach((_comment) => {\n const comment = extendComment(_comment, chart);\n if (comment.x && comment.x === xLine.x) {\n if (comment.graphId) {\n xyComments[comment.graphId] = {text: comment.text};\n } else {\n const text = comment.title\n ? comment.title + '\\r\\n' + (comment.text || '')\n : comment.text;\n\n xComments.push({text: text, color: comment.color || DEFAULT_COLOR});\n }\n } else if (\n comment.from &&\n comment.from <= xLine.x &&\n xLine.x <= comment.to &&\n comment.isFit\n ) {\n xComments.push({text: comment.text, color: comment.color || DEFAULT_COLOR});\n }\n });\n }\n\n return {xComments, xyComments};\n}\n"]}
|