@robot-admin/layout 2.1.0 → 2.2.0

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/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import { ref as R, computed as z, watch as Z, inject as ye, defineComponent as O, resolveComponent as ie, openBlock as n, createBlock as T, unref as o, withCtx as l, createVNode as m, normalizeClass as A, renderSlot as y, Transition as q, KeepAlive as le, resolveDynamicComponent as N, onMounted as Te, nextTick as ge, onUnmounted as we, createElementBlock as r, createElementVNode as e, createCommentVNode as x, h as ae, toDisplayString as $, normalizeStyle as me, toValue as ze, Fragment as E, renderList as W, withDirectives as He, vShow as Re, provide as Ve, createSlots as ne, useModel as Ae, createTextVNode as U, withModifiers as Le } from "vue";
2
- import { defineStore as De } from "pinia";
3
- import { NLayout as oe, NLayoutSider as Ne, NLayoutContent as re, NMenu as Ee, NDropdown as Be, NButton as ee, useMessage as Fe, useDialog as We, NDrawer as Oe, NDrawerContent as Ue, NTabs as Pe, NTabPane as fe, NRadioGroup as _e, NRadioButton as J, NColorPicker as je, NSwitch as Q, NSlider as Ce, NInput as Ke } from "naive-ui";
4
- import { useRoute as be, useRouter as pe } from "vue-router";
5
- const Ye = [
1
+ import { ref as V, computed as z, watch as q, inject as we, defineComponent as O, resolveComponent as de, openBlock as n, createBlock as S, unref as o, withCtx as l, createVNode as v, normalizeClass as A, renderSlot as _, Transition as Q, KeepAlive as ue, resolveDynamicComponent as N, onMounted as Me, nextTick as fe, onUnmounted as be, createElementBlock as r, createElementVNode as e, createCommentVNode as x, h as re, toDisplayString as $, normalizeStyle as he, toValue as xe, Fragment as E, renderList as W, provide as He, createSlots as le, useModel as Re, createTextVNode as U, withModifiers as Ae } from "vue";
2
+ import { defineStore as Le } from "pinia";
3
+ import { NLayout as ne, NLayoutSider as De, NLayoutContent as ce, NMenu as Ne, NDropdown as Ee, NButton as oe, useMessage as Be, useDialog as Fe, NDrawer as We, NDrawerContent as Oe, NTabs as Ue, NTabPane as _e, NRadioGroup as ye, NRadioButton as Z, NColorPicker as Pe, NSwitch as te, NSlider as Se, NInput as je } from "naive-ui";
4
+ import { useRoute as ke, useRouter as ge } from "vue-router";
5
+ const Ke = [
6
6
  { name: "拂晓蓝", value: "#409eff" },
7
7
  { name: "薄暮红", value: "#f5222d" },
8
8
  { name: "火山橙", value: "#fa541c" },
@@ -11,7 +11,7 @@ const Ye = [
11
11
  { name: "明青", value: "#13c2c2" },
12
12
  { name: "极客蓝", value: "#2f54eb" },
13
13
  { name: "酱紫", value: "#722ed1" }
14
- ], Ge = [
14
+ ], Ye = [
15
15
  {
16
16
  name: "科技蓝",
17
17
  icon: "💙",
@@ -42,7 +42,7 @@ const Ye = [
42
42
  icon: "❤️",
43
43
  primaryColor: "#f5222d"
44
44
  }
45
- ], jn = [
45
+ ], Pn = [
46
46
  {
47
47
  mode: "side",
48
48
  label: "左侧菜单",
@@ -79,11 +79,11 @@ const Ye = [
79
79
  description: "卡片式布局风格",
80
80
  icon: "i-mdi:card-outline"
81
81
  }
82
- ], Xe = {
82
+ ], Ge = {
83
83
  small: "4px",
84
84
  medium: "6px",
85
85
  large: "8px"
86
- }, Je = {
86
+ }, Xe = {
87
87
  fade: "fade-transform",
88
88
  slide: "fade-slide",
89
89
  zoom: "fade-zoom",
@@ -111,123 +111,123 @@ const Ye = [
111
111
  // 高级
112
112
  enableHotkeys: !0,
113
113
  version: "2.0.2"
114
- }, Ze = Ye.map((_) => _.value);
115
- function xe(_, i) {
116
- const w = parseInt(_.replace("#", ""), 16), s = Math.min(255, Math.max(0, (w >> 16) + i)), f = Math.min(255, Math.max(0, (w >> 8 & 255) + i)), v = Math.min(255, Math.max(0, (w & 255) + i));
117
- return `#${(s << 16 | f << 8 | v).toString(16).padStart(6, "0")}`;
114
+ }, Je = Ke.map((f) => f.value);
115
+ function Te(f, i) {
116
+ const y = parseInt(f.replace("#", ""), 16), s = Math.min(255, Math.max(0, (y >> 16) + i)), p = Math.min(255, Math.max(0, (y >> 8 & 255) + i)), m = Math.min(255, Math.max(0, (y & 255) + i));
117
+ return `#${(s << 16 | p << 8 | m).toString(16).padStart(6, "0")}`;
118
118
  }
119
- function Me(_ = {}) {
120
- const { defaults: i = {}, onThemeModeChange: w } = _, s = {
119
+ function Ie(f = {}) {
120
+ const { defaults: i = {}, onThemeModeChange: y } = f, s = {
121
121
  ...P,
122
122
  ...i
123
123
  };
124
- return De("settings", () => {
125
- const f = R(s.themeMode), v = R(s.primaryColor), a = R(s.borderRadius), u = R(s.transitionType), c = R(s.enableTransition), k = R(s.layoutMode), g = R(s.collapsed), h = R(s.fixedHeader), b = R(s.showBreadcrumb), M = R(s.showBreadcrumbIcon), C = R(s.showTagsView), H = R(s.tagsViewHeight), p = R(s.tagsViewStyle), D = R(s.showFooter), I = R(s.sidebarWidth), V = R(
124
+ return Le("settings", () => {
125
+ const p = V(s.themeMode), m = V(s.primaryColor), a = V(s.borderRadius), u = V(s.transitionType), c = V(s.enableTransition), C = V(s.layoutMode), g = V(s.collapsed), h = V(s.fixedHeader), w = V(s.showBreadcrumb), M = V(s.showBreadcrumbIcon), T = V(s.showTagsView), R = V(s.tagsViewHeight), H = V(s.tagsViewStyle), b = V(s.showFooter), k = V(s.sidebarWidth), L = V(
126
126
  s.sidebarCollapsedWidth
127
- ), X = R(s.headerHeight), F = R(s.enableHotkeys), B = R(s.version), Y = z(
128
- () => Xe[a.value]
129
- ), S = z(() => Je[u.value]), t = z(
127
+ ), j = V(s.headerHeight), F = V(s.enableHotkeys), B = V(s.version), G = z(
128
+ () => Ge[a.value]
129
+ ), I = z(() => Xe[u.value]), t = z(
130
130
  () => c.value && u.value !== "none"
131
131
  ), d = z(() => ({
132
- themeMode: f.value,
133
- primaryColor: v.value,
132
+ themeMode: p.value,
133
+ primaryColor: m.value,
134
134
  borderRadius: a.value,
135
135
  transitionType: u.value,
136
136
  enableTransition: c.value,
137
- layoutMode: k.value,
137
+ layoutMode: C.value,
138
138
  collapsed: g.value,
139
139
  fixedHeader: h.value,
140
- showBreadcrumb: b.value,
140
+ showBreadcrumb: w.value,
141
141
  showBreadcrumbIcon: M.value,
142
- showTagsView: C.value,
143
- tagsViewHeight: H.value,
144
- tagsViewStyle: p.value,
145
- showFooter: D.value,
146
- sidebarWidth: I.value,
147
- sidebarCollapsedWidth: V.value,
148
- headerHeight: X.value,
142
+ showTagsView: T.value,
143
+ tagsViewHeight: R.value,
144
+ tagsViewStyle: H.value,
145
+ showFooter: b.value,
146
+ sidebarWidth: k.value,
147
+ sidebarCollapsedWidth: L.value,
148
+ headerHeight: j.value,
149
149
  enableHotkeys: F.value,
150
150
  version: B.value
151
- })), j = () => {
151
+ })), K = () => {
152
152
  if (typeof document > "u") return;
153
- const L = document.documentElement;
154
- L.style.setProperty("--primary-color", v.value), L.style.setProperty(
153
+ const D = document.documentElement;
154
+ D.style.setProperty("--primary-color", m.value), D.style.setProperty(
155
155
  "--primary-color-hover",
156
- xe(v.value, 10)
157
- ), L.style.setProperty(
156
+ Te(m.value, 10)
157
+ ), D.style.setProperty(
158
158
  "--primary-color-pressed",
159
- xe(v.value, -10)
160
- ), L.style.setProperty("--border-radius", Y.value), L.style.setProperty("--sidebar-width", `${I.value}px`), L.style.setProperty(
159
+ Te(m.value, -10)
160
+ ), D.style.setProperty("--border-radius", G.value), D.style.setProperty("--sidebar-width", `${k.value}px`), D.style.setProperty(
161
161
  "--sidebar-collapsed-width",
162
- `${V.value}px`
163
- ), L.style.setProperty("--header-height", `${X.value}px`), L.style.setProperty("--tags-view-height", `${H.value}px`);
164
- }, K = async (L) => {
165
- v.value = L.primaryColor, L.settings && (L.settings.borderRadius && (a.value = L.settings.borderRadius), L.settings.transitionType && (u.value = L.settings.transitionType), L.settings.showBreadcrumb !== void 0 && (b.value = L.settings.showBreadcrumb), L.settings.showTagsView !== void 0 && (C.value = L.settings.showTagsView), L.settings.tagsViewStyle && (p.value = L.settings.tagsViewStyle));
166
- }, ue = () => {
167
- f.value = s.themeMode, v.value = s.primaryColor, a.value = s.borderRadius, u.value = s.transitionType, c.value = s.enableTransition, k.value = s.layoutMode, g.value = s.collapsed, h.value = s.fixedHeader, b.value = s.showBreadcrumb, M.value = s.showBreadcrumbIcon, C.value = s.showTagsView, H.value = s.tagsViewHeight, p.value = s.tagsViewStyle, D.value = s.showFooter, I.value = s.sidebarWidth, V.value = s.sidebarCollapsedWidth, X.value = s.headerHeight, F.value = s.enableHotkeys;
168
- }, ce = async (L) => {
169
- f.value = L, w && await w(L);
162
+ `${L.value}px`
163
+ ), D.style.setProperty("--header-height", `${j.value}px`), D.style.setProperty("--tags-view-height", `${R.value}px`);
164
+ }, Y = async (D) => {
165
+ m.value = D.primaryColor, D.settings && (D.settings.borderRadius && (a.value = D.settings.borderRadius), D.settings.transitionType && (u.value = D.settings.transitionType), D.settings.showBreadcrumb !== void 0 && (w.value = D.settings.showBreadcrumb), D.settings.showTagsView !== void 0 && (T.value = D.settings.showTagsView), D.settings.tagsViewStyle && (H.value = D.settings.tagsViewStyle));
170
166
  }, ve = () => {
167
+ p.value = s.themeMode, m.value = s.primaryColor, a.value = s.borderRadius, u.value = s.transitionType, c.value = s.enableTransition, C.value = s.layoutMode, g.value = s.collapsed, h.value = s.fixedHeader, w.value = s.showBreadcrumb, M.value = s.showBreadcrumbIcon, T.value = s.showTagsView, R.value = s.tagsViewHeight, H.value = s.tagsViewStyle, b.value = s.showFooter, k.value = s.sidebarWidth, L.value = s.sidebarCollapsedWidth, j.value = s.headerHeight, F.value = s.enableHotkeys;
168
+ }, ie = async (D) => {
169
+ p.value = D, y && await y(D);
170
+ }, se = () => {
171
171
  g.value = !g.value;
172
172
  };
173
- return Z(
173
+ return q(
174
174
  [
175
- v,
176
- Y,
177
- I,
178
- V,
179
- X,
180
- H
175
+ m,
176
+ G,
177
+ k,
178
+ L,
179
+ j,
180
+ R
181
181
  ],
182
182
  () => {
183
- j();
183
+ K();
184
184
  },
185
185
  { immediate: !0 }
186
186
  ), {
187
187
  // 状态
188
- themeMode: f,
189
- primaryColor: v,
188
+ themeMode: p,
189
+ primaryColor: m,
190
190
  borderRadius: a,
191
191
  transitionType: u,
192
192
  enableTransition: c,
193
- layoutMode: k,
193
+ layoutMode: C,
194
194
  collapsed: g,
195
195
  fixedHeader: h,
196
- showBreadcrumb: b,
196
+ showBreadcrumb: w,
197
197
  showBreadcrumbIcon: M,
198
- showTagsView: C,
199
- tagsViewHeight: H,
200
- tagsViewStyle: p,
201
- showFooter: D,
202
- sidebarWidth: I,
203
- sidebarCollapsedWidth: V,
204
- headerHeight: X,
198
+ showTagsView: T,
199
+ tagsViewHeight: R,
200
+ tagsViewStyle: H,
201
+ showFooter: b,
202
+ sidebarWidth: k,
203
+ sidebarCollapsedWidth: L,
204
+ headerHeight: j,
205
205
  enableHotkeys: F,
206
206
  version: B,
207
207
  // 计算属性
208
- borderRadiusValue: Y,
209
- transitionName: S,
208
+ borderRadiusValue: G,
209
+ transitionName: I,
210
210
  shouldEnableTransition: t,
211
211
  settingsState: d,
212
212
  // 方法
213
- syncCSSVariables: j,
214
- applyPreset: K,
215
- resetSettings: ue,
216
- updateThemeMode: ce,
217
- toggleCollapse: ve
213
+ syncCSSVariables: K,
214
+ applyPreset: Y,
215
+ resetSettings: ve,
216
+ updateThemeMode: ie,
217
+ toggleCollapse: se
218
218
  };
219
219
  });
220
220
  }
221
- const Se = Me(), qe = /* @__PURE__ */ Symbol("layout-context"), Ie = /* @__PURE__ */ Symbol("drawer-handlers");
222
- function G() {
223
- const _ = ye(qe);
224
- if (!_)
221
+ const ze = Ie(), Ze = /* @__PURE__ */ Symbol("layout-context"), Ve = /* @__PURE__ */ Symbol("drawer-handlers");
222
+ function X() {
223
+ const f = we(Ze);
224
+ if (!f)
225
225
  throw new Error(
226
226
  "[Layout] LayoutContext not provided. 请在上层组件中使用 provide(LAYOUT_CONTEXT_KEY, ...) 注入布局数据。"
227
227
  );
228
- return _;
228
+ return f;
229
229
  }
230
- const se = {
230
+ const ae = {
231
231
  name: "Admin",
232
232
  subtitle: "",
233
233
  logoSrc: "",
@@ -236,99 +236,99 @@ const se = {
236
236
  homePath: "/home",
237
237
  copyright: ""
238
238
  };
239
- function de(_ = {}) {
239
+ function me(f = {}) {
240
240
  const {
241
241
  maxCacheCount: i = 20,
242
- enableDevLog: w = !0,
242
+ enableDevLog: y = !0,
243
243
  exposeToWindow: s = !0
244
- } = _, f = be(), v = R([]), a = R(i), u = (h) => !h || typeof h != "string" ? !1 : f.meta?.keepAlive === !0, c = (h) => {
245
- !v.value.includes(h) && u(h) && (v.value.push(h), v.value.length > a.value && v.value.shift());
246
- }, k = (h) => {
247
- const b = v.value.indexOf(h);
248
- b > -1 && v.value.splice(b, 1);
244
+ } = f, p = ke(), m = V([]), a = V(i), u = (h) => !h || typeof h != "string" ? !1 : p.meta?.keepAlive === !0, c = (h) => {
245
+ !m.value.includes(h) && u(h) && (m.value.push(h), m.value.length > a.value && m.value.shift());
246
+ }, C = (h) => {
247
+ const w = m.value.indexOf(h);
248
+ w > -1 && m.value.splice(w, 1);
249
249
  }, g = () => {
250
- v.value = [];
250
+ m.value = [];
251
251
  };
252
- return Z(
253
- () => f.name,
252
+ return q(
253
+ () => p.name,
254
254
  (h) => {
255
255
  h && typeof h == "string" && c(h);
256
256
  },
257
257
  { immediate: !0 }
258
258
  ), {
259
- cachedViews: v,
259
+ cachedViews: m,
260
260
  maxCacheCount: a,
261
261
  addCache: c,
262
- removeCache: k,
262
+ removeCache: C,
263
263
  clearAllCache: g
264
264
  };
265
265
  }
266
- const Qe = /* @__PURE__ */ O({
266
+ const qe = /* @__PURE__ */ O({
267
267
  name: "SideLayout",
268
268
  __name: "index",
269
269
  props: {
270
270
  collapsed: { type: Boolean, default: !1 }
271
271
  },
272
272
  emits: ["update:collapsed"],
273
- setup(_, { expose: i, emit: w }) {
274
- const s = _, f = w, v = G(), { cachedViews: a, maxCacheCount: u } = de(), c = R(s.collapsed);
275
- Z(
273
+ setup(f, { expose: i, emit: y }) {
274
+ const s = f, p = y, m = X(), { cachedViews: a, maxCacheCount: u } = me(), c = V(s.collapsed);
275
+ q(
276
276
  () => s.collapsed,
277
- (b) => {
278
- c.value = b;
277
+ (w) => {
278
+ c.value = w;
279
279
  }
280
280
  );
281
- const k = z(() => c.value), g = (b) => {
282
- c.value = b, f("update:collapsed", b);
281
+ const C = z(() => c.value), g = (w) => {
282
+ c.value = w, p("update:collapsed", w);
283
283
  };
284
284
  return i({
285
- collapsed: k,
285
+ collapsed: C,
286
286
  toggleCollapse: () => {
287
- const b = !c.value;
288
- c.value = b, f("update:collapsed", b);
287
+ const w = !c.value;
288
+ c.value = w, p("update:collapsed", w);
289
289
  }
290
- }), (b, M) => {
291
- const C = ie("RouterView");
292
- return n(), T(o(oe), { "has-sider": "" }, {
290
+ }), (w, M) => {
291
+ const T = de("RouterView");
292
+ return n(), S(o(ne), { "has-sider": "" }, {
293
293
  default: l(() => [
294
- m(o(Ne), {
294
+ v(o(De), {
295
295
  bordered: "",
296
296
  "collapse-mode": "width",
297
- "collapsed-width": o(v).sidebarCollapsedWidth.value,
298
- width: o(v).sidebarWidth.value,
297
+ "collapsed-width": o(m).sidebarCollapsedWidth.value,
298
+ width: o(m).sidebarWidth.value,
299
299
  "native-scrollbar": !1,
300
- collapsed: k.value,
300
+ collapsed: C.value,
301
301
  "onUpdate:collapsed": g,
302
302
  class: A([
303
303
  "layout-sider",
304
304
  "no-horizontal-scroll",
305
- o(v).isDark.value ? "dark-theme" : "light-theme"
305
+ o(m).isDark.value ? "dark-theme" : "light-theme"
306
306
  ])
307
307
  }, {
308
308
  default: l(() => [
309
- y(b.$slots, "logo"),
310
- y(b.$slots, "menu", { collapsed: k.value })
309
+ _(w.$slots, "logo"),
310
+ _(w.$slots, "menu", { collapsed: C.value })
311
311
  ]),
312
312
  _: 3
313
313
  }, 8, ["collapsed-width", "width", "collapsed", "class"]),
314
- m(o(oe), null, {
314
+ v(o(ne), null, {
315
315
  default: l(() => [
316
- y(b.$slots, "header"),
317
- m(o(re), { class: "content-with-header p16px app-content" }, {
316
+ _(w.$slots, "header"),
317
+ v(o(ce), { class: "content-with-header p16px app-content" }, {
318
318
  default: l(() => [
319
- m(C, null, {
320
- default: l(({ Component: H, route: p }) => [
321
- m(q, {
322
- name: o(v).transitionName.value,
319
+ v(T, null, {
320
+ default: l(({ Component: R, route: H }) => [
321
+ v(Q, {
322
+ name: o(m).transitionName.value,
323
323
  mode: "out-in"
324
324
  }, {
325
325
  default: l(() => [
326
- (n(), T(le, {
326
+ (n(), S(ue, {
327
327
  include: o(a),
328
328
  max: o(u)
329
329
  }, [
330
- (n(), T(N(H), {
331
- key: p.path
330
+ (n(), S(N(R), {
331
+ key: H.path
332
332
  }))
333
333
  ], 1032, ["include", "max"]))
334
334
  ]),
@@ -340,7 +340,7 @@ const Qe = /* @__PURE__ */ O({
340
340
  ]),
341
341
  _: 1
342
342
  }),
343
- y(b.$slots, "footer")
343
+ _(w.$slots, "footer")
344
344
  ]),
345
345
  _: 3
346
346
  })
@@ -349,17 +349,17 @@ const Qe = /* @__PURE__ */ O({
349
349
  });
350
350
  };
351
351
  }
352
- }), et = {
352
+ }), Qe = {
353
353
  ref: "visibleRef",
354
354
  class: "responsive-menu__visible"
355
- }, tt = { class: "responsive-menu__more" }, ot = /* @__PURE__ */ O({
355
+ }, et = { class: "responsive-menu__more" }, tt = /* @__PURE__ */ O({
356
356
  name: "ResponsiveMenu",
357
357
  __name: "index",
358
358
  props: {
359
359
  data: {}
360
360
  },
361
- setup(_) {
362
- const i = _, w = be(), s = pe(), f = G(), v = z(() => i.data || []), a = z(() => w.path), u = f.isDark, c = {
361
+ setup(f) {
362
+ const i = f, y = ke(), s = ge(), p = X(), m = z(() => i.data || []), a = z(() => y.path), u = p.isDark, c = {
363
363
  itemTextColor: "rgba(51, 65, 85, 0.85)",
364
364
  itemTextColorHover: "rgba(30, 64, 175, 0.95)",
365
365
  itemTextColorActive: "rgba(30, 64, 175, 1)",
@@ -382,7 +382,7 @@ const Qe = /* @__PURE__ */ O({
382
382
  itemPadding: "0 18px",
383
383
  itemBorderRadius: "10px",
384
384
  groupTextColor: "rgba(51, 65, 85, 0.65)"
385
- }, k = {
385
+ }, C = {
386
386
  itemTextColor: "rgba(226, 232, 240, 0.85)",
387
387
  itemTextColorHover: "rgba(255, 255, 255, 0.95)",
388
388
  itemTextColorActive: "rgba(147, 197, 253, 1)",
@@ -406,23 +406,23 @@ const Qe = /* @__PURE__ */ O({
406
406
  itemBorderRadius: "10px",
407
407
  groupTextColor: "rgba(226, 232, 240, 0.6)"
408
408
  }, g = z(
409
- () => u.value ? k : c
410
- ), h = (t, d = 18) => f.iconComponent ? () => ae(f.iconComponent, { name: t, size: d }) : () => ae("i", {
409
+ () => u.value ? C : c
410
+ ), h = (t, d = 18) => p.iconComponent ? () => re(p.iconComponent, { name: t, size: d }) : () => re("i", {
411
411
  class: t,
412
412
  style: {
413
413
  fontSize: `${d}px`,
414
414
  display: "inline-flex",
415
415
  alignItems: "center"
416
416
  }
417
- }), b = (t) => ({
417
+ }), w = (t) => ({
418
418
  key: t.path || "",
419
419
  label: t.meta?.title || t.name || "",
420
420
  icon: t.meta?.icon ? h(t.meta.icon, 18) : void 0,
421
- children: t.children?.length ? t.children.map(b) : void 0
422
- }), M = R(), C = R([]), H = R([]), p = z(
423
- () => C.value.map(b)
424
- ), D = z(
425
- () => H.value.map((t) => ({
421
+ children: t.children?.length ? t.children.map(w) : void 0
422
+ }), M = V(), T = V([]), R = V([]), H = z(
423
+ () => T.value.map(w)
424
+ ), b = z(
425
+ () => R.value.map((t) => ({
426
426
  key: t.path || "",
427
427
  label: t.meta?.title || t.name || "",
428
428
  icon: t.meta?.icon ? h(t.meta.icon, 16) : void 0,
@@ -432,50 +432,61 @@ const Qe = /* @__PURE__ */ O({
432
432
  icon: d.meta?.icon ? h(d.meta.icon, 16) : void 0
433
433
  })) : void 0
434
434
  }))
435
- ), I = (t) => {
435
+ ), k = (t) => {
436
436
  t && s.push(t);
437
- }, V = (t) => {
438
- const L = (t.meta?.title || t.name || "").length * 12, he = t.meta?.icon ? 26 : 0;
439
- return L + he + 36 + 8 + 5;
440
- }, X = (t) => {
441
- if (!v.value.length) return 0;
442
- const d = 80, j = 15;
443
- let K = 0;
444
- for (const L of v.value)
445
- K += V(L);
446
- if (K + j <= t)
447
- return v.value.length;
448
- let ue = 0, ce = 0;
449
- const ve = t - d - j;
450
- for (const L of v.value) {
451
- const he = V(L);
452
- if (ue + he <= ve)
453
- ue += he, ce++;
437
+ }, L = (t) => {
438
+ const ie = t.meta?.title || t.name || "";
439
+ let se = 0;
440
+ for (const pe of ie) {
441
+ const J = pe.charCodeAt(0);
442
+ J >= 19968 && J <= 40959 || // CJK 统一汉字
443
+ J >= 13312 && J <= 19903 || // CJK 扩展 A
444
+ J >= 12288 && J <= 12351 || // CJK 符号
445
+ J >= 65280 && J <= 65519 || // 全角字符
446
+ J >= 12352 && J <= 12447 || // 平假名
447
+ J >= 12448 && J <= 12543 ? se += 15 : se += 8;
448
+ }
449
+ const D = t.meta?.icon ? 26 : 0;
450
+ return se + D + 36 + 8 + 8;
451
+ }, j = (t) => {
452
+ if (!m.value.length) return 0;
453
+ const d = 80, K = 15;
454
+ let Y = 0;
455
+ for (const D of m.value)
456
+ Y += L(D);
457
+ if (Y + K <= t)
458
+ return m.value.length;
459
+ let ve = 0, ie = 0;
460
+ const se = t - d - K;
461
+ for (const D of m.value) {
462
+ const pe = L(D);
463
+ if (ve + pe <= se)
464
+ ve += pe, ie++;
454
465
  else break;
455
466
  }
456
- return Math.max(ce, 1);
467
+ return Math.max(ie, 1);
457
468
  }, F = () => {
458
- if (!M.value || !v.value.length) return;
469
+ if (!M.value || !m.value.length) return;
459
470
  const t = M.value.offsetWidth;
460
471
  if (t === 0) {
461
- ge(() => F());
472
+ fe(() => F());
462
473
  return;
463
474
  }
464
- const d = X(t);
465
- C.value = v.value.slice(0, d), H.value = v.value.slice(d);
475
+ const d = j(t);
476
+ T.value = m.value.slice(0, d), R.value = m.value.slice(d);
466
477
  };
467
478
  let B = null;
468
- const Y = () => {
479
+ const G = () => {
469
480
  B && clearTimeout(B), B = window.setTimeout(() => F(), 100);
470
481
  };
471
- let S = null;
472
- return Te(() => {
473
- ge(() => F()), M.value && (S = new ResizeObserver(() => Y()), S.observe(M.value));
474
- }), we(() => {
475
- S?.disconnect(), B && clearTimeout(B);
476
- }), Z(
482
+ let I = null;
483
+ return Me(() => {
484
+ fe(() => F()), M.value && (I = new ResizeObserver(() => G()), I.observe(M.value));
485
+ }), be(() => {
486
+ I?.disconnect(), B && clearTimeout(B);
487
+ }), q(
477
488
  () => i.data,
478
- () => ge(() => F()),
489
+ () => fe(() => F()),
479
490
  {
480
491
  deep: !0
481
492
  }
@@ -484,34 +495,35 @@ const Qe = /* @__PURE__ */ O({
484
495
  ref: M,
485
496
  class: "responsive-menu"
486
497
  }, [
487
- e("div", et, [
488
- p.value.length > 0 ? (n(), T(o(Ee), {
498
+ e("div", Qe, [
499
+ H.value.length > 0 ? (n(), S(o(Ne), {
489
500
  key: 0,
490
501
  mode: "horizontal",
491
502
  value: a.value,
492
- options: p.value,
503
+ options: H.value,
493
504
  "theme-overrides": g.value,
494
- "onUpdate:value": I
505
+ "onUpdate:value": k
495
506
  }, null, 8, ["value", "options", "theme-overrides"])) : x("", !0)
496
507
  ], 512),
497
- H.value.length > 0 ? (n(), T(o(Be), {
508
+ R.value.length > 0 ? (n(), S(o(Ee), {
498
509
  key: 0,
499
- options: D.value,
510
+ options: b.value,
500
511
  placement: "bottom-end",
501
512
  trigger: "hover",
502
- onSelect: I
513
+ onSelect: k
503
514
  }, {
504
515
  default: l(() => [
505
- e("div", tt, [
506
- m(o(ee), {
516
+ e("div", et, [
517
+ v(o(oe), {
507
518
  text: "",
508
519
  class: "responsive-menu__more-btn"
509
520
  }, {
510
521
  default: l(() => [...d[0] || (d[0] = [
511
- e("span", {
512
- class: "i-mdi:dots-horizontal",
513
- style: { "font-size": "20px" }
514
- }, null, -1)
522
+ e("span", { class: "dots-icon" }, [
523
+ e("span"),
524
+ e("span"),
525
+ e("span")
526
+ ], -1)
515
527
  ])]),
516
528
  _: 1
517
529
  })
@@ -521,26 +533,26 @@ const Qe = /* @__PURE__ */ O({
521
533
  }, 8, ["options"])) : x("", !0)
522
534
  ], 512));
523
535
  }
524
- }), te = (_, i) => {
525
- const w = _.__vccOpts || _;
526
- for (const [s, f] of i)
527
- w[s] = f;
528
- return w;
529
- }, $e = /* @__PURE__ */ te(ot, [["__scopeId", "data-v-92216781"]]), st = { class: "top-layout-container" }, nt = { class: "navbar-left" }, at = { class: "logo-container" }, it = ["src", "width", "height"], lt = ["src", "width", "height"], rt = { class: "brand-name" }, dt = { class: "brand-title" }, ut = { class: "brand-subtitle" }, ct = { class: "navbar-center" }, mt = { class: "page-content" }, vt = /* @__PURE__ */ O({
536
+ }), ee = (f, i) => {
537
+ const y = f.__vccOpts || f;
538
+ for (const [s, p] of i)
539
+ y[s] = p;
540
+ return y;
541
+ }, $e = /* @__PURE__ */ ee(tt, [["__scopeId", "data-v-d329131b"]]), ot = { class: "top-layout-container" }, st = { class: "navbar-left" }, nt = { class: "logo-container" }, at = ["src", "width", "height"], it = ["src", "width", "height"], lt = { class: "brand-name" }, rt = { class: "brand-title" }, dt = { class: "brand-subtitle" }, ut = { class: "navbar-center" }, ct = { class: "page-content" }, mt = /* @__PURE__ */ O({
530
542
  name: "TopLayout",
531
543
  __name: "index",
532
- setup(_) {
533
- const i = G(), { cachedViews: w, maxCacheCount: s } = de(), f = i.isDark, v = z(() => i.menus.value), a = z(() => i.showTagsView.value), u = z(() => i.tagsViewHeight.value), c = z(() => i.showFooter.value), k = z(() => i.transitionName.value), g = { ...se, ...i.brand };
534
- return (h, b) => {
535
- const M = ie("RouterView");
536
- return n(), r("div", st, [
544
+ setup(f) {
545
+ const i = X(), { cachedViews: y, maxCacheCount: s } = me(), p = i.isDark, m = z(() => i.menus.value), a = z(() => i.showTagsView.value), u = z(() => i.tagsViewHeight.value), c = z(() => i.showFooter.value), C = z(() => i.transitionName.value), g = { ...ae, ...i.brand };
546
+ return (h, w) => {
547
+ const M = de("RouterView");
548
+ return n(), r("div", ot, [
537
549
  e("div", {
538
- class: A(["top-navbar", [o(f) ? "dark-theme" : "light-theme"]])
550
+ class: A(["top-navbar", [o(p) ? "dark-theme" : "light-theme"]])
539
551
  }, [
540
- e("div", nt, [
541
- y(h.$slots, "logo", {}, () => [
542
- e("div", at, [
543
- b[0] || (b[0] = e("div", { class: "logo-glow" }, null, -1)),
552
+ e("div", st, [
553
+ _(h.$slots, "logo", {}, () => [
554
+ e("div", nt, [
555
+ w[0] || (w[0] = e("div", { class: "logo-glow" }, null, -1)),
544
556
  g.logoType === "video" ? (n(), r("video", {
545
557
  key: 0,
546
558
  src: g.logoSrc,
@@ -551,53 +563,53 @@ const Qe = /* @__PURE__ */ O({
551
563
  muted: "",
552
564
  playsinline: "",
553
565
  class: "logo-video"
554
- }, " 您的浏览器不支持 video 标签。 ", 8, it)) : (n(), r("img", {
566
+ }, " 您的浏览器不支持 video 标签。 ", 8, at)) : (n(), r("img", {
555
567
  key: 1,
556
568
  src: g.logoSrc,
557
569
  width: g.logoSize || 36,
558
570
  height: g.logoSize || 36,
559
571
  class: "logo-video"
560
- }, null, 8, lt))
572
+ }, null, 8, it))
561
573
  ]),
562
- e("div", rt, [
563
- e("span", dt, $(g.name), 1),
564
- e("span", ut, $(g.subtitle), 1)
574
+ e("div", lt, [
575
+ e("span", rt, $(g.name), 1),
576
+ e("span", dt, $(g.subtitle), 1)
565
577
  ]),
566
- b[1] || (b[1] = e("div", { class: "navbar-divider" }, null, -1))
578
+ w[1] || (w[1] = e("div", { class: "navbar-divider" }, null, -1))
567
579
  ])
568
580
  ]),
569
- e("div", ct, [
570
- y(h.$slots, "menu", {}, () => [
571
- m($e, { data: v.value }, null, 8, ["data"])
581
+ e("div", ut, [
582
+ _(h.$slots, "menu", {}, () => [
583
+ v($e, { data: m.value }, null, 8, ["data"])
572
584
  ])
573
585
  ]),
574
- y(h.$slots, "header-extra")
586
+ _(h.$slots, "header-extra")
575
587
  ], 2),
576
588
  a.value ? (n(), r("div", {
577
589
  key: 0,
578
590
  class: "tags-view-container",
579
- style: me({ height: `${u.value}px` })
591
+ style: he({ height: `${u.value}px` })
580
592
  }, [
581
- y(h.$slots, "tags-view")
593
+ _(h.$slots, "tags-view")
582
594
  ], 4)) : x("", !0),
583
- m(o(oe), null, {
595
+ v(o(ne), null, {
584
596
  default: l(() => [
585
- m(o(re), { class: "main-content" }, {
597
+ v(o(ce), { class: "main-content" }, {
586
598
  default: l(() => [
587
- e("div", mt, [
588
- m(M, null, {
589
- default: l(({ Component: C, route: H }) => [
590
- m(q, {
591
- name: k.value,
599
+ e("div", ct, [
600
+ v(M, null, {
601
+ default: l(({ Component: T, route: R }) => [
602
+ v(Q, {
603
+ name: C.value,
592
604
  mode: "out-in"
593
605
  }, {
594
606
  default: l(() => [
595
- (n(), T(le, {
596
- include: o(w),
607
+ (n(), S(ue, {
608
+ include: o(y),
597
609
  max: o(s)
598
610
  }, [
599
- (n(), T(N(C), {
600
- key: H.path
611
+ (n(), S(N(T), {
612
+ key: R.path
601
613
  }))
602
614
  ], 1032, ["include", "max"]))
603
615
  ]),
@@ -610,7 +622,7 @@ const Qe = /* @__PURE__ */ O({
610
622
  ]),
611
623
  _: 1
612
624
  }),
613
- c.value ? y(h.$slots, "footer", { key: 0 }) : x("", !0)
625
+ c.value ? _(h.$slots, "footer", { key: 0 }) : x("", !0)
614
626
  ]),
615
627
  _: 3
616
628
  })
@@ -618,66 +630,70 @@ const Qe = /* @__PURE__ */ O({
618
630
  };
619
631
  }
620
632
  });
621
- function ke(_) {
622
- const { menus: i, floatingSecondMenu: w = !1 } = _, s = be(), f = pe(), v = R(""), a = R(null), u = R(!1), c = (p) => p.startsWith("/") ? p : `/${p}`, k = (p) => {
623
- if (!p) return !1;
624
- const D = s.path;
625
- if (D === p) return !0;
626
- const I = c(p), V = c(D);
627
- return V === I ? !0 : V.includes(`/${p}`);
628
- }, g = (p) => {
629
- for (const D of p)
630
- if (k(D.path) || D.children?.length && g(D.children))
631
- return D;
633
+ function Ce(f) {
634
+ const { menus: i, floatingSecondMenu: y = !1 } = f, s = ke(), p = ge(), m = V(""), a = V(null), u = V(!1), c = z(
635
+ () => a.value || w.value || null
636
+ ), C = (b) => b.startsWith("/") ? b : `/${b}`, g = (b) => {
637
+ if (!b) return !1;
638
+ const k = s.path;
639
+ if (k === b) return !0;
640
+ const L = C(b), j = C(k);
641
+ return j === L ? !0 : j.includes(`/${b}`);
642
+ }, h = (b) => {
643
+ for (const k of b)
644
+ if (g(k.path) || k.children?.length && h(k.children))
645
+ return k;
632
646
  return null;
633
- }, h = z(
634
- () => i.value.find((p) => p.path === v.value)
635
- ), b = z(
636
- () => h.value?.children || []
637
- ), M = (p) => {
638
- v.value = p.path || "", ze(w) ? p.children && p.children.length > 0 ? u.value && a.value?.path === p.path ? (u.value = !1, a.value = null) : (a.value = p, u.value = !0) : (u.value = !1, a.value = null, p.path && f.push(p.path)) : (!p.children || p.children.length === 0) && p.path && f.push(p.path);
639
- }, C = (p) => {
640
- p.path && f.push(p.path);
647
+ }, w = z(
648
+ () => i.value.find((b) => b.path === m.value)
649
+ ), M = z(
650
+ () => w.value?.children || []
651
+ ), T = (b) => {
652
+ xe(y) ? b.children && b.children.length > 0 ? u.value && m.value === b.path ? u.value = !1 : (m.value = b.path || "", u.value = !0) : (m.value = b.path || "", u.value = !1, b.path && p.push(b.path)) : (!b.children || b.children.length === 0) && b.path && p.push(b.path);
653
+ }, R = (b) => {
654
+ b.path && p.push(b.path);
641
655
  }, H = () => {
642
- const p = i.value, D = g(p);
643
- D ? v.value = D.path || "" : p.length > 0 && !v.value && (v.value = p[0].path || "");
656
+ const b = i.value, k = h(b);
657
+ k ? (m.value = k.path || "", xe(y) && k.children?.length && (u.value = !0)) : b.length > 0 && !m.value && (m.value = b[0].path || "");
644
658
  };
645
- return Z(
659
+ return q(
646
660
  () => s.path,
647
661
  () => H(),
648
662
  { immediate: !0 }
649
- ), Z(
663
+ ), q(
650
664
  i,
651
- (p) => {
652
- p && p.length > 0 && H();
665
+ (b) => {
666
+ b && b.length > 0 && H();
653
667
  },
654
668
  { immediate: !0 }
655
- ), Te(() => H()), {
656
- activeFirstMenu: v,
657
- activeFirstMenuItem: h,
658
- currentSecondMenus: b,
669
+ ), Me(() => H()), {
670
+ activeFirstMenu: m,
671
+ activeFirstMenuItem: w,
672
+ currentSecondMenus: M,
659
673
  hoveredMenuItem: a,
674
+ /** 实际在悬浮面板上展示的菜单项(hovered 优先,fallback 到 active) */
675
+ displayMenuItem: c,
660
676
  showSecondMenu: u,
661
- handleFirstMenuClick: M,
662
- handleSecondMenuClick: C,
663
- isMenuItemActive: k
677
+ handleFirstMenuClick: T,
678
+ handleSecondMenuClick: R,
679
+ isMenuItemActive: g
664
680
  };
665
681
  }
666
- const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" }, gt = ["src", "width", "height"], ft = ["src", "width", "height"], _t = { class: "first-menu-list" }, yt = ["onClick", "onMouseenter"], wt = { class: "menu-item-content" }, bt = {
682
+ const vt = { class: "mix-layout-container" }, ht = { class: "logo-container" }, pt = ["src", "width", "height"], gt = ["src", "width", "height"], ft = { class: "first-menu-list" }, _t = ["onClick"], yt = { class: "menu-item-content" }, wt = {
667
683
  key: 1,
668
684
  class: "menu-item-text"
669
- }, $t = { class: "menu-item-label" }, kt = { class: "second-menu-header" }, Ct = { class: "menu-title" }, xt = { class: "second-menu-list" }, Tt = ["onClick"], Mt = { class: "menu-item-label" }, St = { class: "main-layout" }, It = /* @__PURE__ */ O({
685
+ }, bt = { class: "menu-item-label" }, kt = { class: "second-menu-header" }, $t = { class: "menu-title" }, Ct = { class: "second-menu-list" }, xt = ["onClick"], St = { class: "menu-item-label" }, Tt = { class: "main-layout" }, Mt = /* @__PURE__ */ O({
670
686
  name: "MixLayout",
671
687
  __name: "index",
672
- setup(_) {
673
- const i = G(), { cachedViews: w, maxCacheCount: s } = de(), f = i.isDark, v = z(() => i.menus.value), a = z(() => i.showFooter.value), u = z(() => i.transitionName.value), c = { ...se, ...i.brand }, k = ke({
688
+ setup(f) {
689
+ const i = X(), { cachedViews: y, maxCacheCount: s } = me(), p = i.isDark, m = z(() => i.menus.value), a = z(() => i.showFooter.value), u = z(() => i.transitionName.value), c = { ...ae, ...i.brand }, C = Ce({
674
690
  menus: i.menus,
675
691
  floatingSecondMenu: z(() => !0)
676
692
  }), g = i.iconComponent ?? O({
677
693
  name: "LayoutIcon",
678
694
  props: { name: String, size: { type: Number, default: 18 } },
679
695
  setup(h) {
680
- return () => ae("i", {
696
+ return () => re("i", {
681
697
  class: h.name,
682
698
  style: {
683
699
  fontSize: `${h.size}px`,
@@ -688,15 +704,15 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
688
704
  });
689
705
  }
690
706
  });
691
- return (h, b) => {
692
- const M = ie("RouterView");
693
- return n(), r("div", ht, [
707
+ return (h, w) => {
708
+ const M = de("RouterView");
709
+ return n(), r("div", vt, [
694
710
  e("div", {
695
- class: A(["first-level-menu", [o(f) ? "dark-theme" : "light-theme"]])
711
+ class: A(["first-level-menu", [o(p) ? "dark-theme" : "light-theme"]])
696
712
  }, [
697
- e("div", pt, [
698
- y(h.$slots, "logo", {}, () => [
699
- b[1] || (b[1] = e("div", { class: "logo-glow" }, null, -1)),
713
+ e("div", ht, [
714
+ _(h.$slots, "logo", {}, () => [
715
+ w[0] || (w[0] = e("div", { class: "logo-glow" }, null, -1)),
700
716
  c.logoType === "video" ? (n(), r("video", {
701
717
  key: 0,
702
718
  src: c.logoSrc,
@@ -707,87 +723,85 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
707
723
  muted: "",
708
724
  playsinline: "",
709
725
  class: "logo-video"
710
- }, " 您的浏览器不支持 video 标签。 ", 8, gt)) : (n(), r("img", {
726
+ }, " 您的浏览器不支持 video 标签。 ", 8, pt)) : (n(), r("img", {
711
727
  key: 1,
712
728
  src: c.logoSrc,
713
729
  width: c.logoSize || 40,
714
730
  height: c.logoSize || 40,
715
731
  class: "logo-video"
716
- }, null, 8, ft))
732
+ }, null, 8, gt))
717
733
  ])
718
734
  ]),
719
- e("div", _t, [
720
- (n(!0), r(E, null, W(v.value, (C) => (n(), r("div", {
721
- key: C.path,
735
+ e("div", ft, [
736
+ (n(!0), r(E, null, W(m.value, (T) => (n(), r("div", {
737
+ key: T.path,
722
738
  class: A(["first-menu-item", {
723
- active: o(k).activeFirstMenu.value === C.path
739
+ active: o(C).activeFirstMenu.value === T.path
724
740
  }]),
725
- onClick: (H) => o(k).handleFirstMenuClick(C),
726
- onMouseenter: (H) => o(k).hoveredMenuItem.value = C
741
+ onClick: (R) => o(C).handleFirstMenuClick(T)
727
742
  }, [
728
- e("div", wt, [
729
- C.meta?.icon ? (n(), T(N(o(g)), {
743
+ e("div", yt, [
744
+ T.meta?.icon ? (n(), S(N(o(g)), {
730
745
  key: 0,
731
- name: C.meta.icon,
746
+ name: T.meta.icon,
732
747
  size: 22
733
- }, null, 8, ["name"])) : (n(), r("span", bt, $((C.meta?.title || "")[0]), 1))
748
+ }, null, 8, ["name"])) : (n(), r("span", wt, $((T.meta?.title || "")[0]), 1))
734
749
  ]),
735
- e("span", $t, $(C.meta?.title), 1)
736
- ], 42, yt))), 128))
750
+ e("span", bt, $(T.meta?.title), 1)
751
+ ], 10, _t))), 128))
737
752
  ])
738
753
  ], 2),
739
- m(q, { name: "slide-fade" }, {
754
+ v(Q, { name: "slide-fade" }, {
740
755
  default: l(() => [
741
- o(k).showSecondMenu.value ? (n(), r("div", {
756
+ o(C).showSecondMenu.value ? (n(), r("div", {
742
757
  key: 0,
743
- class: A(["second-level-menu-popup", [o(f) ? "dark-theme" : "light-theme"]]),
744
- onMouseleave: b[0] || (b[0] = (C) => o(k).hoveredMenuItem.value = null)
758
+ class: A(["second-level-menu-popup", [o(p) ? "dark-theme" : "light-theme"]])
745
759
  }, [
746
760
  e("div", kt, [
747
- o(k).hoveredMenuItem.value?.meta?.icon ? (n(), T(N(o(g)), {
761
+ o(C).displayMenuItem.value?.meta?.icon ? (n(), S(N(o(g)), {
748
762
  key: 0,
749
- name: o(k).hoveredMenuItem.value.meta.icon,
763
+ name: o(C).displayMenuItem.value.meta.icon,
750
764
  size: 20
751
765
  }, null, 8, ["name"])) : x("", !0),
752
- e("span", Ct, $(o(k).hoveredMenuItem.value?.meta?.title), 1)
766
+ e("span", $t, $(o(C).displayMenuItem.value?.meta?.title), 1)
753
767
  ]),
754
- e("div", xt, [
755
- (n(!0), r(E, null, W(o(k).hoveredMenuItem.value?.children || [], (C) => (n(), r("div", {
756
- key: C.path,
757
- class: A(["second-menu-item", { active: o(k).isMenuItemActive(C.path) }]),
758
- onClick: (H) => o(k).handleSecondMenuClick(C)
768
+ e("div", Ct, [
769
+ (n(!0), r(E, null, W(o(C).displayMenuItem.value?.children || [], (T) => (n(), r("div", {
770
+ key: T.path,
771
+ class: A(["second-menu-item", { active: o(C).isMenuItemActive(T.path) }]),
772
+ onClick: (R) => o(C).handleSecondMenuClick(T)
759
773
  }, [
760
- C.meta?.icon ? (n(), T(N(o(g)), {
774
+ T.meta?.icon ? (n(), S(N(o(g)), {
761
775
  key: 0,
762
- name: C.meta.icon,
776
+ name: T.meta.icon,
763
777
  size: 16
764
778
  }, null, 8, ["name"])) : x("", !0),
765
- e("span", Mt, $(C.meta?.title), 1)
766
- ], 10, Tt))), 128))
779
+ e("span", St, $(T.meta?.title), 1)
780
+ ], 10, xt))), 128))
767
781
  ])
768
- ], 34)) : x("", !0)
782
+ ], 2)) : x("", !0)
769
783
  ]),
770
784
  _: 1
771
785
  }),
772
- e("div", St, [
773
- y(h.$slots, "header"),
774
- m(o(oe), null, {
786
+ e("div", Tt, [
787
+ _(h.$slots, "header"),
788
+ v(o(ne), null, {
775
789
  default: l(() => [
776
- m(o(re), { class: "content-with-header p16px app-content" }, {
790
+ v(o(ce), { class: "content-with-header p16px app-content" }, {
777
791
  default: l(() => [
778
- m(M, null, {
779
- default: l(({ Component: C, route: H }) => [
780
- m(q, {
792
+ v(M, null, {
793
+ default: l(({ Component: T, route: R }) => [
794
+ v(Q, {
781
795
  name: u.value,
782
796
  mode: "out-in"
783
797
  }, {
784
798
  default: l(() => [
785
- (n(), T(le, {
786
- include: o(w),
799
+ (n(), S(ue, {
800
+ include: o(y),
787
801
  max: o(s)
788
802
  }, [
789
- (n(), T(N(C), {
790
- key: H.path
803
+ (n(), S(N(T), {
804
+ key: R.path
791
805
  }))
792
806
  ], 1032, ["include", "max"]))
793
807
  ]),
@@ -799,7 +813,7 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
799
813
  ]),
800
814
  _: 1
801
815
  }),
802
- a.value ? y(h.$slots, "footer", { key: 0 }) : x("", !0)
816
+ a.value ? _(h.$slots, "footer", { key: 0 }) : x("", !0)
803
817
  ]),
804
818
  _: 3
805
819
  })
@@ -807,21 +821,21 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
807
821
  ]);
808
822
  };
809
823
  }
810
- }), zt = { class: "mix-top-layout-container" }, Ht = { class: "logo-container" }, Rt = ["src", "width", "height"], Vt = ["src", "width", "height"], At = { class: "first-menu-list" }, Lt = ["onClick"], Dt = { class: "menu-item-content" }, Nt = {
824
+ }), It = { class: "mix-top-layout-container" }, zt = { class: "logo-container" }, Vt = ["src", "width", "height"], Ht = ["src", "width", "height"], Rt = { class: "first-menu-list" }, At = ["onClick"], Lt = { class: "menu-item-content" }, Dt = {
811
825
  key: 1,
812
826
  class: "menu-item-text"
813
- }, Et = { class: "menu-item-label" }, Bt = { class: "main-area" }, Ft = { class: "navbar-left" }, Wt = { class: "brand-name" }, Ot = { class: "brand-title" }, Ut = { class: "brand-subtitle" }, Pt = { class: "navbar-center" }, jt = { class: "page-content" }, Kt = /* @__PURE__ */ O({
827
+ }, Nt = { class: "menu-item-label" }, Et = { class: "main-area" }, Bt = { class: "navbar-left" }, Ft = { class: "brand-name" }, Wt = { class: "brand-title" }, Ot = { class: "brand-subtitle" }, Ut = { class: "navbar-center" }, Pt = { class: "page-content" }, jt = /* @__PURE__ */ O({
814
828
  name: "MixTopLayout",
815
829
  __name: "index",
816
- setup(_) {
817
- const i = G(), { cachedViews: w, maxCacheCount: s } = de(), f = i.isDark, v = z(() => i.menus.value), a = z(() => i.showTagsView.value), u = z(() => i.tagsViewHeight.value), c = z(() => i.showFooter.value), k = z(() => i.transitionName.value), g = { ...se, ...i.brand }, h = ke({
830
+ setup(f) {
831
+ const i = X(), { cachedViews: y, maxCacheCount: s } = me(), p = i.isDark, m = z(() => i.menus.value), a = z(() => i.showTagsView.value), u = z(() => i.tagsViewHeight.value), c = z(() => i.showFooter.value), C = z(() => i.transitionName.value), g = { ...ae, ...i.brand }, h = Ce({
818
832
  menus: i.menus,
819
833
  floatingSecondMenu: z(() => !1)
820
- }), b = i.iconComponent ?? O({
834
+ }), w = i.iconComponent ?? O({
821
835
  name: "LayoutIcon",
822
836
  props: { name: String, size: { type: Number, default: 18 } },
823
837
  setup(M) {
824
- return () => ae("i", {
838
+ return () => re("i", {
825
839
  class: M.name,
826
840
  style: {
827
841
  fontSize: `${M.size}px`,
@@ -832,15 +846,15 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
832
846
  });
833
847
  }
834
848
  });
835
- return (M, C) => {
836
- const H = ie("RouterView");
837
- return n(), r("div", zt, [
849
+ return (M, T) => {
850
+ const R = de("RouterView");
851
+ return n(), r("div", It, [
838
852
  e("div", {
839
- class: A(["first-level-sidebar", [o(f) ? "dark-theme" : "light-theme"]])
853
+ class: A(["first-level-sidebar", [o(p) ? "dark-theme" : "light-theme"]])
840
854
  }, [
841
- e("div", Ht, [
842
- y(M.$slots, "logo", {}, () => [
843
- C[0] || (C[0] = e("div", { class: "logo-glow" }, null, -1)),
855
+ e("div", zt, [
856
+ _(M.$slots, "logo", {}, () => [
857
+ T[0] || (T[0] = e("div", { class: "logo-glow" }, null, -1)),
844
858
  g.logoType === "video" ? (n(), r("video", {
845
859
  key: 0,
846
860
  src: g.logoSrc,
@@ -851,82 +865,82 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
851
865
  muted: "",
852
866
  playsinline: "",
853
867
  class: "logo-video"
854
- }, " 您的浏览器不支持 video 标签。 ", 8, Rt)) : (n(), r("img", {
868
+ }, " 您的浏览器不支持 video 标签。 ", 8, Vt)) : (n(), r("img", {
855
869
  key: 1,
856
870
  src: g.logoSrc,
857
871
  width: g.logoSize || 40,
858
872
  height: g.logoSize || 40,
859
873
  class: "logo-video"
860
- }, null, 8, Vt))
874
+ }, null, 8, Ht))
861
875
  ])
862
876
  ]),
863
- e("div", At, [
864
- (n(!0), r(E, null, W(v.value, (p) => (n(), r("div", {
865
- key: p.path,
877
+ e("div", Rt, [
878
+ (n(!0), r(E, null, W(m.value, (H) => (n(), r("div", {
879
+ key: H.path,
866
880
  class: A(["first-menu-item", {
867
- active: o(h).activeFirstMenu.value === p.path
881
+ active: o(h).activeFirstMenu.value === H.path
868
882
  }]),
869
- onClick: (D) => o(h).handleFirstMenuClick(p)
883
+ onClick: (b) => o(h).handleFirstMenuClick(H)
870
884
  }, [
871
- e("div", Dt, [
872
- p.meta?.icon ? (n(), T(N(o(b)), {
885
+ e("div", Lt, [
886
+ H.meta?.icon ? (n(), S(N(o(w)), {
873
887
  key: 0,
874
- name: p.meta.icon,
888
+ name: H.meta.icon,
875
889
  size: 22
876
- }, null, 8, ["name"])) : (n(), r("span", Nt, $((p.meta?.title || "")[0]), 1))
890
+ }, null, 8, ["name"])) : (n(), r("span", Dt, $((H.meta?.title || "")[0]), 1))
877
891
  ]),
878
- e("span", Et, $(p.meta?.title), 1)
879
- ], 10, Lt))), 128))
892
+ e("span", Nt, $(H.meta?.title), 1)
893
+ ], 10, At))), 128))
880
894
  ])
881
895
  ], 2),
882
- e("div", Bt, [
896
+ e("div", Et, [
883
897
  e("div", {
884
- class: A(["top-navbar", [o(f) ? "dark-theme" : "light-theme"]])
898
+ class: A(["top-navbar", [o(p) ? "dark-theme" : "light-theme"]])
885
899
  }, [
886
- e("div", Ft, [
887
- y(M.$slots, "brand", {}, () => [
888
- e("div", Wt, [
889
- e("span", Ot, $(g.name), 1),
890
- e("span", Ut, $(g.subtitle), 1)
900
+ e("div", Bt, [
901
+ _(M.$slots, "brand", {}, () => [
902
+ e("div", Ft, [
903
+ e("span", Wt, $(g.name), 1),
904
+ e("span", Ot, $(g.subtitle), 1)
891
905
  ]),
892
- C[1] || (C[1] = e("div", { class: "navbar-divider" }, null, -1))
906
+ T[1] || (T[1] = e("div", { class: "navbar-divider" }, null, -1))
893
907
  ])
894
908
  ]),
895
- e("div", Pt, [
896
- y(M.$slots, "top-menu", {}, () => [
897
- o(h).currentSecondMenus.value.length > 0 ? (n(), T($e, {
909
+ e("div", Ut, [
910
+ _(M.$slots, "top-menu", {}, () => [
911
+ o(h).currentSecondMenus.value.length > 0 ? (n(), S($e, {
898
912
  key: 0,
899
913
  data: o(h).currentSecondMenus.value
900
914
  }, null, 8, ["data"])) : x("", !0)
901
915
  ])
902
916
  ]),
903
- y(M.$slots, "header-extra")
917
+ _(M.$slots, "header-extra")
904
918
  ], 2),
905
919
  a.value ? (n(), r("div", {
906
920
  key: 0,
907
921
  class: "tags-view-container",
908
- style: me({ height: `${u.value}px` })
922
+ style: he({ height: `${u.value}px` })
909
923
  }, [
910
- y(M.$slots, "tags-view")
924
+ _(M.$slots, "tags-view")
911
925
  ], 4)) : x("", !0),
912
- m(o(oe), { class: "content-layout" }, {
926
+ v(o(ne), { class: "content-layout" }, {
913
927
  default: l(() => [
914
- m(o(re), { class: "main-content" }, {
928
+ v(o(ce), { class: "main-content" }, {
915
929
  default: l(() => [
916
- e("div", jt, [
917
- m(H, null, {
918
- default: l(({ Component: p, route: D }) => [
919
- m(q, {
920
- name: k.value,
930
+ e("div", Pt, [
931
+ v(R, null, {
932
+ default: l(({ Component: H, route: b }) => [
933
+ v(Q, {
934
+ name: C.value,
921
935
  mode: "out-in"
922
936
  }, {
923
937
  default: l(() => [
924
- (n(), T(le, {
925
- include: o(w),
938
+ (n(), S(ue, {
939
+ include: o(y),
926
940
  max: o(s)
927
941
  }, [
928
- (n(), T(N(p), {
929
- key: D.path
942
+ (n(), S(N(H), {
943
+ key: b.path
930
944
  }))
931
945
  ], 1032, ["include", "max"]))
932
946
  ]),
@@ -939,7 +953,7 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
939
953
  ]),
940
954
  _: 1
941
955
  }),
942
- c.value ? y(M.$slots, "footer", { key: 0 }) : x("", !0)
956
+ c.value ? _(M.$slots, "footer", { key: 0 }) : x("", !0)
943
957
  ]),
944
958
  _: 3
945
959
  })
@@ -947,26 +961,26 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
947
961
  ]);
948
962
  };
949
963
  }
950
- }), Yt = { class: "reverse-horizontal-mix-layout-container" }, Gt = { class: "navbar-left" }, Xt = { class: "logo-container" }, Jt = ["src", "width", "height"], Zt = ["src", "width", "height"], qt = { class: "brand-name" }, Qt = { class: "brand-title" }, eo = { class: "brand-subtitle" }, to = { class: "navbar-center" }, oo = { class: "main-area" }, so = { class: "page-content" }, no = { class: "sidebar-content" }, ao = { class: "header-icon" }, io = { class: "header-title" }, lo = { class: "sidebar-menu-list" }, ro = {
964
+ }), Kt = { class: "reverse-horizontal-mix-layout-container" }, Yt = { class: "navbar-left" }, Gt = { class: "logo-container" }, Xt = ["src", "width", "height"], Jt = ["src", "width", "height"], Zt = { class: "brand-name" }, qt = { class: "brand-title" }, Qt = { class: "brand-subtitle" }, eo = { class: "navbar-center" }, to = { class: "main-area" }, oo = { class: "page-content" }, so = { class: "header-icon" }, no = { class: "header-title" }, ao = { class: "sidebar-menu-list" }, io = {
951
965
  key: 0,
952
966
  class: "menu-group"
953
- }, uo = { class: "group-title" }, co = ["onClick"], mo = { class: "item-title" }, vo = ["onClick"], ho = { class: "item-title" }, po = /* @__PURE__ */ O({
967
+ }, lo = { class: "group-title" }, ro = ["onClick"], uo = { class: "item-title" }, co = ["onClick"], mo = { class: "item-title" }, vo = /* @__PURE__ */ O({
954
968
  name: "ReverseHorizontalMixLayout",
955
969
  __name: "index",
956
- setup(_) {
957
- const i = G(), { cachedViews: w, maxCacheCount: s } = de(), f = i.isDark, v = z(() => i.menus.value), a = z(() => i.showTagsView.value), u = z(() => i.tagsViewHeight.value), c = z(() => i.showFooter.value), k = z(() => i.transitionName.value), g = { ...se, ...i.brand }, h = ke({
970
+ setup(f) {
971
+ const i = X(), { cachedViews: y, maxCacheCount: s } = me(), p = i.isDark, m = z(() => i.menus.value), a = z(() => i.showTagsView.value), u = z(() => i.tagsViewHeight.value), c = z(() => i.showFooter.value), C = z(() => i.transitionName.value), g = { ...ae, ...i.brand }, h = Ce({
958
972
  menus: i.menus,
959
973
  floatingSecondMenu: z(() => !1)
960
- }), b = R(!1), M = () => {
961
- b.value = !b.value;
962
- }, C = i.iconComponent ?? O({
974
+ }), w = V(!1), M = () => {
975
+ w.value = !w.value;
976
+ }, T = i.iconComponent ?? O({
963
977
  name: "LayoutIcon",
964
978
  props: { name: String, size: { type: Number, default: 18 } },
965
- setup(H) {
966
- return () => ae("i", {
967
- class: H.name,
979
+ setup(R) {
980
+ return () => re("i", {
981
+ class: R.name,
968
982
  style: {
969
- fontSize: `${H.size}px`,
983
+ fontSize: `${R.size}px`,
970
984
  display: "inline-flex",
971
985
  alignItems: "center",
972
986
  justifyContent: "center"
@@ -974,16 +988,16 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
974
988
  });
975
989
  }
976
990
  });
977
- return (H, p) => {
978
- const D = ie("RouterView");
979
- return n(), r("div", Yt, [
991
+ return (R, H) => {
992
+ const b = de("RouterView");
993
+ return n(), r("div", Kt, [
980
994
  e("div", {
981
- class: A(["top-navbar", [o(f) ? "dark-theme" : "light-theme"]])
995
+ class: A(["top-navbar", [o(p) ? "dark-theme" : "light-theme"]])
982
996
  }, [
983
- e("div", Gt, [
984
- y(H.$slots, "logo", {}, () => [
985
- e("div", Xt, [
986
- p[0] || (p[0] = e("div", { class: "logo-glow" }, null, -1)),
997
+ e("div", Yt, [
998
+ _(R.$slots, "logo", {}, () => [
999
+ e("div", Gt, [
1000
+ H[0] || (H[0] = e("div", { class: "logo-glow" }, null, -1)),
987
1001
  g.logoType === "video" ? (n(), r("video", {
988
1002
  key: 0,
989
1003
  src: g.logoSrc,
@@ -994,54 +1008,54 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
994
1008
  muted: "",
995
1009
  playsinline: "",
996
1010
  class: "logo-video"
997
- }, " 您的浏览器不支持 video 标签。 ", 8, Jt)) : (n(), r("img", {
1011
+ }, " 您的浏览器不支持 video 标签。 ", 8, Xt)) : (n(), r("img", {
998
1012
  key: 1,
999
1013
  src: g.logoSrc,
1000
1014
  width: g.logoSize || 36,
1001
1015
  height: g.logoSize || 36,
1002
1016
  class: "logo-video"
1003
- }, null, 8, Zt))
1017
+ }, null, 8, Jt))
1004
1018
  ]),
1005
- e("div", qt, [
1006
- e("span", Qt, $(g.name), 1),
1007
- e("span", eo, $(g.subtitle), 1)
1019
+ e("div", Zt, [
1020
+ e("span", qt, $(g.name), 1),
1021
+ e("span", Qt, $(g.subtitle), 1)
1008
1022
  ]),
1009
- p[1] || (p[1] = e("div", { class: "navbar-divider" }, null, -1))
1023
+ H[1] || (H[1] = e("div", { class: "navbar-divider" }, null, -1))
1010
1024
  ])
1011
1025
  ]),
1012
- e("div", to, [
1013
- y(H.$slots, "top-menu", {}, () => [
1014
- m($e, { data: v.value }, null, 8, ["data"])
1026
+ e("div", eo, [
1027
+ _(R.$slots, "top-menu", {}, () => [
1028
+ v($e, { data: m.value }, null, 8, ["data"])
1015
1029
  ])
1016
1030
  ]),
1017
- y(H.$slots, "header-extra")
1031
+ _(R.$slots, "header-extra")
1018
1032
  ], 2),
1019
1033
  a.value ? (n(), r("div", {
1020
1034
  key: 0,
1021
1035
  class: "tags-view-container",
1022
- style: me({ height: `${u.value}px` })
1036
+ style: he({ height: `${u.value}px` })
1023
1037
  }, [
1024
- y(H.$slots, "tags-view")
1038
+ _(R.$slots, "tags-view")
1025
1039
  ], 4)) : x("", !0),
1026
- e("div", oo, [
1027
- m(o(oe), { class: "content-layout" }, {
1040
+ e("div", to, [
1041
+ v(o(ne), { class: "content-layout" }, {
1028
1042
  default: l(() => [
1029
- m(o(re), { class: "main-content" }, {
1043
+ v(o(ce), { class: "main-content" }, {
1030
1044
  default: l(() => [
1031
- e("div", so, [
1032
- m(D, null, {
1033
- default: l(({ Component: I, route: V }) => [
1034
- m(q, {
1035
- name: k.value,
1045
+ e("div", oo, [
1046
+ v(b, null, {
1047
+ default: l(({ Component: k, route: L }) => [
1048
+ v(Q, {
1049
+ name: C.value,
1036
1050
  mode: "out-in"
1037
1051
  }, {
1038
1052
  default: l(() => [
1039
- (n(), T(le, {
1040
- include: o(w),
1053
+ (n(), S(ue, {
1054
+ include: o(y),
1041
1055
  max: o(s)
1042
1056
  }, [
1043
- (n(), T(N(I), {
1044
- key: V.path
1057
+ (n(), S(N(k), {
1058
+ key: L.path
1045
1059
  }))
1046
1060
  ], 1032, ["include", "max"]))
1047
1061
  ]),
@@ -1054,118 +1068,123 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
1054
1068
  ]),
1055
1069
  _: 1
1056
1070
  }),
1057
- c.value ? y(H.$slots, "footer", { key: 0 }) : x("", !0)
1071
+ c.value ? _(R.$slots, "footer", { key: 0 }) : x("", !0)
1058
1072
  ]),
1059
1073
  _: 3
1060
1074
  }),
1061
1075
  o(h).currentSecondMenus.value.length > 0 ? (n(), r("div", {
1062
1076
  key: 0,
1063
- class: A(["right-sidebar", [
1064
- o(f) ? "dark-theme" : "light-theme",
1065
- { collapsed: b.value }
1066
- ]])
1077
+ class: A(["sidebar-toggle", [
1078
+ o(p) ? "dark-theme" : "light-theme",
1079
+ { active: !w.value }
1080
+ ]]),
1081
+ onClick: M
1082
+ }, [
1083
+ e("span", {
1084
+ class: A([
1085
+ "collapse-arrow",
1086
+ "toggle-icon",
1087
+ w.value ? "collapsed" : "expanded"
1088
+ ])
1089
+ }, [...H[2] || (H[2] = [
1090
+ e("span", { class: "arrow-line" }, null, -1),
1091
+ e("span", { class: "arrow-line" }, null, -1)
1092
+ ])], 2)
1093
+ ], 2)) : x("", !0),
1094
+ o(h).currentSecondMenus.value.length > 0 ? (n(), r("div", {
1095
+ key: 1,
1096
+ class: A(["right-sidebar-wrapper", { collapsed: w.value }])
1067
1097
  }, [
1068
1098
  e("div", {
1069
- class: "collapse-trigger",
1070
- onClick: M
1099
+ class: A(["right-sidebar", [o(p) ? "dark-theme" : "light-theme"]])
1071
1100
  }, [
1072
- e("i", {
1073
- class: A([
1074
- "transition-all duration-300 ease-in-out",
1075
- b.value ? "i-ri:menu-fold-4-fill" : "i-ri:menu-fold-3-fill"
1076
- ])
1077
- }, null, 2)
1078
- ]),
1079
- He(e("div", no, [
1080
1101
  e("div", {
1081
- class: A(["sidebar-header", [o(f) ? "dark-theme" : "light-theme"]])
1102
+ class: A(["sidebar-header", [o(p) ? "dark-theme" : "light-theme"]])
1082
1103
  }, [
1083
- e("div", ao, [
1084
- o(h).activeFirstMenuItem.value?.meta?.icon ? (n(), T(N(o(C)), {
1104
+ e("div", so, [
1105
+ o(h).activeFirstMenuItem.value?.meta?.icon ? (n(), S(N(o(T)), {
1085
1106
  key: 0,
1086
1107
  name: o(h).activeFirstMenuItem.value.meta.icon,
1087
1108
  size: 20
1088
1109
  }, null, 8, ["name"])) : x("", !0)
1089
1110
  ]),
1090
- e("span", io, $(o(h).activeFirstMenuItem.value?.meta?.title || "菜单"), 1)
1111
+ e("span", no, $(o(h).activeFirstMenuItem.value?.meta?.title || "菜单"), 1)
1091
1112
  ], 2),
1092
- e("div", lo, [
1093
- (n(!0), r(E, null, W(o(h).currentSecondMenus.value, (I) => (n(), r(E, {
1094
- key: I.path
1113
+ e("div", ao, [
1114
+ (n(!0), r(E, null, W(o(h).currentSecondMenus.value, (k) => (n(), r(E, {
1115
+ key: k.path
1095
1116
  }, [
1096
- I.children && I.children.length > 0 ? (n(), r("div", ro, [
1097
- e("div", uo, [
1098
- I.meta?.icon ? (n(), T(N(o(C)), {
1117
+ k.children && k.children.length > 0 ? (n(), r("div", io, [
1118
+ e("div", lo, [
1119
+ k.meta?.icon ? (n(), S(N(o(T)), {
1099
1120
  key: 0,
1100
- name: I.meta.icon,
1121
+ name: k.meta.icon,
1101
1122
  size: 16
1102
1123
  }, null, 8, ["name"])) : x("", !0),
1103
- e("span", null, $(I.meta?.title), 1)
1124
+ e("span", null, $(k.meta?.title), 1)
1104
1125
  ]),
1105
- (n(!0), r(E, null, W(I.children, (V) => (n(), r("div", {
1106
- key: V.path,
1126
+ (n(!0), r(E, null, W(k.children, (L) => (n(), r("div", {
1127
+ key: L.path,
1107
1128
  class: A(["menu-item sub-item", {
1108
- active: o(h).isMenuItemActive(V.path)
1129
+ active: o(h).isMenuItemActive(L.path)
1109
1130
  }]),
1110
- onClick: (X) => o(h).handleSecondMenuClick(V)
1131
+ onClick: (j) => o(h).handleSecondMenuClick(L)
1111
1132
  }, [
1112
- V.meta?.icon ? (n(), T(N(o(C)), {
1133
+ L.meta?.icon ? (n(), S(N(o(T)), {
1113
1134
  key: 0,
1114
- name: V.meta.icon,
1135
+ name: L.meta.icon,
1115
1136
  size: 16
1116
1137
  }, null, 8, ["name"])) : x("", !0),
1117
- e("span", mo, $(V.meta?.title), 1)
1118
- ], 10, co))), 128))
1138
+ e("span", uo, $(L.meta?.title), 1)
1139
+ ], 10, ro))), 128))
1119
1140
  ])) : (n(), r("div", {
1120
1141
  key: 1,
1121
1142
  class: A(["menu-item", {
1122
- active: o(h).isMenuItemActive(I.path)
1143
+ active: o(h).isMenuItemActive(k.path)
1123
1144
  }]),
1124
- onClick: (V) => o(h).handleSecondMenuClick(I)
1145
+ onClick: (L) => o(h).handleSecondMenuClick(k)
1125
1146
  }, [
1126
- I.meta?.icon ? (n(), T(N(o(C)), {
1147
+ k.meta?.icon ? (n(), S(N(o(T)), {
1127
1148
  key: 0,
1128
- name: I.meta.icon,
1149
+ name: k.meta.icon,
1129
1150
  size: 18
1130
1151
  }, null, 8, ["name"])) : x("", !0),
1131
- e("span", ho, $(I.meta?.title), 1)
1132
- ], 10, vo))
1152
+ e("span", mo, $(k.meta?.title), 1)
1153
+ ], 10, co))
1133
1154
  ], 64))), 128))
1134
1155
  ])
1135
- ], 512), [
1136
- [Re, !b.value]
1137
- ])
1156
+ ], 2)
1138
1157
  ], 2)) : x("", !0)
1139
1158
  ])
1140
1159
  ]);
1141
1160
  };
1142
1161
  }
1143
- }), go = { class: "card-layout-container" }, fo = { class: "navbar-left" }, _o = { class: "logo-container" }, yo = ["src", "width", "height"], wo = ["src", "width", "height"], bo = { class: "brand-name" }, $o = { class: "brand-title" }, ko = { class: "brand-subtitle" }, Co = { class: "drawer-content" }, xo = { class: "menu-grid" }, To = ["onClick"], Mo = {
1162
+ }), ho = { class: "card-layout-container" }, po = { class: "navbar-left" }, go = { class: "logo-container" }, fo = ["src", "width", "height"], _o = ["src", "width", "height"], yo = { class: "brand-name" }, wo = { class: "brand-title" }, bo = { class: "brand-subtitle" }, ko = { class: "drawer-content" }, $o = { class: "menu-grid" }, Co = ["onClick"], xo = {
1144
1163
  key: 0,
1145
1164
  class: "category-items"
1146
- }, So = ["onClick"], Io = { class: "item-title" }, zo = {
1165
+ }, So = ["onClick"], To = { class: "item-title" }, Mo = {
1147
1166
  key: 0,
1148
1167
  class: "submenu-items"
1149
- }, Ho = { class: "submenu-title" }, Ro = ["onClick"], Vo = { class: "item-title" }, Ao = { class: "main-content-area" }, Lo = { class: "page-content" }, Do = /* @__PURE__ */ O({
1168
+ }, Io = { class: "submenu-title" }, zo = ["onClick"], Vo = { class: "item-title" }, Ho = { class: "main-content-area" }, Ro = { class: "page-content" }, Ao = /* @__PURE__ */ O({
1150
1169
  name: "CardLayout",
1151
1170
  __name: "index",
1152
- setup(_) {
1153
- const i = G(), { cachedViews: w, maxCacheCount: s } = de(), f = pe(), v = i.isDark, a = z(() => i.menus.value), u = z(() => i.showTagsView.value), c = z(() => i.tagsViewHeight.value), k = z(() => i.showFooter.value), g = z(() => i.transitionName.value), h = { ...se, ...i.brand }, b = R(!1), M = R(null), C = () => {
1171
+ setup(f) {
1172
+ const i = X(), { cachedViews: y, maxCacheCount: s } = me(), p = ge(), m = i.isDark, a = z(() => i.menus.value), u = z(() => i.showTagsView.value), c = z(() => i.tagsViewHeight.value), C = z(() => i.showFooter.value), g = z(() => i.transitionName.value), h = { ...ae, ...i.brand }, w = V(!1), M = V(null), T = () => {
1154
1173
  M.value && clearTimeout(M.value), M.value = setTimeout(() => {
1155
- b.value = !1;
1174
+ w.value = !1;
1156
1175
  }, 300);
1157
- }, H = () => {
1158
- M.value && (clearTimeout(M.value), M.value = null), b.value = !0;
1159
- }, p = (I) => {
1160
- I.path && (f.push(I.path), b.value = !1);
1161
- }, D = i.iconComponent ?? O({
1176
+ }, R = () => {
1177
+ M.value && (clearTimeout(M.value), M.value = null), w.value = !0;
1178
+ }, H = (k) => {
1179
+ k.path && (p.push(k.path), w.value = !1);
1180
+ }, b = i.iconComponent ?? O({
1162
1181
  name: "LayoutIcon",
1163
1182
  props: { name: String, size: { type: Number, default: 18 } },
1164
- setup(I) {
1165
- return () => ae("i", {
1166
- class: I.name,
1183
+ setup(k) {
1184
+ return () => re("i", {
1185
+ class: k.name,
1167
1186
  style: {
1168
- fontSize: `${I.size}px`,
1187
+ fontSize: `${k.size}px`,
1169
1188
  display: "inline-flex",
1170
1189
  alignItems: "center",
1171
1190
  justifyContent: "center"
@@ -1173,29 +1192,33 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
1173
1192
  });
1174
1193
  }
1175
1194
  });
1176
- return we(() => {
1195
+ return be(() => {
1177
1196
  M.value && clearTimeout(M.value);
1178
- }), (I, V) => {
1179
- const X = ie("RouterView");
1180
- return n(), r("div", go, [
1197
+ }), (k, L) => {
1198
+ const j = de("RouterView");
1199
+ return n(), r("div", ho, [
1181
1200
  e("div", {
1182
- class: A(["top-navbar", [o(v) ? "dark-theme" : "light-theme"]])
1201
+ class: A(["top-navbar", [o(m) ? "dark-theme" : "light-theme"]])
1183
1202
  }, [
1184
- e("div", fo, [
1203
+ e("div", po, [
1185
1204
  e("div", {
1186
1205
  class: "hover-trigger-area",
1187
- onMouseenter: H,
1188
- onMouseleave: C
1206
+ onMouseenter: R,
1207
+ onMouseleave: T
1189
1208
  }, [
1190
- y(I.$slots, "menu-trigger", {}, () => [
1191
- V[0] || (V[0] = e("div", { class: "menu-indicator" }, [
1192
- e("i", { class: "i-ri:menu-3-line" })
1209
+ _(k.$slots, "menu-trigger", {}, () => [
1210
+ L[0] || (L[0] = e("div", { class: "menu-indicator" }, [
1211
+ e("span", { class: "hamburger-icon" }, [
1212
+ e("span"),
1213
+ e("span"),
1214
+ e("span")
1215
+ ])
1193
1216
  ], -1))
1194
- ])
1217
+ ], !0)
1195
1218
  ], 32),
1196
- y(I.$slots, "logo", {}, () => [
1197
- e("div", _o, [
1198
- V[1] || (V[1] = e("div", { class: "logo-glow" }, null, -1)),
1219
+ _(k.$slots, "logo", {}, () => [
1220
+ e("div", go, [
1221
+ L[1] || (L[1] = e("div", { class: "logo-glow" }, null, -1)),
1199
1222
  h.logoType === "video" ? (n(), r("video", {
1200
1223
  key: 0,
1201
1224
  src: h.logoSrc,
@@ -1206,118 +1229,123 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
1206
1229
  muted: "",
1207
1230
  playsinline: "",
1208
1231
  class: "logo-video"
1209
- }, " 您的浏览器不支持 video 标签。 ", 8, yo)) : (n(), r("img", {
1232
+ }, " 您的浏览器不支持 video 标签。 ", 8, fo)) : (n(), r("img", {
1210
1233
  key: 1,
1211
1234
  src: h.logoSrc,
1212
1235
  width: h.logoSize || 36,
1213
1236
  height: h.logoSize || 36,
1214
1237
  class: "logo-video"
1215
- }, null, 8, wo))
1238
+ }, null, 8, _o))
1216
1239
  ]),
1217
- e("div", bo, [
1218
- e("span", $o, $(h.name), 1),
1219
- e("span", ko, $(h.subtitle), 1)
1240
+ e("div", yo, [
1241
+ e("span", wo, $(h.name), 1),
1242
+ e("span", bo, $(h.subtitle), 1)
1220
1243
  ]),
1221
- V[2] || (V[2] = e("div", { class: "navbar-divider" }, null, -1))
1222
- ])
1244
+ L[2] || (L[2] = e("div", { class: "navbar-divider" }, null, -1))
1245
+ ], !0)
1223
1246
  ]),
1224
- y(I.$slots, "header-extra")
1247
+ _(k.$slots, "header-extra", {}, void 0, !0)
1225
1248
  ], 2),
1226
1249
  u.value ? (n(), r("div", {
1227
1250
  key: 0,
1228
1251
  class: "tags-view-container",
1229
- style: me({ height: `${c.value}px` })
1252
+ style: he({ height: `${c.value}px` })
1230
1253
  }, [
1231
- y(I.$slots, "tags-view")
1254
+ _(k.$slots, "tags-view", {}, void 0, !0)
1232
1255
  ], 4)) : x("", !0),
1233
1256
  e("div", {
1234
1257
  class: A(["drawer-menu", [
1235
- o(v) ? "dark-theme" : "light-theme",
1236
- { visible: b.value }
1258
+ o(m) ? "dark-theme" : "light-theme",
1259
+ { visible: w.value }
1237
1260
  ]]),
1238
- onMouseenter: H,
1239
- onMouseleave: C
1261
+ onMouseenter: R,
1262
+ onMouseleave: T
1240
1263
  }, [
1241
- y(I.$slots, "drawer-menu", {}, () => [
1242
- V[3] || (V[3] = e("div", { class: "drawer-header" }, [
1264
+ _(k.$slots, "drawer-menu", {}, () => [
1265
+ L[3] || (L[3] = e("div", { class: "drawer-header" }, [
1243
1266
  e("div", { class: "drawer-title" }, [
1244
- e("i", { class: "i-ri:apps-2-line" }),
1267
+ e("span", { class: "grid-icon" }, [
1268
+ e("span"),
1269
+ e("span"),
1270
+ e("span"),
1271
+ e("span")
1272
+ ]),
1245
1273
  e("span", null, "功能导航")
1246
1274
  ])
1247
1275
  ], -1)),
1248
- e("div", Co, [
1249
- e("div", xo, [
1276
+ e("div", ko, [
1277
+ e("div", $o, [
1250
1278
  (n(!0), r(E, null, W(a.value, (F) => (n(), r("div", {
1251
1279
  key: F.path,
1252
1280
  class: "menu-category"
1253
1281
  }, [
1254
1282
  e("div", {
1255
1283
  class: "category-header",
1256
- onClick: (B) => p(F)
1284
+ onClick: (B) => H(F)
1257
1285
  }, [
1258
- F.meta?.icon ? (n(), T(N(o(D)), {
1286
+ F.meta?.icon ? (n(), S(N(o(b)), {
1259
1287
  key: 0,
1260
1288
  name: F.meta.icon,
1261
1289
  size: 18
1262
1290
  }, null, 8, ["name"])) : x("", !0),
1263
1291
  e("span", null, $(F.meta?.title), 1)
1264
- ], 8, To),
1265
- F.children && F.children.length > 0 ? (n(), r("div", Mo, [
1292
+ ], 8, Co),
1293
+ F.children && F.children.length > 0 ? (n(), r("div", xo, [
1266
1294
  (n(!0), r(E, null, W(F.children, (B) => (n(), r("div", {
1267
1295
  key: B.path,
1268
1296
  class: "menu-item",
1269
- onClick: (Y) => p(B)
1297
+ onClick: (G) => H(B)
1270
1298
  }, [
1271
- B.meta?.icon ? (n(), T(N(o(D)), {
1299
+ B.meta?.icon ? (n(), S(N(o(b)), {
1272
1300
  key: 0,
1273
1301
  name: B.meta.icon,
1274
1302
  size: 16
1275
1303
  }, null, 8, ["name"])) : x("", !0),
1276
- e("span", Io, $(B.meta?.title), 1)
1304
+ e("span", To, $(B.meta?.title), 1)
1277
1305
  ], 8, So))), 128)),
1278
1306
  (n(!0), r(E, null, W(F.children, (B) => (n(), r(E, {
1279
1307
  key: "sub-" + B.path
1280
1308
  }, [
1281
- B.children && B.children.length > 0 ? (n(), r("div", zo, [
1282
- e("div", Ho, $(B.meta?.title), 1),
1283
- (n(!0), r(E, null, W(B.children, (Y) => (n(), r("div", {
1284
- key: Y.path,
1309
+ B.children && B.children.length > 0 ? (n(), r("div", Mo, [
1310
+ e("div", Io, $(B.meta?.title), 1),
1311
+ (n(!0), r(E, null, W(B.children, (G) => (n(), r("div", {
1312
+ key: G.path,
1285
1313
  class: "menu-item submenu-item",
1286
- onClick: (S) => p(Y)
1314
+ onClick: (I) => H(G)
1287
1315
  }, [
1288
- Y.meta?.icon ? (n(), T(N(o(D)), {
1316
+ G.meta?.icon ? (n(), S(N(o(b)), {
1289
1317
  key: 0,
1290
- name: Y.meta.icon,
1318
+ name: G.meta.icon,
1291
1319
  size: 14
1292
1320
  }, null, 8, ["name"])) : x("", !0),
1293
- e("span", Vo, $(Y.meta?.title), 1)
1294
- ], 8, Ro))), 128))
1321
+ e("span", Vo, $(G.meta?.title), 1)
1322
+ ], 8, zo))), 128))
1295
1323
  ])) : x("", !0)
1296
1324
  ], 64))), 128))
1297
1325
  ])) : x("", !0)
1298
1326
  ]))), 128))
1299
1327
  ])
1300
1328
  ])
1301
- ])
1329
+ ], !0)
1302
1330
  ], 34),
1303
- e("div", Ao, [
1304
- m(o(oe), { class: "content-layout" }, {
1331
+ e("div", Ho, [
1332
+ v(o(ne), { class: "content-layout" }, {
1305
1333
  default: l(() => [
1306
- m(o(re), { class: "main-content p16px app-content" }, {
1334
+ v(o(ce), { class: "main-content p16px app-content" }, {
1307
1335
  default: l(() => [
1308
- e("div", Lo, [
1309
- m(X, null, {
1336
+ e("div", Ro, [
1337
+ v(j, null, {
1310
1338
  default: l(({ Component: F, route: B }) => [
1311
- m(q, {
1339
+ v(Q, {
1312
1340
  name: g.value,
1313
1341
  mode: "out-in"
1314
1342
  }, {
1315
1343
  default: l(() => [
1316
- (n(), T(le, {
1317
- include: o(w),
1344
+ (n(), S(ue, {
1345
+ include: o(y),
1318
1346
  max: o(s)
1319
1347
  }, [
1320
- (n(), T(N(F), {
1348
+ (n(), S(N(F), {
1321
1349
  key: B.path
1322
1350
  }))
1323
1351
  ], 1032, ["include", "max"]))
@@ -1331,7 +1359,7 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
1331
1359
  ]),
1332
1360
  _: 1
1333
1361
  }),
1334
- k.value ? y(I.$slots, "footer", { key: 0 }) : x("", !0)
1362
+ C.value ? _(k.$slots, "footer", { key: 0 }, void 0, !0) : x("", !0)
1335
1363
  ]),
1336
1364
  _: 3
1337
1365
  })
@@ -1339,224 +1367,224 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
1339
1367
  ]);
1340
1368
  };
1341
1369
  }
1342
- }), No = {
1370
+ }), Lo = /* @__PURE__ */ ee(Ao, [["__scopeId", "data-v-3e4915c5"]]), Do = {
1343
1371
  key: 6,
1344
1372
  class: "layout-coming-soon"
1345
- }, Kn = /* @__PURE__ */ O({
1373
+ }, jn = /* @__PURE__ */ O({
1346
1374
  name: "C_LayoutContainer",
1347
1375
  __name: "index",
1348
- setup(_) {
1349
- const i = Se(), w = G(), s = z(() => i.layoutMode), f = w.isDark, v = R(!1);
1350
- return Ve("menuCollapse", {
1351
- isCollapsed: v,
1376
+ setup(f) {
1377
+ const i = ze(), y = X(), s = z(() => i.layoutMode), p = y.isDark, m = V(!1);
1378
+ return He("menuCollapse", {
1379
+ isCollapsed: m,
1352
1380
  handleCollapsedChange: (a) => {
1353
- v.value = a;
1381
+ m.value = a;
1354
1382
  }
1355
1383
  }), (a, u) => (n(), r("div", {
1356
- class: A(["layout-container", o(f) ? "dark-mode" : "light-mode"])
1384
+ class: A(["layout-container", o(p) ? "dark-mode" : "light-mode"])
1357
1385
  }, [
1358
- s.value === "side" ? (n(), T(Qe, {
1386
+ s.value === "side" ? (n(), S(qe, {
1359
1387
  key: 0,
1360
- collapsed: v.value,
1361
- "onUpdate:collapsed": u[0] || (u[0] = (c) => v.value = c)
1362
- }, ne({
1388
+ collapsed: m.value,
1389
+ "onUpdate:collapsed": u[0] || (u[0] = (c) => m.value = c)
1390
+ }, le({
1363
1391
  menu: l(() => [
1364
- y(a.$slots, "menu", { collapsed: v.value })
1392
+ _(a.$slots, "menu", { collapsed: m.value })
1365
1393
  ]),
1366
1394
  header: l(() => [
1367
- y(a.$slots, "header")
1395
+ _(a.$slots, "header")
1368
1396
  ]),
1369
1397
  footer: l(() => [
1370
- y(a.$slots, "footer")
1398
+ _(a.$slots, "footer")
1371
1399
  ]),
1372
1400
  _: 2
1373
1401
  }, [
1374
1402
  a.$slots.logo ? {
1375
1403
  name: "logo",
1376
1404
  fn: l(() => [
1377
- y(a.$slots, "logo")
1405
+ _(a.$slots, "logo")
1378
1406
  ]),
1379
1407
  key: "0"
1380
1408
  } : void 0
1381
- ]), 1032, ["collapsed"])) : s.value === "top" ? (n(), T(vt, { key: 1 }, ne({ _: 2 }, [
1409
+ ]), 1032, ["collapsed"])) : s.value === "top" ? (n(), S(mt, { key: 1 }, le({ _: 2 }, [
1382
1410
  a.$slots.logo ? {
1383
1411
  name: "logo",
1384
1412
  fn: l(() => [
1385
- y(a.$slots, "logo")
1413
+ _(a.$slots, "logo")
1386
1414
  ]),
1387
1415
  key: "0"
1388
1416
  } : void 0,
1389
1417
  a.$slots["top-menu"] ? {
1390
1418
  name: "menu",
1391
1419
  fn: l(() => [
1392
- y(a.$slots, "top-menu")
1420
+ _(a.$slots, "top-menu")
1393
1421
  ]),
1394
1422
  key: "1"
1395
1423
  } : void 0,
1396
1424
  a.$slots["header-extra"] ? {
1397
1425
  name: "header-extra",
1398
1426
  fn: l(() => [
1399
- y(a.$slots, "header-extra")
1427
+ _(a.$slots, "header-extra")
1400
1428
  ]),
1401
1429
  key: "2"
1402
1430
  } : void 0,
1403
1431
  a.$slots["tags-view"] ? {
1404
1432
  name: "tags-view",
1405
1433
  fn: l(() => [
1406
- y(a.$slots, "tags-view")
1434
+ _(a.$slots, "tags-view")
1407
1435
  ]),
1408
1436
  key: "3"
1409
1437
  } : void 0,
1410
1438
  a.$slots.footer ? {
1411
1439
  name: "footer",
1412
1440
  fn: l(() => [
1413
- y(a.$slots, "footer")
1441
+ _(a.$slots, "footer")
1414
1442
  ]),
1415
1443
  key: "4"
1416
1444
  } : void 0
1417
- ]), 1024)) : s.value === "mix" ? (n(), T(It, { key: 2 }, ne({
1445
+ ]), 1024)) : s.value === "mix" ? (n(), S(Mt, { key: 2 }, le({
1418
1446
  header: l(() => [
1419
- y(a.$slots, "header")
1447
+ _(a.$slots, "header")
1420
1448
  ]),
1421
1449
  _: 2
1422
1450
  }, [
1423
1451
  a.$slots.logo ? {
1424
1452
  name: "logo",
1425
1453
  fn: l(() => [
1426
- y(a.$slots, "logo")
1454
+ _(a.$slots, "logo")
1427
1455
  ]),
1428
1456
  key: "0"
1429
1457
  } : void 0,
1430
1458
  a.$slots.footer ? {
1431
1459
  name: "footer",
1432
1460
  fn: l(() => [
1433
- y(a.$slots, "footer")
1461
+ _(a.$slots, "footer")
1434
1462
  ]),
1435
1463
  key: "1"
1436
1464
  } : void 0
1437
- ]), 1024)) : s.value === "mix-top" ? (n(), T(Kt, { key: 3 }, ne({ _: 2 }, [
1465
+ ]), 1024)) : s.value === "mix-top" ? (n(), S(jt, { key: 3 }, le({ _: 2 }, [
1438
1466
  a.$slots.logo ? {
1439
1467
  name: "logo",
1440
1468
  fn: l(() => [
1441
- y(a.$slots, "logo")
1469
+ _(a.$slots, "logo")
1442
1470
  ]),
1443
1471
  key: "0"
1444
1472
  } : void 0,
1445
1473
  a.$slots.brand ? {
1446
1474
  name: "brand",
1447
1475
  fn: l(() => [
1448
- y(a.$slots, "brand")
1476
+ _(a.$slots, "brand")
1449
1477
  ]),
1450
1478
  key: "1"
1451
1479
  } : void 0,
1452
1480
  a.$slots["top-menu"] ? {
1453
1481
  name: "top-menu",
1454
1482
  fn: l(() => [
1455
- y(a.$slots, "top-menu")
1483
+ _(a.$slots, "top-menu")
1456
1484
  ]),
1457
1485
  key: "2"
1458
1486
  } : void 0,
1459
1487
  a.$slots["header-extra"] ? {
1460
1488
  name: "header-extra",
1461
1489
  fn: l(() => [
1462
- y(a.$slots, "header-extra")
1490
+ _(a.$slots, "header-extra")
1463
1491
  ]),
1464
1492
  key: "3"
1465
1493
  } : void 0,
1466
1494
  a.$slots["tags-view"] ? {
1467
1495
  name: "tags-view",
1468
1496
  fn: l(() => [
1469
- y(a.$slots, "tags-view")
1497
+ _(a.$slots, "tags-view")
1470
1498
  ]),
1471
1499
  key: "4"
1472
1500
  } : void 0,
1473
1501
  a.$slots.footer ? {
1474
1502
  name: "footer",
1475
1503
  fn: l(() => [
1476
- y(a.$slots, "footer")
1504
+ _(a.$slots, "footer")
1477
1505
  ]),
1478
1506
  key: "5"
1479
1507
  } : void 0
1480
- ]), 1024)) : s.value === "reverse-horizontal-mix" ? (n(), T(po, { key: 4 }, ne({ _: 2 }, [
1508
+ ]), 1024)) : s.value === "reverse-horizontal-mix" ? (n(), S(vo, { key: 4 }, le({ _: 2 }, [
1481
1509
  a.$slots.logo ? {
1482
1510
  name: "logo",
1483
1511
  fn: l(() => [
1484
- y(a.$slots, "logo")
1512
+ _(a.$slots, "logo")
1485
1513
  ]),
1486
1514
  key: "0"
1487
1515
  } : void 0,
1488
1516
  a.$slots["top-menu"] ? {
1489
1517
  name: "top-menu",
1490
1518
  fn: l(() => [
1491
- y(a.$slots, "top-menu")
1519
+ _(a.$slots, "top-menu")
1492
1520
  ]),
1493
1521
  key: "1"
1494
1522
  } : void 0,
1495
1523
  a.$slots["header-extra"] ? {
1496
1524
  name: "header-extra",
1497
1525
  fn: l(() => [
1498
- y(a.$slots, "header-extra")
1526
+ _(a.$slots, "header-extra")
1499
1527
  ]),
1500
1528
  key: "2"
1501
1529
  } : void 0,
1502
1530
  a.$slots["tags-view"] ? {
1503
1531
  name: "tags-view",
1504
1532
  fn: l(() => [
1505
- y(a.$slots, "tags-view")
1533
+ _(a.$slots, "tags-view")
1506
1534
  ]),
1507
1535
  key: "3"
1508
1536
  } : void 0,
1509
1537
  a.$slots.footer ? {
1510
1538
  name: "footer",
1511
1539
  fn: l(() => [
1512
- y(a.$slots, "footer")
1540
+ _(a.$slots, "footer")
1513
1541
  ]),
1514
1542
  key: "4"
1515
1543
  } : void 0
1516
- ]), 1024)) : s.value === "card-layout" ? (n(), T(Do, { key: 5 }, ne({ _: 2 }, [
1544
+ ]), 1024)) : s.value === "card-layout" ? (n(), S(Lo, { key: 5 }, le({ _: 2 }, [
1517
1545
  a.$slots["menu-trigger"] ? {
1518
1546
  name: "menu-trigger",
1519
1547
  fn: l(() => [
1520
- y(a.$slots, "menu-trigger")
1548
+ _(a.$slots, "menu-trigger")
1521
1549
  ]),
1522
1550
  key: "0"
1523
1551
  } : void 0,
1524
1552
  a.$slots.logo ? {
1525
1553
  name: "logo",
1526
1554
  fn: l(() => [
1527
- y(a.$slots, "logo")
1555
+ _(a.$slots, "logo")
1528
1556
  ]),
1529
1557
  key: "1"
1530
1558
  } : void 0,
1531
1559
  a.$slots["header-extra"] ? {
1532
1560
  name: "header-extra",
1533
1561
  fn: l(() => [
1534
- y(a.$slots, "header-extra")
1562
+ _(a.$slots, "header-extra")
1535
1563
  ]),
1536
1564
  key: "2"
1537
1565
  } : void 0,
1538
1566
  a.$slots["tags-view"] ? {
1539
1567
  name: "tags-view",
1540
1568
  fn: l(() => [
1541
- y(a.$slots, "tags-view")
1569
+ _(a.$slots, "tags-view")
1542
1570
  ]),
1543
1571
  key: "3"
1544
1572
  } : void 0,
1545
1573
  a.$slots["drawer-menu"] ? {
1546
1574
  name: "drawer-menu",
1547
1575
  fn: l(() => [
1548
- y(a.$slots, "drawer-menu")
1576
+ _(a.$slots, "drawer-menu")
1549
1577
  ]),
1550
1578
  key: "4"
1551
1579
  } : void 0,
1552
1580
  a.$slots.footer ? {
1553
1581
  name: "footer",
1554
1582
  fn: l(() => [
1555
- y(a.$slots, "footer")
1583
+ _(a.$slots, "footer")
1556
1584
  ]),
1557
1585
  key: "5"
1558
1586
  } : void 0
1559
- ]), 1024)) : (n(), r("div", No, [...u[1] || (u[1] = [
1587
+ ]), 1024)) : (n(), r("div", Do, [...u[1] || (u[1] = [
1560
1588
  e("div", { class: "coming-soon-content" }, [
1561
1589
  e("div", { class: "coming-soon-icon" }, "🚧"),
1562
1590
  e("div", { class: "coming-soon-title" }, "布局开发中")
@@ -1564,7 +1592,7 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
1564
1592
  ])]))
1565
1593
  ], 2));
1566
1594
  }
1567
- }), Eo = [
1595
+ }), No = [
1568
1596
  {
1569
1597
  label: "左侧菜单(默认)",
1570
1598
  value: "side",
@@ -1627,31 +1655,31 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
1627
1655
  <rect x="32" y="24" width="24" height="20" rx="2" fill="currentColor" fill-opacity="0.4"/>
1628
1656
  `
1629
1657
  }
1630
- ], Bo = { class: "settings-section" }, Fo = { class: "preset-grid" }, Wo = ["onClick"], Oo = { class: "preset-icon" }, Uo = { class: "preset-name" }, Po = { class: "preset-color" }, jo = { class: "settings-section" }, Ko = { class: "settings-section" }, Yo = { class: "color-picker-wrapper" }, Go = { class: "color-value" }, Xo = { class: "settings-section" }, Jo = { class: "settings-section" }, Zo = { class: "flex items-center justify-between mb-2" }, qo = { class: "settings-section" }, Qo = { class: "settings-section" }, es = { class: "layout-grid" }, ts = ["onClick"], os = { class: "layout-screenshot" }, ss = {
1658
+ ], Eo = { class: "settings-section" }, Bo = { class: "preset-grid" }, Fo = ["onClick"], Wo = { class: "preset-icon" }, Oo = { class: "preset-name" }, Uo = { class: "preset-color" }, Po = { class: "settings-section" }, jo = { class: "settings-section" }, Ko = { class: "color-picker-wrapper" }, Yo = { class: "color-value" }, Go = { class: "settings-section" }, Xo = { class: "settings-section" }, Jo = { class: "flex items-center justify-between mb-2" }, Zo = { class: "settings-section" }, qo = { class: "settings-section" }, Qo = { class: "layout-grid" }, es = ["onClick"], ts = { class: "layout-screenshot" }, os = {
1631
1659
  class: "layout-svg",
1632
1660
  viewBox: "0 0 56 48",
1633
1661
  fill: "none",
1634
1662
  xmlns: "http://www.w3.org/2000/svg"
1635
- }, ns = ["innerHTML"], as = { class: "layout-label" }, is = {
1663
+ }, ss = ["innerHTML"], ns = { class: "layout-label" }, as = {
1636
1664
  key: 0,
1637
1665
  class: "badge-soon"
1638
- }, ls = { class: "settings-section" }, rs = { class: "setting-item" }, ds = { class: "setting-item" }, us = { class: "setting-item" }, cs = { class: "setting-item" }, ms = { class: "settings-section" }, vs = { class: "slider-item" }, hs = { class: "slider-label" }, ps = { class: "slider-value" }, gs = { class: "slider-item" }, fs = { class: "slider-label" }, _s = { class: "slider-value" }, ys = { class: "settings-section" }, ws = { class: "settings-section" }, bs = { class: "action-buttons-grid" }, $s = { class: "settings-section" }, ks = { class: "action-buttons-grid" }, Cs = { class: "settings-section" }, xs = { class: "setting-item" }, Ts = { class: "setting-item" }, Ms = { class: "settings-section" }, Ss = { class: "setting-item" }, Is = {
1666
+ }, is = { class: "settings-section" }, ls = { class: "setting-item" }, rs = { class: "setting-item" }, ds = { class: "setting-item" }, us = { class: "setting-item" }, cs = { class: "settings-section" }, ms = { class: "slider-item" }, vs = { class: "slider-label" }, hs = { class: "slider-value" }, ps = { class: "slider-item" }, gs = { class: "slider-label" }, fs = { class: "slider-value" }, _s = { class: "settings-section" }, ys = { class: "settings-section" }, ws = { class: "action-buttons-grid" }, bs = { class: "settings-section" }, ks = { class: "action-buttons-grid" }, $s = { class: "settings-section" }, Cs = { class: "setting-item" }, xs = { class: "setting-item" }, Ss = { class: "settings-section" }, Ts = { class: "setting-item" }, Ms = {
1639
1667
  key: 0,
1640
1668
  class: "mt-2"
1641
- }, zs = { class: "settings-section" }, Hs = { class: "system-info" }, Rs = { class: "info-item" }, Vs = { class: "info-value" }, As = { class: "info-item" }, Ls = { class: "info-value" }, Ds = { class: "info-item" }, Ns = { class: "info-value" }, Es = { class: "info-item" }, Bs = { class: "info-value" }, Fs = { class: "info-item" }, Ws = { class: "info-value" }, Os = { class: "info-item" }, Us = { class: "info-value" }, Ps = /* @__PURE__ */ O({
1669
+ }, Is = { class: "settings-section" }, zs = { class: "system-info" }, Vs = { class: "info-item" }, Hs = { class: "info-value" }, Rs = { class: "info-item" }, As = { class: "info-value" }, Ls = { class: "info-item" }, Ds = { class: "info-value" }, Ns = { class: "info-item" }, Es = { class: "info-value" }, Bs = { class: "info-item" }, Fs = { class: "info-value" }, Ws = { class: "info-item" }, Os = { class: "info-value" }, Us = /* @__PURE__ */ O({
1642
1670
  __name: "index",
1643
1671
  props: {
1644
1672
  show: { type: Boolean, default: !1 },
1645
1673
  showModifiers: {}
1646
1674
  },
1647
1675
  emits: ["update:show"],
1648
- setup(_) {
1649
- const i = Fe(), w = We(), s = Se(), f = Ae(_, "show"), v = R("appearance"), a = R(!1), u = R(!1), c = R(!1), k = R("Robot Admin");
1676
+ setup(f) {
1677
+ const i = Be(), y = Fe(), s = ze(), p = Re(f, "show"), m = V("appearance"), a = V(!1), u = V(!1), c = V(!1), C = V("Robot Admin");
1650
1678
  let g = null;
1651
- const h = (S) => {
1679
+ const h = (I) => {
1652
1680
  g && (document.body.removeChild(g), g = null);
1653
1681
  const t = document.createElement("canvas"), d = t.getContext("2d");
1654
- t.width = 200, t.height = 150, d.font = "14px Microsoft JhengHei", d.fillStyle = "rgba(120, 120, 120, 0.15)", d.rotate(-20 * Math.PI / 180), d.fillText(S, 0, 80), g = document.createElement("div"), g.style.cssText = `
1682
+ t.width = 200, t.height = 150, d.font = "14px Microsoft JhengHei", d.fillStyle = "rgba(120, 120, 120, 0.15)", d.rotate(-20 * Math.PI / 180), d.fillText(I, 0, 80), g = document.createElement("div"), g.style.cssText = `
1655
1683
  position: fixed;
1656
1684
  top: 0;
1657
1685
  left: 0;
@@ -1663,22 +1691,22 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
1663
1691
  z-index: 9999;
1664
1692
  user-select: none;
1665
1693
  `, document.body.appendChild(g);
1666
- }, b = () => {
1694
+ }, w = () => {
1667
1695
  g && (document.body.removeChild(g), g = null);
1668
1696
  };
1669
- Z(a, (S) => {
1670
- document.documentElement.classList.toggle("gray-mode", S);
1671
- }), Z(u, (S) => {
1672
- document.documentElement.classList.toggle("color-weak-mode", S);
1673
- }), Z(c, (S) => {
1674
- S ? h(k.value) : b();
1675
- }), Z(k, (S) => {
1676
- c.value && h(S);
1697
+ q(a, (I) => {
1698
+ document.documentElement.classList.toggle("gray-mode", I);
1699
+ }), q(u, (I) => {
1700
+ document.documentElement.classList.toggle("color-weak-mode", I);
1701
+ }), q(c, (I) => {
1702
+ I ? h(C.value) : w();
1703
+ }), q(C, (I) => {
1704
+ c.value && h(I);
1677
1705
  });
1678
1706
  const M = z(() => {
1679
- const S = navigator.userAgent;
1707
+ const I = navigator.userAgent;
1680
1708
  let t = "Unknown", d = "Unknown";
1681
- return S.includes("Chrome") ? t = "Chrome" : S.includes("Firefox") ? t = "Firefox" : S.includes("Safari") ? t = "Safari" : S.includes("Edge") && (t = "Edge"), S.includes("Windows") ? d = "Windows" : S.includes("Mac") ? d = "macOS" : S.includes("Linux") ? d = "Linux" : S.includes("Android") ? d = "Android" : S.includes("iOS") && (d = "iOS"), {
1709
+ return I.includes("Chrome") ? t = "Chrome" : I.includes("Firefox") ? t = "Firefox" : I.includes("Safari") ? t = "Safari" : I.includes("Edge") && (t = "Edge"), I.includes("Windows") ? d = "Windows" : I.includes("Mac") ? d = "macOS" : I.includes("Linux") ? d = "Linux" : I.includes("Android") ? d = "Android" : I.includes("iOS") && (d = "iOS"), {
1682
1710
  browser: t,
1683
1711
  os: d,
1684
1712
  resolution: `${window.screen.width} × ${window.screen.height}`,
@@ -1687,19 +1715,19 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
1687
1715
  timezone: Intl.DateTimeFormat().resolvedOptions().timeZone
1688
1716
  };
1689
1717
  });
1690
- we(() => {
1691
- b();
1718
+ be(() => {
1719
+ w();
1692
1720
  });
1693
- const C = (S, t) => {
1694
- t || (s.layoutMode = S);
1695
- }, H = (S) => s.primaryColor === S.primaryColor, p = (S) => {
1696
- s.applyPreset(S), i.success(`已应用「${S.name}」主题方案`);
1697
- }, D = () => {
1721
+ const T = (I, t) => {
1722
+ t || (s.layoutMode = I);
1723
+ }, R = (I) => s.primaryColor === I.primaryColor, H = (I) => {
1724
+ s.applyPreset(I), i.success(`已应用「${I.name}」主题方案`);
1725
+ }, b = () => {
1698
1726
  s.themeMode = P.themeMode, s.primaryColor = P.primaryColor, s.borderRadius = P.borderRadius, s.transitionType = P.transitionType, s.enableTransition = P.enableTransition, i.success("已恢复外观默认设置");
1699
- }, I = () => {
1727
+ }, k = () => {
1700
1728
  s.layoutMode = P.layoutMode, s.fixedHeader = P.fixedHeader, s.showBreadcrumb = P.showBreadcrumb, s.showBreadcrumbIcon = P.showBreadcrumbIcon, s.showTagsView = P.showTagsView, s.tagsViewHeight = P.tagsViewHeight, s.tagsViewStyle = P.tagsViewStyle, s.showFooter = P.showFooter, s.sidebarWidth = P.sidebarWidth, s.sidebarCollapsedWidth = P.sidebarCollapsedWidth, s.headerHeight = P.headerHeight, i.success("已恢复布局默认设置");
1701
- }, V = () => {
1702
- w.warning({
1729
+ }, L = () => {
1730
+ y.warning({
1703
1731
  title: "确认重置",
1704
1732
  content: "确定要恢复默认配置吗?此操作不可撤销。",
1705
1733
  positiveText: "确认",
@@ -1708,115 +1736,115 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
1708
1736
  s.resetSettings(), i.success("已恢复默认配置");
1709
1737
  }
1710
1738
  });
1711
- }, X = () => {
1712
- w.warning({
1739
+ }, j = () => {
1740
+ y.warning({
1713
1741
  title: "确认清除",
1714
1742
  content: "确定要清除浏览器缓存吗?",
1715
1743
  positiveText: "确认",
1716
1744
  negativeText: "取消",
1717
1745
  onPositiveClick: () => {
1718
- const S = ["theme-mode", "robot-admin-settings"];
1746
+ const I = ["theme-mode", "robot-admin-settings"];
1719
1747
  Object.keys(localStorage).forEach((d) => {
1720
- S.includes(d) || localStorage.removeItem(d);
1748
+ I.includes(d) || localStorage.removeItem(d);
1721
1749
  }), sessionStorage.clear(), i.success("缓存已清除");
1722
1750
  }
1723
1751
  });
1724
1752
  }, F = () => {
1725
1753
  location.reload();
1726
1754
  }, B = () => {
1727
- const S = {
1755
+ const I = {
1728
1756
  settings: s.settingsState,
1729
1757
  gray: a.value,
1730
1758
  colorWeak: u.value,
1731
1759
  watermark: {
1732
1760
  enabled: c.value,
1733
- text: k.value
1761
+ text: C.value
1734
1762
  },
1735
1763
  exportTime: (/* @__PURE__ */ new Date()).toISOString()
1736
- }, t = new Blob([JSON.stringify(S, null, 2)], {
1764
+ }, t = new Blob([JSON.stringify(I, null, 2)], {
1737
1765
  type: "application/json"
1738
- }), d = URL.createObjectURL(t), j = document.createElement("a");
1739
- j.href = d, j.download = `robot-admin-config-${Date.now()}.json`, j.click(), URL.revokeObjectURL(d), i.success("配置已导出");
1740
- }, Y = () => {
1741
- const S = document.createElement("input");
1742
- S.type = "file", S.accept = "application/json", S.onchange = async (t) => {
1766
+ }), d = URL.createObjectURL(t), K = document.createElement("a");
1767
+ K.href = d, K.download = `robot-admin-config-${Date.now()}.json`, K.click(), URL.revokeObjectURL(d), i.success("配置已导出");
1768
+ }, G = () => {
1769
+ const I = document.createElement("input");
1770
+ I.type = "file", I.accept = "application/json", I.onchange = async (t) => {
1743
1771
  const d = t.target.files?.[0];
1744
1772
  if (d)
1745
1773
  try {
1746
- const j = await d.text(), K = JSON.parse(j);
1747
- K.settings && s.$patch(K.settings), K.gray !== void 0 && (a.value = K.gray), K.colorWeak !== void 0 && (u.value = K.colorWeak), K.watermark && (c.value = K.watermark.enabled, k.value = K.watermark.text), i.success("配置已导入");
1774
+ const K = await d.text(), Y = JSON.parse(K);
1775
+ Y.settings && s.$patch(Y.settings), Y.gray !== void 0 && (a.value = Y.gray), Y.colorWeak !== void 0 && (u.value = Y.colorWeak), Y.watermark && (c.value = Y.watermark.enabled, C.value = Y.watermark.text), i.success("配置已导入");
1748
1776
  } catch {
1749
1777
  i.error("配置文件格式错误");
1750
1778
  }
1751
- }, S.click();
1779
+ }, I.click();
1752
1780
  };
1753
- return (S, t) => (n(), T(o(Oe), {
1754
- show: f.value,
1755
- "onUpdate:show": t[16] || (t[16] = (d) => f.value = d),
1781
+ return (I, t) => (n(), S(o(We), {
1782
+ show: p.value,
1783
+ "onUpdate:show": t[16] || (t[16] = (d) => p.value = d),
1756
1784
  width: 380,
1757
1785
  placement: "right",
1758
1786
  "trap-focus": !1,
1759
1787
  "block-scroll": !1
1760
1788
  }, {
1761
1789
  default: l(() => [
1762
- m(o(Ue), {
1790
+ v(o(Oe), {
1763
1791
  title: "⚙️ 布局配置",
1764
1792
  closable: ""
1765
1793
  }, {
1766
1794
  default: l(() => [
1767
- m(o(Pe), {
1768
- value: v.value,
1769
- "onUpdate:value": t[15] || (t[15] = (d) => v.value = d),
1795
+ v(o(Ue), {
1796
+ value: m.value,
1797
+ "onUpdate:value": t[15] || (t[15] = (d) => m.value = d),
1770
1798
  animated: "",
1771
1799
  class: "settings-tabs"
1772
1800
  }, {
1773
1801
  default: l(() => [
1774
- m(o(fe), {
1802
+ v(o(_e), {
1775
1803
  name: "appearance",
1776
1804
  tab: "🎨 外观"
1777
1805
  }, {
1778
1806
  default: l(() => [
1779
- e("div", Bo, [
1780
- e("div", Fo, [
1781
- (n(!0), r(E, null, W(o(Ge), (d) => (n(), r("div", {
1807
+ e("div", Eo, [
1808
+ e("div", Bo, [
1809
+ (n(!0), r(E, null, W(o(Ye), (d) => (n(), r("div", {
1782
1810
  key: d.name,
1783
- class: A(["preset-card", { active: H(d) }]),
1784
- onClick: (j) => p(d)
1811
+ class: A(["preset-card", { active: R(d) }]),
1812
+ onClick: (K) => H(d)
1785
1813
  }, [
1786
- e("div", Oo, $(d.icon), 1),
1787
- e("div", Uo, $(d.name), 1),
1788
- e("div", Po, [
1814
+ e("div", Wo, $(d.icon), 1),
1815
+ e("div", Oo, $(d.name), 1),
1816
+ e("div", Uo, [
1789
1817
  e("span", {
1790
1818
  class: "color-dot",
1791
- style: me({ backgroundColor: d.primaryColor })
1819
+ style: he({ backgroundColor: d.primaryColor })
1792
1820
  }, null, 4)
1793
1821
  ])
1794
- ], 10, Wo))), 128))
1822
+ ], 10, Fo))), 128))
1795
1823
  ])
1796
1824
  ]),
1797
- e("div", jo, [
1825
+ e("div", Po, [
1798
1826
  t[20] || (t[20] = e("div", { class: "section-title" }, "主题模式", -1)),
1799
- m(o(_e), {
1827
+ v(o(ye), {
1800
1828
  value: o(s).themeMode,
1801
1829
  "onUpdate:value": t[0] || (t[0] = (d) => o(s).themeMode = d),
1802
1830
  class: "mode-group"
1803
1831
  }, {
1804
1832
  default: l(() => [
1805
- m(o(J), { value: "light" }, {
1833
+ v(o(Z), { value: "light" }, {
1806
1834
  default: l(() => [...t[17] || (t[17] = [
1807
1835
  e("span", { class: "i-mdi:white-balance-sunny mr-1" }, null, -1),
1808
1836
  U(" 浅色 ", -1)
1809
1837
  ])]),
1810
1838
  _: 1
1811
1839
  }),
1812
- m(o(J), { value: "dark" }, {
1840
+ v(o(Z), { value: "dark" }, {
1813
1841
  default: l(() => [...t[18] || (t[18] = [
1814
1842
  e("span", { class: "i-mdi:moon-waning-crescent mr-1" }, null, -1),
1815
1843
  U(" 深色 ", -1)
1816
1844
  ])]),
1817
1845
  _: 1
1818
1846
  }),
1819
- m(o(J), { value: "auto" }, {
1847
+ v(o(Z), { value: "auto" }, {
1820
1848
  default: l(() => [...t[19] || (t[19] = [
1821
1849
  e("span", { class: "i-mdi:theme-light-dark mr-1" }, null, -1),
1822
1850
  U(" 自动 ", -1)
@@ -1827,40 +1855,40 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
1827
1855
  _: 1
1828
1856
  }, 8, ["value"])
1829
1857
  ]),
1830
- e("div", Ko, [
1858
+ e("div", jo, [
1831
1859
  t[21] || (t[21] = e("div", { class: "section-title" }, "主题色", -1)),
1832
- e("div", Yo, [
1833
- m(o(je), {
1860
+ e("div", Ko, [
1861
+ v(o(Pe), {
1834
1862
  value: o(s).primaryColor,
1835
1863
  "onUpdate:value": t[1] || (t[1] = (d) => o(s).primaryColor = d),
1836
1864
  "show-alpha": !1,
1837
- swatches: o(Ze),
1865
+ swatches: o(Je),
1838
1866
  actions: ["confirm"]
1839
1867
  }, null, 8, ["value", "swatches"]),
1840
- e("span", Go, $(o(s).primaryColor), 1)
1868
+ e("span", Yo, $(o(s).primaryColor), 1)
1841
1869
  ])
1842
1870
  ]),
1843
- e("div", Xo, [
1871
+ e("div", Go, [
1844
1872
  t[25] || (t[25] = e("div", { class: "section-title" }, "圆角大小", -1)),
1845
- m(o(_e), {
1873
+ v(o(ye), {
1846
1874
  value: o(s).borderRadius,
1847
1875
  "onUpdate:value": t[2] || (t[2] = (d) => o(s).borderRadius = d),
1848
1876
  class: "radius-group"
1849
1877
  }, {
1850
1878
  default: l(() => [
1851
- m(o(J), { value: "small" }, {
1879
+ v(o(Z), { value: "small" }, {
1852
1880
  default: l(() => [...t[22] || (t[22] = [
1853
1881
  U("小 (4px)", -1)
1854
1882
  ])]),
1855
1883
  _: 1
1856
1884
  }),
1857
- m(o(J), { value: "medium" }, {
1885
+ v(o(Z), { value: "medium" }, {
1858
1886
  default: l(() => [...t[23] || (t[23] = [
1859
1887
  U("中 (6px)", -1)
1860
1888
  ])]),
1861
1889
  _: 1
1862
1890
  }),
1863
- m(o(J), { value: "large" }, {
1891
+ v(o(Z), { value: "large" }, {
1864
1892
  default: l(() => [...t[24] || (t[24] = [
1865
1893
  U("大 (8px)", -1)
1866
1894
  ])]),
@@ -1870,41 +1898,41 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
1870
1898
  _: 1
1871
1899
  }, 8, ["value"])
1872
1900
  ]),
1873
- e("div", Jo, [
1901
+ e("div", Xo, [
1874
1902
  t[31] || (t[31] = e("div", { class: "section-title" }, "页面动画", -1)),
1875
- e("div", Zo, [
1903
+ e("div", Jo, [
1876
1904
  t[26] || (t[26] = e("span", { class: "text-sm" }, "启用动画", -1)),
1877
- m(o(Q), {
1905
+ v(o(te), {
1878
1906
  value: o(s).enableTransition,
1879
1907
  "onUpdate:value": t[3] || (t[3] = (d) => o(s).enableTransition = d)
1880
1908
  }, null, 8, ["value"])
1881
1909
  ]),
1882
- m(o(_e), {
1910
+ v(o(ye), {
1883
1911
  value: o(s).transitionType,
1884
1912
  "onUpdate:value": t[4] || (t[4] = (d) => o(s).transitionType = d),
1885
1913
  disabled: !o(s).enableTransition,
1886
1914
  class: "transition-group"
1887
1915
  }, {
1888
1916
  default: l(() => [
1889
- m(o(J), { value: "fade" }, {
1917
+ v(o(Z), { value: "fade" }, {
1890
1918
  default: l(() => [...t[27] || (t[27] = [
1891
1919
  U("淡入", -1)
1892
1920
  ])]),
1893
1921
  _: 1
1894
1922
  }),
1895
- m(o(J), { value: "slide" }, {
1923
+ v(o(Z), { value: "slide" }, {
1896
1924
  default: l(() => [...t[28] || (t[28] = [
1897
1925
  U("滑动", -1)
1898
1926
  ])]),
1899
1927
  _: 1
1900
1928
  }),
1901
- m(o(J), { value: "zoom" }, {
1929
+ v(o(Z), { value: "zoom" }, {
1902
1930
  default: l(() => [...t[29] || (t[29] = [
1903
1931
  U("缩放", -1)
1904
1932
  ])]),
1905
1933
  _: 1
1906
1934
  }),
1907
- m(o(J), { value: "none" }, {
1935
+ v(o(Z), { value: "none" }, {
1908
1936
  default: l(() => [...t[30] || (t[30] = [
1909
1937
  U("无", -1)
1910
1938
  ])]),
@@ -1914,11 +1942,11 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
1914
1942
  _: 1
1915
1943
  }, 8, ["value", "disabled"])
1916
1944
  ]),
1917
- e("div", qo, [
1918
- m(o(ee), {
1945
+ e("div", Zo, [
1946
+ v(o(oe), {
1919
1947
  block: "",
1920
1948
  secondary: "",
1921
- onClick: D
1949
+ onClick: b
1922
1950
  }, {
1923
1951
  icon: l(() => [...t[32] || (t[32] = [
1924
1952
  e("span", { class: "i-mdi:restore" }, null, -1)
@@ -1932,76 +1960,76 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
1932
1960
  ]),
1933
1961
  _: 1
1934
1962
  }),
1935
- m(o(fe), {
1963
+ v(o(_e), {
1936
1964
  name: "layout",
1937
1965
  tab: "📐 布局"
1938
1966
  }, {
1939
1967
  default: l(() => [
1940
- e("div", Qo, [
1968
+ e("div", qo, [
1941
1969
  t[34] || (t[34] = e("div", { class: "section-title" }, "布局模式", -1)),
1942
- e("div", es, [
1943
- (n(!0), r(E, null, W(o(Eo), (d) => (n(), r("div", {
1970
+ e("div", Qo, [
1971
+ (n(!0), r(E, null, W(o(No), (d) => (n(), r("div", {
1944
1972
  key: d.value,
1945
1973
  class: A(["layout-item", {
1946
1974
  active: o(s).layoutMode === d.value,
1947
1975
  disabled: d.disabled
1948
1976
  }]),
1949
- onClick: Le((j) => C(d.value, d.disabled), ["stop"])
1977
+ onClick: Ae((K) => T(d.value, d.disabled), ["stop"])
1950
1978
  }, [
1951
- e("div", os, [
1952
- (n(), r("svg", ss, [
1979
+ e("div", ts, [
1980
+ (n(), r("svg", os, [
1953
1981
  e("g", {
1954
1982
  innerHTML: d.svg
1955
- }, null, 8, ns)
1983
+ }, null, 8, ss)
1956
1984
  ]))
1957
1985
  ]),
1958
- e("div", as, [
1986
+ e("div", ns, [
1959
1987
  U($(d.label) + " ", 1),
1960
- d.disabled ? (n(), r("span", is, "敬请期待")) : x("", !0)
1988
+ d.disabled ? (n(), r("span", as, "敬请期待")) : x("", !0)
1961
1989
  ])
1962
- ], 10, ts))), 128))
1990
+ ], 10, es))), 128))
1963
1991
  ])
1964
1992
  ]),
1965
- e("div", ls, [
1993
+ e("div", is, [
1966
1994
  t[39] || (t[39] = e("div", { class: "section-title" }, "界面元素", -1)),
1967
- e("div", rs, [
1995
+ e("div", ls, [
1968
1996
  t[35] || (t[35] = e("span", null, "显示面包屑", -1)),
1969
- m(o(Q), {
1997
+ v(o(te), {
1970
1998
  value: o(s).showBreadcrumb,
1971
1999
  "onUpdate:value": t[5] || (t[5] = (d) => o(s).showBreadcrumb = d)
1972
2000
  }, null, 8, ["value"])
1973
2001
  ]),
1974
- e("div", ds, [
2002
+ e("div", rs, [
1975
2003
  t[36] || (t[36] = e("span", null, "显示面包屑图标", -1)),
1976
- m(o(Q), {
2004
+ v(o(te), {
1977
2005
  value: o(s).showBreadcrumbIcon,
1978
2006
  "onUpdate:value": t[6] || (t[6] = (d) => o(s).showBreadcrumbIcon = d),
1979
2007
  disabled: !o(s).showBreadcrumb
1980
2008
  }, null, 8, ["value", "disabled"])
1981
2009
  ]),
1982
- e("div", us, [
2010
+ e("div", ds, [
1983
2011
  t[37] || (t[37] = e("span", null, "显示标签页", -1)),
1984
- m(o(Q), {
2012
+ v(o(te), {
1985
2013
  value: o(s).showTagsView,
1986
2014
  "onUpdate:value": t[7] || (t[7] = (d) => o(s).showTagsView = d)
1987
2015
  }, null, 8, ["value"])
1988
2016
  ]),
1989
- e("div", cs, [
2017
+ e("div", us, [
1990
2018
  t[38] || (t[38] = e("span", null, "显示页脚", -1)),
1991
- m(o(Q), {
2019
+ v(o(te), {
1992
2020
  value: o(s).showFooter,
1993
2021
  "onUpdate:value": t[8] || (t[8] = (d) => o(s).showFooter = d)
1994
2022
  }, null, 8, ["value"])
1995
2023
  ])
1996
2024
  ]),
1997
- e("div", ms, [
2025
+ e("div", cs, [
1998
2026
  t[42] || (t[42] = e("div", { class: "section-title" }, "尺寸调整", -1)),
1999
- e("div", vs, [
2000
- e("div", hs, [
2027
+ e("div", ms, [
2028
+ e("div", vs, [
2001
2029
  t[40] || (t[40] = e("span", null, "侧边栏宽度", -1)),
2002
- e("span", ps, $(o(s).sidebarWidth) + "px", 1)
2030
+ e("span", hs, $(o(s).sidebarWidth) + "px", 1)
2003
2031
  ]),
2004
- m(o(Ce), {
2032
+ v(o(Se), {
2005
2033
  value: o(s).sidebarWidth,
2006
2034
  "onUpdate:value": t[9] || (t[9] = (d) => o(s).sidebarWidth = d),
2007
2035
  min: 180,
@@ -2010,12 +2038,12 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2010
2038
  marks: { 180: "180", 220: "220", 280: "280" }
2011
2039
  }, null, 8, ["value"])
2012
2040
  ]),
2013
- e("div", gs, [
2014
- e("div", fs, [
2041
+ e("div", ps, [
2042
+ e("div", gs, [
2015
2043
  t[41] || (t[41] = e("span", null, "头部高度", -1)),
2016
- e("span", _s, $(o(s).headerHeight) + "px", 1)
2044
+ e("span", fs, $(o(s).headerHeight) + "px", 1)
2017
2045
  ]),
2018
- m(o(Ce), {
2046
+ v(o(Se), {
2019
2047
  value: o(s).headerHeight,
2020
2048
  "onUpdate:value": t[10] || (t[10] = (d) => o(s).headerHeight = d),
2021
2049
  min: 48,
@@ -2025,11 +2053,11 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2025
2053
  }, null, 8, ["value"])
2026
2054
  ])
2027
2055
  ]),
2028
- e("div", ys, [
2029
- m(o(ee), {
2056
+ e("div", _s, [
2057
+ v(o(oe), {
2030
2058
  block: "",
2031
2059
  secondary: "",
2032
- onClick: I
2060
+ onClick: k
2033
2061
  }, {
2034
2062
  icon: l(() => [...t[43] || (t[43] = [
2035
2063
  e("span", { class: "i-mdi:restore" }, null, -1)
@@ -2043,17 +2071,17 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2043
2071
  ]),
2044
2072
  _: 1
2045
2073
  }),
2046
- m(o(fe), {
2074
+ v(o(_e), {
2047
2075
  name: "features",
2048
2076
  tab: "🔧 功能"
2049
2077
  }, {
2050
2078
  default: l(() => [
2051
- e("div", ws, [
2079
+ e("div", ys, [
2052
2080
  t[49] || (t[49] = e("div", { class: "section-title" }, "缓存管理", -1)),
2053
- e("div", bs, [
2054
- m(o(ee), {
2081
+ e("div", ws, [
2082
+ v(o(oe), {
2055
2083
  secondary: "",
2056
- onClick: X
2084
+ onClick: j
2057
2085
  }, {
2058
2086
  icon: l(() => [...t[45] || (t[45] = [
2059
2087
  e("span", { class: "i-mdi:delete-sweep" }, null, -1)
@@ -2063,7 +2091,7 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2063
2091
  ]),
2064
2092
  _: 1
2065
2093
  }),
2066
- m(o(ee), {
2094
+ v(o(oe), {
2067
2095
  secondary: "",
2068
2096
  onClick: F
2069
2097
  }, {
@@ -2077,10 +2105,10 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2077
2105
  })
2078
2106
  ])
2079
2107
  ]),
2080
- e("div", $s, [
2108
+ e("div", bs, [
2081
2109
  t[56] || (t[56] = e("div", { class: "section-title" }, "配置管理", -1)),
2082
2110
  e("div", ks, [
2083
- m(o(ee), {
2111
+ v(o(oe), {
2084
2112
  secondary: "",
2085
2113
  onClick: B
2086
2114
  }, {
@@ -2092,9 +2120,9 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2092
2120
  ]),
2093
2121
  _: 1
2094
2122
  }),
2095
- m(o(ee), {
2123
+ v(o(oe), {
2096
2124
  secondary: "",
2097
- onClick: Y
2125
+ onClick: G
2098
2126
  }, {
2099
2127
  icon: l(() => [...t[52] || (t[52] = [
2100
2128
  e("span", { class: "i-mdi:upload" }, null, -1)
@@ -2105,12 +2133,12 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2105
2133
  _: 1
2106
2134
  })
2107
2135
  ]),
2108
- m(o(ee), {
2136
+ v(o(oe), {
2109
2137
  block: "",
2110
2138
  type: "error",
2111
2139
  secondary: "",
2112
2140
  class: "mt-2",
2113
- onClick: V
2141
+ onClick: L
2114
2142
  }, {
2115
2143
  icon: l(() => [...t[54] || (t[54] = [
2116
2144
  e("span", { class: "i-mdi:restore" }, null, -1)
@@ -2121,73 +2149,73 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2121
2149
  _: 1
2122
2150
  })
2123
2151
  ]),
2124
- e("div", Cs, [
2152
+ e("div", $s, [
2125
2153
  t[59] || (t[59] = e("div", { class: "section-title" }, "系统模式", -1)),
2126
- e("div", xs, [
2154
+ e("div", Cs, [
2127
2155
  t[57] || (t[57] = e("div", { class: "setting-label" }, [
2128
2156
  e("span", null, "灰色模式"),
2129
2157
  e("span", { class: "setting-desc" }, "用于哀悼日场景")
2130
2158
  ], -1)),
2131
- m(o(Q), {
2159
+ v(o(te), {
2132
2160
  value: a.value,
2133
2161
  "onUpdate:value": t[11] || (t[11] = (d) => a.value = d)
2134
2162
  }, null, 8, ["value"])
2135
2163
  ]),
2136
- e("div", Ts, [
2164
+ e("div", xs, [
2137
2165
  t[58] || (t[58] = e("div", { class: "setting-label" }, [
2138
2166
  e("span", null, "色弱模式"),
2139
2167
  e("span", { class: "setting-desc" }, "提供无障碍访问支持")
2140
2168
  ], -1)),
2141
- m(o(Q), {
2169
+ v(o(te), {
2142
2170
  value: u.value,
2143
2171
  "onUpdate:value": t[12] || (t[12] = (d) => u.value = d)
2144
2172
  }, null, 8, ["value"])
2145
2173
  ])
2146
2174
  ]),
2147
- e("div", Ms, [
2175
+ e("div", Ss, [
2148
2176
  t[61] || (t[61] = e("div", { class: "section-title" }, "水印设置", -1)),
2149
- e("div", Ss, [
2177
+ e("div", Ts, [
2150
2178
  t[60] || (t[60] = e("span", null, "启用水印", -1)),
2151
- m(o(Q), {
2179
+ v(o(te), {
2152
2180
  value: c.value,
2153
2181
  "onUpdate:value": t[13] || (t[13] = (d) => c.value = d)
2154
2182
  }, null, 8, ["value"])
2155
2183
  ]),
2156
- c.value ? (n(), r("div", Is, [
2157
- m(o(Ke), {
2158
- value: k.value,
2159
- "onUpdate:value": t[14] || (t[14] = (d) => k.value = d),
2184
+ c.value ? (n(), r("div", Ms, [
2185
+ v(o(je), {
2186
+ value: C.value,
2187
+ "onUpdate:value": t[14] || (t[14] = (d) => C.value = d),
2160
2188
  placeholder: "请输入水印内容",
2161
2189
  size: "small"
2162
2190
  }, null, 8, ["value"])
2163
2191
  ])) : x("", !0)
2164
2192
  ]),
2165
- e("div", zs, [
2193
+ e("div", Is, [
2166
2194
  t[68] || (t[68] = e("div", { class: "section-title" }, "系统信息", -1)),
2167
- e("div", Hs, [
2168
- e("div", Rs, [
2195
+ e("div", zs, [
2196
+ e("div", Vs, [
2169
2197
  t[62] || (t[62] = e("span", { class: "info-label" }, "浏览器", -1)),
2170
- e("span", Vs, $(M.value.browser), 1)
2198
+ e("span", Hs, $(M.value.browser), 1)
2171
2199
  ]),
2172
- e("div", As, [
2200
+ e("div", Rs, [
2173
2201
  t[63] || (t[63] = e("span", { class: "info-label" }, "操作系统", -1)),
2174
- e("span", Ls, $(M.value.os), 1)
2202
+ e("span", As, $(M.value.os), 1)
2175
2203
  ]),
2176
- e("div", Ds, [
2204
+ e("div", Ls, [
2177
2205
  t[64] || (t[64] = e("span", { class: "info-label" }, "屏幕分辨率", -1)),
2178
- e("span", Ns, $(M.value.resolution), 1)
2206
+ e("span", Ds, $(M.value.resolution), 1)
2179
2207
  ]),
2180
- e("div", Es, [
2208
+ e("div", Ns, [
2181
2209
  t[65] || (t[65] = e("span", { class: "info-label" }, "设备像素比", -1)),
2182
- e("span", Bs, $(M.value.pixelRatio), 1)
2210
+ e("span", Es, $(M.value.pixelRatio), 1)
2183
2211
  ]),
2184
- e("div", Fs, [
2212
+ e("div", Bs, [
2185
2213
  t[66] || (t[66] = e("span", { class: "info-label" }, "语言", -1)),
2186
- e("span", Ws, $(M.value.language), 1)
2214
+ e("span", Fs, $(M.value.language), 1)
2187
2215
  ]),
2188
- e("div", Os, [
2216
+ e("div", Ws, [
2189
2217
  t[67] || (t[67] = e("span", { class: "info-label" }, "时区", -1)),
2190
- e("span", Us, $(M.value.timezone), 1)
2218
+ e("span", Os, $(M.value.timezone), 1)
2191
2219
  ])
2192
2220
  ])
2193
2221
  ])
@@ -2204,13 +2232,13 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2204
2232
  _: 1
2205
2233
  }, 8, ["show"]));
2206
2234
  }
2207
- }), Yn = /* @__PURE__ */ te(Ps, [["__scopeId", "data-v-f98d8946"]]), js = { class: "brand-logo__icon" }, Ks = ["src", "width", "height"], Ys = ["src", "width", "height"], Gs = { class: "brand-logo__name" }, Xs = { class: "brand-logo__title" }, Js = {
2235
+ }), Kn = /* @__PURE__ */ ee(Us, [["__scopeId", "data-v-f98d8946"]]), Ps = { class: "brand-logo__icon" }, js = ["src", "width", "height"], Ks = ["src", "width", "height"], Ys = { class: "brand-logo__name" }, Gs = { class: "brand-logo__title" }, Xs = {
2208
2236
  key: 0,
2209
2237
  class: "brand-logo__subtitle"
2210
- }, Zs = {
2238
+ }, Js = {
2211
2239
  key: 0,
2212
2240
  class: "brand-logo__divider"
2213
- }, qs = /* @__PURE__ */ O({
2241
+ }, Zs = /* @__PURE__ */ O({
2214
2242
  name: "BrandLogo",
2215
2243
  __name: "index",
2216
2244
  props: {
@@ -2220,48 +2248,48 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2220
2248
  collapsed: { type: Boolean, default: !1 },
2221
2249
  variant: { default: "horizontal" }
2222
2250
  },
2223
- setup(_) {
2224
- const i = G(), w = { ...se, ...i.brand };
2225
- return (s, f) => (n(), r("div", {
2251
+ setup(f) {
2252
+ const i = X(), y = { ...ae, ...i.brand };
2253
+ return (s, p) => (n(), r("div", {
2226
2254
  class: A(["brand-logo", {
2227
- "brand-logo--collapsed": _.collapsed,
2228
- "brand-logo--horizontal": _.variant === "horizontal"
2255
+ "brand-logo--collapsed": f.collapsed,
2256
+ "brand-logo--horizontal": f.variant === "horizontal"
2229
2257
  }])
2230
2258
  }, [
2231
- e("div", js, [
2232
- f[0] || (f[0] = e("div", { class: "brand-logo__glow" }, null, -1)),
2233
- w.logoType === "video" && w.logoSrc ? (n(), r("video", {
2259
+ e("div", Ps, [
2260
+ p[0] || (p[0] = e("div", { class: "brand-logo__glow" }, null, -1)),
2261
+ y.logoType === "video" && y.logoSrc ? (n(), r("video", {
2234
2262
  key: 0,
2235
- src: w.logoSrc,
2236
- width: _.size,
2237
- height: _.size,
2263
+ src: y.logoSrc,
2264
+ width: f.size,
2265
+ height: f.size,
2238
2266
  autoplay: "",
2239
2267
  loop: "",
2240
2268
  muted: "",
2241
2269
  playsinline: "",
2242
2270
  class: "brand-logo__media"
2243
- }, null, 8, Ks)) : w.logoSrc ? (n(), r("img", {
2271
+ }, null, 8, js)) : y.logoSrc ? (n(), r("img", {
2244
2272
  key: 1,
2245
- src: w.logoSrc,
2246
- width: _.size,
2247
- height: _.size,
2273
+ src: y.logoSrc,
2274
+ width: f.size,
2275
+ height: f.size,
2248
2276
  class: "brand-logo__media",
2249
2277
  alt: "Logo"
2250
- }, null, 8, Ys)) : x("", !0)
2278
+ }, null, 8, Ks)) : x("", !0)
2251
2279
  ]),
2252
- _.showName && !_.collapsed ? (n(), r(E, { key: 0 }, [
2253
- e("div", Gs, [
2254
- e("span", Xs, $(w.name), 1),
2255
- w.subtitle ? (n(), r("span", Js, $(w.subtitle), 1)) : x("", !0)
2280
+ f.showName && !f.collapsed ? (n(), r(E, { key: 0 }, [
2281
+ e("div", Ys, [
2282
+ e("span", Gs, $(y.name), 1),
2283
+ y.subtitle ? (n(), r("span", Xs, $(y.subtitle), 1)) : x("", !0)
2256
2284
  ]),
2257
- _.showDivider ? (n(), r("div", Zs)) : x("", !0)
2285
+ f.showDivider ? (n(), r("div", Js)) : x("", !0)
2258
2286
  ], 64)) : x("", !0)
2259
2287
  ], 2));
2260
2288
  }
2261
- }), Gn = /* @__PURE__ */ te(qs, [["__scopeId", "data-v-fd1c2eec"]]), Qs = { class: "icon-menu" }, en = ["onClick"], tn = { class: "icon-menu__icon" }, on = {
2289
+ }), Yn = /* @__PURE__ */ ee(Zs, [["__scopeId", "data-v-fd1c2eec"]]), qs = { class: "icon-menu" }, Qs = ["onClick"], en = { class: "icon-menu__icon" }, tn = {
2262
2290
  key: 1,
2263
2291
  class: "icon-menu__fallback"
2264
- }, sn = { class: "icon-menu__label" }, nn = /* @__PURE__ */ O({
2292
+ }, on = { class: "icon-menu__label" }, sn = /* @__PURE__ */ O({
2265
2293
  name: "IconMenu",
2266
2294
  __name: "index",
2267
2295
  props: {
@@ -2269,29 +2297,29 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2269
2297
  active: {}
2270
2298
  },
2271
2299
  emits: ["click"],
2272
- setup(_, { emit: i }) {
2273
- const w = i, s = G();
2274
- return (f, v) => (n(), r("div", Qs, [
2275
- (n(!0), r(E, null, W(_.menus, (a) => (n(), r("div", {
2300
+ setup(f, { emit: i }) {
2301
+ const y = i, s = X();
2302
+ return (p, m) => (n(), r("div", qs, [
2303
+ (n(!0), r(E, null, W(f.menus, (a) => (n(), r("div", {
2276
2304
  key: a.path,
2277
- class: A(["icon-menu__item", { "icon-menu__item--active": _.active === a.path }]),
2278
- onClick: (u) => w("click", a)
2305
+ class: A(["icon-menu__item", { "icon-menu__item--active": f.active === a.path }]),
2306
+ onClick: (u) => y("click", a)
2279
2307
  }, [
2280
- e("div", tn, [
2281
- o(s).iconComponent && a.meta?.icon ? (n(), T(N(o(s).iconComponent), {
2308
+ e("div", en, [
2309
+ o(s).iconComponent && a.meta?.icon ? (n(), S(N(o(s).iconComponent), {
2282
2310
  key: 0,
2283
2311
  name: a.meta.icon,
2284
2312
  size: 20
2285
- }, null, 8, ["name"])) : (n(), r("span", on, $(a.meta?.title?.charAt(0) || "?"), 1))
2313
+ }, null, 8, ["name"])) : (n(), r("span", tn, $(a.meta?.title?.charAt(0) || "?"), 1))
2286
2314
  ]),
2287
- e("div", sn, $(a.meta?.title), 1)
2288
- ], 10, en))), 128))
2315
+ e("div", on, $(a.meta?.title), 1)
2316
+ ], 10, Qs))), 128))
2289
2317
  ]));
2290
2318
  }
2291
- }), Xn = /* @__PURE__ */ te(nn, [["__scopeId", "data-v-f985d475"]]), an = { class: "floating-menu__header" }, ln = { class: "floating-menu__brand" }, rn = { class: "floating-menu__brand-title" }, dn = { class: "floating-menu__brand-subtitle" }, un = { class: "floating-menu__list" }, cn = {
2319
+ }), Gn = /* @__PURE__ */ ee(sn, [["__scopeId", "data-v-f985d475"]]), nn = { class: "floating-menu__header" }, an = { class: "floating-menu__brand" }, ln = { class: "floating-menu__brand-title" }, rn = { class: "floating-menu__brand-subtitle" }, dn = { class: "floating-menu__list" }, un = {
2292
2320
  key: 0,
2293
2321
  class: "floating-menu__group"
2294
- }, mn = { class: "floating-menu__group-title" }, vn = ["onClick"], hn = { class: "floating-menu__item-text" }, pn = ["onClick"], gn = { class: "floating-menu__item-text" }, fn = /* @__PURE__ */ O({
2322
+ }, cn = { class: "floating-menu__group-title" }, mn = ["onClick"], vn = { class: "floating-menu__item-text" }, hn = ["onClick"], pn = { class: "floating-menu__item-text" }, gn = /* @__PURE__ */ O({
2295
2323
  name: "FloatingMenu",
2296
2324
  __name: "index",
2297
2325
  props: {
@@ -2300,27 +2328,27 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2300
2328
  isActive: { type: Function }
2301
2329
  },
2302
2330
  emits: ["click"],
2303
- setup(_, { emit: i }) {
2304
- const w = i, s = G(), f = { ...se, ...s.brand };
2305
- return (v, a) => (n(), T(q, { name: "slide-fade" }, {
2331
+ setup(f, { emit: i }) {
2332
+ const y = i, s = X(), p = { ...ae, ...s.brand };
2333
+ return (m, a) => (n(), S(Q, { name: "slide-fade" }, {
2306
2334
  default: l(() => [
2307
- _.show && _.menuItem ? (n(), r("div", {
2335
+ f.show && f.menuItem ? (n(), r("div", {
2308
2336
  key: 0,
2309
2337
  class: A(["floating-menu", [o(s).isDark.value ? "dark-theme" : "light-theme"]])
2310
2338
  }, [
2311
- e("div", an, [
2312
- e("div", ln, [
2313
- e("span", rn, $(f.name), 1),
2314
- e("span", dn, $(f.subtitle), 1)
2339
+ e("div", nn, [
2340
+ e("div", an, [
2341
+ e("span", ln, $(p.name), 1),
2342
+ e("span", rn, $(p.subtitle), 1)
2315
2343
  ])
2316
2344
  ]),
2317
- e("div", un, [
2318
- (n(!0), r(E, null, W(_.menuItem.children, (u) => (n(), r(E, {
2345
+ e("div", dn, [
2346
+ (n(!0), r(E, null, W(f.menuItem.children, (u) => (n(), r(E, {
2319
2347
  key: u.path
2320
2348
  }, [
2321
- u.children && u.children.length > 0 ? (n(), r("div", cn, [
2322
- e("div", mn, [
2323
- o(s).iconComponent && u.meta?.icon ? (n(), T(N(o(s).iconComponent), {
2349
+ u.children && u.children.length > 0 ? (n(), r("div", un, [
2350
+ e("div", cn, [
2351
+ o(s).iconComponent && u.meta?.icon ? (n(), S(N(o(s).iconComponent), {
2324
2352
  key: 0,
2325
2353
  name: u.meta.icon,
2326
2354
  size: 16
@@ -2329,28 +2357,28 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2329
2357
  ]),
2330
2358
  (n(!0), r(E, null, W(u.children, (c) => (n(), r("div", {
2331
2359
  key: c.path,
2332
- class: A(["floating-menu__item floating-menu__item--sub", { active: _.isActive?.(c.path) }]),
2333
- onClick: (k) => w("click", c)
2360
+ class: A(["floating-menu__item floating-menu__item--sub", { active: f.isActive?.(c.path) }]),
2361
+ onClick: (C) => y("click", c)
2334
2362
  }, [
2335
- o(s).iconComponent && c.meta?.icon ? (n(), T(N(o(s).iconComponent), {
2363
+ o(s).iconComponent && c.meta?.icon ? (n(), S(N(o(s).iconComponent), {
2336
2364
  key: 0,
2337
2365
  name: c.meta.icon,
2338
2366
  size: 16
2339
2367
  }, null, 8, ["name"])) : x("", !0),
2340
- e("span", hn, $(c.meta?.title), 1)
2341
- ], 10, vn))), 128))
2368
+ e("span", vn, $(c.meta?.title), 1)
2369
+ ], 10, mn))), 128))
2342
2370
  ])) : (n(), r("div", {
2343
2371
  key: 1,
2344
- class: A(["floating-menu__item", { active: _.isActive?.(u.path) }]),
2345
- onClick: (c) => w("click", u)
2372
+ class: A(["floating-menu__item", { active: f.isActive?.(u.path) }]),
2373
+ onClick: (c) => y("click", u)
2346
2374
  }, [
2347
- o(s).iconComponent && u.meta?.icon ? (n(), T(N(o(s).iconComponent), {
2375
+ o(s).iconComponent && u.meta?.icon ? (n(), S(N(o(s).iconComponent), {
2348
2376
  key: 0,
2349
2377
  name: u.meta.icon,
2350
2378
  size: 18
2351
2379
  }, null, 8, ["name"])) : x("", !0),
2352
- e("span", gn, $(u.meta?.title), 1)
2353
- ], 10, pn))
2380
+ e("span", pn, $(u.meta?.title), 1)
2381
+ ], 10, hn))
2354
2382
  ], 64))), 128))
2355
2383
  ])
2356
2384
  ], 2)) : x("", !0)
@@ -2358,10 +2386,10 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2358
2386
  _: 1
2359
2387
  }));
2360
2388
  }
2361
- }), Jn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-0588c318"]]), _n = { class: "side-menu__header" }, yn = { class: "side-menu__header-icon" }, wn = { class: "side-menu__header-title" }, bn = { class: "side-menu__list" }, $n = {
2389
+ }), Xn = /* @__PURE__ */ ee(gn, [["__scopeId", "data-v-0588c318"]]), fn = { class: "side-menu__header" }, _n = { class: "side-menu__header-icon" }, yn = { class: "side-menu__header-title" }, wn = { class: "side-menu__list" }, bn = {
2362
2390
  key: 0,
2363
2391
  class: "side-menu__group"
2364
- }, kn = { class: "side-menu__group-label" }, Cn = ["onClick"], xn = { class: "side-menu__item-text" }, Tn = ["onClick"], Mn = { class: "side-menu__item-text" }, Sn = /* @__PURE__ */ O({
2392
+ }, kn = { class: "side-menu__group-label" }, $n = ["onClick"], Cn = { class: "side-menu__item-text" }, xn = ["onClick"], Sn = { class: "side-menu__item-text" }, Tn = /* @__PURE__ */ O({
2365
2393
  name: "SideMenu",
2366
2394
  __name: "index",
2367
2395
  props: {
@@ -2370,46 +2398,46 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2370
2398
  isActive: { type: Function }
2371
2399
  },
2372
2400
  emits: ["click"],
2373
- setup(_, { emit: i }) {
2374
- const w = i, s = G(), f = R(!1);
2375
- return (v, a) => _.menus.length > 0 ? (n(), r(E, { key: 0 }, [
2401
+ setup(f, { emit: i }) {
2402
+ const y = i, s = X(), p = V(!1);
2403
+ return (m, a) => f.menus.length > 0 ? (n(), r(E, { key: 0 }, [
2376
2404
  e("div", {
2377
2405
  class: A(["side-menu-toggle", [
2378
2406
  o(s).isDark.value ? "dark-theme" : "light-theme",
2379
- { active: !f.value }
2407
+ { active: !p.value }
2380
2408
  ]]),
2381
- onClick: a[0] || (a[0] = (u) => f.value = !f.value)
2409
+ onClick: a[0] || (a[0] = (u) => p.value = !p.value)
2382
2410
  }, [
2383
2411
  e("i", {
2384
2412
  class: A([
2385
2413
  "toggle-icon",
2386
- f.value ? "i-ri:side-bar-line" : "i-ri:arrow-right-s-line"
2414
+ p.value ? "i-ri:side-bar-line" : "i-ri:arrow-right-s-line"
2387
2415
  ])
2388
2416
  }, null, 2)
2389
2417
  ], 2),
2390
- m(q, { name: "glass-slide" }, {
2418
+ v(Q, { name: "glass-slide" }, {
2391
2419
  default: l(() => [
2392
- f.value ? x("", !0) : (n(), r("div", {
2420
+ p.value ? x("", !0) : (n(), r("div", {
2393
2421
  key: 0,
2394
2422
  class: A(["side-menu", [o(s).isDark.value ? "dark-theme" : "light-theme"]])
2395
2423
  }, [
2396
- e("div", _n, [
2397
- e("div", yn, [
2398
- o(s).iconComponent && _.activeItem?.meta?.icon ? (n(), T(N(o(s).iconComponent), {
2424
+ e("div", fn, [
2425
+ e("div", _n, [
2426
+ o(s).iconComponent && f.activeItem?.meta?.icon ? (n(), S(N(o(s).iconComponent), {
2399
2427
  key: 0,
2400
- name: _.activeItem.meta.icon,
2428
+ name: f.activeItem.meta.icon,
2401
2429
  size: 17
2402
2430
  }, null, 8, ["name"])) : x("", !0)
2403
2431
  ]),
2404
- e("span", wn, $(_.activeItem?.meta?.title || "菜单"), 1)
2432
+ e("span", yn, $(f.activeItem?.meta?.title || "菜单"), 1)
2405
2433
  ]),
2406
- e("div", bn, [
2407
- (n(!0), r(E, null, W(_.menus, (u) => (n(), r(E, {
2434
+ e("div", wn, [
2435
+ (n(!0), r(E, null, W(f.menus, (u) => (n(), r(E, {
2408
2436
  key: u.path
2409
2437
  }, [
2410
- u.children && u.children.length > 0 ? (n(), r("div", $n, [
2438
+ u.children && u.children.length > 0 ? (n(), r("div", bn, [
2411
2439
  e("div", kn, [
2412
- o(s).iconComponent && u.meta?.icon ? (n(), T(N(o(s).iconComponent), {
2440
+ o(s).iconComponent && u.meta?.icon ? (n(), S(N(o(s).iconComponent), {
2413
2441
  key: 0,
2414
2442
  name: u.meta.icon,
2415
2443
  size: 14
@@ -2418,28 +2446,28 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2418
2446
  ]),
2419
2447
  (n(!0), r(E, null, W(u.children, (c) => (n(), r("div", {
2420
2448
  key: c.path,
2421
- class: A(["side-menu__item", { active: _.isActive?.(c.path) }]),
2422
- onClick: (k) => w("click", c)
2449
+ class: A(["side-menu__item", { active: f.isActive?.(c.path) }]),
2450
+ onClick: (C) => y("click", c)
2423
2451
  }, [
2424
- o(s).iconComponent && c.meta?.icon ? (n(), T(N(o(s).iconComponent), {
2452
+ o(s).iconComponent && c.meta?.icon ? (n(), S(N(o(s).iconComponent), {
2425
2453
  key: 0,
2426
2454
  name: c.meta.icon,
2427
2455
  size: 15
2428
2456
  }, null, 8, ["name"])) : x("", !0),
2429
- e("span", xn, $(c.meta?.title), 1)
2430
- ], 10, Cn))), 128))
2457
+ e("span", Cn, $(c.meta?.title), 1)
2458
+ ], 10, $n))), 128))
2431
2459
  ])) : (n(), r("div", {
2432
2460
  key: 1,
2433
- class: A(["side-menu__item", { active: _.isActive?.(u.path) }]),
2434
- onClick: (c) => w("click", u)
2461
+ class: A(["side-menu__item", { active: f.isActive?.(u.path) }]),
2462
+ onClick: (c) => y("click", u)
2435
2463
  }, [
2436
- o(s).iconComponent && u.meta?.icon ? (n(), T(N(o(s).iconComponent), {
2464
+ o(s).iconComponent && u.meta?.icon ? (n(), S(N(o(s).iconComponent), {
2437
2465
  key: 0,
2438
2466
  name: u.meta.icon,
2439
2467
  size: 16
2440
2468
  }, null, 8, ["name"])) : x("", !0),
2441
- e("span", Mn, $(u.meta?.title), 1)
2442
- ], 10, Tn))
2469
+ e("span", Sn, $(u.meta?.title), 1)
2470
+ ], 10, xn))
2443
2471
  ], 64))), 128))
2444
2472
  ])
2445
2473
  ], 2))
@@ -2448,91 +2476,96 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2448
2476
  })
2449
2477
  ], 64)) : x("", !0);
2450
2478
  }
2451
- }), Zn = /* @__PURE__ */ te(Sn, [["__scopeId", "data-v-1909f229"]]), In = { class: "drawer-menu__content" }, zn = { class: "drawer-menu__grid" }, Hn = ["onClick"], Rn = {
2479
+ }), Jn = /* @__PURE__ */ ee(Tn, [["__scopeId", "data-v-1909f229"]]), Mn = { class: "drawer-menu__content" }, In = { class: "drawer-menu__grid" }, zn = ["onClick"], Vn = {
2452
2480
  key: 0,
2453
2481
  class: "drawer-menu__items"
2454
- }, Vn = ["onClick"], An = { class: "drawer-menu__item-text" }, Ln = {
2482
+ }, Hn = ["onClick"], Rn = { class: "drawer-menu__item-text" }, An = {
2455
2483
  key: 0,
2456
2484
  class: "drawer-menu__sub-items"
2457
- }, Dn = { class: "drawer-menu__sub-title" }, Nn = ["onClick"], En = { class: "drawer-menu__item-text" }, Bn = /* @__PURE__ */ O({
2485
+ }, Ln = { class: "drawer-menu__sub-title" }, Dn = ["onClick"], Nn = { class: "drawer-menu__item-text" }, En = /* @__PURE__ */ O({
2458
2486
  name: "DrawerMenu",
2459
2487
  __name: "index",
2460
2488
  props: {
2461
2489
  menus: {},
2462
2490
  show: { type: Boolean }
2463
2491
  },
2464
- setup(_) {
2465
- const i = G(), w = pe(), s = ye(Ie, {
2492
+ setup(f) {
2493
+ const i = X(), y = ge(), s = we(Ve, {
2466
2494
  show: () => {
2467
2495
  },
2468
2496
  startHide: () => {
2469
2497
  },
2470
2498
  hide: () => {
2471
2499
  }
2472
- }), f = (v) => {
2473
- v.path && (w.push(v.path), s.hide());
2500
+ }), p = (m) => {
2501
+ m.path && (y.push(m.path), s.hide());
2474
2502
  };
2475
- return (v, a) => (n(), r("div", {
2503
+ return (m, a) => (n(), r("div", {
2476
2504
  class: A(["drawer-menu", [
2477
2505
  o(i).isDark.value ? "dark-theme" : "light-theme",
2478
- { visible: _.show }
2506
+ { visible: f.show }
2479
2507
  ]]),
2480
2508
  onMouseenter: a[0] || (a[0] = (u) => o(s).show()),
2481
2509
  onMouseleave: a[1] || (a[1] = (u) => o(s).startHide())
2482
2510
  }, [
2483
2511
  a[2] || (a[2] = e("div", { class: "drawer-menu__header" }, [
2484
2512
  e("div", { class: "drawer-menu__title" }, [
2485
- e("i", { class: "i-ri:apps-2-line" }),
2513
+ e("span", { class: "grid-icon" }, [
2514
+ e("span"),
2515
+ e("span"),
2516
+ e("span"),
2517
+ e("span")
2518
+ ]),
2486
2519
  e("span", null, "功能导航")
2487
2520
  ])
2488
2521
  ], -1)),
2489
- e("div", In, [
2490
- e("div", zn, [
2491
- (n(!0), r(E, null, W(_.menus, (u) => (n(), r("div", {
2522
+ e("div", Mn, [
2523
+ e("div", In, [
2524
+ (n(!0), r(E, null, W(f.menus, (u) => (n(), r("div", {
2492
2525
  key: u.path,
2493
2526
  class: "drawer-menu__category"
2494
2527
  }, [
2495
2528
  e("div", {
2496
2529
  class: "drawer-menu__category-header",
2497
- onClick: (c) => f(u)
2530
+ onClick: (c) => p(u)
2498
2531
  }, [
2499
- o(i).iconComponent && u.meta?.icon ? (n(), T(N(o(i).iconComponent), {
2532
+ o(i).iconComponent && u.meta?.icon ? (n(), S(N(o(i).iconComponent), {
2500
2533
  key: 0,
2501
2534
  name: u.meta.icon,
2502
2535
  size: 18
2503
2536
  }, null, 8, ["name"])) : x("", !0),
2504
2537
  e("span", null, $(u.meta?.title), 1)
2505
- ], 8, Hn),
2506
- u.children && u.children.length > 0 ? (n(), r("div", Rn, [
2538
+ ], 8, zn),
2539
+ u.children && u.children.length > 0 ? (n(), r("div", Vn, [
2507
2540
  (n(!0), r(E, null, W(u.children, (c) => (n(), r("div", {
2508
2541
  key: c.path,
2509
2542
  class: "drawer-menu__item",
2510
- onClick: (k) => f(c)
2543
+ onClick: (C) => p(c)
2511
2544
  }, [
2512
- o(i).iconComponent && c.meta?.icon ? (n(), T(N(o(i).iconComponent), {
2545
+ o(i).iconComponent && c.meta?.icon ? (n(), S(N(o(i).iconComponent), {
2513
2546
  key: 0,
2514
2547
  name: c.meta.icon,
2515
2548
  size: 16
2516
2549
  }, null, 8, ["name"])) : x("", !0),
2517
- e("span", An, $(c.meta?.title), 1)
2518
- ], 8, Vn))), 128)),
2550
+ e("span", Rn, $(c.meta?.title), 1)
2551
+ ], 8, Hn))), 128)),
2519
2552
  (n(!0), r(E, null, W(u.children, (c) => (n(), r(E, {
2520
2553
  key: c.path
2521
2554
  }, [
2522
- c.children && c.children.length > 0 ? (n(), r("div", Ln, [
2523
- e("div", Dn, $(c.meta?.title), 1),
2524
- (n(!0), r(E, null, W(c.children, (k) => (n(), r("div", {
2525
- key: k.path,
2555
+ c.children && c.children.length > 0 ? (n(), r("div", An, [
2556
+ e("div", Ln, $(c.meta?.title), 1),
2557
+ (n(!0), r(E, null, W(c.children, (C) => (n(), r("div", {
2558
+ key: C.path,
2526
2559
  class: "drawer-menu__item drawer-menu__item--sub",
2527
- onClick: (g) => f(k)
2560
+ onClick: (g) => p(C)
2528
2561
  }, [
2529
- o(i).iconComponent && k.meta?.icon ? (n(), T(N(o(i).iconComponent), {
2562
+ o(i).iconComponent && C.meta?.icon ? (n(), S(N(o(i).iconComponent), {
2530
2563
  key: 0,
2531
- name: k.meta.icon,
2564
+ name: C.meta.icon,
2532
2565
  size: 14
2533
2566
  }, null, 8, ["name"])) : x("", !0),
2534
- e("span", En, $(k.meta?.title), 1)
2535
- ], 8, Nn))), 128))
2567
+ e("span", Nn, $(C.meta?.title), 1)
2568
+ ], 8, Dn))), 128))
2536
2569
  ])) : x("", !0)
2537
2570
  ], 64))), 128))
2538
2571
  ])) : x("", !0)
@@ -2541,14 +2574,14 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2541
2574
  ])
2542
2575
  ], 34));
2543
2576
  }
2544
- }), qn = /* @__PURE__ */ te(Bn, [["__scopeId", "data-v-9aae9bfd"]]), Fn = /* @__PURE__ */ O({
2577
+ }), Zn = /* @__PURE__ */ ee(En, [["__scopeId", "data-v-b0d3e73b"]]), Bn = /* @__PURE__ */ O({
2545
2578
  name: "MenuTrigger",
2546
2579
  __name: "index",
2547
2580
  props: {
2548
2581
  show: { type: Boolean }
2549
2582
  },
2550
- setup(_) {
2551
- const i = ye(Ie, {
2583
+ setup(f) {
2584
+ const i = we(Ve, {
2552
2585
  show: () => {
2553
2586
  },
2554
2587
  startHide: () => {
@@ -2556,59 +2589,63 @@ const ht = { class: "mix-layout-container" }, pt = { class: "logo-container" },
2556
2589
  hide: () => {
2557
2590
  }
2558
2591
  });
2559
- return (w, s) => (n(), r("div", {
2592
+ return (y, s) => (n(), r("div", {
2560
2593
  class: "menu-trigger",
2561
- onMouseenter: s[0] || (s[0] = (f) => o(i).show()),
2562
- onMouseleave: s[1] || (s[1] = (f) => o(i).startHide())
2594
+ onMouseenter: s[0] || (s[0] = (p) => o(i).show()),
2595
+ onMouseleave: s[1] || (s[1] = (p) => o(i).startHide())
2563
2596
  }, [...s[2] || (s[2] = [
2564
2597
  e("div", { class: "menu-trigger__indicator" }, [
2565
- e("i", { class: "i-ri:menu-3-line" })
2598
+ e("span", { class: "hamburger-icon" }, [
2599
+ e("span"),
2600
+ e("span"),
2601
+ e("span")
2602
+ ])
2566
2603
  ], -1)
2567
2604
  ])], 32));
2568
2605
  }
2569
- }), Qn = /* @__PURE__ */ te(Fn, [["__scopeId", "data-v-8e722471"]]);
2570
- function ea(_, i = {}) {
2571
- const w = Me(i);
2572
- return w().syncCSSVariables(), w;
2606
+ }), qn = /* @__PURE__ */ ee(Bn, [["__scopeId", "data-v-2c20af78"]]);
2607
+ function Qn(f, i = {}) {
2608
+ const y = Ie(i);
2609
+ return y().syncCSSVariables(), y;
2573
2610
  }
2574
2611
  export {
2575
- Xe as BORDER_RADIUS_MAP,
2576
- Gn as BrandLogo,
2577
- Ze as COLOR_SWATCHES,
2578
- Do as C_CardLayout,
2579
- Kn as C_LayoutContainer,
2580
- It as C_MixLayout,
2581
- Kt as C_MixTopLayout,
2582
- po as C_ReverseHorizontalMixLayout,
2583
- Qe as C_SideLayout,
2584
- vt as C_TopLayout,
2585
- Do as CardLayout,
2586
- se as DEFAULT_BRAND_CONFIG,
2612
+ Ge as BORDER_RADIUS_MAP,
2613
+ Yn as BrandLogo,
2614
+ Je as COLOR_SWATCHES,
2615
+ Lo as C_CardLayout,
2616
+ jn as C_LayoutContainer,
2617
+ Mt as C_MixLayout,
2618
+ jt as C_MixTopLayout,
2619
+ vo as C_ReverseHorizontalMixLayout,
2620
+ qe as C_SideLayout,
2621
+ mt as C_TopLayout,
2622
+ Lo as CardLayout,
2623
+ ae as DEFAULT_BRAND_CONFIG,
2587
2624
  P as DEFAULT_SETTINGS,
2588
- Ie as DRAWER_HANDLER_KEY,
2589
- qn as DrawerMenu,
2590
- Jn as FloatingMenu,
2591
- Xn as IconMenu,
2592
- qe as LAYOUT_CONTEXT_KEY,
2593
- jn as LAYOUT_MODES,
2594
- Qn as MenuTrigger,
2595
- It as MixLayout,
2596
- Kt as MixTopLayout,
2597
- Ye as PRESET_COLORS,
2625
+ Ve as DRAWER_HANDLER_KEY,
2626
+ Zn as DrawerMenu,
2627
+ Xn as FloatingMenu,
2628
+ Gn as IconMenu,
2629
+ Ze as LAYOUT_CONTEXT_KEY,
2630
+ Pn as LAYOUT_MODES,
2631
+ qn as MenuTrigger,
2632
+ Mt as MixLayout,
2633
+ jt as MixTopLayout,
2634
+ Ke as PRESET_COLORS,
2598
2635
  $e as ResponsiveMenu,
2599
- po as ReverseHorizontalMixLayout,
2600
- Yn as SettingsDrawer,
2601
- Qe as SideLayout,
2602
- Zn as SideMenu,
2603
- Ge as THEME_PRESETS,
2604
- Je as TRANSITION_MAP,
2605
- vt as TopLayout,
2606
- xe as adjustColor,
2607
- Me as createSettingsStore,
2608
- ea as setupLayout,
2609
- de as useLayoutCache,
2610
- G as useLayoutContext,
2611
- ke as useMenuSplit,
2612
- Se as useSettingsStore
2636
+ vo as ReverseHorizontalMixLayout,
2637
+ Kn as SettingsDrawer,
2638
+ qe as SideLayout,
2639
+ Jn as SideMenu,
2640
+ Ye as THEME_PRESETS,
2641
+ Xe as TRANSITION_MAP,
2642
+ mt as TopLayout,
2643
+ Te as adjustColor,
2644
+ Ie as createSettingsStore,
2645
+ Qn as setupLayout,
2646
+ me as useLayoutCache,
2647
+ X as useLayoutContext,
2648
+ Ce as useMenuSplit,
2649
+ ze as useSettingsStore
2613
2650
  };
2614
2651
  //# sourceMappingURL=index.js.map