@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
|
+
function logBase(x,base){if(base===10)return Math.log10(x);if(base===2)return Math.log2(x);return Math.log(x)/Math.log(base)}function projectLog(value,d0,d1,r0,r1,base){const dSpan=d1-d0;if(dSpan===0)return(r0+r1)/2;const sign=d0>0?1:-1;const v=sign*value;const ad0=sign*d0;const ad1=sign*d1;const ld0=logBase(ad0,base);const ld1=logBase(ad1,base);const lSpan=ld1-ld0;if(lSpan===0)return(r0+r1)/2;const t=(logBase(v,base)-ld0)/lSpan;return r0+t*(r1-r0)}function cleanLogTick(value){if(!Number.isFinite(value))return value;const nearestInteger=Math.round(value);if(Math.abs(value-nearestInteger)<=Math.max(1,Math.abs(value))*1e-12){return Object.is(nearestInteger,-0)?0:nearestInteger}const rounded=Number(value.toPrecision(15));return Object.is(rounded,-0)?0:rounded}function naturalLogTicks(lo,hi,base){if(lo<=0||hi<=0)return[];if(!Number.isFinite(lo)||!Number.isFinite(hi))return[];if(lo===hi)return[cleanLogTick(lo)];const i0=Math.ceil(logBase(lo,base)-1e-12);const i1=Math.floor(logBase(hi,base)+1e-12);const out=[];for(let i=i0;i<=i1;i++){const p=Math.pow(base,i);if(p>=lo*(1-1e-12)&&p<=hi*(1+1e-12)){out.push(cleanLogTick(p))}}return out}function niceLogDomain(lo,hi,base){if(lo<=0||hi<=0)return[lo,hi];if(!Number.isFinite(lo)||!Number.isFinite(hi))return[lo,hi];if(lo===hi)return[lo,hi];const niceLo=Math.pow(base,Math.floor(logBase(lo,base)+1e-12));const niceHi=Math.pow(base,Math.ceil(logBase(hi,base)-1e-12));return[cleanLogTick(niceLo),cleanLogTick(niceHi)]}function minorTicksFor(lo,hi,base){if(base!==10)return[];if(lo<=0||hi<=0)return[];if(!Number.isFinite(lo)||!Number.isFinite(hi))return[];if(lo>=hi)return[];const startK=Math.floor(logBase(lo,base)-1e-12);const endK=Math.floor(logBase(hi,base)+1e-12);const out=[];let majorIndex=-1;for(let k=startK;k<=endK;k++){const decade=Math.pow(base,k);if(decade>=lo*(1-1e-12)&&decade<=hi*(1+1e-12)){majorIndex++}for(let m=2;m<10;m++){const v=m*decade;if(v>=lo*(1-1e-12)&&v<=hi*(1+1e-12)){out.push({value:cleanLogTick(v),majorIndex:Math.max(0,majorIndex)})}}}return out}function defaultLogFormat(value){if(!Number.isFinite(value))return String(value);if(value===0)return"0";const abs=Math.abs(value);if(abs>=1e4||abs<.001){let exp=Math.floor(Math.log10(abs));let mantissa=Number((abs/Math.pow(10,exp)).toPrecision(6));if(mantissa>=10){mantissa=1;exp++}const sign=value<0?"-":"";return sign+(mantissa===1?"1":String(mantissa))+"e"+String(exp)}if(Number.isInteger(value))return String(value);return String(value)}function finiteOr(value,fallback){return Number.isFinite(value)?value:fallback}function styleTickContainer(el,orientation,offset){el.style.position="absolute";if(orientation==="bottom"||orientation==="top"){el.style.left=offset+"px";el.style.transform="translateX(-50%)";el.style.display="flex";el.style.flexDirection=orientation==="bottom"?"column":"column-reverse";el.style.alignItems="center";if(orientation==="bottom"){el.style.top="0px"}else{el.style.bottom="0px"}}else{el.style.top=offset+"px";el.style.transform="translateY(-50%)";el.style.display="flex";el.style.flexDirection=orientation==="left"?"row-reverse":"row";el.style.alignItems="center";if(orientation==="left"){el.style.right="0px"}else{el.style.left="0px"}}}function styleTickMark(el,orientation,tickSize){if(orientation==="bottom"||orientation==="top"){el.style.width="var(--sy-axis-tick-thickness, 1px)";el.style.height=tickSize+"px";el.style.background="var(--sy-axis-tick-color, currentColor)"}else{el.style.width=tickSize+"px";el.style.height="var(--sy-axis-tick-thickness, 1px)";el.style.background="var(--sy-axis-tick-color, currentColor)"}}function styleTickLabel(el,orientation,tickPadding,rotation){el.style.color="var(--sy-axis-label-color, currentColor)";el.style.fontSize="var(--sy-axis-label-font-size, 11px)";el.style.fontWeight="var(--sy-axis-label-font-weight, 400)";el.style.fontFamily="var(--sy-axis-label-font-family, inherit)";el.style.whiteSpace="nowrap";if(orientation==="bottom"){el.style.marginTop=tickPadding+"px";el.style.textAlign="center";el.style.transformOrigin="top center"}else if(orientation==="top"){el.style.marginBottom=tickPadding+"px";el.style.textAlign="center";el.style.transformOrigin="bottom center"}else if(orientation==="left"){el.style.marginRight=tickPadding+"px";el.style.textAlign="right";el.style.transformOrigin="right center"}else{el.style.marginLeft=tickPadding+"px";el.style.textAlign="left";el.style.transformOrigin="left center"}if(rotation!==0){el.style.transform=`rotate(${rotation}deg)`}}function styleAxisLine(el,orientation,length,lineWidth){el.style.position="absolute";if(orientation==="bottom"){el.style.left="0px";el.style.right="0px";el.style.top="0px";el.style.height="0px";el.style.width=length+"px";el.style.borderBottom=`${lineWidth}px solid var(--sy-axis-line-color, currentColor)`}else if(orientation==="top"){el.style.left="0px";el.style.right="0px";el.style.bottom="0px";el.style.height="0px";el.style.width=length+"px";el.style.borderTop=`${lineWidth}px solid var(--sy-axis-line-color, currentColor)`}else if(orientation==="left"){el.style.top="0px";el.style.bottom="0px";el.style.right="0px";el.style.width="0px";el.style.height=length+"px";el.style.borderLeft=`${lineWidth}px solid var(--sy-axis-line-color, currentColor)`}else{el.style.top="0px";el.style.bottom="0px";el.style.left="0px";el.style.width="0px";el.style.height=length+"px";el.style.borderRight=`${lineWidth}px solid var(--sy-axis-line-color, currentColor)`}}function subsampleIndices(n,tickCount){if(n<=0)return[];if(tickCount>=n){const all=new Array(n);for(let i=0;i<n;i++)all[i]=i;return all}if(tickCount<=1)return[0];const out=new Array(tickCount);const denom=tickCount-1;const span=n-1;for(let i=0;i<tickCount;i++){out[i]=Math.round(i*span/denom)}return out}export function logAxis(opts){let current={orientation:opts.orientation,domain:[opts.domain[0],opts.domain[1]],range:[opts.range[0],opts.range[1]],base:opts.base,tickCount:opts.tickCount,tickValues:opts.tickValues?opts.tickValues.slice():void 0,minorTicks:opts.minorTicks,minorTickFormat:opts.minorTickFormat,tickFormat:opts.tickFormat,nice:opts.nice,tickSize:opts.tickSize,tickPadding:opts.tickPadding,lineWidth:opts.lineWidth,labelRotation:opts.labelRotation};function validateDomain(d0,d1){if(!Number.isFinite(d0)||!Number.isFinite(d1)){throw new Error("[Syidax] sy-axis: log-axis domain must be all-positive or all-negative and contain no zero")}if(d0===0||d1===0){throw new Error("[Syidax] sy-axis: log-axis domain must be all-positive or all-negative and contain no zero")}if(d0*d1<0){throw new Error("[Syidax] sy-axis: log-axis domain must be all-positive or all-negative and contain no zero")}}function resolved(warnedRef){let base=current.base===void 0?10:current.base;if(!Number.isFinite(base)||base<=1){if(!warnedRef.base){warnedRef.base=true;console.warn("[Syidax] sy-axis: log-axis base must be > 1 and finite; coerced to 10.")}base=10}return{orientation:current.orientation,domain:current.domain,range:current.range,base,tickCount:current.tickCount,tickValues:current.tickValues,minorTicks:current.minorTicks===void 0?true:!!current.minorTicks,minorTickFormat:current.minorTickFormat,tickFormat:current.tickFormat,nice:current.nice===void 0?true:!!current.nice,tickSize:current.tickSize??6,tickPadding:current.tickPadding??3,lineWidth:current.lineWidth??1,rotation:finiteOr(current.labelRotation??0,0)}}function buildTicks(r,warnedRef){const d0Raw=+r.domain[0];const d1Raw=+r.domain[1];validateDomain(d0Raw,d1Raw);const r0=+r.range[0];const r1=+r.range[1];const rangeStart=Math.min(r0,r1);if(d0Raw===d1Raw){const px=(r0+r1)/2;const value=d0Raw;const label=formatMajor(r,value,0,warnedRef);return{major:[{value,label,offset:px-rangeStart}],minor:[]}}const sign=d0Raw>0?1:-1;const reverseOriginal=d1Raw<d0Raw;let absLo=Math.min(sign*d0Raw,sign*d1Raw);let absHi=Math.max(sign*d0Raw,sign*d1Raw);if(r.nice){const niced=niceLogDomain(absLo,absHi,r.base);absLo=niced[0];absHi=niced[1]}const realLo=sign===1?absLo:-absHi;const realHi=sign===1?absHi:-absLo;const effectiveD0=reverseOriginal?realHi:realLo;const effectiveD1=reverseOriginal?realLo:realHi;let majorValuesAbs;let usedTickValues=false;if(r.tickValues!==void 0){usedTickValues=true;const dropped=[];const kept=[];for(const v of r.tickValues){if(!Number.isFinite(v)||v===0){dropped.push(v);continue}if(sign===1&&v<0||sign===-1&&v>0){dropped.push(v);continue}kept.push(v)}if(dropped.length>0&&!warnedRef.tickValuesInvalid){warnedRef.tickValuesInvalid=true;console.warn(`[Syidax] sy-axis: log-axis tickValues dropped ${dropped.length} invalid entr${dropped.length===1?"y":"ies"} (0 or sign mismatch).`)}majorValuesAbs=kept.map(v=>sign*v)}else{majorValuesAbs=naturalLogTicks(absLo,absHi,r.base);const tc=r.tickCount;if(tc!==void 0&&Number.isFinite(tc)&&tc>0){const want=Math.max(1,Math.floor(+tc));if(want<majorValuesAbs.length){const idx=subsampleIndices(majorValuesAbs.length,want);majorValuesAbs=idx.map(i=>majorValuesAbs[i])}}}const majorReal=majorValuesAbs.map(v=>sign*v);const major=new Array(majorReal.length);for(let i=0;i<majorReal.length;i++){const v=majorReal[i];const px=projectLog(v,effectiveD0,effectiveD1,r0,r1,r.base);major[i]={value:v,label:formatMajor(r,v,i,warnedRef),offset:px-rangeStart}}let minor=[];if(r.minorTicks&&!usedTickValues&&r.base===10){const rawMinors=minorTicksFor(absLo,absHi,r.base);minor=new Array(rawMinors.length);for(let k=0;k<rawMinors.length;k++){const absV=rawMinors[k].value;const realV=sign*absV;const px=projectLog(realV,effectiveD0,effectiveD1,r0,r1,r.base);let label="";if(r.minorTickFormat){try{label=r.minorTickFormat(realV,rawMinors[k].majorIndex)}catch{label=""}}minor[k]={value:realV,label,offset:px-rangeStart}}}return{major,minor}}function formatMajor(r,value,index,warnedRef){if(r.tickFormat){try{return r.tickFormat(value,index)}catch(err){if(!warnedRef.tickFormat){warnedRef.tickFormat=true;console.warn("[Syidax] sy-axis: tickFormat (log) threw, falling back to default formatter.",err)}return defaultLogFormat(value)}}return defaultLogFormat(value)}let root=null;let lineEl=null;let majorEls=[];let minorEls=[];const size={width:0,height:0};function computeSize(orientation,length,tickSize,tickPadding){const labelAllowance=16;if(orientation==="bottom"||orientation==="top"){return{width:length,height:tickSize+tickPadding+labelAllowance}}const labelWidthAllowance=32;return{width:tickSize+tickPadding+labelWidthAllowance,height:length}}function syncSize(){const r=resolved({base:true});const length=Math.abs(+r.range[1]-+r.range[0]);const next=computeSize(r.orientation,length,r.tickSize,r.tickPadding);size.width=next.width;size.height=next.height}function styleRoot(el,length,orientation,tickSize,tickPadding){const next=computeSize(orientation,length,tickSize,tickPadding);size.width=next.width;size.height=next.height;el.style.position="relative";el.style.width=size.width+"px";el.style.height=size.height+"px";el.style.color="var(--sy-axis-color, currentColor)"}function buildTickEl(doc,tick,r,length,isMinor){const tickEl=doc.createElement("div");tickEl.classList.add("sy-axis__tick");if(isMinor)tickEl.classList.add("sy-axis__tick--minor");styleTickContainer(tickEl,r.orientation,tick.offset);if(tick.offset<0||tick.offset>length){tickEl.setAttribute("data-out-of-range","true")}const markEl=doc.createElement("div");markEl.classList.add("sy-axis__tick-mark");const markSize=isMinor?Math.max(1,Math.round(r.tickSize/2)):r.tickSize;styleTickMark(markEl,r.orientation,markSize);tickEl.appendChild(markEl);const labelEl=doc.createElement("div");labelEl.classList.add("sy-axis__tick-label");styleTickLabel(labelEl,r.orientation,r.tickPadding,r.rotation);labelEl.textContent=tick.label??"";tickEl.appendChild(labelEl);return tickEl}function render(){if(!root)return;const doc=root.ownerDocument;if(!doc)return;const warnedRef={base:false,tickFormat:false,tickValuesInvalid:false};const r=resolved(warnedRef);const length=Math.abs(+r.range[1]-+r.range[0]);styleRoot(root,length,r.orientation,r.tickSize,r.tickPadding);if(!lineEl){lineEl=doc.createElement("div");lineEl.classList.add("sy-axis__line");root.appendChild(lineEl)}styleAxisLine(lineEl,r.orientation,length,r.lineWidth);const zeroWidth=length===0;let major=[];let minor=[];if(!zeroWidth){const built=buildTicks(r,warnedRef);major=built.major;minor=built.minor}for(const old of minorEls){if(old.parentNode===root)root.removeChild(old)}minorEls=[];for(const old of majorEls){if(old.parentNode===root)root.removeChild(old)}majorEls=[];for(let i=0;i<minor.length;i++){const el=buildTickEl(doc,minor[i],r,length,true);root.appendChild(el);minorEls.push(el)}for(let i=0;i<major.length;i++){const el=buildTickEl(doc,major[i],r,length,false);root.appendChild(el);majorEls.push(el)}}function mount(parent){if(root)return root;const doc=parent.ownerDocument;if(!doc){throw new Error("[Syidax] sy-axis: parent has no ownerDocument")}const el=doc.createElement("div");el.classList.add("sy-axis");el.classList.add("sy-axis--"+current.orientation);root=el;parent.appendChild(el);render();return el}function update(next){const orientationChanged=next.orientation!==void 0&&next.orientation!==current.orientation;if(next.orientation!==void 0)current.orientation=next.orientation;if(next.domain!==void 0){current.domain=[next.domain[0],next.domain[1]]}if(next.range!==void 0){current.range=[next.range[0],next.range[1]]}if(next.base!==void 0)current.base=next.base;if(next.tickCount!==void 0)current.tickCount=next.tickCount;if(next.tickValues!==void 0){current.tickValues=next.tickValues?next.tickValues.slice():void 0}if(next.minorTicks!==void 0)current.minorTicks=next.minorTicks;if(next.minorTickFormat!==void 0)current.minorTickFormat=next.minorTickFormat;if(next.tickFormat!==void 0)current.tickFormat=next.tickFormat;if(next.nice!==void 0)current.nice=next.nice;if(next.tickSize!==void 0)current.tickSize=next.tickSize;if(next.tickPadding!==void 0)current.tickPadding=next.tickPadding;if(next.lineWidth!==void 0)current.lineWidth=next.lineWidth;if(next.labelRotation!==void 0)current.labelRotation=next.labelRotation;if(root&&orientationChanged){const all=["top","right","bottom","left"];for(const o of all){try{root.classList.remove("sy-axis--"+o)}catch{}}root.classList.add("sy-axis--"+current.orientation)}syncSize();render()}function destroy(){if(!root)return;const parent=root.parentNode;if(parent)parent.removeChild(root);root=null;lineEl=null;majorEls=[];minorEls=[]}syncSize();return{size,mount,update,destroy}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const MONTHS_SHORT=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const MS_SECOND=1e3;const MS_MINUTE=60*MS_SECOND;const MS_HOUR=60*MS_MINUTE;const MS_DAY=24*MS_HOUR;const MS_WEEK=7*MS_DAY;const MS_MONTH=30*MS_DAY;const MS_QUARTER=3*MS_MONTH;const MS_YEAR=365*MS_DAY;function toMs(v){return typeof v==="number"?v:+v}function getFullYear(d,utc){return utc?d.getUTCFullYear():d.getFullYear()}function getMonth(d,utc){return utc?d.getUTCMonth():d.getMonth()}function getDate(d,utc){return utc?d.getUTCDate():d.getDate()}function getHours(d,utc){return utc?d.getUTCHours():d.getHours()}function getMinutes(d,utc){return utc?d.getUTCMinutes():d.getMinutes()}function getSeconds(d,utc){return utc?d.getUTCSeconds():d.getSeconds()}function getMilliseconds(d,utc){return utc?d.getUTCMilliseconds():d.getMilliseconds()}function floorTo(unit,ms,utc){const d=new Date(ms);if(utc){switch(unit){case"year":d.setUTCMonth(0,1);d.setUTCHours(0,0,0,0);return+d;case"month":d.setUTCDate(1);d.setUTCHours(0,0,0,0);return+d;case"week":{const day=d.getUTCDay();d.setUTCDate(d.getUTCDate()-day);d.setUTCHours(0,0,0,0);return+d}case"day":d.setUTCHours(0,0,0,0);return+d;case"hour":d.setUTCMinutes(0,0,0);return+d;case"minute":d.setUTCSeconds(0,0);return+d;case"second":d.setUTCMilliseconds(0);return+d;case"millisecond":default:return+d}}switch(unit){case"year":d.setMonth(0,1);d.setHours(0,0,0,0);return+d;case"month":d.setDate(1);d.setHours(0,0,0,0);return+d;case"week":{const day=d.getDay();d.setDate(d.getDate()-day);d.setHours(0,0,0,0);return+d}case"day":d.setHours(0,0,0,0);return+d;case"hour":d.setMinutes(0,0,0);return+d;case"minute":d.setSeconds(0,0);return+d;case"second":d.setMilliseconds(0);return+d;case"millisecond":default:return+d}}function ceilTo(unit,ms,utc){const floored=floorTo(unit,ms,utc);if(floored===ms)return floored;return addUnit(unit,floored,1,utc)}function addUnit(unit,ms,n,utc){const d=new Date(ms);if(utc){switch(unit){case"year":d.setUTCFullYear(d.getUTCFullYear()+n);return+d;case"month":d.setUTCMonth(d.getUTCMonth()+n);return+d;case"week":d.setUTCDate(d.getUTCDate()+n*7);return+d;case"day":d.setUTCDate(d.getUTCDate()+n);return+d;case"hour":d.setUTCHours(d.getUTCHours()+n);return+d;case"minute":d.setUTCMinutes(d.getUTCMinutes()+n);return+d;case"second":d.setUTCSeconds(d.getUTCSeconds()+n);return+d;case"millisecond":default:return ms+n}}switch(unit){case"year":d.setFullYear(d.getFullYear()+n);return+d;case"month":d.setMonth(d.getMonth()+n);return+d;case"week":d.setDate(d.getDate()+n*7);return+d;case"day":d.setDate(d.getDate()+n);return+d;case"hour":d.setHours(d.getHours()+n);return+d;case"minute":d.setMinutes(d.getMinutes()+n);return+d;case"second":d.setSeconds(d.getSeconds()+n);return+d;case"millisecond":default:return ms+n}}function tickStep(start,stop,n){if(n<=0||!Number.isFinite(start)||!Number.isFinite(stop))return 0;const span=Math.abs(stop-start);if(span===0||!Number.isFinite(span))return 0;const step0=span/n;const power=Math.floor(Math.log10(step0));const base10=Math.pow(10,power);const error=step0/base10;let factor;if(error>=Math.sqrt(50))factor=10;else if(error>=Math.sqrt(10))factor=5;else if(error>=Math.sqrt(2))factor=2;else factor=1;return factor*base10}const CANDIDATES=[{unit:"second",step:1,stepDurationMs:1*MS_SECOND},{unit:"second",step:5,stepDurationMs:5*MS_SECOND},{unit:"second",step:15,stepDurationMs:15*MS_SECOND},{unit:"second",step:30,stepDurationMs:30*MS_SECOND},{unit:"minute",step:1,stepDurationMs:1*MS_MINUTE},{unit:"minute",step:5,stepDurationMs:5*MS_MINUTE},{unit:"minute",step:15,stepDurationMs:15*MS_MINUTE},{unit:"minute",step:30,stepDurationMs:30*MS_MINUTE},{unit:"hour",step:1,stepDurationMs:1*MS_HOUR},{unit:"hour",step:3,stepDurationMs:3*MS_HOUR},{unit:"hour",step:6,stepDurationMs:6*MS_HOUR},{unit:"hour",step:12,stepDurationMs:12*MS_HOUR},{unit:"day",step:1,stepDurationMs:1*MS_DAY},{unit:"day",step:2,stepDurationMs:2*MS_DAY},{unit:"week",step:1,stepDurationMs:1*MS_WEEK},{unit:"month",step:1,stepDurationMs:1*MS_MONTH},{unit:"month",step:3,stepDurationMs:1*MS_QUARTER},{unit:"year",step:1,stepDurationMs:1*MS_YEAR}];function normalizeStep(step){const normalized=Math.floor(step);return Number.isFinite(normalized)&&normalized>0?normalized:1}function pickInterval(start,stop,count,utc){const span=stop-start;if(!Number.isFinite(span)||span<=0){return{unit:"millisecond",step:1}}const safeCount=count>0&&Number.isFinite(count)?count:1;const target=span/safeCount;if(target<MS_SECOND){const step=tickStep(0,span,safeCount);return{unit:"millisecond",step:normalizeStep(step)}}if(target>MS_YEAR){const yearStart=getFullYear(new Date(start),utc);const yearStop=getFullYear(new Date(stop),utc);const yearStep=normalizeStep(tickStep(yearStart,yearStop,safeCount));return{unit:"year",step:yearStep}}let best=CANDIDATES[0];let bestErr=Math.abs(Math.log(best.stepDurationMs/target));for(let i=1;i<CANDIDATES.length;i++){const c=CANDIDATES[i];const err=Math.abs(Math.log(c.stepDurationMs/target));if(err<bestErr){best=c;bestErr=err}}return{unit:best.unit,step:best.step}}function niceDomainTime(lo,hi,unit,utc){return[floorTo(unit,lo,utc),ceilTo(unit,hi,utc)]}function tickValuesTime(lo,hi,unit,step,utc){if(!Number.isFinite(lo)||!Number.isFinite(hi))return[];if(lo>hi)return[];const out=[];let cur=floorTo(unit,lo,utc);while(cur<lo)cur=addUnit(unit,cur,step,utc);let iter=0;while(cur<=hi){out.push(cur);cur=addUnit(unit,cur,step,utc);if(++iter>1e6)break}return out}function pad2(n){return n<10?"0"+n:String(n)}function pad3(n){if(n<10)return"00"+n;if(n<100)return"0"+n;return String(n)}function formatTickMulti(date,_unit,utc){const month=getMonth(date,utc);const day=getDate(date,utc);const hour=getHours(date,utc);const minute=getMinutes(date,utc);const second=getSeconds(date,utc);const milli=getMilliseconds(date,utc);if(milli!==0){return"."+pad3(milli)}if(second!==0){return":"+pad2(second)}if(minute!==0){return pad2(hour)+":"+pad2(minute)}if(hour!==0){return pad2(hour)+":"+pad2(minute)}if(day!==1){return MONTHS_SHORT[month]+" "+day}if(month!==0){return MONTHS_SHORT[month]}return String(getFullYear(date,utc))}function finiteOr(value,fallback){return Number.isFinite(value)?value:fallback}function identityFormatter(value){return String(value)}function styleTickContainer(el,orientation,offset){el.style.position="absolute";if(orientation==="bottom"||orientation==="top"){el.style.left=offset+"px";el.style.transform="translateX(-50%)";el.style.display="flex";el.style.flexDirection=orientation==="bottom"?"column":"column-reverse";el.style.alignItems="center";if(orientation==="bottom"){el.style.top="0px"}else{el.style.bottom="0px"}}else{el.style.top=offset+"px";el.style.transform="translateY(-50%)";el.style.display="flex";el.style.flexDirection=orientation==="left"?"row-reverse":"row";el.style.alignItems="center";if(orientation==="left"){el.style.right="0px"}else{el.style.left="0px"}}}function styleTickMark(el,orientation,tickSize){if(orientation==="bottom"||orientation==="top"){el.style.width="var(--sy-axis-tick-thickness, 1px)";el.style.height=tickSize+"px";el.style.background="var(--sy-axis-tick-color, currentColor)"}else{el.style.width=tickSize+"px";el.style.height="var(--sy-axis-tick-thickness, 1px)";el.style.background="var(--sy-axis-tick-color, currentColor)"}}function styleTickLabel(el,orientation,tickPadding,rotation){el.style.color="var(--sy-axis-label-color, currentColor)";el.style.fontSize="var(--sy-axis-label-font-size, 11px)";el.style.fontWeight="var(--sy-axis-label-font-weight, 400)";el.style.fontFamily="var(--sy-axis-label-font-family, inherit)";el.style.whiteSpace="nowrap";if(orientation==="bottom"){el.style.marginTop=tickPadding+"px";el.style.textAlign="center";el.style.transformOrigin="top center"}else if(orientation==="top"){el.style.marginBottom=tickPadding+"px";el.style.textAlign="center";el.style.transformOrigin="bottom center"}else if(orientation==="left"){el.style.marginRight=tickPadding+"px";el.style.textAlign="right";el.style.transformOrigin="right center"}else{el.style.marginLeft=tickPadding+"px";el.style.textAlign="left";el.style.transformOrigin="left center"}if(rotation!==0){el.style.transform=`rotate(${rotation}deg)`}}function styleAxisLine(el,orientation,length,lineWidth){el.style.position="absolute";if(orientation==="bottom"){el.style.left="0px";el.style.right="0px";el.style.top="0px";el.style.height="0px";el.style.width=length+"px";el.style.borderBottom=`${lineWidth}px solid var(--sy-axis-line-color, currentColor)`}else if(orientation==="top"){el.style.left="0px";el.style.right="0px";el.style.bottom="0px";el.style.height="0px";el.style.width=length+"px";el.style.borderTop=`${lineWidth}px solid var(--sy-axis-line-color, currentColor)`}else if(orientation==="left"){el.style.top="0px";el.style.bottom="0px";el.style.right="0px";el.style.width="0px";el.style.height=length+"px";el.style.borderLeft=`${lineWidth}px solid var(--sy-axis-line-color, currentColor)`}else{el.style.top="0px";el.style.bottom="0px";el.style.left="0px";el.style.width="0px";el.style.height=length+"px";el.style.borderRight=`${lineWidth}px solid var(--sy-axis-line-color, currentColor)`}}function project(value,d0,d1,r0,r1){const dSpan=d1-d0;if(dSpan===0)return(r0+r1)/2;const t=(value-d0)/dSpan;return r0+t*(r1-r0)}function computeTicks(domainMs,tickCount,tickValues,nice,utc){if(tickValues&&tickValues.length>0){const arr=tickValues.map(toMs);let unit="millisecond";let step=1;if(arr.length>=2){const sorted=arr.slice().sort((a,b)=>a-b);const gaps=[];for(let i=1;i<sorted.length;i++)gaps.push(Math.abs(sorted[i]-sorted[i-1]));gaps.sort((a,b)=>a-b);const medianGap=gaps[Math.floor(gaps.length/2)]??0;if(medianGap>0){const picked2=pickInterval(0,medianGap*2,2,utc);unit=picked2.unit;step=picked2.step}}return{values:arr,unit,step,effectiveDomain:domainMs}}if(domainMs[0]===domainMs[1]){return{values:[domainMs[0]],unit:"day",step:1,effectiveDomain:domainMs}}const reverse=domainMs[1]<domainMs[0];let lo=reverse?domainMs[1]:domainMs[0];let hi=reverse?domainMs[0]:domainMs[1];const picked=pickInterval(lo,hi,tickCount,utc);if(nice){const niced=niceDomainTime(lo,hi,picked.unit,utc);lo=niced[0];hi=niced[1]}const values=tickValuesTime(lo,hi,picked.unit,picked.step,utc);if(reverse)values.reverse();const effectiveDomain=reverse?[hi,lo]:[lo,hi];return{values,unit:picked.unit,step:picked.step,effectiveDomain}}export function timeAxis(opts){let current={orientation:opts.orientation,domain:[opts.domain[0],opts.domain[1]],range:[opts.range[0],opts.range[1]],tickCount:opts.tickCount,tickValues:opts.tickValues?opts.tickValues.slice():void 0,tickFormat:opts.tickFormat,nice:opts.nice,utc:opts.utc,tickSize:opts.tickSize,tickPadding:opts.tickPadding,lineWidth:opts.lineWidth,labelRotation:opts.labelRotation,formatter:opts.formatter};function resolved(){let tc=current.tickCount===void 0?10:current.tickCount;if(!Number.isFinite(tc)||tc<=0)tc=1;tc=Math.max(1,Math.floor(tc));return{orientation:current.orientation,domainMs:[toMs(current.domain[0]),toMs(current.domain[1])],range:current.range,tickCount:tc,tickValues:current.tickValues,tickFormat:current.tickFormat,nice:current.nice===void 0?true:!!current.nice,utc:!!current.utc,tickSize:current.tickSize??6,tickPadding:current.tickPadding??3,lineWidth:current.lineWidth??1,rotation:finiteOr(current.labelRotation??0,0),formatter:current.formatter??identityFormatter}}function buildTicks(r,warnedRef){const computed=computeTicks(r.domainMs,r.tickCount,r.tickValues,r.nice,r.utc);const d0=computed.effectiveDomain[0];const d1=computed.effectiveDomain[1];const r0=+r.range[0];const r1=+r.range[1];const rangeStart=Math.min(r0,r1);const labelFor=(ms,index)=>{const date=new Date(ms);if(r.tickFormat){try{return r.tickFormat(date,index)}catch(err){if(!warnedRef.warned){warnedRef.warned=true;console.warn("[Syidax] sy-axis: tickFormat (time) threw, falling back to String(value).",err)}return String(ms)}}try{return formatTickMulti(date,computed.unit,r.utc)}catch{return r.formatter(ms,index)}};const out=new Array(computed.values.length);for(let i=0;i<computed.values.length;i++){const v=computed.values[i];const px=project(v,d0,d1,r0,r1);const offset=px-rangeStart;out[i]={value:v,label:labelFor(v,i),offset}}return out}let root=null;let lineEl=null;let tickEls=[];const size={width:0,height:0};function computeSize(orientation,length,tickSize,tickPadding){const labelAllowance=16;if(orientation==="bottom"||orientation==="top"){return{width:length,height:tickSize+tickPadding+labelAllowance}}const labelWidthAllowance=32;return{width:tickSize+tickPadding+labelWidthAllowance,height:length}}function syncSize(){const r=resolved();const length=Math.abs(+r.range[1]-+r.range[0]);const next=computeSize(r.orientation,length,r.tickSize,r.tickPadding);size.width=next.width;size.height=next.height}function styleRoot(el){syncSize();el.style.position="relative";el.style.width=size.width+"px";el.style.height=size.height+"px";el.style.color="var(--sy-axis-color, currentColor)"}function buildTickEl(doc,tick,r,length){const tickEl=doc.createElement("div");tickEl.classList.add("sy-axis__tick");styleTickContainer(tickEl,r.orientation,tick.offset);if(tick.offset<0||tick.offset>length){tickEl.setAttribute("data-out-of-range","true")}const markEl=doc.createElement("div");markEl.classList.add("sy-axis__tick-mark");styleTickMark(markEl,r.orientation,r.tickSize);tickEl.appendChild(markEl);const labelEl=doc.createElement("div");labelEl.classList.add("sy-axis__tick-label");styleTickLabel(labelEl,r.orientation,r.tickPadding,r.rotation);labelEl.textContent=tick.label??String(tick.value);tickEl.appendChild(labelEl);return tickEl}function render(){if(!root)return;const doc=root.ownerDocument;if(!doc)return;const r=resolved();const length=Math.abs(+r.range[1]-+r.range[0]);styleRoot(root);if(!lineEl){lineEl=doc.createElement("div");lineEl.classList.add("sy-axis__line");root.appendChild(lineEl)}styleAxisLine(lineEl,r.orientation,length,r.lineWidth);const zeroWidth=length===0;const warnedRef={warned:false};const ticks=zeroWidth?[]:buildTicks(r,warnedRef);for(const old of tickEls){if(old.parentNode===root)root.removeChild(old)}tickEls=[];for(let i=0;i<ticks.length;i++){const tickEl=buildTickEl(doc,ticks[i],r,length);root.appendChild(tickEl);tickEls.push(tickEl)}}function mount(parent){if(root)return root;const doc=parent.ownerDocument;if(!doc){throw new Error("[Syidax] sy-axis: parent has no ownerDocument")}const el=doc.createElement("div");el.classList.add("sy-axis");el.classList.add("sy-axis--"+current.orientation);root=el;parent.appendChild(el);render();return el}function update(next){const orientationChanged=next.orientation!==void 0&&next.orientation!==current.orientation;if(next.orientation!==void 0)current.orientation=next.orientation;if(next.domain!==void 0){current.domain=[next.domain[0],next.domain[1]]}if(next.range!==void 0){current.range=[next.range[0],next.range[1]]}if(next.tickCount!==void 0)current.tickCount=next.tickCount;if(next.tickValues!==void 0){current.tickValues=next.tickValues?next.tickValues.slice():void 0}if(next.tickFormat!==void 0)current.tickFormat=next.tickFormat;if(next.nice!==void 0)current.nice=next.nice;if(next.utc!==void 0)current.utc=next.utc;if(next.tickSize!==void 0)current.tickSize=next.tickSize;if(next.tickPadding!==void 0)current.tickPadding=next.tickPadding;if(next.lineWidth!==void 0)current.lineWidth=next.lineWidth;if(next.labelRotation!==void 0)current.labelRotation=next.labelRotation;if(next.formatter!==void 0)current.formatter=next.formatter;if(root&&orientationChanged){const all=["top","right","bottom","left"];for(const o of all){try{root.classList.remove("sy-axis--"+o)}catch{}}root.classList.add("sy-axis--"+current.orientation)}syncSize();render()}function destroy(){if(!root)return;const parent=root.parentNode;if(parent)parent.removeChild(root);root=null;lineEl=null;tickEls=[]}syncSize();return{size,mount,update,destroy}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{BRAND_MARK_INSET_X,BRAND_MARK_INSET_Y,chooseBrandCorner}from"../../../../_shared/brand/brand-mark-default.js";export const CHART_BRAND_CLASS="sy-chart-brand";export const CHART_BRAND_MARK_CLASS="sy-chart-brand__mark";export const CHART_BRAND_COMPACT_SCALE=.75;export const CHART_BRAND_CONTAINER_RATIO=.5;export const CHART_BRAND_MAX_OBSTACLES=256;export const CHART_BRAND_OBSTACLE_SELECTOR='button,[role="button"],a[href],[role="link"],input,select,textarea,[tabindex]:not([tabindex="-1"]),[class*="__legend"],sy-visual-map';export const CHART_BRAND_TRANSIENT_SELECTOR='[role="menu"],[role="dialog"],[role="tooltip"],[role="listbox"]';const finite=n=>Number.isFinite(n);const positive=n=>Number.isFinite(n)&&n>0;const sized=r=>!!r&&positive(r.width)&&positive(r.height);function intersects(a,b){return Math.min(a.x+a.width,b.x+b.width)>Math.max(a.x,b.x)&&Math.min(a.y+a.height,b.y+b.height)>Math.max(a.y,b.y)}export function relevantChartBrandObstacles(box,obstacles){const frame={x:0,y:0,width:box.width,height:box.height};return(obstacles??[]).filter(o=>sized(o)&&finite(o.x)&&finite(o.y)&&o.width*o.height<box.width*box.height*CHART_BRAND_CONTAINER_RATIO&&intersects(o,frame)).map(({x,y,width,height})=>({x,y,width,height}))}export function placeChartBrand(box,mark,obstacles=[],options={}){if(!sized(box)||!sized(mark))return null;const frame={width:box.width,height:box.height};const relevant=options.fixed?[]:relevantChartBrandObstacles(frame,obstacles);const room=s=>Math.min((frame.width-2*BRAND_MARK_INSET_X)/s.width,(frame.height-2*BRAND_MARK_INSET_Y)/s.height);const fitted=(s,compact)=>{const scale=room(s)>=1?1:Math.max(.25,Math.min(1,room(s)));const{corner,rect}=chooseBrandCorner(frame,{width:s.width*scale,height:s.height*scale},relevant,options.preferred??"br");return{corner,...rect,compact:compact||scale<1,covered:relevant.some(o=>intersects(rect,o))}};let p=fitted(mark,false);if(options.allowCompact!==false&&(p.covered||room(mark)<1)){p=fitted({width:mark.width*CHART_BRAND_COMPACT_SCALE,height:mark.height*CHART_BRAND_COMPACT_SCALE},true)}return{corner:p.corner,x:p.x,y:p.y,width:p.width,height:p.height,compact:p.compact}}export function measureChartBrandObstacles(host,box){const out=[];try{const origin=host.getBoundingClientRect();if(!sized(origin))return out;const sx=positive(box?.width)?box.width/origin.width:1;const sy=positive(box?.height)?box.height/origin.height:1;const found=host.querySelectorAll(CHART_BRAND_OBSTACLE_SELECTOR);for(let i=0;i<found.length&&out.length<CHART_BRAND_MAX_OBSTACLES;i++){const item=found[i];if(item.closest?.(`.${CHART_BRAND_CLASS}`)||item.closest?.(CHART_BRAND_TRANSIENT_SELECTOR))continue;const r=item.getBoundingClientRect();if(sized(r)&&finite(r.left)&&finite(r.top))out.push({x:(r.left-origin.left)*sx,y:(r.top-origin.top)*sy,width:r.width*sx,height:r.height*sy})}}catch{}return out}export function chartBrandObstacleKey(obstacles){return obstacles.map(o=>[o.x,o.y,o.width,o.height].map(n=>Math.round(n*2)/2).join()).join(";")}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{BRAND_LOCKUP_WIDTH,BRAND_LOCKUP_HEIGHT}from"../../../../_shared/brand/brand-lockup-default.js";export const CHART_BRAND_HEIGHT=BRAND_LOCKUP_HEIGHT;export const CHART_BRAND_WIDTH=BRAND_LOCKUP_WIDTH;export const CHART_BRAND_OPACITY=1;export const CHART_BRAND_LAYER=2147483646;const corners={"top-left":"tl","top-right":"tr","bottom-left":"bl","bottom-right":"br"};export function chartBrandCorner(host){const element=host;const position=element?.brandPosition??element?.getAttribute?.("brand-position");return typeof position==="string"&&Object.hasOwn(corners,position)?corners[position]:"br"}export function chartBrandPlacement(box,size,corner,host){if(![box.width,box.height,size.width,size.height].every(value=>Number.isFinite(value)&&value>0))return null;const element=host;const attribute="data-sy-chart-plot";let plot=box.plot;const valid=rect=>!!rect&&[rect.x,rect.y,rect.width,rect.height].every(Number.isFinite)&&rect.width>0&&rect.height>0;if(valid(plot)){const value=JSON.stringify([plot.x/box.width,plot.y/box.height,plot.width/box.width,plot.height/box.height]);if(element?.getAttribute?.(attribute)!==value)element?.setAttribute?.(attribute,value)}else if(element){try{const source=element.hasAttribute?.(attribute)?element:element.querySelector?.(`[${attribute}]`);const fractions=JSON.parse(source?.getAttribute(attribute)??"null");if(Array.isArray(fractions)&&fractions.length===4&&fractions.every(Number.isFinite)){let x=0,y=0,width2=box.width,height2=box.height;if(source!==element){const outer=element.getBoundingClientRect(),inner=source.getBoundingClientRect();if(outer.width>0&&outer.height>0&&inner.width>0&&inner.height>0){const layoutWidth=element.offsetWidth||outer.width,layoutHeight=element.offsetHeight||outer.height;const declared=element;const drawingWidth=Number(declared.width)>0?Number(declared.width):layoutWidth;const drawingHeight=Number(declared.height)>0?Number(declared.height):layoutHeight;const scaleX=box.width/drawingWidth*layoutWidth/outer.width,scaleY=box.height/drawingHeight*layoutHeight/outer.height;x=(inner.left-outer.left)*scaleX;y=(inner.top-outer.top)*scaleY;width2=inner.width*scaleX;height2=inner.height*scaleY}}plot={x:x+fractions[0]*width2,y:y+fractions[1]*height2,width:fractions[2]*width2,height:fractions[3]*height2}}}catch{}}const viewport=valid(plot)?plot:{x:0,y:0,width:box.width,height:box.height};const left=Math.max(0,viewport.x),top=Math.max(0,viewport.y);const right=Math.min(box.width,viewport.x+viewport.width),bottom=Math.min(box.height,viewport.y+viewport.height);if(right<=left||bottom<=top)return null;const scale=Math.min(1,(right-left)/size.width,(bottom-top)/size.height);const width=size.width*scale;const height=size.height*scale;return{corner,x:corner==="tr"||corner==="br"?right-width:left,y:corner==="bl"||corner==="br"?bottom-height:top,width,height,compact:scale<1}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{DEFAULT_BRAND_EXPORT_VIEW,addBrandViewToSvg,brandExportViewRect}from"../../../../_shared/brand/brand-export-default.js";import{BRAND_ERROR_ATTR}from"../../../../_shared/brand/brand-mark-default.js";import{CHART_BRAND_CLASS}from"./brand-placement.js";import{CHART_BRAND_HEIGHT,CHART_BRAND_WIDTH,CHART_BRAND_OPACITY,chartBrandCorner,chartBrandPlacement}from"./chart-brand-config.js";import{CHART_BRAND_PENDING_TIMEOUT_MS,isDefaultBrandLogo}from"./chart-brand-host.js";import{loadChartBrandLicense}from"./chart-brand-lazy.js";import{readChartBrandPalette}from"./chart-brand-theme.js";const SVG_NS="http://www.w3.org/2000/svg";const XLINK_NS="http://www.w3.org/1999/xlink";const positive=n=>typeof n==="number"&&Number.isFinite(n)&&n>0;export function chartBrandElementOf(host){const children=host?.children;if(!children)return null;for(let i=children.length-1;i>=0;i--){const child=children[i];const list=child.classList;if(typeof list?.contains==="function"&&list.contains(CHART_BRAND_CLASS))return child}return null}async function exportView(host,value,timeoutMs){if(isDefaultBrandLogo(value))return DEFAULT_BRAND_EXPORT_VIEW;const licensed=await loadChartBrandLicense();if(!licensed)return DEFAULT_BRAND_EXPORT_VIEW;const view=await licensed.settleChartBrandExport(host,value,timeoutMs);if(view?.mode==="custom"&&chartBrandElementOf(host)?.getAttribute(BRAND_ERROR_ATTR))return DEFAULT_BRAND_EXPORT_VIEW;return view}function viewOf(host){const view=host.ownerDocument?.defaultView;return view&&typeof view.getComputedStyle==="function"?view:null}function liveBackground(host){try{const view=viewOf(host);if(!view)return null;let node=host;for(let depth=0;node&&depth<32;depth++){const bg=view.getComputedStyle(node).backgroundColor;if(bg&&bg!=="transparent"&&!/^rgba\([^)]*,\s*0\)$/.test(bg))return bg;node=node.parentElement}}catch{}return null}async function prepare(host,box,options){const frame=box&&positive(box.width)&&positive(box.height)?{width:box.width,height:box.height}:void 0;const value="brandLogo"in options?options.brandLogo:host?.brandLogo;const t=options.timeoutMs;const timeoutMs=typeof t==="number"&&Number.isFinite(t)&&t>=0?t:CHART_BRAND_PENDING_TIMEOUT_MS;const view=host?await exportView(host,value,timeoutMs):DEFAULT_BRAND_EXPORT_VIEW;if(view===null)return null;const size=view.mode==="custom"?{width:view.width,height:view.height}:{width:CHART_BRAND_WIDTH,height:CHART_BRAND_HEIGHT};const placement=frame?chartBrandPlacement(frame,size,chartBrandCorner(host),host):null;const height=CHART_BRAND_HEIGHT;const background=options.background!==void 0?options.background:host?liveBackground(host):null;const palette=readChartBrandPalette(host,{color:options.color,background:chartBrandElementOf(host)?void 0:options.background});return{view,mode:view.mode,frame,options:{frame,corner:placement?.corner??chartBrandCorner(host),opacity:CHART_BRAND_OPACITY,placement:placement??void 0,lockup:view.mode==="default"?{outline:palette.outline}:void 0,height,color:palette.ink,background}}}export async function chartBrandExportLayer(host,box,options={}){const prepared=await prepare(host,box,options);if(!prepared||!prepared.frame)return null;const{width,height}=prepared.frame;const frame=`<svg xmlns="${SVG_NS}" xmlns:xlink="${XLINK_NS}" width="${width}" height="${height}" viewBox="0 0 ${width} ${height}"></svg>`;const markup=addBrandViewToSvg(frame,prepared.view,prepared.options);const rect=brandExportViewRect(prepared.frame,prepared.view,prepared.options);if(markup===frame||!rect)return null;return{markup,x:0,y:0,width,height,mode:prepared.mode,rect}}export async function withChartBrand(markup,host,box,options={}){const prepared=await prepare(host,box,options);return prepared?addBrandViewToSvg(markup,prepared.view,prepared.options):markup}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{isBrandImageSource}from"../../../../_shared/brand/brand-mark-default.js";export const CHART_BRAND_HOST_ATTR="data-sy-brand-host";export const CHART_BRAND_HOST_VALUE="chart";export const CHART_BRAND_MEMBER="brandLogo";export const CHART_BRAND_PENDING_TIMEOUT_MS=1e4;export const CHART_BRAND_DIAGNOSTIC_ATTR="data-sy-brand-diagnostic";export const CHART_BRAND_INVALID_ATTR="data-sy-brand-invalid";export const CHART_BRAND_COMPACT_ATTR="data-sy-brand-compact";export function isDefaultBrandLogo(value){return value===void 0||value===null||typeof value==="string"&&value.trim()===""}export function mayChangeBrand(value){if(typeof value!=="string")return false;const text=value.trim();return text.length===4&&text.toLowerCase()==="none"||isBrandImageSource(text)}function ancestor(node,match){let current=node;for(let depth=0;current&&depth<512;depth++){const root=current.parentElement?null:current.getRootNode?.();current=current.parentElement??(root&&root!==current?root.host??null:null);if(current&&match(current))return current}return null}const brandHosts=new WeakSet;export function isChartBrandHost(host){return typeof host==="object"&&host!==null&&brandHosts.has(host)}export function chartBrandHostAncestor(host){return ancestor(host,node=>brandHosts.has(node))}export function isChartBrandDescendant(descendant,owner){return!!owner&&ancestor(descendant,node=>node===owner)!==null}export function markChartBrandHost(host){if(!host)return false;const added=!brandHosts.has(host);brandHosts.add(host);if(host.style)host.style.isolation="isolate";try{if(host.getAttribute(CHART_BRAND_HOST_ATTR)!==CHART_BRAND_HOST_VALUE)host.setAttribute(CHART_BRAND_HOST_ATTR,CHART_BRAND_HOST_VALUE)}catch{}return added}export function unmarkChartBrandHost(host){if(!host)return false;try{host.removeAttribute(CHART_BRAND_HOST_ATTR)}catch{}return brandHosts.delete(host)}export function chartBrandHostAttributes(){return{[CHART_BRAND_HOST_ATTR]:CHART_BRAND_HOST_VALUE}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let loaded=null;let loading=null;let failure=null;export function chartBrandLicense(){return loaded}export function chartBrandLicenseFailure(){return failure}export function loadChartBrandLicense(){if(loaded)return Promise.resolve(loaded);if(failure!==null)return Promise.resolve(null);if(!loading){let attempt;try{attempt=import("./license/chart-brand-license.js")}catch(error){attempt=Promise.reject(error)}loading=attempt.then(module=>{loading=null;if(typeof module?.chartBrandView!=="function"||typeof module.settleChartBrandExport!=="function"){failure="the branding module has an unexpected shape";return null}return loaded=module},error=>{loading=null;failure=String(error?.message??error)||"unknown reason";return null})}return loading}export function retryChartBrandLicense(){failure=null}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const CHART_BRAND_MIN_CONTRAST=7;const WHITE=[255,255,255],BLACK=[0,0,0],ACCENT=[120,96,176];const mix=(a,b,amount)=>a.map((v,i)=>Math.round(v*(1-amount)+b[i]*amount));const hex=rgb=>"#"+rgb.map(v=>v.toString(16).padStart(2,"0")).join("");function parse(value){if(typeof value!=="string")return null;const match=/^#([\da-f]{3}|[\da-f]{6})$/i.exec(value.trim());if(match){const h=match[1].length===3?match[1].replace(/./g,c=>c+c):match[1];return[0,2,4].map(i=>parseInt(h.slice(i,i+2),16))}const rgb=/^rgba?\(\s*([\d.]+%?)[\s,]+([\d.]+%?)[\s,]+([\d.]+%?)(?:\s*[,/]\s*([\d.]+%?))?\s*\)$/i.exec(value.trim());if(!rgb||rgb[4]!==void 0&&parseFloat(rgb[4])<(rgb[4].endsWith("%")?99:.99))return null;return rgb.slice(1,4).map(v=>Math.round(Math.max(0,Math.min(255,parseFloat(v)*(v.endsWith("%")?2.55:1)))))}function luminance(rgb){const linear=rgb.map(v=>{const s=v/255;return s<=.04045?s/12.92:((s+.055)/1.055)**2.4});return linear[0]*.2126+linear[1]*.7152+linear[2]*.0722}function contrast(a,b){const x=luminance(a),y=luminance(b);return(Math.max(x,y)+.05)/(Math.min(x,y)+.05)}export function chartBrandPalette(background,accent){const bg=parse(background)??WHITE,hue=parse(accent)??ACCENT;const light=luminance(bg)>.179;const anchor=light?BLACK:WHITE,surfaceAnchor=light?WHITE:BLACK;let outline=mix(bg,hue,.035);let ink=mix(light?[24,25,31]:[245,245,249],hue,light?.32:.18);const score=()=>contrast(ink,outline);for(let i=0;i<24&&score()<CHART_BRAND_MIN_CONTRAST+.1;i++)ink=mix(ink,anchor,.12);for(let i=0;i<24&&score()<CHART_BRAND_MIN_CONTRAST+.1;i++)outline=mix(outline,surfaceAnchor,.12);return{ink:hex(ink),outline:hex(outline)}}export function chartBrandCssColor(value,doc){const parsed=parse(value);if(parsed)return hex(parsed);if(!value||!doc?.defaultView?.CSS?.supports("color",value)||/^(transparent|currentcolor|inherit|initial|unset|revert)$/i.test(value.trim()))return void 0;const canvas=doc.createElement("canvas");canvas.width=canvas.height=1;const context=canvas.getContext("2d",{willReadFrequently:true});if(!context)return void 0;context.fillStyle=value;context.fillRect(0,0,1,1);const pixel=context.getImageData(0,0,1,1).data;return pixel[3]===255?hex([pixel[0],pixel[1],pixel[2]]):void 0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{chartBrandCssColor,chartBrandPalette}from"./chart-brand-palette.js";export const CHART_BRAND_BACKGROUND_SOURCE="var(--sy-chart-bg, var(--background-default, #fff))";export const CHART_BRAND_ACCENT_SOURCE="var(--sy-chart-accent, var(--sy-chart-series-0, var(--color-primary, #7860b0)))";const groups=new WeakMap;export function readChartBrandPalette(host,overrides={}){const doc=host?.ownerDocument,view=doc?.defaultView;if(!view?.getComputedStyle)return chartBrandPalette(overrides.background,overrides.color);const svg=host.matches?.(".sy-chart-brand__mark")?host:host.querySelector?.(":scope > .sy-chart-brand > svg");const style=view.getComputedStyle(host);const source=(kind,token,fallback)=>{const probe=svg?.querySelector(`[data-sy-brand-source="${kind}"]`);return probe?view.getComputedStyle(probe).fill:style.getPropertyValue?.(token).trim()||fallback};const background=overrides.background??source("background","--sy-chart-bg",style.backgroundColor||"#fff");const accent=overrides.color??source("accent","--sy-chart-accent",style.getPropertyValue?.("--sy-chart-series-0").trim()||"#7860b0");let backdrop=chartBrandCssColor(background,doc);for(let node=host;!backdrop&&node;node=node.parentElement??node.getRootNode?.()?.host??null){backdrop=chartBrandCssColor(view.getComputedStyle(node).backgroundColor,doc)}return chartBrandPalette(backdrop,chartBrandCssColor(accent,doc))}export function refreshChartBrandTheme(svg){const palette=readChartBrandPalette(svg);for(const[name,value]of[["--sy-chart-brand-ink",palette.ink],["--sy-chart-brand-outline",palette.outline]]){if(svg.style.getPropertyValue(name)!==value)svg.style.setProperty(name,value)}}export function bindChartBrandTheme(svg){if(!svg?.ownerDocument?.defaultView)return;const doc=svg.ownerDocument,view=doc.defaultView;let group=groups.get(doc);if(!group){const refs=new Set,known=new WeakSet;let queued=false;const media=["(prefers-color-scheme: dark)","(prefers-contrast: more)","(forced-colors: active)"].map(q=>view.matchMedia(q));const update=()=>{if(queued)return;queued=true;queueMicrotask(()=>{queued=false;for(const ref of refs){const element=ref.deref();if(!element?.isConnected){refs.delete(ref);if(element)known.delete(element)}else refreshChartBrandTheme(element)}if(!refs.size){observer.disconnect();media.forEach(m=>m.removeEventListener("change",update));doc.removeEventListener("load",onLoad,true);groups.delete(doc)}})};const ancestorOf=(target,element)=>{for(let node=element;node;node=node.parentNode??node.host??null)if(node===target)return true;return false};const observer=new view.MutationObserver(records=>{const elements=[...refs].map(ref=>ref.deref()).filter(Boolean);if(elements.some(el=>!el.isConnected)||records.some(record=>{const target=record.target;if(target.closest?.(".sy-chart-brand"))return false;return target.nodeName==="STYLE"||target.parentNode?.nodeName==="STYLE"||target===doc.head||elements.some(el=>ancestorOf(target,el))}))update()});observer.observe(doc.documentElement,{subtree:true,attributes:true,childList:true,characterData:true});const onLoad=event=>{if(event.target?.tagName==="LINK")update()};doc.addEventListener("load",onLoad,true);media.forEach(m=>m.addEventListener("change",update));group={add(element){if(!known.has(element)){known.add(element);refs.add(new WeakRef(element))}const root=element.getRootNode();if(root!==doc)observer.observe(root,{subtree:true,attributes:true,childList:true,characterData:true});update()}};groups.set(doc,group)}group.add(svg)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{forceUpdate,h}from"@stencil/core";import{protectDefaultBrand,releaseBrandIntegrity}from"../../../../_shared/brand/brand-integrity.js";import{BRAND_ATTR,BRAND_CORNER_ATTR,BRAND_ERROR_ATTR,BRAND_MARK_CLASS,BRAND_PRODUCT_ATTR}from"../../../../_shared/brand/brand-mark-default.js";import{CHART_BRAND_CLASS,CHART_BRAND_MARK_CLASS}from"./brand-placement.js";import{bindChartBrandTheme,refreshChartBrandTheme,CHART_BRAND_BACKGROUND_SOURCE,CHART_BRAND_ACCENT_SOURCE}from"./chart-brand-theme.js";import{chartBrandPalette}from"./chart-brand-palette.js";import{BRAND_LOCKUP_SYMBOL_PATH,BRAND_LOCKUP_WORDMARK_PATH,BRAND_LOCKUP_STROKE}from"../../../../_shared/brand/brand-lockup-default.js";import{CHART_BRAND_HEIGHT,CHART_BRAND_WIDTH,CHART_BRAND_OPACITY,CHART_BRAND_LAYER,chartBrandCorner,chartBrandPlacement}from"./chart-brand-config.js";import{CHART_BRAND_COMPACT_ATTR,CHART_BRAND_DIAGNOSTIC_ATTR,CHART_BRAND_INVALID_ATTR,CHART_BRAND_PENDING_TIMEOUT_MS,chartBrandHostAncestor,isChartBrandDescendant,isDefaultBrandLogo,markChartBrandHost,mayChangeBrand,unmarkChartBrandHost}from"./chart-brand-host.js";import{chartBrandLicense,chartBrandLicenseFailure,loadChartBrandLicense,retryChartBrandLicense}from"./chart-brand-lazy.js";export{CHART_BRAND_CLASS,CHART_BRAND_MARK_CLASS}from"./brand-placement.js";export{CHART_BRAND_HOST_ATTR,CHART_BRAND_HOST_VALUE,chartBrandHostAttributes}from"./chart-brand-host.js";export const CHART_BRAND_Z_INDEX=CHART_BRAND_LAYER;export const CHART_BRAND_OVERLAY_Z_INDEX=CHART_BRAND_LAYER;const DEFAULT_VIEW={mode:"default"};const DEFAULT_SIZE={width:CHART_BRAND_WIDTH,height:CHART_BRAND_HEIGHT};const DEFAULT_PALETTE=chartBrandPalette();const LOOK={position:"absolute",visibility:"visible",margin:"0",padding:"0",border:"0",background:"none","box-sizing":"content-box","line-height":"0",color:"var(--sy-chart-text, var(--color-text, currentColor))","user-select":"none","-webkit-user-select":"none","print-color-adjust":"exact","-webkit-print-color-adjust":"exact"};const states=new WeakMap;const live=new Set;let wakeArmed=false;const warnedLoad=new Set;const round=n=>Math.round(n*100)/100;const px=n=>`${round(n)}px`;const connected=host=>!!host&&host.isConnected!==false;const diagnosed=diagnostic=>({mode:"default",diagnostic});function later(fn,ms){const handle=setTimeout(fn,ms);handle.unref?.();return handle}function update(state){try{const host=state.ref.deref();if(host)forceUpdate(host)}catch{}}function stateOf(host){let state=states.get(host);if(!state){state={ref:typeof WeakRef==="function"?new WeakRef(host):{deref:()=>host},value:void 0,wait:void 0};states.set(host,state);live.add(state)}return state}function clearPending(state){if(state.wait===true)return;clearTimeout(state.wait);state.wait=void 0}function drop(state,host){chartBrandLicense()?.releaseChartBrandView(host);clearPending(state);state.waiting=false}function eachLive(fn){for(const state of[...live]){const host=state.ref.deref();if(host)fn(state,host);else live.delete(state)}}function wakeDescendants(owner){const pending=[];eachLive((state,host)=>{if(connected(host)&&isChartBrandDescendant(host,owner))pending.push(state)});if(pending.length>0)queueMicrotask(()=>pending.forEach(update))}function armWake(){if(wakeArmed)return;wakeArmed=true;void loadChartBrandLicense().then(()=>{wakeArmed=false;eachLive(state=>{if(!state.waiting)return;state.waiting=false;update(state)})})}function viewFor(host,state,value){const licensed=chartBrandLicense();if(licensed){state.waiting=false;return licensed.chartBrandView(host,value,state.wait===true,()=>update(state))}if(chartBrandLicenseFailure()!==null){drop(state,host);const tag=host.localName||"sy-chart";if(!warnedLoad.has(tag)){warnedLoad.add(tag);console.warn(`[Syidax] <${tag}> brand-logo: the branding module could not be loaded (${chartBrandLicenseFailure()}); the Syidax logo stays.`)}return diagnosed("load-failed")}state.waiting=true;armWake();if(!mayChangeBrand(value))return DEFAULT_VIEW;return state.wait===true?diagnosed("license-pending"):{mode:"pending"}}function elementStyle(placement,overlay){const style=placement?{left:px(placement.x),top:px(placement.y),width:px(placement.width),height:px(placement.height)}:{right:"0px",bottom:"0px"};style["pointer-events"]="none";style["z-index"]=String(overlay?CHART_BRAND_OVERLAY_Z_INDEX:CHART_BRAND_Z_INDEX);style.display="block";style.opacity=String(CHART_BRAND_OPACITY);return{...LOOK,...style}}function markNode(size){return h("svg",{class:CHART_BRAND_MARK_CLASS,viewBox:`0 0 ${CHART_BRAND_WIDTH} ${CHART_BRAND_HEIGHT}`,width:String(round(size.width)),height:String(round(size.height)),fill:`var(--sy-chart-brand-ink, ${DEFAULT_PALETTE.ink})`,"aria-hidden":"true",focusable:"false",style:{display:"block","pointer-events":"none"},ref:bindChartBrandTheme,onTransitionEnd:event=>refreshChartBrandTheme(event.currentTarget)},h("rect",{"data-sy-brand-source":"background",width:"0",height:"0",fill:CHART_BRAND_BACKGROUND_SOURCE,style:{transition:"fill 0.001s linear"}}),h("rect",{"data-sy-brand-source":"accent",width:"0",height:"0",fill:CHART_BRAND_ACCENT_SOURCE,style:{transition:"fill 0.001s linear"}}),h("g",{stroke:`var(--sy-chart-brand-outline, ${DEFAULT_PALETTE.outline})`,"stroke-width":BRAND_LOCKUP_STROKE,"stroke-linejoin":"round",style:{"paint-order":"stroke fill"}},h("path",{"data-sy-brand-symbol":"",d:BRAND_LOCKUP_SYMBOL_PATH}),h("path",{"data-sy-brand-wordmark":"",d:BRAND_LOCKUP_WORDMARK_PATH})))}function imageNode(image,size){const attrs=image.attrs;return h("img",{...attrs,width:String(round(size.width)),height:String(round(size.height)),style:{...image.style,display:"block",width:px(size.width),height:px(size.height),"pointer-events":"none"},onError:image.onError})}function brandNode(host,view,placement,overlay){const attrs={class:`${BRAND_MARK_CLASS} ${CHART_BRAND_CLASS}`,"aria-hidden":"true",[BRAND_ATTR]:view.mode,[BRAND_PRODUCT_ATTR]:"chart"};if(view.diagnostic)attrs[CHART_BRAND_DIAGNOSTIC_ATTR]=view.diagnostic;if(view.invalid)attrs[CHART_BRAND_INVALID_ATTR]=view.invalid;if(view.diagnostic==="custom-logo-unavailable")attrs[BRAND_ERROR_ATTR]=view.diagnostic;if(placement&&placement.corner!=="br")attrs[BRAND_CORNER_ATTR]=placement.corner;if(placement?.compact)attrs[CHART_BRAND_COMPACT_ATTR]="";const hidden=false;const size=placement??view.size??DEFAULT_SIZE;return h("span",{key:`sy-chart-brand-${view.mode}`,...attrs,hidden,style:elementStyle(placement,overlay),ref:node=>{if(view.mode==="default")protectDefaultBrand(host,node,elementStyle(placement,overlay))}},view.image?imageNode(view.image,size):markNode(size))}export function renderChartBrand(host,brandLogo,box,options={}){if(!host)return null;const state=stateOf(host);if(markChartBrandHost(host))wakeDescendants(host);const previousPlot=host.getAttribute?.("data-sy-chart-plot");chartBrandPlacement(box,DEFAULT_SIZE,chartBrandCorner(host),host);const owner=chartBrandHostAncestor(host);if(owner){if(previousPlot!==host.getAttribute?.("data-sy-chart-plot"))queueMicrotask(()=>{try{forceUpdate(owner)}catch{}});releaseChartBrand(host);return null}if(!Object.is(state.value,brandLogo)){state.value=brandLogo;clearPending(state);state.wait=void 0;if(!isDefaultBrandLogo(brandLogo)&&chartBrandLicenseFailure()!==null)retryChartBrandLicense()}let view=DEFAULT_VIEW;if(isDefaultBrandLogo(brandLogo))drop(state,host);else view=viewFor(host,state,brandLogo);if(view?.mode!=="pending")clearPending(state);else if(state.wait===void 0){state.wait=later(()=>{state.wait=true;update(state)},CHART_BRAND_PENDING_TIMEOUT_MS)}if(view?.mode!=="default")releaseBrandIntegrity(host);if(!view)return null;const placement=chartBrandPlacement(box,view.size??DEFAULT_SIZE,chartBrandCorner(host),host);return brandNode(host,view,placement,options?.overlay===true)}export function yieldChartBrand(host){if(host&&unmarkChartBrandHost(host)){releaseChartBrand(host);wakeDescendants(host)}return null}export function releaseChartBrand(host){if(host)releaseBrandIntegrity(host);const state=host&&states.get(host);if(!state||!host)return;drop(state,host)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{BRAND_FEATURE,decideBrand,describeBrandLogoProblem,parseBrandLogo}from"../../../../../_shared/brand/brand-logo.js";import{BRAND_CUSTOM_MAX_HEIGHT,BRAND_CUSTOM_MAX_WIDTH,brandDisplayMode,brandImageAttributes,brandMarkSize}from"../../../../../_shared/brand/brand-mark.js";import{ensureEntitlement,entitlementFor,refuseChartFeature,subscribe}from"../../license/chart-license-bridge.js";import{CHART_FEATURE}from"../../license/chart-license-features.js";import{CHART_BUILD_TIER}from"../../loading/chart-build-tier.js";export const CHART_BRAND_FEATURE=CHART_FEATURE.branding;export const SHARED_CHART_BRAND_FEATURE=BRAND_FEATURE.chart;const MEMBER="brandLogo";const missingModuleReported=new WeakSet;function reportMissingBrandModule(host){if(missingModuleReported.has(host))return;missingModuleReported.add(host);refuseChartFeature(host,{feature:CHART_BRAND_FEATURE,state:"valid"},{method:MEMBER,code:"module-missing"})}const parsed=new WeakMap;function requestOf(host,value){const last=parsed.get(host);if(last&&Object.is(last.value,value))return last.request;const request=parseBrandLogo(value);parsed.set(host,{value,request});return request}const asksForChange=request=>request.kind==="none"||request.kind==="custom";export function decideChartBrand(host,value,pendingTimedOut){const request=requestOf(host,value);if(!asksForChange(request))return{decision:decideBrand({requested:request}),licensed:false};const state=entitlementFor(host,CHART_BRAND_FEATURE).state;if(state==="valid"&&CHART_BUILD_TIER==="community"){reportMissingBrandModule(host);return{decision:decideBrand({requested:request,entitlementState:"module-missing"}),licensed:true,state}}return{decision:decideBrand({requested:request,entitlementState:state,pendingTimedOut:pendingTimedOut===true}),licensed:true,state}}export async function settleChartBrand(host,value,timeoutMs){const request=requestOf(host,value);if(!asksForChange(request))return decideBrand({requested:request,purpose:"export"});const entitlement=await ensureEntitlement(host,CHART_BRAND_FEATURE,{timeoutMs});if(entitlement.state==="valid"&&CHART_BUILD_TIER==="community"){reportMissingBrandModule(host);return decideBrand({requested:request,entitlementState:"module-missing",purpose:"export"})}return decideBrand({requested:request,entitlementState:entitlement.state,purpose:"export"})}export async function settleChartBrandExport(host,value,timeoutMs){const decision=await settleChartBrand(host,value,timeoutMs);const mode=brandDisplayMode(decision);if(mode===null)return null;const src=decision.logo?.src;if(mode!=="custom"||typeof src!=="string")return{mode:"default"};const size=brandMarkSize(decision);return{mode:"custom",src,width:size.width,height:size.height}}export function watchChartBrand(host,listener){return subscribe(host,change=>{if(change.feature===CHART_BRAND_FEATURE)listener()})}export function reportChartBrandRefusal(host,state){if(state==="valid")return;try{refuseChartFeature(host,{feature:CHART_BRAND_FEATURE,state},{method:MEMBER})}catch(error){const report2=globalThis.reportError;if(typeof report2==="function")report2(error)}}const warned=new Set;function warnOnce(key,text){if(warned.has(key))return;warned.add(key);if(typeof console!=="undefined"&&typeof console.warn==="function")console.warn(text)}export function warnInvalidChartBrand(tag,reason){warnOnce(`invalid|${tag}|${reason}`,`[Syidax] <${tag}> ${describeBrandLogoProblem(reason)}`)}export function warnChartBrandImage(tag){warnOnce(`image|${tag}`,`[Syidax] <${tag}> brand-logo image could not be displayed (a Content-Security-Policy img-src without data: blocks it); the Syidax logo stays.`)}const SWEEP_INTERVAL_MS=1e3;const views=new WeakMap;const subscribed=new Set;let lastSweep=-Infinity;const DEFAULT_VIEW={mode:"default"};const PENDING_VIEW={mode:"pending"};const isDisconnected=host=>host.isConnected===false;const tagOf=host=>host.localName||"sy-chart";function diagnosed(diagnostic,invalid){return invalid?{mode:"default",diagnostic,invalid}:{mode:"default",diagnostic}}function stop(state){const release=state.release;state.release=null;subscribed.delete(state);if(!release)return;try{release()}catch{}}function sweep(){const now=Date.now();if(now-lastSweep<SWEEP_INTERVAL_MS)return;lastSweep=now;for(const state of[...subscribed]){const host=state.ref.deref();if(!host||isDisconnected(host))stop(state)}}function watch(host,state){if(state.release)return;try{state.release=watchChartBrand(host,()=>{const current=state.ref.deref();if(!current||isDisconnected(current))stop(state);else state.update()});subscribed.add(state)}catch{state.release=null}}function report(host,state,entitlement){if(state.reported===entitlement)return;state.reported=entitlement;queueMicrotask(()=>reportChartBrandRefusal(host,entitlement))}const IMAGE_STYLE=Object.freeze({"max-width":`${BRAND_CUSTOM_MAX_WIDTH}px`,"max-height":`${BRAND_CUSTOM_MAX_HEIGHT}px`});function imageFailed(host,state,src){if(state.imageFailed===src)return;state.imageFailed=src;warnChartBrandImage(tagOf(host));state.update()}export function chartBrandView(host,value,timedOut,update){sweep();let state=views.get(host);if(!state){const ref=typeof WeakRef==="function"?new WeakRef(host):{deref:()=>host};state={ref,value,update,release:null,reported:null,imageFailed:null};views.set(host,state)}state.update=update;if(!Object.is(state.value,value)){state.value=value;state.reported=null;state.imageFailed=null}const{decision,licensed:asks,state:entitlement}=decideChartBrand(host,value,timedOut);if(asks)watch(host,state);else stop(state);if(decision.mode==="hidden-pending")return PENDING_VIEW;if(decision.requested==="invalid"){if(decision.invalid)warnInvalidChartBrand(tagOf(host),decision.invalid);return diagnosed("invalid-value",decision.invalid)}if(asks&&entitlement!==void 0&&entitlement!=="valid"){report(host,state,entitlement);return diagnosed(entitlement==="pending"?"license-pending":entitlement==="load-failed"?"load-failed":"license-required")}state.reported=null;if(decision.mode==="none")return null;if(decision.mode!=="custom")return DEFAULT_VIEW;const attrs=brandImageAttributes(decision.logo?.src??"");if(!attrs)return DEFAULT_VIEW;if(state.imageFailed===attrs.src)return diagnosed("custom-logo-unavailable");const current=state;return{mode:"custom",size:brandMarkSize(decision),image:{attrs,style:IMAGE_STYLE,onError:()=>imageFailed(host,current,attrs.src)}}}export function releaseChartBrandView(host){sweep();const state=views.get(host);if(state)stop(state)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const CARTESIAN_BRUSH_DEFAULTS=Object.freeze({enabled:false,type:"rect",mode:"single",coverage:"xy",modifier:"none",minSizePx:6,keyboard:true,clearOnClick:true,liveSelection:false,moveThrottleMs:32});const BRUSH_TYPES=["rect","lasso"];const BRUSH_MODES=["single","multiple"];const BRUSH_COVERAGES=["xy","x","y"];const BRUSH_MODIFIERS=["none","shift","alt"];export function isCartesianBrushType(value){return BRUSH_TYPES.includes(value)}function isPlainObject(value){return Boolean(value)&&typeof value==="object"&&!Array.isArray(value)}export function resolveCartesianBrushSpec(input){if(input===void 0||input===null||input===false||input==="off"||input==="auto"||input==="false"){return{...CARTESIAN_BRUSH_DEFAULTS}}if(input===true||input==="true")return{...CARTESIAN_BRUSH_DEFAULTS,enabled:true};if(isCartesianBrushType(input))return{...CARTESIAN_BRUSH_DEFAULTS,enabled:true,type:input};if(!isPlainObject(input))return{...CARTESIAN_BRUSH_DEFAULTS};const minSizePx=Number.isFinite(input.minSizePx)&&input.minSizePx>0?input.minSizePx:CARTESIAN_BRUSH_DEFAULTS.minSizePx;return{enabled:input.enabled!==false,type:isCartesianBrushType(input.type)?input.type:CARTESIAN_BRUSH_DEFAULTS.type,mode:BRUSH_MODES.includes(input.mode)?input.mode:CARTESIAN_BRUSH_DEFAULTS.mode,coverage:BRUSH_COVERAGES.includes(input.coverage)?input.coverage:CARTESIAN_BRUSH_DEFAULTS.coverage,modifier:BRUSH_MODIFIERS.includes(input.modifier)?input.modifier:CARTESIAN_BRUSH_DEFAULTS.modifier,minSizePx,keyboard:input.keyboard!==false,clearOnClick:input.clearOnClick!==false,liveSelection:input.liveSelection===true,moveThrottleMs:Number.isFinite(input.moveThrottleMs)&&input.moveThrottleMs>=0?input.moveThrottleMs:CARTESIAN_BRUSH_DEFAULTS.moveThrottleMs}}export const BRUSH_LASSO_MIN_POINTS=3;function normalizeRange(input){if(!input)return void 0;const a=Array.isArray(input)?input[0]:input.min;const b=Array.isArray(input)?input[1]:input.max;if(typeof a!=="number"||typeof b!=="number"||!Number.isFinite(a)||!Number.isFinite(b))return void 0;return{min:Math.min(a,b),max:Math.max(a,b)}}function normalizePoint(input){if(!input)return void 0;const x=Array.isArray(input)?input[0]:input.x;const y=Array.isArray(input)?input[1]:input.y;if(typeof x!=="number"||typeof y!=="number"||!Number.isFinite(x)||!Number.isFinite(y))return void 0;return{x,y}}export function normalizeBrushArea(input){if(!input||typeof input!=="object")return void 0;if(input.type==="lasso"){const raw=input.points;if(!Array.isArray(raw))return void 0;const points=raw.map(point=>normalizePoint(point)).filter(point=>point!==void 0);if(points.length<BRUSH_LASSO_MIN_POINTS)return void 0;return{type:"lasso",points}}if(input.type==="band"){const band=input;if(band.axis!=="x"&&band.axis!=="y")return void 0;const range=normalizeRange(band.range);if(!range)return void 0;return{type:"band",axis:band.axis,range}}const rect=input;if(rect.type!==void 0&&rect.type!=="rect")return void 0;const x=normalizeRange(rect.x);const y=normalizeRange(rect.y);if(!x||!y)return void 0;return{type:"rect",x,y}}export function sameBrushArea(a,b){if(a.type!==b.type)return false;if(a.type==="lasso"&&b.type==="lasso"){return a.points.length===b.points.length&&a.points.every((point,index)=>point.x===b.points[index].x&&point.y===b.points[index].y)}if(a.type==="rect"&&b.type==="rect"){return a.x.min===b.x.min&&a.x.max===b.x.max&&a.y.min===b.y.min&&a.y.max===b.y.max}if(a.type==="band"&&b.type==="band"){return a.axis===b.axis&&a.range.min===b.range.min&&a.range.max===b.range.max}return false}export function sameBrushState(a,b){const areasA=a?.areas??[];const areasB=b?.areas??[];if(areasA.length!==areasB.length)return false;return areasA.every((area,index)=>sameBrushArea(area,areasB[index]))}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{BRUSH_LASSO_MIN_POINTS}from"./brush-contract.js";export function brushRectFromDrag(start,current,plot){const clampX=v=>Math.min(plot.x+plot.width,Math.max(plot.x,v));const clampY=v=>Math.min(plot.y+plot.height,Math.max(plot.y,v));const x0=clampX(start.x);const x1=clampX(current.x);const y0=clampY(start.y);const y1=clampY(current.y);return{x:Math.min(x0,x1),y:Math.min(y0,y1),width:Math.abs(x1-x0),height:Math.abs(y1-y0)}}export function isMeaningfulBrush(rect,minSizePx){const min=Number.isFinite(minSizePx)&&minSizePx>0?minSizePx:0;return rect.width>=min&&rect.height>=min}export function isMeaningfulBand(rect,axis,minSizePx){const min=Number.isFinite(minSizePx)&&minSizePx>0?minSizePx:0;return(axis==="x"?rect.width:rect.height)>=min}export function bandFromPixelRect(rect,axis,xScale,yScale){const a=axis==="x"?xScale.invert(rect.x):yScale.invert(rect.y);const b=axis==="x"?xScale.invert(rect.x+rect.width):yScale.invert(rect.y+rect.height);if(!Number.isFinite(a)||!Number.isFinite(b))return void 0;return{type:"band",axis,range:{min:Math.min(a,b),max:Math.max(a,b)}}}export function pixelBandFromArea(area,xScale,yScale){const scale=area.axis==="x"?xScale:yScale;const a=scale(area.range.min);const b=scale(area.range.max);return{axis:area.axis,min:Math.min(a,b),max:Math.max(a,b)}}export function bandRectForPlot(band,plot){if(band.axis==="x"){const x0=Math.max(plot.x,band.min);const x1=Math.min(plot.x+plot.width,band.max);return x1>x0?{x:x0,y:plot.y,width:x1-x0,height:plot.height}:null}const y0=Math.max(plot.y,band.min);const y1=Math.min(plot.y+plot.height,band.max);return y1>y0?{x:plot.x,y:y0,width:plot.width,height:y1-y0}:null}export function areaFromPixelRect(rect,xScale,yScale){const xa=xScale.invert(rect.x);const xb=xScale.invert(rect.x+rect.width);const ya=yScale.invert(rect.y);const yb=yScale.invert(rect.y+rect.height);if(![xa,xb,ya,yb].every(Number.isFinite))return void 0;return{type:"rect",x:{min:Math.min(xa,xb),max:Math.max(xa,xb)},y:{min:Math.min(ya,yb),max:Math.max(ya,yb)}}}export function areaFromPixelPolygon(points,xScale,yScale){if(points.length<BRUSH_LASSO_MIN_POINTS)return void 0;const data=points.map(point=>({x:xScale.invert(point.x),y:yScale.invert(point.y)}));if(!data.every(point=>Number.isFinite(point.x)&&Number.isFinite(point.y)))return void 0;return{type:"lasso",points:data}}export function pixelPolygonFromArea(area,xScale,yScale){return area.points.map(point=>({x:xScale(point.x),y:yScale(point.y)}))}export function pixelShapeFromArea(area,xScale,yScale){if(area.type==="lasso")return{kind:"polygon",points:pixelPolygonFromArea(area,xScale,yScale)};if(area.type==="band")return{kind:"band",...pixelBandFromArea(area,xScale,yScale)};return{kind:"rect",rect:pixelRectFromArea(area,xScale,yScale)}}export function polygonBounds(points){if(points.length===0)return{x:0,y:0,width:0,height:0};let minX=Number.POSITIVE_INFINITY;let minY=Number.POSITIVE_INFINITY;let maxX=Number.NEGATIVE_INFINITY;let maxY=Number.NEGATIVE_INFINITY;for(const point of points){if(point.x<minX)minX=point.x;if(point.y<minY)minY=point.y;if(point.x>maxX)maxX=point.x;if(point.y>maxY)maxY=point.y}return{x:minX,y:minY,width:maxX-minX,height:maxY-minY}}function distanceSq(a,b){const dx=b.x-a.x;const dy=b.y-a.y;return dx*dx+dy*dy}export function lassoAcceptsVertex(last,next,minStepPx){if(!last)return true;const step=Number.isFinite(minStepPx)&&minStepPx>0?minStepPx:0;return distanceSq(last,next)>=step*step}function distanceToSegment(point,a,b){const lengthSq=distanceSq(a,b);if(lengthSq===0)return Math.sqrt(distanceSq(point,a));const t=Math.max(0,Math.min(1,((point.x-a.x)*(b.x-a.x)+(point.y-a.y)*(b.y-a.y))/lengthSq));return Math.sqrt(distanceSq(point,{x:a.x+t*(b.x-a.x),y:a.y+t*(b.y-a.y)}))}export function pointInPolygon(point,polygon,epsilon=1e-6){const n=polygon.length;if(n<BRUSH_LASSO_MIN_POINTS)return false;let inside=false;for(let i=0,j=n-1;i<n;j=i,i++){const a=polygon[i];const b=polygon[j];if(distanceToSegment(point,a,b)<=epsilon)return true;const crosses=a.y>point.y!==b.y>point.y;if(!crosses)continue;const xAtY=a.x+(point.y-a.y)*(b.x-a.x)/(b.y-a.y);if(point.x<xAtY)inside=!inside}return inside}export function pixelRectFromArea(area,xScale,yScale){const x0=xScale(area.x.min);const x1=xScale(area.x.max);const y0=yScale(area.y.min);const y1=yScale(area.y.max);return{x:Math.min(x0,x1),y:Math.min(y0,y1),width:Math.abs(x1-x0),height:Math.abs(y1-y0)}}export function clipRectToPlot(rect,plot){const x0=Math.max(rect.x,plot.x);const y0=Math.max(rect.y,plot.y);const x1=Math.min(rect.x+rect.width,plot.x+plot.width);const y1=Math.min(rect.y+rect.height,plot.y+plot.height);if(!(x1>x0)||!(y1>y0))return null;return{x:x0,y:y0,width:x1-x0,height:y1-y0}}export function pointInBrushRect(point,rect,epsilon=1e-6){return point.x>=rect.x-epsilon&&point.x<=rect.x+rect.width+epsilon&&point.y>=rect.y-epsilon&&point.y<=rect.y+rect.height+epsilon}function pointInShape(point,shape,epsilon=1e-6){if(shape.kind==="rect")return pointInBrushRect(point,shape.rect,epsilon);if(shape.kind==="polygon")return pointInPolygon(point,shape.points,epsilon);const value=shape.axis==="x"?point.x:point.y;return value>=shape.min-epsilon&&value<=shape.max+epsilon}export function selectBrushPoints(shapes,points){if(shapes.length===0||points.length===0)return[];const bySeries=new Map;for(const point of points){if(!Number.isFinite(point.cssX)||!Number.isFinite(point.cssY))continue;const inside=shapes.some(shape=>pointInShape({x:point.cssX,y:point.cssY},shape));if(!inside)continue;let entries=bySeries.get(point.seriesIndex);if(!entries){entries=new Map;bySeries.set(point.seriesIndex,entries)}if(!entries.has(point.index))entries.set(point.index,point)}return[...bySeries.entries()].sort((a,b)=>a[0]-b[0]).map(([seriesIndex,entries])=>{const sorted=[...entries.values()].sort((a,b)=>a.index-b.index);const selected={seriesIndex,points:sorted.map(point=>point.index)};if(sorted.some(point=>point.dataX!==void 0||point.dataY!==void 0)){selected.data=sorted.map(point=>{const datum={index:point.index};if(point.dataX!==void 0)datum.x=point.dataX;if(point.dataY!==void 0)datum.y=point.dataY;return datum})}return selected})}export function brushSelectionCount(selected){return selected.reduce((sum,entry)=>sum+entry.points.length,0)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{normalizeBrushArea,sameBrushState}from"./brush-contract.js";import{areaFromPixelPolygon,areaFromPixelRect,bandFromPixelRect,brushRectFromDrag,brushSelectionCount,isMeaningfulBand,isMeaningfulBrush,lassoAcceptsVertex,pixelShapeFromArea,polygonBounds,selectBrushPoints}from"./brush-geometry.js";export const BRUSH_LASSO_STEP_PX=2;function defaultNow(){return typeof performance!=="undefined"&&typeof performance.now==="function"?performance.now():Date.now()}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}function clampToPlot(point,plot){return{x:Math.min(plot.x+plot.width,Math.max(plot.x,point.x)),y:Math.min(plot.y+plot.height,Math.max(plot.y,point.y))}}export class BrushInteraction{host;drag=null;previewShown=false;suppressClick=false;constructor(host){this.host=host}get isPending(){return this.drag!==null}get isActive(){return this.drag?.active===true}selection(){const state=this.host.state();const frame=this.host.frame();if(!state||state.areas.length===0||!frame)return[];const shapes=state.areas.map(area=>pixelShapeFromArea(area,frame.xScale,frame.yScale));return selectBrushPoints(shapes,this.host.points())}detail(source){const selected=this.selection();return{areas:[...this.host.state()?.areas??[]],selected,count:brushSelectionCount(selected),source}}transition(next,source){const normalized=next&&next.areas.length>0?next:null;if(sameBrushState(this.host.state(),normalized))return null;this.host.apply(normalized);const detail=this.detail(source);this.host.emit(detail);return detail}setAreas(areas,source="api"){const normalized=(areas??[]).map(area=>normalizeBrushArea(area)).filter(area=>area!==void 0);return this.transition(normalized.length>0?{areas:normalized}:null,source)}clear(source="clear"){return this.transition(null,source)}modifierHeld(spec,input){if(spec.modifier==="shift")return input.shiftKey===true;if(spec.modifier==="alt")return input.altKey===true;return true}pointerDown(input){const spec=this.host.spec();if(!spec.enabled||(input.button??0)!==0||this.drag)return false;const frame=this.host.frame();if(!frame)return false;const point={x:input.x,y:input.y};if(!insidePlot(point,frame.plot)||!this.modifierHeld(spec,input))return false;this.drag={pointerId:input.pointerId,start:point,active:false,lasso:spec.type==="lasso"?[point]:null,lastMoveAt:Number.NEGATIVE_INFINITY};return true}activate(drag,spec){drag.active=true;this.host.standDown();this.host.start?.({type:spec.type,coverage:spec.coverage})}reportMove(drag,spec,shape,frame){if(!this.host.move)return;const now=(this.host.now??defaultNow)();if(now-drag.lastMoveAt<spec.moveThrottleMs)return;const area=shape.kind==="polygon"?areaFromPixelPolygon(shape.points,frame.xScale,frame.yScale):shape.kind==="band"?bandFromPixelRect(shape.axis==="x"?{x:shape.min,y:frame.plot.y,width:shape.max-shape.min,height:0}:{x:frame.plot.x,y:shape.min,width:0,height:shape.max-shape.min},shape.axis,frame.xScale,frame.yScale):areaFromPixelRect(shape.rect,frame.xScale,frame.yScale);if(!area)return;drag.lastMoveAt=now;const detail={area};if(spec.liveSelection){const selected=selectBrushPoints([shape],this.host.points());detail.selected=selected;detail.count=brushSelectionCount(selected)}this.host.move(detail)}pointerMove(input){const drag=this.drag;if(!drag||drag.pointerId!==input.pointerId)return false;const frame=this.host.frame();if(!frame)return false;const spec=this.host.spec();const minSizePx=spec.minSizePx;if(drag.lasso){const next=clampToPlot({x:input.x,y:input.y},frame.plot);if(lassoAcceptsVertex(drag.lasso[drag.lasso.length-1],next,BRUSH_LASSO_STEP_PX))drag.lasso.push(next);if(!drag.active){if(drag.lasso.length<3||!isMeaningfulBrush(polygonBounds(drag.lasso),minSizePx))return false;this.activate(drag,spec)}this.previewShown=true;const polygon={kind:"polygon",points:[...drag.lasso]};this.host.preview(polygon);this.reportMove(drag,spec,polygon,frame);return true}const rect=brushRectFromDrag(drag.start,{x:input.x,y:input.y},frame.plot);const coverage=spec.coverage;if(!drag.active){const meaningful=coverage==="xy"?isMeaningfulBrush(rect,minSizePx):isMeaningfulBand(rect,coverage,minSizePx);if(!meaningful)return false;this.activate(drag,spec)}this.previewShown=true;const shape=coverage==="xy"?{kind:"rect",rect}:coverage==="x"?{kind:"band",axis:"x",min:rect.x,max:rect.x+rect.width}:{kind:"band",axis:"y",min:rect.y,max:rect.y+rect.height};this.host.preview(shape);this.reportMove(drag,spec,shape,frame);return true}pointerUp(input){const drag=this.drag;if(!drag||drag.pointerId!==input.pointerId)return;this.drag=null;this.hidePreview();const frame=this.host.frame();const spec=this.host.spec();if(!frame)return;if(drag.active){this.suppressClick=true;let area;if(drag.lasso){const last=clampToPlot({x:input.x,y:input.y},frame.plot);if(lassoAcceptsVertex(drag.lasso[drag.lasso.length-1],last,BRUSH_LASSO_STEP_PX))drag.lasso.push(last);if(isMeaningfulBrush(polygonBounds(drag.lasso),spec.minSizePx))area=areaFromPixelPolygon(drag.lasso,frame.xScale,frame.yScale)}else{const rect=brushRectFromDrag(drag.start,{x:input.x,y:input.y},frame.plot);if(spec.coverage==="xy"){if(isMeaningfulBrush(rect,spec.minSizePx))area=areaFromPixelRect(rect,frame.xScale,frame.yScale)}else if(isMeaningfulBand(rect,spec.coverage,spec.minSizePx)){area=bandFromPixelRect(rect,spec.coverage,frame.xScale,frame.yScale)}}let detail=null;if(area){const current=this.host.state()?.areas??[];detail=this.transition({areas:spec.mode==="multiple"?[...current,area]:[area]},"drag")}this.host.end?.(detail??this.detail("drag"));return}if(spec.clearOnClick&&(this.host.state()?.areas.length??0)>0){this.suppressClick=true;this.transition(null,"clear")}}pointerCancel(){const drag=this.drag;this.drag=null;this.hidePreview();if(drag?.active)this.host.end?.(this.detail("drag"))}hidePreview(){if(!this.previewShown)return;this.previewShown=false;this.host.preview(null)}consumeSuppressedClick(){if(!this.suppressClick)return false;this.suppressClick=false;return true}keyDown(event){const spec=this.host.spec();if(!spec.enabled||!spec.keyboard)return false;if(event.key!=="Escape"||event.ctrlKey||event.metaKey||event.altKey)return false;if((this.host.state()?.areas.length??0)===0)return false;this.transition(null,"keyboard");return true}dispose(){this.drag=null;this.hidePreview();this.suppressClick=false}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{BRUSH_LASSO_MIN_POINTS,CARTESIAN_BRUSH_DEFAULTS,isCartesianBrushType,normalizeBrushArea,resolveCartesianBrushSpec,sameBrushArea,sameBrushState}from"./brush-contract.js";export{areaFromPixelPolygon,areaFromPixelRect,bandFromPixelRect,bandRectForPlot,brushRectFromDrag,brushSelectionCount,clipRectToPlot,isMeaningfulBand,isMeaningfulBrush,lassoAcceptsVertex,pixelBandFromArea,pixelPolygonFromArea,pixelRectFromArea,pixelShapeFromArea,pointInBrushRect,pointInPolygon,polygonBounds,selectBrushPoints}from"./brush-geometry.js";export{BRUSH_LASSO_STEP_PX,BrushInteraction}from"./brush-interaction.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createPiecewiseVisualMapPalette,createVisualMapPalette,resolveContinuousVisualMap}from"../visual-map/visual-map-contract.js";import{parseColor}from"./parse.js";export const HEATMAP_LUT_WIDTH=256;export function packRgba8(r,g,b,a){const lane=v=>Math.max(0,Math.min(255,Math.round(v)))>>>0;return(lane(r)|lane(g)<<8|lane(b)<<16|lane(a)<<24)>>>0}export function heatmapRgbaOf(css){if(typeof css!=="string")return null;const parsed=parseColor(css);if(!parsed)return null;return[parsed.r/255,parsed.g/255,parsed.b/255,parsed.a]}export function resolveHeatmapDomain(input){const dataMin=input.extent&&Number.isFinite(input.extent.min)?input.extent.min:void 0;const dataMax=input.extent&&Number.isFinite(input.extent.max)?input.extent.max:void 0;let min=typeof input.min==="number"&&Number.isFinite(input.min)?input.min:dataMin;let max=typeof input.max==="number"&&Number.isFinite(input.max)?input.max:dataMax;if(min===void 0&&max===void 0){min=0;max=1}else if(min===void 0)min=Math.min(0,max);else if(max===void 0)max=Math.max(min,min+1);if(min>max){const t=min;min=max;max=t}return{min,max}}function colorKey(colors){if(colors===void 0||colors===null)return"default";if(typeof colors==="string")return`s:${colors}`;try{return`j:${JSON.stringify(colors)}`}catch{return"unserialisable"}}export function resolveHeatmapColorScale(input){const domain=resolveHeatmapDomain(input);const spec=resolveContinuousVisualMap({min:domain.min,max:domain.max,color:input.colors??void 0});const palette=createVisualMapPalette(spec);const lut=new Uint32Array(HEATMAP_LUT_WIDTH);for(let i=0;i<HEATMAP_LUT_WIDTH;i+=1){const rgba=heatmapRgbaOf(palette.colorAtT(i/(HEATMAP_LUT_WIDTH-1)))??[0,0,0,1];lut[i]=packRgba8(rgba[0]*255,rgba[1]*255,rgba[2]*255,rgba[3]*255)}return{spec,palette,lut,key:`${colorKey(input.colors)}|${spec.min}|${spec.max}`,min:spec.min,max:spec.max}}export function heatmapVisualMapKey(snapshot){if(snapshot.type==="piecewise"){return`vm:piecewise|${snapshot.min}|${snapshot.max}|${snapshot.outOfRangeColor}|${snapshot.pieces.map(piece=>`${piece.min??""}~${piece.max??""}~${piece.value??""}~${piece.color}`).join(",")}|${snapshot.selected?snapshot.selected.map(on=>on?1:0).join(""):"all"}`}return`vm:continuous|${snapshot.min}|${snapshot.max}|${snapshot.space}|${snapshot.outOfRangeColor}|${snapshot.stops.map(stop=>`${stop.t}~${stop.color}`).join(",")}|${snapshot.range?`${snapshot.range.min}..${snapshot.range.max}`:"full"}`}export function resolveHeatmapVisualMapScale(snapshot){const min=Math.min(snapshot.min,snapshot.max);const max=Math.max(snapshot.min,snapshot.max);const span=max-min;const colorAt=snapshot.type==="piecewise"?(palette=>v=>palette.colorAt(v,snapshot.selected))(createPiecewiseVisualMapPalette(snapshot)):(palette=>v=>palette.colorAt(v,snapshot.range))(createVisualMapPalette(snapshot));const lut=new Uint32Array(HEATMAP_LUT_WIDTH);for(let i=0;i<HEATMAP_LUT_WIDTH;i+=1){const v=span>0?min+i/(HEATMAP_LUT_WIDTH-1)*span:min;const rgba=heatmapRgbaOf(colorAt(v))??[0,0,0,1];lut[i]=packRgba8(rgba[0]*255,rgba[1]*255,rgba[2]*255,rgba[3]*255)}const spec=snapshot.type==="continuous"?snapshot:resolveContinuousVisualMap({min,max,outOfRangeColor:snapshot.outOfRangeColor});return{spec,palette:createVisualMapPalette(spec),lut,key:heatmapVisualMapKey(snapshot),min,max,outOfRange:heatmapRgbaOf(snapshot.outOfRangeColor)??[.82,.835,.86,1]}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"./parse.js";export*from"./interpolate.js";export{categorical,sequential,diverging,makeColorScale,discretize}from"./scheme.js";export{NAMED_COLORS}from"./named-colors.js";export{normalizeColorList,resolveSingleColor,resolvePairColors,resolveColorList,normalizeList,resolvePair,resolveTokenList}from"./resolve.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function clamp(n,lo,hi){if(Number.isNaN(n))return lo;if(n<lo)return lo;if(n>hi)return hi;return n}function clampByte(n){return Math.round(clamp(n,0,255))}function clampAlpha(n){return clamp(n,0,1)}function lerp(a,b,t){return a+(b-a)*t}function rgbToHsl(r,g,b){const r1=r/255;const g1=g/255;const b1=b/255;const max=Math.max(r1,g1,b1);const min=Math.min(r1,g1,b1);const l=(max+min)/2;const d=max-min;if(d===0){return[0,0,l]}const s=l>.5?d/(2-max-min):d/(max+min);let h;if(max===r1){h=((g1-b1)/d+(g1<b1?6:0))*60}else if(max===g1){h=((b1-r1)/d+2)*60}else{h=((r1-g1)/d+4)*60}return[h,s,l]}function hslToRgbFloat(h,s,l){let hh=h%360;if(hh<0)hh+=360;const c=(1-Math.abs(2*l-1))*s;const hp=hh/60;const x=c*(1-Math.abs(hp%2-1));let r1=0;let g1=0;let b1=0;if(hp>=0&&hp<1){r1=c;g1=x;b1=0}else if(hp<2){r1=x;g1=c;b1=0}else if(hp<3){r1=0;g1=c;b1=x}else if(hp<4){r1=0;g1=x;b1=c}else if(hp<5){r1=x;g1=0;b1=c}else{r1=c;g1=0;b1=x}const m=l-c/2;return[(r1+m)*255,(g1+m)*255,(b1+m)*255]}function srgbToLinear(c){return c<=.04045?c/12.92:Math.pow((c+.055)/1.055,2.4)}function linearToSrgb(c){return c<=.0031308?12.92*c:1.055*Math.pow(c,1/2.4)-.055}const Xn=.95047;const Yn=1;const Zn=1.08883;function linearRgbToXyz(r,g,b){const x=.4124564*r+.3575761*g+.1804375*b;const y=.2126729*r+.7151522*g+.072175*b;const z=.0193339*r+.119192*g+.9503041*b;return[x,y,z]}function xyzToLinearRgb(x,y,z){const r=3.2404542*x-1.5371385*y-.4985314*z;const g=-.969266*x+1.8760108*y+.041556*z;const b=.0556434*x-.2040259*y+1.0572252*z;return[r,g,b]}const LAB_DELTA=6/29;const LAB_DELTA3=LAB_DELTA*LAB_DELTA*LAB_DELTA;const LAB_3DELTA2=3*LAB_DELTA*LAB_DELTA;function fLab(t){return t>LAB_DELTA3?Math.cbrt(t):t/LAB_3DELTA2+4/29}function fLabInverse(t){return t>LAB_DELTA?t*t*t:LAB_3DELTA2*(t-4/29)}function xyzToLab(x,y,z){const fx=fLab(x/Xn);const fy=fLab(y/Yn);const fz=fLab(z/Zn);const L=116*fy-16;const a=500*(fx-fy);const b=200*(fy-fz);return[L,a,b]}function labToXyz(L,a,b){const fy=(L+16)/116;const fx=a/500+fy;const fz=fy-b/200;const x=Xn*fLabInverse(fx);const y=Yn*fLabInverse(fy);const z=Zn*fLabInverse(fz);return[x,y,z]}function labToLch(L,a,b){const C=Math.sqrt(a*a+b*b);let h=Math.atan2(b,a)*180/Math.PI;if(h<0)h+=360;if(C<1e-8)h=0;return[L,C,h]}function lchToLab(L,C,h){const hr=h*Math.PI/180;const a=C*Math.cos(hr);const b=C*Math.sin(hr);return[L,a,b]}function rgbByteToLab(r,g,b){const lr=srgbToLinear(r/255);const lg=srgbToLinear(g/255);const lb=srgbToLinear(b/255);const[x,y,z]=linearRgbToXyz(lr,lg,lb);return xyzToLab(x,y,z)}function labToRgbByte(L,a,b){const[x,y,z]=labToXyz(L,a,b);const[lr,lg,lb]=xyzToLinearRgb(x,y,z);return[clampByte(linearToSrgb(lr)*255),clampByte(linearToSrgb(lg)*255),clampByte(linearToSrgb(lb)*255)]}function rgbByteToLch(r,g,b){const[L,A,B]=rgbByteToLab(r,g,b);return labToLch(L,A,B)}function lchToRgbByte(L,C,h){const[LL,A,B]=lchToLab(L,C,h);return labToRgbByte(LL,A,B)}const ACHROMATIC_HSL_EPS=1e-8;const ACHROMATIC_LCH_EPS=1e-4;function resolveHueEndpoints(aHue,aMagnitude,bHue,bMagnitude,epsilon){const aAchromatic=Math.abs(aMagnitude)<=epsilon;const bAchromatic=Math.abs(bMagnitude)<=epsilon;if(aAchromatic&&!bAchromatic)return[bHue,bHue];if(!aAchromatic&&bAchromatic)return[aHue,aHue];if(aAchromatic&&bAchromatic)return[aHue,aHue];return[aHue,bHue]}function hueDelta(a,b,arc){const raw=((b-a)%360+540)%360-180;const short=raw===-180?180:raw;if(arc==="short")return short;if(short===0)return 0;if(short===180)return 180;if(short>0)return short-360;return short+360}function cloneParsed(c){if(c.space==="hsl"){return{r:c.r,g:c.g,b:c.b,a:c.a,space:"hsl",h:c.h,s:c.s,l:c.l}}return{r:c.r,g:c.g,b:c.b,a:c.a,space:"rgb"}}export function interpolateRgb(a,b){return t=>{if(t===0)return cloneParsed(a);if(t===1)return cloneParsed(b);return{r:clampByte(lerp(a.r,b.r,t)),g:clampByte(lerp(a.g,b.g,t)),b:clampByte(lerp(a.b,b.b,t)),a:clampAlpha(lerp(a.a,b.a,t)),space:"rgb"}}}export function interpolateHsl(a,b,hueArc="short"){const aH=a.space==="hsl"&&a.h!==void 0?a.h:rgbToHsl(a.r,a.g,a.b)[0];const aS=a.space==="hsl"&&a.s!==void 0?a.s:rgbToHsl(a.r,a.g,a.b)[1];const aL=a.space==="hsl"&&a.l!==void 0?a.l:rgbToHsl(a.r,a.g,a.b)[2];const bH=b.space==="hsl"&&b.h!==void 0?b.h:rgbToHsl(b.r,b.g,b.b)[0];const bS=b.space==="hsl"&&b.s!==void 0?b.s:rgbToHsl(b.r,b.g,b.b)[1];const bL=b.space==="hsl"&&b.l!==void 0?b.l:rgbToHsl(b.r,b.g,b.b)[2];const[fromHue,toHue]=resolveHueEndpoints(aH,aS,bH,bS,ACHROMATIC_HSL_EPS);const dh=hueDelta(fromHue,toHue,hueArc);return t=>{if(t===0)return cloneParsed(a);if(t===1)return cloneParsed(b);let h=fromHue+dh*t;h=(h%360+360)%360;const s=clamp(lerp(aS,bS,t),0,1);const l=clamp(lerp(aL,bL,t),0,1);const[r,g,bl]=hslToRgbFloat(h,s,l);return{r:clampByte(r),g:clampByte(g),b:clampByte(bl),a:clampAlpha(lerp(a.a,b.a,t)),space:"hsl",h,s,l}}}export function interpolateLab(a,b){const labA=rgbByteToLab(a.r,a.g,a.b);const labB=rgbByteToLab(b.r,b.g,b.b);return t=>{if(t===0)return cloneParsed(a);if(t===1)return cloneParsed(b);const L=lerp(labA[0],labB[0],t);const A=lerp(labA[1],labB[1],t);const B=lerp(labA[2],labB[2],t);const[r,g,bl]=labToRgbByte(L,A,B);return{r,g,b:bl,a:clampAlpha(lerp(a.a,b.a,t)),space:"rgb"}}}export function interpolateLch(a,b,hueArc="short"){const lchA=rgbByteToLch(a.r,a.g,a.b);const lchB=rgbByteToLch(b.r,b.g,b.b);const[fromHue,toHue]=resolveHueEndpoints(lchA[2],lchA[1],lchB[2],lchB[1],ACHROMATIC_LCH_EPS);const dh=hueDelta(fromHue,toHue,hueArc);return t=>{if(t===0)return cloneParsed(a);if(t===1)return cloneParsed(b);const L=lerp(lchA[0],lchB[0],t);const C=lerp(lchA[1],lchB[1],t);let h=fromHue+dh*t;h=(h%360+360)%360;const[r,g,bl]=lchToRgbByte(L,C,h);return{r,g,b:bl,a:clampAlpha(lerp(a.a,b.a,t)),space:"rgb"}}}export function interpolate(a,b,options){const space=options?.space??"rgb";const hue=options?.hue??"short";switch(space){case"rgb":return interpolateRgb(a,b);case"hsl":return interpolateHsl(a,b,hue);case"lab":return interpolateLab(a,b);case"lch":return interpolateLch(a,b,hue);default:{const _exhaustive=space;void _exhaustive;return interpolateRgb(a,b)}}}export const _rgbToLab=rgbByteToLab;export const _rgbToLch=rgbByteToLch;export const _labToRgb=labToRgbByte;export const _hueDelta=hueDelta;function clampUnit(t){if(Number.isNaN(t))return 0;if(t<0)return 0;if(t>1)return 1;return t}export function mix(a,b,t,options){return interpolate(a,b,options)(clampUnit(t))}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{NAMED_COLORS}from"./parse.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const NAMED_COLORS={aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],transparent:[0,0,0,0],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function clamp(n,lo,hi){if(Number.isNaN(n))return lo;if(n<lo)return lo;if(n>hi)return hi;return n}function clampByte(n){return Math.round(clamp(n,0,255))}function clampAlpha(n){return clamp(n,0,1)}function parseRgbChannel(token){const t=token.trim();if(t.endsWith("%")){const pct=Number(t.slice(0,-1));if(!Number.isFinite(pct))return NaN;return pct/100*255}const n=Number(t);if(!Number.isFinite(n))return NaN;return n}function parseAlpha(token){const t=token.trim();if(t.endsWith("%")){const pct=Number(t.slice(0,-1));if(!Number.isFinite(pct))return NaN;return pct/100}const n=Number(t);return Number.isFinite(n)?n:NaN}function parseHue(token){const t=token.trim().toLowerCase();let value;if(t.endsWith("grad")){value=Number(t.slice(0,-4))*360/400}else if(t.endsWith("turn")){value=Number(t.slice(0,-4))*360}else if(t.endsWith("deg")){value=Number(t.slice(0,-3))}else if(t.endsWith("rad")){const rad=Number(t.slice(0,-3));value=rad*180/Math.PI}else{value=Number(t)}if(!Number.isFinite(value))return NaN;const mod=value%360;return mod<0?mod+360:mod}function parseHslPercent(token){const t=token.trim();let pct;if(t.endsWith("%")){pct=Number(t.slice(0,-1))}else{pct=Number(t)}if(!Number.isFinite(pct))return NaN;return clamp(pct,0,100)/100}function hslToRgb(h,s,l){const c=(1-Math.abs(2*l-1))*s;const hp=h/60;const x=c*(1-Math.abs(hp%2-1));let r1=0;let g1=0;let b1=0;if(hp>=0&&hp<1){r1=c;g1=x;b1=0}else if(hp<2){r1=x;g1=c;b1=0}else if(hp<3){r1=0;g1=c;b1=x}else if(hp<4){r1=0;g1=x;b1=c}else if(hp<5){r1=x;g1=0;b1=c}else{r1=c;g1=0;b1=x}const m=l-c/2;return[clampByte((r1+m)*255),clampByte((g1+m)*255),clampByte((b1+m)*255)]}function parseHex(input){const body=input.slice(1);if(!/^[0-9a-f]+$/i.test(body))return null;let r;let g;let b;let a=1;if(body.length===3){r=parseInt(body[0]+body[0],16);g=parseInt(body[1]+body[1],16);b=parseInt(body[2]+body[2],16)}else if(body.length===4){r=parseInt(body[0]+body[0],16);g=parseInt(body[1]+body[1],16);b=parseInt(body[2]+body[2],16);a=parseInt(body[3]+body[3],16)/255}else if(body.length===6){r=parseInt(body.slice(0,2),16);g=parseInt(body.slice(2,4),16);b=parseInt(body.slice(4,6),16)}else if(body.length===8){r=parseInt(body.slice(0,2),16);g=parseInt(body.slice(2,4),16);b=parseInt(body.slice(4,6),16);a=parseInt(body.slice(6,8),16)/255}else{return null}return{r:clampByte(r),g:clampByte(g),b:clampByte(b),a:clampAlpha(a),space:"rgb"}}function splitArgs(body){const trimmed=body.trim();if(trimmed.length===0)return null;if(trimmed.includes(",")){const parts2=trimmed.split(",").map(s=>s.trim());if(parts2.some(p=>p.length===0))return null;if(parts2.length===3)return{channels:parts2,alpha:null};if(parts2.length===4)return{channels:parts2.slice(0,3),alpha:parts2[3]};return null}const slashIdx=trimmed.indexOf("/");let channelStr;let alpha=null;if(slashIdx>=0){channelStr=trimmed.slice(0,slashIdx);alpha=trimmed.slice(slashIdx+1).trim();if(alpha.length===0)return null}else{channelStr=trimmed}const parts=channelStr.split(/\s+/).filter(s=>s.length>0);if(parts.length!==3)return null;return{channels:parts,alpha}}function parseRgbBody(body,expectAlpha){const split=splitArgs(body);if(!split)return null;void expectAlpha;const r=parseRgbChannel(split.channels[0]);const g=parseRgbChannel(split.channels[1]);const b=parseRgbChannel(split.channels[2]);if(Number.isNaN(r)||Number.isNaN(g)||Number.isNaN(b))return null;let a=1;if(split.alpha!==null){const parsed=parseAlpha(split.alpha);if(Number.isNaN(parsed))return null;a=parsed}return{r:clampByte(r),g:clampByte(g),b:clampByte(b),a:clampAlpha(a),space:"rgb"}}function parseHslBody(body,expectAlpha){const split=splitArgs(body);if(!split)return null;void expectAlpha;const h=parseHue(split.channels[0]);const s=parseHslPercent(split.channels[1]);const l=parseHslPercent(split.channels[2]);if(Number.isNaN(h)||Number.isNaN(s)||Number.isNaN(l))return null;let a=1;if(split.alpha!==null){const parsed=parseAlpha(split.alpha);if(Number.isNaN(parsed))return null;a=parsed}const[r,g,b]=hslToRgb(h,s,l);return{r,g,b,a:clampAlpha(a),space:"hsl",h,s,l}}export function parseColor(input){if(typeof input!=="string")return null;const trimmed=input.trim();if(trimmed.length===0)return null;if(trimmed.charCodeAt(0)===35){return parseHex(trimmed)}const lparen=trimmed.indexOf("(");if(lparen>0&&trimmed.endsWith(")")){const name=trimmed.slice(0,lparen).trim().toLowerCase();const body=trimmed.slice(lparen+1,-1);switch(name){case"rgb":return parseRgbBody(body,false);case"rgba":return parseRgbBody(body,true);case"hsl":return parseHslBody(body,false);case"hsla":return parseHslBody(body,true);default:return null}}const named=NAMED_COLORS[trimmed.toLowerCase()];if(named){return{r:named[0],g:named[1],b:named[2],a:named[3],space:"rgb"}}return null}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function normalizeColorList(color){if(color==null)return[];if(Array.isArray(color)){return color.filter(c=>typeof c==="string"&&c.trim().length>0).map(c=>c.trim())}if(typeof color==="string"){const t=color.trim();if(!t)return[];return t.includes(",")?t.split(",").map(s=>s.trim()).filter(Boolean):[t]}return[]}export function resolveSingleColor(color,fallback){return normalizeColorList(color)[0]??fallback}export function resolvePairColors(color,defaults){const list=normalizeColorList(color);if(list.length===0)return[defaults[0],defaults[1]];if(list.length===1)return[defaults[0],list[0]];return[list[0],list[1]]}export function resolveColorList(color,n,defaults=[],palette=[]){const list=normalizeColorList(color);if(n===2&&list.length===1){return[defaults[0]??list[0],list[0]]}const out=[];for(let i=0;i<n;i++){out.push(list[i]??defaults[i]??palette[i%Math.max(1,palette.length)]??list[0]??"#2563eb")}return out}export const normalizeList=normalizeColorList;export function resolvePair(value,defaults){return resolvePairColors(value,defaults)}export function resolveTokenList(value,n,fallback){const list=normalizeColorList(value);if(n===2&&list.length===1)return[fallback,list[0]];const out=[];for(let i=0;i<n;i++)out.push(list[i]??fallback);return out}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function clamp(n,lo,hi){if(Number.isNaN(n))return lo;if(n<lo)return lo;if(n>hi)return hi;return n}function clampByte(n){return Math.round(clamp(n,0,255))}function clampAlpha(n){return clamp(n,0,1)}function lerp(a,b,t){return a+(b-a)*t}function parseStop(hex){if(hex.length!==7||hex.charCodeAt(0)!==35){throw new Error(`scheme.ts: palette hex literal must be '#rrggbb', got '${hex}'`)}const body=hex.slice(1);if(!/^[0-9a-f]{6}$/i.test(body)){throw new Error(`scheme.ts: invalid palette hex literal '${hex}'`)}return{r:parseInt(body.slice(0,2),16),g:parseInt(body.slice(2,4),16),b:parseInt(body.slice(4,6),16),a:1,space:"rgb"}}function parseStops(hexes){return hexes.map(parseStop)}function srgbToLinear(c){return c<=.04045?c/12.92:Math.pow((c+.055)/1.055,2.4)}function linearToSrgb(c){return c<=.0031308?12.92*c:1.055*Math.pow(c,1/2.4)-.055}const Xn=.95047;const Yn=1;const Zn=1.08883;function linearRgbToXyz(r,g,b){const x=.4124564*r+.3575761*g+.1804375*b;const y=.2126729*r+.7151522*g+.072175*b;const z=.0193339*r+.119192*g+.9503041*b;return[x,y,z]}function xyzToLinearRgb(x,y,z){const r=3.2404542*x-1.5371385*y-.4985314*z;const g=-.969266*x+1.8760108*y+.041556*z;const b=.0556434*x-.2040259*y+1.0572252*z;return[r,g,b]}const LAB_DELTA=6/29;const LAB_DELTA3=LAB_DELTA*LAB_DELTA*LAB_DELTA;const LAB_3DELTA2=3*LAB_DELTA*LAB_DELTA;function fLab(t){return t>LAB_DELTA3?Math.cbrt(t):t/LAB_3DELTA2+4/29}function fLabInverse(t){return t>LAB_DELTA?t*t*t:LAB_3DELTA2*(t-4/29)}function rgbByteToLab(r,g,b){const lr=srgbToLinear(r/255);const lg=srgbToLinear(g/255);const lb=srgbToLinear(b/255);const[x,y,z]=linearRgbToXyz(lr,lg,lb);const fx=fLab(x/Xn);const fy=fLab(y/Yn);const fz=fLab(z/Zn);return[116*fy-16,500*(fx-fy),200*(fy-fz)]}function labToRgbByte(L,A,B){const fy=(L+16)/116;const fx=A/500+fy;const fz=fy-B/200;const x=Xn*fLabInverse(fx);const y=Yn*fLabInverse(fy);const z=Zn*fLabInverse(fz);const[lr,lg,lb]=xyzToLinearRgb(x,y,z);return[clampByte(linearToSrgb(lr)*255),clampByte(linearToSrgb(lg)*255),clampByte(linearToSrgb(lb)*255)]}function rgbByteToLch(r,g,b){const[L,A,B]=rgbByteToLab(r,g,b);const C=Math.sqrt(A*A+B*B);let h=Math.atan2(B,A)*180/Math.PI;if(h<0)h+=360;if(C<1e-8)h=0;return[L,C,h]}function lchToRgbByte(L,C,h){const hr=h*Math.PI/180;return labToRgbByte(L,C*Math.cos(hr),C*Math.sin(hr))}function rgbToHsl(r,g,b){const r1=r/255;const g1=g/255;const b1=b/255;const max=Math.max(r1,g1,b1);const min=Math.min(r1,g1,b1);const l=(max+min)/2;const d=max-min;if(d===0)return[0,0,l];const s=l>.5?d/(2-max-min):d/(max+min);let h;if(max===r1)h=((g1-b1)/d+(g1<b1?6:0))*60;else if(max===g1)h=((b1-r1)/d+2)*60;else h=((r1-g1)/d+4)*60;return[h,s,l]}function hslToRgbFloat(h,s,l){let hh=h%360;if(hh<0)hh+=360;const c=(1-Math.abs(2*l-1))*s;const hp=hh/60;const x=c*(1-Math.abs(hp%2-1));let r1=0;let g1=0;let b1=0;if(hp<1){r1=c;g1=x}else if(hp<2){r1=x;g1=c}else if(hp<3){g1=c;b1=x}else if(hp<4){g1=x;b1=c}else if(hp<5){r1=x;b1=c}else{r1=c;b1=x}const m=l-c/2;return[(r1+m)*255,(g1+m)*255,(b1+m)*255]}const ACHROMATIC_HSL_EPS=1e-8;const ACHROMATIC_LCH_EPS=1e-4;function resolveHueEndpoints(aHue,aMag,bHue,bMag,eps){const aA=Math.abs(aMag)<=eps;const bA=Math.abs(bMag)<=eps;if(aA&&!bA)return[bHue,bHue];if(!aA&&bA)return[aHue,aHue];if(aA&&bA)return[aHue,aHue];return[aHue,bHue]}function hueDelta(a,b,arc){const raw=((b-a)%360+540)%360-180;const short=raw===-180?180:raw;if(arc==="short")return short;if(short===0)return 0;if(short===180)return 180;if(short>0)return short-360;return short+360}function cloneStop(c){if(c.space==="hsl"){return{r:c.r,g:c.g,b:c.b,a:c.a,space:"hsl",h:c.h,s:c.s,l:c.l}}return{r:c.r,g:c.g,b:c.b,a:c.a,space:"rgb"}}function pairRgb(a,b){return t=>{if(t===0)return cloneStop(a);if(t===1)return cloneStop(b);return{r:clampByte(lerp(a.r,b.r,t)),g:clampByte(lerp(a.g,b.g,t)),b:clampByte(lerp(a.b,b.b,t)),a:clampAlpha(lerp(a.a,b.a,t)),space:"rgb"}}}function pairLab(a,b){const labA=rgbByteToLab(a.r,a.g,a.b);const labB=rgbByteToLab(b.r,b.g,b.b);return t=>{if(t===0)return cloneStop(a);if(t===1)return cloneStop(b);const L=lerp(labA[0],labB[0],t);const A=lerp(labA[1],labB[1],t);const B=lerp(labA[2],labB[2],t);const[r,g,bl]=labToRgbByte(L,A,B);return{r,g,b:bl,a:clampAlpha(lerp(a.a,b.a,t)),space:"rgb"}}}function pairHsl(a,b,arc){const aHsl=a.space==="hsl"&&a.h!==void 0&&a.s!==void 0&&a.l!==void 0?[a.h,a.s,a.l]:rgbToHsl(a.r,a.g,a.b);const bHsl=b.space==="hsl"&&b.h!==void 0&&b.s!==void 0&&b.l!==void 0?[b.h,b.s,b.l]:rgbToHsl(b.r,b.g,b.b);const[fromHue,toHue]=resolveHueEndpoints(aHsl[0],aHsl[1],bHsl[0],bHsl[1],ACHROMATIC_HSL_EPS);const dh=hueDelta(fromHue,toHue,arc);return t=>{if(t===0)return cloneStop(a);if(t===1)return cloneStop(b);let h=fromHue+dh*t;h=(h%360+360)%360;const s=clamp(lerp(aHsl[1],bHsl[1],t),0,1);const l=clamp(lerp(aHsl[2],bHsl[2],t),0,1);const[r,g,bl]=hslToRgbFloat(h,s,l);return{r:clampByte(r),g:clampByte(g),b:clampByte(bl),a:clampAlpha(lerp(a.a,b.a,t)),space:"hsl",h,s,l}}}function pairLch(a,b,arc){const lchA=rgbByteToLch(a.r,a.g,a.b);const lchB=rgbByteToLch(b.r,b.g,b.b);const[fromHue,toHue]=resolveHueEndpoints(lchA[2],lchA[1],lchB[2],lchB[1],ACHROMATIC_LCH_EPS);const dh=hueDelta(fromHue,toHue,arc);return t=>{if(t===0)return cloneStop(a);if(t===1)return cloneStop(b);const L=lerp(lchA[0],lchB[0],t);const C=lerp(lchA[1],lchB[1],t);let h=fromHue+dh*t;h=(h%360+360)%360;const[r,g,bl]=lchToRgbByte(L,C,h);return{r,g,b:bl,a:clampAlpha(lerp(a.a,b.a,t)),space:"rgb"}}}function pairInterpolate(a,b,space,arc){switch(space){case"rgb":return pairRgb(a,b);case"lab":return pairLab(a,b);case"hsl":return pairHsl(a,b,arc);case"lch":return pairLch(a,b,arc);default:{const _exhaustive=space;void _exhaustive;return pairRgb(a,b)}}}const TABLEAU_10_HEX=["#4e79a7","#f28e2c","#e15759","#76b7b2","#59a14f","#edc949","#af7aa1","#ff9da7","#9c755f","#bab0ab"];const TABLEAU_20_HEX=["#4c78a8","#9ecae9","#f58518","#ffbf79","#54a24b","#88d27a","#b79a20","#f2cf5b","#439894","#83bcb6","#e45756","#ff9d98","#79706e","#bab0ac","#d67195","#fcbfd2","#b279a2","#d6a5c9","#9e765f","#d8b5a5"];const OBSERVABLE_10_HEX=["#4269d0","#efb118","#ff725c","#6cc5b0","#3ca951","#ff8ab7","#a463f2","#97bbf5","#9c6b4e","#9498a0"];const PAIRED_12_HEX=["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"];const SET3_12_HEX=["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"];export const categorical={tableau10:{name:"tableau10",type:"categorical",stops:parseStops(TABLEAU_10_HEX),recommendedSpace:"rgb"},tableau20:{name:"tableau20",type:"categorical",stops:parseStops(TABLEAU_20_HEX),recommendedSpace:"rgb"},observable10:{name:"observable10",type:"categorical",stops:parseStops(OBSERVABLE_10_HEX),recommendedSpace:"rgb"},paired12:{name:"paired12",type:"categorical",stops:parseStops(PAIRED_12_HEX),recommendedSpace:"rgb"},set3_12:{name:"set3_12",type:"categorical",stops:parseStops(SET3_12_HEX),recommendedSpace:"rgb"}};const VIRIDIS_9_HEX=["#440154","#482878","#3e4989","#31688e","#26828e","#208e8c","#35b779","#8fd744","#fde725"];const INFERNO_9_HEX=["#000004","#160b39","#420a68","#6a176e","#932667","#bc3754","#dd513a","#f37819","#fcffa4"];const MAGMA_9_HEX=["#000004","#140e36","#3b0f70","#641a80","#8c2981","#b73779","#de4968","#f7705c","#fcfdbf"];const PLASMA_9_HEX=["#0d0887","#41049d","#6a00a8","#8f0da4","#b12a90","#cc4778","#e16462","#f2844b","#f0f921"];const CIVIDIS_9_HEX=["#00224e","#123570","#3b496c","#575d6d","#707173","#8a8678","#a59c74","#c3b369","#fee838"];const BLUES_9_HEX=["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"];const GREENS_9_HEX=["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"];const ORANGES_9_HEX=["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"];const REDS_9_HEX=["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"];const PURPLES_9_HEX=["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"];const GREYS_9_HEX=["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"];export const sequential={viridis:{name:"viridis",type:"sequential",stops:parseStops(VIRIDIS_9_HEX),recommendedSpace:"lab"},inferno:{name:"inferno",type:"sequential",stops:parseStops(INFERNO_9_HEX),recommendedSpace:"lab"},magma:{name:"magma",type:"sequential",stops:parseStops(MAGMA_9_HEX),recommendedSpace:"lab"},plasma:{name:"plasma",type:"sequential",stops:parseStops(PLASMA_9_HEX),recommendedSpace:"lab"},cividis:{name:"cividis",type:"sequential",stops:parseStops(CIVIDIS_9_HEX),recommendedSpace:"lab"},blues:{name:"blues",type:"sequential",stops:parseStops(BLUES_9_HEX),recommendedSpace:"rgb"},greens:{name:"greens",type:"sequential",stops:parseStops(GREENS_9_HEX),recommendedSpace:"rgb"},oranges:{name:"oranges",type:"sequential",stops:parseStops(ORANGES_9_HEX),recommendedSpace:"rgb"},reds:{name:"reds",type:"sequential",stops:parseStops(REDS_9_HEX),recommendedSpace:"rgb"},purples:{name:"purples",type:"sequential",stops:parseStops(PURPLES_9_HEX),recommendedSpace:"rgb"},greys:{name:"greys",type:"sequential",stops:parseStops(GREYS_9_HEX),recommendedSpace:"rgb"}};const RDBU_11_HEX=["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"];const SPECTRAL_11_HEX=["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"];const PIYG_11_HEX=["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"];const BRBG_11_HEX=["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"];const PUOR_11_HEX=["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"];const RDYLBU_11_HEX=["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"];export const diverging={rdbu:{name:"rdbu",type:"diverging",stops:parseStops(RDBU_11_HEX),recommendedSpace:"lab"},spectral:{name:"spectral",type:"diverging",stops:parseStops(SPECTRAL_11_HEX),recommendedSpace:"lab"},piyg:{name:"piyg",type:"diverging",stops:parseStops(PIYG_11_HEX),recommendedSpace:"lab"},brbg:{name:"brbg",type:"diverging",stops:parseStops(BRBG_11_HEX),recommendedSpace:"lab"},puor:{name:"puor",type:"diverging",stops:parseStops(PUOR_11_HEX),recommendedSpace:"lab"},rdylbu:{name:"rdylbu",type:"diverging",stops:parseStops(RDYLBU_11_HEX),recommendedSpace:"lab"}};export function makeColorScale(scheme,options){const isScheme=!Array.isArray(scheme)&&"stops"in scheme;const stops=isScheme?scheme.stops:scheme;const recommended=isScheme?scheme.recommendedSpace:void 0;if(stops.length===0){throw new Error("makeColorScale: scheme has no stops")}const space=options?.space??recommended??"rgb";const arc=options?.hue??"short";if(stops.length===1){const only=stops[0];return _t=>cloneStop(only)}const N=stops.length;const last=N-1;const interpolators=new Array(last);for(let i=0;i<last;i++){interpolators[i]=pairInterpolate(stops[i],stops[i+1],space,arc)}return t=>{if(Number.isNaN(t)||t<=0)return cloneStop(stops[0]);if(t>=1)return cloneStop(stops[last]);const i=t*last;const lo=Math.floor(i);const hi=Math.ceil(i);if(lo===hi){return cloneStop(stops[lo])}const localT=i-lo;return interpolators[lo](localT)}}export function discretize(scheme,n,options){if(!Number.isFinite(n)||n<=0||!Number.isInteger(n)){throw new Error(`discretize: n must be a positive integer, got ${n}`)}const stops=scheme.stops;if(stops.length===0){throw new Error(`discretize: scheme '${scheme.name}' has no stops`)}if(scheme.type==="categorical"){if(n<=stops.length){return stops.slice(0,n).map(cloneStop)}const out2=stops.map(cloneStop);const tail=stops[stops.length-1];while(out2.length<n)out2.push(cloneStop(tail));return out2}const scale=makeColorScale(scheme,options);if(n===1)return[scale(.5)];const out=new Array(n);for(let i=0;i<n;i++){out[i]=scale(i/(n-1))}return out}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const CARTESIAN_AXIS_KINDS=["linear","time","category","log"];function isPlainObject(value){return Boolean(value)&&typeof value==="object"&&!Array.isArray(value)}export function isCartesianAxisKind(value){return CARTESIAN_AXIS_KINDS.includes(value)}const X_AXIS_DEFAULTS={kind:"linear",show:true,position:"bottom"};const Y_AXIS_DEFAULTS={kind:"linear",show:true,position:"left"};const TOOLTIP_DEFAULTS={show:true,mode:"single",openMode:"single",trigger:"hover",offset:8,interactive:false,hideOnLeave:true,connector:{show:false},draggable:false};const CROSSHAIR_DEFAULTS={show:false,mode:"vertical",snap:"nearest"};const GRID_LINES_DEFAULTS={x:true,y:true};function buildAxisSpec(base,overrides={}){const spec={kind:isCartesianAxisKind(overrides.kind)?overrides.kind:base.kind,show:overrides.show===void 0?base.show:overrides.show!==false,position:overrides.position??base.position,label:typeof overrides.label==="string"?overrides.label:void 0,min:Number.isFinite(overrides.min)?overrides.min:void 0,max:Number.isFinite(overrides.max)?overrides.max:void 0,tickCount:Number.isFinite(overrides.tickCount)&&overrides.tickCount>0?Math.floor(overrides.tickCount):void 0,format:typeof overrides.format==="function"?overrides.format:void 0};const id=overrides.id??base.id;if(id!==void 0)spec.id=id;if(Array.isArray(overrides.categories))spec.categories=overrides.categories.slice();const linkedTo=overrides.linkedTo;if(typeof linkedTo==="string"&&linkedTo.length>0)spec.linkedTo=linkedTo;else if(typeof linkedTo==="number"&&Number.isFinite(linkedTo))spec.linkedTo=linkedTo;if(overrides.reversed===true)spec.reversed=true;return spec}export function resolveCartesianAxisSpec(input,axis){const defaults=axis==="x"?X_AXIS_DEFAULTS:Y_AXIS_DEFAULTS;if(input===void 0||input===null||input==="auto"){return buildAxisSpec(defaults)}if(input==="off"||input===false){return buildAxisSpec({...defaults,show:false})}if(input===true){return buildAxisSpec({...defaults,show:true})}if(!isPlainObject(input)){return buildAxisSpec(defaults)}return buildAxisSpec(defaults,input)}function yAxisSlotPosition(index,requested){if(index<=1)return index===0?"left":"right";if(requested==="left"||requested==="right")return requested;return index%2===0?"left":"right"}function isEmptyYAxisSlot(input){return input===void 0||input===null||input===false||input==="off"}export function resolveCartesianYAxesSpec(input){const slotArray=Array.isArray(input)&&input.length>0;const entries=Array.isArray(input)?input:[input];const safeEntries=entries.length>0?entries:[void 0];return safeEntries.map((entry,index)=>{const spec=resolveCartesianAxisSpec(slotArray&&isEmptyYAxisSlot(entry)?"off":entry,"y");const requested=isPlainObject(entry)?entry.position:void 0;return{...spec,id:spec.id??index,position:yAxisSlotPosition(index,requested)}})}export function cartesianAxisKey(axis,fallbackIndex=0){return String(axis?.id??fallbackIndex)}export function cartesianSeriesYAxisKey(series){return String(series?.yAxis??series?.yAxisIndex??0)}export function cartesianSeriesXAxisKey(series){return String(series?.xAxis??series?.xAxisIndex??0)}function xAxisSlotPosition(index,requested){if(requested==="top"||requested==="bottom")return requested;return index%2===0?"bottom":"top"}export function resolveCartesianXAxesSpec(input){const slotArray=Array.isArray(input)&&input.length>0;const entries=Array.isArray(input)?input:[input];const safeEntries=entries.length>0?entries:[void 0];return safeEntries.map((entry,index)=>{const spec=resolveCartesianAxisSpec(slotArray&&isEmptyYAxisSlot(entry)?"off":entry,"x");const requested=isPlainObject(entry)?entry.position:void 0;return{...spec,id:spec.id??index,position:xAxisSlotPosition(index,requested)}})}export function resolveCartesianAxesSpec(xInput,yInput){const xAxes=resolveCartesianXAxesSpec(xInput);const yAxes=resolveCartesianYAxesSpec(yInput);return{x:xAxes.find(axis=>axis.show)??xAxes[0],y:yAxes.find(axis=>axis.show)??yAxes[0],xAxes,yAxes}}export function resolveCartesianTooltipSpec(input){if(input===void 0||input===null||input==="auto"||input===true){return{...TOOLTIP_DEFAULTS}}if(input==="off"||input===false){return{...TOOLTIP_DEFAULTS,show:false}}if(!isPlainObject(input)){return{...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:TOOLTIP_DEFAULTS.trigger;const openMode=value=>value==="multiple"?"multiple":TOOLTIP_DEFAULTS.openMode;const connector=resolveCartesianTooltipConnectorSpec(partial.connector);return{show:partial.show===false?false:true,mode:partial.mode??TOOLTIP_DEFAULTS.mode,openMode:openMode(partial.openMode),trigger:trigger(partial.trigger),side:partial.side,offset:Number.isFinite(partial.offset)&&partial.offset>=0?partial.offset: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,draggable:partial.draggable===true}}export function resolveCartesianTooltipConnectorSpec(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}}export function parseCartesianCrosshairInput(input){if(typeof input!=="string")return input;const value=input.trim();if(!value.startsWith("{"))return true;try{const options=JSON.parse(value);if(isPlainObject(options))return options}catch{}return true}export function resolveCartesianCrosshairSpec(input){input=parseCartesianCrosshairInput(input);if(input===void 0||input===null||input===false){return{...CROSSHAIR_DEFAULTS,show:false}}if(input===true){return{...CROSSHAIR_DEFAULTS,show:true}}if(!isPlainObject(input)){return{...CROSSHAIR_DEFAULTS}}const partial=input;return{show:partial.show===false?false:true,mode:partial.mode??CROSSHAIR_DEFAULTS.mode,snap:partial.snap??CROSSHAIR_DEFAULTS.snap,color:typeof partial.color==="string"?partial.color:void 0,dash:Array.isArray(partial.dash)?partial.dash.slice():void 0}}export function resolveCartesianGridLinesSpec(input){if(input===void 0||input===null||input==="auto"||input===true){return{...GRID_LINES_DEFAULTS}}if(input==="off"||input===false){return{x:false,y:false}}if(!isPlainObject(input)){return{...GRID_LINES_DEFAULTS}}const partial=input;return{x:partial.x===false?false:true,y:partial.y===false?false:true,color:typeof partial.color==="string"?partial.color:void 0,dash:Array.isArray(partial.dash)?partial.dash.slice():void 0}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const POINT_INTERVAL_UNIT_MS={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:26298e5,year:315576e5};const VALID_MARKER_SYMBOLS=new Set(["circle","square","triangle","triangle-down","cross","diamond","star","wye"]);function isPlainObject(value){return Boolean(value)&&typeof value==="object"&&!Array.isArray(value)}function isFiniteNumber(value){return typeof value==="number"&&Number.isFinite(value)}const INT32_MIN=-2147483648;const INT32_MAX=2147483647;const INT32_MIN_BIG=-2147483648n;const INT32_MAX_BIG=2147483647n;const INTEGER_STRING_RE=/^[+-]?\d+$/;function withinInt32(value){if(typeof value==="bigint")return value>=INT32_MIN_BIG&&value<=INT32_MAX_BIG;return Number.isFinite(value)&&value>=INT32_MIN&&value<=INT32_MAX}function normaliseNumericInput(value){if(typeof value==="number"){if(!Number.isFinite(value))return null;if(Number.isInteger(value)&&!withinInt32(value))return BigInt(value);return value}if(typeof value==="bigint"){return withinInt32(value)?Number(value):value}if(typeof value==="string"){const trimmed=value.trim();if(trimmed.length===0)return null;if(INTEGER_STRING_RE.test(trimmed)){const big=BigInt(trimmed);return withinInt32(big)?Number(big):big}const parsed=Number(trimmed);if(!Number.isFinite(parsed))return null;if(Number.isInteger(parsed)&&!withinInt32(parsed))return BigInt(parsed);return parsed}return null}function renderNumber(value){return typeof value==="bigint"?Number(value):value}function normaliseSeriesId(value){if(typeof value==="string"&&value.length>0)return value;if(isFiniteNumber(value))return value;return void 0}export function resolveSeriesIdentity(series,seriesIndex){const id=normaliseSeriesId(series?.id);const name=typeof series?.name==="string"&&series.name.length>0?series.name:typeof series?.label==="string"&&series.label.length>0?series.label:void 0;return{seriesIndex,id,name}}export function isSeriesVisible(series){return series?.visible!==false}export function isSeriesShownInLegend(series){return isSeriesVisible(series)}export function resolveSeriesLinkGraph(seriesList){const childrenOf=new Map;const masterOf=new Map;const knownIds=new Set;for(const series of seriesList){const id=normaliseSeriesId(series?.id);if(id!==void 0)knownIds.add(id)}let lastId;for(let i=0;i<seriesList.length;i++){const series=seriesList[i];const id=normaliseSeriesId(series?.id);if(id!==void 0&&!childrenOf.has(id))childrenOf.set(id,[]);const link=series?.linkedTo;if(link===void 0||link===null){if(id!==void 0)lastId=id;continue}const masterId=link===":previous"?lastId:normaliseSeriesId(link);if(masterId===void 0||id===void 0||!knownIds.has(masterId)){if(id!==void 0)lastId=id;continue}const children=childrenOf.get(masterId)??[];children.push(id);childrenOf.set(masterId,children);masterOf.set(id,masterId);lastId=id}return{childrenOf,masterOf}}function pointStartFor(series){const raw=series?.pointStart;return isFiniteNumber(raw)?raw:0}function pointIntervalFor(series){const raw=series?.pointInterval;if(!isFiniteNumber(raw)||raw<=0){const unit2=series?.pointIntervalUnit;if(unit2&&POINT_INTERVAL_UNIT_MS[unit2]!==void 0)return POINT_INTERVAL_UNIT_MS[unit2];return 1}const unit=series?.pointIntervalUnit;if(unit&&POINT_INTERVAL_UNIT_MS[unit]!==void 0)return raw*POINT_INTERVAL_UNIT_MS[unit];return raw}function normaliseYExact(value){if(value===null||value===void 0)return null;return normaliseNumericInput(value)}function normaliseY(value){return renderNumber(normaliseYExact(value))}function normaliseX(value){const parsed=normaliseNumericInput(value);if(parsed===null)return void 0;return typeof parsed==="bigint"?Number(parsed):parsed}function valuesFromIterable(input){if(input===void 0||input===null)return void 0;if(input instanceof Float32Array||input instanceof Float64Array){const out=new Array(input.length);for(let i=0;i<input.length;i++)out[i]=input[i];return out}if(typeof BigInt64Array!=="undefined"&&(input instanceof BigInt64Array||input instanceof BigUint64Array)){const out=new Array(input.length);for(let i=0;i<input.length;i++)out[i]=input[i];return out}if(Array.isArray(input))return input;return void 0}function applyKeys(item,keys){const out={};for(let i=0;i<keys.length&&i<item.length;i++){const key=keys[i];const value=item[i];switch(key){case"x":{const x=normaliseX(value);if(x!==void 0)out.x=x;break}case"y":out.y=value??null;break;case"name":if(typeof value==="string")out.name=value;break;case"color":if(typeof value==="string")out.color=value;break;case"id":out.id=normaliseSeriesId(value);break;case"selected":if(typeof value==="boolean")out.selected=value;break;default:if(!out.custom)out.custom={};out.custom[key]=value;break}}return out}function readPointObject(item,series){if(item===null||item===void 0){return{kind:"datum",y:null}}if(typeof item==="number"||typeof item==="bigint"||typeof item==="string"){return{kind:"datum",y:item}}if(Array.isArray(item)){const keys=series?.keys;if(keys&&keys.length>0){return{kind:"tuple",...applyKeys(item,keys)}}const[xRaw,yRaw]=item;return{kind:"tuple",x:normaliseX(xRaw),y:yRaw===null||yRaw===void 0?null:yRaw}}if(isPlainObject(item)){const obj=item;return{kind:"object",x:normaliseX(obj.x),y:obj.y===void 0?null:obj.y,name:typeof obj.name==="string"?obj.name:void 0,color:typeof obj.color==="string"?obj.color:void 0,marker:isPlainObject(obj.marker)?obj.marker:void 0,custom:isPlainObject(obj.custom)?obj.custom:void 0,id:normaliseSeriesId(obj.id),selected:typeof obj.selected==="boolean"?obj.selected:void 0}}return{kind:"datum",y:null}}export function resolveSeriesData(series,options={}){const data=series?.data;const start=pointStartFor(series);const interval=pointIntervalFor(series);const relative=series?.relativeXValue===true;if(Array.isArray(data)&&data.length>0){const length2=data.length;let hasExplicitX=false;const xs=new Array(length2);const ys=new Array(length2);const exactYs=new Array(length2);const pointCache=new Array(length2);for(let i=0;i<length2;i++){const parsed=readPointObject(data[i],series);const exact=parsed.y===void 0?null:normaliseYExact(parsed.y);const y=renderNumber(exact);ys[i]=y;exactYs[i]=exact;if(parsed.x!==void 0){hasExplicitX=true;xs[i]=relative?start+parsed.x:parsed.x}else{xs[i]=start+i*interval}if(parsed.kind==="object"||parsed.kind==="tuple"){pointCache[i]={x:xs[i],y,...typeof exact==="bigint"?{exactY:exact}:{},name:parsed.name,color:parsed.color,marker:parsed.marker?resolveSeriesMarkerSpec(parsed.marker):void 0,custom:parsed.custom,id:parsed.id,selected:parsed.selected}}}return{length:length2,hasExplicitX,getX:i=>xs[i]??start+i*interval,getY:i=>i>=0&&i<length2?ys[i]:null,getExactY:i=>i>=0&&i<length2?exactYs[i]:null,getPoint:i=>pointCache[i]??{x:xs[i]??start+i*interval,y:ys[i]??null,...typeof exactYs[i]==="bigint"?{exactY:exactYs[i]}:{}}}}const fallback=valuesFromIterable(series?.values)??valuesFromIterable(options.fallbackValues)??[];const length=fallback.length;return{length,hasExplicitX:false,getX:i=>start+i*interval,getY:i=>i>=0&&i<length?normaliseY(fallback[i]):null,getExactY:i=>i>=0&&i<length?normaliseYExact(fallback[i]):null,getPoint:i=>{const exact=normaliseYExact(fallback[i]??null);return{x:start+i*interval,y:renderNumber(exact),...typeof exact==="bigint"?{exactY:exact}:{}}}}}export function resolveSeriesYValues(series,options={}){const resolved=resolveSeriesData(series,options);const values=new Array(resolved.length);for(let i=0;i<resolved.length;i++)values[i]=resolved.getY(i);return values}export function resolveSeriesXValues(series,options={}){const resolved=resolveSeriesData(series,options);const values=new Array(resolved.length);for(let i=0;i<resolved.length;i++)values[i]=resolved.getX(i);return values}function resolveMarkerState(input){if(!isPlainObject(input))return void 0;const symbol=VALID_MARKER_SYMBOLS.has(input.symbol)?input.symbol:void 0;return{enabled:input.enabled!==false,symbol,radius:isFiniteNumber(input.radius)&&input.radius>=0?input.radius:void 0,fillColor:typeof input.fillColor==="string"?input.fillColor:void 0,lineColor:typeof input.lineColor==="string"?input.lineColor:void 0,lineWidth:isFiniteNumber(input.lineWidth)&&input.lineWidth>=0?input.lineWidth:void 0}}export function resolveSeriesMarkerSpec(input){if(input===void 0||input===null){return{enabled:true,states:{}}}if(typeof input==="string"){if(input==="none")return{enabled:false,states:{}};if(VALID_MARKER_SYMBOLS.has(input)){return{enabled:true,symbol:input,states:{}}}return{enabled:true,states:{}}}if(!isPlainObject(input)){return{enabled:true,states:{}}}const partial=input;const base=resolveMarkerState(partial)??{enabled:true};return{...base,states:{hover:resolveMarkerState(partial.states?.hover),select:resolveMarkerState(partial.states?.select),inactive:resolveMarkerState(partial.states?.inactive)}}}function applyValueFormatting(raw,value,input){if(!input)return raw;const prefix=typeof input.valuePrefix==="string"?input.valuePrefix:"";const suffix=typeof input.valueSuffix==="string"?input.valueSuffix:"";if(isFiniteNumber(input.valueDecimals)&&input.valueDecimals>=0&&raw===String(value)){return`${prefix}${value.toFixed(Math.floor(input.valueDecimals))}${suffix}`}if(prefix.length===0&&suffix.length===0)return raw;return`${prefix}${raw}${suffix}`}function applyPointFormatTokens(template,context,identity){return template.replace(/\{series\.id\}/g,identity.id===void 0?"":String(identity.id)).replace(/\{series\.name\}/g,identity.name??"").replace(/\{point\.x\}/g,context.dataX===void 0?"":String(context.dataX)).replace(/\{point\.y\}/g,String(context.value)).replace(/\{value\}/g,String(context.value))}export function resolveSeriesTooltipSpec(series,identity){const input=series?.tooltip;if(!input)return{};const valueDecimals=isFiniteNumber(input.valueDecimals)&&input.valueDecimals>=0?Math.floor(input.valueDecimals):void 0;const format=(()=>{if(typeof input.format==="function"){return(value,context)=>{const raw=input.format(value,context);return applyValueFormatting(raw,value,input)}}if(typeof input.pointFormatter==="function"){return(value,context)=>{const raw=input.pointFormatter(context);return applyValueFormatting(raw,value,input)}}if(typeof input.pointFormat==="string"&&input.pointFormat.length>0){const template=input.pointFormat;return(value,context)=>{const raw=applyPointFormatTokens(template,context,identity);return applyValueFormatting(raw,value,input)}}if(valueDecimals!==void 0||typeof input.valuePrefix==="string"||typeof input.valueSuffix==="string"){return value=>{const base=valueDecimals===void 0?String(value):value.toFixed(valueDecimals);const prefix=typeof input.valuePrefix==="string"?input.valuePrefix:"";const suffix=typeof input.valueSuffix==="string"?input.valueSuffix:"";return`${prefix}${base}${suffix}`}}return void 0})();return{format,valuePrefix:typeof input.valuePrefix==="string"?input.valuePrefix:void 0,valueSuffix:typeof input.valueSuffix==="string"?input.valueSuffix:void 0,valueDecimals,xDateFormat:typeof input.xDateFormat==="string"?input.xDateFormat:void 0}}export function resolveSeriesZones(series){const zonesInput=series?.zones;if(!Array.isArray(zonesInput)||zonesInput.length===0)return void 0;const axis=series?.zoneAxis==="x"?"x":"y";const sorted=zonesInput.map(zone=>({upper:isFiniteNumber(zone?.value)?zone.value:Number.POSITIVE_INFINITY,color:typeof zone?.color==="string"?zone.color:void 0,fillColor:typeof zone?.fillColor==="string"?zone.fillColor:void 0,dashStyle:zone?.dashStyle})).sort((a,b)=>a.upper-b.upper);return{axis,zones:sorted}}const DEFAULT_DATA_LABELS={enabled:false,align:"center",verticalAlign:"top",allowOverlap:false,padding:2};export function resolveSeriesDataLabels(series){const raw=series?.dataLabels;if(!isPlainObject(raw))return{...DEFAULT_DATA_LABELS};const input=raw;return{enabled:input.enabled===true,format:typeof input.format==="string"?input.format:void 0,formatter:typeof input.formatter==="function"?input.formatter:void 0,color:typeof input.color==="string"?input.color:void 0,align:input.align==="left"||input.align==="right"?input.align:"center",verticalAlign:input.verticalAlign==="middle"||input.verticalAlign==="bottom"?input.verticalAlign:"top",filter:typeof input.filter==="function"?input.filter:void 0,allowOverlap:input.allowOverlap===true,padding:isFiniteNumber(input.padding)&&input.padding>=0?input.padding:DEFAULT_DATA_LABELS.padding}}export function resolveSeriesDataSorting(series){const input=series?.dataSorting;if(!isPlainObject(input))return{enabled:false,sortKey:"y",matchByName:false};return{enabled:input.enabled===true,sortKey:typeof input.sortKey==="string"&&input.sortKey.length>0?input.sortKey:"y",matchByName:input.matchByName===true}}export function buildPointEventDetail(identity,pointIndex,point){return{seriesIndex:identity.seriesIndex,seriesId:identity.id,seriesName:identity.name,pointIndex,pointId:point?.id}}export function pickEffectiveTooltipFormatter(chartLevel,seriesLevel){if(seriesLevel?.format)return seriesLevel.format;return chartLevel?.format??void 0}const BORDER_DASH_STYLES={Solid:[],Dash:[4,3],Dot:[0,4],DashDot:[4,3,1,3],LongDash:[8,4],LongDashDot:[8,4,1,4]};function clampNonNegative(value){if(typeof value!=="number"||!Number.isFinite(value)||value<0)return 0;return value}function parseFiniteNumber(value){if(typeof value==="number"&&Number.isFinite(value))return value;if(typeof value==="string"&&value.trim()){const parsed=Number(value);if(Number.isFinite(parsed))return parsed}return void 0}function resolveCornerRadii(input){if(input===void 0||input===null)return[0,0,0,0];const uniformRadius=parseFiniteNumber(input);if(uniformRadius!==void 0){const r=clampNonNegative(uniformRadius);return[r,r,r,r]}if(Array.isArray(input)){return[clampNonNegative(input[0]),clampNonNegative(input[1]),clampNonNegative(input[2]),clampNonNegative(input[3])]}if(isPlainObject(input)){const obj=input;return[clampNonNegative(obj.topLeft),clampNonNegative(obj.topRight),clampNonNegative(obj.bottomRight),clampNonNegative(obj.bottomLeft)]}return[0,0,0,0]}export function resolveSeriesBorderSpec(series,chartLevel){const radiusSource=series?.borderRadius!==void 0?series.borderRadius:chartLevel?.borderRadius;const colorSource=typeof series?.borderColor==="string"?series.borderColor:typeof chartLevel?.borderColor==="string"?chartLevel.borderColor:void 0;const seriesWidth=parseFiniteNumber(series?.borderWidth);const chartWidth=parseFiniteNumber(chartLevel?.borderWidth);const widthSource=seriesWidth!==void 0?seriesWidth:chartWidth!==void 0?chartWidth:0;const dashKey=series?.borderDashStyle??chartLevel?.borderDashStyle;const dash=dashKey&&BORDER_DASH_STYLES[dashKey]?[...BORDER_DASH_STYLES[dashKey]]:[];return{cornerRadii:resolveCornerRadii(radiusSource),color:colorSource,width:clampNonNegative(widthSource),dash}}export function resolveSeriesStackSpec(series,chartLevelStacking){const stacking=series?.stacking??chartLevelStacking;if(stacking!=="normal"&&stacking!=="percent")return{};const stack=normaliseSeriesId(series?.stack)??"__default__";return{stack,stacking}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{resolveCartesianAxisSpec,resolveCartesianAxesSpec,resolveCartesianYAxesSpec,cartesianAxisKey,cartesianSeriesXAxisKey,cartesianSeriesYAxisKey,resolveCartesianTooltipSpec,resolveCartesianTooltipConnectorSpec,resolveCartesianCrosshairSpec,parseCartesianCrosshairInput,resolveCartesianGridLinesSpec}from"./cartesian-contract.js";export{buildPointEventDetail,isSeriesShownInLegend,isSeriesVisible,pickEffectiveTooltipFormatter,resolveSeriesData,resolveSeriesDataLabels,resolveSeriesDataSorting,resolveSeriesIdentity,resolveSeriesLinkGraph,resolveSeriesBorderSpec,resolveSeriesMarkerSpec,resolveSeriesStackSpec,resolveSeriesTooltipSpec,resolveSeriesXValues,resolveSeriesYValues,resolveSeriesZones}from"./cartesian-series-contract.js";export*from"./density-map-contract.js";export*from"./spectrogram-contract.js";export*from"./calendar-heatmap-contract.js";export*from"./candlestick-contract.js";export*from"./box-plot-contract.js";export*from"./bubble-contract.js";export*from"./waterfall-contract.js";export*from"./error-bar-contract.js";export*from"./sankey-contract.js";export*from"./chord-contract.js";export*from"./network-graph-contract.js";export*from"./treemap-contract.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
package/dist/collection/components/chart/_shared/core/contract/parallel-coordinates-contract.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function snapCategoryCrosshair(cssX,cssY,plot,axis,bands,points,snap){const clampX=Math.min(plot.x+plot.width,Math.max(plot.x,cssX));const clampY=Math.min(plot.y+plot.height,Math.max(plot.y,cssY));if(snap==="off")return{cssX:clampX,cssY:clampY};if(snap==="nearest"){if(points.length===0)return{cssX:clampX,cssY:clampY};let best=points[0];let bestDist=Number.POSITIVE_INFINITY;for(const p of points){const dx=p.cssX-clampX;const dy=p.cssY-clampY;const d=dx*dx+dy*dy;if(d<bestDist){bestDist=d;best=p}}return{cssX:best.cssX,cssY:best.cssY,index:best.index}}if(bands.length===0)return{cssX:clampX,cssY:clampY};const cursorPos=axis==="x"?cssX:cssY;let nearest=bands[0];for(const b of bands){if(Math.abs(b.pos-cursorPos)<Math.abs(nearest.pos-cursorPos))nearest=b}return axis==="x"?{cssX:nearest.pos,cssY:clampY,index:nearest.index}:{cssX:clampX,cssY:nearest.pos,index:nearest.index}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function coerceNonNegative(value,def){if(value===void 0)return def;if(typeof value!=="number"||!Number.isFinite(value)||value<0){return 0}return value}function isValidMode(mode){return mode==="vertical"||mode==="horizontal"||mode==="cross"}function isValidSnap(snap){return snap==="none"||snap==="x"||snap==="y"||snap==="both"}function isFiniteSize(size){return size!==void 0&&Number.isFinite(size.width)&&Number.isFinite(size.height)&&size.width>0&&size.height>0}function clamp(value,lo,hi){if(lo>hi)return lo;if(value<lo)return lo;if(value>hi)return hi;return value}function coerceLabelText(value){return String(value)}export function computeCrosshair(input){const{mode:modeInput,pointer:pointerInput,plotArea,snap:snapInput,snapAnchors,snapTolerance:snapToleranceInput,axisLabel}=input;let mode;if(isValidMode(modeInput)){mode=modeInput}else{console.warn(`[Syidax] sy-chart crosshair: invalid mode "${String(modeInput)}"; coerced to "vertical".`);mode="vertical"}if(!plotArea||!Number.isFinite(plotArea.x)||!Number.isFinite(plotArea.y)||!Number.isFinite(plotArea.width)||!Number.isFinite(plotArea.height)||plotArea.width<=0||plotArea.height<=0){console.warn("[Syidax] sy-chart crosshair: degenerate plot area; returning empty result.");return{vertical:null,horizontal:null,xAxisLabel:null,yAxisLabel:null,snapped:{x:false,y:false},meta:{mode,clampedX:false,clampedY:false}}}let snap;if(snapInput===void 0){snap="none"}else if(isValidSnap(snapInput)){snap=snapInput}else{console.warn(`[Syidax] sy-chart crosshair: invalid snap "${String(snapInput)}"; coerced to "none".`);snap="none"}const snapTolerance=coerceNonNegative(snapToleranceInput,12);const plotCenterX=plotArea.x+plotArea.width/2;const plotCenterY=plotArea.y+plotArea.height/2;let rawX;let rawY;if(!pointerInput||!Number.isFinite(pointerInput.x)||!Number.isFinite(pointerInput.y)){console.warn("[Syidax] sy-chart crosshair: non-finite pointer; coerced to plot-area center.");rawX=plotCenterX;rawY=plotCenterY}else{rawX=pointerInput.x;rawY=pointerInput.y}const minPx=plotArea.x;const maxPx=plotArea.x+plotArea.width;const minPy=plotArea.y;const maxPy=plotArea.y+plotArea.height;let pointerX=rawX;let pointerY=rawY;let clampedX=false;let clampedY=false;if(pointerX<minPx){pointerX=minPx;clampedX=true}else if(pointerX>maxPx){pointerX=maxPx;clampedX=true}if(pointerY<minPy){pointerY=minPy;clampedY=true}else if(pointerY>maxPy){pointerY=maxPy;clampedY=true}let snapX=pointerX;let snapY=pointerY;let snappedX=false;let snappedY=false;let snapAnchorXValue;let snapAnchorYValue;if(snap!=="none"&&snapAnchors!==void 0&&snapAnchors.length>0){const candidates=[];for(const a of snapAnchors){if(a!==null&&a!==void 0&&Number.isFinite(a.x)&&Number.isFinite(a.y)){candidates.push({x:a.x,y:a.y})}}if(candidates.length>0){if(snap==="both"){let best=candidates[0];let bestDist=Math.hypot(best.x-pointerX,best.y-pointerY);for(let i=1;i<candidates.length;i++){const c=candidates[i];const d=Math.hypot(c.x-pointerX,c.y-pointerY);if(d<bestDist){bestDist=d;best=c}}if(bestDist<=snapTolerance){snapX=best.x;snapY=best.y;snappedX=true;snappedY=true;snapAnchorXValue=best.x;snapAnchorYValue=best.y}}else if(snap==="x"){let best=candidates[0];let bestDist=Math.abs(best.x-pointerX);for(let i=1;i<candidates.length;i++){const c=candidates[i];const d=Math.abs(c.x-pointerX);if(d<bestDist){bestDist=d;best=c}}if(bestDist<=snapTolerance){snapX=best.x;snappedX=true;snapAnchorXValue=best.x}}else{let best=candidates[0];let bestDist=Math.abs(best.y-pointerY);for(let i=1;i<candidates.length;i++){const c=candidates[i];const d=Math.abs(c.y-pointerY);if(d<bestDist){bestDist=d;best=c}}if(bestDist<=snapTolerance){snapY=best.y;snappedY=true;snapAnchorYValue=best.y}}}}let vertical=null;let horizontal=null;if(mode==="vertical"||mode==="cross"){const line={x1:snapX,y1:plotArea.y,x2:snapX,y2:plotArea.y+plotArea.height};if(snapAnchorXValue!==void 0){line.dataValue=snapAnchorXValue}vertical=line}if(mode==="horizontal"||mode==="cross"){const line={x1:plotArea.x,y1:snapY,x2:plotArea.x+plotArea.width,y2:snapY};if(snapAnchorYValue!==void 0){line.dataValue=snapAnchorYValue}horizontal=line}let xAxisLabel=null;let yAxisLabel=null;if(axisLabel!==void 0){const labelPadding=coerceNonNegative(axisLabel.padding,4);if(vertical!==null&&isFiniteSize(axisLabel.xLabelSize)){let text=null;if(typeof axisLabel.xLabel==="string"){text=axisLabel.xLabel}else if(axisLabel.xValue!==void 0){text=coerceLabelText(axisLabel.xValue)}if(text!==null){const size=axisLabel.xLabelSize;const centeredX=snapX-size.width/2;const minX=plotArea.x;const maxX=plotArea.x+plotArea.width-size.width;const x=clamp(centeredX,minX,maxX);const y=plotArea.y+plotArea.height+labelPadding;xAxisLabel={x,y,width:size.width,height:size.height,text,side:"bottom"}}}if(horizontal!==null&&isFiniteSize(axisLabel.yLabelSize)){let text=null;if(typeof axisLabel.yLabel==="string"){text=axisLabel.yLabel}else if(axisLabel.yValue!==void 0){text=coerceLabelText(axisLabel.yValue)}if(text!==null){const size=axisLabel.yLabelSize;const centeredY=snapY-size.height/2;const minY=plotArea.y;const maxY=plotArea.y+plotArea.height-size.height;const y=clamp(centeredY,minY,maxY);const x=plotArea.x-size.width-labelPadding;yAxisLabel={x,y,width:size.width,height:size.height,text,side:"left"}}}}return{vertical,horizontal,xAxisLabel,yAxisLabel,snapped:{x:snappedX,y:snappedY},meta:{mode,clampedX,clampedY}}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{computeCrosshair}from"./crosshair.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const ISO_DATE=/^\d{4}-\d{2}(-\d{2})?([T ]\d{2}:\d{2}(:\d{2}(\.\d+)?)?(Z|[+-]\d{2}:?\d{2})?)?$/;export function isEmptyCell(value){return value===null||value===void 0||typeof value==="string"&&value.trim().length===0||typeof value==="number"&&Number.isNaN(value)}function isNumericCell(value){if(typeof value==="number")return Number.isFinite(value);if(typeof value==="bigint")return true;if(typeof value==="string"){const text=value.trim();return text.length>0&&Number.isFinite(Number(text))}return false}function isTimeCell(value){if(value instanceof Date)return!Number.isNaN(value.getTime());return typeof value==="string"&&ISO_DATE.test(value.trim())}export function inferDimensionType(values){let seen=0;let numeric=0;let time=0;for(const value of values){if(isEmptyCell(value))continue;seen++;if(isNumericCell(value))numeric++;else if(isTimeCell(value))time++}if(seen===0)return"ordinal";if(numeric===seen)return"number";if(time===seen)return"time";return"ordinal"}export function cellToNumber(value,type,categories){if(isEmptyCell(value))return null;if(type==="time"){if(value instanceof Date)return Number.isNaN(value.getTime())?null:value.getTime();if(typeof value==="number")return Number.isFinite(value)?value:null;if(typeof value==="string"){const ms=Date.parse(value.trim());return Number.isNaN(ms)?null:ms}return null}if(type==="number"){if(typeof value==="number")return Number.isFinite(value)?value:null;if(typeof value==="bigint")return Number(value);if(typeof value==="boolean")return value?1:0;if(typeof value==="string"){const parsed=Number(value.trim());return Number.isFinite(parsed)?parsed:null}if(value instanceof Date)return Number.isNaN(value.getTime())?null:value.getTime();return null}const index=categories?.get(cellText(value));return index===void 0?null:index}export function cellText(value){if(isEmptyCell(value))return"";if(value instanceof Date)return value.toISOString();return String(value)}function isColumnSource(source){return!Array.isArray(source)&&typeof source==="object"&&source!==null}function isObjectRow(row){return!!row&&!Array.isArray(row)&&typeof row==="object"}function isDataLikeCell(value){return typeof value!=="string"||isNumericCell(value)||isTimeCell(value)}export function detectArrayHeader(rows){const first=rows[0];if(!first||first.length===0)return false;if(!first.every(cell=>typeof cell==="string"))return false;const second=rows[1];if(!second)return true;if(second.some(cell=>typeof cell!=="string"))return true;if(first.some(cell=>isDataLikeCell(cell)))return false;return second.some(cell=>isDataLikeCell(cell))}function normalizeDimensionInputs(inputs){if(!inputs)return[];const out=[];for(const entry of inputs){if(typeof entry==="string"){if(entry.length>0)out.push({name:entry})}else if(entry&&typeof entry==="object"&&typeof entry.name==="string"&&entry.name.length>0){out.push({name:entry.name,type:entry.type,displayName:entry.displayName})}}return out}function validType(type){return type==="number"||type==="ordinal"||type==="time"?type:void 0}function isRowList(input){return Array.isArray(input)}export function createDataset(input){const normalized=isRowList(input)?{source:input}:input??{source:[]};const declared=normalizeDimensionInputs(normalized.dimensions);let names=[];let rows=[];const source=normalized.source;if(isColumnSource(source)){names=Object.keys(source);const length=names.reduce((max,name)=>Math.max(max,Array.isArray(source[name])?source[name].length:0),0);for(let r=0;r<length;r++)rows.push(names.map(name=>Array.isArray(source[name])?source[name][r]:void 0));if(declared.length>0){const picked=declared.map(dim=>dim.name);const indexOf=new Map(names.map((name,i)=>[name,i]));rows=rows.map(row=>picked.map(name=>indexOf.has(name)?row[indexOf.get(name)]:void 0));names=picked}}else if(Array.isArray(source)&&source.length>0&&isObjectRow(source[0])){const objects=source.filter(isObjectRow);if(declared.length>0){names=declared.map(dim=>dim.name)}else{const seen=new Set;for(const row of objects)for(const key of Object.keys(row))if(!seen.has(key)){seen.add(key);names.push(key)}}rows=objects.map(row=>names.map(name=>row[name]))}else{const arrays=(Array.isArray(source)?source:[]).filter(row=>Array.isArray(row));const headerMode=normalized.sourceHeader??"auto";const hasHeader=headerMode===true||headerMode==="auto"&&detectArrayHeader(arrays);const header=hasHeader?(arrays[0]??[]).map(cell=>cellText(cell)):[];const body=hasHeader?arrays.slice(1):arrays;const width=body.reduce((max,row)=>Math.max(max,row.length),Math.max(header.length,declared.length));names=[];for(let c=0;c<width;c++){const declaredName=declared[c]?.name;const headerName=header[c];names.push(declaredName??(headerName&&headerName.length>0?headerName:`dim${c}`))}rows=body.map(row=>names.map((_,c)=>row[c]))}const declaredByName=new Map(declared.map(dim=>[dim.name,dim]));const dimensions=names.map((name,index)=>{const decl=declaredByName.get(name)??(isColumnSource(source)||Array.isArray(source)&&isObjectRow(source[0])?void 0:declared[index]);const declaredType=validType(decl?.type);const type=declaredType??inferDimensionType(rows.map(row=>row[index]));return{index,name,displayName:decl?.displayName??name,type,declared:declaredType!==void 0}});const frozenRows=rows;const byName=new Map(dimensions.map(dim=>[dim.name,dim]));const categoryCache=new Map;const resolve=ref=>typeof ref==="number"?dimensions[ref]:byName.get(ref);const categoryIndex=dim=>{let cached=categoryCache.get(dim.index);if(!cached){const list=[];const index=new Map;for(const row of frozenRows){const cell=row[dim.index];if(isEmptyCell(cell))continue;const text=cellText(cell);if(!index.has(text)){index.set(text,list.length);list.push(text)}}cached={list,index};categoryCache.set(dim.index,cached)}return cached};return{id:normalized.id,dimensions,rows:frozenRows,rowCount:frozenRows.length,dimension:resolve,column:ref=>{const dim=resolve(ref);return dim?frozenRows.map(row=>row[dim.index]):[]},numbers:ref=>{const dim=resolve(ref);if(!dim)return[];const categories=dim.type==="ordinal"?categoryIndex(dim).index:void 0;return frozenRows.map(row=>cellToNumber(row[dim.index],dim.type,categories))},categories:ref=>{const dim=resolve(ref);return dim?[...categoryIndex(dim).list]:[]},row:index=>{const row=frozenRows[index];if(!row)return{};const out={};for(const dim of dimensions)out[dim.name]=row[dim.index];return out}}}export function datasetFromRows(dimensions,rows,id){return createDataset({id,source:rows,sourceHeader:false,dimensions:dimensions.map(dim=>({name:dim.name,type:dim.type,displayName:dim.displayName}))})}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{cellText,isEmptyCell}from"./dataset.js";export function resolveEncodeDimensions(dataset,encode){const dims=dataset.dimensions;const find=ref=>ref===void 0?void 0:dataset.dimension(ref)?.index;let x=find(encode?.x);let y=find(encode?.y);if(encode?.x===void 0&&dims.length>1)x=0;if(y===void 0){const candidate=dims.find(dim=>dim.type==="number"&&dim.index!==x)??dims.find(dim=>dim.index!==x)??dims[0];y=candidate?.index}if(x===y)x=void 0;const z=find(encode?.z);const itemName=find(encode?.itemName);const tooltip=(encode?.tooltip??[]).map(find).filter(index=>index!==void 0);return{x,y,z,itemName,tooltip}}export function encodeDataset(dataset,encode,family){const encodes=Array.isArray(encode)?encode.length>0?encode:[{}]:[encode??{}];const series=[];let categories=[];let xKind="index";for(const entry of encodes){const resolved=resolveEncodeDimensions(dataset,entry);const xDim=resolved.x!==void 0?dataset.dimension(resolved.x):void 0;const yDim=resolved.y!==void 0?dataset.dimension(resolved.y):void 0;const zDim=resolved.z!==void 0?dataset.dimension(resolved.z):void 0;const nameDim=resolved.itemName!==void 0?dataset.dimension(resolved.itemName):void 0;const ys=yDim?dataset.numbers(yDim.index):dataset.rows.map(()=>null);const xNumeric=xDim&&xDim.type!=="ordinal"?dataset.numbers(xDim.index):null;if(xDim){if(xDim.type==="ordinal"){if(categories.length===0)categories=dataset.column(xDim.index).map(cell=>cellText(cell));xKind="ordinal"}else{xKind=xDim.type}}const names=nameDim?dataset.column(nameDim.index).map(cell=>isEmptyCell(cell)?void 0:cellText(cell)):void 0;const meta={x:xDim?.name,y:yDim?.name,z:zDim?.name,itemName:nameDim?.name,tooltip:resolved.tooltip.map(index=>dataset.dimensions[index].name)};const name=entry.seriesName??yDim?.displayName??`series ${series.length+1}`;if(family==="scatter"){const zs=zDim?dataset.numbers(zDim.index):null;const values=ys.map((y,i)=>{const datum={x:xNumeric?xNumeric[i]??i:i,y};const z=zs?.[i];if(z!==null&&z!==void 0)datum.z=z;const label=names?.[i];if(label!==void 0)datum.name=label;return datum});series.push({name,values,encode:meta})}else{const entryOut={name,values:ys,encode:meta};if(xNumeric)entryOut.xValues=xNumeric.map((x,i)=>x??i);series.push(entryOut)}}return{series,categories,xKind}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{cellText,cellToNumber,createDataset,datasetFromRows,detectArrayHeader,inferDimensionType,isEmptyCell}from"./dataset.js";export{applyTransform,applyTransforms,boxplotDataset,filterDataset,lttbIndices,matchesCondition,quantileSorted,regressionDataset,sampleDataset,sortDataset,summarizeBox}from"./transforms.js";
|