@nova-lab/charts 0.0.0-stage → 1.0.1-dev.32

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.
Files changed (228) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +158 -2
  3. package/dist/GeometryIndex-DDQ34Jf4.js +104 -0
  4. package/dist/MarkSeries-CQCAnV4s.js +245 -0
  5. package/dist/aggregation.d.ts +6 -0
  6. package/dist/aggregation.js +124 -0
  7. package/dist/annotations.d.ts +34 -0
  8. package/dist/annotations.js +71 -0
  9. package/dist/api/camera.d.ts +8 -0
  10. package/dist/api/cartesian.d.ts +21 -0
  11. package/dist/api/events.d.ts +13 -0
  12. package/dist/api/font.d.ts +3 -0
  13. package/dist/api/handle.d.ts +5 -0
  14. package/dist/api/host.d.ts +23 -0
  15. package/dist/api/internal.d.ts +41 -0
  16. package/dist/api/map-background.d.ts +12 -0
  17. package/dist/api/mark-paint.d.ts +5 -0
  18. package/dist/api/mark-style.d.ts +4 -0
  19. package/dist/api/navigation.d.ts +4 -0
  20. package/dist/api/overlay.d.ts +7 -0
  21. package/dist/api/partition.d.ts +11 -0
  22. package/dist/api/scene.d.ts +42 -0
  23. package/dist/api/state.d.ts +34 -0
  24. package/dist/api/types.d.ts +743 -0
  25. package/dist/area.d.ts +9 -0
  26. package/dist/area.js +706 -0
  27. package/dist/bar.d.ts +9 -0
  28. package/dist/bar.js +554 -0
  29. package/dist/brush.d.ts +17 -0
  30. package/dist/brush.js +86 -0
  31. package/dist/bubble.d.ts +8 -0
  32. package/dist/bubble.js +434 -0
  33. package/dist/camera-CUJAMfpx.js +57 -0
  34. package/dist/candlestick.d.ts +8 -0
  35. package/dist/candlestick.js +42 -0
  36. package/dist/cartesian-k_WIYsGp.js +1139 -0
  37. package/dist/chart-runtime-resolver-DwwXp3X8.js +20 -0
  38. package/dist/chart-series-runtime-C0P7h8Tl.js +127 -0
  39. package/dist/charts.js +1 -0
  40. package/dist/composed.d.ts +2 -0
  41. package/dist/composed.js +4 -0
  42. package/dist/crosshair.d.ts +23 -0
  43. package/dist/crosshair.js +60 -0
  44. package/dist/donut.d.ts +5 -0
  45. package/dist/donut.js +7 -0
  46. package/dist/funnel.d.ts +5 -0
  47. package/dist/funnel.js +40 -0
  48. package/dist/graph.d.ts +6 -0
  49. package/dist/graph.js +260 -0
  50. package/dist/heatmap.d.ts +8 -0
  51. package/dist/heatmap.js +37 -0
  52. package/dist/host-DLDeDU5k.js +4373 -0
  53. package/dist/index.d.ts +1 -0
  54. package/dist/internal-I5BDhahD.js +4 -0
  55. package/dist/layout-donut-BG4ubBtU.js +39 -0
  56. package/dist/line.d.ts +9 -0
  57. package/dist/line.js +452 -0
  58. package/dist/mark-paint-CMHKGegE.js +14 -0
  59. package/dist/mark-style-Cpl-ARQM.js +10 -0
  60. package/dist/model/area/create-area-series-layout.d.ts +15 -0
  61. package/dist/model/area/hit-test-area-layout.d.ts +2 -0
  62. package/dist/model/axis/ChartAxisModel.d.ts +28 -0
  63. package/dist/model/bar/create-bar-series-layout.d.ts +19 -0
  64. package/dist/model/bar/hit-test-bar-layout.d.ts +2 -0
  65. package/dist/model/bubble/create-bubble-series-layout.d.ts +15 -0
  66. package/dist/model/bubble/hit-test-bubble-layout.d.ts +2 -0
  67. package/dist/model/cartesian/append-line-contours.d.ts +4 -0
  68. package/dist/model/cartesian/axis-line-batch.d.ts +3 -0
  69. package/dist/model/cartesian/numeric-window.d.ts +7 -0
  70. package/dist/model/cartesian/point-series.d.ts +54 -0
  71. package/dist/model/cartesian/sample-extrema.d.ts +7 -0
  72. package/dist/model/cartesian/smooth-y.d.ts +4 -0
  73. package/dist/model/cartesian/translation-window.d.ts +17 -0
  74. package/dist/model/context/nova-chart-runtime.d.ts +54 -0
  75. package/dist/model/customization/chart-customization.d.ts +47 -0
  76. package/dist/model/customization/chart-presets.d.ts +6 -0
  77. package/dist/model/customization/chart-style-sheet.d.ts +9 -0
  78. package/dist/model/data/ChartDataStore.d.ts +113 -0
  79. package/dist/model/exploration/create-graph-layout.d.ts +11 -0
  80. package/dist/model/exploration/exploration-chart.types.d.ts +150 -0
  81. package/dist/model/exploration/force-layout.d.ts +9 -0
  82. package/dist/model/exploration/presets/airplane.d.ts +2 -0
  83. package/dist/model/exploration/presets/apartment.d.ts +2 -0
  84. package/dist/model/exploration/presets/botanical-park.d.ts +2 -0
  85. package/dist/model/exploration/presets/ferry.d.ts +2 -0
  86. package/dist/model/exploration/presets/ice-arena.d.ts +2 -0
  87. package/dist/model/exploration/presets/planetarium.d.ts +2 -0
  88. package/dist/model/exploration/presets/science-museum.d.ts +2 -0
  89. package/dist/model/exploration/presets/train.d.ts +2 -0
  90. package/dist/model/exploration/route-geometry.d.ts +9 -0
  91. package/dist/model/exploration/seat-shape.d.ts +7 -0
  92. package/dist/model/interaction/GeometryIndex.d.ts +14 -0
  93. package/dist/model/line/create-line-series-layout.d.ts +15 -0
  94. package/dist/model/line/hit-test-line-layout.d.ts +2 -0
  95. package/dist/model/novel/create-novel-layout.d.ts +5 -0
  96. package/dist/model/novel/hit-test-novel-layout.d.ts +3 -0
  97. package/dist/model/novel/layout-candlestick.d.ts +3 -0
  98. package/dist/model/novel/layout-donut.d.ts +3 -0
  99. package/dist/model/novel/layout-funnel.d.ts +3 -0
  100. package/dist/model/novel/layout-heatmap.d.ts +3 -0
  101. package/dist/model/novel/layout-input.d.ts +12 -0
  102. package/dist/model/novel/layout-radar.d.ts +3 -0
  103. package/dist/model/novel/layout-tree.d.ts +3 -0
  104. package/dist/model/novel/layout-treemap.d.ts +3 -0
  105. package/dist/model/novel/layout-values.d.ts +10 -0
  106. package/dist/model/novel/novel-chart.types.d.ts +140 -0
  107. package/dist/model/novel/novel-domains.d.ts +5 -0
  108. package/dist/model/scale/BandScale.d.ts +86 -0
  109. package/dist/model/scale/ChartScaleRegistry.d.ts +45 -0
  110. package/dist/model/scale/LinearScale.d.ts +48 -0
  111. package/dist/model/scale/TimeScale.d.ts +48 -0
  112. package/dist/model/scale/create-chart-scale.d.ts +3 -0
  113. package/dist/model/scale/resolve-chart-scale.d.ts +5 -0
  114. package/dist/model/scatter/create-scatter-series-layout.d.ts +14 -0
  115. package/dist/model/scatter/hit-test-scatter-layout.d.ts +4 -0
  116. package/dist/model/time/calendar-time.d.ts +16 -0
  117. package/dist/model/types/chart-axis.types.d.ts +43 -0
  118. package/dist/model/types/chart-components.types.d.ts +1393 -0
  119. package/dist/model/types/chart-scale.types.d.ts +78 -0
  120. package/dist/model/viewport-controller/viewport-controller.d.ts +5 -0
  121. package/dist/novel-domains-DBpA_AOT.js +24 -0
  122. package/dist/partition-D-0LTCr3.js +221 -0
  123. package/dist/presets/route-map/apartment.d.ts +2 -0
  124. package/dist/presets/route-map/apartment.js +116 -0
  125. package/dist/presets/route-map/botanical-park.d.ts +2 -0
  126. package/dist/presets/route-map/botanical-park.js +116 -0
  127. package/dist/presets/route-map/science-museum.d.ts +2 -0
  128. package/dist/presets/route-map/science-museum.js +45 -0
  129. package/dist/presets/seat-map/airplane.d.ts +2 -0
  130. package/dist/presets/seat-map/airplane.js +95 -0
  131. package/dist/presets/seat-map/ferry.d.ts +2 -0
  132. package/dist/presets/seat-map/ferry.js +54 -0
  133. package/dist/presets/seat-map/ice-arena.d.ts +2 -0
  134. package/dist/presets/seat-map/ice-arena.js +67 -0
  135. package/dist/presets/seat-map/planetarium.d.ts +2 -0
  136. package/dist/presets/seat-map/planetarium.js +54 -0
  137. package/dist/presets/seat-map/train.d.ts +2 -0
  138. package/dist/presets/seat-map/train.js +66 -0
  139. package/dist/presets.d.ts +78 -0
  140. package/dist/presets.js +14 -0
  141. package/dist/public.d.ts +2 -0
  142. package/dist/radar.d.ts +5 -0
  143. package/dist/radar.js +47 -0
  144. package/dist/rose.d.ts +5 -0
  145. package/dist/rose.js +7 -0
  146. package/dist/route-map.d.ts +6 -0
  147. package/dist/route-map.js +200 -0
  148. package/dist/scatter.d.ts +8 -0
  149. package/dist/scatter.js +433 -0
  150. package/dist/scene-CPvPzTaB.js +137 -0
  151. package/dist/seat-map.d.ts +6 -0
  152. package/dist/seat-map.js +84 -0
  153. package/dist/seat-shape--kEFiUXX.js +66 -0
  154. package/dist/state-C5pICb11.js +134 -0
  155. package/dist/sync.d.ts +82 -0
  156. package/dist/sync.js +326 -0
  157. package/dist/translation-window-Ca_rCenJ.js +57 -0
  158. package/dist/tree.d.ts +6 -0
  159. package/dist/tree.js +114 -0
  160. package/dist/treemap.d.ts +5 -0
  161. package/dist/treemap.js +85 -0
  162. package/dist/ui/area-series/AreaSeries.d.ts +44 -0
  163. package/dist/ui/area-series/area-series.config.d.ts +10 -0
  164. package/dist/ui/area-series/area-series.registry.d.ts +4 -0
  165. package/dist/ui/axis/Axis.d.ts +55 -0
  166. package/dist/ui/axis/axis.config.d.ts +10 -0
  167. package/dist/ui/axis/axis.registry.d.ts +4 -0
  168. package/dist/ui/bar-chart/BarChart.d.ts +124 -0
  169. package/dist/ui/bar-chart/bar-chart.config.d.ts +10 -0
  170. package/dist/ui/bar-chart/bar-chart.registry.d.ts +2 -0
  171. package/dist/ui/bar-series/BarSeries.d.ts +102 -0
  172. package/dist/ui/bar-series/bar-series.config.d.ts +10 -0
  173. package/dist/ui/bar-series/bar-series.registry.d.ts +4 -0
  174. package/dist/ui/bubble-series/BubbleSeries.d.ts +33 -0
  175. package/dist/ui/bubble-series/bubble-series.config.d.ts +10 -0
  176. package/dist/ui/bubble-series/bubble-series.registry.d.ts +4 -0
  177. package/dist/ui/composed-chart/ComposedChart.d.ts +41 -0
  178. package/dist/ui/composed-chart/composed-chart.config.d.ts +10 -0
  179. package/dist/ui/composed-chart/composed-chart.registry.d.ts +4 -0
  180. package/dist/ui/exploration-chart/ExplorationChart.d.ts +83 -0
  181. package/dist/ui/exploration-chart/exploration-chart.config.d.ts +7 -0
  182. package/dist/ui/exploration-chart/exploration-chart.registry.d.ts +6 -0
  183. package/dist/ui/grid/Grid.d.ts +35 -0
  184. package/dist/ui/grid/grid.config.d.ts +10 -0
  185. package/dist/ui/grid/grid.registry.d.ts +4 -0
  186. package/dist/ui/interaction/Interaction.d.ts +53 -0
  187. package/dist/ui/interaction/interaction.config.d.ts +10 -0
  188. package/dist/ui/interaction/interaction.registry.d.ts +4 -0
  189. package/dist/ui/legend/Legend.d.ts +38 -0
  190. package/dist/ui/legend/legend.config.d.ts +10 -0
  191. package/dist/ui/legend/legend.registry.d.ts +2 -0
  192. package/dist/ui/line-series/LineSeries.d.ts +67 -0
  193. package/dist/ui/line-series/line-series.config.d.ts +10 -0
  194. package/dist/ui/line-series/line-series.registry.d.ts +4 -0
  195. package/dist/ui/mark-series/MarkSeries.d.ts +55 -0
  196. package/dist/ui/novel-series/NovelSeries.d.ts +34 -0
  197. package/dist/ui/novel-series/novel-series.config.d.ts +9 -0
  198. package/dist/ui/novel-series/novel-series.registry.d.ts +4 -0
  199. package/dist/ui/partition-chart/PartitionChart.d.ts +24 -0
  200. package/dist/ui/partition-chart/partition-chart.config.d.ts +7 -0
  201. package/dist/ui/partition-chart/partition-chart.registry.d.ts +9 -0
  202. package/dist/ui/plot/Plot.d.ts +64 -0
  203. package/dist/ui/plot/plot.config.d.ts +10 -0
  204. package/dist/ui/plot/plot.registry.d.ts +4 -0
  205. package/dist/ui/root/Root.d.ts +206 -0
  206. package/dist/ui/root/root.config.d.ts +10 -0
  207. package/dist/ui/root/root.registry.d.ts +5 -0
  208. package/dist/ui/scale/Scale.d.ts +55 -0
  209. package/dist/ui/scale/scale.config.d.ts +10 -0
  210. package/dist/ui/scale/scale.registry.d.ts +4 -0
  211. package/dist/ui/scatter-series/ScatterSeries.d.ts +33 -0
  212. package/dist/ui/scatter-series/scatter-series.config.d.ts +10 -0
  213. package/dist/ui/scatter-series/scatter-series.registry.d.ts +4 -0
  214. package/dist/ui/shared/chart-props.d.ts +150 -0
  215. package/dist/ui/shared/chart-runtime-resolver.d.ts +4 -0
  216. package/dist/ui/shared/chart-semantic-marks.d.ts +20 -0
  217. package/dist/ui/shared/chart-series-runtime.d.ts +48 -0
  218. package/dist/ui/shared/schema-types.d.ts +34 -0
  219. package/dist/ui/tooltip/Tooltip.d.ts +64 -0
  220. package/dist/ui/tooltip/tooltip.config.d.ts +10 -0
  221. package/dist/ui/tooltip/tooltip.registry.d.ts +4 -0
  222. package/dist/ui/viewport/Viewport.d.ts +81 -0
  223. package/dist/ui/viewport/viewport.config.d.ts +10 -0
  224. package/dist/ui/viewport/viewport.registry.d.ts +2 -0
  225. package/dist/ui/viewport-controller/ViewportController.d.ts +30 -0
  226. package/dist/ui/viewport-controller/viewport-controller.config.d.ts +10 -0
  227. package/dist/ui/viewport-controller/viewport-controller.registry.d.ts +2 -0
  228. package/package.json +179 -4
