@motionscript/charts 0.1.0 → 0.1.1-alpha.1

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 (215) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/README.md +98 -28
  3. package/dist/bar-chart/bar-chart.d.ts +242 -119
  4. package/dist/bar-chart/bar-chart.d.ts.map +1 -1
  5. package/dist/bar-chart/bar-chart.js +231 -260
  6. package/dist/bar-chart/bar-chart.js.map +1 -1
  7. package/dist/bar-chart/category-axis.d.ts +16 -38
  8. package/dist/bar-chart/category-axis.d.ts.map +1 -1
  9. package/dist/bar-chart/category-axis.js +59 -68
  10. package/dist/bar-chart/category-axis.js.map +1 -1
  11. package/dist/bar-chart/chart-bars.d.ts +60 -91
  12. package/dist/bar-chart/chart-bars.d.ts.map +1 -1
  13. package/dist/bar-chart/chart-bars.js +88 -125
  14. package/dist/bar-chart/chart-bars.js.map +1 -1
  15. package/dist/bar-chart/index.d.ts +5 -13
  16. package/dist/bar-chart/index.d.ts.map +1 -1
  17. package/dist/bar-chart/index.js +2 -9
  18. package/dist/bar-chart/index.js.map +1 -1
  19. package/dist/bar-chart/shared.d.ts +40 -132
  20. package/dist/bar-chart/shared.d.ts.map +1 -1
  21. package/dist/bar-chart/shared.js +70 -158
  22. package/dist/bar-chart/shared.js.map +1 -1
  23. package/dist/browser/chunks/chunk-R3Q5EE6E.js +2 -0
  24. package/dist/browser/chunks/chunk-R3Q5EE6E.js.map +7 -0
  25. package/dist/browser/index.js +1 -1
  26. package/dist/browser/index.js.map +4 -4
  27. package/dist/browser/kit.js +1 -1
  28. package/dist/browser/manifest.json +1 -1
  29. package/dist/engine.d.ts +8 -17
  30. package/dist/engine.d.ts.map +1 -1
  31. package/dist/engine.js +8 -17
  32. package/dist/engine.js.map +1 -1
  33. package/dist/index.d.ts +2 -0
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +2 -0
  36. package/dist/index.js.map +1 -1
  37. package/dist/kit/cartesian.d.ts +49 -35
  38. package/dist/kit/cartesian.d.ts.map +1 -1
  39. package/dist/kit/cartesian.js +80 -42
  40. package/dist/kit/cartesian.js.map +1 -1
  41. package/dist/kit/chart-canvas.d.ts +37 -40
  42. package/dist/kit/chart-canvas.d.ts.map +1 -1
  43. package/dist/kit/chart-canvas.js +53 -47
  44. package/dist/kit/chart-canvas.js.map +1 -1
  45. package/dist/kit/chart-legend.d.ts +16 -59
  46. package/dist/kit/chart-legend.d.ts.map +1 -1
  47. package/dist/kit/chart-legend.js +38 -76
  48. package/dist/kit/chart-legend.js.map +1 -1
  49. package/dist/kit/entries.d.ts +2 -0
  50. package/dist/kit/entries.d.ts.map +1 -1
  51. package/dist/kit/entries.js +2 -0
  52. package/dist/kit/entries.js.map +1 -1
  53. package/dist/kit/horizontal-axis.d.ts +77 -0
  54. package/dist/kit/horizontal-axis.d.ts.map +1 -0
  55. package/dist/kit/horizontal-axis.js +99 -0
  56. package/dist/kit/horizontal-axis.js.map +1 -0
  57. package/dist/kit/motion.d.ts +16 -3
  58. package/dist/kit/motion.d.ts.map +1 -1
  59. package/dist/kit/motion.js +15 -1
  60. package/dist/kit/motion.js.map +1 -1
  61. package/dist/{pie-chart → kit}/pie-legend.d.ts +14 -29
  62. package/dist/kit/pie-legend.d.ts.map +1 -0
  63. package/dist/kit/pie-legend.js +93 -0
  64. package/dist/kit/pie-legend.js.map +1 -0
  65. package/dist/kit/polar.d.ts +31 -0
  66. package/dist/kit/polar.d.ts.map +1 -0
  67. package/dist/kit/polar.js +33 -0
  68. package/dist/kit/polar.js.map +1 -0
  69. package/dist/kit/shared.d.ts +60 -214
  70. package/dist/kit/shared.d.ts.map +1 -1
  71. package/dist/kit/shared.js +91 -291
  72. package/dist/kit/shared.js.map +1 -1
  73. package/dist/kit/style.d.ts +254 -0
  74. package/dist/kit/style.d.ts.map +1 -0
  75. package/dist/kit/style.js +197 -0
  76. package/dist/kit/style.js.map +1 -0
  77. package/dist/kit/vertical-axis.d.ts +36 -45
  78. package/dist/kit/vertical-axis.d.ts.map +1 -1
  79. package/dist/kit/vertical-axis.js +69 -81
  80. package/dist/kit/vertical-axis.js.map +1 -1
  81. package/dist/line-chart/chart-line.d.ts +107 -40
  82. package/dist/line-chart/chart-line.d.ts.map +1 -1
  83. package/dist/line-chart/chart-line.js +172 -89
  84. package/dist/line-chart/chart-line.js.map +1 -1
  85. package/dist/line-chart/chart-region.d.ts +14 -27
  86. package/dist/line-chart/chart-region.d.ts.map +1 -1
  87. package/dist/line-chart/chart-region.js +13 -28
  88. package/dist/line-chart/chart-region.js.map +1 -1
  89. package/dist/line-chart/index.d.ts +5 -18
  90. package/dist/line-chart/index.d.ts.map +1 -1
  91. package/dist/line-chart/index.js +3 -16
  92. package/dist/line-chart/index.js.map +1 -1
  93. package/dist/line-chart/line-chart.d.ts +272 -119
  94. package/dist/line-chart/line-chart.d.ts.map +1 -1
  95. package/dist/line-chart/line-chart.js +309 -257
  96. package/dist/line-chart/line-chart.js.map +1 -1
  97. package/dist/line-chart/shared.d.ts +73 -130
  98. package/dist/line-chart/shared.d.ts.map +1 -1
  99. package/dist/line-chart/shared.js +195 -156
  100. package/dist/line-chart/shared.js.map +1 -1
  101. package/dist/line-chart/x-scale.d.ts +16 -55
  102. package/dist/line-chart/x-scale.d.ts.map +1 -1
  103. package/dist/line-chart/x-scale.js +44 -111
  104. package/dist/line-chart/x-scale.js.map +1 -1
  105. package/dist/nodes.d.ts +3 -13
  106. package/dist/nodes.d.ts.map +1 -1
  107. package/dist/nodes.js +9 -13
  108. package/dist/nodes.js.map +1 -1
  109. package/dist/pie-chart/index.d.ts +3 -15
  110. package/dist/pie-chart/index.d.ts.map +1 -1
  111. package/dist/pie-chart/index.js +1 -11
  112. package/dist/pie-chart/index.js.map +1 -1
  113. package/dist/pie-chart/pie-chart.d.ts +147 -85
  114. package/dist/pie-chart/pie-chart.d.ts.map +1 -1
  115. package/dist/pie-chart/pie-chart.js +65 -86
  116. package/dist/pie-chart/pie-chart.js.map +1 -1
  117. package/dist/pie-chart/pie-ring.d.ts +65 -196
  118. package/dist/pie-chart/pie-ring.d.ts.map +1 -1
  119. package/dist/pie-chart/pie-ring.js +154 -292
  120. package/dist/pie-chart/pie-ring.js.map +1 -1
  121. package/dist/pie-chart/shared.d.ts +78 -172
  122. package/dist/pie-chart/shared.d.ts.map +1 -1
  123. package/dist/pie-chart/shared.js +54 -177
  124. package/dist/pie-chart/shared.js.map +1 -1
  125. package/dist/radar-chart/index.d.ts +5 -0
  126. package/dist/radar-chart/index.d.ts.map +1 -0
  127. package/dist/radar-chart/index.js +5 -0
  128. package/dist/radar-chart/index.js.map +1 -0
  129. package/dist/radar-chart/radar-chart.d.ts +218 -0
  130. package/dist/radar-chart/radar-chart.d.ts.map +1 -0
  131. package/dist/radar-chart/radar-chart.js +224 -0
  132. package/dist/radar-chart/radar-chart.js.map +1 -0
  133. package/dist/radar-chart/radar-grid.d.ts +43 -0
  134. package/dist/radar-chart/radar-grid.d.ts.map +1 -0
  135. package/dist/radar-chart/radar-grid.js +61 -0
  136. package/dist/radar-chart/radar-grid.js.map +1 -0
  137. package/dist/radar-chart/radar-series.d.ts +59 -0
  138. package/dist/radar-chart/radar-series.d.ts.map +1 -0
  139. package/dist/radar-chart/radar-series.js +71 -0
  140. package/dist/radar-chart/radar-series.js.map +1 -0
  141. package/dist/radar-chart/shared.d.ts +73 -0
  142. package/dist/radar-chart/shared.d.ts.map +1 -0
  143. package/dist/radar-chart/shared.js +123 -0
  144. package/dist/radar-chart/shared.js.map +1 -0
  145. package/dist/radial-chart/index.d.ts +6 -0
  146. package/dist/radial-chart/index.d.ts.map +1 -0
  147. package/dist/radial-chart/index.js +4 -0
  148. package/dist/radial-chart/index.js.map +1 -0
  149. package/dist/radial-chart/radial-chart.d.ts +216 -0
  150. package/dist/radial-chart/radial-chart.d.ts.map +1 -0
  151. package/dist/radial-chart/radial-chart.js +174 -0
  152. package/dist/radial-chart/radial-chart.js.map +1 -0
  153. package/dist/radial-chart/radial-rings.d.ts +121 -0
  154. package/dist/radial-chart/radial-rings.d.ts.map +1 -0
  155. package/dist/radial-chart/radial-rings.js +273 -0
  156. package/dist/radial-chart/radial-rings.js.map +1 -0
  157. package/dist/radial-chart/shared.d.ts +73 -0
  158. package/dist/radial-chart/shared.d.ts.map +1 -0
  159. package/dist/radial-chart/shared.js +79 -0
  160. package/dist/radial-chart/shared.js.map +1 -0
  161. package/package.json +4 -4
  162. package/registry.json +21 -6
  163. package/src/bar-chart/bar-chart.ts +274 -315
  164. package/src/bar-chart/category-axis.ts +53 -88
  165. package/src/bar-chart/chart-bars.ts +108 -205
  166. package/src/bar-chart/index.ts +8 -19
  167. package/src/bar-chart/shared.ts +81 -309
  168. package/src/engine.ts +8 -17
  169. package/src/index.ts +2 -0
  170. package/src/kit/cartesian.ts +118 -55
  171. package/src/kit/chart-canvas.ts +50 -80
  172. package/src/kit/chart-legend.ts +36 -97
  173. package/src/kit/entries.ts +4 -1
  174. package/src/kit/horizontal-axis.ts +114 -0
  175. package/src/kit/motion.ts +18 -2
  176. package/src/{pie-chart → kit}/pie-legend.ts +25 -65
  177. package/src/kit/polar.ts +54 -0
  178. package/src/kit/shared.ts +104 -487
  179. package/src/kit/style.ts +257 -0
  180. package/src/kit/vertical-axis.ts +81 -115
  181. package/src/line-chart/chart-line.ts +185 -91
  182. package/src/line-chart/chart-region.ts +14 -31
  183. package/src/line-chart/index.ts +14 -22
  184. package/src/line-chart/line-chart.ts +377 -315
  185. package/src/line-chart/shared.ts +229 -304
  186. package/src/line-chart/x-scale.ts +44 -121
  187. package/src/nodes.ts +9 -13
  188. package/src/pie-chart/index.ts +3 -35
  189. package/src/pie-chart/pie-chart.ts +83 -134
  190. package/src/pie-chart/pie-ring.ts +162 -368
  191. package/src/pie-chart/shared.ts +92 -379
  192. package/src/radar-chart/index.ts +4 -0
  193. package/src/radar-chart/radar-chart.ts +287 -0
  194. package/src/radar-chart/radar-grid.ts +78 -0
  195. package/src/radar-chart/radar-series.ts +88 -0
  196. package/src/radar-chart/shared.ts +146 -0
  197. package/src/radial-chart/index.ts +5 -0
  198. package/src/radial-chart/radial-chart.ts +210 -0
  199. package/src/radial-chart/radial-rings.ts +328 -0
  200. package/src/radial-chart/shared.ts +114 -0
  201. package/dist/browser/chunks/chunk-TJNHLQGV.js +0 -2
  202. package/dist/browser/chunks/chunk-TJNHLQGV.js.map +0 -7
  203. package/dist/kit/chart-border.d.ts +0 -27
  204. package/dist/kit/chart-border.d.ts.map +0 -1
  205. package/dist/kit/chart-border.js +0 -28
  206. package/dist/kit/chart-border.js.map +0 -1
  207. package/dist/line-chart/horizontal-axis.d.ts +0 -79
  208. package/dist/line-chart/horizontal-axis.d.ts.map +0 -1
  209. package/dist/line-chart/horizontal-axis.js +0 -129
  210. package/dist/line-chart/horizontal-axis.js.map +0 -1
  211. package/dist/pie-chart/pie-legend.d.ts.map +0 -1
  212. package/dist/pie-chart/pie-legend.js +0 -117
  213. package/dist/pie-chart/pie-legend.js.map +0 -1
  214. package/src/kit/chart-border.ts +0 -50
  215. package/src/line-chart/horizontal-axis.ts +0 -151
