@aiquants/spreadsheet 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/README.md +2 -0
- package/dist/index.cjs +13 -13
- package/dist/index.d.cts +37 -0
- package/dist/index.d.ts +37 -0
- package/dist/index.js +3671 -3655
- package/package.json +1 -1
- package/src/Spreadsheet.tsx +58 -0
- package/src/grid/GridBody.tsx +22 -0
package/dist/index.d.cts
CHANGED
|
@@ -1678,6 +1678,43 @@ export declare type SpreadsheetProps = {
|
|
|
1678
1678
|
* 宣言の不在信号 (エンジン既定) で、本パッケージでの値フォールバックなし。
|
|
1679
1679
|
*/
|
|
1680
1680
|
tapScrollCircleOptions?: ScrollBarTapCircleOptions;
|
|
1681
|
+
/**
|
|
1682
|
+
* Row-axis overscan pass-through (the VirtualGrid `overscanRows` knob; LIVE prop): rows
|
|
1683
|
+
* rendered beyond each vertical viewport edge. This slack is the only thing absorbing the
|
|
1684
|
+
* engine's one-frame rendering-window lag during fast scrolling (the blank-band remedy —
|
|
1685
|
+
* the slack in px is overscan × row height per edge). Undefined ⇒ the engine default (3).
|
|
1686
|
+
* The engine clamps invalid values silently, so THIS surface owns the fail-fast: a
|
|
1687
|
+
* non-integer or negative value throws a RangeError at render. Cost multiplies with the
|
|
1688
|
+
* column axis (bounded by the engine cell cap).
|
|
1689
|
+
* 行軸 overscan の素通し (VirtualGrid `overscanRows`。ライブ prop): 縦 viewport 端の外側へ
|
|
1690
|
+
* 描画する行数。高速スクロール時の描画窓 1 フレーム遅れを吸収する唯一の余裕 (白帯対策 —
|
|
1691
|
+
* 余裕 px は片端あたり overscan × 行高)。undefined はエンジン既定 (3)。エンジンは不正値を
|
|
1692
|
+
* 無言クランプするため fail-fast は本層所有 — 非整数・負値は render 時 RangeError。費用は
|
|
1693
|
+
* 列軸との積で増幅 (エンジンのセル上限で有界)。
|
|
1694
|
+
*/
|
|
1695
|
+
overscanRows?: number;
|
|
1696
|
+
/**
|
|
1697
|
+
* Column-axis overscan pass-through (the VirtualGrid `overscanCols` knob; LIVE prop) — the
|
|
1698
|
+
* column twin of `overscanRows`, same validation contract (non-negative integer or
|
|
1699
|
+
* RangeError; undefined ⇒ engine default 3).
|
|
1700
|
+
* 列軸 overscan の素通し (VirtualGrid `overscanCols`。ライブ prop) — `overscanRows` の
|
|
1701
|
+
* 列双子。検証契約は同文 (非負整数、それ以外 RangeError。undefined ⇒ エンジン既定 3)。
|
|
1702
|
+
*/
|
|
1703
|
+
overscanCols?: number;
|
|
1704
|
+
/**
|
|
1705
|
+
* Background layer rendered behind the scroll-band rows, inside the engine content element
|
|
1706
|
+
* (the VirtualGrid `background` pass-through; LIVE prop). VIEWPORT-PINNED: the engine
|
|
1707
|
+
* translates only its row wrapper, so this layer does NOT follow the scroll offset —
|
|
1708
|
+
* periodic row ruling placed here slides against the real rows while scrolling. Suited to
|
|
1709
|
+
* a static texture that reads as "content still arriving" in the overscan-exhausted band,
|
|
1710
|
+
* not to row-aligned gridlines.
|
|
1711
|
+
* スクロール帯行の背後・エンジンコンテンツ要素内に描画する背景レイヤー (VirtualGrid
|
|
1712
|
+
* `background` の素通し。ライブ prop)。viewport 固定: エンジンが translate するのは行
|
|
1713
|
+
* ラッパーだけで、この層はスクロール量に追従しない — 周期的な行罫線を置くとスクロール中に
|
|
1714
|
+
* 実際の行へ対して滑る。overscan が尽きた帯で「まだ到着中」と読める静的テクスチャ向きで、
|
|
1715
|
+
* 行整合の罫線には不向き。
|
|
1716
|
+
*/
|
|
1717
|
+
background?: ReactNode;
|
|
1681
1718
|
/**
|
|
1682
1719
|
* Identity-stable contract (same as adapter): an inline arrow here defeats the CellView memo
|
|
1683
1720
|
* and turns every host re-render into a full visible re-slice (~800 cells at 16k columns).
|
package/dist/index.d.ts
CHANGED
|
@@ -1678,6 +1678,43 @@ export declare type SpreadsheetProps = {
|
|
|
1678
1678
|
* 宣言の不在信号 (エンジン既定) で、本パッケージでの値フォールバックなし。
|
|
1679
1679
|
*/
|
|
1680
1680
|
tapScrollCircleOptions?: ScrollBarTapCircleOptions;
|
|
1681
|
+
/**
|
|
1682
|
+
* Row-axis overscan pass-through (the VirtualGrid `overscanRows` knob; LIVE prop): rows
|
|
1683
|
+
* rendered beyond each vertical viewport edge. This slack is the only thing absorbing the
|
|
1684
|
+
* engine's one-frame rendering-window lag during fast scrolling (the blank-band remedy —
|
|
1685
|
+
* the slack in px is overscan × row height per edge). Undefined ⇒ the engine default (3).
|
|
1686
|
+
* The engine clamps invalid values silently, so THIS surface owns the fail-fast: a
|
|
1687
|
+
* non-integer or negative value throws a RangeError at render. Cost multiplies with the
|
|
1688
|
+
* column axis (bounded by the engine cell cap).
|
|
1689
|
+
* 行軸 overscan の素通し (VirtualGrid `overscanRows`。ライブ prop): 縦 viewport 端の外側へ
|
|
1690
|
+
* 描画する行数。高速スクロール時の描画窓 1 フレーム遅れを吸収する唯一の余裕 (白帯対策 —
|
|
1691
|
+
* 余裕 px は片端あたり overscan × 行高)。undefined はエンジン既定 (3)。エンジンは不正値を
|
|
1692
|
+
* 無言クランプするため fail-fast は本層所有 — 非整数・負値は render 時 RangeError。費用は
|
|
1693
|
+
* 列軸との積で増幅 (エンジンのセル上限で有界)。
|
|
1694
|
+
*/
|
|
1695
|
+
overscanRows?: number;
|
|
1696
|
+
/**
|
|
1697
|
+
* Column-axis overscan pass-through (the VirtualGrid `overscanCols` knob; LIVE prop) — the
|
|
1698
|
+
* column twin of `overscanRows`, same validation contract (non-negative integer or
|
|
1699
|
+
* RangeError; undefined ⇒ engine default 3).
|
|
1700
|
+
* 列軸 overscan の素通し (VirtualGrid `overscanCols`。ライブ prop) — `overscanRows` の
|
|
1701
|
+
* 列双子。検証契約は同文 (非負整数、それ以外 RangeError。undefined ⇒ エンジン既定 3)。
|
|
1702
|
+
*/
|
|
1703
|
+
overscanCols?: number;
|
|
1704
|
+
/**
|
|
1705
|
+
* Background layer rendered behind the scroll-band rows, inside the engine content element
|
|
1706
|
+
* (the VirtualGrid `background` pass-through; LIVE prop). VIEWPORT-PINNED: the engine
|
|
1707
|
+
* translates only its row wrapper, so this layer does NOT follow the scroll offset —
|
|
1708
|
+
* periodic row ruling placed here slides against the real rows while scrolling. Suited to
|
|
1709
|
+
* a static texture that reads as "content still arriving" in the overscan-exhausted band,
|
|
1710
|
+
* not to row-aligned gridlines.
|
|
1711
|
+
* スクロール帯行の背後・エンジンコンテンツ要素内に描画する背景レイヤー (VirtualGrid
|
|
1712
|
+
* `background` の素通し。ライブ prop)。viewport 固定: エンジンが translate するのは行
|
|
1713
|
+
* ラッパーだけで、この層はスクロール量に追従しない — 周期的な行罫線を置くとスクロール中に
|
|
1714
|
+
* 実際の行へ対して滑る。overscan が尽きた帯で「まだ到着中」と読める静的テクスチャ向きで、
|
|
1715
|
+
* 行整合の罫線には不向き。
|
|
1716
|
+
*/
|
|
1717
|
+
background?: ReactNode;
|
|
1681
1718
|
/**
|
|
1682
1719
|
* Identity-stable contract (same as adapter): an inline arrow here defeats the CellView memo
|
|
1683
1720
|
* and turns every host re-render into a full visible re-slice (~800 cells at 16k columns).
|