@toolbox-web/grid 2.13.0 → 2.13.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.
- package/all.js +1 -1
- package/all.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/lib/core/types.d.ts +32 -0
- package/lib/plugins/clipboard/index.js.map +1 -1
- package/lib/plugins/column-virtualization/index.js.map +1 -1
- package/lib/plugins/context-menu/index.js.map +1 -1
- package/lib/plugins/editing/index.js.map +1 -1
- package/lib/plugins/export/index.js.map +1 -1
- package/lib/plugins/filtering/index.js.map +1 -1
- package/lib/plugins/grouping-columns/index.js.map +1 -1
- package/lib/plugins/grouping-rows/GroupingRowsPlugin.d.ts +53 -2
- package/lib/plugins/grouping-rows/index.js +2 -2
- package/lib/plugins/grouping-rows/index.js.map +1 -1
- package/lib/plugins/grouping-rows/types.d.ts +10 -8
- package/lib/plugins/master-detail/index.js.map +1 -1
- package/lib/plugins/multi-sort/index.js.map +1 -1
- package/lib/plugins/pinned-columns/index.js.map +1 -1
- package/lib/plugins/pinned-rows/index.js.map +1 -1
- package/lib/plugins/pivot/index.js.map +1 -1
- package/lib/plugins/print/index.js.map +1 -1
- package/lib/plugins/reorder-columns/index.js.map +1 -1
- package/lib/plugins/reorder-rows/index.js.map +1 -1
- package/lib/plugins/responsive/index.js.map +1 -1
- package/lib/plugins/row-drag-drop/index.js.map +1 -1
- package/lib/plugins/selection/index.js.map +1 -1
- package/lib/plugins/server-side/index.js.map +1 -1
- package/lib/plugins/sticky-rows/index.js.map +1 -1
- package/lib/plugins/tooltip/index.js +1 -1
- package/lib/plugins/tooltip/index.js.map +1 -1
- package/lib/plugins/tree/index.js.map +1 -1
- package/lib/plugins/undo-redo/index.js.map +1 -1
- package/lib/plugins/visibility/index.js.map +1 -1
- package/package.json +1 -1
- package/umd/grid.all.umd.js +1 -1
- package/umd/grid.all.umd.js.map +1 -1
- package/umd/grid.umd.js +1 -1
- package/umd/grid.umd.js.map +1 -1
- package/umd/plugins/grouping-rows.umd.js +1 -1
- package/umd/plugins/grouping-rows.umd.js.map +1 -1
- package/umd/plugins/tooltip.umd.js +1 -1
- package/umd/plugins/tooltip.umd.js.map +1 -1
package/lib/core/types.d.ts
CHANGED
|
@@ -1607,6 +1607,38 @@ export interface FrameworkAdapter {
|
|
|
1607
1607
|
* @param cellEl - The cell element whose content is being released
|
|
1608
1608
|
*/
|
|
1609
1609
|
releaseCell?(cellEl: HTMLElement): void;
|
|
1610
|
+
/**
|
|
1611
|
+
* Open a teardown batch. Grid core wraps multi-cell teardown sequences
|
|
1612
|
+
* (e.g., `_clearRowPool`, row-pool shrink, full row rebuild) where every
|
|
1613
|
+
* affected cell will be detached from the DOM before the batch ends.
|
|
1614
|
+
*
|
|
1615
|
+
* Adapters that normally synchronously commit framework teardown per
|
|
1616
|
+
* `releaseCell` (React's `flushSync`) should defer those commits until
|
|
1617
|
+
* the matching {@link endBatch} call. Detached containers can then be
|
|
1618
|
+
* pruned without emitting per-cell render warnings.
|
|
1619
|
+
*
|
|
1620
|
+
* Calls may nest; adapters MUST track depth and only flush on the
|
|
1621
|
+
* outermost {@link endBatch}.
|
|
1622
|
+
*
|
|
1623
|
+
* @param gridEl - The grid element whose adapter-managed cells are
|
|
1624
|
+
* being torn down. Adapters that key state per grid (e.g. one
|
|
1625
|
+
* PortalManager per grid) should scope the batch to this element.
|
|
1626
|
+
* Omitted only by callers without a grid reference.
|
|
1627
|
+
*
|
|
1628
|
+
* @since 2.14.0
|
|
1629
|
+
*/
|
|
1630
|
+
beginBatch?(gridEl?: HTMLElement): void;
|
|
1631
|
+
/**
|
|
1632
|
+
* Close a teardown batch opened by {@link beginBatch}. Adapters should
|
|
1633
|
+
* flush any deferred framework commits here (or rely on render-time
|
|
1634
|
+
* detached-container filtering for adapters that don't need a flush).
|
|
1635
|
+
*
|
|
1636
|
+
* @param gridEl - Must match the element passed to the paired
|
|
1637
|
+
* {@link beginBatch} call.
|
|
1638
|
+
*
|
|
1639
|
+
* @since 2.14.0
|
|
1640
|
+
*/
|
|
1641
|
+
endBatch?(gridEl?: HTMLElement): void;
|
|
1610
1642
|
/**
|
|
1611
1643
|
* Unmount a specific framework container and free its resources.
|
|
1612
1644
|
*
|