@gonsin/gview 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/README.md +10 -0
  2. package/dist/{index-05454149.mjs → index-a23cc12d.mjs} +582 -567
  3. package/dist/{index-8a9aa0e9.mjs → index-d9dbde91.mjs} +1 -1
  4. package/dist/index.mjs +1 -1
  5. package/dist/types/components/GLayout/index.d.ts +2 -0
  6. package/dist/types/components/GLogin/index.d.ts +2 -0
  7. package/dist/types/components/common/GCommonDialog/index.d.ts +2 -0
  8. package/dist/types/components/common/GCommonForm/index.d.ts +2 -0
  9. package/dist/types/components/common/GCommonHeader/index.d.ts +2 -0
  10. package/dist/types/components/common/GCommonTable/index.d.ts +2 -0
  11. package/dist/types/components/common/index.d.ts +4 -0
  12. package/dist/types/components/index.d.ts +5 -0
  13. package/dist/types/constant/color.d.ts +5 -0
  14. package/dist/types/constant/common.d.ts +1 -0
  15. package/dist/types/constant/index.d.ts +5 -0
  16. package/dist/types/constant/local.d.ts +11 -0
  17. package/dist/types/constant/theme.d.ts +4 -0
  18. package/dist/types/constant/websocket.d.ts +22 -0
  19. package/dist/types/hooks/index.d.ts +2 -0
  20. package/dist/types/hooks/nanoid.d.ts +2 -0
  21. package/dist/types/hooks/nprogress.d.ts +2 -0
  22. package/dist/types/http/config.d.ts +5 -0
  23. package/dist/types/http/index.d.ts +13 -0
  24. package/dist/types/http/type.d.ts +5 -0
  25. package/dist/types/index.d.ts +18 -0
  26. package/dist/types/stores/index.d.ts +4 -0
  27. package/dist/types/stores/props.d.ts +6 -0
  28. package/dist/types/stores/setting.d.ts +74 -0
  29. package/dist/types/stores/socket.d.ts +16 -0
  30. package/dist/types/stores/tabMenu.d.ts +18 -0
  31. package/dist/types/types/common.d.ts +24 -0
  32. package/dist/types/types/view.d.ts +290 -0
  33. package/dist/types/utils/color.d.ts +2 -0
  34. package/dist/types/utils/eval.d.ts +12 -0
  35. package/dist/types/utils/index.d.ts +8 -0
  36. package/dist/types/utils/is.d.ts +77 -0
  37. package/dist/types/utils/menu.d.ts +20 -0
  38. package/dist/types/utils/storage.d.ts +13 -0
  39. package/dist/types/utils/table.d.ts +3 -0
  40. package/dist/types/utils/url.d.ts +1 -0
  41. package/dist/types/utils/withInstall.d.ts +6 -0
  42. package/dist/types/views/GMenuManage/index.d.ts +2 -0
  43. package/dist/types/views/index.d.ts +1 -0
  44. package/package.json +2 -2
@@ -1,18 +1,18 @@
1
1
  var rn = Object.defineProperty;
2
2
  var sn = (e, t, o) => t in e ? rn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
3
  var mt = (e, t, o) => (sn(e, typeof t != "symbol" ? t + "" : t, o), o);
4
- import { defineComponent as ee, ref as z, computed as F, resolveComponent as D, openBlock as v, createBlock as S, normalizeClass as $, unref as m, withCtx as w, createElementBlock as q, Fragment as ve, renderList as ye, createVNode as V, createTextVNode as J, createCommentVNode as j, toDisplayString as ge, nextTick as un, createElementVNode as Z, normalizeStyle as Tt, renderSlot as Be, isRef as yt, onMounted as et, mergeProps as $t, createSlots as _t, normalizeProps as _o, guardReactiveProps as Io, watch as we, onBeforeUnmount as It, onBeforeMount as xt, defineAsyncComponent as cn, Transition as dn, withModifiers as mn } from "vue";
4
+ import { defineComponent as ee, ref as z, computed as F, resolveComponent as D, openBlock as v, createBlock as S, normalizeClass as $, unref as m, withCtx as w, createElementBlock as q, Fragment as ve, renderList as ye, createVNode as V, createTextVNode as J, createCommentVNode as G, toDisplayString as ge, nextTick as un, createElementVNode as Z, normalizeStyle as Tt, renderSlot as Be, isRef as yt, onMounted as et, mergeProps as $t, createSlots as _t, normalizeProps as _o, guardReactiveProps as Io, watch as we, onBeforeUnmount as It, onBeforeMount as xt, defineAsyncComponent as cn, Transition as dn, withModifiers as mn } from "vue";
5
5
  import { useRouter as ut, useRoute as tt } from "vue-router";
6
6
  import { defineStore as Nt } from "pinia";
7
- import { MessagePlugin as Y, DialogPlugin as vt } from "tdesign-vue-next";
8
- import fn from "axios";
9
- import { customAlphabet as hn } from "nanoid";
7
+ import { MessagePlugin as Y, DialogPlugin as vt, Message as fn } from "tdesign-vue-next";
8
+ import hn from "axios";
9
+ import { customAlphabet as pn } from "nanoid";
10
10
  import bt from "nprogress";
11
11
  import { get as Q, set as qe, cloneDeep as it } from "lodash-es";
12
12
  import Wt from "dayjs";
13
13
  import $e from "mustache";
