@ixfx/components 0.15.5 → 0.16.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/bundle/index.d.ts +917 -44
- package/bundle/index.js +702 -696
- package/dist/crumb-navigation-BbqfmkYs.d.ts +147 -0
- package/dist/crumb-navigation-YnFVFqrx.js +1290 -0
- package/dist/crumbs.d.ts +2 -115
- package/dist/crumbs.js +1 -1179
- package/dist/{data-grid-D7qzmMMp.d.ts → data-grid-CIG2DVip.d.ts} +45 -3
- package/dist/{data-grid-C1sZX6n9.js → data-grid-rMkLX2qo.js} +593 -206
- package/dist/data-grid.d.ts +3 -3
- package/dist/data-grid.js +1 -1
- package/dist/{detail-list-CKIKlszv.d.ts → detail-list-6iMTNP4N.d.ts} +34 -4
- package/dist/{detail-list-q8bs67BM.js → detail-list-C4pDSoI8.js} +218 -7
- package/dist/detail-list.d.ts +4 -4
- package/dist/detail-list.js +1 -1
- package/dist/{flat-list-DXMyDiSH.d.ts → flat-list-JPgQSmLW.d.ts} +27 -4
- package/dist/flat-list.d.ts +2 -2
- package/dist/flat-list.js +123 -4
- package/dist/{grid-list-y6dWJYu3.js → grid-list-CdEkScn-.js} +276 -75
- package/dist/{grid-list-0e7snW6t.d.ts → grid-list-D6n7WH8l.d.ts} +128 -22
- package/dist/grid-list.d.ts +3 -3
- package/dist/grid-list.js +1 -1
- package/dist/incr-search.d.ts +1 -1
- package/dist/index-9ttcdwlL.d.ts +71 -0
- package/dist/{index-DEVyVIn8.d.ts → index-Bx0BXPxI.d.ts} +52 -6
- package/dist/index-CYRc6Dah.d.ts +475 -0
- package/dist/{index-KN2MW_xD.d.ts → index-Dr80Zdl6.d.ts} +1 -1
- package/dist/index.d.ts +334 -23
- package/dist/index.js +2247 -867
- package/dist/{list-native-drag-controller-O2Nruqpi.d.ts → list-native-drag-controller-D_UrXipS.d.ts} +1 -1
- package/dist/{list-selection-controller-BeE70lbB.js → list-selection-controller-5L0Nj9tR.js} +87 -2
- package/dist/miller-BFRfn0ve.js +2237 -0
- package/dist/miller.d.ts +4 -437
- package/dist/miller.js +1 -1815
- package/dist/pending-BGidHppL.js +91 -0
- package/dist/scroll-hover-guard-Cjw6179Q.js +35 -0
- package/dist/{split-layout-JK3xWVX2.d.ts → split-layout-CophkNeU.d.ts} +41 -3
- package/dist/{split-layout-Deoxy47d.js → split-layout-DTY4PJRp.js} +251 -19
- package/dist/split-layout.d.ts +1 -1
- package/dist/split-layout.js +1 -1
- package/dist/sunburst-tree.d.ts +2 -2
- package/dist/sunburst-tree.js +1 -1
- package/dist/{sunbursttree-list-yXwS-uEI.js → sunbursttree-list-B_VxOHlo.js} +298 -79
- package/dist/{sunbursttree-list--Z0uyh8O.d.ts → sunbursttree-list-D6j5BxVQ.d.ts} +40 -3
- package/dist/tree-CftHwtEb.js +146 -0
- package/dist/{tree-D8VxvR9u.js → tree-Crdpl4nc.js} +275 -47
- package/dist/{tree-component-C6UHO-w9.d.ts → tree-component-DgfkxmVY.d.ts} +19 -8
- package/dist/tree.d.ts +3 -3
- package/dist/tree.js +1 -1
- package/dist/types-LU1u0CB8.d.ts +87 -0
- package/dist/vertical-list-1V1Vg2O5.js +1993 -0
- package/dist/{vertical-list-D8MksoTp.d.ts → vertical-list-BPDmZx6T.d.ts} +31 -3
- package/dist/vertical-list.d.ts +3 -3
- package/dist/vertical-list.js +1 -1789
- package/dist/view-state-controller-BdyXWUUM.js +305 -0
- package/docs-user/README.md +2 -0
- package/docs-user/crumbs.md +27 -0
- package/docs-user/data-grid.md +66 -1
- package/docs-user/detail-list.md +54 -0
- package/docs-user/dock.md +54 -12
- package/docs-user/flat-list.md +27 -0
- package/docs-user/grid-list.md +64 -11
- package/docs-user/hyperbolic-tree.md +31 -4
- package/docs-user/icicle-tree.md +36 -0
- package/docs-user/index.json +12 -2
- package/docs-user/llms.txt +2 -0
- package/docs-user/miller.md +52 -21
- package/docs-user/multicol-list.md +50 -8
- package/docs-user/split-layout.md +45 -17
- package/docs-user/sunburst-tree.md +32 -2
- package/docs-user/tree.md +45 -6
- package/docs-user/treemap.md +32 -0
- package/docs-user/twosplit-layout.md +22 -0
- package/docs-user/user-catalog.md +1 -1
- package/docs-user/vertical-list.md +55 -7
- package/llms.txt +2 -0
- package/package.json +1 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import "./icon-CDGprSdE.js";
|
|
2
|
-
import {
|
|
2
|
+
import { L as ListDragPreviewRenderer, R as ListDragPreviewSourceResolver, V as ListNativeDragStartEvent } from "./tree-component-DgfkxmVY.js";
|
|
3
|
+
import { a as ViewStateBase, t as GetViewStateOptions } from "./types-LU1u0CB8.js";
|
|
4
|
+
import "./index-9ttcdwlL.js";
|
|
3
5
|
import { n as ListViewportChangeEvent, t as ListViewportChangeDetail } from "./list-viewport-types-BRZsLcvp.js";
|
|
4
|
-
import { S as ListSearchController } from "./index-
|
|
6
|
+
import { S as ListSearchController } from "./index-Dr80Zdl6.js";
|
|
5
7
|
import "./index-DxyyVqzA.js";
|
|
6
8
|
import "./pan-text-CoYmt2qd.js";
|
|
7
9
|
import { LitElement } from "lit";
|
|
@@ -99,6 +101,31 @@ type DataGridGroupLabel = (groupKey: string, rows: readonly unknown[]) => string
|
|
|
99
101
|
/** Whether the data-grid renders its built-in header column/group menu. */
|
|
100
102
|
type DataGridColumnMenu = `auto` | `none`;
|
|
101
103
|
//#endregion
|
|
104
|
+
//#region src/data-grid/data-grid-view-state.d.ts
|
|
105
|
+
/**
|
|
106
|
+
* Pure view-state helpers for `ixfx-data-grid`. The grid runs these whenever
|
|
107
|
+
* its rows or columns change, so state keyed to rows / columns that left the
|
|
108
|
+
* data goes pending and comes back when those keys reappear.
|
|
109
|
+
*/
|
|
110
|
+
/** Saved layout for one column, keyed by column key in {@link DataGridViewState.columns}. */
|
|
111
|
+
type DataGridColumnViewState = {
|
|
112
|
+
readonly width?: number;
|
|
113
|
+
readonly visible?: boolean;
|
|
114
|
+
/** Rank among the saved columns (lower is further left). */
|
|
115
|
+
readonly order?: number;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* `ixfx-data-grid` view state. `expanded` is keyed by group key; groups
|
|
119
|
+
* default to open, so a collapsed group is `false`.
|
|
120
|
+
*/
|
|
121
|
+
type DataGridViewState = ViewStateBase & {
|
|
122
|
+
readonly columns?: Readonly<Record<string, DataGridColumnViewState>>;
|
|
123
|
+
/** Sorted column + direction; `null` means unsorted. */
|
|
124
|
+
readonly sort?: DataGridSortState;
|
|
125
|
+
/** Group-by column key (`null` = ungrouped). Only recorded when `allowGrouping` is on. */
|
|
126
|
+
readonly groupBy?: string | null;
|
|
127
|
+
};
|
|
128
|
+
//#endregion
|
|
102
129
|
//#region src/data-grid/data-grid.d.ts
|
|
103
130
|
type DataGridSortDetail = {
|
|
104
131
|
readonly sort: DataGridSortState;
|
|
@@ -376,6 +403,21 @@ declare class DataGridElement extends LitElement {
|
|
|
376
403
|
autoSizeColumn(key: string): boolean;
|
|
377
404
|
private _columnResizeAnimationMs;
|
|
378
405
|
private _onResizePointerDown;
|
|
406
|
+
/**
|
|
407
|
+
* Snapshot selection, cursor, scroll, collapsed groups, column layout, sort
|
|
408
|
+
* and (with `allowGrouping`) grouping as plain JSON, keyed by row / group /
|
|
409
|
+
* column key. Includes pending state for keys not currently present. Rows
|
|
410
|
+
* keyed by index (no `key` / `id` under the default `getRowKey`) are never
|
|
411
|
+
* recorded.
|
|
412
|
+
*/
|
|
413
|
+
getViewState(options?: GetViewStateOptions<DataGridViewState>): DataGridViewState;
|
|
414
|
+
/**
|
|
415
|
+
* Apply saved view state. Fields present replace the current ones; row and
|
|
416
|
+
* column keys that aren't defined yet are applied as they appear (including
|
|
417
|
+
* rows streamed in with `appendRows()`).
|
|
418
|
+
*/
|
|
419
|
+
setViewState(state: Partial<DataGridViewState>): void;
|
|
420
|
+
clearPendingViewState(): void;
|
|
379
421
|
getVisibleRange(): {
|
|
380
422
|
startRow: number;
|
|
381
423
|
endRow: number;
|
|
@@ -398,4 +440,4 @@ interface DataGridElement {
|
|
|
398
440
|
removeEventListener: (<K extends keyof DataGridElementEventMap>(type: K, listener: (this: DataGridElement, event: DataGridElementEventMap[K]) => void, options?: boolean | EventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions) => void);
|
|
399
441
|
}
|
|
400
442
|
//#endregion
|
|
401
|
-
export {
|
|
443
|
+
export { DataGridEditability as A, DataGridSortDirection as B, DataGridColumnViewState as C, DataGridColumn as D, BuiltInFormatterOptions as E, DataGridGroupBy as F, GlobalFormatter as H, DataGridGroupLabel as I, DataGridInteractionMode as L, DataGridEditorFactory as M, DataGridEditorType as N, DataGridColumnMenu as O, DataGridGetRowKey as P, DataGridRowLook as R, DataGridViewportChangeEvent as S, BuiltInFormatterName as T, DataGridSortState as V, DataGridSelectDetail as _, DataGridColumnReorderDetail as a, DataGridSortEvent as b, DataGridColumnResizeEvent as c, DataGridElement as d, DataGridElementEventMap as f, DataGridRowActivateEvent as g, DataGridRowActivateDetail as h, DataGridCellEditEvent as i, DataGridEditorContext as j, DataGridDataType as k, DataGridColumnVisibilityDetail as l, DataGridGroupChangeEvent as m, DataGridCellClickEvent as n, DataGridColumnReorderEvent as o, DataGridGroupChangeDetail as p, DataGridCellEditDetail as r, DataGridColumnResizeDetail as s, DataGridCellClickDetail as t, DataGridColumnVisibilityEvent as u, DataGridSelectEvent as v, DataGridViewState as w, DataGridViewportChangeDetail as x, DataGridSortDetail as y, DataGridSelectionMode as z };
|