@septkit/ui 0.0.86 → 0.0.87
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/explorer/explorer-search.js +43 -0
- package/dist/explorer/explorer.js +3 -3
- package/dist/explorer/explorer.vue_vue_type_script_setup_true_lang.js +142 -85
- package/dist/explorer/index.js +2 -3
- package/dist/external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/chevrons-down-up.js +11 -0
- package/dist/external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/chevrons-up-down.js +11 -0
- package/dist/external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/search.js +13 -0
- package/dist/index.d.ts +153 -69
- package/dist/index.js +35 -33
- package/dist/library-browser/library-browser.js +1 -1
- package/dist/library-browser/library-browser.vue_vue_type_script_setup_true_lang.js +79 -55
- package/dist/{explorer → tree}/collect-expandable-node-ids.js +1 -1
- package/dist/tree/index.js +3 -0
- package/dist/tree/tree.js +7 -0
- package/dist/tree/tree.vue_vue_type_script_setup_true_lang.js +105 -0
- package/dist/ui.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -37,9 +37,16 @@ import { WatchStopHandle } from 'vue';
|
|
|
37
37
|
|
|
38
38
|
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
39
39
|
|
|
40
|
-
declare const __VLS_component_10: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {
|
|
40
|
+
declare const __VLS_component_10: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {
|
|
41
|
+
direction: "horizontal" | "vertical";
|
|
42
|
+
defaultSize: number;
|
|
43
|
+
minSize: number;
|
|
44
|
+
maxSize: number;
|
|
45
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
41
46
|
|
|
42
|
-
declare const __VLS_component_11: DefineComponent<
|
|
47
|
+
declare const __VLS_component_11: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
48
|
+
|
|
49
|
+
declare const __VLS_component_12: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
43
50
|
"update:open": (value: boolean) => any;
|
|
44
51
|
}, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
|
|
45
52
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
@@ -47,12 +54,12 @@ declare const __VLS_component_11: DefineComponent<__VLS_PublicProps_6, {}, {}, {
|
|
|
47
54
|
hoverDelay: number;
|
|
48
55
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
49
56
|
|
|
50
|
-
declare const
|
|
57
|
+
declare const __VLS_component_13: DefineComponent<__VLS_Props_26, {
|
|
51
58
|
focus: () => void | undefined;
|
|
52
59
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
53
60
|
toggle: (groupId: string) => any;
|
|
54
61
|
keydown: (event: KeyboardEvent) => any;
|
|
55
|
-
}, string, PublicProps, Readonly<
|
|
62
|
+
}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
|
|
56
63
|
onToggle?: ((groupId: string) => any) | undefined;
|
|
57
64
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
58
65
|
}>, {
|
|
@@ -289,6 +296,7 @@ contextmenu: (payload: {
|
|
|
289
296
|
node: ExplorerNode;
|
|
290
297
|
event: MouseEvent;
|
|
291
298
|
}) => any;
|
|
299
|
+
"row-click": (node: ExplorerNode) => any;
|
|
292
300
|
"update:expanded": (state: ExplorerExpandedState) => any;
|
|
293
301
|
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
294
302
|
onSelect?: ((node: ExplorerNode) => any) | undefined;
|
|
@@ -296,6 +304,7 @@ onContextmenu?: ((payload: {
|
|
|
296
304
|
node: ExplorerNode;
|
|
297
305
|
event: MouseEvent;
|
|
298
306
|
}) => any) | undefined;
|
|
307
|
+
"onRow-click"?: ((node: ExplorerNode) => any) | undefined;
|
|
299
308
|
"onUpdate:expanded"?: ((state: ExplorerExpandedState) => any) | undefined;
|
|
300
309
|
}>, {
|
|
301
310
|
ariaLabel: string;
|
|
@@ -303,6 +312,25 @@ expanded: ExplorerExpandedState;
|
|
|
303
312
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
304
313
|
|
|
305
314
|
declare const __VLS_component_7: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
315
|
+
select: (node: ExplorerNode) => any;
|
|
316
|
+
contextmenu: (payload: {
|
|
317
|
+
node: ExplorerNode;
|
|
318
|
+
event: MouseEvent;
|
|
319
|
+
}) => any;
|
|
320
|
+
"update:expanded": (state: ExplorerExpandedState) => any;
|
|
321
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
322
|
+
onSelect?: ((node: ExplorerNode) => any) | undefined;
|
|
323
|
+
onContextmenu?: ((payload: {
|
|
324
|
+
node: ExplorerNode;
|
|
325
|
+
event: MouseEvent;
|
|
326
|
+
}) => any) | undefined;
|
|
327
|
+
"onUpdate:expanded"?: ((state: ExplorerExpandedState) => any) | undefined;
|
|
328
|
+
}>, {
|
|
329
|
+
ariaLabel: string;
|
|
330
|
+
expanded: ExplorerExpandedState;
|
|
331
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
332
|
+
|
|
333
|
+
declare const __VLS_component_8: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
306
334
|
select: (payload: {
|
|
307
335
|
sourceId: string;
|
|
308
336
|
path: string;
|
|
@@ -311,7 +339,7 @@ path: string;
|
|
|
311
339
|
sourceId: string;
|
|
312
340
|
path: string;
|
|
313
341
|
}) => any;
|
|
314
|
-
}, string, PublicProps, Readonly<
|
|
342
|
+
}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
|
|
315
343
|
onSelect?: ((payload: {
|
|
316
344
|
sourceId: string;
|
|
317
345
|
path: string;
|
|
@@ -322,7 +350,7 @@ path: string;
|
|
|
322
350
|
}) => any) | undefined;
|
|
323
351
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
324
352
|
|
|
325
|
-
declare const
|
|
353
|
+
declare const __VLS_component_9: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
326
354
|
"update:modelValue": (value: string) => any;
|
|
327
355
|
"update:invalid": (value: boolean) => any;
|
|
328
356
|
}, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
|
|
@@ -337,13 +365,6 @@ searchable: boolean;
|
|
|
337
365
|
allowXpath: boolean;
|
|
338
366
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
339
367
|
|
|
340
|
-
declare const __VLS_component_9: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {
|
|
341
|
-
direction: "horizontal" | "vertical";
|
|
342
|
-
defaultSize: number;
|
|
343
|
-
minSize: number;
|
|
344
|
-
maxSize: number;
|
|
345
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
346
|
-
|
|
347
368
|
declare type __VLS_Props = {
|
|
348
369
|
color?: 'neutral' | 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error';
|
|
349
370
|
variant?: 'outline' | 'dash' | 'soft' | 'ghost' | 'link';
|
|
@@ -371,6 +392,16 @@ declare type __VLS_Props_11 = {
|
|
|
371
392
|
};
|
|
372
393
|
|
|
373
394
|
declare type __VLS_Props_12 = {
|
|
395
|
+
items: ExplorerNode[];
|
|
396
|
+
expanded?: ExplorerExpandedState;
|
|
397
|
+
ariaLabel?: string;
|
|
398
|
+
/** The id of the selected row, when the consumer chooses it; the user's click still emits `select`. */
|
|
399
|
+
selected?: string;
|
|
400
|
+
/** What a row is called for assistive technology, when the text drawn in it says less or more. */
|
|
401
|
+
rowLabel?: (node: ExplorerNode) => string | undefined;
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
declare type __VLS_Props_13 = {
|
|
374
405
|
sources: LibraryBrowserSource[];
|
|
375
406
|
extensions: string[];
|
|
376
407
|
/** localStorage key for persisting expand state; omit to disable persistence. */
|
|
@@ -384,7 +415,7 @@ declare type __VLS_Props_12 = {
|
|
|
384
415
|
};
|
|
385
416
|
};
|
|
386
417
|
|
|
387
|
-
declare type
|
|
418
|
+
declare type __VLS_Props_14 = {
|
|
388
419
|
/** Code to render. */
|
|
389
420
|
code?: string;
|
|
390
421
|
/** Shiki language id. Defaults to `xml`. */
|
|
@@ -396,7 +427,7 @@ declare type __VLS_Props_13 = {
|
|
|
396
427
|
wrap?: boolean;
|
|
397
428
|
};
|
|
398
429
|
|
|
399
|
-
declare type
|
|
430
|
+
declare type __VLS_Props_15 = {
|
|
400
431
|
/** Baseline XML. Omit (or empty) for a purely-added element. */
|
|
401
432
|
before?: string;
|
|
402
433
|
/** Resulting XML. */
|
|
@@ -404,23 +435,23 @@ declare type __VLS_Props_14 = {
|
|
|
404
435
|
loading?: boolean;
|
|
405
436
|
};
|
|
406
437
|
|
|
407
|
-
declare type
|
|
438
|
+
declare type __VLS_Props_16 = {
|
|
408
439
|
category: NoteCategory;
|
|
409
440
|
};
|
|
410
441
|
|
|
411
|
-
declare type
|
|
442
|
+
declare type __VLS_Props_17 = {
|
|
412
443
|
columnId: string;
|
|
413
444
|
title: string;
|
|
414
445
|
};
|
|
415
446
|
|
|
416
|
-
declare type
|
|
447
|
+
declare type __VLS_Props_18 = {
|
|
417
448
|
x: number;
|
|
418
449
|
y: number;
|
|
419
450
|
visible: boolean;
|
|
420
451
|
items: ContextMenuItem[];
|
|
421
452
|
};
|
|
422
453
|
|
|
423
|
-
declare type
|
|
454
|
+
declare type __VLS_Props_19 = {
|
|
424
455
|
anchors: AnchorOption[];
|
|
425
456
|
anywhereLabel?: string;
|
|
426
457
|
targets?: string[];
|
|
@@ -430,19 +461,6 @@ declare type __VLS_Props_18 = {
|
|
|
430
461
|
allowXpath?: boolean;
|
|
431
462
|
};
|
|
432
463
|
|
|
433
|
-
declare type __VLS_Props_19 = {
|
|
434
|
-
/** Unique key: drives the splitter group's auto-save-id and both panel ids. */
|
|
435
|
-
persistenceKey: string;
|
|
436
|
-
showSidebar: boolean;
|
|
437
|
-
direction?: 'horizontal' | 'vertical';
|
|
438
|
-
/** Default size of the sidebar panel, in percent. */
|
|
439
|
-
defaultSize?: number;
|
|
440
|
-
/** Minimum size of the sidebar panel, in percent. */
|
|
441
|
-
minSize?: number;
|
|
442
|
-
/** Maximum size of the sidebar panel, in percent. */
|
|
443
|
-
maxSize?: number;
|
|
444
|
-
};
|
|
445
|
-
|
|
446
464
|
declare type __VLS_Props_2 = {
|
|
447
465
|
/** Trigger color */
|
|
448
466
|
color?: 'neutral' | 'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'error';
|
|
@@ -462,25 +480,38 @@ declare type __VLS_Props_2 = {
|
|
|
462
480
|
};
|
|
463
481
|
|
|
464
482
|
declare type __VLS_Props_20 = {
|
|
465
|
-
|
|
483
|
+
/** Unique key: drives the splitter group's auto-save-id and both panel ids. */
|
|
484
|
+
persistenceKey: string;
|
|
485
|
+
showSidebar: boolean;
|
|
486
|
+
direction?: 'horizontal' | 'vertical';
|
|
487
|
+
/** Default size of the sidebar panel, in percent. */
|
|
488
|
+
defaultSize?: number;
|
|
489
|
+
/** Minimum size of the sidebar panel, in percent. */
|
|
490
|
+
minSize?: number;
|
|
491
|
+
/** Maximum size of the sidebar panel, in percent. */
|
|
492
|
+
maxSize?: number;
|
|
466
493
|
};
|
|
467
494
|
|
|
468
495
|
declare type __VLS_Props_21 = {
|
|
469
496
|
label: string;
|
|
470
|
-
hoverDelay?: number;
|
|
471
497
|
};
|
|
472
498
|
|
|
473
499
|
declare type __VLS_Props_22 = {
|
|
474
|
-
value?: number;
|
|
475
500
|
label: string;
|
|
501
|
+
hoverDelay?: number;
|
|
476
502
|
};
|
|
477
503
|
|
|
478
504
|
declare type __VLS_Props_23 = {
|
|
505
|
+
value?: number;
|
|
506
|
+
label: string;
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
declare type __VLS_Props_24 = {
|
|
479
510
|
label?: string;
|
|
480
511
|
size?: number;
|
|
481
512
|
};
|
|
482
513
|
|
|
483
|
-
declare type
|
|
514
|
+
declare type __VLS_Props_25 = {
|
|
484
515
|
nodeId: string;
|
|
485
516
|
tagName: string;
|
|
486
517
|
label: string;
|
|
@@ -497,7 +528,7 @@ declare type __VLS_Props_24 = {
|
|
|
497
528
|
treeMeta?: TreeItemMeta;
|
|
498
529
|
};
|
|
499
530
|
|
|
500
|
-
declare type
|
|
531
|
+
declare type __VLS_Props_26 = {
|
|
501
532
|
groupId: string;
|
|
502
533
|
tagName: string;
|
|
503
534
|
label: string;
|
|
@@ -621,11 +652,11 @@ declare type __VLS_PublicProps_4 = {
|
|
|
621
652
|
declare type __VLS_PublicProps_5 = {
|
|
622
653
|
modelValue?: string;
|
|
623
654
|
'invalid'?: boolean;
|
|
624
|
-
} &
|
|
655
|
+
} & __VLS_Props_19;
|
|
625
656
|
|
|
626
657
|
declare type __VLS_PublicProps_6 = {
|
|
627
658
|
'open'?: boolean;
|
|
628
|
-
} &
|
|
659
|
+
} & __VLS_Props_22;
|
|
629
660
|
|
|
630
661
|
declare function __VLS_template(): {
|
|
631
662
|
attrs: Partial<{}>;
|
|
@@ -637,6 +668,16 @@ declare function __VLS_template(): {
|
|
|
637
668
|
};
|
|
638
669
|
|
|
639
670
|
declare function __VLS_template_10(): {
|
|
671
|
+
attrs: Partial<{}>;
|
|
672
|
+
slots: {
|
|
673
|
+
main?(_: {}): any;
|
|
674
|
+
sidebar?(_: {}): any;
|
|
675
|
+
};
|
|
676
|
+
refs: {};
|
|
677
|
+
rootEl: any;
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
declare function __VLS_template_11(): {
|
|
640
681
|
attrs: Partial<{}>;
|
|
641
682
|
slots: {
|
|
642
683
|
default?(_: {}): any;
|
|
@@ -645,7 +686,7 @@ declare function __VLS_template_10(): {
|
|
|
645
686
|
rootEl: HTMLElement;
|
|
646
687
|
};
|
|
647
688
|
|
|
648
|
-
declare function
|
|
689
|
+
declare function __VLS_template_12(): {
|
|
649
690
|
attrs: Partial<{}>;
|
|
650
691
|
slots: Readonly<{
|
|
651
692
|
default(): unknown;
|
|
@@ -660,7 +701,7 @@ declare function __VLS_template_11(): {
|
|
|
660
701
|
rootEl: any;
|
|
661
702
|
};
|
|
662
703
|
|
|
663
|
-
declare function
|
|
704
|
+
declare function __VLS_template_13(): {
|
|
664
705
|
attrs: Partial<{}>;
|
|
665
706
|
slots: {
|
|
666
707
|
member?(_: {
|
|
@@ -899,6 +940,12 @@ declare function __VLS_template_6(): {
|
|
|
899
940
|
'node-suffix'(props: {
|
|
900
941
|
node: ExplorerNode;
|
|
901
942
|
}): unknown;
|
|
943
|
+
/** Draws the space in front of a row; the tree itself offers no expansion controls. */
|
|
944
|
+
'node-toggle'(props: {
|
|
945
|
+
node: ExplorerNode;
|
|
946
|
+
hasChildren: boolean;
|
|
947
|
+
expanded: boolean;
|
|
948
|
+
}): unknown;
|
|
902
949
|
}> & {
|
|
903
950
|
'node-prefix'(props: {
|
|
904
951
|
node: ExplorerNode;
|
|
@@ -909,12 +956,49 @@ declare function __VLS_template_6(): {
|
|
|
909
956
|
'node-suffix'(props: {
|
|
910
957
|
node: ExplorerNode;
|
|
911
958
|
}): unknown;
|
|
959
|
+
/** Draws the space in front of a row; the tree itself offers no expansion controls. */
|
|
960
|
+
'node-toggle'(props: {
|
|
961
|
+
node: ExplorerNode;
|
|
962
|
+
hasChildren: boolean;
|
|
963
|
+
expanded: boolean;
|
|
964
|
+
}): unknown;
|
|
912
965
|
};
|
|
913
966
|
refs: {};
|
|
914
967
|
rootEl: any;
|
|
915
968
|
};
|
|
916
969
|
|
|
917
970
|
declare function __VLS_template_7(): {
|
|
971
|
+
attrs: Partial<{}>;
|
|
972
|
+
slots: Readonly<{
|
|
973
|
+
'node-prefix'(props: {
|
|
974
|
+
node: ExplorerNode;
|
|
975
|
+
}): unknown;
|
|
976
|
+
/** Replaces the row label; `term` is the active search text, to be highlighted by the slot. */
|
|
977
|
+
'node-label'(props: {
|
|
978
|
+
node: ExplorerNode;
|
|
979
|
+
term: string;
|
|
980
|
+
}): unknown;
|
|
981
|
+
'node-suffix'(props: {
|
|
982
|
+
node: ExplorerNode;
|
|
983
|
+
}): unknown;
|
|
984
|
+
}> & {
|
|
985
|
+
'node-prefix'(props: {
|
|
986
|
+
node: ExplorerNode;
|
|
987
|
+
}): unknown;
|
|
988
|
+
/** Replaces the row label; `term` is the active search text, to be highlighted by the slot. */
|
|
989
|
+
'node-label'(props: {
|
|
990
|
+
node: ExplorerNode;
|
|
991
|
+
term: string;
|
|
992
|
+
}): unknown;
|
|
993
|
+
'node-suffix'(props: {
|
|
994
|
+
node: ExplorerNode;
|
|
995
|
+
}): unknown;
|
|
996
|
+
};
|
|
997
|
+
refs: {};
|
|
998
|
+
rootEl: HTMLDivElement;
|
|
999
|
+
};
|
|
1000
|
+
|
|
1001
|
+
declare function __VLS_template_8(): {
|
|
918
1002
|
attrs: Partial<{}>;
|
|
919
1003
|
slots: Readonly<{
|
|
920
1004
|
/** Decoration before the file name (e.g. a sync-state icon). */
|
|
@@ -953,7 +1037,7 @@ declare function __VLS_template_7(): {
|
|
|
953
1037
|
rootEl: HTMLDivElement;
|
|
954
1038
|
};
|
|
955
1039
|
|
|
956
|
-
declare function
|
|
1040
|
+
declare function __VLS_template_9(): {
|
|
957
1041
|
attrs: Partial<{}>;
|
|
958
1042
|
slots: {
|
|
959
1043
|
footer?(_: {}): any;
|
|
@@ -962,16 +1046,6 @@ declare function __VLS_template_8(): {
|
|
|
962
1046
|
rootEl: HTMLDivElement;
|
|
963
1047
|
};
|
|
964
1048
|
|
|
965
|
-
declare function __VLS_template_9(): {
|
|
966
|
-
attrs: Partial<{}>;
|
|
967
|
-
slots: {
|
|
968
|
-
main?(_: {}): any;
|
|
969
|
-
sidebar?(_: {}): any;
|
|
970
|
-
};
|
|
971
|
-
refs: {};
|
|
972
|
-
rootEl: any;
|
|
973
|
-
};
|
|
974
|
-
|
|
975
1049
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
976
1050
|
|
|
977
1051
|
declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
@@ -980,6 +1054,8 @@ declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
|
980
1054
|
|
|
981
1055
|
declare type __VLS_TemplateResult_12 = ReturnType<typeof __VLS_template_12>;
|
|
982
1056
|
|
|
1057
|
+
declare type __VLS_TemplateResult_13 = ReturnType<typeof __VLS_template_13>;
|
|
1058
|
+
|
|
983
1059
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
984
1060
|
|
|
985
1061
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -1020,6 +1096,12 @@ declare type __VLS_WithTemplateSlots_12<T, S> = T & {
|
|
|
1020
1096
|
};
|
|
1021
1097
|
};
|
|
1022
1098
|
|
|
1099
|
+
declare type __VLS_WithTemplateSlots_13<T, S> = T & {
|
|
1100
|
+
new (): {
|
|
1101
|
+
$slots: S;
|
|
1102
|
+
};
|
|
1103
|
+
};
|
|
1104
|
+
|
|
1023
1105
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
1024
1106
|
new (): {
|
|
1025
1107
|
$slots: S;
|
|
@@ -1146,7 +1228,7 @@ export declare const CATEGORY_ELEMENTS: Record<string, string[]>;
|
|
|
1146
1228
|
|
|
1147
1229
|
declare function closeDropdown(): void;
|
|
1148
1230
|
|
|
1149
|
-
export declare const CodeBlock: DefineComponent<
|
|
1231
|
+
export declare const CodeBlock: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1150
1232
|
|
|
1151
1233
|
/**
|
|
1152
1234
|
* Collects the ids of every node that has children, for binding to
|
|
@@ -1215,9 +1297,9 @@ export declare type Connection = {
|
|
|
1215
1297
|
target: string;
|
|
1216
1298
|
};
|
|
1217
1299
|
|
|
1218
|
-
export declare const ContextMenu: DefineComponent<
|
|
1300
|
+
export declare const ContextMenu: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1219
1301
|
close: () => any;
|
|
1220
|
-
}, string, PublicProps, Readonly<
|
|
1302
|
+
}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
|
|
1221
1303
|
onClose?: (() => any) | undefined;
|
|
1222
1304
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1223
1305
|
|
|
@@ -1289,14 +1371,14 @@ export declare type DiagramLayoutOptions<TRecord extends LayoutTreeRecord, TNode
|
|
|
1289
1371
|
toEdge: (context: EdgeMapperContext) => TEdge;
|
|
1290
1372
|
};
|
|
1291
1373
|
|
|
1292
|
-
export declare const DiagramNodeCard: DefineComponent<
|
|
1374
|
+
export declare const DiagramNodeCard: DefineComponent<__VLS_Props_25, {
|
|
1293
1375
|
focus: () => void | undefined;
|
|
1294
1376
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1295
1377
|
select: (nodeId: string) => any;
|
|
1296
1378
|
"toggle-expand": (nodeId: string) => any;
|
|
1297
1379
|
keydown: (event: KeyboardEvent) => any;
|
|
1298
1380
|
"show-details": (nodeId: string) => any;
|
|
1299
|
-
}, string, PublicProps, Readonly<
|
|
1381
|
+
}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
|
|
1300
1382
|
onSelect?: ((nodeId: string) => any) | undefined;
|
|
1301
1383
|
"onToggle-expand"?: ((nodeId: string) => any) | undefined;
|
|
1302
1384
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
@@ -1314,7 +1396,7 @@ treeMeta: TreeItemMeta;
|
|
|
1314
1396
|
rootEl: HTMLDivElement;
|
|
1315
1397
|
}, HTMLDivElement>;
|
|
1316
1398
|
|
|
1317
|
-
export declare const DiagramNodeGroup:
|
|
1399
|
+
export declare const DiagramNodeGroup: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
1318
1400
|
|
|
1319
1401
|
/**
|
|
1320
1402
|
* Message shapes posted on a dialecte project's BroadcastChannel — the public
|
|
@@ -1464,7 +1546,7 @@ export declare type FeedbackPayload = {
|
|
|
1464
1546
|
/** The built-in feedback flavours the host renders (error/success/warning templates). */
|
|
1465
1547
|
export declare type FeedbackVariant = 'error' | 'success' | 'warning';
|
|
1466
1548
|
|
|
1467
|
-
export declare const FilterableColumnHeader: DefineComponent<
|
|
1549
|
+
export declare const FilterableColumnHeader: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1468
1550
|
funnelRef: HTMLButtonElement;
|
|
1469
1551
|
popoverWrapperRef: HTMLDivElement;
|
|
1470
1552
|
}, HTMLDivElement>;
|
|
@@ -1686,7 +1768,7 @@ export declare type LayoutTreeRelation = {
|
|
|
1686
1768
|
tagName: string;
|
|
1687
1769
|
};
|
|
1688
1770
|
|
|
1689
|
-
export declare const LibraryBrowser:
|
|
1771
|
+
export declare const LibraryBrowser: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
1690
1772
|
|
|
1691
1773
|
export declare type LibraryBrowserEntry = {
|
|
1692
1774
|
path: string;
|
|
@@ -1834,7 +1916,7 @@ export declare const NoteCategoryPicker: DefineComponent<__VLS_PublicProps_4, {}
|
|
|
1834
1916
|
"onUpdate:modelValue"?: ((value: ("feedback" | "instantiation" | "interlock")[]) => any) | undefined;
|
|
1835
1917
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFieldSetElement>;
|
|
1836
1918
|
|
|
1837
|
-
export declare const NoteCategoryTag: DefineComponent<
|
|
1919
|
+
export declare const NoteCategoryTag: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
1838
1920
|
|
|
1839
1921
|
/** @ref=elia:note-json-format - stored contract in doc/note-format.md */
|
|
1840
1922
|
export declare interface NoteData {
|
|
@@ -1858,7 +1940,7 @@ export declare function parseNoteData(value: string | undefined): NoteData | und
|
|
|
1858
1940
|
|
|
1859
1941
|
export declare function parseXpath(xpath: string): XpathBuilderState | undefined;
|
|
1860
1942
|
|
|
1861
|
-
export declare const ProgressBar: DefineComponent<
|
|
1943
|
+
export declare const ProgressBar: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1862
1944
|
|
|
1863
1945
|
/** Presentation progress: a held monotonic fraction in `[0, 1]` and its caption. */
|
|
1864
1946
|
export declare type ProgressDisplay = {
|
|
@@ -1909,23 +1991,25 @@ export declare interface RowSortHeaderModel {
|
|
|
1909
1991
|
toggle(columnId: string): void;
|
|
1910
1992
|
}
|
|
1911
1993
|
|
|
1912
|
-
export declare const SclExplorer:
|
|
1994
|
+
export declare const SclExplorer: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
1995
|
+
|
|
1996
|
+
export declare const SclTree: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1913
1997
|
|
|
1914
|
-
export declare const SelectorInput:
|
|
1998
|
+
export declare const SelectorInput: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
1915
1999
|
|
|
1916
2000
|
export declare function serializeNoteData({ categories, otherTags, ...rest }: NoteData): string;
|
|
1917
2001
|
|
|
1918
2002
|
export declare type SortDirection = 'asc' | 'desc';
|
|
1919
2003
|
|
|
1920
|
-
export declare const Spinner: DefineComponent<
|
|
2004
|
+
export declare const Spinner: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {
|
|
1921
2005
|
size: number;
|
|
1922
2006
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
1923
2007
|
|
|
1924
|
-
export declare const SplitLayout:
|
|
2008
|
+
export declare const SplitLayout: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
1925
2009
|
|
|
1926
|
-
export declare const StatusBar:
|
|
2010
|
+
export declare const StatusBar: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
1927
2011
|
|
|
1928
|
-
export declare const StatusBarItem:
|
|
2012
|
+
export declare const StatusBarItem: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
1929
2013
|
|
|
1930
2014
|
export declare const TextInputAutocomplete: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1931
2015
|
"update:modelValue": (value: string) => any;
|
|
@@ -2151,7 +2235,7 @@ export declare type VisibilityOptions = {
|
|
|
2151
2235
|
defaultOpenDepth: number;
|
|
2152
2236
|
};
|
|
2153
2237
|
|
|
2154
|
-
export declare const XmlDiff: DefineComponent<
|
|
2238
|
+
export declare const XmlDiff: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2155
2239
|
|
|
2156
2240
|
export declare type XpathBuilderState = {
|
|
2157
2241
|
anchor: string;
|
package/dist/index.js
CHANGED
|
@@ -24,46 +24,48 @@ import { CATEGORY_ELEMENTS as x, ELEMENT_TO_COLOR as S } from "./icons/element-c
|
|
|
24
24
|
import { ELEMENT_TO_ICON as C } from "./icons/element-icon-mapper.js";
|
|
25
25
|
import w from "./icons/element-badge.js";
|
|
26
26
|
import "./icons/index.js";
|
|
27
|
-
import { collectExpandableNodeIds as T } from "./
|
|
28
|
-
import E from "./
|
|
27
|
+
import { collectExpandableNodeIds as T } from "./tree/collect-expandable-node-ids.js";
|
|
28
|
+
import E from "./tree/tree.js";
|
|
29
|
+
import "./tree/index.js";
|
|
30
|
+
import D from "./explorer/explorer.js";
|
|
29
31
|
import "./explorer/index.js";
|
|
30
|
-
import
|
|
32
|
+
import O from "./library-browser/library-browser.js";
|
|
31
33
|
import "./library-browser/index.js";
|
|
32
|
-
import { highlightCode as
|
|
33
|
-
import
|
|
34
|
-
import { diffLines as
|
|
35
|
-
import
|
|
34
|
+
import { highlightCode as k } from "./code/highlight.js";
|
|
35
|
+
import A from "./code/code-block.js";
|
|
36
|
+
import { diffLines as j } from "./code/diff.js";
|
|
37
|
+
import M from "./code/xml-diff.js";
|
|
36
38
|
import "./code/index.js";
|
|
37
|
-
import { NOTE_CATEGORIES as
|
|
38
|
-
import
|
|
39
|
-
import
|
|
39
|
+
import { NOTE_CATEGORIES as N, NOTE_CATEGORY_LABELS as P, NOTE_STATUSES as F, parseNoteData as I, serializeNoteData as L } from "./notes/note-data.js";
|
|
40
|
+
import R from "./notes/note-category-tag.js";
|
|
41
|
+
import z from "./notes/note-category-picker.js";
|
|
40
42
|
import "./notes/index.js";
|
|
41
|
-
import { KEY_SEPARATOR as
|
|
42
|
-
import { useColumnFilters as
|
|
43
|
-
import { useRowSort as
|
|
44
|
-
import { provideColumnFilterHeader as
|
|
45
|
-
import { provideRowSortHeader as
|
|
46
|
-
import
|
|
43
|
+
import { KEY_SEPARATOR as B, NO_VALUE_KEY as V, buildFlatOptions as H, buildMultiValueOptions as U, buildTreeOptions as W, collectLeafKeys as G, collectParentKeys as K, filterTree as q } from "./table/filters/build-filter-options.js";
|
|
44
|
+
import { useColumnFilters as J } from "./table/filters/use-column-filters.js";
|
|
45
|
+
import { useRowSort as Y } from "./table/filters/use-row-sort.js";
|
|
46
|
+
import { provideColumnFilterHeader as X, useColumnFilterHeaderContext as Z } from "./table/column-filter-context.js";
|
|
47
|
+
import { provideRowSortHeader as Q, useOptionalRowSortContext as $ } from "./table/row-sort-context.js";
|
|
48
|
+
import ee from "./table/filterable-column-header.js";
|
|
47
49
|
import "./table/index.js";
|
|
48
|
-
import
|
|
50
|
+
import te from "./context-menu/context-menu.js";
|
|
49
51
|
import "./context-menu/index.js";
|
|
50
|
-
import { buildXpath as
|
|
51
|
-
import
|
|
52
|
+
import { buildXpath as ne, matchName as re, parseXpath as ie, validateSearchText as ae, validateXpath as oe } from "./selector-input/selector-xpath.js";
|
|
53
|
+
import se from "./selector-input/selector-input.js";
|
|
52
54
|
import "./selector-input/index.js";
|
|
53
|
-
import
|
|
55
|
+
import ce from "./split-layout/split-layout.js";
|
|
54
56
|
import "./split-layout/index.js";
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
57
|
+
import le from "./status-bar/status-bar.js";
|
|
58
|
+
import ue from "./status-bar/status-bar-item.js";
|
|
59
|
+
import de from "./status-bar/progress-bar.js";
|
|
60
|
+
import fe from "./status-bar/spinner.js";
|
|
59
61
|
import "./status-bar/index.js";
|
|
60
|
-
import { applyInitialVisibility as
|
|
61
|
-
import { groupStackMetrics as
|
|
62
|
-
import { GROUP_COLLAPSED_MEMBERS_HEIGHT as
|
|
63
|
-
import { computeGroups as
|
|
64
|
-
import { createElkLayoutEngine as
|
|
65
|
-
import { useDiagramLayout as
|
|
66
|
-
import
|
|
67
|
-
import
|
|
62
|
+
import { applyInitialVisibility as pe, buildRecordCache as me, collectVisibleIds as he, hideDescendants as ge } from "./diagram-layout/visibility-model.js";
|
|
63
|
+
import { groupStackMetrics as _e } from "./diagram-layout/group-stack.js";
|
|
64
|
+
import { GROUP_COLLAPSED_MEMBERS_HEIGHT as ve, GROUP_HEADER_HEIGHT as ye, GROUP_MEMBER_GAP as be, GROUP_MEMBER_HEIGHT as xe, GROUP_MEMBER_HEIGHT_COMPACT as Se, memberCardHeight as Ce } from "./diagram-layout/group-geometry.js";
|
|
65
|
+
import { computeGroups as we, isGroupId as Te, makeGroupId as Ee } from "./diagram-layout/grouping.js";
|
|
66
|
+
import { createElkLayoutEngine as De } from "./diagram-layout/elk-layout-engine.js";
|
|
67
|
+
import { useDiagramLayout as Oe } from "./diagram-layout/use-diagram-layout.js";
|
|
68
|
+
import ke from "./diagram-layout/diagram-node-card.js";
|
|
69
|
+
import Ae from "./diagram-layout/diagram-node-group.js";
|
|
68
70
|
import "./diagram-layout/index.js";
|
|
69
|
-
export { s as Button, x as CATEGORY_ELEMENTS,
|
|
71
|
+
export { s as Button, x as CATEGORY_ELEMENTS, A as CodeBlock, l as Combobox, te as ContextMenu, ke as DiagramNodeCard, Ae as DiagramNodeGroup, p as Dialog, y as DialogHost, b as DocumentProgressBar, c as Dropdown, S as ELEMENT_TO_COLOR, C as ELEMENT_TO_ICON, w as ElementBadge, m as FeedbackDialog, ee as FilterableColumnHeader, u as FloatingTooltip, ve as GROUP_COLLAPSED_MEMBERS_HEIGHT, ye as GROUP_HEADER_HEIGHT, be as GROUP_MEMBER_GAP, xe as GROUP_MEMBER_HEIGHT, Se as GROUP_MEMBER_HEIGHT_COMPACT, B as KEY_SEPARATOR, O as LibraryBrowser, d as MultiSelect, N as NOTE_CATEGORIES, P as NOTE_CATEGORY_LABELS, F as NOTE_STATUSES, V as NO_VALUE_KEY, z as NoteCategoryPicker, R as NoteCategoryTag, de as ProgressBar, D as SclExplorer, E as SclTree, se as SelectorInput, fe as Spinner, ce as SplitLayout, le as StatusBar, ue as StatusBarItem, f as TextInputAutocomplete, M as XmlDiff, pe as applyInitialVisibility, H as buildFlatOptions, U as buildMultiValueOptions, me as buildRecordCache, W as buildTreeOptions, ne as buildXpath, T as collectExpandableNodeIds, G as collectLeafKeys, K as collectParentKeys, he as collectVisibleIds, we as computeGroups, h as createDialogHost, e as createDocumentStore, De as createElkLayoutEngine, g as dialogHostKey, j as diffLines, q as filterTree, _e as groupStackMetrics, ge as hideDescendants, k as highlightCode, Te as isGroupId, Ee as makeGroupId, re as matchName, Ce as memberCardHeight, I as parseNoteData, ie as parseXpath, X as provideColumnFilterHeader, _ as provideDialogHost, Q as provideRowSortHeader, L as serializeNoteData, i as useActiveDocument, Z as useColumnFilterHeaderContext, J as useColumnFilters, Oe as useDiagramLayout, t as useDialecteChannel, v as useDialog, a as useDocumentProgress, o as useDocumentState, n as useLiveData, $ as useOptionalRowSortContext, r as useProjectLiveData, Y as useRowSort, ae as validateSearchText, oe as validateXpath };
|
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./library-browser.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region lib/library-browser/library-browser.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-1e688744"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|