@toolbox-web/grid-react 0.15.1 → 0.17.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.
Files changed (81) hide show
  1. package/chunks/{data-grid-O97pdLCY.js → data-grid-Cpa5kukM.js} +322 -295
  2. package/features/clipboard.d.ts +0 -17
  3. package/features/clipboard.d.ts.map +1 -1
  4. package/features/clipboard.js +1 -6
  5. package/features/column-virtualization.d.ts +0 -15
  6. package/features/column-virtualization.d.ts.map +1 -1
  7. package/features/column-virtualization.js +1 -6
  8. package/features/context-menu.d.ts +0 -15
  9. package/features/context-menu.d.ts.map +1 -1
  10. package/features/context-menu.js +1 -6
  11. package/features/editing.d.ts +0 -15
  12. package/features/editing.d.ts.map +1 -1
  13. package/features/editing.js +1 -3
  14. package/features/export.d.ts.map +1 -1
  15. package/features/export.js +9 -14
  16. package/features/filtering.js +15 -15
  17. package/features/grouping-columns.d.ts +9 -0
  18. package/features/grouping-columns.d.ts.map +1 -1
  19. package/features/grouping-columns.js +19 -4
  20. package/features/grouping-rows.d.ts +9 -0
  21. package/features/grouping-rows.d.ts.map +1 -1
  22. package/features/grouping-rows.js +20 -5
  23. package/features/index.js +18 -18
  24. package/features/master-detail.d.ts +0 -17
  25. package/features/master-detail.d.ts.map +1 -1
  26. package/features/master-detail.js +1 -6
  27. package/features/multi-sort.d.ts +0 -21
  28. package/features/multi-sort.d.ts.map +1 -1
  29. package/features/multi-sort.js +1 -3
  30. package/features/pinned-columns.d.ts +0 -15
  31. package/features/pinned-columns.d.ts.map +1 -1
  32. package/features/pinned-columns.js +1 -6
  33. package/features/pinned-rows.d.ts +0 -15
  34. package/features/pinned-rows.d.ts.map +1 -1
  35. package/features/pinned-rows.js +24 -5
  36. package/features/pivot.d.ts +0 -15
  37. package/features/pivot.d.ts.map +1 -1
  38. package/features/pivot.js +1 -3
  39. package/features/print.d.ts.map +1 -1
  40. package/features/print.js +10 -12
  41. package/features/reorder-columns.d.ts +1 -0
  42. package/features/reorder-columns.d.ts.map +1 -0
  43. package/features/reorder-columns.js +1 -0
  44. package/features/reorder-rows.d.ts +1 -0
  45. package/features/reorder-rows.d.ts.map +1 -0
  46. package/features/reorder-rows.js +1 -0
  47. package/features/reorder.d.ts +3 -13
  48. package/features/reorder.d.ts.map +1 -1
  49. package/features/reorder.js +1 -6
  50. package/features/responsive.d.ts +0 -15
  51. package/features/responsive.d.ts.map +1 -1
  52. package/features/responsive.js +1 -6
  53. package/features/row-reorder.d.ts +3 -13
  54. package/features/row-reorder.d.ts.map +1 -1
  55. package/features/row-reorder.js +1 -3
  56. package/features/selection.d.ts.map +1 -1
  57. package/features/selection.js +26 -28
  58. package/features/server-side.d.ts +0 -15
  59. package/features/server-side.d.ts.map +1 -1
  60. package/features/server-side.js +1 -3
  61. package/features/sorting.js +1 -1
  62. package/features/tree.d.ts +0 -15
  63. package/features/tree.d.ts.map +1 -1
  64. package/features/tree.js +1 -6
  65. package/features/undo-redo.d.ts.map +1 -1
  66. package/features/undo-redo.js +12 -17
  67. package/features/visibility.d.ts +0 -15
  68. package/features/visibility.d.ts.map +1 -1
  69. package/features/visibility.js +1 -6
  70. package/index.js +2 -2
  71. package/lib/data-grid.d.ts.map +1 -1
  72. package/lib/feature-props.d.ts +12 -4
  73. package/lib/feature-props.d.ts.map +1 -1
  74. package/lib/feature-registry.d.ts +13 -47
  75. package/lib/feature-registry.d.ts.map +1 -1
  76. package/lib/react-column-config.d.ts +33 -3
  77. package/lib/react-column-config.d.ts.map +1 -1
  78. package/lib/use-sync-plugins.d.ts +2 -1
  79. package/lib/use-sync-plugins.d.ts.map +1 -1
  80. package/package.json +1 -1
  81. package/chunks/feature-registry-Y3KvnN54.js +0 -26
@@ -1 +1 @@
1
- {"version":3,"file":"use-sync-plugins.d.ts","sourceRoot":"","sources":["../../../../libs/grid-react/src/lib/use-sync-plugins.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAgD,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAWpG;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,YAAY,EAAE,WAAW,EAAE,GAAG,IAAI,CAgB7E;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,GAAG,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,EAAE,CAkDjH;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,WAAW,EAAE,CAa7F"}
1
+ {"version":3,"file":"use-sync-plugins.d.ts","sourceRoot":"","sources":["../../../../libs/grid-react/src/lib/use-sync-plugins.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAW3E;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,YAAY,EAAE,WAAW,EAAE,GAAG,IAAI,CAgB7E;AAED;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,GAAG,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,GAAG,OAAO,EAAE,CAWjH;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,WAAW,EAAE,CAa7F"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toolbox-web/grid-react",
3
- "version": "0.15.1",
3
+ "version": "0.17.0",
4
4
  "description": "React adapter for @toolbox-web/grid data grid component",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -1,26 +0,0 @@
1
- const i = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set();
2
- function s(t, e) {
3
- i.set(t, {
4
- factory: e,
5
- name: t
6
- });
7
- }
8
- function a(t, e) {
9
- const o = i.get(t);
10
- if (!o) {
11
- const n = typeof window < "u" && (window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1");
12
- !r.has(t) && n && (r.add(t), console.warn(
13
- `[DataGrid] Feature "${t}" prop is set but the feature is not registered.
14
- Add this import to enable it:
15
-
16
- import '@toolbox-web/grid-react/features/${t}';
17
- `
18
- ));
19
- return;
20
- }
21
- return o.factory(e);
22
- }
23
- export {
24
- a as c,
25
- s as r
26
- };