@nova-lab/charts 0.0.0-stage → 1.0.0-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,10 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaComponentCreateContext, NovaComponentDescriptor, NovaComponentNode, NovaComponentSchema } from '@nova-lab/core';
3
+ import { NovaChartInteractionApi, NovaChartInteractionProps, NovaChartInteractionResolvedProps } from '../../model/types/chart-components.types';
4
+ import { normalizeChartInteractionProps } from '../shared/chart-props';
5
+ export type ChartInteractionDescriptor = NovaComponentDescriptor<NovaChartInteractionResolvedProps, NovaChartInteractionApi, Record<string, never>, NovaChartInteractionProps>;
6
+ export type ChartInteractionNodeFactory = <E extends EventList>(context: NovaComponentCreateContext<E>, schema: NovaComponentSchema<NovaChartInteractionProps>) => NovaComponentNode<any, any, any, any, E>;
7
+ export declare const CHART_INTERACTION_SCHEMA_TYPE = "NovaCharts.Interaction";
8
+ export declare function createChartInteractionDescriptor(createNode?: ChartInteractionNodeFactory): ChartInteractionDescriptor;
9
+ export declare const CHART_INTERACTION_NODE_DESCRIPTOR: ChartInteractionDescriptor;
10
+ export { normalizeChartInteractionProps };
@@ -0,0 +1,4 @@
1
+ import { NovaSchemaRegistry } from '@nova-lab/core';
2
+ import { ChartInteractionDescriptor } from './interaction.config';
3
+ export declare const CHART_INTERACTION_DESCRIPTOR: ChartInteractionDescriptor;
4
+ export declare function registerChartInteraction(registry: NovaSchemaRegistry): void;
@@ -0,0 +1,38 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaApp, NovaSurface } from '@nova-lab/core';
3
+ import { NovaChartLegendApi, NovaChartLegendProps, NovaChartLegendResolvedProps } from '../../model/types/chart-components.types';
4
+ import { ChartLegendDescriptor } from './legend.config';
5
+ import { NovaUiComponentNode } from '@nova-lab/ui-kit';
6
+ /**
7
+ * Legend читает series metadata из chart runtime и рендерит canvas entries.
8
+ */
9
+ export declare class ChartLegend<E extends EventList = Record<string, any>> extends NovaUiComponentNode<NovaChartLegendResolvedProps, NovaChartLegendApi, NovaChartLegendProps, E> {
10
+ private readonly _api;
11
+ /**
12
+ * Создает экземпляр ChartLegend и подготавливает базовое состояние.
13
+ */
14
+ constructor(app: NovaApp<E>, surface: NovaSurface<E>, props: NovaChartLegendResolvedProps, options?: {
15
+ componentId?: string;
16
+ }, descriptor?: ChartLegendDescriptor);
17
+ /**
18
+ * Обновляет значение состояния ChartLegend.
19
+ */
20
+ setProps(patch: Partial<NovaChartLegendResolvedProps>): this;
21
+ /**
22
+ * Возвращает значение состояния ChartLegend.
23
+ */
24
+ getApi(): NovaChartLegendApi;
25
+ /**
26
+ * Выполняет отрисовку ChartLegend.
27
+ */
28
+ render(): void;
29
+ protected onUnmount(): void;
30
+ /**
31
+ * Обрабатывает входящее событие ChartLegend.
32
+ */
33
+ protected onPropsChanged(changedKeys: Array<keyof NovaChartLegendResolvedProps>): void;
34
+ /**
35
+ * Возвращает series metadata с учетом local props.
36
+ */
37
+ private _resolveSeries;
38
+ }
@@ -0,0 +1,10 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaComponentCreateContext, NovaComponentDescriptor, NovaComponentNode, NovaComponentSchema } from '@nova-lab/core';
3
+ import { NovaChartLegendApi, NovaChartLegendProps, NovaChartLegendResolvedProps } from '../../model/types/chart-components.types';
4
+ import { normalizeChartLegendProps } from '../shared/chart-props';
5
+ export type ChartLegendDescriptor = NovaComponentDescriptor<NovaChartLegendResolvedProps, NovaChartLegendApi, Record<string, never>, NovaChartLegendProps>;
6
+ export type ChartLegendNodeFactory = <E extends EventList>(context: NovaComponentCreateContext<E>, schema: NovaComponentSchema<NovaChartLegendProps>) => NovaComponentNode<any, any, any, any, E>;
7
+ export declare const CHART_LEGEND_SCHEMA_TYPE = "NovaCharts.Legend";
8
+ export declare function createChartLegendDescriptor(createNode?: ChartLegendNodeFactory): ChartLegendDescriptor;
9
+ export declare const CHART_LEGEND_NODE_DESCRIPTOR: ChartLegendDescriptor;
10
+ export { normalizeChartLegendProps };
@@ -0,0 +1,2 @@
1
+ import { ChartLegendDescriptor } from './legend.config';
2
+ export declare const CHART_LEGEND_DESCRIPTOR: ChartLegendDescriptor;
@@ -0,0 +1,67 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaApp, NovaSurface } from '@nova-lab/core';
3
+ import { NovaChartLineSeriesApi, NovaChartLineSeriesProps, NovaChartLineSeriesResolvedProps, NovaChartLineVirtualizationOptions } from '../../model/types/chart-components.types';
4
+ import { ChartLineSeriesDescriptor } from './line-series.config';
5
+ import { NovaUiComponentNode } from '@nova-lab/ui-kit';
6
+ /**
7
+ * LineSeries рендерит line segments и optional markers на shared chart scales.
8
+ */
9
+ export declare class ChartLineSeries<TData = Record<string, unknown>, E extends EventList = Record<string, any>> extends NovaUiComponentNode<NovaChartLineSeriesResolvedProps<TData>, NovaChartLineSeriesApi<TData>, NovaChartLineSeriesProps<TData>, E> {
10
+ private _layoutPlan;
11
+ private readonly _api;
12
+ private readonly _runtimeBinding;
13
+ private _layoutEpoch;
14
+ private _computedEpoch;
15
+ private readonly _translationWindow;
16
+ private readonly _translationMatrix;
17
+ private _translationX;
18
+ private _projectedPlan;
19
+ private _schema;
20
+ /**
21
+ * Создает экземпляр ChartLineSeries.
22
+ */
23
+ constructor(app: NovaApp<E>, surface: NovaSurface<E>, props: NovaChartLineSeriesResolvedProps<TData>, options?: {
24
+ componentId?: string;
25
+ }, descriptor?: ChartLineSeriesDescriptor<TData>);
26
+ /**
27
+ * Обновляет props LineSeries.
28
+ */
29
+ setProps(patch: Partial<NovaChartLineSeriesResolvedProps<TData>>): this;
30
+ /**
31
+ * Возвращает public API LineSeries.
32
+ */
33
+ getApi(): NovaChartLineSeriesApi<TData>;
34
+ /**
35
+ * Обновляет runtime-состояние LineSeries.
36
+ */
37
+ update(): void;
38
+ /**
39
+ * Рендерит line segments и optional markers.
40
+ */
41
+ render(): void;
42
+ /**
43
+ * Обновляет virtualization options.
44
+ */
45
+ setVirtualization(options: NovaChartLineVirtualizationOptions): void;
46
+ /**
47
+ * Регистрирует interactive provider.
48
+ */
49
+ protected onMount(): void;
50
+ /**
51
+ * Чистит runtime регистрации.
52
+ */
53
+ protected onUnmount(): void;
54
+ /**
55
+ * Реагирует на изменение props.
56
+ */
57
+ protected onPropsChanged(changedKeys: Array<keyof NovaChartLineSeriesResolvedProps<TData>>): void;
58
+ private _canRetainSchema;
59
+ private _readLayoutPlan;
60
+ private _hitTestSeries;
61
+ private _refresh;
62
+ private _computeLayout;
63
+ private _createSegmentStyleContext;
64
+ private _createPointStyleContext;
65
+ private _resolveLineStyle;
66
+ private _resolveMarkerStyle;
67
+ }
@@ -0,0 +1,10 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaComponentCreateContext, NovaComponentDescriptor, NovaComponentNode, NovaComponentSchema } from '@nova-lab/core';
3
+ import { NovaChartLineSeriesApi, NovaChartLineSeriesProps, NovaChartLineSeriesResolvedProps } from '../../model/types/chart-components.types';
4
+ import { normalizeChartLineSeriesProps } from '../shared/chart-props';
5
+ export type ChartLineSeriesDescriptor<TData = Record<string, unknown>> = NovaComponentDescriptor<NovaChartLineSeriesResolvedProps<TData>, NovaChartLineSeriesApi<TData>, Record<string, never>, NovaChartLineSeriesProps<TData>>;
6
+ export type ChartLineSeriesNodeFactory = <E extends EventList>(context: NovaComponentCreateContext<E>, schema: NovaComponentSchema<NovaChartLineSeriesProps>) => NovaComponentNode<any, any, any, any, E>;
7
+ export declare const CHART_LINE_SERIES_SCHEMA_TYPE = "NovaCharts.LineSeries";
8
+ export declare function createChartLineSeriesDescriptor(createNode?: ChartLineSeriesNodeFactory): ChartLineSeriesDescriptor;
9
+ export declare const CHART_LINE_SERIES_NODE_DESCRIPTOR: ChartLineSeriesDescriptor<Record<string, unknown>>;
10
+ export { normalizeChartLineSeriesProps };
@@ -0,0 +1,4 @@
1
+ import { NovaSchemaRegistry } from '@nova-lab/core';
2
+ import { ChartLineSeriesDescriptor } from './line-series.config';
3
+ export declare const CHART_LINE_SERIES_DESCRIPTOR: ChartLineSeriesDescriptor;
4
+ export declare function registerChartLineSeries(registry: NovaSchemaRegistry): void;
@@ -0,0 +1,55 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaApp, NovaSchema, NovaSchemaRegistry, NovaSurface } from '@nova-lab/core';
3
+ import { CameraState, ChartOptions, ChartPresentation } from '../../api/types';
4
+ import { LayoutInput } from '../../model/novel/layout-input';
5
+ import { NovaChartNovelMark, NovaChartNovelSeriesApi, NovaChartNovelSeriesProps, NovaChartNovelSeriesResolvedProps } from '../../model/novel/novel-chart.types';
6
+ import { NovaUiComponentNode } from '@nova-lab/ui-kit';
7
+ export interface MarkRenderer {
8
+ kind: NovaChartNovelSeriesResolvedProps['kind'];
9
+ layout: <T>(input: LayoutInput<T>) => Array<NovaChartNovelMark<T>>;
10
+ domains?: <T>(input: LayoutInput<T>) => Array<{
11
+ scaleId: string;
12
+ domain: Array<string> | [number, number];
13
+ }>;
14
+ mark: (mark: NovaChartNovelMark<unknown>, color: string) => NovaSchema;
15
+ decoration?: (marks: ReadonlyArray<NovaChartNovelMark<unknown>>, width: number, height: number) => NovaSchema;
16
+ labels?: boolean;
17
+ }
18
+ type MarkPresentation = ChartPresentation & Pick<ChartOptions<unknown>, 'font' | 'theme'>;
19
+ /** Generic node не импортирует геометрию или renderer других типов диаграмм. */
20
+ export declare class MarkSeries<T = Record<string, unknown>, E extends EventList = Record<string, any>> extends NovaUiComponentNode<NovaChartNovelSeriesResolvedProps<T>, NovaChartNovelSeriesApi<T>, NovaChartNovelSeriesProps<T>, E> {
21
+ private readonly _paint;
22
+ private _plan;
23
+ private _index;
24
+ private readonly _binding;
25
+ private _collapsed;
26
+ private _layoutRevision;
27
+ private _computedRevision;
28
+ private _camera;
29
+ private _presentation;
30
+ private _schema;
31
+ private _schemaInteraction;
32
+ private _schemaCustomization;
33
+ private readonly _api;
34
+ constructor(app: NovaApp<E>, surface: NovaSurface<E>, props: NovaChartNovelSeriesResolvedProps<T>, _paint: MarkRenderer, id: string);
35
+ getApi(): NovaChartNovelSeriesApi<T>;
36
+ setCamera(camera: CameraState): void;
37
+ setPresentation(value: MarkPresentation): void;
38
+ setCollapsed(value: ReadonlyMap<string, boolean>): void;
39
+ update(): void;
40
+ render(): void;
41
+ private _createSchema;
42
+ applyLayoutRect(rect: {
43
+ x: number;
44
+ y: number;
45
+ width: number;
46
+ height: number;
47
+ }): boolean;
48
+ protected onPropsChanged(keys: Array<keyof NovaChartNovelSeriesResolvedProps<T>>): void;
49
+ protected onMount(): void;
50
+ protected onUnmount(): void;
51
+ private _hitTest;
52
+ }
53
+ /** Регистрирует только один renderer, переданный самостоятельным entrypoint. */
54
+ export declare function registerMarkSeries(registry: NovaSchemaRegistry, renderer: MarkRenderer): string;
55
+ export {};
@@ -0,0 +1,34 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaApp, NovaSurface } from '@nova-lab/core';
3
+ import { NovaChartNovelSeriesApi, NovaChartNovelSeriesProps, NovaChartNovelSeriesResolvedProps } from '../../model/novel/novel-chart.types';
4
+ import { ChartNovelSeriesDescriptor } from './novel-series.config';
5
+ import { NovaUiComponentNode } from '@nova-lab/ui-kit';
6
+ export declare class ChartNovelSeries<TData = Record<string, unknown>, E extends EventList = Record<string, any>> extends NovaUiComponentNode<NovaChartNovelSeriesResolvedProps<TData>, NovaChartNovelSeriesApi<TData>, NovaChartNovelSeriesProps<TData>, E> {
7
+ private _layoutPlan;
8
+ private readonly _api;
9
+ private readonly _binding;
10
+ private readonly _collapsedOverrides;
11
+ private _treeZoom;
12
+ private _treeOffsetX;
13
+ private _treeOffsetY;
14
+ private _selectedPaletteIndex;
15
+ constructor(app: NovaApp<E>, surface: NovaSurface<E>, props: NovaChartNovelSeriesResolvedProps<TData>, options?: {
16
+ componentId?: string;
17
+ }, descriptor?: ChartNovelSeriesDescriptor<TData>);
18
+ setProps(patch: Partial<NovaChartNovelSeriesResolvedProps<TData>>): this;
19
+ getApi(): NovaChartNovelSeriesApi<TData>;
20
+ update(): void;
21
+ render(): void;
22
+ protected onMount(): void;
23
+ protected onUnmount(): void;
24
+ protected onPropsChanged(changedKeys: Array<keyof NovaChartNovelSeriesResolvedProps<TData>>): void;
25
+ private _hitTest;
26
+ private _activateMark;
27
+ private _refresh;
28
+ private _toggleTreeNode;
29
+ private _zoomTreeAt;
30
+ private _panTreeBy;
31
+ private _computeLayout;
32
+ private _metadata;
33
+ private _resolveColor;
34
+ }
@@ -0,0 +1,9 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaComponentCreateContext, NovaComponentDescriptor, NovaComponentNode, NovaComponentSchema } from '@nova-lab/core';
3
+ import { NovaChartNovelSeriesApi, NovaChartNovelSeriesProps, NovaChartNovelSeriesResolvedProps } from '../../model/novel/novel-chart.types';
4
+ export type ChartNovelSeriesDescriptor<TData = Record<string, unknown>> = NovaComponentDescriptor<NovaChartNovelSeriesResolvedProps<TData>, NovaChartNovelSeriesApi<TData>, Record<string, never>, NovaChartNovelSeriesProps<TData>>;
5
+ export type ChartNovelSeriesNodeFactory = <E extends EventList>(context: NovaComponentCreateContext<E>, schema: NovaComponentSchema<NovaChartNovelSeriesProps>) => NovaComponentNode<any, any, any, any, E>;
6
+ export declare const CHART_NOVEL_SERIES_SCHEMA_TYPE = "NovaCharts.NovelSeries";
7
+ export declare function normalizeChartNovelSeriesProps<TData>(props: NovaChartNovelSeriesProps<TData>): NovaChartNovelSeriesResolvedProps<TData>;
8
+ export declare function createChartNovelSeriesDescriptor(createNode?: ChartNovelSeriesNodeFactory): ChartNovelSeriesDescriptor;
9
+ export declare const CHART_NOVEL_SERIES_NODE_DESCRIPTOR: ChartNovelSeriesDescriptor<Record<string, unknown>>;
@@ -0,0 +1,4 @@
1
+ import { NovaSchemaRegistry } from '@nova-lab/core';
2
+ import { ChartNovelSeriesDescriptor } from './novel-series.config';
3
+ export declare const CHART_NOVEL_SERIES_DESCRIPTOR: ChartNovelSeriesDescriptor;
4
+ export declare function registerChartNovelSeries(registry: NovaSchemaRegistry): void;
@@ -0,0 +1,24 @@
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 { NovaChartPartitionChartApi, NovaChartPartitionChartProps, NovaChartPartitionChartResolvedProps } from '../../model/novel/novel-chart.types';
5
+ import { ChartPartitionChartDescriptor } from './partition-chart.config';
6
+ export declare class ChartPartitionChart<TData = Record<string, unknown>, E extends EventList = Record<string, any>> extends NovaUiComponentNode<NovaChartPartitionChartResolvedProps<TData>, NovaChartPartitionChartApi<TData>, NovaChartPartitionChartProps<TData>, E> {
7
+ private readonly _managedChildren;
8
+ private readonly _api;
9
+ constructor(app: NovaApp<E>, surface: NovaSurface<E>, props: NovaChartPartitionChartResolvedProps<TData>, options: {
10
+ componentId?: string;
11
+ } | undefined, descriptor: ChartPartitionChartDescriptor<TData>);
12
+ setProps(patch: Partial<NovaChartPartitionChartResolvedProps<TData>>): this;
13
+ getApi(): NovaChartPartitionChartApi<TData>;
14
+ applyLayoutRect(rect: NovaUiLayoutRect): boolean;
15
+ update(): void;
16
+ render(): void;
17
+ protected onPropsChanged(changedKeys: Array<keyof NovaChartPartitionChartResolvedProps<TData>>): void;
18
+ private _setData;
19
+ private _refresh;
20
+ private _reconcile;
21
+ private _rootSchema;
22
+ private _applyChildrenRect;
23
+ private _rootApi;
24
+ }
@@ -0,0 +1,7 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaComponentCreateContext, NovaComponentDescriptor, NovaComponentNode, NovaComponentSchema } from '@nova-lab/core';
3
+ import { NovaChartPartitionChartApi, NovaChartPartitionChartProps, NovaChartPartitionChartResolvedProps } from '../../model/novel/novel-chart.types';
4
+ export type ChartPartitionChartDescriptor<TData = Record<string, unknown>> = NovaComponentDescriptor<NovaChartPartitionChartResolvedProps<TData>, NovaChartPartitionChartApi<TData>, Record<string, never>, NovaChartPartitionChartProps<TData>>;
5
+ export type ChartPartitionChartNodeFactory = <E extends EventList>(context: NovaComponentCreateContext<E>, schema: NovaComponentSchema<NovaChartPartitionChartProps>) => NovaComponentNode<any, any, any, any, E>;
6
+ export declare function normalizeChartPartitionChartProps<TData>(props: NovaChartPartitionChartProps<TData>, kind: 'donut' | 'rose' | 'treemap' | 'funnel' | 'radar' | 'tree'): NovaChartPartitionChartResolvedProps<TData>;
7
+ export declare function createChartPartitionChartDescriptor(kind: 'donut' | 'rose' | 'treemap' | 'funnel' | 'radar' | 'tree', createNode?: ChartPartitionChartNodeFactory): ChartPartitionChartDescriptor;
@@ -0,0 +1,9 @@
1
+ import { NovaSchemaRegistry } from '@nova-lab/core';
2
+ import { ChartPartitionChartDescriptor } from './partition-chart.config';
3
+ export declare const CHART_DONUT_CHART_DESCRIPTOR: ChartPartitionChartDescriptor;
4
+ export declare const CHART_ROSE_CHART_DESCRIPTOR: ChartPartitionChartDescriptor;
5
+ export declare const CHART_TREEMAP_CHART_DESCRIPTOR: ChartPartitionChartDescriptor;
6
+ export declare const CHART_FUNNEL_CHART_DESCRIPTOR: ChartPartitionChartDescriptor;
7
+ export declare const CHART_RADAR_CHART_DESCRIPTOR: ChartPartitionChartDescriptor;
8
+ export declare const CHART_TREE_CHART_DESCRIPTOR: ChartPartitionChartDescriptor;
9
+ export declare function registerChartPartitionCharts(registry: NovaSchemaRegistry): void;
@@ -0,0 +1,64 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaApp, NovaSurface, NovaTemplateChildSchema } from '@nova-lab/core';
3
+ import { NovaUiLayoutRect, NovaUiComponentNode } from '@nova-lab/ui-kit';
4
+ import { NovaChartPlotApi, NovaChartPlotProps, NovaChartPlotResolvedProps } from '../../model/types/chart-components.types';
5
+ import { ChartPlotDescriptor } from './plot.config';
6
+ /**
7
+ * Plot area назначает pixel ranges шкалам и держит содержимое графика.
8
+ */
9
+ export declare class ChartPlot<E extends EventList = Record<string, any>> extends NovaUiComponentNode<NovaChartPlotResolvedProps, NovaChartPlotApi, NovaChartPlotProps, E> {
10
+ private readonly _managedChildren;
11
+ private readonly _api;
12
+ /**
13
+ * Создает экземпляр ChartPlot и подготавливает базовое состояние.
14
+ */
15
+ constructor(app: NovaApp<E>, surface: NovaSurface<E>, props: NovaChartPlotResolvedProps, options?: {
16
+ componentId?: string;
17
+ children?: Array<NovaTemplateChildSchema>;
18
+ }, descriptor?: ChartPlotDescriptor);
19
+ /**
20
+ * Обновляет значение состояния ChartPlot.
21
+ */
22
+ setProps(patch: Partial<NovaChartPlotResolvedProps>): this;
23
+ /**
24
+ * Возвращает значение состояния ChartPlot.
25
+ */
26
+ getApi(): NovaChartPlotApi;
27
+ /**
28
+ * Применяет подготовленное состояние ChartPlot.
29
+ */
30
+ applyLayoutRect(rect: NovaUiLayoutRect): boolean;
31
+ /**
32
+ * Обновляет runtime-состояние ChartPlot.
33
+ */
34
+ update(): void;
35
+ /**
36
+ * Выполняет отрисовку ChartPlot.
37
+ */
38
+ render(): void;
39
+ /**
40
+ * Обновляет значение состояния ChartPlot.
41
+ */
42
+ setChildren(children: Array<NovaTemplateChildSchema>): void;
43
+ /**
44
+ * Обрабатывает входящее событие ChartPlot.
45
+ */
46
+ protected onPropsChanged(changedKeys: Array<keyof NovaChartPlotResolvedProps>): void;
47
+ /**
48
+ * Выполняет отрисовку ChartPlot.
49
+ */
50
+ protected renderChildren(): void;
51
+ /**
52
+ * Синхронизирует актуальное состояние ChartPlot.
53
+ */
54
+ private _refresh;
55
+ /**
56
+ * Обновляет runtime-состояние ChartPlot.
57
+ */
58
+ private _updateScaleRanges;
59
+ /**
60
+ * Применяет подготовленное состояние ChartPlot.
61
+ */
62
+ private _applyChildrenRect;
63
+ private _renderPluginLayer;
64
+ }
@@ -0,0 +1,10 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaComponentCreateContext, NovaComponentDescriptor, NovaComponentNode, NovaComponentSchema } from '@nova-lab/core';
3
+ import { NovaChartPlotApi, NovaChartPlotProps, NovaChartPlotResolvedProps } from '../../model/types/chart-components.types';
4
+ import { normalizeChartPlotProps } from '../shared/chart-props';
5
+ export type ChartPlotDescriptor = NovaComponentDescriptor<NovaChartPlotResolvedProps, NovaChartPlotApi, Record<string, never>, NovaChartPlotProps>;
6
+ export type ChartPlotNodeFactory = <E extends EventList>(context: NovaComponentCreateContext<E>, schema: NovaComponentSchema<NovaChartPlotProps>) => NovaComponentNode<any, any, any, any, E>;
7
+ export declare const CHART_PLOT_SCHEMA_TYPE = "NovaCharts.Plot";
8
+ export declare function createChartPlotDescriptor(createNode?: ChartPlotNodeFactory): ChartPlotDescriptor;
9
+ export declare const CHART_PLOT_NODE_DESCRIPTOR: ChartPlotDescriptor;
10
+ export { normalizeChartPlotProps };
@@ -0,0 +1,4 @@
1
+ import { NovaSchemaRegistry } from '@nova-lab/core';
2
+ import { ChartPlotDescriptor } from './plot.config';
3
+ export declare const CHART_PLOT_DESCRIPTOR: ChartPlotDescriptor;
4
+ export declare function registerChartPlot(registry: NovaSchemaRegistry): void;
@@ -0,0 +1,206 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaApp, NovaSurface, NovaTemplateChildSchema } from '@nova-lab/core';
3
+ import { NovaUiLayoutRect, NovaUiComponentNode } from '@nova-lab/ui-kit';
4
+ import { NovaChartRuntime, NovaChartRuntimeHost } from '../../model/context/nova-chart-runtime';
5
+ import { NovaChartRootApi, NovaChartRootProps, NovaChartRootResolvedProps } from '../../model/types/chart-components.types';
6
+ import { ChartRootDescriptor } from './root.config';
7
+ /**
8
+ * Корень chart runtime: данные, шкалы, refs и подписки.
9
+ */
10
+ export declare class ChartRoot<TData = Record<string, unknown>, E extends EventList = Record<string, any>> extends NovaUiComponentNode<NovaChartRootResolvedProps<TData>, NovaChartRootApi<TData>, NovaChartRootProps<TData>, E> implements NovaChartRuntimeHost<TData> {
11
+ private readonly _dataStore;
12
+ private readonly _scales;
13
+ private readonly _managedChildren;
14
+ private readonly _scaleRegistrations;
15
+ private readonly _scaleSourceDomains;
16
+ private readonly _viewportDomains;
17
+ private readonly _scaleDomainContributions;
18
+ private readonly _seriesDiagnostics;
19
+ private readonly _seriesMetadata;
20
+ private readonly _interactiveSeries;
21
+ private readonly _listeners;
22
+ private readonly _interactionListeners;
23
+ private readonly _customization;
24
+ private readonly _api;
25
+ private readonly _runtime;
26
+ private _interactionState;
27
+ private _lastEvent;
28
+ private readonly _disposeListeners;
29
+ /** Подписывает владельца handle на уничтожение корня общим NovaApp. */
30
+ onDispose(listener: () => void): () => void;
31
+ dispose(): void;
32
+ /**
33
+ * Создает экземпляр ChartRoot и подготавливает базовое состояние.
34
+ */
35
+ constructor(app: NovaApp<E>, surface: NovaSurface<E>, props: NovaChartRootResolvedProps<TData>, options?: {
36
+ componentId?: string;
37
+ children?: Array<NovaTemplateChildSchema>;
38
+ }, descriptor?: ChartRootDescriptor<TData>);
39
+ /**
40
+ * Обновляет значение состояния ChartRoot.
41
+ */
42
+ setProps(patch: Partial<NovaChartRootResolvedProps<TData>>): this;
43
+ /**
44
+ * Возвращает значение состояния ChartRoot.
45
+ */
46
+ getApi(): NovaChartRootApi<TData>;
47
+ /**
48
+ * Возвращает значение состояния ChartRoot.
49
+ */
50
+ getNovaChartRuntime(): NovaChartRuntime<TData>;
51
+ /**
52
+ * Применяет подготовленное состояние ChartRoot.
53
+ */
54
+ applyLayoutRect(rect: NovaUiLayoutRect): boolean;
55
+ /**
56
+ * Обновляет runtime-состояние ChartRoot.
57
+ */
58
+ update(): void;
59
+ /**
60
+ * Выполняет отрисовку ChartRoot.
61
+ */
62
+ render(): void;
63
+ /**
64
+ * Обновляет значение состояния ChartRoot.
65
+ */
66
+ setChildren(children: Array<NovaTemplateChildSchema>): void;
67
+ /**
68
+ * Обновляет значение состояния ChartRoot.
69
+ */
70
+ setData(data: Array<TData>): void;
71
+ /**
72
+ * Обновляет runtime-состояние ChartRoot.
73
+ */
74
+ updateRows(rows: Array<Partial<TData> & Record<string, unknown>>): void;
75
+ /**
76
+ * Удаляет сущность из runtime-коллекции ChartRoot.
77
+ */
78
+ removeRows(keys: Array<string | number>): void;
79
+ /**
80
+ * Регистрирует сущность в runtime-слое ChartRoot.
81
+ */
82
+ private _registerScale;
83
+ /**
84
+ * Удаляет регистрацию сущности из runtime-слоя ChartRoot.
85
+ */
86
+ private _unregisterScale;
87
+ /**
88
+ * Синхронизирует актуальное состояние ChartRoot.
89
+ */
90
+ private _refreshScale;
91
+ /**
92
+ * Синхронизирует актуальное состояние ChartRoot.
93
+ */
94
+ private _refreshScales;
95
+ /**
96
+ * Возвращает значение состояния ChartRoot.
97
+ */
98
+ private _getScale;
99
+ /**
100
+ * Выполняет внутренний шаг requireScale для ChartRoot.
101
+ */
102
+ private _requireScale;
103
+ /**
104
+ * Обновляет значение состояния ChartRoot.
105
+ */
106
+ private _setScaleDomain;
107
+ /**
108
+ * Обновляет значение состояния ChartRoot.
109
+ */
110
+ private _setScaleRange;
111
+ /**
112
+ * Возвращает исходный домен шкалы до viewport-среза.
113
+ */
114
+ private _getScaleSourceDomain;
115
+ /**
116
+ * Публикует вклад series в source domain общей шкалы.
117
+ */
118
+ private _setScaleDomainContribution;
119
+ /**
120
+ * Удаляет вклад series из source domain шкалы.
121
+ */
122
+ private _removeScaleDomainContribution;
123
+ /**
124
+ * Возвращает contributions для scale-first mixed charts.
125
+ */
126
+ private _getScaleDomainContributions;
127
+ private _exportChart;
128
+ private _getSemanticSnapshot;
129
+ /**
130
+ * Обновляет значение состояния ChartRoot.
131
+ */
132
+ private _setSeriesDiagnostics;
133
+ /**
134
+ * Удаляет diagnostics series из runtime.
135
+ */
136
+ private _removeSeriesDiagnostics;
137
+ /**
138
+ * Обновляет metadata серий для legend и high-level chart shell.
139
+ */
140
+ private _setSeriesMetadata;
141
+ /**
142
+ * Удаляет metadata series из runtime.
143
+ */
144
+ private _removeSeriesMetadata;
145
+ /**
146
+ * Возвращает metadata всех зарегистрированных серий.
147
+ */
148
+ private _getSeriesMetadata;
149
+ /**
150
+ * Регистрирует сущность в runtime-слое ChartRoot.
151
+ */
152
+ private _registerInteractiveSeries;
153
+ /**
154
+ * Удаляет регистрацию сущности из runtime-слоя ChartRoot.
155
+ */
156
+ private _unregisterInteractiveSeries;
157
+ /**
158
+ * Возвращает значение состояния ChartRoot.
159
+ */
160
+ private _getInteractiveSeries;
161
+ /**
162
+ * Возвращает значение состояния ChartRoot.
163
+ */
164
+ private _getInteractionState;
165
+ /**
166
+ * Обновляет значение состояния ChartRoot.
167
+ */
168
+ private _setInteractionState;
169
+ private _publishSemanticRegions;
170
+ private _clearSemanticRegions;
171
+ private _syncRootSemantics;
172
+ private _semanticSourceKey;
173
+ /**
174
+ * Подписывает обработчик на изменения ChartRoot.
175
+ */
176
+ private _subscribe;
177
+ /**
178
+ * Подписывает обработчик на изменения ChartRoot.
179
+ */
180
+ private _subscribeInteraction;
181
+ /**
182
+ * Возвращает значение состояния ChartRoot.
183
+ */
184
+ private _getDiagnostics;
185
+ /**
186
+ * Собирает полный source domain шкалы из base domain и contributions.
187
+ */
188
+ private _resolveScaleSourceDomain;
189
+ /**
190
+ * Синхронизирует актуальное состояние ChartRoot.
191
+ */
192
+ private _refresh;
193
+ /**
194
+ * Применяет подготовленное состояние ChartRoot.
195
+ */
196
+ private _applyChildrenRect;
197
+ /**
198
+ * Активирует фазы внутреннего subtree ChartRoot.
199
+ */
200
+ private _pulseChildren;
201
+ /**
202
+ * Обрабатывает входящее событие ChartRoot.
203
+ */
204
+ protected onPropsChanged(changedKeys: Array<keyof NovaChartRootResolvedProps<TData>>): void;
205
+ protected onUnmount(): void;
206
+ }
@@ -0,0 +1,10 @@
1
+ import { EventList } from '@endge/utils';
2
+ import { NovaComponentCreateContext, NovaComponentDescriptor, NovaComponentNode, NovaComponentSchema } from '@nova-lab/core';
3
+ import { NovaChartRootApi, NovaChartRootProps, NovaChartRootResolvedProps } from '../../model/types/chart-components.types';
4
+ import { normalizeChartRootProps } from '../shared/chart-props';
5
+ export type ChartRootDescriptor<TData = Record<string, unknown>> = NovaComponentDescriptor<NovaChartRootResolvedProps<TData>, NovaChartRootApi<TData>, Record<string, never>, NovaChartRootProps<TData>>;
6
+ export type ChartRootNodeFactory = <E extends EventList>(context: NovaComponentCreateContext<E>, schema: NovaComponentSchema<NovaChartRootProps>) => NovaComponentNode<any, any, any, any, E>;
7
+ export declare const CHART_ROOT_SCHEMA_TYPE = "NovaCharts.Root";
8
+ export declare function createChartRootDescriptor(createNode?: ChartRootNodeFactory): ChartRootDescriptor;
9
+ export declare const CHART_ROOT_NODE_DESCRIPTOR: ChartRootDescriptor<Record<string, unknown>>;
10
+ export { normalizeChartRootProps };
@@ -0,0 +1,5 @@
1
+ import { NovaSchemaRegistry } from '@nova-lab/core';
2
+ import { ChartRootDescriptor, CHART_ROOT_NODE_DESCRIPTOR } from './root.config';
3
+ export declare const CHART_ROOT_DESCRIPTOR: ChartRootDescriptor;
4
+ export declare function registerChartRoot(registry: NovaSchemaRegistry): void;
5
+ export { CHART_ROOT_NODE_DESCRIPTOR };