@@ -1,102 +1,146 @@
1
- import { type DataRecord, type NodeOf, type Node2D, type Node2DProps } from "@motionscript/sdk";
2
- import { type AxisDomainConfig, type Range } from "../kit/shared.js";
3
- import { type BarChartConfig, type BarChartTheme, type BarSeries } from "./shared.js";
4
- export interface BarChartProps extends Node2DProps {
5
- /** One row per category — a plain record of field name to value. */
6
- data: DataRecord[];
7
- /**
8
- * Key into each row for its category caption, drawn beneath the baseline.
9
- * Named `categoryField` rather than `category` for the same reason the line
10
- * chart's is `xField`: it names a *column*, not a value.
11
- */
12
- categoryField: string;
13
- /** One entry per bar series: which column it plots, its `label`, its `fill`. */
14
- series: BarSeries[];
15
- /**
16
- * When `true` every category's series stack into one column; when `false`
17
- * (the default) each series gets its own bar, grouped side by side within the
18
- * category's slot.
19
- */
20
- stacked?: boolean;
21
- /** The value axis's domain: caption, scale range, and tick placement. */
22
- valueAxis?: AxisDomainConfig;
23
- /** The category axis's domain. Only its `label` is read — the slots are the rows. */
24
- categoryAxis?: AxisDomainConfig;
25
- /**
26
- * The chart's visual theme — bar palette and geometry, axis furniture, plot
27
- * panel paint, legend, value figures. Every branch is optional and deep-merged
28
- * onto {@link DEFAULT_BAR_CHART_THEME}.
29
- */
30
- theme?: BarChartTheme;
31
- /** Whether the legend row below the plot is drawn at all. */
32
- showLegend?: boolean;
33
- /** Whether each column prints the figure it plots. */
34
- showValues?: boolean;
35
- }
1
+ import { type DataRecord, type NodeOf, type OutOf, type Node2D, type Node2DProps as _Node2DProps, type Fill as _Fill, type FillResolved as _FillResolved, type Stroke as _Stroke, type StrokeResolved as _StrokeResolved, type StyleInput as _StyleInput, type StyleValues as _StyleValues } from "@motionscript/sdk";
2
+ import { type AxisDomainConfig, type ResolvedAxisDomain } from "../kit/shared.js";
3
+ import { type BarSeries, type BarStack } from "./shared.js";
4
+ declare const BAR_STYLE: import("@motionscript/sdk").Type<_StyleInput<{
5
+ legend: import("@motionscript/sdk").Type<"right" | "top" | "bottom" | "none", "right" | "top" | "bottom" | "none", false>;
6
+ swatch: import("@motionscript/sdk").Type<"square" | "circle" | "line", "square" | "circle" | "line", false>;
7
+ } & {
8
+ horizontalGrid: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
9
+ verticalGrid: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
10
+ axisStroke: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
11
+ showXAxis: import("@motionscript/sdk").Type<boolean, boolean, false>;
12
+ showYAxis: import("@motionscript/sdk").Type<boolean, boolean, false>;
13
+ } & {
14
+ fontFamily: import("@motionscript/sdk").Type<string, string, false>;
15
+ fontSize: import("@motionscript/sdk").Type<number, number, false>;
16
+ fontWeight: import("@motionscript/sdk").Type<number, number, false>;
17
+ } & {
18
+ palette: import("@motionscript/sdk").Type<_Fill[], _FillResolved[][], false>;
19
+ foreground: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
20
+ muted: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
21
+ background: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
22
+ } & {
23
+ barRadius: import("@motionscript/sdk").Type<number, number, false>;
24
+ barWidth: import("@motionscript/sdk").Type<number, number, false>;
25
+ barGap: import("@motionscript/sdk").Type<number, number, false>;
26
+ } & {
27
+ values: import("@motionscript/sdk").Type<"end" | "inside" | "none", "end" | "inside" | "none", false>;
28
+ }>, _StyleValues<{
29
+ legend: import("@motionscript/sdk").Type<"right" | "top" | "bottom" | "none", "right" | "top" | "bottom" | "none", false>;
30
+ swatch: import("@motionscript/sdk").Type<"square" | "circle" | "line", "square" | "circle" | "line", false>;
31
+ } & {
32
+ horizontalGrid: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
33
+ verticalGrid: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
34
+ axisStroke: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
35
+ showXAxis: import("@motionscript/sdk").Type<boolean, boolean, false>;
36
+ showYAxis: import("@motionscript/sdk").Type<boolean, boolean, false>;
37
+ } & {
38
+ fontFamily: import("@motionscript/sdk").Type<string, string, false>;
39
+ fontSize: import("@motionscript/sdk").Type<number, number, false>;
40
+ fontWeight: import("@motionscript/sdk").Type<number, number, false>;
41
+ } & {
42
+ palette: import("@motionscript/sdk").Type<_Fill[], _FillResolved[][], false>;
43
+ foreground: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
44
+ muted: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
45
+ background: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
46
+ } & {
47
+ barRadius: import("@motionscript/sdk").Type<number, number, false>;
48
+ barWidth: import("@motionscript/sdk").Type<number, number, false>;
49
+ barGap: import("@motionscript/sdk").Type<number, number, false>;
50
+ } & {
51
+ values: import("@motionscript/sdk").Type<"end" | "inside" | "none", "end" | "inside" | "none", false>;
52
+ }>, false>;
53
+ /** A bar chart's resolved style. */
54
+ export type BarChartStyle = OutOf<typeof BAR_STYLE>;
36
55
  /** What a bar chart plots, as its entries hold it. */
