@toolbox-web/grid 2.13.1 → 2.14.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.
Files changed (48) hide show
  1. package/all.js +2 -2
  2. package/all.js.map +1 -1
  3. package/custom-elements.json +18 -0
  4. package/index.js +1 -1
  5. package/index.js.map +1 -1
  6. package/lib/core/grid.d.ts +23 -0
  7. package/lib/core/internal/style-injector.d.ts +0 -8
  8. package/lib/features/registry.js +1 -1
  9. package/lib/features/registry.js.map +1 -1
  10. package/lib/plugins/filtering/index.js +1 -1
  11. package/lib/plugins/filtering/index.js.map +1 -1
  12. package/lib/plugins/filtering/types.d.ts +0 -28
  13. package/lib/plugins/master-detail/MasterDetailPlugin.d.ts +0 -1
  14. package/lib/plugins/master-detail/index.js +1 -1
  15. package/lib/plugins/master-detail/index.js.map +1 -1
  16. package/lib/plugins/master-detail/types.d.ts +0 -2
  17. package/lib/plugins/responsive/index.js +1 -1
  18. package/lib/plugins/responsive/index.js.map +1 -1
  19. package/lib/plugins/responsive/types.d.ts +11 -2
  20. package/lib/plugins/server-side/datasource-types.d.ts +8 -0
  21. package/lib/plugins/server-side/index.js +1 -1
  22. package/lib/plugins/server-side/index.js.map +1 -1
  23. package/lib/plugins/server-side/types.d.ts +9 -10
  24. package/lib/plugins/visibility/index.js +1 -1
  25. package/lib/plugins/visibility/index.js.map +1 -1
  26. package/lib/plugins/visibility/types.d.ts +5 -10
  27. package/lib/plugins/visibility/visibility.d.ts +5 -3
  28. package/package.json +1 -1
  29. package/themes/dg-theme-bootstrap.css +2 -2
  30. package/themes/dg-theme-contrast.css +1 -1
  31. package/themes/dg-theme-large.css +1 -1
  32. package/themes/dg-theme-material.css +2 -2
  33. package/themes/dg-theme-standard.css +1 -1
  34. package/themes/dg-theme-vibrant.css +1 -1
  35. package/umd/grid.all.umd.js +1 -1
  36. package/umd/grid.all.umd.js.map +1 -1
  37. package/umd/grid.umd.js +1 -1
  38. package/umd/grid.umd.js.map +1 -1
  39. package/umd/plugins/filtering.umd.js +1 -1
  40. package/umd/plugins/filtering.umd.js.map +1 -1
  41. package/umd/plugins/master-detail.umd.js +1 -1
  42. package/umd/plugins/master-detail.umd.js.map +1 -1
  43. package/umd/plugins/responsive.umd.js +1 -1
  44. package/umd/plugins/responsive.umd.js.map +1 -1
  45. package/umd/plugins/server-side.umd.js +1 -1
  46. package/umd/plugins/server-side.umd.js.map +1 -1
  47. package/umd/plugins/visibility.umd.js +1 -1
  48. package/umd/plugins/visibility.umd.js.map +1 -1
@@ -28,6 +28,16 @@
28
28
  "readonly": true,
29
29
  "description": "Version of the grid component, injected at build time from package.json"
30
30
  },
31
+ {
32
+ "kind": "field",
33
+ "name": "activeTag",
34
+ "type": {
35
+ "text": "string"
36
+ },
37
+ "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."
40
+ },
31
41
  {
32
42
  "kind": "method",
33
43
  "name": "registerAdapter",
@@ -1558,6 +1568,14 @@
1558
1568
  "module": "src/lib/core/grid.ts"
1559
1569
  }
1560
1570
  },
1571
+ {
1572
+ "kind": "custom-element-definition",
1573
+ "name": "tbw-grid",
1574
+ "declaration": {
1575
+ "name": "DataGridElement",
1576
+ "module": "src/lib/core/grid.ts"
1577
+ }
1578
+ },
1561
1579
  {
1562
1580
  "kind": "custom-element-definition",
1563
1581
  "name": "tbw-grid",