@vtj/ui 0.7.7 → 0.7.10

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.mjs CHANGED
@@ -1,21 +1,21 @@
1
- import { defineComponent as V, useAttrs as Je, getCurrentInstance as pe, computed as y, markRaw as ke, openBlock as u, createBlock as g, unref as n, normalizeClass as W, normalizeStyle as fe, withCtx as d, renderSlot as x, resolveDynamicComponent as J, createCommentVNode as v, createElementBlock as C, mergeProps as F, createElementVNode as X, toDisplayString as A, Fragment as Q, renderList as Y, isVNode as Ut, h as ae, shallowRef as Ve, ref as O, watch as L, toRef as Ae, createTextVNode as R, useSlots as Ht, toRaw as ge, createVNode as _, normalizeProps as le, guardReactiveProps as he, effectScope as mt, reactive as Re, onMounted as gt, onUnmounted as yt, watchEffect as Qe, nextTick as ye, Teleport as vt, withDirectives as G, createSlots as be, render as nt, vShow as ne, isRef as Be, withModifiers as ht, KeepAlive as Kt, provide as ze, inject as xe, withKeys as Lt } from "vue";
2
- import { ElIcon as Wt, ElSubMenu as Jt, ElBadge as Ke, ElMenuItem as Qt, ElMenu as Zt, ElButton as ie, ElDropdown as Gt, ElDropdownMenu as Yt, ElDropdownItem as qt, ElTooltip as bt, ElDivider as se, ElSwitch as Ze, ElInput as Ce, ElEmpty as _t, ElTabs as kt, ElTabPane as Le, ElPopover as wt, ElAvatar as eo, ElMessageBox as Ne, ElSelect as to, ElOption as oo, ElCheckboxButton as no, ElCheckbox as ao, ElCheckboxGroup as so, ElRadioButton as lo, ElRadio as io, ElRadioGroup as ro, ElInputNumber as co, ElDatePicker as at, ElTimePicker as uo, ElRate as po, ElSlider as fo, ElCascader as mo, formContextKey as go, ElFormItem as yo, ElForm as vo, ElImage as ho, ElInfiniteScroll as st, ElPagination as bo, ElDescriptions as lt, ElDescriptionsItem as Xe, ElMessage as it } from "element-plus";
3
- import { ArrowRight as _o, Minimize as ko, Popup as wo, Maximize as xo, RawClose as So, StarFilled as xt, Menu as zo, Search as We, Close as St, Expand as Co, Fold as To, Star as zt, Document as me, Refresh as $o, CopyDocument as Eo, Moon as Mo, Sunny as Io, MoreFilled as Bo, UserFilled as Po, HomeFilled as Vo, WarningFilled as Ao, EditPen as Do } from "@vtj/icons";
4
- import { useDraggable as Ro, useMouseInElement as Oo, useEventListener as De, useElementSize as Ct, useDark as Fo, useResizeObserver as jo, useVirtualList as No } from "@vueuse/core";
5
- import { isEqual as Ge, isObject as Ye, uid as Tt, arrayToMap as Xo, isUrl as Uo, upperFirstCamelCase as $t, toArray as Ho, get as Pe, merge as Ko, set as Ue, debounce as Lo } from "@vtj/utils";
6
- import { useRouter as qe, RouterView as Wo, useRoute as Et, routeLocationKey as Jo } from "vue-router";
1
+ import { defineComponent as V, useAttrs as We, getCurrentInstance as de, computed as y, markRaw as ke, openBlock as u, createBlock as g, unref as n, normalizeClass as W, normalizeStyle as pe, withCtx as d, renderSlot as x, resolveDynamicComponent as J, createCommentVNode as v, createElementBlock as C, mergeProps as F, createElementVNode as X, toDisplayString as A, Fragment as Q, renderList as Y, isVNode as jt, h as ne, shallowRef as Ve, ref as O, watch as L, toRef as Ae, createTextVNode as R, useSlots as Nt, toRaw as ge, createVNode as _, normalizeProps as le, guardReactiveProps as he, effectScope as ft, reactive as Re, onMounted as mt, onUnmounted as gt, watchEffect as Je, nextTick as ye, Teleport as yt, withDirectives as G, createSlots as be, render as ot, vShow as oe, isRef as Ie, withModifiers as vt, KeepAlive as Xt, provide as Se, inject as xe, withKeys as Ut } from "vue";
2
+ import { ElIcon as Ht, ElSubMenu as Kt, ElBadge as He, ElMenuItem as Lt, ElMenu as Wt, ElButton as ie, ElDropdown as Jt, ElDropdownMenu as Qt, ElDropdownItem as Zt, ElTooltip as ht, ElDivider as ae, ElSwitch as Qe, ElInput as ze, ElEmpty as bt, ElTabs as _t, ElTabPane as Ke, ElPopover as kt, ElAvatar as Gt, ElMessageBox as je, ElSelect as Yt, ElOption as qt, ElCheckboxButton as eo, ElCheckbox as to, ElCheckboxGroup as oo, ElRadioButton as no, ElRadio as ao, ElRadioGroup as so, ElInputNumber as lo, ElDatePicker as nt, ElTimePicker as io, ElRate as ro, ElSlider as co, ElCascader as uo, formContextKey as po, ElFormItem as fo, ElForm as mo, ElImage as go, ElInfiniteScroll as at, ElPagination as yo, ElDescriptions as st, ElDescriptionsItem as Ne, ElMessage as lt } from "element-plus";
3
+ import { ArrowRight as vo, Minimize as ho, Popup as bo, Maximize as _o, RawClose as ko, StarFilled as wt, Menu as wo, Search as Le, Close as xt, Expand as xo, Fold as So, Star as St, Document as fe, Refresh as zo, CopyDocument as Co, Moon as To, Sunny as $o, MoreFilled as Eo, UserFilled as Mo, HomeFilled as Io, WarningFilled as Bo, EditPen as Po } from "@vtj/icons";
4
+ import { useDraggable as Vo, useMouseInElement as Ao, useEventListener as De, useElementSize as zt, useDark as Do, useResizeObserver as Ro, useVirtualList as Oo } from "@vueuse/core";
5
+ import { isEqual as Ze, isObject as Ge, uid as Ct, arrayToMap as Fo, isUrl as jo, upperFirstCamelCase as Tt, toArray as No, get as Be, merge as Xo, set as Xe, debounce as Uo } from "@vtj/utils";
6
+ import { useRouter as Ye, RouterView as Ho, useRoute as $t, routeLocationKey as Ko } from "vue-router";
7
7
  /**!
8
8
  * Copyright (c) 2024, VTJ.PRO All rights reserved.
9
9
  * @name @vtj/ui
10
10
  * @author CHC chenhuachun1549@dingtalk.com
11
- * @version 0.7.7
11
+ * @version 0.7.10
12
12
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
13
13
  */
