vlite3 1.5.34 → 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.
Files changed (28) hide show
  1. package/components/AppShell/AppShell.vue.d.ts +1 -0
  2. package/components/AppShell/AppShell.vue.js +5 -4
  3. package/components/AppShell/AppShellLayoutClassic.vue.d.ts +15 -4
  4. package/components/AppShell/AppShellLayoutClassic.vue.js +106 -97
  5. package/components/AppShell/AppShellLayoutDashboard.vue.d.ts +15 -4
  6. package/components/AppShell/AppShellLayoutDashboard.vue.js +87 -78
  7. package/components/AppShell/AppShellLayoutDock.vue.d.ts +15 -4
  8. package/components/AppShell/AppShellLayoutDock.vue.js +83 -74
  9. package/components/AppShell/AppShellLayoutHeaderShell.vue.d.ts +15 -4
  10. package/components/AppShell/AppShellLayoutHeaderShell.vue.js +82 -73
  11. package/components/AppShell/AppShellLayoutSidebarFirst.vue.d.ts +15 -4
  12. package/components/AppShell/AppShellLayoutSidebarFirst.vue.js +82 -73
  13. package/components/AppShell/AppShellLayoutStorefront.vue.d.ts +7 -1
  14. package/components/AppShell/AppShellLayoutStorefront.vue.js +119 -107
  15. package/components/AppShell/index.d.ts +1 -1
  16. package/components/AppShell/useAppShell.d.ts +11 -0
  17. package/components/AppShell/useAppShell.js +157 -109
  18. package/components/CommandPalette/CommandPaletteContent2.vue.js +1 -1
  19. package/components/CommandPalette/{CommandPaletteItem2.vue.js → CommandPaletteItem.vue.js} +1 -1
  20. package/components/NavbarCommandPalette.vue.js +1 -1
  21. package/components/Timeline/Timeline.vue.d.ts +3 -1
  22. package/components/Timeline/Timeline.vue.js +24 -22
  23. package/docs/components/app-shell.md +2 -0
  24. package/docs-manifest.json +3 -3
  25. package/package.json +1 -1
  26. package/style.css +1 -1
  27. package/types/appshell.type.d.ts +6 -0
  28. package/types/timeline.type.d.ts +1 -0
@@ -22,6 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Ap
22
22
  breadcrumb: boolean;
23
23
  renderNestedTabs: boolean;
24
24
  categoryRoutePrefix: string;
25
+ breakpointSource: import('../../types/appshell.type').AppShellBreakpointSource;
25
26
  logoClass: string;
26
27
  hideSidebar: boolean;
27
28
  hideHeader: boolean;
@@ -3,8 +3,8 @@ import { useAppShell as B } from "./useAppShell.js";
3
3
  import { normalizeRoutePrefix as C, CATEGORY_MENU_ROUTE_PREFIX_KEY as P } from "../CategoryMenu/utils.js";
4
4
  import l from "./AppShellLayoutSidebarFirst.vue.js";
5
5
  import R from "./AppShellLayoutDashboard.vue.js";
6
- import $ from "./AppShellLayoutDock.vue.js";
7
- import S from "./AppShellLayoutClassic.vue.js";
6
+ import S from "./AppShellLayoutDock.vue.js";
7
+ import $ from "./AppShellLayoutClassic.vue.js";
8
8
  import k from "./AppShellLayoutHeaderShell.vue.js";
9
9
  import x from "./AppShellLayoutStorefront.vue.js";
