@taocompany/magic-grid 0.13.6 → 0.13.9

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.
@@ -1,6 +1,6 @@
1
1
  {
2
- "schemaVersion": "0.13.6",
3
- "generatedAt": "2026-10-29T01:43:24.388Z",
2
+ "schemaVersion": "0.13.9",
3
+ "generatedAt": "2026-11-03T03:41:37.318Z",
4
4
  "entries": [
5
5
  {
6
6
  "token": "--mg-color-bg",
@@ -481,6 +481,8 @@ export declare interface CellEditorKeyboardPolicy {
481
481
  deferEnterCommit?: boolean;
482
482
  /** 为 true 时进入编辑态不自动 `focusEditor` / 行编辑初始 `focusRowEditor`(校验失败 refocus 等仍聚焦) */
483
483
  suppressInitialAutoFocus?: boolean;
484
+ /** 为 true 或 `(event) => true` 时内核不处理该次 Tab(不 commit / 不跳格),由编辑器自行处理焦点 */
485
+ suppressTabNavigation?: boolean | ((event: KeyboardEvent) => boolean);
484
486
  }
485
487
 
486
488
  /** 生命周期回调;commit/cancel 路径上 Composable 会 `await`(`onDestroy` 为 fire-and-forget) */
@@ -552,7 +554,7 @@ export declare interface CellEditorParams {
552
554
  getEditPhase: () => EditSessionPhase;
553
555
  /** Vue / 复合组件编辑器注册自定义取值(优先于 DOM 扫描) */
554
556
  setGetValue?: (getValue: () => string) => void;
555
- /** 注册键盘策略(如 deferEnterCommit、commitOnChange) */
557
+ /** 注册键盘策略(如 deferEnterCommit、suppressTabNavigation) */
556
558
  setKeyboardPolicy?: (policy: CellEditorKeyboardPolicy) => void;
557
559
  /** 是否执行编辑器 onStart(focus / 打开 overlay)。
558
560
  * 行编辑时仅 focusColId 对应列为 true;省略时视为 true(单格编辑)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taocompany/magic-grid",
3
- "version": "0.13.6",
3
+ "version": "0.13.9",
4
4
  "description": "A high-performance virtual table component library for Vue 3",
5
5
  "type": "module",
6
6
  "license": "MIT",