@ahoo-wang/wow-view-engine 9.2.0 → 9.2.2

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 (492) hide show
  1. package/README.md +12 -2
  2. package/README.zh-CN.md +12 -2
  3. package/dist/{actions-DK1yfiI8.js → actions-HgK33Jzg.js} +4333 -4645
  4. package/dist/actions-HgK33Jzg.js.map +1 -0
  5. package/dist/analysis/additive.d.ts +20 -0
  6. package/dist/analysis/additive.d.ts.map +1 -0
  7. package/dist/analysis/boxplot.d.ts +0 -7
  8. package/dist/analysis/boxplot.d.ts.map +1 -1
  9. package/dist/analysis/buckets.d.ts +31 -0
  10. package/dist/analysis/buckets.d.ts.map +1 -0
  11. package/dist/analysis/budget.d.ts +1 -1
  12. package/dist/analysis/budget.d.ts.map +1 -1
  13. package/dist/analysis/chart.d.ts.map +1 -1
  14. package/dist/analysis/chartShapes.d.ts +32 -0
  15. package/dist/analysis/chartShapes.d.ts.map +1 -0
  16. package/dist/analysis/chartSlots.d.ts +0 -24
  17. package/dist/analysis/chartSlots.d.ts.map +1 -1
  18. package/dist/analysis/chartSwitch.d.ts.map +1 -1
  19. package/dist/analysis/currency.d.ts +2 -1
  20. package/dist/analysis/currency.d.ts.map +1 -1
  21. package/dist/analysis/dangling.d.ts +3 -3
  22. package/dist/analysis/dangling.d.ts.map +1 -1
  23. package/dist/analysis/defaults.d.ts +1 -35
  24. package/dist/analysis/defaults.d.ts.map +1 -1
  25. package/dist/analysis/drill.d.ts +2 -43
  26. package/dist/analysis/drill.d.ts.map +1 -1
  27. package/dist/analysis/familyRules.d.ts +820 -0
  28. package/dist/analysis/familyRules.d.ts.map +1 -0
  29. package/dist/analysis/familySlots.d.ts +139 -0
  30. package/dist/analysis/familySlots.d.ts.map +1 -0
  31. package/dist/analysis/freeAlias.d.ts +9 -0
  32. package/dist/analysis/freeAlias.d.ts.map +1 -0
  33. package/dist/analysis/index.d.ts +7 -2
  34. package/dist/analysis/index.d.ts.map +1 -1
  35. package/dist/analysis/limitBounds.d.ts +28 -0
  36. package/dist/analysis/limitBounds.d.ts.map +1 -0
  37. package/dist/analysis/metricWindow.d.ts +2 -1
  38. package/dist/analysis/metricWindow.d.ts.map +1 -1
  39. package/dist/analysis/queryFilter.d.ts +3 -2
  40. package/dist/analysis/queryFilter.d.ts.map +1 -1
  41. package/dist/analysis/splitOther.d.ts +0 -21
  42. package/dist/analysis/splitOther.d.ts.map +1 -1
  43. package/dist/analysis/timeAxis.d.ts +3 -2
  44. package/dist/analysis/timeAxis.d.ts.map +1 -1
  45. package/dist/analysis/validateChart.d.ts +1 -21
  46. package/dist/analysis/validateChart.d.ts.map +1 -1
  47. package/dist/analysis/validateFamilies.d.ts +35 -0
  48. package/dist/analysis/validateFamilies.d.ts.map +1 -0
  49. package/dist/analysis/validateMetrics.d.ts.map +1 -1
  50. package/dist/capabilities/fields.d.ts +2 -1
  51. package/dist/capabilities/fields.d.ts.map +1 -1
  52. package/dist/capabilities/open.d.ts +2 -3
  53. package/dist/capabilities/open.d.ts.map +1 -1
  54. package/dist/cartesianBrush-HLU12ig5.js.map +1 -1
  55. package/dist/{clickDraft-DQDQn4x-.js → clickDraft-CLkSgQNG.js} +12 -12
  56. package/dist/{clickDraft-DQDQn4x-.js.map → clickDraft-CLkSgQNG.js.map} +1 -1
  57. package/dist/dashboard/panelFieldNames.d.ts +3 -2
  58. package/dist/dashboard/panelFieldNames.d.ts.map +1 -1
  59. package/dist/filter/compile.d.ts.map +1 -1
  60. package/dist/filter/describe.d.ts.map +1 -1
  61. package/dist/filter/fieldKind.d.ts +10 -0
  62. package/dist/filter/fieldKind.d.ts.map +1 -1
  63. package/dist/filter/index.d.ts +1 -0
  64. package/dist/filter/index.d.ts.map +1 -1
  65. package/dist/filter/kinds/enum.d.ts.map +1 -1
  66. package/dist/filter/kinds/options.d.ts +2 -4
  67. package/dist/filter/kinds/options.d.ts.map +1 -1
  68. package/dist/filter/read.d.ts +17 -0
  69. package/dist/filter/read.d.ts.map +1 -0
  70. package/dist/filter/validate.d.ts.map +1 -1
  71. package/dist/index.d.ts +11 -5
  72. package/dist/index.d.ts.map +1 -1
  73. package/dist/index.js +44 -44
  74. package/dist/index.js.map +1 -1
  75. package/dist/model/issue.d.ts +1 -1
  76. package/dist/model/issue.d.ts.map +1 -1
  77. package/dist/react/actionRunner.d.ts +2 -1
  78. package/dist/react/actionRunner.d.ts.map +1 -1
  79. package/dist/react/index.d.ts +1 -1
  80. package/dist/react/index.d.ts.map +1 -1
  81. package/dist/react/issues.d.ts +1 -1
  82. package/dist/react/issues.d.ts.map +1 -1
  83. package/dist/react/manager/order.d.ts +2 -1
  84. package/dist/react/manager/order.d.ts.map +1 -1
  85. package/dist/react/manager/queue.d.ts +2 -1
  86. package/dist/react/manager/queue.d.ts.map +1 -1
  87. package/dist/react/manager/useCommandRunner.d.ts +3 -3
  88. package/dist/react/manager/useCommandRunner.d.ts.map +1 -1
  89. package/dist/react/recordSelection.d.ts +1 -1
  90. package/dist/react/recordSelection.d.ts.map +1 -1
  91. package/dist/react/useAnalysisResult.d.ts.map +1 -1
  92. package/dist/react/useAutoRefresh.d.ts.map +1 -1
  93. package/dist/react/useDashboard.d.ts.map +1 -1
  94. package/dist/react/useFilterEditor.d.ts +2 -1
  95. package/dist/react/useFilterEditor.d.ts.map +1 -1
  96. package/dist/react/useReshape.d.ts +2 -1
  97. package/dist/react/useReshape.d.ts.map +1 -1
  98. package/dist/react/useViewEngine.d.ts.map +1 -1
  99. package/dist/react/useViewManager.d.ts.map +1 -1
  100. package/dist/react/workbench/handOver.d.ts.map +1 -1
  101. package/dist/react/workbench/newView.d.ts +2 -1
  102. package/dist/react/workbench/newView.d.ts.map +1 -1
  103. package/dist/react-2oicrdUx.js +3672 -0
  104. package/dist/react-2oicrdUx.js.map +1 -0
  105. package/dist/react.js +2 -2
  106. package/dist/record/compile.d.ts +1 -3
  107. package/dist/record/compile.d.ts.map +1 -1
  108. package/dist/record/index.d.ts +1 -0
  109. package/dist/record/index.d.ts.map +1 -1
  110. package/dist/record/summaryAlias.d.ts +4 -0
  111. package/dist/record/summaryAlias.d.ts.map +1 -0
  112. package/dist/runtime/actionReads.d.ts +20 -0
  113. package/dist/runtime/actionReads.d.ts.map +1 -0
  114. package/dist/runtime/actions.d.ts +4 -9
  115. package/dist/runtime/actions.d.ts.map +1 -1
  116. package/dist/runtime/admission.d.ts +13 -5
  117. package/dist/runtime/admission.d.ts.map +1 -1
  118. package/dist/runtime/autoApply.d.ts +2 -1
  119. package/dist/runtime/autoApply.d.ts.map +1 -1
  120. package/dist/runtime/capabilities.d.ts +3 -2
  121. package/dist/runtime/capabilities.d.ts.map +1 -1
  122. package/dist/runtime/dashboard/commands.d.ts +2 -1
  123. package/dist/runtime/dashboard/commands.d.ts.map +1 -1
  124. package/dist/runtime/dashboard/editing.d.ts +2 -1
  125. package/dist/runtime/dashboard/editing.d.ts.map +1 -1
  126. package/dist/runtime/dashboard/filterCandidates.d.ts +2 -1
  127. package/dist/runtime/dashboard/filterCandidates.d.ts.map +1 -1
  128. package/dist/runtime/dashboard/filterValues.d.ts +2 -1
  129. package/dist/runtime/dashboard/filterValues.d.ts.map +1 -1
  130. package/dist/runtime/dashboard/history.d.ts +2 -1
  131. package/dist/runtime/dashboard/history.d.ts.map +1 -1
  132. package/dist/runtime/dashboard/owned.d.ts +2 -1
  133. package/dist/runtime/dashboard/owned.d.ts.map +1 -1
  134. package/dist/runtime/dashboard/panelRun.d.ts +4 -3
  135. package/dist/runtime/dashboard/panelRun.d.ts.map +1 -1
  136. package/dist/runtime/dashboard/press.d.ts +2 -1
  137. package/dist/runtime/dashboard/press.d.ts.map +1 -1
  138. package/dist/runtime/define/fields.d.ts +2 -1
  139. package/dist/runtime/define/fields.d.ts.map +1 -1
  140. package/dist/runtime/execute.d.ts +1 -1
  141. package/dist/runtime/execute.d.ts.map +1 -1
  142. package/dist/runtime/{failures.d.ts → failure/failures.d.ts} +5 -4
  143. package/dist/runtime/failure/failures.d.ts.map +1 -0
  144. package/dist/runtime/{issueReport.d.ts → failure/issueReport.d.ts} +3 -1
  145. package/dist/runtime/failure/issueReport.d.ts.map +1 -0
  146. package/dist/runtime/{issues.d.ts → failure/issues.d.ts} +1 -9
  147. package/dist/runtime/failure/issues.d.ts.map +1 -0
  148. package/dist/runtime/{queryFailure.d.ts → failure/queryFailure.d.ts} +2 -2
  149. package/dist/runtime/failure/queryFailure.d.ts.map +1 -0
  150. package/dist/runtime/failure/sourceReason.d.ts.map +1 -0
  151. package/dist/runtime/{unavailable.d.ts → failure/unavailable.d.ts} +8 -1
  152. package/dist/runtime/failure/unavailable.d.ts.map +1 -0
  153. package/dist/runtime/listeners.d.ts +2 -1
  154. package/dist/runtime/listeners.d.ts.map +1 -1
  155. package/dist/runtime/panelViews.d.ts +3 -2
  156. package/dist/runtime/panelViews.d.ts.map +1 -1
  157. package/dist/runtime/permissions.d.ts +2 -1
  158. package/dist/runtime/permissions.d.ts.map +1 -1
  159. package/dist/runtime/recordRuntime.d.ts +1 -1
  160. package/dist/runtime/recordRuntime.d.ts.map +1 -1
  161. package/dist/runtime/requestRunner.d.ts +3 -2
  162. package/dist/runtime/requestRunner.d.ts.map +1 -1
  163. package/dist/runtime/resources.d.ts +14 -0
  164. package/dist/runtime/resources.d.ts.map +1 -1
  165. package/dist/runtime/runtimeFactory.d.ts +15 -2
  166. package/dist/runtime/runtimeFactory.d.ts.map +1 -1
  167. package/dist/runtime/runtimeStore.d.ts +2 -1
  168. package/dist/runtime/runtimeStore.d.ts.map +1 -1
  169. package/dist/runtime/storedViews.d.ts +0 -7
  170. package/dist/runtime/storedViews.d.ts.map +1 -1
  171. package/dist/runtime/tabMemory.d.ts +2 -1
  172. package/dist/runtime/tabMemory.d.ts.map +1 -1
  173. package/dist/runtime/viewEngine.d.ts.map +1 -1
  174. package/dist/runtime/viewRuntime.d.ts +2 -2
  175. package/dist/runtime/viewRuntime.d.ts.map +1 -1
  176. package/dist/runtime/writeLedger.d.ts +2 -1
  177. package/dist/runtime/writeLedger.d.ts.map +1 -1
  178. package/dist/store/ViewStore.d.ts +6 -5
  179. package/dist/store/ViewStore.d.ts.map +1 -1
  180. package/dist/testing.js +49 -42
  181. package/dist/testing.js.map +1 -1
  182. package/dist/ui/DashboardWorkbench.d.ts +8 -1
  183. package/dist/ui/DashboardWorkbench.d.ts.map +1 -1
  184. package/dist/ui/DataWorkbench.d.ts +2 -3
  185. package/dist/ui/DataWorkbench.d.ts.map +1 -1
  186. package/dist/ui/actions/ActionButtons.d.ts +2 -2
  187. package/dist/ui/actions/ActionButtons.d.ts.map +1 -1
  188. package/dist/ui/actions/ActionDialog.d.ts +2 -1
  189. package/dist/ui/actions/ActionDialog.d.ts.map +1 -1
  190. package/dist/ui/actions/ActionSurface.d.ts +3 -2
  191. package/dist/ui/actions/ActionSurface.d.ts.map +1 -1
  192. package/dist/ui/actions/BulkStatus.d.ts +2 -1
  193. package/dist/ui/actions/BulkStatus.d.ts.map +1 -1
  194. package/dist/ui/analysis/AnalysisChart.d.ts.map +1 -1
  195. package/dist/ui/analysis/AnalysisToolbar.d.ts +2 -1
  196. package/dist/ui/analysis/AnalysisToolbar.d.ts.map +1 -1
  197. package/dist/ui/analysis/ChartOptions.d.ts +2 -1
  198. package/dist/ui/analysis/ChartOptions.d.ts.map +1 -1
  199. package/dist/ui/analysis/ChartPicker.d.ts +2 -2
  200. package/dist/ui/analysis/ChartPicker.d.ts.map +1 -1
  201. package/dist/ui/analysis/DataTab.d.ts.map +1 -1
  202. package/dist/ui/analysis/DisplayTab.d.ts.map +1 -1
  203. package/dist/ui/analysis/DrillMenu.d.ts +2 -1
  204. package/dist/ui/analysis/DrillMenu.d.ts.map +1 -1
  205. package/dist/ui/analysis/DroppedNotice.d.ts +1 -8
  206. package/dist/ui/analysis/DroppedNotice.d.ts.map +1 -1
  207. package/dist/ui/analysis/EmptyResult.d.ts +2 -1
  208. package/dist/ui/analysis/EmptyResult.d.ts.map +1 -1
  209. package/dist/ui/analysis/HavingRows.d.ts +2 -1
  210. package/dist/ui/analysis/HavingRows.d.ts.map +1 -1
  211. package/dist/ui/analysis/OrderedCards.d.ts +3 -2
  212. package/dist/ui/analysis/OrderedCards.d.ts.map +1 -1
  213. package/dist/ui/analysis/SeriesList.d.ts +2 -1
  214. package/dist/ui/analysis/SeriesList.d.ts.map +1 -1
  215. package/dist/ui/analysis/SkeletonResult.d.ts +2 -1
  216. package/dist/ui/analysis/SkeletonResult.d.ts.map +1 -1
  217. package/dist/ui/analysis/Tray.d.ts +2 -1
  218. package/dist/ui/analysis/Tray.d.ts.map +1 -1
  219. package/dist/ui/analysis/VisualizationPanel.d.ts +3 -2
  220. package/dist/ui/analysis/VisualizationPanel.d.ts.map +1 -1
  221. package/dist/ui/analysis/drag.d.ts +2 -1
  222. package/dist/ui/analysis/drag.d.ts.map +1 -1
  223. package/dist/ui/analysis/exportOffer.d.ts +2 -1
  224. package/dist/ui/analysis/exportOffer.d.ts.map +1 -1
  225. package/dist/ui/analysis/listFocus.d.ts +3 -2
  226. package/dist/ui/analysis/listFocus.d.ts.map +1 -1
  227. package/dist/ui/analysis/virtualRows.d.ts +3 -2
  228. package/dist/ui/analysis/virtualRows.d.ts.map +1 -1
  229. package/dist/ui/charts/EChart.d.ts +3 -10
  230. package/dist/ui/charts/EChart.d.ts.map +1 -1
  231. package/dist/ui/charts/PieSlices.d.ts +0 -6
  232. package/dist/ui/charts/PieSlices.d.ts.map +1 -1
  233. package/dist/ui/charts/boxplotOption.d.ts +3 -2
  234. package/dist/ui/charts/boxplotOption.d.ts.map +1 -1
  235. package/dist/ui/charts/candlestickOption.d.ts +3 -2
  236. package/dist/ui/charts/candlestickOption.d.ts.map +1 -1
  237. package/dist/ui/charts/cartesianBrush.d.ts +2 -1
  238. package/dist/ui/charts/cartesianBrush.d.ts.map +1 -1
  239. package/dist/ui/charts/cartesianFit.d.ts +0 -5
  240. package/dist/ui/charts/cartesianFit.d.ts.map +1 -1
  241. package/dist/ui/charts/cartesianMarks.d.ts +1 -3
  242. package/dist/ui/charts/cartesianMarks.d.ts.map +1 -1
  243. package/dist/ui/charts/cartesianOption.d.ts +0 -5
  244. package/dist/ui/charts/cartesianOption.d.ts.map +1 -1
  245. package/dist/ui/charts/cartesianPlan.d.ts +2 -7
  246. package/dist/ui/charts/cartesianPlan.d.ts.map +1 -1
  247. package/dist/ui/charts/cartesianSeries.d.ts +42 -3
  248. package/dist/ui/charts/cartesianSeries.d.ts.map +1 -1
  249. package/dist/ui/charts/categoryFrame.d.ts +2 -1
  250. package/dist/ui/charts/categoryFrame.d.ts.map +1 -1
  251. package/dist/ui/charts/family.d.ts +2 -1
  252. package/dist/ui/charts/family.d.ts.map +1 -1
  253. package/dist/ui/charts/familyViews.d.ts +176 -0
  254. package/dist/ui/charts/familyViews.d.ts.map +1 -0
  255. package/dist/ui/charts/funnelFit.d.ts +1 -6
  256. package/dist/ui/charts/funnelFit.d.ts.map +1 -1
  257. package/dist/ui/charts/funnelOption.d.ts +2 -1
  258. package/dist/ui/charts/funnelOption.d.ts.map +1 -1
  259. package/dist/ui/charts/gaugeOption.d.ts +2 -1
  260. package/dist/ui/charts/gaugeOption.d.ts.map +1 -1
  261. package/dist/ui/charts/heatmapOption.d.ts +2 -1
  262. package/dist/ui/charts/heatmapOption.d.ts.map +1 -1
  263. package/dist/ui/charts/hierarchyOption.d.ts +4 -3
  264. package/dist/ui/charts/hierarchyOption.d.ts.map +1 -1
  265. package/dist/ui/charts/image.d.ts +2 -1
  266. package/dist/ui/charts/image.d.ts.map +1 -1
  267. package/dist/ui/charts/mapOption.d.ts +3 -2
  268. package/dist/ui/charts/mapOption.d.ts.map +1 -1
  269. package/dist/ui/charts/maps.d.ts +8 -1
  270. package/dist/ui/charts/maps.d.ts.map +1 -1
  271. package/dist/ui/charts/palette.d.ts +0 -2
  272. package/dist/ui/charts/palette.d.ts.map +1 -1
  273. package/dist/ui/charts/pieOption.d.ts +2 -1
  274. package/dist/ui/charts/pieOption.d.ts.map +1 -1
  275. package/dist/ui/charts/profileOption.d.ts +3 -2
  276. package/dist/ui/charts/profileOption.d.ts.map +1 -1
  277. package/dist/ui/charts/reading.d.ts +1 -15
  278. package/dist/ui/charts/reading.d.ts.map +1 -1
  279. package/dist/ui/charts/readingBasics.d.ts +44 -0
  280. package/dist/ui/charts/readingBasics.d.ts.map +1 -0
  281. package/dist/ui/charts/readingParts.d.ts +17 -0
  282. package/dist/ui/charts/readingParts.d.ts.map +1 -0
  283. package/dist/ui/charts/readingStatistics.d.ts.map +1 -1
  284. package/dist/ui/charts/scale.d.ts +2 -1
  285. package/dist/ui/charts/scale.d.ts.map +1 -1
  286. package/dist/ui/charts/sentence.d.ts +88 -13
  287. package/dist/ui/charts/sentence.d.ts.map +1 -1
  288. package/dist/ui/charts/sizes.d.ts +3 -2
  289. package/dist/ui/charts/sizes.d.ts.map +1 -1
  290. package/dist/ui/charts/sparklineOption.d.ts +2 -1
  291. package/dist/ui/charts/sparklineOption.d.ts.map +1 -1
  292. package/dist/ui/charts/theme.d.ts +0 -8
  293. package/dist/ui/charts/theme.d.ts.map +1 -1
  294. package/dist/ui/charts/timeOption.d.ts +3 -2
  295. package/dist/ui/charts/timeOption.d.ts.map +1 -1
  296. package/dist/ui/charts/treemapOption.d.ts +3 -2
  297. package/dist/ui/charts/treemapOption.d.ts.map +1 -1
  298. package/dist/ui/charts/waterfallOption.d.ts +3 -2
  299. package/dist/ui/charts/waterfallOption.d.ts.map +1 -1
  300. package/dist/ui/colorMode.d.ts +2 -1
  301. package/dist/ui/colorMode.d.ts.map +1 -1
  302. package/dist/ui/columns/ColumnRow.d.ts +2 -1
  303. package/dist/ui/columns/ColumnRow.d.ts.map +1 -1
  304. package/dist/ui/columns/ColumnSettings.d.ts.map +1 -1
  305. package/dist/ui/columns/WidthInput.d.ts +2 -1
  306. package/dist/ui/columns/WidthInput.d.ts.map +1 -1
  307. package/dist/ui/columns/rows.d.ts +2 -1
  308. package/dist/ui/columns/rows.d.ts.map +1 -1
  309. package/dist/ui/columns/sections.d.ts +2 -1
  310. package/dist/ui/columns/sections.d.ts.map +1 -1
  311. package/dist/ui/components/badge.d.ts +1 -1
  312. package/dist/ui/components/button.d.ts +1 -1
  313. package/dist/ui/components/item.d.ts +1 -1
  314. package/dist/ui/dashboard/Board.d.ts +2 -1
  315. package/dist/ui/dashboard/Board.d.ts.map +1 -1
  316. package/dist/ui/dashboard/BoardFilters.d.ts +2 -19
  317. package/dist/ui/dashboard/BoardFilters.d.ts.map +1 -1
  318. package/dist/ui/dashboard/ClickSettings.d.ts +2 -1
  319. package/dist/ui/dashboard/ClickSettings.d.ts.map +1 -1
  320. package/dist/ui/dashboard/ContentEditor.d.ts +2 -1
  321. package/dist/ui/dashboard/ContentEditor.d.ts.map +1 -1
  322. package/dist/ui/dashboard/EditBar.d.ts +2 -1
  323. package/dist/ui/dashboard/EditBar.d.ts.map +1 -1
  324. package/dist/ui/dashboard/FilterBar.d.ts +2 -1
  325. package/dist/ui/dashboard/FilterBar.d.ts.map +1 -1
  326. package/dist/ui/dashboard/FilterSettings.d.ts +2 -1
  327. package/dist/ui/dashboard/FilterSettings.d.ts.map +1 -1
  328. package/dist/ui/dashboard/PanelMarks.d.ts +0 -2
  329. package/dist/ui/dashboard/PanelMarks.d.ts.map +1 -1
  330. package/dist/ui/dashboard/PanelMenu.d.ts +3 -2
  331. package/dist/ui/dashboard/PanelMenu.d.ts.map +1 -1
  332. package/dist/ui/dashboard/PanelUnavailable.d.ts +2 -1
  333. package/dist/ui/dashboard/PanelUnavailable.d.ts.map +1 -1
  334. package/dist/ui/dashboard/ViewPicker.d.ts +3 -2
  335. package/dist/ui/dashboard/ViewPicker.d.ts.map +1 -1
  336. package/dist/ui/dashboard/buildShell.d.ts +3 -2
  337. package/dist/ui/dashboard/buildShell.d.ts.map +1 -1
  338. package/dist/ui/dashboard/building.d.ts.map +1 -1
  339. package/dist/ui/dashboard/commands.d.ts +2 -1
  340. package/dist/ui/dashboard/commands.d.ts.map +1 -1
  341. package/dist/ui/dashboard/gridBlocks.d.ts +3 -2
  342. package/dist/ui/dashboard/gridBlocks.d.ts.map +1 -1
  343. package/dist/ui/dashboard/gridPlacement.d.ts +2 -1
  344. package/dist/ui/dashboard/gridPlacement.d.ts.map +1 -1
  345. package/dist/ui/dashboard/history.d.ts +2 -1
  346. package/dist/ui/dashboard/history.d.ts.map +1 -1
  347. package/dist/ui/dashboard/press.d.ts +2 -1
  348. package/dist/ui/dashboard/press.d.ts.map +1 -1
  349. package/dist/ui/dashboard/scrollMore.d.ts +3 -2
  350. package/dist/ui/dashboard/scrollMore.d.ts.map +1 -1
  351. package/dist/ui/filter/ConditionPill.d.ts +10 -1
  352. package/dist/ui/filter/ConditionPill.d.ts.map +1 -1
  353. package/dist/ui/filter/GroupBlock.d.ts.map +1 -1
  354. package/dist/ui/filter/conditionFocus.d.ts +2 -1
  355. package/dist/ui/filter/conditionFocus.d.ts.map +1 -1
  356. package/dist/ui/filter/inputs/candidates.d.ts +2 -1
  357. package/dist/ui/filter/inputs/candidates.d.ts.map +1 -1
  358. package/dist/ui/filter/inputs/timeOfDay.d.ts +2 -1
  359. package/dist/ui/filter/inputs/timeOfDay.d.ts.map +1 -1
  360. package/dist/ui/index.d.ts +2 -1
  361. package/dist/ui/index.d.ts.map +1 -1
  362. package/dist/ui/kit/Announcer.d.ts +2 -1
  363. package/dist/ui/kit/Announcer.d.ts.map +1 -1
  364. package/dist/ui/kit/CopyButton.d.ts +2 -1
  365. package/dist/ui/kit/CopyButton.d.ts.map +1 -1
  366. package/dist/ui/kit/DragHandle.d.ts +2 -1
  367. package/dist/ui/kit/DragHandle.d.ts.map +1 -1
  368. package/dist/ui/kit/IconButton.d.ts +4 -3
  369. package/dist/ui/kit/IconButton.d.ts.map +1 -1
  370. package/dist/ui/kit/OutcomeActions.d.ts +4 -3
  371. package/dist/ui/kit/OutcomeActions.d.ts.map +1 -1
  372. package/dist/ui/kit/RenameInput.d.ts +2 -1
  373. package/dist/ui/kit/RenameInput.d.ts.map +1 -1
  374. package/dist/ui/kit/RowItem.d.ts +1 -1
  375. package/dist/ui/kit/RowItem.d.ts.map +1 -1
  376. package/dist/ui/kit/Truncated.d.ts +1 -1
  377. package/dist/ui/kit/Truncated.d.ts.map +1 -1
  378. package/dist/ui/kit/ViewSurface.d.ts +0 -17
  379. package/dist/ui/kit/ViewSurface.d.ts.map +1 -1
  380. package/dist/ui/kit/chartFailure.d.ts +2 -1
  381. package/dist/ui/kit/chartFailure.d.ts.map +1 -1
  382. package/dist/ui/kit/download.d.ts +2 -1
  383. package/dist/ui/kit/download.d.ts.map +1 -1
  384. package/dist/ui/kit/focus.d.ts +36 -1
  385. package/dist/ui/kit/focus.d.ts.map +1 -1
  386. package/dist/ui/kit/popups.d.ts +11 -3
  387. package/dist/ui/kit/popups.d.ts.map +1 -1
  388. package/dist/ui/kit/surfaceContext.d.ts +89 -0
  389. package/dist/ui/kit/surfaceContext.d.ts.map +1 -0
  390. package/dist/ui/kit/toolbar.d.ts +2 -1
  391. package/dist/ui/kit/toolbar.d.ts.map +1 -1
  392. package/dist/ui/kit/variants.d.ts +3 -3
  393. package/dist/ui/kit/variants.d.ts.map +1 -1
  394. package/dist/ui/manage/ViewManagerRow.d.ts +2 -1
  395. package/dist/ui/manage/ViewManagerRow.d.ts.map +1 -1
  396. package/dist/ui/messages/actions.d.ts +1 -0
  397. package/dist/ui/messages/actions.d.ts.map +1 -1
  398. package/dist/ui/messages/definition.d.ts +1 -0
  399. package/dist/ui/messages/definition.d.ts.map +1 -1
  400. package/dist/ui/messages/en.d.ts +2 -0
  401. package/dist/ui/messages/en.d.ts.map +1 -1
  402. package/dist/ui/messages/zh-CN.d.ts.map +1 -1
  403. package/dist/ui/record/CardSettings.d.ts +2 -1
  404. package/dist/ui/record/CardSettings.d.ts.map +1 -1
  405. package/dist/ui/record/ColumnResizer.d.ts +2 -1
  406. package/dist/ui/record/ColumnResizer.d.ts.map +1 -1
  407. package/dist/ui/record/DetailStructure.d.ts +2 -1
  408. package/dist/ui/record/DetailStructure.d.ts.map +1 -1
  409. package/dist/ui/record/EmptyResult.d.ts +2 -1
  410. package/dist/ui/record/EmptyResult.d.ts.map +1 -1
  411. package/dist/ui/record/OffscreenSummary.d.ts +2 -1
  412. package/dist/ui/record/OffscreenSummary.d.ts.map +1 -1
  413. package/dist/ui/record/RecordDetail.d.ts +2 -1
  414. package/dist/ui/record/RecordDetail.d.ts.map +1 -1
  415. package/dist/ui/record/RowCheckbox.d.ts +2 -1
  416. package/dist/ui/record/RowCheckbox.d.ts.map +1 -1
  417. package/dist/ui/record/SkeletonRows.d.ts +2 -1
  418. package/dist/ui/record/SkeletonRows.d.ts.map +1 -1
  419. package/dist/ui/record/SortableHeader.d.ts +2 -1
  420. package/dist/ui/record/SortableHeader.d.ts.map +1 -1
  421. package/dist/ui/record/SummaryRows.d.ts +2 -1
  422. package/dist/ui/record/SummaryRows.d.ts.map +1 -1
  423. package/dist/ui/record/columns.d.ts +2 -1
  424. package/dist/ui/record/columns.d.ts.map +1 -1
  425. package/dist/ui/record/detailPlacement.d.ts +2 -1
  426. package/dist/ui/record/detailPlacement.d.ts.map +1 -1
  427. package/dist/ui/record/emptyWayOut.d.ts +2 -1
  428. package/dist/ui/record/emptyWayOut.d.ts.map +1 -1
  429. package/dist/ui/record/headerRoving.d.ts +2 -2
  430. package/dist/ui/record/headerRoving.d.ts.map +1 -1
  431. package/dist/ui/record/openRows.d.ts +3 -2
  432. package/dist/ui/record/openRows.d.ts.map +1 -1
  433. package/dist/ui/record/overflow.d.ts +2 -3
  434. package/dist/ui/record/overflow.d.ts.map +1 -1
  435. package/dist/ui/record/pinCap.d.ts +0 -7
  436. package/dist/ui/record/pinCap.d.ts.map +1 -1
  437. package/dist/ui/record/sticky.d.ts +5 -4
  438. package/dist/ui/record/sticky.d.ts.map +1 -1
  439. package/dist/ui/record/useOffscreenColumns.d.ts +0 -6
  440. package/dist/ui/record/useOffscreenColumns.d.ts.map +1 -1
  441. package/dist/ui/sort/drag.d.ts +2 -1
  442. package/dist/ui/sort/drag.d.ts.map +1 -1
  443. package/dist/ui/theme/pairs.d.ts +3 -2
  444. package/dist/ui/theme/pairs.d.ts.map +1 -1
  445. package/dist/ui/theme/tokens.d.ts +10 -9
  446. package/dist/ui/theme/tokens.d.ts.map +1 -1
  447. package/dist/ui/workbench/ConditionBlock.d.ts +2 -1
  448. package/dist/ui/workbench/ConditionBlock.d.ts.map +1 -1
  449. package/dist/ui/workbench/OpeningSkeleton.d.ts +2 -1
  450. package/dist/ui/workbench/OpeningSkeleton.d.ts.map +1 -1
  451. package/dist/ui/workbench/ResultBlock.d.ts +3 -2
  452. package/dist/ui/workbench/ResultBlock.d.ts.map +1 -1
  453. package/dist/ui/workbench/Sidebar.d.ts +3 -2
  454. package/dist/ui/workbench/Sidebar.d.ts.map +1 -1
  455. package/dist/ui/workbench/StatusLine.d.ts +2 -1
  456. package/dist/ui/workbench/StatusLine.d.ts.map +1 -1
  457. package/dist/ui/workbench/TitleBar.d.ts +2 -1
  458. package/dist/ui/workbench/TitleBar.d.ts.map +1 -1
  459. package/dist/ui/workbench/ViewEngineProvider.d.ts +2 -1
  460. package/dist/ui/workbench/ViewEngineProvider.d.ts.map +1 -1
  461. package/dist/ui/workbench/address.d.ts +3 -12
  462. package/dist/ui/workbench/address.d.ts.map +1 -1
  463. package/dist/ui/workbench/configRemedy.d.ts +2 -1
  464. package/dist/ui/workbench/configRemedy.d.ts.map +1 -1
  465. package/dist/ui/workbench/useSidebarFold.d.ts +0 -9
  466. package/dist/ui/workbench/useSidebarFold.d.ts.map +1 -1
  467. package/dist/ui/workbench/useWorkbenchFolds.d.ts +3 -2
  468. package/dist/ui/workbench/useWorkbenchFolds.d.ts.map +1 -1
  469. package/dist/ui.js +13094 -12919
  470. package/dist/ui.js.map +1 -1
  471. package/dist/{viewRuntimeTypes-yK2rlUjK.js → viewRuntimeTypes-JEPw0nsg.js} +1787 -1197
  472. package/dist/viewRuntimeTypes-JEPw0nsg.js.map +1 -0
  473. package/package.json +16 -15
  474. package/dist/actions-DK1yfiI8.js.map +0 -1
  475. package/dist/react-DzstAsWB.js +0 -3648
  476. package/dist/react-DzstAsWB.js.map +0 -1
  477. package/dist/runtime/failures.d.ts.map +0 -1
  478. package/dist/runtime/issueReport.d.ts.map +0 -1
  479. package/dist/runtime/issues.d.ts.map +0 -1
  480. package/dist/runtime/queryFailure.d.ts.map +0 -1
  481. package/dist/runtime/sourceReason.d.ts.map +0 -1
  482. package/dist/runtime/unavailable.d.ts.map +0 -1
  483. package/dist/ui/theme/brandDocs.d.ts +0 -15
  484. package/dist/ui/theme/brandDocs.d.ts.map +0 -1
  485. package/dist/ui/theme/densityDocs.d.ts +0 -9
  486. package/dist/ui/theme/densityDocs.d.ts.map +0 -1
  487. package/dist/ui/theme/stateDocs.d.ts +0 -149
  488. package/dist/ui/theme/stateDocs.d.ts.map +0 -1
  489. package/dist/ui/theme/tokenDocs.d.ts +0 -25
  490. package/dist/ui/theme/tokenDocs.d.ts.map +0 -1
  491. package/dist/viewRuntimeTypes-yK2rlUjK.js.map +0 -1
  492. /package/dist/runtime/{sourceReason.d.ts → failure/sourceReason.d.ts} +0 -0