37
56
  export interface BarChartValues {
38
57
  readonly data: DataRecord[];
39
58
  readonly series: BarSeries[];
40
- readonly stacked: boolean;
59
+ readonly stack: BarStack;
41
60
  readonly valueAxis: AxisDomainConfig;
42
61
  }
43
62
  /** The value axis's domain with its range and ticks resolved. */
44
- export type BarChartDomain = AxisDomainConfig & {
45
- readonly range: Range;
46
- readonly ticks: number[];
47
- };
48
- /** The value axis as a bar chart draws it now, an auto range or tick row read back as itself. */
63
+ export type BarChartDomain = ResolvedAxisDomain;
64
+ /** The value axis as drawn now. A series being hidden keeps its room, so the ticks hold still while it goes. */
49
65
  export declare function barChartDomain(s: BarChartValues): BarChartDomain;
50
66
  /**
51
- * A grouped or stacked bar chart, the sibling of the line chart and built the
52
- * same way, out of several of the same pieces:
53
- *
54
- * - `ChartCanvas` — the plot panel with a horizontal grid, under everything.
55
- * - `VerticalAxis` — the numeric value markers, staggering in bottom-to-top.
56
- * - {@link CategoryAxis} — the row of names beneath the baseline, one per row.
57
- * - {@link ChartBars} (one per series) — that series' column in every category,
58
- * plus the figures printed on them.
59
- * - `ChartLegend` — a row of entries below the chart, one per series.
60
- *
61
- * Every part reads the chart's entries through bindings, and the columns map
62
- * across the plot panel's own laid-out box, so a column's end lands exactly on
63
- * its marker. **Zero is always on the scale**, and the columns grow about it, so
64
- * a negative value draws downward out of the same `growth` signal.
67
+ * A bar chart, vertical or horizontal, its series side by side, stacked, or
68
+ * stacked as shares of 100. Built like the line chart from `ChartCanvas`, a
69
+ * value axis, a {@link CategoryAxis}, one {@link ChartBars} per series and
70
+ * `ChartLegend`. Zero is always on the scale and bars grow about it, so a
71
+ * negative value draws the other way from the same `growth` signal.
65
72
  *
66
- * **Resting state is the finished chart**; `enter` arms every part on its first
67
- * frame. `showSeries`/`hideSeries`/`spotlightSeries` pick out a *series* (hiding
68
- * one reflows the group), `spotlightCategory`/`clearCategory` a *column of the
69
- * table*. A `to` of the value axis's `range` or `ticks` tweens from the domain
70
- * as drawn, so an auto axis rescales the columns continuously.
73
+ * Resting state is the finished chart; `enter` arms every part on its first
74
+ * frame. A `to` of the value axis's `range` or `ticks` tweens from the domain as
75
+ * drawn, so an auto axis rescales the bars continuously.
71
76
  */
