@freegridjs/core 1.0.0 → 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.
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-D9gm8TyF.js';
1
+ import { L as LocalePack } from '../types-bFz-Q6ac.js';
2
2
 
3
3
  declare const de: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-D9gm8TyF.js';
1
+ import { L as LocalePack } from '../types-bFz-Q6ac.js';
2
2
 
3
3
  declare const en: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-D9gm8TyF.js';
1
+ import { L as LocalePack } from '../types-bFz-Q6ac.js';
2
2
 
3
3
  declare const es: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-D9gm8TyF.js';
1
+ import { L as LocalePack } from '../types-bFz-Q6ac.js';
2
2
 
3
3
  declare const fr: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-D9gm8TyF.js';
1
+ import { L as LocalePack } from '../types-bFz-Q6ac.js';
2
2
 
3
3
  declare const id: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-D9gm8TyF.js';
1
+ import { L as LocalePack } from '../types-bFz-Q6ac.js';
2
2
 
3
3
  declare const it: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-D9gm8TyF.js';
1
+ import { L as LocalePack } from '../types-bFz-Q6ac.js';
2
2
 
3
3
  declare const ja: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-D9gm8TyF.js';
1
+ import { L as LocalePack } from '../types-bFz-Q6ac.js';
2
2
 
3
3
  declare const ko: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-D9gm8TyF.js';
1
+ import { L as LocalePack } from '../types-bFz-Q6ac.js';
2
2
 
3
3
  declare const ptBR: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-D9gm8TyF.js';
1
+ import { L as LocalePack } from '../types-bFz-Q6ac.js';
2
2
 
3
3
  declare const ru: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-D9gm8TyF.js';
1
+ import { L as LocalePack } from '../types-bFz-Q6ac.js';
2
2
 
3
3
  declare const th: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-D9gm8TyF.js';
1
+ import { L as LocalePack } from '../types-bFz-Q6ac.js';
2
2
 
3
3
  declare const vi: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-D9gm8TyF.js';
1
+ import { L as LocalePack } from '../types-bFz-Q6ac.js';
2
2
 
3
3
  declare const zhCN: LocalePack;
4
4
 
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-D9gm8TyF.js';
1
+ import { L as LocalePack } from '../types-bFz-Q6ac.js';
2
2
 
3
3
  declare const zhTW: LocalePack;
4
4
 
@@ -898,7 +898,14 @@ interface GridApi {
898
898
  newValue: unknown;
899
899
  }[];
900
900
  hasChanges(): boolean;
901
- commitChanges(): void;
901
+ /**
902
+ * Accept the changes as the new baseline. With `saved`, only those: each row is baselined at the values
903
+ * that were saved (edits made since stay changes) and the deleted rows are forgotten.
904
+ */
905
+ commitChanges(saved?: {
906
+ rows: Map<Row, Row>;
907
+ deleted: Row[];
908
+ }): void;
902
909
  revertChanges(): void;
903
910
  undo(): void;
904
911
  redo(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freegridjs/core",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "FreeGrid — a fast data grid for the web (free for personal use): virtual scrolling, grouping, pivot, charts, Excel export, 7 languages.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",