@agile-team/mach-table 0.24.0 → 0.25.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/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # @agile-team/mach-table
6
6
 
7
- MachTable 0.24 的框架无关 TypeScript Core:零运行时依赖,提供行列双虚拟化、领域化 API、单元格/整行编辑、树与分组、随机访问远程数据、状态持久化和可诊断扩展系统。
7
+ MachTable 0.25 的框架无关 TypeScript Core:零运行时依赖,提供行列双虚拟化、领域化 API、单元格/整行编辑、树与分组、随机访问远程数据、区段隔离状态持久化和可诊断扩展系统。
8
8
 
9
9
  ```bash
10
10
  pnpm add @agile-team/mach-table
@@ -39,6 +39,8 @@ console.info(api.diagnostics.get());
39
39
  api.destroy();
40
40
  ```
41
41
 
42
+ `persistence.sections` 同时约束进入 store 的数据与恢复范围;异步 store 写入有序,晚到加载不会覆盖加载期间的用户操作。
43
+
42
44
  公共命令按 `rows`、`columns`、`selection`、`editing`、`filtering`、`sorting`、`pagination`、`hierarchy`、`view`、`state`、`io`、`diagnostics` 划分。完整签名见 [GridApi](https://github.com/ChenyCHENYU/MachTable/blob/main/docs/api/grid-api.md)。
43
45
 
44
46
  大型本地数据 Worker 使用独立入口:
@@ -1,5 +1,5 @@
1
- import { G as GridOptions, a as GridEventType } from './options-CnUx414l.cjs';
2
- export { M as MachTableOptionExplanation, R as ResolvedMachTableConfig, a as ResolvedMachTableGridOptions, m as mergeMachTableConfig, n as normalizeMachTableConfig, r as resolveMachTableGridOptions } from './configuration-BQ5WYIdm.cjs';
1
+ import { G as GridOptions, a as GridEventType } from './options-CL6BYXVZ.cjs';
2
+ export { M as MachTableOptionExplanation, R as ResolvedMachTableConfig, a as ResolvedMachTableGridOptions, m as mergeMachTableConfig, n as normalizeMachTableConfig, r as resolveMachTableGridOptions } from './configuration-DmUvpJLO.cjs';
3
3
 
4
4
  type EventOptionKey = `on${Capitalize<GridEventType>}`;
5
5
  type GridOptionKey = Exclude<keyof GridOptions<any>, EventOptionKey>;
package/dist/adapter.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { G as GridOptions, a as GridEventType } from './options-CnUx414l.js';
2
- export { M as MachTableOptionExplanation, R as ResolvedMachTableConfig, a as ResolvedMachTableGridOptions, m as mergeMachTableConfig, n as normalizeMachTableConfig, r as resolveMachTableGridOptions } from './configuration-CIdNt43y.js';
1
+ import { G as GridOptions, a as GridEventType } from './options-CL6BYXVZ.js';
2
+ export { M as MachTableOptionExplanation, R as ResolvedMachTableConfig, a as ResolvedMachTableGridOptions, m as mergeMachTableConfig, n as normalizeMachTableConfig, r as resolveMachTableGridOptions } from './configuration-CFMDwmiR.js';
3
3
 
4
4
  type EventOptionKey = `on${Capitalize<GridEventType>}`;
5
5
  type GridOptionKey = Exclude<keyof GridOptions<any>, EventOptionKey>;
@@ -1,4 +1,4 @@
1
- import { G as GridOptions, C as ColDef, b as GridComponents } from './options-CnUx414l.js';
1
+ import { G as GridOptions, C as ColDef, b as GridComponents } from './options-CL6BYXVZ.js';
2
2
 
3
3
  type MachTablePresetSelection = string | readonly string[] | false;
4
4
  type MachTableInstanceOptionKey = "rowData" | "columnDefs" | "datasource" | "loading" | "error" | "initialState" | "persistence" | "components" | "columnTypes";
@@ -1,4 +1,4 @@
1
- import { G as GridOptions, C as ColDef, b as GridComponents } from './options-CnUx414l.cjs';
1
+ import { G as GridOptions, C as ColDef, b as GridComponents } from './options-CL6BYXVZ.cjs';
2
2
 
3
3
  type MachTablePresetSelection = string | readonly string[] | false;
4
4
  type MachTableInstanceOptionKey = "rowData" | "columnDefs" | "datasource" | "loading" | "error" | "initialState" | "persistence" | "components" | "columnTypes";