72
77
  export declare const BarChart: import("@motionscript/sdk").Component<"barChart", import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
73
78
  readonly data: import("@motionscript/sdk").Type<DataRecord[], DataRecord[], false>;
74
79
  readonly categoryField: "";
75
80
  readonly series: import("@motionscript/sdk").Type<import("../index.js").ChartSeries[], import("../index.js").ChartSeries[], false>;
76
- readonly stacked: false;
81
+ /** `vertical`: columns rise from a row of categories; `horizontal`: bars grow right from a column of them. */
82
+ readonly orientation: import("@motionscript/sdk").Type<"horizontal" | "vertical", "horizontal" | "vertical", false>;
83
+ /** `stacked`: each series sits on the sum of those before it; `percent`: every category reads as shares of 100. */
84
+ readonly stack: import("@motionscript/sdk").Type<"none" | "percent" | "stacked", "none" | "percent" | "stacked", false>;
77
85
  readonly valueAxis: import("@motionscript/sdk").Type<AxisDomainConfig, AxisDomainConfig, false>;
78
86
  readonly categoryAxis: import("@motionscript/sdk").Type<AxisDomainConfig, AxisDomainConfig, false>;
79
- readonly theme: import("@motionscript/sdk").Type<BarChartTheme, BarChartConfig, false>;
80
- /**
81
- * Global rise of every column in `[0, 1]`, measured about the baseline: 0
82
- * collapses them all onto it, 1 draws them at full length.
83
- */
87
+ readonly style: import("@motionscript/sdk").Type<_StyleInput<{
88
+ legend: import("@motionscript/sdk").Type<"right" | "top" | "bottom" | "none", "right" | "top" | "bottom" | "none", false>;
89
+ swatch: import("@motionscript/sdk").Type<"square" | "circle" | "line", "square" | "circle" | "line", false>;
90
+ } & {
91
+ horizontalGrid: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
92
+ verticalGrid: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
93
+ axisStroke: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
94
+ showXAxis: import("@motionscript/sdk").Type<boolean, boolean, false>;
95
+ showYAxis: import("@motionscript/sdk").Type<boolean, boolean, false>;
96
+ } & {
97
+ fontFamily: import("@motionscript/sdk").Type<string, string, false>;
98
+ fontSize: import("@motionscript/sdk").Type<number, number, false>;
99
+ fontWeight: import("@motionscript/sdk").Type<number, number, false>;
100
+ } & {
101
+ palette: import("@motionscript/sdk").Type<_Fill[], _FillResolved[][], false>;
102
+ foreground: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
103
+ muted: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
104
+ background: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
105
+ } & {
106
+ barRadius: import("@motionscript/sdk").Type<number, number, false>;
107
+ barWidth: import("@motionscript/sdk").Type<number, number, false>;
108
+ barGap: import("@motionscript/sdk").Type<number, number, false>;
109
+ } & {
110
+ values: import("@motionscript/sdk").Type<"end" | "inside" | "none", "end" | "inside" | "none", false>;
111
+ }>, _StyleValues<{
112
+ legend: import("@motionscript/sdk").Type<"right" | "top" | "bottom" | "none", "right" | "top" | "bottom" | "none", false>;
113
+ swatch: import("@motionscript/sdk").Type<"square" | "circle" | "line", "square" | "circle" | "line", false>;
114
+ } & {
115
+ horizontalGrid: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
116
+ verticalGrid: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
117
+ axisStroke: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
118
+ showXAxis: import("@motionscript/sdk").Type<boolean, boolean, false>;
119
+ showYAxis: import("@motionscript/sdk").Type<boolean, boolean, false>;
120
+ } & {
121
+ fontFamily: import("@motionscript/sdk").Type<string, string, false>;
122
+ fontSize: import("@motionscript/sdk").Type<number, number, false>;
123
+ fontWeight: import("@motionscript/sdk").Type<number, number, false>;
124
+ } & {
125
+ palette: import("@motionscript/sdk").Type<_Fill[], _FillResolved[][], false>;
126
+ foreground: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
127
+ muted: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
128
+ background: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
129
+ } & {
130
+ barRadius: import("@motionscript/sdk").Type<number, number, false>;
131
+ barWidth: import("@motionscript/sdk").Type<number, number, false>;
132
+ barGap: import("@motionscript/sdk").Type<number, number, false>;
133
+ } & {
134
+ values: import("@motionscript/sdk").Type<"end" | "inside" | "none", "end" | "inside" | "none", false>;
135
+ }>, false>;
136
+ /** Rise of every bar about the baseline, `[0, 1]`: 0 collapses them onto it. */
84
137
  readonly growth: 1;
