impact-nova 2.5.9 → 2.5.11
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/dist/components/data/data-table/column-runtime-state-guard.js +42 -42
- package/dist/components/data/data-table/data-table-column-tree-cache.d.ts +15 -0
- package/dist/components/data/data-table/data-table-column-tree-cache.js +109 -80
- package/dist/components/data/data-table/use-data-table-column-list-sync.js +65 -62
- package/dist/components/data-display/calendar/calendar-apply-validation.d.ts +2 -0
- package/dist/components/data-display/calendar/calendar-apply-validation.js +64 -67
- package/dist/components/data-display/calendar/calendar-available-view.d.ts +27 -0
- package/dist/components/data-display/calendar/calendar-available-view.js +85 -0
- package/dist/components/data-display/calendar/calendar-day-picker-classnames.d.ts +6 -1
- package/dist/components/data-display/calendar/calendar-day-picker-classnames.js +31 -23
- package/dist/components/data-display/calendar/calendar-day-picker-components.d.ts +5 -2
- package/dist/components/data-display/calendar/calendar-day-picker-components.js +210 -167
- package/dist/components/data-display/calendar/calendar-day-picker-view.d.ts +3 -2
- package/dist/components/data-display/calendar/calendar-day-picker-view.js +126 -124
- package/dist/components/data-display/calendar/calendar-fiscal-period-nav.d.ts +6 -0
- package/dist/components/data-display/calendar/calendar-fiscal-period-nav.js +34 -18
- package/dist/components/data-display/calendar/calendar-month-utils.d.ts +5 -0
- package/dist/components/data-display/calendar/calendar-month-utils.js +85 -64
- package/dist/components/data-display/calendar/calendar-padding-week.utils.d.ts +5 -1
- package/dist/components/data-display/calendar/calendar-padding-week.utils.js +20 -16
- package/dist/components/data-display/calendar/calendar-selection-appearance.d.ts +1 -0
- package/dist/components/data-display/calendar/calendar-selection-appearance.js +31 -30
- package/dist/components/data-display/calendar/calendar-week-number-cell.d.ts +3 -1
- package/dist/components/data-display/calendar/calendar-week-number-cell.js +68 -53
- package/dist/components/data-display/calendar/calendar-week-utils.d.ts +6 -0
- package/dist/components/data-display/calendar/calendar-week-utils.js +51 -47
- package/dist/components/data-display/calendar/calendar-year-panes.d.ts +2 -0
- package/dist/components/data-display/calendar/calendar-year-panes.js +3 -1
- package/dist/components/data-display/calendar/calendar.js +170 -165
- package/dist/components/data-display/calendar/calendar.types.d.ts +7 -0
- package/dist/components/data-display/calendar/use-calendar-day-picker-config.d.ts +5 -2
- package/dist/components/data-display/calendar/use-calendar-day-picker-config.js +86 -76
- package/dist/components/data-display/calendar/use-calendar-state.d.ts +3 -1
- package/dist/components/data-display/calendar/use-calendar-state.js +403 -325
- package/dist/components/feedback/dialog/dialog.js +12 -12
- package/dist/components/feedback/sheet/sheet.js +22 -22
- package/dist/components/forms/date-picker/calendar-selection-adapters.d.ts +2 -0
- package/dist/components/forms/date-picker/calendar-selection-adapters.js +36 -31
- package/dist/components/forms/date-picker/date-input-behavior.d.ts +10 -0
- package/dist/components/forms/date-picker/date-input-behavior.js +111 -90
- package/dist/components/forms/date-picker/date-picker.js +74 -70
- package/dist/components/forms/date-picker/date-picker.types.d.ts +7 -0
- package/dist/components/forms/date-picker/date-range-picker.js +148 -144
- package/dist/components/forms/date-picker/fiscal-pass-through.d.ts +2 -0
- package/dist/components/forms/date-picker/fiscal-pass-through.js +4 -2
- package/dist/components/forms/date-picker/month-picker.js +84 -80
- package/dist/components/forms/date-picker/month-range-picker.js +147 -143
- package/dist/components/forms/date-picker/multi-date-picker.js +53 -49
- package/dist/components/forms/date-picker/multi-month-picker.js +51 -47
- package/dist/components/forms/date-picker/multi-quarter-picker.js +48 -44
- package/dist/components/forms/date-picker/multi-week-picker.js +55 -51
- package/dist/components/forms/date-picker/multi-year-picker.js +50 -46
- package/dist/components/forms/date-picker/picker-story-layout.d.ts +2 -0
- package/dist/components/forms/date-picker/quarter-picker.js +48 -44
- package/dist/components/forms/date-picker/quarter-range-picker.js +47 -43
- package/dist/components/forms/date-picker/week-picker.js +86 -82
- package/dist/components/forms/date-picker/week-range-picker.js +171 -164
- package/dist/components/forms/date-picker/year-picker.js +49 -45
- package/dist/components/forms/date-picker/year-range-picker.js +49 -45
- package/dist/components/forms/select/components/SelectMenuPanel.js +3 -2
- package/dist/components/forms/select/select.js +1 -0
- package/dist/form-react/Fields/DateInputField.js +51 -50
- package/dist/form-react/Fields/DateRangeField.js +14 -13
- package/dist/form-react/Fields/MonthRangeField.js +29 -28
- package/dist/form-react/Fields/MultiMonthPickerField.js +13 -12
- package/dist/form-react/Fields/MultiWeekPickerField.js +18 -17
- package/dist/form-react/Fields/WeekRangePicker.js +48 -48
- package/dist/form-react/types/fields.types.d.ts +14 -0
- package/dist/impact-nova.css +1 -1
- package/dist/lib/overlay/overlay-portal-context.js +16 -16
- package/dist/llms/rules/installation.js +1 -1
- package/dist/llms/rules/requirements.js +1 -1
- package/package.json +1 -1
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
import { buildColumnStateFromTree as
|
|
2
|
-
import { mergePartialOrderedColumnState as
|
|
3
|
-
import { afterSynchronousColumnApply as
|
|
4
|
-
import { readColumnTreeCache as
|
|
5
|
-
import { subscribeGridApiEvent as
|
|
6
|
-
const
|
|
1
|
+
import { buildColumnStateFromTree as C } from "./build-column-state-from-tree.js";
|
|
2
|
+
import { mergePartialOrderedColumnState as p } from "./data-table-column-state.js";
|
|
3
|
+
import { afterSynchronousColumnApply as b } from "./data-table-column-apply.js";
|
|
4
|
+
import { readColumnTreeCache as s, readGridLayoutFingerprint as m, readGridVisibilityFingerprint as c, buildColumnTreeWithCache as a } from "./data-table-column-tree-cache.js";
|
|
5
|
+
import { subscribeGridApiEvent as S } from "../ag-grid-react/grid-api-event-subscription.js";
|
|
6
|
+
const n = {
|
|
7
7
|
frozenColumns: "__prewarm_frozen__",
|
|
8
8
|
scrollableColumns: "__prewarm_scrollable__"
|
|
9
|
-
},
|
|
10
|
-
function
|
|
9
|
+
}, r = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap();
|
|
10
|
+
function f(e) {
|
|
11
11
|
return typeof e.isDestroyed == "function" && e.isDestroyed();
|
|
12
12
|
}
|
|
13
|
-
function
|
|
14
|
-
return
|
|
13
|
+
function E(e) {
|
|
14
|
+
return o.get(e) === !0;
|
|
15
15
|
}
|
|
16
16
|
function F(e) {
|
|
17
|
-
return
|
|
17
|
+
return r.get(e) === !0;
|
|
18
18
|
}
|
|
19
|
-
function
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
function T(e) {
|
|
20
|
+
r.set(e, !0), globalThis.setTimeout(() => {
|
|
21
|
+
r.delete(e);
|
|
22
22
|
}, 0);
|
|
23
23
|
}
|
|
24
|
-
function
|
|
25
|
-
if (
|
|
24
|
+
function D(e) {
|
|
25
|
+
if (f(e))
|
|
26
26
|
return;
|
|
27
|
-
const t =
|
|
27
|
+
const t = s(e, n);
|
|
28
28
|
if (t) {
|
|
29
|
-
const
|
|
30
|
-
if (
|
|
29
|
+
const u = m(e), i = c(e);
|
|
30
|
+
if (u === t.gridLayoutFingerprint && i === t.gridVisibilityFingerprint)
|
|
31
31
|
return;
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
a(e, n);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
const t =
|
|
35
|
+
function h(e) {
|
|
36
|
+
const t = s(e, n);
|
|
37
37
|
if (!t)
|
|
38
38
|
return;
|
|
39
|
-
const
|
|
40
|
-
if (
|
|
39
|
+
const u = m(e), i = c(e);
|
|
40
|
+
if (u === t.gridLayoutFingerprint && i === t.gridVisibilityFingerprint)
|
|
41
41
|
return;
|
|
42
|
-
const
|
|
43
|
-
if (
|
|
42
|
+
const l = C(t.items);
|
|
43
|
+
if (l.length === 0)
|
|
44
44
|
return;
|
|
45
|
-
|
|
46
|
-
const
|
|
47
|
-
e.applyColumnState({ state:
|
|
48
|
-
|
|
45
|
+
o.set(e, !0);
|
|
46
|
+
const d = e.getColumnState(), y = p(d, l);
|
|
47
|
+
e.applyColumnState({ state: y, applyOrder: !0 }), b(() => {
|
|
48
|
+
o.delete(e), a(e, n);
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
if (!
|
|
51
|
+
function _(e) {
|
|
52
|
+
if (!f(e)) {
|
|
53
53
|
if (F(e)) {
|
|
54
|
-
|
|
54
|
+
a(e, n);
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
h(e);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function V(e) {
|
|
61
61
|
if (typeof e.addEventListener != "function")
|
|
62
62
|
return () => {
|
|
63
63
|
};
|
|
64
|
-
const t =
|
|
65
|
-
|
|
64
|
+
const t = S(e, "newColumnsLoaded", () => {
|
|
65
|
+
_(e);
|
|
66
66
|
});
|
|
67
67
|
return () => {
|
|
68
|
-
t(),
|
|
68
|
+
t(), o.delete(e), r.delete(e);
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
export {
|
|
72
|
-
|
|
72
|
+
T as deferColumnRuntimeStateGuard,
|
|
73
73
|
F as isColumnRuntimeStateGuardDeferred,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
E as isColumnRuntimeStateGuardUpdating,
|
|
75
|
+
D as rebuildColumnTreeCacheFromGrid,
|
|
76
|
+
V as scheduleColumnRuntimeStateGuard
|
|
77
77
|
};
|
|
@@ -7,12 +7,27 @@ interface ColumnTreeCacheEntry {
|
|
|
7
7
|
items: NestedListItem[];
|
|
8
8
|
gridLayoutFingerprint: string;
|
|
9
9
|
gridVisibilityFingerprint: string;
|
|
10
|
+
/**
|
|
11
|
+
* Leaf column ids captured at write time (single tree walk here) so the
|
|
12
|
+
* structural stale-check at read time needs no tree traversal.
|
|
13
|
+
*/
|
|
14
|
+
leafColumnIds: ReadonlySet<string>;
|
|
10
15
|
}
|
|
11
16
|
export declare function readGridLayoutFingerprint(gridApi: GridApi): string;
|
|
12
17
|
export declare function readGridVisibilityFingerprint(gridApi: GridApi): string;
|
|
13
18
|
export declare function readColumnTreeCache(gridApi: GridApi, labels: BuildColumnTreeLabels): ColumnTreeCacheEntry | null;
|
|
14
19
|
export declare function writeColumnTreeCache(gridApi: GridApi, rootItems: NestedListItem[]): ColumnListSyncFingerprints;
|
|
15
20
|
export declare function buildColumnTreeWithCache(gridApi: GridApi, labels: BuildColumnTreeLabels): NestedListItem[] | null;
|
|
21
|
+
/**
|
|
22
|
+
* True when the live grid's column-id set differs from the cached tree's leaf ids.
|
|
23
|
+
* Catches a "poisoned" cache: stale tree items stored with up-to-date grid
|
|
24
|
+
* fingerprints (e.g. after a structural columnDefs change).
|
|
25
|
+
*
|
|
26
|
+
* Cheap by design — the cached leaf ids are captured once at write time
|
|
27
|
+
* ({@link writeColumnTreeCache}), so this does no tree traversal at read time;
|
|
28
|
+
* it only scans `getColumnState()`, which callers already fetch for fingerprints.
|
|
29
|
+
*/
|
|
30
|
+
export declare function isGridColumnSetDifferentFromCachedLeaves(gridApi: GridApi, cachedLeafColumnIds: ReadonlySet<string>): boolean;
|
|
16
31
|
export declare function resolveColumnTreeFromCacheOrGrid(options: {
|
|
17
32
|
gridApi: GridApi;
|
|
18
33
|
labels: BuildColumnTreeLabels;
|
|
@@ -1,124 +1,152 @@
|
|
|
1
|
-
import { buildColumnTreeFromGrid as
|
|
1
|
+
import { buildColumnTreeFromGrid as w } from "./build-column-tree-from-grid.js";
|
|
2
2
|
import { computeColumnListSyncFingerprints as M } from "./data-table-column-list-sync.js";
|
|
3
|
-
import { fingerprintColumnTreeIndicators as _, normalizeColumnPinned as
|
|
4
|
-
import { patchColumnTreeIndicatorsFromGrid as
|
|
3
|
+
import { fingerprintColumnTreeIndicators as _, normalizeColumnPinned as V } from "./data-table-column-apply.js";
|
|
4
|
+
import { patchColumnTreeIndicatorsFromGrid as z } from "./patch-column-tree-indicators-from-grid.js";
|
|
5
5
|
import { patchColumnTreeVisibilityFromGrid as C } from "./patch-column-tree-visibility-from-grid.js";
|
|
6
|
-
function
|
|
7
|
-
return
|
|
8
|
-
const
|
|
9
|
-
return `${
|
|
6
|
+
function d(i) {
|
|
7
|
+
return i.map((n) => {
|
|
8
|
+
const e = V(n.pinned) ?? "0";
|
|
9
|
+
return `${n.colId}:${e}`;
|
|
10
10
|
}).join("|");
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
return
|
|
12
|
+
function m(i) {
|
|
13
|
+
return i.map((n) => `${n.colId}:${n.hide ? "0" : "1"}`).join("|");
|
|
14
14
|
}
|
|
15
|
-
function
|
|
16
|
-
return
|
|
15
|
+
function H(i) {
|
|
16
|
+
return d(i.getColumnState());
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
return
|
|
18
|
+
function O(i) {
|
|
19
|
+
return m(i.getColumnState());
|
|
20
20
|
}
|
|
21
21
|
const p = /* @__PURE__ */ new WeakMap(), h = {
|
|
22
22
|
frozenColumns: "__prewarm_frozen__",
|
|
23
23
|
scrollableColumns: "__prewarm_scrollable__"
|
|
24
24
|
};
|
|
25
|
-
function
|
|
26
|
-
return typeof
|
|
25
|
+
function I(i) {
|
|
26
|
+
return typeof i.isDestroyed == "function" && i.isDestroyed();
|
|
27
27
|
}
|
|
28
|
-
function F(
|
|
29
|
-
return
|
|
28
|
+
function F(i, n) {
|
|
29
|
+
return i.map((e) => e.id === "root-frozen" ? { ...e, label: n.frozenColumns } : e.id === "root-scrollable" ? { ...e, label: n.scrollableColumns } : e);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
31
|
+
function P(i) {
|
|
32
|
+
const n = /* @__PURE__ */ new Set(), e = (r) => {
|
|
33
|
+
for (const t of r) {
|
|
34
|
+
if (t.id === "root-frozen" || t.id === "root-scrollable") {
|
|
35
|
+
t.children && e(t.children);
|
|
36
|
+
continue;
|
|
37
|
+
}
|
|
38
|
+
if (t.children && t.children.length > 0) {
|
|
39
|
+
e(t.children);
|
|
40
|
+
continue;
|
|
41
|
+
}
|
|
42
|
+
t.id && n.add(t.id);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
return e(i), n;
|
|
46
|
+
}
|
|
47
|
+
function b(i, n) {
|
|
48
|
+
const e = p.get(i);
|
|
49
|
+
return e ? {
|
|
50
|
+
fingerprints: e.fingerprints,
|
|
51
|
+
items: F(e.items, n),
|
|
52
|
+
gridLayoutFingerprint: e.gridLayoutFingerprint,
|
|
53
|
+
gridVisibilityFingerprint: e.gridVisibilityFingerprint,
|
|
54
|
+
leafColumnIds: e.leafColumnIds
|
|
38
55
|
} : null;
|
|
39
56
|
}
|
|
40
|
-
function u(
|
|
41
|
-
const
|
|
42
|
-
return p.set(
|
|
43
|
-
fingerprints:
|
|
44
|
-
items: F(
|
|
45
|
-
gridLayoutFingerprint:
|
|
46
|
-
gridVisibilityFingerprint:
|
|
47
|
-
|
|
57
|
+
function u(i, n) {
|
|
58
|
+
const e = M(n), r = i.getColumnState();
|
|
59
|
+
return p.set(i, {
|
|
60
|
+
fingerprints: e,
|
|
61
|
+
items: F(n, h),
|
|
62
|
+
gridLayoutFingerprint: d(r),
|
|
63
|
+
gridVisibilityFingerprint: m(r),
|
|
64
|
+
leafColumnIds: P(n)
|
|
65
|
+
}), e;
|
|
66
|
+
}
|
|
67
|
+
function v(i, n) {
|
|
68
|
+
const e = w(i, n);
|
|
69
|
+
return e ? (u(i, e), e) : null;
|
|
48
70
|
}
|
|
49
|
-
function
|
|
50
|
-
|
|
51
|
-
|
|
71
|
+
function D(i, n) {
|
|
72
|
+
if (I(i))
|
|
73
|
+
return !1;
|
|
74
|
+
const e = i.getColumnState();
|
|
75
|
+
let r = 0;
|
|
76
|
+
for (const t of e)
|
|
77
|
+
if (!(!t.colId || t.colId === "ag-Grid-SelectionColumn") && (r += 1, !n.has(t.colId)))
|
|
78
|
+
return !0;
|
|
79
|
+
return r !== n.size;
|
|
52
80
|
}
|
|
53
|
-
function
|
|
54
|
-
const { gridApi:
|
|
55
|
-
if (
|
|
56
|
-
const o =
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
),
|
|
81
|
+
function $(i) {
|
|
82
|
+
const { gridApi: n, labels: e, previousFingerprints: r } = i, t = b(n, e), y = n.getColumnState(), S = d(y), T = m(y), k = r.layout === "" && r.visibility === "" && r.indicators === "";
|
|
83
|
+
if (t != null && !D(n, t.leafColumnIds) && t) {
|
|
84
|
+
const o = z(
|
|
85
|
+
t.items,
|
|
86
|
+
n
|
|
87
|
+
), L = _(o), c = S !== t.gridLayoutFingerprint, a = T !== t.gridVisibilityFingerprint, f = L !== t.fingerprints.indicators;
|
|
60
88
|
if (!c && !a && !f) {
|
|
61
89
|
if (k) {
|
|
62
|
-
const
|
|
90
|
+
const s = u(n, o);
|
|
63
91
|
return {
|
|
64
92
|
rootItems: o,
|
|
65
93
|
syncMode: "structural",
|
|
66
|
-
fingerprints:
|
|
94
|
+
fingerprints: s
|
|
67
95
|
};
|
|
68
96
|
}
|
|
69
|
-
if (r.layout !==
|
|
70
|
-
const
|
|
97
|
+
if (r.layout !== t.fingerprints.layout || r.visibility !== t.fingerprints.visibility || r.indicators !== t.fingerprints.indicators) {
|
|
98
|
+
const s = u(n, o);
|
|
71
99
|
return {
|
|
72
100
|
rootItems: o,
|
|
73
101
|
syncMode: "structural",
|
|
74
|
-
fingerprints:
|
|
102
|
+
fingerprints: s
|
|
75
103
|
};
|
|
76
104
|
}
|
|
77
105
|
return {
|
|
78
106
|
rootItems: null,
|
|
79
107
|
syncMode: "skip",
|
|
80
|
-
fingerprints:
|
|
108
|
+
fingerprints: t.fingerprints
|
|
81
109
|
};
|
|
82
110
|
}
|
|
83
111
|
if (!c && a && !f) {
|
|
84
|
-
const
|
|
112
|
+
const l = C(
|
|
85
113
|
o,
|
|
86
|
-
|
|
87
|
-
),
|
|
114
|
+
n
|
|
115
|
+
), s = u(n, l);
|
|
88
116
|
return {
|
|
89
|
-
rootItems:
|
|
117
|
+
rootItems: l,
|
|
90
118
|
syncMode: "visibility-only",
|
|
91
|
-
fingerprints:
|
|
119
|
+
fingerprints: s
|
|
92
120
|
};
|
|
93
121
|
}
|
|
94
122
|
if (!c && !a && f) {
|
|
95
|
-
const
|
|
123
|
+
const l = u(n, o);
|
|
96
124
|
return {
|
|
97
125
|
rootItems: o,
|
|
98
126
|
syncMode: "indicators-only",
|
|
99
|
-
fingerprints:
|
|
127
|
+
fingerprints: l
|
|
100
128
|
};
|
|
101
129
|
}
|
|
102
130
|
if (!c && a && f) {
|
|
103
|
-
const
|
|
131
|
+
const l = C(
|
|
104
132
|
o,
|
|
105
|
-
|
|
106
|
-
),
|
|
133
|
+
n
|
|
134
|
+
), s = u(n, l);
|
|
107
135
|
return {
|
|
108
|
-
rootItems:
|
|
136
|
+
rootItems: l,
|
|
109
137
|
syncMode: "visibility-only",
|
|
110
|
-
fingerprints:
|
|
138
|
+
fingerprints: s
|
|
111
139
|
};
|
|
112
140
|
}
|
|
113
141
|
}
|
|
114
|
-
const g =
|
|
142
|
+
const g = v(n, e);
|
|
115
143
|
if (!g)
|
|
116
144
|
return {
|
|
117
145
|
rootItems: null,
|
|
118
146
|
syncMode: "skip",
|
|
119
147
|
fingerprints: r
|
|
120
148
|
};
|
|
121
|
-
const
|
|
149
|
+
const G = b(n, e)?.fingerprints ?? {
|
|
122
150
|
layout: "",
|
|
123
151
|
visibility: "",
|
|
124
152
|
indicators: ""
|
|
@@ -126,33 +154,34 @@ function z(n) {
|
|
|
126
154
|
return {
|
|
127
155
|
rootItems: g,
|
|
128
156
|
syncMode: "structural",
|
|
129
|
-
fingerprints:
|
|
157
|
+
fingerprints: G
|
|
130
158
|
};
|
|
131
159
|
}
|
|
132
|
-
function
|
|
133
|
-
return typeof
|
|
160
|
+
function q(i) {
|
|
161
|
+
return typeof i.getColumnState == "function" && (typeof i.getAllGridColumns == "function" || typeof i.getColumns == "function");
|
|
134
162
|
}
|
|
135
|
-
function
|
|
136
|
-
return
|
|
163
|
+
function J(i) {
|
|
164
|
+
return $(i).syncMode === "skip";
|
|
137
165
|
}
|
|
138
|
-
function
|
|
139
|
-
let
|
|
140
|
-
const
|
|
141
|
-
|
|
166
|
+
function K(i) {
|
|
167
|
+
let n = !1, e = 0, r;
|
|
168
|
+
const t = () => {
|
|
169
|
+
n || I(i) || !q(i) || p.has(i) || v(i, h);
|
|
142
170
|
};
|
|
143
|
-
return
|
|
144
|
-
|
|
171
|
+
return e = requestAnimationFrame(() => {
|
|
172
|
+
n || (typeof requestIdleCallback < "u" ? r = requestIdleCallback(t, { timeout: 3e3 }) : setTimeout(t, 0));
|
|
145
173
|
}), () => {
|
|
146
|
-
|
|
174
|
+
n = !0, e && cancelAnimationFrame(e), r !== void 0 && typeof cancelIdleCallback < "u" && cancelIdleCallback(r);
|
|
147
175
|
};
|
|
148
176
|
}
|
|
149
177
|
export {
|
|
150
|
-
|
|
151
|
-
|
|
178
|
+
v as buildColumnTreeWithCache,
|
|
179
|
+
D as isGridColumnSetDifferentFromCachedLeaves,
|
|
180
|
+
J as peekColumnListSyncWouldSkip,
|
|
152
181
|
b as readColumnTreeCache,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
182
|
+
H as readGridLayoutFingerprint,
|
|
183
|
+
O as readGridVisibilityFingerprint,
|
|
184
|
+
$ as resolveColumnTreeFromCacheOrGrid,
|
|
185
|
+
K as scheduleColumnTreePrewarm,
|
|
157
186
|
u as writeColumnTreeCache
|
|
158
187
|
};
|