@@ -0,0 +1,820 @@
1
+ import { AnalysisViewConfig, ChartFamily, ChartSpec, ChartType, Issue, RecordData } from '../model/index.js';
2
+ import { ChartData, ShapeContext } from './chart.js';
3
+ import { ChartContext } from './chartRefs.js';
4
+ import { SlotShape } from './familySlots.js';
5
+ import { boxplotIssues, cardIssues, cartesianIssues, funnelIssues, gaugeIssues, heatmapIssues, pieIssues, profileIssues, scatterIssues, treemapIssues, waterfallIssues } from './validateFamilies.js';
6
+ import { calendarIssues, candlestickIssues, levelled, mapIssues, themeRiverIssues } from './validateLevels.js';
7
+ /** The data a family's shaping yields: the members of `ChartData` it draws. */
8
+ export type ChartDataOf<F extends ChartFamily> = ChartData extends infer D ? D extends {
9
+ type: infer T;
10
+ } ? F extends T ? D : never : never : never;
11
+ /** What `shapeChart` hands a family's shaping besides its chart. */
12
+ export interface ShapeInput {
13
+ config: AnalysisViewConfig;
14
+ rows: readonly RecordData[];
15
+ /** The one row of the ungrouped totals query, when it ran. */
16
+ totals: RecordData | undefined;
17
+ context: ShapeContext;
18
+ /** The engine's zone, or the host's (`ShapeContext.timeZone`). */
19
+ timeZone: string;
20
+ }
21
+ /**
22
+ * What the analysis kernel does with a chart of one family: everything that
23
+ * used to be a `switch` over the chart's type or family, one row a family
24
+ * (R2-94). What a family *is* — its options pages, its legend and value
25
+ * labels, the shapes it can draw — is the public `CHART_FAMILIES`
26
+ * (`chartFamilies.ts`), a leaf every kernel file may read; this is what the
27
+ * kernel *runs* for it, and it imports each family's code, so it sits above
28
+ * that code and the dispatchers sit above it. `/ui` keeps its own row a
29
+ * family, keyed alike (`FAMILY_VIEWS`, `ui/charts/familyViews.ts`).
30
+ *
31
+ * A family is added here and there, and the compiler names every other
32
+ * place that has to learn it (docs/design/ui/analysis.md「加一个图型族」).
33
+ */
34
+ export interface FamilyRules<F extends ChartFamily> {
35
+ /** The metric its first mark measures (`leadMetric`); none while unfilled. */
36
+ lead(chart: ChartSpec): string | undefined;
37
+ /**
38
+ * `next`, the chart switched to a type of this family, with `lead` — what
39
+ * the chart being left measured — carried into its slot
40
+ * (`switchChartType`).
41
+ */
42
+ carry(chart: ChartSpec, next: ChartSpec, lead: string): ChartSpec;
43
+ /** The chart with this family's slots filled from the shape (`fitChartSlots`). */
44
+ fit(chart: ChartSpec, shape: SlotShape): ChartSpec;
45
+ /** Its data shaped from the rows (`shapeChart`); none while unfilled. */
46
+ shape(chart: ChartSpec, input: ShapeInput): ChartDataOf<F> | undefined;
47
+ /**
48
+ * Its rules (`validateChart`), asked once the type is known and the
49
+ * family's sub-object is there.
50
+ */
51
+ validate(context: ChartContext, config: AnalysisViewConfig): Issue[];
52
+ /**
53
+ * The dimension one of its slots is bound to the values of — a map's
54
+ * region, the one a funnel's stages are the ordered values of — which a
55
+ * split must not keep over another field (`splitBy`); none for most.
56
+ */
57
+ boundTo(chart: ChartSpec): string | undefined;
58
+ }
59
+ /**
60
+ * Every family's rules. The compiler holds it to `ChartFamily`: a family
61
+ * added to the model without a row here does not build.
62
+ */
63
+ export declare const FAMILY_RULES: Readonly<{
64
+ cartesian: {
65
+ lead: (chart: ChartSpec) => string | undefined;
66
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => ChartSpec;
67
+ fit: (chart: ChartSpec, shape: SlotShape) => {
68
+ cartesian: import('../index.js').CartesianSpec;
69
+ type: ChartType;
70
+ pie?: import('../index.js').PieSpec;
71
+ heatmap?: import('../index.js').HeatmapSpec;
72
+ scatter?: import('../index.js').ScatterSpec;
73
+ funnel?: import('../index.js').FunnelSpec;
74
+ metric?: import('../index.js').MetricCardSpec;
75
+ waterfall?: import('../index.js').WaterfallSpec;
76
+ treemap?: import('../index.js').TreemapSpec;
77
+ boxplot?: import('../index.js').BoxplotSpec;
78
+ candlestick?: import('../index.js').CandlestickSpec;
79
+ gauge?: import('../index.js').GaugeSpec;
80
+ radar?: import('../index.js').RadarSpec;
81
+ parallel?: import('../index.js').ParallelSpec;
82
+ sunburst?: import('../index.js').HierarchySpec;
83
+ tree?: import('../index.js').HierarchySpec;
84
+ sankey?: import('../index.js').SankeySpec;
85
+ calendar?: import('../index.js').CalendarSpec;
86
+ themeRiver?: import('../index.js').ThemeRiverSpec;
87
+ map?: import('../index.js').MapSpec;
88
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
89
+ labels?: boolean;
90
+ colors?: Record<string, string>;
91
+ };
92
+ shape: (chart: ChartSpec, { config, rows, context, timeZone }: ShapeInput) => import('./cartesian.js').CartesianData | undefined;
93
+ validate: typeof cartesianIssues;
94
+ boundTo: () => undefined;
95
+ };
96
+ pie: {
97
+ lead: (chart: ChartSpec) => string | undefined;
98
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => {
99
+ pie: {
100
+ value: string;
101
+ category: string;
102
+ donut?: boolean;
103
+ maxSlices?: number;
104
+ };
105
+ type: ChartType;
106
+ cartesian?: import('../index.js').CartesianSpec;
107
+ heatmap?: import('../index.js').HeatmapSpec;
108
+ scatter?: import('../index.js').ScatterSpec;
109
+ funnel?: import('../index.js').FunnelSpec;
110
+ metric?: import('../index.js').MetricCardSpec;
111
+ waterfall?: import('../index.js').WaterfallSpec;
112
+ treemap?: import('../index.js').TreemapSpec;
113
+ boxplot?: import('../index.js').BoxplotSpec;
114
+ candlestick?: import('../index.js').CandlestickSpec;
115
+ gauge?: import('../index.js').GaugeSpec;
116
+ radar?: import('../index.js').RadarSpec;
117
+ parallel?: import('../index.js').ParallelSpec;
118
+ sunburst?: import('../index.js').HierarchySpec;
119
+ tree?: import('../index.js').HierarchySpec;
120
+ sankey?: import('../index.js').SankeySpec;
121
+ calendar?: import('../index.js').CalendarSpec;
122
+ themeRiver?: import('../index.js').ThemeRiverSpec;
123
+ map?: import('../index.js').MapSpec;
124
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
125
+ labels?: boolean;
126
+ colors?: Record<string, string>;
127
+ };
128
+ fit: (chart: ChartSpec, shape: SlotShape) => {
129
+ pie: import('../index.js').PieSpec;
130
+ type: ChartType;
131
+ cartesian?: import('../index.js').CartesianSpec;
132
+ heatmap?: import('../index.js').HeatmapSpec;
133
+ scatter?: import('../index.js').ScatterSpec;
134
+ funnel?: import('../index.js').FunnelSpec;
135
+ metric?: import('../index.js').MetricCardSpec;
136
+ waterfall?: import('../index.js').WaterfallSpec;
137
+ treemap?: import('../index.js').TreemapSpec;
138
+ boxplot?: import('../index.js').BoxplotSpec;
139
+ candlestick?: import('../index.js').CandlestickSpec;
140
+ gauge?: import('../index.js').GaugeSpec;
141
+ radar?: import('../index.js').RadarSpec;
142
+ parallel?: import('../index.js').ParallelSpec;
143
+ sunburst?: import('../index.js').HierarchySpec;
144
+ tree?: import('../index.js').HierarchySpec;
145
+ sankey?: import('../index.js').SankeySpec;
146
+ calendar?: import('../index.js').CalendarSpec;
147
+ themeRiver?: import('../index.js').ThemeRiverSpec;
148
+ map?: import('../index.js').MapSpec;
149
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
150
+ labels?: boolean;
151
+ colors?: Record<string, string>;
152
+ };
153
+ shape: (chart: ChartSpec, { rows }: ShapeInput) => import('./chart.js').PieData | undefined;
154
+ validate: typeof pieIssues;
155
+ boundTo: () => undefined;
156
+ };
157
+ heatmap: {
158
+ lead: (chart: ChartSpec) => string | undefined;
159
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => {
160
+ heatmap: {
161
+ value: string;
162
+ x: string;
163
+ y: string;
164
+ scale?: "linear" | "log";
165
+ };
166
+ type: ChartType;
167
+ cartesian?: import('../index.js').CartesianSpec;
168
+ pie?: import('../index.js').PieSpec;
169
+ scatter?: import('../index.js').ScatterSpec;
170
+ funnel?: import('../index.js').FunnelSpec;
171
+ metric?: import('../index.js').MetricCardSpec;
172
+ waterfall?: import('../index.js').WaterfallSpec;
173
+ treemap?: import('../index.js').TreemapSpec;
174
+ boxplot?: import('../index.js').BoxplotSpec;
175
+ candlestick?: import('../index.js').CandlestickSpec;
176
+ gauge?: import('../index.js').GaugeSpec;
177
+ radar?: import('../index.js').RadarSpec;
178
+ parallel?: import('../index.js').ParallelSpec;
179
+ sunburst?: import('../index.js').HierarchySpec;
180
+ tree?: import('../index.js').HierarchySpec;
181
+ sankey?: import('../index.js').SankeySpec;
182
+ calendar?: import('../index.js').CalendarSpec;
183
+ themeRiver?: import('../index.js').ThemeRiverSpec;
184
+ map?: import('../index.js').MapSpec;
185
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
186
+ labels?: boolean;
187
+ colors?: Record<string, string>;
188
+ };
189
+ fit: (chart: ChartSpec, shape: SlotShape) => {
190
+ heatmap: import('../index.js').HeatmapSpec;
191
+ type: ChartType;
192
+ cartesian?: import('../index.js').CartesianSpec;
193
+ pie?: import('../index.js').PieSpec;
194
+ scatter?: import('../index.js').ScatterSpec;
195
+ funnel?: import('../index.js').FunnelSpec;
196
+ metric?: import('../index.js').MetricCardSpec;
197
+ waterfall?: import('../index.js').WaterfallSpec;
198
+ treemap?: import('../index.js').TreemapSpec;
199
+ boxplot?: import('../index.js').BoxplotSpec;
200
+ candlestick?: import('../index.js').CandlestickSpec;
201
+ gauge?: import('../index.js').GaugeSpec;
202
+ radar?: import('../index.js').RadarSpec;
203
+ parallel?: import('../index.js').ParallelSpec;
204
+ sunburst?: import('../index.js').HierarchySpec;
205
+ tree?: import('../index.js').HierarchySpec;
206
+ sankey?: import('../index.js').SankeySpec;
207
+ calendar?: import('../index.js').CalendarSpec;
208
+ themeRiver?: import('../index.js').ThemeRiverSpec;
209
+ map?: import('../index.js').MapSpec;
210
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
211
+ labels?: boolean;
212
+ colors?: Record<string, string>;
213
+ };
214
+ shape: (chart: ChartSpec, { config, rows, context, timeZone }: ShapeInput) => import('./chart.js').HeatmapData | undefined;
215
+ validate: typeof heatmapIssues;
216
+ boundTo: () => undefined;
217
+ };
218
+ scatter: {
219
+ lead: (chart: ChartSpec) => string | undefined;
220
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => ChartSpec;
221
+ fit: (chart: ChartSpec, shape: SlotShape) => {
222
+ scatter: import('../index.js').ScatterSpec;
223
+ type: ChartType;
224
+ cartesian?: import('../index.js').CartesianSpec;
225
+ pie?: import('../index.js').PieSpec;
226
+ heatmap?: import('../index.js').HeatmapSpec;
227
+ funnel?: import('../index.js').FunnelSpec;
228
+ metric?: import('../index.js').MetricCardSpec;
229
+ waterfall?: import('../index.js').WaterfallSpec;
230
+ treemap?: import('../index.js').TreemapSpec;
231
+ boxplot?: import('../index.js').BoxplotSpec;
232
+ candlestick?: import('../index.js').CandlestickSpec;
233
+ gauge?: import('../index.js').GaugeSpec;
234
+ radar?: import('../index.js').RadarSpec;
235
+ parallel?: import('../index.js').ParallelSpec;
236
+ sunburst?: import('../index.js').HierarchySpec;
237
+ tree?: import('../index.js').HierarchySpec;
238
+ sankey?: import('../index.js').SankeySpec;
239
+ calendar?: import('../index.js').CalendarSpec;
240
+ themeRiver?: import('../index.js').ThemeRiverSpec;
241
+ map?: import('../index.js').MapSpec;
242
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
243
+ labels?: boolean;
244
+ colors?: Record<string, string>;
245
+ };
246
+ shape: (chart: ChartSpec, { rows }: ShapeInput) => import('./chart.js').ScatterData | undefined;
247
+ validate: typeof scatterIssues;
248
+ boundTo: () => undefined;
249
+ };
250
+ funnel: {
251
+ lead: (chart: ChartSpec) => string | undefined;
252
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => ChartSpec;
253
+ fit: (chart: ChartSpec, shape: SlotShape) => {
254
+ funnel: import('../index.js').FunnelSpec;
255
+ type: ChartType;
256
+ cartesian?: import('../index.js').CartesianSpec;
257
+ pie?: import('../index.js').PieSpec;
258
+ heatmap?: import('../index.js').HeatmapSpec;
259
+ scatter?: import('../index.js').ScatterSpec;
260
+ metric?: import('../index.js').MetricCardSpec;
261
+ waterfall?: import('../index.js').WaterfallSpec;
262
+ treemap?: import('../index.js').TreemapSpec;
263
+ boxplot?: import('../index.js').BoxplotSpec;
264
+ candlestick?: import('../index.js').CandlestickSpec;
265
+ gauge?: import('../index.js').GaugeSpec;
266
+ radar?: import('../index.js').RadarSpec;
267
+ parallel?: import('../index.js').ParallelSpec;
268
+ sunburst?: import('../index.js').HierarchySpec;
269
+ tree?: import('../index.js').HierarchySpec;
270
+ sankey?: import('../index.js').SankeySpec;
271
+ calendar?: import('../index.js').CalendarSpec;
272
+ themeRiver?: import('../index.js').ThemeRiverSpec;
273
+ map?: import('../index.js').MapSpec;
274
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
275
+ labels?: boolean;
276
+ colors?: Record<string, string>;
277
+ };
278
+ shape: (chart: ChartSpec, { rows }: ShapeInput) => import('./funnel.js').FunnelData | undefined;
279
+ validate: typeof funnelIssues;
280
+ boundTo: (chart: ChartSpec) => string | undefined;
281
+ };
282
+ metric: {
283
+ lead: (chart: ChartSpec) => string | undefined;
284
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => {
285
+ metric: {
286
+ metric: string;
287
+ compare?: {
288
+ metric: string;
289
+ mode: "delta" | "percent";
290
+ };
291
+ target?: number;
292
+ trend?: import('../index.js').MetricTrend;
293
+ format?: import('../index.js').ValueFormat;
294
+ lowerIsBetter?: boolean;
295
+ };
296
+ type: ChartType;
297
+ cartesian?: import('../index.js').CartesianSpec;
298
+ pie?: import('../index.js').PieSpec;
299
+ heatmap?: import('../index.js').HeatmapSpec;
300
+ scatter?: import('../index.js').ScatterSpec;
301
+ funnel?: import('../index.js').FunnelSpec;
302
+ waterfall?: import('../index.js').WaterfallSpec;
303
+ treemap?: import('../index.js').TreemapSpec;
304
+ boxplot?: import('../index.js').BoxplotSpec;
305
+ candlestick?: import('../index.js').CandlestickSpec;
306
+ gauge?: import('../index.js').GaugeSpec;
307
+ radar?: import('../index.js').RadarSpec;
308
+ parallel?: import('../index.js').ParallelSpec;
309
+ sunburst?: import('../index.js').HierarchySpec;
310
+ tree?: import('../index.js').HierarchySpec;
311
+ sankey?: import('../index.js').SankeySpec;
312
+ calendar?: import('../index.js').CalendarSpec;
313
+ themeRiver?: import('../index.js').ThemeRiverSpec;
314
+ map?: import('../index.js').MapSpec;
315
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
316
+ labels?: boolean;
317
+ colors?: Record<string, string>;
318
+ };
319
+ fit: (chart: ChartSpec, shape: SlotShape) => {
320
+ metric: import('../index.js').MetricCardSpec;
321
+ type: ChartType;
322
+ cartesian?: import('../index.js').CartesianSpec;
323
+ pie?: import('../index.js').PieSpec;
324
+ heatmap?: import('../index.js').HeatmapSpec;
325
+ scatter?: import('../index.js').ScatterSpec;
326
+ funnel?: import('../index.js').FunnelSpec;
327
+ waterfall?: import('../index.js').WaterfallSpec;
328
+ treemap?: import('../index.js').TreemapSpec;
329
+ boxplot?: import('../index.js').BoxplotSpec;
330
+ candlestick?: import('../index.js').CandlestickSpec;
331
+ gauge?: import('../index.js').GaugeSpec;
332
+ radar?: import('../index.js').RadarSpec;
333
+ parallel?: import('../index.js').ParallelSpec;
334
+ sunburst?: import('../index.js').HierarchySpec;
335
+ tree?: import('../index.js').HierarchySpec;
336
+ sankey?: import('../index.js').SankeySpec;
337
+ calendar?: import('../index.js').CalendarSpec;
338
+ themeRiver?: import('../index.js').ThemeRiverSpec;
339
+ map?: import('../index.js').MapSpec;
340
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
341
+ labels?: boolean;
342
+ colors?: Record<string, string>;
343
+ };
344
+ shape: (chart: ChartSpec, { config, rows, totals, context, timeZone }: ShapeInput) => import('./metricCard.js').MetricCardData | undefined;
345
+ validate: typeof cardIssues;
346
+ boundTo: () => undefined;
347
+ };
348
+ waterfall: {
349
+ lead: (chart: ChartSpec) => string | undefined;
350
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => {
351
+ waterfall: {
352
+ value: string;
353
+ x: string;
354
+ total?: boolean;
355
+ };
356
+ type: ChartType;
357
+ cartesian?: import('../index.js').CartesianSpec;
358
+ pie?: import('../index.js').PieSpec;
359
+ heatmap?: import('../index.js').HeatmapSpec;
360
+ scatter?: import('../index.js').ScatterSpec;
361
+ funnel?: import('../index.js').FunnelSpec;
362
+ metric?: import('../index.js').MetricCardSpec;
363
+ treemap?: import('../index.js').TreemapSpec;
364
+ boxplot?: import('../index.js').BoxplotSpec;
365
+ candlestick?: import('../index.js').CandlestickSpec;
366
+ gauge?: import('../index.js').GaugeSpec;
367
+ radar?: import('../index.js').RadarSpec;
368
+ parallel?: import('../index.js').ParallelSpec;
369
+ sunburst?: import('../index.js').HierarchySpec;
370
+ tree?: import('../index.js').HierarchySpec;
371
+ sankey?: import('../index.js').SankeySpec;
372
+ calendar?: import('../index.js').CalendarSpec;
373
+ themeRiver?: import('../index.js').ThemeRiverSpec;
374
+ map?: import('../index.js').MapSpec;
375
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
376
+ labels?: boolean;
377
+ colors?: Record<string, string>;
378
+ };
379
+ fit: (chart: ChartSpec, shape: SlotShape) => {
380
+ waterfall: import('../index.js').WaterfallSpec;
381
+ type: ChartType;
382
+ cartesian?: import('../index.js').CartesianSpec;
383
+ pie?: import('../index.js').PieSpec;
384
+ heatmap?: import('../index.js').HeatmapSpec;
385
+ scatter?: import('../index.js').ScatterSpec;
386
+ funnel?: import('../index.js').FunnelSpec;
387
+ metric?: import('../index.js').MetricCardSpec;
388
+ treemap?: import('../index.js').TreemapSpec;
389
+ boxplot?: import('../index.js').BoxplotSpec;
390
+ candlestick?: import('../index.js').CandlestickSpec;
391
+ gauge?: import('../index.js').GaugeSpec;
392
+ radar?: import('../index.js').RadarSpec;
393
+ parallel?: import('../index.js').ParallelSpec;
394
+ sunburst?: import('../index.js').HierarchySpec;
395
+ tree?: import('../index.js').HierarchySpec;
396
+ sankey?: import('../index.js').SankeySpec;
397
+ calendar?: import('../index.js').CalendarSpec;
398
+ themeRiver?: import('../index.js').ThemeRiverSpec;
399
+ map?: import('../index.js').MapSpec;
400
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
401
+ labels?: boolean;
402
+ colors?: Record<string, string>;
403
+ };
404
+ shape: (chart: ChartSpec, { config, rows }: ShapeInput) => import('./waterfall.js').WaterfallData | undefined;
405
+ validate: typeof waterfallIssues;
406
+ boundTo: () => undefined;
407
+ };
408
+ treemap: {
409
+ lead: (chart: ChartSpec) => string | undefined;
410
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => {
411
+ treemap: {
412
+ value: string;
413
+ category: string;
414
+ parent?: string;
415
+ };
416
+ type: ChartType;
417
+ cartesian?: import('../index.js').CartesianSpec;
418
+ pie?: import('../index.js').PieSpec;
419
+ heatmap?: import('../index.js').HeatmapSpec;
420
+ scatter?: import('../index.js').ScatterSpec;
421
+ funnel?: import('../index.js').FunnelSpec;
422
+ metric?: import('../index.js').MetricCardSpec;
423
+ waterfall?: import('../index.js').WaterfallSpec;
424
+ boxplot?: import('../index.js').BoxplotSpec;
425
+ candlestick?: import('../index.js').CandlestickSpec;
426
+ gauge?: import('../index.js').GaugeSpec;
427
+ radar?: import('../index.js').RadarSpec;
428
+ parallel?: import('../index.js').ParallelSpec;
429
+ sunburst?: import('../index.js').HierarchySpec;
430
+ tree?: import('../index.js').HierarchySpec;
431
+ sankey?: import('../index.js').SankeySpec;
432
+ calendar?: import('../index.js').CalendarSpec;
433
+ themeRiver?: import('../index.js').ThemeRiverSpec;
434
+ map?: import('../index.js').MapSpec;
435
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
436
+ labels?: boolean;
437
+ colors?: Record<string, string>;
438
+ };
439
+ fit: (chart: ChartSpec, shape: SlotShape) => {
440
+ treemap: import('../index.js').TreemapSpec;
441
+ type: ChartType;
442
+ cartesian?: import('../index.js').CartesianSpec;
443
+ pie?: import('../index.js').PieSpec;
444
+ heatmap?: import('../index.js').HeatmapSpec;
445
+ scatter?: import('../index.js').ScatterSpec;
446
+ funnel?: import('../index.js').FunnelSpec;
447
+ metric?: import('../index.js').MetricCardSpec;
448
+ waterfall?: import('../index.js').WaterfallSpec;
449
+ boxplot?: import('../index.js').BoxplotSpec;
450
+ candlestick?: import('../index.js').CandlestickSpec;
451
+ gauge?: import('../index.js').GaugeSpec;
452
+ radar?: import('../index.js').RadarSpec;
453
+ parallel?: import('../index.js').ParallelSpec;
454
+ sunburst?: import('../index.js').HierarchySpec;
455
+ tree?: import('../index.js').HierarchySpec;
456
+ sankey?: import('../index.js').SankeySpec;
457
+ calendar?: import('../index.js').CalendarSpec;
458
+ themeRiver?: import('../index.js').ThemeRiverSpec;
459
+ map?: import('../index.js').MapSpec;
460
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
461
+ labels?: boolean;
462
+ colors?: Record<string, string>;
463
+ };
464
+ shape: (chart: ChartSpec, { rows }: ShapeInput) => import('./treemap.js').TreemapData | undefined;
465
+ validate: typeof treemapIssues;
466
+ boundTo: () => undefined;
467
+ };
468
+ boxplot: {
469
+ lead: (chart: ChartSpec) => string | undefined;
470
+ carry: (_chart: ChartSpec, next: ChartSpec) => ChartSpec;
471
+ fit: (chart: ChartSpec, shape: SlotShape) => {
472
+ boxplot: import('../index.js').BoxplotSpec;
473
+ type: ChartType;
474
+ cartesian?: import('../index.js').CartesianSpec;
475
+ pie?: import('../index.js').PieSpec;
476
+ heatmap?: import('../index.js').HeatmapSpec;
477
+ scatter?: import('../index.js').ScatterSpec;
478
+ funnel?: import('../index.js').FunnelSpec;
479
+ metric?: import('../index.js').MetricCardSpec;
480
+ waterfall?: import('../index.js').WaterfallSpec;
481
+ treemap?: import('../index.js').TreemapSpec;
482
+ candlestick?: import('../index.js').CandlestickSpec;
483
+ gauge?: import('../index.js').GaugeSpec;
484
+ radar?: import('../index.js').RadarSpec;
485
+ parallel?: import('../index.js').ParallelSpec;
486
+ sunburst?: import('../index.js').HierarchySpec;
487
+ tree?: import('../index.js').HierarchySpec;
488
+ sankey?: import('../index.js').SankeySpec;
489
+ calendar?: import('../index.js').CalendarSpec;
490
+ themeRiver?: import('../index.js').ThemeRiverSpec;
491
+ map?: import('../index.js').MapSpec;
492
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
493
+ labels?: boolean;
494
+ colors?: Record<string, string>;
495
+ };
496
+ shape: (chart: ChartSpec, { config, rows, context }: ShapeInput) => import('./boxplot.js').BoxplotData | undefined;
497
+ validate: typeof boxplotIssues;
498
+ boundTo: () => undefined;
499
+ };
500
+ candlestick: {
501
+ lead: (chart: ChartSpec) => string | undefined;
502
+ carry: (_chart: ChartSpec, next: ChartSpec) => ChartSpec;
503
+ fit: (chart: ChartSpec, shape: SlotShape) => {
504
+ candlestick: import('../index.js').CandlestickSpec;
505
+ type: ChartType;
506
+ cartesian?: import('../index.js').CartesianSpec;
507
+ pie?: import('../index.js').PieSpec;
508
+ heatmap?: import('../index.js').HeatmapSpec;
509
+ scatter?: import('../index.js').ScatterSpec;
510
+ funnel?: import('../index.js').FunnelSpec;
511
+ metric?: import('../index.js').MetricCardSpec;
512
+ waterfall?: import('../index.js').WaterfallSpec;
513
+ treemap?: import('../index.js').TreemapSpec;
514
+ boxplot?: import('../index.js').BoxplotSpec;
515
+ gauge?: import('../index.js').GaugeSpec;
516
+ radar?: import('../index.js').RadarSpec;
517
+ parallel?: import('../index.js').ParallelSpec;
518
+ sunburst?: import('../index.js').HierarchySpec;
519
+ tree?: import('../index.js').HierarchySpec;
520
+ sankey?: import('../index.js').SankeySpec;
521
+ calendar?: import('../index.js').CalendarSpec;
522
+ themeRiver?: import('../index.js').ThemeRiverSpec;
523
+ map?: import('../index.js').MapSpec;
524
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
525
+ labels?: boolean;
526
+ colors?: Record<string, string>;
527
+ };
528
+ shape: (chart: ChartSpec, { rows }: ShapeInput) => import('./candlestick.js').CandlestickData | undefined;
529
+ validate: typeof candlestickIssues;
530
+ boundTo: () => undefined;
531
+ };
532
+ gauge: {
533
+ lead: (chart: ChartSpec) => string | undefined;
534
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => {
535
+ gauge: {
536
+ metric: string;
537
+ target?: number;
538
+ min?: number;
539
+ max?: number;
540
+ format?: import('../index.js').ValueFormat;
541
+ };
542
+ type: ChartType;
543
+ cartesian?: import('../index.js').CartesianSpec;
544
+ pie?: import('../index.js').PieSpec;
545
+ heatmap?: import('../index.js').HeatmapSpec;
546
+ scatter?: import('../index.js').ScatterSpec;
547
+ funnel?: import('../index.js').FunnelSpec;
548
+ metric?: import('../index.js').MetricCardSpec;
549
+ waterfall?: import('../index.js').WaterfallSpec;
550
+ treemap?: import('../index.js').TreemapSpec;
551
+ boxplot?: import('../index.js').BoxplotSpec;
552
+ candlestick?: import('../index.js').CandlestickSpec;
553
+ radar?: import('../index.js').RadarSpec;
554
+ parallel?: import('../index.js').ParallelSpec;
555
+ sunburst?: import('../index.js').HierarchySpec;
556
+ tree?: import('../index.js').HierarchySpec;
557
+ sankey?: import('../index.js').SankeySpec;
558
+ calendar?: import('../index.js').CalendarSpec;
559
+ themeRiver?: import('../index.js').ThemeRiverSpec;
560
+ map?: import('../index.js').MapSpec;
561
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
562
+ labels?: boolean;
563
+ colors?: Record<string, string>;
564
+ };
565
+ fit: (chart: ChartSpec, shape: SlotShape) => {
566
+ gauge: import('../index.js').GaugeSpec;
567
+ type: ChartType;
568
+ cartesian?: import('../index.js').CartesianSpec;
569
+ pie?: import('../index.js').PieSpec;
570
+ heatmap?: import('../index.js').HeatmapSpec;
571
+ scatter?: import('../index.js').ScatterSpec;
572
+ funnel?: import('../index.js').FunnelSpec;
573
+ metric?: import('../index.js').MetricCardSpec;
574
+ waterfall?: import('../index.js').WaterfallSpec;
575
+ treemap?: import('../index.js').TreemapSpec;
576
+ boxplot?: import('../index.js').BoxplotSpec;
577
+ candlestick?: import('../index.js').CandlestickSpec;
578
+ radar?: import('../index.js').RadarSpec;
579
+ parallel?: import('../index.js').ParallelSpec;
580
+ sunburst?: import('../index.js').HierarchySpec;
581
+ tree?: import('../index.js').HierarchySpec;
582
+ sankey?: import('../index.js').SankeySpec;
583
+ calendar?: import('../index.js').CalendarSpec;
584
+ themeRiver?: import('../index.js').ThemeRiverSpec;
585
+ map?: import('../index.js').MapSpec;
586
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
587
+ labels?: boolean;
588
+ colors?: Record<string, string>;
589
+ };
590
+ shape: (chart: ChartSpec, { rows }: ShapeInput) => import('./gauge.js').GaugeData | undefined;
591
+ validate: typeof gaugeIssues;
592
+ boundTo: () => undefined;
593
+ };
594
+ radar: {
595
+ shape: (chart: ChartSpec, { config, rows }: ShapeInput) => import('./profiles.js').RadarData | undefined;
596
+ validate: typeof profileIssues;
597
+ boundTo: () => undefined;
598
+ lead: (chart: ChartSpec) => string | undefined;
599
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => ChartSpec;
600
+ fit: (chart: ChartSpec, shape: SlotShape) => ChartSpec;
601
+ };
602
+ parallel: {
603
+ shape: (chart: ChartSpec, { config, rows }: ShapeInput) => import('./profiles.js').ParallelData | undefined;
604
+ validate: typeof profileIssues;
605
+ boundTo: () => undefined;
606
+ lead: (chart: ChartSpec) => string | undefined;
607
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => ChartSpec;
608
+ fit: (chart: ChartSpec, shape: SlotShape) => ChartSpec;
609
+ };
610
+ sunburst: {
611
+ shape: (chart: ChartSpec, { config, rows }: ShapeInput) => import('./hierarchy.js').HierarchyData | undefined;
612
+ validate: typeof levelled;
613
+ boundTo: () => undefined;
614
+ lead: (chart: ChartSpec) => string | undefined;
615
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => ChartSpec;
616
+ fit: (chart: ChartSpec, shape: SlotShape) => ChartSpec;
617
+ };
618
+ tree: {
619
+ shape: (chart: ChartSpec, { config, rows }: ShapeInput) => import('./hierarchy.js').HierarchyData | undefined;
620
+ validate: typeof levelled;
621
+ boundTo: () => undefined;
622
+ lead: (chart: ChartSpec) => string | undefined;
623
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => ChartSpec;
624
+ fit: (chart: ChartSpec, shape: SlotShape) => ChartSpec;
625
+ };
626
+ sankey: {
627
+ shape: (chart: ChartSpec, { config, rows }: ShapeInput) => import('./hierarchy.js').SankeyData | undefined;
628
+ validate: typeof levelled;
629
+ boundTo: () => undefined;
630
+ lead: (chart: ChartSpec) => string | undefined;
631
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => ChartSpec;
632
+ fit: (chart: ChartSpec, shape: SlotShape) => ChartSpec;
633
+ };
634
+ calendar: {
635
+ lead: (chart: ChartSpec) => string | undefined;
636
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => {
637
+ calendar: {
638
+ value: string;
639
+ date: string;
640
+ };
641
+ type: ChartType;
642
+ cartesian?: import('../index.js').CartesianSpec;
643
+ pie?: import('../index.js').PieSpec;
644
+ heatmap?: import('../index.js').HeatmapSpec;
645
+ scatter?: import('../index.js').ScatterSpec;
646
+ funnel?: import('../index.js').FunnelSpec;
647
+ metric?: import('../index.js').MetricCardSpec;
648
+ waterfall?: import('../index.js').WaterfallSpec;
649
+ treemap?: import('../index.js').TreemapSpec;
650
+ boxplot?: import('../index.js').BoxplotSpec;
651
+ candlestick?: import('../index.js').CandlestickSpec;
652
+ gauge?: import('../index.js').GaugeSpec;
653
+ radar?: import('../index.js').RadarSpec;
654
+ parallel?: import('../index.js').ParallelSpec;
655
+ sunburst?: import('../index.js').HierarchySpec;
656
+ tree?: import('../index.js').HierarchySpec;
657
+ sankey?: import('../index.js').SankeySpec;
658
+ themeRiver?: import('../index.js').ThemeRiverSpec;
659
+ map?: import('../index.js').MapSpec;
660
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
661
+ labels?: boolean;
662
+ colors?: Record<string, string>;
663
+ };
664
+ fit: (chart: ChartSpec, shape: SlotShape) => {
665
+ calendar: import('../index.js').CalendarSpec;
666
+ type: ChartType;
667
+ cartesian?: import('../index.js').CartesianSpec;
668
+ pie?: import('../index.js').PieSpec;
669
+ heatmap?: import('../index.js').HeatmapSpec;
670
+ scatter?: import('../index.js').ScatterSpec;
671
+ funnel?: import('../index.js').FunnelSpec;
672
+ metric?: import('../index.js').MetricCardSpec;
673
+ waterfall?: import('../index.js').WaterfallSpec;
674
+ treemap?: import('../index.js').TreemapSpec;
675
+ boxplot?: import('../index.js').BoxplotSpec;
676
+ candlestick?: import('../index.js').CandlestickSpec;
677
+ gauge?: import('../index.js').GaugeSpec;
678
+ radar?: import('../index.js').RadarSpec;
679
+ parallel?: import('../index.js').ParallelSpec;
680
+ sunburst?: import('../index.js').HierarchySpec;
681
+ tree?: import('../index.js').HierarchySpec;
682
+ sankey?: import('../index.js').SankeySpec;
683
+ themeRiver?: import('../index.js').ThemeRiverSpec;
684
+ map?: import('../index.js').MapSpec;
685
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
686
+ labels?: boolean;
687
+ colors?: Record<string, string>;
688
+ };
689
+ shape: (chart: ChartSpec, { config, rows, context, timeZone }: ShapeInput) => import('./timeCharts.js').CalendarData | undefined;
690
+ validate: typeof calendarIssues;
691
+ boundTo: () => undefined;
692
+ };
693
+ themeRiver: {
694
+ lead: (chart: ChartSpec) => string | undefined;
695
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => {
696
+ themeRiver: {
697
+ value: string;
698
+ x: string;
699
+ splitBy: string;
700
+ };
701
+ type: ChartType;
702
+ cartesian?: import('../index.js').CartesianSpec;
703
+ pie?: import('../index.js').PieSpec;
704
+ heatmap?: import('../index.js').HeatmapSpec;
705
+ scatter?: import('../index.js').ScatterSpec;
706
+ funnel?: import('../index.js').FunnelSpec;
707
+ metric?: import('../index.js').MetricCardSpec;
708
+ waterfall?: import('../index.js').WaterfallSpec;
709
+ treemap?: import('../index.js').TreemapSpec;
710
+ boxplot?: import('../index.js').BoxplotSpec;
711
+ candlestick?: import('../index.js').CandlestickSpec;
712
+ gauge?: import('../index.js').GaugeSpec;
713
+ radar?: import('../index.js').RadarSpec;
714
+ parallel?: import('../index.js').ParallelSpec;
715
+ sunburst?: import('../index.js').HierarchySpec;
716
+ tree?: import('../index.js').HierarchySpec;
717
+ sankey?: import('../index.js').SankeySpec;
718
+ calendar?: import('../index.js').CalendarSpec;
719
+ map?: import('../index.js').MapSpec;
720
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
721
+ labels?: boolean;
722
+ colors?: Record<string, string>;
723
+ };
724
+ fit: (chart: ChartSpec, shape: SlotShape) => {
725
+ themeRiver: import('../index.js').ThemeRiverSpec;
726
+ type: ChartType;
727
+ cartesian?: import('../index.js').CartesianSpec;
728
+ pie?: import('../index.js').PieSpec;
729
+ heatmap?: import('../index.js').HeatmapSpec;
730
+ scatter?: import('../index.js').ScatterSpec;
731
+ funnel?: import('../index.js').FunnelSpec;
732
+ metric?: import('../index.js').MetricCardSpec;
733
+ waterfall?: import('../index.js').WaterfallSpec;
734
+ treemap?: import('../index.js').TreemapSpec;
735
+ boxplot?: import('../index.js').BoxplotSpec;
736
+ candlestick?: import('../index.js').CandlestickSpec;
737
+ gauge?: import('../index.js').GaugeSpec;
738
+ radar?: import('../index.js').RadarSpec;
739
+ parallel?: import('../index.js').ParallelSpec;
740
+ sunburst?: import('../index.js').HierarchySpec;
741
+ tree?: import('../index.js').HierarchySpec;
742
+ sankey?: import('../index.js').SankeySpec;
743
+ calendar?: import('../index.js').CalendarSpec;
744
+ map?: import('../index.js').MapSpec;
745
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
746
+ labels?: boolean;
747
+ colors?: Record<string, string>;
748
+ };
749
+ shape: (chart: ChartSpec, { config, rows, context, timeZone }: ShapeInput) => import('./timeCharts.js').ThemeRiverData | undefined;
750
+ validate: typeof themeRiverIssues;
751
+ boundTo: () => undefined;
752
+ };
753
+ map: {
754
+ lead: (chart: ChartSpec) => string | undefined;
755
+ carry: (chart: ChartSpec, next: ChartSpec, lead: string) => {
756
+ map: {
757
+ value: string;
758
+ region: string;
759
+ map?: string;
760
+ };
761
+ type: ChartType;
762
+ cartesian?: import('../index.js').CartesianSpec;
763
+ pie?: import('../index.js').PieSpec;
764
+ heatmap?: import('../index.js').HeatmapSpec;
765
+ scatter?: import('../index.js').ScatterSpec;
766
+ funnel?: import('../index.js').FunnelSpec;
767
+ metric?: import('../index.js').MetricCardSpec;
768
+ waterfall?: import('../index.js').WaterfallSpec;
769
+ treemap?: import('../index.js').TreemapSpec;
770
+ boxplot?: import('../index.js').BoxplotSpec;
771
+ candlestick?: import('../index.js').CandlestickSpec;
772
+ gauge?: import('../index.js').GaugeSpec;
773
+ radar?: import('../index.js').RadarSpec;
774
+ parallel?: import('../index.js').ParallelSpec;
775
+ sunburst?: import('../index.js').HierarchySpec;
776
+ tree?: import('../index.js').HierarchySpec;
777
+ sankey?: import('../index.js').SankeySpec;
778
+ calendar?: import('../index.js').CalendarSpec;
779
+ themeRiver?: import('../index.js').ThemeRiverSpec;
780
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
781
+ labels?: boolean;
782
+ colors?: Record<string, string>;
783
+ };
784
+ fit: (chart: ChartSpec, shape: SlotShape) => {
785
+ map: import('../index.js').MapSpec;
786
+ type: ChartType;
787
+ cartesian?: import('../index.js').CartesianSpec;
788
+ pie?: import('../index.js').PieSpec;
789
+ heatmap?: import('../index.js').HeatmapSpec;
790
+ scatter?: import('../index.js').ScatterSpec;
791
+ funnel?: import('../index.js').FunnelSpec;
792
+ metric?: import('../index.js').MetricCardSpec;
793
+ waterfall?: import('../index.js').WaterfallSpec;
794
+ treemap?: import('../index.js').TreemapSpec;
795
+ boxplot?: import('../index.js').BoxplotSpec;
796
+ candlestick?: import('../index.js').CandlestickSpec;
797
+ gauge?: import('../index.js').GaugeSpec;
798
+ radar?: import('../index.js').RadarSpec;
799
+ parallel?: import('../index.js').ParallelSpec;
800
+ sunburst?: import('../index.js').HierarchySpec;
801
+ tree?: import('../index.js').HierarchySpec;
802
+ sankey?: import('../index.js').SankeySpec;
803
+ calendar?: import('../index.js').CalendarSpec;
804
+ themeRiver?: import('../index.js').ThemeRiverSpec;
805
+ legend?: "auto" | "top" | "bottom" | "right" | "none";
806
+ labels?: boolean;
807
+ colors?: Record<string, string>;
808
+ };
809
+ shape: (chart: ChartSpec, { rows }: ShapeInput) => import('./map.js').MapData | undefined;
810
+ validate: typeof mapIssues;
811
+ boundTo: (chart: ChartSpec) => string | undefined;
812
+ };
813
+ }>;
814
+ /**
815
+ * The rules of the family a chart type belongs to, or none for a type this
816
+ * package does not have — a stored config may name one, and every caller
817
+ * answers it as its `switch` answered an unknown type.
818
+ */
819
+ export declare function familyRules(type: ChartType): FamilyRules<ChartFamily> | undefined;
820
+ //# sourceMappingURL=familyRules.d.ts.map