@toolbox-web/grid 2.11.1 → 2.13.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 (64) hide show
  1. package/all.js +2 -2
  2. package/all.js.map +1 -1
  3. package/custom-elements.json +20 -1
  4. package/index.js +1 -1
  5. package/index.js.map +1 -1
  6. package/lib/core/grid.d.ts +24 -2
  7. package/lib/core/internal/empty.d.ts +73 -0
  8. package/lib/core/internal/focus-manager.d.ts +17 -0
  9. package/lib/core/internal/shell.d.ts +1 -1
  10. package/lib/core/internal/virtualization.d.ts +103 -1
  11. package/lib/core/styles/index.d.ts +3 -2
  12. package/lib/core/types.d.ts +103 -7
  13. package/lib/features/pinned-columns.js.map +1 -1
  14. package/lib/plugins/clipboard/index.js.map +1 -1
  15. package/lib/plugins/column-virtualization/index.js.map +1 -1
  16. package/lib/plugins/context-menu/index.js.map +1 -1
  17. package/lib/plugins/editing/EditingPlugin.d.ts +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/editing/types.d.ts +9 -1
  21. package/lib/plugins/export/index.js.map +1 -1
  22. package/lib/plugins/filtering/index.js +1 -1
  23. package/lib/plugins/filtering/index.js.map +1 -1
  24. package/lib/plugins/grouping-columns/index.js.map +1 -1
  25. package/lib/plugins/grouping-rows/index.js.map +1 -1
  26. package/lib/plugins/master-detail/index.js.map +1 -1
  27. package/lib/plugins/multi-sort/index.js.map +1 -1
  28. package/lib/plugins/pinned-columns/index.js +1 -1
  29. package/lib/plugins/pinned-columns/index.js.map +1 -1
  30. package/lib/plugins/pinned-rows/index.js.map +1 -1
  31. package/lib/plugins/pivot/index.js.map +1 -1
  32. package/lib/plugins/print/index.js.map +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/reorder-rows/index.js +1 -1
  36. package/lib/plugins/reorder-rows/index.js.map +1 -1
  37. package/lib/plugins/responsive/index.js +1 -1
  38. package/lib/plugins/responsive/index.js.map +1 -1
  39. package/lib/plugins/row-drag-drop/RowDragDropPlugin.d.ts +1 -1
  40. package/lib/plugins/row-drag-drop/index.js +1 -1
  41. package/lib/plugins/row-drag-drop/index.js.map +1 -1
  42. package/lib/plugins/selection/SelectionPlugin.d.ts +1 -1
  43. package/lib/plugins/selection/index.d.ts +1 -1
  44. package/lib/plugins/selection/index.js.map +1 -1
  45. package/lib/plugins/server-side/ServerSidePlugin.d.ts +1 -1
  46. package/lib/plugins/server-side/index.js.map +1 -1
  47. package/lib/plugins/sticky-rows/index.js.map +1 -1
  48. package/lib/plugins/tooltip/index.js.map +1 -1
  49. package/lib/plugins/tree/index.js.map +1 -1
  50. package/lib/plugins/undo-redo/index.js.map +1 -1
  51. package/lib/plugins/visibility/index.js.map +1 -1
  52. package/package.json +1 -1
  53. package/public.d.ts +10 -1
  54. package/umd/grid.all.umd.js +1 -1
  55. package/umd/grid.all.umd.js.map +1 -1
  56. package/umd/grid.umd.js +1 -1
  57. package/umd/grid.umd.js.map +1 -1
  58. package/umd/plugins/editing.umd.js.map +1 -1
  59. package/umd/plugins/pinned-columns.umd.js +1 -1
  60. package/umd/plugins/pinned-columns.umd.js.map +1 -1
  61. package/umd/plugins/reorder-rows.umd.js.map +1 -1
  62. package/umd/plugins/row-drag-drop.umd.js.map +1 -1
  63. package/umd/plugins/selection.umd.js.map +1 -1
  64. package/umd/plugins/server-side.umd.js.map +1 -1
@@ -264,7 +264,7 @@
264
264
  "type": {
265
265
  "text": "K"
266
266
  },
267
- "description": "The plugin name (matches {@link BaseGridPlugin.name}).\n * "
267
+ "description": "The plugin name (matches `BaseGridPlugin.name`)."
268
268
  }
269
269
  ],
270
270
  "description": "Get a plugin instance by its string name.\nUseful for loose coupling when you don't want to import the plugin class\n(e.g., in framework adapters or dynamic scenarios)."
@@ -1454,6 +1454,25 @@
1454
1454
  ],
1455
1455
  "description": "Check whether focus is logically inside this grid.\n\nReturns `true` when `document.activeElement` (or the given node) is\ninside the grid's own DOM **or** inside any element registered via\nregisterExternalFocusContainer."
1456
1456
  },
1457
+ {
1458
+ "kind": "field",
1459
+ "name": "lastFocusedElement",
1460
+ "type": {
1461
+ "text": "HTMLElement | null"
1462
+ },
1463
+ "description": "The last meaningful element inside the grid host's light-DOM subtree\nthat received user focus. Excludes the grid host itself (synthetic\n`tabindex=0` focus during keyboard navigation), bare `.cell` elements\n(whose focus is virtual), and descendants of registered external focus\ncontainers (overlays/datepickers/dropdowns). Returns `null` when the\nuser has not yet interacted with any tracked descendant.",
1464
+ "readonly": true
1465
+ },
1466
+ {
1467
+ "kind": "method",
1468
+ "name": "restoreLastFocus",
1469
+ "return": {
1470
+ "type": {
1471
+ "text": ""
1472
+ }
1473
+ },
1474
+ "description": "Restore focus to the last meaningful user-focused element inside the\ngrid (see lastFocusedElement for what counts as \"meaningful\").\nThe grid invokes this automatically whenever focus is bounced to\n`<body>` (e.g. when a body-level overlay is removed). Exposed publicly\nso application code can re-anchor focus on demand."
1475
+ },
1457
1476
  {
1458
1477
  "kind": "method",
1459
1478
  "name": "refreshColumns",