@gonsin/gview 2.1.26 → 2.1.27

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 (2) hide show
  1. package/dist/index.mjs +431 -425
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@ var Da = (t, u, e) => u in t ? ca(t, u, { enumerable: !0, configurable: !0, writ
3
3
  var Nu = (t, u, e) => (Da(t, typeof u != "symbol" ? u + "" : u, e), e);
4
4
  import { useI18n as Ae } from "gonsin-i18n";
5
5
  import { useI18n as Gs } from "gonsin-i18n";
6
- import { defineComponent as oe, ref as R, computed as Q, resolveComponent as Z, openBlock as d, createBlock as b, normalizeClass as K, withCtx as k, createVNode as _, createElementVNode as ee, toDisplayString as ue, unref as A, createElementBlock as H, Fragment as ce, renderList as Ce, createCommentVNode as q, createTextVNode as ie, withModifiers as yt, nextTick as ro, inject as ve, normalizeStyle as su, normalizeProps as ku, mergeProps as ye, guardReactiveProps as ot, renderSlot as Pe, onMounted as Ye, onBeforeUnmount as uu, watch as Te, isRef as Na, Transition as ga, createSlots as Ru, useSlots as so, resolveDynamicComponent as Mo, TransitionGroup as da, toRefs as Ta, provide as tu, reactive as Ut, onBeforeMount as rt, toRaw as ht, shallowRef as ja, defineAsyncComponent as co, watchEffect as Aa, createStaticVNode as dn } from "vue";
6
+ import { defineComponent as oe, ref as R, computed as Q, resolveComponent as Z, openBlock as d, createBlock as b, normalizeClass as K, withCtx as k, createVNode as _, createElementVNode as ee, toDisplayString as ue, unref as A, createElementBlock as H, Fragment as ce, renderList as xe, createCommentVNode as q, createTextVNode as ie, withModifiers as yt, nextTick as ro, inject as ve, normalizeStyle as su, normalizeProps as ku, mergeProps as ye, guardReactiveProps as ot, renderSlot as Pe, onMounted as Ye, onBeforeUnmount as uu, watch as Te, isRef as Na, Transition as ga, createSlots as Ru, useSlots as so, resolveDynamicComponent as Mo, TransitionGroup as da, toRefs as Ta, provide as tu, reactive as Ut, onBeforeMount as rt, toRaw as ht, shallowRef as ja, defineAsyncComponent as co, watchEffect as Aa, createStaticVNode as dn } from "vue";
7
7
  import { useRouter as ou, useRoute as Iu, onBeforeRouteLeave as Do, onBeforeRouteUpdate as No } from "vue-router";
8
8
  import { defineStore as Qu, storeToRefs as ma } from "pinia";
9
9
  import ju from "dayjs";
@@ -12,8 +12,8 @@ import { customAlphabet as Ia } from "nanoid";
12
12
  import ya from "nprogress";
13
13
  import { default as Ks } from "nprogress";
14
14
  import { get as le, set as Ke, cloneDeep as _e, isPlainObject as zn, isArray as hn, isEqual as Ln } from "lodash-es";
15
- import { MessagePlugin as Ea, Button as fa, Progress as go, Tooltip as Su, Link as pa, Tree as Ca, Card as xa, DialogPlugin as Qt, ConfigProvider as za } from "tdesign-vue-next";
16
- import { CloseIcon as Cu, RefreshIcon as It, ArrowLeftIcon as On, ArrowRightIcon as kn, CloseCircleIcon as Sn, MoreIcon as ha, DeleteIcon as La, ViewListIcon as Oa, PoweroffIcon as ka, ChevronDownIcon as Sa, Icon as wn, AppIcon as wa, UploadIcon as vn, CheckCircleFilledIcon as va, PlayCircleFilledIcon as Ua, PauseCircleFilledIcon as Qa, LinkIcon as ba, ErrorCircleFilledIcon as Ya, FileImageIcon as at, FilePdfIcon as To, VideoIcon as un, FileIconIcon as tn, FolderOpenIcon as Ba, FolderIcon as _a, FilterIcon as Fa, SearchIcon as Pa, EllipsisIcon as $a, UserIcon as bt, BrowseIcon as Va } from "tdesign-icons-vue-next";
15
+ import { MessagePlugin as Ea, Button as fa, Progress as go, Tooltip as Su, Link as pa, Tree as xa, Card as Ca, DialogPlugin as Qt, ConfigProvider as za } from "tdesign-vue-next";
16
+ import { CloseIcon as xu, RefreshIcon as It, ArrowLeftIcon as On, ArrowRightIcon as kn, CloseCircleIcon as Sn, MoreIcon as ha, DeleteIcon as La, ViewListIcon as Oa, PoweroffIcon as ka, ChevronDownIcon as Sa, Icon as wn, AppIcon as wa, UploadIcon as vn, CheckCircleFilledIcon as va, PlayCircleFilledIcon as Ua, PauseCircleFilledIcon as Qa, LinkIcon as ba, ErrorCircleFilledIcon as Ya, FileImageIcon as at, FilePdfIcon as To, VideoIcon as un, FileIconIcon as tn, FolderOpenIcon as Ba, FolderIcon as _a, FilterIcon as Fa, SearchIcon as Pa, EllipsisIcon as $a, UserIcon as bt, BrowseIcon as Va } from "tdesign-icons-vue-next";
17
17
  import { useElementSize as jo, useDebounceFn as Ra } from "@vueuse/core";
18
18
  import nn from "number-precision";
19
19
  import Ao from "qs";
@@ -45,13 +45,13 @@ function fs(t) {
45
45
  function ps(t) {
46
46
  return yu(t, "Number");
47
47
  }
48
- function Cs(t) {
48
+ function xs(t) {
49
49
  return yu(t, "AsyncFunction");
50
50
  }
51
51
  function qa(t) {
52
52
  return yu(t, "Promise") && jn(t) && wu(t.then) && wu(t.catch);
53
53
  }
54
- function xs(t) {
54
+ function Cs(t) {
55
55
  return yu(t, "String");
56
56
  }
57
57
  function Ja(t) {
@@ -420,7 +420,7 @@ const pe = new gi({ duration: 2e3, maxCount: 3 }), sn = {
420
420
  // withCredentials: true,
421
421
  // crossDomain: true,
422
422
  };
423
- class Co {
423
+ class xo {
424
424
  constructor(u = {
425
425
  config: sn,
426
426
  enableLog: !0,
@@ -539,13 +539,13 @@ class Co {
539
539
  });
540
540
  }
541
541
  }
542
- const di = (t) => new Co({
542
+ const di = (t) => new xo({
543
543
  config: t.config ?? sn,
544
544
  enableLog: t.enableLog ?? !0,
545
545
  enableAuth: t.enableAuth ?? !0,
546
546
  enableToken: t.enableToken ?? !0,
547
547
  checkToken: t.checkToken ?? !0
548
- }), Xe = new Co(), { T: et } = Ae();
548
+ }), Xe = new xo(), { T: et } = Ae();
549
549
  function Ti(t) {
550
550
  var a;
551
551
  const u = /filename\*=(UTF-8|ISO-8859-1)''([\w%\-\.]+)/gi, e = [];
@@ -585,9 +585,9 @@ function Rt(t, u = "", e = "blob", n = {}) {
585
585
  }).then(async (l) => {
586
586
  if (l.status == 200) {
587
587
  if (l.data.type == "application/json") {
588
- const j = new Blob([l.data]).text(), x = JSON.parse(await j);
589
- if (x !== null && Object.keys(x).includes("state") && x.state !== 200) {
590
- pe.error(`${et.t("下载失败")} ${x.message}`);
588
+ const j = new Blob([l.data]).text(), C = JSON.parse(await j);
589
+ if (C !== null && Object.keys(C).includes("state") && C.state !== 200) {
590
+ pe.error(`${et.t("下载失败")} ${C.message}`);
591
591
  return;
592
592
  }
593
593
  }
@@ -647,7 +647,7 @@ function lt(t, u, e = !1) {
647
647
  }
648
648
  }
649
649
  }
650
- function xo(t) {
650
+ function Co(t) {
651
651
  const { list: u, keyName: e, valueName: n, titleName: o, parentKey: a, parentKeyName: i } = t, l = (s, c) => {
652
652
  const r = [];
653
653
  return c.forEach((M) => {
@@ -1322,7 +1322,7 @@ const An = Qu("column", {
1322
1322
  this.edificeLogoUrl = t;
1323
1323
  }
1324
1324
  }
1325
- }), Ht = "g-dialog-plugin", fi = "g-common-dialog", Dt = "g-common-form", Nt = "g-common-header", pi = "g-common-table", Ci = "g-board", Ss = "g-dialog", xi = "g-form", Wn = "g-form-item", ws = "g-header", zi = "g-tab", Vu = "g-table", nu = "g-layout", gt = "g-uploader", Lu = "g-login", hi = ["title"], Li = {
1325
+ }), Ht = "g-dialog-plugin", fi = "g-common-dialog", Dt = "g-common-form", Nt = "g-common-header", pi = "g-common-table", xi = "g-board", Ss = "g-dialog", Ci = "g-form", Wn = "g-form-item", ws = "g-header", zi = "g-tab", Vu = "g-table", nu = "g-layout", gt = "g-uploader", Lu = "g-login", hi = ["title"], Li = {
1326
1326
  key: 0,
1327
1327
  class: "menu-item--close-button"
1328
1328
  }, Oi = ["title"], ki = ["title"], Si = ["title"], wi = ["onClick"], vi = ["title"], Ui = ["title"], Qi = ["onClick"], bi = ["title"], Yi = ["title"], Bi = ["title"], _i = ["title"], Fi = ["title"], Pi = ["title"], $i = /* @__PURE__ */ oe({
@@ -1356,7 +1356,7 @@ const An = Qu("column", {
1356
1356
  O === "/HomePage" ? n.push({ path: c.value, query: hu(c.value) }) : n.push({ path: O, query: hu(O) });
1357
1357
  }), l.toggleGlobalReload(), a.value = null;
1358
1358
  }
1359
- function x(S, y) {
1359
+ function C(S, y) {
1360
1360
  i.subtractTabMenuItemAhead({ path: S, itemIdx: y }), w("ahead", y);
1361
1361
  }
1362
1362
  function P(S, y) {
@@ -1398,7 +1398,7 @@ const An = Qu("column", {
1398
1398
  }
1399
1399
  }
1400
1400
  return s.value.length;
1401
- }), C = Q(() => D.value > 0 ? s.value.slice(0, D.value) : []), V = Q(
1401
+ }), x = Q(() => D.value > 0 ? s.value.slice(0, D.value) : []), V = Q(
1402
1402
  () => D.value > 0 ? s.value.slice(D.value) : s.value
1403
1403
  ), g = Q(() => V.value.map((S) => S.path)), F = R(null), m = R(150);
1404
1404
  R(0);
@@ -1434,7 +1434,7 @@ const An = Qu("column", {
1434
1434
  ]),
1435
1435
  _: 1
1436
1436
  }),
1437
- (d(!0), H(ce, null, Ce(s.value, (ne, De) => (d(), b(O, {
1437
+ (d(!0), H(ce, null, xe(s.value, (ne, De) => (d(), b(O, {
1438
1438
  key: De,
1439
1439
  value: ne.path
1440
1440
  }, {
@@ -1443,7 +1443,7 @@ const An = Qu("column", {
1443
1443
  title: ne.title
1444
1444
  }, ue(ne.title), 9, hi),
1445
1445
  ne.isHome ? q("", !0) : (d(), H("div", Li, [
1446
- _(A(Cu), { size: "16px" })
1446
+ _(A(xu), { size: "16px" })
1447
1447
  ]))
1448
1448
  ]),
1449
1449
  _: 2
@@ -1478,7 +1478,7 @@ const An = Qu("column", {
1478
1478
  }),
1479
1479
  _(h, { onClick: z }, {
1480
1480
  default: k(() => [
1481
- _(A(Cu)),
1481
+ _(A(xu)),
1482
1482
  ie(ue(A(u).t("全部清空")), 1)
1483
1483
  ]),
1484
1484
  _: 1
@@ -1497,7 +1497,7 @@ const An = Qu("column", {
1497
1497
  ]),
1498
1498
  _: 1
1499
1499
  }, 8, ["popup-props"]),
1500
- (d(!0), H(ce, null, Ce(C.value, (ne, De) => (d(), b(W, {
1500
+ (d(!0), H(ce, null, xe(x.value, (ne, De) => (d(), b(W, {
1501
1501
  key: De,
1502
1502
  trigger: "context-menu",
1503
1503
  "min-column-width": 128,
@@ -1527,7 +1527,7 @@ const An = Qu("column", {
1527
1527
  }, {
1528
1528
  default: k(() => [
1529
1529
  ee("span", null, [
1530
- _(A(Cu)),
1530
+ _(A(xu)),
1531
1531
  ie(" " + ue(A(u).t("关闭")), 1)
1532
1532
  ])
1533
1533
  ]),
@@ -1535,7 +1535,7 @@ const An = Qu("column", {
1535
1535
  }, 1032, ["onClick"])),
1536
1536
  De > 0 ? (d(), b(h, {
1537
1537
  key: 1,
1538
- onClick: () => x(ne.path, De)
1538
+ onClick: () => C(ne.path, De)
1539
1539
  }, {
1540
1540
  default: k(() => [
1541
1541
  ee("span", null, [
@@ -1596,7 +1596,7 @@ const An = Qu("column", {
1596
1596
  ["stop"]
1597
1597
  )
1598
1598
  }, [
1599
- _(A(Cu), { size: "16px" })
1599
+ _(A(xu), { size: "16px" })
1600
1600
  ], 8, wi))
1601
1601
  ]),
1602
1602
  _: 2
@@ -1620,7 +1620,7 @@ const An = Qu("column", {
1620
1620
  _(A(ha))
1621
1621
  ]),
1622
1622
  default: k(() => [
1623
- (d(!0), H(ce, null, Ce(V.value, (ne, De) => (d(), H("div", {
1623
+ (d(!0), H(ce, null, xe(V.value, (ne, De) => (d(), H("div", {
1624
1624
  ref_for: !0,
1625
1625
  ref_key: "omittedMenuRef",
1626
1626
  ref: F,
@@ -1639,7 +1639,7 @@ const An = Qu("column", {
1639
1639
  _(Y, null, {
1640
1640
  default: k(() => [
1641
1641
  _(h, {
1642
- onClick: () => j(ne, C.value.length + De - 1)
1642
+ onClick: () => j(ne, x.value.length + De - 1)
1643
1643
  }, {
1644
1644
  default: k(() => [
1645
1645
  ee("span", {
@@ -1655,24 +1655,24 @@ const An = Qu("column", {
1655
1655
  key: 0,
1656
1656
  onClick: () => I({
1657
1657
  value: ne.path,
1658
- index: C.value.length + De
1658
+ index: x.value.length + De
1659
1659
  })
1660
1660
  }, {
1661
1661
  default: k(() => [
1662
1662
  ee("span", {
1663
1663
  title: A(u).t("关闭")
1664
1664
  }, [
1665
- _(A(Cu)),
1665
+ _(A(xu)),
1666
1666
  ie(" " + ue(A(u).t("关闭")), 1)
1667
1667
  ], 8, Yi)
1668
1668
  ]),
1669
1669
  _: 2
1670
1670
  }, 1032, ["onClick"])),
1671
- C.value.length + De > 0 ? (d(), b(h, {
1671
+ x.value.length + De > 0 ? (d(), b(h, {
1672
1672
  key: 1,
1673
- onClick: () => x(
1673
+ onClick: () => C(
1674
1674
  ne.path,
1675
- C.value.length + De
1675
+ x.value.length + De
1676
1676
  )
1677
1677
  }, {
1678
1678
  default: k(() => [
@@ -1685,11 +1685,11 @@ const An = Qu("column", {
1685
1685
  ]),
1686
1686
  _: 2
1687
1687
  }, 1032, ["onClick"])) : q("", !0),
1688
- C.value.length + De >= 0 && De < s.value.length ? (d(), b(h, {
1688
+ x.value.length + De >= 0 && De < s.value.length ? (d(), b(h, {
1689
1689
  key: 2,
1690
1690
  onClick: () => P(
1691
1691
  ne.path,
1692
- C.value.length + De
1692
+ x.value.length + De
1693
1693
  )
1694
1694
  }, {
1695
1695
  default: k(() => [
@@ -1702,11 +1702,11 @@ const An = Qu("column", {
1702
1702
  ]),
1703
1703
  _: 2
1704
1704
  }, 1032, ["onClick"])) : q("", !0),
1705
- C.value.length + De > 0 && s.value.length > 2 ? (d(), b(h, {
1705
+ x.value.length + De > 0 && s.value.length > 2 ? (d(), b(h, {
1706
1706
  key: 3,
1707
1707
  onClick: () => v(
1708
1708
  ne.path,
1709
- C.value.length + De
1709
+ x.value.length + De
1710
1710
  )
1711
1711
  }, {
1712
1712
  default: k(() => [
@@ -1740,12 +1740,12 @@ const An = Qu("column", {
1740
1740
  onClick: yt(
1741
1741
  () => I({
1742
1742
  value: ne.path,
1743
- index: C.value.length + De
1743
+ index: x.value.length + De
1744
1744
  }),
1745
1745
  ["stop"]
1746
1746
  )
1747
1747
  }, [
1748
- _(A(Cu), { size: "16px" })
1748
+ _(A(xu), { size: "16px" })
1749
1749
  ], 8, Qi)
1750
1750
  ]),
1751
1751
  _: 2
@@ -1837,7 +1837,7 @@ const Lo = { render: e0 }, u0 = { class: "username" }, t0 = /* @__PURE__ */ oe({
1837
1837
  return u.t("管理员");
1838
1838
  }
1839
1839
  return o.userRealName;
1840
- }), M = Q(() => o.displayMode), N = Ei(), I = Q(() => N.logoUrl), j = Q(() => (I.value ?? "") != "" ? { backgroundImage: `url(${I.value})` } : { backgroundImage: `url(${Vi})` }), x = Q(() => o.isSideMenuCollapse);
1840
+ }), M = Q(() => o.displayMode), N = Ei(), I = Q(() => N.logoUrl), j = Q(() => (I.value ?? "") != "" ? { backgroundImage: `url(${I.value})` } : { backgroundImage: `url(${Vi})` }), C = Q(() => o.isSideMenuCollapse);
1841
1841
  function P() {
1842
1842
  o.toggleSideMenuCollapse(), o.isSideHoverMenuShow && (o.isSideHoverMenuShow = !1);
1843
1843
  }
@@ -1858,7 +1858,7 @@ const Lo = { render: e0 }, u0 = { class: "username" }, t0 = /* @__PURE__ */ oe({
1858
1858
  }, 500);
1859
1859
  }
1860
1860
  return (p, D) => {
1861
- const C = Z("t-button"), V = Z("t-icon"), g = Z("t-badge"), F = Z("t-popup"), m = Z("t-dropdown-item"), U = Z("t-dropdown-menu"), E = Z("t-dropdown"), S = Z("t-head-menu"), y = Z("t-header");
1861
+ const x = Z("t-button"), V = Z("t-icon"), g = Z("t-badge"), F = Z("t-popup"), m = Z("t-dropdown-item"), U = Z("t-dropdown-menu"), E = Z("t-dropdown"), S = Z("t-head-menu"), y = Z("t-header");
1862
1862
  return d(), b(y, {
1863
1863
  class: K(e),
1864
1864
  onMouseleave: T
@@ -1880,7 +1880,7 @@ const Lo = { render: e0 }, u0 = { class: "username" }, t0 = /* @__PURE__ */ oe({
1880
1880
  ee("div", {
1881
1881
  class: K(`${e}--collapse-button`)
1882
1882
  }, [
1883
- (O = A(s)) != null && O.enableSideMenu ? (d(), b(C, {
1883
+ (O = A(s)) != null && O.enableSideMenu ? (d(), b(x, {
1884
1884
  key: 0,
1885
1885
  theme: "default",
1886
1886
  shape: "square",
@@ -1888,7 +1888,7 @@ const Lo = { render: e0 }, u0 = { class: "username" }, t0 = /* @__PURE__ */ oe({
1888
1888
  onClick: P
1889
1889
  }, {
1890
1890
  default: k(() => [
1891
- x.value ? (d(), b(A(Cu), {
1891
+ C.value ? (d(), b(A(xu), {
1892
1892
  key: 1,
1893
1893
  size: "large"
1894
1894
  })) : (d(), b(A(Oa), {
@@ -1907,12 +1907,12 @@ const Lo = { render: e0 }, u0 = { class: "username" }, t0 = /* @__PURE__ */ oe({
1907
1907
  ee("div", {
1908
1908
  class: K(`${e}--operations`)
1909
1909
  }, [
1910
- (d(!0), H(ce, null, Ce(A(i), (L, h) => (d(), H(ce, { key: h }, [
1910
+ (d(!0), H(ce, null, xe(A(i), (L, h) => (d(), H(ce, { key: h }, [
1911
1911
  L != null && L.isPopup ? (d(), b(F, ku(ye({ key: 0 }, L == null ? void 0 : L.popupProps)), {
1912
1912
  default: k(() => [
1913
1913
  _(g, ku(ot(L == null ? void 0 : L.badgeProps)), {
1914
1914
  default: k(() => [
1915
- _(C, ye({
1915
+ _(x, ye({
1916
1916
  theme: "default",
1917
1917
  shape: "square",
1918
1918
  variant: "text",
@@ -1956,7 +1956,7 @@ const Lo = { render: e0 }, u0 = { class: "username" }, t0 = /* @__PURE__ */ oe({
1956
1956
  _: 2
1957
1957
  }, 1040)) : (d(), b(g, ku(ye({ key: 1 }, L == null ? void 0 : L.badgeProps)), {
1958
1958
  default: k(() => [
1959
- _(C, ye({
1959
+ _(x, ye({
1960
1960
  theme: "default",
1961
1961
  shape: "square",
1962
1962
  variant: "text",
@@ -2021,7 +2021,7 @@ const Lo = { render: e0 }, u0 = { class: "username" }, t0 = /* @__PURE__ */ oe({
2021
2021
  })
2022
2022
  ]),
2023
2023
  default: k(() => [
2024
- _(C, {
2024
+ _(x, {
2025
2025
  theme: "default",
2026
2026
  variant: "text",
2027
2027
  style: { width: "150px" },
@@ -2043,7 +2043,7 @@ const Lo = { render: e0 }, u0 = { class: "username" }, t0 = /* @__PURE__ */ oe({
2043
2043
  ]),
2044
2044
  _: 1
2045
2045
  }, 8, ["class"]),
2046
- _(C, {
2046
+ _(x, {
2047
2047
  theme: "default",
2048
2048
  shape: "square",
2049
2049
  variant: "text",
@@ -2177,7 +2177,7 @@ const au = (t, u) => {
2177
2177
  };
2178
2178
  return (a, i) => {
2179
2179
  const l = Z("t-menu-item"), s = Z("GLayoutSideMenuContent", !0), c = Z("t-submenu");
2180
- return d(!0), H(ce, null, Ce(a.sideMenuTree, (r) => (d(), H("div", {
2180
+ return d(!0), H(ce, null, xe(a.sideMenuTree, (r) => (d(), H("div", {
2181
2181
  class: K(`${u}`),
2182
2182
  key: r.name
2183
2183
  }, [
@@ -2258,8 +2258,8 @@ const au = (t, u) => {
2258
2258
  if (!N.value && M.value) {
2259
2259
  const f = (w = M.value.$el) == null ? void 0 : w.querySelectorAll(".t-menu__content"), B = Array.from(f).map((p) => {
2260
2260
  var g, F;
2261
- const D = parseInt(getComputedStyle(p.parentElement).paddingLeft), C = ((g = p == null ? void 0 : p.parentElement.querySelector(".t-icon")) == null ? void 0 : g.clientWidth) || 0, V = ((F = p == null ? void 0 : p.parentElement.querySelector(".t-fake-arrow")) == null ? void 0 : F.clientWidth) || 0;
2262
- return p.clientWidth + D + C + V;
2261
+ const D = parseInt(getComputedStyle(p.parentElement).paddingLeft), x = ((g = p == null ? void 0 : p.parentElement.querySelector(".t-icon")) == null ? void 0 : g.clientWidth) || 0, V = ((F = p == null ? void 0 : p.parentElement.querySelector(".t-fake-arrow")) == null ? void 0 : F.clientWidth) || 0;
2262
+ return p.clientWidth + D + x + V;
2263
2263
  }).filter((p) => p > 0), T = Math.max(...B);
2264
2264
  n.setSideMenuWidth(T + 50), n.sideMenuMaxWidth = l.value + 100;
2265
2265
  }
@@ -2276,7 +2276,7 @@ const au = (t, u) => {
2276
2276
  }, 100);
2277
2277
  }
2278
2278
  Q(() => n.sideMenuMinWidth);
2279
- const x = Q(() => n.sideMenuMaxWidth);
2279
+ const C = Q(() => n.sideMenuMaxWidth);
2280
2280
  function P({ size: w }) {
2281
2281
  n.setSideMenuWidth(w), n.setIsSideSelfDragging(!0);
2282
2282
  }
@@ -2300,7 +2300,7 @@ const au = (t, u) => {
2300
2300
  "z-index": 980,
2301
2301
  sizeDraggable: {
2302
2302
  min: 64,
2303
- max: x.value
2303
+ max: C.value
2304
2304
  },
2305
2305
  onSizeDragEnd: P,
2306
2306
  lazy: !0
@@ -2485,7 +2485,7 @@ const vs = [
2485
2485
  return d(), b(j, {
2486
2486
  class: K(`${e}`),
2487
2487
  visible: l.value,
2488
- "onUpdate:visible": M[2] || (M[2] = (x) => l.value = x),
2488
+ "onUpdate:visible": M[2] || (M[2] = (C) => l.value = C),
2489
2489
  closeOnEscKeydown: !1,
2490
2490
  footer: !1
2491
2491
  }, {
@@ -2506,19 +2506,19 @@ const vs = [
2506
2506
  }, ue(A(u).t("主题色")), 3),
2507
2507
  _(I, {
2508
2508
  modelValue: i.value.brandTheme,
2509
- "onUpdate:modelValue": M[0] || (M[0] = (x) => i.value.brandTheme = x),
2509
+ "onUpdate:modelValue": M[0] || (M[0] = (C) => i.value.brandTheme = C),
2510
2510
  onChange: s
2511
2511
  }, {
2512
2512
  default: k(() => [
2513
- (d(!0), H(ce, null, Ce(o.slice(0, o.length - 1), (x, P) => (d(), H("div", { key: P }, [
2513
+ (d(!0), H(ce, null, xe(o.slice(0, o.length - 1), (C, P) => (d(), H("div", { key: P }, [
2514
2514
  (d(), b(N, {
2515
2515
  key: P,
2516
- value: x,
2516
+ value: C,
2517
2517
  class: K(`${e}--container-color-group`)
2518
2518
  }, {
2519
2519
  default: k(() => [
2520
2520
  ee("div", {
2521
- style: su(c(x)),
2521
+ style: su(c(C)),
2522
2522
  class: K(`${e}--container-color-item`)
2523
2523
  }, null, 6)
2524
2524
  ]),
@@ -2533,18 +2533,18 @@ const vs = [
2533
2533
  }, ue(A(u).t("主题模式")), 3),
2534
2534
  _(I, {
2535
2535
  modelValue: i.value.displayMode,
2536
- "onUpdate:modelValue": M[1] || (M[1] = (x) => i.value.displayMode = x),
2536
+ "onUpdate:modelValue": M[1] || (M[1] = (C) => i.value.displayMode = C),
2537
2537
  variant: "default-filled",
2538
2538
  onChange: s
2539
2539
  }, {
2540
2540
  default: k(() => [
2541
- (d(), H(ce, null, Ce(a, (x, P) => ee("div", { key: P }, [
2541
+ (d(), H(ce, null, xe(a, (C, P) => ee("div", { key: P }, [
2542
2542
  (d(), b(N, {
2543
2543
  key: P,
2544
- value: x.type
2544
+ value: C.type
2545
2545
  }, {
2546
2546
  default: k(() => [
2547
- ie(ue(x.text), 1)
2547
+ ie(ue(C.text), 1)
2548
2548
  ]),
2549
2549
  _: 2
2550
2550
  }, 1032, ["value"]))
@@ -2598,10 +2598,10 @@ const c0 = /* @__PURE__ */ au(s0, [["render", M0]]), D0 = /* @__PURE__ */ oe({
2598
2598
  var D;
2599
2599
  if (!((D = n.value) != null && D.$el))
2600
2600
  return;
2601
- const T = n.value.$el.querySelectorAll(".t-menu__content"), p = Array.from(T).map((C) => {
2601
+ const T = n.value.$el.querySelectorAll(".t-menu__content"), p = Array.from(T).map((x) => {
2602
2602
  var m, U;
2603
- const V = parseInt(getComputedStyle(C.parentElement).paddingLeft), g = ((m = C.parentElement.querySelector(".t-icon")) == null ? void 0 : m.clientWidth) || 0, F = ((U = C.parentElement.querySelector(".t-fake-arrow")) == null ? void 0 : U.clientWidth) || 0;
2604
- return C.clientWidth + V + g + F + 30;
2603
+ const V = parseInt(getComputedStyle(x.parentElement).paddingLeft), g = ((m = x.parentElement.querySelector(".t-icon")) == null ? void 0 : m.clientWidth) || 0, F = ((U = x.parentElement.querySelector(".t-fake-arrow")) == null ? void 0 : U.clientWidth) || 0;
2604
+ return x.clientWidth + V + g + F + 30;
2605
2605
  }).filter(Boolean);
2606
2606
  l.value = Math.max(e.level === 1 ? 232 : 150, ...p);
2607
2607
  }, 150), v = (T) => {
@@ -2630,7 +2630,7 @@ const c0 = /* @__PURE__ */ au(s0, [["render", M0]]), D0 = /* @__PURE__ */ oe({
2630
2630
  }
2631
2631
  });
2632
2632
  return (T, p) => {
2633
- const D = Z("t-menu-item"), C = Z("t-submenu"), V = Z("t-menu"), g = Z("t-drawer"), F = Z("GLayoutSideHoverMenuItem", !0);
2633
+ const D = Z("t-menu-item"), x = Z("t-submenu"), V = Z("t-menu"), g = Z("t-drawer"), F = Z("GLayoutSideHoverMenuItem", !0);
2634
2634
  return d(), H(ce, null, [
2635
2635
  _(g, {
2636
2636
  class: K([M, f.value ? "" : "no-transition"]),
@@ -2655,12 +2655,12 @@ const c0 = /* @__PURE__ */ au(s0, [["render", M0]]), D0 = /* @__PURE__ */ oe({
2655
2655
  expandType: "popup"
2656
2656
  }, {
2657
2657
  default: k(() => [
2658
- (d(!0), H(ce, null, Ce(T.menuItems, (m) => {
2658
+ (d(!0), H(ce, null, xe(T.menuItems, (m) => {
2659
2659
  var U;
2660
2660
  return d(), H(ce, {
2661
2661
  key: m.name
2662
2662
  }, [
2663
- (U = m.children) != null && U.length ? (d(), b(C, {
2663
+ (U = m.children) != null && U.length ? (d(), b(x, {
2664
2664
  key: 1,
2665
2665
  class: K(j(m)),
2666
2666
  name: m.name,
@@ -2746,15 +2746,15 @@ const c0 = /* @__PURE__ */ au(s0, [["render", M0]]), D0 = /* @__PURE__ */ oe({
2746
2746
  clearTimeout(l.value), n.isSideHoverMenuShow = !0;
2747
2747
  }, N = (I) => {
2748
2748
  if (st(I)) {
2749
- const x = Au(I, {
2749
+ const C = Au(I, {
2750
2750
  token: n.token,
2751
2751
  sessionId: Mu(),
2752
2752
  lang: n.userLang,
2753
2753
  _venuServType: 2
2754
2754
  });
2755
- window.open(x, "_blank");
2755
+ window.open(C, "_blank");
2756
2756
  } else if (I.startsWith(":")) {
2757
- const x = Au(
2757
+ const C = Au(
2758
2758
  `${window.location.protocol}//${window.location.hostname}${I}`,
2759
2759
  {
2760
2760
  token: n.token,
@@ -2763,7 +2763,7 @@ const c0 = /* @__PURE__ */ au(s0, [["render", M0]]), D0 = /* @__PURE__ */ oe({
2763
2763
  _venuServType: 2
2764
2764
  }
2765
2765
  );
2766
- window.open(x, "_blank");
2766
+ window.open(C, "_blank");
2767
2767
  } else
2768
2768
  u.push(I);
2769
2769
  n.isSideHoverMenuShow = !1;
@@ -2866,7 +2866,7 @@ const yn = We(d0), ko = /* @__PURE__ */ oe({
2866
2866
  class: A(fi),
2867
2867
  placement: "center"
2868
2868
  }, u.commonDialogProps), Ru({ _: 2 }, [
2869
- Ce(u.$slots, (o, a) => ({
2869
+ xe(u.$slots, (o, a) => ({
2870
2870
  name: a,
2871
2871
  fn: k((i) => [
2872
2872
  Pe(u.$slots, a, ku(ot({ ...i })))
@@ -2984,7 +2984,7 @@ const Qs = We(A0), m0 = /* @__PURE__ */ oe({
2984
2984
  ref_key: "tTableRef",
2985
2985
  ref: e
2986
2986
  }, { ...n.value, ...o.commonTableProps }), Ru({ _: 2 }, [
2987
- Ce(o.$slots, (c, r) => ({
2987
+ xe(o.$slots, (c, r) => ({
2988
2988
  name: r,
2989
2989
  fn: k((M) => [
2990
2990
  Pe(o.$slots, r, ku(ot({ ...M })))
@@ -2995,7 +2995,7 @@ const Qs = We(A0), m0 = /* @__PURE__ */ oe({
2995
2995
  ref_key: "tTableRef",
2996
2996
  ref: e
2997
2997
  }, { ...n.value, ...o.commonTableProps }), Ru({ _: 2 }, [
2998
- Ce(o.$slots, (c, r) => ({
2998
+ xe(o.$slots, (c, r) => ({
2999
2999
  name: r,
3000
3000
  fn: k((M) => [
3001
3001
  Pe(o.$slots, r, ku(ot({ ...M })))
@@ -3006,7 +3006,7 @@ const Qs = We(A0), m0 = /* @__PURE__ */ oe({
3006
3006
  ref_key: "tTableRef",
3007
3007
  ref: e
3008
3008
  }, { ...n.value, ...o.commonTableProps }), Ru({ _: 2 }, [
3009
- Ce(o.$slots, (c, r) => ({
3009
+ xe(o.$slots, (c, r) => ({
3010
3010
  name: r,
3011
3011
  fn: k((M) => [
3012
3012
  Pe(o.$slots, r, ku(ot({ ...M })))
@@ -3018,7 +3018,7 @@ const Qs = We(A0), m0 = /* @__PURE__ */ oe({
3018
3018
  }
3019
3019
  });
3020
3020
  const I0 = We(m0), Gt = () => {
3021
- }, Ct = {
3021
+ }, xt = {
3022
3022
  // 普通上传文件 POST
3023
3023
  baseUploadFile: "/api/base/upload",
3024
3024
  // 准备上传文件 POST
@@ -3029,11 +3029,11 @@ const I0 = We(m0), Gt = () => {
3029
3029
  getFileUrl: "/api/base/upload/files/url"
3030
3030
  };
3031
3031
  function y0(t) {
3032
- return Xe.post(`${Ct.uploadReady}`, Ao.stringify(t));
3032
+ return Xe.post(`${xt.uploadReady}`, Ao.stringify(t));
3033
3033
  }
3034
3034
  function E0(t) {
3035
3035
  const u = Mu();
3036
- return Xe.service.get(`${Ct.getFileUrl}?sessionId=${u}`, {
3036
+ return Xe.service.get(`${xt.getFileUrl}?sessionId=${u}`, {
3037
3037
  timeout: 0,
3038
3038
  params: t
3039
3039
  });
@@ -3068,21 +3068,21 @@ const ut = (t) => {
3068
3068
  onError: N = Gt
3069
3069
  }) => {
3070
3070
  var B;
3071
- const I = Hn(u, t) || "file", j = Hn(e, t), x = Mu(), P = i ? `${Ct.pieceUploadFiles}?sessionId=${x}` : `${Ct.baseUploadFile}?sessionId=${x}`, v = ge.getItem(on) ?? "zh-CN", z = [];
3071
+ const I = Hn(u, t) || "file", j = Hn(e, t), C = Mu(), P = i ? `${xt.pieceUploadFiles}?sessionId=${C}` : `${xt.baseUploadFile}?sessionId=${C}`, v = ge.getItem(on) ?? "zh-CN", z = [];
3072
3072
  function w(T, p) {
3073
3073
  let D = 0;
3074
- z.forEach((C) => {
3075
- D += C;
3074
+ z.forEach((x) => {
3075
+ D += x;
3076
3076
  }), T = D > 0 ? Math.min(Math.floor(D / a * 100), 99) / 100 : 0, r(T, p);
3077
3077
  }
3078
3078
  function f(T, p) {
3079
- let D = 0, C = 0, V = !1, g = [];
3079
+ let D = 0, x = 0, V = !1, g = [];
3080
3080
  const F = T.length, m = async () => {
3081
3081
  if (V)
3082
3082
  return;
3083
3083
  const E = T.shift();
3084
3084
  if (E) {
3085
- const S = C++, y = new XMLHttpRequest();
3085
+ const S = x++, y = new XMLHttpRequest();
3086
3086
  o && (y.withCredentials = !0), y.upload.onprogress = (O) => {
3087
3087
  const L = O.total > 0 ? nn.round(O.loaded / O.total, 2) : 0;
3088
3088
  z[S] = O.loaded, w(L, O);
@@ -3113,16 +3113,16 @@ const ut = (t) => {
3113
3113
  }
3114
3114
  if (i && l) {
3115
3115
  let T = [];
3116
- for (let C = 0; C < a; C = C + c) {
3117
- const V = (B = t.file) == null ? void 0 : B.slice(C, Math.min(C + c, a));
3116
+ for (let x = 0; x < a; x = x + c) {
3117
+ const V = (B = t.file) == null ? void 0 : B.slice(x, Math.min(x + c, a));
3118
3118
  T.push(V);
3119
3119
  }
3120
- const p = T == null ? void 0 : T.map((C, V) => {
3120
+ const p = T == null ? void 0 : T.map((x, V) => {
3121
3121
  const g = new FormData(), F = {
3122
3122
  key: l,
3123
3123
  end: V == T.length - 1,
3124
3124
  index: V,
3125
- piece: C
3125
+ piece: x
3126
3126
  };
3127
3127
  if (j)
3128
3128
  for (const m of Object.keys(j))
@@ -3134,17 +3134,17 @@ const ut = (t) => {
3134
3134
  let D = [];
3135
3135
  try {
3136
3136
  D = f(p, s ?? 1);
3137
- } catch (C) {
3138
- N(C);
3137
+ } catch (x) {
3138
+ N(x);
3139
3139
  }
3140
3140
  return D;
3141
3141
  } else {
3142
3142
  const T = new XMLHttpRequest();
3143
3143
  o && (T.withCredentials = o), T.upload.onprogress = (D) => {
3144
- const C = D.total > 0 ? nn.round(D.loaded / D.total, 2) : 0;
3145
- r(C, D);
3146
- }, T.onerror = function(C) {
3147
- N(C);
3144
+ const x = D.total > 0 ? nn.round(D.loaded / D.total, 2) : 0;
3145
+ r(x, D);
3146
+ }, T.onerror = function(x) {
3147
+ N(x);
3148
3148
  }, T.onload = () => {
3149
3149
  if (T.status < 200 || T.status >= 300) {
3150
3150
  N(ut(T));
@@ -3214,7 +3214,7 @@ const ut = (t) => {
3214
3214
  }
3215
3215
  }
3216
3216
  return u ?? [];
3217
- }, Bu = Symbol("GUploader"), C0 = ["disabled", "accept", "multiple"], x0 = ["title"], z0 = /* @__PURE__ */ oe({
3217
+ }, Bu = Symbol("GUploader"), x0 = ["disabled", "accept", "multiple"], C0 = ["title"], z0 = /* @__PURE__ */ oe({
3218
3218
  __name: "GUploaderButton",
3219
3219
  props: {
3220
3220
  uploaderText: {
@@ -3284,7 +3284,7 @@ const ut = (t) => {
3284
3284
  I.files && a.uploadFiles(Gn(I.files)), I.value = "";
3285
3285
  }, r = Q(() => a.fileList && Array.isArray(a.fileList) && a.fileList.some((N) => N.status === "uploading") ? "uploading" : "normal"), M = Q(() => {
3286
3286
  if (a.fileList && Array.isArray(a.fileList) && a.fileList.length > 0) {
3287
- const I = a.fileList.reduce((j, x) => j + (x.percent || 0), 0) / a.fileList.length * 100;
3287
+ const I = a.fileList.reduce((j, C) => j + (C.percent || 0), 0) / a.fileList.length * 100;
3288
3288
  return Math.round(I);
3289
3289
  }
3290
3290
  return 0;
@@ -3305,7 +3305,7 @@ const ut = (t) => {
3305
3305
  disabled: t.disabled,
3306
3306
  accept: t.accept,
3307
3307
  multiple: t.multiple
3308
- }, { ...t.directory ? { webkitdirectory: "webkitdirectory" } : {} }, { onChange: c }), null, 16, C0),
3308
+ }, { ...t.directory ? { webkitdirectory: "webkitdirectory" } : {} }, { onChange: c }), null, 16, x0),
3309
3309
  _(A(fa), ye({
3310
3310
  variant: "outline",
3311
3311
  disabled: t.disabled
@@ -3313,9 +3313,9 @@ const ut = (t) => {
3313
3313
  title: (j = A(e)) != null && j.showButtonProgress ? `${A(u).t("上传进度")}: ${M.value}%` : ""
3314
3314
  }), {
3315
3315
  icon: k(() => {
3316
- var x;
3316
+ var C;
3317
3317
  return [
3318
- (x = A(e)) != null && x.showButtonProgress ? (d(), H(ce, { key: 0 }, [
3318
+ (C = A(e)) != null && C.showButtonProgress ? (d(), H(ce, { key: 0 }, [
3319
3319
  r.value == "normal" ? (d(), b(A(vn), {
3320
3320
  key: 0,
3321
3321
  size: "14"
@@ -3343,7 +3343,7 @@ const ut = (t) => {
3343
3343
  key: 0,
3344
3344
  class: K(`${n.value}-tip`),
3345
3345
  title: t.tip
3346
- }, ue(t.tip), 11, x0)) : q("", !0)
3346
+ }, ue(t.tip), 11, C0)) : q("", !0)
3347
3347
  ], 2);
3348
3348
  };
3349
3349
  }
@@ -3378,7 +3378,7 @@ const ut = (t) => {
3378
3378
  t.file.status == "error" ? (d(), H("span", {
3379
3379
  key: 1,
3380
3380
  class: K([(M = A(e)) == null ? void 0 : M.iconClass, `${(N = A(e)) == null ? void 0 : N.iconClass}-upload`]),
3381
- onClick: s[0] || (s[0] = (x) => {
3381
+ onClick: s[0] || (s[0] = (C) => {
3382
3382
  var P;
3383
3383
  return (P = A(e)) == null ? void 0 : P.onUpload(t.file);
3384
3384
  })
@@ -3390,9 +3390,9 @@ const ut = (t) => {
3390
3390
  theme: "light"
3391
3391
  }, {
3392
3392
  default: k(() => {
3393
- var x;
3393
+ var C;
3394
3394
  return [
3395
- (x = A(e)) != null && x.showRetryButton ? (d(), b(A(It), { key: 0 })) : q("", !0)
3395
+ (C = A(e)) != null && C.showRetryButton ? (d(), b(A(It), { key: 0 })) : q("", !0)
3396
3396
  ];
3397
3397
  }),
3398
3398
  _: 1
@@ -3410,10 +3410,10 @@ const ut = (t) => {
3410
3410
  theme: "light"
3411
3411
  }, {
3412
3412
  default: k(() => {
3413
- var x, P;
3413
+ var C, P;
3414
3414
  return [
3415
3415
  ee("span", {
3416
- class: K([(x = A(e)) == null ? void 0 : x.iconClass, `${(P = A(e)) == null ? void 0 : P.iconClass}-start`]),
3416
+ class: K([(C = A(e)) == null ? void 0 : C.iconClass, `${(P = A(e)) == null ? void 0 : P.iconClass}-start`]),
3417
3417
  onClick: s[1] || (s[1] = (v) => {
3418
3418
  var z;
3419
3419
  return (z = A(e)) == null ? void 0 : z.onUpload(t.file);
@@ -3432,10 +3432,10 @@ const ut = (t) => {
3432
3432
  theme: "light"
3433
3433
  }, {
3434
3434
  default: k(() => {
3435
- var x, P;
3435
+ var C, P;
3436
3436
  return [
3437
3437
  ee("span", {
3438
- class: K([(x = A(e)) == null ? void 0 : x.iconClass, `${(P = A(e)) == null ? void 0 : P.iconClass}-cancel`]),
3438
+ class: K([(C = A(e)) == null ? void 0 : C.iconClass, `${(P = A(e)) == null ? void 0 : P.iconClass}-cancel`]),
3439
3439
  onClick: s[2] || (s[2] = (v) => {
3440
3440
  var z;
3441
3441
  return (z = A(e)) == null ? void 0 : z.onAbort(t.file);
@@ -3525,7 +3525,7 @@ const ut = (t) => {
3525
3525
  ee("span", {
3526
3526
  class: K([A(e).iconClass, `${A(e).iconClass}-remove`])
3527
3527
  }, [
3528
- _(A(Cu))
3528
+ _(A(xu))
3529
3529
  ], 2)
3530
3530
  ]),
3531
3531
  _: 1
@@ -3634,7 +3634,7 @@ const Uo = /* @__PURE__ */ au(L0, [["__scopeId", "data-v-8a486150"]]), O0 = /* @
3634
3634
  class: K(n.value)
3635
3635
  }, {
3636
3636
  default: k(() => [
3637
- (d(!0), H(ce, null, Ce(t.fileList, (l, s) => (d(), b(O0, {
3637
+ (d(!0), H(ce, null, xe(t.fileList, (l, s) => (d(), b(O0, {
3638
3638
  key: `fileItem-${s}`,
3639
3639
  file: l,
3640
3640
  listType: t.listType
@@ -3672,7 +3672,7 @@ const Uo = /* @__PURE__ */ au(L0, [["__scopeId", "data-v-8a486150"]]), O0 = /* @
3672
3672
  }, l = Q(() => a.fileTree.childFiles);
3673
3673
  return (s, c) => {
3674
3674
  var r, M;
3675
- return t.fileTree && ((M = (r = t.fileTree) == null ? void 0 : r.childFiles) != null && M.length) ? (d(), b(A(Ca), {
3675
+ return t.fileTree && ((M = (r = t.fileTree) == null ? void 0 : r.childFiles) != null && M.length) ? (d(), b(A(xa), {
3676
3676
  key: 0,
3677
3677
  hover: "",
3678
3678
  icon: i,
@@ -3986,7 +3986,7 @@ const Uo = /* @__PURE__ */ au(L0, [["__scopeId", "data-v-8a486150"]]), O0 = /* @
3986
3986
  showRemoveButton: N,
3987
3987
  showPreviewButton: I,
3988
3988
  imageLoading: j,
3989
- download: x,
3989
+ download: C,
3990
3990
  showLink: P,
3991
3991
  showButtonProgress: v
3992
3992
  } = Ta(o), z = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), f = R([]), B = Q(() => o.directory ? f.value.length ? vo(f.value) : { fileId: "" } : { fileId: "" }), T = Q(() => o.limit > 0 && f.value.length >= o.limit), p = Q(() => o.buttonText ? o.buttonText : o.directory ? T.value ? `${n.t("重新选择")}` : `${n.t("上传文件夹")}` : T.value ? `${n.t("重新选择")}` : `${n.t("上传文件")}`), D = (h) => {
@@ -4009,7 +4009,7 @@ const Uo = /* @__PURE__ */ au(L0, [["__scopeId", "data-v-8a486150"]]), O0 = /* @
4009
4009
  },
4010
4010
  { immediate: !0, deep: !0 }
4011
4011
  );
4012
- const C = (h) => {
4012
+ const x = (h) => {
4013
4013
  a("update:fileList", f.value), a("change", f.value, h);
4014
4014
  }, V = async (h) => {
4015
4015
  const Y = await y0({
@@ -4032,17 +4032,17 @@ const Uo = /* @__PURE__ */ au(L0, [["__scopeId", "data-v-8a486150"]]), O0 = /* @
4032
4032
  E0({
4033
4033
  key: J
4034
4034
  }).then((te) => {
4035
- te.state == 200 ? (w.delete(G.fileId), G.status = "done", G.percent = 1, G.response = te, G.url = te.data.url, a("success", G), C(G)) : ne(je);
4035
+ te.state == 200 ? (w.delete(G.fileId), G.status = "done", G.percent = 1, G.response = te, G.url = te.data.url, a("success", G), x(G)) : ne(je);
4036
4036
  }).catch(() => {
4037
4037
  ne(je);
4038
4038
  })
4039
4039
  ) : ne(je);
4040
4040
  } : (je) => {
4041
4041
  const G = z.get(h.fileId);
4042
- G && (je.state == 200 ? (G.status = "done", G.percent = 1, G.response = je, w.delete(G.fileId), G.url = je.data.url, C(G), a("success", G)) : ne(je));
4042
+ G && (je.state == 200 ? (G.status = "done", G.percent = 1, G.response = je, w.delete(G.fileId), G.url = je.data.url, x(G), a("success", G)) : ne(je));
4043
4043
  }, ne = (je) => {
4044
4044
  const G = z.get(h.fileId);
4045
- console.warn("上传报错", je, G), G && (G.status = "error", G.percent = 0, G.response = je, w.delete(G.fileId), a("error", G), C(G));
4045
+ console.warn("上传报错", je, G), G && (G.status = "error", G.percent = 0, G.response = je, w.delete(G.fileId), a("error", G), x(G));
4046
4046
  }, De = {
4047
4047
  fileItem: h,
4048
4048
  action: o.action,
@@ -4072,11 +4072,11 @@ const Uo = /* @__PURE__ */ au(L0, [["__scopeId", "data-v-8a486150"]]), O0 = /* @
4072
4072
  (me = se.abort) == null || me.call(se);
4073
4073
  });
4074
4074
  const J = z.get(h.fileId);
4075
- J && (J.status = "error", J.percent = 0, C(J));
4075
+ J && (J.status = "error", J.percent = 0, x(J));
4076
4076
  } else {
4077
4077
  (W = Y == null ? void 0 : Y.abort) == null || W.call(Y), w.delete(h.fileId);
4078
4078
  const J = z.get(h.fileId);
4079
- J && (J.status = "error", J.percent = 0, C(J));
4079
+ J && (J.status = "error", J.percent = 0, x(J));
4080
4080
  }
4081
4081
  }, m = () => {
4082
4082
  if (f.value.length > 0)
@@ -4097,7 +4097,7 @@ const Uo = /* @__PURE__ */ au(L0, [["__scopeId", "data-v-8a486150"]]), O0 = /* @
4097
4097
  percent: 0,
4098
4098
  fileUploadType: "file"
4099
4099
  });
4100
- z.set(W, se), f.value = [...f.value, se], C(se), o.autoUpload && g(se);
4100
+ z.set(W, se), f.value = [...f.value, se], x(se), o.autoUpload && g(se);
4101
4101
  }, S = (h) => {
4102
4102
  if (o.limit > 0 && f.value.length + h.length > o.limit) {
4103
4103
  if (f.value.length > h.length)
@@ -4114,7 +4114,7 @@ const Uo = /* @__PURE__ */ au(L0, [["__scopeId", "data-v-8a486150"]]), O0 = /* @
4114
4114
  }) : E(W);
4115
4115
  }
4116
4116
  }, y = (h) => {
4117
- f.value = f.value.filter((Y) => Y.fileId !== h.fileId), C(h);
4117
+ f.value = f.value.filter((Y) => Y.fileId !== h.fileId), x(h);
4118
4118
  }, O = (h) => {
4119
4119
  wu(o.onBeforeRemove) ? Promise.resolve(o.onBeforeRemove(h)).then((Y) => {
4120
4120
  Y && y(h);
@@ -4141,7 +4141,7 @@ const Uo = /* @__PURE__ */ au(L0, [["__scopeId", "data-v-8a486150"]]), O0 = /* @
4141
4141
  showLink: P,
4142
4142
  showButtonProgress: v,
4143
4143
  imageLoading: j,
4144
- download: x,
4144
+ download: C,
4145
4145
  slots: i,
4146
4146
  onUpload: g,
4147
4147
  onAbort: F,
@@ -4169,7 +4169,7 @@ const Uo = /* @__PURE__ */ au(L0, [["__scopeId", "data-v-8a486150"]]), O0 = /* @
4169
4169
  buttonProps: t.buttonProps,
4170
4170
  fileList: f.value
4171
4171
  }, { ...(W = f.value) != null && W.length ? {} : { tip: t.tip } }), null, 16, ["disabled", "listType", "uploaderText", "multiple", "directory", "hide", "accept", "onButtonClick", "buttonProps", "fileList"])) : q("", !0),
4172
- t.showFileList && f.value.length ? (d(), b(A(xa), {
4172
+ t.showFileList && f.value.length ? (d(), b(A(Ca), {
4173
4173
  key: 1,
4174
4174
  class: K(`${A(gt)}__card`),
4175
4175
  size: "small"
@@ -4223,7 +4223,7 @@ const cn = We(w0), v0 = { class: "display-column-checkbox" }, U0 = { class: "foo
4223
4223
  }, 1e3);
4224
4224
  }
4225
4225
  return (I, j) => {
4226
- const x = Z("t-button"), P = Z("t-checkbox"), v = Z("t-checkbox-group"), z = Z("t-space"), w = Z("t-popup");
4226
+ const C = Z("t-button"), P = Z("t-checkbox"), v = Z("t-checkbox-group"), z = Z("t-space"), w = Z("t-popup");
4227
4227
  return d(), b(w, {
4228
4228
  trigger: "click",
4229
4229
  placement: "bottom-right",
@@ -4258,7 +4258,7 @@ const cn = We(w0), v0 = { class: "display-column-checkbox" }, U0 = { class: "foo
4258
4258
  _: 1
4259
4259
  }),
4260
4260
  ee("div", U0, [
4261
- _(x, {
4261
+ _(C, {
4262
4262
  theme: "default",
4263
4263
  size: "small",
4264
4264
  onClick: j[1] || (j[1] = (f) => l(!0))
@@ -4268,7 +4268,7 @@ const cn = We(w0), v0 = { class: "display-column-checkbox" }, U0 = { class: "foo
4268
4268
  ]),
4269
4269
  _: 1
4270
4270
  }),
4271
- _(x, {
4271
+ _(C, {
4272
4272
  theme: "primary",
4273
4273
  size: "small",
4274
4274
  onClick: N,
@@ -4283,7 +4283,7 @@ const cn = We(w0), v0 = { class: "display-column-checkbox" }, U0 = { class: "foo
4283
4283
  ])
4284
4284
  ]),
4285
4285
  default: k(() => [
4286
- _(x, { theme: "default" }, {
4286
+ _(C, { theme: "default" }, {
4287
4287
  icon: k(() => [
4288
4288
  _(A(Fa))
4289
4289
  ]),
@@ -4355,9 +4355,9 @@ const b0 = /* @__PURE__ */ au(Q0, [["__scopeId", "data-v-3bfb3e93"]]), Y0 = We(b
4355
4355
  class: "color-group"
4356
4356
  }, {
4357
4357
  default: k(() => [
4358
- (d(!0), H(ce, null, Ce(e.slice(0, e.length - 1), (j, x) => (d(), H("div", { key: x }, [
4358
+ (d(!0), H(ce, null, xe(e.slice(0, e.length - 1), (j, C) => (d(), H("div", { key: C }, [
4359
4359
  (d(), b(r, {
4360
- key: x,
4360
+ key: C,
4361
4361
  value: j,
4362
4362
  class: "color-button"
4363
4363
  }, {
@@ -4387,9 +4387,9 @@ const b0 = /* @__PURE__ */ au(Q0, [["__scopeId", "data-v-3bfb3e93"]]), Y0 = We(b
4387
4387
  onChange: i
4388
4388
  }, {
4389
4389
  default: k(() => [
4390
- (d(!0), H(ce, null, Ce(n.value, (j, x) => (d(), H("div", { key: x }, [
4390
+ (d(!0), H(ce, null, xe(n.value, (j, C) => (d(), H("div", { key: C }, [
4391
4391
  (d(), b(r, {
4392
- key: x,
4392
+ key: C,
4393
4393
  value: j.type
4394
4394
  }, {
4395
4395
  default: k(() => [
@@ -4511,7 +4511,7 @@ const Yo = /* @__PURE__ */ au($0, [["__scopeId", "data-v-b9a9d3f9"]]), V0 = ["ti
4511
4511
  }, [
4512
4512
  _(j, ye({
4513
4513
  modelValue: a.value,
4514
- "onUpdate:modelValue": I[0] || (I[0] = (x) => a.value = x)
4514
+ "onUpdate:modelValue": I[0] || (I[0] = (C) => a.value = C)
4515
4515
  }, A(M), {
4516
4516
  type: o.value,
4517
4517
  placeholder: N.placeholder,
@@ -4609,7 +4609,7 @@ async function R0(t, u, e, n) {
4609
4609
  if (o.state === 200) {
4610
4610
  const a = o.data;
4611
4611
  if (!Fe(a) && a.length)
4612
- return xo({
4612
+ return Co({
4613
4613
  list: a,
4614
4614
  parentKey: null,
4615
4615
  keyName: t == null ? void 0 : t.keyName,
@@ -4628,7 +4628,7 @@ async function W0(t, u, e, n) {
4628
4628
  if (o.state === 200) {
4629
4629
  const a = o.data;
4630
4630
  if (!Fe(a) && a.length)
4631
- return xo({
4631
+ return Co({
4632
4632
  list: a,
4633
4633
  parentKey: null,
4634
4634
  keyName: t == null ? void 0 : t.valueName,
@@ -4752,17 +4752,17 @@ const Fo = /* @__PURE__ */ oe({
4752
4752
  const I = Z("t-radio"), j = Z("t-radio-group");
4753
4753
  return d(), b(j, {
4754
4754
  modelValue: s.value,
4755
- "onUpdate:modelValue": N[0] || (N[0] = (x) => s.value = x),
4755
+ "onUpdate:modelValue": N[0] || (N[0] = (C) => s.value = C),
4756
4756
  onChange: r,
4757
4757
  disabled: M.disabled
4758
4758
  }, {
4759
4759
  default: k(() => [
4760
- (d(!0), H(ce, null, Ce(A(l), (x) => (d(), b(I, {
4761
- key: x.key,
4762
- value: x.value
4760
+ (d(!0), H(ce, null, xe(A(l), (C) => (d(), b(I, {
4761
+ key: C.key,
4762
+ value: C.value
4763
4763
  }, {
4764
4764
  default: k(() => [
4765
- ie(ue(x.label), 1)
4765
+ ie(ue(C.label), 1)
4766
4766
  ]),
4767
4767
  _: 2
4768
4768
  }, 1032, ["value"]))), 128))
@@ -4825,16 +4825,16 @@ const Fo = /* @__PURE__ */ oe({
4825
4825
  ), uu(() => {
4826
4826
  I($e(o.value, c));
4827
4827
  });
4828
- const x = R(), P = R(!1);
4828
+ const C = R(), P = R(!1);
4829
4829
  Ye(() => {
4830
- x.value && (P.value = Gu(x.value));
4830
+ C.value && (P.value = Gu(C.value));
4831
4831
  });
4832
4832
  const v = ve(Lt);
4833
4833
  return (z, w) => {
4834
4834
  const f = Z("t-select");
4835
4835
  return d(), H("div", {
4836
4836
  ref_key: "formSelectRef",
4837
- ref: x,
4837
+ ref: C,
4838
4838
  style: { width: "100%" },
4839
4839
  title: P.value ? z.placeholder : ""
4840
4840
  }, [
@@ -4902,7 +4902,7 @@ const Fo = /* @__PURE__ */ oe({
4902
4902
  return Ye(() => {
4903
4903
  s.value && (c.value = Gu(s.value));
4904
4904
  }), (r, M) => {
4905
- var j, x, P, v, z;
4905
+ var j, C, P, v, z;
4906
4906
  const N = Z("t-date-picker"), I = Z("t-time-picker");
4907
4907
  return d(), H("div", {
4908
4908
  ref_key: "formSelectDateTimeRef",
@@ -4910,7 +4910,7 @@ const Fo = /* @__PURE__ */ oe({
4910
4910
  style: { width: "100%" },
4911
4911
  title: c.value ? r.placeholder : ""
4912
4912
  }, [
4913
- ((j = r.formItem) == null ? void 0 : j.itemType) === "date_selector" || ((x = r.formItem) == null ? void 0 : x.itemType) === "date_time_selector" ? (d(), b(N, {
4913
+ ((j = r.formItem) == null ? void 0 : j.itemType) === "date_selector" || ((C = r.formItem) == null ? void 0 : C.itemType) === "date_time_selector" ? (d(), b(N, {
4914
4914
  key: 0,
4915
4915
  "enable-time-picker": ((P = r.formItem) == null ? void 0 : P.itemType) === "date_time_selector",
4916
4916
  placeholder: r.placeholder,
@@ -4959,14 +4959,14 @@ const Fo = /* @__PURE__ */ oe({
4959
4959
  emit: u
4960
4960
  }) {
4961
4961
  const e = t, n = Q(() => {
4962
- var x;
4963
- return (x = e.formItem) == null ? void 0 : x.itemType;
4962
+ var C;
4963
+ return (C = e.formItem) == null ? void 0 : C.itemType;
4964
4964
  }), o = Q(() => {
4965
- var x;
4966
- return (x = e.formItem) == null ? void 0 : x.treeData;
4965
+ var C;
4966
+ return (C = e.formItem) == null ? void 0 : C.treeData;
4967
4967
  }), a = Q(() => {
4968
- var x, P;
4969
- return ((P = (x = e.formItem) == null ? void 0 : x.treeData) == null ? void 0 : P.dataId) ?? "";
4968
+ var C, P;
4969
+ return ((P = (C = e.formItem) == null ? void 0 : C.treeData) == null ? void 0 : P.dataId) ?? "";
4970
4970
  }), i = ve(Yu, void 0), {
4971
4971
  options: l
4972
4972
  } = Ot({
@@ -4976,11 +4976,11 @@ const Fo = /* @__PURE__ */ oe({
4976
4976
  dataId: a.value,
4977
4977
  propsModel: i
4978
4978
  }), s = u;
4979
- function c(x) {
4980
- s("update:modelValue", x);
4979
+ function c(C) {
4980
+ s("update:modelValue", C);
4981
4981
  }
4982
- function r(x) {
4983
- e.originValue != x && s("blur:modelValue", x);
4982
+ function r(C) {
4983
+ e.originValue != C && s("blur:modelValue", C);
4984
4984
  }
4985
4985
  Te(() => e.disabled, () => {
4986
4986
  e.disabled || c($e(n.value));
@@ -4992,16 +4992,16 @@ const Fo = /* @__PURE__ */ oe({
4992
4992
  M.value && (N.value = Gu(M.value));
4993
4993
  });
4994
4994
  const I = R(e.modelValue);
4995
- Te(() => e.modelValue, (x) => {
4996
- e.modelValue ? I.value = ji(l.value, x) : I.value = x;
4995
+ Te(() => e.modelValue, (C) => {
4996
+ e.modelValue ? I.value = ji(l.value, C) : I.value = C;
4997
4997
  }, {
4998
4998
  deep: !0,
4999
4999
  immediate: !0
5000
5000
  });
5001
- const j = (x, P) => _("span", {
5001
+ const j = (C, P) => _("span", {
5002
5002
  title: P.label
5003
5003
  }, [P.label]);
5004
- return (x, P) => {
5004
+ return (C, P) => {
5005
5005
  const v = Z("t-tree-select");
5006
5006
  return d(), H("div", {
5007
5007
  ref_key: "formTreeCheckBoxRef",
@@ -5009,19 +5009,19 @@ const Fo = /* @__PURE__ */ oe({
5009
5009
  style: {
5010
5010
  width: "100%"
5011
5011
  },
5012
- title: N.value ? x.placeholder : ""
5012
+ title: N.value ? C.placeholder : ""
5013
5013
  }, [_(v, {
5014
5014
  modelValue: I.value,
5015
5015
  "onUpdate:modelValue": P[0] || (P[0] = (z) => I.value = z),
5016
5016
  data: A(l),
5017
- placeholder: x.placeholder,
5018
- multiple: x.multiple,
5017
+ placeholder: C.placeholder,
5018
+ multiple: C.multiple,
5019
5019
  "min-collapsed-num": 3,
5020
5020
  treeProps: {
5021
5021
  valueMode: "all",
5022
5022
  label: j
5023
5023
  },
5024
- disabled: x.disabled,
5024
+ disabled: C.disabled,
5025
5025
  clearable: !0,
5026
5026
  onChange: c,
5027
5027
  onBlur: r
@@ -5048,8 +5048,8 @@ const Fo = /* @__PURE__ */ oe({
5048
5048
  var j;
5049
5049
  return (j = e.formItem) == null ? void 0 : j.treeData;
5050
5050
  }), a = Q(() => {
5051
- var j, x;
5052
- return ((x = (j = e.formItem) == null ? void 0 : j.treeData) == null ? void 0 : x.dataId) ?? "";
5051
+ var j, C;
5052
+ return ((C = (j = e.formItem) == null ? void 0 : j.treeData) == null ? void 0 : C.dataId) ?? "";
5053
5053
  }), i = ve(Yu, void 0), { options: l } = Ot({
5054
5054
  itemType: n.value,
5055
5055
  viewName: e.viewName,
@@ -5085,7 +5085,7 @@ const Fo = /* @__PURE__ */ oe({
5085
5085
  deep: !0,
5086
5086
  immediate: !0
5087
5087
  }
5088
- ), (j, x) => {
5088
+ ), (j, C) => {
5089
5089
  const P = Z("t-cascader");
5090
5090
  return d(), H("div", {
5091
5091
  ref_key: "formCascaderRef",
@@ -5095,7 +5095,7 @@ const Fo = /* @__PURE__ */ oe({
5095
5095
  }, [
5096
5096
  _(P, {
5097
5097
  modelValue: I.value,
5098
- "onUpdate:modelValue": x[0] || (x[0] = (v) => I.value = v),
5098
+ "onUpdate:modelValue": C[0] || (C[0] = (v) => I.value = v),
5099
5099
  options: A(l),
5100
5100
  multiple: j.multiple,
5101
5101
  disabled: j.disabled,
@@ -5151,11 +5151,11 @@ const Fo = /* @__PURE__ */ oe({
5151
5151
  else if (n.formItem.fileUploadType == "path")
5152
5152
  if (r.length) {
5153
5153
  const M = r.map((N) => {
5154
- const { fileId: I, filename: j, relativePath: x, url: P, file: v } = N;
5154
+ const { fileId: I, filename: j, relativePath: C, url: P, file: v } = N;
5155
5155
  return {
5156
5156
  fileId: I,
5157
5157
  filename: j,
5158
- relativePath: x,
5158
+ relativePath: C,
5159
5159
  url: P,
5160
5160
  ...P ? {} : { file: v }
5161
5161
  };
@@ -5209,7 +5209,7 @@ var Ho = { exports: {} };
5209
5209
  return T instanceof f;
5210
5210
  }, j = function(T, p, D) {
5211
5211
  return new f(T, D, p.$l);
5212
- }, x = function(T) {
5212
+ }, C = function(T) {
5213
5213
  return n.p(T) + "s";
5214
5214
  }, P = function(T) {
5215
5215
  return T < 0;
@@ -5220,15 +5220,15 @@ var Ho = { exports: {} };
5220
5220
  }, w = function(T, p) {
5221
5221
  return T ? P(T) ? { negative: !0, format: "" + z(T) + p } : { negative: !1, format: "" + T + p } : { negative: !1, format: "" };
5222
5222
  }, f = function() {
5223
- function T(D, C, V) {
5223
+ function T(D, x, V) {
5224
5224
  var g = this;
5225
- if (this.$d = {}, this.$l = V, D === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), C)
5226
- return j(D * N[x(C)], this);
5225
+ if (this.$d = {}, this.$l = V, D === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), x)
5226
+ return j(D * N[C(x)], this);
5227
5227
  if (typeof D == "number")
5228
5228
  return this.$ms = D, this.parseFromMilliseconds(), this;
5229
5229
  if (typeof D == "object")
5230
5230
  return Object.keys(D).forEach(function(U) {
5231
- g.$d[x(U)] = D[U];
5231
+ g.$d[C(U)] = D[U];
5232
5232
  }), this.calMilliseconds(), this;
5233
5233
  if (typeof D == "string") {
5234
5234
  var F = D.match(M);
@@ -5244,39 +5244,39 @@ var Ho = { exports: {} };
5244
5244
  var p = T.prototype;
5245
5245
  return p.calMilliseconds = function() {
5246
5246
  var D = this;
5247
- this.$ms = Object.keys(this.$d).reduce(function(C, V) {
5248
- return C + (D.$d[V] || 0) * N[V];
5247
+ this.$ms = Object.keys(this.$d).reduce(function(x, V) {
5248
+ return x + (D.$d[V] || 0) * N[V];
5249
5249
  }, 0);
5250
5250
  }, p.parseFromMilliseconds = function() {
5251
5251
  var D = this.$ms;
5252
5252
  this.$d.years = v(D / c), D %= c, this.$d.months = v(D / r), D %= r, this.$d.days = v(D / l), D %= l, this.$d.hours = v(D / i), D %= i, this.$d.minutes = v(D / a), D %= a, this.$d.seconds = v(D / o), D %= o, this.$d.milliseconds = D;
5253
5253
  }, p.toISOString = function() {
5254
- var D = w(this.$d.years, "Y"), C = w(this.$d.months, "M"), V = +this.$d.days || 0;
5254
+ var D = w(this.$d.years, "Y"), x = w(this.$d.months, "M"), V = +this.$d.days || 0;
5255
5255
  this.$d.weeks && (V += 7 * this.$d.weeks);
5256
5256
  var g = w(V, "D"), F = w(this.$d.hours, "H"), m = w(this.$d.minutes, "M"), U = this.$d.seconds || 0;
5257
5257
  this.$d.milliseconds && (U += this.$d.milliseconds / 1e3, U = Math.round(1e3 * U) / 1e3);
5258
- var E = w(U, "S"), S = D.negative || C.negative || g.negative || F.negative || m.negative || E.negative, y = F.format || m.format || E.format ? "T" : "", O = (S ? "-" : "") + "P" + D.format + C.format + g.format + y + F.format + m.format + E.format;
5258
+ var E = w(U, "S"), S = D.negative || x.negative || g.negative || F.negative || m.negative || E.negative, y = F.format || m.format || E.format ? "T" : "", O = (S ? "-" : "") + "P" + D.format + x.format + g.format + y + F.format + m.format + E.format;
5259
5259
  return O === "P" || O === "-P" ? "P0D" : O;
5260
5260
  }, p.toJSON = function() {
5261
5261
  return this.toISOString();
5262
5262
  }, p.format = function(D) {
5263
- var C = D || "YYYY-MM-DDTHH:mm:ss", V = { Y: this.$d.years, YY: n.s(this.$d.years, 2, "0"), YYYY: n.s(this.$d.years, 4, "0"), M: this.$d.months, MM: n.s(this.$d.months, 2, "0"), D: this.$d.days, DD: n.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: n.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: n.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: n.s(this.$d.seconds, 2, "0"), SSS: n.s(this.$d.milliseconds, 3, "0") };
5264
- return C.replace(s, function(g, F) {
5263
+ var x = D || "YYYY-MM-DDTHH:mm:ss", V = { Y: this.$d.years, YY: n.s(this.$d.years, 2, "0"), YYYY: n.s(this.$d.years, 4, "0"), M: this.$d.months, MM: n.s(this.$d.months, 2, "0"), D: this.$d.days, DD: n.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: n.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: n.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: n.s(this.$d.seconds, 2, "0"), SSS: n.s(this.$d.milliseconds, 3, "0") };
5264
+ return x.replace(s, function(g, F) {
5265
5265
  return F || String(V[g]);
5266
5266
  });
5267
5267
  }, p.as = function(D) {
5268
- return this.$ms / N[x(D)];
5268
+ return this.$ms / N[C(D)];
5269
5269
  }, p.get = function(D) {
5270
- var C = this.$ms, V = x(D);
5271
- return V === "milliseconds" ? C %= 1e3 : C = V === "weeks" ? v(C / N[V]) : this.$d[V], C || 0;
5272
- }, p.add = function(D, C, V) {
5270
+ var x = this.$ms, V = C(D);
5271
+ return V === "milliseconds" ? x %= 1e3 : x = V === "weeks" ? v(x / N[V]) : this.$d[V], x || 0;
5272
+ }, p.add = function(D, x, V) {
5273
5273
  var g;
5274
- return g = C ? D * N[x(C)] : I(D) ? D.$ms : j(D, this).$ms, j(this.$ms + g * (V ? -1 : 1), this);
5275
- }, p.subtract = function(D, C) {
5276
- return this.add(D, C, !0);
5274
+ return g = x ? D * N[C(x)] : I(D) ? D.$ms : j(D, this).$ms, j(this.$ms + g * (V ? -1 : 1), this);
5275
+ }, p.subtract = function(D, x) {
5276
+ return this.add(D, x, !0);
5277
5277
  }, p.locale = function(D) {
5278
- var C = this.clone();
5279
- return C.$l = D, C;
5278
+ var x = this.clone();
5279
+ return x.$l = D, x;
5280
5280
  }, p.clone = function() {
5281
5281
  return j(this.$ms, this);
5282
5282
  }, p.humanize = function(D) {
@@ -5324,9 +5324,9 @@ var Ho = { exports: {} };
5324
5324
  var m = D.locale();
5325
5325
  return j(g, { $l: m }, F);
5326
5326
  }, D.isDuration = I;
5327
- var C = p.prototype.add, V = p.prototype.subtract;
5327
+ var x = p.prototype.add, V = p.prototype.subtract;
5328
5328
  p.prototype.add = function(g, F) {
5329
- return I(g) ? B(this, g, 1) : C.bind(this)(g, F);
5329
+ return I(g) ? B(this, g, 1) : x.bind(this)(g, F);
5330
5330
  }, p.prototype.subtract = function(g, F) {
5331
5331
  return I(g) ? B(this, g, -1) : V.bind(this)(g, F);
5332
5332
  };
@@ -5360,20 +5360,20 @@ const u4 = /* @__PURE__ */ X0(e4), t4 = ["title"], n4 = /* @__PURE__ */ oe({
5360
5360
  const a = u;
5361
5361
  function i(r) {
5362
5362
  if (r) {
5363
- const M = r.split(":"), [N, I, j] = M, x = ju.duration({
5363
+ const M = r.split(":"), [N, I, j] = M, C = ju.duration({
5364
5364
  hours: N,
5365
5365
  minutes: I,
5366
5366
  seconds: j
5367
5367
  }).asMilliseconds();
5368
- a("update:modelValue", x);
5368
+ a("update:modelValue", C);
5369
5369
  } else
5370
5370
  a("update:modelValue", "");
5371
5371
  }
5372
5372
  function l(r) {
5373
- const { value: M } = r, N = M.split(":"), [I, j, x] = N, P = ju.duration({
5373
+ const { value: M } = r, N = M.split(":"), [I, j, C] = N, P = ju.duration({
5374
5374
  hours: I,
5375
5375
  minutes: j,
5376
- seconds: x
5376
+ seconds: C
5377
5377
  }).asMilliseconds();
5378
5378
  e.originValue != P && a("blur:modelValue", P);
5379
5379
  }
@@ -5420,7 +5420,7 @@ const o4 = /* @__PURE__ */ oe({
5420
5420
  },
5421
5421
  emits: ["update:modelValue", "blur:modelValue"],
5422
5422
  setup(t, { emit: u }) {
5423
- const e = `${xi}__editor`, n = t;
5423
+ const e = `${Ci}__editor`, n = t;
5424
5424
  Q(() => {
5425
5425
  var z;
5426
5426
  return (z = n.formItem) == null ? void 0 : z.itemType;
@@ -5455,7 +5455,7 @@ const o4 = /* @__PURE__ */ oe({
5455
5455
  }, N = (z) => {
5456
5456
  }, I = R(!1), j = (z) => {
5457
5457
  I.value = !0;
5458
- }, x = (z) => {
5458
+ }, C = (z) => {
5459
5459
  I.value = !1, n.originValue != z.getHtml() && c("blur:modelValue", z.getHtml());
5460
5460
  }, P = () => {
5461
5461
  const z = i.value;
@@ -5491,7 +5491,7 @@ const o4 = /* @__PURE__ */ oe({
5491
5491
  onOnChange: M,
5492
5492
  onOnDestroyed: N,
5493
5493
  onOnFocus: j,
5494
- onOnBlur: x
5494
+ onOnBlur: C
5495
5495
  }, null, 8, ["class", "mode", "modelValue"])
5496
5496
  ], 2));
5497
5497
  }
@@ -5549,7 +5549,7 @@ const o4 = /* @__PURE__ */ oe({
5549
5549
  return uu(() => {
5550
5550
  l($e(o.value));
5551
5551
  }), (N, I) => {
5552
- const j = Z("t-button"), x = Z("t-input"), P = Z("t-input-group"), v = Z("t-space");
5552
+ const j = Z("t-button"), C = Z("t-input"), P = Z("t-input-group"), v = Z("t-space");
5553
5553
  return d(), b(v, null, {
5554
5554
  default: k(() => [
5555
5555
  a.value.length == 0 ? (d(), b(j, {
@@ -5566,9 +5566,9 @@ const o4 = /* @__PURE__ */ oe({
5566
5566
  direction: "vertical"
5567
5567
  }, {
5568
5568
  default: k(() => [
5569
- (d(!0), H(ce, null, Ce(a.value, (z, w) => (d(), b(P, { key: w }, {
5569
+ (d(!0), H(ce, null, xe(a.value, (z, w) => (d(), b(P, { key: w }, {
5570
5570
  default: k(() => [
5571
- _(x, {
5571
+ _(C, {
5572
5572
  style: { width: "200px" },
5573
5573
  value: z,
5574
5574
  placeholder: N.placeholder,
@@ -5651,8 +5651,8 @@ const i4 = ["id"], l4 = /* @__PURE__ */ oe({
5651
5651
  emits: ["after-update-value"],
5652
5652
  setup(t, { expose: u, emit: e }) {
5653
5653
  const { T: n, localLanguage: o } = Ae(), a = t, i = Q(() => a.formModel), { handleItemShowIf: l, handleItemDisableIf: s } = En({ formModel: i }), c = e;
5654
- function r(D, C) {
5655
- c("after-update-value", D, C);
5654
+ function r(D, x) {
5655
+ c("after-update-value", D, x);
5656
5656
  }
5657
5657
  const M = Q(() => a.formItem.disableIf ? s(a.formItem.disableIf, a.formItem) : !1), N = R(!0);
5658
5658
  function I() {
@@ -5661,7 +5661,7 @@ const i4 = ["id"], l4 = /* @__PURE__ */ oe({
5661
5661
  function j(D) {
5662
5662
  N.value = D;
5663
5663
  }
5664
- const x = Q(
5664
+ const C = Q(
5665
5665
  () => a.formItem.keyName ? a.formItem.keyName : a.formItem.name
5666
5666
  ), P = Q(() => {
5667
5667
  switch (a.formItem.itemType) {
@@ -5698,16 +5698,16 @@ const i4 = ["id"], l4 = /* @__PURE__ */ oe({
5698
5698
  a.isLabelNameShow && p();
5699
5699
  }), tu(Lt, a.componentProps), u({
5700
5700
  formItem: a.formItem,
5701
- formItemId: x.value,
5701
+ formItemId: C.value,
5702
5702
  getDisableFlag: I,
5703
5703
  setBlockShowFlag: j
5704
- }), (D, C) => {
5704
+ }), (D, x) => {
5705
5705
  const V = Z("t-divider"), g = Z("t-tooltip"), F = Z("t-form-item");
5706
5706
  return d(), H("div", {
5707
5707
  ref_key: "formItemRef",
5708
5708
  ref: T,
5709
5709
  class: K(`${A(Wn)}`),
5710
- id: x.value
5710
+ id: C.value
5711
5711
  }, [
5712
5712
  N.value ? (d(), H(ce, { key: 0 }, [
5713
5713
  D.formItem.itemType === "line" && D.formItem.name && A(l)(D.formItem.showIf, D.formItem) ? (d(), b(V, {
@@ -5764,7 +5764,7 @@ const i4 = ["id"], l4 = /* @__PURE__ */ oe({
5764
5764
  modelValue: A(le)(i.value, D.formItem.keyName),
5765
5765
  placeholder: v.value,
5766
5766
  disabled: M.value,
5767
- "onUpdate:modelValue": C[0] || (C[0] = (y) => r(D.formItem.keyName, y))
5767
+ "onUpdate:modelValue": x[0] || (x[0] = (y) => r(D.formItem.keyName, y))
5768
5768
  }), null, 16, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : q("", !0),
5769
5769
  D.formItem.itemType === "text_input" && D.formItem.inputType == "RE_PASSWORD" ? (d(), b(Dn, ye({ key: 2 }, D.componentProps, {
5770
5770
  formItem: D.formItem,
@@ -5772,26 +5772,26 @@ const i4 = ["id"], l4 = /* @__PURE__ */ oe({
5772
5772
  modelValue: A(le)(i.value, "rePassword"),
5773
5773
  placeholder: v.value,
5774
5774
  disabled: M.value,
5775
- "onUpdate:modelValue": C[1] || (C[1] = (y) => r("rePassword", y))
5775
+ "onUpdate:modelValue": x[1] || (x[1] = (y) => r("rePassword", y))
5776
5776
  }), null, 16, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : q("", !0),
5777
5777
  D.formItem.itemType === "check_box" ? (d(), b(Bo, ye({ key: 3 }, D.componentProps, {
5778
5778
  modelValue: A(le)(i.value, D.formItem.keyName, !1),
5779
5779
  disabled: M.value,
5780
- "onUpdate:modelValue": C[2] || (C[2] = (y) => r(D.formItem.keyName, y))
5780
+ "onUpdate:modelValue": x[2] || (x[2] = (y) => r(D.formItem.keyName, y))
5781
5781
  }), null, 16, ["modelValue", "disabled"])) : q("", !0),
5782
5782
  D.formItem.itemType === "switch" ? (d(), b(_o, ye({ key: 4 }, D.componentProps, {
5783
5783
  formItem: D.formItem,
5784
5784
  viewName: D.viewName,
5785
5785
  modelValue: A(le)(i.value, D.formItem.keyName, !1),
5786
5786
  disabled: M.value,
5787
- "onUpdate:modelValue": C[3] || (C[3] = (y) => r(D.formItem.keyName, y))
5787
+ "onUpdate:modelValue": x[3] || (x[3] = (y) => r(D.formItem.keyName, y))
5788
5788
  }), null, 16, ["formItem", "viewName", "modelValue", "disabled"])) : q("", !0),
5789
5789
  D.formItem.itemType === "radio" ? (d(), b(Fo, ye({ key: 5 }, D.componentProps, {
5790
5790
  modelValue: A(le)(i.value, D.formItem.keyName),
5791
5791
  formItem: D.formItem,
5792
5792
  viewName: D.viewName,
5793
5793
  disabled: M.value,
5794
- "onUpdate:modelValue": C[4] || (C[4] = (y) => r(D.formItem.keyName, y))
5794
+ "onUpdate:modelValue": x[4] || (x[4] = (y) => r(D.formItem.keyName, y))
5795
5795
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled"])) : q("", !0),
5796
5796
  D.formItem.itemType === "selector" || D.formItem.itemType === "multi_selector" ? (d(), b(Po, ye({ key: 6 }, D.componentProps, {
5797
5797
  key: (E = D.formItem.listData) == null ? void 0 : E.dataId,
@@ -5801,7 +5801,7 @@ const i4 = ["id"], l4 = /* @__PURE__ */ oe({
5801
5801
  multiple: D.formItem.itemType === "multi_selector",
5802
5802
  disabled: M.value,
5803
5803
  placeholder: v.value,
5804
- "onUpdate:modelValue": C[5] || (C[5] = (y) => r(D.formItem.keyName, y))
5804
+ "onUpdate:modelValue": x[5] || (x[5] = (y) => r(D.formItem.keyName, y))
5805
5805
  }), null, 16, ["modelValue", "formItem", "viewName", "multiple", "disabled", "placeholder"])) : q("", !0),
5806
5806
  D.formItem.itemType === "date_selector" || D.formItem.itemType === "time_selector" || D.formItem.itemType === "date_time_selector" ? (d(), b($o, ye({ key: 7 }, D.componentProps, {
5807
5807
  modelValue: A(le)(i.value, D.formItem.keyName),
@@ -5809,7 +5809,7 @@ const i4 = ["id"], l4 = /* @__PURE__ */ oe({
5809
5809
  viewName: D.viewName,
5810
5810
  disabled: M.value,
5811
5811
  placeholder: v.value,
5812
- "onUpdate:modelValue": C[6] || (C[6] = (y) => r(D.formItem.keyName, y))
5812
+ "onUpdate:modelValue": x[6] || (x[6] = (y) => r(D.formItem.keyName, y))
5813
5813
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : q("", !0),
5814
5814
  D.formItem.itemType == "delay_selector" ? (d(), b(n4, ye({ key: 8 }, D.componentProps, {
5815
5815
  modelValue: A(le)(i.value, D.formItem.keyName),
@@ -5817,7 +5817,7 @@ const i4 = ["id"], l4 = /* @__PURE__ */ oe({
5817
5817
  viewName: D.viewName,
5818
5818
  disabled: M.value,
5819
5819
  placeholder: v.value,
5820
- "onUpdate:modelValue": C[7] || (C[7] = (y) => r(D.formItem.keyName, y))
5820
+ "onUpdate:modelValue": x[7] || (x[7] = (y) => r(D.formItem.keyName, y))
5821
5821
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : q("", !0),
5822
5822
  D.formItem.itemType === "tree_check_box" ? (d(), b(Vo, ye({ key: 9 }, D.componentProps, {
5823
5823
  modelValue: A(le)(i.value, D.formItem.keyName),
@@ -5825,7 +5825,7 @@ const i4 = ["id"], l4 = /* @__PURE__ */ oe({
5825
5825
  viewName: D.viewName,
5826
5826
  disabled: M.value,
5827
5827
  placeholder: v.value,
5828
- "onUpdate:modelValue": C[8] || (C[8] = (y) => r(D.formItem.keyName, y))
5828
+ "onUpdate:modelValue": x[8] || (x[8] = (y) => r(D.formItem.keyName, y))
5829
5829
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : q("", !0),
5830
5830
  D.formItem.itemType === "multi_tree_selector" || D.formItem.itemType === "tree_selector" ? (d(), b(Ro, ye({ key: 10 }, D.componentProps, {
5831
5831
  modelValue: A(le)(i.value, D.formItem.keyName),
@@ -5834,7 +5834,7 @@ const i4 = ["id"], l4 = /* @__PURE__ */ oe({
5834
5834
  multiple: D.formItem.itemType === "multi_tree_selector",
5835
5835
  disabled: M.value,
5836
5836
  placeholder: v.value,
5837
- "onUpdate:modelValue": C[9] || (C[9] = (y) => r(D.formItem.keyName, y))
5837
+ "onUpdate:modelValue": x[9] || (x[9] = (y) => r(D.formItem.keyName, y))
5838
5838
  }), null, 16, ["modelValue", "formItem", "viewName", "multiple", "disabled", "placeholder"])) : q("", !0),
5839
5839
  D.formItem.itemType === "file" ? (d(), b(Wo, ye({ key: 11 }, D.componentProps, {
5840
5840
  modelValue: A(le)(i.value, D.formItem.keyName),
@@ -5843,8 +5843,8 @@ const i4 = ["id"], l4 = /* @__PURE__ */ oe({
5843
5843
  disabled: M.value,
5844
5844
  placeholder: v.value,
5845
5845
  fileName: D.formItem.fileUploadType == "file" ? A(le)(i.value, D.formItem.filenameKeyName) || ((S = A(le)(i.value, D.formItem.keyName)) == null ? void 0 : S.split("/").slice(-1)[0]) : "",
5846
- "onUpdate:fileName": C[10] || (C[10] = (y) => D.formItem.filenameKeyName && r(D.formItem.filenameKeyName, y)),
5847
- "onUpdate:modelValue": C[11] || (C[11] = (y) => r(D.formItem.keyName, y))
5846
+ "onUpdate:fileName": x[10] || (x[10] = (y) => D.formItem.filenameKeyName && r(D.formItem.filenameKeyName, y)),
5847
+ "onUpdate:modelValue": x[11] || (x[11] = (y) => r(D.formItem.keyName, y))
5848
5848
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder", "fileName"])) : q("", !0),
5849
5849
  D.formItem.itemType === "tag" ? (d(), b(a4, ye({ key: 12 }, D.componentProps, {
5850
5850
  modelValue: A(le)(i.value, D.formItem.keyName),
@@ -5852,7 +5852,7 @@ const i4 = ["id"], l4 = /* @__PURE__ */ oe({
5852
5852
  viewName: D.viewName,
5853
5853
  disabled: M.value,
5854
5854
  placeholder: v.value,
5855
- "onUpdate:modelValue": C[12] || (C[12] = (y) => r(D.formItem.keyName, y))
5855
+ "onUpdate:modelValue": x[12] || (x[12] = (y) => r(D.formItem.keyName, y))
5856
5856
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : q("", !0),
5857
5857
  D.formItem.itemType === "rich_text" ? (d(), b(o4, ye({ key: 13 }, D.componentProps, {
5858
5858
  modelValue: A(le)(i.value, D.formItem.keyName),
@@ -5860,7 +5860,7 @@ const i4 = ["id"], l4 = /* @__PURE__ */ oe({
5860
5860
  viewName: D.viewName,
5861
5861
  disabled: M.value,
5862
5862
  placeholder: v.value,
5863
- "onUpdate:modelValue": C[13] || (C[13] = (y) => r(D.formItem.keyName, y))
5863
+ "onUpdate:modelValue": x[13] || (x[13] = (y) => r(D.formItem.keyName, y))
5864
5864
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : q("", !0)
5865
5865
  ];
5866
5866
  }),
@@ -5871,7 +5871,7 @@ const i4 = ["id"], l4 = /* @__PURE__ */ oe({
5871
5871
  };
5872
5872
  }
5873
5873
  });
5874
- const xt = /* @__PURE__ */ au(l4, [["__scopeId", "data-v-a507a307"]]), r4 = ["id"], Go = /* @__PURE__ */ oe({
5874
+ const Ct = /* @__PURE__ */ au(l4, [["__scopeId", "data-v-a507a307"]]), r4 = ["id"], Go = /* @__PURE__ */ oe({
5875
5875
  __name: "GFormBlock",
5876
5876
  props: {
5877
5877
  name: {},
@@ -5978,7 +5978,7 @@ const xt = /* @__PURE__ */ au(l4, [["__scopeId", "data-v-a507a307"]]), r4 = ["id
5978
5978
  }
5979
5979
  }
5980
5980
  }
5981
- const j = R(), x = R();
5981
+ const j = R(), C = R();
5982
5982
  function P(g, F, m) {
5983
5983
  j.value && j.value.forEach((U) => {
5984
5984
  U.formItemId && F.includes(U.formItemId) && U.$el.classList.contains(g) && U.setBlockShowFlag(m);
@@ -6035,7 +6035,7 @@ const xt = /* @__PURE__ */ au(l4, [["__scopeId", "data-v-a507a307"]]), r4 = ["id
6035
6035
  }
6036
6036
  return F;
6037
6037
  }
6038
- function C(g) {
6038
+ function x(g) {
6039
6039
  switch (g.action) {
6040
6040
  case "CONFIRM": {
6041
6041
  z().then((F) => {
@@ -6098,19 +6098,19 @@ const xt = /* @__PURE__ */ au(l4, [["__scopeId", "data-v-a507a307"]]), r4 = ["id
6098
6098
  }
6099
6099
  }, {
6100
6100
  body: k(() => [
6101
- (d(!0), H(ce, null, Ce(i.value, (U) => (d(), H(ce, {
6101
+ (d(!0), H(ce, null, xe(i.value, (U) => (d(), H(ce, {
6102
6102
  key: `${U.name}_${U.keyName}`
6103
6103
  }, [
6104
6104
  U.itemType === "block_start" || U.itemType === "block_end" ? (d(), b(Go, {
6105
6105
  key: 0,
6106
6106
  ref_for: !0,
6107
6107
  ref_key: "formBlockRef",
6108
- ref: x,
6108
+ ref: C,
6109
6109
  name: U.name,
6110
6110
  blockType: U.itemType,
6111
6111
  showIf: A(s)(U.showIf),
6112
6112
  onBlockShowIfChange: P
6113
- }, null, 8, ["name", "blockType", "showIf"])) : (d(), b(xt, {
6113
+ }, null, 8, ["name", "blockType", "showIf"])) : (d(), b(Ct, {
6114
6114
  key: 1,
6115
6115
  ref_for: !0,
6116
6116
  ref_key: "formItemRef",
@@ -6128,7 +6128,7 @@ const xt = /* @__PURE__ */ au(l4, [["__scopeId", "data-v-a507a307"]]), r4 = ["id
6128
6128
  B.value && B.value.name != "" && B.value.action !== "NONE" ? (d(), b(m, {
6129
6129
  key: 0,
6130
6130
  theme: "default",
6131
- onClick: F[0] || (F[0] = (E) => B.value && C(B.value))
6131
+ onClick: F[0] || (F[0] = (E) => B.value && x(B.value))
6132
6132
  }, {
6133
6133
  default: k(() => {
6134
6134
  var E;
@@ -6141,7 +6141,7 @@ const xt = /* @__PURE__ */ au(l4, [["__scopeId", "data-v-a507a307"]]), r4 = ["id
6141
6141
  f.value && f.value.name != "" && ((U = f.value) == null ? void 0 : U.action) !== "NONE" ? (d(), b(m, {
6142
6142
  key: 1,
6143
6143
  theme: "primary",
6144
- onClick: F[1] || (F[1] = (E) => f.value && C(f.value)),
6144
+ onClick: F[1] || (F[1] = (E) => f.value && x(f.value)),
6145
6145
  loading: V.value
6146
6146
  }, {
6147
6147
  default: k(() => {
@@ -6205,9 +6205,9 @@ const M4 = /* @__PURE__ */ oe({
6205
6205
  })).state === 200 ? (pe.success(`${n.t("提交成功")}`), N.value && (N.value.formOkButtonLoading = !1), !0) : (N.value && (N.value.formOkButtonLoading = !1), !1);
6206
6206
  }
6207
6207
  async function j(w, f) {
6208
- await I(w, f) && x();
6208
+ await I(w, f) && C();
6209
6209
  }
6210
- function x() {
6210
+ function C() {
6211
6211
  r("close-dialog");
6212
6212
  }
6213
6213
  const P = R({}), v = R(!1);
@@ -6255,7 +6255,7 @@ const M4 = /* @__PURE__ */ oe({
6255
6255
  formData: P.value,
6256
6256
  onConfirmForm: I,
6257
6257
  onConfirmAndClose: j,
6258
- onCloseDialog: x
6258
+ onCloseDialog: C
6259
6259
  }, null, 8, ["viewName", "board", "dialogProps", "formData"])
6260
6260
  ]),
6261
6261
  _: 1
@@ -6308,7 +6308,7 @@ const M4 = /* @__PURE__ */ oe({
6308
6308
  w = `${location.origin}/${f}`;
6309
6309
  }
6310
6310
  return n.dialogViewInfo.link ? w : "";
6311
- }), x = R(), P = R(!0);
6311
+ }), C = R(), P = R(!0);
6312
6312
  function v() {
6313
6313
  P.value = !1;
6314
6314
  }
@@ -6346,7 +6346,7 @@ const M4 = /* @__PURE__ */ oe({
6346
6346
  key: 1,
6347
6347
  class: "g-iframe",
6348
6348
  ref_key: "dialogIframeRef",
6349
- ref: x,
6349
+ ref: C,
6350
6350
  src: j.value,
6351
6351
  scrolling: "auto",
6352
6352
  frameborder: "0",
@@ -6397,9 +6397,9 @@ const N4 = We(D4), g4 = { class: "g-form" }, d4 = { class: "g-form-header" }, T4
6397
6397
  deep: !0
6398
6398
  }
6399
6399
  );
6400
- const x = R(), P = Q(() => {
6400
+ const C = R(), P = Q(() => {
6401
6401
  var y;
6402
- return (y = x.value) == null ? void 0 : y.tFormRef;
6402
+ return (y = C.value) == null ? void 0 : y.tFormRef;
6403
6403
  }), v = R({});
6404
6404
  async function z() {
6405
6405
  let y = [];
@@ -6432,8 +6432,8 @@ const N4 = We(D4), g4 = { class: "g-form" }, d4 = { class: "g-form-header" }, T4
6432
6432
  })), y == null ? void 0 : y.reduce((O, L) => (L.rules.length && (O[L.keyName] = L.rules), O), {});
6433
6433
  }
6434
6434
  function w() {
6435
- if (x.value) {
6436
- const y = x.value.$el;
6435
+ if (C.value) {
6436
+ const y = C.value.$el;
6437
6437
  if (y) {
6438
6438
  const O = y.querySelectorAll(".t-form__label label");
6439
6439
  if (O) {
@@ -6457,12 +6457,12 @@ const N4 = We(D4), g4 = { class: "g-form" }, d4 = { class: "g-form-header" }, T4
6457
6457
  }
6458
6458
  async function D(y = []) {
6459
6459
  var h;
6460
- const O = C();
6460
+ const O = x();
6461
6461
  return (y.length ? y.some((Y) => O.includes(Y)) : !0) ? (h = P.value) == null ? void 0 : h.validate({
6462
6462
  fields: y.length ? y : O
6463
6463
  }) : Promise.resolve({});
6464
6464
  }
6465
- const C = () => {
6465
+ const x = () => {
6466
6466
  var y;
6467
6467
  return (y = f == null ? void 0 : f.value) == null ? void 0 : y.flatMap((O) => {
6468
6468
  const { formItem: L } = O;
@@ -6593,7 +6593,7 @@ const N4 = We(D4), g4 = { class: "g-form" }, d4 = { class: "g-form-header" }, T4
6593
6593
  ]),
6594
6594
  _(A(So), {
6595
6595
  ref_key: "commonFormRef",
6596
- ref: x,
6596
+ ref: C,
6597
6597
  commonFormProps: {
6598
6598
  data: r.value,
6599
6599
  rules: v.value,
@@ -6602,7 +6602,7 @@ const N4 = We(D4), g4 = { class: "g-form" }, d4 = { class: "g-form-header" }, T4
6602
6602
  }
6603
6603
  }, {
6604
6604
  body: k(() => [
6605
- (d(!0), H(ce, null, Ce(c.value, (Y) => (d(), H(ce, {
6605
+ (d(!0), H(ce, null, xe(c.value, (Y) => (d(), H(ce, {
6606
6606
  key: `${Y.name}_${Y.keyName}`
6607
6607
  }, [
6608
6608
  Y.itemType === "block_start" || Y.itemType === "block_end" ? (d(), b(Go, {
@@ -6614,7 +6614,7 @@ const N4 = We(D4), g4 = { class: "g-form" }, d4 = { class: "g-form-header" }, T4
6614
6614
  blockType: Y.itemType,
6615
6615
  showIf: A(M)(Y.showIf),
6616
6616
  onBlockShowIfChange: T
6617
- }, null, 8, ["name", "blockType", "showIf"])) : (d(), b(xt, {
6617
+ }, null, 8, ["name", "blockType", "showIf"])) : (d(), b(Ct, {
6618
6618
  key: 1,
6619
6619
  ref_for: !0,
6620
6620
  ref_key: "formItemRef",
@@ -6737,12 +6737,12 @@ const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-0e96ba67"]]), m4 = We(A
6737
6737
  function j(T, p) {
6738
6738
  p !== null && typeof p < "u" ? Ke(N.value, T, p) : r.value.includes(T) ? Ke(N.value, T, "all") : Ke(N.value, T, p), I.value && clearTimeout(I.value), I.value = setTimeout(() => {
6739
6739
  const D = _e(N.value);
6740
- Object.keys(D).forEach((C) => {
6741
- r.value.includes(C) && D[C] == "all" && delete D[C], (D[C] === "" || D[C] === null) && delete D[C];
6740
+ Object.keys(D).forEach((x) => {
6741
+ r.value.includes(x) && D[x] == "all" && delete D[x], (D[x] === "" || D[x] === null) && delete D[x];
6742
6742
  }), o("header-filter-change", D);
6743
6743
  }, 300);
6744
6744
  }
6745
- function x(T) {
6745
+ function C(T) {
6746
6746
  return T.itemType == "selector" ? {
6747
6747
  filterable: !0
6748
6748
  } : T.itemType == "text_input" ? {
@@ -6773,13 +6773,13 @@ const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-0e96ba67"]]), m4 = We(A
6773
6773
  }), tu("isHeaderFormItem", !0);
6774
6774
  const B = ve("tableSelectedRow", R([]));
6775
6775
  return (T, p) => {
6776
- const D = Z("t-button"), C = Z("t-space"), V = Z("t-form");
6777
- return d(), H("div", y4, [a.value && a.value.length ? (d(), b(C, {
6776
+ const D = Z("t-button"), x = Z("t-space"), V = Z("t-form");
6777
+ return d(), H("div", y4, [a.value && a.value.length ? (d(), b(x, {
6778
6778
  key: 0,
6779
6779
  class: "g-header-button",
6780
6780
  size: "8px"
6781
6781
  }, {
6782
- default: k(() => [(d(!0), H(ce, null, Ce(a.value, (g) => (d(), H(ce, {
6782
+ default: k(() => [(d(!0), H(ce, null, xe(a.value, (g) => (d(), H(ce, {
6783
6783
  key: g.buttonId
6784
6784
  }, [g.action == "UPLOAD_FILE" ? (d(), b(I4, {
6785
6785
  key: 0,
@@ -6802,7 +6802,7 @@ const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-0e96ba67"]]), m4 = We(A
6802
6802
  _: 2
6803
6803
  }, 1032, ["onClick"]))], 64))), 128))]),
6804
6804
  _: 1
6805
- })) : q("", !0), ee("div", E4, [_(C, {
6805
+ })) : q("", !0), ee("div", E4, [_(x, {
6806
6806
  size: "8px"
6807
6807
  }, {
6808
6808
  default: k(() => [_(V, {
@@ -6810,7 +6810,7 @@ const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-0e96ba67"]]), m4 = We(A
6810
6810
  layout: "inline",
6811
6811
  colon: ""
6812
6812
  }, {
6813
- default: k(() => [(d(!0), H(ce, null, Ce(s.value, (g, F) => (d(), b(xt, {
6813
+ default: k(() => [(d(!0), H(ce, null, xe(s.value, (g, F) => (d(), b(Ct, {
6814
6814
  ref_for: !0,
6815
6815
  ref: "gFormItemRefs",
6816
6816
  key: F,
@@ -6822,24 +6822,24 @@ const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-0e96ba67"]]), m4 = We(A
6822
6822
  viewName: T.viewName,
6823
6823
  onAfterUpdateValue: j,
6824
6824
  isLabelNameShow: !0,
6825
- componentProps: x(g),
6825
+ componentProps: C(g),
6826
6826
  "enable-label-ellipsis": !1
6827
6827
  }, null, 8, ["formItem", "formModel", "viewName", "componentProps"]))), 128))]),
6828
6828
  _: 1
6829
6829
  })]),
6830
6830
  _: 1
6831
- }), _(C, {
6831
+ }), _(x, {
6832
6832
  size: "8px"
6833
6833
  }, {
6834
- default: k(() => [(d(!0), H(ce, null, Ce(c.value, (g, F) => (d(), H("div", {
6834
+ default: k(() => [(d(!0), H(ce, null, xe(c.value, (g, F) => (d(), H("div", {
6835
6835
  key: F
6836
- }, [_(xt, {
6836
+ }, [_(Ct, {
6837
6837
  formItem: g,
6838
6838
  formModel: N.value,
6839
6839
  viewName: T.viewName,
6840
6840
  onAfterUpdateValue: j,
6841
6841
  isLabelNameShow: !1,
6842
- componentProps: x(g)
6842
+ componentProps: C(g)
6843
6843
  }, null, 8, ["formItem", "formModel", "viewName", "componentProps"])]))), 128)), s.value.length || c.value.length ? (d(), b(D, {
6844
6844
  key: 0,
6845
6845
  theme: "default",
@@ -6857,7 +6857,7 @@ const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-0e96ba67"]]), m4 = We(A
6857
6857
  };
6858
6858
  }
6859
6859
  });
6860
- const p4 = /* @__PURE__ */ au(f4, [["__scopeId", "data-v-63db2f69"]]), C4 = We(p4), x4 = /* @__PURE__ */ oe({
6860
+ const p4 = /* @__PURE__ */ au(f4, [["__scopeId", "data-v-63db2f69"]]), x4 = We(p4), C4 = /* @__PURE__ */ oe({
6861
6861
  __name: "GTableForm",
6862
6862
  props: {
6863
6863
  col: {},
@@ -6880,7 +6880,7 @@ const p4 = /* @__PURE__ */ au(f4, [["__scopeId", "data-v-63db2f69"]]), C4 = We(p
6880
6880
  return tu(Lt, {}), (r, M) => (d(), H("div", {
6881
6881
  class: K(`${n}`)
6882
6882
  }, [
6883
- (d(!0), H(ce, null, Ce(i.value, (N) => {
6883
+ (d(!0), H(ce, null, xe(i.value, (N) => {
6884
6884
  var I;
6885
6885
  return d(), H("div", {
6886
6886
  key: N.keyName
@@ -6992,25 +6992,25 @@ const p4 = /* @__PURE__ */ au(f4, [["__scopeId", "data-v-63db2f69"]]), C4 = We(p
6992
6992
  if (D.showIf === "1")
6993
6993
  return !0;
6994
6994
  try {
6995
- const C = mu.render(D.showIf, { item: e.row });
6996
- return rn(C, { item: e.row });
6997
- } catch (C) {
6998
- return console.warn("Button filter evaluation error:", C), !1;
6995
+ const x = mu.render(D.showIf, { item: e.row });
6996
+ return rn(x, { item: e.row });
6997
+ } catch (x) {
6998
+ return console.warn("Button filter evaluation error:", x), !1;
6999
6999
  }
7000
- })), j = (D) => D.name ? r.value.get(D.name) ?? 0 : 0, x = Q(() => I.value.reduce((D, C) => D + j(C), 0)), P = Q(() => {
7000
+ })), j = (D) => D.name ? r.value.get(D.name) ?? 0 : 0, C = Q(() => I.value.reduce((D, x) => D + j(x), 0)), P = Q(() => {
7001
7001
  if (!c.value || !s.value)
7002
7002
  return I.value.length;
7003
7003
  if (s.value < N.value) {
7004
- let D = s.value, C = 0, V = dt;
7004
+ let D = s.value, x = 0, V = dt;
7005
7005
  I.value.length > M.value && (D -= Zt);
7006
7006
  for (const g of I.value) {
7007
7007
  const F = j(g);
7008
7008
  if (V + F < D)
7009
- V += F, C++;
7009
+ V += F, x++;
7010
7010
  else
7011
7011
  break;
7012
7012
  }
7013
- return Math.max(M.value, C);
7013
+ return Math.max(M.value, x);
7014
7014
  } else
7015
7015
  return I.value.length;
7016
7016
  }), v = Q(() => I.value.slice(0, P.value)), z = Q(() => I.value.slice(P.value)), w = Q(() => z.value.length > 0);
@@ -7020,14 +7020,14 @@ const p4 = /* @__PURE__ */ au(f4, [["__scopeId", "data-v-63db2f69"]]), C4 = We(p
7020
7020
  D <= 0 && (s.value = Zt);
7021
7021
  }
7022
7022
  );
7023
- const f = (D, C) => {
7024
- n.value && (n.value = !1), o("table-button-action", D, C);
7023
+ const f = (D, x) => {
7024
+ n.value && (n.value = !1), o("table-button-action", D, x);
7025
7025
  }, B = async () => {
7026
- l.value.forEach((C, V) => {
7026
+ l.value.forEach((x, V) => {
7027
7027
  const g = I.value[V];
7028
- g && g.name && (C != null && C.$el) && r.value.set(g.name, C.$el.offsetWidth);
7028
+ g && g.name && (x != null && x.$el) && r.value.set(g.name, x.$el.offsetWidth);
7029
7029
  }), await ro();
7030
- const D = x.value + dt;
7030
+ const D = C.value + dt;
7031
7031
  N.value = D, s.value = D, c.value = !0;
7032
7032
  };
7033
7033
  Ye(() => {
@@ -7039,7 +7039,7 @@ const p4 = /* @__PURE__ */ au(f4, [["__scopeId", "data-v-63db2f69"]]), C4 = We(p
7039
7039
  const D = I.value[0];
7040
7040
  return (D ? j(D) : 0) + (w.value ? Zt : 0) + dt;
7041
7041
  }), p = Q(
7042
- () => N.value || x.value + dt
7042
+ () => N.value || C.value + dt
7043
7043
  );
7044
7044
  return Te(
7045
7045
  () => [e.operationsWidth, p, T],
@@ -7047,7 +7047,7 @@ const p4 = /* @__PURE__ */ au(f4, [["__scopeId", "data-v-63db2f69"]]), C4 = We(p
7047
7047
  D && typeof D == "number" && (p.value && D < p.value ? D > T.value ? s.value = Math.min(D, N.value) : s.value = T.value : s.value = p.value);
7048
7048
  },
7049
7049
  { deep: !0 }
7050
- ), (D, C) => {
7050
+ ), (D, x) => {
7051
7051
  const V = Z("t-button"), g = Z("t-space"), F = Z("t-popup");
7052
7052
  return c.value ? (d(), b(g, {
7053
7053
  key: 0,
@@ -7060,7 +7060,7 @@ const p4 = /* @__PURE__ */ au(f4, [["__scopeId", "data-v-63db2f69"]]), C4 = We(p
7060
7060
  }
7061
7061
  }, {
7062
7062
  default: k(() => [
7063
- (d(!0), H(ce, null, Ce(v.value, (m) => (d(), b(V, {
7063
+ (d(!0), H(ce, null, xe(v.value, (m) => (d(), b(V, {
7064
7064
  key: m.name,
7065
7065
  ref_for: !0,
7066
7066
  ref_key: "buttonRefs",
@@ -7077,7 +7077,7 @@ const p4 = /* @__PURE__ */ au(f4, [["__scopeId", "data-v-63db2f69"]]), C4 = We(p
7077
7077
  w.value ? (d(), b(F, {
7078
7078
  key: 0,
7079
7079
  visible: n.value,
7080
- "onUpdate:visible": C[0] || (C[0] = (m) => n.value = m),
7080
+ "onUpdate:visible": x[0] || (x[0] = (m) => n.value = m),
7081
7081
  trigger: "hover",
7082
7082
  overlayClassName: "omitted-dropdown"
7083
7083
  }, {
@@ -7087,7 +7087,7 @@ const p4 = /* @__PURE__ */ au(f4, [["__scopeId", "data-v-63db2f69"]]), C4 = We(p
7087
7087
  size: "0"
7088
7088
  }, {
7089
7089
  default: k(() => [
7090
- (d(!0), H(ce, null, Ce(z.value, (m) => (d(), b(V, {
7090
+ (d(!0), H(ce, null, xe(z.value, (m) => (d(), b(V, {
7091
7091
  key: m.name,
7092
7092
  theme: "primary",
7093
7093
  variant: "text",
@@ -7128,7 +7128,7 @@ const p4 = /* @__PURE__ */ au(f4, [["__scopeId", "data-v-63db2f69"]]), C4 = We(p
7128
7128
  }
7129
7129
  }, {
7130
7130
  default: k(() => [
7131
- (d(!0), H(ce, null, Ce(I.value, (m) => (d(), b(V, {
7131
+ (d(!0), H(ce, null, xe(I.value, (m) => (d(), b(V, {
7132
7132
  key: m.name,
7133
7133
  ref_for: !0,
7134
7134
  ref_key: "initButtonRefs",
@@ -7376,7 +7376,7 @@ class k4 {
7376
7376
  function S4(t, {
7377
7377
  filename: u = "",
7378
7378
  extension: e = "",
7379
- format: x,
7379
+ format: C,
7380
7380
  page: o,
7381
7381
  quality: a,
7382
7382
  matte: i,
@@ -7384,12 +7384,12 @@ function S4(t, {
7384
7384
  outline: s,
7385
7385
  archive: I
7386
7386
  } = {}) {
7387
- var { fromMime: r, toMime: M, expected: N } = new k4(), I = I || "canvas", j = x || e.replace(/@\d+x$/i, "") || O4(u), x = r(M(j) || j), P = M(x), v = t.length;
7387
+ var { fromMime: r, toMime: M, expected: N } = new k4(), I = I || "canvas", j = C || e.replace(/@\d+x$/i, "") || O4(u), C = r(M(j) || j), P = M(C), v = t.length;
7388
7388
  if (!j)
7389
7389
  throw new Error(
7390
7390
  "Cannot determine image format (use a filename extension or 'format' argument)"
7391
7391
  );
7392
- if (!x)
7392
+ if (!C)
7393
7393
  throw new Error(`Unsupported file format "${j}" (expected ${N})`);
7394
7394
  if (!v)
7395
7395
  throw new RangeError(
@@ -7400,7 +7400,7 @@ function S4(t, {
7400
7400
  throw new RangeError(
7401
7401
  v == 1 ? `Canvas only has a ‘page 1’ (${B} is out of bounds)` : `Canvas has pages 1–${v} (${B} is out of bounds)`
7402
7402
  );
7403
- if (t = isFinite(B) ? [t[B]] : w || x == "pdf" ? t : t.slice(-1), a === void 0)
7403
+ if (t = isFinite(B) ? [t[B]] : w || C == "pdf" ? t : t.slice(-1), a === void 0)
7404
7404
  a = 0.92;
7405
7405
  else if (typeof a != "number" || !isFinite(a) || a < 0 || a > 1)
7406
7406
  throw new TypeError(
@@ -7411,10 +7411,10 @@ function S4(t, {
7411
7411
  l = T ? parseInt(T[1], 10) : 1;
7412
7412
  } else if (typeof l != "number" || !Number.isInteger(l) || l < 1)
7413
7413
  throw new TypeError("The density option must be a non-negative integer");
7414
- return s === void 0 ? s = !0 : x == "svg" && (s = !!s), {
7414
+ return s === void 0 ? s = !0 : C == "svg" && (s = !!s), {
7415
7415
  filename: u,
7416
7416
  pattern: f,
7417
- format: x,
7417
+ format: C,
7418
7418
  mime: P,
7419
7419
  pages: t,
7420
7420
  padding: z,
@@ -7565,7 +7565,7 @@ let F4 = class {
7565
7565
  },
7566
7566
  saveAs(l, s) {
7567
7567
  s = typeof s == "number" ? { quality: s } : s;
7568
- let c = en(this.pages, { filename: l, ...s }), { pattern: r, padding: M, mime: N, quality: I, matte: j, density: x, archive: P } = c, v = Xt(c.pages, x);
7568
+ let c = en(this.pages, { filename: l, ...s }), { pattern: r, padding: M, mime: N, quality: I, matte: j, density: C, archive: P } = c, v = Xt(c.pages, C);
7569
7569
  return M == null ? Y4(v[0], N, I, j, l) : B4(
7570
7570
  v,
7571
7571
  N,
@@ -7578,13 +7578,13 @@ let F4 = class {
7578
7578
  },
7579
7579
  toBuffer(l = "png", s = {}) {
7580
7580
  s = typeof s == "number" ? { quality: s } : s;
7581
- let c = en(this.pages, { extension: l, ...s }), { mime: r, quality: M, matte: N, pages: I, density: j } = c, x = Xt(I, j, N)[0];
7582
- return Jt(x, r, M, N);
7581
+ let c = en(this.pages, { extension: l, ...s }), { mime: r, quality: M, matte: N, pages: I, density: j } = c, C = Xt(I, j, N)[0];
7582
+ return Jt(C, r, M, N);
7583
7583
  },
7584
7584
  [Kn]: n.toDataURL.bind(n),
7585
7585
  toDataURL(l = "png", s = {}) {
7586
7586
  s = typeof s == "number" ? { quality: s } : s;
7587
- let c = en(this.pages, { extension: l, ...s }), { mime: r, quality: M, matte: N, pages: I, density: j } = c, x = Xt(I, j, N)[0], P = x[x === n ? Kn : "toDataURL"](r, M);
7587
+ let c = en(this.pages, { extension: l, ...s }), { mime: r, quality: M, matte: N, pages: I, density: j } = c, C = Xt(I, j, N)[0], P = C[C === n ? Kn : "toDataURL"](r, M);
7588
7588
  return Promise.resolve(P);
7589
7589
  }
7590
7590
  });
@@ -7812,21 +7812,21 @@ const el = Uu(
7812
7812
  return e;
7813
7813
  }, ll = (t, u, e) => {
7814
7814
  const a = e;
7815
- var i, l, s, c, r, M, N, B, I, j, f, x, T, p, C, D;
7815
+ var i, l, s, c, r, M, N, B, I, j, f, C, T, p, x, D;
7816
7816
  const P = new Array(e), v = new Array(4096), z = new Array(4096), w = new Array(4096 + 1);
7817
- for (x = t, l = 1 << x, r = l + 1, i = l + 2, N = -1, c = x + 1, s = (1 << c) - 1, I = 0; I < l; I++)
7817
+ for (C = t, l = 1 << C, r = l + 1, i = l + 2, N = -1, c = C + 1, s = (1 << c) - 1, I = 0; I < l; I++)
7818
7818
  v[I] = 0, z[I] = I;
7819
- var f, B, T, p, D, C;
7820
- for (f = B = T = p = D = C = 0, j = 0; j < a; ) {
7819
+ var f, B, T, p, D, x;
7820
+ for (f = B = T = p = D = x = 0, j = 0; j < a; ) {
7821
7821
  if (p === 0) {
7822
7822
  if (B < c) {
7823
- f += u[C] << B, B += 8, C++;
7823
+ f += u[x] << B, B += 8, x++;
7824
7824
  continue;
7825
7825
  }
7826
7826
  if (I = f & s, f >>= c, B -= c, I > i || I == r)
7827
7827
  break;
7828
7828
  if (I == l) {
7829
- c = x + 1, s = (1 << c) - 1, i = l + 2, N = -1;
7829
+ c = C + 1, s = (1 << c) - 1, i = l + 2, N = -1;
7830
7830
  continue;
7831
7831
  }
7832
7832
  if (N == -1) {
@@ -7937,7 +7937,7 @@ class gl {
7937
7937
  u.put(this.parsedData[e], 8);
7938
7938
  }
7939
7939
  }
7940
- class xu {
7940
+ class Cu {
7941
7941
  constructor(u = -1, e = Ve.L) {
7942
7942
  this.moduleCount = 0, this.dataList = [], this.typeNumber = u, this.errorCorrectLevel = e, this.moduleCount = 0, this.dataList = [];
7943
7943
  }
@@ -7971,7 +7971,7 @@ class xu {
7971
7971
  for (let o = 0; o < this.moduleCount; o++)
7972
7972
  this.modules[n][o] = null;
7973
7973
  }
7974
- this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(u, e), this.typeNumber >= 7 && this.setupTypeNumber(u), this.dataCache == null && (this.dataCache = xu.createData(this.typeNumber, this.errorCorrectLevel, this.dataList)), this.mapData(this.dataCache, e);
7974
+ this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(u, e), this.typeNumber >= 7 && this.setupTypeNumber(u), this.dataCache == null && (this.dataCache = Cu.createData(this.typeNumber, this.errorCorrectLevel, this.dataList)), this.mapData(this.dataCache, e);
7975
7975
  }
7976
7976
  setupPositionProbePattern(u, e) {
7977
7977
  for (let n = -1; n <= 7; n++)
@@ -8058,9 +8058,9 @@ class xu {
8058
8058
  throw new Error(`code length overflow. (${a.getLengthInBits()}>${l * 8})`);
8059
8059
  for (a.getLengthInBits() + 4 <= l * 8 && a.put(0, 4); a.getLengthInBits() % 8 != 0; )
8060
8060
  a.putBit(!1);
8061
- for (; !(a.getLengthInBits() >= l * 8 || (a.put(xu.PAD0, 8), a.getLengthInBits() >= l * 8)); )
8062
- a.put(xu.PAD1, 8);
8063
- return xu.createBytes(a, o);
8061
+ for (; !(a.getLengthInBits() >= l * 8 || (a.put(Cu.PAD0, 8), a.getLengthInBits() >= l * 8)); )
8062
+ a.put(Cu.PAD1, 8);
8063
+ return Cu.createBytes(a, o);
8064
8064
  }
8065
8065
  static createBytes(u, e) {
8066
8066
  let n = 0, o = 0, a = 0;
@@ -8071,8 +8071,8 @@ class xu {
8071
8071
  for (var c = 0; c < i[s].length; c++)
8072
8072
  i[s][c] = 255 & u.buffer[c + n];
8073
8073
  n += I;
8074
- const x = fe.getErrorCorrectPolynomial(j), v = new Hu(i[s], x.getLength() - 1).mod(x);
8075
- l[s] = new Array(x.getLength() - 1);
8074
+ const C = fe.getErrorCorrectPolynomial(j), v = new Hu(i[s], C.getLength() - 1).mod(C);
8075
+ l[s] = new Array(C.getLength() - 1);
8076
8076
  for (var c = 0; c < l[s].length; c++) {
8077
8077
  const w = c + v.getLength() - l[s].length;
8078
8078
  l[s][c] = w >= 0 ? v.get(w) : 0;
@@ -8092,8 +8092,8 @@ class xu {
8092
8092
  return M;
8093
8093
  }
8094
8094
  }
8095
- xu.PAD0 = 236;
8096
- xu.PAD1 = 17;
8095
+ Cu.PAD0 = 236;
8096
+ Cu.PAD1 = 17;
8097
8097
  const Ve = { L: 1, M: 0, Q: 3, H: 2 }, Ze = { MODE_NUMBER: 1, MODE_ALPHA_NUM: 2, MODE_8BIT_BYTE: 4, MODE_KANJI: 8 }, du = {
8098
8098
  PATTERN000: 0,
8099
8099
  PATTERN001: 1,
@@ -8588,14 +8588,14 @@ const lu = [
8588
8588
  [2809, 2213, 1579, 1219],
8589
8589
  [2953, 2331, 1663, 1273]
8590
8590
  ];
8591
- var Tl = 100, be = 256, qn = be - 1, pu = 4, ua = 16, Cn = 1 << ua, ta = 10, xn = 10, jl = Cn >> xn, Al = Cn << ta - xn, ml = be >> 3, gn = 6, Il = 1 << gn, yl = ml * Il, El = 30, na = 10, Tt = 1 << na, oa = 8, Jn = 1 << oa, fl = na + oa, $u = 1 << fl, Xn = 499, eo = 491, uo = 487, aa = 503, pl = 3 * aa;
8592
- function Cl(t, u) {
8591
+ var Tl = 100, be = 256, qn = be - 1, pu = 4, ua = 16, xn = 1 << ua, ta = 10, Cn = 10, jl = xn >> Cn, Al = xn << ta - Cn, ml = be >> 3, gn = 6, Il = 1 << gn, yl = ml * Il, El = 30, na = 10, Tt = 1 << na, oa = 8, Jn = 1 << oa, fl = na + oa, $u = 1 << fl, Xn = 499, eo = 491, uo = 487, aa = 503, pl = 3 * aa;
8592
+ function xl(t, u) {
8593
8593
  var e, n, o, a, i;
8594
8594
  function l() {
8595
8595
  e = [], n = new Int32Array(256), o = new Int32Array(be), a = new Int32Array(be), i = new Int32Array(be >> 3);
8596
8596
  var v, z;
8597
8597
  for (v = 0; v < be; v++)
8598
- z = (v << pu + 8) / be, e[v] = new Float64Array([z, z, z, 0]), a[v] = Cn / be, o[v] = 0;
8598
+ z = (v << pu + 8) / be, e[v] = new Float64Array([z, z, z, 0]), a[v] = xn / be, o[v] = 0;
8599
8599
  }
8600
8600
  function s() {
8601
8601
  for (var v = 0; v < be; v++)
@@ -8605,13 +8605,13 @@ function Cl(t, u) {
8605
8605
  e[z][0] -= v * (e[z][0] - w) / Tt, e[z][1] -= v * (e[z][1] - f) / Tt, e[z][2] -= v * (e[z][2] - B) / Tt;
8606
8606
  }
8607
8607
  function r(v, z, w, f, B) {
8608
- for (var T = Math.abs(z - v), p = Math.min(z + v, be), D = z + 1, C = z - 1, V = 1, g, F; D < p || C > T; )
8609
- F = i[V++], D < p && (g = e[D++], g[0] -= F * (g[0] - w) / $u, g[1] -= F * (g[1] - f) / $u, g[2] -= F * (g[2] - B) / $u), C > T && (g = e[C--], g[0] -= F * (g[0] - w) / $u, g[1] -= F * (g[1] - f) / $u, g[2] -= F * (g[2] - B) / $u);
8608
+ for (var T = Math.abs(z - v), p = Math.min(z + v, be), D = z + 1, x = z - 1, V = 1, g, F; D < p || x > T; )
8609
+ F = i[V++], D < p && (g = e[D++], g[0] -= F * (g[0] - w) / $u, g[1] -= F * (g[1] - f) / $u, g[2] -= F * (g[2] - B) / $u), x > T && (g = e[x--], g[0] -= F * (g[0] - w) / $u, g[1] -= F * (g[1] - f) / $u, g[2] -= F * (g[2] - B) / $u);
8610
8610
  }
8611
8611
  function M(v, z, w) {
8612
- var f = 2147483647, B = f, T = -1, p = T, D, C, V, g, F;
8612
+ var f = 2147483647, B = f, T = -1, p = T, D, x, V, g, F;
8613
8613
  for (D = 0; D < be; D++)
8614
- C = e[D], V = Math.abs(C[0] - v) + Math.abs(C[1] - z) + Math.abs(C[2] - w), V < f && (f = V, T = D), g = V - (o[D] >> ua - pu), g < B && (B = g, p = D), F = a[D] >> xn, a[D] -= F, o[D] += F << ta;
8614
+ x = e[D], V = Math.abs(x[0] - v) + Math.abs(x[1] - z) + Math.abs(x[2] - w), V < f && (f = V, T = D), g = V - (o[D] >> ua - pu), g < B && (B = g, p = D), F = a[D] >> Cn, a[D] -= F, o[D] += F << ta;
8615
8615
  return a[T] += jl, o[T] -= Al, p;
8616
8616
  }
8617
8617
  function N() {
@@ -8629,26 +8629,26 @@ function Cl(t, u) {
8629
8629
  n[z] = qn;
8630
8630
  }
8631
8631
  function I(v, z, w) {
8632
- for (var f, B, T, p = 1e3, D = -1, C = n[z], V = C - 1; C < be || V >= 0; )
8633
- C < be && (B = e[C], T = B[1] - z, T >= p ? C = be : (C++, T < 0 && (T = -T), f = B[0] - v, f < 0 && (f = -f), T += f, T < p && (f = B[2] - w, f < 0 && (f = -f), T += f, T < p && (p = T, D = B[3])))), V >= 0 && (B = e[V], T = z - B[1], T >= p ? V = -1 : (V--, T < 0 && (T = -T), f = B[0] - v, f < 0 && (f = -f), T += f, T < p && (f = B[2] - w, f < 0 && (f = -f), T += f, T < p && (p = T, D = B[3]))));
8632
+ for (var f, B, T, p = 1e3, D = -1, x = n[z], V = x - 1; x < be || V >= 0; )
8633
+ x < be && (B = e[x], T = B[1] - z, T >= p ? x = be : (x++, T < 0 && (T = -T), f = B[0] - v, f < 0 && (f = -f), T += f, T < p && (f = B[2] - w, f < 0 && (f = -f), T += f, T < p && (p = T, D = B[3])))), V >= 0 && (B = e[V], T = z - B[1], T >= p ? V = -1 : (V--, T < 0 && (T = -T), f = B[0] - v, f < 0 && (f = -f), T += f, T < p && (f = B[2] - w, f < 0 && (f = -f), T += f, T < p && (p = T, D = B[3]))));
8634
8634
  return D;
8635
8635
  }
8636
8636
  function j() {
8637
8637
  var v, z = t.length, w = 30 + (u - 1) / 3, f = z / (3 * u), B = ~~(f / Tl), T = Tt, p = yl, D = p >> gn;
8638
8638
  for (D <= 1 && (D = 0), v = 0; v < D; v++)
8639
8639
  i[v] = T * ((D * D - v * v) * Jn / (D * D));
8640
- var C;
8641
- z < pl ? (u = 1, C = 3) : z % Xn !== 0 ? C = 3 * Xn : z % eo !== 0 ? C = 3 * eo : z % uo !== 0 ? C = 3 * uo : C = 3 * aa;
8640
+ var x;
8641
+ z < pl ? (u = 1, x = 3) : z % Xn !== 0 ? x = 3 * Xn : z % eo !== 0 ? x = 3 * eo : z % uo !== 0 ? x = 3 * uo : x = 3 * aa;
8642
8642
  var V, g, F, m, U = 0;
8643
8643
  for (v = 0; v < f; )
8644
- if (V = (t[U] & 255) << pu, g = (t[U + 1] & 255) << pu, F = (t[U + 2] & 255) << pu, m = M(V, g, F), c(T, m, V, g, F), D !== 0 && r(D, m, V, g, F), U += C, U >= z && (U -= z), v++, B === 0 && (B = 1), v % B === 0)
8644
+ if (V = (t[U] & 255) << pu, g = (t[U + 1] & 255) << pu, F = (t[U + 2] & 255) << pu, m = M(V, g, F), c(T, m, V, g, F), D !== 0 && r(D, m, V, g, F), U += x, U >= z && (U -= z), v++, B === 0 && (B = 1), v % B === 0)
8645
8645
  for (T -= T / w, p -= p / El, D = p >> gn, D <= 1 && (D = 0), m = 0; m < D; m++)
8646
8646
  i[m] = T * ((D * D - m * m) * Jn / (D * D));
8647
8647
  }
8648
- function x() {
8648
+ function C() {
8649
8649
  l(), j(), s(), N();
8650
8650
  }
8651
- this.buildColormap = x;
8651
+ this.buildColormap = C;
8652
8652
  function P() {
8653
8653
  for (var v = [], z = [], w = 0; w < be; w++)
8654
8654
  z[e[w][3]] = w;
@@ -8660,7 +8660,7 @@ function Cl(t, u) {
8660
8660
  }
8661
8661
  this.getColormap = P, this.lookupRGB = I;
8662
8662
  }
8663
- var to = -1, jt = 12, tt = 5003, xl = [
8663
+ var to = -1, jt = 12, tt = 5003, Cl = [
8664
8664
  0,
8665
8665
  1,
8666
8666
  3,
@@ -8680,12 +8680,12 @@ var to = -1, jt = 12, tt = 5003, xl = [
8680
8680
  65535
8681
8681
  ];
8682
8682
  function zl(t, u, e, n) {
8683
- var o = Math.max(2, n), a = new Uint8Array(256), i = new Int32Array(tt), l = new Int32Array(tt), s, c = 0, r, M = 0, N, I = !1, j, x, P, v, z, w;
8683
+ var o = Math.max(2, n), a = new Uint8Array(256), i = new Int32Array(tt), l = new Int32Array(tt), s, c = 0, r, M = 0, N, I = !1, j, C, P, v, z, w;
8684
8684
  function f(m, U) {
8685
- a[r++] = m, r >= 254 && C(U);
8685
+ a[r++] = m, r >= 254 && x(U);
8686
8686
  }
8687
8687
  function B(m) {
8688
- T(tt), M = x + 2, I = !0, F(x, m);
8688
+ T(tt), M = C + 2, I = !0, F(C, m);
8689
8689
  }
8690
8690
  function T(m) {
8691
8691
  for (var U = 0; U < m; ++U)
@@ -8693,9 +8693,9 @@ function zl(t, u, e, n) {
8693
8693
  }
8694
8694
  function p(m, U) {
8695
8695
  var E, S, y, O, L, h, Y;
8696
- for (j = m, I = !1, w = j, N = V(w), x = 1 << m - 1, P = x + 1, M = x + 2, r = 0, O = g(), Y = 0, E = tt; E < 65536; E *= 2)
8696
+ for (j = m, I = !1, w = j, N = V(w), C = 1 << m - 1, P = C + 1, M = C + 2, r = 0, O = g(), Y = 0, E = tt; E < 65536; E *= 2)
8697
8697
  ++Y;
8698
- Y = 8 - Y, h = tt, T(h), F(x, U);
8698
+ Y = 8 - Y, h = tt, T(h), F(C, U);
8699
8699
  e:
8700
8700
  for (; (S = g()) != to; ) {
8701
8701
  if (E = (S << jt) + O, y = S << Y ^ O, i[y] === E) {
@@ -8717,7 +8717,7 @@ function zl(t, u, e, n) {
8717
8717
  function D(m) {
8718
8718
  m.writeByte(o), v = t * u, z = 0, p(o + 1, m), m.writeByte(0);
8719
8719
  }
8720
- function C(m) {
8720
+ function x(m) {
8721
8721
  r > 0 && (m.writeByte(r), m.writeBytes(a, 0, r), r = 0);
8722
8722
  }
8723
8723
  function V(m) {
@@ -8731,12 +8731,12 @@ function zl(t, u, e, n) {
8731
8731
  return m & 255;
8732
8732
  }
8733
8733
  function F(m, U) {
8734
- for (s &= xl[c], c > 0 ? s |= m << c : s = m, c += w; c >= 8; )
8734
+ for (s &= Cl[c], c > 0 ? s |= m << c : s = m, c += w; c >= 8; )
8735
8735
  f(s & 255, U), s >>= 8, c -= 8;
8736
8736
  if ((M > N || I) && (I ? (N = V(w = j), I = !1) : (++w, w == jt ? N = 1 << jt : N = V(w))), m == P) {
8737
8737
  for (; c > 0; )
8738
8738
  f(s & 255, U), s >>= 8, c -= 8;
8739
- C(U);
8739
+ x(U);
8740
8740
  }
8741
8741
  }
8742
8742
  this.encode = D;
@@ -8779,49 +8779,49 @@ Re.prototype.writeBytes = function(t, u, e) {
8779
8779
  for (var n = e || t.length, o = u || 0; o < n; o++)
8780
8780
  this.writeByte(t[o]);
8781
8781
  };
8782
- function xe(t, u) {
8782
+ function Ce(t, u) {
8783
8783
  this.width = ~~t, this.height = ~~u, 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 Re();
8784
8784
  }
8785
- xe.prototype.setDelay = function(t) {
8785
+ Ce.prototype.setDelay = function(t) {
8786
8786
  this.delay = Math.round(t / 10);
8787
8787
  };
8788
- xe.prototype.setFrameRate = function(t) {
8788
+ Ce.prototype.setFrameRate = function(t) {
8789
8789
  this.delay = Math.round(100 / t);
8790
8790
  };
8791
- xe.prototype.setDispose = function(t) {
8791
+ Ce.prototype.setDispose = function(t) {
8792
8792
  t >= 0 && (this.dispose = t);
8793
8793
  };
8794
- xe.prototype.setRepeat = function(t) {
8794
+ Ce.prototype.setRepeat = function(t) {
8795
8795
  this.repeat = t;
8796
8796
  };
8797
- xe.prototype.setTransparent = function(t) {
8797
+ Ce.prototype.setTransparent = function(t) {
8798
8798
  this.transparent = t;
8799
8799
  };
8800
- xe.prototype.addFrame = function(t) {
8800
+ Ce.prototype.addFrame = function(t) {
8801
8801
  this.image = t, this.colorTab = this.globalPalette && this.globalPalette.slice ? this.globalPalette : null, this.getImagePixels(), this.analyzePixels(), this.globalPalette === !0 && (this.globalPalette = this.colorTab), this.firstFrame && (this.writeHeader(), this.writeLSD(), this.writePalette(), this.repeat >= 0 && this.writeNetscapeExt()), this.writeGraphicCtrlExt(), this.writeImageDesc(), !this.firstFrame && !this.globalPalette && this.writePalette(), this.writePixels(), this.firstFrame = !1;
8802
8802
  };
8803
- xe.prototype.finish = function() {
8803
+ Ce.prototype.finish = function() {
8804
8804
  this.out.writeByte(59);
8805
8805
  };
8806
- xe.prototype.setQuality = function(t) {
8806
+ Ce.prototype.setQuality = function(t) {
8807
8807
  t < 1 && (t = 1), this.sample = t;
8808
8808
  };
8809
- xe.prototype.setDither = function(t) {
8809
+ Ce.prototype.setDither = function(t) {
8810
8810
  t === !0 && (t = "FloydSteinberg"), this.dither = t;
8811
8811
  };
8812
- xe.prototype.setGlobalPalette = function(t) {
8812
+ Ce.prototype.setGlobalPalette = function(t) {
8813
8813
  this.globalPalette = t;
8814
8814
  };
8815
- xe.prototype.getGlobalPalette = function() {
8815
+ Ce.prototype.getGlobalPalette = function() {
8816
8816
  return this.globalPalette && this.globalPalette.slice && this.globalPalette.slice(0) || this.globalPalette;
8817
8817
  };
8818
- xe.prototype.writeHeader = function() {
8818
+ Ce.prototype.writeHeader = function() {
8819
8819
  this.out.writeUTFBytes("GIF89a");
8820
8820
  };
8821
- xe.prototype.analyzePixels = function() {
8822
- this.colorTab || (this.neuQuant = new Cl(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));
8821
+ Ce.prototype.analyzePixels = function() {
8822
+ this.colorTab || (this.neuQuant = new xl(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));
8823
8823
  };
8824
- xe.prototype.indexPixels = function(t) {
8824
+ Ce.prototype.indexPixels = function(t) {
8825
8825
  var u = this.pixels.length / 3;
8826
8826
  this.indexedPixels = new Uint8Array(u);
8827
8827
  for (var e = 0, n = 0; n < u; n++) {
@@ -8829,7 +8829,7 @@ xe.prototype.indexPixels = function(t) {
8829
8829
  this.usedEntry[o] = !0, this.indexedPixels[n] = o;
8830
8830
  }
8831
8831
  };
8832
- xe.prototype.ditherPixels = function(t, u) {
8832
+ Ce.prototype.ditherPixels = function(t, u) {
8833
8833
  var e = {
8834
8834
  FalseFloydSteinberg: [
8835
8835
  [0.375, 1, 0],
@@ -8873,22 +8873,22 @@ xe.prototype.ditherPixels = function(t, u) {
8873
8873
  u && (s = s * -1);
8874
8874
  for (var r = s == 1 ? 0 : i - 1, M = s == 1 ? i : 0; r !== M; r += s) {
8875
8875
  o = c * i + r;
8876
- var N = o * 3, I = l[N], j = l[N + 1], x = l[N + 2];
8877
- N = this.findClosestRGB(I, j, x), this.usedEntry[N] = !0, this.indexedPixels[o] = N, N *= 3;
8878
- for (var P = this.colorTab[N], v = this.colorTab[N + 1], z = this.colorTab[N + 2], w = I - P, f = j - v, B = x - z, T = s == 1 ? 0 : n.length - 1, p = s == 1 ? n.length : 0; T !== p; T += s) {
8879
- var D = n[T][1], C = n[T][2];
8880
- if (D + r >= 0 && D + r < i && C + c >= 0 && C + c < a) {
8876
+ var N = o * 3, I = l[N], j = l[N + 1], C = l[N + 2];
8877
+ N = this.findClosestRGB(I, j, C), this.usedEntry[N] = !0, this.indexedPixels[o] = N, N *= 3;
8878
+ for (var P = this.colorTab[N], v = this.colorTab[N + 1], z = this.colorTab[N + 2], w = I - P, f = j - v, B = C - z, T = s == 1 ? 0 : n.length - 1, p = s == 1 ? n.length : 0; T !== p; T += s) {
8879
+ var D = n[T][1], x = n[T][2];
8880
+ if (D + r >= 0 && D + r < i && x + c >= 0 && x + c < a) {
8881
8881
  var V = n[T][0];
8882
- N = o + D + C * i, N *= 3, l[N] = Math.max(0, Math.min(255, l[N] + w * V)), l[N + 1] = Math.max(0, Math.min(255, l[N + 1] + f * V)), l[N + 2] = Math.max(0, Math.min(255, l[N + 2] + B * V));
8882
+ N = o + D + x * i, N *= 3, l[N] = Math.max(0, Math.min(255, l[N] + w * V)), l[N + 1] = Math.max(0, Math.min(255, l[N + 1] + f * V)), l[N + 2] = Math.max(0, Math.min(255, l[N + 2] + B * V));
8883
8883
  }
8884
8884
  }
8885
8885
  }
8886
8886
  }
8887
8887
  };
8888
- xe.prototype.findClosest = function(t, u) {
8888
+ Ce.prototype.findClosest = function(t, u) {
8889
8889
  return this.findClosestRGB((t & 16711680) >> 16, (t & 65280) >> 8, t & 255, u);
8890
8890
  };
8891
- xe.prototype.findClosestRGB = function(t, u, e, n) {
8891
+ Ce.prototype.findClosestRGB = function(t, u, e, n) {
8892
8892
  if (this.colorTab === null)
8893
8893
  return -1;
8894
8894
  if (this.neuQuant && !n)
@@ -8899,14 +8899,14 @@ xe.prototype.findClosestRGB = function(t, u, e, n) {
8899
8899
  }
8900
8900
  return o;
8901
8901
  };
8902
- xe.prototype.getImagePixels = function() {
8902
+ Ce.prototype.getImagePixels = function() {
8903
8903
  var t = this.width, u = this.height;
8904
8904
  this.pixels = new Uint8Array(t * u * 3);
8905
8905
  for (var e = this.image, n = 0, o = 0, a = 0; a < u; a++)
8906
8906
  for (var i = 0; i < t; i++)
8907
8907
  this.pixels[o++] = e[n++], this.pixels[o++] = e[n++], this.pixels[o++] = e[n++], n++;
8908
8908
  };
8909
- xe.prototype.writeGraphicCtrlExt = function() {
8909
+ Ce.prototype.writeGraphicCtrlExt = function() {
8910
8910
  this.out.writeByte(33), this.out.writeByte(249), this.out.writeByte(4);
8911
8911
  var t, u;
8912
8912
  this.transparent === null ? (t = 0, u = 0) : (t = 1, u = 2), this.dispose >= 0 && (u = this.dispose & 7), u <<= 2, this.out.writeByte(
@@ -8917,36 +8917,36 @@ xe.prototype.writeGraphicCtrlExt = function() {
8917
8917
  // 8 transparency flag
8918
8918
  ), this.writeShort(this.delay), this.out.writeByte(this.transIndex), this.out.writeByte(0);
8919
8919
  };
8920
- xe.prototype.writeImageDesc = function() {
8920
+ Ce.prototype.writeImageDesc = function() {
8921
8921
  this.out.writeByte(44), this.writeShort(0), this.writeShort(0), this.writeShort(this.width), this.writeShort(this.height), this.firstFrame || this.globalPalette ? this.out.writeByte(0) : this.out.writeByte(
8922
8922
  128 | // 4-5 reserved
8923
8923
  this.palSize
8924
8924
  // 6-8 size of color table
8925
8925
  );
8926
8926
  };
8927
- xe.prototype.writeLSD = function() {
8927
+ Ce.prototype.writeLSD = function() {
8928
8928
  this.writeShort(this.width), this.writeShort(this.height), this.out.writeByte(
8929
8929
  240 | // 5 : gct sort flag = 0
8930
8930
  this.palSize
8931
8931
  // 6-8 : gct size
8932
8932
  ), this.out.writeByte(0), this.out.writeByte(0);
8933
8933
  };
8934
- xe.prototype.writeNetscapeExt = function() {
8934
+ Ce.prototype.writeNetscapeExt = function() {
8935
8935
  this.out.writeByte(33), this.out.writeByte(255), this.out.writeByte(11), this.out.writeUTFBytes("NETSCAPE2.0"), this.out.writeByte(3), this.out.writeByte(1), this.writeShort(this.repeat), this.out.writeByte(0);
8936
8936
  };
8937
- xe.prototype.writePalette = function() {
8937
+ Ce.prototype.writePalette = function() {
8938
8938
  this.out.writeBytes(this.colorTab);
8939
8939
  for (var t = 3 * 256 - this.colorTab.length, u = 0; u < t; u++)
8940
8940
  this.out.writeByte(0);
8941
8941
  };
8942
- xe.prototype.writeShort = function(t) {
8942
+ Ce.prototype.writeShort = function(t) {
8943
8943
  this.out.writeByte(t & 255), this.out.writeByte(t >> 8 & 255);
8944
8944
  };
8945
- xe.prototype.writePixels = function() {
8945
+ Ce.prototype.writePixels = function() {
8946
8946
  var t = new zl(this.width, this.height, this.indexedPixels, this.colorDepth);
8947
8947
  t.encode(this.out);
8948
8948
  };
8949
- xe.prototype.stream = function() {
8949
+ Ce.prototype.stream = function() {
8950
8950
  return this.out;
8951
8951
  };
8952
8952
  var hl = globalThis && globalThis.__awaiter || function(t, u, e, n) {
@@ -9021,7 +9021,7 @@ class Ie {
9021
9021
  throw new Error("dotScale should be in range (0, 1].");
9022
9022
  e.components.data.scale = e.dotScale, e.components.timing.scale = e.dotScale, e.components.alignment.scale = e.dotScale;
9023
9023
  }
9024
- this.options = e, this.canvas = new gu(u.size, u.size), this.canvasContext = this.canvas.getContext("2d"), this.qrCode = new xu(-1, this.options.correctLevel), Number.isInteger(this.options.maskPattern) && (this.qrCode.maskPattern = this.options.maskPattern), Number.isInteger(this.options.version) && (this.qrCode.typeNumber = this.options.version), this.qrCode.addData(this.options.text), this.qrCode.make();
9024
+ this.options = e, this.canvas = new gu(u.size, u.size), this.canvasContext = this.canvas.getContext("2d"), this.qrCode = new Cu(-1, this.options.correctLevel), Number.isInteger(this.options.maskPattern) && (this.qrCode.maskPattern = this.options.maskPattern), Number.isInteger(this.options.version) && (this.qrCode.typeNumber = this.options.version), this.qrCode.addData(this.options.text), this.qrCode.make();
9025
9025
  }
9026
9026
  draw() {
9027
9027
  return new Promise((u) => this._draw().then(u));
@@ -9075,12 +9075,12 @@ class Ie {
9075
9075
  })), u.fillStyle = c;
9076
9076
  }
9077
9077
  _draw() {
9078
- var u, e, n, o, a, i, l, s, c, r, M, N, I, j, x, P, v, z, w;
9078
+ var u, e, n, o, a, i, l, s, c, r, M, N, I, j, C, P, v, z, w;
9079
9079
  return hl(this, void 0, void 0, function* () {
9080
9080
  const f = (u = this.qrCode) === null || u === void 0 ? void 0 : u.moduleCount, B = this.options.size;
9081
9081
  let T = this.options.margin;
9082
9082
  (T < 0 || T * 2 >= B) && (T = 0);
9083
- const p = Math.ceil(T), D = B - 2 * T, C = this.options.whiteMargin, V = this.options.backgroundDimming, g = Math.ceil(D / f), F = g * f, m = F + 2 * p, U = new gu(m, m), E = U.getContext("2d");
9083
+ const p = Math.ceil(T), D = B - 2 * T, x = this.options.whiteMargin, V = this.options.backgroundDimming, g = Math.ceil(D / f), F = g * f, m = F + 2 * p, U = new gu(m, m), E = U.getContext("2d");
9084
9084
  this._clear(), E.save(), E.translate(p, p);
9085
9085
  const S = new gu(m, m), y = S.getContext("2d");
9086
9086
  let O = null, L = [];
@@ -9136,7 +9136,7 @@ class Ie {
9136
9136
  for (let G = 0; G < f - 8; G += 2)
9137
9137
  Ie._drawDot(E, 8 + G, 6, g, ne, me), Ie._drawDot(E, 6, 8 + G, g, ne, me);
9138
9138
  const De = ((I = (N = this.options.components) === null || N === void 0 ? void 0 : N.cornerAlignment) === null || I === void 0 ? void 0 : I.scale) || mt, Ue = (1 - De) * 0.5;
9139
- Ie._drawAlign(E, J, J, g, Ue, De, this.options.colorDark, ((x = (j = this.options.components) === null || j === void 0 ? void 0 : j.cornerAlignment) === null || x === void 0 ? void 0 : x.protectors) || !1);
9139
+ Ie._drawAlign(E, J, J, g, Ue, De, this.options.colorDark, ((C = (j = this.options.components) === null || j === void 0 ? void 0 : j.cornerAlignment) === null || C === void 0 ? void 0 : C.protectors) || !1);
9140
9140
  const Qe = ((v = (P = this.options.components) === null || P === void 0 ? void 0 : P.alignment) === null || v === void 0 ? void 0 : v.scale) || mt, je = (1 - Qe) * 0.5;
9141
9141
  for (let G = 0; G < h.length; G++)
9142
9142
  for (let te = 0; te < h.length; te++) {
@@ -9149,7 +9149,7 @@ class Ie {
9149
9149
  Ie._drawAlign(E, Me, de, g, je, Qe, this.options.colorDark, ((w = (z = this.options.components) === null || z === void 0 ? void 0 : z.alignment) === null || w === void 0 ? void 0 : w.protectors) || !1);
9150
9150
  }
9151
9151
  }
9152
- if (C && (E.fillStyle = this.options.backgroundColor, E.fillRect(-p, -p, m, p), E.fillRect(-p, F, m, p), E.fillRect(F, -p, p, m), E.fillRect(-p, -p, p, m)), this.options.logoImage) {
9152
+ if (x && (E.fillStyle = this.options.backgroundColor, E.fillRect(-p, -p, m, p), E.fillRect(-p, F, m, p), E.fillRect(F, -p, p, m), E.fillRect(-p, -p, p, m)), this.options.logoImage) {
9153
9153
  const G = yield no(this.options.logoImage);
9154
9154
  let te = this.options.logoScale, Me = this.options.logoMargin, de = this.options.logoCornerRadius;
9155
9155
  (te <= 0 || te >= 1) && (te = 0.2), Me < 0 && (Me = 0), de < 0 && (de = 0);
@@ -9161,7 +9161,7 @@ class Ie {
9161
9161
  if (O) {
9162
9162
  let G, te, Me, de, we, ze;
9163
9163
  if (L.forEach(function(Ee) {
9164
- G || (G = new xe(B, B), G.setDelay(Ee.delay), G.setRepeat(0));
9164
+ G || (G = new Ce(B, B), G.setDelay(Ee.delay), G.setRepeat(0));
9165
9165
  const { width: He, height: Be } = Ee.dims;
9166
9166
  te || (te = new gu(He, Be), Me = te.getContext("2d"), Me.rect(0, 0, te.width, te.height), Me.fillStyle = "#ffffff", Me.fill()), (!de || !ze || He !== de.width || Be !== de.height) && (de = new gu(He, Be), we = de.getContext("2d"), ze = we.createImageData(He, Be)), ze.data.set(Ee.patch), we.putImageData(ze, 0, 0), Me.drawImage(de.getContext("2d").canvas, Ee.dims.left, Ee.dims.top);
9167
9167
  const Fu = new gu(m, m), fu = Fu.getContext("2d");
@@ -9499,7 +9499,7 @@ const wl = { key: 0 }, vl = ["innerHTML"], Ul = ["innerHTML"], Ql = ["innerHTML"
9499
9499
  return !eu(m) && m !== "";
9500
9500
  }
9501
9501
  const j = () => "<span class='empty'>----</span>";
9502
- function x(m, U) {
9502
+ function C(m, U) {
9503
9503
  var E;
9504
9504
  if (!Fe(m.enums)) {
9505
9505
  let S = m.enums.filter((y) => {
@@ -9532,20 +9532,20 @@ const wl = { key: 0 }, vl = ["innerHTML"], Ul = ["innerHTML"], Ql = ["innerHTML"
9532
9532
  const f = R(null), { width: B } = jo(f), T = An(), p = R(/* @__PURE__ */ new Map());
9533
9533
  function D(m) {
9534
9534
  const { columnsWidth: U } = m, E = {};
9535
- C.value.forEach((L, h) => {
9535
+ x.value.forEach((L, h) => {
9536
9536
  const Y = L.colKey, W = U[Y];
9537
9537
  if (Y && W)
9538
9538
  if (Y === "row-select")
9539
9539
  E[Y] = 50;
9540
- else if (L.cell === "BUTTONS" && h === C.value.length - 1) {
9540
+ else if (L.cell === "BUTTONS" && h === x.value.length - 1) {
9541
9541
  const J = L.resize.maxWidth;
9542
9542
  E[Y] = Math.min(W, J);
9543
9543
  } else
9544
9544
  E[Y] = W;
9545
9545
  });
9546
9546
  const S = Object.entries(E).filter(([L, h]) => {
9547
- const Y = C.value.findIndex((W) => W.colKey === L);
9548
- return L !== "row-select" && Y !== C.value.length - 1;
9547
+ const Y = x.value.findIndex((W) => W.colKey === L);
9548
+ return L !== "row-select" && Y !== x.value.length - 1;
9549
9549
  }), y = Object.values(E).reduce((L, h) => L + h, 0), O = B.value;
9550
9550
  if (y < O) {
9551
9551
  const L = S.reduce((W, [J, se]) => W + se, 0), h = O - y;
@@ -9561,35 +9561,35 @@ const wl = { key: 0 }, vl = ["innerHTML"], Ul = ["innerHTML"], Ql = ["innerHTML"
9561
9561
  E[W[J]] += 1, Y--, J++;
9562
9562
  }
9563
9563
  }
9564
- for (const L of C.value) {
9564
+ for (const L of x.value) {
9565
9565
  const h = L.colKey;
9566
9566
  h && E[h] && (L.width = E[h], p.value.set(h, E[h]));
9567
9567
  }
9568
9568
  T.setColumnWidthData(a.viewName, E);
9569
9569
  }
9570
9570
  tu("tableLayoutSize", B);
9571
- const C = R([]);
9571
+ const x = R([]);
9572
9572
  Te(
9573
9573
  () => a.tableColumns,
9574
9574
  (m) => {
9575
9575
  if (m) {
9576
- C.value = m;
9576
+ x.value = m;
9577
9577
  const U = T.getColumnWidthData(a.viewName);
9578
- U && (C.value = C.value.map((E) => {
9578
+ U && (x.value = x.value.map((E) => {
9579
9579
  const S = U[E.colKey];
9580
9580
  return S && (E.width = S, p.value.set(E.colKey, S)), E;
9581
9581
  }));
9582
9582
  }
9583
9583
  }
9584
9584
  );
9585
- const V = Q(() => C.value.filter((m) => m.cell === "BUTTONS").map((m) => m.colKey));
9585
+ const V = Q(() => x.value.filter((m) => m.cell === "BUTTONS").map((m) => m.colKey));
9586
9586
  Te(
9587
9587
  () => V.value,
9588
9588
  (m) => {
9589
9589
  m && m.length && m.forEach((U) => {
9590
- const E = C.value.findIndex((S) => S.colKey === U);
9590
+ const E = x.value.findIndex((S) => S.colKey === U);
9591
9591
  if (E > -1) {
9592
- const S = C.value[E].width;
9592
+ const S = x.value[E].width;
9593
9593
  p.value.set(U, S);
9594
9594
  }
9595
9595
  });
@@ -9616,7 +9616,7 @@ const wl = { key: 0 }, vl = ["innerHTML"], Ul = ["innerHTML"], Ql = ["innerHTML"
9616
9616
  commonTableProps: {
9617
9617
  data: m.tableData,
9618
9618
  rowKey: l.value,
9619
- columns: C.value,
9619
+ columns: x.value,
9620
9620
  pagination: r.value,
9621
9621
  selectedRowKeys: s.value,
9622
9622
  onSelectChange: c,
@@ -9654,7 +9654,7 @@ const wl = { key: 0 }, vl = ["innerHTML"], Ul = ["innerHTML"], Ql = ["innerHTML"
9654
9654
  ]),
9655
9655
  ENUMS: k(({ col: h, row: Y }) => [
9656
9656
  ee("span", {
9657
- innerHTML: x(h, Y)
9657
+ innerHTML: C(h, Y)
9658
9658
  }, null, 8, Ql)
9659
9659
  ]),
9660
9660
  DATE: k(({ col: h, row: Y }) => [
@@ -9687,7 +9687,7 @@ const wl = { key: 0 }, vl = ["innerHTML"], Ul = ["innerHTML"], Ql = ["innerHTML"
9687
9687
  }, 1024)
9688
9688
  ]),
9689
9689
  FORM_ITEM: k(({ col: h, row: Y }) => [
9690
- h.formItems && h.formItems.length ? (d(), b(x4, {
9690
+ h.formItems && h.formItems.length ? (d(), b(C4, {
9691
9691
  key: 0,
9692
9692
  viewName: m.viewName,
9693
9693
  col: h,
@@ -9805,7 +9805,7 @@ const $l = /* @__PURE__ */ au(Pl, [["__scopeId", "data-v-a780851e"]]), Vl = /* @
9805
9805
  j && (e.removeTabMenuItemByPath(I), console.log(j), j != "/home" ? o.push(j) : M.value && o.push({ path: M.value, query: hu(M.value) }));
9806
9806
  }
9807
9807
  return (I, j) => {
9808
- const x = Z("t-card"), P = Z("t-tab-panel"), v = Z("t-tabs");
9808
+ const C = Z("t-card"), P = Z("t-tab-panel"), v = Z("t-tabs");
9809
9809
  return d(), b(v, {
9810
9810
  class: K(`${A(zi)}`),
9811
9811
  placement: "left",
@@ -9813,14 +9813,14 @@ const $l = /* @__PURE__ */ au(Pl, [["__scopeId", "data-v-a780851e"]]), Vl = /* @
9813
9813
  onChange: c
9814
9814
  }, {
9815
9815
  default: k(() => [
9816
- (d(!0), H(ce, null, Ce(i.value, (z, w) => (d(), b(P, {
9816
+ (d(!0), H(ce, null, xe(i.value, (z, w) => (d(), b(P, {
9817
9817
  key: `${w}${z.title}`,
9818
9818
  value: w,
9819
9819
  label: z.title,
9820
9820
  destroyOnHide: !0
9821
9821
  }, {
9822
9822
  default: k(() => [
9823
- _(x, { bordered: !1 }, {
9823
+ _(C, { bordered: !1 }, {
9824
9824
  content: k(() => [
9825
9825
  z.board ? (d(), b(A(zt), {
9826
9826
  key: z.title,
@@ -9859,7 +9859,7 @@ const Rl = /* @__PURE__ */ oe({
9859
9859
  }), N = Q(() => {
9860
9860
  var $, X, re;
9861
9861
  return ($ = s.board) != null && $.data ? (X = s.board) == null ? void 0 : X.data.dataId : (re = s.board) != null && re.tableData ? s.board.tableData.dataId : null;
9862
- }), I = R([]), j = R({}), x = R(null), P = Q(() => {
9862
+ }), I = R([]), j = R({}), C = R(null), P = Q(() => {
9863
9863
  var $;
9864
9864
  return ($ = s.board) == null ? void 0 : $.header;
9865
9865
  }), v = R({}), z = R({});
@@ -9887,10 +9887,10 @@ const Rl = /* @__PURE__ */ oe({
9887
9887
  return P.value && v.value && Object.assign($, v.value), s.dialogProps && ((X = Object.keys(s.dialogProps)) != null && X.length) && Object.assign($, s.dialogProps), M.value === "table" && Object.assign($, f.value), s.serverProps && ((re = Object.keys(s.serverProps)) != null && re.length) && Object.assign($, s.serverProps), Object.assign($, w.value), $;
9888
9888
  }), T = R(!1), p = R(!0);
9889
9889
  function D($) {
9890
- const X = x.value;
9891
- X !== $ && (X && i.sendUnregisterMessage(X), $ && i.sendRegisterMessage($), x.value = $ ?? null);
9890
+ const X = C.value;
9891
+ X !== $ && (X && i.sendUnregisterMessage(X), $ && i.sendRegisterMessage($), C.value = $ ?? null);
9892
9892
  }
9893
- async function C() {
9893
+ async function x() {
9894
9894
  var $, X, re, ke, Ge;
9895
9895
  try {
9896
9896
  if (T.value = !0, p.value && s.from == "view" && M.value == "table") {
@@ -9922,13 +9922,13 @@ const Rl = /* @__PURE__ */ oe({
9922
9922
  }
9923
9923
  }
9924
9924
  Ye(() => {
9925
- p.value = !0, C(), Me(), window.addEventListener("onUpdateMessage", ($) => {
9925
+ p.value = !0, x(), Me(), window.addEventListener("onUpdateMessage", ($) => {
9926
9926
  var re;
9927
9927
  const X = (re = $ == null ? void 0 : $.detail) == null ? void 0 : re.args.dataId;
9928
- N.value === X && C();
9928
+ N.value === X && x();
9929
9929
  });
9930
9930
  }), uu(() => {
9931
- x.value && (i.sendUnregisterMessage(x.value), x.value = null);
9931
+ C.value && (i.sendUnregisterMessage(C.value), C.value = null);
9932
9932
  });
9933
9933
  const V = bu(), g = Wu();
9934
9934
  function F($) {
@@ -9945,7 +9945,7 @@ const Rl = /* @__PURE__ */ oe({
9945
9945
  }), Te(
9946
9946
  () => s.board,
9947
9947
  async () => {
9948
- await C();
9948
+ await x();
9949
9949
  },
9950
9950
  {
9951
9951
  deep: !0
@@ -10164,7 +10164,7 @@ const Rl = /* @__PURE__ */ oe({
10164
10164
  page: 0,
10165
10165
  totalCount: 0,
10166
10166
  pageCount: 0
10167
- }, C();
10167
+ }, x();
10168
10168
  let X = _e($);
10169
10169
  if (Object.keys(X).length)
10170
10170
  for (const Ge in X)
@@ -10210,7 +10210,7 @@ const Rl = /* @__PURE__ */ oe({
10210
10210
  Object.assign(f.value, {
10211
10211
  page: $.current - 1,
10212
10212
  count: $.pageSize
10213
- }), C();
10213
+ }), x();
10214
10214
  }
10215
10215
  const ze = ve("handleUpdateView");
10216
10216
  async function Ee($, X) {
@@ -10287,12 +10287,12 @@ const Rl = /* @__PURE__ */ oe({
10287
10287
  const re = Z("t-loading");
10288
10288
  return d(), H(ce, null, [
10289
10289
  _(re, {
10290
- class: K(`${A(Ci)}`),
10290
+ class: K(`${A(xi)}`),
10291
10291
  loading: T.value,
10292
10292
  size: "medium"
10293
10293
  }, {
10294
10294
  default: k(() => [
10295
- M.value === "table" ? (d(), b(A(C4), {
10295
+ M.value === "table" ? (d(), b(A(x4), {
10296
10296
  key: 0,
10297
10297
  viewName: $.viewName,
10298
10298
  board: $.board,
@@ -10416,12 +10416,12 @@ const zt = We(Rl), la = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
10416
10416
  immediate: !0
10417
10417
  }
10418
10418
  );
10419
- async function x() {
10419
+ async function C() {
10420
10420
  Fe(M.value) || await P(M.value, N.value);
10421
10421
  }
10422
- tu("handleUpdateView", x);
10422
+ tu("handleUpdateView", C);
10423
10423
  async function P(f, B, T = void 0) {
10424
- var C;
10424
+ var x;
10425
10425
  const p = {};
10426
10426
  p.viewName = f;
10427
10427
  let D = "";
@@ -10429,7 +10429,7 @@ const zt = We(Rl), la = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
10429
10429
  try {
10430
10430
  const V = await Qo(p);
10431
10431
  if (V.state === 200 && V.data) {
10432
- I.value = V.data, l.value = (C = V.data) == null ? void 0 : C.title;
10432
+ I.value = V.data, l.value = (x = V.data) == null ? void 0 : x.title;
10433
10433
  const g = decodeURIComponent(e.fullPath);
10434
10434
  o.appendTabMenuItem({
10435
10435
  title: l.value,
@@ -10456,13 +10456,13 @@ const zt = We(Rl), la = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
10456
10456
  default: k(() => {
10457
10457
  var T;
10458
10458
  return [
10459
- v.value ? (d(!0), H(ce, { key: 0 }, Ce((T = I.value) == null ? void 0 : T.boards, (p) => {
10460
- var D, C;
10459
+ v.value ? (d(!0), H(ce, { key: 0 }, xe((T = I.value) == null ? void 0 : T.boards, (p) => {
10460
+ var D, x;
10461
10461
  return d(), b(A(zt), {
10462
10462
  key: `${(D = I.value) == null ? void 0 : D.viewName}_${p.boardType}`,
10463
10463
  board: p,
10464
10464
  viewName: j.value,
10465
- viewProps: (C = I.value) == null ? void 0 : C.props
10465
+ viewProps: (x = I.value) == null ? void 0 : x.props
10466
10466
  }, null, 8, ["board", "viewName", "viewProps"]);
10467
10467
  }), 128)) : q("", !0)
10468
10468
  ];
@@ -10782,7 +10782,7 @@ var ra = { exports: {} };
10782
10782
  (function(e, n) {
10783
10783
  t.exports = n();
10784
10784
  })(Eu, function() {
10785
- var e = 1e3, n = 6e4, o = 36e5, a = "millisecond", i = "second", l = "minute", s = "hour", c = "day", r = "week", M = "month", N = "quarter", I = "year", j = "date", x = "Invalid Date", P = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, z = {
10785
+ var e = 1e3, n = 6e4, o = 36e5, a = "millisecond", i = "second", l = "minute", s = "hour", c = "day", r = "week", M = "month", N = "quarter", I = "year", j = "date", C = "Invalid Date", P = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, z = {
10786
10786
  name: "en",
10787
10787
  weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
10788
10788
  months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
@@ -10829,7 +10829,7 @@ var ra = { exports: {} };
10829
10829
  T[B] = z;
10830
10830
  var p = "$isDayjsObject", D = function(E) {
10831
10831
  return E instanceof F || !(!E || !E[p]);
10832
- }, C = function U(E, S, y) {
10832
+ }, x = function U(E, S, y) {
10833
10833
  var O;
10834
10834
  if (!E)
10835
10835
  return B;
@@ -10850,7 +10850,7 @@ var ra = { exports: {} };
10850
10850
  var y = Du(S) == "object" ? S : {};
10851
10851
  return y.date = E, y.args = arguments, new F(y);
10852
10852
  }, g = f;
10853
- g.l = C, g.i = D, g.w = function(U, E) {
10853
+ g.l = x, g.i = D, g.w = function(U, E) {
10854
10854
  return V(U, {
10855
10855
  locale: E.$L,
10856
10856
  utc: E.$u,
@@ -10860,7 +10860,7 @@ var ra = { exports: {} };
10860
10860
  };
10861
10861
  var F = function() {
10862
10862
  function U(S) {
10863
- this.$L = C(S.locale, null, !0), this.parse(S), this.$x = this.$x || S.x || {}, this[p] = !0;
10863
+ this.$L = x(S.locale, null, !0), this.parse(S), this.$x = this.$x || S.x || {}, this[p] = !0;
10864
10864
  }
10865
10865
  var E = U.prototype;
10866
10866
  return E.parse = function(S) {
@@ -10887,7 +10887,7 @@ var ra = { exports: {} };
10887
10887
  }, E.$utils = function() {
10888
10888
  return g;
10889
10889
  }, E.isValid = function() {
10890
- return this.$d.toString() !== x;
10890
+ return this.$d.toString() !== C;
10891
10891
  }, E.isSame = function(S, y) {
10892
10892
  var O = V(S);
10893
10893
  return this.startOf(y) <= O && O <= this.endOf(y);
@@ -10964,7 +10964,7 @@ var ra = { exports: {} };
10964
10964
  }, E.format = function(S) {
10965
10965
  var y = this, O = this.$locale();
10966
10966
  if (!this.isValid())
10967
- return O.invalidDate || x;
10967
+ return O.invalidDate || C;
10968
10968
  var L = S || "YYYY-MM-DDTHH:mm:ssZ", h = g.z(this), Y = this.$H, W = this.$m, J = this.$M, se = O.weekdays, me = O.months, ne = O.meridiem, De = function(G, te, Me, de) {
10969
10969
  return G && (G[te] || G(y, L)) || Me[te].slice(0, de);
10970
10970
  }, Ue = function(G) {
@@ -11070,7 +11070,7 @@ var ra = { exports: {} };
11070
11070
  }, E.locale = function(S, y) {
11071
11071
  if (!S)
11072
11072
  return this.$L;
11073
- var O = this.clone(), L = C(S, y, !0);
11073
+ var O = this.clone(), L = x(S, y, !0);
11074
11074
  return L && (O.$L = L), O;
11075
11075
  }, E.clone = function() {
11076
11076
  return g.w(this.$d, this);
@@ -11090,7 +11090,7 @@ var ra = { exports: {} };
11090
11090
  };
11091
11091
  }), V.extend = function(U, E) {
11092
11092
  return U.$i || (U(E, F, V), U.$i = !0), V;
11093
- }, V.locale = C, V.isDayjs = D, V.unix = function(U) {
11093
+ }, V.locale = x, V.isDayjs = D, V.unix = function(U) {
11094
11094
  return V(1e3 * U);
11095
11095
  }, V.en = T[B], V.Ls = T, V.p = {}, V;
11096
11096
  });
@@ -12396,22 +12396,22 @@ var tr = { exports: {} };
12396
12396
  };
12397
12397
  }
12398
12398
  var o = n(e), a = "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"), i = "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"), l = "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"), s = "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"), c = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
12399
- function r(j, x, P) {
12399
+ function r(j, C, P) {
12400
12400
  var v, z;
12401
- return P === "m" ? x ? "минута" : "минуту" : j + " " + (v = +j, z = {
12402
- mm: x ? "минута_минуты_минут" : "минуту_минуты_минут",
12401
+ return P === "m" ? C ? "минута" : "минуту" : j + " " + (v = +j, z = {
12402
+ mm: C ? "минута_минуты_минут" : "минуту_минуты_минут",
12403
12403
  hh: "час_часа_часов",
12404
12404
  dd: "день_дня_дней",
12405
12405
  MM: "месяц_месяца_месяцев",
12406
12406
  yy: "год_года_лет"
12407
12407
  }[P].split("_"), v % 10 == 1 && v % 100 != 11 ? z[0] : v % 10 >= 2 && v % 10 <= 4 && (v % 100 < 10 || v % 100 >= 20) ? z[1] : z[2]);
12408
12408
  }
12409
- var M = function(x, P) {
12410
- return c.test(P) ? a[x.month()] : i[x.month()];
12409
+ var M = function(C, P) {
12410
+ return c.test(P) ? a[C.month()] : i[C.month()];
12411
12411
  };
12412
12412
  M.s = i, M.f = a;
12413
- var N = function(x, P) {
12414
- return c.test(P) ? l[x.month()] : s[x.month()];
12413
+ var N = function(C, P) {
12414
+ return c.test(P) ? l[C.month()] : s[C.month()];
12415
12415
  };
12416
12416
  N.s = s, N.f = l;
12417
12417
  var I = {
@@ -12446,11 +12446,11 @@ var tr = { exports: {} };
12446
12446
  y: "год",
12447
12447
  yy: r
12448
12448
  },
12449
- ordinal: function(x) {
12450
- return x;
12449
+ ordinal: function(C) {
12450
+ return C;
12451
12451
  },
12452
- meridiem: function(x) {
12453
- return x < 4 ? "ночи" : x < 12 ? "утра" : x < 17 ? "дня" : "вечера";
12452
+ meridiem: function(C) {
12453
+ return C < 4 ? "ночи" : C < 12 ? "утра" : C < 17 ? "дня" : "вечера";
12454
12454
  }
12455
12455
  };
12456
12456
  return o.default.locale(I, null, !0), I;
@@ -13758,7 +13758,7 @@ const Ir = { render: mr }, yr = {
13758
13758
  function pr(t, u) {
13759
13759
  return d(), H("svg", yr, [...fr]);
13760
13760
  }
13761
- const Cr = { render: pr }, xr = {
13761
+ const xr = { render: pr }, Cr = {
13762
13762
  class: "result-container",
13763
13763
  id: "result"
13764
13764
  }, zr = { class: "result-bg-img" }, hr = { class: "result-title" }, Lr = { class: "result-tip" }, Or = /* @__PURE__ */ oe({
@@ -13776,12 +13776,12 @@ const Cr = { render: pr }, xr = {
13776
13776
  case "404":
13777
13777
  return Ir;
13778
13778
  case "500":
13779
- return Cr;
13779
+ return xr;
13780
13780
  default:
13781
13781
  return io;
13782
13782
  }
13783
13783
  });
13784
- return (n, o) => (d(), H("div", xr, [
13784
+ return (n, o) => (d(), H("div", Cr, [
13785
13785
  ee("div", zr, [
13786
13786
  (d(), b(Mo(e.value)))
13787
13787
  ]),
@@ -13878,7 +13878,7 @@ const sa = /* @__PURE__ */ au(Or, [["__scopeId", "data-v-75fdffa5"]]), _s = /* @
13878
13878
  t.directive(u, lo[u]);
13879
13879
  });
13880
13880
  }
13881
- }, wr = "@gonsin/gview", vr = "2.1.26", Ur = "dist/index.mjs", Qr = "dist/types/index.d.ts", br = [
13881
+ }, wr = "@gonsin/gview", vr = "2.1.27", Ur = "dist/index.mjs", Qr = "dist/types/index.d.ts", br = [
13882
13882
  "dist",
13883
13883
  "README.md",
13884
13884
  "CHANGELOG.md"
@@ -14066,7 +14066,13 @@ const sa = /* @__PURE__ */ au(Or, [["__scopeId", "data-v-75fdffa5"]]), _s = /* @
14066
14066
  poster: u.bgImgSrc,
14067
14067
  autoplay: "",
14068
14068
  muted: "",
14069
- loop: ""
14069
+ loop: "",
14070
+ playsinline: "",
14071
+ "webkit-playsinline": "",
14072
+ "x5-playsinline": "",
14073
+ "x5-video-player-type": "h5",
14074
+ "x5-video-player-fullscreen": "false",
14075
+ "x5-video-orientation": "landscape"
14070
14076
  }, [
14071
14077
  ee("source", {
14072
14078
  src: u.bgVideoMp4Src,
@@ -14142,7 +14148,7 @@ export {
14142
14148
  _s as NotFound,
14143
14149
  mo as PREFIX,
14144
14150
  bs as PROJECT_PREFIX,
14145
- Co as RequestHttp,
14151
+ xo as RequestHttp,
14146
14152
  ct as SESSION_FORM_DATA_CACHE,
14147
14153
  Pn as SESSION_SIDE_MENU_COLLAPSE,
14148
14154
  fo as StorageUtils,
@@ -14151,7 +14157,7 @@ export {
14151
14157
  Ii as WS_INTERVAL_TIMEOUT,
14152
14158
  yi as WS_RESET_TIMEOUT,
14153
14159
  mi as WS_SERVICE_URL,
14154
- Ci as boardClass,
14160
+ xi as boardClass,
14155
14161
  Gu as checkPlaceholderIfHidden,
14156
14162
  fi as commonDialogClass,
14157
14163
  Dt as commonFormClass,
@@ -14167,7 +14173,7 @@ export {
14167
14173
  rn as evalContext,
14168
14174
  ji as filterTreeValues,
14169
14175
  ks as flattenMenuData,
14170
- xi as formClass,
14176
+ Ci as formClass,
14171
14177
  Wn as formItemClass,
14172
14178
  Lu as gLoginClass,
14173
14179
  ln as generateMenuTree,
@@ -14183,10 +14189,10 @@ export {
14183
14189
  lt as initFormModel,
14184
14190
  Mi as initTableColumns,
14185
14191
  ci as initTableDisplayColumns,
14186
- xo as initTreeSelectorData,
14192
+ Co as initTreeSelectorData,
14187
14193
  yu as is,
14188
14194
  zu as isArray,
14189
- Cs as isAsyncFunction,
14195
+ xs as isAsyncFunction,
14190
14196
  Ja as isBoolean,
14191
14197
  zs as isClient,
14192
14198
  fs as isDate,
@@ -14203,7 +14209,7 @@ export {
14203
14209
  qa as isPromise,
14204
14210
  Vn as isResourceUrl,
14205
14211
  Os as isServer,
14206
- xs as isString,
14212
+ Cs as isString,
14207
14213
  Io as isUnDef,
14208
14214
  hs as isWindow,
14209
14215
  nu as layoutClass,