@toolbox-web/grid 0.2.7 → 0.3.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/README.md +13 -13
- package/all.d.ts +25 -5659
- package/all.d.ts.map +1 -0
- package/all.js +524 -450
- package/all.js.map +1 -1
- package/index.d.ts +8 -2678
- package/index.d.ts.map +1 -0
- package/index.js +3929 -25
- package/index.js.map +1 -1
- package/lib/core/constants.d.ts +114 -0
- package/lib/core/constants.d.ts.map +1 -0
- package/lib/core/grid.d.ts +337 -0
- package/lib/core/grid.d.ts.map +1 -0
- package/lib/core/internal/aggregators.d.ts +67 -0
- package/lib/core/internal/aggregators.d.ts.map +1 -0
- package/lib/core/internal/column-state.d.ts +124 -0
- package/lib/core/internal/column-state.d.ts.map +1 -0
- package/lib/core/internal/columns.d.ts +107 -0
- package/lib/core/internal/columns.d.ts.map +1 -0
- package/lib/core/internal/dom-builder.d.ts +115 -0
- package/lib/core/internal/dom-builder.d.ts.map +1 -0
- package/lib/core/internal/editing.d.ts +76 -0
- package/lib/core/internal/editing.d.ts.map +1 -0
- package/lib/core/internal/editors.d.ts +8 -0
- package/lib/core/internal/editors.d.ts.map +1 -0
- package/lib/core/internal/event-delegation.d.ts +11 -0
- package/lib/core/internal/event-delegation.d.ts.map +1 -0
- package/lib/core/internal/grid-internals.d.ts +83 -0
- package/lib/core/internal/grid-internals.d.ts.map +1 -0
- package/lib/core/internal/header.d.ts +7 -0
- package/lib/core/internal/header.d.ts.map +1 -0
- package/lib/core/internal/idle-scheduler.d.ts +65 -0
- package/lib/core/internal/idle-scheduler.d.ts.map +1 -0
- package/lib/core/internal/inference.d.ts +12 -0
- package/lib/core/internal/inference.d.ts.map +1 -0
- package/lib/core/internal/keyboard.d.ts +18 -0
- package/lib/core/internal/keyboard.d.ts.map +1 -0
- package/lib/core/internal/resize.d.ts +3 -0
- package/lib/core/internal/resize.d.ts.map +1 -0
- package/lib/core/internal/rows.d.ts +35 -0
- package/lib/core/internal/rows.d.ts.map +1 -0
- package/lib/core/internal/sanitize.d.ts +13 -0
- package/lib/core/internal/sanitize.d.ts.map +1 -0
- package/lib/core/internal/shell.d.ts +228 -0
- package/lib/core/internal/shell.d.ts.map +1 -0
- package/lib/core/internal/sorting.d.ts +24 -0
- package/lib/core/internal/sorting.d.ts.map +1 -0
- package/lib/core/internal/touch-scroll.d.ts +54 -0
- package/lib/core/internal/touch-scroll.d.ts.map +1 -0
- package/lib/core/internal/utils.d.ts +38 -0
- package/lib/core/internal/utils.d.ts.map +1 -0
- package/lib/core/internal/virtualization.d.ts +66 -0
- package/lib/core/internal/virtualization.d.ts.map +1 -0
- package/lib/core/plugin/base-plugin.d.ts +616 -0
- package/lib/core/plugin/base-plugin.d.ts.map +1 -0
- package/lib/core/plugin/index.d.ts +11 -0
- package/lib/core/plugin/index.d.ts.map +1 -0
- package/lib/core/plugin/plugin-manager.d.ts +183 -0
- package/lib/core/plugin/plugin-manager.d.ts.map +1 -0
- package/lib/core/plugin/types.d.ts +196 -0
- package/lib/core/plugin/types.d.ts.map +1 -0
- package/lib/core/types.d.ts +841 -0
- package/lib/core/types.d.ts.map +1 -0
- package/lib/plugins/clipboard/ClipboardPlugin.d.ts +46 -0
- package/lib/plugins/clipboard/ClipboardPlugin.d.ts.map +1 -0
- package/lib/plugins/clipboard/copy.d.ts +47 -0
- package/lib/plugins/clipboard/copy.d.ts.map +1 -0
- package/lib/plugins/clipboard/index.d.ts +7 -0
- package/lib/plugins/clipboard/index.d.ts.map +1 -0
- package/lib/plugins/clipboard/index.js.map +1 -1
- package/lib/plugins/clipboard/paste.d.ts +25 -0
- package/lib/plugins/clipboard/paste.d.ts.map +1 -0
- package/lib/plugins/clipboard/types.d.ts +40 -0
- package/lib/plugins/clipboard/types.d.ts.map +1 -0
- package/lib/plugins/column-virtualization/ColumnVirtualizationPlugin.d.ts +54 -0
- package/lib/plugins/column-virtualization/ColumnVirtualizationPlugin.d.ts.map +1 -0
- package/lib/plugins/column-virtualization/column-virtualization.d.ts +53 -0
- package/lib/plugins/column-virtualization/column-virtualization.d.ts.map +1 -0
- package/lib/plugins/column-virtualization/index.d.ts +7 -0
- package/lib/plugins/column-virtualization/index.d.ts.map +1 -0
- package/lib/plugins/column-virtualization/index.js.map +1 -1
- package/lib/plugins/column-virtualization/types.d.ts +41 -0
- package/lib/plugins/column-virtualization/types.d.ts.map +1 -0
- package/lib/plugins/context-menu/ContextMenuPlugin.d.ts +52 -0
- package/lib/plugins/context-menu/ContextMenuPlugin.d.ts.map +1 -0
- package/lib/plugins/context-menu/index.d.ts +7 -0
- package/lib/plugins/context-menu/index.d.ts.map +1 -0
- package/lib/plugins/context-menu/index.js +24 -24
- package/lib/plugins/context-menu/index.js.map +1 -1
- package/lib/plugins/context-menu/menu.d.ts +38 -0
- package/lib/plugins/context-menu/menu.d.ts.map +1 -0
- package/lib/plugins/context-menu/types.d.ts +77 -0
- package/lib/plugins/context-menu/types.d.ts.map +1 -0
- package/lib/plugins/export/ExportPlugin.d.ts +53 -0
- package/lib/plugins/export/ExportPlugin.d.ts.map +1 -0
- package/lib/plugins/export/csv.d.ts +31 -0
- package/lib/plugins/export/csv.d.ts.map +1 -0
- package/lib/plugins/export/excel.d.ts +12 -0
- package/lib/plugins/export/excel.d.ts.map +1 -0
- package/lib/plugins/export/index.d.ts +7 -0
- package/lib/plugins/export/index.d.ts.map +1 -0
- package/lib/plugins/export/index.js.map +1 -1
- package/lib/plugins/export/types.d.ts +57 -0
- package/lib/plugins/export/types.d.ts.map +1 -0
- package/lib/plugins/filtering/FilteringPlugin.d.ts +128 -0
- package/lib/plugins/filtering/FilteringPlugin.d.ts.map +1 -0
- package/lib/plugins/filtering/filter-model.d.ts +38 -0
- package/lib/plugins/filtering/filter-model.d.ts.map +1 -0
- package/lib/plugins/filtering/index.d.ts +7 -0
- package/lib/plugins/filtering/index.d.ts.map +1 -0
- package/lib/plugins/filtering/index.js +5 -5
- package/lib/plugins/filtering/index.js.map +1 -1
- package/lib/plugins/filtering/types.d.ts +157 -0
- package/lib/plugins/filtering/types.d.ts.map +1 -0
- package/lib/plugins/grouping-columns/GroupingColumnsPlugin.d.ts +51 -0
- package/lib/plugins/grouping-columns/GroupingColumnsPlugin.d.ts.map +1 -0
- package/lib/plugins/grouping-columns/grouping-columns.d.ts +41 -0
- package/lib/plugins/grouping-columns/grouping-columns.d.ts.map +1 -0
- package/lib/plugins/grouping-columns/index.d.ts +7 -0
- package/lib/plugins/grouping-columns/index.d.ts.map +1 -0
- package/lib/plugins/grouping-columns/index.js +58 -42
- package/lib/plugins/grouping-columns/index.js.map +1 -1
- package/lib/plugins/grouping-columns/types.d.ts +91 -0
- package/lib/plugins/grouping-columns/types.d.ts.map +1 -0
- package/lib/plugins/grouping-rows/GroupingRowsPlugin.d.ts +120 -0
- package/lib/plugins/grouping-rows/GroupingRowsPlugin.d.ts.map +1 -0
- package/lib/plugins/grouping-rows/grouping-rows.d.ts +51 -0
- package/lib/plugins/grouping-rows/grouping-rows.d.ts.map +1 -0
- package/lib/plugins/grouping-rows/index.d.ts +7 -0
- package/lib/plugins/grouping-rows/index.d.ts.map +1 -0
- package/lib/plugins/grouping-rows/index.js +51 -51
- package/lib/plugins/grouping-rows/index.js.map +1 -1
- package/lib/plugins/grouping-rows/types.d.ts +95 -0
- package/lib/plugins/grouping-rows/types.d.ts.map +1 -0
- package/lib/plugins/master-detail/MasterDetailPlugin.d.ts +147 -0
- package/lib/plugins/master-detail/MasterDetailPlugin.d.ts.map +1 -0
- package/lib/plugins/master-detail/index.d.ts +7 -0
- package/lib/plugins/master-detail/index.d.ts.map +1 -0
- package/lib/plugins/master-detail/index.js +235 -78
- package/lib/plugins/master-detail/index.js.map +1 -1
- package/lib/plugins/master-detail/master-detail.d.ts +30 -0
- package/lib/plugins/master-detail/master-detail.d.ts.map +1 -0
- package/lib/plugins/master-detail/types.d.ts +40 -0
- package/lib/plugins/master-detail/types.d.ts.map +1 -0
- package/lib/plugins/multi-sort/MultiSortPlugin.d.ts +58 -0
- package/lib/plugins/multi-sort/MultiSortPlugin.d.ts.map +1 -0
- package/lib/plugins/multi-sort/index.d.ts +7 -0
- package/lib/plugins/multi-sort/index.d.ts.map +1 -0
- package/lib/plugins/multi-sort/index.js.map +1 -1
- package/lib/plugins/multi-sort/multi-sort.d.ts +51 -0
- package/lib/plugins/multi-sort/multi-sort.d.ts.map +1 -0
- package/lib/plugins/multi-sort/types.d.ts +25 -0
- package/lib/plugins/multi-sort/types.d.ts.map +1 -0
- package/lib/plugins/pinned-columns/PinnedColumnsPlugin.d.ts +58 -0
- package/lib/plugins/pinned-columns/PinnedColumnsPlugin.d.ts.map +1 -0
- package/lib/plugins/pinned-columns/index.d.ts +7 -0
- package/lib/plugins/pinned-columns/index.d.ts.map +1 -0
- package/lib/plugins/pinned-columns/index.js.map +1 -1
- package/lib/plugins/pinned-columns/pinned-columns.d.ts +62 -0
- package/lib/plugins/pinned-columns/pinned-columns.d.ts.map +1 -0
- package/lib/plugins/pinned-columns/types.d.ts +20 -0
- package/lib/plugins/pinned-columns/types.d.ts.map +1 -0
- package/lib/plugins/pinned-rows/PinnedRowsPlugin.d.ts +64 -0
- package/lib/plugins/pinned-rows/PinnedRowsPlugin.d.ts.map +1 -0
- package/lib/plugins/pinned-rows/index.d.ts +7 -0
- package/lib/plugins/pinned-rows/index.d.ts.map +1 -0
- package/lib/plugins/pinned-rows/index.js +1 -1
- package/lib/plugins/pinned-rows/index.js.map +1 -1
- package/lib/plugins/pinned-rows/pinned-rows.d.ts +43 -0
- package/lib/plugins/pinned-rows/pinned-rows.d.ts.map +1 -0
- package/lib/plugins/pinned-rows/types.d.ts +95 -0
- package/lib/plugins/pinned-rows/types.d.ts.map +1 -0
- package/lib/plugins/pivot/PivotPlugin.d.ts +94 -0
- package/lib/plugins/pivot/PivotPlugin.d.ts.map +1 -0
- package/lib/plugins/pivot/index.d.ts +7 -0
- package/lib/plugins/pivot/index.d.ts.map +1 -0
- package/lib/plugins/pivot/index.js.map +1 -1
- package/lib/plugins/pivot/pivot-engine.d.ts +50 -0
- package/lib/plugins/pivot/pivot-engine.d.ts.map +1 -0
- package/lib/plugins/pivot/pivot-model.d.ts +6 -0
- package/lib/plugins/pivot/pivot-model.d.ts.map +1 -0
- package/lib/plugins/pivot/pivot-panel.d.ts +25 -0
- package/lib/plugins/pivot/pivot-panel.d.ts.map +1 -0
- package/lib/plugins/pivot/pivot-rows.d.ts +33 -0
- package/lib/plugins/pivot/pivot-rows.d.ts.map +1 -0
- package/lib/plugins/pivot/types.d.ts +62 -0
- package/lib/plugins/pivot/types.d.ts.map +1 -0
- package/lib/plugins/reorder/ReorderPlugin.d.ts +81 -0
- package/lib/plugins/reorder/ReorderPlugin.d.ts.map +1 -0
- package/lib/plugins/reorder/column-drag.d.ts +41 -0
- package/lib/plugins/reorder/column-drag.d.ts.map +1 -0
- package/lib/plugins/reorder/index.d.ts +7 -0
- package/lib/plugins/reorder/index.d.ts.map +1 -0
- package/lib/plugins/reorder/index.js +51 -48
- package/lib/plugins/reorder/index.js.map +1 -1
- package/lib/plugins/reorder/types.d.ts +54 -0
- package/lib/plugins/reorder/types.d.ts.map +1 -0
- package/lib/plugins/selection/SelectionPlugin.d.ts +77 -0
- package/lib/plugins/selection/SelectionPlugin.d.ts.map +1 -0
- package/lib/plugins/selection/index.d.ts +8 -0
- package/lib/plugins/selection/index.d.ts.map +1 -0
- package/lib/plugins/selection/index.js +86 -75
- package/lib/plugins/selection/index.js.map +1 -1
- package/lib/plugins/selection/range-selection.d.ts +109 -0
- package/lib/plugins/selection/range-selection.d.ts.map +1 -0
- package/lib/plugins/selection/row-selection.d.ts +48 -0
- package/lib/plugins/selection/row-selection.d.ts.map +1 -0
- package/lib/plugins/selection/types.d.ts +80 -0
- package/lib/plugins/selection/types.d.ts.map +1 -0
- package/lib/plugins/server-side/ServerSidePlugin.d.ts +56 -0
- package/lib/plugins/server-side/ServerSidePlugin.d.ts.map +1 -0
- package/lib/plugins/server-side/cache.d.ts +14 -0
- package/lib/plugins/server-side/cache.d.ts.map +1 -0
- package/lib/plugins/server-side/datasource.d.ts +12 -0
- package/lib/plugins/server-side/datasource.d.ts.map +1 -0
- package/lib/plugins/server-side/index.d.ts +7 -0
- package/lib/plugins/server-side/index.d.ts.map +1 -0
- package/lib/plugins/server-side/index.js.map +1 -1
- package/lib/plugins/server-side/types.d.ts +43 -0
- package/lib/plugins/server-side/types.d.ts.map +1 -0
- package/lib/plugins/tree/TreePlugin.d.ts +49 -0
- package/lib/plugins/tree/TreePlugin.d.ts.map +1 -0
- package/lib/plugins/tree/index.d.ts +8 -0
- package/lib/plugins/tree/index.d.ts.map +1 -0
- package/lib/plugins/tree/index.js.map +1 -1
- package/lib/plugins/tree/tree-data.d.ts +42 -0
- package/lib/plugins/tree/tree-data.d.ts.map +1 -0
- package/lib/plugins/tree/tree-detect.d.ts +24 -0
- package/lib/plugins/tree/tree-detect.d.ts.map +1 -0
- package/lib/plugins/tree/types.d.ts +61 -0
- package/lib/plugins/tree/types.d.ts.map +1 -0
- package/lib/plugins/undo-redo/UndoRedoPlugin.d.ts +68 -0
- package/lib/plugins/undo-redo/UndoRedoPlugin.d.ts.map +1 -0
- package/lib/plugins/undo-redo/history.d.ts +64 -0
- package/lib/plugins/undo-redo/history.d.ts.map +1 -0
- package/lib/plugins/undo-redo/index.d.ts +7 -0
- package/lib/plugins/undo-redo/index.d.ts.map +1 -0
- package/lib/plugins/undo-redo/index.js.map +1 -1
- package/lib/plugins/undo-redo/types.d.ts +41 -0
- package/lib/plugins/undo-redo/types.d.ts.map +1 -0
- package/lib/plugins/visibility/VisibilityPlugin.d.ts +135 -0
- package/lib/plugins/visibility/VisibilityPlugin.d.ts.map +1 -0
- package/lib/plugins/visibility/index.d.ts +8 -0
- package/lib/plugins/visibility/index.d.ts.map +1 -0
- package/lib/plugins/visibility/index.js.map +1 -1
- package/lib/plugins/visibility/types.d.ts +33 -0
- package/lib/plugins/visibility/types.d.ts.map +1 -0
- package/lib/plugins/visibility/visibility.d.ts +30 -0
- package/lib/plugins/visibility/visibility.d.ts.map +1 -0
- package/package.json +6 -2
- package/public.d.ts +52 -0
- package/public.d.ts.map +1 -0
- package/umd/grid.all.umd.js +32 -74
- package/umd/grid.all.umd.js.map +1 -1
- package/umd/grid.umd.js +22 -64
- package/umd/grid.umd.js.map +1 -1
- package/umd/plugins/context-menu.umd.js +1 -1
- package/umd/plugins/context-menu.umd.js.map +1 -1
- package/umd/plugins/filtering.umd.js +1 -1
- package/umd/plugins/filtering.umd.js.map +1 -1
- package/umd/plugins/grouping-columns.umd.js +1 -1
- package/umd/plugins/grouping-columns.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/master-detail.umd.js +1 -1
- package/umd/plugins/master-detail.umd.js.map +1 -1
- package/umd/plugins/pinned-rows.umd.js +1 -1
- package/umd/plugins/pinned-rows.umd.js.map +1 -1
- package/umd/plugins/pivot.umd.js.map +1 -1
- package/umd/plugins/selection.umd.js +1 -1
- package/umd/plugins/selection.umd.js.map +1 -1
- package/index-DG2CZ_Zo.js +0 -3229
- package/index-DG2CZ_Zo.js.map +0 -1
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { ColumnConfig } from '../types';
|
|
2
|
+
import { BaseGridPlugin, CellClickEvent, CellEditor, CellMouseEvent, CellRenderer, HeaderClickEvent, HeaderRenderer, PluginQuery, RowClickEvent, ScrollEvent } from './base-plugin';
|
|
3
|
+
/**
|
|
4
|
+
* Manages plugins for a single grid instance.
|
|
5
|
+
*/
|
|
6
|
+
export declare class PluginManager {
|
|
7
|
+
private grid;
|
|
8
|
+
/** Plugin instances in order of attachment */
|
|
9
|
+
private plugins;
|
|
10
|
+
/** Map from plugin class to instance for fast lookup */
|
|
11
|
+
private pluginMap;
|
|
12
|
+
/** Cell renderers registered by plugins */
|
|
13
|
+
private cellRenderers;
|
|
14
|
+
/** Header renderers registered by plugins */
|
|
15
|
+
private headerRenderers;
|
|
16
|
+
/** Cell editors registered by plugins */
|
|
17
|
+
private cellEditors;
|
|
18
|
+
constructor(grid: any);
|
|
19
|
+
/**
|
|
20
|
+
* Attach all plugins from the config.
|
|
21
|
+
*/
|
|
22
|
+
attachAll(plugins: BaseGridPlugin[]): void;
|
|
23
|
+
/**
|
|
24
|
+
* Attach a plugin to this grid.
|
|
25
|
+
*/
|
|
26
|
+
attach(plugin: BaseGridPlugin): void;
|
|
27
|
+
/**
|
|
28
|
+
* Detach all plugins and clean up.
|
|
29
|
+
*/
|
|
30
|
+
detachAll(): void;
|
|
31
|
+
/**
|
|
32
|
+
* Get a plugin instance by its class.
|
|
33
|
+
*/
|
|
34
|
+
getPlugin<T extends BaseGridPlugin>(PluginClass: new (...args: any[]) => T): T | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Get a plugin instance by its name.
|
|
37
|
+
*/
|
|
38
|
+
getPluginByName(name: string): BaseGridPlugin | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Check if a plugin is attached.
|
|
41
|
+
*/
|
|
42
|
+
hasPlugin<T extends BaseGridPlugin>(PluginClass: new (...args: any[]) => T): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Get all attached plugins.
|
|
45
|
+
*/
|
|
46
|
+
getAll(): readonly BaseGridPlugin[];
|
|
47
|
+
/**
|
|
48
|
+
* Get a cell renderer by type name.
|
|
49
|
+
*/
|
|
50
|
+
getCellRenderer(type: string): CellRenderer | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* Get a header renderer by type name.
|
|
53
|
+
*/
|
|
54
|
+
getHeaderRenderer(type: string): HeaderRenderer | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Get a cell editor by type name.
|
|
57
|
+
*/
|
|
58
|
+
getCellEditor(type: string): CellEditor | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Get all CSS styles from all plugins.
|
|
61
|
+
*/
|
|
62
|
+
getAllStyles(): string;
|
|
63
|
+
/**
|
|
64
|
+
* Execute processRows hook on all plugins.
|
|
65
|
+
*/
|
|
66
|
+
processRows(rows: readonly any[]): any[];
|
|
67
|
+
/**
|
|
68
|
+
* Execute processColumns hook on all plugins.
|
|
69
|
+
*/
|
|
70
|
+
processColumns(columns: readonly ColumnConfig[]): ColumnConfig[];
|
|
71
|
+
/**
|
|
72
|
+
* Execute beforeRender hook on all plugins.
|
|
73
|
+
*/
|
|
74
|
+
beforeRender(): void;
|
|
75
|
+
/**
|
|
76
|
+
* Execute afterRender hook on all plugins.
|
|
77
|
+
*/
|
|
78
|
+
afterRender(): void;
|
|
79
|
+
/**
|
|
80
|
+
* Execute onScrollRender hook on all plugins.
|
|
81
|
+
* Called after scroll-triggered row rendering for lightweight visual state updates.
|
|
82
|
+
*/
|
|
83
|
+
onScrollRender(): void;
|
|
84
|
+
/**
|
|
85
|
+
* Get total extra height contributed by plugins (e.g., expanded detail rows).
|
|
86
|
+
* Used to adjust scrollbar height calculations.
|
|
87
|
+
*/
|
|
88
|
+
getExtraHeight(): number;
|
|
89
|
+
/**
|
|
90
|
+
* Get extra height from plugins that appears before a given row index.
|
|
91
|
+
* Used by virtualization to correctly position the scroll window.
|
|
92
|
+
*/
|
|
93
|
+
getExtraHeightBefore(beforeRowIndex: number): number;
|
|
94
|
+
/**
|
|
95
|
+
* Adjust the virtualization start index based on plugin needs.
|
|
96
|
+
* Returns the minimum start index from all plugins.
|
|
97
|
+
*/
|
|
98
|
+
adjustVirtualStart(start: number, scrollTop: number, rowHeight: number): number;
|
|
99
|
+
/**
|
|
100
|
+
* Execute renderRow hook on all plugins.
|
|
101
|
+
* Returns true if any plugin handled the row.
|
|
102
|
+
*/
|
|
103
|
+
renderRow(row: any, rowEl: HTMLElement, rowIndex: number): boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Query all plugins with a generic query and collect responses.
|
|
106
|
+
* This enables inter-plugin communication without the core knowing plugin-specific concepts.
|
|
107
|
+
*
|
|
108
|
+
* Common query types are defined in PLUGIN_QUERIES, but plugins can define their own.
|
|
109
|
+
*
|
|
110
|
+
* @param query - The query object containing type and context
|
|
111
|
+
* @returns Array of non-undefined responses from plugins
|
|
112
|
+
*/
|
|
113
|
+
queryPlugins<T>(query: PluginQuery): T[];
|
|
114
|
+
/**
|
|
115
|
+
* Execute onKeyDown hook on all plugins.
|
|
116
|
+
* Returns true if any plugin handled the event.
|
|
117
|
+
*/
|
|
118
|
+
onKeyDown(event: KeyboardEvent): boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Execute onCellClick hook on all plugins.
|
|
121
|
+
* Returns true if any plugin handled the event.
|
|
122
|
+
*/
|
|
123
|
+
onCellClick(event: CellClickEvent): boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Execute onRowClick hook on all plugins.
|
|
126
|
+
* Returns true if any plugin handled the event.
|
|
127
|
+
*/
|
|
128
|
+
onRowClick(event: RowClickEvent): boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Execute onHeaderClick hook on all plugins.
|
|
131
|
+
* Returns true if any plugin handled the event.
|
|
132
|
+
*/
|
|
133
|
+
onHeaderClick(event: HeaderClickEvent): boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Execute onScroll hook on all plugins.
|
|
136
|
+
*/
|
|
137
|
+
onScroll(event: ScrollEvent): void;
|
|
138
|
+
/**
|
|
139
|
+
* Execute onCellMouseDown hook on all plugins.
|
|
140
|
+
* Returns true if any plugin handled the event.
|
|
141
|
+
*/
|
|
142
|
+
onCellMouseDown(event: CellMouseEvent): boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Execute onCellMouseMove hook on all plugins.
|
|
145
|
+
* Returns true if any plugin handled the event.
|
|
146
|
+
*/
|
|
147
|
+
onCellMouseMove(event: CellMouseEvent): boolean;
|
|
148
|
+
/**
|
|
149
|
+
* Execute onCellMouseUp hook on all plugins.
|
|
150
|
+
* Returns true if any plugin handled the event.
|
|
151
|
+
*/
|
|
152
|
+
onCellMouseUp(event: CellMouseEvent): boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Collect horizontal scroll boundary offsets from all plugins.
|
|
155
|
+
* Combines offsets from all plugins that report them.
|
|
156
|
+
*
|
|
157
|
+
* @param rowEl - The row element (optional, for calculating widths from rendered cells)
|
|
158
|
+
* @param focusedCell - The currently focused cell element (optional, to determine if scrolling should be skipped)
|
|
159
|
+
* @returns Combined left and right pixel offsets, plus skipScroll if any plugin requests it
|
|
160
|
+
*/
|
|
161
|
+
getHorizontalScrollOffsets(rowEl?: HTMLElement, focusedCell?: HTMLElement): {
|
|
162
|
+
left: number;
|
|
163
|
+
right: number;
|
|
164
|
+
skipScroll?: boolean;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Collect tool panels from all plugins.
|
|
168
|
+
* Returns panels sorted by order (ascending).
|
|
169
|
+
*/
|
|
170
|
+
getToolPanels(): {
|
|
171
|
+
plugin: BaseGridPlugin;
|
|
172
|
+
panel: NonNullable<ReturnType<NonNullable<BaseGridPlugin['getToolPanel']>>>;
|
|
173
|
+
}[];
|
|
174
|
+
/**
|
|
175
|
+
* Collect header contents from all plugins.
|
|
176
|
+
* Returns contents sorted by order (ascending).
|
|
177
|
+
*/
|
|
178
|
+
getHeaderContents(): {
|
|
179
|
+
plugin: BaseGridPlugin;
|
|
180
|
+
content: NonNullable<ReturnType<NonNullable<BaseGridPlugin['getHeaderContent']>>>;
|
|
181
|
+
}[];
|
|
182
|
+
}
|
|
183
|
+
//# sourceMappingURL=plugin-manager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-manager.d.ts","sourceRoot":"","sources":["../../../../../../libs/grid/src/lib/core/plugin/plugin-manager.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,KAAK,EACV,cAAc,EACd,cAAc,EACd,UAAU,EACV,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,aAAa,EACb,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EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE;IAoBxD;;;OAGG;IACH,aAAa,IAAI;QACf,MAAM,EAAE,cAAc,CAAC;QACvB,KAAK,EAAE,WAAW,CAAC,UAAU,CAAC,WAAW,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;KAC7E,EAAE;IAeH;;;OAGG;IACH,iBAAiB,IAAI;QACnB,MAAM,EAAE,cAAc,CAAC;QACvB,OAAO,EAAE,WAAW,CAAC,UAAU,CAAC,WAAW,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;KACnF,EAAE;CAeJ"}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { ColumnConfig, GridConfig } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Keyboard modifier flags
|
|
4
|
+
*/
|
|
5
|
+
export interface KeyboardModifiers {
|
|
6
|
+
ctrl?: boolean;
|
|
7
|
+
shift?: boolean;
|
|
8
|
+
alt?: boolean;
|
|
9
|
+
meta?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Cell coordinates
|
|
13
|
+
*/
|
|
14
|
+
export interface CellCoords {
|
|
15
|
+
row: number;
|
|
16
|
+
col: number;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Cell click event
|
|
20
|
+
*/
|
|
21
|
+
export interface CellClickEvent {
|
|
22
|
+
rowIndex: number;
|
|
23
|
+
colIndex: number;
|
|
24
|
+
field: string;
|
|
25
|
+
value: unknown;
|
|
26
|
+
row: unknown;
|
|
27
|
+
cellEl: HTMLElement;
|
|
28
|
+
originalEvent: MouseEvent;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Row click event
|
|
32
|
+
*/
|
|
33
|
+
export interface RowClickEvent {
|
|
34
|
+
rowIndex: number;
|
|
35
|
+
row: unknown;
|
|
36
|
+
rowEl: HTMLElement;
|
|
37
|
+
originalEvent: MouseEvent;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Header click event
|
|
41
|
+
*/
|
|
42
|
+
export interface HeaderClickEvent {
|
|
43
|
+
colIndex: number;
|
|
44
|
+
field: string;
|
|
45
|
+
column: ColumnConfig;
|
|
46
|
+
headerEl: HTMLElement;
|
|
47
|
+
originalEvent: MouseEvent;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Scroll event
|
|
51
|
+
*/
|
|
52
|
+
export interface ScrollEvent {
|
|
53
|
+
scrollTop: number;
|
|
54
|
+
scrollLeft: number;
|
|
55
|
+
scrollHeight: number;
|
|
56
|
+
scrollWidth: number;
|
|
57
|
+
clientHeight: number;
|
|
58
|
+
clientWidth: number;
|
|
59
|
+
originalEvent?: Event;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Cell mouse event (for drag operations, selection, etc.)
|
|
63
|
+
*/
|
|
64
|
+
export interface CellMouseEvent {
|
|
65
|
+
/** Event type: mousedown, mousemove, or mouseup */
|
|
66
|
+
type: 'mousedown' | 'mousemove' | 'mouseup';
|
|
67
|
+
/** Row index, undefined if not over a data cell */
|
|
68
|
+
rowIndex?: number;
|
|
69
|
+
/** Column index, undefined if not over a cell */
|
|
70
|
+
colIndex?: number;
|
|
71
|
+
/** Field name, undefined if not over a cell */
|
|
72
|
+
field?: string;
|
|
73
|
+
/** Cell value, undefined if not over a data cell */
|
|
74
|
+
value?: unknown;
|
|
75
|
+
/** Row data object, undefined if not over a data row */
|
|
76
|
+
row?: unknown;
|
|
77
|
+
/** Column configuration, undefined if not over a column */
|
|
78
|
+
column?: ColumnConfig;
|
|
79
|
+
/** The cell element, undefined if not over a cell */
|
|
80
|
+
cellElement?: HTMLElement;
|
|
81
|
+
/** The row element, undefined if not over a row */
|
|
82
|
+
rowElement?: HTMLElement;
|
|
83
|
+
/** Whether the event is over a header cell */
|
|
84
|
+
isHeader: boolean;
|
|
85
|
+
/** Cell coordinates if over a valid data cell */
|
|
86
|
+
cell?: CellCoords;
|
|
87
|
+
/** The original mouse event */
|
|
88
|
+
originalEvent: MouseEvent;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Context menu parameters
|
|
92
|
+
*/
|
|
93
|
+
export interface ContextMenuParams {
|
|
94
|
+
x: number;
|
|
95
|
+
y: number;
|
|
96
|
+
rowIndex?: number;
|
|
97
|
+
colIndex?: number;
|
|
98
|
+
field?: string;
|
|
99
|
+
value?: unknown;
|
|
100
|
+
row?: unknown;
|
|
101
|
+
column?: ColumnConfig;
|
|
102
|
+
isHeader?: boolean;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Context menu item (used by context-menu plugin query)
|
|
106
|
+
*/
|
|
107
|
+
export interface ContextMenuItem {
|
|
108
|
+
id: string;
|
|
109
|
+
label: string;
|
|
110
|
+
icon?: string;
|
|
111
|
+
disabled?: boolean;
|
|
112
|
+
separator?: boolean;
|
|
113
|
+
children?: ContextMenuItem[];
|
|
114
|
+
action?: (params: ContextMenuParams) => void;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Generic plugin query for inter-plugin communication.
|
|
118
|
+
* Plugins can define their own query types as string constants
|
|
119
|
+
* and respond to queries from other plugins.
|
|
120
|
+
*/
|
|
121
|
+
export interface PluginQuery<T = unknown> {
|
|
122
|
+
/** Query type identifier (e.g., 'canMoveColumn', 'getContextMenuItems') */
|
|
123
|
+
type: string;
|
|
124
|
+
/** Query-specific context/parameters */
|
|
125
|
+
context: T;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Well-known plugin query types.
|
|
129
|
+
* Plugins can define additional query types beyond these.
|
|
130
|
+
*/
|
|
131
|
+
export declare const PLUGIN_QUERIES: {
|
|
132
|
+
/** Ask if a column can be moved. Context: ColumnConfig. Response: boolean | undefined */
|
|
133
|
+
readonly CAN_MOVE_COLUMN: "canMoveColumn";
|
|
134
|
+
/** Get context menu items. Context: ContextMenuParams. Response: ContextMenuItem[] */
|
|
135
|
+
readonly GET_CONTEXT_MENU_ITEMS: "getContextMenuItems";
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Cell render context for plugin cell renderers.
|
|
139
|
+
* Provides full context including position and editing state.
|
|
140
|
+
*/
|
|
141
|
+
export interface PluginCellRenderContext {
|
|
142
|
+
/** The cell value */
|
|
143
|
+
value: unknown;
|
|
144
|
+
/** The row data object */
|
|
145
|
+
row: unknown;
|
|
146
|
+
/** The row index in the data array */
|
|
147
|
+
rowIndex: number;
|
|
148
|
+
/** The column index */
|
|
149
|
+
colIndex: number;
|
|
150
|
+
/** The field name */
|
|
151
|
+
field: string;
|
|
152
|
+
/** The column configuration */
|
|
153
|
+
column: ColumnConfig;
|
|
154
|
+
/** Whether the cell is being edited */
|
|
155
|
+
isEditing: boolean;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Cell renderer function type for plugins.
|
|
159
|
+
*/
|
|
160
|
+
export type CellRenderer = (ctx: PluginCellRenderContext) => string | HTMLElement;
|
|
161
|
+
/**
|
|
162
|
+
* Header renderer function type for plugins.
|
|
163
|
+
*/
|
|
164
|
+
export type HeaderRenderer = (ctx: {
|
|
165
|
+
column: ColumnConfig;
|
|
166
|
+
colIndex: number;
|
|
167
|
+
}) => string | HTMLElement;
|
|
168
|
+
/**
|
|
169
|
+
* Cell editor interface for plugins.
|
|
170
|
+
*/
|
|
171
|
+
export interface CellEditor {
|
|
172
|
+
create(ctx: PluginCellRenderContext, commitFn: (value: unknown) => void, cancelFn: () => void): HTMLElement;
|
|
173
|
+
getValue?(element: HTMLElement): unknown;
|
|
174
|
+
focus?(element: HTMLElement): void;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Minimal grid interface for plugins.
|
|
178
|
+
* This avoids circular imports with the full DataGridElement.
|
|
179
|
+
*/
|
|
180
|
+
export interface GridElementRef {
|
|
181
|
+
shadowRoot: ShadowRoot | null;
|
|
182
|
+
rows: unknown[];
|
|
183
|
+
columns: ColumnConfig[];
|
|
184
|
+
gridConfig: GridConfig;
|
|
185
|
+
/** Current focused row index */
|
|
186
|
+
_focusRow: number;
|
|
187
|
+
/** Current focused column index */
|
|
188
|
+
_focusCol: number;
|
|
189
|
+
/** AbortSignal that is aborted when the grid disconnects from the DOM */
|
|
190
|
+
disconnectSignal: AbortSignal;
|
|
191
|
+
requestRender(): void;
|
|
192
|
+
requestAfterRender(): void;
|
|
193
|
+
forceLayout(): Promise<void>;
|
|
194
|
+
dispatchEvent(event: Event): boolean;
|
|
195
|
+
}
|
|
196
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../libs/grid/src/lib/core/plugin/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEzD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,OAAO,CAAC;IACb,MAAM,EAAE,WAAW,CAAC;IACpB,aAAa,EAAE,UAAU,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,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