14
- import pn from "he";
15
- const st = "config", lo = "themeConfig", gn = "user", fr = "menu", ro = "initTabMenuList", io = "tabMenu", Dt = "sideMenuConfig", hr = "token", pr = "tokenExpiredTime", gr = "dataId", so = "sessionId", vn = {
14
+ import gn from "he";
15
+ const st = "config", lo = "themeConfig", vn = "user", hr = "menu", ro = "initTabMenuList", io = "tabMenu", Dt = "sideMenuConfig", pr = "token", gr = "tokenExpiredTime", vr = "dataId", so = "sessionId", bn = {
16
16
  brandTheme: "default",
17
17
  // 主题色
18
18
  displayMode: "light"
@@ -100,7 +100,7 @@ class So {
100
100
  const lt = new So("session"), je = new So("local"), Le = Nt("setting", {
101
101
  state: () => ({
102
102
  // 登录标志
103
- isUserLogin: !!lt.getItem(gn) || !1,
103
+ isUserLogin: !!lt.getItem(vn) || !1,
104
104
  // 加载标志
105
105
  isGlobalLoaded: !0,
106
106
  // 侧边栏是否显示
@@ -109,7 +109,7 @@ const lt = new So("session"), je = new So("local"), Le = Nt("setting", {
109
109
  isSettingPanelShow: !1,
110
110
  // 主题配置
111
111
  themeConfig: je.getItem(lo) || {
112
- ...vn
112
+ ...bn
113
113
  },
114
114
  // 侧边菜单配置
115
115
  sideMenuTree: je.getItem(Dt) || [],
@@ -265,7 +265,7 @@ const lt = new So("session"), je = new So("local"), Le = Nt("setting", {
265
265
  this.setTabMenuList(this.initTabMenuList);
266
266
  }
267
267
  }
268
- }), bn = window.location.origin.replace(window.location.protocol, "ws:") + "/gview/websocket", Ot = (e, t = "") => t ? {
268
+ }), yn = window.location.origin.replace(window.location.protocol, "ws:") + "/gview/websocket", Ot = (e, t = "") => t ? {
269
269
  head: "gonsin",
270
270
  cmd: {
271
271
  cmd: "gview_client",
@@ -281,47 +281,47 @@ const lt = new So("session"), je = new So("local"), Le = Nt("setting", {
281
281
  subcmd: e,
282
282
  response: 0
283
283
  }
284
- }, yn = 3e4, wn = 3e3, kn = Object.prototype.toString;
284
+ }, wn = 3e4, kn = 3e3, Cn = Object.prototype.toString;
285
285
  function Ge(e, t) {
286
- return kn.call(e) === `[object ${t}]`;
286
+ return Cn.call(e) === `[object ${t}]`;
287
287
  }
288
288
  function co(e) {
289
289
  return Ge(e, "Function");
290
290
  }
291
- const Cn = (e) => typeof e < "u", Vo = (e) => !Cn(e), Mo = (e) => e !== null && Ge(e, "Object");
292
- function vr(e) {
291
+ const Tn = (e) => typeof e < "u", Vo = (e) => !Tn(e), Mo = (e) => e !== null && Ge(e, "Object");
292
+ function br(e) {
293
293
  return Ge(e, "Date");
294
294
  }
295
- function br(e) {
295
+ function yr(e) {
296
296
  return Ge(e, "Number");
297
297
  }
298
- function yr(e) {
298
+ function wr(e) {
299
299
  return Ge(e, "AsyncFunction");
300
300
  }
301
- function wr(e) {
301
+ function kr(e) {
302
302
  return Ge(e, "Promise") && Mo(e) && co(e.then) && co(e.catch);
303
303
  }
304
- function kr(e) {
304
+ function Cr(e) {
305
305
  return Ge(e, "String");
306
306
  }
307
- function Cr(e) {
307
+ function Tr(e) {
308
308
  return Ge(e, "Boolean");
309
309
  }
310
- function Tr(e) {
310
+ function _r(e) {
311
311
  return e && Array.isArray(e);
312
312
  }
313
- const _r = () => typeof window < "u", Ir = (e) => typeof window < "u" && Ge(e, "Window"), xr = (e) => Mo(e) && !!e.tagName, Nr = typeof window > "u";
313
+ const Ir = () => typeof window < "u", xr = (e) => typeof window < "u" && Ge(e, "Window"), Nr = (e) => Mo(e) && !!e.tagName, Sr = typeof window > "u";
314
314
  function wt(e) {
315
315
  return e === null;
316
316
  }
317
317
  function kt(e) {
318
318
  return Vo(e) && wt(e);
319
319
  }
320
- function Ne(e) {
320
+ function xe(e) {
321
321
  return Vo(e) || wt(e);
322
322
  }
323
323
  function Po(e) {
324
- return Ne(e) || (e + "").trim() == "";
324
+ return xe(e) || (e + "").trim() == "";
325
325
  }
326
326
  const Xt = Nt("socket", {
327
327
  state: () => ({
@@ -343,15 +343,15 @@ const Xt = Nt("socket", {
343
343
  */
344
344
  initSocket() {
345
345
  const e = this;
346
- this.isSocketLinked = !1, this.socket = new WebSocket(bn), this.socket.onopen = function(t) {
346
+ this.isSocketLinked = !1, this.socket = new WebSocket(yn), this.socket.onopen = function(t) {
347
347
  let o = Ot("heart");
348
348
  e.socketInterval = setInterval(function() {
349
349
  e.socket && e.socket.send(JSON.stringify(o));
350
- }, yn);
350
+ }, wn);
351
351
  }, this.socket.onclose = function(t) {
352
352
  Y.error("WebSocket 断开连接"), e.socketInterval = null, e.isSocketResetting = !0, e.socket = null, Y.error("WebSocket 重新连接..."), e.socketTimeout = setTimeout(function() {
353
353
  e.isSocketResetting && (e.initSocket(), e.isSocketLinked && (clearTimeout(e.socketTimeout), window.dispatchEvent(new CustomEvent("onSocketReload"))));
354
- }, wn);
354
+ }, kn);
355
355
  }, this.socket.onerror = function(t) {
356
356
  console.log("出现错误", t);
357
357
  }, this.socket.onmessage = function(t) {
@@ -396,7 +396,7 @@ function mo(e) {
396
396
  t[n.split("=")[0]] = n.split("=")[1];
397
397
  }), t;
398
398
  }
399
- const Tn = /* @__PURE__ */ ee({
399
+ const _n = /* @__PURE__ */ ee({
400
400
  __name: "GLayoutHeaderTab",
401
401
  setup(e) {
402
402
  const t = ut(), o = tt(), n = z(""), a = St(), l = Le(), r = F(() => a.tabMenuList), s = F(() => l.homeUrl);
@@ -438,17 +438,17 @@ const Tn = /* @__PURE__ */ ee({
438
438
  function E(T, h) {
439
439
  const y = o.fullPath, { tabMenuList: g } = a, p = g.findIndex((_) => _.path === y);
440
440
  if (T === "other" && p !== h || T === "ahead" && p < h || T === "behind" && p === -1) {
441
- const _ = T === "behind" ? g.length - 1 : 1, x = g[_];
441
+ const _ = T === "behind" ? g.length - 1 : 1, I = g[_];
442
442
  t.push({
443
- path: x.path,
444
- query: x.query
443
+ path: I.path,
444
+ query: I.query
445
445
  });
446
446
  }
447
447
  n.value = null;
448
448
  }
449
449
  return (T, h) => {
450
- const y = D("t-icon"), g = D("t-dropdown-item"), p = D("t-dropdown-menu"), C = D("t-dropdown"), _ = D("t-tab-panel"), x = D("t-tabs");
451
- return v(), S(x, {
450
+ const y = D("t-icon"), g = D("t-dropdown-item"), p = D("t-dropdown-menu"), C = D("t-dropdown"), _ = D("t-tab-panel"), I = D("t-tabs");
451
+ return v(), S(I, {
452
452
  class: $(`${m(X)}__header-tabs`),
453
453
  size: "large",
454
454
  value: decodeURIComponent(T.$route.fullPath),
@@ -456,7 +456,7 @@ const Tn = /* @__PURE__ */ ee({
456
456
  onRemove: c
457
457
  }, {
458
458
  default: w(() => [
459
- (v(!0), q(ve, null, ye(m(r), (N, W) => (v(), S(_, {
459
+ (v(!0), q(ve, null, ye(m(r), (N, j) => (v(), S(_, {
460
460
  key: N.path,
461
461
  value: N.path,
462
462
  removable: !N.isHome
@@ -481,8 +481,8 @@ const Tn = /* @__PURE__ */ ee({
481
481
  J("前往首页 ")
482
482
  ]),
483
483
  _: 2
484
- }, 1032, ["onClick"])) : j("", !0),
485
- N.isHome ? j("", !0) : (v(), S(g, {
484
+ }, 1032, ["onClick"])) : G("", !0),
485
+ N.isHome ? G("", !0) : (v(), S(g, {
486
486
  key: 1,
487
487
  onClick: () => d(N)
488
488
  }, {
@@ -492,36 +492,36 @@ const Tn = /* @__PURE__ */ ee({
492
492
  ]),
493
493
  _: 2
494
494
  }, 1032, ["onClick"])),
495
- W > 1 ? (v(), S(g, {
495
+ j > 1 ? (v(), S(g, {
496
496
  key: 2,
497
- onClick: () => b(N.path, W)
497
+ onClick: () => b(N.path, j)
498
498
  }, {
499
499
  default: w(() => [
500
500
  V(y, { name: "arrow-left" }),
501
501
  J("关闭左侧 ")
502
502
  ]),
503
503
  _: 2
504
- }, 1032, ["onClick"])) : j("", !0),
505
- W > 0 && W < m(r).length - 1 ? (v(), S(g, {
504
+ }, 1032, ["onClick"])) : G("", !0),
505
+ j > 0 && j < m(r).length - 1 ? (v(), S(g, {
506
506
  key: 3,
507
- onClick: () => f(N.path, W)
507
+ onClick: () => f(N.path, j)
508
508
  }, {
509
509
  default: w(() => [
510
510
  V(y, { name: "arrow-right " }),
511
511
  J("关闭右侧 ")
512
512
  ]),
513
513
  _: 2
514
- }, 1032, ["onClick"])) : j("", !0),
515
- W > 0 && m(r).length > 2 ? (v(), S(g, {
514
+ }, 1032, ["onClick"])) : G("", !0),
515
+ j > 0 && m(r).length > 2 ? (v(), S(g, {
516
516
  key: 4,
517
- onClick: () => M(N.path, W)
517
+ onClick: () => M(N.path, j)
518
518
  }, {
519
519
  default: w(() => [
520
520
  V(y, { name: "close-circle" }),
521
521
  J("关闭其他 ")
522
522
  ]),
523
523
  _: 2
524
- }, 1032, ["onClick"])) : j("", !0)
524
+ }, 1032, ["onClick"])) : G("", !0)
525
525
  ]),
526
526
  _: 2
527
527
  }, 1024)
@@ -540,7 +540,7 @@ const Tn = /* @__PURE__ */ ee({
540
540
  };
541
541
  }
542
542
  });
543
- const _n = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAhdEVYdENyZWF0aW9uIFRpbWUAMjAyMjoxMTozMCAwODo0NDo0MviriswAACO4SURBVHhe7Z0JeFzFle+r6t5utSRvLLYx2JZaltQteQFjlpiEZ/wGskEmYRIYSL5MGGaBmSHMJEzCkrBNCBBIhkcSQhKYEIb5eElMMgmZELJiVhOCwau6W7tkgW2Mdy293Fvn/atVJpbVfW/dVsvW+77+2a2+VX37di2nTp3aWYUKFSpUqFChQoUKFSpUqFChQoUK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FNZZKeMhAfq1wRlkvnGgI97Xh1t/C9F63s2vuptWsfAeCJKKxm/Dsm/2kF2Hbsqk3+S6Tda4mtJ/SOF+GrPXI2hl+v30IlVi4tzctR1YqoR71HUuqvuls4uKXSLtAI9UTAeFCsCBRpLoRuITcuihsOeRbDvk3gg93QPGux/XvQyL3cmN3d0lNt1Q0fiN+4FYlwNqrOAiITfT+pr7UWu1TkER97H3Ig59qpyeI56fjPUnfsyFM2BJtOstiAi0hj3zKr5mnfVBMP4ICu7MuwHGooxOIxT/j++p8EhhofATlZ0162Pn26Tu8D+JSlFXhHAK5Jra2ttqW61Zlcrlqi1dXsWwmDLPeFiSFY9vCd7uBALiO68J83b8zOnfXZJ0ipEC8OFuxwv7D/v3VMzPWNIu51ajOqlAGwkzY06Ft4YZCR45ALskmdjBL7n61EWmYWyOOnRtW6xQXDKzMFjqCsRyo6RfCkieqWkV7FcRx5JDXtIdSSNTF6sni0/x++xA5mB6Si/Tirja1VX3BLhC1RZB0xEmmzywHpNQZ9BrCJiGzrptz3BFJ2eoanpl+8ODw9pNPzq1Yv94ZVYilk19pY7MTTOKm0mpadrDLb/mX2uXXsbNm3Rc8t83LogoCIiAS0XhjSBQegVU1fZjxTCbD9iweaNtbStqp31AbVhwYmmmtOBnGaxnyoEKFChUqVKhQoUKFChUqVKhQoUKFChUqVKhQoQww9v8ADoTZZnPdorgAAAAASUVORK5CYII=", xn = /* @__PURE__ */ ee({
544
544
  __name: "GLayoutHeader",
545
545
  setup(e) {
546
546
  const t = ut(), o = Le(), n = F(() => o.userRealName), a = F(() => o.displayMode);
@@ -566,7 +566,7 @@ const _n = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAA
566
566
  }, [
567
567
  Z("div", {
568
568
  class: $(`${m(X)}__header—logo`),
569
- style: Tt({ backgroundImage: `url(${m(_n)})` })
569
+ style: Tt({ backgroundImage: `url(${m(In)})` })
570
570
  }, null, 6)
571
571
  ], 2),
572
572
  Z("div", {
@@ -648,7 +648,7 @@ const _n = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAA
648
648
  ], 2)
649
649
  ]),
650
650
  default: w(() => [
651
- V(Tn)
651
+ V(_n)
652
652
  ]),
653
653
  _: 1
654
654
  }, 8, ["theme"])
@@ -658,7 +658,7 @@ const _n = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAA
658
658
  };
659
659
  }
660
660
  });
661
- const xn = /* @__PURE__ */ ee({
661
+ const Nn = /* @__PURE__ */ ee({
662
662
  __name: "GLayoutContent",
663
663
  setup(e) {
664
664
  return (t, o) => {
@@ -681,7 +681,7 @@ const xn = /* @__PURE__ */ ee({
681
681
  };
682
682
  }
683
683
  });
684
- const Sr = [
684
+ const Vr = [
685
685
  "#0052d9",
686
686
  "#0594fa",
687
687
  "#00a870",
@@ -690,7 +690,7 @@ const Sr = [
690
690
  "#e34d59",
691
691
  "#ed49b4",
692
692
  "#834ec2"
693
- ], Vr = [
693
+ ], Mr = [
694
694
  "#4582e6",
695
695
  "#29a4fb",
696
696
  "#03a56f",
@@ -699,7 +699,7 @@ const Sr = [
699
699
  "#ea7b84",
700
700
  "#f172c5",
701
701
  "#ab87d5"
702
- ], Nn = {
702
+ ], Sn = {
703
703
  DEFAULT: {
704
704
  "--td-brand-color": "#0052d9",
705
705
  "--td-brand-color-1": "#f2f3ff",
@@ -804,7 +804,7 @@ const Sr = [
804
804
  "--td-brand-color-9": "#dda204",
805
805
  "--td-brand-color-10": "#603100"
806
806
  }
807
- }, Sn = /* @__PURE__ */ ee({
807
+ }, Vn = /* @__PURE__ */ ee({
808
808
  __name: "GLayoutSideMenuContent",
809
809
  props: {
810
810
  sideMenuTree: null
@@ -838,7 +838,7 @@ const Sr = [
838
838
  name: "app",
839
839
  size: "large"
840
840
  }))
841
- ], 64)) : j("", !0)
841
+ ], 64)) : G("", !0)
842
842
  ]),
843
843
  default: w(() => [
844
844
  J(" " + ge(u.title), 1)
@@ -862,13 +862,13 @@ const Sr = [
862
862
  name: "app",
863
863
  size: "large"
864
864
  }))
865
- ], 64)) : j("", !0)
865
+ ], 64)) : G("", !0)
866
866
  ]),
867
867
  default: w(() => [
868
868
  u.children ? (v(), S(s, {
869
869
  key: 0,
870
870
  sideMenuTree: u.children
871
- }, null, 8, ["sideMenuTree"])) : j("", !0)
871
+ }, null, 8, ["sideMenuTree"])) : G("", !0)
872
872
  ]),
873
873
  _: 2
874
874
  }, 1032, ["class", "name", "value", "title"]))
@@ -881,7 +881,7 @@ const Vt = (e, t) => {
881
881
  for (const [n, a] of t)
882
882
  o[n] = a;
883
883
  return o;
884
- }, Vn = /* @__PURE__ */ Vt(Sn, [["__scopeId", "data-v-d23bd8af"]]), Mn = /* @__PURE__ */ ee({
884
+ }, Mn = /* @__PURE__ */ Vt(Vn, [["__scopeId", "data-v-d23bd8af"]]), Pn = /* @__PURE__ */ ee({
885
885
  __name: "GLayoutSideMenu",
886
886
  setup(e) {
887
887
  const t = ut(), o = tt(), n = Le(), a = F(() => n.sideMenuTree), l = F(() => n.displayMode), r = F({
@@ -942,7 +942,7 @@ const Vt = (e, t) => {
942
942
  })
943
943
  ]),
944
944
  default: w(() => [
945
- V(Vn, { sideMenuTree: m(a) }, null, 8, ["sideMenuTree"])
945
+ V(Mn, { sideMenuTree: m(a) }, null, 8, ["sideMenuTree"])
946
946
  ]),
947
947
  _: 1
948
948
  }, 8, ["theme", "value", "defaultExpanded"])
@@ -952,21 +952,21 @@ const Vt = (e, t) => {
952
952
  };
953
953
  }
954
954
  });
955
- function Pn(e) {
955
+ function An(e) {
956
956
  return e.replace(/([A-Z])/g, "_$1").toUpperCase();
957
957
  }
958
- function An(e, t) {
959
- const o = /^#[A-F\d]{6}$/i.test(e) ? e : Pn(e);
958
+ function En(e, t) {
959
+ const o = /^#[A-F\d]{6}$/i.test(e) ? e : An(e);
960
960
  return t[o || "DEFAULT"];
961
961
  }
962
- const En = /* @__PURE__ */ ee({
962
+ const Bn = /* @__PURE__ */ ee({
963
963
  __name: "Color",
964
964
  props: {
965
965
  value: { default: "default" }
966
966
  },
967
967
  setup(e) {
968
968
  const t = e, o = F(() => ({
969
- background: An(t.value, Nn)["--td-brand-color"]
969
+ background: En(t.value, Sn)["--td-brand-color"]
970
970
  }));
971
971
  return (n, a) => (v(), q("div", {
972
972
  style: Tt(m(o)),
@@ -974,7 +974,7 @@ const En = /* @__PURE__ */ ee({
974
974
  }, null, 6));
975
975
  }
976
976
  });
977
- const Bn = /* @__PURE__ */ ee({
977
+ const Ln = /* @__PURE__ */ ee({
978
978
  __name: "GLayoutSettingPanel",
979
979
  setup(e) {
980
980
  const t = Le(), o = [
@@ -1033,7 +1033,7 @@ const Bn = /* @__PURE__ */ ee({
1033
1033
  class: $(`${m(X)}__setting-container--color-group`)
1034
1034
  }, {
1035
1035
  default: w(() => [
1036
- V(En, { value: f }, null, 8, ["value"])
1036
+ V(Bn, { value: f }, null, 8, ["value"])
1037
1037
  ]),
1038
1038
  _: 2
1039
1039
  }, 1032, ["value", "class"]))
@@ -1075,7 +1075,7 @@ const Bn = /* @__PURE__ */ ee({
1075
1075
  };
1076
1076
  }
1077
1077
  });
1078
- const Ln = /* @__PURE__ */ ee({
1078
+ const Fn = /* @__PURE__ */ ee({
1079
1079
  __name: "GLayoutMain",
1080
1080
  props: {
1081
1081
  title: null
@@ -1088,10 +1088,10 @@ const Ln = /* @__PURE__ */ ee({
1088
1088
  }, [
1089
1089
  V(l, null, {
1090
1090
  default: w(() => [
1091
- V(In),
1091
+ V(xn),
1092
1092
  V(a, null, {
1093
1093
  default: w(() => [
1094
- V(xn, null, {
1094
+ V(Nn, null, {
1095
1095
  default: w(() => [
1096
1096
  V(n, {
1097
1097
  class: $(`${m(X)}__card`),
@@ -1112,8 +1112,8 @@ const Ln = /* @__PURE__ */ ee({
1112
1112
  ]),
1113
1113
  _: 3
1114
1114
  }),
1115
- V(Mn),
1116
- V(Bn)
1115
+ V(Pn),
1116
+ V(Ln)
1117
1117
  ], 2);
1118
1118
  };
1119
1119
  }
@@ -1127,7 +1127,7 @@ const Ao = /* @__PURE__ */ ee({
1127
1127
  const t = Le();
1128
1128
  return et(() => {
1129
1129
  t.loadLocalThemeConfig();
1130
- }), (o, n) => (v(), S(Ln, { title: e.title }, {
1130
+ }), (o, n) => (v(), S(Fn, { title: e.title }, {
1131
1131
  default: w(() => [
1132
1132
  Be(o.$slots, "default")
1133
1133
  ]),
@@ -1141,7 +1141,7 @@ function Qe(e, t, o) {
1141
1141
  a.component(t || l || n.name, e), o && a.directive(o.name, o.comp);
1142
1142
  }, n;
1143
1143
  }
1144
- const Fn = /* @__PURE__ */ ee({
1144
+ const Dn = /* @__PURE__ */ ee({
1145
1145
  __name: "index",
1146
1146
  props: {
1147
1147
  commonDialogProps: null
@@ -1162,7 +1162,7 @@ const Fn = /* @__PURE__ */ ee({
1162
1162
  };
1163
1163
  }
1164
1164
  });
1165
- const Eo = Qe(Fn), Bo = /* @__PURE__ */ ee({
1165
+ const Eo = Qe(Dn), Bo = /* @__PURE__ */ ee({
1166
1166
  __name: "index",
1167
1167
  props: {
1168
1168
  commonFormProps: null
@@ -1201,7 +1201,7 @@ const Eo = Qe(Fn), Bo = /* @__PURE__ */ ee({
1201
1201
  };
1202
1202
  }
1203
1203
  });
1204
- const Dn = Qe(Bo), On = /* @__PURE__ */ ee({
1204
+ const On = Qe(Bo), Un = /* @__PURE__ */ ee({
1205
1205
  __name: "index",
1206
1206
  setup(e) {
1207
1207
  return (t, o) => {
@@ -1233,7 +1233,7 @@ const Dn = Qe(Bo), On = /* @__PURE__ */ ee({
1233
1233
  };
1234
1234
  }
1235
1235
  });
1236
- const Lo = Qe(On), Un = /* @__PURE__ */ ee({
1236
+ const Lo = Qe(Un), Rn = /* @__PURE__ */ ee({
1237
1237
  __name: "index",
1238
1238
  props: {
1239
1239
  commonTableProps: null
@@ -1267,24 +1267,24 @@ const Lo = Qe(On), Un = /* @__PURE__ */ ee({
1267
1267
  };
1268
1268
  }
1269
1269
  });
1270
- const Fo = Qe(Un), Rn = {
1270
+ const Fo = Qe(Rn), Kn = {
1271
1271
  // 设置超时时间(10s)
1272
1272
  timeout: 1e4,
1273
1273
  // 跨域时候允许携带凭证
1274
1274
  withCredentials: !0
1275
1275
  };
1276
- function Kn(e) {
1277
- return hn(
1276
+ function Gn(e) {
1277
+ return pn(
1278
1278
  "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
1279
1279
  32
1280
1280
  )(e);
1281
1281
  }
1282
- function Gn() {
1282
+ function jn() {
1283
1283
  const e = sessionStorage.getItem(so);
1284
1284
  if ((e ?? "") != "")
1285
1285
  return e;
1286
1286
  {
1287
- const t = Kn(32);
1287
+ const t = Gn(32);
1288
1288
  return sessionStorage.setItem(so, t), t;
1289
1289
  }
1290
1290
  }
@@ -1301,11 +1301,11 @@ bt.configure({
1301
1301
  minimum: 0.1
1302
1302
  // 初始化时的最小百分比
1303
1303
  });
1304
- class jn {
1304
+ class Wn {
1305
1305
  constructor(t) {
1306
1306
  mt(this, "sessionId");
1307
1307
  mt(this, "service");
1308
- this.sessionId = Gn, this.service = fn.create(t), this.service.interceptors.request.use(
1308
+ this.sessionId = jn, this.service = hn.create(t), this.service.interceptors.request.use(
1309
1309
  (o) => {
1310
1310
  var l, r, s;
1311
1311
  const n = ((l = JSON.parse(localStorage.getItem(st))) == null ? void 0 : l.userToken) || {
@@ -1347,7 +1347,7 @@ class jn {
1347
1347
  return this.service.delete(`${t}?sessionId=${this.sessionId()}`, { params: o, ...n });
1348
1348
  }
1349
1349
  }
1350
- const ot = new jn(Rn), ct = {
1350
+ const ot = new Wn(Kn), ct = {
1351
1351
  // 视图 - 获取所有视图 GET
1352
1352
  getAllView: "/restapi/s09/gview/boards/all",
1353
1353
  // 视图 - 获取一个视图 GET
@@ -1362,7 +1362,7 @@ const ot = new jn(Rn), ct = {
1362
1362
  confirm: "/restapi/s09/gview/active/confirm",
1363
1363
  // 触发 - 触发批量操作事件 POST
1364
1364
  batch: "/restapi/s09/gview/active/batch"
1365
- }, Do = (e) => ot.get(ct.getOneView, e), Mt = (e) => ot.post(ct.getBoardData, e), Wn = (e) => ot.post(ct.confirm, e), Hn = (e) => ot.post(ct.batch, e), qn = (e) => ot.post(ct.activeFile, e), zn = /* @__PURE__ */ ee({
1365
+ }, Do = (e) => ot.get(ct.getOneView, e), Mt = (e) => ot.post(ct.getBoardData, e), Hn = (e) => ot.post(ct.confirm, e), qn = (e) => ot.post(ct.batch, e), zn = (e) => ot.post(ct.activeFile, e), $n = /* @__PURE__ */ ee({
1366
1366
  __name: "GHeaderUpload",
1367
1367
  props: {
1368
1368
  formItem: null,
@@ -1377,7 +1377,7 @@ const ot = new jn(Rn), ct = {
1377
1377
  }
1378
1378
  function l(s) {
1379
1379
  let i = [];
1380
- i.push(s), qn({
1380
+ i.push(s), zn({
1381
1381
  boardName: t.viewName,
1382
1382
  buttonId: t.formItem.buttonId,
1383
1383
  props: {},
@@ -1431,7 +1431,7 @@ function Se(e) {
1431
1431
  }
1432
1432
  }
1433
1433
  function Qt(e, t) {
1434
- if (!Ne(t) && t.length) {
1434
+ if (!xe(t) && t.length) {
1435
1435
  if (Object.keys(e).length)
1436
1436
  return t.forEach((o) => {
1437
1437
  o.keyName && Po(Q(e, o.keyName)) && (o.itemType === "check_box" || o.itemType === "switch") && qe(
@@ -1443,7 +1443,7 @@ function Qt(e, t) {
1443
1443
  {
1444
1444
  let o = {};
1445
1445
  return t.forEach((n) => {
1446
- Ne(n.keyName) || qe(
1446
+ xe(n.keyName) || qe(
1447
1447
  o,
1448
1448
  n.keyName,
1449
1449
  Se(n.itemType)
@@ -1518,7 +1518,7 @@ const Ct = /* @__PURE__ */ ee({
1518
1518
  };
1519
1519
  }
1520
1520
  });
1521
- function $n(e, t) {
1521
+ function Xn(e, t) {
1522
1522
  return `
1523
1523
  return function (context) {
1524
1524
  "use strict";
@@ -1527,18 +1527,18 @@ function $n(e, t) {
1527
1527
  }
1528
1528
  `;
1529
1529
  }
1530
- function Xn(e, t) {
1531
- let o = $n(e, t);
1530
+ function Zn(e, t) {
1531
+ let o = Xn(e, t);
1532
1532
  return Function(o)();
1533
1533
  }
1534
1534
  function Ht(e, t = {}) {
1535
- return Xn(e, t)(t);
1535
+ return Zn(e, t)(t);
1536
1536
  }
1537
- function Zn(e) {
1537
+ function Qn(e) {
1538
1538
  return e === void 0 || e === null || e === "" ? "" : e === 0 ? 0 : e === "0" ? "0" : e;
1539
1539
  }
1540
- window.v = Zn;
1541
- function Qn(e) {
1540
+ window.v = Qn;
1541
+ function Jn(e) {
1542
1542
  let t = [];
1543
1543
  return t.push({
1544
1544
  colKey: "row-select",
@@ -1580,7 +1580,7 @@ function Qn(e) {
1580
1580
  function fo(e, t) {
1581
1581
  return e / t;
1582
1582
  }
1583
- async function Jn(e, t, o, n) {
1583
+ async function Yn(e, t, o, n) {
1584
1584
  const a = await Mt({
1585
1585
  viewName: t,
1586
1586
  dataId: o,
@@ -1588,7 +1588,7 @@ async function Jn(e, t, o, n) {
1588
1588
  });
1589
1589
  if (a.state === 200) {
1590
1590
  const l = a.data;
1591
- if (!Ne(l) && l.length)
1591
+ if (!xe(l) && l.length)
1592
1592
  return Oo({
1593
1593
  list: l,
1594
1594
  parentKey: null,
@@ -1600,7 +1600,7 @@ async function Jn(e, t, o, n) {
1600
1600
  } else
1601
1601
  Y.error(`获取数据失败:${a.message}`);
1602
1602
  }
1603
- async function Yn(e, t, o, n) {
1603
+ async function ea(e, t, o, n) {
1604
1604
  const a = await Mt({
1605
1605
  viewName: t,
1606
1606
  dataId: o,
@@ -1608,7 +1608,7 @@ async function Yn(e, t, o, n) {
1608
1608
  });
1609
1609
  if (a.state === 200) {
1610
1610
  const l = a.data;
1611
- if (!Ne(l) && l.length)
1611
+ if (!xe(l) && l.length)
1612
1612
  return Oo({
1613
1613
  list: l,
1614
1614
  parentKey: null,
@@ -1620,7 +1620,7 @@ async function Yn(e, t, o, n) {
1620
1620
  } else
1621
1621
  Y.error(`获取数据失败:${a.message}`);
1622
1622
  }
1623
- async function ea(e, t, o, n) {
1623
+ async function ta(e, t, o, n) {
1624
1624
  const a = await Mt({
1625
1625
  viewName: t,
1626
1626
  dataId: o,
@@ -1628,10 +1628,10 @@ async function ea(e, t, o, n) {
1628
1628
  });
1629
1629
  if (a.state === 200) {
1630
1630
  let l = a.data;
1631
- if (!Ne(l) && l.length) {
1631
+ if (!xe(l) && l.length) {
1632
1632
  let r = [];
1633
1633
  return l.forEach((s) => {
1634
- Ne(s) || r.push({
1634
+ xe(s) || r.push({
1635
1635
  key: s[e == null ? void 0 : e.keyName],
1636
1636
  label: s[e == null ? void 0 : e.titleName],
1637
1637
  value: s[e == null ? void 0 : e.valueName]
@@ -1643,8 +1643,12 @@ async function ea(e, t, o, n) {
1643
1643
  }
1644
1644
  function Pt(e) {
1645
1645
  const t = z([]), o = tt(), n = F(() => {
1646
- var l;
1647
- return Ne((l = o.query) == null ? void 0 : l.props) ? {} : JSON.parse(o.query.props);
1646
+ if (xe(o.query))
1647
+ return {};
1648
+ {
1649
+ const { viewName: l, ...r } = o.query;
1650
+ return r;
1651
+ }
1648
1652
  }), a = F(() => {
1649
1653
  let l = {};
1650
1654
  return Object.assign(l, n.value), l;
@@ -1653,7 +1657,7 @@ function Pt(e) {
1653
1657
  switch (e.itemType) {
1654
1658
  case "tree_check_box": {
1655
1659
  const { treeData: l, viewName: r, dataId: s } = e;
1656
- t.value = await Yn(
1660
+ t.value = await ea(
1657
1661
  l,
1658
1662
  r,
1659
1663
  s,
@@ -1664,7 +1668,7 @@ function Pt(e) {
1664
1668
  case "multi_tree_selector":
1665
1669
  case "tree_selector": {
1666
1670
  const { treeData: l, viewName: r, dataId: s } = e;
1667
- t.value = await Jn(
1671
+ t.value = await Yn(
1668
1672
  l,
1669
1673
  r,
1670
1674
  s,
@@ -1676,7 +1680,7 @@ function Pt(e) {
1676
1680
  case "multi_selector":
1677
1681
  case "radio": {
1678
1682
  const { listData: l, viewName: r, dataId: s } = e;
1679
- t.value = await ea(
1683
+ t.value = await ta(
1680
1684
  l,
1681
1685
  r,
1682
1686
  s,
@@ -1807,7 +1811,7 @@ const Jt = /* @__PURE__ */ ee({
1807
1811
  clearable: !0,
1808
1812
  onChange: l,
1809
1813
  onBlur: r
1810
- }, null, 8, ["enable-time-picker", "placeholder", "modelValue", "format", "disabled"])) : j("", !0),
1814
+ }, null, 8, ["enable-time-picker", "placeholder", "modelValue", "format", "disabled"])) : G("", !0),
1811
1815
  ((E = e.formItem) == null ? void 0 : E.itemType) === "time_selector" ? (v(), S(c, {
1812
1816
  key: 1,
1813
1817
  placeholder: (T = e.formItem) == null ? void 0 : T.placeholder,
@@ -1817,11 +1821,11 @@ const Jt = /* @__PURE__ */ ee({
1817
1821
  onBlur: r,
1818
1822
  format: ((h = e.formItem) == null ? void 0 : h.format) || "HH:mm:ss",
1819
1823
  clearable: ""
1820
- }, null, 8, ["placeholder", "modelValue", "format"])) : j("", !0)
1824
+ }, null, 8, ["placeholder", "modelValue", "format"])) : G("", !0)
1821
1825
  ], 64);
1822
1826
  };
1823
1827
  }
1824
- }), ta = { key: 0 }, oa = { key: 1 }, na = { key: 2 }, aa = /* @__PURE__ */ ee({
1828
+ }), oa = { key: 0 }, na = { key: 1 }, aa = { key: 2 }, la = /* @__PURE__ */ ee({
1825
1829
  __name: "index",
1826
1830
  props: {
1827
1831
  viewName: null,
@@ -1859,7 +1863,7 @@ const Jt = /* @__PURE__ */ ee({
1859
1863
  const b = D("t-button");
1860
1864
  return v(), S(m(Lo), null, _t({
1861
1865
  "left-operations": w(() => [
1862
- m(Ne)(m(a)) ? j("", !0) : (v(!0), q(ve, { key: 0 }, ye(m(a), (f) => (v(), S(zn, {
1866
+ m(xe)(m(a)) ? G("", !0) : (v(!0), q(ve, { key: 0 }, ye(m(a), (f) => (v(), S($n, {
1863
1867
  key: f.buttonId,
1864
1868
  formItem: f,
1865
1869
  viewName: e.viewName
@@ -1873,7 +1877,7 @@ const Jt = /* @__PURE__ */ ee({
1873
1877
  J(ge(f.name), 1)
1874
1878
  ]),
1875
1879
  _: 2
1876
- }, 1032, ["onClick"]))), 128)) : j("", !0)
1880
+ }, 1032, ["onClick"]))), 128)) : G("", !0)
1877
1881
  ]),
1878
1882
  _: 2
1879
1883
  }, [
@@ -1881,30 +1885,30 @@ const Jt = /* @__PURE__ */ ee({
1881
1885
  name: "right-operations",
1882
1886
  fn: w(() => [
1883
1887
  (v(!0), q(ve, null, ye(m(r), (f, M) => (v(), q("div", { key: M }, [
1884
- f.itemType === "text_input" ? (v(), q("div", ta, [
1888
+ f.itemType === "text_input" ? (v(), q("div", oa, [
1885
1889
  V(Ct, {
1886
1890
  formItem: f,
1887
1891
  modelValue: m(Q)(m(s), f.keyName),
1888
1892
  placeholder: f.placeholder,
1889
1893
  "onUpdate:modelValue": (E) => f.keyName && i(f.keyName, E)
1890
1894
  }, null, 8, ["formItem", "modelValue", "placeholder", "onUpdate:modelValue"])
1891
- ])) : j("", !0),
1892
- f.itemType === "selector" ? (v(), q("div", oa, [
1895
+ ])) : G("", !0),
1896
+ f.itemType === "selector" ? (v(), q("div", na, [
1893
1897
  V(Jt, {
1894
1898
  modelValue: m(Q)(m(s), f.keyName),
1895
1899
  formItem: f,
1896
1900
  viewName: e.viewName,
1897
1901
  "onUpdate:modelValue": (E) => f.keyName && i(f.keyName, E)
1898
1902
  }, null, 8, ["modelValue", "formItem", "viewName", "onUpdate:modelValue"])
1899
- ])) : j("", !0),
1900
- f.itemType === "date_selector" || f.itemType === "time_selector" || f.itemType === "date_time_selector" ? (v(), q("div", na, [
1903
+ ])) : G("", !0),
1904
+ f.itemType === "date_selector" || f.itemType === "time_selector" || f.itemType === "date_time_selector" ? (v(), q("div", aa, [
1901
1905
  V(Yt, {
1902
1906
  modelValue: m(Q)(m(s), f.keyName),
1903
1907
  formItem: f,
1904
1908
  viewName: e.viewName,
1905
1909
  "onUpdate:modelValue": (E) => f.keyName && i(f.keyName, E)
1906
1910
  }, null, 8, ["modelValue", "formItem", "viewName", "onUpdate:modelValue"])
1907
- ])) : j("", !0)
1911
+ ])) : G("", !0)
1908
1912
  ]))), 128))
1909
1913
  ]),
1910
1914
  key: "0"
@@ -2278,7 +2282,7 @@ function qo(e = {}) {
2278
2282
  handleItemDisableIf: o
2279
2283
  };
2280
2284
  }
2281
- const la = ["id"], ra = /* @__PURE__ */ ee({
2285
+ const ra = ["id"], ia = /* @__PURE__ */ ee({
2282
2286
  __name: "GFormItem",
2283
2287
  props: {
2284
2288
  formItem: null,
@@ -2331,7 +2335,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2331
2335
  e.formItem.itemType === "label" ? (v(), S(Uo, {
2332
2336
  key: 0,
2333
2337
  modelValue: m(Q)(m(a), e.formItem.keyName)
2334
- }, null, 8, ["modelValue"])) : j("", !0),
2338
+ }, null, 8, ["modelValue"])) : G("", !0),
2335
2339
  e.formItem.itemType === "text_input" && e.formItem.inputType != "RE_PASSWORD" ? (v(), S(Ct, {
2336
2340
  key: 1,
2337
2341
  formItem: e.formItem,
@@ -2340,7 +2344,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2340
2344
  placeholder: e.formItem.placeholder,
2341
2345
  disabled: m(i),
2342
2346
  "onUpdate:modelValue": f[0] || (f[0] = (g) => s(e.formItem.keyName, g))
2343
- }, null, 8, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : j("", !0),
2347
+ }, null, 8, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : G("", !0),
2344
2348
  e.formItem.itemType === "text_input" && e.formItem.inputType == "RE_PASSWORD" ? (v(), S(Ct, {
2345
2349
  key: 2,
2346
2350
  formItem: e.formItem,
@@ -2349,13 +2353,13 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2349
2353
  placeholder: e.formItem.placeholder,
2350
2354
  disabled: m(i),
2351
2355
  "onUpdate:modelValue": f[1] || (f[1] = (g) => s("rePassword", g))
2352
- }, null, 8, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : j("", !0),
2356
+ }, null, 8, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : G("", !0),
2353
2357
  e.formItem.itemType === "check_box" ? (v(), S(Ro, {
2354
2358
  key: 3,
2355
2359
  modelValue: m(Q)(m(a), e.formItem.keyName, !1),
2356
2360
  disabled: m(i),
2357
2361
  "onUpdate:modelValue": f[2] || (f[2] = (g) => s(e.formItem.keyName, g))
2358
- }, null, 8, ["modelValue", "disabled"])) : j("", !0),
2362
+ }, null, 8, ["modelValue", "disabled"])) : G("", !0),
2359
2363
  e.formItem.itemType === "switch" ? (v(), S(Ko, {
2360
2364
  key: 4,
2361
2365
  formItem: e.formItem,
@@ -2363,7 +2367,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2363
2367
  modelValue: m(Q)(m(a), e.formItem.keyName, !1),
2364
2368
  disabled: m(i),
2365
2369
  "onUpdate:modelValue": f[3] || (f[3] = (g) => s(e.formItem.keyName, g))
2366
- }, null, 8, ["formItem", "viewName", "modelValue", "disabled"])) : j("", !0),
2370
+ }, null, 8, ["formItem", "viewName", "modelValue", "disabled"])) : G("", !0),
2367
2371
  e.formItem.itemType === "radio" ? (v(), S(Go, {
2368
2372
  key: 5,
2369
2373
  modelValue: m(Q)(m(a), e.formItem.keyName),
@@ -2371,7 +2375,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2371
2375
  viewName: e.viewName,
2372
2376
  disabled: m(i),
2373
2377
  "onUpdate:modelValue": f[4] || (f[4] = (g) => s(e.formItem.keyName, g))
2374
- }, null, 8, ["modelValue", "formItem", "viewName", "disabled"])) : j("", !0),
2378
+ }, null, 8, ["modelValue", "formItem", "viewName", "disabled"])) : G("", !0),
2375
2379
  e.formItem.itemType === "selector" || e.formItem.itemType === "multi_selector" ? (v(), S(Jt, {
2376
2380
  key: e.formItem.listData.dataId,
2377
2381
  modelValue: m(Q)(m(a), e.formItem.keyName),
@@ -2380,7 +2384,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2380
2384
  multiple: e.formItem.itemType === "multi_selector",
2381
2385
  disabled: m(i),
2382
2386
  "onUpdate:modelValue": f[5] || (f[5] = (g) => s(e.formItem.keyName, g))
2383
- }, null, 8, ["modelValue", "formItem", "viewName", "multiple", "disabled"])) : j("", !0),
2387
+ }, null, 8, ["modelValue", "formItem", "viewName", "multiple", "disabled"])) : G("", !0),
2384
2388
  e.formItem.itemType === "date_selector" || e.formItem.itemType === "time_selector" || e.formItem.itemType === "date_time_selector" ? (v(), S(Yt, {
2385
2389
  key: 7,
2386
2390
  modelValue: m(Q)(m(a), e.formItem.keyName),
@@ -2388,7 +2392,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2388
2392
  viewName: e.viewName,
2389
2393
  disabled: m(i),
2390
2394
  "onUpdate:modelValue": f[6] || (f[6] = (g) => s(e.formItem.keyName, g))
2391
- }, null, 8, ["modelValue", "formItem", "viewName", "disabled"])) : j("", !0),
2395
+ }, null, 8, ["modelValue", "formItem", "viewName", "disabled"])) : G("", !0),
2392
2396
  e.formItem.itemType === "tree_check_box" ? (v(), S(jo, {
2393
2397
  key: 8,
2394
2398
  modelValue: m(Q)(m(a), e.formItem.keyName),
@@ -2396,7 +2400,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2396
2400
  viewName: e.viewName,
2397
2401
  disabled: m(i),
2398
2402
  "onUpdate:modelValue": f[7] || (f[7] = (g) => s(e.formItem.keyName, g))
2399
- }, null, 8, ["modelValue", "formItem", "viewName", "disabled"])) : j("", !0),
2403
+ }, null, 8, ["modelValue", "formItem", "viewName", "disabled"])) : G("", !0),
2400
2404
  e.formItem.itemType === "multi_tree_selector" || e.formItem.itemType === "tree_selector" ? (v(), S(Wo, {
2401
2405
  key: 9,
2402
2406
  modelValue: m(Q)(m(a), e.formItem.keyName),
@@ -2405,7 +2409,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2405
2409
  multiple: e.formItem.itemType === "multi_tree_selector",
2406
2410
  disabled: m(i),
2407
2411
  "onUpdate:modelValue": f[8] || (f[8] = (g) => s(e.formItem.keyName, g))
2408
- }, null, 8, ["modelValue", "formItem", "viewName", "multiple", "disabled"])) : j("", !0),
2412
+ }, null, 8, ["modelValue", "formItem", "viewName", "multiple", "disabled"])) : G("", !0),
2409
2413
  e.formItem.itemType === "file" ? (v(), S(Ho, {
2410
2414
  key: 10,
2411
2415
  modelValue: m(Q)(m(a), e.formItem.keyName),
@@ -2415,16 +2419,16 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2415
2419
  fileName: m(Q)(m(a), e.formItem.filenameKeyName) || ((y = m(Q)(m(a), e.formItem.keyName)) == null ? void 0 : y.split("/").slice(-1)[0]),
2416
2420
  "onUpdate:fileName": f[9] || (f[9] = (g) => e.formItem.filenameKeyName && s(e.formItem.filenameKeyName, g)),
2417
2421
  "onUpdate:modelValue": f[10] || (f[10] = (g) => s(e.formItem.keyName, g))
2418
- }, null, 8, ["modelValue", "formItem", "viewName", "disabled", "fileName"])) : j("", !0)
2422
+ }, null, 8, ["modelValue", "formItem", "viewName", "disabled", "fileName"])) : G("", !0)
2419
2423
  ];
2420
2424
  }),
2421
2425
  _: 1
2422
- }, 8, ["id", "requiredMark", "label", "name"])) : j("", !0)
2423
- ], 64)) : j("", !0)
2424
- ], 10, la);
2426
+ }, 8, ["id", "requiredMark", "label", "name"])) : G("", !0)
2427
+ ], 64)) : G("", !0)
2428
+ ], 10, ra);
2425
2429
  };
2426
2430
  }
2427
- }), ia = ["id"], sa = /* @__PURE__ */ ee({
2431
+ }), sa = ["id"], ua = /* @__PURE__ */ ee({
2428
2432
  __name: "GFormBlock",
2429
2433
  props: {
2430
2434
  name: null,
@@ -2438,9 +2442,9 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2438
2442
  }
2439
2443
  const a = z();
2440
2444
  function l() {
2441
- var i, u;
2445
+ var i;
2442
2446
  const r = a.value, s = !!(t.blockType == "block_start" && t.showIf);
2443
- for (let c = r; c && (Ne((u = (i = c.__vueParentComponent) == null ? void 0 : i.exposed) == null ? void 0 : u.setBlockShowFlag) || c.__vueParentComponent.exposed.setBlockShowFlag(s), !c.matches(`#block_end_${t.name}`)); c = c.nextElementSibling)
2447
+ for (let u = r; u && (xe((i = u.__vnode.ctx.exposed) == null ? void 0 : i.setBlockShowFlag) || u.__vnode.ctx.exposed.setBlockShowFlag(s), !u.matches(`#block_end_${t.name}`)); u = u.nextElementSibling)
2444
2448
  ;
2445
2449
  }
2446
2450
  return et(() => {
@@ -2454,9 +2458,9 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2454
2458
  id: o.value,
2455
2459
  ref_key: "blockRef",
2456
2460
  ref: a
2457
- }, null, 8, ia));
2461
+ }, null, 8, sa));
2458
2462
  }
2459
- }), ua = /* @__PURE__ */ ee({
2463
+ }), ca = /* @__PURE__ */ ee({
2460
2464
  __name: "index",
2461
2465
  props: {
2462
2466
  viewName: null,
@@ -2489,8 +2493,8 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2489
2493
  const { formItem: C } = p, _ = [];
2490
2494
  return C.required && C.keyName && _.push({
2491
2495
  validator: () => {
2492
- const x = Q(a.value, C.keyName);
2493
- return Po(x) ? {
2496
+ const I = Q(a.value, C.keyName);
2497
+ return Po(I) ? {
2494
2498
  result: !1,
2495
2499
  message: `${C.name.replace(/\s/g, "").replace(/[::;\s]/g, "")}为必填项!`
2496
2500
  } : { result: !0 };
@@ -2522,7 +2526,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2522
2526
  async function f(g = []) {
2523
2527
  var _;
2524
2528
  const p = M();
2525
- return (g.length ? g.some((x) => p.includes(x)) : !0) ? (_ = s.value) == null ? void 0 : _.validate({
2529
+ return (g.length ? g.some((I) => p.includes(I)) : !0) ? (_ = s.value) == null ? void 0 : _.validate({
2526
2530
  fields: g.length ? g : p
2527
2531
  }) : Promise.resolve({});
2528
2532
  }
@@ -2597,14 +2601,14 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2597
2601
  (v(!0), q(ve, null, ye(m(n), (_) => (v(), q(ve, {
2598
2602
  key: `${_.name}_${_.keyName}`
2599
2603
  }, [
2600
- _.itemType === "block_start" || _.itemType === "block_end" ? (v(), S(sa, {
2604
+ _.itemType === "block_start" || _.itemType === "block_end" ? (v(), S(ua, {
2601
2605
  key: 0,
2602
2606
  ref_for: !0,
2603
2607
  ref: "formBlockRef",
2604
2608
  name: _.name,
2605
2609
  blockType: _.itemType,
2606
2610
  showIf: m(l)(_.showIf)
2607
- }, null, 8, ["name", "blockType", "showIf"])) : (v(), S(ra, {
2611
+ }, null, 8, ["name", "blockType", "showIf"])) : (v(), S(ia, {
2608
2612
  key: 1,
2609
2613
  ref_for: !0,
2610
2614
  ref_key: "formItemRef",
@@ -2617,7 +2621,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2617
2621
  ], 64))), 128))
2618
2622
  ]),
2619
2623
  footer: w(() => {
2620
- var _, x;
2624
+ var _, I;
2621
2625
  return [
2622
2626
  ((_ = m(T)) == null ? void 0 : _.name) !== "" ? (v(), S(C, {
2623
2627
  key: 0,
@@ -2631,8 +2635,8 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2631
2635
  ];
2632
2636
  }),
2633
2637
  _: 1
2634
- })) : j("", !0),
2635
- ((x = m(E)) == null ? void 0 : x.name) !== "" ? (v(), S(C, {
2638
+ })) : G("", !0),
2639
+ ((I = m(E)) == null ? void 0 : I.name) !== "" ? (v(), S(C, {
2636
2640
  key: 1,
2637
2641
  theme: "primary",
2638
2642
  onClick: p[1] || (p[1] = (N) => m(E) && y(m(E)))
@@ -2644,14 +2648,14 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2644
2648
  ];
2645
2649
  }),
2646
2650
  _: 1
2647
- })) : j("", !0)
2651
+ })) : G("", !0)
2648
2652
  ];
2649
2653
  }),
2650
2654
  _: 1
2651
2655
  }, 8, ["commonFormProps"]);
2652
2656
  };
2653
2657
  }
2654
- }), ca = /* @__PURE__ */ ee({
2658
+ }), da = /* @__PURE__ */ ee({
2655
2659
  __name: "GTableForm",
2656
2660
  props: {
2657
2661
  col: null,
@@ -2681,7 +2685,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2681
2685
  u.itemType === "label" ? (v(), S(Uo, {
2682
2686
  key: 0,
2683
2687
  modelValue: m(Q)(m(a), e.col.colKey)
2684
- }, null, 8, ["modelValue"])) : j("", !0),
2688
+ }, null, 8, ["modelValue"])) : G("", !0),
2685
2689
  u.itemType == "text_input" ? (v(), S(Ct, {
2686
2690
  key: 1,
2687
2691
  formItem: u,
@@ -2691,7 +2695,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2691
2695
  modelValue: m(Q)(m(a), e.col.colKey),
2692
2696
  "onUpdate:modelValue": i[0] || (i[0] = (d) => e.col.colKey && l(e.col.colKey, d)),
2693
2697
  "onBlur:modelValue": (d) => r(u)
2694
- }, null, 8, ["formItem", "viewName", "inputType", "originValue", "modelValue", "onBlur:modelValue"])) : j("", !0),
2698
+ }, null, 8, ["formItem", "viewName", "inputType", "originValue", "modelValue", "onBlur:modelValue"])) : G("", !0),
2695
2699
  u.itemType === "check_box" ? (v(), S(Ro, {
2696
2700
  key: 2,
2697
2701
  formItem: u,
@@ -2700,7 +2704,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2700
2704
  modelValue: m(Q)(m(a), e.col.colKey),
2701
2705
  "onUpdate:modelValue": i[1] || (i[1] = (d) => e.col.colKey && l(e.col.colKey, d)),
2702
2706
  "onBlur:modelValue": (d) => r(u)
2703
- }, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : j("", !0),
2707
+ }, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : G("", !0),
2704
2708
  u.itemType === "switch" ? (v(), S(Ko, {
2705
2709
  key: 3,
2706
2710
  formItem: u,
@@ -2709,7 +2713,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2709
2713
  modelValue: m(Q)(m(a), e.col.colKey),
2710
2714
  "onUpdate:modelValue": i[2] || (i[2] = (d) => e.col.colKey && l(e.col.colKey, d)),
2711
2715
  "onBlur:modelValue": (d) => r(u)
2712
- }, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : j("", !0),
2716
+ }, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : G("", !0),
2713
2717
  u.itemType === "radio" ? (v(), S(Go, {
2714
2718
  key: 4,
2715
2719
  originValue: m(Q)(e.row, e.col.colKey),
@@ -2718,7 +2722,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2718
2722
  viewName: e.viewName,
2719
2723
  "onUpdate:modelValue": i[3] || (i[3] = (d) => e.col.colKey && l(e.col.colKey, d)),
2720
2724
  "onBlur:modelValue": (d) => r(u)
2721
- }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : j("", !0),
2725
+ }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : G("", !0),
2722
2726
  u.itemType === "selector" || u.itemType === "multi_selector" ? (v(), S(Jt, {
2723
2727
  key: 5,
2724
2728
  originValue: m(Q)(e.row, e.col.colKey),
@@ -2728,7 +2732,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2728
2732
  multiple: u.itemType === "multi_selector",
2729
2733
  "onUpdate:modelValue": i[4] || (i[4] = (d) => e.col.colKey && l(e.col.colKey, d)),
2730
2734
  "onBlur:modelValue": (d) => r(u)
2731
- }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : j("", !0),
2735
+ }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : G("", !0),
2732
2736
  u.itemType === "date_selector" || u.itemType === "time_selector" || u.itemType === "date_time_selector" ? (v(), S(Yt, {
2733
2737
  key: 6,
2734
2738
  originValue: m(Q)(e.row, e.col.colKey),
@@ -2737,7 +2741,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2737
2741
  viewName: e.viewName,
2738
2742
  "onUpdate:modelValue": i[5] || (i[5] = (d) => e.col.colKey && l(e.col.colKey, d)),
2739
2743
  "onBlur:modelValue": (d) => r(u)
2740
- }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : j("", !0),
2744
+ }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : G("", !0),
2741
2745
  u.itemType === "tree_check_box" ? (v(), S(jo, {
2742
2746
  key: 7,
2743
2747
  originValue: m(Q)(e.row, e.col.colKey),
@@ -2746,7 +2750,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2746
2750
  viewName: e.viewName,
2747
2751
  "onUpdate:modelValue": i[6] || (i[6] = (d) => e.col.colKey && l(e.col.colKey, d)),
2748
2752
  "onBlur:modelValue": (d) => r(u)
2749
- }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : j("", !0),
2753
+ }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : G("", !0),
2750
2754
  u.itemType === "multi_tree_selector" || u.itemType === "tree_selector" ? (v(), S(Wo, {
2751
2755
  key: 8,
2752
2756
  originValue: m(Q)(e.row, e.col.colKey),
@@ -2756,7 +2760,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2756
2760
  multiple: u.itemType === "multi_tree_selector",
2757
2761
  "onUpdate:modelValue": i[7] || (i[7] = (d) => e.col.colKey && l(e.col.colKey, d)),
2758
2762
  "onBlur:modelValue": (d) => r(u)
2759
- }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : j("", !0),
2763
+ }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : G("", !0),
2760
2764
  u.itemType === "file" ? (v(), S(Ho, {
2761
2765
  key: 9,
2762
2766
  modelValue: m(Q)(m(a), e.col.colKey),
@@ -2765,7 +2769,7 @@ const la = ["id"], ra = /* @__PURE__ */ ee({
2765
2769
  tips: u.placeholder || "请选择上传文件",
2766
2770
  "onUpdate:modelValue": i[8] || (i[8] = (d) => e.col.colKey && l(e.col.colKey, d)),
2767
2771
  "onBlur:modelValue": (d) => r(u)
2768
- }, null, 8, ["modelValue", "formItem", "viewName", "tips", "onBlur:modelValue"])) : j("", !0)
2772
+ }, null, 8, ["modelValue", "formItem", "viewName", "tips", "onBlur:modelValue"])) : G("", !0)
2769
2773
  ]);
2770
2774
  }), 128))
2771
2775
  ], 2));
@@ -2785,7 +2789,7 @@ function zo(e = {}) {
2785
2789
  function Ut(e) {
2786
2790
  return e === "" ? e : e === "true" || e == "1";
2787
2791
  }
2788
- function da(e, t) {
2792
+ function ma(e, t) {
2789
2793
  return new Promise((o, n) => {
2790
2794
  var a = new XMLHttpRequest();
2791
2795
  a.responseType = "blob", a.onload = function() {
@@ -2833,7 +2837,7 @@ function ho(e, t) {
2833
2837
  }
2834
2838
  return o;
2835
2839
  }
2836
- function ma(e, t) {
2840
+ function fa(e, t) {
2837
2841
  var o = t.dir || t.root, n = t.base || (t.name || "") + (t.ext || "");
2838
2842
  return o ? o === t.root ? o + n : o + e + n : n;
2839
2843
  }
@@ -2960,7 +2964,7 @@ var Xe = {
2960
2964
  format: function(t) {
2961
2965
  if (t === null || typeof t != "object")
2962
2966
  throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof t);
2963
- return ma("/", t);
2967
+ return fa("/", t);
2964
2968
  },
2965
2969
  parse: function(t) {
2966
2970
  Fe(t);
@@ -2989,8 +2993,8 @@ var Xe = {
2989
2993
  posix: null
2990
2994
  };
2991
2995
  Xe.posix = Xe;
2992
- const fa = Xe.extname, $o = Xe.basename;
2993
- class ha {
2996
+ const ha = Xe.extname, $o = Xe.basename;
2997
+ class pa {
2994
2998
  constructor() {
2995
2999
  let t = (() => typeof global > "u")(), o = "image/png", n = "image/jpeg", a = "image/jpeg", l = "image/webp", r = "application/pdf", s = "image/svg+xml";
2996
3000
  Object.assign(this, {
@@ -3008,7 +3012,7 @@ class ha {
3008
3012
  return this.mimes[t];
3009
3013
  }
3010
3014
  }
3011
- function pa(e, {
3015
+ function ga(e, {
3012
3016
  filename: t = "",
3013
3017
  extension: o = "",
3014
3018
  format: E,
@@ -3019,7 +3023,7 @@ function pa(e, {
3019
3023
  outline: i,
3020
3024
  archive: f
3021
3025
  } = {}) {
3022
- var { fromMime: c, toMime: d, expected: b } = new ha(), f = f || "canvas", M = E || o.replace(/@\d+x$/i, "") || fa(t), E = c(d(M) || M), T = d(E), h = e.length;
3026
+ var { fromMime: c, toMime: d, expected: b } = new pa(), f = f || "canvas", M = E || o.replace(/@\d+x$/i, "") || ha(t), E = c(d(M) || M), T = d(E), h = e.length;
3023
3027
  if (!M)
3024
3028
  throw new Error(
3025
3029
  "Cannot determine image format (use a filename extension or 'format' argument)"
@@ -3030,7 +3034,7 @@ function pa(e, {
3030
3034
  throw new RangeError(
3031
3035
  "Canvas has no associated contexts (try calling getContext or newPage first)"
3032
3036
  );
3033
- let y, g, p = t.replace(/{(\d*)}/g, (_, x) => (g = !0, x = parseInt(x, 10), y = isFinite(x) ? x : isFinite(y) ? y : -1, "{}")), C = a > 0 ? a - 1 : a < 0 ? h + a : void 0;
3037
+ let y, g, p = t.replace(/{(\d*)}/g, (_, I) => (g = !0, I = parseInt(I, 10), y = isFinite(I) ? I : isFinite(y) ? y : -1, "{}")), C = a > 0 ? a - 1 : a < 0 ? h + a : void 0;
3034
3038
  if (isFinite(C) && C < 0 || C >= h)
3035
3039
  throw new RangeError(
3036
3040
  h == 1 ? `Canvas only has a ‘page 1’ (${C} is out of bounds)` : `Canvas has pages 1–${h} (${C} is out of bounds)`
@@ -3146,9 +3150,9 @@ const eo = (e, t, o, n) => {
3146
3150
  s.fillStyle = n, s.fillRect(0, 0, a, l), s.drawImage(e, 0, 0), e = r;
3147
3151
  }
3148
3152
  return new Promise((a, l) => e.toBlob(a, t, o));
3149
- }, ga = (...e) => eo(...e).then((t) => t.arrayBuffer()), va = async (e, t, o, n, a) => {
3153
+ }, va = (...e) => eo(...e).then((t) => t.arrayBuffer()), ba = async (e, t, o, n, a) => {
3150
3154
  Xo(a, await eo(e, t, o, n));
3151
- }, ba = async (e, t, o, n, a, l, r) => {
3155
+ }, ya = async (e, t, o, n, a, l, r) => {
3152
3156
  let s = (c) => l.replace("{}", String(c + 1).padStart(r, "0")), i = $o(a, ".zip") || "archive", u = new Et(i);
3153
3157
  await Promise.all(
3154
3158
  e.map(async (c, d) => {
@@ -3159,12 +3163,12 @@ const eo = (e, t, o, n) => {
3159
3163
  }, Xo = (e, t) => {
3160
3164
  const o = window.URL.createObjectURL(t), n = document.createElement("a");
3161
3165
  n.style.display = "none", n.href = o, n.setAttribute("download", e), typeof n.download > "u" && n.setAttribute("target", "_blank"), document.body.appendChild(n), n.click(), document.body.removeChild(n), setTimeout(() => window.URL.revokeObjectURL(o), 100);
3162
- }, ya = (e, t, o) => e.map((n) => {
3166
+ }, wa = (e, t, o) => e.map((n) => {
3163
3167
  if (t == 1 && !o)
3164
3168
  return n.canvas;
3165
3169
  let a = document.createElement("canvas"), l = a.getContext("2d"), r = n.canvas ? n.canvas : n;
3166
3170
  return a.width = r.width * t, a.height = r.height * t, o && (l.fillStyle = o, l.fillRect(0, 0, a.width, a.height)), l.scale(t, t), l.drawImage(r, 0, 0), a;
3167
- }), wa = { asBuffer: ga, asDownload: va, asZipDownload: ba, atScale: ya, options: pa }, { asBuffer: Kt, asDownload: ka, asZipDownload: Ca, atScale: Gt, options: jt } = wa, po = Symbol.for("toDataURL"), Ta = (e) => new Promise(
3171
+ }), ka = { asBuffer: va, asDownload: ba, asZipDownload: ya, atScale: wa, options: ga }, { asBuffer: Kt, asDownload: Ca, asZipDownload: Ta, atScale: Gt, options: jt } = ka, po = Symbol.for("toDataURL"), _a = (e) => new Promise(
3168
3172
  (t, o) => Object.assign(new Zo(), {
3169
3173
  crossOrigin: "Anonymous",
3170
3174
  onload: t,
@@ -3172,7 +3176,7 @@ const eo = (e, t, o, n) => {
3172
3176
  src: e
3173
3177
  })
3174
3178
  );
3175
- let _a = class {
3179
+ let Ia = class {
3176
3180
  constructor(t, o) {
3177
3181
  let n = document.createElement("canvas"), a = [];
3178
3182
  Object.defineProperty(n, "async", {
@@ -3201,7 +3205,7 @@ let _a = class {
3201
3205
  saveAs(s, i) {
3202
3206
  i = typeof i == "number" ? { quality: i } : i;
3203
3207
  let u = jt(this.pages, { filename: s, ...i }), { pattern: c, padding: d, mime: b, quality: f, matte: M, density: E, archive: T } = u, h = Gt(u.pages, E);
3204
- return d == null ? ka(h[0], b, f, M, s) : Ca(
3208
+ return d == null ? Ca(h[0], b, f, M, s) : Ta(
3205
3209
  h,
3206
3210
  b,
3207
3211
  f,
@@ -3226,27 +3230,27 @@ let _a = class {
3226
3230
  }
3227
3231
  };
3228
3232
  const {
3229
- CanvasRenderingContext2D: Ia,
3230
- CanvasGradient: xa,
3231
- CanvasPattern: Na,
3233
+ CanvasRenderingContext2D: xa,
3234
+ CanvasGradient: Na,
3235
+ CanvasPattern: Sa,
3232
3236
  Image: Zo,
3233
- ImageData: Sa,
3234
- Path2D: Va,
3235
- DOMMatrix: Ma,
3236
- DOMRect: Pa,
3237
- DOMPoint: Aa
3238
- } = window, Ea = {
3239
- Canvas: _a,
3240
- loadImage: Ta,
3241
- CanvasRenderingContext2D: Ia,
3242
- CanvasGradient: xa,
3243
- CanvasPattern: Na,
3237
+ ImageData: Va,
3238
+ Path2D: Ma,
3239
+ DOMMatrix: Pa,
3240
+ DOMRect: Aa,
3241
+ DOMPoint: Ea
3242
+ } = window, Ba = {
3243
+ Canvas: Ia,
3244
+ loadImage: _a,
3245
+ CanvasRenderingContext2D: xa,
3246
+ CanvasGradient: Na,
3247
+ CanvasPattern: Sa,
3244
3248
  Image: Zo,
3245
- ImageData: Sa,
3246
- Path2D: Va,
3247
- DOMMatrix: Ma,
3248
- DOMRect: Pa,
3249
- DOMPoint: Aa
3249
+ ImageData: Va,
3250
+ Path2D: Ma,
3251
+ DOMMatrix: Pa,
3252
+ DOMRect: Aa,
3253
+ DOMPoint: Ea
3250
3254
  }, rt = (e, t, o = {}, n = o) => {
3251
3255
  if (Array.isArray(t))
3252
3256
  t.forEach((a) => rt(e, a, o, n));
@@ -3259,7 +3263,7 @@ const {
3259
3263
  return o;
3260
3264
  }, Ze = (e, t) => (o, n, a, l) => {
3261
3265
  t(o, n, a) && l(o, e, n, a);
3262
- }, Ba = (e, t) => (o, n, a, l) => {
3266
+ }, La = (e, t) => (o, n, a, l) => {
3263
3267
  const r = [];
3264
3268
  let s = o.pos;
3265
3269
  for (; t(o, n, a); ) {
@@ -3269,7 +3273,7 @@ const {
3269
3273
  s = o.pos, r.push(i);
3270
3274
  }
3271
3275
  return r;
3272
- }, La = (e) => ({
3276
+ }, Fa = (e) => ({
3273
3277
  data: e,
3274
3278
  pos: 0
3275
3279
  }), Pe = () => (e) => e.data[e.pos++], Qo = (e = 0) => (t) => t.data[t.pos + e], Oe = (e) => (t) => t.data.subarray(t.pos, t.pos += e), Bt = (e) => (t) => t.data.subarray(t.pos, t.pos + e), qt = (e) => (t) => Array.from(Oe(e)(t)).map((o) => String.fromCharCode(o)).join(""), ze = (e) => (t) => {
@@ -3280,7 +3284,7 @@ const {
3280
3284
  for (var i = 0; i < l; i++)
3281
3285
  s[i] = r(o);
3282
3286
  return s;
3283
- }, Fa = (e, t, o) => {
3287
+ }, Da = (e, t, o) => {
3284
3288
  for (var n = 0, a = 0; a < o; a++)
3285
3289
  n += e[t + a] && 2 ** (o - a - 1);
3286
3290
  return n;
@@ -3290,7 +3294,7 @@ const {
3290
3294
  n[7 - a] = !!(o & 1 << a);
3291
3295
  return Object.keys(e).reduce((l, r) => {
3292
3296
  const s = e[r];
3293
- return s.length ? l[r] = Fa(n, s.index, s.length) : l[r] = n[s.index], l;
3297
+ return s.length ? l[r] = Da(n, s.index, s.length) : l[r] = n[s.index], l;
3294
3298
  }, {});
3295
3299
  };
3296
3300
  var Lt = {
@@ -3310,7 +3314,7 @@ var Lt = {
3310
3314
  return r;
3311
3315
  }
3312
3316
  };
3313
- const Da = Ze(
3317
+ const Oa = Ze(
3314
3318
  {
3315
3319
  gce: [
3316
3320
  { codes: Oe(2) },
@@ -3332,7 +3336,7 @@ const Da = Ze(
3332
3336
  var t = Bt(2)(e);
3333
3337
  return t[0] === 33 && t[1] === 249;
3334
3338
  }
3335
- ), Oa = Ze(
3339
+ ), Ua = Ze(
3336
3340
  {
3337
3341
  image: [
3338
3342
  { code: Pe() },
@@ -3363,7 +3367,7 @@ const Da = Ze(
3363
3367
  ]
3364
3368
  },
3365
3369
  (e) => Qo()(e) === 44
3366
- ), Ua = Ze(
3370
+ ), Ra = Ze(
3367
3371
  {
3368
3372
  text: [
3369
3373
  { codes: Oe(2) },
@@ -3378,7 +3382,7 @@ const Da = Ze(
3378
3382
  var t = Bt(2)(e);
3379
3383
  return t[0] === 33 && t[1] === 1;
3380
3384
  }
3381
- ), Ra = Ze(
3385
+ ), Ka = Ze(
3382
3386
  {
3383
3387
  application: [
3384
3388
  { codes: Oe(2) },
@@ -3391,7 +3395,7 @@ const Da = Ze(
3391
3395
  var t = Bt(2)(e);
3392
3396
  return t[0] === 33 && t[1] === 255;
3393
3397
  }
3394
- ), Ka = Ze(
3398
+ ), Ga = Ze(
3395
3399
  {
3396
3400
  comment: [{ codes: Oe(2) }, Lt]
3397
3401
  },
@@ -3399,7 +3403,7 @@ const Da = Ze(
3399
3403
  var t = Bt(2)(e);
3400
3404
  return t[0] === 33 && t[1] === 254;
3401
3405
  }
3402
- ), Ga = [
3406
+ ), ja = [
3403
3407
  { header: [{ signature: qt(3) }, { version: qt(3) }] },
3404
3408
  {
3405
3409
  lsd: [
@@ -3428,15 +3432,15 @@ const Da = Ze(
3428
3432
  ),
3429
3433
  // content frames
3430
3434
  {
3431
- frames: Ba(
3432
- [Da, Ra, Ka, Oa, Ua],
3435
+ frames: La(
3436
+ [Oa, Ka, Ga, Ua, Ra],
3433
3437
  (e) => {
3434
3438
  var t = Qo()(e);
3435
3439
  return t === 33 || t === 44;
3436
3440
  }
3437
3441
  )
3438
3442
  }
3439
- ], ja = (e, t) => {
3443
+ ], Wa = (e, t) => {
3440
3444
  const o = new Array(e.length), n = e.length / t, a = function(c, d) {
3441
3445
  const b = e.slice(d * t, (d + 1) * t);
3442
3446
  o.splice.apply(o, [c * t, t].concat(b));
@@ -3445,17 +3449,17 @@ const Da = Ze(
3445
3449
  for (var u = l[i]; u < n; u += r[i])
3446
3450
  a(u, s), s++;
3447
3451
  return o;
3448
- }, Wa = (e, t, o) => {
3452
+ }, Ha = (e, t, o) => {
3449
3453
  const l = o;
3450
- var r, s, i, u, c, d, b, C, f, M, p, E, _, x, W, N;
3454
+ var r, s, i, u, c, d, b, C, f, M, p, E, _, I, j, N;
3451
3455
  const T = new Array(o), h = new Array(4096), y = new Array(4096), g = new Array(4096 + 1);
3452
3456
  for (E = e, s = 1 << E, c = s + 1, r = s + 2, b = -1, u = E + 1, i = (1 << u) - 1, f = 0; f < s; f++)
3453
3457
  h[f] = 0, y[f] = f;
3454
- var p, C, _, x, N, W;
3455
- for (p = C = _ = x = N = W = 0, M = 0; M < l; ) {
3456
- if (x === 0) {
3458
+ var p, C, _, I, N, j;
3459
+ for (p = C = _ = I = N = j = 0, M = 0; M < l; ) {
3460
+ if (I === 0) {
3457
3461
  if (C < u) {
3458
- p += t[W] << C, C += 8, W++;
3462
+ p += t[j] << C, C += 8, j++;
3459
3463
  continue;
3460
3464
  }
3461
3465
  if (f = p & i, p >>= u, C -= u, f > r || f == c)
@@ -3465,36 +3469,36 @@ const Da = Ze(
3465
3469
  continue;
3466
3470
  }
3467
3471
  if (b == -1) {
3468
- g[x++] = y[f], b = f, _ = f;
3472
+ g[I++] = y[f], b = f, _ = f;
3469
3473
  continue;
3470
3474
  }
3471
- for (d = f, f == r && (g[x++] = _, f = b); f > s; )
3472
- g[x++] = y[f], f = h[f];
3473
- _ = y[f] & 255, g[x++] = _, r < 4096 && (h[r] = b, y[r] = _, r++, !(r & i) && r < 4096 && (u++, i += r)), b = d;
3475
+ for (d = f, f == r && (g[I++] = _, f = b); f > s; )
3476
+ g[I++] = y[f], f = h[f];
3477
+ _ = y[f] & 255, g[I++] = _, r < 4096 && (h[r] = b, y[r] = _, r++, !(r & i) && r < 4096 && (u++, i += r)), b = d;
3474
3478
  }
3475
- x--, T[N++] = g[x], M++;
3479
+ I--, T[N++] = g[I], M++;
3476
3480
  }
3477
3481
  for (M = N; M < l; M++)
3478
3482
  T[M] = 0;
3479
3483
  return T;
3480
- }, Ha = (e) => {
3481
- const t = new Uint8Array(e);
3482
- return rt(La(t), Ga);
3483
3484
  }, qa = (e) => {
3485
+ const t = new Uint8Array(e);
3486
+ return rt(Fa(t), ja);
3487
+ }, za = (e) => {
3484
3488
  const t = e.pixels.length, o = new Uint8ClampedArray(t * 4);
3485
3489
  for (var n = 0; n < t; n++) {
3486
3490
  const a = n * 4, l = e.pixels[n], r = e.colorTable[l];
3487
3491
  o[a] = r[0], o[a + 1] = r[1], o[a + 2] = r[2], o[a + 3] = l !== e.transparentIndex ? 255 : 0;
3488
3492
  }
3489
3493
  return o;
3490
- }, za = (e, t, o) => {
3494
+ }, $a = (e, t, o) => {
3491
3495
  if (!e.image) {
3492
3496
  console.warn("gif frame does not have associated image.");
3493
3497
  return;
3494
3498
  }
3495
3499
  const { image: n } = e, a = n.descriptor.width * n.descriptor.height;
3496
- var l = Wa(n.data.minCodeSize, n.data.blocks, a);
3497
- n.descriptor.lct.interlaced && (l = ja(l, n.descriptor.width));
3500
+ var l = Ha(n.data.minCodeSize, n.data.blocks, a);
3501
+ n.descriptor.lct.interlaced && (l = Wa(l, n.descriptor.width));
3498
3502
  const r = {
3499
3503
  pixels: l,
3500
3504
  dims: {
@@ -3504,9 +3508,9 @@ const Da = Ze(
3504
3508
  height: e.image.descriptor.height
3505
3509
  }
3506
3510
  };
3507
- return n.descriptor.lct && n.descriptor.lct.exists ? r.colorTable = n.lct : r.colorTable = t, e.gce && (r.delay = (e.gce.delay || 10) * 10, r.disposalType = e.gce.extras.disposal, e.gce.extras.transparentColorGiven && (r.transparentIndex = e.gce.transparentColorIndex)), o && (r.patch = qa(r)), r;
3508
- }, $a = (e, t) => e.frames.filter((o) => o.image).map((o) => za(o, e.gct, t));
3509
- function Xa(e, t, o) {
3511
+ return n.descriptor.lct && n.descriptor.lct.exists ? r.colorTable = n.lct : r.colorTable = t, e.gce && (r.delay = (e.gce.delay || 10) * 10, r.disposalType = e.gce.extras.disposal, e.gce.extras.transparentColorGiven && (r.transparentIndex = e.gce.transparentColorIndex)), o && (r.patch = za(r)), r;
3512
+ }, Xa = (e, t) => e.frames.filter((o) => o.image).map((o) => $a(o, e.gct, t));
3513
+ function Za(e, t, o) {
3510
3514
  const n = Yo(t), a = e - 1;
3511
3515
  let l = 0;
3512
3516
  switch (o) {
@@ -3525,7 +3529,7 @@ function Xa(e, t, o) {
3525
3529
  }
3526
3530
  return n <= l;
3527
3531
  }
3528
- function Za(e, t) {
3532
+ function Qa(e, t) {
3529
3533
  for (var o = 1, n = Yo(e), a = 0, l = De.length; a < l; a++) {
3530
3534
  var r = 0;
3531
3535
  switch (t) {
@@ -3554,7 +3558,7 @@ function Yo(e) {
3554
3558
  var t = encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g, "a");
3555
3559
  return t.length + (t.length != Number(e) ? 3 : 0);
3556
3560
  }
3557
- class Qa {
3561
+ class Ja {
3558
3562
  constructor(t) {
3559
3563
  this.mode = Me.MODE_8BIT_BYTE, this.parsedData = [], this.data = t;
3560
3564
  const o = [];
@@ -3578,14 +3582,14 @@ class He {
3578
3582
  }
3579
3583
  addData(t) {
3580
3584
  if (this.typeNumber <= 0)
3581
- this.typeNumber = Za(t, this.errorCorrectLevel);
3585
+ this.typeNumber = Qa(t, this.errorCorrectLevel);
3582
3586
  else {
3583
3587
  if (this.typeNumber > 40)
3584
3588
  throw new Error(`Invalid QR version: ${this.typeNumber}`);
3585
- if (!Xa(this.typeNumber, t, this.errorCorrectLevel))
3589
+ if (!Za(this.typeNumber, t, this.errorCorrectLevel))
3586
3590
  throw new Error(`Data is too long for QR version: ${this.typeNumber}`);
3587
3591
  }
3588
- const o = new Qa(t);
3592
+ const o = new Ja(t);
3589
3593
  this.dataList.push(o), this.dataCache = void 0;
3590
3594
  }
3591
3595
  isDark(t, o) {
@@ -3681,7 +3685,7 @@ class He {
3681
3685
  }
3682
3686
  }
3683
3687
  static createData(t, o, n) {
3684
- const a = Ke.getRSBlocks(t, o), l = new Ja();
3688
+ const a = Ke.getRSBlocks(t, o), l = new Ya();
3685
3689
  for (var r = 0; r < n.length; r++) {
3686
3690
  const i = n[r];
3687
3691
  l.put(i.mode, 4), l.put(i.getLength(), se.getLengthInBits(i.mode, t)), i.write(l);
@@ -4161,7 +4165,7 @@ Ke.RS_BLOCK_TABLE = [
4161
4165
  [34, 54, 24, 34, 55, 25],
4162
4166
  [20, 45, 15, 61, 46, 16]
4163
4167
  ];
4164
- class Ja {
4168
+ class Ya {
4165
4169
  constructor() {
4166
4170
  this.buffer = [], this.length = 0;
4167
4171
  }
@@ -4223,8 +4227,8 @@ const De = [
4223
4227
  [2809, 2213, 1579, 1219],
4224
4228
  [2953, 2331, 1663, 1273]
4225
4229
  ];
4226
- var Ya = 100, be = 256, go = be - 1, We = 4, en = 16, oo = 1 << en, tn = 10, no = 10, el = oo >> no, tl = oo << tn - no, ol = be >> 3, zt = 6, nl = 1 << zt, al = ol * nl, ll = 30, on = 10, ft = 1 << on, nn = 8, vo = 1 << nn, rl = on + nn, Je = 1 << rl, bo = 499, yo = 491, wo = 487, an = 503, il = 3 * an;
4227
- function sl(e, t) {
4230
+ var el = 100, be = 256, go = be - 1, We = 4, en = 16, oo = 1 << en, tn = 10, no = 10, tl = oo >> no, ol = oo << tn - no, nl = be >> 3, zt = 6, al = 1 << zt, ll = nl * al, rl = 30, on = 10, ft = 1 << on, nn = 8, vo = 1 << nn, il = on + nn, Je = 1 << il, bo = 499, yo = 491, wo = 487, an = 503, sl = 3 * an;
4231
+ function ul(e, t) {
4228
4232
  var o, n, a, l, r;
4229
4233
  function s() {
4230
4234
  o = [], n = new Int32Array(256), a = new Int32Array(be), l = new Int32Array(be), r = new Int32Array(be >> 3);
@@ -4240,44 +4244,44 @@ function sl(e, t) {
4240
4244
  o[y][0] -= h * (o[y][0] - g) / ft, o[y][1] -= h * (o[y][1] - p) / ft, o[y][2] -= h * (o[y][2] - C) / ft;
4241
4245
  }
4242
4246
  function c(h, y, g, p, C) {
4243
- for (var _ = Math.abs(y - h), x = Math.min(y + h, be), N = y + 1, W = y - 1, te = 1, k, ne; N < x || W > _; )
4244
- ne = r[te++], N < x && (k = o[N++], k[0] -= ne * (k[0] - g) / Je, k[1] -= ne * (k[1] - p) / Je, k[2] -= ne * (k[2] - C) / Je), W > _ && (k = o[W--], k[0] -= ne * (k[0] - g) / Je, k[1] -= ne * (k[1] - p) / Je, k[2] -= ne * (k[2] - C) / Je);
4247
+ for (var _ = Math.abs(y - h), I = Math.min(y + h, be), N = y + 1, j = y - 1, te = 1, k, ne; N < I || j > _; )
4248
+ ne = r[te++], N < I && (k = o[N++], k[0] -= ne * (k[0] - g) / Je, k[1] -= ne * (k[1] - p) / Je, k[2] -= ne * (k[2] - C) / Je), j > _ && (k = o[j--], k[0] -= ne * (k[0] - g) / Je, k[1] -= ne * (k[1] - p) / Je, k[2] -= ne * (k[2] - C) / Je);
4245
4249
  }
4246
4250
  function d(h, y, g) {
4247
- var p = 2147483647, C = p, _ = -1, x = _, N, W, te, k, ne;
4251
+ var p = 2147483647, C = p, _ = -1, I = _, N, j, te, k, ne;
4248
4252
  for (N = 0; N < be; N++)
4249
- W = o[N], te = Math.abs(W[0] - h) + Math.abs(W[1] - y) + Math.abs(W[2] - g), te < p && (p = te, _ = N), k = te - (a[N] >> en - We), k < C && (C = k, x = N), ne = l[N] >> no, l[N] -= ne, a[N] += ne << tn;
4250
- return l[_] += el, a[_] -= tl, x;
4253
+ j = o[N], te = Math.abs(j[0] - h) + Math.abs(j[1] - y) + Math.abs(j[2] - g), te < p && (p = te, _ = N), k = te - (a[N] >> en - We), k < C && (C = k, I = N), ne = l[N] >> no, l[N] -= ne, a[N] += ne << tn;
4254
+ return l[_] += tl, a[_] -= ol, I;
4251
4255
  }
4252
4256
  function b() {
4253
- var h, y, g, p, C, _, x = 0, N = 0;
4257
+ var h, y, g, p, C, _, I = 0, N = 0;
4254
4258
  for (h = 0; h < be; h++) {
4255
4259
  for (g = o[h], C = h, _ = g[1], y = h + 1; y < be; y++)
4256
4260
  p = o[y], p[1] < _ && (C = y, _ = p[1]);
4257
- if (p = o[C], h != C && (y = p[0], p[0] = g[0], g[0] = y, y = p[1], p[1] = g[1], g[1] = y, y = p[2], p[2] = g[2], g[2] = y, y = p[3], p[3] = g[3], g[3] = y), _ != x) {
4258
- for (n[x] = N + h >> 1, y = x + 1; y < _; y++)
4261
+ if (p = o[C], h != C && (y = p[0], p[0] = g[0], g[0] = y, y = p[1], p[1] = g[1], g[1] = y, y = p[2], p[2] = g[2], g[2] = y, y = p[3], p[3] = g[3], g[3] = y), _ != I) {
4262
+ for (n[I] = N + h >> 1, y = I + 1; y < _; y++)
4259
4263
  n[y] = h;
4260
- x = _, N = h;
4264
+ I = _, N = h;
4261
4265
  }
4262
4266
  }
4263
- for (n[x] = N + go >> 1, y = x + 1; y < 256; y++)
4267
+ for (n[I] = N + go >> 1, y = I + 1; y < 256; y++)
4264
4268
  n[y] = go;
4265
4269
  }
4266
4270
  function f(h, y, g) {
4267
- for (var p, C, _, x = 1e3, N = -1, W = n[y], te = W - 1; W < be || te >= 0; )
4268
- W < be && (C = o[W], _ = C[1] - y, _ >= x ? W = be : (W++, _ < 0 && (_ = -_), p = C[0] - h, p < 0 && (p = -p), _ += p, _ < x && (p = C[2] - g, p < 0 && (p = -p), _ += p, _ < x && (x = _, N = C[3])))), te >= 0 && (C = o[te], _ = y - C[1], _ >= x ? te = -1 : (te--, _ < 0 && (_ = -_), p = C[0] - h, p < 0 && (p = -p), _ += p, _ < x && (p = C[2] - g, p < 0 && (p = -p), _ += p, _ < x && (x = _, N = C[3]))));
4271
+ for (var p, C, _, I = 1e3, N = -1, j = n[y], te = j - 1; j < be || te >= 0; )
4272
+ j < be && (C = o[j], _ = C[1] - y, _ >= I ? j = be : (j++, _ < 0 && (_ = -_), p = C[0] - h, p < 0 && (p = -p), _ += p, _ < I && (p = C[2] - g, p < 0 && (p = -p), _ += p, _ < I && (I = _, N = C[3])))), te >= 0 && (C = o[te], _ = y - C[1], _ >= I ? te = -1 : (te--, _ < 0 && (_ = -_), p = C[0] - h, p < 0 && (p = -p), _ += p, _ < I && (p = C[2] - g, p < 0 && (p = -p), _ += p, _ < I && (I = _, N = C[3]))));
4269
4273
  return N;
4270
4274
  }
4271
4275
  function M() {
4272
- var h, y = e.length, g = 30 + (t - 1) / 3, p = y / (3 * t), C = ~~(p / Ya), _ = ft, x = al, N = x >> zt;
4276
+ var h, y = e.length, g = 30 + (t - 1) / 3, p = y / (3 * t), C = ~~(p / el), _ = ft, I = ll, N = I >> zt;
4273
4277
  for (N <= 1 && (N = 0), h = 0; h < N; h++)
4274
4278
  r[h] = _ * ((N * N - h * h) * vo / (N * N));
4275
- var W;
4276
- y < il ? (t = 1, W = 3) : y % bo !== 0 ? W = 3 * bo : y % yo !== 0 ? W = 3 * yo : y % wo !== 0 ? W = 3 * wo : W = 3 * an;
4279
+ var j;
4280
+ y < sl ? (t = 1, j = 3) : y % bo !== 0 ? j = 3 * bo : y % yo !== 0 ? j = 3 * yo : y % wo !== 0 ? j = 3 * wo : j = 3 * an;
4277
4281
  var te, k, ne, O, oe = 0;
4278
4282
  for (h = 0; h < p; )
4279
- if (te = (e[oe] & 255) << We, k = (e[oe + 1] & 255) << We, ne = (e[oe + 2] & 255) << We, O = d(te, k, ne), u(_, O, te, k, ne), N !== 0 && c(N, O, te, k, ne), oe += W, oe >= y && (oe -= y), h++, C === 0 && (C = 1), h % C === 0)
4280
- for (_ -= _ / g, x -= x / ll, N = x >> zt, N <= 1 && (N = 0), O = 0; O < N; O++)
4283
+ if (te = (e[oe] & 255) << We, k = (e[oe + 1] & 255) << We, ne = (e[oe + 2] & 255) << We, O = d(te, k, ne), u(_, O, te, k, ne), N !== 0 && c(N, O, te, k, ne), oe += j, oe >= y && (oe -= y), h++, C === 0 && (C = 1), h % C === 0)
4284
+ for (_ -= _ / g, I -= I / rl, N = I >> zt, N <= 1 && (N = 0), O = 0; O < N; O++)
4281
4285
  r[O] = _ * ((N * N - O * O) * vo / (N * N));
4282
4286
  }
4283
4287
  function E() {
@@ -4295,7 +4299,7 @@ function sl(e, t) {
4295
4299
  }
4296
4300
  this.getColormap = T, this.lookupRGB = f;
4297
4301
  }
4298
- var ko = -1, ht = 12, at = 5003, ul = [
4302
+ var ko = -1, ht = 12, at = 5003, cl = [
4299
4303
  0,
4300
4304
  1,
4301
4305
  3,
@@ -4314,10 +4318,10 @@ var ko = -1, ht = 12, at = 5003, ul = [
4314
4318
  32767,
4315
4319
  65535
4316
4320
  ];
4317
- function cl(e, t, o, n) {
4321
+ function dl(e, t, o, n) {
4318
4322
  var a = Math.max(2, n), l = new Uint8Array(256), r = new Int32Array(at), s = new Int32Array(at), i, u = 0, c, d = 0, b, f = !1, M, E, T, h, y, g;
4319
4323
  function p(O, oe) {
4320
- l[c++] = O, c >= 254 && W(oe);
4324
+ l[c++] = O, c >= 254 && j(oe);
4321
4325
  }
4322
4326
  function C(O) {
4323
4327
  _(at), d = E + 2, f = !0, ne(E, O);
@@ -4326,20 +4330,20 @@ function cl(e, t, o, n) {
4326
4330
  for (var oe = 0; oe < O; ++oe)
4327
4331
  r[oe] = -1;
4328
4332
  }
4329
- function x(O, oe) {
4330
- var L, Ae, ue, Ce, Ve, I, U;
4333
+ function I(O, oe) {
4334
+ var L, Ae, ue, Ce, Ve, x, U;
4331
4335
  for (M = O, f = !1, g = M, b = te(g), E = 1 << O - 1, T = E + 1, d = E + 2, c = 0, Ce = k(), U = 0, L = at; L < 65536; L *= 2)
4332
4336
  ++U;
4333
- U = 8 - U, I = at, _(I), ne(E, oe);
4337
+ U = 8 - U, x = at, _(x), ne(E, oe);
4334
4338
  e:
4335
4339
  for (; (Ae = k()) != ko; ) {
4336
4340
  if (L = (Ae << ht) + Ce, ue = Ae << U ^ Ce, r[ue] === L) {
4337
4341
  Ce = s[ue];
4338
4342
  continue;
4339
4343
  } else if (r[ue] >= 0) {
4340
- Ve = I - ue, ue === 0 && (Ve = 1);
4344
+ Ve = x - ue, ue === 0 && (Ve = 1);
4341
4345
  do
4342
- if ((ue -= Ve) < 0 && (ue += I), r[ue] === L) {
4346
+ if ((ue -= Ve) < 0 && (ue += x), r[ue] === L) {
4343
4347
  Ce = s[ue];
4344
4348
  continue e;
4345
4349
  }
@@ -4350,9 +4354,9 @@ function cl(e, t, o, n) {
4350
4354
  ne(Ce, oe), ne(T, oe);
4351
4355
  }
4352
4356
  function N(O) {
4353
- O.writeByte(a), h = e * t, y = 0, x(a + 1, O), O.writeByte(0);
4357
+ O.writeByte(a), h = e * t, y = 0, I(a + 1, O), O.writeByte(0);
4354
4358
  }
4355
- function W(O) {
4359
+ function j(O) {
4356
4360
  c > 0 && (O.writeByte(c), O.writeBytes(l, 0, c), c = 0);
4357
4361
  }
4358
4362
  function te(O) {
@@ -4366,33 +4370,33 @@ function cl(e, t, o, n) {
4366
4370
  return O & 255;
4367
4371
  }
4368
4372
  function ne(O, oe) {
4369
- for (i &= ul[u], u > 0 ? i |= O << u : i = O, u += g; u >= 8; )
4373
+ for (i &= cl[u], u > 0 ? i |= O << u : i = O, u += g; u >= 8; )
4370
4374
  p(i & 255, oe), i >>= 8, u -= 8;
4371
4375
  if ((d > b || f) && (f ? (b = te(g = M), f = !1) : (++g, g == ht ? b = 1 << ht : b = te(g))), O == T) {
4372
4376
  for (; u > 0; )
4373
4377
  p(i & 255, oe), i >>= 8, u -= 8;
4374
- W(oe);
4378
+ j(oe);
4375
4379
  }
4376
4380
  }
4377
4381
  this.encode = N;
4378
4382
  }
4379
- function xe() {
4383
+ function Ne() {
4380
4384
  this.page = -1, this.pages = [], this.newPage();
4381
4385
  }
4382
- xe.pageSize = 4096;
4383
- xe.charMap = {};
4386
+ Ne.pageSize = 4096;
4387
+ Ne.charMap = {};
4384
4388
  for (var pt = 0; pt < 256; pt++)
4385
- xe.charMap[pt] = String.fromCharCode(pt);
4386
- xe.prototype.newPage = function() {
4387
- this.pages[++this.page] = new Uint8Array(xe.pageSize), this.cursor = 0;
4389
+ Ne.charMap[pt] = String.fromCharCode(pt);
4390
+ Ne.prototype.newPage = function() {
4391
+ this.pages[++this.page] = new Uint8Array(Ne.pageSize), this.cursor = 0;
4388
4392
  };
4389
- xe.prototype.getData = function() {
4393
+ Ne.prototype.getData = function() {
4390
4394
  for (var e = "", t = 0; t < this.pages.length; t++)
4391
- for (var o = 0; o < xe.pageSize; o++)
4392
- e += xe.charMap[this.pages[t][o]];
4395
+ for (var o = 0; o < Ne.pageSize; o++)
4396
+ e += Ne.charMap[this.pages[t][o]];
4393
4397
  return e;
4394
4398
  };
4395
- xe.prototype.toFlattenUint8Array = function() {
4399
+ Ne.prototype.toFlattenUint8Array = function() {
4396
4400
  const e = [];
4397
4401
  for (var t = 0; t < this.pages.length; t++)
4398
4402
  if (t === this.pages.length - 1) {
@@ -4403,19 +4407,19 @@ xe.prototype.toFlattenUint8Array = function() {
4403
4407
  const o = new Uint8Array(e.reduce((n, a) => n + a.length, 0));
4404
4408
  return e.reduce((n, a) => (o.set(a, n), n + a.length), 0), o;
4405
4409
  };
4406
- xe.prototype.writeByte = function(e) {
4407
- this.cursor >= xe.pageSize && this.newPage(), this.pages[this.page][this.cursor++] = e;
4410
+ Ne.prototype.writeByte = function(e) {
4411
+ this.cursor >= Ne.pageSize && this.newPage(), this.pages[this.page][this.cursor++] = e;
4408
4412
  };
4409
- xe.prototype.writeUTFBytes = function(e) {
4413
+ Ne.prototype.writeUTFBytes = function(e) {
4410
4414
  for (var t = e.length, o = 0; o < t; o++)
4411
4415
  this.writeByte(e.charCodeAt(o));
4412
4416
  };
4413
- xe.prototype.writeBytes = function(e, t, o) {
4417
+ Ne.prototype.writeBytes = function(e, t, o) {
4414
4418
  for (var n = o || e.length, a = t || 0; a < n; a++)
4415
4419
  this.writeByte(e[a]);
4416
4420
  };
4417
4421
  function ce(e, t) {
4418
- this.width = ~~e, this.height = ~~t, this.transparent = null, this.transIndex = 0, this.repeat = -1, this.delay = 0, this.image = null, this.pixels = null, this.indexedPixels = null, this.colorDepth = null, this.colorTab = null, this.neuQuant = null, this.usedEntry = new Array(), this.palSize = 7, this.dispose = -1, this.firstFrame = !0, this.sample = 10, this.dither = !1, this.globalPalette = !1, this.out = new xe();
4422
+ this.width = ~~e, this.height = ~~t, this.transparent = null, this.transIndex = 0, this.repeat = -1, this.delay = 0, this.image = null, this.pixels = null, this.indexedPixels = null, this.colorDepth = null, this.colorTab = null, this.neuQuant = null, this.usedEntry = new Array(), this.palSize = 7, this.dispose = -1, this.firstFrame = !0, this.sample = 10, this.dither = !1, this.globalPalette = !1, this.out = new Ne();
4419
4423
  }
4420
4424
  ce.prototype.setDelay = function(e) {
4421
4425
  this.delay = Math.round(e / 10);
@@ -4454,7 +4458,7 @@ ce.prototype.writeHeader = function() {
4454
4458
  this.out.writeUTFBytes("GIF89a");
4455
4459
  };
4456
4460
  ce.prototype.analyzePixels = function() {
4457
- this.colorTab || (this.neuQuant = new sl(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));
4461
+ this.colorTab || (this.neuQuant = new ul(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));
4458
4462
  };
4459
4463
  ce.prototype.indexPixels = function(e) {
4460
4464
  var t = this.pixels.length / 3;
@@ -4510,11 +4514,11 @@ ce.prototype.ditherPixels = function(e, t) {
4510
4514
  a = u * r + c;
4511
4515
  var b = a * 3, f = s[b], M = s[b + 1], E = s[b + 2];
4512
4516
  b = this.findClosestRGB(f, M, E), this.usedEntry[b] = !0, this.indexedPixels[a] = b, b *= 3;
4513
- for (var T = this.colorTab[b], h = this.colorTab[b + 1], y = this.colorTab[b + 2], g = f - T, p = M - h, C = E - y, _ = i == 1 ? 0 : n.length - 1, x = i == 1 ? n.length : 0; _ !== x; _ += i) {
4514
- var N = n[_][1], W = n[_][2];
4515
- if (N + c >= 0 && N + c < r && W + u >= 0 && W + u < l) {
4517
+ for (var T = this.colorTab[b], h = this.colorTab[b + 1], y = this.colorTab[b + 2], g = f - T, p = M - h, C = E - y, _ = i == 1 ? 0 : n.length - 1, I = i == 1 ? n.length : 0; _ !== I; _ += i) {
4518
+ var N = n[_][1], j = n[_][2];
4519
+ if (N + c >= 0 && N + c < r && j + u >= 0 && j + u < l) {
4516
4520
  var te = n[_][0];
4517
- b = a + N + W * r, b *= 3, s[b] = Math.max(0, Math.min(255, s[b] + g * te)), s[b + 1] = Math.max(0, Math.min(255, s[b + 1] + p * te)), s[b + 2] = Math.max(0, Math.min(255, s[b + 2] + C * te));
4521
+ b = a + N + j * r, b *= 3, s[b] = Math.max(0, Math.min(255, s[b] + g * te)), s[b + 1] = Math.max(0, Math.min(255, s[b + 1] + p * te)), s[b + 2] = Math.max(0, Math.min(255, s[b + 2] + C * te));
4518
4522
  }
4519
4523
  }
4520
4524
  }
@@ -4578,13 +4582,13 @@ ce.prototype.writeShort = function(e) {
4578
4582
  this.out.writeByte(e & 255), this.out.writeByte(e >> 8 & 255);
4579
4583
  };
4580
4584
  ce.prototype.writePixels = function() {
4581
- var e = new cl(this.width, this.height, this.indexedPixels, this.colorDepth);
4585
+ var e = new dl(this.width, this.height, this.indexedPixels, this.colorDepth);
4582
4586
  e.encode(this.out);
4583
4587
  };
4584
4588
  ce.prototype.stream = function() {
4585
4589
  return this.out;
4586
4590
  };
4587
- var dl = globalThis && globalThis.__awaiter || function(e, t, o, n) {
4591
+ var ml = globalThis && globalThis.__awaiter || function(e, t, o, n) {
4588
4592
  function a(l) {
4589
4593
  return l instanceof o ? l : new o(function(r) {
4590
4594
  r(l);
@@ -4611,7 +4615,7 @@ var dl = globalThis && globalThis.__awaiter || function(e, t, o, n) {
4611
4615
  u((n = n.apply(e, t || [])).next());
4612
4616
  });
4613
4617
  };
4614
- const { Canvas: Ue } = Ea, gt = 0.4;
4618
+ const { Canvas: Ue } = Ba, gt = 0.4;
4615
4619
  function Co(e) {
4616
4620
  if (!e)
4617
4621
  return;
@@ -4711,17 +4715,17 @@ class ae {
4711
4715
  }
4712
4716
  _draw() {
4713
4717
  var t, o, n, a, l, r, s, i, u, c, d, b, f, M, E, T, h, y, g;
4714
- return dl(this, void 0, void 0, function* () {
4718
+ return ml(this, void 0, void 0, function* () {
4715
4719
  const p = (t = this.qrCode) === null || t === void 0 ? void 0 : t.moduleCount, C = this.options.size;
4716
4720
  let _ = this.options.margin;
4717
4721
  (_ < 0 || _ * 2 >= C) && (_ = 0);
4718
- const x = Math.ceil(_), N = C - 2 * _, W = this.options.whiteMargin, te = this.options.backgroundDimming, k = Math.ceil(N / p), ne = k * p, O = ne + 2 * x, oe = new Ue(O, O), L = oe.getContext("2d");
4719
- this._clear(), L.save(), L.translate(x, x);
4722
+ const I = Math.ceil(_), N = C - 2 * _, j = this.options.whiteMargin, te = this.options.backgroundDimming, k = Math.ceil(N / p), ne = k * p, O = ne + 2 * I, oe = new Ue(O, O), L = oe.getContext("2d");
4723
+ this._clear(), L.save(), L.translate(I, I);
4720
4724
  const Ae = new Ue(O, O), ue = Ae.getContext("2d");
4721
4725
  let Ce = null, Ve = [];
4722
4726
  if (this.options.gifBackground) {
4723
- const B = Ha(this.options.gifBackground);
4724
- if (Ce = B, Ve = $a(B, !0), this.options.autoColor) {
4727
+ const B = qa(this.options.gifBackground);
4728
+ if (Ce = B, Ve = Xa(B, !0), this.options.autoColor) {
4725
4729
  let K = 0, P = 0, H = 0, de = 0;
4726
4730
  for (let fe = 0; fe < Ve[0].colorTable.length; fe++) {
4727
4731
  const he = Ve[0].colorTable[fe];
@@ -4738,26 +4742,26 @@ class ae {
4738
4742
  ue.drawImage(B, 0, 0, B.width, B.height, 0, 0, O, O), ue.rect(0, 0, O, O), ue.fillStyle = te, ue.fill();
4739
4743
  } else
4740
4744
  ue.rect(0, 0, O, O), ue.fillStyle = this.options.colorLight, ue.fill();
4741
- const I = se.getPatternPosition(this.qrCode.typeNumber), U = ((n = (o = this.options.components) === null || o === void 0 ? void 0 : o.data) === null || n === void 0 ? void 0 : n.scale) || gt, le = (1 - U) * 0.5;
4745
+ const x = se.getPatternPosition(this.qrCode.typeNumber), U = ((n = (o = this.options.components) === null || o === void 0 ? void 0 : o.data) === null || n === void 0 ? void 0 : n.scale) || gt, le = (1 - U) * 0.5;
4742
4746
  for (let B = 0; B < p; B++)
4743
4747
  for (let K = 0; K < p; K++) {
4744
4748
  const P = this.qrCode.isDark(B, K), H = K < 8 && (B < 8 || B >= p - 8) || K >= p - 8 && B < 8, de = B == 6 && K >= 8 && K <= p - 8 || K == 6 && B >= 8 && B <= p - 8;
4745
4749
  let fe = H || de;
4746
- for (let _e = 1; _e < I.length - 1; _e++)
4747
- fe = fe || B >= I[_e] - 2 && B <= I[_e] + 2 && K >= I[_e] - 2 && K <= I[_e] + 2;
4750
+ for (let _e = 1; _e < x.length - 1; _e++)
4751
+ fe = fe || B >= x[_e] - 2 && B <= x[_e] + 2 && K >= x[_e] - 2 && K <= x[_e] + 2;
4748
4752
  const he = K * k + (fe ? 0 : le * k), Ee = B * k + (fe ? 0 : le * k);
4749
- if (L.strokeStyle = P ? this.options.colorDark : this.options.colorLight, L.lineWidth = 0.5, L.fillStyle = P ? this.options.colorDark : this.options.colorLight, I.length === 0)
4753
+ if (L.strokeStyle = P ? this.options.colorDark : this.options.colorLight, L.lineWidth = 0.5, L.fillStyle = P ? this.options.colorDark : this.options.colorLight, x.length === 0)
4750
4754
  fe || L.fillRect(he, Ee, (fe ? 1 : U) * k, (fe ? 1 : U) * k);
4751
4755
  else {
4752
4756
  const _e = K < p - 4 && K >= p - 4 - 5 && B < p - 4 && B >= p - 4 - 5;
4753
4757
  !fe && !_e && L.fillRect(he, Ee, (fe ? 1 : U) * k, (fe ? 1 : U) * k);
4754
4758
  }
4755
4759
  }
4756
- const me = I[I.length - 1], A = this.options.colorLight;
4760
+ const me = x[x.length - 1], A = this.options.colorLight;
4757
4761
  if (L.fillStyle = A, L.fillRect(0, 0, 8 * k, 8 * k), L.fillRect(0, (p - 8) * k, 8 * k, 8 * k), L.fillRect((p - 8) * k, 0, 8 * k, 8 * k), !((l = (a = this.options.components) === null || a === void 0 ? void 0 : a.timing) === null || l === void 0) && l.protectors && (L.fillRect(8 * k, 6 * k, (p - 8 - 8) * k, k), L.fillRect(6 * k, 8 * k, k, (p - 8 - 8) * k)), !((s = (r = this.options.components) === null || r === void 0 ? void 0 : r.cornerAlignment) === null || s === void 0) && s.protectors && ae._drawAlignProtector(L, me, me, k), !((u = (i = this.options.components) === null || i === void 0 ? void 0 : i.alignment) === null || u === void 0) && u.protectors)
4758
- for (let B = 0; B < I.length; B++)
4759
- for (let K = 0; K < I.length; K++) {
4760
- const P = I[K], H = I[B];
4762
+ for (let B = 0; B < x.length; B++)
4763
+ for (let K = 0; K < x.length; K++) {
4764
+ const P = x[K], H = x[B];
4761
4765
  if (!(P === 6 && (H === 6 || H === me))) {
4762
4766
  if (H === 6 && (P === 6 || P === me))
4763
4767
  continue;
@@ -4767,15 +4771,15 @@ class ae {
4767
4771
  }
4768
4772
  }
4769
4773
  L.fillStyle = this.options.colorDark, L.fillRect(0, 0, 7 * k, k), L.fillRect((p - 7) * k, 0, 7 * k, k), L.fillRect(0, 6 * k, 7 * k, k), L.fillRect((p - 7) * k, 6 * k, 7 * k, k), L.fillRect(0, (p - 7) * k, 7 * k, k), L.fillRect(0, (p - 7 + 6) * k, 7 * k, k), L.fillRect(0, 0, k, 7 * k), L.fillRect(6 * k, 0, k, 7 * k), L.fillRect((p - 7) * k, 0, k, 7 * k), L.fillRect((p - 7 + 6) * k, 0, k, 7 * k), L.fillRect(0, (p - 7) * k, k, 7 * k), L.fillRect(6 * k, (p - 7) * k, k, 7 * k), L.fillRect(2 * k, 2 * k, 3 * k, 3 * k), L.fillRect((p - 7 + 2) * k, 2 * k, 3 * k, 3 * k), L.fillRect(2 * k, (p - 7 + 2) * k, 3 * k, 3 * k);
4770
- const R = ((d = (c = this.options.components) === null || c === void 0 ? void 0 : c.timing) === null || d === void 0 ? void 0 : d.scale) || gt, G = (1 - R) * 0.5;
4774
+ const R = ((d = (c = this.options.components) === null || c === void 0 ? void 0 : c.timing) === null || d === void 0 ? void 0 : d.scale) || gt, W = (1 - R) * 0.5;
4771
4775
  for (let B = 0; B < p - 8; B += 2)
4772
- ae._drawDot(L, 8 + B, 6, k, G, R), ae._drawDot(L, 6, 8 + B, k, G, R);
4776
+ ae._drawDot(L, 8 + B, 6, k, W, R), ae._drawDot(L, 6, 8 + B, k, W, R);
4773
4777
  const re = ((f = (b = this.options.components) === null || b === void 0 ? void 0 : b.cornerAlignment) === null || f === void 0 ? void 0 : f.scale) || gt, ke = (1 - re) * 0.5;
4774
4778
  ae._drawAlign(L, me, me, k, ke, re, this.options.colorDark, ((E = (M = this.options.components) === null || M === void 0 ? void 0 : M.cornerAlignment) === null || E === void 0 ? void 0 : E.protectors) || !1);
4775
4779
  const ie = ((h = (T = this.options.components) === null || T === void 0 ? void 0 : T.alignment) === null || h === void 0 ? void 0 : h.scale) || gt, Te = (1 - ie) * 0.5;
4776
- for (let B = 0; B < I.length; B++)
4777
- for (let K = 0; K < I.length; K++) {
4778
- const P = I[K], H = I[B];
4780
+ for (let B = 0; B < x.length; B++)
4781
+ for (let K = 0; K < x.length; K++) {
4782
+ const P = x[K], H = x[B];
4779
4783
  if (!(P === 6 && (H === 6 || H === me))) {
4780
4784
  if (H === 6 && (P === 6 || P === me))
4781
4785
  continue;
@@ -4784,14 +4788,14 @@ class ae {
4784
4788
  ae._drawAlign(L, P, H, k, Te, ie, this.options.colorDark, ((g = (y = this.options.components) === null || y === void 0 ? void 0 : y.alignment) === null || g === void 0 ? void 0 : g.protectors) || !1);
4785
4789
  }
4786
4790
  }
4787
- if (W && (L.fillStyle = this.options.backgroundColor, L.fillRect(-x, -x, O, x), L.fillRect(-x, ne, O, x), L.fillRect(ne, -x, x, O), L.fillRect(-x, -x, x, O)), this.options.logoImage) {
4791
+ if (j && (L.fillStyle = this.options.backgroundColor, L.fillRect(-I, -I, O, I), L.fillRect(-I, ne, O, I), L.fillRect(ne, -I, I, O), L.fillRect(-I, -I, I, O)), this.options.logoImage) {
4788
4792
  const B = yield Co(this.options.logoImage);
4789
4793
  let K = this.options.logoScale, P = this.options.logoMargin, H = this.options.logoCornerRadius;
4790
4794
  (K <= 0 || K >= 1) && (K = 0.2), P < 0 && (P = 0), H < 0 && (H = 0);
4791
4795
  const de = ne * K, fe = 0.5 * (O - de), he = fe;
4792
4796
  L.restore(), L.fillStyle = this.options.logoBackgroundColor, L.save(), ae._prepareRoundedCornerClip(L, fe - P, he - P, de + 2 * P, de + 2 * P, H + P), L.clip();
4793
4797
  const Ee = L.globalCompositeOperation;
4794
- L.globalCompositeOperation = "destination-out", L.fill(), L.globalCompositeOperation = Ee, L.restore(), L.save(), ae._prepareRoundedCornerClip(L, fe, he, de, de, H), L.clip(), L.drawImage(B, fe, he, de, de), L.restore(), L.save(), L.translate(x, x);
4798
+ L.globalCompositeOperation = "destination-out", L.fill(), L.globalCompositeOperation = Ee, L.restore(), L.save(), ae._prepareRoundedCornerClip(L, fe, he, de, de, H), L.clip(), L.drawImage(B, fe, he, de, de), L.restore(), L.save(), L.translate(I, I);
4795
4799
  }
4796
4800
  if (Ce) {
4797
4801
  let B, K, P, H, de, fe;
@@ -4811,7 +4815,7 @@ class ae {
4811
4815
  }
4812
4816
  return Promise.resolve(Buffer.from(B.stream().toFlattenUint8Array()));
4813
4817
  } else {
4814
- ue.drawImage(oe.getContext("2d").canvas, 0, 0, O, O), L.drawImage(Ae.getContext("2d").canvas, -x, -x, O, O);
4818
+ ue.drawImage(oe.getContext("2d").canvas, 0, 0, O, O), L.drawImage(Ae.getContext("2d").canvas, -I, -I, O, O);
4815
4819
  const B = new Ue(C, C);
4816
4820
  B.getContext("2d").drawImage(oe.getContext("2d").canvas, 0, 0, C, C), this.canvas = B;
4817
4821
  const P = this.options.gifBackground ? "gif" : "png";
@@ -4864,7 +4868,7 @@ function To(e) {
4864
4868
  return typeof e == "object" && e.nodeType === 1 && typeof e.style == "object" && typeof e.ownerDocument == "object";
4865
4869
  }
4866
4870
  }
4867
- const ml = {
4871
+ const fl = {
4868
4872
  props: {
4869
4873
  text: {
4870
4874
  type: String,
@@ -5004,7 +5008,7 @@ const ml = {
5004
5008
  methods: {
5005
5009
  async main() {
5006
5010
  if (this.gifBgSrc) {
5007
- const o = await da(this.gifBgSrc), n = this.logoSrc;
5011
+ const o = await ma(this.gifBgSrc), n = this.logoSrc;
5008
5012
  this.render(void 0, n, o);
5009
5013
  return;
5010
5014
  }
@@ -5040,15 +5044,15 @@ const ml = {
5040
5044
  });
5041
5045
  }
5042
5046
  }
5043
- }, fl = ["src"];
5044
- function hl(e, t, o, n, a, l) {
5047
+ }, hl = ["src"];
5048
+ function pl(e, t, o, n, a, l) {
5045
5049
  return o.bindElement ? (v(), q("img", {
5046
5050
  key: 0,
5047
5051
  style: { display: "inline-block" },
5048
5052
  src: a.imgUrl
5049
- }, null, 8, fl)) : j("", !0);
5053
+ }, null, 8, hl)) : G("", !0);
5050
5054
  }
5051
- const pl = /* @__PURE__ */ Vt(ml, [["render", hl]]), gl = ["innerHTML"], vl = { style: { "text-align": "center" } }, bl = { class: "ImageViewer" }, yl = { class: "ImageViewer__image" }, wl = ["onClick"], kl = /* @__PURE__ */ ee({
5055
+ const gl = /* @__PURE__ */ Vt(fl, [["render", pl]]), vl = ["innerHTML"], bl = { style: { "text-align": "center" } }, yl = { class: "ImageViewer" }, wl = { class: "ImageViewer__image" }, kl = ["onClick"], Cl = /* @__PURE__ */ ee({
5052
5056
  __name: "index",
5053
5057
  props: {
5054
5058
  viewName: null,
@@ -5068,7 +5072,7 @@ const pl = /* @__PURE__ */ Vt(ml, [["render", hl]]), gl = ["innerHTML"], vl = {
5068
5072
  return (h = (T = o.board) == null ? void 0 : T.tableData) == null ? void 0 : h.keyName;
5069
5073
  }), r = F(() => {
5070
5074
  var T;
5071
- return Qn((T = o.board) == null ? void 0 : T.columns);
5075
+ return Jn((T = o.board) == null ? void 0 : T.columns);
5072
5076
  }), s = z([]);
5073
5077
  function i(T) {
5074
5078
  s.value = T, t("return-selected-key", s.value);
@@ -5087,7 +5091,7 @@ const pl = /* @__PURE__ */ Vt(ml, [["render", hl]]), gl = ["innerHTML"], vl = {
5087
5091
  }
5088
5092
  function d(T, h) {
5089
5093
  var y;
5090
- if (!Ne(T.enums)) {
5094
+ if (!xe(T.enums)) {
5091
5095
  let g = T.enums.filter((p) => {
5092
5096
  if (h[T.keyName] == null && (h[T.keyName] = ""), p.value == String(h[T.keyName]))
5093
5097
  return p.text;
@@ -5127,7 +5131,7 @@ const pl = /* @__PURE__ */ Vt(ml, [["render", hl]]), gl = ["innerHTML"], vl = {
5127
5131
  { deep: !0 }
5128
5132
  ), (T, h) => {
5129
5133
  const y = D("t-button"), g = D("t-popup"), p = D("t-icon"), C = D("t-image"), _ = D("t-image-viewer");
5130
- return m(a) ? j("", !0) : (v(), S(m(Fo), {
5134
+ return m(a) ? G("", !0) : (v(), S(m(Fo), {
5131
5135
  key: 0,
5132
5136
  commonTableProps: {
5133
5137
  data: e.tableData,
@@ -5138,26 +5142,26 @@ const pl = /* @__PURE__ */ Vt(ml, [["render", hl]]), gl = ["innerHTML"], vl = {
5138
5142
  onSelectChange: i
5139
5143
  }
5140
5144
  }, {
5141
- TEXT: w(({ col: x, row: N }) => [
5142
- J(ge(c(x, N)), 1)
5145
+ TEXT: w(({ col: I, row: N }) => [
5146
+ J(ge(c(I, N)), 1)
5143
5147
  ]),
5144
- ENUMS: w(({ col: x, row: N }) => [
5148
+ ENUMS: w(({ col: I, row: N }) => [
5145
5149
  Z("span", {
5146
- innerHTML: d(x, N)
5147
- }, null, 8, gl)
5150
+ innerHTML: d(I, N)
5151
+ }, null, 8, vl)
5148
5152
  ]),
5149
- DATE: w(({ col: x, row: N }) => [
5150
- J(ge(b(x, N)), 1)
5153
+ DATE: w(({ col: I, row: N }) => [
5154
+ J(ge(b(I, N)), 1)
5151
5155
  ]),
5152
- QR_CODE: w(({ col: x, row: N }) => [
5156
+ QR_CODE: w(({ col: I, row: N }) => [
5153
5157
  V(g, null, {
5154
5158
  content: w(() => [
5155
- V(pl, {
5156
- text: c(x, N),
5159
+ V(gl, {
5160
+ text: c(I, N),
5157
5161
  size: 80,
5158
5162
  margin: 0
5159
5163
  }, null, 8, ["text"]),
5160
- Z("div", vl, ge(N.code), 1)
5164
+ Z("div", bl, ge(N.code), 1)
5161
5165
  ]),
5162
5166
  default: w(() => [
5163
5167
  V(y, {
@@ -5173,29 +5177,29 @@ const pl = /* @__PURE__ */ Vt(ml, [["render", hl]]), gl = ["innerHTML"], vl = {
5173
5177
  _: 2
5174
5178
  }, 1024)
5175
5179
  ]),
5176
- FORM_ITEM: w(({ col: x, row: N }) => [
5177
- V(ca, {
5180
+ FORM_ITEM: w(({ col: I, row: N }) => [
5181
+ V(da, {
5178
5182
  viewName: e.viewName,
5179
- col: x,
5183
+ col: I,
5180
5184
  row: N,
5181
5185
  onBlur: E
5182
5186
  }, null, 8, ["viewName", "col", "row"])
5183
5187
  ]),
5184
- IMAGE: w(({ col: x, row: N }) => [
5185
- Z("div", bl, [
5188
+ IMAGE: w(({ col: I, row: N }) => [
5189
+ Z("div", yl, [
5186
5190
  V(_, {
5187
- images: [c(x, N)]
5191
+ images: [c(I, N)]
5188
5192
  }, {
5189
- trigger: w(({ open: W }) => [
5190
- Z("div", yl, [
5193
+ trigger: w(({ open: j }) => [
5194
+ Z("div", wl, [
5191
5195
  V(C, {
5192
5196
  class: "ImageViewer__image--img",
5193
- src: c(x, N),
5197
+ src: c(I, N),
5194
5198
  shape: "round",
5195
5199
  fit: "scale-down"
5196
5200
  }, {
5197
5201
  error: w(() => [
5198
- x.name == "头像" ? (v(), S(p, {
5202
+ I.name == "头像" ? (v(), S(p, {
5199
5203
  key: 0,
5200
5204
  name: "user"
5201
5205
  })) : (v(), S(p, {
@@ -5204,7 +5208,7 @@ const pl = /* @__PURE__ */ Vt(ml, [["render", hl]]), gl = ["innerHTML"], vl = {
5204
5208
  }))
5205
5209
  ]),
5206
5210
  loading: w(() => [
5207
- x.name == "头像" ? (v(), S(p, {
5211
+ I.name == "头像" ? (v(), S(p, {
5208
5212
  key: 0,
5209
5213
  name: "user"
5210
5214
  })) : (v(), S(p, {
@@ -5217,7 +5221,7 @@ const pl = /* @__PURE__ */ Vt(ml, [["render", hl]]), gl = ["innerHTML"], vl = {
5217
5221
  }, 1032, ["src"]),
5218
5222
  Z("div", {
5219
5223
  class: "ImageViewer__hover",
5220
- onClick: W
5224
+ onClick: j
5221
5225
  }, [
5222
5226
  Z("span", null, [
5223
5227
  V(p, {
@@ -5226,22 +5230,22 @@ const pl = /* @__PURE__ */ Vt(ml, [["render", hl]]), gl = ["innerHTML"], vl = {
5226
5230
  }),
5227
5231
  J(" 预览")
5228
5232
  ])
5229
- ], 8, wl)
5233
+ ], 8, kl)
5230
5234
  ])
5231
5235
  ]),
5232
5236
  _: 2
5233
5237
  }, 1032, ["images"])
5234
5238
  ])
5235
5239
  ]),
5236
- BUTTONS: w(({ col: x, row: N }) => [
5237
- (v(!0), q(ve, null, ye(f(x.buttons, N), (W) => (v(), S(y, {
5240
+ BUTTONS: w(({ col: I, row: N }) => [
5241
+ (v(!0), q(ve, null, ye(f(I.buttons, N), (j) => (v(), S(y, {
5238
5242
  theme: "primary",
5239
5243
  variant: "text",
5240
- key: W.buttonId,
5241
- onClick: (te) => M(W, N)
5244
+ key: j.buttonId,
5245
+ onClick: (te) => M(j, N)
5242
5246
  }, {
5243
5247
  default: w(() => [
5244
- J(ge(W.name), 1)
5248
+ J(ge(j.name), 1)
5245
5249
  ]),
5246
5250
  _: 2
5247
5251
  }, 1032, ["onClick"]))), 128))
@@ -5251,7 +5255,7 @@ const pl = /* @__PURE__ */ Vt(ml, [["render", hl]]), gl = ["innerHTML"], vl = {
5251
5255
  };
5252
5256
  }
5253
5257
  });
5254
- const Cl = /* @__PURE__ */ Vt(kl, [["__scopeId", "data-v-78e0f314"]]), Tl = /* @__PURE__ */ ee({
5258
+ const Tl = /* @__PURE__ */ Vt(Cl, [["__scopeId", "data-v-78e0f314"]]), _l = /* @__PURE__ */ ee({
5255
5259
  __name: "index",
5256
5260
  props: {
5257
5261
  viewName: null,
@@ -5291,7 +5295,7 @@ const Cl = /* @__PURE__ */ Vt(kl, [["__scopeId", "data-v-78e0f314"]]), Tl = /* @
5291
5295
  viewName: e.viewName,
5292
5296
  board: f.board,
5293
5297
  onCloseDialog: l
5294
- }, null, 8, ["viewName", "board"])) : j("", !0)
5298
+ }, null, 8, ["viewName", "board"])) : G("", !0)
5295
5299
  ]),
5296
5300
  _: 2
5297
5301
  }, 1024)
@@ -5304,7 +5308,7 @@ const Cl = /* @__PURE__ */ Vt(kl, [["__scopeId", "data-v-78e0f314"]]), Tl = /* @
5304
5308
  };
5305
5309
  }
5306
5310
  });
5307
- const _l = /* @__PURE__ */ ee({
5311
+ const Il = /* @__PURE__ */ ee({
5308
5312
  __name: "index",
5309
5313
  props: {
5310
5314
  isDialogVisible: { type: Boolean, default: !1 },
@@ -5315,7 +5319,7 @@ const _l = /* @__PURE__ */ ee({
5315
5319
  },
5316
5320
  emits: ["update:isDialogVisible", "close-dialog"],
5317
5321
  setup(e, { emit: t }) {
5318
- const o = e, n = cn(() => import("./index-8a9aa0e9.mjs")), a = Zt(), l = F(() => o.dialogViewInfo.view), r = F(() => o.dialogViewInfo.name), s = F(() => {
5322
+ const o = e, n = cn(() => import("./index-d9dbde91.mjs")), a = Zt(), l = F(() => o.dialogViewInfo.view), r = F(() => o.dialogViewInfo.name), s = F(() => {
5319
5323
  var b;
5320
5324
  switch ((b = i.value) == null ? void 0 : b.boardType) {
5321
5325
  case "table":
@@ -5366,31 +5370,35 @@ const _l = /* @__PURE__ */ ee({
5366
5370
  const o = e, n = ut(), a = tt(), l = Xt(), r = Zt();
5367
5371
  zo();
5368
5372
  const s = F(() => {
5369
- var I;
5370
- return (I = o.board) == null ? void 0 : I.boardType;
5373
+ var x;
5374
+ return (x = o.board) == null ? void 0 : x.boardType;
5371
5375
  }), i = F(() => {
5372
- var I, U, le;
5373
- return (I = o.board) != null && I.data ? (U = o.board) == null ? void 0 : U.data.dataId : (le = o.board) != null && le.tableData ? o.board.tableData.dataId : null;
5376
+ var x, U, le;
5377
+ return (x = o.board) != null && x.data ? (U = o.board) == null ? void 0 : U.data.dataId : (le = o.board) != null && le.tableData ? o.board.tableData.dataId : null;
5374
5378
  }), u = z([]), c = z({}), d = F(() => {
5375
- var I;
5376
- return (I = o.board) == null ? void 0 : I.header;
5379
+ var x;
5380
+ return (x = o.board) == null ? void 0 : x.header;
5377
5381
  }), b = z({}), f = F(() => {
5378
- var I, U;
5379
- return Ne((I = a.query) == null ? void 0 : I.props) ? {} : JSON.parse((U = a.query) == null ? void 0 : U.props);
5382
+ if (xe(a.query))
5383
+ return {};
5384
+ {
5385
+ const { viewName: x, ...U } = a.query;
5386
+ return U;
5387
+ }
5380
5388
  }), M = z({
5381
5389
  count: 10,
5382
5390
  page: 0,
5383
5391
  totalCount: 0,
5384
5392
  pageCount: 0
5385
5393
  }), E = F(() => {
5386
- var I;
5394
+ var x;
5387
5395
  {
5388
5396
  let U = {};
5389
- return d.value && b.value && Object.assign(U, b.value), o.dialogProps && ((I = Object.keys(o.dialogProps)) != null && I.length) && Object.assign(U, o.dialogProps), s.value === "table" && Object.assign(U, M.value), Object.assign(U, f.value), U;
5397
+ return d.value && b.value && Object.assign(U, b.value), o.dialogProps && ((x = Object.keys(o.dialogProps)) != null && x.length) && Object.assign(U, o.dialogProps), s.value === "table" && Object.assign(U, M.value), Object.assign(U, f.value), U;
5390
5398
  }
5391
5399
  });
5392
5400
  async function T() {
5393
- var I;
5401
+ var x;
5394
5402
  try {
5395
5403
  if (!wt(i.value) && !wt(o.viewName)) {
5396
5404
  const U = await Mt({
@@ -5404,7 +5412,7 @@ const _l = /* @__PURE__ */ ee({
5404
5412
  page: U.data.page,
5405
5413
  pageCount: U.data.pageCount,
5406
5414
  totalCount: U.data.totalCount
5407
- }, u.value = (I = U.data) == null ? void 0 : I.data), s.value == "form" && (c.value = U.data);
5415
+ }, u.value = (x = U.data) == null ? void 0 : x.data), s.value == "form" && (c.value = U.data);
5408
5416
  else
5409
5417
  throw U;
5410
5418
  }
@@ -5413,9 +5421,9 @@ const _l = /* @__PURE__ */ ee({
5413
5421
  }
5414
5422
  }
5415
5423
  et(() => {
5416
- T(), window.addEventListener("onUpdateMessage", (I) => {
5424
+ T(), window.addEventListener("onUpdateMessage", (x) => {
5417
5425
  var le;
5418
- const U = (le = I == null ? void 0 : I.detail) == null ? void 0 : le.args.dataId;
5426
+ const U = (le = x == null ? void 0 : x.detail) == null ? void 0 : le.args.dataId;
5419
5427
  i.value === U && T();
5420
5428
  });
5421
5429
  }), we(
@@ -5428,52 +5436,52 @@ const _l = /* @__PURE__ */ ee({
5428
5436
  }
5429
5437
  );
5430
5438
  const h = z(!1), y = z(!1), g = z({}), p = z({}), C = z(), _ = z();
5431
- async function x(I, U = {}) {
5432
- if ((I ?? "") != "") {
5433
- U.viewName = I;
5439
+ async function I(x, U = {}) {
5440
+ if ((x ?? "") != "") {
5441
+ U.viewName = x;
5434
5442
  const le = await Do(U);
5435
5443
  le.state === 200 && (C.value = le.data.boards[0], _.value = le.data.props);
5436
5444
  }
5437
5445
  }
5438
- async function N(I) {
5439
- h.value = I;
5446
+ async function N(x) {
5447
+ h.value = x;
5440
5448
  }
5441
- async function W(I, U = {}) {
5449
+ async function j(x, U = {}) {
5442
5450
  var le, me;
5443
- switch (I.action) {
5451
+ switch (x.action) {
5444
5452
  case "VIEW_BY_DIALOG": {
5445
- g.value = I, p.value = { ...U }, r.initPropsSource(U), await x(I.view), await N(!0), y.value = !0;
5453
+ g.value = x, p.value = { ...U }, r.initPropsSource(U), await I(x.view), await N(!0), y.value = !0;
5446
5454
  break;
5447
5455
  }
5448
5456
  case "VIEW": {
5449
5457
  let A = {};
5450
- (le = I == null ? void 0 : I.props) == null || le.forEach((R) => {
5458
+ (le = x == null ? void 0 : x.props) == null || le.forEach((R) => {
5451
5459
  R.keyName && (U[R.keyName] ?? "") != "" && (A[R.keyName] = U[R.keyName]);
5452
5460
  }), n.push({
5453
5461
  path: "/view",
5454
5462
  query: {
5455
- viewName: I.view,
5456
- props: JSON.stringify(A)
5463
+ viewName: x.view,
5464
+ ...A
5457
5465
  }
5458
5466
  });
5459
5467
  break;
5460
5468
  }
5461
5469
  case "CONFIRM": {
5462
5470
  let A;
5463
- I.confirmMessage != "" ? A = $e.render(I.confirmMessage, { item: U }) : A = `是否确定${I.name}`;
5471
+ x.confirmMessage != "" ? A = $e.render(x.confirmMessage, { item: U }) : A = `是否确定${x.name}`;
5464
5472
  let R = {};
5465
- I.props ? I.props.forEach((re) => {
5473
+ x.props ? x.props.forEach((re) => {
5466
5474
  re.keyName && (U[re.keyName] ?? "") != "" && (R[re.keyName] = U[re.keyName]);
5467
5475
  }) : R = { ...U };
5468
- const G = vt.confirm({
5476
+ const W = vt.confirm({
5469
5477
  theme: "info",
5470
- header: I.name,
5478
+ header: x.name,
5471
5479
  body: A,
5472
5480
  onConfirm: () => {
5473
- I.buttonId && oe(R, I.buttonId), G.destroy();
5481
+ x.buttonId && oe(R, x.buttonId), W.destroy();
5474
5482
  },
5475
5483
  onCancel: () => {
5476
- Y.info(`已取消${I.name}`);
5484
+ Y.info(`已取消${x.name}`);
5477
5485
  }
5478
5486
  });
5479
5487
  break;
@@ -5481,46 +5489,46 @@ const _l = /* @__PURE__ */ ee({
5481
5489
  case "BATCH": {
5482
5490
  const A = vt.confirm({
5483
5491
  theme: "info",
5484
- header: I.name,
5485
- body: `此操作将${I.name},是否继续`,
5492
+ header: x.name,
5493
+ body: `此操作将${x.name},是否继续`,
5486
5494
  onConfirm: () => {
5487
- k.value.length == 0 ? Y.error("请选择批量操作对象!") : Ae(I, k.value), A.destroy();
5495
+ k.value.length == 0 ? Y.error("请选择批量操作对象!") : Ae(x, k.value), A.destroy();
5488
5496
  },
5489
5497
  onCancel: () => {
5490
- Y.info(`已取消${I.name}`);
5498
+ Y.info(`已取消${x.name}`);
5491
5499
  }
5492
5500
  });
5493
5501
  break;
5494
5502
  }
5495
5503
  case "LINK": {
5496
5504
  let A = {};
5497
- (me = I == null ? void 0 : I.props) == null || me.forEach((G) => {
5498
- G.keyName && (U[G.keyName] ?? "") != "" && (A[G.keyName] = U[G.keyName]);
5499
- });
5500
- const R = n.resolve({
5501
- path: I.link,
5502
- query: Object.keys(A).length ? { props: JSON.stringify(A) } : void 0
5505
+ (me = x == null ? void 0 : x.props) == null || me.forEach((R) => {
5506
+ R.keyName && (U[R.keyName] ?? "") != "" && (A[R.keyName] = U[R.keyName]);
5507
+ }), console.log(A), n.push({
5508
+ path: x.link,
5509
+ query: {
5510
+ ...A
5511
+ }
5503
5512
  });
5504
- window.open(R.href, "_blank");
5505
5513
  break;
5506
5514
  }
5507
5515
  case "DOWNLOAD": {
5508
- if ((I.downloadUrl ?? "") != "") {
5509
- const A = pn.decode($e.render(I.downloadUrl, { item: U }));
5516
+ if ((x.downloadUrl ?? "") != "") {
5517
+ const A = gn.decode($e.render(x.downloadUrl, { item: U }));
5510
5518
  if ((A ?? "") != "") {
5511
- const R = A.split("/").slice(-1)[0], G = document.createElement("a");
5512
- G.style.display = "none", G.setAttribute("target", "_blank"), R && G.setAttribute("download", R), G.setAttribute("href", A), G.click(), Y.info("即将开始下载");
5519
+ const R = A.split("/").slice(-1)[0], W = document.createElement("a");
5520
+ W.style.display = "none", W.setAttribute("target", "_blank"), R && W.setAttribute("download", R), W.setAttribute("href", A), W.click(), Y.info("即将开始下载");
5513
5521
  } else
5514
5522
  Y.info("未设置下载链接");
5515
5523
  }
5516
5524
  break;
5517
5525
  }
5518
5526
  default:
5519
- console.log(I);
5527
+ console.log(x);
5520
5528
  }
5521
5529
  }
5522
- function te(I) {
5523
- b.value = I, M.value = {
5530
+ function te(x) {
5531
+ b.value = x, M.value = {
5524
5532
  count: 10,
5525
5533
  page: 0,
5526
5534
  totalCount: 0,
@@ -5528,73 +5536,73 @@ const _l = /* @__PURE__ */ ee({
5528
5536
  }, T();
5529
5537
  }
5530
5538
  const k = z([]);
5531
- function ne(I) {
5532
- k.value = I;
5539
+ function ne(x) {
5540
+ k.value = x;
5533
5541
  }
5534
- function O(I) {
5542
+ function O(x) {
5535
5543
  Object.assign(M.value, {
5536
- page: I.current - 1,
5537
- count: I.pageSize
5544
+ page: x.current - 1,
5545
+ count: x.pageSize
5538
5546
  }), T();
5539
5547
  }
5540
- async function oe(I, U) {
5548
+ async function oe(x, U) {
5541
5549
  let le = {};
5542
- Object.keys(E.value).length && Object.assign(le, E.value), Object.assign(le, I);
5543
- const me = await Wn({
5550
+ Object.keys(E.value).length && Object.assign(le, E.value), Object.assign(le, x);
5551
+ const me = await Hn({
5544
5552
  buttonId: U,
5545
5553
  props: le,
5546
5554
  viewName: o.viewName
5547
5555
  });
5548
5556
  me.state === 200 ? Y.success("提交成功") : Y.error(`提交失败:${me.message}`);
5549
5557
  }
5550
- function L(I, U) {
5551
- if (I.itemType == "selector" || I.itemType == "time_selector" || I.itemType == "date_time_selector" || I.itemType == "tree_check_box" || I.itemType === "multi_tree_selector" || I.itemType === "tree_selector") {
5558
+ function L(x, U) {
5559
+ if (x.itemType == "selector" || x.itemType == "time_selector" || x.itemType == "date_time_selector" || x.itemType == "tree_check_box" || x.itemType === "multi_tree_selector" || x.itemType === "tree_selector") {
5552
5560
  const le = vt.confirm({
5553
5561
  theme: "info",
5554
5562
  body: "此操作将提交该修改,是否继续?",
5555
5563
  onConfirm: () => {
5556
- oe(U, I.buttonId), le.destroy();
5564
+ oe(U, x.buttonId), le.destroy();
5557
5565
  },
5558
5566
  onCancel: () => {
5559
5567
  Y.info("已取消修改。");
5560
5568
  }
5561
5569
  });
5562
5570
  } else
5563
- oe(U, I.buttonId);
5571
+ oe(U, x.buttonId);
5564
5572
  }
5565
- async function Ae(I, U) {
5573
+ async function Ae(x, U) {
5566
5574
  let le = {};
5567
5575
  Object.keys(E.value).length && Object.assign(le, E.value);
5568
- const me = await Hn({
5576
+ const me = await qn({
5569
5577
  viewName: o.viewName,
5570
- buttonId: I.buttonId,
5578
+ buttonId: x.buttonId,
5571
5579
  props: le,
5572
5580
  keys: U
5573
5581
  });
5574
- me.state == 200 ? Y.success(`${I.name} 操作成功!`) : Y.error(`提交出错:${me.message}`);
5582
+ me.state == 200 ? Y.success(`${x.name} 操作成功!`) : Y.error(`提交出错:${me.message}`);
5575
5583
  }
5576
5584
  function ue() {
5577
5585
  y.value = !1, setTimeout(() => {
5578
5586
  N(!1);
5579
5587
  });
5580
5588
  }
5581
- function Ce(I, U) {
5582
- oe(I, U), Ve();
5589
+ function Ce(x, U) {
5590
+ oe(x, U), Ve();
5583
5591
  }
5584
5592
  function Ve() {
5585
5593
  t("close-dialog");
5586
5594
  }
5587
- return (I, U) => (v(), q("div", {
5595
+ return (x, U) => (v(), q("div", {
5588
5596
  class: $(`${m(X)}__board`)
5589
5597
  }, [
5590
- m(d) ? (v(), S(aa, {
5598
+ m(d) ? (v(), S(la, {
5591
5599
  key: 0,
5592
5600
  viewName: e.viewName,
5593
5601
  headerInfo: m(d),
5594
- onHeaderButtonAction: W,
5602
+ onHeaderButtonAction: j,
5595
5603
  onHeaderFilterChange: te
5596
- }, null, 8, ["viewName", "headerInfo"])) : j("", !0),
5597
- m(s) === "form" ? (v(), S(ua, {
5604
+ }, null, 8, ["viewName", "headerInfo"])) : G("", !0),
5605
+ m(s) === "form" ? (v(), S(ca, {
5598
5606
  key: 1,
5599
5607
  viewName: e.viewName,
5600
5608
  board: e.board,
@@ -5602,24 +5610,24 @@ const _l = /* @__PURE__ */ ee({
5602
5610
  onConfirmForm: oe,
5603
5611
  onConfirmAndClose: Ce,
5604
5612
  onCloseDialog: Ve
5605
- }, null, 8, ["viewName", "board", "formData"])) : j("", !0),
5606
- m(s) === "table" ? (v(), S(Cl, {
5613
+ }, null, 8, ["viewName", "board", "formData"])) : G("", !0),
5614
+ m(s) === "table" ? (v(), S(Tl, {
5607
5615
  key: 2,
5608
5616
  viewName: e.viewName,
5609
5617
  board: e.board,
5610
5618
  tableData: u.value,
5611
5619
  paginationProps: M.value,
5612
- onTableButtonAction: W,
5620
+ onTableButtonAction: j,
5613
5621
  onTableFormConfirm: L,
5614
5622
  onReturnSelectedKey: ne,
5615
5623
  onReturnPaginationProps: O
5616
- }, null, 8, ["viewName", "board", "tableData", "paginationProps"])) : j("", !0),
5617
- m(s) === "tab" ? (v(), S(Tl, {
5624
+ }, null, 8, ["viewName", "board", "tableData", "paginationProps"])) : G("", !0),
5625
+ m(s) === "tab" ? (v(), S(_l, {
5618
5626
  key: 3,
5619
5627
  viewName: e.viewName,
5620
5628
  board: e.board
5621
- }, null, 8, ["viewName", "board"])) : j("", !0),
5622
- h.value ? (v(), S(_l, {
5629
+ }, null, 8, ["viewName", "board"])) : G("", !0),
5630
+ h.value ? (v(), S(Il, {
5623
5631
  key: 4,
5624
5632
  ref: "dialogRef",
5625
5633
  isDialogVisible: y.value,
@@ -5632,10 +5640,10 @@ const _l = /* @__PURE__ */ ee({
5632
5640
  dialogViewBoard: C.value,
5633
5641
  dialogViewProps: _.value,
5634
5642
  onCloseDialog: ue
5635
- }, null, 8, ["isDialogVisible", "dialogViewInfo", "dialogFormModel", "dialogViewBoard", "dialogViewProps"])) : j("", !0)
5643
+ }, null, 8, ["isDialogVisible", "dialogViewInfo", "dialogFormModel", "dialogViewBoard", "dialogViewProps"])) : G("", !0)
5636
5644
  ], 2));
5637
5645
  }
5638
- }), Il = /* @__PURE__ */ ee({
5646
+ }), xl = /* @__PURE__ */ ee({
5639
5647
  __name: "index",
5640
5648
  props: {
5641
5649
  config: null
@@ -5650,13 +5658,17 @@ const _l = /* @__PURE__ */ ee({
5650
5658
  });
5651
5659
  });
5652
5660
  const c = F(() => n.query.viewName), d = F(() => {
5653
- var E, T;
5654
- return ((E = n.query) == null ? void 0 : E.props) && JSON.parse((T = n.query) == null ? void 0 : T.props);
5661
+ if (xe(n.query))
5662
+ return {};
5663
+ {
5664
+ const { viewName: E, ...T } = n.query;
5665
+ return T;
5666
+ }
5655
5667
  }), b = z();
5656
5668
  we(
5657
5669
  c,
5658
5670
  async () => {
5659
- Ne(c.value) || await f(c.value);
5671
+ xe(c.value) || await f(c.value);
5660
5672
  },
5661
5673
  {
5662
5674
  deep: !0,
@@ -5665,7 +5677,7 @@ const _l = /* @__PURE__ */ ee({
5665
5677
  );
5666
5678
  async function f(E, T = {}) {
5667
5679
  var h;
5668
- T.viewName = E, Ne(d.value) && Object.assign(T, d.value);
5680
+ T.viewName = E, xe(d.value) && Object.assign(T, d.value);
5669
5681
  try {
5670
5682
  const y = await Do(T);
5671
5683
  if (y.state === 200 && y.data) {
@@ -5704,13 +5716,13 @@ const _l = /* @__PURE__ */ ee({
5704
5716
  }),
5705
5717
  _: 2
5706
5718
  }, 1024);
5707
- }), 128)) : j("", !0)
5719
+ }), 128)) : G("", !0)
5708
5720
  ];
5709
5721
  }),
5710
5722
  _: 1
5711
5723
  }, 8, ["title"]));
5712
5724
  }
5713
- }), xl = Qe(Ao), Nl = /* @__PURE__ */ ee({
5725
+ }), Nl = Qe(Ao), Sl = /* @__PURE__ */ ee({
5714
5726
  __name: "GLoginTitle",
5715
5727
  props: {
5716
5728
  title: { default: "公信会务管理系统" },
@@ -5729,14 +5741,14 @@ const _l = /* @__PURE__ */ ee({
5729
5741
  ], 2));
5730
5742
  }
5731
5743
  });
5732
- const Sl = /* @__PURE__ */ Z("span", null, [
5744
+ const Vl = /* @__PURE__ */ Z("span", null, [
5733
5745
  /* @__PURE__ */ J("登录即代表同意 "),
5734
5746
  /* @__PURE__ */ Z("a", { href: "#" }, "服务条款"),
5735
5747
  /* @__PURE__ */ J(" 或 "),
5736
5748
  /* @__PURE__ */ Z("a", { href: "#" }, "隐私协议")
5737
- ], -1), Vl = [
5738
- Sl
5739
- ], Ml = /* @__PURE__ */ ee({
5749
+ ], -1), Ml = [
5750
+ Vl
5751
+ ], Pl = /* @__PURE__ */ ee({
5740
5752
  __name: "GLoginForm",
5741
5753
  setup(e) {
5742
5754
  return (t, o) => (v(), q("div", {
@@ -5745,25 +5757,25 @@ const Sl = /* @__PURE__ */ Z("span", null, [
5745
5757
  Be(t.$slots, "tabs"),
5746
5758
  Z("div", {
5747
5759
  class: $(`${m(X)}__login-form--footer`)
5748
- }, Vl, 2)
5760
+ }, Ml, 2)
5749
5761
  ], 2));
5750
5762
  }
5751
5763
  });
5752
- const Pl = {
5764
+ const Al = {
5753
5765
  xmlns: "http://www.w3.org/2000/svg",
5754
5766
  class: "design-iconfont",
5755
5767
  viewBox: "0 0 180.202 22"
5756
- }, Al = /* @__PURE__ */ Z("path", {
5768
+ }, El = /* @__PURE__ */ Z("path", {
5757
5769
  fill: "#bcc4d0",
5758
5770
  "fill-rule": "evenodd",
5759
5771
  d: "M13.45 8.967h15L27.1 19.5a2.811 2.811 0 0 1-3.1 2.45H12.9a31.656 31.656 0 0 1-5.6-.441 7.739 7.739 0 0 1-3.55-1.323A7.51 7.51 0 0 1 0 13.473v-.539c.1-.588.1-1.225.2-1.911a12.094 12.094 0 0 1 3.35-6.958A11.4 11.4 0 0 1 8.6 1.027a27.948 27.948 0 0 1 7.7-.98h14.9l-2.95 3.92h-11.8a12.7 12.7 0 0 0-6.1 1.225c-1.6 1.029-2.55 2.891-2.95 5.39a11.31 11.31 0 0 0 0 3.675 4.84 4.84 0 0 0 1.25 2.352 4.144 4.144 0 0 0 2.3 1.029 15.954 15.954 0 0 0 3.75.343h5.85l.8-5.194h-8.6l.7-3.822ZM150.2 5.929l-1.85 16.022h-6.5l3-21.8h8.35l9.75 16.267 2.4-16.267h6.2l-.45 2.793-2.15 14.9a5.8 5.8 0 0 1-1.4 3.038 4.3 4.3 0 0 1-2.85 1.127h-4.45L150.2 5.929Zm-21 15.973 3.1-21.8h7.1l-3.2 21.8Zm-33.2 0 2.85-3.92H112a17.536 17.536 0 0 0 4.55-.441 3.1 3.1 0 0 0 1.95-2.107 2.186 2.186 0 0 0-1.6-2.352 10.5 10.5 0 0 0-3.35-.343h-5.7c-3.45 0-5.85-.539-7.3-1.372A5.619 5.619 0 0 1 98.6 9.26a4.838 4.838 0 0 1-.35-2.793 6.518 6.518 0 0 1 2.5-4.165c1.4-1.225 3.45-1.911 6.2-2.156.9 0 2.3-.1 4.1-.1h15.2l-3.1 3.92h-11.2a33.184 33.184 0 0 0-4.1.2 2.594 2.594 0 0 0-2.4 2.156 1.815 1.815 0 0 0 1.4 2.156 13.828 13.828 0 0 0 3.8.343h4.9a29.965 29.965 0 0 1 5.6.441c2.05.539 3.45 1.47 4.1 2.793a6.36 6.36 0 0 1 .45 3.381 6.908 6.908 0 0 1-1.75 3.577 8.952 8.952 0 0 1-5.75 2.6 37.2 37.2 0 0 1-5.3.245H96ZM73.25 5.929l-2.3 16.022h-6.2l3.2-21.8h8.35l9.75 16.267L88.45.151h6.2l-3.2 21.8h-8L73.25 5.929ZM46.9 22h-1.15a24.513 24.513 0 0 1-8.8-1.372 7.9 7.9 0 0 1-4.45-3.577 9.279 9.279 0 0 1-.8-5.929c.6-4.165 2.5-7.154 5.7-8.869C39.7.881 42.9.146 46.9-.001h1.6a27.03 27.03 0 0 1 7.9 1.029 8.1 8.1 0 0 1 5.05 4.508 11.237 11.237 0 0 1 .45 5.733 10.6 10.6 0 0 1-2.4 5.733 12.233 12.233 0 0 1-6.65 4.067A22.217 22.217 0 0 1 46.9 22Zm0-18.325a9.214 9.214 0 0 0-5.7 2.107 8.479 8.479 0 0 0-2.3 5.194c-.35 2.5 0 4.459 1.15 5.635 1.05 1.127 3 1.715 5.75 1.715h1.05A10.117 10.117 0 0 0 52 16.611a8.471 8.471 0 0 0 2.75-5.586c.35-2.352.1-4.067-.8-5.292-1-1.372-3-2.107-6.05-2.107a6.506 6.506 0 0 1-1 .049ZM176.052 13.35a4.15 4.15 0 1 1-4.15 4.15 4.14 4.14 0 0 1 4.15-4.15Zm-1.95 6.7h.65V17.8h1.15c.1.05.2.05.3.15a2.256 2.256 0 0 1 .35.35 5.221 5.221 0 0 1 .5.7l.65 1.05h.85l-.9-1.4a8.544 8.544 0 0 0-.55-.7 2.8 2.8 0 0 0-.4-.25 1.72 1.72 0 0 0 1.1-.45 1.4 1.4 0 0 0 .15-1.65 1.3 1.3 0 0 0-.55-.5 2.921 2.921 0 0 0-1.05-.15h-2.25v5.1Zm.65-2.8h1.45a2.318 2.318 0 0 0 .7-.1.778.778 0 0 0 .4-.3.806.806 0 0 0 .15-.45.828.828 0 0 0-.25-.6 1.229 1.229 0 0 0-.85-.25h-1.6v1.7Zm1.3-3.35a3.65 3.65 0 1 0 3.65 3.65 3.671 3.671 0 0 0-3.65-3.65Z"
5760
- }, null, -1), El = [
5761
- Al
5772
+ }, null, -1), Bl = [
5773
+ El
5762
5774
  ];
5763
- function Bl(e, t) {
5764
- return v(), q("svg", Pl, El);
5775
+ function Ll(e, t) {
5776
+ return v(), q("svg", Al, Bl);
5765
5777
  }
5766
- const Ll = { render: Bl }, Fl = ["innerHTML"], Dl = ["innerHTML"], Ol = /* @__PURE__ */ ee({
5778
+ const Fl = { render: Ll }, Dl = ["innerHTML"], Ol = ["innerHTML"], Ul = /* @__PURE__ */ ee({
5767
5779
  __name: "GLoginFooter",
5768
5780
  props: {
5769
5781
  copyrightInfoEng: { default: "Copyright 2020 All Rights Reserved.&ensp;" },
@@ -5775,18 +5787,18 @@ const Ll = { render: Bl }, Fl = ["innerHTML"], Dl = ["innerHTML"], Ol = /* @__PU
5775
5787
  }, [
5776
5788
  Z("span", {
5777
5789
  class: $(`${m(X)}__login-footer--logo`),
5778
- style: Tt({ backgroundImage: `url(${m(Ll)})` })
5790
+ style: Tt({ backgroundImage: `url(${m(Fl)})` })
5779
5791
  }, null, 6),
5780
5792
  Z("div", {
5781
5793
  class: $(`${m(X)}__login-footer--copyright`)
5782
5794
  }, [
5783
- Z("div", { innerHTML: e.copyrightInfoEng }, null, 8, Fl),
5784
- Z("div", { innerHTML: e.copyrightInfoCN }, null, 8, Dl)
5795
+ Z("div", { innerHTML: e.copyrightInfoEng }, null, 8, Dl),
5796
+ Z("div", { innerHTML: e.copyrightInfoCN }, null, 8, Ol)
5785
5797
  ], 2)
5786
5798
  ], 2));
5787
5799
  }
5788
5800
  });
5789
- const Ul = ["id", "poster"], Rl = ["src"], Kl = ["src"], Gl = /* @__PURE__ */ ee({
5801
+ const Rl = ["id", "poster"], Kl = ["src"], Gl = ["src"], jl = /* @__PURE__ */ ee({
5790
5802
  __name: "index",
5791
5803
  props: {
5792
5804
  bgVideoMp4Src: null,
@@ -5810,34 +5822,34 @@ const Ul = ["id", "poster"], Rl = ["src"], Kl = ["src"], Gl = /* @__PURE__ */ ee
5810
5822
  Z("source", {
5811
5823
  src: e.bgVideoMp4Src,
5812
5824
  type: "video/mp4"
5813
- }, null, 8, Rl),
5825
+ }, null, 8, Kl),
5814
5826
  Z("source", {
5815
5827
  src: e.bgVideoWebmSrc,
5816
5828
  type: "video/webm"
5817
- }, null, 8, Kl)
5818
- ], 12, Ul),
5829
+ }, null, 8, Gl)
5830
+ ], 12, Rl),
5819
5831
  Z("div", {
5820
5832
  class: $(`${m(X)}__login-wrapper--overlay`)
5821
5833
  }, null, 2),
5822
5834
  Z("div", {
5823
5835
  class: $(`${m(X)}__login-wrapper--container`)
5824
5836
  }, [
5825
- V(Nl, {
5837
+ V(Sl, {
5826
5838
  title: e.title,
5827
5839
  subTitle: e.subTitle
5828
5840
  }, null, 8, ["title", "subTitle"]),
5829
- V(Ml, null, {
5841
+ V(Pl, null, {
5830
5842
  tabs: w(() => [
5831
5843
  Be(t.$slots, "tabs", {}, void 0, !0)
5832
5844
  ]),
5833
5845
  _: 3
5834
5846
  })
5835
5847
  ], 2),
5836
- V(Ol)
5848
+ V(Ul)
5837
5849
  ], 2));
5838
5850
  }
5839
5851
  });
5840
- const jl = /* @__PURE__ */ Vt(Gl, [["__scopeId", "data-v-b1b26512"]]), Pr = Qe(jl), Wl = [
5852
+ const Wl = /* @__PURE__ */ Vt(jl, [["__scopeId", "data-v-b1b26512"]]), Ar = Qe(Wl), Hl = [
5841
5853
  {
5842
5854
  stem: "app",
5843
5855
  icon: "App"
@@ -6378,19 +6390,19 @@ const jl = /* @__PURE__ */ Vt(Gl, [["__scopeId", "data-v-b1b26512"]]), Pr = Qe(j
6378
6390
  stem: "zoom-out",
6379
6391
  icon: "ZoomOut"
6380
6392
  }
6381
- ], Hl = {
6393
+ ], ql = {
6382
6394
  save: "/restapi/menus"
6383
6395
  };
6384
- function ql(e) {
6385
- return ot.put(Hl.save, e);
6396
+ function zl(e) {
6397
+ return ot.put(ql.save, e);
6386
6398
  }
6387
- const zl = { class: "menu-title" }, $l = {
6399
+ const $l = { class: "menu-title" }, Xl = {
6388
6400
  key: 0,
6389
6401
  class: "counts"
6390
- }, Xl = { class: "operations" }, Zl = { id: "icon-option" }, Ql = { key: 0 }, Jl = {
6402
+ }, Zl = { class: "operations" }, Ql = { id: "icon-option" }, Jl = { key: 0 }, Yl = {
6391
6403
  key: 1,
6392
6404
  style: { color: "#9f9f9f" }
6393
- }, Yl = /* @__PURE__ */ ee({
6405
+ }, er = /* @__PURE__ */ ee({
6394
6406
  __name: "index",
6395
6407
  setup(e) {
6396
6408
  const t = Le(), o = z("菜单管理"), n = [
@@ -6469,10 +6481,10 @@ const zl = { class: "menu-title" }, $l = {
6469
6481
  }))
6470
6482
  ), y = tt(), g = St();
6471
6483
  function p() {
6472
- const { fullPath: A, query: R } = y, G = decodeURIComponent(A);
6484
+ const { fullPath: A, query: R } = y, W = decodeURIComponent(A);
6473
6485
  g.appendTabMenuItem({
6474
6486
  title: o.value,
6475
- path: G,
6487
+ path: W,
6476
6488
  query: R
6477
6489
  });
6478
6490
  }
@@ -6485,14 +6497,14 @@ const zl = { class: "menu-title" }, $l = {
6485
6497
  function _(A) {
6486
6498
  return A.filter((R) => R.isGroup);
6487
6499
  }
6488
- function x(A = M.value) {
6500
+ function I(A = M.value) {
6489
6501
  var R;
6490
6502
  d.value && ((R = d.value) == null || R.resetData(A));
6491
6503
  }
6492
6504
  function N() {
6493
6505
  l.value = !0, r.value = "addGroup";
6494
6506
  }
6495
- function W() {
6507
+ function j() {
6496
6508
  i.value.level == 1 && i.value.children && i.value.children.push({
6497
6509
  edificeKey: a.value,
6498
6510
  level: 2,
@@ -6537,9 +6549,9 @@ const zl = { class: "menu-title" }, $l = {
6537
6549
  }
6538
6550
  function L(A, R) {
6539
6551
  if (d.value) {
6540
- const G = T.value.find((re) => re.name == A);
6541
- if (G) {
6542
- const { parent: re } = G;
6552
+ const W = T.value.find((re) => re.name == A);
6553
+ if (W) {
6554
+ const { parent: re } = W;
6543
6555
  R !== re && (i.value.parent = R, d.value.remove(A), d.value.appendTo(R, i.value));
6544
6556
  }
6545
6557
  }
@@ -6552,37 +6564,40 @@ const zl = { class: "menu-title" }, $l = {
6552
6564
  body: `确定要撤销${A.title}吗?`,
6553
6565
  onConfirm: () => {
6554
6566
  var re, ke, ie, Te;
6555
- let G = [];
6567
+ let W = [];
6556
6568
  if (A.level == 1)
6557
6569
  (re = A.children) == null || re.forEach((B) => {
6558
- B.level = 1, B.parent = null, G.push(B);
6559
- }), (ke = d.value) == null || ke.remove(A.name), G.length && G.forEach((B) => {
6570
+ B.level = 1, B.parent = null, W.push(B);
6571
+ }), (ke = d.value) == null || ke.remove(A.name), W.length && W.forEach((B) => {
6560
6572
  var K;
6561
6573
  (K = d.value) == null || K.appendTo("", B);
6562
6574
  });
6563
6575
  else if (A.level == 2) {
6564
6576
  const { parent: B } = A;
6565
6577
  (ie = A.children) == null || ie.forEach((K) => {
6566
- K.level = 2, K.parent = B, G.push(K);
6567
- }), (Te = d.value) == null || Te.remove(A.name), x(), G.forEach((K) => {
6578
+ K.level = 2, K.parent = B, W.push(K);
6579
+ }), (Te = d.value) == null || Te.remove(A.name), I(), W.forEach((K) => {
6568
6580
  var P;
6569
6581
  (P = d.value) == null || P.appendTo(B, K);
6570
6582
  });
6571
6583
  }
6572
6584
  R.destroy(), Y.success("撤销组成功");
6585
+ },
6586
+ onCancel: () => {
6587
+ fn.info("已取消撤销组操作");
6573
6588
  }
6574
6589
  });
6575
6590
  } catch (R) {
6576
6591
  console.error(R);
6577
6592
  }
6578
- x();
6593
+ I();
6579
6594
  }
6580
6595
  function ue() {
6581
6596
  var A;
6582
6597
  (A = f.value) == null || A.validate().then((R) => {
6583
- var G, re, ke, ie, Te, B;
6598
+ var W, re, ke, ie, Te, B;
6584
6599
  if (!Object.keys(R).length)
6585
- r.value == "addGroup" ? (i.value.edificeKey = a.value, (G = d.value) == null || G.appendTo("", i.value), Y.success("保存新增组成功!")) : r.value == "editGroup" || r.value == "editItem" ? ((re = d.value) == null || re.setData(i.value.name, i.value), i.value.isGroup ? ((ie = (ke = i.value) == null ? void 0 : ke.children) == null || ie.forEach((K) => {
6600
+ r.value == "addGroup" ? (i.value.edificeKey = a.value, (W = d.value) == null || W.appendTo("", i.value), Y.success("保存新增组成功!")) : r.value == "editGroup" || r.value == "editItem" ? ((re = d.value) == null || re.setData(i.value.name, i.value), i.value.isGroup ? ((ie = (ke = i.value) == null ? void 0 : ke.children) == null || ie.forEach((K) => {
6586
6601
  var P;
6587
6602
  (P = d.value) == null || P.setData(K.name, K);
6588
6603
  }), Y.success("编辑组成功!")) : (L(
@@ -6605,63 +6620,63 @@ const zl = { class: "menu-title" }, $l = {
6605
6620
  async function Ve() {
6606
6621
  const A = uo(M.value);
6607
6622
  try {
6608
- (await ql({ menus: [...A] })).state == 404 && (t.setSideMenuConfig(M.value), s.value = M.value, Y.success("保存菜单方案成功!"));
6623
+ (await zl({ menus: [...A] })).state == 404 && (t.setSideMenuConfig(M.value), s.value = M.value, Y.success("保存菜单方案成功!"));
6609
6624
  } catch (R) {
6610
6625
  Y.error(R.message);
6611
6626
  }
6612
6627
  }
6613
- function I(A) {
6614
- const { current: R, target: G, currentIndex: re, targetIndex: ke } = A, ie = R.level, Te = R.parent, B = G.level, K = G.parent;
6628
+ function x(A) {
6629
+ const { current: R, target: W, currentIndex: re, targetIndex: ke } = A, ie = R.level, Te = R.parent, B = W.level, K = W.parent;
6615
6630
  if (ie == B) {
6616
6631
  if (Te == K)
6617
6632
  return !0;
6618
6633
  Y.info("不同父菜单的菜单项,请使用转移至功能转移菜单");
6619
6634
  } else
6620
6635
  Y.info("不同层级的菜单项,请使用转移至功能转移菜单");
6621
- return x(), !1;
6636
+ return I(), !1;
6622
6637
  }
6623
6638
  function U(A) {
6624
6639
  A.code && Y.error("不同层级的菜单项,不允许调整顺序");
6625
6640
  }
6626
6641
  function le(A, R) {
6627
6642
  var re;
6628
- const G = (re = d.value) == null ? void 0 : re.getData(A.name);
6629
- if (G) {
6630
- const { parent: ke } = G;
6643
+ const W = (re = d.value) == null ? void 0 : re.getData(A.name);
6644
+ if (W) {
6645
+ const { parent: ke } = W;
6631
6646
  if (ke) {
6632
6647
  const { children: ie } = ke.row, Te = ie == null ? void 0 : ie.findIndex((B) => B.name == A.name);
6633
- ie && (me(ie, R, Te), x());
6648
+ ie && (me(ie, R, Te), I());
6634
6649
  } else {
6635
6650
  const ie = it(M), Te = ie.findIndex((B) => B.name == A.name);
6636
- me(ie, R, Te), x(ie);
6651
+ me(ie, R, Te), I(ie);
6637
6652
  }
6638
6653
  }
6639
6654
  }
6640
- function me(A, R, G) {
6655
+ function me(A, R, W) {
6641
6656
  switch (R) {
6642
6657
  case "up": {
6643
- G != 0 ? [A[G - 1], A[G]] = [
6644
- A[G],
6645
- A[G - 1]
6658
+ W != 0 ? [A[W - 1], A[W]] = [
6659
+ A[W],
6660
+ A[W - 1]
6646
6661
  ] : Y.info("该菜单项已经在该组的第一个了!");
6647
6662
  break;
6648
6663
  }
6649
6664
  case "down": {
6650
- G != A.length - 1 ? [A[G + 1], A[G]] = [
6651
- A[G],
6652
- A[G + 1]
6665
+ W != A.length - 1 ? [A[W + 1], A[W]] = [
6666
+ A[W],
6667
+ A[W + 1]
6653
6668
  ] : Y.info("该菜单项已经在该组的最后一个了!");
6654
6669
  break;
6655
6670
  }
6656
6671
  }
6657
6672
  }
6658
6673
  return (A, R) => {
6659
- const G = D("t-button"), re = D("t-icon"), ke = D("t-input"), ie = D("t-form-item"), Te = D("t-option"), B = D("t-select"), K = D("t-input-group");
6660
- return v(), S(m(xl), { title: o.value }, {
6674
+ const W = D("t-button"), re = D("t-icon"), ke = D("t-input"), ie = D("t-form-item"), Te = D("t-option"), B = D("t-select"), K = D("t-input-group");
6675
+ return v(), S(m(Nl), { title: o.value }, {
6661
6676
  default: w(() => [
6662
6677
  V(m(Lo), null, {
6663
6678
  "left-operations": w(() => [
6664
- V(G, {
6679
+ V(W, {
6665
6680
  theme: "primary",
6666
6681
  onClick: N
6667
6682
  }, {
@@ -6670,7 +6685,7 @@ const zl = { class: "menu-title" }, $l = {
6670
6685
  ]),
6671
6686
  _: 1
6672
6687
  }),
6673
- V(G, {
6688
+ V(W, {
6674
6689
  theme: "default",
6675
6690
  onClick: Ce
6676
6691
  }, {
@@ -6681,7 +6696,7 @@ const zl = { class: "menu-title" }, $l = {
6681
6696
  })
6682
6697
  ]),
6683
6698
  "right-operations": w(() => [
6684
- V(G, {
6699
+ V(W, {
6685
6700
  theme: "primary",
6686
6701
  onClick: Ve
6687
6702
  }, {
@@ -6703,7 +6718,7 @@ const zl = { class: "menu-title" }, $l = {
6703
6718
  data: s.value,
6704
6719
  columns: n,
6705
6720
  dragSort: "row-handler",
6706
- beforeDragSort: I,
6721
+ beforeDragSort: x,
6707
6722
  onAbnormalDragSort: U,
6708
6723
  tree: {
6709
6724
  childrenKey: "children",
@@ -6726,7 +6741,7 @@ const zl = { class: "menu-title" }, $l = {
6726
6741
  V(re, { name: "move" })
6727
6742
  ]),
6728
6743
  title: w(({ row: P }) => [
6729
- Z("span", zl, [
6744
+ Z("span", $l, [
6730
6745
  Z("span", {
6731
6746
  class: $(["title", P.isGroup ? "title-bold" : "title-child"])
6732
6747
  }, [
@@ -6742,15 +6757,15 @@ const zl = { class: "menu-title" }, $l = {
6742
6757
  name: "app",
6743
6758
  size: "large"
6744
6759
  }))
6745
- ], 64)) : j("", !0),
6760
+ ], 64)) : G("", !0),
6746
6761
  J(" " + ge(P.title), 1)
6747
6762
  ], 2),
6748
- P.isGroup ? (v(), q("span", $l, ge(P.children.length) + "项", 1)) : j("", !0)
6763
+ P.isGroup ? (v(), q("span", Xl, ge(P.children.length) + "项", 1)) : G("", !0)
6749
6764
  ])
6750
6765
  ]),
6751
6766
  operations: w(({ row: P }) => [
6752
- Z("div", Xl, [
6753
- V(G, {
6767
+ Z("div", Zl, [
6768
+ V(W, {
6754
6769
  variant: "text",
6755
6770
  theme: "primary",
6756
6771
  onClick: (H) => k(P)
@@ -6760,7 +6775,7 @@ const zl = { class: "menu-title" }, $l = {
6760
6775
  ]),
6761
6776
  _: 2
6762
6777
  }, 1032, ["onClick"]),
6763
- V(G, {
6778
+ V(W, {
6764
6779
  variant: "text",
6765
6780
  theme: "primary",
6766
6781
  disabled: P.isGroup,
@@ -6771,7 +6786,7 @@ const zl = { class: "menu-title" }, $l = {
6771
6786
  ]),
6772
6787
  _: 2
6773
6788
  }, 1032, ["disabled", "onClick"]),
6774
- V(G, {
6789
+ V(W, {
6775
6790
  variant: "text",
6776
6791
  theme: "primary",
6777
6792
  onClick: (H) => le(P, "up")
@@ -6781,7 +6796,7 @@ const zl = { class: "menu-title" }, $l = {
6781
6796
  ]),
6782
6797
  _: 2
6783
6798
  }, 1032, ["onClick"]),
6784
- V(G, {
6799
+ V(W, {
6785
6800
  variant: "text",
6786
6801
  theme: "primary",
6787
6802
  onClick: (H) => le(P, "down")
@@ -6791,7 +6806,7 @@ const zl = { class: "menu-title" }, $l = {
6791
6806
  ]),
6792
6807
  _: 2
6793
6808
  }, 1032, ["onClick"]),
6794
- V(G, {
6809
+ V(W, {
6795
6810
  variant: "text",
6796
6811
  theme: "primary",
6797
6812
  disabled: !P.isGroup,
@@ -6815,7 +6830,7 @@ const zl = { class: "menu-title" }, $l = {
6815
6830
  }
6816
6831
  }, {
6817
6832
  default: w(() => [
6818
- V(m(Dn), {
6833
+ V(m(On), {
6819
6834
  ref_key: "commonFormRef",
6820
6835
  ref: b,
6821
6836
  commonFormProps: {
@@ -6826,7 +6841,7 @@ const zl = { class: "menu-title" }, $l = {
6826
6841
  }
6827
6842
  }, _t({
6828
6843
  footer: w(() => [
6829
- V(G, {
6844
+ V(W, {
6830
6845
  theme: "default",
6831
6846
  onClick: O
6832
6847
  }, {
@@ -6835,7 +6850,7 @@ const zl = { class: "menu-title" }, $l = {
6835
6850
  ]),
6836
6851
  _: 1
6837
6852
  }),
6838
- V(G, { onClick: ue }, {
6853
+ V(W, { onClick: ue }, {
6839
6854
  default: w(() => [
6840
6855
  J("确定")
6841
6856
  ]),
@@ -6892,22 +6907,22 @@ const zl = { class: "menu-title" }, $l = {
6892
6907
  clearable: !0
6893
6908
  }, {
6894
6909
  valueDisplay: w(() => [
6895
- i.value.icon ? (v(), q("span", Ql, [
6910
+ i.value.icon ? (v(), q("span", Jl, [
6896
6911
  V(re, {
6897
6912
  name: i.value.icon,
6898
6913
  style: { marginRight: "8px" }
6899
6914
  }, null, 8, ["name"]),
6900
6915
  J(ge(i.value.icon), 1)
6901
- ])) : (v(), q("span", Jl, "请选择图标标识"))
6916
+ ])) : (v(), q("span", Yl, "请选择图标标识"))
6902
6917
  ]),
6903
6918
  default: w(() => [
6904
- (v(!0), q(ve, null, ye(m(Wl), (P) => (v(), S(Te, {
6919
+ (v(!0), q(ve, null, ye(m(Hl), (P) => (v(), S(Te, {
6905
6920
  value: P.stem,
6906
6921
  key: P.stem,
6907
6922
  class: "overlay-options"
6908
6923
  }, {
6909
6924
  default: w(() => [
6910
- Z("span", Zl, [
6925
+ Z("span", Ql, [
6911
6926
  V(re, {
6912
6927
  name: P.stem,
6913
6928
  size: "small"
@@ -6921,8 +6936,8 @@ const zl = { class: "menu-title" }, $l = {
6921
6936
  }, 8, ["modelValue"])
6922
6937
  ]),
6923
6938
  _: 1
6924
- })) : j("", !0),
6925
- i.value.isGroup ? j("", !0) : (v(), S(ie, {
6939
+ })) : G("", !0),
6940
+ i.value.isGroup ? G("", !0) : (v(), S(ie, {
6926
6941
  key: 1,
6927
6942
  name: "parent",
6928
6943
  label: "父菜单",
@@ -6942,9 +6957,9 @@ const zl = { class: "menu-title" }, $l = {
6942
6957
  label: "分组"
6943
6958
  }, {
6944
6959
  default: w(() => [
6945
- V(G, {
6960
+ V(W, {
6946
6961
  variant: "outline",
6947
- onClick: W
6962
+ onClick: j
6948
6963
  }, {
6949
6964
  default: w(() => [
6950
6965
  J("添加分组")
@@ -6953,7 +6968,7 @@ const zl = { class: "menu-title" }, $l = {
6953
6968
  })
6954
6969
  ]),
6955
6970
  _: 1
6956
- })) : j("", !0),
6971
+ })) : G("", !0),
6957
6972
  (v(!0), q(ve, null, ye(_(i.value.children), (P, H) => (v(), S(ie, {
6958
6973
  key: "group" + H,
6959
6974
  label: H == 0 ? "分组" : " "
@@ -6981,7 +6996,7 @@ const zl = { class: "menu-title" }, $l = {
6981
6996
  de
6982
6997
  )
6983
6998
  }, null, 8, ["value", "onChange"]),
6984
- V(G, {
6999
+ V(W, {
6985
7000
  variant: "outline",
6986
7001
  theme: "default",
6987
7002
  onClick: (de) => te(P)
@@ -6991,17 +7006,17 @@ const zl = { class: "menu-title" }, $l = {
6991
7006
  ]),
6992
7007
  _: 2
6993
7008
  }, 1032, ["onClick"]),
6994
- H == _(i.value.children).length - 1 ? (v(), S(G, {
7009
+ H == _(i.value.children).length - 1 ? (v(), S(W, {
6995
7010
  key: 0,
6996
7011
  variant: "outline",
6997
7012
  theme: "default",
6998
- onClick: mn(W, ["prevent"])
7013
+ onClick: mn(j, ["prevent"])
6999
7014
  }, {
7000
7015
  default: w(() => [
7001
7016
  J("+ ")
7002
7017
  ]),
7003
7018
  _: 1
7004
- }, 8, ["onClick"])) : j("", !0)
7019
+ }, 8, ["onClick"])) : G("", !0)
7005
7020
  ]),
7006
7021
  _: 2
7007
7022
  }, 1024)
@@ -7031,13 +7046,13 @@ const zl = { class: "menu-title" }, $l = {
7031
7046
  }, 1024)
7032
7047
  ]),
7033
7048
  _: 2
7034
- }, 1032, ["label"]))), 128)) : j("", !0)
7049
+ }, 1032, ["label"]))), 128)) : G("", !0)
7035
7050
  ]),
7036
7051
  key: "0"
7037
7052
  } : r.value == "moveItemTo" ? {
7038
7053
  name: "body",
7039
7054
  fn: w(() => [
7040
- i.value.isGroup ? j("", !0) : (v(), S(ie, {
7055
+ i.value.isGroup ? G("", !0) : (v(), S(ie, {
7041
7056
  key: 0,
7042
7057
  name: "parent",
7043
7058
  label: "转移至",
@@ -7065,50 +7080,50 @@ const zl = { class: "menu-title" }, $l = {
7065
7080
  };
7066
7081
  }
7067
7082
  });
7068
- const Ar = Qe(Yl);
7069
- function er(e, t) {
7070
- e.component("GView", Il);
7083
+ const Er = Qe(er);
7084
+ function tr(e, t) {
7085
+ e.component("GView", xl);
7071
7086
  }
7072
- function Er(e) {
7087
+ function Br(e) {
7073
7088
  Le(e), St(e), Zt(e), Xt(e);
7074
7089
  }
7075
- const Br = {
7076
- install: er
7090
+ const Lr = {
7091
+ install: tr
7077
7092
  };
7078
7093
  export {
7079
- xr as $,
7094
+ Nr as $,
7080
7095
  Zt as A,
7081
- An as B,
7082
- Nn as C,
7083
- Sr as D,
7096
+ En as B,
7097
+ Sn as C,
7098
+ Vr as D,
7084
7099
  Ht as E,
7085
- Zn as F,
7100
+ Qn as F,
7086
7101
  Eo as G,
7087
7102
  Ge as H,
7088
7103
  Ot as I,
7089
7104
  co as J,
7090
- Cn as K,
7105
+ Tn as K,
7091
7106
  st as L,
7092
7107
  Vo as M,
7093
7108
  Mo as N,
7094
- vr as O,
7109
+ br as O,
7095
7110
  X as P,
7096
- br as Q,
7097
- yr as R,
7098
- wr as S,
7099
- hr as T,
7100
- kr as U,
7101
- Cr as V,
7102
- bn as W,
7103
- Tr as X,
7104
- _r as Y,
7105
- Ir as Z,
7111
+ yr as Q,
7112
+ wr as R,
7113
+ kr as S,
7114
+ pr as T,
7115
+ Cr as U,
7116
+ Tr as V,
7117
+ yn as W,
7118
+ _r as X,
7119
+ Ir as Y,
7120
+ xr as Z,
7106
7121
  ln as _,
7107
- Dn as a,
7108
- Nr as a0,
7122
+ On as a,
7123
+ Sr as a0,
7109
7124
  wt as a1,
7110
7125
  kt as a2,
7111
- Ne as a3,
7126
+ xe as a3,
7112
7127
  Po as a4,
7113
7128
  xo as a5,
7114
7129
  uo as a6,
@@ -7116,31 +7131,31 @@ export {
7116
7131
  So as a8,
7117
7132
  lt as a9,
7118
7133
  je as aa,
7119
- Qn as ab,
7134
+ Jn as ab,
7120
7135
  mo as ac,
7121
- Ar as ad,
7136
+ Er as ad,
7122
7137
  Lo as b,
7123
7138
  Fo as c,
7124
- xl as d,
7125
- Pr as e,
7126
- Vr as f,
7139
+ Nl as d,
7140
+ Ar as e,
7141
+ Mr as f,
7127
7142
  lo as g,
7128
7143
  ot as h,
7129
- Br as i,
7130
- gn as j,
7131
- fr as k,
7144
+ Lr as i,
7145
+ vn as j,
7146
+ hr as k,
7132
7147
  ro as l,
7133
7148
  io as m,
7134
7149
  Dt as n,
7135
- pr as o,
7136
- gr as p,
7150
+ gr as o,
7151
+ vr as p,
7137
7152
  so as q,
7138
- vn as r,
7139
- Er as s,
7140
- yn as t,
7141
- wn as u,
7142
- Kn as v,
7143
- Gn as w,
7153
+ bn as r,
7154
+ Br as s,
7155
+ wn as t,
7156
+ kn as u,
7157
+ Gn as v,
7158
+ jn as w,
7144
7159
  Le as x,
7145
7160
  St as y,
7146
7161
  Xt as z