@toolbox-web/grid 1.29.0 → 1.30.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.
- package/all.js +2 -2
- package/all.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/lib/core/grid.d.ts +7 -0
- package/lib/core/types.d.ts +2 -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/index.js.map +1 -1
- 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/PinnedColumnsPlugin.d.ts +18 -4
- package/lib/plugins/pinned-columns/index.js +1 -1
- package/lib/plugins/pinned-columns/index.js.map +1 -1
- package/lib/plugins/pinned-columns/pinned-columns.d.ts +38 -2
- 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/selection/index.js.map +1 -1
- package/lib/plugins/server-side/index.js.map +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/pinned-columns.umd.js +1 -1
- package/umd/plugins/pinned-columns.umd.js.map +1 -1
- package/umd/plugins/reorder-columns.umd.js.map +1 -1
package/lib/core/grid.d.ts
CHANGED
|
@@ -52,6 +52,13 @@ export declare class DataGridElement<T = any> extends HTMLElement implements Int
|
|
|
52
52
|
get _columns(): ColumnInternal<T>[];
|
|
53
53
|
set _columns(value: ColumnInternal<T>[]);
|
|
54
54
|
get _visibleColumns(): ColumnInternal<T>[];
|
|
55
|
+
/**
|
|
56
|
+
* Clear the cached _visibleColumns so the next access recomputes from _columns.
|
|
57
|
+
* Called by ConfigManager when it mutates effectiveConfig.columns directly
|
|
58
|
+
* (bypassing the _columns setter which normally handles invalidation).
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
_invalidateVisibleColumnsCache(): void;
|
|
55
62
|
_headerRowEl: HTMLElement;
|
|
56
63
|
_bodyEl: HTMLElement;
|
|
57
64
|
_rowPool: RowElementInternal[];
|
package/lib/core/types.d.ts
CHANGED
|
@@ -539,6 +539,8 @@ export interface InternalGrid<T = any> extends PublicGrid<T>, GridConfig<T> {
|
|
|
539
539
|
queryPlugins?: <T>(query: PluginQuery) => T[];
|
|
540
540
|
/** Request emission of column-state-change event (debounced) */
|
|
541
541
|
requestStateChange?: () => void;
|
|
542
|
+
/** @internal Clear the cached _visibleColumns array so the next read recomputes from _columns. */
|
|
543
|
+
_invalidateVisibleColumnsCache(): void;
|
|
542
544
|
/** @internal */ _renderVisibleRows(start: number, end: number, epoch?: number): void;
|
|
543
545
|
/** @internal */ _updateAriaCounts(totalRows: number, totalCols: number): void;
|
|
544
546
|
/** @internal */ _requestSchedulerPhase(phase: number, source: string): void;
|