@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
|
+
"use strict";var index=require("./index-CKeHnO3Q.js");var safeFormatter=require("./safe-formatter-B0DDURao.js");var waferValue=require("./wafer-value-CZzFL0S-.js");var types=require("./types-jSXHeK-g.js");var pointContextMenu=require("./point-context-menu-CWB4nv9m.js");var parse=require("./parse-CoFqMZ-2.js");var interpolate=require("./interpolate-BWPQ5Hyd.js");var chartStreamingGate=require("./chart-streaming-gate-DX4tlXCx.js");var streamInterp=require("./stream-interp-CVi5SGFf.js");var legend=require("./legend-CbjQG1uh.js");var legendInteraction=require("./legend-interaction-Cc6htppF.js");var chartBrand=require("./chart-brand-CEKOnWyE.js");var zoomInteraction=require("./zoom-interaction-C3K9MKr2.js");var viewportZoom=require("./viewport-zoom-h9w4q7XJ.js");var scheme=require("./scheme-KzZHS7kW.js");var resolve=require("./resolve-Cti85ZtE.js");var standardEngineStatus=require("./standard-engine-status-C4zMZsEh.js");require("./chart-license-bridge-DAODso1A.js");require("./errors-DNua3ZWy.js");require("./brand-mark-default-DvQHU2qS.js");require("./zoom-window-oCyi6HPg.js");function resolveWaferDefects(data,wafer){const points=[];const counts=new Map;let offWafer=0;const rSq=wafer.radius*wafer.radius;if(Array.isArray(data)){for(const datum of data){if(!datum||typeof datum!=="object")continue;const x=datum.x;const y=datum.y;if(typeof x!=="number"||typeof y!=="number"||!Number.isFinite(x)||!Number.isFinite(y))continue;if(x*x+y*y>rSq){offWafer+=1;continue}const classKey=datum.class===void 0||datum.class===null?"":types.binKey(datum.class);const size=typeof datum.size==="number"&&Number.isFinite(datum.size)&&datum.size>0?datum.size:void 0;points.push({x,y,classKey,size});counts.set(classKey,(counts.get(classKey)??0)+1)}}const keys=types.sortedBinKeys([...counts.keys()].filter(k=>k!==""));const byClass=keys.map(key=>({key,count:counts.get(key)??0}));if(counts.has(""))byClass.push({key:"",count:counts.get("")??0});return{points,byClass,total:points.length,offWafer}}function defectRadius(size){if(size===void 0)return 1.6;return Math.min(4,Math.max(1.2,1.2+Math.log10(1+size)*1.1))}function resolveDefectClassColors(byClass,palette,defectColor){const map=new Map;const cycle=palette.length>0?palette:[defectColor];let i=0;for(const entry of byClass){if(entry.key===""){map.set("",defectColor);continue}map.set(entry.key,cycle[i%cycle.length]);i+=1}return map}function resolveShotSpec(input={}){const cols=Number.isFinite(input.shotCols)?Math.max(1,Math.floor(input.shotCols)):3;const rows=Number.isFinite(input.shotRows)?Math.max(1,Math.floor(input.shotRows)):2;return{shotCols:cols,shotRows:rows,shotOffsetX:Number.isFinite(input.shotOffsetX)?Math.floor(input.shotOffsetX):0,shotOffsetY:Number.isFinite(input.shotOffsetY)?Math.floor(input.shotOffsetY):0}}function shotOf(spec,col,row){return{shotCol:Math.floor((col-spec.shotOffsetX)/spec.shotCols),shotRow:Math.floor((row-spec.shotOffsetY)/spec.shotRows)}}function computeShotBoundaries(wafer,grid,extent,spec){const radius=wafer.radius;const vertical=[];const horizontal=[];for(let col=extent.minCol;col<=extent.maxCol+1;col+=1){if(((col-spec.shotOffsetX)%spec.shotCols+spec.shotCols)%spec.shotCols!==0)continue;const x=grid.offsetX+col*grid.pitchX-grid.pitchX/2;if(Math.abs(x)>=radius)continue;const half=Math.sqrt(radius*radius-x*x);vertical.push({at:x,from:-half,to:half})}for(let row=extent.minRow;row<=extent.maxRow+1;row+=1){if(((row-spec.shotOffsetY)%spec.shotRows+spec.shotRows)%spec.shotRows!==0)continue;const y=grid.offsetY+row*grid.pitchY-grid.pitchY/2;if(Math.abs(y)>=radius)continue;const half=Math.sqrt(radius*radius-y*y);horizontal.push({at:y,from:-half,to:half})}return{vertical,horizontal}}function computeWaferMapLayout(wafer,grid,options){const padding=Number.isFinite(options.padding)?Math.max(0,options.padding):12;const headerHeight=Number.isFinite(options.headerHeight)?Math.max(0,options.headerHeight):0;const footerHeight=Number.isFinite(options.footerHeight)?Math.max(0,options.footerHeight):0;const leftWidth=Number.isFinite(options.leftWidth)?Math.max(0,options.leftWidth):0;const rightWidth=Number.isFinite(options.rightWidth)?Math.max(0,options.rightWidth):0;const availWidth=Math.max(16,options.width-leftWidth-rightWidth-padding*2);const availHeight=Math.max(16,options.height-headerHeight-footerHeight-padding*2);const scale=Math.min(availWidth,availHeight)/wafer.diameter;const cx=leftWidth+(options.width-leftWidth-rightWidth)/2;const cy=headerHeight+padding+availHeight/2;const gridResult=waferValue.computeDieGrid(wafer,grid);const orientation=wafer.orientation;const quarter=waferValue.isQuarterTurn(orientation);const seenW=(quarter?grid.dieHeight:grid.dieWidth)*scale;const seenH=(quarter?grid.dieWidth:grid.dieHeight)*scale;const dies=gridResult.dies.map(die=>{const view=waferValue.rotateToView(die.cx,die.cy,orientation);return{col:die.col,row:die.row,x:cx+view.x*scale-seenW/2,y:cy+view.y*scale-seenH/2,width:seenW,height:seenH,status:die.status}});return{scale,cx,cy,radiusPx:wafer.radius*scale,effectiveRadiusPx:wafer.effectiveRadius*scale,dies,grid:gridResult}}function resolveDieIndexSpec(input={}){return{origin:input.origin==="center"?"center":"top-left",base:input.base===1?1:0}}function computeDieIndex(grid,specInput={}){const spec=resolveDieIndexSpec(specInput);const byCell=new Map;const byIndex=new Map;const entries=[];const shiftX=spec.origin==="top-left"?spec.base-grid.minCol:0;const shiftY=spec.origin==="top-left"?spec.base-grid.minRow:0;grid.dies.forEach((die,position)=>{const entry={col:die.col,row:die.row,ix:die.col+shiftX,iy:die.row+shiftY,ordinal:position+spec.base,status:die.status};entries.push(entry);byCell.set(`${die.col},${die.row}`,entry);byIndex.set(`${entry.ix},${entry.iy}`,entry)});return{entries,spec,minIx:grid.minCol+shiftX,maxIx:grid.maxCol+shiftX,minIy:grid.minRow+shiftY,maxIy:grid.maxRow+shiftY,byCell,byIndex}}function pickWaferMapEngine(options){if(options.requested==="pro"){const reason="no GPU wafer renderer exists";if(pointContextMenu.normalizeUnavailableBehaviour(options.onUnavailable)==="error"){throw new Error('sy-wafer-map: Pro engine is unavailable — no GPU wafer renderer exists. Use engine="standard" or unavailable="fallback".')}console.warn(`[Syidax] sy-wafer-map: Pro renderer unavailable, falling back to Standard (${reason}).`);return{tier:"standard",fallbackReason:reason}}return{tier:"standard"}}class WaferMapStandardRenderer{draw(ctx,options){const start=typeof performance!=="undefined"?performance.now():0;ctx.save();ctx.scale(options.dpr,options.dpr);if(options.clip&&typeof Path2D!=="undefined"){ctx.translate(options.clip.cx,options.clip.cy);ctx.scale(options.clip.scale,options.clip.scale);ctx.clip(new Path2D(options.clip.d));ctx.scale(1/options.clip.scale,1/options.clip.scale);ctx.translate(-options.clip.cx,-options.clip.cy)}const byFill=new Map;for(const die of options.dies){if(die.width<=0||die.height<=0)continue;const bucket=byFill.get(die.fill);if(bucket)bucket.push(die);else byFill.set(die.fill,[die])}for(const[fill,dies]of byFill){ctx.fillStyle=fill;for(const die of dies)ctx.fillRect(die.x,die.y,die.width,die.height)}const minDie=options.edgeMinDiePx??3;const smallest=options.dies.reduce((m,d)=>Math.min(m,d.width,d.height),Infinity);if(options.dies.length>0&&smallest>=minDie){ctx.strokeStyle=options.edge;ctx.lineWidth=1;for(const die of options.dies){if(die.width<=0||die.height<=0)continue;ctx.strokeRect(die.x+.5,die.y+.5,Math.max(0,die.width-1),Math.max(0,die.height-1))}}ctx.restore();const end=typeof performance!=="undefined"?performance.now():0;return{dies:options.dies.length,renderMs:end-start}}drawDefects(ctx,options){ctx.save();ctx.scale(options.dpr,options.dpr);if(options.clip&&typeof Path2D!=="undefined"){ctx.translate(options.clip.cx,options.clip.cy);ctx.scale(options.clip.scale,options.clip.scale);ctx.clip(new Path2D(options.clip.d));ctx.scale(1/options.clip.scale,1/options.clip.scale);ctx.translate(-options.clip.cx,-options.clip.cy)}const byFill=new Map;for(const point of options.points){const bucket=byFill.get(point.fill);if(bucket)bucket.push(point);else byFill.set(point.fill,[point])}for(const[fill,points]of byFill){ctx.fillStyle=fill;ctx.beginPath();for(const point of points){ctx.moveTo(point.x+point.radius,point.y);ctx.arc(point.x,point.y,point.radius,0,Math.PI*2)}ctx.fill()}ctx.restore();return{defects:options.points.length}}}function createWaferStreamSource(){const error=new Error("Dedicated streaming requires @syidax/advanced-pro");error.code="module-missing";error.feature="chart.streaming";throw error}const WAFER_STREAM_DEFAULT_CAPACITY=1e6;function waferDieKey(col,row){return`${col},${row}`}function resolveStreamWindow(raw){const n=typeof raw==="string"?Number(raw):raw;return typeof n==="number"&&Number.isFinite(n)&&n>0?Math.floor(n):void 0}function windowedStreamDies(snapshot,window2){const n=resolveStreamWindow(window2);return n!==void 0&&snapshot.length>n?snapshot.slice(snapshot.length-n):snapshot}function streamOverlayOf(dies){const overlay=new Map;for(const datum of dies)overlay.set(waferDieKey(datum.col,datum.row),datum);return overlay}function streamOverlayDiff(previous,next){const changed=[];for(const[key,datum]of next)if(previous.get(key)!==datum)changed.push(key);for(const key of previous.keys())if(!next.has(key))changed.push(key);return changed}function applyWaferEasing(t,easing){const x=clamp01(t);switch(easing){case"linear":return x;case"ease-out":return 1-(1-x)*(1-x)*(1-x);case"ease-in":return x*x*x;case"ease-in-out":return x<.5?4*x*x*x:1-Math.pow(-2*x+2,3)/2;default:return x}}function clamp01(value){if(!Number.isFinite(value)||value<=0)return 0;if(value>=1)return 1;return value}function createWaferAnimator(){const entries=new Map;function elapsed(entry,now){if(entry.startedAt<0)return entry.pausedElapsed;if(entry.paused)return entry.pausedElapsed;return Math.max(0,now-entry.startedAt+entry.pausedElapsed)}function rawProgress(entry,now){if(entry.duration<=0)return 1;return clamp01(elapsed(entry,now)/entry.duration)}return{start(key,opts){entries.set(key,{startedAt:-1,pausedElapsed:0,paused:false,duration:Math.max(0,opts.duration),easing:opts.easing})},progressAt(key,now){const entry=entries.get(key);if(!entry)return void 0;if(entry.startedAt<0&&!entry.paused)entry.startedAt=now;return applyWaferEasing(rawProgress(entry,now),entry.easing)},has(key){return entries.has(key)},isActive(key,now){const entry=entries.get(key);if(!entry)return false;if(entry.paused)return true;return rawProgress(entry,now)<1},tick(now){const done=[];for(const[key,entry]of entries){if(entry.startedAt<0&&!entry.paused)entry.startedAt=now;if(entry.paused)continue;if(rawProgress(entry,now)>=1)done.push(key)}for(const key of done)entries.delete(key)},pauseAll(now){for(const entry of entries.values()){if(entry.paused)continue;if(entry.startedAt>=0)entry.pausedElapsed+=now-entry.startedAt;entry.paused=true}},resumeAll(now){for(const entry of entries.values()){if(!entry.paused)continue;entry.startedAt=now;entry.paused=false}},hasActive(){for(const entry of entries.values())if(!entry.paused)return true;return false},cancel(key){entries.delete(key)},clear(){entries.clear()},entries(){return entries}}}const WAFER_REVEAL_STAGGER=.55;function revealDieScale(reveal,radial,stagger=WAFER_REVEAL_STAGGER){const r=clamp01(reveal);if(r>=1)return 1;const s=Math.min(.95,clamp01(stagger));return clamp01((r-clamp01(radial)*s)/(1-s))}const parsedFills=new Map;function parsedFill(css){const cached=parsedFills.get(css);if(cached!==void 0)return cached;if(parsedFills.size>4096)parsedFills.clear();const parsed=parse.parseColor(css);parsedFills.set(css,parsed);return parsed}function mixDieFill(from,to,t){if(from===to||t>=1)return to;if(t<=0)return from;const a=parsedFill(from);const b=parsedFill(to);if(!a||!b)return to;const c=interpolate.interpolateRgb(a,b)(clamp01(t));return c.a>=1?`rgb(${c.r}, ${c.g}, ${c.b})`:`rgba(${c.r}, ${c.g}, ${c.b}, ${Math.round(c.a*1e3)/1e3})`}const WAFER_LEGEND_POSITIONS=["top","bottom","left","right","float"];const WAFER_LEGEND_FONT_SIZE=11;const WAFER_LEGEND_LABEL_HEIGHT=11;const WAFER_LEGEND_SWATCH_SIZE=10;const WAFER_LEGEND_SWATCH_LABEL_GAP=4;const WAFER_LEGEND_ITEM_GAP=12;const WAFER_LEGEND_ROW_GAP=4;const WAFER_LEGEND_BIN_CAP=8;const WAFER_LEGEND_FOLD_SLOT=44;const WAFER_LEGEND_OVERFLOW_ID="__overflow";const WAFER_LEGEND_YIELD_ID="__yield";function resolveWaferLegendPosition(raw){return typeof raw==="string"&&WAFER_LEGEND_POSITIONS.includes(raw)?raw:"bottom"}function waferLegendLabelWidth(label){return label.length*6.4}function waferLegendMeasure(label){return{width:waferLegendLabelWidth(label),height:WAFER_LEGEND_LABEL_HEIGHT}}function waferLegendPadding(position){if(position==="float")return{top:8,right:8,bottom:8,left:8};if(position==="left"||position==="right")return{top:12,right:12,bottom:12,left:12};return{top:8,right:12,bottom:7,left:12}}function waferBinLegendItems(summary,options={}){const cap=Math.max(1,Math.floor(options.cap??WAFER_LEGEND_BIN_CAP));const capped=summary.slice(0,cap);const byWidth=typeof options.availableWidth==="number"&&Number.isFinite(options.availableWidth);const items=[];let x=0;let shown=0;for(let i=0;i<capped.length;i+=1){const entry=capped[i];const label=`${entry.key} · ${entry.count} · ${Math.round(entry.share*100)}%`;if(byWidth){const boxWidth=WAFER_LEGEND_SWATCH_SIZE+WAFER_LEGEND_SWATCH_LABEL_GAP+waferLegendLabelWidth(label);const candidate=shown===0?boxWidth:x+WAFER_LEGEND_ITEM_GAP+boxWidth;const isFinal=i===capped.length-1&&capped.length===summary.length;const limit=(isFinal?options.availableWidth:options.availableWidth-WAFER_LEGEND_FOLD_SLOT)-WAFER_LEGEND_ITEM_GAP;if(candidate>limit&&shown>0)break;x=candidate}items.push({label,swatchColor:entry.color,swatchShape:"square",id:entry.key});shown+=1}const overflow=summary.length-shown;if(overflow>0)items.push({label:`+${overflow} more`,swatchColor:"transparent",swatchShape:"square",id:WAFER_LEGEND_OVERFLOW_ID});return{items,overflow,shown}}function waferBinaryLegendItems(summary,colors){if(summary.probed===0)return[];return[{label:`pass ${summary.pass}`,swatchColor:colors.pass,swatchShape:"square",id:"pass"},{label:`fail ${summary.fail}`,swatchColor:colors.fail,swatchShape:"square",id:"fail"},{label:`yield ${(summary.yield*100).toFixed(1)}%`,swatchColor:"transparent",swatchShape:"square",id:WAFER_LEGEND_YIELD_ID}]}function isWaferLegendTextItem(item){return item.id===WAFER_LEGEND_OVERFLOW_ID||item.id===WAFER_LEGEND_YIELD_ID}const syWaferMapCss=()=>`.sc-sy-wafer-map-h{display:inline-block;position:relative}.sy-wafer-map__underlay.sc-sy-wafer-map,.sy-wafer-map__surface.sc-sy-wafer-map,.sy-wafer-map__overlay.sc-sy-wafer-map{display:block}.sy-wafer-map__title.sc-sy-wafer-map{fill:#0f172a}.sy-wafer-map.sc-sy-wafer-map:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.sy-wafer-map__sr-only.sc-sy-wafer-map{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.sy-wafer-map__watermark.sc-sy-wafer-map{position:absolute;top:4px;right:6px;font-size:10px;line-height:1;padding:2px 6px;background:hsla(0,0%,100%,.85);border:1px solid #e5e7eb;border-radius:999px;color:#6b7280;pointer-events:none}.sy-wafer-map__subtitle.sc-sy-wafer-map{fill:#64748b}`;const REVEAL_KEY="reveal";const MORPH_KEY="morph";const SyWaferMap=class{constructor(hostRef){index.registerInstance(this,hostRef);this.rendered=index.createEvent(this,"rendered",7);this.dieHover=index.createEvent(this,"dieHover",7);this.dieClick=index.createEvent(this,"dieClick",7);this.dieSelect=index.createEvent(this,"dieSelect",7);this.pointContextMenu=index.createEvent(this,"pointContextMenu",7);this.appended=index.createEvent(this,"appended",7);this.windowSlid=index.createEvent(this,"windowSlid",7);this.chartAnimationStart=index.createEvent(this,"chartAnimationStart",7);this.chartAnimationEnd=index.createEvent(this,"chartAnimationEnd",7);this.chartAnimationInterrupted=index.createEvent(this,"chartAnimationInterrupted",7);this.binChanged=index.createEvent(this,"binChanged",7);this.zoomChange=index.createEvent(this,"zoomChange",7)}get host(){return index.getElement(this)}width=520;height=500;brandLogo;brandPosition="bottom-right";diameter=300;edgeExclusion=3;indicator="notch";orientation="down";flatLength;notchDepth;dieWidth=10;dieHeight=10;scribeX=.2;scribeY=.2;offsetX=0;offsetY=0;values;mode="grid";binColors;passBin=1;passColor="#16a34a";failColor="#dc2626";colorAxis="auto";showStats=true;overlay="none";grid="die";shotCols=3;shotRows=2;shotOffsetX=0;shotOffsetY=0;shotColor="#334155";defects;defectColor="#0f172a";palette="tableau10";binLegend=true;legendPosition="bottom";legendFloatAlign="end";legendFloatVerticalAlign="top";legendDraggable=false;showPartial=true;showExclusion=true;dieIndexOrigin="top-left";dieIndexBase=0;showDieIndex=false;waferColor="#eef2f7";dieColor="#cbd5e1";partialColor="#e2e8f0";dataColor="#2563eb";edgeColor="rgba(255,255,255,0.9)";outlineColor="#64748b";chartTitle;chartSubtitle;tooltipShow=true;tooltipFormat;zoom;streamSource;streamMax;streamWindow;animated=false;animationDuration=600;animationEasing="ease-out";animationType;engine="auto";unavailable="fallback";rendered;dieHover;dieClick;dieSelect;pointContextMenu;appended;windowSlid;chartAnimationStart;chartAnimationEnd;chartAnimationInterrupted;binChanged;zoomChange;activeTier="standard";fallbackReason;hoverDie=null;selectedDie=null;srAnnouncement="";zoomState=null;zoomSelection=null;legendFloatPosition;legendDrag;legendFrame=null;legendReserve={top:0,bottom:0,left:0,right:0};zoomInteraction=new zoomInteraction.ZoomInteraction(this.zoomInteractionHost());canvasElement;renderer=new WaferMapStandardRenderer;layoutCache;dieIndexCache;lastRenderResult={dies:0,fullDies:0,partialDies:0,renderMs:0};pendingRenderedEmit=false;animationTick=0;animator=createWaferAnimator();animationFrameHandle=null;lastStreamTime;morph=null;morphVersion=0;displayedFills=new Map;displayedLayoutKey;lastPaintWasMotion=false;internalStreamSource;boundStreamSource;streamUnsubscribe;streamLicense=new chartStreamingGate.ChartStreamingGate({host:()=>this.host,input:()=>this.streamSource?"streamSource":resolveStreamWindow(this.streamMax)!==void 0?"streamMax":resolveStreamWindow(this.streamWindow)!==void 0?"streamWindow":null,active:()=>this.boundStreamSource!==void 0||this.internalStreamSource!==void 0,onChange:change=>this.handleStreamLicenseChange(change)});streamOverlay=new Map;liveCache;streamFrozenValues;hasLoaded=false;detached=false;connectedCallback(){this.detached=false;this.streamLicense.connect();if(!this.hasLoaded)return;this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false});this.bindStreamSource();void this.paintDies()}componentDidLoad(){this.hasLoaded=true;this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false});this.bindStreamSource();if(this.shouldInitialAnimation())this.startReveal();this.paintDies()}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.stopAnimationLoop();this.animator.clear();this.morph=null}componentDidRender(){if(this.detached)return;this.paintDies();if(this.pendingRenderedEmit){this.pendingRenderedEmit=false;this.rendered.emit({...this.lastRenderResult,tier:this.activeTier})}}onValuesChange(){const shown=this.liveCache!==void 0;this.liveCache=void 0;if(shown&&this.shouldUpdateAnimation())this.startMorph(this.animationDuration);this.paintDies()}handleStreamSourceChange(){this.bindStreamSource()}handleStreamWindowChange(){if(this.streamLicense.frozen)return;const source=this.displayedStreamSource();if(this.streamLicense.route(void 0,source!==void 0)!=="stream")return;this.adoptStreamSource(source)}handleAnimationToggle(){if(this.shouldInitialAnimation()){this.startReveal();return}if(this.animator.hasActive())this.chartAnimationInterrupted.emit();this.animator.clear();this.stopAnimationLoop();this.finishMorph();this.animationTick++}onDefectsChange(){this.paintDies()}defectState(){return resolveWaferDefects(this.overlay==="defect"?this.defects:void 0,this.waferSpec())}async getDefectSummary(){const result=resolveWaferDefects(this.defects,this.waferSpec());return{total:result.total,offWafer:result.offWafer,byClass:result.byClass.map(c=>({...c}))}}shotSpec(){return resolveShotSpec({shotCols:this.shotCols,shotRows:this.shotRows,shotOffsetX:this.shotOffsetX,shotOffsetY:this.shotOffsetY})}async getShotOf(col,row){return shotOf(this.shotSpec(),col,row)}async hitTestDie(cssX,cssY){return this.dieDetailAtPoint(cssX,cssY)}async selectDie(col,row){const detail=this.dieDetailFor(col,row);if(detail)this.applySelection(detail,false);return detail}async clearDieSelection(){if(this.selectedDie){this.selectedDie=null;this.dieSelect.emit(null)}}async getSelectedDie(){return this.selectedDie}async zoomTo(request){return this.zoomInteraction.zoomTo(request)}async zoomBy(factor,anchorFraction=.5){return this.zoomInteraction.zoomBy(factor,anchorFraction)}async panBy(delta){return this.zoomInteraction.panBy(delta)}async resetZoom(){return this.zoomInteraction.reset()}async getZoom(){return this.zoomState}async getZoomExtent(request){return this.zoomInteraction.extent(request)}zoomSpec(){return zoomInteraction.resolveCartesianZoomSpec(this.zoom)}zoomRect(){const header=this.headerHeight();const reserve=this.legendReserve;return{x:reserve.left,y:header+reserve.top,width:Math.max(0,this.width-reserve.left-reserve.right),height:Math.max(0,this.height-header-reserve.top-reserve.bottom)}}zoomTransform(){return viewportZoom.viewportZoomTransform(this.zoomRect(),this.zoomState)}contentPoint(x,y){const t=this.zoomTransform();if(!t.zoomed)return{x,y};const rect=this.zoomRect();if(x<rect.x||x>rect.x+rect.width||y<rect.y||y>rect.y+rect.height)return null;return viewportZoom.fromViewport(t,x,y)}zoomInteractionHost(){return{frame:()=>viewportZoom.viewportZoomFrame(this.zoomRect(),this.zoomState),spec:()=>this.zoomSpec(),state:()=>this.zoomState,apply:next=>{this.zoomState=next},emit:detail=>{this.zoomChange.emit(detail)},selection:rect=>{this.zoomSelection=rect},standDown:()=>this.zoomStandDown()}}zoomStandDown(){if(this.hoverDie){this.hoverDie=null;this.dieHover.emit(null)}}hostCoords(e){const stage=this.host.querySelector(".sy-wafer-map")??this.host;const rect=stage.getBoundingClientRect();return{x:e.clientX-rect.left,y:e.clientY-rect.top}}zoomPointerInput(e){const point=this.hostCoords(e);return{pointerId:e.pointerId,x:point.x,y:point.y,button:e.button,shiftKey:e.shiftKey,altKey:e.altKey,pointerType:e.pointerType}}zoomWheelInput(e){const point=this.hostCoords(e);return{x:point.x,y:point.y,deltaX:e.deltaX,deltaY:e.deltaY,deltaMode:e.deltaMode,ctrlKey:e.ctrlKey,metaKey:e.metaKey,shiftKey:e.shiftKey}}handleZoomWheel=e=>{if(this.zoomInteraction.wheel(this.zoomWheelInput(e)))e.preventDefault()};handleZoomPointerDown=e=>{if(this.legendOwnsEvent(e))return;if(this.zoomInteraction.pointerDown(this.zoomPointerInput(e)))e.currentTarget?.setPointerCapture?.(e.pointerId)};handleZoomPointerMove(e){return this.zoomInteraction.pointerMove(this.zoomPointerInput(e))}handleZoomPointerUp=e=>{const owned=this.zoomInteraction.isPending;this.zoomInteraction.pointerUp(this.zoomPointerInput(e));if(owned)e.currentTarget?.releasePointerCapture?.(e.pointerId)};handleZoomPointerCancel=()=>{this.zoomInteraction.pointerCancel()};consumeSuppressedPlotClick(){return this.zoomInteraction.consumeSuppressedClick()}handleZoomKeyDown(event){if(!this.zoomInteraction.wantsKey(event))return false;if(!this.zoomInteraction.keyDown(event))return false;event.preventDefault();event.stopPropagation();return true}renderZoomOverlay(rect){const spec=this.zoomSpec();const selection=this.zoomSelection;const zoomed=this.zoomState!==null;if(!selection&&!(zoomed&&spec.resetButton))return null;return index.h("div",{class:"sy-wafer-map__zoom-overlay",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",zIndex:"4"}},selection&&index.h("div",{class:"sy-wafer-map__zoom-selection","aria-hidden":"true",style:{position:"absolute",left:`${selection.x}px`,top:`${selection.y}px`,width:`${selection.width}px`,height:`${selection.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))"}}),zoomed&&spec.resetButton&&index.h("button",{type:"button",class:"sy-wafer-map__zoom-reset","aria-label":"Reset zoom",onClick:()=>{void this.resetZoom()},style:{...zoomInteraction.ZoomInteraction.resetButtonStyle,position:"absolute",left:`${rect.x+rect.width-8}px`,top:`${rect.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"))}dieDetailFor(col,row){const layout=this.settledLayout();const die=this.drawableDies(layout).find(d=>d.col===col&&d.row===row);if(!die)return null;const byCell=this.liveDieData();const datum=byCell.get(`${col},${row}`);const index2=this.settledDieIndex().byCell.get(`${col},${row}`);const shot=shotOf(this.shotSpec(),col,row);const shown=viewportZoom.toViewport(this.zoomTransform(),die.x+die.width/2,die.y+die.height/2);return{col,row,status:die.status,ix:index2?.ix??col,iy:index2?.iy??row,ordinal:index2?.ordinal??0,shotCol:shot.shotCol,shotRow:shot.shotRow,bin:datum?.bin,value:datum?.value,cssX:shown.x,cssY:shown.y}}dieDetailAtPoint(cssX,cssY){const point=this.contentPoint(cssX,cssY);if(!point)return null;const layout=this.settledLayout();const viewX=(point.x-layout.cx)/layout.scale;const viewY=(point.y-layout.cy)/layout.scale;const mask=waferValue.rotateFromView(viewX,viewY,layout.grid.wafer.orientation);const cell=waferValue.dieAt(layout.grid.grid,mask.x,mask.y);if(!cell)return null;return this.dieDetailFor(cell.col,cell.row)}applySelection(detail,toggle){if(toggle&&this.selectedDie&&this.selectedDie.col===detail.col&&this.selectedDie.row===detail.row){this.selectedDie=null;this.dieSelect.emit(null);this.srAnnouncement="Selection cleared.";return}this.selectedDie=detail;this.dieSelect.emit(detail);this.srAnnouncement=`Die ${detail.ix},${detail.iy} selected${detail.bin!==void 0?`, bin ${detail.bin}`:""}.`}localPoint(ev){const rect=this.host.querySelector(".sy-wafer-map").getBoundingClientRect();return{cssX:ev.clientX-rect.left,cssY:ev.clientY-rect.top}}onStagePointerMove=ev=>{if(this.handleZoomPointerMove(ev))return;const point=this.localPoint(ev);const detail=this.legendOwnsEvent(ev)?null:this.dieDetailAtPoint(point.cssX,point.cssY);const prev=this.hoverDie;if(detail?.col===prev?.col&&detail?.row===prev?.row&&detail===null===(prev===null))return;this.hoverDie=detail;this.dieHover.emit(detail)};onStageMouseLeave=()=>{if(this.hoverDie){this.hoverDie=null;this.dieHover.emit(null)}};onStageClick=ev=>{if(this.consumeSuppressedPlotClick())return;if(this.legendOwnsEvent(ev))return;const point=this.localPoint(ev);const detail=this.dieDetailAtPoint(point.cssX,point.cssY);if(!detail)return;this.dieClick.emit(detail);this.applySelection(detail,true)};onStageContextMenu=ev=>{if(this.legendOwnsEvent(ev))return;const point=this.localPoint(ev);const detail=this.dieDetailAtPoint(point.cssX,point.cssY);if(!detail)return;this.pointContextMenu.emit(pointContextMenu.buildChartPointContextMenuDetail(ev,this.host,"wafer-map",detail))};onStageKeyDown=ev=>{if(this.handleZoomKeyDown(ev))return;const arrows={ArrowRight:[1,0],ArrowLeft:[-1,0],ArrowDown:[0,1],ArrowUp:[0,-1]};if(ev.key==="Escape"){if(this.selectedDie){this.selectedDie=null;this.dieSelect.emit(null);this.srAnnouncement="Selection cleared."}return}if(ev.key==="Enter"&&this.selectedDie){this.dieClick.emit(this.selectedDie);return}const move=arrows[ev.key];if(!move)return;ev.preventDefault();const from=this.selectedDie;if(!from){const layout=this.settledLayout();const centre=this.drawableDies(layout).reduce((best,die)=>{const dist=Math.hypot(die.col,die.row);return dist<best.dist?{die,dist}:best},{die:this.drawableDies(layout)[0],dist:Infinity});if(centre.die)this.applySelection(this.dieDetailFor(centre.die.col,centre.die.row),false);return}const next=this.dieDetailFor(from.col+move[0],from.row+move[1]);if(next)this.applySelection(next,false)};tooltipText(detail){if(this.tooltipFormat){try{return this.tooltipFormat(detail)}catch(error){safeFormatter.reportChartFormatterError(this.tooltipFormat,error,"tooltipFormat")}}const parts=[`die ${detail.ix},${detail.iy}`];if(detail.bin!==void 0&&detail.bin!==null)parts.push(`bin ${detail.bin}`);if(typeof detail.value==="number")parts.push(`value ${SyWaferMap.formatStat(detail.value)}`);if(detail.bin===void 0&&detail.value===void 0)parts.push("unprobed");parts.push(`shot ${detail.shotCol},${detail.shotRow}`);if(detail.status==="partial")parts.push("edge die");return parts.join(" · ")}async setData(values){this.values=values}async appendPoint(datum){await this.streamLicense.run("appendPoint",route=>{if(route==="stream")this.ensureInternalStreamSource()?.push(datum);else this.upsertDiesPlain([datum],true)},true)}async appendDie(datum){await this.streamLicense.run("appendDie",route=>{if(route==="stream")this.ensureInternalStreamSource()?.push(datum);else this.upsertDiesPlain([datum],true)},true)}async appendBatch(data){await this.streamLicense.run("appendBatch",route=>{if(route!=="stream")this.upsertDiesPlain(Array.isArray(data)?data:[],true);else if(Array.isArray(data)&&data.length>0)this.ensureInternalStreamSource()?.pushBatch(data)},true)}async shift(count){await this.streamLicense.run("shift",route=>{if(route==="stream")this.activeStreamSource()?.shift(count)},this.displayedStreamSource()!==void 0)}async replace(data){await this.streamLicense.run("replace",route=>{if(route==="stream")this.ensureInternalStreamSource()?.replace(Array.isArray(data)?data:[]);else this.upsertDiesPlain(Array.isArray(data)?data:[],false)},true)}async getStreamSource(){return this.streamLicense.run("getStreamSource",route=>route==="stream"?this.activeStreamSource():void 0,this.displayedStreamSource()!==void 0)}async updateDie(col,row,patch){await this.streamLicense.run("updateDie",route=>{const existing=this.liveDieData().get(`${Math.floor(col)},${Math.floor(row)}`);if(route==="stream")this.ensureInternalStreamSource()?.push({...existing??{},col,row,...patch});else this.upsertDiesPlain([{...existing??{},col,row,...patch}],true)},true);return this.dieDetailFor(Math.floor(col),Math.floor(row))}async setAnimation(options){if(!options||typeof options!=="object")return;if(typeof options.duration==="number"&&Number.isFinite(options.duration))this.animationDuration=Math.max(0,options.duration);if(options.easing)this.animationEasing=options.easing;if(typeof options.enabled==="boolean")this.animated=options.enabled;if(options.type)this.animationType=options.type}async pauseAnimation(){this.animator.pauseAll(this.now())}async resumeAnimation(){this.animator.resumeAll(this.now());this.ensureAnimationLoop()}async replayAnimation(){this.startReveal()}liveDieData(){const cache=this.liveCache;if(cache&&cache.valuesRef===this.values)return cache.live;const base=types.resolveWaferDieData(this.values);const live=new Map(base);const appWins=this.appUpdatedWhileFrozen();for(const[key,datum]of this.streamOverlay){if(appWins&&base.has(key))continue;live.set(key,datum)}this.liveCache={valuesRef:this.values,base,live};return live}appUpdatedWhileFrozen(){const frozen=this.streamFrozenValues;return this.streamLicense.frozen&&frozen!==void 0&&this.values!==frozen.values}activeStreamSource(){return this.streamSource??this.internalStreamSource}displayedStreamSource(){return this.boundStreamSource??this.internalStreamSource}upsertDiesPlain(incoming,announce){this.liveDieData();const before=new Map(this.liveCache?.base??[]);let accepted=0;for(const raw of incoming){const datum=types.normalizeWaferDie(raw);if(!datum)continue;const{col,row}=datum;const key=`${col},${row}`;const previous=before.get(key);if(announce&&previous&&previous.bin!==void 0&&previous.bin!==null&&datum.bin!==void 0&&datum.bin!==null&&types.binKey(previous.bin)!==types.binKey(datum.bin)){const index2=this.settledDieIndex().byCell.get(key);this.binChanged.emit({col,row,ix:index2?.ix??col,iy:index2?.iy??row,previousBin:previous.bin,bin:datum.bin})}before.set(key,datum);if(!this.pendingDirtyCells)this.pendingDirtyCells=new Map;this.pendingDirtyCells.set(key,datum);accepted+=1}if(accepted===0)return;this.values=[...before.values()];if(announce)this.appended.emit({count:accepted})}handleStreamLicenseChange(change){if(this.detached)return;if(change==="frozen"){this.streamUnsubscribe?.();this.streamUnsubscribe=void 0;this.boundStreamSource=void 0;this.streamFrozenValues={values:this.values};return}if(change==="resumed")this.keepCellsTheAppSetWhileFrozen();this.bindStreamSource()}keepCellsTheAppSetWhileFrozen(){const frozen=this.streamFrozenValues;this.streamFrozenValues=void 0;if(frozen===void 0||this.values===frozen.values)return;this.liveDieData();const base=this.liveCache?.base??new Map;this.liveCache=void 0;const internal=this.internalStreamSource;if(this.streamSource||!internal)return;const kept=internal.snapshot().filter(die=>!base.has(waferDieKey(die.col,die.row)));if(kept.length!==internal.length)internal.replace(kept)}ensureInternalStreamSource(){if(this.streamSource)return this.streamSource;if(!this.internalStreamSource){this.internalStreamSource=createWaferStreamSource({capacity:this.coerceStreamCapacity()});this.bindToStreamSource(this.internalStreamSource)}return this.internalStreamSource}coerceStreamCapacity(){return resolveStreamWindow(this.streamMax)}streamWindowSize(){return resolveStreamWindow(this.streamWindow)}bindStreamSource(){if(this.detached||this.streamLicense.frozen)return;const route=this.streamLicense.route(void 0,this.internalStreamSource!==void 0);if(route==="pending"||route==="refused")return;if(route!=="stream"){if(this.boundStreamSource){this.streamUnsubscribe?.();this.streamUnsubscribe=void 0;this.boundStreamSource=void 0}this.adoptStreamSource(void 0);return}const internal=this.internalStreamSource;const capacity=this.coerceStreamCapacity()??WAFER_STREAM_DEFAULT_CAPACITY;if(!this.streamSource&&internal&&internal.capacity!==capacity){this.internalStreamSource=createWaferStreamSource({initial:internal.snapshot()})}const target=this.streamSource??this.internalStreamSource;if(this.boundStreamSource===target)return;if(target){this.bindToStreamSource(target)}else{this.streamUnsubscribe?.();this.streamUnsubscribe=void 0;this.boundStreamSource=void 0}this.adoptStreamSource(target)}bindToStreamSource(source){if(this.detached)return;this.streamUnsubscribe?.();this.streamUnsubscribe=source.subscribe(event=>this.handleStreamEvent(source,event));this.boundStreamSource=source}adoptStreamSource(source){const live=this.liveDieData();const changed=this.rebuildStreamOverlay(source);if(changed.length===0)return;this.applyLiveCells(live,changed,false);if(this.shouldUpdateAnimation())this.startMorph(this.animationDuration);this.animationTick++}rebuildStreamOverlay(source){const next=source?streamOverlayOf(windowedStreamDies(source.snapshot(),this.streamWindowSize())):new Map;const changed=streamOverlayDiff(this.streamOverlay,next);this.streamOverlay=next;return changed}handleStreamEvent(source,event){const live=this.liveDieData();let changed;if(event.type==="replace"||this.streamWindowSize()!==void 0){changed=this.rebuildStreamOverlay(source)}else if(event.type==="shift"){changed=[];for(const die of event.dies){const key=waferDieKey(die.col,die.row);if(this.streamOverlay.delete(key))changed.push(key)}}else{changed=[];for(const die of event.dies){const key=waferDieKey(die.col,die.row);this.streamOverlay.delete(key);this.streamOverlay.set(key,die);changed.push(key)}}const upsert=event.type==="push"||event.type==="pushBatch";this.applyLiveCells(live,changed,upsert);if(changed.length>0&&this.shouldUpdateAnimation()){const now=this.now();const duration=streamInterp.capStreamDuration(this.animationDuration,this.lastStreamTime,now);this.lastStreamTime=now;if(duration>0)this.startMorph(duration)}else{this.lastStreamTime=this.now()}this.animationTick++;if(upsert)this.appended.emit({count:event.count});if(event.type==="shift")this.windowSlid.emit({dropped:event.count})}applyLiveCells(live,keys,upsert){if(keys.length===0)return;const base=this.liveCache?.base??new Map;if(!this.pendingDirtyCells)this.pendingDirtyCells=new Map;for(const key of keys){const previous=live.get(key);const datum=this.streamOverlay.get(key)??base.get(key);const cell=datum??previous;if(!cell)continue;const{col,row}=cell;if(upsert&&previous&&datum&&previous.bin!==void 0&&previous.bin!==null&&datum.bin!==void 0&&datum.bin!==null&&types.binKey(previous.bin)!==types.binKey(datum.bin)){const index2=this.settledDieIndex().byCell.get(key);this.binChanged.emit({col,row,ix:index2?.ix??col,iy:index2?.iy??row,previousBin:previous.bin,bin:datum.bin})}if(datum)live.set(key,datum);else live.delete(key);this.pendingDirtyCells.set(key,datum)}}shouldAnimate(){if(this.detached)return false;return this.animated&&this.animationDuration>0}shouldInitialAnimation(){return this.shouldAnimate()&&this.animationType!=="update"}shouldUpdateAnimation(){return this.shouldAnimate()&&this.animationType!=="initial"}now(){return typeof performance!=="undefined"&&typeof performance.now==="function"?performance.now():Date.now()}startReveal(){if(this.animator.hasActive())this.chartAnimationInterrupted.emit();this.animator.clear();this.finishMorph();this.animator.start(REVEAL_KEY,{duration:this.animationDuration,easing:this.animationEasing});this.chartAnimationStart.emit();this.ensureAnimationLoop()}startMorph(duration){if(this.animator.hasActive())this.chartAnimationInterrupted.emit();const lanes=this.morph?.lanes??new Map;for(const[cell,lane]of lanes)lane.from=this.displayedFills.get(cell)??lane.from;this.animator.clear();this.morph={version:++this.morphVersion,lanes};this.animator.start(MORPH_KEY,{duration,easing:this.animationEasing});this.chartAnimationStart.emit();this.ensureAnimationLoop()}finishMorph(){const morph=this.morph;this.morph=null;if(!morph||morph.lanes.size===0)return;const live=this.liveDieData();if(!this.pendingDirtyCells)this.pendingDirtyCells=new Map;for(const cell of morph.lanes.keys())if(!this.pendingDirtyCells.has(cell))this.pendingDirtyCells.set(cell,live.get(cell))}ensureAnimationLoop(){if(this.animationFrameHandle!==null||typeof requestAnimationFrame!=="function")return;const loop=()=>{this.animator.tick(this.now());if(this.animator.hasActive()){this.animationTick++;this.animationFrameHandle=requestAnimationFrame(loop);return}this.animationFrameHandle=null;if(this.animator.entries().size>0)return;this.finishMorph();this.animationTick++;this.chartAnimationEnd.emit()};this.animationFrameHandle=requestAnimationFrame(loop)}stopAnimationLoop(){if(this.animationFrameHandle!==null){cancelAnimationFrame(this.animationFrameHandle);this.animationFrameHandle=null}}motionFrame(){const now=this.now();const reveal=this.animator.has(REVEAL_KEY)?this.animator.progressAt(REVEAL_KEY,now)??1:1;const morph=this.morph&&this.animator.has(MORPH_KEY)?{lanes:this.morph.lanes,progress:this.animator.progressAt(MORPH_KEY,now)??1}:void 0;if(reveal>=1&&!morph)return null;return{reveal:reveal<1?reveal:void 0,morph}}shownFill(cell,settled,motion){const morph=motion?.morph;let shown=settled;if(morph){let lane=morph.lanes.get(cell);if(lane){lane.to=settled}else{const previous=this.displayedFills.get(cell);if(previous!==void 0&&previous!==settled){lane={from:previous,to:settled};morph.lanes.set(cell,lane)}}if(lane)shown=mixDieFill(lane.from,lane.to,morph.progress)}this.displayedFills.set(cell,shown);return shown}withMorphLanes(dirty){const lanes=this.morph?.lanes;if(!lanes||lanes.size===0)return dirty??new Map;const live=this.liveDieData();const frame=new Map(dirty??[]);for(const cell of lanes.keys())if(!frame.has(cell))frame.set(cell,live.get(cell));return frame}radialShareOf(layout,die){const dx=die.x+die.width/2-layout.cx;const dy=die.y+die.height/2-layout.cy;return Math.min(1,Math.hypot(dx,dy)/Math.max(1e-6,layout.radiusPx))}async getDieCounts(){const layout=this.settledLayout();return{dies:this.drawableDies(layout).length,fullDies:layout.grid.fullCount,partialDies:layout.grid.partialCount}}async getYield(){return this.binaryState()}async getValueStats(){return this.valueState().stats}async getDieIndex(col,row){return this.settledDieIndex().byCell.get(`${col},${row}`)??null}async getDieByIndex(ix,iy){return this.settledDieIndex().byIndex.get(`${ix},${iy}`)??null}async getActiveTier(){return this.activeTier}async redraw(){this.layoutCache=void 0;this.paintContext=null;this.paintDies();return this.lastRenderResult}headerHeight(){if(this.chartTitle&&this.chartSubtitle)return 44;if(this.chartTitle||this.chartSubtitle)return 26;return 0}effectiveMode(){if(this.mode==="bin"||this.mode==="binary"||this.mode==="value")return this.mode;return"grid"}paletteColors(){const scheme$1=scheme.categorical[this.palette]??scheme.categorical.tableau10;return scheme.discretize(scheme$1,10).map(c=>`rgb(${c.r}, ${c.g}, ${c.b})`)}binState(){const byCell=this.liveDieData();const layout=this.settledLayout();const validCells=new Set(layout.dies.map(d=>`${d.col},${d.row}`));const bins=[];for(const[cell,datum]of byCell){if(validCells.has(cell)&&datum.bin!==void 0&&datum.bin!==null)bins.push(datum.bin)}const colors=types.resolveBinColorMap(bins,{binColors:this.binColors,passBin:this.passBin,passColor:this.passColor,palette:this.paletteColors()});return{colors,summary:types.computeBinSummary(byCell,colors,validCells)}}binaryState(){const byCell=this.liveDieData();const layout=this.settledLayout();const validCells=new Set(layout.dies.map(d=>`${d.col},${d.row}`));return types.computeBinarySummary(byCell,this.passBin,validCells)}measuredValues(){const byCell=this.liveDieData();const layout=this.settledLayout();const validCells=new Set(layout.dies.map(d=>`${d.col},${d.row}`));const out=[];for(const[cell,datum]of byCell){if(validCells.has(cell)&&typeof datum.value==="number"&&Number.isFinite(datum.value))out.push(datum.value)}return out}valueState(){const values=this.measuredValues();return{axis:waferValue.resolveWaferValueAxis(this.colorAxis,values),stats:waferValue.computeValueStats(values)}}valueLegendHeight(){return this.effectiveMode()==="value"&&this.binLegend?this.showStats?46:28:0}legendOuter(){const header=this.headerHeight();return{x:0,y:header,width:Math.max(1,this.width),height:Math.max(1,this.height-header)}}buildLegendFrame(binSummary,binarySummary){if(!this.binLegend)return null;const mode=this.effectiveMode();const position=resolveWaferLegendPosition(this.legendPosition);const outer=this.legendOuter();const padding=waferLegendPadding(position);const horizontal=position==="top"||position==="bottom";const availableWidth=horizontal?outer.width-(padding.left??0)-(padding.right??0):void 0;const items=mode==="bin"?waferBinLegendItems(binSummary,{availableWidth}).items:mode==="binary"&&binarySummary?waferBinaryLegendItems(binarySummary,{pass:this.passColor,fail:this.failColor}):[];if(items.length===0)return null;const layout=legend.computeLegendLayout({outerWidth:outer.width,outerHeight:outer.height,items,position,direction:position==="float"?void 0:horizontal?"horizontal":"vertical",align:"start",wrap:false,floatAlign:this.legendFloatAlign,floatVerticalAlign:this.legendFloatVerticalAlign,padding,gap:WAFER_LEGEND_ITEM_GAP,rowGap:WAFER_LEGEND_ROW_GAP,swatchSize:WAFER_LEGEND_SWATCH_SIZE,swatchLabelGap:WAFER_LEGEND_SWATCH_LABEL_GAP,fontSize:WAFER_LEGEND_FONT_SIZE,measureLabel:waferLegendMeasure});return{items,position,layout:this.applyLegendFloatPosition(this.shiftLegendLayout(layout,outer.x,outer.y,true))}}legendReserveOf(frame){const outer=this.legendOuter();const remaining=frame?.layout.remainingOuter??outer;return{top:Math.max(0,remaining.y-outer.y),bottom:Math.max(0,outer.y+outer.height-(remaining.y+remaining.height))+this.valueLegendHeight(),left:Math.max(0,remaining.x-outer.x),right:Math.max(0,outer.x+outer.width-(remaining.x+remaining.width))}}shiftLegendLayout(layout,dx,dy,remaining){if(dx===0&&dy===0)return layout;const shift=rect=>({...rect,x:rect.x+dx,y:rect.y+dy});return{...layout,legendRect:layout.legendRect?shift(layout.legendRect):layout.legendRect,itemRects:layout.itemRects.map(rect=>({...shift(rect),swatchRect:shift(rect.swatchRect),labelRect:shift(rect.labelRect)})),remainingOuter:remaining?shift(layout.remainingOuter):layout.remainingOuter}}applyLegendFloatPosition(layout){if(this.legendPosition!=="float"||!layout.legendRect||!this.legendFloatPosition)return layout;return this.shiftLegendLayout(layout,this.legendFloatPosition.x-layout.legendRect.x,this.legendFloatPosition.y-layout.legendRect.y,false)}canDragLegend(layout){return this.legendDraggable&&this.legendPosition==="float"&&!!layout.legendRect}legendOwnsEvent(event){const target=event.target;return!!target?.closest?.("[data-sy-legend-float]")}handleLegendPointerDown(e,layout){if(!this.canDragLegend(layout))return;e.preventDefault();const rect=layout.legendRect;if(!this.legendFloatPosition)this.legendFloatPosition=legendInteraction.createLegendPositionState(rect.x,rect.y);this.legendDrag={pointerId:e.pointerId,lastX:e.clientX,lastY:e.clientY,moved:false};e.currentTarget?.setPointerCapture?.(e.pointerId)}handleLegendPointerMove(e,layout){const drag=this.legendDrag;if(!drag||drag.pointerId!==e.pointerId||!layout.legendRect||!this.canDragLegend(layout))return;const dx=e.clientX-drag.lastX;const dy=e.clientY-drag.lastY;if(dx===0&&dy===0)return;this.legendFloatPosition=legendInteraction.dragLegendBy(this.legendFloatPosition??legendInteraction.createLegendPositionState(layout.legendRect.x,layout.legendRect.y),dx,dy,{x:0,y:0,width:this.width,height:this.height},{width:layout.legendRect.width,height:layout.legendRect.height});drag.lastX=e.clientX;drag.lastY=e.clientY;drag.moved=true}handleLegendPointerUp(e){const drag=this.legendDrag;if(!drag||drag.pointerId!==e.pointerId)return;e.currentTarget?.releasePointerCapture?.(e.pointerId);this.legendDrag=void 0}waferSpec(){return waferValue.resolveWaferSpec({diameter:this.diameter,edgeExclusion:this.edgeExclusion,orientation:this.orientation,indicator:this.indicator,flatLength:this.flatLength,notchDepth:this.notchDepth})}gridSpec(){return waferValue.resolveDieGridSpec({dieWidth:this.dieWidth,dieHeight:this.dieHeight,scribeX:this.scribeX,scribeY:this.scribeY,offsetX:this.offsetX,offsetY:this.offsetY})}settledLayout(){const reserve=this.legendReserve;const key=[this.width,this.height,this.headerHeight(),reserve.top,reserve.bottom,reserve.left,reserve.right,this.diameter,this.edgeExclusion,this.orientation,this.indicator,this.flatLength??"",this.notchDepth??"",this.dieWidth,this.dieHeight,this.scribeX,this.scribeY,this.offsetX,this.offsetY].join("|");if(this.layoutCache?.key===key)return this.layoutCache.layout;const layout=computeWaferMapLayout(this.waferSpec(),this.gridSpec(),{width:this.width,height:this.height,headerHeight:this.headerHeight()+reserve.top,footerHeight:reserve.bottom,leftWidth:reserve.left,rightWidth:reserve.right});this.layoutCache={key,layout};return layout}drawableDies(layout){return this.showPartial?layout.dies:layout.dies.filter(d=>d.status==="full")}settledDieIndex(){const layout=this.settledLayout();const key=`${this.layoutCache.key}|${this.dieIndexOrigin}|${this.dieIndexBase}`;if(this.dieIndexCache?.key===key)return this.dieIndexCache.index;const index2=computeDieIndex(layout.grid,{origin:this.dieIndexOrigin,base:this.dieIndexBase});this.dieIndexCache={key,index:index2};return index2}static DIE_INDEX_MIN_PX=14;dieIndexLabels(layout,zoomScale=1){if(!this.showDieIndex)return[];const sample=layout.dies[0];if(!sample)return[];const scale=Number.isFinite(zoomScale)&&zoomScale>0?zoomScale:1;const minSide=Math.min(sample.width,sample.height)*scale;if(minSide<SyWaferMap.DIE_INDEX_MIN_PX)return[];const index2=this.settledDieIndex();const fontSize=Math.max(7,Math.min(11,Math.floor(minSide/3)))/scale;return this.drawableDies(layout).map(die=>{const entry=index2.byCell.get(`${die.col},${die.row}`);return{x:die.x+die.width/2,y:die.y+die.height/2,text:`${entry.ix},${entry.iy}`,fontSize}})}pendingDirtyCells=null;paintContext=null;dieFill(datum,status,p){const base=status==="full"?p.fullFill:p.partialFill;if(!datum||status!=="full")return base;const hasBin=datum.bin!==void 0&&datum.bin!==null;if(p.binColors){return(hasBin?p.binColors.get(types.binKey(datum.bin)):void 0)??base}if(p.mode==="binary"){return hasBin?types.binKey(datum.bin)===p.passKey?this.passColor:this.failColor:base}if(p.mode==="value"){return p.valueAxis&&typeof datum.value==="number"&&Number.isFinite(datum.value)?p.valueAxis.colorFor(datum.value):base}return p.dataFill}incrementalSafe(cached,dirty){if(this.overlay==="defect")return false;if(cached.edgePainted)return false;if(cached.mode==="bin"){for(const datum of dirty.values()){if(!datum||datum.bin===void 0||datum.bin===null)continue;if(!cached.binColors?.has(types.binKey(datum.bin)))return false}return true}if(cached.mode==="value"){for(const datum of dirty.values()){if(!datum||typeof datum.value!=="number"||!Number.isFinite(datum.value))continue;if(datum.value<cached.valueMin||datum.value>cached.valueMax)return false}return true}return true}applyZoomTransform(ctx,dpr,t){if(!t.zoomed){ctx.setTransform(1,0,0,1,0,0);return}const rect=this.zoomRect();ctx.setTransform(dpr,0,0,dpr,0,0);ctx.beginPath();ctx.rect(rect.x,rect.y,rect.width,rect.height);ctx.clip();ctx.setTransform(t.scaleX,0,0,t.scaleY,t.translateX*dpr,t.translateY*dpr)}paintDies(){const canvas=this.canvasElement;if(!canvas)return;const ctx=canvas.getContext("2d");if(!ctx)return;const dpr=typeof window!=="undefined"&&Number.isFinite(window.devicePixelRatio)?Math.max(1,window.devicePixelRatio):1;const sized=canvas.width===Math.round(this.width*dpr)&&canvas.height===Math.round(this.height*dpr);const layout=this.settledLayout();const mode=this.effectiveMode();const zoomTransform=this.zoomTransform();const zoomKey=zoomTransform.zoomed?[zoomTransform.scaleX,zoomTransform.scaleY,zoomTransform.translateX,zoomTransform.translateY].join(","):"";const configKey=[this.layoutCache.key,mode,String(this.showPartial),this.dieColor,this.partialColor,this.dataColor,this.passColor,this.failColor,this.edgeColor,this.overlay,this.width,this.height,dpr,zoomKey].join("|");const dirty=this.pendingDirtyCells;this.pendingDirtyCells=null;const motion=this.motionFrame();const settling=this.lastPaintWasMotion&&motion===null;this.lastPaintWasMotion=motion!==null;const cached=this.paintContext;if(cached&&cached.key===configKey&&sized&&cached.defectsRef===this.defects&&cached.binColorsProp===this.binColors&&cached.paletteProp===this.palette&&cached.colorAxisProp===this.colorAxis){if((!dirty||dirty.size===0)&&cached.valuesRef===this.values&&motion===null&&!settling){return}const frameDirty=motion?.morph?this.withMorphLanes(dirty):dirty;if(frameDirty&&frameDirty.size>0&&motion?.reveal===void 0&&cached.valuesRef===this.values&&this.incrementalSafe(cached,frameDirty)){const dirtyRects=[];for(const[cell,datum]of frameDirty){const die=cached.rects.get(cell);if(!die)continue;dirtyRects.push({x:die.x,y:die.y,width:die.width,height:die.height,fill:this.shownFill(cell,this.dieFill(datum,die.status,cached),motion)})}if(dirtyRects.length>0){ctx.save();this.applyZoomTransform(ctx,dpr,zoomTransform);ctx.save();ctx.scale(dpr,dpr);for(const rect of dirtyRects)ctx.clearRect(rect.x,rect.y,rect.width,rect.height);ctx.restore();this.renderer.draw(ctx,{dies:dirtyRects,dpr,edge:this.edgeColor,clip:cached.clip});ctx.restore()}return}}if(!sized){canvas.width=Math.round(this.width*dpr);canvas.height=Math.round(this.height*dpr)}ctx.setTransform(1,0,0,1,0,0);ctx.clearRect(0,0,canvas.width,canvas.height);const byCell=this.liveDieData();const fullFill=resolve.resolveSingleColor(this.dieColor,"#cbd5e1");const partialFill=resolve.resolveSingleColor(this.partialColor,"#e2e8f0");const dataFill=resolve.resolveSingleColor(this.dataColor,"#2563eb");const binColors=mode==="bin"?this.binState().colors:null;const valueInfo=mode==="value"?this.valueState():null;const valueAxis=valueInfo?.axis??null;const passKey=types.binKey(this.passBin);const fillContext={mode,binColors,valueAxis,passKey,fullFill,partialFill,dataFill};const drawable=this.drawableDies(layout);if(this.displayedLayoutKey!==this.layoutCache.key){this.displayedFills.clear();this.displayedLayoutKey=this.layoutCache.key}const reveal=motion?.reveal;const paintRects=drawable.map(die=>{const cell=`${die.col},${die.row}`;const fill=this.shownFill(cell,this.dieFill(byCell.get(cell),die.status,fillContext),motion);if(reveal===void 0)return{x:die.x,y:die.y,width:die.width,height:die.height,fill};const s=revealDieScale(reveal,this.radialShareOf(layout,die));return{x:die.x+die.width*(1-s)/2,y:die.y+die.height*(1-s)/2,width:die.width*s,height:die.height*s,fill}});const clip={d:waferValue.waferOutlinePath(layout.grid.wafer),cx:layout.cx,cy:layout.cy,scale:layout.scale};const smallest=drawable.reduce((m,d)=>Math.min(m,d.width,d.height),Infinity);this.paintContext={edgePainted:drawable.length>0&&smallest>=3,key:configKey,valuesRef:this.values,defectsRef:this.defects,binColorsProp:this.binColors,paletteProp:this.palette,colorAxisProp:this.colorAxis,...fillContext,valueMin:valueInfo?.stats?.min??-Infinity,valueMax:valueInfo?.stats?.max??Infinity,rects:new Map(drawable.map(die=>[`${die.col},${die.row}`,{x:die.x,y:die.y,width:die.width,height:die.height,status:die.status}])),clip};ctx.save();this.applyZoomTransform(ctx,dpr,zoomTransform);const drawn=this.renderer.draw(ctx,{dies:paintRects,dpr,edge:this.edgeColor,clip});if(this.overlay==="defect"){const defectResult=this.defectState();const classColors=resolveDefectClassColors(defectResult.byClass,this.paletteColors(),this.defectColor);const orientation=layout.grid.wafer.orientation;const points=defectResult.points.map(point=>{const view=waferValue.rotateToView(point.x,point.y,orientation);return{x:layout.cx+view.x*layout.scale,y:layout.cy+view.y*layout.scale,radius:defectRadius(point.size),fill:classColors.get(point.classKey)??this.defectColor}});this.renderer.drawDefects(ctx,{points,dpr,clip})}ctx.restore();this.lastRenderResult={dies:drawn.dies,fullDies:layout.grid.fullCount,partialDies:layout.grid.partialCount,renderMs:drawn.renderMs}}accessibleSummary(layout){const title=this.chartTitle?`${this.chartTitle}. `:"";const wafer=layout.grid.wafer;const mark=wafer.indicator==="none"?"no orientation mark":`${wafer.indicator} ${wafer.orientation}`;const index2=this.settledDieIndex();const extent=index2.entries.length>0?` Die index ${index2.minIx}..${index2.maxIx} × ${index2.minIy}..${index2.maxIy}.`:"";const mode=this.effectiveMode();const bins=mode==="bin"?(()=>{const summary=this.binState().summary;return summary.length>0?` Bin map: ${summary.length} bins over ${summary.reduce((a,s)=>a+s.count,0)} probed dies.`:""})():"";const binary=mode==="binary"?(()=>{const summary=this.binaryState();return summary.probed>0?` Pass/fail map: ${summary.pass} pass, ${summary.fail} fail, yield ${(summary.yield*100).toFixed(1)}%.`:""})():"";const value=mode==="value"?(()=>{const stats=this.valueState().stats;const fmt=SyWaferMap.formatStat;return stats.count>0?` Parameter map: ${stats.count} measured dies, mean ${fmt(stats.mean)}, sigma ${fmt(stats.stdDev)}, range ${fmt(stats.min)} to ${fmt(stats.max)}.`:""})():"";const defect=this.overlay==="defect"?(()=>{const result=this.defectState();return result.total>0?` Defect overlay: ${result.total} defects in ${result.byClass.length} classes.`:""})():"";return`${title}Wafer map: ${wafer.diameter} mm wafer, ${mark}, ${layout.grid.fullCount} full dies, ${layout.grid.partialCount} partial dies.${extent}${bins}${binary}${value}${defect}`}renderBinLegend(summary){if(summary.length===0)return null;const counts=new Map(summary.map(entry=>[entry.key,entry.count]));return this.renderLegendFrame("sy-wafer-map__bin-legend","sy-wafer-map__bin-legend-item",item=>({"data-bin":String(item.id),"data-count":String(counts.get(String(item.id))??"")}))}renderLegendFrame(groupClass,itemClass,itemData){const frame=this.legendFrame;if(!frame||!frame.layout.legendRect)return null;const{layout,items,position}=frame;const float=position==="float";const draggable=this.canDragLegend(layout);const box=layout.legendRect;const boxStyle=float?layout.floatBoxStyle:void 0;const shadowId=`sy-wafer-map-legend-shadow-${this.host.id||"default"}`;return index.h("g",{class:{[groupClass]:true,[`${groupClass}--float`]:float},"aria-hidden":"true","data-sy-legend-float":float?"true":void 0,style:float?{pointerEvents:"all",cursor:draggable?this.legendDrag?"grabbing":"grab":"default",touchAction:draggable?"none":void 0}:void 0,onPointerDown:float?ev=>this.handleLegendPointerDown(ev,layout):void 0,onPointerMove:float?ev=>this.handleLegendPointerMove(ev,layout):void 0,onPointerUp:float?ev=>this.handleLegendPointerUp(ev):void 0,onPointerCancel:float?ev=>this.handleLegendPointerUp(ev):void 0},boxStyle?index.h("defs",null,index.h("filter",{id:shadowId,x:"-10%",y:"-20%",width:"120%",height:"150%"},index.h("feDropShadow",{dx:"0",dy:"1",stdDeviation:"1.5","flood-color":"#000000","flood-opacity":"0.25"}))):null,boxStyle?index.h("rect",{class:"sy-wafer-map__legend-box",x:box.x,y:box.y,width:box.width,height:box.height,rx:boxStyle.borderRadius,fill:boxStyle.background,stroke:boxStyle.borderColor,"stroke-width":boxStyle.borderWidth,filter:`url(#${shadowId})`}):null,items.map((item,i)=>{const rect=layout.itemRects[i];if(!rect)return null;const textOnly=isWaferLegendTextItem(item);const yieldItem=item.id===WAFER_LEGEND_YIELD_ID;const baseline=rect.swatchRect.y+9;return index.h("g",{class:itemClass,...itemData(item)},!textOnly?index.h("rect",{x:rect.swatchRect.x,y:rect.swatchRect.y,width:rect.swatchRect.width,height:rect.swatchRect.height,rx:2,fill:item.swatchColor}):null,index.h("text",{class:yieldItem?"sy-wafer-map__yield":void 0,x:textOnly?rect.x:rect.labelRect.x,y:baseline,style:yieldItem?{fontSize:`${WAFER_LEGEND_FONT_SIZE}px`,fontWeight:"600",fill:"#0f172a"}:{fontSize:`${WAFER_LEGEND_FONT_SIZE}px`,fill:textOnly?"#94a3b8":"#475569"}},item.label))}))}static formatStat(value){const abs=Math.abs(value);if(abs>=100)return String(Math.round(value));if(abs>=1)return(Math.round(value*100)/100).toString();return Number(value.toPrecision(3)).toString()}renderValueLegend(axis,stats){if(!axis||stats.count===0)return null;const fmt=SyWaferMap.formatStat;const barY=this.height-(this.showStats?40:24);const barWidth=Math.min(260,this.width-140);const gradientId=`sy-wafer-map-value-gradient-${this.host.id||"default"}`;return index.h("g",{class:"sy-wafer-map__value-legend","aria-hidden":"true"},index.h("defs",null,index.h("linearGradient",{id:gradientId,x1:"0",y1:"0",x2:"1",y2:"0"},axis.gradientStops.map(([t,css])=>index.h("stop",{offset:`${t*100}%`,"stop-color":css})))),index.h("rect",{class:"sy-wafer-map__value-legend-bar",x:12,y:barY,width:barWidth,height:10,rx:2,fill:`url(#${gradientId})`}),index.h("text",{x:12,y:barY+22,style:{fontSize:"10px",fill:"#64748b"}},fmt(axis.min)),axis.diverging&&axis.center!==void 0?index.h("text",{x:12+barWidth/2,y:barY+22,"text-anchor":"middle",style:{fontSize:"10px",fill:"#64748b"}},fmt(axis.center)):null,index.h("text",{x:12+barWidth,y:barY+22,"text-anchor":"end",style:{fontSize:"10px",fill:"#64748b"}},fmt(axis.max)),this.showStats?index.h("text",{class:"sy-wafer-map__value-stats",x:12,y:this.height-8,style:{fontSize:"11px",fill:"#475569"}},`n ${stats.count} · min ${fmt(stats.min)} · mean ${fmt(stats.mean)} · σ ${fmt(stats.stdDev)} · median ${fmt(stats.median)} · max ${fmt(stats.max)}`):null)}renderBinaryLegend(summary){if(summary.probed===0)return null;return this.renderLegendFrame("sy-wafer-map__binary-legend","sy-wafer-map__binary-legend-item",item=>({"data-entry":String(item.id)}))}render(){const decision=pickWaferMapEngine({requested:this.engine,onUnavailable:this.unavailable});if(decision.tier!==this.activeTier)this.activeTier=decision.tier;if(decision.fallbackReason!==this.fallbackReason)this.fallbackReason=decision.fallbackReason;const mode=this.effectiveMode();const binSummary=mode==="bin"?this.binState().summary:[];const binarySummary=mode==="binary"?this.binaryState():null;const valueRender=mode==="value"?this.valueState():null;const defectRender=this.overlay==="defect"?this.defectState():null;this.legendFrame=this.buildLegendFrame(binSummary,binarySummary);this.legendReserve=this.legendReserveOf(this.legendFrame);const layout=this.settledLayout();const shotBoundaries=this.grid==="shot"?computeShotBoundaries(layout.grid.wafer,layout.grid.grid,layout.grid,this.shotSpec()):null;const wafer=layout.grid.wafer;const outline=waferValue.waferOutlinePath(wafer);const stageTransform=`translate(${layout.cx} ${layout.cy}) scale(${layout.scale})`;const zoomSpec=this.zoomSpec();const zoomRect=this.zoomRect();const zoomTransform=viewportZoom.viewportZoomTransform(zoomRect,this.zoomState);const zoomMatrix=viewportZoom.viewportZoomMatrix(zoomTransform)||void 0;const zoomScale=viewportZoom.viewportZoomScale(zoomTransform);const viewportOverflow=zoomTransform.zoomed?"hidden":"visible";const outlineStrokeMm=1.5/(layout.scale*zoomScale);const exclusionStrokeMm=1/(layout.scale*zoomScale);const exclusionDashMm=4/(layout.scale*zoomScale);this.pendingRenderedEmit=true;return index.h(index.Host,{key:"14f03cbf26c5a0dcec9b9f2513eece27bd226b3e","data-active-tier":this.activeTier,"data-sy-brand-host":"chart"},index.h("div",{key:"2961420dcc83f5f98e8865bd64101b83712c0367",class:"sy-wafer-map",style:{width:`${this.width}px`,height:`${this.height}px`,position:"relative",touchAction:zoomSpec.enabled&&zoomSpec.pinch?"none":void 0},role:"img","aria-roledescription":"Wafer map","aria-label":this.accessibleSummary(layout),tabindex:0,onPointerDown:this.handleZoomPointerDown,onPointerMove:this.onStagePointerMove,onPointerUp:this.handleZoomPointerUp,onPointerCancel:this.handleZoomPointerCancel,onMouseLeave:this.onStageMouseLeave,onClick:this.onStageClick,onContextMenu:this.onStageContextMenu,onKeyDown:this.onStageKeyDown,"data-die-count":String(this.drawableDies(layout).length),"data-full-dies":String(layout.grid.fullCount),"data-partial-dies":String(layout.grid.partialCount),"data-die-index-extent":(()=>{const index2=this.settledDieIndex();return`${index2.minIx}..${index2.maxIx},${index2.minIy}..${index2.maxIy}`})(),"data-mode":mode,"data-bin-count":String(binSummary.length),"data-yield":binarySummary?binarySummary.yield.toFixed(4):void 0,"data-value-count":valueRender?String(valueRender.stats.count):void 0,"data-value-domain":valueRender?.axis?`${valueRender.axis.min}..${valueRender.axis.max}`:void 0,"data-defect-count":defectRender?String(defectRender.total):void 0,"data-shot-lines":shotBoundaries?String(shotBoundaries.vertical.length+shotBoundaries.horizontal.length):void 0,"data-selected-die":this.selectedDie?`${this.selectedDie.col},${this.selectedDie.row}`:void 0,"data-streamed-dies":String(this.streamOverlay.size),"data-animating":this.animator.hasActive()?"true":void 0},index.h("svg",{key:"134a6c459ab494dbd7b29f12b634c9713a3364a7",class:"sy-wafer-map__underlay",width:this.width,height:this.height,viewBox:`0 0 ${this.width} ${this.height}`,xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},this.chartTitle?index.h("text",{class:"sy-wafer-map__title",x:this.width/2,y:16,"text-anchor":"middle",style:{fontSize:"14px",fontWeight:"600"}},this.chartTitle):null,this.chartSubtitle?index.h("text",{class:"sy-wafer-map__subtitle",x:this.width/2,y:this.chartTitle?36:16,"text-anchor":"middle",style:{fontSize:"12px",fill:"#64748b"}},this.chartSubtitle):null,index.h("svg",{key:"e7229a7cd455f65177a1943826ff22340e808fb0",class:"sy-wafer-map__viewport",x:zoomRect.x,y:zoomRect.y,width:zoomRect.width,height:zoomRect.height,viewBox:`${zoomRect.x} ${zoomRect.y} ${zoomRect.width} ${zoomRect.height}`,style:{overflow:viewportOverflow}},index.h("g",{key:"c83125be2121c54a022286c0925b4848c6a0fffb",class:"sy-wafer-map__zoom-layer",transform:zoomMatrix},index.h("g",{key:"601d2536095b774f6bd8ef83097485b74bb53846",transform:stageTransform},index.h("path",{key:"37418328ad600c22941fd217389fef5d7ebcd523",class:"sy-wafer-map__substrate",d:outline,fill:resolve.resolveSingleColor(this.waferColor,"#eef2f7")}))))),index.h("canvas",{key:"4847f3e5203aa36dcac3503dd0c27f17615fd231",class:"sy-wafer-map__surface",ref:el=>this.canvasElement=el,style:{position:"absolute",inset:"0",width:`${this.width}px`,height:`${this.height}px`},"aria-hidden":"true"}),index.h("svg",{key:"fffc15653d60f8defc077a50ed1d23ecb2f044a8",class:"sy-wafer-map__overlay",width:this.width,height:this.height,viewBox:`0 0 ${this.width} ${this.height}`,xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",style:{position:"absolute",inset:"0",pointerEvents:"none"}},index.h("svg",{key:"e2c958e07d4cc1ed78df5fe1f6c6225b0b2f2fa2",class:"sy-wafer-map__viewport",x:zoomRect.x,y:zoomRect.y,width:zoomRect.width,height:zoomRect.height,viewBox:`${zoomRect.x} ${zoomRect.y} ${zoomRect.width} ${zoomRect.height}`,style:{overflow:viewportOverflow}},index.h("g",{key:"224b6c060075b17751ed8c7e529b7fd6b5986d28",class:"sy-wafer-map__zoom-layer",transform:zoomMatrix},shotBoundaries?index.h("g",{class:"sy-wafer-map__shot-grid",transform:`${stageTransform} rotate(${{down:0,left:90,right:-90,up:180}[wafer.orientation]})`,"aria-hidden":"true"},shotBoundaries.vertical.map(line=>index.h("line",{x1:line.at,y1:line.from,x2:line.at,y2:line.to,stroke:this.shotColor,"stroke-width":1.4/(layout.scale*zoomScale),opacity:.75})),shotBoundaries.horizontal.map(line=>index.h("line",{x1:line.from,y1:line.at,x2:line.to,y2:line.at,stroke:this.shotColor,"stroke-width":1.4/(layout.scale*zoomScale),opacity:.75}))):null,index.h("g",{key:"7e894ddedb6859acd933519a166ae6e373fefeea",transform:stageTransform},index.h("path",{key:"0649f445fab2aab9c886b1b2c2923dc234cdfd29",class:"sy-wafer-map__outline",d:outline,fill:"none",stroke:this.outlineColor,"stroke-width":outlineStrokeMm,"stroke-linejoin":"round"}),this.showExclusion&&wafer.edgeExclusion>0?index.h("circle",{class:"sy-wafer-map__exclusion",cx:0,cy:0,r:wafer.effectiveRadius,fill:"none",stroke:"#94a3b8","stroke-width":exclusionStrokeMm,"stroke-dasharray":`${exclusionDashMm} ${exclusionDashMm}`,opacity:.8}):null),(()=>{const labels=this.dieIndexLabels(layout,zoomScale);if(labels.length===0)return null;return index.h("g",{class:"sy-wafer-map__die-indices","aria-hidden":"true"},labels.map(label=>index.h("text",{x:label.x,y:label.y,"text-anchor":"middle","dominant-baseline":"central",style:{fontSize:`${label.fontSize}px`,fill:"#475569",fontFamily:"ui-monospace, monospace"}},label.text)))})(),(()=>{const markers=[];const rectFor=die=>die?layout.dies.find(d=>d.col===die.col&&d.row===die.row)??null:null;const hoverRect=rectFor(this.hoverDie);if(hoverRect){markers.push(index.h("rect",{class:"sy-wafer-map__hover-marker",x:hoverRect.x,y:hoverRect.y,width:hoverRect.width,height:hoverRect.height,fill:"none",stroke:"#0f172a","stroke-width":1.6/zoomScale}))}const selectedRect=rectFor(this.selectedDie);if(selectedRect){markers.push(index.h("rect",{class:"sy-wafer-map__selection-marker",x:selectedRect.x-1,y:selectedRect.y-1,width:selectedRect.width+2,height:selectedRect.height+2,fill:"none",stroke:"#2563eb","stroke-width":2/zoomScale}))}return markers.length>0?index.h("g",{class:"sy-wafer-map__markers","aria-hidden":"true"},markers):null})())),this.binLegend&&mode==="bin"?this.renderBinLegend(binSummary):null,this.binLegend&&binarySummary?this.renderBinaryLegend(binarySummary):null,this.binLegend&&valueRender?this.renderValueLegend(valueRender.axis,valueRender.stats):null,defectRender&&defectRender.total>0?index.h("text",{class:"sy-wafer-map__defect-count",x:this.width-12,y:this.headerHeight()+14,"text-anchor":"end","aria-hidden":"true",style:{fontSize:"11px",fill:"#475569"}},`defects ${defectRender.total}`):null),this.renderZoomOverlay(zoomRect),this.tooltipShow&&this.hoverDie?index.h("div",{class:"sy-wafer-map__tooltip",style:{position:"absolute",left:`${Math.min(this.hoverDie.cssX+12,this.width-170)}px`,top:`${Math.max(4,this.hoverDie.cssY-34)}px`,background:"rgba(15, 23, 42, 0.92)",color:"#f8fafc",font:"11px/1.5 system-ui, sans-serif",padding:"3px 8px",borderRadius:"4px",pointerEvents:"none",whiteSpace:"nowrap"}},this.tooltipText(this.hoverDie)):null,index.h("div",{key:"bee67ff262fc9d7f60d10761f0281478528e3a15",class:"sy-wafer-map__sr-only","aria-live":"polite"},this.srAnnouncement),this.fallbackReason&&index.h("span",{key:"38c271997d09fa4dca865e52099459bf5e5793f5",class:"sy-wafer-map__watermark",title:this.fallbackReason},"Syidax - fell back to standard renderer")),chartBrand.renderChartBrand(this.host,this.brandLogo,{width:this.width,height:this.height,plot:zoomRect}))}async getEngineStatus(){return standardEngineStatus.standardOnlyEngineStatus({requested:this.engine,onUnavailable:this.unavailable,renderer:"wafer"})}static get watchers(){return{"values":[{"onValuesChange":0}],"streamSource":[{"handleStreamSourceChange":0}],"streamMax":[{"handleStreamSourceChange":0}],"streamWindow":[{"handleStreamWindowChange":0}],"animated":[{"handleAnimationToggle":0}],"animationDuration":[{"handleAnimationToggle":0}],"animationEasing":[{"handleAnimationToggle":0}],"animationType":[{"handleAnimationToggle":0}],"defects":[{"onDefectsChange":0}]}}};SyWaferMap.style=syWaferMapCss();exports.sy_wafer_map=SyWaferMap;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var index=require("./index-CKeHnO3Q.js");var waferStack=require("./wafer-stack-1qlPI-im.js");var chartBrand=require("./chart-brand-CEKOnWyE.js");require("./types-jSXHeK-g.js");require("./brand-mark-default-DvQHU2qS.js");const syWaferMapCss=()=>`.sc-sy-wafer-stack-h{display:inline-block;position:relative}.sy-wafer-map__underlay.sc-sy-wafer-stack,.sy-wafer-map__surface.sc-sy-wafer-stack,.sy-wafer-map__overlay.sc-sy-wafer-stack{display:block}.sy-wafer-map__title.sc-sy-wafer-stack{fill:#0f172a}.sy-wafer-map.sc-sy-wafer-stack:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.sy-wafer-map__sr-only.sc-sy-wafer-stack{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.sy-wafer-map__watermark.sc-sy-wafer-stack{position:absolute;top:4px;right:6px;font-size:10px;line-height:1;padding:2px 6px;background:hsla(0,0%,100%,.85);border:1px solid #e5e7eb;border-radius:999px;color:#6b7280;pointer-events:none}.sy-wafer-map__subtitle.sc-sy-wafer-stack{fill:#64748b}`;const SyWaferStack=class{constructor(hostRef){index.registerInstance(this,hostRef);this.rendered=index.createEvent(this,"rendered",7)}get host(){return index.getElement(this)}width=520;height=540;brandLogo;brandPosition="bottom-right";wafers;metric="fail-count";passBin=1;repeatThreshold;diameter=300;edgeExclusion=3;indicator="notch";orientation="down";dieWidth=10;dieHeight=10;scribeX=.2;scribeY=.2;showPartial=true;colorAxis;showStats=true;chartTitle;chartSubtitle;rendered;async getStackSummary(){const{values:_values,...summary}=this.stackResult();return{...summary,systematicCells:summary.systematicCells.map(c=>({...c}))}}stackResult(){return waferStack.computeWaferStack(this.wafers,{metric:this.metric,passBin:this.passBin,repeatThreshold:this.repeatThreshold})}effectiveColorAxis(stack){if(this.colorAxis!==void 0)return this.colorAxis;if(stack.metric==="fail-count")return{min:0,max:Math.max(1,stack.waferCount),scheme:"reds"};if(stack.metric==="fail-rate")return{min:0,max:1,scheme:"reds"};return"auto"}defaultSubtitle(stack){const metricLabel=stack.metric==="fail-count"?`per-die fails across ${stack.waferCount} wafers`:stack.metric==="fail-rate"?`per-die fail rate across ${stack.waferCount} wafers`:`per-die mean value across ${stack.waferCount} wafers`;return`${metricLabel} · ${stack.systematicCells.length} systematic (≥${stack.repeatThreshold})`}render(){const stack=this.stackResult();return index.h(index.Host,{key:"233ae7d9d791e59a56519ca0858db1f91822e7da","data-sy-brand-host":"chart"},index.h("div",{key:"64baf3f3e73597b77c77bfca9955b31716216c86",class:"sy-wafer-stack",role:"group","aria-roledescription":"Wafer stack","aria-label":`Wafer stack: ${stack.waferCount} wafers aggregated by ${stack.metric}, ${stack.systematicCells.length} systematic die positions (threshold ${stack.repeatThreshold}).`,"data-wafer-count":String(stack.waferCount),"data-max-fail":String(stack.maxFail),"data-systematic-count":String(stack.systematicCells.length)},index.h("sy-wafer-map",{key:"bc2c73bcbe708a5477d75bbfb70fcaff4a8a9f61",width:this.width,height:this.height,mode:"value",values:stack.values,colorAxis:this.effectiveColorAxis(stack),showStats:this.showStats,diameter:this.diameter,edgeExclusion:this.edgeExclusion,indicator:this.indicator,orientation:this.orientation,dieWidth:this.dieWidth,dieHeight:this.dieHeight,scribeX:this.scribeX,scribeY:this.scribeY,showPartial:this.showPartial,chartTitle:this.chartTitle??"Wafer stack",chartSubtitle:this.chartSubtitle??this.defaultSubtitle(stack),onRendered:(event=>{this.rendered.emit(event.detail)})})),chartBrand.renderChartBrand(this.host,this.brandLogo,{width:this.width,height:this.height}))}};SyWaferStack.style=syWaferMapCss();exports.sy_wafer_stack=SyWaferStack;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var index=require("./index-CKeHnO3Q.js");var safeFormatter=require("./safe-formatter-B0DDURao.js");var pointContextMenu=require("./point-context-menu-CWB4nv9m.js");var pieAnimator=require("./pie-animator-Bvgo8ICN.js");var chartStreamingGate=require("./chart-streaming-gate-DX4tlXCx.js");var chartBrand=require("./chart-brand-CEKOnWyE.js");var zoomInteraction=require("./zoom-interaction-C3K9MKr2.js");var viewportZoom=require("./viewport-zoom-h9w4q7XJ.js");var scheme=require("./scheme-KzZHS7kW.js");var connector=require("./connector-8ebOKxbI.js");var standardEngineStatus=require("./standard-engine-status-C4zMZsEh.js");require("./chart-license-bridge-DAODso1A.js");require("./errors-DNua3ZWy.js");require("./brand-mark-default-DvQHU2qS.js");require("./zoom-window-oCyi6HPg.js");const WORD_LINE_HEIGHT=1.32;const NARROW=new Set(["i","j","l","t","f","r",".",",",":",";","'","|","!","I","(",")","[","]"," "]);const WIDE=new Set(["m","w","M","W","@","%","&"]);const UPPER_RE=/[A-Z]/;const DIGIT_RE=/[0-9]/;function isFullWidth(codePoint){return codePoint>=4352&&codePoint<=4607||codePoint>=11904&&codePoint<=40959||codePoint>=44032&&codePoint<=55203||codePoint>=12352&&codePoint<=12543||codePoint>=63744&&codePoint<=64255||codePoint>=65280&&codePoint<=65376}function glyphWidthRatio(char){const codePoint=char.codePointAt(0)??0;if(isFullWidth(codePoint))return 1;if(NARROW.has(char))return .3;if(WIDE.has(char))return .92;if(UPPER_RE.test(char))return .72;if(DIGIT_RE.test(char))return .56;return .55}function approximateTextWidth(text,fontSize){let em=0;for(const char of text)em+=glyphWidthRatio(char);return em*fontSize}const approximateWordMeasure=(text,fontSize)=>({width:approximateTextWidth(text,fontSize),height:fontSize*WORD_LINE_HEIGHT});function createCanvasWordMeasure(fontFamily,fontWeight){let context;return(text,fontSize)=>{if(context===void 0){try{context=typeof document!=="undefined"?document.createElement("canvas").getContext("2d"):null}catch{context=null}}if(!context)return approximateWordMeasure(text,fontSize);context.font=`${fontWeight} ${fontSize}px ${fontFamily}`;const metrics=context.measureText(text);const lineBox=metrics.fontBoundingBoxAscent+metrics.fontBoundingBoxDescent;const inkBox=metrics.actualBoundingBoxAscent+metrics.actualBoundingBoxDescent;const height=Number.isFinite(lineBox)&&lineBox>0?lineBox:Number.isFinite(inkBox)&&inkBox>0?inkBox:fontSize*WORD_LINE_HEIGHT;const inkWidth=metrics.actualBoundingBoxLeft+metrics.actualBoundingBoxRight;const width=Math.max(metrics.width>0?metrics.width:approximateTextWidth(text,fontSize),Number.isFinite(inkWidth)?inkWidth:0);return{width,height}}}function resolveWordFontSizes(words,options){const minFont=Math.max(1,Math.floor(Number.isFinite(options.minFontSize)?options.minFontSize:1));const maxFont=Math.max(minFont,Math.floor(Number.isFinite(options.maxFontSize)?options.maxFontSize:minFont));const maxWeight=words.reduce((acc,word)=>Math.max(acc,word.weight),0);const sizes=new Map;if(maxWeight<=0)return sizes;for(const word of words){if(word.weight<=0)continue;const relative=word.weight/maxWeight;const scaled=options.weightScale==="sqrt"?Math.sqrt(relative):options.weightScale==="log"?Math.log(1+word.weight)/Math.log(1+maxWeight):relative;sizes.set(word.index,Math.min(maxFont,Math.max(minFont,Math.floor(maxFont*scaled))))}return sizes}function rotationForPlacement(placementIndex,options){const orientations=Math.max(1,Math.floor(Number.isFinite(options.orientations)?options.orientations:1));const from=Number.isFinite(options.from)?options.from:0;const to=Number.isFinite(options.to)?options.to:from;if(orientations===1)return from;const step=(to-from)/(orientations-1);return from+placementIndex%orientations*step}function rotatedExtent(width,height,degrees){const radians=degrees*Math.PI/180;const cos=Math.abs(Math.cos(radians));const sin=Math.abs(Math.sin(radians));return{width:width*cos+height*sin,height:width*sin+height*cos}}function boxesOverlap(a,b,padding){return Math.abs(a.x-b.x)<a.halfWidth+b.halfWidth+padding&&Math.abs(a.y-b.y)<a.halfHeight+b.halfHeight+padding}function insidePlot(box,plot){return box.x-box.halfWidth>=plot.x&&box.x+box.halfWidth<=plot.x+plot.width&&box.y-box.halfHeight>=plot.y&&box.y+box.halfHeight<=plot.y+plot.height}function*spiralPositions(spiral,step,maxSteps){yield{dx:0,dy:0};if(spiral==="archimedean"){const deltaTheta=.35;const b=step/(2*Math.PI);for(let i=1;i<=maxSteps;i+=1){const theta=i*deltaTheta;const radius=b*theta;yield{dx:radius*Math.cos(theta),dy:radius*Math.sin(theta)}}return}let x=0;let y=0;let emitted=0;let arm=1;const directions=[{dx:1,dy:0},{dx:0,dy:1},{dx:-1,dy:0},{dx:0,dy:-1}];let directionIndex=0;while(emitted<maxSteps){for(let repeat=0;repeat<2&&emitted<maxSteps;repeat+=1){const direction=directions[directionIndex%4];for(let unit=0;unit<arm&&emitted<maxSteps;unit+=1){x+=direction.dx*step;y+=direction.dy*step;emitted+=1;yield{dx:x,dy:y}}directionIndex+=1}arm+=1}}function computeWordCloudLayout(options){const measure=options.measure??approximateWordMeasure;const plot=options.plot;const padding=Math.max(0,Number.isFinite(options.wordPadding)?options.wordPadding:0);const sizes=resolveWordFontSizes(options.words,options);const ordered=[...options.words].sort((a,b)=>b.weight-a.weight||a.index-b.index);const centerX=plot.x+plot.width/2;const centerY=plot.y+plot.height/2;const stepBase=Math.max(2,Math.min(plot.width,plot.height)/100);const span=Math.max(plot.width,plot.height);const maxSteps=Math.ceil((span/stepBase+2)**2)*2;const placed=[];const placedBoxes=[];const dropped=[];for(let placementIndex=0;placementIndex<ordered.length;placementIndex+=1){const word=ordered[placementIndex];const fontSize=sizes.get(word.index)??0;if(fontSize<=0)continue;const rotation=word.rotation??rotationForPlacement(placementIndex,options.rotation);const metrics=measure(word.name,fontSize);const extent=rotatedExtent(metrics.width,metrics.height,rotation);const halfWidth=extent.width/2;const halfHeight=extent.height/2;let spot=null;if(extent.width<=plot.width&&extent.height<=plot.height){for(const offset of spiralPositions(options.spiral,stepBase,maxSteps)){if(Math.hypot(offset.dx,offset.dy)>span)break;const candidate={x:centerX+offset.dx,y:centerY+offset.dy,halfWidth,halfHeight};if(!insidePlot(candidate,plot))continue;if(placedBoxes.some(box=>boxesOverlap(candidate,box,padding)))continue;spot={x:candidate.x,y:candidate.y};break}}if(!spot){dropped.push({word,fontSize,reason:"no-fit"});continue}placed.push({word,fontSize,x:spot.x,y:spot.y,rotation,width:metrics.width,height:metrics.height,extentWidth:extent.width,extentHeight:extent.height});placedBoxes.push({x:spot.x,y:spot.y,halfWidth,halfHeight})}return{placed,dropped,plot}}function wordAtPoint(placed,x,y){for(let i=placed.length-1;i>=0;i-=1){const candidate=placed[i];const radians=-candidate.rotation*Math.PI/180;const cos=Math.cos(radians);const sin=Math.sin(radians);const dx=x-candidate.x;const dy=y-candidate.y;const localX=dx*cos-dy*sin;const localY=dx*sin+dy*cos;if(Math.abs(localX)<=candidate.width/2&&Math.abs(localY)<=candidate.height/2){return candidate}}return null}function resolveWordCloudDatum(datum,index2){if(Array.isArray(datum)){const[name,weight]=datum;return{name:typeof name==="string"?name:String(name??index2),weight:coerceWeight(weight),color:void 0,rotation:void 0,visible:true,id:typeof name==="string"&&name.length>0?name:String(index2)}}if(datum&&typeof datum==="object"){const record=datum;const name=typeof record.name==="string"&&record.name.length>0?record.name:String(index2);return{name,weight:coerceWeight(record.weight),color:typeof record.color==="string"?record.color:void 0,rotation:typeof record.rotation==="number"&&Number.isFinite(record.rotation)?record.rotation:void 0,visible:record.visible!==false,id:record.id!==void 0&&record.id!==null?String(record.id):name}}return{name:String(index2),weight:0,color:void 0,rotation:void 0,visible:false,id:String(index2)}}function coerceWeight(raw){const value=typeof raw==="bigint"?Number(raw):raw;if(typeof value!=="number"||!Number.isFinite(value)||value<=0)return 0;return value}function resolveWordCloudWords(values,palette){const source=Array.isArray(values)?values:[];const words=[];for(let index2=0;index2<source.length;index2+=1){const resolved=resolveWordCloudDatum(source[index2],index2);if(!resolved.visible||resolved.weight<=0)continue;words.push({index:index2,id:resolved.id,name:resolved.name,weight:resolved.weight,color:resolved.color??palette[index2%Math.max(1,palette.length)]??"#2563eb",rotation:resolved.rotation,visible:true})}return words}function pickWordCloudEngine(options){if(options.requested==="pro"){const reason="no GPU word-cloud renderer exists";if(pointContextMenu.normalizeUnavailableBehaviour(options.onUnavailable)==="error"){throw new Error('sy-word-cloud: Pro engine is unavailable — no GPU word-cloud renderer exists. Use engine="standard" or unavailable="fallback".')}console.warn(`[Syidax] sy-word-cloud: Pro renderer unavailable, falling back to Standard (${reason}).`);return{tier:"standard",fallbackReason:reason}}return{tier:"standard"}}function createWordCloudStreamSource(){const error=new Error("Dedicated streaming requires @syidax/advanced-pro");error.code="module-missing";error.feature="chart.streaming";throw error}const WORD_CLOUD_TOOLTIP_DEFAULTS={show:true,openMode:"single",trigger:"hover",offset:8,interactive:false,hideOnLeave:true,connector:{show:false},draggable:false};function isPlainObject(value){return Boolean(value)&&typeof value==="object"&&!Array.isArray(value)}function resolveWordCloudTooltipConnectorSpec(input){if(input===true)return{show:true};if(input===void 0||input===null||input===false||!isPlainObject(input)){return{show:false}}const partial=input;return{show:partial.show===true,color:typeof partial.color==="string"?partial.color:void 0,width:Number.isFinite(partial.width)&&partial.width>0?partial.width:void 0,dash:Array.isArray(partial.dash)?partial.dash.slice():void 0}}function resolveWordCloudTooltipSpec(input){if(input===void 0||input===null||input==="auto"||input===true){return{...WORD_CLOUD_TOOLTIP_DEFAULTS}}if(input==="off"||input===false){return{...WORD_CLOUD_TOOLTIP_DEFAULTS,show:false}}if(!isPlainObject(input)){return{...WORD_CLOUD_TOOLTIP_DEFAULTS}}const partial=input;const style=isPlainObject(partial.style)?Object.fromEntries(Object.entries(partial.style).filter(([,value])=>typeof value==="string"||typeof value==="number")):void 0;const dimension=value=>typeof value==="string"||Number.isFinite(value)&&value>=0?value:void 0;const trigger=value=>value==="click"||value==="hover-click"||value==="hover"?value:WORD_CLOUD_TOOLTIP_DEFAULTS.trigger;const openMode=value=>value==="multiple"?"multiple":WORD_CLOUD_TOOLTIP_DEFAULTS.openMode;const connector2=resolveWordCloudTooltipConnectorSpec(partial.connector);return{show:partial.show===false?false:true,openMode:openMode(partial.openMode),trigger:trigger(partial.trigger),side:partial.side,offset:Number.isFinite(partial.offset)&&partial.offset>=0?partial.offset:WORD_CLOUD_TOOLTIP_DEFAULTS.offset,format:typeof partial.format==="function"?partial.format:void 0,html:typeof partial.html==="function"?partial.html:void 0,className:typeof partial.className==="string"?partial.className:void 0,style,width:dimension(partial.width),minWidth:dimension(partial.minWidth),maxWidth:dimension(partial.maxWidth),padding:dimension(partial.padding),interactive:partial.interactive===true,hideOnLeave:partial.hideOnLeave===false?false:true,connector:connector2,draggable:partial.draggable===true}}function wordCloudTooltipSpecFromLegacy(opts){return{...WORD_CLOUD_TOOLTIP_DEFAULTS,show:opts.show,html:typeof opts.format==="function"?word=>opts.format(word):void 0}}function prepareWordCloudLayout(options){const words=resolveWordCloudWords(options.values,options.palette);const layout=computeWordCloudLayout({words,plot:options.plot,minFontSize:options.minFontSize,maxFontSize:options.maxFontSize,weightScale:options.weightScale,spiral:options.spiral,rotation:{orientations:options.orientations,from:options.rotationFrom,to:options.rotationTo},wordPadding:options.wordPadding,measure:options.measure});const totalWeight=words.reduce((acc,word)=>acc+word.weight,0);const visuals=layout.placed.map(placed=>({key:placed.word.id,placed,x:placed.x,y:placed.y,rotation:placed.rotation,fontSize:placed.fontSize,color:placed.word.color,name:placed.word.name,index:placed.word.index}));return{words,placed:[...layout.placed],dropped:[...layout.dropped],visuals,plot:layout.plot,totalWeight}}const syWordCloudCss=()=>`.sc-sy-word-cloud-h{display:inline-block;position:relative}.sy-word-cloud.sc-sy-word-cloud{position:relative;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}.sy-word-cloud__root.sc-sy-word-cloud{display:block;outline:none}.sy-word-cloud__root.sc-sy-word-cloud:focus-visible{outline:2px solid var(--sy-focus-ring, #2563eb);outline-offset:2px;border-radius:4px}.sy-word-cloud__title.sc-sy-word-cloud{fill:var(--sy-chart-title-color, #111827);font-weight:600;text-anchor:middle;dominant-baseline:hanging}.sy-word-cloud__subtitle.sc-sy-word-cloud{fill:var(--sy-chart-subtitle-color, #6b7280);text-anchor:middle;dominant-baseline:hanging}.sy-word-cloud__word.sc-sy-word-cloud{transition:opacity 120ms ease-out;cursor:default}.sy-word-cloud__word--dim.sc-sy-word-cloud{opacity:.3}.sy-word-cloud__sr-only.sc-sy-word-cloud{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.sy-word-cloud__watermark.sc-sy-word-cloud{position:absolute;right:6px;bottom:4px;font-size:10px;color:rgba(107,114,128,.75);pointer-events:none}`;function wordTooltipClassName(base,extra){return extra?`${base} ${extra}`:base}function wordTooltipCssValue(property,value){if(typeof value!=="number")return value;const unitless=new Set(["lineHeight","opacity","zIndex","fontWeight","flex","flexGrow","flexShrink","order"]);return unitless.has(property)?String(value):`${value}px`}function escapeHtml(s){return s.replace(/[&<>"']/g,ch=>{switch(ch){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case"'":return"'";default:return ch}})}function insideRect(rect,x,y){return x>=rect.x&&x<=rect.x+rect.width&&y>=rect.y&&y<=rect.y+rect.height}let wordCloudInstanceCounter=0;const SyWordCloud=class{constructor(hostRef){index.registerInstance(this,hostRef);this.rendered=index.createEvent(this,"rendered",7);this.pointClick=index.createEvent(this,"pointClick",7);this.pointHover=index.createEvent(this,"pointHover",7);this.pointContextMenu=index.createEvent(this,"pointContextMenu",7);this.appended=index.createEvent(this,"appended",7);this.windowSlid=index.createEvent(this,"windowSlid",7);this.chartAnimationStart=index.createEvent(this,"chartAnimationStart",7);this.chartAnimationEnd=index.createEvent(this,"chartAnimationEnd",7);this.chartAnimationInterrupted=index.createEvent(this,"chartAnimationInterrupted",7);this.tooltipShown=index.createEvent(this,"tooltipShow",7);this.tooltipHide=index.createEvent(this,"tooltipHide",7);this.tooltipAction=index.createEvent(this,"tooltipAction",7);this.zoomChange=index.createEvent(this,"zoomChange",7)}get host(){return index.getElement(this)}values=[];width=520;height=400;brandLogo;brandPosition="bottom-right";palette="tableau10";colors;minFontSize=10;maxFontSize=44;weightScale="linear";spiral="rectangular";orientations=2;rotationFrom=0;rotationTo=90;wordPadding=2;fontFamily="system-ui, sans-serif";fontWeight="600";chartTitle;chartSubtitle;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;appended;windowSlid;chartAnimationStart;chartAnimationEnd;chartAnimationInterrupted;tooltipShown;tooltipHide;tooltipAction;zoomChange;activeTier="standard";fallbackReason;wordTooltip=null;wordTooltips=[];displayValues=[];hoverWordIndex=null;focusedWordIndex=null;srAnnouncement="";animationTick=0;zoomState=null;zoomSelection=null;initialRevealState;morphState;animationFrameHandle=null;stopAnimationLoopImpl;suppressNextValuesAnimation=false;internalStreamSource;internalStreamCapacity;boundStreamSource;streamUnsubscribe;streamLicense=new chartStreamingGate.ChartStreamingGate({host:()=>this.host,input:()=>chartStreamingGate.chartStreamingInput(this,"plain-fallback"),active:()=>this.boundStreamSource!==void 0,onChange:()=>this.handleStreamLicenseChange()});internalStreamValues;lastRenderResult={words:0,dropped:0,renderMs:0};pendingRenderedEmit=false;tooltipDrag;tooltipElement;nextTooltipId=1;draggableTooltipPositions=new Map;pointerFocusing=false;layoutCache;wordMeasure;wordMeasureFont;instanceKey=++wordCloudInstanceCounter;zoomInteraction=new zoomInteraction.ZoomInteraction(this.zoomInteractionHost());componentWillLoad(){this.displayValues=this.values}hasLoaded=false;detached=false;connectedCallback(){this.detached=false;this.streamLicense.connect();if(!this.hasLoaded)return;this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false});this.bindStreamSource()}componentDidLoad(){this.hasLoaded=true;this.bindStreamSource();this.host.addEventListener("wheel",this.handleZoomWheel,{passive:false});if(this.shouldRunInitialAnimation(null))this.startInitialReveal()}componentDidRender(){if(this.detached)return;if(this.pendingRenderedEmit){this.pendingRenderedEmit=false;this.rendered.emit({...this.lastRenderResult,tier:this.activeTier})}this.measureWordTooltipBox()}disconnectedCallback(){this.detached=true;this.streamLicense.disconnect();this.streamUnsubscribe?.();this.streamUnsubscribe=void 0;this.boundStreamSource=void 0;this.cancelInitialReveal(false);this.cancelMorph(false);this.stopAnimationLoop();this.tooltipDrag=void 0;this.host.removeEventListener("wheel",this.handleZoomWheel);this.zoomInteraction.dispose();this.zoomSelection=null}handleValuesChange(next,previous){if(this.suppressNextValuesAnimation){this.suppressNextValuesAnimation=false;if(!this.morphState)this.displayValues=next;return}this.routeValuesAnimation(previous??[],next)}handleStreamSourceChange(){this.bindStreamSource()}handleAnimationChange(){this.cancelMorph(true);this.cancelInitialReveal(true);if(this.shouldRunInitialAnimation(null))this.startInitialReveal()}handleVisualPropsChange(){this.animationTick++}async redraw(){const start=this.now();this.layoutCache=void 0;const base=this.settledRenderLayout();const result={words:base.placed.length,dropped:base.dropped.length,renderMs:this.now()-start};this.lastRenderResult=result;this.animationTick++;return result}async getActiveTier(){return this.activeTier}async addWord(datum,opts){const next=Array.isArray(this.values)?[...this.values]:[];const at=typeof opts?.insertAt==="number"&&opts.insertAt>=0&&opts.insertAt<=next.length?Math.floor(opts.insertAt):next.length;next.splice(at,0,datum);this.values=next;return at}async removeWord(idOrIndex){if(!Array.isArray(this.values))return false;const idx=this.resolveWordIndex(idOrIndex);if(idx<0)return false;const next=[...this.values];next.splice(idx,1);this.values=next;return true}async updateWord(idOrIndex,patch){if(!Array.isArray(this.values))return false;const idx=this.resolveWordIndex(idOrIndex);if(idx<0)return false;const next=[...this.values];const current=next[idx];if(Array.isArray(current)){next[idx]={name:current[0],weight:current[1],...patch}}else{next[idx]={...current,...patch}}this.values=next;return true}async setWordWeight(idOrIndex,weight){return this.updateWord(idOrIndex,{weight})}async appendPoint(datum){await this.streamLicense.run("appendPoint",()=>{const source=this.activeStreamSource();if(source){source.push(datum);return}this.mergeIntoValues([datum]);this.appended.emit({count:1})})}async appendBatch(datums){if(!Array.isArray(datums)||datums.length===0)return;await this.streamLicense.run("appendBatch",()=>{const source=this.activeStreamSource();if(source){source.pushBatch(datums);return}this.mergeIntoValues(datums);this.appended.emit({count:datums.length})})}async shift(count=1){await this.streamLicense.run("shift",()=>{const source=this.activeStreamSource();if(source){source.shift(count);return}if(!Array.isArray(this.values))return;const n=Math.max(0,Math.min(Math.floor(count),this.values.length));if(n===0)return;const next=[...this.values];for(let i=0;i<n;i+=1){let lightest=0;for(let j=1;j<next.length;j+=1){if(resolveWordCloudDatum(next[j],j).weight<resolveWordCloudDatum(next[lightest],lightest).weight)lightest=j}next.splice(lightest,1)}this.values=next;this.windowSlid.emit({dropped:n})})}async replace(datums){await this.streamLicense.run("replace",()=>{const source=this.activeStreamSource();if(source){source.replace(datums);return}this.values=Array.isArray(datums)?[...datums]:[]})}async getStreamSource(){return this.streamLicense.run("getStreamSource",()=>this.activeStreamSource())}async setAnimation(options){if(!options)return;if(Number.isFinite(options.duration))this.animationDuration=options.duration;if(options.easing)this.animationEasing=options.easing;if(options.type)this.animationType=options.type;if(typeof options.enabled==="boolean"){if(!options.enabled&&(this.initialRevealState||this.morphState))this.chartAnimationInterrupted.emit();this.animated=options.enabled;if(!options.enabled){this.cancelMorph(false);this.cancelInitialReveal(false);this.stopAnimationLoop();this.animationTick++}}}async pauseAnimation(){const now=this.now();for(const st of[this.initialRevealState,this.morphState]){if(st&&!st.paused){st.pausedElapsed=now-st.startedAt;st.paused=true}}this.stopAnimationLoop()}async resumeAnimation(){const now=this.now();for(const st of[this.initialRevealState,this.morphState]){if(st&&st.paused){st.startedAt=now-st.pausedElapsed;st.paused=false}}if(this.initialRevealState||this.morphState)this.startAnimationLoop()}async replayAnimation(){if(!this.animated)return;this.cancelMorph(false);this.cancelInitialReveal(false);this.startInitialReveal()}async hitTestWord(cssX,cssY){const base=this.settledRenderLayout();const placed=this.wordUnderPointer(base,cssX,cssY);if(!placed)return null;return{index:placed.word.index,id:placed.word.id,name:placed.word.name}}async getDroppedWords(){const base=this.settledRenderLayout();return base.dropped.map(entry=>({index:entry.word.index,id:entry.word.id,name:entry.word.name,weight:entry.word.weight}))}async showTooltipAtWord(idOrIndex){const idx=this.resolveWordIndex(idOrIndex);const base=this.settledRenderLayout();const placed=base.placed.find(entry=>entry.word.index===idx);if(!placed)return null;const spec=this.effectiveTooltipSpec();if(!spec.show)return null;this.showTooltipForWord(placed.word,{x:placed.x,y:placed.y},spec,spec.openMode==="multiple",placed);return this.buildPointEventDetail(placed.word,base)}async hideTooltip(){this.clearTooltips()}async zoomTo(request){return this.zoomInteraction.zoomTo(request)}async zoomBy(factor,anchorFraction=.5){return this.zoomInteraction.zoomBy(factor,anchorFraction)}async panBy(delta){return this.zoomInteraction.panBy(delta)}async resetZoom(){return this.zoomInteraction.reset()}async getZoom(){return this.zoomState}async getZoomExtent(request){return this.zoomInteraction.extent(request)}zoomSpec(){return zoomInteraction.resolveCartesianZoomSpec(this.zoom)}zoomRect(){return this.plotRect()}viewportTransform(){return viewportZoom.viewportZoomTransform(this.zoomRect(),this.zoomState)}shownPoint(x,y){return viewportZoom.toViewport(this.viewportTransform(),x,y)}contentPointAt(x,y){const t=this.viewportTransform();if(!t.zoomed)return{x,y};if(!insideRect(this.zoomRect(),x,y))return null;return viewportZoom.fromViewport(t,x,y)}wordUnderPointer(base,hostX,hostY){const content=this.contentPointAt(hostX,hostY);return content?wordAtPoint(base.placed,content.x,content.y):null}zoomInteractionHost(){return{frame:()=>viewportZoom.viewportZoomFrame(this.zoomRect(),this.zoomState),spec:()=>this.zoomSpec(),state:()=>this.zoomState,apply:next=>{this.zoomState=next;this.reanchorTooltipsForZoom()},emit:detail=>{this.zoomChange.emit(detail)},selection:rect=>{this.zoomSelection=rect},standDown:()=>this.zoomStandDown()}}zoomStandDown(){this.clearHover()}reanchorTooltipsForZoom(){if(!this.hasVisibleTooltips())return;const t=this.viewportTransform();const rect=this.zoomRect();const follow=tooltip=>{const shown=viewportZoom.toViewport(t,tooltip.anchorX,tooltip.anchorY);if(t.zoomed&&!insideRect(rect,shown.x,shown.y))return null;const context={...tooltip.context,cssX:shown.x,cssY:shown.y};if(tooltip.positionLock)return{...tooltip,pointCssX:shown.x,pointCssY:shown.y,context};return{...tooltip,cssX:shown.x,cssY:shown.y,pointCssX:shown.x,pointCssY:shown.y,context}};this.wordTooltip=this.wordTooltip?follow(this.wordTooltip):null;this.wordTooltips=this.wordTooltips.map(follow).filter(tooltip=>tooltip!==null);if(!this.hasVisibleTooltips()){this.tooltipDrag=void 0;this.tooltipHide.emit()}}zoomPointerInput(e){const point=this.pointerCss(e);return{pointerId:e.pointerId,x:point.x,y:point.y,button:e.button,shiftKey:e.shiftKey,altKey:e.altKey,pointerType:e.pointerType}}zoomWheelInput(e){const point=this.pointerCss(e);return{x:point.x,y:point.y,deltaX:e.deltaX,deltaY:e.deltaY,deltaMode:e.deltaMode,ctrlKey:e.ctrlKey,metaKey:e.metaKey,shiftKey:e.shiftKey}}handleZoomWheel=e=>{if(this.zoomInteraction.wheel(this.zoomWheelInput(e)))e.preventDefault()};handleZoomPointerDown=e=>{if(this.zoomInteraction.pointerDown(this.zoomPointerInput(e)))e.currentTarget?.setPointerCapture?.(e.pointerId)};handleZoomPointerMove(e){return this.zoomInteraction.pointerMove(this.zoomPointerInput(e))}handleZoomPointerUp=e=>{const owned=this.zoomInteraction.isPending;this.zoomInteraction.pointerUp(this.zoomPointerInput(e));if(owned)e.currentTarget?.releasePointerCapture?.(e.pointerId)};handleZoomPointerCancel=()=>{this.zoomInteraction.pointerCancel()};consumeSuppressedPlotClick(){return this.zoomInteraction.consumeSuppressedClick()}handleZoomKeyDown(event){if(!this.zoomInteraction.wantsKey(event))return false;if(!this.zoomInteraction.keyDown(event))return false;event.preventDefault();event.stopPropagation();return true}renderZoomOverlay(){const spec=this.zoomSpec();const selection=this.zoomSelection;const zoomed=this.zoomState!==null;if(!selection&&!(zoomed&&spec.resetButton))return null;const rect=this.zoomRect();return index.h("div",{class:"sy-word-cloud__zoom-overlay",style:{position:"absolute",left:"0",top:"0",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",zIndex:"6"}},selection&&index.h("div",{class:"sy-word-cloud__zoom-selection","aria-hidden":"true",style:{position:"absolute",left:`${selection.x}px`,top:`${selection.y}px`,width:`${selection.width}px`,height:`${selection.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))"}}),zoomed&&spec.resetButton&&index.h("button",{type:"button",class:"sy-word-cloud__zoom-reset","aria-label":"Reset zoom",onClick:()=>{void this.resetZoom()},style:{...zoomInteraction.ZoomInteraction.resetButtonStyle,position:"absolute",left:`${rect.x+rect.width-8}px`,top:`${rect.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"))}resolveWordIndex(idOrIndex){if(typeof idOrIndex==="number"&&Number.isFinite(idOrIndex)){const idx=Math.floor(idOrIndex);if(Array.isArray(this.values))return idx>=0&&idx<this.values.length?idx:-1;return-1}if(!Array.isArray(this.values))return-1;for(let i=0;i<this.values.length;i++){const resolved=resolveWordCloudDatum(this.values[i],i);if(resolved.id===idOrIndex||resolved.name===idOrIndex)return i}return-1}mergeIntoValues(datums){const next=Array.isArray(this.values)?[...this.values]:[];for(const datum of datums){const incoming=resolveWordCloudDatum(datum,next.length);const idx=next.findIndex((entry,i)=>resolveWordCloudDatum(entry,i).name===incoming.name);if(idx<0){next.push(datum);continue}const current=resolveWordCloudDatum(next[idx],idx);next[idx]={name:current.name,weight:current.weight+incoming.weight,...incoming.color!==void 0||current.color!==void 0?{color:incoming.color??current.color}:{},...incoming.rotation!==void 0||current.rotation!==void 0?{rotation:incoming.rotation??current.rotation}:{},...current.id!==current.name?{id:current.id}:{}}}this.values=next}activeStreamSource(){const route=this.streamLicense.route();if(route==="plain")this.dropInternalStreamSource();if(route!=="stream")return void 0;if(this.streamSource)return this.streamSource;return this.ensureInternalStreamSource()}ensureInternalStreamSource(){if(!Number.isFinite(this.streamMax)){this.dropInternalStreamSource();return void 0}const capacity=Math.max(1,Math.floor(this.streamMax));if(this.internalStreamSource&&this.internalStreamCapacity===capacity)return this.internalStreamSource;this.internalStreamCapacity=capacity;this.internalStreamSource=createWordCloudStreamSource();this.internalStreamValues=this.values;return this.internalStreamSource}dropInternalStreamSource(){this.internalStreamSource=void 0;this.internalStreamCapacity=void 0;this.internalStreamValues=void 0}bindStreamSource(){if(this.detached)return;const route=this.streamLicense.route();if(route==="plain")this.dropInternalStreamSource();let source=route==="stream"?this.streamSource??this.ensureInternalStreamSource():void 0;if(source===this.boundStreamSource)return;if(source!==void 0&&source===this.internalStreamSource&&this.values!==this.internalStreamValues){this.dropInternalStreamSource();source=this.ensureInternalStreamSource()}this.streamUnsubscribe?.();this.streamUnsubscribe=void 0;this.boundStreamSource=void 0;if(!source)return;this.boundStreamSource=source;this.streamUnsubscribe=source.subscribe(event=>this.handleStreamEvent(event));this.syncFromStreamSource()}syncFromStreamSource(){if(!this.boundStreamSource)return;const snapshot=this.boundStreamSource.snapshot(this.streamWindow);this.suppressNextValuesAnimation=true;this.values=snapshot;this.noteStreamValues();this.displayValues=snapshot}handleStreamLicenseChange(){this.bindStreamSource()}noteStreamValues(){if(this.boundStreamSource!==void 0&&this.boundStreamSource===this.internalStreamSource)this.internalStreamValues=this.values}handleStreamEvent(event){if(!this.boundStreamSource)return;const snapshot=this.boundStreamSource.snapshot(this.streamWindow);const prevVisuals=this.currentWordVisuals();const prevValues=this.displayValues;this.suppressNextValuesAnimation=true;this.values=snapshot;this.noteStreamValues();if(event.type==="push"||event.type==="pushBatch")this.appended.emit({count:event.count});else if(event.type==="shift")this.windowSlid.emit({dropped:event.count});if(this.shouldRunInitialAnimation(prevValues)){this.cancelMorph(false);this.displayValues=snapshot;this.startInitialReveal();this.animationTick++;return}if(!this.shouldAnimateUpdates(prevValues)){this.cancelMorph(false);this.displayValues=snapshot;this.animationTick++;return}if(this.sameWordValues(prevValues,snapshot)){this.displayValues=snapshot;this.animationTick++;return}this.displayValues=snapshot;this.startWordMorph(prevVisuals)}sameWordValues(a,b){const aa=Array.isArray(a)?a:[];const bb=Array.isArray(b)?b:[];if(aa.length!==bb.length)return false;for(let i=0;i<aa.length;i++){const ra=resolveWordCloudDatum(aa[i],i);const rb=resolveWordCloudDatum(bb[i],i);if(ra.id!==rb.id||ra.weight!==rb.weight)return false}return true}shouldAnimateUpdates(previous){return this.animated&&this.resolveAnimationType(previous)==="update"}shouldRunInitialAnimation(previous){return this.animated&&this.resolveAnimationType(previous)==="initial"}resolveAnimationType(previous){if(this.animationType)return this.animationType;return Array.isArray(previous)&&previous.length>0?"update":"initial"}routeValuesAnimation(prev,next){const prevVisuals=this.currentWordVisuals();this.displayValues=next;if(this.shouldRunInitialAnimation(prev)){this.cancelMorph(true);this.startInitialReveal()}else if(this.shouldAnimateUpdates(prev)&&!this.sameWordValues(prev,next)){this.startWordMorph(prevVisuals)}else{this.animationTick++}}startInitialReveal(){this.cancelInitialReveal(false);const duration=Math.max(0,this.animationDuration);if(duration<=0)return;this.initialRevealState={startedAt:this.now(),duration,paused:false,pausedElapsed:0};this.chartAnimationStart.emit();this.startAnimationLoop()}cancelInitialReveal(emitInterrupt){if(!this.initialRevealState)return;if(emitInterrupt)this.chartAnimationInterrupted.emit();this.initialRevealState=void 0}startWordMorph(prevVisuals){this.cancelMorph(true);const duration=Math.max(0,this.animationDuration);if(duration<=0){this.animationTick++;return}this.morphState={prevVisuals,startedAt:this.now(),duration,paused:false,pausedElapsed:0};this.chartAnimationStart.emit();this.startAnimationLoop()}cancelMorph(emitInterrupt){if(!this.morphState)return;if(emitInterrupt)this.chartAnimationInterrupted.emit();this.morphState=void 0}now(){return typeof performance!=="undefined"?performance.now():0}startAnimationLoop(){if(this.animationFrameHandle!==null)return;const schedule=typeof requestAnimationFrame==="function"?requestAnimationFrame:(cb=>setTimeout(()=>cb(this.now()),16));const cancel=typeof cancelAnimationFrame==="function"?cancelAnimationFrame:(id=>clearTimeout(id));const tick=now=>{this.animationFrameHandle=null;const stillRunning=this.advanceAnimations(now);this.animationTick++;if(stillRunning){this.animationFrameHandle=schedule(tick)}else{this.chartAnimationEnd.emit()}};this.animationFrameHandle=schedule(tick);this.stopAnimationLoopImpl=()=>{if(this.animationFrameHandle!==null){cancel(this.animationFrameHandle);this.animationFrameHandle=null}}}stopAnimationLoop(){this.stopAnimationLoopImpl?.();this.animationFrameHandle=null}advanceAnimations(now){let running=false;if(this.initialRevealState){const st=this.initialRevealState;const elapsed=st.paused?st.pausedElapsed:now-st.startedAt;if(elapsed>=st.duration)this.initialRevealState=void 0;else if(!st.paused)running=true}if(this.morphState){const st=this.morphState;const elapsed=st.paused?st.pausedElapsed:now-st.startedAt;if(elapsed>=st.duration)this.morphState=void 0;else if(!st.paused)running=true}return running}tweenProgress(st){const elapsed=st.paused?st.pausedElapsed:this.now()-st.startedAt;const raw=Math.min(1,Math.max(0,elapsed/Math.max(1,st.duration)));return pieAnimator.applyEasing(raw,this.animationEasing)}resolvedPalette(){if(Array.isArray(this.colors)&&this.colors.length>0)return[...this.colors];const scheme$1=scheme.categorical[this.palette]??scheme.categorical.tableau10;const length=Math.max(scheme$1.stops.length,12);return scheme.discretize(scheme$1,length).map(c=>`rgb(${c.r}, ${c.g}, ${c.b})`)}titleGutter(){let gutter=0;if(this.chartTitle)gutter+=22;if(this.chartSubtitle)gutter+=16;return gutter}plotRect(){const top=this.titleGutter();return{x:0,y:top,width:Math.max(1,this.width),height:Math.max(1,this.height-top)}}effectiveWordMeasure(){const font=`${this.fontWeight}|${this.fontFamily}`;if(!this.wordMeasure||this.wordMeasureFont!==font){this.wordMeasure=createCanvasWordMeasure(this.fontFamily,this.fontWeight);this.wordMeasureFont=font}return this.wordMeasure}settledRenderLayout(){const palette=this.resolvedPalette();const key=[this.width,this.height,this.titleGutter(),this.minFontSize,this.maxFontSize,this.weightScale,this.spiral,this.orientations,this.rotationFrom,this.rotationTo,this.wordPadding,this.fontFamily,this.fontWeight,palette.join(",")].join("|");if(this.layoutCache&&this.layoutCache.key===key&&this.layoutCache.values===this.displayValues){return this.layoutCache.layout}const layout=prepareWordCloudLayout({values:this.displayValues,plot:this.plotRect(),palette,minFontSize:this.minFontSize,maxFontSize:this.maxFontSize,weightScale:this.weightScale,spiral:this.spiral,orientations:this.orientations,rotationFrom:this.rotationFrom,rotationTo:this.rotationTo,wordPadding:this.wordPadding,measure:this.effectiveWordMeasure()});this.layoutCache={key,values:this.displayValues,layout};return layout}currentWordVisuals(){const base=this.settledRenderLayout();if(!this.morphState)return base.visuals;const t=this.tweenProgress(this.morphState);const rendered=this.composeMorphWords(this.morphState.prevVisuals,base.visuals,t);return rendered.filter(word=>!word.key.startsWith("ghost:")).map(word=>{const settled=base.visuals.find(visual=>visual.key===word.key);return{key:word.key,placed:settled?.placed??base.visuals[0]?.placed,x:word.x,y:word.y,rotation:word.rotation,fontSize:word.fontSize,color:word.color,name:word.name,index:word.index}}).filter(visual=>visual.placed!==void 0)}composeMorphWords(prev,next,t){const out=[];const prevByKey=new Map(prev.map(visual=>[visual.key,visual]));const nextKeys=new Set(next.map(visual=>visual.key));for(const b of next){const a=prevByKey.get(b.key);if(a){out.push({key:b.key,x:a.x+(b.x-a.x)*t,y:a.y+(b.y-a.y)*t,rotation:a.rotation+(b.rotation-a.rotation)*t,fontSize:a.fontSize+(b.fontSize-a.fontSize)*t,color:b.color,name:b.name,index:b.index,opacity:1})}else{out.push({key:b.key,x:b.x,y:b.y,rotation:b.rotation,fontSize:b.fontSize*t,color:b.color,name:b.name,index:b.index,opacity:t})}}for(const a of prev){if(nextKeys.has(a.key))continue;out.push({key:`ghost:${a.key}`,x:a.x,y:a.y,rotation:a.rotation,fontSize:a.fontSize*(1-t),color:a.color,name:a.name,index:a.index,opacity:1-t})}return out}revealProgressFor(placementOrder,total,eased){if(total<=0)return 1;const slot=placementOrder/total;const window=Math.max(1e-6,1/Math.min(total,12));return Math.min(1,Math.max(0,(eased*(1+window)-slot)/window))}buildPointEventDetail(word,base,placed){const spot=placed??base.placed.find(entry=>entry.word.index===word.index);const percentage=base.totalWeight>0?word.weight/base.totalWeight:0;const shown=this.shownPoint(spot?.x??base.plot.x+base.plot.width/2,spot?.y??base.plot.y+base.plot.height/2);return{index:word.index,id:word.id,name:word.name,weight:word.weight,percentage,color:word.color,fontSize:spot?.fontSize??0,rotation:spot?.rotation??0,cssX:shown.x,cssY:shown.y}}navigableWords(base=this.settledRenderLayout()){return base.placed.map(placed=>placed.word)}wordAriaLabel(word,base){const percentage=base.totalWeight>0?word.weight/base.totalWeight:0;const pct=Math.round(percentage*1e3)/10;return`${word.name}: ${word.weight} (${pct}%)`}accessibleSummary(base){const title=this.chartTitle?`${this.chartTitle}. `:"";const hidden=base.dropped.length>0?` ${base.dropped.length} ${base.dropped.length===1?"word":"words"} hidden (no space).`:"";return`${title}Word cloud, ${base.placed.length} ${base.placed.length===1?"word":"words"}.${hidden}`}announceFocusedWord(word){const base=this.settledRenderLayout();this.focusedWordIndex=word.index;this.srAnnouncement=this.wordAriaLabel(word,base);if(this.enableMouseTracking)this.pointHover.emit(this.buildPointEventDetail(word,base))}moveFocus(delta){const words=this.navigableWords();if(words.length===0)return;let idx=words.findIndex(word=>word.index===this.focusedWordIndex);if(idx<0)idx=delta>0?-1:0;idx=(idx+delta+words.length)%words.length;this.announceFocusedWord(words[idx])}onChartPointerDown=()=>{this.pointerFocusing=true;setTimeout(()=>{this.pointerFocusing=false},0)};onChartFocus=()=>{if(this.pointerFocusing)return;if(this.focusedWordIndex!==null)return;const words=this.navigableWords();if(words.length>0)this.announceFocusedWord(words[0])};onChartBlur=()=>{this.focusedWordIndex=null};onChartKeyDown=ev=>{if(this.handleZoomKeyDown(ev))return;switch(ev.key){case"ArrowRight":case"ArrowDown":ev.preventDefault();this.moveFocus(1);break;case"ArrowLeft":case"ArrowUp":ev.preventDefault();this.moveFocus(-1);break;case"Home":{ev.preventDefault();const first=this.navigableWords()[0];if(first)this.announceFocusedWord(first);break}case"End":{ev.preventDefault();const list=this.navigableWords();if(list.length>0)this.announceFocusedWord(list[list.length-1]);break}case"Enter":case" ":{if(this.focusedWordIndex===null)return;ev.preventDefault();const base=this.settledRenderLayout();const placed=base.placed.find(entry=>entry.word.index===this.focusedWordIndex);if(!placed)return;this.pointClick.emit(this.buildPointEventDetail(placed.word,base,placed));const spec=this.effectiveTooltipSpec();if(spec.show)this.showTooltipForWord(placed.word,{x:placed.x,y:placed.y},spec,spec.openMode==="multiple",placed);break}case"Escape":this.focusedWordIndex=null;this.clearHover();break}};pointerCss(event){const rect=this.host.getBoundingClientRect();return{x:event.clientX-rect.left,y:event.clientY-rect.top}}onChartPointerMove=event=>{if(this.handleZoomPointerMove(event))return;if(!this.enableMouseTracking)return;const{x,y}=this.pointerCss(event);const base=this.settledRenderLayout();const placed=this.wordUnderPointer(base,x,y);const nextWord=placed?placed.word.index:null;if(nextWord===this.hoverWordIndex)return;this.hoverWordIndex=nextWord;if(nextWord===null||!placed){this.pointHover.emit(null);const spec2=this.effectiveTooltipSpec();if(this.shouldHideTooltipOnLeave(spec2))this.clearSingleTooltip();return}this.pointHover.emit(this.buildPointEventDetail(placed.word,base,placed));const spec=this.effectiveTooltipSpec();if(spec.show&&spec.trigger!=="click"){this.showTooltipForWord(placed.word,{x:placed.x,y:placed.y},spec,false,placed)}};onChartClick=event=>{if(this.consumeSuppressedPlotClick())return;if(!this.enableMouseTracking){if(this.hasVisibleTooltips())this.clearTooltips();return}const{x,y}=this.pointerCss(event);const base=this.settledRenderLayout();const placed=this.wordUnderPointer(base,x,y);if(!placed){if(this.hasVisibleTooltips())this.clearTooltips();return}this.pointClick.emit(this.buildPointEventDetail(placed.word,base,placed));const spec=this.effectiveTooltipSpec();if(spec.show&&(spec.trigger==="click"||spec.trigger==="hover-click")){this.showTooltipForWord(placed.word,{x:placed.x,y:placed.y},spec,true,placed)}};onChartLeave=()=>{this.clearHover()};onPointContextMenu=event=>{if(!this.enableMouseTracking)return;const{x,y}=this.pointerCss(event);const base=this.settledRenderLayout();const placed=this.wordUnderPointer(base,x,y);if(!placed)return;event.preventDefault();event.stopPropagation();this.pointContextMenu.emit(pointContextMenu.buildChartPointContextMenuDetail(event,this.host,"word-cloud",this.buildPointEventDetail(placed.word,base,placed),{index:0,id:"word-cloud",name:this.chartTitle??"Word cloud"}))};clearHover(){const hadHover=this.hoverWordIndex!==null;if(!hadHover&&!this.hasVisibleTooltips())return;this.hoverWordIndex=null;if(hadHover)this.pointHover.emit(null);const spec=this.effectiveTooltipSpec();if(this.shouldHideTooltipOnLeave(spec))this.clearSingleTooltip()}effectiveTooltipSpec(){if(this.tooltip!==void 0)return resolveWordCloudTooltipSpec(this.tooltip);return wordCloudTooltipSpecFromLegacy({show:this.tooltipShow,format:this.tooltipFormat})}defaultTooltipHtml(word,context){const pct=Math.round(context.percentage*1e3)/10;return`<strong>${escapeHtml(word.name)}</strong> · ${word.weight} (${pct}%)`}plainTooltipText(word,context){const pct=Math.round(context.percentage*1e3)/10;return`${word.name} · ${word.weight} (${pct}%)`}buildTooltipContext(word,point,placed){const base=this.settledRenderLayout();return{index:word.index,id:word.id,name:word.name,weight:word.weight,percentage:base.totalWeight>0?word.weight/base.totalWeight:0,fontSize:placed?.fontSize??0,rotation:placed?.rotation??0,cssX:point.x,cssY:point.y}}hasVisibleTooltips(){return this.wordTooltip!==null||this.wordTooltips.length>0}clearSingleTooltip(){if(this.wordTooltip===null)return;this.tooltipDrag=void 0;this.wordTooltip=null;if(this.wordTooltips.length===0)this.tooltipHide.emit()}clearTooltips(){if(!this.hasVisibleTooltips())return;this.tooltipDrag=void 0;this.wordTooltip=null;this.wordTooltips=[];this.tooltipHide.emit()}shouldHideTooltipOnLeave(spec){if(!spec.show)return true;if(spec.draggable||spec.trigger==="click")return false;return spec.hideOnLeave!==false}showTooltipForWord(word,anchorPoint,spec,allowMultiple,placed){const shownAnchor=this.shownPoint(anchorPoint.x,anchorPoint.y);const context=this.buildTooltipContext(word,shownAnchor,placed);const side=spec.side??"top";const text=spec.format?safeFormatter.safeChartFormatter(spec.format,[word,context],()=>this.plainTooltipText(word,context),"tooltip.format",spec):this.plainTooltipText(word,context);const html=spec.html?safeFormatter.safeChartFormatter(spec.html,[word,context],()=>void 0,"tooltip.html",spec):spec.format?void 0:this.defaultTooltipHtml(word,context);const locked=this.lockedTooltipPositionForWord(word,spec);const renderedSide=locked?.side??side;const renderedAnchor=locked?this.tooltipAnchorFromPositionLock(locked.lock,renderedSide,locked.box,spec.offset):{cssX:shownAnchor.x,cssY:shownAnchor.y};const rendered={id:this.nextTooltipId++,cssX:renderedAnchor.cssX,cssY:renderedAnchor.cssY,pointCssX:shownAnchor.x,pointCssY:shownAnchor.y,anchorX:anchorPoint.x,anchorY:anchorPoint.y,box:locked?.box,side:renderedSide,text,html,className:spec.className,style:this.tooltipStyleFromSpec(spec),interactive:spec.interactive,connector:spec.connector,draggable:spec.draggable,offset:spec.offset,positionLock:locked?.lock,context};this.tooltipDrag=void 0;if(allowMultiple&&spec.openMode==="multiple"){this.wordTooltip=rendered;this.wordTooltips=[...this.wordTooltips,rendered]}else{this.wordTooltips=[];this.wordTooltip=rendered}const detail={cssX:renderedAnchor.cssX,cssY:renderedAnchor.cssY,anchor:renderedSide,text,html,context};this.tooltipShown.emit(detail);return detail}tooltipStyleFromSpec(spec){const style={...spec.style??{}};if(spec.width!==void 0)style.width=spec.width;if(spec.minWidth!==void 0)style.minWidth=spec.minWidth;if(spec.maxWidth!==void 0)style.maxWidth=spec.maxWidth;if(spec.padding!==void 0)style.padding=spec.padding;return Object.keys(style).length>0?style:void 0}positionedWordTooltip(tooltip=this.wordTooltip){if(!tooltip)return null;if(!tooltip.box||this.tooltipDrag)return tooltip;if(tooltip.positionLock)return tooltip;const offset=tooltip.offset??10;const placement=connector.computeTooltipPlacement({anchor:{kind:"point",x:tooltip.pointCssX,y:tooltip.pointCssY},tooltip:tooltip.box,viewport:{x:0,y:0,width:this.width,height:this.height},preferredSide:tooltip.side,offset});const anchor=this.tooltipAnchorFromTopLeft(placement.x,placement.y,tooltip.box,placement.side,offset);return{...tooltip,cssX:anchor.cssX,cssY:anchor.cssY,side:placement.side}}tooltipAnchorFromTopLeft(x,y,box,side,offset){if(side==="top")return{cssX:x+box.width/2,cssY:y+box.height+offset};if(side==="bottom")return{cssX:x+box.width/2,cssY:y-offset};if(side==="left")return{cssX:x+box.width+offset,cssY:y+box.height/2};return{cssX:x-offset,cssY:y+box.height/2}}tooltipTopLeftFromAnchor(tooltip){const box=tooltip.box;if(!box)return void 0;const offset=tooltip.offset??10;if(tooltip.side==="top")return{x:tooltip.cssX-box.width/2,y:tooltip.cssY-offset-box.height};if(tooltip.side==="bottom")return{x:tooltip.cssX-box.width/2,y:tooltip.cssY+offset};if(tooltip.side==="left")return{x:tooltip.cssX-offset-box.width,y:tooltip.cssY-box.height/2};return{x:tooltip.cssX+offset,y:tooltip.cssY-box.height/2}}tooltipTopLeftFromElement(element){const rect=element.getBoundingClientRect();const hostRect=this.host.getBoundingClientRect();if(!Number.isFinite(rect.left)||!Number.isFinite(rect.top))return void 0;return{x:rect.left-hostRect.left,y:rect.top-hostRect.top}}tooltipAnchorFromPositionLock(lock,side,box,offset){return box?this.tooltipAnchorFromTopLeft(lock.x,lock.y,box,side,offset):{cssX:lock.x,cssY:lock.y}}rememberDraggableTooltipPosition(tooltip){if(!tooltip.draggable||!tooltip.positionLock)return;this.draggableTooltipPositions.set(String(tooltip.context.index),{lock:{...tooltip.positionLock},side:tooltip.side,box:tooltip.box})}lockedTooltipPositionForWord(word,spec){if(spec.draggable){const memory=this.draggableTooltipPositions.get(String(word.index));if(!memory)return void 0;return{lock:{...memory.lock},side:memory.side,box:memory.box}}if(!spec.interactive||spec.openMode==="multiple")return void 0;const tooltip=this.positionedWordTooltip();if(!tooltip?.box||tooltip.context.index!==word.index)return void 0;const lock=this.tooltipTopLeftFromAnchor(tooltip);return lock?{lock,side:tooltip.side,box:tooltip.box}:void 0}measureWordTooltipBox(){if(this.wordTooltips.length>0)return;const tooltip=this.wordTooltip;const element=this.tooltipElement;if(!tooltip||!element)return;const rect=element.getBoundingClientRect();if(!Number.isFinite(rect.width)||!Number.isFinite(rect.height))return;const width=Math.round(rect.width*100)/100;const height=Math.round(rect.height*100)/100;if(tooltip.box?.width===width&&tooltip.box?.height===height)return;const box={width,height};const next={...tooltip,box};if(tooltip.positionLock){Object.assign(next,this.tooltipAnchorFromPositionLock(tooltip.positionLock,tooltip.side,box,tooltip.offset??10))}this.rememberDraggableTooltipPosition(next);this.wordTooltip=next}handleTooltipActionClick=event=>{const target=event.target;const actionTarget=target?.closest?.("[data-tooltip-action]");const action=actionTarget?.dataset.tooltipAction;const tooltipId=Number(actionTarget?.closest?.("[data-tooltip-id]")?.getAttribute("data-tooltip-id"));const tooltip=this.wordTooltips.find(entry=>entry.id===tooltipId)??this.wordTooltip;if(!action||!tooltip)return;event.stopPropagation();this.tooltipAction.emit({...tooltip.context,action,text:tooltip.text,html:tooltip.html})};handleTooltipPointerDown=event=>{if(!this.wordTooltip?.draggable)return;const target=event.target;if(target?.closest?.("[data-tooltip-action],button,a,input,textarea,select"))return;event.preventDefault();event.stopPropagation();const element=event.currentTarget;const rendered=this.positionedWordTooltip(this.wordTooltip)??this.wordTooltip;const lock=this.tooltipTopLeftFromElement(element)??this.tooltipTopLeftFromAnchor(rendered)??{x:rendered.cssX,y:rendered.cssY};const box=this.wordTooltip.box??rendered.box;const next={...this.wordTooltip,cssX:rendered.cssX,cssY:rendered.cssY,side:rendered.side,box,positionLock:lock};Object.assign(next,this.tooltipAnchorFromPositionLock(lock,next.side,box,next.offset??10));this.wordTooltip=next;this.rememberDraggableTooltipPosition(next);element.setPointerCapture?.(event.pointerId);this.tooltipDrag={pointerId:event.pointerId,startX:event.clientX,startY:event.clientY,originX:next.cssX,originY:next.cssY,originLockX:lock.x,originLockY:lock.y}};handleTooltipPointerMove=event=>{const drag=this.tooltipDrag;if(!drag||drag.pointerId!==event.pointerId||!this.wordTooltip)return;event.preventDefault();event.stopPropagation();const lock={x:drag.originLockX+event.clientX-drag.startX,y:drag.originLockY+event.clientY-drag.startY};const next={...this.wordTooltip,positionLock:lock};Object.assign(next,this.tooltipAnchorFromPositionLock(lock,next.side,next.box,next.offset??10));this.wordTooltip=next;this.rememberDraggableTooltipPosition(next)};handleTooltipPointerUp=event=>{const drag=this.tooltipDrag;if(!drag||drag.pointerId!==event.pointerId)return;event.stopPropagation();if(this.wordTooltip)this.rememberDraggableTooltipPosition(this.wordTooltip);event.currentTarget.releasePointerCapture?.(event.pointerId);this.tooltipDrag=void 0};render(){const renderStart=this.now();const decision=pickWordCloudEngine({requested:this.engine,onUnavailable:this.unavailable});if(decision.tier!==this.activeTier)this.activeTier=decision.tier;if(decision.fallbackReason!==this.fallbackReason)this.fallbackReason=decision.fallbackReason;const base=this.settledRenderLayout();let drawWords=base.visuals.map(visual=>({key:visual.key,x:visual.x,y:visual.y,rotation:visual.rotation,fontSize:visual.fontSize,color:visual.color,name:visual.name,index:visual.index,opacity:1}));if(this.morphState){drawWords=this.composeMorphWords(this.morphState.prevVisuals,base.visuals,this.tweenProgress(this.morphState))}else if(this.initialRevealState){const eased=this.tweenProgress(this.initialRevealState);drawWords=base.visuals.map((visual,order)=>{const progress=this.revealProgressFor(order,base.visuals.length,eased);return{key:visual.key,x:visual.x,y:visual.y,rotation:visual.rotation,fontSize:visual.fontSize*progress,color:visual.color,name:visual.name,index:visual.index,opacity:progress}})}const activeWord=this.focusedWordIndex??this.hoverWordIndex;const zoomSpec=this.zoomSpec();const zoomRect=this.zoomRect();const viewport=viewportZoom.viewportZoomTransform(zoomRect,this.zoomState);const viewportMatrix=viewportZoom.viewportZoomMatrix(viewport);const viewportClipId=`sy-word-cloud-viewport-${this.instanceKey}`;this.lastRenderResult={words:base.placed.length,dropped:base.dropped.length,renderMs:this.now()-renderStart};this.pendingRenderedEmit=true;return index.h(index.Host,{"data-active-tier":this.activeTier,style:{touchAction:zoomSpec.enabled&&zoomSpec.pinch?"none":void 0},"data-sy-brand-host":"chart"},index.h("div",{class:"sy-word-cloud",style:{width:`${this.width}px`,height:`${this.height}px`,position:"relative"}},index.h("svg",{class:"sy-word-cloud__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-words":base.placed.length,"data-dropped-words":base.dropped.length,role:"application","aria-roledescription":"Word cloud","aria-label":this.accessibleSummary(base),tabindex:0,onKeyDown:ev=>this.onChartKeyDown(ev),onFocus:()=>this.onChartFocus(),onBlur:()=>this.onChartBlur(),onMouseDown:()=>this.onChartPointerDown(),onPointerDown:this.handleZoomPointerDown,onPointerMove:ev=>this.onChartPointerMove(ev),onPointerUp:this.handleZoomPointerUp,onPointerCancel:this.handleZoomPointerCancel,onMouseLeave:()=>this.onChartLeave(),onClick:ev=>this.onChartClick(ev),onContextMenu:ev=>this.onPointContextMenu(ev)},this.chartTitle?index.h("text",{class:"sy-word-cloud__title",x:this.width/2,y:6,style:{fontSize:"14px"}},this.chartTitle):null,this.chartSubtitle?index.h("text",{class:"sy-word-cloud__subtitle",x:this.width/2,y:this.chartTitle?26:6,style:{fontSize:"12px"}},this.chartSubtitle):null,index.h("defs",null,index.h("clipPath",{id:viewportClipId},index.h("rect",{x:zoomRect.x,y:zoomRect.y,width:zoomRect.width,height:zoomRect.height}))),index.h("g",{class:"sy-word-cloud__viewport","clip-path":viewport.zoomed?`url(#${viewportClipId})`:void 0},index.h("g",{class:"sy-word-cloud__words","aria-hidden":"true",transform:viewportMatrix||void 0},drawWords.map(word=>{if(word.fontSize<=0||word.opacity<=0)return null;const dim=activeWord!==null&&word.index!==activeWord&&!word.key.startsWith("ghost:");const cls=`sy-word-cloud__word${dim?" sy-word-cloud__word--dim":""}`;return index.h("text",{key:word.key,class:cls,transform:`translate(${word.x} ${word.y}) rotate(${word.rotation})`,"text-anchor":"middle","dominant-baseline":"central",fill:word.color,opacity:word.opacity,style:{fontSize:`${word.fontSize}px`,fontFamily:this.fontFamily,fontWeight:this.fontWeight},"data-word-index":word.index,"data-word":word.name},word.name)})))),this.renderZoomOverlay(),index.h("div",{class:"sy-word-cloud__sr-only",role:"list","aria-label":"Words"},this.navigableWords(base).map(word=>index.h("div",{role:"listitem",key:`sr:${word.id}`},this.wordAriaLabel(word,base)))),index.h("div",{class:"sy-word-cloud__sr-only","aria-live":"polite",role:"status"},this.srAnnouncement),this.fallbackReason&&index.h("span",{class:"sy-word-cloud__watermark",title:this.fallbackReason},"Syidax - fell back to standard renderer"),this.renderWordTooltipConnector(),this.renderWordTooltip()),chartBrand.renderChartBrand(this.host,this.brandLogo,{width:this.width,height:this.height,plot:zoomRect}))}renderWordTooltip(){const multiple=this.wordTooltips.length>0;const tooltips=multiple?this.wordTooltips:[this.positionedWordTooltip()].filter(tooltip=>Boolean(tooltip));if(tooltips.length===0)return null;return tooltips.map(tooltip=>this.renderWordTooltipItem(tooltip,!multiple))}renderWordTooltipItem(tooltip,trackMeasure){const{cssX,cssY,side,text,html:tooltipHtml,className,style:customStyle,interactive,draggable}=tooltip;const offset=tooltip.offset??10;const style={position:"absolute",zIndex:"5",boxSizing:"border-box",width:"max-content",maxWidth:"calc(100% - 16px)",padding:"6px 10px",font:"500 12px system-ui, sans-serif",color:"var(--sy-tooltip-color, #fff)",background:"var(--sy-tooltip-bg, rgba(15,23,42,0.92))",borderRadius:"4px",whiteSpace:"pre-line",lineHeight:"1.35",boxShadow:"0 2px 8px rgba(0,0,0,0.18)",pointerEvents:interactive||draggable?"auto":"none",cursor:draggable?this.tooltipDrag?"grabbing":"grab":"default",transform:""};if(tooltip.positionLock){style.left=`${tooltip.positionLock.x}px`;style.top=`${tooltip.positionLock.y}px`;style.transform=""}else if(side==="top"){style.left=`${cssX}px`;style.top=`${cssY-offset}px`;style.transform="translate(-50%, -100%)"}else if(side==="bottom"){style.left=`${cssX}px`;style.top=`${cssY+offset}px`;style.transform="translate(-50%, 0%)"}else if(side==="left"){style.left=`${cssX-offset}px`;style.top=`${cssY}px`;style.transform="translate(-100%, -50%)"}else{style.left=`${cssX+offset}px`;style.top=`${cssY}px`;style.transform="translate(0%, -50%)"}for(const[key,value]of Object.entries(customStyle??{})){style[key]=wordTooltipCssValue(key,value)}if(tooltipHtml!==void 0){return index.h("div",{class:wordTooltipClassName("sy-word-cloud__tooltip",className),"data-tooltip-id":`${tooltip.id}`,ref:trackMeasure?el=>this.tooltipElement=el:void 0,style,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp,innerHTML:tooltipHtml})}return index.h("div",{class:wordTooltipClassName("sy-word-cloud__tooltip",className),"data-tooltip-id":`${tooltip.id}`,ref:trackMeasure?el=>this.tooltipElement=el:void 0,style,role:"tooltip",onClick:this.handleTooltipActionClick,onPointerDown:this.handleTooltipPointerDown,onPointerMove:this.handleTooltipPointerMove,onPointerUp:this.handleTooltipPointerUp,onPointerCancel:this.handleTooltipPointerUp},text)}renderWordTooltipConnector(){const tooltips=this.wordTooltips.length>0?this.wordTooltips:[this.positionedWordTooltip()].filter(tooltip=>Boolean(tooltip));const connectedTooltips=tooltips.filter(tooltip=>tooltip.connector?.show);if(connectedTooltips.length===0)return null;return index.h("svg",{class:"sy-word-cloud__tooltip-connector",width:this.width,height:this.height,style:{position:"absolute",left:"0px",top:"0px",width:`${this.width}px`,height:`${this.height}px`,pointerEvents:"none",overflow:"visible",zIndex:"4"},"aria-hidden":"true"},connectedTooltips.map(tooltip=>{const connector$1=tooltip.connector;const end=connector.tooltipConnectorEnd(tooltip);return index.h("line",{x1:tooltip.pointCssX,y1:tooltip.pointCssY,x2:end.x,y2:end.y,stroke:connector$1.color??"var(--sy-tooltip-connector-color, rgba(17,24,39,0.42))","stroke-width":connector$1.width??1,"stroke-dasharray":connector$1.dash?.join(" ")})}))}async getEngineStatus(){return standardEngineStatus.standardOnlyEngineStatus({requested:this.engine,onUnavailable:this.unavailable,renderer:"word-cloud"})}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}],"minFontSize":[{"handleVisualPropsChange":0}],"maxFontSize":[{"handleVisualPropsChange":0}],"weightScale":[{"handleVisualPropsChange":0}],"spiral":[{"handleVisualPropsChange":0}],"orientations":[{"handleVisualPropsChange":0}],"rotationFrom":[{"handleVisualPropsChange":0}],"rotationTo":[{"handleVisualPropsChange":0}],"wordPadding":[{"handleVisualPropsChange":0}],"fontFamily":[{"handleVisualPropsChange":0}],"fontWeight":[{"handleVisualPropsChange":0}],"palette":[{"handleVisualPropsChange":0}],"colors":[{"handleVisualPropsChange":0}],"chartTitle":[{"handleVisualPropsChange":0}],"chartSubtitle":[{"handleVisualPropsChange":0}],"tooltipShow":[{"handleVisualPropsChange":0}],"tooltip":[{"handleVisualPropsChange":0}],"enableMouseTracking":[{"handleVisualPropsChange":0}]}}};SyWordCloud.style=syWordCloudCss();exports.sy_word_cloud=SyWordCloud;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var index=require("./index-CKeHnO3Q.js");var types=require("./types-jSXHeK-g.js");var waferValue=require("./wafer-value-CZzFL0S-.js");var chartBrand=require("./chart-brand-CEKOnWyE.js");require("./scheme-KzZHS7kW.js");require("./parse-CoFqMZ-2.js");require("./brand-mark-default-DvQHU2qS.js");function resolveZoneEdges(wafer,options={}){if(Array.isArray(options.zoneEdges)&&options.zoneEdges.length>0){const edges2=options.zoneEdges.filter(e=>Number.isFinite(e)&&e>0).map(e=>Math.min(e,wafer.effectiveRadius)).sort((a,b)=>a-b);const unique=[...new Set(edges2)];if(unique.length>0){if(unique[unique.length-1]<wafer.effectiveRadius)unique.push(wafer.effectiveRadius);return unique}}const count=Number.isFinite(options.zones)&&options.zones>=1?Math.floor(options.zones):5;const edges=[];for(let i=1;i<=count;i+=1)edges.push(wafer.effectiveRadius*i/count);return edges}function computeYieldZones(wafers,wafer,grid,options={}){const edges=resolveZoneEdges(wafer,options);const passKey=types.binKey(options.passBin??1);const pass=new Array(edges.length).fill(0);const probed=new Array(edges.length).fill(0);const list=Array.isArray(wafers)?wafers:[];let waferCount=0;for(const entry of list){if(!entry||!Array.isArray(entry.values))continue;waferCount+=1;const byCell=types.resolveWaferDieData(entry.values);for(const datum of byCell.values()){if(datum.bin===void 0||datum.bin===null)continue;const centre=waferValue.dieCenter(grid,datum.col,datum.row);const r=Math.hypot(centre.cx,centre.cy);let zone=edges.findIndex(edge=>r<=edge);if(zone===-1)zone=edges.length-1;probed[zone]+=1;if(types.binKey(datum.bin)===passKey)pass[zone]+=1}}const zones=edges.map((rOuter,index2)=>({index:index2,rInner:index2===0?0:edges[index2-1],rOuter,pass:pass[index2],probed:probed[index2],yield:probed[index2]>0?pass[index2]/probed[index2]:0}));const totalProbed=probed.reduce((a,b)=>a+b,0);const totalPass=pass.reduce((a,b)=>a+b,0);return{zones,waferCount,totalProbed,totalPass,overallYield:totalProbed>0?totalPass/totalProbed:0}}function annulusPath(rInner,rOuter){const R=v=>Math.round(v*1e3)/1e3;if(rInner<=0){return`M ${R(-rOuter)} 0 A ${R(rOuter)} ${R(rOuter)} 0 1 0 ${R(rOuter)} 0 A ${R(rOuter)} ${R(rOuter)} 0 1 0 ${R(-rOuter)} 0 Z`}return[`M ${R(-rOuter)} 0 A ${R(rOuter)} ${R(rOuter)} 0 1 0 ${R(rOuter)} 0 A ${R(rOuter)} ${R(rOuter)} 0 1 0 ${R(-rOuter)} 0 Z`,`M ${R(-rInner)} 0 A ${R(rInner)} ${R(rInner)} 0 1 1 ${R(rInner)} 0 A ${R(rInner)} ${R(rInner)} 0 1 1 ${R(-rInner)} 0 Z`].join(" ")}const syWaferMapCss=()=>`.sc-sy-yield-zone-chart-h{display:inline-block;position:relative}.sy-wafer-map__underlay.sc-sy-yield-zone-chart,.sy-wafer-map__surface.sc-sy-yield-zone-chart,.sy-wafer-map__overlay.sc-sy-yield-zone-chart{display:block}.sy-wafer-map__title.sc-sy-yield-zone-chart{fill:#0f172a}.sy-wafer-map.sc-sy-yield-zone-chart:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.sy-wafer-map__sr-only.sc-sy-yield-zone-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-wafer-map__watermark.sc-sy-yield-zone-chart{position:absolute;top:4px;right:6px;font-size:10px;line-height:1;padding:2px 6px;background:hsla(0,0%,100%,.85);border:1px solid #e5e7eb;border-radius:999px;color:#6b7280;pointer-events:none}.sy-wafer-map__subtitle.sc-sy-yield-zone-chart{fill:#64748b}`;const SyYieldZoneChart=class{constructor(hostRef){index.registerInstance(this,hostRef)}get host(){return index.getElement(this)}width=520;height=520;brandLogo;brandPosition="bottom-right";wafers;values;zones=5;zoneEdges;passBin=1;diameter=300;edgeExclusion=3;indicator="notch";orientation="down";dieWidth=10;dieHeight=10;scribeX=.2;scribeY=.2;chartTitle;chartSubtitle;async getZoneYields(){const result=this.zoneResult();return{...result,zones:result.zones.map(z=>({...z}))}}effectiveWafers(){if(Array.isArray(this.wafers)&&this.wafers.length>0)return this.wafers;if(Array.isArray(this.values))return[{values:this.values}];return[]}zoneResult(){return computeYieldZones(this.effectiveWafers(),this.waferSpec(),this.gridSpec(),{zones:this.zones,zoneEdges:this.zoneEdges,passBin:this.passBin})}waferSpec(){return waferValue.resolveWaferSpec({diameter:this.diameter,edgeExclusion:this.edgeExclusion,orientation:this.orientation,indicator:this.indicator})}gridSpec(){return waferValue.resolveDieGridSpec({dieWidth:this.dieWidth,dieHeight:this.dieHeight,scribeX:this.scribeX,scribeY:this.scribeY})}headerHeight(){if(this.chartTitle&&this.chartSubtitle)return 44;if(this.chartTitle||this.chartSubtitle)return 26;return 0}render(){const wafer=this.waferSpec();const result=this.zoneResult();const probedZones=result.zones.filter(z=>z.probed>0);const minYield=probedZones.length>0?Math.min(...probedZones.map(z=>z.yield)):0;const axis=waferValue.resolveWaferValueAxis({min:Math.max(0,Math.floor((minYield-.02)*100)/100),max:1,stops:[[0,"#dc2626"],[.5,"#f59e0b"],[1,"#16a34a"]]},[]);const headerHeight=this.headerHeight();const footerHeight=26;const padding=12;const avail=Math.max(16,Math.min(this.width-padding*2,this.height-headerHeight-footerHeight-padding*2));const scale=avail/wafer.diameter;const cx=this.width/2;const cy=headerHeight+padding+(this.height-headerHeight-footerHeight-padding*2)/2;const stageTransform=`translate(${cx} ${cy}) scale(${scale})`;let legendX=12;const legendY=this.height-10;return index.h(index.Host,{key:"bb4faa5ecb2a18aea485422685bccceba5103047","data-sy-brand-host":"chart"},index.h("div",{key:"571318f0a18e7c8edcc3127279a9381eea9d6eb7",class:"sy-yield-zone",style:{width:`${this.width}px`,height:`${this.height}px`,position:"relative"},role:"img","aria-roledescription":"Yield zone chart","aria-label":`${this.chartTitle?`${this.chartTitle}. `:""}Radial yield over ${result.zones.length} zones, ${result.waferCount} wafers: overall ${(result.overallYield*100).toFixed(1)}%.`,"data-zone-count":String(result.zones.length),"data-overall-yield":result.overallYield.toFixed(4),"data-total-probed":String(result.totalProbed)},index.h("svg",{key:"5d452c04dd768de3678e860d7a332431f29e13e4",width:this.width,height:this.height,viewBox:`0 0 ${this.width} ${this.height}`,xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},this.chartTitle?index.h("text",{class:"sy-wafer-map__title",x:this.width/2,y:16,"text-anchor":"middle",style:{fontSize:"14px",fontWeight:"600"}},this.chartTitle):null,this.chartSubtitle?index.h("text",{class:"sy-wafer-map__subtitle",x:this.width/2,y:this.chartTitle?36:16,"text-anchor":"middle",style:{fontSize:"12px",fill:"#64748b"}},this.chartSubtitle):null,index.h("g",{key:"3bc8aa56bb41db7bc47c90aa628cd323849aabcd",transform:stageTransform},result.zones.map(zone=>index.h("path",{class:"sy-yield-zone__ring","data-zone":String(zone.index),"data-yield":zone.yield.toFixed(4),d:annulusPath(zone.rInner,zone.rOuter),fill:zone.probed>0?axis.colorFor(zone.yield):"#e2e8f0","fill-rule":"evenodd",stroke:"#ffffff","stroke-width":1/scale,opacity:.92})),index.h("path",{key:"3d9266b63ae179291b776e64c2cb7449a8181b51",class:"sy-wafer-map__outline",d:waferValue.waferOutlinePath(wafer),fill:"none",stroke:"#64748b","stroke-width":1.5/scale,"stroke-linejoin":"round"})),result.zones.map(zone=>{const rMid=(zone.rInner+zone.rOuter)/2;return index.h("text",{class:"sy-yield-zone__label",x:cx,y:cy-rMid*scale,"text-anchor":"middle","dominant-baseline":"central",style:{fontSize:"11px",fontWeight:"600",fill:"#0f172a"}},zone.probed>0?`${(zone.yield*100).toFixed(1)}%`:"—")}),index.h("g",{key:"1a43a6f1c36e865bf2e5e278ca9be25a8ddf44bc",class:"sy-yield-zone__legend","aria-hidden":"true"},result.zones.map(zone=>{const label=`Z${zone.index+1} ${zone.probed>0?`${(zone.yield*100).toFixed(1)}%`:"—"}`;const item=index.h("g",null,index.h("rect",{x:legendX,y:legendY-9,width:10,height:10,rx:2,fill:zone.probed>0?axis.colorFor(zone.yield):"#e2e8f0"}),index.h("text",{x:legendX+14,y:legendY,style:{fontSize:"11px",fill:"#475569"}},label));legendX+=14+label.length*6.4+10;return item}),index.h("text",{key:"ba6ccf5ce56741a64e2753047f2b0b1ed44a694c",x:legendX+4,y:legendY,style:{fontSize:"11px",fontWeight:"600",fill:"#0f172a"}},`overall ${(result.overallYield*100).toFixed(1)}%`)))),chartBrand.renderChartBrand(this.host,this.brandLogo,{width:this.width,height:this.height,plot:{x:cx-avail/2,y:cy-avail/2,width:avail,height:avail}}))}};SyYieldZoneChart.style=syWaferMapCss();exports.sy_yield_zone_chart=SyYieldZoneChart;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function binKey(bin){if(typeof bin==="number")return Number.isFinite(bin)?String(bin):"NaN";const trimmed=bin.trim();if(trimmed!==""&&!Number.isNaN(Number(trimmed)))return String(Number(trimmed));return trimmed}function sortedBinKeys(bins){const keys=new Set;for(const bin of bins)keys.add(binKey(bin));const numeric=[];const text=[];for(const key of keys){const n=Number(key);if(key!==""&&!Number.isNaN(n))numeric.push(n);else text.push(key)}numeric.sort((a,b)=>a-b);text.sort();return[...numeric.map(String),...text]}function resolveBinColorMap(bins,options){const explicit=new Map;for(const[key,colour]of Object.entries(options.binColors??{})){if(typeof colour==="string"&&colour.length>0)explicit.set(binKey(key),colour)}const passKey=binKey(options.passBin??1);const passColor=options.passColor??"#16a34a";const palette=options.palette.length>0?options.palette:["#2563eb"];const map=new Map;let cycle=0;for(const key of sortedBinKeys(bins)){const fromExplicit=explicit.get(key);if(fromExplicit!==void 0){map.set(key,fromExplicit);continue}if(key===passKey){map.set(key,passColor);continue}map.set(key,palette[cycle%palette.length]);cycle+=1}return map}function computeBinarySummary(byCell,passBin,validCells){const passKey=binKey(passBin);let pass=0;let fail=0;for(const[cell,datum]of byCell){if(datum.bin===void 0||datum.bin===null)continue;if(validCells&&!validCells.has(cell))continue;if(binKey(datum.bin)===passKey)pass+=1;else fail+=1}const probed=pass+fail;return{pass,fail,probed,yield:probed>0?pass/probed:0}}function computeBinSummary(byCell,colors,validCells){const counts=new Map;let total=0;for(const[cell,datum]of byCell){if(datum.bin===void 0||datum.bin===null)continue;if(validCells&&!validCells.has(cell))continue;const key=binKey(datum.bin);counts.set(key,(counts.get(key)??0)+1);total+=1}return sortedBinKeys(counts.keys()).map(key=>({key,count:counts.get(key)??0,share:total>0?(counts.get(key)??0)/total:0,color:colors.get(key)??"#94a3b8"}))}function resolveWaferDieData(data){const byCell=new Map;if(!Array.isArray(data))return byCell;for(const datum of data){const canonical=normalizeWaferDie(datum);if(canonical)byCell.set(`${canonical.col},${canonical.row}`,canonical)}return byCell}function normalizeWaferDie(raw){if(!raw||typeof raw!=="object")return null;const datum=raw;const col=coerceWaferCell(datum.col);const row=coerceWaferCell(datum.row);if(col===null||row===null)return null;return{...datum,col,row}}function coerceWaferCell(raw){const value=typeof raw==="bigint"?Number(raw):raw;if(typeof value!=="number"||!Number.isFinite(value))return null;return Math.floor(value)}exports.binKey=binKey;exports.computeBinSummary=computeBinSummary;exports.computeBinarySummary=computeBinarySummary;exports.normalizeWaferDie=normalizeWaferDie;exports.resolveBinColorMap=resolveBinColorMap;exports.resolveWaferDieData=resolveWaferDieData;exports.sortedBinKeys=sortedBinKeys;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const VIEWPORT_ZOOM_AXIS_KEY="0";const VIEWPORT_ZOOM_FULL=Object.freeze({min:0,max:1});const VIEWPORT_ZOOM_MIN_SPAN=.001;function finite(value){return typeof value==="number"&&Number.isFinite(value)}function clampViewportWindow(window){if(!window||!finite(window.min)||!finite(window.max))return{...VIEWPORT_ZOOM_FULL};let min=Math.max(0,Math.min(window.min,window.max));let max=Math.min(1,Math.max(window.min,window.max));if(max-min<VIEWPORT_ZOOM_MIN_SPAN){const centre=(min+max)/2;min=Math.max(0,centre-VIEWPORT_ZOOM_MIN_SPAN/2);max=Math.min(1,min+VIEWPORT_ZOOM_MIN_SPAN);min=max-VIEWPORT_ZOOM_MIN_SPAN}return{min,max}}function viewportZoomWindows(state){const xWindow=state?.x?.[VIEWPORT_ZOOM_AXIS_KEY],yWindow=state?.y?.[VIEWPORT_ZOOM_AXIS_KEY];const x=clampViewportWindow(xWindow),y=clampViewportWindow(yWindow);if(xWindow&&!yWindow&&!isFull(x))return{x,y:derivedViewportWindow(x)};if(yWindow&&!xWindow&&!isFull(y))return{x:derivedViewportWindow(y),y};return{x,y}}function derivedViewportWindow(other){const span=Math.min(1,Math.max(VIEWPORT_ZOOM_MIN_SPAN,other.max-other.min));return{min:.5-span/2,max:.5+span/2}}function isFull(window){return window.min<=0&&window.max>=1}function viewportScale(window,r0,r1){const span=window.max-window.min;const scale=(value=>r0+(value-window.min)/span*(r1-r0));scale.invert=pixel=>r1===r0?window.min:window.min+(pixel-r0)/(r1-r0)*span;scale.domain=()=>[window.min,window.max];scale.range=()=>[r0,r1];return scale}function viewportZoomFrame(rect,state){const{x,y}=viewportZoomWindows(state);const plot={x:rect.x,y:rect.y,width:Math.max(0,rect.width),height:Math.max(0,rect.height)};const xAxis={key:VIEWPORT_ZOOM_AXIS_KEY,axis:{show:true},scale:viewportScale(x,plot.x,plot.x+plot.width),fullExtent:{...VIEWPORT_ZOOM_FULL}};const yAxis={key:VIEWPORT_ZOOM_AXIS_KEY,axis:{show:true},scale:viewportScale(y,plot.y+plot.height,plot.y),fullExtent:{...VIEWPORT_ZOOM_FULL}};return{plot,xAxes:[xAxis],yAxes:[yAxis],aspect:"locked"}}function viewportZoomTransform(rect,state){const{x,y}=viewportZoomWindows(state);const zoomed=!(isFull(x)&&isFull(y));const width=Math.max(0,rect.width);const height=Math.max(0,rect.height);const scaleX=zoomed?1/(x.max-x.min):1;const scaleY=zoomed?1/(y.max-y.min):1;const translateX=zoomed?rect.x*(1-scaleX)-x.min*width*scaleX:0;const translateY=zoomed?(rect.y+height)*(1-scaleY)+y.min*height*scaleY:0;return{zoomed,scaleX,scaleY,translateX,translateY,x,y}}function toViewport(transform,x,y){return{x:x*transform.scaleX+transform.translateX,y:y*transform.scaleY+transform.translateY}}function fromViewport(transform,x,y){return{x:(x-transform.translateX)/transform.scaleX,y:(y-transform.translateY)/transform.scaleY}}function viewportZoomMatrix(transform){if(!transform.zoomed)return"";const n=v=>Number.isFinite(v)?String(Math.round(v*1e6)/1e6):"0";return`matrix(${n(transform.scaleX)} 0 0 ${n(transform.scaleY)} ${n(transform.translateX)} ${n(transform.translateY)})`}function viewportZoomScale(transform){return Math.sqrt(Math.max(1e-9,transform.scaleX*transform.scaleY))}exports.fromViewport=fromViewport;exports.toViewport=toViewport;exports.viewportZoomFrame=viewportZoomFrame;exports.viewportZoomMatrix=viewportZoomMatrix;exports.viewportZoomScale=viewportZoomScale;exports.viewportZoomTransform=viewportZoomTransform;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var parse=require("./parse-CoFqMZ-2.js");var scheme=require("./scheme-KzZHS7kW.js");const VISUAL_MAP_DEFAULT_COLORS=["#eff6ff","#1d4ed8"];const VISUAL_MAP_DEFAULT_OUT_OF_RANGE="#d1d5db";const VISUAL_MAP_DEFAULT_MIN=0;const VISUAL_MAP_DEFAULT_MAX=100;function isFiniteNumber(value){return typeof value==="number"&&Number.isFinite(value)}function clamp01(value){return value<0?0:value>1?1:value}function cssOfVisualMapColor(color){const r=Math.round(color.r);const g=Math.round(color.g);const b=Math.round(color.b);return color.a>=1?`rgb(${r}, ${g}, ${b})`:`rgba(${r}, ${g}, ${b}, ${Math.round(color.a*1e3)/1e3})`}function schemeByName(name){const key=name.trim().toLowerCase();const scheme$1=scheme.sequential[key]??scheme.diverging[key];if(!scheme$1||!Array.isArray(scheme$1.stops)||scheme$1.stops.length===0)return null;return{stops:scheme$1.stops,space:scheme$1.recommendedSpace??"rgb"}}function evenStops(colors){const last=colors.length-1;return colors.map((color,i)=>({t:last===0?0:i/last,color:cssOfVisualMapColor(color)}))}function defaultStops(){const parsed=[];for(const css of VISUAL_MAP_DEFAULT_COLORS){const color=parse.parseColor(css);if(color)parsed.push(color)}return evenStops(parsed)}function resolveVisualMapColorStops(input){if(typeof input==="string"){const scheme2=schemeByName(input);if(scheme2)return{stops:evenStops(scheme2.stops),space:scheme2.space};const list=input.split(",").map(entry=>entry.trim()).filter(entry=>entry.length>0);if(list.length===0)return{stops:defaultStops(),space:"rgb"};return resolveVisualMapColorStops(list)}if(Array.isArray(input)&&input.length>0){if(typeof input[0]==="string"){const parsed=[];for(const css of input){const color=typeof css==="string"?parse.parseColor(css):null;if(color)parsed.push(color)}if(parsed.length>0)return{stops:evenStops(parsed),space:"rgb"}}else{const parsed=[];for(const entry of input){if(!Array.isArray(entry)||!isFiniteNumber(entry[0])||typeof entry[1]!=="string")continue;const color=parse.parseColor(entry[1]);if(!color)continue;parsed.push({t:clamp01(entry[0]),color:cssOfVisualMapColor(color)})}if(parsed.length>0)return{stops:parsed.sort((a,b)=>a.t-b.t),space:"rgb"}}}return{stops:defaultStops(),space:"rgb"}}function resolveContinuousVisualMap(input){const rawMin=isFiniteNumber(input?.min)?input.min:VISUAL_MAP_DEFAULT_MIN;const rawMax=isFiniteNumber(input?.max)?input.max:VISUAL_MAP_DEFAULT_MAX;const{stops,space}=resolveVisualMapColorStops(input?.color);const outOfRange=typeof input?.outOfRangeColor==="string"&&parse.parseColor(input.outOfRangeColor)?input.outOfRangeColor:VISUAL_MAP_DEFAULT_OUT_OF_RANGE;const precision=isFiniteNumber(input?.precision)&&input.precision>=0?Math.min(20,Math.floor(input.precision)):null;return{type:"continuous",min:Math.min(rawMin,rawMax),max:Math.max(rawMin,rawMax),stops,space,outOfRangeColor:outOfRange,calculable:input?.calculable===true,precision}}function visualMapT(spec,value){if(!isFiniteNumber(value))return null;const span=spec.max-spec.min;if(span<=0)return .5;return clamp01((value-spec.min)/span)}function createVisualMapPalette(spec){const stops=[];for(const stop of spec.stops){const color=parse.parseColor(stop.color);if(color)stops.push({t:stop.t,color})}const segments=stops.slice(0,-1).map((stop,i)=>scheme.makeColorScale([stop.color,stops[i+1].color],{space:spec.space}));const colorAtT=t=>{if(stops.length===0)return spec.outOfRangeColor;const u=clamp01(Number.isFinite(t)?t:0);if(u<=stops[0].t||stops.length===1)return cssOfVisualMapColor(stops[0].color);const last=stops[stops.length-1];if(u>=last.t)return cssOfVisualMapColor(last.color);for(let i=0;i<segments.length;i++){const a=stops[i];const b=stops[i+1];if(u<=b.t){const local=b.t>a.t?(u-a.t)/(b.t-a.t):1;return cssOfVisualMapColor(segments[i](local))}}return cssOfVisualMapColor(last.color)};const inRange=(value,range)=>{if(!isFiniteNumber(value))return false;const lo=range?Math.min(range.min,range.max):spec.min;const hi=range?Math.max(range.min,range.max):spec.max;return value>=lo&&value<=hi};return{colorAtT,inRange,colorAt:(value,range)=>{const t=visualMapT(spec,value);if(t===null||!inRange(value,range))return spec.outOfRangeColor;return colorAtT(t)}}}function visualMapGradientStops(spec,samples=16){const palette=createVisualMapPalette(spec);const n=Math.max(1,Math.floor(samples));const out=[];for(let i=0;i<=n;i++){const t=i/n;out.push({t,color:palette.colorAtT(t)})}return out}function resolveVisualMapRange(input,spec,minSpan=0){const rawA=Array.isArray(input)?input[0]:input.min;const rawB=Array.isArray(input)?input[1]:input.max;const a=Number.isFinite(rawA)?rawA:spec.min;const b=Number.isFinite(rawB)?rawB:spec.max;let lo=Math.max(spec.min,Math.min(spec.max,Math.min(a,b)));let hi=Math.max(spec.min,Math.min(spec.max,Math.max(a,b)));const span=Math.max(0,Math.min(minSpan,spec.max-spec.min));if(hi-lo<span){hi=lo+span;if(hi>spec.max){hi=spec.max;lo=hi-span}}return{min:lo,max:hi}}function isFullVisualMapRange(range,spec,epsilon=1e-9){if(!range)return true;return Math.abs(range.min-spec.min)<=epsilon&&Math.abs(range.max-spec.max)<=epsilon}function visualMapRangesEqual(a,b,epsilon=1e-9){if(a===null||b===null)return a===b;return Math.abs(a.min-b.min)<=epsilon&&Math.abs(a.max-b.max)<=epsilon}function formatVisualMapValue(value,precision,format){if(format)return format(value);if(precision!==null)return value.toFixed(precision);return String(Math.round(value*100)/100)}const VISUAL_MAP_DEFAULT_SPLIT_NUMBER=5;const VISUAL_MAP_MAX_SPLIT_NUMBER=100;function rampSampler(input,outOfRangeColor){const{stops,space}=resolveVisualMapColorStops(input?.color);return createVisualMapPalette({min:0,max:1,stops,space,outOfRangeColor}).colorAtT}function evenT(i,n){return n<=1?.5:i/(n-1)}function visualMapPieceLabel(piece,precision){if(piece.value!==void 0)return String(piece.value);const hasMin=isFiniteNumber(piece.min);const hasMax=isFiniteNumber(piece.max);if(hasMin&&hasMax)return`${formatVisualMapValue(piece.min,precision)} – ${formatVisualMapValue(piece.max,precision)}`;if(hasMin)return`≥ ${formatVisualMapValue(piece.min,precision)}`;if(hasMax)return`≤ ${formatVisualMapValue(piece.max,precision)}`;return"all"}function resolvePiecewiseVisualMap(input){const outOfRangeColor=typeof input?.outOfRangeColor==="string"&&parse.parseColor(input.outOfRangeColor)?input.outOfRangeColor:VISUAL_MAP_DEFAULT_OUT_OF_RANGE;const precision=isFiniteNumber(input?.precision)&&input.precision>=0?Math.min(20,Math.floor(input.precision)):null;const selectedMode=input?.selectedMode==="single"?"single":"multiple";const sample=rampSampler(input,outOfRangeColor);const explicitMin=isFiniteNumber(input?.min)?input.min:null;const explicitMax=isFiniteNumber(input?.max)?input.max:null;const explicit=Array.isArray(input?.pieces)?input.pieces.filter(piece=>!!piece&&typeof piece==="object"&&(isFiniteNumber(piece.min)||isFiniteNumber(piece.max)||piece.value!==void 0)):[];if(explicit.length>0){const pieces2=explicit.map((piece,index)=>{const resolved={index,label:typeof piece.label==="string"&&piece.label.length>0?piece.label:visualMapPieceLabel(piece,precision),color:typeof piece.color==="string"&&parse.parseColor(piece.color)?piece.color:sample(evenT(index,explicit.length))};if(isFiniteNumber(piece.min))resolved.min=piece.min;if(isFiniteNumber(piece.max))resolved.max=piece.max;if(piece.value!==void 0)resolved.value=piece.value;return resolved});const bounds=pieces2.flatMap(piece=>[piece.min,piece.max]).filter(bound=>isFiniteNumber(bound));const rawMin2=explicitMin??(bounds.length>0?Math.min(...bounds):VISUAL_MAP_DEFAULT_MIN);const rawMax2=explicitMax??(bounds.length>0?Math.max(...bounds):VISUAL_MAP_DEFAULT_MAX);return{type:"piecewise",min:Math.min(rawMin2,rawMax2),max:Math.max(rawMin2,rawMax2),pieces:pieces2,mode:"pieces",outOfRangeColor,selectedMode,precision}}const categories=Array.isArray(input?.categories)?input.categories.filter(category=>typeof category==="string"||isFiniteNumber(category)):[];if(categories.length>0){const pieces2=categories.map((category,index)=>({index,value:category,label:String(category),color:sample(evenT(index,categories.length))}));const rawMin2=explicitMin??VISUAL_MAP_DEFAULT_MIN;const rawMax2=explicitMax??VISUAL_MAP_DEFAULT_MAX;return{type:"piecewise",min:Math.min(rawMin2,rawMax2),max:Math.max(rawMin2,rawMax2),pieces:pieces2,mode:"categories",outOfRangeColor,selectedMode,precision}}const rawMin=explicitMin??VISUAL_MAP_DEFAULT_MIN;const rawMax=explicitMax??VISUAL_MAP_DEFAULT_MAX;const min=Math.min(rawMin,rawMax);const max=Math.max(rawMin,rawMax);const requested=isFiniteNumber(input?.splitNumber)?Math.floor(input.splitNumber):VISUAL_MAP_DEFAULT_SPLIT_NUMBER;const n=Math.max(1,Math.min(VISUAL_MAP_MAX_SPLIT_NUMBER,requested));const step=(max-min)/n;const pieces=[];for(let i=0;i<n;i++){const lo=min+step*i;const hi=i===n-1?max:min+step*(i+1);pieces.push({index:i,min:lo,max:hi,label:visualMapPieceLabel({min:lo,max:hi},precision),color:sample((i+.5)/n)})}return{type:"piecewise",min,max,pieces,mode:"split",outOfRangeColor,selectedMode,precision}}function visualMapPieceIndexOf(spec,value){if(value===null||value===void 0)return-1;const numeric=typeof value==="number"&&Number.isFinite(value);for(const piece of spec.pieces){if(piece.value!==void 0){if(String(piece.value)===String(value))return piece.index;continue}if(!numeric)continue;if(piece.min!==void 0&&value<piece.min)continue;if(piece.max!==void 0&&value>piece.max)continue;return piece.index}return-1}function normalizeVisualMapSelection(selected,count){if(!selected)return null;const out=[];for(let i=0;i<count;i++)out.push(selected[i]!==false);return out.every(Boolean)?null:out}function toggleVisualMapPiece(selected,index,count,mode){if(!Number.isInteger(index)||index<0||index>=count)return normalizeVisualMapSelection(selected,count);const current=[];for(let i=0;i<count;i++)current.push(selected?selected[i]!==false:true);if(mode==="single"){const onlyThis=current[index]&¤t.filter(Boolean).length===1;if(onlyThis)return null;return current.map((_,i)=>i===index)}current[index]=!current[index];return normalizeVisualMapSelection(current,count)}function createPiecewiseVisualMapPalette(spec){const pieceOf=value=>visualMapPieceIndexOf(spec,value);const inRange=(value,selected)=>{const index=pieceOf(value);if(index<0)return false;return selected?selected[index]!==false:true};return{pieceOf,inRange,colorAt:(value,selected)=>{const index=pieceOf(value);if(index<0||selected&&selected[index]===false)return spec.outOfRangeColor;return spec.pieces[index].color}}}const colorFnCache=new WeakMap;function visualMapColorFn(binding){if(!binding||typeof binding!=="object")return null;const cached=colorFnCache.get(binding);if(cached)return cached;const dimension=binding.dimension??"value";let colorOf;if(binding.type==="piecewise"){const palette=createPiecewiseVisualMapPalette(binding);const selected=binding.selected;colorOf=value=>palette.colorAt(value,selected)}else{const palette=createVisualMapPalette(binding);const range=binding.range;colorOf=value=>palette.colorAt(typeof value==="string"?Number(value):value,range)}const fn=dimension==="index"?(_value,index)=>colorOf(index):value=>colorOf(value);colorFnCache.set(binding,fn);return fn}const sizeFnCache=new WeakMap;function finiteRadius(value){return typeof value==="number"&&Number.isFinite(value)&&value>=0?value:null}function visualMapSizeFn(binding){if(!binding||typeof binding!=="object"||!binding.size)return null;if(sizeFnCache.has(binding))return sizeFnCache.get(binding)??null;const lo=finiteRadius(binding.size.range?.[0]);const hi=finiteRadius(binding.size.range?.[1]);if(lo===null||hi===null){sizeFnCache.set(binding,null);return null}const outOfRange=finiteRadius(binding.size.outOfRange)??lo;const dimension=binding.size.dimension??binding.dimension??"value";let sizeOf;if(binding.type==="piecewise"){const selected=binding.selected;const count=binding.pieces.length;sizeOf=value=>{const index=visualMapPieceIndexOf(binding,value);if(index<0||selected&&selected[index]===false)return outOfRange;return lo+(hi-lo)*(count<=1?.5:index/(count-1))}}else{const palette=createVisualMapPalette(binding);const range=binding.range;sizeOf=value=>{const numeric=typeof value==="string"?Number(value):value;const t=visualMapT(binding,numeric);if(t===null||!palette.inRange(numeric,range))return outOfRange;return lo+(hi-lo)*t}}const fn=dimension==="index"?(_value,index)=>sizeOf(index):value=>sizeOf(value);sizeFnCache.set(binding,fn);return fn}function visualMapDatumValue(dimension,index,x,y,readField){if(dimension==="value"||dimension==="y")return y;if(dimension==="x")return x;if(dimension==="index")return index;return readField(dimension)}const MARKER_PATH_FLUSH_MARKERS=1e4;function createMarkerColorBuckets(colorFn,fallbackColor,ctx){const buckets=new Map;const counts=new Map;const pathOf=color=>{let path=buckets.get(color);const count=counts.get(color)??0;if(path&&ctx&&count>=MARKER_PATH_FLUSH_MARKERS){ctx.fillStyle=color;ctx.fill(path);path=void 0;counts.set(color,0)}if(!path){path=new Path2D;buckets.set(color,path)}counts.set(color,(counts.get(color)??0)+1);return path};return{pathFor:(value,index)=>pathOf(colorFn?colorFn(value,index):fallbackColor),fill:ctx2=>{for(const[color,path]of buckets){ctx2.fillStyle=color;ctx2.fill(path)}}}}function visualMapPointValue(point,dimension,valueAxis){switch(dimension){case"value":return valueAxis==="x"?point.dataX:point.dataY;case"x":return point.dataX;case"y":return point.dataY;case"index":return point.index;default:return void 0}}function visualMapExtentOf(values){let min=Number.POSITIVE_INFINITY;let max=Number.NEGATIVE_INFINITY;for(const value of values){if(typeof value!=="number"||!Number.isFinite(value))continue;if(value<min)min=value;if(value>max)max=value}return min<=max?{min,max}:null}function visualMapExtentsEqual(a,b,epsilon=1e-9){if(a===null||b===null)return a===b;return Math.abs(a.min-b.min)<=epsilon&&Math.abs(a.max-b.max)<=epsilon}function resolveVisualMapTarget(target,forId,root,fallbackRoot){if(target)return target;if(!forId)return null;const inRoot=typeof root?.getElementById==="function"?root.getElementById(forId):null;const found=inRoot??(typeof fallbackRoot?.getElementById==="function"?fallbackRoot.getElementById(forId):null);return found??null}async function whenVisualMapTargetDefined(target){if(target.setVisualMap)return;if(typeof customElements!=="undefined"&&target.localName.includes("-"))await customElements.whenDefined(target.localName)}exports.createMarkerColorBuckets=createMarkerColorBuckets;exports.createPiecewiseVisualMapPalette=createPiecewiseVisualMapPalette;exports.createVisualMapPalette=createVisualMapPalette;exports.formatVisualMapValue=formatVisualMapValue;exports.isFullVisualMapRange=isFullVisualMapRange;exports.normalizeVisualMapSelection=normalizeVisualMapSelection;exports.resolveContinuousVisualMap=resolveContinuousVisualMap;exports.resolvePiecewiseVisualMap=resolvePiecewiseVisualMap;exports.resolveVisualMapRange=resolveVisualMapRange;exports.resolveVisualMapTarget=resolveVisualMapTarget;exports.toggleVisualMapPiece=toggleVisualMapPiece;exports.visualMapColorFn=visualMapColorFn;exports.visualMapDatumValue=visualMapDatumValue;exports.visualMapExtentOf=visualMapExtentOf;exports.visualMapExtentsEqual=visualMapExtentsEqual;exports.visualMapGradientStops=visualMapGradientStops;exports.visualMapPointValue=visualMapPointValue;exports.visualMapRangesEqual=visualMapRangesEqual;exports.visualMapSizeFn=visualMapSizeFn;exports.whenVisualMapTargetDefined=whenVisualMapTargetDefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var types=require("./types-jSXHeK-g.js");function computeWaferStack(wafers,options={}){const metric=options.metric==="fail-rate"||options.metric==="mean-value"?options.metric:"fail-count";const passKey=types.binKey(options.passBin??1);const list=Array.isArray(wafers)?wafers:[];const cells=new Map;for(const wafer of list){if(!wafer||!Array.isArray(wafer.values))continue;const byCell=types.resolveWaferDieData(wafer.values);for(const[key,datum]of byCell){let cell=cells.get(key);if(!cell){cell={col:datum.col,row:datum.row,probed:0,fails:0,valueSum:0,valueCount:0};cells.set(key,cell)}if(datum.bin!==void 0&&datum.bin!==null){cell.probed+=1;if(types.binKey(datum.bin)!==passKey)cell.fails+=1}if(typeof datum.value==="number"&&Number.isFinite(datum.value)){cell.valueSum+=datum.value;cell.valueCount+=1}}}const waferCount=list.filter(w=>w&&Array.isArray(w.values)).length;const repeatThreshold=Number.isFinite(options.repeatThreshold)&&options.repeatThreshold>0?Math.floor(options.repeatThreshold):Math.max(1,Math.ceil(waferCount/2));const values=[];const systematicCells=[];let maxFail=0;const ordered=[...cells.values()].sort((a,b)=>a.row-b.row||a.col-b.col);for(const cell of ordered){if(cell.fails>maxFail)maxFail=cell.fails;if(cell.fails>=repeatThreshold&&cell.probed>0){systematicCells.push({col:cell.col,row:cell.row,failCount:cell.fails})}let value;if(metric==="fail-count")value=cell.probed>0?cell.fails:void 0;else if(metric==="fail-rate")value=cell.probed>0?cell.fails/cell.probed:void 0;else value=cell.valueCount>0?cell.valueSum/cell.valueCount:void 0;if(value===void 0)continue;values.push({col:cell.col,row:cell.row,value})}return{values,metric,waferCount,maxFail,repeatThreshold,systematicCells}}exports.computeWaferStack=computeWaferStack;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var scheme=require("./scheme-KzZHS7kW.js");var parse=require("./parse-CoFqMZ-2.js");function resolveWaferSpec(input={}){const diameter=Number.isFinite(input.diameter)&&input.diameter>0?input.diameter:300;const radius=diameter/2;const edgeExclusion=Math.min(radius*.5,Math.max(0,Number.isFinite(input.edgeExclusion)?input.edgeExclusion:3));const orientation=input.orientation==="up"||input.orientation==="left"||input.orientation==="right"?input.orientation:"down";const indicator=input.indicator==="flat"||input.indicator==="none"?input.indicator:"notch";const flatLength=Math.min(diameter*.45,Math.max(0,Number.isFinite(input.flatLength)?input.flatLength:diameter*.2));const notchDepth=Math.min(radius*.1,Math.max(.5,Number.isFinite(input.notchDepth)?input.notchDepth:2.5));return{diameter,radius,edgeExclusion,effectiveRadius:radius-edgeExclusion,orientation,indicator,flatLength,notchDepth}}function orientationAngle(orientation){switch(orientation){case"up":return Math.PI;case"left":return Math.PI/2;case"right":return-Math.PI/2;default:return 0}}function rotate(x,y,angle){const cos=Math.cos(angle);const sin=Math.sin(angle);return{x:x*cos-y*sin,y:x*sin+y*cos}}const R2=v=>Math.round(v*1e3)/1e3;function waferOutlinePath(spec){const r=spec.radius;const angle=orientationAngle(spec.orientation);if(spec.indicator==="none"){return`M ${R2(-r)} 0 A ${R2(r)} ${R2(r)} 0 1 0 ${R2(r)} 0 A ${R2(r)} ${R2(r)} 0 1 0 ${R2(-r)} 0 Z`}if(spec.indicator==="flat"){const half=Math.min(spec.flatLength/2,r*.999);const yChord=Math.sqrt(Math.max(0,r*r-half*half));const start=rotate(-half,yChord,angle);const end=rotate(half,yChord,angle);return`M ${R2(end.x)} ${R2(end.y)} A ${R2(r)} ${R2(r)} 0 1 0 ${R2(start.x)} ${R2(start.y)} L ${R2(end.x)} ${R2(end.y)} Z`}const d=spec.notchDepth;const halfWidth=d;const yEdge=Math.sqrt(Math.max(0,r*r-halfWidth*halfWidth));const leftPt=rotate(-halfWidth,yEdge,angle);const apex=rotate(0,r-d,angle);const rightPt=rotate(halfWidth,yEdge,angle);return[`M ${R2(rightPt.x)} ${R2(rightPt.y)}`,`A ${R2(r)} ${R2(r)} 0 1 0 ${R2(leftPt.x)} ${R2(leftPt.y)}`,`L ${R2(apex.x)} ${R2(apex.y)}`,`L ${R2(rightPt.x)} ${R2(rightPt.y)}`,"Z"].join(" ")}const neg=v=>v===0?0:-v;function rotateToView(x,y,orientation){switch(orientation){case"up":return{x:neg(x),y:neg(y)};case"left":return{x:neg(y),y:x};case"right":return{x:y,y:neg(x)};default:return{x,y}}}function rotateFromView(x,y,orientation){switch(orientation){case"up":return{x:neg(x),y:neg(y)};case"left":return{x:y,y:neg(x)};case"right":return{x:neg(y),y:x};default:return{x,y}}}function isQuarterTurn(orientation){return orientation==="left"||orientation==="right"}function resolveDieGridSpec(input={}){const dieWidth=Number.isFinite(input.dieWidth)&&input.dieWidth>0?input.dieWidth:10;const dieHeight=Number.isFinite(input.dieHeight)&&input.dieHeight>0?input.dieHeight:10;const scribeX=Math.max(0,Number.isFinite(input.scribeX)?input.scribeX:.2);const scribeY=Math.max(0,Number.isFinite(input.scribeY)?input.scribeY:.2);return{dieWidth,dieHeight,scribeX,scribeY,pitchX:dieWidth+scribeX,pitchY:dieHeight+scribeY,offsetX:Number.isFinite(input.offsetX)?input.offsetX:0,offsetY:Number.isFinite(input.offsetY)?input.offsetY:0}}function dieCenter(grid,col,row){return{cx:grid.offsetX+col*grid.pitchX,cy:grid.offsetY+row*grid.pitchY}}function dieAt(grid,x,y){const col=Math.round((x-grid.offsetX)/grid.pitchX);const row=Math.round((y-grid.offsetY)/grid.pitchY);const centre=dieCenter(grid,col,row);if(Math.abs(x-centre.cx)>grid.dieWidth/2)return null;if(Math.abs(y-centre.cy)>grid.dieHeight/2)return null;return{col,row}}function cornerDistanceSq(cx,cy,halfW,halfH){const fx=Math.abs(cx)+halfW;const fy=Math.abs(cy)+halfH;return fx*fx+fy*fy}function nearestDistanceSq(cx,cy,halfW,halfH){const nx=Math.max(0,Math.abs(cx)-halfW);const ny=Math.max(0,Math.abs(cy)-halfH);return nx*nx+ny*ny}function computeDieGrid(wafer,grid){const radius=wafer.effectiveRadius;const halfW=grid.dieWidth/2;const halfH=grid.dieHeight/2;const rSq=radius*radius;const colSpan=Math.ceil((radius+grid.pitchX)/grid.pitchX);const rowSpan=Math.ceil((radius+grid.pitchY)/grid.pitchY);const dies=[];let fullCount=0;let partialCount=0;let minCol=Infinity;let maxCol=-Infinity;let minRow=Infinity;let maxRow=-Infinity;for(let row=-rowSpan;row<=rowSpan;row+=1){for(let col=-colSpan;col<=colSpan;col+=1){const{cx,cy}=dieCenter(grid,col,row);if(nearestDistanceSq(cx,cy,halfW,halfH)>rSq)continue;const status=cornerDistanceSq(cx,cy,halfW,halfH)<=rSq?"full":"partial";dies.push({col,row,cx,cy,status});if(status==="full")fullCount+=1;else partialCount+=1;if(col<minCol)minCol=col;if(col>maxCol)maxCol=col;if(row<minRow)minRow=row;if(row>maxRow)maxRow=row}}return{dies,fullCount,partialCount,minCol:dies.length>0?minCol:0,maxCol:dies.length>0?maxCol:-1,minRow:dies.length>0?minRow:0,maxRow:dies.length>0?maxRow:-1,grid,wafer}}function cssOf(color){return color.a>=1?`rgb(${color.r}, ${color.g}, ${color.b})`:`rgba(${color.r}, ${color.g}, ${color.b}, ${Math.round(color.a*1e3)/1e3})`}function resolveWaferValueAxis(input,values){if(input===void 0||input===null||input===false)return null;const partial=input===true||input==="auto"?{}:input;let dataMin=Infinity;let dataMax=-Infinity;for(const value of values){if(!Number.isFinite(value))continue;if(value<dataMin)dataMin=value;if(value>dataMax)dataMax=value}const min=Number.isFinite(partial.min)?partial.min:dataMin;const max=Number.isFinite(partial.max)?partial.max:dataMax;if(!Number.isFinite(min)||!Number.isFinite(max))return null;const span=max>min?max-min:1;const schemeName=partial.scheme??"blues";const divergingScheme=scheme.diverging[schemeName];let scale;let isDiverging=false;if(Array.isArray(partial.stops)&&partial.stops.length>0){const parsed=partial.stops.map(([t,css])=>({t:Math.min(1,Math.max(0,Number(t))),color:parse.parseColor(String(css))})).filter(stop=>stop.color!==null).sort((a,b)=>a.t-b.t);if(parsed.length===0)return null;scale=t=>{const clamped=Math.min(1,Math.max(0,t));if(clamped<=parsed[0].t)return parsed[0].color;const last=parsed[parsed.length-1];if(clamped>=last.t)return last.color;for(let i=0;i<parsed.length-1;i+=1){const a=parsed[i];const b=parsed[i+1];if(clamped<=b.t){const local=b.t>a.t?(clamped-a.t)/(b.t-a.t):0;return scheme.makeColorScale([a.color,b.color])(local)}}return last.color}}else if(typeof partial.minColor==="string"||typeof partial.maxColor==="string"){const lo=parse.parseColor(partial.minColor??"#eff6ff");const hi=parse.parseColor(partial.maxColor??"#1d4ed8");if(!lo||!hi)return null;scale=scheme.makeColorScale([lo,hi])}else if(divergingScheme){scale=scheme.makeColorScale(divergingScheme);isDiverging=true}else{const catalogued=scheme.sequential[schemeName];scale=scheme.makeColorScale(catalogued??scheme.sequential.blues)}if(partial.reverse===true){const forward=scale;scale=t=>forward(1-t)}const center=isDiverging?Math.min(max,Math.max(min,Number.isFinite(partial.center)?partial.center:(min+max)/2)):void 0;const tFor=value=>{const v=Math.min(max,Math.max(min,value));if(!isDiverging||center===void 0)return(v-min)/span;if(v<=center){const lowSpan=center-min;return lowSpan>0?.5*((v-min)/lowSpan):.5}const highSpan=max-center;return highSpan>0?.5+.5*((v-center)/highSpan):.5};const gradientStops=[];for(let i=0;i<=8;i+=1){const t=i/8;gradientStops.push([t,cssOf(scale(t))])}return{min,max,diverging:isDiverging,center,colorFor:value=>cssOf(scale(tFor(value))),gradientStops}}function computeValueStats(values){const clean=values.filter(v=>Number.isFinite(v)).sort((a,b)=>a-b);const count=clean.length;if(count===0)return{count:0,min:0,max:0,mean:0,stdDev:0,median:0};const min=clean[0];const max=clean[count-1];const mean=clean.reduce((a,b)=>a+b,0)/count;const stdDev=count>1?Math.sqrt(clean.reduce((a,v)=>a+(v-mean)*(v-mean),0)/(count-1)):0;const median=count%2===1?clean[(count-1)/2]:(clean[count/2-1]+clean[count/2])/2;return{count,min,max,mean,stdDev,median}}exports.computeDieGrid=computeDieGrid;exports.computeValueStats=computeValueStats;exports.dieAt=dieAt;exports.dieCenter=dieCenter;exports.isQuarterTurn=isQuarterTurn;exports.resolveDieGridSpec=resolveDieGridSpec;exports.resolveWaferSpec=resolveWaferSpec;exports.resolveWaferValueAxis=resolveWaferValueAxis;exports.rotateFromView=rotateFromView;exports.rotateToView=rotateToView;exports.waferOutlinePath=waferOutlinePath;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var zoomWindow=require("./zoom-window-oCyi6HPg.js");const CARTESIAN_ZOOM_PAN_DEFAULTS=Object.freeze({enabled:true,modifier:"shift",keyboard:true,stepFraction:.1});const CARTESIAN_ZOOM_WHEEL_DEFAULTS=Object.freeze({enabled:true,modifier:"ctrl",pan:true,factor:1.2,settleMs:250});const CARTESIAN_ZOOM_DEFAULTS=Object.freeze({enabled:false,mode:"x",drag:true,keyboard:true,minRangePx:8,resetButton:true,pan:CARTESIAN_ZOOM_PAN_DEFAULTS,wheel:CARTESIAN_ZOOM_WHEEL_DEFAULTS,pinch:true,inside:false});const ZOOM_MODES=["x","y","xy"];const PAN_MODIFIERS=["shift","alt","none"];const WHEEL_MODIFIERS=["ctrl","none"];function isCartesianZoomMode(value){return ZOOM_MODES.includes(value)}function isCartesianZoomPanModifier(value){return PAN_MODIFIERS.includes(value)}function isCartesianZoomWheelModifier(value){return WHEEL_MODIFIERS.includes(value)}function isPlainObject(value){return Boolean(value)&&typeof value==="object"&&!Array.isArray(value)}function resolveCartesianZoomPanSpec(input,drag){const defaultModifier=drag?"shift":"none";if(input===void 0||input===null||input===true)return{...CARTESIAN_ZOOM_PAN_DEFAULTS,modifier:defaultModifier};if(input===false)return{...CARTESIAN_ZOOM_PAN_DEFAULTS,enabled:false,modifier:defaultModifier};if(isCartesianZoomPanModifier(input))return{...CARTESIAN_ZOOM_PAN_DEFAULTS,modifier:input};if(!isPlainObject(input))return{...CARTESIAN_ZOOM_PAN_DEFAULTS,modifier:defaultModifier};const stepFraction=Number.isFinite(input.stepFraction)&&input.stepFraction>0&&input.stepFraction<=1?input.stepFraction:CARTESIAN_ZOOM_PAN_DEFAULTS.stepFraction;return{enabled:input.enabled!==false,modifier:isCartesianZoomPanModifier(input.modifier)?input.modifier:defaultModifier,keyboard:input.keyboard!==false,stepFraction}}function resolveCartesianZoomWheelSpec(input){if(input===void 0||input===null||input===true)return{...CARTESIAN_ZOOM_WHEEL_DEFAULTS};if(input===false)return{...CARTESIAN_ZOOM_WHEEL_DEFAULTS,enabled:false};if(isCartesianZoomWheelModifier(input))return{...CARTESIAN_ZOOM_WHEEL_DEFAULTS,modifier:input};if(!isPlainObject(input))return{...CARTESIAN_ZOOM_WHEEL_DEFAULTS};const factor=Number.isFinite(input.factor)&&input.factor>1?input.factor:CARTESIAN_ZOOM_WHEEL_DEFAULTS.factor;const settleMs=Number.isFinite(input.settleMs)&&input.settleMs>=0?input.settleMs:CARTESIAN_ZOOM_WHEEL_DEFAULTS.settleMs;return{enabled:input.enabled!==false,modifier:isCartesianZoomWheelModifier(input.modifier)?input.modifier:CARTESIAN_ZOOM_WHEEL_DEFAULTS.modifier,pan:input.pan!==false,factor,settleMs}}function resolveCartesianZoomSpec(input){if(input===void 0||input===null||input===false||input==="off"||input==="auto"||input==="false"){return{...CARTESIAN_ZOOM_DEFAULTS}}if(input===true||input==="true")return{...CARTESIAN_ZOOM_DEFAULTS,enabled:true};if(isCartesianZoomMode(input))return{...CARTESIAN_ZOOM_DEFAULTS,enabled:true,mode:input};if(input==="inside")return resolveCartesianZoomSpec({mode:"x",inside:true});if(!isPlainObject(input))return{...CARTESIAN_ZOOM_DEFAULTS};const minRangePx=Number.isFinite(input.minRangePx)&&input.minRangePx>0?input.minRangePx:CARTESIAN_ZOOM_DEFAULTS.minRangePx;const inside=input.inside===true;const drag=input.drag===void 0?!inside:input.drag!==false;const wheelInput=inside&&input.wheel===void 0?"none":inside&&isPlainObject(input.wheel)&&input.wheel.modifier===void 0?{...input.wheel,modifier:"none"}:input.wheel;return{enabled:input.enabled!==false,mode:isCartesianZoomMode(input.mode)?input.mode:CARTESIAN_ZOOM_DEFAULTS.mode,drag,keyboard:input.keyboard!==false,minRangePx,resetButton:input.resetButton!==false,pan:resolveCartesianZoomPanSpec(input.pan,drag),wheel:resolveCartesianZoomWheelSpec(wheelInput),pinch:input.pinch!==false,inside}}function resolveZoomRequestSource(value){return value==="slider"||value==="sync"?value:"api"}function normalizeZoomWindow(input){if(input===null||input===void 0)return void 0;const pair=Array.isArray(input)?[input[0],input[1]]:[input.min,input.max];const[a,b]=pair;if(typeof a!=="number"||typeof b!=="number"||!Number.isFinite(a)||!Number.isFinite(b))return void 0;return a<=b?{min:a,max:b}:{min:b,max:a}}class ZoomDragGesture{pointerId=null;start=null;active=false;get isActive(){return this.active}get isPending(){return this.pointerId!==null}begin(pointerId,point,plot){const inside=point.x>=plot.x&&point.x<=plot.x+plot.width&&point.y>=plot.y&&point.y<=plot.y+plot.height;if(!inside)return false;this.pointerId=pointerId;this.start={x:point.x,y:point.y};this.active=false;return true}move(pointerId,point,plot,mode,thresholdPx){if(this.pointerId!==pointerId||!this.start)return null;const rect=zoomWindow.selectionRectFromDrag(this.start,point,plot,mode);if(!this.active){if(!zoomWindow.isMeaningfulSelection(rect,mode,thresholdPx))return null;this.active=true}return rect}end(pointerId,point,plot,mode,minRangePx){if(this.pointerId!==pointerId||!this.start)return null;const rect=this.active?zoomWindow.selectionRectFromDrag(this.start,point,plot,mode):null;this.cancel();return rect&&zoomWindow.isMeaningfulSelection(rect,mode,minRangePx)?rect:null}cancel(){this.pointerId=null;this.start=null;this.active=false}}function primaryZoomAxis(axes){return axes.find(entry=>entry.axis.show)??axes[0]}function resolveZoomAxis(axes,ref){let found;if(ref===void 0){found=primaryZoomAxis(axes)}else{const wanted=String(ref);found=axes.find(entry=>entry.key===wanted);if(!found&&typeof ref==="number"&&Number.isInteger(ref)&&ref>=0&&ref<axes.length)found=axes[ref]}if(found?.linkedTo){const master=axes.find(entry=>entry.key===found.linkedTo);if(master)return master}return found}function withoutEmpty(state){const x=state.x&&Object.keys(state.x).length>0?state.x:void 0;const y=state.y&&Object.keys(state.y).length>0?state.y:void 0;if(!x&&!y)return null;const out={};if(x)out.x=x;if(y)out.y=y;return out}function setWindow(state,orientation,key,window){const current={...state?.[orientation]??{}};if(window)current[key]=window;else delete current[key];return withoutEmpty({...state??{},[orientation]:current})}function effectiveWindow(window,full,minSpan,keepFull=false){const clamped=zoomWindow.clampZoomWindow(window,full,minSpan);return!keepFull&&zoomWindow.isFullZoomWindow(clamped,full)?void 0:clamped}function withoutFullViewport(frame,state){if(!state||frame.aspect!=="locked")return state;const full=(windows,axes)=>Object.entries(windows??{}).every(([key,window])=>{const axis=axes.find(axis2=>axis2.key===key);return axis!==void 0&&zoomWindow.isFullZoomWindow(window,axis.fullExtent)});return full(state.x,frame.xAxes)&&full(state.y,frame.yAxes)?null:state}function minSpanFor(axis,plotSize,spec){return zoomWindow.minZoomSpan(axis.fullExtent,plotSize,spec.minRangePx)}function lockZoomAspect(frame,next,current){next=withoutFullViewport(frame,next);if(frame.aspect!=="locked"||!next)return next;const px=primaryZoomAxis(frame.xAxes);const py=primaryZoomAxis(frame.yAxes);if(!px||!py)return next;const xw=next.x?.[px.key];const yw=next.y?.[py.key];if(!!xw===!!yw)return next;const given=xw??yw;const givenAxis=xw?px:py;const otherAxis=xw?py:px;const orientation=xw?"y":"x";const givenFull=givenAxis.fullExtent.max-givenAxis.fullExtent.min;const otherFull=otherAxis.fullExtent.max-otherAxis.fullExtent.min;if(!(givenFull>0)||!(otherFull>0))return next;const span=Math.min(otherFull,(given.max-given.min)/givenFull*otherFull);const existing=(xw?current?.y?.[py.key]:current?.x?.[px.key])??otherAxis.fullExtent;const centre=(existing.min+existing.max)/2;return setWindow(next,orientation,otherAxis.key,effectiveWindow(windowAbout(centre,span,otherAxis.fullExtent),otherAxis.fullExtent,0))}function fitZoomAspect(frame,next){next=withoutFullViewport(frame,next);if(frame.aspect!=="locked"||!next)return next;const px=primaryZoomAxis(frame.xAxes);const py=primaryZoomAxis(frame.yAxes);if(!px||!py)return next;const xw=next.x?.[px.key];const yw=next.y?.[py.key];if(!xw||!yw)return next;const xFull=px.fullExtent.max-px.fullExtent.min;const yFull=py.fullExtent.max-py.fullExtent.min;if(!(xFull>0)||!(yFull>0))return next;const xFraction=(xw.max-xw.min)/xFull;const yFraction=(yw.max-yw.min)/yFull;if(Math.abs(xFraction-yFraction)<=1e-12)return next;const widenX=xFraction<yFraction;const axis=widenX?px:py;const window=widenX?xw:yw;const full=widenX?xFull:yFull;const span=Math.min(full,(widenX?yFraction:xFraction)*full);return withoutFullViewport(frame,setWindow(next,widenX?"x":"y",axis.key,effectiveWindow(windowAbout((window.min+window.max)/2,span,axis.fullExtent),axis.fullExtent,0,true)))}function windowAbout(centre,span,extent){let min=centre-span/2;let max=centre+span/2;if(min<extent.min){max+=extent.min-min;min=extent.min}if(max>extent.max){min-=max-extent.max;max=extent.max}return{min:Math.max(min,extent.min),max}}function zoomStateFromSelection(frame,rect,spec,current){const px=primaryZoomAxis(frame.xAxes);const py=primaryZoomAxis(frame.yAxes);if(!px||!py)return current;const windows=zoomWindow.windowsFromSelection(rect,spec.mode,px.scale,py.scale);let next=current;if(windows.x)next=setWindow(next,"x",px.key,effectiveWindow(windows.x,px.fullExtent,minSpanFor(px,frame.plot.width,spec),frame.aspect==="locked"));if(windows.y)next=setWindow(next,"y",py.key,effectiveWindow(windows.y,py.fullExtent,minSpanFor(py,frame.plot.height,spec),frame.aspect==="locked"));if(frame.aspect!=="locked")return next;if(spec.mode==="xy")return fitZoomAspect(frame,next);next=spec.mode==="x"?setWindow(next,"y",py.key,void 0):setWindow(next,"x",px.key,void 0);return lockZoomAspect(frame,next,current)}function zoomStateBy(frame,spec,factor,anchorFraction,current){let next=current;const step=(axes,orientation,plotSize)=>{const primary=primaryZoomAxis(axes);if(!primary)return;const[d0,d1]=primary.scale.domain();const currentWindow={min:Math.min(d0,d1),max:Math.max(d0,d1)};const minSpan=minSpanFor(primary,plotSize,spec);const window=zoomWindow.zoomWindowBy(currentWindow,primary.fullExtent,factor,anchorFraction,minSpan);next=setWindow(next,orientation,primary.key,effectiveWindow(window,primary.fullExtent,minSpan,frame.aspect==="locked"))};if(spec.mode!=="y"||frame.aspect==="locked")step(frame.xAxes,"x",frame.plot.width);if(spec.mode!=="x"||frame.aspect==="locked")step(frame.yAxes,"y",frame.plot.height);return lockZoomAspect(frame,next,current)}function zoomStateFromRequest(frame,request,spec,current){let next=current;const apply=(axes,orientation,plotSize,ref,value)=>{if(value===void 0)return;const axis=resolveZoomAxis(axes,ref);if(!axis)return;if(value===null){next=setWindow(next,orientation,axis.key,frame.aspect==="locked"&&request.x!==void 0&&request.y!==void 0?{...axis.fullExtent}:void 0);return}const window=normalizeZoomWindow(value);if(!window)return;next=setWindow(next,orientation,axis.key,effectiveWindow(window,axis.fullExtent,minSpanFor(axis,plotSize,spec),frame.aspect==="locked"))};apply(frame.xAxes,"x",frame.plot.width,request.xAxis,request.x);apply(frame.yAxes,"y",frame.plot.height,request.yAxis,request.y);if(frame.aspect==="locked"&&request.x===void 0!==(request.y===void 0)){const px=primaryZoomAxis(frame.xAxes),py=primaryZoomAxis(frame.yAxes);if(px&&py)next=request.x===void 0?setWindow(next,"x",px.key,void 0):setWindow(next,"y",py.key,void 0)}return lockZoomAspect(frame,next,current)}function zoomStatePannedByPixels(frame,spec,deltaPx,current){let next=current;const slide=(axes,orientation,fallbackRange,delta)=>{if(delta===void 0||!Number.isFinite(delta)||delta===0)return;const primary=primaryZoomAxis(axes);if(!primary)return;const[d0,d1]=primary.scale.domain();const currentWindow={min:Math.min(d0,d1),max:Math.max(d0,d1)};if(zoomWindow.isFullZoomWindow(currentWindow,primary.fullExtent))return;const[rangeStart,rangeEnd]=primary.scale.range?.()??fallbackRange;const window=zoomWindow.panWindowByPixels(primary.scale,primary.fullExtent,rangeStart,rangeEnd,delta);if(!window)return;next=setWindow(next,orientation,primary.key,effectiveWindow(window,primary.fullExtent,0))};if(spec.mode!=="y")slide(frame.xAxes,"x",[frame.plot.x,frame.plot.x+frame.plot.width],deltaPx.x);if(spec.mode!=="x")slide(frame.yAxes,"y",[frame.plot.y+frame.plot.height,frame.plot.y],deltaPx.y);return next}function zoomStatePannedByData(frame,spec,delta,current){const toPixels=(axes,value)=>{if(value===void 0||!Number.isFinite(value)||value===0)return void 0;const primary=primaryZoomAxis(axes);if(!primary)return void 0;const[d0]=primary.scale.domain();const px=primary.scale(d0+value)-primary.scale(d0);return Number.isFinite(px)?-px:void 0};return zoomStatePannedByPixels(frame,spec,{x:toPixels(frame.xAxes,delta.x),y:toPixels(frame.yAxes,delta.y)},current)}function keyboardPanDeltaPx(frame,axis,direction,stepFraction){const fraction=Number.isFinite(stepFraction)&&stepFraction>0?stepFraction:.1;if(axis==="x")return{x:-direction*frame.plot.width*fraction};const primary=primaryZoomAxis(frame.yAxes);const[r0,r1]=primary?.scale.range?.()??[frame.plot.y+frame.plot.height,frame.plot.y];const towardHigherValuesPx=Math.sign(r1-r0)||-1;return{y:-direction*towardHigherValuesPx*frame.plot.height*fraction}}function zoomChangeDetail(frame,state,source){const px=primaryZoomAxis(frame.xAxes);const py=primaryZoomAxis(frame.yAxes);const detail={zoom:state,source};const x=px?state?.x?.[px.key]:void 0;const y=py?state?.y?.[py.key]:void 0;if(x)detail.x={...x};if(y)detail.y={...y};return detail}function sameZoomState(a,b){if(a===b)return true;if(!a||!b)return false;const same=(m1,m2)=>{const k1=Object.keys(m1??{});const k2=Object.keys(m2??{});if(k1.length!==k2.length)return false;return k1.every(key=>{const w1=m1[key];const w2=m2?.[key];return!!w2&&w1.min===w2.min&&w1.max===w2.max})};return same(a.x,b.x)&&same(a.y,b.y)}function zoomStateScaledAtPixel(frame,spec,anchor,factor,current,contentShift={}){let next=current;const scaleAbout=(axes,orientation,fallbackRange,plotSize,anchorPx,shiftPx)=>{const primary=primaryZoomAxis(axes);if(!primary)return;const[rangeStart,rangeEnd]=primary.scale.range?.()??fallbackRange;const minSpan=minSpanFor(primary,plotSize,spec);const window=zoomWindow.zoomWindowAboutPixel(primary.scale,primary.fullExtent,rangeStart,rangeEnd,anchorPx,factor,minSpan,shiftPx??0);if(!window)return;next=setWindow(next,orientation,primary.key,effectiveWindow(window,primary.fullExtent,minSpan,frame.aspect==="locked"))};if(spec.mode!=="y"||frame.aspect==="locked")scaleAbout(frame.xAxes,"x",[frame.plot.x,frame.plot.x+frame.plot.width],frame.plot.width,anchor.x,contentShift.x);if(spec.mode!=="x"||frame.aspect==="locked")scaleAbout(frame.yAxes,"y",[frame.plot.y+frame.plot.height,frame.plot.y],frame.plot.height,anchor.y,contentShift.y);return lockZoomAspect(frame,next,current)}function distanceBetween(a,b){return Math.hypot(b.x-a.x,b.y-a.y)}function midpointOf(a,b){return{x:(a.x+b.x)/2,y:(a.y+b.y)/2}}function defaultSchedule(callback,delayMs){const id=setTimeout(callback,delayMs);return()=>clearTimeout(id)}function insidePlot(point,plot){return point.x>=plot.x&&point.x<=plot.x+plot.width&&point.y>=plot.y&&point.y<=plot.y+plot.height}class ZoomInteraction{static resetButtonStyle=Object.freeze({whiteSpace:"nowrap",width:"max-content",minWidth:"max-content"});host;drag=new ZoomDragGesture;pan=null;selectionShown=false;suppressClick=false;wheelSession=null;cancelWheelTimer=null;liveSession=null;pinch=null;touches=new Map;staleTouches=new Set;constructor(host){this.host=host}get isPending(){return this.drag.isPending||this.pan!==null||this.pinch!==null}get activeGesture(){if(this.pinch)return"pinch";if(this.pan)return"pan";return this.drag.isActive?"zoom":null}get isWheeling(){return this.wheelSession!==null}transition(next,source){this.flushWheel();const current=this.host.state();const base=this.liveSession?this.liveSession.startState:current;this.liveSession=null;if(!sameZoomState(current,next))this.host.apply(next);if(sameZoomState(base,next))return null;const frame=this.host.frame();const detail=frame?zoomChangeDetail(frame,next,source):{zoom:next,source};this.host.emit(detail);return detail}zoomTo(request){const frame=this.host.frame();if(!frame)return null;const req=request??{};const next=zoomStateFromRequest(frame,req,this.host.spec(),this.host.state());if(req.live===true){this.flushWheel();const current=this.host.state();if(!this.liveSession)this.liveSession={startState:current};if(!sameZoomState(current,next))this.host.apply(next);return null}return this.transition(next,resolveZoomRequestSource(req.source))}extent(request={}){const frame=this.host.frame();if(!frame)return null;const detail={};const x=resolveZoomAxis(frame.xAxes,request.xAxis);const y=resolveZoomAxis(frame.yAxes,request.yAxis);if(x)detail.x={key:x.key,min:Math.min(x.fullExtent.min,x.fullExtent.max),max:Math.max(x.fullExtent.min,x.fullExtent.max)};if(y)detail.y={key:y.key,min:Math.min(y.fullExtent.min,y.fullExtent.max),max:Math.max(y.fullExtent.min,y.fullExtent.max)};return detail}zoomBy(factor,anchorFraction=.5){const frame=this.host.frame();if(!frame)return null;return this.transition(zoomStateBy(frame,this.host.spec(),factor,anchorFraction,this.host.state()),"api")}panBy(delta){const frame=this.host.frame();if(!frame||!delta)return null;return this.transition(zoomStatePannedByData(frame,this.host.spec(),delta,this.host.state()),"api")}reset(){return this.transition(null,"reset")}pointerDown(input){const spec=this.host.spec();if(!spec.enabled||(input.button??0)!==0)return null;const frame=this.host.frame();if(!frame)return null;const point={x:input.x,y:input.y};if(!insidePlot(point,frame.plot))return null;this.flushWheel();if(input.pointerType==="touch"&&spec.pinch){if(this.pinch)return null;const first=[...this.touches.entries()].find(([id])=>id!==input.pointerId);if(first){this.touches.set(input.pointerId,point);this.beginPinch(first[0],first[1],input.pointerId,point);return"pinch"}this.touches.set(input.pointerId,point)}if(this.drag.isPending||this.pan!==null)return null;if(this.panApplies(spec,input)){this.pan={pointerId:input.pointerId,last:point,moved:false,startState:this.host.state()};return"pan"}if(spec.drag&&this.drag.begin(input.pointerId,point,frame.plot))return"zoom";return null}panApplies(spec,input){if(!spec.pan.enabled)return false;if(this.host.state()===null)return false;if(spec.pan.modifier==="shift")return input.shiftKey===true;if(spec.pan.modifier==="alt")return input.altKey===true;return true}pointerMove(input){if(this.pinch)return this.pinchMove(input);if(this.staleTouches.has(input.pointerId))return false;if(this.pan){if(this.pan.pointerId!==input.pointerId)return false;const dx=input.x-this.pan.last.x;const dy=input.y-this.pan.last.y;this.pan.last={x:input.x,y:input.y};const frame2=this.host.frame();if(!frame2)return true;const spec2=this.host.spec();const current=this.host.state();const next=zoomStatePannedByPixels(frame2,spec2,{x:spec2.mode!=="y"?dx:void 0,y:spec2.mode!=="x"?dy:void 0},current);if(!sameZoomState(current,next)){if(!this.pan.moved)this.host.standDown();this.pan.moved=true;this.host.apply(next)}return true}if(!this.drag.isPending)return false;const frame=this.host.frame();if(!frame)return false;const spec=this.host.spec();const rect=this.drag.move(input.pointerId,{x:input.x,y:input.y},frame.plot,spec.mode,spec.minRangePx);if(!rect)return false;if(!this.selectionShown){this.selectionShown=true;this.host.standDown()}this.host.selection(rect);return true}pointerUp(input){this.touches.delete(input.pointerId);if(this.pinch){if(this.pinch.ids.includes(input.pointerId))this.endPinch();return}if(this.staleTouches.delete(input.pointerId))return;if(this.pan){if(this.pan.pointerId!==input.pointerId)return;const{moved,startState}=this.pan;this.pan=null;if(moved)this.reportPan(startState);return}if(!this.drag.isPending)return;const frame=this.host.frame();const spec=this.host.spec();const wasActive=this.drag.isActive;const rect=frame?this.drag.end(input.pointerId,{x:input.x,y:input.y},frame.plot,spec.mode,spec.minRangePx):null;if(!frame)this.drag.cancel();this.hideSelection();if(wasActive)this.suppressClick=true;if(rect&&frame)this.transition(zoomStateFromSelection(frame,rect,spec,this.host.state()),"drag")}pointerCancel(){if(this.pinch){this.endPinch()}else if(this.pan){const{moved,startState}=this.pan;this.pan=null;if(moved)this.reportPan(startState)}this.resetPointers()}resetPointers(){this.pinch=null;this.pan=null;this.drag.cancel();this.hideSelection();this.touches.clear();this.staleTouches.clear()}reportPan(startState){this.suppressClick=true;const frame=this.host.frame();const state=this.host.state();if(frame&&!sameZoomState(startState,state))this.host.emit(zoomChangeDetail(frame,state,"pan"))}beginPinch(firstId,first,secondId,second){const startState=this.pan?this.pan.startState:this.host.state();this.pan=null;this.drag.cancel();this.hideSelection();this.pinch={ids:[firstId,secondId],lastDistance:distanceBetween(first,second),lastMid:midpointOf(first,second),moved:false,startState};this.host.standDown()}pinchMove(input){const pinch=this.pinch;if(!pinch||!pinch.ids.includes(input.pointerId))return true;this.touches.set(input.pointerId,{x:input.x,y:input.y});const a=this.touches.get(pinch.ids[0]);const b=this.touches.get(pinch.ids[1]);if(!a||!b)return true;const distance=distanceBetween(a,b);const mid=midpointOf(a,b);const frame=this.host.frame();if(!frame)return true;const spec=this.host.spec();const current=this.host.state();const factor=distance>=1&&pinch.lastDistance>=1?pinch.lastDistance/distance:1;const shift={x:spec.mode!=="y"?mid.x-pinch.lastMid.x:void 0,y:spec.mode!=="x"?mid.y-pinch.lastMid.y:void 0};const next=zoomStateScaledAtPixel(frame,spec,mid,factor,current,shift);if(!sameZoomState(current,next)){pinch.moved=true;this.host.apply(next)}pinch.lastDistance=distance;pinch.lastMid=mid;return true}endPinch(){const pinch=this.pinch;if(!pinch)return;this.pinch=null;for(const id of pinch.ids)if(this.touches.has(id))this.staleTouches.add(id);if(!pinch.moved)return;this.suppressClick=true;const frame=this.host.frame();const state=this.host.state();if(frame&&!sameZoomState(pinch.startState,state))this.host.emit(zoomChangeDetail(frame,state,"pinch"))}hideSelection(){if(!this.selectionShown)return;this.selectionShown=false;this.host.selection(null)}consumeSuppressedClick(){if(!this.suppressClick)return false;this.suppressClick=false;return true}wantsKey(event){const spec=this.host.spec();if(!spec.enabled)return false;if(spec.keyboard){const action=zoomWindow.keyboardZoomAction(event);if(action)return action!=="reset"||this.host.state()!==null}if(spec.pan.enabled&&spec.pan.keyboard&&zoomWindow.keyboardPanAction(event,spec.mode))return this.host.state()!==null;return false}keyDown(event){const spec=this.host.spec();if(!spec.enabled)return false;this.flushWheel();if(spec.keyboard){const action=zoomWindow.keyboardZoomAction(event);if(action){if(action==="reset"){this.reset()}else{const frame=this.host.frame();if(frame)this.transition(zoomStateBy(frame,spec,action==="in"?zoomWindow.ZOOM_KEYBOARD_IN_FACTOR:zoomWindow.ZOOM_KEYBOARD_OUT_FACTOR,.5,this.host.state()),"keyboard")}return true}}if(spec.pan.enabled&&spec.pan.keyboard){const pan=zoomWindow.keyboardPanAction(event,spec.mode);if(pan){const frame=this.host.frame();if(frame&&this.host.state()!==null){this.transition(zoomStatePannedByPixels(frame,spec,keyboardPanDeltaPx(frame,pan.axis,pan.direction,spec.pan.stepFraction),this.host.state()),"pan")}return true}}return false}wheel(input){const spec=this.host.spec();if(!spec.enabled||!spec.wheel.enabled||this.isPending)return false;const frame=this.host.frame();if(!frame)return false;const point={x:input.x,y:input.y};if(!insidePlot(point,frame.plot))return false;const action=zoomWindow.wheelAction(input,spec.mode,spec.wheel.modifier,spec.wheel.pan);if(!action)return false;const current=this.host.state();let next;if(action.kind==="pan"){if(current===null)return false;const plotSize=action.axis==="x"?frame.plot.width:frame.plot.height;const deltaPx=zoomWindow.wheelDeltaToPixels(action.delta,input.deltaMode,plotSize);next=zoomStatePannedByPixels(frame,spec,action.axis==="x"?{x:-deltaPx}:{y:-deltaPx},current)}else{const units=zoomWindow.wheelDeltaToPixels(action.delta,input.deltaMode,zoomWindow.WHEEL_NOTCH_UNITS);next=zoomStateScaledAtPixel(frame,spec,point,zoomWindow.wheelZoomFactor(units,spec.wheel.factor),current)}if(!sameZoomState(current,next)){if(!this.wheelSession){this.wheelSession={startState:current};this.host.standDown()}this.host.apply(next)}if(this.wheelSession)this.scheduleWheelSettle(spec.wheel.settleMs);return true}flushWheel(){if(!this.wheelSession)return;this.settleWheel()}scheduleWheelSettle(delayMs){this.cancelWheelTimer?.();this.cancelWheelTimer=null;if(!(delayMs>0)){this.settleWheel();return}const schedule=this.host.schedule??defaultSchedule;this.cancelWheelTimer=schedule(()=>{this.cancelWheelTimer=null;this.settleWheel()},delayMs)}settleWheel(){this.cancelWheelTimer?.();this.cancelWheelTimer=null;const session=this.wheelSession;if(!session)return;this.wheelSession=null;const frame=this.host.frame();const state=this.host.state();if(frame&&!sameZoomState(session.startState,state))this.host.emit(zoomChangeDetail(frame,state,"wheel"))}cancelWheel(){this.cancelWheelTimer?.();this.cancelWheelTimer=null;this.wheelSession=null}dispose(){this.resetPointers();this.cancelWheel();this.liveSession=null;this.suppressClick=false}}exports.ZoomInteraction=ZoomInteraction;exports.resolveCartesianZoomSpec=resolveCartesianZoomSpec;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const ZOOM_KEYBOARD_IN_FACTOR=.5;const ZOOM_KEYBOARD_OUT_FACTOR=2;function clamp01(value){if(!Number.isFinite(value))return .5;return Math.min(1,Math.max(0,value))}function clampZoomWindow(window,full,minSpan=0){const fullMin=Math.min(full.min,full.max);const fullMax=Math.max(full.min,full.max);const fullSpan=fullMax-fullMin;if(!Number.isFinite(window.min)||!Number.isFinite(window.max))return{min:fullMin,max:fullMax};let lo=Math.min(window.min,window.max);let hi=Math.max(window.min,window.max);const floor=Math.max(0,Math.min(Number.isFinite(minSpan)?minSpan:0,fullSpan));let span=hi-lo;if(span<floor){const mid=(lo+hi)/2;lo=mid-floor/2;hi=mid+floor/2;span=floor}if(span>=fullSpan)return{min:fullMin,max:fullMax};if(lo<fullMin){lo=fullMin;hi=lo+span}if(hi>fullMax){hi=fullMax;lo=hi-span}return{min:lo,max:hi}}function isFullZoomWindow(window,full,epsilon=1e-9){if(!window)return true;const scale=Math.max(1,Math.abs(full.min),Math.abs(full.max));return window.min<=full.min+scale*epsilon&&window.max>=full.max-scale*epsilon}function zoomWindowBy(current,full,factor,anchorFraction=.5,minSpan=0){const window=clampZoomWindow(current,full,minSpan);const span=window.max-window.min;const fullSpan=Math.abs(full.max-full.min);const safeFactor=Number.isFinite(factor)&&factor>0?factor:1;const fraction=clamp01(anchorFraction);const anchor=window.min+span*fraction;const nextSpan=Math.min(fullSpan,Math.max(Math.max(0,minSpan),span*safeFactor));const min=anchor-nextSpan*fraction;return clampZoomWindow({min,max:min+nextSpan},full,minSpan)}function selectionRectFromDrag(start,current,plot,mode){const clampX=value=>Math.min(plot.x+plot.width,Math.max(plot.x,value));const clampY=value=>Math.min(plot.y+plot.height,Math.max(plot.y,value));const x0=clampX(start.x);const x1=clampX(current.x);const y0=clampY(start.y);const y1=clampY(current.y);return{x:mode==="y"?plot.x:Math.min(x0,x1),width:mode==="y"?plot.width:Math.abs(x1-x0),y:mode==="x"?plot.y:Math.min(y0,y1),height:mode==="x"?plot.height:Math.abs(y1-y0)}}function isMeaningfulSelection(rect,mode,minRangePx){const threshold=Number.isFinite(minRangePx)&&minRangePx>0?minRangePx:0;const wideEnough=rect.width>=threshold;const tallEnough=rect.height>=threshold;if(mode==="x")return wideEnough;if(mode==="y")return tallEnough;return wideEnough&&tallEnough}function windowsFromSelection(rect,mode,xScale,yScale){const out={};if(mode!=="y"){const a=xScale.invert(rect.x);const b=xScale.invert(rect.x+rect.width);if(Number.isFinite(a)&&Number.isFinite(b))out.x={min:Math.min(a,b),max:Math.max(a,b)}}if(mode!=="x"){const a=yScale.invert(rect.y);const b=yScale.invert(rect.y+rect.height);if(Number.isFinite(a)&&Number.isFinite(b))out.y={min:Math.min(a,b),max:Math.max(a,b)}}return out}function keyboardZoomAction(event){if(event.ctrlKey||event.metaKey||event.altKey)return null;switch(event.key){case"+":case"=":case"Add":return"in";case"-":case"_":case"Subtract":return"out";case"Escape":case"0":return"reset";default:return null}}function keyboardPanAction(event,mode){if(event.ctrlKey||event.metaKey||event.altKey)return null;switch(event.key){case"ArrowLeft":return mode==="y"?null:{axis:"x",direction:-1};case"ArrowRight":return mode==="y"?null:{axis:"x",direction:1};case"ArrowDown":return mode==="x"?null:{axis:"y",direction:-1};case"ArrowUp":return mode==="x"?null:{axis:"y",direction:1};default:return null}}function panWindowByPixels(scale,full,rangeStart,rangeEnd,deltaPx){if(!Number.isFinite(deltaPx)||deltaPx===0)return null;const fullMinPx=scale(full.min);const fullMaxPx=scale(full.max);if(!Number.isFinite(fullMinPx)||!Number.isFinite(fullMaxPx))return null;const lo=Math.min(rangeStart,rangeEnd);const hi=Math.max(rangeStart,rangeEnd);const fullLo=Math.min(fullMinPx,fullMaxPx);const fullHi=Math.max(fullMinPx,fullMaxPx);const minShift=hi-fullHi;const maxShift=lo-fullLo;const shift=Math.min(maxShift,Math.max(minShift,deltaPx));if(shift===0)return null;const a=scale.invert(rangeStart-shift);const b=scale.invert(rangeEnd-shift);if(!Number.isFinite(a)||!Number.isFinite(b))return null;return{min:Math.min(a,b),max:Math.max(a,b)}}function minZoomSpan(full,plotSizePx,minRangePx){const fullSpan=Math.abs(full.max-full.min);if(!(plotSizePx>0)||!(minRangePx>0))return 0;return Math.min(fullSpan,fullSpan*(minRangePx/plotSizePx))}const WHEEL_NOTCH_UNITS=120;const WHEEL_LINE_PX=40;function wheelDeltaToPixels(delta,deltaMode,pageSizePx){if(!Number.isFinite(delta))return 0;if(deltaMode===1)return delta*WHEEL_LINE_PX;if(deltaMode===2)return delta*(Number.isFinite(pageSizePx)&&pageSizePx>0?pageSizePx:WHEEL_NOTCH_UNITS);return delta}function wheelZoomFactor(deltaUnits,base=1.2){if(!Number.isFinite(deltaUnits)||deltaUnits===0)return 1;const safeBase=Number.isFinite(base)&&base>1?base:1.2;return Math.pow(safeBase,deltaUnits/WHEEL_NOTCH_UNITS)}function wheelAction(input,mode,modifier,pan){const dx=Number.isFinite(input.deltaX)?input.deltaX:0;const dy=Number.isFinite(input.deltaY)?input.deltaY:0;if(dx===0&&dy===0)return null;const horizontal=Math.abs(dx)>Math.abs(dy);if(modifier==="ctrl"&&(input.ctrlKey===true||input.metaKey===true))return{kind:"zoom",delta:dy!==0?dy:dx};if(input.shiftKey===true||horizontal){if(!pan)return null;if(mode==="y")return horizontal?null:{kind:"pan",axis:"y",delta:dy};return{kind:"pan",axis:"x",delta:horizontal?dx:dy}}if(modifier==="none")return{kind:"zoom",delta:dy};return null}function zoomWindowAboutPixel(scale,full,rangeStart,rangeEnd,anchorPx,factor,minSpan=0,contentShiftPx=0){const lo=Math.min(rangeStart,rangeEnd);const hi=Math.max(rangeStart,rangeEnd);if(!(hi>lo)||!Number.isFinite(anchorPx))return null;const a0=scale.invert(rangeStart);const b0=scale.invert(rangeEnd);if(!Number.isFinite(a0)||!Number.isFinite(b0))return null;const current={min:Math.min(a0,b0),max:Math.max(a0,b0)};let safeFactor=Number.isFinite(factor)&&factor>0?factor:1;const shift=Number.isFinite(contentShiftPx)?contentShiftPx:0;const floor=Number.isFinite(minSpan)?Math.max(0,minSpan):0;if(safeFactor<1&¤t.max-current.min<=floor*(1+1e-9))safeFactor=1;if(safeFactor===1&&shift===0)return current;const anchor=Math.min(hi,Math.max(lo,anchorPx));const a=scale.invert(anchor+(rangeStart-anchor)*safeFactor-shift);const b=scale.invert(anchor+(rangeEnd-anchor)*safeFactor-shift);if(!Number.isFinite(a)||!Number.isFinite(b))return null;return clampZoomWindow({min:Math.min(a,b),max:Math.max(a,b)},full,floor)}exports.WHEEL_NOTCH_UNITS=WHEEL_NOTCH_UNITS;exports.ZOOM_KEYBOARD_IN_FACTOR=ZOOM_KEYBOARD_IN_FACTOR;exports.ZOOM_KEYBOARD_OUT_FACTOR=ZOOM_KEYBOARD_OUT_FACTOR;exports.clampZoomWindow=clampZoomWindow;exports.isFullZoomWindow=isFullZoomWindow;exports.isMeaningfulSelection=isMeaningfulSelection;exports.keyboardPanAction=keyboardPanAction;exports.keyboardZoomAction=keyboardZoomAction;exports.minZoomSpan=minZoomSpan;exports.panWindowByPixels=panWindowByPixels;exports.selectionRectFromDrag=selectionRectFromDrag;exports.wheelAction=wheelAction;exports.wheelDeltaToPixels=wheelDeltaToPixels;exports.wheelZoomFactor=wheelZoomFactor;exports.windowsFromSelection=windowsFromSelection;exports.zoomWindowAboutPixel=zoomWindowAboutPixel;exports.zoomWindowBy=zoomWindowBy;
|