@progress/kendo-react-charts 7.0.3-develop.1 → 7.0.3-develop.11
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/BaseChart.d.ts +1 -1
- package/BaseChartProps.d.ts +1 -1
- package/Chart.d.ts +1 -1
- package/ChartBreadcrumb.d.ts +1 -1
- package/ChartContext.d.ts +1 -1
- package/ChartProps.d.ts +1 -1
- package/Container.d.ts +1 -1
- package/DonutCenter.d.ts +1 -1
- package/LICENSE.md +1 -1
- package/NOTICE.txt +1 -1
- package/README.md +1 -1
- package/Sparkline.d.ts +1 -1
- package/SparklineProps.d.ts +1 -1
- package/StockChart.d.ts +1 -1
- package/StockChartProps.d.ts +1 -1
- package/api-types/axis-range.interface.d.ts +1 -1
- package/api-types/chart-axis.interface.d.ts +1 -1
- package/api-types/chart-drilldown-state.interface.d.ts +1 -1
- package/api-types/chart-pane.interface.d.ts +1 -1
- package/api-types/chart-plotarea.interface.d.ts +1 -1
- package/api-types/event-axis-options.interface.d.ts +1 -1
- package/api-types/event-series-options.interface.d.ts +1 -1
- package/api-types/series-point.interface.d.ts +1 -1
- package/argument-types/axis-label-visual-args.interface.d.ts +1 -1
- package/argument-types/axis-note-visual-args.interface.d.ts +1 -1
- package/argument-types/drilldown-series-factory-props.interface.d.ts +1 -1
- package/argument-types/error-bars-visual-args.interface.d.ts +1 -1
- package/argument-types/highlight-toggle-args.interface.d.ts +1 -1
- package/argument-types/highlight-visual-args.interface.d.ts +1 -1
- package/argument-types/legend-item-visual-args.interface.d.ts +1 -1
- package/argument-types/legend-labels-content-args.interface.d.ts +1 -1
- package/argument-types/markers-visual-args.interface.d.ts +1 -1
- package/argument-types/plot-band-label-visual-args.interface.d.ts +1 -1
- package/argument-types/series-labels-visual-args.interface.d.ts +1 -1
- package/argument-types/series-note-visual-args.interface.d.ts +1 -1
- package/argument-types/series-visual-args.interface.d.ts +1 -1
- package/argument-types/title-visual-args.interface.d.ts +1 -1
- package/common/api-types.d.ts +1 -1
- package/common/charts.d.ts +1 -1
- package/common/events.d.ts +1 -1
- package/common/property-types.d.ts +1 -1
- package/components/AxisDefaults.d.ts +1 -1
- package/components/CategoryAxis.d.ts +1 -1
- package/components/CategoryAxisItem.d.ts +1 -1
- package/components/ChartArea.d.ts +1 -1
- package/components/Legend.d.ts +1 -1
- package/components/Navigator.d.ts +1 -1
- package/components/Pane.d.ts +1 -1
- package/components/PaneDefaults.d.ts +1 -1
- package/components/Panes.d.ts +1 -1
- package/components/PlotArea.d.ts +1 -1
- package/components/Series.d.ts +1 -1
- package/components/SeriesDefaults.d.ts +1 -1
- package/components/SeriesItem.d.ts +1 -1
- package/components/Subtitle.d.ts +1 -1
- package/components/Title.d.ts +1 -1
- package/components/Tooltip.d.ts +1 -1
- package/components/ValueAxis.d.ts +1 -1
- package/components/ValueAxisItem.d.ts +1 -1
- package/components/XAxis.d.ts +1 -1
- package/components/XAxisItem.d.ts +1 -1
- package/components/YAxis.d.ts +1 -1
- package/components/YAxisItem.d.ts +1 -1
- package/components/Zoomable.d.ts +1 -1
- package/components/axis-defaults/Crosshair.d.ts +1 -1
- package/components/axis-defaults/CrosshairTooltip.d.ts +1 -1
- package/components/axis-defaults/Labels.d.ts +1 -1
- package/components/axis-defaults/Title.d.ts +1 -1
- package/components/axis-defaults/index.d.ts +1 -1
- package/components/base/CollectionConfigurationComponent.d.ts +1 -1
- package/components/base/ConfigurationComponent.d.ts +1 -1
- package/components/category-axis-item/Crosshair.d.ts +1 -1
- package/components/category-axis-item/CrosshairTooltip.d.ts +1 -1
- package/components/category-axis-item/Labels.d.ts +1 -1
- package/components/category-axis-item/Notes.d.ts +1 -1
- package/components/category-axis-item/NotesIcon.d.ts +1 -1
- package/components/category-axis-item/NotesLabel.d.ts +1 -1
- package/components/category-axis-item/RangeLabels.d.ts +1 -1
- package/components/category-axis-item/Select.d.ts +1 -1
- package/components/category-axis-item/Title.d.ts +1 -1
- package/components/category-axis-item/index.d.ts +1 -1
- package/components/index.d.ts +1 -1
- package/components/legend/InactiveItems.d.ts +1 -1
- package/components/legend/Item.d.ts +1 -1
- package/components/legend/Title.d.ts +1 -1
- package/components/legend/index.d.ts +1 -1
- package/components/navigator/CategoryAxis.d.ts +1 -1
- package/components/navigator/Hint.d.ts +1 -1
- package/components/navigator/Pane.d.ts +1 -1
- package/components/navigator/Select.d.ts +1 -1
- package/components/navigator/Series.d.ts +1 -1
- package/components/navigator/SeriesItem.d.ts +1 -1
- package/components/navigator/category-axis/Crosshair.d.ts +1 -1
- package/components/navigator/category-axis/CrosshairTooltip.d.ts +1 -1
- package/components/navigator/category-axis/Labels.d.ts +1 -1
- package/components/navigator/category-axis/Notes.d.ts +1 -1
- package/components/navigator/category-axis/NotesIcon.d.ts +1 -1
- package/components/navigator/category-axis/NotesLabel.d.ts +1 -1
- package/components/navigator/category-axis/Select.d.ts +1 -1
- package/components/navigator/category-axis/Title.d.ts +1 -1
- package/components/navigator/category-axis/index.d.ts +1 -1
- package/components/navigator/index.d.ts +1 -1
- package/components/navigator/pane/Title.d.ts +1 -1
- package/components/navigator/pane/index.d.ts +1 -1
- package/components/navigator/series-item/ErrorBars.d.ts +1 -1
- package/components/navigator/series-item/Extremes.d.ts +1 -1
- package/components/navigator/series-item/Highlight.d.ts +1 -1
- package/components/navigator/series-item/Labels.d.ts +1 -1
- package/components/navigator/series-item/LabelsFrom.d.ts +1 -1
- package/components/navigator/series-item/LabelsTo.d.ts +1 -1
- package/components/navigator/series-item/Markers.d.ts +1 -1
- package/components/navigator/series-item/Notes.d.ts +1 -1
- package/components/navigator/series-item/NotesIcon.d.ts +1 -1
- package/components/navigator/series-item/NotesLabel.d.ts +1 -1
- package/components/navigator/series-item/Outliers.d.ts +1 -1
- package/components/navigator/series-item/Tooltip.d.ts +1 -1
- package/components/navigator/series-item/index.d.ts +1 -1
- package/components/pane/Title.d.ts +1 -1
- package/components/pane/index.d.ts +1 -1
- package/components/pane-defaults/Title.d.ts +1 -1
- package/components/pane-defaults/index.d.ts +1 -1
- package/components/series-defaults/Labels.d.ts +1 -1
- package/components/series-defaults/LabelsFrom.d.ts +1 -1
- package/components/series-defaults/LabelsTo.d.ts +1 -1
- package/components/series-defaults/Notes.d.ts +1 -1
- package/components/series-defaults/NotesIcon.d.ts +1 -1
- package/components/series-defaults/NotesLabel.d.ts +1 -1
- package/components/series-defaults/Tooltip.d.ts +1 -1
- package/components/series-defaults/index.d.ts +1 -1
- package/components/series-item/ErrorBars.d.ts +1 -1
- package/components/series-item/Extremes.d.ts +1 -1
- package/components/series-item/Highlight.d.ts +1 -1
- package/components/series-item/Labels.d.ts +1 -1
- package/components/series-item/LabelsFrom.d.ts +1 -1
- package/components/series-item/LabelsTo.d.ts +1 -1
- package/components/series-item/Markers.d.ts +1 -1
- package/components/series-item/Notes.d.ts +1 -1
- package/components/series-item/NotesIcon.d.ts +1 -1
- package/components/series-item/NotesLabel.d.ts +1 -1
- package/components/series-item/Outliers.d.ts +1 -1
- package/components/series-item/Tooltip.d.ts +1 -1
- package/components/series-item/index.d.ts +1 -1
- package/components/value-axis-item/Crosshair.d.ts +1 -1
- package/components/value-axis-item/CrosshairTooltip.d.ts +1 -1
- package/components/value-axis-item/Labels.d.ts +1 -1
- package/components/value-axis-item/Notes.d.ts +1 -1
- package/components/value-axis-item/NotesIcon.d.ts +1 -1
- package/components/value-axis-item/NotesLabel.d.ts +1 -1
- package/components/value-axis-item/Title.d.ts +1 -1
- package/components/value-axis-item/index.d.ts +1 -1
- package/components/x-axis-item/Crosshair.d.ts +1 -1
- package/components/x-axis-item/CrosshairTooltip.d.ts +1 -1
- package/components/x-axis-item/Labels.d.ts +1 -1
- package/components/x-axis-item/Notes.d.ts +1 -1
- package/components/x-axis-item/NotesIcon.d.ts +1 -1
- package/components/x-axis-item/NotesLabel.d.ts +1 -1
- package/components/x-axis-item/Title.d.ts +1 -1
- package/components/x-axis-item/index.d.ts +1 -1
- package/components/y-axis-item/Crosshair.d.ts +1 -1
- package/components/y-axis-item/CrosshairTooltip.d.ts +1 -1
- package/components/y-axis-item/Labels.d.ts +1 -1
- package/components/y-axis-item/Notes.d.ts +1 -1
- package/components/y-axis-item/NotesIcon.d.ts +1 -1
- package/components/y-axis-item/NotesLabel.d.ts +1 -1
- package/components/y-axis-item/Title.d.ts +1 -1
- package/components/y-axis-item/index.d.ts +1 -1
- package/dist/cdn/js/kendo-react-charts.js +3 -3
- package/events/axis-label-click-event.d.ts +1 -1
- package/events/base-event.d.ts +1 -1
- package/events/chart-event-builder.d.ts +1 -1
- package/events/dom-event.d.ts +1 -1
- package/events/dom-events-builder.d.ts +1 -1
- package/events/dom-events.d.ts +1 -1
- package/events/drag-end-event.d.ts +1 -1
- package/events/drag-event.d.ts +1 -1
- package/events/drag-start-event.d.ts +1 -1
- package/events/drilldown-event.d.ts +1 -1
- package/events/drilldown-state-change-event.d.ts +1 -1
- package/events/legend-item-click-event.d.ts +1 -1
- package/events/legend-item-hover-event.d.ts +1 -1
- package/events/legend-item-leave-event.d.ts +1 -1
- package/events/navigator-filter-event.d.ts +1 -1
- package/events/note-click-event.d.ts +1 -1
- package/events/note-hover-event.d.ts +1 -1
- package/events/plot-area-click-event.d.ts +1 -1
- package/events/plot-area-hover-event.d.ts +1 -1
- package/events/preventable-event.d.ts +1 -1
- package/events/render-event.d.ts +1 -1
- package/events/select-end-event.d.ts +1 -1
- package/events/select-event.d.ts +1 -1
- package/events/select-start-event.d.ts +1 -1
- package/events/series-click-event.d.ts +1 -1
- package/events/series-hover-event.d.ts +1 -1
- package/events/zoom-end-event.d.ts +1 -1
- package/events/zoom-event.d.ts +1 -1
- package/events/zoom-start-event.d.ts +1 -1
- package/field-types/auto-base-unit-steps.interface.d.ts +1 -1
- package/field-types/axis-labels-position.d.ts +1 -1
- package/field-types/axis-line.interface.d.ts +1 -1
- package/field-types/axis-ticks.interface.d.ts +1 -1
- package/field-types/axis-title-position.d.ts +1 -1
- package/field-types/base-unit.d.ts +1 -1
- package/field-types/border.interface.d.ts +1 -1
- package/field-types/bullet-target-line.interface.d.ts +1 -1
- package/field-types/bullet-target.interface.d.ts +1 -1
- package/field-types/category-base-unit.d.ts +1 -1
- package/field-types/dash-type.d.ts +1 -1
- package/field-types/date-formats.interface.d.ts +1 -1
- package/field-types/drag-action.interface.d.ts +1 -1
- package/field-types/error-bar-line.interface.d.ts +1 -1
- package/field-types/grid-lines.interface.d.ts +1 -1
- package/field-types/highlight-line.interface.d.ts +1 -1
- package/field-types/label-connectors.interface.d.ts +1 -1
- package/field-types/label-rotation.interface.d.ts +1 -1
- package/field-types/legend-labels.interface.d.ts +1 -1
- package/field-types/line-style.d.ts +1 -1
- package/field-types/lock-axis.d.ts +1 -1
- package/field-types/margin.interface.d.ts +1 -1
- package/field-types/marker-type.d.ts +1 -1
- package/field-types/modifier-key.d.ts +1 -1
- package/field-types/mousewheel-select.interface.d.ts +1 -1
- package/field-types/mousewheel-zoom.interface.d.ts +1 -1
- package/field-types/negative-bubble-values.interface.d.ts +1 -1
- package/field-types/note-label-position.d.ts +1 -1
- package/field-types/note-line.interface.d.ts +1 -1
- package/field-types/note-position.d.ts +1 -1
- package/field-types/overlay.interface.d.ts +1 -1
- package/field-types/padding.interface.d.ts +1 -1
- package/field-types/plot-band-label.interface.d.ts +1 -1
- package/field-types/plot-band.interface.d.ts +1 -1
- package/field-types/series-labels-position.d.ts +1 -1
- package/field-types/series-line.interface.d.ts +1 -1
- package/field-types/series-stack.interface.d.ts +1 -1
- package/field-types/series-type.d.ts +1 -1
- package/field-types/trendline-forecast.interface.d.ts +1 -1
- package/field-types/week-start-day.enum.d.ts +1 -1
- package/index.d.mts +1 -1
- package/index.d.ts +1 -1
- package/index.js +3 -3
- package/index.mjs +5 -5
- package/methods/index.d.ts +1 -1
- package/option-types/axis-defaults/crosshair.interface.d.ts +1 -1
- package/option-types/axis-defaults/crosshair.tooltip.interface.d.ts +1 -1
- package/option-types/axis-defaults/labels.interface.d.ts +1 -1
- package/option-types/axis-defaults/title.interface.d.ts +1 -1
- package/option-types/axis-defaults.interface.d.ts +1 -1
- package/option-types/category-axis-item/crosshair.interface.d.ts +1 -1
- package/option-types/category-axis-item/crosshair.tooltip.interface.d.ts +1 -1
- package/option-types/category-axis-item/labels.interface.d.ts +1 -1
- package/option-types/category-axis-item/notes.icon.interface.d.ts +1 -1
- package/option-types/category-axis-item/notes.interface.d.ts +1 -1
- package/option-types/category-axis-item/notes.label.interface.d.ts +1 -1
- package/option-types/category-axis-item/range-labels.interface.d.ts +1 -1
- package/option-types/category-axis-item/select.interface.d.ts +1 -1
- package/option-types/category-axis-item/title.interface.d.ts +1 -1
- package/option-types/category-axis-item.interface.d.ts +1 -1
- package/option-types/chart-area.interface.d.ts +1 -1
- package/option-types/legend/inactive-items.interface.d.ts +1 -1
- package/option-types/legend/item.interface.d.ts +1 -1
- package/option-types/legend/legend-title.interface.d.ts +1 -1
- package/option-types/legend.interface.d.ts +1 -1
- package/option-types/navigator/hint.interface.d.ts +1 -1
- package/option-types/navigator/select.interface.d.ts +1 -1
- package/option-types/navigator.interface.d.ts +1 -1
- package/option-types/pane/title.interface.d.ts +1 -1
- package/option-types/pane-defaults/title.interface.d.ts +1 -1
- package/option-types/pane-defaults.interface.d.ts +1 -1
- package/option-types/pane.interface.d.ts +1 -1
- package/option-types/plot-area.interface.d.ts +1 -1
- package/option-types/series-defaults/labels.from.interface.d.ts +1 -1
- package/option-types/series-defaults/labels.interface.d.ts +1 -1
- package/option-types/series-defaults/labels.to.interface.d.ts +1 -1
- package/option-types/series-defaults/notes.icon.interface.d.ts +1 -1
- package/option-types/series-defaults/notes.interface.d.ts +1 -1
- package/option-types/series-defaults/notes.label.interface.d.ts +1 -1
- package/option-types/series-defaults/tooltip.interface.d.ts +1 -1
- package/option-types/series-defaults.interface.d.ts +1 -1
- package/option-types/series-item/error-bars.interface.d.ts +1 -1
- package/option-types/series-item/extremes.interface.d.ts +1 -1
- package/option-types/series-item/highlight.interface.d.ts +1 -1
- package/option-types/series-item/labels.from.interface.d.ts +1 -1
- package/option-types/series-item/labels.interface.d.ts +1 -1
- package/option-types/series-item/labels.to.interface.d.ts +1 -1
- package/option-types/series-item/markers.interface.d.ts +1 -1
- package/option-types/series-item/notes.icon.interface.d.ts +1 -1
- package/option-types/series-item/notes.interface.d.ts +1 -1
- package/option-types/series-item/notes.label.interface.d.ts +1 -1
- package/option-types/series-item/outliers.interface.d.ts +1 -1
- package/option-types/series-item/tooltip.interface.d.ts +1 -1
- package/option-types/series-item/trendline.interface.d.ts +1 -1
- package/option-types/series-item.interface.d.ts +1 -1
- package/option-types/subtitle.interface.d.ts +1 -1
- package/option-types/title.interface.d.ts +1 -1
- package/option-types/tooltip.interface.d.ts +1 -1
- package/option-types/value-axis-item/crosshair.interface.d.ts +1 -1
- package/option-types/value-axis-item/crosshair.tooltip.interface.d.ts +1 -1
- package/option-types/value-axis-item/labels.interface.d.ts +1 -1
- package/option-types/value-axis-item/notes.icon.interface.d.ts +1 -1
- package/option-types/value-axis-item/notes.interface.d.ts +1 -1
- package/option-types/value-axis-item/notes.label.interface.d.ts +1 -1
- package/option-types/value-axis-item/title.interface.d.ts +1 -1
- package/option-types/value-axis-item.interface.d.ts +1 -1
- package/option-types/x-axis-item/crosshair.interface.d.ts +1 -1
- package/option-types/x-axis-item/crosshair.tooltip.interface.d.ts +1 -1
- package/option-types/x-axis-item/labels.interface.d.ts +1 -1
- package/option-types/x-axis-item/notes.icon.interface.d.ts +1 -1
- package/option-types/x-axis-item/notes.interface.d.ts +1 -1
- package/option-types/x-axis-item/notes.label.interface.d.ts +1 -1
- package/option-types/x-axis-item/title.interface.d.ts +1 -1
- package/option-types/x-axis-item.interface.d.ts +1 -1
- package/option-types/y-axis-item/crosshair.interface.d.ts +1 -1
- package/option-types/y-axis-item/crosshair.tooltip.interface.d.ts +1 -1
- package/option-types/y-axis-item/labels.interface.d.ts +1 -1
- package/option-types/y-axis-item/notes.icon.interface.d.ts +1 -1
- package/option-types/y-axis-item/notes.interface.d.ts +1 -1
- package/option-types/y-axis-item/notes.label.interface.d.ts +1 -1
- package/option-types/y-axis-item/title.interface.d.ts +1 -1
- package/option-types/y-axis-item.interface.d.ts +1 -1
- package/option-types/zoomable.interface.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +8 -8
- package/store/reducer.d.ts +1 -1
- package/store/store.d.ts +1 -1
- package/theming/theme-service.d.ts +1 -1
- package/tooltip/Context.d.ts +1 -1
- package/tooltip/Crosshair.d.ts +1 -1
- package/tooltip/CrosshairContainer.d.ts +1 -1
- package/tooltip/Point.d.ts +1 -1
- package/tooltip/Popup.d.ts +1 -1
- package/tooltip/Series.d.ts +1 -1
- package/tooltip/SharedTooltipContent.d.ts +1 -1
- package/tooltip/index.d.ts +1 -1
- package/utils/index.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ChartSeriesItemTooltip, type ChartSeriesItemTooltipProps } from './Tooltip';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ChartValueAxisCrosshair, type ChartValueAxisCrosshairProps } from './Crosshair';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ChartXAxisCrosshair, type ChartXAxisCrosshairProps } from './Crosshair';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ChartYAxisCrosshair, type ChartYAxisCrosshairProps } from './Crosshair';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
(function(n,I){typeof exports=="object"&&typeof module
|
|
5
|
+
(function(n,I){typeof exports=="object"&&typeof module!="undefined"?I(exports,require("react"),require("prop-types"),require("@progress/kendo-react-intl"),require("@progress/kendo-charts"),require("@progress/kendo-react-common"),require("@progress/kendo-react-popup"),require("@progress/kendo-react-layout"),require("@progress/kendo-svg-icons")):typeof define=="function"&&define.amd?define(["exports","react","prop-types","@progress/kendo-react-intl","@progress/kendo-charts","@progress/kendo-react-common","@progress/kendo-react-popup","@progress/kendo-react-layout","@progress/kendo-svg-icons"],I):(n=typeof globalThis!="undefined"?globalThis:n||self,I(n.KendoReactCharts={},n.React,n.PropTypes,n.KendoReactIntl,n.KendoCharts,n.KendoReactCommon,n.KendoReactPopup,n.KendoReactLayout,n.KendoSvgIcons))})(this,function(n,I,p,N,C,f,Xe,Ye,ze){"use strict";"use client";function qe(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const s in t)if(s!=="default"){const r=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,r.get?r:{enumerable:!0,get:()=>t[s]})}}return e.default=t,Object.freeze(e)}const a=qe(I);function X(t,e){let s=t;for(;s&&s!==e;)s=s.parentNode;return!!s}function E(t,e,s,r){const i=t[e];if(i&&Array.isArray(i)){for(let o of i)if(!o.type||o.type!==r)return new Error(`${s} children should be Array of type ${r.displayName}.`)}return null}const Y=t=>t===void 0?!1:!t,We=t=>({x:{location:t.pageX},y:{location:t.pageY}}),$e=(t,e)=>{const s=t.pointers,r=s[0],i=r.pageX,o=r.pageY;let h=0;if(s.length>1){const c=s[0],u=s[1];h=Math.sqrt(Math.pow(c.pageX-u.pageX,2)+Math.pow(c.pageY-u.pageY,2))}return{distance:h,event:t.srcEvent,preventDefault:function(){t.preventDefault()},target:t.target,touches:s.map(We),type:t.type,x:{delta:e?i-e.x.location:0,initialDelta:t.deltaX,location:i,startLocation:i-t.deltaX},y:{delta:e?o-e.y.location:0,initialDelta:t.deltaY,location:o,startLocation:o-t.deltaY}}};function Ze(t,e){for(let s=0;s<t.length;s++)if(e[t[s]])return!0;return!1}const z=[{end:"panend",move:"panmove",start:"panstart"},{gesturechange:"pinchmove",gestureend:"pinchend",gesturestart:"pinchstart"},{press:"press"},{tap:"tap"}];class Ge{constructor(e,s){this.hammerInstance=e,this.eventHandlers={},this.tap=this.tap.bind(this),this.press=this.press.bind(this),this.panstart=this.panstart.bind(this),this.panmove=this.panmove.bind(this),this.panend=this.panend.bind(this),this.pinchstart=this.pinchstart.bind(this),this.pinchmove=this.pinchmove.bind(this),this.pinchend=this.pinchend.bind(this),s&&this.bind(s)}tap(e){this.trigger("tap",e)}press(e){this.trigger("press",e)}panstart(e){delete this.previous,this.previous=this.trigger("start",e)}panmove(e){this.previous=this.trigger("move",e)}panend(e){this.trigger("end",e),delete this.previous}pinchstart(e){this.trigger("gesturestart",e)}pinchmove(e){this.trigger("gesturechange",e)}pinchend(e){this.trigger("gestureend",e)}trigger(e,s){const r=$e(s,this.previous);return this.eventHandlers[e]&&this.eventHandlers[e](r),r}bind(e={}){this.unbind(),this.eventHandlers=e;for(let s=0;s<z.length;s++){const r=z[s],i=Object.keys(r);if(Ze(i,e))for(let o=0;o<i.length;o++){const h=r[i[o]];this.hammerInstance.on(h,this[h])}}}unbind(){this.hammerInstance&&this.hammerInstance.off(),this.eventHandlers={}}destroy(){this.hammerInstance&&(this.hammerInstance.destroy(),delete this.hammerInstance),delete this.eventHandlers}toggleDrag(e){this.toggle("pan",e)}toggleZoom(e){this.toggle("pinch",e)}toggle(e,s){this.hammerInstance&&this.hammerInstance.get(e).set({enable:s})}}const Je="Hammerjs is not loaded.Solution: http://www.telerik.com/kendo-react-ui/components/charts/troubleshooting/#toc-installation";class Qe{static create(e,s){if(typeof window!="undefined"){const r=window.Hammer;if(!r){process.env.NODE_ENV!=="production"&&console.warn(Je);return}const i=new r(e,{recognizers:[[r.Tap],[r.Pan],[r.Pinch],[r.Press,{time:0}]]});return new Ge(i,s)}}}class g{constructor(e){this.target=e}}class q extends g{constructor(e,s){super(s),this.axis=e.axis,this.dataItem=e.dataItem,this.index=e.index,this.text=e.text,this.value=e.value}}class y extends g{constructor(){super(...arguments),this.prevented=!1}preventDefault(){this.prevented=!0}isDefaultPrevented(){return this.prevented}}class W extends y{constructor(e,s){super(s),this.axisRanges=e.axisRanges,this.nativeEvent=e.originalEvent}}class $ extends g{constructor(e,s){super(s),this.axisRanges=e.axisRanges,this.nativeEvent=e.originalEvent}}class Z extends y{constructor(e,s){super(s),this.axisRanges=e.axisRanges,this.nativeEvent=e.originalEvent}}class T extends g{constructor(e,s){super(s),this.value=e.value,this.point=e.point,this.series=e.series,this.currentState=e.currentState,this.nextState=e.nextState}}class G extends y{constructor(e,s){super(s),this.series=e.series,this.seriesIndex=e.seriesIndex,this.pointIndex=e.pointIndex,this.text=e.text}preventDefault(){super.preventDefault()}}class J extends y{constructor(e,s){super(s),this.series=e.series,this.seriesIndex=e.seriesIndex,this.pointIndex=e.pointIndex,this.text=e.text}preventDefault(){super.preventDefault()}}class et extends y{constructor(e,s){super(s),this.series=e.series,this.seriesIndex=e.seriesIndex,this.pointIndex=e.pointIndex,this.text=e.text}preventDefault(){super.preventDefault()}}class Q extends g{constructor(e,s){super(s),this.from=e.from,this.to=e.to}}class ee extends g{constructor(e,s){super(s),this.category=e.category,this.dataItem=e.dataItem,this.series=e.series,this.value=e.value,this.visual=e.visual}}class te extends g{constructor(e,s){super(s),this.category=e.category,this.dataItem=e.dataItem,this.series=e.series,this.value=e.value,this.visual=e.visual}}class se extends g{constructor(e,s){super(s),this.category=e.category,this.nativeEvent=e.originalEvent,this.value=e.value,this.x=e.x,this.y=e.y}}class re extends g{constructor(e,s){super(s),this.category=e.category,this.nativeEvent=e.originalEvent,this.value=e.value,this.x=e.x,this.y=e.y}}class ae extends g{constructor(e,s){super(s)}}class ne extends y{constructor(e,s){super(s),this.axis=e.axis,this.from=e.from,this.to=e.to}}class ie extends g{constructor(e,s){super(s),this.axis=e.axis,this.from=e.from,this.to=e.to}}class oe extends y{constructor(e,s){super(s),this.axis=e.axis,this.from=e.from,this.to=e.to}}class le extends g{constructor(e,s){super(s),this.category=e.category,this.dataItem=e.dataItem,this.nativeEvent=e.originalEvent,this.percentage=e.percentage,this.point=e.point,this.series=e.series,this.stackValue=e.stackValue,this.value=e.value}}class ce extends y{constructor(e,s){super(s),this.category=e.category,this.categoryPoints=e.categoryPoints,this.dataItem=e.dataItem,this.nativeEvent=e.originalEvent,this.percentage=e.percentage,this.point=e.point,this.series=e.series,this.stackValue=e.stackValue,this.value=e.value}}class he extends y{constructor(e,s){super(s),this.axisRanges=e.axisRanges,this.delta=e.delta,this.nativeEvent=e.originalEvent}}class ue extends g{constructor(e,s){super(s),this.axisRanges=e.axisRanges,this.nativeEvent=e.originalEvent}}class de extends y{constructor(e,s){super(s),this.axisRanges=e.axisRanges,this.nativeEvent=e.originalEvent}}const pe={axisLabelClick:q,drag:W,dragEnd:$,dragStart:Z,drilldownEvent:T,legendItemHover:G,legendItemClick:J,legendItemLeave:et,navigatorFilter:Q,noteClick:ee,noteHover:te,plotAreaClick:se,plotAreaHover:re,render:ae,select:ne,selectEnd:ie,selectStart:oe,seriesClick:le,seriesHover:ce,zoom:he,zoomEnd:ue,zoomStart:de};function tt(t,e,s){if(pe[t])return new pe[t](e,s)}class st{constructor(e,s){this.sender=e,this.syntheticEvent=s}}function me(t,e){return new st(t,e)}const A=t=>`${t.fontWeight} ${t.fontSize} ${t.fontFamily}`,ve=t=>window.getComputedStyle(t).backgroundColor,rt=t=>t.toLowerCase().charCodeAt(0)-"a".charCodeAt(0),at=t=>{const e=t.match(/series-([a-z])$/);if(e!==null)return rt(e[1]);const s=t.split("--series-")[1];return parseInt(s,10)-1},nt=30,it=`
|
|
6
6
|
<div class="k-var--primary"></div>
|
|
7
7
|
<div class="k-var--base"></div>
|
|
8
8
|
<div class="k-var--background"></div>
|
|
@@ -45,4 +45,4 @@
|
|
|
45
45
|
`;for(let e=0;e<nt;e++)t+=`
|
|
46
46
|
<div class="k-var--series-${e+1}"></div>`;return t})()}
|
|
47
47
|
</div>
|
|
48
|
-
`;class ot{constructor(e){this.store=e}setStyle(e,s){this.store.dispatch({type:"set",payload:{field:e,value:s}})}setColors(){this.mapColor("axisDefaults.crosshair.color","chart-crosshair-background"),this.mapColor("axisDefaults.labels.color","normal-text-color"),this.mapColor("axisDefaults.line.color","chart-major-lines"),this.mapColor("axisDefaults.majorGridLines.color","chart-major-lines"),this.mapColor("axisDefaults.minorGridLines.color","chart-minor-lines"),this.mapColor("axisDefaults.notes.icon.background","chart-notes-background"),this.mapColor("axisDefaults.notes.icon.border.color","chart-notes-border"),this.mapColor("axisDefaults.notes.line.color","chart-notes-lines"),this.mapColor("axisDefaults.title.color","normal-text-color"),this.mapColor("chartArea.background","background"),this.mapColor("legend.inactiveItems.labels.color","chart-inactive"),this.mapColor("legend.inactiveItems.markers.color","chart-inactive"),this.mapColor("legend.labels.color","normal-text-color"),this.mapColor("seriesDefaults.boxPlot.downColor","chart-major-lines"),this.mapColor("seriesDefaults.boxPlot.mean.color","base"),this.mapColor("seriesDefaults.boxPlot.median.color","base"),this.mapColor("seriesDefaults.boxPlot.whiskers.color","primary"),this.mapColor("seriesDefaults.bullet.target.color","normal-text-color"),this.mapColor("seriesDefaults.candlestick.downColor","normal-text-color"),this.mapColor("seriesDefaults.candlestick.line.color","normal-text-color"),this.mapColor("seriesDefaults.errorBars.color","chart-error-bars-background"),this.mapColor("seriesDefaults.horizontalWaterfall.line.color","chart-major-lines"),this.mapColor("seriesDefaults.icon.border.color","chart-major-lines"),this.mapColor("seriesDefaults.labels.background","background"),this.mapColor("seriesDefaults.labels.color","normal-text-color"),this.mapColor("seriesDefaults.notes.icon.background","chart-notes-background"),this.mapColor("seriesDefaults.notes.icon.border.color","chart-notes-border"),this.mapColor("seriesDefaults.notes.line.color","chart-notes-lines"),this.mapColor("seriesDefaults.verticalBoxPlot.downColor","chart-major-lines"),this.mapColor("seriesDefaults.verticalBoxPlot.mean.color","base"),this.mapColor("seriesDefaults.verticalBoxPlot.median.color","base"),this.mapColor("seriesDefaults.verticalBoxPlot.whiskers.color","primary"),this.mapColor("seriesDefaults.verticalBullet.target.color","normal-text-color"),this.mapColor("seriesDefaults.waterfall.line.color","chart-major-lines"),this.mapColor("title.color","normal-text-color"),this.mapColor("subtitle.color","normal-text-color");const e=parseFloat(this.queryStyle("chart-area-opacity").opacity);isNaN(e)||(this.setStyle("seriesDefaults.area.opacity",e),this.setStyle("seriesDefaults.radarArea.opacity",e),this.setStyle("seriesDefaults.verticalArea.opacity",e),this.setStyle("seriesDefaults.labels.opacity",e)),this.setInactiveOpacity(["area","verticalArea"],"chart-area-inactive-opacity"),this.setInactiveOpacity(["line","verticalLine"],"chart-line-inactive-opacity")}setFonts(){const e=A(this.queryStyle("chart-font")),s=A(this.queryStyle("chart-title-font")),r=A(this.queryStyle("chart-pane-title-font")),i=A(this.queryStyle("chart-label-font"));this.setStyle("axisDefaults.labels.font",i),this.setStyle("axisDefaults.notes.label.font",e),this.setStyle("axisDefaults.title.font",e),this.setStyle("legend.labels.font",e),this.setStyle("seriesDefaults.labels.font",i),this.setStyle("seriesDefaults.notes.label.font",e),this.setStyle("title.font",s),this.setStyle("subtitle.font",r),this.setStyle("paneDefaults.title.font",r)}setSeriesColors(){const e=this.element,s=[].slice.call(e.querySelectorAll(".k-var--series div")),r=ve(e.querySelector(".k-var--series-unset")),i=s.reduce((o,h)=>{const c=at(h.className),u=ve(h);return u!==r&&(o[c]=u),o},[]);this.setStyle("seriesColors",i)}mapColor(e,s){this.setStyle(e,this.queryStyle(s).backgroundColor)}queryStyle(e){const s=this.element;return window.getComputedStyle(s.querySelector(`.k-var--${e}`))}setInactiveOpacity(e,s){const r=parseFloat(this.queryStyle(s).opacity);!isNaN(r)&&r<1&&e.forEach(i=>this.setStyle(`seriesDefaults.${i}.highlight.inactiveOpacity`,r))}}const lt=(t,e,s)=>{const r=new ot(t);if(typeof s>"u"){t.dispatch({type:"push",payload:C.chartBaseTheme()});return}const i=r.element=s.createElement("div");i.style.display="none",i.innerHTML=it,s.body.appendChild(i);try{t.dispatch({type:"push",payload:C.chartBaseTheme()}),r.setColors(),r.setFonts(),r.setSeriesColors()}finally{s.body.removeChild(r.element),delete r.element,e()}},ct=1e3/60,_=t=>{let e,s,r=[];const i=()=>e,o=c=>{e=t(e,c),f.canUseDOM&&(window.clearTimeout(s),s=window.setTimeout(()=>r.forEach(u=>u()),ct))},h=c=>(r.push(c),()=>r=r.filter(u=>u!==c));return o({}),{getState:i,dispatch:o,subscribe:h}},Ce=(t,e)=>e.chartCollectionIdxKey?k.collectionConfigurationItem(t,e):e.chartKey?k.configurationItem(t,e):{},ht=(t,e)=>{if(e.type)switch(e.type){case"set":return k.themeItem(t,e);case"push":return Object.assign(t,e.payload);default:return t}else return{}},ut=(t,e)=>{if(e.type)switch(e.type){case"add":return[...t,e.payload];case"remove":return t.filter(s=>s!==e.payload);default:return t}else return[]},k={configurationItem(t,e){return Object.assign(t,{[e.chartKey]:e.payload})},collectionConfigurationItem(t,e){let s=!1;const[r,i]=e.chartCollectionIdxKey.split("_"),o=t[r].map((h,c)=>parseInt(i,10)===c?(s=!0,e.payload):h);return s===!1&&o.splice(parseInt(i,10),0,e.payload),Object.assign(t,{[r]:o})},themeItem(t,e){let s={},r=Object.assign(s,t);const{field:i,value:o}=e.payload,h=i.split(".");let c=h.shift();for(;h.length>0;)s=s[c]=s[c]||{},c=h.shift();return s[c]=o,r}};class O{constructor(e,s){this.value=e.value,this.category=e.category,this.categoryIndex=e.categoryIx,this.series=e.series,this.dataItem=e.dataItem,this.percentage=e.percentage,this.runningTotal=e.runningTotal,this.total=e.total,this.low=e.low,this.high=e.high,this.xLow=e.xLow,this.xHigh=e.xHigh,this.yLow=e.yLow,this.yHigh=e.yHigh,this.point=e,this.format=((e.options||{}).tooltip||{}).format||s}get formattedValue(){return this.format?this.point.formatValue(this.format):String(this.value)}}const dt="k-chart-shared-tooltip-marker",ge=t=>{const{categoryText:e,colorMarker:s,colspan:r,nameColumn:i,points:o}=t,h=(c,u)=>a.createElement("tr",{key:u},s&&a.createElement("td",null,a.createElement("span",{className:dt,style:{backgroundColor:c.series.color}})),i&&a.createElement("td",null,c.series.name),a.createElement("td",{dangerouslySetInnerHTML:{__html:c.formattedValue}}));return a.createElement("table",null,a.createElement("thead",null,a.createElement("tr",null,a.createElement("th",{colSpan:r},e))),a.createElement("tbody",null,o.map(h)))},b=a.createContext(null);b.displayName="ChartContext";const pt={horizontal:"fit",vertical:"fit"},mt="k-chart-tooltip",vt="k-chart-tooltip-wrapper";class D extends a.Component{constructor(e,s){super(e,s),this.context=null,this.element=null,this.onChartMouseLeave=r=>{const{syntheticEvent:i}=r;return!!X(i.relatedTarget,this.element)},this.onMouseLeave=r=>{const i=me(this,r);this.context.childrenObserver.trigger("onMouseLeave",i)&&r.preventDefault()},this.popupRef=r=>{this.element=r;const i=r&&r.closest(".k-animation-container");i&&(i.style.transition="initial")},this.chartObserver=new C.InstanceObserver(this,{onMouseLeave:"onChartMouseLeave"}),s.observersStore.dispatch({type:"add",payload:this.chartObserver})}render(){const{popupShown:e,popupAlign:s,popupOffset:r,popupStyles:i,popupContent:o,className:h}=this.props,c=[mt,h].join(" ").trim();return a.createElement(Xe.Popup,{animate:!1,popupAlign:s,offset:r,show:e,collision:pt,className:vt},a.createElement("div",{className:c,style:i,onMouseLeave:this.onMouseLeave,ref:this.popupRef},o()))}componentWillUnmount(){this.context.observersStore.dispatch({type:"remove",payload:this.chartObserver})}}D.contextType=b;const Ct="k-chart-shared-tooltip",gt="k-chart-tooltip-inverse";class L extends a.Component{constructor(){super(...arguments),this.context=null,this.state={popupShown:!1},this.chartObserver=null}componentDidMount(){this.chartObserver=new C.InstanceObserver(this,{showTooltip:"onShowTooltip",hideTooltip:"onHideTooltip"}),this.context.observersStore.dispatch({type:"add",payload:this.chartObserver})}render(){const{popupContext:e,shared:s,className:r,...i}=this.state,o=this.state.popupShown?()=>{const c=this.findRenderFunction();if(s)return c!==null?c(e):a.createElement(ge,{...e});{const u=e.point,d=this.findRenderFunctionByIndex(u.series.index);return d!==null?d(e):c!==null?c(e):a.createElement("span",{dangerouslySetInnerHTML:{__html:e.point.formattedValue}})}}:Function.prototype,h=f.classNames({[Ct]:s,[gt]:!!r});return a.createElement(D,{...i,popupContent:o,className:h})}componentWillUnmount(){this.context.observersStore.dispatch({type:"remove",payload:this.chartObserver})}onShowTooltip(e){const{anchor:s,style:r,shared:i,className:o,crosshair:h}=e;let c;h||(i?c=this.createSharedTooltipContext(e):c=this.createTooltipContext(e),this.setState({popupShown:!0,popupAlign:s.align,popupOffset:s.point,popupContext:c,popupStyles:r,className:o,shared:i}))}onHideTooltip(){this.setState({popupShown:!1,popupStyles:{},className:void 0})}createSharedTooltipContext(e){const{points:s,categoryText:r}=e,i=s.filter(c=>typeof c.series.name<"u").length>0,o=e.series.length>1;let h=1;return i&&h++,o&&h++,{categoryText:r,colorMarker:o,colspan:h,nameColumn:i,points:e.points.map(c=>new O(c,e.format))}}createTooltipContext(e){const{point:s,format:r}=e;return{point:new O(s,r)}}findRenderFunctionByIndex(e){const s=this.context.optionsStore.getState().series;return s!==void 0&&Array.isArray(s)&&s[e]!==void 0&&s[e].hasOwnProperty("tooltip")&&s[e].tooltip.hasOwnProperty("render")?s[e].tooltip.render:null}findRenderFunction(){const e=this.context.optionsStore.getState().tooltip;return e!==void 0&&e.hasOwnProperty("render")?e.render:null}}L.contextType=b;const fe=t=>t.children;fe.displayName="Container";const ft="k-chart-crosshair-tooltip",yt="k-chart-tooltip-inverse";class K extends a.Component{constructor(e,s){super(e,s),this.context=null,this.state={popupShown:!1},this.chartObserver=new C.InstanceObserver(this,{showTooltip:"onShowTooltip",hideTooltip:"onHideTooltip"}),s.observersStore.dispatch({type:"add",payload:this.chartObserver})}render(){const{popupContend:e,className:s,...r}=this.state,i=this.state.popupShown?()=>e:Function.prototype,o=f.classNames({[ft]:!0,[yt]:!!s});return a.createElement(D,{...r,popupContent:i,className:o})}componentWillUnmount(){var e;(e=this.context)==null||e.observersStore.dispatch({type:"remove",payload:this.chartObserver})}onShowTooltip(e){const{anchor:s,style:r,className:i,crosshair:o,axisName:h,axisIndex:c,value:u}=e,{name:d,index:v}=this.props;o&&h===d&&c===v&&this.setState({popupShown:!0,popupAlign:s.align,popupOffset:s.point,popupContend:u,popupStyles:r,className:i})}onHideTooltip(){this.setState({popupShown:!1,popupStyles:{},className:void 0})}}K.contextType=b;const ye=["categoryAxis","valueAxis","xAxis","yAxis"];function bt(t){const e={};for(let s=0;s<ye.length;s++){const r=St(t,ye[s]);for(let i=0;i<r.length;i++){const o=r[i];e[o.name+o.index]=o}}return e}function St(t,e){const s=[];if(t[e]){const r=[].concat(t[e]);for(let i=0;i<r.length;i++){const o=(r[i].crosshair||{}).tooltip;o&&o.visible&&s.push({index:i,name:e})}}return s}class P extends a.Component{constructor(){super(...arguments),this.context=null,this.state={tooltips:{}},this.storeUnsubscriber=Function.prototype,this.subscriber=()=>{var e;this.setState({tooltips:bt((e=this.context)==null?void 0:e.optionsStore.getState())})}}componentDidMount(){this.storeUnsubscriber=this.context.optionsStore.subscribe(this.subscriber)}render(){const{tooltips:e}=this.state,s=Object.keys(e).map(r=>a.createElement(K,{...e[r],key:r}));return a.createElement(fe,null,s)}componentWillUnmount(){this.storeUnsubscriber()}}P.contextType=b;const be={name:"@progress/kendo-react-charts",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};class x extends a.Component{constructor(e){super(e),this.chartInstance=null,this.surface=null,this._element=null,this.optionsStore={},this.optionsUnsubscriber=Function.prototype,this.themeStore={},this.themeUnsubscriber=Function.prototype,this.observersStore={},this.suppressTransitions=!1,this.showLicenseWatermark=!1,this.onRender=s=>{this.chartInstance!==null&&(this.surface=s.sender.surface,this.trigger("render",s))},this.onDrilldown=s=>{var h;const{series:r}=this.optionsStore.getState(),i=r.find(c=>c.name===s.series.name);if(!i.drilldownSeriesFactory)return!0;const o="onDrilldown";if(this.props.hasOwnProperty(o)){const c={seriesName:i.name,drilldownValue:s.value},u=[...((h=this.props.drilldownState)==null?void 0:h.steps)||[],c],d=this.props.getTarget(),v={...s,currentState:this.props.drilldownState,nextState:{steps:u}},m=new T(v,d);this.props[o].call(void 0,m)}return!0},this.onLegendItemClick=s=>{if(this.chartInstance!==null)if(this.props.onLegendItemClick)this.trigger("legendItemClick",s);else{const{series:r}=this.optionsStore.getState();if(!r)return;let i={};const{seriesIndex:o,pointIndex:h}=s,c=r[o];if(h===void 0)i=Object.assign({},c,{visible:Y(c.visible)});else{const u=c.pointVisibility=c.pointVisibility||[];u[h]=Y(u[h]),i=Object.assign({},c)}this.optionsStore.dispatch({chartCollectionIdxKey:`series_${o}`,payload:i}),this.suppressTransitions=!0}},this.onWindowResize=()=>{this.chartInstance!==null&&this.chartInstance.resize()},this.onChartMouseLeave=s=>{const r=me(this,s);this.triggerDomEvent("onMouseLeave",r)?s.preventDefault():this.chartInstance!==null&&this.chartInstance.hideElements()},this.onChildMouseLeave=s=>{const{syntheticEvent:r}=s;return this.chartInstance&&!X(r.relatedTarget,this.element)&&this.chartInstance.hideElements(),!1},f.validatePackage(be),this.showLicenseWatermark=f.shouldShowValidationUI(be),this.optionsStore=_(Ce),this.observersStore=_(ut),this.childrenObserver=new C.InstanceObserver(this,{onMouseLeave:"onChildMouseLeave"}),this.state={optionsStore:this.optionsStore,observersStore:this.observersStore,childrenObserver:this.childrenObserver,drilldownState:{steps:[]}},this.themeStore=_(ht),this.chartObserver=new C.InstanceObserver(this,{render:"onRender",legendItemClick:"onLegendItemClick",drilldown:"onDrilldown"})}get element(){return this._element}static getDerivedStateFromProps(e,s){return{...s,drilldownState:e.drilldownState||[]}}componentDidMount(){var s;const e=((s=this._element)==null?void 0:s.ownerDocument)||document;lt(this.themeStore,this.instantiateCoreChart.bind(this),e),this.optionsUnsubscriber=this.optionsStore.subscribe(this.refresh.bind(this)),this.themeUnsubscriber=this.themeStore.subscribe(this.refresh.bind(this)),window.addEventListener("resize",this.onWindowResize)}componentWillUnmount(){this.optionsUnsubscriber(),this.themeUnsubscriber(),this.chartInstance!==null&&(this.chartInstance.destroy(),this.chartInstance=null),window.removeEventListener("resize",this.onWindowResize)}componentDidUpdate(e){const{dir:s,children:r,...i}=this.props;if(this.chartInstance!==null){const o=N.provideIntlService(this),h=this.chartInstance.chartService,c=o.locale!==h._intlService.locale,u=Object.entries(e).filter(d=>d[0]!=="dir"&&d[0]!=="children").some(d=>{const[v,m]=d;return!(i.hasOwnProperty(v)&&i[v]===m)});c&&(this.chartInstance.chartService._intlService=o,this.chartInstance.chartService.format._intlService=o,u||this.chartInstance.noTransitionsRedraw()),u&&this.refresh(),e.dir!==s&&this.chartInstance.setDirection(this.getDirection(s))}}render(){const{style:e={},className:s,wrapper:r,children:i}=this.props,o=Object.assign({},e,{position:"relative"}),h=a.createElement(r,{className:s,style:o,key:"chartElement"},a.createElement("div",{onMouseLeave:this.onChartMouseLeave,ref:c=>this._element=c,className:"k-chart-surface"},i),a.createElement(a.Fragment,null,this.showLicenseWatermark&&a.createElement(f.WatermarkOverlay,null)));return a.createElement(b.Provider,{value:this.state},a.createElement(L,{key:"seriesTooltip"}),a.createElement(P,{key:"crosshairTooltips"}),h)}getDirection(e){return(e!==void 0?e:(()=>f.canUseDOM&&window.getComputedStyle(this.element).direction)()||"ltr")==="rtl"}getChartOptions(){const{renderAs:e,pannable:s,zoomable:r,paneDefaults:i,panes:o,transitions:h,seriesColors:c,seriesDefaults:u,axisDefaults:d,deriveOptionsFromParent:v}=this.props;let m={};return e!==void 0&&(m.renderAs=e),s!==void 0&&(m.pannable=s),r!==void 0&&(m.zoomable=r),i!==void 0&&(m.paneDefaults=i),o!==void 0&&(m.panes=o),h!==void 0&&(m.transitions=h),c!==void 0&&(m.seriesColors=c),u!==void 0&&(m.seriesDefaults=u),d!==void 0&&(m.axisDefaults=d),m=Object.assign(m,this.optionsStore.getState()),v&&(m=v(m)),m}refresh(){if(this.chartInstance!==null){const e=this.themeStore.getState(),s=this.getChartOptions(),r=s.transitions;this.suppressTransitions&&(s.transitions=!1),this.props.onRefresh?this.props.onRefresh.call(void 0,s,e,this.chartInstance):this.chartInstance.setOptions(s,e),this.suppressTransitions&&(s.transitions=r,this.suppressTransitions=!1)}}instantiateCoreChart(){const{dir:e,chartConstructor:s}=this.props,r=this.getChartOptions();this.chartInstance=new s(this.element,r,this.themeStore.getState(),{rtl:this.getDirection(e),intlService:N.provideIntlService(this),observer:this.chartObserver,sender:this})}trigger(e,s){const r=this.props.getTarget(),i=tt(e,s,r),o="on"+e.charAt(0).toUpperCase()+e.slice(1),h=this.observersStore.getState();let c=!1;for(let u=0;u<h.length;u++)h[u].trigger(e,s)&&(c=!0);return c===!1&&i&&this.props.hasOwnProperty(o)?(this.props[o].call(void 0,i),i.isDefaultPrevented&&i.isDefaultPrevented()):c}requiresHandlers(e){for(let s=0;s<e.length;s++){const r=e[s],i="on"+r.charAt(0).toUpperCase()+r.slice(1);if(this.props.hasOwnProperty(i))return!0}return!1}triggerDomEvent(e,s){const r=this.observersStore.getState();let i=!1;for(let o=0;o<r.length;o++)r[o].trigger(e,s)&&(i=!0);return i}}x.propTypes={dir:p.string,renderAs:p.oneOf(["svg","canvas"])},x.defaultProps={renderAs:"svg"},N.registerForIntl(x),C.DomEventsBuilder.register(Qe);class R extends a.Component{constructor(e,s){super(e,s),this.context=null,this.state={donutCenterStyles:null},this.chartObserver=new C.InstanceObserver(this,{render:"onRender"}),s.observersStore.dispatch({type:"add",payload:this.chartObserver})}render(){const{render:e}=this.props,{donutCenterStyles:s}=this.state;let r=null;return e&&s&&(r=a.createElement("div",{className:"k-chart-donut-center",style:s},a.createElement(e,null))),r}onRender(e){var v;const s=(v=this.context)==null?void 0:v.optionsStore.getState().series,r=Array.isArray(s)?s[0]:null,i=e.sender._plotArea.charts;if(!r||r.type!=="donut"||i[0].points.length===0)return;const o=i[0].points[0].sector,h=o.innerRadius,c=o.center.y-h,u=o.center.x-h,d=h*2;this.setState({donutCenterStyles:{height:d,left:u,top:c,width:d}})}}R.contextType=b;class Et extends a.Component{constructor(){super(...arguments),this._baseChart=null,this.getTarget=()=>this}get chartInstance(){return this._baseChart!==null?this._baseChart.chartInstance:null}get surface(){return this._baseChart!==null?this._baseChart.surface:null}get element(){return this._baseChart!==null?this._baseChart.element:null}render(){const{donutCenterRender:e,children:s,className:r,...i}=this.props;return a.createElement(x,{...i,ref:o=>this._baseChart=o,chartConstructor:C.Chart,getTarget:this.getTarget,wrapper:"div",className:f.classNames("k-chart k-widget",r)},s,a.createElement(R,{render:e}))}}class xt extends a.Component{constructor(){super(...arguments),this._baseChart=null,this.deriveOptionsFromParent=e=>{const{type:s,data:r}=this.props,i=Object.assign({},e,{type:s,data:r});return C.Sparkline.normalizeOptions(i)},this.getTarget=()=>this}get chartInstance(){return this._baseChart!==null?this._baseChart.chartInstance:null}get surface(){return this._baseChart!==null?this._baseChart.surface:null}get element(){return this._baseChart!==null?this._baseChart.element:null}render(){const{children:e,type:s,className:r,...i}=this.props;return a.createElement(x,{...i,ref:o=>this._baseChart=o,chartConstructor:C.Sparkline,getTarget:this.getTarget,wrapper:"span",deriveOptionsFromParent:this.deriveOptionsFromParent,className:f.classNames("k-sparkline k-widget",r)},e)}}const It={autoBindElements:!0,liveDrag:!1,partialRedraw:!0};class At extends a.Component{constructor(){super(...arguments),this._baseChart=null,this.deriveOptionsFromParent=e=>{const s=Object.assign({},e.navigator||{},It);return Object.assign({},e,{navigator:s})},this.onRefresh=(e,s,r)=>{this.props.partialRedraw?(r.applyOptions(e),r.bindCategories(),r.navigator.redrawSlaves()):r.setOptions(e,s)},this.getTarget=()=>this}get chartInstance(){return this._baseChart!==null?this._baseChart.chartInstance:null}get surface(){return this._baseChart!==null?this._baseChart.surface:null}get element(){return this._baseChart!==null?this._baseChart.element:null}render(){const{children:e,className:s,...r}=this.props;return a.createElement(x,{...r,ref:i=>this._baseChart=i,chartConstructor:C.StockChart,getTarget:this.getTarget,wrapper:"div",deriveOptionsFromParent:this.deriveOptionsFromParent,onRefresh:this.onRefresh,className:f.classNames("k-stockchart k-widget",s)},e)}}class S extends a.Component{constructor(e,s){super(e,s),this.optionsStore=s.optionsStore}renderChildren(e,s){const{children:r}=e.props,{_chartKey:i,_parentStore:o}=this.props,h={...e.props,_chartCollectionIdxKey:`${i}_${s}`,_parentStore:o};return a.cloneElement(e,h,r)}render(){const{_chartKey:e,_parentStore:s,children:r}=this.props;return(s||this.optionsStore).dispatch({chartKey:e,payload:[]}),a.Children.map(r,(o,h)=>a.isValidElement(o)?this.renderChildren(o,h):o)}}S.contextType=b;class l extends a.Component{constructor(e,s){super(e,s),this.optionsStore=s.optionsStore,this.childStore=_(Ce)}render(){const{children:e}=this.props;return e!==void 0?a.Children.map(e,s=>a.isValidElement(s)?this.renderChildren(s):s):null}componentDidMount(){this.dispatch()}componentDidUpdate(){this.dispatch()}dispatch(){const{_chartKey:e,_chartCollectionIdxKey:s,_parentStore:r,children:i,...o}=this.props;(r||this.optionsStore).dispatch({chartKey:e,chartCollectionIdxKey:s,payload:Object.assign({},o,this.childStore.getState())})}renderChildren(e){const{children:s}=e.props,r={...e.props,_parentStore:this.childStore};return a.cloneElement(e,r,s)}}l.contextType=b;class Se{constructor(e){this.currentState=e.currentState,this.nextState=e.nextState}}const w=a.forwardRef((t,e)=>{const s=a.useRef(null),r=a.useRef(null);a.useImperativeHandle(s,()=>({element:r.current,props:t})),a.useImperativeHandle(e,()=>s.current);let o=[{id:"0",...t.rootItem||{text:"Home",icon:a.createElement(f.SvgIcon,{icon:ze.homeIcon,style:{marginInlineEnd:"4px"}})}}];t.drilldownState&&(o=[...o,...t.drilldownState.steps.map((u,d)=>({id:(d+1).toString(),text:u.drilldownValue}))]);const h={...t,data:o},c=u=>{var v;const d="onDrilldownStateChange";if(t.hasOwnProperty(d)){const m=o.findIndex(Ns=>Ns.id===u.id),Ds={steps:(((v=t.drilldownState)==null?void 0:v.steps)||[]).slice(0,m)},ws=new Se({currentState:t.drilldownState,nextState:Ds});t[d].call(void 0,ws)}};return a.createElement("div",null,a.createElement(Ye.Breadcrumb,{...h,onItemSelect:c}))}),_t={id:p.string,style:p.object,className:p.string,breadcrumbOrderedList:p.elementType,breadcrumbListItem:p.elementType,breadcrumbDelimiter:p.elementType,breadcrumbLink:p.elementType,dir:p.oneOf(["ltr","rtl"]),disabled:p.bool,valueField:p.string,textField:p.string,iconField:p.string,iconClassField:p.string,onItemSelect:p.func,ariaLabel:p.string,onDrilldownStateChange:p.func,drilldownState:p.shape({steps:p.array}),rootItem:p.object},Dt={valueField:"id",textField:"text",iconField:"icon",iconClassField:"iconClass",data:[]};w.displayName="KendoReactChartBreadcrumb",w.propTypes=_t,w.defaultProps=Dt;const wt=t=>a.createElement(l,{...t,_chartKey:"chartArea"}),Nt=t=>a.createElement(l,{...t,_chartKey:"axisDefaults"}),F=t=>a.createElement(l,{...t});F.displayName="ChartCategoryAxisItem";const Ee=t=>a.createElement(S,{...t,_chartKey:"categoryAxis"});Ee.propTypes={children:function(t,e,s){return E(t,e,s,F)}};const Tt=t=>a.createElement(l,{visible:!0,...t,_chartKey:"legend"}),kt=t=>a.createElement(l,{visible:!0,position:"bottom",...t,_chartKey:"navigator"}),M=t=>a.createElement(l,{...t});M.displayName="ChartPane";const xe=t=>a.createElement(l,{...t,_chartKey:"paneDefaults"});xe.displayName="ChartPaneDefaults";const Ie=t=>a.createElement(S,{...t,_chartKey:"panes"});Ie.propTypes={children:function(t,e,s){return E(t,e,s,M)}};const Ot=t=>a.createElement(l,{...t,_chartKey:"plotArea"}),H=t=>{let e=r=>a.createElement(a.Fragment,null);t.drilldownSeriesFactory&&(e=t.drilldownSeriesFactory);const s=r=>{var i,o;return r&&((o=(i=r.drilldownState)==null?void 0:i.steps)==null?void 0:o.find(({seriesName:h})=>h===t.name))};return a.createElement(b.Consumer,null,r=>s(r)?a.createElement(e,{_chartCollectionIdxKey:t._chartCollectionIdxKey,drilldownValue:s(r).drilldownValue}):a.createElement(l,{...t}))};H.displayName="ChartSeriesItem";const Ae=t=>a.createElement(S,{...t,_chartKey:"series"});Ae.propTypes={children:function(t,e,s){return E(t,e,s,H)}};const Lt=t=>a.createElement(l,{...t,_chartKey:"seriesDefaults"}),Kt=t=>a.createElement(l,{...t,_chartKey:"subtitle"}),Pt=t=>a.createElement(l,{...t,_chartKey:"title"}),Rt=t=>a.createElement(l,{visible:!0,...t,_chartKey:"tooltip"}),V=t=>a.createElement(l,{...t});V.displayName="ChartValueAxisItem";const _e=t=>a.createElement(S,{...t,_chartKey:"valueAxis"});_e.propTypes={children:function(t,e,s){return E(t,e,s,V)}};const j=t=>a.createElement(l,{...t});j.displayName="ChartXAxisItem";const De=t=>a.createElement(S,{...t,_chartKey:"xAxis"});De.prototype={children:function(t,e,s){return E(t,e,s,j)}};const B=t=>a.createElement(l,{...t});B.displayName="ChartYAxisItem";const we=t=>a.createElement(S,{...t,_chartKey:"yAxis"});we.propTypes={children:function(t,e,s){return E(t,e,s,B)}};const Ft=t=>a.createElement(l,{...t,_chartKey:"zoomable"}),Ne=t=>a.createElement(l,{...t,_chartKey:"title"});Ne.displayName="ChartAxisDefaultsTitle";const Te=t=>a.createElement(l,{...t,_chartKey:"labels"});Te.displayName="ChartAxisDefaultsLabels";const ke=t=>a.createElement(l,{visible:!0,...t,_chartKey:"crosshair"});ke.displayName="ChartAxisDefaultsCrosshair";const Oe=t=>a.createElement(l,{visible:!0,...t,_chartKey:"tooltip"});Oe.displayName="ChartAxisDefaultsCrosshairTooltip";const Mt=t=>a.createElement(l,{visible:!0,...t,_chartKey:"crosshair"}),Ht=t=>a.createElement(l,{visible:!0,...t,_chartKey:"tooltip"}),Le=t=>a.createElement(l,{...t,_chartKey:"title"});Le.displayName="ChartCategoryAxisTitle";const Vt=t=>a.createElement(l,{visible:!0,...t,_chartKey:"labels"}),jt=t=>a.createElement(l,{...t,_chartKey:"notes"}),Bt=t=>a.createElement(l,{...t,_chartKey:"icon"}),Ut=t=>a.createElement(l,{...t,_chartKey:"label"}),Xt=t=>a.createElement(l,{visible:!0,...t,_chartKey:"rangeLabels"}),Ke=t=>a.createElement(l,{...t,_chartKey:"title"});Ke.displayName="ChartPaneDefaultsTitle";const Pe=t=>a.createElement(l,{...t,_chartKey:"item"});Pe.displayName="ChartLegendItem";const Re=t=>a.createElement(l,{...t,_chartKey:"title"});Re.displayName="ChartLegendTitle";const Fe=t=>a.createElement(l,{...t,_chartKey:"inactiveItems"});Fe.displayName="ChartLegendInactiveItems";const Yt=t=>a.createElement(l,{...t,_chartKey:"tooltip"}),zt=t=>a.createElement(l,{...t,_chartKey:"outliers"}),qt=t=>a.createElement(l,{...t,_chartKey:"notes"}),Wt=t=>a.createElement(l,{...t,_chartKey:"markers"}),$t=t=>a.createElement(l,{visible:!0,...t,_chartKey:"labels"}),Zt=t=>a.createElement(l,{...t,_chartKey:"highlight"}),Gt=t=>a.createElement(l,{...t,_chartKey:"extremes"}),Jt=t=>a.createElement(l,{...t,_chartKey:"errorBars"}),Qt=t=>a.createElement(l,{...t,_chartKey:"from"}),es=t=>a.createElement(l,{...t,_chartKey:"to"}),ts=t=>a.createElement(l,{...t,_chartKey:"label"}),ss=t=>a.createElement(l,{...t,_chartKey:"icon"}),rs=t=>a.createElement(l,{visible:!0,...t,_chartKey:"crosshair"}),as=t=>a.createElement(l,{visible:!0,...t,_chartKey:"tooltip"}),ns=t=>a.createElement(l,{visible:!0,...t,_chartKey:"labels"}),is=t=>a.createElement(l,{...t,_chartKey:"notes"}),os=t=>a.createElement(l,{...t,_chartKey:"icon"}),ls=t=>a.createElement(l,{...t,_chartKey:"label"}),Me=t=>a.createElement(l,{...t,_chartKey:"title"});Me.displayName="ChartValueAxisTitle";const cs=t=>a.createElement(l,{visible:!0,...t,_chartKey:"crosshair"}),hs=t=>a.createElement(l,{visible:!0,...t,_chartKey:"tooltip"}),us=t=>a.createElement(l,{visible:!0,...t,_chartKey:"labels"}),ds=t=>a.createElement(l,{...t,_chartKey:"notes"}),ps=t=>a.createElement(l,{...t,_chartKey:"icon"}),ms=t=>a.createElement(l,{...t,_chartKey:"label"}),He=t=>a.createElement(l,{...t,_chartKey:"title"});He.displayName="ChartXAxisTitle";const vs=t=>a.createElement(l,{visible:!0,...t,_chartKey:"crosshair"}),Cs=t=>a.createElement(l,{visible:!0,...t,_chartKey:"tooltip"}),gs=t=>a.createElement(l,{visible:!0,...t,_chartKey:"labels"}),fs=t=>a.createElement(l,{...t,_chartKey:"notes"}),ys=t=>a.createElement(l,{...t,_chartKey:"icon"}),bs=t=>a.createElement(l,{...t,_chartKey:"label"}),Ve=t=>a.createElement(l,{...t,_chartKey:"title"});Ve.displayName="ChartYAxisTitle";const je=t=>a.createElement(l,{...t,_chartKey:"categoryAxis"});je.displayName="ChartNavigatorCategoryAxis";const Ss=t=>a.createElement(l,{...t,_chartKey:"hint"}),Be=t=>a.createElement(l,{...t,_chartKey:"pane"});Be.displayName="ChartNavigatorPane";const Es=t=>a.createElement(l,{...t,_chartKey:"select"}),U=t=>a.createElement(l,{...t});U.displayName="ChartNavigatorSeriesItem";const Ue=t=>a.createElement(S,{...t,_chartKey:"series"});Ue.propTypes={children:function(t,e,s){return E(t,e,s,U)}};const xs=(t,e)=>{if(t&&t.chartInstance!==null)return t.chartInstance.findAxisByName(e)},Is=(t,e)=>{if(t&&t.chartInstance!==null)return t.chartInstance.findPaneByIndex(e)},As=(t,e)=>{if(t&&t.chartInstance!==null)return t.chartInstance.findPaneByName(e)},_s=(t,e={})=>{if(t&&t.chartInstance!==null)return t.chartInstance.exportVisual(e)};n.AxisLabelClickEvent=q,n.Chart=Et,n.ChartArea=wt,n.ChartAxisDefaults=Nt,n.ChartAxisDefaultsCrosshair=ke,n.ChartAxisDefaultsCrosshairTooltip=Oe,n.ChartAxisDefaultsLabels=Te,n.ChartAxisDefaultsTitle=Ne,n.ChartBreadcrumb=w,n.ChartCategoryAxis=Ee,n.ChartCategoryAxisCrosshair=Mt,n.ChartCategoryAxisCrosshairTooltip=Ht,n.ChartCategoryAxisItem=F,n.ChartCategoryAxisLabels=Vt,n.ChartCategoryAxisNotes=jt,n.ChartCategoryAxisNotesIcon=Bt,n.ChartCategoryAxisNotesLabel=Ut,n.ChartCategoryAxisRangeLabels=Xt,n.ChartCategoryAxisTitle=Le,n.ChartLegend=Tt,n.ChartLegendInactiveItems=Fe,n.ChartLegendItem=Pe,n.ChartLegendTitle=Re,n.ChartNavigator=kt,n.ChartNavigatorCategoryAxis=je,n.ChartNavigatorHint=Ss,n.ChartNavigatorPane=Be,n.ChartNavigatorSelect=Es,n.ChartNavigatorSeries=Ue,n.ChartNavigatorSeriesItem=U,n.ChartPane=M,n.ChartPaneDefaults=xe,n.ChartPaneDefaultsTitle=Ke,n.ChartPanes=Ie,n.ChartPlotArea=Ot,n.ChartSeries=Ae,n.ChartSeriesDefaults=Lt,n.ChartSeriesErrorBars=Jt,n.ChartSeriesExtremes=Gt,n.ChartSeriesHighlight=Zt,n.ChartSeriesItem=H,n.ChartSeriesItemOutliers=zt,n.ChartSeriesItemTooltip=Yt,n.ChartSeriesLabels=$t,n.ChartSeriesLabelsFrom=Qt,n.ChartSeriesLabelsTo=es,n.ChartSeriesMarkers=Wt,n.ChartSeriesNotes=qt,n.ChartSeriesNotesIcon=ss,n.ChartSeriesNotesLabel=ts,n.ChartSubtitle=Kt,n.ChartTitle=Pt,n.ChartTooltip=Rt,n.ChartValueAxis=_e,n.ChartValueAxisCrosshair=rs,n.ChartValueAxisCrosshairTooltip=as,n.ChartValueAxisItem=V,n.ChartValueAxisLabels=ns,n.ChartValueAxisNotes=is,n.ChartValueAxisNotesIcon=os,n.ChartValueAxisNotesLabel=ls,n.ChartValueAxisTitle=Me,n.ChartXAxis=De,n.ChartXAxisCrosshair=cs,n.ChartXAxisCrosshairTooltip=hs,n.ChartXAxisItem=j,n.ChartXAxisLabels=us,n.ChartXAxisNotes=ds,n.ChartXAxisNotesIcon=ps,n.ChartXAxisNotesLabel=ms,n.ChartXAxisTitle=He,n.ChartYAxis=we,n.ChartYAxisCrosshair=vs,n.ChartYAxisCrosshairTooltip=Cs,n.ChartYAxisItem=B,n.ChartYAxisLabels=gs,n.ChartYAxisNotes=fs,n.ChartYAxisNotesIcon=ys,n.ChartYAxisNotesLabel=bs,n.ChartYAxisTitle=Ve,n.ChartZoomable=Ft,n.CollectionConfigurationComponent=S,n.ConfigurationComponent=l,n.CrosshairTooltip=K,n.CrosshairTooltipContainer=P,n.DonutCenter=R,n.DragEndEvent=$,n.DragEvent=W,n.DragStartEvent=Z,n.DrilldownEvent=T,n.DrilldownStateChangeEvent=Se,n.LegendItemClickEvent=J,n.LegendItemHoverEvent=G,n.NavigatorFilterEvent=Q,n.NoteClickEvent=ee,n.NoteHoverEvent=te,n.PlotAreaClickEvent=se,n.PlotAreaHoverEvent=re,n.RenderEvent=ae,n.SelectEndEvent=ie,n.SelectEvent=ne,n.SelectStartEvent=oe,n.SeriesClickEvent=le,n.SeriesHoverEvent=ce,n.SeriesTooltip=L,n.SharedTooltipContent=ge,n.Sparkline=xt,n.StockChart=At,n.TooltipPoint=O,n.TooltipPopup=D,n.ZoomEndEvent=ue,n.ZoomEvent=he,n.ZoomStartEvent=de,n.exportVisual=_s,n.findAxisByName=xs,n.findPaneByIndex=Is,n.findPaneByName=As,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})});
|
|
48
|
+
`;class ot{constructor(e){this.store=e}setStyle(e,s){this.store.dispatch({type:"set",payload:{field:e,value:s}})}setColors(){this.mapColor("axisDefaults.crosshair.color","chart-crosshair-background"),this.mapColor("axisDefaults.labels.color","normal-text-color"),this.mapColor("axisDefaults.line.color","chart-major-lines"),this.mapColor("axisDefaults.majorGridLines.color","chart-major-lines"),this.mapColor("axisDefaults.minorGridLines.color","chart-minor-lines"),this.mapColor("axisDefaults.notes.icon.background","chart-notes-background"),this.mapColor("axisDefaults.notes.icon.border.color","chart-notes-border"),this.mapColor("axisDefaults.notes.line.color","chart-notes-lines"),this.mapColor("axisDefaults.title.color","normal-text-color"),this.mapColor("chartArea.background","background"),this.mapColor("legend.inactiveItems.labels.color","chart-inactive"),this.mapColor("legend.inactiveItems.markers.color","chart-inactive"),this.mapColor("legend.labels.color","normal-text-color"),this.mapColor("seriesDefaults.boxPlot.downColor","chart-major-lines"),this.mapColor("seriesDefaults.boxPlot.mean.color","base"),this.mapColor("seriesDefaults.boxPlot.median.color","base"),this.mapColor("seriesDefaults.boxPlot.whiskers.color","primary"),this.mapColor("seriesDefaults.bullet.target.color","normal-text-color"),this.mapColor("seriesDefaults.candlestick.downColor","normal-text-color"),this.mapColor("seriesDefaults.candlestick.line.color","normal-text-color"),this.mapColor("seriesDefaults.errorBars.color","chart-error-bars-background"),this.mapColor("seriesDefaults.horizontalWaterfall.line.color","chart-major-lines"),this.mapColor("seriesDefaults.icon.border.color","chart-major-lines"),this.mapColor("seriesDefaults.labels.background","background"),this.mapColor("seriesDefaults.labels.color","normal-text-color"),this.mapColor("seriesDefaults.notes.icon.background","chart-notes-background"),this.mapColor("seriesDefaults.notes.icon.border.color","chart-notes-border"),this.mapColor("seriesDefaults.notes.line.color","chart-notes-lines"),this.mapColor("seriesDefaults.verticalBoxPlot.downColor","chart-major-lines"),this.mapColor("seriesDefaults.verticalBoxPlot.mean.color","base"),this.mapColor("seriesDefaults.verticalBoxPlot.median.color","base"),this.mapColor("seriesDefaults.verticalBoxPlot.whiskers.color","primary"),this.mapColor("seriesDefaults.verticalBullet.target.color","normal-text-color"),this.mapColor("seriesDefaults.waterfall.line.color","chart-major-lines"),this.mapColor("title.color","normal-text-color"),this.mapColor("subtitle.color","normal-text-color");const e=parseFloat(this.queryStyle("chart-area-opacity").opacity);isNaN(e)||(this.setStyle("seriesDefaults.area.opacity",e),this.setStyle("seriesDefaults.radarArea.opacity",e),this.setStyle("seriesDefaults.verticalArea.opacity",e),this.setStyle("seriesDefaults.labels.opacity",e)),this.setInactiveOpacity(["area","verticalArea"],"chart-area-inactive-opacity"),this.setInactiveOpacity(["line","verticalLine"],"chart-line-inactive-opacity")}setFonts(){const e=A(this.queryStyle("chart-font")),s=A(this.queryStyle("chart-title-font")),r=A(this.queryStyle("chart-pane-title-font")),i=A(this.queryStyle("chart-label-font"));this.setStyle("axisDefaults.labels.font",i),this.setStyle("axisDefaults.notes.label.font",e),this.setStyle("axisDefaults.title.font",e),this.setStyle("legend.labels.font",e),this.setStyle("seriesDefaults.labels.font",i),this.setStyle("seriesDefaults.notes.label.font",e),this.setStyle("title.font",s),this.setStyle("subtitle.font",r),this.setStyle("paneDefaults.title.font",r)}setSeriesColors(){const e=this.element,s=[].slice.call(e.querySelectorAll(".k-var--series div")),r=ve(e.querySelector(".k-var--series-unset")),i=s.reduce((o,h)=>{const c=at(h.className),u=ve(h);return u!==r&&(o[c]=u),o},[]);this.setStyle("seriesColors",i)}mapColor(e,s){this.setStyle(e,this.queryStyle(s).backgroundColor)}queryStyle(e){const s=this.element;return window.getComputedStyle(s.querySelector(`.k-var--${e}`))}setInactiveOpacity(e,s){const r=parseFloat(this.queryStyle(s).opacity);!isNaN(r)&&r<1&&e.forEach(i=>this.setStyle(`seriesDefaults.${i}.highlight.inactiveOpacity`,r))}}const lt=(t,e,s)=>{const r=new ot(t);if(typeof s=="undefined"){t.dispatch({type:"push",payload:C.chartBaseTheme()});return}const i=r.element=s.createElement("div");i.style.display="none",i.innerHTML=it,s.body.appendChild(i);try{t.dispatch({type:"push",payload:C.chartBaseTheme()}),r.setColors(),r.setFonts(),r.setSeriesColors()}finally{s.body.removeChild(r.element),delete r.element,e()}},ct=1e3/60,_=t=>{let e,s,r=[];const i=()=>e,o=c=>{e=t(e,c),f.canUseDOM&&(window.clearTimeout(s),s=window.setTimeout(()=>r.forEach(u=>u()),ct))},h=c=>(r.push(c),()=>r=r.filter(u=>u!==c));return o({}),{getState:i,dispatch:o,subscribe:h}},Ce=(t,e)=>e.chartCollectionIdxKey?k.collectionConfigurationItem(t,e):e.chartKey?k.configurationItem(t,e):{},ht=(t,e)=>{if(e.type)switch(e.type){case"set":return k.themeItem(t,e);case"push":return Object.assign(t,e.payload);default:return t}else return{}},ut=(t,e)=>{if(e.type)switch(e.type){case"add":return[...t,e.payload];case"remove":return t.filter(s=>s!==e.payload);default:return t}else return[]},k={configurationItem(t,e){return Object.assign(t,{[e.chartKey]:e.payload})},collectionConfigurationItem(t,e){let s=!1;const[r,i]=e.chartCollectionIdxKey.split("_"),o=t[r].map((h,c)=>parseInt(i,10)===c?(s=!0,e.payload):h);return s===!1&&o.splice(parseInt(i,10),0,e.payload),Object.assign(t,{[r]:o})},themeItem(t,e){let s={},r=Object.assign(s,t);const{field:i,value:o}=e.payload,h=i.split(".");let c=h.shift();for(;h.length>0;)s=s[c]=s[c]||{},c=h.shift();return s[c]=o,r}};class O{constructor(e,s){this.value=e.value,this.category=e.category,this.categoryIndex=e.categoryIx,this.series=e.series,this.dataItem=e.dataItem,this.percentage=e.percentage,this.runningTotal=e.runningTotal,this.total=e.total,this.low=e.low,this.high=e.high,this.xLow=e.xLow,this.xHigh=e.xHigh,this.yLow=e.yLow,this.yHigh=e.yHigh,this.point=e,this.format=((e.options||{}).tooltip||{}).format||s}get formattedValue(){return this.format?this.point.formatValue(this.format):String(this.value)}}const dt="k-chart-shared-tooltip-marker",ge=t=>{const{categoryText:e,colorMarker:s,colspan:r,nameColumn:i,points:o}=t,h=(c,u)=>a.createElement("tr",{key:u},s&&a.createElement("td",null,a.createElement("span",{className:dt,style:{backgroundColor:c.series.color}})),i&&a.createElement("td",null,c.series.name),a.createElement("td",{dangerouslySetInnerHTML:{__html:c.formattedValue}}));return a.createElement("table",null,a.createElement("thead",null,a.createElement("tr",null,a.createElement("th",{colSpan:r},e))),a.createElement("tbody",null,o.map(h)))},b=a.createContext(null);b.displayName="ChartContext";const pt={horizontal:"fit",vertical:"fit"},mt="k-chart-tooltip",vt="k-chart-tooltip-wrapper";class D extends a.Component{constructor(e,s){super(e,s),this.context=null,this.element=null,this.onChartMouseLeave=r=>{const{syntheticEvent:i}=r;return!!X(i.relatedTarget,this.element)},this.onMouseLeave=r=>{const i=me(this,r);this.context.childrenObserver.trigger("onMouseLeave",i)&&r.preventDefault()},this.popupRef=r=>{this.element=r;const i=r&&r.closest(".k-animation-container");i&&(i.style.transition="initial")},this.chartObserver=new C.InstanceObserver(this,{onMouseLeave:"onChartMouseLeave"}),s.observersStore.dispatch({type:"add",payload:this.chartObserver})}render(){const{popupShown:e,popupAlign:s,popupOffset:r,popupStyles:i,popupContent:o,className:h}=this.props,c=[mt,h].join(" ").trim();return a.createElement(Xe.Popup,{animate:!1,popupAlign:s,offset:r,show:e,collision:pt,className:vt},a.createElement("div",{className:c,style:i,onMouseLeave:this.onMouseLeave,ref:this.popupRef},o()))}componentWillUnmount(){this.context.observersStore.dispatch({type:"remove",payload:this.chartObserver})}}D.contextType=b;const Ct="k-chart-shared-tooltip",gt="k-chart-tooltip-inverse";class L extends a.Component{constructor(){super(...arguments),this.context=null,this.state={popupShown:!1},this.chartObserver=null}componentDidMount(){this.chartObserver=new C.InstanceObserver(this,{showTooltip:"onShowTooltip",hideTooltip:"onHideTooltip"}),this.context.observersStore.dispatch({type:"add",payload:this.chartObserver})}render(){const{popupContext:e,shared:s,className:r,...i}=this.state,o=this.state.popupShown?()=>{const c=this.findRenderFunction();if(s)return c!==null?c(e):a.createElement(ge,{...e});{const u=e.point,d=this.findRenderFunctionByIndex(u.series.index);return d!==null?d(e):c!==null?c(e):a.createElement("span",{dangerouslySetInnerHTML:{__html:e.point.formattedValue}})}}:Function.prototype,h=f.classNames({[Ct]:s,[gt]:!!r});return a.createElement(D,{...i,popupContent:o,className:h})}componentWillUnmount(){this.context.observersStore.dispatch({type:"remove",payload:this.chartObserver})}onShowTooltip(e){const{anchor:s,style:r,shared:i,className:o,crosshair:h}=e;let c;h||(i?c=this.createSharedTooltipContext(e):c=this.createTooltipContext(e),this.setState({popupShown:!0,popupAlign:s.align,popupOffset:s.point,popupContext:c,popupStyles:r,className:o,shared:i}))}onHideTooltip(){this.setState({popupShown:!1,popupStyles:{},className:void 0})}createSharedTooltipContext(e){const{points:s,categoryText:r}=e,i=s.filter(c=>typeof c.series.name!="undefined").length>0,o=e.series.length>1;let h=1;return i&&h++,o&&h++,{categoryText:r,colorMarker:o,colspan:h,nameColumn:i,points:e.points.map(c=>new O(c,e.format))}}createTooltipContext(e){const{point:s,format:r}=e;return{point:new O(s,r)}}findRenderFunctionByIndex(e){const s=this.context.optionsStore.getState().series;return s!==void 0&&Array.isArray(s)&&s[e]!==void 0&&s[e].hasOwnProperty("tooltip")&&s[e].tooltip.hasOwnProperty("render")?s[e].tooltip.render:null}findRenderFunction(){const e=this.context.optionsStore.getState().tooltip;return e!==void 0&&e.hasOwnProperty("render")?e.render:null}}L.contextType=b;const fe=t=>t.children;fe.displayName="Container";const ft="k-chart-crosshair-tooltip",yt="k-chart-tooltip-inverse";class K extends a.Component{constructor(e,s){super(e,s),this.context=null,this.state={popupShown:!1},this.chartObserver=new C.InstanceObserver(this,{showTooltip:"onShowTooltip",hideTooltip:"onHideTooltip"}),s.observersStore.dispatch({type:"add",payload:this.chartObserver})}render(){const{popupContend:e,className:s,...r}=this.state,i=this.state.popupShown?()=>e:Function.prototype,o=f.classNames({[ft]:!0,[yt]:!!s});return a.createElement(D,{...r,popupContent:i,className:o})}componentWillUnmount(){var e;(e=this.context)==null||e.observersStore.dispatch({type:"remove",payload:this.chartObserver})}onShowTooltip(e){const{anchor:s,style:r,className:i,crosshair:o,axisName:h,axisIndex:c,value:u}=e,{name:d,index:v}=this.props;o&&h===d&&c===v&&this.setState({popupShown:!0,popupAlign:s.align,popupOffset:s.point,popupContend:u,popupStyles:r,className:i})}onHideTooltip(){this.setState({popupShown:!1,popupStyles:{},className:void 0})}}K.contextType=b;const ye=["categoryAxis","valueAxis","xAxis","yAxis"];function bt(t){const e={};for(let s=0;s<ye.length;s++){const r=St(t,ye[s]);for(let i=0;i<r.length;i++){const o=r[i];e[o.name+o.index]=o}}return e}function St(t,e){const s=[];if(t[e]){const r=[].concat(t[e]);for(let i=0;i<r.length;i++){const o=(r[i].crosshair||{}).tooltip;o&&o.visible&&s.push({index:i,name:e})}}return s}class P extends a.Component{constructor(){super(...arguments),this.context=null,this.state={tooltips:{}},this.storeUnsubscriber=Function.prototype,this.subscriber=()=>{var e;this.setState({tooltips:bt((e=this.context)==null?void 0:e.optionsStore.getState())})}}componentDidMount(){this.storeUnsubscriber=this.context.optionsStore.subscribe(this.subscriber)}render(){const{tooltips:e}=this.state,s=Object.keys(e).map(r=>a.createElement(K,{...e[r],key:r}));return a.createElement(fe,null,s)}componentWillUnmount(){this.storeUnsubscriber()}}P.contextType=b;const be={name:"@progress/kendo-react-charts",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};class x extends a.Component{constructor(e){super(e),this.chartInstance=null,this.surface=null,this._element=null,this.optionsStore={},this.optionsUnsubscriber=Function.prototype,this.themeStore={},this.themeUnsubscriber=Function.prototype,this.observersStore={},this.suppressTransitions=!1,this.showLicenseWatermark=!1,this.onRender=s=>{this.chartInstance!==null&&(this.surface=s.sender.surface,this.trigger("render",s))},this.onDrilldown=s=>{var h;const{series:r}=this.optionsStore.getState(),i=r.find(c=>c.name===s.series.name);if(!i.drilldownSeriesFactory)return!0;const o="onDrilldown";if(this.props.hasOwnProperty(o)){const c={seriesName:i.name,drilldownValue:s.value},u=[...((h=this.props.drilldownState)==null?void 0:h.steps)||[],c],d=this.props.getTarget(),v={...s,currentState:this.props.drilldownState,nextState:{steps:u}},m=new T(v,d);this.props[o].call(void 0,m)}return!0},this.onLegendItemClick=s=>{if(this.chartInstance!==null)if(this.props.onLegendItemClick)this.trigger("legendItemClick",s);else{const{series:r}=this.optionsStore.getState();if(!r)return;let i={};const{seriesIndex:o,pointIndex:h}=s,c=r[o];if(h===void 0)i=Object.assign({},c,{visible:Y(c.visible)});else{const u=c.pointVisibility=c.pointVisibility||[];u[h]=Y(u[h]),i=Object.assign({},c)}this.optionsStore.dispatch({chartCollectionIdxKey:`series_${o}`,payload:i}),this.suppressTransitions=!0}},this.onWindowResize=()=>{this.chartInstance!==null&&this.chartInstance.resize()},this.onChartMouseLeave=s=>{const r=me(this,s);this.triggerDomEvent("onMouseLeave",r)?s.preventDefault():this.chartInstance!==null&&this.chartInstance.hideElements()},this.onChildMouseLeave=s=>{const{syntheticEvent:r}=s;return this.chartInstance&&!X(r.relatedTarget,this.element)&&this.chartInstance.hideElements(),!1},f.validatePackage(be),this.showLicenseWatermark=f.shouldShowValidationUI(be),this.optionsStore=_(Ce),this.observersStore=_(ut),this.childrenObserver=new C.InstanceObserver(this,{onMouseLeave:"onChildMouseLeave"}),this.state={optionsStore:this.optionsStore,observersStore:this.observersStore,childrenObserver:this.childrenObserver,drilldownState:{steps:[]}},this.themeStore=_(ht),this.chartObserver=new C.InstanceObserver(this,{render:"onRender",legendItemClick:"onLegendItemClick",drilldown:"onDrilldown"})}get element(){return this._element}static getDerivedStateFromProps(e,s){return{...s,drilldownState:e.drilldownState||[]}}componentDidMount(){var s;const e=((s=this._element)==null?void 0:s.ownerDocument)||document;lt(this.themeStore,this.instantiateCoreChart.bind(this),e),this.optionsUnsubscriber=this.optionsStore.subscribe(this.refresh.bind(this)),this.themeUnsubscriber=this.themeStore.subscribe(this.refresh.bind(this)),window.addEventListener("resize",this.onWindowResize)}componentWillUnmount(){this.optionsUnsubscriber(),this.themeUnsubscriber(),this.chartInstance!==null&&(this.chartInstance.destroy(),this.chartInstance=null),window.removeEventListener("resize",this.onWindowResize)}componentDidUpdate(e){const{dir:s,children:r,...i}=this.props;if(this.chartInstance!==null){const o=N.provideIntlService(this),h=this.chartInstance.chartService,c=o.locale!==h._intlService.locale,u=Object.entries(e).filter(d=>d[0]!=="dir"&&d[0]!=="children").some(d=>{const[v,m]=d;return!(i.hasOwnProperty(v)&&i[v]===m)});c&&(this.chartInstance.chartService._intlService=o,this.chartInstance.chartService.format._intlService=o,u||this.chartInstance.noTransitionsRedraw()),u&&this.refresh(),e.dir!==s&&this.chartInstance.setDirection(this.getDirection(s))}}render(){const{style:e={},className:s,wrapper:r,children:i}=this.props,o=Object.assign({},e,{position:"relative"}),h=a.createElement(r,{className:s,style:o,key:"chartElement"},a.createElement("div",{onMouseLeave:this.onChartMouseLeave,ref:c=>this._element=c,className:"k-chart-surface"},i),a.createElement(a.Fragment,null,this.showLicenseWatermark&&a.createElement(f.WatermarkOverlay,null)));return a.createElement(b.Provider,{value:this.state},a.createElement(L,{key:"seriesTooltip"}),a.createElement(P,{key:"crosshairTooltips"}),h)}getDirection(e){return(e!==void 0?e:(()=>f.canUseDOM&&window.getComputedStyle(this.element).direction)()||"ltr")==="rtl"}getChartOptions(){const{renderAs:e,pannable:s,zoomable:r,paneDefaults:i,panes:o,transitions:h,seriesColors:c,seriesDefaults:u,axisDefaults:d,deriveOptionsFromParent:v}=this.props;let m={};return e!==void 0&&(m.renderAs=e),s!==void 0&&(m.pannable=s),r!==void 0&&(m.zoomable=r),i!==void 0&&(m.paneDefaults=i),o!==void 0&&(m.panes=o),h!==void 0&&(m.transitions=h),c!==void 0&&(m.seriesColors=c),u!==void 0&&(m.seriesDefaults=u),d!==void 0&&(m.axisDefaults=d),m=Object.assign(m,this.optionsStore.getState()),v&&(m=v(m)),m}refresh(){if(this.chartInstance!==null){const e=this.themeStore.getState(),s=this.getChartOptions(),r=s.transitions;this.suppressTransitions&&(s.transitions=!1),this.props.onRefresh?this.props.onRefresh.call(void 0,s,e,this.chartInstance):this.chartInstance.setOptions(s,e),this.suppressTransitions&&(s.transitions=r,this.suppressTransitions=!1)}}instantiateCoreChart(){const{dir:e,chartConstructor:s}=this.props,r=this.getChartOptions();this.chartInstance=new s(this.element,r,this.themeStore.getState(),{rtl:this.getDirection(e),intlService:N.provideIntlService(this),observer:this.chartObserver,sender:this})}trigger(e,s){const r=this.props.getTarget(),i=tt(e,s,r),o="on"+e.charAt(0).toUpperCase()+e.slice(1),h=this.observersStore.getState();let c=!1;for(let u=0;u<h.length;u++)h[u].trigger(e,s)&&(c=!0);return c===!1&&i&&this.props.hasOwnProperty(o)?(this.props[o].call(void 0,i),i.isDefaultPrevented&&i.isDefaultPrevented()):c}requiresHandlers(e){for(let s=0;s<e.length;s++){const r=e[s],i="on"+r.charAt(0).toUpperCase()+r.slice(1);if(this.props.hasOwnProperty(i))return!0}return!1}triggerDomEvent(e,s){const r=this.observersStore.getState();let i=!1;for(let o=0;o<r.length;o++)r[o].trigger(e,s)&&(i=!0);return i}}x.propTypes={dir:p.string,renderAs:p.oneOf(["svg","canvas"])},x.defaultProps={renderAs:"svg"},N.registerForIntl(x),C.DomEventsBuilder.register(Qe);class R extends a.Component{constructor(e,s){super(e,s),this.context=null,this.state={donutCenterStyles:null},this.chartObserver=new C.InstanceObserver(this,{render:"onRender"}),s.observersStore.dispatch({type:"add",payload:this.chartObserver})}render(){const{render:e}=this.props,{donutCenterStyles:s}=this.state;let r=null;return e&&s&&(r=a.createElement("div",{className:"k-chart-donut-center",style:s},a.createElement(e,null))),r}onRender(e){var v;const s=(v=this.context)==null?void 0:v.optionsStore.getState().series,r=Array.isArray(s)?s[0]:null,i=e.sender._plotArea.charts;if(!r||r.type!=="donut"||i[0].points.length===0)return;const o=i[0].points[0].sector,h=o.innerRadius,c=o.center.y-h,u=o.center.x-h,d=h*2;this.setState({donutCenterStyles:{height:d,left:u,top:c,width:d}})}}R.contextType=b;class Et extends a.Component{constructor(){super(...arguments),this._baseChart=null,this.getTarget=()=>this}get chartInstance(){return this._baseChart!==null?this._baseChart.chartInstance:null}get surface(){return this._baseChart!==null?this._baseChart.surface:null}get element(){return this._baseChart!==null?this._baseChart.element:null}render(){const{donutCenterRender:e,children:s,className:r,...i}=this.props;return a.createElement(x,{...i,ref:o=>this._baseChart=o,chartConstructor:C.Chart,getTarget:this.getTarget,wrapper:"div",className:f.classNames("k-chart k-widget",r)},s,a.createElement(R,{render:e}))}}class xt extends a.Component{constructor(){super(...arguments),this._baseChart=null,this.deriveOptionsFromParent=e=>{const{type:s,data:r}=this.props,i=Object.assign({},e,{type:s,data:r});return C.Sparkline.normalizeOptions(i)},this.getTarget=()=>this}get chartInstance(){return this._baseChart!==null?this._baseChart.chartInstance:null}get surface(){return this._baseChart!==null?this._baseChart.surface:null}get element(){return this._baseChart!==null?this._baseChart.element:null}render(){const{children:e,type:s,className:r,...i}=this.props;return a.createElement(x,{...i,ref:o=>this._baseChart=o,chartConstructor:C.Sparkline,getTarget:this.getTarget,wrapper:"span",deriveOptionsFromParent:this.deriveOptionsFromParent,className:f.classNames("k-sparkline k-widget",r)},e)}}const It={autoBindElements:!0,liveDrag:!1,partialRedraw:!0};class At extends a.Component{constructor(){super(...arguments),this._baseChart=null,this.deriveOptionsFromParent=e=>{const s=Object.assign({},e.navigator||{},It);return Object.assign({},e,{navigator:s})},this.onRefresh=(e,s,r)=>{this.props.partialRedraw?(r.applyOptions(e),r.bindCategories(),r.navigator.redrawSlaves()):r.setOptions(e,s)},this.getTarget=()=>this}get chartInstance(){return this._baseChart!==null?this._baseChart.chartInstance:null}get surface(){return this._baseChart!==null?this._baseChart.surface:null}get element(){return this._baseChart!==null?this._baseChart.element:null}render(){const{children:e,className:s,...r}=this.props;return a.createElement(x,{...r,ref:i=>this._baseChart=i,chartConstructor:C.StockChart,getTarget:this.getTarget,wrapper:"div",deriveOptionsFromParent:this.deriveOptionsFromParent,onRefresh:this.onRefresh,className:f.classNames("k-stockchart k-widget",s)},e)}}class S extends a.Component{constructor(e,s){super(e,s),this.optionsStore=s.optionsStore}renderChildren(e,s){const{children:r}=e.props,{_chartKey:i,_parentStore:o}=this.props,h={...e.props,_chartCollectionIdxKey:`${i}_${s}`,_parentStore:o};return a.cloneElement(e,h,r)}render(){const{_chartKey:e,_parentStore:s,children:r}=this.props;return(s||this.optionsStore).dispatch({chartKey:e,payload:[]}),a.Children.map(r,(o,h)=>a.isValidElement(o)?this.renderChildren(o,h):o)}}S.contextType=b;class l extends a.Component{constructor(e,s){super(e,s),this.optionsStore=s.optionsStore,this.childStore=_(Ce)}render(){const{children:e}=this.props;return e!==void 0?a.Children.map(e,s=>a.isValidElement(s)?this.renderChildren(s):s):null}componentDidMount(){this.dispatch()}componentDidUpdate(){this.dispatch()}dispatch(){const{_chartKey:e,_chartCollectionIdxKey:s,_parentStore:r,children:i,...o}=this.props;(r||this.optionsStore).dispatch({chartKey:e,chartCollectionIdxKey:s,payload:Object.assign({},o,this.childStore.getState())})}renderChildren(e){const{children:s}=e.props,r={...e.props,_parentStore:this.childStore};return a.cloneElement(e,r,s)}}l.contextType=b;class Se{constructor(e){this.currentState=e.currentState,this.nextState=e.nextState}}const w=a.forwardRef((t,e)=>{const s=a.useRef(null),r=a.useRef(null);a.useImperativeHandle(s,()=>({element:r.current,props:t})),a.useImperativeHandle(e,()=>s.current);let o=[{id:"0",...t.rootItem||{text:"Home",icon:a.createElement(f.SvgIcon,{icon:ze.homeIcon,style:{marginInlineEnd:"4px"}})}}];t.drilldownState&&(o=[...o,...t.drilldownState.steps.map((u,d)=>({id:(d+1).toString(),text:u.drilldownValue}))]);const h={...t,data:o},c=u=>{var v;const d="onDrilldownStateChange";if(t.hasOwnProperty(d)){const m=o.findIndex(Ns=>Ns.id===u.id),Ds={steps:(((v=t.drilldownState)==null?void 0:v.steps)||[]).slice(0,m)},ws=new Se({currentState:t.drilldownState,nextState:Ds});t[d].call(void 0,ws)}};return a.createElement("div",null,a.createElement(Ye.Breadcrumb,{...h,onItemSelect:c}))}),_t={id:p.string,style:p.object,className:p.string,breadcrumbOrderedList:p.elementType,breadcrumbListItem:p.elementType,breadcrumbDelimiter:p.elementType,breadcrumbLink:p.elementType,dir:p.oneOf(["ltr","rtl"]),disabled:p.bool,valueField:p.string,textField:p.string,iconField:p.string,iconClassField:p.string,onItemSelect:p.func,ariaLabel:p.string,onDrilldownStateChange:p.func,drilldownState:p.shape({steps:p.array}),rootItem:p.object},Dt={valueField:"id",textField:"text",iconField:"icon",iconClassField:"iconClass",data:[]};w.displayName="KendoReactChartBreadcrumb",w.propTypes=_t,w.defaultProps=Dt;const wt=t=>a.createElement(l,{...t,_chartKey:"chartArea"}),Nt=t=>a.createElement(l,{...t,_chartKey:"axisDefaults"}),F=t=>a.createElement(l,{...t});F.displayName="ChartCategoryAxisItem";const Ee=t=>a.createElement(S,{...t,_chartKey:"categoryAxis"});Ee.propTypes={children:function(t,e,s){return E(t,e,s,F)}};const Tt=t=>a.createElement(l,{visible:!0,...t,_chartKey:"legend"}),kt=t=>a.createElement(l,{visible:!0,position:"bottom",...t,_chartKey:"navigator"}),M=t=>a.createElement(l,{...t});M.displayName="ChartPane";const xe=t=>a.createElement(l,{...t,_chartKey:"paneDefaults"});xe.displayName="ChartPaneDefaults";const Ie=t=>a.createElement(S,{...t,_chartKey:"panes"});Ie.propTypes={children:function(t,e,s){return E(t,e,s,M)}};const Ot=t=>a.createElement(l,{...t,_chartKey:"plotArea"}),H=t=>{let e=r=>a.createElement(a.Fragment,null);t.drilldownSeriesFactory&&(e=t.drilldownSeriesFactory);const s=r=>{var i,o;return r&&((o=(i=r.drilldownState)==null?void 0:i.steps)==null?void 0:o.find(({seriesName:h})=>h===t.name))};return a.createElement(b.Consumer,null,r=>s(r)?a.createElement(e,{_chartCollectionIdxKey:t._chartCollectionIdxKey,drilldownValue:s(r).drilldownValue}):a.createElement(l,{...t}))};H.displayName="ChartSeriesItem";const Ae=t=>a.createElement(S,{...t,_chartKey:"series"});Ae.propTypes={children:function(t,e,s){return E(t,e,s,H)}};const Lt=t=>a.createElement(l,{...t,_chartKey:"seriesDefaults"}),Kt=t=>a.createElement(l,{...t,_chartKey:"subtitle"}),Pt=t=>a.createElement(l,{...t,_chartKey:"title"}),Rt=t=>a.createElement(l,{visible:!0,...t,_chartKey:"tooltip"}),V=t=>a.createElement(l,{...t});V.displayName="ChartValueAxisItem";const _e=t=>a.createElement(S,{...t,_chartKey:"valueAxis"});_e.propTypes={children:function(t,e,s){return E(t,e,s,V)}};const j=t=>a.createElement(l,{...t});j.displayName="ChartXAxisItem";const De=t=>a.createElement(S,{...t,_chartKey:"xAxis"});De.prototype={children:function(t,e,s){return E(t,e,s,j)}};const B=t=>a.createElement(l,{...t});B.displayName="ChartYAxisItem";const we=t=>a.createElement(S,{...t,_chartKey:"yAxis"});we.propTypes={children:function(t,e,s){return E(t,e,s,B)}};const Ft=t=>a.createElement(l,{...t,_chartKey:"zoomable"}),Ne=t=>a.createElement(l,{...t,_chartKey:"title"});Ne.displayName="ChartAxisDefaultsTitle";const Te=t=>a.createElement(l,{...t,_chartKey:"labels"});Te.displayName="ChartAxisDefaultsLabels";const ke=t=>a.createElement(l,{visible:!0,...t,_chartKey:"crosshair"});ke.displayName="ChartAxisDefaultsCrosshair";const Oe=t=>a.createElement(l,{visible:!0,...t,_chartKey:"tooltip"});Oe.displayName="ChartAxisDefaultsCrosshairTooltip";const Mt=t=>a.createElement(l,{visible:!0,...t,_chartKey:"crosshair"}),Ht=t=>a.createElement(l,{visible:!0,...t,_chartKey:"tooltip"}),Le=t=>a.createElement(l,{...t,_chartKey:"title"});Le.displayName="ChartCategoryAxisTitle";const Vt=t=>a.createElement(l,{visible:!0,...t,_chartKey:"labels"}),jt=t=>a.createElement(l,{...t,_chartKey:"notes"}),Bt=t=>a.createElement(l,{...t,_chartKey:"icon"}),Ut=t=>a.createElement(l,{...t,_chartKey:"label"}),Xt=t=>a.createElement(l,{visible:!0,...t,_chartKey:"rangeLabels"}),Ke=t=>a.createElement(l,{...t,_chartKey:"title"});Ke.displayName="ChartPaneDefaultsTitle";const Pe=t=>a.createElement(l,{...t,_chartKey:"item"});Pe.displayName="ChartLegendItem";const Re=t=>a.createElement(l,{...t,_chartKey:"title"});Re.displayName="ChartLegendTitle";const Fe=t=>a.createElement(l,{...t,_chartKey:"inactiveItems"});Fe.displayName="ChartLegendInactiveItems";const Yt=t=>a.createElement(l,{...t,_chartKey:"tooltip"}),zt=t=>a.createElement(l,{...t,_chartKey:"outliers"}),qt=t=>a.createElement(l,{...t,_chartKey:"notes"}),Wt=t=>a.createElement(l,{...t,_chartKey:"markers"}),$t=t=>a.createElement(l,{visible:!0,...t,_chartKey:"labels"}),Zt=t=>a.createElement(l,{...t,_chartKey:"highlight"}),Gt=t=>a.createElement(l,{...t,_chartKey:"extremes"}),Jt=t=>a.createElement(l,{...t,_chartKey:"errorBars"}),Qt=t=>a.createElement(l,{...t,_chartKey:"from"}),es=t=>a.createElement(l,{...t,_chartKey:"to"}),ts=t=>a.createElement(l,{...t,_chartKey:"label"}),ss=t=>a.createElement(l,{...t,_chartKey:"icon"}),rs=t=>a.createElement(l,{visible:!0,...t,_chartKey:"crosshair"}),as=t=>a.createElement(l,{visible:!0,...t,_chartKey:"tooltip"}),ns=t=>a.createElement(l,{visible:!0,...t,_chartKey:"labels"}),is=t=>a.createElement(l,{...t,_chartKey:"notes"}),os=t=>a.createElement(l,{...t,_chartKey:"icon"}),ls=t=>a.createElement(l,{...t,_chartKey:"label"}),Me=t=>a.createElement(l,{...t,_chartKey:"title"});Me.displayName="ChartValueAxisTitle";const cs=t=>a.createElement(l,{visible:!0,...t,_chartKey:"crosshair"}),hs=t=>a.createElement(l,{visible:!0,...t,_chartKey:"tooltip"}),us=t=>a.createElement(l,{visible:!0,...t,_chartKey:"labels"}),ds=t=>a.createElement(l,{...t,_chartKey:"notes"}),ps=t=>a.createElement(l,{...t,_chartKey:"icon"}),ms=t=>a.createElement(l,{...t,_chartKey:"label"}),He=t=>a.createElement(l,{...t,_chartKey:"title"});He.displayName="ChartXAxisTitle";const vs=t=>a.createElement(l,{visible:!0,...t,_chartKey:"crosshair"}),Cs=t=>a.createElement(l,{visible:!0,...t,_chartKey:"tooltip"}),gs=t=>a.createElement(l,{visible:!0,...t,_chartKey:"labels"}),fs=t=>a.createElement(l,{...t,_chartKey:"notes"}),ys=t=>a.createElement(l,{...t,_chartKey:"icon"}),bs=t=>a.createElement(l,{...t,_chartKey:"label"}),Ve=t=>a.createElement(l,{...t,_chartKey:"title"});Ve.displayName="ChartYAxisTitle";const je=t=>a.createElement(l,{...t,_chartKey:"categoryAxis"});je.displayName="ChartNavigatorCategoryAxis";const Ss=t=>a.createElement(l,{...t,_chartKey:"hint"}),Be=t=>a.createElement(l,{...t,_chartKey:"pane"});Be.displayName="ChartNavigatorPane";const Es=t=>a.createElement(l,{...t,_chartKey:"select"}),U=t=>a.createElement(l,{...t});U.displayName="ChartNavigatorSeriesItem";const Ue=t=>a.createElement(S,{...t,_chartKey:"series"});Ue.propTypes={children:function(t,e,s){return E(t,e,s,U)}};const xs=(t,e)=>{if(t&&t.chartInstance!==null)return t.chartInstance.findAxisByName(e)},Is=(t,e)=>{if(t&&t.chartInstance!==null)return t.chartInstance.findPaneByIndex(e)},As=(t,e)=>{if(t&&t.chartInstance!==null)return t.chartInstance.findPaneByName(e)},_s=(t,e={})=>{if(t&&t.chartInstance!==null)return t.chartInstance.exportVisual(e)};n.AxisLabelClickEvent=q,n.Chart=Et,n.ChartArea=wt,n.ChartAxisDefaults=Nt,n.ChartAxisDefaultsCrosshair=ke,n.ChartAxisDefaultsCrosshairTooltip=Oe,n.ChartAxisDefaultsLabels=Te,n.ChartAxisDefaultsTitle=Ne,n.ChartBreadcrumb=w,n.ChartCategoryAxis=Ee,n.ChartCategoryAxisCrosshair=Mt,n.ChartCategoryAxisCrosshairTooltip=Ht,n.ChartCategoryAxisItem=F,n.ChartCategoryAxisLabels=Vt,n.ChartCategoryAxisNotes=jt,n.ChartCategoryAxisNotesIcon=Bt,n.ChartCategoryAxisNotesLabel=Ut,n.ChartCategoryAxisRangeLabels=Xt,n.ChartCategoryAxisTitle=Le,n.ChartLegend=Tt,n.ChartLegendInactiveItems=Fe,n.ChartLegendItem=Pe,n.ChartLegendTitle=Re,n.ChartNavigator=kt,n.ChartNavigatorCategoryAxis=je,n.ChartNavigatorHint=Ss,n.ChartNavigatorPane=Be,n.ChartNavigatorSelect=Es,n.ChartNavigatorSeries=Ue,n.ChartNavigatorSeriesItem=U,n.ChartPane=M,n.ChartPaneDefaults=xe,n.ChartPaneDefaultsTitle=Ke,n.ChartPanes=Ie,n.ChartPlotArea=Ot,n.ChartSeries=Ae,n.ChartSeriesDefaults=Lt,n.ChartSeriesErrorBars=Jt,n.ChartSeriesExtremes=Gt,n.ChartSeriesHighlight=Zt,n.ChartSeriesItem=H,n.ChartSeriesItemOutliers=zt,n.ChartSeriesItemTooltip=Yt,n.ChartSeriesLabels=$t,n.ChartSeriesLabelsFrom=Qt,n.ChartSeriesLabelsTo=es,n.ChartSeriesMarkers=Wt,n.ChartSeriesNotes=qt,n.ChartSeriesNotesIcon=ss,n.ChartSeriesNotesLabel=ts,n.ChartSubtitle=Kt,n.ChartTitle=Pt,n.ChartTooltip=Rt,n.ChartValueAxis=_e,n.ChartValueAxisCrosshair=rs,n.ChartValueAxisCrosshairTooltip=as,n.ChartValueAxisItem=V,n.ChartValueAxisLabels=ns,n.ChartValueAxisNotes=is,n.ChartValueAxisNotesIcon=os,n.ChartValueAxisNotesLabel=ls,n.ChartValueAxisTitle=Me,n.ChartXAxis=De,n.ChartXAxisCrosshair=cs,n.ChartXAxisCrosshairTooltip=hs,n.ChartXAxisItem=j,n.ChartXAxisLabels=us,n.ChartXAxisNotes=ds,n.ChartXAxisNotesIcon=ps,n.ChartXAxisNotesLabel=ms,n.ChartXAxisTitle=He,n.ChartYAxis=we,n.ChartYAxisCrosshair=vs,n.ChartYAxisCrosshairTooltip=Cs,n.ChartYAxisItem=B,n.ChartYAxisLabels=gs,n.ChartYAxisNotes=fs,n.ChartYAxisNotesIcon=ys,n.ChartYAxisNotesLabel=bs,n.ChartYAxisTitle=Ve,n.ChartZoomable=Ft,n.CollectionConfigurationComponent=S,n.ConfigurationComponent=l,n.CrosshairTooltip=K,n.CrosshairTooltipContainer=P,n.DonutCenter=R,n.DragEndEvent=$,n.DragEvent=W,n.DragStartEvent=Z,n.DrilldownEvent=T,n.DrilldownStateChangeEvent=Se,n.LegendItemClickEvent=J,n.LegendItemHoverEvent=G,n.NavigatorFilterEvent=Q,n.NoteClickEvent=ee,n.NoteHoverEvent=te,n.PlotAreaClickEvent=se,n.PlotAreaHoverEvent=re,n.RenderEvent=ae,n.SelectEndEvent=ie,n.SelectEvent=ne,n.SelectStartEvent=oe,n.SeriesClickEvent=le,n.SeriesHoverEvent=ce,n.SeriesTooltip=L,n.SharedTooltipContent=ge,n.Sparkline=xt,n.StockChart=At,n.TooltipPoint=O,n.TooltipPopup=D,n.ZoomEndEvent=ue,n.ZoomEvent=he,n.ZoomStartEvent=de,n.exportVisual=_s,n.findAxisByName=xs,n.findPaneByIndex=Is,n.findPaneByName=As,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Charts } from '../common/charts';
|
package/events/base-event.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Charts } from '../common/charts';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Charts } from './../common/charts';
|
package/events/dom-event.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { DomEvents } from './dom-events';
|
package/events/dom-events.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Charts } from '../common/charts';
|
package/events/drag-event.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Charts } from '../common/charts';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Charts } from '../common/charts';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Charts } from '../common/charts';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ChartDrilldownState } from '../api-types/chart-drilldown-state.interface';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { PreventableEvent } from './preventable-event';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Charts } from '../common/charts';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Charts } from '../common/charts';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Charts } from '../common/charts';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Charts } from '../common/charts';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Charts } from '../common/charts';
|