85
- /**
86
- * How much of the slot each series claims, one entry per series: a weight
87
- * rather than a switch, so hiding one is the others widening into the space.
88
- * Seeded from each series' `enabled`.
89
- */
90
- readonly weights: import("@motionscript/sdk").Type<number[], number[], false>;
91
- /** The category spotlit, or `null` for none. The choice snaps; `spotlightReveal` is the animation. */
138
+ /** The category spotlit, or `null`. The choice snaps; `spotlightReveal` animates it. */
92
139
  readonly spotlight: import("@motionscript/sdk").Type<number | null, number | null, false>;
93
- /** How far the category spotlight is drawn in, `[0, 1]`. */
94
140
  readonly spotlightReveal: 0;
95
- /** Read as the chart is built: the legend is a part the chart builds or doesn't. */
96
- readonly showLegend: import("@motionscript/sdk").Type<boolean, boolean, false>;
97
- /** Read as the chart is built: whether each column prints the figure it plots. */
98
- readonly showValues: import("@motionscript/sdk").Type<boolean, boolean, false>;
99
- /** Whether each series' columns are drawn: on for every frame a show or hide covers, off once a hide lands. */
141
+ /** Each series' share of the slot, seeded from `enabled`: a weight rather than a switch, so hiding one widens the others. */
142
+ readonly weights: import("@motionscript/sdk").Type<number[], number[], false>;
143
+ /** Whether each series' bars are drawn: on for every frame a show or hide covers, off once a hide lands. */
100
144
  readonly showing: import("@motionscript/sdk").Type<boolean[], boolean[], false>;
101
145
  }>, {
102
146
  readonly enter: {};
@@ -113,63 +157,141 @@ export declare const BarChart: import("@motionscript/sdk").Component<"barChart",
113
157
  readonly categoryIndex: import("@motionscript/sdk").Type<number, number, false>;
114
158
  };
115
159
  readonly clearCategory: {};
116
- }, readonly [], Node2D<Node2DProps>, import("@motionscript/sdk").CallProps<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
160
+ }, readonly [], Node2D<_Node2DProps>, import("@motionscript/sdk").CallProps<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
117
161
  readonly data: import("@motionscript/sdk").Type<DataRecord[], DataRecord[], false>;
118
162
  readonly categoryField: "";
119
163
  readonly series: import("@motionscript/sdk").Type<import("../index.js").ChartSeries[], import("../index.js").ChartSeries[], false>;
