material-plus-ui 1.7.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +28 -18
  3. package/dist/a2ui/catalog.d.ts +104 -0
  4. package/dist/a2ui/catalog.js +1 -0
  5. package/dist/a2ui/components/MPA2uiAudioPlayer.d.ts +1 -0
  6. package/dist/a2ui/components/MPA2uiAudioPlayer.js +2 -0
  7. package/dist/a2ui/components/MPA2uiButton.d.ts +1 -0
  8. package/dist/a2ui/components/MPA2uiButton.js +2 -0
  9. package/dist/a2ui/components/MPA2uiCard.d.ts +1 -0
  10. package/dist/a2ui/components/MPA2uiCard.js +2 -0
  11. package/dist/a2ui/components/MPA2uiCheckBox.d.ts +1 -0
  12. package/dist/a2ui/components/MPA2uiCheckBox.js +2 -0
  13. package/dist/a2ui/components/MPA2uiChoicePicker.d.ts +1 -0
  14. package/dist/a2ui/components/MPA2uiChoicePicker.js +2 -0
  15. package/dist/a2ui/components/MPA2uiColumn.d.ts +1 -0
  16. package/dist/a2ui/components/MPA2uiColumn.js +2 -0
  17. package/dist/a2ui/components/MPA2uiDateTimeInput.d.ts +1 -0
  18. package/dist/a2ui/components/MPA2uiDateTimeInput.js +2 -0
  19. package/dist/a2ui/components/MPA2uiDivider.d.ts +1 -0
  20. package/dist/a2ui/components/MPA2uiDivider.js +2 -0
  21. package/dist/a2ui/components/MPA2uiIcon.d.ts +1 -0
  22. package/dist/a2ui/components/MPA2uiIcon.js +2 -0
  23. package/dist/a2ui/components/MPA2uiImage.d.ts +1 -0
  24. package/dist/a2ui/components/MPA2uiImage.js +2 -0
  25. package/dist/a2ui/components/MPA2uiList.d.ts +1 -0
  26. package/dist/a2ui/components/MPA2uiList.js +2 -0
  27. package/dist/a2ui/components/MPA2uiModal.d.ts +1 -0
  28. package/dist/a2ui/components/MPA2uiModal.js +2 -0
  29. package/dist/a2ui/components/MPA2uiRow.d.ts +1 -0
  30. package/dist/a2ui/components/MPA2uiRow.js +2 -0
  31. package/dist/a2ui/components/MPA2uiSlider.d.ts +1 -0
  32. package/dist/a2ui/components/MPA2uiSlider.js +2 -0
  33. package/dist/a2ui/components/MPA2uiTabs.d.ts +1 -0
  34. package/dist/a2ui/components/MPA2uiTabs.js +2 -0
  35. package/dist/a2ui/components/MPA2uiText.d.ts +1 -0
  36. package/dist/a2ui/components/MPA2uiText.js +2 -0
  37. package/dist/a2ui/components/MPA2uiTextField.d.ts +1 -0
  38. package/dist/a2ui/components/MPA2uiTextField.js +2 -0
  39. package/dist/a2ui/components/MPA2uiVideo.d.ts +1 -0
  40. package/dist/a2ui/components/MPA2uiVideo.js +2 -0
  41. package/dist/a2ui/extended/MPA2uiBarChart.d.ts +1 -0
  42. package/dist/a2ui/extended/MPA2uiBarChart.js +2 -0
  43. package/dist/a2ui/extended/MPA2uiDataTable.d.ts +1 -0
  44. package/dist/a2ui/extended/MPA2uiDataTable.js +2 -0
  45. package/dist/a2ui/extended/MPA2uiLineChart.d.ts +1 -0
  46. package/dist/a2ui/extended/MPA2uiLineChart.js +2 -0
  47. package/dist/a2ui/extended/MPA2uiPieChart.d.ts +1 -0
  48. package/dist/a2ui/extended/MPA2uiPieChart.js +2 -0
  49. package/dist/a2ui/extended/MPA2uiStatistic.d.ts +1 -0
  50. package/dist/a2ui/extended/MPA2uiStatistic.js +2 -0
  51. package/dist/a2ui/extended/api.d.ts +1436 -0
  52. package/dist/a2ui/extended/api.js +1 -0
  53. package/dist/a2ui/extended/chart.d.ts +26 -0
  54. package/dist/a2ui/extended/chart.js +1 -0
  55. package/dist/a2ui/index.d.ts +103 -0
  56. package/dist/a2ui/index.js +1 -0
  57. package/dist/a2ui/internal/children.d.ts +28 -0
  58. package/dist/a2ui/internal/children.js +1 -0
  59. package/dist/a2ui/internal/common.d.ts +113 -0
  60. package/dist/a2ui/internal/common.js +1 -0
  61. package/dist/a2ui/internal/icons.d.ts +3 -0
  62. package/dist/a2ui/internal/icons.js +1 -0
  63. package/dist/components/alert/MPAlert.d.ts +2 -2
  64. package/dist/components/alert/MPAlert.js +1 -1
  65. package/dist/components/anchor/MPAnchor.js +1 -1
  66. package/dist/components/animate-counter/MPAnimateCounter.js +1 -1
  67. package/dist/components/animate-grow/MPAnimateGrow.d.ts +1 -1
  68. package/dist/components/animate-slide/MPAnimateSlide.d.ts +1 -1
  69. package/dist/components/animate-zoom/MPAnimateZoom.d.ts +2 -2
  70. package/dist/components/app-logo/MPAppLogo.d.ts +16 -1
  71. package/dist/components/app-logo/MPAppLogo.js +1 -1
  72. package/dist/components/area-chart/MPAreaChart.d.ts +18 -3
  73. package/dist/components/area-chart/MPAreaChart.js +1 -1
  74. package/dist/components/aspect-ratio/MPAspectRatio.d.ts +1 -1
  75. package/dist/components/aspect-ratio/MPAspectRatio.js +1 -1
  76. package/dist/components/avatar/MPAvatar.d.ts +1 -1
  77. package/dist/components/bar-chart/MPBarChart.d.ts +15 -5
  78. package/dist/components/bar-chart/MPBarChart.js +1 -1
  79. package/dist/components/blockquote/MPBlockquote.d.ts +9 -1
  80. package/dist/components/blockquote/MPBlockquote.js +1 -1
  81. package/dist/components/bottom-navigation/MPBottomNavigation.js +1 -1
  82. package/dist/components/box/MPBox.d.ts +1 -1
  83. package/dist/components/breadcrumb/MPBreadcrumb.js +1 -1
  84. package/dist/components/button/MPButton.js +1 -1
  85. package/dist/components/calendar/MPCalendar.js +1 -1
  86. package/dist/components/carousel/MPCarousel.js +1 -1
  87. package/dist/components/checkbox/MPCheckbox.js +1 -1
  88. package/dist/components/chip/MPChip.d.ts +2 -2
  89. package/dist/components/chip/MPChip.js +1 -1
  90. package/dist/components/color-picker/MPColorPicker.js +1 -1
  91. package/dist/components/combobox/MPCombobox.js +1 -1
  92. package/dist/components/confirm/MPConfirmProvider.js +1 -1
  93. package/dist/components/data-table/MPDataTable.d.ts +20 -1
  94. package/dist/components/data-table/MPDataTable.js +1 -1
  95. package/dist/components/date-picker/MPDatePicker.js +1 -1
  96. package/dist/components/empty/MPEmpty.d.ts +1 -1
  97. package/dist/components/floating-action-button/MPFloatingActionButton.js +1 -1
  98. package/dist/components/grid/MPGrid.d.ts +25 -8
  99. package/dist/components/grid/MPGrid.js +1 -1
  100. package/dist/components/heatmap-chart/MPHeatmapChart.d.ts +12 -3
  101. package/dist/components/heatmap-chart/MPHeatmapChart.js +1 -1
  102. package/dist/components/hover-card/MPHoverCard.d.ts +1 -0
  103. package/dist/components/hover-card/MPHoverCard.js +1 -1
  104. package/dist/components/icon/MPIcon.js +1 -1
  105. package/dist/components/image/MPImage.d.ts +112 -4
  106. package/dist/components/image/MPImage.js +1 -1
  107. package/dist/components/image/index.d.ts +1 -1
  108. package/dist/components/line-chart/MPLineChart.d.ts +20 -2
  109. package/dist/components/line-chart/MPLineChart.js +1 -1
  110. package/dist/components/list/MPList.js +1 -1
  111. package/dist/components/menu/MPMenu.d.ts +1 -1
  112. package/dist/components/menubar/MPMenubar.js +1 -1
  113. package/dist/components/navigation-menu/MPNavigationMenu.js +1 -1
  114. package/dist/components/number-field/MPNumberField.js +1 -1
  115. package/dist/components/pie-chart/MPPieChart.d.ts +23 -1
  116. package/dist/components/pie-chart/MPPieChart.js +1 -1
  117. package/dist/components/pill/MPPill.js +1 -1
  118. package/dist/components/popconfirm/MPPopconfirm.d.ts +2 -2
  119. package/dist/components/popover/MPPopover.d.ts +1 -0
  120. package/dist/components/popover/MPPopover.js +1 -1
  121. package/dist/components/portal/MPPortal.d.ts +1 -1
  122. package/dist/components/radio-group/MPRadioGroup.js +1 -1
  123. package/dist/components/rating/MPRating.js +1 -1
  124. package/dist/components/scatter-chart/MPScatterChart.d.ts +5 -1
  125. package/dist/components/segmented-button/MPSegmentedButton.js +1 -1
  126. package/dist/components/select/MPSelect.js +1 -1
  127. package/dist/components/sparkline/MPSparkline.d.ts +14 -1
  128. package/dist/components/sparkline/MPSparkline.js +1 -1
  129. package/dist/components/statistic/MPStatistic.js +1 -1
  130. package/dist/components/stepper/MPStepper.js +1 -1
  131. package/dist/components/table/MPTable.d.ts +1 -1
  132. package/dist/components/tabs/MPTabs.js +1 -1
  133. package/dist/components/timeline/MPTimeline.js +1 -1
  134. package/dist/components/timeline-chart/MPTimelineChart.d.ts +6 -2
  135. package/dist/components/toggle/MPToggle.js +1 -1
  136. package/dist/components/tooltip/MPTooltip.js +1 -1
  137. package/dist/components/tour/MPTour.js +1 -1
  138. package/dist/components/transfer/MPTransfer.js +1 -1
  139. package/dist/components/typography/MPTypography.d.ts +1 -1
  140. package/dist/constants/glyphs.d.ts +32 -32
  141. package/dist/constants/icons.d.ts +32 -32
  142. package/dist/internal/Calendar.js +1 -1
  143. package/dist/internal/ChartChrome.d.ts +63 -19
  144. package/dist/internal/ChartChrome.js +1 -1
  145. package/dist/internal/ChartFrame.d.ts +24 -4
  146. package/dist/internal/ChartFrame.js +1 -1
  147. package/dist/internal/FieldOutline.js +1 -1
  148. package/dist/internal/Picker.js +1 -1
  149. package/dist/internal/PopupArrow.d.ts +60 -0
  150. package/dist/internal/PopupArrow.js +2 -0
  151. package/dist/internal/SupportingText.js +1 -1
  152. package/dist/internal/chart.d.ts +91 -13
  153. package/dist/internal/chart.js +1 -1
  154. package/dist/internal/color-scheme.d.ts +0 -9
  155. package/dist/internal/color-scheme.js +1 -1
  156. package/dist/internal/data-table.d.ts +35 -2
  157. package/dist/internal/data-table.js +1 -1
  158. package/dist/internal/date.d.ts +22 -18
  159. package/dist/internal/date.js +1 -1
  160. package/dist/internal/i18n.d.ts +14 -0
  161. package/dist/internal/intl.d.ts +64 -0
  162. package/dist/internal/intl.js +1 -0
  163. package/dist/internal/messages/chart.d.ts +1 -1
  164. package/dist/internal/messages/chart.js +1 -1
  165. package/dist/internal/messages/transfer.d.ts +1 -1
  166. package/dist/internal/messages/transfer.js +1 -1
  167. package/dist/internal/text.js +1 -1
  168. package/dist/internal/time-scale.js +1 -1
  169. package/dist/locales/ar.js +1 -1
  170. package/dist/locales/de.js +1 -1
  171. package/dist/locales/es.js +1 -1
  172. package/dist/locales/fr.js +1 -1
  173. package/dist/locales/hi.js +1 -1
  174. package/dist/locales/id.js +1 -1
  175. package/dist/locales/it.js +1 -1
  176. package/dist/locales/ja.js +1 -1
  177. package/dist/locales/ko.js +1 -1
  178. package/dist/locales/nl.js +1 -1
  179. package/dist/locales/pl.js +1 -1
  180. package/dist/locales/pt.js +1 -1
  181. package/dist/locales/ru.js +1 -1
  182. package/dist/locales/th.js +1 -1
  183. package/dist/locales/tr.js +1 -1
  184. package/dist/locales/vi.js +1 -1
  185. package/dist/locales/zh-hans.js +1 -1
  186. package/dist/locales/zh-hant.js +1 -1
  187. package/dist/styles/accordion.css +1 -1
  188. package/dist/styles/alert.css +1 -1
  189. package/dist/styles/app-logo.css +1 -1
  190. package/dist/styles/area-chart.css +1 -1
  191. package/dist/styles/aspect-ratio.css +1 -1
  192. package/dist/styles/bar-chart.css +1 -1
  193. package/dist/styles/blockquote.css +1 -1
  194. package/dist/styles/bottom-navigation.css +1 -1
  195. package/dist/styles/breadcrumb.css +1 -1
  196. package/dist/styles/button.css +1 -1
  197. package/dist/styles/calendar.css +1 -1
  198. package/dist/styles/carousel.css +1 -1
  199. package/dist/styles/chat-bubble.css +1 -1
  200. package/dist/styles/checkbox.css +1 -1
  201. package/dist/styles/chip.css +1 -1
  202. package/dist/styles/code-block.css +1 -1
  203. package/dist/styles/collapsible.css +1 -1
  204. package/dist/styles/color-picker.css +1 -1
  205. package/dist/styles/combobox.css +1 -1
  206. package/dist/styles/confirm.css +1 -1
  207. package/dist/styles/data-table.css +1 -1
  208. package/dist/styles/date-picker.css +1 -1
  209. package/dist/styles/date-range-picker.css +1 -1
  210. package/dist/styles/date-time-picker.css +1 -1
  211. package/dist/styles/dialog.css +1 -1
  212. package/dist/styles/drawer.css +1 -1
  213. package/dist/styles/file-picker.css +1 -1
  214. package/dist/styles/flex.css +1 -1
  215. package/dist/styles/floating-action-button.css +1 -1
  216. package/dist/styles/gauge-chart.css +1 -1
  217. package/dist/styles/grid.css +1 -1
  218. package/dist/styles/heatmap-chart.css +1 -1
  219. package/dist/styles/icon-button.css +1 -1
  220. package/dist/styles/icon.css +1 -1
  221. package/dist/styles/image.css +1 -1
  222. package/dist/styles/line-chart.css +1 -1
  223. package/dist/styles/list.css +1 -1
  224. package/dist/styles/menu.css +1 -1
  225. package/dist/styles/menubar.css +1 -1
  226. package/dist/styles/navigation-menu.css +1 -1
  227. package/dist/styles/number-field.css +1 -1
  228. package/dist/styles/otp-field.css +1 -1
  229. package/dist/styles/pagination.css +1 -1
  230. package/dist/styles/pie-chart.css +1 -1
  231. package/dist/styles/pill.css +1 -1
  232. package/dist/styles/popconfirm.css +1 -1
  233. package/dist/styles/popover.css +1 -1
  234. package/dist/styles/radio-group.css +1 -1
  235. package/dist/styles/rating.css +1 -1
  236. package/dist/styles/scatter-chart.css +1 -1
  237. package/dist/styles/scroll-zone.css +1 -1
  238. package/dist/styles/segmented-button.css +1 -1
  239. package/dist/styles/select.css +1 -1
  240. package/dist/styles/sidebar.css +1 -1
  241. package/dist/styles/snackbar.css +1 -1
  242. package/dist/styles/sparkline.css +1 -1
  243. package/dist/styles/spoiler.css +1 -1
  244. package/dist/styles/statistic.css +1 -1
  245. package/dist/styles/stepper.css +1 -1
  246. package/dist/styles/switch.css +1 -1
  247. package/dist/styles/tabs.css +1 -1
  248. package/dist/styles/text-field.css +1 -1
  249. package/dist/styles/text-link.css +1 -1
  250. package/dist/styles/time-picker.css +1 -1
  251. package/dist/styles/timeline-chart.css +1 -1
  252. package/dist/styles/timeline.css +1 -1
  253. package/dist/styles/toggle.css +1 -1
  254. package/dist/styles/tokens.css +1 -1
  255. package/dist/styles/tour.css +1 -1
  256. package/dist/styles/transfer.css +1 -1
  257. package/dist/styles/tree-select.css +1 -1
  258. package/dist/styles/tree-view.css +1 -1
  259. package/dist/styles.css +1 -1
  260. package/dist/tailwind.css +1253 -55
  261. package/dist/types.d.ts +210 -3
  262. package/package.json +47 -26
  263. package/.fix.py +0 -92
