@septkit/ui 0.0.82 → 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/dialecte/create-document-store.js +4 -4
- package/dist/external/.pnpm/{@dialecte_core@0.9.0/node_modules/@dialecte/core/dist/dialecte-oAXwOG-Q.js → @dialecte_core@0.10.0/node_modules/@dialecte/core/dist/dialecte-CVLWSkgW.js} +1 -1
- package/dist/external/.pnpm/@dialecte_core@0.10.0/node_modules/@dialecte/core/dist/helpers-D8p0KiJu.js +130 -0
- package/dist/external/.pnpm/@dialecte_core@0.10.0/node_modules/@dialecte/core/dist/index.js +6 -0
- package/dist/external/.pnpm/{@dialecte_core@0.9.0 → @dialecte_core@0.10.0}/node_modules/@dialecte/core/dist/project-key-2ccZ-0gu.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.9.0 → @dialecte_core@0.10.0}/node_modules/@dialecte/core/dist/rolldown-runtime-CYdcPHCu.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.9.0 → @dialecte_core@0.10.0}/node_modules/@dialecte/core/dist/running-operations-DCKvzlU7.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.9.0 → @dialecte_core@0.10.0}/node_modules/@dialecte/core/dist/same-json-value-_AChwM_n.js +1 -1
- package/dist/external/.pnpm/{@dialecte_core@0.9.0 → @dialecte_core@0.10.0}/node_modules/@dialecte/core/dist/utils-Cv4oHia0.js +79 -102
- package/dist/external/.pnpm/@dialecte_core@0.10.0/node_modules/@dialecte/core/dist/utils.js +2 -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/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 +67 -125
- package/dist/external/.pnpm/@vueuse_shared@14.3.0_vue@3.5.39_typescript@5.8.3_/node_modules/@vueuse/shared/dist/index.js +167 -78
- 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 +108 -1939
- package/dist/index.js +24 -27
- 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 +3 -3
- package/dist/external/.pnpm/@dialecte_core@0.9.0/node_modules/@dialecte/core/dist/helpers-D8p0KiJu.js +0 -179
- package/dist/external/.pnpm/@dialecte_core@0.9.0/node_modules/@dialecte/core/dist/helpers.js +0 -3
- package/dist/external/.pnpm/@dialecte_core@0.9.0/node_modules/@dialecte/core/dist/index.js +0 -6
- package/dist/external/.pnpm/@dialecte_core@0.9.0/node_modules/@dialecte/core/dist/utils.js +0 -2
- package/dist/external/.pnpm/@dialecte_scl@0.14.0_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/declaration.constants-DSLNk1wh.js +0 -45065
- package/dist/external/.pnpm/@dialecte_scl@0.14.0_libxml2-wasm@0.7.2_vitest@4.1.10/node_modules/@dialecte/scl/dist/v2019C1/index.js +0 -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/arrow-right.js +0 -11
- package/dist/external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/list-tree.js +0 -26
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperIndicator.js +0 -27
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperItem.js +0 -67
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperRoot.js +0 -136
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperTitle.js +0 -28
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperTrigger.js +0 -97
- package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useArrowNavigation.js +0 -31
- package/dist/merge/check-files/components/merge-preflight.js +0 -5
- package/dist/merge/check-files/components/merge-preflight.vue_vue_type_script_setup_true_lang.js +0 -53
- package/dist/merge/check-files/flags.js +0 -17
- package/dist/merge/check-files/identity-warning.js +0 -19
- package/dist/merge/confirm/components/merge-summary.js +0 -5
- package/dist/merge/confirm/components/merge-summary.vue_vue_type_script_setup_true_lang.js +0 -207
- package/dist/merge/confirm/landings.js +0 -34
- package/dist/merge/confirm/outcome.js +0 -179
- package/dist/merge/confirm/summary.js +0 -57
- package/dist/merge/done/applied-counts.js +0 -16
- package/dist/merge/done/applied-focus.js +0 -15
- package/dist/merge/help.js +0 -76
- package/dist/merge/index.js +0 -8
- package/dist/merge/match/components/merge-map.js +0 -5
- package/dist/merge/match/components/merge-map.vue_vue_type_script_setup_true_lang.js +0 -230
- package/dist/merge/match/match.js +0 -210
- package/dist/merge/review/affix.js +0 -14
- package/dist/merge/review/change-badge.js +0 -10
- package/dist/merge/review/components/decision-toggle.js +0 -5
- package/dist/merge/review/components/decision-toggle.vue_vue_type_script_setup_true_lang.js +0 -80
- package/dist/merge/review/components/element-detail.js +0 -5
- package/dist/merge/review/components/element-detail.vue_vue_type_script_setup_true_lang.js +0 -210
- package/dist/merge/review/components/merge-tree.js +0 -5
- package/dist/merge/review/components/merge-tree.vue_vue_type_script_setup_true_lang.js +0 -192
- package/dist/merge/review/components/type-name-authority.js +0 -5
- package/dist/merge/review/components/type-name-authority.vue_vue_type_script_setup_true_lang.js +0 -47
- package/dist/merge/review/decision.js +0 -12
- package/dist/merge/review/detail.js +0 -63
- package/dist/merge/review/highlight.js +0 -44
- package/dist/merge/review/marks.js +0 -17
- package/dist/merge/review/navigation.js +0 -82
- package/dist/merge/review/title.js +0 -7
- package/dist/merge/review/tree.js +0 -138
- package/dist/merge/session/components/merge-help.js +0 -7
- package/dist/merge/session/components/merge-help.vue_vue_type_script_setup_true_lang.js +0 -109
- package/dist/merge/session/components/merge-progress.js +0 -5
- package/dist/merge/session/components/merge-progress.vue_vue_type_script_setup_true_lang.js +0 -23
- package/dist/merge/session/components/merge-review.js +0 -5
- package/dist/merge/session/components/merge-review.vue_vue_type_script_setup_true_lang.js +0 -895
- package/dist/merge/session/merge.service.js +0 -113
- package/dist/merge/session/shortcuts.js +0 -22
- package/dist/merge/session/staged-writes.js +0 -47
- package/dist/merge/session/steps.js +0 -21
- package/dist/merge/session/use-document-progress.js +0 -26
- package/dist/merge/session/use-merge-session.js +0 -372
- package/dist/merge/wording.js +0 -123
package/dist/index.js
CHANGED
|
@@ -38,35 +38,32 @@ import { NOTE_CATEGORIES as M, NOTE_CATEGORY_LABELS as N, NOTE_STATUSES as P, pa
|
|
|
38
38
|
import L from "./notes/note-category-tag.js";
|
|
39
39
|
import R from "./notes/note-category-picker.js";
|
|
40
40
|
import "./notes/index.js";
|
|
41
|
-
import z from "./
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import G from "./merge/session/components/merge-review.js";
|
|
48
|
-
import "./merge/index.js";
|
|
49
|
-
import { KEY_SEPARATOR as K, NO_VALUE_KEY as q, buildFlatOptions as J, buildMultiValueOptions as Y, buildTreeOptions as X, collectLeafKeys as Z, collectParentKeys as Q, filterTree as $ } from "./table/filters/build-filter-options.js";
|
|
50
|
-
import { useColumnFilters as ee } from "./table/filters/use-column-filters.js";
|
|
51
|
-
import { useRowSort as te } from "./table/filters/use-row-sort.js";
|
|
52
|
-
import { provideColumnFilterHeader as ne, useColumnFilterHeaderContext as re } from "./table/column-filter-context.js";
|
|
53
|
-
import { provideRowSortHeader as ie, useOptionalRowSortContext as ae } from "./table/row-sort-context.js";
|
|
54
|
-
import oe from "./table/filterable-column-header.js";
|
|
41
|
+
import { KEY_SEPARATOR as z, NO_VALUE_KEY as B, buildFlatOptions as V, buildMultiValueOptions as H, buildTreeOptions as U, collectLeafKeys as W, collectParentKeys as G, filterTree as K } from "./table/filters/build-filter-options.js";
|
|
42
|
+
import { useColumnFilters as q } from "./table/filters/use-column-filters.js";
|
|
43
|
+
import { useRowSort as J } from "./table/filters/use-row-sort.js";
|
|
44
|
+
import { provideColumnFilterHeader as Y, useColumnFilterHeaderContext as X } from "./table/column-filter-context.js";
|
|
45
|
+
import { provideRowSortHeader as Z, useOptionalRowSortContext as Q } from "./table/row-sort-context.js";
|
|
46
|
+
import $ from "./table/filterable-column-header.js";
|
|
55
47
|
import "./table/index.js";
|
|
56
|
-
import
|
|
48
|
+
import ee from "./context-menu/context-menu.js";
|
|
57
49
|
import "./context-menu/index.js";
|
|
58
|
-
import { buildXpath as
|
|
59
|
-
import
|
|
50
|
+
import { buildXpath as te, matchName as ne, parseXpath as re, validateSearchText as ie, validateXpath as ae } from "./selector-input/selector-xpath.js";
|
|
51
|
+
import oe from "./selector-input/selector-input.js";
|
|
60
52
|
import "./selector-input/index.js";
|
|
61
|
-
import
|
|
53
|
+
import se from "./split-layout/split-layout.js";
|
|
62
54
|
import "./split-layout/index.js";
|
|
63
|
-
import
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
import {
|
|
69
|
-
import
|
|
70
|
-
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";
|
|
71
68
|
import "./diagram-layout/index.js";
|
|
72
|
-
export { s as Button, x as CATEGORY_ELEMENTS, k as CodeBlock, l as Combobox,
|
|
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 };
|