120
- readonly stacked: false;
164
+ /** `vertical`: columns rise from a row of categories; `horizontal`: bars grow right from a column of them. */
165
+ readonly orientation: import("@motionscript/sdk").Type<"horizontal" | "vertical", "horizontal" | "vertical", false>;
166
+ /** `stacked`: each series sits on the sum of those before it; `percent`: every category reads as shares of 100. */
167
+ readonly stack: import("@motionscript/sdk").Type<"none" | "percent" | "stacked", "none" | "percent" | "stacked", false>;
121
168
  readonly valueAxis: import("@motionscript/sdk").Type<AxisDomainConfig, AxisDomainConfig, false>;
122
169
  readonly categoryAxis: import("@motionscript/sdk").Type<AxisDomainConfig, AxisDomainConfig, false>;
123
- readonly theme: import("@motionscript/sdk").Type<BarChartTheme, BarChartConfig, false>;
124
- /**
125
- * Global rise of every column in `[0, 1]`, measured about the baseline: 0
126
- * collapses them all onto it, 1 draws them at full length.
127
- */
170
+ readonly style: import("@motionscript/sdk").Type<_StyleInput<{
171
+ legend: import("@motionscript/sdk").Type<"right" | "top" | "bottom" | "none", "right" | "top" | "bottom" | "none", false>;
172
+ swatch: import("@motionscript/sdk").Type<"square" | "circle" | "line", "square" | "circle" | "line", false>;
173
+ } & {
174
+ horizontalGrid: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
175
+ verticalGrid: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
176
+ axisStroke: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
177
+ showXAxis: import("@motionscript/sdk").Type<boolean, boolean, false>;
178
+ showYAxis: import("@motionscript/sdk").Type<boolean, boolean, false>;
179
+ } & {
180
+ fontFamily: import("@motionscript/sdk").Type<string, string, false>;
181
+ fontSize: import("@motionscript/sdk").Type<number, number, false>;
182
+ fontWeight: import("@motionscript/sdk").Type<number, number, false>;
183
+ } & {
184
+ palette: import("@motionscript/sdk").Type<_Fill[], _FillResolved[][], false>;
185
+ foreground: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
186
+ muted: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
187
+ background: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
188
+ } & {
189
+ barRadius: import("@motionscript/sdk").Type<number, number, false>;
190
+ barWidth: import("@motionscript/sdk").Type<number, number, false>;
191
+ barGap: import("@motionscript/sdk").Type<number, number, false>;
192
+ } & {
193
+ values: import("@motionscript/sdk").Type<"end" | "inside" | "none", "end" | "inside" | "none", false>;
194
+ }>, _StyleValues<{
195
+ legend: import("@motionscript/sdk").Type<"right" | "top" | "bottom" | "none", "right" | "top" | "bottom" | "none", false>;
196
+ swatch: import("@motionscript/sdk").Type<"square" | "circle" | "line", "square" | "circle" | "line", false>;
197
+ } & {
198
+ horizontalGrid: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
199
+ verticalGrid: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
200
+ axisStroke: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
201
+ showXAxis: import("@motionscript/sdk").Type<boolean, boolean, false>;
202
+ showYAxis: import("@motionscript/sdk").Type<boolean, boolean, false>;
203
+ } & {
204
+ fontFamily: import("@motionscript/sdk").Type<string, string, false>;
205
+ fontSize: import("@motionscript/sdk").Type<number, number, false>;
206
+ fontWeight: import("@motionscript/sdk").Type<number, number, false>;
207
+ } & {
208
+ palette: import("@motionscript/sdk").Type<_Fill[], _FillResolved[][], false>;
209
+ foreground: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
210
+ muted: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
211
+ background: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
212
+ } & {
213
+ barRadius: import("@motionscript/sdk").Type<number, number, false>;
214
+ barWidth: import("@motionscript/sdk").Type<number, number, false>;
215
+ barGap: import("@motionscript/sdk").Type<number, number, false>;
216
+ } & {
217
+ values: import("@motionscript/sdk").Type<"end" | "inside" | "none", "end" | "inside" | "none", false>;
218
+ }>, false>;
219
+ /** Rise of every bar about the baseline, `[0, 1]`: 0 collapses them onto it. */
128
220
  readonly growth: 1;
129
- /**
130
- * How much of the slot each series claims, one entry per series: a weight
131
- * rather than a switch, so hiding one is the others widening into the space.
132
- * Seeded from each series' `enabled`.
133
- */
134
- readonly weights: import("@motionscript/sdk").Type<number[], number[], false>;
135
- /** The category spotlit, or `null` for none. The choice snaps; `spotlightReveal` is the animation. */
221
+ /** The category spotlit, or `null`. The choice snaps; `spotlightReveal` animates it. */
136
222
  readonly spotlight: import("@motionscript/sdk").Type<number | null, number | null, false>;
137
- /** How far the category spotlight is drawn in, `[0, 1]`. */
138
223
  readonly spotlightReveal: 0;
139
- /** Read as the chart is built: the legend is a part the chart builds or doesn't. */
140
- readonly showLegend: import("@motionscript/sdk").Type<boolean, boolean, false>;
141
- /** Read as the chart is built: whether each column prints the figure it plots. */
142
- readonly showValues: import("@motionscript/sdk").Type<boolean, boolean, false>;
143
- /** Whether each series' columns are drawn: on for every frame a show or hide covers, off once a hide lands. */
224
+ /** Each series' share of the slot, seeded from `enabled`: a weight rather than a switch, so hiding one widens the others. */
225
+ readonly weights: import("@motionscript/sdk").Type<number[], number[], false>;
226
+ /** Whether each series' bars are drawn: on for every frame a show or hide covers, off once a hide lands. */
144
227
  readonly showing: import("@motionscript/sdk").Type<boolean[], boolean[], false>;
145
228
  }>, readonly [], import("@motionscript/sdk").BuiltNode<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
146
229
  readonly data: import("@motionscript/sdk").Type<DataRecord[], DataRecord[], false>;
