@iota-uz/sdk 0.4.43 → 0.5.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 (406) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -142
  3. package/dist/client-host/applet.d.ts +52 -0
  4. package/dist/client-host/applet.d.ts.map +1 -0
  5. package/dist/client-host/applet.js +24 -0
  6. package/dist/client-host/cache.d.ts +15 -0
  7. package/dist/client-host/cache.d.ts.map +1 -0
  8. package/dist/client-host/cache.js +27 -0
  9. package/dist/client-host/errors.d.ts +16 -0
  10. package/dist/client-host/errors.d.ts.map +1 -0
  11. package/dist/client-host/errors.js +45 -0
  12. package/dist/client-host/identity.d.ts +21 -0
  13. package/dist/client-host/identity.d.ts.map +1 -0
  14. package/dist/client-host/identity.js +28 -0
  15. package/dist/client-host/index.d.ts +11 -0
  16. package/dist/client-host/index.d.ts.map +1 -0
  17. package/dist/client-host/index.js +10 -0
  18. package/dist/client-host/portals.d.ts +30 -0
  19. package/dist/client-host/portals.d.ts.map +1 -0
  20. package/dist/client-host/portals.js +149 -0
  21. package/dist/client-host/protocol.d.ts +2 -0
  22. package/dist/client-host/protocol.d.ts.map +1 -0
  23. package/dist/client-host/protocol.js +2 -0
  24. package/dist/client-host/route.d.ts +29 -0
  25. package/dist/client-host/route.d.ts.map +1 -0
  26. package/dist/client-host/route.js +32 -0
  27. package/dist/client-host/rpc.d.ts +46 -0
  28. package/dist/client-host/rpc.d.ts.map +1 -0
  29. package/dist/client-host/rpc.js +90 -0
  30. package/dist/client-host/streaming.d.ts +43 -0
  31. package/dist/client-host/streaming.d.ts.map +1 -0
  32. package/dist/client-host/streaming.js +141 -0
  33. package/dist/client-host/transport.d.ts +26 -0
  34. package/dist/client-host/transport.d.ts.map +1 -0
  35. package/dist/client-host/transport.js +53 -0
  36. package/dist/lens/CascadePanel-DqOZFdR-.js +512 -0
  37. package/dist/lens/ChartDataEquivalent-BFDdHoQn.js +52 -0
  38. package/dist/lens/ChartHost-Bl2lxIqU.js +68 -0
  39. package/dist/lens/ChartPanel-CTIp_4YE.js +720 -0
  40. package/dist/lens/CoveragePanel-DZZWkjSv.js +131 -0
  41. package/dist/lens/DashboardPanels.d.ts +36 -0
  42. package/dist/lens/DashboardPanels.d.ts.map +1 -0
  43. package/dist/lens/GaugePanel-BcNdd_Wj.js +43 -0
  44. package/dist/lens/LensDashboard.d.ts +21 -0
  45. package/dist/lens/LensDashboard.d.ts.map +1 -0
  46. package/dist/lens/MapPanel-6sI_Ei9L.js +178 -0
  47. package/dist/lens/MetricFlowPanel-LzqevSPs.js +70 -0
  48. package/dist/lens/MetricHierarchyPanel-h6tJqRPg.js +72 -0
  49. package/dist/lens/MetricRelationshipPanel-CgckUvvJ.js +54 -0
  50. package/dist/lens/PrintReport-DJv4Rm_U.js +1351 -0
  51. package/dist/lens/TablePanel-Dh6bXlwM.js +619 -0
  52. package/dist/lens/adapter-zBDC8hbZ.js +29093 -0
  53. package/dist/lens/breakpoints.d.ts +37 -0
  54. package/dist/lens/breakpoints.d.ts.map +1 -0
  55. package/dist/lens/charts/adapter.d.ts +157 -0
  56. package/dist/lens/charts/adapter.d.ts.map +1 -0
  57. package/dist/lens/charts/echarts/adapter.d.ts +9 -0
  58. package/dist/lens/charts/echarts/adapter.d.ts.map +1 -0
  59. package/dist/lens/charts/echarts/distributions.d.ts +9 -0
  60. package/dist/lens/charts/echarts/distributions.d.ts.map +1 -0
  61. package/dist/lens/charts/echarts/events.d.ts +7 -0
  62. package/dist/lens/charts/echarts/events.d.ts.map +1 -0
  63. package/dist/lens/charts/echarts/options.d.ts +163 -0
  64. package/dist/lens/charts/echarts/options.d.ts.map +1 -0
  65. package/dist/lens/charts/echarts/theme.d.ts +49 -0
  66. package/dist/lens/charts/echarts/theme.d.ts.map +1 -0
  67. package/dist/lens/charts/echarts/tooltip.d.ts +79 -0
  68. package/dist/lens/charts/echarts/tooltip.d.ts.map +1 -0
  69. package/dist/lens/charts/index.d.ts +9 -0
  70. package/dist/lens/charts/index.d.ts.map +1 -0
  71. package/dist/lens/charts/keys.d.ts +8 -0
  72. package/dist/lens/charts/keys.d.ts.map +1 -0
  73. package/dist/lens/charts/overlays.d.ts +134 -0
  74. package/dist/lens/charts/overlays.d.ts.map +1 -0
  75. package/dist/lens/charts/palette.d.ts +54 -0
  76. package/dist/lens/charts/palette.d.ts.map +1 -0
  77. package/dist/lens/charts/scales.d.ts +26 -0
  78. package/dist/lens/charts/scales.d.ts.map +1 -0
  79. package/dist/lens/charts/shares.d.ts +44 -0
  80. package/dist/lens/charts/shares.d.ts.map +1 -0
  81. package/dist/lens/charts/text.d.ts +23 -0
  82. package/dist/lens/charts/text.d.ts.map +1 -0
  83. package/dist/lens/contract/index.d.ts +4 -0
  84. package/dist/lens/contract/index.d.ts.map +1 -0
  85. package/dist/lens/contract/palette.d.ts +13 -0
  86. package/dist/lens/contract/palette.d.ts.map +1 -0
  87. package/dist/lens/contract/schemas.d.ts +132 -0
  88. package/dist/lens/contract/schemas.d.ts.map +1 -0
  89. package/dist/lens/contract/types.d.ts +788 -0
  90. package/dist/lens/contract/types.d.ts.map +1 -0
  91. package/dist/lens/controls/Calendar.d.ts +24 -0
  92. package/dist/lens/controls/Calendar.d.ts.map +1 -0
  93. package/dist/lens/controls/CompareFilterControl.d.ts +23 -0
  94. package/dist/lens/controls/CompareFilterControl.d.ts.map +1 -0
  95. package/dist/lens/controls/FacetFilterMenu.d.ts +29 -0
  96. package/dist/lens/controls/FacetFilterMenu.d.ts.map +1 -0
  97. package/dist/lens/controls/FilterBar.d.ts +30 -0
  98. package/dist/lens/controls/FilterBar.d.ts.map +1 -0
  99. package/dist/lens/controls/PeriodFilterControl.d.ts +50 -0
  100. package/dist/lens/controls/PeriodFilterControl.d.ts.map +1 -0
  101. package/dist/lens/controls/SegmentedFilterControl.d.ts +22 -0
  102. package/dist/lens/controls/SegmentedFilterControl.d.ts.map +1 -0
  103. package/dist/lens/controls/facetOptions.d.ts +33 -0
  104. package/dist/lens/controls/facetOptions.d.ts.map +1 -0
  105. package/dist/lens/controls/index.d.ts +6 -0
  106. package/dist/lens/controls/index.d.ts.map +1 -0
  107. package/dist/lens/controls/model.d.ts +181 -0
  108. package/dist/lens/controls/model.d.ts.map +1 -0
  109. package/dist/lens/drillPrefetch-Bs-6Oyxa.js +68 -0
  110. package/dist/lens/element.d.ts +12 -0
  111. package/dist/lens/element.d.ts.map +1 -0
  112. package/dist/lens/explore/ContextMiniChart.d.ts +18 -0
  113. package/dist/lens/explore/ContextMiniChart.d.ts.map +1 -0
  114. package/dist/lens/explore/DrillOverlay.d.ts +66 -0
  115. package/dist/lens/explore/DrillOverlay.d.ts.map +1 -0
  116. package/dist/lens/explore/ExplorePanel.d.ts +8 -0
  117. package/dist/lens/explore/ExplorePanel.d.ts.map +1 -0
  118. package/dist/lens/explore/FocusContextHeader.d.ts +20 -0
  119. package/dist/lens/explore/FocusContextHeader.d.ts.map +1 -0
  120. package/dist/lens/explore/LensSelector.d.ts +17 -0
  121. package/dist/lens/explore/LensSelector.d.ts.map +1 -0
  122. package/dist/lens/explore/SourceDataDisclosure.d.ts +15 -0
  123. package/dist/lens/explore/SourceDataDisclosure.d.ts.map +1 -0
  124. package/dist/lens/explore/actions.d.ts +22 -0
  125. package/dist/lens/explore/actions.d.ts.map +1 -0
  126. package/dist/lens/explore/focusModel.d.ts +55 -0
  127. package/dist/lens/explore/focusModel.d.ts.map +1 -0
  128. package/dist/lens/explore/index.d.ts +9 -0
  129. package/dist/lens/explore/index.d.ts.map +1 -0
  130. package/dist/lens/explore/model.d.ts +59 -0
  131. package/dist/lens/explore/model.d.ts.map +1 -0
  132. package/dist/lens/export-B0U20F4u.js +57 -0
  133. package/dist/lens/icons.d.ts +103 -0
  134. package/dist/lens/icons.d.ts.map +1 -0
  135. package/dist/lens/idlePrefetch-Bi4Wk1uR.js +80 -0
  136. package/dist/lens/index-C45DAO6w.js +10883 -0
  137. package/dist/lens/index-CspKnSQn.js +11 -0
  138. package/dist/lens/index.d.ts +7 -0
  139. package/dist/lens/index.d.ts.map +1 -0
  140. package/dist/lens/index.js +17 -0
  141. package/dist/lens/install-3GLgv_LN.js +2028 -0
  142. package/dist/lens/install-B5oSx3pv.js +233 -0
  143. package/dist/lens/install-DT0AQkUj.js +1490 -0
  144. package/dist/lens/install-DyXK20dR.js +307 -0
  145. package/dist/lens/keys-DenV5HsJ.js +12 -0
  146. package/dist/lens/listSearch.d.ts +12 -0
  147. package/dist/lens/listSearch.d.ts.map +1 -0
  148. package/dist/lens/metricViews-QvoFHVdh.js +170 -0
  149. package/dist/lens/panels/CascadePanel.d.ts +138 -0
  150. package/dist/lens/panels/CascadePanel.d.ts.map +1 -0
  151. package/dist/lens/panels/ChartDataEquivalent.d.ts +23 -0
  152. package/dist/lens/panels/ChartDataEquivalent.d.ts.map +1 -0
  153. package/dist/lens/panels/ChartHost.d.ts +14 -0
  154. package/dist/lens/panels/ChartHost.d.ts.map +1 -0
  155. package/dist/lens/panels/ChartPanel.d.ts +29 -0
  156. package/dist/lens/panels/ChartPanel.d.ts.map +1 -0
  157. package/dist/lens/panels/CopyValueButton.d.ts +15 -0
  158. package/dist/lens/panels/CopyValueButton.d.ts.map +1 -0
  159. package/dist/lens/panels/CoveragePanel.d.ts +17 -0
  160. package/dist/lens/panels/CoveragePanel.d.ts.map +1 -0
  161. package/dist/lens/panels/ExportMenu.d.ts +12 -0
  162. package/dist/lens/panels/ExportMenu.d.ts.map +1 -0
  163. package/dist/lens/panels/GaugePanel.d.ts +6 -0
  164. package/dist/lens/panels/GaugePanel.d.ts.map +1 -0
  165. package/dist/lens/panels/InfoTip.d.ts +50 -0
  166. package/dist/lens/panels/InfoTip.d.ts.map +1 -0
  167. package/dist/lens/panels/MapPanel.d.ts +17 -0
  168. package/dist/lens/panels/MapPanel.d.ts.map +1 -0
  169. package/dist/lens/panels/MetricFlowPanel.d.ts +6 -0
  170. package/dist/lens/panels/MetricFlowPanel.d.ts.map +1 -0
  171. package/dist/lens/panels/MetricHierarchyPanel.d.ts +6 -0
  172. package/dist/lens/panels/MetricHierarchyPanel.d.ts.map +1 -0
  173. package/dist/lens/panels/MetricRelationshipPanel.d.ts +14 -0
  174. package/dist/lens/panels/MetricRelationshipPanel.d.ts.map +1 -0
  175. package/dist/lens/panels/PanelExportMenu.d.ts +5 -0
  176. package/dist/lens/panels/PanelExportMenu.d.ts.map +1 -0
  177. package/dist/lens/panels/PanelFrame.d.ts +42 -0
  178. package/dist/lens/panels/PanelFrame.d.ts.map +1 -0
  179. package/dist/lens/panels/PanelOverlay.d.ts +19 -0
  180. package/dist/lens/panels/PanelOverlay.d.ts.map +1 -0
  181. package/dist/lens/panels/QualityChip.d.ts +51 -0
  182. package/dist/lens/panels/QualityChip.d.ts.map +1 -0
  183. package/dist/lens/panels/ShareSliceButton.d.ts +3 -0
  184. package/dist/lens/panels/ShareSliceButton.d.ts.map +1 -0
  185. package/dist/lens/panels/Skeleton.d.ts +67 -0
  186. package/dist/lens/panels/Skeleton.d.ts.map +1 -0
  187. package/dist/lens/panels/StatPanel.d.ts +52 -0
  188. package/dist/lens/panels/StatPanel.d.ts.map +1 -0
  189. package/dist/lens/panels/StatValueTicker.d.ts +27 -0
  190. package/dist/lens/panels/StatValueTicker.d.ts.map +1 -0
  191. package/dist/lens/panels/TablePanel.d.ts +19 -0
  192. package/dist/lens/panels/TablePanel.d.ts.map +1 -0
  193. package/dist/lens/panels/WaterfallPlot.d.ts +51 -0
  194. package/dist/lens/panels/WaterfallPlot.d.ts.map +1 -0
  195. package/dist/lens/panels/actions.d.ts +75 -0
  196. package/dist/lens/panels/actions.d.ts.map +1 -0
  197. package/dist/lens/panels/context.d.ts +32 -0
  198. package/dist/lens/panels/context.d.ts.map +1 -0
  199. package/dist/lens/panels/data.d.ts +95 -0
  200. package/dist/lens/panels/data.d.ts.map +1 -0
  201. package/dist/lens/panels/kinds.d.ts +4 -0
  202. package/dist/lens/panels/kinds.d.ts.map +1 -0
  203. package/dist/lens/panels/metricViews.d.ts +79 -0
  204. package/dist/lens/panels/metricViews.d.ts.map +1 -0
  205. package/dist/lens/panels/registry.d.ts +45 -0
  206. package/dist/lens/panels/registry.d.ts.map +1 -0
  207. package/dist/lens/panels/useIsClamped.d.ts +16 -0
  208. package/dist/lens/panels/useIsClamped.d.ts.map +1 -0
  209. package/dist/lens/panels/useMenuButton.d.ts +68 -0
  210. package/dist/lens/panels/useMenuButton.d.ts.map +1 -0
  211. package/dist/lens/prefetch-Dov5CBoH.js +74 -0
  212. package/dist/lens/prefetchPanels-B7bIY0bM.js +31 -0
  213. package/dist/lens/print/PrintReport.d.ts +12 -0
  214. package/dist/lens/print/PrintReport.d.ts.map +1 -0
  215. package/dist/lens/print/footnotes.d.ts +29 -0
  216. package/dist/lens/print/footnotes.d.ts.map +1 -0
  217. package/dist/lens/print/formula.d.ts +9 -0
  218. package/dist/lens/print/formula.d.ts.map +1 -0
  219. package/dist/lens/print/narrative.d.ts +41 -0
  220. package/dist/lens/print/narrative.d.ts.map +1 -0
  221. package/dist/lens/print/outline.d.ts +94 -0
  222. package/dist/lens/print/outline.d.ts.map +1 -0
  223. package/dist/lens/print/palette.d.ts +23 -0
  224. package/dist/lens/print/palette.d.ts.map +1 -0
  225. package/dist/lens/print/quality.d.ts +32 -0
  226. package/dist/lens/print/quality.d.ts.map +1 -0
  227. package/dist/lens/print/units.d.ts +23 -0
  228. package/dist/lens/print/units.d.ts.map +1 -0
  229. package/dist/lens/print/values.d.ts +28 -0
  230. package/dist/lens/print/values.d.ts.map +1 -0
  231. package/dist/lens/print-CwcB0fug.js +216 -0
  232. package/dist/lens/runtime/clipboard.d.ts +11 -0
  233. package/dist/lens/runtime/clipboard.d.ts.map +1 -0
  234. package/dist/lens/runtime/document.d.ts +9 -0
  235. package/dist/lens/runtime/document.d.ts.map +1 -0
  236. package/dist/lens/runtime/drawer.d.ts +21 -0
  237. package/dist/lens/runtime/drawer.d.ts.map +1 -0
  238. package/dist/lens/runtime/drill.d.ts +54 -0
  239. package/dist/lens/runtime/drill.d.ts.map +1 -0
  240. package/dist/lens/runtime/drillPrefetch.d.ts +22 -0
  241. package/dist/lens/runtime/drillPrefetch.d.ts.map +1 -0
  242. package/dist/lens/runtime/export.d.ts +21 -0
  243. package/dist/lens/runtime/export.d.ts.map +1 -0
  244. package/dist/lens/runtime/filters.d.ts +51 -0
  245. package/dist/lens/runtime/filters.d.ts.map +1 -0
  246. package/dist/lens/runtime/focusTrap.d.ts +4 -0
  247. package/dist/lens/runtime/focusTrap.d.ts.map +1 -0
  248. package/dist/lens/runtime/format.d.ts +81 -0
  249. package/dist/lens/runtime/format.d.ts.map +1 -0
  250. package/dist/lens/runtime/idlePrefetch.d.ts +35 -0
  251. package/dist/lens/runtime/idlePrefetch.d.ts.map +1 -0
  252. package/dist/lens/runtime/index.d.ts +15 -0
  253. package/dist/lens/runtime/index.d.ts.map +1 -0
  254. package/dist/lens/runtime/navigate.d.ts +12 -0
  255. package/dist/lens/runtime/navigate.d.ts.map +1 -0
  256. package/dist/lens/runtime/navigation.d.ts +77 -0
  257. package/dist/lens/runtime/navigation.d.ts.map +1 -0
  258. package/dist/lens/runtime/overlayContainer.d.ts +24 -0
  259. package/dist/lens/runtime/overlayContainer.d.ts.map +1 -0
  260. package/dist/lens/runtime/panel.d.ts +47 -0
  261. package/dist/lens/runtime/panel.d.ts.map +1 -0
  262. package/dist/lens/runtime/panelImage.d.ts +28 -0
  263. package/dist/lens/runtime/panelImage.d.ts.map +1 -0
  264. package/dist/lens/runtime/prefetch.d.ts +48 -0
  265. package/dist/lens/runtime/prefetch.d.ts.map +1 -0
  266. package/dist/lens/runtime/prefetchPanels.d.ts +17 -0
  267. package/dist/lens/runtime/prefetchPanels.d.ts.map +1 -0
  268. package/dist/lens/runtime/print.d.ts +50 -0
  269. package/dist/lens/runtime/print.d.ts.map +1 -0
  270. package/dist/lens/runtime/provider.d.ts +195 -0
  271. package/dist/lens/runtime/provider.d.ts.map +1 -0
  272. package/dist/lens/runtime/query.d.ts +32 -0
  273. package/dist/lens/runtime/query.d.ts.map +1 -0
  274. package/dist/lens/runtime/recovery.d.ts +26 -0
  275. package/dist/lens/runtime/recovery.d.ts.map +1 -0
  276. package/dist/lens/runtime/snapshotLease.d.ts +2 -0
  277. package/dist/lens/runtime/snapshotLease.d.ts.map +1 -0
  278. package/dist/lens/runtime/theme.d.ts +4 -0
  279. package/dist/lens/runtime/theme.d.ts.map +1 -0
  280. package/dist/lens/runtime/url.d.ts +23 -0
  281. package/dist/lens/runtime/url.d.ts.map +1 -0
  282. package/dist/lens/scales-DKkoQGtJ.js +195 -0
  283. package/dist/lens/snapshotLease-LjBaqKs-.js +14 -0
  284. package/dist/lens/style.css +1 -0
  285. package/dist/lens/visualRegression.d.ts +2 -0
  286. package/dist/lens/visualRegression.d.ts.map +1 -0
  287. package/dist/sdk-identity.cjs +6 -0
  288. package/dist/sdk-identity.d.ts +4 -0
  289. package/dist/sdk-identity.js +4 -0
  290. package/dist/sdk-identity.json +5 -0
  291. package/package.json +22 -123
  292. package/assets/fonts/Actay/Actay-Regular.otf +0 -0
  293. package/assets/fonts/Actay/Actay-RegularItalic.otf +0 -0
  294. package/assets/fonts/Actay/ActayCondensed-Thin.otf +0 -0
  295. package/assets/fonts/Actay/ActayCondensed-ThinItalic.otf +0 -0
  296. package/assets/fonts/Actay/ActayWide-Bold.otf +0 -0
  297. package/assets/fonts/Actay/ActayWide-BoldItalic.otf +0 -0
  298. package/assets/fonts/Gilroy/Gilroy-Black.woff2 +0 -0
  299. package/assets/fonts/Gilroy/Gilroy-BlackItalic.woff2 +0 -0
  300. package/assets/fonts/Gilroy/Gilroy-Bold.woff2 +0 -0
  301. package/assets/fonts/Gilroy/Gilroy-BoldItalic.woff2 +0 -0
  302. package/assets/fonts/Gilroy/Gilroy-Extrabold.woff2 +0 -0
  303. package/assets/fonts/Gilroy/Gilroy-ExtraboldItalic.woff2 +0 -0
  304. package/assets/fonts/Gilroy/Gilroy-Heavy.woff2 +0 -0
  305. package/assets/fonts/Gilroy/Gilroy-HeavyItalic.woff2 +0 -0
  306. package/assets/fonts/Gilroy/Gilroy-Light.woff2 +0 -0
  307. package/assets/fonts/Gilroy/Gilroy-LightItalic.woff2 +0 -0
  308. package/assets/fonts/Gilroy/Gilroy-Medium.woff2 +0 -0
  309. package/assets/fonts/Gilroy/Gilroy-MediumItalic.woff2 +0 -0
  310. package/assets/fonts/Gilroy/Gilroy-Regular.woff2 +0 -0
  311. package/assets/fonts/Gilroy/Gilroy-RegularItalic.woff2 +0 -0
  312. package/assets/fonts/Gilroy/Gilroy-Semibold.woff2 +0 -0
  313. package/assets/fonts/Gilroy/Gilroy-SemiboldItalic.woff2 +0 -0
  314. package/assets/fonts/Gilroy/Gilroy-Thin.woff2 +0 -0
  315. package/assets/fonts/Gilroy/Gilroy-ThinItalic.woff2 +0 -0
  316. package/assets/fonts/Gilroy/Gilroy-UltraLight.woff2 +0 -0
  317. package/assets/fonts/Gilroy/Gilroy-UltraLightItalic.woff2 +0 -0
  318. package/assets/fonts/Inter.var.woff2 +0 -0
  319. package/dist/applet/core.cjs +0 -412
  320. package/dist/applet/core.cjs.map +0 -1
  321. package/dist/applet/core.d.cts +0 -187
  322. package/dist/applet/core.d.ts +0 -187
  323. package/dist/applet/core.mjs +0 -396
  324. package/dist/applet/core.mjs.map +0 -1
  325. package/dist/applet/devtools.cjs +0 -147
  326. package/dist/applet/devtools.cjs.map +0 -1
  327. package/dist/applet/devtools.d.cts +0 -7
  328. package/dist/applet/devtools.d.ts +0 -7
  329. package/dist/applet/devtools.mjs +0 -144
  330. package/dist/applet/devtools.mjs.map +0 -1
  331. package/dist/applet/host.cjs +0 -397
  332. package/dist/applet/host.cjs.map +0 -1
  333. package/dist/applet/host.d.cts +0 -42
  334. package/dist/applet/host.d.ts +0 -42
  335. package/dist/applet/host.mjs +0 -392
  336. package/dist/applet/host.mjs.map +0 -1
  337. package/dist/applet/vite.cjs +0 -219
  338. package/dist/applet/vite.cjs.map +0 -1
  339. package/dist/applet/vite.d.cts +0 -99
  340. package/dist/applet/vite.d.ts +0 -99
  341. package/dist/applet/vite.mjs +0 -203
  342. package/dist/applet/vite.mjs.map +0 -1
  343. package/dist/applet-runtime/index.cjs +0 -890
  344. package/dist/applet-runtime/index.cjs.map +0 -1
  345. package/dist/applet-runtime/index.d.cts +0 -191
  346. package/dist/applet-runtime/index.d.ts +0 -191
  347. package/dist/applet-runtime/index.mjs +0 -876
  348. package/dist/applet-runtime/index.mjs.map +0 -1
  349. package/dist/bichat/index.cjs +0 -20774
  350. package/dist/bichat/index.cjs.map +0 -1
  351. package/dist/bichat/index.css +0 -618
  352. package/dist/bichat/index.css.map +0 -1
  353. package/dist/bichat/index.d.cts +0 -4515
  354. package/dist/bichat/index.d.ts +0 -4515
  355. package/dist/bichat/index.mjs +0 -20602
  356. package/dist/bichat/index.mjs.map +0 -1
  357. package/dist/bichat/styles.css +0 -774
  358. package/dist/bichat/tailwind.cjs +0 -103
  359. package/dist/bichat/tailwind.cjs.map +0 -1
  360. package/dist/bichat/tailwind.d.cts +0 -21
  361. package/dist/bichat/tailwind.d.ts +0 -21
  362. package/dist/bichat/tailwind.mjs +0 -95
  363. package/dist/bichat/tailwind.mjs.map +0 -1
  364. package/dist/fonts/Actay/Actay-Regular.otf +0 -0
  365. package/dist/fonts/Actay/Actay-RegularItalic.otf +0 -0
  366. package/dist/fonts/Actay/ActayCondensed-Thin.otf +0 -0
  367. package/dist/fonts/Actay/ActayCondensed-ThinItalic.otf +0 -0
  368. package/dist/fonts/Actay/ActayWide-Bold.otf +0 -0
  369. package/dist/fonts/Actay/ActayWide-BoldItalic.otf +0 -0
  370. package/dist/fonts/Gilroy/Gilroy-Black.woff2 +0 -0
  371. package/dist/fonts/Gilroy/Gilroy-BlackItalic.woff2 +0 -0
  372. package/dist/fonts/Gilroy/Gilroy-Bold.woff2 +0 -0
  373. package/dist/fonts/Gilroy/Gilroy-BoldItalic.woff2 +0 -0
  374. package/dist/fonts/Gilroy/Gilroy-Extrabold.woff2 +0 -0
  375. package/dist/fonts/Gilroy/Gilroy-ExtraboldItalic.woff2 +0 -0
  376. package/dist/fonts/Gilroy/Gilroy-Heavy.woff2 +0 -0
  377. package/dist/fonts/Gilroy/Gilroy-HeavyItalic.woff2 +0 -0
  378. package/dist/fonts/Gilroy/Gilroy-Light.woff2 +0 -0
  379. package/dist/fonts/Gilroy/Gilroy-LightItalic.woff2 +0 -0
  380. package/dist/fonts/Gilroy/Gilroy-Medium.woff2 +0 -0
  381. package/dist/fonts/Gilroy/Gilroy-MediumItalic.woff2 +0 -0
  382. package/dist/fonts/Gilroy/Gilroy-Regular.woff2 +0 -0
  383. package/dist/fonts/Gilroy/Gilroy-RegularItalic.woff2 +0 -0
  384. package/dist/fonts/Gilroy/Gilroy-Semibold.woff2 +0 -0
  385. package/dist/fonts/Gilroy/Gilroy-SemiboldItalic.woff2 +0 -0
  386. package/dist/fonts/Gilroy/Gilroy-Thin.woff2 +0 -0
  387. package/dist/fonts/Gilroy/Gilroy-ThinItalic.woff2 +0 -0
  388. package/dist/fonts/Gilroy/Gilroy-UltraLight.woff2 +0 -0
  389. package/dist/fonts/Gilroy/Gilroy-UltraLightItalic.woff2 +0 -0
  390. package/dist/fonts/Inter.var.woff2 +0 -0
  391. package/dist/index-Cs_xWkhC.d.cts +0 -84
  392. package/dist/index-Cs_xWkhC.d.ts +0 -84
  393. package/dist/index.cjs +0 -777
  394. package/dist/index.cjs.map +0 -1
  395. package/dist/index.d.cts +0 -7
  396. package/dist/index.d.ts +0 -7
  397. package/dist/index.mjs +0 -755
  398. package/dist/index.mjs.map +0 -1
  399. package/dist/rpc-fh942_dj.d.cts +0 -31
  400. package/dist/rpc-fh942_dj.d.ts +0 -31
  401. package/tailwind/compiled.css +0 -2
  402. package/tailwind/create-config.cjs +0 -90
  403. package/tailwind/iota.css +0 -1195
  404. package/tailwind/main.css +0 -2
  405. package/tailwind/sdk-content.cjs +0 -177
  406. package/tailwind/sdk-theme.cjs +0 -120
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Every width at which the runtime changes what it draws, in one place.
3
+ *
4
+ * These are not the layout breakpoints — the stylesheet owns those, and a
5
+ * responsive grid needs no help from JavaScript. These are the two widths where
6
+ * a *component decides differently*: a decision that lives in TypeScript because
7
+ * CSS cannot express it, and that therefore has to be named somewhere a reader
8
+ * can find. Both were bare literals sitting a thousand lines apart, which is how
9
+ * "compact" came to mean two different widths on one page.
10
+ *
11
+ * A value here is paired with the rule it protects. Change one and you are
12
+ * changing that rule, so state why in the comment beside it.
13
+ */
14
+ /**
15
+ * The period popover shows two month panes side by side. Below this the pair no
16
+ * longer fits between the viewport padding, so the calendar renders a single
17
+ * pane and steps a month at a time.
18
+ *
19
+ * Mirrors the `@media (max-width: 664px)` block in `styles.css` that narrows
20
+ * the popover itself: the pane count and the popover width have to change on
21
+ * the same edge, or the card is sized for two panes while showing one.
22
+ */
23
+ export declare const stackedCalendarMaxWidth = 664;
24
+ /** `stackedCalendarMaxWidth` as a media query, for `matchMedia`. */
25
+ export declare const stackedCalendarMediaQuery = "(max-width: 664px)";
26
+ /**
27
+ * Plot width below which a part-to-whole chart drops to its compact labels: the
28
+ * slice's own name stops fitting inside the arc, so the label becomes the value
29
+ * alone and the names move to the legend.
30
+ *
31
+ * This is the *plot box*, not the viewport — a 400px donut in a four-up row is
32
+ * cramped on a 1440px screen. The mounted adapter watches the box and re-renders
33
+ * when it crosses this edge, because ECharts label layout is decided at build
34
+ * time and a resize alone will not revisit it.
35
+ */
36
+ export declare const compactChartLabelWidth = 500;
37
+ //# sourceMappingURL=breakpoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breakpoints.d.ts","sourceRoot":"","sources":["../src/breakpoints.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,MAAM,CAAA;AAE1C,oEAAoE;AACpE,eAAO,MAAM,yBAAyB,uBAA8C,CAAA;AAEpF;;;;;;;;;GASG;AACH,eAAO,MAAM,sBAAsB,MAAM,CAAA"}
@@ -0,0 +1,157 @@
1
+ import type { Encoding, Frame, GeoJSONFeatureCollection, NodeKey, PanelKind, PanelTemporal, Presentation, RadialConfig, Theme, ValueAxis } from '../contract';
2
+ export type ChartKind = Extract<PanelKind, 'pie' | 'donut' | 'radial' | 'bar' | 'hbar' | 'line' | 'area' | 'histogram' | 'boxplot' | 'heatmap' | 'map'>;
3
+ export type ChartFormatResolver = (field: string, value: unknown) => string;
4
+ export interface ChartLabels {
5
+ previous: string;
6
+ trend: string;
7
+ movingAverage: (window: number) => string;
8
+ estimate: string;
9
+ ytd: string;
10
+ forecast: string;
11
+ forecastLower: (forecast: string) => string;
12
+ forecastConfidence: (forecast: string) => string;
13
+ boxplot: [min: string, q1: string, median: string, q3: string, max: string];
14
+ /** What a mark with no reading behind it says instead of a formatted zero. */
15
+ noData: string;
16
+ /** The tooltip's copy button, at rest and for the moment after it is used. */
17
+ copyValue?: string;
18
+ copied?: string;
19
+ }
20
+ /** Stable mark identity for a category within a specific partition ring. */
21
+ export declare function radialNodeKey(ringKey: string, categoryKey: string): NodeKey;
22
+ export interface ChartInput {
23
+ kind: ChartKind;
24
+ frame: Frame;
25
+ encoding: Encoding;
26
+ format: ChartFormatResolver;
27
+ /** Compact, locale-aware value formatter for axis ticks. Falls back to `format`. */
28
+ formatAxis?: ChartFormatResolver;
29
+ formatTooltip?: (field: string, value: unknown, reference: number) => string;
30
+ /**
31
+ * The unabbreviated figure behind a compact one, for tooltips. A plot label
32
+ * has to fit beside a mark and abbreviates to «53,89 млрд UZS»; a reader who
33
+ * has stopped to point at that mark is asking for the whole number.
34
+ * Undefined when the field is not compact — nothing was abbreviated away.
35
+ */
36
+ formatExact?: (field: string, value: unknown) => string | undefined;
37
+ /**
38
+ * The machine value behind a formatted one — plain digits in the unit the
39
+ * figure is drawn in — for the tooltip's copy button. Resolved here rather
40
+ * than in the adapter because the scaling is a property of the field format,
41
+ * which is the runtime's knowledge, not the chart library's.
42
+ */
43
+ rawValue?: (field: string, value: unknown) => string | undefined;
44
+ /** The reader's language, for the shares the chart writes itself. */
45
+ locale?: string;
46
+ /** Producer-pinned separator shared by values, legend shares, and slice labels. */
47
+ shareDecimalSeparator?: string;
48
+ /** Localized label used for the sum of a stacked column in its tooltip. */
49
+ tooltipTotalLabel?: string;
50
+ /**
51
+ * What a click on a mark does, when it does anything — printed at the foot of
52
+ * every tooltip this chart draws.
53
+ *
54
+ * It used to be a glyph in the notes row above the plot, which is the corner
55
+ * of the card furthest from wherever the reader is actually pointing. An
56
+ * affordance belongs where the act it describes is available: the tooltip is
57
+ * already open, already under the cursor, and already naming the mark that
58
+ * the click would open. Absent when the plot is inert, so a tooltip never
59
+ * offers something that will not happen.
60
+ */
61
+ actionHint?: string;
62
+ /** Localized chart-generated labels that are not supplied by the producer. */
63
+ labels?: ChartLabels;
64
+ theme: Theme;
65
+ selectedKey?: NodeKey;
66
+ /** Opt-in density hints; absent hints keep the default chart treatment. */
67
+ presentation?: Presentation;
68
+ /** Numeric-axis scale requested by the dashboard producer. */
69
+ valueAxis?: ValueAxis;
70
+ /**
71
+ * The unit the axis ticks no longer carry — a currency, normally — so the
72
+ * axis can state it once in its name instead of on every gridline or, as
73
+ * before, nowhere at all.
74
+ */
75
+ valueUnit?: string;
76
+ /** Required geometry contract for radial charts. */
77
+ radial?: RadialConfig;
78
+ /**
79
+ * Opt-in readability overlays for line and area time series, as the panel
80
+ * declared them. Every overlay stays here whether or not it is currently
81
+ * drawn: `hiddenOverlays` decides that, so the legend can list an overlay
82
+ * the reader has switched off and offer it back.
83
+ */
84
+ temporal?: PanelTemporal;
85
+ /**
86
+ * Overlay ids (see `charts/overlays`) the reader has switched off. Filtering
87
+ * happens here rather than in the panel so that one list of overlays governs
88
+ * both what is drawn and what the legend prints.
89
+ */
90
+ hiddenOverlays?: ReadonlySet<string>;
91
+ /** Registered geometry and exact feature-property join for a map panel. */
92
+ map?: {
93
+ name: string;
94
+ geoJSON: GeoJSONFeatureCollection;
95
+ featureProperty: string;
96
+ labelProperty?: string;
97
+ /**
98
+ * The property to read a feature's name from when `labelProperty` — the
99
+ * locale-specific one — is absent on that feature. A boundary file that
100
+ * carries English names for every region and Russian names for most is the
101
+ * normal state of external geometry, and it must cost that one region its
102
+ * translation, not the whole map.
103
+ */
104
+ fallbackLabelProperty?: string;
105
+ };
106
+ /**
107
+ * Whether a point expands into a further level, keyed by its id (falling
108
+ * back to its category label). Used for the per-mark cursor: with a Pareto
109
+ * tail collapsed recursively, neighbouring slices of one ring differ in
110
+ * whether they go anywhere, and nothing else on the plot says so.
111
+ *
112
+ * Absent means "unknown", which keeps the whole-chart treatment.
113
+ */
114
+ expandable?: (key: string) => boolean;
115
+ /**
116
+ * The panel's own colour resolver — the same function its legend uses. The
117
+ * chart cannot derive it: a document pins colours positionally, per panel
118
+ * (`panelId:index`), and the chart knows neither which panel it is drawing
119
+ * nor that such pins exist. Without it a panel's declared colours reach the
120
+ * legend and never the plot, and the two disagree in front of the reader.
121
+ *
122
+ * Indexed by series (or, for a distributed bar, by category) ordinal.
123
+ */
124
+ seriesColor?: (label: string, index: number) => string | undefined;
125
+ /**
126
+ * The same resolver indexed by frame *row*, which is what a part-to-whole
127
+ * chart draws. It also carries the per-row palette a served frame ships —
128
+ * that palette outranks the document's, so a drill level can paint its
129
+ * remainder neutral without the placeholder panel knowing a remainder exists.
130
+ */
131
+ rowColor?: (label: string, index: number, nodeKey?: string) => string | undefined;
132
+ /** Current plot width, supplied by the mounted adapter for responsive labels. */
133
+ viewportWidth?: number;
134
+ /** Whether the producer declared formatting for the category/time field. */
135
+ categoryFormatDefined?: boolean;
136
+ }
137
+ /** Viewport coordinates of the activated mark, used to anchor an overlay. */
138
+ export interface ChartAnchor {
139
+ x: number;
140
+ y: number;
141
+ }
142
+ export interface ChartActivation {
143
+ newTab: boolean;
144
+ }
145
+ export interface ChartEvents {
146
+ onSelect(key: NodeKey, anchor?: ChartAnchor, activation?: ChartActivation): void;
147
+ onHover(key: NodeKey | null): void;
148
+ }
149
+ export interface ChartInstance {
150
+ update(input: ChartInput): void;
151
+ resetZoom?(): void;
152
+ dispose(): void;
153
+ }
154
+ export interface ChartAdapter {
155
+ mount(el: HTMLElement, input: ChartInput, events: ChartEvents): ChartInstance;
156
+ }
157
+ //# sourceMappingURL=adapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../src/charts/adapter.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,9 @@
1
+ import { type ECharts } from 'echarts/core';
2
+ import type { ChartAdapter, ChartInput } from '../adapter';
3
+ /** Loads distribution/map renderers only when a document actually uses one. */
4
+ export declare function prepareEChartsKind(kind: ChartInput['kind']): Promise<void>;
5
+ type ChartInitializer = (element: HTMLElement) => ECharts;
6
+ export declare function createEChartsAdapter(initialize?: ChartInitializer): ChartAdapter;
7
+ export declare const echartsAdapter: ChartAdapter;
8
+ export {};
9
+ //# sourceMappingURL=adapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../src/charts/echarts/adapter.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoD,KAAK,OAAO,EAA0B,MAAM,cAAc,CAAA;AAIrH,OAAO,KAAK,EAAE,YAAY,EAA4B,UAAU,EAAiB,MAAM,YAAY,CAAA;AA8BnG,+EAA+E;AAC/E,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAahF;AAED,KAAK,gBAAgB,GAAG,CAAC,OAAO,EAAE,WAAW,KAAK,OAAO,CAAA;AA4FzD,wBAAgB,oBAAoB,CAAC,UAAU,GAAE,gBAAuB,GAAG,YAAY,CA2PtF;AAED,eAAO,MAAM,cAAc,cAAyB,CAAA"}
@@ -0,0 +1,9 @@
1
+ import type { EChartsOption } from 'echarts';
2
+ import type { ChartInput } from '../adapter';
3
+ import type { EChartsTheme } from './theme';
4
+ export type DistributionKind = 'histogram' | 'boxplot' | 'heatmap';
5
+ export type DistributionInput = Omit<ChartInput, 'kind'> & {
6
+ kind: DistributionKind;
7
+ };
8
+ export declare function buildDistributionOption(input: DistributionInput, theme: EChartsTheme): EChartsOption;
9
+ //# sourceMappingURL=distributions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"distributions.d.ts","sourceRoot":"","sources":["../../../src/charts/echarts/distributions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAG3C,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,CAAA;AAClE,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,GAAG;IAAE,IAAI,EAAE,gBAAgB,CAAA;CAAE,CAAA;AAmLrF,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,YAAY,GAAG,aAAa,CAIpG"}
@@ -0,0 +1,7 @@
1
+ import type { NodeKey } from '../../contract';
2
+ interface EChartsEvent {
3
+ data?: unknown;
4
+ }
5
+ export declare function nodeKeyFromEvent(event: EChartsEvent): NodeKey | undefined;
6
+ export {};
7
+ //# sourceMappingURL=events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/charts/echarts/events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAE7C,UAAU,YAAY;IACpB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,GAAG,SAAS,CAIzE"}
@@ -0,0 +1,163 @@
1
+ import type { EChartsOption } from 'echarts';
2
+ import { type ChartInput } from '../adapter';
3
+ import type { EChartsTheme } from './theme';
4
+ export { installTooltipCopyDelegate, tooltipActionFooter, tooltipChrome, tooltipClassName, tooltipCopyButton, tooltipZIndex } from './tooltip';
5
+ /**
6
+ * `ratio` of `color` over `over`, resolved to a literal.
7
+ *
8
+ * Canvas takes a colour, not an expression: `color-mix()` reaches the
9
+ * stylesheet but never the plot, and ECharts' own colour parser would refuse
10
+ * it. Tints a chart paints are therefore mixed here, from the same tokens the
11
+ * sheet mixes from.
12
+ */
13
+ export declare function mixColor(color: string | undefined, over: string | undefined, ratio: number): string | undefined;
14
+ export declare function buildMapOption(input: ChartInput, theme: EChartsTheme): EChartsOption;
15
+ /**
16
+ * ECharts pre-rounds `params.percent` to `percentPrecision` decimals; asking
17
+ * for more precision than any label prints keeps the single rounding step in
18
+ * our hands.
19
+ */
20
+ export declare const rawPercentPrecision = 10;
21
+ /** The label a pie slice carries: one rounding, and nothing under 4%. */
22
+ export declare function slicePercentLabel(percent: number | undefined, locale?: string, decimalSeparator?: string): string;
23
+ /**
24
+ * The geometry a slice label has to fit inside, for the ring it is drawn on.
25
+ *
26
+ * A label sits at the middle of the ring's band, written horizontally, so what
27
+ * limits it is the chord the slice spans at that radius. Both terms of that
28
+ * chord were previously ignored: the old rule compared a *character count*
29
+ * against the slice's share of the circle, which is the same test on a 240px
30
+ * donut and a 900px one, and on «Ш» and «і».
31
+ */
32
+ interface RingGeometry {
33
+ /** Plot box width, in pixels; the radii below are fractions of half of it. */
34
+ plotWidth: number;
35
+ /** Inner and outer radius of the ring, as fractions of the plot radius. */
36
+ band: [number, number];
37
+ fontSize: number;
38
+ fontFamily: string;
39
+ }
40
+ /**
41
+ * A category label on the slice instead of a percent, for dimensions whose
42
+ * labels are guaranteed short — a year, a quarter. The producer opts in; a
43
+ * product name on a slice would be clipped to meaninglessness.
44
+ *
45
+ * Long labels are still possible (a producer can mislabel a dimension), so the
46
+ * label is dropped rather than clipped once it cannot fit the arc. Without a
47
+ * measurable geometry — a plot box of zero width, a server render — the label
48
+ * is kept: dropping it would hide data on the strength of a measurement that
49
+ * was never taken.
50
+ */
51
+ export declare function sliceCategoryLabel(name: string | undefined, share: number | undefined, geometry?: RingGeometry): string;
52
+ /**
53
+ * The callout beside a slice: what it is, and how much of the whole it is.
54
+ *
55
+ * The share used to be dropped on a narrow plot, which is where the name alone
56
+ * says least — a screenshot of a compact donut carried no quantity at all, and
57
+ * the only place the percentage existed was a hover the picture cannot record.
58
+ * The amount is the part that goes: it is the longest of the three, the legend
59
+ * and the centre total both carry it, and it is what pushed «Payme» to «Pa…».
60
+ */
61
+ export declare function donutSliceLabel(params: unknown, input: ChartInput): string;
62
+ /**
63
+ * The value bounds a chart should hold when a derived overlay leaves the range
64
+ * of the data it was derived from.
65
+ *
66
+ * A linear regression over «Поступления денежных средств» extrapolates below
67
+ * zero. Left to itself the axis grows to −20bn to keep the fitted line whole,
68
+ * and the measured series — the reason the panel exists — collapses into the
69
+ * top third of the plot. The data (and any stated threshold, which the reader
70
+ * must be able to see) defines the frame; an extrapolation that leaves it is
71
+ * clipped at the edge, where it visibly runs out of the plot.
72
+ *
73
+ * Only the side an overlay would have pushed is pinned, and never tighter than
74
+ * the baseline ECharts would have chosen anyway: pinning both ends would turn a
75
+ * zero-based axis into one that starts at the data's floor, and a non-zero
76
+ * baseline exaggerates every movement on the plot. An ordinary chart, and the
77
+ * end no overlay reaches, keep ECharts' own axis.
78
+ */
79
+ export declare function clampedValueBounds(data: readonly number[], overlay: readonly number[]): {
80
+ min?: number;
81
+ max?: number;
82
+ } | undefined;
83
+ /**
84
+ * The axis labels that carry an annotation, as the axis prints them.
85
+ *
86
+ * The mark for an event is a dot on its own tick, and hovering that tick names
87
+ * it — so the adapter, which owns the axis hover bubble, needs the same
88
+ * mapping the axis formatter uses.
89
+ */
90
+ export declare function annotatedAxisValues(input: ChartInput, shown?: ReadonlySet<string>): string[];
91
+ /**
92
+ * The annotations standing at one axis value, for the tick's hover bubble.
93
+ * The value arrives as ECharts hands it over: a category string on a category
94
+ * axis, a timestamp on a time one.
95
+ */
96
+ export declare function annotationsAtAxisValue(input: ChartInput, raw: unknown): string[];
97
+ /**
98
+ * The most marks that can carry a printed value.
99
+ *
100
+ * Above it `labelLayout: { hideOverlap: true }` starts dropping labels by
101
+ * collision, which is non-deterministic in reading order: the chart then shows
102
+ * figures for an arbitrary subset of its bars, which reads as missing data
103
+ * rather than as a layout decision. Below it every mark gets its value or none
104
+ * does. Twelve is where a 500px panel stops being able to hold a formatted
105
+ * money label per bar without them touching.
106
+ */
107
+ export declare const maximumLabelledMarks = 12;
108
+ /**
109
+ * Whether this panel prints its values on the marks.
110
+ *
111
+ * Data labels are a producer-owned, explicit presentation decision. Runtime
112
+ * heuristics may change axes and tooltips to preserve readability, but must not
113
+ * add ink that the document did not request. The mark ceiling still prevents an
114
+ * explicit request from producing a non-deterministic subset of labels.
115
+ */
116
+ export declare function shouldPrintDataLabels(options: {
117
+ explicit?: boolean;
118
+ logarithmic: boolean;
119
+ obscured: boolean;
120
+ isBar: boolean;
121
+ stacked: boolean;
122
+ markCount: number;
123
+ }): boolean;
124
+ /**
125
+ * The stride at which a category axis prints its ticks.
126
+ *
127
+ * ECharts decides this from measured label widths, which is why two panels
128
+ * stacked over the same quarters — the premium bars and the ratio line beneath
129
+ * them — labelled every third quarter and every second one respectively, and
130
+ * could not be read against each other at all. Deriving the stride from the
131
+ * category count alone makes it a property of the domain, so two panels sharing
132
+ * a domain share a grid whatever their labels happen to measure.
133
+ */
134
+ export declare function categoryTickInterval(count: number, maximumTicks?: number): number;
135
+ /**
136
+ * How much of a horizontal bar chart's width its category names may take.
137
+ *
138
+ * The cap was a flat 260px. In a 407px panel that is two thirds of the canvas:
139
+ * the zero tick disappeared, nine of eleven bars drew at zero width, and the
140
+ * longest bar ended exactly at the plot edge — a chart stating nothing, on a
141
+ * panel whose neighbour at the same width was fine. What differed was label
142
+ * length, so the allowance is now a share of the plot rather than a constant.
143
+ */
144
+ export declare function categoryLabelWidth(plotWidth: number | undefined): number;
145
+ /**
146
+ * The same allowance expressed as the string length that fits in it.
147
+ *
148
+ * `axisLabel.width` clips the drawn glyphs; this shortens the string before it
149
+ * is drawn, so a name that does not fit loses its middle rather than its end
150
+ * and keeps both identifying halves. The two have to be derived from one
151
+ * number or the ellipsis lands somewhere other than the clip.
152
+ *
153
+ * It is also the honest test for "the label decision changed": the allowance
154
+ * moves with every pixel of the box, but what a reader sees only changes when
155
+ * this does. The mounted adapter rebuilds on that, not on the raw width.
156
+ */
157
+ export declare function categoryLabelLimit(plotWidth: number | undefined): number;
158
+ /** Preserve both identifying ends of long catalogue names on narrow axes. */
159
+ export declare function middleEllipsis(value: string, limit?: number): string;
160
+ /** Clamp log whitespace to the next fifth of the leading magnitude. */
161
+ export declare function niceLogMaximum(maximum: number): number;
162
+ export declare function buildChartOption(input: ChartInput, theme: EChartsTheme): EChartsOption;
163
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../src/charts/echarts/options.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,49 @@
1
+ import type { Theme } from '../../contract';
2
+ export interface EChartsTheme {
3
+ card: string;
4
+ text: string;
5
+ mutedText: string;
6
+ faintText: string;
7
+ border: string;
8
+ divider: string;
9
+ selectedBorder: string;
10
+ fontFamily: string;
11
+ /** The ink a stated threshold is drawn in, and the wash behind its chip. */
12
+ warn: string;
13
+ warnSoft: string;
14
+ /** The ink an annotated event is marked with on the axis. */
15
+ accent: string;
16
+ /** The ink a fitted line is drawn in — never a data series' own hue. */
17
+ trend: string;
18
+ /**
19
+ * The chrome a floating surface carries, read from the same tokens the
20
+ * stylesheet's popovers use. A tooltip is appended to `body`, outside
21
+ * `.lens-root`, so it cannot resolve a `var()` of its own — and ECharts paints
22
+ * the rest of its box on canvas, which never could. Resolving the tokens here
23
+ * is the only way a chart tooltip and a facet popover can be the same object.
24
+ */
25
+ popoverShadow: string;
26
+ /**
27
+ * How far a mark steps back while a sibling is pointed at. Only a chart that
28
+ * is read against its whole — a pie, a donut, a radial partition — quiets its
29
+ * siblings at all; the rule and the reasoning live with the token in the
30
+ * stylesheet. Canvas cannot read a `var()`, so the number crosses here.
31
+ */
32
+ quietOpacity: number;
33
+ cardRadius: number;
34
+ /**
35
+ * The type scale, in the numbers canvas needs. Every size a chart draws comes
36
+ * from the same ten steps the stylesheet uses, so a chart label cannot invent
37
+ * an eleventh.
38
+ */
39
+ type: {
40
+ xs: number;
41
+ sm: number;
42
+ base: number;
43
+ md: number;
44
+ };
45
+ colors: string[];
46
+ seriesColor(name: string): string | undefined;
47
+ }
48
+ export declare function buildEChartsTheme(element: HTMLElement, theme: Theme): EChartsTheme;
49
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/charts/echarts/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAI3C,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,4EAA4E;IAC5E,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,6DAA6D;IAC7D,MAAM,EAAE,MAAM,CAAA;IACd,wEAAwE;IACxE,KAAK,EAAE,MAAM,CAAA;IACb;;;;;;OAMG;IACH,aAAa,EAAE,MAAM,CAAA;IACrB;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,IAAI,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAA;IAC1D,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;CAC9C;AAsBD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,GAAG,YAAY,CAwClF"}
@@ -0,0 +1,79 @@
1
+ import type { EChartsTheme } from './theme';
2
+ /**
3
+ * Tooltips render at `body` level, not inside the chart container: a panel
4
+ * card clips its own overflow, so a tooltip anchored near the card edge was
5
+ * cut off. From `body` ECharts flips it against the viewport instead, and the
6
+ * pinned z-index keeps it above the expanded-panel dialog, which portals to
7
+ * `body` too.
8
+ */
9
+ export declare const tooltipZIndex = 2147483600;
10
+ /**
11
+ * Marks every tooltip node this runtime creates. Living outside the chart
12
+ * container, a tooltip is no longer torn down with it — the adapter needs a way
13
+ * to find the nodes it is responsible for without touching anything else the
14
+ * host page appended to `body`.
15
+ */
16
+ export declare const tooltipClassName = "lens-echarts-tooltip";
17
+ /**
18
+ * Takes the amount it sits beside, unformatted, to the clipboard.
19
+ *
20
+ * The button is markup rather than a component because an ECharts tooltip is an
21
+ * HTML string the chart owns; the click is answered by one delegate below, for
22
+ * the same reason. `data-lens-copy` carries the machine value — plain digits in
23
+ * the unit the figure is drawn in — so the delegate never has to parse a
24
+ * formatted number back into one.
25
+ */
26
+ export declare function tooltipCopyButton(raw: string | undefined, label: string): string;
27
+ /**
28
+ * One listener for every chart's tooltips, installed on first mount.
29
+ *
30
+ * A tooltip is handed to `body` and rebuilt on every hover, so nothing inside it
31
+ * can own a listener; and a listener per chart would answer one click as many
32
+ * times as there are charts on the page. This is scoped to the class this
33
+ * runtime puts on its own tooltip nodes, so it never sees a click the host
34
+ * page's own DOM produced.
35
+ */
36
+ export declare function installTooltipCopyDelegate(copiedLabel: () => string): void;
37
+ /**
38
+ * What clicking this mark does, at the foot of the card that names the mark.
39
+ *
40
+ * The same sentence used to be the accessible name of a glyph in the notes row
41
+ * above the plot — the corner of the card furthest from where the reader is
42
+ * pointing, and the one place a pointer never visits. Here it costs nothing at
43
+ * rest, appears with the reading it applies to, and is already under the
44
+ * cursor. Empty when the plot is inert: a tooltip must not offer a click that
45
+ * does nothing.
46
+ */
47
+ export declare function tooltipActionFooter(hint: string | undefined): string;
48
+ /**
49
+ * Tooltip settings shared by every chart kind.
50
+ *
51
+ * The chrome is the app's popover chrome, resolved from the same tokens: a
52
+ * chart tooltip used to be a 4px box with a flat hairline and a minimal shadow,
53
+ * beside facet popovers and info tips built on `--lens-radius-card` and
54
+ * `--lens-shadow-popover`. Two floating surfaces on one page were two different
55
+ * objects for no reason a reader could name.
56
+ *
57
+ * It lives in its own module because the distribution kinds need it too, and
58
+ * they are reached *from* the option builder — importing it back out of that
59
+ * file would close a cycle. Not importing it is what left histogram, boxplot
60
+ * and heatmap tooltips clipped by the card for as long as those kinds existed.
61
+ */
62
+ export declare function tooltipChrome(theme: EChartsTheme): {
63
+ backgroundColor: string;
64
+ borderColor: string;
65
+ borderRadius: number;
66
+ padding: [number, number];
67
+ textStyle: {
68
+ color: string;
69
+ fontSize: number;
70
+ };
71
+ appendTo: string;
72
+ className: string;
73
+ confine: boolean;
74
+ extraCssText: string;
75
+ transitionDuration: number | undefined;
76
+ enterable: boolean;
77
+ hideDelay: number;
78
+ };
79
+ //# sourceMappingURL=tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/charts/echarts/tooltip.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,aAAa,CAAA;AAEvC;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,yBAAyB,CAAA;AAOtD;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAGhF;AAID;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CAAC,WAAW,EAAE,MAAM,MAAM,GAAG,IAAI,CAsB1E;AAWD;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAGpE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,YAAY;;;;aAKzB,CAAC,MAAM,EAAE,MAAM,CAAC;;;;;;;;;;;;EAsBvC"}
@@ -0,0 +1,9 @@
1
+ import type { ChartAdapter, ChartInput } from './adapter';
2
+ export type * from './adapter';
3
+ interface EChartsAdapterModule {
4
+ echartsAdapter: ChartAdapter;
5
+ prepareEChartsKind: (kind: ChartInput['kind']) => Promise<void>;
6
+ }
7
+ export declare function resolveChartAdapter(kind: ChartInput['kind'], load?: () => Promise<EChartsAdapterModule>): Promise<ChartAdapter>;
8
+ export declare function getChartAdapter(kind: ChartInput['kind']): Promise<ChartAdapter>;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/charts/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAEzD,mBAAmB,WAAW,CAAA;AAE9B,UAAU,oBAAoB;IAC5B,cAAc,EAAE,YAAY,CAAA;IAC5B,kBAAkB,EAAE,CAAC,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CAChE;AAED,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,EACxB,IAAI,GAAE,MAAM,OAAO,CAAC,oBAAoB,CAAqC,GAC5E,OAAO,CAAC,YAAY,CAAC,CAIvB;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC,CAE/E"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Stable identity for a chart row when the producer has no explicit id field.
3
+ * A multi-series category has one mark per series, so the category alone is
4
+ * ambiguous (and used to make actionable stacked bars emit no selection at
5
+ * all). The prefix keeps this fallback disjoint from ordinary producer ids.
6
+ */
7
+ export declare function fallbackMarkKey(category: string, series: string): string | undefined;
8
+ //# sourceMappingURL=keys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../src/charts/keys.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAIpF"}