@@ -0,0 +1,1436 @@
1
+ /**
2
+ * The five components this library adds to the protocol's vocabulary, and the
3
+ * schemas that are their contract.
4
+ *
5
+ * Everything in `a2ui/components` implements schemas A2UI publishes. These are
6
+ * ours: a table and three charts and a figure, which the basic catalog has no way
7
+ * to express and an agent reporting numbers needs first. They are published as
8
+ * `docs/public/a2ui/v0_9/catalog.json`, generated from this file by
9
+ * `scripts/build-a2ui-catalog.mjs`, and served at the `catalogId` in
10
+ * `a2ui/catalog.ts`.
11
+ *
12
+ * ## What a schema here is allowed to be
13
+ *
14
+ * A prop an agent writes is not a prop a React caller writes, and the difference
15
+ * decides what goes in:
16
+ *
17
+ * - **It has to be JSON.** No function, no element, no `Date`. So a column's
18
+ * `value` accessor, a chart's `Intl` options and a table's `render` — the props
19
+ * that make these components flexible in a page — have no schema and are not
20
+ * reachable. What replaces them is a narrower question the agent can answer.
21
+ * - **It has to be bindable where the data is.** A table's rows and a chart's
22
+ * series live in the data model, so they take a literal *or* a path, which is
23
+ * what `dynamicList` is for. A payload that streams numbers in updates the
24
+ * chart without resending the chart.
25
+ * - **It has to be described.** Every field carries a `describe`, because the
26
+ * description is what the agent reads: this file is the prompt as much as it is
27
+ * the contract, and a field nobody can tell the purpose of is a field an agent
28
+ * fills in wrongly.
29
+ * - **It has to be closed.** `.strict()` on every object, so a payload with a
30
+ * misspelled prop is refused rather than silently drawn without it.
31
+ *
32
+ * ## What is deliberately missing
33
+ *
34
+ * No `onRowClick`, and no per-row action. An A2UI action carries a context
35
+ * resolved from data paths at the moment it fires, which cannot name *which* row
36
+ * was pressed — so a row action would be a callback that could not say what it
37
+ * happened to. Selection says it instead: the agent binds `selectedKeys`, the
38
+ * reader picks rows, and the keys are in the data model for the next message to
39
+ * read. That is the same shape every input in the basic catalog has.
40
+ */
41
+ import { z } from 'zod';
42
+ export declare const DataTableApi: {
43
+ name: string;
44
+ schema: z.ZodObject<{
45
+ columns: z.ZodArray<z.ZodObject<{
46
+ key: z.ZodString;
47
+ label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
48
+ path: z.ZodString;
49
+ }, "strip", z.ZodTypeAny, {
50
+ path: string;
51
+ }, {
52
+ path: string;
53
+ }>, z.ZodObject<{
54
+ call: z.ZodString;
55
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
56
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ call: string;
59
+ args: Record<string, any>;
60
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
61
+ }, {
62
+ call: string;
63
+ args: Record<string, any>;
64
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
65
+ }>]>>;
66
+ align: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
67
+ sortable: z.ZodOptional<z.ZodBoolean>;
68
+ searchable: z.ZodOptional<z.ZodBoolean>;
69
+ width: z.ZodOptional<z.ZodNumber>;
70
+ }, "strict", z.ZodTypeAny, {
71
+ key: string;
72
+ label?: string | {
73
+ path: string;
74
+ } | {
75
+ call: string;
76
+ args: Record<string, any>;
77
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
78
+ } | undefined;
79
+ width?: number | undefined;
80
+ align?: "start" | "center" | "end" | undefined;
81
+ sortable?: boolean | undefined;
82
+ searchable?: boolean | undefined;
83
+ }, {
84
+ key: string;
85
+ label?: string | {
86
+ path: string;
87
+ } | {
88
+ call: string;
89
+ args: Record<string, any>;
90
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
91
+ } | undefined;
92
+ width?: number | undefined;
93
+ align?: "start" | "center" | "end" | undefined;
94
+ sortable?: boolean | undefined;
95
+ searchable?: boolean | undefined;
96
+ }>, "many">;
97
+ rows: z.ZodUnion<[z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">, z.ZodObject<{
98
+ path: z.ZodString;
99
+ }, "strip", z.ZodTypeAny, {
100
+ path: string;
101
+ }, {
102
+ path: string;
103
+ }>, z.ZodObject<{
104
+ call: z.ZodString;
105
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
106
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ call: string;
109
+ args: Record<string, any>;
110
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
111
+ }, {
112
+ call: string;
113
+ args: Record<string, any>;
114
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
115
+ }>]>;
116
+ rowKey: z.ZodOptional<z.ZodString>;
117
+ caption: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
118
+ path: z.ZodString;
119
+ }, "strip", z.ZodTypeAny, {
120
+ path: string;
121
+ }, {
122
+ path: string;
123
+ }>, z.ZodObject<{
124
+ call: z.ZodString;
125
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
126
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ call: string;
129
+ args: Record<string, any>;
130
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
131
+ }, {
132
+ call: string;
133
+ args: Record<string, any>;
134
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
135
+ }>]>>;
136
+ searchable: z.ZodOptional<z.ZodBoolean>;
137
+ sortable: z.ZodOptional<z.ZodBoolean>;
138
+ paged: z.ZodOptional<z.ZodBoolean>;
139
+ pageSize: z.ZodOptional<z.ZodNumber>;
140
+ selection: z.ZodOptional<z.ZodEnum<["none", "single", "multiple"]>>;
141
+ selectedKeys: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
142
+ path: z.ZodString;
143
+ }, "strip", z.ZodTypeAny, {
144
+ path: string;
145
+ }, {
146
+ path: string;
147
+ }>]>>;
148
+ striped: z.ZodOptional<z.ZodBoolean>;
149
+ accessibility: z.ZodOptional<z.ZodObject<{
150
+ label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
151
+ path: z.ZodString;
152
+ }, "strip", z.ZodTypeAny, {
153
+ path: string;
154
+ }, {
155
+ path: string;
156
+ }>, z.ZodObject<{
157
+ call: z.ZodString;
158
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
159
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
160
+ }, "strip", z.ZodTypeAny, {
161
+ call: string;
162
+ args: Record<string, any>;
163
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
164
+ }, {
165
+ call: string;
166
+ args: Record<string, any>;
167
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
168
+ }>]>>;
169
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
170
+ path: z.ZodString;
171
+ }, "strip", z.ZodTypeAny, {
172
+ path: string;
173
+ }, {
174
+ path: string;
175
+ }>, z.ZodObject<{
176
+ call: z.ZodString;
177
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
178
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
179
+ }, "strip", z.ZodTypeAny, {
180
+ call: string;
181
+ args: Record<string, any>;
182
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
183
+ }, {
184
+ call: string;
185
+ args: Record<string, any>;
186
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
187
+ }>]>>;
188
+ }, "strict", z.ZodTypeAny, {
189
+ label?: string | {
190
+ path: string;
191
+ } | {
192
+ call: string;
193
+ args: Record<string, any>;
194
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
195
+ } | undefined;
196
+ description?: string | {
197
+ path: string;
198
+ } | {
199
+ call: string;
200
+ args: Record<string, any>;
201
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
202
+ } | undefined;
203
+ }, {
204
+ label?: string | {
205
+ path: string;
206
+ } | {
207
+ call: string;
208
+ args: Record<string, any>;
209
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
210
+ } | undefined;
211
+ description?: string | {
212
+ path: string;
213
+ } | {
214
+ call: string;
215
+ args: Record<string, any>;
216
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
217
+ } | undefined;
218
+ }>>;
219
+ weight: z.ZodOptional<z.ZodNumber>;
220
+ }, "strict", z.ZodTypeAny, {
221
+ columns: {
222
+ key: string;
223
+ label?: string | {
224
+ path: string;
225
+ } | {
226
+ call: string;
227
+ args: Record<string, any>;
228
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
229
+ } | undefined;
230
+ width?: number | undefined;
231
+ align?: "start" | "center" | "end" | undefined;
232
+ sortable?: boolean | undefined;
233
+ searchable?: boolean | undefined;
234
+ }[];
235
+ rows: {
236
+ path: string;
237
+ } | {
238
+ call: string;
239
+ args: Record<string, any>;
240
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
241
+ } | Record<string, any>[];
242
+ caption?: string | {
243
+ path: string;
244
+ } | {
245
+ call: string;
246
+ args: Record<string, any>;
247
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
248
+ } | undefined;
249
+ weight?: number | undefined;
250
+ sortable?: boolean | undefined;
251
+ searchable?: boolean | undefined;
252
+ paged?: boolean | undefined;
253
+ pageSize?: number | undefined;
254
+ striped?: boolean | undefined;
255
+ selectedKeys?: string[] | {
256
+ path: string;
257
+ } | undefined;
258
+ rowKey?: string | undefined;
259
+ selection?: "none" | "multiple" | "single" | undefined;
260
+ accessibility?: {
261
+ label?: string | {
262
+ path: string;
263
+ } | {
264
+ call: string;
265
+ args: Record<string, any>;
266
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
267
+ } | undefined;
268
+ description?: string | {
269
+ path: string;
270
+ } | {
271
+ call: string;
272
+ args: Record<string, any>;
273
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
274
+ } | undefined;
275
+ } | undefined;
276
+ }, {
277
+ columns: {
278
+ key: string;
279
+ label?: string | {
280
+ path: string;
281
+ } | {
282
+ call: string;
283
+ args: Record<string, any>;
284
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
285
+ } | undefined;
286
+ width?: number | undefined;
287
+ align?: "start" | "center" | "end" | undefined;
288
+ sortable?: boolean | undefined;
289
+ searchable?: boolean | undefined;
290
+ }[];
291
+ rows: {
292
+ path: string;
293
+ } | {
294
+ call: string;
295
+ args: Record<string, any>;
296
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
297
+ } | Record<string, any>[];
298
+ caption?: string | {
299
+ path: string;
300
+ } | {
301
+ call: string;
302
+ args: Record<string, any>;
303
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
304
+ } | undefined;
305
+ weight?: number | undefined;
306
+ sortable?: boolean | undefined;
307
+ searchable?: boolean | undefined;
308
+ paged?: boolean | undefined;
309
+ pageSize?: number | undefined;
310
+ striped?: boolean | undefined;
311
+ selectedKeys?: string[] | {
312
+ path: string;
313
+ } | undefined;
314
+ rowKey?: string | undefined;
315
+ selection?: "none" | "multiple" | "single" | undefined;
316
+ accessibility?: {
317
+ label?: string | {
318
+ path: string;
319
+ } | {
320
+ call: string;
321
+ args: Record<string, any>;
322
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
323
+ } | undefined;
324
+ description?: string | {
325
+ path: string;
326
+ } | {
327
+ call: string;
328
+ args: Record<string, any>;
329
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
330
+ } | undefined;
331
+ } | undefined;
332
+ }>;
333
+ };
334
+ export declare const BarChartApi: {
335
+ name: string;
336
+ schema: z.ZodObject<{
337
+ stacked: z.ZodOptional<z.ZodBoolean>;
338
+ horizontal: z.ZodOptional<z.ZodBoolean>;
339
+ series: z.ZodUnion<[z.ZodArray<z.ZodObject<{
340
+ name: z.ZodOptional<z.ZodString>;
341
+ data: z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">;
342
+ color: z.ZodOptional<z.ZodEnum<["primary", "secondary", "tertiary", "error"]>>;
343
+ }, "strict", z.ZodTypeAny, {
344
+ data: (number | null)[];
345
+ color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
346
+ name?: string | undefined;
347
+ }, {
348
+ data: (number | null)[];
349
+ color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
350
+ name?: string | undefined;
351
+ }>, "many">, z.ZodObject<{
352
+ path: z.ZodString;
353
+ }, "strip", z.ZodTypeAny, {
354
+ path: string;
355
+ }, {
356
+ path: string;
357
+ }>, z.ZodObject<{
358
+ call: z.ZodString;
359
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
360
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
361
+ }, "strip", z.ZodTypeAny, {
362
+ call: string;
363
+ args: Record<string, any>;
364
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
365
+ }, {
366
+ call: string;
367
+ args: Record<string, any>;
368
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
369
+ }>]>;
370
+ categories: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
371
+ path: z.ZodString;
372
+ }, "strip", z.ZodTypeAny, {
373
+ path: string;
374
+ }, {
375
+ path: string;
376
+ }>]>>;
377
+ label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
378
+ path: z.ZodString;
379
+ }, "strip", z.ZodTypeAny, {
380
+ path: string;
381
+ }, {
382
+ path: string;
383
+ }>, z.ZodObject<{
384
+ call: z.ZodString;
385
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
386
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
387
+ }, "strip", z.ZodTypeAny, {
388
+ call: string;
389
+ args: Record<string, any>;
390
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
391
+ }, {
392
+ call: string;
393
+ args: Record<string, any>;
394
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
395
+ }>]>>;
396
+ xAxisLabel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
397
+ path: z.ZodString;
398
+ }, "strip", z.ZodTypeAny, {
399
+ path: string;
400
+ }, {
401
+ path: string;
402
+ }>, z.ZodObject<{
403
+ call: z.ZodString;
404
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
405
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
406
+ }, "strip", z.ZodTypeAny, {
407
+ call: string;
408
+ args: Record<string, any>;
409
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
410
+ }, {
411
+ call: string;
412
+ args: Record<string, any>;
413
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
414
+ }>]>>;
415
+ yAxisLabel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
416
+ path: z.ZodString;
417
+ }, "strip", z.ZodTypeAny, {
418
+ path: string;
419
+ }, {
420
+ path: string;
421
+ }>, z.ZodObject<{
422
+ call: z.ZodString;
423
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
424
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
425
+ }, "strip", z.ZodTypeAny, {
426
+ call: string;
427
+ args: Record<string, any>;
428
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
429
+ }, {
430
+ call: string;
431
+ args: Record<string, any>;
432
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
433
+ }>]>>;
434
+ height: z.ZodOptional<z.ZodNumber>;
435
+ legend: z.ZodOptional<z.ZodBoolean>;
436
+ accessibility: z.ZodOptional<z.ZodObject<{
437
+ label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
438
+ path: z.ZodString;
439
+ }, "strip", z.ZodTypeAny, {
440
+ path: string;
441
+ }, {
442
+ path: string;
443
+ }>, z.ZodObject<{
444
+ call: z.ZodString;
445
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
446
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
447
+ }, "strip", z.ZodTypeAny, {
448
+ call: string;
449
+ args: Record<string, any>;
450
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
451
+ }, {
452
+ call: string;
453
+ args: Record<string, any>;
454
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
455
+ }>]>>;
456
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
457
+ path: z.ZodString;
458
+ }, "strip", z.ZodTypeAny, {
459
+ path: string;
460
+ }, {
461
+ path: string;
462
+ }>, z.ZodObject<{
463
+ call: z.ZodString;
464
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
465
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
466
+ }, "strip", z.ZodTypeAny, {
467
+ call: string;
468
+ args: Record<string, any>;
469
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
470
+ }, {
471
+ call: string;
472
+ args: Record<string, any>;
473
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
474
+ }>]>>;
475
+ }, "strict", z.ZodTypeAny, {
476
+ label?: string | {
477
+ path: string;
478
+ } | {
479
+ call: string;
480
+ args: Record<string, any>;
481
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
482
+ } | undefined;
483
+ description?: string | {
484
+ path: string;
485
+ } | {
486
+ call: string;
487
+ args: Record<string, any>;
488
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
489
+ } | undefined;
490
+ }, {
491
+ label?: string | {
492
+ path: string;
493
+ } | {
494
+ call: string;
495
+ args: Record<string, any>;
496
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
497
+ } | undefined;
498
+ description?: string | {
499
+ path: string;
500
+ } | {
501
+ call: string;
502
+ args: Record<string, any>;
503
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
504
+ } | undefined;
505
+ }>>;
506
+ weight: z.ZodOptional<z.ZodNumber>;
507
+ }, "strict", z.ZodTypeAny, {
508
+ series: {
509
+ path: string;
510
+ } | {
511
+ call: string;
512
+ args: Record<string, any>;
513
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
514
+ } | {
515
+ data: (number | null)[];
516
+ color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
517
+ name?: string | undefined;
518
+ }[];
519
+ horizontal?: boolean | undefined;
520
+ label?: string | {
521
+ path: string;
522
+ } | {
523
+ call: string;
524
+ args: Record<string, any>;
525
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
526
+ } | undefined;
527
+ legend?: boolean | undefined;
528
+ weight?: number | undefined;
529
+ height?: number | undefined;
530
+ categories?: string[] | {
531
+ path: string;
532
+ } | undefined;
533
+ stacked?: boolean | undefined;
534
+ accessibility?: {
535
+ label?: string | {
536
+ path: string;
537
+ } | {
538
+ call: string;
539
+ args: Record<string, any>;
540
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
541
+ } | undefined;
542
+ description?: string | {
543
+ path: string;
544
+ } | {
545
+ call: string;
546
+ args: Record<string, any>;
547
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
548
+ } | undefined;
549
+ } | undefined;
550
+ xAxisLabel?: string | {
551
+ path: string;
552
+ } | {
553
+ call: string;
554
+ args: Record<string, any>;
555
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
556
+ } | undefined;
557
+ yAxisLabel?: string | {
558
+ path: string;
559
+ } | {
560
+ call: string;
561
+ args: Record<string, any>;
562
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
563
+ } | undefined;
564
+ }, {
565
+ series: {
566
+ path: string;
567
+ } | {
568
+ call: string;
569
+ args: Record<string, any>;
570
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
571
+ } | {
572
+ data: (number | null)[];
573
+ color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
574
+ name?: string | undefined;
575
+ }[];
576
+ horizontal?: boolean | undefined;
577
+ label?: string | {
578
+ path: string;
579
+ } | {
580
+ call: string;
581
+ args: Record<string, any>;
582
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
583
+ } | undefined;
584
+ legend?: boolean | undefined;
585
+ weight?: number | undefined;
586
+ height?: number | undefined;
587
+ categories?: string[] | {
588
+ path: string;
589
+ } | undefined;
590
+ stacked?: boolean | undefined;
591
+ accessibility?: {
592
+ label?: string | {
593
+ path: string;
594
+ } | {
595
+ call: string;
596
+ args: Record<string, any>;
597
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
598
+ } | undefined;
599
+ description?: string | {
600
+ path: string;
601
+ } | {
602
+ call: string;
603
+ args: Record<string, any>;
604
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
605
+ } | undefined;
606
+ } | undefined;
607
+ xAxisLabel?: string | {
608
+ path: string;
609
+ } | {
610
+ call: string;
611
+ args: Record<string, any>;
612
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
613
+ } | undefined;
614
+ yAxisLabel?: string | {
615
+ path: string;
616
+ } | {
617
+ call: string;
618
+ args: Record<string, any>;
619
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
620
+ } | undefined;
621
+ }>;
622
+ };
623
+ export declare const LineChartApi: {
624
+ name: string;
625
+ schema: z.ZodObject<{
626
+ curve: z.ZodOptional<z.ZodEnum<["linear", "smooth", "step"]>>;
627
+ markers: z.ZodOptional<z.ZodBoolean>;
628
+ series: z.ZodUnion<[z.ZodArray<z.ZodObject<{
629
+ name: z.ZodOptional<z.ZodString>;
630
+ data: z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">;
631
+ color: z.ZodOptional<z.ZodEnum<["primary", "secondary", "tertiary", "error"]>>;
632
+ }, "strict", z.ZodTypeAny, {
633
+ data: (number | null)[];
634
+ color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
635
+ name?: string | undefined;
636
+ }, {
637
+ data: (number | null)[];
638
+ color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
639
+ name?: string | undefined;
640
+ }>, "many">, z.ZodObject<{
641
+ path: z.ZodString;
642
+ }, "strip", z.ZodTypeAny, {
643
+ path: string;
644
+ }, {
645
+ path: string;
646
+ }>, z.ZodObject<{
647
+ call: z.ZodString;
648
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
649
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
650
+ }, "strip", z.ZodTypeAny, {
651
+ call: string;
652
+ args: Record<string, any>;
653
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
654
+ }, {
655
+ call: string;
656
+ args: Record<string, any>;
657
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
658
+ }>]>;
659
+ categories: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
660
+ path: z.ZodString;
661
+ }, "strip", z.ZodTypeAny, {
662
+ path: string;
663
+ }, {
664
+ path: string;
665
+ }>]>>;
666
+ label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
667
+ path: z.ZodString;
668
+ }, "strip", z.ZodTypeAny, {
669
+ path: string;
670
+ }, {
671
+ path: string;
672
+ }>, z.ZodObject<{
673
+ call: z.ZodString;
674
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
675
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
676
+ }, "strip", z.ZodTypeAny, {
677
+ call: string;
678
+ args: Record<string, any>;
679
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
680
+ }, {
681
+ call: string;
682
+ args: Record<string, any>;
683
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
684
+ }>]>>;
685
+ xAxisLabel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
686
+ path: z.ZodString;
687
+ }, "strip", z.ZodTypeAny, {
688
+ path: string;
689
+ }, {
690
+ path: string;
691
+ }>, z.ZodObject<{
692
+ call: z.ZodString;
693
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
694
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
695
+ }, "strip", z.ZodTypeAny, {
696
+ call: string;
697
+ args: Record<string, any>;
698
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
699
+ }, {
700
+ call: string;
701
+ args: Record<string, any>;
702
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
703
+ }>]>>;
704
+ yAxisLabel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
705
+ path: z.ZodString;
706
+ }, "strip", z.ZodTypeAny, {
707
+ path: string;
708
+ }, {
709
+ path: string;
710
+ }>, z.ZodObject<{
711
+ call: z.ZodString;
712
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
713
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
714
+ }, "strip", z.ZodTypeAny, {
715
+ call: string;
716
+ args: Record<string, any>;
717
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
718
+ }, {
719
+ call: string;
720
+ args: Record<string, any>;
721
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
722
+ }>]>>;
723
+ height: z.ZodOptional<z.ZodNumber>;
724
+ legend: z.ZodOptional<z.ZodBoolean>;
725
+ accessibility: z.ZodOptional<z.ZodObject<{
726
+ label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
727
+ path: z.ZodString;
728
+ }, "strip", z.ZodTypeAny, {
729
+ path: string;
730
+ }, {
731
+ path: string;
732
+ }>, z.ZodObject<{
733
+ call: z.ZodString;
734
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
735
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
736
+ }, "strip", z.ZodTypeAny, {
737
+ call: string;
738
+ args: Record<string, any>;
739
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
740
+ }, {
741
+ call: string;
742
+ args: Record<string, any>;
743
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
744
+ }>]>>;
745
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
746
+ path: z.ZodString;
747
+ }, "strip", z.ZodTypeAny, {
748
+ path: string;
749
+ }, {
750
+ path: string;
751
+ }>, z.ZodObject<{
752
+ call: z.ZodString;
753
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
754
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
755
+ }, "strip", z.ZodTypeAny, {
756
+ call: string;
757
+ args: Record<string, any>;
758
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
759
+ }, {
760
+ call: string;
761
+ args: Record<string, any>;
762
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
763
+ }>]>>;
764
+ }, "strict", z.ZodTypeAny, {
765
+ label?: string | {
766
+ path: string;
767
+ } | {
768
+ call: string;
769
+ args: Record<string, any>;
770
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
771
+ } | undefined;
772
+ description?: string | {
773
+ path: string;
774
+ } | {
775
+ call: string;
776
+ args: Record<string, any>;
777
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
778
+ } | undefined;
779
+ }, {
780
+ label?: string | {
781
+ path: string;
782
+ } | {
783
+ call: string;
784
+ args: Record<string, any>;
785
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
786
+ } | undefined;
787
+ description?: string | {
788
+ path: string;
789
+ } | {
790
+ call: string;
791
+ args: Record<string, any>;
792
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
793
+ } | undefined;
794
+ }>>;
795
+ weight: z.ZodOptional<z.ZodNumber>;
796
+ }, "strict", z.ZodTypeAny, {
797
+ series: {
798
+ path: string;
799
+ } | {
800
+ call: string;
801
+ args: Record<string, any>;
802
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
803
+ } | {
804
+ data: (number | null)[];
805
+ color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
806
+ name?: string | undefined;
807
+ }[];
808
+ label?: string | {
809
+ path: string;
810
+ } | {
811
+ call: string;
812
+ args: Record<string, any>;
813
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
814
+ } | undefined;
815
+ legend?: boolean | undefined;
816
+ weight?: number | undefined;
817
+ markers?: boolean | undefined;
818
+ height?: number | undefined;
819
+ categories?: string[] | {
820
+ path: string;
821
+ } | undefined;
822
+ curve?: "linear" | "smooth" | "step" | undefined;
823
+ accessibility?: {
824
+ label?: string | {
825
+ path: string;
826
+ } | {
827
+ call: string;
828
+ args: Record<string, any>;
829
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
830
+ } | undefined;
831
+ description?: string | {
832
+ path: string;
833
+ } | {
834
+ call: string;
835
+ args: Record<string, any>;
836
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
837
+ } | undefined;
838
+ } | undefined;
839
+ xAxisLabel?: string | {
840
+ path: string;
841
+ } | {
842
+ call: string;
843
+ args: Record<string, any>;
844
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
845
+ } | undefined;
846
+ yAxisLabel?: string | {
847
+ path: string;
848
+ } | {
849
+ call: string;
850
+ args: Record<string, any>;
851
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
852
+ } | undefined;
853
+ }, {
854
+ series: {
855
+ path: string;
856
+ } | {
857
+ call: string;
858
+ args: Record<string, any>;
859
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
860
+ } | {
861
+ data: (number | null)[];
862
+ color?: "primary" | "secondary" | "tertiary" | "error" | undefined;
863
+ name?: string | undefined;
864
+ }[];
865
+ label?: string | {
866
+ path: string;
867
+ } | {
868
+ call: string;
869
+ args: Record<string, any>;
870
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
871
+ } | undefined;
872
+ legend?: boolean | undefined;
873
+ weight?: number | undefined;
874
+ markers?: boolean | undefined;
875
+ height?: number | undefined;
876
+ categories?: string[] | {
877
+ path: string;
878
+ } | undefined;
879
+ curve?: "linear" | "smooth" | "step" | undefined;
880
+ accessibility?: {
881
+ label?: string | {
882
+ path: string;
883
+ } | {
884
+ call: string;
885
+ args: Record<string, any>;
886
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
887
+ } | undefined;
888
+ description?: string | {
889
+ path: string;
890
+ } | {
891
+ call: string;
892
+ args: Record<string, any>;
893
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
894
+ } | undefined;
895
+ } | undefined;
896
+ xAxisLabel?: string | {
897
+ path: string;
898
+ } | {
899
+ call: string;
900
+ args: Record<string, any>;
901
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
902
+ } | undefined;
903
+ yAxisLabel?: string | {
904
+ path: string;
905
+ } | {
906
+ call: string;
907
+ args: Record<string, any>;
908
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
909
+ } | undefined;
910
+ }>;
911
+ };
912
+ export declare const PieChartApi: {
913
+ name: string;
914
+ schema: z.ZodObject<{
915
+ data: z.ZodUnion<[z.ZodArray<z.ZodNullable<z.ZodNumber>, "many">, z.ZodObject<{
916
+ path: z.ZodString;
917
+ }, "strip", z.ZodTypeAny, {
918
+ path: string;
919
+ }, {
920
+ path: string;
921
+ }>, z.ZodObject<{
922
+ call: z.ZodString;
923
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
924
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
925
+ }, "strip", z.ZodTypeAny, {
926
+ call: string;
927
+ args: Record<string, any>;
928
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
929
+ }, {
930
+ call: string;
931
+ args: Record<string, any>;
932
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
933
+ }>]>;
934
+ categories: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
935
+ path: z.ZodString;
936
+ }, "strip", z.ZodTypeAny, {
937
+ path: string;
938
+ }, {
939
+ path: string;
940
+ }>]>>;
941
+ shape: z.ZodOptional<z.ZodEnum<["pie", "donut", "semi"]>>;
942
+ label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
943
+ path: z.ZodString;
944
+ }, "strip", z.ZodTypeAny, {
945
+ path: string;
946
+ }, {
947
+ path: string;
948
+ }>, z.ZodObject<{
949
+ call: z.ZodString;
950
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
951
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
952
+ }, "strip", z.ZodTypeAny, {
953
+ call: string;
954
+ args: Record<string, any>;
955
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
956
+ }, {
957
+ call: string;
958
+ args: Record<string, any>;
959
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
960
+ }>]>>;
961
+ height: z.ZodOptional<z.ZodNumber>;
962
+ legend: z.ZodOptional<z.ZodBoolean>;
963
+ accessibility: z.ZodOptional<z.ZodObject<{
964
+ label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
965
+ path: z.ZodString;
966
+ }, "strip", z.ZodTypeAny, {
967
+ path: string;
968
+ }, {
969
+ path: string;
970
+ }>, z.ZodObject<{
971
+ call: z.ZodString;
972
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
973
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
974
+ }, "strip", z.ZodTypeAny, {
975
+ call: string;
976
+ args: Record<string, any>;
977
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
978
+ }, {
979
+ call: string;
980
+ args: Record<string, any>;
981
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
982
+ }>]>>;
983
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
984
+ path: z.ZodString;
985
+ }, "strip", z.ZodTypeAny, {
986
+ path: string;
987
+ }, {
988
+ path: string;
989
+ }>, z.ZodObject<{
990
+ call: z.ZodString;
991
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
992
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
993
+ }, "strip", z.ZodTypeAny, {
994
+ call: string;
995
+ args: Record<string, any>;
996
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
997
+ }, {
998
+ call: string;
999
+ args: Record<string, any>;
1000
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1001
+ }>]>>;
1002
+ }, "strict", z.ZodTypeAny, {
1003
+ label?: string | {
1004
+ path: string;
1005
+ } | {
1006
+ call: string;
1007
+ args: Record<string, any>;
1008
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1009
+ } | undefined;
1010
+ description?: string | {
1011
+ path: string;
1012
+ } | {
1013
+ call: string;
1014
+ args: Record<string, any>;
1015
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1016
+ } | undefined;
1017
+ }, {
1018
+ label?: string | {
1019
+ path: string;
1020
+ } | {
1021
+ call: string;
1022
+ args: Record<string, any>;
1023
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1024
+ } | undefined;
1025
+ description?: string | {
1026
+ path: string;
1027
+ } | {
1028
+ call: string;
1029
+ args: Record<string, any>;
1030
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1031
+ } | undefined;
1032
+ }>>;
1033
+ weight: z.ZodOptional<z.ZodNumber>;
1034
+ }, "strict", z.ZodTypeAny, {
1035
+ data: (number | null)[] | {
1036
+ path: string;
1037
+ } | {
1038
+ call: string;
1039
+ args: Record<string, any>;
1040
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1041
+ };
1042
+ label?: string | {
1043
+ path: string;
1044
+ } | {
1045
+ call: string;
1046
+ args: Record<string, any>;
1047
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1048
+ } | undefined;
1049
+ legend?: boolean | undefined;
1050
+ weight?: number | undefined;
1051
+ height?: number | undefined;
1052
+ shape?: "pie" | "donut" | "semi" | undefined;
1053
+ categories?: string[] | {
1054
+ path: string;
1055
+ } | undefined;
1056
+ accessibility?: {
1057
+ label?: string | {
1058
+ path: string;
1059
+ } | {
1060
+ call: string;
1061
+ args: Record<string, any>;
1062
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1063
+ } | undefined;
1064
+ description?: string | {
1065
+ path: string;
1066
+ } | {
1067
+ call: string;
1068
+ args: Record<string, any>;
1069
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1070
+ } | undefined;
1071
+ } | undefined;
1072
+ }, {
1073
+ data: (number | null)[] | {
1074
+ path: string;
1075
+ } | {
1076
+ call: string;
1077
+ args: Record<string, any>;
1078
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1079
+ };
1080
+ label?: string | {
1081
+ path: string;
1082
+ } | {
1083
+ call: string;
1084
+ args: Record<string, any>;
1085
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1086
+ } | undefined;
1087
+ legend?: boolean | undefined;
1088
+ weight?: number | undefined;
1089
+ height?: number | undefined;
1090
+ shape?: "pie" | "donut" | "semi" | undefined;
1091
+ categories?: string[] | {
1092
+ path: string;
1093
+ } | undefined;
1094
+ accessibility?: {
1095
+ label?: string | {
1096
+ path: string;
1097
+ } | {
1098
+ call: string;
1099
+ args: Record<string, any>;
1100
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1101
+ } | undefined;
1102
+ description?: string | {
1103
+ path: string;
1104
+ } | {
1105
+ call: string;
1106
+ args: Record<string, any>;
1107
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1108
+ } | undefined;
1109
+ } | undefined;
1110
+ }>;
1111
+ };
1112
+ export declare const StatisticApi: {
1113
+ name: string;
1114
+ schema: z.ZodObject<{
1115
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
1116
+ path: z.ZodString;
1117
+ }, "strip", z.ZodTypeAny, {
1118
+ path: string;
1119
+ }, {
1120
+ path: string;
1121
+ }>, z.ZodObject<{
1122
+ call: z.ZodString;
1123
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1124
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1125
+ }, "strip", z.ZodTypeAny, {
1126
+ call: string;
1127
+ args: Record<string, any>;
1128
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1129
+ }, {
1130
+ call: string;
1131
+ args: Record<string, any>;
1132
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1133
+ }>]>;
1134
+ label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1135
+ path: z.ZodString;
1136
+ }, "strip", z.ZodTypeAny, {
1137
+ path: string;
1138
+ }, {
1139
+ path: string;
1140
+ }>, z.ZodObject<{
1141
+ call: z.ZodString;
1142
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1143
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1144
+ }, "strip", z.ZodTypeAny, {
1145
+ call: string;
1146
+ args: Record<string, any>;
1147
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1148
+ }, {
1149
+ call: string;
1150
+ args: Record<string, any>;
1151
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1152
+ }>]>>;
1153
+ previousValue: z.ZodOptional<z.ZodNumber>;
1154
+ delta: z.ZodOptional<z.ZodEnum<["percent", "absolute", "both", "none"]>>;
1155
+ betterWhen: z.ZodOptional<z.ZodEnum<["up", "down"]>>;
1156
+ unit: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1157
+ path: z.ZodString;
1158
+ }, "strip", z.ZodTypeAny, {
1159
+ path: string;
1160
+ }, {
1161
+ path: string;
1162
+ }>, z.ZodObject<{
1163
+ call: z.ZodString;
1164
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1165
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1166
+ }, "strip", z.ZodTypeAny, {
1167
+ call: string;
1168
+ args: Record<string, any>;
1169
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1170
+ }, {
1171
+ call: string;
1172
+ args: Record<string, any>;
1173
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1174
+ }>]>>;
1175
+ prefix: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1176
+ path: z.ZodString;
1177
+ }, "strip", z.ZodTypeAny, {
1178
+ path: string;
1179
+ }, {
1180
+ path: string;
1181
+ }>, z.ZodObject<{
1182
+ call: z.ZodString;
1183
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1184
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1185
+ }, "strip", z.ZodTypeAny, {
1186
+ call: string;
1187
+ args: Record<string, any>;
1188
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1189
+ }, {
1190
+ call: string;
1191
+ args: Record<string, any>;
1192
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1193
+ }>]>>;
1194
+ period: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1195
+ path: z.ZodString;
1196
+ }, "strip", z.ZodTypeAny, {
1197
+ path: string;
1198
+ }, {
1199
+ path: string;
1200
+ }>, z.ZodObject<{
1201
+ call: z.ZodString;
1202
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1203
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1204
+ }, "strip", z.ZodTypeAny, {
1205
+ call: string;
1206
+ args: Record<string, any>;
1207
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1208
+ }, {
1209
+ call: string;
1210
+ args: Record<string, any>;
1211
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1212
+ }>]>>;
1213
+ caption: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1214
+ path: z.ZodString;
1215
+ }, "strip", z.ZodTypeAny, {
1216
+ path: string;
1217
+ }, {
1218
+ path: string;
1219
+ }>, z.ZodObject<{
1220
+ call: z.ZodString;
1221
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1222
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1223
+ }, "strip", z.ZodTypeAny, {
1224
+ call: string;
1225
+ args: Record<string, any>;
1226
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1227
+ }, {
1228
+ call: string;
1229
+ args: Record<string, any>;
1230
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1231
+ }>]>>;
1232
+ compact: z.ZodOptional<z.ZodBoolean>;
1233
+ align: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
1234
+ accessibility: z.ZodOptional<z.ZodObject<{
1235
+ label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1236
+ path: z.ZodString;
1237
+ }, "strip", z.ZodTypeAny, {
1238
+ path: string;
1239
+ }, {
1240
+ path: string;
1241
+ }>, z.ZodObject<{
1242
+ call: z.ZodString;
1243
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1244
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1245
+ }, "strip", z.ZodTypeAny, {
1246
+ call: string;
1247
+ args: Record<string, any>;
1248
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1249
+ }, {
1250
+ call: string;
1251
+ args: Record<string, any>;
1252
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1253
+ }>]>>;
1254
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1255
+ path: z.ZodString;
1256
+ }, "strip", z.ZodTypeAny, {
1257
+ path: string;
1258
+ }, {
1259
+ path: string;
1260
+ }>, z.ZodObject<{
1261
+ call: z.ZodString;
1262
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1263
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1264
+ }, "strip", z.ZodTypeAny, {
1265
+ call: string;
1266
+ args: Record<string, any>;
1267
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1268
+ }, {
1269
+ call: string;
1270
+ args: Record<string, any>;
1271
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1272
+ }>]>>;
1273
+ }, "strict", z.ZodTypeAny, {
1274
+ label?: string | {
1275
+ path: string;
1276
+ } | {
1277
+ call: string;
1278
+ args: Record<string, any>;
1279
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1280
+ } | undefined;
1281
+ description?: string | {
1282
+ path: string;
1283
+ } | {
1284
+ call: string;
1285
+ args: Record<string, any>;
1286
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1287
+ } | undefined;
1288
+ }, {
1289
+ label?: string | {
1290
+ path: string;
1291
+ } | {
1292
+ call: string;
1293
+ args: Record<string, any>;
1294
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1295
+ } | undefined;
1296
+ description?: string | {
1297
+ path: string;
1298
+ } | {
1299
+ call: string;
1300
+ args: Record<string, any>;
1301
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1302
+ } | undefined;
1303
+ }>>;
1304
+ weight: z.ZodOptional<z.ZodNumber>;
1305
+ }, "strict", z.ZodTypeAny, {
1306
+ value: string | number | {
1307
+ path: string;
1308
+ } | {
1309
+ call: string;
1310
+ args: Record<string, any>;
1311
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1312
+ };
1313
+ compact?: boolean | undefined;
1314
+ caption?: string | {
1315
+ path: string;
1316
+ } | {
1317
+ call: string;
1318
+ args: Record<string, any>;
1319
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1320
+ } | undefined;
1321
+ label?: string | {
1322
+ path: string;
1323
+ } | {
1324
+ call: string;
1325
+ args: Record<string, any>;
1326
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1327
+ } | undefined;
1328
+ weight?: number | undefined;
1329
+ prefix?: string | {
1330
+ path: string;
1331
+ } | {
1332
+ call: string;
1333
+ args: Record<string, any>;
1334
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1335
+ } | undefined;
1336
+ unit?: string | {
1337
+ path: string;
1338
+ } | {
1339
+ call: string;
1340
+ args: Record<string, any>;
1341
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1342
+ } | undefined;
1343
+ align?: "start" | "center" | "end" | undefined;
1344
+ delta?: "percent" | "none" | "absolute" | "both" | undefined;
1345
+ previousValue?: number | undefined;
1346
+ betterWhen?: "up" | "down" | undefined;
1347
+ period?: string | {
1348
+ path: string;
1349
+ } | {
1350
+ call: string;
1351
+ args: Record<string, any>;
1352
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1353
+ } | undefined;
1354
+ accessibility?: {
1355
+ label?: string | {
1356
+ path: string;
1357
+ } | {
1358
+ call: string;
1359
+ args: Record<string, any>;
1360
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1361
+ } | undefined;
1362
+ description?: string | {
1363
+ path: string;
1364
+ } | {
1365
+ call: string;
1366
+ args: Record<string, any>;
1367
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1368
+ } | undefined;
1369
+ } | undefined;
1370
+ }, {
1371
+ value: string | number | {
1372
+ path: string;
1373
+ } | {
1374
+ call: string;
1375
+ args: Record<string, any>;
1376
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1377
+ };
1378
+ compact?: boolean | undefined;
1379
+ caption?: string | {
1380
+ path: string;
1381
+ } | {
1382
+ call: string;
1383
+ args: Record<string, any>;
1384
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1385
+ } | undefined;
1386
+ label?: string | {
1387
+ path: string;
1388
+ } | {
1389
+ call: string;
1390
+ args: Record<string, any>;
1391
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1392
+ } | undefined;
1393
+ weight?: number | undefined;
1394
+ prefix?: string | {
1395
+ path: string;
1396
+ } | {
1397
+ call: string;
1398
+ args: Record<string, any>;
1399
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1400
+ } | undefined;
1401
+ unit?: string | {
1402
+ path: string;
1403
+ } | {
1404
+ call: string;
1405
+ args: Record<string, any>;
1406
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1407
+ } | undefined;
1408
+ align?: "start" | "center" | "end" | undefined;
1409
+ delta?: "percent" | "none" | "absolute" | "both" | undefined;
1410
+ previousValue?: number | undefined;
1411
+ betterWhen?: "up" | "down" | undefined;
1412
+ period?: string | {
1413
+ path: string;
1414
+ } | {
1415
+ call: string;
1416
+ args: Record<string, any>;
1417
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1418
+ } | undefined;
1419
+ accessibility?: {
1420
+ label?: string | {
1421
+ path: string;
1422
+ } | {
1423
+ call: string;
1424
+ args: Record<string, any>;
1425
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1426
+ } | undefined;
1427
+ description?: string | {
1428
+ path: string;
1429
+ } | {
1430
+ call: string;
1431
+ args: Record<string, any>;
1432
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1433
+ } | undefined;
1434
+ } | undefined;
1435
+ }>;
1436
+ };