147
230
  readonly categoryField: "";
148
231
  readonly series: import("@motionscript/sdk").Type<import("../index.js").ChartSeries[], import("../index.js").ChartSeries[], false>;
149
- readonly stacked: false;
232
+ /** `vertical`: columns rise from a row of categories; `horizontal`: bars grow right from a column of them. */
233
+ readonly orientation: import("@motionscript/sdk").Type<"horizontal" | "vertical", "horizontal" | "vertical", false>;
234
+ /** `stacked`: each series sits on the sum of those before it; `percent`: every category reads as shares of 100. */
235
+ readonly stack: import("@motionscript/sdk").Type<"none" | "percent" | "stacked", "none" | "percent" | "stacked", false>;
150
236
  readonly valueAxis: import("@motionscript/sdk").Type<AxisDomainConfig, AxisDomainConfig, false>;
151
237
  readonly categoryAxis: import("@motionscript/sdk").Type<AxisDomainConfig, AxisDomainConfig, false>;
152
- readonly theme: import("@motionscript/sdk").Type<BarChartTheme, BarChartConfig, false>;
153
- /**
154
- * Global rise of every column in `[0, 1]`, measured about the baseline: 0
155
- * collapses them all onto it, 1 draws them at full length.
156
- */
238
+ readonly style: import("@motionscript/sdk").Type<_StyleInput<{
239
+ legend: import("@motionscript/sdk").Type<"right" | "top" | "bottom" | "none", "right" | "top" | "bottom" | "none", false>;
240
+ swatch: import("@motionscript/sdk").Type<"square" | "circle" | "line", "square" | "circle" | "line", false>;
241
+ } & {
242
+ horizontalGrid: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
243
+ verticalGrid: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
244
+ axisStroke: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
245
+ showXAxis: import("@motionscript/sdk").Type<boolean, boolean, false>;
246
+ showYAxis: import("@motionscript/sdk").Type<boolean, boolean, false>;
247
+ } & {
248
+ fontFamily: import("@motionscript/sdk").Type<string, string, false>;
249
+ fontSize: import("@motionscript/sdk").Type<number, number, false>;
250
+ fontWeight: import("@motionscript/sdk").Type<number, number, false>;
251
+ } & {
252
+ palette: import("@motionscript/sdk").Type<_Fill[], _FillResolved[][], false>;
253
+ foreground: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
254
+ muted: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
255
+ background: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
256
+ } & {
257
+ barRadius: import("@motionscript/sdk").Type<number, number, false>;
258
+ barWidth: import("@motionscript/sdk").Type<number, number, false>;
259
+ barGap: import("@motionscript/sdk").Type<number, number, false>;
260
+ } & {
261
+ values: import("@motionscript/sdk").Type<"end" | "inside" | "none", "end" | "inside" | "none", false>;
262
+ }>, _StyleValues<{
263
+ legend: import("@motionscript/sdk").Type<"right" | "top" | "bottom" | "none", "right" | "top" | "bottom" | "none", false>;
264
+ swatch: import("@motionscript/sdk").Type<"square" | "circle" | "line", "square" | "circle" | "line", false>;
265
+ } & {
266
+ horizontalGrid: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
267
+ verticalGrid: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
268
+ axisStroke: import("@motionscript/sdk").Type<_Stroke, _StrokeResolved[], false>;
269
+ showXAxis: import("@motionscript/sdk").Type<boolean, boolean, false>;
270
+ showYAxis: import("@motionscript/sdk").Type<boolean, boolean, false>;
271
+ } & {
272
+ fontFamily: import("@motionscript/sdk").Type<string, string, false>;
273
+ fontSize: import("@motionscript/sdk").Type<number, number, false>;
274
+ fontWeight: import("@motionscript/sdk").Type<number, number, false>;
275
+ } & {
276
+ palette: import("@motionscript/sdk").Type<_Fill[], _FillResolved[][], false>;
277
+ foreground: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
278
+ muted: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
279
+ background: import("@motionscript/sdk").Type<_Fill, _FillResolved[], false>;
280
+ } & {
281
+ barRadius: import("@motionscript/sdk").Type<number, number, false>;
282
+ barWidth: import("@motionscript/sdk").Type<number, number, false>;
283
+ barGap: import("@motionscript/sdk").Type<number, number, false>;
284
+ } & {
285
+ values: import("@motionscript/sdk").Type<"end" | "inside" | "none", "end" | "inside" | "none", false>;
286
+ }>, false>;
287
+ /** Rise of every bar about the baseline, `[0, 1]`: 0 collapses them onto it. */
157
288
  readonly growth: 1;
158
- /**
159
- * How much of the slot each series claims, one entry per series: a weight
160
- * rather than a switch, so hiding one is the others widening into the space.
161
- * Seeded from each series' `enabled`.
162
- */
163
- readonly weights: import("@motionscript/sdk").Type<number[], number[], false>;
164
- /** The category spotlit, or `null` for none. The choice snaps; `spotlightReveal` is the animation. */
289
+ /** The category spotlit, or `null`. The choice snaps; `spotlightReveal` animates it. */
165
290
  readonly spotlight: import("@motionscript/sdk").Type<number | null, number | null, false>;
166
- /** How far the category spotlight is drawn in, `[0, 1]`. */
167
291
  readonly spotlightReveal: 0;
168
- /** Read as the chart is built: the legend is a part the chart builds or doesn't. */
169
- readonly showLegend: import("@motionscript/sdk").Type<boolean, boolean, false>;
170
- /** Read as the chart is built: whether each column prints the figure it plots. */
171
- readonly showValues: import("@motionscript/sdk").Type<boolean, boolean, false>;
172
- /** Whether each series' columns are drawn: on for every frame a show or hide covers, off once a hide lands. */
292
+ /** Each series' share of the slot, seeded from `enabled`: a weight rather than a switch, so hiding one widens the others. */
293
+ readonly weights: import("@motionscript/sdk").Type<number[], number[], false>;
294
+ /** Whether each series' bars are drawn: on for every frame a show or hide covers, off once a hide lands. */
173
295
  readonly showing: import("@motionscript/sdk").Type<boolean[], boolean[], false>;
