vlite3 1.5.33 → 1.5.35
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/components/AppShell/AppShell.vue.d.ts +1 -0
- package/components/AppShell/AppShell.vue.js +5 -4
- package/components/AppShell/AppShellLayoutClassic.vue.d.ts +15 -4
- package/components/AppShell/AppShellLayoutClassic.vue.js +106 -97
- package/components/AppShell/AppShellLayoutDashboard.vue.d.ts +15 -4
- package/components/AppShell/AppShellLayoutDashboard.vue.js +87 -78
- package/components/AppShell/AppShellLayoutDock.vue.d.ts +15 -4
- package/components/AppShell/AppShellLayoutDock.vue.js +83 -74
- package/components/AppShell/AppShellLayoutHeaderShell.vue.d.ts +15 -4
- package/components/AppShell/AppShellLayoutHeaderShell.vue.js +82 -73
- package/components/AppShell/AppShellLayoutSidebarFirst.vue.d.ts +15 -4
- package/components/AppShell/AppShellLayoutSidebarFirst.vue.js +82 -73
- package/components/AppShell/AppShellLayoutStorefront.vue.d.ts +7 -1
- package/components/AppShell/AppShellLayoutStorefront.vue.js +119 -107
- package/components/AppShell/index.d.ts +1 -1
- package/components/AppShell/useAppShell.d.ts +11 -0
- package/components/AppShell/useAppShell.js +157 -109
- package/components/CategoryManager/CategoryManager2.vue.js +1 -1
- package/components/CommandPalette/CommandPaletteContent2.vue.js +1 -1
- package/components/CommandPalette/{CommandPaletteItem2.vue.js → CommandPaletteItem.vue.js} +1 -1
- package/components/Dropdown/DropdownMenu.vue.js +1 -1
- package/components/Form/{AccordionView.vue.js → AccordionView2.vue.js} +1 -1
- package/components/Form/Form2.vue.js +3 -2
- package/components/Form/index2.vue.js +1 -1
- package/components/ImportData/ImportData.vue.js +3 -2
- package/components/NavbarCommandPalette.vue.js +1 -1
- package/components/Screen/ScreenFilter.vue.js +1 -1
- package/components/Timeline/Timeline.vue.d.ts +12 -3
- package/components/Timeline/Timeline.vue.js +90 -61
- package/components/Timeline/Timeline3.vue.js +5 -0
- package/docs/components/app-shell.md +2 -0
- package/docs-manifest.json +3 -3
- package/index.js +502 -501
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/appshell.type.d.ts +6 -0
- package/types/timeline.type.d.ts +2 -0
- package/components/Timeline/Timeline2.vue.js +0 -4
- /package/components/Dropdown/{DropdownMenu2.vue.js → DropdownMenu3.vue.js} +0 -0
|
@@ -1,139 +1,187 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { useRoute as
|
|
3
|
-
import { useLocalStorage as
|
|
4
|
-
import { useBreadcrumb as
|
|
5
|
-
import { useRtl as
|
|
6
|
-
const
|
|
7
|
-
function
|
|
8
|
-
const
|
|
1
|
+
import { computed as n, shallowRef as I, ref as d, provide as L, watch as k, onMounted as Y, onUnmounted as _, nextTick as U } from "vue";
|
|
2
|
+
import { useRoute as V } from "vue-router";
|
|
3
|
+
import { useLocalStorage as W, useBreakpoints as F, breakpointsTailwind as K } from "@vueuse/core";
|
|
4
|
+
import { useBreadcrumb as q } from "../../composables/useBreadcrumb.js";
|
|
5
|
+
import { useRtl as G } from "../../composables/useRtl.js";
|
|
6
|
+
const J = /* @__PURE__ */ Symbol("appshell-layout-ctx");
|
|
7
|
+
function ne(e, v) {
|
|
8
|
+
const O = e.breadcrumb ? q({
|
|
9
9
|
homeIcon: e.breadcrumbHomeIcon,
|
|
10
10
|
labelMap: e.breadcrumbLabels || {}
|
|
11
|
-
}) : { items:
|
|
12
|
-
|
|
13
|
-
compact:
|
|
14
|
-
renderNestedTabs:
|
|
15
|
-
setNestedTabs: (l,
|
|
16
|
-
|
|
11
|
+
}) : { items: n(() => []) }, f = I([]), u = d("");
|
|
12
|
+
L("navbar-context", {
|
|
13
|
+
compact: n(() => e.compact),
|
|
14
|
+
renderNestedTabs: n(() => e.renderNestedTabs),
|
|
15
|
+
setNestedTabs: (l, i) => {
|
|
16
|
+
f.value = l, u.value = i;
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
const
|
|
20
|
-
() =>
|
|
21
|
-
)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
const b = d(!1), w = d(null), s = d(null), H = n(
|
|
20
|
+
() => (e.breakpointSource ?? "viewport") === "container" ? "@container" : ""
|
|
21
|
+
);
|
|
22
|
+
k(w, (l, i, t) => {
|
|
23
|
+
if ((e.breakpointSource ?? "viewport") !== "container" || !l) {
|
|
24
|
+
s.value = null;
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
const o = new ResizeObserver((a) => {
|
|
28
|
+
s.value = a[0]?.contentRect.width ?? 0;
|
|
29
|
+
});
|
|
30
|
+
o.observe(l), t(() => o.disconnect());
|
|
31
|
+
});
|
|
32
|
+
const x = d(!1), r = d(null), h = d(null), j = G(), y = n(() => j.value), R = n(
|
|
33
|
+
() => y.value ? "opacity-0 translate-x-2" : "opacity-0 -translate-x-2"
|
|
34
|
+
), c = W("vlite-appshell-sidebar-visible", !0), $ = n(() => e.sidebarToggle && v), E = () => {
|
|
35
|
+
c.value = !c.value;
|
|
36
|
+
}, B = n(() => e.hideSidebar || $.value && !c.value), M = (l) => {
|
|
37
|
+
f.value.find((t) => t.value === l) && (typeof l == "string" && l.startsWith("/") ? import("vue-router").then(({ useRouter: t }) => {
|
|
38
|
+
t().push(l).catch(() => {
|
|
26
39
|
});
|
|
27
|
-
}) :
|
|
28
|
-
},
|
|
29
|
-
|
|
40
|
+
}) : u.value = l);
|
|
41
|
+
}, S = () => {
|
|
42
|
+
x.value = window.scrollY > 10;
|
|
30
43
|
};
|
|
31
|
-
|
|
32
|
-
window.addEventListener("scroll",
|
|
33
|
-
}),
|
|
34
|
-
window.removeEventListener("scroll",
|
|
44
|
+
Y(() => {
|
|
45
|
+
window.addEventListener("scroll", S, { passive: !0 });
|
|
46
|
+
}), _(() => {
|
|
47
|
+
window.removeEventListener("scroll", S);
|
|
35
48
|
});
|
|
36
|
-
const
|
|
37
|
-
const l = e.mobileBreakpoint || "md",
|
|
38
|
-
sm:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
49
|
+
const p = n(() => {
|
|
50
|
+
const l = e.mobileBreakpoint || "md", i = e.compact ? "w-20" : "", t = (e.breakpointSource ?? "viewport") === "container", o = {
|
|
51
|
+
sm: {
|
|
52
|
+
mobileTrigger: "sm:hidden",
|
|
53
|
+
desktopContent: "hidden sm:flex",
|
|
54
|
+
sidebarLayout: `flex flex-col max-sm:w-full ${i} h-auto sm:h-full sm:max-h-screen shrink-0`,
|
|
55
|
+
mobileHeader: "sm:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
|
|
56
|
+
desktopSidebar: "hidden sm:flex flex-col h-full w-full overflow-hidden",
|
|
57
|
+
desktopOnly: "hidden sm:flex",
|
|
58
|
+
mobileSidebar: "max-sm:hidden"
|
|
59
|
+
},
|
|
60
|
+
md: {
|
|
61
|
+
mobileTrigger: "md:hidden",
|
|
62
|
+
desktopContent: "hidden md:flex",
|
|
63
|
+
sidebarLayout: `flex flex-col max-md:w-full ${i} h-auto md:h-full md:max-h-screen shrink-0`,
|
|
64
|
+
mobileHeader: "md:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
|
|
65
|
+
desktopSidebar: "hidden md:flex flex-col h-full w-full overflow-hidden",
|
|
66
|
+
desktopOnly: "hidden md:flex",
|
|
67
|
+
mobileSidebar: "max-md:hidden"
|
|
68
|
+
},
|
|
69
|
+
lg: {
|
|
70
|
+
mobileTrigger: "lg:hidden",
|
|
71
|
+
desktopContent: "hidden lg:flex",
|
|
72
|
+
sidebarLayout: `flex flex-col max-lg:w-full ${i} h-auto lg:h-full lg:max-h-screen shrink-0`,
|
|
73
|
+
mobileHeader: "lg:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
|
|
74
|
+
desktopSidebar: "hidden lg:flex flex-col h-full w-full overflow-hidden",
|
|
75
|
+
desktopOnly: "hidden lg:flex",
|
|
76
|
+
mobileSidebar: "max-lg:hidden"
|
|
77
|
+
},
|
|
78
|
+
xl: {
|
|
79
|
+
mobileTrigger: "xl:hidden",
|
|
80
|
+
desktopContent: "hidden xl:flex",
|
|
81
|
+
sidebarLayout: `flex flex-col max-xl:w-full ${i} h-auto xl:h-full xl:max-h-screen shrink-0`,
|
|
82
|
+
mobileHeader: "xl:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
|
|
83
|
+
desktopSidebar: "hidden xl:flex flex-col h-full w-full overflow-hidden",
|
|
84
|
+
desktopOnly: "hidden xl:flex",
|
|
85
|
+
mobileSidebar: "max-xl:hidden"
|
|
86
|
+
}
|
|
87
|
+
}, a = {
|
|
88
|
+
sm: {
|
|
89
|
+
mobileTrigger: "@min-[640px]:hidden",
|
|
90
|
+
desktopContent: "hidden @min-[640px]:flex",
|
|
91
|
+
sidebarLayout: `flex flex-col @max-[639px]:w-full ${i} h-auto @min-[640px]:h-full @min-[640px]:max-h-screen shrink-0`,
|
|
92
|
+
mobileHeader: "@min-[640px]:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
|
|
93
|
+
desktopSidebar: "hidden @min-[640px]:flex flex-col h-full w-full overflow-hidden",
|
|
94
|
+
desktopOnly: "hidden @min-[640px]:flex",
|
|
95
|
+
mobileSidebar: "@max-[639px]:hidden"
|
|
96
|
+
},
|
|
97
|
+
md: {
|
|
98
|
+
mobileTrigger: "@min-[768px]:hidden",
|
|
99
|
+
desktopContent: "hidden @min-[768px]:flex",
|
|
100
|
+
sidebarLayout: `flex flex-col @max-[767px]:w-full ${i} h-auto @min-[768px]:h-full @min-[768px]:max-h-screen shrink-0`,
|
|
101
|
+
mobileHeader: "@min-[768px]:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
|
|
102
|
+
desktopSidebar: "hidden @min-[768px]:flex flex-col h-full w-full overflow-hidden",
|
|
103
|
+
desktopOnly: "hidden @min-[768px]:flex",
|
|
104
|
+
mobileSidebar: "@max-[767px]:hidden"
|
|
105
|
+
},
|
|
106
|
+
lg: {
|
|
107
|
+
mobileTrigger: "@min-[1024px]:hidden",
|
|
108
|
+
desktopContent: "hidden @min-[1024px]:flex",
|
|
109
|
+
sidebarLayout: `flex flex-col @max-[1023px]:w-full ${i} h-auto @min-[1024px]:h-full @min-[1024px]:max-h-screen shrink-0`,
|
|
110
|
+
mobileHeader: "@min-[1024px]:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
|
|
111
|
+
desktopSidebar: "hidden @min-[1024px]:flex flex-col h-full w-full overflow-hidden",
|
|
112
|
+
desktopOnly: "hidden @min-[1024px]:flex",
|
|
113
|
+
mobileSidebar: "@max-[1023px]:hidden"
|
|
114
|
+
},
|
|
115
|
+
xl: {
|
|
116
|
+
mobileTrigger: "@min-[1280px]:hidden",
|
|
117
|
+
desktopContent: "hidden @min-[1280px]:flex",
|
|
118
|
+
sidebarLayout: `flex flex-col @max-[1279px]:w-full ${i} h-auto @min-[1280px]:h-full @min-[1280px]:max-h-screen shrink-0`,
|
|
119
|
+
mobileHeader: "@min-[1280px]:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
|
|
120
|
+
desktopSidebar: "hidden @min-[1280px]:flex flex-col h-full w-full overflow-hidden",
|
|
121
|
+
desktopOnly: "hidden @min-[1280px]:flex",
|
|
122
|
+
mobileSidebar: "@max-[1279px]:hidden"
|
|
123
|
+
}
|
|
75
124
|
};
|
|
76
|
-
|
|
77
|
-
|
|
125
|
+
return (t ? a : o)[l];
|
|
126
|
+
}), z = n(() => {
|
|
127
|
+
const l = e.variant === "sidebar", i = {
|
|
78
128
|
fixed: "relative z-40",
|
|
79
129
|
sticky: "relative z-40",
|
|
80
130
|
relative: "relative z-10",
|
|
81
131
|
absolute: "relative z-40"
|
|
82
|
-
},
|
|
83
|
-
e.glass && (
|
|
132
|
+
}, t = "bg-body", o = [
|
|
133
|
+
e.glass && (x.value || l || e.floating) ? "bg-background/95" : "bg-background",
|
|
84
134
|
e.border && !e.floating ? l ? "border-e border-border" : "border-b border-border" : "",
|
|
85
135
|
e.floating ? "m-4 rounded shadow-lg border border-border/50" : "",
|
|
86
|
-
|
|
87
|
-
],
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
xl: "max-xl:hidden"
|
|
92
|
-
}[h] : "";
|
|
93
|
-
let g = "";
|
|
94
|
-
return l ? g = y.value.sidebarLayout : g = `flex items-center gap-4 w-full px-4 sm:px-6 lg:px-8 ${e.height}`, [s, n[e.position], ...r, g, x, e.class].filter(Boolean).join(" ");
|
|
95
|
-
}), O = t(() => {
|
|
136
|
+
x.value && !e.floating && !l && e.position === "sticky" ? "shadow-sm" : ""
|
|
137
|
+
], a = l ? p.value.mobileSidebar : "";
|
|
138
|
+
let m = "";
|
|
139
|
+
return l ? m = p.value.sidebarLayout : (e.breakpointSource ?? "viewport") === "container" ? m = `flex items-center gap-4 w-full px-4 @min-[640px]:px-6 @min-[1024px]:px-8 ${e.height}` : m = `flex items-center gap-4 w-full px-4 sm:px-6 lg:px-8 ${e.height}`, [t, i[e.position], ...o, m, a, e.class].filter(Boolean).join(" ");
|
|
140
|
+
}), N = n(() => {
|
|
96
141
|
if (e.variant === "sidebar")
|
|
97
142
|
return "flex-1 py-4 overflow-y-auto scrollbar-thin scrollbar-stable";
|
|
98
143
|
if (e.centerPosition === "left")
|
|
99
144
|
return "flex items-center justify-start";
|
|
100
|
-
}),
|
|
101
|
-
|
|
102
|
-
() =>
|
|
145
|
+
}), g = V();
|
|
146
|
+
k(
|
|
147
|
+
() => g.path,
|
|
103
148
|
() => {
|
|
104
|
-
|
|
105
|
-
|
|
149
|
+
b.value = !1, U(() => {
|
|
150
|
+
r.value && (r.value.scrollTop = 0, r.value.firstElementChild && (r.value.firstElementChild.scrollTop = 0)), h.value && (h.value.scrollTop = 0);
|
|
106
151
|
});
|
|
107
152
|
}
|
|
108
153
|
);
|
|
109
|
-
const
|
|
110
|
-
|
|
111
|
-
l && (
|
|
154
|
+
const P = { sm: 640, md: 768, lg: 1024, xl: 1280 }, A = F(K).greater(e.mobileBreakpoint), T = n(() => (e.breakpointSource ?? "viewport") !== "container" ? A.value : s.value == null ? null : s.value >= P[e.mobileBreakpoint || "md"]);
|
|
155
|
+
k(T, (l) => {
|
|
156
|
+
l && (b.value = !1);
|
|
112
157
|
});
|
|
113
|
-
const
|
|
158
|
+
const D = n(() => g.meta?.title || g.name || ""), C = {
|
|
114
159
|
props: e,
|
|
115
160
|
isLayoutMode: v,
|
|
116
|
-
isMobileMenuOpen:
|
|
117
|
-
isSidebarVisible:
|
|
161
|
+
isMobileMenuOpen: b,
|
|
162
|
+
isSidebarVisible: c,
|
|
118
163
|
sidebarHidden: B,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
164
|
+
isDesktop: T,
|
|
165
|
+
shellRef: w,
|
|
166
|
+
shellClass: H,
|
|
167
|
+
pageTitle: D,
|
|
168
|
+
isScrolled: x,
|
|
169
|
+
isRtl: y,
|
|
170
|
+
sidebarSlideFromClass: R,
|
|
171
|
+
mainScrollRef: r,
|
|
172
|
+
layoutMainRef: h,
|
|
173
|
+
toggleSidebar: E,
|
|
174
|
+
handleNestedTabClick: M,
|
|
175
|
+
breakpointClasses: p,
|
|
176
|
+
containerClasses: z,
|
|
177
|
+
centerClasses: N,
|
|
178
|
+
breadcrumbData: O,
|
|
179
|
+
nestedTabsItems: f,
|
|
180
|
+
activeNestedTab: u
|
|
133
181
|
};
|
|
134
|
-
return
|
|
182
|
+
return L(J, C), C;
|
|
135
183
|
}
|
|
136
184
|
export {
|
|
137
|
-
|
|
138
|
-
|
|
185
|
+
J as APPSHELL_LAYOUT_KEY,
|
|
186
|
+
ne as useAppShell
|
|
139
187
|
};
|
|
@@ -4,7 +4,7 @@ import _ from "../Icon.vue.js";
|
|
|
4
4
|
import { $t as E } from "../../utils/i18n.js";
|
|
5
5
|
import { useCommandPaletteItems as Y } from "./useCommandPaletteItems.js";
|
|
6
6
|
import { useCommandPaletteNav as Z } from "./useCommandPaletteNav.js";
|
|
7
|
-
import ee from "./
|
|
7
|
+
import ee from "./CommandPaletteItem.vue.js";
|
|
8
8
|
const te = { class: "command-palette-content flex flex-col w-full h-full max-h-[70vh]" }, oe = { class: "flex items-center gap-3 px-4 py-3 border-b border-border/80 shrink-0" }, se = ["placeholder"], ne = ["aria-label"], re = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "flex flex-col items-center justify-center py-14 px-6 text-center select-none",
|
|
@@ -7,6 +7,7 @@ import Xe from "../Accordion/Accordion.vue.js";
|
|
|
7
7
|
import S from "../Button.vue.js";
|
|
8
8
|
import Ze from "../BackButton.vue.js";
|
|
9
9
|
import _e from "../Timeline/Timeline.vue.js";
|
|
10
|
+
/* empty css */
|
|
10
11
|
import "@iconify/vue";
|
|
11
12
|
import "../../icons/IconRegistry.js";
|
|
12
13
|
import { resolveI18nText as et } from "../../utils/i18n.js";
|
|
@@ -32,7 +33,7 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
32
33
|
}, ft = {
|
|
33
34
|
key: 0,
|
|
34
35
|
class: "flex gap-3 items-center"
|
|
35
|
-
},
|
|
36
|
+
}, zt = /* @__PURE__ */ Ge({
|
|
36
37
|
__name: "Form",
|
|
37
38
|
props: {
|
|
38
39
|
schema: {},
|
|
@@ -616,5 +617,5 @@ const lt = ["onKeydown"], it = { class: "flex items-center gap-3" }, st = { clas
|
|
|
616
617
|
}
|
|
617
618
|
});
|
|
618
619
|
export {
|
|
619
|
-
|
|
620
|
+
zt as default
|
|
620
621
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as g, computed as d, openBlock as n, createElementBlock as R, createElementVNode as x, createBlock as s, withCtx as k, createTextVNode as B, toDisplayString as I, createCommentVNode as y, unref as l } from "vue";
|
|
2
2
|
import T from "./TableView.vue.js";
|
|
3
|
-
import C from "./
|
|
3
|
+
import C from "./AccordionView2.vue.js";
|
|
4
4
|
import U from "../Label.vue.js";
|
|
5
5
|
import z from "../Button.vue.js";
|
|
6
6
|
import { useCustomFieldRows as N } from "./composables/useCustomFieldRows.js";
|
|
@@ -2,6 +2,7 @@ import { defineComponent as ne, computed as h, ref as y, shallowRef as B, openBl
|
|
|
2
2
|
import me from "../Modal.vue.js";
|
|
3
3
|
import I from "../Button.vue.js";
|
|
4
4
|
import fe from "../Timeline/Timeline.vue.js";
|
|
5
|
+
/* empty css */
|
|
5
6
|
import "@iconify/vue";
|
|
6
7
|
import "../../icons/IconRegistry.js";
|
|
7
8
|
import { $t as E } from "../../utils/i18n.js";
|
|
@@ -16,7 +17,7 @@ import { showToast as j } from "../../composables/useNotifications.js";
|
|
|
16
17
|
const we = { class: "px-2" }, xe = { class: "min-h-[300px]" }, De = {
|
|
17
18
|
key: 0,
|
|
18
19
|
class: "mt-4 p-3 bg-destructive/10 border border-destructive/20 rounded-lg text-sm text-destructive"
|
|
19
|
-
}, ke = { class: "list-disc pl-5 space-y-1" }, _e = { class: "flex items-center justify-between w-full" }, Ie = { key: 1 },
|
|
20
|
+
}, ke = { class: "list-disc pl-5 space-y-1" }, _e = { class: "flex items-center justify-between w-full" }, Ie = { key: 1 }, Pe = /* @__PURE__ */ ne({
|
|
20
21
|
__name: "ImportData",
|
|
21
22
|
props: {
|
|
22
23
|
title: { default: "Import Data" },
|
|
@@ -260,5 +261,5 @@ const we = { class: "px-2" }, xe = { class: "min-h-[300px]" }, De = {
|
|
|
260
261
|
}
|
|
261
262
|
});
|
|
262
263
|
export {
|
|
263
|
-
|
|
264
|
+
Pe as default
|
|
264
265
|
};
|
|
@@ -3,7 +3,7 @@ import L from "./Icon.vue.js";
|
|
|
3
3
|
import v from "./Modal.vue.js";
|
|
4
4
|
import N from "./CommandPalette/CommandPaletteContent.vue.js";
|
|
5
5
|
import { $t as U } from "../utils/i18n.js";
|
|
6
|
-
/* empty css
|
|
6
|
+
/* empty css */
|
|
7
7
|
const V = { class: "block truncate -text-fs-1.5" }, S = { class: "ms-auto inline-flex items-center gap-0.5 px-1.5 py-0.5 rounded text-[10px] font-mono font-medium border border-border/80 bg-background text-muted-foreground ms-1" }, A = /* @__PURE__ */ x({
|
|
8
8
|
__name: "NavbarCommandPalette",
|
|
9
9
|
props: {
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { TimelineStep, TimelineMode, TimelineDirection, TimelineTextPosition, TimelineLineStyle, TimelineIndicatorType, TimelineTone } from '../../types';
|
|
2
3
|
interface Props {
|
|
3
4
|
steps: TimelineStep[];
|
|
5
|
+
mode?: TimelineMode;
|
|
6
|
+
as?: string | Component;
|
|
7
|
+
gap?: number | string;
|
|
4
8
|
activeStep?: number;
|
|
5
9
|
direction?: TimelineDirection;
|
|
6
10
|
textPosition?: TimelineTextPosition;
|
|
7
11
|
lineStyle?: TimelineLineStyle;
|
|
8
12
|
indicatorType?: TimelineIndicatorType;
|
|
13
|
+
tone?: TimelineTone;
|
|
9
14
|
clickable?: boolean;
|
|
10
15
|
class?: string;
|
|
11
16
|
}
|
|
@@ -35,7 +40,7 @@ declare function __VLS_template(): {
|
|
|
35
40
|
}): any;
|
|
36
41
|
};
|
|
37
42
|
refs: {};
|
|
38
|
-
rootEl:
|
|
43
|
+
rootEl: any;
|
|
39
44
|
};
|
|
40
45
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
41
46
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -43,14 +48,18 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
43
48
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
44
49
|
"onStep-click"?: (step: TimelineStep, index: number) => any;
|
|
45
50
|
}>, {
|
|
51
|
+
mode: TimelineMode;
|
|
46
52
|
class: string;
|
|
47
53
|
clickable: boolean;
|
|
48
54
|
direction: TimelineDirection;
|
|
55
|
+
gap: number | string;
|
|
49
56
|
indicatorType: TimelineIndicatorType;
|
|
50
57
|
activeStep: number;
|
|
51
58
|
textPosition: TimelineTextPosition;
|
|
52
59
|
lineStyle: TimelineLineStyle;
|
|
53
|
-
|
|
60
|
+
as: string;
|
|
61
|
+
tone: TimelineTone;
|
|
62
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
54
63
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
55
64
|
export default _default;
|
|
56
65
|
type __VLS_WithTemplateSlots<T, S> = T & {
|