@gonsin/gview 2.0.12 → 2.0.13

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.
@@ -1,28 +1,28 @@
1
1
  var mo = Object.defineProperty;
2
2
  var fo = (e, n, t) => n in e ? mo(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
- var ut = (e, n, t) => (fo(e, typeof n != "symbol" ? n + "" : n, t), t);
4
- import { defineComponent as ne, ref as Q, computed as B, resolveComponent as j, openBlock as g, createBlock as S, normalizeClass as Z, unref as m, withCtx as T, createElementBlock as Y, Fragment as ge, renderList as ke, createVNode as _, createTextVNode as X, createCommentVNode as $, toDisplayString as ye, nextTick as ho, createElementVNode as ae, normalizeStyle as It, renderSlot as Oe, isRef as pt, onMounted as nt, mergeProps as Qt, createSlots as Nt, normalizeProps as Ln, guardReactiveProps as Sn, watch as be, onBeforeUnmount as et, onBeforeMount as vt, shallowRef as po, defineAsyncComponent as go, Transition as vo, withModifiers as rn } from "vue";
3
+ var ct = (e, n, t) => (fo(e, typeof n != "symbol" ? n + "" : n, t), t);
4
+ import { defineComponent as ne, ref as Q, computed as B, resolveComponent as j, openBlock as g, createBlock as _, normalizeClass as Z, unref as m, withCtx as T, createElementBlock as X, Fragment as ge, renderList as ke, createVNode as S, createTextVNode as Y, createCommentVNode as $, toDisplayString as ye, nextTick as ho, createElementVNode as ae, normalizeStyle as It, renderSlot as Oe, isRef as gt, onMounted as nt, mergeProps as Qt, createSlots as Nt, normalizeProps as Ln, guardReactiveProps as _n, watch as be, onBeforeUnmount as et, onBeforeMount as yt, shallowRef as po, defineAsyncComponent as go, Transition as vo, withModifiers as rn } from "vue";
5
5
  import { useRouter as rt, useRoute as it } from "vue-router";
6
6
  import { defineStore as Lt } from "pinia";
7
7
  import { MessagePlugin as te, DialogPlugin as kt, Message as yo } from "tdesign-vue-next";
8
8
  import bo from "axios";
9
9
  import { customAlphabet as wo } from "nanoid";
10
- import { get as ee, set as Ge, cloneDeep as ft } from "lodash-es";
11
- import Ye from "dayjs";
10
+ import { get as ee, set as Ge, cloneDeep as ht } from "lodash-es";
11
+ import Xe from "dayjs";
12
12
  import { Toolbar as Mo, Editor as To } from "@wangeditor/editor-for-vue";
13
13
  import Ze from "mustache";
14
14
  import ko from "he";
15
15
  import Co from "nprogress";
16
- const ht = "config", sn = "themeConfig", Io = "user", Lr = "menu", un = "initTabMenuList", cn = "tabMenu", Ot = "sideMenuConfig", Sr = "token", _r = "tokenExpiredTime", xr = "dataId", dn = "sessionId", No = {
16
+ const pt = "config", sn = "themeConfig", Io = "user", _r = "menu", un = "initTabMenuList", cn = "tabMenu", Ot = "sideMenuConfig", Sr = "token", xr = "tokenExpiredTime", Dr = "dataId", dn = "sessionId", No = {
17
17
  brandTheme: "default",
18
18
  // 主题色
19
19
  displayMode: "light"
20
20
  // 主题模式 light | dark | auto
21
21
  };
22
- function _n(e, n, t) {
22
+ function Sn(e, n, t) {
23
23
  return e.filter((o) => o.parent === n).map((o) => ({
24
24
  ...o,
25
- children: _n(e, o.name, t + 1),
25
+ children: Sn(e, o.name, t + 1),
26
26
  path: o.url,
27
27
  // 菜单路径
28
28
  alias: o.title,
@@ -73,7 +73,7 @@ class Vn {
73
73
  /**
74
74
  * 存储实例: 默认为 local
75
75
  */
76
- ut(this, "storage");
76
+ ct(this, "storage");
77
77
  switch (n) {
78
78
  case "local":
79
79
  this.storage = window.localStorage;
@@ -101,10 +101,10 @@ class Vn {
101
101
  this.storage.clear();
102
102
  }
103
103
  }
104
- const dt = new Vn("session"), He = new Vn("local"), Pe = Lt("setting", {
104
+ const mt = new Vn("session"), He = new Vn("local"), Pe = Lt("setting", {
105
105
  state: () => ({
106
106
  // 登录标志
107
- isUserLogin: !!dt.getItem(Io) || !1,
107
+ isUserLogin: !!mt.getItem(Io) || !1,
108
108
  // 加载标志
109
109
  isGlobalLoaded: !0,
110
110
  // 侧边栏是否显示
@@ -118,7 +118,7 @@ const dt = new Vn("session"), He = new Vn("local"), Pe = Lt("setting", {
118
118
  // 侧边菜单配置
119
119
  sideMenuTree: He.getItem(Ot) || [],
120
120
  // 用户传入GView的信息与配置
121
- userConfig: He.getItem(ht) || {
121
+ userConfig: He.getItem(pt) || {
122
122
  userInfo: {
123
123
  realName: "",
124
124
  token: ""
@@ -171,15 +171,15 @@ const dt = new Vn("session"), He = new Vn("local"), Pe = Lt("setting", {
171
171
  * @description 用户登录后初始化配置
172
172
  */
173
173
  async initUserConfig(e) {
174
- He.setItem(ht, e), this.userConfig = { ...e };
175
- const { userMenu: n } = e, t = _n(n, null, 1);
174
+ He.setItem(pt, e), this.userConfig = { ...e };
175
+ const { userMenu: n } = e, t = Sn(n, null, 1);
176
176
  He.setItem(Ot, t), this.sideMenuTree = t, this.setUserLoginStatus(!0);
177
177
  },
178
178
  /**
179
179
  * @description 用户退出
180
180
  */
181
181
  userLogout() {
182
- He.removeItem(ht), sessionStorage.clear(), this.setUserLoginStatus(!1);
182
+ He.removeItem(pt), sessionStorage.clear(), this.setUserLoginStatus(!1);
183
183
  },
184
184
  /**
185
185
  * @description 更改主题
@@ -211,19 +211,19 @@ const dt = new Vn("session"), He = new Vn("local"), Pe = Lt("setting", {
211
211
  this.changeMode(e), this.changeBrandTheme(e), this.changeTheme(e);
212
212
  }
213
213
  }
214
- }), St = Lt("tabMenu", {
214
+ }), _t = Lt("tabMenu", {
215
215
  state: () => ({
216
216
  // 初始化tab菜单列表
217
- initTabMenuList: dt.getItem(un) || [],
217
+ initTabMenuList: mt.getItem(un) || [],
218
218
  // tab菜单列表
219
- tabMenuList: dt.getItem(cn) || []
219
+ tabMenuList: mt.getItem(cn) || []
220
220
  }),
221
221
  actions: {
222
222
  setInitTabMenuList(e) {
223
- dt.setItem(un, e), this.initTabMenuList = e;
223
+ mt.setItem(un, e), this.initTabMenuList = e;
224
224
  },
225
225
  setTabMenuList(e) {
226
- dt.setItem(cn, e), this.tabMenuList = e;
226
+ mt.setItem(cn, e), this.tabMenuList = e;
227
227
  },
228
228
  /**
229
229
  * @description 初始化tab菜单列表
@@ -282,7 +282,7 @@ const dt = new Vn("session"), He = new Vn("local"), Pe = Lt("setting", {
282
282
  subcmd: e,
283
283
  response: 0
284
284
  }
285
- }, So = 3e4, _o = 3e3, xo = Object.prototype.toString;
285
+ }, _o = 3e4, So = 3e3, xo = Object.prototype.toString;
286
286
  function Ke(e, n) {
287
287
  return xo.call(e) === `[object ${n}]`;
288
288
  }
@@ -290,36 +290,36 @@ function fn(e) {
290
290
  return Ke(e, "Function");
291
291
  }
292
292
  const Do = (e) => typeof e < "u", An = (e) => !Do(e), En = (e) => e !== null && Ke(e, "Object");
293
- function Dr(e) {
293
+ function Vr(e) {
294
294
  return Ke(e, "Date");
295
295
  }
296
- function Vr(e) {
296
+ function Ar(e) {
297
297
  return Ke(e, "Number");
298
298
  }
299
- function Ar(e) {
299
+ function Er(e) {
300
300
  return Ke(e, "AsyncFunction");
301
301
  }
302
- function Er(e) {
302
+ function Pr(e) {
303
303
  return Ke(e, "Promise") && En(e) && fn(e.then) && fn(e.catch);
304
304
  }
305
- function Pr(e) {
305
+ function Or(e) {
306
306
  return Ke(e, "String");
307
307
  }
308
- function Or(e) {
308
+ function Br(e) {
309
309
  return Ke(e, "Boolean");
310
310
  }
311
- function Br(e) {
311
+ function Fr(e) {
312
312
  return e && Array.isArray(e);
313
313
  }
314
- const Fr = () => typeof window < "u", Ur = (e) => typeof window < "u" && Ke(e, "Window"), jr = (e) => En(e) && !!e.tagName, Rr = typeof window > "u";
315
- function gt(e) {
314
+ const Ur = () => typeof window < "u", jr = (e) => typeof window < "u" && Ke(e, "Window"), Rr = (e) => En(e) && !!e.tagName, zr = typeof window > "u";
315
+ function vt(e) {
316
316
  return e === null;
317
317
  }
318
318
  function hn(e) {
319
- return An(e) && gt(e);
319
+ return An(e) && vt(e);
320
320
  }
321
321
  function xe(e) {
322
- return An(e) || gt(e);
322
+ return An(e) || vt(e);
323
323
  }
324
324
  function Pn(e) {
325
325
  return xe(e) || (e + "").trim() == "";
@@ -348,13 +348,13 @@ const qt = Lt("socket", {
348
348
  let t = Bt("heart");
349
349
  e.socketInterval = setInterval(function() {
350
350
  e.socket && e.socket.send(JSON.stringify(t));
351
- }, So);
351
+ }, _o);
352
352
  }, this.socket.onclose = function(n) {
353
353
  te.error("WebSocket 断开连接"), e.socketInterval = null, e.isSocketResetting = !0, e.socket = null, te.error("WebSocket 重新连接..."), e.socketTimeout = setTimeout(function() {
354
354
  e.isSocketResetting && (e.initSocket(), e.isSocketLinked && (clearTimeout(e.socketTimeout), setTimeout(() => {
355
355
  window.dispatchEvent(new CustomEvent("onSocketReload"));
356
356
  }, 2e3)));
357
- }, _o);
357
+ }, So);
358
358
  }, this.socket.onerror = function(n) {
359
359
  console.log("出现错误", n);
360
360
  }, this.socket.onmessage = function(n) {
@@ -377,7 +377,7 @@ const qt = Lt("socket", {
377
377
  hn(this.socket) || this.socket.send(JSON.stringify(n));
378
378
  }
379
379
  }
380
- }), Yt = Lt("props", {
380
+ }), Xt = Lt("props", {
381
381
  state: () => ({
382
382
  propsSource: {}
383
383
  }),
@@ -401,15 +401,15 @@ function pn(e) {
401
401
  }
402
402
  function $t(e, n) {
403
403
  const t = new URLSearchParams(n), o = `?${t.toString()}`;
404
- return Xt(e) || (e = `http://${e}`), t.toString() ? `${e}${o}` : e;
404
+ return Yt(e) || (e = `http://${e}`), t.toString() ? `${e}${o}` : e;
405
405
  }
406
- function Xt(e) {
406
+ function Yt(e) {
407
407
  return /^(?:https?|ftp):\/\/(?:(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\.)+(?:[A-Z]{2,6}\.?|[A-Z0-9-]{2,}\.?)|localhost|(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}))(:\d+)?(\/[^\s]*)?$/i.test(e);
408
408
  }
409
409
  const Vo = /* @__PURE__ */ ne({
410
410
  __name: "GLayoutHeaderTab",
411
411
  setup(e) {
412
- const n = rt(), t = it(), o = Q(""), a = St(), l = Pe(), r = B(() => a.tabMenuList), s = B(() => l.homeUrl);
412
+ const n = rt(), t = it(), o = Q(""), a = _t(), l = Pe(), r = B(() => a.tabMenuList), s = B(() => l.homeUrl);
413
413
  function i(k, h, M) {
414
414
  h.trigger === "document" && (o.value = null), k && (o.value = M);
415
415
  }
@@ -458,7 +458,7 @@ const Vo = /* @__PURE__ */ ne({
458
458
  }
459
459
  return (k, h) => {
460
460
  const M = j("t-icon"), x = j("t-dropdown-item"), v = j("t-dropdown-menu"), b = j("t-dropdown"), y = j("t-tab-panel"), f = j("t-tabs");
461
- return g(), S(f, {
461
+ return g(), _(f, {
462
462
  class: Z(`${m(J)}__header-tabs`),
463
463
  size: "large",
464
464
  value: decodeURIComponent(k.$route.fullPath),
@@ -466,13 +466,13 @@ const Vo = /* @__PURE__ */ ne({
466
466
  onRemove: c
467
467
  }, {
468
468
  default: T(() => [
469
- (g(!0), Y(ge, null, ke(m(r), (w, E) => (g(), S(y, {
469
+ (g(!0), X(ge, null, ke(m(r), (w, E) => (g(), _(y, {
470
470
  key: w.path,
471
471
  value: w.path,
472
472
  removable: !w.isHome
473
473
  }, {
474
474
  label: T(() => [
475
- _(b, {
475
+ S(b, {
476
476
  trigger: "context-menu",
477
477
  "popup-props": {
478
478
  onVisibleChange: (R, I) => i(R, I, w.path),
@@ -480,55 +480,55 @@ const Vo = /* @__PURE__ */ ne({
480
480
  }
481
481
  }, {
482
482
  dropdown: T(() => [
483
- _(v, null, {
483
+ S(v, null, {
484
484
  default: T(() => [
485
- w.isHome ? (g(), S(x, {
485
+ w.isHome ? (g(), _(x, {
486
486
  key: 0,
487
487
  onClick: () => u(w.path)
488
488
  }, {
489
489
  default: T(() => [
490
- _(M, { name: "home" }),
491
- X("前往首页 ")
490
+ S(M, { name: "home" }),
491
+ Y("前往首页 ")
492
492
  ]),
493
493
  _: 2
494
494
  }, 1032, ["onClick"])) : $("", !0),
495
- w.isHome ? $("", !0) : (g(), S(x, {
495
+ w.isHome ? $("", !0) : (g(), _(x, {
496
496
  key: 1,
497
497
  onClick: () => d(w)
498
498
  }, {
499
499
  default: T(() => [
500
- _(M, { name: "refresh" }),
501
- X("刷新 ")
500
+ S(M, { name: "refresh" }),
501
+ Y("刷新 ")
502
502
  ]),
503
503
  _: 2
504
504
  }, 1032, ["onClick"])),
505
- E > 1 ? (g(), S(x, {
505
+ E > 1 ? (g(), _(x, {
506
506
  key: 2,
507
507
  onClick: () => p(w.path, E)
508
508
  }, {
509
509
  default: T(() => [
510
- _(M, { name: "arrow-left" }),
511
- X("关闭左侧 ")
510
+ S(M, { name: "arrow-left" }),
511
+ Y("关闭左侧 ")
512
512
  ]),
513
513
  _: 2
514
514
  }, 1032, ["onClick"])) : $("", !0),
515
- E > 0 && E < m(r).length - 1 ? (g(), S(x, {
515
+ E > 0 && E < m(r).length - 1 ? (g(), _(x, {
516
516
  key: 3,
517
517
  onClick: () => C(w.path, E)
518
518
  }, {
519
519
  default: T(() => [
520
- _(M, { name: "arrow-right " }),
521
- X("关闭右侧 ")
520
+ S(M, { name: "arrow-right " }),
521
+ Y("关闭右侧 ")
522
522
  ]),
523
523
  _: 2
524
524
  }, 1032, ["onClick"])) : $("", !0),
525
- E > 0 && m(r).length > 2 ? (g(), S(x, {
525
+ E > 0 && m(r).length > 2 ? (g(), _(x, {
526
526
  key: 4,
527
527
  onClick: () => N(w.path, E)
528
528
  }, {
529
529
  default: T(() => [
530
- _(M, { name: "close-circle" }),
531
- X("关闭其他 ")
530
+ S(M, { name: "close-circle" }),
531
+ Y("关闭其他 ")
532
532
  ]),
533
533
  _: 2
534
534
  }, 1032, ["onClick"])) : $("", !0)
@@ -537,7 +537,7 @@ const Vo = /* @__PURE__ */ ne({
537
537
  }, 1024)
538
538
  ]),
539
539
  default: T(() => [
540
- X(ye(w.title) + " ", 1)
540
+ Y(ye(w.title) + " ", 1)
541
541
  ]),
542
542
  _: 2
543
543
  }, 1032, ["popup-props"])
@@ -565,11 +565,11 @@ const Ao = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAA
565
565
  }
566
566
  return (i, u) => {
567
567
  const c = j("t-icon"), d = j("t-button"), p = j("t-dropdown-item"), C = j("t-dropdown-menu"), N = j("t-dropdown"), P = j("t-tooltip"), k = j("t-head-menu"), h = j("t-header");
568
- return g(), S(h, {
568
+ return g(), _(h, {
569
569
  class: Z(`${m(J)}__header`)
570
570
  }, {
571
571
  default: T(() => [
572
- _(k, { theme: m(a) }, {
572
+ S(k, { theme: m(a) }, {
573
573
  logo: T(() => [
574
574
  ae("div", {
575
575
  class: Z(`${m(J)}__header-logo-container`)
@@ -582,14 +582,14 @@ const Ao = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAA
582
582
  ae("div", {
583
583
  class: Z(`${m(J)}__header—collapse`)
584
584
  }, [
585
- _(d, {
585
+ S(d, {
586
586
  theme: "default",
587
587
  shape: "square",
588
588
  variant: "text",
589
589
  onClick: l
590
590
  }, {
591
591
  default: T(() => [
592
- _(c, {
592
+ S(c, {
593
593
  class: "collapsed-icon",
594
594
  name: "view-list"
595
595
  })
@@ -602,14 +602,14 @@ const Ao = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAA
602
602
  ae("div", {
603
603
  class: Z(`${m(J)}__header-operations-container`)
604
604
  }, [
605
- _(N, { trigger: "click" }, {
605
+ S(N, { trigger: "click" }, {
606
606
  dropdown: T(() => [
607
- _(C, null, {
607
+ S(C, null, {
608
608
  default: T(() => [
609
- _(p, { onClick: s }, {
609
+ S(p, { onClick: s }, {
610
610
  default: T(() => [
611
- _(c, { name: "poweroff" }),
612
- X(" 退出登录 ")
611
+ S(c, { name: "poweroff" }),
612
+ Y(" 退出登录 ")
613
613
  ]),
614
614
  _: 1
615
615
  })
@@ -618,15 +618,15 @@ const Ao = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAA
618
618
  })
619
619
  ]),
620
620
  default: T(() => [
621
- _(d, {
621
+ S(d, {
622
622
  theme: "default",
623
623
  variant: "text"
624
624
  }, {
625
625
  icon: T(() => [
626
- _(c, { name: "user-circle" })
626
+ S(c, { name: "user-circle" })
627
627
  ]),
628
628
  suffix: T(() => [
629
- _(c, { name: "chevron-down" })
629
+ S(c, { name: "chevron-down" })
630
630
  ]),
631
631
  default: T(() => [
632
632
  ae("span", null, ye(m(o)), 1)
@@ -636,19 +636,19 @@ const Ao = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAA
636
636
  ]),
637
637
  _: 1
638
638
  }),
639
- _(P, {
639
+ S(P, {
640
640
  placement: "bottom",
641
641
  content: "系统设置"
642
642
  }, {
643
643
  default: T(() => [
644
- _(d, {
644
+ S(d, {
645
645
  theme: "default",
646
646
  shape: "square",
647
647
  variant: "text",
648
648
  onClick: r
649
649
  }, {
650
650
  default: T(() => [
651
- _(c, { name: "setting" })
651
+ S(c, { name: "setting" })
652
652
  ]),
653
653
  _: 1
654
654
  })
@@ -658,7 +658,7 @@ const Ao = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAA
658
658
  ], 2)
659
659
  ]),
660
660
  default: T(() => [
661
- _(Vo)
661
+ S(Vo)
662
662
  ]),
663
663
  _: 1
664
664
  }, 8, ["theme"])
@@ -673,11 +673,11 @@ const Po = /* @__PURE__ */ ne({
673
673
  setup(e) {
674
674
  return (n, t) => {
675
675
  const o = j("t-content"), a = j("t-layout");
676
- return g(), S(a, {
676
+ return g(), _(a, {
677
677
  class: Z(`${m(J)}__content-layout`)
678
678
  }, {
679
679
  default: T(() => [
680
- _(o, {
680
+ S(o, {
681
681
  class: Z(`${m(J)}__content`)
682
682
  }, {
683
683
  default: T(() => [
@@ -691,7 +691,7 @@ const Po = /* @__PURE__ */ ne({
691
691
  };
692
692
  }
693
693
  });
694
- const zr = [
694
+ const $r = [
695
695
  "#0052d9",
696
696
  "#0594fa",
697
697
  "#00a870",
@@ -700,7 +700,7 @@ const zr = [
700
700
  "#e34d59",
701
701
  "#ed49b4",
702
702
  "#834ec2"
703
- ], $r = [
703
+ ], Gr = [
704
704
  "#4582e6",
705
705
  "#29a4fb",
706
706
  "#03a56f",
@@ -897,7 +897,7 @@ const $o = /* @__PURE__ */ ne({
897
897
  },
898
898
  setup(e) {
899
899
  const n = Pe(), t = rt(), o = (a) => {
900
- if (Xt(a)) {
900
+ if (Yt(a)) {
901
901
  const r = $t(a, { token: n.token });
902
902
  window.open(r, "_blank");
903
903
  } else if (a.startsWith(":")) {
@@ -911,11 +911,11 @@ const $o = /* @__PURE__ */ ne({
911
911
  };
912
912
  return (a, l) => {
913
913
  const r = j("t-icon"), s = j("t-menu-item"), i = j("GLayoutSideMenuContent", !0), u = j("t-submenu");
914
- return g(!0), Y(ge, null, ke(e.sideMenuTree, (c, d) => (g(), Y("div", {
914
+ return g(!0), X(ge, null, ke(e.sideMenuTree, (c, d) => (g(), X("div", {
915
915
  class: Z(`${m(J)}__side-menu-content`),
916
916
  key: d
917
917
  }, [
918
- !c.children || !c.children.length ? (g(), S(s, {
918
+ !c.children || !c.children.length ? (g(), _(s, {
919
919
  key: 0,
920
920
  class: Z(`level${c.level}-margin`),
921
921
  name: c.path,
@@ -923,12 +923,12 @@ const $o = /* @__PURE__ */ ne({
923
923
  onClick: (p) => o(c.path)
924
924
  }, {
925
925
  icon: T(() => [
926
- c.level == 1 ? (g(), Y(ge, { key: 0 }, [
927
- c.icon ? (g(), S(r, {
926
+ c.level == 1 ? (g(), X(ge, { key: 0 }, [
927
+ c.icon ? (g(), _(r, {
928
928
  key: 0,
929
929
  name: c.icon,
930
930
  size: "large"
931
- }, null, 8, ["name"])) : (g(), S(r, {
931
+ }, null, 8, ["name"])) : (g(), _(r, {
932
932
  key: 1,
933
933
  name: "app",
934
934
  size: "large"
@@ -936,10 +936,10 @@ const $o = /* @__PURE__ */ ne({
936
936
  ], 64)) : $("", !0)
937
937
  ]),
938
938
  default: T(() => [
939
- X(" " + ye(c.title), 1)
939
+ Y(" " + ye(c.title), 1)
940
940
  ]),
941
941
  _: 2
942
- }, 1032, ["class", "name", "value", "onClick"])) : (g(), S(u, {
942
+ }, 1032, ["class", "name", "value", "onClick"])) : (g(), _(u, {
943
943
  key: 1,
944
944
  class: Z(`level${c.level}-margin`),
945
945
  name: c.name,
@@ -947,12 +947,12 @@ const $o = /* @__PURE__ */ ne({
947
947
  title: c.title
948
948
  }, {
949
949
  icon: T(() => [
950
- c.level == 1 ? (g(), Y(ge, { key: 0 }, [
951
- c.icon ? (g(), S(r, {
950
+ c.level == 1 ? (g(), X(ge, { key: 0 }, [
951
+ c.icon ? (g(), _(r, {
952
952
  key: 0,
953
953
  name: c.icon,
954
954
  size: "large"
955
- }, null, 8, ["name"])) : (g(), S(r, {
955
+ }, null, 8, ["name"])) : (g(), _(r, {
956
956
  key: 1,
957
957
  name: "app",
958
958
  size: "large"
@@ -960,7 +960,7 @@ const $o = /* @__PURE__ */ ne({
960
960
  ], 64)) : $("", !0)
961
961
  ]),
962
962
  default: T(() => [
963
- c.children ? (g(), S(i, {
963
+ c.children ? (g(), _(i, {
964
964
  key: 0,
965
965
  sideMenuTree: c.children
966
966
  }, null, 8, ["sideMenuTree"])) : $("", !0)
@@ -971,12 +971,12 @@ const $o = /* @__PURE__ */ ne({
971
971
  };
972
972
  }
973
973
  });
974
- const yt = (e, n) => {
974
+ const st = (e, n) => {
975
975
  const t = e.__vccOpts || e;
976
976
  for (const [o, a] of n)
977
977
  t[o] = a;
978
978
  return t;
979
- }, Go = /* @__PURE__ */ yt($o, [["__scopeId", "data-v-652be55f"]]), Ko = /* @__PURE__ */ ne({
979
+ }, Go = /* @__PURE__ */ st($o, [["__scopeId", "data-v-652be55f"]]), Ko = /* @__PURE__ */ ne({
980
980
  __name: "GLayoutSideMenu",
981
981
  setup(e) {
982
982
  rt();
@@ -998,26 +998,26 @@ const yt = (e, n) => {
998
998
  }), []));
999
999
  return (i, u) => {
1000
1000
  const c = j("t-menu"), d = j("t-drawer");
1001
- return g(), S(d, {
1001
+ return g(), _(d, {
1002
1002
  class: Z(`${m(J)}__drawer`),
1003
1003
  size: "232px",
1004
1004
  placement: "left",
1005
1005
  visible: m(l),
1006
- "onUpdate:visible": u[0] || (u[0] = (p) => pt(l) ? l.value = p : null),
1006
+ "onUpdate:visible": u[0] || (u[0] = (p) => gt(l) ? l.value = p : null),
1007
1007
  showOverlay: !0,
1008
1008
  header: !1,
1009
1009
  footer: !1,
1010
1010
  showInAttachedElement: !0
1011
1011
  }, {
1012
1012
  default: T(() => [
1013
- _(c, {
1013
+ S(c, {
1014
1014
  width: "210px",
1015
1015
  theme: m(a),
1016
1016
  value: m(r),
1017
1017
  defaultExpanded: m(s)
1018
1018
  }, {
1019
1019
  default: T(() => [
1020
- _(Go, { sideMenuTree: m(o) }, null, 8, ["sideMenuTree"])
1020
+ S(Go, { sideMenuTree: m(o) }, null, 8, ["sideMenuTree"])
1021
1021
  ]),
1022
1022
  _: 1
1023
1023
  }, 8, ["theme", "value", "defaultExpanded"])
@@ -1036,7 +1036,7 @@ const Wo = /* @__PURE__ */ ne({
1036
1036
  const n = e, t = B(() => ({
1037
1037
  background: Fo(n.value, Oo)["--td-brand-color"]
1038
1038
  }));
1039
- return (o, a) => (g(), Y("div", {
1039
+ return (o, a) => (g(), X("div", {
1040
1040
  style: It(m(t)),
1041
1041
  class: Z(`${m(J)}__color-container`)
1042
1042
  }, null, 6));
@@ -1071,15 +1071,15 @@ const Ho = /* @__PURE__ */ ne({
1071
1071
  };
1072
1072
  return (s, i) => {
1073
1073
  const u = j("t-icon"), c = j("t-radio-button"), d = j("t-radio-group"), p = j("t-drawer");
1074
- return g(), S(p, {
1074
+ return g(), _(p, {
1075
1075
  class: Z(`${m(J)}__setting-panel`),
1076
1076
  visible: m(l),
1077
- "onUpdate:visible": i[2] || (i[2] = (C) => pt(l) ? l.value = C : null),
1077
+ "onUpdate:visible": i[2] || (i[2] = (C) => gt(l) ? l.value = C : null),
1078
1078
  footer: !1
1079
1079
  }, {
1080
1080
  header: T(() => [
1081
- _(u, { name: "setting" }),
1082
- X("系统设置")
1081
+ S(u, { name: "setting" }),
1082
+ Y("系统设置")
1083
1083
  ]),
1084
1084
  default: T(() => [
1085
1085
  ae("div", {
@@ -1088,20 +1088,20 @@ const Ho = /* @__PURE__ */ ne({
1088
1088
  ae("div", {
1089
1089
  class: Z(`${m(J)}__setting-container--title`)
1090
1090
  }, "主题色", 2),
1091
- _(d, {
1091
+ S(d, {
1092
1092
  modelValue: m(a).brandTheme,
1093
1093
  "onUpdate:modelValue": i[0] || (i[0] = (C) => m(a).brandTheme = C),
1094
1094
  onChange: r
1095
1095
  }, {
1096
1096
  default: T(() => [
1097
- (g(!0), Y(ge, null, ke(t.slice(0, t.length - 1), (C, N) => (g(), Y("div", { key: N }, [
1098
- (g(), S(c, {
1097
+ (g(!0), X(ge, null, ke(t.slice(0, t.length - 1), (C, N) => (g(), X("div", { key: N }, [
1098
+ (g(), _(c, {
1099
1099
  key: N,
1100
1100
  value: C,
1101
1101
  class: Z(`${m(J)}__setting-container--color-group`)
1102
1102
  }, {
1103
1103
  default: T(() => [
1104
- _(Wo, { value: C }, null, 8, ["value"])
1104
+ S(Wo, { value: C }, null, 8, ["value"])
1105
1105
  ]),
1106
1106
  _: 2
1107
1107
  }, 1032, ["value", "class"]))
@@ -1112,20 +1112,20 @@ const Ho = /* @__PURE__ */ ne({
1112
1112
  ae("div", {
1113
1113
  class: Z(`${m(J)}__setting-container--title`)
1114
1114
  }, "主题模式", 2),
1115
- _(d, {
1115
+ S(d, {
1116
1116
  modelValue: m(a).displayMode,
1117
1117
  "onUpdate:modelValue": i[1] || (i[1] = (C) => m(a).displayMode = C),
1118
1118
  variant: "default-filled",
1119
1119
  onChange: r
1120
1120
  }, {
1121
1121
  default: T(() => [
1122
- (g(), Y(ge, null, ke(o, (C, N) => ae("div", { key: N }, [
1123
- (g(), S(c, {
1122
+ (g(), X(ge, null, ke(o, (C, N) => ae("div", { key: N }, [
1123
+ (g(), _(c, {
1124
1124
  key: N,
1125
1125
  value: C.type
1126
1126
  }, {
1127
1127
  default: T(() => [
1128
- X(ye(C.text), 1)
1128
+ Y(ye(C.text), 1)
1129
1129
  ]),
1130
1130
  _: 2
1131
1131
  }, 1032, ["value"]))
@@ -1151,17 +1151,17 @@ const Qo = /* @__PURE__ */ ne({
1151
1151
  setup(e) {
1152
1152
  return (n, t) => {
1153
1153
  const o = j("t-card"), a = j("t-content"), l = j("t-layout");
1154
- return g(), Y("div", {
1154
+ return g(), X("div", {
1155
1155
  class: Z(`${m(J)}__layout-main`)
1156
1156
  }, [
1157
- _(l, null, {
1157
+ S(l, null, {
1158
1158
  default: T(() => [
1159
- _(Eo),
1160
- _(a, null, {
1159
+ S(Eo),
1160
+ S(a, null, {
1161
1161
  default: T(() => [
1162
- _(Po, null, {
1162
+ S(Po, null, {
1163
1163
  default: T(() => [
1164
- _(o, {
1164
+ S(o, {
1165
1165
  class: Z(`${m(J)}__card`),
1166
1166
  bordered: !1,
1167
1167
  title: e.title
@@ -1180,8 +1180,8 @@ const Qo = /* @__PURE__ */ ne({
1180
1180
  ]),
1181
1181
  _: 3
1182
1182
  }),
1183
- _(Ko),
1184
- _(Ho)
1183
+ S(Ko),
1184
+ S(Ho)
1185
1185
  ], 2);
1186
1186
  };
1187
1187
  }
@@ -1195,7 +1195,7 @@ const On = /* @__PURE__ */ ne({
1195
1195
  const n = Pe();
1196
1196
  return nt(() => {
1197
1197
  n.loadLocalThemeConfig();
1198
- }), (t, o) => (g(), S(Qo, { title: e.title }, {
1198
+ }), (t, o) => (g(), _(Qo, { title: e.title }, {
1199
1199
  default: T(() => [
1200
1200
  Oe(t.$slots, "default")
1201
1201
  ]),
@@ -1210,14 +1210,14 @@ const On = /* @__PURE__ */ ne({
1210
1210
  setup(e) {
1211
1211
  return (n, t) => {
1212
1212
  const o = j("t-dialog");
1213
- return g(), S(o, Qt({
1213
+ return g(), _(o, Qt({
1214
1214
  class: `${m(J)}__common-dialog`,
1215
1215
  placement: "center"
1216
1216
  }, e.commonDialogProps), Nt({ _: 2 }, [
1217
1217
  ke(n.$slots, (a, l) => ({
1218
1218
  name: l,
1219
1219
  fn: T((r) => [
1220
- Oe(n.$slots, l, Ln(Sn({ ...r })))
1220
+ Oe(n.$slots, l, Ln(_n({ ...r })))
1221
1221
  ])
1222
1222
  }))
1223
1223
  ]), 1040, ["class"]);
@@ -1236,10 +1236,10 @@ const Bn = ot(qo), Fn = /* @__PURE__ */ ne({
1236
1236
  tFormRef: t
1237
1237
  }), (o, a) => {
1238
1238
  const l = j("t-form");
1239
- return g(), Y("div", {
1239
+ return g(), X("div", {
1240
1240
  class: Z(`${m(J)}__common-form`)
1241
1241
  }, [
1242
- _(l, Qt({
1242
+ S(l, Qt({
1243
1243
  ref_key: "tFormRef",
1244
1244
  ref: t,
1245
1245
  class: `${m(J)}__common-form-main`
@@ -1263,20 +1263,20 @@ const Bn = ot(qo), Fn = /* @__PURE__ */ ne({
1263
1263
  };
1264
1264
  }
1265
1265
  });
1266
- const Yo = ot(Fn), Xo = /* @__PURE__ */ ne({
1266
+ const Xo = ot(Fn), Yo = /* @__PURE__ */ ne({
1267
1267
  __name: "index",
1268
1268
  setup(e) {
1269
1269
  return (n, t) => {
1270
1270
  const o = j("t-row");
1271
- return g(), Y("div", {
1271
+ return g(), X("div", {
1272
1272
  class: Z(`${m(J)}__common-header`)
1273
1273
  }, [
1274
- _(o, { justify: "space-between" }, {
1274
+ S(o, { justify: "space-between" }, {
1275
1275
  default: T(() => [
1276
1276
  ae("div", {
1277
1277
  class: Z(`${m(J)}__common-header--left`)
1278
1278
  }, [
1279
- _(o, {
1279
+ S(o, {
1280
1280
  class: Z(`${m(J)}__common-header--left-row`)
1281
1281
  }, {
1282
1282
  default: T(() => [
@@ -1297,7 +1297,7 @@ const Yo = ot(Fn), Xo = /* @__PURE__ */ ne({
1297
1297
  };
1298
1298
  }
1299
1299
  });
1300
- const Un = ot(Xo), Zo = /* @__PURE__ */ ne({
1300
+ const Un = ot(Yo), Zo = /* @__PURE__ */ ne({
1301
1301
  __name: "index",
1302
1302
  props: {
1303
1303
  commonTableProps: null
@@ -1308,10 +1308,10 @@ const Un = ot(Xo), Zo = /* @__PURE__ */ ne({
1308
1308
  tTableRef: t
1309
1309
  }), (o, a) => {
1310
1310
  const l = j("t-enhanced-table");
1311
- return g(), Y("div", {
1311
+ return g(), X("div", {
1312
1312
  class: Z(`${m(J)}__common-table`)
1313
1313
  }, [
1314
- _(l, Qt({
1314
+ S(l, Qt({
1315
1315
  ref_key: "tTableRef",
1316
1316
  ref: t,
1317
1317
  height: "calc(100vh - 300px)",
@@ -1324,7 +1324,7 @@ const Un = ot(Xo), Zo = /* @__PURE__ */ ne({
1324
1324
  ke(o.$slots, (r, s) => ({
1325
1325
  name: s,
1326
1326
  fn: T((i) => [
1327
- Oe(o.$slots, s, Ln(Sn({ ...i })))
1327
+ Oe(o.$slots, s, Ln(_n({ ...i })))
1328
1328
  ])
1329
1329
  }))
1330
1330
  ]), 1040)
@@ -1355,13 +1355,13 @@ function ta() {
1355
1355
  }
1356
1356
  class na {
1357
1357
  constructor(n) {
1358
- ut(this, "sessionId");
1359
- ut(this, "service");
1360
- ut(this, "router");
1358
+ ct(this, "sessionId");
1359
+ ct(this, "service");
1360
+ ct(this, "router");
1361
1361
  this.sessionId = ta, this.service = bo.create(n), this.router = null, this.service.interceptors.request.use(
1362
1362
  (t) => {
1363
1363
  var l, r, s;
1364
- const o = (l = JSON.parse(localStorage.getItem(ht))) == null ? void 0 : l.userInfo, a = ((s = (r = JSON.parse(localStorage.getItem(ht))) == null ? void 0 : r.userInfo) == null ? void 0 : s.language) || "zh-CN";
1364
+ const o = (l = JSON.parse(localStorage.getItem(pt))) == null ? void 0 : l.userInfo, a = ((s = (r = JSON.parse(localStorage.getItem(pt))) == null ? void 0 : r.userInfo) == null ? void 0 : s.language) || "zh-CN";
1365
1365
  if (o) {
1366
1366
  const { token: i, tokenExpiredTime: u } = o;
1367
1367
  t.headers = {
@@ -1416,7 +1416,7 @@ class na {
1416
1416
  this.router = n;
1417
1417
  }
1418
1418
  }
1419
- const We = new na(Jo), st = {
1419
+ const We = new na(Jo), ut = {
1420
1420
  // 视图 - 获取所有视图 GET
1421
1421
  getAllView: "/restapi/s09/gview/boards/all",
1422
1422
  // 视图 - 获取一个视图 GET
@@ -1433,7 +1433,7 @@ const We = new na(Jo), st = {
1433
1433
  confirm: "/restapi/s09/gview/active/confirm",
1434
1434
  // 触发 - 触发批量操作事件 POST
1435
1435
  batch: "/restapi/s09/gview/active/batch"
1436
- }, Rn = (e) => We.get(st.getOneView, e), _t = (e) => We.post(st.getBoardData, e), oa = (e) => We.post(st.confirm, e), aa = (e) => We.post(st.batch, e), la = (e) => We.post(st.activeFile, e), ra = (e) => We.post(st.downloadFile, e), ia = /* @__PURE__ */ ne({
1436
+ }, Rn = (e) => We.get(ut.getOneView, e), St = (e) => We.post(ut.getBoardData, e), oa = (e) => We.post(ut.confirm, e), aa = (e) => We.post(ut.batch, e), la = (e) => We.post(ut.activeFile, e), ra = (e) => We.post(ut.downloadFile, e), ia = /* @__PURE__ */ ne({
1437
1437
  __name: "GHeaderUpload",
1438
1438
  props: {
1439
1439
  formItem: null,
@@ -1444,7 +1444,7 @@ const We = new na(Jo), st = {
1444
1444
  function a(s) {
1445
1445
  var u;
1446
1446
  const { response: i } = s;
1447
- (u = i.data) != null && u.length ? (te.success("上传成功"), l(i.data[0])) : (console.log(i), te.error(`上传失败:${i.message}`));
1447
+ i.state == 200 ? (u = i.data) != null && u.length && (te.success("上传成功"), l(i.data[0])) : (console.log(i), te.error(`上传失败:${i.message}`));
1448
1448
  }
1449
1449
  function l(s) {
1450
1450
  let i = [];
@@ -1454,7 +1454,7 @@ const We = new na(Jo), st = {
1454
1454
  props: {},
1455
1455
  fileUrls: i
1456
1456
  }).then((u) => {
1457
- u.state == 200 ? te.success("导入成功") : te.error("导入失败");
1457
+ u.state == 200 ? te.success("导入成功") : te.error(`导入失败 ${u.message}`);
1458
1458
  });
1459
1459
  }
1460
1460
  function r(s) {
@@ -1462,20 +1462,20 @@ const We = new na(Jo), st = {
1462
1462
  }
1463
1463
  return (s, i) => {
1464
1464
  const u = j("t-icon"), c = j("t-button"), d = j("t-upload");
1465
- return g(), S(d, {
1465
+ return g(), _(d, {
1466
+ class: "HeaderUpload",
1466
1467
  action: m(o),
1467
1468
  onSuccess: a,
1468
1469
  onFail: r,
1469
- showUploadProgress: !1,
1470
1470
  style: { padding: "0 8px 0 0" }
1471
1471
  }, {
1472
1472
  default: T(() => [
1473
- _(c, null, {
1473
+ S(c, null, {
1474
1474
  default: T(() => [
1475
1475
  ae("template", null, [
1476
- _(u, { name: "upload" })
1476
+ S(u, { name: "upload" })
1477
1477
  ]),
1478
- X(" " + ye(e.formItem.name), 1)
1478
+ Y(" " + ye(e.formItem.name), 1)
1479
1479
  ]),
1480
1480
  _: 1
1481
1481
  })
@@ -1485,6 +1485,7 @@ const We = new na(Jo), st = {
1485
1485
  };
1486
1486
  }
1487
1487
  });
1488
+ const sa = /* @__PURE__ */ st(ia, [["__scopeId", "data-v-15e7203e"]]);
1488
1489
  function Ie(e) {
1489
1490
  switch (e) {
1490
1491
  case "check_box":
@@ -1511,7 +1512,7 @@ function Zt(e, n) {
1511
1512
  t.keyName,
1512
1513
  Ie(t.itemType)
1513
1514
  );
1514
- }), ft(e, {});
1515
+ }), ht(e, {});
1515
1516
  {
1516
1517
  let t = {};
1517
1518
  return n.forEach((o) => {
@@ -1520,7 +1521,7 @@ function Zt(e, n) {
1520
1521
  o.keyName,
1521
1522
  Ie(o.itemType)
1522
1523
  );
1523
- }), ft(t, {});
1524
+ }), ht(t, {});
1524
1525
  }
1525
1526
  }
1526
1527
  }
@@ -1577,7 +1578,7 @@ const Ct = /* @__PURE__ */ ne({
1577
1578
  r(Ie(o.value));
1578
1579
  }), (i, u) => {
1579
1580
  const c = j("t-input");
1580
- return g(), S(c, {
1581
+ return g(), _(c, {
1581
1582
  modelValue: l.value,
1582
1583
  "onUpdate:modelValue": u[0] || (u[0] = (d) => l.value = d),
1583
1584
  type: m(a),
@@ -1590,8 +1591,8 @@ const Ct = /* @__PURE__ */ ne({
1590
1591
  };
1591
1592
  }
1592
1593
  });
1593
- async function sa(e, n, t, o) {
1594
- const a = await _t({
1594
+ async function ua(e, n, t, o) {
1595
+ const a = await St({
1595
1596
  viewName: n,
1596
1597
  dataId: t,
1597
1598
  props: o
@@ -1610,8 +1611,8 @@ async function sa(e, n, t, o) {
1610
1611
  } else
1611
1612
  te.error(`获取数据失败:${a.message}`);
1612
1613
  }
1613
- async function ua(e, n, t, o) {
1614
- const a = await _t({
1614
+ async function ca(e, n, t, o) {
1615
+ const a = await St({
1615
1616
  viewName: n,
1616
1617
  dataId: t,
1617
1618
  props: o
@@ -1630,8 +1631,8 @@ async function ua(e, n, t, o) {
1630
1631
  } else
1631
1632
  te.error(`获取数据失败:${a.message}`);
1632
1633
  }
1633
- async function ca(e, n, t, o) {
1634
- const a = await _t({
1634
+ async function da(e, n, t, o) {
1635
+ const a = await St({
1635
1636
  viewName: n,
1636
1637
  dataId: t,
1637
1638
  props: o
@@ -1663,11 +1664,11 @@ function xt(e) {
1663
1664
  let l = {};
1664
1665
  return Object.assign(l, o.value), l;
1665
1666
  });
1666
- return vt(async () => {
1667
+ return yt(async () => {
1667
1668
  switch (e.itemType) {
1668
1669
  case "tree_check_box": {
1669
1670
  const { treeData: l, viewName: r, dataId: s } = e;
1670
- n.value = await ua(
1671
+ n.value = await ca(
1671
1672
  l,
1672
1673
  r,
1673
1674
  s,
@@ -1678,7 +1679,7 @@ function xt(e) {
1678
1679
  case "multi_tree_selector":
1679
1680
  case "tree_selector": {
1680
1681
  const { treeData: l, viewName: r, dataId: s } = e;
1681
- n.value = await sa(
1682
+ n.value = await ua(
1682
1683
  l,
1683
1684
  r,
1684
1685
  s,
@@ -1690,7 +1691,7 @@ function xt(e) {
1690
1691
  case "multi_selector":
1691
1692
  case "radio": {
1692
1693
  const { listData: l, viewName: r, dataId: s } = e;
1693
- n.value = await ca(
1694
+ n.value = await da(
1694
1695
  l,
1695
1696
  r,
1696
1697
  s,
@@ -1756,7 +1757,7 @@ const Jt = /* @__PURE__ */ ne({
1756
1757
  }), (c, d) => {
1757
1758
  var C;
1758
1759
  const p = j("t-select");
1759
- return g(), S(p, {
1760
+ return g(), _(p, {
1760
1761
  modelValue: s.value,
1761
1762
  "onUpdate:modelValue": d[0] || (d[0] = (N) => s.value = N),
1762
1763
  placeholder: `请选择${(C = e.formItem) == null ? void 0 : C.name}`,
@@ -1787,11 +1788,11 @@ const Jt = /* @__PURE__ */ ne({
1787
1788
  }), a = B({
1788
1789
  get() {
1789
1790
  var s;
1790
- return t.modelValue == 0 ? "" : t.modelValue && ((s = t.formItem) == null ? void 0 : s.itemType) == "time_selector" ? Ye(t.modelValue).format("HH:mm:ss") : t.modelValue;
1791
+ return t.modelValue == 0 ? "" : t.modelValue && ((s = t.formItem) == null ? void 0 : s.itemType) == "time_selector" ? Xe(t.modelValue).format("HH:mm:ss") : t.modelValue;
1791
1792
  },
1792
1793
  set(s) {
1793
1794
  var i;
1794
- n("update:modelValue", s), ((i = t.formItem) == null ? void 0 : i.itemType) == "time_selector" && n("update:modelValue", Ye(s, "HH:mm:ss").valueOf());
1795
+ n("update:modelValue", s), ((i = t.formItem) == null ? void 0 : i.itemType) == "time_selector" && n("update:modelValue", Xe(s, "HH:mm:ss").valueOf());
1795
1796
  }
1796
1797
  });
1797
1798
  function l(s) {
@@ -1808,13 +1809,13 @@ const Jt = /* @__PURE__ */ ne({
1808
1809
  ), (s, i) => {
1809
1810
  var d, p, C, N, P, k, h;
1810
1811
  const u = j("t-date-picker"), c = j("t-time-picker");
1811
- return g(), Y(ge, null, [
1812
- ((d = e.formItem) == null ? void 0 : d.itemType) === "date_selector" || ((p = e.formItem) == null ? void 0 : p.itemType) === "date_time_selector" ? (g(), S(u, {
1812
+ return g(), X(ge, null, [
1813
+ ((d = e.formItem) == null ? void 0 : d.itemType) === "date_selector" || ((p = e.formItem) == null ? void 0 : p.itemType) === "date_time_selector" ? (g(), _(u, {
1813
1814
  key: 0,
1814
1815
  "enable-time-picker": ((C = e.formItem) == null ? void 0 : C.itemType) === "date_time_selector",
1815
1816
  placeholder: (N = e.formItem) == null ? void 0 : N.placeholder,
1816
1817
  modelValue: m(a),
1817
- "onUpdate:modelValue": i[0] || (i[0] = (M) => pt(a) ? a.value = M : null),
1818
+ "onUpdate:modelValue": i[0] || (i[0] = (M) => gt(a) ? a.value = M : null),
1818
1819
  format: e.formItem.format || "YYYY-MM-DD HH:mm:ss",
1819
1820
  valueType: "time-stamp",
1820
1821
  disabled: e.disabled,
@@ -1822,11 +1823,11 @@ const Jt = /* @__PURE__ */ ne({
1822
1823
  onChange: l,
1823
1824
  onBlur: r
1824
1825
  }, null, 8, ["enable-time-picker", "placeholder", "modelValue", "format", "disabled"])) : $("", !0),
1825
- ((P = e.formItem) == null ? void 0 : P.itemType) === "time_selector" ? (g(), S(c, {
1826
+ ((P = e.formItem) == null ? void 0 : P.itemType) === "time_selector" ? (g(), _(c, {
1826
1827
  key: 1,
1827
1828
  placeholder: (k = e.formItem) == null ? void 0 : k.placeholder,
1828
1829
  modelValue: m(a),
1829
- "onUpdate:modelValue": i[1] || (i[1] = (M) => pt(a) ? a.value = M : null),
1830
+ "onUpdate:modelValue": i[1] || (i[1] = (M) => gt(a) ? a.value = M : null),
1830
1831
  onChange: l,
1831
1832
  onBlur: r,
1832
1833
  format: ((h = e.formItem) == null ? void 0 : h.format) || "HH:mm:ss",
@@ -1835,7 +1836,7 @@ const Jt = /* @__PURE__ */ ne({
1835
1836
  ], 64);
1836
1837
  };
1837
1838
  }
1838
- }), da = { key: 0 }, ma = { key: 1 }, fa = { key: 2 }, ha = /* @__PURE__ */ ne({
1839
+ }), ma = { key: 0 }, fa = { key: 1 }, ha = { key: 2 }, pa = /* @__PURE__ */ ne({
1839
1840
  __name: "index",
1840
1841
  props: {
1841
1842
  viewName: null,
@@ -1864,22 +1865,22 @@ const Jt = /* @__PURE__ */ ne({
1864
1865
  }
1865
1866
  return (u, c) => {
1866
1867
  const d = j("t-button");
1867
- return g(), S(m(Un), null, Nt({
1868
+ return g(), _(m(Un), null, Nt({
1868
1869
  "left-operations": T(() => [
1869
- (g(!0), Y(ge, null, ke(m(o), (p) => (g(), Y(ge, {
1870
+ (g(!0), X(ge, null, ke(m(o), (p) => (g(), X(ge, {
1870
1871
  key: p.buttonId
1871
1872
  }, [
1872
- p.action == "UPLOAD_FILE" ? (g(), S(ia, {
1873
+ p.action == "UPLOAD_FILE" ? (g(), _(sa, {
1873
1874
  key: 0,
1874
1875
  formItem: p,
1875
1876
  viewName: e.viewName
1876
- }, null, 8, ["formItem", "viewName"])) : (g(), S(d, {
1877
+ }, null, 8, ["formItem", "viewName"])) : (g(), _(d, {
1877
1878
  key: 1,
1878
1879
  theme: "primary",
1879
1880
  onClick: (C) => a(p)
1880
1881
  }, {
1881
1882
  default: T(() => [
1882
- X(ye(p.name), 1)
1883
+ Y(ye(p.name), 1)
1883
1884
  ]),
1884
1885
  _: 2
1885
1886
  }, 1032, ["onClick"]))
@@ -1890,25 +1891,25 @@ const Jt = /* @__PURE__ */ ne({
1890
1891
  m(l) ? {
1891
1892
  name: "right-operations",
1892
1893
  fn: T(() => [
1893
- (g(!0), Y(ge, null, ke(m(l), (p, C) => (g(), Y("div", { key: C }, [
1894
- p.itemType === "text_input" ? (g(), Y("div", da, [
1895
- _(Ct, {
1894
+ (g(!0), X(ge, null, ke(m(l), (p, C) => (g(), X("div", { key: C }, [
1895
+ p.itemType === "text_input" ? (g(), X("div", ma, [
1896
+ S(Ct, {
1896
1897
  formItem: p,
1897
1898
  modelValue: m(ee)(m(r), p.keyName),
1898
1899
  placeholder: p.placeholder,
1899
1900
  "onUpdate:modelValue": (N) => p.keyName && i(p.keyName, N)
1900
1901
  }, null, 8, ["formItem", "modelValue", "placeholder", "onUpdate:modelValue"])
1901
1902
  ])) : $("", !0),
1902
- p.itemType === "selector" ? (g(), Y("div", ma, [
1903
- _(Jt, {
1903
+ p.itemType === "selector" ? (g(), X("div", fa, [
1904
+ S(Jt, {
1904
1905
  modelValue: m(ee)(m(r), p.keyName),
1905
1906
  formItem: p,
1906
1907
  viewName: e.viewName,
1907
1908
  "onUpdate:modelValue": (N) => p.keyName && i(p.keyName, N)
1908
1909
  }, null, 8, ["modelValue", "formItem", "viewName", "onUpdate:modelValue"])
1909
1910
  ])) : $("", !0),
1910
- p.itemType === "date_selector" || p.itemType === "time_selector" || p.itemType === "date_time_selector" ? (g(), Y("div", fa, [
1911
- _(en, {
1911
+ p.itemType === "date_selector" || p.itemType === "time_selector" || p.itemType === "date_time_selector" ? (g(), X("div", ha, [
1912
+ S(en, {
1912
1913
  modelValue: m(ee)(m(r), p.keyName),
1913
1914
  formItem: p,
1914
1915
  viewName: e.viewName,
@@ -1930,9 +1931,9 @@ const Jt = /* @__PURE__ */ ne({
1930
1931
  setup(e) {
1931
1932
  return (n, t) => {
1932
1933
  const o = j("t-tag");
1933
- return g(), S(o, null, {
1934
+ return g(), _(o, null, {
1934
1935
  default: T(() => [
1935
- X(ye(e.modelValue), 1)
1936
+ Y(ye(e.modelValue), 1)
1936
1937
  ]),
1937
1938
  _: 1
1938
1939
  });
@@ -1963,7 +1964,7 @@ const Jt = /* @__PURE__ */ ne({
1963
1964
  }
1964
1965
  return (l, r) => {
1965
1966
  const s = j("t-checkbox");
1966
- return g(), S(s, {
1967
+ return g(), _(s, {
1967
1968
  modelValue: o.value,
1968
1969
  "onUpdate:modelValue": r[0] || (r[0] = (i) => o.value = i),
1969
1970
  onChange: a
@@ -1999,11 +2000,11 @@ const Jt = /* @__PURE__ */ ne({
1999
2000
  () => {
2000
2001
  t.disabled && n("update:modelValue", Ie(o.value));
2001
2002
  }
2002
- ), vt(() => {
2003
+ ), yt(() => {
2003
2004
  n("update:modelValue", Ie(o.value));
2004
2005
  }), (r, s) => {
2005
2006
  const i = j("t-switch");
2006
- return g(), S(i, {
2007
+ return g(), _(i, {
2007
2008
  modelValue: a.value,
2008
2009
  "onUpdate:modelValue": s[0] || (s[0] = (u) => a.value = u),
2009
2010
  onChange: l,
@@ -2055,23 +2056,23 @@ const Jt = /* @__PURE__ */ ne({
2055
2056
  () => {
2056
2057
  t.disabled && n("update:modelValue", Ie(o.value));
2057
2058
  }
2058
- ), vt(() => {
2059
+ ), yt(() => {
2059
2060
  n("update:modelValue", Ie(o.value));
2060
2061
  }), (u, c) => {
2061
2062
  const d = j("t-radio"), p = j("t-radio-group");
2062
- return g(), S(p, {
2063
+ return g(), _(p, {
2063
2064
  modelValue: s.value,
2064
2065
  "onUpdate:modelValue": c[0] || (c[0] = (C) => s.value = C),
2065
2066
  onChange: i,
2066
2067
  disabled: e.disabled
2067
2068
  }, {
2068
2069
  default: T(() => [
2069
- (g(!0), Y(ge, null, ke(m(r), (C) => (g(), S(d, {
2070
+ (g(!0), X(ge, null, ke(m(r), (C) => (g(), _(d, {
2070
2071
  key: C.key,
2071
2072
  value: C.value
2072
2073
  }, {
2073
2074
  default: T(() => [
2074
- X(ye(C.label), 1)
2075
+ Y(ye(C.label), 1)
2075
2076
  ]),
2076
2077
  _: 2
2077
2078
  }, 1032, ["value"]))), 128))
@@ -2134,7 +2135,7 @@ const Jt = /* @__PURE__ */ ne({
2134
2135
  }), (c, d) => {
2135
2136
  var C;
2136
2137
  const p = j("t-tree-select");
2137
- return g(), S(p, {
2138
+ return g(), _(p, {
2138
2139
  modelValue: o.value,
2139
2140
  "onUpdate:modelValue": d[0] || (d[0] = (N) => o.value = N),
2140
2141
  data: m(s),
@@ -2201,7 +2202,7 @@ const Jt = /* @__PURE__ */ ne({
2201
2202
  i(Ie(o.value));
2202
2203
  }), (c, d) => {
2203
2204
  const p = j("t-cascader");
2204
- return g(), S(p, {
2205
+ return g(), _(p, {
2205
2206
  modelValue: s.value,
2206
2207
  "onUpdate:modelValue": d[0] || (d[0] = (C) => s.value = C),
2207
2208
  options: m(r),
@@ -2241,7 +2242,7 @@ const Jt = /* @__PURE__ */ ne({
2241
2242
  return (u, c) => {
2242
2243
  var p, C, N;
2243
2244
  const d = j("t-upload");
2244
- return g(), S(d, {
2245
+ return g(), _(d, {
2245
2246
  ref: "uploadRef",
2246
2247
  theme: "file",
2247
2248
  files: m(o),
@@ -2259,7 +2260,7 @@ const Jt = /* @__PURE__ */ ne({
2259
2260
  };
2260
2261
  }
2261
2262
  });
2262
- var pa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Kt = {}, ga = {
2263
+ var ga = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Kt = {}, va = {
2263
2264
  get exports() {
2264
2265
  return Kt;
2265
2266
  },
@@ -2270,7 +2271,7 @@ var pa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2270
2271
  (function(e, n) {
2271
2272
  (function(t, o) {
2272
2273
  e.exports = o();
2273
- })(pa, function() {
2274
+ })(ga, function() {
2274
2275
  var t, o, a = 1e3, l = 6e4, r = 36e5, s = 864e5, i = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, u = 31536e6, c = 2592e6, d = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, p = { years: u, months: c, days: s, hours: r, minutes: l, seconds: a, milliseconds: 1, weeks: 6048e5 }, C = function(b) {
2275
2276
  return b instanceof v;
2276
2277
  }, N = function(b, y, f) {
@@ -2394,8 +2395,8 @@ var pa = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2394
2395
  };
2395
2396
  };
2396
2397
  });
2397
- })(ga);
2398
- const va = Kt, ya = /* @__PURE__ */ ne({
2398
+ })(va);
2399
+ const ya = Kt, ba = /* @__PURE__ */ ne({
2399
2400
  __name: "GFormSelectDelay",
2400
2401
  props: {
2401
2402
  modelValue: null,
@@ -2407,20 +2408,20 @@ const va = Kt, ya = /* @__PURE__ */ ne({
2407
2408
  emits: ["update:modelValue", "blur:modelValue"],
2408
2409
  setup(e, { emit: n }) {
2409
2410
  const t = e;
2410
- Ye.extend(va);
2411
+ Xe.extend(ya);
2411
2412
  const o = B(() => {
2412
2413
  var s;
2413
2414
  return (s = t.formItem) == null ? void 0 : s.itemType;
2414
2415
  }), a = B({
2415
2416
  get() {
2416
- return t.modelValue == 0 || gt(t.modelValue) ? "" : Ye.duration(t.modelValue).format("HH:mm:ss");
2417
+ return t.modelValue == 0 || vt(t.modelValue) ? "" : Xe.duration(t.modelValue).format("HH:mm:ss");
2417
2418
  },
2418
2419
  set(s) {
2419
2420
  }
2420
2421
  });
2421
2422
  function l(s) {
2422
2423
  if (s) {
2423
- const i = s.split(":"), [u, c, d] = i, p = Ye.duration({
2424
+ const i = s.split(":"), [u, c, d] = i, p = Xe.duration({
2424
2425
  hours: u,
2425
2426
  minutes: c,
2426
2427
  seconds: d
@@ -2430,7 +2431,7 @@ const va = Kt, ya = /* @__PURE__ */ ne({
2430
2431
  n("update:modelValue", "");
2431
2432
  }
2432
2433
  function r(s) {
2433
- const { value: i } = s, u = i.split(":"), [c, d, p] = u, C = Ye.duration({
2434
+ const { value: i } = s, u = i.split(":"), [c, d, p] = u, C = Xe.duration({
2434
2435
  hours: c,
2435
2436
  minutes: d,
2436
2437
  seconds: p
@@ -2445,10 +2446,10 @@ const va = Kt, ya = /* @__PURE__ */ ne({
2445
2446
  ), (s, i) => {
2446
2447
  var c;
2447
2448
  const u = j("t-time-picker");
2448
- return g(), S(u, {
2449
+ return g(), _(u, {
2449
2450
  placeholder: (c = e.formItem) == null ? void 0 : c.placeholder,
2450
2451
  modelValue: m(a),
2451
- "onUpdate:modelValue": i[0] || (i[0] = (d) => pt(a) ? a.value = d : null),
2452
+ "onUpdate:modelValue": i[0] || (i[0] = (d) => gt(a) ? a.value = d : null),
2452
2453
  onChange: l,
2453
2454
  onBlur: r,
2454
2455
  clearable: "",
@@ -2457,7 +2458,7 @@ const va = Kt, ya = /* @__PURE__ */ ne({
2457
2458
  };
2458
2459
  }
2459
2460
  });
2460
- const ba = /* @__PURE__ */ ne({
2461
+ const wa = /* @__PURE__ */ ne({
2461
2462
  __name: "GFormEditor",
2462
2463
  props: {
2463
2464
  modelValue: null,
@@ -2519,16 +2520,16 @@ const ba = /* @__PURE__ */ ne({
2519
2520
  }
2520
2521
  ), et(() => {
2521
2522
  n("update:modelValue", "");
2522
- }), (k, h) => (g(), Y("div", {
2523
+ }), (k, h) => (g(), X("div", {
2523
2524
  class: Z(["editor", `${d.value ? "editor--focused" : ""}`])
2524
2525
  }, [
2525
- _(m(Mo), {
2526
+ S(m(Mo), {
2526
2527
  class: "editor__toolbar",
2527
2528
  editor: m(l),
2528
2529
  defaultConfig: r,
2529
2530
  mode: a.value
2530
2531
  }, null, 8, ["editor", "mode"]),
2531
- _(m(To), {
2532
+ S(m(To), {
2532
2533
  class: "editor__main",
2533
2534
  style: { height: "300px" },
2534
2535
  defaultConfig: s,
@@ -2544,8 +2545,8 @@ const ba = /* @__PURE__ */ ne({
2544
2545
  ], 2));
2545
2546
  }
2546
2547
  });
2547
- const wa = /* @__PURE__ */ yt(ba, [["__scopeId", "data-v-9a205ae7"]]);
2548
- function Yn(e = {}) {
2548
+ const Ma = /* @__PURE__ */ st(wa, [["__scopeId", "data-v-9a205ae7"]]);
2549
+ function Xn(e = {}) {
2549
2550
  function n(o, a = {}) {
2550
2551
  if (!xe(o) && o !== 1) {
2551
2552
  let l, r;
@@ -2574,7 +2575,7 @@ function Yn(e = {}) {
2574
2575
  handleItemDisableIf: t
2575
2576
  };
2576
2577
  }
2577
- const Ma = /* @__PURE__ */ ne({
2578
+ const Ta = /* @__PURE__ */ ne({
2578
2579
  __name: "GFormTagInput",
2579
2580
  props: {
2580
2581
  inputType: null,
@@ -2619,49 +2620,49 @@ const Ma = /* @__PURE__ */ ne({
2619
2620
  l(Ie(o.value));
2620
2621
  }), (c, d) => {
2621
2622
  const p = j("t-button"), C = j("t-input"), N = j("t-input-group"), P = j("t-space");
2622
- return g(), S(P, null, {
2623
+ return g(), _(P, null, {
2623
2624
  default: T(() => [
2624
- e.modelValue.length == 0 ? (g(), S(p, {
2625
+ e.modelValue.length == 0 ? (g(), _(p, {
2625
2626
  key: 0,
2626
2627
  onClick: r,
2627
2628
  variant: "outline"
2628
2629
  }, {
2629
2630
  default: T(() => [
2630
- X("添加标签")
2631
+ Y("添加标签")
2631
2632
  ]),
2632
2633
  _: 1
2633
- })) : (g(), S(P, {
2634
+ })) : (g(), _(P, {
2634
2635
  key: 1,
2635
2636
  direction: "vertical"
2636
2637
  }, {
2637
2638
  default: T(() => [
2638
- (g(!0), Y(ge, null, ke(e.modelValue, (k, h) => (g(), S(N, { key: h }, {
2639
+ (g(!0), X(ge, null, ke(e.modelValue, (k, h) => (g(), _(N, { key: h }, {
2639
2640
  default: T(() => [
2640
- _(C, {
2641
+ S(C, {
2641
2642
  style: { width: "200px" },
2642
2643
  value: k,
2643
2644
  onChange: (M) => s(M, h),
2644
2645
  onBlur: u,
2645
2646
  clearable: ""
2646
2647
  }, null, 8, ["value", "onChange"]),
2647
- _(p, {
2648
+ S(p, {
2648
2649
  variant: "outline",
2649
2650
  theme: "default",
2650
2651
  onClick: (M) => i(h)
2651
2652
  }, {
2652
2653
  default: T(() => [
2653
- X("- ")
2654
+ Y("- ")
2654
2655
  ]),
2655
2656
  _: 2
2656
2657
  }, 1032, ["onClick"]),
2657
- h == e.modelValue.length - 1 ? (g(), S(p, {
2658
+ h == e.modelValue.length - 1 ? (g(), _(p, {
2658
2659
  key: 0,
2659
2660
  variant: "outline",
2660
2661
  theme: "default",
2661
2662
  onClick: r
2662
2663
  }, {
2663
2664
  default: T(() => [
2664
- X("+ ")
2665
+ Y("+ ")
2665
2666
  ]),
2666
2667
  _: 1
2667
2668
  })) : $("", !0)
@@ -2676,7 +2677,7 @@ const Ma = /* @__PURE__ */ ne({
2676
2677
  });
2677
2678
  };
2678
2679
  }
2679
- }), Ta = ["id"], ka = /* @__PURE__ */ ne({
2680
+ }), ka = ["id"], Ca = /* @__PURE__ */ ne({
2680
2681
  __name: "GFormItem",
2681
2682
  props: {
2682
2683
  formItem: null,
@@ -2685,7 +2686,7 @@ const Ma = /* @__PURE__ */ ne({
2685
2686
  },
2686
2687
  emits: ["after-update-value"],
2687
2688
  setup(e, { expose: n, emit: t }) {
2688
- const o = e, a = B(() => o.formModel), { handleItemShowIf: l, handleItemDisableIf: r } = Yn({ formModel: a });
2689
+ const o = e, a = B(() => o.formModel), { handleItemShowIf: l, handleItemDisableIf: r } = Xn({ formModel: a });
2689
2690
  function s(C, N) {
2690
2691
  t("after-update-value", C, N);
2691
2692
  }
@@ -2706,21 +2707,21 @@ const Ma = /* @__PURE__ */ ne({
2706
2707
  setBlockShowFlag: d
2707
2708
  }), (C, N) => {
2708
2709
  const P = j("t-divider"), k = j("t-form-item");
2709
- return g(), Y("div", {
2710
+ return g(), X("div", {
2710
2711
  ref: "formItemRef",
2711
2712
  class: Z(`${m(J)}__form-item`),
2712
2713
  id: m(p)
2713
2714
  }, [
2714
- u.value ? (g(), Y(ge, { key: 0 }, [
2715
- e.formItem.itemType === "line" && e.formItem.name && m(l)(e.formItem.showIf, e.formItem) ? (g(), S(P, {
2715
+ u.value ? (g(), X(ge, { key: 0 }, [
2716
+ e.formItem.itemType === "line" && e.formItem.name && m(l)(e.formItem.showIf, e.formItem) ? (g(), _(P, {
2716
2717
  key: 0,
2717
2718
  align: "left"
2718
2719
  }, {
2719
2720
  default: T(() => [
2720
- X(ye(e.formItem.name), 1)
2721
+ Y(ye(e.formItem.name), 1)
2721
2722
  ]),
2722
2723
  _: 1
2723
- })) : e.formItem.itemType !== "hidden" && m(l)(e.formItem.showIf, e.formItem) ? (g(), S(k, {
2724
+ })) : e.formItem.itemType !== "hidden" && m(l)(e.formItem.showIf, e.formItem) ? (g(), _(k, {
2724
2725
  key: 1,
2725
2726
  ref: `item_${e.formItem.keyName}`,
2726
2727
  id: e.formItem.keyName,
@@ -2731,11 +2732,11 @@ const Ma = /* @__PURE__ */ ne({
2731
2732
  default: T(() => {
2732
2733
  var h, M, x;
2733
2734
  return [
2734
- e.formItem.itemType === "label" ? (g(), S($n, {
2735
+ e.formItem.itemType === "label" ? (g(), _($n, {
2735
2736
  key: 0,
2736
2737
  modelValue: m(ee)(m(a), e.formItem.keyName)
2737
2738
  }, null, 8, ["modelValue"])) : $("", !0),
2738
- e.formItem.itemType === "text_input" && e.formItem.inputType != "RE_PASSWORD" ? (g(), S(Ct, {
2739
+ e.formItem.itemType === "text_input" && e.formItem.inputType != "RE_PASSWORD" ? (g(), _(Ct, {
2739
2740
  key: 1,
2740
2741
  formItem: e.formItem,
2741
2742
  inputType: (M = (h = e.formItem) == null ? void 0 : h.inputType) == null ? void 0 : M.toLowerCase(),
@@ -2744,7 +2745,7 @@ const Ma = /* @__PURE__ */ ne({
2744
2745
  disabled: m(i),
2745
2746
  "onUpdate:modelValue": N[0] || (N[0] = (v) => s(e.formItem.keyName, v))
2746
2747
  }, null, 8, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : $("", !0),
2747
- e.formItem.itemType === "text_input" && e.formItem.inputType == "RE_PASSWORD" ? (g(), S(Ct, {
2748
+ e.formItem.itemType === "text_input" && e.formItem.inputType == "RE_PASSWORD" ? (g(), _(Ct, {
2748
2749
  key: 2,
2749
2750
  formItem: e.formItem,
2750
2751
  inputType: e.formItem.inputType.toLowerCase(),
@@ -2753,13 +2754,13 @@ const Ma = /* @__PURE__ */ ne({
2753
2754
  disabled: m(i),
2754
2755
  "onUpdate:modelValue": N[1] || (N[1] = (v) => s("rePassword", v))
2755
2756
  }, null, 8, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : $("", !0),
2756
- e.formItem.itemType === "check_box" ? (g(), S(Gn, {
2757
+ e.formItem.itemType === "check_box" ? (g(), _(Gn, {
2757
2758
  key: 3,
2758
2759
  modelValue: m(ee)(m(a), e.formItem.keyName, !1),
2759
2760
  disabled: m(i),
2760
2761
  "onUpdate:modelValue": N[2] || (N[2] = (v) => s(e.formItem.keyName, v))
2761
2762
  }, null, 8, ["modelValue", "disabled"])) : $("", !0),
2762
- e.formItem.itemType === "switch" ? (g(), S(Kn, {
2763
+ e.formItem.itemType === "switch" ? (g(), _(Kn, {
2763
2764
  key: 4,
2764
2765
  formItem: e.formItem,
2765
2766
  viewName: e.viewName,
@@ -2767,7 +2768,7 @@ const Ma = /* @__PURE__ */ ne({
2767
2768
  disabled: m(i),
2768
2769
  "onUpdate:modelValue": N[3] || (N[3] = (v) => s(e.formItem.keyName, v))
2769
2770
  }, null, 8, ["formItem", "viewName", "modelValue", "disabled"])) : $("", !0),
2770
- e.formItem.itemType === "radio" ? (g(), S(Wn, {
2771
+ e.formItem.itemType === "radio" ? (g(), _(Wn, {
2771
2772
  key: 5,
2772
2773
  modelValue: m(ee)(m(a), e.formItem.keyName),
2773
2774
  formItem: e.formItem,
@@ -2775,7 +2776,7 @@ const Ma = /* @__PURE__ */ ne({
2775
2776
  disabled: m(i),
2776
2777
  "onUpdate:modelValue": N[4] || (N[4] = (v) => s(e.formItem.keyName, v))
2777
2778
  }, null, 8, ["modelValue", "formItem", "viewName", "disabled"])) : $("", !0),
2778
- e.formItem.itemType === "selector" || e.formItem.itemType === "multi_selector" ? (g(), S(Jt, {
2779
+ e.formItem.itemType === "selector" || e.formItem.itemType === "multi_selector" ? (g(), _(Jt, {
2779
2780
  key: e.formItem.listData.dataId,
2780
2781
  modelValue: m(ee)(m(a), e.formItem.keyName),
2781
2782
  formItem: e.formItem,
@@ -2784,7 +2785,7 @@ const Ma = /* @__PURE__ */ ne({
2784
2785
  disabled: m(i),
2785
2786
  "onUpdate:modelValue": N[5] || (N[5] = (v) => s(e.formItem.keyName, v))
2786
2787
  }, null, 8, ["modelValue", "formItem", "viewName", "multiple", "disabled"])) : $("", !0),
2787
- e.formItem.itemType === "date_selector" || e.formItem.itemType === "time_selector" || e.formItem.itemType === "date_time_selector" ? (g(), S(en, {
2788
+ e.formItem.itemType === "date_selector" || e.formItem.itemType === "time_selector" || e.formItem.itemType === "date_time_selector" ? (g(), _(en, {
2788
2789
  key: 7,
2789
2790
  modelValue: m(ee)(m(a), e.formItem.keyName),
2790
2791
  formItem: e.formItem,
@@ -2792,7 +2793,7 @@ const Ma = /* @__PURE__ */ ne({
2792
2793
  disabled: m(i),
2793
2794
  "onUpdate:modelValue": N[6] || (N[6] = (v) => s(e.formItem.keyName, v))
2794
2795
  }, null, 8, ["modelValue", "formItem", "viewName", "disabled"])) : $("", !0),
2795
- e.formItem.itemType == "delay_selector" ? (g(), S(ya, {
2796
+ e.formItem.itemType == "delay_selector" ? (g(), _(ba, {
2796
2797
  key: 8,
2797
2798
  modelValue: m(ee)(m(a), e.formItem.keyName),
2798
2799
  formItem: e.formItem,
@@ -2800,7 +2801,7 @@ const Ma = /* @__PURE__ */ ne({
2800
2801
  disabled: m(i),
2801
2802
  "onUpdate:modelValue": N[7] || (N[7] = (v) => s(e.formItem.keyName, v))
2802
2803
  }, null, 8, ["modelValue", "formItem", "viewName", "disabled"])) : $("", !0),
2803
- e.formItem.itemType === "tree_check_box" ? (g(), S(Hn, {
2804
+ e.formItem.itemType === "tree_check_box" ? (g(), _(Hn, {
2804
2805
  key: 9,
2805
2806
  modelValue: m(ee)(m(a), e.formItem.keyName),
2806
2807
  formItem: e.formItem,
@@ -2808,7 +2809,7 @@ const Ma = /* @__PURE__ */ ne({
2808
2809
  disabled: m(i),
2809
2810
  "onUpdate:modelValue": N[8] || (N[8] = (v) => s(e.formItem.keyName, v))
2810
2811
  }, null, 8, ["modelValue", "formItem", "viewName", "disabled"])) : $("", !0),
2811
- e.formItem.itemType === "multi_tree_selector" || e.formItem.itemType === "tree_selector" ? (g(), S(Qn, {
2812
+ e.formItem.itemType === "multi_tree_selector" || e.formItem.itemType === "tree_selector" ? (g(), _(Qn, {
2812
2813
  key: 10,
2813
2814
  modelValue: m(ee)(m(a), e.formItem.keyName),
2814
2815
  formItem: e.formItem,
@@ -2817,7 +2818,7 @@ const Ma = /* @__PURE__ */ ne({
2817
2818
  disabled: m(i),
2818
2819
  "onUpdate:modelValue": N[9] || (N[9] = (v) => s(e.formItem.keyName, v))
2819
2820
  }, null, 8, ["modelValue", "formItem", "viewName", "multiple", "disabled"])) : $("", !0),
2820
- e.formItem.itemType === "file" ? (g(), S(qn, {
2821
+ e.formItem.itemType === "file" ? (g(), _(qn, {
2821
2822
  key: 11,
2822
2823
  modelValue: m(ee)(m(a), e.formItem.keyName),
2823
2824
  formItem: e.formItem,
@@ -2827,7 +2828,7 @@ const Ma = /* @__PURE__ */ ne({
2827
2828
  "onUpdate:fileName": N[10] || (N[10] = (v) => e.formItem.filenameKeyName && s(e.formItem.filenameKeyName, v)),
2828
2829
  "onUpdate:modelValue": N[11] || (N[11] = (v) => s(e.formItem.keyName, v))
2829
2830
  }, null, 8, ["modelValue", "formItem", "viewName", "disabled", "fileName"])) : $("", !0),
2830
- e.formItem.itemType === "tag" ? (g(), S(Ma, {
2831
+ e.formItem.itemType === "tag" ? (g(), _(Ta, {
2831
2832
  key: 12,
2832
2833
  modelValue: m(ee)(m(a), e.formItem.keyName),
2833
2834
  formItem: e.formItem,
@@ -2835,7 +2836,7 @@ const Ma = /* @__PURE__ */ ne({
2835
2836
  disabled: m(i),
2836
2837
  "onUpdate:modelValue": N[12] || (N[12] = (v) => s(e.formItem.keyName, v))
2837
2838
  }, null, 8, ["modelValue", "formItem", "viewName", "disabled"])) : $("", !0),
2838
- e.formItem.itemType === "rich_text" ? (g(), S(wa, {
2839
+ e.formItem.itemType === "rich_text" ? (g(), _(Ma, {
2839
2840
  key: 13,
2840
2841
  modelValue: m(ee)(m(a), e.formItem.keyName),
2841
2842
  formItem: e.formItem,
@@ -2848,10 +2849,10 @@ const Ma = /* @__PURE__ */ ne({
2848
2849
  _: 1
2849
2850
  }, 8, ["id", "requiredMark", "label", "name"])) : $("", !0)
2850
2851
  ], 64)) : $("", !0)
2851
- ], 10, Ta);
2852
+ ], 10, ka);
2852
2853
  };
2853
2854
  }
2854
- }), Ca = ["id"], Ia = /* @__PURE__ */ ne({
2855
+ }), Ia = ["id"], Na = /* @__PURE__ */ ne({
2855
2856
  __name: "GFormBlock",
2856
2857
  props: {
2857
2858
  name: null,
@@ -2874,7 +2875,7 @@ const Ma = /* @__PURE__ */ ne({
2874
2875
  u.length && n("block-show-if-change", t.name, u, i);
2875
2876
  }
2876
2877
  }
2877
- return vt(() => {
2878
+ return yt(() => {
2878
2879
  a();
2879
2880
  }), nt(() => {
2880
2881
  r();
@@ -2883,13 +2884,13 @@ const Ma = /* @__PURE__ */ ne({
2883
2884
  () => {
2884
2885
  a(), r();
2885
2886
  }
2886
- ), (s, i) => (g(), Y("div", {
2887
+ ), (s, i) => (g(), X("div", {
2887
2888
  id: o.value,
2888
2889
  ref_key: "blockRef",
2889
2890
  ref: l
2890
- }, null, 8, Ca));
2891
+ }, null, 8, Ia));
2891
2892
  }
2892
- }), Na = /* @__PURE__ */ ne({
2893
+ }), La = /* @__PURE__ */ ne({
2893
2894
  __name: "index",
2894
2895
  props: {
2895
2896
  viewName: null,
@@ -2901,7 +2902,7 @@ const Ma = /* @__PURE__ */ ne({
2901
2902
  const t = e, o = B(() => {
2902
2903
  var b;
2903
2904
  return (b = t.board) == null ? void 0 : b.formItems;
2904
- }), a = Q({}), { handleItemShowIf: l } = Yn({ formModel: a });
2905
+ }), a = Q({}), { handleItemShowIf: l } = Xn({ formModel: a });
2905
2906
  be(
2906
2907
  () => t.formData,
2907
2908
  () => {
@@ -3022,7 +3023,7 @@ const Ma = /* @__PURE__ */ ne({
3022
3023
  }
3023
3024
  return (b, y) => {
3024
3025
  const f = j("t-button");
3025
- return g(), S(Fn, {
3026
+ return g(), _(Fn, {
3026
3027
  ref_key: "commonFormRef",
3027
3028
  ref: r,
3028
3029
  commonFormProps: {
@@ -3033,10 +3034,10 @@ const Ma = /* @__PURE__ */ ne({
3033
3034
  }
3034
3035
  }, {
3035
3036
  body: T(() => [
3036
- (g(!0), Y(ge, null, ke(m(o), (w) => (g(), Y(ge, {
3037
+ (g(!0), X(ge, null, ke(m(o), (w) => (g(), X(ge, {
3037
3038
  key: `${w.name}_${w.keyName}`
3038
3039
  }, [
3039
- w.itemType === "block_start" || w.itemType === "block_end" ? (g(), S(Ia, {
3040
+ w.itemType === "block_start" || w.itemType === "block_end" ? (g(), _(Na, {
3040
3041
  key: 0,
3041
3042
  ref_for: !0,
3042
3043
  ref_key: "formBlockRef",
@@ -3045,7 +3046,7 @@ const Ma = /* @__PURE__ */ ne({
3045
3046
  blockType: w.itemType,
3046
3047
  showIf: m(l)(w.showIf),
3047
3048
  onBlockShowIfChange: C
3048
- }, null, 8, ["name", "blockType", "showIf"])) : (g(), S(ka, {
3049
+ }, null, 8, ["name", "blockType", "showIf"])) : (g(), _(Ca, {
3049
3050
  key: 1,
3050
3051
  ref_for: !0,
3051
3052
  ref_key: "formItemRef",
@@ -3060,7 +3061,7 @@ const Ma = /* @__PURE__ */ ne({
3060
3061
  footer: T(() => {
3061
3062
  var w, E;
3062
3063
  return [
3063
- m(M) && ((w = m(M)) == null ? void 0 : w.name) !== "" ? (g(), S(f, {
3064
+ m(M) && ((w = m(M)) == null ? void 0 : w.name) !== "" ? (g(), _(f, {
3064
3065
  key: 0,
3065
3066
  theme: "default",
3066
3067
  onClick: y[0] || (y[0] = (R) => m(M) && v(m(M)))
@@ -3068,12 +3069,12 @@ const Ma = /* @__PURE__ */ ne({
3068
3069
  default: T(() => {
3069
3070
  var R;
3070
3071
  return [
3071
- X(ye((R = m(M)) == null ? void 0 : R.name), 1)
3072
+ Y(ye((R = m(M)) == null ? void 0 : R.name), 1)
3072
3073
  ];
3073
3074
  }),
3074
3075
  _: 1
3075
3076
  })) : $("", !0),
3076
- m(h) && ((E = m(h)) == null ? void 0 : E.name) !== "" ? (g(), S(f, {
3077
+ m(h) && ((E = m(h)) == null ? void 0 : E.name) !== "" ? (g(), _(f, {
3077
3078
  key: 1,
3078
3079
  theme: "primary",
3079
3080
  onClick: y[1] || (y[1] = (R) => m(h) && v(m(h)))
@@ -3081,7 +3082,7 @@ const Ma = /* @__PURE__ */ ne({
3081
3082
  default: T(() => {
3082
3083
  var R;
3083
3084
  return [
3084
- X(ye((R = m(h)) == null ? void 0 : R.name), 1)
3085
+ Y(ye((R = m(h)) == null ? void 0 : R.name), 1)
3085
3086
  ];
3086
3087
  }),
3087
3088
  _: 1
@@ -3092,7 +3093,7 @@ const Ma = /* @__PURE__ */ ne({
3092
3093
  }, 8, ["commonFormProps"]);
3093
3094
  };
3094
3095
  }
3095
- }), La = /* @__PURE__ */ ne({
3096
+ }), _a = /* @__PURE__ */ ne({
3096
3097
  __name: "GTableForm",
3097
3098
  props: {
3098
3099
  col: null,
@@ -3111,19 +3112,19 @@ const Ma = /* @__PURE__ */ ne({
3111
3112
  function r(s, i) {
3112
3113
  n("blur", s, a.value);
3113
3114
  }
3114
- return (s, i) => (g(), Y("div", {
3115
+ return (s, i) => (g(), X("div", {
3115
3116
  class: Z(`${m(J)}__table-form`)
3116
3117
  }, [
3117
- (g(!0), Y(ge, null, ke(m(o), (u) => {
3118
+ (g(!0), X(ge, null, ke(m(o), (u) => {
3118
3119
  var c;
3119
- return g(), Y("div", {
3120
+ return g(), X("div", {
3120
3121
  key: u.keyName
3121
3122
  }, [
3122
- u.itemType === "label" ? (g(), S($n, {
3123
+ u.itemType === "label" ? (g(), _($n, {
3123
3124
  key: 0,
3124
3125
  modelValue: m(ee)(m(a), e.col.colKey)
3125
3126
  }, null, 8, ["modelValue"])) : $("", !0),
3126
- u.itemType == "text_input" ? (g(), S(Ct, {
3127
+ u.itemType == "text_input" ? (g(), _(Ct, {
3127
3128
  key: 1,
3128
3129
  formItem: u,
3129
3130
  viewName: e.viewName,
@@ -3133,7 +3134,7 @@ const Ma = /* @__PURE__ */ ne({
3133
3134
  "onUpdate:modelValue": i[0] || (i[0] = (d) => e.col.colKey && l(e.col.colKey, d)),
3134
3135
  "onBlur:modelValue": (d) => r(u)
3135
3136
  }, null, 8, ["formItem", "viewName", "inputType", "originValue", "modelValue", "onBlur:modelValue"])) : $("", !0),
3136
- u.itemType === "check_box" ? (g(), S(Gn, {
3137
+ u.itemType === "check_box" ? (g(), _(Gn, {
3137
3138
  key: 2,
3138
3139
  formItem: u,
3139
3140
  viewName: e.viewName,
@@ -3142,7 +3143,7 @@ const Ma = /* @__PURE__ */ ne({
3142
3143
  "onUpdate:modelValue": i[1] || (i[1] = (d) => e.col.colKey && l(e.col.colKey, d)),
3143
3144
  "onBlur:modelValue": (d) => r(u)
3144
3145
  }, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : $("", !0),
3145
- u.itemType === "switch" ? (g(), S(Kn, {
3146
+ u.itemType === "switch" ? (g(), _(Kn, {
3146
3147
  key: 3,
3147
3148
  formItem: u,
3148
3149
  viewName: e.viewName,
@@ -3151,7 +3152,7 @@ const Ma = /* @__PURE__ */ ne({
3151
3152
  "onUpdate:modelValue": i[2] || (i[2] = (d) => e.col.colKey && l(e.col.colKey, d)),
3152
3153
  "onBlur:modelValue": (d) => r(u)
3153
3154
  }, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : $("", !0),
3154
- u.itemType === "radio" ? (g(), S(Wn, {
3155
+ u.itemType === "radio" ? (g(), _(Wn, {
3155
3156
  key: 4,
3156
3157
  originValue: m(ee)(e.row, e.col.colKey),
3157
3158
  modelValue: m(ee)(m(a), e.col.colKey),
@@ -3160,7 +3161,7 @@ const Ma = /* @__PURE__ */ ne({
3160
3161
  "onUpdate:modelValue": i[3] || (i[3] = (d) => e.col.colKey && l(e.col.colKey, d)),
3161
3162
  "onBlur:modelValue": (d) => r(u)
3162
3163
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : $("", !0),
3163
- u.itemType === "selector" || u.itemType === "multi_selector" ? (g(), S(Jt, {
3164
+ u.itemType === "selector" || u.itemType === "multi_selector" ? (g(), _(Jt, {
3164
3165
  key: 5,
3165
3166
  originValue: m(ee)(e.row, e.col.colKey),
3166
3167
  modelValue: m(ee)(m(a), e.col.colKey),
@@ -3170,7 +3171,7 @@ const Ma = /* @__PURE__ */ ne({
3170
3171
  "onUpdate:modelValue": i[4] || (i[4] = (d) => e.col.colKey && l(e.col.colKey, d)),
3171
3172
  "onBlur:modelValue": (d) => r(u)
3172
3173
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : $("", !0),
3173
- u.itemType === "date_selector" || u.itemType === "time_selector" || u.itemType === "date_time_selector" ? (g(), S(en, {
3174
+ u.itemType === "date_selector" || u.itemType === "time_selector" || u.itemType === "date_time_selector" ? (g(), _(en, {
3174
3175
  key: 6,
3175
3176
  originValue: m(ee)(e.row, e.col.colKey),
3176
3177
  modelValue: m(ee)(m(a), e.col.colKey),
@@ -3179,7 +3180,7 @@ const Ma = /* @__PURE__ */ ne({
3179
3180
  "onUpdate:modelValue": i[5] || (i[5] = (d) => e.col.colKey && l(e.col.colKey, d)),
3180
3181
  "onBlur:modelValue": (d) => r(u)
3181
3182
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : $("", !0),
3182
- u.itemType === "tree_check_box" ? (g(), S(Hn, {
3183
+ u.itemType === "tree_check_box" ? (g(), _(Hn, {
3183
3184
  key: 7,
3184
3185
  originValue: m(ee)(e.row, e.col.colKey),
3185
3186
  modelValue: m(ee)(m(a), e.col.colKey),
@@ -3188,7 +3189,7 @@ const Ma = /* @__PURE__ */ ne({
3188
3189
  "onUpdate:modelValue": i[6] || (i[6] = (d) => e.col.colKey && l(e.col.colKey, d)),
3189
3190
  "onBlur:modelValue": (d) => r(u)
3190
3191
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : $("", !0),
3191
- u.itemType === "multi_tree_selector" || u.itemType === "tree_selector" ? (g(), S(Qn, {
3192
+ u.itemType === "multi_tree_selector" || u.itemType === "tree_selector" ? (g(), _(Qn, {
3192
3193
  key: 8,
3193
3194
  originValue: m(ee)(e.row, e.col.colKey),
3194
3195
  modelValue: m(ee)(m(a), e.col.colKey),
@@ -3198,7 +3199,7 @@ const Ma = /* @__PURE__ */ ne({
3198
3199
  "onUpdate:modelValue": i[7] || (i[7] = (d) => e.col.colKey && l(e.col.colKey, d)),
3199
3200
  "onBlur:modelValue": (d) => r(u)
3200
3201
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : $("", !0),
3201
- u.itemType === "file" ? (g(), S(qn, {
3202
+ u.itemType === "file" ? (g(), _(qn, {
3202
3203
  key: 9,
3203
3204
  modelValue: m(ee)(m(a), e.col.colKey),
3204
3205
  formItem: u,
@@ -3212,7 +3213,7 @@ const Ma = /* @__PURE__ */ ne({
3212
3213
  ], 2));
3213
3214
  }
3214
3215
  });
3215
- function Xn(e = {}) {
3216
+ function Yn(e = {}) {
3216
3217
  const n = Q(!1);
3217
3218
  return {
3218
3219
  reloadFlag: n,
@@ -3274,7 +3275,7 @@ function vn(e, n) {
3274
3275
  }
3275
3276
  return t;
3276
3277
  }
3277
- function _a(e, n) {
3278
+ function xa(e, n) {
3278
3279
  var t = n.dir || n.root, o = n.base || (n.name || "") + (n.ext || "");
3279
3280
  return t ? t === n.root ? t + o : t + e + o : o;
3280
3281
  }
@@ -3401,7 +3402,7 @@ var Je = {
3401
3402
  format: function(n) {
3402
3403
  if (n === null || typeof n != "object")
3403
3404
  throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof n);
3404
- return _a("/", n);
3405
+ return xa("/", n);
3405
3406
  },
3406
3407
  parse: function(n) {
3407
3408
  Be(n);
@@ -3430,8 +3431,8 @@ var Je = {
3430
3431
  posix: null
3431
3432
  };
3432
3433
  Je.posix = Je;
3433
- const xa = Je.extname, Zn = Je.basename;
3434
- class Da {
3434
+ const Da = Je.extname, Zn = Je.basename;
3435
+ class Va {
3435
3436
  constructor() {
3436
3437
  let n = (() => typeof global > "u")(), t = "image/png", o = "image/jpeg", a = "image/jpeg", l = "image/webp", r = "application/pdf", s = "image/svg+xml";
3437
3438
  Object.assign(this, {
@@ -3449,7 +3450,7 @@ class Da {
3449
3450
  return this.mimes[n];
3450
3451
  }
3451
3452
  }
3452
- function Va(e, {
3453
+ function Aa(e, {
3453
3454
  filename: n = "",
3454
3455
  extension: t = "",
3455
3456
  format: P,
@@ -3460,7 +3461,7 @@ function Va(e, {
3460
3461
  outline: i,
3461
3462
  archive: C
3462
3463
  } = {}) {
3463
- var { fromMime: c, toMime: d, expected: p } = new Da(), C = C || "canvas", N = P || t.replace(/@\d+x$/i, "") || xa(n), P = c(d(N) || N), k = d(P), h = e.length;
3464
+ var { fromMime: c, toMime: d, expected: p } = new Va(), C = C || "canvas", N = P || t.replace(/@\d+x$/i, "") || Da(n), P = c(d(N) || N), k = d(P), h = e.length;
3464
3465
  if (!N)
3465
3466
  throw new Error(
3466
3467
  "Cannot determine image format (use a filename extension or 'format' argument)"
@@ -3587,9 +3588,9 @@ const tn = (e, n, t, o) => {
3587
3588
  s.fillStyle = o, s.fillRect(0, 0, a, l), s.drawImage(e, 0, 0), e = r;
3588
3589
  }
3589
3590
  return new Promise((a, l) => e.toBlob(a, n, t));
3590
- }, Aa = (...e) => tn(...e).then((n) => n.arrayBuffer()), Ea = async (e, n, t, o, a) => {
3591
+ }, Ea = (...e) => tn(...e).then((n) => n.arrayBuffer()), Pa = async (e, n, t, o, a) => {
3591
3592
  Jn(a, await tn(e, n, t, o));
3592
- }, Pa = async (e, n, t, o, a, l, r) => {
3593
+ }, Oa = async (e, n, t, o, a, l, r) => {
3593
3594
  let s = (c) => l.replace("{}", String(c + 1).padStart(r, "0")), i = Zn(a, ".zip") || "archive", u = new Vt(i);
3594
3595
  await Promise.all(
3595
3596
  e.map(async (c, d) => {
@@ -3600,12 +3601,12 @@ const tn = (e, n, t, o) => {
3600
3601
  }, Jn = (e, n) => {
3601
3602
  const t = window.URL.createObjectURL(n), o = document.createElement("a");
3602
3603
  o.style.display = "none", o.href = t, o.setAttribute("download", e), typeof o.download > "u" && o.setAttribute("target", "_blank"), document.body.appendChild(o), o.click(), document.body.removeChild(o), setTimeout(() => window.URL.revokeObjectURL(t), 100);
3603
- }, Oa = (e, n, t) => e.map((o) => {
3604
+ }, Ba = (e, n, t) => e.map((o) => {
3604
3605
  if (n == 1 && !t)
3605
3606
  return o.canvas;
3606
3607
  let a = document.createElement("canvas"), l = a.getContext("2d"), r = o.canvas ? o.canvas : o;
3607
3608
  return a.width = r.width * n, a.height = r.height * n, t && (l.fillStyle = t, l.fillRect(0, 0, a.width, a.height)), l.scale(n, n), l.drawImage(r, 0, 0), a;
3608
- }), Ba = { asBuffer: Aa, asDownload: Ea, asZipDownload: Pa, atScale: Oa, options: Va }, { asBuffer: jt, asDownload: Fa, asZipDownload: Ua, atScale: Rt, options: zt } = Ba, yn = Symbol.for("toDataURL"), ja = (e) => new Promise(
3609
+ }), Fa = { asBuffer: Ea, asDownload: Pa, asZipDownload: Oa, atScale: Ba, options: Aa }, { asBuffer: jt, asDownload: Ua, asZipDownload: ja, atScale: Rt, options: zt } = Fa, yn = Symbol.for("toDataURL"), Ra = (e) => new Promise(
3609
3610
  (n, t) => Object.assign(new eo(), {
3610
3611
  crossOrigin: "Anonymous",
3611
3612
  onload: n,
@@ -3613,7 +3614,7 @@ const tn = (e, n, t, o) => {
3613
3614
  src: e
3614
3615
  })
3615
3616
  );
3616
- let Ra = class {
3617
+ let za = class {
3617
3618
  constructor(n, t) {
3618
3619
  let o = document.createElement("canvas"), a = [];
3619
3620
  Object.defineProperty(o, "async", {
@@ -3642,7 +3643,7 @@ let Ra = class {
3642
3643
  saveAs(s, i) {
3643
3644
  i = typeof i == "number" ? { quality: i } : i;
3644
3645
  let u = zt(this.pages, { filename: s, ...i }), { pattern: c, padding: d, mime: p, quality: C, matte: N, density: P, archive: k } = u, h = Rt(u.pages, P);
3645
- return d == null ? Fa(h[0], p, C, N, s) : Ua(
3646
+ return d == null ? Ua(h[0], p, C, N, s) : ja(
3646
3647
  h,
3647
3648
  p,
3648
3649
  C,
@@ -3667,40 +3668,40 @@ let Ra = class {
3667
3668
  }
3668
3669
  };
3669
3670
  const {
3670
- CanvasRenderingContext2D: za,
3671
- CanvasGradient: $a,
3672
- CanvasPattern: Ga,
3671
+ CanvasRenderingContext2D: $a,
3672
+ CanvasGradient: Ga,
3673
+ CanvasPattern: Ka,
3673
3674
  Image: eo,
3674
- ImageData: Ka,
3675
- Path2D: Wa,
3676
- DOMMatrix: Ha,
3677
- DOMRect: Qa,
3678
- DOMPoint: qa
3675
+ ImageData: Wa,
3676
+ Path2D: Ha,
3677
+ DOMMatrix: Qa,
3678
+ DOMRect: qa,
3679
+ DOMPoint: Xa
3679
3680
  } = window, Ya = {
3680
- Canvas: Ra,
3681
- loadImage: ja,
3682
- CanvasRenderingContext2D: za,
3683
- CanvasGradient: $a,
3684
- CanvasPattern: Ga,
3681
+ Canvas: za,
3682
+ loadImage: Ra,
3683
+ CanvasRenderingContext2D: $a,
3684
+ CanvasGradient: Ga,
3685
+ CanvasPattern: Ka,
3685
3686
  Image: eo,
3686
- ImageData: Ka,
3687
- Path2D: Wa,
3688
- DOMMatrix: Ha,
3689
- DOMRect: Qa,
3690
- DOMPoint: qa
3691
- }, mt = (e, n, t = {}, o = t) => {
3687
+ ImageData: Wa,
3688
+ Path2D: Ha,
3689
+ DOMMatrix: Qa,
3690
+ DOMRect: qa,
3691
+ DOMPoint: Xa
3692
+ }, ft = (e, n, t = {}, o = t) => {
3692
3693
  if (Array.isArray(n))
3693
- n.forEach((a) => mt(e, a, t, o));
3694
+ n.forEach((a) => ft(e, a, t, o));
3694
3695
  else if (typeof n == "function")
3695
- n(e, t, o, mt);
3696
+ n(e, t, o, ft);
3696
3697
  else {
3697
3698
  const a = Object.keys(n)[0];
3698
- Array.isArray(n[a]) ? (o[a] = {}, mt(e, n[a], t, o[a])) : o[a] = n[a](e, t, o, mt);
3699
+ Array.isArray(n[a]) ? (o[a] = {}, ft(e, n[a], t, o[a])) : o[a] = n[a](e, t, o, ft);
3699
3700
  }
3700
3701
  return t;
3701
3702
  }, tt = (e, n) => (t, o, a, l) => {
3702
3703
  n(t, o, a) && l(t, e, o, a);
3703
- }, Xa = (e, n) => (t, o, a, l) => {
3704
+ }, Za = (e, n) => (t, o, a, l) => {
3704
3705
  const r = [];
3705
3706
  let s = t.pos;
3706
3707
  for (; n(t, o, a); ) {
@@ -3710,10 +3711,10 @@ const {
3710
3711
  s = t.pos, r.push(i);
3711
3712
  }
3712
3713
  return r;
3713
- }, Za = (e) => ({
3714
+ }, Ja = (e) => ({
3714
3715
  data: e,
3715
3716
  pos: 0
3716
- }), Ee = () => (e) => e.data[e.pos++], to = (e = 0) => (n) => n.data[n.pos + e], Ue = (e) => (n) => n.data.subarray(n.pos, n.pos += e), At = (e) => (n) => n.data.subarray(n.pos, n.pos + e), Wt = (e) => (n) => Array.from(Ue(e)(n)).map((t) => String.fromCharCode(t)).join(""), Xe = (e) => (n) => {
3717
+ }), Ee = () => (e) => e.data[e.pos++], to = (e = 0) => (n) => n.data[n.pos + e], Ue = (e) => (n) => n.data.subarray(n.pos, n.pos += e), At = (e) => (n) => n.data.subarray(n.pos, n.pos + e), Wt = (e) => (n) => Array.from(Ue(e)(n)).map((t) => String.fromCharCode(t)).join(""), Ye = (e) => (n) => {
3717
3718
  const t = Ue(2)(n);
3718
3719
  return e ? (t[1] << 8) + t[0] : (t[0] << 8) + t[1];
3719
3720
  }, no = (e, n) => (t, o, a) => {
@@ -3721,7 +3722,7 @@ const {
3721
3722
  for (var i = 0; i < l; i++)
3722
3723
  s[i] = r(t);
3723
3724
  return s;
3724
- }, Ja = (e, n, t) => {
3725
+ }, el = (e, n, t) => {
3725
3726
  for (var o = 0, a = 0; a < t; a++)
3726
3727
  o += e[n + a] && 2 ** (t - a - 1);
3727
3728
  return o;
@@ -3731,7 +3732,7 @@ const {
3731
3732
  o[7 - a] = !!(t & 1 << a);
3732
3733
  return Object.keys(e).reduce((l, r) => {
3733
3734
  const s = e[r];
3734
- return s.length ? l[r] = Ja(o, s.index, s.length) : l[r] = o[s.index], l;
3735
+ return s.length ? l[r] = el(o, s.index, s.length) : l[r] = o[s.index], l;
3735
3736
  }, {});
3736
3737
  };
3737
3738
  var Et = {
@@ -3751,7 +3752,7 @@ var Et = {
3751
3752
  return r;
3752
3753
  }
3753
3754
  };
3754
- const el = tt(
3755
+ const tl = tt(
3755
3756
  {
3756
3757
  gce: [
3757
3758
  { codes: Ue(2) },
@@ -3764,7 +3765,7 @@ const el = tt(
3764
3765
  transparentColorGiven: { index: 7 }
3765
3766
  })
3766
3767
  },
3767
- { delay: Xe(!0) },
3768
+ { delay: Ye(!0) },
3768
3769
  { transparentColorIndex: Ee() },
3769
3770
  { terminator: Ee() }
3770
3771
  ]
@@ -3773,16 +3774,16 @@ const el = tt(
3773
3774
  var n = At(2)(e);
3774
3775
  return n[0] === 33 && n[1] === 249;
3775
3776
  }
3776
- ), tl = tt(
3777
+ ), nl = tt(
3777
3778
  {
3778
3779
  image: [
3779
3780
  { code: Ee() },
3780
3781
  {
3781
3782
  descriptor: [
3782
- { left: Xe(!0) },
3783
- { top: Xe(!0) },
3784
- { width: Xe(!0) },
3785
- { height: Xe(!0) },
3783
+ { left: Ye(!0) },
3784
+ { top: Ye(!0) },
3785
+ { width: Ye(!0) },
3786
+ { height: Ye(!0) },
3786
3787
  {
3787
3788
  lct: nn({
3788
3789
  exists: { index: 0 },
@@ -3804,7 +3805,7 @@ const el = tt(
3804
3805
  ]
3805
3806
  },
3806
3807
  (e) => to()(e) === 44
3807
- ), nl = tt(
3808
+ ), ol = tt(
3808
3809
  {
3809
3810
  text: [
3810
3811
  { codes: Ue(2) },
@@ -3819,7 +3820,7 @@ const el = tt(
3819
3820
  var n = At(2)(e);
3820
3821
  return n[0] === 33 && n[1] === 1;
3821
3822
  }
3822
- ), ol = tt(
3823
+ ), al = tt(
3823
3824
  {
3824
3825
  application: [
3825
3826
  { codes: Ue(2) },
@@ -3832,7 +3833,7 @@ const el = tt(
3832
3833
  var n = At(2)(e);
3833
3834
  return n[0] === 33 && n[1] === 255;
3834
3835
  }
3835
- ), al = tt(
3836
+ ), ll = tt(
3836
3837
  {
3837
3838
  comment: [{ codes: Ue(2) }, Et]
3838
3839
  },
@@ -3840,12 +3841,12 @@ const el = tt(
3840
3841
  var n = At(2)(e);
3841
3842
  return n[0] === 33 && n[1] === 254;
3842
3843
  }
3843
- ), ll = [
3844
+ ), rl = [
3844
3845
  { header: [{ signature: Wt(3) }, { version: Wt(3) }] },
3845
3846
  {
3846
3847
  lsd: [
3847
- { width: Xe(!0) },
3848
- { height: Xe(!0) },
3848
+ { width: Ye(!0) },
3849
+ { height: Ye(!0) },
3849
3850
  {
3850
3851
  gct: nn({
3851
3852
  exists: { index: 0 },
@@ -3869,15 +3870,15 @@ const el = tt(
3869
3870
  ),
3870
3871
  // content frames
3871
3872
  {
3872
- frames: Xa(
3873
- [el, ol, al, tl, nl],
3873
+ frames: Za(
3874
+ [tl, al, ll, nl, ol],
3874
3875
  (e) => {
3875
3876
  var n = to()(e);
3876
3877
  return n === 33 || n === 44;
3877
3878
  }
3878
3879
  )
3879
3880
  }
3880
- ], rl = (e, n) => {
3881
+ ], il = (e, n) => {
3881
3882
  const t = new Array(e.length), o = e.length / n, a = function(c, d) {
3882
3883
  const p = e.slice(d * n, (d + 1) * n);
3883
3884
  t.splice.apply(t, [c * n, n].concat(p));
@@ -3886,7 +3887,7 @@ const el = tt(
3886
3887
  for (var u = l[i]; u < o; u += r[i])
3887
3888
  a(u, s), s++;
3888
3889
  return t;
3889
- }, il = (e, n, t) => {
3890
+ }, sl = (e, n, t) => {
3890
3891
  const l = t;
3891
3892
  var r, s, i, u, c, d, p, b, C, N, v, P, y, f, E, w;
3892
3893
  const k = new Array(t), h = new Array(4096), M = new Array(4096), x = new Array(4096 + 1);
@@ -3918,24 +3919,24 @@ const el = tt(
3918
3919
  for (N = w; N < l; N++)
3919
3920
  k[N] = 0;
3920
3921
  return k;
3921
- }, sl = (e) => {
3922
- const n = new Uint8Array(e);
3923
- return mt(Za(n), ll);
3924
3922
  }, ul = (e) => {
3923
+ const n = new Uint8Array(e);
3924
+ return ft(Ja(n), rl);
3925
+ }, cl = (e) => {
3925
3926
  const n = e.pixels.length, t = new Uint8ClampedArray(n * 4);
3926
3927
  for (var o = 0; o < n; o++) {
3927
3928
  const a = o * 4, l = e.pixels[o], r = e.colorTable[l];
3928
3929
  t[a] = r[0], t[a + 1] = r[1], t[a + 2] = r[2], t[a + 3] = l !== e.transparentIndex ? 255 : 0;
3929
3930
  }
3930
3931
  return t;
3931
- }, cl = (e, n, t) => {
3932
+ }, dl = (e, n, t) => {
3932
3933
  if (!e.image) {
3933
3934
  console.warn("gif frame does not have associated image.");
3934
3935
  return;
3935
3936
  }
3936
3937
  const { image: o } = e, a = o.descriptor.width * o.descriptor.height;
3937
- var l = il(o.data.minCodeSize, o.data.blocks, a);
3938
- o.descriptor.lct.interlaced && (l = rl(l, o.descriptor.width));
3938
+ var l = sl(o.data.minCodeSize, o.data.blocks, a);
3939
+ o.descriptor.lct.interlaced && (l = il(l, o.descriptor.width));
3939
3940
  const r = {
3940
3941
  pixels: l,
3941
3942
  dims: {
@@ -3945,41 +3946,41 @@ const el = tt(
3945
3946
  height: e.image.descriptor.height
3946
3947
  }
3947
3948
  };
3948
- return o.descriptor.lct && o.descriptor.lct.exists ? r.colorTable = o.lct : r.colorTable = n, e.gce && (r.delay = (e.gce.delay || 10) * 10, r.disposalType = e.gce.extras.disposal, e.gce.extras.transparentColorGiven && (r.transparentIndex = e.gce.transparentColorIndex)), t && (r.patch = ul(r)), r;
3949
- }, dl = (e, n) => e.frames.filter((t) => t.image).map((t) => cl(t, e.gct, n));
3950
- function ml(e, n, t) {
3949
+ return o.descriptor.lct && o.descriptor.lct.exists ? r.colorTable = o.lct : r.colorTable = n, e.gce && (r.delay = (e.gce.delay || 10) * 10, r.disposalType = e.gce.extras.disposal, e.gce.extras.transparentColorGiven && (r.transparentIndex = e.gce.transparentColorIndex)), t && (r.patch = cl(r)), r;
3950
+ }, ml = (e, n) => e.frames.filter((t) => t.image).map((t) => dl(t, e.gct, n));
3951
+ function fl(e, n, t) {
3951
3952
  const o = oo(n), a = e - 1;
3952
3953
  let l = 0;
3953
3954
  switch (t) {
3954
- case _e.L:
3955
+ case Se.L:
3955
3956
  l = Fe[a][0];
3956
3957
  break;
3957
- case _e.M:
3958
+ case Se.M:
3958
3959
  l = Fe[a][1];
3959
3960
  break;
3960
- case _e.Q:
3961
+ case Se.Q:
3961
3962
  l = Fe[a][2];
3962
3963
  break;
3963
- case _e.H:
3964
+ case Se.H:
3964
3965
  l = Fe[a][3];
3965
3966
  break;
3966
3967
  }
3967
3968
  return o <= l;
3968
3969
  }
3969
- function fl(e, n) {
3970
+ function hl(e, n) {
3970
3971
  for (var t = 1, o = oo(e), a = 0, l = Fe.length; a < l; a++) {
3971
3972
  var r = 0;
3972
3973
  switch (n) {
3973
- case _e.L:
3974
+ case Se.L:
3974
3975
  r = Fe[a][0];
3975
3976
  break;
3976
- case _e.M:
3977
+ case Se.M:
3977
3978
  r = Fe[a][1];
3978
3979
  break;
3979
- case _e.Q:
3980
+ case Se.Q:
3980
3981
  r = Fe[a][2];
3981
3982
  break;
3982
- case _e.H:
3983
+ case Se.H:
3983
3984
  r = Fe[a][3];
3984
3985
  break;
3985
3986
  }
@@ -3995,7 +3996,7 @@ function oo(e) {
3995
3996
  var n = encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g, "a");
3996
3997
  return n.length + (n.length != Number(e) ? 3 : 0);
3997
3998
  }
3998
- class hl {
3999
+ class pl {
3999
4000
  constructor(n) {
4000
4001
  this.mode = Ae.MODE_8BIT_BYTE, this.parsedData = [], this.data = n;
4001
4002
  const t = [];
@@ -4014,19 +4015,19 @@ class hl {
4014
4015
  }
4015
4016
  }
4016
4017
  class qe {
4017
- constructor(n = -1, t = _e.L) {
4018
+ constructor(n = -1, t = Se.L) {
4018
4019
  this.moduleCount = 0, this.dataList = [], this.typeNumber = n, this.errorCorrectLevel = t, this.moduleCount = 0, this.dataList = [];
4019
4020
  }
4020
4021
  addData(n) {
4021
4022
  if (this.typeNumber <= 0)
4022
- this.typeNumber = fl(n, this.errorCorrectLevel);
4023
+ this.typeNumber = hl(n, this.errorCorrectLevel);
4023
4024
  else {
4024
4025
  if (this.typeNumber > 40)
4025
4026
  throw new Error(`Invalid QR version: ${this.typeNumber}`);
4026
- if (!ml(this.typeNumber, n, this.errorCorrectLevel))
4027
+ if (!fl(this.typeNumber, n, this.errorCorrectLevel))
4027
4028
  throw new Error(`Data is too long for QR version: ${this.typeNumber}`);
4028
4029
  }
4029
- const t = new hl(n);
4030
+ const t = new pl(n);
4030
4031
  this.dataList.push(t), this.dataCache = void 0;
4031
4032
  }
4032
4033
  isDark(n, t) {
@@ -4122,7 +4123,7 @@ class qe {
4122
4123
  }
4123
4124
  }
4124
4125
  static createData(n, t, o) {
4125
- const a = $e.getRSBlocks(n, t), l = new pl();
4126
+ const a = $e.getRSBlocks(n, t), l = new gl();
4126
4127
  for (var r = 0; r < o.length; r++) {
4127
4128
  const i = o[r];
4128
4129
  l.put(i.mode, 4), l.put(i.getLength(), ue.getLengthInBits(i.mode, n)), i.write(l);
@@ -4170,7 +4171,7 @@ class qe {
4170
4171
  }
4171
4172
  qe.PAD0 = 236;
4172
4173
  qe.PAD1 = 17;
4173
- const _e = { L: 1, M: 0, Q: 3, H: 2 }, Ae = { MODE_NUMBER: 1 << 0, MODE_ALPHA_NUM: 1 << 1, MODE_8BIT_BYTE: 1 << 2, MODE_KANJI: 1 << 3 }, ze = {
4174
+ const Se = { L: 1, M: 0, Q: 3, H: 2 }, Ae = { MODE_NUMBER: 1 << 0, MODE_ALPHA_NUM: 1 << 1, MODE_8BIT_BYTE: 1 << 2, MODE_KANJI: 1 << 3 }, ze = {
4174
4175
  PATTERN000: 0,
4175
4176
  PATTERN001: 1,
4176
4177
  PATTERN010: 2,
@@ -4427,13 +4428,13 @@ class $e {
4427
4428
  }
4428
4429
  static getRsBlockTable(n, t) {
4429
4430
  switch (t) {
4430
- case _e.L:
4431
+ case Se.L:
4431
4432
  return $e.RS_BLOCK_TABLE[(n - 1) * 4 + 0];
4432
- case _e.M:
4433
+ case Se.M:
4433
4434
  return $e.RS_BLOCK_TABLE[(n - 1) * 4 + 1];
4434
- case _e.Q:
4435
+ case Se.Q:
4435
4436
  return $e.RS_BLOCK_TABLE[(n - 1) * 4 + 2];
4436
- case _e.H:
4437
+ case Se.H:
4437
4438
  return $e.RS_BLOCK_TABLE[(n - 1) * 4 + 3];
4438
4439
  default:
4439
4440
  return;
@@ -4602,7 +4603,7 @@ $e.RS_BLOCK_TABLE = [
4602
4603
  [34, 54, 24, 34, 55, 25],
4603
4604
  [20, 45, 15, 61, 46, 16]
4604
4605
  ];
4605
- class pl {
4606
+ class gl {
4606
4607
  constructor() {
4607
4608
  this.buffer = [], this.length = 0;
4608
4609
  }
@@ -4664,8 +4665,8 @@ const Fe = [
4664
4665
  [2809, 2213, 1579, 1219],
4665
4666
  [2953, 2331, 1663, 1273]
4666
4667
  ];
4667
- var gl = 100, Te = 256, bn = Te - 1, Qe = 4, ao = 16, on = 1 << ao, lo = 10, an = 10, vl = on >> an, yl = on << lo - an, bl = Te >> 3, Ht = 6, wl = 1 << Ht, Ml = bl * wl, Tl = 30, ro = 10, bt = 1 << ro, io = 8, wn = 1 << io, kl = ro + io, at = 1 << kl, Mn = 499, Tn = 491, kn = 487, so = 503, Cl = 3 * so;
4668
- function Il(e, n) {
4668
+ var vl = 100, Te = 256, bn = Te - 1, Qe = 4, ao = 16, on = 1 << ao, lo = 10, an = 10, yl = on >> an, bl = on << lo - an, wl = Te >> 3, Ht = 6, Ml = 1 << Ht, Tl = wl * Ml, kl = 30, ro = 10, bt = 1 << ro, io = 8, wn = 1 << io, Cl = ro + io, at = 1 << Cl, Mn = 499, Tn = 491, kn = 487, so = 503, Il = 3 * so;
4669
+ function Nl(e, n) {
4669
4670
  var t, o, a, l, r;
4670
4671
  function s() {
4671
4672
  t = [], o = new Int32Array(256), a = new Int32Array(Te), l = new Int32Array(Te), r = new Int32Array(Te >> 3);
@@ -4688,7 +4689,7 @@ function Il(e, n) {
4688
4689
  var v = 2147483647, b = v, y = -1, f = y, w, E, R, I, H;
4689
4690
  for (w = 0; w < Te; w++)
4690
4691
  E = t[w], R = Math.abs(E[0] - h) + Math.abs(E[1] - M) + Math.abs(E[2] - x), R < v && (v = R, y = w), I = R - (a[w] >> ao - Qe), I < b && (b = I, f = w), H = l[w] >> an, l[w] -= H, a[w] += H << lo;
4691
- return l[y] += vl, a[y] -= yl, f;
4692
+ return l[y] += yl, a[y] -= bl, f;
4692
4693
  }
4693
4694
  function p() {
4694
4695
  var h, M, x, v, b, y, f = 0, w = 0;
@@ -4710,15 +4711,15 @@ function Il(e, n) {
4710
4711
  return w;
4711
4712
  }
4712
4713
  function N() {
4713
- var h, M = e.length, x = 30 + (n - 1) / 3, v = M / (3 * n), b = ~~(v / gl), y = bt, f = Ml, w = f >> Ht;
4714
+ var h, M = e.length, x = 30 + (n - 1) / 3, v = M / (3 * n), b = ~~(v / vl), y = bt, f = Tl, w = f >> Ht;
4714
4715
  for (w <= 1 && (w = 0), h = 0; h < w; h++)
4715
4716
  r[h] = y * ((w * w - h * h) * wn / (w * w));
4716
4717
  var E;
4717
- M < Cl ? (n = 1, E = 3) : M % Mn !== 0 ? E = 3 * Mn : M % Tn !== 0 ? E = 3 * Tn : M % kn !== 0 ? E = 3 * kn : E = 3 * so;
4718
+ M < Il ? (n = 1, E = 3) : M % Mn !== 0 ? E = 3 * Mn : M % Tn !== 0 ? E = 3 * Tn : M % kn !== 0 ? E = 3 * kn : E = 3 * so;
4718
4719
  var R, I, H, U, le = 0;
4719
4720
  for (h = 0; h < v; )
4720
4721
  if (R = (e[le] & 255) << Qe, I = (e[le + 1] & 255) << Qe, H = (e[le + 2] & 255) << Qe, U = d(R, I, H), u(y, U, R, I, H), w !== 0 && c(w, U, R, I, H), le += E, le >= M && (le -= M), h++, b === 0 && (b = 1), h % b === 0)
4721
- for (y -= y / x, f -= f / Tl, w = f >> Ht, w <= 1 && (w = 0), U = 0; U < w; U++)
4722
+ for (y -= y / x, f -= f / kl, w = f >> Ht, w <= 1 && (w = 0), U = 0; U < w; U++)
4722
4723
  r[U] = y * ((w * w - U * U) * wn / (w * w));
4723
4724
  }
4724
4725
  function P() {
@@ -4736,7 +4737,7 @@ function Il(e, n) {
4736
4737
  }
4737
4738
  this.getColormap = k, this.lookupRGB = C;
4738
4739
  }
4739
- var Cn = -1, wt = 12, ct = 5003, Nl = [
4740
+ var Cn = -1, wt = 12, dt = 5003, Ll = [
4740
4741
  0,
4741
4742
  1,
4742
4743
  3,
@@ -4755,13 +4756,13 @@ var Cn = -1, wt = 12, ct = 5003, Nl = [
4755
4756
  32767,
4756
4757
  65535
4757
4758
  ];
4758
- function Ll(e, n, t, o) {
4759
- var a = Math.max(2, o), l = new Uint8Array(256), r = new Int32Array(ct), s = new Int32Array(ct), i, u = 0, c, d = 0, p, C = !1, N, P, k, h, M, x;
4759
+ function _l(e, n, t, o) {
4760
+ var a = Math.max(2, o), l = new Uint8Array(256), r = new Int32Array(dt), s = new Int32Array(dt), i, u = 0, c, d = 0, p, C = !1, N, P, k, h, M, x;
4760
4761
  function v(U, le) {
4761
4762
  l[c++] = U, c >= 254 && E(le);
4762
4763
  }
4763
4764
  function b(U) {
4764
- y(ct), d = P + 2, C = !0, H(P, U);
4765
+ y(dt), d = P + 2, C = !0, H(P, U);
4765
4766
  }
4766
4767
  function y(U) {
4767
4768
  for (var le = 0; le < U; ++le)
@@ -4769,9 +4770,9 @@ function Ll(e, n, t, o) {
4769
4770
  }
4770
4771
  function f(U, le) {
4771
4772
  var O, De, ie, Ne, Le, fe, Ce;
4772
- for (N = U, C = !1, x = N, p = R(x), P = 1 << U - 1, k = P + 1, d = P + 2, c = 0, Ne = I(), Ce = 0, O = ct; O < 65536; O *= 2)
4773
+ for (N = U, C = !1, x = N, p = R(x), P = 1 << U - 1, k = P + 1, d = P + 2, c = 0, Ne = I(), Ce = 0, O = dt; O < 65536; O *= 2)
4773
4774
  ++Ce;
4774
- Ce = 8 - Ce, fe = ct, y(fe), H(P, le);
4775
+ Ce = 8 - Ce, fe = dt, y(fe), H(P, le);
4775
4776
  e:
4776
4777
  for (; (De = I()) != Cn; ) {
4777
4778
  if (O = (De << wt) + Ne, ie = De << Ce ^ Ne, r[ie] === O) {
@@ -4807,7 +4808,7 @@ function Ll(e, n, t, o) {
4807
4808
  return U & 255;
4808
4809
  }
4809
4810
  function H(U, le) {
4810
- for (i &= Nl[u], u > 0 ? i |= U << u : i = U, u += x; u >= 8; )
4811
+ for (i &= Ll[u], u > 0 ? i |= U << u : i = U, u += x; u >= 8; )
4811
4812
  v(i & 255, le), i >>= 8, u -= 8;
4812
4813
  if ((d > p || C) && (C ? (p = R(x = N), C = !1) : (++x, x == wt ? p = 1 << wt : p = R(x))), U == k) {
4813
4814
  for (; u > 0; )
@@ -4895,7 +4896,7 @@ de.prototype.writeHeader = function() {
4895
4896
  this.out.writeUTFBytes("GIF89a");
4896
4897
  };
4897
4898
  de.prototype.analyzePixels = function() {
4898
- this.colorTab || (this.neuQuant = new Il(this.pixels, this.sample), this.neuQuant.buildColormap(), this.colorTab = this.neuQuant.getColormap()), this.dither ? this.ditherPixels(this.dither.replace("-serpentine", ""), this.dither.match(/-serpentine/) !== null) : this.indexPixels(), this.pixels = null, this.colorDepth = 8, this.palSize = 7, this.transparent !== null && (this.transIndex = this.findClosest(this.transparent, !0));
4899
+ this.colorTab || (this.neuQuant = new Nl(this.pixels, this.sample), this.neuQuant.buildColormap(), this.colorTab = this.neuQuant.getColormap()), this.dither ? this.ditherPixels(this.dither.replace("-serpentine", ""), this.dither.match(/-serpentine/) !== null) : this.indexPixels(), this.pixels = null, this.colorDepth = 8, this.palSize = 7, this.transparent !== null && (this.transIndex = this.findClosest(this.transparent, !0));
4899
4900
  };
4900
4901
  de.prototype.indexPixels = function(e) {
4901
4902
  var n = this.pixels.length / 3;
@@ -5019,7 +5020,7 @@ de.prototype.writeShort = function(e) {
5019
5020
  this.out.writeByte(e & 255), this.out.writeByte(e >> 8 & 255);
5020
5021
  };
5021
5022
  de.prototype.writePixels = function() {
5022
- var e = new Ll(this.width, this.height, this.indexedPixels, this.colorDepth);
5023
+ var e = new _l(this.width, this.height, this.indexedPixels, this.colorDepth);
5023
5024
  e.encode(this.out);
5024
5025
  };
5025
5026
  de.prototype.stream = function() {
@@ -5161,8 +5162,8 @@ class se {
5161
5162
  const De = new Re(U, U), ie = De.getContext("2d");
5162
5163
  let Ne = null, Le = [];
5163
5164
  if (this.options.gifBackground) {
5164
- const L = sl(this.options.gifBackground);
5165
- if (Ne = L, Le = dl(L, !0), this.options.autoColor) {
5165
+ const L = ul(this.options.gifBackground);
5166
+ if (Ne = L, Le = ml(L, !0), this.options.autoColor) {
5166
5167
  let V = 0, G = 0, K = 0, W = 0;
5167
5168
  for (let oe = 0; oe < Le[0].colorTable.length; oe++) {
5168
5169
  const q = Le[0].colorTable[oe];
@@ -5240,8 +5241,8 @@ class se {
5240
5241
  L || (L = new de(b, b), L.setDelay(q.delay), L.setRepeat(0));
5241
5242
  const { width: ce, height: F } = q.dims;
5242
5243
  V || (V = new Re(ce, F), G = V.getContext("2d"), G.rect(0, 0, V.width, V.height), G.fillStyle = "#ffffff", G.fill()), (!K || !oe || ce !== K.width || F !== K.height) && (K = new Re(ce, F), W = K.getContext("2d"), oe = W.createImageData(ce, F)), oe.data.set(q.patch), W.putImageData(oe, 0, 0), G.drawImage(K.getContext("2d").canvas, q.dims.left, q.dims.top);
5243
- const pe = new Re(U, U), Se = pe.getContext("2d");
5244
- Se.drawImage(V.getContext("2d").canvas, 0, 0, U, U), Se.rect(0, 0, U, U), Se.fillStyle = R, Se.fill(), Se.drawImage(le.getContext("2d").canvas, 0, 0, U, U);
5244
+ const pe = new Re(U, U), _e = pe.getContext("2d");
5245
+ _e.drawImage(V.getContext("2d").canvas, 0, 0, U, U), _e.rect(0, 0, U, U), _e.fillStyle = R, _e.fill(), _e.drawImage(le.getContext("2d").canvas, 0, 0, U, U);
5245
5246
  const Pt = new Re(b, b), ln = Pt.getContext("2d");
5246
5247
  ln.drawImage(pe.getContext("2d").canvas, 0, 0, b, b), L.addFrame(ln.getImageData(0, 0, Pt.width, Pt.height).data);
5247
5248
  }), !L)
@@ -5261,7 +5262,7 @@ class se {
5261
5262
  });
5262
5263
  }
5263
5264
  }
5264
- se.CorrectLevel = _e;
5265
+ se.CorrectLevel = Se;
5265
5266
  se.defaultComponentOptions = {
5266
5267
  data: {
5267
5268
  scale: 0.4
@@ -5285,7 +5286,7 @@ se.defaultOptions = {
5285
5286
  margin: 20,
5286
5287
  colorDark: "#000000",
5287
5288
  colorLight: "rgba(255, 255, 255, 0.6)",
5288
- correctLevel: _e.M,
5289
+ correctLevel: Se.M,
5289
5290
  backgroundImage: void 0,
5290
5291
  backgroundDimming: "rgba(0,0,0,0)",
5291
5292
  logoImage: void 0,
@@ -5305,7 +5306,7 @@ function Nn(e) {
5305
5306
  return typeof e == "object" && e.nodeType === 1 && typeof e.style == "object" && typeof e.ownerDocument == "object";
5306
5307
  }
5307
5308
  }
5308
- const _l = {
5309
+ const xl = {
5309
5310
  props: {
5310
5311
  text: {
5311
5312
  type: String,
@@ -5481,15 +5482,15 @@ const _l = {
5481
5482
  });
5482
5483
  }
5483
5484
  }
5484
- }, xl = ["src"];
5485
- function Dl(e, n, t, o, a, l) {
5486
- return t.bindElement ? (g(), Y("img", {
5485
+ }, Dl = ["src"];
5486
+ function Vl(e, n, t, o, a, l) {
5487
+ return t.bindElement ? (g(), X("img", {
5487
5488
  key: 0,
5488
5489
  style: { display: "inline-block" },
5489
5490
  src: a.imgUrl
5490
- }, null, 8, xl)) : $("", !0);
5491
+ }, null, 8, Dl)) : $("", !0);
5491
5492
  }
5492
- const Vl = /* @__PURE__ */ yt(_l, [["render", Dl]]), Al = ["innerHTML"], El = { style: { "text-align": "center" } }, Pl = { class: "ImageViewer" }, Ol = { class: "ImageViewer__image" }, Bl = ["onClick"], Fl = /* @__PURE__ */ ne({
5493
+ const Al = /* @__PURE__ */ st(xl, [["render", Vl]]), El = ["innerHTML"], Pl = { style: { "text-align": "center" } }, Ol = { class: "ImageViewer" }, Bl = { class: "ImageViewer__image" }, Fl = ["onClick"], Ul = /* @__PURE__ */ ne({
5493
5494
  __name: "index",
5494
5495
  props: {
5495
5496
  viewName: null,
@@ -5504,7 +5505,7 @@ const Vl = /* @__PURE__ */ yt(_l, [["render", Dl]]), Al = ["innerHTML"], El = {
5504
5505
  "return-pagination-props"
5505
5506
  ],
5506
5507
  setup(e, { emit: n }) {
5507
- const t = e, { reload: o, reloadFlag: a } = Xn(), l = B(() => {
5508
+ const t = e, { reload: o, reloadFlag: a } = Yn(), l = B(() => {
5508
5509
  var k, h;
5509
5510
  return (h = (k = t.board) == null ? void 0 : k.tableData) == null ? void 0 : h.keyName;
5510
5511
  }), r = B(() => {
@@ -5540,7 +5541,7 @@ const Vl = /* @__PURE__ */ yt(_l, [["render", Dl]]), Al = ["innerHTML"], El = {
5540
5541
  if (k.value != "")
5541
5542
  return Ze.render(k.value, { item: h });
5542
5543
  if (k.value == "")
5543
- return Ye(h[k.keyName]).format("YYYY-MM-DD HH:mm:ss");
5544
+ return Xe(h[k.keyName]).format("YYYY-MM-DD HH:mm:ss");
5544
5545
  }
5545
5546
  function C(k, h) {
5546
5547
  return k.filter((M) => {
@@ -5568,7 +5569,7 @@ const Vl = /* @__PURE__ */ yt(_l, [["render", Dl]]), Al = ["innerHTML"], El = {
5568
5569
  { deep: !0 }
5569
5570
  ), (k, h) => {
5570
5571
  const M = j("t-button"), x = j("t-popup"), v = j("t-icon"), b = j("t-image"), y = j("t-image-viewer");
5571
- return m(a) ? $("", !0) : (g(), S(m(jn), {
5572
+ return m(a) ? $("", !0) : (g(), _(m(jn), {
5572
5573
  key: 0,
5573
5574
  commonTableProps: {
5574
5575
  data: e.tableData,
@@ -5580,33 +5581,33 @@ const Vl = /* @__PURE__ */ yt(_l, [["render", Dl]]), Al = ["innerHTML"], El = {
5580
5581
  }
5581
5582
  }, {
5582
5583
  TEXT: T(({ col: f, row: w }) => [
5583
- X(ye(c(f, w)), 1)
5584
+ Y(ye(c(f, w)), 1)
5584
5585
  ]),
5585
5586
  ENUMS: T(({ col: f, row: w }) => [
5586
5587
  ae("span", {
5587
5588
  innerHTML: d(f, w)
5588
- }, null, 8, Al)
5589
+ }, null, 8, El)
5589
5590
  ]),
5590
5591
  DATE: T(({ col: f, row: w }) => [
5591
- X(ye(p(f, w)), 1)
5592
+ Y(ye(p(f, w)), 1)
5592
5593
  ]),
5593
5594
  QR_CODE: T(({ col: f, row: w }) => [
5594
- _(x, null, {
5595
+ S(x, null, {
5595
5596
  content: T(() => [
5596
- _(Vl, {
5597
+ S(Al, {
5597
5598
  text: c(f, w),
5598
5599
  size: 80,
5599
5600
  margin: 0
5600
5601
  }, null, 8, ["text"]),
5601
- ae("div", El, ye(w.code), 1)
5602
+ ae("div", Pl, ye(w.code), 1)
5602
5603
  ]),
5603
5604
  default: T(() => [
5604
- _(M, {
5605
+ S(M, {
5605
5606
  variant: "text",
5606
5607
  theme: "primary"
5607
5608
  }, {
5608
5609
  default: T(() => [
5609
- X("预览")
5610
+ Y("预览")
5610
5611
  ]),
5611
5612
  _: 1
5612
5613
  })
@@ -5615,7 +5616,7 @@ const Vl = /* @__PURE__ */ yt(_l, [["render", Dl]]), Al = ["innerHTML"], El = {
5615
5616
  }, 1024)
5616
5617
  ]),
5617
5618
  FORM_ITEM: T(({ col: f, row: w }) => [
5618
- _(La, {
5619
+ S(_a, {
5619
5620
  viewName: e.viewName,
5620
5621
  col: f,
5621
5622
  row: w,
@@ -5623,32 +5624,32 @@ const Vl = /* @__PURE__ */ yt(_l, [["render", Dl]]), Al = ["innerHTML"], El = {
5623
5624
  }, null, 8, ["viewName", "col", "row"])
5624
5625
  ]),
5625
5626
  IMAGE: T(({ col: f, row: w }) => [
5626
- ae("div", Pl, [
5627
- _(y, {
5627
+ ae("div", Ol, [
5628
+ S(y, {
5628
5629
  images: [c(f, w)]
5629
5630
  }, {
5630
5631
  trigger: T(({ open: E }) => [
5631
- ae("div", Ol, [
5632
- _(b, {
5632
+ ae("div", Bl, [
5633
+ S(b, {
5633
5634
  class: "ImageViewer__image--img",
5634
5635
  src: c(f, w),
5635
5636
  shape: "round",
5636
5637
  fit: "scale-down"
5637
5638
  }, {
5638
5639
  error: T(() => [
5639
- f.name == "头像" ? (g(), S(v, {
5640
+ f.name == "头像" ? (g(), _(v, {
5640
5641
  key: 0,
5641
5642
  name: "user"
5642
- })) : (g(), S(v, {
5643
+ })) : (g(), _(v, {
5643
5644
  key: 1,
5644
5645
  name: "file-image"
5645
5646
  }))
5646
5647
  ]),
5647
5648
  loading: T(() => [
5648
- f.name == "头像" ? (g(), S(v, {
5649
+ f.name == "头像" ? (g(), _(v, {
5649
5650
  key: 0,
5650
5651
  name: "user"
5651
- })) : (g(), S(v, {
5652
+ })) : (g(), _(v, {
5652
5653
  key: 1,
5653
5654
  name: "file-image",
5654
5655
  size: "large"
@@ -5661,13 +5662,13 @@ const Vl = /* @__PURE__ */ yt(_l, [["render", Dl]]), Al = ["innerHTML"], El = {
5661
5662
  onClick: E
5662
5663
  }, [
5663
5664
  ae("span", null, [
5664
- _(v, {
5665
+ S(v, {
5665
5666
  name: "browse",
5666
5667
  size: "1.4em"
5667
5668
  }),
5668
- X(" 预览")
5669
+ Y(" 预览")
5669
5670
  ])
5670
- ], 8, Bl)
5671
+ ], 8, Fl)
5671
5672
  ])
5672
5673
  ]),
5673
5674
  _: 2
@@ -5675,14 +5676,14 @@ const Vl = /* @__PURE__ */ yt(_l, [["render", Dl]]), Al = ["innerHTML"], El = {
5675
5676
  ])
5676
5677
  ]),
5677
5678
  BUTTONS: T(({ col: f, row: w }) => [
5678
- (g(!0), Y(ge, null, ke(C(f.buttons, w), (E) => (g(), S(M, {
5679
+ (g(!0), X(ge, null, ke(C(f.buttons, w), (E) => (g(), _(M, {
5679
5680
  theme: "primary",
5680
5681
  variant: "text",
5681
5682
  key: E.buttonId,
5682
5683
  onClick: (R) => N(E, w)
5683
5684
  }, {
5684
5685
  default: T(() => [
5685
- X(ye(E.name), 1)
5686
+ Y(ye(E.name), 1)
5686
5687
  ]),
5687
5688
  _: 2
5688
5689
  }, 1032, ["onClick"]))), 128))
@@ -5692,7 +5693,7 @@ const Vl = /* @__PURE__ */ yt(_l, [["render", Dl]]), Al = ["innerHTML"], El = {
5692
5693
  };
5693
5694
  }
5694
5695
  });
5695
- const Ul = /* @__PURE__ */ yt(Fl, [["__scopeId", "data-v-78e0f314"]]), jl = /* @__PURE__ */ ne({
5696
+ const jl = /* @__PURE__ */ st(Ul, [["__scopeId", "data-v-78e0f314"]]), Rl = /* @__PURE__ */ ne({
5696
5697
  __name: "index",
5697
5698
  props: {
5698
5699
  viewName: null,
@@ -5712,22 +5713,22 @@ const Ul = /* @__PURE__ */ yt(Fl, [["__scopeId", "data-v-78e0f314"]]), jl = /* @
5712
5713
  }
5713
5714
  return (i, u) => {
5714
5715
  const c = j("t-card"), d = j("t-tab-panel"), p = j("t-tabs");
5715
- return g(), S(p, {
5716
+ return g(), _(p, {
5716
5717
  class: Z(`${m(J)}__tab`),
5717
5718
  placement: "left",
5718
5719
  value: o.value,
5719
5720
  onChange: a
5720
5721
  }, {
5721
5722
  default: T(() => [
5722
- (g(!0), Y(ge, null, ke(m(t), (C) => (g(), S(d, {
5723
+ (g(!0), X(ge, null, ke(m(t), (C) => (g(), _(d, {
5723
5724
  key: C.title,
5724
5725
  value: C.title,
5725
5726
  label: C.title
5726
5727
  }, {
5727
5728
  default: T(() => [
5728
- _(c, { bordered: !1 }, {
5729
+ S(c, { bordered: !1 }, {
5729
5730
  content: T(() => [
5730
- C.board ? (g(), S(uo, {
5731
+ C.board ? (g(), _(uo, {
5731
5732
  key: 0,
5732
5733
  viewName: e.viewName,
5733
5734
  board: C.board,
@@ -5745,7 +5746,7 @@ const Ul = /* @__PURE__ */ yt(Fl, [["__scopeId", "data-v-78e0f314"]]), jl = /* @
5745
5746
  };
5746
5747
  }
5747
5748
  });
5748
- const Rl = /* @__PURE__ */ ne({
5749
+ const zl = /* @__PURE__ */ ne({
5749
5750
  __name: "index",
5750
5751
  props: {
5751
5752
  isDialogVisible: { type: Boolean, default: !1 },
@@ -5756,7 +5757,7 @@ const Rl = /* @__PURE__ */ ne({
5756
5757
  },
5757
5758
  emits: ["update:isDialogVisible", "close-dialog"],
5758
5759
  setup(e, { emit: n }) {
5759
- const t = e, o = go(() => import("./index-df1a1d65.mjs")), a = Yt(), l = B(() => t.dialogViewInfo.view), r = B(() => t.dialogViewInfo.name), s = B(() => {
5760
+ const t = e, o = go(() => import("./index-5b9c1613.mjs")), a = Xt(), l = B(() => t.dialogViewInfo.view), r = B(() => t.dialogViewInfo.name), s = B(() => {
5760
5761
  var p;
5761
5762
  return (p = t.dialogViewBoard) == null ? void 0 : p.boardType;
5762
5763
  }), i = B(() => {
@@ -5777,7 +5778,7 @@ const Rl = /* @__PURE__ */ ne({
5777
5778
  function d() {
5778
5779
  n("close-dialog");
5779
5780
  }
5780
- return (p, C) => (g(), S(m(Bn), {
5781
+ return (p, C) => (g(), _(m(Bn), {
5781
5782
  commonDialogProps: {
5782
5783
  visible: e.isDialogVisible,
5783
5784
  width: m(i),
@@ -5788,7 +5789,7 @@ const Rl = /* @__PURE__ */ ne({
5788
5789
  }
5789
5790
  }, {
5790
5791
  body: T(() => [
5791
- _(m(o), {
5792
+ S(m(o), {
5792
5793
  viewName: m(l),
5793
5794
  board: e.dialogViewBoard,
5794
5795
  dialogProps: m(u),
@@ -5808,8 +5809,8 @@ const Rl = /* @__PURE__ */ ne({
5808
5809
  },
5809
5810
  emits: ["close-dialog"],
5810
5811
  setup(e, { emit: n }) {
5811
- const t = e, o = rt(), a = it(), l = Pe(), r = qt(), s = Yt();
5812
- Xn();
5812
+ const t = e, o = rt(), a = it(), l = Pe(), r = qt(), s = Xt();
5813
+ Yn();
5813
5814
  const i = B(() => {
5814
5815
  var A;
5815
5816
  return (A = t.board) == null ? void 0 : A.boardType;
@@ -5841,8 +5842,8 @@ const Rl = /* @__PURE__ */ ne({
5841
5842
  async function h() {
5842
5843
  var A;
5843
5844
  try {
5844
- if (!gt(u.value) && !gt(t.viewName)) {
5845
- const z = await _t({
5845
+ if (!vt(u.value) && !vt(t.viewName)) {
5846
+ const z = await St({
5846
5847
  dataId: u.value,
5847
5848
  viewName: t.viewName,
5848
5849
  props: k.value
@@ -5946,7 +5947,7 @@ const Rl = /* @__PURE__ */ ne({
5946
5947
  let he = {};
5947
5948
  if ((we = A == null ? void 0 : A.props) == null || we.forEach((Me) => {
5948
5949
  Me.keyName && (z[Me.keyName] ?? "") != "" && (he[Me.keyName] = z[Me.keyName]);
5949
- }), !Xt(A.link))
5950
+ }), !Yt(A.link))
5950
5951
  o.push({
5951
5952
  path: A.link,
5952
5953
  query: {
@@ -6074,17 +6075,17 @@ const Rl = /* @__PURE__ */ ne({
6074
6075
  function Ce() {
6075
6076
  n("close-dialog");
6076
6077
  }
6077
- return (A, z) => (g(), Y("div", {
6078
+ return (A, z) => (g(), X("div", {
6078
6079
  class: Z(`${m(J)}__board`)
6079
6080
  }, [
6080
- m(p) ? (g(), S(ha, {
6081
+ m(p) ? (g(), _(pa, {
6081
6082
  key: 0,
6082
6083
  viewName: e.viewName,
6083
6084
  headerInfo: m(p),
6084
6085
  onHeaderButtonAction: R,
6085
6086
  onHeaderFilterChange: I
6086
6087
  }, null, 8, ["viewName", "headerInfo"])) : $("", !0),
6087
- m(i) === "form" ? (g(), S(Na, {
6088
+ m(i) === "form" ? (g(), _(La, {
6088
6089
  key: 1,
6089
6090
  viewName: e.viewName,
6090
6091
  board: e.board,
@@ -6093,7 +6094,7 @@ const Rl = /* @__PURE__ */ ne({
6093
6094
  onConfirmAndClose: fe,
6094
6095
  onCloseDialog: Ce
6095
6096
  }, null, 8, ["viewName", "board", "formData"])) : $("", !0),
6096
- m(i) === "table" ? (g(), S(Ul, {
6097
+ m(i) === "table" ? (g(), _(jl, {
6097
6098
  key: 2,
6098
6099
  viewName: e.viewName,
6099
6100
  board: e.board,
@@ -6104,12 +6105,12 @@ const Rl = /* @__PURE__ */ ne({
6104
6105
  onReturnSelectedKey: U,
6105
6106
  onReturnPaginationProps: le
6106
6107
  }, null, 8, ["viewName", "board", "tableData", "paginationProps"])) : $("", !0),
6107
- m(i) === "tab" ? (g(), S(jl, {
6108
+ m(i) === "tab" ? (g(), _(Rl, {
6108
6109
  key: 3,
6109
6110
  viewName: e.viewName,
6110
6111
  board: e.board
6111
6112
  }, null, 8, ["viewName", "board"])) : $("", !0),
6112
- M.value ? (g(), S(Rl, {
6113
+ M.value ? (g(), _(zl, {
6113
6114
  key: 4,
6114
6115
  ref: "dialogRef",
6115
6116
  isDialogVisible: x.value,
@@ -6126,14 +6127,14 @@ const Rl = /* @__PURE__ */ ne({
6126
6127
  ], 2));
6127
6128
  }
6128
6129
  });
6129
- const zl = /* @__PURE__ */ ne({
6130
+ const $l = /* @__PURE__ */ ne({
6130
6131
  __name: "index",
6131
6132
  props: {
6132
6133
  config: null
6133
6134
  },
6134
6135
  setup(e) {
6135
- const n = e, t = rt(), o = it(), a = Pe(), l = St(), r = qt(), s = Q(""), i = B(() => a.isUserLogin), u = B(() => a.homeUrl);
6136
- vt(async () => {
6136
+ const n = e, t = rt(), o = it(), a = Pe(), l = _t(), r = qt(), s = Q(""), i = B(() => a.isUserLogin), u = B(() => a.homeUrl);
6137
+ yt(async () => {
6137
6138
  i.value || (await a.initUserConfig(n.config), await l.initTabMenu(), t.push(u.value));
6138
6139
  }), nt(async () => {
6139
6140
  r.initSocket(), window.addEventListener("onSocketReload", () => {
@@ -6178,13 +6179,13 @@ const zl = /* @__PURE__ */ ne({
6178
6179
  }
6179
6180
  }
6180
6181
  const N = B(() => a.isGlobalLoaded);
6181
- return (P, k) => (g(), S(On, { title: s.value }, {
6182
+ return (P, k) => (g(), _(On, { title: s.value }, {
6182
6183
  default: T(() => {
6183
6184
  var h;
6184
6185
  return [
6185
- m(N) ? (g(!0), Y(ge, { key: 0 }, ke((h = p.value) == null ? void 0 : h.boards, (M) => {
6186
+ m(N) ? (g(!0), X(ge, { key: 0 }, ke((h = p.value) == null ? void 0 : h.boards, (M) => {
6186
6187
  var x;
6187
- return g(), S(vo, {
6188
+ return g(), _(vo, {
6188
6189
  key: `${(x = p.value) == null ? void 0 : x.viewName}_${M.boardType}`,
6189
6190
  name: "fade",
6190
6191
  mode: "out-in"
@@ -6192,7 +6193,7 @@ const zl = /* @__PURE__ */ ne({
6192
6193
  default: T(() => {
6193
6194
  var v, b;
6194
6195
  return [
6195
- _(uo, {
6196
+ S(uo, {
6196
6197
  board: M,
6197
6198
  viewName: (v = p.value) == null ? void 0 : v.viewName,
6198
6199
  viewProps: (b = p.value) == null ? void 0 : b.props
@@ -6207,14 +6208,14 @@ const zl = /* @__PURE__ */ ne({
6207
6208
  _: 1
6208
6209
  }, 8, ["title"]));
6209
6210
  }
6210
- }), $l = ot(On), Gl = /* @__PURE__ */ ne({
6211
+ }), Gl = ot(On), Kl = /* @__PURE__ */ ne({
6211
6212
  __name: "GLoginTitle",
6212
6213
  props: {
6213
6214
  title: { default: "公信会务管理系统" },
6214
6215
  subTitle: { default: "Gonsin Conference affairs management system" }
6215
6216
  },
6216
6217
  setup(e) {
6217
- return (n, t) => (g(), Y("div", {
6218
+ return (n, t) => (g(), X("div", {
6218
6219
  class: Z(`${m(J)}__login-title`)
6219
6220
  }, [
6220
6221
  ae("div", {
@@ -6226,50 +6227,50 @@ const zl = /* @__PURE__ */ ne({
6226
6227
  ], 2));
6227
6228
  }
6228
6229
  });
6229
- const Kl = /* @__PURE__ */ ae("span", null, [
6230
- /* @__PURE__ */ X("登录即代表同意 "),
6230
+ const Wl = /* @__PURE__ */ ae("span", null, [
6231
+ /* @__PURE__ */ Y("登录即代表同意 "),
6231
6232
  /* @__PURE__ */ ae("a", { href: "#" }, "服务条款"),
6232
- /* @__PURE__ */ X(" 或 "),
6233
+ /* @__PURE__ */ Y(" 或 "),
6233
6234
  /* @__PURE__ */ ae("a", { href: "#" }, "隐私协议")
6234
- ], -1), Wl = [
6235
- Kl
6236
- ], Hl = /* @__PURE__ */ ne({
6235
+ ], -1), Hl = [
6236
+ Wl
6237
+ ], Ql = /* @__PURE__ */ ne({
6237
6238
  __name: "GLoginForm",
6238
6239
  setup(e) {
6239
- return (n, t) => (g(), Y("div", {
6240
+ return (n, t) => (g(), X("div", {
6240
6241
  class: Z(`${m(J)}__login-form`)
6241
6242
  }, [
6242
6243
  Oe(n.$slots, "tabs"),
6243
6244
  ae("div", {
6244
6245
  class: Z(`${m(J)}__login-form--footer`)
6245
- }, Wl, 2)
6246
+ }, Hl, 2)
6246
6247
  ], 2));
6247
6248
  }
6248
6249
  });
6249
- const Ql = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxODAuMjAyIDIyIiBjbGFzcz0iZGVzaWduLWljb25mb250Ij4KICA8cGF0aCBkPSJNMTI0LjY1LDMzMi41NjdoMTVMMTM4LjMsMzQzLjFhMi44MTEsMi44MTEsMCwwLDEtMy4xLDIuNDVIMTI0LjFhMzEuNjU2LDMxLjY1NiwwLDAsMS01LjYtLjQ0MSw3LjczOSw3LjczOSwwLDAsMS0zLjU1LTEuMzIzLDcuNTEsNy41MSwwLDAsMS0zLjc1LTYuNzEzdi0uNTM5Yy4xLS41ODguMS0xLjIyNS4yLTEuOTExYTEyLjA5NCwxMi4wOTQsMCwwLDEsMy4zNS02Ljk1OCwxMS40LDExLjQsMCwwLDEsNS4wNS0zLjAzOCwyNy45NDgsMjcuOTQ4LDAsMCwxLDcuNy0uOThoMTQuOWwtMi45NSwzLjkyaC0xMS44YTEyLjcsMTIuNywwLDAsMC02LjEsMS4yMjVjLTEuNiwxLjAyOS0yLjU1LDIuODkxLTIuOTUsNS4zOWExMS4zMSwxMS4zMSwwLDAsMCwwLDMuNjc1LDQuODQsNC44NCwwLDAsMCwxLjI1LDIuMzUyLDQuMTQ0LDQuMTQ0LDAsMCwwLDIuMywxLjAyOSwxNS45NTQsMTUuOTU0LDAsMCwwLDMuNzUuMzQzaDUuODVsLjgtNS4xOTRoLTguNmwuNy0zLjgyMlpNMjYxLjQsMzI5LjUyOWwtMS44NSwxNi4wMjJoLTYuNWwzLTIxLjhoOC4zNWw5Ljc1LDE2LjI2NywyLjQtMTYuMjY3aDYuMmwtLjQ1LDIuNzkzLTIuMTUsMTQuOWE1LjgsNS44LDAsMCwxLTEuNCwzLjAzOCw0LjMsNC4zLDAsMCwxLTIuODUsMS4xMjdoLTQuNDVMMjYxLjQsMzI5LjUyOVptLTIxLDE1Ljk3MywzLjEtMjEuOGg3LjFsLTMuMiwyMS44Wm0tMzMuMiwwLDIuODUtMy45MkgyMjMuMmExNy41MzYsMTcuNTM2LDAsMCwwLDQuNTUtLjQ0MSwzLjEsMy4xLDAsMCwwLDEuOTUtMi4xMDcsMi4xODYsMi4xODYsMCwwLDAtMS42LTIuMzUyLDEwLjUsMTAuNSwwLDAsMC0zLjM1LS4zNDNoLTUuN2MtMy40NSwwLTUuODUtLjUzOS03LjMtMS4zNzJhNS42MTksNS42MTksMCwwLDEtMS45NS0yLjEwNyw0LjgzOCw0LjgzOCwwLDAsMS0uMzUtMi43OTMsNi41MTgsNi41MTgsMCwwLDEsMi41LTQuMTY1YzEuNC0xLjIyNSwzLjQ1LTEuOTExLDYuMi0yLjE1Ni45LDAsMi4zLS4xLDQuMS0uMWgxNS4ybC0zLjEsMy45MmgtMTEuMmEzMy4xODQsMzMuMTg0LDAsMCwwLTQuMS4yLDIuNTk0LDIuNTk0LDAsMCwwLTIuNCwyLjE1NiwxLjgxNSwxLjgxNSwwLDAsMCwxLjQsMi4xNTYsMTMuODI4LDEzLjgyOCwwLDAsMCwzLjguMzQzaDQuOWEyOS45NjUsMjkuOTY1LDAsMCwxLDUuNi40NDFjMi4wNS41MzksMy40NSwxLjQ3LDQuMSwyLjc5M2E2LjM2LDYuMzYsMCwwLDEsLjQ1LDMuMzgxLDYuOTA4LDYuOTA4LDAsMCwxLTEuNzUsMy41NzcsOC45NTIsOC45NTIsMCwwLDEtNS43NSwyLjYsMzcuMiwzNy4yLDAsMCwxLTUuMy4yNDVIMjA3LjJabS0yMi43NS0xNS45NzMtMi4zLDE2LjAyMmgtNi4ybDMuMi0yMS44aDguMzVsOS43NSwxNi4yNjcsMi40LTE2LjI2N2g2LjJsLTMuMiwyMS44aC04bC0xMC4yLTE2LjAyMlpNMTU4LjEsMzQ1LjZoLTEuMTVhMjQuNTEzLDI0LjUxMywwLDAsMS04LjgtMS4zNzIsNy45LDcuOSwwLDAsMS00LjQ1LTMuNTc3LDkuMjc5LDkuMjc5LDAsMCwxLS44LTUuOTI5Yy42LTQuMTY1LDIuNS03LjE1NCw1LjctOC44NjksMi4zLTEuMzcyLDUuNS0yLjEwNyw5LjUtMi4yNTRoMS42YTI3LjAzLDI3LjAzLDAsMCwxLDcuOSwxLjAyOSw4LjEsOC4xLDAsMCwxLDUuMDUsNC41MDgsMTEuMjM3LDExLjIzNywwLDAsMSwuNDUsNS43MzMsMTAuNiwxMC42LDAsMCwxLTIuNCw1LjczMywxMi4yMzMsMTIuMjMzLDAsMCwxLTYuNjUsNC4wNjcsMjIuMjE3LDIyLjIxNywwLDAsMS01Ljk1LjkzMVptMC0xOC4zMjVhOS4yMTQsOS4yMTQsMCwwLDAtNS43LDIuMTA3LDguNDc5LDguNDc5LDAsMCwwLTIuMyw1LjE5NGMtLjM1LDIuNSwwLDQuNDU5LDEuMTUsNS42MzUsMS4wNSwxLjEyNywzLDEuNzE1LDUuNzUsMS43MTVoMS4wNWExMC4xMTcsMTAuMTE3LDAsMCwwLDUuMTUtMS43MTUsOC40NzEsOC40NzEsMCwwLDAsMi43NS01LjU4NmMuMzUtMi4zNTIuMS00LjA2Ny0uOC01LjI5Mi0xLTEuMzcyLTMtMi4xMDctNi4wNS0yLjEwN0E2LjUwNiw2LjUwNiwwLDAsMSwxNTguMSwzMjcuMjc1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTExMS4yIC0zMjMuNikiIGZpbGw9IiNiY2M0ZDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPgogIDxwYXRoIGQ9Ik00NTkuMTUsMzUxLjJhNC4xNSw0LjE1LDAsMSwxLTQuMTUsNC4xNSw0LjE0LDQuMTQsMCwwLDEsNC4xNS00LjE1Wm0tMS45NSw2LjdoLjY1di0yLjI1SDQ1OWMuMS4wNS4yLjA1LjMuMTVhMi4yNTYsMi4yNTYsMCwwLDEsLjM1LjM1LDUuMjIxLDUuMjIxLDAsMCwxLC41LjdsLjY1LDEuMDVoLjg1bC0uOS0xLjRhOC41NDQsOC41NDQsMCwwLDAtLjU1LS43LDIuOCwyLjgsMCwwLDAtLjQtLjI1LDEuNzIsMS43MiwwLDAsMCwxLjEtLjQ1LDEuNCwxLjQsMCwwLDAsLjE1LTEuNjUsMS4zLDEuMywwLDAsMC0uNTUtLjUsMi45MjEsMi45MjEsMCwwLDAtMS4wNS0uMTVINDU3LjJ2NS4xWm0uNjUtMi44aDEuNDVhMi4zMTgsMi4zMTgsMCwwLDAsLjctLjEuNzc4Ljc3OCwwLDAsMCwuNC0uMy44MDYuODA2LDAsMCwwLC4xNS0uNDUuODI4LjgyOCwwLDAsMC0uMjUtLjYsMS4yMjksMS4yMjksMCwwLDAtLjg1LS4yNWgtMS42djEuN1ptMS4zLTMuMzVhMy42NSwzLjY1LDAsMSwwLDMuNjUsMy42NUEzLjY3MSwzLjY3MSwwLDAsMCw0NTkuMTUsMzUxLjc1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTI4My4wOTggLTMzNy44NSkiIGZpbGw9IiNiY2M0ZDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPgo8L3N2Zz4K", ql = ["innerHTML"], Yl = ["innerHTML"], Xl = /* @__PURE__ */ ne({
6250
+ const ql = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxODAuMjAyIDIyIiBjbGFzcz0iZGVzaWduLWljb25mb250Ij4KICA8cGF0aCBkPSJNMTI0LjY1LDMzMi41NjdoMTVMMTM4LjMsMzQzLjFhMi44MTEsMi44MTEsMCwwLDEtMy4xLDIuNDVIMTI0LjFhMzEuNjU2LDMxLjY1NiwwLDAsMS01LjYtLjQ0MSw3LjczOSw3LjczOSwwLDAsMS0zLjU1LTEuMzIzLDcuNTEsNy41MSwwLDAsMS0zLjc1LTYuNzEzdi0uNTM5Yy4xLS41ODguMS0xLjIyNS4yLTEuOTExYTEyLjA5NCwxMi4wOTQsMCwwLDEsMy4zNS02Ljk1OCwxMS40LDExLjQsMCwwLDEsNS4wNS0zLjAzOCwyNy45NDgsMjcuOTQ4LDAsMCwxLDcuNy0uOThoMTQuOWwtMi45NSwzLjkyaC0xMS44YTEyLjcsMTIuNywwLDAsMC02LjEsMS4yMjVjLTEuNiwxLjAyOS0yLjU1LDIuODkxLTIuOTUsNS4zOWExMS4zMSwxMS4zMSwwLDAsMCwwLDMuNjc1LDQuODQsNC44NCwwLDAsMCwxLjI1LDIuMzUyLDQuMTQ0LDQuMTQ0LDAsMCwwLDIuMywxLjAyOSwxNS45NTQsMTUuOTU0LDAsMCwwLDMuNzUuMzQzaDUuODVsLjgtNS4xOTRoLTguNmwuNy0zLjgyMlpNMjYxLjQsMzI5LjUyOWwtMS44NSwxNi4wMjJoLTYuNWwzLTIxLjhoOC4zNWw5Ljc1LDE2LjI2NywyLjQtMTYuMjY3aDYuMmwtLjQ1LDIuNzkzLTIuMTUsMTQuOWE1LjgsNS44LDAsMCwxLTEuNCwzLjAzOCw0LjMsNC4zLDAsMCwxLTIuODUsMS4xMjdoLTQuNDVMMjYxLjQsMzI5LjUyOVptLTIxLDE1Ljk3MywzLjEtMjEuOGg3LjFsLTMuMiwyMS44Wm0tMzMuMiwwLDIuODUtMy45MkgyMjMuMmExNy41MzYsMTcuNTM2LDAsMCwwLDQuNTUtLjQ0MSwzLjEsMy4xLDAsMCwwLDEuOTUtMi4xMDcsMi4xODYsMi4xODYsMCwwLDAtMS42LTIuMzUyLDEwLjUsMTAuNSwwLDAsMC0zLjM1LS4zNDNoLTUuN2MtMy40NSwwLTUuODUtLjUzOS03LjMtMS4zNzJhNS42MTksNS42MTksMCwwLDEtMS45NS0yLjEwNyw0LjgzOCw0LjgzOCwwLDAsMS0uMzUtMi43OTMsNi41MTgsNi41MTgsMCwwLDEsMi41LTQuMTY1YzEuNC0xLjIyNSwzLjQ1LTEuOTExLDYuMi0yLjE1Ni45LDAsMi4zLS4xLDQuMS0uMWgxNS4ybC0zLjEsMy45MmgtMTEuMmEzMy4xODQsMzMuMTg0LDAsMCwwLTQuMS4yLDIuNTk0LDIuNTk0LDAsMCwwLTIuNCwyLjE1NiwxLjgxNSwxLjgxNSwwLDAsMCwxLjQsMi4xNTYsMTMuODI4LDEzLjgyOCwwLDAsMCwzLjguMzQzaDQuOWEyOS45NjUsMjkuOTY1LDAsMCwxLDUuNi40NDFjMi4wNS41MzksMy40NSwxLjQ3LDQuMSwyLjc5M2E2LjM2LDYuMzYsMCwwLDEsLjQ1LDMuMzgxLDYuOTA4LDYuOTA4LDAsMCwxLTEuNzUsMy41NzcsOC45NTIsOC45NTIsMCwwLDEtNS43NSwyLjYsMzcuMiwzNy4yLDAsMCwxLTUuMy4yNDVIMjA3LjJabS0yMi43NS0xNS45NzMtMi4zLDE2LjAyMmgtNi4ybDMuMi0yMS44aDguMzVsOS43NSwxNi4yNjcsMi40LTE2LjI2N2g2LjJsLTMuMiwyMS44aC04bC0xMC4yLTE2LjAyMlpNMTU4LjEsMzQ1LjZoLTEuMTVhMjQuNTEzLDI0LjUxMywwLDAsMS04LjgtMS4zNzIsNy45LDcuOSwwLDAsMS00LjQ1LTMuNTc3LDkuMjc5LDkuMjc5LDAsMCwxLS44LTUuOTI5Yy42LTQuMTY1LDIuNS03LjE1NCw1LjctOC44NjksMi4zLTEuMzcyLDUuNS0yLjEwNyw5LjUtMi4yNTRoMS42YTI3LjAzLDI3LjAzLDAsMCwxLDcuOSwxLjAyOSw4LjEsOC4xLDAsMCwxLDUuMDUsNC41MDgsMTEuMjM3LDExLjIzNywwLDAsMSwuNDUsNS43MzMsMTAuNiwxMC42LDAsMCwxLTIuNCw1LjczMywxMi4yMzMsMTIuMjMzLDAsMCwxLTYuNjUsNC4wNjcsMjIuMjE3LDIyLjIxNywwLDAsMS01Ljk1LjkzMVptMC0xOC4zMjVhOS4yMTQsOS4yMTQsMCwwLDAtNS43LDIuMTA3LDguNDc5LDguNDc5LDAsMCwwLTIuMyw1LjE5NGMtLjM1LDIuNSwwLDQuNDU5LDEuMTUsNS42MzUsMS4wNSwxLjEyNywzLDEuNzE1LDUuNzUsMS43MTVoMS4wNWExMC4xMTcsMTAuMTE3LDAsMCwwLDUuMTUtMS43MTUsOC40NzEsOC40NzEsMCwwLDAsMi43NS01LjU4NmMuMzUtMi4zNTIuMS00LjA2Ny0uOC01LjI5Mi0xLTEuMzcyLTMtMi4xMDctNi4wNS0yLjEwN0E2LjUwNiw2LjUwNiwwLDAsMSwxNTguMSwzMjcuMjc1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTExMS4yIC0zMjMuNikiIGZpbGw9IiNiY2M0ZDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPgogIDxwYXRoIGQ9Ik00NTkuMTUsMzUxLjJhNC4xNSw0LjE1LDAsMSwxLTQuMTUsNC4xNSw0LjE0LDQuMTQsMCwwLDEsNC4xNS00LjE1Wm0tMS45NSw2LjdoLjY1di0yLjI1SDQ1OWMuMS4wNS4yLjA1LjMuMTVhMi4yNTYsMi4yNTYsMCwwLDEsLjM1LjM1LDUuMjIxLDUuMjIxLDAsMCwxLC41LjdsLjY1LDEuMDVoLjg1bC0uOS0xLjRhOC41NDQsOC41NDQsMCwwLDAtLjU1LS43LDIuOCwyLjgsMCwwLDAtLjQtLjI1LDEuNzIsMS43MiwwLDAsMCwxLjEtLjQ1LDEuNCwxLjQsMCwwLDAsLjE1LTEuNjUsMS4zLDEuMywwLDAsMC0uNTUtLjUsMi45MjEsMi45MjEsMCwwLDAtMS4wNS0uMTVINDU3LjJ2NS4xWm0uNjUtMi44aDEuNDVhMi4zMTgsMi4zMTgsMCwwLDAsLjctLjEuNzc4Ljc3OCwwLDAsMCwuNC0uMy44MDYuODA2LDAsMCwwLC4xNS0uNDUuODI4LjgyOCwwLDAsMC0uMjUtLjYsMS4yMjksMS4yMjksMCwwLDAtLjg1LS4yNWgtMS42djEuN1ptMS4zLTMuMzVhMy42NSwzLjY1LDAsMSwwLDMuNjUsMy42NUEzLjY3MSwzLjY3MSwwLDAsMCw0NTkuMTUsMzUxLjc1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTI4My4wOTggLTMzNy44NSkiIGZpbGw9IiNiY2M0ZDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPgo8L3N2Zz4K", Xl = ["innerHTML"], Yl = ["innerHTML"], Zl = /* @__PURE__ */ ne({
6250
6251
  __name: "GLoginFooter",
6251
6252
  props: {
6252
6253
  copyrightInfoEng: { default: "Copyright 2020 All Rights Reserved.&ensp;" },
6253
6254
  copyrightInfoCN: { default: '版权所有:广东公信智能会议股份有限公司&ensp; - &ensp;<a href="#">粤ICP备08010133号-4</a>' }
6254
6255
  },
6255
6256
  setup(e) {
6256
- return (n, t) => (g(), Y("div", {
6257
+ return (n, t) => (g(), X("div", {
6257
6258
  class: Z(`${m(J)}__login-footer`)
6258
6259
  }, [
6259
6260
  ae("span", {
6260
6261
  class: Z(`${m(J)}__login-footer--logo`),
6261
- style: It({ backgroundImage: `url(${m(Ql)})` })
6262
+ style: It({ backgroundImage: `url(${m(ql)})` })
6262
6263
  }, null, 6),
6263
6264
  ae("div", {
6264
6265
  class: Z(`${m(J)}__login-footer--copyright`)
6265
6266
  }, [
6266
- ae("div", { innerHTML: e.copyrightInfoEng }, null, 8, ql),
6267
+ ae("div", { innerHTML: e.copyrightInfoEng }, null, 8, Xl),
6267
6268
  ae("div", { innerHTML: e.copyrightInfoCN }, null, 8, Yl)
6268
6269
  ], 2)
6269
6270
  ], 2));
6270
6271
  }
6271
6272
  });
6272
- const Zl = ["id", "poster"], Jl = ["src"], er = ["src"], tr = /* @__PURE__ */ ne({
6273
+ const Jl = ["id", "poster"], er = ["src"], tr = ["src"], nr = /* @__PURE__ */ ne({
6273
6274
  __name: "index",
6274
6275
  props: {
6275
6276
  bgVideoMp4Src: null,
@@ -6279,7 +6280,7 @@ const Zl = ["id", "poster"], Jl = ["src"], er = ["src"], tr = /* @__PURE__ */ ne
6279
6280
  subTitle: null
6280
6281
  },
6281
6282
  setup(e) {
6282
- return (n, t) => (g(), Y("div", {
6283
+ return (n, t) => (g(), X("div", {
6283
6284
  class: Z(`${m(J)}__login-wrapper`)
6284
6285
  }, [
6285
6286
  ae("video", {
@@ -6293,34 +6294,34 @@ const Zl = ["id", "poster"], Jl = ["src"], er = ["src"], tr = /* @__PURE__ */ ne
6293
6294
  ae("source", {
6294
6295
  src: e.bgVideoMp4Src,
6295
6296
  type: "video/mp4"
6296
- }, null, 8, Jl),
6297
+ }, null, 8, er),
6297
6298
  ae("source", {
6298
6299
  src: e.bgVideoWebmSrc,
6299
6300
  type: "video/webm"
6300
- }, null, 8, er)
6301
- ], 12, Zl),
6301
+ }, null, 8, tr)
6302
+ ], 12, Jl),
6302
6303
  ae("div", {
6303
6304
  class: Z(`${m(J)}__login-wrapper--overlay`)
6304
6305
  }, null, 2),
6305
6306
  ae("div", {
6306
6307
  class: Z(`${m(J)}__login-wrapper--container`)
6307
6308
  }, [
6308
- _(Gl, {
6309
+ S(Kl, {
6309
6310
  title: e.title,
6310
6311
  subTitle: e.subTitle
6311
6312
  }, null, 8, ["title", "subTitle"]),
6312
- _(Hl, null, {
6313
+ S(Ql, null, {
6313
6314
  tabs: T(() => [
6314
6315
  Oe(n.$slots, "tabs", {}, void 0, !0)
6315
6316
  ]),
6316
6317
  _: 3
6317
6318
  })
6318
6319
  ], 2),
6319
- _(Xl)
6320
+ S(Zl)
6320
6321
  ], 2));
6321
6322
  }
6322
6323
  });
6323
- const nr = /* @__PURE__ */ yt(tr, [["__scopeId", "data-v-b1b26512"]]), Kr = ot(nr);
6324
+ const or = /* @__PURE__ */ st(nr, [["__scopeId", "data-v-b1b26512"]]), Wr = ot(or);
6324
6325
  Co.configure({
6325
6326
  easing: "ease",
6326
6327
  // 动画方式
@@ -6334,7 +6335,7 @@ Co.configure({
6334
6335
  minimum: 0.1
6335
6336
  // 初始化时的最小百分比
6336
6337
  });
6337
- const or = [
6338
+ const ar = [
6338
6339
  {
6339
6340
  stem: "app",
6340
6341
  icon: "App"
@@ -6879,19 +6880,19 @@ const or = [
6879
6880
  getMenus: "/restapi/menus",
6880
6881
  saveMenus: "/restapi/menus"
6881
6882
  };
6882
- function ar(e) {
6883
+ function lr(e) {
6883
6884
  return We.put(co.saveMenus, e);
6884
6885
  }
6885
- function lr() {
6886
+ function rr() {
6886
6887
  return We.post(co.getMenus, { currentMenu: !1 });
6887
6888
  }
6888
- const rr = { class: "menu-title" }, ir = {
6889
+ const ir = { class: "menu-title" }, sr = {
6889
6890
  key: 0,
6890
6891
  class: "counts"
6891
- }, sr = { class: "operations" }, ur = { id: "icon-option" }, cr = { key: 0 }, dr = {
6892
+ }, ur = { class: "operations" }, cr = { id: "icon-option" }, dr = { key: 0 }, mr = {
6892
6893
  key: 1,
6893
6894
  style: { color: "#9f9f9f" }
6894
- }, mr = /* @__PURE__ */ ne({
6895
+ }, fr = /* @__PURE__ */ ne({
6895
6896
  __name: "index",
6896
6897
  setup(e) {
6897
6898
  const n = Pe(), t = Q("菜单管理"), o = [
@@ -6934,7 +6935,7 @@ const rr = { class: "menu-title" }, ir = {
6934
6935
  name: [
6935
6936
  {
6936
6937
  required: !0,
6937
- message: "名称必填",
6938
+ message: "菜单标识必填",
6938
6939
  type: "error",
6939
6940
  trigger: "blur"
6940
6941
  }
@@ -6968,7 +6969,7 @@ const rr = { class: "menu-title" }, ir = {
6968
6969
  label: D.title,
6969
6970
  value: D.name
6970
6971
  }))
6971
- ), M = it(), x = St();
6972
+ ), M = it(), x = _t();
6972
6973
  function v() {
6973
6974
  const { fullPath: D, query: L } = M, V = decodeURIComponent(D);
6974
6975
  x.appendTabMenuItem({
@@ -6992,7 +6993,7 @@ const rr = { class: "menu-title" }, ir = {
6992
6993
  return b.value.length ? b.value.some((L) => L.url === D.url) : !1;
6993
6994
  }
6994
6995
  async function E() {
6995
- const D = await lr();
6996
+ const D = await rr();
6996
6997
  D.state == 200 ? b.value = y(D.data) : (console.log(D.message), te.error(`获取内置菜单列表出错: ${D.message}`));
6997
6998
  }
6998
6999
  function R(D) {
@@ -7055,10 +7056,10 @@ const rr = { class: "menu-title" }, ir = {
7055
7056
  }
7056
7057
  }
7057
7058
  function ie(D) {
7058
- i.value = ft(D), D.isGroup ? r.value = "editGroup" : (r.value = "editItem", i.value.isInner = w(D)), l.value = !0;
7059
+ i.value = ht(D), D.isGroup ? r.value = "editGroup" : (r.value = "editItem", i.value.isInner = w(D)), l.value = !0;
7059
7060
  }
7060
7061
  function Ne(D) {
7061
- i.value = ft(D), l.value = !0, r.value = "moveItemTo";
7062
+ i.value = ht(D), l.value = !0, r.value = "moveItemTo";
7062
7063
  }
7063
7064
  function Le() {
7064
7065
  l.value = !1, setTimeout(() => {
@@ -7153,7 +7154,7 @@ const rr = { class: "menu-title" }, ir = {
7153
7154
  async function we() {
7154
7155
  const D = mn(N.value);
7155
7156
  try {
7156
- (await ar({ menus: [...D] })).state == 200 && (n.setSideMenuConfig(N.value), s.value = N.value, te.success("保存菜单方案成功!"));
7157
+ (await lr({ menus: [...D] })).state == 200 && (n.setSideMenuConfig(N.value), s.value = N.value, te.success("保存菜单方案成功!"));
7157
7158
  } catch (L) {
7158
7159
  te.error(L.message);
7159
7160
  }
@@ -7180,7 +7181,7 @@ const rr = { class: "menu-title" }, ir = {
7180
7181
  const { children: W } = K.row, oe = W == null ? void 0 : W.findIndex((q) => q.name == D.name);
7181
7182
  W && (Me(W, L, oe), H());
7182
7183
  } else {
7183
- const W = ft(N.value), oe = W.findIndex((q) => q.name == D.name);
7184
+ const W = ht(N.value), oe = W.findIndex((q) => q.name == D.name);
7184
7185
  Me(W, L, oe), H(W);
7185
7186
  }
7186
7187
  }
@@ -7205,43 +7206,43 @@ const rr = { class: "menu-title" }, ir = {
7205
7206
  }
7206
7207
  return (D, L) => {
7207
7208
  const V = j("t-button"), G = j("t-icon"), K = j("t-input"), W = j("t-form-item"), oe = j("t-option"), q = j("t-select"), ce = j("t-input-group");
7208
- return g(), S(m($l), { title: t.value }, {
7209
+ return g(), _(m(Gl), { title: t.value }, {
7209
7210
  default: T(() => [
7210
- _(m(Un), null, {
7211
+ S(m(Un), null, {
7211
7212
  "left-operations": T(() => [
7212
- _(V, {
7213
+ S(V, {
7213
7214
  theme: "primary",
7214
7215
  onClick: U
7215
7216
  }, {
7216
7217
  default: T(() => [
7217
- X("添加组")
7218
+ Y("添加组")
7218
7219
  ]),
7219
7220
  _: 1
7220
7221
  }),
7221
- _(V, {
7222
+ S(V, {
7222
7223
  theme: "default",
7223
7224
  onClick: re
7224
7225
  }, {
7225
7226
  default: T(() => [
7226
- X("恢复默认")
7227
+ Y("恢复默认")
7227
7228
  ]),
7228
7229
  _: 1
7229
7230
  })
7230
7231
  ]),
7231
7232
  "right-operations": T(() => [
7232
- _(V, {
7233
+ S(V, {
7233
7234
  theme: "primary",
7234
7235
  onClick: we
7235
7236
  }, {
7236
7237
  default: T(() => [
7237
- X("保存方案")
7238
+ Y("保存方案")
7238
7239
  ]),
7239
7240
  _: 1
7240
7241
  })
7241
7242
  ]),
7242
7243
  _: 1
7243
7244
  }),
7244
- _(m(jn), {
7245
+ S(m(jn), {
7245
7246
  ref_key: "commonTableRef",
7246
7247
  ref: c,
7247
7248
  id: "menu-table",
@@ -7263,91 +7264,91 @@ const rr = { class: "menu-title" }, ir = {
7263
7264
  }
7264
7265
  }, {
7265
7266
  treeExpandAndFoldIcon: T(({ type: F }) => [
7266
- F === "expand" ? (g(), S(G, {
7267
+ F === "expand" ? (g(), _(G, {
7267
7268
  key: 0,
7268
7269
  name: "chevron-right"
7269
- })) : (g(), S(G, {
7270
+ })) : (g(), _(G, {
7270
7271
  key: 1,
7271
7272
  name: "chevron-up"
7272
7273
  }))
7273
7274
  ]),
7274
7275
  drag: T(() => [
7275
- _(G, { name: "move" })
7276
+ S(G, { name: "move" })
7276
7277
  ]),
7277
7278
  title: T(({ row: F }) => [
7278
- ae("span", rr, [
7279
+ ae("span", ir, [
7279
7280
  ae("span", {
7280
7281
  class: Z(["title", F.isGroup ? "title-bold" : "title-child"])
7281
7282
  }, [
7282
- F.level == 1 && F.isGroup ? (g(), Y(ge, { key: 0 }, [
7283
- F.icon ? (g(), S(G, {
7283
+ F.level == 1 && F.isGroup ? (g(), X(ge, { key: 0 }, [
7284
+ F.icon ? (g(), _(G, {
7284
7285
  key: 0,
7285
7286
  class: "title-icon",
7286
7287
  name: F.icon,
7287
7288
  size: "large"
7288
- }, null, 8, ["name"])) : (g(), S(G, {
7289
+ }, null, 8, ["name"])) : (g(), _(G, {
7289
7290
  key: 1,
7290
7291
  class: "title-icon",
7291
7292
  name: "app",
7292
7293
  size: "large"
7293
7294
  }))
7294
7295
  ], 64)) : $("", !0),
7295
- X(" " + ye(F.title), 1)
7296
+ Y(" " + ye(F.title), 1)
7296
7297
  ], 2),
7297
- F.isGroup ? (g(), Y("span", ir, ye(F.children.length) + "项", 1)) : $("", !0)
7298
+ F.isGroup ? (g(), X("span", sr, ye(F.children.length) + "项", 1)) : $("", !0)
7298
7299
  ])
7299
7300
  ]),
7300
7301
  operations: T(({ row: F }) => [
7301
- ae("div", sr, [
7302
- _(V, {
7302
+ ae("div", ur, [
7303
+ S(V, {
7303
7304
  variant: "text",
7304
7305
  theme: "primary",
7305
7306
  onClick: (pe) => ie(F)
7306
7307
  }, {
7307
7308
  default: T(() => [
7308
- X(" 编辑修改 ")
7309
+ Y(" 编辑修改 ")
7309
7310
  ]),
7310
7311
  _: 2
7311
7312
  }, 1032, ["onClick"]),
7312
- _(V, {
7313
+ S(V, {
7313
7314
  variant: "text",
7314
7315
  theme: "primary",
7315
7316
  disabled: F.isGroup,
7316
7317
  onClick: (pe) => Ne(F)
7317
7318
  }, {
7318
7319
  default: T(() => [
7319
- X(ye(F.isGroup ? "-----" : "转移至"), 1)
7320
+ Y(ye(F.isGroup ? "-----" : "转移至"), 1)
7320
7321
  ]),
7321
7322
  _: 2
7322
7323
  }, 1032, ["disabled", "onClick"]),
7323
- _(V, {
7324
+ S(V, {
7324
7325
  variant: "text",
7325
7326
  theme: "primary",
7326
7327
  onClick: (pe) => me(F, "up")
7327
7328
  }, {
7328
7329
  default: T(() => [
7329
- X(" 上移 ")
7330
+ Y(" 上移 ")
7330
7331
  ]),
7331
7332
  _: 2
7332
7333
  }, 1032, ["onClick"]),
7333
- _(V, {
7334
+ S(V, {
7334
7335
  variant: "text",
7335
7336
  theme: "primary",
7336
7337
  onClick: (pe) => me(F, "down")
7337
7338
  }, {
7338
7339
  default: T(() => [
7339
- X(" 下移 ")
7340
+ Y(" 下移 ")
7340
7341
  ]),
7341
7342
  _: 2
7342
7343
  }, 1032, ["onClick"]),
7343
- _(V, {
7344
+ S(V, {
7344
7345
  variant: "text",
7345
7346
  theme: "primary",
7346
7347
  disabled: !F.isGroup,
7347
7348
  onClick: (pe) => z(F)
7348
7349
  }, {
7349
7350
  default: T(() => [
7350
- X(ye(F.isGroup ? "撤销组" : "-----"), 1)
7351
+ Y(ye(F.isGroup ? "撤销组" : "-----"), 1)
7351
7352
  ]),
7352
7353
  _: 2
7353
7354
  }, 1032, ["disabled", "onClick"])
@@ -7355,7 +7356,7 @@ const rr = { class: "menu-title" }, ir = {
7355
7356
  ]),
7356
7357
  _: 1
7357
7358
  }, 8, ["commonTableProps"]),
7358
- _(m(Bn), {
7359
+ S(m(Bn), {
7359
7360
  commonDialogProps: {
7360
7361
  visible: l.value,
7361
7362
  onClose: Le,
@@ -7365,7 +7366,7 @@ const rr = { class: "menu-title" }, ir = {
7365
7366
  }
7366
7367
  }, {
7367
7368
  default: T(() => [
7368
- _(m(Yo), {
7369
+ S(m(Xo), {
7369
7370
  ref_key: "commonFormRef",
7370
7371
  ref: p,
7371
7372
  commonFormProps: {
@@ -7376,18 +7377,18 @@ const rr = { class: "menu-title" }, ir = {
7376
7377
  }
7377
7378
  }, Nt({
7378
7379
  footer: T(() => [
7379
- _(V, {
7380
+ S(V, {
7380
7381
  theme: "default",
7381
7382
  onClick: Le
7382
7383
  }, {
7383
7384
  default: T(() => [
7384
- X("取消")
7385
+ Y("取消")
7385
7386
  ]),
7386
7387
  _: 1
7387
7388
  }),
7388
- _(V, { onClick: Ce }, {
7389
+ S(V, { onClick: Ce }, {
7389
7390
  default: T(() => [
7390
- X("确定")
7391
+ Y("确定")
7391
7392
  ]),
7392
7393
  _: 1
7393
7394
  })
@@ -7397,13 +7398,13 @@ const rr = { class: "menu-title" }, ir = {
7397
7398
  r.value == "addGroup" || r.value == "editGroup" || r.value == "editItem" ? {
7398
7399
  name: "body",
7399
7400
  fn: T(() => [
7400
- _(W, {
7401
+ S(W, {
7401
7402
  name: "title",
7402
7403
  label: "组名称",
7403
7404
  requiredMark: !0
7404
7405
  }, {
7405
7406
  default: T(() => [
7406
- _(K, {
7407
+ S(K, {
7407
7408
  style: { width: "360px" },
7408
7409
  modelValue: i.value.title,
7409
7410
  "onUpdate:modelValue": L[0] || (L[0] = (F) => i.value.title = F),
@@ -7412,28 +7413,29 @@ const rr = { class: "menu-title" }, ir = {
7412
7413
  ]),
7413
7414
  _: 1
7414
7415
  }),
7415
- _(W, {
7416
+ S(W, {
7416
7417
  name: "name",
7417
7418
  label: "名称标识",
7418
7419
  requiredMark: !0
7419
7420
  }, {
7420
7421
  default: T(() => [
7421
- _(K, {
7422
+ S(K, {
7422
7423
  style: { width: "360px" },
7423
7424
  modelValue: i.value.name,
7424
7425
  "onUpdate:modelValue": L[1] || (L[1] = (F) => i.value.name = F),
7425
- placeholder: "请输入名称标识,例如 SYSTEM"
7426
- }, null, 8, ["modelValue"])
7426
+ placeholder: "输入该菜单的唯一标识,设置后不能修改",
7427
+ disabled: r.value == "editGroup" || r.value == "editItem"
7428
+ }, null, 8, ["modelValue", "disabled"])
7427
7429
  ]),
7428
7430
  _: 1
7429
7431
  }),
7430
- i.value.level == 1 ? (g(), S(W, {
7432
+ i.value.level == 1 ? (g(), _(W, {
7431
7433
  key: 0,
7432
7434
  name: "icon",
7433
7435
  label: "图标标识"
7434
7436
  }, {
7435
7437
  default: T(() => [
7436
- _(q, {
7438
+ S(q, {
7437
7439
  modelValue: i.value.icon,
7438
7440
  "onUpdate:modelValue": L[2] || (L[2] = (F) => i.value.icon = F),
7439
7441
  placeholder: "请选择图标标识",
@@ -7441,23 +7443,23 @@ const rr = { class: "menu-title" }, ir = {
7441
7443
  clearable: !0
7442
7444
  }, {
7443
7445
  valueDisplay: T(() => [
7444
- i.value.icon ? (g(), Y("span", cr, [
7445
- _(G, {
7446
+ i.value.icon ? (g(), X("span", dr, [
7447
+ S(G, {
7446
7448
  name: i.value.icon,
7447
7449
  style: { marginRight: "8px" }
7448
7450
  }, null, 8, ["name"]),
7449
- X(ye(i.value.icon), 1)
7450
- ])) : (g(), Y("span", dr, "请选择图标标识"))
7451
+ Y(ye(i.value.icon), 1)
7452
+ ])) : (g(), X("span", mr, "请选择图标标识"))
7451
7453
  ]),
7452
7454
  default: T(() => [
7453
- (g(!0), Y(ge, null, ke(m(or), (F) => (g(), S(oe, {
7455
+ (g(!0), X(ge, null, ke(m(ar), (F) => (g(), _(oe, {
7454
7456
  value: F.stem,
7455
7457
  key: F.stem,
7456
7458
  class: "overlay-options"
7457
7459
  }, {
7458
7460
  default: T(() => [
7459
- ae("span", ur, [
7460
- _(G, {
7461
+ ae("span", cr, [
7462
+ S(G, {
7461
7463
  name: F.stem,
7462
7464
  size: "small"
7463
7465
  }, null, 8, ["name"])
@@ -7471,14 +7473,14 @@ const rr = { class: "menu-title" }, ir = {
7471
7473
  ]),
7472
7474
  _: 1
7473
7475
  })) : $("", !0),
7474
- i.value.isGroup ? $("", !0) : (g(), S(W, {
7476
+ i.value.isGroup ? $("", !0) : (g(), _(W, {
7475
7477
  key: 1,
7476
7478
  name: "parent",
7477
7479
  label: "父菜单",
7478
7480
  requiredMark: !0
7479
7481
  }, {
7480
7482
  default: T(() => [
7481
- _(q, {
7483
+ S(q, {
7482
7484
  options: m(h),
7483
7485
  modelValue: i.value.parent,
7484
7486
  "onUpdate:modelValue": L[3] || (L[3] = (F) => i.value.parent = F)
@@ -7486,66 +7488,66 @@ const rr = { class: "menu-title" }, ir = {
7486
7488
  ]),
7487
7489
  _: 1
7488
7490
  })),
7489
- !I(i.value.children).length && i.value.level == 1 ? (g(), S(W, {
7491
+ !I(i.value.children).length && i.value.level == 1 ? (g(), _(W, {
7490
7492
  key: 2,
7491
7493
  label: "分组"
7492
7494
  }, {
7493
7495
  default: T(() => [
7494
- _(V, {
7496
+ S(V, {
7495
7497
  variant: "outline",
7496
7498
  onClick: le
7497
7499
  }, {
7498
7500
  default: T(() => [
7499
- X("添加分组")
7501
+ Y("添加分组")
7500
7502
  ]),
7501
7503
  _: 1
7502
7504
  })
7503
7505
  ]),
7504
7506
  _: 1
7505
7507
  })) : $("", !0),
7506
- (g(!0), Y(ge, null, ke(I(i.value.children), (F, pe) => (g(), S(W, {
7508
+ (g(!0), X(ge, null, ke(I(i.value.children), (F, pe) => (g(), _(W, {
7507
7509
  key: "group" + pe,
7508
7510
  label: pe == 0 ? "分组" : " "
7509
7511
  }, {
7510
7512
  default: T(() => [
7511
- _(ce, null, {
7513
+ S(ce, null, {
7512
7514
  default: T(() => [
7513
- _(K, {
7515
+ S(K, {
7514
7516
  placeholder: "请输入分组名称 ",
7515
7517
  value: F.title,
7516
- onChange: (Se) => m(Ge)(
7518
+ onChange: (_e) => m(Ge)(
7517
7519
  I(i.value.children),
7518
7520
  `[${pe}].title`,
7519
- Se
7521
+ _e
7520
7522
  )
7521
7523
  }, null, 8, ["value", "onChange"]),
7522
- _(K, {
7524
+ S(K, {
7523
7525
  placeholder: "请输入分组标识 ",
7524
7526
  value: F.name,
7525
- onChange: (Se) => m(Ge)(
7527
+ onChange: (_e) => m(Ge)(
7526
7528
  I(i.value.children),
7527
7529
  `[${pe}].name`,
7528
- Se
7530
+ _e
7529
7531
  )
7530
7532
  }, null, 8, ["value", "onChange"]),
7531
- _(V, {
7533
+ S(V, {
7532
7534
  variant: "outline",
7533
7535
  theme: "default",
7534
- onClick: (Se) => O(F)
7536
+ onClick: (_e) => O(F)
7535
7537
  }, {
7536
7538
  default: T(() => [
7537
- X("- ")
7539
+ Y("- ")
7538
7540
  ]),
7539
7541
  _: 2
7540
7542
  }, 1032, ["onClick"]),
7541
- pe == I(i.value.children).length - 1 ? (g(), S(V, {
7543
+ pe == I(i.value.children).length - 1 ? (g(), _(V, {
7542
7544
  key: 0,
7543
7545
  variant: "outline",
7544
7546
  theme: "default",
7545
7547
  onClick: rn(le, ["prevent"])
7546
7548
  }, {
7547
7549
  default: T(() => [
7548
- X("+ ")
7550
+ Y("+ ")
7549
7551
  ]),
7550
7552
  _: 1
7551
7553
  }, 8, ["onClick"])) : $("", !0)
@@ -7555,66 +7557,66 @@ const rr = { class: "menu-title" }, ir = {
7555
7557
  ]),
7556
7558
  _: 2
7557
7559
  }, 1032, ["label"]))), 128)),
7558
- !R(i.value.children).length && i.value.isGroup ? (g(), S(W, {
7560
+ !R(i.value.children).length && i.value.isGroup ? (g(), _(W, {
7559
7561
  key: 3,
7560
7562
  label: "子菜单项"
7561
7563
  }, {
7562
7564
  default: T(() => [
7563
- _(V, {
7565
+ S(V, {
7564
7566
  variant: "outline",
7565
7567
  onClick: De
7566
7568
  }, {
7567
7569
  default: T(() => [
7568
- X("添加子菜单")
7570
+ Y("添加子菜单")
7569
7571
  ]),
7570
7572
  _: 1
7571
7573
  })
7572
7574
  ]),
7573
7575
  _: 1
7574
7576
  })) : $("", !0),
7575
- (g(!0), Y(ge, null, ke(R(i.value.children), (F, pe) => (g(), S(W, {
7577
+ (g(!0), X(ge, null, ke(R(i.value.children), (F, pe) => (g(), _(W, {
7576
7578
  key: "item" + pe,
7577
7579
  label: pe == 0 ? "子菜单项" : " "
7578
7580
  }, {
7579
7581
  default: T(() => [
7580
- _(ce, null, {
7582
+ S(ce, null, {
7581
7583
  default: T(() => [
7582
- _(K, {
7584
+ S(K, {
7583
7585
  placeholder: "请输入子菜单名称 ",
7584
7586
  value: F.title,
7585
- onChange: (Se) => m(Ge)(
7587
+ onChange: (_e) => m(Ge)(
7586
7588
  R(i.value.children),
7587
7589
  `[${pe}].title`,
7588
- Se
7590
+ _e
7589
7591
  )
7590
7592
  }, null, 8, ["value", "onChange"]),
7591
- _(K, {
7593
+ S(K, {
7592
7594
  placeholder: "请输入子菜单标识 ",
7593
7595
  value: F.name,
7594
- onChange: (Se) => m(Ge)(
7596
+ onChange: (_e) => m(Ge)(
7595
7597
  R(i.value.children),
7596
7598
  `[${pe}].name`,
7597
- Se
7599
+ _e
7598
7600
  )
7599
7601
  }, null, 8, ["value", "onChange"]),
7600
- _(V, {
7602
+ S(V, {
7601
7603
  variant: "outline",
7602
7604
  theme: "default",
7603
- onClick: (Se) => O(F)
7605
+ onClick: (_e) => O(F)
7604
7606
  }, {
7605
7607
  default: T(() => [
7606
- X("- ")
7608
+ Y("- ")
7607
7609
  ]),
7608
7610
  _: 2
7609
7611
  }, 1032, ["onClick"]),
7610
- pe == R(i.value.children).length - 1 ? (g(), S(V, {
7612
+ pe == R(i.value.children).length - 1 ? (g(), _(V, {
7611
7613
  key: 0,
7612
7614
  variant: "outline",
7613
7615
  theme: "default",
7614
7616
  onClick: rn(De, ["prevent"])
7615
7617
  }, {
7616
7618
  default: T(() => [
7617
- X("+ ")
7619
+ Y("+ ")
7618
7620
  ]),
7619
7621
  _: 1
7620
7622
  }, 8, ["onClick"])) : $("", !0)
@@ -7624,29 +7626,29 @@ const rr = { class: "menu-title" }, ir = {
7624
7626
  ]),
7625
7627
  _: 2
7626
7628
  }, 1032, ["label"]))), 128)),
7627
- r.value == "editItem" ? (g(), Y(ge, { key: 4 }, [
7628
- _(W, { label: "是否为内置菜单" }, {
7629
+ r.value == "editItem" ? (g(), X(ge, { key: 4 }, [
7630
+ S(W, { label: "是否为内置菜单" }, {
7629
7631
  default: T(() => [
7630
- _(q, {
7632
+ S(q, {
7631
7633
  modelValue: i.value.isInner,
7632
7634
  "onUpdate:modelValue": L[4] || (L[4] = (F) => i.value.isInner = F)
7633
7635
  }, {
7634
7636
  default: T(() => [
7635
- _(oe, {
7637
+ S(oe, {
7636
7638
  value: !0,
7637
7639
  label: "内置菜单"
7638
7640
  }, {
7639
7641
  default: T(() => [
7640
- X("内置菜单")
7642
+ Y("内置菜单")
7641
7643
  ]),
7642
7644
  _: 1
7643
7645
  }),
7644
- _(oe, {
7646
+ S(oe, {
7645
7647
  value: !1,
7646
7648
  label: "外部菜单"
7647
7649
  }, {
7648
7650
  default: T(() => [
7649
- X("外部菜单")
7651
+ Y("外部菜单")
7650
7652
  ]),
7651
7653
  _: 1
7652
7654
  })
@@ -7656,12 +7658,12 @@ const rr = { class: "menu-title" }, ir = {
7656
7658
  ]),
7657
7659
  _: 1
7658
7660
  }),
7659
- i.value.isInner ? (g(), S(W, {
7661
+ i.value.isInner ? (g(), _(W, {
7660
7662
  key: 0,
7661
7663
  label: "选择菜单"
7662
7664
  }, {
7663
7665
  default: T(() => [
7664
- _(q, {
7666
+ S(q, {
7665
7667
  modelValue: i.value.url,
7666
7668
  "onUpdate:modelValue": L[5] || (L[5] = (F) => i.value.url = F),
7667
7669
  options: m(f)
@@ -7669,12 +7671,12 @@ const rr = { class: "menu-title" }, ir = {
7669
7671
  ]),
7670
7672
  _: 1
7671
7673
  })) : $("", !0),
7672
- i.value.isInner ? $("", !0) : (g(), S(W, {
7674
+ i.value.isInner ? $("", !0) : (g(), _(W, {
7673
7675
  key: 1,
7674
7676
  label: "菜单路径"
7675
7677
  }, {
7676
7678
  default: T(() => [
7677
- _(K, {
7679
+ S(K, {
7678
7680
  modelValue: i.value.url,
7679
7681
  "onUpdate:modelValue": L[6] || (L[6] = (F) => i.value.url = F)
7680
7682
  }, null, 8, ["modelValue"])
@@ -7687,14 +7689,14 @@ const rr = { class: "menu-title" }, ir = {
7687
7689
  } : r.value == "moveItemTo" ? {
7688
7690
  name: "body",
7689
7691
  fn: T(() => [
7690
- i.value.isGroup ? $("", !0) : (g(), S(W, {
7692
+ i.value.isGroup ? $("", !0) : (g(), _(W, {
7691
7693
  key: 0,
7692
7694
  name: "parent",
7693
7695
  label: "转移至",
7694
7696
  requiredMark: !0
7695
7697
  }, {
7696
7698
  default: T(() => [
7697
- _(q, {
7699
+ S(q, {
7698
7700
  options: m(h),
7699
7701
  modelValue: i.value.parent,
7700
7702
  "onUpdate:modelValue": L[7] || (L[7] = (F) => i.value.parent = F),
@@ -7716,27 +7718,27 @@ const rr = { class: "menu-title" }, ir = {
7716
7718
  };
7717
7719
  }
7718
7720
  });
7719
- const Wr = ot(mr);
7720
- function fr(e, n) {
7721
- e.component("GView", zl);
7721
+ const Hr = ot(fr);
7722
+ function hr(e, n) {
7723
+ e.component("GView", $l);
7722
7724
  try {
7723
7725
  n && (n != null && n.router) && We.initRouter(n.router);
7724
7726
  } catch (t) {
7725
7727
  console.error("初始化GView", t);
7726
7728
  }
7727
7729
  }
7728
- function Hr(e) {
7729
- Pe(e), St(e), Yt(e), qt(e);
7730
+ function Qr(e) {
7731
+ Pe(e), _t(e), Xt(e), qt(e);
7730
7732
  }
7731
- const Qr = {
7732
- install: fr
7733
+ const qr = {
7734
+ install: hr
7733
7735
  };
7734
7736
  export {
7735
- jr as $,
7736
- Yt as A,
7737
+ Rr as $,
7738
+ Xt as A,
7737
7739
  Fo as B,
7738
7740
  Oo as C,
7739
- zr as D,
7741
+ $r as D,
7740
7742
  Gt as E,
7741
7743
  Ro as F,
7742
7744
  Bn as G,
@@ -7744,64 +7746,64 @@ export {
7744
7746
  Bt as I,
7745
7747
  fn as J,
7746
7748
  Do as K,
7747
- ht as L,
7749
+ pt as L,
7748
7750
  An as M,
7749
7751
  En as N,
7750
- Dr as O,
7752
+ Vr as O,
7751
7753
  J as P,
7752
- Vr as Q,
7753
- Ar as R,
7754
- Er as S,
7754
+ Ar as Q,
7755
+ Er as R,
7756
+ Pr as S,
7755
7757
  Sr as T,
7756
- Pr as U,
7757
- Or as V,
7758
+ Or as U,
7759
+ Br as V,
7758
7760
  Lo as W,
7759
- Br as X,
7760
- Fr as Y,
7761
- Ur as Z,
7761
+ Fr as X,
7762
+ Ur as Y,
7763
+ jr as Z,
7762
7764
  uo as _,
7763
- Yo as a,
7764
- Rr as a0,
7765
- gt as a1,
7765
+ Xo as a,
7766
+ zr as a0,
7767
+ vt as a1,
7766
7768
  hn as a2,
7767
7769
  xe as a3,
7768
7770
  Pn as a4,
7769
- _n as a5,
7771
+ Sn as a5,
7770
7772
  xn as a6,
7771
7773
  mn as a7,
7772
7774
  Dn as a8,
7773
7775
  Vn as a9,
7774
- dt as aa,
7776
+ mt as aa,
7775
7777
  He as ab,
7776
7778
  zo as ac,
7777
7779
  pn as ad,
7778
7780
  $t as ae,
7779
- Xt as af,
7781
+ Yt as af,
7780
7782
  ot as ag,
7781
- Wr as ah,
7783
+ Hr as ah,
7782
7784
  Un as b,
7783
7785
  jn as c,
7784
- $l as d,
7785
- Kr as e,
7786
- $r as f,
7786
+ Gl as d,
7787
+ Wr as e,
7788
+ Gr as f,
7787
7789
  sn as g,
7788
7790
  We as h,
7789
- Qr as i,
7791
+ qr as i,
7790
7792
  Io as j,
7791
- Lr as k,
7793
+ _r as k,
7792
7794
  un as l,
7793
7795
  cn as m,
7794
7796
  Ot as n,
7795
- _r as o,
7796
- xr as p,
7797
+ xr as o,
7798
+ Dr as p,
7797
7799
  dn as q,
7798
7800
  No as r,
7799
- Hr as s,
7800
- So as t,
7801
- _o as u,
7801
+ Qr as s,
7802
+ _o as t,
7803
+ So as u,
7802
7804
  ea as v,
7803
7805
  ta as w,
7804
7806
  Pe as x,
7805
- St as y,
7807
+ _t as y,
7806
7808
  qt as z
7807
7809
  };