vlite3 0.6.7 → 0.6.9
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/_virtual/_commonjsHelpers.js +6 -0
- package/_virtual/dayjs.min.js +7 -0
- package/_virtual/dayjs.min2.js +4 -0
- package/components/Barcode/Barcode.vue.d.ts +1 -1
- package/components/Breadcrumb/BreadcrumbItem.vue.js +2 -2
- package/components/ConfirmationModal.vue.js +30 -25
- package/components/DataTable/DataTableRow.vue.js +70 -64
- package/components/Date/Date.vue.d.ts +8 -0
- package/components/Date/Date.vue.js +21 -0
- package/components/Date/Date.vue2.js +4 -0
- package/components/Date/index.d.ts +1 -0
- package/components/Dropdown/DropdownMenu.vue.js +1 -1
- package/components/Form/Form.vue.js +1 -1
- package/components/Form/Form.vue2.js +39 -36
- package/components/List/ListFieldRow.vue.js +150 -107
- package/components/Modal.vue.js +2 -2
- package/components/Modal.vue2.js +43 -42
- package/components/Navbar/Navbar.vue.d.ts +33 -19
- package/components/Navbar/Navbar.vue.js +295 -185
- package/components/Navbar/NavbarTabs.vue.js +1 -1
- package/components/PermissionMatrix/PermissionEditor.vue.js +37 -37
- package/components/PermissionMatrix/PermissionEditorList.vue.js +5 -154
- package/components/PermissionMatrix/PermissionEditorList.vue2.js +160 -2
- package/components/PermissionMatrix/PermissionEditorMatrix.vue.js +5 -205
- package/components/PermissionMatrix/PermissionEditorMatrix.vue2.js +204 -2
- package/components/PermissionMatrix/PermissionMatrix.vue.js +1 -1
- package/components/PermissionMatrix/PermissionMatrix.vue2.js +115 -126
- package/components/Price/Price.vue.d.ts +8 -0
- package/components/Price/Price.vue.js +26 -0
- package/components/Price/Price.vue2.js +4 -0
- package/components/Price/index.d.ts +1 -0
- package/components/Screen/Screen.vue.js +19 -19
- package/components/SidebarMenu/SidebarMenu.vue.js +95 -93
- package/components/SidebarMenu/SidebarMenuItem.vue.js +42 -42
- package/components/Tabes/Tabes.vue.d.ts +6 -0
- package/components/Tabes/Tabes.vue.js +63 -56
- package/core/config.d.ts +14 -1
- package/core/config.js +15 -9
- package/core/index.d.ts +0 -22
- package/core/index.js +17 -9
- package/index.d.ts +2 -0
- package/index.js +18 -14
- package/package.json +2 -1
- package/style.css +1 -1
- package/types/config.type.d.ts +6 -0
- package/types/navbar.type.d.ts +7 -17
|
@@ -1,45 +1,60 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useRoute as
|
|
3
|
-
import { useLocalStorage as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
1
|
+
import { defineComponent as se, computed as b, ref as w, provide as oe, useSlots as te, onMounted as ae, onUnmounted as re, watch as W, openBlock as t, createElementBlock as a, createVNode as m, Transition as Y, withCtx as v, withDirectives as q, createElementVNode as r, normalizeClass as n, renderSlot as o, createCommentVNode as d, vShow as G, unref as c, createTextVNode as P, normalizeStyle as ie, Fragment as x, createBlock as $, resolveDynamicComponent as J, toDisplayString as K } from "vue";
|
|
2
|
+
import { useRoute as ne } from "vue-router";
|
|
3
|
+
import { useLocalStorage as de, onClickOutside as ue, useBreakpoints as fe, breakpointsTailwind as me } from "@vueuse/core";
|
|
4
|
+
import B from "../Icon.vue.js";
|
|
5
|
+
import R from "../SidePanel.vue.js";
|
|
6
|
+
import Q from "../Logo.vue.js";
|
|
7
|
+
import X from "./NavbarTabs.vue.js";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import
|
|
9
|
+
import Z from "../Breadcrumb/Breadcrumb.vue.js";
|
|
10
10
|
/* empty css */
|
|
11
|
-
import { useBreadcrumb as
|
|
12
|
-
const
|
|
11
|
+
import { useBreadcrumb as be } from "../../composables/useBreadcrumb.js";
|
|
12
|
+
const ve = {
|
|
13
13
|
key: 0,
|
|
14
|
+
class: "vlite-app-layout flex flex-row w-full h-full bg-body overflow-hidden"
|
|
15
|
+
}, ce = { class: "flex flex-col flex-1 min-w-0 h-full overflow-hidden" }, ge = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "w-full shrink-0 z-20 bg-background"
|
|
18
|
+
}, pe = {
|
|
19
|
+
key: 1,
|
|
20
|
+
class: "flex-1 overflow-y-auto w-full relative h-full flex flex-col min-h-0"
|
|
21
|
+
}, he = {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: "shrink-0 w-full"
|
|
24
|
+
}, ye = { class: "flex-1 overflow-y-auto w-full relative h-full" }, ke = { class: "flex flex-col h-full" }, we = { class: "flex-1 overflow-y-auto px-3.5 pt-4" }, xe = {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: "mt-auto pt-2 border-t border-border px-3 py-2"
|
|
27
|
+
}, $e = {
|
|
28
|
+
key: 1,
|
|
14
29
|
class: "vlite-app-layout flex flex-col w-full h-full bg-body overflow-hidden"
|
|
15
|
-
},
|
|
30
|
+
}, Ce = {
|
|
16
31
|
key: 0,
|
|
17
32
|
class: "w-full shrink-0 z-50 flex flex-col relative"
|
|
18
|
-
},
|
|
33
|
+
}, Te = { class: "flex flex-1 w-full overflow-hidden relative" }, ze = { class: "flex items-center gap-4 shrink-0 z-10" }, Be = { key: 1 }, Se = { key: 2 }, Ve = {
|
|
19
34
|
key: 0,
|
|
20
35
|
class: "flex-1 overflow-y-auto w-full relative h-full flex flex-col"
|
|
21
|
-
},
|
|
36
|
+
}, Me = {
|
|
22
37
|
key: 0,
|
|
23
38
|
class: "shrink-0 w-full"
|
|
24
|
-
},
|
|
39
|
+
}, Oe = { class: "flex-1 overflow-y-auto w-full relative h-full" }, Ne = { class: "flex flex-col max-h-[80vh] overflow-y-auto" }, Le = { class: "space-y-1 p-2" }, Pe = { class: "space-y-1 p-2" }, Re = { class: "flex flex-col space-y-6 pt-4 h-full" }, He = {
|
|
25
40
|
key: 0,
|
|
26
41
|
class: "flex flex-col space-y-1"
|
|
27
|
-
},
|
|
42
|
+
}, je = {
|
|
28
43
|
key: 1,
|
|
29
44
|
class: "flex flex-col space-y-4 flex-1 overflow-y-auto px-3.5!"
|
|
30
|
-
},
|
|
45
|
+
}, Ie = {
|
|
31
46
|
key: 2,
|
|
32
47
|
class: "mt-auto pt-2 border-t border-border px-3! py-2!"
|
|
33
|
-
},
|
|
48
|
+
}, Ue = { class: "flex items-center gap-4 shrink-0 z-10" }, Ae = { key: 1 }, De = { key: 2 }, Ee = { class: "flex flex-col max-h-[80vh] overflow-y-auto" }, Fe = { class: "space-y-1 p-2" }, We = { class: "space-y-1 p-2" }, Ye = { class: "flex flex-col space-y-6 pt-4 h-full" }, qe = {
|
|
34
49
|
key: 0,
|
|
35
50
|
class: "flex flex-col space-y-1"
|
|
36
|
-
},
|
|
51
|
+
}, Ge = {
|
|
37
52
|
key: 1,
|
|
38
53
|
class: "flex flex-col space-y-4 flex-1 overflow-y-auto px-3.5!"
|
|
39
|
-
},
|
|
54
|
+
}, Je = {
|
|
40
55
|
key: 2,
|
|
41
56
|
class: "mt-auto pt-2 border-t border-border px-3! py-2!"
|
|
42
|
-
},
|
|
57
|
+
}, nl = /* @__PURE__ */ se({
|
|
43
58
|
__name: "Navbar",
|
|
44
59
|
props: {
|
|
45
60
|
variant: { default: "header" },
|
|
@@ -69,63 +84,64 @@ const be = {
|
|
|
69
84
|
breadcrumbSize: { default: "sm" },
|
|
70
85
|
breadcrumbLabels: {},
|
|
71
86
|
breadcrumbHomeIcon: { default: "lucide:home" },
|
|
72
|
-
breadcrumbClass: { default: "" }
|
|
87
|
+
breadcrumbClass: { default: "" },
|
|
88
|
+
layoutMode: { default: "sidebar-first" }
|
|
73
89
|
},
|
|
74
90
|
emits: ["toggle-mobile"],
|
|
75
|
-
setup(
|
|
76
|
-
const l =
|
|
91
|
+
setup(g, { emit: Ke }) {
|
|
92
|
+
const l = g, h = l.breadcrumb ? be({
|
|
77
93
|
homeIcon: l.breadcrumbHomeIcon,
|
|
78
94
|
labelMap: l.breadcrumbLabels || {}
|
|
79
|
-
}) : { items: b(() => []) },
|
|
80
|
-
|
|
95
|
+
}) : { items: b(() => []) }, y = w([]), k = w("");
|
|
96
|
+
oe("navbar-context", {
|
|
81
97
|
compact: b(() => l.compact),
|
|
82
98
|
renderNestedTabs: b(() => l.renderNestedTabs),
|
|
83
99
|
setNestedTabs: (e, s) => {
|
|
84
|
-
|
|
100
|
+
y.value = e, k.value = s;
|
|
85
101
|
}
|
|
86
102
|
});
|
|
87
|
-
const i =
|
|
88
|
-
|
|
103
|
+
const i = w(!1), S = w(!1), H = te(), V = w(null), C = w(null), T = de("vlite-navbar-sidebar-visible", !0), j = (e) => {
|
|
104
|
+
y.value.find((u) => u.value === e) && (typeof e == "string" && e.startsWith("/") ? import("vue-router").then(({ useRouter: u }) => {
|
|
89
105
|
u().push(e).catch(() => {
|
|
90
106
|
});
|
|
91
|
-
}) :
|
|
92
|
-
},
|
|
93
|
-
|
|
107
|
+
}) : k.value = e);
|
|
108
|
+
}, p = b(() => !!(H.header || H.main)), I = b(() => l.sidebarToggle && p.value), U = () => {
|
|
109
|
+
T.value = !T.value;
|
|
94
110
|
};
|
|
95
|
-
|
|
96
|
-
|
|
111
|
+
ue(
|
|
112
|
+
V,
|
|
97
113
|
() => {
|
|
98
114
|
i.value = !1;
|
|
99
115
|
},
|
|
100
|
-
{ ignore: [
|
|
116
|
+
{ ignore: [C] }
|
|
101
117
|
);
|
|
102
|
-
const
|
|
118
|
+
const A = () => {
|
|
103
119
|
S.value = window.scrollY > 10;
|
|
104
120
|
};
|
|
105
|
-
|
|
106
|
-
window.addEventListener("scroll",
|
|
107
|
-
}),
|
|
108
|
-
window.removeEventListener("scroll",
|
|
121
|
+
ae(() => {
|
|
122
|
+
window.addEventListener("scroll", A, { passive: !0 });
|
|
123
|
+
}), re(() => {
|
|
124
|
+
window.removeEventListener("scroll", A);
|
|
109
125
|
});
|
|
110
|
-
const
|
|
126
|
+
const D = b(() => {
|
|
111
127
|
const e = l.variant === "sidebar", s = {
|
|
112
|
-
fixed:
|
|
113
|
-
sticky:
|
|
128
|
+
fixed: p.value ? "relative z-40" : "fixed top-0 left-0 z-40",
|
|
129
|
+
sticky: p.value ? "relative z-40" : "sticky top-0 z-40",
|
|
114
130
|
relative: "relative z-10",
|
|
115
|
-
absolute:
|
|
116
|
-
}, u = "bg-body",
|
|
131
|
+
absolute: p.value ? "relative z-40" : "absolute top-0 left-0 w-full z-40"
|
|
132
|
+
}, u = "bg-body", z = [
|
|
117
133
|
l.glass && (S.value || e || l.floating) ? "backdrop-blur-md bg-background/80 supports-[backdrop-filter]:bg-background/60" : "bg-background",
|
|
118
134
|
l.border && !l.floating ? e ? "border-r border-border" : "border-b border-border" : "",
|
|
119
135
|
l.floating ? "m-4 rounded shadow-lg border border-border/50" : "",
|
|
120
136
|
S.value && !l.floating && !e && l.position === "sticky" ? "shadow-sm" : ""
|
|
121
|
-
],
|
|
137
|
+
], M = l.mobileBreakpoint || "md", O = {
|
|
122
138
|
sm: "max-sm:hidden",
|
|
123
139
|
md: "max-md:hidden",
|
|
124
140
|
lg: "max-lg:hidden",
|
|
125
141
|
xl: "max-xl:hidden"
|
|
126
|
-
}, N =
|
|
142
|
+
}, N = p.value && e ? O[M] : "";
|
|
127
143
|
let L = "";
|
|
128
|
-
return e ? L = f.value.sidebarLayout : L = `flex items-center gap-4 w-full px-4 sm:px-6 lg:px-8 ${l.height}`, [u, s[l.position], ...
|
|
144
|
+
return e ? L = f.value.sidebarLayout : L = `flex items-center gap-4 w-full px-4 sm:px-6 lg:px-8 ${l.height}`, [u, s[l.position], ...z, L, N, l.class].filter(Boolean).join(" ");
|
|
129
145
|
}), f = b(() => {
|
|
130
146
|
const e = l.mobileBreakpoint || "md", s = {
|
|
131
147
|
sm: "sm:hidden",
|
|
@@ -137,17 +153,17 @@ const be = {
|
|
|
137
153
|
md: "hidden md:flex",
|
|
138
154
|
lg: "hidden lg:flex",
|
|
139
155
|
xl: "hidden xl:flex"
|
|
140
|
-
},
|
|
156
|
+
}, z = {
|
|
141
157
|
sm: `flex flex-col max-sm:w-full ${l.compact ? "w-20" : ""} h-auto sm:h-full sm:max-h-screen shrink-0`,
|
|
142
158
|
md: `flex flex-col max-md:w-full ${l.compact ? "w-20" : ""} h-auto md:h-full md:max-h-screen shrink-0`,
|
|
143
159
|
lg: `flex flex-col max-lg:w-full ${l.compact ? "w-20" : ""} h-auto lg:h-full lg:max-h-screen shrink-0`,
|
|
144
160
|
xl: `flex flex-col max-xl:w-full ${l.compact ? "w-20" : ""} h-auto xl:h-full xl:max-h-screen shrink-0`
|
|
145
|
-
},
|
|
161
|
+
}, M = {
|
|
146
162
|
sm: "sm:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
|
|
147
163
|
md: "md:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
|
|
148
164
|
lg: "lg:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background",
|
|
149
165
|
xl: "xl:hidden flex items-center justify-between px-4 py-3 shrink-0 bg-background"
|
|
150
|
-
},
|
|
166
|
+
}, O = {
|
|
151
167
|
sm: "hidden sm:flex flex-col h-full w-full overflow-hidden",
|
|
152
168
|
md: "hidden md:flex flex-col h-full w-full overflow-hidden",
|
|
153
169
|
lg: "hidden lg:flex flex-col h-full w-full overflow-hidden",
|
|
@@ -161,39 +177,137 @@ const be = {
|
|
|
161
177
|
return {
|
|
162
178
|
mobileTrigger: s[e],
|
|
163
179
|
desktopContent: u[e],
|
|
164
|
-
sidebarLayout:
|
|
165
|
-
mobileHeader:
|
|
166
|
-
desktopSidebar:
|
|
180
|
+
sidebarLayout: z[e],
|
|
181
|
+
mobileHeader: M[e],
|
|
182
|
+
desktopSidebar: O[e],
|
|
167
183
|
desktopOnly: N[e]
|
|
168
184
|
};
|
|
169
|
-
}),
|
|
185
|
+
}), E = b(() => {
|
|
170
186
|
if (l.variant === "sidebar") return "flex-1 py-4 overflow-y-auto";
|
|
171
187
|
if (l.centerPosition === "left")
|
|
172
188
|
return "flex items-center justify-start";
|
|
173
|
-
}),
|
|
174
|
-
|
|
175
|
-
() =>
|
|
189
|
+
}), _ = ne();
|
|
190
|
+
W(
|
|
191
|
+
() => _.path,
|
|
176
192
|
() => {
|
|
177
193
|
i.value = !1;
|
|
178
194
|
}
|
|
179
195
|
);
|
|
180
|
-
const
|
|
181
|
-
|
|
196
|
+
const ee = fe(me).greater(l.mobileBreakpoint);
|
|
197
|
+
W(ee, (e) => {
|
|
182
198
|
e && (i.value = !1);
|
|
183
199
|
});
|
|
184
|
-
const
|
|
185
|
-
return (e, s) =>
|
|
186
|
-
|
|
200
|
+
const F = b(() => I.value && !T.value), le = b(() => p.value && l.variant === "sidebar" && l.layoutMode === "sidebar-first");
|
|
201
|
+
return (e, s) => le.value ? (t(), a("div", ve, [
|
|
202
|
+
m(Y, {
|
|
203
|
+
"enter-active-class": "transition-all duration-300 ease-in-out",
|
|
204
|
+
"leave-active-class": "transition-all duration-300 ease-in-out",
|
|
205
|
+
"enter-from-class": "opacity-0 -translate-x-2",
|
|
206
|
+
"enter-to-class": "opacity-100 translate-x-0",
|
|
207
|
+
"leave-from-class": "opacity-100 translate-x-0",
|
|
208
|
+
"leave-to-class": "opacity-0 -translate-x-2"
|
|
209
|
+
}, {
|
|
210
|
+
default: v(() => [
|
|
211
|
+
q(r("nav", {
|
|
212
|
+
class: n([
|
|
213
|
+
"shrink-0 h-full flex flex-col bg-background border-r border-border overflow-hidden z-30",
|
|
214
|
+
f.value.mobileTrigger === "md:hidden" ? "max-md:hidden" : "",
|
|
215
|
+
l.class
|
|
216
|
+
]),
|
|
217
|
+
role: "navigation",
|
|
218
|
+
"aria-label": "Sidebar"
|
|
219
|
+
}, [
|
|
220
|
+
r("div", {
|
|
221
|
+
class: n(["flex-1 overflow-y-auto overflow-x-hidden scrollbar-thin", l.contentClass])
|
|
222
|
+
}, [
|
|
223
|
+
o(e.$slots, "default")
|
|
224
|
+
], 2),
|
|
225
|
+
e.$slots.right ? (t(), a("div", {
|
|
226
|
+
key: 0,
|
|
227
|
+
class: n(["shrink-0 border-t border-border bg-background", l.rightClass])
|
|
228
|
+
}, [
|
|
229
|
+
o(e.$slots, "right")
|
|
230
|
+
], 2)) : d("", !0)
|
|
231
|
+
], 2), [
|
|
232
|
+
[G, !F.value]
|
|
233
|
+
])
|
|
234
|
+
]),
|
|
235
|
+
_: 3
|
|
236
|
+
}),
|
|
237
|
+
r("div", ce, [
|
|
238
|
+
e.$slots.header ? (t(), a("header", ge, [
|
|
239
|
+
o(e.$slots, "header", {
|
|
240
|
+
isOpen: i.value,
|
|
241
|
+
toggle: () => i.value = !i.value,
|
|
242
|
+
sidebarVisible: c(T),
|
|
243
|
+
toggleSidebar: U,
|
|
244
|
+
breadcrumbItems: c(h).items.value
|
|
245
|
+
})
|
|
246
|
+
])) : d("", !0),
|
|
247
|
+
e.$slots.main ? (t(), a("main", pe, [
|
|
248
|
+
l.renderNestedTabs && y.value.length > 0 ? (t(), a("div", he, [
|
|
249
|
+
m(X, {
|
|
250
|
+
modelValue: k.value,
|
|
251
|
+
"onUpdate:modelValue": s[0] || (s[0] = (u) => k.value = u),
|
|
252
|
+
onChange: j,
|
|
253
|
+
items: y.value
|
|
254
|
+
}, null, 8, ["modelValue", "items"])
|
|
255
|
+
])) : d("", !0),
|
|
256
|
+
l.breadcrumb && l.breadcrumbPosition === "main" && c(h).items.value.length > 1 ? (t(), a("div", {
|
|
257
|
+
key: 1,
|
|
258
|
+
class: n(["shrink-0 w-full border-b border-border px-6 py-2", l.breadcrumbClass])
|
|
259
|
+
}, [
|
|
260
|
+
m(c(Z), {
|
|
261
|
+
items: c(h).items.value,
|
|
262
|
+
variant: l.breadcrumbVariant,
|
|
263
|
+
separator: l.breadcrumbSeparator,
|
|
264
|
+
size: l.breadcrumbSize
|
|
265
|
+
}, null, 8, ["items", "variant", "separator", "size"])
|
|
266
|
+
], 2)) : d("", !0),
|
|
267
|
+
r("div", ye, [
|
|
268
|
+
o(e.$slots, "main")
|
|
269
|
+
])
|
|
270
|
+
])) : d("", !0)
|
|
271
|
+
]),
|
|
272
|
+
m(R, {
|
|
273
|
+
show: i.value,
|
|
274
|
+
"onUpdate:show": s[1] || (s[1] = (u) => i.value = u),
|
|
275
|
+
position: "left",
|
|
276
|
+
size: "sm",
|
|
277
|
+
triggerClass: f.value.mobileTrigger,
|
|
278
|
+
class: n(["z-60", f.value.mobileTrigger]),
|
|
279
|
+
headerClass: "pl-3! pr-4.5! py-3!",
|
|
280
|
+
bodyClass: "p-0!"
|
|
281
|
+
}, {
|
|
282
|
+
header: v(() => [
|
|
283
|
+
o(e.$slots, "logo", {}, () => [
|
|
284
|
+
s[9] || (s[9] = P("Brand", -1))
|
|
285
|
+
])
|
|
286
|
+
]),
|
|
287
|
+
default: v(() => [
|
|
288
|
+
r("div", ke, [
|
|
289
|
+
r("div", we, [
|
|
290
|
+
o(e.$slots, "default")
|
|
291
|
+
]),
|
|
292
|
+
e.$slots.right ? (t(), a("div", xe, [
|
|
293
|
+
o(e.$slots, "right")
|
|
294
|
+
])) : d("", !0)
|
|
295
|
+
])
|
|
296
|
+
]),
|
|
297
|
+
_: 3
|
|
298
|
+
}, 8, ["show", "triggerClass", "class"])
|
|
299
|
+
])) : p.value ? (t(), a("div", $e, [
|
|
300
|
+
e.$slots.header ? (t(), a("header", Ce, [
|
|
187
301
|
o(e.$slots, "header", {
|
|
188
302
|
isOpen: i.value,
|
|
189
303
|
toggle: () => i.value = !i.value,
|
|
190
|
-
sidebarVisible:
|
|
191
|
-
toggleSidebar:
|
|
192
|
-
breadcrumbItems:
|
|
304
|
+
sidebarVisible: c(T),
|
|
305
|
+
toggleSidebar: U,
|
|
306
|
+
breadcrumbItems: c(h).items.value
|
|
193
307
|
})
|
|
194
308
|
])) : d("", !0),
|
|
195
|
-
|
|
196
|
-
|
|
309
|
+
r("div", Te, [
|
|
310
|
+
m(Y, {
|
|
197
311
|
"enter-active-class": "transition-all duration-300 ease-in-out overflow-hidden",
|
|
198
312
|
"leave-active-class": "transition-all duration-300 ease-in-out overflow-hidden",
|
|
199
313
|
"enter-from-class": "opacity-0",
|
|
@@ -201,121 +315,119 @@ const be = {
|
|
|
201
315
|
"leave-from-class": "opacity-100",
|
|
202
316
|
"leave-to-class": "opacity-0"
|
|
203
317
|
}, {
|
|
204
|
-
default:
|
|
205
|
-
|
|
206
|
-
class: n(
|
|
318
|
+
default: v(() => [
|
|
319
|
+
q(r("nav", {
|
|
320
|
+
class: n(D.value),
|
|
207
321
|
role: "navigation",
|
|
208
|
-
style:
|
|
322
|
+
style: ie(I.value ? "transition: width 0.3s ease, opacity 0.3s ease;" : "")
|
|
209
323
|
}, [
|
|
210
|
-
|
|
211
|
-
|
|
324
|
+
g.variant === "header" ? (t(), a(x, { key: 0 }, [
|
|
325
|
+
r("div", ze, [
|
|
212
326
|
o(e.$slots, "mobile-trigger", {
|
|
213
327
|
isOpen: i.value,
|
|
214
328
|
toggle: () => i.value = !i.value
|
|
215
329
|
}, () => [
|
|
216
|
-
|
|
330
|
+
r("button", {
|
|
217
331
|
type: "button",
|
|
218
332
|
ref_key: "mobileTriggerRef",
|
|
219
|
-
ref:
|
|
333
|
+
ref: C,
|
|
220
334
|
class: n(["p-2 -ml-2 text-muted-foreground hover:bg-accent rounded-md shrink-0", [f.value.mobileTrigger, l.mobileTriggerClass]]),
|
|
221
|
-
onClick: s[
|
|
335
|
+
onClick: s[2] || (s[2] = (u) => i.value = !i.value)
|
|
222
336
|
}, [
|
|
223
|
-
|
|
337
|
+
m(B, {
|
|
224
338
|
icon: "lucide:menu",
|
|
225
339
|
class: "w-5 h-5"
|
|
226
340
|
}),
|
|
227
|
-
s[
|
|
341
|
+
s[10] || (s[10] = r("span", { class: "sr-only" }, "Open Menu", -1))
|
|
228
342
|
], 2)
|
|
229
343
|
]),
|
|
230
|
-
e.$slots?.logo ? (t(),
|
|
344
|
+
e.$slots?.logo ? (t(), a("div", {
|
|
231
345
|
key: 0,
|
|
232
346
|
class: n(["shrink-0", l.logoClass])
|
|
233
347
|
}, [
|
|
234
348
|
o(e.$slots, "logo", {}, () => [
|
|
235
|
-
(t(),
|
|
349
|
+
(t(), $(J(l.logo ? "img" : "div"), {
|
|
236
350
|
src: l.logo,
|
|
237
351
|
class: "h-8 w-auto font-bold text-xl flex items-center gap-2"
|
|
238
352
|
}, {
|
|
239
|
-
default:
|
|
240
|
-
l.logo ? d("", !0) : (t(),
|
|
353
|
+
default: v(() => [
|
|
354
|
+
l.logo ? d("", !0) : (t(), $(Q, {
|
|
241
355
|
key: 0,
|
|
242
356
|
class: "h-6 w-6"
|
|
243
357
|
})),
|
|
244
|
-
!l.logo && l.logoAlt ? (t(),
|
|
358
|
+
!l.logo && l.logoAlt ? (t(), a("span", Be, K(l.logoAlt), 1)) : l.logo ? d("", !0) : (t(), a("span", Se, "Brand"))
|
|
245
359
|
]),
|
|
246
360
|
_: 1
|
|
247
361
|
}, 8, ["src"]))
|
|
248
362
|
])
|
|
249
363
|
], 2)) : d("", !0),
|
|
250
|
-
e.$slots?.left ? (t(),
|
|
364
|
+
e.$slots?.left ? (t(), a("div", {
|
|
251
365
|
key: 1,
|
|
252
366
|
class: n(["items-center gap-1 overflow-x-auto no-scrollbar mask-gradient", f.value.desktopContent])
|
|
253
367
|
}, [
|
|
254
368
|
o(e.$slots, "left")
|
|
255
369
|
], 2)) : d("", !0)
|
|
256
370
|
]),
|
|
257
|
-
e.$slots?.center ? (t(),
|
|
371
|
+
e.$slots?.center ? (t(), a("div", {
|
|
258
372
|
key: 0,
|
|
259
|
-
class: n([
|
|
373
|
+
class: n([E.value, "max-w-full", l.contentClass])
|
|
260
374
|
}, [
|
|
261
375
|
o(e.$slots, "center")
|
|
262
376
|
], 2)) : d("", !0),
|
|
263
|
-
|
|
377
|
+
r("div", {
|
|
264
378
|
class: n(["flex items-center gap-2 shrink-0 max-w-[40%] z-10", [
|
|
265
|
-
{
|
|
266
|
-
"ml-auto": m.centerPosition === "left" || m.centerPosition === "center"
|
|
267
|
-
},
|
|
379
|
+
{ "ml-auto": g.centerPosition === "left" || g.centerPosition === "center" },
|
|
268
380
|
l.rightClass
|
|
269
381
|
]])
|
|
270
382
|
}, [
|
|
271
383
|
o(e.$slots, "right")
|
|
272
384
|
], 2)
|
|
273
|
-
], 64)) : (t(),
|
|
274
|
-
e.$slots.header ? d("", !0) : (t(),
|
|
385
|
+
], 64)) : (t(), a(x, { key: 1 }, [
|
|
386
|
+
e.$slots.header ? d("", !0) : (t(), a("div", {
|
|
275
387
|
key: 0,
|
|
276
388
|
class: n(f.value.mobileHeader)
|
|
277
389
|
}, [
|
|
278
390
|
e.$slots?.logo ? o(e.$slots, "logo", { key: 0 }, () => [
|
|
279
|
-
s[
|
|
391
|
+
s[11] || (s[11] = r("div", { class: "font-bold text-xl truncate" }, "Brand", -1))
|
|
280
392
|
]) : d("", !0),
|
|
281
393
|
o(e.$slots, "mobile-trigger", {
|
|
282
394
|
isOpen: i.value,
|
|
283
395
|
toggle: () => i.value = !i.value
|
|
284
396
|
}, () => [
|
|
285
|
-
|
|
397
|
+
r("button", {
|
|
286
398
|
type: "button",
|
|
287
399
|
ref_key: "mobileTriggerRef",
|
|
288
|
-
ref:
|
|
400
|
+
ref: C,
|
|
289
401
|
class: n(["p-2 -mr-2 text-muted-foreground hover:bg-accent rounded-md", l.mobileTriggerClass]),
|
|
290
|
-
onClick: s[
|
|
402
|
+
onClick: s[3] || (s[3] = (u) => i.value = !i.value)
|
|
291
403
|
}, [
|
|
292
|
-
|
|
404
|
+
m(B, {
|
|
293
405
|
icon: "lucide:menu",
|
|
294
406
|
class: "w-5 h-5"
|
|
295
407
|
}),
|
|
296
|
-
s[
|
|
408
|
+
s[12] || (s[12] = r("span", { class: "sr-only" }, "Open Menu", -1))
|
|
297
409
|
], 2)
|
|
298
410
|
])
|
|
299
411
|
], 2)),
|
|
300
|
-
|
|
412
|
+
r("div", {
|
|
301
413
|
class: n(f.value.desktopSidebar)
|
|
302
414
|
}, [
|
|
303
|
-
e.$slots?.logo ? (t(),
|
|
415
|
+
e.$slots?.logo ? (t(), a("div", {
|
|
304
416
|
key: 0,
|
|
305
417
|
class: n(["py-4.5 flex items-center px-4.5 z-10", l.logoClass])
|
|
306
418
|
}, [
|
|
307
419
|
o(e.$slots, "logo", {}, () => [
|
|
308
|
-
s[
|
|
420
|
+
s[13] || (s[13] = r("div", { class: "font-bold text-xl truncate" }, "Brand", -1))
|
|
309
421
|
])
|
|
310
422
|
], 2)) : d("", !0),
|
|
311
|
-
|
|
423
|
+
r("div", {
|
|
312
424
|
class: n(["flex-1 px-2.5 pt-0 pb-4 overflow-y-auto space-y-4 scrollbar-thin", l.contentClass])
|
|
313
425
|
}, [
|
|
314
426
|
o(e.$slots, "left"),
|
|
315
427
|
o(e.$slots, "default"),
|
|
316
428
|
o(e.$slots, "center")
|
|
317
429
|
], 2),
|
|
318
|
-
e.$slots?.right ? (t(),
|
|
430
|
+
e.$slots?.right ? (t(), a("div", {
|
|
319
431
|
key: 1,
|
|
320
432
|
class: n(["p-2 border-t border-border shrink-0 bg-background mt-auto", l.rightClass])
|
|
321
433
|
}, [
|
|
@@ -324,58 +436,58 @@ const be = {
|
|
|
324
436
|
], 2)
|
|
325
437
|
], 64))
|
|
326
438
|
], 6), [
|
|
327
|
-
[
|
|
439
|
+
[G, !F.value]
|
|
328
440
|
])
|
|
329
441
|
]),
|
|
330
442
|
_: 3
|
|
331
443
|
}),
|
|
332
|
-
e.$slots.main ? (t(),
|
|
333
|
-
l.renderNestedTabs &&
|
|
334
|
-
|
|
335
|
-
modelValue:
|
|
336
|
-
"onUpdate:modelValue": s[
|
|
337
|
-
onChange:
|
|
338
|
-
items:
|
|
444
|
+
e.$slots.main ? (t(), a("main", Ve, [
|
|
445
|
+
l.renderNestedTabs && y.value.length > 0 ? (t(), a("div", Me, [
|
|
446
|
+
m(X, {
|
|
447
|
+
modelValue: k.value,
|
|
448
|
+
"onUpdate:modelValue": s[4] || (s[4] = (u) => k.value = u),
|
|
449
|
+
onChange: j,
|
|
450
|
+
items: y.value
|
|
339
451
|
}, null, 8, ["modelValue", "items"])
|
|
340
452
|
])) : d("", !0),
|
|
341
|
-
l.breadcrumb && l.breadcrumbPosition === "main" &&
|
|
453
|
+
l.breadcrumb && l.breadcrumbPosition === "main" && c(h).items.value.length > 1 ? (t(), a("div", {
|
|
342
454
|
key: 1,
|
|
343
455
|
class: n(["shrink-0 w-full border-b border-border px-6 py-2", l.breadcrumbClass])
|
|
344
456
|
}, [
|
|
345
|
-
c(
|
|
346
|
-
items:
|
|
457
|
+
m(c(Z), {
|
|
458
|
+
items: c(h).items.value,
|
|
347
459
|
variant: l.breadcrumbVariant,
|
|
348
460
|
separator: l.breadcrumbSeparator,
|
|
349
461
|
size: l.breadcrumbSize
|
|
350
462
|
}, null, 8, ["items", "variant", "separator", "size"])
|
|
351
463
|
], 2)) : d("", !0),
|
|
352
|
-
|
|
464
|
+
r("div", Oe, [
|
|
353
465
|
o(e.$slots, "main")
|
|
354
466
|
])
|
|
355
467
|
])) : d("", !0),
|
|
356
|
-
l.mobileMenuVariant === "dropdown" ? (t(),
|
|
357
|
-
i.value ? (t(),
|
|
468
|
+
l.mobileMenuVariant === "dropdown" ? (t(), a(x, { key: 1 }, [
|
|
469
|
+
i.value ? (t(), a("div", {
|
|
358
470
|
key: 0,
|
|
359
471
|
ref_key: "mobileMenuRef",
|
|
360
|
-
ref:
|
|
472
|
+
ref: V,
|
|
361
473
|
class: n(["absolute top-[calc(100%_+_1px)] left-0 w-full bg-body border border-border/50 shadow-xl z-50 flex flex-col transition-all duration-300 origin-top overflow-hidden will-change-transform", l.menuClass])
|
|
362
474
|
}, [
|
|
363
|
-
|
|
475
|
+
r("div", Ne, [
|
|
364
476
|
o(e.$slots, "mobile-menu", {}, () => [
|
|
365
|
-
|
|
477
|
+
r("div", Le, [
|
|
366
478
|
o(e.$slots, "left")
|
|
367
479
|
]),
|
|
368
|
-
s[
|
|
369
|
-
|
|
480
|
+
s[14] || (s[14] = r("div", { class: "h-px bg-border/50 my-1 mx-2" }, null, -1)),
|
|
481
|
+
r("div", Pe, [
|
|
370
482
|
o(e.$slots, "center")
|
|
371
483
|
])
|
|
372
484
|
])
|
|
373
485
|
])
|
|
374
486
|
], 2)) : d("", !0)
|
|
375
|
-
], 64)) : (t(),
|
|
487
|
+
], 64)) : (t(), $(R, {
|
|
376
488
|
key: 2,
|
|
377
489
|
show: i.value,
|
|
378
|
-
"onUpdate:show": s[
|
|
490
|
+
"onUpdate:show": s[5] || (s[5] = (u) => i.value = u),
|
|
379
491
|
position: "left",
|
|
380
492
|
size: "sm",
|
|
381
493
|
triggerClass: f.value.mobileTrigger,
|
|
@@ -383,25 +495,25 @@ const be = {
|
|
|
383
495
|
headerClass: "pl-3! pr-4.5! py-3!",
|
|
384
496
|
bodyClass: "p-0!"
|
|
385
497
|
}, {
|
|
386
|
-
header:
|
|
498
|
+
header: v(() => [
|
|
387
499
|
o(e.$slots, "logo", {}, () => [
|
|
388
|
-
s[
|
|
500
|
+
s[15] || (s[15] = P("Brand", -1))
|
|
389
501
|
])
|
|
390
502
|
]),
|
|
391
|
-
default:
|
|
392
|
-
|
|
393
|
-
|
|
503
|
+
default: v(() => [
|
|
504
|
+
r("div", Re, [
|
|
505
|
+
g.variant === "header" ? (t(), a("div", He, [
|
|
394
506
|
o(e.$slots, "mobile-menu", {}, () => [
|
|
395
507
|
o(e.$slots, "left"),
|
|
396
|
-
s[
|
|
508
|
+
s[16] || (s[16] = r("div", { class: "h-px bg-border my-2" }, null, -1)),
|
|
397
509
|
o(e.$slots, "center")
|
|
398
510
|
])
|
|
399
|
-
])) : (t(),
|
|
511
|
+
])) : (t(), a("div", je, [
|
|
400
512
|
o(e.$slots, "left"),
|
|
401
513
|
o(e.$slots, "default"),
|
|
402
514
|
o(e.$slots, "center")
|
|
403
515
|
])),
|
|
404
|
-
e.$slots?.right ? (t(),
|
|
516
|
+
e.$slots?.right ? (t(), a("div", Ie, [
|
|
405
517
|
o(e.$slots, "right")
|
|
406
518
|
])) : d("", !0)
|
|
407
519
|
])
|
|
@@ -409,119 +521,117 @@ const be = {
|
|
|
409
521
|
_: 3
|
|
410
522
|
}, 8, ["show", "triggerClass", "class"]))
|
|
411
523
|
])
|
|
412
|
-
])) : (t(),
|
|
413
|
-
key:
|
|
414
|
-
class: n(
|
|
524
|
+
])) : (t(), a("nav", {
|
|
525
|
+
key: 2,
|
|
526
|
+
class: n(D.value),
|
|
415
527
|
role: "navigation"
|
|
416
528
|
}, [
|
|
417
|
-
|
|
418
|
-
|
|
529
|
+
g.variant === "header" ? (t(), a(x, { key: 0 }, [
|
|
530
|
+
r("div", Ue, [
|
|
419
531
|
o(e.$slots, "mobile-trigger", {
|
|
420
532
|
isOpen: i.value,
|
|
421
533
|
toggle: () => i.value = !i.value
|
|
422
534
|
}, () => [
|
|
423
|
-
|
|
535
|
+
r("button", {
|
|
424
536
|
type: "button",
|
|
425
537
|
ref_key: "mobileTriggerRef",
|
|
426
|
-
ref:
|
|
538
|
+
ref: C,
|
|
427
539
|
class: n(["p-2 -ml-2 text-muted-foreground hover:bg-accent rounded-md shrink-0", [f.value.mobileTrigger, l.mobileTriggerClass]]),
|
|
428
|
-
onClick: s[
|
|
540
|
+
onClick: s[6] || (s[6] = (u) => i.value = !i.value)
|
|
429
541
|
}, [
|
|
430
|
-
|
|
542
|
+
m(B, {
|
|
431
543
|
icon: "lucide:menu",
|
|
432
544
|
class: "w-5 h-5"
|
|
433
545
|
}),
|
|
434
|
-
s[
|
|
546
|
+
s[17] || (s[17] = r("span", { class: "sr-only" }, "Open Menu", -1))
|
|
435
547
|
], 2)
|
|
436
548
|
]),
|
|
437
|
-
e.$slots?.logo ? (t(),
|
|
549
|
+
e.$slots?.logo ? (t(), a("div", {
|
|
438
550
|
key: 0,
|
|
439
551
|
class: n(["shrink-0", l.logoClass])
|
|
440
552
|
}, [
|
|
441
553
|
o(e.$slots, "logo", {}, () => [
|
|
442
|
-
(t(),
|
|
554
|
+
(t(), $(J(l.logo ? "img" : "div"), {
|
|
443
555
|
src: l.logo,
|
|
444
556
|
class: "h-8 w-auto font-bold text-xl flex items-center gap-2"
|
|
445
557
|
}, {
|
|
446
|
-
default:
|
|
447
|
-
l.logo ? d("", !0) : (t(),
|
|
558
|
+
default: v(() => [
|
|
559
|
+
l.logo ? d("", !0) : (t(), $(Q, {
|
|
448
560
|
key: 0,
|
|
449
561
|
class: "h-6 w-6"
|
|
450
562
|
})),
|
|
451
|
-
!l.logo && l.logoAlt ? (t(),
|
|
563
|
+
!l.logo && l.logoAlt ? (t(), a("span", Ae, K(l.logoAlt), 1)) : l.logo ? d("", !0) : (t(), a("span", De, "Brand"))
|
|
452
564
|
]),
|
|
453
565
|
_: 1
|
|
454
566
|
}, 8, ["src"]))
|
|
455
567
|
])
|
|
456
568
|
], 2)) : d("", !0),
|
|
457
|
-
e.$slots?.left ? (t(),
|
|
569
|
+
e.$slots?.left ? (t(), a("div", {
|
|
458
570
|
key: 1,
|
|
459
571
|
class: n(["items-center gap-1 overflow-x-auto no-scrollbar mask-gradient", f.value.desktopContent])
|
|
460
572
|
}, [
|
|
461
573
|
o(e.$slots, "left")
|
|
462
574
|
], 2)) : d("", !0)
|
|
463
575
|
]),
|
|
464
|
-
e.$slots?.center ? (t(),
|
|
576
|
+
e.$slots?.center ? (t(), a("div", {
|
|
465
577
|
key: 0,
|
|
466
|
-
class: n([
|
|
578
|
+
class: n([E.value, "max-w-full", l.contentClass])
|
|
467
579
|
}, [
|
|
468
580
|
o(e.$slots, "center")
|
|
469
581
|
], 2)) : d("", !0),
|
|
470
|
-
|
|
582
|
+
r("div", {
|
|
471
583
|
class: n(["flex items-center gap-2 shrink-0 max-w-[40%] z-10", [
|
|
472
|
-
{
|
|
473
|
-
"ml-auto": m.centerPosition === "left" || m.centerPosition === "center"
|
|
474
|
-
},
|
|
584
|
+
{ "ml-auto": g.centerPosition === "left" || g.centerPosition === "center" },
|
|
475
585
|
l.rightClass
|
|
476
586
|
]])
|
|
477
587
|
}, [
|
|
478
588
|
o(e.$slots, "right")
|
|
479
589
|
], 2)
|
|
480
|
-
], 64)) : (t(),
|
|
481
|
-
|
|
590
|
+
], 64)) : (t(), a(x, { key: 1 }, [
|
|
591
|
+
r("div", {
|
|
482
592
|
class: n(f.value.mobileHeader)
|
|
483
593
|
}, [
|
|
484
594
|
e.$slots?.logo ? o(e.$slots, "logo", { key: 0 }, () => [
|
|
485
|
-
s[
|
|
595
|
+
s[18] || (s[18] = r("div", { class: "font-bold text-xl truncate" }, "Brand", -1))
|
|
486
596
|
]) : d("", !0),
|
|
487
597
|
o(e.$slots, "mobile-trigger", {
|
|
488
598
|
isOpen: i.value,
|
|
489
599
|
toggle: () => i.value = !i.value
|
|
490
600
|
}, () => [
|
|
491
|
-
|
|
601
|
+
r("button", {
|
|
492
602
|
type: "button",
|
|
493
603
|
ref_key: "mobileTriggerRef",
|
|
494
|
-
ref:
|
|
604
|
+
ref: C,
|
|
495
605
|
class: n(["p-2 -mr-2 text-muted-foreground hover:bg-accent rounded-md", l.mobileTriggerClass]),
|
|
496
|
-
onClick: s[
|
|
606
|
+
onClick: s[7] || (s[7] = (u) => i.value = !i.value)
|
|
497
607
|
}, [
|
|
498
|
-
|
|
608
|
+
m(B, {
|
|
499
609
|
icon: "lucide:menu",
|
|
500
610
|
class: "w-5 h-5"
|
|
501
611
|
}),
|
|
502
|
-
s[
|
|
612
|
+
s[19] || (s[19] = r("span", { class: "sr-only" }, "Open Menu", -1))
|
|
503
613
|
], 2)
|
|
504
614
|
])
|
|
505
615
|
], 2),
|
|
506
|
-
|
|
616
|
+
r("div", {
|
|
507
617
|
class: n(f.value.desktopSidebar)
|
|
508
618
|
}, [
|
|
509
|
-
e.$slots?.logo ? (t(),
|
|
619
|
+
e.$slots?.logo ? (t(), a("div", {
|
|
510
620
|
key: 0,
|
|
511
621
|
class: n(["py-4.5 flex items-center px-4.5 z-10", l.logoClass])
|
|
512
622
|
}, [
|
|
513
623
|
o(e.$slots, "logo", {}, () => [
|
|
514
|
-
s[
|
|
624
|
+
s[20] || (s[20] = r("div", { class: "font-bold text-xl truncate" }, "Brand", -1))
|
|
515
625
|
])
|
|
516
626
|
], 2)) : d("", !0),
|
|
517
|
-
|
|
627
|
+
r("div", {
|
|
518
628
|
class: n(["flex-1 px-2.5 pt-0 pb-4 overflow-y-auto space-y-4 scrollbar-thin", l.contentClass])
|
|
519
629
|
}, [
|
|
520
630
|
o(e.$slots, "left"),
|
|
521
631
|
o(e.$slots, "default"),
|
|
522
632
|
o(e.$slots, "center")
|
|
523
633
|
], 2),
|
|
524
|
-
e.$slots?.right ? (t(),
|
|
634
|
+
e.$slots?.right ? (t(), a("div", {
|
|
525
635
|
key: 1,
|
|
526
636
|
class: n(["p-2 border-t border-border shrink-0 bg-background mt-auto", l.rightClass])
|
|
527
637
|
}, [
|
|
@@ -529,29 +639,29 @@ const be = {
|
|
|
529
639
|
], 2)) : d("", !0)
|
|
530
640
|
], 2)
|
|
531
641
|
], 64)),
|
|
532
|
-
l.mobileMenuVariant === "dropdown" ? (t(),
|
|
533
|
-
i.value ? (t(),
|
|
642
|
+
l.mobileMenuVariant === "dropdown" ? (t(), a(x, { key: 2 }, [
|
|
643
|
+
i.value ? (t(), a("div", {
|
|
534
644
|
key: 0,
|
|
535
645
|
ref_key: "mobileMenuRef",
|
|
536
|
-
ref:
|
|
646
|
+
ref: V,
|
|
537
647
|
class: n(["absolute top-[calc(100%_+_1px)] left-0 w-full bg-body border border-border/50 shadow-xl z-50 flex flex-col transition-all duration-300 origin-top overflow-hidden will-change-transform", l.menuClass])
|
|
538
648
|
}, [
|
|
539
|
-
|
|
649
|
+
r("div", Ee, [
|
|
540
650
|
o(e.$slots, "mobile-menu", {}, () => [
|
|
541
|
-
|
|
651
|
+
r("div", Fe, [
|
|
542
652
|
o(e.$slots, "left")
|
|
543
653
|
]),
|
|
544
|
-
s[
|
|
545
|
-
|
|
654
|
+
s[21] || (s[21] = r("div", { class: "h-px bg-border/50 my-1 mx-2" }, null, -1)),
|
|
655
|
+
r("div", We, [
|
|
546
656
|
o(e.$slots, "center")
|
|
547
657
|
])
|
|
548
658
|
])
|
|
549
659
|
])
|
|
550
660
|
], 2)) : d("", !0)
|
|
551
|
-
], 64)) : (t(),
|
|
661
|
+
], 64)) : (t(), $(R, {
|
|
552
662
|
key: 3,
|
|
553
663
|
show: i.value,
|
|
554
|
-
"onUpdate:show": s[
|
|
664
|
+
"onUpdate:show": s[8] || (s[8] = (u) => i.value = u),
|
|
555
665
|
position: "left",
|
|
556
666
|
size: "sm",
|
|
557
667
|
triggerClass: f.value.mobileTrigger,
|
|
@@ -559,25 +669,25 @@ const be = {
|
|
|
559
669
|
headerClass: "pl-3! pr-4.5! py-3!",
|
|
560
670
|
bodyClass: "p-0!"
|
|
561
671
|
}, {
|
|
562
|
-
header:
|
|
672
|
+
header: v(() => [
|
|
563
673
|
o(e.$slots, "logo", {}, () => [
|
|
564
|
-
s[
|
|
674
|
+
s[22] || (s[22] = P("Brand", -1))
|
|
565
675
|
])
|
|
566
676
|
]),
|
|
567
|
-
default:
|
|
568
|
-
|
|
569
|
-
|
|
677
|
+
default: v(() => [
|
|
678
|
+
r("div", Ye, [
|
|
679
|
+
g.variant === "header" ? (t(), a("div", qe, [
|
|
570
680
|
o(e.$slots, "mobile-menu", {}, () => [
|
|
571
681
|
o(e.$slots, "left"),
|
|
572
|
-
s[
|
|
682
|
+
s[23] || (s[23] = r("div", { class: "h-px bg-border my-2" }, null, -1)),
|
|
573
683
|
o(e.$slots, "center")
|
|
574
684
|
])
|
|
575
|
-
])) : (t(),
|
|
685
|
+
])) : (t(), a("div", Ge, [
|
|
576
686
|
o(e.$slots, "left"),
|
|
577
687
|
o(e.$slots, "default"),
|
|
578
688
|
o(e.$slots, "center")
|
|
579
689
|
])),
|
|
580
|
-
e.$slots?.right ? (t(),
|
|
690
|
+
e.$slots?.right ? (t(), a("div", Je, [
|
|
581
691
|
o(e.$slots, "right")
|
|
582
692
|
])) : d("", !0)
|
|
583
693
|
])
|
|
@@ -588,5 +698,5 @@ const be = {
|
|
|
588
698
|
}
|
|
589
699
|
});
|
|
590
700
|
export {
|
|
591
|
-
|
|
701
|
+
nl as default
|
|
592
702
|
};
|