@syidax/advanced 0.0.0-stage → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2206) hide show
  1. package/LICENSE.md +360 -0
  2. package/NOTICE.md +8554 -0
  3. package/README.md +28 -2
  4. package/dist/advanced/advanced.esm.js +1 -0
  5. package/dist/advanced/index.esm.js +1 -0
  6. package/dist/advanced/p-047a8d2a.entry.js +1 -0
  7. package/dist/advanced/p-0d722333.entry.js +1 -0
  8. package/dist/advanced/p-10092cd7.entry.js +1 -0
  9. package/dist/advanced/p-3bfe768d.entry.js +1 -0
  10. package/dist/advanced/p-3c0e11bb.entry.js +1 -0
  11. package/dist/advanced/p-425cc46f.entry.js +1 -0
  12. package/dist/advanced/p-46a30369.entry.js +1 -0
  13. package/dist/advanced/p-4729eab2.entry.js +1 -0
  14. package/dist/advanced/p-4CjYGJmq.js +1 -0
  15. package/dist/advanced/p-4c936a0b.entry.js +1 -0
  16. package/dist/advanced/p-4d4d7a4e.entry.js +1 -0
  17. package/dist/advanced/p-52ccaa06.entry.js +2 -0
  18. package/dist/advanced/p-5a331221.entry.js +1 -0
  19. package/dist/advanced/p-5a901d75.entry.js +1 -0
  20. package/dist/advanced/p-5fe7ccff.entry.js +1 -0
  21. package/dist/advanced/p-6cc14adc.entry.js +1 -0
  22. package/dist/advanced/p-754e1389.entry.js +1 -0
  23. package/dist/advanced/p-7953cc9e.entry.js +1 -0
  24. package/dist/advanced/p-81391f84.entry.js +1 -0
  25. package/dist/advanced/p-84491b0f.entry.js +1 -0
  26. package/dist/advanced/p-84631cf9.entry.js +1 -0
  27. package/dist/advanced/p-87416587.entry.js +1 -0
  28. package/dist/advanced/p-89b3d2c2.entry.js +1 -0
  29. package/dist/advanced/p-8d7b586a.entry.js +1 -0
  30. package/dist/advanced/p-9d1f8f10.entry.js +1 -0
  31. package/dist/advanced/p-AzDRbG7D.js +1 -0
  32. package/dist/advanced/p-B6K1arcd.js +1 -0
  33. package/dist/advanced/p-BKZM2o7w.js +1 -0
  34. package/dist/advanced/p-BVmDGX0a.js +1 -0
  35. package/dist/advanced/p-BYBaMhHn.js +1 -0
  36. package/dist/advanced/p-Bl66fnTv.js +1 -0
  37. package/dist/advanced/p-Brtcd7ZV.js +1 -0
  38. package/dist/advanced/p-BsBcTKjx.js +1 -0
  39. package/dist/advanced/p-BwM4aW0R.js +1 -0
  40. package/dist/advanced/p-BwtrZuf8.js +1 -0
  41. package/dist/advanced/p-C-xxpQIO.js +1 -0
  42. package/dist/advanced/p-C0f63Npv.js +1 -0
  43. package/dist/advanced/p-C1RaN8eG.js +1 -0
  44. package/dist/advanced/p-C1vfsnDY.js +1 -0
  45. package/dist/advanced/p-C374wsaF.js +1 -0
  46. package/dist/advanced/p-CFyLRM--.js +1 -0
  47. package/dist/advanced/p-CIwqM40T.js +1 -0
  48. package/dist/advanced/p-CKEqyWf8.js +1 -0
  49. package/dist/advanced/p-CMRCw_kT.js +4 -0
  50. package/dist/advanced/p-CTrT2jn4.js +1 -0
  51. package/dist/advanced/p-C_2TIPHD.js +1 -0
  52. package/dist/advanced/p-CitzwxIw.js +1 -0
  53. package/dist/advanced/p-D4a88iaH.js +7 -0
  54. package/dist/advanced/p-D5aEHK78.js +1 -0
  55. package/dist/advanced/p-D6sPnRDQ.js +1 -0
  56. package/dist/advanced/p-D8Cooryu.js +1 -0
  57. package/dist/advanced/p-DChj4qx2.js +1 -0
  58. package/dist/advanced/p-DEKAlpFE.js +1 -0
  59. package/dist/advanced/p-DO6vGxJP.js +1 -0
  60. package/dist/advanced/p-DQ1RB1XB.js +1 -0
  61. package/dist/advanced/p-DQuL1Twl.js +1 -0
  62. package/dist/advanced/p-DTZUbymc.js +1 -0
  63. package/dist/advanced/p-DUELYDa7.js +1 -0
  64. package/dist/advanced/p-DXJS1EXW.js +1 -0
  65. package/dist/advanced/p-DYKIyOfR.js +1 -0
  66. package/dist/advanced/p-Dd9TQ3qQ.js +1 -0
  67. package/dist/advanced/p-DdNwMQsx.js +1 -0
  68. package/dist/advanced/p-Dl9apb8A.js +1 -0
  69. package/dist/advanced/p-DogpgTFv.js +1 -0
  70. package/dist/advanced/p-Dx-FsUbT.js +1 -0
  71. package/dist/advanced/p-Dz9vozhJ.js +1 -0
  72. package/dist/advanced/p-EXuVQfpl.js +1 -0
  73. package/dist/advanced/p-HAy9hTj2.js +1 -0
  74. package/dist/advanced/p-I8kmugWt.js +1 -0
  75. package/dist/advanced/p-S3uzYKsD.js +1 -0
  76. package/dist/advanced/p-WQSantHg.js +1 -0
  77. package/dist/advanced/p-Yjd8T1ZK.js +1 -0
  78. package/dist/advanced/p-_AFoWkvk.js +1 -0
  79. package/dist/advanced/p-aafa98ca.entry.js +1 -0
  80. package/dist/advanced/p-ab6a2087.entry.js +1 -0
  81. package/dist/advanced/p-aed71cba.entry.js +1 -0
  82. package/dist/advanced/p-e0549f37.entry.js +1 -0
  83. package/dist/advanced/p-ea07ff0e.entry.js +1 -0
  84. package/dist/advanced/p-ee62b647.entry.js +1 -0
  85. package/dist/advanced/p-f5148ac0.entry.js +1 -0
  86. package/dist/advanced/p-f8102c9d.entry.js +1 -0
  87. package/dist/advanced/p-f87fee01.entry.js +1 -0
  88. package/dist/advanced/p-gsi3BtH2.js +1 -0
  89. package/dist/advanced/p-kJe8wHkN.js +1 -0
  90. package/dist/advanced/p-nxlSIIWU.js +1 -0
  91. package/dist/advanced/p-smFnxv_V.js +1 -0
  92. package/dist/advanced/p-x7RF8NVg.js +1 -0
  93. package/dist/advanced/p-zrH7aO3p.js +1 -0
  94. package/dist/assets/style/advanced.css +1 -0
  95. package/dist/assets/style/board.css +0 -0
  96. package/dist/assets/style/chart.css +1 -0
  97. package/dist/assets/style/grid.css +0 -0
  98. package/dist/cjs/_syidax-chart-build-tier-De_XDaQO.js +1 -0
  99. package/dist/cjs/advanced.cjs.js +1 -0
  100. package/dist/cjs/app-globals-V2Kpy_OQ.js +1 -0
  101. package/dist/cjs/auto-labels-biCCU4IR.js +1 -0
  102. package/dist/cjs/axis-label-thinning-xlRYEkLr.js +1 -0
  103. package/dist/cjs/brand-logo-CJN4NV6G.js +1 -0
  104. package/dist/cjs/brand-mark-default-DvQHU2qS.js +1 -0
  105. package/dist/cjs/brush-interaction-DLBwLxOH.js +1 -0
  106. package/dist/cjs/cartesian-contract-BVApIzMy.js +1 -0
  107. package/dist/cjs/cartesian-frame-interaction-w1OfXe9B.js +1 -0
  108. package/dist/cjs/cartesian-series-contract-IfUitFYk.js +1 -0
  109. package/dist/cjs/cf-builder-chunk-D6ajo9Mh.js +1 -0
  110. package/dist/cjs/chart-brand-CEKOnWyE.js +1 -0
  111. package/dist/cjs/chart-brand-license-COyo1Vbl.js +1 -0
  112. package/dist/cjs/chart-element-loader-BGPJwN21.js +1 -0
  113. package/dist/cjs/chart-license-bridge-DAODso1A.js +1 -0
  114. package/dist/cjs/chart-streaming-gate-DX4tlXCx.js +1 -0
  115. package/dist/cjs/column-stack-BbD_lcgG.js +1 -0
  116. package/dist/cjs/component-runtime-chunk-BCXKlIzs.js +1 -0
  117. package/dist/cjs/connector-8ebOKxbI.js +1 -0
  118. package/dist/cjs/contracts-CtPI2qPw.js +1 -0
  119. package/dist/cjs/data-zoom-model-DWEnQJnh.js +1 -0
  120. package/dist/cjs/data-zoom-target-BO1_-I0t.js +1 -0
  121. package/dist/cjs/device-pixel-box-COQLb1eD.js +1 -0
  122. package/dist/cjs/drawing-export-CdJsjlzv.js +1 -0
  123. package/dist/cjs/engine-swap-license-BYrMn26A.js +1 -0
  124. package/dist/cjs/errors-DNua3ZWy.js +1 -0
  125. package/dist/cjs/grid-import-chunk-BlBvP3p6.js +1 -0
  126. package/dist/cjs/grid-license-session-BRxDNKOX.js +7 -0
  127. package/dist/cjs/index-BS2KctDY.js +1 -0
  128. package/dist/cjs/index-CKeHnO3Q.js +5 -0
  129. package/dist/cjs/index.cjs.js +1 -0
  130. package/dist/cjs/interpolate-BWPQ5Hyd.js +1 -0
  131. package/dist/cjs/legend-CbjQG1uh.js +1 -0
  132. package/dist/cjs/legend-interaction-Cc6htppF.js +1 -0
  133. package/dist/cjs/live-object-model-CjPqHT6U.js +1 -0
  134. package/dist/cjs/loader.cjs.js +1 -0
  135. package/dist/cjs/number-Dq6GiQsL.js +1 -0
  136. package/dist/cjs/parse-CoFqMZ-2.js +1 -0
  137. package/dist/cjs/pie-animator-Bvgo8ICN.js +1 -0
  138. package/dist/cjs/pie-geometry-d5pwtOxJ.js +1 -0
  139. package/dist/cjs/point-context-menu-CWB4nv9m.js +1 -0
  140. package/dist/cjs/resolve-Cti85ZtE.js +1 -0
  141. package/dist/cjs/row-drag-chunk-kA4TVsmj.js +1 -0
  142. package/dist/cjs/row-layout-chunk-CyH-tG1Y.js +1 -0
  143. package/dist/cjs/safe-formatter-B0DDURao.js +1 -0
  144. package/dist/cjs/scheme-KzZHS7kW.js +1 -0
  145. package/dist/cjs/standard-engine-status-C4zMZsEh.js +1 -0
  146. package/dist/cjs/stream-interp-CVi5SGFf.js +1 -0
  147. package/dist/cjs/sy-area-chart.cjs.entry.js +1 -0
  148. package/dist/cjs/sy-bar-chart.cjs.entry.js +1 -0
  149. package/dist/cjs/sy-bubble-chart.cjs.entry.js +1 -0
  150. package/dist/cjs/sy-chart.cjs.entry.js +2 -0
  151. package/dist/cjs/sy-column-chart.cjs.entry.js +1 -0
  152. package/dist/cjs/sy-data-zoom.cjs.entry.js +1 -0
  153. package/dist/cjs/sy-dot-plot-chart.cjs.entry.js +1 -0
  154. package/dist/cjs/sy-dumbbell-chart.cjs.entry.js +1 -0
  155. package/dist/cjs/sy-funnel-chart.cjs.entry.js +1 -0
  156. package/dist/cjs/sy-gauge-chart.cjs.entry.js +1 -0
  157. package/dist/cjs/sy-grid.sy-grid-standard-BNEY4YEK.js +4 -0
  158. package/dist/cjs/sy-grid_2.cjs.entry.js +1 -0
  159. package/dist/cjs/sy-histogram-chart.cjs.entry.js +1 -0
  160. package/dist/cjs/sy-item-chart.cjs.entry.js +1 -0
  161. package/dist/cjs/sy-line-chart-path-Cfasx_t5.js +1 -0
  162. package/dist/cjs/sy-line-chart.cjs.entry.js +1 -0
  163. package/dist/cjs/sy-lollipop-chart.cjs.entry.js +1 -0
  164. package/dist/cjs/sy-marimekko-chart.cjs.entry.js +1 -0
  165. package/dist/cjs/sy-navigator.cjs.entry.js +1 -0
  166. package/dist/cjs/sy-pareto-chart.cjs.entry.js +1 -0
  167. package/dist/cjs/sy-pictorial-chart.cjs.entry.js +1 -0
  168. package/dist/cjs/sy-pie-chart.cjs.entry.js +1 -0
  169. package/dist/cjs/sy-polar-chart.cjs.entry.js +1 -0
  170. package/dist/cjs/sy-radar-chart.cjs.entry.js +1 -0
  171. package/dist/cjs/sy-scatter-chart.cjs.entry.js +1 -0
  172. package/dist/cjs/sy-stem-leaf-chart.cjs.entry.js +1 -0
  173. package/dist/cjs/sy-tilemap.cjs.entry.js +1 -0
  174. package/dist/cjs/sy-tornado-chart.cjs.entry.js +1 -0
  175. package/dist/cjs/sy-variwide-chart.cjs.entry.js +1 -0
  176. package/dist/cjs/sy-visual-map.cjs.entry.js +1 -0
  177. package/dist/cjs/sy-wafer-correlation.cjs.entry.js +1 -0
  178. package/dist/cjs/sy-wafer-map.cjs.entry.js +1 -0
  179. package/dist/cjs/sy-wafer-stack.cjs.entry.js +1 -0
  180. package/dist/cjs/sy-word-cloud.cjs.entry.js +1 -0
  181. package/dist/cjs/sy-yield-zone-chart.cjs.entry.js +1 -0
  182. package/dist/cjs/types-jSXHeK-g.js +1 -0
  183. package/dist/cjs/viewport-zoom-h9w4q7XJ.js +1 -0
  184. package/dist/cjs/visual-map-binding-Ddnoet7F.js +1 -0
  185. package/dist/cjs/wafer-stack-1qlPI-im.js +1 -0
  186. package/dist/cjs/wafer-value-CZzFL0S-.js +1 -0
  187. package/dist/cjs/zoom-interaction-C3K9MKr2.js +1 -0
  188. package/dist/cjs/zoom-window-oCyi6HPg.js +1 -0
  189. package/dist/collection/collection-manifest.json +213 -0
  190. package/dist/collection/components/_shared/brand/brand-decision.js +1 -0
  191. package/dist/collection/components/_shared/brand/brand-export-default.js +1 -0
  192. package/dist/collection/components/_shared/brand/brand-export.js +1 -0
  193. package/dist/collection/components/_shared/brand/brand-integrity.js +1 -0
  194. package/dist/collection/components/_shared/brand/brand-lockup-default.js +1 -0
  195. package/dist/collection/components/_shared/brand/brand-logo.js +1 -0
  196. package/dist/collection/components/_shared/brand/brand-mark-default.js +1 -0
  197. package/dist/collection/components/_shared/brand/brand-mark.js +1 -0
  198. package/dist/collection/components/_shared/brand/index.js +1 -0
  199. package/dist/collection/components/_shared/brand/types.js +1 -0
  200. package/dist/collection/components/chart/_shared/core/a11y/a11y.js +1 -0
  201. package/dist/collection/components/chart/_shared/core/a11y/contrast.js +1 -0
  202. package/dist/collection/components/chart/_shared/core/a11y/index.js +1 -0
  203. package/dist/collection/components/chart/_shared/core/action/action-contract.js +1 -0
  204. package/dist/collection/components/chart/_shared/core/action/index.js +1 -0
  205. package/dist/collection/components/chart/_shared/core/adapter/animatable-mark.js +1 -0
  206. package/dist/collection/components/chart/_shared/core/adapter/deferred-pro-renderer.js +1 -0
  207. package/dist/collection/components/chart/_shared/core/adapter/gpu-availability.js +1 -0
  208. package/dist/collection/components/chart/_shared/core/adapter/index.js +1 -0
  209. package/dist/collection/components/chart/_shared/core/adapter/streamable-series.js +1 -0
  210. package/dist/collection/components/chart/_shared/core/animation/flip.js +1 -0
  211. package/dist/collection/components/chart/_shared/core/animation/heatmap-animator.js +1 -0
  212. package/dist/collection/components/chart/_shared/core/animation/index.js +1 -0
  213. package/dist/collection/components/chart/_shared/core/animation/interruptible.js +1 -0
  214. package/dist/collection/components/chart/_shared/core/animation/morph-paint-order.js +1 -0
  215. package/dist/collection/components/chart/_shared/core/animation/scene3d-exit.js +1 -0
  216. package/dist/collection/components/chart/_shared/core/animation/stream-interp.js +1 -0
  217. package/dist/collection/components/chart/_shared/core/animation/transition.js +1 -0
  218. package/dist/collection/components/chart/_shared/core/animation/tween.js +1 -0
  219. package/dist/collection/components/chart/_shared/core/annotation/index.js +1 -0
  220. package/dist/collection/components/chart/_shared/core/axis/auto-labels.js +1 -0
  221. package/dist/collection/components/chart/_shared/core/axis/axis-base.js +1 -0
  222. package/dist/collection/components/chart/_shared/core/axis/category-axis.js +1 -0
  223. package/dist/collection/components/chart/_shared/core/axis/index.js +1 -0
  224. package/dist/collection/components/chart/_shared/core/axis/label-collision.js +1 -0
  225. package/dist/collection/components/chart/_shared/core/axis/linear-axis.js +1 -0
  226. package/dist/collection/components/chart/_shared/core/axis/log-axis.js +1 -0
  227. package/dist/collection/components/chart/_shared/core/axis/time-axis.js +1 -0
  228. package/dist/collection/components/chart/_shared/core/brand/brand-placement.js +1 -0
  229. package/dist/collection/components/chart/_shared/core/brand/chart-brand-config.js +1 -0
  230. package/dist/collection/components/chart/_shared/core/brand/chart-brand-export.js +1 -0
  231. package/dist/collection/components/chart/_shared/core/brand/chart-brand-host.js +1 -0
  232. package/dist/collection/components/chart/_shared/core/brand/chart-brand-lazy.js +1 -0
  233. package/dist/collection/components/chart/_shared/core/brand/chart-brand-palette.js +1 -0
  234. package/dist/collection/components/chart/_shared/core/brand/chart-brand-theme.js +1 -0
  235. package/dist/collection/components/chart/_shared/core/brand/chart-brand.js +1 -0
  236. package/dist/collection/components/chart/_shared/core/brand/license/chart-brand-license.js +1 -0
  237. package/dist/collection/components/chart/_shared/core/brush/brush-contract.js +1 -0
  238. package/dist/collection/components/chart/_shared/core/brush/brush-geometry.js +1 -0
  239. package/dist/collection/components/chart/_shared/core/brush/brush-interaction.js +1 -0
  240. package/dist/collection/components/chart/_shared/core/brush/index.js +1 -0
  241. package/dist/collection/components/chart/_shared/core/color/heatmap-color.js +1 -0
  242. package/dist/collection/components/chart/_shared/core/color/index.js +1 -0
  243. package/dist/collection/components/chart/_shared/core/color/interpolate.js +1 -0
  244. package/dist/collection/components/chart/_shared/core/color/named-colors.js +1 -0
  245. package/dist/collection/components/chart/_shared/core/color/parse.js +1 -0
  246. package/dist/collection/components/chart/_shared/core/color/resolve.js +1 -0
  247. package/dist/collection/components/chart/_shared/core/color/rgba.js +1 -0
  248. package/dist/collection/components/chart/_shared/core/color/scheme.js +1 -0
  249. package/dist/collection/components/chart/_shared/core/contract/bar3d-contract.js +1 -0
  250. package/dist/collection/components/chart/_shared/core/contract/box-plot-contract.js +1 -0
  251. package/dist/collection/components/chart/_shared/core/contract/bubble-contract.js +1 -0
  252. package/dist/collection/components/chart/_shared/core/contract/calendar-heatmap-contract.js +1 -0
  253. package/dist/collection/components/chart/_shared/core/contract/candlestick-contract.js +1 -0
  254. package/dist/collection/components/chart/_shared/core/contract/cartesian-contract.js +1 -0
  255. package/dist/collection/components/chart/_shared/core/contract/cartesian-series-contract.js +1 -0
  256. package/dist/collection/components/chart/_shared/core/contract/chord-contract.js +1 -0
  257. package/dist/collection/components/chart/_shared/core/contract/dendrogram-contract.js +1 -0
  258. package/dist/collection/components/chart/_shared/core/contract/density-map-contract.js +1 -0
  259. package/dist/collection/components/chart/_shared/core/contract/error-bar-contract.js +1 -0
  260. package/dist/collection/components/chart/_shared/core/contract/flow-lines-contract.js +1 -0
  261. package/dist/collection/components/chart/_shared/core/contract/gantt-contract.js +1 -0
  262. package/dist/collection/components/chart/_shared/core/contract/geo-map-contract.js +1 -0
  263. package/dist/collection/components/chart/_shared/core/contract/geo-map-features-contract.js +1 -0
  264. package/dist/collection/components/chart/_shared/core/contract/heatmap-contract.js +1 -0
  265. package/dist/collection/components/chart/_shared/core/contract/icicle-contract.js +1 -0
  266. package/dist/collection/components/chart/_shared/core/contract/index.js +1 -0
  267. package/dist/collection/components/chart/_shared/core/contract/network-graph-contract.js +1 -0
  268. package/dist/collection/components/chart/_shared/core/contract/parallel-coordinates-contract.js +1 -0
  269. package/dist/collection/components/chart/_shared/core/contract/sankey-contract.js +1 -0
  270. package/dist/collection/components/chart/_shared/core/contract/scatter3d-contract.js +1 -0
  271. package/dist/collection/components/chart/_shared/core/contract/scene3d-camera-contract.js +1 -0
  272. package/dist/collection/components/chart/_shared/core/contract/scene3d-chart-contract.js +1 -0
  273. package/dist/collection/components/chart/_shared/core/contract/scene3d-lighting-contract.js +1 -0
  274. package/dist/collection/components/chart/_shared/core/contract/scene3d-orbit-contract.js +1 -0
  275. package/dist/collection/components/chart/_shared/core/contract/spectrogram-contract.js +1 -0
  276. package/dist/collection/components/chart/_shared/core/contract/sunburst-contract.js +1 -0
  277. package/dist/collection/components/chart/_shared/core/contract/surface3d-contract.js +1 -0
  278. package/dist/collection/components/chart/_shared/core/contract/theme-river-contract.js +1 -0
  279. package/dist/collection/components/chart/_shared/core/contract/treemap-contract.js +1 -0
  280. package/dist/collection/components/chart/_shared/core/contract/waterfall-contract.js +1 -0
  281. package/dist/collection/components/chart/_shared/core/crosshair/category-snap.js +1 -0
  282. package/dist/collection/components/chart/_shared/core/crosshair/crosshair.js +1 -0
  283. package/dist/collection/components/chart/_shared/core/crosshair/index.js +1 -0
  284. package/dist/collection/components/chart/_shared/core/data/dataset.js +1 -0
  285. package/dist/collection/components/chart/_shared/core/data/encode.js +1 -0
  286. package/dist/collection/components/chart/_shared/core/data/index.js +1 -0
  287. package/dist/collection/components/chart/_shared/core/data/transforms.js +1 -0
  288. package/dist/collection/components/chart/_shared/core/data/values-attribute.js +1 -0
  289. package/dist/collection/components/chart/_shared/core/drawing/drawing-contract.js +1 -0
  290. package/dist/collection/components/chart/_shared/core/drawing/drawing-cursor.js +1 -0
  291. package/dist/collection/components/chart/_shared/core/drawing/drawing-export.js +1 -0
  292. package/dist/collection/components/chart/_shared/core/drawing/drawing-hit.js +1 -0
  293. package/dist/collection/components/chart/_shared/core/drawing/drawing-interaction.js +1 -0
  294. package/dist/collection/components/chart/_shared/core/drawing/drawing-measure.js +1 -0
  295. package/dist/collection/components/chart/_shared/core/drawing/drawing-projection.js +1 -0
  296. package/dist/collection/components/chart/_shared/core/drawing/drawing-tools.js +1 -0
  297. package/dist/collection/components/chart/_shared/core/drawing/index.js +1 -0
  298. package/dist/collection/components/chart/_shared/core/engine/resolve-chart-engine.js +1 -0
  299. package/dist/collection/components/chart/_shared/core/engine/types.js +1 -0
  300. package/dist/collection/components/chart/_shared/core/event/hit-test.js +1 -0
  301. package/dist/collection/components/chart/_shared/core/event/index.js +1 -0
  302. package/dist/collection/components/chart/_shared/core/event/point-context-menu.js +1 -0
  303. package/dist/collection/components/chart/_shared/core/event/pointer.js +1 -0
  304. package/dist/collection/components/chart/_shared/core/export/chart-export.js +2 -0
  305. package/dist/collection/components/chart/_shared/core/export/data-table.js +1 -0
  306. package/dist/collection/components/chart/_shared/core/export/html-overlay.js +1 -0
  307. package/dist/collection/components/chart/_shared/core/export/index.js +1 -0
  308. package/dist/collection/components/chart/_shared/core/export/svg-fonts.js +1 -0
  309. package/dist/collection/components/chart/_shared/core/financial-bars.js +1 -0
  310. package/dist/collection/components/chart/_shared/core/format/datetime.js +1 -0
  311. package/dist/collection/components/chart/_shared/core/format/duration.js +1 -0
  312. package/dist/collection/components/chart/_shared/core/format/index.js +1 -0
  313. package/dist/collection/components/chart/_shared/core/format/number.js +1 -0
  314. package/dist/collection/components/chart/_shared/core/format/safe-formatter.js +1 -0
  315. package/dist/collection/components/chart/_shared/core/graph/strongly-connected.js +1 -0
  316. package/dist/collection/components/chart/_shared/core/hover/highlight.js +1 -0
  317. package/dist/collection/components/chart/_shared/core/hover/index.js +1 -0
  318. package/dist/collection/components/chart/_shared/core/index.js +1 -0
  319. package/dist/collection/components/chart/_shared/core/layout/axis-label-thinning.js +1 -0
  320. package/dist/collection/components/chart/_shared/core/layout/cartesian-frame-interaction.js +1 -0
  321. package/dist/collection/components/chart/_shared/core/layout/cartesian-frame.js +1 -0
  322. package/dist/collection/components/chart/_shared/core/layout/cartesian-render-domain.js +1 -0
  323. package/dist/collection/components/chart/_shared/core/layout/device-pixel-box.js +1 -0
  324. package/dist/collection/components/chart/_shared/core/layout/frame.js +1 -0
  325. package/dist/collection/components/chart/_shared/core/layout/index.js +1 -0
  326. package/dist/collection/components/chart/_shared/core/layout/label-geometry.js +1 -0
  327. package/dist/collection/components/chart/_shared/core/layout/label-obstacle-index.js +1 -0
  328. package/dist/collection/components/chart/_shared/core/layout/legend-interaction.js +1 -0
  329. package/dist/collection/components/chart/_shared/core/layout/legend.js +1 -0
  330. package/dist/collection/components/chart/_shared/core/layout/plot-area.js +1 -0
  331. package/dist/collection/components/chart/_shared/core/layout/title.js +1 -0
  332. package/dist/collection/components/chart/_shared/core/license/chart-license-bridge.js +1 -0
  333. package/dist/collection/components/chart/_shared/core/license/chart-license-features.js +1 -0
  334. package/dist/collection/components/chart/_shared/core/license/chart-license-notice.js +1 -0
  335. package/dist/collection/components/chart/_shared/core/limits/point-cap.js +1 -0
  336. package/dist/collection/components/chart/_shared/core/loading/chart-build-tier.js +1 -0
  337. package/dist/collection/components/chart/_shared/core/loading/chart-element-loader.js +1 -0
  338. package/dist/collection/components/chart/_shared/core/loading/chart-load-controller.js +1 -0
  339. package/dist/collection/components/chart/_shared/core/loading/chart-type-rows.js +1 -0
  340. package/dist/collection/components/chart/_shared/core/loading/chart-type-table.js +1 -0
  341. package/dist/collection/components/chart/_shared/core/loading/index.js +1 -0
  342. package/dist/collection/components/chart/_shared/core/locale/index.js +1 -0
  343. package/dist/collection/components/chart/_shared/core/locale/locale.js +1 -0
  344. package/dist/collection/components/chart/_shared/core/math/ease.js +1 -0
  345. package/dist/collection/components/chart/_shared/core/math/index.js +1 -0
  346. package/dist/collection/components/chart/_shared/core/math/primitives.js +1 -0
  347. package/dist/collection/components/chart/_shared/core/math/stat.js +1 -0
  348. package/dist/collection/components/chart/_shared/core/menu/context-menu.js +1 -0
  349. package/dist/collection/components/chart/_shared/core/menu/index.js +1 -0
  350. package/dist/collection/components/chart/_shared/core/numeric/quickselect.js +1 -0
  351. package/dist/collection/components/chart/_shared/core/numeric/safe-numeric.js +1 -0
  352. package/dist/collection/components/chart/_shared/core/progressive/index.js +1 -0
  353. package/dist/collection/components/chart/_shared/core/progressive/progressive-draw.js +1 -0
  354. package/dist/collection/components/chart/_shared/core/scale/band.js +1 -0
  355. package/dist/collection/components/chart/_shared/core/scale/diverging.js +1 -0
  356. package/dist/collection/components/chart/_shared/core/scale/index.js +1 -0
  357. package/dist/collection/components/chart/_shared/core/scale/linear.js +1 -0
  358. package/dist/collection/components/chart/_shared/core/scale/log.js +1 -0
  359. package/dist/collection/components/chart/_shared/core/scale/ordinal.js +1 -0
  360. package/dist/collection/components/chart/_shared/core/scale/point.js +1 -0
  361. package/dist/collection/components/chart/_shared/core/scale/pow.js +1 -0
  362. package/dist/collection/components/chart/_shared/core/scale/quantile.js +1 -0
  363. package/dist/collection/components/chart/_shared/core/scale/quantize.js +1 -0
  364. package/dist/collection/components/chart/_shared/core/scale/sequential.js +1 -0
  365. package/dist/collection/components/chart/_shared/core/scale/symlog.js +1 -0
  366. package/dist/collection/components/chart/_shared/core/scale/threshold.js +1 -0
  367. package/dist/collection/components/chart/_shared/core/scale/tick-strategy.js +1 -0
  368. package/dist/collection/components/chart/_shared/core/scale/time-tick-strategy.js +1 -0
  369. package/dist/collection/components/chart/_shared/core/scale/time.js +1 -0
  370. package/dist/collection/components/chart/_shared/core/spatial/index.js +1 -0
  371. package/dist/collection/components/chart/_shared/core/spatial/kdtree.js +1 -0
  372. package/dist/collection/components/chart/_shared/core/spatial/kernel.js +1 -0
  373. package/dist/collection/components/chart/_shared/core/spatial/quadtree.js +1 -0
  374. package/dist/collection/components/chart/_shared/core/state/index.js +1 -0
  375. package/dist/collection/components/chart/_shared/core/state/state-model.js +1 -0
  376. package/dist/collection/components/chart/_shared/core/stream/batch-flush-runtime.js +1 -0
  377. package/dist/collection/components/chart/_shared/core/stream/batch-flush.js +1 -0
  378. package/dist/collection/components/chart/_shared/core/stream/category-upserts.js +1 -0
  379. package/dist/collection/components/chart/_shared/core/stream/frame-budget.js +1 -0
  380. package/dist/collection/components/chart/_shared/core/stream/index.js +1 -0
  381. package/dist/collection/components/chart/_shared/core/stream/keyed-object-stream-runtime.js +1 -0
  382. package/dist/collection/components/chart/_shared/core/stream/keyed-object-stream.js +1 -0
  383. package/dist/collection/components/chart/_shared/core/stream/ring-buffer-runtime.js +1 -0
  384. package/dist/collection/components/chart/_shared/core/stream/ring-buffer.js +1 -0
  385. package/dist/collection/components/chart/_shared/core/stream/stream-source-runtime.js +1 -0
  386. package/dist/collection/components/chart/_shared/core/stream/stream-source.js +1 -0
  387. package/dist/collection/components/chart/_shared/core/stream/time-window-runtime.js +1 -0
  388. package/dist/collection/components/chart/_shared/core/stream/time-window.js +1 -0
  389. package/dist/collection/components/chart/_shared/core/theme/index.js +1 -0
  390. package/dist/collection/components/chart/_shared/core/theme/theme.js +1 -0
  391. package/dist/collection/components/chart/_shared/core/tooltip/card-a11y.js +1 -0
  392. package/dist/collection/components/chart/_shared/core/tooltip/cell-tooltip-controller.js +1 -0
  393. package/dist/collection/components/chart/_shared/core/tooltip/connector.js +1 -0
  394. package/dist/collection/components/chart/_shared/core/tooltip/formatter.js +1 -0
  395. package/dist/collection/components/chart/_shared/core/tooltip/index.js +1 -0
  396. package/dist/collection/components/chart/_shared/core/tooltip/tooltip-engine.js +1 -0
  397. package/dist/collection/components/chart/_shared/core/tooltip/tooltip-transfer.js +1 -0
  398. package/dist/collection/components/chart/_shared/core/types.js +1 -0
  399. package/dist/collection/components/chart/_shared/core/visual-map/index.js +1 -0
  400. package/dist/collection/components/chart/_shared/core/visual-map/visual-map-binding.js +1 -0
  401. package/dist/collection/components/chart/_shared/core/visual-map/visual-map-contract.js +1 -0
  402. package/dist/collection/components/chart/_shared/core/zoom/crosshair-sync.js +1 -0
  403. package/dist/collection/components/chart/_shared/core/zoom/index.js +1 -0
  404. package/dist/collection/components/chart/_shared/core/zoom/viewport-zoom.js +1 -0
  405. package/dist/collection/components/chart/_shared/core/zoom/zoom-connect.js +1 -0
  406. package/dist/collection/components/chart/_shared/core/zoom/zoom-contract.js +1 -0
  407. package/dist/collection/components/chart/_shared/core/zoom/zoom-drag.js +1 -0
  408. package/dist/collection/components/chart/_shared/core/zoom/zoom-host.js +1 -0
  409. package/dist/collection/components/chart/_shared/core/zoom/zoom-interaction.js +1 -0
  410. package/dist/collection/components/chart/_shared/core/zoom/zoom-window.js +1 -0
  411. package/dist/collection/components/chart/_shared/render/canvas.js +1 -0
  412. package/dist/collection/components/chart/_shared/render/index.js +1 -0
  413. package/dist/collection/components/chart/_shared/render/series.js +1 -0
  414. package/dist/collection/components/chart/area-chart/core/animation/animator.js +1 -0
  415. package/dist/collection/components/chart/area-chart/core/animation/easing.js +1 -0
  416. package/dist/collection/components/chart/area-chart/core/animation/index.js +1 -0
  417. package/dist/collection/components/chart/area-chart/core/animation/path-morph.js +1 -0
  418. package/dist/collection/components/chart/area-chart/core/area-chart-core.js +1 -0
  419. package/dist/collection/components/chart/area-chart/core/area-pro-renderer-loader.js +1 -0
  420. package/dist/collection/components/chart/area-chart/core/pattern-kind.js +1 -0
  421. package/dist/collection/components/chart/area-chart/core/streaming/index.js +1 -0
  422. package/dist/collection/components/chart/area-chart/core/streaming/ring-buffer-runtime.js +1 -0
  423. package/dist/collection/components/chart/area-chart/core/streaming/ring-buffer.js +1 -0
  424. package/dist/collection/components/chart/area-chart/core/streaming/stream-source-runtime.js +1 -0
  425. package/dist/collection/components/chart/area-chart/core/streaming/stream-source.js +1 -0
  426. package/dist/collection/components/chart/area-chart/core/types.js +1 -0
  427. package/dist/collection/components/chart/area-chart/core/visual-regression/baseline.js +1 -0
  428. package/dist/collection/components/chart/area-chart/core/visual-regression/dom-snapshot.js +1 -0
  429. package/dist/collection/components/chart/area-chart/core/visual-regression/stream-frame-snapshot.js +1 -0
  430. package/dist/collection/components/chart/area-chart/engines/standard/area-chart-standard-renderer.js +1 -0
  431. package/dist/collection/components/chart/area-chart/engines/standard/index.js +1 -0
  432. package/dist/collection/components/chart/area-chart/engines/standard/sy-area-chart-path.js +1 -0
  433. package/dist/collection/components/chart/area-chart/index.js +1 -0
  434. package/dist/collection/components/chart/area-chart/sy-area-chart.css +1 -0
  435. package/dist/collection/components/chart/area-chart/sy-area-chart.js +1 -0
  436. package/dist/collection/components/chart/bar-chart/core/animation/animator.js +1 -0
  437. package/dist/collection/components/chart/bar-chart/core/animation/baseline-grow.js +1 -0
  438. package/dist/collection/components/chart/bar-chart/core/animation/easing.js +1 -0
  439. package/dist/collection/components/chart/bar-chart/core/animation/index.js +1 -0
  440. package/dist/collection/components/chart/bar-chart/core/animation/path-morph.js +1 -0
  441. package/dist/collection/components/chart/bar-chart/core/bar-border.js +1 -0
  442. package/dist/collection/components/chart/bar-chart/core/bar-chart-core.js +1 -0
  443. package/dist/collection/components/chart/bar-chart/core/bar-layout.js +1 -0
  444. package/dist/collection/components/chart/bar-chart/core/bar-pro-renderer-loader.js +1 -0
  445. package/dist/collection/components/chart/bar-chart/core/streaming/index.js +1 -0
  446. package/dist/collection/components/chart/bar-chart/core/streaming/ring-buffer-runtime.js +1 -0
  447. package/dist/collection/components/chart/bar-chart/core/streaming/ring-buffer.js +1 -0
  448. package/dist/collection/components/chart/bar-chart/core/streaming/stream-source-runtime.js +1 -0
  449. package/dist/collection/components/chart/bar-chart/core/streaming/stream-source.js +1 -0
  450. package/dist/collection/components/chart/bar-chart/core/types.js +1 -0
  451. package/dist/collection/components/chart/bar-chart/engines/standard/bar-chart-standard-renderer.js +1 -0
  452. package/dist/collection/components/chart/bar-chart/engines/standard/index.js +1 -0
  453. package/dist/collection/components/chart/bar-chart/engines/standard/sy-bar-chart-path.js +1 -0
  454. package/dist/collection/components/chart/bar-chart/index.js +1 -0
  455. package/dist/collection/components/chart/bar-chart/sy-bar-chart.css +1 -0
  456. package/dist/collection/components/chart/bar-chart/sy-bar-chart.js +1 -0
  457. package/dist/collection/components/chart/bubble-chart/core/bubble-chart-core.js +1 -0
  458. package/dist/collection/components/chart/bubble-chart/core/bubble-color.js +1 -0
  459. package/dist/collection/components/chart/bubble-chart/core/bubble-data.js +1 -0
  460. package/dist/collection/components/chart/bubble-chart/core/bubble-geometry.js +1 -0
  461. package/dist/collection/components/chart/bubble-chart/core/bubble-morph.js +1 -0
  462. package/dist/collection/components/chart/bubble-chart/core/bubble-pack.js +1 -0
  463. package/dist/collection/components/chart/bubble-chart/core/bubble-pro-renderer-loader.js +1 -0
  464. package/dist/collection/components/chart/bubble-chart/core/bubble-projection.js +1 -0
  465. package/dist/collection/components/chart/bubble-chart/core/bubble-stream-source-runtime.js +1 -0
  466. package/dist/collection/components/chart/bubble-chart/core/bubble-stream-source.js +1 -0
  467. package/dist/collection/components/chart/bubble-chart/core/types.js +1 -0
  468. package/dist/collection/components/chart/bubble-chart/engines/standard/bubble-standard-renderer.js +1 -0
  469. package/dist/collection/components/chart/bubble-chart/engines/standard/index.js +1 -0
  470. package/dist/collection/components/chart/bubble-chart/index.js +1 -0
  471. package/dist/collection/components/chart/bubble-chart/sy-bubble-chart.css +1 -0
  472. package/dist/collection/components/chart/bubble-chart/sy-bubble-chart.js +1 -0
  473. package/dist/collection/components/chart/column-chart/core/animation/animator.js +1 -0
  474. package/dist/collection/components/chart/column-chart/core/animation/easing.js +1 -0
  475. package/dist/collection/components/chart/column-chart/core/animation/index.js +1 -0
  476. package/dist/collection/components/chart/column-chart/core/animation/path-morph.js +1 -0
  477. package/dist/collection/components/chart/column-chart/core/column-border.js +1 -0
  478. package/dist/collection/components/chart/column-chart/core/column-chart-core.js +1 -0
  479. package/dist/collection/components/chart/column-chart/core/column-pro-renderer-loader.js +1 -0
  480. package/dist/collection/components/chart/column-chart/core/column-stack.js +1 -0
  481. package/dist/collection/components/chart/column-chart/core/streaming/index.js +1 -0
  482. package/dist/collection/components/chart/column-chart/core/streaming/ring-buffer-runtime.js +1 -0
  483. package/dist/collection/components/chart/column-chart/core/streaming/ring-buffer.js +1 -0
  484. package/dist/collection/components/chart/column-chart/core/streaming/stream-source-runtime.js +1 -0
  485. package/dist/collection/components/chart/column-chart/core/streaming/stream-source.js +1 -0
  486. package/dist/collection/components/chart/column-chart/core/types.js +1 -0
  487. package/dist/collection/components/chart/column-chart/engines/standard/column-chart-standard-renderer.js +1 -0
  488. package/dist/collection/components/chart/column-chart/engines/standard/index.js +1 -0
  489. package/dist/collection/components/chart/column-chart/engines/standard/sy-column-chart-path.js +1 -0
  490. package/dist/collection/components/chart/column-chart/index.js +1 -0
  491. package/dist/collection/components/chart/column-chart/sy-column-chart.css +1 -0
  492. package/dist/collection/components/chart/column-chart/sy-column-chart.js +1 -0
  493. package/dist/collection/components/chart/data-zoom/core/data-zoom-model.js +1 -0
  494. package/dist/collection/components/chart/data-zoom/core/data-zoom-target.js +1 -0
  495. package/dist/collection/components/chart/data-zoom/sy-data-zoom.css +1 -0
  496. package/dist/collection/components/chart/data-zoom/sy-data-zoom.js +1 -0
  497. package/dist/collection/components/chart/dot-plot-chart/core/dot-plot-animator.js +1 -0
  498. package/dist/collection/components/chart/dot-plot-chart/core/dot-plot-chart-core.js +1 -0
  499. package/dist/collection/components/chart/dot-plot-chart/core/dot-plot-geometry.js +1 -0
  500. package/dist/collection/components/chart/dot-plot-chart/core/dot-plot-stream-source-runtime.js +1 -0
  501. package/dist/collection/components/chart/dot-plot-chart/core/dot-plot-stream-source.js +1 -0
  502. package/dist/collection/components/chart/dot-plot-chart/core/types.js +1 -0
  503. package/dist/collection/components/chart/dot-plot-chart/engines/standard/index.js +1 -0
  504. package/dist/collection/components/chart/dot-plot-chart/index.js +1 -0
  505. package/dist/collection/components/chart/dot-plot-chart/sy-dot-plot-chart.css +1 -0
  506. package/dist/collection/components/chart/dot-plot-chart/sy-dot-plot-chart.js +1 -0
  507. package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-animator.js +1 -0
  508. package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-chart-core.js +1 -0
  509. package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-data.js +1 -0
  510. package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-geometry.js +1 -0
  511. package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-stream-source-runtime.js +1 -0
  512. package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-stream-source.js +1 -0
  513. package/dist/collection/components/chart/dumbbell-chart/core/types.js +1 -0
  514. package/dist/collection/components/chart/dumbbell-chart/engines/standard/index.js +1 -0
  515. package/dist/collection/components/chart/dumbbell-chart/index.js +1 -0
  516. package/dist/collection/components/chart/dumbbell-chart/sy-dumbbell-chart.css +1 -0
  517. package/dist/collection/components/chart/dumbbell-chart/sy-dumbbell-chart.js +1 -0
  518. package/dist/collection/components/chart/facade-types.js +1 -0
  519. package/dist/collection/components/chart/funnel-chart/core/funnel-animator.js +1 -0
  520. package/dist/collection/components/chart/funnel-chart/core/funnel-chart-core.js +1 -0
  521. package/dist/collection/components/chart/funnel-chart/core/funnel-geometry.js +1 -0
  522. package/dist/collection/components/chart/funnel-chart/core/funnel-stream-source-runtime.js +1 -0
  523. package/dist/collection/components/chart/funnel-chart/core/funnel-stream-source.js +1 -0
  524. package/dist/collection/components/chart/funnel-chart/core/funnel-tooltip.js +1 -0
  525. package/dist/collection/components/chart/funnel-chart/core/types.js +1 -0
  526. package/dist/collection/components/chart/funnel-chart/engines/standard/index.js +1 -0
  527. package/dist/collection/components/chart/funnel-chart/index.js +1 -0
  528. package/dist/collection/components/chart/funnel-chart/sy-funnel-chart.css +1 -0
  529. package/dist/collection/components/chart/funnel-chart/sy-funnel-chart.js +1 -0
  530. package/dist/collection/components/chart/gauge-chart/core/gauge-animator.js +1 -0
  531. package/dist/collection/components/chart/gauge-chart/core/gauge-chart-core.js +1 -0
  532. package/dist/collection/components/chart/gauge-chart/core/gauge-geometry.js +1 -0
  533. package/dist/collection/components/chart/gauge-chart/core/gauge-stream-source-runtime.js +1 -0
  534. package/dist/collection/components/chart/gauge-chart/core/gauge-stream-source.js +1 -0
  535. package/dist/collection/components/chart/gauge-chart/core/gauge-tooltip.js +1 -0
  536. package/dist/collection/components/chart/gauge-chart/core/types.js +1 -0
  537. package/dist/collection/components/chart/gauge-chart/engines/standard/index.js +1 -0
  538. package/dist/collection/components/chart/gauge-chart/index.js +1 -0
  539. package/dist/collection/components/chart/gauge-chart/sy-gauge-chart.css +1 -0
  540. package/dist/collection/components/chart/gauge-chart/sy-gauge-chart.js +1 -0
  541. package/dist/collection/components/chart/histogram-chart/core/histogram-animator.js +1 -0
  542. package/dist/collection/components/chart/histogram-chart/core/histogram-binning.js +1 -0
  543. package/dist/collection/components/chart/histogram-chart/core/histogram-chart-core.js +1 -0
  544. package/dist/collection/components/chart/histogram-chart/core/histogram-measure.js +1 -0
  545. package/dist/collection/components/chart/histogram-chart/core/histogram-pro-renderer-loader.js +1 -0
  546. package/dist/collection/components/chart/histogram-chart/core/histogram-stream-source-runtime.js +1 -0
  547. package/dist/collection/components/chart/histogram-chart/core/histogram-stream-source.js +1 -0
  548. package/dist/collection/components/chart/histogram-chart/core/types.js +1 -0
  549. package/dist/collection/components/chart/histogram-chart/engines/standard/index.js +1 -0
  550. package/dist/collection/components/chart/histogram-chart/index.js +1 -0
  551. package/dist/collection/components/chart/histogram-chart/sy-histogram-chart.css +1 -0
  552. package/dist/collection/components/chart/histogram-chart/sy-histogram-chart.js +1 -0
  553. package/dist/collection/components/chart/item-chart/core/item-chart-core.js +1 -0
  554. package/dist/collection/components/chart/item-chart/core/item-geometry.js +1 -0
  555. package/dist/collection/components/chart/item-chart/core/item-stream-source-runtime.js +1 -0
  556. package/dist/collection/components/chart/item-chart/core/item-stream-source.js +1 -0
  557. package/dist/collection/components/chart/item-chart/core/item-tooltip.js +1 -0
  558. package/dist/collection/components/chart/item-chart/core/types.js +1 -0
  559. package/dist/collection/components/chart/item-chart/engines/standard/index.js +1 -0
  560. package/dist/collection/components/chart/item-chart/index.js +1 -0
  561. package/dist/collection/components/chart/item-chart/sy-item-chart.css +1 -0
  562. package/dist/collection/components/chart/item-chart/sy-item-chart.js +1 -0
  563. package/dist/collection/components/chart/line-chart/core/animation/animator.js +1 -0
  564. package/dist/collection/components/chart/line-chart/core/animation/easing.js +1 -0
  565. package/dist/collection/components/chart/line-chart/core/animation/index.js +1 -0
  566. package/dist/collection/components/chart/line-chart/core/animation/path-morph.js +1 -0
  567. package/dist/collection/components/chart/line-chart/core/event/hit-test.js +1 -0
  568. package/dist/collection/components/chart/line-chart/core/event/index.js +1 -0
  569. package/dist/collection/components/chart/line-chart/core/license/engine-swap-license.js +1 -0
  570. package/dist/collection/components/chart/line-chart/core/line-chart-core.js +1 -0
  571. package/dist/collection/components/chart/line-chart/core/pro-renderer-loader.js +1 -0
  572. package/dist/collection/components/chart/line-chart/core/streaming/index.js +1 -0
  573. package/dist/collection/components/chart/line-chart/core/streaming/ring-buffer-runtime.js +1 -0
  574. package/dist/collection/components/chart/line-chart/core/streaming/ring-buffer.js +1 -0
  575. package/dist/collection/components/chart/line-chart/core/streaming/stream-source-runtime.js +1 -0
  576. package/dist/collection/components/chart/line-chart/core/streaming/stream-source.js +1 -0
  577. package/dist/collection/components/chart/line-chart/core/types.js +1 -0
  578. package/dist/collection/components/chart/line-chart/core/visual-regression/baseline.js +1 -0
  579. package/dist/collection/components/chart/line-chart/core/visual-regression/dom-snapshot.js +1 -0
  580. package/dist/collection/components/chart/line-chart/core/visual-regression/stream-frame-snapshot.js +1 -0
  581. package/dist/collection/components/chart/line-chart/engines/standard/index.js +1 -0
  582. package/dist/collection/components/chart/line-chart/engines/standard/line-chart-standard-renderer.js +1 -0
  583. package/dist/collection/components/chart/line-chart/engines/standard/sy-line-chart-path.js +1 -0
  584. package/dist/collection/components/chart/line-chart/index.js +1 -0
  585. package/dist/collection/components/chart/line-chart/sy-line-chart.css +1 -0
  586. package/dist/collection/components/chart/line-chart/sy-line-chart.js +1 -0
  587. package/dist/collection/components/chart/lollipop-chart/core/lollipop-animator.js +1 -0
  588. package/dist/collection/components/chart/lollipop-chart/core/lollipop-chart-core.js +1 -0
  589. package/dist/collection/components/chart/lollipop-chart/core/lollipop-geometry.js +1 -0
  590. package/dist/collection/components/chart/lollipop-chart/core/lollipop-stream-source-runtime.js +1 -0
  591. package/dist/collection/components/chart/lollipop-chart/core/lollipop-stream-source.js +1 -0
  592. package/dist/collection/components/chart/lollipop-chart/core/types.js +1 -0
  593. package/dist/collection/components/chart/lollipop-chart/engines/standard/index.js +1 -0
  594. package/dist/collection/components/chart/lollipop-chart/index.js +1 -0
  595. package/dist/collection/components/chart/lollipop-chart/sy-lollipop-chart.css +1 -0
  596. package/dist/collection/components/chart/lollipop-chart/sy-lollipop-chart.js +1 -0
  597. package/dist/collection/components/chart/marimekko-chart/core/marimekko-animator.js +1 -0
  598. package/dist/collection/components/chart/marimekko-chart/core/marimekko-chart-core.js +1 -0
  599. package/dist/collection/components/chart/marimekko-chart/core/marimekko-geometry.js +1 -0
  600. package/dist/collection/components/chart/marimekko-chart/core/marimekko-stream-source-runtime.js +1 -0
  601. package/dist/collection/components/chart/marimekko-chart/core/marimekko-stream-source.js +1 -0
  602. package/dist/collection/components/chart/marimekko-chart/core/types.js +1 -0
  603. package/dist/collection/components/chart/marimekko-chart/engines/standard/index.js +1 -0
  604. package/dist/collection/components/chart/marimekko-chart/index.js +1 -0
  605. package/dist/collection/components/chart/marimekko-chart/sy-marimekko-chart.css +1 -0
  606. package/dist/collection/components/chart/marimekko-chart/sy-marimekko-chart.js +1 -0
  607. package/dist/collection/components/chart/navigator/core/navigator-preview.js +1 -0
  608. package/dist/collection/components/chart/navigator/sy-navigator.css +1 -0
  609. package/dist/collection/components/chart/navigator/sy-navigator.js +1 -0
  610. package/dist/collection/components/chart/pareto-chart/core/pareto-animator.js +1 -0
  611. package/dist/collection/components/chart/pareto-chart/core/pareto-chart-core.js +1 -0
  612. package/dist/collection/components/chart/pareto-chart/core/pareto-geometry.js +1 -0
  613. package/dist/collection/components/chart/pareto-chart/core/pareto-stream-source-runtime.js +1 -0
  614. package/dist/collection/components/chart/pareto-chart/core/pareto-stream-source.js +1 -0
  615. package/dist/collection/components/chart/pareto-chart/core/types.js +1 -0
  616. package/dist/collection/components/chart/pareto-chart/engines/standard/index.js +1 -0
  617. package/dist/collection/components/chart/pareto-chart/index.js +1 -0
  618. package/dist/collection/components/chart/pareto-chart/sy-pareto-chart.css +1 -0
  619. package/dist/collection/components/chart/pareto-chart/sy-pareto-chart.js +1 -0
  620. package/dist/collection/components/chart/pictorial-chart/core/path-bounds.js +1 -0
  621. package/dist/collection/components/chart/pictorial-chart/core/pictorial-animator.js +1 -0
  622. package/dist/collection/components/chart/pictorial-chart/core/pictorial-chart-core.js +1 -0
  623. package/dist/collection/components/chart/pictorial-chart/core/pictorial-geometry.js +1 -0
  624. package/dist/collection/components/chart/pictorial-chart/core/pictorial-stream-source-runtime.js +1 -0
  625. package/dist/collection/components/chart/pictorial-chart/core/pictorial-stream-source.js +1 -0
  626. package/dist/collection/components/chart/pictorial-chart/core/types.js +1 -0
  627. package/dist/collection/components/chart/pictorial-chart/engines/standard/index.js +1 -0
  628. package/dist/collection/components/chart/pictorial-chart/index.js +1 -0
  629. package/dist/collection/components/chart/pictorial-chart/sy-pictorial-chart.css +1 -0
  630. package/dist/collection/components/chart/pictorial-chart/sy-pictorial-chart.js +1 -0
  631. package/dist/collection/components/chart/pie-chart/core/pie-animator.js +1 -0
  632. package/dist/collection/components/chart/pie-chart/core/pie-chart-core.js +1 -0
  633. package/dist/collection/components/chart/pie-chart/core/pie-flip.js +1 -0
  634. package/dist/collection/components/chart/pie-chart/core/pie-geometry.js +1 -0
  635. package/dist/collection/components/chart/pie-chart/core/pie-labels.js +1 -0
  636. package/dist/collection/components/chart/pie-chart/core/pie-leader-lines.js +1 -0
  637. package/dist/collection/components/chart/pie-chart/core/pie-stream-source-runtime.js +1 -0
  638. package/dist/collection/components/chart/pie-chart/core/pie-stream-source.js +1 -0
  639. package/dist/collection/components/chart/pie-chart/core/pie-tooltip.js +1 -0
  640. package/dist/collection/components/chart/pie-chart/core/types.js +1 -0
  641. package/dist/collection/components/chart/pie-chart/engines/standard/index.js +1 -0
  642. package/dist/collection/components/chart/pie-chart/index.js +1 -0
  643. package/dist/collection/components/chart/pie-chart/license/chart-streaming-gate.js +1 -0
  644. package/dist/collection/components/chart/pie-chart/license/standard-engine-status.js +1 -0
  645. package/dist/collection/components/chart/pie-chart/sy-pie-chart.css +1 -0
  646. package/dist/collection/components/chart/pie-chart/sy-pie-chart.js +1 -0
  647. package/dist/collection/components/chart/polar-chart/core/polar-chart-core.js +1 -0
  648. package/dist/collection/components/chart/polar-chart/core/polar-geometry.js +1 -0
  649. package/dist/collection/components/chart/polar-chart/core/polar-pro-records.js +1 -0
  650. package/dist/collection/components/chart/polar-chart/core/polar-pro-renderer-loader.js +1 -0
  651. package/dist/collection/components/chart/polar-chart/core/polar-sector-bounds.js +1 -0
  652. package/dist/collection/components/chart/polar-chart/core/polar-stream-source-runtime.js +1 -0
  653. package/dist/collection/components/chart/polar-chart/core/polar-stream-source.js +1 -0
  654. package/dist/collection/components/chart/polar-chart/core/polar-tooltip.js +1 -0
  655. package/dist/collection/components/chart/polar-chart/core/types.js +1 -0
  656. package/dist/collection/components/chart/polar-chart/engines/standard/index.js +1 -0
  657. package/dist/collection/components/chart/polar-chart/index.js +1 -0
  658. package/dist/collection/components/chart/polar-chart/sy-polar-chart.css +1 -0
  659. package/dist/collection/components/chart/polar-chart/sy-polar-chart.js +1 -0
  660. package/dist/collection/components/chart/radar-chart/core/radar-animator.js +1 -0
  661. package/dist/collection/components/chart/radar-chart/core/radar-chart-core.js +1 -0
  662. package/dist/collection/components/chart/radar-chart/core/radar-crosshair.js +1 -0
  663. package/dist/collection/components/chart/radar-chart/core/radar-geometry.js +1 -0
  664. package/dist/collection/components/chart/radar-chart/core/radar-stream-source-runtime.js +1 -0
  665. package/dist/collection/components/chart/radar-chart/core/radar-stream-source.js +1 -0
  666. package/dist/collection/components/chart/radar-chart/core/radar-tooltip.js +1 -0
  667. package/dist/collection/components/chart/radar-chart/core/types.js +1 -0
  668. package/dist/collection/components/chart/radar-chart/engines/standard/index.js +1 -0
  669. package/dist/collection/components/chart/radar-chart/index.js +1 -0
  670. package/dist/collection/components/chart/radar-chart/sy-radar-chart.css +1 -0
  671. package/dist/collection/components/chart/radar-chart/sy-radar-chart.js +1 -0
  672. package/dist/collection/components/chart/scatter-chart/core/animation/easing.js +1 -0
  673. package/dist/collection/components/chart/scatter-chart/core/animation/index.js +1 -0
  674. package/dist/collection/components/chart/scatter-chart/core/animation/scatter-animator.js +1 -0
  675. package/dist/collection/components/chart/scatter-chart/core/perf.js +1 -0
  676. package/dist/collection/components/chart/scatter-chart/core/scatter-chart-core.js +1 -0
  677. package/dist/collection/components/chart/scatter-chart/core/scatter-draw-signature.js +1 -0
  678. package/dist/collection/components/chart/scatter-chart/core/scatter-pro-renderer-loader.js +1 -0
  679. package/dist/collection/components/chart/scatter-chart/core/streaming/index.js +1 -0
  680. package/dist/collection/components/chart/scatter-chart/core/streaming/scatter-stream-source-runtime.js +1 -0
  681. package/dist/collection/components/chart/scatter-chart/core/streaming/scatter-stream-source.js +1 -0
  682. package/dist/collection/components/chart/scatter-chart/core/types.js +1 -0
  683. package/dist/collection/components/chart/scatter-chart/core/visual-map.js +1 -0
  684. package/dist/collection/components/chart/scatter-chart/engines/standard/index.js +1 -0
  685. package/dist/collection/components/chart/scatter-chart/engines/standard/scatter-chart-standard-renderer.js +1 -0
  686. package/dist/collection/components/chart/scatter-chart/engines/standard/sy-scatter-chart-path.js +1 -0
  687. package/dist/collection/components/chart/scatter-chart/index.js +1 -0
  688. package/dist/collection/components/chart/scatter-chart/sy-scatter-chart.css +1 -0
  689. package/dist/collection/components/chart/scatter-chart/sy-scatter-chart.js +1 -0
  690. package/dist/collection/components/chart/stem-leaf-chart/core/stem-leaf-core.js +1 -0
  691. package/dist/collection/components/chart/stem-leaf-chart/core/stem-leaf-model.js +1 -0
  692. package/dist/collection/components/chart/stem-leaf-chart/core/stem-leaf-stream-source-runtime.js +1 -0
  693. package/dist/collection/components/chart/stem-leaf-chart/core/stem-leaf-stream-source.js +1 -0
  694. package/dist/collection/components/chart/stem-leaf-chart/core/stem-leaf-tooltip.js +1 -0
  695. package/dist/collection/components/chart/stem-leaf-chart/core/types.js +1 -0
  696. package/dist/collection/components/chart/stem-leaf-chart/engines/standard/index.js +1 -0
  697. package/dist/collection/components/chart/stem-leaf-chart/index.js +1 -0
  698. package/dist/collection/components/chart/stem-leaf-chart/sy-stem-leaf-chart.css +1 -0
  699. package/dist/collection/components/chart/stem-leaf-chart/sy-stem-leaf-chart.js +1 -0
  700. package/dist/collection/components/chart/sy-chart.css +1 -0
  701. package/dist/collection/components/chart/sy-chart.js +1 -0
  702. package/dist/collection/components/chart/tilemap-chart/core/tilemap-core.js +1 -0
  703. package/dist/collection/components/chart/tilemap-chart/core/tilemap-geometry.js +1 -0
  704. package/dist/collection/components/chart/tilemap-chart/core/tilemap-legend.js +1 -0
  705. package/dist/collection/components/chart/tilemap-chart/core/tilemap-stream-source-runtime.js +1 -0
  706. package/dist/collection/components/chart/tilemap-chart/core/tilemap-stream-source.js +1 -0
  707. package/dist/collection/components/chart/tilemap-chart/core/tilemap-tooltip.js +1 -0
  708. package/dist/collection/components/chart/tilemap-chart/core/types.js +1 -0
  709. package/dist/collection/components/chart/tilemap-chart/engines/standard/index.js +1 -0
  710. package/dist/collection/components/chart/tilemap-chart/index.js +1 -0
  711. package/dist/collection/components/chart/tilemap-chart/sy-tilemap.css +1 -0
  712. package/dist/collection/components/chart/tilemap-chart/sy-tilemap.js +1 -0
  713. package/dist/collection/components/chart/tornado-chart/core/tornado-animator.js +1 -0
  714. package/dist/collection/components/chart/tornado-chart/core/tornado-chart-core.js +1 -0
  715. package/dist/collection/components/chart/tornado-chart/core/tornado-geometry.js +1 -0
  716. package/dist/collection/components/chart/tornado-chart/core/tornado-stream-source-runtime.js +1 -0
  717. package/dist/collection/components/chart/tornado-chart/core/tornado-stream-source.js +1 -0
  718. package/dist/collection/components/chart/tornado-chart/core/types.js +1 -0
  719. package/dist/collection/components/chart/tornado-chart/engines/standard/index.js +1 -0
  720. package/dist/collection/components/chart/tornado-chart/index.js +1 -0
  721. package/dist/collection/components/chart/tornado-chart/sy-tornado-chart.css +1 -0
  722. package/dist/collection/components/chart/tornado-chart/sy-tornado-chart.js +1 -0
  723. package/dist/collection/components/chart/variwide-chart/core/types.js +1 -0
  724. package/dist/collection/components/chart/variwide-chart/core/variwide-animator.js +1 -0
  725. package/dist/collection/components/chart/variwide-chart/core/variwide-chart-core.js +1 -0
  726. package/dist/collection/components/chart/variwide-chart/core/variwide-geometry.js +1 -0
  727. package/dist/collection/components/chart/variwide-chart/core/variwide-stream-source-runtime.js +1 -0
  728. package/dist/collection/components/chart/variwide-chart/core/variwide-stream-source.js +1 -0
  729. package/dist/collection/components/chart/variwide-chart/engines/standard/index.js +1 -0
  730. package/dist/collection/components/chart/variwide-chart/index.js +1 -0
  731. package/dist/collection/components/chart/variwide-chart/sy-variwide-chart.css +1 -0
  732. package/dist/collection/components/chart/variwide-chart/sy-variwide-chart.js +1 -0
  733. package/dist/collection/components/chart/visual-map/sy-visual-map.css +1 -0
  734. package/dist/collection/components/chart/visual-map/sy-visual-map.js +1 -0
  735. package/dist/collection/components/chart/wafer-map-chart/core/types.js +1 -0
  736. package/dist/collection/components/chart/wafer-map-chart/core/wafer-animator.js +1 -0
  737. package/dist/collection/components/chart/wafer-map-chart/core/wafer-bin.js +1 -0
  738. package/dist/collection/components/chart/wafer-map-chart/core/wafer-correlation.js +1 -0
  739. package/dist/collection/components/chart/wafer-map-chart/core/wafer-defect.js +1 -0
  740. package/dist/collection/components/chart/wafer-map-chart/core/wafer-die-index.js +1 -0
  741. package/dist/collection/components/chart/wafer-map-chart/core/wafer-geometry.js +1 -0
  742. package/dist/collection/components/chart/wafer-map-chart/core/wafer-legend.js +1 -0
  743. package/dist/collection/components/chart/wafer-map-chart/core/wafer-map-core.js +1 -0
  744. package/dist/collection/components/chart/wafer-map-chart/core/wafer-render.js +1 -0
  745. package/dist/collection/components/chart/wafer-map-chart/core/wafer-shot.js +1 -0
  746. package/dist/collection/components/chart/wafer-map-chart/core/wafer-stack.js +1 -0
  747. package/dist/collection/components/chart/wafer-map-chart/core/wafer-stream-source-runtime.js +1 -0
  748. package/dist/collection/components/chart/wafer-map-chart/core/wafer-stream-source.js +1 -0
  749. package/dist/collection/components/chart/wafer-map-chart/core/wafer-value.js +1 -0
  750. package/dist/collection/components/chart/wafer-map-chart/core/wafer-yield-zone.js +1 -0
  751. package/dist/collection/components/chart/wafer-map-chart/engines/standard/index.js +1 -0
  752. package/dist/collection/components/chart/wafer-map-chart/index.js +1 -0
  753. package/dist/collection/components/chart/wafer-map-chart/sy-wafer-correlation.js +1 -0
  754. package/dist/collection/components/chart/wafer-map-chart/sy-wafer-map.css +1 -0
  755. package/dist/collection/components/chart/wafer-map-chart/sy-wafer-map.js +1 -0
  756. package/dist/collection/components/chart/wafer-map-chart/sy-wafer-stack.js +1 -0
  757. package/dist/collection/components/chart/wafer-map-chart/sy-yield-zone-chart.js +1 -0
  758. package/dist/collection/components/chart/word-cloud-chart/core/types.js +1 -0
  759. package/dist/collection/components/chart/word-cloud-chart/core/word-cloud-core.js +1 -0
  760. package/dist/collection/components/chart/word-cloud-chart/core/word-layout.js +1 -0
  761. package/dist/collection/components/chart/word-cloud-chart/core/word-measure.js +1 -0
  762. package/dist/collection/components/chart/word-cloud-chart/core/word-stream-source-runtime.js +1 -0
  763. package/dist/collection/components/chart/word-cloud-chart/core/word-stream-source.js +1 -0
  764. package/dist/collection/components/chart/word-cloud-chart/core/word-tooltip.js +1 -0
  765. package/dist/collection/components/chart/word-cloud-chart/engines/standard/index.js +1 -0
  766. package/dist/collection/components/chart/word-cloud-chart/index.js +1 -0
  767. package/dist/collection/components/chart/word-cloud-chart/sy-word-cloud.css +1 -0
  768. package/dist/collection/components/chart/word-cloud-chart/sy-word-cloud.js +1 -0
  769. package/dist/collection/components/dynamic-source.js +1 -0
  770. package/dist/collection/components/grid/core/a11y/aria-grid.js +1 -0
  771. package/dist/collection/components/grid/core/a11y/audit-checklist.js +1 -0
  772. package/dist/collection/components/grid/core/a11y/contrast.js +1 -0
  773. package/dist/collection/components/grid/core/a11y/screen-reader-transcript.js +1 -0
  774. package/dist/collection/components/grid/core/a11y/snapshot.js +1 -0
  775. package/dist/collection/components/grid/core/api/base-types.js +1 -0
  776. package/dist/collection/components/grid/core/api/contracts.js +1 -0
  777. package/dist/collection/components/grid/core/api/index.js +1 -0
  778. package/dist/collection/components/grid/core/api/live-object-model.js +1 -0
  779. package/dist/collection/components/grid/core/audit/audit-export.js +1 -0
  780. package/dist/collection/components/grid/core/audit/audit-log.js +1 -0
  781. package/dist/collection/components/grid/core/brand/grid-brand.js +2 -0
  782. package/dist/collection/components/grid/core/build-tier.js +1 -0
  783. package/dist/collection/components/grid/core/cell/cell-class-rules.js +1 -0
  784. package/dist/collection/components/grid/core/cell/cell-style.js +1 -0
  785. package/dist/collection/components/grid/core/cell/expression-runtime.js +1 -0
  786. package/dist/collection/components/grid/core/cell/index.js +1 -0
  787. package/dist/collection/components/grid/core/cell/renderer-registry.js +1 -0
  788. package/dist/collection/components/grid/core/cell/value-formatter.js +1 -0
  789. package/dist/collection/components/grid/core/cell/value-getter.js +1 -0
  790. package/dist/collection/components/grid/core/cell-cycle.js +1 -0
  791. package/dist/collection/components/grid/core/cell-flash/cell-flash.js +1 -0
  792. package/dist/collection/components/grid/core/cell-tooltip/hover-delay.js +1 -0
  793. package/dist/collection/components/grid/core/cell-tooltip/index.js +1 -0
  794. package/dist/collection/components/grid/core/cell-tooltip/tooltip-text.js +1 -0
  795. package/dist/collection/components/grid/core/chart-link/chart-bridge-types-probe.js +1 -0
  796. package/dist/collection/components/grid/core/clipboard/parse.js +1 -0
  797. package/dist/collection/components/grid/core/clipboard/paste-plan.js +1 -0
  798. package/dist/collection/components/grid/core/clipboard/serialize.js +1 -0
  799. package/dist/collection/components/grid/core/collab-css.js +1 -0
  800. package/dist/collection/components/grid/core/collab-loader.js +1 -0
  801. package/dist/collection/components/grid/core/collab-mentions.js +1 -0
  802. package/dist/collection/components/grid/core/collab-types.js +1 -0
  803. package/dist/collection/components/grid/core/column/column-auto-size.js +1 -0
  804. package/dist/collection/components/grid/core/column/column-groups.js +1 -0
  805. package/dist/collection/components/grid/core/column/column-pin.js +1 -0
  806. package/dist/collection/components/grid/core/column/column-reorder.js +1 -0
  807. package/dist/collection/components/grid/core/column/column-resize.js +1 -0
  808. package/dist/collection/components/grid/core/column/column-sort.js +1 -0
  809. package/dist/collection/components/grid/core/column/column-state.js +1 -0
  810. package/dist/collection/components/grid/core/column/column-visibility.js +1 -0
  811. package/dist/collection/components/grid/core/column/index.js +1 -0
  812. package/dist/collection/components/grid/core/component/async-value-source.js +1 -0
  813. package/dist/collection/components/grid/core/component/component-runtime-chunk.js +1 -0
  814. package/dist/collection/components/grid/core/component/contracts.js +1 -0
  815. package/dist/collection/components/grid/core/component/editor-adapter.js +1 -0
  816. package/dist/collection/components/grid/core/component/editor-facade-controller.js +1 -0
  817. package/dist/collection/components/grid/core/component/editor-validation-presentation.js +1 -0
  818. package/dist/collection/components/grid/core/component/filter-adapter.js +1 -0
  819. package/dist/collection/components/grid/core/component/filter-facade-controller.js +1 -0
  820. package/dist/collection/components/grid/core/component/framework-bridge.js +1 -0
  821. package/dist/collection/components/grid/core/component/index.js +1 -0
  822. package/dist/collection/components/grid/core/component/popup-placement.js +1 -0
  823. package/dist/collection/components/grid/core/component/registry.js +1 -0
  824. package/dist/collection/components/grid/core/component/renderer-adapter.js +1 -0
  825. package/dist/collection/components/grid/core/component/renderer-controller.js +1 -0
  826. package/dist/collection/components/grid/core/component/rich-select-editor.js +1 -0
  827. package/dist/collection/components/grid/core/component/runtime.js +1 -0
  828. package/dist/collection/components/grid/core/conditional-format/cf-builder-chunk.js +1 -0
  829. package/dist/collection/components/grid/core/conditional-format/cf-builder.js +1 -0
  830. package/dist/collection/components/grid/core/conditional-format/conditional-format.js +1 -0
  831. package/dist/collection/components/grid/core/context-menu/clipboard.js +1 -0
  832. package/dist/collection/components/grid/core/context-menu/index.js +1 -0
  833. package/dist/collection/components/grid/core/context-menu/menu.js +1 -0
  834. package/dist/collection/components/grid/core/context-menu/types.js +1 -0
  835. package/dist/collection/components/grid/core/edit/checkbox-editor-render.js +1 -0
  836. package/dist/collection/components/grid/core/edit/checkbox-editor.js +1 -0
  837. package/dist/collection/components/grid/core/edit/date-editor-render.js +1 -0
  838. package/dist/collection/components/grid/core/edit/date-editor.js +1 -0
  839. package/dist/collection/components/grid/core/edit/date-picker.js +1 -0
  840. package/dist/collection/components/grid/core/edit/index.js +1 -0
  841. package/dist/collection/components/grid/core/edit/large-text-editor.js +1 -0
  842. package/dist/collection/components/grid/core/edit/number-editor-render.js +1 -0
  843. package/dist/collection/components/grid/core/edit/number-editor.js +1 -0
  844. package/dist/collection/components/grid/core/edit/prospective-edit.js +1 -0
  845. package/dist/collection/components/grid/core/edit/row-edit.js +1 -0
  846. package/dist/collection/components/grid/core/edit/select-editor-render.js +1 -0
  847. package/dist/collection/components/grid/core/edit/select-editor.js +1 -0
  848. package/dist/collection/components/grid/core/edit/text-editor-render.js +1 -0
  849. package/dist/collection/components/grid/core/edit/text-editor.js +1 -0
  850. package/dist/collection/components/grid/core/edit/textarea-editor-render.js +1 -0
  851. package/dist/collection/components/grid/core/edit/textarea-editor.js +1 -0
  852. package/dist/collection/components/grid/core/edit/transaction-api.js +1 -0
  853. package/dist/collection/components/grid/core/edit/transaction.js +1 -0
  854. package/dist/collection/components/grid/core/edit/undo-redo.js +1 -0
  855. package/dist/collection/components/grid/core/empty-state-cycle.js +1 -0
  856. package/dist/collection/components/grid/core/event/index.js +1 -0
  857. package/dist/collection/components/grid/core/event/row-click.js +1 -0
  858. package/dist/collection/components/grid/core/export/csv.js +1 -0
  859. package/dist/collection/components/grid/core/export/index.js +1 -0
  860. package/dist/collection/components/grid/core/filter/advanced-query.js +1 -0
  861. package/dist/collection/components/grid/core/filter/condition-builder.js +1 -0
  862. package/dist/collection/components/grid/core/filter/date.js +1 -0
  863. package/dist/collection/components/grid/core/filter/filter-ui-types.js +1 -0
  864. package/dist/collection/components/grid/core/filter/number.js +1 -0
  865. package/dist/collection/components/grid/core/filter/quick-filter.js +1 -0
  866. package/dist/collection/components/grid/core/filter/text.js +1 -0
  867. package/dist/collection/components/grid/core/filter-cycle.js +1 -0
  868. package/dist/collection/components/grid/core/floating/index.js +1 -0
  869. package/dist/collection/components/grid/core/floating/positioning.js +1 -0
  870. package/dist/collection/components/grid/core/formula-acceleration-loader.js +1 -0
  871. package/dist/collection/components/grid/core/formula-text.js +1 -0
  872. package/dist/collection/components/grid/core/grid-core.js +1 -0
  873. package/dist/collection/components/grid/core/hover/row.js +1 -0
  874. package/dist/collection/components/grid/core/import/csv/index.js +1 -0
  875. package/dist/collection/components/grid/core/import/csv/parse-csv.js +1 -0
  876. package/dist/collection/components/grid/core/import/xlsx/cell-ref.js +1 -0
  877. package/dist/collection/components/grid/core/import/xlsx/errors.js +1 -0
  878. package/dist/collection/components/grid/core/import/xlsx/formula.js +1 -0
  879. package/dist/collection/components/grid/core/import/xlsx/grid-import-chunk.js +1 -0
  880. package/dist/collection/components/grid/core/import/xlsx/index.js +1 -0
  881. package/dist/collection/components/grid/core/import/xlsx/inflate.js +1 -0
  882. package/dist/collection/components/grid/core/import/xlsx/merged-cells.js +1 -0
  883. package/dist/collection/components/grid/core/import/xlsx/number-format.js +1 -0
  884. package/dist/collection/components/grid/core/import/xlsx/parse-xlsx.js +1 -0
  885. package/dist/collection/components/grid/core/import/xlsx/pick-sheet.js +1 -0
  886. package/dist/collection/components/grid/core/import/xlsx/shared-strings.js +1 -0
  887. package/dist/collection/components/grid/core/import/xlsx/sheet-streaming.js +1 -0
  888. package/dist/collection/components/grid/core/import/xlsx/sheet.js +1 -0
  889. package/dist/collection/components/grid/core/import/xlsx/styles.js +1 -0
  890. package/dist/collection/components/grid/core/import/xlsx/workbook.js +1 -0
  891. package/dist/collection/components/grid/core/import/xlsx/xml-parser.js +1 -0
  892. package/dist/collection/components/grid/core/import/xlsx/zip-reader.js +1 -0
  893. package/dist/collection/components/grid/core/license/grid-acceleration-port.js +3 -0
  894. package/dist/collection/components/grid/core/license/grid-feature.js +1 -0
  895. package/dist/collection/components/grid/core/license/grid-license-facade.js +4 -0
  896. package/dist/collection/components/grid/core/license/grid-license-runtime.js +1 -0
  897. package/dist/collection/components/grid/core/license/grid-license-session.js +1 -0
  898. package/dist/collection/components/grid/core/license/grid-license.js +5 -0
  899. package/dist/collection/components/grid/core/license/grid-method-route.js +1 -0
  900. package/dist/collection/components/grid/core/license/grid-method-table.js +1 -0
  901. package/dist/collection/components/grid/core/loader/chunk-contract.js +1 -0
  902. package/dist/collection/components/grid/core/loader/chunk-loader.js +1 -0
  903. package/dist/collection/components/grid/core/loading-cycle.js +1 -0
  904. package/dist/collection/components/grid/core/locale/messages.js +1 -0
  905. package/dist/collection/components/grid/core/locale/presets.js +1 -0
  906. package/dist/collection/components/grid/core/locale/resolve.js +1 -0
  907. package/dist/collection/components/grid/core/numeric/safe-numeric.js +1 -0
  908. package/dist/collection/components/grid/core/pagination-cycle.js +1 -0
  909. package/dist/collection/components/grid/core/pipeline/comparator-default.js +1 -0
  910. package/dist/collection/components/grid/core/pipeline/engine-rows-memo.js +1 -0
  911. package/dist/collection/components/grid/core/pipeline/filter.js +1 -0
  912. package/dist/collection/components/grid/core/pipeline/paginate.js +1 -0
  913. package/dist/collection/components/grid/core/pipeline/pipeline.js +1 -0
  914. package/dist/collection/components/grid/core/pipeline/sort.js +1 -0
  915. package/dist/collection/components/grid/core/pipeline/types.js +1 -0
  916. package/dist/collection/components/grid/core/pivot/combination-warnings.js +1 -0
  917. package/dist/collection/components/grid/core/pro-chunk-sources.js +1 -0
  918. package/dist/collection/components/grid/core/pro-engine-loader.js +1 -0
  919. package/dist/collection/components/grid/core/pro-gate/engine-precedence.js +1 -0
  920. package/dist/collection/components/grid/core/pro-gate/grid-chunk-backstop.js +1 -0
  921. package/dist/collection/components/grid/core/pro-gate/grid-chunk-features.js +1 -0
  922. package/dist/collection/components/grid/core/pro-gate/grid-clipboard-policy.js +1 -0
  923. package/dist/collection/components/grid/core/pro-gate/grid-declarations.js +1 -0
  924. package/dist/collection/components/grid/core/pro-gate/grid-engine-license.js +1 -0
  925. package/dist/collection/components/grid/core/pro-gate/grid-formula-freeze.js +1 -0
  926. package/dist/collection/components/grid/core/pro-gate/grid-freeze-work.js +1 -0
  927. package/dist/collection/components/grid/core/pro-gate/grid-pro-gate.js +2 -0
  928. package/dist/collection/components/grid/core/pro-gate/grid-state-requirements.js +1 -0
  929. package/dist/collection/components/grid/core/rbac/cell-access.js +1 -0
  930. package/dist/collection/components/grid/core/row-drag/drag-safety.js +1 -0
  931. package/dist/collection/components/grid/core/row-drag/drop-zones.js +1 -0
  932. package/dist/collection/components/grid/core/row-drag/reorder.js +1 -0
  933. package/dist/collection/components/grid/core/row-drag/row-drag-chunk.js +1 -0
  934. package/dist/collection/components/grid/core/row-drag/row-drag-facade.js +1 -0
  935. package/dist/collection/components/grid/core/row-drag/unmanaged-drag.js +1 -0
  936. package/dist/collection/components/grid/core/row-layout/aligned-grids-facade.js +1 -0
  937. package/dist/collection/components/grid/core/row-layout/aligned-grids.js +1 -0
  938. package/dist/collection/components/grid/core/row-layout/col-span.js +1 -0
  939. package/dist/collection/components/grid/core/row-layout/full-width-facade.js +1 -0
  940. package/dist/collection/components/grid/core/row-layout/full-width-rows.js +1 -0
  941. package/dist/collection/components/grid/core/row-layout/pinned-row-policy.js +1 -0
  942. package/dist/collection/components/grid/core/row-layout/pinned-rows-facade.js +1 -0
  943. package/dist/collection/components/grid/core/row-layout/pinned-rows.js +1 -0
  944. package/dist/collection/components/grid/core/row-layout/row-layout-chunk.js +1 -0
  945. package/dist/collection/components/grid/core/row-layout/row-layout-facade.js +1 -0
  946. package/dist/collection/components/grid/core/row-layout/row-span.js +1 -0
  947. package/dist/collection/components/grid/core/row-layout/span-interaction.js +1 -0
  948. package/dist/collection/components/grid/core/row-markers.js +1 -0
  949. package/dist/collection/components/grid/core/row-model/block-cache.js +1 -0
  950. package/dist/collection/components/grid/core/row-model/client-side.js +1 -0
  951. package/dist/collection/components/grid/core/row-model/datasource.js +1 -0
  952. package/dist/collection/components/grid/core/row-model/index.js +1 -0
  953. package/dist/collection/components/grid/core/row-model/infinite.js +1 -0
  954. package/dist/collection/components/grid/core/row-model/placeholder-row.js +1 -0
  955. package/dist/collection/components/grid/core/row-model/viewport-adapters.js +1 -0
  956. package/dist/collection/components/grid/core/selection/canonical-ranges.js +1 -0
  957. package/dist/collection/components/grid/core/selection/checkbox-column.js +1 -0
  958. package/dist/collection/components/grid/core/selection/range-bounds.js +1 -0
  959. package/dist/collection/components/grid/core/selection/row.js +1 -0
  960. package/dist/collection/components/grid/core/side-bar/side-bar.js +1 -0
  961. package/dist/collection/components/grid/core/snapshot/snapshot-diff.js +1 -0
  962. package/dist/collection/components/grid/core/snapshot/snapshot.js +1 -0
  963. package/dist/collection/components/grid/core/sort-cycle.js +1 -0
  964. package/dist/collection/components/grid/core/sort-model.js +1 -0
  965. package/dist/collection/components/grid/core/spreadsheet-text.js +1 -0
  966. package/dist/collection/components/grid/core/state/canonical.js +1 -0
  967. package/dist/collection/components/grid/core/state/contracts.js +1 -0
  968. package/dist/collection/components/grid/core/state/filter-handlers.js +1 -0
  969. package/dist/collection/components/grid/core/state/find-state.js +1 -0
  970. package/dist/collection/components/grid/core/state/grid-state.js +1 -0
  971. package/dist/collection/components/grid/core/state/migrate.js +1 -0
  972. package/dist/collection/components/grid/core/state/ownership.js +1 -0
  973. package/dist/collection/components/grid/core/state/persistence.js +1 -0
  974. package/dist/collection/components/grid/core/state/slices/columns.js +1 -0
  975. package/dist/collection/components/grid/core/state/slices/filter.js +1 -0
  976. package/dist/collection/components/grid/core/state/slices/rows.js +1 -0
  977. package/dist/collection/components/grid/core/state/slices/ui.js +1 -0
  978. package/dist/collection/components/grid/core/state/state-events.js +1 -0
  979. package/dist/collection/components/grid/core/state/validate.js +1 -0
  980. package/dist/collection/components/grid/core/status-bar/status-bar.js +1 -0
  981. package/dist/collection/components/grid/core/sync/array.js +1 -0
  982. package/dist/collection/components/grid/core/sync/collab-bridge.js +1 -0
  983. package/dist/collection/components/grid/core/sync/id.js +1 -0
  984. package/dist/collection/components/grid/core/sync/text.js +1 -0
  985. package/dist/collection/components/grid/core/sync/undo-manager.js +1 -0
  986. package/dist/collection/components/grid/core/theme/apply.js +1 -0
  987. package/dist/collection/components/grid/core/theme/presets.js +1 -0
  988. package/dist/collection/components/grid/core/theme/tokens.js +1 -0
  989. package/dist/collection/components/grid/core/types.js +1 -0
  990. package/dist/collection/components/grid/core/utils/structural.js +1 -0
  991. package/dist/collection/components/grid/core/validation/validation.js +1 -0
  992. package/dist/collection/components/grid/core/virtualizer/cell-virtualizer.js +1 -0
  993. package/dist/collection/components/grid/core/virtualizer/column-virtualizer.js +1 -0
  994. package/dist/collection/components/grid/core/virtualizer/index.js +1 -0
  995. package/dist/collection/components/grid/core/virtualizer/row-virtualizer.js +1 -0
  996. package/dist/collection/components/grid/core/visual-regression/baseline.js +1 -0
  997. package/dist/collection/components/grid/core/visual-regression/dom-snapshot.js +1 -0
  998. package/dist/collection/components/grid/core/visual-regression/real-dom-canonicalise.js +1 -0
  999. package/dist/collection/components/grid/core/vnode-factory.js +1 -0
  1000. package/dist/collection/components/grid/engines/standard/index.js +1 -0
  1001. package/dist/collection/components/grid/engines/standard/sy-grid-standard.css +1 -0
  1002. package/dist/collection/components/grid/engines/standard/sy-grid-standard.js +1 -0
  1003. package/dist/collection/components/grid/index.js +1 -0
  1004. package/dist/collection/components/grid/sy-grid.css +1 -0
  1005. package/dist/collection/components/grid/sy-grid.js +1 -0
  1006. package/dist/collection/index.js +1 -0
  1007. package/dist/collection/license/base64url.js +1 -0
  1008. package/dist/collection/license/certificate.js +1 -0
  1009. package/dist/collection/license/constants.js +1 -0
  1010. package/dist/collection/license/context.js +1 -0
  1011. package/dist/collection/license/deployment.js +1 -0
  1012. package/dist/collection/license/diagnostic-constants.js +1 -0
  1013. package/dist/collection/license/discovery.js +1 -0
  1014. package/dist/collection/license/errors.js +1 -0
  1015. package/dist/collection/license/evaluate.js +1 -0
  1016. package/dist/collection/license/failure.js +1 -0
  1017. package/dist/collection/license/fetch-license.js +1 -0
  1018. package/dist/collection/license/generated/chart-features.generated.js +1 -0
  1019. package/dist/collection/license/generated/core-features.generated.js +1 -0
  1020. package/dist/collection/license/generated/feature-map.generated.js +1 -0
  1021. package/dist/collection/license/generated/grid-features.generated.js +1 -0
  1022. package/dist/collection/license/generated/products.generated.js +1 -0
  1023. package/dist/collection/license/index.js +1 -0
  1024. package/dist/collection/license/json.js +1 -0
  1025. package/dist/collection/license/jws.js +1 -0
  1026. package/dist/collection/license/registry.js +1 -0
  1027. package/dist/collection/license/release.generated.js +1 -0
  1028. package/dist/collection/license/runtime.js +1 -0
  1029. package/dist/collection/license/subtle.js +1 -0
  1030. package/dist/collection/license/timers.js +1 -0
  1031. package/dist/collection/license/timestamp.js +1 -0
  1032. package/dist/collection/license/trust-keys.generated.js +1 -0
  1033. package/dist/collection/license/trust-store.js +1 -0
  1034. package/dist/collection/license/types.js +1 -0
  1035. package/dist/collection/license/verify.js +1 -0
  1036. package/dist/collection/license/watch.js +1 -0
  1037. package/dist/collection/utils/story-template.js +1 -0
  1038. package/dist/components/chart-types.d.ts +112 -0
  1039. package/dist/components/chart-types.js +1 -0
  1040. package/dist/components/index.d.ts +10 -0
  1041. package/dist/components/index.js +1 -0
  1042. package/dist/components/p-4CjYGJmq.js +1 -0
  1043. package/dist/components/p-B2xXnkZp.js +1 -0
  1044. package/dist/components/p-B3gMdXEP.js +1 -0
  1045. package/dist/components/p-BEKrg3SG.js +1 -0
  1046. package/dist/components/p-BKZM2o7w.js +1 -0
  1047. package/dist/components/p-BMJUs2xT.js +1 -0
  1048. package/dist/components/p-BPmwlQtL.js +1 -0
  1049. package/dist/components/p-BVmDGX0a.js +1 -0
  1050. package/dist/components/p-BXmzh2Uk.js +1 -0
  1051. package/dist/components/p-BY5ObKGD.js +1 -0
  1052. package/dist/components/p-BYBaMhHn.js +1 -0
  1053. package/dist/components/p-BjWO1Np_.js +7 -0
  1054. package/dist/components/p-BsBcTKjx.js +1 -0
  1055. package/dist/components/p-BwM4aW0R.js +1 -0
  1056. package/dist/components/p-BwtrZuf8.js +1 -0
  1057. package/dist/components/p-C0f63Npv.js +1 -0
  1058. package/dist/components/p-C1RaN8eG.js +1 -0
  1059. package/dist/components/p-C374wsaF.js +1 -0
  1060. package/dist/components/p-C3jLZ9n2.js +1 -0
  1061. package/dist/components/p-C4HtF7VM.js +1 -0
  1062. package/dist/components/p-C7iceRLc.js +1 -0
  1063. package/dist/components/p-CChSqEEO.js +1 -0
  1064. package/dist/components/p-CHzVSIZc.js +1 -0
  1065. package/dist/components/p-COVKN1k-.js +1 -0
  1066. package/dist/components/p-COqnXkRL.js +1 -0
  1067. package/dist/components/p-CTw0rE8p.js +1 -0
  1068. package/dist/components/p-C_2TIPHD.js +1 -0
  1069. package/dist/components/p-CgUI9S4_.js +1 -0
  1070. package/dist/components/p-Cr85dazN.js +1 -0
  1071. package/dist/components/p-CsYy63Zk.js +1 -0
  1072. package/dist/components/p-D0Zr5HHA.js +1 -0
  1073. package/dist/components/p-D3LVx-JL.js +1 -0
  1074. package/dist/components/p-D5aEHK78.js +1 -0
  1075. package/dist/components/p-D5noTyYE.js +1 -0
  1076. package/dist/components/p-D7cSRpbb.js +1 -0
  1077. package/dist/components/p-D8Cooryu.js +1 -0
  1078. package/dist/components/p-DC8q69mD.js +1 -0
  1079. package/dist/components/p-DH8K7zqB.js +1 -0
  1080. package/dist/components/p-DO6vGxJP.js +1 -0
  1081. package/dist/components/p-DQ1RB1XB.js +1 -0
  1082. package/dist/components/p-DTZUbymc.js +1 -0
  1083. package/dist/components/p-DaxJ0D3O.js +1 -0
  1084. package/dist/components/p-DhcQQtwn.js +1 -0
  1085. package/dist/components/p-DlE5rQTs.js +1 -0
  1086. package/dist/components/p-DmhWH-SN.js +1 -0
  1087. package/dist/components/p-DovcCKwV.js +1 -0
  1088. package/dist/components/p-Dx-FsUbT.js +1 -0
  1089. package/dist/components/p-EXuVQfpl.js +1 -0
  1090. package/dist/components/p-GI1Zoo93.js +1 -0
  1091. package/dist/components/p-Qu4itcma.js +1 -0
  1092. package/dist/components/p-S3uzYKsD.js +1 -0
  1093. package/dist/components/p-WQSantHg.js +1 -0
  1094. package/dist/components/p-kJe8wHkN.js +1 -0
  1095. package/dist/components/p-rwo1tgqX.js +1 -0
  1096. package/dist/components/package.json +1 -0
  1097. package/dist/components/sy-area-chart.d.ts +8 -0
  1098. package/dist/components/sy-area-chart.js +1 -0
  1099. package/dist/components/sy-bar-chart.d.ts +8 -0
  1100. package/dist/components/sy-bar-chart.js +1 -0
  1101. package/dist/components/sy-bubble-chart.d.ts +8 -0
  1102. package/dist/components/sy-bubble-chart.js +1 -0
  1103. package/dist/components/sy-chart.d.ts +8 -0
  1104. package/dist/components/sy-chart.js +1 -0
  1105. package/dist/components/sy-column-chart.d.ts +8 -0
  1106. package/dist/components/sy-column-chart.js +1 -0
  1107. package/dist/components/sy-data-zoom.d.ts +8 -0
  1108. package/dist/components/sy-data-zoom.js +1 -0
  1109. package/dist/components/sy-dot-plot-chart.d.ts +8 -0
  1110. package/dist/components/sy-dot-plot-chart.js +1 -0
  1111. package/dist/components/sy-dumbbell-chart.d.ts +8 -0
  1112. package/dist/components/sy-dumbbell-chart.js +1 -0
  1113. package/dist/components/sy-funnel-chart.d.ts +8 -0
  1114. package/dist/components/sy-funnel-chart.js +1 -0
  1115. package/dist/components/sy-gauge-chart.d.ts +8 -0
  1116. package/dist/components/sy-gauge-chart.js +1 -0
  1117. package/dist/components/sy-grid-standard.d.ts +8 -0
  1118. package/dist/components/sy-grid-standard.js +1 -0
  1119. package/dist/components/sy-grid.d.ts +8 -0
  1120. package/dist/components/sy-grid.js +4 -0
  1121. package/dist/components/sy-histogram-chart.d.ts +8 -0
  1122. package/dist/components/sy-histogram-chart.js +1 -0
  1123. package/dist/components/sy-item-chart.d.ts +8 -0
  1124. package/dist/components/sy-item-chart.js +1 -0
  1125. package/dist/components/sy-line-chart.d.ts +8 -0
  1126. package/dist/components/sy-line-chart.js +1 -0
  1127. package/dist/components/sy-lollipop-chart.d.ts +8 -0
  1128. package/dist/components/sy-lollipop-chart.js +1 -0
  1129. package/dist/components/sy-marimekko-chart.d.ts +8 -0
  1130. package/dist/components/sy-marimekko-chart.js +1 -0
  1131. package/dist/components/sy-navigator.d.ts +8 -0
  1132. package/dist/components/sy-navigator.js +1 -0
  1133. package/dist/components/sy-pareto-chart.d.ts +8 -0
  1134. package/dist/components/sy-pareto-chart.js +1 -0
  1135. package/dist/components/sy-pictorial-chart.d.ts +8 -0
  1136. package/dist/components/sy-pictorial-chart.js +1 -0
  1137. package/dist/components/sy-pie-chart.d.ts +8 -0
  1138. package/dist/components/sy-pie-chart.js +1 -0
  1139. package/dist/components/sy-polar-chart.d.ts +8 -0
  1140. package/dist/components/sy-polar-chart.js +1 -0
  1141. package/dist/components/sy-radar-chart.d.ts +8 -0
  1142. package/dist/components/sy-radar-chart.js +1 -0
  1143. package/dist/components/sy-scatter-chart.d.ts +8 -0
  1144. package/dist/components/sy-scatter-chart.js +1 -0
  1145. package/dist/components/sy-stem-leaf-chart.d.ts +8 -0
  1146. package/dist/components/sy-stem-leaf-chart.js +1 -0
  1147. package/dist/components/sy-tilemap.d.ts +8 -0
  1148. package/dist/components/sy-tilemap.js +1 -0
  1149. package/dist/components/sy-tornado-chart.d.ts +8 -0
  1150. package/dist/components/sy-tornado-chart.js +1 -0
  1151. package/dist/components/sy-variwide-chart.d.ts +8 -0
  1152. package/dist/components/sy-variwide-chart.js +1 -0
  1153. package/dist/components/sy-visual-map.d.ts +8 -0
  1154. package/dist/components/sy-visual-map.js +1 -0
  1155. package/dist/components/sy-wafer-correlation.d.ts +8 -0
  1156. package/dist/components/sy-wafer-correlation.js +1 -0
  1157. package/dist/components/sy-wafer-map.d.ts +8 -0
  1158. package/dist/components/sy-wafer-map.js +1 -0
  1159. package/dist/components/sy-wafer-stack.d.ts +8 -0
  1160. package/dist/components/sy-wafer-stack.js +1 -0
  1161. package/dist/components/sy-word-cloud.d.ts +8 -0
  1162. package/dist/components/sy-word-cloud.js +1 -0
  1163. package/dist/components/sy-yield-zone-chart.d.ts +8 -0
  1164. package/dist/components/sy-yield-zone-chart.js +1 -0
  1165. package/dist/esm/_syidax-chart-build-tier-C374wsaF.js +1 -0
  1166. package/dist/esm/advanced.js +1 -0
  1167. package/dist/esm/app-globals-DQuL1Twl.js +1 -0
  1168. package/dist/esm/auto-labels-DYKIyOfR.js +1 -0
  1169. package/dist/esm/axis-label-thinning-S3uzYKsD.js +1 -0
  1170. package/dist/esm/brand-logo-BXzIll5N.js +1 -0
  1171. package/dist/esm/brand-mark-default-AzDRbG7D.js +1 -0
  1172. package/dist/esm/brush-interaction-Dz9vozhJ.js +1 -0
  1173. package/dist/esm/cartesian-contract-DogpgTFv.js +1 -0
  1174. package/dist/esm/cartesian-frame-interaction-BC4761vn.js +1 -0
  1175. package/dist/esm/cartesian-series-contract-zrH7aO3p.js +1 -0
  1176. package/dist/esm/cf-builder-chunk-BqLdIDeK.js +1 -0
  1177. package/dist/esm/chart-brand-_HhzGz4E.js +1 -0
  1178. package/dist/esm/chart-brand-license-2N_At2Bk.js +1 -0
  1179. package/dist/esm/chart-element-loader-DdX3JJh2.js +1 -0
  1180. package/dist/esm/chart-license-bridge-BuvMRxsm.js +1 -0
  1181. package/dist/esm/chart-streaming-gate-CXnkXyxT.js +1 -0
  1182. package/dist/esm/column-stack-C61nYCOk.js +1 -0
  1183. package/dist/esm/component-runtime-chunk-BDJ-kk9r.js +1 -0
  1184. package/dist/esm/connector-C0f63Npv.js +1 -0
  1185. package/dist/esm/contracts-Dx-FsUbT.js +1 -0
  1186. package/dist/esm/data-zoom-model-C76mzN9Y.js +1 -0
  1187. package/dist/esm/data-zoom-target-Dd9TQ3qQ.js +1 -0
  1188. package/dist/esm/device-pixel-box-BKZM2o7w.js +1 -0
  1189. package/dist/esm/drawing-export-BYBaMhHn.js +1 -0
  1190. package/dist/esm/engine-swap-license-CwIR5SyJ.js +1 -0
  1191. package/dist/esm/errors-DUELYDa7.js +1 -0
  1192. package/dist/esm/grid-import-chunk-4CjYGJmq.js +1 -0
  1193. package/dist/esm/grid-license-session-ChWa3h9U.js +7 -0
  1194. package/dist/esm/index-D6-RUOhD.js +1 -0
  1195. package/dist/esm/index-DChj4qx2.js +5 -0
  1196. package/dist/esm/index.js +1 -0
  1197. package/dist/esm/interpolate-D5aEHK78.js +1 -0
  1198. package/dist/esm/legend-BwM4aW0R.js +1 -0
  1199. package/dist/esm/legend-interaction-BVmDGX0a.js +1 -0
  1200. package/dist/esm/live-object-model-BsBcTKjx.js +1 -0
  1201. package/dist/esm/loader.js +1 -0
  1202. package/dist/esm/number-D8Cooryu.js +1 -0
  1203. package/dist/esm/parse-EXuVQfpl.js +1 -0
  1204. package/dist/esm/pie-animator-DQ1RB1XB.js +1 -0
  1205. package/dist/esm/pie-geometry-C1RaN8eG.js +1 -0
  1206. package/dist/esm/point-context-menu-B6K1arcd.js +1 -0
  1207. package/dist/esm/resolve-CitzwxIw.js +1 -0
  1208. package/dist/esm/row-drag-chunk-DorjnyoH.js +1 -0
  1209. package/dist/esm/row-layout-chunk-HmpHDcvM.js +1 -0
  1210. package/dist/esm/safe-formatter-DO6vGxJP.js +1 -0
  1211. package/dist/esm/scheme-BwtrZuf8.js +1 -0
  1212. package/dist/esm/standard-engine-status-mIwM2Z1u.js +1 -0
  1213. package/dist/esm/stream-interp-DTZUbymc.js +1 -0
  1214. package/dist/esm/sy-area-chart.entry.js +1 -0
  1215. package/dist/esm/sy-bar-chart.entry.js +1 -0
  1216. package/dist/esm/sy-bubble-chart.entry.js +1 -0
  1217. package/dist/esm/sy-chart.entry.js +2 -0
  1218. package/dist/esm/sy-column-chart.entry.js +1 -0
  1219. package/dist/esm/sy-data-zoom.entry.js +1 -0
  1220. package/dist/esm/sy-dot-plot-chart.entry.js +1 -0
  1221. package/dist/esm/sy-dumbbell-chart.entry.js +1 -0
  1222. package/dist/esm/sy-funnel-chart.entry.js +1 -0
  1223. package/dist/esm/sy-gauge-chart.entry.js +1 -0
  1224. package/dist/esm/sy-grid.sy-grid-standard-BXtFit4h.js +4 -0
  1225. package/dist/esm/sy-grid_2.entry.js +1 -0
  1226. package/dist/esm/sy-histogram-chart.entry.js +1 -0
  1227. package/dist/esm/sy-item-chart.entry.js +1 -0
  1228. package/dist/esm/sy-line-chart-path-CIwqM40T.js +1 -0
  1229. package/dist/esm/sy-line-chart.entry.js +1 -0
  1230. package/dist/esm/sy-lollipop-chart.entry.js +1 -0
  1231. package/dist/esm/sy-marimekko-chart.entry.js +1 -0
  1232. package/dist/esm/sy-navigator.entry.js +1 -0
  1233. package/dist/esm/sy-pareto-chart.entry.js +1 -0
  1234. package/dist/esm/sy-pictorial-chart.entry.js +1 -0
  1235. package/dist/esm/sy-pie-chart.entry.js +1 -0
  1236. package/dist/esm/sy-polar-chart.entry.js +1 -0
  1237. package/dist/esm/sy-radar-chart.entry.js +1 -0
  1238. package/dist/esm/sy-scatter-chart.entry.js +1 -0
  1239. package/dist/esm/sy-stem-leaf-chart.entry.js +1 -0
  1240. package/dist/esm/sy-tilemap.entry.js +1 -0
  1241. package/dist/esm/sy-tornado-chart.entry.js +1 -0
  1242. package/dist/esm/sy-variwide-chart.entry.js +1 -0
  1243. package/dist/esm/sy-visual-map.entry.js +1 -0
  1244. package/dist/esm/sy-wafer-correlation.entry.js +1 -0
  1245. package/dist/esm/sy-wafer-map.entry.js +1 -0
  1246. package/dist/esm/sy-wafer-stack.entry.js +1 -0
  1247. package/dist/esm/sy-word-cloud.entry.js +1 -0
  1248. package/dist/esm/sy-yield-zone-chart.entry.js +1 -0
  1249. package/dist/esm/types-x7RF8NVg.js +1 -0
  1250. package/dist/esm/viewport-zoom-WQSantHg.js +1 -0
  1251. package/dist/esm/visual-map-binding-DiSr3bTW.js +1 -0
  1252. package/dist/esm/wafer-stack-Bg3YP3SU.js +1 -0
  1253. package/dist/esm/wafer-value-BntCdxpN.js +1 -0
  1254. package/dist/esm/zoom-interaction-DIwGXfJu.js +1 -0
  1255. package/dist/esm/zoom-window-D6sPnRDQ.js +1 -0
  1256. package/dist/index.cjs.js +1 -0
  1257. package/dist/index.js +1 -0
  1258. package/dist/license/base64url.d.ts +3 -0
  1259. package/dist/license/base64url.js +1 -0
  1260. package/dist/license/certificate.d.ts +48 -0
  1261. package/dist/license/certificate.js +1 -0
  1262. package/dist/license/constants.d.ts +38 -0
  1263. package/dist/license/constants.js +1 -0
  1264. package/dist/license/context.d.ts +6 -0
  1265. package/dist/license/context.js +1 -0
  1266. package/dist/license/deployment.d.ts +9 -0
  1267. package/dist/license/deployment.js +1 -0
  1268. package/dist/license/diagnostic-constants.d.ts +7 -0
  1269. package/dist/license/diagnostic-constants.js +1 -0
  1270. package/dist/license/discovery.d.ts +10 -0
  1271. package/dist/license/discovery.js +1 -0
  1272. package/dist/license/errors.d.ts +47 -0
  1273. package/dist/license/errors.js +1 -0
  1274. package/dist/license/evaluate.d.ts +19 -0
  1275. package/dist/license/evaluate.js +1 -0
  1276. package/dist/license/failure.d.ts +11 -0
  1277. package/dist/license/failure.js +1 -0
  1278. package/dist/license/fetch-license.d.ts +12 -0
  1279. package/dist/license/fetch-license.js +1 -0
  1280. package/dist/license/generated/chart-features.generated.d.ts +2244 -0
  1281. package/dist/license/generated/chart-features.generated.js +1 -0
  1282. package/dist/license/generated/core-features.generated.d.ts +349 -0
  1283. package/dist/license/generated/core-features.generated.js +1 -0
  1284. package/dist/license/generated/feature-map.generated.d.ts +4 -0
  1285. package/dist/license/generated/feature-map.generated.js +1 -0
  1286. package/dist/license/generated/grid-features.generated.d.ts +3681 -0
  1287. package/dist/license/generated/grid-features.generated.js +1 -0
  1288. package/dist/license/generated/products.generated.d.ts +26 -0
  1289. package/dist/license/generated/products.generated.js +1 -0
  1290. package/dist/license/index.d.ts +15 -0
  1291. package/dist/license/index.js +1 -0
  1292. package/dist/license/json.d.ts +4 -0
  1293. package/dist/license/json.js +1 -0
  1294. package/dist/license/jws.d.ts +9 -0
  1295. package/dist/license/jws.js +1 -0
  1296. package/dist/license/registry.d.ts +37 -0
  1297. package/dist/license/registry.js +1 -0
  1298. package/dist/license/release.generated.d.ts +6 -0
  1299. package/dist/license/release.generated.js +1 -0
  1300. package/dist/license/runtime.d.ts +27 -0
  1301. package/dist/license/runtime.js +1 -0
  1302. package/dist/license/subtle.d.ts +5 -0
  1303. package/dist/license/subtle.js +1 -0
  1304. package/dist/license/timers.d.ts +6 -0
  1305. package/dist/license/timers.js +1 -0
  1306. package/dist/license/timestamp.d.ts +1 -0
  1307. package/dist/license/timestamp.js +1 -0
  1308. package/dist/license/trust-keys.generated.d.ts +3 -0
  1309. package/dist/license/trust-keys.generated.js +1 -0
  1310. package/dist/license/trust-store.d.ts +6 -0
  1311. package/dist/license/trust-store.js +1 -0
  1312. package/dist/license/types.d.ts +85 -0
  1313. package/dist/license/types.js +1 -0
  1314. package/dist/license/verify.d.ts +30 -0
  1315. package/dist/license/verify.js +1 -0
  1316. package/dist/license/watch.d.ts +18 -0
  1317. package/dist/license/watch.js +1 -0
  1318. package/dist/types/components/_shared/brand/brand-decision.d.ts +3 -0
  1319. package/dist/types/components/_shared/brand/brand-export-default.d.ts +32 -0
  1320. package/dist/types/components/_shared/brand/brand-export.d.ts +34 -0
  1321. package/dist/types/components/_shared/brand/brand-integrity.d.ts +2 -0
  1322. package/dist/types/components/_shared/brand/brand-lockup-default.d.ts +5 -0
  1323. package/dist/types/components/_shared/brand/brand-logo.d.ts +22 -0
  1324. package/dist/types/components/_shared/brand/brand-mark-default.d.ts +52 -0
  1325. package/dist/types/components/_shared/brand/brand-mark.d.ts +22 -0
  1326. package/dist/types/components/_shared/brand/index.d.ts +5 -0
  1327. package/dist/types/components/_shared/brand/types.d.ts +41 -0
  1328. package/dist/types/components/chart/_shared/core/a11y/a11y.d.ts +16 -0
  1329. package/dist/types/components/chart/_shared/core/a11y/contrast.d.ts +24 -0
  1330. package/dist/types/components/chart/_shared/core/a11y/index.d.ts +2 -0
  1331. package/dist/types/components/chart/_shared/core/action/action-contract.d.ts +29 -0
  1332. package/dist/types/components/chart/_shared/core/action/index.d.ts +2 -0
  1333. package/dist/types/components/chart/_shared/core/adapter/animatable-mark.d.ts +51 -0
  1334. package/dist/types/components/chart/_shared/core/adapter/deferred-pro-renderer.d.ts +8 -0
  1335. package/dist/types/components/chart/_shared/core/adapter/gpu-availability.d.ts +10 -0
  1336. package/dist/types/components/chart/_shared/core/adapter/index.d.ts +2 -0
  1337. package/dist/types/components/chart/_shared/core/adapter/streamable-series.d.ts +18 -0
  1338. package/dist/types/components/chart/_shared/core/animation/flip.d.ts +65 -0
  1339. package/dist/types/components/chart/_shared/core/animation/heatmap-animator.d.ts +27 -0
  1340. package/dist/types/components/chart/_shared/core/animation/index.d.ts +4 -0
  1341. package/dist/types/components/chart/_shared/core/animation/interruptible.d.ts +48 -0
  1342. package/dist/types/components/chart/_shared/core/animation/morph-paint-order.d.ts +9 -0
  1343. package/dist/types/components/chart/_shared/core/animation/scene3d-exit.d.ts +24 -0
  1344. package/dist/types/components/chart/_shared/core/animation/stream-interp.d.ts +2 -0
  1345. package/dist/types/components/chart/_shared/core/animation/transition.d.ts +83 -0
  1346. package/dist/types/components/chart/_shared/core/animation/tween.d.ts +16 -0
  1347. package/dist/types/components/chart/_shared/core/annotation/index.d.ts +1 -0
  1348. package/dist/types/components/chart/_shared/core/axis/auto-labels.d.ts +21 -0
  1349. package/dist/types/components/chart/_shared/core/axis/axis-base.d.ts +40 -0
  1350. package/dist/types/components/chart/_shared/core/axis/category-axis.d.ts +24 -0
  1351. package/dist/types/components/chart/_shared/core/axis/index.d.ts +7 -0
  1352. package/dist/types/components/chart/_shared/core/axis/label-collision.d.ts +34 -0
  1353. package/dist/types/components/chart/_shared/core/axis/linear-axis.d.ts +23 -0
  1354. package/dist/types/components/chart/_shared/core/axis/log-axis.d.ts +25 -0
  1355. package/dist/types/components/chart/_shared/core/axis/time-axis.d.ts +25 -0
  1356. package/dist/types/components/chart/_shared/core/brand/brand-placement.d.ts +29 -0
  1357. package/dist/types/components/chart/_shared/core/brand/chart-brand-config.d.ts +12 -0
  1358. package/dist/types/components/chart/_shared/core/brand/chart-brand-export.d.ts +20 -0
  1359. package/dist/types/components/chart/_shared/core/brand/chart-brand-host.d.ts +30 -0
  1360. package/dist/types/components/chart/_shared/core/brand/chart-brand-lazy.d.ts +6 -0
  1361. package/dist/types/components/chart/_shared/core/brand/chart-brand-palette.d.ts +7 -0
  1362. package/dist/types/components/chart/_shared/core/brand/chart-brand-theme.d.ts +9 -0
  1363. package/dist/types/components/chart/_shared/core/brand/chart-brand.d.ts +13 -0
  1364. package/dist/types/components/chart/_shared/core/brand/license/chart-brand-license.d.ts +20 -0
  1365. package/dist/types/components/chart/_shared/core/brush/brush-contract.d.ts +101 -0
  1366. package/dist/types/components/chart/_shared/core/brush/brush-geometry.d.ts +61 -0
  1367. package/dist/types/components/chart/_shared/core/brush/brush-interaction.d.ts +63 -0
  1368. package/dist/types/components/chart/_shared/core/brush/index.d.ts +6 -0
  1369. package/dist/types/components/chart/_shared/core/color/heatmap-color.d.ts +28 -0
  1370. package/dist/types/components/chart/_shared/core/color/index.d.ts +5 -0
  1371. package/dist/types/components/chart/_shared/core/color/interpolate.d.ts +33 -0
  1372. package/dist/types/components/chart/_shared/core/color/named-colors.d.ts +1 -0
  1373. package/dist/types/components/chart/_shared/core/color/parse.d.ts +8 -0
  1374. package/dist/types/components/chart/_shared/core/color/resolve.d.ts +20 -0
  1375. package/dist/types/components/chart/_shared/core/color/rgba.d.ts +6 -0
  1376. package/dist/types/components/chart/_shared/core/color/scheme.d.ts +43 -0
  1377. package/dist/types/components/chart/_shared/core/contract/bar3d-contract.d.ts +140 -0
  1378. package/dist/types/components/chart/_shared/core/contract/box-plot-contract.d.ts +138 -0
  1379. package/dist/types/components/chart/_shared/core/contract/bubble-contract.d.ts +118 -0
  1380. package/dist/types/components/chart/_shared/core/contract/calendar-heatmap-contract.d.ts +77 -0
  1381. package/dist/types/components/chart/_shared/core/contract/candlestick-contract.d.ts +204 -0
  1382. package/dist/types/components/chart/_shared/core/contract/cartesian-contract.d.ts +186 -0
  1383. package/dist/types/components/chart/_shared/core/contract/cartesian-series-contract.d.ts +270 -0
  1384. package/dist/types/components/chart/_shared/core/contract/chord-contract.d.ts +183 -0
  1385. package/dist/types/components/chart/_shared/core/contract/dendrogram-contract.d.ts +168 -0
  1386. package/dist/types/components/chart/_shared/core/contract/density-map-contract.d.ts +115 -0
  1387. package/dist/types/components/chart/_shared/core/contract/error-bar-contract.d.ts +98 -0
  1388. package/dist/types/components/chart/_shared/core/contract/flow-lines-contract.d.ts +138 -0
  1389. package/dist/types/components/chart/_shared/core/contract/gantt-contract.d.ts +358 -0
  1390. package/dist/types/components/chart/_shared/core/contract/geo-map-contract.d.ts +367 -0
  1391. package/dist/types/components/chart/_shared/core/contract/geo-map-features-contract.d.ts +42 -0
  1392. package/dist/types/components/chart/_shared/core/contract/heatmap-contract.d.ts +94 -0
  1393. package/dist/types/components/chart/_shared/core/contract/icicle-contract.d.ts +141 -0
  1394. package/dist/types/components/chart/_shared/core/contract/index.d.ts +15 -0
  1395. package/dist/types/components/chart/_shared/core/contract/network-graph-contract.d.ts +271 -0
  1396. package/dist/types/components/chart/_shared/core/contract/parallel-coordinates-contract.d.ts +274 -0
  1397. package/dist/types/components/chart/_shared/core/contract/sankey-contract.d.ts +189 -0
  1398. package/dist/types/components/chart/_shared/core/contract/scatter3d-contract.d.ts +124 -0
  1399. package/dist/types/components/chart/_shared/core/contract/scene3d-camera-contract.d.ts +27 -0
  1400. package/dist/types/components/chart/_shared/core/contract/scene3d-chart-contract.d.ts +29 -0
  1401. package/dist/types/components/chart/_shared/core/contract/scene3d-lighting-contract.d.ts +42 -0
  1402. package/dist/types/components/chart/_shared/core/contract/scene3d-orbit-contract.d.ts +38 -0
  1403. package/dist/types/components/chart/_shared/core/contract/spectrogram-contract.d.ts +82 -0
  1404. package/dist/types/components/chart/_shared/core/contract/sunburst-contract.d.ts +145 -0
  1405. package/dist/types/components/chart/_shared/core/contract/surface3d-contract.d.ts +150 -0
  1406. package/dist/types/components/chart/_shared/core/contract/theme-river-contract.d.ts +167 -0
  1407. package/dist/types/components/chart/_shared/core/contract/treemap-contract.d.ts +138 -0
  1408. package/dist/types/components/chart/_shared/core/contract/waterfall-contract.d.ts +96 -0
  1409. package/dist/types/components/chart/_shared/core/crosshair/category-snap.d.ts +20 -0
  1410. package/dist/types/components/chart/_shared/core/crosshair/crosshair.d.ts +65 -0
  1411. package/dist/types/components/chart/_shared/core/crosshair/index.d.ts +1 -0
  1412. package/dist/types/components/chart/_shared/core/data/dataset.d.ts +42 -0
  1413. package/dist/types/components/chart/_shared/core/data/encode.d.ts +40 -0
  1414. package/dist/types/components/chart/_shared/core/data/index.d.ts +4 -0
  1415. package/dist/types/components/chart/_shared/core/data/transforms.d.ts +106 -0
  1416. package/dist/types/components/chart/_shared/core/data/values-attribute.d.ts +4 -0
  1417. package/dist/types/components/chart/_shared/core/drawing/drawing-contract.d.ts +240 -0
  1418. package/dist/types/components/chart/_shared/core/drawing/drawing-cursor.d.ts +9 -0
  1419. package/dist/types/components/chart/_shared/core/drawing/drawing-export.d.ts +11 -0
  1420. package/dist/types/components/chart/_shared/core/drawing/drawing-hit.d.ts +12 -0
  1421. package/dist/types/components/chart/_shared/core/drawing/drawing-interaction.d.ts +79 -0
  1422. package/dist/types/components/chart/_shared/core/drawing/drawing-measure.d.ts +9 -0
  1423. package/dist/types/components/chart/_shared/core/drawing/drawing-projection.d.ts +35 -0
  1424. package/dist/types/components/chart/_shared/core/drawing/drawing-tools.d.ts +68 -0
  1425. package/dist/types/components/chart/_shared/core/drawing/index.d.ts +14 -0
  1426. package/dist/types/components/chart/_shared/core/engine/resolve-chart-engine.d.ts +25 -0
  1427. package/dist/types/components/chart/_shared/core/engine/types.d.ts +44 -0
  1428. package/dist/types/components/chart/_shared/core/event/hit-test.d.ts +37 -0
  1429. package/dist/types/components/chart/_shared/core/event/index.d.ts +3 -0
  1430. package/dist/types/components/chart/_shared/core/event/point-context-menu.d.ts +22 -0
  1431. package/dist/types/components/chart/_shared/core/event/pointer.d.ts +25 -0
  1432. package/dist/types/components/chart/_shared/core/export/chart-export.d.ts +37 -0
  1433. package/dist/types/components/chart/_shared/core/export/data-table.d.ts +22 -0
  1434. package/dist/types/components/chart/_shared/core/export/html-overlay.d.ts +61 -0
  1435. package/dist/types/components/chart/_shared/core/export/index.d.ts +2 -0
  1436. package/dist/types/components/chart/_shared/core/export/svg-fonts.d.ts +9 -0
  1437. package/dist/types/components/chart/_shared/core/financial-bars.d.ts +29 -0
  1438. package/dist/types/components/chart/_shared/core/format/datetime.d.ts +14 -0
  1439. package/dist/types/components/chart/_shared/core/format/duration.d.ts +10 -0
  1440. package/dist/types/components/chart/_shared/core/format/index.d.ts +3 -0
  1441. package/dist/types/components/chart/_shared/core/format/number.d.ts +15 -0
  1442. package/dist/types/components/chart/_shared/core/format/safe-formatter.d.ts +2 -0
  1443. package/dist/types/components/chart/_shared/core/graph/strongly-connected.d.ts +1 -0
  1444. package/dist/types/components/chart/_shared/core/hover/highlight.d.ts +37 -0
  1445. package/dist/types/components/chart/_shared/core/hover/index.d.ts +1 -0
  1446. package/dist/types/components/chart/_shared/core/index.d.ts +16 -0
  1447. package/dist/types/components/chart/_shared/core/layout/axis-label-thinning.d.ts +19 -0
  1448. package/dist/types/components/chart/_shared/core/layout/cartesian-frame-interaction.d.ts +56 -0
  1449. package/dist/types/components/chart/_shared/core/layout/cartesian-frame.d.ts +119 -0
  1450. package/dist/types/components/chart/_shared/core/layout/cartesian-render-domain.d.ts +14 -0
  1451. package/dist/types/components/chart/_shared/core/layout/device-pixel-box.d.ts +13 -0
  1452. package/dist/types/components/chart/_shared/core/layout/frame.d.ts +54 -0
  1453. package/dist/types/components/chart/_shared/core/layout/index.d.ts +9 -0
  1454. package/dist/types/components/chart/_shared/core/layout/label-geometry.d.ts +19 -0
  1455. package/dist/types/components/chart/_shared/core/layout/label-obstacle-index.d.ts +35 -0
  1456. package/dist/types/components/chart/_shared/core/layout/legend-interaction.d.ts +39 -0
  1457. package/dist/types/components/chart/_shared/core/layout/legend.d.ts +81 -0
  1458. package/dist/types/components/chart/_shared/core/layout/plot-area.d.ts +83 -0
  1459. package/dist/types/components/chart/_shared/core/layout/title.d.ts +55 -0
  1460. package/dist/types/components/chart/_shared/core/license/chart-license-bridge.d.ts +46 -0
  1461. package/dist/types/components/chart/_shared/core/license/chart-license-features.d.ts +13 -0
  1462. package/dist/types/components/chart/_shared/core/license/chart-license-notice.d.ts +24 -0
  1463. package/dist/types/components/chart/_shared/core/limits/point-cap.d.ts +9 -0
  1464. package/dist/types/components/chart/_shared/core/loading/chart-build-tier.d.ts +1 -0
  1465. package/dist/types/components/chart/_shared/core/loading/chart-element-loader.d.ts +51 -0
  1466. package/dist/types/components/chart/_shared/core/loading/chart-load-controller.d.ts +51 -0
  1467. package/dist/types/components/chart/_shared/core/loading/chart-type-rows.d.ts +1 -0
  1468. package/dist/types/components/chart/_shared/core/loading/chart-type-table.d.ts +33 -0
  1469. package/dist/types/components/chart/_shared/core/loading/index.d.ts +6 -0
  1470. package/dist/types/components/chart/_shared/core/locale/index.d.ts +1 -0
  1471. package/dist/types/components/chart/_shared/core/locale/locale.d.ts +39 -0
  1472. package/dist/types/components/chart/_shared/core/math/ease.d.ts +31 -0
  1473. package/dist/types/components/chart/_shared/core/math/index.d.ts +3 -0
  1474. package/dist/types/components/chart/_shared/core/math/primitives.d.ts +11 -0
  1475. package/dist/types/components/chart/_shared/core/math/stat.d.ts +15 -0
  1476. package/dist/types/components/chart/_shared/core/menu/context-menu.d.ts +24 -0
  1477. package/dist/types/components/chart/_shared/core/menu/index.d.ts +1 -0
  1478. package/dist/types/components/chart/_shared/core/numeric/quickselect.d.ts +4 -0
  1479. package/dist/types/components/chart/_shared/core/numeric/safe-numeric.d.ts +17 -0
  1480. package/dist/types/components/chart/_shared/core/progressive/index.d.ts +2 -0
  1481. package/dist/types/components/chart/_shared/core/progressive/progressive-draw.d.ts +31 -0
  1482. package/dist/types/components/chart/_shared/core/scale/band.d.ts +27 -0
  1483. package/dist/types/components/chart/_shared/core/scale/diverging.d.ts +19 -0
  1484. package/dist/types/components/chart/_shared/core/scale/index.d.ts +15 -0
  1485. package/dist/types/components/chart/_shared/core/scale/linear.d.ts +28 -0
  1486. package/dist/types/components/chart/_shared/core/scale/log.d.ts +30 -0
  1487. package/dist/types/components/chart/_shared/core/scale/ordinal.d.ts +12 -0
  1488. package/dist/types/components/chart/_shared/core/scale/point.d.ts +23 -0
  1489. package/dist/types/components/chart/_shared/core/scale/pow.d.ts +31 -0
  1490. package/dist/types/components/chart/_shared/core/scale/quantile.d.ts +14 -0
  1491. package/dist/types/components/chart/_shared/core/scale/quantize.d.ts +20 -0
  1492. package/dist/types/components/chart/_shared/core/scale/sequential.d.ts +17 -0
  1493. package/dist/types/components/chart/_shared/core/scale/symlog.d.ts +30 -0
  1494. package/dist/types/components/chart/_shared/core/scale/threshold.d.ts +13 -0
  1495. package/dist/types/components/chart/_shared/core/scale/tick-strategy.d.ts +16 -0
  1496. package/dist/types/components/chart/_shared/core/scale/time-tick-strategy.d.ts +32 -0
  1497. package/dist/types/components/chart/_shared/core/scale/time.d.ts +30 -0
  1498. package/dist/types/components/chart/_shared/core/spatial/index.d.ts +2 -0
  1499. package/dist/types/components/chart/_shared/core/spatial/kdtree.d.ts +5 -0
  1500. package/dist/types/components/chart/_shared/core/spatial/kernel.d.ts +12 -0
  1501. package/dist/types/components/chart/_shared/core/spatial/quadtree.d.ts +8 -0
  1502. package/dist/types/components/chart/_shared/core/state/index.d.ts +1 -0
  1503. package/dist/types/components/chart/_shared/core/state/state-model.d.ts +18 -0
  1504. package/dist/types/components/chart/_shared/core/stream/batch-flush-runtime.d.ts +2 -0
  1505. package/dist/types/components/chart/_shared/core/stream/batch-flush.d.ts +44 -0
  1506. package/dist/types/components/chart/_shared/core/stream/category-upserts.d.ts +9 -0
  1507. package/dist/types/components/chart/_shared/core/stream/frame-budget.d.ts +37 -0
  1508. package/dist/types/components/chart/_shared/core/stream/index.d.ts +5 -0
  1509. package/dist/types/components/chart/_shared/core/stream/keyed-object-stream-runtime.d.ts +10 -0
  1510. package/dist/types/components/chart/_shared/core/stream/keyed-object-stream.d.ts +19 -0
  1511. package/dist/types/components/chart/_shared/core/stream/ring-buffer-runtime.d.ts +2 -0
  1512. package/dist/types/components/chart/_shared/core/stream/ring-buffer.d.ts +30 -0
  1513. package/dist/types/components/chart/_shared/core/stream/stream-source-runtime.d.ts +2 -0
  1514. package/dist/types/components/chart/_shared/core/stream/stream-source.d.ts +40 -0
  1515. package/dist/types/components/chart/_shared/core/stream/time-window-runtime.d.ts +2 -0
  1516. package/dist/types/components/chart/_shared/core/stream/time-window.d.ts +21 -0
  1517. package/dist/types/components/chart/_shared/core/theme/index.d.ts +1 -0
  1518. package/dist/types/components/chart/_shared/core/theme/theme.d.ts +21 -0
  1519. package/dist/types/components/chart/_shared/core/tooltip/card-a11y.d.ts +5 -0
  1520. package/dist/types/components/chart/_shared/core/tooltip/cell-tooltip-controller.d.ts +139 -0
  1521. package/dist/types/components/chart/_shared/core/tooltip/connector.d.ts +18 -0
  1522. package/dist/types/components/chart/_shared/core/tooltip/formatter.d.ts +44 -0
  1523. package/dist/types/components/chart/_shared/core/tooltip/index.d.ts +3 -0
  1524. package/dist/types/components/chart/_shared/core/tooltip/tooltip-engine.d.ts +90 -0
  1525. package/dist/types/components/chart/_shared/core/tooltip/tooltip-transfer.d.ts +11 -0
  1526. package/dist/types/components/chart/_shared/core/types.d.ts +51 -0
  1527. package/dist/types/components/chart/_shared/core/visual-map/index.d.ts +4 -0
  1528. package/dist/types/components/chart/_shared/core/visual-map/visual-map-binding.d.ts +50 -0
  1529. package/dist/types/components/chart/_shared/core/visual-map/visual-map-contract.d.ts +125 -0
  1530. package/dist/types/components/chart/_shared/core/zoom/crosshair-sync.d.ts +18 -0
  1531. package/dist/types/components/chart/_shared/core/zoom/index.d.ts +16 -0
  1532. package/dist/types/components/chart/_shared/core/zoom/viewport-zoom.d.ts +33 -0
  1533. package/dist/types/components/chart/_shared/core/zoom/zoom-connect.d.ts +44 -0
  1534. package/dist/types/components/chart/_shared/core/zoom/zoom-contract.d.ts +93 -0
  1535. package/dist/types/components/chart/_shared/core/zoom/zoom-drag.d.ts +13 -0
  1536. package/dist/types/components/chart/_shared/core/zoom/zoom-host.d.ts +58 -0
  1537. package/dist/types/components/chart/_shared/core/zoom/zoom-interaction.d.ts +91 -0
  1538. package/dist/types/components/chart/_shared/core/zoom/zoom-window.d.ts +74 -0
  1539. package/dist/types/components/chart/_shared/render/canvas.d.ts +11 -0
  1540. package/dist/types/components/chart/_shared/render/index.d.ts +6 -0
  1541. package/dist/types/components/chart/_shared/render/series.d.ts +46 -0
  1542. package/dist/types/components/chart/area-chart/core/animation/animator.d.ts +23 -0
  1543. package/dist/types/components/chart/area-chart/core/animation/easing.d.ts +2 -0
  1544. package/dist/types/components/chart/area-chart/core/animation/index.d.ts +3 -0
  1545. package/dist/types/components/chart/area-chart/core/animation/path-morph.d.ts +2 -0
  1546. package/dist/types/components/chart/area-chart/core/area-chart-core.d.ts +45 -0
  1547. package/dist/types/components/chart/area-chart/core/area-pro-renderer-loader.d.ts +3 -0
  1548. package/dist/types/components/chart/area-chart/core/pattern-kind.d.ts +11 -0
  1549. package/dist/types/components/chart/area-chart/core/streaming/index.d.ts +2 -0
  1550. package/dist/types/components/chart/area-chart/core/streaming/ring-buffer-runtime.d.ts +2 -0
  1551. package/dist/types/components/chart/area-chart/core/streaming/ring-buffer.d.ts +11 -0
  1552. package/dist/types/components/chart/area-chart/core/streaming/stream-source-runtime.d.ts +5 -0
  1553. package/dist/types/components/chart/area-chart/core/streaming/stream-source.d.ts +27 -0
  1554. package/dist/types/components/chart/area-chart/core/types.d.ts +121 -0
  1555. package/dist/types/components/chart/area-chart/core/visual-regression/baseline.d.ts +4 -0
  1556. package/dist/types/components/chart/area-chart/core/visual-regression/dom-snapshot.d.ts +14 -0
  1557. package/dist/types/components/chart/area-chart/core/visual-regression/stream-frame-snapshot.d.ts +5 -0
  1558. package/dist/types/components/chart/area-chart/engines/standard/area-chart-standard-renderer.d.ts +11 -0
  1559. package/dist/types/components/chart/area-chart/engines/standard/index.d.ts +2 -0
  1560. package/dist/types/components/chart/area-chart/engines/standard/sy-area-chart-path.d.ts +94 -0
  1561. package/dist/types/components/chart/area-chart/index.d.ts +3 -0
  1562. package/dist/types/components/chart/area-chart/sy-area-chart.d.ts +448 -0
  1563. package/dist/types/components/chart/bar-chart/core/animation/animator.d.ts +23 -0
  1564. package/dist/types/components/chart/bar-chart/core/animation/baseline-grow.d.ts +12 -0
  1565. package/dist/types/components/chart/bar-chart/core/animation/easing.d.ts +2 -0
  1566. package/dist/types/components/chart/bar-chart/core/animation/index.d.ts +4 -0
  1567. package/dist/types/components/chart/bar-chart/core/animation/path-morph.d.ts +2 -0
  1568. package/dist/types/components/chart/bar-chart/core/bar-border.d.ts +37 -0
  1569. package/dist/types/components/chart/bar-chart/core/bar-chart-core.d.ts +44 -0
  1570. package/dist/types/components/chart/bar-chart/core/bar-layout.d.ts +34 -0
  1571. package/dist/types/components/chart/bar-chart/core/bar-pro-renderer-loader.d.ts +3 -0
  1572. package/dist/types/components/chart/bar-chart/core/streaming/index.d.ts +2 -0
  1573. package/dist/types/components/chart/bar-chart/core/streaming/ring-buffer-runtime.d.ts +2 -0
  1574. package/dist/types/components/chart/bar-chart/core/streaming/ring-buffer.d.ts +11 -0
  1575. package/dist/types/components/chart/bar-chart/core/streaming/stream-source-runtime.d.ts +5 -0
  1576. package/dist/types/components/chart/bar-chart/core/streaming/stream-source.d.ts +27 -0
  1577. package/dist/types/components/chart/bar-chart/core/types.d.ts +80 -0
  1578. package/dist/types/components/chart/bar-chart/engines/standard/bar-chart-standard-renderer.d.ts +34 -0
  1579. package/dist/types/components/chart/bar-chart/engines/standard/index.d.ts +2 -0
  1580. package/dist/types/components/chart/bar-chart/engines/standard/sy-bar-chart-path.d.ts +29 -0
  1581. package/dist/types/components/chart/bar-chart/index.d.ts +5 -0
  1582. package/dist/types/components/chart/bar-chart/sy-bar-chart.d.ts +431 -0
  1583. package/dist/types/components/chart/bubble-chart/core/bubble-chart-core.d.ts +24 -0
  1584. package/dist/types/components/chart/bubble-chart/core/bubble-color.d.ts +18 -0
  1585. package/dist/types/components/chart/bubble-chart/core/bubble-data.d.ts +41 -0
  1586. package/dist/types/components/chart/bubble-chart/core/bubble-geometry.d.ts +14 -0
  1587. package/dist/types/components/chart/bubble-chart/core/bubble-morph.d.ts +15 -0
  1588. package/dist/types/components/chart/bubble-chart/core/bubble-pack.d.ts +26 -0
  1589. package/dist/types/components/chart/bubble-chart/core/bubble-pro-renderer-loader.d.ts +3 -0
  1590. package/dist/types/components/chart/bubble-chart/core/bubble-projection.d.ts +37 -0
  1591. package/dist/types/components/chart/bubble-chart/core/bubble-stream-source-runtime.d.ts +3 -0
  1592. package/dist/types/components/chart/bubble-chart/core/bubble-stream-source.d.ts +7 -0
  1593. package/dist/types/components/chart/bubble-chart/core/types.d.ts +39 -0
  1594. package/dist/types/components/chart/bubble-chart/engines/standard/bubble-standard-renderer.d.ts +29 -0
  1595. package/dist/types/components/chart/bubble-chart/engines/standard/index.d.ts +1 -0
  1596. package/dist/types/components/chart/bubble-chart/index.d.ts +10 -0
  1597. package/dist/types/components/chart/bubble-chart/sy-bubble-chart.d.ts +285 -0
  1598. package/dist/types/components/chart/column-chart/core/animation/animator.d.ts +23 -0
  1599. package/dist/types/components/chart/column-chart/core/animation/easing.d.ts +2 -0
  1600. package/dist/types/components/chart/column-chart/core/animation/index.d.ts +3 -0
  1601. package/dist/types/components/chart/column-chart/core/animation/path-morph.d.ts +2 -0
  1602. package/dist/types/components/chart/column-chart/core/column-border.d.ts +16 -0
  1603. package/dist/types/components/chart/column-chart/core/column-chart-core.d.ts +47 -0
  1604. package/dist/types/components/chart/column-chart/core/column-pro-renderer-loader.d.ts +3 -0
  1605. package/dist/types/components/chart/column-chart/core/column-stack.d.ts +49 -0
  1606. package/dist/types/components/chart/column-chart/core/streaming/index.d.ts +2 -0
  1607. package/dist/types/components/chart/column-chart/core/streaming/ring-buffer-runtime.d.ts +2 -0
  1608. package/dist/types/components/chart/column-chart/core/streaming/ring-buffer.d.ts +11 -0
  1609. package/dist/types/components/chart/column-chart/core/streaming/stream-source-runtime.d.ts +5 -0
  1610. package/dist/types/components/chart/column-chart/core/streaming/stream-source.d.ts +27 -0
  1611. package/dist/types/components/chart/column-chart/core/types.d.ts +79 -0
  1612. package/dist/types/components/chart/column-chart/engines/standard/column-chart-standard-renderer.d.ts +11 -0
  1613. package/dist/types/components/chart/column-chart/engines/standard/index.d.ts +2 -0
  1614. package/dist/types/components/chart/column-chart/engines/standard/sy-column-chart-path.d.ts +29 -0
  1615. package/dist/types/components/chart/column-chart/index.d.ts +3 -0
  1616. package/dist/types/components/chart/column-chart/sy-column-chart.d.ts +457 -0
  1617. package/dist/types/components/chart/data-zoom/core/data-zoom-model.d.ts +54 -0
  1618. package/dist/types/components/chart/data-zoom/core/data-zoom-target.d.ts +11 -0
  1619. package/dist/types/components/chart/data-zoom/sy-data-zoom.d.ts +64 -0
  1620. package/dist/types/components/chart/dot-plot-chart/core/dot-plot-animator.d.ts +27 -0
  1621. package/dist/types/components/chart/dot-plot-chart/core/dot-plot-chart-core.d.ts +10 -0
  1622. package/dist/types/components/chart/dot-plot-chart/core/dot-plot-geometry.d.ts +50 -0
  1623. package/dist/types/components/chart/dot-plot-chart/core/dot-plot-stream-source-runtime.d.ts +2 -0
  1624. package/dist/types/components/chart/dot-plot-chart/core/dot-plot-stream-source.d.ts +34 -0
  1625. package/dist/types/components/chart/dot-plot-chart/core/types.d.ts +42 -0
  1626. package/dist/types/components/chart/dot-plot-chart/engines/standard/index.d.ts +2 -0
  1627. package/dist/types/components/chart/dot-plot-chart/index.d.ts +3 -0
  1628. package/dist/types/components/chart/dot-plot-chart/sy-dot-plot-chart.d.ts +215 -0
  1629. package/dist/types/components/chart/dumbbell-chart/core/dumbbell-animator.d.ts +27 -0
  1630. package/dist/types/components/chart/dumbbell-chart/core/dumbbell-chart-core.d.ts +10 -0
  1631. package/dist/types/components/chart/dumbbell-chart/core/dumbbell-data.d.ts +12 -0
  1632. package/dist/types/components/chart/dumbbell-chart/core/dumbbell-geometry.d.ts +38 -0
  1633. package/dist/types/components/chart/dumbbell-chart/core/dumbbell-stream-source-runtime.d.ts +2 -0
  1634. package/dist/types/components/chart/dumbbell-chart/core/dumbbell-stream-source.d.ts +36 -0
  1635. package/dist/types/components/chart/dumbbell-chart/core/types.d.ts +48 -0
  1636. package/dist/types/components/chart/dumbbell-chart/engines/standard/index.d.ts +2 -0
  1637. package/dist/types/components/chart/dumbbell-chart/index.d.ts +3 -0
  1638. package/dist/types/components/chart/dumbbell-chart/sy-dumbbell-chart.d.ts +237 -0
  1639. package/dist/types/components/chart/facade-types.d.ts +167 -0
  1640. package/dist/types/components/chart/funnel-chart/core/funnel-animator.d.ts +27 -0
  1641. package/dist/types/components/chart/funnel-chart/core/funnel-chart-core.d.ts +10 -0
  1642. package/dist/types/components/chart/funnel-chart/core/funnel-geometry.d.ts +38 -0
  1643. package/dist/types/components/chart/funnel-chart/core/funnel-stream-source-runtime.d.ts +2 -0
  1644. package/dist/types/components/chart/funnel-chart/core/funnel-stream-source.d.ts +29 -0
  1645. package/dist/types/components/chart/funnel-chart/core/funnel-tooltip.d.ts +57 -0
  1646. package/dist/types/components/chart/funnel-chart/core/types.d.ts +78 -0
  1647. package/dist/types/components/chart/funnel-chart/engines/standard/index.d.ts +69 -0
  1648. package/dist/types/components/chart/funnel-chart/index.d.ts +8 -0
  1649. package/dist/types/components/chart/funnel-chart/sy-funnel-chart.d.ts +232 -0
  1650. package/dist/types/components/chart/gauge-chart/core/gauge-animator.d.ts +49 -0
  1651. package/dist/types/components/chart/gauge-chart/core/gauge-chart-core.d.ts +10 -0
  1652. package/dist/types/components/chart/gauge-chart/core/gauge-geometry.d.ts +61 -0
  1653. package/dist/types/components/chart/gauge-chart/core/gauge-stream-source-runtime.d.ts +2 -0
  1654. package/dist/types/components/chart/gauge-chart/core/gauge-stream-source.d.ts +28 -0
  1655. package/dist/types/components/chart/gauge-chart/core/gauge-tooltip.d.ts +65 -0
  1656. package/dist/types/components/chart/gauge-chart/core/types.d.ts +156 -0
  1657. package/dist/types/components/chart/gauge-chart/engines/standard/index.d.ts +110 -0
  1658. package/dist/types/components/chart/gauge-chart/index.d.ts +7 -0
  1659. package/dist/types/components/chart/gauge-chart/sy-gauge-chart.d.ts +296 -0
  1660. package/dist/types/components/chart/histogram-chart/core/histogram-animator.d.ts +27 -0
  1661. package/dist/types/components/chart/histogram-chart/core/histogram-binning.d.ts +30 -0
  1662. package/dist/types/components/chart/histogram-chart/core/histogram-chart-core.d.ts +19 -0
  1663. package/dist/types/components/chart/histogram-chart/core/histogram-measure.d.ts +21 -0
  1664. package/dist/types/components/chart/histogram-chart/core/histogram-pro-renderer-loader.d.ts +3 -0
  1665. package/dist/types/components/chart/histogram-chart/core/histogram-stream-source-runtime.d.ts +2 -0
  1666. package/dist/types/components/chart/histogram-chart/core/histogram-stream-source.d.ts +32 -0
  1667. package/dist/types/components/chart/histogram-chart/core/types.d.ts +97 -0
  1668. package/dist/types/components/chart/histogram-chart/engines/standard/index.d.ts +23 -0
  1669. package/dist/types/components/chart/histogram-chart/index.d.ts +6 -0
  1670. package/dist/types/components/chart/histogram-chart/sy-histogram-chart.d.ts +255 -0
  1671. package/dist/types/components/chart/item-chart/core/item-chart-core.d.ts +10 -0
  1672. package/dist/types/components/chart/item-chart/core/item-geometry.d.ts +13 -0
  1673. package/dist/types/components/chart/item-chart/core/item-stream-source-runtime.d.ts +2 -0
  1674. package/dist/types/components/chart/item-chart/core/item-stream-source.d.ts +28 -0
  1675. package/dist/types/components/chart/item-chart/core/item-tooltip.d.ts +68 -0
  1676. package/dist/types/components/chart/item-chart/core/types.d.ts +81 -0
  1677. package/dist/types/components/chart/item-chart/engines/standard/index.d.ts +37 -0
  1678. package/dist/types/components/chart/item-chart/index.d.ts +7 -0
  1679. package/dist/types/components/chart/item-chart/sy-item-chart.d.ts +276 -0
  1680. package/dist/types/components/chart/line-chart/core/animation/animator.d.ts +23 -0
  1681. package/dist/types/components/chart/line-chart/core/animation/easing.d.ts +2 -0
  1682. package/dist/types/components/chart/line-chart/core/animation/index.d.ts +3 -0
  1683. package/dist/types/components/chart/line-chart/core/animation/path-morph.d.ts +2 -0
  1684. package/dist/types/components/chart/line-chart/core/event/hit-test.d.ts +22 -0
  1685. package/dist/types/components/chart/line-chart/core/event/index.d.ts +1 -0
  1686. package/dist/types/components/chart/line-chart/core/license/engine-swap-license.d.ts +100 -0
  1687. package/dist/types/components/chart/line-chart/core/line-chart-core.d.ts +43 -0
  1688. package/dist/types/components/chart/line-chart/core/pro-renderer-loader.d.ts +3 -0
  1689. package/dist/types/components/chart/line-chart/core/streaming/index.d.ts +2 -0
  1690. package/dist/types/components/chart/line-chart/core/streaming/ring-buffer-runtime.d.ts +2 -0
  1691. package/dist/types/components/chart/line-chart/core/streaming/ring-buffer.d.ts +46 -0
  1692. package/dist/types/components/chart/line-chart/core/streaming/stream-source-runtime.d.ts +5 -0
  1693. package/dist/types/components/chart/line-chart/core/streaming/stream-source.d.ts +29 -0
  1694. package/dist/types/components/chart/line-chart/core/types.d.ts +127 -0
  1695. package/dist/types/components/chart/line-chart/core/visual-regression/baseline.d.ts +4 -0
  1696. package/dist/types/components/chart/line-chart/core/visual-regression/dom-snapshot.d.ts +14 -0
  1697. package/dist/types/components/chart/line-chart/core/visual-regression/stream-frame-snapshot.d.ts +5 -0
  1698. package/dist/types/components/chart/line-chart/engines/standard/index.d.ts +1 -0
  1699. package/dist/types/components/chart/line-chart/engines/standard/line-chart-standard-renderer.d.ts +12 -0
  1700. package/dist/types/components/chart/line-chart/engines/standard/sy-line-chart-path.d.ts +49 -0
  1701. package/dist/types/components/chart/line-chart/index.d.ts +2 -0
  1702. package/dist/types/components/chart/line-chart/sy-line-chart.d.ts +509 -0
  1703. package/dist/types/components/chart/lollipop-chart/core/lollipop-animator.d.ts +27 -0
  1704. package/dist/types/components/chart/lollipop-chart/core/lollipop-chart-core.d.ts +10 -0
  1705. package/dist/types/components/chart/lollipop-chart/core/lollipop-geometry.d.ts +37 -0
  1706. package/dist/types/components/chart/lollipop-chart/core/lollipop-stream-source-runtime.d.ts +2 -0
  1707. package/dist/types/components/chart/lollipop-chart/core/lollipop-stream-source.d.ts +34 -0
  1708. package/dist/types/components/chart/lollipop-chart/core/types.d.ts +20 -0
  1709. package/dist/types/components/chart/lollipop-chart/engines/standard/index.d.ts +2 -0
  1710. package/dist/types/components/chart/lollipop-chart/index.d.ts +3 -0
  1711. package/dist/types/components/chart/lollipop-chart/sy-lollipop-chart.d.ts +194 -0
  1712. package/dist/types/components/chart/marimekko-chart/core/marimekko-animator.d.ts +27 -0
  1713. package/dist/types/components/chart/marimekko-chart/core/marimekko-chart-core.d.ts +10 -0
  1714. package/dist/types/components/chart/marimekko-chart/core/marimekko-geometry.d.ts +41 -0
  1715. package/dist/types/components/chart/marimekko-chart/core/marimekko-stream-source-runtime.d.ts +2 -0
  1716. package/dist/types/components/chart/marimekko-chart/core/marimekko-stream-source.d.ts +34 -0
  1717. package/dist/types/components/chart/marimekko-chart/core/types.d.ts +32 -0
  1718. package/dist/types/components/chart/marimekko-chart/engines/standard/index.d.ts +2 -0
  1719. package/dist/types/components/chart/marimekko-chart/index.d.ts +3 -0
  1720. package/dist/types/components/chart/marimekko-chart/sy-marimekko-chart.d.ts +224 -0
  1721. package/dist/types/components/chart/navigator/core/navigator-preview.d.ts +42 -0
  1722. package/dist/types/components/chart/navigator/sy-navigator.d.ts +51 -0
  1723. package/dist/types/components/chart/pareto-chart/core/pareto-animator.d.ts +27 -0
  1724. package/dist/types/components/chart/pareto-chart/core/pareto-chart-core.d.ts +10 -0
  1725. package/dist/types/components/chart/pareto-chart/core/pareto-geometry.d.ts +37 -0
  1726. package/dist/types/components/chart/pareto-chart/core/pareto-stream-source-runtime.d.ts +2 -0
  1727. package/dist/types/components/chart/pareto-chart/core/pareto-stream-source.d.ts +34 -0
  1728. package/dist/types/components/chart/pareto-chart/core/types.d.ts +28 -0
  1729. package/dist/types/components/chart/pareto-chart/engines/standard/index.d.ts +2 -0
  1730. package/dist/types/components/chart/pareto-chart/index.d.ts +3 -0
  1731. package/dist/types/components/chart/pareto-chart/sy-pareto-chart.d.ts +218 -0
  1732. package/dist/types/components/chart/pictorial-chart/core/path-bounds.d.ts +9 -0
  1733. package/dist/types/components/chart/pictorial-chart/core/pictorial-animator.d.ts +27 -0
  1734. package/dist/types/components/chart/pictorial-chart/core/pictorial-chart-core.d.ts +10 -0
  1735. package/dist/types/components/chart/pictorial-chart/core/pictorial-geometry.d.ts +36 -0
  1736. package/dist/types/components/chart/pictorial-chart/core/pictorial-stream-source-runtime.d.ts +2 -0
  1737. package/dist/types/components/chart/pictorial-chart/core/pictorial-stream-source.d.ts +34 -0
  1738. package/dist/types/components/chart/pictorial-chart/core/types.d.ts +21 -0
  1739. package/dist/types/components/chart/pictorial-chart/engines/standard/index.d.ts +3 -0
  1740. package/dist/types/components/chart/pictorial-chart/index.d.ts +4 -0
  1741. package/dist/types/components/chart/pictorial-chart/sy-pictorial-chart.d.ts +232 -0
  1742. package/dist/types/components/chart/pie-chart/core/pie-animator.d.ts +36 -0
  1743. package/dist/types/components/chart/pie-chart/core/pie-chart-core.d.ts +12 -0
  1744. package/dist/types/components/chart/pie-chart/core/pie-flip.d.ts +21 -0
  1745. package/dist/types/components/chart/pie-chart/core/pie-geometry.d.ts +44 -0
  1746. package/dist/types/components/chart/pie-chart/core/pie-labels.d.ts +40 -0
  1747. package/dist/types/components/chart/pie-chart/core/pie-leader-lines.d.ts +15 -0
  1748. package/dist/types/components/chart/pie-chart/core/pie-stream-source-runtime.d.ts +2 -0
  1749. package/dist/types/components/chart/pie-chart/core/pie-stream-source.d.ts +28 -0
  1750. package/dist/types/components/chart/pie-chart/core/pie-tooltip.d.ts +66 -0
  1751. package/dist/types/components/chart/pie-chart/core/types.d.ts +142 -0
  1752. package/dist/types/components/chart/pie-chart/engines/standard/index.d.ts +27 -0
  1753. package/dist/types/components/chart/pie-chart/index.d.ts +10 -0
  1754. package/dist/types/components/chart/pie-chart/license/chart-streaming-gate.d.ts +77 -0
  1755. package/dist/types/components/chart/pie-chart/license/standard-engine-status.d.ts +9 -0
  1756. package/dist/types/components/chart/pie-chart/sy-pie-chart.d.ts +278 -0
  1757. package/dist/types/components/chart/polar-chart/core/polar-chart-core.d.ts +19 -0
  1758. package/dist/types/components/chart/polar-chart/core/polar-geometry.d.ts +45 -0
  1759. package/dist/types/components/chart/polar-chart/core/polar-pro-records.d.ts +55 -0
  1760. package/dist/types/components/chart/polar-chart/core/polar-pro-renderer-loader.d.ts +3 -0
  1761. package/dist/types/components/chart/polar-chart/core/polar-sector-bounds.d.ts +8 -0
  1762. package/dist/types/components/chart/polar-chart/core/polar-stream-source-runtime.d.ts +2 -0
  1763. package/dist/types/components/chart/polar-chart/core/polar-stream-source.d.ts +32 -0
  1764. package/dist/types/components/chart/polar-chart/core/polar-tooltip.d.ts +68 -0
  1765. package/dist/types/components/chart/polar-chart/core/types.d.ts +141 -0
  1766. package/dist/types/components/chart/polar-chart/engines/standard/index.d.ts +64 -0
  1767. package/dist/types/components/chart/polar-chart/index.d.ts +9 -0
  1768. package/dist/types/components/chart/polar-chart/sy-polar-chart.d.ts +319 -0
  1769. package/dist/types/components/chart/radar-chart/core/radar-animator.d.ts +27 -0
  1770. package/dist/types/components/chart/radar-chart/core/radar-chart-core.d.ts +10 -0
  1771. package/dist/types/components/chart/radar-chart/core/radar-crosshair.d.ts +29 -0
  1772. package/dist/types/components/chart/radar-chart/core/radar-geometry.d.ts +67 -0
  1773. package/dist/types/components/chart/radar-chart/core/radar-stream-source-runtime.d.ts +2 -0
  1774. package/dist/types/components/chart/radar-chart/core/radar-stream-source.d.ts +29 -0
  1775. package/dist/types/components/chart/radar-chart/core/radar-tooltip.d.ts +57 -0
  1776. package/dist/types/components/chart/radar-chart/core/types.d.ts +104 -0
  1777. package/dist/types/components/chart/radar-chart/engines/standard/index.d.ts +84 -0
  1778. package/dist/types/components/chart/radar-chart/index.d.ts +8 -0
  1779. package/dist/types/components/chart/radar-chart/sy-radar-chart.d.ts +262 -0
  1780. package/dist/types/components/chart/scatter-chart/core/animation/easing.d.ts +2 -0
  1781. package/dist/types/components/chart/scatter-chart/core/animation/index.d.ts +2 -0
  1782. package/dist/types/components/chart/scatter-chart/core/animation/scatter-animator.d.ts +31 -0
  1783. package/dist/types/components/chart/scatter-chart/core/perf.d.ts +15 -0
  1784. package/dist/types/components/chart/scatter-chart/core/scatter-chart-core.d.ts +34 -0
  1785. package/dist/types/components/chart/scatter-chart/core/scatter-draw-signature.d.ts +16 -0
  1786. package/dist/types/components/chart/scatter-chart/core/scatter-pro-renderer-loader.d.ts +3 -0
  1787. package/dist/types/components/chart/scatter-chart/core/streaming/index.d.ts +1 -0
  1788. package/dist/types/components/chart/scatter-chart/core/streaming/scatter-stream-source-runtime.d.ts +2 -0
  1789. package/dist/types/components/chart/scatter-chart/core/streaming/scatter-stream-source.d.ts +28 -0
  1790. package/dist/types/components/chart/scatter-chart/core/types.d.ts +125 -0
  1791. package/dist/types/components/chart/scatter-chart/core/visual-map.d.ts +68 -0
  1792. package/dist/types/components/chart/scatter-chart/engines/standard/index.d.ts +2 -0
  1793. package/dist/types/components/chart/scatter-chart/engines/standard/scatter-chart-standard-renderer.d.ts +29 -0
  1794. package/dist/types/components/chart/scatter-chart/engines/standard/sy-scatter-chart-path.d.ts +30 -0
  1795. package/dist/types/components/chart/scatter-chart/index.d.ts +5 -0
  1796. package/dist/types/components/chart/scatter-chart/sy-scatter-chart.d.ts +438 -0
  1797. package/dist/types/components/chart/stem-leaf-chart/core/stem-leaf-core.d.ts +10 -0
  1798. package/dist/types/components/chart/stem-leaf-chart/core/stem-leaf-model.d.ts +36 -0
  1799. package/dist/types/components/chart/stem-leaf-chart/core/stem-leaf-stream-source-runtime.d.ts +2 -0
  1800. package/dist/types/components/chart/stem-leaf-chart/core/stem-leaf-stream-source.d.ts +32 -0
  1801. package/dist/types/components/chart/stem-leaf-chart/core/stem-leaf-tooltip.d.ts +65 -0
  1802. package/dist/types/components/chart/stem-leaf-chart/core/types.d.ts +39 -0
  1803. package/dist/types/components/chart/stem-leaf-chart/engines/standard/index.d.ts +33 -0
  1804. package/dist/types/components/chart/stem-leaf-chart/index.d.ts +7 -0
  1805. package/dist/types/components/chart/stem-leaf-chart/sy-stem-leaf-chart.d.ts +220 -0
  1806. package/dist/types/components/chart/sy-chart.d.ts +1552 -0
  1807. package/dist/types/components/chart/tilemap-chart/core/tilemap-core.d.ts +10 -0
  1808. package/dist/types/components/chart/tilemap-chart/core/tilemap-geometry.d.ts +44 -0
  1809. package/dist/types/components/chart/tilemap-chart/core/tilemap-legend.d.ts +32 -0
  1810. package/dist/types/components/chart/tilemap-chart/core/tilemap-stream-source-runtime.d.ts +2 -0
  1811. package/dist/types/components/chart/tilemap-chart/core/tilemap-stream-source.d.ts +28 -0
  1812. package/dist/types/components/chart/tilemap-chart/core/tilemap-tooltip.d.ts +67 -0
  1813. package/dist/types/components/chart/tilemap-chart/core/types.d.ts +80 -0
  1814. package/dist/types/components/chart/tilemap-chart/engines/standard/index.d.ts +40 -0
  1815. package/dist/types/components/chart/tilemap-chart/index.d.ts +7 -0
  1816. package/dist/types/components/chart/tilemap-chart/sy-tilemap.d.ts +266 -0
  1817. package/dist/types/components/chart/tornado-chart/core/tornado-animator.d.ts +27 -0
  1818. package/dist/types/components/chart/tornado-chart/core/tornado-chart-core.d.ts +10 -0
  1819. package/dist/types/components/chart/tornado-chart/core/tornado-geometry.d.ts +35 -0
  1820. package/dist/types/components/chart/tornado-chart/core/tornado-stream-source-runtime.d.ts +2 -0
  1821. package/dist/types/components/chart/tornado-chart/core/tornado-stream-source.d.ts +34 -0
  1822. package/dist/types/components/chart/tornado-chart/core/types.d.ts +28 -0
  1823. package/dist/types/components/chart/tornado-chart/engines/standard/index.d.ts +2 -0
  1824. package/dist/types/components/chart/tornado-chart/index.d.ts +3 -0
  1825. package/dist/types/components/chart/tornado-chart/sy-tornado-chart.d.ts +202 -0
  1826. package/dist/types/components/chart/variwide-chart/core/types.d.ts +27 -0
  1827. package/dist/types/components/chart/variwide-chart/core/variwide-animator.d.ts +27 -0
  1828. package/dist/types/components/chart/variwide-chart/core/variwide-chart-core.d.ts +10 -0
  1829. package/dist/types/components/chart/variwide-chart/core/variwide-geometry.d.ts +37 -0
  1830. package/dist/types/components/chart/variwide-chart/core/variwide-stream-source-runtime.d.ts +2 -0
  1831. package/dist/types/components/chart/variwide-chart/core/variwide-stream-source.d.ts +36 -0
  1832. package/dist/types/components/chart/variwide-chart/engines/standard/index.d.ts +2 -0
  1833. package/dist/types/components/chart/variwide-chart/index.d.ts +3 -0
  1834. package/dist/types/components/chart/variwide-chart/sy-variwide-chart.d.ts +207 -0
  1835. package/dist/types/components/chart/visual-map/sy-visual-map.d.ts +121 -0
  1836. package/dist/types/components/chart/wafer-map-chart/core/types.d.ts +56 -0
  1837. package/dist/types/components/chart/wafer-map-chart/core/wafer-animator.d.ts +30 -0
  1838. package/dist/types/components/chart/wafer-map-chart/core/wafer-bin.d.ts +24 -0
  1839. package/dist/types/components/chart/wafer-map-chart/core/wafer-correlation.d.ts +20 -0
  1840. package/dist/types/components/chart/wafer-map-chart/core/wafer-defect.d.ts +26 -0
  1841. package/dist/types/components/chart/wafer-map-chart/core/wafer-die-index.d.ts +30 -0
  1842. package/dist/types/components/chart/wafer-map-chart/core/wafer-geometry.d.ts +78 -0
  1843. package/dist/types/components/chart/wafer-map-chart/core/wafer-legend.d.ts +35 -0
  1844. package/dist/types/components/chart/wafer-map-chart/core/wafer-map-core.d.ts +10 -0
  1845. package/dist/types/components/chart/wafer-map-chart/core/wafer-render.d.ts +29 -0
  1846. package/dist/types/components/chart/wafer-map-chart/core/wafer-shot.d.ts +33 -0
  1847. package/dist/types/components/chart/wafer-map-chart/core/wafer-stack.d.ts +24 -0
  1848. package/dist/types/components/chart/wafer-map-chart/core/wafer-stream-source-runtime.d.ts +3 -0
  1849. package/dist/types/components/chart/wafer-map-chart/core/wafer-stream-source.d.ts +12 -0
  1850. package/dist/types/components/chart/wafer-map-chart/core/wafer-value.d.ts +35 -0
  1851. package/dist/types/components/chart/wafer-map-chart/core/wafer-yield-zone.d.ts +25 -0
  1852. package/dist/types/components/chart/wafer-map-chart/engines/standard/index.d.ts +40 -0
  1853. package/dist/types/components/chart/wafer-map-chart/index.d.ts +17 -0
  1854. package/dist/types/components/chart/wafer-map-chart/sy-wafer-correlation.d.ts +41 -0
  1855. package/dist/types/components/chart/wafer-map-chart/sy-wafer-map.d.ts +302 -0
  1856. package/dist/types/components/chart/wafer-map-chart/sy-wafer-stack.d.ts +37 -0
  1857. package/dist/types/components/chart/wafer-map-chart/sy-yield-zone-chart.d.ts +33 -0
  1858. package/dist/types/components/chart/word-cloud-chart/core/types.d.ts +87 -0
  1859. package/dist/types/components/chart/word-cloud-chart/core/word-cloud-core.d.ts +10 -0
  1860. package/dist/types/components/chart/word-cloud-chart/core/word-layout.d.ts +39 -0
  1861. package/dist/types/components/chart/word-cloud-chart/core/word-measure.d.ts +6 -0
  1862. package/dist/types/components/chart/word-cloud-chart/core/word-stream-source-runtime.d.ts +2 -0
  1863. package/dist/types/components/chart/word-cloud-chart/core/word-stream-source.d.ts +35 -0
  1864. package/dist/types/components/chart/word-cloud-chart/core/word-tooltip.d.ts +67 -0
  1865. package/dist/types/components/chart/word-cloud-chart/engines/standard/index.d.ts +53 -0
  1866. package/dist/types/components/chart/word-cloud-chart/index.d.ts +8 -0
  1867. package/dist/types/components/chart/word-cloud-chart/sy-word-cloud.d.ts +249 -0
  1868. package/dist/types/components/dynamic-source.d.ts +7 -0
  1869. package/dist/types/components/grid/core/a11y/aria-grid.d.ts +57 -0
  1870. package/dist/types/components/grid/core/a11y/audit-checklist.d.ts +48 -0
  1871. package/dist/types/components/grid/core/a11y/contrast.d.ts +13 -0
  1872. package/dist/types/components/grid/core/a11y/screen-reader-transcript.d.ts +53 -0
  1873. package/dist/types/components/grid/core/a11y/snapshot.d.ts +58 -0
  1874. package/dist/types/components/grid/core/api/base-types.d.ts +15 -0
  1875. package/dist/types/components/grid/core/api/contracts.d.ts +2104 -0
  1876. package/dist/types/components/grid/core/api/index.d.ts +3 -0
  1877. package/dist/types/components/grid/core/api/live-object-model.d.ts +186 -0
  1878. package/dist/types/components/grid/core/audit/audit-export.d.ts +29 -0
  1879. package/dist/types/components/grid/core/audit/audit-log.d.ts +70 -0
  1880. package/dist/types/components/grid/core/brand/grid-brand.d.ts +12 -0
  1881. package/dist/types/components/grid/core/build-tier.d.ts +3 -0
  1882. package/dist/types/components/grid/core/cell/cell-class-rules.d.ts +57 -0
  1883. package/dist/types/components/grid/core/cell/cell-style.d.ts +36 -0
  1884. package/dist/types/components/grid/core/cell/expression-runtime.d.ts +29 -0
  1885. package/dist/types/components/grid/core/cell/index.d.ts +5 -0
  1886. package/dist/types/components/grid/core/cell/renderer-registry.d.ts +55 -0
  1887. package/dist/types/components/grid/core/cell/value-formatter.d.ts +42 -0
  1888. package/dist/types/components/grid/core/cell/value-getter.d.ts +59 -0
  1889. package/dist/types/components/grid/core/cell-cycle.d.ts +19 -0
  1890. package/dist/types/components/grid/core/cell-flash/cell-flash.d.ts +4 -0
  1891. package/dist/types/components/grid/core/cell-tooltip/hover-delay.d.ts +15 -0
  1892. package/dist/types/components/grid/core/cell-tooltip/index.d.ts +2 -0
  1893. package/dist/types/components/grid/core/cell-tooltip/tooltip-text.d.ts +16 -0
  1894. package/dist/types/components/grid/core/chart-link/chart-bridge-types-probe.d.ts +12 -0
  1895. package/dist/types/components/grid/core/chart-link/chart-bridge.d.ts +79 -0
  1896. package/dist/types/components/grid/core/chart-link/chart-cross-filter.d.ts +99 -0
  1897. package/dist/types/components/grid/core/chart-link/chart-events.d.ts +245 -0
  1898. package/dist/types/components/grid/core/chart-link/chart-instances.d.ts +217 -0
  1899. package/dist/types/components/grid/core/chart-link/chart-link-chunk.d.ts +185 -0
  1900. package/dist/types/components/grid/core/chart-link/chart-menu.d.ts +154 -0
  1901. package/dist/types/components/grid/core/chart-link/chart-model.d.ts +176 -0
  1902. package/dist/types/components/grid/core/chart-link/chart-multi.d.ts +178 -0
  1903. package/dist/types/components/grid/core/chart-link/chart-pivot.d.ts +152 -0
  1904. package/dist/types/components/grid/core/chart-link/chart-sync.d.ts +157 -0
  1905. package/dist/types/components/grid/core/clipboard/parse.d.ts +2 -0
  1906. package/dist/types/components/grid/core/clipboard/paste-plan.d.ts +25 -0
  1907. package/dist/types/components/grid/core/clipboard/serialize.d.ts +12 -0
  1908. package/dist/types/components/grid/core/collab-css.d.ts +2 -0
  1909. package/dist/types/components/grid/core/collab-loader.d.ts +10 -0
  1910. package/dist/types/components/grid/core/collab-mentions.d.ts +8 -0
  1911. package/dist/types/components/grid/core/collab-types.d.ts +157 -0
  1912. package/dist/types/components/grid/core/column/column-auto-size.d.ts +20 -0
  1913. package/dist/types/components/grid/core/column/column-groups.d.ts +24 -0
  1914. package/dist/types/components/grid/core/column/column-pin.d.ts +15 -0
  1915. package/dist/types/components/grid/core/column/column-reorder.d.ts +66 -0
  1916. package/dist/types/components/grid/core/column/column-resize.d.ts +75 -0
  1917. package/dist/types/components/grid/core/column/column-sort.d.ts +20 -0
  1918. package/dist/types/components/grid/core/column/column-state.d.ts +44 -0
  1919. package/dist/types/components/grid/core/column/column-visibility.d.ts +28 -0
  1920. package/dist/types/components/grid/core/column/index.d.ts +6 -0
  1921. package/dist/types/components/grid/core/component/async-value-source.d.ts +38 -0
  1922. package/dist/types/components/grid/core/component/component-runtime-chunk.d.ts +34 -0
  1923. package/dist/types/components/grid/core/component/contracts.d.ts +189 -0
  1924. package/dist/types/components/grid/core/component/editor-adapter.d.ts +101 -0
  1925. package/dist/types/components/grid/core/component/editor-facade-controller.d.ts +172 -0
  1926. package/dist/types/components/grid/core/component/editor-validation-presentation.d.ts +6 -0
  1927. package/dist/types/components/grid/core/component/filter-adapter.d.ts +107 -0
  1928. package/dist/types/components/grid/core/component/filter-facade-controller.d.ts +118 -0
  1929. package/dist/types/components/grid/core/component/framework-bridge.d.ts +17 -0
  1930. package/dist/types/components/grid/core/component/index.d.ts +12 -0
  1931. package/dist/types/components/grid/core/component/popup-placement.d.ts +29 -0
  1932. package/dist/types/components/grid/core/component/registry.d.ts +39 -0
  1933. package/dist/types/components/grid/core/component/renderer-adapter.d.ts +17 -0
  1934. package/dist/types/components/grid/core/component/renderer-controller.d.ts +88 -0
  1935. package/dist/types/components/grid/core/component/rich-select-editor.d.ts +16 -0
  1936. package/dist/types/components/grid/core/component/runtime.d.ts +90 -0
  1937. package/dist/types/components/grid/core/conditional-format/cf-builder-chunk.d.ts +19 -0
  1938. package/dist/types/components/grid/core/conditional-format/cf-builder.d.ts +23 -0
  1939. package/dist/types/components/grid/core/conditional-format/conditional-format.d.ts +32 -0
  1940. package/dist/types/components/grid/core/context-menu/clipboard.d.ts +9 -0
  1941. package/dist/types/components/grid/core/context-menu/index.d.ts +3 -0
  1942. package/dist/types/components/grid/core/context-menu/menu.d.ts +6 -0
  1943. package/dist/types/components/grid/core/context-menu/types.d.ts +22 -0
  1944. package/dist/types/components/grid/core/edit/autocomplete-editor.d.ts +21 -0
  1945. package/dist/types/components/grid/core/edit/batch-edit.d.ts +237 -0
  1946. package/dist/types/components/grid/core/edit/checkbox-editor-render.d.ts +27 -0
  1947. package/dist/types/components/grid/core/edit/checkbox-editor.d.ts +10 -0
  1948. package/dist/types/components/grid/core/edit/date-editor-render.d.ts +35 -0
  1949. package/dist/types/components/grid/core/edit/date-editor.d.ts +26 -0
  1950. package/dist/types/components/grid/core/edit/date-picker.d.ts +27 -0
  1951. package/dist/types/components/grid/core/edit/index.d.ts +2 -0
  1952. package/dist/types/components/grid/core/edit/large-text-editor.d.ts +20 -0
  1953. package/dist/types/components/grid/core/edit/number-editor-render.d.ts +37 -0
  1954. package/dist/types/components/grid/core/edit/number-editor.d.ts +27 -0
  1955. package/dist/types/components/grid/core/edit/prospective-edit.d.ts +42 -0
  1956. package/dist/types/components/grid/core/edit/row-edit.d.ts +303 -0
  1957. package/dist/types/components/grid/core/edit/select-editor-render.d.ts +60 -0
  1958. package/dist/types/components/grid/core/edit/select-editor.d.ts +19 -0
  1959. package/dist/types/components/grid/core/edit/text-editor-render.d.ts +31 -0
  1960. package/dist/types/components/grid/core/edit/text-editor.d.ts +13 -0
  1961. package/dist/types/components/grid/core/edit/textarea-editor-render.d.ts +35 -0
  1962. package/dist/types/components/grid/core/edit/textarea-editor.d.ts +19 -0
  1963. package/dist/types/components/grid/core/edit/transaction-api.d.ts +41 -0
  1964. package/dist/types/components/grid/core/edit/transaction.d.ts +39 -0
  1965. package/dist/types/components/grid/core/edit/undo-redo.d.ts +55 -0
  1966. package/dist/types/components/grid/core/empty-state-cycle.d.ts +8 -0
  1967. package/dist/types/components/grid/core/event/index.d.ts +1 -0
  1968. package/dist/types/components/grid/core/event/row-click.d.ts +34 -0
  1969. package/dist/types/components/grid/core/export/csv.d.ts +30 -0
  1970. package/dist/types/components/grid/core/export/grid-pdf-export.d.ts +41 -0
  1971. package/dist/types/components/grid/core/export/index.d.ts +3 -0
  1972. package/dist/types/components/grid/core/filter/advanced-query.d.ts +1 -0
  1973. package/dist/types/components/grid/core/filter/condition-builder.d.ts +21 -0
  1974. package/dist/types/components/grid/core/filter/date.d.ts +13 -0
  1975. package/dist/types/components/grid/core/filter/filter-ui-types.d.ts +35 -0
  1976. package/dist/types/components/grid/core/filter/multi.d.ts +22 -0
  1977. package/dist/types/components/grid/core/filter/number.d.ts +11 -0
  1978. package/dist/types/components/grid/core/filter/quick-filter.d.ts +11 -0
  1979. package/dist/types/components/grid/core/filter/set.d.ts +24 -0
  1980. package/dist/types/components/grid/core/filter/text.d.ts +10 -0
  1981. package/dist/types/components/grid/core/filter-cycle.d.ts +32 -0
  1982. package/dist/types/components/grid/core/floating/index.d.ts +1 -0
  1983. package/dist/types/components/grid/core/floating/positioning.d.ts +24 -0
  1984. package/dist/types/components/grid/core/formula/workbook-binding.d.ts +54 -0
  1985. package/dist/types/components/grid/core/formula/workbook-reference.d.ts +37 -0
  1986. package/dist/types/components/grid/core/formula/workbook-registry.d.ts +86 -0
  1987. package/dist/types/components/grid/core/formula-acceleration-loader.d.ts +12 -0
  1988. package/dist/types/components/grid/core/formula-text.d.ts +1 -0
  1989. package/dist/types/components/grid/core/grid-core.d.ts +20 -0
  1990. package/dist/types/components/grid/core/grouping/display-types.d.ts +165 -0
  1991. package/dist/types/components/grid/core/grouping/group-selection.d.ts +165 -0
  1992. package/dist/types/components/grid/core/hover/row.d.ts +8 -0
  1993. package/dist/types/components/grid/core/import/csv/index.d.ts +1 -0
  1994. package/dist/types/components/grid/core/import/csv/parse-csv.d.ts +30 -0
  1995. package/dist/types/components/grid/core/import/xlsx/cell-ref.d.ts +11 -0
  1996. package/dist/types/components/grid/core/import/xlsx/errors.d.ts +9 -0
  1997. package/dist/types/components/grid/core/import/xlsx/formula.d.ts +4 -0
  1998. package/dist/types/components/grid/core/import/xlsx/grid-import-chunk.d.ts +3 -0
  1999. package/dist/types/components/grid/core/import/xlsx/index.d.ts +26 -0
  2000. package/dist/types/components/grid/core/import/xlsx/inflate.d.ts +2 -0
  2001. package/dist/types/components/grid/core/import/xlsx/merged-cells.d.ts +9 -0
  2002. package/dist/types/components/grid/core/import/xlsx/number-format.d.ts +16 -0
  2003. package/dist/types/components/grid/core/import/xlsx/parse-xlsx.d.ts +34 -0
  2004. package/dist/types/components/grid/core/import/xlsx/pick-sheet.d.ts +2 -0
  2005. package/dist/types/components/grid/core/import/xlsx/shared-strings.d.ts +2 -0
  2006. package/dist/types/components/grid/core/import/xlsx/sheet-streaming.d.ts +11 -0
  2007. package/dist/types/components/grid/core/import/xlsx/sheet.d.ts +31 -0
  2008. package/dist/types/components/grid/core/import/xlsx/styles.d.ts +21 -0
  2009. package/dist/types/components/grid/core/import/xlsx/workbook.d.ts +22 -0
  2010. package/dist/types/components/grid/core/import/xlsx/xml-parser.d.ts +15 -0
  2011. package/dist/types/components/grid/core/import/xlsx/zip-reader.d.ts +28 -0
  2012. package/dist/types/components/grid/core/license/grid-acceleration-port.d.ts +13 -0
  2013. package/dist/types/components/grid/core/license/grid-feature.d.ts +40 -0
  2014. package/dist/types/components/grid/core/license/grid-license-facade.d.ts +50 -0
  2015. package/dist/types/components/grid/core/license/grid-license-runtime.d.ts +2 -0
  2016. package/dist/types/components/grid/core/license/grid-license-session.d.ts +85 -0
  2017. package/dist/types/components/grid/core/license/grid-license.d.ts +40 -0
  2018. package/dist/types/components/grid/core/license/grid-method-route.d.ts +7 -0
  2019. package/dist/types/components/grid/core/license/grid-method-table.d.ts +7 -0
  2020. package/dist/types/components/grid/core/loader/chunk-contract.d.ts +95 -0
  2021. package/dist/types/components/grid/core/loader/chunk-loader.d.ts +62 -0
  2022. package/dist/types/components/grid/core/loading-cycle.d.ts +14 -0
  2023. package/dist/types/components/grid/core/locale/messages.d.ts +13 -0
  2024. package/dist/types/components/grid/core/locale/presets.d.ts +8 -0
  2025. package/dist/types/components/grid/core/locale/resolve.d.ts +12 -0
  2026. package/dist/types/components/grid/core/notes/cell-notes.d.ts +47 -0
  2027. package/dist/types/components/grid/core/numeric/safe-numeric.d.ts +10 -0
  2028. package/dist/types/components/grid/core/pagination-cycle.d.ts +15 -0
  2029. package/dist/types/components/grid/core/pipeline/aggregate.d.ts +30 -0
  2030. package/dist/types/components/grid/core/pipeline/comparator-default.d.ts +1 -0
  2031. package/dist/types/components/grid/core/pipeline/engine-rows-memo.d.ts +10 -0
  2032. package/dist/types/components/grid/core/pipeline/filter.d.ts +9 -0
  2033. package/dist/types/components/grid/core/pipeline/group.d.ts +32 -0
  2034. package/dist/types/components/grid/core/pipeline/index.d.ts +25 -0
  2035. package/dist/types/components/grid/core/pipeline/master-detail.d.ts +7 -0
  2036. package/dist/types/components/grid/core/pipeline/multi-group.d.ts +22 -0
  2037. package/dist/types/components/grid/core/pipeline/paginate.d.ts +12 -0
  2038. package/dist/types/components/grid/core/pipeline/pipeline.d.ts +3 -0
  2039. package/dist/types/components/grid/core/pipeline/pivot-columns.d.ts +15 -0
  2040. package/dist/types/components/grid/core/pipeline/pivot-panel.d.ts +135 -0
  2041. package/dist/types/components/grid/core/pipeline/pivot.d.ts +52 -0
  2042. package/dist/types/components/grid/core/pipeline/sort.d.ts +10 -0
  2043. package/dist/types/components/grid/core/pipeline/tree.d.ts +32 -0
  2044. package/dist/types/components/grid/core/pipeline/types.d.ts +11 -0
  2045. package/dist/types/components/grid/core/pivot/combination-warnings.d.ts +4 -0
  2046. package/dist/types/components/grid/core/pivot/secondary-columns.d.ts +153 -0
  2047. package/dist/types/components/grid/core/pro-chunk-sources.d.ts +4 -0
  2048. package/dist/types/components/grid/core/pro-engine-loader.d.ts +4 -0
  2049. package/dist/types/components/grid/core/pro-gate/engine-precedence.d.ts +16 -0
  2050. package/dist/types/components/grid/core/pro-gate/grid-chunk-backstop.d.ts +5 -0
  2051. package/dist/types/components/grid/core/pro-gate/grid-chunk-features.d.ts +2 -0
  2052. package/dist/types/components/grid/core/pro-gate/grid-clipboard-policy.d.ts +8 -0
  2053. package/dist/types/components/grid/core/pro-gate/grid-declarations.d.ts +25 -0
  2054. package/dist/types/components/grid/core/pro-gate/grid-engine-license.d.ts +23 -0
  2055. package/dist/types/components/grid/core/pro-gate/grid-formula-freeze.d.ts +15 -0
  2056. package/dist/types/components/grid/core/pro-gate/grid-freeze-work.d.ts +38 -0
  2057. package/dist/types/components/grid/core/pro-gate/grid-pro-gate.d.ts +51 -0
  2058. package/dist/types/components/grid/core/pro-gate/grid-state-requirements.d.ts +21 -0
  2059. package/dist/types/components/grid/core/pro-panels/column-menu.d.ts +38 -0
  2060. package/dist/types/components/grid/core/rbac/cell-access.d.ts +12 -0
  2061. package/dist/types/components/grid/core/row-drag/drag-safety.d.ts +268 -0
  2062. package/dist/types/components/grid/core/row-drag/drop-zones.d.ts +266 -0
  2063. package/dist/types/components/grid/core/row-drag/reorder.d.ts +12 -0
  2064. package/dist/types/components/grid/core/row-drag/reparent-facade.d.ts +64 -0
  2065. package/dist/types/components/grid/core/row-drag/row-drag-chunk.d.ts +5 -0
  2066. package/dist/types/components/grid/core/row-drag/row-drag-facade.d.ts +293 -0
  2067. package/dist/types/components/grid/core/row-drag/unmanaged-drag.d.ts +262 -0
  2068. package/dist/types/components/grid/core/row-layout/aligned-grids-facade.d.ts +61 -0
  2069. package/dist/types/components/grid/core/row-layout/aligned-grids.d.ts +154 -0
  2070. package/dist/types/components/grid/core/row-layout/col-span.d.ts +147 -0
  2071. package/dist/types/components/grid/core/row-layout/full-width-facade.d.ts +63 -0
  2072. package/dist/types/components/grid/core/row-layout/full-width-rows.d.ts +261 -0
  2073. package/dist/types/components/grid/core/row-layout/pinned-row-policy.d.ts +142 -0
  2074. package/dist/types/components/grid/core/row-layout/pinned-rows-facade.d.ts +72 -0
  2075. package/dist/types/components/grid/core/row-layout/pinned-rows.d.ts +116 -0
  2076. package/dist/types/components/grid/core/row-layout/row-layout-chunk.d.ts +11 -0
  2077. package/dist/types/components/grid/core/row-layout/row-layout-facade.d.ts +143 -0
  2078. package/dist/types/components/grid/core/row-layout/row-span.d.ts +102 -0
  2079. package/dist/types/components/grid/core/row-layout/span-interaction.d.ts +140 -0
  2080. package/dist/types/components/grid/core/row-markers.d.ts +19 -0
  2081. package/dist/types/components/grid/core/row-model/block-cache.d.ts +46 -0
  2082. package/dist/types/components/grid/core/row-model/client-side.d.ts +10 -0
  2083. package/dist/types/components/grid/core/row-model/datasource.d.ts +16 -0
  2084. package/dist/types/components/grid/core/row-model/index.d.ts +1 -0
  2085. package/dist/types/components/grid/core/row-model/infinite.d.ts +1 -0
  2086. package/dist/types/components/grid/core/row-model/placeholder-row.d.ts +9 -0
  2087. package/dist/types/components/grid/core/row-model/server-datasource-lifecycle.d.ts +80 -0
  2088. package/dist/types/components/grid/core/row-model/server-group-selection.d.ts +123 -0
  2089. package/dist/types/components/grid/core/row-model/server-pivot-results.d.ts +234 -0
  2090. package/dist/types/components/grid/core/row-model/server-refresh.d.ts +63 -0
  2091. package/dist/types/components/grid/core/row-model/server-selection.d.ts +76 -0
  2092. package/dist/types/components/grid/core/row-model/server-side-retry.d.ts +37 -0
  2093. package/dist/types/components/grid/core/row-model/server-side.d.ts +109 -0
  2094. package/dist/types/components/grid/core/row-model/server-store-events.d.ts +160 -0
  2095. package/dist/types/components/grid/core/row-model/server-store-inspection.d.ts +80 -0
  2096. package/dist/types/components/grid/core/row-model/server-store-routes.d.ts +142 -0
  2097. package/dist/types/components/grid/core/row-model/server-transaction-queue.d.ts +96 -0
  2098. package/dist/types/components/grid/core/row-model/server-transactions.d.ts +29 -0
  2099. package/dist/types/components/grid/core/row-model/ssrm-ops-chunk.d.ts +93 -0
  2100. package/dist/types/components/grid/core/row-model/ssrm-selection-facade.d.ts +49 -0
  2101. package/dist/types/components/grid/core/row-model/ssrm-selection.d.ts +107 -0
  2102. package/dist/types/components/grid/core/row-model/viewport-adapters.d.ts +45 -0
  2103. package/dist/types/components/grid/core/row-model/viewport.d.ts +37 -0
  2104. package/dist/types/components/grid/core/selection/canonical-ranges.d.ts +59 -0
  2105. package/dist/types/components/grid/core/selection/checkbox-column.d.ts +28 -0
  2106. package/dist/types/components/grid/core/selection/fill-gestures.d.ts +26 -0
  2107. package/dist/types/components/grid/core/selection/fill-handle.d.ts +78 -0
  2108. package/dist/types/components/grid/core/selection/fill-series.d.ts +57 -0
  2109. package/dist/types/components/grid/core/selection/fill-transaction.d.ts +111 -0
  2110. package/dist/types/components/grid/core/selection/fill-values.d.ts +29 -0
  2111. package/dist/types/components/grid/core/selection/range-bounds.d.ts +2 -0
  2112. package/dist/types/components/grid/core/selection/range.d.ts +32 -0
  2113. package/dist/types/components/grid/core/selection/row.d.ts +31 -0
  2114. package/dist/types/components/grid/core/side-bar/side-bar.d.ts +12 -0
  2115. package/dist/types/components/grid/core/snapshot/snapshot-diff.d.ts +21 -0
  2116. package/dist/types/components/grid/core/snapshot/snapshot.d.ts +24 -0
  2117. package/dist/types/components/grid/core/sort-cycle.d.ts +13 -0
  2118. package/dist/types/components/grid/core/sort-model.d.ts +15 -0
  2119. package/dist/types/components/grid/core/spreadsheet-text.d.ts +7 -0
  2120. package/dist/types/components/grid/core/state/canonical.d.ts +9 -0
  2121. package/dist/types/components/grid/core/state/contracts.d.ts +42 -0
  2122. package/dist/types/components/grid/core/state/filter-handlers.d.ts +34 -0
  2123. package/dist/types/components/grid/core/state/find-state.d.ts +11 -0
  2124. package/dist/types/components/grid/core/state/grid-state.d.ts +61 -0
  2125. package/dist/types/components/grid/core/state/migrate.d.ts +21 -0
  2126. package/dist/types/components/grid/core/state/ownership.d.ts +2 -0
  2127. package/dist/types/components/grid/core/state/persistence.d.ts +21 -0
  2128. package/dist/types/components/grid/core/state/slices/columns.d.ts +55 -0
  2129. package/dist/types/components/grid/core/state/slices/filter.d.ts +45 -0
  2130. package/dist/types/components/grid/core/state/slices/rows.d.ts +73 -0
  2131. package/dist/types/components/grid/core/state/slices/ui.d.ts +77 -0
  2132. package/dist/types/components/grid/core/state/state-events.d.ts +50 -0
  2133. package/dist/types/components/grid/core/state/validate.d.ts +9 -0
  2134. package/dist/types/components/grid/core/status-bar/status-bar.d.ts +18 -0
  2135. package/dist/types/components/grid/core/status-bar/status-panels.d.ts +11 -0
  2136. package/dist/types/components/grid/core/sync/array.d.ts +44 -0
  2137. package/dist/types/components/grid/core/sync/clock.d.ts +32 -0
  2138. package/dist/types/components/grid/core/sync/collab-bridge.d.ts +28 -0
  2139. package/dist/types/components/grid/core/sync/doc.d.ts +35 -0
  2140. package/dist/types/components/grid/core/sync/id.d.ts +11 -0
  2141. package/dist/types/components/grid/core/sync/map.d.ts +33 -0
  2142. package/dist/types/components/grid/core/sync/text.d.ts +11 -0
  2143. package/dist/types/components/grid/core/sync/undo-manager.d.ts +23 -0
  2144. package/dist/types/components/grid/core/theme/apply.d.ts +12 -0
  2145. package/dist/types/components/grid/core/theme/presets.d.ts +9 -0
  2146. package/dist/types/components/grid/core/theme/tokens.d.ts +13 -0
  2147. package/dist/types/components/grid/core/tree/reparent.d.ts +159 -0
  2148. package/dist/types/components/grid/core/tree/tree-data-chunk.d.ts +4 -0
  2149. package/dist/types/components/grid/core/tree/tree-data.d.ts +19 -0
  2150. package/dist/types/components/grid/core/types.d.ts +247 -0
  2151. package/dist/types/components/grid/core/utils/structural.d.ts +2 -0
  2152. package/dist/types/components/grid/core/validation/validation.d.ts +24 -0
  2153. package/dist/types/components/grid/core/virtualizer/cell-virtualizer.d.ts +1 -0
  2154. package/dist/types/components/grid/core/virtualizer/column-virtualizer.d.ts +14 -0
  2155. package/dist/types/components/grid/core/virtualizer/index.d.ts +1 -0
  2156. package/dist/types/components/grid/core/virtualizer/row-virtualizer.d.ts +52 -0
  2157. package/dist/types/components/grid/core/visual-regression/baseline.d.ts +2 -0
  2158. package/dist/types/components/grid/core/visual-regression/dom-snapshot.d.ts +14 -0
  2159. package/dist/types/components/grid/core/visual-regression/real-dom-canonicalise.d.ts +1 -0
  2160. package/dist/types/components/grid/core/vnode-factory.d.ts +1 -0
  2161. package/dist/types/components/grid/engines/standard/index.d.ts +1 -0
  2162. package/dist/types/components/grid/engines/standard/sy-grid-standard.d.ts +24 -0
  2163. package/dist/types/components/grid/index.d.ts +21 -0
  2164. package/dist/types/components/grid/sy-grid.d.ts +2136 -0
  2165. package/dist/types/components.d.ts +10597 -0
  2166. package/dist/types/index.d.ts +7 -0
  2167. package/dist/types/license/base64url.d.ts +3 -0
  2168. package/dist/types/license/certificate.d.ts +48 -0
  2169. package/dist/types/license/constants.d.ts +38 -0
  2170. package/dist/types/license/context.d.ts +6 -0
  2171. package/dist/types/license/deployment.d.ts +9 -0
  2172. package/dist/types/license/diagnostic-constants.d.ts +7 -0
  2173. package/dist/types/license/discovery.d.ts +10 -0
  2174. package/dist/types/license/errors.d.ts +47 -0
  2175. package/dist/types/license/evaluate.d.ts +19 -0
  2176. package/dist/types/license/failure.d.ts +11 -0
  2177. package/dist/types/license/fetch-license.d.ts +12 -0
  2178. package/dist/types/license/generated/chart-features.generated.d.ts +2244 -0
  2179. package/dist/types/license/generated/core-features.generated.d.ts +349 -0
  2180. package/dist/types/license/generated/feature-map.generated.d.ts +4 -0
  2181. package/dist/types/license/generated/grid-features.generated.d.ts +3681 -0
  2182. package/dist/types/license/generated/products.generated.d.ts +26 -0
  2183. package/dist/types/license/index.d.ts +15 -0
  2184. package/dist/types/license/json.d.ts +4 -0
  2185. package/dist/types/license/jws.d.ts +9 -0
  2186. package/dist/types/license/registry.d.ts +37 -0
  2187. package/dist/types/license/release.generated.d.ts +6 -0
  2188. package/dist/types/license/runtime.d.ts +27 -0
  2189. package/dist/types/license/subtle.d.ts +5 -0
  2190. package/dist/types/license/timers.d.ts +6 -0
  2191. package/dist/types/license/timestamp.d.ts +1 -0
  2192. package/dist/types/license/trust-keys.generated.d.ts +3 -0
  2193. package/dist/types/license/trust-store.d.ts +6 -0
  2194. package/dist/types/license/types.d.ts +85 -0
  2195. package/dist/types/license/verify.d.ts +30 -0
  2196. package/dist/types/license/watch.d.ts +18 -0
  2197. package/dist/types/stencil-public-runtime.d.ts +1356 -0
  2198. package/dist/types/utils/story-template.d.ts +17 -0
  2199. package/loader/cdn.js +1 -0
  2200. package/loader/chart-scope.d.ts +21 -0
  2201. package/loader/chart-scope.js +1 -0
  2202. package/loader/index.cjs.js +1 -0
  2203. package/loader/index.d.ts +13 -0
  2204. package/loader/index.es2017.js +1 -0
  2205. package/loader/index.js +1 -0
  2206. package/package.json +108 -4
@@ -0,0 +1 @@
1
+ "use strict";var index=require("./index-CKeHnO3Q.js");var safeFormatter=require("./safe-formatter-B0DDURao.js");var pointContextMenu=require("./point-context-menu-CWB4nv9m.js");var chartStreamingGate=require("./chart-streaming-gate-DX4tlXCx.js");var cartesianFrameInteraction=require("./cartesian-frame-interaction-w1OfXe9B.js");var autoLabels=require("./auto-labels-biCCU4IR.js");var streamInterp=require("./stream-interp-CVi5SGFf.js");var legend=require("./legend-CbjQG1uh.js");var chartBrand=require("./chart-brand-CEKOnWyE.js");var cartesianContract=require("./cartesian-contract-BVApIzMy.js");var connector=require("./connector-8ebOKxbI.js");var resolve=require("./resolve-Cti85ZtE.js");var standardEngineStatus=require("./standard-engine-status-C4zMZsEh.js");require("./chart-license-bridge-DAODso1A.js");require("./errors-DNua3ZWy.js");require("./zoom-window-oCyi6HPg.js");require("./brand-mark-default-DvQHU2qS.js");function toFiniteOrNull(value){return typeof value==="number"&&Number.isFinite(value)?value:null}function computeDumbbellModel(lowValues,highValues,categories,options={}){const n=Math.max(lowValues.length,highValues.length);const items=[];for(let i=0;i<n;i++){const low=toFiniteOrNull(lowValues[i]);const high=toFiniteOrNull(highValues[i]);items.push({index:i,sourceIndex:i,category:categories?.[i]??String(i+1),low,high})}if(options.sortDescending){const sortValue=item=>item.high??item.low??-Infinity;items.sort((a,b)=>sortValue(b)-sortValue(a)||a.sourceIndex-b.sourceIndex);items.forEach((item,i)=>{item.index=i})}let maxValue=0;let minValue=0;let sawFinite=false;for(const item of items){for(const value of[item.low,item.high]){if(value===null)continue;if(!sawFinite){maxValue=value;minValue=value;sawFinite=true}else{maxValue=Math.max(maxValue,value);minValue=Math.min(minValue,value)}}}return{items,maxValue:sawFinite?maxValue:0,minValue:sawFinite?minValue:0}}function dumbbellBandWidth(plotWidth,n){return n>0?plotWidth/n:plotWidth}function dumbbellBandCenterX(plot,i,n){return plot.x+(i+.5)*dumbbellBandWidth(plot.width,n)}function dumbbellConnectors(model,plot,valueY){const n=model.items.length;const out=[];for(const item of model.items){if(item.low===null&&item.high===null)continue;out.push({index:item.index,category:item.category,x:dumbbellBandCenterX(plot,item.index,n),low:item.low,high:item.high,lowY:item.low===null?null:valueY(item.low),highY:item.high===null?null:valueY(item.high)})}return out}function dumbbellBottomUpRevealY(finalY,plot,progress){const startY=plot.y+plot.height;const t=clampUnit(progress);return startY+(finalY-startY)*t}function dumbbellMarkerPath(symbol,cx,cy,r){const x=round(cx);const y=round(cy);const rr=round(r);switch(symbol){case"square":return`M ${x-rr} ${y-rr} H ${x+rr} V ${y+rr} H ${x-rr} Z`;case"diamond":return`M ${x} ${y-rr} L ${x+rr} ${y} L ${x} ${y+rr} L ${x-rr} ${y} Z`;default:return`M ${x-rr} ${y} a ${rr} ${rr} 0 1 0 ${rr*2} 0 a ${rr} ${rr} 0 1 0 ${-rr*2} 0`}}function dumbbellBandAtPoint(plot,n,cssX,cssY){if(n===0)return-1;if(cssX<plot.x||cssX>plot.x+plot.width)return-1;if(cssY<plot.y||cssY>plot.y+plot.height)return-1;const index2=Math.floor((cssX-plot.x)/dumbbellBandWidth(plot.width,n));return Math.max(0,Math.min(n-1,index2))}function round(v){return Math.round(v*100)/100}function clampUnit(value){if(!Number.isFinite(value)||value<=0)return 0;if(value>=1)return 1;return value}function pickDumbbellEngine(options){if(options.requested==="pro"){const reason="no GPU dumbbell renderer exists";if(pointContextMenu.normalizeUnavailableBehaviour(options.onUnavailable)==="error"){throw new Error('sy-dumbbell-chart: Pro engine is unavailable — no GPU dumbbell renderer exists. Use engine="standard" or unavailable="fallback".')}console.warn(`[Syidax] sy-dumbbell-chart: Pro renderer unavailable, falling back to Standard (${reason}).`);return{tier:"standard",fallbackReason:reason}}return{tier:"standard"}}function normalizeDumbbellDatum(datum,index2=0){const values=Array.isArray(datum.values)?datum.values:void 0;return{category:datum.category??String(index2+1),low:(values?values[0]:datum.low)??null,high:(values?values[1]:datum.high)??null,lowColor:datum.lowColor,highColor:datum.highColor,lowMarker:datum.lowMarker,highMarker:datum.highMarker}}function normalizeDumbbellData(data){return Array.isArray(data)?data.map((datum,index2)=>normalizeDumbbellDatum(datum,index2)):[]}function applyDumbbellEasing(t,easing){const x=clamp01(t);switch(easing){case"linear":return x;case"ease-out":return 1-(1-x)*(1-x)*(1-x);case"ease-in":return x*x*x;case"ease-in-out":return x<.5?4*x*x*x:1-Math.pow(-2*x+2,3)/2;default:return x}}function clamp01(value){if(!Number.isFinite(value)||value<=0)return 0;if(value>=1)return 1;return value}function createDumbbellAnimator(){const entries=new Map;function elapsed(entry,now){if(entry.startedAt<0)return entry.pausedElapsed;if(entry.paused)return entry.pausedElapsed;return Math.max(0,now-entry.startedAt+entry.pausedElapsed)}function rawProgress(entry,now){if(entry.duration<=0)return 1;return clamp01(elapsed(entry,now)/entry.duration)}return{start(key,opts){entries.set(key,{startedAt:-1,pausedElapsed:0,paused:false,duration:Math.max(0,opts.duration),easing:opts.easing})},progressAt(key,now){const entry=entries.get(key);if(!entry)return void 0;if(entry.startedAt<0&&!entry.paused)entry.startedAt=now;return applyDumbbellEasing(rawProgress(entry,now),entry.easing)},has(key){return entries.has(key)},isActive(key,now){const entry=entries.get(key);if(!entry)return false;if(entry.paused)return true;return rawProgress(entry,now)<1},tick(now){const done=[];for(const[key,entry]of entries){if(entry.startedAt<0&&!entry.paused)entry.startedAt=now;if(entry.paused)continue;if(rawProgress(entry,now)>=1)done.push(key)}for(const key of done)entries.delete(key)},pauseAll(now){for(const entry of entries.values()){if(entry.paused)continue;if(entry.startedAt>=0)entry.pausedElapsed+=now-entry.startedAt;entry.paused=true}},resumeAll(now){for(const entry of entries.values()){if(!entry.paused)continue;entry.startedAt=now;entry.paused=false}},hasActive(){for(const entry of entries.values())if(!entry.paused)return true;return false},cancel(key){entries.delete(key)},clear(){entries.clear()},entries(){return entries}}}function createDumbbellStreamSource(){const error=new Error("Dedicated streaming requires @syidax/advanced-pro");error.code="module-missing";error.feature="chart.streaming";throw error}function toDatum(input){if(!input||typeof input!=="object")return void 0;const values=Array.isArray(input.values)?input.values:void 0;const low=values?values[0]:input.low;const high=values?values[1]:input.high;if(typeof low==="number"&&typeof high==="number"&&Number.isFinite(low)&&Number.isFinite(high)){return{values:[low,high],low,high,category:input.category}}return void 0}const syDumbbellChartCss=()=>`.sc-sy-dumbbell-chart-h{display:inline-block;position:relative}.sy-dumbbell-chart__surface.sc-sy-dumbbell-chart{display:block}.sy-dumbbell-chart__connector.sc-sy-dumbbell-chart,.sy-dumbbell-chart__marker.sc-sy-dumbbell-chart{transition:opacity 120ms ease}.sy-dumbbell-chart__tooltip.sc-sy-dumbbell-chart{pointer-events:none}.sy-dumbbell-chart__sr-only.sc-sy-dumbbell-chart{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.sy-dumbbell-chart__watermark.sc-sy-dumbbell-chart{position:absolute;right:6px;bottom:4px;font:400 10px system-ui,sans-serif;color:#b45309;pointer-events:none;opacity:.75}`;const REVEAL_KEY="reveal";const MORPH_KEY="morph";const STREAM_KEY="stream";const DUMBBELL_LOW_SERIES_ID="low";const DUMBBELL_HIGH_SERIES_ID="high";function tooltipClassName(base,extra){return extra?`${base} ${extra}`:base}function tooltipCssValue(property,value){if(typeof value!=="number")return value;const unitless=new Set(["lineHeight","opacity","zIndex","fontWeight","flex","flexGrow","flexShrink","order"]);return unitless.has(property)?String(value):`${value}px`}function niceUpper(max){if(!Number.isFinite(max)||max<=0)return 1;const target=max*1.05;const exp=Math.floor(Math.log10(target));const base=Math.pow(10,exp);for(const m of[1,1.5,2,2.5,3,4,5,6,8,10])if(m*base>=target)return m*base;return 10*base}function niceLower(min){if(!Number.isFinite(min)||min>=0)return 0;return-niceUpper(-min)}const SyDumbbellChart=class{constructor(hostRef){index.registerInstance(this,hostRef);this.rendered=index.createEvent(this,"rendered",7);this.pointClick=index.createEvent(this,"pointClick",7);this.pointHover=index.createEvent(this,"pointHover",7);this.crosshairMove=index.createEvent(this,"crosshairMove",7);this.pointContextMenu=index.createEvent(this,"pointContextMenu",7);this.appended=index.createEvent(this,"appended",7);this.windowSlid=index.createEvent(this,"windowSlid",7);this.chartAnimationStart=index.createEvent(this,"chartAnimationStart",7);this.chartAnimationEnd=index.createEvent(this,"chartAnimationEnd",7);this.chartAnimationInterrupted=index.createEvent(this,"chartAnimationInterrupted",7);this.tooltipShow=index.createEvent(this,"tooltipShow",7);this.tooltipHide=index.createEvent(this,"tooltipHide",7);this.tooltipAction=index.createEvent(this,"tooltipAction",7);this.seriesOutsideClick=index.createEvent(this,"seriesOutsideClick",7);this.legendItemClick=index.createEvent(this,"legendItemClick",7);this.seriesToggled=index.createEvent(this,"seriesToggled",7)}get host(){return index.getElement(this)}data=[];categories;groups;lowName;highName;width=640;height=360;brandLogo;brandPosition="bottom-right";color="";lineColor="#cbd5e1";lineWidth=3;marker="circle";markerSize=6;sortDescending=false;valueAxisLabel;xAxis;yAxis;gridLines;xLabelMode;xLabelRotation;xLabelMaxCount;crosshair;chartTitle;chartSubtitle;legend=true;legendPosition="top";tooltipEnabled=true;tooltipFormat;tooltip;enableMouseTracking=true;animated=false;animationDuration=600;animationEasing="ease-out";animationType;streamSource;streamWindow;streamMax;engine="auto";proThreshold=5e4;unavailable="fallback";rendered;pointClick;pointHover;crosshairMove;pointContextMenu;appended;windowSlid;chartAnimationStart;chartAnimationEnd;chartAnimationInterrupted;tooltipShow;tooltipHide;tooltipAction;seriesOutsideClick;legendItemClick;seriesToggled;activeTier="standard";legendDisabled=new Set;fallbackReason;cartesianTooltip=null;cartesianTooltips=[];srAnnouncement="";animationTick=0;hoverIndex=null;cursor=null;tooltipDrag;tooltipElement;nextTooltipId=1;draggableTooltipPositions=new Map;animator=createDumbbellAnimator();animationFrameHandle=null;morphActive=false;displayedConnectors=new Map;morphFromConnectors;internalStreamSource;boundStreamSource;streamUnsubscribe;streamLicense=new chartStreamingGate.ChartStreamingGate({host:()=>this.host,input:()=>chartStreamingGate.chartStreamingInput(this,"always-ring"),active:()=>this.boundStreamSource!==void 0||this.internalStreamSource!==void 0,onChange:change=>this.handleStreamLicenseChange(change)});streamFrozenData;plainStreamStarted=false;suppressNextValuesAnimation=false;streamLowWindow=new Float32Array(0);streamHighWindow=new Float32Array(0);streamCategories=[];streamFromLow;streamFromHigh;lastStreamTime;lastRenderResult={points:0,renderMs:0};pendingRenderedEmit=false;hasLoaded=false;detached=false;connectedCallback(){this.detached=false;this.streamLicense.connect();if(!this.hasLoaded)return;this.resumeStreamBinding()}resumeStreamBinding(){this.bindStreamSource();const source=this.displayedStreamSource();if(source&&this.streamLicense.live()){if(!this.streamUnsubscribe)this.bindToStreamSource(source);this.handleStreamEvent(source,{type:"replace",count:source.length})}}componentDidLoad(){this.hasLoaded=true;this.bindStreamSource();if(this.shouldInitialAnimation(true))this.startReveal()}componentDidRender(){if(this.detached)return;this.measureTooltipBox();if(this.pendingRenderedEmit){this.pendingRenderedEmit=false;this.rendered.emit({...this.lastRenderResult,tier:this.activeTier})}}disconnectedCallback(){this.detached=true;this.streamLicense.disconnect();this.streamUnsubscribe?.();this.streamUnsubscribe=void 0;this.boundStreamSource=void 0;this.stopAnimationLoop();this.animator.clear()}handleValuesChange(){if(this.suppressNextValuesAnimation){this.suppressNextValuesAnimation=false;this.animationTick++;return}if(this.shouldInitialAnimation(this.firstRender)){this.firstRender=false;this.startReveal()}else if(this.shouldUpdateAnimation())this.startMorph();else this.animationTick++}firstRender=true;handleStreamSourceChange(){this.bindStreamSource()}handleAnimationToggle(){if(this.shouldInitialAnimation(true))this.startReveal();else{if(this.animator.hasActive())this.chartAnimationInterrupted.emit();this.animator.clear();this.morphActive=false;this.stopAnimationLoop();this.animationTick++}}handleVisualChange(){this.animationTick++}async redraw(){this.animationTick++;return this.lastRenderResult}async getActiveTier(){return this.activeTier}async setData(data){this.data=data}async appendPoint(datum){const normalized=normalizeDumbbellDatum(datum,this.data.length);await this.streamLicense.run("appendPoint",route=>{if(route==="stream"&&this.activeStreamSource()){this.ensureInternalStreamSource()?.push({values:[normalized.low,normalized.high],category:normalized.category});return}this.data=[...this.data,datum]},this.displayedStreamSource()!==void 0)}async appendBatch(data){await this.streamOrPlain("appendBatch",{type:"pushBatch",data},()=>this.ensureInternalStreamSource()?.pushBatch(data))}async shift(count){await this.streamOrPlain("shift",{type:"shift",count},()=>this.activeStreamSource()?.shift(count))}async replace(data){await this.streamOrPlain("replace",{type:"replace",data},()=>this.ensureInternalStreamSource()?.replace(data))}async getStreamSource(){return this.streamLicense.run("getStreamSource",route=>route==="stream"?this.activeStreamSource():void 0,this.displayedStreamSource()!==void 0)}async showSeries(idOrIndex,opts){return this.updateEndVisible(idOrIndex,true,opts)}async hideSeries(idOrIndex,opts){return this.updateEndVisible(idOrIndex,false,opts)}async setAnimation(options){if(typeof options.duration==="number"&&Number.isFinite(options.duration))this.animationDuration=Math.max(0,options.duration);if(options.easing)this.animationEasing=options.easing;if(typeof options.enabled==="boolean")this.animated=options.enabled;if(options.type)this.animationType=options.type}async pauseAnimation(){this.animator.pauseAll(this.now())}async resumeAnimation(){this.animator.resumeAll(this.now());this.ensureAnimationLoop()}async replayAnimation(){this.startReveal()}async hitTest(cssX,cssY){if(!this.hasVisibleEnd())return null;const layout=this.computeDumbbellLayout();const index2=dumbbellBandAtPoint(layout.plot,layout.model.items.length,cssX,cssY);if(index2<0)return null;if(!this.itemHasVisibleEndpoint(layout.model.items[index2]))return null;return this.detailForIndex(layout,index2,cssX,cssY)}async showTooltipAtPoint(index2){if(!this.hasVisibleEnd())return null;const tooltipSpec=this.resolveTooltipSpec();if(!tooltipSpec.show)return null;const layout=this.computeDumbbellLayout();const hit=this.dumbbellHitAtIndex(layout,index2);if(!hit)return null;return this.showTooltipForHit(layout,hit,tooltipSpec,true)}async hideTooltip(){this.clearTooltips();this.hoverIndex=null}hasVisibleTooltips(){return this.cartesianTooltip!==null||this.cartesianTooltips.length>0}clearTooltips(){if(!this.hasVisibleTooltips())return;this.tooltipDrag=void 0;this.cartesianTooltip=null;this.cartesianTooltips=[];this.tooltipHide.emit()}normalizedData(){return normalizeDumbbellData(this.data)}lows(){return this.normalizedData().map(d=>d.low)}highs(){return this.normalizedData().map(d=>d.high)}cats(){if(this.categories)return[...this.categories];if(this.isStreaming())return[...this.streamCategories];return this.normalizedData().map(d=>d.category)}computeDumbbellLayout(){const model=computeDumbbellModel(this.streamLow()??this.lows(),this.streamHigh()??this.highs(),this.cats(),{sortDescending:this.sortDescending&&!this.isStreaming()});const legend2=this.legendVisible()?this.buildLegendLayout():null;const outer=this.outerRectFromLegend(legend2);const n=model.items.length;const categories=model.items.map(it=>it.category);const valueMax=niceUpper(Math.max(model.maxValue,1));const valueMin=niceLower(model.minValue);const axes=cartesianContract.resolveCartesianAxesSpec(this.resolveXAxisInput(categories),this.resolveYAxisInput());const frame=cartesianFrameInteraction.computeCartesianFrame({outerWidth:outer.width,outerHeight:outer.height,axes,gridLines:cartesianContract.resolveCartesianGridLinesSpec(this.gridLines),title:this.chartTitle,subtitle:this.chartSubtitle,xExtent:{min:-.5,max:Math.max(.5,n-.5)},yExtent:{min:valueMin,max:valueMax}});const plot={x:outer.x+frame.plot.x,y:outer.y+frame.plot.y,width:frame.plot.width,height:frame.plot.height};const valueY=value=>outer.y+frame.yScale(value);const connectors=dumbbellConnectors(model,plot,valueY);return{model,outer,plot,frame,valueY,connectors,legend:legend2}}outerRectFromLegend(legend2){if(!legend2?.remainingOuter)return{x:0,y:0,width:this.width,height:this.height};const r=legend2.remainingOuter;return{x:r.x,y:r.y,width:Math.max(1,r.width),height:Math.max(1,r.height)}}buildLegendLayout(){const items=this.legendItems().map((it,i)=>({label:it.label,swatchColor:it.color,swatchShape:"circle",disabled:this.isEndDisabled(it.id),seriesIndex:i}));const direction=this.legendPosition==="left"||this.legendPosition==="right"?"vertical":"horizontal";return legend.computeLegendLayout({outerWidth:this.width,outerHeight:this.height,items,position:this.legendPosition,direction,padding:{top:8,right:12,bottom:10,left:12},gap:16,swatchSize:12,swatchLabelGap:6,rowGap:6,wrap:true})}resolveXAxisInput(categories){const tickCount=Math.min(categories.length,24);const base={kind:"category",position:"bottom",show:true,categories,tickCount};if(this.xAxis&&typeof this.xAxis==="object")return{...base,...this.xAxis,categories};if(this.xAxis===false||this.xAxis==="off")return{...base,show:false};return base}resolveYAxisInput(){const base={kind:"linear",position:"left",show:true,label:this.valueAxisLabel};if(this.yAxis&&typeof this.yAxis==="object")return{...base,...this.yAxis};if(this.yAxis===false||this.yAxis==="off")return{...base,show:false};return base}shouldAnimate(){if(this.detached)return false;return this.animated&&this.animationDuration>0}shouldInitialAnimation(first){if(!this.shouldAnimate())return false;if(this.animationType==="initial")return true;if(this.animationType==="update")return false;return first}shouldUpdateAnimation(){if(!this.shouldAnimate())return false;return this.animationType!=="initial"}startReveal(){if(this.animator.hasActive())this.chartAnimationInterrupted.emit();this.morphActive=false;this.animator.clear();this.animator.start(REVEAL_KEY,{duration:this.animationDuration,easing:this.animationEasing});this.chartAnimationStart.emit();this.ensureAnimationLoop()}startMorph(){if(this.animator.hasActive())this.chartAnimationInterrupted.emit();this.morphActive=true;this.animator.clear();this.morphFromConnectors=new Map(this.displayedConnectors);this.animator.start(MORPH_KEY,{duration:this.animationDuration,easing:this.animationEasing});this.chartAnimationStart.emit();this.ensureAnimationLoop()}ensureAnimationLoop(){if(this.animationFrameHandle!==null)return;const loop=()=>{this.animator.tick(this.now());this.animationTick++;if(this.animator.hasActive()&&this.animator.entries().size>0)this.animationFrameHandle=requestAnimationFrame(loop);else{this.animationFrameHandle=null;this.morphActive=false;this.chartAnimationEnd.emit()}};this.animationFrameHandle=requestAnimationFrame(loop)}stopAnimationLoop(){if(this.animationFrameHandle!==null){cancelAnimationFrame(this.animationFrameHandle);this.animationFrameHandle=null}}revealProgress(){return this.animator.has(REVEAL_KEY)?this.animator.progressAt(REVEAL_KEY,this.now())??1:1}morphProgress(){return this.morphActive&&this.animator.has(MORPH_KEY)?this.animator.progressAt(MORPH_KEY,this.now())??1:1}now(){return typeof performance!=="undefined"&&typeof performance.now==="function"?performance.now():Date.now()}activeStreamSource(){return this.streamSource??this.internalStreamSource}displayedStreamSource(){return this.boundStreamSource??this.internalStreamSource}ensureInternalStreamSource(){if(this.streamSource)return this.streamSource;if(!this.internalStreamSource){this.internalStreamSource=createDumbbellStreamSource({capacity:this.coerceStreamCapacity(),initial:this.valuesAsData()});this.bindToStreamSource(this.internalStreamSource)}return this.internalStreamSource}valuesAsData(){const out=[];const lows=this.lows();const highs=this.highs();const cats=this.cats();const n=Math.max(lows.length,highs.length);for(let i=0;i<n;i++){const lo=lows[i];const hi=highs[i];if(typeof lo==="number"&&Number.isFinite(lo)&&typeof hi==="number"&&Number.isFinite(hi)){out.push({values:[lo,hi],category:cats[i]})}}return out}coerceStreamCapacity(){if(typeof this.streamMax==="number"&&Number.isFinite(this.streamMax)&&this.streamMax>0)return Math.floor(this.streamMax);if(typeof this.streamWindow==="number"&&Number.isFinite(this.streamWindow)&&this.streamWindow>0)return Math.floor(this.streamWindow)*4;return 2e3}bindStreamSource(){if(this.detached||this.streamLicense.frozen)return;const route=this.streamLicense.route();if(route==="pending"||route==="refused")return;const source=route==="stream"?this.streamSource:void 0;if(this.boundStreamSource===source)return;this.streamUnsubscribe?.();this.streamUnsubscribe=void 0;if(source){this.internalStreamSource=void 0;this.bindToStreamSource(source)}this.boundStreamSource=source}bindToStreamSource(source){if(this.detached)return;this.streamUnsubscribe?.();this.streamUnsubscribe=source.subscribe(event=>this.handleStreamEvent(source,event))}async streamOrPlain(method,op,stream){const implicit=op.type!=="shift"||this.plainStreamStarted||this.displayedStreamSource()!==void 0;await this.streamLicense.run(method,route=>{if(route==="stream")return stream();if(op.type==="shift"&&!this.plainStreamStarted)return;if(op.type!=="shift")this.plainStreamStarted=true;this.applyPlainStream(op)},implicit)}applyPlainStream(op){const toRow=pair=>{const d=toDatum(pair);if(!d)return void 0;return d.category===void 0?{values:[d.low,d.high]}:{category:d.category,values:[d.low,d.high]}};const{list,event}=chartStreamingGate.applyPlainStreamOp(this.data,op,toRow);if(!event)return;this.data=list;if(event.type==="push"||event.type==="pushBatch")this.appended.emit({count:event.count});if(event.type==="shift")this.windowSlid.emit({dropped:event.count})}handleStreamLicenseChange(change){if(this.detached)return;if(change==="frozen"){this.streamFrozenData=this.data;this.streamUnsubscribe?.();this.streamUnsubscribe=void 0;return}if(change==="resumed"){if(this.data!==this.streamFrozenData&&!this.boundStreamSource){this.internalStreamSource=void 0;this.streamLowWindow=new Float32Array(0);this.streamHighWindow=new Float32Array(0);this.streamCategories=[];this.streamFromLow=void 0;this.streamFromHigh=void 0}this.streamFrozenData=void 0}this.resumeStreamBinding()}handleStreamEvent(source,event){const snapshot=source.snapshot(typeof this.streamWindow==="number"&&this.streamWindow>0?this.streamWindow:void 0);const coerceEnd=v=>typeof v==="bigint"?Number(v):typeof v==="number"&&Number.isFinite(v)?v:0;const nextLow=Float32Array.from(snapshot.map(d=>coerceEnd(d.low)));const nextHigh=Float32Array.from(snapshot.map(d=>coerceEnd(d.high)));const nextCategories=snapshot.map((d,i)=>d.category??String(i+1));const animate=this.shouldAnimate()&&this.streamLowWindow.length>0&&nextLow.length>0;if(animate){const now=this.now();const dur=streamInterp.capStreamDuration(this.animationDuration,this.lastStreamTime,now);this.lastStreamTime=now;this.streamFromLow=this.currentStreamLow();this.streamFromHigh=this.currentStreamHigh();this.suppressNextValuesAnimation=true;this.streamLowWindow=nextLow;this.streamHighWindow=nextHigh;this.streamCategories=nextCategories;if(dur>0){this.animator.start(STREAM_KEY,{duration:dur,easing:this.animationEasing});this.chartAnimationStart.emit();this.ensureAnimationLoop()}}else{this.lastStreamTime=this.now();this.suppressNextValuesAnimation=true;this.streamLowWindow=nextLow;this.streamHighWindow=nextHigh;this.streamCategories=nextCategories}this.animationTick++;if(event.type==="push"||event.type==="pushBatch")this.appended.emit({count:event.count});if(event.type==="shift")this.windowSlid.emit({dropped:event.count})}isStreaming(){return this.displayedStreamSource()!=null&&!this.appTookFrozenDisplay()}appTookFrozenDisplay(){return this.streamLicense.frozen&&this.streamFrozenData!==void 0&&this.data!==this.streamFrozenData}currentStreamLow(){if(this.animator.has(STREAM_KEY)&&this.streamFromLow){return streamInterp.lerpStreamWindow(this.streamFromLow,this.streamLowWindow,this.animator.progressAt(STREAM_KEY,this.now())??1)}return this.streamLowWindow}currentStreamHigh(){if(this.animator.has(STREAM_KEY)&&this.streamFromHigh){return streamInterp.lerpStreamWindow(this.streamFromHigh,this.streamHighWindow,this.animator.progressAt(STREAM_KEY,this.now())??1)}return this.streamHighWindow}streamLow(){if(!this.isStreaming())return null;if(this.animator.has(STREAM_KEY)&&this.streamFromLow){return streamInterp.lerpStreamWindow(this.streamFromLow,this.streamLowWindow,this.animator.progressAt(STREAM_KEY,this.now())??1)}return this.streamLowWindow}streamHigh(){if(!this.isStreaming())return null;if(this.animator.has(STREAM_KEY)&&this.streamFromHigh){return streamInterp.lerpStreamWindow(this.streamFromHigh,this.streamHighWindow,this.animator.progressAt(STREAM_KEY,this.now())??1)}return this.streamHighWindow}detailForIndex(layout,index2,cssX,cssY){const item=layout.model.items[index2];const range=item.low===null||item.high===null?null:item.high-item.low;return{index:index2,category:item.category,low:item.low,high:item.high,range,cssX,cssY}}itemHasVisibleEndpoint(item){return this.isLowVisible()&&item.low!==null||this.isHighVisible()&&item.high!==null}resolveTooltipSpec(){const spec=cartesianContract.resolveCartesianTooltipSpec(this.tooltip);if(this.tooltip===void 0&&!this.tooltipEnabled){return{...spec,show:false}}return spec}dumbbellHitAtIndex(layout,index2){if(!this.hasVisibleEnd())return null;const i=Math.trunc(index2);if(!Number.isFinite(i)||i<0||i>=layout.model.items.length)return null;const item=layout.model.items[i];if(!this.itemHasVisibleEndpoint(item))return null;const c=layout.connectors.find(cc=>cc.index===i);const n=layout.model.items.length;const cssX=c?.x??dumbbellBandCenterX(layout.plot,i,n);const highVisible=this.isHighVisible()&&item.high!==null;const value=highVisible?item.high:item.low;const cssY=highVisible?c?.highY??layout.valueY(item.high):c?.lowY??layout.valueY(item.low);return{index:i,category:item.category,low:item.low,high:item.high,value,cssX,cssY}}srSummary(model){const finite=model.items.filter(it=>it.low!==null||it.high!==null);if(finite.length===0)return"Dumbbell chart, no data";return`Dumbbell range chart, ${finite.length} categories, value range ${Math.round(model.minValue)} to ${Math.round(model.maxValue)}.`}shouldShowTooltipOnHover(spec){return spec.trigger!=="click"}shouldShowTooltipOnClick(spec){return spec.trigger==="click"||spec.trigger==="hover-click"}shouldHideTooltipOnLeave(spec){if(!spec.show)return true;if(spec.draggable||spec.trigger==="click")return false;return spec.hideOnLeave!==false}showTooltipForHit(layout,hit,tooltipSpec,allowMultiple=false){const pointCssX=hit.cssX;const pointCssY=hit.cssY;const dataX=hit.index;const dataY=hit.value;const context={seriesIndex:0,pointIndex:hit.index,index:hit.index,value:hit.value,cssX:pointCssX,cssY:pointCssY,dataX,dataY,mode:tooltipSpec.mode};const anchorSpec=tooltipSpec.side?tooltipSpec:{...tooltipSpec,side:"top"};const anchor=cartesianFrameInteraction.cartesianTooltipAnchor({frame:{plot:layout.plot},hit:{cssX:pointCssX,cssY:pointCssY},spec:anchorSpec});const lockedPosition=this.lockedTooltipPositionForHit(hit,tooltipSpec);const renderedSide=lockedPosition?.side??anchor.side;const renderedAnchor=lockedPosition?this.tooltipAnchorFromPositionLock(lockedPosition.lock,renderedSide,lockedPosition.box,tooltipSpec.offset??10):{cssX:anchor.cssX,cssY:anchor.cssY};const text=safeFormatter.safeChartFormatter(tooltipSpec.format,[hit.value,context],()=>this.formatDefaultTooltipText(hit),"tooltip.format",tooltipSpec);const tooltipHtml=safeFormatter.safeChartFormatter(tooltipSpec.html,[hit.value,context],()=>void 0,"tooltip.html",tooltipSpec);const renderedTooltip={id:this.nextTooltipId++,cssX:renderedAnchor.cssX,cssY:renderedAnchor.cssY,pointCssX,pointCssY,box:lockedPosition?.box,side:renderedSide,text,html:tooltipHtml,className:tooltipSpec.className,style:this.tooltipStyleFromSpec(tooltipSpec),interactive:tooltipSpec.interactive,connector:tooltipSpec.connector,draggable:tooltipSpec.draggable,offset:tooltipSpec.offset,positionLock:lockedPosition?.lock,context};this.tooltipDrag=void 0;if(allowMultiple&&tooltipSpec.openMode==="multiple"){this.cartesianTooltip=renderedTooltip;this.cartesianTooltips=[...this.cartesianTooltips,renderedTooltip]}else{this.cartesianTooltips=[];this.cartesianTooltip=renderedTooltip}const detail={cssX:renderedAnchor.cssX,cssY:renderedAnchor.cssY,anchor:renderedSide,text,html:tooltipHtml,context};this.tooltipShow.emit(detail);return detail}formatDefaultTooltipText(hit){if(this.tooltipFormat){try{return this.tooltipFormat({index:hit.index,category:hit.category,low:hit.low,high:hit.high,range:hit.low===null||hit.high===null?null:hit.high-hit.low,cssX:hit.cssX,cssY:hit.cssY})}catch(error){safeFormatter.reportChartFormatterError(this.tooltipFormat,error,"tooltipFormat")}}return`${hit.category}: ${formatMaybeNumber(hit.low)} → ${formatMaybeNumber(hit.high)}`}tooltipStyleFromSpec(spec){const style={...spec.style??{}};if(spec.width!==void 0)style.width=spec.width;if(spec.minWidth!==void 0)style.minWidth=spec.minWidth;if(spec.maxWidth!==void 0)style.maxWidth=spec.maxWidth;if(spec.padding!==void 0)style.padding=spec.padding;return Object.keys(style).length>0?style:void 0}renderTooltip(){const multiple=this.cartesianTooltips.length>0;const tooltips=multiple?this.cartesianTooltips:[this.positionedTooltipForRender()].filter(tooltip=>Boolean(tooltip));if(tooltips.length===0)return null;return tooltips.map(tooltip=>this.renderTooltipItem(tooltip,!multiple))}renderTooltipItem(tooltip,trackMeasure){const{cssX,cssY,side,text,html:tooltipHtml,className,style:customStyle,interactive,draggable}=tooltip;const offset=tooltip.offset??10;const style={position:"absolute",zIndex:"4",boxSizing:"border-box",width:"max-content",maxWidth:"calc(100% - 16px)",padding:"4px 8px",font:"400 11px system-ui, sans-serif",color:"var(--sy-tooltip-color, #fff)",background:"var(--sy-tooltip-bg, rgba(17,24,39,0.92))",borderRadius:"4px",whiteSpace:"pre-line",lineHeight:"1.35",pointerEvents:interactive||draggable?"auto":"none",cursor:draggable?this.tooltipDrag?"grabbing":"grab":"default",transform:""};if(tooltip.positionLock){style.left=`${tooltip.positionLock.x}px`;style.top=`${tooltip.positionLock.y}px`;style.transform=""}else if(side==="top"){style.left=`${cssX}px`;style.top=`${cssY-offset}px`;style.transform="translate(-50%, -100%)"}else if(side==="bottom"){style.left=`${cssX}px`;style.top=`${cssY+offset}px`;style.transform="translate(-50%, 0%)"}else if(side==="left"){style.left=`${cssX-offset}px`;style.top=`${cssY}px`;style.transform="translate(-100%, -50%)"}else{style.left=`${cssX+offset}px`;style.top=`${cssY}px`;style.transform="translate(0%, -50%)"}for(const[key,value]of Object.entries(customStyle??{})){style[key]=tooltipCssValue(key,value)}if(tooltipHtml!==void 0){return index.h("div",{class:tooltipClassName("sy-dumbbell-chart__tooltip",className),"data-tooltip-id":`${tooltip.id}`,ref:trackMeasure?el=>this.tooltipElement=el:void 0,style,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp,innerHTML:tooltipHtml})}return index.h("div",{class:tooltipClassName("sy-dumbbell-chart__tooltip",className),"data-tooltip-id":`${tooltip.id}`,ref:trackMeasure?el=>this.tooltipElement=el:void 0,style,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp},text)}renderTooltipConnector(){const tooltips=this.cartesianTooltips.length>0?this.cartesianTooltips:[this.positionedTooltipForRender()].filter(tooltip=>Boolean(tooltip));const connectedTooltips=tooltips.filter(tooltip=>tooltip.connector?.show);if(connectedTooltips.length===0)return null;return index.h("svg",{class:"sy-dumbbell-chart__tooltip-connector",width:this.width,height:this.height,style:{position:"absolute",left:"0px",top:"0px",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",overflow:"visible",zIndex:"3"},"aria-hidden":"true"},connectedTooltips.map(tooltip=>{const connector$1=tooltip.connector;const end=connector.tooltipConnectorEnd(tooltip);return index.h("line",{x1:tooltip.pointCssX,y1:tooltip.pointCssY,x2:end.x,y2:end.y,stroke:connector$1.color??"var(--sy-tooltip-connector-color, rgba(17,24,39,0.42))","stroke-width":connector$1.width??1,"stroke-dasharray":connector$1.dash?.join(" ")})}))}positionedTooltipForRender(tooltip=this.cartesianTooltip){if(!tooltip)return null;if(!tooltip.box||this.tooltipDrag)return tooltip;if(tooltip.positionLock)return tooltip;const offset=tooltip.offset??10;const placement=connector.computeTooltipPlacement({anchor:{kind:"point",x:tooltip.pointCssX,y:tooltip.pointCssY},tooltip:tooltip.box,viewport:{x:0,y:0,width:this.width,height:this.height},preferredSide:tooltip.side,offset,padding:6});const anchor=this.tooltipAnchorFromTopLeft(placement.x,placement.y,tooltip.box,placement.side,offset);return{...tooltip,...anchor,side:placement.side}}tooltipTopLeftFromAnchor(tooltip){const box=tooltip.box;if(!box)return void 0;const offset=tooltip.offset??10;if(tooltip.side==="top")return{x:tooltip.cssX-box.width/2,y:tooltip.cssY-offset-box.height};if(tooltip.side==="bottom")return{x:tooltip.cssX-box.width/2,y:tooltip.cssY+offset};if(tooltip.side==="left")return{x:tooltip.cssX-offset-box.width,y:tooltip.cssY-box.height/2};return{x:tooltip.cssX+offset,y:tooltip.cssY-box.height/2}}tooltipTopLeftFromElement(element){const rect=element.getBoundingClientRect();const hostRect=this.host.getBoundingClientRect();if(!Number.isFinite(rect.left)||!Number.isFinite(rect.top))return void 0;return{x:rect.left-hostRect.left,y:rect.top-hostRect.top}}tooltipAnchorFromPositionLock(lock,side,box,offset){return box?this.tooltipAnchorFromTopLeft(lock.x,lock.y,box,side,offset):{cssX:lock.x,cssY:lock.y}}tooltipPositionKeyForHit(hit){return`0:${hit.index}`}tooltipPositionKeyForContext(context){return`${context.seriesIndex??0}:${context.pointIndex??context.index??0}`}rememberDraggableTooltipPosition(tooltip){if(!tooltip.draggable||!tooltip.positionLock)return;this.draggableTooltipPositions.set(this.tooltipPositionKeyForContext(tooltip.context),{lock:{...tooltip.positionLock},side:tooltip.side,box:tooltip.box})}lockedTooltipPositionForHit(hit,tooltipSpec){if(tooltipSpec.draggable){const memory=this.draggableTooltipPositions.get(this.tooltipPositionKeyForHit(hit));if(!memory)return void 0;return{lock:{...memory.lock},side:memory.side,box:memory.box}}if(!tooltipSpec.interactive||tooltipSpec.openMode==="multiple")return void 0;const tooltip=this.positionedTooltipForRender();if(!tooltip?.box)return void 0;const samePoint=tooltip.context.pointIndex===hit.index;if(!samePoint)return void 0;const lock=this.tooltipTopLeftFromAnchor(tooltip);return lock?{lock,side:tooltip.side,box:tooltip.box}:void 0}tooltipAnchorFromTopLeft(x,y,box,side,offset){if(side==="top")return{cssX:x+box.width/2,cssY:y+box.height+offset};if(side==="bottom")return{cssX:x+box.width/2,cssY:y-offset};if(side==="left")return{cssX:x+box.width+offset,cssY:y+box.height/2};return{cssX:x-offset,cssY:y+box.height/2}}measureTooltipBox(){if(this.cartesianTooltips.length>0)return;const tooltip=this.cartesianTooltip;const element=this.tooltipElement;if(!tooltip||!element)return;const rect=element.getBoundingClientRect();if(!Number.isFinite(rect.width)||!Number.isFinite(rect.height))return;const width=Math.round(rect.width*100)/100;const height=Math.round(rect.height*100)/100;if(tooltip.box?.width===width&&tooltip.box?.height===height)return;const box={width,height};const next={...tooltip,box};if(tooltip.positionLock){Object.assign(next,this.tooltipAnchorFromPositionLock(tooltip.positionLock,tooltip.side,box,tooltip.offset??10))}this.rememberDraggableTooltipPosition(next);this.cartesianTooltip=next}handleTooltipActionClick=event=>{const target=event.target;const actionTarget=target?.closest?.("[data-tooltip-action]");const action=actionTarget?.dataset.tooltipAction;const tooltipId=Number(actionTarget?.closest?.("[data-tooltip-id]")?.getAttribute("data-tooltip-id"));const tooltip=this.cartesianTooltips.find(entry=>entry.id===tooltipId)??this.cartesianTooltip;if(!action||!tooltip)return;event.stopPropagation();this.tooltipAction.emit({...tooltip.context,action,text:tooltip.text,html:tooltip.html})};handleTooltipPointerDown=event=>{if(!this.cartesianTooltip?.draggable)return;const target=event.target;if(target?.closest?.("[data-tooltip-action],button,a,input,textarea,select"))return;event.preventDefault();event.stopPropagation();const element=event.currentTarget;const renderedTooltip=this.positionedTooltipForRender(this.cartesianTooltip)??this.cartesianTooltip;const lock=this.tooltipTopLeftFromElement(element)??this.tooltipTopLeftFromAnchor(renderedTooltip)??{x:renderedTooltip.cssX,y:renderedTooltip.cssY};const box=this.cartesianTooltip.box??renderedTooltip.box;const next={...this.cartesianTooltip,cssX:renderedTooltip.cssX,cssY:renderedTooltip.cssY,side:renderedTooltip.side,box,positionLock:lock};Object.assign(next,this.tooltipAnchorFromPositionLock(lock,next.side,box,next.offset??10));this.cartesianTooltip=next;this.rememberDraggableTooltipPosition(next);element.setPointerCapture?.(event.pointerId);this.tooltipDrag={pointerId:event.pointerId,startX:event.clientX,startY:event.clientY,originX:next.cssX,originY:next.cssY,originLockX:lock.x,originLockY:lock.y}};handleTooltipPointerMove=event=>{const drag=this.tooltipDrag;if(!drag||drag.pointerId!==event.pointerId||!this.cartesianTooltip)return;event.preventDefault();event.stopPropagation();const lock={x:drag.originLockX+event.clientX-drag.startX,y:drag.originLockY+event.clientY-drag.startY};const next={...this.cartesianTooltip,positionLock:lock};Object.assign(next,this.tooltipAnchorFromPositionLock(lock,next.side,next.box,next.offset??10));this.cartesianTooltip=next;this.rememberDraggableTooltipPosition(next)};handleTooltipPointerUp=event=>{const drag=this.tooltipDrag;if(!drag||drag.pointerId!==event.pointerId)return;event.stopPropagation();if(this.cartesianTooltip)this.rememberDraggableTooltipPosition(this.cartesianTooltip);event.currentTarget.releasePointerCapture?.(event.pointerId);this.tooltipDrag=void 0};localPoint(event){const rect=this.host.getBoundingClientRect();return{cssX:event.clientX-rect.left,cssY:event.clientY-rect.top}}handlePointerMove=event=>{if(!this.enableMouseTracking)return;const layout=this.computeDumbbellLayout();const{cssX,cssY}=this.localPoint(event);this.updateCrosshair(layout,cssX,cssY);const tooltipSpec=this.resolveTooltipSpec();const index2=this.hasVisibleEnd()?dumbbellBandAtPoint(layout.plot,layout.model.items.length,cssX,cssY):-1;if(index2<0||!this.itemHasVisibleEndpoint(layout.model.items[index2])){if(this.hoverIndex!==null){this.hoverIndex=null;this.pointHover.emit(null)}if(this.hasVisibleTooltips()&&this.shouldHideTooltipOnLeave(tooltipSpec))this.clearTooltips();return}if(index2!==this.hoverIndex){this.hoverIndex=index2;this.pointHover.emit(this.detailForIndex(layout,index2,cssX,cssY))}if(tooltipSpec.show&&this.shouldShowTooltipOnHover(tooltipSpec)){const hit=this.dumbbellHitAtIndex(layout,index2);if(hit)this.showTooltipForHit(layout,hit,tooltipSpec)}else if(this.hasVisibleTooltips()&&this.shouldHideTooltipOnLeave(tooltipSpec)){this.clearTooltips()}};handlePointerLeave=()=>{if(this.hoverIndex!==null)this.pointHover.emit(null);this.hoverIndex=null;if(this.cursor!==null){this.cursor=null;this.crosshairMove.emit(null)}const tooltipSpec=this.resolveTooltipSpec();if(this.hasVisibleTooltips()&&this.shouldHideTooltipOnLeave(tooltipSpec))this.clearTooltips()};updateCrosshair(layout,cssX,cssY){const spec=cartesianContract.resolveCartesianCrosshairSpec(this.crosshair);const{plot}=layout;const inside=cssX>=plot.x&&cssX<=plot.x+plot.width&&cssY>=plot.y&&cssY<=plot.y+plot.height;if(!spec.show||!inside){if(this.cursor!==null){this.cursor=null;this.crosshairMove.emit(null)}return}const bands=layout.connectors.map(c=>({pos:c.x,index:c.index}));const points=layout.connectors.flatMap(c=>{const out=[];if(this.isLowVisible()&&c.lowY!==null)out.push({cssX:c.x,cssY:c.lowY,index:c.index});if(this.isHighVisible()&&c.highY!==null)out.push({cssX:c.x,cssY:c.highY,index:c.index});return out});const snap=autoLabels.snapCategoryCrosshair(cssX,cssY,plot,"x",bands,points,spec.snap);if(!this.cursor||this.cursor.cssX!==snap.cssX||this.cursor.cssY!==snap.cssY){this.cursor={cssX:snap.cssX,cssY:snap.cssY};this.crosshairMove.emit({cssX:snap.cssX,cssY:snap.cssY,snappedPointIndex:snap.index})}}crosshairLineBackground(direction,color,dash){if(!dash||dash.length===0)return color;const mark=Math.max(1,Number.isFinite(Number(dash[0]))?Number(dash[0]):4);const gap=Math.max(1,Number.isFinite(Number(dash[1]))?Number(dash[1]):mark);const axis=direction==="vertical"?"to bottom":"to right";return`repeating-linear-gradient(${axis}, ${color} 0px, ${color} ${mark}px, transparent ${mark}px, transparent ${mark+gap}px)`}renderCrosshair(layout){const spec=cartesianContract.resolveCartesianCrosshairSpec(this.crosshair);if(!spec.show||!this.cursor)return null;const{plot}=layout;const color=spec.color??"var(--sy-crosshair-color, rgba(17,24,39,0.4))";const showV=spec.mode==="vertical"||spec.mode==="cross";const showH=spec.mode==="horizontal"||spec.mode==="cross";return index.h("div",{class:"sy-dumbbell-chart__crosshair",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",zIndex:"2"}},showV&&index.h("div",{class:"sy-dumbbell-chart__crosshair-line",style:{position:"absolute",left:`${this.cursor.cssX}px`,top:`${plot.y}px`,width:"1px",height:`${plot.height}px`,background:this.crosshairLineBackground("vertical",color,spec.dash)}}),showH&&index.h("div",{class:"sy-dumbbell-chart__crosshair-line",style:{position:"absolute",left:`${plot.x}px`,top:`${this.cursor.cssY}px`,width:`${plot.width}px`,height:"1px",background:this.crosshairLineBackground("horizontal",color,spec.dash)}}))}handlePointerClick=event=>{const layout=this.computeDumbbellLayout();const{cssX,cssY}=this.localPoint(event);const{plot}=layout;const inside=cssX>=plot.x&&cssX<=plot.x+plot.width&&cssY>=plot.y&&cssY<=plot.y+plot.height;const index2=this.hasVisibleEnd()?dumbbellBandAtPoint(layout.plot,layout.model.items.length,cssX,cssY):-1;const c=index2>=0?layout.connectors.find(cc=>cc.index===index2)??null:null;const markerYs=c?this.visibleMarkerYs(c):[];const offMark=markerYs.length===0||cssY<Math.min(...markerYs)-12||cssY>Math.max(...markerYs)+12;if(index2<0||!this.itemHasVisibleEndpoint(layout.model.items[index2])||offMark){if(this.hasVisibleTooltips())this.clearTooltips();if(inside)this.seriesOutsideClick.emit({cssX,cssY});return}this.pointClick.emit(this.detailForIndex(layout,index2,cssX,cssY));const tooltipSpec=this.resolveTooltipSpec();if(tooltipSpec.show&&this.shouldShowTooltipOnClick(tooltipSpec)){const hit=this.dumbbellHitAtIndex(layout,index2);if(hit)this.showTooltipForHit(layout,hit,tooltipSpec,true)}};handleContextMenu=event=>{if(!this.hasVisibleEnd())return;const layout=this.computeDumbbellLayout();const{cssX,cssY}=this.localPoint(event);const index2=dumbbellBandAtPoint(layout.plot,layout.model.items.length,cssX,cssY);if(index2<0||!this.itemHasVisibleEndpoint(layout.model.items[index2]))return;this.pointContextMenu.emit(pointContextMenu.buildChartPointContextMenuDetail(event,this.host,"dumbbell",this.detailForIndex(layout,index2,cssX,cssY)))};legendVisible(){return this.legend}pairColors(){return resolve.resolvePairColors(this.color,["#94a3b8","#2563eb"])}groupLabels(){const low=this.groups?.[0]?.trim()||this.lowName?.trim()||"Low";const high=this.groups?.[1]?.trim()||this.highName?.trim()||"High";return[low,high]}legendItems(){const[low,high]=this.pairColors();const[lowLabel,highLabel]=this.groupLabels();return[{id:DUMBBELL_LOW_SERIES_ID,label:lowLabel,color:low},{id:DUMBBELL_HIGH_SERIES_ID,label:highLabel,color:high}]}isEndDisabled(id){return this.legendDisabled.has(id)}isLowVisible(){return!this.isEndDisabled(DUMBBELL_LOW_SERIES_ID)}isHighVisible(){return!this.isEndDisabled(DUMBBELL_HIGH_SERIES_ID)}hasVisibleEnd(){return this.isLowVisible()||this.isHighVisible()}hasVisibleConnector(){return this.isLowVisible()&&this.isHighVisible()}visibleMarkerYs(connector2){const ys=[];if(this.isLowVisible()&&connector2.lowY!==null)ys.push(connector2.lowY);if(this.isHighVisible()&&connector2.highY!==null)ys.push(connector2.highY);return ys}renderedElementCount(connectors){if(!this.hasVisibleEnd())return 0;let markerCount=0;let connectorCount=0;for(const connector2 of connectors){if(this.isLowVisible()&&connector2.lowY!==null)markerCount++;if(this.isHighVisible()&&connector2.highY!==null)markerCount++;if(this.hasVisibleConnector()&&connector2.lowY!==null&&connector2.highY!==null)connectorCount++}return markerCount+connectorCount}endpointIndex(id){return id===DUMBBELL_LOW_SERIES_ID?0:1}resolveEndId(idOrIndex){if(typeof idOrIndex==="number"&&Number.isFinite(idOrIndex)){const index2=Math.floor(idOrIndex);if(index2===0)return DUMBBELL_LOW_SERIES_ID;if(index2===1)return DUMBBELL_HIGH_SERIES_ID;return null}const normalized=String(idOrIndex).trim().toLowerCase();const[lowLabel,highLabel]=this.groupLabels();if(normalized===DUMBBELL_LOW_SERIES_ID||normalized===lowLabel.trim().toLowerCase())return DUMBBELL_LOW_SERIES_ID;if(normalized===DUMBBELL_HIGH_SERIES_ID||normalized===highLabel.trim().toLowerCase())return DUMBBELL_HIGH_SERIES_ID;return null}updateEndVisible(idOrIndex,visible,opts){const id=this.resolveEndId(idOrIndex);if(!id)return false;const next=new Set(this.legendDisabled);if(visible)next.delete(id);else next.add(id);this.legendDisabled=next;const index2=this.endpointIndex(id);this.seriesToggled.emit({index:index2,seriesId:id,disabled:!visible});if(opts?.redraw!==false)this.animationTick++;return true}toggleEnd(item,index2){const next=new Set(this.legendDisabled);if(next.has(item.id))next.delete(item.id);else next.add(item.id);this.legendDisabled=next;const disabled=next.has(item.id);this.legendItemClick.emit({index:index2,seriesId:item.id,label:item.label,disabled});this.seriesToggled.emit({index:index2,seriesId:item.id,disabled});this.animationTick++}renderLegend(layout){const legend2=layout.legend;if(!legend2?.legendRect)return null;const rect=legend2.legendRect;const vertical=this.legendPosition==="left"||this.legendPosition==="right";return index.h("div",{class:"sy-dumbbell-chart__legend",style:{position:"absolute",left:`${rect.x}px`,top:`${rect.y}px`,width:`${rect.width}px`,height:`${rect.height}px`,display:"flex",flexDirection:vertical?"column":"row",flexWrap:"wrap",gap:"14px",alignItems:"center",justifyContent:"center",font:"400 12px system-ui, sans-serif",pointerEvents:"auto",zIndex:"3"}},this.legendItems().map((item,i)=>{const disabled=this.isEndDisabled(item.id);return index.h("button",{type:"button",key:`lg-${i}`,class:{"sy-dumbbell-chart__legend-item":true,"sy-dumbbell-chart__legend-item--disabled":disabled},style:{display:"inline-flex",alignItems:"center",gap:"6px",border:"none",outline:"none",boxShadow:"none",appearance:"none",background:"none",padding:"0",cursor:"pointer",pointerEvents:"auto",font:"inherit",color:"inherit",opacity:disabled?"0.4":"1",textDecoration:disabled?"line-through":"none"},onClick:()=>this.toggleEnd(item,i)},index.h("span",{class:"sy-dumbbell-chart__legend-swatch",style:{width:"12px",height:"12px",borderRadius:"50%",background:item.color}}),index.h("span",{class:"sy-dumbbell-chart__legend-label"},item.label))}))}render(){const pick=pickDumbbellEngine({requested:this.engine,onUnavailable:this.unavailable});this.activeTier=pick.tier;this.fallbackReason=pick.fallbackReason;const layout=this.computeDumbbellLayout();const revealing=this.animator.has(REVEAL_KEY)&&!this.morphActive;const morphing=this.morphActive&&this.animator.has(MORPH_KEY)&&this.morphFromConnectors!==void 0;const reveal=revealing?this.revealProgress():1;const morph=morphing?this.morphProgress():1;const animY=new Map;for(const c of layout.connectors){let lowY=c.lowY;let highY=c.highY;if(morphing){const from=this.morphFromConnectors.get(c.index);if(from){if(from.lowY!==null&&c.lowY!==null)lowY=from.lowY+(c.lowY-from.lowY)*morph;if(from.highY!==null&&c.highY!==null)highY=from.highY+(c.highY-from.highY)*morph}}else if(revealing){lowY=c.lowY===null?null:dumbbellBottomUpRevealY(c.lowY,layout.plot,reveal);highY=c.highY===null?null:dumbbellBottomUpRevealY(c.highY,layout.plot,reveal)}animY.set(c.index,{lowY,highY})}this.displayedConnectors=animY;this.lastRenderResult={points:this.renderedElementCount(layout.connectors),renderMs:0};this.pendingRenderedEmit=true;this.srAnnouncement=this.srSummary(layout.model);const[lowColor,highColor]=this.pairColors();const[lowMarker,highMarker]=resolve.resolvePair(this.marker,["circle","circle"]);const normalizedData=this.normalizedData();const sourceOf=new Map;if(!this.isStreaming()){for(const it of layout.model.items)sourceOf.set(it.index,it.sourceIndex)}const r=Math.max(1,this.markerSize);const drawMarker=(symbol,cx,cy,rr,fill,key)=>symbol==="circle"?index.h("circle",{key,class:"sy-dumbbell-chart__marker",cx:round2(cx),cy:round2(cy),r:round2(Math.max(.5,rr)),fill,stroke:"#fff","stroke-width":1}):index.h("path",{key,class:"sy-dumbbell-chart__marker",d:dumbbellMarkerPath(symbol,cx,cy,Math.max(.5,rr)),fill,stroke:"#fff","stroke-width":1});return index.h(index.Host,{key:"86f8fcc5c39b7fb84c07d34ad34a269a73f8c9fa",style:{position:"relative",display:"inline-block",width:`${this.width}px`,height:`${this.height}px`},role:"figure","aria-label":this.chartTitle??"Dumbbell chart","data-sy-brand-host":"chart"},this.renderAxisOverlay(layout),index.h("svg",{key:"83c79ffa6695dd368b77450714ca8b5705949171",class:"sy-dumbbell-chart__surface",width:this.width,height:this.height,style:{position:"absolute",left:"0",top:"0",overflow:"visible"},onPointerMove:this.handlePointerMove,onPointerLeave:this.handlePointerLeave,onClick:this.handlePointerClick,onContextMenu:this.handleContextMenu},this.hasVisibleConnector()&&index.h("g",{key:"657a3a1bcbc9c306fffbbded371f8e7551d02261",class:"sy-dumbbell-chart__connectors"},layout.connectors.map(c=>{const{lowY,highY}=animY.get(c.index);if(lowY===null||highY===null)return null;const active=this.hoverIndex===c.index;const connectorDrawLength=Math.abs(lowY-highY);const connectorDrawDash=revealing&&connectorDrawLength>.01?round2(connectorDrawLength):void 0;const connectorDrawOffset=connectorDrawDash===void 0?void 0:round2(connectorDrawLength*(1-reveal));return index.h("line",{key:`con-${c.index}`,class:"sy-dumbbell-chart__connector",x1:round2(c.x),y1:round2(lowY),x2:round2(c.x),y2:round2(highY),stroke:this.lineColor,"stroke-width":this.lineWidth,"stroke-linecap":"round","stroke-dasharray":connectorDrawDash,"stroke-dashoffset":connectorDrawOffset,opacity:this.hoverIndex===null||active?1:.5})})),this.hasVisibleEnd()&&index.h("g",{key:"4893c53a993e3b67c4ac9365e3354bf715cd110a",class:"sy-dumbbell-chart__markers"},layout.connectors.map(c=>{const{lowY,highY}=animY.get(c.index);const active=this.hoverIndex===c.index;const rr=active?r+1.5:r;const src=sourceOf.get(c.index);const datum=src===void 0?void 0:normalizedData[src];const lowFill=datum?.lowColor??lowColor;const highFill=datum?.highColor??highColor;const lowSym=datum?.lowMarker??lowMarker;const highSym=datum?.highMarker??highMarker;return[this.isLowVisible()&&lowY!==null?drawMarker(lowSym,c.x,lowY,rr,lowFill,`low-${c.index}`):null,this.isHighVisible()&&highY!==null?drawMarker(highSym,c.x,highY,rr,highFill,`high-${c.index}`):null]}))),this.renderCrosshair(layout),this.renderLegend(layout),this.renderTooltipConnector(),this.renderTooltip(),index.h("span",{key:"1dd07ec50b88b19a77483bdd772ba78b86018857",class:"sy-dumbbell-chart__sr-only","aria-live":"polite",role:"status"},this.srAnnouncement),this.fallbackReason&&index.h("span",{key:"58a0af663abe38d388ffff5a92619564f30bfc0b",class:"sy-dumbbell-chart__watermark",title:this.fallbackReason},"Syidax - fell back to standard renderer"),chartBrand.renderChartBrand(this.host,this.brandLogo,{width:this.width,height:this.height,plot:layout.plot}))}renderAxisOverlay(layout){const{frame,outer,plot}=layout;const tickLabel=t=>t.label??String(t.value);const catLabels=frame.xTicks.map(t=>tickLabel(t));const catCenters=frame.xTicks.map(t=>outer.x+t.position);const decl=autoLabels.resolveAutoAxisLabels({labels:catLabels,centers:catCenters,orientation:"bottom",mode:this.xLabelMode,rotationDeg:this.xLabelRotation,maxCount:this.xLabelMaxCount});return index.h("div",{class:"sy-dumbbell-chart__axis-overlay","aria-hidden":"true",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none"}},frame.titleRect&&this.chartTitle&&index.h("div",{class:"sy-dumbbell-chart__title",style:{position:"absolute",left:`${outer.x}px`,top:`${outer.y+frame.titleRect.y}px`,width:`${outer.width}px`,textAlign:"center",font:"600 14px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},this.chartTitle),frame.subtitleRect&&this.chartSubtitle&&index.h("div",{class:"sy-dumbbell-chart__subtitle",title:this.chartSubtitle,style:{position:"absolute",left:`${outer.x}px`,top:`${outer.y+frame.subtitleRect.y}px`,width:`${outer.width}px`,textAlign:"center",font:"400 12px system-ui, sans-serif",color:"var(--sy-axis-color-muted, #6b7280)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}},this.chartSubtitle),frame.yGridLines.map(line=>index.h("div",{class:"sy-dumbbell-chart__grid-line",style:{position:"absolute",left:`${plot.x}px`,top:`${outer.y+line.y}px`,width:`${plot.width}px`,height:"1px",background:"var(--sy-axis-grid-color, rgba(0,0,0,0.06))"}})),frame.xTicks.map((t,i)=>{if(!decl.visible[i])return null;const rotate=decl.rotationDeg>0;return index.h("div",{class:"sy-dumbbell-chart__axis-label sy-dumbbell-chart__axis-label--x",style:{position:"absolute",left:`${outer.x+t.position-28}px`,top:`${plot.y+plot.height+4}px`,width:"56px",textAlign:"center",font:"400 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)",...rotate?{transform:`rotate(${decl.rotationDeg}deg)`,transformOrigin:"top center"}:{}}},tickLabel(t))}),frame.yTicks.map(t=>index.h("div",{class:"sy-dumbbell-chart__axis-label sy-dumbbell-chart__axis-label--y",style:{position:"absolute",left:`${plot.x-48}px`,top:`${outer.y+t.position-7}px`,width:"42px",textAlign:"right",font:"400 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},tickLabel(t))),index.h("div",{class:"sy-dumbbell-chart__axis-line",style:{position:"absolute",left:`${plot.x}px`,top:`${plot.y+plot.height}px`,width:`${plot.width}px`,height:"1px",background:"var(--sy-axis-line-color, rgba(17,24,39,0.42))"}}),index.h("div",{class:"sy-dumbbell-chart__axis-line",style:{position:"absolute",left:`${plot.x}px`,top:`${plot.y}px`,width:"1px",height:`${plot.height}px`,background:"var(--sy-axis-line-color, rgba(17,24,39,0.42))"}}),this.valueAxisLabel&&index.h("div",{class:"sy-dumbbell-chart__axis-title",style:{position:"absolute",left:`${plot.x-68}px`,top:`${plot.y+plot.height/2}px`,width:`${plot.height}px`,transform:"rotate(-90deg)",transformOrigin:"left top",textAlign:"center",font:"600 11px system-ui, sans-serif",color:"var(--sy-axis-color,#111827)"}},this.valueAxisLabel))}async getEngineStatus(){return standardEngineStatus.standardOnlyEngineStatus({requested:this.engine,onUnavailable:this.unavailable,renderer:"dumbbell"})}static get watchers(){return{"data":[{"handleValuesChange":0}],"streamSource":[{"handleStreamSourceChange":0}],"streamWindow":[{"handleStreamSourceChange":0}],"streamMax":[{"handleStreamSourceChange":0}],"animated":[{"handleAnimationToggle":0}],"animationDuration":[{"handleAnimationToggle":0}],"animationEasing":[{"handleAnimationToggle":0}],"animationType":[{"handleAnimationToggle":0}],"categories":[{"handleVisualChange":0}],"groups":[{"handleVisualChange":0}],"color":[{"handleVisualChange":0}],"lineColor":[{"handleVisualChange":0}],"lineWidth":[{"handleVisualChange":0}],"marker":[{"handleVisualChange":0}],"markerSize":[{"handleVisualChange":0}],"sortDescending":[{"handleVisualChange":0}],"valueAxisLabel":[{"handleVisualChange":0}],"xAxis":[{"handleVisualChange":0}],"yAxis":[{"handleVisualChange":0}],"gridLines":[{"handleVisualChange":0}],"chartTitle":[{"handleVisualChange":0}],"chartSubtitle":[{"handleVisualChange":0}],"width":[{"handleVisualChange":0}],"height":[{"handleVisualChange":0}],"engine":[{"handleVisualChange":0}],"unavailable":[{"handleVisualChange":0}],"lowName":[{"handleVisualChange":0}],"highName":[{"handleVisualChange":0}],"legend":[{"handleVisualChange":0}],"legendPosition":[{"handleVisualChange":0}],"xLabelMode":[{"handleVisualChange":0}],"xLabelRotation":[{"handleVisualChange":0}],"xLabelMaxCount":[{"handleVisualChange":0}]}}};function round2(v){return Math.round(v*100)/100}function formatNumber(v){return Number.isInteger(v)?String(v):v.toFixed(2)}function formatMaybeNumber(v){return v===null?"null":formatNumber(v)}SyDumbbellChart.style=syDumbbellChartCss();exports.sy_dumbbell_chart=SyDumbbellChart;
@@ -0,0 +1 @@
1
+ "use strict";var index=require("./index-CKeHnO3Q.js");var safeFormatter=require("./safe-formatter-B0DDURao.js");var pointContextMenu=require("./point-context-menu-CWB4nv9m.js");var chartStreamingGate=require("./chart-streaming-gate-DX4tlXCx.js");var legend=require("./legend-CbjQG1uh.js");var chartBrand=require("./chart-brand-CEKOnWyE.js");var scheme=require("./scheme-KzZHS7kW.js");var connector=require("./connector-8ebOKxbI.js");var standardEngineStatus=require("./standard-engine-status-C4zMZsEh.js");var number=require("./number-Dq6GiQsL.js");require("./chart-license-bridge-DAODso1A.js");require("./errors-DNua3ZWy.js");require("./brand-mark-default-DvQHU2qS.js");function computeFunnelLayout(options){const pad=Math.max(0,options.outerPadding);const gutter=Math.max(0,options.labelGutter??0);const side=options.labelGutterSide??"left";const x=options.plot.x+pad+(side==="left"?gutter:0);const y=options.plot.y+pad;const width=Math.max(1,options.plot.width-pad*2-gutter);const height=Math.max(1,options.plot.height-pad*2);return{x,y,width,height,cx:x+width/2}}function widthRatioAt(f,profile){const t=f<0?0:f>1?1:f;if(profile.reversed)return t;const neckW=Math.max(0,Math.min(1,profile.neckWidthRatio));const neckH=Math.max(0,Math.min(1,profile.neckHeightRatio));const taperEnd=1-neckH;if(taperEnd<=0)return neckW;if(t<=taperEnd)return 1-(1-neckW)*(t/taperEnd);return neckW}function resolveFunnelSections(options){const{layout,profile}=options;const gap=Math.max(0,options.gap??2);const visible=options.metas.filter(m=>m.visible&&m.value>0);const total=visible.reduce((sum,m)=>sum+m.value,0);const out=[];if(total<=0)return out;const gapTotal=gap*Math.max(0,visible.length-1);const usableH=Math.max(1,layout.height-gapTotal);const minH=Math.max(0,Math.min(options.minSectionHeight??0,usableH/Math.max(1,visible.length)));const variableH=Math.max(0,usableH-minH*visible.length);const scaleFor=options.heightScale;const scaleMode=options.heightScaleMode??"collapse";let cursor=layout.y;for(const m of options.metas){if(!m.visible||m.value<=0){out.push({index:m.index,id:m.id,name:m.name,value:m.value,percentage:0,color:m.color,visible:false,opacity:m.opacity??1,borderColor:m.borderColor,borderWidth:m.borderWidth,borderDash:m.borderDash,labelColor:m.labelColor,yTop:cursor,yBottom:cursor,topHalf:0,bottomHalf:0,midX:layout.cx,midY:cursor});continue}const scale=scaleFor?Math.max(0,Math.min(1,scaleFor(m.id))):1;const fullH=minH+m.value/total*variableH;const h=fullH*scale;const yTop=scaleMode==="bottom-up"?cursor+(fullH-h):cursor;const yBottom=cursor+h+(scaleMode==="bottom-up"?fullH-h:0);const fTop=(yTop-layout.y)/layout.height;const fBottom=(yBottom-layout.y)/layout.height;const topHalf=widthRatioAt(fTop,profile)*layout.width/2;const bottomHalf=widthRatioAt(fBottom,profile)*layout.width/2;out.push({index:m.index,id:m.id,name:m.name,value:m.value,percentage:m.value/total,color:m.color,opacity:m.opacity??1,borderColor:m.borderColor,borderWidth:m.borderWidth,borderDash:m.borderDash,labelColor:m.labelColor,visible:true,yTop,yBottom,topHalf,bottomHalf,midX:layout.cx,midY:(yTop+yBottom)/2});cursor=(scaleMode==="bottom-up"?cursor+fullH:yBottom)+gap}return out}function sectionPath(section,cx){if(!section.visible||section.yBottom-section.yTop<=0)return"";const tl=`${cx-section.topHalf} ${section.yTop}`;const tr=`${cx+section.topHalf} ${section.yTop}`;const br=`${cx+section.bottomHalf} ${section.yBottom}`;const bl=`${cx-section.bottomHalf} ${section.yBottom}`;return`M ${tl} L ${tr} L ${br} L ${bl} Z`}function sectionAtPoint(cssX,cssY,sections,cx){for(const s of sections){if(!s.visible)continue;if(cssY<s.yTop||cssY>s.yBottom)continue;const h=s.yBottom-s.yTop||1;const f=(cssY-s.yTop)/h;const half=s.topHalf+(s.bottomHalf-s.topHalf)*f;if(Math.abs(cssX-cx)<=half)return s}return null}function resolveFunnelSectionMeta(section,index2,fallbackColor){if(typeof section==="number"){return{id:String(index2),name:String(index2),value:Number.isFinite(section)&&section>=0?section:0,color:fallbackColor,opacity:1,borderColor:void 0,borderWidth:void 0,borderDash:void 0,labelColor:void 0,visible:true}}const hasName=typeof section.name==="string"&&section.name.length>0;const rawValue=typeof section.value==="bigint"?Number(section.value):section.value;const value=Number.isFinite(rawValue)&&rawValue>=0?rawValue:0;return{id:section.id!==void 0&&section.id!==null?String(section.id):hasName?section.name:String(index2),name:hasName?section.name:String(index2),value,color:typeof section.color==="string"?section.color:fallbackColor,opacity:typeof section.opacity==="number"?Math.max(0,Math.min(1,section.opacity)):1,borderColor:typeof section.borderColor==="string"?section.borderColor:void 0,borderWidth:typeof section.borderWidth==="number"?Math.max(0,section.borderWidth):void 0,borderDash:Array.isArray(section.borderDash)?section.borderDash:void 0,labelColor:typeof section.labelColor==="string"?section.labelColor:void 0,visible:section.visible!==false}}function normalizeFunnelData(data){if(!Array.isArray(data)||data.length===0)return[];if(data.every(d=>typeof d==="number")){return data.map(v=>({value:v}))}return data}function pickFunnelEngine(options){if(options.requested==="pro"){const reason="no GPU funnel renderer exists";if(pointContextMenu.normalizeUnavailableBehaviour(options.onUnavailable)==="error"){throw new Error('sy-funnel-chart: Pro engine is unavailable — no GPU funnel renderer exists. Use engine="standard" or unavailable="fallback".')}console.warn(`[Syidax] sy-funnel-chart: Pro renderer unavailable, falling back to Standard (${reason}).`);return{tier:"standard",fallbackReason:reason}}return{tier:"standard"}}function applyFunnelEasing(t,easing){const x=clamp01(t);switch(easing){case"linear":return x;case"ease-out":return 1-(1-x)*(1-x)*(1-x);case"ease-in":return x*x*x;case"ease-in-out":return x<.5?4*x*x*x:1-Math.pow(-2*x+2,3)/2;default:return x}}function clamp01(value){if(!Number.isFinite(value)||value<=0)return 0;if(value>=1)return 1;return value}function createFunnelAnimator(){const entries=new Map;function elapsed(entry,now){if(entry.startedAt<0)return entry.pausedElapsed;if(entry.paused)return entry.pausedElapsed;return Math.max(0,now-entry.startedAt+entry.pausedElapsed)}function rawProgress(entry,now){if(entry.duration<=0)return 1;return clamp01(elapsed(entry,now)/entry.duration)}return{start(key,opts){entries.set(key,{startedAt:-1,pausedElapsed:0,paused:false,duration:Math.max(0,opts.duration),easing:opts.easing})},progressAt(key,now){const entry=entries.get(key);if(!entry)return void 0;if(entry.startedAt<0&&!entry.paused)entry.startedAt=now;return applyFunnelEasing(rawProgress(entry,now),entry.easing)},has(key){return entries.has(key)},isActive(key,now){const entry=entries.get(key);if(!entry)return false;if(entry.paused)return true;return rawProgress(entry,now)<1},tick(now){const done=[];for(const[key,entry]of entries){if(entry.startedAt<0&&!entry.paused)entry.startedAt=now;if(entry.paused)continue;if(rawProgress(entry,now)>=1)done.push(key)}for(const key of done)entries.delete(key)},pauseAll(now){for(const entry of entries.values()){if(entry.paused)continue;if(entry.startedAt>=0)entry.pausedElapsed+=now-entry.startedAt;entry.paused=true}},resumeAll(now){for(const entry of entries.values()){if(!entry.paused)continue;entry.startedAt=now;entry.paused=false}},hasActive(){for(const entry of entries.values())if(!entry.paused)return true;return false},cancel(key){entries.delete(key)},clear(){entries.clear()},entries(){return entries}}}function createFunnelStreamSource(){const error=new Error("Dedicated streaming requires @syidax/advanced-pro");error.code="module-missing";error.feature="chart.streaming";throw error}const FUNNEL_TOOLTIP_DEFAULTS={show:true,openMode:"single",trigger:"hover",offset:8,interactive:false,hideOnLeave:true,connector:{show:false},draggable:false};function isPlainObject(value){return Boolean(value)&&typeof value==="object"&&!Array.isArray(value)}function resolveFunnelTooltipConnectorSpec(input){if(input===true)return{show:true};if(input===void 0||input===null||input===false||!isPlainObject(input)){return{show:false}}const partial=input;return{show:partial.show===true,color:typeof partial.color==="string"?partial.color:void 0,width:Number.isFinite(partial.width)&&partial.width>0?partial.width:void 0,dash:Array.isArray(partial.dash)?partial.dash.slice():void 0}}function resolveFunnelTooltipSpec(input){if(input===void 0||input===null||input==="auto"||input===true){return{...FUNNEL_TOOLTIP_DEFAULTS}}if(input==="off"||input===false){return{...FUNNEL_TOOLTIP_DEFAULTS,show:false}}if(!isPlainObject(input)){return{...FUNNEL_TOOLTIP_DEFAULTS}}const partial=input;const style=isPlainObject(partial.style)?Object.fromEntries(Object.entries(partial.style).filter(([,value])=>typeof value==="string"||typeof value==="number")):void 0;const dimension=value=>typeof value==="string"||Number.isFinite(value)&&value>=0?value:void 0;const trigger=value=>value==="click"||value==="hover-click"||value==="hover"?value:FUNNEL_TOOLTIP_DEFAULTS.trigger;const openMode=value=>value==="multiple"?"multiple":FUNNEL_TOOLTIP_DEFAULTS.openMode;return{show:partial.show===false?false:true,openMode:openMode(partial.openMode),trigger:trigger(partial.trigger),side:partial.side,offset:Number.isFinite(partial.offset)&&partial.offset>=0?partial.offset:FUNNEL_TOOLTIP_DEFAULTS.offset,format:typeof partial.format==="function"?partial.format:void 0,html:typeof partial.html==="function"?partial.html:void 0,className:typeof partial.className==="string"?partial.className:void 0,style,width:dimension(partial.width),minWidth:dimension(partial.minWidth),maxWidth:dimension(partial.maxWidth),padding:dimension(partial.padding),interactive:partial.interactive===true,hideOnLeave:partial.hideOnLeave===false?false:true,connector:resolveFunnelTooltipConnectorSpec(partial.connector),draggable:partial.draggable===true}}function funnelTooltipSpecFromLegacy(opts){return{...FUNNEL_TOOLTIP_DEFAULTS,show:opts.show,html:typeof opts.format==="function"?detail=>opts.format(detail):void 0}}function labelText(section,style){const parts=[section.name];if(style.showValue)parts.push(style.formatValue(section.value));if(style.showPercent)parts.push(`${(section.percentage*100).toFixed(1)}%`);return parts.join(" · ")}function estimateTextWidth(text,fontSize){return Array.from(text).reduce((sum,char)=>{const code=char.codePointAt(0)??0;return sum+fontSize*(code>127?.95:.58)},0)}function sectionWidthAtY(section,y){const h=Math.max(1,section.yBottom-section.yTop);const t=Math.max(0,Math.min(1,(y-section.yTop)/h));const half=section.topHalf+(section.bottomHalf-section.topHalf)*t;return half*2}function borderStyle(section){const dash=(section.borderDash??[]).filter(value=>Number.isFinite(value)&&value>0);return{color:section.borderColor??"#ffffff",width:Math.max(0,section.borderWidth??1),dash,explicit:section.borderColor!==void 0||section.borderWidth!==void 0||dash.length>0}}function preferredSharedBorder(a,b){if(a.width<=0&&b.width<=0)return null;if(a.width<=0)return b;if(b.width<=0)return a;const aDashed=a.dash.length>0;const bDashed=b.dash.length>0;if(aDashed!==bDashed)return aDashed?a:b;if(a.explicit!==b.explicit)return a.explicit?a:b;if(a.width!==b.width)return a.width>b.width?a:b;return b}function lineFromStyle(key,sectionIds,x1,y1,x2,y2,style){if(!style||style.width<=0)return null;return{key,sectionIds,x1,y1,x2,y2,color:style.color,width:style.width,dash:style.dash.length>0?style.dash:void 0}}function resolveBorderVisuals(sections,cx){const visible=sections.filter(s=>s.visible&&s.yBottom-s.yTop>0);const out=[];for(const section of visible){const style=borderStyle(section);const left=lineFromStyle(`bd:${section.id}:left`,[section.id],cx-section.topHalf,section.yTop,cx-section.bottomHalf,section.yBottom,style);const right=lineFromStyle(`bd:${section.id}:right`,[section.id],cx+section.topHalf,section.yTop,cx+section.bottomHalf,section.yBottom,style);if(left)out.push(left);if(right)out.push(right)}for(let i=0;i<visible.length;i++){const section=visible[i];const own=borderStyle(section);const prev=visible[i-1];const next=visible[i+1];const topStyle=prev?preferredSharedBorder(borderStyle(prev),own):own;const topY=prev?(prev.yBottom+section.yTop)/2:section.yTop;const topHalf=prev?Math.max(prev.bottomHalf,section.topHalf):section.topHalf;const top=lineFromStyle(`bd:${prev?`${prev.id}:`:""}${section.id}:top`,prev?[prev.id,section.id]:[section.id],cx-topHalf,topY,cx+topHalf,topY,topStyle);if(top)out.push(top);if(!next){const bottom=lineFromStyle(`bd:${section.id}:bottom`,[section.id],cx-section.bottomHalf,section.yBottom,cx+section.bottomHalf,section.yBottom,own);if(bottom)out.push(bottom)}}return out}function insideLabelWidth(section,fontSize){const halfTextHeight=fontSize/2;const y1=Math.max(section.yTop,section.midY-halfTextHeight);const y2=Math.min(section.yBottom,section.midY+halfTextHeight);return Math.min(sectionWidthAtY(section,section.midY),sectionWidthAtY(section,y1),sectionWidthAtY(section,y2))}function resolveOutsideLabelCollisions(labels,layout){const outside=labels.filter(label=>label.leader).sort((a,b)=>a.y-b.y);if(outside.length<2)return labels;const rowGap=Math.max(14,...outside.map(label=>label.fontSize+2));const minY=layout.y+rowGap/2;const maxY=layout.y+layout.height-rowGap/2;const placed=outside.map(label=>({key:label.key,y:Math.min(maxY,Math.max(minY,label.y))}));for(let i=1;i<placed.length;i++){placed[i].y=Math.max(placed[i].y,placed[i-1].y+rowGap)}const overflow=placed[placed.length-1].y-maxY;if(overflow>0){for(const p of placed)p.y-=overflow}for(let i=placed.length-2;i>=0;i--){placed[i].y=Math.min(placed[i].y,placed[i+1].y-rowGap)}for(const p of placed){p.y=Math.min(maxY,Math.max(minY,p.y))}const yByKey=new Map(placed.map(p=>[p.key,p.y]));return labels.map(label=>{const y=yByKey.get(label.key);if(y===void 0||!label.leader)return label;return{...label,y,leader:{...label.leader,y2:y}}})}function prepareFunnelLayout(options){const{layout,style}=options;const{cx}=layout;let sectionCount=0;const sectionVisuals=options.sections.map(s=>{if(s.visible&&s.yBottom-s.yTop>0)sectionCount++;return{key:s.id,id:s.id,name:s.name,value:s.value,percentage:s.percentage,color:s.color,opacity:s.opacity,borderColor:s.borderColor,borderWidth:s.borderWidth,borderDash:s.borderDash,visible:s.visible,path:sectionPath(s,cx),midX:s.midX,midY:s.midY}});const borderVisuals=resolveBorderVisuals(options.sections,cx);const labelVisuals=[];if(style.labelPlacement!=="none"){const pushOutside=(s,text,side,tipX)=>{const right=side==="right";const half=(s.topHalf+s.bottomHalf)/2;const edge=right?cx+half:cx-half;const tip=tipX??(right?layout.x+layout.width+4:layout.x-4);labelVisuals.push({key:`lbl:${s.id}`,x:tip,y:s.midY,text,anchor:right?"start":"end",color:s.labelColor??style.labelColor,fontSize:style.labelFontSize,leader:{x1:edge,y1:s.midY,x2:tip,y2:s.midY}})};for(const s of options.sections){if(!s.visible||s.yBottom-s.yTop<=0)continue;const text=labelText(s,style);if(style.labelPlacement==="inside"){const innerWidth=insideLabelWidth(s,style.labelFontSize)-10;const estTextWidth=estimateTextWidth(text,style.labelFontSize);const fitsInside=s.yBottom-s.yTop>=style.labelFontSize+4&&estTextWidth<=innerWidth;if(fitsInside){labelVisuals.push({key:`lbl:${s.id}`,x:cx,y:s.midY,text,anchor:"middle",color:s.labelColor??style.insideLabelColor,fontSize:style.labelFontSize})}else{const tipX=cx+Math.max(s.topHalf,s.bottomHalf)+8;pushOutside(s,text,"right",tipX)}}else{pushOutside(s,text,style.labelPlacement==="left"?"left":"right")}}}return{layout,sectionVisuals,borderVisuals,labelVisuals:resolveOutsideLabelCollisions(labelVisuals,layout),sectionCount}}const syFunnelChartCss=()=>`.sc-sy-funnel-chart-h{display:inline-block;position:relative}.sy-funnel-chart.sc-sy-funnel-chart{position:relative;display:block}.sy-funnel-chart__root.sc-sy-funnel-chart{display:block;overflow:visible;user-select:none}.sy-funnel-chart__root.sc-sy-funnel-chart:focus,.sy-funnel-chart__root.sc-sy-funnel-chart:focus-visible{outline:none}.sy-funnel-chart__section.sc-sy-funnel-chart{cursor:pointer;transition:fill 160ms ease,fill-opacity 120ms ease,filter 120ms ease}.sy-funnel-chart__section.sc-sy-funnel-chart:hover{filter:brightness(1.06)}.sy-funnel-chart__section[data-focused=true].sc-sy-funnel-chart{filter:brightness(1.08)}.sy-funnel-chart__section--active.sc-sy-funnel-chart{filter:brightness(1.08)}.sy-funnel-chart__border.sc-sy-funnel-chart{transition:opacity 120ms ease}.sy-funnel-chart__leader.sc-sy-funnel-chart,.sy-funnel-chart__label.sc-sy-funnel-chart{pointer-events:none}.sy-funnel-chart__label.sc-sy-funnel-chart{font-weight:500;font-variant-numeric:tabular-nums}.sy-funnel-chart__title.sc-sy-funnel-chart{fill:var(--sy-axis-color, #1f2937);font-weight:600}.sy-funnel-chart__subtitle.sc-sy-funnel-chart{fill:var(--sy-axis-color, #4b5563)}.sy-funnel-chart__tooltip.sc-sy-funnel-chart{position:absolute;z-index:5;transform:translate(-50%, calc(-100% - 10px));pointer-events:auto;user-select:text;background:var(--sy-surface, #ffffff);border:1px solid var(--sy-color-border, rgba(0, 0, 0, 0.12));border-radius:6px;padding:6px 9px;font-size:12px;line-height:1.35;color:var(--sy-axis-color, #1f2937);box-shadow:0 4px 14px rgba(15,23,42,.16);white-space:nowrap}.sy-funnel-chart__watermark.sc-sy-funnel-chart{position:absolute;top:4px;right:6px;font-size:10px;line-height:1;padding:2px 6px;background:hsla(0,0%,100%,.85);border:1px solid #e5e7eb;border-radius:999px;color:#6b7280;pointer-events:none}.sy-funnel-chart__sr-only.sc-sy-funnel-chart{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.sy-funnel-chart__legend.sc-sy-funnel-chart{font-size:12px;color:var(--sy-axis-color, #1f2937);line-height:1.2;overflow:visible}.sy-funnel-chart__legend-item.sc-sy-funnel-chart{box-sizing:border-box;cursor:pointer;user-select:none}.sy-funnel-chart__legend-item.sc-sy-funnel-chart:focus-visible{outline:2px solid var(--sy-focus-ring, #2563eb);outline-offset:2px;border-radius:2px}.sy-funnel-chart__legend-item--disabled.sc-sy-funnel-chart{opacity:.4;text-decoration:line-through}.sy-funnel-chart__legend-swatch.sc-sy-funnel-chart{flex:0 0 auto;display:inline-block;width:10px;height:10px;border-radius:2px}.sy-funnel-chart__legend-label.sc-sy-funnel-chart{display:block}@media (prefers-reduced-motion: reduce){.sy-funnel-chart__section.sc-sy-funnel-chart{transition:none}}`;const REVEAL_KEY="reveal";const MORPH_KEY="morph";const TITLE_LINE_HEIGHT=22;const SUBTITLE_LINE_HEIGHT=16;const TITLE_CONTENT_GAP=8;function funnelTooltipClassName(base,extra){return extra?`${base} ${extra}`:base}function funnelTooltipCssValue(key,value){if(typeof value==="number"){const unitless=new Set(["opacity","zIndex","fontWeight","lineHeight","flexGrow","flexShrink"]);return unitless.has(key)?String(value):`${value}px`}return value}const SyFunnelChart=class{constructor(hostRef){index.registerInstance(this,hostRef);this.rendered=index.createEvent(this,"rendered",7);this.sectionClick=index.createEvent(this,"sectionClick",7);this.sectionHover=index.createEvent(this,"sectionHover",7);this.pointContextMenu=index.createEvent(this,"pointContextMenu",7);this.tooltipShown=index.createEvent(this,"tooltipShow",7);this.tooltipHide=index.createEvent(this,"tooltipHide",7);this.tooltipAction=index.createEvent(this,"tooltipAction",7);this.legendItemClick=index.createEvent(this,"legendItemClick",7);this.sectionToggled=index.createEvent(this,"sectionToggled",7);this.appended=index.createEvent(this,"appended",7);this.windowSlid=index.createEvent(this,"windowSlid",7);this.chartAnimationStart=index.createEvent(this,"chartAnimationStart",7);this.chartAnimationEnd=index.createEvent(this,"chartAnimationEnd",7);this.chartAnimationInterrupted=index.createEvent(this,"chartAnimationInterrupted",7)}get host(){return index.getElement(this)}data=[];width=420;height=360;brandLogo;brandPosition="bottom-right";reversed=false;neckWidth=.3;neckHeight=.25;gap=2;color="#2563eb";colors;labelPlacement="inside";labelColor="#374151";insideLabelColor="#ffffff";labelFontSize=12;showValue=true;showPercent=false;valueFormat;leaderColor="#cbd5e1";chartTitle;chartSubtitle;tooltipShow=true;tooltipFormat;tooltip;enableMouseTracking=true;inactiveOtherSections=false;inactiveSectionOpacity=.3;activeSectionIndex;legend=false;legendPosition="bottom";legendItems;animated=false;animationDuration=700;animationEasing="ease-out";animationType;streamSource;streamWindow;streamMax;engine="auto";proThreshold=5e4;unavailable="fallback";rendered;sectionClick;sectionHover;pointContextMenu;tooltipShown;tooltipHide;tooltipAction;legendItemClick;sectionToggled;appended;windowSlid;chartAnimationStart;chartAnimationEnd;chartAnimationInterrupted;activeTier="standard";fallbackReason;legendDisabled=new Set;funnelTooltip=null;funnelTooltips=[];srAnnouncement="";animationTick=0;focusedSectionId=null;hoverSectionId=null;animator=createFunnelAnimator();animationFrameHandle=null;stopAnimationLoopImpl;morphPrev=new Map;morphActive=false;lastStreamEventAt;internalStreamSource;internalStreamCapacity;boundStreamSource;streamUnsubscribe;streamLicense=new chartStreamingGate.ChartStreamingGate({host:()=>this.host,input:()=>chartStreamingGate.chartStreamingInput(this,"plain-fallback"),active:()=>this.boundStreamSource!==void 0,onChange:()=>this.handleStreamLicenseChange()});internalStreamData;suppressNextDataAnimation=false;lastRenderResult={sections:0,renderMs:0};pendingRenderedEmit=false;tooltipDrag;tooltipElement;nextTooltipId=1;draggableTooltipPositions=new Map;hasLoaded=false;detached=false;connectedCallback(){this.detached=false;this.streamLicense.connect();if(!this.hasLoaded)return;this.bindStreamSource();const source=this.activeStreamSource();if(source)this.handleStreamEvent({type:"replace",count:source.length})}componentDidLoad(){this.hasLoaded=true;this.bindStreamSource();if(this.shouldInitialAnimation(null))this.startReveal()}componentDidRender(){if(this.detached)return;if(this.pendingRenderedEmit){this.pendingRenderedEmit=false;this.rendered.emit({...this.lastRenderResult,tier:this.activeTier})}this.measureFunnelTooltipBox()}disconnectedCallback(){this.detached=true;this.streamLicense.disconnect();this.streamUnsubscribe?.();this.streamUnsubscribe=void 0;this.boundStreamSource=void 0;this.stopAnimationLoop();this.animator.clear();this.tooltipDrag=void 0}handleDataChange(_next,prev){if(this.suppressNextDataAnimation){this.suppressNextDataAnimation=false;this.animationTick++;return}if(this.shouldInitialAnimation(prev))this.startReveal();else if(this.shouldUpdateAnimation(prev))this.startMorph(prev);else this.animationTick++}handleStreamSourceChange(){this.bindStreamSource()}handleAnimationToggle(){if(this.shouldInitialAnimation(null))this.startReveal();else{if(this.animator.hasActive())this.chartAnimationInterrupted.emit();this.animator.clear();this.morphActive=false;this.stopAnimationLoop();this.animationTick++}}handleVisualPropsChange(){this.animationTick++}async redraw(){this.animationTick++;return this.lastRenderResult}async getActiveTier(){return this.activeTier}async setData(data){this.data=data}async addSection(section,opts){const next=normalizeFunnelData(this.data).slice();const at=typeof opts?.insertAt==="number"&&opts.insertAt>=0&&opts.insertAt<=next.length?Math.floor(opts.insertAt):next.length;next.splice(at,0,typeof section==="number"?{value:section}:section);this.data=next;return at}async removeSection(idOrIndex){const next=normalizeFunnelData(this.data).slice();const idx=this.resolveSectionIndex(idOrIndex,next);if(idx<0)return false;next.splice(idx,1);this.data=next;return true}async updateSection(idOrIndex,patch){const next=normalizeFunnelData(this.data).slice();const idx=this.resolveSectionIndex(idOrIndex,next);if(idx<0)return false;next[idx]={...next[idx],...patch};this.data=next;return true}async appendPoint(section){const spec=typeof section==="number"?{value:section}:section;await this.streamLicense.run("appendPoint",()=>{const source=this.activeStreamSource();if(source){source.push(spec);return}this.data=[...normalizeFunnelData(this.data),spec]})}async appendBatch(sections){if(!Array.isArray(sections)||sections.length===0)return;const specs=sections.map(s=>typeof s==="number"?{value:s}:s);await this.streamLicense.run("appendBatch",()=>{const source=this.activeStreamSource();if(source){source.pushBatch(specs);return}this.data=[...normalizeFunnelData(this.data),...specs];this.appended.emit({count:specs.length})})}async shift(count=1){await this.streamLicense.run("shift",()=>{const source=this.activeStreamSource();if(source){source.shift(count);return}this.windowSlid.emit({dropped:0})})}async replace(sections){const specs=(Array.isArray(sections)?sections:[]).map(s=>typeof s==="number"?{value:s}:s);await this.streamLicense.run("replace",()=>{const source=this.activeStreamSource();if(source){source.replace(specs);return}this.data=specs})}async getStreamSource(){return this.streamLicense.run("getStreamSource",()=>this.activeStreamSource())}async setAnimation(options){if(!options)return;if(Number.isFinite(options.duration))this.animationDuration=options.duration;if(options.easing)this.animationEasing=options.easing;if(options.type)this.animationType=options.type;if(typeof options.enabled==="boolean"){if(!options.enabled&&this.animator.hasActive())this.chartAnimationInterrupted.emit();this.animated=options.enabled;if(!options.enabled){this.animator.clear();this.morphActive=false;this.stopAnimationLoop();this.animationTick++}}}async pauseAnimation(){this.animator.pauseAll(this.now());this.stopAnimationLoop()}async resumeAnimation(){this.animator.resumeAll(this.now());if(this.animator.hasActive())this.startAnimationLoop()}async replayAnimation(){if(!this.shouldAnimate())return;this.startReveal()}async hitTest(cssX,cssY){const layout=this.layoutForDraw();const sections=this.resolveSectionsForDraw(layout,1);const hit=sectionAtPoint(cssX,cssY,sections,layout.cx);return hit?this.buildPointerDetail(hit):null}async showTooltipAt(idOrIndex){const layout=this.layoutForDraw();const sections=this.resolveSectionsForDraw(layout,1);const section=this.findSection(idOrIndex,sections);if(!section)return null;const spec=this.effectiveTooltipSpec();if(!spec.show)return null;const detail=this.buildPointerDetail(section);this.showTooltipForSection(section,detail,spec,spec.openMode==="multiple");return detail}async hideTooltip(){this.clearTooltips()}now(){return typeof performance!=="undefined"?performance.now():0}prefersReducedMotion(){return typeof matchMedia==="function"&&matchMedia("(prefers-reduced-motion: reduce)").matches}shouldAnimate(){if(this.detached)return false;return this.animated&&!this.prefersReducedMotion()}shouldInitialAnimation(previous){return this.shouldAnimate()&&this.resolveAnimationType(previous)==="initial"}shouldUpdateAnimation(previous){return this.shouldAnimate()&&this.resolveAnimationType(previous)==="update"}resolveAnimationType(previous){if(this.animationType)return this.animationType;return this.hasAnimationBaseline(previous)?"update":"initial"}hasAnimationBaseline(input){return Array.isArray(input)&&input.length>0}palette(){if(Array.isArray(this.colors)&&this.colors.length>0)return[...this.colors];const scheme$1=scheme.categorical.tableau10;return scheme.discretize(scheme$1,Math.max(scheme$1.stops.length,10)).map(c=>`rgb(${c.r}, ${c.g}, ${c.b})`)}profile(){return{reversed:this.reversed,neckWidthRatio:this.neckWidth,neckHeightRatio:this.neckHeight}}resolveSectionIndex(idOrIndex,list){if(typeof idOrIndex==="number"&&Number.isFinite(idOrIndex)){const idx=Math.floor(idOrIndex);return idx>=0&&idx<list.length?idx:-1}for(let i=0;i<list.length;i++){const s=list[i];if(s.id!==void 0&&String(s.id)===idOrIndex)return i;if(s.name===idOrIndex)return i}return-1}findSection(idOrIndex,sections){if(typeof idOrIndex==="number"&&Number.isFinite(idOrIndex))return sections.find(s=>s.index===Math.floor(idOrIndex));return sections.find(s=>s.id===idOrIndex||s.name===idOrIndex)}effectiveActiveSectionId(sections){if(typeof this.activeSectionIndex==="number"&&Number.isFinite(this.activeSectionIndex)&&this.activeSectionIndex>=0){const idx=Math.trunc(this.activeSectionIndex);const section=sections.find(s=>s.index===idx);return section&&section.visible?section.id:null}return this.focusedSectionId??this.hoverSectionId}sectionClassName(sectionId,activeSectionId){const classes=["sy-funnel-chart__section"];if(activeSectionId!==null){if(activeSectionId===sectionId)classes.push("sy-funnel-chart__section--active");else if(this.inactiveOtherSections)classes.push("sy-funnel-chart__section--inactive")}return classes.join(" ")}sectionOpacity(sectionId,baseOpacity,activeSectionId){const opacity=Math.max(0,Math.min(1,baseOpacity));if(!this.inactiveOtherSections||activeSectionId===null||sectionId===activeSectionId)return opacity;const dim=Math.max(0,Math.min(1,this.inactiveSectionOpacity));return Math.min(opacity,dim)}borderOpacity(sectionIds,activeSectionId){if(!this.inactiveOtherSections||activeSectionId===null)return 1;if(sectionIds.includes(activeSectionId))return 1;return Math.max(0,Math.min(1,this.inactiveSectionOpacity))}numberFormatter(spec){if(spec){try{return number.format(spec)}catch{}}return v=>Number.isInteger(v)?String(v):String(Math.round(v*100)/100)}layoutForDraw(){const legend2=this.legend?this.buildLegendLayout():null;let plot=this.plotRectFromLegend(legend2);if(legend2&&(this.legendPosition==="top"||this.legendPosition==="bottom")){const gap=14;plot={...plot,y:plot.y+(this.legendPosition==="top"?gap:0),height:Math.max(1,plot.height-gap)}}const outsideLabels=this.labelPlacement==="right"||this.labelPlacement==="left";const labelGutter=outsideLabels?this.estimatedOutsideLabelGutter(plot.width):0;const gutter=outsideLabels?Math.min(labelGutter,Math.max(0,plot.width*.6)):0;return computeFunnelLayout({plot,outerPadding:8,labelGutter:gutter,labelGutterSide:this.labelPlacement==="right"?"right":"left"})}resolveSectionsForDraw(layout,revealScale){const palette=this.palette();const specs=normalizeFunnelData(this.data);const now=this.now();const morphT=this.morphActive?this.animator.progressAt(MORPH_KEY,now)??1:1;const targetMetas=specs.map((spec,i)=>{const r=resolveFunnelSectionMeta(spec,i,palette[i%Math.max(1,palette.length)]??this.color);return{index:i,...r}});let metas=targetMetas;if(this.morphActive&&this.morphPrev.size>0){const targetIds=new Set(targetMetas.map(m=>m.id));const exiting=[...this.morphPrev.keys()].filter(id=>!targetIds.has(id)).map((id,k)=>({index:-1-k,id,name:id,value:0,color:this.color,opacity:1,borderColor:void 0,borderWidth:void 0,borderDash:void 0,labelColor:void 0,visible:true}));metas=[...exiting,...targetMetas].map(m=>{const from=this.morphPrev.get(m.id);const fromV=typeof from==="number"?from:0;const toV=targetIds.has(m.id)?m.value:0;return{...m,value:fromV+(toV-fromV)*morphT}})}const revealScales=revealScale<1?this.sectionRevealScales(metas,revealScale):void 0;return resolveFunnelSections({metas:metas.map(m=>({...m,visible:m.visible&&!this.legendDisabled.has(m.id)})),layout,profile:this.profile(),gap:this.gap,heightScale:revealScales?id=>revealScales.get(id)??0:void 0,heightScaleMode:revealScales?"bottom-up":"collapse",minSectionHeight:this.labelPlacement==="inside"?Math.max(20,this.labelFontSize+10):0})}estimatedOutsideLabelGutter(plotWidth){const specs=normalizeFunnelData(this.data).filter(s=>s.visible!==false);const total=specs.reduce((sum,s)=>sum+Math.max(0,Number.isFinite(s.value)?s.value:0),0);const formatValue=this.numberFormatter(this.valueFormat);const maxTextWidth=specs.reduce((max,section,index2)=>{const parts=[section.name||String(index2)];if(this.showValue)parts.push(formatValue(Number.isFinite(section.value)?section.value:0));if(this.showPercent){const value=Math.max(0,Number.isFinite(section.value)?section.value:0);parts.push(`${(total>0?value/total*100:0).toFixed(1)}%`)}const text=parts.join(" · ");const width=Array.from(text).reduce((sum,char)=>{const code=char.codePointAt(0)??0;return sum+this.labelFontSize*(code>127?.9:.52)},0);return Math.max(max,width)},0);const minimum=Math.max(168,this.labelFontSize*16);return Math.min(Math.max(minimum,maxTextWidth+18),Math.max(0,plotWidth*.6))}sectionRevealScales(metas,revealScale){const visible=metas.filter(m=>m.visible&&m.value>0);const count=visible.length;const out=new Map;if(count<=0)return out;const progress=Math.max(0,Math.min(1,revealScale))*count;visible.forEach((m,topIndex)=>{const bottomUpRank=count-1-topIndex;out.set(m.id,Math.max(0,Math.min(1,progress-bottomUpRank)))});return out}startReveal(){this.morphActive=false;this.animator.clear();const duration=Math.max(0,this.animationDuration);if(duration<=0){this.animationTick++;return}this.animator.start(REVEAL_KEY,{duration,easing:this.animationEasing});this.chartAnimationStart.emit();this.startAnimationLoop()}displayedValuesFor(data){const palette=this.palette();const targets=normalizeFunnelData(data).map((spec,i)=>{const r=resolveFunnelSectionMeta(spec,i,palette[i%Math.max(1,palette.length)]??this.color);return{id:r.id,value:r.visible&&!this.legendDisabled.has(r.id)?r.value:0}});const out=new Map;const inFlight=this.morphActive&&this.animator.has(MORPH_KEY);if(!inFlight){for(const t of targets)out.set(t.id,t.value);return out}const morphT=this.animator.progressAt(MORPH_KEY,this.now())??1;const targetVal=new Map(targets.map(t=>[t.id,t.value]));const ids=new Set([...this.morphPrev.keys(),...targetVal.keys()]);for(const id of ids){const fromV=this.morphPrev.get(id)??0;const toV=targetVal.get(id)??0;out.set(id,fromV+(toV-fromV)*morphT)}return out}startMorph(prevData,opts={}){this.morphPrev=this.displayedValuesFor(prevData);const streaming=opts.streaming===true;const duration=this.morphDuration(streaming);const easing=streaming?"linear":this.animationEasing;this.animator.cancel(REVEAL_KEY);if(duration<=0){this.morphActive=false;this.animationTick++;return}const wasActive=this.animator.hasActive();this.morphActive=true;this.animator.start(MORPH_KEY,{duration,easing});if(!wasActive)this.chartAnimationStart.emit();this.startAnimationLoop()}currentRevealScale(){if(this.animator.has(REVEAL_KEY))return this.animator.progressAt(REVEAL_KEY,this.now())??1;return 1}morphDuration(streaming){if(!streaming)return Math.max(0,this.animationDuration);const now=this.now();const interval=this.lastStreamEventAt!==void 0?now-this.lastStreamEventAt:Infinity;this.lastStreamEventAt=now;return Number.isFinite(interval)?Math.max(1,Math.min(interval,this.animationDuration)):Math.max(0,this.animationDuration)}startAnimationLoop(){if(this.animationFrameHandle!==null)return;const schedule=typeof requestAnimationFrame==="function"?requestAnimationFrame:(cb=>setTimeout(()=>cb(this.now()),16));const cancel=typeof cancelAnimationFrame==="function"?cancelAnimationFrame:(id=>clearTimeout(id));const tick=now=>{this.animationFrameHandle=null;this.animator.tick(now);const stillRunning=this.animator.hasActive();if(!stillRunning)this.morphActive=false;this.animationTick++;if(stillRunning){this.animationFrameHandle=schedule(tick)}else{this.chartAnimationEnd.emit()}};this.animationFrameHandle=schedule(tick);this.stopAnimationLoopImpl=()=>{if(this.animationFrameHandle!==null){cancel(this.animationFrameHandle);this.animationFrameHandle=null}}}stopAnimationLoop(){this.stopAnimationLoopImpl?.();this.animationFrameHandle=null}activeStreamSource(){const route=this.streamLicense.route();if(route==="plain")this.dropInternalStreamSource();if(route!=="stream")return void 0;if(this.streamSource)return this.streamSource;return this.ensureInternalStreamSource()}ensureInternalStreamSource(){if(!Number.isFinite(this.streamMax)){this.dropInternalStreamSource();return void 0}const capacity=Math.max(1,Math.floor(this.streamMax));if(this.internalStreamSource&&this.internalStreamCapacity===capacity)return this.internalStreamSource;this.internalStreamCapacity=capacity;this.internalStreamSource=createFunnelStreamSource({initial:normalizeFunnelData(this.data)});this.internalStreamData=this.data;return this.internalStreamSource}dropInternalStreamSource(){this.internalStreamSource=void 0;this.internalStreamCapacity=void 0;this.internalStreamData=void 0}bindStreamSource(){if(this.detached)return;const route=this.streamLicense.route();if(route==="plain")this.dropInternalStreamSource();let source=route==="stream"?this.streamSource??this.ensureInternalStreamSource():void 0;if(source===this.boundStreamSource)return;if(source!==void 0&&source===this.internalStreamSource&&this.data!==this.internalStreamData){this.dropInternalStreamSource();source=this.ensureInternalStreamSource()}this.streamUnsubscribe?.();this.streamUnsubscribe=void 0;this.boundStreamSource=void 0;if(!source)return;this.boundStreamSource=source;this.streamUnsubscribe=source.subscribe(event=>this.handleStreamEvent(event))}handleStreamLicenseChange(){this.bindStreamSource()}noteStreamData(){if(this.boundStreamSource!==void 0&&this.boundStreamSource===this.internalStreamSource)this.internalStreamData=this.data}handleStreamEvent(event){if(!this.boundStreamSource)return;const snapshot=this.boundStreamSource.snapshot();if(event.type==="push"||event.type==="pushBatch")this.appended.emit({count:event.count});else if(event.type==="shift")this.windowSlid.emit({dropped:event.count});if(this.dataMatchesSnapshot(snapshot))return;const prev=this.data;this.suppressNextDataAnimation=true;this.data=snapshot;this.noteStreamData();if(this.shouldInitialAnimation(prev))this.startReveal();else if(this.shouldUpdateAnimation(prev))this.startMorph(prev,{streaming:true});else this.animationTick++}dataMatchesSnapshot(snapshot){const current=normalizeFunnelData(this.data);if(current.length!==snapshot.length)return false;return current.every((section,index2)=>this.sectionsEqual(section,snapshot[index2]))}sectionsEqual(a,b){if(!b)return false;if(a.value!==b.value)return false;if(a.id!==b.id)return false;if(a.name!==b.name)return false;if(a.color!==b.color)return false;if(a.opacity!==b.opacity)return false;if(a.borderColor!==b.borderColor)return false;if(a.borderWidth!==b.borderWidth)return false;if(a.labelColor!==b.labelColor)return false;if(a.visible!==b.visible)return false;const aDash=a.borderDash??[];const bDash=b.borderDash??[];if(aDash.length!==bDash.length)return false;return aDash.every((value,index2)=>value===bDash[index2])}buildLegendItems(){if(Array.isArray(this.legendItems)&&this.legendItems.length>0)return this.legendItems;const palette=this.palette();return normalizeFunnelData(this.data).map((spec,i)=>{const r=resolveFunnelSectionMeta(spec,i,palette[i%Math.max(1,palette.length)]??this.color);return{label:r.name,swatchColor:r.color,swatchShape:"square",disabled:this.legendDisabled.has(r.id),id:r.id,seriesIndex:i}})}legendShouldAvoidLabelOverlap(labels){if(this.legendPosition!=="left"&&this.legendPosition!=="right")return false;const sideAnchor=this.legendPosition==="right"?"start":"end";return labels.some(label=>label.leader!==void 0&&label.anchor===sideAnchor)}buildLegendLayout(options={}){const items=this.buildLegendItems();if(!items.length)return null;const top=this.titleGutter();const sideLegend=this.legendPosition==="left"||this.legendPosition==="right";const avoidLabelOverlap=options.avoidLabelOverlap===true;const layout=legend.computeLegendLayout({outerWidth:this.width,outerHeight:Math.max(1,this.height-top),items,position:this.legendPosition,direction:this.legendPosition==="top"||this.legendPosition==="bottom"?"horizontal":"vertical",align:sideLegend&&avoidLabelOverlap?"start":"center",padding:{top:8,right:12,bottom:10,left:12},gap:16,swatchSize:10,swatchLabelGap:6,rowGap:6,wrap:true});if(top<=0)return layout;return{...layout,legendRect:layout.legendRect?{...layout.legendRect,y:layout.legendRect.y+top}:layout.legendRect,itemRects:layout.itemRects.map(r=>({...r,y:r.y+top,swatchRect:{...r.swatchRect,y:r.swatchRect.y+top},labelRect:{...r.labelRect,y:r.labelRect.y+top}})),remainingOuter:{...layout.remainingOuter,y:layout.remainingOuter.y+top}}}titleGutter(){let g=0;if(this.chartTitle)g+=TITLE_LINE_HEIGHT;if(this.chartSubtitle)g+=SUBTITLE_LINE_HEIGHT;if(g>0)g+=TITLE_CONTENT_GAP;return g}plotRectFromLegend(legend2){if(!legend2?.remainingOuter){const top=this.titleGutter();return{x:0,y:top,width:Math.max(1,this.width),height:Math.max(1,this.height-top)}}return{x:legend2.remainingOuter.x,y:legend2.remainingOuter.y,width:Math.max(1,legend2.remainingOuter.width),height:Math.max(1,legend2.remainingOuter.height)}}onLegendItemClick=(index2,sectionId,label)=>{const disabled=!this.legendDisabled.has(sectionId);const next=new Set(this.legendDisabled);if(disabled)next.add(sectionId);else next.delete(sectionId);this.legendDisabled=next;this.legendItemClick.emit({index:index2,sectionId,label,disabled});this.sectionToggled.emit({index:index2,sectionId,disabled})};onLegendKeyDown=(ev,index2,sectionId,label)=>{if(ev.key!=="Enter"&&ev.key!==" ")return;ev.preventDefault();this.onLegendItemClick(index2,sectionId,label)};buildPointerDetail(section){return{index:section.index,id:section.id,name:section.name,value:section.value,percentage:section.percentage,cssX:section.midX,cssY:section.midY}}sectionAriaLabel(section){const pct=Math.round(section.percentage*1e3)/10;return`${section.name}: ${section.value} (${pct}%)`}navigableSections(){const layout=this.layoutForDraw();return this.resolveSectionsForDraw(layout,this.currentRevealScale()).filter(s=>s.visible&&s.yBottom-s.yTop>0)}announceFocusedSection(section){this.focusedSectionId=section.id;this.srAnnouncement=this.sectionAriaLabel(section);if(this.enableMouseTracking)this.sectionHover.emit(this.buildPointerDetail(section))}moveSectionFocus(delta){const sections=this.navigableSections();if(sections.length===0)return;let idx=sections.findIndex(s=>s.id===this.focusedSectionId);if(idx<0)idx=delta>0?-1:0;idx=(idx+delta+sections.length)%sections.length;this.announceFocusedSection(sections[idx])}pointerFocusing=false;onChartPointerDown=()=>{this.pointerFocusing=true;setTimeout(()=>{this.pointerFocusing=false},0)};onChartFocus=()=>{if(this.pointerFocusing)return;if(this.focusedSectionId!==null)return;const first=this.navigableSections()[0];if(first)this.announceFocusedSection(first)};onChartBlur=()=>{this.focusedSectionId=null};onChartKeyDown=ev=>{switch(ev.key){case"ArrowRight":case"ArrowDown":ev.preventDefault();this.moveSectionFocus(1);break;case"ArrowLeft":case"ArrowUp":ev.preventDefault();this.moveSectionFocus(-1);break;case"Home":{ev.preventDefault();const first=this.navigableSections()[0];if(first)this.announceFocusedSection(first);break}case"End":{ev.preventDefault();const sections=this.navigableSections();const last=sections[sections.length-1];if(last)this.announceFocusedSection(last);break}case"Enter":case" ":{if(this.focusedSectionId===null)return;ev.preventDefault();const section=this.navigableSections().find(s=>s.id===this.focusedSectionId);if(section)this.sectionClick.emit(this.buildPointerDetail(section));break}case"Escape":this.focusedSectionId=null;this.clearHover();break}};tooltipHtml(detail){const fmt=this.numberFormatter(this.valueFormat);return`<strong>${escapeHtml(detail.name)}</strong><br/>${fmt(detail.value)} (${(detail.percentage*100).toFixed(1)}%)`}plainTooltipText(detail){return`${detail.name} · ${detail.value} (${(detail.percentage*100).toFixed(1)}%)`}effectiveTooltipSpec(){if(this.tooltip!==void 0)return resolveFunnelTooltipSpec(this.tooltip);return funnelTooltipSpecFromLegacy({show:this.tooltipShow,format:this.tooltipFormat})}hasVisibleTooltips(){return this.funnelTooltip!==null||this.funnelTooltips.length>0}clearTooltips(){if(!this.hasVisibleTooltips())return;this.tooltipDrag=void 0;this.funnelTooltip=null;this.funnelTooltips=[];this.tooltipHide.emit()}shouldHideTooltipOnLeave(spec){if(!spec.show)return true;if(spec.draggable||spec.trigger==="click")return false;return spec.hideOnLeave!==false}showTooltipForSection(_section,detail,spec,allowMultiple){const context={...detail};const side=spec.side??"top";const text=spec.format?safeFormatter.safeChartFormatter(spec.format,[detail,context],()=>this.plainTooltipText(detail),"tooltip.format",spec):this.plainTooltipText(detail);const html=spec.html?safeFormatter.safeChartFormatter(spec.html,[detail,context],()=>void 0,"tooltip.html",spec):spec.format?void 0:this.tooltipHtml(detail);const locked=this.lockedTooltipPositionForDetail(detail,spec);const renderedSide=locked?.side??side;const renderedAnchor=locked?this.tooltipAnchorFromPositionLock(locked.lock,renderedSide,locked.box,spec.offset):{cssX:detail.cssX,cssY:detail.cssY};const rendered={id:this.nextTooltipId++,cssX:renderedAnchor.cssX,cssY:renderedAnchor.cssY,pointCssX:detail.cssX,pointCssY:detail.cssY,box:locked?.box,side:renderedSide,text,html,className:spec.className,style:this.tooltipStyleFromSpec(spec),interactive:spec.interactive,connector:spec.connector,draggable:spec.draggable,offset:spec.offset,positionLock:locked?.lock,context};this.tooltipDrag=void 0;if(allowMultiple&&spec.openMode==="multiple"){this.funnelTooltip=rendered;this.funnelTooltips=[...this.funnelTooltips,rendered]}else{this.funnelTooltips=[];this.funnelTooltip=rendered}const eventDetail={cssX:renderedAnchor.cssX,cssY:renderedAnchor.cssY,anchor:renderedSide,text,html,context};this.tooltipShown.emit(eventDetail);return eventDetail}tooltipStyleFromSpec(spec){const style={...spec.style??{}};if(spec.width!==void 0)style.width=spec.width;if(spec.minWidth!==void 0)style.minWidth=spec.minWidth;if(spec.maxWidth!==void 0)style.maxWidth=spec.maxWidth;if(spec.padding!==void 0)style.padding=spec.padding;return Object.keys(style).length>0?style:void 0}positionedFunnelTooltip(tooltip=this.funnelTooltip){if(!tooltip)return null;if(!tooltip.box||this.tooltipDrag)return tooltip;if(tooltip.positionLock)return tooltip;const offset=tooltip.offset??10;const placement=connector.computeTooltipPlacement({anchor:{kind:"point",x:tooltip.pointCssX,y:tooltip.pointCssY},tooltip:tooltip.box,viewport:{x:0,y:0,width:this.width,height:this.height},preferredSide:tooltip.side,offset});const anchor=this.tooltipAnchorFromTopLeft(placement.x,placement.y,tooltip.box,placement.side,offset);return{...tooltip,cssX:anchor.cssX,cssY:anchor.cssY,side:placement.side}}tooltipAnchorFromTopLeft(x,y,box,side,offset){if(side==="top")return{cssX:x+box.width/2,cssY:y+box.height+offset};if(side==="bottom")return{cssX:x+box.width/2,cssY:y-offset};if(side==="left")return{cssX:x+box.width+offset,cssY:y+box.height/2};return{cssX:x-offset,cssY:y+box.height/2}}tooltipTopLeftFromAnchor(tooltip){const box=tooltip.box;if(!box)return void 0;const offset=tooltip.offset??10;if(tooltip.side==="top")return{x:tooltip.cssX-box.width/2,y:tooltip.cssY-offset-box.height};if(tooltip.side==="bottom")return{x:tooltip.cssX-box.width/2,y:tooltip.cssY+offset};if(tooltip.side==="left")return{x:tooltip.cssX-offset-box.width,y:tooltip.cssY-box.height/2};return{x:tooltip.cssX+offset,y:tooltip.cssY-box.height/2}}tooltipTopLeftFromElement(element){const rect=element.getBoundingClientRect();const hostRect=this.host.getBoundingClientRect();if(!Number.isFinite(rect.left)||!Number.isFinite(rect.top))return void 0;return{x:rect.left-hostRect.left,y:rect.top-hostRect.top}}tooltipAnchorFromPositionLock(lock,side,box,offset){return box?this.tooltipAnchorFromTopLeft(lock.x,lock.y,box,side,offset):{cssX:lock.x,cssY:lock.y}}tooltipPositionKey(index2){return String(index2)}rememberDraggableTooltipPosition(tooltip){if(!tooltip.draggable||!tooltip.positionLock)return;this.draggableTooltipPositions.set(this.tooltipPositionKey(tooltip.context.index),{lock:{...tooltip.positionLock},side:tooltip.side,box:tooltip.box})}lockedTooltipPositionForDetail(detail,spec){if(spec.draggable){const memory=this.draggableTooltipPositions.get(this.tooltipPositionKey(detail.index));if(!memory)return void 0;return{lock:{...memory.lock},side:memory.side,box:memory.box}}if(!spec.interactive||spec.openMode==="multiple")return void 0;const tooltip=this.positionedFunnelTooltip();if(!tooltip?.box||tooltip.context.index!==detail.index)return void 0;const lock=this.tooltipTopLeftFromAnchor(tooltip);return lock?{lock,side:tooltip.side,box:tooltip.box}:void 0}lockedTooltipFromElement(tooltip,element){const rendered=this.positionedFunnelTooltip(tooltip)??tooltip;const rect=element.getBoundingClientRect();const measuredBox=Number.isFinite(rect.width)&&Number.isFinite(rect.height)?{width:Math.round(rect.width*100)/100,height:Math.round(rect.height*100)/100}:void 0;const lock=this.tooltipTopLeftFromElement(element)??this.tooltipTopLeftFromAnchor(rendered)??{x:rendered.cssX,y:rendered.cssY};const box=tooltip.box??rendered.box??measuredBox;const next={...tooltip,cssX:rendered.cssX,cssY:rendered.cssY,side:rendered.side,box,positionLock:lock};Object.assign(next,this.tooltipAnchorFromPositionLock(lock,next.side,box,next.offset??10));return next}updateRenderedTooltip(next){if(this.funnelTooltip?.id===next.id)this.funnelTooltip=next;if(this.funnelTooltips.some(entry=>entry.id===next.id)){this.funnelTooltips=this.funnelTooltips.map(entry=>entry.id===next.id?next:entry)}this.rememberDraggableTooltipPosition(next)}measureFunnelTooltipBox(){if(this.funnelTooltips.length>0)return;const tooltip=this.funnelTooltip;const element=this.tooltipElement;if(!tooltip||!element)return;const rect=element.getBoundingClientRect();if(!Number.isFinite(rect.width)||!Number.isFinite(rect.height))return;const width=Math.round(rect.width*100)/100;const height=Math.round(rect.height*100)/100;if(tooltip.box?.width===width&&tooltip.box?.height===height)return;const box={width,height};const lock=tooltip.positionLock??(tooltip.interactive?this.tooltipTopLeftFromElement(element):void 0);const next={...tooltip,box,positionLock:lock};if(lock){Object.assign(next,this.tooltipAnchorFromPositionLock(lock,tooltip.side,box,tooltip.offset??10))}this.rememberDraggableTooltipPosition(next);this.funnelTooltip=next}localPoint(ev){const rect=this.host.getBoundingClientRect();return{x:ev.clientX-rect.left,y:ev.clientY-rect.top}}onChartMove=ev=>{if(!this.enableMouseTracking)return;const layout=this.layoutForDraw();const sections=this.resolveSectionsForDraw(layout,this.currentRevealScale());const p=this.localPoint(ev);const hit=sectionAtPoint(p.x,p.y,sections,layout.cx);if(!hit){this.clearHover();return}this.hoverSectionId=hit.id;const detail=this.buildPointerDetail(hit);this.sectionHover.emit(detail);const spec=this.effectiveTooltipSpec();if(spec.show&&spec.trigger!=="click"){this.showTooltipForSection(hit,detail,spec,false)}};onChartLeave=()=>{this.clearHover()};onChartClick=ev=>{if(!this.enableMouseTracking)return;const layout=this.layoutForDraw();const sections=this.resolveSectionsForDraw(layout,this.currentRevealScale());const p=this.localPoint(ev);const hit=sectionAtPoint(p.x,p.y,sections,layout.cx);if(!hit){this.hoverSectionId=null;if(this.hasVisibleTooltips())this.clearTooltips();return}this.hoverSectionId=hit.id;const detail=this.buildPointerDetail(hit);this.sectionClick.emit(detail);const spec=this.effectiveTooltipSpec();if(spec.show&&(spec.trigger==="click"||spec.trigger==="hover-click")){this.showTooltipForSection(hit,detail,spec,true)}};onPointContextMenu=ev=>{if(!this.enableMouseTracking)return;const layout=this.layoutForDraw();const sections=this.resolveSectionsForDraw(layout,this.currentRevealScale());const p=this.localPoint(ev);const hit=sectionAtPoint(p.x,p.y,sections,layout.cx);if(!hit)return;ev.preventDefault();ev.stopPropagation();this.pointContextMenu.emit(pointContextMenu.buildChartPointContextMenuDetail(ev,this.host,this.reversed?"pyramid":"funnel",this.buildPointerDetail(hit),{index:0,id:this.reversed?"pyramid":"funnel",name:this.chartTitle??(this.reversed?"Pyramid":"Funnel")}))};clearHover(){const hadHover=this.hoverSectionId!==null;this.hoverSectionId=null;this.sectionHover.emit(null);if(this.shouldHideTooltipOnLeave(this.effectiveTooltipSpec()))this.clearTooltips();if(hadHover)this.animationTick++}handleTooltipActionClick=ev=>{const target=ev.target;const actionTarget=target?.closest?.("[data-tooltip-action]");const action=actionTarget?.dataset.tooltipAction;const tooltipElement=actionTarget?.closest?.("[data-tooltip-id]");const tooltipId=Number(tooltipElement?.getAttribute("data-tooltip-id"));let tooltip=this.funnelTooltips.find(entry=>entry.id===tooltipId)??this.funnelTooltip;if(!action||!tooltip)return;if(tooltipElement&&(tooltip.interactive||tooltip.draggable)){tooltip=this.lockedTooltipFromElement(tooltip,tooltipElement);this.updateRenderedTooltip(tooltip)}ev.stopPropagation();this.tooltipAction.emit({...tooltip.context,action,text:tooltip.text,html:tooltip.html})};handleTooltipPointerDown=event=>{if(!this.funnelTooltip?.draggable)return;const target=event.target;if(target?.closest?.("[data-tooltip-action],button,a,input,textarea,select"))return;event.preventDefault();event.stopPropagation();const element=event.currentTarget;const next=this.lockedTooltipFromElement(this.funnelTooltip,element);const lock=next.positionLock??{x:next.cssX,y:next.cssY};this.funnelTooltip=next;this.rememberDraggableTooltipPosition(next);element.setPointerCapture?.(event.pointerId);this.tooltipDrag={pointerId:event.pointerId,startX:event.clientX,startY:event.clientY,originX:next.cssX,originY:next.cssY,originLockX:lock.x,originLockY:lock.y}};handleTooltipPointerMove=event=>{const drag=this.tooltipDrag;if(!drag||drag.pointerId!==event.pointerId||!this.funnelTooltip)return;event.preventDefault();event.stopPropagation();const lock={x:drag.originLockX+event.clientX-drag.startX,y:drag.originLockY+event.clientY-drag.startY};const next={...this.funnelTooltip,positionLock:lock};Object.assign(next,this.tooltipAnchorFromPositionLock(lock,next.side,next.box,next.offset??10));this.funnelTooltip=next;this.rememberDraggableTooltipPosition(next)};handleTooltipPointerUp=event=>{const drag=this.tooltipDrag;if(!drag||drag.pointerId!==event.pointerId)return;event.stopPropagation();if(this.funnelTooltip)this.rememberDraggableTooltipPosition(this.funnelTooltip);event.currentTarget.releasePointerCapture?.(event.pointerId);this.tooltipDrag=void 0};accessibleSummary(sections){const visible=sections.filter(s=>s.visible);const title=this.chartTitle?`${this.chartTitle}. `:"";const kind=this.reversed?"Pyramid":"Funnel";const names=visible.map(s=>s.name).join(", ");return`${title}${kind} chart, ${visible.length} sections (${names}).`}render(){const renderStart=this.now();const decision=pickFunnelEngine({requested:this.engine,onUnavailable:this.unavailable});if(decision.tier!==this.activeTier)this.activeTier=decision.tier;if(decision.fallbackReason!==this.fallbackReason)this.fallbackReason=decision.fallbackReason;const layout=this.layoutForDraw();const sections=this.resolveSectionsForDraw(layout,this.currentRevealScale());const fmt=this.numberFormatter(this.valueFormat);const style={labelPlacement:this.labelPlacement,labelColor:this.labelColor,insideLabelColor:this.insideLabelColor,labelFontSize:this.labelFontSize,showValue:this.showValue,showPercent:this.showPercent,leaderColor:this.leaderColor,formatValue:fmt};const visual=prepareFunnelLayout({layout,sections,style});const activeSectionId=this.effectiveActiveSectionId(sections);this.lastRenderResult={sections:visual.sectionCount,renderMs:this.now()-renderStart};this.pendingRenderedEmit=true;const legendLayout=this.legend?this.buildLegendLayout({avoidLabelOverlap:this.legendShouldAvoidLabelOverlap(visual.labelVisuals)}):null;return index.h(index.Host,{key:"9973c3565957fbda08ad51752520ec15d10a4753","data-sy-brand-host":"chart"},index.h("div",{key:"98d2658d28adf805af949ff1edbb2a2ebc8797e0",class:"sy-funnel-chart",style:{width:`${this.width}px`,height:`${this.height}px`,position:"relative"},onMouseLeave:()=>this.onChartLeave()},index.h("svg",{key:"3ce44645508e791923972ed2d4cad6c07a37ce7e",class:"sy-funnel-chart__root",width:this.width,height:this.height,viewBox:`0 0 ${this.width} ${this.height}`,xmlns:"http://www.w3.org/2000/svg","data-animation-tick":this.animationTick,role:"application","aria-roledescription":this.reversed?"Pyramid chart":"Funnel chart","aria-label":this.accessibleSummary(sections),tabindex:0,onKeyDown:e=>this.onChartKeyDown(e),onFocus:()=>this.onChartFocus(),onBlur:()=>this.onChartBlur(),onMouseDown:()=>this.onChartPointerDown(),onMouseMove:e=>this.onChartMove(e),onContextMenu:e=>this.onPointContextMenu(e),onClick:e=>this.onChartClick(e)},this.chartTitle?index.h("text",{class:"sy-funnel-chart__title",x:this.width/2,y:16,"text-anchor":"middle",style:{fontSize:"14px",fontWeight:"600"}},this.chartTitle):null,this.chartSubtitle?index.h("text",{class:"sy-funnel-chart__subtitle",x:this.width/2,y:this.chartTitle?32:16,"text-anchor":"middle",style:{fontSize:"12px",fill:"#64748b"}},this.chartSubtitle):null,index.h("g",{key:"a938ff922eae8ba66918482e99110ddd6d927951",class:"sy-funnel-chart__sections"},visual.sectionVisuals.map(s=>s.visible&&s.path?index.h("path",{key:s.key,class:this.sectionClassName(s.id,activeSectionId),d:s.path,fill:s.color,"fill-opacity":this.sectionOpacity(s.id,s.opacity,activeSectionId),stroke:"none","data-section-id":s.id,"data-focused":this.focusedSectionId===s.id?"true":null,role:"img","aria-label":`${s.name}: ${s.value} (${Math.round(s.percentage*1e3)/10}%)`}):null)),index.h("g",{key:"62ed6a3a23d7f047e69d89018e6dc1f47f232c65",class:"sy-funnel-chart__borders"},visual.borderVisuals.map(b=>index.h("line",{key:b.key,class:"sy-funnel-chart__border",x1:b.x1,y1:b.y1,x2:b.x2,y2:b.y2,stroke:b.color,"stroke-width":b.width,"stroke-opacity":this.borderOpacity(b.sectionIds,activeSectionId),"stroke-dasharray":b.dash?.join(" "),"stroke-linecap":"butt","pointer-events":"none"}))),index.h("g",{key:"8d140656cd108605d8ed08ef4ff82ee9e56ae653",class:"sy-funnel-chart__labels"},visual.labelVisuals.map(l=>[l.leader?index.h("line",{key:`${l.key}-ld`,class:"sy-funnel-chart__leader",x1:l.leader.x1,y1:l.leader.y1,x2:l.leader.x2,y2:l.leader.y2,stroke:this.leaderColor,"stroke-width":1}):null,index.h("text",{key:l.key,class:"sy-funnel-chart__label",x:l.x,y:l.y,"text-anchor":l.anchor,"dominant-baseline":"middle",style:{fontSize:`${l.fontSize}px`,fill:l.color}},l.text)])),index.h("text",{key:"30d9de6b9a1813af5a6cd69e6796d3e1f5fd8668",class:"sy-funnel-chart__sr-only","aria-live":"polite",role:"status"},this.srAnnouncement)),this.fallbackReason&&index.h("span",{key:"e020b270e48b030850d3ca640a22fde8536fb9e5",class:"sy-funnel-chart__watermark",title:this.fallbackReason},"Syidax - fell back to standard renderer"),legendLayout?.legendRect?index.h("div",{class:"sy-funnel-chart__legend",role:"list",style:{position:"absolute",left:`${legendLayout.legendRect.x}px`,top:`${legendLayout.legendRect.y}px`,width:`${legendLayout.legendRect.width}px`,height:`${legendLayout.legendRect.height}px`}},this.buildLegendItems().map((item,i)=>{const rect=legendLayout.itemRects[i];if(!rect)return null;const swatch=rect?.swatchRect;const label=rect?.labelRect;return index.h("span",{class:{"sy-funnel-chart__legend-item":true,"sy-funnel-chart__legend-item--disabled":!!item.disabled},role:"button",tabindex:0,"aria-pressed":item.disabled?"false":"true","aria-label":`${item.label}${item.disabled?", hidden":", shown"}`,style:{position:"absolute",left:`${rect.x-legendLayout.legendRect.x}px`,top:`${rect.y-legendLayout.legendRect.y}px`,width:`${rect.width}px`,height:`${rect.height}px`,display:"block",whiteSpace:"nowrap"},onClick:()=>this.onLegendItemClick(i,String(item.id??i),item.label),onKeyDown:ev=>this.onLegendKeyDown(ev,i,String(item.id??i),item.label)},index.h("span",{class:"sy-funnel-chart__legend-swatch",style:{position:"absolute",left:`${swatch.x-rect.x}px`,top:`${swatch.y-rect.y}px`,background:item.swatchColor}}),index.h("span",{class:"sy-funnel-chart__legend-label",style:{position:"absolute",left:`${label.x-rect.x}px`,top:`${label.y-rect.y}px`}},item.label))})):null,this.renderFunnelTooltipConnector(),this.renderFunnelTooltip()),chartBrand.renderChartBrand(this.host,this.brandLogo,{width:this.width,height:this.height,plot:this.plotRectFromLegend(legendLayout)}))}renderFunnelTooltip(){const multiple=this.funnelTooltips.length>0;const tooltips=multiple?this.funnelTooltips:[this.positionedFunnelTooltip()].filter(tooltip=>Boolean(tooltip));if(tooltips.length===0)return null;return tooltips.map(tooltip=>this.renderFunnelTooltipItem(tooltip,!multiple))}renderFunnelTooltipItem(tooltip,trackMeasure){const{cssX,cssY,side,text,html:tooltipHtml,className,style:customStyle,interactive,draggable}=tooltip;const offset=tooltip.offset??10;const style={position:"absolute",zIndex:"5",boxSizing:"border-box",width:"max-content",maxWidth:"calc(100% - 16px)",padding:"6px 10px",font:"500 12px system-ui, sans-serif",color:"var(--sy-tooltip-color, #fff)",background:"var(--sy-tooltip-bg, rgba(15,23,42,0.92))",borderRadius:"4px",whiteSpace:"pre-line",lineHeight:"1.35",boxShadow:"0 2px 8px rgba(0,0,0,0.18)",pointerEvents:interactive||draggable?"auto":"none",cursor:draggable?this.tooltipDrag?"grabbing":"grab":"default",transform:"none"};if(tooltip.positionLock){style.left=`${tooltip.positionLock.x}px`;style.top=`${tooltip.positionLock.y}px`;style.transform="none"}else if(side==="top"){style.left=`${cssX}px`;style.top=`${cssY-offset}px`;style.transform="translate(-50%, -100%)"}else if(side==="bottom"){style.left=`${cssX}px`;style.top=`${cssY+offset}px`;style.transform="translate(-50%, 0%)"}else if(side==="left"){style.left=`${cssX-offset}px`;style.top=`${cssY}px`;style.transform="translate(-100%, -50%)"}else{style.left=`${cssX+offset}px`;style.top=`${cssY}px`;style.transform="translate(0%, -50%)"}for(const[key,value]of Object.entries(customStyle??{})){style[key]=funnelTooltipCssValue(key,value)}if(tooltipHtml!==void 0){return index.h("div",{class:funnelTooltipClassName("sy-funnel-chart__tooltip",className),"data-tooltip-id":`${tooltip.id}`,ref:trackMeasure?el=>this.tooltipElement=el:void 0,style,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp,innerHTML:tooltipHtml})}return index.h("div",{class:funnelTooltipClassName("sy-funnel-chart__tooltip",className),"data-tooltip-id":`${tooltip.id}`,ref:trackMeasure?el=>this.tooltipElement=el:void 0,style,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp},text)}renderFunnelTooltipConnector(){const tooltips=this.funnelTooltips.length>0?this.funnelTooltips:[this.positionedFunnelTooltip()].filter(tooltip=>Boolean(tooltip));const connectedTooltips=tooltips.filter(tooltip=>tooltip.connector?.show);if(connectedTooltips.length===0)return null;return index.h("svg",{class:"sy-funnel-chart__tooltip-connector",width:this.width,height:this.height,style:{position:"absolute",left:"0px",top:"0px",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",overflow:"visible",zIndex:"4"},"aria-hidden":"true"},connectedTooltips.map(tooltip=>{const connector$1=tooltip.connector;const end=connector.tooltipConnectorEnd(tooltip);return index.h("line",{x1:tooltip.pointCssX,y1:tooltip.pointCssY,x2:end.x,y2:end.y,stroke:connector$1.color??"var(--sy-tooltip-connector-color, rgba(17,24,39,0.42))","stroke-width":connector$1.width??1,"stroke-dasharray":connector$1.dash?.join(" ")})}))}async getEngineStatus(){return standardEngineStatus.standardOnlyEngineStatus({requested:this.engine,onUnavailable:this.unavailable,renderer:"funnel"})}static get watchers(){return{"data":[{"handleDataChange":0}],"streamSource":[{"handleStreamSourceChange":0}],"streamWindow":[{"handleStreamSourceChange":0}],"streamMax":[{"handleStreamSourceChange":0}],"animated":[{"handleAnimationToggle":0}],"animationDuration":[{"handleAnimationToggle":0}],"animationEasing":[{"handleAnimationToggle":0}],"animationType":[{"handleAnimationToggle":0}],"reversed":[{"handleVisualPropsChange":0}],"neckWidth":[{"handleVisualPropsChange":0}],"neckHeight":[{"handleVisualPropsChange":0}],"gap":[{"handleVisualPropsChange":0}],"color":[{"handleVisualPropsChange":0}],"colors":[{"handleVisualPropsChange":0}],"labelPlacement":[{"handleVisualPropsChange":0}],"labelColor":[{"handleVisualPropsChange":0}],"insideLabelColor":[{"handleVisualPropsChange":0}],"labelFontSize":[{"handleVisualPropsChange":0}],"showValue":[{"handleVisualPropsChange":0}],"showPercent":[{"handleVisualPropsChange":0}],"valueFormat":[{"handleVisualPropsChange":0}],"leaderColor":[{"handleVisualPropsChange":0}],"chartTitle":[{"handleVisualPropsChange":0}],"chartSubtitle":[{"handleVisualPropsChange":0}],"tooltipShow":[{"handleVisualPropsChange":0}],"tooltip":[{"handleVisualPropsChange":0}],"enableMouseTracking":[{"handleVisualPropsChange":0}],"legend":[{"handleVisualPropsChange":0}],"legendPosition":[{"handleVisualPropsChange":0}],"legendItems":[{"handleVisualPropsChange":0}],"activeSectionIndex":[{"handleVisualPropsChange":0}],"inactiveOtherSections":[{"handleVisualPropsChange":0}],"inactiveSectionOpacity":[{"handleVisualPropsChange":0}]}}};function escapeHtml(value){return String(value).replace(/[&<>"']/g,c=>c==="&"?"&amp;":c==="<"?"&lt;":c===">"?"&gt;":c==='"'?"&quot;":"&#39;")}SyFunnelChart.style=syFunnelChartCss();exports.sy_funnel_chart=SyFunnelChart;
@@ -0,0 +1 @@
1
+ "use strict";var index=require("./index-CKeHnO3Q.js");var safeFormatter=require("./safe-formatter-B0DDURao.js");var pointContextMenu=require("./point-context-menu-CWB4nv9m.js");var chartStreamingGate=require("./chart-streaming-gate-DX4tlXCx.js");var legend=require("./legend-CbjQG1uh.js");var chartBrand=require("./chart-brand-CEKOnWyE.js");var scheme=require("./scheme-KzZHS7kW.js");var interpolate=require("./interpolate-BWPQ5Hyd.js");var number=require("./number-Dq6GiQsL.js");var connector=require("./connector-8ebOKxbI.js");var standardEngineStatus=require("./standard-engine-status-C4zMZsEh.js");var parse=require("./parse-CoFqMZ-2.js");require("./chart-license-bridge-DAODso1A.js");require("./errors-DNua3ZWy.js");require("./brand-mark-default-DvQHU2qS.js");const TWO_PI=Math.PI*2;function toRadians(deg){return Number.isFinite(deg)?deg*Math.PI/180:0}function pointOnCircle(cx,cy,radius,clockwiseFromTop){return{x:cx+radius*Math.sin(clockwiseFromTop),y:cy-radius*Math.cos(clockwiseFromTop)}}function valueToAngle(value,min,max,startAngle,endAngle,clamp=true){const span=max-min;if(!Number.isFinite(span)||span===0)return startAngle;let t=(value-min)/span;if(clamp)t=t<0?0:t>1?1:t;return startAngle+(endAngle-startAngle)*t}function angleToValue(angle,min,max,startAngle,endAngle){const angleSpan=endAngle-startAngle;if(!Number.isFinite(angleSpan)||angleSpan===0)return min;const t=(angle-startAngle)/angleSpan;return min+(max-min)*t}function arcOpenPath(cx,cy,radius,startAngle,endAngle){const sweep=endAngle-startAngle;if(radius<=0||sweep<=1e-7)return"";if(sweep>=TWO_PI-1e-9){const a=pointOnCircle(cx,cy,radius,startAngle);const b=pointOnCircle(cx,cy,radius,startAngle+Math.PI);return`M ${a.x} ${a.y} A ${radius} ${radius} 0 0 1 ${b.x} ${b.y} A ${radius} ${radius} 0 0 1 ${a.x} ${a.y}`}const start=pointOnCircle(cx,cy,radius,startAngle);const end=pointOnCircle(cx,cy,radius,endAngle);const largeArc=sweep>Math.PI?1:0;return`M ${start.x} ${start.y} A ${radius} ${radius} 0 ${largeArc} 1 ${end.x} ${end.y}`}function arcRingPath(cx,cy,outerRadius,innerRadius,startAngle,endAngle){const sweep=endAngle-startAngle;if(outerRadius<=0||sweep<=1e-7)return"";const largeArc=sweep>Math.PI?1:0;const oStart=pointOnCircle(cx,cy,outerRadius,startAngle);const oEnd=pointOnCircle(cx,cy,outerRadius,endAngle);const inner=Math.max(0,innerRadius);if(inner<=0){return`M ${cx} ${cy} L ${oStart.x} ${oStart.y} A ${outerRadius} ${outerRadius} 0 ${largeArc} 1 ${oEnd.x} ${oEnd.y} Z`}const iStart=pointOnCircle(cx,cy,inner,startAngle);const iEnd=pointOnCircle(cx,cy,inner,endAngle);return`M ${oStart.x} ${oStart.y} A ${outerRadius} ${outerRadius} 0 ${largeArc} 1 ${oEnd.x} ${oEnd.y} L ${iEnd.x} ${iEnd.y} A ${inner} ${inner} 0 ${largeArc} 0 ${iStart.x} ${iStart.y} Z`}function arcRingRoundedPath(cx,cy,outerRadius,innerRadius,startAngle,endAngle,roundStart,roundEnd,cornerRadius){const sweep=endAngle-startAngle;const inner=Math.max(0,innerRadius);const thickness=outerRadius-inner;if(outerRadius<=0||sweep<=1e-7||inner<=0||thickness<=0){return arcRingPath(cx,cy,outerRadius,innerRadius,startAngle,endAngle)}const r=Math.max(0,Math.min(cornerRadius,thickness/2-.25,sweep*inner/2-.001));if(r<.5||!roundStart&&!roundEnd){return arcRingPath(cx,cy,outerRadius,innerRadius,startAngle,endAngle)}const dO=r/outerRadius;const dI=r/inner;const oStartA=startAngle+(roundStart?dO:0);const oEndA=endAngle-(roundEnd?dO:0);const iStartA=startAngle+(roundStart?dI:0);const iEndA=endAngle-(roundEnd?dI:0);const P=(radius,angle)=>pointOnCircle(cx,cy,radius,angle);const outerLarge=oEndA-oStartA>Math.PI?1:0;const innerLarge=iEndA-iStartA>Math.PI?1:0;const oS=P(outerRadius,oStartA);const oE=P(outerRadius,oEndA);let d=`M ${oS.x} ${oS.y} A ${outerRadius} ${outerRadius} 0 ${outerLarge} 1 ${oE.x} ${oE.y}`;if(roundEnd){const cOuter=P(outerRadius,endAngle);const eOuter=P(outerRadius-r,endAngle);const eInner=P(inner+r,endAngle);const cInner=P(inner,endAngle);const iE=P(inner,iEndA);d+=` Q ${cOuter.x} ${cOuter.y} ${eOuter.x} ${eOuter.y} L ${eInner.x} ${eInner.y} Q ${cInner.x} ${cInner.y} ${iE.x} ${iE.y}`}else{const iE=P(inner,endAngle);d+=` L ${iE.x} ${iE.y}`}const iS=P(inner,iStartA);d+=` A ${inner} ${inner} 0 ${innerLarge} 0 ${iS.x} ${iS.y}`;if(roundStart){const cInner=P(inner,startAngle);const sInner=P(inner+r,startAngle);const sOuter=P(outerRadius-r,startAngle);const cOuter=P(outerRadius,startAngle);d+=` Q ${cInner.x} ${cInner.y} ${sInner.x} ${sInner.y} L ${sOuter.x} ${sOuter.y} Q ${cOuter.x} ${cOuter.y} ${oS.x} ${oS.y}`}else{const oStraight=P(outerRadius,startAngle);d+=` L ${oStraight.x} ${oStraight.y}`}return d+" Z"}function needlePath(cx,cy,angle,length,rearLength,width,shape){const dx=Math.sin(angle);const dy=-Math.cos(angle);const px=Math.cos(angle);const py=Math.sin(angle);const halfW=Math.max(.5,width)/2;const tip={x:cx+length*dx,y:cy+length*dy};const rear={x:cx-rearLength*dx,y:cy-rearLength*dy};const baseR={x:cx+halfW*px,y:cy+halfW*py};const baseL={x:cx-halfW*px,y:cy-halfW*py};const fmt=p=>`${p.x} ${p.y}`;if(shape==="wedge"){return`M ${fmt(tip)} L ${fmt(baseR)} L ${fmt(baseL)} Z`}if(shape==="line"){const tipR={x:tip.x+halfW*px,y:tip.y+halfW*py};const tipL={x:tip.x-halfW*px,y:tip.y-halfW*py};const rearR={x:rear.x+halfW*px,y:rear.y+halfW*py};const rearL={x:rear.x-halfW*px,y:rear.y-halfW*py};return`M ${fmt(rearR)} L ${fmt(tipR)} L ${fmt(tipL)} L ${fmt(rearL)} Z`}if(shape==="arrow"){const neck=.78;const shaftHalf=Math.max(.5,halfW*.45);const headHalf=halfW*1.4;const neckPt={x:cx+length*neck*dx,y:cy+length*neck*dy};const shaftRearR={x:rear.x+shaftHalf*px,y:rear.y+shaftHalf*py};const shaftRearL={x:rear.x-shaftHalf*px,y:rear.y-shaftHalf*py};const neckR={x:neckPt.x+shaftHalf*px,y:neckPt.y+shaftHalf*py};const neckL={x:neckPt.x-shaftHalf*px,y:neckPt.y-shaftHalf*py};const headR={x:neckPt.x+headHalf*px,y:neckPt.y+headHalf*py};const headL={x:neckPt.x-headHalf*px,y:neckPt.y-headHalf*py};return`M ${fmt(shaftRearR)} L ${fmt(neckR)} L ${fmt(headR)} L ${fmt(tip)} L ${fmt(headL)} L ${fmt(neckL)} L ${fmt(shaftRearL)} Z`}return`M ${fmt(tip)} L ${fmt(baseR)} L ${fmt(rear)} L ${fmt(baseL)} Z`}function tickMarkSegment(cx,cy,angle,rInner,rOuter){const a=pointOnCircle(cx,cy,rInner,angle);const b=pointOnCircle(cx,cy,rOuter,angle);return{x1:a.x,y1:a.y,x2:b.x,y2:b.y}}function tickLabelPlacement(cx,cy,angle,radius){const p=pointOnCircle(cx,cy,radius,angle);const sin=Math.sin(angle);let anchor;if(sin>.2)anchor="end";else if(sin<-.2)anchor="start";else anchor="middle";return{x:p.x,y:p.y,anchor}}function computeGaugeTicks(options){const{min,max,startAngle,endAngle}=options;const span=max-min;if(!Number.isFinite(span)||span<=0)return[{value:min,angle:startAngle,major:true}];const majorNum=Number(options.majorInterval);const major=options.majorInterval==="auto"||!Number.isFinite(majorNum)||majorNum<=0?niceInterval(span,6):majorNum;const minorCount=Math.max(0,Math.floor(options.minorCount));const step=minorCount>0?major/(minorCount+1):major;const out=[];const eps=step*1e-6;let i=0;for(let v=min;v<=max+eps;v+=step){const value=Math.abs(v)<eps?0:v;const isMajor=minorCount===0||i%(minorCount+1)===0;out.push({value,angle:valueToAngle(value,min,max,startAngle,endAngle),major:isMajor});i++}return out}function niceInterval(span,target){const raw=span/Math.max(1,target);const mag=Math.pow(10,Math.floor(Math.log10(raw)));const norm=raw/mag;let nice;if(norm<1.5)nice=1;else if(norm<3)nice=2;else if(norm<7)nice=5;else nice=10;return nice*mag}function resolveDimension(value,basis){if(typeof value==="number")return Number.isFinite(value)?value:void 0;if(typeof value==="string"){const s=value.trim();if(s.endsWith("%")){const pct=Number(s.slice(0,-1));return Number.isFinite(pct)?pct/100*basis:void 0}const n=Number(s);return Number.isFinite(n)?n:void 0}return void 0}function computeGaugeLayout(options){const padding=Math.max(0,options.outerPadding??8);const gutter=Math.max(0,options.labelGutter??0);const pad=padding+gutter;const innerW=Math.max(0,options.plot.width-pad*2);const innerH=Math.max(0,options.plot.height-pad*2);const minDim=Math.min(innerW,innerH);const startAngle=options.startAngle;const endAngle=Math.max(options.endAngle,startAngle+1e-6);const explicitDiameter=resolveDimension(options.size,minDim);const explicitCx=resolveDimension(options.centerX,options.plot.width);const explicitCy=resolveDimension(options.centerY,options.plot.height);const autoFit=explicitDiameter===void 0&&explicitCx===void 0&&explicitCy===void 0;let outerRadius=explicitDiameter!==void 0?Math.max(1,explicitDiameter/2):Math.max(2,minDim/2);let cx=options.plot.x+(explicitCx!==void 0?explicitCx:options.plot.width/2);let cy=options.plot.y+(explicitCy!==void 0?explicitCy:options.plot.height/2);if(autoFit){const bbox=arcBoundingBox(0,0,outerRadius,startAngle,endAngle);const bboxW=bbox.maxX-bbox.minX;const bboxH=bbox.maxY-bbox.minY;if(bboxW>0&&bboxH>0){const scale=Math.min(innerW/bboxW,innerH/bboxH);outerRadius=Math.max(2,outerRadius*scale);const scaled=arcBoundingBox(0,0,outerRadius,startAngle,endAngle);cx=options.plot.x+pad+(innerW-(scaled.maxX-scaled.minX))/2-scaled.minX;cy=options.plot.y+pad+(innerH-(scaled.maxY-scaled.minY))/2-scaled.minY}}let innerRadius=0;if(Number.isFinite(options.thickness)&&options.thickness>0){innerRadius=Math.max(0,Math.min(outerRadius-options.thickness,outerRadius-1))}else{const resolved=resolveDimension(options.innerRadius,outerRadius);if(resolved!==void 0)innerRadius=Math.max(0,Math.min(resolved,outerRadius-1))}return{cx,cy,outerRadius,innerRadius,startAngle,endAngle,totalAngle:endAngle-startAngle}}function arcBoundingBox(cx,cy,radius,startAngle,endAngle){const a0=startAngle;const a1=endAngle;const xs=[cx];const ys=[cy];const push=a=>{xs.push(cx+radius*Math.sin(a));ys.push(cy-radius*Math.cos(a))};push(a0);push(a1);const normStart=(a0%TWO_PI+TWO_PI)%TWO_PI;const offset=a0-normStart;for(const cardinal of[0,Math.PI/2,Math.PI,3*Math.PI/2,TWO_PI]){const ca=cardinal+offset;if(ca>=a0&&ca<=a1)push(ca);const cab=ca+TWO_PI;if(cab>=a0&&cab<=a1)push(cab)}let minX=Infinity,maxX=-Infinity,minY=Infinity,maxY=-Infinity;for(let i=0;i<xs.length;i++){if(xs[i]<minX)minX=xs[i];if(xs[i]>maxX)maxX=xs[i];if(ys[i]<minY)minY=ys[i];if(ys[i]>maxY)maxY=ys[i]}return{minX,maxX,minY,maxY}}function isPointInDial(cssX,cssY,layout,tolerance=0){const dx=cssX-layout.cx;const dy=cssY-layout.cy;const dist=Math.sqrt(dx*dx+dy*dy);if(dist>layout.outerRadius+tolerance)return false;const theta=Math.atan2(dx,-dy);const a0=layout.startAngle;const a1=layout.endAngle;for(const t of[theta,theta+TWO_PI,theta-TWO_PI]){if(t>=a0-1e-6&&t<=a1+1e-6)return true}return false}function angleForPoint(cssX,cssY,layout){return Math.atan2(cssX-layout.cx,-(cssY-layout.cy))}const GAUGE_BAND_LEVEL_COLORS={normal:"#16a34a",info:"#2563eb",warning:"#f59e0b",danger:"#dc2626",critical:"#991b1b",neutral:"#cbd5e1"};function resolveBandColor(value,fallback=GAUGE_BAND_LEVEL_COLORS.neutral){if(!value)return fallback;const key=value.toLowerCase();if(Object.prototype.hasOwnProperty.call(GAUGE_BAND_LEVEL_COLORS,key)){return GAUGE_BAND_LEVEL_COLORS[key]}return value}function parseClockTime(input,now=()=>new Date){if(typeof input==="string"&&input!=="now"){const m=/^\s*(\d{1,2}):(\d{2})(?::(\d{2}))?\s*$/.exec(input);if(m){const hours=Number(m[1]);const minutes=Number(m[2]);const seconds=m[3]!==void 0?Number(m[3]):0;if(hours>=0&&hours<24&&minutes>=0&&minutes<60&&seconds>=0&&seconds<60){return{hours,minutes,seconds}}}}const d=now();return{hours:d.getHours(),minutes:d.getMinutes(),seconds:d.getSeconds()}}function clockHandValues(t){return{hour:t.hours%12+t.minutes/60+t.seconds/3600,minute:(t.minutes+t.seconds/60)*(12/60),second:t.seconds*(12/60)}}function formatClockTime(t,withSeconds){const pad=n=>String(n).padStart(2,"0");return withSeconds?`${pad(t.hours)}:${pad(t.minutes)}:${pad(t.seconds)}`:`${pad(t.hours)}:${pad(t.minutes)}`}function vuMeterDefaultBands(min,max){if(!Number.isFinite(min)||!Number.isFinite(max)||max<=0||max<=min)return[];return[{from:Math.max(0,min),to:max,color:"danger"}]}function defaultPlotBands(min,max){const span=max-min;if(!Number.isFinite(span)||span<=0)return[];return[{from:min,to:min+span*.6,color:"normal"},{from:min+span*.6,to:min+span*.85,color:"warning"},{from:min+span*.85,to:max,color:"danger"}]}function resolveActivityRingSpec(ring,index2,fallbackColor,chartMax){const spec=typeof ring==="number"?{value:ring}:ring;const rawValue=typeof spec.value==="bigint"?Number(spec.value):spec.value;const rawMax=typeof spec.max==="bigint"?Number(spec.max):spec.max;const max=typeof rawMax==="number"&&Number.isFinite(rawMax)&&rawMax>0?rawMax:Number.isFinite(chartMax)&&chartMax>0?chartMax:100;const value=Number.isFinite(rawValue)?Math.max(0,Math.min(rawValue,max)):0;return{id:spec.id!==void 0&&spec.id!==null?String(spec.id):typeof spec.name==="string"&&spec.name.length>0?spec.name:String(index2),name:typeof spec.name==="string"&&spec.name.length>0?spec.name:String(index2),value,max,color:typeof spec.color==="string"?spec.color:fallbackColor,trackColor:typeof spec.trackColor==="string"?spec.trackColor:void 0,visible:spec.visible!==false}}function resolveGaugeNeedle(needle,index2,fallbackColor){if(typeof needle==="number"){return{id:String(index2),name:String(index2),value:Number.isFinite(needle)?needle:0,color:fallbackColor,shape:"needle",length:void 0,rearLength:void 0,width:void 0,visible:true}}const rawValue=typeof needle.value==="bigint"?Number(needle.value):needle.value;const value=Number.isFinite(rawValue)?rawValue:0;return{id:needle.id!==void 0&&needle.id!==null?String(needle.id):typeof needle.name==="string"&&needle.name.length>0?needle.name:String(index2),name:typeof needle.name==="string"&&needle.name.length>0?needle.name:String(index2),value,color:typeof needle.color==="string"?needle.color:fallbackColor,shape:needle.shape??"needle",length:needle.length,rearLength:needle.rearLength,width:needle.width,visible:needle.visible!==false}}function pickGaugeEngine(options){if(options.requested==="pro"){const reason="no GPU gauge renderer exists";if(pointContextMenu.normalizeUnavailableBehaviour(options.onUnavailable)==="error"){throw new Error('sy-gauge-chart: Pro engine is unavailable — no GPU gauge renderer exists. Use engine="standard" or unavailable="fallback".')}console.warn(`[Syidax] sy-gauge-chart: Pro renderer unavailable, falling back to Standard (${reason}).`);return{tier:"standard",fallbackReason:reason}}return{tier:"standard"}}const GAUGE_TOOLTIP_DEFAULTS={show:true,openMode:"single",trigger:"hover",offset:8,interactive:false,hideOnLeave:true,connector:{show:false},draggable:false};function isPlainObject(value){return Boolean(value)&&typeof value==="object"&&!Array.isArray(value)}function resolveGaugeTooltipConnectorSpec(input){if(input===true)return{show:true};if(input===void 0||input===null||input===false||!isPlainObject(input)){return{show:false}}const partial=input;return{show:partial.show===true,color:typeof partial.color==="string"?partial.color:void 0,width:Number.isFinite(partial.width)&&partial.width>0?partial.width:void 0,dash:Array.isArray(partial.dash)?partial.dash.slice():void 0}}function resolveGaugeTooltipSpec(input){if(input===void 0||input===null||input==="auto"||input===true){return{...GAUGE_TOOLTIP_DEFAULTS}}if(input==="off"||input===false){return{...GAUGE_TOOLTIP_DEFAULTS,show:false}}if(!isPlainObject(input)){return{...GAUGE_TOOLTIP_DEFAULTS}}const partial=input;const style=isPlainObject(partial.style)?Object.fromEntries(Object.entries(partial.style).filter(([,value])=>typeof value==="string"||typeof value==="number")):void 0;const dimension=value=>typeof value==="string"||Number.isFinite(value)&&value>=0?value:void 0;const trigger=value=>value==="click"||value==="hover-click"||value==="hover"?value:GAUGE_TOOLTIP_DEFAULTS.trigger;const openMode=value=>value==="multiple"?"multiple":GAUGE_TOOLTIP_DEFAULTS.openMode;const connector2=resolveGaugeTooltipConnectorSpec(partial.connector);return{show:partial.show===false?false:true,openMode:openMode(partial.openMode),trigger:trigger(partial.trigger),side:partial.side,offset:Number.isFinite(partial.offset)&&partial.offset>=0?partial.offset:GAUGE_TOOLTIP_DEFAULTS.offset,format:typeof partial.format==="function"?partial.format:void 0,html:typeof partial.html==="function"?partial.html:void 0,className:typeof partial.className==="string"?partial.className:void 0,style,width:dimension(partial.width),minWidth:dimension(partial.minWidth),maxWidth:dimension(partial.maxWidth),padding:dimension(partial.padding),interactive:partial.interactive===true,hideOnLeave:partial.hideOnLeave===false?false:true,connector:connector2,draggable:partial.draggable===true}}function gaugeTooltipSpecFromLegacy(opts){return{...GAUGE_TOOLTIP_DEFAULTS,show:opts.show,format:typeof opts.format==="function"?detail=>opts.format(detail):void 0}}const ANALOG_DAMPING_DEFAULT=5;const ANALOG_FREQUENCY_DEFAULT=18;const ANALOG_DISTANCE_CALM_DAMPING=16;function analogDampingForDistance(baseDamping=ANALOG_DAMPING_DEFAULT,normalizedDistance=1,calmDamping=ANALOG_DISTANCE_CALM_DAMPING){const base=Number.isFinite(baseDamping)&&baseDamping>0?baseDamping:ANALOG_DAMPING_DEFAULT;const calm=Number.isFinite(calmDamping)&&calmDamping>0?Math.max(base,calmDamping):Math.max(base,ANALOG_DISTANCE_CALM_DAMPING);const distance=clamp01(normalizedDistance);const distanceWeight=Math.pow(distance,.75);return base+(calm-base)*(1-distanceWeight)}function analogSettle(t,damping=ANALOG_DAMPING_DEFAULT,frequency=ANALOG_FREQUENCY_DEFAULT){if(t<=0)return 0;if(t>=1)return 1;const a=Number.isFinite(damping)&&damping>0?damping:ANALOG_DAMPING_DEFAULT;const b=Number.isFinite(frequency)&&frequency>0?frequency:ANALOG_FREQUENCY_DEFAULT;return 1-Math.exp(-a*t)*Math.cos(b*t)}function applyGaugeEasing(t,easing,damping,frequency){const x=clamp01(t);switch(easing){case"linear":return x;case"ease-out":return 1-(1-x)*(1-x)*(1-x);case"ease-in":return x*x*x;case"ease-in-out":return x<.5?4*x*x*x:1-Math.pow(-2*x+2,3)/2;case"analog":return analogSettle(x,damping,frequency);default:return x}}function clamp01(value){if(!Number.isFinite(value)||value<=0)return 0;if(value>=1)return 1;return value}function createGaugeAnimator(){const entries=new Map;const settled=new Map;function elapsed(entry,now){if(entry.startedAt<0)return entry.pausedElapsed;if(entry.paused)return entry.pausedElapsed;return Math.max(0,now-entry.startedAt+entry.pausedElapsed)}function rawProgress(entry,now){if(entry.duration<=0)return 1;return clamp01(elapsed(entry,now)/entry.duration)}function easedValue(entry,now){const eased=applyGaugeEasing(rawProgress(entry,now),entry.easing,entry.analogDamping,entry.analogFrequency);return entry.from+(entry.to-entry.from)*eased}return{start(key,e){entries.set(key,{from:e.from,to:e.to,startedAt:-1,pausedElapsed:0,paused:false,duration:Math.max(0,e.duration),easing:e.easing,analogDamping:e.analogDamping??ANALOG_DAMPING_DEFAULT,analogFrequency:e.analogFrequency??ANALOG_FREQUENCY_DEFAULT})},retarget(key,to,now,opts){const existing=entries.get(key);const from=existing?easedValue(existing,now):settled.has(key)?settled.get(key):to;entries.set(key,{from,to,startedAt:now,pausedElapsed:0,paused:false,duration:Math.max(0,opts.duration),easing:opts.easing,analogDamping:opts.analogDamping??ANALOG_DAMPING_DEFAULT,analogFrequency:opts.analogFrequency??ANALOG_FREQUENCY_DEFAULT})},valueAt(key,now){const entry=entries.get(key);if(!entry)return void 0;if(entry.startedAt<0&&!entry.paused)entry.startedAt=now;return easedValue(entry,now)},valueAtWithEasing(key,now,easing){const entry=entries.get(key);if(!entry)return void 0;if(entry.startedAt<0&&!entry.paused)entry.startedAt=now;const eased=applyGaugeEasing(rawProgress(entry,now),easing,entry.analogDamping,entry.analogFrequency);return entry.from+(entry.to-entry.from)*eased},valueAtClamped(key,now,easing){const entry=entries.get(key);if(!entry)return void 0;if(entry.startedAt<0&&!entry.paused)entry.startedAt=now;const eased=applyGaugeEasing(rawProgress(entry,now),easing,entry.analogDamping,entry.analogFrequency);const v=entry.from+(entry.to-entry.from)*eased;const lo=Math.min(entry.from,entry.to);const hi=Math.max(entry.from,entry.to);return v<lo?lo:v>hi?hi:v},has(key){return entries.has(key)},isActive(key,now){const entry=entries.get(key);if(!entry)return false;if(entry.paused)return true;return rawProgress(entry,now)<1},tick(now){const done=[];for(const[key,entry]of entries){if(entry.startedAt<0&&!entry.paused)entry.startedAt=now;if(entry.paused)continue;if(rawProgress(entry,now)>=1)done.push(key)}for(const key of done){settled.set(key,entries.get(key).to);entries.delete(key)}},pauseAll(now){for(const entry of entries.values()){if(entry.paused)continue;if(entry.startedAt>=0)entry.pausedElapsed+=now-entry.startedAt;entry.paused=true}},resumeAll(now){for(const entry of entries.values()){if(!entry.paused)continue;entry.startedAt=now;entry.paused=false}},hasActive(){for(const entry of entries.values())if(!entry.paused)return true;return false},cancel(key){entries.delete(key);settled.delete(key)},clear(){entries.clear();settled.clear()},entries(){return entries}}}function createGaugeStreamSource(){const error=new Error("Dedicated streaming requires @syidax/advanced-pro");error.code="module-missing";error.feature="chart.streaming";throw error}function solidRingRadii(outerRadius,innerRadius,n){const count=Math.max(1,Math.floor(n));const inner=Math.max(0,innerRadius);const totalSpan=Math.max(2,outerRadius-inner);const gap=count>1?Math.min(10,totalSpan*.06):0;const thickness=Math.max(2,(totalSpan-gap*(count-1))/count);const out=[];for(let i=0;i<count;i++){const rOuter=outerRadius-i*(thickness+gap);const rInner=rOuter-thickness;out.push({rOuter,rInner,centerR:(rOuter+rInner)/2,thickness})}return out}function prepareGaugeLayout(options){const{layout,variant,style}=options;const{cx,cy,outerRadius,startAngle,endAngle}=layout;const bandRingInner=outerRadius-style.bandThickness;const hasBands=(variant==="dial"||variant==="vuMeter"||variant==="speedometer")&&options.bands.length>0;const tickAnchor=variant==="solid"?Math.max(8,layout.innerRadius):hasBands?bandRingInner:outerRadius;const bandVisuals=[];let bandTrackPath;if(hasBands){const ANGLE_TOL=.001;const corner=t=>t*.33;const trackR=corner(outerRadius-bandRingInner);bandTrackPath=arcRingRoundedPath(cx,cy,outerRadius,bandRingInner,startAngle,endAngle,true,true,trackR)||void 0;for(const band of options.bands){const roundStart=Math.abs(band.startAngle-startAngle)<ANGLE_TOL;const roundEnd=Math.abs(band.endAngle-endAngle)<ANGLE_TOL;const path=arcRingRoundedPath(cx,cy,band.outerRadius,band.innerRadius,band.startAngle,band.endAngle,roundStart,roundEnd,corner(band.outerRadius-band.innerRadius));if(path)bandVisuals.push({key:band.id,path,color:band.color})}}const tickVisuals=[];for(let i=0;i<options.ticks.length;i++){const tick=options.ticks[i];const len=tick.major?style.tick.majorLength:style.tick.minorLength;const seg=tickMarkSegment(cx,cy,tick.angle,tickAnchor-len,tickAnchor);let label;if(tick.major&&style.tick.showLabels&&tick.label!==void 0){const labelRadius=tickAnchor-style.tick.majorLength-style.tick.labelDistance;const lp=tickLabelPlacement(cx,cy,tick.angle,labelRadius);label={x:lp.x,y:lp.y,text:tick.label,anchor:lp.anchor,fontSize:style.tick.labelFontSize,color:style.tick.labelColor}}tickVisuals.push({key:`t${i}`,major:tick.major,x1:seg.x1,y1:seg.y1,x2:seg.x2,y2:seg.y2,width:tick.major?style.tick.majorWidth:style.tick.minorWidth,color:style.tick.color,label})}if(variant==="solid"||variant==="activity"){const inner=Math.max(0,layout.innerRadius);const ringsInput=options.rings&&options.rings.length>0?options.rings:[{key:"primary",angle:options.progress?.angle??startAngle,color:options.progress?.color??"#2563eb",trackColor:void 0}];const radii=solidRingRadii(outerRadius,inner,ringsInput.length);const solidRings=ringsInput.map((r,i)=>{const lane=radii[i];return{key:r.key,trackPath:arcOpenPath(cx,cy,lane.centerR,startAngle,endAngle),progressPath:arcOpenPath(cx,cy,lane.centerR,startAngle,r.angle),progressColor:r.color,strokeWidth:Math.max(1,lane.thickness),trackColor:r.trackColor}});const first=solidRings[0];return{variant,layout,trackPath:first.trackPath,progressPath:first.progressPath,progressColor:first.progressColor,bandStrokeWidth:first.strokeWidth,solidRings,bandVisuals,tickVisuals,needleVisuals:[],pivot:void 0,needleCount:ringsInput.length}}const needleVisuals=[];for(const needle of options.needles){if(!needle.visible)continue;const path=needlePath(cx,cy,needle.angle,needle.length,needle.rearLength,needle.width,needle.shape);if(path)needleVisuals.push({key:needle.id,path,color:needle.color,needle})}const pivot={cx,cy,r:style.pivotRadius,color:style.pivotColor};return{variant,layout,bandVisuals,bandTrackPath,bandTrackColor:hasBands?style.bandTrackColor:void 0,tickVisuals,needleVisuals,pivot,needleCount:needleVisuals.length}}const syGaugeChartCss=()=>`.sc-sy-gauge-chart-h{display:inline-block;position:relative}.sy-gauge-chart.sc-sy-gauge-chart{position:relative;display:block}.sy-gauge-chart__root.sc-sy-gauge-chart{display:block;overflow:visible;user-select:none}.sy-gauge-chart__root.sc-sy-gauge-chart:focus,.sy-gauge-chart__root.sc-sy-gauge-chart:focus-visible{outline:none}.sy-gauge-chart__progress.sc-sy-gauge-chart{transition:stroke 160ms ease}.sy-gauge-chart__needle.sc-sy-gauge-chart{filter:drop-shadow(0 1px 1.5px rgba(15, 23, 42, 0.25))}.sy-gauge-chart__pivot.sc-sy-gauge-chart{stroke:var(--sy-surface, #ffffff);stroke-width:2}.sy-gauge-chart__tick.sc-sy-gauge-chart{stroke-linecap:round}.sy-gauge-chart__tick-label.sc-sy-gauge-chart{dominant-baseline:middle;pointer-events:none;font-weight:600;fill:var(--sy-axis-color, #64748b)}.sy-gauge-chart__value.sc-sy-gauge-chart{text-anchor:middle;dominant-baseline:middle;pointer-events:none;font-variant-numeric:tabular-nums}.sy-gauge-chart__value-sub.sc-sy-gauge-chart{text-anchor:middle;dominant-baseline:middle;pointer-events:none}.sy-gauge-chart__title.sc-sy-gauge-chart{fill:var(--sy-axis-color, #1f2937);font-weight:600;text-anchor:middle;dominant-baseline:hanging}.sy-gauge-chart__subtitle.sc-sy-gauge-chart{fill:var(--sy-axis-color, #4b5563);text-anchor:middle;dominant-baseline:hanging}.sy-gauge-chart__tooltip.sc-sy-gauge-chart{position:absolute;z-index:5}.sy-gauge-chart__watermark.sc-sy-gauge-chart{position:absolute;top:4px;right:6px;font-size:10px;line-height:1;padding:2px 6px;background:hsla(0,0%,100%,.85);border:1px solid #e5e7eb;border-radius:999px;color:#6b7280;pointer-events:none}.sy-gauge-chart__sr-only.sc-sy-gauge-chart{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.sy-gauge-chart__legend.sc-sy-gauge-chart{font-size:12px;color:var(--sy-axis-color, #1f2937);line-height:1.2}.sy-gauge-chart__legend-item.sc-sy-gauge-chart{cursor:pointer;user-select:none}.sy-gauge-chart__legend-item.sc-sy-gauge-chart:focus-visible{outline:2px solid var(--sy-focus-ring, #2563eb);outline-offset:2px;border-radius:2px}.sy-gauge-chart__legend-item--disabled.sc-sy-gauge-chart{opacity:.4;text-decoration:line-through}.sy-gauge-chart__legend-swatch.sc-sy-gauge-chart{flex:0 0 auto;display:inline-block;width:10px;height:10px;border-radius:2px}@media (prefers-reduced-motion: reduce){.sy-gauge-chart__progress.sc-sy-gauge-chart{transition:none}}`;function gaugeTooltipClassName(base,extra){return extra?`${base} ${extra}`:base}function gaugeTooltipCssValue(property,value){if(typeof value!=="number")return value;const unitless=new Set(["lineHeight","opacity","zIndex","fontWeight","flex","flexGrow","flexShrink","order"]);return unitless.has(property)?String(value):`${value}px`}const SOLID_KEY="primary";const SyGaugeChart=class{constructor(hostRef){index.registerInstance(this,hostRef);this.rendered=index.createEvent(this,"rendered",7);this.gaugeClick=index.createEvent(this,"gaugeClick",7);this.gaugeHover=index.createEvent(this,"gaugeHover",7);this.pointContextMenu=index.createEvent(this,"pointContextMenu",7);this.valueChange=index.createEvent(this,"valueChange",7);this.legendItemClick=index.createEvent(this,"legendItemClick",7);this.needleToggled=index.createEvent(this,"needleToggled",7);this.appended=index.createEvent(this,"appended",7);this.windowSlid=index.createEvent(this,"windowSlid",7);this.chartAnimationStart=index.createEvent(this,"chartAnimationStart",7);this.chartAnimationEnd=index.createEvent(this,"chartAnimationEnd",7);this.chartAnimationInterrupted=index.createEvent(this,"chartAnimationInterrupted",7);this.tooltipShown=index.createEvent(this,"tooltipShow",7);this.tooltipHide=index.createEvent(this,"tooltipHide",7);this.tooltipAction=index.createEvent(this,"tooltipAction",7)}get host(){return index.getElement(this)}value=0;min=0;max=100;needles;width=320;height=280;brandLogo;brandPosition="bottom-right";variant="dial";startAngle=-150;endAngle=150;size;centerX;centerY;innerRadius;thickness;rings;time;showSeconds=true;color="#2563eb";colors;stops;needleShape="needle";needleLength="88%";needleRearLength="14%";needleWidth=8;pivotRadius=7;pivotColor="#1f2937";plotBands;bandThickness=14;bandTrackColor="#eef2f7";rounded=true;trackColor="#e5e7eb";showTicks=true;tickInterval="auto";minorTicks=4;tickLength=9;minorTickLength=6;tickWidth=2;minorTickWidth=1;tickColor="#94a3b8";showTickLabels=true;tickLabelDistance=7;tickLabelColor="#64748b";tickLabelFontSize=11;tickLabelFormat;showValue=true;valueDisplay="value";valueFormat;valueColor="#0f172a";valueFontSize=26;unit;centerText;centerSubtext;chartTitle;chartSubtitle;tooltipShow=true;tooltipFormat;enableMouseTracking=true;tooltip;legend=false;legendPosition="bottom";legendItems;animated=false;animationDuration=900;animationEasing="analog";animationType;analogDamping=5;analogFrequency=18;analogOvershootAngle=14;streamSource;streamWindow;streamMax;engine="auto";proThreshold=5e4;unavailable="fallback";rendered;gaugeClick;gaugeHover;pointContextMenu;valueChange;legendItemClick;needleToggled;appended;windowSlid;chartAnimationStart;chartAnimationEnd;chartAnimationInterrupted;tooltipShown;tooltipHide;tooltipAction;activeTier="standard";fallbackReason;legendDisabled=new Set;gaugeTooltip=null;gaugeTooltips=[];srAnnouncement="";animationTick=0;focusedNeedleIndex=-1;animator=createGaugeAnimator();animationFrameHandle=null;stopAnimationLoopImpl;animationLoopRunning=false;targetByKey=new Map;lastStreamEventAt;internalStreamSource;internalStreamCapacity;boundStreamSource;streamUnsubscribe;streamLicense=new chartStreamingGate.ChartStreamingGate({host:()=>this.host,input:()=>chartStreamingGate.chartStreamingInput(this,"plain-fallback"),active:()=>this.boundStreamSource!==void 0,onChange:()=>this.handleStreamLicenseChange()});internalStreamValue;suppressNextValueAnimation=false;lastRenderResult={needles:0,renderMs:0};pendingRenderedEmit=false;tooltipElement;tooltipDrag;nextTooltipId=1;draggableTooltipPositions=new Map;clockIntervalHandle=null;hasLoaded=false;detached=false;connectedCallback(){this.detached=false;this.streamLicense.connect();if(!this.hasLoaded)return;this.bindStreamSource();this.syncClockTicker()}componentDidLoad(){this.hasLoaded=true;this.bindStreamSource();this.syncClockTicker();if(this.shouldInitialAnimation(null))this.startInitialReveal();else this.targetByKey=this.computeTargets()}componentDidRender(){if(this.detached)return;if(this.pendingRenderedEmit){this.pendingRenderedEmit=false;this.rendered.emit({...this.lastRenderResult,tier:this.activeTier})}this.measureGaugeTooltipBox()}disconnectedCallback(){this.detached=true;this.streamLicense.disconnect();this.streamUnsubscribe?.();this.streamUnsubscribe=void 0;this.boundStreamSource=void 0;this.stopAnimationLoop();this.animator.clear();this.tooltipDrag=void 0;if(this.clockIntervalHandle!==null){clearInterval(this.clockIntervalHandle);this.clockIntervalHandle=null}}handleValueChange(_next,previous){if(this.suppressNextValueAnimation){this.suppressNextValueAnimation=false;this.animationTick++;return}this.emitValueChange();if(this.shouldInitialAnimation(previous))this.startInitialReveal();else if(this.shouldUpdateAnimation(previous))this.retargetTweens("value");else this.animationTick++}handleNeedlesChange(_next,previous){if(this.shouldInitialAnimation(previous))this.startInitialReveal();else if(this.shouldUpdateAnimation(previous))this.retargetTweens("value");else this.animationTick++}handleClockPropsChange(){this.syncClockTicker();this.animationTick++}handleRingsChange(_next,previous){if(this.shouldInitialAnimation(previous))this.startInitialReveal();else if(this.shouldUpdateAnimation(previous))this.retargetTweens("value");else this.animationTick++}handleStreamSourceChange(){this.bindStreamSource()}handleAnimationChange(){if(this.shouldInitialAnimation(null)){this.startInitialReveal()}else{if(this.animator.hasActive())this.chartAnimationInterrupted.emit();this.animator.clear();this.targetByKey=this.computeTargets();this.stopAnimationLoop();this.animationLoopRunning=false;this.animationTick++}}handleVisualPropsChange(){this.animationTick++}async redraw(){this.animationTick++;return this.lastRenderResult}async getActiveTier(){return this.activeTier}async getValue(){return this.value}async setValue(value){if(!Number.isFinite(value))return;this.value=value}async addNeedle(needle,opts){const next=Array.isArray(this.needles)?[...this.needles]:this.currentNeedleSpecs();const at=typeof opts?.insertAt==="number"&&opts.insertAt>=0&&opts.insertAt<=next.length?Math.floor(opts.insertAt):next.length;next.splice(at,0,needle);this.needles=next;return at}async removeNeedle(idOrIndex){const specs=Array.isArray(this.needles)?[...this.needles]:this.currentNeedleSpecs();const idx=this.resolveNeedleIndex(idOrIndex,specs);if(idx<0)return false;specs.splice(idx,1);this.needles=specs;return true}async setRings(rings){this.rings=Array.isArray(rings)?[...rings]:[]}async setRingValue(idOrIndex,value){if(!Number.isFinite(value))return false;const specs=this.activityRingSpecs().map(s=>typeof s==="number"?{value:s}:{...s});let idx=-1;if(typeof idOrIndex==="number"&&Number.isFinite(idOrIndex)){const i=Math.floor(idOrIndex);if(i>=0&&i<specs.length)idx=i}else{for(let i=0;i<specs.length;i++){const s=specs[i];if(s.id!==void 0&&String(s.id)===idOrIndex||s.name===idOrIndex){idx=i;break}}}if(idx<0)return false;specs[idx]={...specs[idx],value};this.rings=specs;return true}async updateNeedle(idOrIndex,patch){const specs=Array.isArray(this.needles)?[...this.needles]:this.currentNeedleSpecs();const idx=this.resolveNeedleIndex(idOrIndex,specs);if(idx<0)return false;const current=specs[idx];specs[idx]=typeof current==="number"?{value:current,...patch}:{...current,...patch};this.needles=specs;return true}async appendPoint(value){await this.streamLicense.run("appendPoint",()=>{const source=this.activeStreamSource();if(source){source.push(value);return}this.value=value})}async appendBatch(values){if(!Array.isArray(values)||values.length===0)return;await this.streamLicense.run("appendBatch",()=>{const source=this.activeStreamSource();if(source){source.pushBatch(values);return}this.value=values[values.length-1];this.appended.emit({count:values.length})})}async shift(count=1){await this.streamLicense.run("shift",()=>{const source=this.activeStreamSource();if(source){source.shift(count);return}this.windowSlid.emit({dropped:0})})}async replace(values){await this.streamLicense.run("replace",()=>{const source=this.activeStreamSource();if(source){source.replace(values);return}if(Array.isArray(values)&&values.length>0)this.value=values[values.length-1]})}async getStreamSource(){return this.streamLicense.run("getStreamSource",()=>this.activeStreamSource())}async setAnimation(options){if(!options)return;if(Number.isFinite(options.duration))this.animationDuration=options.duration;if(options.easing)this.animationEasing=options.easing;if(options.type)this.animationType=options.type;if(typeof options.enabled==="boolean"){if(!options.enabled&&this.animator.hasActive())this.chartAnimationInterrupted.emit();this.animated=options.enabled;if(!options.enabled){this.animator.clear();this.stopAnimationLoop();this.animationLoopRunning=false;this.animationTick++}}}async pauseAnimation(){this.animator.pauseAll(this.now());this.stopAnimationLoop()}async resumeAnimation(){this.animator.resumeAll(this.now());if(this.animator.hasActive())this.startAnimationLoop()}async replayAnimation(){if(!this.shouldAnimate())return;this.startInitialReveal()}async hitTest(cssX,cssY){const layout=this.layoutForDraw();if(!isPointInDial(cssX,cssY,layout,6))return null;return this.pointerDetailAt(cssX,cssY,layout)}async showTooltip(){const layout=this.layoutForDraw();const needle=this.resolvedNeedles(layout)[0];const value=needle?needle.value:this.clampValue(this.value);return this.showTooltipForValue(value,layout)}async showTooltipAtValue(value){if(!Number.isFinite(value))return null;return this.showTooltipForValue(value,this.layoutForDraw())}async hideTooltip(){this.clearTooltips()}showTooltipForValue(value,layout){const spec=this.effectiveTooltipSpec();if(!spec.show)return null;const anchorSeed=this.valueAnchorPoint(value,layout);const detail=this.variant==="activity"?this.pointerDetailAt(anchorSeed.x,anchorSeed.y,layout):this.buildPointerDetail(0,value,anchorSeed.x,anchorSeed.y);const anchor=this.anchorForDetail(detail,layout);this.showTooltipForDetail(detail,anchor,spec,spec.openMode==="multiple");return detail}isSolidLike(){return this.variant==="solid"||this.variant==="activity"}isDialLike(){return this.variant==="dial"||this.variant==="vuMeter"||this.variant==="speedometer"||this.variant==="clock"}syncClockTicker(){if(this.detached)return;const wantsTicker=this.variant==="clock"&&(this.time===void 0||this.time==="now");if(wantsTicker&&this.clockIntervalHandle===null){this.clockIntervalHandle=setInterval(()=>{this.animationTick++},1e3)}else if(!wantsTicker&&this.clockIntervalHandle!==null){clearInterval(this.clockIntervalHandle);this.clockIntervalHandle=null}}clockTime(){return parseClockTime(this.time)}resolvedClockNeedles(layout){const t=this.clockTime();const hands=clockHandValues(t);const angleFor=v=>layout.startAngle+v/12*layout.totalAngle;const out=[{index:0,id:"hour",name:"Hour",value:hands.hour,rawValue:hands.hour,angle:angleFor(hands.hour),color:this.pivotColor,shape:"needle",length:layout.outerRadius*.52,rearLength:layout.outerRadius*.1,width:Math.max(6,this.needleWidth),visible:true},{index:1,id:"minute",name:"Minute",value:hands.minute,rawValue:hands.minute,angle:angleFor(hands.minute),color:this.pivotColor,shape:"needle",length:layout.outerRadius*.78,rearLength:layout.outerRadius*.12,width:Math.max(4,this.needleWidth-3),visible:true}];if(this.showSeconds){out.push({index:2,id:"second",name:"Second",value:hands.second,rawValue:hands.second,angle:angleFor(hands.second),color:"#dc2626",shape:"line",length:layout.outerRadius*.86,rearLength:layout.outerRadius*.16,width:2,visible:true})}return out}resolvedClockTicks(layout){if(!this.showTicks)return[];const out=[];const angleFor=v=>layout.startAngle+v/12*layout.totalAngle;for(let hourMark=0;hourMark<12;hourMark++){out.push({value:hourMark,angle:angleFor(hourMark),major:true,label:this.showTickLabels?hourMark===0?"12":String(hourMark):void 0});for(let minuteMark=1;minuteMark<5;minuteMark++){out.push({value:hourMark+minuteMark/5,angle:angleFor(hourMark+minuteMark/5),major:false})}}return out}effectiveAngles(){if(this.variant==="activity"&&this.startAngle===-150&&this.endAngle===150){return{start:0,end:toRadians(360)}}if(this.variant==="vuMeter"&&this.startAngle===-150&&this.endAngle===150){return{start:toRadians(-48),end:toRadians(48)}}if(this.variant==="speedometer"&&this.startAngle===-150&&this.endAngle===150){return{start:toRadians(-120),end:toRadians(120)}}if(this.variant==="clock"&&this.startAngle===-150&&this.endAngle===150){return{start:0,end:toRadians(360)}}return{start:toRadians(this.startAngle),end:toRadians(this.endAngle)}}activityRingSpecs(){if(Array.isArray(this.rings)&&this.rings.length>0)return this.rings;if(Array.isArray(this.needles)&&this.needles.length>0){return this.needles.map(n=>typeof n==="number"?n:{value:n.value,id:n.id,name:n.name,color:n.color,visible:n.visible})}return[{value:this.value,id:SOLID_KEY}]}activityTrackColorFor(color,override){if(override)return override;const parsed=parse.parseColor(color);if(!parsed)return this.trackColor;return`rgba(${Math.round(parsed.r)}, ${Math.round(parsed.g)}, ${Math.round(parsed.b)}, 0.16)`}resolvedActivityRings(layout){const palette=this.needlePalette();const specs=this.activityRingSpecs();const now=this.now();const out=[];for(let i=0;i<specs.length;i++){const r=resolveActivityRingSpec(specs[i],i,palette[i%Math.max(1,palette.length)]??this.color,this.max);const animated=this.animator.valueAt(r.id,now);const value=Math.max(0,Math.min(animated!==void 0?animated:r.value,r.max));const fraction=r.max>0?value/r.max:0;const visible=r.visible&&!this.legendDisabled.has(r.id);out.push({index:i,id:r.id,name:r.name,value,max:r.max,fraction,angle:layout.startAngle+fraction*layout.totalAngle,color:r.color,trackColor:this.activityTrackColorFor(r.color,r.trackColor),visible})}return out}clampValue(v){if(!Number.isFinite(v))return this.min;return v<this.min?this.min:v>this.max?this.max:v}now(){return typeof performance!=="undefined"?performance.now():0}prefersReducedMotion(){return typeof matchMedia==="function"&&matchMedia("(prefers-reduced-motion: reduce)").matches}shouldAnimate(){if(this.detached)return false;return this.animated&&!this.prefersReducedMotion()}shouldInitialAnimation(previous){return this.shouldAnimate()&&this.resolveAnimationType(previous)==="initial"}shouldUpdateAnimation(previous){return this.shouldAnimate()&&this.resolveAnimationType(previous)==="update"}resolveAnimationType(previous){if(this.animationType)return this.animationType;return this.hasAnimationBaseline(previous)?"update":"initial"}hasAnimationBaseline(input){if(typeof input==="number")return Number.isFinite(input);return Array.isArray(input)&&input.length>0}tweenEasing(){if(this.isSolidLike()&&this.animationEasing==="analog")return"ease-out";return this.animationEasing}normalizedTweenDistance(from,to){const span=Math.abs(this.max-this.min);if(!Number.isFinite(span)||span<=0)return 1;const a=this.clampValue(from);const b=this.clampValue(to);return Math.max(0,Math.min(1,Math.abs(b-a)/span))}analogDampingForTween(from,to,easing){if(easing!=="analog")return this.analogDamping;return analogDampingForDistance(this.analogDamping,this.normalizedTweenDistance(from,to))}fraction(value){const span=this.max-this.min;if(!Number.isFinite(span)||span===0)return 0;return(this.clampValue(value)-this.min)/span}currentNeedleSpecs(){if(Array.isArray(this.needles)&&this.needles.length>0)return this.needles;return[{value:this.value,id:SOLID_KEY,color:this.color,shape:this.needleShape}]}resolveNeedleIndex(idOrIndex,specs){if(typeof idOrIndex==="number"&&Number.isFinite(idOrIndex)){const idx=Math.floor(idOrIndex);return idx>=0&&idx<specs.length?idx:-1}for(let i=0;i<specs.length;i++){const s=specs[i];if(typeof s==="object"&&s!==null){if(s.id!==void 0&&String(s.id)===idOrIndex)return i;if(s.name===idOrIndex)return i}}return-1}needlePalette(){if(Array.isArray(this.colors)&&this.colors.length>0)return[...this.colors];const scheme$1=scheme.categorical.tableau10;return scheme.discretize(scheme$1,Math.max(scheme$1.stops.length,10)).map(c=>`rgb(${c.r}, ${c.g}, ${c.b})`)}resolveLength(token,fallback,basis){if(token===void 0)return fallback;if(typeof token==="number")return Number.isFinite(token)?token:fallback;const s=token.trim();if(s.endsWith("%")){const pct=Number(s.slice(0,-1));return Number.isFinite(pct)?pct/100*basis:fallback}const n=Number(s);return Number.isFinite(n)?n:fallback}needleAngle(rawValue,layout){const a=valueToAngle(rawValue,this.min,this.max,layout.startAngle,layout.endAngle,false);const margin=(Number.isFinite(this.analogOvershootAngle)?Math.max(0,this.analogOvershootAngle):0)*Math.PI/180;const lo=Math.min(layout.startAngle,layout.endAngle)-margin;const hi=Math.max(layout.startAngle,layout.endAngle)+margin;return a<lo?lo:a>hi?hi:a}resolvedNeedles(layout){const palette=this.needlePalette();const specs=this.currentNeedleSpecs();const now=this.now();const out=[];for(let i=0;i<specs.length;i++){const r=resolveGaugeNeedle(specs[i],i,palette[i%Math.max(1,palette.length)]??this.color);const animated=this.animator.valueAt(r.id,now);const raw=animated!==void 0?animated:r.value;const value=this.clampValue(raw);const visible=r.visible&&!this.legendDisabled.has(r.id);const angle=animated!==void 0?this.needleAngle(raw,layout):valueToAngle(value,this.min,this.max,layout.startAngle,layout.endAngle);out.push({index:i,id:r.id,name:r.name,value,rawValue:r.value,angle,color:r.color,shape:r.shape,length:this.resolveLength(r.length??this.needleLength,layout.outerRadius*.88,layout.outerRadius),rearLength:this.resolveLength(r.rearLength??this.needleRearLength,layout.outerRadius*.14,layout.outerRadius),width:Number.isFinite(r.width)?r.width:this.needleWidth,visible})}return out}resolvedRings(layout){const now=this.now();const specs=Array.isArray(this.needles)&&this.needles.length>0?this.needles:null;if(specs){const palette=this.needlePalette();return specs.map((spec,i)=>{const r=resolveGaugeNeedle(spec,i,palette[i%Math.max(1,palette.length)]??this.color);const animated2=this.animator.valueAt(r.id,now);const value2=this.clampValue(animated2!==void 0?animated2:r.value);return{key:r.id,name:r.name,value:value2,angle:valueToAngle(value2,this.min,this.max,layout.startAngle,layout.endAngle),color:r.color}})}const animated=this.animator.valueAt(SOLID_KEY,now);const value=this.clampValue(animated!==void 0?animated:this.value);return[{key:SOLID_KEY,name:"",value,angle:valueToAngle(value,this.min,this.max,layout.startAngle,layout.endAngle),color:this.solidColorAt(this.fraction(value))}]}solidColorAt(t){const stops=this.stops;if(!Array.isArray(stops)||stops.length===0)return this.color;const sorted=[...stops].sort((a,b)=>a.stop-b.stop);if(t<=sorted[0].stop)return sorted[0].color;if(t>=sorted[sorted.length-1].stop)return sorted[sorted.length-1].color;for(let i=0;i<sorted.length-1;i++){const lo=sorted[i];const hi=sorted[i+1];if(t>=lo.stop&&t<=hi.stop){const span=hi.stop-lo.stop;const localT=span<=0?0:(t-lo.stop)/span;const a=parse.parseColor(lo.color);const b=parse.parseColor(hi.color);if(!a||!b)return lo.color;const c=interpolate.mix(a,b,localT);return`rgb(${Math.round(c.r)}, ${Math.round(c.g)}, ${Math.round(c.b)})`}}return sorted[sorted.length-1].color}bandList(){if(this.plotBands==="auto")return defaultPlotBands(this.min,this.max);if(Array.isArray(this.plotBands))return this.plotBands;if(this.variant==="vuMeter")return vuMeterDefaultBands(this.min,this.max);if(this.variant==="speedometer")return defaultPlotBands(this.min,this.max);return[]}resolvedBands(layout){const bands=this.bandList();if(bands.length===0)return[];const out=[];for(let i=0;i<bands.length;i++){const band=bands[i];if(!Number.isFinite(band.from)||!Number.isFinite(band.to))continue;const from=Math.max(this.min,Math.min(band.from,band.to));const to=Math.min(this.max,Math.max(band.from,band.to));if(to<=from)continue;const outerR=this.resolveLength(band.outerRadius,layout.outerRadius,layout.outerRadius);const thickness=Number.isFinite(band.thickness)?band.thickness:this.bandThickness;out.push({id:band.id!==void 0?String(band.id):`band-${i}`,startAngle:valueToAngle(from,this.min,this.max,layout.startAngle,layout.endAngle),endAngle:valueToAngle(to,this.min,this.max,layout.startAngle,layout.endAngle),color:resolveBandColor(band.color),outerRadius:outerR,innerRadius:Math.max(0,outerR-thickness)})}return out}numberFormatter(spec){if(spec){try{return number.format(spec)}catch{}}return v=>Number.isInteger(v)?String(v):String(Math.round(v*100)/100)}resolvedTicks(layout){if(!this.showTicks)return[];const raw=computeGaugeTicks({min:this.min,max:this.max,majorInterval:this.tickInterval,minorCount:this.minorTicks,startAngle:layout.startAngle,endAngle:layout.endAngle});const fmt=this.numberFormatter(this.tickLabelFormat);return raw.map(t=>({value:t.value,angle:t.angle,major:t.major,label:t.major&&this.showTickLabels?fmt(t.value):void 0}))}titleGutter(){let gutter=0;if(this.chartTitle)gutter+=22;if(this.chartSubtitle)gutter+=16;return gutter}layoutForDraw(){const legend2=this.legend?this.buildLegendLayout():null;const plot=this.plotRectFromLegend(legend2);const labelGutter=this.isSolidLike()?6:this.showTickLabels?this.tickLabelFontSize+this.tickLabelDistance+this.tickLength+6:this.tickLength+6;const angles=this.effectiveAngles();const innerDefault=this.variant==="solid"?"62%":this.variant==="activity"?"30%":void 0;return computeGaugeLayout({plot,startAngle:angles.start,endAngle:angles.end,labelGutter,size:this.size,centerX:this.centerX,centerY:this.centerY,innerRadius:this.isSolidLike()?this.innerRadius??innerDefault:this.innerRadius,thickness:this.variant==="solid"?this.thickness:void 0})}buildLegendItems(){if(Array.isArray(this.legendItems)&&this.legendItems.length>0)return this.legendItems;const palette=this.needlePalette();if(this.variant==="activity"){return this.activityRingSpecs().map((spec,i)=>{const r=resolveActivityRingSpec(spec,i,palette[i%Math.max(1,palette.length)]??this.color,this.max);return{label:r.name===String(i)?`Ring ${i+1}`:r.name,swatchColor:r.color,swatchShape:"square",disabled:this.legendDisabled.has(r.id),id:r.id,seriesIndex:i}})}const specs=this.currentNeedleSpecs();return specs.map((spec,i)=>{const r=resolveGaugeNeedle(spec,i,palette[i%Math.max(1,palette.length)]??this.color);return{label:r.name,swatchColor:r.color,swatchShape:"square",disabled:this.legendDisabled.has(r.id),id:r.id,seriesIndex:i}})}buildLegendLayout(){const items=this.buildLegendItems();if(!items.length)return null;const top=this.titleGutter();const layout=legend.computeLegendLayout({outerWidth:this.width,outerHeight:Math.max(1,this.height-top),items,position:this.legendPosition,direction:this.legendPosition==="top"||this.legendPosition==="bottom"?"horizontal":"vertical",align:"center",padding:{top:4,right:8,bottom:6,left:8},gap:12,swatchSize:10,swatchLabelGap:6,rowGap:4});if(top<=0)return layout;return{...layout,legendRect:layout.legendRect?{...layout.legendRect,y:layout.legendRect.y+top}:layout.legendRect,itemRects:layout.itemRects.map(r=>({...r,y:r.y+top})),remainingOuter:{...layout.remainingOuter,y:layout.remainingOuter.y+top}}}plotRectFromLegend(legend2){if(!legend2?.remainingOuter){const top=this.titleGutter();return{x:0,y:top,width:Math.max(1,this.width),height:Math.max(1,this.height-top)}}return{x:legend2.remainingOuter.x,y:legend2.remainingOuter.y,width:Math.max(1,legend2.remainingOuter.width),height:Math.max(1,legend2.remainingOuter.height)}}onLegendItemClick=(index2,needleId,label)=>{const disabled=!this.legendDisabled.has(needleId);const next=new Set(this.legendDisabled);if(disabled)next.add(needleId);else next.delete(needleId);this.legendDisabled=next;this.legendItemClick.emit({index:index2,needleId,label,disabled});this.needleToggled.emit({index:index2,needleId,disabled})};onLegendKeyDown=(ev,index2,needleId,label)=>{if(ev.key!=="Enter"&&ev.key!==" ")return;ev.preventDefault();this.onLegendItemClick(index2,needleId,label)};visualStyle(){return{tick:{majorLength:this.tickLength,minorLength:this.minorTickLength,majorWidth:this.tickWidth,minorWidth:this.minorTickWidth,color:this.tickColor,showLabels:this.showTickLabels,labelDistance:this.tickLabelDistance,labelColor:this.tickLabelColor,labelFontSize:this.tickLabelFontSize},pivotRadius:this.pivotRadius,pivotColor:this.pivotColor,bandThickness:this.bandThickness,rounded:this.rounded,trackColor:this.trackColor,bandTrackColor:this.bandTrackColor}}startInitialReveal(){const duration=Math.max(0,this.animationDuration);this.targetByKey=this.computeTargets();if(duration<=0){this.animationTick++;return}this.animator.clear();const easing=this.tweenEasing();for(const[key,target]of this.targetByKey){const from=this.variant==="activity"?0:this.min;this.animator.start(key,{from,to:target,duration,easing,analogDamping:this.analogDampingForTween(from,target,easing),analogFrequency:this.analogFrequency})}this.chartAnimationStart.emit();this.startAnimationLoop()}computeTargets(){const targets=new Map;if(this.variant==="activity"){const palette2=this.needlePalette();const specs2=this.activityRingSpecs();specs2.forEach((spec,i)=>{const r=resolveActivityRingSpec(spec,i,palette2[i%Math.max(1,palette2.length)]??this.color,this.max);targets.set(r.id,r.value)});return targets}if(this.variant==="solid"){if(Array.isArray(this.needles)&&this.needles.length>0){const palette2=this.needlePalette();this.needles.forEach((spec,i)=>{const r=resolveGaugeNeedle(spec,i,palette2[i%Math.max(1,palette2.length)]??this.color);targets.set(r.id,this.clampValue(r.value))})}else{targets.set(SOLID_KEY,this.clampValue(this.value))}return targets}const palette=this.needlePalette();const specs=this.currentNeedleSpecs();for(let i=0;i<specs.length;i++){const r=resolveGaugeNeedle(specs[i],i,palette[i%Math.max(1,palette.length)]??this.color);targets.set(r.id,this.clampValue(r.value))}return targets}retargetTweens(reason){const duration=reason==="stream"?this.streamDuration():Math.max(0,this.animationDuration);const next=this.computeTargets();if(duration<=0){this.animator.clear();this.targetByKey=next;this.animationTick++;return}if(reason==="value"&&this.animator.hasActive())this.chartAnimationInterrupted.emit();const now=this.now();const wasRunning=this.animationLoopRunning;for(const key of[...this.animator.entries().keys()]){if(!next.has(key))this.animator.cancel(key)}const easing=reason==="stream"?"ease-out":this.tweenEasing();for(const[key,target]of next){const baseline=this.targetByKey.get(key);if(this.animator.has(key)){const from=this.animator.valueAt(key,now)??baseline??target;this.animator.retarget(key,target,now,{duration,easing,analogDamping:this.analogDampingForTween(from,target,easing),analogFrequency:this.analogFrequency})}else if(baseline!==void 0){this.animator.start(key,{from:baseline,to:target,duration,easing,analogDamping:this.analogDampingForTween(baseline,target,easing),analogFrequency:this.analogFrequency})}else{this.animator.retarget(key,target,now,{duration,easing,analogDamping:this.analogDampingForTween(target,target,easing),analogFrequency:this.analogFrequency})}}this.targetByKey=next;if(!wasRunning)this.chartAnimationStart.emit();this.startAnimationLoop()}streamDuration(){const now=this.now();const interval=this.lastStreamEventAt!==void 0?now-this.lastStreamEventAt:Infinity;this.lastStreamEventAt=now;return Number.isFinite(interval)?Math.max(1,Math.min(interval,2e3)):Math.max(0,this.animationDuration)}startAnimationLoop(){this.animationLoopRunning=true;if(this.animationFrameHandle!==null)return;const schedule=typeof requestAnimationFrame==="function"?requestAnimationFrame:(cb=>setTimeout(()=>cb(this.now()),16));const cancel=typeof cancelAnimationFrame==="function"?cancelAnimationFrame:(id=>clearTimeout(id));const tick=now=>{this.animationFrameHandle=null;this.animator.tick(now);const stillRunning=this.animator.hasActive();this.animationTick++;if(stillRunning){this.animationFrameHandle=schedule(tick)}else{this.animationLoopRunning=false;this.chartAnimationEnd.emit()}};this.animationFrameHandle=schedule(tick);this.stopAnimationLoopImpl=()=>{if(this.animationFrameHandle!==null){cancel(this.animationFrameHandle);this.animationFrameHandle=null}}}stopAnimationLoop(){this.stopAnimationLoopImpl?.();this.animationFrameHandle=null}activeStreamSource(){const route=this.streamLicense.route();if(route==="plain")this.dropInternalStreamSource();if(route!=="stream")return void 0;if(this.streamSource)return this.streamSource;return this.ensureInternalStreamSource()}ensureInternalStreamSource(){if(!Number.isFinite(this.streamMax)){this.dropInternalStreamSource();return void 0}const capacity=Math.max(1,Math.floor(this.streamMax));if(this.internalStreamSource&&this.internalStreamCapacity===capacity)return this.internalStreamSource;this.internalStreamCapacity=capacity;this.internalStreamSource=createGaugeStreamSource();this.internalStreamValue=this.value;return this.internalStreamSource}dropInternalStreamSource(){this.internalStreamSource=void 0;this.internalStreamCapacity=void 0;this.internalStreamValue=void 0}bindStreamSource(){if(this.detached)return;const route=this.streamLicense.route();if(route==="plain")this.dropInternalStreamSource();let source=route==="stream"?this.streamSource??this.ensureInternalStreamSource():void 0;if(source===this.boundStreamSource)return;if(source!==void 0&&source===this.internalStreamSource&&!Object.is(this.value,this.internalStreamValue)){this.dropInternalStreamSource();source=this.ensureInternalStreamSource()}this.streamUnsubscribe?.();this.streamUnsubscribe=void 0;this.boundStreamSource=void 0;if(!source)return;this.boundStreamSource=source;this.streamUnsubscribe=source.subscribe(event=>this.handleStreamEvent(event));const latest=source.latest();if(latest!==void 0){this.suppressNextValueAnimation=true;this.value=latest}this.noteStreamValue()}handleStreamLicenseChange(){this.bindStreamSource()}noteStreamValue(){if(this.boundStreamSource!==void 0&&this.boundStreamSource===this.internalStreamSource)this.internalStreamValue=this.value}handleStreamEvent(event){if(!this.boundStreamSource)return;const latest=this.boundStreamSource.latest();if(event.type==="push"||event.type==="pushBatch")this.appended.emit({count:event.count});else if(event.type==="shift")this.windowSlid.emit({dropped:event.count});if(latest===void 0){this.animationTick++;return}const previous=this.value;this.suppressNextValueAnimation=true;this.value=latest;this.noteStreamValue();this.emitValueChange();if(this.shouldInitialAnimation(previous))this.startInitialReveal();else if(this.shouldUpdateAnimation(previous))this.retargetTweens("stream");else this.animationTick++}emitValueChange(){this.valueChange.emit({value:this.clampValue(this.value),fraction:this.fraction(this.value)});this.srAnnouncement=this.accessibleValueText()}buildPointerDetail(index2,value,cssX,cssY){const specs=this.currentNeedleSpecs();const r=resolveGaugeNeedle(specs[index2]??specs[0]??this.value,index2,this.color);const named=!!r.name&&r.name!==String(index2);const name=specs.length>1&&named?r.name:this.chartTitle??"Value";return{index:index2,id:r.id,name,value:this.clampValue(value),fraction:this.fraction(value),cssX,cssY}}pointerDetailAt(cssX,cssY,layout){if(this.variant==="clock"){const t=this.clockTime();const hands=clockHandValues(t);return{index:0,id:"clock",name:formatClockTime(t,this.showSeconds),value:hands.hour,fraction:hands.hour/12,cssX,cssY}}if(this.variant==="activity"){const rings=this.resolvedActivityRings(layout);const ring=this.activityRingAtPoint(cssX,cssY,layout,rings)??rings[0];if(ring){return{index:ring.index,id:ring.id,name:ring.name===String(ring.index)?this.chartTitle??`Ring ${ring.index+1}`:ring.name,value:ring.value,fraction:ring.fraction,cssX,cssY}}}const angle=angleForPoint(cssX,cssY,layout);const value=angleToValue(angle,this.min,this.max,layout.startAngle,layout.endAngle);return this.buildPointerDetail(0,value,cssX,cssY)}activityRingAtPoint(cssX,cssY,layout,rings=this.resolvedActivityRings(layout)){if(rings.length===0)return null;const dist=Math.sqrt((cssX-layout.cx)**2+(cssY-layout.cy)**2);const radii=solidRingRadii(layout.outerRadius,Math.max(0,layout.innerRadius),rings.length);for(let i=0;i<rings.length;i++){const lane=radii[i];if(lane&&dist>=lane.rInner-2&&dist<=lane.rOuter+2)return rings[i]}return null}anchorForDetail(detail,layout){if(this.variant==="activity"){const rings=this.resolvedActivityRings(layout);const ring=rings[detail.index]??rings[0];if(ring){const radii=solidRingRadii(layout.outerRadius,Math.max(0,layout.innerRadius),rings.length);const lane=radii[ring.index]??radii[0];return pointOnCircle(layout.cx,layout.cy,lane.centerR,ring.visible?ring.angle:layout.startAngle)}}return this.valueAnchorPoint(detail.value,layout)}localPoint(ev){const rect=this.host.getBoundingClientRect();return{x:ev.clientX-rect.left,y:ev.clientY-rect.top}}onChartMove=ev=>{if(!this.enableMouseTracking)return;const layout=this.layoutForDraw();const p=this.localPoint(ev);if(!isPointInDial(p.x,p.y,layout,4)){this.clearHover();return}const detail=this.pointerDetailAt(p.x,p.y,layout);this.gaugeHover.emit(detail);const spec=this.effectiveTooltipSpec();if(spec.show&&spec.trigger!=="click"){this.showTooltipForDetail(detail,this.anchorForDetail(detail,layout),spec,false)}};onChartLeave=()=>{this.clearHover()};onChartClick=ev=>{if(!this.enableMouseTracking)return;const layout=this.layoutForDraw();const p=this.localPoint(ev);if(!isPointInDial(p.x,p.y,layout,4)){if(this.hasVisibleTooltips())this.clearTooltips();return}const detail=this.pointerDetailAt(p.x,p.y,layout);this.gaugeClick.emit(detail);const spec=this.effectiveTooltipSpec();if(spec.show&&(spec.trigger==="click"||spec.trigger==="hover-click")){this.showTooltipForDetail(detail,this.anchorForDetail(detail,layout),spec,true)}};onPointContextMenu=ev=>{if(!this.enableMouseTracking)return;const layout=this.layoutForDraw();const p=this.localPoint(ev);if(!isPointInDial(p.x,p.y,layout,4))return;const detail=this.pointerDetailAt(p.x,p.y,layout);ev.preventDefault();ev.stopPropagation();this.pointContextMenu.emit(pointContextMenu.buildChartPointContextMenuDetail(ev,this.host,"gauge",detail,{index:0,id:"gauge",name:this.chartTitle??"Gauge"}))};clearHover(){this.gaugeHover.emit(null);if(this.shouldHideTooltipOnLeave(this.effectiveTooltipSpec()))this.clearTooltips()}effectiveTooltipSpec(){if(this.tooltip!==void 0)return resolveGaugeTooltipSpec(this.tooltip);return gaugeTooltipSpecFromLegacy({show:this.tooltipShow,format:this.tooltipFormat})}valueAnchorPoint(value,layout){const angle=valueToAngle(value,this.min,this.max,layout.startAngle,layout.endAngle);return pointOnCircle(layout.cx,layout.cy,layout.outerRadius*.6,angle)}defaultTooltipHtml(detail){const fmt=this.numberFormatter(this.valueFormat);const label=escapeHtml(this.tooltipLabel(detail));const pct=Math.round(detail.fraction*1e3)/10;if(this.variant==="clock"){return`<strong>${escapeHtml(this.chartTitle??"Clock")}</strong> · ${escapeHtml(detail.name)}`}if(this.variant==="activity"){const ring=this.resolvedActivityRings(this.layoutForDraw())[detail.index];if(ring)return`<strong>${label}</strong> · ${fmt(ring.value)}/${fmt(ring.max)} (${pct}%)`}if(this.valueDisplay==="percent"){return`<strong>${label}</strong> · ${fmt(detail.fraction*100)}%`}const unit=this.unit?" "+escapeHtml(this.unit):"";return`<strong>${label}</strong> · ${fmt(detail.value)}${unit} (${pct}%)`}plainTooltipText(detail){const fmt=this.numberFormatter(this.valueFormat);const label=this.tooltipLabel(detail);const pct=Math.round(detail.fraction*1e3)/10;if(this.variant==="clock"){return`${this.chartTitle??"Clock"} · ${detail.name}`}if(this.variant==="activity"){const ring=this.resolvedActivityRings(this.layoutForDraw())[detail.index];if(ring)return`${label} · ${fmt(ring.value)}/${fmt(ring.max)} (${pct}%)`}if(this.valueDisplay==="percent"){return`${label} · ${fmt(detail.fraction*100)}%`}const unit=this.unit?" "+this.unit:"";return`${label} · ${fmt(detail.value)}${unit} (${pct}%)`}tooltipLabel(detail){if(this.variant==="activity"&&detail.name&&detail.name!==String(detail.index)){return detail.name}if(this.currentNeedleSpecs().length>1&&detail.name&&detail.name!==String(detail.index)){return detail.name}return this.chartTitle??"Value"}buildTooltipContext(detail,point){return{index:detail.index,id:detail.id,name:detail.name,value:detail.value,fraction:detail.fraction,cssX:point.x,cssY:point.y}}hasVisibleTooltips(){return this.gaugeTooltip!==null||this.gaugeTooltips.length>0}clearTooltips(){if(!this.hasVisibleTooltips())return;this.tooltipDrag=void 0;this.gaugeTooltip=null;this.gaugeTooltips=[];this.tooltipHide.emit()}shouldHideTooltipOnLeave(spec){if(!spec.show)return true;if(spec.draggable||spec.trigger==="click")return false;return spec.hideOnLeave!==false}showTooltipForDetail(detail,anchorPoint,spec,allowMultiple){const context=this.buildTooltipContext(detail,anchorPoint);const side=spec.side??"top";const text=spec.format?safeFormatter.safeChartFormatter(spec.format,[detail,context],()=>this.plainTooltipText(detail),"tooltip.format",spec):this.plainTooltipText(detail);const html=spec.html?safeFormatter.safeChartFormatter(spec.html,[detail,context],()=>void 0,"tooltip.html",spec):spec.format?void 0:this.defaultTooltipHtml(detail);const locked=this.lockedTooltipPositionForDetail(detail,spec);const renderedSide=locked?.side??side;const renderedAnchor=locked?this.tooltipAnchorFromPositionLock(locked.lock,renderedSide,locked.box,spec.offset):{cssX:anchorPoint.x,cssY:anchorPoint.y};const rendered={id:this.nextTooltipId++,cssX:renderedAnchor.cssX,cssY:renderedAnchor.cssY,pointCssX:anchorPoint.x,pointCssY:anchorPoint.y,box:locked?.box,side:renderedSide,text,html,className:spec.className,style:this.tooltipStyleFromSpec(spec),interactive:spec.interactive,connector:spec.connector,draggable:spec.draggable,offset:spec.offset,positionLock:locked?.lock,context};this.tooltipDrag=void 0;if(allowMultiple&&spec.openMode==="multiple"){this.gaugeTooltip=rendered;this.gaugeTooltips=[...this.gaugeTooltips,rendered]}else{this.gaugeTooltips=[];this.gaugeTooltip=rendered}const eventDetail={cssX:renderedAnchor.cssX,cssY:renderedAnchor.cssY,anchor:renderedSide,text,html,context};this.tooltipShown.emit(eventDetail);return eventDetail}tooltipStyleFromSpec(spec){const style={...spec.style??{}};if(spec.width!==void 0)style.width=spec.width;if(spec.minWidth!==void 0)style.minWidth=spec.minWidth;if(spec.maxWidth!==void 0)style.maxWidth=spec.maxWidth;if(spec.padding!==void 0)style.padding=spec.padding;return Object.keys(style).length>0?style:void 0}positionedTooltip(tooltip=this.gaugeTooltip){if(!tooltip)return null;if(!tooltip.box||this.tooltipDrag)return tooltip;if(tooltip.positionLock)return tooltip;const offset=tooltip.offset??10;const placement=connector.computeTooltipPlacement({anchor:{kind:"point",x:tooltip.pointCssX,y:tooltip.pointCssY},tooltip:tooltip.box,viewport:{x:0,y:0,width:this.width,height:this.height},preferredSide:tooltip.side,offset});const anchor=this.tooltipAnchorFromTopLeft(placement.x,placement.y,tooltip.box,placement.side,offset);return{...tooltip,cssX:anchor.cssX,cssY:anchor.cssY,side:placement.side}}tooltipAnchorFromTopLeft(x,y,box,side,offset){if(side==="top")return{cssX:x+box.width/2,cssY:y+box.height+offset};if(side==="bottom")return{cssX:x+box.width/2,cssY:y-offset};if(side==="left")return{cssX:x+box.width+offset,cssY:y+box.height/2};return{cssX:x-offset,cssY:y+box.height/2}}tooltipTopLeftFromAnchor(tooltip){const box=tooltip.box;if(!box)return void 0;const offset=tooltip.offset??10;if(tooltip.side==="top")return{x:tooltip.cssX-box.width/2,y:tooltip.cssY-offset-box.height};if(tooltip.side==="bottom")return{x:tooltip.cssX-box.width/2,y:tooltip.cssY+offset};if(tooltip.side==="left")return{x:tooltip.cssX-offset-box.width,y:tooltip.cssY-box.height/2};return{x:tooltip.cssX+offset,y:tooltip.cssY-box.height/2}}tooltipTopLeftFromElement(element){const rect=element.getBoundingClientRect();const hostRect=this.host.getBoundingClientRect();if(!Number.isFinite(rect.left)||!Number.isFinite(rect.top))return void 0;return{x:rect.left-hostRect.left,y:rect.top-hostRect.top}}tooltipAnchorFromPositionLock(lock,side,box,offset){return box?this.tooltipAnchorFromTopLeft(lock.x,lock.y,box,side,offset):{cssX:lock.x,cssY:lock.y}}tooltipPositionKey(index2){return String(index2)}rememberDraggableTooltipPosition(tooltip){if(!tooltip.draggable||!tooltip.positionLock)return;this.draggableTooltipPositions.set(this.tooltipPositionKey(tooltip.context.index),{lock:{...tooltip.positionLock},side:tooltip.side,box:tooltip.box})}lockedTooltipPositionForDetail(detail,spec){if(spec.draggable){const memory=this.draggableTooltipPositions.get(this.tooltipPositionKey(detail.index));if(!memory)return void 0;return{lock:{...memory.lock},side:memory.side,box:memory.box}}if(!spec.interactive||spec.openMode==="multiple")return void 0;const tooltip=this.positionedTooltip();if(!tooltip?.box||tooltip.context.index!==detail.index)return void 0;const lock=this.tooltipTopLeftFromAnchor(tooltip);return lock?{lock,side:tooltip.side,box:tooltip.box}:void 0}measureGaugeTooltipBox(){if(this.gaugeTooltips.length>0)return;const tooltip=this.gaugeTooltip;const element=this.tooltipElement;if(!tooltip||!element)return;const rect=element.getBoundingClientRect();if(!Number.isFinite(rect.width)||!Number.isFinite(rect.height))return;const width=Math.round(rect.width*100)/100;const height=Math.round(rect.height*100)/100;if(tooltip.box?.width===width&&tooltip.box?.height===height)return;const box={width,height};const next={...tooltip,box};if(tooltip.positionLock){Object.assign(next,this.tooltipAnchorFromPositionLock(tooltip.positionLock,tooltip.side,box,tooltip.offset??10))}this.rememberDraggableTooltipPosition(next);this.gaugeTooltip=next}handleTooltipActionClick=event=>{const target=event.target;const actionTarget=target?.closest?.("[data-tooltip-action]");const action=actionTarget?.dataset.tooltipAction;const tooltipId=Number(actionTarget?.closest?.("[data-tooltip-id]")?.getAttribute("data-tooltip-id"));const tooltip=this.gaugeTooltips.find(entry=>entry.id===tooltipId)??this.gaugeTooltip;if(!action||!tooltip)return;event.stopPropagation();this.tooltipAction.emit({...tooltip.context,action,text:tooltip.text,html:tooltip.html})};handleTooltipPointerDown=event=>{if(!this.gaugeTooltip?.draggable)return;const target=event.target;if(target?.closest?.("[data-tooltip-action],button,a,input,textarea,select"))return;event.preventDefault();event.stopPropagation();const element=event.currentTarget;const rendered=this.positionedTooltip(this.gaugeTooltip)??this.gaugeTooltip;const lock=this.tooltipTopLeftFromElement(element)??this.tooltipTopLeftFromAnchor(rendered)??{x:rendered.cssX,y:rendered.cssY};const box=this.gaugeTooltip.box??rendered.box;const next={...this.gaugeTooltip,cssX:rendered.cssX,cssY:rendered.cssY,side:rendered.side,box,positionLock:lock};Object.assign(next,this.tooltipAnchorFromPositionLock(lock,next.side,box,next.offset??10));this.gaugeTooltip=next;this.rememberDraggableTooltipPosition(next);element.setPointerCapture?.(event.pointerId);this.tooltipDrag={pointerId:event.pointerId,startX:event.clientX,startY:event.clientY,originX:next.cssX,originY:next.cssY,originLockX:lock.x,originLockY:lock.y}};handleTooltipPointerMove=event=>{const drag=this.tooltipDrag;if(!drag||drag.pointerId!==event.pointerId||!this.gaugeTooltip)return;event.preventDefault();event.stopPropagation();const lock={x:drag.originLockX+event.clientX-drag.startX,y:drag.originLockY+event.clientY-drag.startY};const next={...this.gaugeTooltip,positionLock:lock};Object.assign(next,this.tooltipAnchorFromPositionLock(lock,next.side,next.box,next.offset??10));this.gaugeTooltip=next;this.rememberDraggableTooltipPosition(next)};handleTooltipPointerUp=event=>{const drag=this.tooltipDrag;if(!drag||drag.pointerId!==event.pointerId)return;event.stopPropagation();if(this.gaugeTooltip)this.rememberDraggableTooltipPosition(this.gaugeTooltip);event.currentTarget.releasePointerCapture?.(event.pointerId);this.tooltipDrag=void 0};accessibleValueText(){const fmt=this.numberFormatter(this.valueFormat);if(this.variant==="clock"){return formatClockTime(this.clockTime(),this.showSeconds)}if(this.variant==="activity"){const first=this.resolvedActivityRings(this.layoutForDraw())[0];if(first){const pct=Math.round(first.fraction*1e3)/10;return`${fmt(first.value)} of ${fmt(first.max)} (${pct} percent)`}}const v=this.clampValue(this.value);if(this.valueDisplay==="percent")return`${fmt(this.fraction(v)*100)} percent`;return`${fmt(v)}${this.unit?" "+this.unit:""}`}needleAccessibleText(index2){const palette=this.needlePalette();if(this.variant==="activity"){const ring=this.resolvedActivityRings(this.layoutForDraw())[index2];if(!ring)return this.accessibleValueText();const fmt2=this.numberFormatter(this.valueFormat);const pct2=Math.round(ring.fraction*1e3)/10;const name2=ring.name===String(index2)?`Ring ${index2+1}`:ring.name;return`${name2}: ${fmt2(ring.value)} of ${fmt2(ring.max)} (${pct2}%)`}const specs=this.currentNeedleSpecs();const spec=specs[index2];if(!spec)return this.accessibleValueText();const r=resolveGaugeNeedle(spec,index2,palette[index2%Math.max(1,palette.length)]??this.color);const fmt=this.numberFormatter(this.valueFormat);const v=this.clampValue(r.value);const pct=Math.round(this.fraction(r.value)*1e3)/10;const name=specs.length>1?`${r.name}: `:"";return`${name}${fmt(v)}${this.unit?" "+this.unit:""} (${pct}%)`}onChartFocus=()=>{if(this.focusedNeedleIndex<0){this.focusedNeedleIndex=0;this.srAnnouncement=this.needleAccessibleText(0)}};onChartBlur=()=>{this.focusedNeedleIndex=-1};onChartKeyDown=ev=>{const count=this.variant==="activity"?this.activityRingSpecs().length:this.currentNeedleSpecs().length;if(count===0)return;let idx=this.focusedNeedleIndex<0?0:this.focusedNeedleIndex;switch(ev.key){case"ArrowRight":case"ArrowDown":ev.preventDefault();idx=(idx+1)%count;break;case"ArrowLeft":case"ArrowUp":ev.preventDefault();idx=(idx-1+count)%count;break;case"Home":ev.preventDefault();idx=0;break;case"End":ev.preventDefault();idx=count-1;break;default:return}this.focusedNeedleIndex=idx;this.srAnnouncement=this.needleAccessibleText(idx)};render(){const renderStart=this.now();const decision=pickGaugeEngine({requested:this.engine,onUnavailable:this.unavailable});if(decision.tier!==this.activeTier)this.activeTier=decision.tier;if(decision.fallbackReason!==this.fallbackReason)this.fallbackReason=decision.fallbackReason;const layout=this.layoutForDraw();const variant=this.variant;const needles=this.variant==="clock"?this.resolvedClockNeedles(layout):this.isDialLike()?this.resolvedNeedles(layout):[];const bands=this.resolvedBands(layout);const ticks=variant==="activity"?[]:variant==="clock"?this.resolvedClockTicks(layout):this.resolvedTicks(layout);const rings=variant==="solid"?this.resolvedRings(layout):[];const activityRings=variant==="activity"?this.resolvedActivityRings(layout):[];const visual=prepareGaugeLayout({layout,variant,needles,bands,ticks,rings:variant==="activity"?activityRings.map(r=>({key:r.id,angle:r.visible?r.angle:layout.startAngle,color:r.color,trackColor:r.trackColor})):rings.length>0?rings.map(r=>({key:r.key,angle:r.angle,color:r.color})):void 0,style:this.visualStyle()});this.lastRenderResult={needles:visual.needleCount,renderMs:this.now()-renderStart};this.pendingRenderedEmit=true;const readoutValue=this.readoutValue(needles,rings,activityRings);const legendLayout=this.legend?this.buildLegendLayout():null;const isMeter=variant==="activity"?activityRings.length<=1:variant==="clock"?false:this.variant==="solid"||needles.length<=1;const primaryRing=activityRings[0];return index.h(index.Host,{key:"6d1ca66e818386c280b1669d4d02c331d72d048d","data-active-tier":this.activeTier,"data-sy-brand-host":"chart"},index.h("div",{key:"c788806c3d73b9110f23e414d460400ca1e324c4",class:"sy-gauge-chart",style:{width:`${this.width}px`,height:`${this.height}px`,position:"relative"}},index.h("svg",{key:"a4f37968cf2de51afbbd7585263c1174c0a0eba8",class:"sy-gauge-chart__root",width:this.width,height:this.height,viewBox:`0 0 ${this.width} ${this.height}`,xmlns:"http://www.w3.org/2000/svg","data-animation-tick":this.animationTick,role:variant==="activity"?activityRings.length>1?"group":"meter":variant==="clock"?"img":this.ariaRole(needles),"aria-valuenow":isMeter?Math.round((variant==="activity"&&primaryRing?primaryRing.value:this.clampValue(this.value))*100)/100:void 0,"aria-valuemin":isMeter?variant==="activity"?0:this.min:void 0,"aria-valuemax":isMeter?variant==="activity"&&primaryRing?primaryRing.max:this.max:void 0,"aria-valuetext":isMeter?this.accessibleValueText():void 0,"aria-label":variant==="clock"?`${this.chartTitle??"Clock"} — ${this.accessibleValueText()}`:this.chartTitle??"Gauge",tabindex:0,onMouseMove:ev=>this.onChartMove(ev),onMouseLeave:()=>this.onChartLeave(),onContextMenu:ev=>this.onPointContextMenu(ev),onClick:ev=>this.onChartClick(ev),onFocus:()=>this.onChartFocus(),onBlur:()=>this.onChartBlur(),onKeyDown:ev=>this.onChartKeyDown(ev)},this.chartTitle?index.h("text",{class:"sy-gauge-chart__title",x:this.width/2,y:6,style:{fontSize:"14px"}},this.chartTitle):null,this.chartSubtitle?index.h("text",{class:"sy-gauge-chart__subtitle",x:this.width/2,y:this.chartTitle?26:6,style:{fontSize:"12px"}},this.chartSubtitle):null,(variant==="solid"||variant==="activity")&&visual.solidRings?index.h("g",{class:"sy-gauge-chart__solid"},visual.solidRings.map(ring=>index.h("path",{key:`${ring.key}-track`,class:"sy-gauge-chart__track",d:ring.trackPath,fill:"none",stroke:ring.trackColor??this.trackColor,"stroke-width":ring.strokeWidth,"stroke-linecap":this.rounded?"round":"butt"})),visual.solidRings.map(ring=>ring.progressPath?index.h("path",{key:`${ring.key}-progress`,class:"sy-gauge-chart__progress",d:ring.progressPath,fill:"none",stroke:ring.progressColor,"stroke-width":ring.strokeWidth,"stroke-linecap":this.rounded?"round":"butt"}):null)):null,visual.bandVisuals.length>0?index.h("g",{class:"sy-gauge-chart__bands"},visual.bandTrackPath?index.h("path",{class:"sy-gauge-chart__band-track",d:visual.bandTrackPath,fill:visual.bandTrackColor}):null,visual.bandVisuals.map(b=>index.h("path",{key:b.key,class:"sy-gauge-chart__band",d:b.path,fill:b.color}))):null,visual.tickVisuals.length>0?index.h("g",{class:"sy-gauge-chart__ticks"},visual.tickVisuals.map(t=>index.h("line",{key:`${t.key}-m`,class:t.major?"sy-gauge-chart__tick sy-gauge-chart__tick--major":"sy-gauge-chart__tick",x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2,stroke:t.color,"stroke-width":t.width})),visual.tickVisuals.map(t=>t.label?index.h("text",{key:`${t.key}-l`,class:"sy-gauge-chart__tick-label",x:t.label.x,y:t.label.y,fill:t.label.color,"text-anchor":t.label.anchor,style:{fontSize:`${t.label.fontSize}px`}},t.label.text):null)):null,this.isDialLike()?index.h("g",{class:"sy-gauge-chart__needles"},visual.needleVisuals.map(n=>index.h("path",{key:n.key,class:"sy-gauge-chart__needle",d:n.path,fill:n.color})),visual.pivot?index.h("circle",{class:"sy-gauge-chart__pivot",cx:visual.pivot.cx,cy:visual.pivot.cy,r:visual.pivot.r,fill:visual.pivot.color}):null):null,this.renderReadout(layout,readoutValue)),legendLayout?.legendRect?index.h("div",{class:"sy-gauge-chart__legend",role:"group","aria-label":"Legend",style:{position:"absolute",left:`${legendLayout.legendRect.x}px`,top:`${legendLayout.legendRect.y}px`,width:`${legendLayout.legendRect.width}px`,height:`${legendLayout.legendRect.height}px`}},this.buildLegendItems().map((item,i)=>{const rect=legendLayout.itemRects[i];if(!rect)return null;return index.h("span",{role:"button",tabindex:0,"aria-pressed":item.disabled?"false":"true","aria-label":`${item.label}${item.disabled?", hidden":", shown"}`,class:`sy-gauge-chart__legend-item${item.disabled?" sy-gauge-chart__legend-item--disabled":""}`,style:{position:"absolute",left:`${rect.x-legendLayout.legendRect.x}px`,top:`${rect.y-legendLayout.legendRect.y}px`,height:`${rect.height}px`,display:"flex",alignItems:"center",gap:"6px",whiteSpace:"nowrap"},onClick:()=>this.onLegendItemClick(i,String(item.id??i),item.label),onKeyDown:ev=>this.onLegendKeyDown(ev,i,String(item.id??i),item.label)},index.h("span",{class:"sy-gauge-chart__legend-swatch",style:{background:item.swatchColor}}),index.h("span",null,item.label))})):null,index.h("div",{key:"7ccac060f36df4b192eb8523044496d42d3d23b4",class:"sy-gauge-chart__sr-only","aria-live":"polite",role:"status"},this.srAnnouncement),this.fallbackReason?index.h("span",{class:"sy-gauge-chart__watermark",title:this.fallbackReason},"Syidax - fell back to standard renderer"):null,this.renderGaugeTooltipConnector(),this.renderGaugeTooltip()),chartBrand.renderChartBrand(this.host,this.brandLogo,{width:this.width,height:this.height,plot:this.plotRectFromLegend(legendLayout)}))}renderGaugeTooltip(){const multiple=this.gaugeTooltips.length>0;const tooltips=multiple?this.gaugeTooltips:[this.positionedTooltip()].filter(tooltip=>Boolean(tooltip));if(tooltips.length===0)return null;return tooltips.map(tooltip=>this.renderGaugeTooltipItem(tooltip,!multiple))}renderGaugeTooltipItem(tooltip,trackMeasure){const{cssX,cssY,side,text,html:tooltipHtml,className,style:customStyle,interactive,draggable}=tooltip;const offset=tooltip.offset??10;const style={position:"absolute",zIndex:"5",boxSizing:"border-box",width:"max-content",maxWidth:"calc(100% - 16px)",padding:"6px 10px",font:"500 12px system-ui, sans-serif",color:"var(--sy-tooltip-color, #fff)",background:"var(--sy-tooltip-bg, rgba(15,23,42,0.92))",borderRadius:"4px",whiteSpace:"pre-line",lineHeight:"1.35",boxShadow:"0 2px 8px rgba(0,0,0,0.18)",pointerEvents:interactive||draggable?"auto":"none",cursor:draggable?this.tooltipDrag?"grabbing":"grab":"default",transform:""};if(tooltip.positionLock){style.left=`${tooltip.positionLock.x}px`;style.top=`${tooltip.positionLock.y}px`;style.transform=""}else if(side==="top"){style.left=`${cssX}px`;style.top=`${cssY-offset}px`;style.transform="translate(-50%, -100%)"}else if(side==="bottom"){style.left=`${cssX}px`;style.top=`${cssY+offset}px`;style.transform="translate(-50%, 0%)"}else if(side==="left"){style.left=`${cssX-offset}px`;style.top=`${cssY}px`;style.transform="translate(-100%, -50%)"}else{style.left=`${cssX+offset}px`;style.top=`${cssY}px`;style.transform="translate(0%, -50%)"}for(const[key,value]of Object.entries(customStyle??{})){style[key]=gaugeTooltipCssValue(key,value)}if(tooltipHtml!==void 0){return index.h("div",{class:gaugeTooltipClassName("sy-gauge-chart__tooltip",className),"data-tooltip-id":`${tooltip.id}`,ref:trackMeasure?el=>this.tooltipElement=el:void 0,style,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp,innerHTML:tooltipHtml})}return index.h("div",{class:gaugeTooltipClassName("sy-gauge-chart__tooltip",className),"data-tooltip-id":`${tooltip.id}`,ref:trackMeasure?el=>this.tooltipElement=el:void 0,style,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp},text)}renderGaugeTooltipConnector(){const tooltips=this.gaugeTooltips.length>0?this.gaugeTooltips:[this.positionedTooltip()].filter(tooltip=>Boolean(tooltip));const connectedTooltips=tooltips.filter(tooltip=>tooltip.connector?.show);if(connectedTooltips.length===0)return null;return index.h("svg",{class:"sy-gauge-chart__tooltip-connector",width:this.width,height:this.height,style:{position:"absolute",left:"0px",top:"0px",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",overflow:"visible",zIndex:"4"},"aria-hidden":"true"},connectedTooltips.map(tooltip=>{const connector$1=tooltip.connector;const end=connector.tooltipConnectorEnd(tooltip);return index.h("line",{x1:tooltip.pointCssX,y1:tooltip.pointCssY,x2:end.x,y2:end.y,stroke:connector$1.color??"var(--sy-tooltip-connector-color, rgba(17,24,39,0.42))","stroke-width":connector$1.width??1,"stroke-dasharray":connector$1.dash?.join(" ")})}))}ariaRole(needles){return needles.length>1?"group":"meter"}readoutValue(needles,rings,activityRings=[]){const now=this.now();const easing=this.tweenEasing();if(this.variant==="activity"){const first=activityRings[0];if(!first)return 0;const v=this.animator.valueAtClamped(first.id,now,easing);return Math.max(0,Math.min(v!==void 0?v:first.value,first.max))}if(this.variant==="solid"){const first=rings.length>0?rings[0]:{key:SOLID_KEY,value:this.value};const v=this.animator.valueAtClamped(first.key,now,easing);return this.clampValue(v!==void 0?v:first.value)}if(needles.length>0){const v=this.animator.valueAtClamped(needles[0].id,now,easing);return this.clampValue(v!==void 0?v:needles[0].value)}return this.clampValue(this.value)}formatReadout(value){const fmt=this.numberFormatter(this.valueFormat);if(this.valueDisplay==="percent"){if(this.variant==="activity"){const first=this.resolvedActivityRings(this.layoutForDraw())[0];const frac=first&&first.max>0?Math.max(0,Math.min(value/first.max,1)):0;return{main:`${fmt(frac*100)}%`,sub:this.centerSubtext}}return{main:`${fmt(this.fraction(value)*100)}%`,sub:this.centerSubtext}}return{main:fmt(value),sub:this.centerSubtext??this.unit}}readoutLayout(layout,hasSub,plotBottom){const baseFs=Math.max(8,this.valueFontSize);if(this.isSolidLike()){const subFs2=Math.max(10,baseFs*.42);return{valueY:layout.cy,subY:layout.cy+baseFs*.62+subFs2*.5,fs:baseFs,subFs:subFs2}}const downCos=Math.max(-Math.cos(layout.startAngle),-Math.cos(layout.endAngle),0);const hasBands=this.bandList().length>0;const tickAnchor=hasBands?layout.outerRadius-this.bandThickness:layout.outerRadius;const labelRingR=Math.max(8,tickAnchor-this.tickLength-this.tickLabelDistance);const labelsBelow=this.showTicks&&this.showTickLabels&&downCos>.35;const top=layout.cy+this.pivotRadius+2;const floor=labelsBelow?layout.cy+labelRingR*downCos-this.tickLabelFontSize*.5-3:plotBottom-8;const bottom=Math.max(top+10,Math.min(floor,plotBottom-8));const avail=bottom-top;const ratio=hasSub?1.5:1;let fs=baseFs;if(fs*ratio>avail)fs=Math.max(11,avail/ratio);const subFs=hasSub?Math.max(9,fs*.42):0;const stackH=fs+(hasSub?fs*.08+subFs:0);const stackTop=top+Math.max(0,(avail-stackH)/2);const valueY=stackTop+fs*.5;const subY=hasSub?stackTop+fs+fs*.08+subFs*.5:valueY;return{valueY,subY,fs,subFs}}renderReadout(layout,value){const hasCenterText=this.centerText!==void 0&&this.centerText!=="";if(this.variant==="clock"&&!hasCenterText)return null;if(!hasCenterText&&!this.showValue)return null;const formatted=this.formatReadout(value);const main=hasCenterText?this.centerText:formatted.main;const sub=hasCenterText?this.centerSubtext:formatted.sub;const plot=this.plotRectFromLegend(this.legend?this.buildLegendLayout():null);const r=this.readoutLayout(layout,!!sub,plot.y+plot.height);return index.h("g",{class:"sy-gauge-chart__readout"},index.h("text",{class:"sy-gauge-chart__value",x:layout.cx,y:r.valueY,fill:this.valueColor,style:{fontSize:`${r.fs}px`,fontWeight:"700"}},main),sub?index.h("text",{class:"sy-gauge-chart__value-sub",x:layout.cx,y:r.subY,fill:this.tickLabelColor,style:{fontSize:`${r.subFs}px`}},sub):null)}async getEngineStatus(){return standardEngineStatus.standardOnlyEngineStatus({requested:this.engine,onUnavailable:this.unavailable,renderer:"gauge"})}static get watchers(){return{"value":[{"handleValueChange":0}],"needles":[{"handleNeedlesChange":0}],"time":[{"handleClockPropsChange":0}],"showSeconds":[{"handleClockPropsChange":0}],"rings":[{"handleRingsChange":0}],"streamSource":[{"handleStreamSourceChange":0}],"streamWindow":[{"handleStreamSourceChange":0}],"streamMax":[{"handleStreamSourceChange":0}],"animated":[{"handleAnimationChange":0}],"animationDuration":[{"handleAnimationChange":0}],"animationEasing":[{"handleAnimationChange":0}],"animationType":[{"handleAnimationChange":0}],"min":[{"handleVisualPropsChange":0}],"max":[{"handleVisualPropsChange":0}],"startAngle":[{"handleVisualPropsChange":0}],"endAngle":[{"handleVisualPropsChange":0}],"variant":[{"handleVisualPropsChange":0}],"size":[{"handleVisualPropsChange":0}],"centerX":[{"handleVisualPropsChange":0}],"centerY":[{"handleVisualPropsChange":0}],"innerRadius":[{"handleVisualPropsChange":0}],"thickness":[{"handleVisualPropsChange":0}],"color":[{"handleVisualPropsChange":0}],"colors":[{"handleVisualPropsChange":0}],"stops":[{"handleVisualPropsChange":0}],"trackColor":[{"handleVisualPropsChange":0}],"rounded":[{"handleVisualPropsChange":0}],"needleShape":[{"handleVisualPropsChange":0}],"needleLength":[{"handleVisualPropsChange":0}],"needleRearLength":[{"handleVisualPropsChange":0}],"needleWidth":[{"handleVisualPropsChange":0}],"pivotRadius":[{"handleVisualPropsChange":0}],"pivotColor":[{"handleVisualPropsChange":0}],"plotBands":[{"handleVisualPropsChange":0}],"bandThickness":[{"handleVisualPropsChange":0}],"bandTrackColor":[{"handleVisualPropsChange":0}],"showTicks":[{"handleVisualPropsChange":0}],"tickInterval":[{"handleVisualPropsChange":0}],"minorTicks":[{"handleVisualPropsChange":0}],"tickLength":[{"handleVisualPropsChange":0}],"minorTickLength":[{"handleVisualPropsChange":0}],"tickWidth":[{"handleVisualPropsChange":0}],"minorTickWidth":[{"handleVisualPropsChange":0}],"tickColor":[{"handleVisualPropsChange":0}],"showTickLabels":[{"handleVisualPropsChange":0}],"tickLabelDistance":[{"handleVisualPropsChange":0}],"tickLabelColor":[{"handleVisualPropsChange":0}],"tickLabelFontSize":[{"handleVisualPropsChange":0}],"tickLabelFormat":[{"handleVisualPropsChange":0}],"showValue":[{"handleVisualPropsChange":0}],"valueDisplay":[{"handleVisualPropsChange":0}],"valueFormat":[{"handleVisualPropsChange":0}],"valueColor":[{"handleVisualPropsChange":0}],"valueFontSize":[{"handleVisualPropsChange":0}],"unit":[{"handleVisualPropsChange":0}],"centerText":[{"handleVisualPropsChange":0}],"centerSubtext":[{"handleVisualPropsChange":0}],"chartTitle":[{"handleVisualPropsChange":0}],"chartSubtitle":[{"handleVisualPropsChange":0}],"tooltipShow":[{"handleVisualPropsChange":0}],"tooltip":[{"handleVisualPropsChange":0}],"enableMouseTracking":[{"handleVisualPropsChange":0}],"legend":[{"handleVisualPropsChange":0}],"legendPosition":[{"handleVisualPropsChange":0}],"legendItems":[{"handleVisualPropsChange":0}],"analogDamping":[{"handleVisualPropsChange":0}],"analogFrequency":[{"handleVisualPropsChange":0}],"analogOvershootAngle":[{"handleVisualPropsChange":0}]}}};function escapeHtml(s){return s.replace(/[&<>"']/g,ch=>{switch(ch){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case"'":return"&#39;";default:return ch}})}SyGaugeChart.style=syGaugeChartCss();exports.sy_gauge_chart=SyGaugeChart;