@ixfx/components 0.17.0 → 0.17.1
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 +51 -1
- package/bundle/index.js +174 -174
- package/dist/{grid-list-BHo9TBxX.js → grid-list-D2hinM64.js} +255 -17
- package/dist/{grid-list-Dg8hIiKO.d.ts → grid-list-OCdjuhng.d.ts} +51 -1
- package/dist/grid-list.d.ts +2 -2
- package/dist/grid-list.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/docs-user/grid-list.md +65 -0
- package/docs-user/index.json +2 -2
- package/package.json +1 -1
|
@@ -19,7 +19,104 @@ import { LitElement, css, html, nothing } from "lit";
|
|
|
19
19
|
import { property, state } from "lit/decorators.js";
|
|
20
20
|
import { createCommandRegistry } from "@clinth/ui-commands";
|
|
21
21
|
import { repeat } from "lit/directives/repeat.js";
|
|
22
|
+
import { keyed } from "lit/directives/keyed.js";
|
|
22
23
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
24
|
+
// src/grid-list/grid-list-key-index.ts
|
|
25
|
+
var KeyIndex = class {
|
|
26
|
+
/** Key → raw index. The first occurrence of a key wins. */
|
|
27
|
+
#map = /* @__PURE__ */ new Map();
|
|
28
|
+
/** The items array the map was built from. */
|
|
29
|
+
#source = void 0;
|
|
30
|
+
/** The adapter the map was built with. */
|
|
31
|
+
#adapter = void 0;
|
|
32
|
+
/**
|
|
33
|
+
* Rebuild the map if `items` or `adapter` changed since it was built.
|
|
34
|
+
*
|
|
35
|
+
* The map is keyed on the identity of the array / adapter it was built from,
|
|
36
|
+
* so it stays correct even when the items are replaced between Lit update
|
|
37
|
+
* cycles (a host may assign `items` and then call `updateItem` before the
|
|
38
|
+
* update flushes).
|
|
39
|
+
*
|
|
40
|
+
* One pass — the adapter's `key` is called once per item.
|
|
41
|
+
*/
|
|
42
|
+
ensure(items, adapter) {
|
|
43
|
+
if (this.#source === items && this.#adapter === adapter) return;
|
|
44
|
+
if (!adapter) {
|
|
45
|
+
this.#map = /* @__PURE__ */ new Map();
|
|
46
|
+
this.#source = items;
|
|
47
|
+
this.#adapter = void 0;
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
const map = /* @__PURE__ */ new Map();
|
|
51
|
+
for (let i = 0; i < items.length; i++) {
|
|
52
|
+
const key = adapter.key(items[i], i);
|
|
53
|
+
if (!map.has(key)) map.set(key, i);
|
|
54
|
+
}
|
|
55
|
+
this.#map = map;
|
|
56
|
+
this.#source = items;
|
|
57
|
+
this.#adapter = adapter;
|
|
58
|
+
}
|
|
59
|
+
/** Raw index of `key`, or `-1`. O(1). */
|
|
60
|
+
get(key) {
|
|
61
|
+
return this.#map.get(key) ?? -1;
|
|
62
|
+
}
|
|
63
|
+
/** Whether `key` is known. */
|
|
64
|
+
has(key) {
|
|
65
|
+
return this.#map.has(key);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Record that `items` is now `next`, after `patch` updated the map.
|
|
69
|
+
*
|
|
70
|
+
* `patch` receives the live map so a mutation can adjust only the entries
|
|
71
|
+
* it touched. The map's "built from" pointer is updated to `next`, so the
|
|
72
|
+
* next {@link ensure} does not rebuild it.
|
|
73
|
+
*/
|
|
74
|
+
commit(next, patch) {
|
|
75
|
+
if (patch) patch(this.#map);
|
|
76
|
+
this.#source = next;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Update the map after the item at `idx` changed.
|
|
80
|
+
*
|
|
81
|
+
* `next` is the new array; `oldKey` is the key the item had before the
|
|
82
|
+
* change, and the new key is derived from the item. If the item kept its key
|
|
83
|
+
* the map is untouched. If it was re-keyed, the old entry is dropped and the
|
|
84
|
+
* new one added — but only when no *earlier* item already claims the new
|
|
85
|
+
* key, so "the first occurrence wins" still holds.
|
|
86
|
+
*/
|
|
87
|
+
rekey(next, idx, oldKey, item, adapter) {
|
|
88
|
+
const newKey = adapter.key(item, idx);
|
|
89
|
+
if (newKey === oldKey) return;
|
|
90
|
+
this.#map.delete(oldKey);
|
|
91
|
+
if (!this.#map.has(oldKey)) {
|
|
92
|
+
for (let i = idx + 1; i < next.length; i++) if (adapter.key(next[i], i) === oldKey) {
|
|
93
|
+
this.#map.set(oldKey, i);
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
if (!this.#map.has(newKey)) this.#map.set(newKey, idx);
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Rebuild the map from `items` — used after a removal, which shifts every
|
|
101
|
+
* later item down.
|
|
102
|
+
*/
|
|
103
|
+
rebuild(items, adapter) {
|
|
104
|
+
const map = /* @__PURE__ */ new Map();
|
|
105
|
+
for (let i = 0; i < items.length; i++) {
|
|
106
|
+
const key = adapter.key(items[i], i);
|
|
107
|
+
if (!map.has(key)) map.set(key, i);
|
|
108
|
+
}
|
|
109
|
+
this.#map = map;
|
|
110
|
+
this.#source = items;
|
|
111
|
+
}
|
|
112
|
+
/** Add the keys of `items`, which were appended at `base`. */
|
|
113
|
+
addAppended(items, base, adapter) {
|
|
114
|
+
for (let i = 0; i < items.length; i++) {
|
|
115
|
+
const key = adapter.key(items[i], base + i);
|
|
116
|
+
if (!this.#map.has(key)) this.#map.set(key, base + i);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
};
|
|
23
120
|
// src/grid-list/grid-list-layout.ts
|
|
24
121
|
/**
|
|
25
122
|
* `itemWidth` is the square's width; `rowHeight` is the full cell height
|
|
@@ -393,15 +490,25 @@ const SYNTHETIC_PREFIX = `gl-auto-`;
|
|
|
393
490
|
function isSyntheticKey(key) {
|
|
394
491
|
return key.startsWith(SYNTHETIC_PREFIX);
|
|
395
492
|
}
|
|
396
|
-
|
|
397
|
-
|
|
493
|
+
/**
|
|
494
|
+
* Warn about duplicate keys while building the key → raw index map, in a single
|
|
495
|
+
* pass. Avoids the throwaway key array `items.map(adapter.key)` used to build.
|
|
496
|
+
* The map keeps the **first** occurrence of each key, matching the
|
|
497
|
+
* "first occurrence wins" contract the warning states.
|
|
498
|
+
*/
|
|
499
|
+
function rawIndexByKey(items, keyOf) {
|
|
500
|
+
const index = /* @__PURE__ */ new Map();
|
|
398
501
|
const dupes = /* @__PURE__ */ new Set();
|
|
399
|
-
for (
|
|
400
|
-
|
|
401
|
-
if (
|
|
402
|
-
|
|
502
|
+
for (let i = 0; i < items.length; i++) {
|
|
503
|
+
const key = keyOf(items[i], i);
|
|
504
|
+
if (index.has(key)) {
|
|
505
|
+
if (!isSyntheticKey(key)) dupes.add(key);
|
|
506
|
+
continue;
|
|
507
|
+
}
|
|
508
|
+
index.set(key, i);
|
|
403
509
|
}
|
|
404
510
|
if (dupes.size > 0) console.warn(`ixfx-grid-list: duplicate item key(s) ${[...dupes].map((k) => `"${k}"`).join(`, `)} — the first occurrence wins for key-based operations.`);
|
|
511
|
+
return index;
|
|
405
512
|
}
|
|
406
513
|
/** Key → first effective index, built from `keys` (first occurrence wins on duplicates). */
|
|
407
514
|
function indexByKey(keys) {
|
|
@@ -421,6 +528,8 @@ var ElementGridListSource = class {
|
|
|
421
528
|
#effectiveIndices = [];
|
|
422
529
|
#keysCache;
|
|
423
530
|
#indexCache;
|
|
531
|
+
/** Key → raw index, rebuilt with the items (first occurrence wins). */
|
|
532
|
+
#rawIndexByKey = /* @__PURE__ */ new Map();
|
|
424
533
|
#grouping;
|
|
425
534
|
#groups = [];
|
|
426
535
|
#groupByKey = /* @__PURE__ */ new Map();
|
|
@@ -442,6 +551,9 @@ var ElementGridListSource = class {
|
|
|
442
551
|
this.#indexCache ??= indexByKey(this.keys());
|
|
443
552
|
return this.#indexCache.get(key) ?? -1;
|
|
444
553
|
}
|
|
554
|
+
rawIndexOfKey(key) {
|
|
555
|
+
return this.#rawIndexByKey.get(key) ?? -1;
|
|
556
|
+
}
|
|
445
557
|
keys() {
|
|
446
558
|
this.#keysCache ??= this.#effectiveIndices.map((i) => this.#itemKey(this.#items[i]));
|
|
447
559
|
return this.#keysCache;
|
|
@@ -489,7 +601,7 @@ var ElementGridListSource = class {
|
|
|
489
601
|
}
|
|
490
602
|
refresh() {
|
|
491
603
|
this.#items = Array.from(this.#host.querySelectorAll(ITEM_SELECTOR$1)).filter((el) => !el.hidden);
|
|
492
|
-
|
|
604
|
+
this.#rawIndexByKey = rawIndexByKey(this.#items, (el) => this.#itemKey(el));
|
|
493
605
|
this.#recomputeEffective();
|
|
494
606
|
}
|
|
495
607
|
/** Effective-order elements — the array `GridListElement` renders and slices. */
|
|
@@ -554,13 +666,20 @@ var DataGridListSource = class {
|
|
|
554
666
|
#effectiveIndices = [];
|
|
555
667
|
#keysCache;
|
|
556
668
|
#indexCache;
|
|
669
|
+
/**
|
|
670
|
+
* Key → **raw** index, built in one pass over the items. The first
|
|
671
|
+
* occurrence of a key wins (same contract as the duplicate-key warning).
|
|
672
|
+
* Lets `resolveKeyToData` and the host's `updateItem` find an item without
|
|
673
|
+
* an O(n) scan per call.
|
|
674
|
+
*/
|
|
675
|
+
#rawIndexByKey;
|
|
557
676
|
#grouping;
|
|
558
677
|
#groups = [];
|
|
559
678
|
#groupByKey = /* @__PURE__ */ new Map();
|
|
560
679
|
constructor(items, adapter) {
|
|
561
680
|
this.#items = items;
|
|
562
681
|
this.#adapter = adapter;
|
|
563
|
-
|
|
682
|
+
this.#rawIndexByKey = rawIndexByKey(items, (it, i) => adapter.key(it, i));
|
|
564
683
|
this.#recomputeEffective();
|
|
565
684
|
}
|
|
566
685
|
get count() {
|
|
@@ -647,8 +766,16 @@ var DataGridListSource = class {
|
|
|
647
766
|
}
|
|
648
767
|
resolveKeyToElement(_key) {}
|
|
649
768
|
resolveKeyToData(key) {
|
|
650
|
-
const idx = this.#
|
|
651
|
-
return idx
|
|
769
|
+
const idx = this.#rawIndexByKey.get(key);
|
|
770
|
+
return idx === void 0 ? void 0 : this.#items[idx];
|
|
771
|
+
}
|
|
772
|
+
/**
|
|
773
|
+
* Raw (unfiltered) index of `key`, or `-1`. O(1) — the key → raw index map
|
|
774
|
+
* is built in one pass over the items. The first occurrence of a duplicate
|
|
775
|
+
* key wins.
|
|
776
|
+
*/
|
|
777
|
+
rawIndexOfKey(key) {
|
|
778
|
+
return this.#rawIndexByKey.get(key) ?? -1;
|
|
652
779
|
}
|
|
653
780
|
#recomputeEffective() {
|
|
654
781
|
const effective = [];
|
|
@@ -964,6 +1091,8 @@ let GridListElement = class GridListElement extends LitElement {
|
|
|
964
1091
|
}
|
|
965
1092
|
});
|
|
966
1093
|
this.#groupByChanged = false;
|
|
1094
|
+
this.#keyIndex = new KeyIndex();
|
|
1095
|
+
this.#cellRevisions = /* @__PURE__ */ new Map();
|
|
967
1096
|
this.#resolveKey = (key) => this.#source.indexOfKey(key) >= 0 ? key : void 0;
|
|
968
1097
|
this.#markedTickled = /* @__PURE__ */ new Set();
|
|
969
1098
|
this.#markedSelected = /* @__PURE__ */ new Set();
|
|
@@ -1893,13 +2022,17 @@ let GridListElement = class GridListElement extends LitElement {
|
|
|
1893
2022
|
const dataModeChanged = changed.has(`items`) || changed.has(`itemAdapter`);
|
|
1894
2023
|
if (dataModeChanged) {
|
|
1895
2024
|
this.#zoomAnchor = void 0;
|
|
2025
|
+
this.#ensureRawIndex();
|
|
1896
2026
|
const prevKeys = this.#source?.keys() ?? [];
|
|
1897
2027
|
const modeFlipped = this.itemAdapter !== void 0 !== this.#source instanceof DataGridListSource;
|
|
1898
2028
|
this.#rebuildSource();
|
|
1899
2029
|
const nextKeys = this.#source.keys();
|
|
1900
2030
|
const nextKeySet = new Set(nextKeys);
|
|
1901
2031
|
const removedKeys = prevKeys.filter((k) => !nextKeySet.has(k));
|
|
1902
|
-
if (removedKeys.length > 0)
|
|
2032
|
+
if (removedKeys.length > 0) {
|
|
2033
|
+
this.#demoteGone(removedKeys);
|
|
2034
|
+
for (const key of removedKeys) this.#cellRevisions.delete(key);
|
|
2035
|
+
}
|
|
1903
2036
|
const tickledId = this.tickled.tickledId;
|
|
1904
2037
|
if (tickledId && !nextKeySet.has(tickledId)) this.#demoteFocus(tickledId);
|
|
1905
2038
|
this._syncItemStates();
|
|
@@ -2199,11 +2332,19 @@ let GridListElement = class GridListElement extends LitElement {
|
|
|
2199
2332
|
/**
|
|
2200
2333
|
* Data mode only: raw index of `key` in `this.items`, or `-1`. Data-mode keys
|
|
2201
2334
|
* come straight from the adapter, so this is exact even under a filter/search.
|
|
2335
|
+
*
|
|
2336
|
+
* O(1) — backed by {@link #keyIndex}, a key → raw index map kept in sync
|
|
2337
|
+
* with `items`.
|
|
2202
2338
|
*/
|
|
2203
2339
|
#rawIndexOfKey(key) {
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2340
|
+
this.#ensureRawIndex();
|
|
2341
|
+
return this.#keyIndex.get(key);
|
|
2342
|
+
}
|
|
2343
|
+
/** Key → raw index for the current `items`. See `grid-list-key-index.ts`. */
|
|
2344
|
+
#keyIndex;
|
|
2345
|
+
/** Rebuild the key → raw index map if `items` / `itemAdapter` changed. */
|
|
2346
|
+
#ensureRawIndex() {
|
|
2347
|
+
this.#keyIndex.ensure(this.items, this.itemAdapter);
|
|
2207
2348
|
}
|
|
2208
2349
|
/**
|
|
2209
2350
|
* Data mode: replace the whole item array. Selection and cursor keep any key
|
|
@@ -2220,23 +2361,104 @@ let GridListElement = class GridListElement extends LitElement {
|
|
|
2220
2361
|
* A no-op in element mode.
|
|
2221
2362
|
*/
|
|
2222
2363
|
appendItems(items) {
|
|
2223
|
-
if (this.itemAdapter && items.length > 0)
|
|
2364
|
+
if (this.itemAdapter && items.length > 0) {
|
|
2365
|
+
const base = this.items.length;
|
|
2366
|
+
const next = [...this.items, ...items];
|
|
2367
|
+
this.#ensureRawIndex();
|
|
2368
|
+
this.#keyIndex.addAppended(items, base, this.itemAdapter);
|
|
2369
|
+
this.#keyIndex.commit(next);
|
|
2370
|
+
this.items = next;
|
|
2371
|
+
}
|
|
2224
2372
|
}
|
|
2225
2373
|
/**
|
|
2226
2374
|
* Data mode: replace the item carrying `key`. A visible cell re-renders in
|
|
2227
2375
|
* place (the keyed subtree is kept); an offscreen item shows its new content
|
|
2228
2376
|
* when scrolled into view. Scroll and selection are untouched. Unknown keys
|
|
2229
2377
|
* are ignored.
|
|
2378
|
+
*
|
|
2379
|
+
* Passing the **same object** that is already at `key` is a no-op: the
|
|
2380
|
+
* `items` array is left untouched (same identity) and nothing is emitted.
|
|
2381
|
+
* Use {@link refreshItem} to re-render a cell without changing the data.
|
|
2382
|
+
*
|
|
2383
|
+
* Updating many items one by one? Use {@link updateItems} — it applies them
|
|
2384
|
+
* with a single array copy and a single rebuild.
|
|
2230
2385
|
*/
|
|
2231
2386
|
updateItem(key, item) {
|
|
2232
2387
|
if (!this.itemAdapter) return;
|
|
2233
2388
|
const idx = this.#rawIndexOfKey(key);
|
|
2234
2389
|
if (idx < 0) return;
|
|
2390
|
+
if (this.items[idx] === item) return;
|
|
2235
2391
|
const next = [...this.items];
|
|
2236
2392
|
next[idx] = item;
|
|
2393
|
+
this.#ensureRawIndex();
|
|
2394
|
+
this.#keyIndex.rekey(next, idx, key, item, this.itemAdapter);
|
|
2395
|
+
this.#keyIndex.commit(next);
|
|
2237
2396
|
this.items = next;
|
|
2238
2397
|
}
|
|
2239
2398
|
/**
|
|
2399
|
+
* Data mode: replace several items at once — the batched form of
|
|
2400
|
+
* {@link updateItem}.
|
|
2401
|
+
*
|
|
2402
|
+
* `entries` is an array of `{ key, item }` pairs (a `Map<key, item>` is
|
|
2403
|
+
* accepted too). All the replacements are applied with **one** array copy
|
|
2404
|
+
* and **one** source rebuild, so a host that must refresh n rows does not
|
|
2405
|
+
* pay n copies and n scans.
|
|
2406
|
+
*
|
|
2407
|
+
* Semantics match n sequential {@link updateItem} calls:
|
|
2408
|
+
* - unknown keys are ignored;
|
|
2409
|
+
* - an entry whose `item` is the identical object already at that key is
|
|
2410
|
+
* skipped (it cannot change anything);
|
|
2411
|
+
* - selection, cursor and scroll are untouched;
|
|
2412
|
+
* - if no entry changes anything, `items` is left untouched (same identity)
|
|
2413
|
+
* and nothing is emitted.
|
|
2414
|
+
*/
|
|
2415
|
+
updateItems(entries) {
|
|
2416
|
+
if (!this.itemAdapter) return;
|
|
2417
|
+
const pairs = [];
|
|
2418
|
+
for (const entry of entries) if (Array.isArray(entry)) pairs.push([entry[0], entry[1]]);
|
|
2419
|
+
else pairs.push([entry.key, entry.item]);
|
|
2420
|
+
if (pairs.length === 0) return;
|
|
2421
|
+
this.#ensureRawIndex();
|
|
2422
|
+
const next = [...this.items];
|
|
2423
|
+
const touched = [];
|
|
2424
|
+
for (const [key, item] of pairs) {
|
|
2425
|
+
const idx = this.#keyIndex.get(key);
|
|
2426
|
+
if (idx < 0) continue;
|
|
2427
|
+
if (next[idx] === item) continue;
|
|
2428
|
+
next[idx] = item;
|
|
2429
|
+
touched.push([
|
|
2430
|
+
idx,
|
|
2431
|
+
key,
|
|
2432
|
+
item
|
|
2433
|
+
]);
|
|
2434
|
+
}
|
|
2435
|
+
if (touched.length === 0) return;
|
|
2436
|
+
for (const [idx, key, item] of touched) this.#keyIndex.rekey(next, idx, key, item, this.itemAdapter);
|
|
2437
|
+
this.#keyIndex.commit(next);
|
|
2438
|
+
this.items = next;
|
|
2439
|
+
}
|
|
2440
|
+
/**
|
|
2441
|
+
* Data mode: re-render the cell for `key` without touching `items`.
|
|
2442
|
+
*
|
|
2443
|
+
* Use this when the *data* is unchanged but the cell should be redrawn — for
|
|
2444
|
+
* example after mutating something the adapter reads from outside the item
|
|
2445
|
+
* (a thumbnail's load state). The `items` array keeps its identity, so the
|
|
2446
|
+
* collection is not copied and no source rebuild is triggered.
|
|
2447
|
+
*
|
|
2448
|
+
* The adapter's `render` is called again for that cell on the next render,
|
|
2449
|
+
* so the cell picks up the new state. Other cells are left alone.
|
|
2450
|
+
*
|
|
2451
|
+
* Unknown keys are ignored. A no-op in element mode.
|
|
2452
|
+
*/
|
|
2453
|
+
refreshItem(key) {
|
|
2454
|
+
if (!this.itemAdapter) return;
|
|
2455
|
+
if (this.#rawIndexOfKey(key) < 0) return;
|
|
2456
|
+
this.#cellRevisions.set(key, (this.#cellRevisions.get(key) ?? 0) + 1);
|
|
2457
|
+
this.requestUpdate();
|
|
2458
|
+
}
|
|
2459
|
+
/** Per-key revision, bumped by {@link refreshItem}. */
|
|
2460
|
+
#cellRevisions;
|
|
2461
|
+
/**
|
|
2240
2462
|
* Data mode: remove the items carrying these keys. Removed keys leave the
|
|
2241
2463
|
* selection and cursor silently (via the `items` change) and are held as
|
|
2242
2464
|
* pending view state. A no-op in element mode.
|
|
@@ -2245,7 +2467,12 @@ let GridListElement = class GridListElement extends LitElement {
|
|
|
2245
2467
|
if (!this.itemAdapter) return;
|
|
2246
2468
|
const adapter = this.itemAdapter;
|
|
2247
2469
|
const keySet = new Set(keys);
|
|
2248
|
-
|
|
2470
|
+
const kept = this.items.filter((it, i) => !keySet.has(adapter.key(it, i)));
|
|
2471
|
+
if (kept.length === this.items.length) return;
|
|
2472
|
+
this.#ensureRawIndex();
|
|
2473
|
+
this.#keyIndex.rebuild(kept, adapter);
|
|
2474
|
+
this.#keyIndex.commit(kept);
|
|
2475
|
+
this.items = kept;
|
|
2249
2476
|
}
|
|
2250
2477
|
/**
|
|
2251
2478
|
* Data mode: drop every item. Selection and cursor are reset and one
|
|
@@ -2708,13 +2935,24 @@ let GridListElement = class GridListElement extends LitElement {
|
|
|
2708
2935
|
>
|
|
2709
2936
|
<div class="content${icon === void 0 ? `` : ` has-icon`}" part="content">
|
|
2710
2937
|
${icon === void 0 ? nothing : html`<span class="cell-icon" part="icon" style=${this.#colorStyle(this.#source.iconColorAt(index))}>${icon}</span>`}
|
|
2711
|
-
${this.#
|
|
2938
|
+
${this.#renderCellBody(index, key)}
|
|
2712
2939
|
</div>
|
|
2713
2940
|
${showCaption ? this.#renderCaption(caption, captionCss, tickled, this.#source.badgeAt(index), this.#source.textColorAt(index)) : ``}
|
|
2714
2941
|
</div>
|
|
2715
2942
|
`;
|
|
2716
2943
|
}
|
|
2717
2944
|
/**
|
|
2945
|
+
* The cell's content, keyed by the cell's revision so {@link refreshItem}
|
|
2946
|
+
* can force it to be re-evaluated (and its DOM re-created) even though
|
|
2947
|
+
* `items` did not change. Without a revision change the content is bound
|
|
2948
|
+
* normally, so Lit keeps it in place.
|
|
2949
|
+
*/
|
|
2950
|
+
#renderCellBody(index, key) {
|
|
2951
|
+
const revision = this.#cellRevisions.get(key);
|
|
2952
|
+
if (revision === void 0) return this.#source.renderCellContent(index);
|
|
2953
|
+
return keyed(revision, this.#source.renderCellContent(index));
|
|
2954
|
+
}
|
|
2955
|
+
/**
|
|
2718
2956
|
* A tickled cell swaps its plain label for an `ixfx-pan-text` in loop mode
|
|
2719
2957
|
* so a truncated label scrolls instead of staying an ellipsis. Unticked
|
|
2720
2958
|
* cells keep the cheap plain-text caption.
|
|
@@ -410,6 +410,17 @@ type GridListDataAdapter<T> = {
|
|
|
410
410
|
*/
|
|
411
411
|
badge?: (item: T, index: number) => unknown;
|
|
412
412
|
};
|
|
413
|
+
/**
|
|
414
|
+
* One entry of a batched item update — see `GridListElement.updateItems`.
|
|
415
|
+
*
|
|
416
|
+
* @typeParam T The type of data item.
|
|
417
|
+
*/
|
|
418
|
+
type GridListItemUpdate<T> = {
|
|
419
|
+
/** Key of the item to replace. Unknown keys are ignored. */
|
|
420
|
+
readonly key: string;
|
|
421
|
+
/** The new value for that item. */
|
|
422
|
+
readonly item: T;
|
|
423
|
+
};
|
|
413
424
|
/**
|
|
414
425
|
* Common detail for per-item events (activate, click, tickle), key-first in
|
|
415
426
|
* BOTH element and data modes. `item` is the backward-compat field — Element in
|
|
@@ -747,8 +758,47 @@ declare class GridListElement<T = unknown> extends LitElement {
|
|
|
747
758
|
* place (the keyed subtree is kept); an offscreen item shows its new content
|
|
748
759
|
* when scrolled into view. Scroll and selection are untouched. Unknown keys
|
|
749
760
|
* are ignored.
|
|
761
|
+
*
|
|
762
|
+
* Passing the **same object** that is already at `key` is a no-op: the
|
|
763
|
+
* `items` array is left untouched (same identity) and nothing is emitted.
|
|
764
|
+
* Use {@link refreshItem} to re-render a cell without changing the data.
|
|
765
|
+
*
|
|
766
|
+
* Updating many items one by one? Use {@link updateItems} — it applies them
|
|
767
|
+
* with a single array copy and a single rebuild.
|
|
750
768
|
*/
|
|
751
769
|
updateItem(key: string, item: T): void;
|
|
770
|
+
/**
|
|
771
|
+
* Data mode: replace several items at once — the batched form of
|
|
772
|
+
* {@link updateItem}.
|
|
773
|
+
*
|
|
774
|
+
* `entries` is an array of `{ key, item }` pairs (a `Map<key, item>` is
|
|
775
|
+
* accepted too). All the replacements are applied with **one** array copy
|
|
776
|
+
* and **one** source rebuild, so a host that must refresh n rows does not
|
|
777
|
+
* pay n copies and n scans.
|
|
778
|
+
*
|
|
779
|
+
* Semantics match n sequential {@link updateItem} calls:
|
|
780
|
+
* - unknown keys are ignored;
|
|
781
|
+
* - an entry whose `item` is the identical object already at that key is
|
|
782
|
+
* skipped (it cannot change anything);
|
|
783
|
+
* - selection, cursor and scroll are untouched;
|
|
784
|
+
* - if no entry changes anything, `items` is left untouched (same identity)
|
|
785
|
+
* and nothing is emitted.
|
|
786
|
+
*/
|
|
787
|
+
updateItems(entries: Iterable<GridListItemUpdate<T>> | ReadonlyMap<string, T>): void;
|
|
788
|
+
/**
|
|
789
|
+
* Data mode: re-render the cell for `key` without touching `items`.
|
|
790
|
+
*
|
|
791
|
+
* Use this when the *data* is unchanged but the cell should be redrawn — for
|
|
792
|
+
* example after mutating something the adapter reads from outside the item
|
|
793
|
+
* (a thumbnail's load state). The `items` array keeps its identity, so the
|
|
794
|
+
* collection is not copied and no source rebuild is triggered.
|
|
795
|
+
*
|
|
796
|
+
* The adapter's `render` is called again for that cell on the next render,
|
|
797
|
+
* so the cell picks up the new state. Other cells are left alone.
|
|
798
|
+
*
|
|
799
|
+
* Unknown keys are ignored. A no-op in element mode.
|
|
800
|
+
*/
|
|
801
|
+
refreshItem(key: string): void;
|
|
752
802
|
/**
|
|
753
803
|
* Data mode: remove the items carrying these keys. Removed keys leave the
|
|
754
804
|
* selection and cursor silently (via the `items` change) and are held as
|
|
@@ -827,4 +877,4 @@ interface GridListElement {
|
|
|
827
877
|
addEventListener<K extends keyof GridListFullElementEventMap>(type: K, listener: (this: GridListElement, ev: GridListFullElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions): void;
|
|
828
878
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
829
879
|
}
|
|
830
|
-
export {
|
|
880
|
+
export { ListSelectionModes as A, PendingKeys as B, TreeKeyboardNavCallbacks as C, ListSelectionController as D, TreeKeyboardNavItemId as E, ListDragSelectControllerConfig as F, keysAsFlags as G, capKeys as H, EMPTY_FLAGS as I, partitionKeys as J, keysToArray as K, EMPTY_KEYS as L, isMultiMode as M, DragSelectRect as N, ListSelectionControllerConfig as O, ListDragSelectController as P, MAX_PENDING_KEYS as R, GridListViewportChangeEvent as S, TreeKeyboardNavControllerConfig as T, flagsFromRecord as U, capFlags as V, flagsToRecord as W, withoutFlag as Y, GridListSelectDetail as _, GridListCaptionAlign as a, GridListTickleEvent as b, GridListCaptionStyle as c, GridListFullElementEventMap as d, GridListItemClickDetail as f, GridListOrientation as g, GridListItemUpdate as h, GridListActivateEvent as i, gestureOf as j, ListSelectionGesture as k, GridListDataAdapter as l, GridListItemEventDetail as m, GridListViewState as n, GridListCaptionBackdrop as o, GridListItemClickEvent as p, partitionFlags as q, GridListActivateDetail as r, GridListCaptionPosition as s, GridListElement as t, GridListElementEventMap as u, GridListSelectEvent as v, TreeKeyboardNavController as w, GridListViewportChangeDetail as x, GridListTickleDetail as y, PendingFlags as z };
|
package/dist/grid-list.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as ListNativeDragStartDetail, F as ListDragPreview, I as ListDragPreviewContext, L as ListDragPreviewRenderer, P as ListDragEntry, V as ListNativeDragStartEvent, z as ListDragSource } from "./tree-component-DNuzfo6R.js";
|
|
2
|
-
import { _ as
|
|
2
|
+
import { S as GridListViewportChangeEvent, _ as GridListSelectDetail, a as GridListCaptionAlign, b as GridListTickleEvent, c as GridListCaptionStyle, d as GridListFullElementEventMap, f as GridListItemClickDetail, g as GridListOrientation, h as GridListItemUpdate, i as GridListActivateEvent, l as GridListDataAdapter, m as GridListItemEventDetail, n as GridListViewState, o as GridListCaptionBackdrop, p as GridListItemClickEvent, r as GridListActivateDetail, s as GridListCaptionPosition, t as GridListElement, u as GridListElementEventMap, v as GridListSelectEvent, x as GridListViewportChangeDetail, y as GridListTickleDetail } from "./grid-list-OCdjuhng.js";
|
|
3
3
|
import { h as ListSelectionMode, i as ListInteractionMode } from "./list-selection-types-CKTt7Rrw.js";
|
|
4
4
|
import { i as ListGroupChangeEvent, l as ListGroupToggleDetail, n as ListGroupBy, o as ListGroupInfo, r as ListGroupChangeDetail, s as ListGroupLabel, u as ListGroupToggleEvent } from "./grouping-OoQ8WaKc.js";
|
|
5
|
-
export { type GridListActivateDetail, type GridListActivateEvent, type GridListCaptionAlign, type GridListCaptionBackdrop, type GridListCaptionPosition, type GridListCaptionStyle, type GridListDataAdapter, GridListElement, type GridListElementEventMap, type GridListFullElementEventMap, type GridListItemClickDetail, type GridListItemClickEvent, type GridListItemEventDetail, type GridListOrientation, type GridListSelectDetail, type GridListSelectEvent, type GridListTickleDetail, type GridListTickleEvent, type GridListViewState, type GridListViewportChangeDetail, type GridListViewportChangeEvent, type ListDragEntry, type ListDragPreview, type ListDragPreviewContext, type ListDragPreviewRenderer, type ListDragSource, type ListGroupBy, type ListGroupChangeDetail, type ListGroupChangeEvent, type ListGroupInfo, type ListGroupLabel, type ListGroupToggleDetail, type ListGroupToggleEvent, type ListInteractionMode, type ListNativeDragStartDetail, type ListNativeDragStartEvent, type ListSelectionMode };
|
|
5
|
+
export { type GridListActivateDetail, type GridListActivateEvent, type GridListCaptionAlign, type GridListCaptionBackdrop, type GridListCaptionPosition, type GridListCaptionStyle, type GridListDataAdapter, GridListElement, type GridListElementEventMap, type GridListFullElementEventMap, type GridListItemClickDetail, type GridListItemClickEvent, type GridListItemEventDetail, type GridListItemUpdate, type GridListOrientation, type GridListSelectDetail, type GridListSelectEvent, type GridListTickleDetail, type GridListTickleEvent, type GridListViewState, type GridListViewportChangeDetail, type GridListViewportChangeEvent, type ListDragEntry, type ListDragPreview, type ListDragPreviewContext, type ListDragPreviewRenderer, type ListDragSource, type ListGroupBy, type ListGroupChangeDetail, type ListGroupChangeEvent, type ListGroupInfo, type ListGroupLabel, type ListGroupToggleDetail, type ListGroupToggleEvent, type ListInteractionMode, type ListNativeDragStartDetail, type ListNativeDragStartEvent, type ListSelectionMode };
|
package/dist/grid-list.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import "./list-group-header.js";
|
|
2
|
-
export { t as GridListElement } from "./grid-list-
|
|
2
|
+
export { t as GridListElement } from "./grid-list-D2hinM64.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import { a as EditableMode, i as EditableLabelChangeEvent, n as EditableLabel, o
|
|
|
23
23
|
import { n as EditableNumber, t as LabelledSliderInput } from "./index-B7odjrlg.js";
|
|
24
24
|
import { _ as FlatListSelectEvent, a as FlatListContextMenuDetail, c as FlatListDropEvent, d as FlatListEditCommitDetail, f as FlatListEditCommitEvent, g as FlatListSelectDetail, h as FlatListNavigateEvent, i as FlatListBranchOrder, l as FlatListEditCancelDetail, m as FlatListNavigateDetail, n as FlatListActivateDetail, o as FlatListContextMenuEvent, p as FlatListElementEventMap, r as FlatListActivateEvent, s as FlatListDropDetail, t as FlatListElement, u as FlatListEditCancelEvent, v as FlatListViewState } from "./flat-list-CfutGqKY.js";
|
|
25
25
|
import { t as FormElement } from "./form-raTQNAWF.js";
|
|
26
|
-
import { A as
|
|
26
|
+
import { A as ListSelectionModes, B as PendingKeys, C as TreeKeyboardNavCallbacks, D as ListSelectionController, E as TreeKeyboardNavItemId, F as ListDragSelectControllerConfig, G as keysAsFlags, H as capKeys, I as EMPTY_FLAGS, J as partitionKeys, K as keysToArray, L as EMPTY_KEYS, M as isMultiMode, N as DragSelectRect, O as ListSelectionControllerConfig, P as ListDragSelectController, R as MAX_PENDING_KEYS, S as GridListViewportChangeEvent, T as TreeKeyboardNavControllerConfig, U as flagsFromRecord, V as capFlags, W as flagsToRecord, Y as withoutFlag, _ as GridListSelectDetail, a as GridListCaptionAlign, b as GridListTickleEvent, c as GridListCaptionStyle, d as GridListFullElementEventMap, f as GridListItemClickDetail, g as GridListOrientation, h as GridListItemUpdate, i as GridListActivateEvent, j as gestureOf, k as ListSelectionGesture, l as GridListDataAdapter, m as GridListItemEventDetail, n as GridListViewState, o as GridListCaptionBackdrop, p as GridListItemClickEvent, q as partitionFlags, r as GridListActivateDetail, s as GridListCaptionPosition, t as GridListElement, u as GridListElementEventMap, v as GridListSelectEvent, w as TreeKeyboardNavController, x as GridListViewportChangeDetail, y as GridListTickleDetail, z as PendingFlags } from "./grid-list-OCdjuhng.js";
|
|
27
27
|
import { a as ListGroupEventMap, c as ListGroupPartition, d as defaultGroupLabel, f as partitionByGroup, h as toggleInSet, i as ListGroupChangeEvent, l as ListGroupToggleDetail, m as toGroupKey, n as ListGroupBy, o as ListGroupInfo, p as resolveGroupKey, r as ListGroupChangeDetail, s as ListGroupLabel, t as EMPTY_GROUP_LABEL, u as ListGroupToggleEvent } from "./grouping-OoQ8WaKc.js";
|
|
28
28
|
import { a as IGroupedSubComponent, c as SubComponentActivateEvent, d as SubComponentItemClickEvent, f as SubComponentSelectDetail, h as SubComponentTickleEvent, i as GroupedSelectEvent, l as SubComponentFactory, m as SubComponentTickleDetail, n as GroupedItemListerElementEventMap, o as IGroupedSubComponentEventMap, p as SubComponentSelectEvent, r as GroupedSelectDetail, s as SubComponentActivateDetail, t as GroupedItemListerElement, u as SubComponentItemClickDetail } from "./grouped-item-lister-1MlvJORP.js";
|
|
29
29
|
import { a as TreeDropVisibleRow, c as TreeListElement, d as TreeBaseElement, f as TreeBaseElementEventMap, h as TreeConfig, i as TreeDropRowInfo, l as TreeCheckboxState, m as TreeListViewState, n as TreeDropControllerConfig, o as TreeController, p as TreeVirtualize, r as TreeDropResolvedDrag, s as TreeControllerOptions, t as TreeDropController, u as TreeAnimation } from "./index-88ra6YHP.js";
|
|
@@ -4095,4 +4095,4 @@ declare global {
|
|
|
4095
4095
|
}
|
|
4096
4096
|
export declare function monitorIndeterminate(targetElOrQuery: string | HTMLElement, watchedElsOrQueries: Array<string | HTMLElement>): () => void;
|
|
4097
4097
|
export declare function init(): void;
|
|
4098
|
-
export { AGE_UNITS, AcTextChangeDetail, AcTextChangeEvent, AcTextCompletionProvider, AcTextElement, AcTextItem, AcTextSelectDetail, AcTextSelectEvent, AcTextValueDetail, AcTextValueEvent, type AcTokenAddDetail, type AcTokenAddEvent, AcTokenElement, type AcTokenElementEventMap, type AcTokenItem, type AcTokenRemoveDetail, type AcTokenRemoveEvent, type AcTokenStyle, type AcTokenStyleFn, type AcTokenizerFn, type AcTokensChangeDetail, type AcTokensChangeEvent, AddItemOptions, type AddedNode, Axis, type BridgeDeps, type BridgeResult, type BuiltInFormatterName, type BuiltInFormatterOptions, ButtonElement, ButtonElementEventMap, ButtonToggleDetail, ButtonToggleEvent, type CheckState, Checkbox, CheckboxChangeDetail, CheckboxChangeEvent, CheckboxEventMap, CheckedSelect, CheckedSelectChangeDetail, CheckedSelectChangeEvent, CheckedSelectEventMap, type CheckedSelectItem, ClickSnapMode, ColourMapConfig, ColourMode, ColourPicker, type ColourPickerChangeEvent, type ColourPickerEventDetail, type ColourPickerInputEvent, ColourPickerPopup, ColourResult, type ComputeHyperbolicLayoutOptions, ComputeSunburstLayoutOptions, type ComputeTreemapLayoutOptions, ConfigEntry, ConnectContext, ConnectionCheck, ConnectionCheckReason, ConnectionRulesOptions, type ContextKind, type ContextTarget, ContiguousSelectEventDetail, CrumbNavigationChangeDetail, CrumbNavigationChangeEvent, CrumbNavigationElement, CrumbNavigationElementEventMap, CrumbNavigationExpandDetail, CrumbNavigationExpandEvent, CrumbNavigationItemClickDetail, CrumbNavigationItemClickEvent, type CrumbNavigationViewState, type CssVars, CustomCheckboxOptions, DEFAULT_FORCE_OPTIONS, DRAG_THRESHOLD_PX, DataBatch, DataDisplayComponent, DataGridCellClickDetail, DataGridCellClickEvent, DataGridCellEditDetail, DataGridCellEditEvent, type DataGridColumn, type DataGridColumnMenu, DataGridColumnReorderDetail, DataGridColumnReorderEvent, DataGridColumnResizeDetail, DataGridColumnResizeEvent, type DataGridColumnViewState, DataGridColumnVisibilityDetail, DataGridColumnVisibilityEvent, type DataGridDataType, type DataGridEditability, type DataGridEditorContext, type DataGridEditorFactory, type DataGridEditorType, DataGridElement, DataGridElementEventMap, type DataGridGetRowKey, type DataGridGroupBy, DataGridGroupChangeDetail, DataGridGroupChangeEvent, type DataGridGroupLabel, type DataGridInteractionMode, DataGridListSelectDetail, DataGridListSelectEvent, DataGridRowActivateDetail, DataGridRowActivateEvent, type DataGridRowLook, DataGridSelectDetail, DataGridSelectEvent, DataGridSelectIntentEvent, type DataGridSelectionMode, DataGridSortDetail, type DataGridSortDirection, DataGridSortEvent, type DataGridSortState, type DataGridViewState, DataGridViewportChangeDetail, DataGridViewportChangeEvent, type DataListSearchAdapterOptions, type DataListSearchItem, DataProviderResult, DateInputChangeDetail, DateInputChangeEvent, DateInputElement, DateInputElementEventMap, DateInputType, type DetailFormatter, type DetailGroupBy, DetailListElement, DetailListElementEventMap, type DetailListViewState, type DetailSortComparator, type DetailSortItem, type DetailSortMode, DisconnectReason, DisplayTextLogic, type DockDropZone, type DragSelectRect, DragSnappingFn, DragTarget, type DraggableNode, EASY_CONNECT_MARGIN, EDGE_CORNER_RADIUS, EMPTY_FLAGS, EMPTY_GROUP_LABEL, EMPTY_KEYS, EdgeHint, EdgeHintMap, EdgeRouteRequest, EdgeRouter, EdgeStyle, EditableLabel, EditableLabelChangeDetail, EditableLabelChangeEvent, EditableMode, EditableNumber, Effect, type ElementIncrSearch, type ElementIncrSearchOptions, type ElementListSearchAdapterOptions, type ElementListSearchHost, EntryMode, FitInput, type FlatListActivateDetail, type FlatListActivateEvent, type FlatListBranchOrder, type FlatListContextMenuDetail, type FlatListContextMenuEvent, type FlatListDropDetail, type FlatListDropEvent, type FlatListEditCancelDetail, type FlatListEditCancelEvent, type FlatListEditCommitDetail, type FlatListEditCommitEvent, FlatListElement, type FlatListElementEventMap, type FlatListNavigateDetail, type FlatListNavigateEvent, type FlatListSelectDetail, type FlatListSelectEvent, type FlatListViewState, ForceLink, ForceNode, ForceOptions, ForceState, FormElement, FormatValueForHuman, FormattingOptions, type FuzzySearch, type FuzzySearchOptions, FuzzySearchResult, GetViewStateOptions, type GlobalFormatter, GraphConnectDetail, GraphConnectEndDetail, GraphConnectEndEvent, GraphConnectEvent, GraphContextMenuDetail, GraphContextMenuEvent, GraphDeleteDetail, GraphDeleteEvent, GraphDisconnectDetail, GraphDisconnectEvent, GraphEdge, GraphEdgesChangeDetail, GraphEdgesChangeEvent, GraphNodeAddedDetail, GraphNodeAddedEvent, GraphNodeCollapseDetail, GraphNodeCollapseEvent, GraphNodeElement, GraphNodeGeometryDetail, GraphNodeGeometryEvent, GraphNodeMoveDetail, GraphNodeMoveEvent, GraphNodeMovedEvent, GraphNodeResizeDetail, GraphNodeResizeEvent, GraphNodeTitleDblclickDetail, GraphNodeTitleDblclickEvent, GraphPortChangeDetail, GraphPortChangeEvent, GraphPortElement, GraphRect, GraphSelectionChangeDetail, GraphSelectionChangeEvent, GraphSnapshot, GraphViewportChangeEvent, type GridListActivateDetail, type GridListActivateEvent, type GridListCaptionAlign, type GridListCaptionBackdrop, type GridListCaptionPosition, type GridListCaptionStyle, type GridListDataAdapter, GridListElement, type GridListElementEventMap, type GridListFullElementEventMap, type GridListItemClickDetail, type GridListItemClickEvent, type GridListItemEventDetail, type GridListOrientation, type GridListSelectDetail, type GridListSelectEvent, type GridListTickleDetail, type GridListTickleEvent, type GridListViewState, type GridListViewportChangeDetail, type GridListViewportChangeEvent, GridMode, GridResolution, GroupNode, GroupedItemListerElement, type GroupedItemListerElementEventMap, type GroupedSelectDetail, type GroupedSelectEvent, HexChangeDetail, HexChangeEvent, type HighlightOptions, type HighlightTarget, type HyperbolicEdgeRenderContext, type HyperbolicEdgeRenderer, type HyperbolicFocusDetail, type HyperbolicFocusEvent, type HyperbolicInteractionMode, type HyperbolicLayoutEdge, type HyperbolicLayoutNode, type HyperbolicNodeShape, type Point as HyperbolicPoint, type HyperbolicTreeListViewState, ICON_CARET_RIGHT, ICON_CHECK, ICON_CHEVRON_DOWN, ICON_CLOSE, IDataProvider, type IGroupedSubComponent, type IGroupedSubComponentEventMap, type IcicleViewState, type IconChangedDetail, type IconChangedEvent, type IconEntry, type IncrSearch, type IncrSearchChangeCallback, IncrSearchTreeController as IncrSearchMillerController, IncrSearchTreeController, type IncrSearchTreeOptions as IncrSearchMillerOptions, type IncrSearchTreeOptions, type IncrSearchOptions, type IncrSearchResult, type IncrSearchState, type InputMode, IsValidConnection, type ItemDisplay, type ItemOrientation, ItemsProvider, IxfxHexEditorElement, IxfxIconElement, IxfxTimelineElement, LIST_SEARCH_COMMAND_IDS, LIST_SEARCH_MODES, LabelledRadialInput, LabelledRangeInput, LabelledSliderInput, LaneData, LaneType, LayoutNode, LayoutSnapshot, LedElement, LedMode, type ListActivateDetail, type ListActivateEvent, type ListContextMenuDetail, type ListContextMenuEvent, type ListDragEntry, type ListDragLeaveDetail, type ListDragLeaveEvent, type ListDragOverEvent, type ListDragPreview, type ListDragPreviewContext, type ListDragPreviewRenderer, type ListDragPreviewSourceResolver, ListDragSelectController, type ListDragSelectControllerConfig, type ListDragSource, type ListDropDetail, type ListDropEvent, type ListEditCancelDetail, type ListEditCancelEvent, type ListEditCommitDetail, type ListEditCommitEvent, type ListElementEventMap, type ListGroupBy, type ListGroupChangeDetail, type ListGroupChangeEvent, type ListGroupEventMap, ListGroupHeaderElement, type ListGroupInfo, type ListGroupLabel, type ListGroupPartition, type ListGroupToggleDetail, type ListGroupToggleEvent, type ListInteractionMode, type ListItemClickDetail, type ListItemClickEvent, type ListItemMotionOptions, type ListItemOutResult, type ListMarqueeMode, ListNativeDragController, type ListNativeDragControllerConfig, type ListNativeDragStartDetail, type ListNativeDragStartEvent, type ListSearchAdapter, ListSearchController, type ListSearchControllerOptions, type ListSearchHost, type ListSearchMode, type ListSelectDetail, type ListSelectEvent, type ListSelectIntentDetail, type ListSelectIntentEvent, type ListSelectIntentKind, type ListSelectIntentSource, type ListSelectKeysDetail, ListSelectionController, type ListSelectionControllerConfig, type ListSelectionGesture, type ListSelectionMode, type ListSelectionModes, type ListTickleDetail, type ListTickleEvent, type ListViewportChangeDetail, type ListViewportChangeEvent, LoadChildrenCallback, MARQUEE_THRESHOLD_PX, MAX_BLINK_HZ, MAX_FLOW_SPEED, MAX_PENDING_KEYS, MarkerStyle, type MarqueeConfig, MarqueeController, MarqueeStartInput, index_d_exports as Menu, type TreeActivateDetail as MillerActivateDetail, TreeActivateDetail, type TreeActivateEvent as MillerActivateEvent, TreeActivateEvent, MillerBaseElement, MillerBaseElementEventMap, type TreeCollapseDetail as MillerCollapseDetail, TreeCollapseDetail, type TreeCollapseEvent as MillerCollapseEvent, TreeCollapseEvent, type TreeExpandDetail as MillerExpandDetail, TreeExpandDetail, type TreeExpandEvent as MillerExpandEvent, TreeExpandEvent, MillerHeaderClickDetail, MillerHeaderClickEvent, MillerHeaderRightClickDetail, MillerHeaderRightClickEvent, type TreeItem as MillerItem, TreeItem, type TreeItemClickDetail as MillerItemClickDetail, TreeItemClickDetail, type TreeItemClickEvent as MillerItemClickEvent, TreeItemClickEvent, MillerItemDblClickDetail, MillerItemDblClickEvent, MillerItemRightClickDetail, MillerItemRightClickEvent, MillerItemState, MillerListElement, type MillerListViewState, type TreeNode as MillerNode, TreeNode, MillerRebaseDetail, MillerRebaseEvent, type TreeSelectDetail as MillerSelectDetail, TreeSelectDetail, type TreeSelectEvent as MillerSelectEvent, TreeSelectEvent, MillerSelectionMode, type TreeTickleDetail as MillerTickleDetail, TreeTickleDetail, type TreeTickleEvent as MillerTickleEvent, TreeTickleEvent, MillerTreeController, MillerTreeControllerOptions, type MulticolCategory, type MulticolColumnState, type MulticolColumnsChangeReason, type MulticolItem, type MulticolListViewState, type MulticolQuery, type MulticolSelectDetail, NODE_SHAPES, NarrowedTextChangeDetail, NarrowedTextChangeEvent, NarrowedTextElement, NarrowedTextItem, type NodeDragConfig, NodeDragController, type NodeFactory, type NodeFactoryContext, NodeGraphElement, NodeGraphElementEventMap, NodeGraphViewState, NodeLayout, NodeMove, NodeShape, NoneSelectEventDetail, Notification, NotificationContent, NotificationPillElement, NotificationPillElementEventMap, NotificationRenderer, NotificationRendererHooks, NotificationType, NotifierOptions, type OklchValue, type OpenableMenu, Orientation, PanTextElement, PanTextMode, type PanZoomConfig, PanZoomController, PaneOrigin, PanelCloseEvent, PanelElement, PanelElementEventMap, PanelInfo, PanelNode, PanelOrientation, PanelToggleDetail, PanelToggleEvent, PanelToggleInteraction, PanelVariant, PendingFlags, PendingKeys, PillTapDetail, PillTapEvent, PlotDataSeries, PlotDataSeriesOptions, PlotHistogram, PlotHistogramBucketClickDetail, PlotHistogramBucketClickEvent, PlotHistogramElementEventMap, PlotHistogramInteractionMode, PlotHistogramOrientation, PlotHistogramSelectionChangeDetail, PlotHistogramSelectionChangeEvent, PlotHistogramSelectionRange, PlotHistogramValueTooltips, PlotMultiAxis, PlotMultiAxisDataPointClickDetail, PlotMultiAxisDataPointClickEvent, PlotMultiAxisElementEventMap, PlotMultiAxisLayout, PlotSingleAxis, PlotSingleAxisElementEventMap, PlotSingleAxisPointerMoveDetail, PlotSingleAxisPointerMoveEvent, PlotXyAxis, Point$1 as Point, PointerGesture, PolarPad, PolarPadInputDetail, PolarPadInputEvent, PopupItem, PortDir, PortInfo, PortOffset, PortRef, PortSide, type ProximityPair, type ProximityQuery, RESIZE_HANDLES, RadialInputChangeDetail, RadialInputChangeEvent, RadialInputElement, RadialInputInputDetail, RadialInputInputEvent, RangeElement, RangeInput, type Rect, RectangularSelectEventDetail, type RegisterListSearchCommandsOptions, RendererStyle, ResizeHandle, RouteEnd, SIZE_UNITS, SUNBURST_PATH_SEPARATOR, type ScrollHoverGuard, type ScrollHoverGuardConfig, ScrollState, SelectEventDetail, SelectHorizChangeDetail, SelectHorizChangeEvent, SelectHorizElement, SelectHorizEventMap, SelectionMode, SelectionState, ShapeSpec, SingleAxisAgeStyle, SingleAxisDrawStyle, SingleSelectEventDetail, SizeLimits, SliderChangedField, SliderCrossover, SliderHandleKey, SliderInputChangeDetail, SliderInputChangeEvent, SliderInputElement, SliderInputElementEventMap, SliderInputInputDetail, SliderInputInputEvent, SliderLaneData, SliderLaneType, SliderMarkerStyle, SliderOrientation, SliderSingleStyle, SliderValueCFollow, SliderValueDrag, SliderValueMode, SnackbarDismiss, SnackbarElement, SnackbarMode, SnackbarPlacement, SnapCandidate, SnapChangeDetail, SnapChangeEvent, SnapContainer, SnapInputDetail, SnapInputEvent, SnapLogic, SnapTarget, SnapshotNode, type SortDirection, SplitButtonSelectDetail, SplitButtonSelectEvent, SplitChangeDetail, SplitChangeEvent, SplitCloseDetail, SplitCloseEvent, SplitCollapseDetail, SplitCollapseEvent, SplitExpandDetail, SplitExpandEvent, SplitLayoutElement, SplitLayoutElementEventMap, SplitLayoutViewState, SplitPanelElement, SplitPanelViewState, SplitResizeDetail, SplitResizeEvent, type SubComponentActivateDetail, type SubComponentActivateEvent, type SubComponentFactory, type SubComponentItemClickDetail, type SubComponentItemClickEvent, type SubComponentSelectDetail, type SubComponentSelectEvent, type SubComponentTickleDetail, type SubComponentTickleEvent, SunburstArcVisual, SunburstInteractionMode, SunburstLabelPlacement, SunburstLayout, SunburstLayoutNode, SunburstRings, SunburstTreeListElement, SunburstTreeListElementEventMap, SunburstValueAccessor, SunburstValueFormatter, SunburstView, type SunburstViewState, SunburstZoomDetail, SunburstZoomEvent, SwipeElement, SwipeElementEventMap, SwipeInputDetail, SwipeInputEvent, SwitcherItem, TabListChangeDetail, TabListChangeEvent, TabListDragMode, TabListElement, TabListItemElement, TabListReorderDetail, TabListReorderEvent, TickledController, type TickledControllerConfig, type TickledItem, TimelineController, TimelineControllerConfig, TimelineDraggingCallbackDetail, TimelineDraggingDetail, TimelineDraggingEvent, TimelineElementEventMap, TimelineEvent, TimelineEventMoveDetail, TimelineEventMoveEvent, TimelineEventResizeDetail, TimelineEventResizeEvent, TimelineSelectionChangeDetail, TimelineSelectionChangeEvent, TimelineTickleChangeDetail, TimelineTickleChangeEvent, TimelineTrack, TimelineTrackReorderDetail, TimelineTrackReorderEvent, TimelineTrackResizeDetail, TimelineTrackResizeEvent, TimelineTrackSelectDetail, TimelineTrackSelectEvent, TimelineTrackTabElement, TitlebarCloseEvent, TitlebarElement, TitlebarElementEventMap, TitlebarOrientation, TitlebarToggleDetail, TitlebarToggleEvent, TitlebarToggleInteraction, TitlebarVariant, TooltipElement, TooltipOrientations, TouchMode, TrackHeightMode, TrackLayout, TransitoryLabelElement, TreeAnimation, TreeBaseElement, TreeBaseElementEventMap, type TreeCheckboxState, TreeComponent, TreeComponentEventMap, TreeConfig, TreeController, TreeControllerOptions, TreeDataModel, TreeDataModelOptions, TreeDndMode, TreeDragContext, TreeDragEndEvent, TreeDragOverEvent, TreeDragStartEvent, TreeDropApplyContext, TreeDropContext, TreeDropController, TreeDropControllerConfig, TreeDropDetail, TreeDropEvent, TreeDropPosition, TreeDropResolvedDrag, TreeDropRowInfo, TreeDropTarget, TreeDropVisibleRow, TreeExclusivity, TreeFilterPredicate, TreeInteractionMode, TreeItemDblClickDetail, TreeItemDblClickEvent, type TreeKeyboardNavCallbacks, TreeKeyboardNavController, type TreeKeyboardNavControllerConfig, type TreeKeyboardNavItemId, TreeListElement, type TreeListSearchAdapterOptions, type TreeListViewState, TreeNavigateOptions, TreeRevealMode, TreeSearchHost, TreeSelectAllOptions, TreeSelectionFilter, TreeVirtualize, type TreemapInteractionMode, type TreemapListViewState, type TreemapRect, type TreemapTilingMethod, type TreemapValueAccessor, UnitInputChangeDetail, UnitInputChangeEvent, UnitInputElement, UnitInputElementEventMap, UnitInputUnit, UserScale, VIEW_STATE_CHANGE, VIEW_STATE_VERSION, ValueMode, VerticalListElement, VerticalListElementEventMap, type VerticalListViewState, ViewRange, ViewStateBase, ViewStateChangeDetail, ViewStateChangeEvent, ViewStateChangeReason, ViewStateController, ViewStateControllerOptions, ViewStateful, Viewport, type WheelMode, WhenSmall, type WireDragConfig, WireDragController, type WireDragMode, type WireDragPort, WireFlowMap, type WirePath, XyAgeStyle, XyDrawStyle, XyPad, XyPadEventMap, XyPadInputDetail, XyPadInputEvent, addWire, applyAgeModification, applyHighlights, attachTimelineInteractions, bestUnit, blinkPeriodSeconds, boundsOf, buildHighlightTargets, canConnect, capFlags, capKeys, clampZoom, clearHighlights, collapsedOffset, collectDataResult, combineSelection, computeColour, connectContext, createAcCompletionProvider, createDataListSearchAdapter, createElementIncrSearch, createElementListSearchAdapter, createFuzzySearch, createIncrSearch, createTreeListSearchAdapter, cycleBlockedNodes, defaultGroupLabel, defaultSide, edgeId, edgeMidpoint, edgePath, edgeShape, ensurePort, extendFromSide, findProximityConnection, findSnapTarget, findValidWire, fitBounds, fitRects, flagsFromRecord, flagsToRecord, flowToScreen, forceMovement, forcePin, forcePositions, forceState, forceStep, formatDateInput, fromEdges, gestureOf, getIcon, getIconEntry, getIconFont, hasIcon, hasWire, iconBus, inDegreeOf, inEasyConnectZone, incomingEdge, incomingEdges, isEditableTarget, isMultiMode, isNodeShape, isResizeHandle, keysAsFlags, keysToArray, listSearchStyles, marqueeStyle, measureNode, nodeGraphStyles, nodesInRect, normaliseConnection, outDegreeOf, panBy, parseColourScaleAttr, parseDateInput, parsePortId, partitionByGroup, partitionFlags, partitionKeys, pickStartPort, polylineMidpoint, polylinePath, polylineShape, portId, proximityFactor, readBaseColour, rectFromPoints, rectGap, rectsIntersect, registerFontIcon, registerIcon, registerListSearchCommands, removeNode, removeNodes, removeWire, renderWires, resizeRect, resolveConnection, resolveCssVars, resolveGrid, resolveGroupKey, sanitizeFlowSpeed, screenToFlow, selectionAfterEdgeClick, selectionAfterNodePress, setIconFont, settled, shapeSpec, smoothStep, stepPoints, svgToDataUri, timelineStyles, toBase, toEdges, toGroupKey, toNodeGraph, toggleInSet, typesCompatible, wantsMarquee, withEntry, withWireFlow, withoutFlag, zoomAt };
|
|
4098
|
+
export { AGE_UNITS, AcTextChangeDetail, AcTextChangeEvent, AcTextCompletionProvider, AcTextElement, AcTextItem, AcTextSelectDetail, AcTextSelectEvent, AcTextValueDetail, AcTextValueEvent, type AcTokenAddDetail, type AcTokenAddEvent, AcTokenElement, type AcTokenElementEventMap, type AcTokenItem, type AcTokenRemoveDetail, type AcTokenRemoveEvent, type AcTokenStyle, type AcTokenStyleFn, type AcTokenizerFn, type AcTokensChangeDetail, type AcTokensChangeEvent, AddItemOptions, type AddedNode, Axis, type BridgeDeps, type BridgeResult, type BuiltInFormatterName, type BuiltInFormatterOptions, ButtonElement, ButtonElementEventMap, ButtonToggleDetail, ButtonToggleEvent, type CheckState, Checkbox, CheckboxChangeDetail, CheckboxChangeEvent, CheckboxEventMap, CheckedSelect, CheckedSelectChangeDetail, CheckedSelectChangeEvent, CheckedSelectEventMap, type CheckedSelectItem, ClickSnapMode, ColourMapConfig, ColourMode, ColourPicker, type ColourPickerChangeEvent, type ColourPickerEventDetail, type ColourPickerInputEvent, ColourPickerPopup, ColourResult, type ComputeHyperbolicLayoutOptions, ComputeSunburstLayoutOptions, type ComputeTreemapLayoutOptions, ConfigEntry, ConnectContext, ConnectionCheck, ConnectionCheckReason, ConnectionRulesOptions, type ContextKind, type ContextTarget, ContiguousSelectEventDetail, CrumbNavigationChangeDetail, CrumbNavigationChangeEvent, CrumbNavigationElement, CrumbNavigationElementEventMap, CrumbNavigationExpandDetail, CrumbNavigationExpandEvent, CrumbNavigationItemClickDetail, CrumbNavigationItemClickEvent, type CrumbNavigationViewState, type CssVars, CustomCheckboxOptions, DEFAULT_FORCE_OPTIONS, DRAG_THRESHOLD_PX, DataBatch, DataDisplayComponent, DataGridCellClickDetail, DataGridCellClickEvent, DataGridCellEditDetail, DataGridCellEditEvent, type DataGridColumn, type DataGridColumnMenu, DataGridColumnReorderDetail, DataGridColumnReorderEvent, DataGridColumnResizeDetail, DataGridColumnResizeEvent, type DataGridColumnViewState, DataGridColumnVisibilityDetail, DataGridColumnVisibilityEvent, type DataGridDataType, type DataGridEditability, type DataGridEditorContext, type DataGridEditorFactory, type DataGridEditorType, DataGridElement, DataGridElementEventMap, type DataGridGetRowKey, type DataGridGroupBy, DataGridGroupChangeDetail, DataGridGroupChangeEvent, type DataGridGroupLabel, type DataGridInteractionMode, DataGridListSelectDetail, DataGridListSelectEvent, DataGridRowActivateDetail, DataGridRowActivateEvent, type DataGridRowLook, DataGridSelectDetail, DataGridSelectEvent, DataGridSelectIntentEvent, type DataGridSelectionMode, DataGridSortDetail, type DataGridSortDirection, DataGridSortEvent, type DataGridSortState, type DataGridViewState, DataGridViewportChangeDetail, DataGridViewportChangeEvent, type DataListSearchAdapterOptions, type DataListSearchItem, DataProviderResult, DateInputChangeDetail, DateInputChangeEvent, DateInputElement, DateInputElementEventMap, DateInputType, type DetailFormatter, type DetailGroupBy, DetailListElement, DetailListElementEventMap, type DetailListViewState, type DetailSortComparator, type DetailSortItem, type DetailSortMode, DisconnectReason, DisplayTextLogic, type DockDropZone, type DragSelectRect, DragSnappingFn, DragTarget, type DraggableNode, EASY_CONNECT_MARGIN, EDGE_CORNER_RADIUS, EMPTY_FLAGS, EMPTY_GROUP_LABEL, EMPTY_KEYS, EdgeHint, EdgeHintMap, EdgeRouteRequest, EdgeRouter, EdgeStyle, EditableLabel, EditableLabelChangeDetail, EditableLabelChangeEvent, EditableMode, EditableNumber, Effect, type ElementIncrSearch, type ElementIncrSearchOptions, type ElementListSearchAdapterOptions, type ElementListSearchHost, EntryMode, FitInput, type FlatListActivateDetail, type FlatListActivateEvent, type FlatListBranchOrder, type FlatListContextMenuDetail, type FlatListContextMenuEvent, type FlatListDropDetail, type FlatListDropEvent, type FlatListEditCancelDetail, type FlatListEditCancelEvent, type FlatListEditCommitDetail, type FlatListEditCommitEvent, FlatListElement, type FlatListElementEventMap, type FlatListNavigateDetail, type FlatListNavigateEvent, type FlatListSelectDetail, type FlatListSelectEvent, type FlatListViewState, ForceLink, ForceNode, ForceOptions, ForceState, FormElement, FormatValueForHuman, FormattingOptions, type FuzzySearch, type FuzzySearchOptions, FuzzySearchResult, GetViewStateOptions, type GlobalFormatter, GraphConnectDetail, GraphConnectEndDetail, GraphConnectEndEvent, GraphConnectEvent, GraphContextMenuDetail, GraphContextMenuEvent, GraphDeleteDetail, GraphDeleteEvent, GraphDisconnectDetail, GraphDisconnectEvent, GraphEdge, GraphEdgesChangeDetail, GraphEdgesChangeEvent, GraphNodeAddedDetail, GraphNodeAddedEvent, GraphNodeCollapseDetail, GraphNodeCollapseEvent, GraphNodeElement, GraphNodeGeometryDetail, GraphNodeGeometryEvent, GraphNodeMoveDetail, GraphNodeMoveEvent, GraphNodeMovedEvent, GraphNodeResizeDetail, GraphNodeResizeEvent, GraphNodeTitleDblclickDetail, GraphNodeTitleDblclickEvent, GraphPortChangeDetail, GraphPortChangeEvent, GraphPortElement, GraphRect, GraphSelectionChangeDetail, GraphSelectionChangeEvent, GraphSnapshot, GraphViewportChangeEvent, type GridListActivateDetail, type GridListActivateEvent, type GridListCaptionAlign, type GridListCaptionBackdrop, type GridListCaptionPosition, type GridListCaptionStyle, type GridListDataAdapter, GridListElement, type GridListElementEventMap, type GridListFullElementEventMap, type GridListItemClickDetail, type GridListItemClickEvent, type GridListItemEventDetail, type GridListItemUpdate, type GridListOrientation, type GridListSelectDetail, type GridListSelectEvent, type GridListTickleDetail, type GridListTickleEvent, type GridListViewState, type GridListViewportChangeDetail, type GridListViewportChangeEvent, GridMode, GridResolution, GroupNode, GroupedItemListerElement, type GroupedItemListerElementEventMap, type GroupedSelectDetail, type GroupedSelectEvent, HexChangeDetail, HexChangeEvent, type HighlightOptions, type HighlightTarget, type HyperbolicEdgeRenderContext, type HyperbolicEdgeRenderer, type HyperbolicFocusDetail, type HyperbolicFocusEvent, type HyperbolicInteractionMode, type HyperbolicLayoutEdge, type HyperbolicLayoutNode, type HyperbolicNodeShape, type Point as HyperbolicPoint, type HyperbolicTreeListViewState, ICON_CARET_RIGHT, ICON_CHECK, ICON_CHEVRON_DOWN, ICON_CLOSE, IDataProvider, type IGroupedSubComponent, type IGroupedSubComponentEventMap, type IcicleViewState, type IconChangedDetail, type IconChangedEvent, type IconEntry, type IncrSearch, type IncrSearchChangeCallback, IncrSearchTreeController as IncrSearchMillerController, IncrSearchTreeController, type IncrSearchTreeOptions as IncrSearchMillerOptions, type IncrSearchTreeOptions, type IncrSearchOptions, type IncrSearchResult, type IncrSearchState, type InputMode, IsValidConnection, type ItemDisplay, type ItemOrientation, ItemsProvider, IxfxHexEditorElement, IxfxIconElement, IxfxTimelineElement, LIST_SEARCH_COMMAND_IDS, LIST_SEARCH_MODES, LabelledRadialInput, LabelledRangeInput, LabelledSliderInput, LaneData, LaneType, LayoutNode, LayoutSnapshot, LedElement, LedMode, type ListActivateDetail, type ListActivateEvent, type ListContextMenuDetail, type ListContextMenuEvent, type ListDragEntry, type ListDragLeaveDetail, type ListDragLeaveEvent, type ListDragOverEvent, type ListDragPreview, type ListDragPreviewContext, type ListDragPreviewRenderer, type ListDragPreviewSourceResolver, ListDragSelectController, type ListDragSelectControllerConfig, type ListDragSource, type ListDropDetail, type ListDropEvent, type ListEditCancelDetail, type ListEditCancelEvent, type ListEditCommitDetail, type ListEditCommitEvent, type ListElementEventMap, type ListGroupBy, type ListGroupChangeDetail, type ListGroupChangeEvent, type ListGroupEventMap, ListGroupHeaderElement, type ListGroupInfo, type ListGroupLabel, type ListGroupPartition, type ListGroupToggleDetail, type ListGroupToggleEvent, type ListInteractionMode, type ListItemClickDetail, type ListItemClickEvent, type ListItemMotionOptions, type ListItemOutResult, type ListMarqueeMode, ListNativeDragController, type ListNativeDragControllerConfig, type ListNativeDragStartDetail, type ListNativeDragStartEvent, type ListSearchAdapter, ListSearchController, type ListSearchControllerOptions, type ListSearchHost, type ListSearchMode, type ListSelectDetail, type ListSelectEvent, type ListSelectIntentDetail, type ListSelectIntentEvent, type ListSelectIntentKind, type ListSelectIntentSource, type ListSelectKeysDetail, ListSelectionController, type ListSelectionControllerConfig, type ListSelectionGesture, type ListSelectionMode, type ListSelectionModes, type ListTickleDetail, type ListTickleEvent, type ListViewportChangeDetail, type ListViewportChangeEvent, LoadChildrenCallback, MARQUEE_THRESHOLD_PX, MAX_BLINK_HZ, MAX_FLOW_SPEED, MAX_PENDING_KEYS, MarkerStyle, type MarqueeConfig, MarqueeController, MarqueeStartInput, index_d_exports as Menu, type TreeActivateDetail as MillerActivateDetail, TreeActivateDetail, type TreeActivateEvent as MillerActivateEvent, TreeActivateEvent, MillerBaseElement, MillerBaseElementEventMap, type TreeCollapseDetail as MillerCollapseDetail, TreeCollapseDetail, type TreeCollapseEvent as MillerCollapseEvent, TreeCollapseEvent, type TreeExpandDetail as MillerExpandDetail, TreeExpandDetail, type TreeExpandEvent as MillerExpandEvent, TreeExpandEvent, MillerHeaderClickDetail, MillerHeaderClickEvent, MillerHeaderRightClickDetail, MillerHeaderRightClickEvent, type TreeItem as MillerItem, TreeItem, type TreeItemClickDetail as MillerItemClickDetail, TreeItemClickDetail, type TreeItemClickEvent as MillerItemClickEvent, TreeItemClickEvent, MillerItemDblClickDetail, MillerItemDblClickEvent, MillerItemRightClickDetail, MillerItemRightClickEvent, MillerItemState, MillerListElement, type MillerListViewState, type TreeNode as MillerNode, TreeNode, MillerRebaseDetail, MillerRebaseEvent, type TreeSelectDetail as MillerSelectDetail, TreeSelectDetail, type TreeSelectEvent as MillerSelectEvent, TreeSelectEvent, MillerSelectionMode, type TreeTickleDetail as MillerTickleDetail, TreeTickleDetail, type TreeTickleEvent as MillerTickleEvent, TreeTickleEvent, MillerTreeController, MillerTreeControllerOptions, type MulticolCategory, type MulticolColumnState, type MulticolColumnsChangeReason, type MulticolItem, type MulticolListViewState, type MulticolQuery, type MulticolSelectDetail, NODE_SHAPES, NarrowedTextChangeDetail, NarrowedTextChangeEvent, NarrowedTextElement, NarrowedTextItem, type NodeDragConfig, NodeDragController, type NodeFactory, type NodeFactoryContext, NodeGraphElement, NodeGraphElementEventMap, NodeGraphViewState, NodeLayout, NodeMove, NodeShape, NoneSelectEventDetail, Notification, NotificationContent, NotificationPillElement, NotificationPillElementEventMap, NotificationRenderer, NotificationRendererHooks, NotificationType, NotifierOptions, type OklchValue, type OpenableMenu, Orientation, PanTextElement, PanTextMode, type PanZoomConfig, PanZoomController, PaneOrigin, PanelCloseEvent, PanelElement, PanelElementEventMap, PanelInfo, PanelNode, PanelOrientation, PanelToggleDetail, PanelToggleEvent, PanelToggleInteraction, PanelVariant, PendingFlags, PendingKeys, PillTapDetail, PillTapEvent, PlotDataSeries, PlotDataSeriesOptions, PlotHistogram, PlotHistogramBucketClickDetail, PlotHistogramBucketClickEvent, PlotHistogramElementEventMap, PlotHistogramInteractionMode, PlotHistogramOrientation, PlotHistogramSelectionChangeDetail, PlotHistogramSelectionChangeEvent, PlotHistogramSelectionRange, PlotHistogramValueTooltips, PlotMultiAxis, PlotMultiAxisDataPointClickDetail, PlotMultiAxisDataPointClickEvent, PlotMultiAxisElementEventMap, PlotMultiAxisLayout, PlotSingleAxis, PlotSingleAxisElementEventMap, PlotSingleAxisPointerMoveDetail, PlotSingleAxisPointerMoveEvent, PlotXyAxis, Point$1 as Point, PointerGesture, PolarPad, PolarPadInputDetail, PolarPadInputEvent, PopupItem, PortDir, PortInfo, PortOffset, PortRef, PortSide, type ProximityPair, type ProximityQuery, RESIZE_HANDLES, RadialInputChangeDetail, RadialInputChangeEvent, RadialInputElement, RadialInputInputDetail, RadialInputInputEvent, RangeElement, RangeInput, type Rect, RectangularSelectEventDetail, type RegisterListSearchCommandsOptions, RendererStyle, ResizeHandle, RouteEnd, SIZE_UNITS, SUNBURST_PATH_SEPARATOR, type ScrollHoverGuard, type ScrollHoverGuardConfig, ScrollState, SelectEventDetail, SelectHorizChangeDetail, SelectHorizChangeEvent, SelectHorizElement, SelectHorizEventMap, SelectionMode, SelectionState, ShapeSpec, SingleAxisAgeStyle, SingleAxisDrawStyle, SingleSelectEventDetail, SizeLimits, SliderChangedField, SliderCrossover, SliderHandleKey, SliderInputChangeDetail, SliderInputChangeEvent, SliderInputElement, SliderInputElementEventMap, SliderInputInputDetail, SliderInputInputEvent, SliderLaneData, SliderLaneType, SliderMarkerStyle, SliderOrientation, SliderSingleStyle, SliderValueCFollow, SliderValueDrag, SliderValueMode, SnackbarDismiss, SnackbarElement, SnackbarMode, SnackbarPlacement, SnapCandidate, SnapChangeDetail, SnapChangeEvent, SnapContainer, SnapInputDetail, SnapInputEvent, SnapLogic, SnapTarget, SnapshotNode, type SortDirection, SplitButtonSelectDetail, SplitButtonSelectEvent, SplitChangeDetail, SplitChangeEvent, SplitCloseDetail, SplitCloseEvent, SplitCollapseDetail, SplitCollapseEvent, SplitExpandDetail, SplitExpandEvent, SplitLayoutElement, SplitLayoutElementEventMap, SplitLayoutViewState, SplitPanelElement, SplitPanelViewState, SplitResizeDetail, SplitResizeEvent, type SubComponentActivateDetail, type SubComponentActivateEvent, type SubComponentFactory, type SubComponentItemClickDetail, type SubComponentItemClickEvent, type SubComponentSelectDetail, type SubComponentSelectEvent, type SubComponentTickleDetail, type SubComponentTickleEvent, SunburstArcVisual, SunburstInteractionMode, SunburstLabelPlacement, SunburstLayout, SunburstLayoutNode, SunburstRings, SunburstTreeListElement, SunburstTreeListElementEventMap, SunburstValueAccessor, SunburstValueFormatter, SunburstView, type SunburstViewState, SunburstZoomDetail, SunburstZoomEvent, SwipeElement, SwipeElementEventMap, SwipeInputDetail, SwipeInputEvent, SwitcherItem, TabListChangeDetail, TabListChangeEvent, TabListDragMode, TabListElement, TabListItemElement, TabListReorderDetail, TabListReorderEvent, TickledController, type TickledControllerConfig, type TickledItem, TimelineController, TimelineControllerConfig, TimelineDraggingCallbackDetail, TimelineDraggingDetail, TimelineDraggingEvent, TimelineElementEventMap, TimelineEvent, TimelineEventMoveDetail, TimelineEventMoveEvent, TimelineEventResizeDetail, TimelineEventResizeEvent, TimelineSelectionChangeDetail, TimelineSelectionChangeEvent, TimelineTickleChangeDetail, TimelineTickleChangeEvent, TimelineTrack, TimelineTrackReorderDetail, TimelineTrackReorderEvent, TimelineTrackResizeDetail, TimelineTrackResizeEvent, TimelineTrackSelectDetail, TimelineTrackSelectEvent, TimelineTrackTabElement, TitlebarCloseEvent, TitlebarElement, TitlebarElementEventMap, TitlebarOrientation, TitlebarToggleDetail, TitlebarToggleEvent, TitlebarToggleInteraction, TitlebarVariant, TooltipElement, TooltipOrientations, TouchMode, TrackHeightMode, TrackLayout, TransitoryLabelElement, TreeAnimation, TreeBaseElement, TreeBaseElementEventMap, type TreeCheckboxState, TreeComponent, TreeComponentEventMap, TreeConfig, TreeController, TreeControllerOptions, TreeDataModel, TreeDataModelOptions, TreeDndMode, TreeDragContext, TreeDragEndEvent, TreeDragOverEvent, TreeDragStartEvent, TreeDropApplyContext, TreeDropContext, TreeDropController, TreeDropControllerConfig, TreeDropDetail, TreeDropEvent, TreeDropPosition, TreeDropResolvedDrag, TreeDropRowInfo, TreeDropTarget, TreeDropVisibleRow, TreeExclusivity, TreeFilterPredicate, TreeInteractionMode, TreeItemDblClickDetail, TreeItemDblClickEvent, type TreeKeyboardNavCallbacks, TreeKeyboardNavController, type TreeKeyboardNavControllerConfig, type TreeKeyboardNavItemId, TreeListElement, type TreeListSearchAdapterOptions, type TreeListViewState, TreeNavigateOptions, TreeRevealMode, TreeSearchHost, TreeSelectAllOptions, TreeSelectionFilter, TreeVirtualize, type TreemapInteractionMode, type TreemapListViewState, type TreemapRect, type TreemapTilingMethod, type TreemapValueAccessor, UnitInputChangeDetail, UnitInputChangeEvent, UnitInputElement, UnitInputElementEventMap, UnitInputUnit, UserScale, VIEW_STATE_CHANGE, VIEW_STATE_VERSION, ValueMode, VerticalListElement, VerticalListElementEventMap, type VerticalListViewState, ViewRange, ViewStateBase, ViewStateChangeDetail, ViewStateChangeEvent, ViewStateChangeReason, ViewStateController, ViewStateControllerOptions, ViewStateful, Viewport, type WheelMode, WhenSmall, type WireDragConfig, WireDragController, type WireDragMode, type WireDragPort, WireFlowMap, type WirePath, XyAgeStyle, XyDrawStyle, XyPad, XyPadEventMap, XyPadInputDetail, XyPadInputEvent, addWire, applyAgeModification, applyHighlights, attachTimelineInteractions, bestUnit, blinkPeriodSeconds, boundsOf, buildHighlightTargets, canConnect, capFlags, capKeys, clampZoom, clearHighlights, collapsedOffset, collectDataResult, combineSelection, computeColour, connectContext, createAcCompletionProvider, createDataListSearchAdapter, createElementIncrSearch, createElementListSearchAdapter, createFuzzySearch, createIncrSearch, createTreeListSearchAdapter, cycleBlockedNodes, defaultGroupLabel, defaultSide, edgeId, edgeMidpoint, edgePath, edgeShape, ensurePort, extendFromSide, findProximityConnection, findSnapTarget, findValidWire, fitBounds, fitRects, flagsFromRecord, flagsToRecord, flowToScreen, forceMovement, forcePin, forcePositions, forceState, forceStep, formatDateInput, fromEdges, gestureOf, getIcon, getIconEntry, getIconFont, hasIcon, hasWire, iconBus, inDegreeOf, inEasyConnectZone, incomingEdge, incomingEdges, isEditableTarget, isMultiMode, isNodeShape, isResizeHandle, keysAsFlags, keysToArray, listSearchStyles, marqueeStyle, measureNode, nodeGraphStyles, nodesInRect, normaliseConnection, outDegreeOf, panBy, parseColourScaleAttr, parseDateInput, parsePortId, partitionByGroup, partitionFlags, partitionKeys, pickStartPort, polylineMidpoint, polylinePath, polylineShape, portId, proximityFactor, readBaseColour, rectFromPoints, rectGap, rectsIntersect, registerFontIcon, registerIcon, registerListSearchCommands, removeNode, removeNodes, removeWire, renderWires, resizeRect, resolveConnection, resolveCssVars, resolveGrid, resolveGroupKey, sanitizeFlowSpeed, screenToFlow, selectionAfterEdgeClick, selectionAfterNodePress, setIconFont, settled, shapeSpec, smoothStep, stepPoints, svgToDataUri, timelineStyles, toBase, toEdges, toGroupKey, toNodeGraph, toggleInSet, typesCompatible, wantsMarquee, withEntry, withWireFlow, withoutFlag, zoomAt };
|
package/dist/index.js
CHANGED
|
@@ -38,7 +38,7 @@ import { EditableLabel } from "./editable-label.js";
|
|
|
38
38
|
import { n as EditableNumber, t as LabelledSliderInput } from "./labelled-slider-input-CfRKd5kC.js";
|
|
39
39
|
import { FlatListElement } from "./flat-list.js";
|
|
40
40
|
import { n as formStyles, r as adoptLightDomStyles, t as FormElement } from "./form-Cxx2sO8_.js";
|
|
41
|
-
import { t as GridListElement } from "./grid-list-
|
|
41
|
+
import { t as GridListElement } from "./grid-list-D2hinM64.js";
|
|
42
42
|
import { GroupedItemListerElement } from "./grouped-item-lister.js";
|
|
43
43
|
import { t as VerticalListElement } from "./vertical-list-B9z1lbjM.js";
|
|
44
44
|
import { t as IxfxHexEditorElement } from "./hex-editor-DephDhuu.js";
|