@toolbox-web/grid 3.0.0-beta.2 → 3.0.0-beta.4

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 (65) hide show
  1. package/all.js +2 -2
  2. package/all.js.map +1 -1
  3. package/custom-elements.json +7 -6
  4. package/index.js +1 -1
  5. package/index.js.map +1 -1
  6. package/lib/core/constants.d.ts +7 -0
  7. package/lib/core/grid.d.ts +5 -1
  8. package/lib/core/internal/rows.d.ts +2 -5
  9. package/lib/core/internal/tag-registry.d.ts +23 -0
  10. package/lib/features/registry.js +1 -1
  11. package/lib/plugins/clipboard/clipboard-payload.d.ts +47 -0
  12. package/lib/plugins/clipboard/copy.d.ts +9 -2
  13. package/lib/plugins/clipboard/index.js +1 -1
  14. package/lib/plugins/clipboard/index.js.map +1 -1
  15. package/lib/plugins/clipboard/types.d.ts +18 -0
  16. package/lib/plugins/column-virtualization/index.js +1 -1
  17. package/lib/plugins/context-menu/index.js +1 -1
  18. package/lib/plugins/editing/index.js +1 -1
  19. package/lib/plugins/editing/index.js.map +1 -1
  20. package/lib/plugins/export/index.js +1 -1
  21. package/lib/plugins/filtering/index.js +1 -1
  22. package/lib/plugins/grouping-columns/index.js +1 -1
  23. package/lib/plugins/grouping-rows/index.js +1 -1
  24. package/lib/plugins/grouping-rows/index.js.map +1 -1
  25. package/lib/plugins/master-detail/index.js +1 -1
  26. package/lib/plugins/multi-sort/index.js +1 -1
  27. package/lib/plugins/pinned-columns/index.js +1 -1
  28. package/lib/plugins/pinned-columns/index.js.map +1 -1
  29. package/lib/plugins/pinned-rows/index.js +1 -1
  30. package/lib/plugins/pivot/index.js +1 -1
  31. package/lib/plugins/pivot/index.js.map +1 -1
  32. package/lib/plugins/print/index.js +1 -1
  33. package/lib/plugins/reorder-columns/index.js +1 -1
  34. package/lib/plugins/reorder-columns/index.js.map +1 -1
  35. package/lib/plugins/responsive/index.js +1 -1
  36. package/lib/plugins/responsive/index.js.map +1 -1
  37. package/lib/plugins/row-drag-drop/index.js +1 -1
  38. package/lib/plugins/row-drag-drop/index.js.map +1 -1
  39. package/lib/plugins/selection/index.js +1 -1
  40. package/lib/plugins/selection/index.js.map +1 -1
  41. package/lib/plugins/server-side/index.js +1 -1
  42. package/lib/plugins/server-side/index.js.map +1 -1
  43. package/lib/plugins/shell/index.js +1 -1
  44. package/lib/plugins/shell/index.js.map +1 -1
  45. package/lib/plugins/shell/shell.d.ts +0 -33
  46. package/lib/plugins/sticky-rows/index.js +1 -1
  47. package/lib/plugins/tooltip/index.js +1 -1
  48. package/lib/plugins/tree/index.js +1 -1
  49. package/lib/plugins/tree/index.js.map +1 -1
  50. package/lib/plugins/undo-redo/index.js +1 -1
  51. package/lib/plugins/undo-redo/index.js.map +1 -1
  52. package/lib/plugins/visibility/index.js +1 -1
  53. package/lib/plugins/visibility/index.js.map +1 -1
  54. package/package.json +1 -1
  55. package/umd/grid.all.umd.js +1 -1
  56. package/umd/grid.all.umd.js.map +1 -1
  57. package/umd/grid.umd.js +1 -1
  58. package/umd/grid.umd.js.map +1 -1
  59. package/umd/plugins/clipboard.umd.js +1 -1
  60. package/umd/plugins/clipboard.umd.js.map +1 -1
  61. package/umd/plugins/editing.umd.js +1 -1
  62. package/umd/plugins/editing.umd.js.map +1 -1
  63. package/umd/plugins/shell.umd.js.map +1 -1
  64. package/lib/plugins/selection/row-selection.d.ts +0 -47
  65. package/lib/plugins/visibility/visibility.d.ts +0 -31
@@ -14,12 +14,9 @@
14
14
  {
15
15
  "kind": "field",
16
16
  "name": "tagName",
17
- "type": {
18
- "text": "string"
19
- },
20
17
  "static": true,
21
18
  "readonly": true,
22
- "default": "'tbw-grid'"
19
+ "default": "GRID_TAG_NAME"
23
20
  },
24
21
  {
25
22
  "kind": "field",
@@ -35,8 +32,12 @@
35
32
  "text": "string"
36
33
  },
37
34
  "static": true,
38
- "default": "'tbw-grid'",
39
- "description": "Tag name this bundle should render and query for.\n\nIn the common (single-version) case this equals tagName\n(`'tbw-grid'`).\n\nResolution rules (see `registerDataGrid()` at the bottom of this file):\n - **No existing registration** → this class registers under `tbw-grid`;\n `activeTag === 'tbw-grid'`.\n - **Existing registration at the SAME version** → this class is NOT\n redefined (the first-loaded bundle's class keeps the registration),\n and `activeTag` still points at `'tbw-grid'` so adapters render the\n shared element. Note that in this branch `customElements.get(activeTag)`\n returns the OTHER bundle's class, not this one.\n - **Existing registration at a DIFFERENT version** → this class\n registers under a version-suffixed tag like `tbw-grid-v2-14-0` and\n `activeTag` reflects that suffixed name; the two implementations\n coexist on the page.\n\nAdapters and consumers that need to construct or query for the grid\nelement MUST use this property, not the hard-coded `tagName` literal."
35
+ "description": "Tag name this bundle should render and query for.\n\nIn the common (single-version) case this equals tagName\n(`'tbw-grid'`).\n\nResolution rules (see `registerDataGrid()` at the bottom of this file):\n - **No existing registration** → this class registers under `tbw-grid`;\n `activeTag === 'tbw-grid'`.\n - **Existing registration at the SAME version** → this class is NOT\n redefined (the first-loaded bundle's class keeps the registration),\n and `activeTag` still points at `'tbw-grid'` so adapters render the\n shared element. Note that in this branch `customElements.get(activeTag)`\n returns the OTHER bundle's class, not this one.\n - **Existing registration at a DIFFERENT version** → this class\n registers under a version-suffixed tag like `tbw-grid-v2-14-0` and\n `activeTag` reflects that suffixed name; the two implementations\n coexist on the page.\n\nAdapters and consumers that need to construct or query for the grid\nelement MUST use this property, not the hard-coded `tagName` literal.\n\nBacked by `internal/tag-registry` (a leaf module) so `style-injector` and\nother internals can read the active tag without importing this class."
36
+ },
37
+ {
38
+ "kind": "field",
39
+ "name": "activeTag",
40
+ "static": true
40
41
  },
41
42
  {
42
43
  "kind": "method",