@septkit/ui 0.0.83 → 0.0.84
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/external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/loader-circle.js +8 -0
- package/dist/external/.pnpm/@vueuse_core@14.3.0_vue@3.5.39_typescript@5.8.3_/node_modules/@vueuse/core/dist/index.js +73 -73
- package/dist/external/.pnpm/@vueuse_shared@14.3.0_vue@3.5.39_typescript@5.8.3_/node_modules/@vueuse/shared/dist/index.js +172 -80
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/HoverCard/HoverCardContent.js +126 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/HoverCard/HoverCardContentImpl.js +170 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/HoverCard/HoverCardPortal.js +33 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/HoverCard/HoverCardRoot.js +73 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/HoverCard/HoverCardTrigger.js +64 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/HoverCard/utils.js +11 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverContent.js +133 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverContentImpl.js +165 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverContentModal.js +137 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverContentNonModal.js +130 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverPortal.js +33 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverRoot.js +54 -0
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverTrigger.js +55 -0
- package/dist/index.d.ts +89 -6
- package/dist/index.js +14 -9
- package/dist/status-bar/index.js +5 -0
- package/dist/status-bar/progress-bar.js +7 -0
- package/dist/status-bar/progress-bar.vue_vue_type_script_setup_true_lang.js +31 -0
- package/dist/status-bar/spinner.js +7 -0
- package/dist/status-bar/spinner.vue_vue_type_script_setup_true_lang.js +27 -0
- package/dist/status-bar/status-bar-item.js +8 -0
- package/dist/status-bar/status-bar-item.vue_vue_type_script_setup_true_lang.js +138 -0
- package/dist/status-bar/status-bar.js +7 -0
- package/dist/status-bar/status-bar.vue_vue_type_script_setup_true_lang.js +17 -0
- package/dist/ui.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -37,12 +37,22 @@ 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<
|
|
40
|
+
declare const __VLS_component_10: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
41
|
+
|
|
42
|
+
declare const __VLS_component_11: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
43
|
+
"update:open": (value: boolean) => any;
|
|
44
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
|
|
45
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
46
|
+
}>, {
|
|
47
|
+
hoverDelay: number;
|
|
48
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
49
|
+
|
|
50
|
+
declare const __VLS_component_12: DefineComponent<__VLS_Props_25, {
|
|
41
51
|
focus: () => void | undefined;
|
|
42
52
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
43
53
|
toggle: (groupId: string) => any;
|
|
44
54
|
keydown: (event: KeyboardEvent) => any;
|
|
45
|
-
}, string, PublicProps, Readonly<
|
|
55
|
+
}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
|
|
46
56
|
onToggle?: ((groupId: string) => any) | undefined;
|
|
47
57
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
48
58
|
}>, {
|
|
@@ -452,6 +462,25 @@ declare type __VLS_Props_2 = {
|
|
|
452
462
|
};
|
|
453
463
|
|
|
454
464
|
declare type __VLS_Props_20 = {
|
|
465
|
+
label: string;
|
|
466
|
+
};
|
|
467
|
+
|
|
468
|
+
declare type __VLS_Props_21 = {
|
|
469
|
+
label: string;
|
|
470
|
+
hoverDelay?: number;
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
declare type __VLS_Props_22 = {
|
|
474
|
+
value?: number;
|
|
475
|
+
label: string;
|
|
476
|
+
};
|
|
477
|
+
|
|
478
|
+
declare type __VLS_Props_23 = {
|
|
479
|
+
label?: string;
|
|
480
|
+
size?: number;
|
|
481
|
+
};
|
|
482
|
+
|
|
483
|
+
declare type __VLS_Props_24 = {
|
|
455
484
|
nodeId: string;
|
|
456
485
|
tagName: string;
|
|
457
486
|
label: string;
|
|
@@ -468,7 +497,7 @@ declare type __VLS_Props_20 = {
|
|
|
468
497
|
treeMeta?: TreeItemMeta;
|
|
469
498
|
};
|
|
470
499
|
|
|
471
|
-
declare type
|
|
500
|
+
declare type __VLS_Props_25 = {
|
|
472
501
|
groupId: string;
|
|
473
502
|
tagName: string;
|
|
474
503
|
label: string;
|
|
@@ -594,6 +623,10 @@ declare type __VLS_PublicProps_5 = {
|
|
|
594
623
|
'invalid'?: boolean;
|
|
595
624
|
} & __VLS_Props_18;
|
|
596
625
|
|
|
626
|
+
declare type __VLS_PublicProps_6 = {
|
|
627
|
+
'open'?: boolean;
|
|
628
|
+
} & __VLS_Props_21;
|
|
629
|
+
|
|
597
630
|
declare function __VLS_template(): {
|
|
598
631
|
attrs: Partial<{}>;
|
|
599
632
|
slots: {
|
|
@@ -604,6 +637,30 @@ declare function __VLS_template(): {
|
|
|
604
637
|
};
|
|
605
638
|
|
|
606
639
|
declare function __VLS_template_10(): {
|
|
640
|
+
attrs: Partial<{}>;
|
|
641
|
+
slots: {
|
|
642
|
+
default?(_: {}): any;
|
|
643
|
+
};
|
|
644
|
+
refs: {};
|
|
645
|
+
rootEl: HTMLElement;
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
declare function __VLS_template_11(): {
|
|
649
|
+
attrs: Partial<{}>;
|
|
650
|
+
slots: Readonly<{
|
|
651
|
+
default(): unknown;
|
|
652
|
+
hover?(): unknown;
|
|
653
|
+
panel?(): unknown;
|
|
654
|
+
}> & {
|
|
655
|
+
default(): unknown;
|
|
656
|
+
hover?(): unknown;
|
|
657
|
+
panel?(): unknown;
|
|
658
|
+
};
|
|
659
|
+
refs: {};
|
|
660
|
+
rootEl: any;
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
declare function __VLS_template_12(): {
|
|
607
664
|
attrs: Partial<{}>;
|
|
608
665
|
slots: {
|
|
609
666
|
member?(_: {
|
|
@@ -919,6 +976,10 @@ declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
919
976
|
|
|
920
977
|
declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
921
978
|
|
|
979
|
+
declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
980
|
+
|
|
981
|
+
declare type __VLS_TemplateResult_12 = ReturnType<typeof __VLS_template_12>;
|
|
982
|
+
|
|
922
983
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
923
984
|
|
|
924
985
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -947,6 +1008,18 @@ declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
|
947
1008
|
};
|
|
948
1009
|
};
|
|
949
1010
|
|
|
1011
|
+
declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
1012
|
+
new (): {
|
|
1013
|
+
$slots: S;
|
|
1014
|
+
};
|
|
1015
|
+
};
|
|
1016
|
+
|
|
1017
|
+
declare type __VLS_WithTemplateSlots_12<T, S> = T & {
|
|
1018
|
+
new (): {
|
|
1019
|
+
$slots: S;
|
|
1020
|
+
};
|
|
1021
|
+
};
|
|
1022
|
+
|
|
950
1023
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
951
1024
|
new (): {
|
|
952
1025
|
$slots: S;
|
|
@@ -1216,14 +1289,14 @@ export declare type DiagramLayoutOptions<TRecord extends LayoutTreeRecord, TNode
|
|
|
1216
1289
|
toEdge: (context: EdgeMapperContext) => TEdge;
|
|
1217
1290
|
};
|
|
1218
1291
|
|
|
1219
|
-
export declare const DiagramNodeCard: DefineComponent<
|
|
1292
|
+
export declare const DiagramNodeCard: DefineComponent<__VLS_Props_24, {
|
|
1220
1293
|
focus: () => void | undefined;
|
|
1221
1294
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1222
1295
|
select: (nodeId: string) => any;
|
|
1223
1296
|
"toggle-expand": (nodeId: string) => any;
|
|
1224
1297
|
keydown: (event: KeyboardEvent) => any;
|
|
1225
1298
|
"show-details": (nodeId: string) => any;
|
|
1226
|
-
}, string, PublicProps, Readonly<
|
|
1299
|
+
}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{
|
|
1227
1300
|
onSelect?: ((nodeId: string) => any) | undefined;
|
|
1228
1301
|
"onToggle-expand"?: ((nodeId: string) => any) | undefined;
|
|
1229
1302
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
@@ -1241,7 +1314,7 @@ treeMeta: TreeItemMeta;
|
|
|
1241
1314
|
rootEl: HTMLDivElement;
|
|
1242
1315
|
}, HTMLDivElement>;
|
|
1243
1316
|
|
|
1244
|
-
export declare const DiagramNodeGroup:
|
|
1317
|
+
export declare const DiagramNodeGroup: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
1245
1318
|
|
|
1246
1319
|
/**
|
|
1247
1320
|
* Message shapes posted on a dialecte project's BroadcastChannel — the public
|
|
@@ -1785,6 +1858,8 @@ export declare function parseNoteData(value: string | undefined): NoteData | und
|
|
|
1785
1858
|
|
|
1786
1859
|
export declare function parseXpath(xpath: string): XpathBuilderState | undefined;
|
|
1787
1860
|
|
|
1861
|
+
export declare const ProgressBar: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1862
|
+
|
|
1788
1863
|
/** Presentation progress: a held monotonic fraction in `[0, 1]` and its caption. */
|
|
1789
1864
|
export declare type ProgressDisplay = {
|
|
1790
1865
|
fraction: number;
|
|
@@ -1842,8 +1917,16 @@ export declare function serializeNoteData({ categories, otherTags, ...rest }: No
|
|
|
1842
1917
|
|
|
1843
1918
|
export declare type SortDirection = 'asc' | 'desc';
|
|
1844
1919
|
|
|
1920
|
+
export declare const Spinner: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {
|
|
1921
|
+
size: number;
|
|
1922
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
1923
|
+
|
|
1845
1924
|
export declare const SplitLayout: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
1846
1925
|
|
|
1926
|
+
export declare const StatusBar: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
1927
|
+
|
|
1928
|
+
export declare const StatusBarItem: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
1929
|
+
|
|
1847
1930
|
export declare const TextInputAutocomplete: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1848
1931
|
"update:modelValue": (value: string) => any;
|
|
1849
1932
|
}, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
|
package/dist/index.js
CHANGED
|
@@ -52,13 +52,18 @@ import oe from "./selector-input/selector-input.js";
|
|
|
52
52
|
import "./selector-input/index.js";
|
|
53
53
|
import se from "./split-layout/split-layout.js";
|
|
54
54
|
import "./split-layout/index.js";
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import {
|
|
61
|
-
import
|
|
62
|
-
import
|
|
55
|
+
import ce from "./status-bar/status-bar.js";
|
|
56
|
+
import le from "./status-bar/status-bar-item.js";
|
|
57
|
+
import ue from "./status-bar/progress-bar.js";
|
|
58
|
+
import de from "./status-bar/spinner.js";
|
|
59
|
+
import "./status-bar/index.js";
|
|
60
|
+
import { applyInitialVisibility as fe, buildRecordCache as pe, collectVisibleIds as me, hideDescendants as he } from "./diagram-layout/visibility-model.js";
|
|
61
|
+
import { groupStackMetrics as ge } from "./diagram-layout/group-stack.js";
|
|
62
|
+
import { GROUP_COLLAPSED_MEMBERS_HEIGHT as _e, GROUP_HEADER_HEIGHT as ve, GROUP_MEMBER_GAP as ye, GROUP_MEMBER_HEIGHT as be, GROUP_MEMBER_HEIGHT_COMPACT as xe, memberCardHeight as Se } from "./diagram-layout/group-geometry.js";
|
|
63
|
+
import { computeGroups as Ce, isGroupId as we, makeGroupId as Te } from "./diagram-layout/grouping.js";
|
|
64
|
+
import { createElkLayoutEngine as Ee } from "./diagram-layout/elk-layout-engine.js";
|
|
65
|
+
import { useDiagramLayout as De } from "./diagram-layout/use-diagram-layout.js";
|
|
66
|
+
import Oe from "./diagram-layout/diagram-node-card.js";
|
|
67
|
+
import ke from "./diagram-layout/diagram-node-group.js";
|
|
63
68
|
import "./diagram-layout/index.js";
|
|
64
|
-
export { s as Button, x as CATEGORY_ELEMENTS, k as CodeBlock, l as Combobox, ee as ContextMenu,
|
|
69
|
+
export { s as Button, x as CATEGORY_ELEMENTS, k as CodeBlock, l as Combobox, ee as ContextMenu, Oe as DiagramNodeCard, ke 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, $ as FilterableColumnHeader, u as FloatingTooltip, _e as GROUP_COLLAPSED_MEMBERS_HEIGHT, ve as GROUP_HEADER_HEIGHT, ye as GROUP_MEMBER_GAP, be as GROUP_MEMBER_HEIGHT, xe as GROUP_MEMBER_HEIGHT_COMPACT, z as KEY_SEPARATOR, D as LibraryBrowser, d as MultiSelect, M as NOTE_CATEGORIES, N as NOTE_CATEGORY_LABELS, P as NOTE_STATUSES, B as NO_VALUE_KEY, R as NoteCategoryPicker, L as NoteCategoryTag, ue as ProgressBar, E as SclExplorer, oe as SelectorInput, de as Spinner, se as SplitLayout, ce as StatusBar, le as StatusBarItem, f as TextInputAutocomplete, j as XmlDiff, fe as applyInitialVisibility, V as buildFlatOptions, H as buildMultiValueOptions, pe as buildRecordCache, U as buildTreeOptions, te as buildXpath, T as collectExpandableNodeIds, W as collectLeafKeys, G as collectParentKeys, me as collectVisibleIds, Ce as computeGroups, h as createDialogHost, e as createDocumentStore, Ee as createElkLayoutEngine, g as dialogHostKey, A as diffLines, K as filterTree, ge as groupStackMetrics, he as hideDescendants, O as highlightCode, we as isGroupId, Te as makeGroupId, ne as matchName, Se as memberCardHeight, F as parseNoteData, re as parseXpath, Y as provideColumnFilterHeader, _ as provideDialogHost, Z as provideRowSortHeader, I as serializeNoteData, i as useActiveDocument, X as useColumnFilterHeaderContext, q as useColumnFilters, De as useDiagramLayout, t as useDialecteChannel, v as useDialog, a as useDocumentProgress, o as useDocumentState, n as useLiveData, Q as useOptionalRowSortContext, r as useProjectLiveData, J as useRowSort, ie as validateSearchText, ae as validateXpath };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import t from "./progress-bar.vue_vue_type_script_setup_true_lang.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
//#region lib/status-bar/progress-bar.vue
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-c404cac0"]]);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { n as default };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { computed as e, createElementBlock as t, createElementVNode as n, defineComponent as r, normalizeStyle as i, openBlock as a } from "vue";
|
|
2
|
+
//#region lib/status-bar/progress-bar.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var o = [
|
|
4
|
+
"aria-label",
|
|
5
|
+
"aria-valuenow",
|
|
6
|
+
"data-state"
|
|
7
|
+
], s = /*@__PURE__*/ r({
|
|
8
|
+
__name: "progress-bar",
|
|
9
|
+
props: {
|
|
10
|
+
value: {},
|
|
11
|
+
label: {}
|
|
12
|
+
},
|
|
13
|
+
setup(r) {
|
|
14
|
+
let s = r, c = e(() => s.value === void 0 ? void 0 : Math.min(1, Math.max(0, s.value)));
|
|
15
|
+
return (e, s) => (a(), t("div", {
|
|
16
|
+
role: "progressbar",
|
|
17
|
+
class: "progress-track",
|
|
18
|
+
"aria-label": r.label,
|
|
19
|
+
"aria-valuemin": "0",
|
|
20
|
+
"aria-valuemax": "100",
|
|
21
|
+
"aria-valuenow": c.value === void 0 ? void 0 : Math.round(c.value * 100),
|
|
22
|
+
"data-state": c.value === void 0 ? "indeterminate" : "determinate"
|
|
23
|
+
}, [n("div", {
|
|
24
|
+
"data-part": "fill",
|
|
25
|
+
class: "progress-fill",
|
|
26
|
+
style: i(c.value === void 0 ? void 0 : { transform: `scaleX(${c.value})` })
|
|
27
|
+
}, null, 4)], 8, o));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { s as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import t from "./spinner.vue_vue_type_script_setup_true_lang.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
//#region lib/status-bar/spinner.vue
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-c8a465c1"]]);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { n as default };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import e from "../external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/loader-circle.js";
|
|
2
|
+
import { createElementBlock as t, createVNode as n, defineComponent as r, openBlock as i, unref as a } from "vue";
|
|
3
|
+
//#region lib/status-bar/spinner.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var o = [
|
|
5
|
+
"role",
|
|
6
|
+
"aria-label",
|
|
7
|
+
"aria-hidden"
|
|
8
|
+
], s = /*@__PURE__*/ r({
|
|
9
|
+
__name: "spinner",
|
|
10
|
+
props: {
|
|
11
|
+
label: {},
|
|
12
|
+
size: { default: 14 }
|
|
13
|
+
},
|
|
14
|
+
setup(r) {
|
|
15
|
+
return (s, c) => (i(), t("span", {
|
|
16
|
+
class: "spinner inline-flex shrink-0",
|
|
17
|
+
role: r.label ? "status" : void 0,
|
|
18
|
+
"aria-label": r.label,
|
|
19
|
+
"aria-hidden": r.label ? void 0 : "true"
|
|
20
|
+
}, [n(a(e), {
|
|
21
|
+
size: r.size,
|
|
22
|
+
"aria-hidden": "true"
|
|
23
|
+
}, null, 8, ["size"])], 8, o));
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { s as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import t from "./status-bar-item.vue_vue_type_script_setup_true_lang.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
|
+
//#region lib/status-bar/status-bar-item.vue
|
|
6
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-d04de57b"]]);
|
|
7
|
+
//#endregion
|
|
8
|
+
export { n as default };
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { PopoverRoot_default as e } from "../external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverRoot.js";
|
|
2
|
+
import { PopoverContent_default as t } from "../external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverContent.js";
|
|
3
|
+
import { PopoverPortal_default as n } from "../external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverPortal.js";
|
|
4
|
+
import { PopoverTrigger_default as r } from "../external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Popover/PopoverTrigger.js";
|
|
5
|
+
import { HoverCardRoot_default as i } from "../external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/HoverCard/HoverCardRoot.js";
|
|
6
|
+
import { HoverCardContent_default as a } from "../external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/HoverCard/HoverCardContent.js";
|
|
7
|
+
import { HoverCardPortal_default as o } from "../external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/HoverCard/HoverCardPortal.js";
|
|
8
|
+
import { HoverCardTrigger_default as s } from "../external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/HoverCard/HoverCardTrigger.js";
|
|
9
|
+
import { computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, mergeModels as h, onBeforeUnmount as g, openBlock as _, ref as v, renderSlot as y, unref as b, useModel as x, useSlots as S, watch as C, withCtx as w } from "vue";
|
|
10
|
+
//#region lib/status-bar/status-bar-item.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
+
var T = ["aria-label"], E = {
|
|
12
|
+
"data-part": "trigger",
|
|
13
|
+
tabindex: "0",
|
|
14
|
+
class: "status-bar-item status-bar-item-interactive"
|
|
15
|
+
}, D = {
|
|
16
|
+
key: 2,
|
|
17
|
+
"data-part": "trigger",
|
|
18
|
+
class: "status-bar-item"
|
|
19
|
+
}, O = /*@__PURE__*/ m({
|
|
20
|
+
__name: "status-bar-item",
|
|
21
|
+
props: /*@__PURE__*/ h({
|
|
22
|
+
label: {},
|
|
23
|
+
hoverDelay: { default: 300 }
|
|
24
|
+
}, {
|
|
25
|
+
open: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: !1
|
|
28
|
+
},
|
|
29
|
+
openModifiers: {}
|
|
30
|
+
}),
|
|
31
|
+
emits: ["update:open"],
|
|
32
|
+
setup(m) {
|
|
33
|
+
let h = m, O = x(m, "open"), k = S(), A = c(() => !!k.panel), j = c(() => !!k.hover), M = v(!1), N = v(!1);
|
|
34
|
+
C(O, () => {
|
|
35
|
+
M.value = !1, N.value = !0;
|
|
36
|
+
});
|
|
37
|
+
function P(e) {
|
|
38
|
+
M.value = e && !O.value && !N.value;
|
|
39
|
+
}
|
|
40
|
+
function F() {
|
|
41
|
+
N.value = !1;
|
|
42
|
+
}
|
|
43
|
+
let I;
|
|
44
|
+
g(() => clearTimeout(I));
|
|
45
|
+
function L() {
|
|
46
|
+
clearTimeout(I), I = setTimeout(() => P(!0), h.hoverDelay);
|
|
47
|
+
}
|
|
48
|
+
function R() {
|
|
49
|
+
clearTimeout(I), M.value = !1, F();
|
|
50
|
+
}
|
|
51
|
+
return (c, h) => A.value ? (_(), l(b(i), {
|
|
52
|
+
key: 0,
|
|
53
|
+
open: M.value,
|
|
54
|
+
"open-delay": m.hoverDelay,
|
|
55
|
+
"close-delay": 100,
|
|
56
|
+
"onUpdate:open": P
|
|
57
|
+
}, {
|
|
58
|
+
default: w(() => [p(b(s), { "as-child": "" }, {
|
|
59
|
+
default: w(() => [f("span", {
|
|
60
|
+
"data-part": "item",
|
|
61
|
+
class: "status-bar-item-anchor",
|
|
62
|
+
onPointerleave: F
|
|
63
|
+
}, [p(b(e), {
|
|
64
|
+
open: O.value,
|
|
65
|
+
"onUpdate:open": h[0] ||= (e) => O.value = e
|
|
66
|
+
}, {
|
|
67
|
+
default: w(() => [p(b(r), { "as-child": "" }, {
|
|
68
|
+
default: w(() => [f("button", {
|
|
69
|
+
"data-part": "trigger",
|
|
70
|
+
type: "button",
|
|
71
|
+
class: "status-bar-item status-bar-item-interactive",
|
|
72
|
+
"aria-label": m.label,
|
|
73
|
+
onFocus: L,
|
|
74
|
+
onBlur: R
|
|
75
|
+
}, [y(c.$slots, "default", {}, void 0, !0)], 40, T)]),
|
|
76
|
+
_: 3
|
|
77
|
+
}), p(b(n), null, {
|
|
78
|
+
default: w(() => [p(b(t), {
|
|
79
|
+
"data-part": "panel",
|
|
80
|
+
side: "top",
|
|
81
|
+
align: "end",
|
|
82
|
+
"side-offset": 6,
|
|
83
|
+
"collision-padding": 8,
|
|
84
|
+
class: "shadow-md status-bar-floating status-bar-panel"
|
|
85
|
+
}, {
|
|
86
|
+
default: w(() => [y(c.$slots, "panel", {}, void 0, !0)]),
|
|
87
|
+
_: 3
|
|
88
|
+
})]),
|
|
89
|
+
_: 3
|
|
90
|
+
})]),
|
|
91
|
+
_: 3
|
|
92
|
+
}, 8, ["open"])], 32)]),
|
|
93
|
+
_: 3
|
|
94
|
+
}), j.value ? (_(), l(b(o), { key: 0 }, {
|
|
95
|
+
default: w(() => [p(b(a), {
|
|
96
|
+
"data-part": "hover",
|
|
97
|
+
side: "top",
|
|
98
|
+
align: "end",
|
|
99
|
+
"side-offset": 6,
|
|
100
|
+
"collision-padding": 8,
|
|
101
|
+
class: "shadow-md status-bar-floating status-bar-hover"
|
|
102
|
+
}, {
|
|
103
|
+
default: w(() => [y(c.$slots, "hover", {}, void 0, !0)]),
|
|
104
|
+
_: 3
|
|
105
|
+
})]),
|
|
106
|
+
_: 3
|
|
107
|
+
})) : u("", !0)]),
|
|
108
|
+
_: 3
|
|
109
|
+
}, 8, ["open", "open-delay"])) : j.value ? (_(), l(b(i), {
|
|
110
|
+
key: 1,
|
|
111
|
+
open: M.value,
|
|
112
|
+
"open-delay": m.hoverDelay,
|
|
113
|
+
"close-delay": 100,
|
|
114
|
+
"onUpdate:open": P
|
|
115
|
+
}, {
|
|
116
|
+
default: w(() => [p(b(s), { "as-child": "" }, {
|
|
117
|
+
default: w(() => [f("span", E, [y(c.$slots, "default", {}, void 0, !0)])]),
|
|
118
|
+
_: 3
|
|
119
|
+
}), p(b(o), null, {
|
|
120
|
+
default: w(() => [p(b(a), {
|
|
121
|
+
"data-part": "hover",
|
|
122
|
+
side: "top",
|
|
123
|
+
align: "end",
|
|
124
|
+
"side-offset": 6,
|
|
125
|
+
"collision-padding": 8,
|
|
126
|
+
class: "shadow-md status-bar-floating status-bar-hover"
|
|
127
|
+
}, {
|
|
128
|
+
default: w(() => [y(c.$slots, "hover", {}, void 0, !0)]),
|
|
129
|
+
_: 3
|
|
130
|
+
})]),
|
|
131
|
+
_: 3
|
|
132
|
+
})]),
|
|
133
|
+
_: 3
|
|
134
|
+
}, 8, ["open", "open-delay"])) : (_(), d("span", D, [y(c.$slots, "default", {}, void 0, !0)]));
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
//#endregion
|
|
138
|
+
export { O as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import t from "./status-bar.vue_vue_type_script_setup_true_lang.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
//#region lib/status-bar/status-bar.vue
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-8ee33a72"]]);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { n as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { createElementBlock as e, createElementVNode as t, defineComponent as n, openBlock as r, renderSlot as i } from "vue";
|
|
2
|
+
//#region lib/status-bar/status-bar.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var a = ["aria-label"], o = {
|
|
4
|
+
"data-part": "items",
|
|
5
|
+
class: "status-bar-items"
|
|
6
|
+
}, s = /*@__PURE__*/ n({
|
|
7
|
+
__name: "status-bar",
|
|
8
|
+
props: { label: {} },
|
|
9
|
+
setup(n) {
|
|
10
|
+
return (s, c) => (r(), e("footer", {
|
|
11
|
+
class: "status-bar",
|
|
12
|
+
"aria-label": n.label
|
|
13
|
+
}, [t("div", o, [i(s.$slots, "default", {}, void 0, !0)])], 8, a));
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { s as default };
|