@toolbox-web/grid 2.4.1 → 2.6.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 +15 -3
- 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/types.d.ts +72 -30
- 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 +1 -1
- package/lib/plugins/editing/index.js.map +1 -1
- package/lib/plugins/editing/internal/helpers.d.ts +17 -0
- 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/index.js.map +1 -1
- package/lib/plugins/pinned-rows/PinnedRowsPlugin.d.ts +28 -4
- package/lib/plugins/pinned-rows/index.d.ts +3 -2
- 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 +29 -1
- package/lib/plugins/pinned-rows/types.d.ts +96 -9
- 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 +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/row-drag-drop/types.d.ts +7 -0
- 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/VisibilityPlugin.d.ts +0 -11
- package/lib/plugins/visibility/index.d.ts +1 -2
- package/lib/plugins/visibility/index.js.map +1 -1
- package/lib/plugins/visibility/types.d.ts +32 -0
- package/package.json +1 -1
- package/public.d.ts +28 -67
- 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/editing.umd.js +1 -1
- package/umd/plugins/editing.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/responsive.umd.js +1 -1
- package/umd/plugins/responsive.umd.js.map +1 -1
- package/umd/plugins/visibility.umd.js.map +1 -1
|
@@ -47,6 +47,23 @@ export declare function wireEditorInputs(editorHost: HTMLElement, column: Column
|
|
|
47
47
|
* ```
|
|
48
48
|
*/
|
|
49
49
|
export declare function shouldPreventEditClose(config: EditingConfig, event: MouseEvent | KeyboardEvent): boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Returns `true` when `target` is inside an overlay panel that is currently
|
|
52
|
+
* "owned" by an open combobox/listbox/menu inside `scopeEl`.
|
|
53
|
+
*
|
|
54
|
+
* Detection uses the WAI-ARIA pattern: a control with
|
|
55
|
+
* `aria-expanded="true"` and `aria-controls="<id>"` declares ownership of
|
|
56
|
+
* the panel with that id. Used by the editing plugin as a generic fallback
|
|
57
|
+
* so portal-rendered overlays from libraries like Downshift, Material UI,
|
|
58
|
+
* or Headless UI are recognised as part of the active editor without the
|
|
59
|
+
* consumer having to call `registerExternalFocusContainer` (#251).
|
|
60
|
+
*
|
|
61
|
+
* Cheap: only walks elements with `aria-expanded="true"` inside the
|
|
62
|
+
* editor scope (typically zero or one).
|
|
63
|
+
*
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
export declare function isInsideOpenAriaOverlay(target: Node | null | undefined, scopeEl: HTMLElement): boolean;
|
|
50
67
|
/**
|
|
51
68
|
* Shallow-compare a snapshot against the current row to detect changes.
|
|
52
69
|
* Returns `true` if any own-property value differs between the two objects.
|