14
- const Ha = "0.7.7", Qo = {
14
+ const Da = "0.7.10", Lo = {
15
15
  default: 14,
16
16
  small: 12,
17
17
  large: 18
18
- }, Zo = {
18
+ }, Wo = {
19
19
  icon: {
20
20
  type: [String, Object]
21
21
  },
@@ -42,7 +42,7 @@ const Ha = "0.7.7", Qo = {
42
42
  function q(a) {
43
43
  return typeof a == "string" ? a : `${a}px`;
44
44
  }
45
- function Ee(a = 0, o) {
45
+ function $e(a = 0, o) {
46
46
  if (typeof a == "number")
47
47
  return a;
48
48
  if (/(%|vh|vw)$/i.test(a)) {
@@ -51,22 +51,22 @@ function Ee(a = 0, o) {
51
51
  }
52
52
  return Number.parseInt(a);
53
53
  }
54
- function rt(a, o = {}) {
54
+ function it(a, o = {}) {
55
55
  const e = { ...o };
56
56
  return typeof a == "boolean" ? e : Object.assign(e, a || {});
57
57
  }
58
- const ct = Symbol("INSTALLED_KEY"), Ka = (a = []) => ({
58
+ const rt = Symbol("INSTALLED_KEY"), Ra = (a = []) => ({
59
59
  install: (e) => {
60
- e[ct] || (e[ct] = !0, a.forEach((t) => {
60
+ e[rt] || (e[rt] = !0, a.forEach((t) => {
61
61
  t.name && e.component(t.name, t);
62
62
  }));
63
63
  }
64
- }), Go = ["src"], re = /* @__PURE__ */ V({
64
+ }), Jo = ["src"], ue = /* @__PURE__ */ V({
65
65
  name: "XIcon",
66
66
  __name: "Icon",
67
- props: Zo,
67
+ props: Wo,
68
68
  setup(a) {
69
- const o = a, e = Je(), t = pe(), l = y(() => {
69
+ const o = a, e = We(), t = de(), l = y(() => {
70
70
  if (!o.icon)
71
71
  return null;
72
72
  const r = t?.appContext.app;
@@ -80,12 +80,12 @@ const ct = Symbol("INSTALLED_KEY"), Ka = (a = []) => ({
80
80
  "background-color": o.background,
81
81
  "border-radius": o.radius ? q(o.radius) : void 0,
82
82
  padding: o.padding ? q(o.padding) : void 0
83
- })), i = y(() => typeof o.size == "number" ? o.size : Qo[o.size] ?? void 0);
84
- return (r, p) => (u(), g(n(Wt), {
83
+ })), i = y(() => typeof o.size == "number" ? o.size : Lo[o.size] ?? void 0);
84
+ return (r, p) => (u(), g(n(Ht), {
85
85
  class: W(["x-icon", s.value]),
86
86
  color: o.color,
87
87
  size: i.value,
88
- style: fe(c.value)
88
+ style: pe(c.value)
89
89
  }, {
90
90
  default: d(() => [
91
91
  x(r.$slots, "default", {}, () => [
@@ -93,19 +93,19 @@ const ct = Symbol("INSTALLED_KEY"), Ka = (a = []) => ({
93
93
  o.src ? (u(), C("img", {
94
94
  key: 1,
95
95
  src: o.src
96
- }, null, 8, Go)) : v("", !0)
96
+ }, null, 8, Jo)) : v("", !0)
97
97
  ])
98
98
  ]),
99
99
  _: 3
100
100
  }, 8, ["class", "color", "size", "style"]));
101
101
  }
102
- }), Yo = { class: "x-menu__wrapper" }, qo = {
102
+ }), Qo = { class: "x-menu__wrapper" }, Zo = {
103
103
  key: 1,
104
104
  class: "x-menu__title"
105
- }, en = /* @__PURE__ */ X("i", null, null, -1), tn = {
105
+ }, Go = /* @__PURE__ */ X("i", null, null, -1), Yo = {
106
106
  key: 0,
107
107
  class: "x-menu__title"
108
- }, on = /* @__PURE__ */ X("i", null, null, -1), Mt = /* @__PURE__ */ V({
108
+ }, qo = /* @__PURE__ */ X("i", null, null, -1), Et = /* @__PURE__ */ V({
109
109
  inheritAttrs: !1,
110
110
  name: "XMenuItem",
111
111
  __name: "MenuItem",
@@ -115,36 +115,36 @@ const ct = Symbol("INSTALLED_KEY"), Ka = (a = []) => ({
115
115
  defaultIcon: {}
116
116
  },
117
117
  setup(a) {
118
- const o = a, e = pe(), t = (c) => {
118
+ const o = a, e = de(), t = (c) => {
119
119
  if (c)
120
120
  return typeof c == "string" && (e?.appContext.app?.component(c) || o.defaultIcon) || c;
121
121
  }, l = (c) => typeof c == "object" ? c : { value: c }, s = (c = []) => c.filter((i) => !i.hidden);
122
- return (c, i) => o.item.children ? (u(), g(n(Jt), F({
122
+ return (c, i) => o.item.children ? (u(), g(n(Kt), F({
123
123
  key: 0,
124
124
  disabled: o.item.disabled
125
125
  }, o.subMenu, {
126
126
  index: String(o.item.id)
127
127
  }), {
128
128
  title: d(() => [
129
- X("div", Yo, [
130
- o.item.icon ? (u(), g(n(re), {
129
+ X("div", Qo, [
130
+ o.item.icon ? (u(), g(n(ue), {
131
131
  key: 0,
132
132
  icon: t(o.item.icon)
133
133
  }, null, 8, ["icon"])) : v("", !0),
134
- o.item.title ? (u(), C("span", qo, A(o.item.title), 1)) : v("", !0),
135
- o.item.badge ? (u(), g(n(Ke), F({
134
+ o.item.title ? (u(), C("span", Zo, A(o.item.title), 1)) : v("", !0),
135
+ o.item.badge ? (u(), g(n(He), F({
136
136
  key: 2,
137
137
  class: "x-menu__badge"
138
138
  }, l(o.item.badge)), {
139
139
  default: d(() => [
140
- en
140
+ Go
141
141
  ]),
142
142
  _: 1
143
143
  }, 16)) : v("", !0)
144
144
  ])
145
145
  ]),
146
146
  default: d(() => [
147
- (u(!0), C(Q, null, Y(s(o.item.children), (r) => (u(), g(n(Mt), {
147
+ (u(!0), C(Q, null, Y(s(o.item.children), (r) => (u(), g(n(Et), {
148
148
  key: r.id,
149
149
  item: r,
150
150
  subMenu: o.subMenu,
@@ -152,25 +152,25 @@ const ct = Symbol("INSTALLED_KEY"), Ka = (a = []) => ({
152
152
  }, null, 8, ["item", "subMenu", "defaultIcon"]))), 128))
153
153
  ]),
154
154
  _: 1
155
- }, 16, ["disabled", "index"])) : (u(), g(n(Qt), {
155
+ }, 16, ["disabled", "index"])) : (u(), g(n(Lt), {
156
156
  key: 1,
157
157
  index: String(o.item.id),
158
158
  disabled: o.item.disabled
159
159
  }, {
160
160
  title: d(() => [
161
- o.item.title ? (u(), C("span", tn, A(o.item.title), 1)) : v("", !0),
162
- o.item.badge ? (u(), g(n(Ke), F({
161
+ o.item.title ? (u(), C("span", Yo, A(o.item.title), 1)) : v("", !0),
162
+ o.item.badge ? (u(), g(n(He), F({
163
163
  key: 1,
164
164
  class: "x-menu__badge"
165
165
  }, l(o.item.badge)), {
166
166
  default: d(() => [
167
- on
167
+ qo
168
168
  ]),
169
169
  _: 1
170
170
  }, 16)) : v("", !0)
171
171
  ]),
172
172
  default: d(() => [
173
- o.item.icon ? (u(), g(n(re), {
173
+ o.item.icon ? (u(), g(n(ue), {
174
174
  key: 0,
175
175
  icon: t(o.item.icon)
176
176
  }, null, 8, ["icon"])) : v("", !0)
@@ -178,7 +178,7 @@ const ct = Symbol("INSTALLED_KEY"), Ka = (a = []) => ({
178
178
  _: 1
179
179
  }, 8, ["index", "disabled"]));
180
180
  }
181
- }), de = /* @__PURE__ */ V({
181
+ }), me = /* @__PURE__ */ V({
182
182
  inheritAttrs: !1,
183
183
  name: "XMenu",
184
184
  __name: "Menu",
@@ -206,9 +206,9 @@ const ct = Symbol("INSTALLED_KEY"), Ka = (a = []) => ({
206
206
  const r = s(l.value, i);
207
207
  r && t("select", r);
208
208
  };
209
- return (i, r) => (u(), g(n(Zt), F({ class: "x-menu" }, i.$attrs, { onSelect: c }), {
209
+ return (i, r) => (u(), g(n(Wt), F({ class: "x-menu" }, i.$attrs, { onSelect: c }), {
210
210
  default: d(() => [
211
- (u(!0), C(Q, null, Y(l.value, (p) => (u(), g(n(Mt), {
211
+ (u(!0), C(Q, null, Y(l.value, (p) => (u(), g(n(Et), {
212
212
  item: { ...p, icon: p.icon },
213
213
  defaultIcon: e.defaultIcon,
214
214
  subMenu: e.subMenu
@@ -217,7 +217,7 @@ const ct = Symbol("INSTALLED_KEY"), Ka = (a = []) => ({
217
217
  _: 1
218
218
  }, 16));
219
219
  }
220
- }), It = {
220
+ }), Mt = {
221
221
  /**
222
222
  * 动作名称标识
223
223
  */
@@ -313,21 +313,21 @@ const ct = Symbol("INSTALLED_KEY"), Ka = (a = []) => ({
313
313
  type: Boolean
314
314
  }
315
315
  };
316
- function nn(a) {
316
+ function en(a) {
317
317
  return y(() => {
318
318
  const o = a.tooltip;
319
319
  if (o)
320
320
  return typeof o == "string" ? { content: o } : o;
321
321
  });
322
322
  }
323
- function an(a) {
323
+ function tn(a) {
324
324
  return y(() => {
325
325
  const o = a.badge;
326
326
  if (o)
327
327
  return typeof o == "object" ? o : { value: o };
328
328
  });
329
329
  }
330
- function sn(a) {
330
+ function on(a) {
331
331
  return y(() => {
332
332
  const { dropdown: o, menus: e } = a;
333
333
  if (e && e.length > 0)
@@ -337,12 +337,12 @@ function sn(a) {
337
337
  );
338
338
  });
339
339
  }
340
- function ln(a) {
341
- const o = pe();
340
+ function nn(a) {
341
+ const o = de();
342
342
  return y(() => {
343
343
  const e = n(a);
344
344
  if (e)
345
- if (typeof e == "string" || e.setup || e.render || Ut(e)) {
345
+ if (typeof e == "string" || e.setup || e.render || jt(e)) {
346
346
  const t = o?.appContext.app;
347
347
  return {
348
348
  icon: typeof e == "string" && t?.component(e) || e
@@ -353,20 +353,20 @@ function ln(a) {
353
353
  });
354
354
  }
355
355
  function _e(a) {
356
- const o = ln(a);
357
- return o.value ? ke(V({ render: () => ae(re, o.value) })) : void 0;
356
+ const o = nn(a);
357
+ return o.value ? ke(V({ render: () => ne(ue, o.value) })) : void 0;
358
358
  }
359
- function et(a, o) {
359
+ function qe(a, o) {
360
360
  return y(() => {
361
361
  const e = n(a);
362
362
  return typeof e == "function" ? e(o) : !!e;
363
363
  });
364
364
  }
365
- function rn(a, o, e) {
365
+ function an(a, o, e) {
366
366
  const t = Ve(o), l = O(!1), s = async (i) => {
367
367
  const r = n(a);
368
368
  return r ? typeof r == "function" ? await r(i) : r : o;
369
- }, c = async (i) => (l.value = !0, await s(i).then((r) => (t.value = r || o, l.value = !1, t)));
369
+ }, c = async (i) => (l.value = !0, await s(i).then((r) => (t.value = r || o, l.value = !1, n(t))));
370
370
  return L(
371
371
  () => a,
372
372
  () => {
@@ -381,12 +381,12 @@ function rn(a, o, e) {
381
381
  loader: c
382
382
  };
383
383
  }
384
- const cn = { key: 0 }, un = /* @__PURE__ */ V({
384
+ const sn = { key: 0 }, ln = /* @__PURE__ */ V({
385
385
  __name: "Trigger",
386
- props: It,
386
+ props: Mt,
387
387
  emits: ["click"],
388
388
  setup(a, { emit: o }) {
389
- const e = a, t = o, l = _e(Ae(e, "icon")), s = et(Ae(e, "disabled")), c = y(() => ({
389
+ const e = a, t = o, l = _e(Ae(e, "icon")), s = qe(Ae(e, "disabled")), c = y(() => ({
390
390
  [`is-${e.mode}`]: !!e.mode,
391
391
  [`is-${e.type}`]: !!e.type,
392
392
  [`is-${e.size}`]: !!e.size && e.size !== "default",
@@ -394,7 +394,7 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
394
394
  "is-disabled": !!e.disabled,
395
395
  "is-circle": !!e.circle
396
396
  })), i = (r) => {
397
- if (r.stopPropagation(), r.preventDefault(), !s.value)
397
+ if (r.preventDefault(), !s.value)
398
398
  return t("click"), !1;
399
399
  };
400
400
  return (r, p) => e.mode === "button" ? (u(), g(n(ie), F({
@@ -414,16 +414,16 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
414
414
  onClick: i
415
415
  }, [
416
416
  (u(), g(J(n(l)))),
417
- r.label ? (u(), C("span", cn, A(r.label), 1)) : v("", !0)
417
+ r.label ? (u(), C("span", sn, A(r.label), 1)) : v("", !0)
418
418
  ], 2));
419
419
  }
420
- }), te = /* @__PURE__ */ V({
420
+ }), se = /* @__PURE__ */ V({
421
421
  name: "XAction",
422
422
  __name: "Action",
423
- props: It,
423
+ props: Mt,
424
424
  emits: ["click", "command"],
425
425
  setup(a, { emit: o }) {
426
- const e = a, t = Ht(), l = o, s = nn(e), c = an(e), i = sn(e), r = et(Ae(e, "disabled")), p = y(() => ({
426
+ const e = a, t = Nt(), l = o, s = en(e), c = tn(e), i = on(e), r = qe(Ae(e, "disabled")), p = y(() => ({
427
427
  [`x-action--${e.mode}`]: !!e.mode
428
428
  })), f = () => {
429
429
  r.value || l("click", ge(e));
@@ -432,26 +432,26 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
432
432
  return;
433
433
  const E = e.menus?.find((B) => B.command === z);
434
434
  E && l("command", ge(E));
435
- }, b = (z) => ae(Ke, c.value, () => [].concat(z)), h = (z) => ae(
436
- Gt,
435
+ }, b = (z) => ne(He, c.value, () => [].concat(z)), h = (z) => ne(
436
+ Jt,
437
437
  { ...i.value, disabled: r.value, onCommand: m },
438
438
  {
439
439
  default: () => [z],
440
440
  dropdown: () => [
441
- ae(
442
- Yt,
443
- () => (e.menus || []).map((E, B) => ae(
444
- qt,
441
+ ne(
442
+ Qt,
443
+ () => (e.menus || []).map((E, B) => ne(
444
+ Zt,
445
445
  E,
446
446
  () => t.item ? t.item({ item: E, index: B }) : E.label
447
447
  ))
448
448
  )
449
449
  ]
450
450
  }
451
- ), w = (z) => ae(bt, { ...s.value, disabled: r.value }, () => [
451
+ ), w = (z) => ne(ht, { ...s.value, disabled: r.value }, () => [
452
452
  z
453
453
  ]), M = y(() => {
454
- let z = ae(ke(un), { ...e, onClick: f });
454
+ let z = ne(ke(ln), { ...e, onClick: f });
455
455
  const E = t.default?.();
456
456
  return E && E.length && (z = E[0]), c.value && (z = b(z)), i.value && (z = h(z)), s.value && (z = w(z)), z;
457
457
  });
@@ -461,7 +461,7 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
461
461
  (u(), g(J(M.value)))
462
462
  ], 2));
463
463
  }
464
- }), dn = {
464
+ }), rn = {
465
465
  /**
466
466
  * 动作项
467
467
  */
@@ -532,10 +532,10 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
532
532
  button: {
533
533
  type: Object
534
534
  }
535
- }, Oe = /* @__PURE__ */ V({
535
+ }, et = /* @__PURE__ */ V({
536
536
  name: "XActionBar",
537
537
  __name: "ActionBar",
538
- props: dn,
538
+ props: rn,
539
539
  emits: ["click", "command"],
540
540
  setup(a, { emit: o }) {
541
541
  const e = a, t = o, l = y(() => (e.items || []).map((i) => i === "|" ? i : {
@@ -559,11 +559,11 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
559
559
  }, {
560
560
  default: d(() => [
561
561
  (u(!0), C(Q, null, Y(l.value, (p) => (u(), C(Q, null, [
562
- p === "|" ? (u(), g(n(se), {
562
+ p === "|" ? (u(), g(n(ae), {
563
563
  key: 0,
564
564
  direction: "vertical",
565
565
  class: "x-action-bar__divider"
566
- })) : (u(), g(n(te), F({
566
+ })) : (u(), g(n(se), F({
567
567
  key: 1,
568
568
  mode: e.mode,
569
569
  size: e.size,
@@ -572,7 +572,7 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
572
572
  background: e.background,
573
573
  button: e.button,
574
574
  dropdown: e.dropdown,
575
- disabled: n(et)(e.disabled, p).value
575
+ disabled: n(qe)(e.disabled, p).value
576
576
  }, p, {
577
577
  onClick: s,
578
578
  onCommand: (f) => c(p, f)
@@ -582,7 +582,7 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
582
582
  _: 1
583
583
  }));
584
584
  }
585
- }), pn = {
585
+ }), cn = {
586
586
  /**
587
587
  * 组件渲染html标签
588
588
  */
@@ -701,9 +701,9 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
701
701
  }, I = /* @__PURE__ */ V({
702
702
  name: "XContainer",
703
703
  __name: "Container",
704
- props: pn,
704
+ props: cn,
705
705
  setup(a) {
706
- const o = a, e = Je(), t = pe(), l = y(() => {
706
+ const o = a, e = We(), t = de(), l = y(() => {
707
707
  const i = t?.parent;
708
708
  if (!i)
709
709
  return !1;
@@ -734,7 +734,7 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
734
734
  });
735
735
  return (i, r) => (u(), g(J(o.tag), {
736
736
  class: W(["x-container", s.value]),
737
- style: fe(c.value)
737
+ style: pe(c.value)
738
738
  }, {
739
739
  default: d(() => [
740
740
  x(i.$slots, "default")
@@ -742,7 +742,7 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
742
742
  _: 3
743
743
  }, 8, ["class", "style"]));
744
744
  }
745
- }), fn = {
745
+ }), un = {
746
746
  size: {
747
747
  type: String,
748
748
  default: "default"
@@ -763,16 +763,16 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
763
763
  more: {
764
764
  type: Boolean
765
765
  }
766
- }, mn = {
766
+ }, dn = {
767
767
  key: 0,
768
768
  class: "x-header__actions"
769
- }, Bt = /* @__PURE__ */ V({
769
+ }, pn = /* @__PURE__ */ V({
770
770
  name: "XHeader",
771
771
  inheritAttrs: !1,
772
772
  __name: "Header",
773
- props: fn,
773
+ props: un,
774
774
  setup(a) {
775
- const o = a, e = _e(Ae(o, "icon")), t = Je(), l = y(() => ({
775
+ const o = a, e = _e(Ae(o, "icon")), t = We(), l = y(() => ({
776
776
  [`is-size-${o.size}`]: !!o.size && o.size !== "default",
777
777
  "is-border": o.border,
778
778
  "is-pointer": !!t.onClick
@@ -803,10 +803,10 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
803
803
  R(A(o.content), 1)
804
804
  ])
805
805
  ]),
806
- o.more ? (u(), g(n(re), {
806
+ o.more ? (u(), g(n(ue), {
807
807
  key: 1,
808
808
  class: "x-header__more",
809
- icon: n(_o)
809
+ icon: n(vo)
810
810
  }, null, 8, ["icon"])) : v("", !0),
811
811
  o.subtitle || s.$slots.subtitle ? (u(), C("span", {
812
812
  key: 2,
@@ -821,14 +821,14 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
821
821
  ]),
822
822
  _: 3
823
823
  }, 8, ["class"]),
824
- s.$slots.actions ? (u(), C("div", mn, [
824
+ s.$slots.actions ? (u(), C("div", dn, [
825
825
  x(s.$slots, "actions")
826
826
  ])) : v("", !0)
827
827
  ]),
828
828
  _: 3
829
829
  }, 8, ["class"]));
830
830
  }
831
- }), gn = {
831
+ }), fn = {
832
832
  /**
833
833
  * 宽高自适应
834
834
  */
@@ -892,10 +892,10 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
892
892
  footer: {
893
893
  type: Object
894
894
  }
895
- }, Se = /* @__PURE__ */ V({
895
+ }, Pe = /* @__PURE__ */ V({
896
896
  name: "XPanel",
897
897
  __name: "Panel",
898
- props: gn,
898
+ props: fn,
899
899
  setup(a, { expose: o }) {
900
900
  const e = a, t = O(), l = y(() => ({
901
901
  "x-panel--card": !!e.card,
@@ -928,7 +928,7 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
928
928
  }, {
929
929
  default: d(() => [
930
930
  x(i.$slots, "header", {}, () => [
931
- _(n(Bt), le(he(s.value)), {
931
+ _(n(pn), le(he(s.value)), {
932
932
  default: d(() => [
933
933
  x(i.$slots, "title")
934
934
  ]),
@@ -970,10 +970,10 @@ const cn = { key: 0 }, un = /* @__PURE__ */ V({
970
970
  _: 3
971
971
  }, 8, ["class", "fit", "width", "height"]));
972
972
  }
973
- }), ut = "user-select-none";
974
- class dt {
973
+ }), ct = "user-select-none";
974
+ class ut {
975
975
  constructor(o, e = {}) {
976
- this.el = o, this.options = e, this.scope = mt(), this.scope.run(() => {
976
+ this.el = o, this.options = e, this.scope = ft(), this.scope.run(() => {
977
977
  this.init();
978
978
  });
979
979
  }
@@ -994,17 +994,17 @@ class dt {
994
994
  let i = null;
995
995
  const r = this.getHandle(), p = this.getTarget();
996
996
  let f = o.getBoundingClientRect(), m = null;
997
- const { x: b, y: h } = Ro(o, {
997
+ const { x: b, y: h } = Vo(o, {
998
998
  initialValue: { x: f.x, y: f.y },
999
999
  ...e,
1000
1000
  handle: r,
1001
1001
  onStart: (w, M) => {
1002
- document.body.classList.add(ut), clearTimeout(i), i = setTimeout(() => {
1002
+ document.body.classList.add(ct), clearTimeout(i), i = setTimeout(() => {
1003
1003
  this.dragging = !0, f = o.getBoundingClientRect(), m = p?.getBoundingClientRect(), s && s(w, M);
1004
1004
  }, l);
1005
1005
  },
1006
1006
  onEnd: (w, M) => {
1007
- if (clearTimeout(i), document.body.classList.remove(ut), this.dragging && m) {
1007
+ if (clearTimeout(i), document.body.classList.remove(ct), this.dragging && m) {
1008
1008
  this.dragging = !1;
1009
1009
  const { x: z, y: E } = w, B = this.getPosition(m, f, z, E);
1010
1010
  c && c(B, M), m = null;
@@ -1029,24 +1029,24 @@ class dt {
1029
1029
  this.scope.stop();
1030
1030
  }
1031
1031
  }
1032
- const yn = {
1032
+ const mn = {
1033
1033
  mounted(a, o) {
1034
- const e = o.value || {}, t = new dt(a, e);
1034
+ const e = o.value || {}, t = new ut(a, e);
1035
1035
  a.__draggable__ = t;
1036
1036
  },
1037
1037
  updated(a, o) {
1038
1038
  const e = o.value || {};
1039
1039
  let t = a.__draggable__;
1040
- t && !Ge(t.options, e) && (t.destory(), a.__draggable__ = new dt(a, e));
1040
+ t && !Ze(t.options, e) && (t.destory(), a.__draggable__ = new ut(a, e));
1041
1041
  },
1042
1042
  unmounted(a) {
1043
1043
  const o = a.__draggable__;
1044
1044
  o && (o.destory(), a.__draggable__ = null);
1045
1045
  }
1046
- }, He = "user-select-none";
1047
- class pt {
1046
+ }, Ue = "user-select-none";
1047
+ class dt {
1048
1048
  constructor(o, e = {}) {
1049
- this.el = o, this.options = e, this.scope = mt(), this.scope.run(() => {
1049
+ this.el = o, this.options = e, this.scope = ft(), this.scope.run(() => {
1050
1050
  this.init();
1051
1051
  });
1052
1052
  }
@@ -1060,7 +1060,7 @@ class pt {
1060
1060
  const { el: o, options: e } = this, { disabled: t, onStart: l, onEnd: s } = e;
1061
1061
  if (t)
1062
1062
  return;
1063
- this.MIE = Oo(o), this.cleanMousedown = De(document, "mousedown", () => {
1063
+ this.MIE = Ao(o), this.cleanMousedown = De(document, "mousedown", () => {
1064
1064
  this.direction?.value && this.MIE && (this.resizing.value = !0, o.classList.add("is-resizing", `is-${this.direction.value}-resizing`), l && l(this.direction.value, this.MIE));
1065
1065
  }), this.cleanMouseup = De(document, "mouseup", () => {
1066
1066
  this.resizing.value && this.direction?.value && this.MIE && (o.classList.remove(
@@ -1069,7 +1069,7 @@ class pt {
1069
1069
  ), s && s(this.direction.value, this.MIE)), this.resizing.value = !1;
1070
1070
  }), L(this.direction, (r) => {
1071
1071
  const p = document.body;
1072
- p.style.cursor = r ? `${r}-resize` : "", r ? p.classList.add(He) : p.classList.remove(He);
1072
+ p.style.cursor = r ? `${r}-resize` : "", r ? p.classList.add(Ue) : p.classList.remove(Ue);
1073
1073
  });
1074
1074
  const { x: c, y: i } = this.MIE;
1075
1075
  L([c, i], () => {
@@ -1122,24 +1122,24 @@ class pt {
1122
1122
  }
1123
1123
  destory() {
1124
1124
  const o = document.body;
1125
- o.style.cursor = "", o.classList.remove(He), this.cleanMousedown && this.cleanMousedown(), this.cleanMouseup && this.cleanMouseup(), this.MIE?.stop(), this.scope.stop();
1125
+ o.style.cursor = "", o.classList.remove(Ue), this.cleanMousedown && this.cleanMousedown(), this.cleanMouseup && this.cleanMouseup(), this.MIE?.stop(), this.scope.stop();
1126
1126
  }
1127
1127
  }
1128
- const Pt = {
1128
+ const It = {
1129
1129
  mounted(a, o) {
1130
- const e = o.value || {}, t = new pt(a, e);
1130
+ const e = o.value || {}, t = new dt(a, e);
1131
1131
  a.__resizable__ = t;
1132
1132
  },
1133
1133
  updated(a, o) {
1134
1134
  const e = o.value || {};
1135
1135
  let t = a.__resizable__;
1136
- t && !Ge(t.options, e) && (t.destory(), a.__resizable__ = new pt(a, e));
1136
+ t && !Ze(t.options, e) && (t.destory(), a.__resizable__ = new dt(a, e));
1137
1137
  },
1138
1138
  unmounted(a) {
1139
1139
  const o = a.__resizable__;
1140
1140
  o && (o.destory(), a.__resizable__ = null);
1141
1141
  }
1142
- }, vn = {
1142
+ }, gn = {
1143
1143
  modelValue: {
1144
1144
  type: Boolean,
1145
1145
  default: !0
@@ -1225,8 +1225,8 @@ const Pt = {
1225
1225
  }
1226
1226
  };
1227
1227
  let ve = 1e3;
1228
- function hn(a, o) {
1229
- const { width: e, height: t } = Ct(o), l = Re({
1228
+ function yn(a, o) {
1229
+ const { width: e, height: t } = zt(o), l = Re({
1230
1230
  mode: a.mode || "normal",
1231
1231
  wrapperWidth: 0,
1232
1232
  wrapperHeight: 0,
@@ -1239,7 +1239,7 @@ function hn(a, o) {
1239
1239
  resizing: !1
1240
1240
  });
1241
1241
  return L([e, t], ([s, c]) => {
1242
- l.wrapperWidth = s, l.wrapperHeight = c, l.width = Ee(a.width, s), l.height = Ee(a.height, c), l.left = a.left ? Ee(a.left, s) - l.width / 2 : Math.max(Math.floor((s - l.width) / 2), 0), l.top = a.top ? Ee(a.top, c) : Math.max(Math.floor((c - l.height) / 2), 0);
1242
+ l.wrapperWidth = s, l.wrapperHeight = c, l.width = $e(a.width, s), l.height = $e(a.height, c), l.left = a.left ? $e(a.left, s) - l.width / 2 : Math.max(Math.floor((s - l.width) / 2), 0), l.top = a.top ? $e(a.top, c) : Math.max(Math.floor((c - l.height) / 2), 0);
1243
1243
  }), L(l, (s) => {
1244
1244
  ve = Math.max(s.zIndex, ve);
1245
1245
  }), {
@@ -1249,7 +1249,7 @@ function hn(a, o) {
1249
1249
  minimized: y(() => l.mode === "minimized")
1250
1250
  };
1251
1251
  }
1252
- function bn(a, o) {
1252
+ function vn(a, o) {
1253
1253
  const e = y(() => {
1254
1254
  const { width: c, height: i, top: r, left: p, zIndex: f } = o;
1255
1255
  return {
@@ -1278,7 +1278,7 @@ function bn(a, o) {
1278
1278
  modalStyle: s
1279
1279
  };
1280
1280
  }
1281
- function _n(a, o, e) {
1281
+ function hn(a, o, e) {
1282
1282
  const t = (f) => {
1283
1283
  o.mode = f, ["maximized", "minimized", "normal"].includes(f) && e(f), e("modeChange", f);
1284
1284
  }, l = async () => {
@@ -1301,11 +1301,11 @@ function _n(a, o, e) {
1301
1301
  }
1302
1302
  };
1303
1303
  }
1304
- function kn(a, o, e, t) {
1304
+ function bn(a, o, e, t) {
1305
1305
  return y(() => {
1306
1306
  const l = typeof a.draggable == "boolean" ? !a.draggable : !!a.draggable?.disabled;
1307
1307
  return {
1308
- ...Ye(a.draggable) ? a.draggable : {},
1308
+ ...Ge(a.draggable) ? a.draggable : {},
1309
1309
  disabled: l,
1310
1310
  target: t,
1311
1311
  selector: ".x-panel__header",
@@ -1324,13 +1324,13 @@ function kn(a, o, e, t) {
1324
1324
  };
1325
1325
  });
1326
1326
  }
1327
- function wn(a, o, e) {
1327
+ function _n(a, o, e) {
1328
1328
  return y(() => {
1329
1329
  const t = typeof a.resizable == "boolean" ? !a.resizable : !!a.resizable?.disabled;
1330
1330
  return {
1331
1331
  minWidth: 200,
1332
1332
  minHeight: 150,
1333
- ...Ye(a.resizable) ? a.resizable : {},
1333
+ ...Ge(a.resizable) ? a.resizable : {},
1334
1334
  disabled: t,
1335
1335
  dirs: ["e", "s", "w"],
1336
1336
  onStart(l, s) {
@@ -1345,37 +1345,37 @@ function wn(a, o, e) {
1345
1345
  };
1346
1346
  });
1347
1347
  }
1348
- function xn(a, o) {
1348
+ function kn(a, o) {
1349
1349
  const e = a.componentInstance;
1350
1350
  if (!e)
1351
1351
  return;
1352
1352
  let t = null;
1353
- return gt(() => {
1353
+ return mt(() => {
1354
1354
  const l = n(o), s = n(l?.bodyRef);
1355
1355
  t = e.$el, s && s.$el && s.$el.appendChild(t);
1356
- }), yt(() => {
1356
+ }), gt(() => {
1357
1357
  t && t.parentNode && t.parentNode.removeChild(t);
1358
1358
  }), {
1359
1359
  componentInstance: e
1360
1360
  };
1361
1361
  }
1362
- const Sn = ["src"], tt = /* @__PURE__ */ V({
1362
+ const wn = ["src"], Bt = /* @__PURE__ */ V({
1363
1363
  name: "XDialog",
1364
1364
  __name: "Dialog",
1365
- props: vn,
1365
+ props: gn,
1366
1366
  emits: ["update:modelValue", "open", "close", "destroy", "maximized", "minimized", "normal", "modeChange", "dragStart", "dragging", "dragEnd", "resizeStart", "resizeEnd", "resizing", "submit", "cancel"],
1367
1367
  setup(a, { expose: o, emit: e }) {
1368
- const t = a, l = e, s = pe(), c = O(), i = O(), { state: r, maximized: p, minimized: f, normal: m } = hn(t, c), { styles: b, classes: h, wrapperClass: w, modalStyle: M } = bn(t, r), { changeMode: z, active: E, close: B, show: S, hide: P, submit: T, cancel: j } = _n(
1368
+ const t = a, l = e, s = de(), c = O(), i = O(), { state: r, maximized: p, minimized: f, normal: m } = yn(t, c), { styles: b, classes: h, wrapperClass: w, modalStyle: M } = vn(t, r), { changeMode: z, active: E, close: B, show: S, hide: P, submit: T, cancel: j } = hn(
1369
1369
  t,
1370
1370
  r,
1371
1371
  l
1372
- ), k = kn(t, r, l, c), H = wn(t, r, l), K = xn(t, i);
1373
- Qe(async () => {
1372
+ ), k = bn(t, r, l, c), H = _n(t, r, l), K = kn(t, i);
1373
+ Je(async () => {
1374
1374
  t.modelValue && (await ye(), s && l("open", s));
1375
1375
  });
1376
- const ce = y(() => i.value?.$el);
1376
+ const re = y(() => i.value?.$el);
1377
1377
  return o({
1378
- $vtjEl: ce,
1378
+ $vtjEl: re,
1379
1379
  panelRef: i,
1380
1380
  state: r,
1381
1381
  maximized: p,
@@ -1386,7 +1386,7 @@ const Sn = ["src"], tt = /* @__PURE__ */ V({
1386
1386
  submit: T,
1387
1387
  cancel: j,
1388
1388
  componentInstance: K
1389
- }), (Z, ee) => t.modelValue ? (u(), g(vt, {
1389
+ }), (Z, ee) => t.modelValue ? (u(), g(yt, {
1390
1390
  key: 0,
1391
1391
  to: "body"
1392
1392
  }, [
@@ -1398,9 +1398,9 @@ const Sn = ["src"], tt = /* @__PURE__ */ V({
1398
1398
  t.modal ? (u(), C("div", {
1399
1399
  key: 0,
1400
1400
  class: "x-dialog__modal",
1401
- style: fe(n(M))
1401
+ style: pe(n(M))
1402
1402
  }, null, 4)) : v("", !0),
1403
- G((u(), g(n(Se), F({
1403
+ G((u(), g(n(Pe), F({
1404
1404
  ref_key: "panelRef",
1405
1405
  ref: i,
1406
1406
  class: ["x-dialog", n(h)],
@@ -1420,37 +1420,37 @@ const Sn = ["src"], tt = /* @__PURE__ */ V({
1420
1420
  ]),
1421
1421
  actions: d(() => [
1422
1422
  x(Z.$slots, "actions"),
1423
- t.minimizable ? (u(), g(n(te), {
1423
+ t.minimizable ? (u(), g(n(se), {
1424
1424
  key: 0,
1425
- icon: n(ko),
1425
+ icon: n(ho),
1426
1426
  size: t.size,
1427
1427
  mode: "icon",
1428
1428
  type: "primary",
1429
1429
  background: "hover",
1430
- onClick: ee[0] || (ee[0] = (ue) => n(z)("minimized"))
1430
+ onClick: ee[0] || (ee[0] = (ce) => n(z)("minimized"))
1431
1431
  }, null, 8, ["icon", "size"])) : v("", !0),
1432
1432
  t.maximizable ? (u(), C(Q, { key: 1 }, [
1433
- n(m) ? (u(), g(n(te), {
1433
+ n(m) ? (u(), g(n(se), {
1434
1434
  key: 1,
1435
- icon: n(xo),
1435
+ icon: n(_o),
1436
1436
  size: t.size,
1437
1437
  mode: "icon",
1438
1438
  type: "primary",
1439
1439
  background: "hover",
1440
- onClick: ee[2] || (ee[2] = (ue) => n(z)("maximized"))
1441
- }, null, 8, ["icon", "size"])) : (u(), g(n(te), {
1440
+ onClick: ee[2] || (ee[2] = (ce) => n(z)("maximized"))
1441
+ }, null, 8, ["icon", "size"])) : (u(), g(n(se), {
1442
1442
  key: 0,
1443
- icon: n(wo),
1443
+ icon: n(bo),
1444
1444
  size: t.size,
1445
1445
  mode: "icon",
1446
1446
  type: "primary",
1447
1447
  background: "hover",
1448
- onClick: ee[1] || (ee[1] = (ue) => n(z)("normal"))
1448
+ onClick: ee[1] || (ee[1] = (ce) => n(z)("normal"))
1449
1449
  }, null, 8, ["icon", "size"]))
1450
1450
  ], 64)) : v("", !0),
1451
- t.closable ? (u(), g(n(te), {
1451
+ t.closable ? (u(), g(n(se), {
1452
1452
  key: 2,
1453
- icon: n(So),
1453
+ icon: n(ko),
1454
1454
  size: t.size,
1455
1455
  mode: "icon",
1456
1456
  type: "danger",
@@ -1465,7 +1465,7 @@ const Sn = ["src"], tt = /* @__PURE__ */ V({
1465
1465
  key: 1,
1466
1466
  src: t.src,
1467
1467
  class: "x-dialog__frame"
1468
- }, null, 8, Sn)) : v("", !0)
1468
+ }, null, 8, wn)) : v("", !0)
1469
1469
  ])
1470
1470
  ]),
1471
1471
  _: 2
@@ -1513,18 +1513,18 @@ const Sn = ["src"], tt = /* @__PURE__ */ V({
1513
1513
  key: "0"
1514
1514
  } : void 0
1515
1515
  ]), 1040, ["header", "class", "style", "size", "body", "onClick"])), [
1516
- [n(yn), n(k)],
1517
- [n(Pt), n(H)]
1516
+ [n(mn), n(k)],
1517
+ [n(It), n(H)]
1518
1518
  ])
1519
1519
  ], 2)
1520
1520
  ])) : v("", !0);
1521
1521
  }
1522
1522
  });
1523
- function ot(a, o) {
1524
- const e = document.createElement("div"), t = _(tt, a);
1525
- t.appContext = o ?? ot._context, nt(t, e);
1523
+ function tt(a, o) {
1524
+ const e = document.createElement("div"), t = _(Bt, a);
1525
+ t.appContext = o ?? tt._context, ot(t, e);
1526
1526
  const l = () => {
1527
- nt(null, e), e.parentNode?.removeChild(e);
1527
+ ot(null, e), e.parentNode?.removeChild(e);
1528
1528
  };
1529
1529
  return t.props.onDestroy = () => {
1530
1530
  l();
@@ -1533,7 +1533,7 @@ function ot(a, o) {
1533
1533
  destroy: l
1534
1534
  };
1535
1535
  }
1536
- const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -1), Cn = /* @__PURE__ */ V({
1536
+ const xn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -1), Sn = /* @__PURE__ */ V({
1537
1537
  __name: "Sidebar",
1538
1538
  props: {
1539
1539
  collapsed: { type: Boolean }
@@ -1558,14 +1558,14 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1558
1558
  }, {
1559
1559
  default: d(() => [
1560
1560
  x(e.$slots, "default"),
1561
- zn
1561
+ xn
1562
1562
  ]),
1563
1563
  _: 3
1564
1564
  })
1565
1565
  ]),
1566
1566
  _: 3
1567
1567
  }, 8, ["class"])), [
1568
- [n(Pt), {
1568
+ [n(It), {
1569
1569
  dirs: ["e"],
1570
1570
  disabled: o.collapsed,
1571
1571
  maxWidth: 500,
@@ -1573,7 +1573,7 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1573
1573
  }]
1574
1574
  ]);
1575
1575
  }
1576
- }), Tn = /* @__PURE__ */ V({
1576
+ }), zn = /* @__PURE__ */ V({
1577
1577
  __name: "SwitchBar",
1578
1578
  props: {
1579
1579
  collasped: { type: Boolean, default: !1 },
@@ -1609,16 +1609,16 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1609
1609
  grow: ""
1610
1610
  }, {
1611
1611
  default: d(() => [
1612
- l.value ? v("", !0) : (u(), g(n(Ze), {
1612
+ l.value ? v("", !0) : (u(), g(n(Qe), {
1613
1613
  key: 0,
1614
1614
  modelValue: c.value,
1615
1615
  "onUpdate:modelValue": h[0] || (h[0] = (w) => c.value = w),
1616
1616
  class: "x-mask-switch-bar__switch",
1617
- "active-icon": n(xt),
1618
- "inactive-icon": n(zo),
1617
+ "active-icon": n(wt),
1618
+ "inactive-icon": n(wo),
1619
1619
  onChange: m
1620
1620
  }, null, 8, ["modelValue", "active-icon", "inactive-icon"])),
1621
- l.value ? (u(), g(n(Ce), {
1621
+ l.value ? (u(), g(n(ze), {
1622
1622
  key: 1,
1623
1623
  modelValue: s.value,
1624
1624
  "onUpdate:modelValue": h[1] || (h[1] = (w) => s.value = w),
@@ -1626,11 +1626,11 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1626
1626
  size: "small",
1627
1627
  placeholder: "请输入查询关键字",
1628
1628
  onInput: f,
1629
- "prefix-icon": n(We)
1629
+ "prefix-icon": n(Le)
1630
1630
  }, {
1631
1631
  suffix: d(() => [
1632
- _(n(re), {
1633
- icon: n(St),
1632
+ _(n(ue), {
1633
+ icon: n(xt),
1634
1634
  onClick: r
1635
1635
  }, null, 8, ["icon"])
1636
1636
  ]),
@@ -1646,27 +1646,27 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1646
1646
  justify: "center"
1647
1647
  }, {
1648
1648
  default: d(() => [
1649
- !l.value && !e.collasped ? (u(), g(n(te), {
1649
+ !l.value && !e.collasped ? (u(), g(n(se), {
1650
1650
  key: 0,
1651
- icon: n(We),
1651
+ icon: n(Le),
1652
1652
  mode: "icon",
1653
1653
  background: "hover",
1654
1654
  size: "default",
1655
1655
  circle: "",
1656
1656
  onClick: i
1657
1657
  }, null, 8, ["icon"])) : v("", !0),
1658
- e.collasped ? (u(), g(n(te), {
1658
+ e.collasped ? (u(), g(n(se), {
1659
1659
  key: 1,
1660
- icon: n(Co),
1660
+ icon: n(xo),
1661
1661
  mode: "icon",
1662
1662
  size: "default",
1663
1663
  background: "hover",
1664
1664
  onClick: p,
1665
1665
  circle: ""
1666
1666
  }, null, 8, ["icon"])) : v("", !0),
1667
- e.collasped ? v("", !0) : (u(), g(n(te), {
1667
+ e.collasped ? v("", !0) : (u(), g(n(se), {
1668
1668
  key: 2,
1669
- icon: n(To),
1669
+ icon: n(So),
1670
1670
  mode: "icon",
1671
1671
  size: "default",
1672
1672
  background: "hover",
@@ -1680,7 +1680,7 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1680
1680
  _: 1
1681
1681
  }));
1682
1682
  }
1683
- }), $n = ["src"], En = { key: 0 }, Mn = /* @__PURE__ */ V({
1683
+ }), Cn = ["src"], Tn = { key: 0 }, $n = /* @__PURE__ */ V({
1684
1684
  __name: "Brand",
1685
1685
  props: {
1686
1686
  collapsed: { type: Boolean, default: !1 },
@@ -1689,7 +1689,7 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1689
1689
  url: {}
1690
1690
  },
1691
1691
  setup(a) {
1692
- const o = a, e = qe(), t = () => {
1692
+ const o = a, e = Ye(), t = () => {
1693
1693
  o.url && e.push(o.url);
1694
1694
  };
1695
1695
  return (l, s) => (u(), g(n(I), {
@@ -1709,7 +1709,7 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1709
1709
  o.logo ? (u(), C("img", {
1710
1710
  key: 0,
1711
1711
  src: o.logo
1712
- }, null, 8, $n)) : v("", !0)
1712
+ }, null, 8, Cn)) : v("", !0)
1713
1713
  ])
1714
1714
  ]),
1715
1715
  _: 3
@@ -1720,7 +1720,7 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1720
1720
  align: "center"
1721
1721
  }, {
1722
1722
  default: d(() => [
1723
- o.title ? (u(), C("span", En, [
1723
+ o.title ? (u(), C("span", Tn, [
1724
1724
  x(l.$slots, "title", {}, () => [
1725
1725
  R(A(o.title), 1)
1726
1726
  ])
@@ -1732,7 +1732,7 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1732
1732
  _: 3
1733
1733
  }, 8, ["class"]));
1734
1734
  }
1735
- }), Me = "__favorites__", Ie = "__search__", In = /* @__PURE__ */ V({
1735
+ }), Ee = "__favorites__", Me = "__search__", En = /* @__PURE__ */ V({
1736
1736
  __name: "Menu",
1737
1737
  props: {
1738
1738
  collapse: { type: Boolean, default: !1 },
@@ -1747,12 +1747,12 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1747
1747
  setup(a, { emit: o }) {
1748
1748
  const e = a, t = y(() => e.menus || []), l = o, s = y(() => String(e.active?.id)), c = y(() => [
1749
1749
  {
1750
- id: Me,
1750
+ id: Ee,
1751
1751
  title: "收藏",
1752
- icon: zt,
1752
+ icon: St,
1753
1753
  children: e.favorites?.length ? e.favorites : [
1754
1754
  {
1755
- id: Me + "empty",
1755
+ id: Ee + "empty",
1756
1756
  disabled: !0,
1757
1757
  title: "暂无收藏菜单"
1758
1758
  }
@@ -1762,12 +1762,12 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1762
1762
  const p = (e.keyword || "").trim(), f = p ? (e.flatMenus || []).filter((m) => m.title?.includes(p)) : [];
1763
1763
  return [
1764
1764
  {
1765
- id: Ie,
1765
+ id: Me,
1766
1766
  title: "搜索",
1767
- icon: We,
1767
+ icon: Le,
1768
1768
  children: f?.length ? f : [
1769
1769
  {
1770
- id: Ie + "empty",
1770
+ id: Me + "empty",
1771
1771
  disabled: !0,
1772
1772
  title: "查询匹配不到菜单项"
1773
1773
  }
@@ -1785,7 +1785,7 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1785
1785
  overflow: "auto"
1786
1786
  }, {
1787
1787
  default: d(() => [
1788
- G(_(n(de), {
1788
+ G(_(n(me), {
1789
1789
  subMenu: {
1790
1790
  popperClass: "x-mask-menu-popper",
1791
1791
  teleported: !0,
@@ -1793,36 +1793,36 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1793
1793
  hideTimeout: 200
1794
1794
  },
1795
1795
  data: t.value,
1796
- "default-icon": n(me),
1796
+ "default-icon": n(fe),
1797
1797
  collapse: !0,
1798
1798
  "collapse-transition": !1,
1799
1799
  "default-active": s.value,
1800
1800
  onSelect: r
1801
1801
  }, null, 8, ["data", "default-icon", "default-active"]), [
1802
- [ne, e.collapse]
1802
+ [oe, e.collapse]
1803
1803
  ]),
1804
- G(_(n(de), {
1804
+ G(_(n(me), {
1805
1805
  subMenu: {
1806
1806
  popperClass: "x-mask-menu-popper",
1807
1807
  teleported: !0
1808
1808
  },
1809
1809
  data: t.value,
1810
- "default-icon": n(me),
1810
+ "default-icon": n(fe),
1811
1811
  collapse: !1,
1812
1812
  "collapse-transition": !1,
1813
1813
  "default-active": s.value,
1814
1814
  onSelect: r
1815
1815
  }, null, 8, ["data", "default-icon", "default-active"]), [
1816
- [ne, !e.collapse]
1816
+ [oe, !e.collapse]
1817
1817
  ]),
1818
- t.value.length ? v("", !0) : (u(), g(n(_t), {
1818
+ t.value.length ? v("", !0) : (u(), g(n(bt), {
1819
1819
  key: 0,
1820
1820
  description: "暂无菜单数据"
1821
1821
  }))
1822
1822
  ]),
1823
1823
  _: 1
1824
1824
  }, 512), [
1825
- [ne, !e.favorite && !e.keyword]
1825
+ [oe, !e.favorite && !e.keyword]
1826
1826
  ]),
1827
1827
  G(_(n(I), {
1828
1828
  class: "x-mask-menu",
@@ -1831,7 +1831,7 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1831
1831
  overflow: "auto"
1832
1832
  }, {
1833
1833
  default: d(() => [
1834
- G(_(n(de), {
1834
+ G(_(n(me), {
1835
1835
  class: "x-mask-menu__favorites",
1836
1836
  subMenu: {
1837
1837
  popperClass: "x-mask-menu-popper",
@@ -1840,16 +1840,16 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1840
1840
  hideTimeout: 200
1841
1841
  },
1842
1842
  data: c.value,
1843
- "default-icon": n(me),
1843
+ "default-icon": n(fe),
1844
1844
  collapse: !0,
1845
1845
  "collapse-transition": !1,
1846
1846
  "default-active": s.value,
1847
- "default-openeds": [Me],
1847
+ "default-openeds": [Ee],
1848
1848
  onSelect: r
1849
1849
  }, null, 8, ["data", "default-icon", "default-active", "default-openeds"]), [
1850
- [ne, e.collapse]
1850
+ [oe, e.collapse]
1851
1851
  ]),
1852
- G(_(n(de), {
1852
+ G(_(n(me), {
1853
1853
  class: "x-mask-menu__favorites",
1854
1854
  subMenu: {
1855
1855
  popperClass: "x-mask-menu-popper",
@@ -1858,19 +1858,19 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1858
1858
  hideTimeout: 200
1859
1859
  },
1860
1860
  data: c.value,
1861
- "default-icon": n(me),
1861
+ "default-icon": n(fe),
1862
1862
  collapse: !1,
1863
1863
  "collapse-transition": !1,
1864
1864
  "default-active": s.value,
1865
- "default-openeds": [Me],
1865
+ "default-openeds": [Ee],
1866
1866
  onSelect: r
1867
1867
  }, null, 8, ["data", "default-icon", "default-active", "default-openeds"]), [
1868
- [ne, !e.collapse]
1868
+ [oe, !e.collapse]
1869
1869
  ])
1870
1870
  ]),
1871
1871
  _: 1
1872
1872
  }, 512), [
1873
- [ne, e.favorite && !e.keyword]
1873
+ [oe, e.favorite && !e.keyword]
1874
1874
  ]),
1875
1875
  e.keyword ? G((u(), g(n(I), {
1876
1876
  key: 0,
@@ -1880,7 +1880,7 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1880
1880
  overflow: "auto"
1881
1881
  }, {
1882
1882
  default: d(() => [
1883
- G(_(n(de), {
1883
+ G(_(n(me), {
1884
1884
  class: "x-mask-menu__search",
1885
1885
  subMenu: {
1886
1886
  popperClass: "x-mask-menu-popper",
@@ -1889,16 +1889,16 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1889
1889
  hideTimeout: 200
1890
1890
  },
1891
1891
  data: i.value,
1892
- "default-icon": n(me),
1892
+ "default-icon": n(fe),
1893
1893
  collapse: !0,
1894
1894
  "collapse-transition": !1,
1895
1895
  "default-active": s.value,
1896
- "default-openeds": [Ie],
1896
+ "default-openeds": [Me],
1897
1897
  onSelect: r
1898
1898
  }, null, 8, ["data", "default-icon", "default-active", "default-openeds"]), [
1899
- [ne, e.collapse]
1899
+ [oe, e.collapse]
1900
1900
  ]),
1901
- G(_(n(de), {
1901
+ G(_(n(me), {
1902
1902
  class: "x-mask-menu__search",
1903
1903
  subMenu: {
1904
1904
  popperClass: "x-mask-menu-popper",
@@ -1907,29 +1907,29 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
1907
1907
  hideTimeout: 200
1908
1908
  },
1909
1909
  data: i.value,
1910
- "default-icon": n(me),
1910
+ "default-icon": n(fe),
1911
1911
  collapse: !1,
1912
1912
  "collapse-transition": !1,
1913
1913
  "default-active": s.value,
1914
- "default-openeds": [Ie],
1914
+ "default-openeds": [Me],
1915
1915
  onSelect: r
1916
1916
  }, null, 8, ["data", "default-icon", "default-active", "default-openeds"]), [
1917
- [ne, !e.collapse]
1917
+ [oe, !e.collapse]
1918
1918
  ])
1919
1919
  ]),
1920
1920
  _: 1
1921
1921
  }, 512)), [
1922
- [ne, !!e.keyword]
1922
+ [oe, !!e.keyword]
1923
1923
  ]) : v("", !0)
1924
1924
  ], 64));
1925
1925
  }
1926
- }), Bn = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAQd0lEQVR4nO2dCXRVxRnHf/clIPsekBgIS1hFdqVoZbGLFNTWWgQ3bLVurRYJcTuntbW22qooKKWl2toWquygIFa01doqmBBWWc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3YkN63MDr0pawGnkldHrMGYxCdc6KZ4Xcr7VGv1F2M9ColWoKOfR+hF8TZz+P756htprN9zHN6oxSdU7hdZ7WaZaD3wfcS6TUN1SLOZN9KavVxpW/dXO8akXwmxBUWOpDyqauCiD9qkSJImGo187bCUEQEsUSdbz3A3426SrEEhUiJWbqQFDFCJIQgewK8oTacfN36vvpBmnl10s8uCyFD7rsujCgINFDnTl+bex+59UUMtP+vQr40AYkBIFUExKFbFl5gzqLKacqCuCAQ6pveEGZqNQe8VKFhEQhiwwuA66RXVj93JAzCRxTSwJmqWBzX5aJu0VVExILWZ4vCwQuVvY6M9EDfZNERAmABao1vKP6iWpREdWJkFjUUgHfMhjopD79Vb9TW20YWdlChOPK5JSoRflr1NLjfDVfcr8LUoDwed8c3yCzYFmUIB9BM3U6prQi+UjrkY9s4CnXZGdu0dWkD5CwJZFwxO0sw20JLJCFdPIJfKmFJwD/B4g2wB0X86iqAAAAAElFTkSuQmCC", In = 140, Bn = {
1927
1927
  /**
1928
1928
  * 系统logo
1929
1929
  */
1930
1930
  logo: {
1931
1931
  type: String,
1932
- default: Bn
1932
+ default: Mn
1933
1933
  },
1934
1934
  /**
1935
1935
  * 系统标题
@@ -2006,7 +2006,7 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
2006
2006
  removeFavorite: {
2007
2007
  type: Function
2008
2008
  }
2009
- }, Vt = Symbol(), At = Symbol(), An = { class: "x-mask-tabs__trigger" }, Dn = { key: 1 }, Rn = ["onDragstart", "onDragend"], On = { key: 1 }, Fn = /* @__PURE__ */ V({
2009
+ }, Pt = Symbol(), Vt = Symbol(), Pn = { class: "x-mask-tabs__trigger" }, Vn = { key: 1 }, An = ["onDragstart", "onDragend"], Dn = { key: 1 }, Rn = /* @__PURE__ */ V({
2010
2010
  __name: "Tabs",
2011
2011
  props: {
2012
2012
  tabs: {},
@@ -2023,14 +2023,14 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
2023
2023
  );
2024
2024
  return [
2025
2025
  {
2026
- icon: $o,
2026
+ icon: zo,
2027
2027
  label: "刷新",
2028
2028
  name: "refresh",
2029
2029
  value: f
2030
2030
  },
2031
2031
  "|",
2032
2032
  {
2033
- icon: m ? xt : zt,
2033
+ icon: m ? wt : St,
2034
2034
  label: "收藏",
2035
2035
  name: "favorite",
2036
2036
  value: f.menu,
@@ -2038,7 +2038,7 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
2038
2038
  },
2039
2039
  "|",
2040
2040
  {
2041
- icon: Eo,
2041
+ icon: Co,
2042
2042
  label: "弹窗",
2043
2043
  name: "dialog",
2044
2044
  value: f
@@ -2082,33 +2082,33 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
2082
2082
  direction: "column"
2083
2083
  }, {
2084
2084
  default: d(() => [
2085
- _(n(kt), {
2085
+ _(n(_t), {
2086
2086
  type: "card",
2087
2087
  "model-value": e.value,
2088
2088
  onTabRemove: c,
2089
2089
  onTabClick: s
2090
2090
  }, {
2091
2091
  default: d(() => [
2092
- e.home ? (u(), g(n(Le), {
2092
+ e.home ? (u(), g(n(Ke), {
2093
2093
  key: 0,
2094
2094
  name: e.home.id
2095
2095
  }, {
2096
2096
  label: d(() => [
2097
- X("div", An, [
2097
+ X("div", Pn, [
2098
2098
  e.home.icon ? (u(), g(J(n(_e)(e.home.icon)), { key: 0 })) : v("", !0),
2099
- e.home.title ? (u(), C("span", Dn, A(e.home.title), 1)) : v("", !0)
2099
+ e.home.title ? (u(), C("span", Vn, A(e.home.title), 1)) : v("", !0)
2100
2100
  ])
2101
2101
  ]),
2102
2102
  _: 1
2103
2103
  }, 8, ["name"])) : v("", !0),
2104
- (u(!0), C(Q, null, Y(e.tabs, (b) => (u(), g(n(Le), {
2104
+ (u(!0), C(Q, null, Y(e.tabs, (b) => (u(), g(n(Ke), {
2105
2105
  key: b.id,
2106
2106
  name: b.id,
2107
2107
  lazy: "",
2108
2108
  closable: ""
2109
2109
  }, {
2110
2110
  label: d(() => [
2111
- _(n(wt), {
2111
+ _(n(kt), {
2112
2112
  "open-delay": 500,
2113
2113
  placement: "bottom",
2114
2114
  trigger: "hover",
@@ -2123,11 +2123,11 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
2123
2123
  onDragend: (h) => p(b, h)
2124
2124
  }, [
2125
2125
  b.icon ? (u(), g(J(n(_e)(b.icon)), { key: 0 })) : v("", !0),
2126
- b.title ? (u(), C("span", On, A(b.title), 1)) : v("", !0)
2127
- ], 40, Rn)
2126
+ b.title ? (u(), C("span", Dn, A(b.title), 1)) : v("", !0)
2127
+ ], 40, An)
2128
2128
  ]),
2129
2129
  default: d(() => [
2130
- _(n(Oe), {
2130
+ _(n(et), {
2131
2131
  items: l(b),
2132
2132
  mode: "text",
2133
2133
  size: "small",
@@ -2147,20 +2147,20 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
2147
2147
  _: 1
2148
2148
  }, 512));
2149
2149
  }
2150
- }), jn = /* @__PURE__ */ V({
2150
+ }), On = /* @__PURE__ */ V({
2151
2151
  __name: "ThemeSwitch",
2152
2152
  setup(a) {
2153
- const o = Fo();
2154
- return (e, t) => (u(), g(n(Ze), {
2153
+ const o = Do();
2154
+ return (e, t) => (u(), g(n(Qe), {
2155
2155
  class: "x-mask-theme-switch",
2156
2156
  modelValue: n(o),
2157
- "onUpdate:modelValue": t[0] || (t[0] = (l) => Be(o) ? o.value = l : null),
2157
+ "onUpdate:modelValue": t[0] || (t[0] = (l) => Ie(o) ? o.value = l : null),
2158
2158
  size: "default",
2159
- "active-action-icon": n(Mo),
2160
- "inactive-action-icon": n(Io)
2159
+ "active-action-icon": n(To),
2160
+ "inactive-action-icon": n($o)
2161
2161
  }, null, 8, ["modelValue", "active-action-icon", "inactive-action-icon"]));
2162
2162
  }
2163
- }), Nn = { class: "x-mask-toolbar__menu-item" }, Xn = /* @__PURE__ */ V({
2163
+ }), Fn = { class: "x-mask-toolbar__menu-item" }, jn = /* @__PURE__ */ V({
2164
2164
  __name: "Toolbar",
2165
2165
  props: {
2166
2166
  tabs: { default: () => [] },
@@ -2217,8 +2217,8 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
2217
2217
  align: "center"
2218
2218
  }, {
2219
2219
  default: d(() => [
2220
- _(n(te), {
2221
- icon: n(Bo),
2220
+ _(n(se), {
2221
+ icon: n(Eo),
2222
2222
  menus: l.value,
2223
2223
  dropdown: { size: "small" },
2224
2224
  mode: "icon",
@@ -2227,19 +2227,19 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
2227
2227
  onCommand: c
2228
2228
  }, {
2229
2229
  item: d(({ item: m }) => [
2230
- X("span", Nn, [
2230
+ X("span", Fn, [
2231
2231
  R(A(m.label) + " ", 1),
2232
- ["other", "all"].includes(m.command) ? v("", !0) : (u(), g(n(re), {
2232
+ ["other", "all"].includes(m.command) ? v("", !0) : (u(), g(n(ue), {
2233
2233
  key: 0,
2234
- onClick: ht((b) => s(m), ["stop"]),
2235
- icon: n(St)
2234
+ onClick: vt((b) => s(m), ["stop"]),
2235
+ icon: n(xt)
2236
2236
  }, null, 8, ["onClick", "icon"]))
2237
2237
  ])
2238
2238
  ]),
2239
2239
  _: 1
2240
2240
  }, 8, ["icon", "menus"]),
2241
- _(n(se), { direction: "vertical" }),
2242
- e.actions ? (u(), g(n(Oe), {
2241
+ _(n(ae), { direction: "vertical" }),
2242
+ e.actions ? (u(), g(n(et), {
2243
2243
  key: 0,
2244
2244
  circle: "",
2245
2245
  mode: "icon",
@@ -2249,12 +2249,12 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
2249
2249
  onClick: i,
2250
2250
  onCommand: r
2251
2251
  }, null, 8, ["items"])) : v("", !0),
2252
- e.actions ? (u(), g(n(se), {
2252
+ e.actions ? (u(), g(n(ae), {
2253
2253
  key: 1,
2254
2254
  direction: "vertical"
2255
2255
  })) : v("", !0),
2256
- e.theme ? (u(), g(jn, { key: 2 })) : v("", !0),
2257
- e.theme ? (u(), g(n(se), {
2256
+ e.theme ? (u(), g(On, { key: 2 })) : v("", !0),
2257
+ e.theme ? (u(), g(n(ae), {
2258
2258
  key: 3,
2259
2259
  direction: "vertical"
2260
2260
  })) : v("", !0),
@@ -2263,23 +2263,23 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
2263
2263
  _: 3
2264
2264
  }));
2265
2265
  }
2266
- }), Un = /* @__PURE__ */ V({
2266
+ }), Nn = /* @__PURE__ */ V({
2267
2267
  __name: "Avatar",
2268
2268
  props: {
2269
2269
  avatar: {}
2270
2270
  },
2271
2271
  setup(a) {
2272
2272
  const o = a;
2273
- return (e, t) => (u(), g(n(wt), {
2273
+ return (e, t) => (u(), g(n(kt), {
2274
2274
  width: 200,
2275
2275
  "popper-class": "x-mask-avatar__popper",
2276
2276
  disabled: !e.$slots.default
2277
2277
  }, {
2278
2278
  reference: d(() => [
2279
- _(n(eo), {
2279
+ _(n(Gt), {
2280
2280
  class: "x-mask-avatar",
2281
2281
  shape: "circle",
2282
- icon: n(Po),
2282
+ icon: n(Mo),
2283
2283
  src: o.avatar,
2284
2284
  size: 26
2285
2285
  }, null, 8, ["icon", "src"])
@@ -2290,7 +2290,7 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
2290
2290
  _: 3
2291
2291
  }, 8, ["disabled"]));
2292
2292
  }
2293
- }), ft = /* @__PURE__ */ V({
2293
+ }), pt = /* @__PURE__ */ V({
2294
2294
  __name: "Content",
2295
2295
  props: {
2296
2296
  createView: { type: Function },
@@ -2306,9 +2306,9 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
2306
2306
  }, {
2307
2307
  default: d(() => [
2308
2308
  x(e.$slots, "default"),
2309
- _(n(Wo), null, {
2309
+ _(n(Ho), null, {
2310
2310
  default: d(({ Component: l, route: s }) => [
2311
- (u(), g(Kt, {
2311
+ (u(), g(Xt, {
2312
2312
  exclude: o.exclude
2313
2313
  }, [
2314
2314
  l ? (u(), g(J(o.createView(l, s)), {
@@ -2323,7 +2323,7 @@ const zn = /* @__PURE__ */ X("div", { class: "x-mask-sidebar__helper" }, null, -
2323
2323
  }));
2324
2324
  }
2325
2325
  });
2326
- function Hn() {
2326
+ function Xn() {
2327
2327
  const a = O(!1), o = O(""), e = O(!1);
2328
2328
  return {
2329
2329
  collapsed: a,
@@ -2331,24 +2331,24 @@ function Hn() {
2331
2331
  favorite: e
2332
2332
  };
2333
2333
  }
2334
- function Kn(a) {
2335
- const o = Tt();
2334
+ function Un(a) {
2335
+ const o = Ct();
2336
2336
  return y(() => {
2337
2337
  const e = a.home;
2338
2338
  return Object.assign(
2339
- { id: o, url: "/", name: "MaskHome", icon: Vo, closable: !1 },
2339
+ { id: o, url: "/", name: "MaskHome", icon: Io, closable: !1 },
2340
2340
  typeof e == "string" ? { url: e } : e || {}
2341
2341
  );
2342
2342
  });
2343
2343
  }
2344
- function Dt(a, o) {
2344
+ function At(a, o) {
2345
2345
  let e = [];
2346
2346
  return a.forEach((t) => {
2347
- t = o ? o(t) : t, t.children ? e = e.concat(Dt(t.children, o)) : e.push(t);
2347
+ t = o ? o(t) : t, t.children ? e = e.concat(At(t.children, o)) : e.push(t);
2348
2348
  }), e;
2349
2349
  }
2350
- function Ln(a, o) {
2351
- const e = qe(), t = Ve([]), l = Ve([]), s = y(() => Dt(t.value, a.menuAdapter)), c = y(() => Xo(s.value, "id")), i = O(null), r = (w) => {
2350
+ function Hn(a, o) {
2351
+ const e = Ye(), t = Ve([]), l = Ve([]), s = y(() => At(t.value, a.menuAdapter)), c = y(() => Fo(s.value, "id")), i = O(null), r = (w) => {
2352
2352
  const M = typeof w == "object" ? w.id : w, z = c.value.get(M);
2353
2353
  if (!z) {
2354
2354
  console.warn("找不到菜单", w);
@@ -2360,14 +2360,14 @@ function Ln(a, o) {
2360
2360
  return;
2361
2361
  }
2362
2362
  if (E === "route") {
2363
- Uo(B) || B.startsWith("//") ? window.open(B) : (i.value = z, e.push(B).catch((T) => T));
2363
+ jo(B) || B.startsWith("//") ? window.open(B) : (i.value = z, e.push(B).catch((T) => T));
2364
2364
  return;
2365
2365
  }
2366
2366
  if (E === "window") {
2367
2367
  window.open(B);
2368
2368
  return;
2369
2369
  }
2370
- E === "dialog" && ot({
2370
+ E === "dialog" && tt({
2371
2371
  resizable: !0,
2372
2372
  bodyPadding: !1,
2373
2373
  width: "80%",
@@ -2385,7 +2385,7 @@ function Ln(a, o) {
2385
2385
  }, b = (w) => !!l.value.find((M) => M === w || M.id === w.id), h = (w) => {
2386
2386
  b(w) ? m(w) : f(w);
2387
2387
  };
2388
- return Qe(p), {
2388
+ return Je(p), {
2389
2389
  menus: t,
2390
2390
  favorites: l,
2391
2391
  flatMenus: s,
@@ -2394,8 +2394,8 @@ function Ln(a, o) {
2394
2394
  toggleFavorite: h
2395
2395
  };
2396
2396
  }
2397
- function Wn(a, o, e, t, l) {
2398
- const s = Et(), c = qe(), i = {}, r = O([]), p = O(), { width: f } = Ct(p), m = y(() => Math.floor(f.value / Pn)), b = y(
2397
+ function Kn(a, o, e, t, l) {
2398
+ const s = $t(), c = Ye(), i = {}, r = O([]), p = O(), { width: f } = zt(p), m = y(() => Math.floor(f.value / In)), b = y(
2399
2399
  () => r.value.slice(0, m.value).filter(($) => !$.dialog)
2400
2400
  ), h = y(() => r.value.slice(m.value)), w = ($) => e.value.find((D) => D.url === $), M = ($) => s.fullPath === $.url, z = ($) => l.value.id === $ ? l.value : r.value.find((D) => D.id === $), E = O(""), B = y(() => z(E.value)), S = ($) => {
2401
2401
  c.push($.url).catch((D) => D);
@@ -2407,19 +2407,19 @@ function Wn(a, o, e, t, l) {
2407
2407
  const D = r.value.find((N) => N.url === $.url || N.id === $.id);
2408
2408
  D ? P(D) : (r.value.unshift($), P($));
2409
2409
  }, k = async ($) => {
2410
- const { url: D = s.fullPath, icon: N, title: Te = "新建标签页" } = $ || {}, $e = i[D], Fe = Tt(), je = $t(D);
2410
+ const { url: D = s.fullPath, icon: N, title: Ce = "新建标签页" } = $ || {}, Te = i[D], Oe = Ct(), Fe = Tt(D);
2411
2411
  return {
2412
- id: Fe,
2413
- name: je,
2412
+ id: Oe,
2413
+ name: Fe,
2414
2414
  url: D,
2415
2415
  icon: N,
2416
- title: Te,
2416
+ title: Ce,
2417
2417
  closable: !0,
2418
2418
  menu: $,
2419
- ...$e ? await $e() : {}
2419
+ ...Te ? await Te() : {}
2420
2420
  };
2421
2421
  }, H = async ($) => {
2422
- if (await Ne.confirm("是否关闭页签", "提示", {
2422
+ if (await je.confirm("是否关闭页签", "提示", {
2423
2423
  type: "warning"
2424
2424
  }).catch(() => !1)) {
2425
2425
  if (r.value = r.value.filter((N) => N.id !== $.id), E.value === $.id) {
@@ -2434,15 +2434,15 @@ function Wn(a, o, e, t, l) {
2434
2434
  const N = r.value[D];
2435
2435
  r.value.splice(D, 1, Object.assign(N, $));
2436
2436
  }
2437
- }, ce = async () => {
2438
- if (!await Ne.confirm("是否关闭全部页签", "提示", {
2437
+ }, re = async () => {
2438
+ if (!await je.confirm("是否关闭全部页签", "提示", {
2439
2439
  type: "warning"
2440
2440
  }).catch(() => !1))
2441
2441
  return;
2442
2442
  const D = r.value;
2443
2443
  return r.value = [], P(l.value), D;
2444
2444
  }, Z = async () => {
2445
- if (!await Ne.confirm("是否关闭其他页签", "提示", {
2445
+ if (!await je.confirm("是否关闭其他页签", "提示", {
2446
2446
  type: "warning"
2447
2447
  }).catch(() => !1))
2448
2448
  return;
@@ -2451,7 +2451,7 @@ function Wn(a, o, e, t, l) {
2451
2451
  }, ee = ($) => {
2452
2452
  const D = r.value.filter((N) => N.id !== $.id);
2453
2453
  r.value = [$, ...D], P($);
2454
- }, ue = async () => {
2454
+ }, ce = async () => {
2455
2455
  await ye();
2456
2456
  const $ = l.value.url === s.fullPath, D = w(s.fullPath);
2457
2457
  if ($)
@@ -2462,7 +2462,7 @@ function Wn(a, o, e, t, l) {
2462
2462
  }
2463
2463
  await ye(), t.value = D || null;
2464
2464
  };
2465
- return L(e, ue), L(s, ue, { immediate: !0 }), ze(Vt, i), {
2465
+ return L(e, ce), L(s, ce, { immediate: !0 }), Se(Pt, i), {
2466
2466
  tabRef: p,
2467
2467
  tabs: r,
2468
2468
  showTabs: b,
@@ -2477,31 +2477,31 @@ function Wn(a, o, e, t, l) {
2477
2477
  activeHome: T,
2478
2478
  activeTab: P,
2479
2479
  dropdownTabs: h,
2480
- removeAllTabs: ce,
2480
+ removeAllTabs: re,
2481
2481
  removeOtherTabs: Z,
2482
2482
  moveToShow: ee
2483
2483
  };
2484
2484
  }
2485
- function Jn(a) {
2486
- const o = /* @__PURE__ */ new Map(), e = O([]), t = Re({}), l = pe(), s = {}, { updateTab: c, isCurrentTab: i, activeHome: r, tabs: p } = a, f = (S, P) => {
2485
+ function Ln(a) {
2486
+ const o = /* @__PURE__ */ new Map(), e = O([]), t = Re({}), l = de(), s = {}, { updateTab: c, isCurrentTab: i, activeHome: r, tabs: p } = a, f = (S, P) => {
2487
2487
  const T = P.fullPath;
2488
2488
  if (o.has(T))
2489
2489
  return o.get(T);
2490
2490
  {
2491
- const j = $t(T), k = {
2491
+ const j = Tt(T), k = {
2492
2492
  name: j,
2493
2493
  setup() {
2494
- const H = y(() => t[T] || document.body), K = y(() => !t[T]), ce = y(() => !e.value.includes(j));
2495
- return ze(
2496
- Jo,
2494
+ const H = y(() => t[T] || document.body), K = y(() => !t[T]), re = y(() => !e.value.includes(j));
2495
+ return Se(
2496
+ Ko,
2497
2497
  ge({ ...P })
2498
- ), () => ce.value ? ae(
2499
- vt,
2498
+ ), () => re.value ? ne(
2499
+ yt,
2500
2500
  {
2501
2501
  to: H.value,
2502
2502
  disabled: K.value
2503
2503
  },
2504
- [ae(S)]
2504
+ [ne(S)]
2505
2505
  ) : null;
2506
2506
  }
2507
2507
  };
@@ -2525,7 +2525,7 @@ function Jn(a) {
2525
2525
  m(S), p.value = p.value.filter((T) => T.id !== S.id);
2526
2526
  }
2527
2527
  }, c(S);
2528
- const P = ot(
2528
+ const P = tt(
2529
2529
  {
2530
2530
  title: S.title,
2531
2531
  icon: S.icon,
@@ -2569,13 +2569,13 @@ function Jn(a) {
2569
2569
  closeDialogs: b
2570
2570
  };
2571
2571
  }
2572
- const Qn = /* @__PURE__ */ V({
2572
+ const Oa = /* @__PURE__ */ V({
2573
2573
  name: "XMask",
2574
2574
  __name: "Mask",
2575
- props: Vn,
2575
+ props: Bn,
2576
2576
  emits: ["select", "actionClick", "actionCommand"],
2577
2577
  setup(a, { emit: o }) {
2578
- const e = a, t = o, l = Kn(e), { collapsed: s, keyword: c, favorite: i } = Hn(), { menus: r, favorites: p, flatMenus: f, active: m, select: b, toggleFavorite: h } = Ln(e, t), {
2578
+ const e = a, t = o, l = Un(e), { collapsed: s, keyword: c, favorite: i } = Xn(), { menus: r, favorites: p, flatMenus: f, active: m, select: b, toggleFavorite: h } = Hn(e, t), {
2579
2579
  tabRef: w,
2580
2580
  showTabs: M,
2581
2581
  currentTab: z,
@@ -2588,38 +2588,38 @@ const Qn = /* @__PURE__ */ V({
2588
2588
  removeAllTabs: k,
2589
2589
  removeOtherTabs: H,
2590
2590
  dropdownTabs: K,
2591
- moveToShow: ce
2592
- } = Wn(e, t, f, m, l), { createView: Z, openDialog: ee, refresh: ue, exclude: $, cleanCache: D, closeDialogs: N } = Jn({
2591
+ moveToShow: re
2592
+ } = Kn(e, t, f, m, l), { createView: Z, openDialog: ee, refresh: ce, exclude: $, cleanCache: D, closeDialogs: N } = Ln({
2593
2593
  tabs: S,
2594
2594
  updateTab: P,
2595
2595
  isCurrentTab: T,
2596
2596
  activeHome: j
2597
- }), Te = async (U) => {
2597
+ }), Ce = async (U) => {
2598
2598
  await B(U) && await D([U]);
2599
- }, $e = async () => {
2599
+ }, Te = async () => {
2600
2600
  const U = await k();
2601
2601
  U && (N(U), await D(U));
2602
- }, Fe = async () => {
2602
+ }, Oe = async () => {
2603
2603
  const U = await H();
2604
2604
  U && (N(U), await D(U));
2605
- }, je = (U) => {
2605
+ }, Fe = (U) => {
2606
2606
  t("actionClick", U);
2607
- }, Xt = (U, oe) => {
2608
- t("actionCommand", U, oe);
2607
+ }, Ft = (U, te) => {
2608
+ t("actionCommand", U, te);
2609
2609
  };
2610
- return ze(At, {
2610
+ return Se(Vt, {
2611
2611
  tabs: S,
2612
2612
  flatMenus: f,
2613
2613
  favorites: p,
2614
2614
  updateTab: P,
2615
2615
  active: m,
2616
2616
  currentTab: z
2617
- }), (U, oe) => (u(), g(n(I), {
2617
+ }), (U, te) => (u(), g(n(I), {
2618
2618
  class: W(["x-mask", { "is-disabled": e.disabled }]),
2619
2619
  fit: ""
2620
2620
  }, {
2621
2621
  default: d(() => [
2622
- e.disabled ? (u(), g(ft, {
2622
+ e.disabled ? (u(), g(pt, {
2623
2623
  key: 1,
2624
2624
  createView: n(Z),
2625
2625
  exclude: n($)
@@ -2629,9 +2629,9 @@ const Qn = /* @__PURE__ */ V({
2629
2629
  ]),
2630
2630
  _: 3
2631
2631
  }, 8, ["createView", "exclude"])) : (u(), C(Q, { key: 0 }, [
2632
- _(Cn, { collapsed: n(s) }, {
2632
+ _(Sn, { collapsed: n(s) }, {
2633
2633
  brand: d(() => [
2634
- _(Mn, {
2634
+ _($n, {
2635
2635
  logo: e.logo,
2636
2636
  title: e.title,
2637
2637
  url: n(l).url,
@@ -2639,15 +2639,15 @@ const Qn = /* @__PURE__ */ V({
2639
2639
  }, null, 8, ["logo", "title", "url", "collapsed"])
2640
2640
  ]),
2641
2641
  default: d(() => [
2642
- _(Tn, {
2642
+ _(zn, {
2643
2643
  collasped: n(s),
2644
- "onUpdate:collasped": oe[0] || (oe[0] = (we) => Be(s) ? s.value = we : null),
2644
+ "onUpdate:collasped": te[0] || (te[0] = (we) => Ie(s) ? s.value = we : null),
2645
2645
  favorite: n(i),
2646
- "onUpdate:favorite": oe[1] || (oe[1] = (we) => Be(i) ? i.value = we : null),
2646
+ "onUpdate:favorite": te[1] || (te[1] = (we) => Ie(i) ? i.value = we : null),
2647
2647
  keyword: n(c),
2648
- "onUpdate:keyword": oe[2] || (oe[2] = (we) => Be(c) ? c.value = we : null)
2648
+ "onUpdate:keyword": te[2] || (te[2] = (we) => Ie(c) ? c.value = we : null)
2649
2649
  }, null, 8, ["collasped", "favorite", "keyword"]),
2650
- _(In, {
2650
+ _(En, {
2651
2651
  collapse: n(s),
2652
2652
  keyword: n(c),
2653
2653
  favorite: n(i),
@@ -2674,7 +2674,7 @@ const Qn = /* @__PURE__ */ V({
2674
2674
  align: "center"
2675
2675
  }, {
2676
2676
  default: d(() => [
2677
- _(Fn, {
2677
+ _(Rn, {
2678
2678
  ref_key: "tabRef",
2679
2679
  ref: w,
2680
2680
  favorites: n(p),
@@ -2683,23 +2683,23 @@ const Qn = /* @__PURE__ */ V({
2683
2683
  value: n(z)?.id,
2684
2684
  onClick: n(E),
2685
2685
  onToggleFavorite: n(h),
2686
- onRemove: Te,
2686
+ onRemove: Ce,
2687
2687
  onDialog: n(ee),
2688
- onRefresh: n(ue)
2688
+ onRefresh: n(ce)
2689
2689
  }, null, 8, ["favorites", "tabs", "home", "value", "onClick", "onToggleFavorite", "onDialog", "onRefresh"]),
2690
- _(Xn, {
2690
+ _(jn, {
2691
2691
  tabs: n(K),
2692
2692
  actions: e.actions,
2693
2693
  theme: e.theme,
2694
- onCloseOtherTabs: Fe,
2695
- onCloseAllTabs: $e,
2696
- onCloseTab: Te,
2697
- onClickTab: n(ce),
2698
- onActionClick: je,
2699
- onActionCommand: Xt
2694
+ onCloseOtherTabs: Oe,
2695
+ onCloseAllTabs: Te,
2696
+ onCloseTab: Ce,
2697
+ onClickTab: n(re),
2698
+ onActionClick: Fe,
2699
+ onActionCommand: Ft
2700
2700
  }, {
2701
2701
  default: d(() => [
2702
- _(Un, {
2702
+ _(Nn, {
2703
2703
  avatar: e.avatar
2704
2704
  }, be({ _: 2 }, [
2705
2705
  U.$slots.user ? {
@@ -2716,7 +2716,7 @@ const Qn = /* @__PURE__ */ V({
2716
2716
  ]),
2717
2717
  _: 3
2718
2718
  }),
2719
- _(ft, {
2719
+ _(pt, {
2720
2720
  createView: n(Z),
2721
2721
  exclude: n($)
2722
2722
  }, {
@@ -2734,8 +2734,8 @@ const Qn = /* @__PURE__ */ V({
2734
2734
  }, 8, ["class"]));
2735
2735
  }
2736
2736
  });
2737
- function La(a = {}) {
2738
- const o = Et(), e = xe(Vt, null), t = xe(At, null);
2737
+ function Fa(a = {}) {
2738
+ const o = $t(), e = xe(Pt, null), t = xe(Vt, null);
2739
2739
  if (e) {
2740
2740
  const s = typeof a == "function" ? a : async () => a;
2741
2741
  e[o.fullPath] = s;
@@ -2745,16 +2745,16 @@ function La(a = {}) {
2745
2745
  mask: t
2746
2746
  };
2747
2747
  }
2748
- const Zn = /* @__PURE__ */ V({
2748
+ const Wn = /* @__PURE__ */ V({
2749
2749
  __name: "SelectEditor",
2750
2750
  props: {
2751
2751
  options: { default: () => [] }
2752
2752
  },
2753
2753
  setup(a) {
2754
2754
  const o = a;
2755
- return (e, t) => (u(), g(n(to), le(he(e.$attrs)), {
2755
+ return (e, t) => (u(), g(n(Yt), le(he(e.$attrs)), {
2756
2756
  default: d(() => [
2757
- (u(!0), C(Q, null, Y(o.options, (l, s) => (u(), g(n(oo), F({
2757
+ (u(!0), C(Q, null, Y(o.options, (l, s) => (u(), g(n(qt), F({
2758
2758
  key: `item_${s}_${l.value}`
2759
2759
  }, l), be({ _: 2 }, [
2760
2760
  e.$slots.option ? {
@@ -2769,7 +2769,7 @@ const Zn = /* @__PURE__ */ V({
2769
2769
  _: 3
2770
2770
  }, 16));
2771
2771
  }
2772
- }), Gn = /* @__PURE__ */ V({
2772
+ }), Jn = /* @__PURE__ */ V({
2773
2773
  __name: "CheckboxEditor",
2774
2774
  props: {
2775
2775
  options: { default: () => [] },
@@ -2777,9 +2777,9 @@ const Zn = /* @__PURE__ */ V({
2777
2777
  },
2778
2778
  setup(a) {
2779
2779
  const o = a, e = y(
2780
- () => ke(o.button ? no : ao)
2780
+ () => ke(o.button ? eo : to)
2781
2781
  );
2782
- return (t, l) => (u(), g(n(so), le(he(t.$attrs)), {
2782
+ return (t, l) => (u(), g(n(oo), le(he(t.$attrs)), {
2783
2783
  default: d(() => [
2784
2784
  (u(!0), C(Q, null, Y(o.options, (s, c) => (u(), g(J(e.value), {
2785
2785
  key: `item_${c}_${s.value}`,
@@ -2794,7 +2794,7 @@ const Zn = /* @__PURE__ */ V({
2794
2794
  _: 1
2795
2795
  }, 16));
2796
2796
  }
2797
- }), Yn = /* @__PURE__ */ V({
2797
+ }), Qn = /* @__PURE__ */ V({
2798
2798
  __name: "RadioEditor",
2799
2799
  props: {
2800
2800
  options: { default: () => [] },
@@ -2802,9 +2802,9 @@ const Zn = /* @__PURE__ */ V({
2802
2802
  },
2803
2803
  setup(a) {
2804
2804
  const o = a, e = y(
2805
- () => ke(o.button ? lo : io)
2805
+ () => ke(o.button ? no : ao)
2806
2806
  );
2807
- return (t, l) => (u(), g(n(ro), le(he(t.$attrs)), {
2807
+ return (t, l) => (u(), g(n(so), le(he(t.$attrs)), {
2808
2808
  default: d(() => [
2809
2809
  (u(!0), C(Q, null, Y(o.options, (s, c) => (u(), g(J(e.value), {
2810
2810
  key: `item_${c}_${s.value}`,
@@ -2819,7 +2819,7 @@ const Zn = /* @__PURE__ */ V({
2819
2819
  _: 1
2820
2820
  }, 16));
2821
2821
  }
2822
- }), Rt = {
2822
+ }), Dt = {
2823
2823
  none: {
2824
2824
  component: "div",
2825
2825
  props: {
@@ -2827,14 +2827,14 @@ const Zn = /* @__PURE__ */ V({
2827
2827
  }
2828
2828
  },
2829
2829
  text: {
2830
- component: Ce,
2830
+ component: ze,
2831
2831
  props: {
2832
2832
  clearable: !0
2833
2833
  },
2834
2834
  defaultValue: ""
2835
2835
  },
2836
2836
  textarea: {
2837
- component: Ce,
2837
+ component: ze,
2838
2838
  props: {
2839
2839
  type: "textarea",
2840
2840
  rows: 2
@@ -2842,55 +2842,55 @@ const Zn = /* @__PURE__ */ V({
2842
2842
  defaultValue: ""
2843
2843
  },
2844
2844
  select: {
2845
- component: Zn,
2845
+ component: Wn,
2846
2846
  props: {
2847
2847
  clearable: !0
2848
2848
  }
2849
2849
  },
2850
2850
  checkbox: {
2851
- component: Gn,
2851
+ component: Jn,
2852
2852
  props: {},
2853
2853
  defaultValue: []
2854
2854
  },
2855
2855
  radio: {
2856
- component: Yn,
2856
+ component: Qn,
2857
2857
  props: {}
2858
2858
  },
2859
2859
  number: {
2860
- component: co,
2860
+ component: lo,
2861
2861
  props: {}
2862
2862
  },
2863
2863
  date: {
2864
- component: at,
2864
+ component: nt,
2865
2865
  props: {}
2866
2866
  },
2867
2867
  time: {
2868
- component: uo,
2868
+ component: io,
2869
2869
  props: {}
2870
2870
  },
2871
2871
  datetime: {
2872
- component: at,
2872
+ component: nt,
2873
2873
  props: {
2874
2874
  type: "datetime"
2875
2875
  }
2876
2876
  },
2877
2877
  switch: {
2878
- component: Ze,
2878
+ component: Qe,
2879
2879
  props: {}
2880
2880
  },
2881
2881
  rate: {
2882
- component: po,
2882
+ component: ro,
2883
2883
  props: {}
2884
2884
  },
2885
2885
  slider: {
2886
- component: fo,
2886
+ component: co,
2887
2887
  props: {}
2888
2888
  },
2889
2889
  cascader: {
2890
- component: mo,
2890
+ component: uo,
2891
2891
  props: {}
2892
2892
  }
2893
- }, qn = {
2893
+ }, Zn = {
2894
2894
  /**
2895
2895
  * 字段名称
2896
2896
  */
@@ -2922,7 +2922,7 @@ const Zn = /* @__PURE__ */ V({
2922
2922
  modelValue: {
2923
2923
  type: [String, Number, Boolean, Object, Array],
2924
2924
  default(a) {
2925
- return Rt[a.editor]?.defaultValue;
2925
+ return Dt[a.editor]?.defaultValue;
2926
2926
  }
2927
2927
  },
2928
2928
  /**
@@ -3004,17 +3004,17 @@ const Zn = /* @__PURE__ */ V({
3004
3004
  type: Boolean
3005
3005
  }
3006
3006
  };
3007
- async function ea(a, o) {
3007
+ async function Gn(a, o) {
3008
3008
  const e = a.options;
3009
3009
  return e ? typeof e == "function" ? await e(o) || [] : e : [];
3010
3010
  }
3011
- function ta(a, o, e, t, l) {
3012
- const s = O([]), c = y(() => !t || !l ? {} : Ho(a.cascader).reduce((p, f) => (p[f] = Pe(l, f), p), {}));
3011
+ function Yn(a, o, e, t, l) {
3012
+ const s = O([]), c = y(() => !t || !l ? {} : No(a.cascader).reduce((p, f) => (p[f] = Be(l, f), p), {}));
3013
3013
  return L(
3014
3014
  c,
3015
3015
  async (r) => {
3016
3016
  if (e.value) {
3017
- s.value = await ea(a, r);
3017
+ s.value = await Gn(a, r);
3018
3018
  const p = t?.exposed?.reset;
3019
3019
  p && a.name && p(a.name);
3020
3020
  }
@@ -3039,29 +3039,29 @@ function ta(a, o, e, t, l) {
3039
3039
  onFocus: () => o("focus"),
3040
3040
  onBlur: () => o("blur"),
3041
3041
  onChange: (M) => o("change", M)
3042
- }, w = typeof r == "string" ? Rt[r] : {
3042
+ }, w = typeof r == "string" ? Dt[r] : {
3043
3043
  component: r,
3044
3044
  props: {}
3045
3045
  };
3046
- return Ko({}, w, {
3046
+ return Xo({}, w, {
3047
3047
  props: h
3048
3048
  });
3049
3049
  })
3050
3050
  };
3051
3051
  }
3052
- const oa = {
3052
+ const qn = {
3053
3053
  key: 1,
3054
3054
  class: "el-form-item__error"
3055
- }, na = {
3055
+ }, ea = {
3056
3056
  key: 0,
3057
3057
  class: "x-field__tip"
3058
- }, Ot = /* @__PURE__ */ V({
3058
+ }, ta = /* @__PURE__ */ V({
3059
3059
  name: "XField",
3060
3060
  __name: "Field",
3061
- props: qn,
3061
+ props: Zn,
3062
3062
  emits: ["update:modelValue", "change", "focus", "blur"],
3063
3063
  setup(a, { expose: o, emit: e }) {
3064
- const t = a, l = e, s = xe(Ft, null), c = xe(go, null), i = xe(jt, null), r = y(() => !s?.proxy || !i ? t.visible : typeof t.visible == "function" ? t.visible(i) : Ye(t.visible) ? Object.entries(t.visible).every(([H, K]) => Pe(i, H) === K) : t.visible), p = () => s?.proxy && i && t.name ? Pe(i, t.name) ?? t.modelValue : t.modelValue, f = O(p()), { editor: m } = ta(
3064
+ const t = a, l = e, s = xe(Rt, null), c = xe(po, null), i = xe(Ot, null), r = y(() => !s?.proxy || !i ? t.visible : typeof t.visible == "function" ? t.visible(i) : Ge(t.visible) ? Object.entries(t.visible).every(([H, K]) => Be(i, H) === K) : t.visible), p = () => s?.proxy && i && t.name ? Be(i, t.name) ?? t.modelValue : t.modelValue, f = O(p()), { editor: m } = Yn(
3065
3065
  t,
3066
3066
  l,
3067
3067
  r,
@@ -3093,9 +3093,9 @@ const oa = {
3093
3093
  }
3094
3094
  }));
3095
3095
  return L(f, (k, H) => {
3096
- r.value && !Ge(k, H) && (l("update:modelValue", k), s?.proxy && i && t.name && Ue(i, t.name, k));
3096
+ r.value && !Ze(k, H) && (l("update:modelValue", k), s?.proxy && i && t.name && Xe(i, t.name, k));
3097
3097
  }), L(
3098
- () => !s?.proxy || !t.name || !i ? t.modelValue : Pe(i, t.name) ?? t.modelValue,
3098
+ () => !s?.proxy || !t.name || !i ? t.modelValue : Be(i, t.name) ?? t.modelValue,
3099
3099
  (k) => {
3100
3100
  r.value && (f.value = k);
3101
3101
  },
@@ -3105,7 +3105,7 @@ const oa = {
3105
3105
  ), L(
3106
3106
  r,
3107
3107
  (k) => {
3108
- s?.proxy && i && t.name && (k ? (f.value = p(), Ue(i, t.name, f.value)) : (f.value = void 0, Ue(i, t.name, void 0)));
3108
+ s?.proxy && i && t.name && (k ? (f.value = p(), Xe(i, t.name, f.value)) : (f.value = void 0, Xe(i, t.name, void 0)));
3109
3109
  },
3110
3110
  {
3111
3111
  immediate: !0
@@ -3120,7 +3120,7 @@ const oa = {
3120
3120
  blur: () => {
3121
3121
  h.value?.foucs && h.value.blur();
3122
3122
  }
3123
- }), (k, H) => r.value ? (u(), g(n(yo), F({
3123
+ }), (k, H) => r.value ? (u(), g(n(fo), F({
3124
3124
  key: 0,
3125
3125
  class: ["x-field", E.value],
3126
3126
  ref_key: "itemRef",
@@ -3135,21 +3135,21 @@ const oa = {
3135
3135
  n(s)?.props.tooltipMessage ?? t.tooltipMessage ? (u(), C("div", {
3136
3136
  key: 0,
3137
3137
  class: "x-field__info",
3138
- style: fe(S.value)
3138
+ style: pe(S.value)
3139
3139
  }, [
3140
- _(n(bt), F({
3140
+ _(n(ht), F({
3141
3141
  content: z(K)
3142
3142
  }, M.value), {
3143
3143
  default: d(() => [
3144
- _(n(re), {
3144
+ _(n(ue), {
3145
3145
  class: "x-field__trigger",
3146
- icon: n(Ao),
3146
+ icon: n(Bo),
3147
3147
  size: w.value
3148
3148
  }, null, 8, ["icon", "size"])
3149
3149
  ]),
3150
3150
  _: 2
3151
3151
  }, 1040, ["content"])
3152
- ], 4)) : (u(), C("div", oa, A(z(K)), 1))
3152
+ ], 4)) : (u(), C("div", qn, A(z(K)), 1))
3153
3153
  ])
3154
3154
  ]),
3155
3155
  default: d(() => [
@@ -3174,7 +3174,7 @@ const oa = {
3174
3174
  } : void 0
3175
3175
  ]), 1040, ["modelValue"])) : v("", !0)
3176
3176
  ]),
3177
- t.tip || k.$slots.tip ? (u(), C("div", na, [
3177
+ t.tip || k.$slots.tip ? (u(), C("div", ea, [
3178
3178
  x(k.$slots, "tip", {}, () => [
3179
3179
  R(A(t.tip), 1)
3180
3180
  ])
@@ -3193,7 +3193,7 @@ const oa = {
3193
3193
  } : void 0
3194
3194
  ]), 1040, ["prop", "label", "size", "class", "style"])) : v("", !0);
3195
3195
  }
3196
- }), aa = {
3196
+ }), oa = {
3197
3197
  /**
3198
3198
  * 表单模型
3199
3199
  */
@@ -3249,14 +3249,14 @@ const oa = {
3249
3249
  type: [Object, Boolean],
3250
3250
  default: void 0
3251
3251
  }
3252
- }, Ft = Symbol("formInstanceKey"), jt = Symbol("formModelKey"), Nt = /* @__PURE__ */ V({
3252
+ }, Rt = Symbol("formInstanceKey"), Ot = Symbol("formModelKey"), na = /* @__PURE__ */ V({
3253
3253
  name: "XForm",
3254
3254
  __name: "Form",
3255
- props: aa,
3255
+ props: oa,
3256
3256
  emits: ["change", "submit", "reset"],
3257
3257
  setup(a, { expose: o, emit: e }) {
3258
- const t = a, l = e, s = pe(), c = O(), i = Re(t.model || {}), r = O(!1);
3259
- ze(Ft, s), ze(jt, i), L(i, () => {
3258
+ const t = a, l = e, s = de(), c = O(), i = Re(t.model || {}), r = O(!1);
3259
+ Se(Rt, s), Se(Ot, i), L(i, () => {
3260
3260
  l("change", ge(i));
3261
3261
  }), L(
3262
3262
  () => t.model,
@@ -3275,19 +3275,19 @@ const oa = {
3275
3275
  model: i,
3276
3276
  submit: p,
3277
3277
  reset: f
3278
- }), (m, b) => (u(), g(n(vo), F({
3278
+ }), (m, b) => (u(), g(n(mo), F({
3279
3279
  ref_key: "formRef",
3280
3280
  ref: c,
3281
3281
  class: "x-form",
3282
3282
  inline: t.inline,
3283
3283
  model: i,
3284
- onKeyup: Lt(p, ["enter"]),
3285
- onSubmit: b[1] || (b[1] = ht(() => {
3284
+ onKeyup: Ut(p, ["enter"]),
3285
+ onSubmit: b[1] || (b[1] = vt(() => {
3286
3286
  }, ["stop", "prevent"]))
3287
3287
  }, m.$attrs), {
3288
3288
  default: d(() => [
3289
3289
  x(m.$slots, "default"),
3290
- t.footer ? (u(), g(n(Ot), {
3290
+ t.footer ? (u(), g(n(ta), {
3291
3291
  key: 0,
3292
3292
  editor: "none",
3293
3293
  class: "x-form__footer",
@@ -3325,7 +3325,7 @@ const oa = {
3325
3325
  _: 3
3326
3326
  }, 16, ["inline", "model"]));
3327
3327
  }
3328
- }), sa = {
3328
+ }), aa = {
3329
3329
  modelValue: {
3330
3330
  type: Boolean,
3331
3331
  default: !0
@@ -3362,10 +3362,10 @@ const oa = {
3362
3362
  submitMethod: {
3363
3363
  type: Function
3364
3364
  }
3365
- }, la = /* @__PURE__ */ V({
3365
+ }, ja = /* @__PURE__ */ V({
3366
3366
  name: "XDialogForm",
3367
3367
  __name: "DialogForm",
3368
- props: sa,
3368
+ props: aa,
3369
3369
  emits: ["update:modelValue", "submit", "close"],
3370
3370
  setup(a, { expose: o, emit: e }) {
3371
3371
  const t = a, l = e, s = O(), c = O(), i = y(() => c.value?.$vtjEl), r = () => {
@@ -3383,7 +3383,7 @@ const oa = {
3383
3383
  $vtjEl: i,
3384
3384
  formRef: s,
3385
3385
  dialogRef: c
3386
- }), (h, w) => (u(), g(n(tt), F({
3386
+ }), (h, w) => (u(), g(n(Bt), F({
3387
3387
  ref_key: "dialogRef",
3388
3388
  ref: c,
3389
3389
  class: "x-dialog-form",
@@ -3397,7 +3397,7 @@ const oa = {
3397
3397
  maximizable: !1
3398
3398
  }, h.$attrs), be({
3399
3399
  default: d(() => [
3400
- _(n(Nt), F({
3400
+ _(n(na), F({
3401
3401
  ref_key: "formRef",
3402
3402
  ref: s,
3403
3403
  class: "x-dialog-form__form",
@@ -3439,7 +3439,7 @@ const oa = {
3439
3439
  } : void 0
3440
3440
  ]), 1040, ["model-value", "submit", "cancel", "size"]));
3441
3441
  }
3442
- }), ia = {
3442
+ }), sa = {
3443
3443
  items: {
3444
3444
  type: Array,
3445
3445
  default() {
@@ -3449,10 +3449,10 @@ const oa = {
3449
3449
  border: {
3450
3450
  type: Boolean
3451
3451
  }
3452
- }, ra = /* @__PURE__ */ V({
3452
+ }, Na = /* @__PURE__ */ V({
3453
3453
  name: "XTabs",
3454
3454
  __name: "Tabs",
3455
- props: ia,
3455
+ props: sa,
3456
3456
  setup(a) {
3457
3457
  const o = a, e = (l) => {
3458
3458
  const { label: s, name: c, value: i, disabled: r, closable: p, lazy: f } = l;
@@ -3466,11 +3466,11 @@ const oa = {
3466
3466
  }, t = y(() => ({
3467
3467
  "is-no-border": !o.border
3468
3468
  }));
3469
- return (l, s) => (u(), g(n(kt), F({
3469
+ return (l, s) => (u(), g(n(_t), F({
3470
3470
  class: ["x-tabs", t.value]
3471
3471
  }, l.$attrs), {
3472
3472
  default: d(() => [
3473
- (u(!0), C(Q, null, Y(o.items, (c) => (u(), g(n(Le), F({
3473
+ (u(!0), C(Q, null, Y(o.items, (c) => (u(), g(n(Ke), F({
3474
3474
  key: c.value ?? c.name
3475
3475
  }, e(c)), {
3476
3476
  label: d(() => [
@@ -3493,7 +3493,7 @@ const oa = {
3493
3493
  _: 3
3494
3494
  }, 16, ["class"]));
3495
3495
  }
3496
- }), ca = {
3496
+ }), la = {
3497
3497
  direction: {
3498
3498
  type: String,
3499
3499
  default: "column"
@@ -3531,19 +3531,19 @@ const oa = {
3531
3531
  onTitleClick: {
3532
3532
  type: Function
3533
3533
  }
3534
- }, ua = { class: "x-data-item__title" }, da = {
3534
+ }, ia = { class: "x-data-item__title" }, ra = {
3535
3535
  key: 1,
3536
3536
  class: "x-data-item__section x-data-item__desc"
3537
- }, pa = {
3537
+ }, ca = {
3538
3538
  key: 2,
3539
3539
  class: "x-data-item__section x-data-item__extra"
3540
- }, fa = {
3540
+ }, ua = {
3541
3541
  key: 3,
3542
3542
  class: "x-data-item__section x-data-item__actions"
3543
- }, ma = /* @__PURE__ */ V({
3543
+ }, Xa = /* @__PURE__ */ V({
3544
3544
  name: "XDataItem",
3545
3545
  __name: "DataItem",
3546
- props: ca,
3546
+ props: la,
3547
3547
  emits: ["imageClick", "titleClick", "actionClick", "actionCommand"],
3548
3548
  setup(a, { emit: o }) {
3549
3549
  const e = a, t = o, l = y(() => {
@@ -3576,9 +3576,9 @@ const oa = {
3576
3576
  }, {
3577
3577
  default: d(() => [
3578
3578
  x(m.$slots, "image", {}, () => [
3579
- e.imageSrc ? (u(), g(n(ho), {
3579
+ e.imageSrc ? (u(), g(n(go), {
3580
3580
  key: 0,
3581
- style: fe(l.value),
3581
+ style: pe(l.value),
3582
3582
  src: e.imageSrc
3583
3583
  }, null, 8, ["style", "src"])) : v("", !0)
3584
3584
  ])
@@ -3604,7 +3604,7 @@ const oa = {
3604
3604
  key: 0,
3605
3605
  class: "x-data-item__icon"
3606
3606
  })) : v("", !0),
3607
- X("span", ua, [
3607
+ X("span", ia, [
3608
3608
  x(m.$slots, "title", {}, () => [
3609
3609
  R(A(e.title), 1)
3610
3610
  ])
@@ -3612,17 +3612,17 @@ const oa = {
3612
3612
  ]),
3613
3613
  _: 3
3614
3614
  }, 8, ["onClick"])) : v("", !0),
3615
- e.description || m.$slots.description ? (u(), C("div", da, [
3615
+ e.description || m.$slots.description ? (u(), C("div", ra, [
3616
3616
  x(m.$slots, "description", {}, () => [
3617
3617
  R(A(e.description), 1)
3618
3618
  ])
3619
3619
  ])) : v("", !0),
3620
- m.$slots.default ? (u(), C("div", pa, [
3620
+ m.$slots.default ? (u(), C("div", ca, [
3621
3621
  x(m.$slots, "default")
3622
3622
  ])) : v("", !0),
3623
- e.actions || e.actionBarProps || m.$slots.actions ? (u(), C("div", fa, [
3623
+ e.actions || e.actionBarProps || m.$slots.actions ? (u(), C("div", ua, [
3624
3624
  x(m.$slots, "actions", {}, () => [
3625
- _(n(Oe), F(c.value, {
3625
+ _(n(et), F(c.value, {
3626
3626
  onClick: p,
3627
3627
  onCommand: f
3628
3628
  }), null, 16)
@@ -3635,7 +3635,7 @@ const oa = {
3635
3635
  _: 3
3636
3636
  }, 8, ["direction", "class"]));
3637
3637
  }
3638
- }), ga = {
3638
+ }), da = {
3639
3639
  option: {
3640
3640
  type: Object
3641
3641
  },
@@ -3648,16 +3648,16 @@ const oa = {
3648
3648
  default: "400px"
3649
3649
  }
3650
3650
  };
3651
- function ya() {
3651
+ function pa() {
3652
3652
  return import("echarts");
3653
3653
  }
3654
- function va(a, o) {
3654
+ function fa(a, o) {
3655
3655
  const e = O(), t = Ve();
3656
- return gt(async () => {
3657
- t.value = await ya();
3656
+ return mt(async () => {
3657
+ t.value = await pa();
3658
3658
  const l = n(a);
3659
3659
  l && (e.value || (e.value = ke(t.value.init(l))), e.value && e.value.setOption(o.option || {}));
3660
- }), yt(() => {
3660
+ }), gt(() => {
3661
3661
  e.value && e.value.dispose();
3662
3662
  }), L(
3663
3663
  () => o.option,
@@ -3665,9 +3665,9 @@ function va(a, o) {
3665
3665
  e.value && e.value.setOption(l || {});
3666
3666
  },
3667
3667
  { deep: !0 }
3668
- ), jo(
3668
+ ), Ro(
3669
3669
  a,
3670
- Lo(() => {
3670
+ Uo(() => {
3671
3671
  e.value && e.value.resize();
3672
3672
  }, 150)
3673
3673
  ), {
@@ -3675,12 +3675,12 @@ function va(a, o) {
3675
3675
  echarts: t
3676
3676
  };
3677
3677
  }
3678
- const ha = /* @__PURE__ */ V({
3678
+ const Ua = /* @__PURE__ */ V({
3679
3679
  name: "XChart",
3680
3680
  __name: "Chart",
3681
- props: ga,
3681
+ props: da,
3682
3682
  setup(a, { expose: o }) {
3683
- const e = a, t = O(), { echartsInstance: l, echarts: s } = va(t, e), c = y(() => ({
3683
+ const e = a, t = O(), { echartsInstance: l, echarts: s } = fa(t, e), c = y(() => ({
3684
3684
  width: q(e.width),
3685
3685
  height: q(e.height)
3686
3686
  }));
@@ -3691,10 +3691,10 @@ const ha = /* @__PURE__ */ V({
3691
3691
  }), (i, r) => (u(), C("div", {
3692
3692
  ref_key: "chartRef",
3693
3693
  ref: t,
3694
- style: fe(c.value)
3694
+ style: pe(c.value)
3695
3695
  }, null, 4));
3696
3696
  }
3697
- }), ba = {
3697
+ }), ma = {
3698
3698
  data: {
3699
3699
  type: [Object, Function],
3700
3700
  default() {
@@ -3732,36 +3732,36 @@ const ha = /* @__PURE__ */ V({
3732
3732
  infiniteScroll: {
3733
3733
  type: [Boolean, Object]
3734
3734
  }
3735
- }, _a = {
3735
+ }, ga = {
3736
3736
  key: 0,
3737
3737
  class: "x-list__loading"
3738
- }, ka = {
3738
+ }, ya = {
3739
3739
  key: 1,
3740
3740
  class: "x-list__nomore"
3741
- }, wa = {
3741
+ }, va = {
3742
3742
  key: 0,
3743
3743
  class: "x-list__loading"
3744
- }, xa = {
3744
+ }, ha = {
3745
3745
  key: 1,
3746
3746
  class: "x-list__nomore"
3747
- }, Sa = {
3747
+ }, ba = {
3748
3748
  key: 1,
3749
3749
  class: "x-list__pager"
3750
- }, za = /* @__PURE__ */ V({
3750
+ }, Ha = /* @__PURE__ */ V({
3751
3751
  name: "XList",
3752
3752
  __name: "List",
3753
- props: ba,
3753
+ props: ma,
3754
3754
  emits: ["load"],
3755
3755
  setup(a, { expose: o, emit: e }) {
3756
3756
  const t = a, l = e, s = Re({
3757
3757
  page: t.page,
3758
3758
  pageSize: t.pageSize
3759
3759
  });
3760
- Qe(() => {
3760
+ Je(() => {
3761
3761
  const { page: T, pageSize: j } = t;
3762
3762
  Object.assign(s, { page: T, pageSize: j });
3763
3763
  });
3764
- const { data: c, loading: i } = rn(
3764
+ const { data: c, loading: i } = an(
3765
3765
  t.data,
3766
3766
  {
3767
3767
  list: [],
@@ -3776,11 +3776,11 @@ const ha = /* @__PURE__ */ V({
3776
3776
  })), h = y(() => {
3777
3777
  const T = {};
3778
3778
  for (let [j, k] of Object.entries(
3779
- rt(t.infiniteScroll)
3779
+ it(t.infiniteScroll)
3780
3780
  ))
3781
3781
  T[`infinite-scroll-${j}`] = k;
3782
3782
  return (i.value || p.value) && (T["infinite-scroll-disabled"] = !0), T;
3783
- }), w = y(() => rt(t.pager, {})), { list: M, containerProps: z, wrapperProps: E, scrollTo: B } = No(
3783
+ }), w = y(() => it(t.pager, {})), { list: M, containerProps: z, wrapperProps: E, scrollTo: B } = Oo(
3784
3784
  y(() => c.value.list),
3785
3785
  {
3786
3786
  itemHeight: t.itemHeight || 0
@@ -3800,10 +3800,10 @@ const ha = /* @__PURE__ */ V({
3800
3800
  getKey: P
3801
3801
  }), (T, j) => (u(), C("div", {
3802
3802
  class: W(["x-list", b.value]),
3803
- style: fe(m.value)
3803
+ style: pe(m.value)
3804
3804
  }, [
3805
3805
  !n(c).total && !n(i) ? x(T.$slots, "empty", { key: 0 }, () => [
3806
- _(n(_t))
3806
+ _(n(bt))
3807
3807
  ]) : v("", !0),
3808
3808
  X("div", F({ class: "x-list__content" }, n(z)), [
3809
3809
  t.itemHeight ? G((u(), C("div", F({
@@ -3817,18 +3817,18 @@ const ha = /* @__PURE__ */ V({
3817
3817
  }, { item: k.data, index: H })), () => [
3818
3818
  X("div", null, A(k), 1)
3819
3819
  ])), 128)),
3820
- n(i) ? (u(), C("div", _a, [
3820
+ n(i) ? (u(), C("div", ga, [
3821
3821
  x(T.$slots, "loading", {}, () => [
3822
3822
  R(" 正在加载数据... ")
3823
3823
  ])
3824
3824
  ])) : v("", !0),
3825
- p.value ? (u(), C("div", ka, [
3825
+ p.value ? (u(), C("div", ya, [
3826
3826
  x(T.$slots, "nomore", {}, () => [
3827
3827
  R(" 没有更多数据 ")
3828
3828
  ])
3829
3829
  ])) : v("", !0)
3830
3830
  ], 16)), [
3831
- [n(st), S]
3831
+ [n(at), S]
3832
3832
  ]) : G((u(), C("div", F({
3833
3833
  key: 1,
3834
3834
  class: "x-list__wrapper"
@@ -3838,22 +3838,22 @@ const ha = /* @__PURE__ */ V({
3838
3838
  }, { item: k, index: H })), () => [
3839
3839
  X("div", null, A(k), 1)
3840
3840
  ])), 128)),
3841
- n(i) ? (u(), C("div", wa, [
3841
+ n(i) ? (u(), C("div", va, [
3842
3842
  x(T.$slots, "loading", {}, () => [
3843
3843
  R(" 正在加载数据... ")
3844
3844
  ])
3845
3845
  ])) : v("", !0),
3846
- p.value ? (u(), C("div", xa, [
3846
+ p.value ? (u(), C("div", ha, [
3847
3847
  x(T.$slots, "nomore", {}, () => [
3848
3848
  R(" 没有更多数据 ")
3849
3849
  ])
3850
3850
  ])) : v("", !0)
3851
3851
  ], 16)), [
3852
- [n(st), S]
3852
+ [n(at), S]
3853
3853
  ])
3854
3854
  ], 16),
3855
- t.pager ? (u(), C("div", Sa, [
3856
- _(n(bo), F({
3855
+ t.pager ? (u(), C("div", ba, [
3856
+ _(n(yo), F({
3857
3857
  small: "",
3858
3858
  background: "",
3859
3859
  layout: "prev, pager, next",
@@ -3868,7 +3868,7 @@ const ha = /* @__PURE__ */ V({
3868
3868
  ])) : v("", !0)
3869
3869
  ], 6));
3870
3870
  }
3871
- }), Ca = {
3871
+ }), _a = {
3872
3872
  name: {
3873
3873
  type: String,
3874
3874
  default: "VTJ.PRO"
@@ -3885,26 +3885,26 @@ const ha = /* @__PURE__ */ V({
3885
3885
  type: String,
3886
3886
  default: "/@vtj/pro/"
3887
3887
  }
3888
- }, Ta = { class: "x-startup" }, $a = { class: "x-startup__wrapper" }, Ea = { class: "x-startup__name" }, Ma = { class: "clip" }, Ia = { class: "x-startup__tagline" }, Ba = { class: "x-startup__actions" }, Pa = /* @__PURE__ */ V({
3888
+ }, ka = { class: "x-startup" }, wa = { class: "x-startup__wrapper" }, xa = { class: "x-startup__name" }, Sa = { class: "clip" }, za = { class: "x-startup__tagline" }, Ca = { class: "x-startup__actions" }, Ka = /* @__PURE__ */ V({
3889
3889
  __name: "Startup",
3890
- props: Ca,
3890
+ props: _a,
3891
3891
  setup(a) {
3892
3892
  const o = a, e = () => {
3893
3893
  let l = (window.__VTJ_LINK__ || {}).href || window.location.pathname + "@vtj/pro/#/";
3894
3894
  location.href = l;
3895
3895
  };
3896
- return (t, l) => (u(), C("div", Ta, [
3897
- X("div", $a, [
3898
- X("div", Ea, [
3899
- X("span", Ma, A(o.name), 1)
3896
+ return (t, l) => (u(), C("div", ka, [
3897
+ X("div", wa, [
3898
+ X("div", xa, [
3899
+ X("span", Sa, A(o.name), 1)
3900
3900
  ]),
3901
- X("div", Ia, A(o.tagline), 1),
3902
- X("div", Ba, [
3901
+ X("div", za, A(o.tagline), 1),
3902
+ X("div", Ca, [
3903
3903
  _(n(ie), {
3904
3904
  type: "primary",
3905
3905
  size: "large",
3906
3906
  round: "",
3907
- icon: n(Do),
3907
+ icon: n(Po),
3908
3908
  onClick: e
3909
3909
  }, {
3910
3910
  default: d(() => [
@@ -3916,7 +3916,7 @@ const ha = /* @__PURE__ */ V({
3916
3916
  ])
3917
3917
  ]));
3918
3918
  }
3919
- }), Va = {
3919
+ }), Ta = {
3920
3920
  stringProp: {
3921
3921
  type: String
3922
3922
  },
@@ -3947,10 +3947,10 @@ const ha = /* @__PURE__ */ V({
3947
3947
  syncProp: {
3948
3948
  type: String
3949
3949
  }
3950
- }, Aa = { class: "x-test__slot" }, Da = { class: "x-test__slot" }, Ra = /* @__PURE__ */ V({
3950
+ }, $a = { class: "x-test__slot" }, Ea = { class: "x-test__slot" }, La = /* @__PURE__ */ V({
3951
3951
  name: "XTest",
3952
3952
  __name: "Test",
3953
- props: Va,
3953
+ props: Ta,
3954
3954
  emits: ["click", "submit", "change", "update:modelValue", "update:syncProp"],
3955
3955
  setup(a, { expose: o, emit: e }) {
3956
3956
  const t = a, l = e, s = y(() => Object.entries(t)), c = y({
@@ -3968,11 +3968,11 @@ const ha = /* @__PURE__ */ V({
3968
3968
  l("update:syncProp", h);
3969
3969
  }
3970
3970
  }), r = O("default inner data"), p = () => {
3971
- it.info({
3971
+ lt.info({
3972
3972
  message: "触发click事件"
3973
3973
  }), l("click", t);
3974
3974
  }, f = () => {
3975
- it.info({
3975
+ lt.info({
3976
3976
  message: "触发submit事件"
3977
3977
  }), l("submit", t);
3978
3978
  }, m = (h) => {
@@ -3985,13 +3985,13 @@ const ha = /* @__PURE__ */ V({
3985
3985
  submit: f,
3986
3986
  data: r,
3987
3987
  change: m
3988
- }), (h, w) => (u(), g(n(Se), {
3988
+ }), (h, w) => (u(), g(n(Pe), {
3989
3989
  class: "x-test",
3990
3990
  header: "VTJ 低代码测试组件",
3991
3991
  border: ""
3992
3992
  }, {
3993
3993
  default: d(() => [
3994
- _(n(se), null, {
3994
+ _(n(ae), null, {
3995
3995
  default: d(() => [
3996
3996
  R("内部数据")
3997
3997
  ]),
@@ -4003,18 +4003,18 @@ const ha = /* @__PURE__ */ V({
4003
4003
  ]),
4004
4004
  _: 1
4005
4005
  }),
4006
- _(n(se), null, {
4006
+ _(n(ae), null, {
4007
4007
  default: d(() => [
4008
4008
  R("属性")
4009
4009
  ]),
4010
4010
  _: 1
4011
4011
  }),
4012
- _(n(lt), {
4012
+ _(n(st), {
4013
4013
  column: 3,
4014
4014
  border: ""
4015
4015
  }, {
4016
4016
  default: d(() => [
4017
- (u(!0), C(Q, null, Y(s.value, ([M, z]) => (u(), g(n(Xe), { label: M }, {
4017
+ (u(!0), C(Q, null, Y(s.value, ([M, z]) => (u(), g(n(Ne), { label: M }, {
4018
4018
  default: d(() => [
4019
4019
  X("pre", null, A(JSON.stringify(z, null, 2)), 1)
4020
4020
  ]),
@@ -4023,7 +4023,7 @@ const ha = /* @__PURE__ */ V({
4023
4023
  ]),
4024
4024
  _: 1
4025
4025
  }),
4026
- _(n(se), null, {
4026
+ _(n(ae), null, {
4027
4027
  default: d(() => [
4028
4028
  R("插槽")
4029
4029
  ]),
@@ -4035,13 +4035,13 @@ const ha = /* @__PURE__ */ V({
4035
4035
  gap: ""
4036
4036
  }, {
4037
4037
  default: d(() => [
4038
- _(n(Se), {
4038
+ _(n(Pe), {
4039
4039
  header: "default",
4040
4040
  grow: "",
4041
4041
  card: ""
4042
4042
  }, {
4043
4043
  default: d(() => [
4044
- X("div", Aa, [
4044
+ X("div", $a, [
4045
4045
  x(h.$slots, "default", {
4046
4046
  props: t,
4047
4047
  data: r.value
@@ -4052,13 +4052,13 @@ const ha = /* @__PURE__ */ V({
4052
4052
  ]),
4053
4053
  _: 3
4054
4054
  }),
4055
- _(n(Se), {
4055
+ _(n(Pe), {
4056
4056
  header: "extra",
4057
4057
  grow: "",
4058
4058
  card: ""
4059
4059
  }, {
4060
4060
  default: d(() => [
4061
- X("div", Da, [
4061
+ X("div", Ea, [
4062
4062
  x(h.$slots, "extra", {
4063
4063
  props: t,
4064
4064
  data: r.value
@@ -4072,7 +4072,7 @@ const ha = /* @__PURE__ */ V({
4072
4072
  ]),
4073
4073
  _: 3
4074
4074
  }),
4075
- _(n(se), null, {
4075
+ _(n(ae), null, {
4076
4076
  default: d(() => [
4077
4077
  R("双向绑定")
4078
4078
  ]),
@@ -4080,23 +4080,23 @@ const ha = /* @__PURE__ */ V({
4080
4080
  }),
4081
4081
  _(n(I), null, {
4082
4082
  default: d(() => [
4083
- _(n(lt), {
4083
+ _(n(st), {
4084
4084
  column: 2,
4085
4085
  border: ""
4086
4086
  }, {
4087
4087
  default: d(() => [
4088
- _(n(Xe), { label: "modelValue" }, {
4088
+ _(n(Ne), { label: "modelValue" }, {
4089
4089
  default: d(() => [
4090
- _(n(Ce), {
4090
+ _(n(ze), {
4091
4091
  modelValue: c.value,
4092
4092
  "onUpdate:modelValue": w[0] || (w[0] = (M) => c.value = M)
4093
4093
  }, null, 8, ["modelValue"])
4094
4094
  ]),
4095
4095
  _: 1
4096
4096
  }),
4097
- _(n(Xe), { label: "syncProp" }, {
4097
+ _(n(Ne), { label: "syncProp" }, {
4098
4098
  default: d(() => [
4099
- _(n(Ce), {
4099
+ _(n(ze), {
4100
4100
  modelValue: i.value,
4101
4101
  "onUpdate:modelValue": w[1] || (w[1] = (M) => i.value = M)
4102
4102
  }, null, 8, ["modelValue"])
@@ -4109,7 +4109,7 @@ const ha = /* @__PURE__ */ V({
4109
4109
  ]),
4110
4110
  _: 1
4111
4111
  }),
4112
- _(n(se), null, {
4112
+ _(n(ae), null, {
4113
4113
  default: d(() => [
4114
4114
  R("事件和方法")
4115
4115
  ]),
@@ -4142,84 +4142,64 @@ const ha = /* @__PURE__ */ V({
4142
4142
  _: 3
4143
4143
  }));
4144
4144
  }
4145
- }), Wa = [
4146
- re,
4147
- de,
4148
- te,
4149
- Oe,
4150
- I,
4151
- Bt,
4152
- Se,
4153
- tt,
4154
- Qn,
4155
- Ot,
4156
- Nt,
4157
- la,
4158
- ra,
4159
- ma,
4160
- ha,
4161
- za,
4162
- Pa,
4163
- Ra
4164
- ];
4145
+ });
4165
4146
  export {
4166
- dt as Draggable,
4167
- ct as INSTALLED_KEY,
4168
- At as MASK_KEY,
4169
- pt as Resizable,
4170
- Vt as TAB_CREATORS_KEY,
4171
- Pn as TAB_ITEM_WIDTH,
4172
- Ha as VTJ_UI_VERSION,
4173
- te as XAction,
4174
- Oe as XActionBar,
4175
- ha as XChart,
4147
+ ut as Draggable,
4148
+ rt as INSTALLED_KEY,
4149
+ Vt as MASK_KEY,
4150
+ dt as Resizable,
4151
+ Pt as TAB_CREATORS_KEY,
4152
+ In as TAB_ITEM_WIDTH,
4153
+ Da as VTJ_UI_VERSION,
4154
+ se as XAction,
4155
+ et as XActionBar,
4156
+ Ua as XChart,
4176
4157
  I as XContainer,
4177
- ma as XDataItem,
4178
- tt as XDialog,
4179
- la as XDialogForm,
4180
- Ot as XField,
4181
- Nt as XForm,
4182
- Bt as XHeader,
4183
- re as XIcon,
4184
- za as XList,
4185
- Qn as XMask,
4186
- de as XMenu,
4187
- Se as XPanel,
4188
- Pa as XStartup,
4189
- ra as XTabs,
4190
- Ra as XTest,
4191
- dn as actionBarProps,
4192
- It as actionProps,
4193
- Rt as builtinFieldEditors,
4194
- ga as chartProps,
4195
- Wa as components,
4196
- pn as containerProps,
4197
- ot as createDialog,
4198
- ca as dataItemProps,
4199
- La as defineTab,
4200
- sa as dialogFormProps,
4201
- vn as dialogProps,
4202
- qn as fieldProps,
4203
- Ft as formInstanceKey,
4204
- jt as formModelKey,
4205
- aa as formProps,
4158
+ Xa as XDataItem,
4159
+ Bt as XDialog,
4160
+ ja as XDialogForm,
4161
+ ta as XField,
4162
+ na as XForm,
4163
+ pn as XHeader,
4164
+ ue as XIcon,
4165
+ Ha as XList,
4166
+ Oa as XMask,
4167
+ me as XMenu,
4168
+ Pe as XPanel,
4169
+ Ka as XStartup,
4170
+ Na as XTabs,
4171
+ La as XTest,
4172
+ rn as actionBarProps,
4173
+ Mt as actionProps,
4174
+ Dt as builtinFieldEditors,
4175
+ da as chartProps,
4176
+ cn as containerProps,
4177
+ tt as createDialog,
4178
+ la as dataItemProps,
4179
+ Fa as defineTab,
4180
+ aa as dialogFormProps,
4181
+ gn as dialogProps,
4182
+ Zn as fieldProps,
4183
+ Rt as formInstanceKey,
4184
+ Ot as formModelKey,
4185
+ oa as formProps,
4206
4186
  q as getSizeValue,
4207
- fn as headerProps,
4208
- Zo as iconProps,
4209
- Qo as iconSizeMap,
4210
- ba as listProps,
4211
- Ka as makeInstaller,
4212
- Vn as maskProps,
4213
- gn as panelProps,
4214
- Ee as parseSize,
4215
- Ca as startupProps,
4216
- ia as tabsProps,
4217
- Va as testProps,
4218
- rt as toObjectProps,
4219
- et as useDisabled,
4187
+ un as headerProps,
4188
+ Wo as iconProps,
4189
+ Lo as iconSizeMap,
4190
+ ma as listProps,
4191
+ Ra as makeInstaller,
4192
+ Bn as maskProps,
4193
+ fn as panelProps,
4194
+ $e as parseSize,
4195
+ _a as startupProps,
4196
+ sa as tabsProps,
4197
+ Ta as testProps,
4198
+ it as toObjectProps,
4199
+ qe as useDisabled,
4220
4200
  _e as useIcon,
4221
- ln as useIconProps,
4222
- rn as useLoader,
4223
- yn as vDraggable,
4224
- Pt as vResizable
4201
+ nn as useIconProps,
4202
+ an as useLoader,
4203
+ mn as vDraggable,
4204
+ It as vResizable
4225
4205
  };