vue2-excel-grid 1.7.0 → 1.7.2
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 +2 -0
- package/dist/vue2-excel-grid.esm.js +61 -192
- package/dist/vue2-excel-grid.umd.js +2 -2
- package/package.json +1 -1
- package/src/components/EgLocalSyncModal.vue +27 -62
- package/src/components/ExcelGrid.vue +19 -42
- package/src/utils/i18n.js +0 -4
package/README.md
CHANGED
|
@@ -74,6 +74,7 @@ export default {
|
|
|
74
74
|
- `col.onSelect` callback — fires when a value is picked in a `select`/`treeSelect` column
|
|
75
75
|
- `col.enableSearch` — search box in the `select`/`treeSelect` dropdown; treeSelect searches every level
|
|
76
76
|
- Toolbar — `toolbar` prop: Undo/Redo, Export/Import, theme picker, size switcher, Lock (read-only mode), and Fullscreen; add custom buttons via `toolbarButtons` or the `#toolbar-extra` slot
|
|
77
|
+
- `localSyncKey` prop — autosaves `v-model` data to the browser's IndexedDB in the background (debounced), with a toolbar button + modal to Save/Restore/Delete the local copy, plus a full CRUD `ref` API (`saveLocalSnapshot`, `getLocalSnapshot`, `restoreLocalSnapshot`, `clearLocalSnapshot`) for building your own custom UI
|
|
77
78
|
|
|
78
79
|
## Documentation
|
|
79
80
|
|
|
@@ -95,6 +96,7 @@ Full documentation: [docs/](./docs/)
|
|
|
95
96
|
- [Excel Export](./docs/excel-export.md)
|
|
96
97
|
- [Excel Import](./docs/excel-import.md)
|
|
97
98
|
- [Toolbar](./docs/toolbar.md)
|
|
99
|
+
- [Local Sync](./docs/local-sync.md)
|
|
98
100
|
- [API Reference](./docs/api-reference.md)
|
|
99
101
|
|
|
100
102
|
## Demo
|