10
10
  const A = {
@@ -26,6 +26,7 @@ const A = {
26
26
  logo: {},
27
27
  logoAlt: {},
28
28
  mobileBreakpoint: { default: "md" },
29
+ breakpointSource: { default: "viewport" },
29
30
  logoClass: { default: "" },
30
31
  contentClass: { default: "" },
31
32
  menuClass: { default: "" },
@@ -59,9 +60,9 @@ const A = {
59
60
  case "variant2":
60
61
  return e(R);
61
62
  case "variant3":
62
- return e($);
63
- case "variant4":
64
63
  return e(S);
64
+ case "variant4":
65
+ return e($);
65
66
  case "variant5":
66
67
  return e(k);
67
68
  case "variant6":
@@ -8,6 +8,7 @@ declare function __VLS_template(): {
8
8
  toggleSidebar: () => void;
9
9
  breadcrumbItems: any[];
10
10
  pageTitle: string;
11
+ isDesktop: boolean;
11
12
  }): any;
12
13
  'mobile-trigger'?(_: {
13
14
  isOpen: boolean;
@@ -28,19 +29,28 @@ declare function __VLS_template(): {
28
29
  center?(_: {}): any;
29
30
  center?(_: {}): any;
30
31
  right?(_: {}): any;
31
- sidebar?(_: {}): any;
32
- sidebar?(_: {}): any;
32
+ sidebar?(_: {
33
+ isDesktop: boolean;
34
+ }): any;
35
+ sidebar?(_: {
36
+ isDesktop: boolean;
37
+ }): any;
33
38
  'sidebar-footer'?(_: {}): any;
34
39
  'sidebar-footer'?(_: {}): any;
35
- main?(_: {}): any;
40
+ main?(_: {
41
+ isDesktop: boolean;
42
+ }): any;
36
43
  'mobile-menu'?(_: {}): any;
37
44
  'mobile-menu'?(_: {}): any;
38
45
  'mobile-sidebar-header'?(_: {}): any;
39
46
  'sidebar-header'?(_: {}): any;
40
- 'mobile-sidebar'?(_: {}): any;
47
+ 'mobile-sidebar'?(_: {
48
+ isDesktop: boolean;
49
+ }): any;
41
50
  'mobile-sidebar-footer'?(_: {}): any;
42
51
  };
43
52
  refs: {
53
+ shellRef: HTMLDivElement;
44
54
  mobileTriggerRef: HTMLButtonElement;
45
55
  layoutMainRef: HTMLElement;
46
56
  mainScrollRef: HTMLDivElement;
@@ -50,6 +60,7 @@ declare function __VLS_template(): {
50
60
  };
51
61
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
52
62
  declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
63
+ shellRef: HTMLDivElement;
53
64
  mobileTriggerRef: HTMLButtonElement;
54
65
  layoutMainRef: HTMLElement;
55
66
  mainScrollRef: HTMLDivElement;
@@ -1,71 +1,79 @@
1
- import { defineComponent as H, inject as L, ref as $, openBlock as a, createElementBlock as n, withDirectives as w, renderSlot as l, unref as e, vShow as C, createCommentVNode as b, createElementVNode as i, createVNode as m, Transition as A, withCtx as g, normalizeStyle as U, normalizeClass as d, Fragment as y, isRef as T, createBlock as D, createSlots as I, createTextVNode as Y } from "vue";
2
- import { onClickOutside as j } from "@vueuse/core";
3
- import S from "../Icon.vue.js";
4
- import F from "../SidePanel.vue.js";
5
- import K from "../Navbar/NavbarTabs.vue.js";
6
- import q from "../Breadcrumb/Breadcrumb.vue.js";
1
+ import { defineComponent as A, inject as U, ref as C, openBlock as a, createElementBlock as n, normalizeClass as d, unref as e, withDirectives as T, renderSlot as l, vShow as S, createCommentVNode as b, createElementVNode as i, createVNode as c, Transition as I, withCtx as y, normalizeStyle as Y, Fragment as h, isRef as R, createBlock as j, createSlots as F, createTextVNode as K } from "vue";
2
+ import { onClickOutside as q } from "@vueuse/core";
3
+ import z from "../Icon.vue.js";
4
+ import G from "../SidePanel.vue.js";
5
+ import J from "../Navbar/NavbarTabs.vue.js";
6
+ import Q from "../Breadcrumb/Breadcrumb.vue.js";
7
7
  /* empty css */
8
- import { APPSHELL_LAYOUT_KEY as G } from "./useAppShell.js";
9
- const J = { class: "vlite-app-layout flex flex-col w-full h-full bg-body overflow-hidden" }, Q = {
8
+ import { APPSHELL_LAYOUT_KEY as W } from "./useAppShell.js";
9
+ const X = {
10
10
  key: 0,
11
11
  class: "w-full shrink-0 z-50 flex flex-col relative border-b"
12
- }, W = { class: "flex flex-1 w-full overflow-hidden relative" }, X = { class: "flex items-center gap-4 shrink-0 z-10" }, Z = {
12
+ }, Z = { class: "flex flex-1 w-full overflow-hidden relative" }, _ = { class: "flex items-center gap-4 shrink-0 z-10" }, ee = {
13
13
  key: 0,
14
14
  class: "shrink-0 w-full"
15
- }, _ = {
15
+ }, se = {
16
16
  class: "flex flex-col max-h-[80vh] overflow-y-auto scrollbar-thin",
17
17
  style: { "will-change": "transform", contain: "layout style" }
18
- }, ee = { class: "space-y-1 p-2" }, se = { class: "space-y-1 p-2" }, le = { class: "flex flex-col space-y-6 pt-4 h-full" }, oe = {
18
+ }, le = { class: "space-y-1 p-2" }, oe = { class: "space-y-1 p-2" }, re = { class: "flex flex-col space-y-6 pt-4 h-full" }, te = {
19
19
  key: 0,
20
20
  class: "flex flex-col space-y-1"
21
- }, re = {
21
+ }, ae = {
22
22
  key: 1,
23
23
  class: "flex flex-col space-y-4 flex-1 overflow-y-auto px-3.5! scrollbar-thin scrollbar-stable",
24
24
  style: { "will-change": "transform", contain: "layout style" }
25
- }, te = {
25
+ }, ie = {
26
26
  key: 2,
27
27
  class: "mt-auto pt-2 border-t border-border px-3! py-2!"
28
- }, pe = /* @__PURE__ */ H({
28
+ }, ge = /* @__PURE__ */ A({
29
29
  __name: "AppShellLayoutClassic",
30
- setup(ae) {
31
- const z = L(G), {
30
+ setup(ne) {
31
+ const V = U(W), {
32
32
  props: o,
33
- sidebarHidden: V,
33
+ sidebarHidden: x,
34
34
  isMobileMenuOpen: r,
35
- isSidebarVisible: R,
36
- toggleSidebar: x,
37
- pageTitle: M,
38
- breadcrumbData: c,
39
- breakpointClasses: u,
40
- containerClasses: N,
41
- centerClasses: O,
42
- nestedTabsItems: h,
43
- activeNestedTab: p,
44
- handleNestedTabClick: P,
45
- mainScrollRef: B,
46
- layoutMainRef: E
47
- } = z, k = $(null), v = $(null);
48
- return j(
49
- k,
35
+ isSidebarVisible: M,
36
+ toggleSidebar: D,
37
+ pageTitle: N,
38
+ breadcrumbData: p,
39
+ breakpointClasses: f,
40
+ isDesktop: u,
41
+ shellRef: k,
42
+ shellClass: O,
43
+ containerClasses: P,
44
+ centerClasses: B,
45
+ nestedTabsItems: $,
46
+ activeNestedTab: v,
47
+ handleNestedTabClick: E,
48
+ mainScrollRef: H,
49
+ layoutMainRef: L
50
+ } = V, w = C(null), g = C(null);
51
+ return q(
52
+ w,
50
53
  () => {
51
54
  r.value = !1;
52
55
  },
53
- { ignore: [v] }
54
- ), (s, t) => (a(), n("div", J, [
55
- s.$slots.header ? w((a(), n("header", Q, [
56
+ { ignore: [g] }
57
+ ), (s, t) => (a(), n("div", {
58
+ ref_key: "shellRef",
59
+ ref: k,
60
+ class: d(["vlite-app-layout flex flex-col w-full h-full bg-body overflow-hidden", e(O)])
61
+ }, [
62
+ s.$slots.header ? T((a(), n("header", X, [
56
63
  l(s.$slots, "header", {
57
64
  isOpen: e(r),
58
65
  toggle: () => r.value = !e(r),
59
- sidebarVisible: e(R),
60
- toggleSidebar: e(x),
61
- breadcrumbItems: e(c).items.value,
62
- pageTitle: e(M)
66
+ sidebarVisible: e(M),
67
+ toggleSidebar: e(D),
68
+ breadcrumbItems: e(p).items.value,
69
+ pageTitle: e(N),
70
+ isDesktop: e(u)
63
71
  })
64
72
  ], 512)), [
65
- [C, !e(o).hideHeader]
73
+ [S, !e(o).hideHeader]
66
74
  ]) : b("", !0),
67
- i("div", W, [
68
- m(A, {
75
+ i("div", Z, [
76
+ c(I, {
69
77
  "enter-active-class": "transition-all duration-300 ease-in-out overflow-hidden",
70
78
  "leave-active-class": "transition-all duration-300 ease-in-out overflow-hidden",
71
79
  "enter-from-class": "opacity-0",
@@ -73,14 +81,14 @@ const J = { class: "vlite-app-layout flex flex-col w-full h-full bg-body overflo
73
81
  "leave-from-class": "opacity-100",
74
82
  "leave-to-class": "opacity-0"
75
83
  }, {
76
- default: g(() => [
77
- w(i("nav", {
78
- class: d(e(N)),
84
+ default: y(() => [
85
+ T(i("nav", {
86
+ class: d(e(P)),
79
87
  role: "navigation",
80
- style: U(e(o).sidebarToggle ? "transition: width 0.3s ease, opacity 0.3s ease;" : "")
88
+ style: Y(e(o).sidebarToggle ? "transition: width 0.3s ease, opacity 0.3s ease;" : "")
81
89
  }, [
82
- e(o).variant === "header" ? (a(), n(y, { key: 0 }, [
83
- i("div", X, [
90
+ e(o).variant === "header" ? (a(), n(h, { key: 0 }, [
91
+ i("div", _, [
84
92
  l(s.$slots, "mobile-trigger", {
85
93
  isOpen: e(r),
86
94
  toggle: () => r.value = !e(r)
@@ -88,11 +96,11 @@ const J = { class: "vlite-app-layout flex flex-col w-full h-full bg-body overflo
88
96
  i("button", {
89
97
  type: "button",
90
98
  ref_key: "mobileTriggerRef",
91
- ref: v,
92
- class: d(["p-2 -ms-2 text-muted-foreground hover:bg-accent rounded-md shrink-0", [e(u).mobileTrigger, e(o).mobileTriggerClass]]),
93
- onClick: t[0] || (t[0] = (f) => r.value = !e(r))
99
+ ref: g,
100
+ class: d(["p-2 -ms-2 text-muted-foreground hover:bg-accent rounded-md shrink-0", [e(f).mobileTrigger, e(o).mobileTriggerClass]]),
101
+ onClick: t[0] || (t[0] = (m) => r.value = !e(r))
94
102
  }, [
95
- m(S, {
103
+ c(z, {
96
104
  icon: "lucide:menu",
97
105
  class: "w-5 h-5"
98
106
  }),
@@ -101,14 +109,14 @@ const J = { class: "vlite-app-layout flex flex-col w-full h-full bg-body overflo
101
109
  ]),
102
110
  s.$slots?.left ? (a(), n("div", {
103
111
  key: 0,
104
- class: d(["items-center gap-1 overflow-x-auto no-scrollbar mask-gradient", e(u).desktopContent])
112
+ class: d(["items-center gap-1 overflow-x-auto no-scrollbar mask-gradient", e(f).desktopContent])
105
113
  }, [
106
114
  l(s.$slots, "left")
107
115
  ], 2)) : b("", !0)
108
116
  ]),
109
117
  s.$slots?.center ? (a(), n("div", {
110
118
  key: 0,
111
- class: d([e(O), "max-w-full", e(o).contentClass])
119
+ class: d([e(B), "max-w-full", e(o).contentClass])
112
120
  }, [
113
121
  l(s.$slots, "center")
114
122
  ], 2)) : b("", !0),
@@ -122,10 +130,10 @@ const J = { class: "vlite-app-layout flex flex-col w-full h-full bg-body overflo
122
130
  }, [
123
131
  l(s.$slots, "right")
124
132
  ], 2)
125
- ], 64)) : (a(), n(y, { key: 1 }, [
133
+ ], 64)) : (a(), n(h, { key: 1 }, [
126
134
  s.$slots.header ? b("", !0) : (a(), n("div", {
127
135
  key: 0,
128
- class: d(e(u).mobileHeader)
136
+ class: d(e(f).mobileHeader)
129
137
  }, [
130
138
  l(s.$slots, "mobile-trigger", {
131
139
  isOpen: e(r),
@@ -134,11 +142,11 @@ const J = { class: "vlite-app-layout flex flex-col w-full h-full bg-body overflo
134
142
  i("button", {
135
143
  type: "button",
136
144
  ref_key: "mobileTriggerRef",
137
- ref: v,
145
+ ref: g,
138
146
  class: d(["p-2 -me-2 text-muted-foreground hover:bg-accent rounded-md", e(o).mobileTriggerClass]),
139
- onClick: t[1] || (t[1] = (f) => r.value = !e(r))
147
+ onClick: t[1] || (t[1] = (m) => r.value = !e(r))
140
148
  }, [
141
- m(S, {
149
+ c(z, {
142
150
  icon: "lucide:menu",
143
151
  class: "w-5 h-5"
144
152
  }),
@@ -147,14 +155,14 @@ const J = { class: "vlite-app-layout flex flex-col w-full h-full bg-body overflo
147
155
  ])
148
156
  ], 2)),
149
157
  i("div", {
150
- class: d(e(u).desktopSidebar)
158
+ class: d(e(f).desktopSidebar)
151
159
  }, [
152
160
  i("div", {
153
161
  class: d(["flex-1 px-2.5 pt-0 pb-4 overflow-y-auto space-y-4 scrollbar-thin scrollbar-stable", e(o).contentClass]),
154
162
  style: { "will-change": "transform", contain: "layout style" }
155
163
  }, [
156
164
  l(s.$slots, "left"),
157
- l(s.$slots, "sidebar"),
165
+ l(s.$slots, "sidebar", { isDesktop: e(u) }),
158
166
  l(s.$slots, "center")
159
167
  ], 2),
160
168
  s.$slots?.["sidebar-footer"] ? (a(), n("div", {
@@ -166,7 +174,7 @@ const J = { class: "vlite-app-layout flex flex-col w-full h-full bg-body overflo
166
174
  ], 2)
167
175
  ], 64))
168
176
  ], 6), [
169
- [C, !e(V)]
177
+ [S, !e(x)]
170
178
  ])
171
179
  ]),
172
180
  _: 3
@@ -174,23 +182,23 @@ const J = { class: "vlite-app-layout flex flex-col w-full h-full bg-body overflo
174
182
  s.$slots.main ? (a(), n("main", {
175
183
  key: 0,
176
184
  ref_key: "layoutMainRef",
177
- ref: E,
185
+ ref: L,
178
186
  class: "flex-1 overflow-y-auto w-full relative h-full flex flex-col scrollbar-thin scrollbar-stable"
179
187
  }, [
180
- e(o).renderNestedTabs && e(h).length > 0 ? (a(), n("div", Z, [
181
- m(K, {
182
- modelValue: e(p),
183
- "onUpdate:modelValue": t[2] || (t[2] = (f) => T(p) ? p.value = f : null),
184
- onChange: e(P),
185
- items: e(h)
188
+ e(o).renderNestedTabs && e($).length > 0 ? (a(), n("div", ee, [
189
+ c(J, {
190
+ modelValue: e(v),
191
+ "onUpdate:modelValue": t[2] || (t[2] = (m) => R(v) ? v.value = m : null),
192
+ onChange: e(E),
193
+ items: e($)
186
194
  }, null, 8, ["modelValue", "onChange", "items"])
187
195
  ])) : b("", !0),
188
- e(o).breadcrumb && e(o).breadcrumbPosition === "main" && e(c).items.value.length > 1 ? (a(), n("div", {
196
+ e(o).breadcrumb && e(o).breadcrumbPosition === "main" && e(p).items.value.length > 1 ? (a(), n("div", {
189
197
  key: 1,
190
198
  class: d(["shrink-0 w-full border-b border-border px-6 py-2", e(o).breadcrumbClass])
191
199
  }, [
192
- m(e(q), {
193
- items: e(c).items.value,
200
+ c(e(Q), {
201
+ items: e(p).items.value,
194
202
  variant: e(o).breadcrumbVariant,
195
203
  separator: e(o).breadcrumbSeparator,
196
204
  size: e(o).breadcrumbSize
@@ -198,59 +206,60 @@ const J = { class: "vlite-app-layout flex flex-col w-full h-full bg-body overflo
198
206
  ], 2)) : b("", !0),
199
207
  i("div", {
200
208
  ref_key: "mainScrollRef",
201
- ref: B,
209
+ ref: H,
202
210
  style: { "will-change": "transform", contain: "layout style" },
203
211
  class: "flex-1 overflow-y-auto w-full relative h-full scrollbar-thin scrollbar-stable"
204
212
  }, [
205
- l(s.$slots, "main")
213
+ l(s.$slots, "main", { isDesktop: e(u) })
206
214
  ], 512)
207
215
  ], 512)) : b("", !0),
208
- e(o).mobileMenuVariant === "dropdown" ? (a(), n(y, { key: 1 }, [
216
+ e(o).mobileMenuVariant === "dropdown" ? (a(), n(h, { key: 1 }, [
209
217
  e(r) ? (a(), n("div", {
210
218
  key: 0,
211
219
  ref_key: "mobileMenuRef",
212
- ref: k,
220
+ ref: w,
213
221
  class: d(["absolute top-[calc(100%_+_1px)] start-0 w-full bg-body border border-border shadow-xl z-50 flex flex-col transition-all duration-300 origin-top overflow-hidden will-change-transform", e(o).menuClass])
214
222
  }, [
215
- i("div", _, [
223
+ i("div", se, [
216
224
  l(s.$slots, "mobile-menu", {}, () => [
217
- i("div", ee, [
225
+ i("div", le, [
218
226
  l(s.$slots, "left")
219
227
  ]),
220
228
  t[6] || (t[6] = i("div", { class: "h-px bg-border my-1 mx-2" }, null, -1)),
221
- i("div", se, [
229
+ i("div", oe, [
222
230
  l(s.$slots, "center")
223
231
  ])
224
232
  ])
225
233
  ])
226
234
  ], 2)) : b("", !0)
227
- ], 64)) : (a(), D(F, {
235
+ ], 64)) : (a(), j(G, {
228
236
  key: 2,
229
237
  show: e(r),
230
- "onUpdate:show": t[3] || (t[3] = (f) => T(r) ? r.value = f : null),
238
+ "onUpdate:show": t[3] || (t[3] = (m) => R(r) ? r.value = m : null),
231
239
  position: "left",
232
240
  size: "sm",
233
- triggerClass: e(u).mobileTrigger,
234
- class: d(["z-60", e(u).mobileTrigger]),
241
+ triggerClass: e(f).mobileTrigger,
242
+ class: d(["z-60", e(f).mobileTrigger]),
235
243
  headerClass: "ps-3! pe-4.5! py-3!",
236
- bodyClass: "p-0!"
237
- }, I({
238
- default: g(() => [
239
- i("div", le, [
240
- e(o).variant === "header" ? (a(), n("div", oe, [
244
+ bodyClass: "p-0!",
245
+ "teleport-target": e(o).breakpointSource === "container" && e(k) || void 0
246
+ }, F({
247
+ default: y(() => [
248
+ i("div", re, [
249
+ e(o).variant === "header" ? (a(), n("div", te, [
241
250
  l(s.$slots, "mobile-menu", {}, () => [
242
251
  l(s.$slots, "left"),
243
252
  t[8] || (t[8] = i("div", { class: "h-px bg-border my-2" }, null, -1)),
244
253
  l(s.$slots, "center")
245
254
  ])
246
- ])) : (a(), n("div", re, [
255
+ ])) : (a(), n("div", ae, [
247
256
  l(s.$slots, "left"),
248
- l(s.$slots, "mobile-sidebar", {}, () => [
249
- l(s.$slots, "sidebar")
257
+ l(s.$slots, "mobile-sidebar", { isDesktop: e(u) }, () => [
258
+ l(s.$slots, "sidebar", { isDesktop: e(u) })
250
259
  ]),
251
260
  l(s.$slots, "center")
252
261
  ])),
253
- s.$slots?.["mobile-sidebar-footer"] || s.$slots?.["sidebar-footer"] ? (a(), n("div", te, [
262
+ s.$slots?.["mobile-sidebar-footer"] || s.$slots?.["sidebar-footer"] ? (a(), n("div", ie, [
254
263
  l(s.$slots, "mobile-sidebar-footer", {}, () => [
255
264
  l(s.$slots, "sidebar-footer")
256
265
  ])
@@ -261,20 +270,20 @@ const J = { class: "vlite-app-layout flex flex-col w-full h-full bg-body overflo
261
270
  }, [
262
271
  s.$slots["mobile-sidebar-header"] || s.$slots["sidebar-header"] ? {
263
272
  name: "header",
264
- fn: g(() => [
273
+ fn: y(() => [
265
274
  l(s.$slots, "mobile-sidebar-header", {}, () => [
266
275
  l(s.$slots, "sidebar-header", {}, () => [
267
- t[7] || (t[7] = Y("Brand", -1))
276
+ t[7] || (t[7] = K("Brand", -1))
268
277
  ])
269
278
  ])
270
279
  ]),
271
280
  key: "0"
272
281
  } : void 0
273
- ]), 1032, ["show", "triggerClass", "class"]))
282
+ ]), 1032, ["show", "triggerClass", "teleport-target", "class"]))
274
283
  ])
275
- ]));
284
+ ], 2));
276
285
  }
277
286
  });
278
287
  export {
279
- pe as default
288
+ ge as default
280
289
  };
@@ -3,8 +3,12 @@ declare function __VLS_template(): {
3
3
  slots: {
4
4
  'sidebar-header'?(_: {}): any;
5
5
  'sidebar-header'?(_: {}): any;
6
- sidebar?(_: {}): any;
7
- sidebar?(_: {}): any;
6
+ sidebar?(_: {
7
+ isDesktop: boolean;
8
+ }): any;
9
+ sidebar?(_: {
10
+ isDesktop: boolean;
11
+ }): any;
8
12
  'sidebar-footer'?(_: {}): any;
9
13
  'sidebar-footer'?(_: {}): any;
10
14
  header?(_: {
@@ -14,13 +18,19 @@ declare function __VLS_template(): {
14
18
  toggleSidebar: () => void;
15
19
  breadcrumbItems: any[];
16
20
  pageTitle: string;
21
+ isDesktop: boolean;
22
+ }): any;
23
+ main?(_: {
24
+ isDesktop: boolean;
17
25
  }): any;
18
- main?(_: {}): any;
19
26
  'mobile-sidebar-header'?(_: {}): any;
20
- 'mobile-sidebar'?(_: {}): any;
27
+ 'mobile-sidebar'?(_: {
28
+ isDesktop: boolean;
29
+ }): any;
21
30
  'mobile-sidebar-footer'?(_: {}): any;
22
31
  };
23
32
  refs: {
33
+ shellRef: HTMLDivElement;
24
34
  layoutMainRef: HTMLElement;
25
35
  mainScrollRef: HTMLDivElement;
26
36
  };
@@ -28,6 +38,7 @@ declare function __VLS_template(): {
28
38
  };
29
39
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
40
  declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
41
+ shellRef: HTMLDivElement;
31
42
  layoutMainRef: HTMLElement;
32
43
  mainScrollRef: HTMLDivElement;
33
44
  }, HTMLDivElement>;