@septkit/ui 0.0.72 → 0.0.73
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/autocomplete/index.js +2 -0
- package/dist/autocomplete/text-input-autocomplete.js +5 -0
- package/dist/autocomplete/text-input-autocomplete.vue_vue_type_script_setup_true_lang.js +92 -0
- package/dist/index.d.ts +99 -77
- package/dist/index.js +45 -43
- package/dist/ui.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Fragment as e, computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, defineComponent as o, mergeModels as s, normalizeClass as c, normalizeStyle as l, openBlock as u, ref as d, renderList as f, toDisplayString as p, useModel as m, watch as h, withModifiers as g } from "vue";
|
|
2
|
+
//#region lib/autocomplete/text-input-autocomplete.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var _ = { class: "relative w-full" }, v = ["value", "placeholder"], y = ["aria-selected", "onMousedown"], b = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "font-bold"
|
|
6
|
+
}, x = /*@__PURE__*/ o({
|
|
7
|
+
__name: "text-input-autocomplete",
|
|
8
|
+
props: /*@__PURE__*/ s({
|
|
9
|
+
suggestions: { default: () => [] },
|
|
10
|
+
placeholder: { default: "" },
|
|
11
|
+
suggestionsMaxHeight: { default: "13rem" }
|
|
12
|
+
}, {
|
|
13
|
+
modelValue: { default: "" },
|
|
14
|
+
modelModifiers: {}
|
|
15
|
+
}),
|
|
16
|
+
emits: ["update:modelValue"],
|
|
17
|
+
setup(o) {
|
|
18
|
+
let s = o, x = m(o, "modelValue"), S = d(!1), C = d(-1), w = d(null), T = t(() => x.value.toLowerCase().split(/\s+/).filter(Boolean)), E = t(() => T.value.length === 0 ? s.suggestions : s.suggestions.filter((e) => {
|
|
19
|
+
let t = e.toLowerCase();
|
|
20
|
+
return T.value.every((e) => t.includes(e));
|
|
21
|
+
}));
|
|
22
|
+
h(C, (e) => {
|
|
23
|
+
e < 0 || w.value?.children[e]?.scrollIntoView({
|
|
24
|
+
block: "nearest",
|
|
25
|
+
inline: "nearest"
|
|
26
|
+
});
|
|
27
|
+
}, { flush: "post" });
|
|
28
|
+
function D(e) {
|
|
29
|
+
let t = e.toLowerCase(), n = Array(e.length).fill(!1);
|
|
30
|
+
for (let e of T.value) {
|
|
31
|
+
let r = t.indexOf(e);
|
|
32
|
+
for (; r !== -1;) n.fill(!0, r, r + e.length), r = t.indexOf(e, r + 1);
|
|
33
|
+
}
|
|
34
|
+
let r = [];
|
|
35
|
+
for (let t = 0; t < e.length; t++) {
|
|
36
|
+
let i = n[t], a = r[r.length - 1];
|
|
37
|
+
a && a.matched === i ? a.text += e[t] : r.push({
|
|
38
|
+
text: e[t],
|
|
39
|
+
matched: i
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
return r;
|
|
43
|
+
}
|
|
44
|
+
function O(e) {
|
|
45
|
+
x.value = e.target.value, C.value = -1, S.value = E.value.length > 0;
|
|
46
|
+
}
|
|
47
|
+
function k() {
|
|
48
|
+
E.value.length > 0 && (S.value = !0);
|
|
49
|
+
}
|
|
50
|
+
function A() {
|
|
51
|
+
setTimeout(() => {
|
|
52
|
+
S.value = !1, C.value = -1;
|
|
53
|
+
}, 150);
|
|
54
|
+
}
|
|
55
|
+
function j(e) {
|
|
56
|
+
x.value = e, S.value = !1, C.value = -1;
|
|
57
|
+
}
|
|
58
|
+
function M(e) {
|
|
59
|
+
if (!S.value) {
|
|
60
|
+
e.key === "ArrowDown" && E.value.length > 0 && (S.value = !0);
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
e.key === "ArrowDown" ? (e.preventDefault(), C.value = Math.min(C.value + 1, E.value.length - 1)) : e.key === "ArrowUp" ? (e.preventDefault(), C.value = Math.max(C.value - 1, -1)) : e.key === "Enter" && C.value >= 0 ? (e.preventDefault(), j(E.value[C.value])) : e.key === "Tab" && E.value.length > 0 ? (e.preventDefault(), j(C.value >= 0 ? E.value[C.value] : E.value[0])) : e.key === "Escape" && (S.value = !1, C.value = -1);
|
|
64
|
+
}
|
|
65
|
+
return (t, s) => (u(), r("div", _, [i("input", {
|
|
66
|
+
type: "text",
|
|
67
|
+
value: x.value,
|
|
68
|
+
placeholder: o.placeholder,
|
|
69
|
+
class: "input input-bordered w-full",
|
|
70
|
+
autocomplete: "off",
|
|
71
|
+
onInput: O,
|
|
72
|
+
onFocus: k,
|
|
73
|
+
onBlur: A,
|
|
74
|
+
onKeydown: M
|
|
75
|
+
}, null, 40, v), S.value ? (u(), r("ul", {
|
|
76
|
+
key: 0,
|
|
77
|
+
ref_key: "listbox",
|
|
78
|
+
ref: w,
|
|
79
|
+
class: "absolute z-50 mt-1 w-full bg-base-100 border border-base-300 rounded-box shadow-md overflow-y-auto p-1",
|
|
80
|
+
style: l({ maxHeight: o.suggestionsMaxHeight }),
|
|
81
|
+
role: "listbox"
|
|
82
|
+
}, [(u(!0), r(e, null, f(E.value, (t, n) => (u(), r("li", {
|
|
83
|
+
key: t,
|
|
84
|
+
class: c(["cursor-pointer text-sm px-3 py-1.5 rounded select-none", n === C.value ? "bg-primary text-primary-content" : "hover:bg-base-200"]),
|
|
85
|
+
"aria-selected": n === C.value,
|
|
86
|
+
role: "option",
|
|
87
|
+
onMousedown: g((e) => j(t), ["prevent"])
|
|
88
|
+
}, [(u(!0), r(e, null, f(D(t), (t, n) => (u(), r(e, { key: n }, [t.matched ? (u(), r("strong", b, p(t.text), 1)) : (u(), r(e, { key: 1 }, [a(p(t.text), 1)], 64))], 64))), 128))], 42, y))), 128))], 4)) : n("", !0)]));
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
//#endregion
|
|
92
|
+
export { x as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -140,16 +140,16 @@ default?: (props: {}) => any;
|
|
|
140
140
|
}) | null;
|
|
141
141
|
}, any>;
|
|
142
142
|
|
|
143
|
-
declare const __VLS_component_4: DefineComponent<
|
|
143
|
+
declare const __VLS_component_4: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
144
144
|
"update:open": (value: boolean) => any;
|
|
145
|
-
}, string, PublicProps, Readonly<
|
|
145
|
+
}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
|
|
146
146
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
147
147
|
}>, {
|
|
148
148
|
size: DialogSize;
|
|
149
149
|
closable: boolean;
|
|
150
150
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
151
151
|
|
|
152
|
-
declare const __VLS_component_5: DefineComponent<
|
|
152
|
+
declare const __VLS_component_5: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {
|
|
153
153
|
onlyWhenTruncated: boolean;
|
|
154
154
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
155
155
|
trigger: ({
|
|
@@ -268,14 +268,14 @@ default?: (props: {}) => any;
|
|
|
268
268
|
}) | null;
|
|
269
269
|
}, any>;
|
|
270
270
|
|
|
271
|
-
declare const __VLS_component_6: DefineComponent<
|
|
271
|
+
declare const __VLS_component_6: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
272
272
|
select: (node: ExplorerNode) => any;
|
|
273
273
|
contextmenu: (payload: {
|
|
274
274
|
node: ExplorerNode;
|
|
275
275
|
event: MouseEvent;
|
|
276
276
|
}) => any;
|
|
277
277
|
"update:expanded": (state: ExplorerExpandedState) => any;
|
|
278
|
-
}, string, PublicProps, Readonly<
|
|
278
|
+
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
279
279
|
onSelect?: ((node: ExplorerNode) => any) | undefined;
|
|
280
280
|
onContextmenu?: ((payload: {
|
|
281
281
|
node: ExplorerNode;
|
|
@@ -287,7 +287,7 @@ ariaLabel: string;
|
|
|
287
287
|
expanded: ExplorerExpandedState;
|
|
288
288
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
289
289
|
|
|
290
|
-
declare const __VLS_component_7: DefineComponent<
|
|
290
|
+
declare const __VLS_component_7: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
291
291
|
select: (payload: {
|
|
292
292
|
sourceId: string;
|
|
293
293
|
path: string;
|
|
@@ -296,7 +296,7 @@ path: string;
|
|
|
296
296
|
sourceId: string;
|
|
297
297
|
path: string;
|
|
298
298
|
}) => any;
|
|
299
|
-
}, string, PublicProps, Readonly<
|
|
299
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
300
300
|
onSelect?: ((payload: {
|
|
301
301
|
sourceId: string;
|
|
302
302
|
path: string;
|
|
@@ -307,19 +307,19 @@ path: string;
|
|
|
307
307
|
}) => any) | undefined;
|
|
308
308
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
309
309
|
|
|
310
|
-
declare const __VLS_component_8: DefineComponent<
|
|
310
|
+
declare const __VLS_component_8: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {
|
|
311
311
|
direction: "horizontal" | "vertical";
|
|
312
312
|
defaultSize: number;
|
|
313
313
|
maxSize: number;
|
|
314
314
|
minSize: number;
|
|
315
315
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
316
316
|
|
|
317
|
-
declare const __VLS_component_9: DefineComponent<
|
|
317
|
+
declare const __VLS_component_9: DefineComponent<__VLS_Props_26, {
|
|
318
318
|
focus: () => void | undefined;
|
|
319
319
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
320
320
|
toggle: (groupId: string) => any;
|
|
321
321
|
keydown: (event: KeyboardEvent) => any;
|
|
322
|
-
}, string, PublicProps, Readonly<
|
|
322
|
+
}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
|
|
323
323
|
onToggle?: ((groupId: string) => any) | undefined;
|
|
324
324
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
325
325
|
}>, {
|
|
@@ -344,6 +344,13 @@ declare type __VLS_Props = {
|
|
|
344
344
|
};
|
|
345
345
|
|
|
346
346
|
declare type __VLS_Props_10 = {
|
|
347
|
+
/** The SCL element whose kind is shown: its icon on the colour of its family. */
|
|
348
|
+
tagName: string;
|
|
349
|
+
/** `sm` beside small text (lists, rows), `md` beside a name in a tree. */
|
|
350
|
+
size?: 'sm' | 'md';
|
|
351
|
+
};
|
|
352
|
+
|
|
353
|
+
declare type __VLS_Props_11 = {
|
|
347
354
|
items: ExplorerNode[];
|
|
348
355
|
expanded?: ExplorerExpandedState;
|
|
349
356
|
ariaLabel?: string;
|
|
@@ -353,7 +360,7 @@ declare type __VLS_Props_10 = {
|
|
|
353
360
|
rowLabel?: (node: ExplorerNode) => string | undefined;
|
|
354
361
|
};
|
|
355
362
|
|
|
356
|
-
declare type
|
|
363
|
+
declare type __VLS_Props_12 = {
|
|
357
364
|
sources: LibraryBrowserSource[];
|
|
358
365
|
extensions: string[];
|
|
359
366
|
/** localStorage key for persisting expand state; omit to disable persistence. */
|
|
@@ -367,7 +374,7 @@ declare type __VLS_Props_11 = {
|
|
|
367
374
|
};
|
|
368
375
|
};
|
|
369
376
|
|
|
370
|
-
declare type
|
|
377
|
+
declare type __VLS_Props_13 = {
|
|
371
378
|
/** Code to render. */
|
|
372
379
|
code?: string;
|
|
373
380
|
/** Shiki language id. Defaults to `xml`. */
|
|
@@ -379,7 +386,7 @@ declare type __VLS_Props_12 = {
|
|
|
379
386
|
wrap?: boolean;
|
|
380
387
|
};
|
|
381
388
|
|
|
382
|
-
declare type
|
|
389
|
+
declare type __VLS_Props_14 = {
|
|
383
390
|
/** Baseline XML. Omit (or empty) for a purely-added element. */
|
|
384
391
|
before?: string;
|
|
385
392
|
/** Resulting XML. */
|
|
@@ -387,11 +394,11 @@ declare type __VLS_Props_13 = {
|
|
|
387
394
|
loading?: boolean;
|
|
388
395
|
};
|
|
389
396
|
|
|
390
|
-
declare type
|
|
397
|
+
declare type __VLS_Props_15 = {
|
|
391
398
|
category: NoteCategory;
|
|
392
399
|
};
|
|
393
400
|
|
|
394
|
-
declare type
|
|
401
|
+
declare type __VLS_Props_16 = {
|
|
395
402
|
size?: 'xs' | 'sm' | 'md';
|
|
396
403
|
disabled?: boolean;
|
|
397
404
|
/** What the decision is about, to name it for assistive technology. */
|
|
@@ -400,7 +407,7 @@ declare type __VLS_Props_15 = {
|
|
|
400
407
|
change?: ChangeStatus;
|
|
401
408
|
};
|
|
402
409
|
|
|
403
|
-
declare type
|
|
410
|
+
declare type __VLS_Props_17 = {
|
|
404
411
|
detail: ElementDetailVM | undefined;
|
|
405
412
|
/** Consumer-supplied fixed prefix/suffix per attribute; the user edits only the core. */
|
|
406
413
|
affixMask?: AffixMaskResolver;
|
|
@@ -408,32 +415,18 @@ declare type __VLS_Props_16 = {
|
|
|
408
415
|
disabled?: boolean;
|
|
409
416
|
};
|
|
410
417
|
|
|
411
|
-
declare type
|
|
418
|
+
declare type __VLS_Props_18 = {
|
|
412
419
|
view: MapView;
|
|
413
420
|
/** Said above the rows when the template lands below where the user started. */
|
|
414
421
|
notice?: string;
|
|
415
422
|
};
|
|
416
423
|
|
|
417
|
-
declare type
|
|
424
|
+
declare type __VLS_Props_19 = MergeSessionParams & {
|
|
418
425
|
source?: FileMeta;
|
|
419
426
|
target?: FileMeta;
|
|
420
427
|
affixMask?: AffixMaskResolver;
|
|
421
428
|
};
|
|
422
429
|
|
|
423
|
-
declare type __VLS_Props_19 = {
|
|
424
|
-
items: ExplorerNode[];
|
|
425
|
-
/** Per-node metadata keyed by node id (change, role, groupId, path). */
|
|
426
|
-
meta: Record<string, MergeNodeMeta>;
|
|
427
|
-
/** Current decision per group id. */
|
|
428
|
-
decisions: Record<string, DecisionAction>;
|
|
429
|
-
/** Node ids to expand by default (the path to every change). */
|
|
430
|
-
expandedItems?: string[];
|
|
431
|
-
/** The node the dialog shows: the path to it opens, it is selected, spotlighted and scrolled to. */
|
|
432
|
-
selected?: string;
|
|
433
|
-
/** What Check files found, by node id: the elements marked, with the warning. */
|
|
434
|
-
flagged?: Record<string, string>;
|
|
435
|
-
};
|
|
436
|
-
|
|
437
430
|
declare type __VLS_Props_2 = {
|
|
438
431
|
/** Trigger color */
|
|
439
432
|
color?: 'neutral' | 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error';
|
|
@@ -453,25 +446,39 @@ declare type __VLS_Props_2 = {
|
|
|
453
446
|
};
|
|
454
447
|
|
|
455
448
|
declare type __VLS_Props_20 = {
|
|
449
|
+
items: ExplorerNode[];
|
|
450
|
+
/** Per-node metadata keyed by node id (change, role, groupId, path). */
|
|
451
|
+
meta: Record<string, MergeNodeMeta>;
|
|
452
|
+
/** Current decision per group id. */
|
|
453
|
+
decisions: Record<string, DecisionAction>;
|
|
454
|
+
/** Node ids to expand by default (the path to every change). */
|
|
455
|
+
expandedItems?: string[];
|
|
456
|
+
/** The node the dialog shows: the path to it opens, it is selected, spotlighted and scrolled to. */
|
|
457
|
+
selected?: string;
|
|
458
|
+
/** What Check files found, by node id: the elements marked, with the warning. */
|
|
459
|
+
flagged?: Record<string, string>;
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
declare type __VLS_Props_21 = {
|
|
456
463
|
size?: 'xs' | 'sm' | 'md';
|
|
457
464
|
disabled?: boolean;
|
|
458
465
|
/** Render the segmented control only, without the leading label. */
|
|
459
466
|
hideLabel?: boolean;
|
|
460
467
|
};
|
|
461
468
|
|
|
462
|
-
declare type
|
|
469
|
+
declare type __VLS_Props_22 = {
|
|
463
470
|
columnId: string;
|
|
464
471
|
title: string;
|
|
465
472
|
};
|
|
466
473
|
|
|
467
|
-
declare type
|
|
474
|
+
declare type __VLS_Props_23 = {
|
|
468
475
|
x: number;
|
|
469
476
|
y: number;
|
|
470
477
|
visible: boolean;
|
|
471
478
|
items: ContextMenuItem[];
|
|
472
479
|
};
|
|
473
480
|
|
|
474
|
-
declare type
|
|
481
|
+
declare type __VLS_Props_24 = {
|
|
475
482
|
/** Unique key: drives the splitter group's auto-save-id and both panel ids. */
|
|
476
483
|
persistenceKey: string;
|
|
477
484
|
showSidebar: boolean;
|
|
@@ -484,7 +491,7 @@ declare type __VLS_Props_23 = {
|
|
|
484
491
|
maxSize?: number;
|
|
485
492
|
};
|
|
486
493
|
|
|
487
|
-
declare type
|
|
494
|
+
declare type __VLS_Props_25 = {
|
|
488
495
|
nodeId: string;
|
|
489
496
|
tagName: string;
|
|
490
497
|
label: string;
|
|
@@ -501,7 +508,7 @@ declare type __VLS_Props_24 = {
|
|
|
501
508
|
treeMeta?: TreeItemMeta;
|
|
502
509
|
};
|
|
503
510
|
|
|
504
|
-
declare type
|
|
511
|
+
declare type __VLS_Props_26 = {
|
|
505
512
|
groupId: string;
|
|
506
513
|
tagName: string;
|
|
507
514
|
label: string;
|
|
@@ -561,6 +568,12 @@ declare type __VLS_Props_4 = {
|
|
|
561
568
|
};
|
|
562
569
|
|
|
563
570
|
declare type __VLS_Props_5 = {
|
|
571
|
+
suggestions?: string[];
|
|
572
|
+
placeholder?: string;
|
|
573
|
+
suggestionsMaxHeight?: string;
|
|
574
|
+
};
|
|
575
|
+
|
|
576
|
+
declare type __VLS_Props_6 = {
|
|
564
577
|
/** Controlled open state (v-model:open). */
|
|
565
578
|
open: boolean;
|
|
566
579
|
title?: string;
|
|
@@ -576,11 +589,11 @@ declare type __VLS_Props_5 = {
|
|
|
576
589
|
scoped?: boolean;
|
|
577
590
|
};
|
|
578
591
|
|
|
579
|
-
declare type
|
|
592
|
+
declare type __VLS_Props_7 = {
|
|
580
593
|
host?: DialogController;
|
|
581
594
|
};
|
|
582
595
|
|
|
583
|
-
declare type
|
|
596
|
+
declare type __VLS_Props_8 = {
|
|
584
597
|
variant: FeedbackVariant;
|
|
585
598
|
message: string;
|
|
586
599
|
detail?: string;
|
|
@@ -592,19 +605,12 @@ declare type __VLS_Props_7 = {
|
|
|
592
605
|
autoCloseMs?: number;
|
|
593
606
|
};
|
|
594
607
|
|
|
595
|
-
declare type
|
|
608
|
+
declare type __VLS_Props_9 = {
|
|
596
609
|
content: string;
|
|
597
610
|
onlyWhenTruncated?: boolean;
|
|
598
611
|
truncationSelector?: string;
|
|
599
612
|
};
|
|
600
613
|
|
|
601
|
-
declare type __VLS_Props_9 = {
|
|
602
|
-
/** The SCL element whose kind is shown: its icon on the colour of its family. */
|
|
603
|
-
tagName: string;
|
|
604
|
-
/** `sm` beside small text (lists, rows), `md` beside a name in a tree. */
|
|
605
|
-
size?: 'sm' | 'md';
|
|
606
|
-
};
|
|
607
|
-
|
|
608
614
|
declare type __VLS_PublicProps = {
|
|
609
615
|
modelValue?: AcceptableValue;
|
|
610
616
|
} & __VLS_Props_3;
|
|
@@ -615,16 +621,20 @@ declare type __VLS_PublicProps_2 = {
|
|
|
615
621
|
} & __VLS_Props_4;
|
|
616
622
|
|
|
617
623
|
declare type __VLS_PublicProps_3 = {
|
|
624
|
+
modelValue?: string;
|
|
625
|
+
} & __VLS_Props_5;
|
|
626
|
+
|
|
627
|
+
declare type __VLS_PublicProps_4 = {
|
|
618
628
|
modelValue: NoteCategory[];
|
|
619
629
|
};
|
|
620
630
|
|
|
621
|
-
declare type
|
|
631
|
+
declare type __VLS_PublicProps_5 = {
|
|
622
632
|
modelValue: DecisionAction;
|
|
623
|
-
} &
|
|
633
|
+
} & __VLS_Props_16;
|
|
624
634
|
|
|
625
|
-
declare type
|
|
635
|
+
declare type __VLS_PublicProps_6 = {
|
|
626
636
|
modelValue: KeepNameTypesFrom;
|
|
627
|
-
} &
|
|
637
|
+
} & __VLS_Props_21;
|
|
628
638
|
|
|
629
639
|
declare function __VLS_template(): {
|
|
630
640
|
attrs: Partial<{}>;
|
|
@@ -1101,7 +1111,7 @@ export declare type ChangeStatus = 'added' | 'removed' | 'modified' | 'unchanged
|
|
|
1101
1111
|
|
|
1102
1112
|
declare function closeDropdown(): void;
|
|
1103
1113
|
|
|
1104
|
-
export declare const CodeBlock: DefineComponent<
|
|
1114
|
+
export declare const CodeBlock: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1105
1115
|
|
|
1106
1116
|
/**
|
|
1107
1117
|
* Collects the ids of every node that has children, for binding to
|
|
@@ -1170,9 +1180,9 @@ export declare type Connection = {
|
|
|
1170
1180
|
target: string;
|
|
1171
1181
|
};
|
|
1172
1182
|
|
|
1173
|
-
export declare const ContextMenu: DefineComponent<
|
|
1183
|
+
export declare const ContextMenu: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1174
1184
|
close: () => any;
|
|
1175
|
-
}, string, PublicProps, Readonly<
|
|
1185
|
+
}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{
|
|
1176
1186
|
onClose?: (() => any) | undefined;
|
|
1177
1187
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1178
1188
|
|
|
@@ -1230,9 +1240,9 @@ export declare function createElkLayoutEngine(defaults?: LayoutOptions): LayoutE
|
|
|
1230
1240
|
/** A user's binary choice on a decision group. */
|
|
1231
1241
|
export declare type DecisionAction = 'accept' | 'skip';
|
|
1232
1242
|
|
|
1233
|
-
export declare const DecisionToggle: DefineComponent<
|
|
1243
|
+
export declare const DecisionToggle: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1234
1244
|
"update:modelValue": (value: DecisionAction) => any;
|
|
1235
|
-
}, string, PublicProps, Readonly<
|
|
1245
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
|
|
1236
1246
|
"onUpdate:modelValue"?: ((value: DecisionAction) => any) | undefined;
|
|
1237
1247
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1238
1248
|
|
|
@@ -1276,14 +1286,14 @@ export declare type DiagramLayoutOptions<TRecord extends LayoutTreeRecord, TNode
|
|
|
1276
1286
|
toEdge: (context: EdgeMapperContext) => TEdge;
|
|
1277
1287
|
};
|
|
1278
1288
|
|
|
1279
|
-
export declare const DiagramNodeCard: DefineComponent<
|
|
1289
|
+
export declare const DiagramNodeCard: DefineComponent<__VLS_Props_25, {
|
|
1280
1290
|
focus: () => void | undefined;
|
|
1281
1291
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1282
1292
|
select: (nodeId: string) => any;
|
|
1283
1293
|
keydown: (event: KeyboardEvent) => any;
|
|
1284
1294
|
"toggle-expand": (nodeId: string) => any;
|
|
1285
1295
|
"show-details": (nodeId: string) => any;
|
|
1286
|
-
}, string, PublicProps, Readonly<
|
|
1296
|
+
}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
|
|
1287
1297
|
onSelect?: ((nodeId: string) => any) | undefined;
|
|
1288
1298
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1289
1299
|
"onToggle-expand"?: ((nodeId: string) => any) | undefined;
|
|
@@ -1335,7 +1345,7 @@ export declare type DialogController = {
|
|
|
1335
1345
|
close: () => void;
|
|
1336
1346
|
};
|
|
1337
1347
|
|
|
1338
|
-
export declare const DialogHost: DefineComponent<
|
|
1348
|
+
export declare const DialogHost: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1339
1349
|
|
|
1340
1350
|
/** Injection key for the ambient dialog host. */
|
|
1341
1351
|
export declare const dialogHostKey: InjectionKey<DialogController>;
|
|
@@ -1396,16 +1406,16 @@ export declare const ELEMENT_TO_COLOR: Record<string, ElementColor>;
|
|
|
1396
1406
|
|
|
1397
1407
|
export declare const ELEMENT_TO_ICON: Record<string, Component>;
|
|
1398
1408
|
|
|
1399
|
-
export declare const ElementBadge: DefineComponent<
|
|
1409
|
+
export declare const ElementBadge: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1400
1410
|
|
|
1401
1411
|
export declare interface ElementColor {
|
|
1402
1412
|
text: string;
|
|
1403
1413
|
background: string;
|
|
1404
1414
|
}
|
|
1405
1415
|
|
|
1406
|
-
export declare const ElementDetail: DefineComponent<
|
|
1416
|
+
export declare const ElementDetail: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1407
1417
|
edit: (attr: string, value: string) => any;
|
|
1408
|
-
}, string, PublicProps, Readonly<
|
|
1418
|
+
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
1409
1419
|
onEdit?: ((attr: string, value: string) => any) | undefined;
|
|
1410
1420
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1411
1421
|
|
|
@@ -1438,10 +1448,10 @@ export declare type ExplorerNode = {
|
|
|
1438
1448
|
/** Map of named extension modules. */
|
|
1439
1449
|
export declare type ExtensionsConfig = Record<string, ExtensionModule>;
|
|
1440
1450
|
|
|
1441
|
-
export declare const FeedbackDialog: DefineComponent<
|
|
1451
|
+
export declare const FeedbackDialog: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1442
1452
|
dismiss: () => any;
|
|
1443
1453
|
retry: () => any;
|
|
1444
|
-
}, string, PublicProps, Readonly<
|
|
1454
|
+
}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
1445
1455
|
onDismiss?: (() => any) | undefined;
|
|
1446
1456
|
onRetry?: (() => any) | undefined;
|
|
1447
1457
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -1480,7 +1490,7 @@ export declare type FileMeta = {
|
|
|
1480
1490
|
revision: string;
|
|
1481
1491
|
};
|
|
1482
1492
|
|
|
1483
|
-
export declare const FilterableColumnHeader: DefineComponent<
|
|
1493
|
+
export declare const FilterableColumnHeader: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1484
1494
|
funnelRef: HTMLButtonElement;
|
|
1485
1495
|
popoverWrapperRef: HTMLDivElement;
|
|
1486
1496
|
}, HTMLDivElement>;
|
|
@@ -1813,9 +1823,9 @@ export declare type MapView = {
|
|
|
1813
1823
|
*/
|
|
1814
1824
|
export declare function memberCardHeight(hasChildCounts: boolean): number;
|
|
1815
1825
|
|
|
1816
|
-
export declare const MergeMap: DefineComponent<
|
|
1826
|
+
export declare const MergeMap: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1817
1827
|
map: (sourceId: string, mapping: DecisionMapping | undefined) => any;
|
|
1818
|
-
}, string, PublicProps, Readonly<
|
|
1828
|
+
}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
|
|
1819
1829
|
onMap?: ((sourceId: string, mapping: DecisionMapping | undefined) => any) | undefined;
|
|
1820
1830
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1821
1831
|
|
|
@@ -1863,7 +1873,7 @@ declare type MergeOutcome = {
|
|
|
1863
1873
|
landed: ReadonlySet<string>;
|
|
1864
1874
|
};
|
|
1865
1875
|
|
|
1866
|
-
export declare const MergeReview: DefineComponent<
|
|
1876
|
+
export declare const MergeReview: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1867
1877
|
close: () => any;
|
|
1868
1878
|
show: (ref: {
|
|
1869
1879
|
readonly tagName: "P";
|
|
@@ -2497,7 +2507,7 @@ readonly tagName: "SclFileReference";
|
|
|
2497
2507
|
readonly id: string;
|
|
2498
2508
|
}) => any;
|
|
2499
2509
|
applied: () => any;
|
|
2500
|
-
}, string, PublicProps, Readonly<
|
|
2510
|
+
}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
|
|
2501
2511
|
onClose?: (() => any) | undefined;
|
|
2502
2512
|
onShow?: ((ref: {
|
|
2503
2513
|
readonly tagName: "P";
|
|
@@ -3306,10 +3316,10 @@ declare type MergeSummaryShow = {
|
|
|
3306
3316
|
nodeId: string;
|
|
3307
3317
|
};
|
|
3308
3318
|
|
|
3309
|
-
export declare const MergeTree: DefineComponent<
|
|
3319
|
+
export declare const MergeTree: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3310
3320
|
select: (node: ExplorerNode) => any;
|
|
3311
3321
|
"update:decision": (groupId: string, action: DecisionAction) => any;
|
|
3312
|
-
}, string, PublicProps, Readonly<
|
|
3322
|
+
}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
|
|
3313
3323
|
onSelect?: ((node: ExplorerNode) => any) | undefined;
|
|
3314
3324
|
"onUpdate:decision"?: ((groupId: string, action: DecisionAction) => any) | undefined;
|
|
3315
3325
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -3470,13 +3480,13 @@ export declare const NOTE_STATUSES: readonly ["open", "resolved", "removed"];
|
|
|
3470
3480
|
|
|
3471
3481
|
export declare type NoteCategory = (typeof NOTE_CATEGORIES)[number];
|
|
3472
3482
|
|
|
3473
|
-
export declare const NoteCategoryPicker: DefineComponent<
|
|
3483
|
+
export declare const NoteCategoryPicker: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3474
3484
|
"update:modelValue": (value: ("feedback" | "instantiation" | "interlock")[]) => any;
|
|
3475
|
-
}, string, PublicProps, Readonly<
|
|
3485
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
3476
3486
|
"onUpdate:modelValue"?: ((value: ("feedback" | "instantiation" | "interlock")[]) => any) | undefined;
|
|
3477
3487
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFieldSetElement>;
|
|
3478
3488
|
|
|
3479
|
-
export declare const NoteCategoryTag: DefineComponent<
|
|
3489
|
+
export declare const NoteCategoryTag: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
3480
3490
|
|
|
3481
3491
|
/** @ref=elia:note-json-format - stored contract in doc/note-format.md */
|
|
3482
3492
|
export declare interface NoteData {
|
|
@@ -3580,6 +3590,18 @@ declare type StructuralTree = {
|
|
|
3580
3590
|
expanded: string[];
|
|
3581
3591
|
};
|
|
3582
3592
|
|
|
3593
|
+
export declare const TextInputAutocomplete: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3594
|
+
"update:modelValue": (value: string) => any;
|
|
3595
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
|
|
3596
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
3597
|
+
}>, {
|
|
3598
|
+
placeholder: string;
|
|
3599
|
+
suggestions: string[];
|
|
3600
|
+
suggestionsMaxHeight: string;
|
|
3601
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
3602
|
+
listbox: HTMLUListElement;
|
|
3603
|
+
}, HTMLDivElement>;
|
|
3604
|
+
|
|
3583
3605
|
/** ARIA tree position, supplied by the consumer's navigation model. */
|
|
3584
3606
|
export declare type TreeItemMeta = {
|
|
3585
3607
|
level?: number;
|
|
@@ -3587,9 +3609,9 @@ export declare type TreeItemMeta = {
|
|
|
3587
3609
|
posinset?: number;
|
|
3588
3610
|
};
|
|
3589
3611
|
|
|
3590
|
-
export declare const TypeNameAuthority: DefineComponent<
|
|
3612
|
+
export declare const TypeNameAuthority: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3591
3613
|
"update:modelValue": (value: KeepNameTypesFrom) => any;
|
|
3592
|
-
}, string, PublicProps, Readonly<
|
|
3614
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
|
|
3593
3615
|
"onUpdate:modelValue"?: ((value: KeepNameTypesFrom) => any) | undefined;
|
|
3594
3616
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3595
3617
|
|
|
@@ -3839,6 +3861,6 @@ export declare type WrittenTarget = {
|
|
|
3839
3861
|
parentPath?: string;
|
|
3840
3862
|
};
|
|
3841
3863
|
|
|
3842
|
-
export declare const XmlDiff: DefineComponent<
|
|
3864
|
+
export declare const XmlDiff: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3843
3865
|
|
|
3844
3866
|
export { }
|