@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.
- package/LICENSE.md +360 -0
- package/NOTICE.md +8554 -0
- package/README.md +28 -2
- package/dist/advanced/advanced.esm.js +1 -0
- package/dist/advanced/index.esm.js +1 -0
- package/dist/advanced/p-047a8d2a.entry.js +1 -0
- package/dist/advanced/p-0d722333.entry.js +1 -0
- package/dist/advanced/p-10092cd7.entry.js +1 -0
- package/dist/advanced/p-3bfe768d.entry.js +1 -0
- package/dist/advanced/p-3c0e11bb.entry.js +1 -0
- package/dist/advanced/p-425cc46f.entry.js +1 -0
- package/dist/advanced/p-46a30369.entry.js +1 -0
- package/dist/advanced/p-4729eab2.entry.js +1 -0
- package/dist/advanced/p-4CjYGJmq.js +1 -0
- package/dist/advanced/p-4c936a0b.entry.js +1 -0
- package/dist/advanced/p-4d4d7a4e.entry.js +1 -0
- package/dist/advanced/p-52ccaa06.entry.js +2 -0
- package/dist/advanced/p-5a331221.entry.js +1 -0
- package/dist/advanced/p-5a901d75.entry.js +1 -0
- package/dist/advanced/p-5fe7ccff.entry.js +1 -0
- package/dist/advanced/p-6cc14adc.entry.js +1 -0
- package/dist/advanced/p-754e1389.entry.js +1 -0
- package/dist/advanced/p-7953cc9e.entry.js +1 -0
- package/dist/advanced/p-81391f84.entry.js +1 -0
- package/dist/advanced/p-84491b0f.entry.js +1 -0
- package/dist/advanced/p-84631cf9.entry.js +1 -0
- package/dist/advanced/p-87416587.entry.js +1 -0
- package/dist/advanced/p-89b3d2c2.entry.js +1 -0
- package/dist/advanced/p-8d7b586a.entry.js +1 -0
- package/dist/advanced/p-9d1f8f10.entry.js +1 -0
- package/dist/advanced/p-AzDRbG7D.js +1 -0
- package/dist/advanced/p-B6K1arcd.js +1 -0
- package/dist/advanced/p-BKZM2o7w.js +1 -0
- package/dist/advanced/p-BVmDGX0a.js +1 -0
- package/dist/advanced/p-BYBaMhHn.js +1 -0
- package/dist/advanced/p-Bl66fnTv.js +1 -0
- package/dist/advanced/p-Brtcd7ZV.js +1 -0
- package/dist/advanced/p-BsBcTKjx.js +1 -0
- package/dist/advanced/p-BwM4aW0R.js +1 -0
- package/dist/advanced/p-BwtrZuf8.js +1 -0
- package/dist/advanced/p-C-xxpQIO.js +1 -0
- package/dist/advanced/p-C0f63Npv.js +1 -0
- package/dist/advanced/p-C1RaN8eG.js +1 -0
- package/dist/advanced/p-C1vfsnDY.js +1 -0
- package/dist/advanced/p-C374wsaF.js +1 -0
- package/dist/advanced/p-CFyLRM--.js +1 -0
- package/dist/advanced/p-CIwqM40T.js +1 -0
- package/dist/advanced/p-CKEqyWf8.js +1 -0
- package/dist/advanced/p-CMRCw_kT.js +4 -0
- package/dist/advanced/p-CTrT2jn4.js +1 -0
- package/dist/advanced/p-C_2TIPHD.js +1 -0
- package/dist/advanced/p-CitzwxIw.js +1 -0
- package/dist/advanced/p-D4a88iaH.js +7 -0
- package/dist/advanced/p-D5aEHK78.js +1 -0
- package/dist/advanced/p-D6sPnRDQ.js +1 -0
- package/dist/advanced/p-D8Cooryu.js +1 -0
- package/dist/advanced/p-DChj4qx2.js +1 -0
- package/dist/advanced/p-DEKAlpFE.js +1 -0
- package/dist/advanced/p-DO6vGxJP.js +1 -0
- package/dist/advanced/p-DQ1RB1XB.js +1 -0
- package/dist/advanced/p-DQuL1Twl.js +1 -0
- package/dist/advanced/p-DTZUbymc.js +1 -0
- package/dist/advanced/p-DUELYDa7.js +1 -0
- package/dist/advanced/p-DXJS1EXW.js +1 -0
- package/dist/advanced/p-DYKIyOfR.js +1 -0
- package/dist/advanced/p-Dd9TQ3qQ.js +1 -0
- package/dist/advanced/p-DdNwMQsx.js +1 -0
- package/dist/advanced/p-Dl9apb8A.js +1 -0
- package/dist/advanced/p-DogpgTFv.js +1 -0
- package/dist/advanced/p-Dx-FsUbT.js +1 -0
- package/dist/advanced/p-Dz9vozhJ.js +1 -0
- package/dist/advanced/p-EXuVQfpl.js +1 -0
- package/dist/advanced/p-HAy9hTj2.js +1 -0
- package/dist/advanced/p-I8kmugWt.js +1 -0
- package/dist/advanced/p-S3uzYKsD.js +1 -0
- package/dist/advanced/p-WQSantHg.js +1 -0
- package/dist/advanced/p-Yjd8T1ZK.js +1 -0
- package/dist/advanced/p-_AFoWkvk.js +1 -0
- package/dist/advanced/p-aafa98ca.entry.js +1 -0
- package/dist/advanced/p-ab6a2087.entry.js +1 -0
- package/dist/advanced/p-aed71cba.entry.js +1 -0
- package/dist/advanced/p-e0549f37.entry.js +1 -0
- package/dist/advanced/p-ea07ff0e.entry.js +1 -0
- package/dist/advanced/p-ee62b647.entry.js +1 -0
- package/dist/advanced/p-f5148ac0.entry.js +1 -0
- package/dist/advanced/p-f8102c9d.entry.js +1 -0
- package/dist/advanced/p-f87fee01.entry.js +1 -0
- package/dist/advanced/p-gsi3BtH2.js +1 -0
- package/dist/advanced/p-kJe8wHkN.js +1 -0
- package/dist/advanced/p-nxlSIIWU.js +1 -0
- package/dist/advanced/p-smFnxv_V.js +1 -0
- package/dist/advanced/p-x7RF8NVg.js +1 -0
- package/dist/advanced/p-zrH7aO3p.js +1 -0
- package/dist/assets/style/advanced.css +1 -0
- package/dist/assets/style/board.css +0 -0
- package/dist/assets/style/chart.css +1 -0
- package/dist/assets/style/grid.css +0 -0
- package/dist/cjs/_syidax-chart-build-tier-De_XDaQO.js +1 -0
- package/dist/cjs/advanced.cjs.js +1 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js +1 -0
- package/dist/cjs/auto-labels-biCCU4IR.js +1 -0
- package/dist/cjs/axis-label-thinning-xlRYEkLr.js +1 -0
- package/dist/cjs/brand-logo-CJN4NV6G.js +1 -0
- package/dist/cjs/brand-mark-default-DvQHU2qS.js +1 -0
- package/dist/cjs/brush-interaction-DLBwLxOH.js +1 -0
- package/dist/cjs/cartesian-contract-BVApIzMy.js +1 -0
- package/dist/cjs/cartesian-frame-interaction-w1OfXe9B.js +1 -0
- package/dist/cjs/cartesian-series-contract-IfUitFYk.js +1 -0
- package/dist/cjs/cf-builder-chunk-D6ajo9Mh.js +1 -0
- package/dist/cjs/chart-brand-CEKOnWyE.js +1 -0
- package/dist/cjs/chart-brand-license-COyo1Vbl.js +1 -0
- package/dist/cjs/chart-element-loader-BGPJwN21.js +1 -0
- package/dist/cjs/chart-license-bridge-DAODso1A.js +1 -0
- package/dist/cjs/chart-streaming-gate-DX4tlXCx.js +1 -0
- package/dist/cjs/column-stack-BbD_lcgG.js +1 -0
- package/dist/cjs/component-runtime-chunk-BCXKlIzs.js +1 -0
- package/dist/cjs/connector-8ebOKxbI.js +1 -0
- package/dist/cjs/contracts-CtPI2qPw.js +1 -0
- package/dist/cjs/data-zoom-model-DWEnQJnh.js +1 -0
- package/dist/cjs/data-zoom-target-BO1_-I0t.js +1 -0
- package/dist/cjs/device-pixel-box-COQLb1eD.js +1 -0
- package/dist/cjs/drawing-export-CdJsjlzv.js +1 -0
- package/dist/cjs/engine-swap-license-BYrMn26A.js +1 -0
- package/dist/cjs/errors-DNua3ZWy.js +1 -0
- package/dist/cjs/grid-import-chunk-BlBvP3p6.js +1 -0
- package/dist/cjs/grid-license-session-BRxDNKOX.js +7 -0
- package/dist/cjs/index-BS2KctDY.js +1 -0
- package/dist/cjs/index-CKeHnO3Q.js +5 -0
- package/dist/cjs/index.cjs.js +1 -0
- package/dist/cjs/interpolate-BWPQ5Hyd.js +1 -0
- package/dist/cjs/legend-CbjQG1uh.js +1 -0
- package/dist/cjs/legend-interaction-Cc6htppF.js +1 -0
- package/dist/cjs/live-object-model-CjPqHT6U.js +1 -0
- package/dist/cjs/loader.cjs.js +1 -0
- package/dist/cjs/number-Dq6GiQsL.js +1 -0
- package/dist/cjs/parse-CoFqMZ-2.js +1 -0
- package/dist/cjs/pie-animator-Bvgo8ICN.js +1 -0
- package/dist/cjs/pie-geometry-d5pwtOxJ.js +1 -0
- package/dist/cjs/point-context-menu-CWB4nv9m.js +1 -0
- package/dist/cjs/resolve-Cti85ZtE.js +1 -0
- package/dist/cjs/row-drag-chunk-kA4TVsmj.js +1 -0
- package/dist/cjs/row-layout-chunk-CyH-tG1Y.js +1 -0
- package/dist/cjs/safe-formatter-B0DDURao.js +1 -0
- package/dist/cjs/scheme-KzZHS7kW.js +1 -0
- package/dist/cjs/standard-engine-status-C4zMZsEh.js +1 -0
- package/dist/cjs/stream-interp-CVi5SGFf.js +1 -0
- package/dist/cjs/sy-area-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-bar-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-bubble-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-chart.cjs.entry.js +2 -0
- package/dist/cjs/sy-column-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-data-zoom.cjs.entry.js +1 -0
- package/dist/cjs/sy-dot-plot-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-dumbbell-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-funnel-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-gauge-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-grid.sy-grid-standard-BNEY4YEK.js +4 -0
- package/dist/cjs/sy-grid_2.cjs.entry.js +1 -0
- package/dist/cjs/sy-histogram-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-item-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-line-chart-path-Cfasx_t5.js +1 -0
- package/dist/cjs/sy-line-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-lollipop-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-marimekko-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-navigator.cjs.entry.js +1 -0
- package/dist/cjs/sy-pareto-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-pictorial-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-pie-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-polar-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-radar-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-scatter-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-stem-leaf-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-tilemap.cjs.entry.js +1 -0
- package/dist/cjs/sy-tornado-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-variwide-chart.cjs.entry.js +1 -0
- package/dist/cjs/sy-visual-map.cjs.entry.js +1 -0
- package/dist/cjs/sy-wafer-correlation.cjs.entry.js +1 -0
- package/dist/cjs/sy-wafer-map.cjs.entry.js +1 -0
- package/dist/cjs/sy-wafer-stack.cjs.entry.js +1 -0
- package/dist/cjs/sy-word-cloud.cjs.entry.js +1 -0
- package/dist/cjs/sy-yield-zone-chart.cjs.entry.js +1 -0
- package/dist/cjs/types-jSXHeK-g.js +1 -0
- package/dist/cjs/viewport-zoom-h9w4q7XJ.js +1 -0
- package/dist/cjs/visual-map-binding-Ddnoet7F.js +1 -0
- package/dist/cjs/wafer-stack-1qlPI-im.js +1 -0
- package/dist/cjs/wafer-value-CZzFL0S-.js +1 -0
- package/dist/cjs/zoom-interaction-C3K9MKr2.js +1 -0
- package/dist/cjs/zoom-window-oCyi6HPg.js +1 -0
- package/dist/collection/collection-manifest.json +213 -0
- package/dist/collection/components/_shared/brand/brand-decision.js +1 -0
- package/dist/collection/components/_shared/brand/brand-export-default.js +1 -0
- package/dist/collection/components/_shared/brand/brand-export.js +1 -0
- package/dist/collection/components/_shared/brand/brand-integrity.js +1 -0
- package/dist/collection/components/_shared/brand/brand-lockup-default.js +1 -0
- package/dist/collection/components/_shared/brand/brand-logo.js +1 -0
- package/dist/collection/components/_shared/brand/brand-mark-default.js +1 -0
- package/dist/collection/components/_shared/brand/brand-mark.js +1 -0
- package/dist/collection/components/_shared/brand/index.js +1 -0
- package/dist/collection/components/_shared/brand/types.js +1 -0
- package/dist/collection/components/chart/_shared/core/a11y/a11y.js +1 -0
- package/dist/collection/components/chart/_shared/core/a11y/contrast.js +1 -0
- package/dist/collection/components/chart/_shared/core/a11y/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/action/action-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/action/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/adapter/animatable-mark.js +1 -0
- package/dist/collection/components/chart/_shared/core/adapter/deferred-pro-renderer.js +1 -0
- package/dist/collection/components/chart/_shared/core/adapter/gpu-availability.js +1 -0
- package/dist/collection/components/chart/_shared/core/adapter/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/adapter/streamable-series.js +1 -0
- package/dist/collection/components/chart/_shared/core/animation/flip.js +1 -0
- package/dist/collection/components/chart/_shared/core/animation/heatmap-animator.js +1 -0
- package/dist/collection/components/chart/_shared/core/animation/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/animation/interruptible.js +1 -0
- package/dist/collection/components/chart/_shared/core/animation/morph-paint-order.js +1 -0
- package/dist/collection/components/chart/_shared/core/animation/scene3d-exit.js +1 -0
- package/dist/collection/components/chart/_shared/core/animation/stream-interp.js +1 -0
- package/dist/collection/components/chart/_shared/core/animation/transition.js +1 -0
- package/dist/collection/components/chart/_shared/core/animation/tween.js +1 -0
- package/dist/collection/components/chart/_shared/core/annotation/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/axis/auto-labels.js +1 -0
- package/dist/collection/components/chart/_shared/core/axis/axis-base.js +1 -0
- package/dist/collection/components/chart/_shared/core/axis/category-axis.js +1 -0
- package/dist/collection/components/chart/_shared/core/axis/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/axis/label-collision.js +1 -0
- package/dist/collection/components/chart/_shared/core/axis/linear-axis.js +1 -0
- package/dist/collection/components/chart/_shared/core/axis/log-axis.js +1 -0
- package/dist/collection/components/chart/_shared/core/axis/time-axis.js +1 -0
- package/dist/collection/components/chart/_shared/core/brand/brand-placement.js +1 -0
- package/dist/collection/components/chart/_shared/core/brand/chart-brand-config.js +1 -0
- package/dist/collection/components/chart/_shared/core/brand/chart-brand-export.js +1 -0
- package/dist/collection/components/chart/_shared/core/brand/chart-brand-host.js +1 -0
- package/dist/collection/components/chart/_shared/core/brand/chart-brand-lazy.js +1 -0
- package/dist/collection/components/chart/_shared/core/brand/chart-brand-palette.js +1 -0
- package/dist/collection/components/chart/_shared/core/brand/chart-brand-theme.js +1 -0
- package/dist/collection/components/chart/_shared/core/brand/chart-brand.js +1 -0
- package/dist/collection/components/chart/_shared/core/brand/license/chart-brand-license.js +1 -0
- package/dist/collection/components/chart/_shared/core/brush/brush-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/brush/brush-geometry.js +1 -0
- package/dist/collection/components/chart/_shared/core/brush/brush-interaction.js +1 -0
- package/dist/collection/components/chart/_shared/core/brush/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/color/heatmap-color.js +1 -0
- package/dist/collection/components/chart/_shared/core/color/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/color/interpolate.js +1 -0
- package/dist/collection/components/chart/_shared/core/color/named-colors.js +1 -0
- package/dist/collection/components/chart/_shared/core/color/parse.js +1 -0
- package/dist/collection/components/chart/_shared/core/color/resolve.js +1 -0
- package/dist/collection/components/chart/_shared/core/color/rgba.js +1 -0
- package/dist/collection/components/chart/_shared/core/color/scheme.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/bar3d-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/box-plot-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/bubble-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/calendar-heatmap-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/candlestick-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/cartesian-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/cartesian-series-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/chord-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/dendrogram-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/density-map-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/error-bar-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/flow-lines-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/gantt-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/geo-map-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/geo-map-features-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/heatmap-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/icicle-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/network-graph-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/parallel-coordinates-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/sankey-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/scatter3d-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/scene3d-camera-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/scene3d-chart-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/scene3d-lighting-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/scene3d-orbit-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/spectrogram-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/sunburst-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/surface3d-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/theme-river-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/treemap-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/contract/waterfall-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/crosshair/category-snap.js +1 -0
- package/dist/collection/components/chart/_shared/core/crosshair/crosshair.js +1 -0
- package/dist/collection/components/chart/_shared/core/crosshair/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/data/dataset.js +1 -0
- package/dist/collection/components/chart/_shared/core/data/encode.js +1 -0
- package/dist/collection/components/chart/_shared/core/data/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/data/transforms.js +1 -0
- package/dist/collection/components/chart/_shared/core/data/values-attribute.js +1 -0
- package/dist/collection/components/chart/_shared/core/drawing/drawing-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/drawing/drawing-cursor.js +1 -0
- package/dist/collection/components/chart/_shared/core/drawing/drawing-export.js +1 -0
- package/dist/collection/components/chart/_shared/core/drawing/drawing-hit.js +1 -0
- package/dist/collection/components/chart/_shared/core/drawing/drawing-interaction.js +1 -0
- package/dist/collection/components/chart/_shared/core/drawing/drawing-measure.js +1 -0
- package/dist/collection/components/chart/_shared/core/drawing/drawing-projection.js +1 -0
- package/dist/collection/components/chart/_shared/core/drawing/drawing-tools.js +1 -0
- package/dist/collection/components/chart/_shared/core/drawing/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/engine/resolve-chart-engine.js +1 -0
- package/dist/collection/components/chart/_shared/core/engine/types.js +1 -0
- package/dist/collection/components/chart/_shared/core/event/hit-test.js +1 -0
- package/dist/collection/components/chart/_shared/core/event/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/event/point-context-menu.js +1 -0
- package/dist/collection/components/chart/_shared/core/event/pointer.js +1 -0
- package/dist/collection/components/chart/_shared/core/export/chart-export.js +2 -0
- package/dist/collection/components/chart/_shared/core/export/data-table.js +1 -0
- package/dist/collection/components/chart/_shared/core/export/html-overlay.js +1 -0
- package/dist/collection/components/chart/_shared/core/export/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/export/svg-fonts.js +1 -0
- package/dist/collection/components/chart/_shared/core/financial-bars.js +1 -0
- package/dist/collection/components/chart/_shared/core/format/datetime.js +1 -0
- package/dist/collection/components/chart/_shared/core/format/duration.js +1 -0
- package/dist/collection/components/chart/_shared/core/format/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/format/number.js +1 -0
- package/dist/collection/components/chart/_shared/core/format/safe-formatter.js +1 -0
- package/dist/collection/components/chart/_shared/core/graph/strongly-connected.js +1 -0
- package/dist/collection/components/chart/_shared/core/hover/highlight.js +1 -0
- package/dist/collection/components/chart/_shared/core/hover/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/layout/axis-label-thinning.js +1 -0
- package/dist/collection/components/chart/_shared/core/layout/cartesian-frame-interaction.js +1 -0
- package/dist/collection/components/chart/_shared/core/layout/cartesian-frame.js +1 -0
- package/dist/collection/components/chart/_shared/core/layout/cartesian-render-domain.js +1 -0
- package/dist/collection/components/chart/_shared/core/layout/device-pixel-box.js +1 -0
- package/dist/collection/components/chart/_shared/core/layout/frame.js +1 -0
- package/dist/collection/components/chart/_shared/core/layout/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/layout/label-geometry.js +1 -0
- package/dist/collection/components/chart/_shared/core/layout/label-obstacle-index.js +1 -0
- package/dist/collection/components/chart/_shared/core/layout/legend-interaction.js +1 -0
- package/dist/collection/components/chart/_shared/core/layout/legend.js +1 -0
- package/dist/collection/components/chart/_shared/core/layout/plot-area.js +1 -0
- package/dist/collection/components/chart/_shared/core/layout/title.js +1 -0
- package/dist/collection/components/chart/_shared/core/license/chart-license-bridge.js +1 -0
- package/dist/collection/components/chart/_shared/core/license/chart-license-features.js +1 -0
- package/dist/collection/components/chart/_shared/core/license/chart-license-notice.js +1 -0
- package/dist/collection/components/chart/_shared/core/limits/point-cap.js +1 -0
- package/dist/collection/components/chart/_shared/core/loading/chart-build-tier.js +1 -0
- package/dist/collection/components/chart/_shared/core/loading/chart-element-loader.js +1 -0
- package/dist/collection/components/chart/_shared/core/loading/chart-load-controller.js +1 -0
- package/dist/collection/components/chart/_shared/core/loading/chart-type-rows.js +1 -0
- package/dist/collection/components/chart/_shared/core/loading/chart-type-table.js +1 -0
- package/dist/collection/components/chart/_shared/core/loading/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/locale/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/locale/locale.js +1 -0
- package/dist/collection/components/chart/_shared/core/math/ease.js +1 -0
- package/dist/collection/components/chart/_shared/core/math/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/math/primitives.js +1 -0
- package/dist/collection/components/chart/_shared/core/math/stat.js +1 -0
- package/dist/collection/components/chart/_shared/core/menu/context-menu.js +1 -0
- package/dist/collection/components/chart/_shared/core/menu/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/numeric/quickselect.js +1 -0
- package/dist/collection/components/chart/_shared/core/numeric/safe-numeric.js +1 -0
- package/dist/collection/components/chart/_shared/core/progressive/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/progressive/progressive-draw.js +1 -0
- package/dist/collection/components/chart/_shared/core/scale/band.js +1 -0
- package/dist/collection/components/chart/_shared/core/scale/diverging.js +1 -0
- package/dist/collection/components/chart/_shared/core/scale/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/scale/linear.js +1 -0
- package/dist/collection/components/chart/_shared/core/scale/log.js +1 -0
- package/dist/collection/components/chart/_shared/core/scale/ordinal.js +1 -0
- package/dist/collection/components/chart/_shared/core/scale/point.js +1 -0
- package/dist/collection/components/chart/_shared/core/scale/pow.js +1 -0
- package/dist/collection/components/chart/_shared/core/scale/quantile.js +1 -0
- package/dist/collection/components/chart/_shared/core/scale/quantize.js +1 -0
- package/dist/collection/components/chart/_shared/core/scale/sequential.js +1 -0
- package/dist/collection/components/chart/_shared/core/scale/symlog.js +1 -0
- package/dist/collection/components/chart/_shared/core/scale/threshold.js +1 -0
- package/dist/collection/components/chart/_shared/core/scale/tick-strategy.js +1 -0
- package/dist/collection/components/chart/_shared/core/scale/time-tick-strategy.js +1 -0
- package/dist/collection/components/chart/_shared/core/scale/time.js +1 -0
- package/dist/collection/components/chart/_shared/core/spatial/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/spatial/kdtree.js +1 -0
- package/dist/collection/components/chart/_shared/core/spatial/kernel.js +1 -0
- package/dist/collection/components/chart/_shared/core/spatial/quadtree.js +1 -0
- package/dist/collection/components/chart/_shared/core/state/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/state/state-model.js +1 -0
- package/dist/collection/components/chart/_shared/core/stream/batch-flush-runtime.js +1 -0
- package/dist/collection/components/chart/_shared/core/stream/batch-flush.js +1 -0
- package/dist/collection/components/chart/_shared/core/stream/category-upserts.js +1 -0
- package/dist/collection/components/chart/_shared/core/stream/frame-budget.js +1 -0
- package/dist/collection/components/chart/_shared/core/stream/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/stream/keyed-object-stream-runtime.js +1 -0
- package/dist/collection/components/chart/_shared/core/stream/keyed-object-stream.js +1 -0
- package/dist/collection/components/chart/_shared/core/stream/ring-buffer-runtime.js +1 -0
- package/dist/collection/components/chart/_shared/core/stream/ring-buffer.js +1 -0
- package/dist/collection/components/chart/_shared/core/stream/stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/_shared/core/stream/stream-source.js +1 -0
- package/dist/collection/components/chart/_shared/core/stream/time-window-runtime.js +1 -0
- package/dist/collection/components/chart/_shared/core/stream/time-window.js +1 -0
- package/dist/collection/components/chart/_shared/core/theme/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/theme/theme.js +1 -0
- package/dist/collection/components/chart/_shared/core/tooltip/card-a11y.js +1 -0
- package/dist/collection/components/chart/_shared/core/tooltip/cell-tooltip-controller.js +1 -0
- package/dist/collection/components/chart/_shared/core/tooltip/connector.js +1 -0
- package/dist/collection/components/chart/_shared/core/tooltip/formatter.js +1 -0
- package/dist/collection/components/chart/_shared/core/tooltip/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/tooltip/tooltip-engine.js +1 -0
- package/dist/collection/components/chart/_shared/core/tooltip/tooltip-transfer.js +1 -0
- package/dist/collection/components/chart/_shared/core/types.js +1 -0
- package/dist/collection/components/chart/_shared/core/visual-map/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/visual-map/visual-map-binding.js +1 -0
- package/dist/collection/components/chart/_shared/core/visual-map/visual-map-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/zoom/crosshair-sync.js +1 -0
- package/dist/collection/components/chart/_shared/core/zoom/index.js +1 -0
- package/dist/collection/components/chart/_shared/core/zoom/viewport-zoom.js +1 -0
- package/dist/collection/components/chart/_shared/core/zoom/zoom-connect.js +1 -0
- package/dist/collection/components/chart/_shared/core/zoom/zoom-contract.js +1 -0
- package/dist/collection/components/chart/_shared/core/zoom/zoom-drag.js +1 -0
- package/dist/collection/components/chart/_shared/core/zoom/zoom-host.js +1 -0
- package/dist/collection/components/chart/_shared/core/zoom/zoom-interaction.js +1 -0
- package/dist/collection/components/chart/_shared/core/zoom/zoom-window.js +1 -0
- package/dist/collection/components/chart/_shared/render/canvas.js +1 -0
- package/dist/collection/components/chart/_shared/render/index.js +1 -0
- package/dist/collection/components/chart/_shared/render/series.js +1 -0
- package/dist/collection/components/chart/area-chart/core/animation/animator.js +1 -0
- package/dist/collection/components/chart/area-chart/core/animation/easing.js +1 -0
- package/dist/collection/components/chart/area-chart/core/animation/index.js +1 -0
- package/dist/collection/components/chart/area-chart/core/animation/path-morph.js +1 -0
- package/dist/collection/components/chart/area-chart/core/area-chart-core.js +1 -0
- package/dist/collection/components/chart/area-chart/core/area-pro-renderer-loader.js +1 -0
- package/dist/collection/components/chart/area-chart/core/pattern-kind.js +1 -0
- package/dist/collection/components/chart/area-chart/core/streaming/index.js +1 -0
- package/dist/collection/components/chart/area-chart/core/streaming/ring-buffer-runtime.js +1 -0
- package/dist/collection/components/chart/area-chart/core/streaming/ring-buffer.js +1 -0
- package/dist/collection/components/chart/area-chart/core/streaming/stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/area-chart/core/streaming/stream-source.js +1 -0
- package/dist/collection/components/chart/area-chart/core/types.js +1 -0
- package/dist/collection/components/chart/area-chart/core/visual-regression/baseline.js +1 -0
- package/dist/collection/components/chart/area-chart/core/visual-regression/dom-snapshot.js +1 -0
- package/dist/collection/components/chart/area-chart/core/visual-regression/stream-frame-snapshot.js +1 -0
- package/dist/collection/components/chart/area-chart/engines/standard/area-chart-standard-renderer.js +1 -0
- package/dist/collection/components/chart/area-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/area-chart/engines/standard/sy-area-chart-path.js +1 -0
- package/dist/collection/components/chart/area-chart/index.js +1 -0
- package/dist/collection/components/chart/area-chart/sy-area-chart.css +1 -0
- package/dist/collection/components/chart/area-chart/sy-area-chart.js +1 -0
- package/dist/collection/components/chart/bar-chart/core/animation/animator.js +1 -0
- package/dist/collection/components/chart/bar-chart/core/animation/baseline-grow.js +1 -0
- package/dist/collection/components/chart/bar-chart/core/animation/easing.js +1 -0
- package/dist/collection/components/chart/bar-chart/core/animation/index.js +1 -0
- package/dist/collection/components/chart/bar-chart/core/animation/path-morph.js +1 -0
- package/dist/collection/components/chart/bar-chart/core/bar-border.js +1 -0
- package/dist/collection/components/chart/bar-chart/core/bar-chart-core.js +1 -0
- package/dist/collection/components/chart/bar-chart/core/bar-layout.js +1 -0
- package/dist/collection/components/chart/bar-chart/core/bar-pro-renderer-loader.js +1 -0
- package/dist/collection/components/chart/bar-chart/core/streaming/index.js +1 -0
- package/dist/collection/components/chart/bar-chart/core/streaming/ring-buffer-runtime.js +1 -0
- package/dist/collection/components/chart/bar-chart/core/streaming/ring-buffer.js +1 -0
- package/dist/collection/components/chart/bar-chart/core/streaming/stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/bar-chart/core/streaming/stream-source.js +1 -0
- package/dist/collection/components/chart/bar-chart/core/types.js +1 -0
- package/dist/collection/components/chart/bar-chart/engines/standard/bar-chart-standard-renderer.js +1 -0
- package/dist/collection/components/chart/bar-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/bar-chart/engines/standard/sy-bar-chart-path.js +1 -0
- package/dist/collection/components/chart/bar-chart/index.js +1 -0
- package/dist/collection/components/chart/bar-chart/sy-bar-chart.css +1 -0
- package/dist/collection/components/chart/bar-chart/sy-bar-chart.js +1 -0
- package/dist/collection/components/chart/bubble-chart/core/bubble-chart-core.js +1 -0
- package/dist/collection/components/chart/bubble-chart/core/bubble-color.js +1 -0
- package/dist/collection/components/chart/bubble-chart/core/bubble-data.js +1 -0
- package/dist/collection/components/chart/bubble-chart/core/bubble-geometry.js +1 -0
- package/dist/collection/components/chart/bubble-chart/core/bubble-morph.js +1 -0
- package/dist/collection/components/chart/bubble-chart/core/bubble-pack.js +1 -0
- package/dist/collection/components/chart/bubble-chart/core/bubble-pro-renderer-loader.js +1 -0
- package/dist/collection/components/chart/bubble-chart/core/bubble-projection.js +1 -0
- package/dist/collection/components/chart/bubble-chart/core/bubble-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/bubble-chart/core/bubble-stream-source.js +1 -0
- package/dist/collection/components/chart/bubble-chart/core/types.js +1 -0
- package/dist/collection/components/chart/bubble-chart/engines/standard/bubble-standard-renderer.js +1 -0
- package/dist/collection/components/chart/bubble-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/bubble-chart/index.js +1 -0
- package/dist/collection/components/chart/bubble-chart/sy-bubble-chart.css +1 -0
- package/dist/collection/components/chart/bubble-chart/sy-bubble-chart.js +1 -0
- package/dist/collection/components/chart/column-chart/core/animation/animator.js +1 -0
- package/dist/collection/components/chart/column-chart/core/animation/easing.js +1 -0
- package/dist/collection/components/chart/column-chart/core/animation/index.js +1 -0
- package/dist/collection/components/chart/column-chart/core/animation/path-morph.js +1 -0
- package/dist/collection/components/chart/column-chart/core/column-border.js +1 -0
- package/dist/collection/components/chart/column-chart/core/column-chart-core.js +1 -0
- package/dist/collection/components/chart/column-chart/core/column-pro-renderer-loader.js +1 -0
- package/dist/collection/components/chart/column-chart/core/column-stack.js +1 -0
- package/dist/collection/components/chart/column-chart/core/streaming/index.js +1 -0
- package/dist/collection/components/chart/column-chart/core/streaming/ring-buffer-runtime.js +1 -0
- package/dist/collection/components/chart/column-chart/core/streaming/ring-buffer.js +1 -0
- package/dist/collection/components/chart/column-chart/core/streaming/stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/column-chart/core/streaming/stream-source.js +1 -0
- package/dist/collection/components/chart/column-chart/core/types.js +1 -0
- package/dist/collection/components/chart/column-chart/engines/standard/column-chart-standard-renderer.js +1 -0
- package/dist/collection/components/chart/column-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/column-chart/engines/standard/sy-column-chart-path.js +1 -0
- package/dist/collection/components/chart/column-chart/index.js +1 -0
- package/dist/collection/components/chart/column-chart/sy-column-chart.css +1 -0
- package/dist/collection/components/chart/column-chart/sy-column-chart.js +1 -0
- package/dist/collection/components/chart/data-zoom/core/data-zoom-model.js +1 -0
- package/dist/collection/components/chart/data-zoom/core/data-zoom-target.js +1 -0
- package/dist/collection/components/chart/data-zoom/sy-data-zoom.css +1 -0
- package/dist/collection/components/chart/data-zoom/sy-data-zoom.js +1 -0
- package/dist/collection/components/chart/dot-plot-chart/core/dot-plot-animator.js +1 -0
- package/dist/collection/components/chart/dot-plot-chart/core/dot-plot-chart-core.js +1 -0
- package/dist/collection/components/chart/dot-plot-chart/core/dot-plot-geometry.js +1 -0
- package/dist/collection/components/chart/dot-plot-chart/core/dot-plot-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/dot-plot-chart/core/dot-plot-stream-source.js +1 -0
- package/dist/collection/components/chart/dot-plot-chart/core/types.js +1 -0
- package/dist/collection/components/chart/dot-plot-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/dot-plot-chart/index.js +1 -0
- package/dist/collection/components/chart/dot-plot-chart/sy-dot-plot-chart.css +1 -0
- package/dist/collection/components/chart/dot-plot-chart/sy-dot-plot-chart.js +1 -0
- package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-animator.js +1 -0
- package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-chart-core.js +1 -0
- package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-data.js +1 -0
- package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-geometry.js +1 -0
- package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/dumbbell-chart/core/dumbbell-stream-source.js +1 -0
- package/dist/collection/components/chart/dumbbell-chart/core/types.js +1 -0
- package/dist/collection/components/chart/dumbbell-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/dumbbell-chart/index.js +1 -0
- package/dist/collection/components/chart/dumbbell-chart/sy-dumbbell-chart.css +1 -0
- package/dist/collection/components/chart/dumbbell-chart/sy-dumbbell-chart.js +1 -0
- package/dist/collection/components/chart/facade-types.js +1 -0
- package/dist/collection/components/chart/funnel-chart/core/funnel-animator.js +1 -0
- package/dist/collection/components/chart/funnel-chart/core/funnel-chart-core.js +1 -0
- package/dist/collection/components/chart/funnel-chart/core/funnel-geometry.js +1 -0
- package/dist/collection/components/chart/funnel-chart/core/funnel-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/funnel-chart/core/funnel-stream-source.js +1 -0
- package/dist/collection/components/chart/funnel-chart/core/funnel-tooltip.js +1 -0
- package/dist/collection/components/chart/funnel-chart/core/types.js +1 -0
- package/dist/collection/components/chart/funnel-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/funnel-chart/index.js +1 -0
- package/dist/collection/components/chart/funnel-chart/sy-funnel-chart.css +1 -0
- package/dist/collection/components/chart/funnel-chart/sy-funnel-chart.js +1 -0
- package/dist/collection/components/chart/gauge-chart/core/gauge-animator.js +1 -0
- package/dist/collection/components/chart/gauge-chart/core/gauge-chart-core.js +1 -0
- package/dist/collection/components/chart/gauge-chart/core/gauge-geometry.js +1 -0
- package/dist/collection/components/chart/gauge-chart/core/gauge-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/gauge-chart/core/gauge-stream-source.js +1 -0
- package/dist/collection/components/chart/gauge-chart/core/gauge-tooltip.js +1 -0
- package/dist/collection/components/chart/gauge-chart/core/types.js +1 -0
- package/dist/collection/components/chart/gauge-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/gauge-chart/index.js +1 -0
- package/dist/collection/components/chart/gauge-chart/sy-gauge-chart.css +1 -0
- package/dist/collection/components/chart/gauge-chart/sy-gauge-chart.js +1 -0
- package/dist/collection/components/chart/histogram-chart/core/histogram-animator.js +1 -0
- package/dist/collection/components/chart/histogram-chart/core/histogram-binning.js +1 -0
- package/dist/collection/components/chart/histogram-chart/core/histogram-chart-core.js +1 -0
- package/dist/collection/components/chart/histogram-chart/core/histogram-measure.js +1 -0
- package/dist/collection/components/chart/histogram-chart/core/histogram-pro-renderer-loader.js +1 -0
- package/dist/collection/components/chart/histogram-chart/core/histogram-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/histogram-chart/core/histogram-stream-source.js +1 -0
- package/dist/collection/components/chart/histogram-chart/core/types.js +1 -0
- package/dist/collection/components/chart/histogram-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/histogram-chart/index.js +1 -0
- package/dist/collection/components/chart/histogram-chart/sy-histogram-chart.css +1 -0
- package/dist/collection/components/chart/histogram-chart/sy-histogram-chart.js +1 -0
- package/dist/collection/components/chart/item-chart/core/item-chart-core.js +1 -0
- package/dist/collection/components/chart/item-chart/core/item-geometry.js +1 -0
- package/dist/collection/components/chart/item-chart/core/item-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/item-chart/core/item-stream-source.js +1 -0
- package/dist/collection/components/chart/item-chart/core/item-tooltip.js +1 -0
- package/dist/collection/components/chart/item-chart/core/types.js +1 -0
- package/dist/collection/components/chart/item-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/item-chart/index.js +1 -0
- package/dist/collection/components/chart/item-chart/sy-item-chart.css +1 -0
- package/dist/collection/components/chart/item-chart/sy-item-chart.js +1 -0
- package/dist/collection/components/chart/line-chart/core/animation/animator.js +1 -0
- package/dist/collection/components/chart/line-chart/core/animation/easing.js +1 -0
- package/dist/collection/components/chart/line-chart/core/animation/index.js +1 -0
- package/dist/collection/components/chart/line-chart/core/animation/path-morph.js +1 -0
- package/dist/collection/components/chart/line-chart/core/event/hit-test.js +1 -0
- package/dist/collection/components/chart/line-chart/core/event/index.js +1 -0
- package/dist/collection/components/chart/line-chart/core/license/engine-swap-license.js +1 -0
- package/dist/collection/components/chart/line-chart/core/line-chart-core.js +1 -0
- package/dist/collection/components/chart/line-chart/core/pro-renderer-loader.js +1 -0
- package/dist/collection/components/chart/line-chart/core/streaming/index.js +1 -0
- package/dist/collection/components/chart/line-chart/core/streaming/ring-buffer-runtime.js +1 -0
- package/dist/collection/components/chart/line-chart/core/streaming/ring-buffer.js +1 -0
- package/dist/collection/components/chart/line-chart/core/streaming/stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/line-chart/core/streaming/stream-source.js +1 -0
- package/dist/collection/components/chart/line-chart/core/types.js +1 -0
- package/dist/collection/components/chart/line-chart/core/visual-regression/baseline.js +1 -0
- package/dist/collection/components/chart/line-chart/core/visual-regression/dom-snapshot.js +1 -0
- package/dist/collection/components/chart/line-chart/core/visual-regression/stream-frame-snapshot.js +1 -0
- package/dist/collection/components/chart/line-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/line-chart/engines/standard/line-chart-standard-renderer.js +1 -0
- package/dist/collection/components/chart/line-chart/engines/standard/sy-line-chart-path.js +1 -0
- package/dist/collection/components/chart/line-chart/index.js +1 -0
- package/dist/collection/components/chart/line-chart/sy-line-chart.css +1 -0
- package/dist/collection/components/chart/line-chart/sy-line-chart.js +1 -0
- package/dist/collection/components/chart/lollipop-chart/core/lollipop-animator.js +1 -0
- package/dist/collection/components/chart/lollipop-chart/core/lollipop-chart-core.js +1 -0
- package/dist/collection/components/chart/lollipop-chart/core/lollipop-geometry.js +1 -0
- package/dist/collection/components/chart/lollipop-chart/core/lollipop-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/lollipop-chart/core/lollipop-stream-source.js +1 -0
- package/dist/collection/components/chart/lollipop-chart/core/types.js +1 -0
- package/dist/collection/components/chart/lollipop-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/lollipop-chart/index.js +1 -0
- package/dist/collection/components/chart/lollipop-chart/sy-lollipop-chart.css +1 -0
- package/dist/collection/components/chart/lollipop-chart/sy-lollipop-chart.js +1 -0
- package/dist/collection/components/chart/marimekko-chart/core/marimekko-animator.js +1 -0
- package/dist/collection/components/chart/marimekko-chart/core/marimekko-chart-core.js +1 -0
- package/dist/collection/components/chart/marimekko-chart/core/marimekko-geometry.js +1 -0
- package/dist/collection/components/chart/marimekko-chart/core/marimekko-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/marimekko-chart/core/marimekko-stream-source.js +1 -0
- package/dist/collection/components/chart/marimekko-chart/core/types.js +1 -0
- package/dist/collection/components/chart/marimekko-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/marimekko-chart/index.js +1 -0
- package/dist/collection/components/chart/marimekko-chart/sy-marimekko-chart.css +1 -0
- package/dist/collection/components/chart/marimekko-chart/sy-marimekko-chart.js +1 -0
- package/dist/collection/components/chart/navigator/core/navigator-preview.js +1 -0
- package/dist/collection/components/chart/navigator/sy-navigator.css +1 -0
- package/dist/collection/components/chart/navigator/sy-navigator.js +1 -0
- package/dist/collection/components/chart/pareto-chart/core/pareto-animator.js +1 -0
- package/dist/collection/components/chart/pareto-chart/core/pareto-chart-core.js +1 -0
- package/dist/collection/components/chart/pareto-chart/core/pareto-geometry.js +1 -0
- package/dist/collection/components/chart/pareto-chart/core/pareto-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/pareto-chart/core/pareto-stream-source.js +1 -0
- package/dist/collection/components/chart/pareto-chart/core/types.js +1 -0
- package/dist/collection/components/chart/pareto-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/pareto-chart/index.js +1 -0
- package/dist/collection/components/chart/pareto-chart/sy-pareto-chart.css +1 -0
- package/dist/collection/components/chart/pareto-chart/sy-pareto-chart.js +1 -0
- package/dist/collection/components/chart/pictorial-chart/core/path-bounds.js +1 -0
- package/dist/collection/components/chart/pictorial-chart/core/pictorial-animator.js +1 -0
- package/dist/collection/components/chart/pictorial-chart/core/pictorial-chart-core.js +1 -0
- package/dist/collection/components/chart/pictorial-chart/core/pictorial-geometry.js +1 -0
- package/dist/collection/components/chart/pictorial-chart/core/pictorial-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/pictorial-chart/core/pictorial-stream-source.js +1 -0
- package/dist/collection/components/chart/pictorial-chart/core/types.js +1 -0
- package/dist/collection/components/chart/pictorial-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/pictorial-chart/index.js +1 -0
- package/dist/collection/components/chart/pictorial-chart/sy-pictorial-chart.css +1 -0
- package/dist/collection/components/chart/pictorial-chart/sy-pictorial-chart.js +1 -0
- package/dist/collection/components/chart/pie-chart/core/pie-animator.js +1 -0
- package/dist/collection/components/chart/pie-chart/core/pie-chart-core.js +1 -0
- package/dist/collection/components/chart/pie-chart/core/pie-flip.js +1 -0
- package/dist/collection/components/chart/pie-chart/core/pie-geometry.js +1 -0
- package/dist/collection/components/chart/pie-chart/core/pie-labels.js +1 -0
- package/dist/collection/components/chart/pie-chart/core/pie-leader-lines.js +1 -0
- package/dist/collection/components/chart/pie-chart/core/pie-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/pie-chart/core/pie-stream-source.js +1 -0
- package/dist/collection/components/chart/pie-chart/core/pie-tooltip.js +1 -0
- package/dist/collection/components/chart/pie-chart/core/types.js +1 -0
- package/dist/collection/components/chart/pie-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/pie-chart/index.js +1 -0
- package/dist/collection/components/chart/pie-chart/license/chart-streaming-gate.js +1 -0
- package/dist/collection/components/chart/pie-chart/license/standard-engine-status.js +1 -0
- package/dist/collection/components/chart/pie-chart/sy-pie-chart.css +1 -0
- package/dist/collection/components/chart/pie-chart/sy-pie-chart.js +1 -0
- package/dist/collection/components/chart/polar-chart/core/polar-chart-core.js +1 -0
- package/dist/collection/components/chart/polar-chart/core/polar-geometry.js +1 -0
- package/dist/collection/components/chart/polar-chart/core/polar-pro-records.js +1 -0
- package/dist/collection/components/chart/polar-chart/core/polar-pro-renderer-loader.js +1 -0
- package/dist/collection/components/chart/polar-chart/core/polar-sector-bounds.js +1 -0
- package/dist/collection/components/chart/polar-chart/core/polar-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/polar-chart/core/polar-stream-source.js +1 -0
- package/dist/collection/components/chart/polar-chart/core/polar-tooltip.js +1 -0
- package/dist/collection/components/chart/polar-chart/core/types.js +1 -0
- package/dist/collection/components/chart/polar-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/polar-chart/index.js +1 -0
- package/dist/collection/components/chart/polar-chart/sy-polar-chart.css +1 -0
- package/dist/collection/components/chart/polar-chart/sy-polar-chart.js +1 -0
- package/dist/collection/components/chart/radar-chart/core/radar-animator.js +1 -0
- package/dist/collection/components/chart/radar-chart/core/radar-chart-core.js +1 -0
- package/dist/collection/components/chart/radar-chart/core/radar-crosshair.js +1 -0
- package/dist/collection/components/chart/radar-chart/core/radar-geometry.js +1 -0
- package/dist/collection/components/chart/radar-chart/core/radar-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/radar-chart/core/radar-stream-source.js +1 -0
- package/dist/collection/components/chart/radar-chart/core/radar-tooltip.js +1 -0
- package/dist/collection/components/chart/radar-chart/core/types.js +1 -0
- package/dist/collection/components/chart/radar-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/radar-chart/index.js +1 -0
- package/dist/collection/components/chart/radar-chart/sy-radar-chart.css +1 -0
- package/dist/collection/components/chart/radar-chart/sy-radar-chart.js +1 -0
- package/dist/collection/components/chart/scatter-chart/core/animation/easing.js +1 -0
- package/dist/collection/components/chart/scatter-chart/core/animation/index.js +1 -0
- package/dist/collection/components/chart/scatter-chart/core/animation/scatter-animator.js +1 -0
- package/dist/collection/components/chart/scatter-chart/core/perf.js +1 -0
- package/dist/collection/components/chart/scatter-chart/core/scatter-chart-core.js +1 -0
- package/dist/collection/components/chart/scatter-chart/core/scatter-draw-signature.js +1 -0
- package/dist/collection/components/chart/scatter-chart/core/scatter-pro-renderer-loader.js +1 -0
- package/dist/collection/components/chart/scatter-chart/core/streaming/index.js +1 -0
- package/dist/collection/components/chart/scatter-chart/core/streaming/scatter-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/scatter-chart/core/streaming/scatter-stream-source.js +1 -0
- package/dist/collection/components/chart/scatter-chart/core/types.js +1 -0
- package/dist/collection/components/chart/scatter-chart/core/visual-map.js +1 -0
- package/dist/collection/components/chart/scatter-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/scatter-chart/engines/standard/scatter-chart-standard-renderer.js +1 -0
- package/dist/collection/components/chart/scatter-chart/engines/standard/sy-scatter-chart-path.js +1 -0
- package/dist/collection/components/chart/scatter-chart/index.js +1 -0
- package/dist/collection/components/chart/scatter-chart/sy-scatter-chart.css +1 -0
- package/dist/collection/components/chart/scatter-chart/sy-scatter-chart.js +1 -0
- package/dist/collection/components/chart/stem-leaf-chart/core/stem-leaf-core.js +1 -0
- package/dist/collection/components/chart/stem-leaf-chart/core/stem-leaf-model.js +1 -0
- package/dist/collection/components/chart/stem-leaf-chart/core/stem-leaf-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/stem-leaf-chart/core/stem-leaf-stream-source.js +1 -0
- package/dist/collection/components/chart/stem-leaf-chart/core/stem-leaf-tooltip.js +1 -0
- package/dist/collection/components/chart/stem-leaf-chart/core/types.js +1 -0
- package/dist/collection/components/chart/stem-leaf-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/stem-leaf-chart/index.js +1 -0
- package/dist/collection/components/chart/stem-leaf-chart/sy-stem-leaf-chart.css +1 -0
- package/dist/collection/components/chart/stem-leaf-chart/sy-stem-leaf-chart.js +1 -0
- package/dist/collection/components/chart/sy-chart.css +1 -0
- package/dist/collection/components/chart/sy-chart.js +1 -0
- package/dist/collection/components/chart/tilemap-chart/core/tilemap-core.js +1 -0
- package/dist/collection/components/chart/tilemap-chart/core/tilemap-geometry.js +1 -0
- package/dist/collection/components/chart/tilemap-chart/core/tilemap-legend.js +1 -0
- package/dist/collection/components/chart/tilemap-chart/core/tilemap-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/tilemap-chart/core/tilemap-stream-source.js +1 -0
- package/dist/collection/components/chart/tilemap-chart/core/tilemap-tooltip.js +1 -0
- package/dist/collection/components/chart/tilemap-chart/core/types.js +1 -0
- package/dist/collection/components/chart/tilemap-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/tilemap-chart/index.js +1 -0
- package/dist/collection/components/chart/tilemap-chart/sy-tilemap.css +1 -0
- package/dist/collection/components/chart/tilemap-chart/sy-tilemap.js +1 -0
- package/dist/collection/components/chart/tornado-chart/core/tornado-animator.js +1 -0
- package/dist/collection/components/chart/tornado-chart/core/tornado-chart-core.js +1 -0
- package/dist/collection/components/chart/tornado-chart/core/tornado-geometry.js +1 -0
- package/dist/collection/components/chart/tornado-chart/core/tornado-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/tornado-chart/core/tornado-stream-source.js +1 -0
- package/dist/collection/components/chart/tornado-chart/core/types.js +1 -0
- package/dist/collection/components/chart/tornado-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/tornado-chart/index.js +1 -0
- package/dist/collection/components/chart/tornado-chart/sy-tornado-chart.css +1 -0
- package/dist/collection/components/chart/tornado-chart/sy-tornado-chart.js +1 -0
- package/dist/collection/components/chart/variwide-chart/core/types.js +1 -0
- package/dist/collection/components/chart/variwide-chart/core/variwide-animator.js +1 -0
- package/dist/collection/components/chart/variwide-chart/core/variwide-chart-core.js +1 -0
- package/dist/collection/components/chart/variwide-chart/core/variwide-geometry.js +1 -0
- package/dist/collection/components/chart/variwide-chart/core/variwide-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/variwide-chart/core/variwide-stream-source.js +1 -0
- package/dist/collection/components/chart/variwide-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/variwide-chart/index.js +1 -0
- package/dist/collection/components/chart/variwide-chart/sy-variwide-chart.css +1 -0
- package/dist/collection/components/chart/variwide-chart/sy-variwide-chart.js +1 -0
- package/dist/collection/components/chart/visual-map/sy-visual-map.css +1 -0
- package/dist/collection/components/chart/visual-map/sy-visual-map.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/core/types.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/core/wafer-animator.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/core/wafer-bin.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/core/wafer-correlation.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/core/wafer-defect.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/core/wafer-die-index.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/core/wafer-geometry.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/core/wafer-legend.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/core/wafer-map-core.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/core/wafer-render.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/core/wafer-shot.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/core/wafer-stack.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/core/wafer-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/core/wafer-stream-source.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/core/wafer-value.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/core/wafer-yield-zone.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/index.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/sy-wafer-correlation.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/sy-wafer-map.css +1 -0
- package/dist/collection/components/chart/wafer-map-chart/sy-wafer-map.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/sy-wafer-stack.js +1 -0
- package/dist/collection/components/chart/wafer-map-chart/sy-yield-zone-chart.js +1 -0
- package/dist/collection/components/chart/word-cloud-chart/core/types.js +1 -0
- package/dist/collection/components/chart/word-cloud-chart/core/word-cloud-core.js +1 -0
- package/dist/collection/components/chart/word-cloud-chart/core/word-layout.js +1 -0
- package/dist/collection/components/chart/word-cloud-chart/core/word-measure.js +1 -0
- package/dist/collection/components/chart/word-cloud-chart/core/word-stream-source-runtime.js +1 -0
- package/dist/collection/components/chart/word-cloud-chart/core/word-stream-source.js +1 -0
- package/dist/collection/components/chart/word-cloud-chart/core/word-tooltip.js +1 -0
- package/dist/collection/components/chart/word-cloud-chart/engines/standard/index.js +1 -0
- package/dist/collection/components/chart/word-cloud-chart/index.js +1 -0
- package/dist/collection/components/chart/word-cloud-chart/sy-word-cloud.css +1 -0
- package/dist/collection/components/chart/word-cloud-chart/sy-word-cloud.js +1 -0
- package/dist/collection/components/dynamic-source.js +1 -0
- package/dist/collection/components/grid/core/a11y/aria-grid.js +1 -0
- package/dist/collection/components/grid/core/a11y/audit-checklist.js +1 -0
- package/dist/collection/components/grid/core/a11y/contrast.js +1 -0
- package/dist/collection/components/grid/core/a11y/screen-reader-transcript.js +1 -0
- package/dist/collection/components/grid/core/a11y/snapshot.js +1 -0
- package/dist/collection/components/grid/core/api/base-types.js +1 -0
- package/dist/collection/components/grid/core/api/contracts.js +1 -0
- package/dist/collection/components/grid/core/api/index.js +1 -0
- package/dist/collection/components/grid/core/api/live-object-model.js +1 -0
- package/dist/collection/components/grid/core/audit/audit-export.js +1 -0
- package/dist/collection/components/grid/core/audit/audit-log.js +1 -0
- package/dist/collection/components/grid/core/brand/grid-brand.js +2 -0
- package/dist/collection/components/grid/core/build-tier.js +1 -0
- package/dist/collection/components/grid/core/cell/cell-class-rules.js +1 -0
- package/dist/collection/components/grid/core/cell/cell-style.js +1 -0
- package/dist/collection/components/grid/core/cell/expression-runtime.js +1 -0
- package/dist/collection/components/grid/core/cell/index.js +1 -0
- package/dist/collection/components/grid/core/cell/renderer-registry.js +1 -0
- package/dist/collection/components/grid/core/cell/value-formatter.js +1 -0
- package/dist/collection/components/grid/core/cell/value-getter.js +1 -0
- package/dist/collection/components/grid/core/cell-cycle.js +1 -0
- package/dist/collection/components/grid/core/cell-flash/cell-flash.js +1 -0
- package/dist/collection/components/grid/core/cell-tooltip/hover-delay.js +1 -0
- package/dist/collection/components/grid/core/cell-tooltip/index.js +1 -0
- package/dist/collection/components/grid/core/cell-tooltip/tooltip-text.js +1 -0
- package/dist/collection/components/grid/core/chart-link/chart-bridge-types-probe.js +1 -0
- package/dist/collection/components/grid/core/clipboard/parse.js +1 -0
- package/dist/collection/components/grid/core/clipboard/paste-plan.js +1 -0
- package/dist/collection/components/grid/core/clipboard/serialize.js +1 -0
- package/dist/collection/components/grid/core/collab-css.js +1 -0
- package/dist/collection/components/grid/core/collab-loader.js +1 -0
- package/dist/collection/components/grid/core/collab-mentions.js +1 -0
- package/dist/collection/components/grid/core/collab-types.js +1 -0
- package/dist/collection/components/grid/core/column/column-auto-size.js +1 -0
- package/dist/collection/components/grid/core/column/column-groups.js +1 -0
- package/dist/collection/components/grid/core/column/column-pin.js +1 -0
- package/dist/collection/components/grid/core/column/column-reorder.js +1 -0
- package/dist/collection/components/grid/core/column/column-resize.js +1 -0
- package/dist/collection/components/grid/core/column/column-sort.js +1 -0
- package/dist/collection/components/grid/core/column/column-state.js +1 -0
- package/dist/collection/components/grid/core/column/column-visibility.js +1 -0
- package/dist/collection/components/grid/core/column/index.js +1 -0
- package/dist/collection/components/grid/core/component/async-value-source.js +1 -0
- package/dist/collection/components/grid/core/component/component-runtime-chunk.js +1 -0
- package/dist/collection/components/grid/core/component/contracts.js +1 -0
- package/dist/collection/components/grid/core/component/editor-adapter.js +1 -0
- package/dist/collection/components/grid/core/component/editor-facade-controller.js +1 -0
- package/dist/collection/components/grid/core/component/editor-validation-presentation.js +1 -0
- package/dist/collection/components/grid/core/component/filter-adapter.js +1 -0
- package/dist/collection/components/grid/core/component/filter-facade-controller.js +1 -0
- package/dist/collection/components/grid/core/component/framework-bridge.js +1 -0
- package/dist/collection/components/grid/core/component/index.js +1 -0
- package/dist/collection/components/grid/core/component/popup-placement.js +1 -0
- package/dist/collection/components/grid/core/component/registry.js +1 -0
- package/dist/collection/components/grid/core/component/renderer-adapter.js +1 -0
- package/dist/collection/components/grid/core/component/renderer-controller.js +1 -0
- package/dist/collection/components/grid/core/component/rich-select-editor.js +1 -0
- package/dist/collection/components/grid/core/component/runtime.js +1 -0
- package/dist/collection/components/grid/core/conditional-format/cf-builder-chunk.js +1 -0
- package/dist/collection/components/grid/core/conditional-format/cf-builder.js +1 -0
- package/dist/collection/components/grid/core/conditional-format/conditional-format.js +1 -0
- package/dist/collection/components/grid/core/context-menu/clipboard.js +1 -0
- package/dist/collection/components/grid/core/context-menu/index.js +1 -0
- package/dist/collection/components/grid/core/context-menu/menu.js +1 -0
- package/dist/collection/components/grid/core/context-menu/types.js +1 -0
- package/dist/collection/components/grid/core/edit/checkbox-editor-render.js +1 -0
- package/dist/collection/components/grid/core/edit/checkbox-editor.js +1 -0
- package/dist/collection/components/grid/core/edit/date-editor-render.js +1 -0
- package/dist/collection/components/grid/core/edit/date-editor.js +1 -0
- package/dist/collection/components/grid/core/edit/date-picker.js +1 -0
- package/dist/collection/components/grid/core/edit/index.js +1 -0
- package/dist/collection/components/grid/core/edit/large-text-editor.js +1 -0
- package/dist/collection/components/grid/core/edit/number-editor-render.js +1 -0
- package/dist/collection/components/grid/core/edit/number-editor.js +1 -0
- package/dist/collection/components/grid/core/edit/prospective-edit.js +1 -0
- package/dist/collection/components/grid/core/edit/row-edit.js +1 -0
- package/dist/collection/components/grid/core/edit/select-editor-render.js +1 -0
- package/dist/collection/components/grid/core/edit/select-editor.js +1 -0
- package/dist/collection/components/grid/core/edit/text-editor-render.js +1 -0
- package/dist/collection/components/grid/core/edit/text-editor.js +1 -0
- package/dist/collection/components/grid/core/edit/textarea-editor-render.js +1 -0
- package/dist/collection/components/grid/core/edit/textarea-editor.js +1 -0
- package/dist/collection/components/grid/core/edit/transaction-api.js +1 -0
- package/dist/collection/components/grid/core/edit/transaction.js +1 -0
- package/dist/collection/components/grid/core/edit/undo-redo.js +1 -0
- package/dist/collection/components/grid/core/empty-state-cycle.js +1 -0
- package/dist/collection/components/grid/core/event/index.js +1 -0
- package/dist/collection/components/grid/core/event/row-click.js +1 -0
- package/dist/collection/components/grid/core/export/csv.js +1 -0
- package/dist/collection/components/grid/core/export/index.js +1 -0
- package/dist/collection/components/grid/core/filter/advanced-query.js +1 -0
- package/dist/collection/components/grid/core/filter/condition-builder.js +1 -0
- package/dist/collection/components/grid/core/filter/date.js +1 -0
- package/dist/collection/components/grid/core/filter/filter-ui-types.js +1 -0
- package/dist/collection/components/grid/core/filter/number.js +1 -0
- package/dist/collection/components/grid/core/filter/quick-filter.js +1 -0
- package/dist/collection/components/grid/core/filter/text.js +1 -0
- package/dist/collection/components/grid/core/filter-cycle.js +1 -0
- package/dist/collection/components/grid/core/floating/index.js +1 -0
- package/dist/collection/components/grid/core/floating/positioning.js +1 -0
- package/dist/collection/components/grid/core/formula-acceleration-loader.js +1 -0
- package/dist/collection/components/grid/core/formula-text.js +1 -0
- package/dist/collection/components/grid/core/grid-core.js +1 -0
- package/dist/collection/components/grid/core/hover/row.js +1 -0
- package/dist/collection/components/grid/core/import/csv/index.js +1 -0
- package/dist/collection/components/grid/core/import/csv/parse-csv.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/cell-ref.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/errors.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/formula.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/grid-import-chunk.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/index.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/inflate.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/merged-cells.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/number-format.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/parse-xlsx.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/pick-sheet.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/shared-strings.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/sheet-streaming.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/sheet.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/styles.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/workbook.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/xml-parser.js +1 -0
- package/dist/collection/components/grid/core/import/xlsx/zip-reader.js +1 -0
- package/dist/collection/components/grid/core/license/grid-acceleration-port.js +3 -0
- package/dist/collection/components/grid/core/license/grid-feature.js +1 -0
- package/dist/collection/components/grid/core/license/grid-license-facade.js +4 -0
- package/dist/collection/components/grid/core/license/grid-license-runtime.js +1 -0
- package/dist/collection/components/grid/core/license/grid-license-session.js +1 -0
- package/dist/collection/components/grid/core/license/grid-license.js +5 -0
- package/dist/collection/components/grid/core/license/grid-method-route.js +1 -0
- package/dist/collection/components/grid/core/license/grid-method-table.js +1 -0
- package/dist/collection/components/grid/core/loader/chunk-contract.js +1 -0
- package/dist/collection/components/grid/core/loader/chunk-loader.js +1 -0
- package/dist/collection/components/grid/core/loading-cycle.js +1 -0
- package/dist/collection/components/grid/core/locale/messages.js +1 -0
- package/dist/collection/components/grid/core/locale/presets.js +1 -0
- package/dist/collection/components/grid/core/locale/resolve.js +1 -0
- package/dist/collection/components/grid/core/numeric/safe-numeric.js +1 -0
- package/dist/collection/components/grid/core/pagination-cycle.js +1 -0
- package/dist/collection/components/grid/core/pipeline/comparator-default.js +1 -0
- package/dist/collection/components/grid/core/pipeline/engine-rows-memo.js +1 -0
- package/dist/collection/components/grid/core/pipeline/filter.js +1 -0
- package/dist/collection/components/grid/core/pipeline/paginate.js +1 -0
- package/dist/collection/components/grid/core/pipeline/pipeline.js +1 -0
- package/dist/collection/components/grid/core/pipeline/sort.js +1 -0
- package/dist/collection/components/grid/core/pipeline/types.js +1 -0
- package/dist/collection/components/grid/core/pivot/combination-warnings.js +1 -0
- package/dist/collection/components/grid/core/pro-chunk-sources.js +1 -0
- package/dist/collection/components/grid/core/pro-engine-loader.js +1 -0
- package/dist/collection/components/grid/core/pro-gate/engine-precedence.js +1 -0
- package/dist/collection/components/grid/core/pro-gate/grid-chunk-backstop.js +1 -0
- package/dist/collection/components/grid/core/pro-gate/grid-chunk-features.js +1 -0
- package/dist/collection/components/grid/core/pro-gate/grid-clipboard-policy.js +1 -0
- package/dist/collection/components/grid/core/pro-gate/grid-declarations.js +1 -0
- package/dist/collection/components/grid/core/pro-gate/grid-engine-license.js +1 -0
- package/dist/collection/components/grid/core/pro-gate/grid-formula-freeze.js +1 -0
- package/dist/collection/components/grid/core/pro-gate/grid-freeze-work.js +1 -0
- package/dist/collection/components/grid/core/pro-gate/grid-pro-gate.js +2 -0
- package/dist/collection/components/grid/core/pro-gate/grid-state-requirements.js +1 -0
- package/dist/collection/components/grid/core/rbac/cell-access.js +1 -0
- package/dist/collection/components/grid/core/row-drag/drag-safety.js +1 -0
- package/dist/collection/components/grid/core/row-drag/drop-zones.js +1 -0
- package/dist/collection/components/grid/core/row-drag/reorder.js +1 -0
- package/dist/collection/components/grid/core/row-drag/row-drag-chunk.js +1 -0
- package/dist/collection/components/grid/core/row-drag/row-drag-facade.js +1 -0
- package/dist/collection/components/grid/core/row-drag/unmanaged-drag.js +1 -0
- package/dist/collection/components/grid/core/row-layout/aligned-grids-facade.js +1 -0
- package/dist/collection/components/grid/core/row-layout/aligned-grids.js +1 -0
- package/dist/collection/components/grid/core/row-layout/col-span.js +1 -0
- package/dist/collection/components/grid/core/row-layout/full-width-facade.js +1 -0
- package/dist/collection/components/grid/core/row-layout/full-width-rows.js +1 -0
- package/dist/collection/components/grid/core/row-layout/pinned-row-policy.js +1 -0
- package/dist/collection/components/grid/core/row-layout/pinned-rows-facade.js +1 -0
- package/dist/collection/components/grid/core/row-layout/pinned-rows.js +1 -0
- package/dist/collection/components/grid/core/row-layout/row-layout-chunk.js +1 -0
- package/dist/collection/components/grid/core/row-layout/row-layout-facade.js +1 -0
- package/dist/collection/components/grid/core/row-layout/row-span.js +1 -0
- package/dist/collection/components/grid/core/row-layout/span-interaction.js +1 -0
- package/dist/collection/components/grid/core/row-markers.js +1 -0
- package/dist/collection/components/grid/core/row-model/block-cache.js +1 -0
- package/dist/collection/components/grid/core/row-model/client-side.js +1 -0
- package/dist/collection/components/grid/core/row-model/datasource.js +1 -0
- package/dist/collection/components/grid/core/row-model/index.js +1 -0
- package/dist/collection/components/grid/core/row-model/infinite.js +1 -0
- package/dist/collection/components/grid/core/row-model/placeholder-row.js +1 -0
- package/dist/collection/components/grid/core/row-model/viewport-adapters.js +1 -0
- package/dist/collection/components/grid/core/selection/canonical-ranges.js +1 -0
- package/dist/collection/components/grid/core/selection/checkbox-column.js +1 -0
- package/dist/collection/components/grid/core/selection/range-bounds.js +1 -0
- package/dist/collection/components/grid/core/selection/row.js +1 -0
- package/dist/collection/components/grid/core/side-bar/side-bar.js +1 -0
- package/dist/collection/components/grid/core/snapshot/snapshot-diff.js +1 -0
- package/dist/collection/components/grid/core/snapshot/snapshot.js +1 -0
- package/dist/collection/components/grid/core/sort-cycle.js +1 -0
- package/dist/collection/components/grid/core/sort-model.js +1 -0
- package/dist/collection/components/grid/core/spreadsheet-text.js +1 -0
- package/dist/collection/components/grid/core/state/canonical.js +1 -0
- package/dist/collection/components/grid/core/state/contracts.js +1 -0
- package/dist/collection/components/grid/core/state/filter-handlers.js +1 -0
- package/dist/collection/components/grid/core/state/find-state.js +1 -0
- package/dist/collection/components/grid/core/state/grid-state.js +1 -0
- package/dist/collection/components/grid/core/state/migrate.js +1 -0
- package/dist/collection/components/grid/core/state/ownership.js +1 -0
- package/dist/collection/components/grid/core/state/persistence.js +1 -0
- package/dist/collection/components/grid/core/state/slices/columns.js +1 -0
- package/dist/collection/components/grid/core/state/slices/filter.js +1 -0
- package/dist/collection/components/grid/core/state/slices/rows.js +1 -0
- package/dist/collection/components/grid/core/state/slices/ui.js +1 -0
- package/dist/collection/components/grid/core/state/state-events.js +1 -0
- package/dist/collection/components/grid/core/state/validate.js +1 -0
- package/dist/collection/components/grid/core/status-bar/status-bar.js +1 -0
- package/dist/collection/components/grid/core/sync/array.js +1 -0
- package/dist/collection/components/grid/core/sync/collab-bridge.js +1 -0
- package/dist/collection/components/grid/core/sync/id.js +1 -0
- package/dist/collection/components/grid/core/sync/text.js +1 -0
- package/dist/collection/components/grid/core/sync/undo-manager.js +1 -0
- package/dist/collection/components/grid/core/theme/apply.js +1 -0
- package/dist/collection/components/grid/core/theme/presets.js +1 -0
- package/dist/collection/components/grid/core/theme/tokens.js +1 -0
- package/dist/collection/components/grid/core/types.js +1 -0
- package/dist/collection/components/grid/core/utils/structural.js +1 -0
- package/dist/collection/components/grid/core/validation/validation.js +1 -0
- package/dist/collection/components/grid/core/virtualizer/cell-virtualizer.js +1 -0
- package/dist/collection/components/grid/core/virtualizer/column-virtualizer.js +1 -0
- package/dist/collection/components/grid/core/virtualizer/index.js +1 -0
- package/dist/collection/components/grid/core/virtualizer/row-virtualizer.js +1 -0
- package/dist/collection/components/grid/core/visual-regression/baseline.js +1 -0
- package/dist/collection/components/grid/core/visual-regression/dom-snapshot.js +1 -0
- package/dist/collection/components/grid/core/visual-regression/real-dom-canonicalise.js +1 -0
- package/dist/collection/components/grid/core/vnode-factory.js +1 -0
- package/dist/collection/components/grid/engines/standard/index.js +1 -0
- package/dist/collection/components/grid/engines/standard/sy-grid-standard.css +1 -0
- package/dist/collection/components/grid/engines/standard/sy-grid-standard.js +1 -0
- package/dist/collection/components/grid/index.js +1 -0
- package/dist/collection/components/grid/sy-grid.css +1 -0
- package/dist/collection/components/grid/sy-grid.js +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/license/base64url.js +1 -0
- package/dist/collection/license/certificate.js +1 -0
- package/dist/collection/license/constants.js +1 -0
- package/dist/collection/license/context.js +1 -0
- package/dist/collection/license/deployment.js +1 -0
- package/dist/collection/license/diagnostic-constants.js +1 -0
- package/dist/collection/license/discovery.js +1 -0
- package/dist/collection/license/errors.js +1 -0
- package/dist/collection/license/evaluate.js +1 -0
- package/dist/collection/license/failure.js +1 -0
- package/dist/collection/license/fetch-license.js +1 -0
- package/dist/collection/license/generated/chart-features.generated.js +1 -0
- package/dist/collection/license/generated/core-features.generated.js +1 -0
- package/dist/collection/license/generated/feature-map.generated.js +1 -0
- package/dist/collection/license/generated/grid-features.generated.js +1 -0
- package/dist/collection/license/generated/products.generated.js +1 -0
- package/dist/collection/license/index.js +1 -0
- package/dist/collection/license/json.js +1 -0
- package/dist/collection/license/jws.js +1 -0
- package/dist/collection/license/registry.js +1 -0
- package/dist/collection/license/release.generated.js +1 -0
- package/dist/collection/license/runtime.js +1 -0
- package/dist/collection/license/subtle.js +1 -0
- package/dist/collection/license/timers.js +1 -0
- package/dist/collection/license/timestamp.js +1 -0
- package/dist/collection/license/trust-keys.generated.js +1 -0
- package/dist/collection/license/trust-store.js +1 -0
- package/dist/collection/license/types.js +1 -0
- package/dist/collection/license/verify.js +1 -0
- package/dist/collection/license/watch.js +1 -0
- package/dist/collection/utils/story-template.js +1 -0
- package/dist/components/chart-types.d.ts +112 -0
- package/dist/components/chart-types.js +1 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.js +1 -0
- package/dist/components/p-4CjYGJmq.js +1 -0
- package/dist/components/p-B2xXnkZp.js +1 -0
- package/dist/components/p-B3gMdXEP.js +1 -0
- package/dist/components/p-BEKrg3SG.js +1 -0
- package/dist/components/p-BKZM2o7w.js +1 -0
- package/dist/components/p-BMJUs2xT.js +1 -0
- package/dist/components/p-BPmwlQtL.js +1 -0
- package/dist/components/p-BVmDGX0a.js +1 -0
- package/dist/components/p-BXmzh2Uk.js +1 -0
- package/dist/components/p-BY5ObKGD.js +1 -0
- package/dist/components/p-BYBaMhHn.js +1 -0
- package/dist/components/p-BjWO1Np_.js +7 -0
- package/dist/components/p-BsBcTKjx.js +1 -0
- package/dist/components/p-BwM4aW0R.js +1 -0
- package/dist/components/p-BwtrZuf8.js +1 -0
- package/dist/components/p-C0f63Npv.js +1 -0
- package/dist/components/p-C1RaN8eG.js +1 -0
- package/dist/components/p-C374wsaF.js +1 -0
- package/dist/components/p-C3jLZ9n2.js +1 -0
- package/dist/components/p-C4HtF7VM.js +1 -0
- package/dist/components/p-C7iceRLc.js +1 -0
- package/dist/components/p-CChSqEEO.js +1 -0
- package/dist/components/p-CHzVSIZc.js +1 -0
- package/dist/components/p-COVKN1k-.js +1 -0
- package/dist/components/p-COqnXkRL.js +1 -0
- package/dist/components/p-CTw0rE8p.js +1 -0
- package/dist/components/p-C_2TIPHD.js +1 -0
- package/dist/components/p-CgUI9S4_.js +1 -0
- package/dist/components/p-Cr85dazN.js +1 -0
- package/dist/components/p-CsYy63Zk.js +1 -0
- package/dist/components/p-D0Zr5HHA.js +1 -0
- package/dist/components/p-D3LVx-JL.js +1 -0
- package/dist/components/p-D5aEHK78.js +1 -0
- package/dist/components/p-D5noTyYE.js +1 -0
- package/dist/components/p-D7cSRpbb.js +1 -0
- package/dist/components/p-D8Cooryu.js +1 -0
- package/dist/components/p-DC8q69mD.js +1 -0
- package/dist/components/p-DH8K7zqB.js +1 -0
- package/dist/components/p-DO6vGxJP.js +1 -0
- package/dist/components/p-DQ1RB1XB.js +1 -0
- package/dist/components/p-DTZUbymc.js +1 -0
- package/dist/components/p-DaxJ0D3O.js +1 -0
- package/dist/components/p-DhcQQtwn.js +1 -0
- package/dist/components/p-DlE5rQTs.js +1 -0
- package/dist/components/p-DmhWH-SN.js +1 -0
- package/dist/components/p-DovcCKwV.js +1 -0
- package/dist/components/p-Dx-FsUbT.js +1 -0
- package/dist/components/p-EXuVQfpl.js +1 -0
- package/dist/components/p-GI1Zoo93.js +1 -0
- package/dist/components/p-Qu4itcma.js +1 -0
- package/dist/components/p-S3uzYKsD.js +1 -0
- package/dist/components/p-WQSantHg.js +1 -0
- package/dist/components/p-kJe8wHkN.js +1 -0
- package/dist/components/p-rwo1tgqX.js +1 -0
- package/dist/components/package.json +1 -0
- package/dist/components/sy-area-chart.d.ts +8 -0
- package/dist/components/sy-area-chart.js +1 -0
- package/dist/components/sy-bar-chart.d.ts +8 -0
- package/dist/components/sy-bar-chart.js +1 -0
- package/dist/components/sy-bubble-chart.d.ts +8 -0
- package/dist/components/sy-bubble-chart.js +1 -0
- package/dist/components/sy-chart.d.ts +8 -0
- package/dist/components/sy-chart.js +1 -0
- package/dist/components/sy-column-chart.d.ts +8 -0
- package/dist/components/sy-column-chart.js +1 -0
- package/dist/components/sy-data-zoom.d.ts +8 -0
- package/dist/components/sy-data-zoom.js +1 -0
- package/dist/components/sy-dot-plot-chart.d.ts +8 -0
- package/dist/components/sy-dot-plot-chart.js +1 -0
- package/dist/components/sy-dumbbell-chart.d.ts +8 -0
- package/dist/components/sy-dumbbell-chart.js +1 -0
- package/dist/components/sy-funnel-chart.d.ts +8 -0
- package/dist/components/sy-funnel-chart.js +1 -0
- package/dist/components/sy-gauge-chart.d.ts +8 -0
- package/dist/components/sy-gauge-chart.js +1 -0
- package/dist/components/sy-grid-standard.d.ts +8 -0
- package/dist/components/sy-grid-standard.js +1 -0
- package/dist/components/sy-grid.d.ts +8 -0
- package/dist/components/sy-grid.js +4 -0
- package/dist/components/sy-histogram-chart.d.ts +8 -0
- package/dist/components/sy-histogram-chart.js +1 -0
- package/dist/components/sy-item-chart.d.ts +8 -0
- package/dist/components/sy-item-chart.js +1 -0
- package/dist/components/sy-line-chart.d.ts +8 -0
- package/dist/components/sy-line-chart.js +1 -0
- package/dist/components/sy-lollipop-chart.d.ts +8 -0
- package/dist/components/sy-lollipop-chart.js +1 -0
- package/dist/components/sy-marimekko-chart.d.ts +8 -0
- package/dist/components/sy-marimekko-chart.js +1 -0
- package/dist/components/sy-navigator.d.ts +8 -0
- package/dist/components/sy-navigator.js +1 -0
- package/dist/components/sy-pareto-chart.d.ts +8 -0
- package/dist/components/sy-pareto-chart.js +1 -0
- package/dist/components/sy-pictorial-chart.d.ts +8 -0
- package/dist/components/sy-pictorial-chart.js +1 -0
- package/dist/components/sy-pie-chart.d.ts +8 -0
- package/dist/components/sy-pie-chart.js +1 -0
- package/dist/components/sy-polar-chart.d.ts +8 -0
- package/dist/components/sy-polar-chart.js +1 -0
- package/dist/components/sy-radar-chart.d.ts +8 -0
- package/dist/components/sy-radar-chart.js +1 -0
- package/dist/components/sy-scatter-chart.d.ts +8 -0
- package/dist/components/sy-scatter-chart.js +1 -0
- package/dist/components/sy-stem-leaf-chart.d.ts +8 -0
- package/dist/components/sy-stem-leaf-chart.js +1 -0
- package/dist/components/sy-tilemap.d.ts +8 -0
- package/dist/components/sy-tilemap.js +1 -0
- package/dist/components/sy-tornado-chart.d.ts +8 -0
- package/dist/components/sy-tornado-chart.js +1 -0
- package/dist/components/sy-variwide-chart.d.ts +8 -0
- package/dist/components/sy-variwide-chart.js +1 -0
- package/dist/components/sy-visual-map.d.ts +8 -0
- package/dist/components/sy-visual-map.js +1 -0
- package/dist/components/sy-wafer-correlation.d.ts +8 -0
- package/dist/components/sy-wafer-correlation.js +1 -0
- package/dist/components/sy-wafer-map.d.ts +8 -0
- package/dist/components/sy-wafer-map.js +1 -0
- package/dist/components/sy-wafer-stack.d.ts +8 -0
- package/dist/components/sy-wafer-stack.js +1 -0
- package/dist/components/sy-word-cloud.d.ts +8 -0
- package/dist/components/sy-word-cloud.js +1 -0
- package/dist/components/sy-yield-zone-chart.d.ts +8 -0
- package/dist/components/sy-yield-zone-chart.js +1 -0
- package/dist/esm/_syidax-chart-build-tier-C374wsaF.js +1 -0
- package/dist/esm/advanced.js +1 -0
- package/dist/esm/app-globals-DQuL1Twl.js +1 -0
- package/dist/esm/auto-labels-DYKIyOfR.js +1 -0
- package/dist/esm/axis-label-thinning-S3uzYKsD.js +1 -0
- package/dist/esm/brand-logo-BXzIll5N.js +1 -0
- package/dist/esm/brand-mark-default-AzDRbG7D.js +1 -0
- package/dist/esm/brush-interaction-Dz9vozhJ.js +1 -0
- package/dist/esm/cartesian-contract-DogpgTFv.js +1 -0
- package/dist/esm/cartesian-frame-interaction-BC4761vn.js +1 -0
- package/dist/esm/cartesian-series-contract-zrH7aO3p.js +1 -0
- package/dist/esm/cf-builder-chunk-BqLdIDeK.js +1 -0
- package/dist/esm/chart-brand-_HhzGz4E.js +1 -0
- package/dist/esm/chart-brand-license-2N_At2Bk.js +1 -0
- package/dist/esm/chart-element-loader-DdX3JJh2.js +1 -0
- package/dist/esm/chart-license-bridge-BuvMRxsm.js +1 -0
- package/dist/esm/chart-streaming-gate-CXnkXyxT.js +1 -0
- package/dist/esm/column-stack-C61nYCOk.js +1 -0
- package/dist/esm/component-runtime-chunk-BDJ-kk9r.js +1 -0
- package/dist/esm/connector-C0f63Npv.js +1 -0
- package/dist/esm/contracts-Dx-FsUbT.js +1 -0
- package/dist/esm/data-zoom-model-C76mzN9Y.js +1 -0
- package/dist/esm/data-zoom-target-Dd9TQ3qQ.js +1 -0
- package/dist/esm/device-pixel-box-BKZM2o7w.js +1 -0
- package/dist/esm/drawing-export-BYBaMhHn.js +1 -0
- package/dist/esm/engine-swap-license-CwIR5SyJ.js +1 -0
- package/dist/esm/errors-DUELYDa7.js +1 -0
- package/dist/esm/grid-import-chunk-4CjYGJmq.js +1 -0
- package/dist/esm/grid-license-session-ChWa3h9U.js +7 -0
- package/dist/esm/index-D6-RUOhD.js +1 -0
- package/dist/esm/index-DChj4qx2.js +5 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/interpolate-D5aEHK78.js +1 -0
- package/dist/esm/legend-BwM4aW0R.js +1 -0
- package/dist/esm/legend-interaction-BVmDGX0a.js +1 -0
- package/dist/esm/live-object-model-BsBcTKjx.js +1 -0
- package/dist/esm/loader.js +1 -0
- package/dist/esm/number-D8Cooryu.js +1 -0
- package/dist/esm/parse-EXuVQfpl.js +1 -0
- package/dist/esm/pie-animator-DQ1RB1XB.js +1 -0
- package/dist/esm/pie-geometry-C1RaN8eG.js +1 -0
- package/dist/esm/point-context-menu-B6K1arcd.js +1 -0
- package/dist/esm/resolve-CitzwxIw.js +1 -0
- package/dist/esm/row-drag-chunk-DorjnyoH.js +1 -0
- package/dist/esm/row-layout-chunk-HmpHDcvM.js +1 -0
- package/dist/esm/safe-formatter-DO6vGxJP.js +1 -0
- package/dist/esm/scheme-BwtrZuf8.js +1 -0
- package/dist/esm/standard-engine-status-mIwM2Z1u.js +1 -0
- package/dist/esm/stream-interp-DTZUbymc.js +1 -0
- package/dist/esm/sy-area-chart.entry.js +1 -0
- package/dist/esm/sy-bar-chart.entry.js +1 -0
- package/dist/esm/sy-bubble-chart.entry.js +1 -0
- package/dist/esm/sy-chart.entry.js +2 -0
- package/dist/esm/sy-column-chart.entry.js +1 -0
- package/dist/esm/sy-data-zoom.entry.js +1 -0
- package/dist/esm/sy-dot-plot-chart.entry.js +1 -0
- package/dist/esm/sy-dumbbell-chart.entry.js +1 -0
- package/dist/esm/sy-funnel-chart.entry.js +1 -0
- package/dist/esm/sy-gauge-chart.entry.js +1 -0
- package/dist/esm/sy-grid.sy-grid-standard-BXtFit4h.js +4 -0
- package/dist/esm/sy-grid_2.entry.js +1 -0
- package/dist/esm/sy-histogram-chart.entry.js +1 -0
- package/dist/esm/sy-item-chart.entry.js +1 -0
- package/dist/esm/sy-line-chart-path-CIwqM40T.js +1 -0
- package/dist/esm/sy-line-chart.entry.js +1 -0
- package/dist/esm/sy-lollipop-chart.entry.js +1 -0
- package/dist/esm/sy-marimekko-chart.entry.js +1 -0
- package/dist/esm/sy-navigator.entry.js +1 -0
- package/dist/esm/sy-pareto-chart.entry.js +1 -0
- package/dist/esm/sy-pictorial-chart.entry.js +1 -0
- package/dist/esm/sy-pie-chart.entry.js +1 -0
- package/dist/esm/sy-polar-chart.entry.js +1 -0
- package/dist/esm/sy-radar-chart.entry.js +1 -0
- package/dist/esm/sy-scatter-chart.entry.js +1 -0
- package/dist/esm/sy-stem-leaf-chart.entry.js +1 -0
- package/dist/esm/sy-tilemap.entry.js +1 -0
- package/dist/esm/sy-tornado-chart.entry.js +1 -0
- package/dist/esm/sy-variwide-chart.entry.js +1 -0
- package/dist/esm/sy-visual-map.entry.js +1 -0
- package/dist/esm/sy-wafer-correlation.entry.js +1 -0
- package/dist/esm/sy-wafer-map.entry.js +1 -0
- package/dist/esm/sy-wafer-stack.entry.js +1 -0
- package/dist/esm/sy-word-cloud.entry.js +1 -0
- package/dist/esm/sy-yield-zone-chart.entry.js +1 -0
- package/dist/esm/types-x7RF8NVg.js +1 -0
- package/dist/esm/viewport-zoom-WQSantHg.js +1 -0
- package/dist/esm/visual-map-binding-DiSr3bTW.js +1 -0
- package/dist/esm/wafer-stack-Bg3YP3SU.js +1 -0
- package/dist/esm/wafer-value-BntCdxpN.js +1 -0
- package/dist/esm/zoom-interaction-DIwGXfJu.js +1 -0
- package/dist/esm/zoom-window-D6sPnRDQ.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/license/base64url.d.ts +3 -0
- package/dist/license/base64url.js +1 -0
- package/dist/license/certificate.d.ts +48 -0
- package/dist/license/certificate.js +1 -0
- package/dist/license/constants.d.ts +38 -0
- package/dist/license/constants.js +1 -0
- package/dist/license/context.d.ts +6 -0
- package/dist/license/context.js +1 -0
- package/dist/license/deployment.d.ts +9 -0
- package/dist/license/deployment.js +1 -0
- package/dist/license/diagnostic-constants.d.ts +7 -0
- package/dist/license/diagnostic-constants.js +1 -0
- package/dist/license/discovery.d.ts +10 -0
- package/dist/license/discovery.js +1 -0
- package/dist/license/errors.d.ts +47 -0
- package/dist/license/errors.js +1 -0
- package/dist/license/evaluate.d.ts +19 -0
- package/dist/license/evaluate.js +1 -0
- package/dist/license/failure.d.ts +11 -0
- package/dist/license/failure.js +1 -0
- package/dist/license/fetch-license.d.ts +12 -0
- package/dist/license/fetch-license.js +1 -0
- package/dist/license/generated/chart-features.generated.d.ts +2244 -0
- package/dist/license/generated/chart-features.generated.js +1 -0
- package/dist/license/generated/core-features.generated.d.ts +349 -0
- package/dist/license/generated/core-features.generated.js +1 -0
- package/dist/license/generated/feature-map.generated.d.ts +4 -0
- package/dist/license/generated/feature-map.generated.js +1 -0
- package/dist/license/generated/grid-features.generated.d.ts +3681 -0
- package/dist/license/generated/grid-features.generated.js +1 -0
- package/dist/license/generated/products.generated.d.ts +26 -0
- package/dist/license/generated/products.generated.js +1 -0
- package/dist/license/index.d.ts +15 -0
- package/dist/license/index.js +1 -0
- package/dist/license/json.d.ts +4 -0
- package/dist/license/json.js +1 -0
- package/dist/license/jws.d.ts +9 -0
- package/dist/license/jws.js +1 -0
- package/dist/license/registry.d.ts +37 -0
- package/dist/license/registry.js +1 -0
- package/dist/license/release.generated.d.ts +6 -0
- package/dist/license/release.generated.js +1 -0
- package/dist/license/runtime.d.ts +27 -0
- package/dist/license/runtime.js +1 -0
- package/dist/license/subtle.d.ts +5 -0
- package/dist/license/subtle.js +1 -0
- package/dist/license/timers.d.ts +6 -0
- package/dist/license/timers.js +1 -0
- package/dist/license/timestamp.d.ts +1 -0
- package/dist/license/timestamp.js +1 -0
- package/dist/license/trust-keys.generated.d.ts +3 -0
- package/dist/license/trust-keys.generated.js +1 -0
- package/dist/license/trust-store.d.ts +6 -0
- package/dist/license/trust-store.js +1 -0
- package/dist/license/types.d.ts +85 -0
- package/dist/license/types.js +1 -0
- package/dist/license/verify.d.ts +30 -0
- package/dist/license/verify.js +1 -0
- package/dist/license/watch.d.ts +18 -0
- package/dist/license/watch.js +1 -0
- package/dist/types/components/_shared/brand/brand-decision.d.ts +3 -0
- package/dist/types/components/_shared/brand/brand-export-default.d.ts +32 -0
- package/dist/types/components/_shared/brand/brand-export.d.ts +34 -0
- package/dist/types/components/_shared/brand/brand-integrity.d.ts +2 -0
- package/dist/types/components/_shared/brand/brand-lockup-default.d.ts +5 -0
- package/dist/types/components/_shared/brand/brand-logo.d.ts +22 -0
- package/dist/types/components/_shared/brand/brand-mark-default.d.ts +52 -0
- package/dist/types/components/_shared/brand/brand-mark.d.ts +22 -0
- package/dist/types/components/_shared/brand/index.d.ts +5 -0
- package/dist/types/components/_shared/brand/types.d.ts +41 -0
- package/dist/types/components/chart/_shared/core/a11y/a11y.d.ts +16 -0
- package/dist/types/components/chart/_shared/core/a11y/contrast.d.ts +24 -0
- package/dist/types/components/chart/_shared/core/a11y/index.d.ts +2 -0
- package/dist/types/components/chart/_shared/core/action/action-contract.d.ts +29 -0
- package/dist/types/components/chart/_shared/core/action/index.d.ts +2 -0
- package/dist/types/components/chart/_shared/core/adapter/animatable-mark.d.ts +51 -0
- package/dist/types/components/chart/_shared/core/adapter/deferred-pro-renderer.d.ts +8 -0
- package/dist/types/components/chart/_shared/core/adapter/gpu-availability.d.ts +10 -0
- package/dist/types/components/chart/_shared/core/adapter/index.d.ts +2 -0
- package/dist/types/components/chart/_shared/core/adapter/streamable-series.d.ts +18 -0
- package/dist/types/components/chart/_shared/core/animation/flip.d.ts +65 -0
- package/dist/types/components/chart/_shared/core/animation/heatmap-animator.d.ts +27 -0
- package/dist/types/components/chart/_shared/core/animation/index.d.ts +4 -0
- package/dist/types/components/chart/_shared/core/animation/interruptible.d.ts +48 -0
- package/dist/types/components/chart/_shared/core/animation/morph-paint-order.d.ts +9 -0
- package/dist/types/components/chart/_shared/core/animation/scene3d-exit.d.ts +24 -0
- package/dist/types/components/chart/_shared/core/animation/stream-interp.d.ts +2 -0
- package/dist/types/components/chart/_shared/core/animation/transition.d.ts +83 -0
- package/dist/types/components/chart/_shared/core/animation/tween.d.ts +16 -0
- package/dist/types/components/chart/_shared/core/annotation/index.d.ts +1 -0
- package/dist/types/components/chart/_shared/core/axis/auto-labels.d.ts +21 -0
- package/dist/types/components/chart/_shared/core/axis/axis-base.d.ts +40 -0
- package/dist/types/components/chart/_shared/core/axis/category-axis.d.ts +24 -0
- package/dist/types/components/chart/_shared/core/axis/index.d.ts +7 -0
- package/dist/types/components/chart/_shared/core/axis/label-collision.d.ts +34 -0
- package/dist/types/components/chart/_shared/core/axis/linear-axis.d.ts +23 -0
- package/dist/types/components/chart/_shared/core/axis/log-axis.d.ts +25 -0
- package/dist/types/components/chart/_shared/core/axis/time-axis.d.ts +25 -0
- package/dist/types/components/chart/_shared/core/brand/brand-placement.d.ts +29 -0
- package/dist/types/components/chart/_shared/core/brand/chart-brand-config.d.ts +12 -0
- package/dist/types/components/chart/_shared/core/brand/chart-brand-export.d.ts +20 -0
- package/dist/types/components/chart/_shared/core/brand/chart-brand-host.d.ts +30 -0
- package/dist/types/components/chart/_shared/core/brand/chart-brand-lazy.d.ts +6 -0
- package/dist/types/components/chart/_shared/core/brand/chart-brand-palette.d.ts +7 -0
- package/dist/types/components/chart/_shared/core/brand/chart-brand-theme.d.ts +9 -0
- package/dist/types/components/chart/_shared/core/brand/chart-brand.d.ts +13 -0
- package/dist/types/components/chart/_shared/core/brand/license/chart-brand-license.d.ts +20 -0
- package/dist/types/components/chart/_shared/core/brush/brush-contract.d.ts +101 -0
- package/dist/types/components/chart/_shared/core/brush/brush-geometry.d.ts +61 -0
- package/dist/types/components/chart/_shared/core/brush/brush-interaction.d.ts +63 -0
- package/dist/types/components/chart/_shared/core/brush/index.d.ts +6 -0
- package/dist/types/components/chart/_shared/core/color/heatmap-color.d.ts +28 -0
- package/dist/types/components/chart/_shared/core/color/index.d.ts +5 -0
- package/dist/types/components/chart/_shared/core/color/interpolate.d.ts +33 -0
- package/dist/types/components/chart/_shared/core/color/named-colors.d.ts +1 -0
- package/dist/types/components/chart/_shared/core/color/parse.d.ts +8 -0
- package/dist/types/components/chart/_shared/core/color/resolve.d.ts +20 -0
- package/dist/types/components/chart/_shared/core/color/rgba.d.ts +6 -0
- package/dist/types/components/chart/_shared/core/color/scheme.d.ts +43 -0
- package/dist/types/components/chart/_shared/core/contract/bar3d-contract.d.ts +140 -0
- package/dist/types/components/chart/_shared/core/contract/box-plot-contract.d.ts +138 -0
- package/dist/types/components/chart/_shared/core/contract/bubble-contract.d.ts +118 -0
- package/dist/types/components/chart/_shared/core/contract/calendar-heatmap-contract.d.ts +77 -0
- package/dist/types/components/chart/_shared/core/contract/candlestick-contract.d.ts +204 -0
- package/dist/types/components/chart/_shared/core/contract/cartesian-contract.d.ts +186 -0
- package/dist/types/components/chart/_shared/core/contract/cartesian-series-contract.d.ts +270 -0
- package/dist/types/components/chart/_shared/core/contract/chord-contract.d.ts +183 -0
- package/dist/types/components/chart/_shared/core/contract/dendrogram-contract.d.ts +168 -0
- package/dist/types/components/chart/_shared/core/contract/density-map-contract.d.ts +115 -0
- package/dist/types/components/chart/_shared/core/contract/error-bar-contract.d.ts +98 -0
- package/dist/types/components/chart/_shared/core/contract/flow-lines-contract.d.ts +138 -0
- package/dist/types/components/chart/_shared/core/contract/gantt-contract.d.ts +358 -0
- package/dist/types/components/chart/_shared/core/contract/geo-map-contract.d.ts +367 -0
- package/dist/types/components/chart/_shared/core/contract/geo-map-features-contract.d.ts +42 -0
- package/dist/types/components/chart/_shared/core/contract/heatmap-contract.d.ts +94 -0
- package/dist/types/components/chart/_shared/core/contract/icicle-contract.d.ts +141 -0
- package/dist/types/components/chart/_shared/core/contract/index.d.ts +15 -0
- package/dist/types/components/chart/_shared/core/contract/network-graph-contract.d.ts +271 -0
- package/dist/types/components/chart/_shared/core/contract/parallel-coordinates-contract.d.ts +274 -0
- package/dist/types/components/chart/_shared/core/contract/sankey-contract.d.ts +189 -0
- package/dist/types/components/chart/_shared/core/contract/scatter3d-contract.d.ts +124 -0
- package/dist/types/components/chart/_shared/core/contract/scene3d-camera-contract.d.ts +27 -0
- package/dist/types/components/chart/_shared/core/contract/scene3d-chart-contract.d.ts +29 -0
- package/dist/types/components/chart/_shared/core/contract/scene3d-lighting-contract.d.ts +42 -0
- package/dist/types/components/chart/_shared/core/contract/scene3d-orbit-contract.d.ts +38 -0
- package/dist/types/components/chart/_shared/core/contract/spectrogram-contract.d.ts +82 -0
- package/dist/types/components/chart/_shared/core/contract/sunburst-contract.d.ts +145 -0
- package/dist/types/components/chart/_shared/core/contract/surface3d-contract.d.ts +150 -0
- package/dist/types/components/chart/_shared/core/contract/theme-river-contract.d.ts +167 -0
- package/dist/types/components/chart/_shared/core/contract/treemap-contract.d.ts +138 -0
- package/dist/types/components/chart/_shared/core/contract/waterfall-contract.d.ts +96 -0
- package/dist/types/components/chart/_shared/core/crosshair/category-snap.d.ts +20 -0
- package/dist/types/components/chart/_shared/core/crosshair/crosshair.d.ts +65 -0
- package/dist/types/components/chart/_shared/core/crosshair/index.d.ts +1 -0
- package/dist/types/components/chart/_shared/core/data/dataset.d.ts +42 -0
- package/dist/types/components/chart/_shared/core/data/encode.d.ts +40 -0
- package/dist/types/components/chart/_shared/core/data/index.d.ts +4 -0
- package/dist/types/components/chart/_shared/core/data/transforms.d.ts +106 -0
- package/dist/types/components/chart/_shared/core/data/values-attribute.d.ts +4 -0
- package/dist/types/components/chart/_shared/core/drawing/drawing-contract.d.ts +240 -0
- package/dist/types/components/chart/_shared/core/drawing/drawing-cursor.d.ts +9 -0
- package/dist/types/components/chart/_shared/core/drawing/drawing-export.d.ts +11 -0
- package/dist/types/components/chart/_shared/core/drawing/drawing-hit.d.ts +12 -0
- package/dist/types/components/chart/_shared/core/drawing/drawing-interaction.d.ts +79 -0
- package/dist/types/components/chart/_shared/core/drawing/drawing-measure.d.ts +9 -0
- package/dist/types/components/chart/_shared/core/drawing/drawing-projection.d.ts +35 -0
- package/dist/types/components/chart/_shared/core/drawing/drawing-tools.d.ts +68 -0
- package/dist/types/components/chart/_shared/core/drawing/index.d.ts +14 -0
- package/dist/types/components/chart/_shared/core/engine/resolve-chart-engine.d.ts +25 -0
- package/dist/types/components/chart/_shared/core/engine/types.d.ts +44 -0
- package/dist/types/components/chart/_shared/core/event/hit-test.d.ts +37 -0
- package/dist/types/components/chart/_shared/core/event/index.d.ts +3 -0
- package/dist/types/components/chart/_shared/core/event/point-context-menu.d.ts +22 -0
- package/dist/types/components/chart/_shared/core/event/pointer.d.ts +25 -0
- package/dist/types/components/chart/_shared/core/export/chart-export.d.ts +37 -0
- package/dist/types/components/chart/_shared/core/export/data-table.d.ts +22 -0
- package/dist/types/components/chart/_shared/core/export/html-overlay.d.ts +61 -0
- package/dist/types/components/chart/_shared/core/export/index.d.ts +2 -0
- package/dist/types/components/chart/_shared/core/export/svg-fonts.d.ts +9 -0
- package/dist/types/components/chart/_shared/core/financial-bars.d.ts +29 -0
- package/dist/types/components/chart/_shared/core/format/datetime.d.ts +14 -0
- package/dist/types/components/chart/_shared/core/format/duration.d.ts +10 -0
- package/dist/types/components/chart/_shared/core/format/index.d.ts +3 -0
- package/dist/types/components/chart/_shared/core/format/number.d.ts +15 -0
- package/dist/types/components/chart/_shared/core/format/safe-formatter.d.ts +2 -0
- package/dist/types/components/chart/_shared/core/graph/strongly-connected.d.ts +1 -0
- package/dist/types/components/chart/_shared/core/hover/highlight.d.ts +37 -0
- package/dist/types/components/chart/_shared/core/hover/index.d.ts +1 -0
- package/dist/types/components/chart/_shared/core/index.d.ts +16 -0
- package/dist/types/components/chart/_shared/core/layout/axis-label-thinning.d.ts +19 -0
- package/dist/types/components/chart/_shared/core/layout/cartesian-frame-interaction.d.ts +56 -0
- package/dist/types/components/chart/_shared/core/layout/cartesian-frame.d.ts +119 -0
- package/dist/types/components/chart/_shared/core/layout/cartesian-render-domain.d.ts +14 -0
- package/dist/types/components/chart/_shared/core/layout/device-pixel-box.d.ts +13 -0
- package/dist/types/components/chart/_shared/core/layout/frame.d.ts +54 -0
- package/dist/types/components/chart/_shared/core/layout/index.d.ts +9 -0
- package/dist/types/components/chart/_shared/core/layout/label-geometry.d.ts +19 -0
- package/dist/types/components/chart/_shared/core/layout/label-obstacle-index.d.ts +35 -0
- package/dist/types/components/chart/_shared/core/layout/legend-interaction.d.ts +39 -0
- package/dist/types/components/chart/_shared/core/layout/legend.d.ts +81 -0
- package/dist/types/components/chart/_shared/core/layout/plot-area.d.ts +83 -0
- package/dist/types/components/chart/_shared/core/layout/title.d.ts +55 -0
- package/dist/types/components/chart/_shared/core/license/chart-license-bridge.d.ts +46 -0
- package/dist/types/components/chart/_shared/core/license/chart-license-features.d.ts +13 -0
- package/dist/types/components/chart/_shared/core/license/chart-license-notice.d.ts +24 -0
- package/dist/types/components/chart/_shared/core/limits/point-cap.d.ts +9 -0
- package/dist/types/components/chart/_shared/core/loading/chart-build-tier.d.ts +1 -0
- package/dist/types/components/chart/_shared/core/loading/chart-element-loader.d.ts +51 -0
- package/dist/types/components/chart/_shared/core/loading/chart-load-controller.d.ts +51 -0
- package/dist/types/components/chart/_shared/core/loading/chart-type-rows.d.ts +1 -0
- package/dist/types/components/chart/_shared/core/loading/chart-type-table.d.ts +33 -0
- package/dist/types/components/chart/_shared/core/loading/index.d.ts +6 -0
- package/dist/types/components/chart/_shared/core/locale/index.d.ts +1 -0
- package/dist/types/components/chart/_shared/core/locale/locale.d.ts +39 -0
- package/dist/types/components/chart/_shared/core/math/ease.d.ts +31 -0
- package/dist/types/components/chart/_shared/core/math/index.d.ts +3 -0
- package/dist/types/components/chart/_shared/core/math/primitives.d.ts +11 -0
- package/dist/types/components/chart/_shared/core/math/stat.d.ts +15 -0
- package/dist/types/components/chart/_shared/core/menu/context-menu.d.ts +24 -0
- package/dist/types/components/chart/_shared/core/menu/index.d.ts +1 -0
- package/dist/types/components/chart/_shared/core/numeric/quickselect.d.ts +4 -0
- package/dist/types/components/chart/_shared/core/numeric/safe-numeric.d.ts +17 -0
- package/dist/types/components/chart/_shared/core/progressive/index.d.ts +2 -0
- package/dist/types/components/chart/_shared/core/progressive/progressive-draw.d.ts +31 -0
- package/dist/types/components/chart/_shared/core/scale/band.d.ts +27 -0
- package/dist/types/components/chart/_shared/core/scale/diverging.d.ts +19 -0
- package/dist/types/components/chart/_shared/core/scale/index.d.ts +15 -0
- package/dist/types/components/chart/_shared/core/scale/linear.d.ts +28 -0
- package/dist/types/components/chart/_shared/core/scale/log.d.ts +30 -0
- package/dist/types/components/chart/_shared/core/scale/ordinal.d.ts +12 -0
- package/dist/types/components/chart/_shared/core/scale/point.d.ts +23 -0
- package/dist/types/components/chart/_shared/core/scale/pow.d.ts +31 -0
- package/dist/types/components/chart/_shared/core/scale/quantile.d.ts +14 -0
- package/dist/types/components/chart/_shared/core/scale/quantize.d.ts +20 -0
- package/dist/types/components/chart/_shared/core/scale/sequential.d.ts +17 -0
- package/dist/types/components/chart/_shared/core/scale/symlog.d.ts +30 -0
- package/dist/types/components/chart/_shared/core/scale/threshold.d.ts +13 -0
- package/dist/types/components/chart/_shared/core/scale/tick-strategy.d.ts +16 -0
- package/dist/types/components/chart/_shared/core/scale/time-tick-strategy.d.ts +32 -0
- package/dist/types/components/chart/_shared/core/scale/time.d.ts +30 -0
- package/dist/types/components/chart/_shared/core/spatial/index.d.ts +2 -0
- package/dist/types/components/chart/_shared/core/spatial/kdtree.d.ts +5 -0
- package/dist/types/components/chart/_shared/core/spatial/kernel.d.ts +12 -0
- package/dist/types/components/chart/_shared/core/spatial/quadtree.d.ts +8 -0
- package/dist/types/components/chart/_shared/core/state/index.d.ts +1 -0
- package/dist/types/components/chart/_shared/core/state/state-model.d.ts +18 -0
- package/dist/types/components/chart/_shared/core/stream/batch-flush-runtime.d.ts +2 -0
- package/dist/types/components/chart/_shared/core/stream/batch-flush.d.ts +44 -0
- package/dist/types/components/chart/_shared/core/stream/category-upserts.d.ts +9 -0
- package/dist/types/components/chart/_shared/core/stream/frame-budget.d.ts +37 -0
- package/dist/types/components/chart/_shared/core/stream/index.d.ts +5 -0
- package/dist/types/components/chart/_shared/core/stream/keyed-object-stream-runtime.d.ts +10 -0
- package/dist/types/components/chart/_shared/core/stream/keyed-object-stream.d.ts +19 -0
- package/dist/types/components/chart/_shared/core/stream/ring-buffer-runtime.d.ts +2 -0
- package/dist/types/components/chart/_shared/core/stream/ring-buffer.d.ts +30 -0
- package/dist/types/components/chart/_shared/core/stream/stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/_shared/core/stream/stream-source.d.ts +40 -0
- package/dist/types/components/chart/_shared/core/stream/time-window-runtime.d.ts +2 -0
- package/dist/types/components/chart/_shared/core/stream/time-window.d.ts +21 -0
- package/dist/types/components/chart/_shared/core/theme/index.d.ts +1 -0
- package/dist/types/components/chart/_shared/core/theme/theme.d.ts +21 -0
- package/dist/types/components/chart/_shared/core/tooltip/card-a11y.d.ts +5 -0
- package/dist/types/components/chart/_shared/core/tooltip/cell-tooltip-controller.d.ts +139 -0
- package/dist/types/components/chart/_shared/core/tooltip/connector.d.ts +18 -0
- package/dist/types/components/chart/_shared/core/tooltip/formatter.d.ts +44 -0
- package/dist/types/components/chart/_shared/core/tooltip/index.d.ts +3 -0
- package/dist/types/components/chart/_shared/core/tooltip/tooltip-engine.d.ts +90 -0
- package/dist/types/components/chart/_shared/core/tooltip/tooltip-transfer.d.ts +11 -0
- package/dist/types/components/chart/_shared/core/types.d.ts +51 -0
- package/dist/types/components/chart/_shared/core/visual-map/index.d.ts +4 -0
- package/dist/types/components/chart/_shared/core/visual-map/visual-map-binding.d.ts +50 -0
- package/dist/types/components/chart/_shared/core/visual-map/visual-map-contract.d.ts +125 -0
- package/dist/types/components/chart/_shared/core/zoom/crosshair-sync.d.ts +18 -0
- package/dist/types/components/chart/_shared/core/zoom/index.d.ts +16 -0
- package/dist/types/components/chart/_shared/core/zoom/viewport-zoom.d.ts +33 -0
- package/dist/types/components/chart/_shared/core/zoom/zoom-connect.d.ts +44 -0
- package/dist/types/components/chart/_shared/core/zoom/zoom-contract.d.ts +93 -0
- package/dist/types/components/chart/_shared/core/zoom/zoom-drag.d.ts +13 -0
- package/dist/types/components/chart/_shared/core/zoom/zoom-host.d.ts +58 -0
- package/dist/types/components/chart/_shared/core/zoom/zoom-interaction.d.ts +91 -0
- package/dist/types/components/chart/_shared/core/zoom/zoom-window.d.ts +74 -0
- package/dist/types/components/chart/_shared/render/canvas.d.ts +11 -0
- package/dist/types/components/chart/_shared/render/index.d.ts +6 -0
- package/dist/types/components/chart/_shared/render/series.d.ts +46 -0
- package/dist/types/components/chart/area-chart/core/animation/animator.d.ts +23 -0
- package/dist/types/components/chart/area-chart/core/animation/easing.d.ts +2 -0
- package/dist/types/components/chart/area-chart/core/animation/index.d.ts +3 -0
- package/dist/types/components/chart/area-chart/core/animation/path-morph.d.ts +2 -0
- package/dist/types/components/chart/area-chart/core/area-chart-core.d.ts +45 -0
- package/dist/types/components/chart/area-chart/core/area-pro-renderer-loader.d.ts +3 -0
- package/dist/types/components/chart/area-chart/core/pattern-kind.d.ts +11 -0
- package/dist/types/components/chart/area-chart/core/streaming/index.d.ts +2 -0
- package/dist/types/components/chart/area-chart/core/streaming/ring-buffer-runtime.d.ts +2 -0
- package/dist/types/components/chart/area-chart/core/streaming/ring-buffer.d.ts +11 -0
- package/dist/types/components/chart/area-chart/core/streaming/stream-source-runtime.d.ts +5 -0
- package/dist/types/components/chart/area-chart/core/streaming/stream-source.d.ts +27 -0
- package/dist/types/components/chart/area-chart/core/types.d.ts +121 -0
- package/dist/types/components/chart/area-chart/core/visual-regression/baseline.d.ts +4 -0
- package/dist/types/components/chart/area-chart/core/visual-regression/dom-snapshot.d.ts +14 -0
- package/dist/types/components/chart/area-chart/core/visual-regression/stream-frame-snapshot.d.ts +5 -0
- package/dist/types/components/chart/area-chart/engines/standard/area-chart-standard-renderer.d.ts +11 -0
- package/dist/types/components/chart/area-chart/engines/standard/index.d.ts +2 -0
- package/dist/types/components/chart/area-chart/engines/standard/sy-area-chart-path.d.ts +94 -0
- package/dist/types/components/chart/area-chart/index.d.ts +3 -0
- package/dist/types/components/chart/area-chart/sy-area-chart.d.ts +448 -0
- package/dist/types/components/chart/bar-chart/core/animation/animator.d.ts +23 -0
- package/dist/types/components/chart/bar-chart/core/animation/baseline-grow.d.ts +12 -0
- package/dist/types/components/chart/bar-chart/core/animation/easing.d.ts +2 -0
- package/dist/types/components/chart/bar-chart/core/animation/index.d.ts +4 -0
- package/dist/types/components/chart/bar-chart/core/animation/path-morph.d.ts +2 -0
- package/dist/types/components/chart/bar-chart/core/bar-border.d.ts +37 -0
- package/dist/types/components/chart/bar-chart/core/bar-chart-core.d.ts +44 -0
- package/dist/types/components/chart/bar-chart/core/bar-layout.d.ts +34 -0
- package/dist/types/components/chart/bar-chart/core/bar-pro-renderer-loader.d.ts +3 -0
- package/dist/types/components/chart/bar-chart/core/streaming/index.d.ts +2 -0
- package/dist/types/components/chart/bar-chart/core/streaming/ring-buffer-runtime.d.ts +2 -0
- package/dist/types/components/chart/bar-chart/core/streaming/ring-buffer.d.ts +11 -0
- package/dist/types/components/chart/bar-chart/core/streaming/stream-source-runtime.d.ts +5 -0
- package/dist/types/components/chart/bar-chart/core/streaming/stream-source.d.ts +27 -0
- package/dist/types/components/chart/bar-chart/core/types.d.ts +80 -0
- package/dist/types/components/chart/bar-chart/engines/standard/bar-chart-standard-renderer.d.ts +34 -0
- package/dist/types/components/chart/bar-chart/engines/standard/index.d.ts +2 -0
- package/dist/types/components/chart/bar-chart/engines/standard/sy-bar-chart-path.d.ts +29 -0
- package/dist/types/components/chart/bar-chart/index.d.ts +5 -0
- package/dist/types/components/chart/bar-chart/sy-bar-chart.d.ts +431 -0
- package/dist/types/components/chart/bubble-chart/core/bubble-chart-core.d.ts +24 -0
- package/dist/types/components/chart/bubble-chart/core/bubble-color.d.ts +18 -0
- package/dist/types/components/chart/bubble-chart/core/bubble-data.d.ts +41 -0
- package/dist/types/components/chart/bubble-chart/core/bubble-geometry.d.ts +14 -0
- package/dist/types/components/chart/bubble-chart/core/bubble-morph.d.ts +15 -0
- package/dist/types/components/chart/bubble-chart/core/bubble-pack.d.ts +26 -0
- package/dist/types/components/chart/bubble-chart/core/bubble-pro-renderer-loader.d.ts +3 -0
- package/dist/types/components/chart/bubble-chart/core/bubble-projection.d.ts +37 -0
- package/dist/types/components/chart/bubble-chart/core/bubble-stream-source-runtime.d.ts +3 -0
- package/dist/types/components/chart/bubble-chart/core/bubble-stream-source.d.ts +7 -0
- package/dist/types/components/chart/bubble-chart/core/types.d.ts +39 -0
- package/dist/types/components/chart/bubble-chart/engines/standard/bubble-standard-renderer.d.ts +29 -0
- package/dist/types/components/chart/bubble-chart/engines/standard/index.d.ts +1 -0
- package/dist/types/components/chart/bubble-chart/index.d.ts +10 -0
- package/dist/types/components/chart/bubble-chart/sy-bubble-chart.d.ts +285 -0
- package/dist/types/components/chart/column-chart/core/animation/animator.d.ts +23 -0
- package/dist/types/components/chart/column-chart/core/animation/easing.d.ts +2 -0
- package/dist/types/components/chart/column-chart/core/animation/index.d.ts +3 -0
- package/dist/types/components/chart/column-chart/core/animation/path-morph.d.ts +2 -0
- package/dist/types/components/chart/column-chart/core/column-border.d.ts +16 -0
- package/dist/types/components/chart/column-chart/core/column-chart-core.d.ts +47 -0
- package/dist/types/components/chart/column-chart/core/column-pro-renderer-loader.d.ts +3 -0
- package/dist/types/components/chart/column-chart/core/column-stack.d.ts +49 -0
- package/dist/types/components/chart/column-chart/core/streaming/index.d.ts +2 -0
- package/dist/types/components/chart/column-chart/core/streaming/ring-buffer-runtime.d.ts +2 -0
- package/dist/types/components/chart/column-chart/core/streaming/ring-buffer.d.ts +11 -0
- package/dist/types/components/chart/column-chart/core/streaming/stream-source-runtime.d.ts +5 -0
- package/dist/types/components/chart/column-chart/core/streaming/stream-source.d.ts +27 -0
- package/dist/types/components/chart/column-chart/core/types.d.ts +79 -0
- package/dist/types/components/chart/column-chart/engines/standard/column-chart-standard-renderer.d.ts +11 -0
- package/dist/types/components/chart/column-chart/engines/standard/index.d.ts +2 -0
- package/dist/types/components/chart/column-chart/engines/standard/sy-column-chart-path.d.ts +29 -0
- package/dist/types/components/chart/column-chart/index.d.ts +3 -0
- package/dist/types/components/chart/column-chart/sy-column-chart.d.ts +457 -0
- package/dist/types/components/chart/data-zoom/core/data-zoom-model.d.ts +54 -0
- package/dist/types/components/chart/data-zoom/core/data-zoom-target.d.ts +11 -0
- package/dist/types/components/chart/data-zoom/sy-data-zoom.d.ts +64 -0
- package/dist/types/components/chart/dot-plot-chart/core/dot-plot-animator.d.ts +27 -0
- package/dist/types/components/chart/dot-plot-chart/core/dot-plot-chart-core.d.ts +10 -0
- package/dist/types/components/chart/dot-plot-chart/core/dot-plot-geometry.d.ts +50 -0
- package/dist/types/components/chart/dot-plot-chart/core/dot-plot-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/dot-plot-chart/core/dot-plot-stream-source.d.ts +34 -0
- package/dist/types/components/chart/dot-plot-chart/core/types.d.ts +42 -0
- package/dist/types/components/chart/dot-plot-chart/engines/standard/index.d.ts +2 -0
- package/dist/types/components/chart/dot-plot-chart/index.d.ts +3 -0
- package/dist/types/components/chart/dot-plot-chart/sy-dot-plot-chart.d.ts +215 -0
- package/dist/types/components/chart/dumbbell-chart/core/dumbbell-animator.d.ts +27 -0
- package/dist/types/components/chart/dumbbell-chart/core/dumbbell-chart-core.d.ts +10 -0
- package/dist/types/components/chart/dumbbell-chart/core/dumbbell-data.d.ts +12 -0
- package/dist/types/components/chart/dumbbell-chart/core/dumbbell-geometry.d.ts +38 -0
- package/dist/types/components/chart/dumbbell-chart/core/dumbbell-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/dumbbell-chart/core/dumbbell-stream-source.d.ts +36 -0
- package/dist/types/components/chart/dumbbell-chart/core/types.d.ts +48 -0
- package/dist/types/components/chart/dumbbell-chart/engines/standard/index.d.ts +2 -0
- package/dist/types/components/chart/dumbbell-chart/index.d.ts +3 -0
- package/dist/types/components/chart/dumbbell-chart/sy-dumbbell-chart.d.ts +237 -0
- package/dist/types/components/chart/facade-types.d.ts +167 -0
- package/dist/types/components/chart/funnel-chart/core/funnel-animator.d.ts +27 -0
- package/dist/types/components/chart/funnel-chart/core/funnel-chart-core.d.ts +10 -0
- package/dist/types/components/chart/funnel-chart/core/funnel-geometry.d.ts +38 -0
- package/dist/types/components/chart/funnel-chart/core/funnel-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/funnel-chart/core/funnel-stream-source.d.ts +29 -0
- package/dist/types/components/chart/funnel-chart/core/funnel-tooltip.d.ts +57 -0
- package/dist/types/components/chart/funnel-chart/core/types.d.ts +78 -0
- package/dist/types/components/chart/funnel-chart/engines/standard/index.d.ts +69 -0
- package/dist/types/components/chart/funnel-chart/index.d.ts +8 -0
- package/dist/types/components/chart/funnel-chart/sy-funnel-chart.d.ts +232 -0
- package/dist/types/components/chart/gauge-chart/core/gauge-animator.d.ts +49 -0
- package/dist/types/components/chart/gauge-chart/core/gauge-chart-core.d.ts +10 -0
- package/dist/types/components/chart/gauge-chart/core/gauge-geometry.d.ts +61 -0
- package/dist/types/components/chart/gauge-chart/core/gauge-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/gauge-chart/core/gauge-stream-source.d.ts +28 -0
- package/dist/types/components/chart/gauge-chart/core/gauge-tooltip.d.ts +65 -0
- package/dist/types/components/chart/gauge-chart/core/types.d.ts +156 -0
- package/dist/types/components/chart/gauge-chart/engines/standard/index.d.ts +110 -0
- package/dist/types/components/chart/gauge-chart/index.d.ts +7 -0
- package/dist/types/components/chart/gauge-chart/sy-gauge-chart.d.ts +296 -0
- package/dist/types/components/chart/histogram-chart/core/histogram-animator.d.ts +27 -0
- package/dist/types/components/chart/histogram-chart/core/histogram-binning.d.ts +30 -0
- package/dist/types/components/chart/histogram-chart/core/histogram-chart-core.d.ts +19 -0
- package/dist/types/components/chart/histogram-chart/core/histogram-measure.d.ts +21 -0
- package/dist/types/components/chart/histogram-chart/core/histogram-pro-renderer-loader.d.ts +3 -0
- package/dist/types/components/chart/histogram-chart/core/histogram-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/histogram-chart/core/histogram-stream-source.d.ts +32 -0
- package/dist/types/components/chart/histogram-chart/core/types.d.ts +97 -0
- package/dist/types/components/chart/histogram-chart/engines/standard/index.d.ts +23 -0
- package/dist/types/components/chart/histogram-chart/index.d.ts +6 -0
- package/dist/types/components/chart/histogram-chart/sy-histogram-chart.d.ts +255 -0
- package/dist/types/components/chart/item-chart/core/item-chart-core.d.ts +10 -0
- package/dist/types/components/chart/item-chart/core/item-geometry.d.ts +13 -0
- package/dist/types/components/chart/item-chart/core/item-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/item-chart/core/item-stream-source.d.ts +28 -0
- package/dist/types/components/chart/item-chart/core/item-tooltip.d.ts +68 -0
- package/dist/types/components/chart/item-chart/core/types.d.ts +81 -0
- package/dist/types/components/chart/item-chart/engines/standard/index.d.ts +37 -0
- package/dist/types/components/chart/item-chart/index.d.ts +7 -0
- package/dist/types/components/chart/item-chart/sy-item-chart.d.ts +276 -0
- package/dist/types/components/chart/line-chart/core/animation/animator.d.ts +23 -0
- package/dist/types/components/chart/line-chart/core/animation/easing.d.ts +2 -0
- package/dist/types/components/chart/line-chart/core/animation/index.d.ts +3 -0
- package/dist/types/components/chart/line-chart/core/animation/path-morph.d.ts +2 -0
- package/dist/types/components/chart/line-chart/core/event/hit-test.d.ts +22 -0
- package/dist/types/components/chart/line-chart/core/event/index.d.ts +1 -0
- package/dist/types/components/chart/line-chart/core/license/engine-swap-license.d.ts +100 -0
- package/dist/types/components/chart/line-chart/core/line-chart-core.d.ts +43 -0
- package/dist/types/components/chart/line-chart/core/pro-renderer-loader.d.ts +3 -0
- package/dist/types/components/chart/line-chart/core/streaming/index.d.ts +2 -0
- package/dist/types/components/chart/line-chart/core/streaming/ring-buffer-runtime.d.ts +2 -0
- package/dist/types/components/chart/line-chart/core/streaming/ring-buffer.d.ts +46 -0
- package/dist/types/components/chart/line-chart/core/streaming/stream-source-runtime.d.ts +5 -0
- package/dist/types/components/chart/line-chart/core/streaming/stream-source.d.ts +29 -0
- package/dist/types/components/chart/line-chart/core/types.d.ts +127 -0
- package/dist/types/components/chart/line-chart/core/visual-regression/baseline.d.ts +4 -0
- package/dist/types/components/chart/line-chart/core/visual-regression/dom-snapshot.d.ts +14 -0
- package/dist/types/components/chart/line-chart/core/visual-regression/stream-frame-snapshot.d.ts +5 -0
- package/dist/types/components/chart/line-chart/engines/standard/index.d.ts +1 -0
- package/dist/types/components/chart/line-chart/engines/standard/line-chart-standard-renderer.d.ts +12 -0
- package/dist/types/components/chart/line-chart/engines/standard/sy-line-chart-path.d.ts +49 -0
- package/dist/types/components/chart/line-chart/index.d.ts +2 -0
- package/dist/types/components/chart/line-chart/sy-line-chart.d.ts +509 -0
- package/dist/types/components/chart/lollipop-chart/core/lollipop-animator.d.ts +27 -0
- package/dist/types/components/chart/lollipop-chart/core/lollipop-chart-core.d.ts +10 -0
- package/dist/types/components/chart/lollipop-chart/core/lollipop-geometry.d.ts +37 -0
- package/dist/types/components/chart/lollipop-chart/core/lollipop-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/lollipop-chart/core/lollipop-stream-source.d.ts +34 -0
- package/dist/types/components/chart/lollipop-chart/core/types.d.ts +20 -0
- package/dist/types/components/chart/lollipop-chart/engines/standard/index.d.ts +2 -0
- package/dist/types/components/chart/lollipop-chart/index.d.ts +3 -0
- package/dist/types/components/chart/lollipop-chart/sy-lollipop-chart.d.ts +194 -0
- package/dist/types/components/chart/marimekko-chart/core/marimekko-animator.d.ts +27 -0
- package/dist/types/components/chart/marimekko-chart/core/marimekko-chart-core.d.ts +10 -0
- package/dist/types/components/chart/marimekko-chart/core/marimekko-geometry.d.ts +41 -0
- package/dist/types/components/chart/marimekko-chart/core/marimekko-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/marimekko-chart/core/marimekko-stream-source.d.ts +34 -0
- package/dist/types/components/chart/marimekko-chart/core/types.d.ts +32 -0
- package/dist/types/components/chart/marimekko-chart/engines/standard/index.d.ts +2 -0
- package/dist/types/components/chart/marimekko-chart/index.d.ts +3 -0
- package/dist/types/components/chart/marimekko-chart/sy-marimekko-chart.d.ts +224 -0
- package/dist/types/components/chart/navigator/core/navigator-preview.d.ts +42 -0
- package/dist/types/components/chart/navigator/sy-navigator.d.ts +51 -0
- package/dist/types/components/chart/pareto-chart/core/pareto-animator.d.ts +27 -0
- package/dist/types/components/chart/pareto-chart/core/pareto-chart-core.d.ts +10 -0
- package/dist/types/components/chart/pareto-chart/core/pareto-geometry.d.ts +37 -0
- package/dist/types/components/chart/pareto-chart/core/pareto-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/pareto-chart/core/pareto-stream-source.d.ts +34 -0
- package/dist/types/components/chart/pareto-chart/core/types.d.ts +28 -0
- package/dist/types/components/chart/pareto-chart/engines/standard/index.d.ts +2 -0
- package/dist/types/components/chart/pareto-chart/index.d.ts +3 -0
- package/dist/types/components/chart/pareto-chart/sy-pareto-chart.d.ts +218 -0
- package/dist/types/components/chart/pictorial-chart/core/path-bounds.d.ts +9 -0
- package/dist/types/components/chart/pictorial-chart/core/pictorial-animator.d.ts +27 -0
- package/dist/types/components/chart/pictorial-chart/core/pictorial-chart-core.d.ts +10 -0
- package/dist/types/components/chart/pictorial-chart/core/pictorial-geometry.d.ts +36 -0
- package/dist/types/components/chart/pictorial-chart/core/pictorial-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/pictorial-chart/core/pictorial-stream-source.d.ts +34 -0
- package/dist/types/components/chart/pictorial-chart/core/types.d.ts +21 -0
- package/dist/types/components/chart/pictorial-chart/engines/standard/index.d.ts +3 -0
- package/dist/types/components/chart/pictorial-chart/index.d.ts +4 -0
- package/dist/types/components/chart/pictorial-chart/sy-pictorial-chart.d.ts +232 -0
- package/dist/types/components/chart/pie-chart/core/pie-animator.d.ts +36 -0
- package/dist/types/components/chart/pie-chart/core/pie-chart-core.d.ts +12 -0
- package/dist/types/components/chart/pie-chart/core/pie-flip.d.ts +21 -0
- package/dist/types/components/chart/pie-chart/core/pie-geometry.d.ts +44 -0
- package/dist/types/components/chart/pie-chart/core/pie-labels.d.ts +40 -0
- package/dist/types/components/chart/pie-chart/core/pie-leader-lines.d.ts +15 -0
- package/dist/types/components/chart/pie-chart/core/pie-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/pie-chart/core/pie-stream-source.d.ts +28 -0
- package/dist/types/components/chart/pie-chart/core/pie-tooltip.d.ts +66 -0
- package/dist/types/components/chart/pie-chart/core/types.d.ts +142 -0
- package/dist/types/components/chart/pie-chart/engines/standard/index.d.ts +27 -0
- package/dist/types/components/chart/pie-chart/index.d.ts +10 -0
- package/dist/types/components/chart/pie-chart/license/chart-streaming-gate.d.ts +77 -0
- package/dist/types/components/chart/pie-chart/license/standard-engine-status.d.ts +9 -0
- package/dist/types/components/chart/pie-chart/sy-pie-chart.d.ts +278 -0
- package/dist/types/components/chart/polar-chart/core/polar-chart-core.d.ts +19 -0
- package/dist/types/components/chart/polar-chart/core/polar-geometry.d.ts +45 -0
- package/dist/types/components/chart/polar-chart/core/polar-pro-records.d.ts +55 -0
- package/dist/types/components/chart/polar-chart/core/polar-pro-renderer-loader.d.ts +3 -0
- package/dist/types/components/chart/polar-chart/core/polar-sector-bounds.d.ts +8 -0
- package/dist/types/components/chart/polar-chart/core/polar-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/polar-chart/core/polar-stream-source.d.ts +32 -0
- package/dist/types/components/chart/polar-chart/core/polar-tooltip.d.ts +68 -0
- package/dist/types/components/chart/polar-chart/core/types.d.ts +141 -0
- package/dist/types/components/chart/polar-chart/engines/standard/index.d.ts +64 -0
- package/dist/types/components/chart/polar-chart/index.d.ts +9 -0
- package/dist/types/components/chart/polar-chart/sy-polar-chart.d.ts +319 -0
- package/dist/types/components/chart/radar-chart/core/radar-animator.d.ts +27 -0
- package/dist/types/components/chart/radar-chart/core/radar-chart-core.d.ts +10 -0
- package/dist/types/components/chart/radar-chart/core/radar-crosshair.d.ts +29 -0
- package/dist/types/components/chart/radar-chart/core/radar-geometry.d.ts +67 -0
- package/dist/types/components/chart/radar-chart/core/radar-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/radar-chart/core/radar-stream-source.d.ts +29 -0
- package/dist/types/components/chart/radar-chart/core/radar-tooltip.d.ts +57 -0
- package/dist/types/components/chart/radar-chart/core/types.d.ts +104 -0
- package/dist/types/components/chart/radar-chart/engines/standard/index.d.ts +84 -0
- package/dist/types/components/chart/radar-chart/index.d.ts +8 -0
- package/dist/types/components/chart/radar-chart/sy-radar-chart.d.ts +262 -0
- package/dist/types/components/chart/scatter-chart/core/animation/easing.d.ts +2 -0
- package/dist/types/components/chart/scatter-chart/core/animation/index.d.ts +2 -0
- package/dist/types/components/chart/scatter-chart/core/animation/scatter-animator.d.ts +31 -0
- package/dist/types/components/chart/scatter-chart/core/perf.d.ts +15 -0
- package/dist/types/components/chart/scatter-chart/core/scatter-chart-core.d.ts +34 -0
- package/dist/types/components/chart/scatter-chart/core/scatter-draw-signature.d.ts +16 -0
- package/dist/types/components/chart/scatter-chart/core/scatter-pro-renderer-loader.d.ts +3 -0
- package/dist/types/components/chart/scatter-chart/core/streaming/index.d.ts +1 -0
- package/dist/types/components/chart/scatter-chart/core/streaming/scatter-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/scatter-chart/core/streaming/scatter-stream-source.d.ts +28 -0
- package/dist/types/components/chart/scatter-chart/core/types.d.ts +125 -0
- package/dist/types/components/chart/scatter-chart/core/visual-map.d.ts +68 -0
- package/dist/types/components/chart/scatter-chart/engines/standard/index.d.ts +2 -0
- package/dist/types/components/chart/scatter-chart/engines/standard/scatter-chart-standard-renderer.d.ts +29 -0
- package/dist/types/components/chart/scatter-chart/engines/standard/sy-scatter-chart-path.d.ts +30 -0
- package/dist/types/components/chart/scatter-chart/index.d.ts +5 -0
- package/dist/types/components/chart/scatter-chart/sy-scatter-chart.d.ts +438 -0
- package/dist/types/components/chart/stem-leaf-chart/core/stem-leaf-core.d.ts +10 -0
- package/dist/types/components/chart/stem-leaf-chart/core/stem-leaf-model.d.ts +36 -0
- package/dist/types/components/chart/stem-leaf-chart/core/stem-leaf-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/stem-leaf-chart/core/stem-leaf-stream-source.d.ts +32 -0
- package/dist/types/components/chart/stem-leaf-chart/core/stem-leaf-tooltip.d.ts +65 -0
- package/dist/types/components/chart/stem-leaf-chart/core/types.d.ts +39 -0
- package/dist/types/components/chart/stem-leaf-chart/engines/standard/index.d.ts +33 -0
- package/dist/types/components/chart/stem-leaf-chart/index.d.ts +7 -0
- package/dist/types/components/chart/stem-leaf-chart/sy-stem-leaf-chart.d.ts +220 -0
- package/dist/types/components/chart/sy-chart.d.ts +1552 -0
- package/dist/types/components/chart/tilemap-chart/core/tilemap-core.d.ts +10 -0
- package/dist/types/components/chart/tilemap-chart/core/tilemap-geometry.d.ts +44 -0
- package/dist/types/components/chart/tilemap-chart/core/tilemap-legend.d.ts +32 -0
- package/dist/types/components/chart/tilemap-chart/core/tilemap-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/tilemap-chart/core/tilemap-stream-source.d.ts +28 -0
- package/dist/types/components/chart/tilemap-chart/core/tilemap-tooltip.d.ts +67 -0
- package/dist/types/components/chart/tilemap-chart/core/types.d.ts +80 -0
- package/dist/types/components/chart/tilemap-chart/engines/standard/index.d.ts +40 -0
- package/dist/types/components/chart/tilemap-chart/index.d.ts +7 -0
- package/dist/types/components/chart/tilemap-chart/sy-tilemap.d.ts +266 -0
- package/dist/types/components/chart/tornado-chart/core/tornado-animator.d.ts +27 -0
- package/dist/types/components/chart/tornado-chart/core/tornado-chart-core.d.ts +10 -0
- package/dist/types/components/chart/tornado-chart/core/tornado-geometry.d.ts +35 -0
- package/dist/types/components/chart/tornado-chart/core/tornado-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/tornado-chart/core/tornado-stream-source.d.ts +34 -0
- package/dist/types/components/chart/tornado-chart/core/types.d.ts +28 -0
- package/dist/types/components/chart/tornado-chart/engines/standard/index.d.ts +2 -0
- package/dist/types/components/chart/tornado-chart/index.d.ts +3 -0
- package/dist/types/components/chart/tornado-chart/sy-tornado-chart.d.ts +202 -0
- package/dist/types/components/chart/variwide-chart/core/types.d.ts +27 -0
- package/dist/types/components/chart/variwide-chart/core/variwide-animator.d.ts +27 -0
- package/dist/types/components/chart/variwide-chart/core/variwide-chart-core.d.ts +10 -0
- package/dist/types/components/chart/variwide-chart/core/variwide-geometry.d.ts +37 -0
- package/dist/types/components/chart/variwide-chart/core/variwide-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/variwide-chart/core/variwide-stream-source.d.ts +36 -0
- package/dist/types/components/chart/variwide-chart/engines/standard/index.d.ts +2 -0
- package/dist/types/components/chart/variwide-chart/index.d.ts +3 -0
- package/dist/types/components/chart/variwide-chart/sy-variwide-chart.d.ts +207 -0
- package/dist/types/components/chart/visual-map/sy-visual-map.d.ts +121 -0
- package/dist/types/components/chart/wafer-map-chart/core/types.d.ts +56 -0
- package/dist/types/components/chart/wafer-map-chart/core/wafer-animator.d.ts +30 -0
- package/dist/types/components/chart/wafer-map-chart/core/wafer-bin.d.ts +24 -0
- package/dist/types/components/chart/wafer-map-chart/core/wafer-correlation.d.ts +20 -0
- package/dist/types/components/chart/wafer-map-chart/core/wafer-defect.d.ts +26 -0
- package/dist/types/components/chart/wafer-map-chart/core/wafer-die-index.d.ts +30 -0
- package/dist/types/components/chart/wafer-map-chart/core/wafer-geometry.d.ts +78 -0
- package/dist/types/components/chart/wafer-map-chart/core/wafer-legend.d.ts +35 -0
- package/dist/types/components/chart/wafer-map-chart/core/wafer-map-core.d.ts +10 -0
- package/dist/types/components/chart/wafer-map-chart/core/wafer-render.d.ts +29 -0
- package/dist/types/components/chart/wafer-map-chart/core/wafer-shot.d.ts +33 -0
- package/dist/types/components/chart/wafer-map-chart/core/wafer-stack.d.ts +24 -0
- package/dist/types/components/chart/wafer-map-chart/core/wafer-stream-source-runtime.d.ts +3 -0
- package/dist/types/components/chart/wafer-map-chart/core/wafer-stream-source.d.ts +12 -0
- package/dist/types/components/chart/wafer-map-chart/core/wafer-value.d.ts +35 -0
- package/dist/types/components/chart/wafer-map-chart/core/wafer-yield-zone.d.ts +25 -0
- package/dist/types/components/chart/wafer-map-chart/engines/standard/index.d.ts +40 -0
- package/dist/types/components/chart/wafer-map-chart/index.d.ts +17 -0
- package/dist/types/components/chart/wafer-map-chart/sy-wafer-correlation.d.ts +41 -0
- package/dist/types/components/chart/wafer-map-chart/sy-wafer-map.d.ts +302 -0
- package/dist/types/components/chart/wafer-map-chart/sy-wafer-stack.d.ts +37 -0
- package/dist/types/components/chart/wafer-map-chart/sy-yield-zone-chart.d.ts +33 -0
- package/dist/types/components/chart/word-cloud-chart/core/types.d.ts +87 -0
- package/dist/types/components/chart/word-cloud-chart/core/word-cloud-core.d.ts +10 -0
- package/dist/types/components/chart/word-cloud-chart/core/word-layout.d.ts +39 -0
- package/dist/types/components/chart/word-cloud-chart/core/word-measure.d.ts +6 -0
- package/dist/types/components/chart/word-cloud-chart/core/word-stream-source-runtime.d.ts +2 -0
- package/dist/types/components/chart/word-cloud-chart/core/word-stream-source.d.ts +35 -0
- package/dist/types/components/chart/word-cloud-chart/core/word-tooltip.d.ts +67 -0
- package/dist/types/components/chart/word-cloud-chart/engines/standard/index.d.ts +53 -0
- package/dist/types/components/chart/word-cloud-chart/index.d.ts +8 -0
- package/dist/types/components/chart/word-cloud-chart/sy-word-cloud.d.ts +249 -0
- package/dist/types/components/dynamic-source.d.ts +7 -0
- package/dist/types/components/grid/core/a11y/aria-grid.d.ts +57 -0
- package/dist/types/components/grid/core/a11y/audit-checklist.d.ts +48 -0
- package/dist/types/components/grid/core/a11y/contrast.d.ts +13 -0
- package/dist/types/components/grid/core/a11y/screen-reader-transcript.d.ts +53 -0
- package/dist/types/components/grid/core/a11y/snapshot.d.ts +58 -0
- package/dist/types/components/grid/core/api/base-types.d.ts +15 -0
- package/dist/types/components/grid/core/api/contracts.d.ts +2104 -0
- package/dist/types/components/grid/core/api/index.d.ts +3 -0
- package/dist/types/components/grid/core/api/live-object-model.d.ts +186 -0
- package/dist/types/components/grid/core/audit/audit-export.d.ts +29 -0
- package/dist/types/components/grid/core/audit/audit-log.d.ts +70 -0
- package/dist/types/components/grid/core/brand/grid-brand.d.ts +12 -0
- package/dist/types/components/grid/core/build-tier.d.ts +3 -0
- package/dist/types/components/grid/core/cell/cell-class-rules.d.ts +57 -0
- package/dist/types/components/grid/core/cell/cell-style.d.ts +36 -0
- package/dist/types/components/grid/core/cell/expression-runtime.d.ts +29 -0
- package/dist/types/components/grid/core/cell/index.d.ts +5 -0
- package/dist/types/components/grid/core/cell/renderer-registry.d.ts +55 -0
- package/dist/types/components/grid/core/cell/value-formatter.d.ts +42 -0
- package/dist/types/components/grid/core/cell/value-getter.d.ts +59 -0
- package/dist/types/components/grid/core/cell-cycle.d.ts +19 -0
- package/dist/types/components/grid/core/cell-flash/cell-flash.d.ts +4 -0
- package/dist/types/components/grid/core/cell-tooltip/hover-delay.d.ts +15 -0
- package/dist/types/components/grid/core/cell-tooltip/index.d.ts +2 -0
- package/dist/types/components/grid/core/cell-tooltip/tooltip-text.d.ts +16 -0
- package/dist/types/components/grid/core/chart-link/chart-bridge-types-probe.d.ts +12 -0
- package/dist/types/components/grid/core/chart-link/chart-bridge.d.ts +79 -0
- package/dist/types/components/grid/core/chart-link/chart-cross-filter.d.ts +99 -0
- package/dist/types/components/grid/core/chart-link/chart-events.d.ts +245 -0
- package/dist/types/components/grid/core/chart-link/chart-instances.d.ts +217 -0
- package/dist/types/components/grid/core/chart-link/chart-link-chunk.d.ts +185 -0
- package/dist/types/components/grid/core/chart-link/chart-menu.d.ts +154 -0
- package/dist/types/components/grid/core/chart-link/chart-model.d.ts +176 -0
- package/dist/types/components/grid/core/chart-link/chart-multi.d.ts +178 -0
- package/dist/types/components/grid/core/chart-link/chart-pivot.d.ts +152 -0
- package/dist/types/components/grid/core/chart-link/chart-sync.d.ts +157 -0
- package/dist/types/components/grid/core/clipboard/parse.d.ts +2 -0
- package/dist/types/components/grid/core/clipboard/paste-plan.d.ts +25 -0
- package/dist/types/components/grid/core/clipboard/serialize.d.ts +12 -0
- package/dist/types/components/grid/core/collab-css.d.ts +2 -0
- package/dist/types/components/grid/core/collab-loader.d.ts +10 -0
- package/dist/types/components/grid/core/collab-mentions.d.ts +8 -0
- package/dist/types/components/grid/core/collab-types.d.ts +157 -0
- package/dist/types/components/grid/core/column/column-auto-size.d.ts +20 -0
- package/dist/types/components/grid/core/column/column-groups.d.ts +24 -0
- package/dist/types/components/grid/core/column/column-pin.d.ts +15 -0
- package/dist/types/components/grid/core/column/column-reorder.d.ts +66 -0
- package/dist/types/components/grid/core/column/column-resize.d.ts +75 -0
- package/dist/types/components/grid/core/column/column-sort.d.ts +20 -0
- package/dist/types/components/grid/core/column/column-state.d.ts +44 -0
- package/dist/types/components/grid/core/column/column-visibility.d.ts +28 -0
- package/dist/types/components/grid/core/column/index.d.ts +6 -0
- package/dist/types/components/grid/core/component/async-value-source.d.ts +38 -0
- package/dist/types/components/grid/core/component/component-runtime-chunk.d.ts +34 -0
- package/dist/types/components/grid/core/component/contracts.d.ts +189 -0
- package/dist/types/components/grid/core/component/editor-adapter.d.ts +101 -0
- package/dist/types/components/grid/core/component/editor-facade-controller.d.ts +172 -0
- package/dist/types/components/grid/core/component/editor-validation-presentation.d.ts +6 -0
- package/dist/types/components/grid/core/component/filter-adapter.d.ts +107 -0
- package/dist/types/components/grid/core/component/filter-facade-controller.d.ts +118 -0
- package/dist/types/components/grid/core/component/framework-bridge.d.ts +17 -0
- package/dist/types/components/grid/core/component/index.d.ts +12 -0
- package/dist/types/components/grid/core/component/popup-placement.d.ts +29 -0
- package/dist/types/components/grid/core/component/registry.d.ts +39 -0
- package/dist/types/components/grid/core/component/renderer-adapter.d.ts +17 -0
- package/dist/types/components/grid/core/component/renderer-controller.d.ts +88 -0
- package/dist/types/components/grid/core/component/rich-select-editor.d.ts +16 -0
- package/dist/types/components/grid/core/component/runtime.d.ts +90 -0
- package/dist/types/components/grid/core/conditional-format/cf-builder-chunk.d.ts +19 -0
- package/dist/types/components/grid/core/conditional-format/cf-builder.d.ts +23 -0
- package/dist/types/components/grid/core/conditional-format/conditional-format.d.ts +32 -0
- package/dist/types/components/grid/core/context-menu/clipboard.d.ts +9 -0
- package/dist/types/components/grid/core/context-menu/index.d.ts +3 -0
- package/dist/types/components/grid/core/context-menu/menu.d.ts +6 -0
- package/dist/types/components/grid/core/context-menu/types.d.ts +22 -0
- package/dist/types/components/grid/core/edit/autocomplete-editor.d.ts +21 -0
- package/dist/types/components/grid/core/edit/batch-edit.d.ts +237 -0
- package/dist/types/components/grid/core/edit/checkbox-editor-render.d.ts +27 -0
- package/dist/types/components/grid/core/edit/checkbox-editor.d.ts +10 -0
- package/dist/types/components/grid/core/edit/date-editor-render.d.ts +35 -0
- package/dist/types/components/grid/core/edit/date-editor.d.ts +26 -0
- package/dist/types/components/grid/core/edit/date-picker.d.ts +27 -0
- package/dist/types/components/grid/core/edit/index.d.ts +2 -0
- package/dist/types/components/grid/core/edit/large-text-editor.d.ts +20 -0
- package/dist/types/components/grid/core/edit/number-editor-render.d.ts +37 -0
- package/dist/types/components/grid/core/edit/number-editor.d.ts +27 -0
- package/dist/types/components/grid/core/edit/prospective-edit.d.ts +42 -0
- package/dist/types/components/grid/core/edit/row-edit.d.ts +303 -0
- package/dist/types/components/grid/core/edit/select-editor-render.d.ts +60 -0
- package/dist/types/components/grid/core/edit/select-editor.d.ts +19 -0
- package/dist/types/components/grid/core/edit/text-editor-render.d.ts +31 -0
- package/dist/types/components/grid/core/edit/text-editor.d.ts +13 -0
- package/dist/types/components/grid/core/edit/textarea-editor-render.d.ts +35 -0
- package/dist/types/components/grid/core/edit/textarea-editor.d.ts +19 -0
- package/dist/types/components/grid/core/edit/transaction-api.d.ts +41 -0
- package/dist/types/components/grid/core/edit/transaction.d.ts +39 -0
- package/dist/types/components/grid/core/edit/undo-redo.d.ts +55 -0
- package/dist/types/components/grid/core/empty-state-cycle.d.ts +8 -0
- package/dist/types/components/grid/core/event/index.d.ts +1 -0
- package/dist/types/components/grid/core/event/row-click.d.ts +34 -0
- package/dist/types/components/grid/core/export/csv.d.ts +30 -0
- package/dist/types/components/grid/core/export/grid-pdf-export.d.ts +41 -0
- package/dist/types/components/grid/core/export/index.d.ts +3 -0
- package/dist/types/components/grid/core/filter/advanced-query.d.ts +1 -0
- package/dist/types/components/grid/core/filter/condition-builder.d.ts +21 -0
- package/dist/types/components/grid/core/filter/date.d.ts +13 -0
- package/dist/types/components/grid/core/filter/filter-ui-types.d.ts +35 -0
- package/dist/types/components/grid/core/filter/multi.d.ts +22 -0
- package/dist/types/components/grid/core/filter/number.d.ts +11 -0
- package/dist/types/components/grid/core/filter/quick-filter.d.ts +11 -0
- package/dist/types/components/grid/core/filter/set.d.ts +24 -0
- package/dist/types/components/grid/core/filter/text.d.ts +10 -0
- package/dist/types/components/grid/core/filter-cycle.d.ts +32 -0
- package/dist/types/components/grid/core/floating/index.d.ts +1 -0
- package/dist/types/components/grid/core/floating/positioning.d.ts +24 -0
- package/dist/types/components/grid/core/formula/workbook-binding.d.ts +54 -0
- package/dist/types/components/grid/core/formula/workbook-reference.d.ts +37 -0
- package/dist/types/components/grid/core/formula/workbook-registry.d.ts +86 -0
- package/dist/types/components/grid/core/formula-acceleration-loader.d.ts +12 -0
- package/dist/types/components/grid/core/formula-text.d.ts +1 -0
- package/dist/types/components/grid/core/grid-core.d.ts +20 -0
- package/dist/types/components/grid/core/grouping/display-types.d.ts +165 -0
- package/dist/types/components/grid/core/grouping/group-selection.d.ts +165 -0
- package/dist/types/components/grid/core/hover/row.d.ts +8 -0
- package/dist/types/components/grid/core/import/csv/index.d.ts +1 -0
- package/dist/types/components/grid/core/import/csv/parse-csv.d.ts +30 -0
- package/dist/types/components/grid/core/import/xlsx/cell-ref.d.ts +11 -0
- package/dist/types/components/grid/core/import/xlsx/errors.d.ts +9 -0
- package/dist/types/components/grid/core/import/xlsx/formula.d.ts +4 -0
- package/dist/types/components/grid/core/import/xlsx/grid-import-chunk.d.ts +3 -0
- package/dist/types/components/grid/core/import/xlsx/index.d.ts +26 -0
- package/dist/types/components/grid/core/import/xlsx/inflate.d.ts +2 -0
- package/dist/types/components/grid/core/import/xlsx/merged-cells.d.ts +9 -0
- package/dist/types/components/grid/core/import/xlsx/number-format.d.ts +16 -0
- package/dist/types/components/grid/core/import/xlsx/parse-xlsx.d.ts +34 -0
- package/dist/types/components/grid/core/import/xlsx/pick-sheet.d.ts +2 -0
- package/dist/types/components/grid/core/import/xlsx/shared-strings.d.ts +2 -0
- package/dist/types/components/grid/core/import/xlsx/sheet-streaming.d.ts +11 -0
- package/dist/types/components/grid/core/import/xlsx/sheet.d.ts +31 -0
- package/dist/types/components/grid/core/import/xlsx/styles.d.ts +21 -0
- package/dist/types/components/grid/core/import/xlsx/workbook.d.ts +22 -0
- package/dist/types/components/grid/core/import/xlsx/xml-parser.d.ts +15 -0
- package/dist/types/components/grid/core/import/xlsx/zip-reader.d.ts +28 -0
- package/dist/types/components/grid/core/license/grid-acceleration-port.d.ts +13 -0
- package/dist/types/components/grid/core/license/grid-feature.d.ts +40 -0
- package/dist/types/components/grid/core/license/grid-license-facade.d.ts +50 -0
- package/dist/types/components/grid/core/license/grid-license-runtime.d.ts +2 -0
- package/dist/types/components/grid/core/license/grid-license-session.d.ts +85 -0
- package/dist/types/components/grid/core/license/grid-license.d.ts +40 -0
- package/dist/types/components/grid/core/license/grid-method-route.d.ts +7 -0
- package/dist/types/components/grid/core/license/grid-method-table.d.ts +7 -0
- package/dist/types/components/grid/core/loader/chunk-contract.d.ts +95 -0
- package/dist/types/components/grid/core/loader/chunk-loader.d.ts +62 -0
- package/dist/types/components/grid/core/loading-cycle.d.ts +14 -0
- package/dist/types/components/grid/core/locale/messages.d.ts +13 -0
- package/dist/types/components/grid/core/locale/presets.d.ts +8 -0
- package/dist/types/components/grid/core/locale/resolve.d.ts +12 -0
- package/dist/types/components/grid/core/notes/cell-notes.d.ts +47 -0
- package/dist/types/components/grid/core/numeric/safe-numeric.d.ts +10 -0
- package/dist/types/components/grid/core/pagination-cycle.d.ts +15 -0
- package/dist/types/components/grid/core/pipeline/aggregate.d.ts +30 -0
- package/dist/types/components/grid/core/pipeline/comparator-default.d.ts +1 -0
- package/dist/types/components/grid/core/pipeline/engine-rows-memo.d.ts +10 -0
- package/dist/types/components/grid/core/pipeline/filter.d.ts +9 -0
- package/dist/types/components/grid/core/pipeline/group.d.ts +32 -0
- package/dist/types/components/grid/core/pipeline/index.d.ts +25 -0
- package/dist/types/components/grid/core/pipeline/master-detail.d.ts +7 -0
- package/dist/types/components/grid/core/pipeline/multi-group.d.ts +22 -0
- package/dist/types/components/grid/core/pipeline/paginate.d.ts +12 -0
- package/dist/types/components/grid/core/pipeline/pipeline.d.ts +3 -0
- package/dist/types/components/grid/core/pipeline/pivot-columns.d.ts +15 -0
- package/dist/types/components/grid/core/pipeline/pivot-panel.d.ts +135 -0
- package/dist/types/components/grid/core/pipeline/pivot.d.ts +52 -0
- package/dist/types/components/grid/core/pipeline/sort.d.ts +10 -0
- package/dist/types/components/grid/core/pipeline/tree.d.ts +32 -0
- package/dist/types/components/grid/core/pipeline/types.d.ts +11 -0
- package/dist/types/components/grid/core/pivot/combination-warnings.d.ts +4 -0
- package/dist/types/components/grid/core/pivot/secondary-columns.d.ts +153 -0
- package/dist/types/components/grid/core/pro-chunk-sources.d.ts +4 -0
- package/dist/types/components/grid/core/pro-engine-loader.d.ts +4 -0
- package/dist/types/components/grid/core/pro-gate/engine-precedence.d.ts +16 -0
- package/dist/types/components/grid/core/pro-gate/grid-chunk-backstop.d.ts +5 -0
- package/dist/types/components/grid/core/pro-gate/grid-chunk-features.d.ts +2 -0
- package/dist/types/components/grid/core/pro-gate/grid-clipboard-policy.d.ts +8 -0
- package/dist/types/components/grid/core/pro-gate/grid-declarations.d.ts +25 -0
- package/dist/types/components/grid/core/pro-gate/grid-engine-license.d.ts +23 -0
- package/dist/types/components/grid/core/pro-gate/grid-formula-freeze.d.ts +15 -0
- package/dist/types/components/grid/core/pro-gate/grid-freeze-work.d.ts +38 -0
- package/dist/types/components/grid/core/pro-gate/grid-pro-gate.d.ts +51 -0
- package/dist/types/components/grid/core/pro-gate/grid-state-requirements.d.ts +21 -0
- package/dist/types/components/grid/core/pro-panels/column-menu.d.ts +38 -0
- package/dist/types/components/grid/core/rbac/cell-access.d.ts +12 -0
- package/dist/types/components/grid/core/row-drag/drag-safety.d.ts +268 -0
- package/dist/types/components/grid/core/row-drag/drop-zones.d.ts +266 -0
- package/dist/types/components/grid/core/row-drag/reorder.d.ts +12 -0
- package/dist/types/components/grid/core/row-drag/reparent-facade.d.ts +64 -0
- package/dist/types/components/grid/core/row-drag/row-drag-chunk.d.ts +5 -0
- package/dist/types/components/grid/core/row-drag/row-drag-facade.d.ts +293 -0
- package/dist/types/components/grid/core/row-drag/unmanaged-drag.d.ts +262 -0
- package/dist/types/components/grid/core/row-layout/aligned-grids-facade.d.ts +61 -0
- package/dist/types/components/grid/core/row-layout/aligned-grids.d.ts +154 -0
- package/dist/types/components/grid/core/row-layout/col-span.d.ts +147 -0
- package/dist/types/components/grid/core/row-layout/full-width-facade.d.ts +63 -0
- package/dist/types/components/grid/core/row-layout/full-width-rows.d.ts +261 -0
- package/dist/types/components/grid/core/row-layout/pinned-row-policy.d.ts +142 -0
- package/dist/types/components/grid/core/row-layout/pinned-rows-facade.d.ts +72 -0
- package/dist/types/components/grid/core/row-layout/pinned-rows.d.ts +116 -0
- package/dist/types/components/grid/core/row-layout/row-layout-chunk.d.ts +11 -0
- package/dist/types/components/grid/core/row-layout/row-layout-facade.d.ts +143 -0
- package/dist/types/components/grid/core/row-layout/row-span.d.ts +102 -0
- package/dist/types/components/grid/core/row-layout/span-interaction.d.ts +140 -0
- package/dist/types/components/grid/core/row-markers.d.ts +19 -0
- package/dist/types/components/grid/core/row-model/block-cache.d.ts +46 -0
- package/dist/types/components/grid/core/row-model/client-side.d.ts +10 -0
- package/dist/types/components/grid/core/row-model/datasource.d.ts +16 -0
- package/dist/types/components/grid/core/row-model/index.d.ts +1 -0
- package/dist/types/components/grid/core/row-model/infinite.d.ts +1 -0
- package/dist/types/components/grid/core/row-model/placeholder-row.d.ts +9 -0
- package/dist/types/components/grid/core/row-model/server-datasource-lifecycle.d.ts +80 -0
- package/dist/types/components/grid/core/row-model/server-group-selection.d.ts +123 -0
- package/dist/types/components/grid/core/row-model/server-pivot-results.d.ts +234 -0
- package/dist/types/components/grid/core/row-model/server-refresh.d.ts +63 -0
- package/dist/types/components/grid/core/row-model/server-selection.d.ts +76 -0
- package/dist/types/components/grid/core/row-model/server-side-retry.d.ts +37 -0
- package/dist/types/components/grid/core/row-model/server-side.d.ts +109 -0
- package/dist/types/components/grid/core/row-model/server-store-events.d.ts +160 -0
- package/dist/types/components/grid/core/row-model/server-store-inspection.d.ts +80 -0
- package/dist/types/components/grid/core/row-model/server-store-routes.d.ts +142 -0
- package/dist/types/components/grid/core/row-model/server-transaction-queue.d.ts +96 -0
- package/dist/types/components/grid/core/row-model/server-transactions.d.ts +29 -0
- package/dist/types/components/grid/core/row-model/ssrm-ops-chunk.d.ts +93 -0
- package/dist/types/components/grid/core/row-model/ssrm-selection-facade.d.ts +49 -0
- package/dist/types/components/grid/core/row-model/ssrm-selection.d.ts +107 -0
- package/dist/types/components/grid/core/row-model/viewport-adapters.d.ts +45 -0
- package/dist/types/components/grid/core/row-model/viewport.d.ts +37 -0
- package/dist/types/components/grid/core/selection/canonical-ranges.d.ts +59 -0
- package/dist/types/components/grid/core/selection/checkbox-column.d.ts +28 -0
- package/dist/types/components/grid/core/selection/fill-gestures.d.ts +26 -0
- package/dist/types/components/grid/core/selection/fill-handle.d.ts +78 -0
- package/dist/types/components/grid/core/selection/fill-series.d.ts +57 -0
- package/dist/types/components/grid/core/selection/fill-transaction.d.ts +111 -0
- package/dist/types/components/grid/core/selection/fill-values.d.ts +29 -0
- package/dist/types/components/grid/core/selection/range-bounds.d.ts +2 -0
- package/dist/types/components/grid/core/selection/range.d.ts +32 -0
- package/dist/types/components/grid/core/selection/row.d.ts +31 -0
- package/dist/types/components/grid/core/side-bar/side-bar.d.ts +12 -0
- package/dist/types/components/grid/core/snapshot/snapshot-diff.d.ts +21 -0
- package/dist/types/components/grid/core/snapshot/snapshot.d.ts +24 -0
- package/dist/types/components/grid/core/sort-cycle.d.ts +13 -0
- package/dist/types/components/grid/core/sort-model.d.ts +15 -0
- package/dist/types/components/grid/core/spreadsheet-text.d.ts +7 -0
- package/dist/types/components/grid/core/state/canonical.d.ts +9 -0
- package/dist/types/components/grid/core/state/contracts.d.ts +42 -0
- package/dist/types/components/grid/core/state/filter-handlers.d.ts +34 -0
- package/dist/types/components/grid/core/state/find-state.d.ts +11 -0
- package/dist/types/components/grid/core/state/grid-state.d.ts +61 -0
- package/dist/types/components/grid/core/state/migrate.d.ts +21 -0
- package/dist/types/components/grid/core/state/ownership.d.ts +2 -0
- package/dist/types/components/grid/core/state/persistence.d.ts +21 -0
- package/dist/types/components/grid/core/state/slices/columns.d.ts +55 -0
- package/dist/types/components/grid/core/state/slices/filter.d.ts +45 -0
- package/dist/types/components/grid/core/state/slices/rows.d.ts +73 -0
- package/dist/types/components/grid/core/state/slices/ui.d.ts +77 -0
- package/dist/types/components/grid/core/state/state-events.d.ts +50 -0
- package/dist/types/components/grid/core/state/validate.d.ts +9 -0
- package/dist/types/components/grid/core/status-bar/status-bar.d.ts +18 -0
- package/dist/types/components/grid/core/status-bar/status-panels.d.ts +11 -0
- package/dist/types/components/grid/core/sync/array.d.ts +44 -0
- package/dist/types/components/grid/core/sync/clock.d.ts +32 -0
- package/dist/types/components/grid/core/sync/collab-bridge.d.ts +28 -0
- package/dist/types/components/grid/core/sync/doc.d.ts +35 -0
- package/dist/types/components/grid/core/sync/id.d.ts +11 -0
- package/dist/types/components/grid/core/sync/map.d.ts +33 -0
- package/dist/types/components/grid/core/sync/text.d.ts +11 -0
- package/dist/types/components/grid/core/sync/undo-manager.d.ts +23 -0
- package/dist/types/components/grid/core/theme/apply.d.ts +12 -0
- package/dist/types/components/grid/core/theme/presets.d.ts +9 -0
- package/dist/types/components/grid/core/theme/tokens.d.ts +13 -0
- package/dist/types/components/grid/core/tree/reparent.d.ts +159 -0
- package/dist/types/components/grid/core/tree/tree-data-chunk.d.ts +4 -0
- package/dist/types/components/grid/core/tree/tree-data.d.ts +19 -0
- package/dist/types/components/grid/core/types.d.ts +247 -0
- package/dist/types/components/grid/core/utils/structural.d.ts +2 -0
- package/dist/types/components/grid/core/validation/validation.d.ts +24 -0
- package/dist/types/components/grid/core/virtualizer/cell-virtualizer.d.ts +1 -0
- package/dist/types/components/grid/core/virtualizer/column-virtualizer.d.ts +14 -0
- package/dist/types/components/grid/core/virtualizer/index.d.ts +1 -0
- package/dist/types/components/grid/core/virtualizer/row-virtualizer.d.ts +52 -0
- package/dist/types/components/grid/core/visual-regression/baseline.d.ts +2 -0
- package/dist/types/components/grid/core/visual-regression/dom-snapshot.d.ts +14 -0
- package/dist/types/components/grid/core/visual-regression/real-dom-canonicalise.d.ts +1 -0
- package/dist/types/components/grid/core/vnode-factory.d.ts +1 -0
- package/dist/types/components/grid/engines/standard/index.d.ts +1 -0
- package/dist/types/components/grid/engines/standard/sy-grid-standard.d.ts +24 -0
- package/dist/types/components/grid/index.d.ts +21 -0
- package/dist/types/components/grid/sy-grid.d.ts +2136 -0
- package/dist/types/components.d.ts +10597 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/license/base64url.d.ts +3 -0
- package/dist/types/license/certificate.d.ts +48 -0
- package/dist/types/license/constants.d.ts +38 -0
- package/dist/types/license/context.d.ts +6 -0
- package/dist/types/license/deployment.d.ts +9 -0
- package/dist/types/license/diagnostic-constants.d.ts +7 -0
- package/dist/types/license/discovery.d.ts +10 -0
- package/dist/types/license/errors.d.ts +47 -0
- package/dist/types/license/evaluate.d.ts +19 -0
- package/dist/types/license/failure.d.ts +11 -0
- package/dist/types/license/fetch-license.d.ts +12 -0
- package/dist/types/license/generated/chart-features.generated.d.ts +2244 -0
- package/dist/types/license/generated/core-features.generated.d.ts +349 -0
- package/dist/types/license/generated/feature-map.generated.d.ts +4 -0
- package/dist/types/license/generated/grid-features.generated.d.ts +3681 -0
- package/dist/types/license/generated/products.generated.d.ts +26 -0
- package/dist/types/license/index.d.ts +15 -0
- package/dist/types/license/json.d.ts +4 -0
- package/dist/types/license/jws.d.ts +9 -0
- package/dist/types/license/registry.d.ts +37 -0
- package/dist/types/license/release.generated.d.ts +6 -0
- package/dist/types/license/runtime.d.ts +27 -0
- package/dist/types/license/subtle.d.ts +5 -0
- package/dist/types/license/timers.d.ts +6 -0
- package/dist/types/license/timestamp.d.ts +1 -0
- package/dist/types/license/trust-keys.generated.d.ts +3 -0
- package/dist/types/license/trust-store.d.ts +6 -0
- package/dist/types/license/types.d.ts +85 -0
- package/dist/types/license/verify.d.ts +30 -0
- package/dist/types/license/watch.d.ts +18 -0
- package/dist/types/stencil-public-runtime.d.ts +1356 -0
- package/dist/types/utils/story-template.d.ts +17 -0
- package/loader/cdn.js +1 -0
- package/loader/chart-scope.d.ts +21 -0
- package/loader/chart-scope.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +13 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +1 -0
- package/package.json +108 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,g as s,h as e,H as n}from"./p-DChj4qx2.js";import{s as r,r as o}from"./p-DO6vGxJP.js";import{a as h,v as a}from"./p-kJe8wHkN.js";import{p as l}from"./p-EXuVQfpl.js";import{c,d as u,i as d,g as p,G as f,b}from"./p-B6K1arcd.js";import{E as x,S as m,c as y,d as v,f as g,e as M}from"./p-C1vfsnDY.js";import{a as $}from"./p-nxlSIIWU.js";import{c as w}from"./p-DTZUbymc.js";import{r as k,a as S,d as C,b as A}from"./p-DogpgTFv.js";import{b as P,a as z}from"./p-CTrT2jn4.js";import{a as _,t as N,c as I}from"./p-C0f63Npv.js";import{h as D}from"./p-_AFoWkvk.js";import{Z as R,r as T}from"./p-DXJS1EXW.js";import{t as E}from"./p-S3uzYKsD.js";import"./p-BwtrZuf8.js";import"./p-HAy9hTj2.js";import"./p-DUELYDa7.js";import"./p-D6sPnRDQ.js";import"./p-AzDRbG7D.js";function X(t2){return"number"==typeof t2&&Number.isFinite(t2)}function Y(t2){if(!t2)return null;if(Array.isArray(t2)){const[i3,s2,e2,n2]=t2;return X(i3)&&X(s2)&&X(e2)?{x:i3,y:s2,z:e2,name:"string"==typeof n2&&""!==n2?n2:null,color:null}:null}const i2=t2;return X(i2.x)&&X(i2.y)&&X(i2.z)?{x:i2.x,y:i2.y,z:i2.z,name:"string"==typeof i2.name&&""!==i2.name?i2.name:null,color:"string"==typeof i2.color&&""!==i2.color?i2.color:null}:null}function L(t2,i2){return t2.name??`#${i2+1}`}function j(t2,i2,s2,e2,n2){let r2=X(s2)?s2:Number.isFinite(t2)?t2:0,o2=X(e2)?e2:Number.isFinite(i2)?i2:1;if(!X(s2)&&!X(e2)&&Number.isFinite(t2)&&Number.isFinite(i2)){const s3=i2-t2;s3>0?(r2=t2-s3*n2,o2=i2+s3*n2):(r2=t2-1,o2=i2+1)}else X(s2)&&!X(e2)&&o2<=r2?o2=r2+1:!X(s2)&&X(e2)&&r2>=o2&&(r2=o2-1);return o2<=r2&&(o2=r2+1),[r2,o2]}function F(t2,i2){const s2=i2.zMax-i2.zMin;if(!(s2>0))return(i2.minPx+i2.maxPx)/2;const e2=Math.max(0,Math.min(1,(t2-i2.zMin)/s2));return"radius"===i2.scale?i2.minPx+e2*(i2.maxPx-i2.minPx):Math.sqrt(i2.minPx*i2.minPx+e2*(i2.maxPx*i2.maxPx-i2.minPx*i2.minPx))}function O(t2,i2,s2){const e2=t2.x-i2.x,n2=t2.y-i2.y,r2=e2*e2+n2*n2;if(r2){let o2=i2.r+s2.r;o2*=o2;let h2=t2.r+s2.r;if(h2*=h2,o2>h2){const i3=(r2+h2-o2)/(2*r2),a2=Math.sqrt(Math.max(0,h2/r2-i3*i3));s2.x=t2.x-i3*e2-a2*n2,s2.y=t2.y-i3*n2+a2*e2}else{const t3=(r2+o2-h2)/(2*r2),a2=Math.sqrt(Math.max(0,o2/r2-t3*t3));s2.x=i2.x+t3*e2-a2*n2,s2.y=i2.y+t3*n2+a2*e2}}else s2.x=i2.x+s2.r,s2.y=i2.y}function H(t2,i2){const s2=t2.r+i2.r-1e-6,e2=i2.x-t2.x,n2=i2.y-t2.y;return s2>0&&s2*s2>e2*e2+n2*n2}function B(t2){const i2=t2.c,s2=t2.next.c,e2=i2.r+s2.r,n2=(i2.x*s2.r+s2.x*i2.r)/e2,r2=(i2.y*s2.r+s2.y*i2.r)/e2;return n2*n2+r2*r2}function W(t2,i2){const s2=t2.r-i2.r,e2=i2.x-t2.x,n2=i2.y-t2.y;return s2<0||s2*s2<e2*e2+n2*n2}function K(t2,i2){const s2=t2.r-i2.r+1e-9*Math.max(t2.r,i2.r,1),e2=i2.x-t2.x,n2=i2.y-t2.y;return s2>0&&s2*s2>e2*e2+n2*n2}function U(t2,i2){for(let s2=0;s2<i2.length;s2+=1)if(!K(t2,i2[s2]))return false;return true}function Z(t2,i2){const s2=t2.x,e2=t2.y,n2=t2.r,r2=i2.x,o2=i2.y,h2=i2.r,a2=r2-s2,l2=o2-e2,c2=h2-n2,u2=Math.sqrt(a2*a2+l2*l2);return{x:(s2+r2+a2/u2*c2)/2,y:(e2+o2+l2/u2*c2)/2,r:(u2+n2+h2)/2}}function V(t2,i2,s2){const e2=t2.x,n2=t2.y,r2=t2.r,o2=i2.x,h2=i2.y,a2=i2.r,l2=s2.x,c2=s2.y,u2=s2.r,d2=e2-o2,p2=e2-l2,f2=n2-h2,b2=n2-c2,x2=a2-r2,m2=u2-r2,y2=e2*e2+n2*n2-r2*r2,v2=y2-o2*o2-h2*h2+a2*a2,g2=y2-l2*l2-c2*c2+u2*u2,M2=p2*f2-d2*b2,$2=(f2*g2-b2*v2)/(2*M2)-e2,w2=(b2*x2-f2*m2)/M2,k2=(p2*v2-d2*g2)/(2*M2)-n2,S2=(d2*m2-p2*x2)/M2,C2=w2*w2+S2*S2-1,A2=2*(r2+$2*w2+k2*S2),P2=$2*$2+k2*k2-r2*r2,z2=-(Math.abs(C2)>1e-6?(A2+Math.sqrt(A2*A2-4*C2*P2))/(2*C2):P2/A2);return{x:e2+$2+w2*z2,y:n2+k2+S2*z2,r:z2}}function q(t2){return 1===t2.length?{x:t2[0].x,y:t2[0].y,r:t2[0].r}:2===t2.length?Z(t2[0],t2[1]):V(t2[0],t2[1],t2[2])}function J(t2,i2){if(U(i2,t2))return[i2];for(let s2=0;s2<t2.length;s2+=1)if(W(i2,t2[s2])&&U(Z(t2[s2],i2),t2))return[t2[s2],i2];for(let s2=0;s2<t2.length-1;s2+=1)for(let e2=s2+1;e2<t2.length;e2+=1)if(W(Z(t2[s2],t2[e2]),i2)&&W(Z(t2[s2],i2),t2[e2])&&W(Z(t2[e2],i2),t2[s2])&&U(V(t2[s2],t2[e2],i2),t2))return[t2[s2],t2[e2],i2];throw new Error("[bubble-pack] the enclosing basis could not be extended")}function G(t2,i2=0){const s2=Math.max(0,Number.isFinite(i2)?i2:0)/2,e2=t2.map((t3=>({x:0,y:0,r:(Number.isFinite(t3)&&t3>0?t3:0)+s2}))),n2=(function(t3){const i3=t3.length;if(0===i3)return 0;const s3=t3[0];if(s3.x=0,s3.y=0,1===i3)return s3.r;const e3=t3[1];if(s3.x=-e3.r,e3.x=s3.r,e3.y=0,2===i3)return s3.r+e3.r;let n3=t3[2];O(e3,s3,n3);let r2={c:s3},o2={c:e3},h2={c:n3};r2.next=h2.previous=o2,o2.next=r2.previous=h2,h2.next=o2.previous=r2;t:for(let s4=3;s4<i3;s4+=1){n3=t3[s4],O(r2.c,o2.c,n3);const i4={c:n3};let e4=o2.next,h3=r2.previous,a3=o2.c.r,l3=r2.c.r;do{if(a3<=l3){if(H(e4.c,i4.c)){o2=e4,r2.next=o2,o2.previous=r2,s4-=1;continue t}a3+=e4.c.r,e4=e4.next}else{if(H(h3.c,i4.c)){r2=h3,r2.next=o2,o2.previous=r2,s4-=1;continue t}l3+=h3.c.r,h3=h3.previous}}while(e4!==h3.next);i4.previous=r2,i4.next=o2,r2.next=o2.previous=o2=i4;let c3=B(r2),u2=i4;for(;(u2=u2.next)!==o2;){const t4=B(u2);t4<c3&&(r2=u2,c3=t4)}o2=r2.next}const a2=[o2.c];let l2=o2;for(;(l2=l2.next)!==o2;)a2.push(l2.c);const c2=(function(t4){if(0===t4.length)return{x:0,y:0,r:0};try{let i4,s4=0,e4=[];for(;s4<t4.length;){const n4=t4[s4];i4&&K(i4,n4)?s4+=1:(e4=J(e4,n4),i4=q(e4),s4=0)}return i4??{x:0,y:0,r:0}}catch{return(function(t5){let i4=1/0,s4=-1/0,e4=1/0,n4=-1/0;for(const r4 of t5)i4=Math.min(i4,r4.x-r4.r),s4=Math.max(s4,r4.x+r4.r),e4=Math.min(e4,r4.y-r4.r),n4=Math.max(n4,r4.y+r4.r);const r3=(i4+s4)/2,o3=(e4+n4)/2;let h3=0;for(const i5 of t5)h3=Math.max(h3,Math.hypot(i5.x-r3,i5.y-o3)+i5.r);return{x:r3,y:o3,r:h3}})(t4)}})(a2);for(const i4 of t3)i4.x-=c2.x,i4.y-=c2.y;return c2.r})(e2);return{circles:e2.map((t3=>({x:t3.x,y:t3.y,r:t3.r-s2}))),enclosing:{x:0,y:0,r:Math.max(0,n2-s2)}}}function Q(t2){return"fill"===t2?"fill":"contain"}function tt(t2){if("string"!=typeof t2)return null;const i2=l(t2);return i2?[i2.r/255,i2.g/255,i2.b/255,i2.a]:null}function it(t2,i2="value"){switch(i2){case"value":case"z":return t2.z;case"x":return t2.x;case"y":return t2.y;case"index":return t2.index;default:return null}}function st(t2){return`${i2=t2,"piecewise"===i2.type?`vm:piecewise|${i2.min}|${i2.max}|${i2.outOfRangeColor}|${i2.pieces.map((t3=>`${t3.min??""}~${t3.max??""}~${t3.value??""}~${t3.color}`)).join(",")}|${i2.selected?i2.selected.map((t3=>t3?1:0)).join(""):"all"}`:`vm:continuous|${i2.min}|${i2.max}|${i2.space}|${i2.outOfRangeColor}|${i2.stops.map((t3=>`${t3.t}~${t3.color}`)).join(",")}|${i2.range?`${i2.range.min}..${i2.range.max}`:"full"}`}|${t2.dimension??"value"}`;var i2}const et=5e4,nt="Pro renderer unavailable";function rt(t2,i2){return{requested:t2.requested,engineClass:"engine-swap",entitlement:i2,gpuAvailable:true===t2.proAvailable,moduleAvailable:t2.moduleAvailable??true,hasStandardRenderer:true,dataSize:Number.isFinite(t2.pointCount)&&t2.pointCount>=0?t2.pointCount:0,proThreshold:t2.proThreshold,defaultProThreshold:et,autoWantsPro:true===t2.keepPro||void 0,onUnavailable:t2.onUnavailable,moduleReason:t2.proUnavailableReason||nt,gpuReason:t2.proUnavailableReason||nt}}function ot(t2){return c(rt(t2,"pending"))}function ht(t2,i2,s2){const e2=(n2=s2,!Number.isFinite(n2)||n2<=0?0:n2>=1?1:n2);var n2;const r2=Math.max(t2.length,i2.length),o2=new Array(r2);for(let s3=0;s3<r2;s3+=1){const n3=t2[s3],r3=i2[s3];o2[s3]=n3&&r3?{x:n3.x+(r3.x-n3.x)*e2,y:n3.y+(r3.y-n3.y)*e2,r:Math.max(0,n3.r+(r3.r-n3.r)*e2),color:r3.color}:r3?{x:r3.x,y:r3.y,r:Math.max(0,r3.r*e2),color:r3.color}:{x:n3.x,y:n3.y,r:Math.max(0,n3.r*(1-e2)),color:n3.color}}return o2}function at(t2,i2){return"number"==typeof t2&&Number.isFinite(t2)&&t2>=0?t2:i2}function lt(t2){const i2=at(t2.minPx,4);return{minPx:i2,maxPx:Math.max(i2,at(t2.maxPx,28))}}function ct(t2,i2){const{minPx:s2,maxPx:e2}=lt(t2);return{zMin:t2.zMin,zMax:t2.zMax,minPx:s2*i2,maxPx:e2*i2}}function ut(t2,i2,s2,e2){if(2===s2)return Math.max(t2,0)*e2;const n2=i2.minPx,r2=i2.maxPx,o2=i2.zMax-i2.zMin;if(!(o2>0))return .5*(n2+r2);const h2=Math.max(0,Math.min(1,(t2-i2.zMin)/o2));return 1===s2?n2+h2*(r2-n2):Math.sqrt(n2*n2+h2*(r2*r2-n2*n2))}function dt(t2,i2){const s2=Math.max(0,Math.min(1,t2/1.35));return 1+i2*(.35-s2*s2*(3-2*s2)*.9)}const pt=2*Math.PI;function ft(t2){return Math.max(0,Math.min(1,Number.isFinite(t2)?t2:0))}function bt(t2,i2=1){const s2=t3=>Math.round(255*ft(ft(t3)*i2));return`rgba(${s2(t2[0])}, ${s2(t2[1])}, ${s2(t2[2])}, ${Math.round(1e3*ft(t2[3]))/1e3})`}class xt{canvas;context;destroyed=false;constructor(t2){this.canvas=t2}async init(t2,i2){this.destroyed=false}maxPoints(){return Number.POSITIVE_INFINITY}destroy(){this.destroyed=true;const t2=this.context;if(this.context=void 0,t2)try{t2.setTransform(1,0,0,1,0,0),t2.clearRect(0,0,this.canvas.width,this.canvas.height)}catch{}}ctx(){return void 0===this.context&&(this.context=this.canvas.getContext("2d")??null),this.context}draw(t2){const i2=Math.max(0,Math.min(Math.floor(t2.points),Math.floor(t2.records.length/8))),s2=this.destroyed?null:this.ctx();if(!s2)return{points:i2,drawn:0,renderMs:0};const e2="undefined"!=typeof performance?performance.now():0,n2=Math.max(1,t2.width),r2=Math.max(1,t2.height),o2="undefined"!=typeof window&&Number.isFinite(window.devicePixelRatio)?Math.max(1,window.devicePixelRatio):1,h2=t2.observedPixelSize,a2=h2&&h2.width>0?Math.max(1,Math.round(h2.width)):Math.max(1,Math.round(n2*o2)),l2=h2&&h2.height>0?Math.max(1,Math.round(h2.height)):Math.max(1,Math.round(r2*o2));this.canvas.width!==a2&&(this.canvas.width=a2),this.canvas.height!==l2&&(this.canvas.height=l2);const c2=a2/n2,u2=l2/r2;s2.setTransform(1,0,0,1,0,0),s2.globalAlpha=1,s2.clearRect(0,0,a2,l2);const d2=lt(t2.radius),p2=(function(t3,i3){return"px"===i3?2:"radius"===t3.scale?1:0})(t2.radius,t2.radiusLane),f2={...ct(t2.radius,c2),mode:p2},b2={width:n2,height:r2,scaleX:c2,scaleY:u2},x2=("number"==typeof(m2=t2.borderPx)&&Number.isFinite(m2)&&m2>=0?m2:1)*c2;var m2;const y2=ft(Number.isFinite(t2.reveal)?t2.reveal:1),v2=Number.isInteger(t2.activeIndex)&&t2.activeIndex>=0?t2.activeIndex:-1,g2="sphere"===t2.shading?"sphere":"flat",M2=ft(Number.isFinite(t2.shadeStrength)?t2.shadeStrength:1),$2=true===t2.borderAuto,w2=t2.records,k2=bt(t2.fillColor),S2=bt(t2.activeColor),C2=bt(t2.borderColor);s2.globalAlpha=y2;const A2=i3=>{const e3=8*i3,n3=(function(t3,i4,s3,e4){const n4=(t3.x-i4.xMin)/Math.max(i4.xMax-i4.xMin,1e-9),r4=(t3.y-i4.yMin)/Math.max(i4.yMax-i4.yMin,1e-9);return{cx:n4*s3.width*s3.scaleX,cy:(1-r4)*s3.height*s3.scaleY,r:ut(t3.z,e4,e4.mode,s3.scaleX)}})({x:w2[e3],y:w2[e3+1],z:w2[e3+2]},t2.project,b2,f2);if(!(n3.r>0&&Number.isFinite(n3.cx)&&Number.isFinite(n3.cy)))return;const r3=w2[e3+3]>.5,o3=[w2[e3+4],w2[e3+5],w2[e3+6],w2[e3+7]],h3=i3===v2,a3=h3?t2.activeColor:r3?o3:t2.fillColor,l3=x2>0?Math.max(0,n3.r-x2):n3.r;if(l3>0){if("sphere"===g2){const t3=Math.max(n3.r,1),i4=s2.createRadialGradient(n3.cx-.35*t3,n3.cy-.35*t3,0,n3.cx-.35*t3,n3.cy-.35*t3,1.35*t3);for(let t4=0;t4<9;t4+=1){const s3=t4/8;i4.addColorStop(s3,bt(a3,dt(1.35*s3,M2)))}s2.fillStyle=i4}else s2.fillStyle=h3?S2:r3?bt(o3):k2;s2.beginPath(),s2.arc(n3.cx,n3.cy,l3,0,pt),s2.fill()}const c3=n3.r-l3;c3>0&&(s2.strokeStyle=r3&&$2?bt([o3[0],o3[1],o3[2],1]):C2,s2.lineWidth=c3,s2.beginPath(),s2.arc(n3.cx,n3.cy,l3+c3/2,0,pt),s2.stroke())};for(let t3=0;t3<i2;t3+=1)t3!==v2&&A2(t3);return v2>=0&&v2<i2&&A2(v2),s2.globalAlpha=1,{points:i2,drawn:i2,renderMs:("undefined"!=typeof performance?performance.now():0)-e2,bubble:{points:i2,drawn:i2,bytes:0,uploaded:0,full:true,version:t2.version,minRadiusPx:d2.minPx,maxRadiusPx:d2.maxPx,activeIndex:v2,shading:g2}}}}const mt=false;function yt(t2){return!Number.isFinite(t2)||t2<=0?0:t2>=1?1:t2}function vt(t2){return{...t2,...t2.geoMap?{geoMap:structuredClone(t2.geoMap)}:{},...t2.gantt?{gantt:structuredClone(t2.gantt)}:{},...t2.parallelCoordinates?{parallelCoordinates:structuredClone(t2.parallelCoordinates)}:{},...t2.surface3d?{surface3d:structuredClone(t2.surface3d)}:{},...t2.scatter3d?{scatter3d:structuredClone(t2.scatter3d)}:{},...t2.bar3d?{bar3d:structuredClone(t2.bar3d)}:{},...t2.themeRiver?{themeRiver:structuredClone(t2.themeRiver)}:{}}}function gt(t2){return Math.round(100*t2)/100}function Mt(t2,i2){return"number"!=typeof i2?i2:new Set(["lineHeight","opacity","zIndex","fontWeight","flex","flexGrow","flexShrink","order"]).has(t2)?String(i2):`${i2}px`}class $t{host;className;current=null;pinned=[];drag;nextId=1;memory=new Map;constructor(t2,i2="sy-cell__tooltip"){this.host=t2,this.className=i2}resolveSpec(t2,i2){const s2=k(t2);return void 0!==t2||i2?s2:{...s2,show:false}}get visible(){return null!==this.current||this.pinned.length>0}get single(){return this.current}shouldShowOnHover(t2){return"click"!==t2.trigger}shouldShowOnClick(t2){return"click"===t2.trigger||"hover-click"===t2.trigger}shouldHideOnLeave(t2){return!t2.show||!t2.draggable&&"click"!==t2.trigger&&false!==t2.hideOnLeave}clear(){this.visible&&(this.drag=void 0,this.current=null,this.pinned=[],this.host.emitHide(),this.host.requestRender())}show(t2,i2,s2,e2=false,n2){const r2=e2&&"multiple"===s2.openMode,o2=i2.key??i2.index,h2=r2?this.pinned.find((t3=>t3.key===o2)):this.current?.key===o2?this.current:void 0,a2=this.renderedFor(t2,i2,s2,h2??(n2?.key===o2?n2:void 0));this.drag=void 0,r2?(this.current=a2,this.pinned=h2?this.pinned.map((t3=>t3.id===h2.id?a2:t3)):[...this.pinned,a2]):(this.pinned=[],this.current=a2);const l2={cssX:a2.cssX,cssY:a2.cssY,anchor:a2.side,text:a2.text,html:a2.html,context:vt(a2.context)};return this.host.emitShow(l2),this.host.requestRender(),l2}capture(t2){const i2=this.pinned.find((i3=>i3.key===t2))??(this.current?.key===t2?this.current:void 0);return i2?{...i2,bounds:i2.bounds?{...i2.bounds}:void 0,context:vt(i2.context),box:i2.box?{...i2.box}:void 0,positionLock:i2.positionLock?{...i2.positionLock}:void 0,style:i2.style?{...i2.style}:void 0,connector:i2.connector?{...i2.connector}:void 0}:void 0}reconcile(t2,i2){const s2=new Map,e2=t3=>(s2.has(t3)||s2.set(t3,i2(t3)),s2.get(t3));for(const t3 of this.memory.keys())e2(t3)||this.memory.delete(t3);if(!this.visible)return;const n2=this.pinned.length?this.pinned:this.current?[this.current]:[],r2=n2.flatMap((i3=>{const s3=e2(i3.key??i3.context.pointIndex??i3.context.index??0);return s3?.spec.show?[this.renderedFor(t2,s3.cell,s3.spec,i3)]:[]}));if(!r2.length)return void this.clear();if(JSON.stringify(n2)===JSON.stringify(r2))return;const o2=r2.find((t3=>t3.id===this.current?.id));o2||(this.drag=void 0),this.current=o2??r2[r2.length-1],this.pinned=this.pinned.length?r2:[],this.host.requestRender()}renderedFor(t2,i2,s2,e2){const n2={seriesIndex:0,pointIndex:i2.index,index:i2.index,value:i2.value,cssX:i2.cssX,cssY:i2.cssY,dataX:i2.dataX,dataY:i2.dataY,mode:s2.mode,...i2.geoMap?{geoMap:structuredClone(i2.geoMap)}:{},...i2.gantt?{gantt:structuredClone(i2.gantt)}:{},...i2.parallelCoordinates?{parallelCoordinates:structuredClone(i2.parallelCoordinates)}:{},...i2.surface3d?{surface3d:structuredClone(i2.surface3d)}:{},...i2.scatter3d?{scatter3d:structuredClone(i2.scatter3d)}:{},...i2.bar3d?{bar3d:structuredClone(i2.bar3d)}:{},...i2.themeRiver?{themeRiver:structuredClone(i2.themeRiver)}:{}},o2=P({frame:{plot:t2},hit:{cssX:i2.cssX,cssY:i2.cssY},spec:s2}),h2=i2.key??i2.index,a2=e2?.positionLock?{lock:e2.positionLock,side:e2.side,box:e2.box}:e2&&s2.draggable?void 0:this.lockedPositionFor(h2,s2),l2=a2?.side??o2.side,c2=i2.bounds?{...i2.bounds}:void 0,u2=c2?{cssX:"left"===l2?c2.x:"right"===l2?c2.x+c2.width:c2.x+c2.width/2,cssY:"top"===l2?c2.y:"bottom"===l2?c2.y+c2.height:c2.y+c2.height/2}:void 0,d2=a2?this.anchorFromLock(a2.lock,l2,a2.box,s2.offset??10):u2??{cssX:o2.cssX,cssY:o2.cssY},p2=r(s2.format,[n2.value,vt(n2)],(()=>i2.text),"tooltip.format",s2),f2=r(s2.html,[n2.value,vt(n2)],(()=>{}),"tooltip.html",s2);return{id:e2?.id??this.nextId++,bounds:c2,key:h2,cssX:d2.cssX,cssY:d2.cssY,pointCssX:i2.cssX,pointCssY:i2.cssY,box:a2?.box??e2?.box,side:l2,text:p2,html:f2,className:s2.className,style:this.styleFromSpec(s2),interactive:s2.interactive,connector:s2.connector,draggable:s2.draggable,offset:s2.offset,positionLock:a2?.lock,context:n2}}measure(t2){if(!this.current||!t2)return;const i2=this.pinned.length>0,s2=i2?Array.from(t2.parentElement?.children??[t2]):[t2],e2=new Map((i2?this.pinned:[this.current]).map((t3=>[t3.id,t3]))),n2=new Map;for(const t3 of s2){const s3=t3.getAttribute?.("data-tooltip-id"),r2=i2||null!=s3?Number(s3):this.current.id,o2=e2.get(r2);if(!o2)continue;const h2=t3.getBoundingClientRect();if(!Number.isFinite(h2.width)||!Number.isFinite(h2.height))continue;const a2=gt(h2.width),l2=gt(h2.height);if(o2.box?.width===a2&&o2.box?.height===l2)continue;const c2={width:a2,height:l2},u2={...o2,box:c2};o2.positionLock&&Object.assign(u2,this.anchorFromLock(o2.positionLock,o2.side,c2,o2.offset??10)),this.remember(u2),n2.set(r2,u2)}0!==n2.size&&(this.current=n2.get(this.current.id)??this.current,i2&&(this.pinned=this.pinned.map((t3=>n2.get(t3.id)??t3))),this.host.requestRender())}renderModel(){const t2=(this.pinned.length>0?this.pinned:[this.current]).map((t3=>this.positioned(t3))).filter((t3=>Boolean(t3))),i2=t2.flatMap(((t3,i3)=>{const s2=this.topLeftFromAnchor(t3);return s2&&t3.box?[{...s2,...t3.box,index:i3,locked:Boolean(t3.positionLock)}]:[]}));for(const s2 of _(i2,this.host.size())){const i3=t2[s2.index];i3.positionLock||(t2[s2.index]={...i3,...this.anchorFromTopLeft(s2.x,s2.y,i3.box,i3.side,i3.offset??10)})}return{items:t2.map((t3=>this.renderItem(t3,true))),connectors:t2.filter((t3=>t3.connector?.show)).map((t3=>{const i3=t3.connector,s2=N(t3);return{x1:gt(t3.pointCssX),y1:gt(t3.pointCssY),x2:gt(s2.x),y2:gt(s2.y),stroke:i3.color??"var(--sy-tooltip-connector-color, rgba(17,24,39,0.42))",width:i3.width??1,dash:i3.dash?.join(" ")}}))}}handleActionClick=t2=>{const i2=t2.target,s2=i2?.closest?.("[data-tooltip-action]"),e2=s2?.dataset.tooltipAction,n2=t2.currentTarget??s2?.closest?.("[data-tooltip-id]"),r2=Number(n2?.getAttribute("data-tooltip-id")),o2=this.pinned.find((t3=>t3.id===r2))??(this.current?.id===r2?this.current:void 0);e2&&o2&&(t2.stopPropagation(),this.host.emitAction({...vt(o2.context),action:e2,text:o2.text,html:o2.html}))};handlePointerDown=t2=>{const i2=t2.currentTarget,s2=Number(i2?.getAttribute?.("data-tooltip-id")),e2=this.pinned.find((t3=>t3.id===s2));if(e2&&(this.current=e2),!this.current?.draggable)return;const n2=t2.target;if(n2?.closest?.("[data-tooltip-action],button,a,input,textarea,select"))return;t2.preventDefault(),t2.stopPropagation();const r2=this.positioned(this.current)??this.current,o2=this.topLeftFromElement(i2)??this.topLeftFromAnchor(r2)??{x:r2.cssX,y:r2.cssY},h2=this.current.box??r2.box,a2={...this.current,cssX:r2.cssX,cssY:r2.cssY,side:r2.side,box:h2,positionLock:o2};Object.assign(a2,this.anchorFromLock(o2,a2.side,h2,a2.offset??10)),this.current=a2,this.pinned=this.pinned.map((t3=>t3.id===a2.id?a2:t3)),this.remember(a2),i2.setPointerCapture?.(t2.pointerId),this.drag={pointerId:t2.pointerId,startX:t2.clientX,startY:t2.clientY,originLockX:o2.x,originLockY:o2.y},this.host.requestRender()};handlePointerMove=t2=>{const i2=this.drag;if(!i2||i2.pointerId!==t2.pointerId||!this.current)return;t2.preventDefault(),t2.stopPropagation();const s2={x:i2.originLockX+t2.clientX-i2.startX,y:i2.originLockY+t2.clientY-i2.startY},e2={...this.current,positionLock:s2};Object.assign(e2,this.anchorFromLock(s2,e2.side,e2.box,e2.offset??10)),this.current=e2,this.pinned=this.pinned.map((t3=>t3.id===e2.id?e2:t3)),this.remember(e2),this.host.requestRender()};handlePointerUp=t2=>{const i2=this.drag;i2&&i2.pointerId===t2.pointerId&&(t2.stopPropagation(),this.current&&this.remember(this.current),t2.currentTarget.releasePointerCapture?.(t2.pointerId),this.drag=void 0,this.host.requestRender())};renderItem(t2,i2){const{cssX:s2,cssY:e2,side:n2,text:r2,html:o2,className:h2,style:a2,interactive:l2,draggable:c2}=t2,u2=t2.offset??10,d2={position:"absolute",zIndex:"4",boxSizing:"border-box",width:"max-content",maxWidth:"calc(100% - 16px)",...l2||c2?{maxHeight:`${Math.max(0,(this.host.viewport?.().height??this.host.size().height)-12)}px`,overflowY:"auto",overscrollBehavior:"contain"}:{},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:l2||c2?"auto":"none",cursor:c2?this.drag?"grabbing":"grab":"default",transform:""};t2.positionLock?(d2.left=`${t2.positionLock.x}px`,d2.top=`${t2.positionLock.y}px`):"top"===n2?(d2.left=`${s2}px`,d2.top=e2-u2+"px",d2.transform="translate(-50%, -100%)"):"bottom"===n2?(d2.left=`${s2}px`,d2.top=`${e2+u2}px`,d2.transform="translate(-50%, 0%)"):"left"===n2?(d2.left=s2-u2+"px",d2.top=`${e2}px`,d2.transform="translate(-100%, -50%)"):(d2.left=`${s2+u2}px`,d2.top=`${e2}px`,d2.transform="translate(0%, -50%)");for(const[t3,i3]of Object.entries(a2??{}))d2[t3]=Mt(t3,i3);return{id:t2.id,style:d2,className:h2?`${this.className} ${h2}`:this.className,text:r2,html:o2,trackMeasure:i2}}positioned(t2=this.current){if(!t2)return null;if(!t2.box||this.drag&&t2.id===this.current?.id)return t2;if(t2.positionLock){if(t2.draggable)return t2;const i3=this.host.viewport?.()??{x:0,y:0,...this.host.size()},s3={x:Math.max(i3.x+6,Math.min(t2.positionLock.x,i3.x+i3.width-t2.box.width-6)),y:Math.max(i3.y+6,Math.min(t2.positionLock.y,i3.y+i3.height-t2.box.height-6))};return{...t2,positionLock:s3,...this.anchorFromLock(s3,t2.side,t2.box,t2.offset??10)}}const i2=t2.offset??10,{width:s2,height:e2}=this.host.size(),n2=I({anchor:t2.bounds?{kind:"rect",...t2.bounds}:{kind:"point",x:t2.pointCssX,y:t2.pointCssY},tooltip:t2.box,viewport:this.host.viewport?.()??{x:0,y:0,width:s2,height:e2},preferredSide:t2.side,offset:i2,padding:6}),r2=this.anchorFromTopLeft(n2.x,n2.y,t2.box,n2.side,i2);return{...t2,...r2,side:n2.side}}styleFromSpec(t2){const i2={...t2.style??{}};return void 0!==t2.width&&(i2.width=t2.width),void 0!==t2.minWidth&&(i2.minWidth=t2.minWidth),void 0!==t2.maxWidth&&(i2.maxWidth=t2.maxWidth),void 0!==t2.padding&&(i2.padding=t2.padding),Object.keys(i2).length>0?i2:void 0}topLeftFromAnchor(t2){const i2=t2.box;if(!i2)return;const s2=t2.offset??10;return"top"===t2.side?{x:t2.cssX-i2.width/2,y:t2.cssY-s2-i2.height}:"bottom"===t2.side?{x:t2.cssX-i2.width/2,y:t2.cssY+s2}:"left"===t2.side?{x:t2.cssX-s2-i2.width,y:t2.cssY-i2.height/2}:{x:t2.cssX+s2,y:t2.cssY-i2.height/2}}topLeftFromElement(t2){const i2=t2.getBoundingClientRect(),s2=this.host.hostRect();if(s2&&Number.isFinite(i2.left)&&Number.isFinite(i2.top))return{x:i2.left-s2.left,y:i2.top-s2.top}}anchorFromLock(t2,i2,s2,e2){return s2?this.anchorFromTopLeft(t2.x,t2.y,s2,i2,e2):{cssX:t2.x,cssY:t2.y}}anchorFromTopLeft(t2,i2,s2,e2,n2){return"top"===e2?{cssX:t2+s2.width/2,cssY:i2+s2.height+n2}:"bottom"===e2?{cssX:t2+s2.width/2,cssY:i2-n2}:"left"===e2?{cssX:t2+s2.width+n2,cssY:i2+s2.height/2}:{cssX:t2-n2,cssY:i2+s2.height/2}}remember(t2){t2.draggable&&t2.positionLock&&this.memory.set(t2.key??t2.context.pointIndex??t2.context.index??0,{lock:{...t2.positionLock},side:t2.side,box:t2.box})}lockedPositionFor(t2,i2){if(i2.draggable){const i3=this.memory.get(t2);return i3?{lock:{...i3.lock},side:i3.side,box:i3.box}:void 0}if(!i2.interactive||"multiple"===i2.openMode)return;const s2=this.positioned();if(!s2?.box||(s2.key??s2.context.pointIndex)!==t2)return;const e2=this.topLeftFromAnchor(s2);return e2?{lock:e2,side:s2.side,box:s2.box}:void 0}}const wt="reveal",kt="morph",St="#3b82f6",Ct="#1d4ed8",At=.55,Pt={min:0,max:1};function zt(t2,i2){const s2={kind:"linear",position:i2,tickCount:5,show:true};if(null==t2||"auto"===t2||true===t2)return s2;if(false===t2||"off"===t2)return{...s2,show:false};if("object"!=typeof t2)return s2;const e2=t2;return{...s2,...e2,kind:e2.kind??"linear",position:e2.position??i2}}function _t(t2){return t2&&"object"==typeof t2?t2:void 0}function Nt(t2){return"number"==typeof t2&&Number.isFinite(t2)}function It(t2){return null===Y(t2)?void 0:t2}function Dt(t2){if(!Number.isFinite(t2))return"—";if(Number.isInteger(t2))return String(t2);const i2=Math.abs(t2);return i2>=100?String(Math.round(10*t2)/10):i2>=1?String(Math.round(100*t2)/100):t2.toPrecision(3)}const Rt=class{constructor(s2){t(this,s2),this.rendered=i(this,"rendered",7),this.pointClick=i(this,"pointClick",7),this.pointHover=i(this,"pointHover",7),this.crosshairMove=i(this,"crosshairMove",7),this.pointContextMenu=i(this,"pointContextMenu",7),this.appended=i(this,"appended",7),this.windowSlid=i(this,"windowSlid",7),this.tooltipShow=i(this,"tooltipShow",7),this.tooltipHide=i(this,"tooltipHide",7),this.tooltipAction=i(this,"tooltipAction",7),this.chartAnimationStart=i(this,"chartAnimationStart",7),this.chartAnimationEnd=i(this,"chartAnimationEnd",7),this.chartAnimationInterrupted=i(this,"chartAnimationInterrupted",7),this.zoomChange=i(this,"zoomChange",7)}get host(){return s(this)}data;width=900;height=360;brandLogo;brandPosition="bottom-right";xAxis;yAxis;gridLines;crosshair;zoom;padding=.05;color=St;fillAlpha=At;borderColor="auto";borderWidth=1;activeColor=Ct;minRadius=4;maxRadius=28;sizeScale="area";zMin;zMax;layout="xy";packPadding=2;packFit="contain";visualMap;shading="flat";shadeStrength=1;chartTitle;chartSubtitle;enableMouseTracking=true;tooltip;tooltipEnabled=true;tooltipFormat;animated=false;animationDuration=600;animationEasing="ease-out";animationType;streamSource;streamMax;streamWindow;engine="auto";proThreshold=et;unavailable="fallback";rendered;pointClick;pointHover;crosshairMove;pointContextMenu;appended;windowSlid;tooltipShow;tooltipHide;tooltipAction;chartAnimationStart;chartAnimationEnd;chartAnimationInterrupted;zoomChange;activeTier="standard";fallbackReason;hoverIndex=-1;focusIndex=-1;cursor=null;tooltipTick=0;visualMapState=null;zoomState=null;zoomSelection=null;zoomInteraction=new R(this.zoomInteractionHost());visualMapBound=false;colorResolver;tooltipElement;tooltips=new $t({size:()=>({width:this.width,height:this.height}),hostRect:()=>this.host?.getBoundingClientRect(),emitShow:t2=>this.tooltipShow.emit(t2),emitHide:()=>this.tooltipHide.emit(),emitAction:t2=>this.tooltipAction.emit(t2),requestRender:()=>{this.tooltipTick++}},"sy-bubble-chart__tooltip");observedCanvasPixelSize;animationTick=0;streamTick=0;srAnnouncement="";canvas;canvasTier;renderer;rendererTier;rendererCanvas;rendererInit;rendererToken=0;decisionKey="";decision={tier:"standard",code:"auto-standard",licenseConsulted:false};proInitFailedReason;license=new x((()=>this.host),(t2=>this.handleLicenseChange(t2)));engineOutcome={code:"auto-standard",reason:null};engineLicenseState=null;drawHandle=null;drawing=false;drawAgain=false;resizeObserver;pointsCache;pointsVersion=0;packed;recordsVersion=0;packCache;streamEntries=[];streamVersion=0;plainStreamEntries;internalStreamSource;boundStreamSource;streamUnsubscribe;animator=(function(){const t2=new Map;function i2(t3,i3){return t3.duration<=0?1:yt((function(t4,i4){return t4.startedAt<0||t4.paused?t4.pausedElapsed:Math.max(0,i4-t4.startedAt+t4.pausedElapsed)})(t3,i3)/t3.duration)}return{start(i3,s2){t2.set(i3,{startedAt:-1,pausedElapsed:0,paused:false,duration:Math.max(0,s2.duration),easing:s2.easing})},progressAt(s2,e2){const n2=t2.get(s2);if(n2)return n2.startedAt<0&&!n2.paused&&(n2.startedAt=e2),(function(t3,i3){const s3=yt(t3);switch(i3){case"linear":default:return s3;case"ease-out":return 1-(1-s3)*(1-s3)*(1-s3);case"ease-in":return s3*s3*s3;case"ease-in-out":return s3<.5?4*s3*s3*s3:1-Math.pow(-2*s3+2,3)/2}})(i2(n2,e2),n2.easing)},has:i3=>t2.has(i3),isActive(s2,e2){const n2=t2.get(s2);return!!n2&&(!!n2.paused||i2(n2,e2)<1)},tick(s2){const e2=[];for(const[n2,r2]of t2)r2.startedAt<0&&!r2.paused&&(r2.startedAt=s2),r2.paused||i2(r2,s2)>=1&&e2.push(n2);for(const i3 of e2)t2.delete(i3)},pauseAll(i3){for(const s2 of t2.values())s2.paused||(s2.startedAt>=0&&(s2.pausedElapsed+=i3-s2.startedAt),s2.paused=true)},resumeAll(i3){for(const s2 of t2.values())s2.paused&&(s2.startedAt=i3,s2.paused=false)},hasActive(){for(const i3 of t2.values())if(!i3.paused)return true;return false},cancel(i3){t2.delete(i3)},clear(){t2.clear()},entries:()=>t2}})();animationFrameHandle=null;displayed;morph;morphVersion=0;targetDisplayCache;morphDisplayCache;lastStreamTime;lastResult={points:0,drawn:0,renderMs:0};hasLoaded=false;detached=false;connectedCallback(){this.detached=false,this.license.connect(),this.hasLoaded&&(this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false}),this.bindStreamSource(),this.observeCanvasPixels(),this.scheduleDraw())}componentDidLoad(){this.hasLoaded=true,this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false}),this.bindStreamSource(),this.observeCanvasPixels(),this.shouldInitialAnimation()&&this.startReveal(),this.scheduleDraw()}componentDidRender(){this.detached||(this.tooltips.measure(this.tooltipElement),this.scheduleDraw())}observeCanvasPixels(){this.detached||"undefined"==typeof ResizeObserver||this.resizeObserver||(this.resizeObserver=new ResizeObserver((t2=>{const i2=t2.find((t3=>t3.target===this.canvas))??t2[0],s2=i2?.devicePixelContentBoxSize?.[0];s2&&s2.inlineSize>0&&s2.blockSize>0?this.observedCanvasPixelSize?.width===s2.inlineSize&&this.observedCanvasPixelSize?.height===s2.blockSize||(this.observedCanvasPixelSize={width:s2.inlineSize,height:s2.blockSize}):void 0!==this.observedCanvasPixelSize&&(this.observedCanvasPixelSize=void 0),this.scheduleDraw()})),this.canvas&&this.observeCanvas(this.canvas))}observeCanvas(t2){const i2=this.resizeObserver;if(i2)try{i2.observe(t2,{box:"device-pixel-content-box"})}catch{i2.observe(t2)}}handleCanvasRef=t2=>{const i2=this.canvas;i2&&i2!==t2&&this.resizeObserver?.unobserve(i2),this.canvas=t2??void 0,t2&&(this.canvasTier=this.activeTier,t2!==i2&&(this.observeCanvas(t2),this.scheduleDraw()))};disconnectedCallback(){this.detached=true,this.license.disconnect(),this.host.removeEventListener("wheel",this.handleZoomWheel),this.zoomInteraction.dispose(),this.zoomSelection=null,this.parkInternalRing(),this.streamUnsubscribe?.(),this.streamUnsubscribe=void 0,this.boundStreamSource=void 0,this.stopAnimationLoop(),this.animator.clear(),this.morph=void 0,this.displayed=void 0,null!==this.drawHandle&&(cancelAnimationFrame(this.drawHandle),this.drawHandle=null),this.resizeObserver?.disconnect(),this.resizeObserver=void 0,this.rendererToken+=1,this.rendererInit=void 0,this.renderer?.destroy(),this.renderer=void 0,this.rendererTier=void 0,this.rendererCanvas=void 0}handleDataChange(){this.afterPointsChange((this.pointsCache?.points.length??0)>0)}afterPointsChange(t2,i2=false){this.currentPoints();const s2=this.displayed;if(t2&&s2&&s2.mode===this.layoutMode()&&this.shouldUpdateAnimation()){let t3=this.animationDuration;if(i2){const i3=this.now();t3=w(this.animationDuration,this.lastStreamTime,i3),this.lastStreamTime=i3,t3<16&&this.morph&&this.animator.has(kt)&&(t3=0)}t3>0&&this.startMorph(s2.points,s2.mode,t3)}else i2&&(this.lastStreamTime=this.now()),!t2&&this.shouldInitialAnimation()&&this.startReveal();this.animationTick++}handleStreamSourceChange(){this.bindStreamSource()}handleStreamWindowChange(){this.bindStreamSource();const t2=this.boundStreamSource;if(!t2)return;const i2=(this.pointsCache?.points.length??0)>0;this.streamEntries=this.windowedSnapshot(t2),this.streamVersion+=1,this.streamTick++,this.afterPointsChange(i2),this.scheduleDraw()}handleAnimationChange(){this.shouldAnimate()||(this.animationInFlight()&&this.chartAnimationInterrupted.emit(),this.animator.clear(),this.morph=void 0,this.stopAnimationLoop()),this.animationTick++}resetProInitLatch(){this.proInitFailedReason=void 0,this.decisionKey="",this.decideEngine(),this.scheduleDraw()}handlePackChange(){this.morph&&this.morph.mode!==this.layoutMode()&&(this.morph=void 0,this.animator.cancel(kt)),this.animationTick++,this.scheduleDraw()}handleVisualMapProp(){this.visualMapBound=false,this.visualMapState=this.visualMap??null,this.scheduleDraw()}handleStyleChange(){this.animationTick++,this.scheduleDraw()}async getDataTable(){return{columns:["Name","X","Y","Z"],rows:this.currentPoints().points.map((t2=>[t2.name,t2.x,t2.y,t2.z]))}}async redraw(){return this.draw()}async getActiveTier(){return this.activeTier}async getUnavailableReason(){return this.fallbackReason}async setData(t2){this.data=t2}async appendPoint(t2){await this.license.run(m,true,(()=>{const i2=this.streamWriteTarget("appendPoint",true);i2?i2.push(t2):void 0===i2&&this.applyPlainStream({type:"push",datum:t2})}))}async appendBatch(t2){await this.license.run(m,true,(()=>{const i2=this.streamWriteTarget("appendBatch",true);i2?i2.pushBatch(t2):void 0===i2&&this.applyPlainStream({type:"pushBatch",data:t2})}))}async shift(t2){await this.license.run(m,this.streamSessionAsked()||void 0!==this.plainStreamEntries,(()=>{const i2=this.streamWriteTarget("shift",false);i2?i2.shift(t2):void 0===i2&&this.applyPlainStream({type:"shift",count:t2})}))}async replace(t2){await this.license.run(m,true,(()=>{const i2=this.streamWriteTarget("replace",true);i2?i2.replace(t2):void 0===i2&&this.applyPlainStream({type:"replace",data:t2})}))}async getStreamSource(){return this.license.run(m,this.streamSessionAsked(),(()=>this.activeStreamSource()))}async setAnimation(t2){"number"==typeof t2.duration&&Number.isFinite(t2.duration)&&(this.animationDuration=Math.max(0,t2.duration)),t2.easing&&(this.animationEasing=t2.easing),"boolean"==typeof t2.enabled&&(this.animated=t2.enabled),t2.type&&(this.animationType=t2.type)}async pauseAnimation(){this.animator.pauseAll(this.now())}async resumeAnimation(){this.animator.resumeAll(this.now()),this.ensureAnimationLoop()}async replayAnimation(){this.startReveal()}async hitTest(t2,i2){const s2=this.computeLayout(),e2=this.bubbleAtPoint(s2,t2,i2);return e2<0?null:this.detailForBubble(s2,e2,t2,i2)}async getPoint(t2){const i2=this.currentPoints().points[t2];return i2?{...i2}:null}async getPointCount(){return this.currentPoints().points.length}async getPoints(){return this.currentPoints().points.map((t2=>({...t2})))}async getExtent(){return{...this.currentPoints().extent}}async getDomain(){return{...this.computeLayout().domain}}async getRadiusScale(){return{...this.computeLayout().radius}}async getPackLayout(){const t2=this.computeLayout();return t2.pack?{scale:t2.pack.scale,enclosing:{...t2.pack.enclosing},circles:t2.pack.circles.map(((t3,i2)=>({index:i2,x:t3.x,y:t3.y,r:t3.r})))}:null}effectiveVisualMap(){return this.visualMapBound?this.visualMapState:this.visualMap??null}async setVisualMap(t2){return this.visualMapBound=true,this.visualMapState=t2??null,this.scheduleDraw(),this.visualMapState}async getVisualMap(){return this.effectiveVisualMap()}async getVisualExtent(t2){return(function(t3,i2="value"){return h(t3.map((t4=>it(t4,i2))))})(this.currentPoints().points,t2?.dimension??"value")}currentColors(t2){const i2=this.effectiveVisualMap(),s2=Nt(this.fillAlpha)?this.fillAlpha:At,e2=`${this.pointsVersion}|${i2?st(i2):"none"}|${s2}`;return this.colorResolver&&this.colorResolver.key===e2||(this.colorResolver=(function(t3){const i3=Math.max(0,Math.min(1,"number"==typeof(s3=t3.fillAlpha)&&Number.isFinite(s3)?t3.fillAlpha:1));var s3;const e3=t3.visualMap??null,n2=a(e3),r2=e3?.dimension??"value",o2=new Map,h2=t4=>{let s4=o2.get(t4);if(void 0===s4){const e4=tt(t4);s4=e4?[e4[0],e4[1],e4[2],e4[3]*i3]:null,o2.set(t4,s4)}return s4},l2=t3.points.map((t4=>{if(t4.color){const i5=h2(t4.color);if(i5)return i5}if(!n2)return null;const i4=it(t4,r2);return null===i4?null:h2(n2(i4,t4.index))}));let c2=0;for(const t4 of l2)t4&&(c2+=1);return{key:t3.key??`${t3.points.length}|${e3?st(e3):"none"}|${i3}`,count:c2,colorOf:t4=>l2[t4]??null}})({points:t2,visualMap:i2,fillAlpha:s2,key:e2})),this.colorResolver}async showTooltipAtIndex(t2){const i2=this.tooltips.resolveSpec(this.tooltip,this.tooltipEnabled);if(!i2.show)return null;const s2=this.computeLayout(),e2=Math.floor(t2);return!Number.isInteger(e2)||e2<0||e2>=s2.points.length?null:this.showTooltipForBubble(s2,e2,i2,true)}async hideTooltip(){this.tooltips.clear()}async focusPointAt(t2){const i2=this.computeLayout(),s2=Math.floor(t2);if(!Number.isInteger(s2)||s2<0||s2>=i2.points.length)return null;this.focusIndex=s2;const e2=this.detailForBubble(i2,s2,...this.centreOf(i2,s2));return this.pointHover.emit(e2),e2}async zoomTo(t2){return this.zoomInteraction.zoomTo(t2)}async zoomBy(t2,i2=.5){return this.zoomInteraction.zoomBy(t2,i2)}async panBy(t2){return this.zoomInteraction.panBy(t2)}async resetZoom(){return this.zoomInteraction.reset()}async getZoom(){return this.zoomState}async getZoomExtent(t2){return this.zoomInteraction.extent(t2)}zoomSpec(){return T(this.zoom)}zoomHostFrame(){const t2=this.computeLayout();return{plot:t2.plot,xAxes:t2.frame.xAxes,yAxes:t2.frame.yAxes}}zoomInteractionHost(){return{frame:()=>this.zoomHostFrame(),spec:()=>this.zoomSpec(),state:()=>this.zoomState,apply:t2=>{this.zoomState=t2,this.tooltips.visible&&this.tooltips.clear(),this.scheduleDraw()},emit:t2=>{this.zoomChange.emit(t2)},selection:t2=>{this.zoomSelection=t2},standDown:()=>this.zoomStandDown()}}zoomStandDown(){-1!==this.hoverIndex&&(this.hoverIndex=-1,this.pointHover.emit(null),this.scheduleDraw()),this.tooltips.clear(),null!==this.cursor&&(this.cursor=null,this.crosshairMove.emit(null))}hostCoords(t2){const i2=this.host.getBoundingClientRect();return{x:t2.clientX-i2.left,y:t2.clientY-i2.top}}zoomPointerInput(t2){const i2=this.hostCoords(t2);return{pointerId:t2.pointerId,x:i2.x,y:i2.y,button:t2.button,shiftKey:t2.shiftKey,altKey:t2.altKey,pointerType:t2.pointerType}}zoomWheelInput(t2){const i2=this.hostCoords(t2);return{x:i2.x,y:i2.y,deltaX:t2.deltaX,deltaY:t2.deltaY,deltaMode:t2.deltaMode,ctrlKey:t2.ctrlKey,metaKey:t2.metaKey,shiftKey:t2.shiftKey}}handleZoomWheel=t2=>{this.zoomInteraction.wheel(this.zoomWheelInput(t2))&&t2.preventDefault()};handleZoomPointerDown=t2=>{this.zoomInteraction.pointerDown(this.zoomPointerInput(t2))&&t2.currentTarget?.setPointerCapture?.(t2.pointerId)};handleZoomPointerMove(t2){return this.zoomInteraction.pointerMove(this.zoomPointerInput(t2))}handleZoomPointerUp=t2=>{const i2=this.zoomInteraction.isPending;this.zoomInteraction.pointerUp(this.zoomPointerInput(t2)),i2&&t2.currentTarget?.releasePointerCapture?.(t2.pointerId)};handleZoomPointerCancel=()=>{this.zoomInteraction.pointerCancel()};consumeSuppressedPlotClick(){return this.zoomInteraction.consumeSuppressedClick()}handleZoomKeyDown(t2){return!!this.zoomInteraction.wantsKey(t2)&&!!this.zoomInteraction.keyDown(t2)&&(t2.preventDefault(),t2.stopPropagation(),true)}plotClip(t2,i2){if(null===this.zoomState)return;const{plot:s2}=t2,e2=Math.max(0,s2.y-i2.top),n2=Math.max(0,s2.x-i2.left),r2=Math.max(0,i2.left+i2.width-(s2.x+s2.width)),o2=Math.max(0,i2.top+i2.height-(s2.y+s2.height));return 0!==e2||0!==n2||0!==r2||0!==o2?`inset(${e2}px ${r2}px ${o2}px ${n2}px)`:void 0}renderZoomOverlay(t2){const i2=this.zoomSpec(),s2=this.zoomSelection,n2=null!==this.zoomState;if(!(s2||n2&&i2.resetButton))return null;const{plot:r2}=t2;return e("div",{class:"sy-bubble-chart__zoom-overlay",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",zIndex:"5"}},s2&&e("div",{class:"sy-bubble-chart__zoom-selection","aria-hidden":"true",style:{position:"absolute",left:`${s2.x}px`,top:`${s2.y}px`,width:`${s2.width}px`,height:`${s2.height}px`,boxSizing:"border-box",background:"var(--sy-zoom-selection-bg, rgba(37, 99, 235, 0.12))",border:"1px solid var(--sy-zoom-selection-border, rgba(37, 99, 235, 0.6))"}}),n2&&i2.resetButton&&e("button",{type:"button",class:"sy-bubble-chart__zoom-reset","aria-label":"Reset zoom",onClick:()=>{this.resetZoom()},style:{...R.resetButtonStyle,position:"absolute",left:r2.x+r2.width-8+"px",top:`${r2.y+8}px`,transform:"translateX(-100%)",pointerEvents:"auto",font:"500 11px system-ui, sans-serif",padding:"3px 8px",borderRadius:"4px",border:"1px solid var(--sy-zoom-reset-border, #9ca3af)",background:"var(--sy-zoom-reset-bg, #ffffff)",color:"var(--sy-axis-color, #111827)",cursor:"pointer"}},"Reset zoom"))}coerceStreamCapacity(){const t2=this.streamMax,i2="string"==typeof t2?Number(t2):t2;return Nt(i2)&&i2>0?Math.floor(i2):void 0}currentPoints(){if(this.pointsCache&&this.pointsCache.data===this.data&&this.pointsCache.streamVersion===this.streamVersion)return this.pointsCache;const t2=(function(t3,i3=[]){const s2=[],e2=(t4,i4)=>{if(Array.isArray(t4))for(const e3 of t4){const t5=Y(e3);t5&&s2.push({index:s2.length,...t5,source:i4})}};return e2(t3,"data"),e2(i3,"stream"),s2})(this.data,this.streamEntries),i2=(function(t3){if(0===t3.length)return{points:0,xMin:Number.NaN,xMax:Number.NaN,yMin:Number.NaN,yMax:Number.NaN,zMin:Number.NaN,zMax:Number.NaN};let i3=1/0,s2=-1/0,e2=1/0,n2=-1/0,r2=1/0,o2=-1/0;for(const h2 of t3)h2.x<i3&&(i3=h2.x),h2.x>s2&&(s2=h2.x),h2.y<e2&&(e2=h2.y),h2.y>n2&&(n2=h2.y),h2.z<r2&&(r2=h2.z),h2.z>o2&&(o2=h2.z);return{points:t3.length,xMin:i3,xMax:s2,yMin:e2,yMax:n2,zMin:r2,zMax:o2}})(t2);return this.pointsCache={data:this.data,streamVersion:this.streamVersion,points:t2,extent:i2},this.pointsVersion+=1,this.pointsCache}yAxisInputs(){const t2=this.yAxis;return Array.isArray(t2)?t2:[t2]}layoutMode(){return"pack"===this.layout?"pack":"xy"}xAxisInputs(){const t2=this.xAxis;return Array.isArray(t2)?t2:[t2]}computeLayout(){const{points:t2,extent:i2}=this.currentPoints(),s2=this.layoutMode(),e2=this.xAxisInputs(),n2=this.yAxisInputs(),r2=_t(e2[0]),o2=_t(n2[0]),h2=(function(t3){const i3=X(t3.padding)&&t3.padding>=0?t3.padding:.05,[s3,e3]=j(t3.extent.xMin,t3.extent.xMax,t3.xMin,t3.xMax,i3),[n3,r3]=j(t3.extent.yMin,t3.extent.yMax,t3.yMin,t3.yMax,i3);return{xMin:s3,xMax:e3,yMin:n3,yMax:r3}})({extent:i2,xMin:r2?.min,xMax:r2?.max,yMin:o2?.min,yMax:o2?.max,padding:this.padding}),a2=(function(t3){const i3=Math.max(0,X(t3.minPx)?t3.minPx:4),s3=Math.max(i3,X(t3.maxPx)?t3.maxPx:28),e3=X(t3.zMin)?t3.zMin:Number.isFinite(t3.extent.zMin)?t3.extent.zMin:0,n3=X(t3.zMax)?t3.zMax:Number.isFinite(t3.extent.zMax)?t3.extent.zMax:e3;return{zMin:e3,zMax:Math.max(e3,n3),minPx:i3,maxPx:s3,scale:(r3=t3.scale,"radius"===r3?"radius":"area")};var r3})({extent:i2,zMin:this.zMin,zMax:this.zMax,minPx:this.minRadius,maxPx:this.maxRadius,scale:this.sizeScale}),l2={x:0,y:0,width:this.width,height:this.height},c2="pack"===s2?S(zt(false,"bottom"),zt(false,"left")):S(e2.length>1?e2.map((t3=>zt(t3))):zt(e2[0],"bottom"),n2.length>1?n2.map((t3=>zt(t3))):zt(n2[0],"left")),u2=z({outerWidth:l2.width,outerHeight:l2.height,axes:c2,gridLines:C("pack"===s2?{x:false,y:false}:this.gridLines??{x:true,y:true}),title:this.chartTitle,subtitle:this.chartSubtitle,xExtent:"pack"===s2?Pt:{min:h2.xMin,max:h2.xMax},yExtent:"pack"===s2?Pt:{min:h2.yMin,max:h2.yMax},zoom:this.zoomState??void 0}),d2={x:l2.x+u2.plot.x,y:l2.y+u2.plot.y,width:u2.plot.width,height:u2.plot.height},p2={mode:s2,pack:"pack"===s2?this.currentPack(t2,a2,d2):void 0,points:t2,extent:i2,domain:h2,radius:a2,outer:l2,plot:d2,frame:u2};return{...p2,...this.currentDisplay(p2)}}targetDisplay(t2){const{points:i2,radius:s2}=t2,e2=this.currentColors(i2),n2=`${this.pointsVersion}|${e2.key}|${t2.pack?`pack|${this.packCache?.key??""}`:`xy|${s2.zMin}|${s2.zMax}|${s2.minPx}|${s2.maxPx}|${s2.scale}`}`;if(this.targetDisplayCache&&this.targetDisplayCache.key===n2)return this.targetDisplayCache;const r2=t2.pack?t2.pack.circles.map(((t3,i3)=>({x:t3.x,y:t3.y,r:t3.r,color:e2.colorOf(i3)}))):i2.map(((t3,i3)=>({x:t3.x,y:t3.y,r:F(t3.z,s2),color:e2.colorOf(i3)})));return this.targetDisplayCache={key:n2,points:r2},this.targetDisplayCache}currentDisplay(t2){const i2=this.targetDisplay(t2),s2=this.morph;if(!s2)return{display:i2.points,displayKey:i2.key,morphing:false};if(s2.mode!==t2.mode||!this.animator.has(kt))return this.morph=void 0,{display:i2.points,displayKey:i2.key,morphing:false};const e2=this.animator.progressAt(kt,this.now())??1;if(e2>=1)return{display:i2.points,displayKey:i2.key,morphing:false};const n2=`morph|${s2.version}|${e2}|${i2.key}`;return this.morphDisplayCache&&this.morphDisplayCache.key===n2||(this.morphDisplayCache={key:n2,points:ht(s2.from,i2.points,e2)}),{display:this.morphDisplayCache.points,displayKey:n2,morphing:true}}currentPack(t2,i2,s2){const e2=Nt(this.packPadding)&&this.packPadding>=0?this.packPadding:2,n2=Q(this.packFit),r2=`${this.pointsVersion}|${i2.zMin}|${i2.zMax}|${i2.minPx}|${i2.maxPx}|${i2.scale}|${e2}|${n2}|${s2.width}x${s2.height}`;if(this.packCache&&this.packCache.key===r2)return this.packCache.pack;const o2=(function(t3,i3,s3={}){const e3=Q(s3.fit),n3=Math.max(0,Number.isFinite(s3.margin)?s3.margin:0),r3=Math.max(1,Math.min(i3.width,i3.height)/2-n3);let o3=t3.enclosing.r>0?r3/t3.enclosing.r:1;"contain"===e3&&(o3=Math.min(1,o3));const h2=i3.width/2,a2=i3.height/2;return{scale:o3,circles:t3.circles.map((t4=>({x:h2+t4.x*o3,y:a2+t4.y*o3,r:t4.r*o3}))),enclosing:{x:h2,y:a2,r:t3.enclosing.r*o3}}})(G(t2.map((t3=>F(t3.z,i2))),e2),{width:s2.width,height:s2.height},{fit:Q(this.packFit),margin:2});return this.packCache={key:r2,pack:o2},o2}centreOf(t2,i2){const s2=t2.display[i2];if(t2.pack){const[i3,e2]=this.packUnit(t2,s2);return[t2.outer.x+t2.frame.xScale(i3),t2.outer.y+t2.frame.yScale(e2)]}return[t2.outer.x+t2.frame.xScale(s2.x),t2.outer.y+t2.frame.yScale(s2.y)]}packUnit(t2,i2){const{plot:s2}=t2;return[s2.width>0?i2.x/s2.width:0,s2.height>0?1-i2.y/s2.height:0]}radiusOf(t2,i2){return t2.display[i2].r}currentRecords(t2){const{points:i2}=t2,s2=this.currentColors(i2);if(t2.morphing){const i3=`${t2.displayKey}|${t2.pack?`pack|${t2.plot.height}`:"xy"}`;if(this.packed&&this.packed.key===i3)return this.packed;const s3=(function(t3){const i4=t3.display.length,s4=8*i4,e3=t3.out&&t3.out.length>=s4?t3.out:new Float32Array(Math.max(s4,8)),n3="number"==typeof t3.flipHeight&&Number.isFinite(t3.flipHeight);let r2=0;for(let s5=0;s5<i4;s5+=1){const i5=t3.display[s5],o2=8*s5;e3[o2]=i5.x,e3[o2+1]=n3?t3.flipHeight-i5.y:i5.y,e3[o2+2]=Number.isFinite(i5.r)&&i5.r>0?i5.r:0;const h2=i5.color;h2?(r2+=1,e3[o2+3]=1,e3[o2+4]=h2[0],e3[o2+5]=h2[1],e3[o2+6]=h2[2],e3[o2+7]=h2[3]):(e3[o2+3]=0,e3[o2+4]=0,e3[o2+5]=0,e3[o2+6]=0,e3[o2+7]=0)}return 0===i4&&e3.fill(0,0,8),{records:e3,count:i4,colored:r2}})({display:t2.display,out:this.packed?.records,flipHeight:t2.pack?t2.plot.height:void 0});return this.recordsVersion+=1,this.packed={key:i3,records:s3.records,count:s3.count,colored:s3.colored,version:this.recordsVersion},this.packed}const e2=`${this.pointsVersion}|${s2.key}|${t2.pack?`pack|${this.packCache?.key??""}`:"xy"}`;if(this.packed&&this.packed.key===e2)return this.packed;const n2=(function(t3){const i3=t3.points.length,s3=8*i3,e3=t3.out&&t3.out.length>=s3?t3.out:new Float32Array(Math.max(s3,8));let n3=0;for(let s4=0;s4<i3;s4+=1){const i4=t3.points[s4],r2=8*s4;e3[r2]=i4.x,e3[r2+1]=i4.y,e3[r2+2]=i4.z;const o2=t3.colorOf?t3.colorOf(s4):null;o2?(n3+=1,e3[r2+3]=1,e3[r2+4]=o2[0],e3[r2+5]=o2[1],e3[r2+6]=o2[2],e3[r2+7]=o2[3]):(e3[r2+3]=0,e3[r2+4]=0,e3[r2+5]=0,e3[r2+6]=0,e3[r2+7]=0)}return 0===i3&&e3.fill(0,0,8),{records:e3,count:i3,colored:n3}})({points:t2.pack?t2.pack.circles.map(((s3,e3)=>({...i2[e3],x:s3.x,y:t2.plot.height-s3.y}))):i2,out:this.packed?.records,colorOf:s2.count>0?s2.colorOf:void 0});return this.recordsVersion+=1,this.packed={key:e2,records:n2.records,count:n2.count,colored:n2.colored,version:this.recordsVersion},this.packed}projectionOf(t2){const[i2,s2]=t2.frame.xScale.domain(),[e2,n2]=t2.frame.yScale.domain();return t2.pack?{xMin:i2*t2.plot.width,xMax:s2*t2.plot.width,yMin:e2*t2.plot.height,yMax:n2*t2.plot.height}:{xMin:i2,xMax:s2,yMin:e2,yMax:n2}}rgba(t2,i2){return tt(t2)??tt(i2)??[0,0,0,1]}withAlpha(t2,i2){return[t2[0],t2[1],t2[2],Math.max(0,Math.min(1,Nt(i2)?i2:1))]}decideEngine(){const t2=p({proModulePresent:mt}),i2=this.currentPoints().points.length,s2={requested:this.engine,pointCount:i2,proThreshold:this.proThreshold,onUnavailable:this.unavailable,proAvailable:t2.available,moduleAvailable:mt,proUnavailableReason:t2.reason},e2=ot(s2),n2=e2?this.proInitFailedReason:void 0,r2=e2&&void 0===n2?this.license.state(y):null,o2="number"==typeof this.proThreshold&&Number.isFinite(this.proThreshold)&&this.proThreshold>0?this.proThreshold:et,h2=`${String(this.engine)}|${String(this.unavailable)}|${i2>=o2}|${t2.available}|${t2.reason??""}|${e2}|${r2??""}|${n2??""}`;return h2===this.decisionKey||(this.decisionKey=h2,void 0!==n2?(this.decision={tier:"standard",code:"gpu-unavailable",fallbackReason:n2,licenseConsulted:false},this.engineOutcome=v(n2),this.engineLicenseState=null):(this.decision=(function(t3){const i3=ot(t3)?t3.entitlement??"pending":"pending",s3=u(rt(t3,i3));if("pro"===s3.effective)return{tier:"pro",code:s3.code,licenseConsulted:s3.licenseConsulted};if("ok"===s3.code||"auto-standard"===s3.code)return{tier:"standard",code:s3.code,licenseConsulted:s3.licenseConsulted};const e3=s3.reason??nt;if(d(s3.code))return{tier:"standard",code:s3.code,licenseReason:e3,licenseConsulted:true};if(s3.shouldThrow)throw new Error(`[Syidax] sy-bubble-chart: Pro renderer unavailable — ${e3}`);return"pro"===s3.requested?console.warn(`[Syidax] sy-bubble-chart: Pro renderer unavailable, falling back to Standard (${e3}).`):console.info(`[Syidax] sy-bubble-chart: auto mode wanted Pro but Pro is unavailable - ${e3}. Staying on Standard.`),{tier:"standard",code:s3.code,fallbackReason:e3,licenseConsulted:s3.licenseConsulted}})({...s2,entitlement:r2??void 0}),this.engineOutcome={code:this.decision.code,reason:this.decision.fallbackReason??this.decision.licenseReason??null},this.engineLicenseState=this.decision.licenseConsulted?r2:null,this.decision.licenseReason&&r2&&this.license.refuse(y,r2,"engine")),this.decision.tier!==this.activeTier&&(this.activeTier=this.decision.tier),this.decision.fallbackReason!==this.fallbackReason&&(this.fallbackReason=this.decision.fallbackReason)),this.decision}engineAllowed(){return"valid"===this.license.state(y)}handleLicenseChange(t2){if(!this.detached)return t2.feature===y?("valid"!==t2.state&&(this.rendererToken+=1,this.rendererInit=void 0),this.decisionKey="",this.decideEngine(),void this.scheduleDraw()):void(t2.feature===m&&("valid"===t2.state?this.license.isFrozen(m)&&this.license.setFrozen(m,false):"valid"===t2.previousState&&this.streamSessionKept()&&this.license.setFrozen(m,true),this.bindStreamSource(),this.scheduleDraw()))}fallbackToStandard(t2,i2){this.proInitFailedReason=t2,this.decisionKey="",this.activeTier="standard",this.fallbackReason=t2,("error"===this.unavailable?console.error:console.warn)(`[Syidax] sy-bubble-chart: ${i2}, falling back to Standard (${t2}).`),this.scheduleDraw()}scheduleDraw(){this.detached||null===this.drawHandle&&"function"==typeof requestAnimationFrame&&(this.drawHandle=requestAnimationFrame((()=>{this.drawHandle=null,this.draw()})))}async ensureRenderer(){if(this.detached)return;const t2=this.canvas;if(!t2)return;const i2=this.decideEngine().tier;if(this.renderer&&this.rendererTier===i2&&this.rendererCanvas===t2)return this.renderer;if("pro"===i2&&this.rendererInit)return this.rendererInit;if(void 0===this.canvasTier||this.canvasTier===i2){if(++this.rendererToken,this.rendererInit=void 0,this.renderer?.destroy(),this.renderer=void 0,this.rendererTier=void 0,this.rendererCanvas=void 0,"standard"===i2)return this.renderer=new xt(t2),this.rendererTier="standard",this.rendererCanvas=t2,this.renderer;this.fallbackToStandard(f,"the Pro renderer is not in this build")}}async draw(){if(this.drawing)return this.drawAgain=true,this.lastResult;this.drawing=true;try{const i2=await this.ensureRenderer(),s2=this.computeLayout();if(!i2||!this.canvas)return this.lastResult={points:s2.points.length,drawn:0,renderMs:0},this.lastResult;const e2=this.currentRecords(s2),n2=this.rgba(this.color,St),r2=this.focusIndex>=0?this.focusIndex:this.hoverIndex,o2=i2.draw({records:e2.records,points:e2.count,version:e2.version,project:this.projectionOf(s2),width:s2.plot.width,height:s2.plot.height,radius:s2.pack?{...s2.radius,minPx:s2.radius.minPx*s2.pack.scale,maxPx:s2.radius.maxPx*s2.pack.scale}:s2.radius,fillColor:this.withAlpha(n2,Nt(this.fillAlpha)?this.fillAlpha:At),borderColor:this.borderColor&&"auto"!==this.borderColor?this.rgba(this.borderColor,St):n2,activeColor:this.withAlpha(this.rgba(this.activeColor,Ct),Math.min(1,(Nt(this.fillAlpha)?this.fillAlpha:At)+.3)),borderPx:Nt(this.borderWidth)&&this.borderWidth>=0?this.borderWidth:1,reveal:this.revealProgress(),activeIndex:r2,shading:(t2=this.shading,"sphere"===t2?"sphere":"flat"),shadeStrength:Nt(this.shadeStrength)?Math.max(0,Math.min(1,this.shadeStrength)):1,borderAuto:!this.borderColor||"auto"===this.borderColor,radiusLane:s2.morphing?"px":"z",observedPixelSize:this.observedCanvasPixelSize});return this.displayed={mode:s2.mode,points:s2.display},this.lastResult={...o2,points:s2.points.length,bubble:o2.bubble?{...o2.bubble,layout:s2.mode,packScale:s2.pack?s2.pack.scale:1,colored:e2.colored}:void 0},this.rendered.emit({...this.lastResult,tier:this.activeTier}),this.lastResult}finally{this.drawing=false,this.drawAgain&&(this.drawAgain=false,this.scheduleDraw())}var t2}shouldAnimate(){return!this.detached&&this.animated&&this.animationDuration>0}shouldInitialAnimation(){return!!this.shouldAnimate()&&"update"!==this.animationType}shouldUpdateAnimation(){return!!this.shouldAnimate()&&"initial"!==this.animationType}animationInFlight(){const t2=this.now();for(const i2 of this.animator.entries().keys())if(this.animator.isActive(i2,t2))return true;return false}revealProgress(){return this.animator.has(wt)?this.animator.progressAt(wt,this.now())??1:1}startReveal(){this.animationInFlight()&&this.chartAnimationInterrupted.emit(),this.animator.clear(),this.morph=void 0,this.animator.start(wt,{duration:this.animationDuration,easing:this.animationEasing}),this.chartAnimationStart.emit(),this.ensureAnimationLoop()}startMorph(t2,i2,s2=this.animationDuration){this.animationInFlight()&&this.chartAnimationInterrupted.emit(),this.animator.clear(),this.morph={from:t2,mode:i2,version:++this.morphVersion},this.morphDisplayCache=void 0,this.animator.start(kt,{duration:s2,easing:this.animationEasing}),this.chartAnimationStart.emit(),this.ensureAnimationLoop()}ensureAnimationLoop(){if(null!==this.animationFrameHandle||"function"!=typeof requestAnimationFrame)return;const t2=()=>{this.animator.tick(this.now()),this.animationTick++,this.animator.hasActive()&&this.animator.entries().size>0?this.animationFrameHandle=requestAnimationFrame(t2):(this.animationFrameHandle=null,this.animator.has(kt)||(this.morph=void 0),this.chartAnimationEnd.emit())};this.animationFrameHandle=requestAnimationFrame(t2)}stopAnimationLoop(){null!==this.animationFrameHandle&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(this.animationFrameHandle),this.animationFrameHandle=null}now(){return"undefined"!=typeof performance?performance.now():Date.now()}ensureInternalStreamSource(){return this.streamSource?this.streamSource:(this.internalStreamSource||(this.plainStreamEntries=void 0,this.internalStreamSource=(function(){const t2=new Error("Dedicated streaming requires @syidax/advanced-pro");throw t2.code="module-missing",t2.feature="chart.streaming",t2})(this.coerceStreamCapacity()),this.bindStreamSource()),this.internalStreamSource)}activeStreamSource(){if(this.streamSessionAllowed())return this.streamSource??this.internalStreamSource}streamSessionInputs(){return g({streamSource:this.streamSource,streamMax:this.coerceStreamCapacity(),streamWindow:this.coerceStreamWindow()},{streamImplied:true})}streamSessionAsked(){return void 0!==this.internalStreamSource||this.streamSessionInputs().length>0}streamSessionKept(){return Boolean(this.boundStreamSource||this.internalStreamSource||this.streamSource)}streamSessionAllowed(t2=false){const i2=this.streamSessionInputs();if(0===i2.length&&!t2&&void 0===this.internalStreamSource)return true;const s2=this.license.state(m);return"valid"===s2&&!this.license.isFrozen(m)||(i2.length>0&&this.license.refuse(m,s2,i2[0]),false)}streamWriteTarget(t2,i2){if(this.license.isFrozen(m))return this.license.refuse(m,this.license.state(m),t2),null;const s2=i2||void 0!==this.plainStreamEntries;return this.streamSessionAllowed(s2)?s2?this.ensureInternalStreamSource():this.streamSource??this.internalStreamSource??null:void 0}applyPlainStream(t2){const{list:i2,event:s2}=$(this.plainStreamEntries??[],t2,It);s2&&(this.plainStreamEntries=i2,this.showStreamEntries(i2,s2))}parkInternalRing(){const t2=this.internalStreamSource;t2&&this.boundStreamSource===t2&&this.license.parkStream(t2,[this.streamEntries])}resumeInternalRing(t2){t2!==this.internalStreamSource||this.license.resumeStream(t2,[this.streamEntries])||t2.replace(this.streamEntries)}bindStreamSource(){if(this.detached)return;const t2=this.activeStreamSource();if(t2!==this.boundStreamSource)if(this.parkInternalRing(),this.streamUnsubscribe?.(),this.streamUnsubscribe=void 0,this.boundStreamSource=t2,t2)this.resumeInternalRing(t2),this.streamEntries=this.windowedSnapshot(t2),this.streamVersion+=1,this.streamTick++,this.streamUnsubscribe=t2.subscribe((i2=>this.applyStreamEvent(t2,i2))),this.scheduleDraw();else{if(this.license.isFrozen(m))return;const t3=this.plainStreamEntries??[];this.streamEntries!==t3&&(this.streamEntries.length>0||t3.length>0)&&(this.streamEntries=t3,this.streamVersion+=1,this.streamTick++,this.scheduleDraw())}}coerceStreamWindow(){const t2=this.streamWindow,i2="string"==typeof t2?Number(t2):t2;return Nt(i2)&&i2>0?Math.floor(i2):void 0}windowedSnapshot(t2){const i2=t2.snapshot(),s2=this.coerceStreamWindow();return void 0!==s2&&i2.length>s2?i2.slice(i2.length-s2):i2}applyStreamEvent(t2,i2){this.showStreamEntries(this.windowedSnapshot(t2),i2)}showStreamEntries(t2,i2){const s2=(this.pointsCache?.points.length??0)>0;this.streamEntries=t2,this.streamVersion+=1,this.streamTick++,"shift"===i2.type?this.windowSlid.emit({dropped:i2.count}):this.appended.emit({count:i2.count}),this.afterPointsChange(s2,true),this.scheduleDraw()}insidePlot(t2,i2,s2){const{plot:e2}=t2;return i2>=e2.x&&i2<=e2.x+e2.width&&s2>=e2.y&&s2<=e2.y+e2.height}bubbleAtPoint(t2,i2,s2){const{plot:e2,points:n2}=t2;return 0===n2.length||i2<e2.x||s2<e2.y||i2>e2.x+e2.width||s2>e2.y+e2.height?-1:(function(t3,i3,s3,e3,n3,r2=2){let o2=-1,h2=1/0;for(let a2=0;a2<t3;a2+=1){const[t4,l2]=i3(a2),c2=s3(a2);Math.hypot(e3-t4,n3-l2)<=c2+r2&&c2<=h2&&(o2=a2,h2=c2)}return o2})(n2.length,(i3=>this.centreOf(t2,i3)),(i3=>this.radiusOf(t2,i3)),i2,s2)}detailForBubble(t2,i2,s2,e2){const n2=t2.points[i2];return{index:i2,x:n2.x,y:n2.y,z:n2.z,name:n2.name,radiusPx:this.radiusOf(t2,i2),cssX:s2,cssY:e2}}localPoint(t2){const i2=this.host.getBoundingClientRect();return{cssX:t2.clientX-i2.left,cssY:t2.clientY-i2.top}}handlePointerMove=t2=>{if(this.handleZoomPointerMove(t2))return;if(!this.enableMouseTracking)return;const{cssX:i2,cssY:s2}=this.localPoint(t2),e2=this.computeLayout();this.updateCrosshair(e2,i2,s2);const n2=this.bubbleAtPoint(e2,i2,s2),r2=this.tooltips.resolveSpec(this.tooltip,this.tooltipEnabled);if(n2<0)return-1!==this.hoverIndex&&(this.hoverIndex=-1,this.pointHover.emit(null),this.scheduleDraw()),void(this.tooltips.visible&&this.tooltips.shouldHideOnLeave(r2)&&this.tooltips.clear());this.hoverIndex!==n2&&(this.hoverIndex=n2,this.pointHover.emit(this.detailForBubble(e2,n2,i2,s2)),this.scheduleDraw(),r2.show&&this.tooltips.shouldShowOnHover(r2)?this.showTooltipForBubble(e2,n2,r2):this.tooltips.visible&&this.tooltips.shouldHideOnLeave(r2)&&this.tooltips.clear())};handlePointerLeave=()=>{-1!==this.hoverIndex&&(this.hoverIndex=-1,this.pointHover.emit(null),this.scheduleDraw()),null!==this.cursor&&(this.cursor=null,this.crosshairMove.emit(null)),this.tooltips.visible&&this.tooltips.shouldHideOnLeave(this.tooltips.resolveSpec(this.tooltip,this.tooltipEnabled))&&this.tooltips.clear()};crosshairBubbleIndex(t2,i2,s2,e2){if("off"===e2||0===t2.points.length)return-1;if("index"===e2)return this.bubbleAtPoint(t2,i2,s2);let n2=-1,r2=1/0;for(let e3=0;e3<t2.points.length;e3+=1){const[o2,h2]=this.centreOf(t2,e3);if(!this.insidePlot(t2,o2,h2))continue;const a2=Math.hypot(i2-o2,s2-h2);a2<r2&&(n2=e3,r2=a2)}return n2}updateCrosshair(t2,i2,s2){const e2=A(this.crosshair),{plot:n2}=t2;if(!e2.show||!(i2>=n2.x&&i2<=n2.x+n2.width&&s2>=n2.y&&s2<=n2.y+n2.height))return void(null!==this.cursor&&(this.cursor=null,this.crosshairMove.emit(null)));const r2=this.crosshairBubbleIndex(t2,i2,s2,e2.snap);let o2;if(r2>=0){const[i3,s3]=this.centreOf(t2,r2),e3=t2.points[r2];o2={cssX:i3,cssY:s3,dataX:e3.x,dataY:e3.y,snappedPointIndex:r2}}else o2=t2.pack?{cssX:i2,cssY:s2}:{cssX:i2,cssY:s2,dataX:t2.frame.xScale.invert(i2-t2.outer.x),dataY:t2.frame.yScale.invert(s2-t2.outer.y)};this.cursor&&this.cursor.cssX===o2.cssX&&this.cursor.cssY===o2.cssY||(this.cursor={cssX:o2.cssX,cssY:o2.cssY},this.crosshairMove.emit(o2))}crosshairLineBackground(t2,i2,s2){if(!s2||0===s2.length)return i2;const e2=Math.max(1,Number.isFinite(Number(s2[0]))?Number(s2[0]):4);return`repeating-linear-gradient(${"vertical"===t2?"to bottom":"to right"}, ${i2} 0px, ${i2} ${e2}px, transparent ${e2}px, transparent ${e2+Math.max(1,Number.isFinite(Number(s2[1]))?Number(s2[1]):e2)}px)`}renderCrosshair(t2){const i2=A(this.crosshair);if(!i2.show||!this.cursor)return null;const{plot:s2}=t2,n2=i2.color??"var(--sy-crosshair-color, rgba(17,24,39,0.4))",r2="horizontal"===i2.mode||"cross"===i2.mode;return e("div",{class:"sy-bubble-chart__crosshair",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",zIndex:"3"}},("vertical"===i2.mode||"cross"===i2.mode)&&e("div",{class:"sy-bubble-chart__crosshair-line",style:{position:"absolute",left:`${this.cursor.cssX}px`,top:`${s2.y}px`,width:"1px",height:`${s2.height}px`,background:this.crosshairLineBackground("vertical",n2,i2.dash)}}),r2&&e("div",{class:"sy-bubble-chart__crosshair-line",style:{position:"absolute",left:`${s2.x}px`,top:`${this.cursor.cssY}px`,width:`${s2.width}px`,height:"1px",background:this.crosshairLineBackground("horizontal",n2,i2.dash)}}))}handlePointerClick=t2=>{if(this.consumeSuppressedPlotClick())return;const{cssX:i2,cssY:s2}=this.localPoint(t2),e2=this.computeLayout(),n2=this.bubbleAtPoint(e2,i2,s2);if(n2<0)return void(this.tooltips.visible&&this.tooltips.clear());this.pointClick.emit(this.detailForBubble(e2,n2,i2,s2));const r2=this.tooltips.resolveSpec(this.tooltip,this.tooltipEnabled);r2.show&&this.tooltips.shouldShowOnClick(r2)&&this.showTooltipForBubble(e2,n2,r2,true)};handleContextMenu=t2=>{const{cssX:i2,cssY:s2}=this.localPoint(t2),e2=this.computeLayout(),n2=this.bubbleAtPoint(e2,i2,s2);n2<0||this.pointContextMenu.emit(b(t2,this.host,"bubble",this.detailForBubble(e2,n2,i2,s2)))};formatDefaultTooltipText(t2){if(this.tooltipFormat)try{return this.tooltipFormat(t2)}catch(t3){o(this.tooltipFormat,t3,"tooltipFormat")}return`${L(t2,t2.index)} · x ${Dt(t2.x)} · y ${Dt(t2.y)} · z ${Dt(t2.z)}`}showTooltipForBubble(t2,i2,s2,e2=false){const n2=t2.points[i2],[r2,o2]=this.centreOf(t2,i2),h2=this.detailForBubble(t2,i2,r2,o2);return this.tooltips.show(t2.plot,{index:i2,cssX:r2,cssY:o2,dataX:n2.x,dataY:n2.y,value:n2.z,text:this.formatDefaultTooltipText(h2)},s2,e2)}handleHostKeyDown=t2=>{if(this.handleZoomKeyDown(t2))return;const i2=this.computeLayout(),s2=i2.points.length;if(0===s2)return;const e2=s2-1;if("Enter"===t2.key||" "===t2.key){if(this.focusIndex<0)return;t2.preventDefault(),t2.stopPropagation();const s3=Math.max(0,Math.min(e2,this.focusIndex));this.pointClick.emit(this.detailForBubble(i2,s3,...this.centreOf(i2,s3)));const n3=this.tooltips.resolveSpec(this.tooltip,this.tooltipEnabled);return void(n3.show&&this.showTooltipForBubble(i2,s3,n3,true))}if("Escape"===t2.key){if(this.focusIndex<0&&!this.tooltips.visible)return;return t2.preventDefault(),t2.stopPropagation(),this.focusIndex=-1,this.tooltips.clear(),void this.scheduleDraw()}const n2=t2.shiftKey?5:1;let r2=null;if("ArrowRight"===t2.key||"ArrowDown"===t2.key?r2=this.focusIndex<0?0:this.focusIndex+n2:"ArrowLeft"===t2.key||"ArrowUp"===t2.key?r2=this.focusIndex<0?0:this.focusIndex-n2:"Home"===t2.key?r2=0:"End"===t2.key&&(r2=e2),null===r2)return;t2.preventDefault(),t2.stopPropagation();const o2=Math.max(0,Math.min(e2,r2));o2!==this.focusIndex&&(this.focusIndex=o2,this.pointHover.emit(this.detailForBubble(i2,o2,...this.centreOf(i2,o2))),this.scheduleDraw())};handleHostBlur=()=>{-1!==this.focusIndex&&(this.focusIndex=-1,this.scheduleDraw())};ringOf(t2,i2,s2){const[e2,n2]=this.centreOf(t2,i2),r2=this.radiusOf(t2,i2)+s2;return{left:e2-r2,top:n2-r2,width:2*r2,height:2*r2}}renderFocus(t2){const i2=this.focusIndex;if(i2<0||i2>=t2.points.length)return null;const s2=this.ringOf(t2,i2,4);return e("div",{class:"sy-bubble-chart__focus","aria-hidden":"true","data-index":i2,style:{position:"absolute",left:`${s2.left}px`,top:`${s2.top}px`,width:`${s2.width}px`,height:`${s2.height}px`,boxSizing:"border-box",border:"2px dashed var(--sy-bubble-focus-color, #2563eb)",borderRadius:"50%",pointerEvents:"none",zIndex:"4",clipPath:this.plotClip(t2,s2)}})}renderTooltip(){const t2=this.tooltips.renderModel();return 0===t2.items.length?null:t2.items.map((t3=>{const i2={class:t3.className,"data-tooltip-id":`${t3.id}`,ref:t3.trackMeasure?t4=>this.tooltipElement=t4:void 0,style:t3.style,role:"tooltip",onClick:this.tooltips.handleActionClick,onPointerDown:this.tooltips.handlePointerDown,onPointerMove:this.tooltips.handlePointerMove,onPointerUp:this.tooltips.handlePointerUp,onPointerCancel:this.tooltips.handlePointerUp};return void 0!==t3.html?e("div",{...i2,innerHTML:t3.html}):e("div",{...i2},t3.text)}))}renderTooltipConnector(){const t2=this.tooltips.renderModel();return 0===t2.connectors.length?null:e("svg",{class:"sy-bubble-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:"5"}},t2.connectors.map((t3=>e("line",{x1:t3.x1,y1:t3.y1,x2:t3.x2,y2:t3.y2,stroke:t3.stroke,"stroke-width":t3.width,"stroke-dasharray":t3.dash}))))}srSummary(t2){const{points:i2,extent:s2}=t2,e2="pack"===t2.mode?"Packed bubble chart":"Bubble chart";return 0===i2.length?`${e2}, no bubbles.`:`${e2}, ${i2.length} bubbles, x ${Dt(s2.xMin)} to ${Dt(s2.xMax)}, y ${Dt(s2.yMin)} to ${Dt(s2.yMax)}, z ${Dt(s2.zMin)} to ${Dt(s2.zMax)}.`}liveText(t2){const i2=this.focusIndex>=0?this.focusIndex:this.hoverIndex;if(i2>=0&&i2<t2.points.length){const s2=t2.points[i2];return`Bubble ${L(s2,i2)}: x ${Dt(s2.x)}, y ${Dt(s2.y)}, z ${Dt(s2.z)}.`}return this.srSummary(t2)}render(){this.decideEngine();const t2=this.computeLayout(),i2=this.liveText(t2);i2!==this.srAnnouncement&&(this.srAnnouncement=i2);const{plot:s2}=t2,r2=this.zoomSpec();return e(n,{key:"2843096b396dc1af38064c12d054393d1fd55511",style:{position:"relative",display:"inline-block",width:`${this.width}px`,height:`${this.height}px`,touchAction:r2.enabled&&r2.pinch?"none":void 0},role:"img","aria-label":this.chartTitle??"Bubble chart","data-points":t2.points.length,"data-tier":this.activeTier,"data-focus":this.focusIndex,"data-layout":t2.mode,tabindex:"0",onKeyDown:this.handleHostKeyDown,onBlur:this.handleHostBlur,"data-sy-brand-host":"chart"},this.renderAxisOverlay(t2),e("canvas",{class:"sy-bubble-chart__canvas",key:`sy-bubble-canvas-${this.activeTier}`,ref:t3=>this.handleCanvasRef(t3),width:Math.max(1,Math.round(s2.width)),height:Math.max(1,Math.round(s2.height)),style:{position:"absolute",left:`${s2.x}px`,top:`${s2.y}px`,width:`${s2.width}px`,height:`${s2.height}px`,zIndex:"2"},onPointerDown:this.handleZoomPointerDown,onPointerMove:this.handlePointerMove,onPointerUp:this.handleZoomPointerUp,onPointerCancel:this.handleZoomPointerCancel,onPointerLeave:this.handlePointerLeave,onClick:this.handlePointerClick,onContextMenu:this.handleContextMenu}),this.renderCrosshair(t2),this.renderHover(t2),this.renderFocus(t2),this.renderZoomOverlay(t2),this.renderTooltipConnector(),this.renderTooltip(),e("span",{key:"f547899aaa3e766d73f10de039e687257b102873",class:"sy-bubble-chart__sr-only","aria-live":"polite",role:"status"},this.srAnnouncement),this.fallbackReason&&e("span",{key:"6c1adf5dfa74c80c92bf79b9948170410bf3dbcd",class:"sy-bubble-chart__watermark",title:this.fallbackReason},"Syidax - fell back to standard renderer"),D(this.host,this.brandLogo,{width:this.width,height:this.height,plot:s2}))}renderHover(t2){const i2=this.hoverIndex;if(i2<0||i2>=t2.points.length)return null;const s2=this.ringOf(t2,i2,3);return e("div",{class:"sy-bubble-chart__hover","aria-hidden":"true","data-index":i2,style:{position:"absolute",left:`${s2.left}px`,top:`${s2.top}px`,width:`${s2.width}px`,height:`${s2.height}px`,boxSizing:"border-box",border:"1px solid var(--sy-bubble-hover-color, rgba(17,24,39,0.55))",borderRadius:"50%",pointerEvents:"none",zIndex:"3",clipPath:this.plotClip(t2,s2)}})}renderAxisOverlay(t2){const{frame:i2,outer:s2,plot:n2}=t2,r2=t3=>t3.label??Dt(t3.value),o2="var(--sy-axis-line-color, rgba(17,24,39,0.42))",h2="var(--sy-axis-grid-color, rgba(0,0,0,0.06))",a2=i2.xAxes.filter((t3=>t3.axis.show)),l2=i2.yAxes.filter((t3=>t3.axis.show));return e("div",{class:"sy-bubble-chart__axis-overlay","aria-hidden":"true",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none"}},i2.titleRect&&this.chartTitle&&e("div",{class:"sy-bubble-chart__title",style:{position:"absolute",left:`${s2.x}px`,top:`${s2.y+i2.titleRect.y}px`,width:`${s2.width}px`,textAlign:"center",font:"600 14px system-ui, sans-serif",color:"var(--sy-title-color, var(--sy-axis-color, #111827))"}},this.chartTitle),i2.subtitleRect&&this.chartSubtitle&&e("div",{class:"sy-bubble-chart__subtitle",title:this.chartSubtitle,style:{position:"absolute",left:`${s2.x}px`,top:`${s2.y+i2.subtitleRect.y}px`,width:`${s2.width}px`,textAlign:"center",font:"400 12px system-ui, sans-serif",color:"var(--sy-subtitle-color, var(--sy-axis-color-muted, #4b5563))",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}},this.chartSubtitle),i2.xGridLines.map((t3=>e("div",{class:"sy-bubble-chart__grid-line",style:{position:"absolute",left:`${s2.x+t3.x}px`,top:`${n2.y}px`,width:"1px",height:`${n2.height}px`,background:h2}}))),i2.yGridLines.map((t3=>e("div",{class:"sy-bubble-chart__grid-line",style:{position:"absolute",left:`${n2.x}px`,top:`${s2.y+t3.y}px`,width:`${n2.width}px`,height:"1px",background:h2}}))),l2.map((t3=>{const i3="right"===t3.side,h3=E(t3.ticks,{plotSize:n2.height,orientation:"vertical",format:r2}),a3=s2.x+t3.linePosition;return[...h3.map((n3=>e("div",{class:"sy-bubble-chart__axis-label sy-bubble-chart__axis-label--y"+(i3?" sy-bubble-chart__axis-label--right":""),"data-axis-key":t3.key,"data-side":t3.side,style:{position:"absolute",left:`${i3?a3+6:a3-48}px`,top:s2.y+n3.position-7+"px",width:"42px",textAlign:i3?"left":"right",font:"400 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},r2(n3)))),e("div",{class:"sy-bubble-chart__axis-line","data-axis-key":t3.key,style:{position:"absolute",left:`${a3}px`,top:`${n2.y}px`,width:"1px",height:`${n2.height}px`,background:o2}}),t3.axis.label?e("div",{class:"sy-bubble-chart__axis-title","data-axis-key":t3.key,"data-side":t3.side,style:{position:"absolute",left:`${i3?a3+54:a3-68}px`,top:`${i3?n2.y:n2.y+n2.height}px`,width:`${n2.height}px`,transform:i3?"rotate(90deg)":"rotate(-90deg)",transformOrigin:"left top",textAlign:"center",font:"600 11px system-ui, sans-serif",color:"var(--sy-axis-color,#111827)"}},t3.axis.label):null]})),a2.map((t3=>{const i3="top"===t3.side,h3=E(t3.ticks,{plotSize:n2.width,orientation:"horizontal",format:r2}),a3=s2.y+t3.linePosition;return[...h3.map((n3=>e("div",{class:"sy-bubble-chart__axis-label sy-bubble-chart__axis-label--x"+(i3?" sy-bubble-chart__axis-label--top":""),"data-axis-key":t3.key,"data-side":t3.side,style:{position:"absolute",left:s2.x+n3.position-28+"px",top:`${i3?a3-18:a3+4}px`,width:"56px",textAlign:"center",font:"400 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},r2(n3)))),e("div",{class:"sy-bubble-chart__axis-line","data-axis-key":t3.key,"data-side":t3.side,style:{position:"absolute",left:`${n2.x}px`,top:`${a3}px`,width:`${n2.width}px`,height:"1px",background:o2}}),t3.axis.label?e("div",{class:"sy-bubble-chart__axis-title","data-axis-key":t3.key,"data-side":t3.side,style:{position:"absolute",left:`${n2.x}px`,top:`${i3?a3-34:a3+20}px`,width:`${n2.width}px`,textAlign:"center",font:"600 11px system-ui, sans-serif",color:"var(--sy-axis-color,#111827)"}},t3.axis.label):null]})))}async getEngineStatus(){return M(this.engine,this.activeTier,this.engineOutcome,this.engineLicenseState)}static get watchers(){return{data:[{handleDataChange:0}],streamSource:[{handleStreamSourceChange:0}],streamMax:[{handleStreamSourceChange:0}],streamWindow:[{handleStreamWindowChange:0}],animated:[{handleAnimationChange:0}],animationDuration:[{handleAnimationChange:0}],animationEasing:[{handleAnimationChange:0}],animationType:[{handleAnimationChange:0}],engine:[{resetProInitLatch:0}],proThreshold:[{resetProInitLatch:0}],unavailable:[{resetProInitLatch:0}],layout:[{handlePackChange:0}],packPadding:[{handlePackChange:0}],packFit:[{handlePackChange:0}],visualMap:[{handleVisualMapProp:0}],shading:[{handleStyleChange:0}],shadeStrength:[{handleStyleChange:0}],fillAlpha:[{handleStyleChange:0}],borderColor:[{handleStyleChange:0}]}}};Rt.style=".sc-sy-bubble-chart-h{display:inline-block;position:relative}.sc-sy-bubble-chart-h:focus-visible{outline:2px solid var(--sy-bubble-focus-color, #2563eb);outline-offset:2px}.sc-sy-bubble-chart-h:focus:not(:focus-visible){outline:none}.sy-bubble-chart__canvas.sc-sy-bubble-chart{display:block}.sy-bubble-chart__sr-only.sc-sy-bubble-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-bubble-chart__watermark.sc-sy-bubble-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;z-index:6}";export{Rt as sy_bubble_chart};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,g as s,h as e,H as o}from"./p-DChj4qx2.js";import{s as r,r as n}from"./p-DO6vGxJP.js";import{n as a,b as h}from"./p-B6K1arcd.js";import{C as l,c,a as d,p as u}from"./p-nxlSIIWU.js";import{a as p,b as f}from"./p-CTrT2jn4.js";import{s as m,r as g}from"./p-DYKIyOfR.js";import{c as x,l as y}from"./p-DTZUbymc.js";import{h as b}from"./p-_AFoWkvk.js";import{a as v,d as w,r as $,b as S}from"./p-DogpgTFv.js";import{t as k,c as C}from"./p-C0f63Npv.js";import{a as M}from"./p-CitzwxIw.js";import{s as _}from"./p-Yjd8T1ZK.js";import"./p-HAy9hTj2.js";import"./p-DUELYDa7.js";import"./p-D6sPnRDQ.js";import"./p-AzDRbG7D.js";function A(t2){return"number"==typeof t2&&Number.isFinite(t2)&&t2>0?t2:0}function T(t2,i2){return i2>0?t2/i2:t2}function L(t2,i2,s2,e2){if(0===t2.items.length)return null;if(s2<i2.x||s2>i2.x+i2.width)return null;if(e2<i2.y||e2>i2.y+i2.height)return null;const o2=T(i2.height,t2.items.length);return{index:Math.max(0,Math.min(t2.items.length-1,Math.floor((e2-i2.y)/o2))),side:s2<i2.x+i2.width/2?"left":"right"}}function P(t2){return!Number.isFinite(t2)||t2<=0?0:t2>=1?1:t2}function N(t2){if(t2&&"object"==typeof t2&&Array.isArray(t2.values))return{category:t2.category,values:[t2.values[0],t2.values[1]].map((t3=>Number.isFinite(t3)?Number(t3):0))}}const V="reveal",Y="morph",X="stream";function F(t2,i2){return i2?`${t2} ${i2}`:t2}function D(t2,i2){return"number"!=typeof i2?i2:new Set(["lineHeight","opacity","zIndex","fontWeight","flex","flexGrow","flexShrink","order"]).has(t2)?String(i2):`${i2}px`}const I=class{constructor(s2){t(this,s2),this.rendered=i(this,"rendered",7),this.pointClick=i(this,"pointClick",7),this.pointHover=i(this,"pointHover",7),this.crosshairMove=i(this,"crosshairMove",7),this.pointContextMenu=i(this,"pointContextMenu",7),this.appended=i(this,"appended",7),this.windowSlid=i(this,"windowSlid",7),this.chartAnimationStart=i(this,"chartAnimationStart",7),this.chartAnimationEnd=i(this,"chartAnimationEnd",7),this.chartAnimationInterrupted=i(this,"chartAnimationInterrupted",7),this.tooltipShow=i(this,"tooltipShow",7),this.tooltipHide=i(this,"tooltipHide",7),this.tooltipAction=i(this,"tooltipAction",7),this.seriesOutsideClick=i(this,"seriesOutsideClick",7)}get host(){return s(this)}data=[];groups=[];categories;leftValues;rightValues;width=680;height=380;brandLogo;brandPosition="bottom-right";color="";leftLabel;rightLabel;barPadding=.3;xLabelMode;xLabelRotation;xLabelMaxCount;valueAxisLabel;gridLines;crosshair;chartTitle;chartSubtitle;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;activeTier="standard";fallbackReason;cartesianTooltip=null;cartesianTooltips=[];srAnnouncement="";animationTick=0;hoverKey=null;cursor=null;tooltipDrag;tooltipElement;nextTooltipId=1;draggableTooltipPositions=new Map;animator=(function(){const t2=new Map;function i2(t3,i3){return t3.duration<=0?1:P((function(t4,i4){return t4.startedAt<0||t4.paused?t4.pausedElapsed:Math.max(0,i4-t4.startedAt+t4.pausedElapsed)})(t3,i3)/t3.duration)}return{start(i3,s2){t2.set(i3,{startedAt:-1,pausedElapsed:0,paused:false,duration:Math.max(0,s2.duration),easing:s2.easing})},progressAt(s2,e2){const o2=t2.get(s2);if(o2)return o2.startedAt<0&&!o2.paused&&(o2.startedAt=e2),(function(t3,i3){const s3=P(t3);switch(i3){case"linear":default:return s3;case"ease-out":return 1-(1-s3)*(1-s3)*(1-s3);case"ease-in":return s3*s3*s3;case"ease-in-out":return s3<.5?4*s3*s3*s3:1-Math.pow(-2*s3+2,3)/2}})(i2(o2,e2),o2.easing)},has:i3=>t2.has(i3),isActive(s2,e2){const o2=t2.get(s2);return!!o2&&(!!o2.paused||i2(o2,e2)<1)},tick(s2){const e2=[];for(const[o2,r2]of t2)r2.startedAt<0&&!r2.paused&&(r2.startedAt=s2),r2.paused||i2(r2,s2)>=1&&e2.push(o2);for(const i3 of e2)t2.delete(i3)},pauseAll(i3){for(const s2 of t2.values())s2.paused||(s2.startedAt>=0&&(s2.pausedElapsed+=i3-s2.startedAt),s2.paused=true)},resumeAll(i3){for(const s2 of t2.values())s2.paused&&(s2.startedAt=i3,s2.paused=false)},hasActive(){for(const i3 of t2.values())if(!i3.paused)return true;return false},cancel(i3){t2.delete(i3)},clear(){t2.clear()},entries:()=>t2}})();animationFrameHandle=null;morphActive=false;displayedBars=new Map;morphFromBars;internalStreamSource;boundStreamSource;streamUnsubscribe;streamLicense=new l({host:()=>this.host,input:()=>c(this,"always-ring"),active:()=>void 0!==this.boundStreamSource||void 0!==this.internalStreamSource,onChange:t2=>this.handleStreamLicenseChange(t2)});streamFrozenData;plainStreamStarted=false;suppressNextValuesAnimation=false;streamFromLeft;streamFromRight;lastStreamTime;firstRender=true;lastRenderResult={points:0,renderMs:0};pendingRenderedEmit=false;hasLoaded=false;detached=false;connectedCallback(){this.detached=false,this.streamLicense.connect(),this.hasLoaded&&this.resumeStreamBinding()}resumeStreamBinding(){this.bindStreamSource();const t2=this.displayedStreamSource();t2&&this.streamLicense.live()&&(this.streamUnsubscribe||this.bindToStreamSource(t2),this.handleStreamEvent(t2,{type:"replace",count:t2.length}))}componentDidLoad(){this.hasLoaded=true,this.bindStreamSource(),this.shouldInitialAnimation(true)&&this.startReveal()}componentDidRender(){this.detached||(this.measureTooltipBox(),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)return this.suppressNextValuesAnimation=false,void this.animationTick++;this.shouldInitialAnimation(this.firstRender)?(this.firstRender=false,this.startReveal()):this.shouldUpdateAnimation()?this.startMorph():this.animationTick++}handleStreamSourceChange(){this.bindStreamSource()}handleAnimationToggle(){this.shouldInitialAnimation(true)?this.startReveal():(this.animator.hasActive()&&this.chartAnimationInterrupted.emit(),this.animator.clear(),this.morphActive=false,this.stopAnimationLoop(),this.animationTick++)}handleVisualChange(){this.animationTick++}async redraw(){return this.animationTick++,this.lastRenderResult}async getActiveTier(){return this.activeTier}async setData(t2,i2){this.data=void 0===i2?t2:this.legacyRowsFromValues(t2,i2)}async appendPoint(t2){await this.streamOrPlain("appendPoint",{type:"push",datum:t2},(()=>this.ensureInternalStreamSource()?.push(t2)))}async appendBatch(t2){await this.streamOrPlain("appendBatch",{type:"pushBatch",data:t2},(()=>this.ensureInternalStreamSource()?.pushBatch(t2)))}async shift(t2){await this.streamOrPlain("shift",{type:"shift",count:t2},(()=>this.activeStreamSource()?.shift(t2)))}async replace(t2){await this.streamOrPlain("replace",{type:"replace",data:t2},(()=>this.ensureInternalStreamSource()?.replace(t2)))}async getStreamSource(){return this.streamLicense.run("getStreamSource",(t2=>"stream"===t2?this.activeStreamSource():void 0),void 0!==this.displayedStreamSource())}async setAnimation(t2){"number"==typeof t2.duration&&Number.isFinite(t2.duration)&&(this.animationDuration=Math.max(0,t2.duration)),t2.easing&&(this.animationEasing=t2.easing),"boolean"==typeof t2.enabled&&(this.animated=t2.enabled),t2.type&&(this.animationType=t2.type)}async pauseAnimation(){this.animator.pauseAll(this.now())}async resumeAnimation(){this.animator.resumeAll(this.now()),this.ensureAnimationLoop()}async replayAnimation(){this.startReveal()}async hitTest(t2,i2){const s2=this.computeTornadoLayout(),e2=L(s2.model,s2.plot,t2,i2);return e2?this.detailFor(s2,e2.index,e2.side,t2,i2):null}async showTooltipAtPoint(t2,i2=1){const s2=this.resolveTooltipSpec();if(!s2.show)return null;const e2=this.computeTornadoLayout(),o2=this.sideForSeriesIndex(i2),r2=this.tornadoHitAtIndex(e2,t2,o2);return r2?this.showTooltipForHit(e2,r2,s2,true):null}async hideTooltip(){this.clearTooltips(),this.hoverKey=null}hasVisibleTooltips(){return null!==this.cartesianTooltip||this.cartesianTooltips.length>0}clearTooltips(){this.hasVisibleTooltips()&&(this.tooltipDrag=void 0,this.cartesianTooltip=null,this.cartesianTooltips=[],this.tooltipHide.emit())}hasDataRows(){return Array.isArray(this.data)&&this.data.length>0}seriesName(t2){return this.groups?.[t2]??(0===t2?this.leftLabel:this.rightLabel)??(0===t2?"Group 1":"Group 2")}sideForSeriesIndex(t2){return"left"===t2||"right"===t2?t2:Number.isFinite(t2)&&0===Math.trunc(t2)?"left":"right"}legacyRowsFromValues(t2,i2){const s2=Math.max(t2?.length??0,i2?.length??0,this.categories?.length??0),e2=[];for(let o2=0;o2<s2;o2++)e2.push({category:this.categories?.[o2]??String(o2+1),values:[t2?.[o2],i2?.[o2]]});return e2}resolvedRows(){return this.hasDataRows()?[...this.data]:this.legacyRowsFromValues(this.leftValues,this.rightValues)}rowCategories(t2){return this.categories?[...this.categories]:t2.map(((t3,i2)=>t3.category??String(i2+1)))}sideValues(t2,i2){return t2.map((t3=>t3.values?.[i2]??null))}targetLeftValues(){return Float32Array.from(this.sideValues(this.resolvedRows(),0).map((t2=>"number"==typeof t2&&Number.isFinite(t2)?t2:0)))}targetRightValues(){return Float32Array.from(this.sideValues(this.resolvedRows(),1).map((t2=>"number"==typeof t2&&Number.isFinite(t2)?t2:0)))}computeTornadoLayout(){const t2=this.resolvedRows(),i2=this.rowCategories(t2),s2=(function(t3,i3,s3){const e3=Math.max(t3.length,i3.length),o3=[];let r3=0;for(let n3=0;n3<e3;n3++){const e4=A(t3[n3]),a3=A(i3[n3]);r3=Math.max(r3,e4,a3),o3.push({index:n3,category:s3?.[n3]??String(n3+1),left:e4,right:a3})}return{items:o3,maxMagnitude:r3}})(this.streamLeft()??this.sideValues(t2,0),this.streamRight()??this.sideValues(t2,1),i2),e2={x:0,y:24,width:this.width,height:Math.max(1,this.height-24)},o2=(function(t3){if(!Number.isFinite(t3)||t3<=0)return 1;const i3=(function(t4){if(!Number.isFinite(t4)||t4<=0)return 1;const i4=Math.floor(Math.log10(t4)),s3=Math.pow(10,i4),e3=t4/s3;return(e3<=1?1:e3<=2?2:e3<=5?5:10)*s3})(t3/4);return Math.ceil(t3/i3)*i3})(s2.maxMagnitude),r2=s2.items.length,n2=v({kind:"linear",position:"bottom",show:true,label:this.valueAxisLabel,format:t3=>`${Math.abs(Math.round(t3))}`},{kind:"category",position:"left",show:true,categories:s2.items.map((t3=>t3.category)),tickCount:Math.min(r2,30)}),a2=p({outerWidth:e2.width,outerHeight:e2.height,axes:n2,gridLines:w(this.gridLines),title:this.chartTitle,subtitle:this.chartSubtitle,xExtent:{min:-o2,max:o2},yExtent:{min:-.5,max:Math.max(.5,r2-.5)}}),h2={x:e2.x+a2.plot.x,y:e2.y+a2.plot.y,width:a2.plot.width,height:a2.plot.height},l2=h2.x+h2.width/2,c2=(function(t3,i3,s3,e3=.3,o3=0){const r3=t3.items.length;if(0===r3)return[];const n3=T(i3.height,r3),a3=Math.max(0,Math.min(.6,e3))*n3,h3=Math.max(0,n3-a3),l3=i3.x+i3.width/2,c3=Math.max(0,o3)/2,d2=[];for(const e4 of t3.items){const t4=i3.y+e4.index*n3+a3/2,o4=i3.y+e4.index*n3+n3/2,r4=Math.max(0,s3(e4.left)-c3),u2=Math.max(0,s3(e4.right)-c3);d2.push({index:e4.index,category:e4.category,left:e4.left,right:e4.right,centerY:o4,leftRect:{x:l3-c3-r4,y:t4,width:r4,height:h3},rightRect:{x:l3+c3,y:t4,width:u2,height:h3}})}return d2})(s2,h2,(t3=>o2>0?t3/o2*(h2.width/2):0),this.barPadding);return{model:s2,outer:e2,plot:h2,frame:a2,niceMax:o2,bars:c2,centerX:l2}}shouldAnimate(){return!this.detached&&this.animated&&this.animationDuration>0}shouldInitialAnimation(t2){return!!this.shouldAnimate()&&("initial"===this.animationType||"update"!==this.animationType&&t2)}shouldUpdateAnimation(){return!!this.shouldAnimate()&&"initial"!==this.animationType}startReveal(){this.animator.hasActive()&&this.chartAnimationInterrupted.emit(),this.morphActive=false,this.animator.clear(),this.animator.start(V,{duration:this.animationDuration,easing:this.animationEasing}),this.chartAnimationStart.emit(),this.ensureAnimationLoop()}startMorph(){this.animator.hasActive()&&this.chartAnimationInterrupted.emit(),this.morphActive=true,this.animator.clear(),this.morphFromBars=new Map(this.displayedBars),this.animator.start(Y,{duration:this.animationDuration,easing:this.animationEasing}),this.chartAnimationStart.emit(),this.ensureAnimationLoop()}ensureAnimationLoop(){if(null!==this.animationFrameHandle)return;const t2=()=>{this.animator.tick(this.now()),this.animationTick++,this.animator.hasActive()&&this.animator.entries().size>0?this.animationFrameHandle=requestAnimationFrame(t2):(this.animationFrameHandle=null,this.morphActive=false,this.chartAnimationEnd.emit())};this.animationFrameHandle=requestAnimationFrame(t2)}stopAnimationLoop(){null!==this.animationFrameHandle&&(cancelAnimationFrame(this.animationFrameHandle),this.animationFrameHandle=null)}revealProgress(){return this.animator.has(V)?this.animator.progressAt(V,this.now())??1:1}morphProgress(){return this.morphActive&&this.animator.has(Y)?this.animator.progressAt(Y,this.now())??1:1}now(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}activeStreamSource(){return this.streamSource??this.internalStreamSource}displayedStreamSource(){return this.boundStreamSource??this.internalStreamSource}ensureInternalStreamSource(){return this.streamSource?this.streamSource:(this.internalStreamSource||(this.internalStreamSource=(function(){const t2=new Error("Dedicated streaming requires @syidax/advanced-pro");throw t2.code="module-missing",t2.feature="chart.streaming",t2})((this.coerceStreamCapacity(),this.valuesAsData())),this.bindToStreamSource(this.internalStreamSource)),this.internalStreamSource)}valuesAsData(){const t2=this.resolvedRows(),i2=this.rowCategories(t2),s2=t3=>"bigint"==typeof t3?Number(t3):"number"==typeof t3&&Number.isFinite(t3)?t3:0;return t2.map(((t3,e2)=>({category:i2[e2]??t3.category,values:[s2(t3.values?.[0]),s2(t3.values?.[1])]})))}coerceStreamCapacity(){return"number"==typeof this.streamMax&&Number.isFinite(this.streamMax)&&this.streamMax>0?Math.floor(this.streamMax):"number"==typeof this.streamWindow&&Number.isFinite(this.streamWindow)&&this.streamWindow>0?4*Math.floor(this.streamWindow):2e3}bindStreamSource(){if(this.detached||this.streamLicense.frozen)return;const t2=this.streamLicense.route();if("pending"===t2||"refused"===t2)return;const i2="stream"===t2?this.streamSource:void 0;this.boundStreamSource!==i2&&(this.streamUnsubscribe?.(),this.streamUnsubscribe=void 0,i2&&(this.internalStreamSource=void 0,this.bindToStreamSource(i2)),this.boundStreamSource=i2)}bindToStreamSource(t2){this.detached||(this.streamUnsubscribe?.(),this.streamUnsubscribe=t2.subscribe((i2=>this.handleStreamEvent(t2,i2))))}async streamOrPlain(t2,i2,s2){const e2="shift"!==i2.type||this.plainStreamStarted||void 0!==this.displayedStreamSource();await this.streamLicense.run(t2,(t3=>{if("stream"===t3)return s2();("shift"!==i2.type||this.plainStreamStarted)&&("shift"!==i2.type&&(this.plainStreamStarted=true),this.applyPlainStream(i2))}),e2)}applyPlainStream(t2){const i2=this.valuesAsData().map((t3=>N(t3))).filter((t3=>void 0!==t3)),{list:s2,event:e2}=d(i2,t2,N);e2&&this.handleStreamEvent(u(s2),e2)}handleStreamLicenseChange(t2){if(!this.detached){if("frozen"===t2)return this.streamFrozenData=this.data,this.streamUnsubscribe?.(),void(this.streamUnsubscribe=void 0);"resumed"===t2&&(this.data===this.streamFrozenData||this.boundStreamSource||(this.internalStreamSource=void 0),this.streamFrozenData=void 0),this.resumeStreamBinding()}}handleStreamEvent(t2,i2){const s2=t2.snapshot("number"==typeof this.streamWindow&&this.streamWindow>0?this.streamWindow:void 0),e2=s2.map(((t3,i3)=>({category:t3.category??String(i3+1),values:[t3.values[0]??0,t3.values[1]??0]}))),o2=Float32Array.from(e2.map((t3=>t3.values[0]??0))),r2=Float32Array.from(e2.map((t3=>t3.values[1]??0))),n2=s2.map(((t3,i3)=>t3.category??String(i3+1))),a2=this.resolvedRows().length>0;if(this.shouldAnimate()&&a2&&(o2.length>0||r2.length>0)){const t3=this.now(),i3=x(this.animationDuration,this.lastStreamTime,t3);this.lastStreamTime=t3,this.streamFromLeft=this.currentStreamLeft(),this.streamFromRight=this.currentStreamRight(),this.suppressNextValuesAnimation=true,this.data=e2,this.categories=n2,i3>0&&(this.animator.start(X,{duration:i3,easing:this.animationEasing}),this.chartAnimationStart.emit(),this.ensureAnimationLoop())}else this.lastStreamTime=this.now(),this.suppressNextValuesAnimation=true,this.data=e2,this.categories=n2;"push"!==i2.type&&"pushBatch"!==i2.type||this.appended.emit({count:i2.count}),"shift"===i2.type&&this.windowSlid.emit({dropped:i2.count})}currentStreamLeft(){return this.animator.has(X)&&this.streamFromLeft?y(this.streamFromLeft,this.targetLeftValues(),this.animator.progressAt(X,this.now())??1):this.targetLeftValues()}currentStreamRight(){return this.animator.has(X)&&this.streamFromRight?y(this.streamFromRight,this.targetRightValues(),this.animator.progressAt(X,this.now())??1):this.targetRightValues()}streamLeft(){return this.animator.has(X)&&this.streamFromLeft?y(this.streamFromLeft,this.targetLeftValues(),this.animator.progressAt(X,this.now())??1):null}streamRight(){return this.animator.has(X)&&this.streamFromRight?y(this.streamFromRight,this.targetRightValues(),this.animator.progressAt(X,this.now())??1):null}detailFor(t2,i2,s2,e2,o2){const r2=t2.model.items[i2],n2="left"===s2?0:1;return{categoryIndex:i2,seriesIndex:n2,seriesName:this.seriesName(n2),index:i2,category:r2.category,side:s2,value:"left"===s2?r2.left:r2.right,cssX:e2,cssY:o2}}resolveTooltipSpec(){const t2=$(this.tooltip);return void 0!==this.tooltip||this.tooltipEnabled?t2:{...t2,show:false}}tornadoHitAtPoint(t2,i2){return this.tornadoHitAtIndex(t2,i2.index,i2.side)}tornadoHitAtIndex(t2,i2,s2){const e2=Math.trunc(i2);if(!Number.isFinite(e2)||e2<0||e2>=t2.model.items.length)return null;const o2=t2.model.items[e2],r2=t2.bars[e2],n2=r2?"left"===s2?r2.leftRect.x:r2.rightRect.x+r2.rightRect.width:t2.centerX,a2=r2?.centerY??t2.plot.y;return{index:e2,seriesIndex:"left"===s2?0:1,seriesName:this.seriesName("left"===s2?0:1),side:s2,category:o2.category,left:o2.left,right:o2.right,value:"left"===s2?o2.left:o2.right,cssX:n2,cssY:a2}}srSummary(t2){return 0===t2.items.length?"Tornado chart, no data":`Back-to-back bar chart, ${t2.items.length} categories comparing ${this.seriesName(0)} and ${this.seriesName(1)}. Peak magnitude ${Math.round(t2.maxMagnitude)}.`}shouldShowTooltipOnHover(t2){return"click"!==t2.trigger}shouldShowTooltipOnClick(t2){return"click"===t2.trigger||"hover-click"===t2.trigger}shouldHideTooltipOnLeave(t2){return!t2.show||!t2.draggable&&"click"!==t2.trigger&&false!==t2.hideOnLeave}showTooltipForHit(t2,i2,s2,e2=false){const o2=i2.cssX,n2=i2.cssY,a2={seriesIndex:i2.seriesIndex,pointIndex:i2.index,index:i2.index,value:i2.value,cssX:o2,cssY:n2,dataX:i2.index,dataY:i2.value,mode:s2.mode},h2=f({frame:{plot:t2.plot},hit:{cssX:o2,cssY:n2},spec:s2}),l2=this.lockedTooltipPositionForHit(i2,s2),c2=l2?.side??h2.side,d2=l2?this.tooltipAnchorFromPositionLock(l2.lock,c2,l2.box,s2.offset??10):{cssX:h2.cssX,cssY:h2.cssY},u2=r(s2.format,[i2.value,a2],(()=>this.formatDefaultTooltipText(i2)),"tooltip.format",s2),p2=r(s2.html,[i2.value,a2],(()=>{}),"tooltip.html",s2),m2={id:this.nextTooltipId++,cssX:d2.cssX,cssY:d2.cssY,pointCssX:o2,pointCssY:n2,box:l2?.box,side:c2,text:u2,html:p2,className:s2.className,style:this.tooltipStyleFromSpec(s2),interactive:s2.interactive,connector:s2.connector,draggable:s2.draggable,offset:s2.offset,positionLock:l2?.lock,context:a2};this.tooltipDrag=void 0,e2&&"multiple"===s2.openMode?(this.cartesianTooltip=m2,this.cartesianTooltips=[...this.cartesianTooltips,m2]):(this.cartesianTooltips=[],this.cartesianTooltip=m2);const g2={cssX:d2.cssX,cssY:d2.cssY,anchor:c2,text:u2,html:p2,context:a2};return this.tooltipShow.emit(g2),g2}formatDefaultTooltipText(t2){if(this.tooltipFormat)try{return this.tooltipFormat({index:t2.index,categoryIndex:t2.index,seriesIndex:t2.seriesIndex,seriesName:t2.seriesName,category:t2.category,side:t2.side,value:t2.value,cssX:t2.cssX,cssY:t2.cssY})}catch(t3){n(this.tooltipFormat,t3,"tooltipFormat")}return`${t2.category} — ${this.seriesName(0)}: ${R(t2.left)} / ${this.seriesName(1)}: ${R(t2.right)}`}tooltipStyleFromSpec(t2){const i2={...t2.style??{}};return void 0!==t2.width&&(i2.width=t2.width),void 0!==t2.minWidth&&(i2.minWidth=t2.minWidth),void 0!==t2.maxWidth&&(i2.maxWidth=t2.maxWidth),void 0!==t2.padding&&(i2.padding=t2.padding),Object.keys(i2).length>0?i2:void 0}renderTooltip(){const t2=this.cartesianTooltips.length>0,i2=t2?this.cartesianTooltips:[this.positionedTooltipForRender()].filter((t3=>Boolean(t3)));return 0===i2.length?null:i2.map((i3=>this.renderTooltipItem(i3,!t2)))}renderTooltipItem(t2,i2){const{cssX:s2,cssY:o2,side:r2,text:n2,html:a2,className:h2,style:l2,interactive:c2,draggable:d2}=t2,u2=t2.offset??10,p2={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:c2||d2?"auto":"none",cursor:d2?this.tooltipDrag?"grabbing":"grab":"default",transform:""};t2.positionLock?(p2.left=`${t2.positionLock.x}px`,p2.top=`${t2.positionLock.y}px`,p2.transform=""):"top"===r2?(p2.left=`${s2}px`,p2.top=o2-u2+"px",p2.transform="translate(-50%, -100%)"):"bottom"===r2?(p2.left=`${s2}px`,p2.top=`${o2+u2}px`,p2.transform="translate(-50%, 0%)"):"left"===r2?(p2.left=s2-u2+"px",p2.top=`${o2}px`,p2.transform="translate(-100%, -50%)"):(p2.left=`${s2+u2}px`,p2.top=`${o2}px`,p2.transform="translate(0%, -50%)");for(const[t3,i3]of Object.entries(l2??{}))p2[t3]=D(t3,i3);return void 0!==a2?e("div",{class:F("sy-tornado-chart__tooltip",h2),"data-tooltip-id":`${t2.id}`,ref:i2?t3=>this.tooltipElement=t3:void 0,style:p2,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp,innerHTML:a2}):e("div",{class:F("sy-tornado-chart__tooltip",h2),"data-tooltip-id":`${t2.id}`,ref:i2?t3=>this.tooltipElement=t3:void 0,style:p2,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp},n2)}renderTooltipConnector(){const t2=(this.cartesianTooltips.length>0?this.cartesianTooltips:[this.positionedTooltipForRender()].filter((t3=>Boolean(t3)))).filter((t3=>t3.connector?.show));return 0===t2.length?null:e("svg",{class:"sy-tornado-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"},t2.map((t3=>{const i2=t3.connector,s2=k(t3);return e("line",{x1:t3.pointCssX,y1:t3.pointCssY,x2:s2.x,y2:s2.y,stroke:i2.color??"var(--sy-tooltip-connector-color, rgba(17,24,39,0.42))","stroke-width":i2.width??1,"stroke-dasharray":i2.dash?.join(" ")})})))}positionedTooltipForRender(t2=this.cartesianTooltip){if(!t2)return null;if(!t2.box||this.tooltipDrag)return t2;if(t2.positionLock)return t2;const i2=t2.offset??10,s2=C({anchor:{kind:"point",x:t2.pointCssX,y:t2.pointCssY},tooltip:t2.box,viewport:{x:0,y:0,width:this.width,height:this.height},preferredSide:t2.side,offset:i2,padding:6}),e2=this.tooltipAnchorFromTopLeft(s2.x,s2.y,t2.box,s2.side,i2);return{...t2,...e2,side:s2.side}}tooltipTopLeftFromAnchor(t2){const i2=t2.box;if(!i2)return;const s2=t2.offset??10;return"top"===t2.side?{x:t2.cssX-i2.width/2,y:t2.cssY-s2-i2.height}:"bottom"===t2.side?{x:t2.cssX-i2.width/2,y:t2.cssY+s2}:"left"===t2.side?{x:t2.cssX-s2-i2.width,y:t2.cssY-i2.height/2}:{x:t2.cssX+s2,y:t2.cssY-i2.height/2}}tooltipTopLeftFromElement(t2){const i2=t2.getBoundingClientRect(),s2=this.host.getBoundingClientRect();if(Number.isFinite(i2.left)&&Number.isFinite(i2.top))return{x:i2.left-s2.left,y:i2.top-s2.top}}tooltipAnchorFromPositionLock(t2,i2,s2,e2){return s2?this.tooltipAnchorFromTopLeft(t2.x,t2.y,s2,i2,e2):{cssX:t2.x,cssY:t2.y}}tooltipPositionKeyForHit(t2){return`${"left"===t2.side?0:1}:${t2.index}`}tooltipPositionKeyForContext(t2){return`${t2.seriesIndex??0}:${t2.pointIndex??t2.index??0}`}rememberDraggableTooltipPosition(t2){t2.draggable&&t2.positionLock&&this.draggableTooltipPositions.set(this.tooltipPositionKeyForContext(t2.context),{lock:{...t2.positionLock},side:t2.side,box:t2.box})}lockedTooltipPositionForHit(t2,i2){if(i2.draggable){const i3=this.draggableTooltipPositions.get(this.tooltipPositionKeyForHit(t2));if(!i3)return;return{lock:{...i3.lock},side:i3.side,box:i3.box}}if(!i2.interactive||"multiple"===i2.openMode)return;const s2=this.positionedTooltipForRender();if(!s2?.box)return;if(s2.context.pointIndex!==t2.index||(s2.context.seriesIndex??0)!==("left"===t2.side?0:1))return;const e2=this.tooltipTopLeftFromAnchor(s2);return e2?{lock:e2,side:s2.side,box:s2.box}:void 0}tooltipAnchorFromTopLeft(t2,i2,s2,e2,o2){return"top"===e2?{cssX:t2+s2.width/2,cssY:i2+s2.height+o2}:"bottom"===e2?{cssX:t2+s2.width/2,cssY:i2-o2}:"left"===e2?{cssX:t2+s2.width+o2,cssY:i2+s2.height/2}:{cssX:t2-o2,cssY:i2+s2.height/2}}measureTooltipBox(){if(this.cartesianTooltips.length>0)return;const t2=this.cartesianTooltip,i2=this.tooltipElement;if(!t2||!i2)return;const s2=i2.getBoundingClientRect();if(!Number.isFinite(s2.width)||!Number.isFinite(s2.height))return;const e2=Math.round(100*s2.width)/100,o2=Math.round(100*s2.height)/100;if(t2.box?.width===e2&&t2.box?.height===o2)return;const r2={width:e2,height:o2},n2={...t2,box:r2};t2.positionLock&&Object.assign(n2,this.tooltipAnchorFromPositionLock(t2.positionLock,t2.side,r2,t2.offset??10)),this.rememberDraggableTooltipPosition(n2),this.cartesianTooltip=n2}handleTooltipActionClick=t2=>{const i2=t2.target,s2=i2?.closest?.("[data-tooltip-action]"),e2=s2?.dataset.tooltipAction,o2=Number(s2?.closest?.("[data-tooltip-id]")?.getAttribute("data-tooltip-id")),r2=this.cartesianTooltips.find((t3=>t3.id===o2))??this.cartesianTooltip;e2&&r2&&(t2.stopPropagation(),this.tooltipAction.emit({...r2.context,action:e2,text:r2.text,html:r2.html}))};handleTooltipPointerDown=t2=>{if(!this.cartesianTooltip?.draggable)return;const i2=t2.target;if(i2?.closest?.("[data-tooltip-action],button,a,input,textarea,select"))return;t2.preventDefault(),t2.stopPropagation();const s2=t2.currentTarget,e2=this.positionedTooltipForRender(this.cartesianTooltip)??this.cartesianTooltip,o2=this.tooltipTopLeftFromElement(s2)??this.tooltipTopLeftFromAnchor(e2)??{x:e2.cssX,y:e2.cssY},r2=this.cartesianTooltip.box??e2.box,n2={...this.cartesianTooltip,cssX:e2.cssX,cssY:e2.cssY,side:e2.side,box:r2,positionLock:o2};Object.assign(n2,this.tooltipAnchorFromPositionLock(o2,n2.side,r2,n2.offset??10)),this.cartesianTooltip=n2,this.rememberDraggableTooltipPosition(n2),s2.setPointerCapture?.(t2.pointerId),this.tooltipDrag={pointerId:t2.pointerId,startX:t2.clientX,startY:t2.clientY,originX:n2.cssX,originY:n2.cssY,originLockX:o2.x,originLockY:o2.y}};handleTooltipPointerMove=t2=>{const i2=this.tooltipDrag;if(!i2||i2.pointerId!==t2.pointerId||!this.cartesianTooltip)return;t2.preventDefault(),t2.stopPropagation();const s2={x:i2.originLockX+t2.clientX-i2.startX,y:i2.originLockY+t2.clientY-i2.startY},e2={...this.cartesianTooltip,positionLock:s2};Object.assign(e2,this.tooltipAnchorFromPositionLock(s2,e2.side,e2.box,e2.offset??10)),this.cartesianTooltip=e2,this.rememberDraggableTooltipPosition(e2)};handleTooltipPointerUp=t2=>{const i2=this.tooltipDrag;i2&&i2.pointerId===t2.pointerId&&(t2.stopPropagation(),this.cartesianTooltip&&this.rememberDraggableTooltipPosition(this.cartesianTooltip),t2.currentTarget.releasePointerCapture?.(t2.pointerId),this.tooltipDrag=void 0)};localPoint(t2){const i2=this.host.getBoundingClientRect();return{cssX:t2.clientX-i2.left,cssY:t2.clientY-i2.top}}handlePointerMove=t2=>{if(!this.enableMouseTracking)return;const i2=this.computeTornadoLayout(),{cssX:s2,cssY:e2}=this.localPoint(t2);this.updateCrosshair(i2,s2,e2);const o2=this.resolveTooltipSpec(),r2=L(i2.model,i2.plot,s2,e2);if(!r2)return null!==this.hoverKey&&(this.hoverKey=null,this.pointHover.emit(null)),void(this.hasVisibleTooltips()&&this.shouldHideTooltipOnLeave(o2)&&this.clearTooltips());const n2=`${r2.index}:${r2.side}`;if(n2!==this.hoverKey&&(this.hoverKey=n2,this.pointHover.emit(this.detailFor(i2,r2.index,r2.side,s2,e2))),o2.show&&this.shouldShowTooltipOnHover(o2)){const t3=this.tornadoHitAtPoint(i2,r2);t3&&this.showTooltipForHit(i2,t3,o2)}else this.hasVisibleTooltips()&&this.shouldHideTooltipOnLeave(o2)&&this.clearTooltips()};handlePointerLeave=()=>{null!==this.hoverKey&&this.pointHover.emit(null),this.hoverKey=null,null!==this.cursor&&(this.cursor=null,this.crosshairMove.emit(null));const t2=this.resolveTooltipSpec();this.hasVisibleTooltips()&&this.shouldHideTooltipOnLeave(t2)&&this.clearTooltips()};updateCrosshair(t2,i2,s2){const e2=S(this.crosshair),{plot:o2}=t2;if(!e2.show||!(i2>=o2.x&&i2<=o2.x+o2.width&&s2>=o2.y&&s2<=o2.y+o2.height))return void(null!==this.cursor&&(this.cursor=null,this.crosshairMove.emit(null)));const r2=t2.bars.map(((t3,i3)=>({pos:t3.centerY,index:i3}))),n2=t2.bars.flatMap(((t3,i3)=>[{cssX:t3.leftRect.x,cssY:t3.centerY,index:i3},{cssX:t3.rightRect.x+t3.rightRect.width,cssY:t3.centerY,index:i3}])),a2=m(i2,s2,o2,"y",r2,n2,e2.snap);this.cursor&&this.cursor.cssX===a2.cssX&&this.cursor.cssY===a2.cssY||(this.cursor={cssX:a2.cssX,cssY:a2.cssY},this.crosshairMove.emit({cssX:a2.cssX,cssY:a2.cssY,snappedPointIndex:a2.index}))}crosshairLineBackground(t2,i2,s2){if(!s2||0===s2.length)return i2;const e2=Math.max(1,Number.isFinite(Number(s2[0]))?Number(s2[0]):4);return`repeating-linear-gradient(${"vertical"===t2?"to bottom":"to right"}, ${i2} 0px, ${i2} ${e2}px, transparent ${e2}px, transparent ${e2+Math.max(1,Number.isFinite(Number(s2[1]))?Number(s2[1]):e2)}px)`}renderCrosshair(t2){const i2=S(this.crosshair);if(!i2.show||!this.cursor)return null;const{plot:s2}=t2,o2=i2.color??"var(--sy-crosshair-color, rgba(17,24,39,0.4))",r2="horizontal"===i2.mode||"cross"===i2.mode;return e("div",{class:"sy-tornado-chart__crosshair",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",zIndex:"2"}},("vertical"===i2.mode||"cross"===i2.mode)&&e("div",{class:"sy-tornado-chart__crosshair-line",style:{position:"absolute",left:`${this.cursor.cssX}px`,top:`${s2.y}px`,width:"1px",height:`${s2.height}px`,background:this.crosshairLineBackground("vertical",o2,i2.dash)}}),r2&&e("div",{class:"sy-tornado-chart__crosshair-line",style:{position:"absolute",left:`${s2.x}px`,top:`${this.cursor.cssY}px`,width:`${s2.width}px`,height:"1px",background:this.crosshairLineBackground("horizontal",o2,i2.dash)}}))}handlePointerClick=t2=>{const i2=this.computeTornadoLayout(),{cssX:s2,cssY:e2}=this.localPoint(t2),{plot:o2}=i2,r2=s2>=o2.x&&s2<=o2.x+o2.width&&e2>=o2.y&&e2<=o2.y+o2.height,n2=L(i2.model,i2.plot,s2,e2),a2=n2?i2.bars[n2.index]??null:null;if(!n2||null===n2||null===a2||!("left"===n2.side?s2>=a2.leftRect.x:s2<=a2.rightRect.x+a2.rightRect.width))return this.hasVisibleTooltips()&&this.clearTooltips(),void(r2&&this.seriesOutsideClick.emit({cssX:s2,cssY:e2}));this.pointClick.emit(this.detailFor(i2,n2.index,n2.side,s2,e2));const h2=this.resolveTooltipSpec();if(h2.show&&this.shouldShowTooltipOnClick(h2)){const t3=this.tornadoHitAtPoint(i2,n2);t3&&this.showTooltipForHit(i2,t3,h2,true)}};handleContextMenu=t2=>{const i2=this.computeTornadoLayout(),{cssX:s2,cssY:e2}=this.localPoint(t2),o2=L(i2.model,i2.plot,s2,e2);o2&&this.pointContextMenu.emit(h(t2,this.host,"tornado",this.detailFor(i2,o2.index,o2.side,s2,e2)))};render(){const t2=(function(t3){if("pro"===t3.requested){const i3="no GPU tornado renderer exists";if("error"===a(t3.onUnavailable))throw new Error('sy-tornado-chart: Pro engine is unavailable — no GPU tornado renderer exists. Use engine="standard" or unavailable="fallback".');return console.warn(`[Syidax] sy-tornado-chart: Pro renderer unavailable, falling back to Standard (${i3}).`),{tier:"standard",fallbackReason:i3}}return{tier:"standard"}})({requested:this.engine,onUnavailable:this.unavailable});this.activeTier=t2.tier,this.fallbackReason=t2.fallbackReason;const i2=this.computeTornadoLayout(),s2=this.animator.has(V)&&!this.morphActive,r2=this.morphActive&&this.animator.has(Y)&&void 0!==this.morphFromBars,n2=s2?this.revealProgress():1,h2=r2?this.morphProgress():1;this.lastRenderResult={points:2*i2.bars.length,renderMs:0},this.pendingRenderedEmit=true,this.srAnnouncement=this.srSummary(i2.model);const l2=i2.centerX,[c2,d2]=M(this.color,["#2563eb","#ec4899"]),u2=new Map;for(const t3 of i2.bars){let i3=t3.leftRect.width,e2=t3.rightRect.width;if(r2){const s3=this.morphFromBars.get(t3.index);s3&&(i3=s3.leftW+(t3.leftRect.width-s3.leftW)*h2,e2=s3.rightW+(t3.rightRect.width-s3.rightW)*h2)}else s2&&(i3=t3.leftRect.width*n2,e2=t3.rightRect.width*n2);u2.set(t3.index,{leftW:i3,rightW:e2})}return this.displayedBars=u2,e(o,{key:"8053f2bfe4080c92915d58dcbcf0853242ed4ff6",style:{position:"relative",display:"inline-block",width:`${this.width}px`,height:`${this.height}px`},role:"img","aria-label":this.chartTitle??"Back-to-back bar chart","data-sy-brand-host":"chart"},this.renderAxisOverlay(i2),e("svg",{key:"03a20c3a6f7d3ea063e1aa1c68312d7a15ec979a",class:"sy-tornado-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},e("g",{key:"4c33d54151403678832af0f259a8c9dbf84d42a5",class:"sy-tornado-chart__bars"},i2.bars.map((t3=>{const{leftW:i3,rightW:s3}=u2.get(t3.index),o2=this.hoverKey===`${t3.index}:left`,r3=this.hoverKey===`${t3.index}:right`;return[e("rect",{key:`l-${t3.index}`,class:"sy-tornado-chart__bar sy-tornado-chart__bar--left",x:j(l2-i3),y:j(t3.leftRect.y),width:j(i3),height:j(t3.leftRect.height),fill:c2,opacity:null===this.hoverKey||o2?1:.7}),e("rect",{key:`r-${t3.index}`,class:"sy-tornado-chart__bar sy-tornado-chart__bar--right",x:j(l2),y:j(t3.rightRect.y),width:j(s3),height:j(t3.rightRect.height),fill:d2,opacity:null===this.hoverKey||r3?1:.7})]})))),this.renderCrosshair(i2),this.renderLegend(i2,c2,d2),this.renderTooltipConnector(),this.renderTooltip(),e("span",{key:"dea15f0fd160a2519073b3eb62d8a9c1b6155ce5",class:"sy-tornado-chart__sr-only","aria-live":"polite",role:"status"},this.srAnnouncement),this.fallbackReason&&e("span",{key:"a6aa60f2ae0ac6d87d79c3fce47c22be0d7cb01c",class:"sy-tornado-chart__watermark",title:this.fallbackReason},"Syidax - fell back to standard renderer"),b(this.host,this.brandLogo,{width:this.width,height:this.height,plot:i2.plot}))}renderAxisOverlay(t2){const{frame:i2,outer:s2,plot:o2,centerX:r2}=t2;return e("div",{class:"sy-tornado-chart__axis-overlay","aria-hidden":"true",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none"}},i2.titleRect&&this.chartTitle&&e("div",{class:"sy-tornado-chart__title",style:{position:"absolute",left:`${s2.x}px`,top:`${s2.y+i2.titleRect.y}px`,width:`${s2.width}px`,textAlign:"center",font:"600 14px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},this.chartTitle),i2.subtitleRect&&this.chartSubtitle&&e("div",{class:"sy-tornado-chart__subtitle",title:this.chartSubtitle,style:{position:"absolute",left:`${s2.x}px`,top:`${s2.y+i2.subtitleRect.y}px`,width:`${s2.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),i2.xGridLines.map((t3=>e("div",{class:"sy-tornado-chart__grid-line",style:{position:"absolute",left:`${s2.x+t3.x}px`,top:`${o2.y}px`,width:"1px",height:`${o2.height}px`,background:"var(--sy-axis-grid-color, rgba(0,0,0,0.06))"}}))),i2.xTicks.map((t3=>e("div",{class:"sy-tornado-chart__axis-label sy-tornado-chart__axis-label--x",style:{position:"absolute",left:s2.x+t3.position-28+"px",top:`${o2.y+o2.height+4}px`,width:"56px",textAlign:"center",font:"400 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},(t4=>t4.label??String(t4.value))(t3)))),(()=>{const i3=t2.bars.map((t3=>t3.category)),r3=t2.bars.map((t3=>t3.centerY)),n2=g({labels:i3,centers:r3,orientation:"left",mode:this.xLabelMode,rotationDeg:this.xLabelRotation,maxCount:this.xLabelMaxCount});return t2.bars.map(((t3,i4)=>n2.visible[i4]?e("div",{class:"sy-tornado-chart__cat-label",style:{position:"absolute",left:`${s2.x}px`,top:t3.centerY-8+"px",width:o2.x-s2.x-6+"px",textAlign:"right",font:"400 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",...n2.rotationDeg>0?{transform:`rotate(${n2.rotationDeg}deg)`,transformOrigin:"right center"}:{}}},t3.category):null))})(),e("div",{class:"sy-tornado-chart__axis-line",style:{position:"absolute",left:`${r2}px`,top:`${o2.y}px`,width:"1px",height:`${o2.height}px`,background:"var(--sy-axis-line-color, rgba(17,24,39,0.42))"}}),e("div",{class:"sy-tornado-chart__axis-line",style:{position:"absolute",left:`${o2.x}px`,top:`${o2.y+o2.height}px`,width:`${o2.width}px`,height:"1px",background:"var(--sy-axis-line-color, rgba(17,24,39,0.42))"}}))}renderLegend(t2,i2,s2){const{plot:o2}=t2;return e("div",{class:"sy-tornado-chart__legend",style:{position:"absolute",left:`${o2.x}px`,top:"5px",width:`${o2.width}px`,height:"18px",display:"flex",gap:"18px",alignItems:"center",justifyContent:"center",font:"400 12px system-ui, sans-serif",pointerEvents:"none"}},e("span",{style:{display:"inline-flex",alignItems:"center",gap:"6px"}},e("span",{style:{width:"12px",height:"12px",borderRadius:"2px",background:i2}}),this.seriesName(0)),e("span",{style:{display:"inline-flex",alignItems:"center",gap:"6px"}},e("span",{style:{width:"12px",height:"12px",borderRadius:"2px",background:s2}}),this.seriesName(1)))}async getEngineStatus(){return _({requested:this.engine,onUnavailable:this.unavailable,renderer:"tornado"})}static get watchers(){return{data:[{handleValuesChange:0}],groups:[{handleValuesChange:0}],leftValues:[{handleValuesChange:0}],rightValues:[{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}],color:[{handleVisualChange:0}],leftLabel:[{handleVisualChange:0}],rightLabel:[{handleVisualChange:0}],barPadding:[{handleVisualChange:0}],valueAxisLabel:[{handleVisualChange:0}],gridLines:[{handleVisualChange:0}],chartTitle:[{handleVisualChange:0}],chartSubtitle:[{handleVisualChange:0}],width:[{handleVisualChange:0}],height:[{handleVisualChange:0}],engine:[{handleVisualChange:0}],unavailable:[{handleVisualChange:0}],tooltip:[{handleVisualChange:0}],xLabelMode:[{handleVisualChange:0}],xLabelRotation:[{handleVisualChange:0}],xLabelMaxCount:[{handleVisualChange:0}]}}};function j(t2){return Math.round(100*t2)/100}function R(t2){return Number.isInteger(t2)?String(t2):t2.toFixed(2)}I.style=".sc-sy-tornado-chart-h{display:inline-block;position:relative}.sy-tornado-chart__surface.sc-sy-tornado-chart{display:block}.sy-tornado-chart__bar.sc-sy-tornado-chart{transition:opacity 120ms ease}.sy-tornado-chart__tooltip.sc-sy-tornado-chart,.sy-tornado-chart__legend.sc-sy-tornado-chart{pointer-events:none}.sy-tornado-chart__sr-only.sc-sy-tornado-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-tornado-chart__watermark.sc-sy-tornado-chart{position:absolute;right:6px;bottom:4px;font:400 10px system-ui,sans-serif;color:#b45309;pointer-events:none;opacity:.75}";export{I as sy_tornado_chart};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,g as e,h as s,H as n}from"./p-DChj4qx2.js";import{s as o}from"./p-DO6vGxJP.js";import{p as r,c as a}from"./p-C1RaN8eG.js";import{n as h,b as l}from"./p-B6K1arcd.js";import{a as c}from"./p-DQ1RB1XB.js";import{C as d,c as u}from"./p-nxlSIIWU.js";import{c as p}from"./p-BwM4aW0R.js";import{a as m,d as y}from"./p-BVmDGX0a.js";import{h as f}from"./p-_AFoWkvk.js";import{Z as g,r as b}from"./p-DXJS1EXW.js";import{v as x,t as v,f as w,a as S,b as P}from"./p-WQSantHg.js";import{d as C,c as k}from"./p-BwtrZuf8.js";import{c as A,t as _}from"./p-C0f63Npv.js";import{s as M}from"./p-Yjd8T1ZK.js";import"./p-HAy9hTj2.js";import"./p-DUELYDa7.js";import"./p-AzDRbG7D.js";import"./p-D6sPnRDQ.js";function $(t2,i2){if("number"==typeof t2||"bigint"==typeof t2){const e2="bigint"==typeof t2?Number(t2):t2;return{name:String(i2),value:I(e2),color:void 0,symbol:void 0,visible:true,id:String(i2),label:void 0}}if(t2&&"object"==typeof t2){const e2="bigint"==typeof t2.value?Number(t2.value):t2.value;return{name:"string"==typeof t2.name&&t2.name.length>0?t2.name:String(i2),value:I(e2),color:"string"==typeof t2.color?t2.color:void 0,symbol:"square"===t2.symbol||"diamond"===t2.symbol||"circle"===t2.symbol?t2.symbol:void 0,visible:false!==t2.visible,id:null!=t2.id?String(t2.id):"string"==typeof t2.name&&t2.name.length>0?t2.name:String(i2),label:"string"==typeof t2.label&&t2.label.length>0?t2.label:void 0}}return{name:String(i2),value:0,color:void 0,symbol:void 0,visible:false,id:String(i2),label:void 0}}function I(t2){return!Number.isFinite(t2)||t2<=0?0:Math.floor(t2)}const T={show:true,openMode:"single",trigger:"hover",offset:8,interactive:false,hideOnLeave:true,connector:{show:false},draggable:false};function L(t2){return Boolean(t2)&&"object"==typeof t2&&!Array.isArray(t2)}function z(t2,i2,e2,s2){if("square"===t2){const t3=.9*s2;return`M ${i2-t3} ${e2-t3} H ${i2+t3} V ${e2+t3} H ${i2-t3} Z`}return"diamond"===t2?`M ${i2} ${e2-s2} L ${i2+s2} ${e2} L ${i2} ${e2+s2} L ${i2-s2} ${e2} Z`:""}function V(t2,i2){return i2?`${t2} ${i2}`:t2}function D(t2,i2){return"number"!=typeof i2?i2:new Set(["lineHeight","opacity","zIndex","fontWeight","flex","flexGrow","flexShrink","order"]).has(t2)?String(i2):`${i2}px`}let j=0;const R=class{constructor(e2){t(this,e2),this.rendered=i(this,"rendered",7),this.pointClick=i(this,"pointClick",7),this.pointHover=i(this,"pointHover",7),this.pointContextMenu=i(this,"pointContextMenu",7),this.legendItemClick=i(this,"legendItemClick",7),this.pointToggled=i(this,"pointToggled",7),this.appended=i(this,"appended",7),this.windowSlid=i(this,"windowSlid",7),this.chartAnimationStart=i(this,"chartAnimationStart",7),this.chartAnimationEnd=i(this,"chartAnimationEnd",7),this.chartAnimationInterrupted=i(this,"chartAnimationInterrupted",7),this.tooltipShown=i(this,"tooltipShow",7),this.tooltipHide=i(this,"tooltipHide",7),this.tooltipAction=i(this,"tooltipAction",7),this.zoomChange=i(this,"zoomChange",7)}get host(){return e(this)}values=[];width=520;height=400;brandLogo;brandPosition="bottom-right";palette="tableau10";colors;symbol="circle";rows;itemPadding=.1;startAngle=-100;endAngle=100;innerSize;size;centerX;centerY;minSize=80;centerText;centerSubtext;chartTitle;chartSubtitle;legend=false;legendPosition="bottom";legendItems;legendFloatAlign="end";legendFloatVerticalAlign="top";legendDraggable=false;tooltipShow=true;tooltipFormat;tooltip;enableMouseTracking=true;zoom;engine="auto";unavailable="fallback";streamSource;streamWindow;streamMax;animated=false;animationDuration=600;animationEasing="ease-out";animationType;rendered;pointClick;pointHover;pointContextMenu;legendItemClick;pointToggled;appended;windowSlid;chartAnimationStart;chartAnimationEnd;chartAnimationInterrupted;tooltipShown;tooltipHide;tooltipAction;zoomChange;activeTier="standard";fallbackReason;legendDisabled=new Set;legendFloatPosition;legendDrag;suppressNextLegendClick=false;itemTooltip=null;itemTooltips=[];displayValues=[];hoverPartyIndex=null;focusedPartyIndex=null;srAnnouncement="";animationTick=0;zoomState=null;zoomSelection=null;initialRevealState;morphState;animationFrameHandle=null;stopAnimationLoopImpl;suppressNextValuesAnimation=false;internalStreamSource;internalStreamCapacity;boundStreamSource;streamUnsubscribe;streamLicense=new d({host:()=>this.host,input:()=>u(this,"plain-fallback"),active:()=>void 0!==this.boundStreamSource,onChange:()=>this.handleStreamLicenseChange()});internalStreamValues;lastRenderResult={seats:0,parties:0,renderMs:0};pendingRenderedEmit=false;tooltipDrag;tooltipElement;nextTooltipId=1;draggableTooltipPositions=new Map;pointerFocusing=false;instanceId=++j;zoomInteraction=new g(this.zoomInteractionHost());componentWillLoad(){this.displayValues=this.values}hasLoaded=false;detached=false;connectedCallback(){this.detached=false,this.streamLicense.connect(),this.hasLoaded&&(this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false}),this.bindStreamSource())}componentDidLoad(){this.hasLoaded=true,this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false}),this.bindStreamSource(),this.shouldRunInitialAnimation(null)&&this.startInitialReveal()}componentDidRender(){this.detached||(this.pendingRenderedEmit&&(this.pendingRenderedEmit=false,this.rendered.emit({...this.lastRenderResult,tier:this.activeTier})),this.measureItemTooltipBox())}disconnectedCallback(){this.detached=true,this.streamLicense.disconnect(),this.host.removeEventListener("wheel",this.handleZoomWheel),this.zoomInteraction.dispose(),this.zoomSelection=null,this.streamUnsubscribe?.(),this.streamUnsubscribe=void 0,this.boundStreamSource=void 0,this.cancelInitialReveal(false),this.cancelMorph(false),this.stopAnimationLoop(),this.tooltipDrag=void 0}handleValuesChange(t2,i2){if(this.suppressNextValuesAnimation)return this.suppressNextValuesAnimation=false,void(this.morphState||(this.displayValues=t2));this.routeValuesAnimation(i2??[],t2)}handleStreamSourceChange(){this.bindStreamSource()}handleAnimationChange(){this.cancelMorph(true),this.cancelInitialReveal(true),this.shouldRunInitialAnimation(null)&&this.startInitialReveal()}handleVisualPropsChange(){this.animationTick++}handleLegendAnchorChange(){this.legendFloatPosition=void 0,this.legendDrag=void 0}async redraw(){const t2=this.now(),i2=this.settledRenderLayout(),e2={seats:i2.seats.length,parties:i2.parties.length,renderMs:this.now()-t2};return this.lastRenderResult=e2,this.animationTick++,e2}async getActiveTier(){return this.activeTier}async addParty(t2,i2){const e2=Array.isArray(this.values)?[...this.values]:[],s2="number"==typeof i2?.insertAt&&i2.insertAt>=0&&i2.insertAt<=e2.length?Math.floor(i2.insertAt):e2.length;return e2.splice(s2,0,t2),this.values=e2,s2}async removeParty(t2){if(!Array.isArray(this.values))return false;const i2=this.resolvePartyIndex(t2);if(i2<0)return false;const e2=[...this.values];return e2.splice(i2,1),this.values=e2,true}async updateParty(t2,i2){if(!Array.isArray(this.values))return false;const e2=this.resolvePartyIndex(t2);if(e2<0)return false;const s2=[...this.values],n2=s2[e2];return s2[e2]="number"==typeof n2?{value:n2,...i2}:{...n2,...i2},this.values=s2,true}async setPartySeats(t2,i2){return this.updateParty(t2,{value:i2})}async appendPoint(t2){await this.streamLicense.run("appendPoint",(async()=>{const i2=this.activeStreamSource();i2?i2.push(t2):(await this.addParty(t2),this.appended.emit({count:1}))}))}async appendBatch(t2){Array.isArray(t2)&&0!==t2.length&&await this.streamLicense.run("appendBatch",(()=>{const i2=this.activeStreamSource();if(i2)return void i2.pushBatch(t2);const e2=Array.isArray(this.values)?[...this.values]:[];for(const i3 of t2)e2.push(i3);this.values=e2,this.appended.emit({count:t2.length})}))}async shift(t2=1){await this.streamLicense.run("shift",(()=>{const i2=this.activeStreamSource();if(i2)return void i2.shift(t2);if(!Array.isArray(this.values))return;const e2=Math.max(0,Math.min(Math.floor(t2),this.values.length));if(0===e2)return;const s2=[...this.values];s2.splice(0,e2),this.values=s2,this.windowSlid.emit({dropped:e2})}))}async replace(t2){await this.streamLicense.run("replace",(()=>{const i2=this.activeStreamSource();i2?i2.replace(t2):this.values=Array.isArray(t2)?[...t2]:[]}))}async getStreamSource(){return this.streamLicense.run("getStreamSource",(()=>this.activeStreamSource()))}async setAnimation(t2){t2&&(Number.isFinite(t2.duration)&&(this.animationDuration=t2.duration),t2.easing&&(this.animationEasing=t2.easing),t2.type&&(this.animationType=t2.type),"boolean"==typeof t2.enabled&&(t2.enabled||!this.initialRevealState&&!this.morphState||this.chartAnimationInterrupted.emit(),this.animated=t2.enabled,t2.enabled||(this.cancelMorph(false),this.cancelInitialReveal(false),this.stopAnimationLoop(),this.animationTick++)))}async pauseAnimation(){const t2=this.now();for(const i2 of[this.initialRevealState,this.morphState])i2&&!i2.paused&&(i2.pausedElapsed=t2-i2.startedAt,i2.paused=true);this.stopAnimationLoop()}async resumeAnimation(){const t2=this.now();for(const i2 of[this.initialRevealState,this.morphState])i2&&i2.paused&&(i2.startedAt=t2-i2.pausedElapsed,i2.paused=false);(this.initialRevealState||this.morphState)&&this.startAnimationLoop()}async replayAnimation(){this.animated&&(this.cancelMorph(false),this.cancelInitialReveal(false),this.startInitialReveal())}async hitTestSeat(t2,i2){const e2=this.settledRenderLayout(),s2=this.seatAtHostPoint(t2,i2,e2);if(!s2)return null;const n2=e2.parties[s2.partyIndex];return{partyIndex:s2.partyIndex,partyId:n2?.id??String(s2.partyIndex),seatIndex:s2.seatIndex,seatInParty:s2.seatInParty}}async showTooltipAtParty(t2){const i2=this.resolvePartyIndex(t2),e2=this.settledRenderLayout(),s2=e2.parties.find((t3=>t3.index===i2));if(!s2||!s2.visible||s2.value<=0)return null;const n2=this.effectiveTooltipSpec();return n2.show?(this.showTooltipForParty(s2,this.partyAnchorPoint(s2,e2),n2,"multiple"===n2.openMode),this.buildPointEventDetail(s2,e2)):null}async hideTooltip(){this.clearTooltips()}async zoomTo(t2){return this.zoomInteraction.zoomTo(t2)}async zoomBy(t2,i2=.5){return this.zoomInteraction.zoomBy(t2,i2)}async panBy(t2){return this.zoomInteraction.panBy(t2)}async resetZoom(){return this.zoomInteraction.reset()}async getZoom(){return this.zoomState}async getZoomExtent(t2){return this.zoomInteraction.extent(t2)}zoomSpec(){return b(this.zoom)}zoomRect(){return this.plotRectFromLegend(this.legend?this.buildLegendLayout():null)}zoomTransform(){return x(this.zoomRect(),this.zoomState)}toHostPoint(t2,i2){return v(this.zoomTransform(),t2,i2)}contentPointAt(t2,i2){const e2=this.zoomRect(),s2=x(e2,this.zoomState);return s2.zoomed&&(t2<e2.x||t2>e2.x+e2.width||i2<e2.y||i2>e2.y+e2.height)?null:w(s2,t2,i2)}seatAtHostPoint(t2,i2,e2){const s2=this.contentPointAt(t2,i2);return s2?(function(t3,i3,e3,s3=1.4){let n2=null,o2=1/0;for(const s4 of e3){const e4=t3-s4.x,r2=i3-s4.y,a2=Math.sqrt(e4*e4+r2*r2);a2<o2&&(o2=a2,n2=s4)}return n2&&o2<=n2.r*Math.max(1,s3)?n2:null})(s2.x,s2.y,e2.seats):null}zoomInteractionHost(){return{frame:()=>S(this.zoomRect(),this.zoomState),spec:()=>this.zoomSpec(),state:()=>this.zoomState,apply:t2=>{this.zoomState=t2,this.zoomStandDown()},emit:t2=>{this.zoomChange.emit(t2)},selection:t2=>{this.zoomSelection=t2},standDown:()=>this.zoomStandDown()}}zoomStandDown(){this.clearHover(),this.clearTooltips()}zoomPointerInput(t2){const i2=this.pointerCss(t2);return{pointerId:t2.pointerId,x:i2.x,y:i2.y,button:t2.button,shiftKey:t2.shiftKey,altKey:t2.altKey,pointerType:t2.pointerType}}zoomWheelInput(t2){const i2=this.pointerCss(t2);return{x:i2.x,y:i2.y,deltaX:t2.deltaX,deltaY:t2.deltaY,deltaMode:t2.deltaMode,ctrlKey:t2.ctrlKey,metaKey:t2.metaKey,shiftKey:t2.shiftKey}}handleZoomWheel=t2=>{this.zoomInteraction.wheel(this.zoomWheelInput(t2))&&t2.preventDefault()};handleZoomPointerDown=t2=>{this.zoomInteraction.pointerDown(this.zoomPointerInput(t2))&&t2.currentTarget?.setPointerCapture?.(t2.pointerId)};handleZoomPointerMove(t2){return this.zoomInteraction.pointerMove(this.zoomPointerInput(t2))}handleZoomPointerUp=t2=>{const i2=this.zoomInteraction.isPending;this.zoomInteraction.pointerUp(this.zoomPointerInput(t2)),i2&&t2.currentTarget?.releasePointerCapture?.(t2.pointerId)};handleZoomPointerCancel=()=>{this.zoomInteraction.pointerCancel()};consumeSuppressedPlotClick(){return this.zoomInteraction.consumeSuppressedClick()}handleZoomKeyDown(t2){return!!this.zoomInteraction.wantsKey(t2)&&!!this.zoomInteraction.keyDown(t2)&&(t2.preventDefault(),t2.stopPropagation(),true)}renderZoomOverlay(t2){const i2=this.zoomSpec(),e2=this.zoomSelection,n2=null!==this.zoomState;return e2||n2&&i2.resetButton?s("div",{class:"sy-item-chart__zoom-overlay",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",zIndex:"4"}},e2&&s("div",{class:"sy-item-chart__zoom-selection","aria-hidden":"true",style:{position:"absolute",left:`${e2.x}px`,top:`${e2.y}px`,width:`${e2.width}px`,height:`${e2.height}px`,boxSizing:"border-box",background:"var(--sy-zoom-selection-bg, rgba(37, 99, 235, 0.12))",border:"1px solid var(--sy-zoom-selection-border, rgba(37, 99, 235, 0.6))"}}),n2&&i2.resetButton&&s("button",{type:"button",class:"sy-item-chart__zoom-reset","aria-label":"Reset zoom",onClick:()=>{this.resetZoom()},style:{...g.resetButtonStyle,position:"absolute",left:t2.x+t2.width-8+"px",top:`${t2.y+8}px`,transform:"translateX(-100%)",pointerEvents:"auto",font:"500 11px system-ui, sans-serif",padding:"3px 8px",borderRadius:"4px",border:"1px solid var(--sy-zoom-reset-border, #9ca3af)",background:"var(--sy-zoom-reset-bg, #ffffff)",color:"var(--sy-axis-color, #111827)",cursor:"pointer"}},"Reset zoom")):null}resolvePartyIndex(t2){if("number"==typeof t2&&Number.isFinite(t2)){const i2=Math.floor(t2);return Array.isArray(this.values)&&i2>=0&&i2<this.values.length?i2:-1}if(!Array.isArray(this.values))return-1;for(let i2=0;i2<this.values.length;i2++){const e2=this.values[i2];if("object"==typeof e2&&null!==e2){if(void 0!==e2.id&&String(e2.id)===t2)return i2;if(e2.name===t2)return i2}}return-1}activeStreamSource(){const t2=this.streamLicense.route();if("plain"===t2&&this.dropInternalStreamSource(),"stream"===t2)return this.streamSource?this.streamSource:this.ensureInternalStreamSource()}ensureInternalStreamSource(){if(!Number.isFinite(this.streamMax))return void this.dropInternalStreamSource();const t2=Math.max(1,Math.floor(this.streamMax));return this.internalStreamSource&&this.internalStreamCapacity===t2||(this.internalStreamCapacity=t2,this.internalStreamSource=(function(){const t3=new Error("Dedicated streaming requires @syidax/advanced-pro");throw t3.code="module-missing",t3.feature="chart.streaming",t3})(),this.internalStreamValues=this.values),this.internalStreamSource}dropInternalStreamSource(){this.internalStreamSource=void 0,this.internalStreamCapacity=void 0,this.internalStreamValues=void 0}bindStreamSource(){if(this.detached)return;const t2=this.streamLicense.route();"plain"===t2&&this.dropInternalStreamSource();let i2="stream"===t2?this.streamSource??this.ensureInternalStreamSource():void 0;i2!==this.boundStreamSource&&(void 0!==i2&&i2===this.internalStreamSource&&this.values!==this.internalStreamValues&&(this.dropInternalStreamSource(),i2=this.ensureInternalStreamSource()),this.streamUnsubscribe?.(),this.streamUnsubscribe=void 0,this.boundStreamSource=void 0,i2&&(this.boundStreamSource=i2,this.streamUnsubscribe=i2.subscribe((t3=>this.handleStreamEvent(t3))),this.syncFromStreamSource()))}syncFromStreamSource(){if(!this.boundStreamSource)return;const t2=this.boundStreamSource.snapshot(this.streamWindow);this.suppressNextValuesAnimation=true,this.values=t2,this.noteStreamValues(),this.displayValues=t2}handleStreamLicenseChange(){this.bindStreamSource()}noteStreamValues(){void 0!==this.boundStreamSource&&this.boundStreamSource===this.internalStreamSource&&(this.internalStreamValues=this.values)}handleStreamEvent(t2){if(!this.boundStreamSource)return;const i2=this.boundStreamSource.snapshot(this.streamWindow),e2=this.currentSeatVisuals(),s2=this.displayValues;return this.suppressNextValuesAnimation=true,this.values=i2,this.noteStreamValues(),"push"===t2.type||"pushBatch"===t2.type?this.appended.emit({count:t2.count}):"shift"===t2.type&&this.windowSlid.emit({dropped:t2.count}),this.shouldRunInitialAnimation(s2)?(this.cancelMorph(false),this.displayValues=i2,this.startInitialReveal(),void this.animationTick++):this.shouldAnimateUpdates(s2)?this.sameItemValues(s2,i2)?(this.displayValues=i2,void this.animationTick++):(this.displayValues=i2,void this.startSeatMorph(e2)):(this.cancelMorph(false),this.displayValues=i2,void this.animationTick++)}sameItemValues(t2,i2){const e2=Array.isArray(t2)?t2:[],s2=Array.isArray(i2)?i2:[];if(e2.length!==s2.length)return false;for(let t3=0;t3<e2.length;t3++){const i3=$(e2[t3],t3),n2=$(s2[t3],t3);if(i3.id!==n2.id||i3.value!==n2.value)return false}return true}shouldAnimateUpdates(t2){return this.animated&&"update"===this.resolveAnimationType(t2)}shouldRunInitialAnimation(t2){return this.animated&&"initial"===this.resolveAnimationType(t2)}resolveAnimationType(t2){return this.animationType?this.animationType:Array.isArray(t2)&&t2.length>0?"update":"initial"}routeValuesAnimation(t2,i2){const e2=this.currentSeatVisuals();this.displayValues=i2,this.shouldRunInitialAnimation(t2)?(this.cancelMorph(true),this.startInitialReveal()):this.shouldAnimateUpdates(t2)&&!this.sameItemValues(t2,i2)?this.startSeatMorph(e2):this.animationTick++}startInitialReveal(){this.cancelInitialReveal(false);const t2=Math.max(0,this.animationDuration);t2<=0||(this.initialRevealState={startedAt:this.now(),duration:t2,paused:false,pausedElapsed:0},this.chartAnimationStart.emit(),this.startAnimationLoop())}cancelInitialReveal(t2){this.initialRevealState&&(t2&&this.chartAnimationInterrupted.emit(),this.initialRevealState=void 0)}startSeatMorph(t2){this.cancelMorph(true);const i2=Math.max(0,this.animationDuration);i2<=0?this.animationTick++:(this.morphState={prevVisuals:t2,startedAt:this.now(),duration:i2,paused:false,pausedElapsed:0},this.chartAnimationStart.emit(),this.startAnimationLoop())}cancelMorph(t2){this.morphState&&(t2&&this.chartAnimationInterrupted.emit(),this.morphState=void 0)}now(){return"undefined"!=typeof performance?performance.now():0}startAnimationLoop(){if(null!==this.animationFrameHandle)return;const t2="function"==typeof requestAnimationFrame?requestAnimationFrame:t3=>setTimeout((()=>t3(this.now())),16),i2="function"==typeof cancelAnimationFrame?cancelAnimationFrame:t3=>clearTimeout(t3),e2=i3=>{this.animationFrameHandle=null;const s2=this.advanceAnimations(i3);this.animationTick++,s2?this.animationFrameHandle=t2(e2):this.chartAnimationEnd.emit()};this.animationFrameHandle=t2(e2),this.stopAnimationLoopImpl=()=>{null!==this.animationFrameHandle&&(i2(this.animationFrameHandle),this.animationFrameHandle=null)}}stopAnimationLoop(){this.stopAnimationLoopImpl?.(),this.animationFrameHandle=null}advanceAnimations(t2){let i2=false;if(this.initialRevealState){const e2=this.initialRevealState;(e2.paused?e2.pausedElapsed:t2-e2.startedAt)>=e2.duration?this.initialRevealState=void 0:e2.paused||(i2=true)}if(this.morphState){const e2=this.morphState;(e2.paused?e2.pausedElapsed:t2-e2.startedAt)>=e2.duration?this.morphState=void 0:e2.paused||(i2=true)}return i2}tweenProgress(t2){const i2=t2.paused?t2.pausedElapsed:this.now()-t2.startedAt,e2=Math.min(1,Math.max(0,i2/Math.max(1,t2.duration)));return c(e2,this.animationEasing)}resolvedPalette(){if(Array.isArray(this.colors)&&this.colors.length>0)return[...this.colors];const t2=k[this.palette]??k.tableau10,i2=Math.max(t2.stops.length,12);return C(t2,i2).map((t3=>`rgb(${t3.r}, ${t3.g}, ${t3.b})`))}titleGutter(){let t2=0;return this.chartTitle&&(t2+=22),this.chartSubtitle&&(t2+=16),t2}toRadians(t2){return Number.isFinite(t2)?t2*Math.PI/180:0}buildLegendItems(){if(Array.isArray(this.legendItems)&&this.legendItems.length>0)return this.legendItems;if(!Array.isArray(this.displayValues))return[];const t2=this.resolvedPalette();return this.displayValues.map(((i2,e2)=>{const s2=$(i2,e2);return{label:s2.label??s2.name,swatchColor:s2.color??t2[e2%Math.max(1,t2.length)]??"#888888",swatchShape:"square",disabled:this.legendDisabled.has(s2.id),id:s2.id,seriesIndex:e2}}))}buildLegendLayout(){const t2=this.buildLegendItems();if(!t2.length)return null;const i2=this.titleGutter(),e2="float"===this.legendPosition,s2=p({outerWidth:this.width,outerHeight:Math.max(1,this.height-i2),items:t2,position:this.legendPosition,direction:e2?void 0:"top"===this.legendPosition||"bottom"===this.legendPosition?"horizontal":"vertical",align:"center",floatAlign:this.legendFloatAlign,floatVerticalAlign:this.legendFloatVerticalAlign,padding:e2?{top:8,right:8,bottom:8,left:8}:{top:4,right:8,bottom:4,left:8},gap:12,swatchSize:10,swatchLabelGap:6,rowGap:4});return this.applyLegendFloatPosition(this.shiftLegendLayout(s2,0,i2,true))}shiftLegendLayout(t2,i2,e2,s2){if(0===i2&&0===e2)return t2;const n2=t3=>({...t3,x:t3.x+i2,y:t3.y+e2});return{...t2,legendRect:t2.legendRect?n2(t2.legendRect):t2.legendRect,itemRects:t2.itemRects.map((t3=>({...n2(t3),swatchRect:n2(t3.swatchRect),labelRect:n2(t3.labelRect)}))),remainingOuter:s2?n2(t2.remainingOuter):t2.remainingOuter}}applyLegendFloatPosition(t2){return"float"===this.legendPosition&&t2.legendRect&&this.legendFloatPosition?this.shiftLegendLayout(t2,this.legendFloatPosition.x-t2.legendRect.x,this.legendFloatPosition.y-t2.legendRect.y,false):t2}plotRectFromLegend(t2){if(!t2?.remainingOuter){const t3=this.titleGutter();return{x:0,y:t3,width:Math.max(1,this.width),height:Math.max(1,this.height-t3)}}return{x:t2.remainingOuter.x,y:t2.remainingOuter.y,width:Math.max(1,t2.remainingOuter.width),height:Math.max(1,t2.remainingOuter.height)}}layoutForDraw(){const t2=this.legend?this.buildLegendLayout():null,i2=this.plotRectFromLegend(t2);return a({plot:i2,startAngle:this.toRadians(this.startAngle),endAngle:this.toRadians(this.endAngle),innerRadiusValue:this.innerSize,size:this.size,centerX:this.centerX,centerY:this.centerY,minSize:this.minSize})}effectiveValues(){return Array.isArray(this.displayValues)&&0!==this.displayValues.length?0===this.legendDisabled.size?this.displayValues:this.displayValues.map(((t2,i2)=>{const e2=$(t2,i2);return this.legendDisabled.has(e2.id)?"number"==typeof t2?{value:t2,name:e2.name,id:e2.id,visible:false}:{...t2,visible:false}:t2})):this.displayValues}settledRenderLayout(){return(function(t2){const i2=(function(t3,i3,e3="circle"){const s3=[];for(let i4=0;i4<t3.length;i4++)s3.push($(t3[i4],i4));let n3=0;for(const t4 of s3)t4.visible&&(n3+=t4.value);const o3=[];let r2=0;for(let t4=0;t4<s3.length;t4++){const a3=s3[t4],h2=a3.visible?a3.value:0;o3.push({index:t4,id:a3.id,name:a3.name,label:a3.label,value:a3.value,percentage:n3>0&&a3.visible?a3.value/n3:0,color:a3.color??i3[t4%Math.max(1,i3.length)]??"#888888",symbol:a3.symbol??e3,visible:a3.visible,firstSeat:r2}),r2+=h2}return o3})(t2.values,t2.palette,t2.symbol??"circle"),e2=(function(t3){let i3=0;for(const e3 of t3)e3.visible&&(i3+=e3.value);return i3})(i2),s2=(function(t3){const{layout:i3}=t3,e3=Number.isFinite(t3.total)?Math.max(0,Math.floor(t3.total)):0;if(0===e3)return{seats:[],rows:0,dotRadius:0};const s3=Math.max(1e-6,i3.totalAngle),n3=Math.max(1,i3.outerRadius-i3.innerRadius),o3=(t4,e4)=>i3.innerRadius+(e4+.5)*n3/t4,a3=(t4,i4)=>{const e4=n3/t4;return Math.max(1,Math.floor(s3*o3(t4,i4)/e4))};let h2;if(Number.isFinite(t3.rows)&&t3.rows>=1)h2=Math.floor(t3.rows);else{h2=60;for(let t4=1;t4<=60;t4++){let i4=0;for(let s4=0;s4<t4&&i4<e3;s4++)i4+=a3(t4,s4);if(i4>=e3){h2=t4;break}}}const l2=[];let c2=0;for(let t4=0;t4<h2;t4++){const i4=o3(h2,t4);l2.push(i4),c2+=i4}const d2=[],u2=[];let p2=0;for(let t4=0;t4<h2;t4++){const i4=e3*l2[t4]/c2,s4=Math.floor(i4);d2.push(s4),p2+=s4,u2.push({ring:t4,frac:i4-s4})}u2.sort(((t4,i4)=>i4.frac-t4.frac||i4.ring-t4.ring));for(let t4=0;p2<e3;t4=(t4+1)%u2.length)d2[u2[t4].ring]++,p2++;const m2=n3/h2;let y2=1/0;for(let t4=0;t4<h2;t4++){if(0===d2[t4])continue;const i4=s3/d2[t4]*o3(h2,t4);i4<y2&&(y2=i4)}Number.isFinite(y2)||(y2=m2);const f2=Math.min(.9,Math.max(0,t3.itemPadding??.1)),g2=Math.max(.5,Math.min(m2,y2)/2*(1-f2)),b2=[];for(let t4=0;t4<h2;t4++){const e4=d2[t4];if(0===e4)continue;const n4=o3(h2,t4),a4=s3/e4;for(let s4=0;s4<e4;s4++){const e5=i3.startAngle+(s4+.5)*a4,o4=r(i3.cx,i3.cy,n4,e5);b2.push({x:o4.x,y:o4.y,r:g2,angle:e5,row:t4})}}return b2.sort(((t4,i4)=>t4.angle-i4.angle||t4.row-i4.row)),{seats:b2.map(((t4,i4)=>({...t4,seatIndex:i4}))),rows:h2,dotRadius:g2}})({total:e2,layout:t2.layout,rows:t2.rows,itemPadding:t2.itemPadding}),n2=(function(t3,i3){const e3=[];let s3=0;for(const n3 of t3)if(n3.visible&&!(n3.value<=0))for(let t4=0;t4<n3.value&&s3<i3.seats.length;t4++,s3++)e3.push({...i3.seats[s3],partyIndex:n3.index,seatInParty:t4});return e3})(i2,s2),o2=new Map(i2.map((t3=>[t3.index,t3]))),a2=n2.map((t3=>{const i3=o2.get(t3.partyIndex);return{key:`${i3.id}:${t3.seatInParty}`,seat:t3,party:i3,cx:t3.x,cy:t3.y,r:t3.r,color:i3.color,symbol:i3.symbol}}));return{parties:i2,seats:n2,seatLayout:s2,visuals:a2,layout:t2.layout,total:e2}})({values:this.effectiveValues(),layout:this.layoutForDraw(),palette:this.resolvedPalette(),rows:this.rows,itemPadding:this.itemPadding,symbol:this.symbol})}currentSeatVisuals(){const t2=this.settledRenderLayout();if(!this.morphState)return t2.visuals;const i2=this.tweenProgress(this.morphState);return this.composeMorphSeats(this.morphState.prevVisuals,t2.visuals,i2).map((i3=>({key:i3.key.startsWith("ghost:")?i3.key.slice(6):i3.key,seat:{seatIndex:i3.seatIndex,partyIndex:i3.partyIndex,seatInParty:0,x:i3.cx,y:i3.cy,r:i3.r,angle:0,row:0},party:t2.parties[i3.partyIndex]??t2.parties[0],cx:i3.cx,cy:i3.cy,r:i3.r,color:i3.color,symbol:i3.symbol})))}composeMorphSeats(t2,i2,e2){const s2=[],n2=Math.min(t2.length,i2.length);for(let o2=0;o2<n2;o2++){const n3=t2[o2],r2=i2[o2];s2.push({key:r2.key,cx:n3.cx+(r2.cx-n3.cx)*e2,cy:n3.cy+(r2.cy-n3.cy)*e2,r:n3.r+(r2.r-n3.r)*e2,color:r2.color,symbol:r2.symbol,partyIndex:r2.seat.partyIndex,seatIndex:r2.seat.seatIndex})}for(let t3=n2;t3<i2.length;t3++){const n3=i2[t3];s2.push({key:n3.key,cx:n3.cx,cy:n3.cy,r:n3.r*e2,color:n3.color,symbol:n3.symbol,partyIndex:n3.seat.partyIndex,seatIndex:n3.seat.seatIndex})}for(let i3=n2;i3<t2.length;i3++){const n3=t2[i3];s2.push({key:`ghost:${n3.key}`,cx:n3.cx,cy:n3.cy,r:n3.r*(1-e2),color:n3.color,symbol:n3.symbol,partyIndex:n3.seat.partyIndex,seatIndex:n3.seat.seatIndex})}return s2}revealScaleFor(t2,i2,e2,s2){const n2=i2+e2*s2,o2=Math.max(1e-6,.05*e2);return Math.min(1,Math.max(0,(n2-t2)/o2))}buildPointEventDetail(t2,i2,e2){const s2=e2?this.toHostPoint(e2.x,e2.y):this.partyAnchorPoint(t2,i2);return{index:t2.index,id:t2.id,name:t2.name,label:t2.label,value:t2.value,percentage:t2.percentage,color:t2.color,seatIndex:e2?.seatIndex,seatInParty:e2?.seatInParty,cssX:s2.x,cssY:s2.y}}partyAnchorPoint(t2,i2){const e2=i2.seats.filter((i3=>i3.partyIndex===t2.index)),s2=this.zoomRect(),n2=x(s2,this.zoomState);if(0===e2.length)return v(n2,i2.layout.cx,i2.layout.cy);const o2=Math.floor(e2.length/2),r2=v(n2,e2[o2].x,e2[o2].y);if(!n2.zoomed)return r2;const a2=t3=>t3.x>=s2.x&&t3.x<=s2.x+s2.width&&t3.y>=s2.y&&t3.y<=s2.y+s2.height;if(a2(r2))return r2;for(let t3=1;t3<e2.length;t3++)for(const i3 of[e2[o2-t3],e2[o2+t3]]){if(!i3)continue;const t4=v(n2,i3.x,i3.y);if(a2(t4))return t4}return r2}navigableParties(t2=this.settledRenderLayout()){return t2.parties.filter((t3=>t3.visible&&t3.value>0))}partyAriaLabel(t2){const i2=Math.round(1e3*t2.percentage)/10;return`${t2.name}${t2.label?` (${t2.label})`:""}: ${t2.value} ${1===t2.value?"seat":"seats"} (${i2}%)`}accessibleSummary(t2){const i2=this.chartTitle?`${this.chartTitle}. `:"",e2=this.navigableParties(t2).length;return`${i2}Item chart, ${t2.total} ${1===t2.total?"seat":"seats"} across ${e2} ${1===e2?"party":"parties"}.`}announceFocusedParty(t2){this.focusedPartyIndex=t2.index,this.srAnnouncement=this.partyAriaLabel(t2),this.enableMouseTracking&&this.pointHover.emit(this.buildPointEventDetail(t2,this.settledRenderLayout()))}moveFocus(t2){const i2=this.navigableParties();if(0===i2.length)return;let e2=i2.findIndex((t3=>t3.index===this.focusedPartyIndex));e2<0&&(e2=t2>0?-1:0),e2=(e2+t2+i2.length)%i2.length,this.announceFocusedParty(i2[e2])}onChartPointerDown=()=>{this.pointerFocusing=true,setTimeout((()=>{this.pointerFocusing=false}),0)};onChartFocus=()=>{if(this.pointerFocusing)return;if(null!==this.focusedPartyIndex)return;const t2=this.navigableParties();t2.length>0&&this.announceFocusedParty(t2[0])};onChartBlur=()=>{this.focusedPartyIndex=null};onChartKeyDown=t2=>{if(!this.handleZoomKeyDown(t2))switch(t2.key){case"ArrowRight":case"ArrowDown":t2.preventDefault(),this.moveFocus(1);break;case"ArrowLeft":case"ArrowUp":t2.preventDefault(),this.moveFocus(-1);break;case"Home":{t2.preventDefault();const i2=this.navigableParties()[0];i2&&this.announceFocusedParty(i2);break}case"End":{t2.preventDefault();const i2=this.navigableParties();i2.length>0&&this.announceFocusedParty(i2[i2.length-1]);break}case"Enter":case" ":{if(null===this.focusedPartyIndex)return;t2.preventDefault();const i2=this.settledRenderLayout(),e2=i2.parties.find((t3=>t3.index===this.focusedPartyIndex));if(!e2)return;this.pointClick.emit(this.buildPointEventDetail(e2,i2));const s2=this.effectiveTooltipSpec();s2.show&&this.showTooltipForParty(e2,this.partyAnchorPoint(e2,i2),s2,"multiple"===s2.openMode);break}case"Escape":this.focusedPartyIndex=null,this.clearHover()}};pointerCss(t2){const i2=this.host.getBoundingClientRect();return{x:t2.clientX-i2.left,y:t2.clientY-i2.top}}onChartMouseMove=t2=>{if(this.handleZoomPointerMove(t2))return;if(!this.enableMouseTracking)return;const{x:i2,y:e2}=this.pointerCss(t2),s2=this.settledRenderLayout(),n2=this.seatAtHostPoint(i2,e2,s2),o2=n2?n2.partyIndex:null;if(o2===this.hoverPartyIndex)return;if(this.hoverPartyIndex=o2,null===o2){this.pointHover.emit(null);const t3=this.effectiveTooltipSpec();return void(this.shouldHideTooltipOnLeave(t3)&&this.clearSingleTooltip())}const r2=s2.parties[o2];if(!r2)return;this.pointHover.emit(this.buildPointEventDetail(r2,s2,n2??void 0));const a2=this.effectiveTooltipSpec();a2.show&&"click"!==a2.trigger&&this.showTooltipForParty(r2,this.partyAnchorPoint(r2,s2),a2,false,n2??void 0)};onChartClick=t2=>{if(this.consumeSuppressedPlotClick())return;if(!this.enableMouseTracking)return void(this.hasVisibleTooltips()&&this.clearTooltips());const{x:i2,y:e2}=this.pointerCss(t2),s2=this.settledRenderLayout(),n2=this.seatAtHostPoint(i2,e2,s2);if(!n2)return void(this.hasVisibleTooltips()&&this.clearTooltips());const o2=s2.parties[n2.partyIndex];if(!o2)return;this.pointClick.emit(this.buildPointEventDetail(o2,s2,n2));const r2=this.effectiveTooltipSpec();!r2.show||"click"!==r2.trigger&&"hover-click"!==r2.trigger||this.showTooltipForParty(o2,this.partyAnchorPoint(o2,s2),r2,true,n2)};onChartLeave=()=>{this.clearHover()};onPointContextMenu=t2=>{if(!this.enableMouseTracking)return;const{x:i2,y:e2}=this.pointerCss(t2),s2=this.settledRenderLayout(),n2=this.seatAtHostPoint(i2,e2,s2);if(!n2)return;const o2=s2.parties[n2.partyIndex];o2&&(t2.preventDefault(),t2.stopPropagation(),this.pointContextMenu.emit(l(t2,this.host,"item",this.buildPointEventDetail(o2,s2,n2),{index:0,id:"item",name:this.chartTitle??"Item"})))};clearHover(){const t2=null!==this.hoverPartyIndex;if(!t2&&!this.hasVisibleTooltips())return;this.hoverPartyIndex=null,t2&&this.pointHover.emit(null);const i2=this.effectiveTooltipSpec();this.shouldHideTooltipOnLeave(i2)&&this.clearSingleTooltip()}onLegendItemClick(t2,i2,e2){const s2=new Set(this.legendDisabled),n2=!s2.has(i2);n2?s2.add(i2):s2.delete(i2),this.legendDisabled=s2,this.legendItemClick.emit({index:t2,partyId:i2,label:e2,disabled:n2}),this.pointToggled.emit({index:t2,seriesId:i2,disabled:n2}),this.animationTick++}onLegendKeyDown=(t2,i2,e2,s2)=>{"Enter"!==t2.key&&" "!==t2.key||(t2.preventDefault(),this.onLegendItemClick(i2,e2,s2))};onLegendPointerClick(t2,i2,e2){this.suppressNextLegendClick?this.suppressNextLegendClick=false:this.onLegendItemClick(t2,i2,e2)}canDragLegend(t2){return this.legendDraggable&&"float"===this.legendPosition&&!!t2.legendRect}legendContainerStyle(t2){const i2=t2.legendRect,e2={position:"absolute",left:`${i2.x}px`,top:`${i2.y}px`,width:`${i2.width}px`,height:`${i2.height}px`,boxSizing:"border-box",zIndex:"3"};return"float"===this.legendPosition&&t2.floatBoxStyle&&(e2.background=t2.floatBoxStyle.background,e2.borderStyle="solid",e2.borderColor=t2.floatBoxStyle.borderColor,e2.borderWidth=`${t2.floatBoxStyle.borderWidth}px`,e2.borderRadius=`${t2.floatBoxStyle.borderRadius}px`,e2.boxShadow=t2.floatBoxStyle.boxShadow),this.canDragLegend(t2)&&(e2.cursor=this.legendDrag?"grabbing":"grab",e2.touchAction="none"),e2}handleLegendPointerDown(t2,i2){if(!this.canDragLegend(i2))return;t2.preventDefault();const e2=i2.legendRect;this.legendFloatPosition||(this.legendFloatPosition=m(e2.x,e2.y)),this.legendDrag={pointerId:t2.pointerId,lastX:t2.clientX,lastY:t2.clientY,moved:false},t2.currentTarget?.setPointerCapture?.(t2.pointerId)}handleLegendPointerMove(t2,i2){const e2=this.legendDrag;if(!e2||e2.pointerId!==t2.pointerId||!i2.legendRect||!this.canDragLegend(i2))return;const s2=t2.clientX-e2.lastX,n2=t2.clientY-e2.lastY;0===s2&&0===n2||(this.legendFloatPosition=y(this.legendFloatPosition??m(i2.legendRect.x,i2.legendRect.y),s2,n2,{x:0,y:0,width:this.width,height:this.height},{width:i2.legendRect.width,height:i2.legendRect.height}),e2.lastX=t2.clientX,e2.lastY=t2.clientY,e2.moved=true)}handleLegendPointerUp(t2){const i2=this.legendDrag;i2&&i2.pointerId===t2.pointerId&&(t2.currentTarget?.releasePointerCapture?.(t2.pointerId),this.suppressNextLegendClick=i2.moved,this.legendDrag=void 0)}effectiveTooltipSpec(){return void 0!==this.tooltip?(function(t3){if(null==t3||"auto"===t3||true===t3)return{...T};if("off"===t3||false===t3)return{...T,show:false};if(!L(t3))return{...T};const i2=t3,e2=L(i2.style)?Object.fromEntries(Object.entries(i2.style).filter((([,t4])=>"string"==typeof t4||"number"==typeof t4))):void 0,s2=t4=>"string"==typeof t4||Number.isFinite(t4)&&t4>=0?t4:void 0,n2=(function(t4){if(true===t4)return{show:true};if(null==t4||false===t4||!L(t4))return{show:false};const i3=t4;return{show:true===i3.show,color:"string"==typeof i3.color?i3.color:void 0,width:Number.isFinite(i3.width)&&i3.width>0?i3.width:void 0,dash:Array.isArray(i3.dash)?i3.dash.slice():void 0}})(i2.connector);return{show:false!==i2.show,openMode:(o2=i2.openMode,"multiple"===o2?"multiple":T.openMode),trigger:(t4=>"click"===t4||"hover-click"===t4||"hover"===t4?t4:T.trigger)(i2.trigger),side:i2.side,offset:Number.isFinite(i2.offset)&&i2.offset>=0?i2.offset:T.offset,format:"function"==typeof i2.format?i2.format:void 0,html:"function"==typeof i2.html?i2.html:void 0,className:"string"==typeof i2.className?i2.className:void 0,style:e2,width:s2(i2.width),minWidth:s2(i2.minWidth),maxWidth:s2(i2.maxWidth),padding:s2(i2.padding),interactive:true===i2.interactive,hideOnLeave:false!==i2.hideOnLeave,connector:n2,draggable:true===i2.draggable};var o2})(this.tooltip):(t2={show:this.tooltipShow,format:this.tooltipFormat},{...T,show:t2.show,html:"function"==typeof t2.format?i2=>t2.format(i2):void 0});var t2}defaultTooltipHtml(t2,i2){const e2=Math.round(1e3*t2.percentage)/10,s2=void 0!==i2.seatInParty?` · seat ${i2.seatInParty+1}/${t2.value}`:"";return`<strong>${n2=t2.name,n2.replace(/[&<>"']/g,(t3=>{switch(t3){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case"'":return"'";default:return t3}}))}</strong> · ${t2.value} (${e2}%)${s2}`;var n2}plainTooltipText(t2){const i2=Math.round(1e3*t2.percentage)/10;return`${t2.name} · ${t2.value} (${i2}%)`}buildTooltipContext(t2,i2,e2){return{index:t2.index,id:t2.id,name:t2.name,label:t2.label,value:t2.value,percentage:t2.percentage,seatIndex:e2?.seatIndex,seatInParty:e2?.seatInParty,cssX:i2.x,cssY:i2.y}}hasVisibleTooltips(){return null!==this.itemTooltip||this.itemTooltips.length>0}clearSingleTooltip(){null!==this.itemTooltip&&(this.tooltipDrag=void 0,this.itemTooltip=null,0===this.itemTooltips.length&&this.tooltipHide.emit())}clearTooltips(){this.hasVisibleTooltips()&&(this.tooltipDrag=void 0,this.itemTooltip=null,this.itemTooltips=[],this.tooltipHide.emit())}shouldHideTooltipOnLeave(t2){return!t2.show||!t2.draggable&&"click"!==t2.trigger&&false!==t2.hideOnLeave}showTooltipForParty(t2,i2,e2,s2,n2){const r2=this.buildTooltipContext(t2,i2,n2),a2=e2.side??"top",h2=e2.format?o(e2.format,[t2,r2],(()=>this.plainTooltipText(t2)),"tooltip.format",e2):this.plainTooltipText(t2),l2=e2.html?o(e2.html,[t2,r2],(()=>{}),"tooltip.html",e2):e2.format?void 0:this.defaultTooltipHtml(t2,r2),c2=this.lockedTooltipPositionForParty(t2,e2),d2=c2?.side??a2,u2=c2?this.tooltipAnchorFromPositionLock(c2.lock,d2,c2.box,e2.offset):{cssX:i2.x,cssY:i2.y},p2={id:this.nextTooltipId++,cssX:u2.cssX,cssY:u2.cssY,pointCssX:i2.x,pointCssY:i2.y,box:c2?.box,side:d2,text:h2,html:l2,className:e2.className,style:this.tooltipStyleFromSpec(e2),interactive:e2.interactive,connector:e2.connector,draggable:e2.draggable,offset:e2.offset,positionLock:c2?.lock,context:r2};this.tooltipDrag=void 0,s2&&"multiple"===e2.openMode?(this.itemTooltip=p2,this.itemTooltips=[...this.itemTooltips,p2]):(this.itemTooltips=[],this.itemTooltip=p2);const m2={cssX:u2.cssX,cssY:u2.cssY,anchor:d2,text:h2,html:l2,context:r2};return this.tooltipShown.emit(m2),m2}tooltipStyleFromSpec(t2){const i2={...t2.style??{}};return void 0!==t2.width&&(i2.width=t2.width),void 0!==t2.minWidth&&(i2.minWidth=t2.minWidth),void 0!==t2.maxWidth&&(i2.maxWidth=t2.maxWidth),void 0!==t2.padding&&(i2.padding=t2.padding),Object.keys(i2).length>0?i2:void 0}positionedItemTooltip(t2=this.itemTooltip){if(!t2)return null;if(!t2.box||this.tooltipDrag)return t2;if(t2.positionLock)return t2;const i2=t2.offset??10,e2=A({anchor:{kind:"point",x:t2.pointCssX,y:t2.pointCssY},tooltip:t2.box,viewport:{x:0,y:0,width:this.width,height:this.height},preferredSide:t2.side,offset:i2}),s2=this.tooltipAnchorFromTopLeft(e2.x,e2.y,t2.box,e2.side,i2);return{...t2,cssX:s2.cssX,cssY:s2.cssY,side:e2.side}}tooltipAnchorFromTopLeft(t2,i2,e2,s2,n2){return"top"===s2?{cssX:t2+e2.width/2,cssY:i2+e2.height+n2}:"bottom"===s2?{cssX:t2+e2.width/2,cssY:i2-n2}:"left"===s2?{cssX:t2+e2.width+n2,cssY:i2+e2.height/2}:{cssX:t2-n2,cssY:i2+e2.height/2}}tooltipTopLeftFromAnchor(t2){const i2=t2.box;if(!i2)return;const e2=t2.offset??10;return"top"===t2.side?{x:t2.cssX-i2.width/2,y:t2.cssY-e2-i2.height}:"bottom"===t2.side?{x:t2.cssX-i2.width/2,y:t2.cssY+e2}:"left"===t2.side?{x:t2.cssX-e2-i2.width,y:t2.cssY-i2.height/2}:{x:t2.cssX+e2,y:t2.cssY-i2.height/2}}tooltipTopLeftFromElement(t2){const i2=t2.getBoundingClientRect(),e2=this.host.getBoundingClientRect();if(Number.isFinite(i2.left)&&Number.isFinite(i2.top))return{x:i2.left-e2.left,y:i2.top-e2.top}}tooltipAnchorFromPositionLock(t2,i2,e2,s2){return e2?this.tooltipAnchorFromTopLeft(t2.x,t2.y,e2,i2,s2):{cssX:t2.x,cssY:t2.y}}rememberDraggableTooltipPosition(t2){t2.draggable&&t2.positionLock&&this.draggableTooltipPositions.set(String(t2.context.index),{lock:{...t2.positionLock},side:t2.side,box:t2.box})}lockedTooltipPositionForParty(t2,i2){if(i2.draggable){const i3=this.draggableTooltipPositions.get(String(t2.index));if(!i3)return;return{lock:{...i3.lock},side:i3.side,box:i3.box}}if(!i2.interactive||"multiple"===i2.openMode)return;const e2=this.positionedItemTooltip();if(!e2?.box||e2.context.index!==t2.index)return;const s2=this.tooltipTopLeftFromAnchor(e2);return s2?{lock:s2,side:e2.side,box:e2.box}:void 0}measureItemTooltipBox(){if(this.itemTooltips.length>0)return;const t2=this.itemTooltip,i2=this.tooltipElement;if(!t2||!i2)return;const e2=i2.getBoundingClientRect();if(!Number.isFinite(e2.width)||!Number.isFinite(e2.height))return;const s2=Math.round(100*e2.width)/100,n2=Math.round(100*e2.height)/100;if(t2.box?.width===s2&&t2.box?.height===n2)return;const o2={width:s2,height:n2},r2={...t2,box:o2};t2.positionLock&&Object.assign(r2,this.tooltipAnchorFromPositionLock(t2.positionLock,t2.side,o2,t2.offset??10)),this.rememberDraggableTooltipPosition(r2),this.itemTooltip=r2}handleTooltipActionClick=t2=>{const i2=t2.target,e2=i2?.closest?.("[data-tooltip-action]"),s2=e2?.dataset.tooltipAction,n2=Number(e2?.closest?.("[data-tooltip-id]")?.getAttribute("data-tooltip-id")),o2=this.itemTooltips.find((t3=>t3.id===n2))??this.itemTooltip;s2&&o2&&(t2.stopPropagation(),this.tooltipAction.emit({...o2.context,action:s2,text:o2.text,html:o2.html}))};handleTooltipPointerDown=t2=>{if(!this.itemTooltip?.draggable)return;const i2=t2.target;if(i2?.closest?.("[data-tooltip-action],button,a,input,textarea,select"))return;t2.preventDefault(),t2.stopPropagation();const e2=t2.currentTarget,s2=this.positionedItemTooltip(this.itemTooltip)??this.itemTooltip,n2=this.tooltipTopLeftFromElement(e2)??this.tooltipTopLeftFromAnchor(s2)??{x:s2.cssX,y:s2.cssY},o2=this.itemTooltip.box??s2.box,r2={...this.itemTooltip,cssX:s2.cssX,cssY:s2.cssY,side:s2.side,box:o2,positionLock:n2};Object.assign(r2,this.tooltipAnchorFromPositionLock(n2,r2.side,o2,r2.offset??10)),this.itemTooltip=r2,this.rememberDraggableTooltipPosition(r2),e2.setPointerCapture?.(t2.pointerId),this.tooltipDrag={pointerId:t2.pointerId,startX:t2.clientX,startY:t2.clientY,originX:r2.cssX,originY:r2.cssY,originLockX:n2.x,originLockY:n2.y}};handleTooltipPointerMove=t2=>{const i2=this.tooltipDrag;if(!i2||i2.pointerId!==t2.pointerId||!this.itemTooltip)return;t2.preventDefault(),t2.stopPropagation();const e2={x:i2.originLockX+t2.clientX-i2.startX,y:i2.originLockY+t2.clientY-i2.startY},s2={...this.itemTooltip,positionLock:e2};Object.assign(s2,this.tooltipAnchorFromPositionLock(e2,s2.side,s2.box,s2.offset??10)),this.itemTooltip=s2,this.rememberDraggableTooltipPosition(s2)};handleTooltipPointerUp=t2=>{const i2=this.tooltipDrag;i2&&i2.pointerId===t2.pointerId&&(t2.stopPropagation(),this.itemTooltip&&this.rememberDraggableTooltipPosition(this.itemTooltip),t2.currentTarget.releasePointerCapture?.(t2.pointerId),this.tooltipDrag=void 0)};render(){const t2=this.now(),i2=(function(t3){if("pro"===t3.requested){const i3="no GPU item renderer exists";if("error"===h(t3.onUnavailable))throw new Error('sy-item-chart: Pro engine is unavailable — no GPU item renderer exists. Use engine="standard" or unavailable="fallback".');return console.warn(`[Syidax] sy-item-chart: Pro renderer unavailable, falling back to Standard (${i3}).`),{tier:"standard",fallbackReason:i3}}return{tier:"standard"}})({requested:this.engine,onUnavailable:this.unavailable});i2.tier!==this.activeTier&&(this.activeTier=i2.tier),i2.fallbackReason!==this.fallbackReason&&(this.fallbackReason=i2.fallbackReason);const e2=this.settledRenderLayout();let o2=e2.visuals.map((t3=>({key:t3.key,cx:t3.cx,cy:t3.cy,r:t3.r,color:t3.color,symbol:t3.symbol,partyIndex:t3.seat.partyIndex,seatIndex:t3.seat.seatIndex})));if(this.morphState)o2=this.composeMorphSeats(this.morphState.prevVisuals,e2.visuals,this.tweenProgress(this.morphState));else if(this.initialRevealState){const t3=this.tweenProgress(this.initialRevealState);o2=e2.visuals.map((i3=>({key:i3.key,cx:i3.cx,cy:i3.cy,r:i3.r*this.revealScaleFor(i3.seat.angle,e2.layout.startAngle,e2.layout.totalAngle,t3),color:i3.color,symbol:i3.symbol,partyIndex:i3.seat.partyIndex,seatIndex:i3.seat.seatIndex})))}const r2=this.focusedPartyIndex??this.hoverPartyIndex,a2=this.legend?this.buildLegendLayout():null,l2=this.zoomSpec(),c2=this.plotRectFromLegend(a2),d2=x(c2,this.zoomState),u2=P(d2),p2=`sy-item-chart-zoom-clip-${this.instanceId}`;return this.lastRenderResult={seats:e2.seats.length,parties:e2.parties.length,renderMs:this.now()-t2},this.pendingRenderedEmit=true,s(n,{key:"74f42db0c04e4ccd426a630acb5bd81e5b103367","data-active-tier":this.activeTier,"data-sy-brand-host":"chart"},s("div",{key:"3bb4e74c3946eecf0ad564c4c0c1b693e9162ebe",class:"sy-item-chart",style:{width:`${this.width}px`,height:`${this.height}px`,position:"relative"}},s("svg",{key:"062c9c1791254ef07ae3d5173f0768f21d71a973",class:"sy-item-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,"data-total-seats":e2.total,role:"application","aria-roledescription":"Item chart","aria-label":this.accessibleSummary(e2),tabindex:0,style:{touchAction:l2.enabled&&l2.pinch?"none":void 0},onKeyDown:t3=>this.onChartKeyDown(t3),onFocus:()=>this.onChartFocus(),onBlur:()=>this.onChartBlur(),onMouseDown:()=>this.onChartPointerDown(),onPointerDown:this.handleZoomPointerDown,onPointerMove:t3=>this.onChartMouseMove(t3),onPointerUp:this.handleZoomPointerUp,onPointerCancel:this.handleZoomPointerCancel,onMouseLeave:()=>this.onChartLeave(),onClick:t3=>this.onChartClick(t3),onContextMenu:t3=>this.onPointContextMenu(t3)},this.chartTitle?s("text",{class:"sy-item-chart__title",x:this.width/2,y:6,style:{fontSize:"14px"}},this.chartTitle):null,this.chartSubtitle?s("text",{class:"sy-item-chart__subtitle",x:this.width/2,y:this.chartTitle?26:6,style:{fontSize:"12px"}},this.chartSubtitle):null,d2.zoomed?s("clipPath",{id:p2},s("rect",{x:c2.x,y:c2.y,width:c2.width,height:c2.height})):null,s("g",{key:"0a8cc71005273f900be8ffe73db84c2f5a7ec555",class:"sy-item-chart__zoom-clip","clip-path":d2.zoomed?`url(#${p2})`:void 0},s("g",{key:"4476d986ef9e360f22bd803094dc3b0331a50b0a",class:"sy-item-chart__zoom-layer",transform:u2||void 0},s("g",{key:"d867510861e6069f99763c53e9047cfeb327c80f",class:"sy-item-chart__seats","aria-hidden":"true"},o2.map((t3=>{if(t3.r<=0)return null;const i3="sy-item-chart__seat"+(null!==r2&&t3.partyIndex!==r2?" sy-item-chart__seat--dim":"");return"circle"===t3.symbol?s("circle",{key:t3.key,class:i3,cx:t3.cx,cy:t3.cy,r:t3.r,fill:t3.color,"data-party-index":t3.partyIndex,"data-seat-index":t3.seatIndex}):s("path",{key:t3.key,class:i3,d:z(t3.symbol,t3.cx,t3.cy,t3.r),fill:t3.color,"data-party-index":t3.partyIndex,"data-seat-index":t3.seatIndex})}))),(this.centerText||this.centerSubtext)&&e2.layout.innerRadius>0?s("g",{class:"sy-item-chart__center"},this.centerText?s("text",{class:"sy-item-chart__center-text",x:e2.layout.cx,y:e2.layout.cy-(this.centerSubtext?6:0),style:{fontSize:"20px",fontWeight:"600"}},this.centerText):null,this.centerSubtext?s("text",{class:"sy-item-chart__center-text",x:e2.layout.cx,y:e2.layout.cy+(this.centerText?14:0),style:{fontSize:"12px"}},this.centerSubtext):null):null))),this.renderZoomOverlay(c2),a2?.legendRect?s("div",{class:{"sy-item-chart__legend":true,"sy-item-chart__legend--float":"float"===this.legendPosition},role:"group","aria-label":"Legend",style:this.legendContainerStyle(a2),onPointerDown:t3=>this.handleLegendPointerDown(t3,a2),onPointerMove:t3=>this.handleLegendPointerMove(t3,a2),onPointerUp:t3=>this.handleLegendPointerUp(t3),onPointerCancel:t3=>this.handleLegendPointerUp(t3),onClick:()=>{this.suppressNextLegendClick=false}},this.buildLegendItems().map(((t3,i3)=>{const e3=a2.itemRects[i3];return e3?s("span",{role:"button",tabindex:0,"aria-pressed":t3.disabled?"false":"true","aria-label":`${t3.label}${t3.disabled?", hidden":", shown"}`,class:"sy-item-chart__legend-item"+(t3.disabled?" sy-item-chart__legend-item--disabled":""),style:{position:"absolute",left:e3.x-a2.legendRect.x+"px",top:e3.y-a2.legendRect.y+"px",height:`${e3.height}px`,display:"flex",alignItems:"center",gap:"6px",whiteSpace:"nowrap"},onClick:()=>this.onLegendPointerClick(i3,String(t3.id??i3),t3.label),onKeyDown:e4=>this.onLegendKeyDown(e4,i3,String(t3.id??i3),t3.label)},s("span",{class:"sy-item-chart__legend-swatch",style:{background:t3.swatchColor}}),s("span",null,t3.label)):null}))):null,s("div",{key:"2d809c7e0849cc3a84ca37189913eb90d90c0107",class:"sy-item-chart__sr-only",role:"list","aria-label":"Parties"},this.navigableParties(e2).map((t3=>s("div",{role:"listitem",key:`sr:${t3.id}`},this.partyAriaLabel(t3))))),s("div",{key:"e1c5c813a2bbeec515919c064a409d882e452f6e",class:"sy-item-chart__sr-only","aria-live":"polite",role:"status"},this.srAnnouncement),this.fallbackReason&&s("span",{key:"d1eee97c56d0518b0df9ac5053d5631e758626a4",class:"sy-item-chart__watermark",title:this.fallbackReason},"Syidax - fell back to standard renderer"),this.renderItemTooltipConnector(),this.renderItemTooltip()),f(this.host,this.brandLogo,{width:this.width,height:this.height,plot:c2}))}renderItemTooltip(){const t2=this.itemTooltips.length>0,i2=t2?this.itemTooltips:[this.positionedItemTooltip()].filter((t3=>Boolean(t3)));return 0===i2.length?null:i2.map((i3=>this.renderItemTooltipItem(i3,!t2)))}renderItemTooltipItem(t2,i2){const{cssX:e2,cssY:n2,side:o2,text:r2,html:a2,className:h2,style:l2,interactive:c2,draggable:d2}=t2,u2=t2.offset??10,p2={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:c2||d2?"auto":"none",cursor:d2?this.tooltipDrag?"grabbing":"grab":"default",transform:""};t2.positionLock?(p2.left=`${t2.positionLock.x}px`,p2.top=`${t2.positionLock.y}px`,p2.transform=""):"top"===o2?(p2.left=`${e2}px`,p2.top=n2-u2+"px",p2.transform="translate(-50%, -100%)"):"bottom"===o2?(p2.left=`${e2}px`,p2.top=`${n2+u2}px`,p2.transform="translate(-50%, 0%)"):"left"===o2?(p2.left=e2-u2+"px",p2.top=`${n2}px`,p2.transform="translate(-100%, -50%)"):(p2.left=`${e2+u2}px`,p2.top=`${n2}px`,p2.transform="translate(0%, -50%)");for(const[t3,i3]of Object.entries(l2??{}))p2[t3]=D(t3,i3);return void 0!==a2?s("div",{class:V("sy-item-chart__tooltip",h2),"data-tooltip-id":`${t2.id}`,ref:i2?t3=>this.tooltipElement=t3:void 0,style:p2,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp,innerHTML:a2}):s("div",{class:V("sy-item-chart__tooltip",h2),"data-tooltip-id":`${t2.id}`,ref:i2?t3=>this.tooltipElement=t3:void 0,style:p2,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp},r2)}renderItemTooltipConnector(){const t2=(this.itemTooltips.length>0?this.itemTooltips:[this.positionedItemTooltip()].filter((t3=>Boolean(t3)))).filter((t3=>t3.connector?.show));return 0===t2.length?null:s("svg",{class:"sy-item-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"},t2.map((t3=>{const i2=t3.connector,e2=_(t3);return s("line",{x1:t3.pointCssX,y1:t3.pointCssY,x2:e2.x,y2:e2.y,stroke:i2.color??"var(--sy-tooltip-connector-color, rgba(17,24,39,0.42))","stroke-width":i2.width??1,"stroke-dasharray":i2.dash?.join(" ")})})))}async getEngineStatus(){return M({requested:this.engine,onUnavailable:this.unavailable,renderer:"item"})}static get watchers(){return{values:[{handleValuesChange:0}],streamSource:[{handleStreamSourceChange:0}],streamWindow:[{handleStreamSourceChange:0}],streamMax:[{handleStreamSourceChange:0}],animated:[{handleAnimationChange:0}],animationDuration:[{handleAnimationChange:0}],animationEasing:[{handleAnimationChange:0}],animationType:[{handleAnimationChange:0}],symbol:[{handleVisualPropsChange:0}],rows:[{handleVisualPropsChange:0}],itemPadding:[{handleVisualPropsChange:0}],startAngle:[{handleVisualPropsChange:0}],endAngle:[{handleVisualPropsChange:0}],innerSize:[{handleVisualPropsChange:0}],size:[{handleVisualPropsChange:0}],centerX:[{handleVisualPropsChange:0}],centerY:[{handleVisualPropsChange:0}],minSize:[{handleVisualPropsChange:0}],palette:[{handleVisualPropsChange:0}],colors:[{handleVisualPropsChange:0}],chartTitle:[{handleVisualPropsChange:0}],chartSubtitle:[{handleVisualPropsChange:0}],legend:[{handleVisualPropsChange:0}],legendPosition:[{handleVisualPropsChange:0},{handleLegendAnchorChange:0}],legendFloatAlign:[{handleVisualPropsChange:0},{handleLegendAnchorChange:0}],legendFloatVerticalAlign:[{handleVisualPropsChange:0},{handleLegendAnchorChange:0}],legendDraggable:[{handleVisualPropsChange:0}],centerText:[{handleVisualPropsChange:0}],centerSubtext:[{handleVisualPropsChange:0}],tooltipShow:[{handleVisualPropsChange:0}],tooltip:[{handleVisualPropsChange:0}],enableMouseTracking:[{handleVisualPropsChange:0}]}}};R.style='.sc-sy-item-chart-h{display:inline-block;position:relative}.sy-item-chart.sc-sy-item-chart{position:relative;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}.sy-item-chart__root.sc-sy-item-chart{display:block;outline:none}.sy-item-chart__root.sc-sy-item-chart:focus-visible{outline:2px solid var(--sy-focus-ring, #2563eb);outline-offset:2px;border-radius:4px}.sy-item-chart__title.sc-sy-item-chart{fill:var(--sy-chart-title-color, #111827);font-weight:600;text-anchor:middle;dominant-baseline:hanging}.sy-item-chart__subtitle.sc-sy-item-chart{fill:var(--sy-chart-subtitle-color, #6b7280);text-anchor:middle;dominant-baseline:hanging}.sy-item-chart__seat.sc-sy-item-chart{transition:opacity 120ms ease-out}.sy-item-chart__seat--dim.sc-sy-item-chart{opacity:.35}.sy-item-chart__center-text.sc-sy-item-chart{fill:var(--sy-chart-title-color, #111827);text-anchor:middle;dominant-baseline:middle}.sy-item-chart__legend-item.sc-sy-item-chart{cursor:pointer;font-size:12px;color:var(--sy-legend-color, #374151);user-select:none}.sy-item-chart__legend-item--disabled.sc-sy-item-chart{opacity:.45}.sy-item-chart__legend-item--disabled.sc-sy-item-chart span.sc-sy-item-chart:last-child{text-decoration:line-through}.sy-item-chart__legend-item.sc-sy-item-chart:focus-visible{outline:2px solid var(--sy-focus-ring, #2563eb);outline-offset:1px;border-radius:3px}.sy-item-chart__legend-swatch.sc-sy-item-chart{display:inline-block;width:10px;height:10px;border-radius:3px;flex:0 0 auto}.sy-item-chart__sr-only.sc-sy-item-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-item-chart__watermark.sc-sy-item-chart{position:absolute;right:6px;bottom:4px;font-size:10px;color:rgba(107,114,128,.75);pointer-events:none}';export{R as sy_item_chart};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,g as i,h as e,H as o}from"./p-DChj4qx2.js";import{s as n,r}from"./p-DO6vGxJP.js";import{n as a,b as h}from"./p-B6K1arcd.js";import{C as l,c,a as d,p as u}from"./p-nxlSIIWU.js";import{a as p,b as m}from"./p-CTrT2jn4.js";import{s as f,r as g}from"./p-DYKIyOfR.js";import{c as y,l as x}from"./p-DTZUbymc.js";import{c as b}from"./p-BwM4aW0R.js";import{h as v}from"./p-_AFoWkvk.js";import{a as w,d as $,r as S,b as k}from"./p-DogpgTFv.js";import{d as M,c as C}from"./p-BwtrZuf8.js";import{c as _,d as A}from"./p-CitzwxIw.js";import{t as T,c as L,b as P}from"./p-C0f63Npv.js";import{s as D}from"./p-Yjd8T1ZK.js";import"./p-HAy9hTj2.js";import"./p-DUELYDa7.js";import"./p-D6sPnRDQ.js";import"./p-AzDRbG7D.js";function N(t2){const s2="bigint"==typeof t2?Number(t2):t2;return"number"==typeof s2&&Number.isFinite(s2)?s2:null}function I(t2,s2,i2={}){const e2=Array.isArray(t2)?t2:[],o2=e2.reduce(((t3,s3)=>Math.max(t3,s3.values?.length??0)),s2?.length??0),n2=e2.map((t3=>{const s3=new Array(o2);for(let i3=0;i3<o2;i3++)s3[i3]=N(t3.values?.[i3]);return{name:t3.name??"",color:t3.color,values:s3}}));let r2=Array.from({length:o2},((t3,s3)=>s3));i2.sortDescending&&n2[0]&&(r2=r2.sort(((t3,s3)=>(n2[0].values[s3]??-1/0)-(n2[0].values[t3]??-1/0)||t3-s3)));const a2=r2.map(((t3,i3)=>({index:i3,sourceIndex:t3,label:s2?.[t3]??String(t3+1)}))),h2=n2.map((t3=>({name:t3.name,color:t3.color,values:r2.map((s3=>t3.values[s3]))})));let l2=0,c2=0,d2=false;for(const t3 of h2)for(const s3 of t3.values)null!==s3&&(d2?(l2=Math.min(l2,s3),c2=Math.max(c2,s3)):(l2=s3,c2=s3,d2=true));return{series:h2,categories:a2,minValue:d2?l2:0,maxValue:d2?c2:1,categoryCount:o2,seriesCount:h2.length}}function Y(t2,s2){return s2>0?t2/s2:t2}function X(t2,s2,i2){return t2.y+(s2+.5)*Y(t2.height,i2)}function j(t2,s2,i2,e2){const o2=F(s2),n2=F(i2),r2=F(e2);switch(t2){case"square":return`M ${o2-r2} ${n2-r2} H ${o2+r2} V ${n2+r2} H ${o2-r2} Z`;case"diamond":return`M ${o2} ${n2-r2} L ${o2+r2} ${n2} L ${o2} ${n2+r2} L ${o2-r2} ${n2} Z`;case"triangle":return`M ${o2} ${F(i2-e2)} L ${F(s2+e2)} ${F(i2+e2)} L ${F(s2-e2)} ${F(i2+e2)} Z`;default:return`M ${o2-r2} ${n2} a ${r2} ${r2} 0 1 0 ${2*r2} 0 a ${r2} ${r2} 0 1 0 ${2*-r2} 0`}}function F(t2){return Math.round(100*t2)/100}function V(t2){return!Number.isFinite(t2)||t2<=0?0:t2>=1?1:t2}function E(t2){if(t2&&"object"==typeof t2&&Array.isArray(t2.values))return{category:t2.category,values:t2.values.map((t3=>{const s2="bigint"==typeof t3?Number(t3):t3;return Number.isFinite(s2)?s2:0}))}}const H="reveal",R="morph",O="stream";function z(t2,s2){return s2?`${t2} ${s2}`:t2}function U(t2,s2){return"number"!=typeof s2?s2:new Set(["lineHeight","opacity","zIndex","fontWeight","flex","flexGrow","flexShrink","order"]).has(t2)?String(s2):`${s2}px`}const B=class{constructor(i2){t(this,i2),this.rendered=s(this,"rendered",7),this.pointClick=s(this,"pointClick",7),this.pointHover=s(this,"pointHover",7),this.crosshairMove=s(this,"crosshairMove",7),this.tooltipShow=s(this,"tooltipShow",7),this.tooltipHide=s(this,"tooltipHide",7),this.tooltipAction=s(this,"tooltipAction",7),this.seriesOutsideClick=s(this,"seriesOutsideClick",7),this.pointContextMenu=s(this,"pointContextMenu",7),this.legendItemClick=s(this,"legendItemClick",7),this.seriesToggled=s(this,"seriesToggled",7),this.appended=s(this,"appended",7),this.windowSlid=s(this,"windowSlid",7),this.chartAnimationStart=s(this,"chartAnimationStart",7),this.chartAnimationEnd=s(this,"chartAnimationEnd",7),this.chartAnimationInterrupted=s(this,"chartAnimationInterrupted",7)}get host(){return i(this)}data=[];groups=[];categories;width=640;height=380;brandLogo;brandPosition="bottom-right";color="";marker="circle";markerSize=6;showRowLines=true;sortDescending=false;xLabelMode;xLabelRotation;xLabelMaxCount;valueAxisLabel;gridLines;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;tooltipShow;tooltipHide;tooltipAction;seriesOutsideClick;pointContextMenu;legendItemClick;seriesToggled;appended;windowSlid;chartAnimationStart;chartAnimationEnd;chartAnimationInterrupted;activeTier="standard";fallbackReason;legendDisabled=new Set;cartesianTooltip=null;cartesianTooltips=[];srAnnouncement="";animationTick=0;hoverKey=null;cursor=null;tooltipDrag;tooltipElement;nextTooltipId=1;draggableTooltipPositions=new Map;animator=(function(){const t2=new Map;function s2(t3,s3){return t3.duration<=0?1:V((function(t4,s4){return t4.startedAt<0||t4.paused?t4.pausedElapsed:Math.max(0,s4-t4.startedAt+t4.pausedElapsed)})(t3,s3)/t3.duration)}return{start(s3,i2){t2.set(s3,{startedAt:-1,pausedElapsed:0,paused:false,duration:Math.max(0,i2.duration),easing:i2.easing})},progressAt(i2,e2){const o2=t2.get(i2);if(o2)return o2.startedAt<0&&!o2.paused&&(o2.startedAt=e2),(function(t3,s3){const i3=V(t3);switch(s3){case"linear":default:return i3;case"ease-out":return 1-(1-i3)*(1-i3)*(1-i3);case"ease-in":return i3*i3*i3;case"ease-in-out":return i3<.5?4*i3*i3*i3:1-Math.pow(-2*i3+2,3)/2}})(s2(o2,e2),o2.easing)},has:s3=>t2.has(s3),isActive(i2,e2){const o2=t2.get(i2);return!!o2&&(!!o2.paused||s2(o2,e2)<1)},tick(i2){const e2=[];for(const[o2,n2]of t2)n2.startedAt<0&&!n2.paused&&(n2.startedAt=i2),n2.paused||s2(n2,i2)>=1&&e2.push(o2);for(const s3 of e2)t2.delete(s3)},pauseAll(s3){for(const i2 of t2.values())i2.paused||(i2.startedAt>=0&&(i2.pausedElapsed+=s3-i2.startedAt),i2.paused=true)},resumeAll(s3){for(const i2 of t2.values())i2.paused&&(i2.startedAt=s3,i2.paused=false)},hasActive(){for(const s3 of t2.values())if(!s3.paused)return true;return false},cancel(s3){t2.delete(s3)},clear(){t2.clear()},entries:()=>t2}})();animationFrameHandle=null;internalStreamSource;boundStreamSource;streamUnsubscribe;streamLicense=new l({host:()=>this.host,input:()=>c(this,"always-ring"),active:()=>void 0!==this.boundStreamSource||void 0!==this.internalStreamSource,onChange:t2=>this.handleStreamLicenseChange(t2)});streamFrozenData;plainStreamStarted=false;suppressNextValuesAnimation=false;streamFromSeries;lastStreamTime;firstRender=true;displayedDots=new Map;morphFromDots;lastRenderResult={points:0,renderMs:0};pendingRenderedEmit=false;hasLoaded=false;detached=false;connectedCallback(){this.detached=false,this.streamLicense.connect(),this.hasLoaded&&this.resumeStreamBinding()}resumeStreamBinding(){this.bindStreamSource();const t2=this.displayedStreamSource();t2&&this.streamLicense.live()&&(this.streamUnsubscribe||this.bindToStreamSource(t2),this.handleStreamEvent(t2,{type:"replace",count:t2.length}))}componentDidLoad(){this.hasLoaded=true,this.bindStreamSource(),this.shouldInitialAnimation(true)&&this.startReveal()}componentDidRender(){this.detached||(this.measureTooltipBox(),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)return this.suppressNextValuesAnimation=false,void this.animationTick++;this.shouldInitialAnimation(this.firstRender)?(this.firstRender=false,this.startReveal()):this.shouldUpdateAnimation()?this.startMorph():this.animationTick++}handleStreamSourceChange(){this.bindStreamSource()}handleAnimationToggle(){this.shouldInitialAnimation(true)?this.startReveal():(this.animator.hasActive()&&this.chartAnimationInterrupted.emit(),this.animator.clear(),this.stopAnimationLoop(),this.animationTick++)}handleVisualChange(){this.animationTick++}async redraw(){return this.animationTick++,this.lastRenderResult}async getActiveTier(){return this.activeTier}async setData(t2){this.data=t2}async appendPoint(t2){const s2=this.datumToStream(t2);await this.streamOrPlain("appendPoint",{type:"push",datum:s2},(()=>this.ensureInternalStreamSource()?.push(s2)))}async appendBatch(t2){const s2=t2.map((t3=>this.datumToStream(t3)));await this.streamOrPlain("appendBatch",{type:"pushBatch",data:s2},(()=>this.ensureInternalStreamSource()?.pushBatch(s2)))}async shift(t2){await this.streamOrPlain("shift",{type:"shift",count:t2},(()=>this.activeStreamSource()?.shift(t2)))}async replace(t2){const s2=t2.map((t3=>this.datumToStream(t3)));await this.streamOrPlain("replace",{type:"replace",data:s2},(()=>this.ensureInternalStreamSource()?.replace(s2)))}async getStreamSource(){return this.streamLicense.run("getStreamSource",(t2=>"stream"===t2?this.activeStreamSource():void 0),void 0!==this.displayedStreamSource())}async setAnimation(t2){"number"==typeof t2.duration&&Number.isFinite(t2.duration)&&(this.animationDuration=Math.max(0,t2.duration)),t2.easing&&(this.animationEasing=t2.easing),"boolean"==typeof t2.enabled&&(this.animated=t2.enabled),t2.type&&(this.animationType=t2.type)}async pauseAnimation(){this.animator.pauseAll(this.now())}async resumeAnimation(){this.animator.resumeAll(this.now()),this.ensureAnimationLoop()}async replayAnimation(){this.startReveal()}async hitTest(t2,s2){const i2=this.computeDotPlotLayout();return this.nearestDot(i2,t2,s2)}async showTooltipAtPoint(t2,s2){const i2=this.resolveTooltipSpec();if(!i2.show)return null;const e2=this.computeDotPlotLayout(),o2=this.dotPlotHitAtIndex(e2,t2,s2);return o2?this.showTooltipForHit(e2,o2,i2,true):null}async hideTooltip(){this.clearTooltips(),this.hoverKey=null}hasVisibleTooltips(){return null!==this.cartesianTooltip||this.cartesianTooltips.length>0}clearTooltips(){this.hasVisibleTooltips()&&(this.tooltipDrag=void 0,this.cartesianTooltip=null,this.cartesianTooltips=[],this.tooltipHide.emit())}async showSeries(t2,s2){return this.updateGroupVisible(t2,true,s2)}async hideSeries(t2,s2){return this.updateGroupVisible(t2,false,s2)}seriesId(t2,s2){return t2?.name??String(s2)}resolveGroupIndex(t2){if("number"==typeof t2&&Number.isFinite(t2)){const s2=Math.floor(t2);return s2>=0&&s2<this.groups.length?s2:-1}return this.groups.findIndex((s2=>s2===t2))}updateGroupVisible(t2,s2,i2){const e2=this.resolveGroupIndex(t2);if(e2<0)return false;const o2=this.seriesId({name:this.groups[e2]},e2),n2=new Set(this.legendDisabled);return s2?n2.delete(o2):n2.add(o2),this.legendDisabled=n2,this.seriesToggled.emit({index:e2,seriesId:o2,disabled:!s2}),false!==i2?.redraw&&this.animationTick++,true}toggleSeries(t2,s2){const i2=new Set(this.legendDisabled);i2.has(t2)?i2.delete(t2):i2.add(t2),this.legendDisabled=i2;const e2=i2.has(t2);this.legendItemClick.emit({index:s2,seriesId:t2,label:this.groups[s2]??t2,disabled:e2}),this.seriesToggled.emit({index:s2,seriesId:t2,disabled:e2})}toSeries(){const t2=this.groupColors();return this.groups.map(((s2,i2)=>({name:s2,color:t2[i2],values:this.data.map((t3=>t3.values?.[i2]??null))})))}cats(){return this.categories?[...this.categories]:this.data.map((t2=>t2.category))}computeDotPlotLayout(){const t2=this.streamSeries()??this.toSeries(),s2=this.cats(),i2=[],e2=[];for(let s3=0;s3<t2.length;s3++)this.legendDisabled.has(this.seriesId(t2[s3],s3))||(e2.push(t2[s3]),i2.push(s3));const o2=t2.length,n2=I(e2,s2,{sortDescending:this.sortDescending&&!this.isStreaming()}),r2=this.legend&&this.groups.length>1?this.buildLegendLayout(t2):null,a2=this.outerRectFromLegend(r2),h2=(function(t3,s3){if(!Number.isFinite(t3)||!Number.isFinite(s3)||t3===s3){const t4=Number.isFinite(s3)?s3:1;return{min:Math.min(0,t4-1),max:t4+1}}const i3=.08*(s3-t3);return{min:0===Math.min(t3,0)&&t3>=0?0:t3-i3,max:s3+i3}})(n2.minValue,n2.maxValue),l2=w({kind:"linear",position:"bottom",show:true,label:this.valueAxisLabel},{kind:"category",position:"left",show:true,categories:n2.categories.map((t3=>t3.label)),tickCount:Math.min(n2.categoryCount,40)}),c2=p({outerWidth:a2.width,outerHeight:a2.height,axes:l2,gridLines:$(this.gridLines),title:this.chartTitle,subtitle:this.chartSubtitle,xExtent:{min:h2.min,max:h2.max},yExtent:{min:-.5,max:Math.max(.5,n2.categoryCount-.5)}}),d2={x:a2.x+c2.plot.x,y:a2.y+c2.plot.y,width:c2.plot.width,height:c2.plot.height},u2=t3=>a2.x+c2.xScale(t3),m2=(function(t3,s3,i3){const e3=t3.categories.length,o3=[];for(const n3 of t3.categories){const r3=X(s3,n3.index,e3);for(let s4=0;s4<t3.series.length;s4++){const e4=t3.series[s4].values[n3.index];null!==e4&&o3.push({categoryIndex:n3.index,seriesIndex:s4,category:n3.label,seriesName:t3.series[s4].name,value:e4,cx:i3(e4),cy:r3})}}return o3})(n2,d2,u2),f2=(function(t3,s3,i3){const e3=t3.categories.length,o3=[];for(const n3 of t3.categories){let r3=1/0,a3=-1/0;for(let s4=0;s4<t3.series.length;s4++){const e4=t3.series[s4].values[n3.index];if(null===e4)continue;const o4=i3(e4);r3=Math.min(r3,o4),a3=Math.max(a3,o4)}r3!==1/0&&o3.push({categoryIndex:n3.index,category:n3.label,centerY:X(s3,n3.index,e3),minX:r3,maxX:a3})}return o3})(n2,d2,u2);return{model:n2,outer:a2,plot:d2,frame:c2,dots:m2,rows:f2,legend:r2,visibleOriginalIndex:i2,totalSeriesCount:o2}}outerRectFromLegend(t2){if(!t2?.remainingOuter)return{x:0,y:0,width:this.width,height:this.height};const s2=t2.remainingOuter;return{x:s2.x,y:s2.y,width:Math.max(1,s2.width),height:Math.max(1,s2.height)}}buildLegendLayout(t2){const s2=t2.map(((t3,s3)=>({label:t3.name??String(s3),swatchColor:this.seriesColor(s3),swatchShape:"circle",disabled:this.legendDisabled.has(this.seriesId(t3,s3))})));return b({outerWidth:this.width,outerHeight:this.height,items:s2,position:this.legendPosition,direction:"left"===this.legendPosition||"right"===this.legendPosition?"vertical":"horizontal",padding:{top:8,right:12,bottom:10,left:12},gap:16,swatchSize:12,swatchLabelGap:6,rowGap:6,wrap:true})}tableauPalette(){const t2=C.tableau10;return M(t2,Math.max(t2.stops.length,10)).map((t3=>`rgb(${t3.r}, ${t3.g}, ${t3.b})`))}groupColors(){return _(this.color,this.groups.length,["#94a3b8","#2563eb"],this.tableauPalette())}seriesColor(t2){return this.groupColors()[t2]??"#2563eb"}markerForGroup(t2){return A(this.marker,Math.max(this.groups.length,t2+1),"circle")[t2]??"circle"}shouldAnimate(){return!this.detached&&this.animated&&this.animationDuration>0}shouldInitialAnimation(t2){return!!this.shouldAnimate()&&("initial"===this.animationType||"update"!==this.animationType&&t2)}shouldUpdateAnimation(){return!!this.shouldAnimate()&&"initial"!==this.animationType}startReveal(){this.animator.hasActive()&&this.chartAnimationInterrupted.emit(),this.animator.clear(),this.animator.start(H,{duration:this.animationDuration,easing:this.animationEasing}),this.chartAnimationStart.emit(),this.ensureAnimationLoop()}ensureAnimationLoop(){if(null!==this.animationFrameHandle)return;const t2=()=>{this.animator.tick(this.now()),this.animationTick++,this.animator.hasActive()&&this.animator.entries().size>0?this.animationFrameHandle=requestAnimationFrame(t2):(this.animationFrameHandle=null,this.chartAnimationEnd.emit())};this.animationFrameHandle=requestAnimationFrame(t2)}stopAnimationLoop(){null!==this.animationFrameHandle&&(cancelAnimationFrame(this.animationFrameHandle),this.animationFrameHandle=null)}revealProgress(){return this.animator.has(H)?this.animator.progressAt(H,this.now())??1:1}startMorph(){this.animator.hasActive()&&this.chartAnimationInterrupted.emit(),this.animator.clear(),this.morphFromDots=new Map(this.displayedDots),this.animator.start(R,{duration:this.animationDuration,easing:this.animationEasing}),this.chartAnimationStart.emit(),this.ensureAnimationLoop()}morphProgress(){return this.animator.has(R)?this.animator.progressAt(R,this.now())??1:1}now(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}isStreaming(){return null!=this.displayedStreamSource()}activeStreamSource(){return this.streamSource??this.internalStreamSource}displayedStreamSource(){return this.boundStreamSource??this.internalStreamSource}ensureInternalStreamSource(){return this.streamSource?this.streamSource:(this.internalStreamSource||(this.internalStreamSource=(function(){const t2=new Error("Dedicated streaming requires @syidax/advanced-pro");throw t2.code="module-missing",t2.feature="chart.streaming",t2})((this.coerceStreamCapacity(),this.valuesAsData())),this.bindToStreamSource(this.internalStreamSource)),this.internalStreamSource)}valuesAsData(){const t2=I(this.toSeries(),this.cats());return t2.categories.map((s2=>({category:s2.label,values:t2.series.map((t3=>t3.values[s2.index]??0))})))}datumToStream(t2){return{category:t2.category,values:(t2.values??[]).map((t3=>null==t3?NaN:t3))}}coerceStreamCapacity(){return"number"==typeof this.streamMax&&Number.isFinite(this.streamMax)&&this.streamMax>0?Math.floor(this.streamMax):"number"==typeof this.streamWindow&&Number.isFinite(this.streamWindow)&&this.streamWindow>0?4*Math.floor(this.streamWindow):2e3}bindStreamSource(){if(this.detached||this.streamLicense.frozen)return;const t2=this.streamLicense.route();if("pending"===t2||"refused"===t2)return;const s2="stream"===t2?this.streamSource:void 0;this.boundStreamSource!==s2&&(this.streamUnsubscribe?.(),this.streamUnsubscribe=void 0,s2&&(this.internalStreamSource=void 0,this.bindToStreamSource(s2)),this.boundStreamSource=s2)}bindToStreamSource(t2){this.detached||(this.streamUnsubscribe?.(),this.streamUnsubscribe=t2.subscribe((s2=>this.handleStreamEvent(t2,s2))))}async streamOrPlain(t2,s2,i2){const e2="shift"!==s2.type||this.plainStreamStarted||void 0!==this.displayedStreamSource();await this.streamLicense.run(t2,(t3=>{if("stream"===t3)return i2();("shift"!==s2.type||this.plainStreamStarted)&&("shift"!==s2.type&&(this.plainStreamStarted=true),this.applyPlainStream(s2))}),e2)}applyPlainStream(t2){const s2=this.valuesAsData().map(E).filter((t3=>void 0!==t3)),{list:i2,event:e2}=d(s2,t2,E);e2&&this.handleStreamEvent(u(i2),e2)}handleStreamLicenseChange(t2){if(!this.detached){if("frozen"===t2)return this.streamFrozenData=this.data,this.streamUnsubscribe?.(),void(this.streamUnsubscribe=void 0);"resumed"===t2&&(this.data===this.streamFrozenData||this.boundStreamSource||(this.internalStreamSource=void 0),this.streamFrozenData=void 0),this.resumeStreamBinding()}}handleStreamEvent(t2,s2){const i2=t2.snapshot("number"==typeof this.streamWindow&&this.streamWindow>0?this.streamWindow:void 0),e2=Math.max(this.groups.length,i2.reduce(((t3,s3)=>Math.max(t3,s3.values.length)),0)),o2=i2.map(((t3,s3)=>({category:t3.category??String(s3+1),values:Array.from({length:e2},((s4,i3)=>t3.values[i3]??null))})));if(this.shouldAnimate()&&this.data.length>0&&o2.length>0){const t3=this.now(),s3=y(this.animationDuration,this.lastStreamTime,t3);this.lastStreamTime=t3,this.streamFromSeries=this.currentStreamSeries(),this.suppressNextValuesAnimation=true,this.categories=i2.map(((t4,s4)=>t4.category??String(s4+1))),this.data=o2,s3>0&&(this.animator.start(O,{duration:s3,easing:this.animationEasing}),this.chartAnimationStart.emit(),this.ensureAnimationLoop())}else this.lastStreamTime=this.now(),this.suppressNextValuesAnimation=true,this.categories=i2.map(((t3,s3)=>t3.category??String(s3+1))),this.data=o2;"push"!==s2.type&&"pushBatch"!==s2.type||this.appended.emit({count:s2.count}),"shift"===s2.type&&this.windowSlid.emit({dropped:s2.count})}currentStreamSeries(){const t2=this.animator.has(O)&&this.streamFromSeries,s2=t2?this.animator.progressAt(O,this.now())??1:1;return this.toSeries().map(((i2,e2)=>{const o2=i2.values instanceof Float32Array?i2.values:Float32Array.from(i2.values.map((t3=>t3??NaN))),n2=t2?this.streamFromSeries[e2]:void 0;return n2?x(n2,o2,s2):o2}))}streamSeries(){if(!this.animator.has(O)||!this.streamFromSeries)return null;const t2=this.animator.progressAt(O,this.now())??1;return this.toSeries().map(((s2,i2)=>{const e2=s2.values instanceof Float32Array?s2.values:Float32Array.from(s2.values.map((t3=>t3??NaN))),o2=this.streamFromSeries[i2];return o2?{...s2,values:x(o2,e2,t2)}:s2}))}nearestDot(t2,s2,i2){const e2=(function(t3,s3,i3,e3){if(0===s3)return-1;if(i3<t3.x||i3>t3.x+t3.width)return-1;if(e3<t3.y||e3>t3.y+t3.height)return-1;const o3=Math.floor((e3-t3.y)/Y(t3.height,s3));return Math.max(0,Math.min(s3-1,o3))})(t2.plot,t2.model.categoryCount,s2,i2);if(e2<0)return null;let o2=null,n2=1/0;for(const i3 of t2.dots){if(i3.categoryIndex!==e2)continue;const t3=Math.abs(i3.cx-s2);t3<n2&&(n2=t3,o2=i3)}return o2?{categoryIndex:o2.categoryIndex,seriesIndex:o2.seriesIndex,category:o2.category,seriesName:o2.seriesName,value:o2.value,cssX:s2,cssY:i2}:null}resolveTooltipSpec(){const t2=S(this.tooltip);return void 0!==this.tooltip||this.tooltipEnabled?t2:{...t2,show:false}}dotPlotHitFromDot(t2){return{categoryIndex:t2.categoryIndex,seriesIndex:t2.seriesIndex,category:t2.category,seriesName:t2.seriesName,value:t2.value,cssX:t2.cx,cssY:t2.cy}}dotPlotHitAtIndex(t2,s2,i2){const e2=Math.trunc(s2);if(!Number.isFinite(e2))return null;const o2=t2.dots.filter((t3=>t3.categoryIndex===e2));if(0===o2.length)return null;const n2="number"==typeof i2&&Number.isFinite(i2)?o2.find((t3=>t3.seriesIndex===Math.trunc(i2))):o2[0];return n2?this.dotPlotHitFromDot(n2):null}srSummary(t2){return 0===t2.categoryCount||0===t2.seriesCount?"Dot plot, no data":`Dot plot, ${t2.categoryCount} categories × ${t2.seriesCount} series, values from ${Math.round(t2.minValue)} to ${Math.round(t2.maxValue)}.`}shouldShowTooltipOnHover(t2){return"click"!==t2.trigger}shouldShowTooltipOnClick(t2){return"click"===t2.trigger||"hover-click"===t2.trigger}shouldHideTooltipOnLeave(t2){return!t2.show||!t2.draggable&&"click"!==t2.trigger&&false!==t2.hideOnLeave}showTooltipForHit(t2,s2,i2,e2=false){const o2=s2.cssX,r2=s2.cssY,a2={seriesIndex:s2.seriesIndex,pointIndex:s2.categoryIndex,index:s2.categoryIndex,value:s2.value,cssX:o2,cssY:r2,dataX:s2.categoryIndex,dataY:s2.value,mode:i2.mode},h2=m({frame:{plot:t2.plot},hit:{cssX:o2,cssY:r2},spec:i2}),l2=this.lockedTooltipPositionForHit(s2,i2),c2=l2?.side??h2.side,d2=l2?this.tooltipAnchorFromPositionLock(l2.lock,c2,l2.box,i2.offset??10):{cssX:h2.cssX,cssY:h2.cssY},u2=n(i2.format,[s2.value,a2],(()=>this.formatDefaultTooltipText(s2)),"tooltip.format",i2),p2=n(i2.html,[s2.value,a2],(()=>{}),"tooltip.html",i2),f2={id:this.nextTooltipId++,cssX:d2.cssX,cssY:d2.cssY,pointCssX:o2,pointCssY:r2,box:l2?.box,side:c2,text:u2,html:p2,className:i2.className,style:this.tooltipStyleFromSpec(i2),interactive:i2.interactive,connector:i2.connector,draggable:i2.draggable,offset:i2.offset,positionLock:l2?.lock,context:a2};this.tooltipDrag=void 0,e2&&"multiple"===i2.openMode?(this.cartesianTooltip=f2,this.cartesianTooltips=[...this.cartesianTooltips,f2]):(this.cartesianTooltips=[],this.cartesianTooltip=f2);const g2={cssX:d2.cssX,cssY:d2.cssY,anchor:c2,text:u2,html:p2,context:a2};return this.tooltipShow.emit(g2),g2}formatDefaultTooltipText(t2){if(this.tooltipFormat)try{return this.tooltipFormat({categoryIndex:t2.categoryIndex,seriesIndex:t2.seriesIndex,category:t2.category,seriesName:t2.seriesName,value:t2.value,cssX:t2.cssX,cssY:t2.cssY})}catch(t3){r(this.tooltipFormat,t3,"tooltipFormat")}return`${t2.category} — ${t2.seriesName}: ${s2=t2.value,Number.isInteger(s2)?String(s2):s2.toFixed(2)}`;var s2}tooltipStyleFromSpec(t2){const s2={...t2.style??{}};return void 0!==t2.width&&(s2.width=t2.width),void 0!==t2.minWidth&&(s2.minWidth=t2.minWidth),void 0!==t2.maxWidth&&(s2.maxWidth=t2.maxWidth),void 0!==t2.padding&&(s2.padding=t2.padding),Object.keys(s2).length>0?s2:void 0}renderTooltip(){const t2=this.cartesianTooltips.length>0,s2=t2?this.cartesianTooltips:[this.positionedTooltipForRender()].filter((t3=>Boolean(t3)));return 0===s2.length?null:s2.map((s3=>this.renderTooltipItem(s3,!t2)))}renderTooltipItem(t2,s2){const{cssX:i2,cssY:o2,side:n2,text:r2,html:a2,className:h2,style:l2,interactive:c2,draggable:d2}=t2,u2=t2.offset??10,p2={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:c2||d2?"auto":"none",cursor:d2?this.tooltipDrag?"grabbing":"grab":"default",transform:""};t2.positionLock?(p2.left=`${t2.positionLock.x}px`,p2.top=`${t2.positionLock.y}px`,p2.transform=""):"top"===n2?(p2.left=`${i2}px`,p2.top=o2-u2+"px",p2.transform="translate(-50%, -100%)"):"bottom"===n2?(p2.left=`${i2}px`,p2.top=`${o2+u2}px`,p2.transform="translate(-50%, 0%)"):"left"===n2?(p2.left=i2-u2+"px",p2.top=`${o2}px`,p2.transform="translate(-100%, -50%)"):(p2.left=`${i2+u2}px`,p2.top=`${o2}px`,p2.transform="translate(0%, -50%)");for(const[t3,s3]of Object.entries(l2??{}))p2[t3]=U(t3,s3);return void 0!==a2?e("div",{class:z("sy-dot-plot-chart__tooltip",h2),"data-tooltip-id":`${t2.id}`,ref:s2?t3=>this.tooltipElement=t3:void 0,style:p2,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp,innerHTML:a2}):e("div",{class:z("sy-dot-plot-chart__tooltip",h2),"data-tooltip-id":`${t2.id}`,ref:s2?t3=>this.tooltipElement=t3:void 0,style:p2,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp},r2)}renderTooltipConnector(){const t2=(this.cartesianTooltips.length>0?this.cartesianTooltips:[this.positionedTooltipForRender()].filter((t3=>Boolean(t3)))).filter((t3=>t3.connector?.show));return 0===t2.length?null:e("svg",{class:"sy-dot-plot-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"},t2.map((t3=>{const s2=t3.connector,i2=T(t3);return e("line",{x1:t3.pointCssX,y1:t3.pointCssY,x2:i2.x,y2:i2.y,stroke:s2.color??"var(--sy-tooltip-connector-color, rgba(17,24,39,0.42))","stroke-width":s2.width??1,"stroke-dasharray":s2.dash?.join(" ")})})))}positionedTooltipForRender(t2=this.cartesianTooltip){if(!t2)return null;if(!t2.box||this.tooltipDrag)return t2;if(t2.positionLock)return t2;const s2=t2.offset??10,i2=L({anchor:{kind:"point",x:t2.pointCssX,y:t2.pointCssY},tooltip:t2.box,viewport:{x:0,y:0,width:this.width,height:this.height},preferredSide:t2.side,offset:s2,padding:6}),e2=P({x:i2.x,y:i2.y,tooltip:t2.box,viewport:{x:0,y:0,width:this.width,height:this.height},side:i2.side,lineY:t2.pointCssY,gap:Math.max(8,s2/2),padding:6}),o2=this.tooltipAnchorFromTopLeft(e2.x,e2.y,t2.box,i2.side,s2);return{...t2,...o2,side:i2.side}}tooltipTopLeftFromAnchor(t2){const s2=t2.box;if(!s2)return;const i2=t2.offset??10;return"top"===t2.side?{x:t2.cssX-s2.width/2,y:t2.cssY-i2-s2.height}:"bottom"===t2.side?{x:t2.cssX-s2.width/2,y:t2.cssY+i2}:"left"===t2.side?{x:t2.cssX-i2-s2.width,y:t2.cssY-s2.height/2}:{x:t2.cssX+i2,y:t2.cssY-s2.height/2}}tooltipTopLeftFromElement(t2){const s2=t2.getBoundingClientRect(),i2=this.host.getBoundingClientRect();if(Number.isFinite(s2.left)&&Number.isFinite(s2.top))return{x:s2.left-i2.left,y:s2.top-i2.top}}tooltipAnchorFromPositionLock(t2,s2,i2,e2){return i2?this.tooltipAnchorFromTopLeft(t2.x,t2.y,i2,s2,e2):{cssX:t2.x,cssY:t2.y}}tooltipPositionKeyForHit(t2){return`${t2.seriesIndex}:${t2.categoryIndex}`}tooltipPositionKeyForContext(t2){return`${t2.seriesIndex??0}:${t2.pointIndex??t2.index??0}`}rememberDraggableTooltipPosition(t2){t2.draggable&&t2.positionLock&&this.draggableTooltipPositions.set(this.tooltipPositionKeyForContext(t2.context),{lock:{...t2.positionLock},side:t2.side,box:t2.box})}lockedTooltipPositionForHit(t2,s2){if(s2.draggable){const s3=this.draggableTooltipPositions.get(this.tooltipPositionKeyForHit(t2));if(!s3)return;return{lock:{...s3.lock},side:s3.side,box:s3.box}}if(!s2.interactive||"multiple"===s2.openMode)return;const i2=this.positionedTooltipForRender();if(!i2?.box)return;if(i2.context.pointIndex!==t2.categoryIndex||i2.context.seriesIndex!==t2.seriesIndex)return;const e2=this.tooltipTopLeftFromAnchor(i2);return e2?{lock:e2,side:i2.side,box:i2.box}:void 0}tooltipAnchorFromTopLeft(t2,s2,i2,e2,o2){return"top"===e2?{cssX:t2+i2.width/2,cssY:s2+i2.height+o2}:"bottom"===e2?{cssX:t2+i2.width/2,cssY:s2-o2}:"left"===e2?{cssX:t2+i2.width+o2,cssY:s2+i2.height/2}:{cssX:t2-o2,cssY:s2+i2.height/2}}measureTooltipBox(){if(this.cartesianTooltips.length>0)return;const t2=this.cartesianTooltip,s2=this.tooltipElement;if(!t2||!s2)return;const i2=s2.getBoundingClientRect();if(!Number.isFinite(i2.width)||!Number.isFinite(i2.height))return;const e2=Math.round(100*i2.width)/100,o2=Math.round(100*i2.height)/100;if(t2.box?.width===e2&&t2.box?.height===o2)return;const n2={width:e2,height:o2},r2={...t2,box:n2};t2.positionLock&&Object.assign(r2,this.tooltipAnchorFromPositionLock(t2.positionLock,t2.side,n2,t2.offset??10)),this.rememberDraggableTooltipPosition(r2),this.cartesianTooltip=r2}handleTooltipActionClick=t2=>{const s2=t2.target,i2=s2?.closest?.("[data-tooltip-action]"),e2=i2?.dataset.tooltipAction,o2=Number(i2?.closest?.("[data-tooltip-id]")?.getAttribute("data-tooltip-id")),n2=this.cartesianTooltips.find((t3=>t3.id===o2))??this.cartesianTooltip;e2&&n2&&(t2.stopPropagation(),this.tooltipAction.emit({...n2.context,action:e2,text:n2.text,html:n2.html}))};handleTooltipPointerDown=t2=>{if(!this.cartesianTooltip?.draggable)return;const s2=t2.target;if(s2?.closest?.("[data-tooltip-action],button,a,input,textarea,select"))return;t2.preventDefault(),t2.stopPropagation();const i2=t2.currentTarget,e2=this.positionedTooltipForRender(this.cartesianTooltip)??this.cartesianTooltip,o2=this.tooltipTopLeftFromElement(i2)??this.tooltipTopLeftFromAnchor(e2)??{x:e2.cssX,y:e2.cssY},n2=this.cartesianTooltip.box??e2.box,r2={...this.cartesianTooltip,cssX:e2.cssX,cssY:e2.cssY,side:e2.side,box:n2,positionLock:o2};Object.assign(r2,this.tooltipAnchorFromPositionLock(o2,r2.side,n2,r2.offset??10)),this.cartesianTooltip=r2,this.rememberDraggableTooltipPosition(r2),i2.setPointerCapture?.(t2.pointerId),this.tooltipDrag={pointerId:t2.pointerId,startX:t2.clientX,startY:t2.clientY,originX:r2.cssX,originY:r2.cssY,originLockX:o2.x,originLockY:o2.y}};handleTooltipPointerMove=t2=>{const s2=this.tooltipDrag;if(!s2||s2.pointerId!==t2.pointerId||!this.cartesianTooltip)return;t2.preventDefault(),t2.stopPropagation();const i2={x:s2.originLockX+t2.clientX-s2.startX,y:s2.originLockY+t2.clientY-s2.startY},e2={...this.cartesianTooltip,positionLock:i2};Object.assign(e2,this.tooltipAnchorFromPositionLock(i2,e2.side,e2.box,e2.offset??10)),this.cartesianTooltip=e2,this.rememberDraggableTooltipPosition(e2)};handleTooltipPointerUp=t2=>{const s2=this.tooltipDrag;s2&&s2.pointerId===t2.pointerId&&(t2.stopPropagation(),this.cartesianTooltip&&this.rememberDraggableTooltipPosition(this.cartesianTooltip),t2.currentTarget.releasePointerCapture?.(t2.pointerId),this.tooltipDrag=void 0)};localPoint(t2){const s2=this.host.getBoundingClientRect();return{cssX:t2.clientX-s2.left,cssY:t2.clientY-s2.top}}dotFor(t2,s2){return t2.dots.find((t3=>t3.categoryIndex===s2.categoryIndex&&t3.seriesIndex===s2.seriesIndex))}handlePointerMove=t2=>{if(!this.enableMouseTracking)return;const s2=this.computeDotPlotLayout(),{cssX:i2,cssY:e2}=this.localPoint(t2);this.updateCrosshair(s2,i2,e2);const o2=this.resolveTooltipSpec(),n2=this.nearestDot(s2,i2,e2);if(!n2)return null!==this.hoverKey&&(this.hoverKey=null,this.pointHover.emit(null)),void(this.hasVisibleTooltips()&&this.shouldHideTooltipOnLeave(o2)&&this.clearTooltips());const r2=`${n2.categoryIndex}:${n2.seriesIndex}`;if(r2!==this.hoverKey&&(this.hoverKey=r2,this.pointHover.emit(n2)),o2.show&&this.shouldShowTooltipOnHover(o2)){const t3=this.dotFor(s2,n2);t3&&this.showTooltipForHit(s2,this.dotPlotHitFromDot(t3),o2)}else this.hasVisibleTooltips()&&this.shouldHideTooltipOnLeave(o2)&&this.clearTooltips()};handlePointerLeave=()=>{null!==this.hoverKey&&this.pointHover.emit(null),this.hoverKey=null,null!==this.cursor&&(this.cursor=null,this.crosshairMove.emit(null));const t2=this.resolveTooltipSpec();this.hasVisibleTooltips()&&this.shouldHideTooltipOnLeave(t2)&&this.clearTooltips()};updateCrosshair(t2,s2,i2){const e2=k(this.crosshair),{plot:o2}=t2;if(!e2.show||!(s2>=o2.x&&s2<=o2.x+o2.width&&i2>=o2.y&&i2<=o2.y+o2.height))return void(null!==this.cursor&&(this.cursor=null,this.crosshairMove.emit(null)));const n2=t2.rows.map((t3=>({pos:t3.centerY,index:t3.categoryIndex}))),r2=t2.dots.map((t3=>({cssX:t3.cx,cssY:t3.cy,index:t3.categoryIndex}))),a2=f(s2,i2,o2,"y",n2,r2,e2.snap);this.cursor&&this.cursor.cssX===a2.cssX&&this.cursor.cssY===a2.cssY||(this.cursor={cssX:a2.cssX,cssY:a2.cssY},this.crosshairMove.emit({cssX:a2.cssX,cssY:a2.cssY,snappedPointIndex:a2.index}))}crosshairLineBackground(t2,s2,i2){if(!i2||0===i2.length)return s2;const e2=Math.max(1,Number.isFinite(Number(i2[0]))?Number(i2[0]):4);return`repeating-linear-gradient(${"vertical"===t2?"to bottom":"to right"}, ${s2} 0px, ${s2} ${e2}px, transparent ${e2}px, transparent ${e2+Math.max(1,Number.isFinite(Number(i2[1]))?Number(i2[1]):e2)}px)`}renderCrosshair(t2){const s2=k(this.crosshair);if(!s2.show||!this.cursor)return null;const{plot:i2}=t2,o2=s2.color??"var(--sy-crosshair-color, rgba(17,24,39,0.4))",n2="horizontal"===s2.mode||"cross"===s2.mode;return e("div",{class:"sy-dot-plot-chart__crosshair",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",zIndex:"2"}},("vertical"===s2.mode||"cross"===s2.mode)&&e("div",{class:"sy-dot-plot-chart__crosshair-line",style:{position:"absolute",left:`${this.cursor.cssX}px`,top:`${i2.y}px`,width:"1px",height:`${i2.height}px`,background:this.crosshairLineBackground("vertical",o2,s2.dash)}}),n2&&e("div",{class:"sy-dot-plot-chart__crosshair-line",style:{position:"absolute",left:`${i2.x}px`,top:`${this.cursor.cssY}px`,width:`${i2.width}px`,height:"1px",background:this.crosshairLineBackground("horizontal",o2,s2.dash)}}))}handlePointerClick=t2=>{const s2=this.computeDotPlotLayout(),{cssX:i2,cssY:e2}=this.localPoint(t2),o2=this.nearestDot(s2,i2,e2),n2=o2?s2.rows.find((t3=>t3.categoryIndex===o2.categoryIndex))??null:null;if(o2&&null!==n2&&i2>=n2.minX-16&&i2<=n2.maxX+16){this.pointClick.emit(o2);const t3=this.resolveTooltipSpec();if(t3.show&&this.shouldShowTooltipOnClick(t3)){const i3=this.dotFor(s2,o2);i3&&this.showTooltipForHit(s2,this.dotPlotHitFromDot(i3),t3,true)}return}this.hasVisibleTooltips()&&this.clearTooltips();const{plot:r2}=s2;i2>=r2.x&&i2<=r2.x+r2.width&&e2>=r2.y&&e2<=r2.y+r2.height&&this.seriesOutsideClick.emit({cssX:i2,cssY:e2})};handleContextMenu=t2=>{const s2=this.computeDotPlotLayout(),{cssX:i2,cssY:e2}=this.localPoint(t2),o2=this.nearestDot(s2,i2,e2);o2&&this.pointContextMenu.emit(h(t2,this.host,"dot-plot",o2))};render(){const t2=(function(t3){if("pro"===t3.requested){const s3="no GPU dot-plot renderer exists";if("error"===a(t3.onUnavailable))throw new Error('sy-dot-plot-chart: Pro engine is unavailable — no GPU dot-plot renderer exists. Use engine="standard" or unavailable="fallback".');return console.warn(`[Syidax] sy-dot-plot-chart: Pro renderer unavailable, falling back to Standard (${s3}).`),{tier:"standard",fallbackReason:s3}}return{tier:"standard"}})({requested:this.engine,onUnavailable:this.unavailable});this.activeTier=t2.tier,this.fallbackReason=t2.fallbackReason;const s2=this.computeDotPlotLayout(),i2=this.animator.has(H),n2=this.animator.has(R)&&void 0!==this.morphFromDots,r2=i2?this.revealProgress():1,h2=n2?this.morphProgress():1,l2=Math.max(1,this.markerSize);this.lastRenderResult={points:s2.dots.length,renderMs:0},this.pendingRenderedEmit=true,this.srAnnouncement=this.srSummary(s2.model);const c2=new Map(s2.rows.map((t3=>[t3.categoryIndex,t3]))),d2=s2.dots.map((t3=>{const s3=`${t3.categoryIndex}:${t3.seriesIndex}`;let e2=t3.cx,o2=t3.cy,a2=1,l3=1;if(n2){const i3=this.morphFromDots.get(s3);i3?(e2=i3.cx+(t3.cx-i3.cx)*h2,o2=i3.cy+(t3.cy-i3.cy)*h2):(a2=h2,l3=.4+.6*h2)}else if(i2){const s4=c2.get(t3.categoryIndex),i3=s4?s4.minX:t3.cx,e3=(s4?s4.maxX:t3.cx)-i3;if(e3<1)a2=r2;else{const s5=i3+e3*r2,o3=t3.cx<=i3+.5,n3=Math.max(24,.4*e3);a2=o3?Math.max(0,Math.min(1,r2/.35)):Math.max(0,Math.min(1,(s5-t3.cx)/n3))}l3=.45+.55*a2}return{dot:t3,key:s3,cx:e2,cy:o2,opacity:a2,scale:l3}})),u2=new Map;return d2.forEach((t3=>u2.set(t3.key,{cx:t3.cx,cy:t3.cy}))),this.displayedDots=u2,e(o,{style:{position:"relative",display:"inline-block",width:`${this.width}px`,height:`${this.height}px`},role:"figure","aria-label":this.chartTitle??"Dot plot","data-sy-brand-host":"chart"},this.renderAxisOverlay(s2),e("svg",{class:"sy-dot-plot-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.showRowLines&&s2.model.seriesCount>1&&e("g",{class:"sy-dot-plot-chart__rows"},s2.rows.map((t3=>{const s3=d2.filter((s4=>s4.dot.categoryIndex===t3.categoryIndex));if(0===s3.length)return null;const o2=i2?t3.minX:Math.min(...s3.map((t4=>t4.cx))),n3=i2?t3.minX+(t3.maxX-t3.minX)*r2:Math.max(...s3.map((t4=>t4.cx))),a2=i2?r2:1;return e("line",{key:`row-${t3.categoryIndex}`,class:"sy-dot-plot-chart__row-line",x1:G(o2),y1:G(t3.centerY),x2:G(n3),y2:G(t3.centerY),stroke:"#cbd5e1","stroke-width":2,"stroke-linecap":"round",opacity:G(a2)})}))),e("g",{class:"sy-dot-plot-chart__dots"},d2.map((({dot:t3,key:i3,cx:o2,cy:n3,opacity:r3,scale:a2})=>{if(r3<=.004)return null;const h3=Math.max(.5,(this.hoverKey===i3?l2+1.5:l2)*a2),c3=s2.visibleOriginalIndex[t3.seriesIndex]??t3.seriesIndex,d3=s2.model.categories[t3.categoryIndex]?.sourceIndex??t3.categoryIndex,u3=this.data[d3]?.colors?.[c3],p2=u3??this.seriesColor(c3),m2=this.data[d3]?.markers?.[c3],f2=m2??this.markerForGroup(c3);return"circle"===f2?e("circle",{key:`d-${t3.categoryIndex}-${t3.seriesIndex}`,class:"sy-dot-plot-chart__dot",cx:G(o2),cy:G(n3),r:G(h3),fill:p2,stroke:"#fff","stroke-width":1.5,opacity:G(r3)}):e("path",{key:`d-${t3.categoryIndex}-${t3.seriesIndex}`,class:"sy-dot-plot-chart__dot",d:j(f2,o2,n3,h3),fill:p2,stroke:"#fff","stroke-width":1.5,opacity:G(r3)})})))),this.renderCrosshair(s2),this.legend&&this.groups.length>1&&this.renderLegend(s2),this.renderTooltipConnector(),this.renderTooltip(),e("span",{class:"sy-dot-plot-chart__sr-only","aria-live":"polite",role:"status"},this.srAnnouncement),this.fallbackReason&&e("span",{class:"sy-dot-plot-chart__watermark",title:this.fallbackReason},"Syidax - fell back to standard renderer"),v(this.host,this.brandLogo,{width:this.width,height:this.height,plot:s2.plot}))}renderAxisOverlay(t2){const{frame:s2,outer:i2,plot:o2}=t2,n2=t2.model.categories.map((t3=>t3.label)),r2=t2.model.categories.map((s3=>X(o2,s3.index,t2.model.categoryCount))),a2=g({labels:n2,centers:r2,orientation:"left",mode:this.xLabelMode,rotationDeg:this.xLabelRotation,maxCount:this.xLabelMaxCount});return e("div",{class:"sy-dot-plot-chart__axis-overlay","aria-hidden":"true",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none"}},s2.titleRect&&this.chartTitle&&e("div",{class:"sy-dot-plot-chart__title",style:{position:"absolute",left:`${i2.x}px`,top:`${i2.y+s2.titleRect.y}px`,width:`${i2.width}px`,textAlign:"center",font:"600 14px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},this.chartTitle),s2.subtitleRect&&this.chartSubtitle&&e("div",{class:"sy-dot-plot-chart__subtitle",title:this.chartSubtitle,style:{position:"absolute",left:`${i2.x}px`,top:`${i2.y+s2.subtitleRect.y}px`,width:`${i2.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),s2.xGridLines.map((t3=>e("div",{class:"sy-dot-plot-chart__grid-line",style:{position:"absolute",left:`${i2.x+t3.x}px`,top:`${o2.y}px`,width:"1px",height:`${o2.height}px`,background:"var(--sy-axis-grid-color, rgba(0,0,0,0.06))"}}))),s2.xTicks.map((t3=>e("div",{class:"sy-dot-plot-chart__axis-label sy-dot-plot-chart__axis-label--x",style:{position:"absolute",left:i2.x+t3.position-28+"px",top:`${o2.y+o2.height+4}px`,width:"56px",textAlign:"center",font:"400 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)"}},(t4=>t4.label??String(t4.value))(t3)))),t2.model.categories.map(((s3,n3)=>{if(!a2.visible[n3])return null;const r3=a2.rotationDeg>0?{transform:`rotate(-${a2.rotationDeg}deg)`,transformOrigin:"right center"}:{};return e("div",{class:"sy-dot-plot-chart__cat-label",style:{position:"absolute",left:`${i2.x}px`,top:X(o2,s3.index,t2.model.categoryCount)-8+"px",width:o2.x-i2.x-6+"px",textAlign:"right",font:"400 11px system-ui, sans-serif",color:"var(--sy-axis-color, #111827)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",...r3}},s3.label)})),e("div",{class:"sy-dot-plot-chart__axis-line",style:{position:"absolute",left:`${o2.x}px`,top:`${o2.y+o2.height}px`,width:`${o2.width}px`,height:"1px",background:"var(--sy-axis-line-color, rgba(17,24,39,0.42))"}}),e("div",{class:"sy-dot-plot-chart__axis-line",style:{position:"absolute",left:`${o2.x}px`,top:`${o2.y}px`,width:"1px",height:`${o2.height}px`,background:"var(--sy-axis-line-color, rgba(17,24,39,0.42))"}}))}renderLegend(t2){const s2=t2.legend;if(!s2?.legendRect)return null;const i2=s2.legendRect,o2="left"===this.legendPosition||"right"===this.legendPosition,n2=this.streamSeries()??this.toSeries();return e("div",{class:"sy-dot-plot-chart__legend",style:{position:"absolute",left:`${i2.x}px`,top:`${i2.y}px`,width:`${i2.width}px`,height:`${i2.height}px`,display:"flex",flexDirection:o2?"column":"row",flexWrap:"wrap",gap:"14px",alignItems:"center",justifyContent:"center",font:"400 12px system-ui, sans-serif",pointerEvents:"auto"}},n2.map(((t3,s3)=>{const i3=this.seriesId(t3,s3),o3=this.legendDisabled.has(i3);return e("button",{type:"button",key:`lg-${s3}`,class:{"sy-dot-plot-chart__legend-item":true,"sy-dot-plot-chart__legend-item--disabled":o3},style:{display:"inline-flex",alignItems:"center",gap:"6px",border:"none",background:"none",padding:"0",cursor:"pointer",pointerEvents:"auto",font:"inherit",color:"inherit",opacity:o3?"0.4":"1",textDecoration:o3?"line-through":"none"},onClick:()=>this.toggleSeries(i3,s3)},e("span",{class:"sy-dot-plot-chart__legend-swatch",style:{width:"10px",height:"10px",borderRadius:"50%",background:this.seriesColor(s3)}}),e("span",{class:"sy-dot-plot-chart__legend-label"},t3.name??String(s3)))})))}async getEngineStatus(){return D({requested:this.engine,onUnavailable:this.unavailable,renderer:"dot-plot"})}static get watchers(){return{data:[{handleValuesChange:0}],groups:[{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}],color:[{handleVisualChange:0}],marker:[{handleVisualChange:0}],markerSize:[{handleVisualChange:0}],showRowLines:[{handleVisualChange:0}],sortDescending:[{handleVisualChange:0}],valueAxisLabel:[{handleVisualChange:0}],gridLines:[{handleVisualChange:0}],chartTitle:[{handleVisualChange:0}],chartSubtitle:[{handleVisualChange:0}],legend:[{handleVisualChange:0}],legendPosition:[{handleVisualChange:0}],width:[{handleVisualChange:0}],height:[{handleVisualChange:0}],engine:[{handleVisualChange:0}],unavailable:[{handleVisualChange:0}],xLabelMode:[{handleVisualChange:0}],xLabelRotation:[{handleVisualChange:0}],xLabelMaxCount:[{handleVisualChange:0}]}}};function G(t2){return Math.round(100*t2)/100}B.style=".sc-sy-dot-plot-chart-h{display:inline-block;position:relative}.sy-dot-plot-chart__surface.sc-sy-dot-plot-chart{display:block}.sy-dot-plot-chart__dot.sc-sy-dot-plot-chart{transition:opacity 120ms ease}.sy-dot-plot-chart__tooltip.sc-sy-dot-plot-chart,.sy-dot-plot-chart__legend.sc-sy-dot-plot-chart{pointer-events:none}.sy-dot-plot-chart__sr-only.sc-sy-dot-plot-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-dot-plot-chart__watermark.sc-sy-dot-plot-chart{position:absolute;right:6px;bottom:4px;font:400 10px system-ui,sans-serif;color:#b45309;pointer-events:none;opacity:.75}";export{B as sy_dot_plot_chart};
|