174
296
  }>, {
175
297
  readonly enter: {};
@@ -186,6 +308,7 @@ export declare const BarChart: import("@motionscript/sdk").Component<"barChart",
186
308
  readonly categoryIndex: import("@motionscript/sdk").Type<number, number, false>;
187
309
  };
188
310
  readonly clearCategory: {};
189
- }, Node2D<Node2DProps>>>>;
311
+ }, Node2D<_Node2DProps>>>>;
190
312
  export type BarChart = NodeOf<typeof BarChart>;
313
+ export {};
191
314
  //# sourceMappingURL=bar-chart.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bar-chart.d.ts","sourceRoot":"","sources":["../../src/bar-chart/bar-chart.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,UAAU,EAEf,KAAK,MAAM,EAEX,KAAK,MAAM,EACX,KAAK,WAAW,EAGjB,MAAM,mBAAmB,CAAA;AAU1B,OAAO,EAUL,KAAK,gBAAgB,EACrB,KAAK,KAAK,EACX,MAAM,eAAe,CAAA;AAGtB,OAAO,EASL,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,aAAc,SAAQ,WAAW;IAChD,oEAAoE;IACpE,IAAI,EAAE,UAAU,EAAE,CAAA;IAClB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB,gFAAgF;IAChF,MAAM,EAAE,SAAS,EAAE,CAAA;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,yEAAyE;IACzE,SAAS,CAAC,EAAE,gBAAgB,CAAA;IAC5B,qFAAqF;IACrF,YAAY,CAAC,EAAE,gBAAgB,CAAA;IAC/B;;;;OAIG;IACH,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,6DAA6D;IAC7D,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,sDAAsD;IACtD,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,sDAAsD;AACtD,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,CAAA;IAC3B,QAAQ,CAAC,MAAM,EAAE,SAAS,EAAE,CAAA;IAC5B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,SAAS,EAAE,gBAAgB,CAAA;CACrC;AAED,iEAAiE;AACjE,MAAM,MAAM,cAAc,GAAG,gBAAgB,GAAG;IAAE,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAA;CAAE,CAAA;AAsCnG,iGAAiG;AACjG,wBAAgB,cAAc,CAAC,CAAC,EAAE,cAAc,GAAG,cAAc,CAOhE;AA8ID;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,QAAQ;;;;;;;;IAUjB;;;OAGG;;IAEH;;;;OAIG;;IAEH,sGAAsG;;IAEtG,4DAA4D;;IAE5D,oFAAoF;;IAEpF,kFAAkF;;IAElF,+GAA+G;;;;;;;;;;;;;;;;;;;;;;;;;IAnB/G;;;OAGG;;IAEH;;;;OAIG;;IAEH,sGAAsG;;IAEtG,4DAA4D;;IAE5D,oFAAoF;;IAEpF,kFAAkF;;IAElF,+GAA+G;;;;;;;;;;IAnB/G;;;OAGG;;IAEH;;;;OAIG;;IAEH,sGAAsG;;IAEtG,4DAA4D;;IAE5D,oFAAoF;;IAEpF,kFAAkF;;IAElF,+GAA+G;;;;;;;;;;;;;;;;;yBA6MjH,CAAA;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,QAAQ,CAAC,CAAA"}
1
+ {"version":3,"file":"bar-chart.d.ts","sourceRoot":"","sources":["../../src/bar-chart/bar-chart.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,UAAU,EACf,KAAK,MAAM,EACX,KAAK,KAAK,EAEV,KAAK,MAAM,EACX,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,IAAI,IAAI,KAAK,EAClB,KAAK,YAAY,IAAI,aAAa,EAClC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EAEtC,KAAK,UAAU,IAAI,WAAW,EAC9B,KAAK,WAAW,IAAI,YAAY,EACjC,MAAM,mBAAmB,CAAA;AAS1B,OAAO,EAWL,KAAK,gBAAgB,EAErB,KAAK,kBAAkB,EACxB,MAAM,eAAe,CAAA;AAgBtB,OAAO,EAOL,KAAK,SAAS,EACd,KAAK,QAAQ,EACd,MAAM,UAAU,CAAA;AAEjB,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAId,CAAA;AAED,oCAAoC;AACpC,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,SAAS,CAAC,CAAA;AAEnD,sDAAsD;AACtD,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,CAAA;IAC3B,QAAQ,CAAC,MAAM,EAAE,SAAS,EAAE,CAAA;IAC5B,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAA;IACxB,QAAQ,CAAC,SAAS,EAAE,gBAAgB,CAAA;CACrC;AAED,iEAAiE;AACjE,MAAM,MAAM,cAAc,GAAG,kBAAkB,CAAA;AAsB/C,gHAAgH;AAChH,wBAAgB,cAAc,CAAC,CAAC,EAAE,cAAc,GAAG,cAAc,CAOhE;AA6HD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,QAAQ;;;;IAOjB,8GAA8G;;IAE9G,mHAAmH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKnH,gFAAgF;;IAEhF,wFAAwF;;;IAGxF,6HAA6H;;IAE7H,4GAA4G;;;;;;;;;;;;;;;;;;;;;IAd5G,8GAA8G;;IAE9G,mHAAmH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKnH,gFAAgF;;IAEhF,wFAAwF;;;IAGxF,6HAA6H;;IAE7H,4GAA4G;;;;;;IAd5G,8GAA8G;;IAE9G,mHAAmH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKnH,gFAAgF;;IAEhF,wFAAwF;;;IAGxF,6HAA6H;;IAE7H,4GAA4G;;;;;;;;;;;;;;;;;0BA+N9G,CAAA;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,QAAQ,CAAC,CAAA"}