@@ -0,0 +1,55 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaApp, NovaSurface } from '@nova-lab/core';
3
+ import { NovaChartAxisApi, NovaChartAxisProps, NovaChartAxisResolvedProps } from '../../model/types/chart-components.types';
4
+ import { ChartAxisDescriptor } from './axis.config';
5
+ import { NovaUiComponentNode } from '@nova-lab/ui-kit';
6
+ /**
7
+ * Ось строится как обычный Nova-компонент и не владеет position.
8
+ */
9
+ export declare class ChartAxis<E extends EventList = Record<string, any>> extends NovaUiComponentNode<NovaChartAxisResolvedProps, NovaChartAxisApi, NovaChartAxisProps, E> {
10
+ private readonly _api;
11
+ /**
12
+ * Создает экземпляр ChartAxis и подготавливает базовое состояние.
13
+ */
14
+ constructor(app: NovaApp<E>, surface: NovaSurface<E>, props: NovaChartAxisResolvedProps, options?: {
15
+ componentId?: string;
16
+ }, descriptor?: ChartAxisDescriptor);
17
+ /** Входы оси изменяются только через props и явную инвалидацию её шкалы. */
18
+ getRenderRetentionKey(): number;
19
+ /**
20
+ * Обновляет значение состояния ChartAxis.
21
+ */
22
+ setProps(patch: Partial<NovaChartAxisResolvedProps>): this;
23
+ /**
24
+ * Возвращает значение состояния ChartAxis.
25
+ */
26
+ getApi(): NovaChartAxisApi;
27
+ /**
28
+ * Выполняет отрисовку ChartAxis.
29
+ */
30
+ render(): void;
31
+ private _renderLines;
32
+ protected onUnmount(): void;
33
+ /**
34
+ * Обрабатывает входящее событие ChartAxis.
35
+ */
36
+ protected onPropsChanged(changedKeys: Array<keyof NovaChartAxisResolvedProps>): void;
37
+ /**
38
+ * Выполняет внутренний шаг readTicks для ChartAxis.
39
+ */
40
+ private _readTicks;
41
+ private _publishSemantics;
42
+ /**
43
+ * Выполняет внутренний шаг ensureRenderableScaleRange для ChartAxis.
44
+ */
45
+ private _ensureRenderableScaleRange;
46
+ /**
47
+ * Нормализует и возвращает итоговое значение ChartAxis.
48
+ */
49
+ private _resolveHorizontalLabelRotation;
50
+ /**
51
+ * Выполняет отрисовку ChartAxis.
52
+ */
53
+ private _renderRotatedLabel;
54
+ private _resolvePartStyle;
55
+ }
@@ -0,0 +1,10 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaComponentCreateContext, NovaComponentDescriptor, NovaComponentNode, NovaComponentSchema } from '@nova-lab/core';
3
+ import { NovaChartAxisApi, NovaChartAxisProps, NovaChartAxisResolvedProps } from '../../model/types/chart-components.types';
4
+ import { normalizeChartAxisProps } from '../shared/chart-props';
5
+ export type ChartAxisDescriptor = NovaComponentDescriptor<NovaChartAxisResolvedProps, NovaChartAxisApi, Record<string, never>, NovaChartAxisProps>;
6
+ export type ChartAxisNodeFactory = <E extends EventList>(context: NovaComponentCreateContext<E>, schema: NovaComponentSchema<NovaChartAxisProps>) => NovaComponentNode<any, any, any, any, E>;
7
+ export declare const CHART_AXIS_SCHEMA_TYPE = "NovaCharts.Axis";
8
+ export declare function createChartAxisDescriptor(createNode?: ChartAxisNodeFactory): ChartAxisDescriptor;
9
+ export declare const CHART_AXIS_NODE_DESCRIPTOR: ChartAxisDescriptor;
10
+ export { normalizeChartAxisProps };
@@ -0,0 +1,4 @@
1
+ import { NovaSchemaRegistry } from '@nova-lab/core';
2
+ import { ChartAxisDescriptor } from './axis.config';
3
+ export declare const CHART_AXIS_DESCRIPTOR: ChartAxisDescriptor;
4
+ export declare function registerChartAxis(registry: NovaSchemaRegistry): void;
@@ -0,0 +1,124 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaApp, NovaSurface } from '@nova-lab/core';
3
+ import { NovaUiLayoutRect, NovaUiComponentNode } from '@nova-lab/ui-kit';
4
+ import { NovaChartBarChartApi, NovaChartBarChartProps, NovaChartBarChartResolvedProps } from '../../model/types/chart-components.types';
5
+ import { ChartBarChartDescriptor } from './bar-chart.config';
6
+ /**
7
+ * High-level BarChart wrapper собирает chart runtime из low-level DSL компонентов.
8
+ */
9
+ export declare class ChartBarChart<TData = Record<string, unknown>, E extends EventList = Record<string, any>> extends NovaUiComponentNode<NovaChartBarChartResolvedProps<TData>, NovaChartBarChartApi<TData>, NovaChartBarChartProps<TData>, E> {
10
+ private readonly _managedChildren;
11
+ private readonly _api;
12
+ /**
13
+ * Создает экземпляр ChartBarChart и подготавливает внутренний DSL tree.
14
+ */
15
+ constructor(app: NovaApp<E>, surface: NovaSurface<E>, props: NovaChartBarChartResolvedProps<TData>, options?: {
16
+ componentId?: string;
17
+ }, descriptor?: ChartBarChartDescriptor<TData>);
18
+ /**
19
+ * Обновляет значение состояния ChartBarChart.
20
+ */
21
+ setProps(patch: Partial<NovaChartBarChartResolvedProps<TData>>): this;
22
+ /**
23
+ * Возвращает значение состояния ChartBarChart.
24
+ */
25
+ getApi(): NovaChartBarChartApi<TData>;
26
+ /**
27
+ * Применяет подготовленное состояние ChartBarChart.
28
+ */
29
+ applyLayoutRect(rect: NovaUiLayoutRect): boolean;
30
+ /**
31
+ * Обновляет runtime-состояние ChartBarChart.
32
+ */
33
+ update(): void;
34
+ /**
35
+ * Выполняет отрисовку ChartBarChart.
36
+ */
37
+ render(): void;
38
+ /**
39
+ * Обновляет данные wrapper chart.
40
+ */
41
+ private _setData;
42
+ /**
43
+ * Пересобирает внутренний DSL tree.
44
+ */
45
+ private _refresh;
46
+ /**
47
+ * Согласует внутренние Nova children.
48
+ */
49
+ private _reconcile;
50
+ /**
51
+ * Создает корневой schema high-level chart.
52
+ */
53
+ private _createRootSchema;
54
+ /**
55
+ * Создает layout для vertical bars.
56
+ */
57
+ private _createVerticalLayout;
58
+ /**
59
+ * Создает layout для horizontal bars.
60
+ */
61
+ private _createHorizontalLayout;
62
+ /**
63
+ * Создает Plot с Grid, BarSeries, Interaction и Tooltip.
64
+ */
65
+ private _createPlot;
66
+ private _createViewportController;
67
+ /**
68
+ * Создает vertical value axis.
69
+ */
70
+ private _createValueAxis;
71
+ /**
72
+ * Создает vertical category axis.
73
+ */
74
+ private _createCategoryAxis;
75
+ /**
76
+ * Создает bottom category axis row.
77
+ */
78
+ private _createCategoryAxisRow;
79
+ /**
80
+ * Создает bottom value axis row.
81
+ */
82
+ private _createValueAxisRow;
83
+ /**
84
+ * Создает horizontal viewport row.
85
+ */
86
+ private _createViewportRow;
87
+ /**
88
+ * Создает vertical viewport column.
89
+ */
90
+ private _createViewportColumn;
91
+ /**
92
+ * Создает Legend.
93
+ */
94
+ private _createLegend;
95
+ /**
96
+ * Создает прозрачный layout spacer.
97
+ */
98
+ private _createSpacer;
99
+ /**
100
+ * Возвращает object props для boolean | object опций.
101
+ */
102
+ private _resolveObjectOption;
103
+ /**
104
+ * Возвращает полный category domain.
105
+ */
106
+ private _resolveCategoryDomain;
107
+ /**
108
+ * Возвращает value-domain с учетом stacked mode.
109
+ */
110
+ private _resolveValueDomain;
111
+ /**
112
+ * Применяет layout rect к внутреннему root.
113
+ */
114
+ private _applyChildrenRect;
115
+ /**
116
+ * Активирует фазы внутреннего subtree.
117
+ */
118
+ private _pulseChildren;
119
+ private _rootApi;
120
+ /**
121
+ * Обрабатывает входящее событие ChartBarChart.
122
+ */
123
+ protected onPropsChanged(changedKeys: Array<keyof NovaChartBarChartResolvedProps<TData>>): void;
124
+ }
@@ -0,0 +1,10 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaComponentCreateContext, NovaComponentDescriptor, NovaComponentNode, NovaComponentSchema } from '@nova-lab/core';
3
+ import { NovaChartBarChartApi, NovaChartBarChartProps, NovaChartBarChartResolvedProps } from '../../model/types/chart-components.types';
4
+ import { normalizeChartBarChartProps } from '../shared/chart-props';
5
+ export type ChartBarChartDescriptor<TData = Record<string, unknown>> = NovaComponentDescriptor<NovaChartBarChartResolvedProps<TData>, NovaChartBarChartApi<TData>, Record<string, never>, NovaChartBarChartProps<TData>>;
6
+ export type ChartBarChartNodeFactory = <E extends EventList>(context: NovaComponentCreateContext<E>, schema: NovaComponentSchema<NovaChartBarChartProps>) => NovaComponentNode<any, any, any, any, E>;
7
+ export declare const CHART_BAR_CHART_SCHEMA_TYPE = "NovaCharts.BarChart";
8
+ export declare function createChartBarChartDescriptor<TData = Record<string, unknown>>(createNode?: ChartBarChartNodeFactory): ChartBarChartDescriptor<TData>;
9
+ export declare const CHART_BAR_CHART_NODE_DESCRIPTOR: ChartBarChartDescriptor<Record<string, unknown>>;
10
+ export { normalizeChartBarChartProps };
@@ -0,0 +1,2 @@
1
+ import { ChartBarChartDescriptor } from './bar-chart.config';
2
+ export declare const CHART_BAR_CHART_DESCRIPTOR: ChartBarChartDescriptor;
@@ -0,0 +1,102 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaApp, NovaSurface } from '@nova-lab/core';
3
+ import { NovaChartBarSeriesApi, NovaChartBarSeriesProps, NovaChartBarSeriesResolvedProps, NovaChartBarVirtualizationOptions } from '../../model/types/chart-components.types';
4
+ import { ChartBarSeriesDescriptor } from './bar-series.config';
5
+ import { NovaUiComponentNode } from '@nova-lab/ui-kit';
6
+ /**
7
+ * Bar series строит bounded render schema и не рендерит весь миллион строк.
8
+ */
9
+ export declare class ChartBarSeries<TData = Record<string, unknown>, E extends EventList = Record<string, any>> extends NovaUiComponentNode<NovaChartBarSeriesResolvedProps<TData>, NovaChartBarSeriesApi<TData>, NovaChartBarSeriesProps<TData>, E> {
10
+ private _layoutPlan;
11
+ private _layoutEpoch;
12
+ private _computedEpoch;
13
+ private readonly _api;
14
+ private readonly _runtimeBinding;
15
+ /**
16
+ * Создает экземпляр ChartBarSeries и подготавливает базовое состояние.
17
+ */
18
+ constructor(app: NovaApp<E>, surface: NovaSurface<E>, props: NovaChartBarSeriesResolvedProps<TData>, options?: {
19
+ componentId?: string;
20
+ }, descriptor?: ChartBarSeriesDescriptor<TData>);
21
+ /**
22
+ * Обновляет значение состояния ChartBarSeries.
23
+ */
24
+ setProps(patch: Partial<NovaChartBarSeriesResolvedProps<TData>>): this;
25
+ /**
26
+ * Возвращает значение состояния ChartBarSeries.
27
+ */
28
+ getApi(): NovaChartBarSeriesApi<TData>;
29
+ /**
30
+ * Обновляет runtime-состояние ChartBarSeries.
31
+ */
32
+ update(): void;
33
+ /**
34
+ * Выполняет отрисовку ChartBarSeries.
35
+ */
36
+ render(): void;
37
+ /**
38
+ * Обновляет значение состояния ChartBarSeries.
39
+ */
40
+ setVirtualization(options: NovaChartBarVirtualizationOptions): void;
41
+ /**
42
+ * Обрабатывает входящее событие ChartBarSeries.
43
+ */
44
+ protected onMount(): void;
45
+ /**
46
+ * Обрабатывает входящее событие ChartBarSeries.
47
+ */
48
+ protected onUnmount(): void;
49
+ /**
50
+ * Обрабатывает входящее событие ChartBarSeries.
51
+ */
52
+ protected onPropsChanged(changedKeys: Array<keyof NovaChartBarSeriesResolvedProps<TData>>): void;
53
+ /**
54
+ * Выполняет hit-test для runtime-геометрии ChartBarSeries.
55
+ */
56
+ private _hitTestSeries;
57
+ /**
58
+ * Синхронизирует актуальное состояние ChartBarSeries.
59
+ */
60
+ private _refresh;
61
+ /**
62
+ * Вычисляет производное значение ChartBarSeries.
63
+ */
64
+ private _computeLayout;
65
+ /**
66
+ * Публикует вклад BarSeries в shared scale source domains.
67
+ */
68
+ private _publishDomainContributions;
69
+ /**
70
+ * Возвращает полный category domain этой series.
71
+ */
72
+ private _resolveCategoryDomain;
73
+ /**
74
+ * Возвращает полный value domain этой series с учетом stacked totals.
75
+ */
76
+ private _resolveValueDomain;
77
+ /**
78
+ * Возвращает scale id, на котором лежит category axis.
79
+ */
80
+ private get _categoryScaleId();
81
+ /**
82
+ * Возвращает scale id, на котором лежит value axis.
83
+ */
84
+ private get _valueScaleId();
85
+ private get _categoryContributionId();
86
+ private get _valueContributionId();
87
+ /**
88
+ * Выполняет внутренний шаг publishDiagnostics для ChartBarSeries.
89
+ */
90
+ private _publishDiagnostics;
91
+ /**
92
+ * Выполняет внутренний шаг isItemHighlighted для ChartBarSeries.
93
+ */
94
+ private _isItemHighlighted;
95
+ /**
96
+ * Рисует подписи баров поверх bounded schema.
97
+ */
98
+ private _renderLabels;
99
+ private _createStyleContext;
100
+ private _resolveBarStyle;
101
+ private _resolveLabelStyle;
102
+ }
@@ -0,0 +1,10 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaComponentCreateContext, NovaComponentDescriptor, NovaComponentNode, NovaComponentSchema } from '@nova-lab/core';
3
+ import { NovaChartBarSeriesApi, NovaChartBarSeriesProps, NovaChartBarSeriesResolvedProps } from '../../model/types/chart-components.types';
4
+ import { normalizeChartBarSeriesProps } from '../shared/chart-props';
5
+ export type ChartBarSeriesDescriptor<TData = Record<string, unknown>> = NovaComponentDescriptor<NovaChartBarSeriesResolvedProps<TData>, NovaChartBarSeriesApi<TData>, Record<string, never>, NovaChartBarSeriesProps<TData>>;
6
+ export type ChartBarSeriesNodeFactory = <E extends EventList>(context: NovaComponentCreateContext<E>, schema: NovaComponentSchema<NovaChartBarSeriesProps>) => NovaComponentNode<any, any, any, any, E>;
7
+ export declare const CHART_BAR_SERIES_SCHEMA_TYPE = "NovaCharts.BarSeries";
8
+ export declare function createChartBarSeriesDescriptor(createNode?: ChartBarSeriesNodeFactory): ChartBarSeriesDescriptor;
9
+ export declare const CHART_BAR_SERIES_NODE_DESCRIPTOR: ChartBarSeriesDescriptor<Record<string, unknown>>;
10
+ export { normalizeChartBarSeriesProps };
@@ -0,0 +1,4 @@
1
+ import { NovaSchemaRegistry } from '@nova-lab/core';
2
+ import { ChartBarSeriesDescriptor } from './bar-series.config';
3
+ export declare const CHART_BAR_SERIES_DESCRIPTOR: ChartBarSeriesDescriptor;
4
+ export declare function registerChartBarSeries(registry: NovaSchemaRegistry): void;
@@ -0,0 +1,33 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaApp, NovaSurface } from '@nova-lab/core';
3
+ import { NovaChartBubbleSeriesApi, NovaChartBubbleSeriesProps, NovaChartBubbleSeriesResolvedProps, NovaChartPointSeriesVirtualizationOptions } from '../../model/types/chart-components.types';
4
+ import { ChartBubbleSeriesDescriptor } from './bubble-series.config';
5
+ import { NovaUiComponentNode } from '@nova-lab/ui-kit';
6
+ /**
7
+ * BubbleSeries расширяет scatter semantics sizeField-driven радиусом.
8
+ */
9
+ export declare class ChartBubbleSeries<TData = Record<string, unknown>, E extends EventList = Record<string, any>> extends NovaUiComponentNode<NovaChartBubbleSeriesResolvedProps<TData>, NovaChartBubbleSeriesApi<TData>, NovaChartBubbleSeriesProps<TData>, E> {
10
+ private _layoutPlan;
11
+ private _layoutEpoch;
12
+ private _computedEpoch;
13
+ private readonly _api;
14
+ private readonly _runtimeBinding;
15
+ constructor(app: NovaApp<E>, surface: NovaSurface<E>, props: NovaChartBubbleSeriesResolvedProps<TData>, options?: {
16
+ componentId?: string;
17
+ }, descriptor?: ChartBubbleSeriesDescriptor<TData>);
18
+ setProps(patch: Partial<NovaChartBubbleSeriesResolvedProps<TData>>): this;
19
+ getApi(): NovaChartBubbleSeriesApi<TData>;
20
+ update(): void;
21
+ render(): void;
22
+ setVirtualization(options: NovaChartPointSeriesVirtualizationOptions): void;
23
+ protected onMount(): void;
24
+ protected onUnmount(): void;
25
+ protected onPropsChanged(changedKeys: Array<keyof NovaChartBubbleSeriesResolvedProps<TData>>): void;
26
+ private _hitTestSeries;
27
+ private _refresh;
28
+ private _computeLayout;
29
+ private _publishSchemaDiagnostics;
30
+ private _isPointHighlighted;
31
+ private _createPointStyleContext;
32
+ private _resolveBubbleStyle;
33
+ }
@@ -0,0 +1,10 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaComponentCreateContext, NovaComponentDescriptor, NovaComponentNode, NovaComponentSchema } from '@nova-lab/core';
3
+ import { NovaChartBubbleSeriesApi, NovaChartBubbleSeriesProps, NovaChartBubbleSeriesResolvedProps } from '../../model/types/chart-components.types';
4
+ import { normalizeChartBubbleSeriesProps } from '../shared/chart-props';
5
+ export type ChartBubbleSeriesDescriptor<TData = Record<string, unknown>> = NovaComponentDescriptor<NovaChartBubbleSeriesResolvedProps<TData>, NovaChartBubbleSeriesApi<TData>, Record<string, never>, NovaChartBubbleSeriesProps<TData>>;
6
+ export type ChartBubbleSeriesNodeFactory = <E extends EventList>(context: NovaComponentCreateContext<E>, schema: NovaComponentSchema<NovaChartBubbleSeriesProps>) => NovaComponentNode<any, any, any, any, E>;
7
+ export declare const CHART_BUBBLE_SERIES_SCHEMA_TYPE = "NovaCharts.BubbleSeries";
8
+ export declare function createChartBubbleSeriesDescriptor(createNode?: ChartBubbleSeriesNodeFactory): ChartBubbleSeriesDescriptor;
9
+ export declare const CHART_BUBBLE_SERIES_NODE_DESCRIPTOR: ChartBubbleSeriesDescriptor<Record<string, unknown>>;
10
+ export { normalizeChartBubbleSeriesProps };
@@ -0,0 +1,4 @@
1
+ import { NovaSchemaRegistry } from '@nova-lab/core';
2
+ import { ChartBubbleSeriesDescriptor } from './bubble-series.config';
3
+ export declare const CHART_BUBBLE_SERIES_DESCRIPTOR: ChartBubbleSeriesDescriptor;
4
+ export declare function registerChartBubbleSeries(registry: NovaSchemaRegistry): void;
@@ -0,0 +1,41 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaApp, NovaSurface } from '@nova-lab/core';
3
+ import { NovaUiLayoutRect, NovaUiComponentNode } from '@nova-lab/ui-kit';
4
+ import { NovaChartComposedChartApi, NovaChartComposedChartProps, NovaChartComposedChartResolvedProps } from '../../model/types/chart-components.types';
5
+ import { ChartComposedChartDescriptor } from './composed-chart.config';
6
+ /**
7
+ * High-level cartesian wrapper для mixed series на shared scales.
8
+ */
9
+ export declare class ChartComposedChart<TData = Record<string, unknown>, E extends EventList = Record<string, any>> extends NovaUiComponentNode<NovaChartComposedChartResolvedProps<TData>, NovaChartComposedChartApi<TData>, NovaChartComposedChartProps<TData>, E> {
10
+ private readonly _managedChildren;
11
+ private readonly _api;
12
+ constructor(app: NovaApp<E>, surface: NovaSurface<E>, props: NovaChartComposedChartResolvedProps<TData>, options?: {
13
+ componentId?: string;
14
+ }, descriptor?: ChartComposedChartDescriptor<TData>);
15
+ setProps(patch: Partial<NovaChartComposedChartResolvedProps<TData>>): this;
16
+ getApi(): NovaChartComposedChartApi<TData>;
17
+ applyLayoutRect(rect: NovaUiLayoutRect): boolean;
18
+ update(): void;
19
+ render(): void;
20
+ private _setData;
21
+ private _refresh;
22
+ private _reconcile;
23
+ private _createRootSchema;
24
+ private _createMainRow;
25
+ private _createPlot;
26
+ private _createViewportController;
27
+ private _createSeriesSchema;
28
+ private _createYAxis;
29
+ private _createXAxisRow;
30
+ private _createViewportRow;
31
+ private _createLegend;
32
+ private _createSpacer;
33
+ private _isXAxisVisible;
34
+ private _isYAxisVisible;
35
+ private _resolveAxisObjectOption;
36
+ private _resolveObjectOption;
37
+ private _applyChildrenRect;
38
+ private _pulseChildren;
39
+ private _rootApi;
40
+ protected onPropsChanged(changedKeys: Array<keyof NovaChartComposedChartResolvedProps<TData>>): void;
41
+ }
@@ -0,0 +1,10 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaComponentCreateContext, NovaComponentDescriptor, NovaComponentNode, NovaComponentSchema } from '@nova-lab/core';
3
+ import { NovaChartComposedChartApi, NovaChartComposedChartProps, NovaChartComposedChartResolvedProps } from '../../model/types/chart-components.types';
4
+ import { normalizeChartComposedChartProps } from '../shared/chart-props';
5
+ export type ChartComposedChartDescriptor<TData = Record<string, unknown>> = NovaComponentDescriptor<NovaChartComposedChartResolvedProps<TData>, NovaChartComposedChartApi<TData>, Record<string, never>, NovaChartComposedChartProps<TData>>;
6
+ export type ChartComposedChartNodeFactory = <E extends EventList>(context: NovaComponentCreateContext<E>, schema: NovaComponentSchema<NovaChartComposedChartProps>) => NovaComponentNode<any, any, any, any, E>;
7
+ export declare const CHART_COMPOSED_CHART_SCHEMA_TYPE = "NovaCharts.ComposedChart";
8
+ export declare function createChartComposedChartDescriptor(createNode?: ChartComposedChartNodeFactory): ChartComposedChartDescriptor;
9
+ export declare const CHART_COMPOSED_CHART_NODE_DESCRIPTOR: ChartComposedChartDescriptor<Record<string, unknown>>;
10
+ export { normalizeChartComposedChartProps };
@@ -0,0 +1,4 @@
1
+ import { NovaSchemaRegistry } from '@nova-lab/core';
2
+ import { ChartComposedChartDescriptor } from './composed-chart.config';
3
+ export declare const CHART_COMPOSED_CHART_DESCRIPTOR: ChartComposedChartDescriptor;
4
+ export declare function registerChartComposedChart(registry: NovaSchemaRegistry): void;
@@ -0,0 +1,83 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaApp, NovaSurface } from '@nova-lab/core';
3
+ import { NovaChartExplorationApi, NovaChartExplorationProps, NovaChartExplorationResolvedProps } from '../../model/exploration/exploration-chart.types';
4
+ import { ChartExplorationDescriptor } from './exploration-chart.config';
5
+ import { NovaUiComponentNode } from '@nova-lab/ui-kit';
6
+ export declare class ChartExploration<E extends EventList = Record<string, any>> extends NovaUiComponentNode<NovaChartExplorationResolvedProps, NovaChartExplorationApi, NovaChartExplorationProps, E> {
7
+ private readonly _api;
8
+ private _graph;
9
+ private _graphRevision;
10
+ private _graphWidth;
11
+ private _graphHeight;
12
+ private _hover;
13
+ private _hoverStartedAt;
14
+ private _pointer;
15
+ private _tooltipHit;
16
+ private _tooltipPointer;
17
+ private _tooltipOpacity;
18
+ private _tooltipFromOpacity;
19
+ private _tooltipTargetOpacity;
20
+ private _tooltipTransitionStartedAt;
21
+ private _tooltipTransitionDuration;
22
+ private _tooltipMotionStartedAt;
23
+ private _tooltipFromX;
24
+ private _tooltipFromY;
25
+ private _tooltipDrawX;
26
+ private _tooltipDrawY;
27
+ private _dragNode;
28
+ private _panning;
29
+ private _zoom;
30
+ private _panX;
31
+ private _panY;
32
+ private _seatBounds;
33
+ private _seatPress;
34
+ private _pointHits;
35
+ private _walkerHits;
36
+ private readonly _selectedSeats;
37
+ private _svgImage;
38
+ private readonly _walkerIcons;
39
+ private readonly _seatPathPoints;
40
+ private _frame;
41
+ private _startTime;
42
+ private _elapsed;
43
+ private _paused;
44
+ constructor(app: NovaApp<E>, surface: NovaSurface<E>, props: NovaChartExplorationResolvedProps, options: {
45
+ componentId?: string;
46
+ }, descriptor: ChartExplorationDescriptor);
47
+ setProps(patch: Partial<NovaChartExplorationResolvedProps>): this;
48
+ getApi(): NovaChartExplorationApi;
49
+ update(): void;
50
+ render(): void;
51
+ protected onMount(): void;
52
+ protected onUnmount(): void;
53
+ protected onPropsChanged(changedKeys: Array<keyof NovaChartExplorationResolvedProps>): void;
54
+ private _rows;
55
+ private _renderTitle;
56
+ private _renderGraph;
57
+ private _renderMiniMap;
58
+ private _renderAggregation;
59
+ private _renderRouteMap;
60
+ private _renderRouteWalkers;
61
+ private _walkerIcon;
62
+ private _renderSeatMap;
63
+ private _renderTooltip;
64
+ private _renderRouteTooltip;
65
+ private _routeTooltipPosition;
66
+ private _setRouteTooltip;
67
+ private _text;
68
+ private _hit;
69
+ private _local;
70
+ private _handleMove;
71
+ private _setHover;
72
+ private _handleDown;
73
+ private _handleDrag;
74
+ private _endDrag;
75
+ private _handleUp;
76
+ private _handleClick;
77
+ private _handleWheel;
78
+ private _clearHover;
79
+ private _resetView;
80
+ private _view;
81
+ private _fitBox;
82
+ private _syncBackgroundImage;
83
+ }
@@ -0,0 +1,7 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaComponentCreateContext, NovaComponentDescriptor, NovaComponentNode, NovaComponentSchema } from '@nova-lab/core';
3
+ import { NovaChartExplorationApi, NovaChartExplorationKind, NovaChartExplorationProps, NovaChartExplorationResolvedProps } from '../../model/exploration/exploration-chart.types';
4
+ export type ChartExplorationDescriptor = NovaComponentDescriptor<NovaChartExplorationResolvedProps, NovaChartExplorationApi, Record<string, never>, NovaChartExplorationProps>;
5
+ export type ChartExplorationFactory = <E extends EventList>(context: NovaComponentCreateContext<E>, schema: NovaComponentSchema<NovaChartExplorationProps>) => NovaComponentNode<any, any, any, any, E>;
6
+ export declare function normalizeChartExplorationProps(props: NovaChartExplorationProps, kind: NovaChartExplorationKind): NovaChartExplorationResolvedProps;
7
+ export declare function createChartExplorationDescriptor(name: string, kind: NovaChartExplorationKind, createNode?: ChartExplorationFactory): ChartExplorationDescriptor;
@@ -0,0 +1,6 @@
1
+ import { NovaSchemaRegistry } from '@nova-lab/core';
2
+ export declare const CHART_GRAPH_CHART_DESCRIPTOR: import('./exploration-chart.config').ChartExplorationDescriptor;
3
+ export declare const CHART_AGGREGATION_CHART_DESCRIPTOR: import('./exploration-chart.config').ChartExplorationDescriptor;
4
+ export declare const CHART_ROUTE_MAP_CHART_DESCRIPTOR: import('./exploration-chart.config').ChartExplorationDescriptor;
5
+ export declare const CHART_SEAT_MAP_CHART_DESCRIPTOR: import('./exploration-chart.config').ChartExplorationDescriptor;
6
+ export declare function registerChartExplorationCharts(registry: NovaSchemaRegistry): void;
@@ -0,0 +1,35 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaApp, NovaSurface } from '@nova-lab/core';
3
+ import { NovaChartGridApi, NovaChartGridProps, NovaChartGridResolvedProps } from '../../model/types/chart-components.types';
4
+ import { ChartGridDescriptor } from './grid.config';
5
+ import { NovaUiComponentNode } from '@nova-lab/ui-kit';
6
+ /**
7
+ * Grid использует те же ticks scale API, что Axis.
8
+ */
9
+ export declare class ChartGrid<E extends EventList = Record<string, any>> extends NovaUiComponentNode<NovaChartGridResolvedProps, NovaChartGridApi, NovaChartGridProps, E> {
10
+ private _lineCount;
11
+ private readonly _api;
12
+ /**
13
+ * Создает экземпляр ChartGrid и подготавливает базовое состояние.
14
+ */
15
+ constructor(app: NovaApp<E>, surface: NovaSurface<E>, props: NovaChartGridResolvedProps, options?: {
16
+ componentId?: string;
17
+ }, descriptor?: ChartGridDescriptor);
18
+ /**
19
+ * Обновляет значение состояния ChartGrid.
20
+ */
21
+ setProps(patch: Partial<NovaChartGridResolvedProps>): this;
22
+ /**
23
+ * Возвращает значение состояния ChartGrid.
24
+ */
25
+ getApi(): NovaChartGridApi;
26
+ /**
27
+ * Выполняет отрисовку ChartGrid.
28
+ */
29
+ render(): void;
30
+ protected onUnmount(): void;
31
+ /**
32
+ * Обрабатывает входящее событие ChartGrid.
33
+ */
34
+ protected onPropsChanged(changedKeys: Array<keyof NovaChartGridResolvedProps>): void;
35
+ }
@@ -0,0 +1,10 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaComponentCreateContext, NovaComponentDescriptor, NovaComponentNode, NovaComponentSchema } from '@nova-lab/core';
3
+ import { NovaChartGridApi, NovaChartGridProps, NovaChartGridResolvedProps } from '../../model/types/chart-components.types';
4
+ import { normalizeChartGridProps } from '../shared/chart-props';
5
+ export type ChartGridDescriptor = NovaComponentDescriptor<NovaChartGridResolvedProps, NovaChartGridApi, Record<string, never>, NovaChartGridProps>;
6
+ export type ChartGridNodeFactory = <E extends EventList>(context: NovaComponentCreateContext<E>, schema: NovaComponentSchema<NovaChartGridProps>) => NovaComponentNode<any, any, any, any, E>;
7
+ export declare const CHART_GRID_SCHEMA_TYPE = "NovaCharts.Grid";
8
+ export declare function createChartGridDescriptor(createNode?: ChartGridNodeFactory): ChartGridDescriptor;
9
+ export declare const CHART_GRID_NODE_DESCRIPTOR: ChartGridDescriptor;
10
+ export { normalizeChartGridProps };
@@ -0,0 +1,4 @@
1
+ import { NovaSchemaRegistry } from '@nova-lab/core';
2
+ import { ChartGridDescriptor } from './grid.config';
3
+ export declare const CHART_GRID_DESCRIPTOR: ChartGridDescriptor;
4
+ export declare function registerChartGrid(registry: NovaSchemaRegistry): void;
@@ -0,0 +1,53 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaApp, NovaSurface } from '@nova-lab/core';
3
+ import { NovaChartInteractionApi, NovaChartInteractionProps, NovaChartInteractionResolvedProps } from '../../model/types/chart-components.types';
4
+ import { ChartInteractionDescriptor } from './interaction.config';
5
+ import { NovaUiComponentNode } from '@nova-lab/ui-kit';
6
+ /**
7
+ * Универсальный pointer-layer chart interaction: hover, hit-test и tooltip state.
8
+ */
9
+ export declare class ChartInteraction<E extends EventList = Record<string, any>> extends NovaUiComponentNode<NovaChartInteractionResolvedProps, NovaChartInteractionApi, NovaChartInteractionProps, E> {
10
+ private readonly _api;
11
+ /**
12
+ * Создает экземпляр ChartInteraction и подготавливает базовое состояние.
13
+ */
14
+ constructor(app: NovaApp<E>, surface: NovaSurface<E>, props: NovaChartInteractionResolvedProps, options?: {
15
+ componentId?: string;
16
+ }, descriptor?: ChartInteractionDescriptor);
17
+ /**
18
+ * Обновляет значение состояния ChartInteraction.
19
+ */
20
+ setProps(patch: Partial<NovaChartInteractionResolvedProps>): this;
21
+ /**
22
+ * Возвращает значение состояния ChartInteraction.
23
+ */
24
+ getApi(): NovaChartInteractionApi;
25
+ /**
26
+ * Выполняет отрисовку ChartInteraction.
27
+ */
28
+ render(): void;
29
+ /**
30
+ * Обрабатывает входящее событие ChartInteraction.
31
+ */
32
+ protected onPropsChanged(changedKeys: Array<keyof NovaChartInteractionResolvedProps>): void;
33
+ /**
34
+ * Обновляет значение состояния ChartInteraction.
35
+ */
36
+ private _setupEvents;
37
+ /**
38
+ * Обрабатывает runtime-событие ChartInteraction.
39
+ */
40
+ private _handlePointerMove;
41
+ /**
42
+ * Очищает накопленное состояние ChartInteraction.
43
+ */
44
+ private _clearHover;
45
+ private _handleClick;
46
+ private _handleWheel;
47
+ private _handleDragMove;
48
+ private _navigableSeries;
49
+ /**
50
+ * Находит сущность по runtime-критериям ChartInteraction.
51
+ */
52
+ private _findHoveredDatum;
53
+ }