@gonsin/gview 2.1.14 → 2.1.15

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 +479 -473
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@ var ra = (t, u, e) => u in t ? la(t, u, { enumerable: !0, configurable: !0, writ
3
3
  var Nu = (t, u, e) => (ra(t, typeof u != "symbol" ? u + "" : u, e), e);
4
4
  import { useI18n as Te } from "gonsin-i18n";
5
5
  import { useI18n as PM } from "gonsin-i18n";
6
- import { defineComponent as ne, ref as R, computed as Q, resolveComponent as Z, openBlock as T, createBlock as b, normalizeClass as K, withCtx as k, createVNode as B, createElementVNode as X, toDisplayString as ue, unref as A, createElementBlock as H, Fragment as Ne, renderList as pe, createCommentVNode as q, createTextVNode as ie, withModifiers as mt, nextTick as nn, inject as Ue, normalizeStyle as ru, normalizeProps as Su, mergeProps as ye, guardReactiveProps as ut, renderSlot as Pe, onMounted as _e, onBeforeUnmount as uu, watch as je, isRef as Ma, Transition as sa, createSlots as Ru, useSlots as an, resolveDynamicComponent as ln, TransitionGroup as ca, toRefs as Na, provide as tu, reactive as vt, onBeforeMount as at, toRaw as zt, shallowRef as Da, watchEffect as rn, defineAsyncComponent as Mn, createStaticVNode as No } from "vue";
6
+ import { defineComponent as ne, ref as R, computed as Q, resolveComponent as Z, openBlock as T, createBlock as b, normalizeClass as K, withCtx as k, createVNode as B, createElementVNode as X, toDisplayString as ue, unref as A, createElementBlock as H, Fragment as Ne, renderList as pe, createCommentVNode as q, createTextVNode as ie, withModifiers as yt, nextTick as nn, inject as Ue, normalizeStyle as ru, normalizeProps as Su, mergeProps as me, guardReactiveProps as ut, renderSlot as Pe, onMounted as _e, onBeforeUnmount as uu, watch as je, isRef as Ma, Transition as sa, createSlots as Ru, useSlots as an, resolveDynamicComponent as ln, TransitionGroup as ca, toRefs as Na, provide as tu, reactive as vt, onBeforeMount as at, toRaw as zt, shallowRef as Da, watchEffect as rn, defineAsyncComponent as Mn, createStaticVNode as No } from "vue";
7
7
  import { useRouter as nu, useRoute as Iu, onBeforeRouteLeave as sn, onBeforeRouteUpdate as cn } from "vue-router";
8
8
  import { defineStore as bu, storeToRefs as ga } from "pinia";
9
9
  import Tu from "dayjs";
@@ -12,7 +12,7 @@ import { customAlphabet as da } from "nanoid";
12
12
  import Ta from "nprogress";
13
13
  import { default as VM } from "nprogress";
14
14
  import { get as le, set as Ke, cloneDeep as Be, isPlainObject as Co, isArray as xo, isEqual as zo } from "lodash-es";
15
- import { MessagePlugin as ja, Button as Aa, Progress as Nn, Tooltip as wu, Link as Ia, Tree as ma, Card as ya, DialogPlugin as Ut, ConfigProvider as Ea } from "tdesign-vue-next";
15
+ import { MessagePlugin as ja, Button as Aa, Progress as Nn, Tooltip as wu, Link as Ia, Tree as ya, Card as ma, DialogPlugin as Ut, ConfigProvider as Ea } from "tdesign-vue-next";
16
16
  import { CloseIcon as pu, RefreshIcon as At, ArrowLeftIcon as Lo, ArrowRightIcon as ho, CloseCircleIcon as Oo, MoreIcon as fa, DeleteIcon as pa, ViewListIcon as Ca, PoweroffIcon as xa, ChevronDownIcon as za, Icon as ko, AppIcon as La, UploadIcon as So, CheckCircleFilledIcon as ha, PlayCircleFilledIcon as Oa, PauseCircleFilledIcon as ka, LinkIcon as Sa, ErrorCircleFilledIcon as wa, FileImageIcon as tt, FilePdfIcon as Dn, VideoIcon as eo, FileIconIcon as uo, FolderOpenIcon as va, FolderIcon as Ua, FilterIcon as Qa, SearchIcon as ba, EllipsisIcon as Ya, UserIcon as Qt, BrowseIcon as Ba } from "tdesign-icons-vue-next";
17
17
  import { useElementSize as gn, useDebounceFn as _a } from "@vueuse/core";
18
18
  import It from "number-precision";
@@ -32,35 +32,35 @@ const Tn = "VENUS_WEB", ke = (t) => `${Tn}_${t}`, vo = ke("WEBSITE_SETTING"), Uo
32
32
  displayMode: "light"
33
33
  // 主题模式 light | dark | auto
34
34
  }, Va = Object.prototype.toString;
35
- function mu(t, u) {
35
+ function yu(t, u) {
36
36
  return Va.call(t) === `[object ${u}]`;
37
37
  }
38
38
  function vu(t) {
39
- return mu(t, "Function");
39
+ return yu(t, "Function");
40
40
  }
41
- const Ra = (t) => typeof t < "u", jn = (t) => !Ra(t), go = (t) => t !== null && mu(t, "Object");
41
+ const Ra = (t) => typeof t < "u", jn = (t) => !Ra(t), go = (t) => t !== null && yu(t, "Object");
42
42
  function TM(t) {
43
- return mu(t, "Date");
43
+ return yu(t, "Date");
44
44
  }
45
45
  function jM(t) {
46
- return mu(t, "Number");
46
+ return yu(t, "Number");
47
47
  }
48
48
  function AM(t) {
49
- return mu(t, "AsyncFunction");
49
+ return yu(t, "AsyncFunction");
50
50
  }
51
51
  function Wa(t) {
52
- return mu(t, "Promise") && go(t) && vu(t.then) && vu(t.catch);
52
+ return yu(t, "Promise") && go(t) && vu(t.then) && vu(t.catch);
53
53
  }
54
54
  function IM(t) {
55
- return mu(t, "String");
55
+ return yu(t, "String");
56
56
  }
57
57
  function Ha(t) {
58
- return mu(t, "Boolean");
58
+ return yu(t, "Boolean");
59
59
  }
60
60
  function zu(t) {
61
61
  return t && Array.isArray(t);
62
62
  }
63
- const mM = () => typeof window < "u", yM = (t) => typeof window < "u" && mu(t, "Window"), EM = (t) => go(t) && !!t.tagName, fM = typeof window > "u";
63
+ const yM = () => typeof window < "u", mM = (t) => typeof window < "u" && yu(t, "Window"), EM = (t) => go(t) && !!t.tagName, fM = typeof window > "u";
64
64
  function eu(t) {
65
65
  return t === null;
66
66
  }
@@ -70,7 +70,7 @@ function pM(t) {
70
70
  function Fe(t) {
71
71
  return jn(t) || eu(t);
72
72
  }
73
- function yt(t) {
73
+ function mt(t) {
74
74
  return Fe(t) || (t + "").trim() == "";
75
75
  }
76
76
  function no(t, u, e) {
@@ -108,7 +108,7 @@ const CM = (t) => {
108
108
  const u = [];
109
109
  function e(o, n) {
110
110
  o.forEach((a) => {
111
- const { menuKey: i, edificeKey: l, name: r, title: c, translateTitle: M, url: s, icon: D, level: m, init: j } = a;
111
+ const { menuKey: i, edificeKey: l, name: r, title: c, translateTitle: M, url: s, icon: D, level: y, init: j } = a;
112
112
  u.push({
113
113
  menuKey: i,
114
114
  edificeKey: l,
@@ -118,7 +118,7 @@ const CM = (t) => {
118
118
  translateTitle: M,
119
119
  url: s,
120
120
  icon: D,
121
- level: m,
121
+ level: y,
122
122
  init: j
123
123
  }), a.children && a.children.length > 0 && e(a.children, r);
124
124
  });
@@ -140,7 +140,7 @@ const CM = (t) => {
140
140
  }
141
141
  return u;
142
142
  };
143
- class mn {
143
+ class yn {
144
144
  constructor(u = "local") {
145
145
  /**
146
146
  * 存储实例: 默认为 local
@@ -173,7 +173,7 @@ class mn {
173
173
  this.storage.clear();
174
174
  }
175
175
  }
176
- const Cu = new mn("session"), ge = new mn("local");
176
+ const Cu = new yn("session"), ge = new yn("local");
177
177
  function ot(t) {
178
178
  return da(
179
179
  "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
@@ -218,7 +218,7 @@ async function Za(t) {
218
218
  function Ka(t) {
219
219
  return t.replace(/([A-Z])/g, "_$1").toUpperCase();
220
220
  }
221
- function yn(t, u) {
221
+ function mn(t, u) {
222
222
  const e = /^#[A-F\d]{6}$/i.test(t) ? t : Ka(t);
223
223
  return u[e || "DEFAULT"];
224
224
  }
@@ -614,7 +614,7 @@ function nt(t, u, e = !1) {
614
614
  if (!Fe(u) && u.length) {
615
615
  if (Object.keys(t).length)
616
616
  return u.forEach((o) => {
617
- o.keyName && yt(le(t, o.keyName)) && (o.itemType === "check_box" || o.itemType === "switch") && Ke(
617
+ o.keyName && mt(le(t, o.keyName)) && (o.itemType === "check_box" || o.itemType === "switch") && Ke(
618
618
  t,
619
619
  o.keyName,
620
620
  $e(o.itemType, e)
@@ -637,13 +637,13 @@ function fn(t) {
637
637
  const M = [];
638
638
  return c.forEach((s) => {
639
639
  if (s[i] == r) {
640
- const D = l(s[e], u), m = {
640
+ const D = l(s[e], u), y = {
641
641
  key: s[e],
642
642
  label: s[n],
643
643
  value: s[o],
644
644
  children: []
645
645
  };
646
- D.length && (m.children = D), M.push(m);
646
+ D.length && (y.children = D), M.push(y);
647
647
  }
648
648
  }), M;
649
649
  };
@@ -1279,24 +1279,24 @@ const To = bu("column", {
1279
1279
  this.edificeLogoUrl = t;
1280
1280
  }
1281
1281
  }
1282
- }), Wt = "g-dialog-plugin", ji = "g-common-dialog", st = "g-common-form", ct = "g-common-header", Ai = "g-common-table", Ii = "g-board", xM = "g-dialog", mi = "g-form", Po = "g-form-item", zM = "g-header", yi = "g-tab", Vu = "g-table", ou = "g-layout", Nt = "g-uploader", Ou = "g-login", Ei = ["title"], fi = {
1282
+ }), Wt = "g-dialog-plugin", ji = "g-common-dialog", st = "g-common-form", ct = "g-common-header", Ai = "g-common-table", Ii = "g-board", xM = "g-dialog", yi = "g-form", Po = "g-form-item", zM = "g-header", mi = "g-tab", Vu = "g-table", ou = "g-layout", Nt = "g-uploader", Ou = "g-login", Ei = ["title"], fi = {
1283
1283
  key: 0,
1284
1284
  class: "menu-item--close-button"
1285
1285
  }, pi = ["title"], Ci = ["title"], xi = ["title"], zi = ["onClick"], Li = ["title"], hi = ["title"], Oi = ["onClick"], ki = ["title"], Si = ["title"], wi = ["title"], vi = ["title"], Ui = ["title"], Qi = ["title"], bi = /* @__PURE__ */ ne({
1286
1286
  __name: "GLayoutHeaderTab",
1287
1287
  setup(t) {
1288
1288
  const { T: u } = Te(), e = `${ou}__layoutHeaderTab`, o = nu(), n = Iu(), a = R(""), i = Yu(), l = ve(), r = Q(() => i.tabMenuList), c = Q(() => l.homeUrl), M = Q(() => l.displayMode);
1289
- function s(S, y, O) {
1290
- y.trigger === "document" && (a.value = null), S && (a.value = O);
1289
+ function s(S, m, O) {
1290
+ m.trigger === "document" && (a.value = null), S && (a.value = O);
1291
1291
  }
1292
1292
  function D(S) {
1293
1293
  S === "/HomePage" ? o.push({ path: c.value, query: hu(c.value) }) : o.push({ path: S, query: hu(S) });
1294
1294
  }
1295
- function m({ value: S, index: y }) {
1295
+ function y({ value: S, index: m }) {
1296
1296
  const { tabMenuList: O } = i;
1297
1297
  if (O.length > 0) {
1298
- i.subtractCurrentTabMenuItem({ path: S, itemIdx: y });
1299
- const C = O.find((L, Y) => Y == y + 1) ?? O.find((L, Y) => Y == y - 1);
1298
+ i.subtractCurrentTabMenuItem({ path: S, itemIdx: m });
1299
+ const C = O.find((L, Y) => Y == m + 1) ?? O.find((L, Y) => Y == m - 1);
1300
1300
  if (C) {
1301
1301
  const L = decodeURIComponent(n.fullPath);
1302
1302
  S === L && o.push({
@@ -1307,27 +1307,27 @@ const To = bu("column", {
1307
1307
  o.push({ path: c.value, query: hu(c.value) });
1308
1308
  }
1309
1309
  }
1310
- function j(S, y) {
1310
+ function j(S, m) {
1311
1311
  const { path: O } = S;
1312
1312
  nn(() => {
1313
1313
  O === "/HomePage" ? o.push({ path: c.value, query: hu(c.value) }) : o.push({ path: O, query: hu(O) });
1314
1314
  }), l.toggleGlobalReload(), a.value = null;
1315
1315
  }
1316
- function x(S, y) {
1317
- i.subtractTabMenuItemAhead({ path: S, itemIdx: y }), w("ahead", y);
1316
+ function x(S, m) {
1317
+ i.subtractTabMenuItemAhead({ path: S, itemIdx: m }), w("ahead", m);
1318
1318
  }
1319
- function $(S, y) {
1320
- i.subtractTabMenuItemBehind({ path: S, itemIdx: y }), w("behind", y);
1319
+ function $(S, m) {
1320
+ i.subtractTabMenuItemBehind({ path: S, itemIdx: m }), w("behind", m);
1321
1321
  }
1322
- function v(S, y) {
1323
- r.value.length > 1 && (i.subtractTabMenuItemOther({ path: S, itemIdx: y }), w("other", y));
1322
+ function v(S, m) {
1323
+ r.value.length > 1 && (i.subtractTabMenuItemOther({ path: S, itemIdx: m }), w("other", m));
1324
1324
  }
1325
1325
  function p() {
1326
1326
  i.clearTabMenu(), o.push({ path: c.value, query: hu(c.value) }), a.value = null, l.toggleGlobalReload();
1327
1327
  }
1328
- function w(S, y) {
1328
+ function w(S, m) {
1329
1329
  const O = n.fullPath, { tabMenuList: C } = i, L = C.findIndex((W) => W.path === O);
1330
- if (S === "other" && L !== y || S === "ahead" && L < y || S === "behind" && L === -1 || S == "all") {
1330
+ if (S === "other" && L !== m || S === "ahead" && L < m || S === "behind" && L === -1 || S == "all") {
1331
1331
  const W = S !== "all" && S === "behind" ? C.length - 1 : 0, J = C[W];
1332
1332
  o.push({
1333
1333
  path: J.path,
@@ -1365,7 +1365,7 @@ const To = bu("column", {
1365
1365
  U.value = !0;
1366
1366
  });
1367
1367
  }
1368
- return (S, y) => {
1368
+ return (S, m) => {
1369
1369
  const O = Z("t-menu-item"), C = Z("t-head-menu"), L = Z("t-dropdown-item"), Y = Z("t-dropdown-menu"), W = Z("t-dropdown"), J = Z("t-divider"), re = Z("t-button"), Ae = Z("t-submenu");
1370
1370
  return T(), b(C, {
1371
1371
  ref_key: "GLayoutHeaderRef",
@@ -1421,7 +1421,7 @@ const To = bu("column", {
1421
1421
  B(Y, null, {
1422
1422
  default: k(() => [
1423
1423
  B(L, {
1424
- onClick: y[0] || (y[0] = () => j({ path: "/HomePage" }))
1424
+ onClick: m[0] || (m[0] = () => j({ path: "/HomePage" }))
1425
1425
  }, {
1426
1426
  default: k(() => [
1427
1427
  X("span", {
@@ -1480,7 +1480,7 @@ const To = bu("column", {
1480
1480
  }, 1032, ["onClick"]),
1481
1481
  oe.isHome ? q("", !0) : (T(), b(L, {
1482
1482
  key: 0,
1483
- onClick: () => m({ value: oe.path, index: se })
1483
+ onClick: () => y({ value: oe.path, index: se })
1484
1484
  }, {
1485
1485
  default: k(() => [
1486
1486
  X("span", null, [
@@ -1545,8 +1545,8 @@ const To = bu("column", {
1545
1545
  oe.isHome ? q("", !0) : (T(), H("div", {
1546
1546
  key: 2,
1547
1547
  class: "menu-item--close-button",
1548
- onClick: mt(
1549
- () => m({
1548
+ onClick: yt(
1549
+ () => y({
1550
1550
  value: oe.path,
1551
1551
  index: se
1552
1552
  }),
@@ -1610,7 +1610,7 @@ const To = bu("column", {
1610
1610
  }, 1032, ["onClick"]),
1611
1611
  oe.isHome ? q("", !0) : (T(), b(L, {
1612
1612
  key: 0,
1613
- onClick: () => m({
1613
+ onClick: () => y({
1614
1614
  value: oe.path,
1615
1615
  index: z.value.length + se
1616
1616
  })
@@ -1694,8 +1694,8 @@ const To = bu("column", {
1694
1694
  }, ue(oe.title), 9, hi)),
1695
1695
  X("div", {
1696
1696
  class: "menu-item--close-button",
1697
- onClick: mt(
1698
- () => m({
1697
+ onClick: yt(
1698
+ () => y({
1699
1699
  value: oe.path,
1700
1700
  index: z.value.length + se
1701
1701
  }),
@@ -1716,7 +1716,7 @@ const To = bu("column", {
1716
1716
  variant: "text",
1717
1717
  theme: "danger",
1718
1718
  block: "",
1719
- onClick: y[1] || (y[1] = (oe) => p())
1719
+ onClick: m[1] || (m[1] = (oe) => p())
1720
1720
  }, {
1721
1721
  default: k(() => [
1722
1722
  X("span", {
@@ -1794,7 +1794,7 @@ const xn = { render: Gi }, Zi = { class: "username" }, Ki = /* @__PURE__ */ ne({
1794
1794
  return u.t("管理员");
1795
1795
  }
1796
1796
  return n.userRealName;
1797
- }), s = Q(() => n.displayMode), D = Ti(), m = Q(() => D.logoUrl), j = Q(() => (m.value ?? "") != "" ? { backgroundImage: `url(${m.value})` } : { backgroundImage: `url(${Yi})` }), x = Q(() => n.isSideMenuCollapse);
1797
+ }), s = Q(() => n.displayMode), D = Ti(), y = Q(() => D.logoUrl), j = Q(() => (y.value ?? "") != "" ? { backgroundImage: `url(${y.value})` } : { backgroundImage: `url(${Yi})` }), x = Q(() => n.isSideMenuCollapse);
1798
1798
  function $() {
1799
1799
  n.toggleSideMenuCollapse(), n.isSideHoverMenuShow && (n.isSideHoverMenuShow = !1);
1800
1800
  }
@@ -1815,8 +1815,8 @@ const xn = { render: Gi }, Zi = { class: "username" }, Ki = /* @__PURE__ */ ne({
1815
1815
  }, 500);
1816
1816
  }
1817
1817
  return (h, N) => {
1818
- const z = Z("t-button"), P = Z("t-icon"), g = Z("t-badge"), F = Z("t-popup"), I = Z("t-dropdown-item"), U = Z("t-dropdown-menu"), E = Z("t-dropdown"), S = Z("t-head-menu"), y = Z("t-header");
1819
- return T(), b(y, {
1818
+ const z = Z("t-button"), P = Z("t-icon"), g = Z("t-badge"), F = Z("t-popup"), I = Z("t-dropdown-item"), U = Z("t-dropdown-menu"), E = Z("t-dropdown"), S = Z("t-head-menu"), m = Z("t-header");
1819
+ return T(), b(m, {
1820
1820
  class: K(e),
1821
1821
  onMouseleave: d
1822
1822
  }, {
@@ -1865,11 +1865,11 @@ const xn = { render: Gi }, Zi = { class: "username" }, Ki = /* @__PURE__ */ ne({
1865
1865
  class: K(`${e}--operations`)
1866
1866
  }, [
1867
1867
  (T(!0), H(Ne, null, pe(A(i), (C, L) => (T(), H(Ne, { key: L }, [
1868
- C != null && C.isPopup ? (T(), b(F, Su(ye({ key: 0 }, C == null ? void 0 : C.popupProps)), {
1868
+ C != null && C.isPopup ? (T(), b(F, Su(me({ key: 0 }, C == null ? void 0 : C.popupProps)), {
1869
1869
  default: k(() => [
1870
1870
  B(g, Su(ut(C == null ? void 0 : C.badgeProps)), {
1871
1871
  default: k(() => [
1872
- B(z, ye({
1872
+ B(z, me({
1873
1873
  theme: "default",
1874
1874
  shape: "square",
1875
1875
  variant: "text",
@@ -1911,9 +1911,9 @@ const xn = { render: Gi }, Zi = { class: "username" }, Ki = /* @__PURE__ */ ne({
1911
1911
  }, 1040)
1912
1912
  ]),
1913
1913
  _: 2
1914
- }, 1040)) : (T(), b(g, Su(ye({ key: 1 }, C == null ? void 0 : C.badgeProps)), {
1914
+ }, 1040)) : (T(), b(g, Su(me({ key: 1 }, C == null ? void 0 : C.badgeProps)), {
1915
1915
  default: k(() => [
1916
- B(z, ye({
1916
+ B(z, me({
1917
1917
  theme: "default",
1918
1918
  shape: "square",
1919
1919
  variant: "text",
@@ -2210,7 +2210,7 @@ const au = (t, u) => {
2210
2210
  p && (M.value = p.scrollTop);
2211
2211
  });
2212
2212
  const D = Q(() => o.isSideSelfDragging);
2213
- function m() {
2213
+ function y() {
2214
2214
  var p;
2215
2215
  if (!D.value && s.value) {
2216
2216
  const w = (p = s.value.$el) == null ? void 0 : p.querySelectorAll(".t-menu__content"), f = Array.from(w).map((d) => {
@@ -2224,12 +2224,12 @@ const au = (t, u) => {
2224
2224
  je(
2225
2225
  () => i.value,
2226
2226
  () => {
2227
- i.value && m();
2227
+ i.value && y();
2228
2228
  }
2229
2229
  );
2230
2230
  function j() {
2231
2231
  setTimeout(() => {
2232
- m();
2232
+ y();
2233
2233
  }, 100);
2234
2234
  }
2235
2235
  Q(() => o.sideMenuMinWidth);
@@ -2429,10 +2429,10 @@ const au = (t, u) => {
2429
2429
  }), r = () => {
2430
2430
  o.changeTheme(i.value);
2431
2431
  }, c = (M) => ({
2432
- background: yn(M, zn)["--td-brand-color"]
2432
+ background: mn(M, zn)["--td-brand-color"]
2433
2433
  });
2434
2434
  return (M, s) => {
2435
- const D = Z("t-radio-button"), m = Z("t-radio-group"), j = Z("t-drawer");
2435
+ const D = Z("t-radio-button"), y = Z("t-radio-group"), j = Z("t-drawer");
2436
2436
  return T(), b(j, {
2437
2437
  class: K(`${e}`),
2438
2438
  visible: l.value,
@@ -2455,7 +2455,7 @@ const au = (t, u) => {
2455
2455
  X("div", {
2456
2456
  class: K(`${e}--container-title`)
2457
2457
  }, ue(A(u).t("主题色")), 3),
2458
- B(m, {
2458
+ B(y, {
2459
2459
  modelValue: i.value.brandTheme,
2460
2460
  "onUpdate:modelValue": s[0] || (s[0] = (x) => i.value.brandTheme = x),
2461
2461
  onChange: r
@@ -2482,7 +2482,7 @@ const au = (t, u) => {
2482
2482
  X("div", {
2483
2483
  class: K(`${e}--container-title`)
2484
2484
  }, ue(A(u).t("主题模式")), 3),
2485
- B(m, {
2485
+ B(y, {
2486
2486
  modelValue: i.value.displayMode,
2487
2487
  "onUpdate:modelValue": s[1] || (s[1] = (x) => i.value.displayMode = x),
2488
2488
  variant: "default-filled",
@@ -2534,7 +2534,7 @@ const a0 = /* @__PURE__ */ au(o0, [["render", n0]]), i0 = /* @__PURE__ */ ne({
2534
2534
  },
2535
2535
  emits: ["menuClick"],
2536
2536
  setup(t, { emit: u }) {
2537
- const e = t, o = R(null), n = R(""), a = R(!1), i = R([]), l = R(150), r = R(null), c = R(""), M = R(0), s = `${ou}__side-hover-menu`, D = `${ou}__side-hover-menu-content`, m = (d) => [
2537
+ const e = t, o = R(null), n = R(""), a = R(!1), i = R([]), l = R(150), r = R(null), c = R(""), M = R(0), s = `${ou}__side-hover-menu`, D = `${ou}__side-hover-menu-content`, y = (d) => [
2538
2538
  `${D}--level${d.level}`,
2539
2539
  `${D}--hover-menu-item`
2540
2540
  ], j = (d) => {
@@ -2638,7 +2638,7 @@ const a0 = /* @__PURE__ */ au(o0, [["render", n0]]), i0 = /* @__PURE__ */ ne({
2638
2638
  } : void 0
2639
2639
  ]), 1032, ["class", "name", "value", "popup-props", "onMouseenter"])) : (T(), b(N, {
2640
2640
  key: 0,
2641
- class: K(m(I)),
2641
+ class: K(y(I)),
2642
2642
  name: I.path,
2643
2643
  value: I.path,
2644
2644
  onClick: (E) => d.$emit("menuClick", I.path),
@@ -2685,28 +2685,28 @@ const a0 = /* @__PURE__ */ au(o0, [["render", n0]]), i0 = /* @__PURE__ */ ne({
2685
2685
  setup(t) {
2686
2686
  const u = nu(), e = Iu(), o = ve(), n = Q(() => o.sideMenuTree), a = Q(() => o.displayMode), i = Q({
2687
2687
  get: () => o.isSideHoverMenuShow,
2688
- set: (m) => o.isSideHoverMenuShow = m
2688
+ set: (y) => o.isSideHoverMenuShow = y
2689
2689
  }), l = Q(() => o.sideHoverMenuTimer), r = Q(() => {
2690
- const m = e.fullPath.split("/");
2691
- return m[m.length - 1];
2690
+ const y = e.fullPath.split("/");
2691
+ return y[y.length - 1];
2692
2692
  }), c = R(null), M = () => {
2693
2693
  o.sideHoverMenuTimer = setTimeout(() => {
2694
2694
  o.isSideHoverMenuShow && (o.isSideHoverMenuShow = !1), clearTimeout(l.value);
2695
2695
  }, 500);
2696
2696
  }, s = () => {
2697
2697
  clearTimeout(l.value), o.isSideHoverMenuShow = !0;
2698
- }, D = (m) => {
2699
- if (it(m)) {
2700
- const x = ju(m, {
2698
+ }, D = (y) => {
2699
+ if (it(y)) {
2700
+ const x = ju(y, {
2701
2701
  token: o.token,
2702
2702
  sessionId: Mu(),
2703
2703
  lang: o.userLang,
2704
2704
  _venuServType: 2
2705
2705
  });
2706
2706
  window.open(x, "_blank");
2707
- } else if (m.startsWith(":")) {
2707
+ } else if (y.startsWith(":")) {
2708
2708
  const x = ju(
2709
- `${window.location.protocol}//${window.location.hostname}${m}`,
2709
+ `${window.location.protocol}//${window.location.hostname}${y}`,
2710
2710
  {
2711
2711
  token: o.token,
2712
2712
  sessionId: Mu(),
@@ -2716,12 +2716,12 @@ const a0 = /* @__PURE__ */ au(o0, [["render", n0]]), i0 = /* @__PURE__ */ ne({
2716
2716
  );
2717
2717
  window.open(x, "_blank");
2718
2718
  } else
2719
- u.push(m);
2719
+ u.push(y);
2720
2720
  o.isSideHoverMenuShow = !1;
2721
2721
  };
2722
2722
  return uu(() => {
2723
2723
  l.value && clearTimeout(l.value);
2724
- }), (m, j) => (T(), H("div", {
2724
+ }), (y, j) => (T(), H("div", {
2725
2725
  ref_key: "menuRef",
2726
2726
  ref: c,
2727
2727
  onMouseenter: s,
@@ -2813,7 +2813,7 @@ const Io = We(M0), Ln = /* @__PURE__ */ ne({
2813
2813
  setup(t) {
2814
2814
  return (u, e) => {
2815
2815
  const o = Z("t-dialog");
2816
- return T(), b(o, ye({
2816
+ return T(), b(o, me({
2817
2817
  class: A(ji),
2818
2818
  placement: "center"
2819
2819
  }, u.commonDialogProps), Ru({ _: 2 }, [
@@ -2841,7 +2841,7 @@ const s0 = We(Ln), c0 = /* @__PURE__ */ ne({
2841
2841
  return T(), H("div", {
2842
2842
  class: K(`${A(st)}`)
2843
2843
  }, [
2844
- B(a, ye({
2844
+ B(a, me({
2845
2845
  ref_key: "tFormRef",
2846
2846
  ref: e,
2847
2847
  class: `${A(st)}--main`
@@ -2917,14 +2917,20 @@ const OM = We(N0), D0 = /* @__PURE__ */ ne({
2917
2917
  hover: !0,
2918
2918
  bordered: !0,
2919
2919
  tableLayout: "auto",
2920
- stripe: !0
2920
+ stripe: !0,
2921
+ lazyLoad: !0,
2922
+ scroll: {
2923
+ type: "lazy",
2924
+ bufferSize: 10,
2925
+ threshold: 50
2926
+ }
2921
2927
  }));
2922
2928
  return (n, a) => {
2923
2929
  const i = Z("t-table"), l = Z("t-primary-table"), r = Z("t-enhanced-table");
2924
2930
  return T(), H("div", {
2925
2931
  class: K(`${A(Ai)}`)
2926
2932
  }, [
2927
- n.tableType === "base" ? (T(), b(i, ye({
2933
+ n.tableType === "base" ? (T(), b(i, me({
2928
2934
  key: 0,
2929
2935
  ref_key: "tTableRef",
2930
2936
  ref: e
@@ -2935,7 +2941,7 @@ const OM = We(N0), D0 = /* @__PURE__ */ ne({
2935
2941
  Pe(n.$slots, M, Su(ut({ ...s })))
2936
2942
  ])
2937
2943
  }))
2938
- ]), 1040)) : n.tableType == "primary" ? (T(), b(l, ye({
2944
+ ]), 1040)) : n.tableType == "primary" ? (T(), b(l, me({
2939
2945
  key: 1,
2940
2946
  ref_key: "tTableRef",
2941
2947
  ref: e
@@ -2946,7 +2952,7 @@ const OM = We(N0), D0 = /* @__PURE__ */ ne({
2946
2952
  Pe(n.$slots, M, Su(ut({ ...s })))
2947
2953
  ])
2948
2954
  }))
2949
- ]), 1040)) : n.tableType === "enhanced" ? (T(), b(r, ye({
2955
+ ]), 1040)) : n.tableType === "enhanced" ? (T(), b(r, me({
2950
2956
  key: 2,
2951
2957
  ref_key: "tTableRef",
2952
2958
  ref: e
@@ -3013,7 +3019,7 @@ const Ju = (t) => {
3013
3019
  onError: D = Ht
3014
3020
  }) => {
3015
3021
  var _;
3016
- const m = $o(u, t) || "file", j = $o(e, t), x = Mu(), $ = i ? `${pt.pieceUploadFiles}?sessionId=${x}` : `${pt.baseUploadFile}?sessionId=${x}`, v = ge.getItem(to) ?? "zh-CN", p = [];
3022
+ const y = $o(u, t) || "file", j = $o(e, t), x = Mu(), $ = i ? `${pt.pieceUploadFiles}?sessionId=${x}` : `${pt.baseUploadFile}?sessionId=${x}`, v = ge.getItem(to) ?? "zh-CN", p = [];
3017
3023
  function w(d, h) {
3018
3024
  let N = 0;
3019
3025
  p.forEach((z) => {
@@ -3027,15 +3033,15 @@ const Ju = (t) => {
3027
3033
  return;
3028
3034
  const E = d.shift();
3029
3035
  if (E) {
3030
- const S = z++, y = new XMLHttpRequest();
3031
- n && (y.withCredentials = !0), y.upload.onprogress = (O) => {
3036
+ const S = z++, m = new XMLHttpRequest();
3037
+ n && (m.withCredentials = !0), m.upload.onprogress = (O) => {
3032
3038
  const C = O.total > 0 ? It.round(O.loaded / O.total, 2) : 0;
3033
3039
  p[S] = O.loaded, w(C, O);
3034
- }, y.onerror = function(C) {
3040
+ }, m.onerror = function(C) {
3035
3041
  P = !0, D(C);
3036
- }, y.onload = () => {
3037
- if (y.status < 200 || y.status >= 300) {
3038
- D(Ju(y));
3042
+ }, m.onload = () => {
3043
+ if (m.status < 200 || m.status >= 300) {
3044
+ D(Ju(m));
3039
3045
  return;
3040
3046
  }
3041
3047
  if (N == F - 1) {
@@ -3043,12 +3049,12 @@ const Ju = (t) => {
3043
3049
  s(O);
3044
3050
  } else
3045
3051
  N++, I();
3046
- }, y.open("post", $ ?? "", !0);
3052
+ }, m.open("post", $ ?? "", !0);
3047
3053
  for (const O of Object.keys(o))
3048
- y.setRequestHeader(O, o[O]);
3049
- y.setRequestHeader("lang", v), y.send(E), g.push(y);
3054
+ m.setRequestHeader(O, o[O]);
3055
+ m.setRequestHeader("lang", v), m.send(E), g.push(m);
3050
3056
  } else if (N === F) {
3051
- const S = g.map((y) => Ju(y));
3057
+ const S = g.map((m) => Ju(m));
3052
3058
  s(S);
3053
3059
  }
3054
3060
  }, U = () => {
@@ -3101,7 +3107,7 @@ const Ju = (t) => {
3101
3107
  if (j)
3102
3108
  for (const N of Object.keys(j))
3103
3109
  h.append(N, j[N]);
3104
- t.file && h.append(m, t.file), d.open("post", $ ?? "", !0);
3110
+ t.file && h.append(y, t.file), d.open("post", $ ?? "", !0);
3105
3111
  for (const N of Object.keys(o))
3106
3112
  d.setRequestHeader(N, o[N]);
3107
3113
  return d.setRequestHeader("lang", v), d.send(h), {
@@ -3159,7 +3165,7 @@ const Ju = (t) => {
3159
3165
  }
3160
3166
  }
3161
3167
  return u ?? [];
3162
- }, _u = Symbol("GUploader"), I0 = ["disabled", "accept", "multiple"], m0 = ["title"], y0 = /* @__PURE__ */ ne({
3168
+ }, _u = Symbol("GUploader"), I0 = ["disabled", "accept", "multiple"], y0 = ["title"], m0 = /* @__PURE__ */ ne({
3163
3169
  __name: "GUploaderButton",
3164
3170
  props: {
3165
3171
  uploaderText: {
@@ -3216,8 +3222,8 @@ const Ju = (t) => {
3216
3222
  if (vu(n.onButtonClick)) {
3217
3223
  const D = n.onButtonClick(s);
3218
3224
  if (Wa(D)) {
3219
- D.then((m) => {
3220
- n.uploadFiles(Vo(m));
3225
+ D.then((y) => {
3226
+ n.uploadFiles(Vo(y));
3221
3227
  });
3222
3228
  return;
3223
3229
  }
@@ -3229,7 +3235,7 @@ const Ju = (t) => {
3229
3235
  D.files && n.uploadFiles(Vo(D.files)), D.value = "";
3230
3236
  }, c = Q(() => n.fileList && Array.isArray(n.fileList) && n.fileList.some((s) => s.status === "uploading") ? "uploading" : "normal"), M = Q(() => {
3231
3237
  if (n.fileList && Array.isArray(n.fileList) && n.fileList.length > 0) {
3232
- const D = n.fileList.reduce((m, j) => m + (j.percent || 0), 0) / n.fileList.length * 100;
3238
+ const D = n.fileList.reduce((y, j) => y + (j.percent || 0), 0) / n.fileList.length * 100;
3233
3239
  return Math.round(D);
3234
3240
  }
3235
3241
  return 0;
@@ -3240,7 +3246,7 @@ const Ju = (t) => {
3240
3246
  class: K(o.value),
3241
3247
  onClick: l
3242
3248
  }, [
3243
- X("input", ye({
3249
+ X("input", me({
3244
3250
  ref_key: "inputRef",
3245
3251
  ref: a,
3246
3252
  type: "file",
@@ -3249,14 +3255,14 @@ const Ju = (t) => {
3249
3255
  accept: t.accept,
3250
3256
  multiple: t.multiple
3251
3257
  }, { ...t.directory ? { webkitdirectory: "webkitdirectory" } : {} }, { onChange: r }), null, 16, I0),
3252
- B(A(Aa), ye({
3258
+ B(A(Aa), me({
3253
3259
  variant: "outline",
3254
3260
  disabled: t.disabled
3255
3261
  }, t.buttonProps), {
3256
3262
  icon: k(() => {
3257
- var m;
3263
+ var y;
3258
3264
  return [
3259
- (m = A(u)) != null && m.showButtonProgress ? (T(), H(Ne, { key: 0 }, [
3265
+ (y = A(u)) != null && y.showButtonProgress ? (T(), H(Ne, { key: 0 }, [
3260
3266
  c.value == "normal" ? (T(), b(A(So), {
3261
3267
  key: 0,
3262
3268
  size: "14"
@@ -3284,7 +3290,7 @@ const Ju = (t) => {
3284
3290
  key: 0,
3285
3291
  class: K(`${e.value}-tip`),
3286
3292
  title: t.tip
3287
- }, ue(t.tip), 11, m0)) : q("", !0)
3293
+ }, ue(t.tip), 11, y0)) : q("", !0)
3288
3294
  ], 2));
3289
3295
  }
3290
3296
  }), E0 = /* @__PURE__ */ ne({
@@ -3298,7 +3304,7 @@ const Ju = (t) => {
3298
3304
  setup(t) {
3299
3305
  const { T: u } = Te(), e = Ue(_u, void 0), n = `${Q(() => `${e == null ? void 0 : e.uploaderClass}`).value}__progress`, a = (l) => `${Math.round(l * 1e4) / 100}%`, i = (l) => Math.round(l * 1e4) / 100;
3300
3306
  return (l, r) => {
3301
- var c, M, s, D, m, j;
3307
+ var c, M, s, D, y, j;
3302
3308
  return T(), H("span", {
3303
3309
  class: K(n)
3304
3310
  }, [
@@ -3339,7 +3345,7 @@ const Ju = (t) => {
3339
3345
  }, 8, ["content"])
3340
3346
  ], 2)) : t.file.status == "done" ? (T(), H("span", {
3341
3347
  key: 2,
3342
- class: K([(m = A(e)) == null ? void 0 : m.iconClass, `${(j = A(e)) == null ? void 0 : j.iconClass}-success`])
3348
+ class: K([(y = A(e)) == null ? void 0 : y.iconClass, `${(j = A(e)) == null ? void 0 : j.iconClass}-success`])
3343
3349
  }, [
3344
3350
  B(A(ha))
3345
3351
  ], 2)) : t.file.status == "init" ? (T(), b(A(wu), {
@@ -3420,7 +3426,7 @@ const Ju = (t) => {
3420
3426
  return [
3421
3427
  X("span", {
3422
3428
  class: K([(c = A(e)) == null ? void 0 : c.iconClass]),
3423
- onClick: l[0] || (l[0] = mt((M) => a(t.file), ["stop"]))
3429
+ onClick: l[0] || (l[0] = yt((M) => a(t.file), ["stop"]))
3424
3430
  }, [
3425
3431
  B(A(Sa))
3426
3432
  ], 2)
@@ -3450,7 +3456,7 @@ const Ju = (t) => {
3450
3456
  B(E0, { file: t.file }, null, 8, ["file"]),
3451
3457
  (r = A(e)) != null && r.showRemoveButton ? (T(), H("span", {
3452
3458
  key: 2,
3453
- onClick: l[1] || (l[1] = mt((c) => {
3459
+ onClick: l[1] || (l[1] = yt((c) => {
3454
3460
  var M, s;
3455
3461
  return (s = (M = A(e)) == null ? void 0 : M.onRemove) == null ? void 0 : s.call(M, t.file);
3456
3462
  }, ["stop"]))
@@ -3602,8 +3608,8 @@ const Sn = /* @__PURE__ */ au(f0, [["__scopeId", "data-v-8a486150"]]), p0 = /* @
3602
3608
  if (c.data.type)
3603
3609
  D = c.data.file.type;
3604
3610
  else {
3605
- const m = ((s = c.data.filename) == null ? void 0 : s.split(".")[1]) ?? "";
3606
- ["png", "jpg", "jpeg", "bmp", "gif", "webp"].includes(m) ? D = "image" : ["mp4", "m2v", "mkv", "m4v", "mov"].includes(m) ? D = "video" : ["mp3", "wav", "wmv", "m4a", "acc", "flac"].includes(m) && (D = "audio");
3611
+ const y = ((s = c.data.filename) == null ? void 0 : s.split(".")[1]) ?? "";
3612
+ ["png", "jpg", "jpeg", "bmp", "gif", "webp"].includes(y) ? D = "image" : ["mp4", "m2v", "mkv", "m4v", "mov"].includes(y) ? D = "video" : ["mp3", "wav", "wmv", "m4a", "acc", "flac"].includes(y) && (D = "audio");
3607
3613
  }
3608
3614
  D.includes("image") && (M = tt), D.includes("pdf") && (M = Dn), D.includes("audio") && (M = eo), D.includes("video") && (M = eo), M = uo;
3609
3615
  } else
@@ -3612,7 +3618,7 @@ const Sn = /* @__PURE__ */ au(f0, [["__scopeId", "data-v-8a486150"]]), p0 = /* @
3612
3618
  }, l = Q(() => a.fileTree.childFiles);
3613
3619
  return (r, c) => {
3614
3620
  var M, s;
3615
- return t.fileTree && ((s = (M = t.fileTree) == null ? void 0 : M.childFiles) != null && s.length) ? (T(), b(A(ma), {
3621
+ return t.fileTree && ((s = (M = t.fileTree) == null ? void 0 : M.childFiles) != null && s.length) ? (T(), b(A(ya), {
3616
3622
  key: 0,
3617
3623
  hover: "",
3618
3624
  icon: i,
@@ -3924,7 +3930,7 @@ const Sn = /* @__PURE__ */ au(f0, [["__scopeId", "data-v-8a486150"]]), p0 = /* @
3924
3930
  showRetryButton: M,
3925
3931
  showCancelButton: s,
3926
3932
  showRemoveButton: D,
3927
- showPreviewButton: m,
3933
+ showPreviewButton: y,
3928
3934
  imageLoading: j,
3929
3935
  download: x,
3930
3936
  showLink: $,
@@ -4025,7 +4031,7 @@ const Sn = /* @__PURE__ */ au(f0, [["__scopeId", "data-v-8a486150"]]), p0 = /* @
4025
4031
  }, U = () => {
4026
4032
  if (f.value.length > 0)
4027
4033
  for (const L of f.value)
4028
- y(L);
4034
+ m(L);
4029
4035
  }, E = async (L, Y) => {
4030
4036
  const W = `${ot(10)}-${L.name}`, J = void 0, re = vt({
4031
4037
  fileId: W,
@@ -4053,14 +4059,14 @@ const Sn = /* @__PURE__ */ au(f0, [["__scopeId", "data-v-8a486150"]]), p0 = /* @
4053
4059
  console.error(J);
4054
4060
  }) : E(W);
4055
4061
  }
4056
- }, y = (L) => {
4062
+ }, m = (L) => {
4057
4063
  f.value = f.value.filter((Y) => Y.fileId !== L.fileId), z(L);
4058
4064
  }, O = (L) => {
4059
4065
  vu(n.onBeforeRemove) ? Promise.resolve(n.onBeforeRemove(L)).then((Y) => {
4060
- Y && y(L);
4066
+ Y && m(L);
4061
4067
  }).catch((Y) => {
4062
4068
  console.error(Y);
4063
- }) : y(L);
4069
+ }) : m(L);
4064
4070
  }, C = Q(() => {
4065
4071
  if (n.accept)
4066
4072
  return n.accept;
@@ -4077,7 +4083,7 @@ const Sn = /* @__PURE__ */ au(f0, [["__scopeId", "data-v-8a486150"]]), p0 = /* @
4077
4083
  showRemoveButton: D,
4078
4084
  showRetryButton: M,
4079
4085
  showCancelButton: s,
4080
- showPreviewButton: m,
4086
+ showPreviewButton: y,
4081
4087
  showLink: $,
4082
4088
  showButtonProgress: v,
4083
4089
  imageLoading: j,
@@ -4095,7 +4101,7 @@ const Sn = /* @__PURE__ */ au(f0, [["__scopeId", "data-v-8a486150"]]), p0 = /* @
4095
4101
  return T(), H("div", {
4096
4102
  class: K([`${A(Nt)}`])
4097
4103
  }, [
4098
- t.showUploadButton ? (T(), b(y0, ye({
4104
+ t.showUploadButton ? (T(), b(m0, me({
4099
4105
  key: 0,
4100
4106
  disabled: A(r),
4101
4107
  listType: A(c),
@@ -4109,7 +4115,7 @@ const Sn = /* @__PURE__ */ au(f0, [["__scopeId", "data-v-8a486150"]]), p0 = /* @
4109
4115
  buttonProps: t.buttonProps,
4110
4116
  fileList: f.value
4111
4117
  }, { ...(W = f.value) != null && W.length ? {} : { tip: t.tip } }), null, 16, ["disabled", "listType", "uploaderText", "multiple", "directory", "hide", "accept", "onButtonClick", "buttonProps", "fileList"])) : q("", !0),
4112
- t.showFileList && f.value.length ? (T(), b(A(ya), {
4118
+ t.showFileList && f.value.length ? (T(), b(A(ma), {
4113
4119
  key: 1,
4114
4120
  class: K(`${A(Nt)}__card`),
4115
4121
  size: "small"
@@ -4149,11 +4155,11 @@ const ro = We(z0), L0 = { class: "display-column-checkbox" }, h0 = { class: "foo
4149
4155
  immediate: !0
4150
4156
  }
4151
4157
  );
4152
- function i(m) {
4153
- m && (a.value = Be(e.displayColumns));
4158
+ function i(y) {
4159
+ y && (a.value = Be(e.displayColumns));
4154
4160
  }
4155
- const l = (m) => {
4156
- a.value = m ? [...e.columnOptions.map((j) => j.value)] : [...e.columnOptions.filter((j) => j.disabled).map((j) => j.value)];
4161
+ const l = (y) => {
4162
+ a.value = y ? [...e.columnOptions.map((j) => j.value)] : [...e.columnOptions.filter((j) => j.disabled).map((j) => j.value)];
4157
4163
  }, r = Q(() => e.columnOptions.length === a.value.length), c = Q(
4158
4164
  () => !!(e.columnOptions.length > a.value.length && a.value.length)
4159
4165
  ), M = u, s = R(!1);
@@ -4162,7 +4168,7 @@ const ro = We(z0), L0 = { class: "display-column-checkbox" }, h0 = { class: "foo
4162
4168
  s.value = !1;
4163
4169
  }, 1e3);
4164
4170
  }
4165
- return (m, j) => {
4171
+ return (y, j) => {
4166
4172
  const x = Z("t-button"), $ = Z("t-checkbox"), v = Z("t-checkbox-group"), p = Z("t-space"), w = Z("t-popup");
4167
4173
  return T(), b(w, {
4168
4174
  trigger: "click",
@@ -4192,7 +4198,7 @@ const ro = We(z0), L0 = { class: "display-column-checkbox" }, h0 = { class: "foo
4192
4198
  B(v, {
4193
4199
  modelValue: a.value,
4194
4200
  "onUpdate:modelValue": j[0] || (j[0] = (f) => a.value = f),
4195
- options: m.columnOptions
4201
+ options: y.columnOptions
4196
4202
  }, null, 8, ["modelValue", "options"])
4197
4203
  ]),
4198
4204
  _: 1
@@ -4263,10 +4269,10 @@ const k0 = /* @__PURE__ */ au(O0, [["__scopeId", "data-v-3bfb3e93"]]), S0 = We(k
4263
4269
  ]), n = ve(), a = Q(() => n.themeConfig), i = () => {
4264
4270
  n.changeTheme(a.value);
4265
4271
  }, l = (r) => ({
4266
- background: yn(r, zn)["--td-brand-color"]
4272
+ background: mn(r, zn)["--td-brand-color"]
4267
4273
  });
4268
4274
  return (r, c) => {
4269
- const M = Z("t-radio-button"), s = Z("t-radio-group"), D = Z("t-form-item"), m = Z("t-form");
4275
+ const M = Z("t-radio-button"), s = Z("t-radio-group"), D = Z("t-form-item"), y = Z("t-form");
4270
4276
  return T(), b(Ln, {
4271
4277
  commonDialogProps: {
4272
4278
  visible: r.visible,
@@ -4278,7 +4284,7 @@ const k0 = /* @__PURE__ */ au(O0, [["__scopeId", "data-v-3bfb3e93"]]), S0 = We(k
4278
4284
  }
4279
4285
  }, {
4280
4286
  default: k(() => [
4281
- B(m, {
4287
+ B(y, {
4282
4288
  class: "setting-dialog-form",
4283
4289
  labelAlign: "right",
4284
4290
  labelWidth: "200px"
@@ -4441,7 +4447,7 @@ const Un = /* @__PURE__ */ au(b0, [["__scopeId", "data-v-b9a9d3f9"]]), Y0 = ["ti
4441
4447
  M.value = Hu(c.value);
4442
4448
  });
4443
4449
  const s = Ue(Lt);
4444
- return (D, m) => {
4450
+ return (D, y) => {
4445
4451
  const j = Z("t-input");
4446
4452
  return T(), H("div", {
4447
4453
  ref_key: "formInputRef",
@@ -4449,9 +4455,9 @@ const Un = /* @__PURE__ */ au(b0, [["__scopeId", "data-v-b9a9d3f9"]]), Y0 = ["ti
4449
4455
  style: { width: "100%" },
4450
4456
  title: M.value ? D.placeholder : ""
4451
4457
  }, [
4452
- B(j, ye({
4458
+ B(j, me({
4453
4459
  modelValue: a.value,
4454
- "onUpdate:modelValue": m[0] || (m[0] = (x) => a.value = x)
4460
+ "onUpdate:modelValue": y[0] || (y[0] = (x) => a.value = x)
4455
4461
  }, A(s), {
4456
4462
  type: n.value,
4457
4463
  placeholder: D.placeholder,
@@ -4689,7 +4695,7 @@ const Yn = /* @__PURE__ */ ne({
4689
4695
  ), at(() => {
4690
4696
  c("update:modelValue", $e(o.value));
4691
4697
  }), (s, D) => {
4692
- const m = Z("t-radio"), j = Z("t-radio-group");
4698
+ const y = Z("t-radio"), j = Z("t-radio-group");
4693
4699
  return T(), b(j, {
4694
4700
  modelValue: r.value,
4695
4701
  "onUpdate:modelValue": D[0] || (D[0] = (x) => r.value = x),
@@ -4697,7 +4703,7 @@ const Yn = /* @__PURE__ */ ne({
4697
4703
  disabled: s.disabled
4698
4704
  }, {
4699
4705
  default: k(() => [
4700
- (T(!0), H(Ne, null, pe(A(l), (x) => (T(), b(m, {
4706
+ (T(!0), H(Ne, null, pe(A(l), (x) => (T(), b(y, {
4701
4707
  key: x.key,
4702
4708
  value: x.value
4703
4709
  }, {
@@ -4751,7 +4757,7 @@ const Yn = /* @__PURE__ */ ne({
4751
4757
  }
4752
4758
  );
4753
4759
  const D = u;
4754
- function m(p) {
4760
+ function y(p) {
4755
4761
  c && typeof p > "u" ? (s.value = "all", D("update:modelValue", "all")) : D("update:modelValue", p);
4756
4762
  }
4757
4763
  function j(p) {
@@ -4760,10 +4766,10 @@ const Yn = /* @__PURE__ */ ne({
4760
4766
  je(
4761
4767
  () => o.disabled,
4762
4768
  () => {
4763
- o.disabled || m($e(n.value, c));
4769
+ o.disabled || y($e(n.value, c));
4764
4770
  }
4765
4771
  ), uu(() => {
4766
- m($e(n.value, c));
4772
+ y($e(n.value, c));
4767
4773
  });
4768
4774
  const x = R(), $ = R(!1);
4769
4775
  _e(() => {
@@ -4778,7 +4784,7 @@ const Yn = /* @__PURE__ */ ne({
4778
4784
  style: { width: "100%" },
4779
4785
  title: $.value ? p.placeholder : ""
4780
4786
  }, [
4781
- B(f, ye({
4787
+ B(f, me({
4782
4788
  modelValue: s.value,
4783
4789
  "onUpdate:modelValue": w[0] || (w[0] = (_) => s.value = _)
4784
4790
  }, A(v), {
@@ -4789,7 +4795,7 @@ const Yn = /* @__PURE__ */ ne({
4789
4795
  disabled: p.disabled,
4790
4796
  filterable: !0,
4791
4797
  clearable: !0,
4792
- onChange: m,
4798
+ onChange: y,
4793
4799
  onBlur: j
4794
4800
  }), null, 16, ["modelValue", "placeholder", "options", "multiple", "disabled"])
4795
4801
  ], 8, P0);
@@ -4843,7 +4849,7 @@ const Yn = /* @__PURE__ */ ne({
4843
4849
  r.value && (c.value = Hu(r.value));
4844
4850
  }), (M, s) => {
4845
4851
  var j, x, $, v, p;
4846
- const D = Z("t-date-picker"), m = Z("t-time-picker");
4852
+ const D = Z("t-date-picker"), y = Z("t-time-picker");
4847
4853
  return T(), H("div", {
4848
4854
  ref_key: "formSelectDateTimeRef",
4849
4855
  ref: r,
@@ -4863,7 +4869,7 @@ const Yn = /* @__PURE__ */ ne({
4863
4869
  onBlur: l,
4864
4870
  clearable: ""
4865
4871
  }, null, 8, ["enable-time-picker", "placeholder", "modelValue", "format", "disabled"])) : q("", !0),
4866
- ((v = M.formItem) == null ? void 0 : v.itemType) === "time_selector" ? (T(), b(m, {
4872
+ ((v = M.formItem) == null ? void 0 : v.itemType) === "time_selector" ? (T(), b(y, {
4867
4873
  key: 1,
4868
4874
  placeholder: M.placeholder,
4869
4875
  disabled: M.disabled,
@@ -4931,9 +4937,9 @@ const Yn = /* @__PURE__ */ ne({
4931
4937
  _e(() => {
4932
4938
  s.value && (D.value = Hu(s.value));
4933
4939
  });
4934
- const m = R(e.modelValue);
4940
+ const y = R(e.modelValue);
4935
4941
  je(() => e.modelValue, (x) => {
4936
- e.modelValue ? m.value = ci(l.value, x) : m.value = x;
4942
+ e.modelValue ? y.value = ci(l.value, x) : y.value = x;
4937
4943
  }, {
4938
4944
  deep: !0,
4939
4945
  immediate: !0
@@ -4951,8 +4957,8 @@ const Yn = /* @__PURE__ */ ne({
4951
4957
  },
4952
4958
  title: D.value ? x.placeholder : ""
4953
4959
  }, [B(v, {
4954
- modelValue: m.value,
4955
- "onUpdate:modelValue": $[0] || ($[0] = (p) => m.value = p),
4960
+ modelValue: y.value,
4961
+ "onUpdate:modelValue": $[0] || ($[0] = (p) => y.value = p),
4956
4962
  data: A(l),
4957
4963
  placeholder: x.placeholder,
4958
4964
  multiple: x.multiple,
@@ -5015,11 +5021,11 @@ const Yn = /* @__PURE__ */ ne({
5015
5021
  _e(() => {
5016
5022
  s.value && (D.value = Hu(s.value));
5017
5023
  });
5018
- const m = R(e.modelValue);
5024
+ const y = R(e.modelValue);
5019
5025
  return je(
5020
5026
  () => e.modelValue,
5021
5027
  (j) => {
5022
- m.value = j;
5028
+ y.value = j;
5023
5029
  },
5024
5030
  {
5025
5031
  deep: !0,
@@ -5034,8 +5040,8 @@ const Yn = /* @__PURE__ */ ne({
5034
5040
  title: D.value ? j.placeholder : ""
5035
5041
  }, [
5036
5042
  B($, {
5037
- modelValue: m.value,
5038
- "onUpdate:modelValue": x[0] || (x[0] = (v) => m.value = v),
5043
+ modelValue: y.value,
5044
+ "onUpdate:modelValue": x[0] || (x[0] = (v) => y.value = v),
5039
5045
  options: A(l),
5040
5046
  multiple: j.multiple,
5041
5047
  disabled: j.disabled,
@@ -5084,16 +5090,16 @@ const Yn = /* @__PURE__ */ ne({
5084
5090
  const M = zt(c);
5085
5091
  if (o.formItem.fileUploadType == "file")
5086
5092
  if (M.length && M.every((s) => s.status == "done")) {
5087
- const { response: s, filename: D, url: m } = M[0];
5088
- console.log("上传成功", s, D, m), s && s.state == 200 ? (fe.success(`${D} ${e.t("上传成功")}`), n("update:modelValue", m), n("blur:modelValue", m), n("update:fileName", D)) : fe.error(`${e.t("上传失败")} ${s.message}`);
5093
+ const { response: s, filename: D, url: y } = M[0];
5094
+ console.log("上传成功", s, D, y), s && s.state == 200 ? (fe.success(`${D} ${e.t("上传成功")}`), n("update:modelValue", y), n("blur:modelValue", y), n("update:fileName", D)) : fe.error(`${e.t("上传失败")} ${s.message}`);
5089
5095
  } else
5090
5096
  M.length == 0 && (n("update:modelValue", ""), n("blur:modelValue", ""), n("update:fileName", ""));
5091
5097
  else if (o.formItem.fileUploadType == "path")
5092
5098
  if (M.length) {
5093
5099
  const s = M.map((D) => {
5094
- const { fileId: m, filename: j, relativePath: x, url: $, file: v } = D;
5100
+ const { fileId: y, filename: j, relativePath: x, url: $, file: v } = D;
5095
5101
  return {
5096
- fileId: m,
5102
+ fileId: y,
5097
5103
  filename: j,
5098
5104
  relativePath: x,
5099
5105
  url: $,
@@ -5145,7 +5151,7 @@ var Vn = { exports: {} };
5145
5151
  (function(e, o) {
5146
5152
  t.exports = o();
5147
5153
  })(W0, function() {
5148
- var e, o, n = 1e3, a = 6e4, i = 36e5, l = 864e5, r = /\[([^\]]+)]|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, c = 31536e6, M = 2628e6, s = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, D = { years: c, months: M, days: l, hours: i, minutes: a, seconds: n, milliseconds: 1, weeks: 6048e5 }, m = function(d) {
5154
+ var e, o, n = 1e3, a = 6e4, i = 36e5, l = 864e5, r = /\[([^\]]+)]|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, c = 31536e6, M = 2628e6, s = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, D = { years: c, months: M, days: l, hours: i, minutes: a, seconds: n, milliseconds: 1, weeks: 6048e5 }, y = function(d) {
5149
5155
  return d instanceof f;
5150
5156
  }, j = function(d, h, N) {
5151
5157
  return new f(d, N, h.$l);
@@ -5195,7 +5201,7 @@ var Vn = { exports: {} };
5195
5201
  this.$d.weeks && (P += 7 * this.$d.weeks);
5196
5202
  var g = w(P, "D"), F = w(this.$d.hours, "H"), I = w(this.$d.minutes, "M"), U = this.$d.seconds || 0;
5197
5203
  this.$d.milliseconds && (U += this.$d.milliseconds / 1e3, U = Math.round(1e3 * U) / 1e3);
5198
- var E = w(U, "S"), S = N.negative || z.negative || g.negative || F.negative || I.negative || E.negative, y = F.format || I.format || E.format ? "T" : "", O = (S ? "-" : "") + "P" + N.format + z.format + g.format + y + F.format + I.format + E.format;
5204
+ var E = w(U, "S"), S = N.negative || z.negative || g.negative || F.negative || I.negative || E.negative, m = F.format || I.format || E.format ? "T" : "", O = (S ? "-" : "") + "P" + N.format + z.format + g.format + m + F.format + I.format + E.format;
5199
5205
  return O === "P" || O === "-P" ? "P0D" : O;
5200
5206
  }, h.toJSON = function() {
5201
5207
  return this.toISOString();
@@ -5211,7 +5217,7 @@ var Vn = { exports: {} };
5211
5217
  return P === "milliseconds" ? z %= 1e3 : z = P === "weeks" ? v(z / D[P]) : this.$d[P], z || 0;
5212
5218
  }, h.add = function(N, z, P) {
5213
5219
  var g;
5214
- return g = z ? N * D[x(z)] : m(N) ? N.$ms : j(N, this).$ms, j(this.$ms + g * (P ? -1 : 1), this);
5220
+ return g = z ? N * D[x(z)] : y(N) ? N.$ms : j(N, this).$ms, j(this.$ms + g * (P ? -1 : 1), this);
5215
5221
  }, h.subtract = function(N, z) {
5216
5222
  return this.add(N, z, !0);
5217
5223
  }, h.locale = function(N) {
@@ -5263,12 +5269,12 @@ var Vn = { exports: {} };
5263
5269
  e = N, o = N().$utils(), N.duration = function(g, F) {
5264
5270
  var I = N.locale();
5265
5271
  return j(g, { $l: I }, F);
5266
- }, N.isDuration = m;
5272
+ }, N.isDuration = y;
5267
5273
  var z = h.prototype.add, P = h.prototype.subtract;
5268
5274
  h.prototype.add = function(g, F) {
5269
- return m(g) ? _(this, g, 1) : z.bind(this)(g, F);
5275
+ return y(g) ? _(this, g, 1) : z.bind(this)(g, F);
5270
5276
  }, h.prototype.subtract = function(g, F) {
5271
- return m(g) ? _(this, g, -1) : P.bind(this)(g, F);
5277
+ return y(g) ? _(this, g, -1) : P.bind(this)(g, F);
5272
5278
  };
5273
5279
  };
5274
5280
  });
@@ -5300,9 +5306,9 @@ const Z0 = /* @__PURE__ */ H0(G0), K0 = ["title"], q0 = /* @__PURE__ */ ne({
5300
5306
  const a = u;
5301
5307
  function i(M) {
5302
5308
  if (M) {
5303
- const s = M.split(":"), [D, m, j] = s, x = Tu.duration({
5309
+ const s = M.split(":"), [D, y, j] = s, x = Tu.duration({
5304
5310
  hours: D,
5305
- minutes: m,
5311
+ minutes: y,
5306
5312
  seconds: j
5307
5313
  }).asMilliseconds();
5308
5314
  a("update:modelValue", x);
@@ -5310,8 +5316,8 @@ const Z0 = /* @__PURE__ */ H0(G0), K0 = ["title"], q0 = /* @__PURE__ */ ne({
5310
5316
  a("update:modelValue", "");
5311
5317
  }
5312
5318
  function l(M) {
5313
- const { value: s } = M, D = s.split(":"), [m, j, x] = D, $ = Tu.duration({
5314
- hours: m,
5319
+ const { value: s } = M, D = s.split(":"), [y, j, x] = D, $ = Tu.duration({
5320
+ hours: y,
5315
5321
  minutes: j,
5316
5322
  seconds: x
5317
5323
  }).asMilliseconds();
@@ -5327,7 +5333,7 @@ const Z0 = /* @__PURE__ */ H0(G0), K0 = ["title"], q0 = /* @__PURE__ */ ne({
5327
5333
  return _e(() => {
5328
5334
  r.value && (c.value = Hu(r.value));
5329
5335
  }), (M, s) => {
5330
- var m;
5336
+ var y;
5331
5337
  const D = Z("t-time-picker");
5332
5338
  return T(), H("div", {
5333
5339
  ref_key: "formSelectDelayRef",
@@ -5336,7 +5342,7 @@ const Z0 = /* @__PURE__ */ H0(G0), K0 = ["title"], q0 = /* @__PURE__ */ ne({
5336
5342
  title: c.value ? M.placeholder : ""
5337
5343
  }, [
5338
5344
  B(D, {
5339
- placeholder: (m = M.formItem) == null ? void 0 : m.placeholder,
5345
+ placeholder: (y = M.formItem) == null ? void 0 : y.placeholder,
5340
5346
  disabled: M.disabled,
5341
5347
  modelValue: n.value,
5342
5348
  "onUpdate:modelValue": s[0] || (s[0] = (j) => n.value = j),
@@ -5360,7 +5366,7 @@ const J0 = /* @__PURE__ */ ne({
5360
5366
  },
5361
5367
  emits: ["update:modelValue", "blur:modelValue"],
5362
5368
  setup(t, { emit: u }) {
5363
- const e = `${mi}__editor`, o = t;
5369
+ const e = `${yi}__editor`, o = t;
5364
5370
  Q(() => {
5365
5371
  var p;
5366
5372
  return (p = o.formItem) == null ? void 0 : p.itemType;
@@ -5393,10 +5399,10 @@ const J0 = /* @__PURE__ */ ne({
5393
5399
  }, s = (p) => {
5394
5400
  c("update:modelValue", p.getHtml());
5395
5401
  }, D = (p) => {
5396
- }, m = R(!1), j = (p) => {
5397
- m.value = !0;
5402
+ }, y = R(!1), j = (p) => {
5403
+ y.value = !0;
5398
5404
  }, x = (p) => {
5399
- m.value = !1, o.originValue != p.getHtml() && c("blur:modelValue", p.getHtml());
5405
+ y.value = !1, o.originValue != p.getHtml() && c("blur:modelValue", p.getHtml());
5400
5406
  }, $ = () => {
5401
5407
  const p = i.value;
5402
5408
  p != null && p.disable();
@@ -5412,7 +5418,7 @@ const J0 = /* @__PURE__ */ ne({
5412
5418
  ), uu(() => {
5413
5419
  c("update:modelValue", "");
5414
5420
  }), (p, w) => (T(), H("div", {
5415
- class: K([`${e}`, `${m.value ? `${e}--focused` : ""}`])
5421
+ class: K([`${e}`, `${y.value ? `${e}--focused` : ""}`])
5416
5422
  }, [
5417
5423
  B(A(Fa), {
5418
5424
  class: K(`${e}--toolbar`),
@@ -5477,8 +5483,8 @@ const J0 = /* @__PURE__ */ ne({
5477
5483
  function r() {
5478
5484
  a.value.push("");
5479
5485
  }
5480
- function c(D, m) {
5481
- a.value[m] = D, l(a.value);
5486
+ function c(D, y) {
5487
+ a.value[y] = D, l(a.value);
5482
5488
  }
5483
5489
  function M(D) {
5484
5490
  a.value.splice(D, 1);
@@ -5488,7 +5494,7 @@ const J0 = /* @__PURE__ */ ne({
5488
5494
  }
5489
5495
  return uu(() => {
5490
5496
  l($e(n.value));
5491
- }), (D, m) => {
5497
+ }), (D, y) => {
5492
5498
  const j = Z("t-button"), x = Z("t-input"), $ = Z("t-input-group"), v = Z("t-space");
5493
5499
  return T(), b(v, null, {
5494
5500
  default: k(() => [
@@ -5549,7 +5555,7 @@ const J0 = /* @__PURE__ */ ne({
5549
5555
  };
5550
5556
  }
5551
5557
  });
5552
- function mo(t = {}) {
5558
+ function yo(t = {}) {
5553
5559
  function u(o, n = {}) {
5554
5560
  if (!Fe(o) && o !== 1) {
5555
5561
  let a, i;
@@ -5590,12 +5596,12 @@ const e4 = ["id"], u4 = /* @__PURE__ */ ne({
5590
5596
  },
5591
5597
  emits: ["after-update-value"],
5592
5598
  setup(t, { expose: u, emit: e }) {
5593
- const { T: o, localLanguage: n } = Te(), a = t, i = Q(() => a.formModel), { handleItemShowIf: l, handleItemDisableIf: r } = mo({ formModel: i }), c = e;
5599
+ const { T: o, localLanguage: n } = Te(), a = t, i = Q(() => a.formModel), { handleItemShowIf: l, handleItemDisableIf: r } = yo({ formModel: i }), c = e;
5594
5600
  function M(N, z) {
5595
5601
  c("after-update-value", N, z);
5596
5602
  }
5597
5603
  const s = Q(() => a.formItem.disableIf ? r(a.formItem.disableIf, a.formItem) : !1), D = R(!0);
5598
- function m() {
5604
+ function y() {
5599
5605
  return s.value;
5600
5606
  }
5601
5607
  function j(N) {
@@ -5639,7 +5645,7 @@ const e4 = ["id"], u4 = /* @__PURE__ */ ne({
5639
5645
  }), tu(Lt, a.componentProps), u({
5640
5646
  formItem: a.formItem,
5641
5647
  formItemId: x.value,
5642
- getDisableFlag: m,
5648
+ getDisableFlag: y,
5643
5649
  setBlockShowFlag: j
5644
5650
  }), (N, z) => {
5645
5651
  const P = Z("t-divider"), g = Z("t-tooltip"), F = Z("t-form-item");
@@ -5658,7 +5664,7 @@ const e4 = ["id"], u4 = /* @__PURE__ */ ne({
5658
5664
  ie(ue(N.formItem.name), 1)
5659
5665
  ]),
5660
5666
  _: 1
5661
- })) : N.formItem.itemType !== "hidden" && A(l)(N.formItem.showIf, N.formItem) ? (T(), b(F, ye({
5667
+ })) : N.formItem.itemType !== "hidden" && A(l)(N.formItem.showIf, N.formItem) ? (T(), b(F, me({
5662
5668
  key: 1,
5663
5669
  ref: `item_${N.formItem.keyName}`,
5664
5670
  id: N.formItem.keyName,
@@ -5698,42 +5704,42 @@ const e4 = ["id"], u4 = /* @__PURE__ */ ne({
5698
5704
  formModel: i.value,
5699
5705
  modelValue: A(le)(i.value, N.formItem.keyName)
5700
5706
  }, null, 8, ["formItem", "formModel", "modelValue"])) : q("", !0),
5701
- N.formItem.itemType === "text_input" && N.formItem.inputType != "RE_PASSWORD" ? (T(), b(Mo, ye({ key: 1 }, N.componentProps, {
5707
+ N.formItem.itemType === "text_input" && N.formItem.inputType != "RE_PASSWORD" ? (T(), b(Mo, me({ key: 1 }, N.componentProps, {
5702
5708
  formItem: N.formItem,
5703
5709
  inputType: (U = (I = N.formItem) == null ? void 0 : I.inputType) == null ? void 0 : U.toLowerCase(),
5704
5710
  modelValue: A(le)(i.value, N.formItem.keyName),
5705
5711
  placeholder: v.value,
5706
5712
  disabled: s.value,
5707
- "onUpdate:modelValue": z[0] || (z[0] = (y) => M(N.formItem.keyName, y))
5713
+ "onUpdate:modelValue": z[0] || (z[0] = (m) => M(N.formItem.keyName, m))
5708
5714
  }), null, 16, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : q("", !0),
5709
- N.formItem.itemType === "text_input" && N.formItem.inputType == "RE_PASSWORD" ? (T(), b(Mo, ye({ key: 2 }, N.componentProps, {
5715
+ N.formItem.itemType === "text_input" && N.formItem.inputType == "RE_PASSWORD" ? (T(), b(Mo, me({ key: 2 }, N.componentProps, {
5710
5716
  formItem: N.formItem,
5711
5717
  inputType: N.formItem.inputType.toLowerCase(),
5712
5718
  modelValue: A(le)(i.value, "rePassword"),
5713
5719
  placeholder: v.value,
5714
5720
  disabled: s.value,
5715
- "onUpdate:modelValue": z[1] || (z[1] = (y) => M("rePassword", y))
5721
+ "onUpdate:modelValue": z[1] || (z[1] = (m) => M("rePassword", m))
5716
5722
  }), null, 16, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : q("", !0),
5717
- N.formItem.itemType === "check_box" ? (T(), b(Qn, ye({ key: 3 }, N.componentProps, {
5723
+ N.formItem.itemType === "check_box" ? (T(), b(Qn, me({ key: 3 }, N.componentProps, {
5718
5724
  modelValue: A(le)(i.value, N.formItem.keyName, !1),
5719
5725
  disabled: s.value,
5720
- "onUpdate:modelValue": z[2] || (z[2] = (y) => M(N.formItem.keyName, y))
5726
+ "onUpdate:modelValue": z[2] || (z[2] = (m) => M(N.formItem.keyName, m))
5721
5727
  }), null, 16, ["modelValue", "disabled"])) : q("", !0),
5722
- N.formItem.itemType === "switch" ? (T(), b(bn, ye({ key: 4 }, N.componentProps, {
5728
+ N.formItem.itemType === "switch" ? (T(), b(bn, me({ key: 4 }, N.componentProps, {
5723
5729
  formItem: N.formItem,
5724
5730
  viewName: N.viewName,
5725
5731
  modelValue: A(le)(i.value, N.formItem.keyName, !1),
5726
5732
  disabled: s.value,
5727
- "onUpdate:modelValue": z[3] || (z[3] = (y) => M(N.formItem.keyName, y))
5733
+ "onUpdate:modelValue": z[3] || (z[3] = (m) => M(N.formItem.keyName, m))
5728
5734
  }), null, 16, ["formItem", "viewName", "modelValue", "disabled"])) : q("", !0),
5729
- N.formItem.itemType === "radio" ? (T(), b(Yn, ye({ key: 5 }, N.componentProps, {
5735
+ N.formItem.itemType === "radio" ? (T(), b(Yn, me({ key: 5 }, N.componentProps, {
5730
5736
  modelValue: A(le)(i.value, N.formItem.keyName),
5731
5737
  formItem: N.formItem,
5732
5738
  viewName: N.viewName,
5733
5739
  disabled: s.value,
5734
- "onUpdate:modelValue": z[4] || (z[4] = (y) => M(N.formItem.keyName, y))
5740
+ "onUpdate:modelValue": z[4] || (z[4] = (m) => M(N.formItem.keyName, m))
5735
5741
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled"])) : q("", !0),
5736
- N.formItem.itemType === "selector" || N.formItem.itemType === "multi_selector" ? (T(), b(Bn, ye({ key: 6 }, N.componentProps, {
5742
+ N.formItem.itemType === "selector" || N.formItem.itemType === "multi_selector" ? (T(), b(Bn, me({ key: 6 }, N.componentProps, {
5737
5743
  key: (E = N.formItem.listData) == null ? void 0 : E.dataId,
5738
5744
  modelValue: A(le)(i.value, N.formItem.keyName),
5739
5745
  formItem: N.formItem,
@@ -5741,66 +5747,66 @@ const e4 = ["id"], u4 = /* @__PURE__ */ ne({
5741
5747
  multiple: N.formItem.itemType === "multi_selector",
5742
5748
  disabled: s.value,
5743
5749
  placeholder: v.value,
5744
- "onUpdate:modelValue": z[5] || (z[5] = (y) => M(N.formItem.keyName, y))
5750
+ "onUpdate:modelValue": z[5] || (z[5] = (m) => M(N.formItem.keyName, m))
5745
5751
  }), null, 16, ["modelValue", "formItem", "viewName", "multiple", "disabled", "placeholder"])) : q("", !0),
5746
- N.formItem.itemType === "date_selector" || N.formItem.itemType === "time_selector" || N.formItem.itemType === "date_time_selector" ? (T(), b(_n, ye({ key: 7 }, N.componentProps, {
5752
+ N.formItem.itemType === "date_selector" || N.formItem.itemType === "time_selector" || N.formItem.itemType === "date_time_selector" ? (T(), b(_n, me({ key: 7 }, N.componentProps, {
5747
5753
  modelValue: A(le)(i.value, N.formItem.keyName),
5748
5754
  formItem: N.formItem,
5749
5755
  viewName: N.viewName,
5750
5756
  disabled: s.value,
5751
5757
  placeholder: v.value,
5752
- "onUpdate:modelValue": z[6] || (z[6] = (y) => M(N.formItem.keyName, y))
5758
+ "onUpdate:modelValue": z[6] || (z[6] = (m) => M(N.formItem.keyName, m))
5753
5759
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : q("", !0),
5754
- N.formItem.itemType == "delay_selector" ? (T(), b(q0, ye({ key: 8 }, N.componentProps, {
5760
+ N.formItem.itemType == "delay_selector" ? (T(), b(q0, me({ key: 8 }, N.componentProps, {
5755
5761
  modelValue: A(le)(i.value, N.formItem.keyName),
5756
5762
  formItem: N.formItem,
5757
5763
  viewName: N.viewName,
5758
5764
  disabled: s.value,
5759
5765
  placeholder: v.value,
5760
- "onUpdate:modelValue": z[7] || (z[7] = (y) => M(N.formItem.keyName, y))
5766
+ "onUpdate:modelValue": z[7] || (z[7] = (m) => M(N.formItem.keyName, m))
5761
5767
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : q("", !0),
5762
- N.formItem.itemType === "tree_check_box" ? (T(), b(Fn, ye({ key: 9 }, N.componentProps, {
5768
+ N.formItem.itemType === "tree_check_box" ? (T(), b(Fn, me({ key: 9 }, N.componentProps, {
5763
5769
  modelValue: A(le)(i.value, N.formItem.keyName),
5764
5770
  formItem: N.formItem,
5765
5771
  viewName: N.viewName,
5766
5772
  disabled: s.value,
5767
5773
  placeholder: v.value,
5768
- "onUpdate:modelValue": z[8] || (z[8] = (y) => M(N.formItem.keyName, y))
5774
+ "onUpdate:modelValue": z[8] || (z[8] = (m) => M(N.formItem.keyName, m))
5769
5775
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : q("", !0),
5770
- N.formItem.itemType === "multi_tree_selector" || N.formItem.itemType === "tree_selector" ? (T(), b(Pn, ye({ key: 10 }, N.componentProps, {
5776
+ N.formItem.itemType === "multi_tree_selector" || N.formItem.itemType === "tree_selector" ? (T(), b(Pn, me({ key: 10 }, N.componentProps, {
5771
5777
  modelValue: A(le)(i.value, N.formItem.keyName),
5772
5778
  formItem: N.formItem,
5773
5779
  viewName: N.viewName,
5774
5780
  multiple: N.formItem.itemType === "multi_tree_selector",
5775
5781
  disabled: s.value,
5776
5782
  placeholder: v.value,
5777
- "onUpdate:modelValue": z[9] || (z[9] = (y) => M(N.formItem.keyName, y))
5783
+ "onUpdate:modelValue": z[9] || (z[9] = (m) => M(N.formItem.keyName, m))
5778
5784
  }), null, 16, ["modelValue", "formItem", "viewName", "multiple", "disabled", "placeholder"])) : q("", !0),
5779
- N.formItem.itemType === "file" ? (T(), b($n, ye({ key: 11 }, N.componentProps, {
5785
+ N.formItem.itemType === "file" ? (T(), b($n, me({ key: 11 }, N.componentProps, {
5780
5786
  modelValue: A(le)(i.value, N.formItem.keyName),
5781
5787
  formItem: N.formItem,
5782
5788
  viewName: N.viewName,
5783
5789
  disabled: s.value,
5784
5790
  placeholder: v.value,
5785
5791
  fileName: N.formItem.fileUploadType == "file" ? A(le)(i.value, N.formItem.filenameKeyName) || ((S = A(le)(i.value, N.formItem.keyName)) == null ? void 0 : S.split("/").slice(-1)[0]) : "",
5786
- "onUpdate:fileName": z[10] || (z[10] = (y) => N.formItem.filenameKeyName && M(N.formItem.filenameKeyName, y)),
5787
- "onUpdate:modelValue": z[11] || (z[11] = (y) => M(N.formItem.keyName, y))
5792
+ "onUpdate:fileName": z[10] || (z[10] = (m) => N.formItem.filenameKeyName && M(N.formItem.filenameKeyName, m)),
5793
+ "onUpdate:modelValue": z[11] || (z[11] = (m) => M(N.formItem.keyName, m))
5788
5794
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder", "fileName"])) : q("", !0),
5789
- N.formItem.itemType === "tag" ? (T(), b(X0, ye({ key: 12 }, N.componentProps, {
5795
+ N.formItem.itemType === "tag" ? (T(), b(X0, me({ key: 12 }, N.componentProps, {
5790
5796
  modelValue: A(le)(i.value, N.formItem.keyName),
5791
5797
  formItem: N.formItem,
5792
5798
  viewName: N.viewName,
5793
5799
  disabled: s.value,
5794
5800
  placeholder: v.value,
5795
- "onUpdate:modelValue": z[12] || (z[12] = (y) => M(N.formItem.keyName, y))
5801
+ "onUpdate:modelValue": z[12] || (z[12] = (m) => M(N.formItem.keyName, m))
5796
5802
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : q("", !0),
5797
- N.formItem.itemType === "rich_text" ? (T(), b(J0, ye({ key: 13 }, N.componentProps, {
5803
+ N.formItem.itemType === "rich_text" ? (T(), b(J0, me({ key: 13 }, N.componentProps, {
5798
5804
  modelValue: A(le)(i.value, N.formItem.keyName),
5799
5805
  formItem: N.formItem,
5800
5806
  viewName: N.viewName,
5801
5807
  disabled: s.value,
5802
5808
  placeholder: v.value,
5803
- "onUpdate:modelValue": z[13] || (z[13] = (y) => M(N.formItem.keyName, y))
5809
+ "onUpdate:modelValue": z[13] || (z[13] = (m) => M(N.formItem.keyName, m))
5804
5810
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : q("", !0)
5805
5811
  ];
5806
5812
  }),
@@ -5861,7 +5867,7 @@ const Ct = /* @__PURE__ */ au(u4, [["__scopeId", "data-v-a507a307"]]), t4 = ["id
5861
5867
  const { T: o } = Te(), n = t, a = R(160), i = Q(() => {
5862
5868
  var g;
5863
5869
  return (g = n.board) == null ? void 0 : g.formItems;
5864
- }), l = R({}), { handleItemShowIf: r } = mo({ formModel: l });
5870
+ }), l = R({}), { handleItemShowIf: r } = yo({ formModel: l });
5865
5871
  je(
5866
5872
  () => n.formData,
5867
5873
  () => {
@@ -5883,7 +5889,7 @@ const Ct = /* @__PURE__ */ au(u4, [["__scopeId", "data-v-a507a307"]]), t4 = ["id
5883
5889
  return I.required && I.keyName && U.push({
5884
5890
  validator: () => {
5885
5891
  const E = le(l.value, I.keyName);
5886
- return yt(E) ? {
5892
+ return mt(E) ? {
5887
5893
  result: !1,
5888
5894
  message: `${I.name.trim().replace(/[::]/g, "").replace(/ {2,}/g, "")}${o.t("为必填项")}`
5889
5895
  } : { result: !0 };
@@ -5906,7 +5912,7 @@ const Ct = /* @__PURE__ */ au(u4, [["__scopeId", "data-v-a507a307"]]), t4 = ["id
5906
5912
  };
5907
5913
  })), g == null ? void 0 : g.reduce((F, I) => (I.rules.length && (F[I.keyName] = I.rules), F), {});
5908
5914
  }
5909
- function m() {
5915
+ function y() {
5910
5916
  if (c.value) {
5911
5917
  const g = c.value.$el;
5912
5918
  if (g) {
@@ -5928,7 +5934,7 @@ const Ct = /* @__PURE__ */ au(u4, [["__scopeId", "data-v-a507a307"]]), t4 = ["id
5928
5934
  s.value = await D();
5929
5935
  });
5930
5936
  function v(g, F) {
5931
- Ke(l.value, g, F), M.value && p([g]), m();
5937
+ Ke(l.value, g, F), M.value && p([g]), y();
5932
5938
  }
5933
5939
  async function p(g = []) {
5934
5940
  var U;
@@ -5965,7 +5971,7 @@ const Ct = /* @__PURE__ */ au(u4, [["__scopeId", "data-v-a507a307"]]), t4 = ["id
5965
5971
  const U = i.value.filter((S) => S.itemType == "file" && S.fileUploadType == "path").map((S) => S.keyName);
5966
5972
  I.length && I.forEach((S) => {
5967
5973
  U.includes(S) && F[S] && zu(F[S]) && (F[S] = F[S].filter(
5968
- (y) => y && y.url
5974
+ (m) => m && m.url
5969
5975
  ));
5970
5976
  });
5971
5977
  const E = i.value.filter((S) => S.itemType == "hidden");
@@ -6015,7 +6021,7 @@ const Ct = /* @__PURE__ */ au(u4, [["__scopeId", "data-v-a507a307"]]), t4 = ["id
6015
6021
  return u({
6016
6022
  formOkButtonLoading: P
6017
6023
  }), rn(() => {
6018
- m();
6024
+ y();
6019
6025
  }), (g, F) => {
6020
6026
  const I = Z("t-button");
6021
6027
  return T(), b(A(hn), {
@@ -6126,7 +6132,7 @@ const n4 = /* @__PURE__ */ ne({
6126
6132
  M("close-dialog");
6127
6133
  }
6128
6134
  const D = R();
6129
- async function m(w, f) {
6135
+ async function y(w, f) {
6130
6136
  D.value && (D.value.formOkButtonLoading || (D.value.formOkButtonLoading = !0));
6131
6137
  let _ = {};
6132
6138
  return Object.keys(r.value).length && Object.assign(_, r.value), Object.assign(_, w), (await vn({
@@ -6136,7 +6142,7 @@ const n4 = /* @__PURE__ */ ne({
6136
6142
  })).state === 200 ? (fe.success(`${o.t("提交成功")}`), D.value && (D.value.formOkButtonLoading = !1), !0) : (D.value && (D.value.formOkButtonLoading = !1), !1);
6137
6143
  }
6138
6144
  async function j(w, f) {
6139
- await m(w, f) && x();
6145
+ await y(w, f) && x();
6140
6146
  }
6141
6147
  function x() {
6142
6148
  M("close-dialog");
@@ -6184,7 +6190,7 @@ const n4 = /* @__PURE__ */ ne({
6184
6190
  board: w.board,
6185
6191
  dialogProps: w.dialogProps,
6186
6192
  formData: $.value,
6187
- onConfirmForm: m,
6193
+ onConfirmForm: y,
6188
6194
  onConfirmAndClose: j,
6189
6195
  onCloseDialog: x
6190
6196
  }, null, 8, ["viewName", "board", "dialogProps", "formData"])
@@ -6227,7 +6233,7 @@ const n4 = /* @__PURE__ */ ne({
6227
6233
  function D() {
6228
6234
  n("close-dialog");
6229
6235
  }
6230
- const m = nu(), j = Q(() => {
6236
+ const y = nu(), j = Q(() => {
6231
6237
  const p = it(o.dialogViewInfo.link);
6232
6238
  let w = "";
6233
6239
  if (p)
@@ -6235,7 +6241,7 @@ const n4 = /* @__PURE__ */ ne({
6235
6241
  ...M
6236
6242
  });
6237
6243
  else {
6238
- const f = o.dialogViewInfo.link && m.resolve({ path: o.dialogViewInfo.link, query: { ...M.value } }).href;
6244
+ const f = o.dialogViewInfo.link && y.resolve({ path: o.dialogViewInfo.link, query: { ...M.value } }).href;
6239
6245
  w = `${location.origin}/${f}`;
6240
6246
  }
6241
6247
  return o.dialogViewInfo.link ? w : "";
@@ -6303,25 +6309,25 @@ const l4 = We(i4), r4 = { class: "g-form" }, M4 = { class: "g-form-header" }, s4
6303
6309
  emits: ["confirm-form", "confirm-and-close", "close-dialog"],
6304
6310
  setup(t, { expose: u, emit: e }) {
6305
6311
  const { T: o } = Te(), n = lt(), a = Yu(), i = Ue(Cn, ""), l = t, r = R(200), c = Q(() => {
6306
- var y;
6307
- return (y = l.board) == null ? void 0 : y.formItems;
6308
- }), M = R({}), { handleItemShowIf: s } = mo({ formModel: M }), D = Iu();
6309
- function m() {
6310
- const y = n.getFormData(D.fullPath);
6311
- y && Object.keys(y).length && Object.keys(M.value).forEach((O) => {
6312
- yt(y[O]) || (M.value[O] = y[O]);
6312
+ var m;
6313
+ return (m = l.board) == null ? void 0 : m.formItems;
6314
+ }), M = R({}), { handleItemShowIf: s } = yo({ formModel: M }), D = Iu();
6315
+ function y() {
6316
+ const m = n.getFormData(D.fullPath);
6317
+ m && Object.keys(m).length && Object.keys(M.value).forEach((O) => {
6318
+ mt(m[O]) || (M.value[O] = m[O]);
6313
6319
  });
6314
6320
  }
6315
- function j(y) {
6316
- if (a.findExistTabMenuItem({ path: y }) && Object.keys(M.value).length) {
6321
+ function j(m) {
6322
+ if (a.findExistTabMenuItem({ path: m }) && Object.keys(M.value).length) {
6317
6323
  const C = pn(M.value, l.formData);
6318
- C && Object.keys(C).length && n.setFormData(y, C);
6324
+ C && Object.keys(C).length && n.setFormData(m, C);
6319
6325
  }
6320
6326
  }
6321
6327
  je(
6322
6328
  () => l.formData,
6323
6329
  () => {
6324
- M.value = nt(l.formData, c.value), m();
6330
+ M.value = nt(l.formData, c.value), y();
6325
6331
  },
6326
6332
  {
6327
6333
  immediate: !0,
@@ -6329,17 +6335,17 @@ const l4 = We(i4), r4 = { class: "g-form" }, M4 = { class: "g-form-header" }, s4
6329
6335
  }
6330
6336
  );
6331
6337
  const x = R(), $ = Q(() => {
6332
- var y;
6333
- return (y = x.value) == null ? void 0 : y.tFormRef;
6338
+ var m;
6339
+ return (m = x.value) == null ? void 0 : m.tFormRef;
6334
6340
  }), v = R({});
6335
6341
  async function p() {
6336
- let y = [];
6337
- return f.value && (y = f == null ? void 0 : f.value.map((O) => {
6342
+ let m = [];
6343
+ return f.value && (m = f == null ? void 0 : f.value.map((O) => {
6338
6344
  const { formItem: C } = O, L = [];
6339
6345
  return C.required && C.keyName && L.push({
6340
6346
  validator: () => {
6341
6347
  const Y = le(M.value, C.keyName);
6342
- return yt(Y) ? {
6348
+ return mt(Y) ? {
6343
6349
  result: !1,
6344
6350
  message: `${C.name.trim().replace(/[::]/g, "").replace(/ {2,}/g, "")}${o.t("为必填项")}`
6345
6351
  } : { result: !0 };
@@ -6360,13 +6366,13 @@ const l4 = We(i4), r4 = { class: "g-form" }, M4 = { class: "g-form-header" }, s4
6360
6366
  keyName: C.inputType !== "RE_PASSWORD" ? C.keyName : "rePassword",
6361
6367
  rules: L
6362
6368
  };
6363
- })), y == null ? void 0 : y.reduce((O, C) => (C.rules.length && (O[C.keyName] = C.rules), O), {});
6369
+ })), m == null ? void 0 : m.reduce((O, C) => (C.rules.length && (O[C.keyName] = C.rules), O), {});
6364
6370
  }
6365
6371
  function w() {
6366
6372
  if (x.value) {
6367
- const y = x.value.$el;
6368
- if (y) {
6369
- const O = y.querySelectorAll(".t-form__label label");
6373
+ const m = x.value.$el;
6374
+ if (m) {
6375
+ const O = m.querySelectorAll(".t-form__label label");
6370
6376
  if (O) {
6371
6377
  const C = Array.from(O).map((Y) => Y.offsetWidth), L = Math.max(...C);
6372
6378
  r.value = L + 15;
@@ -6375,47 +6381,47 @@ const l4 = We(i4), r4 = { class: "g-form" }, M4 = { class: "g-form-header" }, s4
6375
6381
  }
6376
6382
  }
6377
6383
  const f = R(), _ = R();
6378
- function d(y, O, C) {
6384
+ function d(m, O, C) {
6379
6385
  f.value && f.value.forEach((L) => {
6380
- L.formItemId && O.includes(L.formItemId) && L.$el.classList.contains(y) && L.setBlockShowFlag(C);
6386
+ L.formItemId && O.includes(L.formItemId) && L.$el.classList.contains(m) && L.setBlockShowFlag(C);
6381
6387
  });
6382
6388
  }
6383
6389
  _e(async () => {
6384
6390
  w(), v.value = await p();
6385
6391
  });
6386
- function h(y, O) {
6387
- Ke(M.value, y, O), $.value && N([y]);
6392
+ function h(m, O) {
6393
+ Ke(M.value, m, O), $.value && N([m]);
6388
6394
  }
6389
- async function N(y = []) {
6395
+ async function N(m = []) {
6390
6396
  var L;
6391
6397
  const O = z();
6392
- return (y.length ? y.some((Y) => O.includes(Y)) : !0) ? (L = $.value) == null ? void 0 : L.validate({
6393
- fields: y.length ? y : O
6398
+ return (m.length ? m.some((Y) => O.includes(Y)) : !0) ? (L = $.value) == null ? void 0 : L.validate({
6399
+ fields: m.length ? m : O
6394
6400
  }) : Promise.resolve({});
6395
6401
  }
6396
6402
  const z = () => {
6397
- var y;
6398
- return (y = f == null ? void 0 : f.value) == null ? void 0 : y.flatMap((O) => {
6403
+ var m;
6404
+ return (m = f == null ? void 0 : f.value) == null ? void 0 : m.flatMap((O) => {
6399
6405
  const { formItem: C } = O;
6400
6406
  return (C.keyName ?? "") != "" && !O.getDisableFlag() ? C.inputType !== "RE_PASSWORD" ? C.keyName : "rePassword" : [];
6401
6407
  });
6402
6408
  }, P = Q(() => {
6403
- var y;
6404
- return (y = l.board) == null ? void 0 : y.okButton;
6409
+ var m;
6410
+ return (m = l.board) == null ? void 0 : m.okButton;
6405
6411
  }), g = Q(() => {
6406
- var y;
6407
- return (y = l.board) == null ? void 0 : y.cancelButton;
6412
+ var m;
6413
+ return (m = l.board) == null ? void 0 : m.cancelButton;
6408
6414
  }), F = e;
6409
- function I(y) {
6410
- for (const O in y) {
6411
- const C = y[O].find((L) => L.result === !1);
6415
+ function I(m) {
6416
+ for (const O in m) {
6417
+ const C = m[O].find((L) => L.result === !1);
6412
6418
  if (C)
6413
6419
  return { ...C };
6414
6420
  }
6415
6421
  return null;
6416
6422
  }
6417
- function U(y) {
6418
- let O = zt(y);
6423
+ function U(m) {
6424
+ let O = zt(m);
6419
6425
  const C = Object.keys(O);
6420
6426
  if (c.value && C.length) {
6421
6427
  const L = c.value.filter((W) => W.itemType == "file" && W.fileUploadType == "path").map((W) => W.keyName);
@@ -6431,8 +6437,8 @@ const l4 = We(i4), r4 = { class: "g-form" }, M4 = { class: "g-form-header" }, s4
6431
6437
  }
6432
6438
  return O;
6433
6439
  }
6434
- function E(y) {
6435
- switch (y.action) {
6440
+ function E(m) {
6441
+ switch (m.action) {
6436
6442
  case "CONFIRM": {
6437
6443
  N().then((O) => {
6438
6444
  if (Object.keys(O).length) {
@@ -6440,7 +6446,7 @@ const l4 = We(i4), r4 = { class: "g-form" }, M4 = { class: "g-form-header" }, s4
6440
6446
  fe.warning(C == null ? void 0 : C.message);
6441
6447
  } else {
6442
6448
  const C = U(M.value);
6443
- F("confirm-form", C, y.buttonId);
6449
+ F("confirm-form", C, m.buttonId);
6444
6450
  }
6445
6451
  });
6446
6452
  break;
@@ -6452,7 +6458,7 @@ const l4 = We(i4), r4 = { class: "g-form" }, M4 = { class: "g-form-header" }, s4
6452
6458
  fe.warning(C == null ? void 0 : C.message);
6453
6459
  } else {
6454
6460
  const C = U(M.value);
6455
- F("confirm-and-close", C, y.buttonId);
6461
+ F("confirm-and-close", C, m.buttonId);
6456
6462
  }
6457
6463
  });
6458
6464
  break;
@@ -6462,7 +6468,7 @@ const l4 = We(i4), r4 = { class: "g-form" }, M4 = { class: "g-form-header" }, s4
6462
6468
  break;
6463
6469
  }
6464
6470
  default: {
6465
- console.log(y);
6471
+ console.log(m);
6466
6472
  break;
6467
6473
  }
6468
6474
  }
@@ -6470,11 +6476,11 @@ const l4 = We(i4), r4 = { class: "g-form" }, M4 = { class: "g-form-header" }, s4
6470
6476
  const S = R(!1);
6471
6477
  return u({
6472
6478
  formOkButtonLoading: S
6473
- }), Q(() => a.tabMenuList), sn((y, O) => {
6479
+ }), Q(() => a.tabMenuList), sn((m, O) => {
6474
6480
  j(O.fullPath);
6475
- }), cn((y, O) => {
6481
+ }), cn((m, O) => {
6476
6482
  j(O.fullPath);
6477
- }), (y, O) => {
6483
+ }), (m, O) => {
6478
6484
  const C = Z("t-button"), L = Z("t-space");
6479
6485
  return T(), H("div", r4, [
6480
6486
  X("div", M4, [
@@ -6552,7 +6558,7 @@ const l4 = We(i4), r4 = { class: "g-form" }, M4 = { class: "g-form-header" }, s4
6552
6558
  ref: f,
6553
6559
  formModel: M.value,
6554
6560
  formItem: Y,
6555
- viewName: y.viewName,
6561
+ viewName: m.viewName,
6556
6562
  onAfterUpdateValue: h
6557
6563
  }, null, 8, ["formModel", "formItem", "viewName"]))
6558
6564
  ], 64))), 128))
@@ -6576,8 +6582,8 @@ const N4 = /* @__PURE__ */ au(c4, [["__scopeId", "data-v-1d6a40aa"]]), D4 = We(N
6576
6582
  const c = zt(r);
6577
6583
  if (((M = e.button) == null ? void 0 : M.fileUploadType) == "file") {
6578
6584
  if (c.length && c.every((D) => D.status == "done")) {
6579
- const { response: D, filename: m, url: j } = c[0];
6580
- D && D.state == 200 && i({ fileUrls: [j], filenames: [m] });
6585
+ const { response: D, filename: y, url: j } = c[0];
6586
+ D && D.state == 200 && i({ fileUrls: [j], filenames: [y] });
6581
6587
  }
6582
6588
  } else if (((s = e.button) == null ? void 0 : s.fileUploadType) == "path" && c.length && r.every((D) => D.url)) {
6583
6589
  const D = kn(c);
@@ -6589,13 +6595,13 @@ const N4 = /* @__PURE__ */ au(c4, [["__scopeId", "data-v-1d6a40aa"]]), D4 = We(N
6589
6595
  return D;
6590
6596
  });
6591
6597
  function i(r) {
6592
- var M, s, D, m;
6598
+ var M, s, D, y;
6593
6599
  const c = {
6594
6600
  boardName: e.viewName,
6595
6601
  buttonId: (M = e.button) == null ? void 0 : M.buttonId,
6596
6602
  fileRequestType: ((s = e.button) == null ? void 0 : s.fileUploadType) ?? "file",
6597
6603
  ...((D = e.button) == null ? void 0 : D.fileUploadType) == "file" ? { fileUrls: r.fileUrls, filenames: r.filenames } : {},
6598
- ...((m = e.button) == null ? void 0 : m.fileUploadType) == "path" ? { folderTree: r.folderTree } : {},
6604
+ ...((y = e.button) == null ? void 0 : y.fileUploadType) == "path" ? { folderTree: r.folderTree } : {},
6599
6605
  props: {
6600
6606
  ...a.value
6601
6607
  }
@@ -6610,7 +6616,7 @@ const N4 = /* @__PURE__ */ au(c4, [["__scopeId", "data-v-1d6a40aa"]]), D4 = We(N
6610
6616
  }
6611
6617
  return (r, c) => {
6612
6618
  var M, s, D;
6613
- return T(), b(A(ro), ye({
6619
+ return T(), b(A(ro), me({
6614
6620
  limit: 1,
6615
6621
  multiple: !1,
6616
6622
  showFileList: !1,
@@ -6664,9 +6670,9 @@ const N4 = /* @__PURE__ */ au(c4, [["__scopeId", "data-v-1d6a40aa"]]), D4 = We(N
6664
6670
  var d;
6665
6671
  return zu((d = o.headerInfo.searchBar) == null ? void 0 : d.filters) ? o.headerInfo.searchBar.filters.filter((h) => h.itemType === "text_input") : [];
6666
6672
  }), M = Q(() => r.value.length ? r.value.filter((d) => d.itemType === "selector").map((d) => d.keyName) : []), s = nt({}, l.value, !0), D = R(Be(s));
6667
- let m = R(0);
6673
+ let y = R(0);
6668
6674
  function j(d, h) {
6669
- h !== null && typeof h < "u" ? Ke(D.value, d, h) : M.value.includes(d) ? Ke(D.value, d, "all") : Ke(D.value, d, h), m.value && clearTimeout(m.value), m.value = setTimeout(() => {
6675
+ h !== null && typeof h < "u" ? Ke(D.value, d, h) : M.value.includes(d) ? Ke(D.value, d, "all") : Ke(D.value, d, h), y.value && clearTimeout(y.value), y.value = setTimeout(() => {
6670
6676
  const N = Be(D.value);
6671
6677
  Object.keys(N).forEach((z) => {
6672
6678
  M.value.includes(z) && N[z] == "all" && delete N[z], (N[z] === "" || N[z] === null) && delete N[z];
@@ -6788,7 +6794,7 @@ const N4 = /* @__PURE__ */ au(c4, [["__scopeId", "data-v-1d6a40aa"]]), D4 = We(N
6788
6794
  };
6789
6795
  }
6790
6796
  });
6791
- const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-63db2f69"]]), I4 = We(A4), m4 = /* @__PURE__ */ ne({
6797
+ const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-63db2f69"]]), I4 = We(A4), y4 = /* @__PURE__ */ ne({
6792
6798
  __name: "GTableForm",
6793
6799
  props: {
6794
6800
  col: {},
@@ -6812,7 +6818,7 @@ const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-63db2f69"]]), I4 = We(A
6812
6818
  class: K(`${o}`)
6813
6819
  }, [
6814
6820
  (T(!0), H(Ne, null, pe(i.value, (D) => {
6815
- var m;
6821
+ var y;
6816
6822
  return T(), H("div", {
6817
6823
  key: D.keyName
6818
6824
  }, [
@@ -6826,7 +6832,7 @@ const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-63db2f69"]]), I4 = We(A
6826
6832
  key: 1,
6827
6833
  formItem: D,
6828
6834
  viewName: M.viewName,
6829
- inputType: (m = D.inputType) == null ? void 0 : m.toLowerCase(),
6835
+ inputType: (y = D.inputType) == null ? void 0 : y.toLowerCase(),
6830
6836
  originValue: A(le)(M.row, M.col.colKey),
6831
6837
  modelValue: A(le)(l.value, M.col.colKey),
6832
6838
  "onUpdate:modelValue": s[0] || (s[0] = (j) => M.col.colKey && r(M.col.colKey, j)),
@@ -6910,7 +6916,7 @@ const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-63db2f69"]]), I4 = We(A
6910
6916
  }), 128))
6911
6917
  ], 2));
6912
6918
  }
6913
- }), Gt = 32, Dt = 16 * 2, y4 = /* @__PURE__ */ ne({
6919
+ }), Gt = 32, Dt = 16 * 2, m4 = /* @__PURE__ */ ne({
6914
6920
  __name: "GTableOperations",
6915
6921
  props: {
6916
6922
  buttons: {},
@@ -6919,7 +6925,7 @@ const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-63db2f69"]]), I4 = We(A
6919
6925
  },
6920
6926
  emits: ["table-button-action"],
6921
6927
  setup(t, { emit: u }) {
6922
- const e = t, o = R(!1), n = u, a = R(), i = R([]), l = R([]), r = R(0), c = R(!1), M = R(/* @__PURE__ */ new Map()), s = Q(() => 0), D = R(0), m = Q(() => e.buttons.filter((N) => {
6928
+ const e = t, o = R(!1), n = u, a = R(), i = R([]), l = R([]), r = R(0), c = R(!1), M = R(/* @__PURE__ */ new Map()), s = Q(() => 0), D = R(0), y = Q(() => e.buttons.filter((N) => {
6923
6929
  if (N.showIf === "1")
6924
6930
  return !0;
6925
6931
  try {
@@ -6928,13 +6934,13 @@ const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-63db2f69"]]), I4 = We(A
6928
6934
  } catch (z) {
6929
6935
  return console.warn("Button filter evaluation error:", z), !1;
6930
6936
  }
6931
- })), j = (N) => N.name ? M.value.get(N.name) ?? 0 : 0, x = Q(() => m.value.reduce((N, z) => N + j(z), 0)), $ = Q(() => {
6937
+ })), j = (N) => N.name ? M.value.get(N.name) ?? 0 : 0, x = Q(() => y.value.reduce((N, z) => N + j(z), 0)), $ = Q(() => {
6932
6938
  if (!c.value || !r.value)
6933
- return m.value.length;
6939
+ return y.value.length;
6934
6940
  if (r.value < D.value) {
6935
6941
  let N = r.value, z = 0, P = Dt;
6936
- m.value.length > s.value && (N -= Gt);
6937
- for (const g of m.value) {
6942
+ y.value.length > s.value && (N -= Gt);
6943
+ for (const g of y.value) {
6938
6944
  const F = j(g);
6939
6945
  if (P + F < N)
6940
6946
  P += F, z++;
@@ -6943,8 +6949,8 @@ const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-63db2f69"]]), I4 = We(A
6943
6949
  }
6944
6950
  return Math.max(s.value, z);
6945
6951
  } else
6946
- return m.value.length;
6947
- }), v = Q(() => m.value.slice(0, $.value)), p = Q(() => m.value.slice($.value)), w = Q(() => p.value.length > 0);
6952
+ return y.value.length;
6953
+ }), v = Q(() => y.value.slice(0, $.value)), p = Q(() => y.value.slice($.value)), w = Q(() => p.value.length > 0);
6948
6954
  je(
6949
6955
  () => $.value,
6950
6956
  (N) => {
@@ -6955,7 +6961,7 @@ const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-63db2f69"]]), I4 = We(A
6955
6961
  o.value && (o.value = !1), n("table-button-action", N, z);
6956
6962
  }, _ = async () => {
6957
6963
  l.value.forEach((z, P) => {
6958
- const g = m.value[P];
6964
+ const g = y.value[P];
6959
6965
  g && g.name && (z != null && z.$el) && M.value.set(g.name, z.$el.offsetWidth);
6960
6966
  }), await nn();
6961
6967
  const N = x.value + Dt;
@@ -6967,7 +6973,7 @@ const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-63db2f69"]]), I4 = We(A
6967
6973
  const d = Q(() => {
6968
6974
  if (!c.value)
6969
6975
  return 0;
6970
- const N = m.value[0];
6976
+ const N = y.value[0];
6971
6977
  return (N ? j(N) : 0) + (w.value ? Gt : 0) + Dt;
6972
6978
  }), h = Q(
6973
6979
  () => D.value || x.value + Dt
@@ -7059,7 +7065,7 @@ const A4 = /* @__PURE__ */ au(j4, [["__scopeId", "data-v-63db2f69"]]), I4 = We(A
7059
7065
  }
7060
7066
  }, {
7061
7067
  default: k(() => [
7062
- (T(!0), H(Ne, null, pe(m.value, (I) => (T(), b(P, {
7068
+ (T(!0), H(Ne, null, pe(y.value, (I) => (T(), b(P, {
7063
7069
  key: I.name,
7064
7070
  ref_for: !0,
7065
7071
  ref_key: "initButtonRefs",
@@ -7178,8 +7184,8 @@ var Uu = {
7178
7184
  a > c && (u.charCodeAt(o + s) === 47 ? M = s : s === 0 && (M = 0));
7179
7185
  break;
7180
7186
  }
7181
- var D = u.charCodeAt(o + s), m = e.charCodeAt(i + s);
7182
- if (D !== m)
7187
+ var D = u.charCodeAt(o + s), y = e.charCodeAt(i + s);
7188
+ if (D !== y)
7183
7189
  break;
7184
7190
  D === 47 && (M = s);
7185
7191
  }
@@ -7313,9 +7319,9 @@ function x4(t, {
7313
7319
  matte: i,
7314
7320
  density: l,
7315
7321
  outline: r,
7316
- archive: m
7322
+ archive: y
7317
7323
  } = {}) {
7318
- var { fromMime: M, toMime: s, expected: D } = new C4(), m = m || "canvas", j = x || e.replace(/@\d+x$/i, "") || p4(u), x = M(s(j) || j), $ = s(x), v = t.length;
7324
+ var { fromMime: M, toMime: s, expected: D } = new C4(), y = y || "canvas", j = x || e.replace(/@\d+x$/i, "") || p4(u), x = M(s(j) || j), $ = s(x), v = t.length;
7319
7325
  if (!j)
7320
7326
  throw new Error(
7321
7327
  "Cannot determine image format (use a filename extension or 'format' argument)"
@@ -7353,7 +7359,7 @@ function x4(t, {
7353
7359
  matte: i,
7354
7360
  density: l,
7355
7361
  outline: r,
7356
- archive: m
7362
+ archive: y
7357
7363
  };
7358
7364
  }
7359
7365
  class Ot {
@@ -7436,20 +7442,20 @@ class kt {
7436
7442
  }
7437
7443
  }
7438
7444
  kt.encoder = new TextEncoder();
7439
- const yo = (t, u, e, o) => {
7445
+ const mo = (t, u, e, o) => {
7440
7446
  if (o) {
7441
7447
  let { width: n, height: a } = t, i = Object.assign(document.createElement("canvas"), { width: n, height: a }), l = i.getContext("2d");
7442
7448
  l.fillStyle = o, l.fillRect(0, 0, n, a), l.drawImage(t, 0, 0), t = i;
7443
7449
  }
7444
7450
  return new Promise((n, a) => t.toBlob(n, u, e));
7445
- }, z4 = (...t) => yo(...t).then((u) => u.arrayBuffer()), L4 = async (t, u, e, o, n) => {
7446
- Hn(n, await yo(t, u, e, o));
7451
+ }, z4 = (...t) => mo(...t).then((u) => u.arrayBuffer()), L4 = async (t, u, e, o, n) => {
7452
+ Hn(n, await mo(t, u, e, o));
7447
7453
  }, h4 = async (t, u, e, o, n, a, i) => {
7448
7454
  let l = (M) => a.replace("{}", String(M + 1).padStart(i, "0")), r = Wn(n, ".zip") || "archive", c = new kt(r);
7449
7455
  await Promise.all(
7450
7456
  t.map(async (M, s) => {
7451
7457
  let D = l(s);
7452
- await c.add(D, await yo(M, u, e, o));
7458
+ await c.add(D, await mo(M, u, e, o));
7453
7459
  })
7454
7460
  ), Hn(`${r}.zip`, c.blob);
7455
7461
  }, Hn = (t, u) => {
@@ -7496,11 +7502,11 @@ let U4 = class {
7496
7502
  },
7497
7503
  saveAs(l, r) {
7498
7504
  r = typeof r == "number" ? { quality: r } : r;
7499
- let c = Xt(this.pages, { filename: l, ...r }), { pattern: M, padding: s, mime: D, quality: m, matte: j, density: x, archive: $ } = c, v = Jt(c.pages, x);
7500
- return s == null ? S4(v[0], D, m, j, l) : w4(
7505
+ let c = Xt(this.pages, { filename: l, ...r }), { pattern: M, padding: s, mime: D, quality: y, matte: j, density: x, archive: $ } = c, v = Jt(c.pages, x);
7506
+ return s == null ? S4(v[0], D, y, j, l) : w4(
7501
7507
  v,
7502
7508
  D,
7503
- m,
7509
+ y,
7504
7510
  j,
7505
7511
  $,
7506
7512
  M,
@@ -7509,13 +7515,13 @@ let U4 = class {
7509
7515
  },
7510
7516
  toBuffer(l = "png", r = {}) {
7511
7517
  r = typeof r == "number" ? { quality: r } : r;
7512
- let c = Xt(this.pages, { extension: l, ...r }), { mime: M, quality: s, matte: D, pages: m, density: j } = c, x = Jt(m, j, D)[0];
7518
+ let c = Xt(this.pages, { extension: l, ...r }), { mime: M, quality: s, matte: D, pages: y, density: j } = c, x = Jt(y, j, D)[0];
7513
7519
  return qt(x, M, s, D);
7514
7520
  },
7515
7521
  [Wo]: o.toDataURL.bind(o),
7516
7522
  toDataURL(l = "png", r = {}) {
7517
7523
  r = typeof r == "number" ? { quality: r } : r;
7518
- let c = Xt(this.pages, { extension: l, ...r }), { mime: M, quality: s, matte: D, pages: m, density: j } = c, x = Jt(m, j, D)[0], $ = x[x === o ? Wo : "toDataURL"](M, s);
7524
+ let c = Xt(this.pages, { extension: l, ...r }), { mime: M, quality: s, matte: D, pages: y, density: j } = c, x = Jt(y, j, D)[0], $ = x[x === o ? Wo : "toDataURL"](M, s);
7519
7525
  return Promise.resolve($);
7520
7526
  }
7521
7527
  });
@@ -7743,10 +7749,10 @@ const G4 = Qu(
7743
7749
  return e;
7744
7750
  }, ul = (t, u, e) => {
7745
7751
  const a = e;
7746
- var i, l, r, c, M, s, D, _, m, j, f, x, d, h, z, N;
7752
+ var i, l, r, c, M, s, D, _, y, j, f, x, d, h, z, N;
7747
7753
  const $ = new Array(e), v = new Array(4096), p = new Array(4096), w = new Array(4096 + 1);
7748
- for (x = t, l = 1 << x, M = l + 1, i = l + 2, D = -1, c = x + 1, r = (1 << c) - 1, m = 0; m < l; m++)
7749
- v[m] = 0, p[m] = m;
7754
+ for (x = t, l = 1 << x, M = l + 1, i = l + 2, D = -1, c = x + 1, r = (1 << c) - 1, y = 0; y < l; y++)
7755
+ v[y] = 0, p[y] = y;
7750
7756
  var f, _, d, h, N, z;
7751
7757
  for (f = _ = d = h = N = z = 0, j = 0; j < a; ) {
7752
7758
  if (h === 0) {
@@ -7754,19 +7760,19 @@ const G4 = Qu(
7754
7760
  f += u[z] << _, _ += 8, z++;
7755
7761
  continue;
7756
7762
  }
7757
- if (m = f & r, f >>= c, _ -= c, m > i || m == M)
7763
+ if (y = f & r, f >>= c, _ -= c, y > i || y == M)
7758
7764
  break;
7759
- if (m == l) {
7765
+ if (y == l) {
7760
7766
  c = x + 1, r = (1 << c) - 1, i = l + 2, D = -1;
7761
7767
  continue;
7762
7768
  }
7763
7769
  if (D == -1) {
7764
- w[h++] = p[m], D = m, d = m;
7770
+ w[h++] = p[y], D = y, d = y;
7765
7771
  continue;
7766
7772
  }
7767
- for (s = m, m == i && (w[h++] = d, m = D); m > l; )
7768
- w[h++] = p[m], m = v[m];
7769
- d = p[m] & 255, w[h++] = d, i < 4096 && (v[i] = D, p[i] = d, i++, !(i & r) && i < 4096 && (c++, r += i)), D = s;
7773
+ for (s = y, y == i && (w[h++] = d, y = D); y > l; )
7774
+ w[h++] = p[y], y = v[y];
7775
+ d = p[y] & 255, w[h++] = d, i < 4096 && (v[i] = D, p[i] = d, i++, !(i & r) && i < 4096 && (c++, r += i)), D = s;
7770
7776
  }
7771
7777
  h--, $[N++] = w[h], j++;
7772
7778
  }
@@ -7997,11 +8003,11 @@ class xu {
7997
8003
  let o = 0, n = 0, a = 0;
7998
8004
  const i = new Array(e.length), l = new Array(e.length);
7999
8005
  for (var r = 0; r < e.length; r++) {
8000
- const m = e[r].dataCount, j = e[r].totalCount - m;
8001
- n = Math.max(n, m), a = Math.max(a, j), i[r] = new Array(m);
8006
+ const y = e[r].dataCount, j = e[r].totalCount - y;
8007
+ n = Math.max(n, y), a = Math.max(a, j), i[r] = new Array(y);
8002
8008
  for (var c = 0; c < i[r].length; c++)
8003
8009
  i[r][c] = 255 & u.buffer[c + o];
8004
- o += m;
8010
+ o += y;
8005
8011
  const x = Ee.getErrorCorrectPolynomial(j), v = new Wu(i[r], x.getLength() - 1).mod(x);
8006
8012
  l[r] = new Array(x.getLength() - 1);
8007
8013
  for (var c = 0; c < l[r].length; c++) {
@@ -8559,7 +8565,7 @@ function Il(t, u) {
8559
8565
  for (o[h] = N + Ho >> 1, p = h + 1; p < 256; p++)
8560
8566
  o[p] = Ho;
8561
8567
  }
8562
- function m(v, p, w) {
8568
+ function y(v, p, w) {
8563
8569
  for (var f, _, d, h = 1e3, N = -1, z = o[p], P = z - 1; z < be || P >= 0; )
8564
8570
  z < be && (_ = e[z], d = _[1] - p, d >= h ? z = be : (z++, d < 0 && (d = -d), f = _[0] - v, f < 0 && (f = -f), d += f, d < h && (f = _[2] - w, f < 0 && (f = -f), d += f, d < h && (h = d, N = _[3])))), P >= 0 && (_ = e[P], d = p - _[1], d >= h ? P = -1 : (P--, d < 0 && (d = -d), f = _[0] - v, f < 0 && (f = -f), d += f, d < h && (f = _[2] - w, f < 0 && (f = -f), d += f, d < h && (h = d, N = _[3]))));
8565
8571
  return N;
@@ -8589,9 +8595,9 @@ function Il(t, u) {
8589
8595
  }
8590
8596
  return v;
8591
8597
  }
8592
- this.getColormap = $, this.lookupRGB = m;
8598
+ this.getColormap = $, this.lookupRGB = y;
8593
8599
  }
8594
- var Jo = -1, dt = 12, Xu = 5003, ml = [
8600
+ var Jo = -1, dt = 12, Xu = 5003, yl = [
8595
8601
  0,
8596
8602
  1,
8597
8603
  3,
@@ -8610,38 +8616,38 @@ var Jo = -1, dt = 12, Xu = 5003, ml = [
8610
8616
  32767,
8611
8617
  65535
8612
8618
  ];
8613
- function yl(t, u, e, o) {
8614
- var n = Math.max(2, o), a = new Uint8Array(256), i = new Int32Array(Xu), l = new Int32Array(Xu), r, c = 0, M, s = 0, D, m = !1, j, x, $, v, p, w;
8619
+ function ml(t, u, e, o) {
8620
+ var n = Math.max(2, o), a = new Uint8Array(256), i = new Int32Array(Xu), l = new Int32Array(Xu), r, c = 0, M, s = 0, D, y = !1, j, x, $, v, p, w;
8615
8621
  function f(I, U) {
8616
8622
  a[M++] = I, M >= 254 && z(U);
8617
8623
  }
8618
8624
  function _(I) {
8619
- d(Xu), s = x + 2, m = !0, F(x, I);
8625
+ d(Xu), s = x + 2, y = !0, F(x, I);
8620
8626
  }
8621
8627
  function d(I) {
8622
8628
  for (var U = 0; U < I; ++U)
8623
8629
  i[U] = -1;
8624
8630
  }
8625
8631
  function h(I, U) {
8626
- var E, S, y, O, C, L, Y;
8627
- for (j = I, m = !1, w = j, D = P(w), x = 1 << I - 1, $ = x + 1, s = x + 2, M = 0, O = g(), Y = 0, E = Xu; E < 65536; E *= 2)
8632
+ var E, S, m, O, C, L, Y;
8633
+ for (j = I, y = !1, w = j, D = P(w), x = 1 << I - 1, $ = x + 1, s = x + 2, M = 0, O = g(), Y = 0, E = Xu; E < 65536; E *= 2)
8628
8634
  ++Y;
8629
8635
  Y = 8 - Y, L = Xu, d(L), F(x, U);
8630
8636
  e:
8631
8637
  for (; (S = g()) != Jo; ) {
8632
- if (E = (S << dt) + O, y = S << Y ^ O, i[y] === E) {
8633
- O = l[y];
8638
+ if (E = (S << dt) + O, m = S << Y ^ O, i[m] === E) {
8639
+ O = l[m];
8634
8640
  continue;
8635
- } else if (i[y] >= 0) {
8636
- C = L - y, y === 0 && (C = 1);
8641
+ } else if (i[m] >= 0) {
8642
+ C = L - m, m === 0 && (C = 1);
8637
8643
  do
8638
- if ((y -= C) < 0 && (y += L), i[y] === E) {
8639
- O = l[y];
8644
+ if ((m -= C) < 0 && (m += L), i[m] === E) {
8645
+ O = l[m];
8640
8646
  continue e;
8641
8647
  }
8642
- while (i[y] >= 0);
8648
+ while (i[m] >= 0);
8643
8649
  }
8644
- F(O, U), O = S, s < 1 << dt ? (l[y] = s++, i[y] = E) : _(U);
8650
+ F(O, U), O = S, s < 1 << dt ? (l[m] = s++, i[m] = E) : _(U);
8645
8651
  }
8646
8652
  F(O, U), F($, U);
8647
8653
  }
@@ -8662,9 +8668,9 @@ function yl(t, u, e, o) {
8662
8668
  return I & 255;
8663
8669
  }
8664
8670
  function F(I, U) {
8665
- for (r &= ml[c], c > 0 ? r |= I << c : r = I, c += w; c >= 8; )
8671
+ for (r &= yl[c], c > 0 ? r |= I << c : r = I, c += w; c >= 8; )
8666
8672
  f(r & 255, U), r >>= 8, c -= 8;
8667
- if ((s > D || m) && (m ? (D = P(w = j), m = !1) : (++w, w == dt ? D = 1 << dt : D = P(w))), I == $) {
8673
+ if ((s > D || y) && (y ? (D = P(w = j), y = !1) : (++w, w == dt ? D = 1 << dt : D = P(w))), I == $) {
8668
8674
  for (; c > 0; )
8669
8675
  f(r & 255, U), r >>= 8, c -= 8;
8670
8676
  z(U);
@@ -8804,9 +8810,9 @@ Ce.prototype.ditherPixels = function(t, u) {
8804
8810
  u && (r = r * -1);
8805
8811
  for (var M = r == 1 ? 0 : i - 1, s = r == 1 ? i : 0; M !== s; M += r) {
8806
8812
  n = c * i + M;
8807
- var D = n * 3, m = l[D], j = l[D + 1], x = l[D + 2];
8808
- D = this.findClosestRGB(m, j, x), this.usedEntry[D] = !0, this.indexedPixels[n] = D, D *= 3;
8809
- for (var $ = this.colorTab[D], v = this.colorTab[D + 1], p = this.colorTab[D + 2], w = m - $, f = j - v, _ = x - p, d = r == 1 ? 0 : o.length - 1, h = r == 1 ? o.length : 0; d !== h; d += r) {
8813
+ var D = n * 3, y = l[D], j = l[D + 1], x = l[D + 2];
8814
+ D = this.findClosestRGB(y, j, x), this.usedEntry[D] = !0, this.indexedPixels[n] = D, D *= 3;
8815
+ for (var $ = this.colorTab[D], v = this.colorTab[D + 1], p = this.colorTab[D + 2], w = y - $, f = j - v, _ = x - p, d = r == 1 ? 0 : o.length - 1, h = r == 1 ? o.length : 0; d !== h; d += r) {
8810
8816
  var N = o[d][1], z = o[d][2];
8811
8817
  if (N + M >= 0 && N + M < i && z + c >= 0 && z + c < a) {
8812
8818
  var P = o[d][0];
@@ -8874,7 +8880,7 @@ Ce.prototype.writeShort = function(t) {
8874
8880
  this.out.writeByte(t & 255), this.out.writeByte(t >> 8 & 255);
8875
8881
  };
8876
8882
  Ce.prototype.writePixels = function() {
8877
- var t = new yl(this.width, this.height, this.indexedPixels, this.colorDepth);
8883
+ var t = new ml(this.width, this.height, this.indexedPixels, this.colorDepth);
8878
8884
  t.encode(this.out);
8879
8885
  };
8880
8886
  Ce.prototype.stream = function() {
@@ -8932,22 +8938,22 @@ function Xo(t) {
8932
8938
  }, n.src = t;
8933
8939
  });
8934
8940
  }
8935
- class me {
8941
+ class ye {
8936
8942
  constructor(u) {
8937
8943
  const e = Object.assign({}, u);
8938
- if (Object.keys(me.defaultOptions).forEach((o) => {
8939
- o in e || Object.defineProperty(e, o, { value: me.defaultOptions[o], enumerable: !0, writable: !0 });
8940
- }), e.components ? typeof e.components == "object" && Object.keys(me.defaultComponentOptions).forEach((o) => {
8944
+ if (Object.keys(ye.defaultOptions).forEach((o) => {
8945
+ o in e || Object.defineProperty(e, o, { value: ye.defaultOptions[o], enumerable: !0, writable: !0 });
8946
+ }), e.components ? typeof e.components == "object" && Object.keys(ye.defaultComponentOptions).forEach((o) => {
8941
8947
  o in e.components ? Object.defineProperty(e.components, o, {
8942
- value: Object.assign(Object.assign({}, me.defaultComponentOptions[o]), e.components[o]),
8948
+ value: Object.assign(Object.assign({}, ye.defaultComponentOptions[o]), e.components[o]),
8943
8949
  enumerable: !0,
8944
8950
  writable: !0
8945
8951
  }) : Object.defineProperty(e.components, o, {
8946
- value: me.defaultComponentOptions[o],
8952
+ value: ye.defaultComponentOptions[o],
8947
8953
  enumerable: !0,
8948
8954
  writable: !0
8949
8955
  });
8950
- }) : e.components = me.defaultComponentOptions, e.dotScale !== null && e.dotScale !== void 0) {
8956
+ }) : e.components = ye.defaultComponentOptions, e.dotScale !== null && e.dotScale !== void 0) {
8951
8957
  if (e.dotScale <= 0 || e.dotScale > 1)
8952
8958
  throw new Error("dotScale should be in range (0, 1].");
8953
8959
  e.components.data.scale = e.dotScale, e.components.timing.scale = e.dotScale, e.components.alignment.scale = e.dotScale;
@@ -9000,20 +9006,20 @@ class me {
9000
9006
  static _drawAlign(u, e, o, n, a = 0, i = 1, l, r) {
9001
9007
  const c = u.fillStyle;
9002
9008
  u.fillStyle = l, new Array(4).fill(0).map((M, s) => {
9003
- me._drawDot(u, e - 2 + s, o - 2, n, a, i), me._drawDot(u, e + 2, o - 2 + s, n, a, i), me._drawDot(u, e + 2 - s, o + 2, n, a, i), me._drawDot(u, e - 2, o + 2 - s, n, a, i);
9004
- }), me._drawDot(u, e, o, n, a, i), r || (u.fillStyle = "rgba(255, 255, 255, 0.6)", new Array(2).fill(0).map((M, s) => {
9005
- me._drawDot(u, e - 1 + s, o - 1, n, a, i), me._drawDot(u, e + 1, o - 1 + s, n, a, i), me._drawDot(u, e + 1 - s, o + 1, n, a, i), me._drawDot(u, e - 1, o + 1 - s, n, a, i);
9009
+ ye._drawDot(u, e - 2 + s, o - 2, n, a, i), ye._drawDot(u, e + 2, o - 2 + s, n, a, i), ye._drawDot(u, e + 2 - s, o + 2, n, a, i), ye._drawDot(u, e - 2, o + 2 - s, n, a, i);
9010
+ }), ye._drawDot(u, e, o, n, a, i), r || (u.fillStyle = "rgba(255, 255, 255, 0.6)", new Array(2).fill(0).map((M, s) => {
9011
+ ye._drawDot(u, e - 1 + s, o - 1, n, a, i), ye._drawDot(u, e + 1, o - 1 + s, n, a, i), ye._drawDot(u, e + 1 - s, o + 1, n, a, i), ye._drawDot(u, e - 1, o + 1 - s, n, a, i);
9006
9012
  })), u.fillStyle = c;
9007
9013
  }
9008
9014
  _draw() {
9009
- var u, e, o, n, a, i, l, r, c, M, s, D, m, j, x, $, v, p, w;
9015
+ var u, e, o, n, a, i, l, r, c, M, s, D, y, j, x, $, v, p, w;
9010
9016
  return El(this, void 0, void 0, function* () {
9011
9017
  const f = (u = this.qrCode) === null || u === void 0 ? void 0 : u.moduleCount, _ = this.options.size;
9012
9018
  let d = this.options.margin;
9013
9019
  (d < 0 || d * 2 >= _) && (d = 0);
9014
9020
  const h = Math.ceil(d), N = _ - 2 * d, z = this.options.whiteMargin, P = this.options.backgroundDimming, g = Math.ceil(N / f), F = g * f, I = F + 2 * h, U = new Du(I, I), E = U.getContext("2d");
9015
9021
  this._clear(), E.save(), E.translate(h, h);
9016
- const S = new Du(I, I), y = S.getContext("2d");
9022
+ const S = new Du(I, I), m = S.getContext("2d");
9017
9023
  let O = null, C = [];
9018
9024
  if (this.options.gifBackground) {
9019
9025
  const G = tl(this.options.gifBackground);
@@ -9028,12 +9034,12 @@ class me {
9028
9034
  } else if (this.options.backgroundImage) {
9029
9035
  const G = yield Xo(this.options.backgroundImage);
9030
9036
  if (this.options.autoColor) {
9031
- const te = me._getAverageRGB(G);
9037
+ const te = ye._getAverageRGB(G);
9032
9038
  this.options.colorDark = `rgb(${te.r},${te.g},${te.b})`;
9033
9039
  }
9034
- y.drawImage(G, 0, 0, G.width, G.height, 0, 0, I, I), y.rect(0, 0, I, I), y.fillStyle = P, y.fill();
9040
+ m.drawImage(G, 0, 0, G.width, G.height, 0, 0, I, I), m.rect(0, 0, I, I), m.fillStyle = P, m.fill();
9035
9041
  } else
9036
- y.rect(0, 0, I, I), y.fillStyle = this.options.colorLight, y.fill();
9042
+ m.rect(0, 0, I, I), m.fillStyle = this.options.colorLight, m.fill();
9037
9043
  const L = Ee.getPatternPosition(this.qrCode.typeNumber), Y = ((o = (e = this.options.components) === null || e === void 0 ? void 0 : e.data) === null || o === void 0 ? void 0 : o.scale) || jt, W = (1 - Y) * 0.5;
9038
9044
  for (let G = 0; G < f; G++)
9039
9045
  for (let te = 0; te < f; te++) {
@@ -9050,7 +9056,7 @@ class me {
9050
9056
  }
9051
9057
  }
9052
9058
  const J = L[L.length - 1], re = this.options.colorLight;
9053
- if (E.fillStyle = re, E.fillRect(0, 0, 8 * g, 8 * g), E.fillRect(0, (f - 8) * g, 8 * g, 8 * g), E.fillRect((f - 8) * g, 0, 8 * g, 8 * g), !((a = (n = this.options.components) === null || n === void 0 ? void 0 : n.timing) === null || a === void 0) && a.protectors && (E.fillRect(8 * g, 6 * g, (f - 8 - 8) * g, g), E.fillRect(6 * g, 8 * g, g, (f - 8 - 8) * g)), !((l = (i = this.options.components) === null || i === void 0 ? void 0 : i.cornerAlignment) === null || l === void 0) && l.protectors && me._drawAlignProtector(E, J, J, g), !((c = (r = this.options.components) === null || r === void 0 ? void 0 : r.alignment) === null || c === void 0) && c.protectors)
9059
+ if (E.fillStyle = re, E.fillRect(0, 0, 8 * g, 8 * g), E.fillRect(0, (f - 8) * g, 8 * g, 8 * g), E.fillRect((f - 8) * g, 0, 8 * g, 8 * g), !((a = (n = this.options.components) === null || n === void 0 ? void 0 : n.timing) === null || a === void 0) && a.protectors && (E.fillRect(8 * g, 6 * g, (f - 8 - 8) * g, g), E.fillRect(6 * g, 8 * g, g, (f - 8 - 8) * g)), !((l = (i = this.options.components) === null || i === void 0 ? void 0 : i.cornerAlignment) === null || l === void 0) && l.protectors && ye._drawAlignProtector(E, J, J, g), !((c = (r = this.options.components) === null || r === void 0 ? void 0 : r.alignment) === null || c === void 0) && c.protectors)
9054
9060
  for (let G = 0; G < L.length; G++)
9055
9061
  for (let te = 0; te < L.length; te++) {
9056
9062
  const ce = L[te], de = L[G];
@@ -9059,15 +9065,15 @@ class me {
9059
9065
  continue;
9060
9066
  if (ce === J && de === J)
9061
9067
  continue;
9062
- me._drawAlignProtector(E, ce, de, g);
9068
+ ye._drawAlignProtector(E, ce, de, g);
9063
9069
  }
9064
9070
  }
9065
9071
  E.fillStyle = this.options.colorDark, E.fillRect(0, 0, 7 * g, g), E.fillRect((f - 7) * g, 0, 7 * g, g), E.fillRect(0, 6 * g, 7 * g, g), E.fillRect((f - 7) * g, 6 * g, 7 * g, g), E.fillRect(0, (f - 7) * g, 7 * g, g), E.fillRect(0, (f - 7 + 6) * g, 7 * g, g), E.fillRect(0, 0, g, 7 * g), E.fillRect(6 * g, 0, g, 7 * g), E.fillRect((f - 7) * g, 0, g, 7 * g), E.fillRect((f - 7 + 6) * g, 0, g, 7 * g), E.fillRect(0, (f - 7) * g, g, 7 * g), E.fillRect(6 * g, (f - 7) * g, g, 7 * g), E.fillRect(2 * g, 2 * g, 3 * g, 3 * g), E.fillRect((f - 7 + 2) * g, 2 * g, 3 * g, 3 * g), E.fillRect(2 * g, (f - 7 + 2) * g, 3 * g, 3 * g);
9066
9072
  const Ae = ((s = (M = this.options.components) === null || M === void 0 ? void 0 : M.timing) === null || s === void 0 ? void 0 : s.scale) || jt, oe = (1 - Ae) * 0.5;
9067
9073
  for (let G = 0; G < f - 8; G += 2)
9068
- me._drawDot(E, 8 + G, 6, g, oe, Ae), me._drawDot(E, 6, 8 + G, g, oe, Ae);
9069
- const se = ((m = (D = this.options.components) === null || D === void 0 ? void 0 : D.cornerAlignment) === null || m === void 0 ? void 0 : m.scale) || jt, Se = (1 - se) * 0.5;
9070
- me._drawAlign(E, J, J, g, Se, se, 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);
9074
+ ye._drawDot(E, 8 + G, 6, g, oe, Ae), ye._drawDot(E, 6, 8 + G, g, oe, Ae);
9075
+ const se = ((y = (D = this.options.components) === null || D === void 0 ? void 0 : D.cornerAlignment) === null || y === void 0 ? void 0 : y.scale) || jt, Se = (1 - se) * 0.5;
9076
+ ye._drawAlign(E, J, J, g, Se, se, 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);
9071
9077
  const Ye = ((v = ($ = this.options.components) === null || $ === void 0 ? void 0 : $.alignment) === null || v === void 0 ? void 0 : v.scale) || jt, Ie = (1 - Ye) * 0.5;
9072
9078
  for (let G = 0; G < L.length; G++)
9073
9079
  for (let te = 0; te < L.length; te++) {
@@ -9077,7 +9083,7 @@ class me {
9077
9083
  continue;
9078
9084
  if (ce === J && de === J)
9079
9085
  continue;
9080
- me._drawAlign(E, ce, de, g, Ie, Ye, this.options.colorDark, ((w = (p = this.options.components) === null || p === void 0 ? void 0 : p.alignment) === null || w === void 0 ? void 0 : w.protectors) || !1);
9086
+ ye._drawAlign(E, ce, de, g, Ie, Ye, this.options.colorDark, ((w = (p = this.options.components) === null || p === void 0 ? void 0 : p.alignment) === null || w === void 0 ? void 0 : w.protectors) || !1);
9081
9087
  }
9082
9088
  }
9083
9089
  if (z && (E.fillStyle = this.options.backgroundColor, E.fillRect(-h, -h, I, h), E.fillRect(-h, F, I, h), E.fillRect(F, -h, h, I), E.fillRect(-h, -h, h, I)), this.options.logoImage) {
@@ -9085,9 +9091,9 @@ class me {
9085
9091
  let te = this.options.logoScale, ce = this.options.logoMargin, de = this.options.logoCornerRadius;
9086
9092
  (te <= 0 || te >= 1) && (te = 0.2), ce < 0 && (ce = 0), de < 0 && (de = 0);
9087
9093
  const Le = F * te, xe = 0.5 * (I - Le), ze = xe;
9088
- E.restore(), E.fillStyle = this.options.logoBackgroundColor, E.save(), me._prepareRoundedCornerClip(E, xe - ce, ze - ce, Le + 2 * ce, Le + 2 * ce, de + ce), E.clip();
9094
+ E.restore(), E.fillStyle = this.options.logoBackgroundColor, E.save(), ye._prepareRoundedCornerClip(E, xe - ce, ze - ce, Le + 2 * ce, Le + 2 * ce, de + ce), E.clip();
9089
9095
  const He = E.globalCompositeOperation;
9090
- E.globalCompositeOperation = "destination-out", E.fill(), E.globalCompositeOperation = He, E.restore(), E.save(), me._prepareRoundedCornerClip(E, xe, ze, Le, Le, de), E.clip(), E.drawImage(G, xe, ze, Le, Le), E.restore(), E.save(), E.translate(h, h);
9096
+ E.globalCompositeOperation = "destination-out", E.fill(), E.globalCompositeOperation = He, E.restore(), E.save(), ye._prepareRoundedCornerClip(E, xe, ze, Le, Le, de), E.clip(), E.drawImage(G, xe, ze, Le, Le), E.restore(), E.save(), E.translate(h, h);
9091
9097
  }
9092
9098
  if (O) {
9093
9099
  let G, te, ce, de, Le, xe;
@@ -9107,7 +9113,7 @@ class me {
9107
9113
  }
9108
9114
  return Promise.resolve(Buffer.from(G.stream().toFlattenUint8Array()));
9109
9115
  } else {
9110
- y.drawImage(U.getContext("2d").canvas, 0, 0, I, I), E.drawImage(S.getContext("2d").canvas, -h, -h, I, I);
9116
+ m.drawImage(U.getContext("2d").canvas, 0, 0, I, I), E.drawImage(S.getContext("2d").canvas, -h, -h, I, I);
9111
9117
  const G = new Du(_, _);
9112
9118
  G.getContext("2d").drawImage(U.getContext("2d").canvas, 0, 0, _, _), this.canvas = G;
9113
9119
  const ce = this.options.gifBackground ? "gif" : "png";
@@ -9116,8 +9122,8 @@ class me {
9116
9122
  });
9117
9123
  }
9118
9124
  }
9119
- me.CorrectLevel = Ve;
9120
- me.defaultComponentOptions = {
9125
+ ye.CorrectLevel = Ve;
9126
+ ye.defaultComponentOptions = {
9121
9127
  data: {
9122
9128
  scale: 0.4
9123
9129
  },
@@ -9134,7 +9140,7 @@ me.defaultComponentOptions = {
9134
9140
  protectors: !0
9135
9141
  }
9136
9142
  };
9137
- me.defaultOptions = {
9143
+ ye.defaultOptions = {
9138
9144
  text: "",
9139
9145
  size: 400,
9140
9146
  margin: 20,
@@ -9148,7 +9154,7 @@ me.defaultOptions = {
9148
9154
  logoMargin: 4,
9149
9155
  logoCornerRadius: 8,
9150
9156
  whiteMargin: !0,
9151
- components: me.defaultComponentOptions,
9157
+ components: ye.defaultComponentOptions,
9152
9158
  autoColor: !0,
9153
9159
  logoBackgroundColor: "#ffffff",
9154
9160
  backgroundColor: "#ffffff"
@@ -9309,7 +9315,7 @@ const fl = {
9309
9315
  },
9310
9316
  async render(t, u, e) {
9311
9317
  const o = this;
9312
- new me({
9318
+ new ye({
9313
9319
  gifBackground: e,
9314
9320
  text: o.text,
9315
9321
  size: o.size,
@@ -9413,25 +9419,25 @@ const zl = { key: 0 }, Ll = ["innerHTML"], hl = ["innerHTML"], Ol = ["innerHTML"
9413
9419
  else
9414
9420
  return Object.keys(s.value) ? li(U[I.keyName], s.value) : U[I.keyName];
9415
9421
  }
9416
- function m(I) {
9422
+ function y(I) {
9417
9423
  return !eu(I) && I !== "";
9418
9424
  }
9419
9425
  const j = () => "<span class='empty'>----</span>";
9420
9426
  function x(I, U) {
9421
9427
  var E;
9422
9428
  if (!Fe(I.enums)) {
9423
- let S = I.enums.filter((y) => {
9424
- if (U[I.keyName] == null && (U[I.keyName] = ""), y.value == String(U[I.keyName]))
9425
- return y.text;
9429
+ let S = I.enums.filter((m) => {
9430
+ if (U[I.keyName] == null && (U[I.keyName] = ""), m.value == String(U[I.keyName]))
9431
+ return m.text;
9426
9432
  });
9427
- return S.length ? (E = S.shift()) == null ? void 0 : E.text : m(U[I.keyName]) ? U[I.keyName] : j();
9433
+ return S.length ? (E = S.shift()) == null ? void 0 : E.text : y(U[I.keyName]) ? U[I.keyName] : j();
9428
9434
  }
9429
9435
  }
9430
9436
  function $(I, U) {
9431
9437
  if (I.value != "")
9432
9438
  return Au.render(I.value, { item: U });
9433
9439
  if (I.value == "")
9434
- return m(U[I.keyName]) ? Tu(U[I.keyName]).format("YYYY-MM-DD HH:mm:ss") : j();
9440
+ return y(U[I.keyName]) ? Tu(U[I.keyName]).format("YYYY-MM-DD HH:mm:ss") : j();
9435
9441
  }
9436
9442
  function v(I, U) {
9437
9443
  i("table-button-action", I, U);
@@ -9464,9 +9470,9 @@ const zl = { key: 0 }, Ll = ["innerHTML"], hl = ["innerHTML"], Ol = ["innerHTML"
9464
9470
  const S = Object.entries(E).filter(([C, L]) => {
9465
9471
  const Y = z.value.findIndex((W) => W.colKey === C);
9466
9472
  return C !== "row-select" && Y !== z.value.length - 1;
9467
- }), y = Object.values(E).reduce((C, L) => C + L, 0), O = _.value;
9468
- if (y < O) {
9469
- const C = S.reduce((W, [J, re]) => W + re, 0), L = O - y;
9473
+ }), m = Object.values(E).reduce((C, L) => C + L, 0), O = _.value;
9474
+ if (m < O) {
9475
+ const C = S.reduce((W, [J, re]) => W + re, 0), L = O - m;
9470
9476
  S.forEach(([W, J]) => {
9471
9477
  const re = J / C, Ae = Math.floor(L * re);
9472
9478
  E[W] = J + Ae;
@@ -9524,7 +9530,7 @@ const zl = { key: 0 }, Ll = ["innerHTML"], hl = ["innerHTML"], Ol = ["innerHTML"
9524
9530
  )));
9525
9531
  }) : []);
9526
9532
  return (I, U) => {
9527
- const E = Z("t-link"), S = Z("t-button"), y = Z("t-popup"), O = Z("t-image"), C = Z("t-image-viewer");
9533
+ const E = Z("t-link"), S = Z("t-button"), m = Z("t-popup"), O = Z("t-image"), C = Z("t-image-viewer");
9528
9534
  return A(n) ? q("", !0) : (T(), b(A(g0), {
9529
9535
  key: 0,
9530
9536
  class: "g-table",
@@ -9561,7 +9567,7 @@ const zl = { key: 0 }, Ll = ["innerHTML"], hl = ["innerHTML"], Ol = ["innerHTML"
9561
9567
  ], 64))
9562
9568
  ]),
9563
9569
  TEXT: k(({ col: L, row: Y }) => [
9564
- m(D(L, Y)) ? (T(), H("span", zl, [
9570
+ y(D(L, Y)) ? (T(), H("span", zl, [
9565
9571
  X("span", {
9566
9572
  innerHTML: D(L, Y)
9567
9573
  }, null, 8, Ll)
@@ -9581,7 +9587,7 @@ const zl = { key: 0 }, Ll = ["innerHTML"], hl = ["innerHTML"], Ol = ["innerHTML"
9581
9587
  }, null, 8, kl)
9582
9588
  ]),
9583
9589
  QR_CODE: k(({ col: L, row: Y }) => [
9584
- B(y, null, {
9590
+ B(m, null, {
9585
9591
  content: k(() => [
9586
9592
  B(xl, {
9587
9593
  text: D(L, Y),
@@ -9605,7 +9611,7 @@ const zl = { key: 0 }, Ll = ["innerHTML"], hl = ["innerHTML"], Ol = ["innerHTML"
9605
9611
  }, 1024)
9606
9612
  ]),
9607
9613
  FORM_ITEM: k(({ col: L, row: Y }) => [
9608
- L.formItems && L.formItems.length ? (T(), b(m4, {
9614
+ L.formItems && L.formItems.length ? (T(), b(y4, {
9609
9615
  key: 0,
9610
9616
  viewName: I.viewName,
9611
9617
  col: L,
@@ -9672,7 +9678,7 @@ const zl = { key: 0 }, Ll = ["innerHTML"], hl = ["innerHTML"], Ol = ["innerHTML"
9672
9678
  ], 2)
9673
9679
  ]),
9674
9680
  BUTTONS: k(({ col: L, row: Y }) => [
9675
- L.buttons && L.buttons.length > 0 ? (T(), b(y4, {
9681
+ L.buttons && L.buttons.length > 0 ? (T(), b(m4, {
9676
9682
  key: 0,
9677
9683
  buttons: L.buttons,
9678
9684
  row: Y,
@@ -9696,8 +9702,8 @@ const bl = /* @__PURE__ */ au(Ql, [["__scopeId", "data-v-ee8f64a1"]]), Yl = /* @
9696
9702
  },
9697
9703
  setup(t) {
9698
9704
  const u = t, e = Yu(), o = Iu(), n = nu(), a = Q(() => o.fullPath), i = Q(() => {
9699
- var m;
9700
- return (m = u == null ? void 0 : u.board) == null ? void 0 : m.tabs;
9705
+ var y;
9706
+ return (y = u == null ? void 0 : u.board) == null ? void 0 : y.tabs;
9701
9707
  }), l = R(0), r = Q(() => e.returnTabMenuItemActiveTab(a.value));
9702
9708
  je(
9703
9709
  () => r.value,
@@ -9709,23 +9715,23 @@ const bl = /* @__PURE__ */ au(Ql, [["__scopeId", "data-v-ee8f64a1"]]), Yl = /* @
9709
9715
  immediate: !0
9710
9716
  }
9711
9717
  );
9712
- function c(m) {
9713
- l.value = m;
9718
+ function c(y) {
9719
+ l.value = y;
9714
9720
  try {
9715
- e.setCurrentTabMenuItemActiveTab(a.value, m);
9721
+ e.setCurrentTabMenuItemActiveTab(a.value, y);
9716
9722
  } catch (j) {
9717
9723
  console.error("tab切换出错", j);
9718
9724
  }
9719
9725
  }
9720
9726
  const M = ve(), s = Q(() => M.homeUrl);
9721
9727
  function D() {
9722
- const m = o.fullPath, j = e.returnPrevTabMenuPathItemByPath(m);
9723
- j && (e.removeTabMenuItemByPath(m), console.log(j), j != "/home" ? n.push(j) : s.value && n.push({ path: s.value, query: hu(s.value) }));
9728
+ const y = o.fullPath, j = e.returnPrevTabMenuPathItemByPath(y);
9729
+ j && (e.removeTabMenuItemByPath(y), console.log(j), j != "/home" ? n.push(j) : s.value && n.push({ path: s.value, query: hu(s.value) }));
9724
9730
  }
9725
- return (m, j) => {
9731
+ return (y, j) => {
9726
9732
  const x = Z("t-card"), $ = Z("t-tab-panel"), v = Z("t-tabs");
9727
9733
  return T(), b(v, {
9728
- class: K(`${A(yi)}`),
9734
+ class: K(`${A(mi)}`),
9729
9735
  placement: "left",
9730
9736
  value: l.value,
9731
9737
  onChange: c
@@ -9742,7 +9748,7 @@ const bl = /* @__PURE__ */ au(Ql, [["__scopeId", "data-v-ee8f64a1"]]), Yl = /* @
9742
9748
  content: k(() => [
9743
9749
  p.board ? (T(), b(A(xt), {
9744
9750
  key: p.title,
9745
- viewName: m.viewName,
9751
+ viewName: y.viewName,
9746
9752
  board: p.board,
9747
9753
  serverProps: p.serverProps,
9748
9754
  onCloseDialog: D
@@ -9777,7 +9783,7 @@ const Bl = /* @__PURE__ */ ne({
9777
9783
  }), D = Q(() => {
9778
9784
  var V, ee, Me;
9779
9785
  return (V = r.board) != null && V.data ? (ee = r.board) == null ? void 0 : ee.data.dataId : (Me = r.board) != null && Me.tableData ? r.board.tableData.dataId : null;
9780
- }), m = R([]), j = R({}), x = Q(() => {
9786
+ }), y = R([]), j = R({}), x = Q(() => {
9781
9787
  var V;
9782
9788
  return (V = r.board) == null ? void 0 : V.header;
9783
9789
  }), $ = R({}), v = R({});
@@ -9815,7 +9821,7 @@ const Bl = /* @__PURE__ */ ne({
9815
9821
  }
9816
9822
  if (!eu(r.viewName))
9817
9823
  if (eu(D.value))
9818
- s.value === "table" ? (Me = (ee = r.board) == null ? void 0 : ee.tableData) != null && Me.data && (m.value = r.board.tableData.data) : s.value === "form" && (Ge = (we = r.board) == null ? void 0 : we.data) != null && Ge.data && (j.value = r.board.data.data);
9824
+ s.value === "table" ? (Me = (ee = r.board) == null ? void 0 : ee.tableData) != null && Me.data && (y.value = r.board.tableData.data) : s.value === "form" && (Ge = (we = r.board) == null ? void 0 : we.data) != null && Ge.data && (j.value = r.board.data.data);
9819
9825
  else {
9820
9826
  const ae = await rt({
9821
9827
  dataId: D.value,
@@ -9827,7 +9833,7 @@ const Bl = /* @__PURE__ */ ne({
9827
9833
  page: ae.data.page,
9828
9834
  pageCount: ae.data.pageCount,
9829
9835
  totalCount: ae.data.totalCount
9830
- }, m.value = (V = ae.data) == null ? void 0 : V.data), s.value == "form" && (j.value = ae.data), i.sendRegisterMessage(D.value));
9836
+ }, y.value = (V = ae.data) == null ? void 0 : V.data), s.value == "form" && (j.value = ae.data), i.sendRegisterMessage(D.value));
9831
9837
  }
9832
9838
  } catch (ae) {
9833
9839
  console.warn("getViewDataApi", ae);
@@ -9866,7 +9872,7 @@ const Bl = /* @__PURE__ */ ne({
9866
9872
  }
9867
9873
  );
9868
9874
  const g = R(!1), F = R(!1), I = R(""), U = R({}), E = R(), S = R();
9869
- async function y(V, ee = {}) {
9875
+ async function m(V, ee = {}) {
9870
9876
  if ((V ?? "") != "") {
9871
9877
  ee.viewName = V;
9872
9878
  const Me = await wn(ee);
@@ -9882,7 +9888,7 @@ const Bl = /* @__PURE__ */ ne({
9882
9888
  try {
9883
9889
  switch (V.action) {
9884
9890
  case "VIEW_BY_DIALOG": {
9885
- (V.view ?? "") != "" ? (I.value = "view", await y(V.view), U.value = V, l.initPropsSource({ ...ee, ...r.serverProps }), await O(!0), F.value = !0) : (V.link ?? "") != "" && (I.value = "iframe", U.value = V, l.initPropsSource(ee), E.value = {}, S.value = (Me = V.props) == null ? void 0 : Me.map((ae) => ae.keyName), await O(!0), F.value = !0);
9891
+ (V.view ?? "") != "" ? (I.value = "view", await m(V.view), U.value = V, l.initPropsSource({ ...ee, ...r.serverProps }), await O(!0), F.value = !0) : (V.link ?? "") != "" && (I.value = "iframe", U.value = V, l.initPropsSource(ee), E.value = {}, S.value = (Me = V.props) == null ? void 0 : Me.map((ae) => ae.keyName), await O(!0), F.value = !0);
9886
9892
  break;
9887
9893
  }
9888
9894
  case "VIEW": {
@@ -10229,7 +10235,7 @@ const Bl = /* @__PURE__ */ ne({
10229
10235
  board: V.board,
10230
10236
  tableColumns: te.value,
10231
10237
  displayColumns: Se.value,
10232
- tableData: m.value,
10238
+ tableData: y.value,
10233
10239
  paginationProps: w.value,
10234
10240
  headerFilterProps: v.value,
10235
10241
  onTableButtonAction: L,
@@ -10311,9 +10317,9 @@ const xt = We(Bl), na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
10311
10317
  const { viewName: f, ..._ } = e.query;
10312
10318
  return _;
10313
10319
  }
10314
- }), m = R(), j = Q(() => {
10320
+ }), y = R(), j = Q(() => {
10315
10321
  var f;
10316
- return ((f = m.value) == null ? void 0 : f.viewName) ?? "";
10322
+ return ((f = y.value) == null ? void 0 : f.viewName) ?? "";
10317
10323
  });
10318
10324
  je(
10319
10325
  () => s.value,
@@ -10338,7 +10344,7 @@ const xt = We(Bl), na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
10338
10344
  try {
10339
10345
  const P = await wn(h);
10340
10346
  if (P.state === 200 && P.data) {
10341
- m.value = P.data, l.value = (z = P.data) == null ? void 0 : z.title;
10347
+ y.value = P.data, l.value = (z = P.data) == null ? void 0 : z.title;
10342
10348
  const g = decodeURIComponent(e.fullPath);
10343
10349
  n.appendTabMenuItem({
10344
10350
  title: l.value,
@@ -10352,7 +10358,7 @@ const xt = We(Bl), na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
10352
10358
  }
10353
10359
  const v = Q(() => o.isGlobalLoaded), p = Q(() => {
10354
10360
  var f;
10355
- return ((f = m.value) == null ? void 0 : f.boards.map((_) => _.boardType)) ?? [];
10361
+ return ((f = y.value) == null ? void 0 : f.boards.map((_) => _.boardType)) ?? [];
10356
10362
  }), w = Q(() => {
10357
10363
  var f;
10358
10364
  return {
@@ -10361,17 +10367,17 @@ const xt = We(Bl), na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
10361
10367
  } : {}
10362
10368
  };
10363
10369
  });
10364
- return tu(Cn, l), (f, _) => (T(), b(A(Io), ye({ key: l.value }, w.value), {
10370
+ return tu(Cn, l), (f, _) => (T(), b(A(Io), me({ key: l.value }, w.value), {
10365
10371
  default: k(() => {
10366
10372
  var d;
10367
10373
  return [
10368
- v.value ? (T(!0), H(Ne, { key: 0 }, pe((d = m.value) == null ? void 0 : d.boards, (h) => {
10374
+ v.value ? (T(!0), H(Ne, { key: 0 }, pe((d = y.value) == null ? void 0 : d.boards, (h) => {
10369
10375
  var N, z;
10370
10376
  return T(), b(A(xt), {
10371
- key: `${(N = m.value) == null ? void 0 : N.viewName}_${h.boardType}`,
10377
+ key: `${(N = y.value) == null ? void 0 : N.viewName}_${h.boardType}`,
10372
10378
  board: h,
10373
10379
  viewName: j.value,
10374
- viewProps: (z = m.value) == null ? void 0 : z.props
10380
+ viewProps: (z = y.value) == null ? void 0 : z.props
10375
10381
  }, null, 8, ["board", "viewName", "viewProps"]);
10376
10382
  }), 128)) : q("", !0)
10377
10383
  ];
@@ -10385,7 +10391,7 @@ const xt = We(Bl), na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
10385
10391
  * (c) 2025 tdesign
10386
10392
  * @license MIT
10387
10393
  */
10388
- var yu = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10394
+ var mu = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10389
10395
  /**
10390
10396
  * tdesign v1.11.5
10391
10397
  * (c) 2025 tdesign
@@ -10395,7 +10401,7 @@ var Fl = { exports: {} };
10395
10401
  (function(t, u) {
10396
10402
  (function(e, o) {
10397
10403
  t.exports = o();
10398
- })(yu, function() {
10404
+ })(mu, function() {
10399
10405
  return {
10400
10406
  name: "en",
10401
10407
  weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
@@ -10681,29 +10687,29 @@ var Lu = { exports: {} };
10681
10687
  (function(t, u) {
10682
10688
  (function(e, o) {
10683
10689
  t.exports = o();
10684
- })(yu, function() {
10685
- var e = 1e3, o = 6e4, n = 36e5, a = "millisecond", i = "second", l = "minute", r = "hour", c = "day", M = "week", s = "month", D = "quarter", m = "year", j = "date", x = "Invalid Date", $ = /^(\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, p = {
10690
+ })(mu, function() {
10691
+ var e = 1e3, o = 6e4, n = 36e5, a = "millisecond", i = "second", l = "minute", r = "hour", c = "day", M = "week", s = "month", D = "quarter", y = "year", j = "date", x = "Invalid Date", $ = /^(\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, p = {
10686
10692
  name: "en",
10687
10693
  weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
10688
10694
  months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
10689
10695
  ordinal: function(E) {
10690
- var S = ["th", "st", "nd", "rd"], y = E % 100;
10691
- return "[" + E + (S[(y - 20) % 10] || S[y] || S[0]) + "]";
10696
+ var S = ["th", "st", "nd", "rd"], m = E % 100;
10697
+ return "[" + E + (S[(m - 20) % 10] || S[m] || S[0]) + "]";
10692
10698
  }
10693
- }, w = function(E, S, y) {
10699
+ }, w = function(E, S, m) {
10694
10700
  var O = String(E);
10695
- return !O || O.length >= S ? E : "" + Array(S + 1 - O.length).join(y) + E;
10701
+ return !O || O.length >= S ? E : "" + Array(S + 1 - O.length).join(m) + E;
10696
10702
  }, f = {
10697
10703
  s: w,
10698
10704
  z: function(E) {
10699
- var S = -E.utcOffset(), y = Math.abs(S), O = Math.floor(y / 60), C = y % 60;
10705
+ var S = -E.utcOffset(), m = Math.abs(S), O = Math.floor(m / 60), C = m % 60;
10700
10706
  return (S <= 0 ? "+" : "-") + w(O, 2, "0") + ":" + w(C, 2, "0");
10701
10707
  },
10702
10708
  m: function U(E, S) {
10703
10709
  if (E.date() < S.date())
10704
10710
  return -U(S, E);
10705
- var y = 12 * (S.year() - E.year()) + (S.month() - E.month()), O = E.clone().add(y, s), C = S - O < 0, L = E.clone().add(y + (C ? -1 : 1), s);
10706
- return +(-(y + (S - O) / (C ? O - L : L - O)) || 0);
10711
+ var m = 12 * (S.year() - E.year()) + (S.month() - E.month()), O = E.clone().add(m, s), C = S - O < 0, L = E.clone().add(m + (C ? -1 : 1), s);
10712
+ return +(-(m + (S - O) / (C ? O - L : L - O)) || 0);
10707
10713
  },
10708
10714
  a: function(E) {
10709
10715
  return E < 0 ? Math.ceil(E) || 0 : Math.floor(E);
@@ -10711,7 +10717,7 @@ var Lu = { exports: {} };
10711
10717
  p: function(E) {
10712
10718
  return {
10713
10719
  M: s,
10714
- y: m,
10720
+ y,
10715
10721
  w: M,
10716
10722
  d: c,
10717
10723
  D: j,
@@ -10729,7 +10735,7 @@ var Lu = { exports: {} };
10729
10735
  d[_] = p;
10730
10736
  var h = "$isDayjsObject", N = function(E) {
10731
10737
  return E instanceof F || !(!E || !E[h]);
10732
- }, z = function U(E, S, y) {
10738
+ }, z = function U(E, S, m) {
10733
10739
  var O;
10734
10740
  if (!E)
10735
10741
  return _;
@@ -10743,12 +10749,12 @@ var Lu = { exports: {} };
10743
10749
  var Y = E.name;
10744
10750
  d[Y] = E, O = Y;
10745
10751
  }
10746
- return !y && O && (_ = O), O || !y && _;
10752
+ return !m && O && (_ = O), O || !m && _;
10747
10753
  }, P = function(E, S) {
10748
10754
  if (N(E))
10749
10755
  return E.clone();
10750
- var y = cu(S) == "object" ? S : {};
10751
- return y.date = E, y.args = arguments, new F(y);
10756
+ var m = cu(S) == "object" ? S : {};
10757
+ return m.date = E, m.args = arguments, new F(m);
10752
10758
  }, g = f;
10753
10759
  g.l = z, g.i = N, g.w = function(U, E) {
10754
10760
  return P(U, {
@@ -10764,8 +10770,8 @@ var Lu = { exports: {} };
10764
10770
  }
10765
10771
  var E = U.prototype;
10766
10772
  return E.parse = function(S) {
10767
- this.$d = function(y) {
10768
- var O = y.date, C = y.utc;
10773
+ this.$d = function(m) {
10774
+ var O = m.date, C = m.utc;
10769
10775
  if (O === null)
10770
10776
  return /* @__PURE__ */ new Date(NaN);
10771
10777
  if (g.u(O))
@@ -10788,28 +10794,28 @@ var Lu = { exports: {} };
10788
10794
  return g;
10789
10795
  }, E.isValid = function() {
10790
10796
  return this.$d.toString() !== x;
10791
- }, E.isSame = function(S, y) {
10797
+ }, E.isSame = function(S, m) {
10792
10798
  var O = P(S);
10793
- return this.startOf(y) <= O && O <= this.endOf(y);
10794
- }, E.isAfter = function(S, y) {
10795
- return P(S) < this.startOf(y);
10796
- }, E.isBefore = function(S, y) {
10797
- return this.endOf(y) < P(S);
10798
- }, E.$g = function(S, y, O) {
10799
- return g.u(S) ? this[y] : this.set(O, S);
10799
+ return this.startOf(m) <= O && O <= this.endOf(m);
10800
+ }, E.isAfter = function(S, m) {
10801
+ return P(S) < this.startOf(m);
10802
+ }, E.isBefore = function(S, m) {
10803
+ return this.endOf(m) < P(S);
10804
+ }, E.$g = function(S, m, O) {
10805
+ return g.u(S) ? this[m] : this.set(O, S);
10800
10806
  }, E.unix = function() {
10801
10807
  return Math.floor(this.valueOf() / 1e3);
10802
10808
  }, E.valueOf = function() {
10803
10809
  return this.$d.getTime();
10804
- }, E.startOf = function(S, y) {
10805
- var O = this, C = !!g.u(y) || y, L = g.p(S), Y = function(Ie, G) {
10810
+ }, E.startOf = function(S, m) {
10811
+ var O = this, C = !!g.u(m) || m, L = g.p(S), Y = function(Ie, G) {
10806
10812
  var te = g.w(O.$u ? Date.UTC(O.$y, G, Ie) : new Date(O.$y, G, Ie), O);
10807
10813
  return C ? te : te.endOf(c);
10808
10814
  }, W = function(Ie, G) {
10809
10815
  return g.w(O.toDate()[Ie].apply(O.toDate("s"), (C ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), O);
10810
10816
  }, J = this.$W, re = this.$M, Ae = this.$D, oe = "set" + (this.$u ? "UTC" : "");
10811
10817
  switch (L) {
10812
- case m:
10818
+ case y:
10813
10819
  return C ? Y(1, 0) : Y(31, 11);
10814
10820
  case s:
10815
10821
  return C ? Y(1, re) : Y(0, re + 1);
@@ -10830,43 +10836,43 @@ var Lu = { exports: {} };
10830
10836
  }
10831
10837
  }, E.endOf = function(S) {
10832
10838
  return this.startOf(S, !1);
10833
- }, E.$set = function(S, y) {
10834
- var O, C = g.p(S), L = "set" + (this.$u ? "UTC" : ""), Y = (O = {}, O[c] = L + "Date", O[j] = L + "Date", O[s] = L + "Month", O[m] = L + "FullYear", O[r] = L + "Hours", O[l] = L + "Minutes", O[i] = L + "Seconds", O[a] = L + "Milliseconds", O)[C], W = C === c ? this.$D + (y - this.$W) : y;
10835
- if (C === s || C === m) {
10839
+ }, E.$set = function(S, m) {
10840
+ var O, C = g.p(S), L = "set" + (this.$u ? "UTC" : ""), Y = (O = {}, O[c] = L + "Date", O[j] = L + "Date", O[s] = L + "Month", O[y] = L + "FullYear", O[r] = L + "Hours", O[l] = L + "Minutes", O[i] = L + "Seconds", O[a] = L + "Milliseconds", O)[C], W = C === c ? this.$D + (m - this.$W) : m;
10841
+ if (C === s || C === y) {
10836
10842
  var J = this.clone().set(j, 1);
10837
10843
  J.$d[Y](W), J.init(), this.$d = J.set(j, Math.min(this.$D, J.daysInMonth())).$d;
10838
10844
  } else
10839
10845
  Y && this.$d[Y](W);
10840
10846
  return this.init(), this;
10841
- }, E.set = function(S, y) {
10842
- return this.clone().$set(S, y);
10847
+ }, E.set = function(S, m) {
10848
+ return this.clone().$set(S, m);
10843
10849
  }, E.get = function(S) {
10844
10850
  return this[g.p(S)]();
10845
- }, E.add = function(S, y) {
10851
+ }, E.add = function(S, m) {
10846
10852
  var O, C = this;
10847
10853
  S = Number(S);
10848
- var L = g.p(y), Y = function(Ae) {
10854
+ var L = g.p(m), Y = function(Ae) {
10849
10855
  var oe = P(C);
10850
10856
  return g.w(oe.date(oe.date() + Math.round(Ae * S)), C);
10851
10857
  };
10852
10858
  if (L === s)
10853
10859
  return this.set(s, this.$M + S);
10854
- if (L === m)
10855
- return this.set(m, this.$y + S);
10860
+ if (L === y)
10861
+ return this.set(y, this.$y + S);
10856
10862
  if (L === c)
10857
10863
  return Y(1);
10858
10864
  if (L === M)
10859
10865
  return Y(7);
10860
10866
  var W = (O = {}, O[l] = o, O[r] = n, O[i] = e, O)[L] || 1, J = this.$d.getTime() + S * W;
10861
10867
  return g.w(J, this);
10862
- }, E.subtract = function(S, y) {
10863
- return this.add(-1 * S, y);
10868
+ }, E.subtract = function(S, m) {
10869
+ return this.add(-1 * S, m);
10864
10870
  }, E.format = function(S) {
10865
- var y = this, O = this.$locale();
10871
+ var m = this, O = this.$locale();
10866
10872
  if (!this.isValid())
10867
10873
  return O.invalidDate || x;
10868
10874
  var C = S || "YYYY-MM-DDTHH:mm:ssZ", L = g.z(this), Y = this.$H, W = this.$m, J = this.$M, re = O.weekdays, Ae = O.months, oe = O.meridiem, se = function(G, te, ce, de) {
10869
- return G && (G[te] || G(y, C)) || ce[te].slice(0, de);
10875
+ return G && (G[te] || G(m, C)) || ce[te].slice(0, de);
10870
10876
  }, Se = function(G) {
10871
10877
  return g.s(Y % 12 || 12, G, "0");
10872
10878
  }, Ye = oe || function(Ie, G, te) {
@@ -10877,9 +10883,9 @@ var Lu = { exports: {} };
10877
10883
  return G || function(te) {
10878
10884
  switch (te) {
10879
10885
  case "YY":
10880
- return String(y.$y).slice(-2);
10886
+ return String(m.$y).slice(-2);
10881
10887
  case "YYYY":
10882
- return g.s(y.$y, 4, "0");
10888
+ return g.s(m.$y, 4, "0");
10883
10889
  case "M":
10884
10890
  return J + 1;
10885
10891
  case "MM":
@@ -10889,17 +10895,17 @@ var Lu = { exports: {} };
10889
10895
  case "MMMM":
10890
10896
  return se(Ae, J);
10891
10897
  case "D":
10892
- return y.$D;
10898
+ return m.$D;
10893
10899
  case "DD":
10894
- return g.s(y.$D, 2, "0");
10900
+ return g.s(m.$D, 2, "0");
10895
10901
  case "d":
10896
- return String(y.$W);
10902
+ return String(m.$W);
10897
10903
  case "dd":
10898
- return se(O.weekdaysMin, y.$W, re, 2);
10904
+ return se(O.weekdaysMin, m.$W, re, 2);
10899
10905
  case "ddd":
10900
- return se(O.weekdaysShort, y.$W, re, 3);
10906
+ return se(O.weekdaysShort, m.$W, re, 3);
10901
10907
  case "dddd":
10902
- return re[y.$W];
10908
+ return re[m.$W];
10903
10909
  case "H":
10904
10910
  return String(Y);
10905
10911
  case "HH":
@@ -10917,11 +10923,11 @@ var Lu = { exports: {} };
10917
10923
  case "mm":
10918
10924
  return g.s(W, 2, "0");
10919
10925
  case "s":
10920
- return String(y.$s);
10926
+ return String(m.$s);
10921
10927
  case "ss":
10922
- return g.s(y.$s, 2, "0");
10928
+ return g.s(m.$s, 2, "0");
10923
10929
  case "SSS":
10924
- return g.s(y.$ms, 3, "0");
10930
+ return g.s(m.$ms, 3, "0");
10925
10931
  case "Z":
10926
10932
  return L;
10927
10933
  }
@@ -10930,12 +10936,12 @@ var Lu = { exports: {} };
10930
10936
  });
10931
10937
  }, E.utcOffset = function() {
10932
10938
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
10933
- }, E.diff = function(S, y, O) {
10934
- var C, L = this, Y = g.p(y), W = P(S), J = (W.utcOffset() - this.utcOffset()) * o, re = this - W, Ae = function() {
10939
+ }, E.diff = function(S, m, O) {
10940
+ var C, L = this, Y = g.p(m), W = P(S), J = (W.utcOffset() - this.utcOffset()) * o, re = this - W, Ae = function() {
10935
10941
  return g.m(L, W);
10936
10942
  };
10937
10943
  switch (Y) {
10938
- case m:
10944
+ case y:
10939
10945
  C = Ae() / 12;
10940
10946
  break;
10941
10947
  case s:
@@ -10967,10 +10973,10 @@ var Lu = { exports: {} };
10967
10973
  return this.endOf(s).$D;
10968
10974
  }, E.$locale = function() {
10969
10975
  return d[this.$L];
10970
- }, E.locale = function(S, y) {
10976
+ }, E.locale = function(S, m) {
10971
10977
  if (!S)
10972
10978
  return this.$L;
10973
- var O = this.clone(), C = z(S, y, !0);
10979
+ var O = this.clone(), C = z(S, m, !0);
10974
10980
  return C && (O.$L = C), O;
10975
10981
  }, E.clone = function() {
10976
10982
  return g.w(this.$d, this);
@@ -10984,7 +10990,7 @@ var Lu = { exports: {} };
10984
10990
  return this.$d.toUTCString();
10985
10991
  }, U;
10986
10992
  }(), I = F.prototype;
10987
- return P.prototype = I, [["$ms", a], ["$s", i], ["$m", l], ["$H", r], ["$W", c], ["$M", s], ["$y", m], ["$D", j]].forEach(function(U) {
10993
+ return P.prototype = I, [["$ms", a], ["$s", i], ["$m", l], ["$H", r], ["$W", c], ["$M", s], ["$y", y], ["$D", j]].forEach(function(U) {
10988
10994
  I[U[1]] = function(E) {
10989
10995
  return this.$g(E, U[0], U[1]);
10990
10996
  };
@@ -11004,7 +11010,7 @@ var Pl = { exports: {} };
11004
11010
  (function(t, u) {
11005
11011
  (function(e, o) {
11006
11012
  t.exports = o(Lu.exports);
11007
- })(yu, function(e) {
11013
+ })(mu, function(e) {
11008
11014
  function o(i) {
11009
11015
  return i && cu(i) == "object" && "default" in i ? i : {
11010
11016
  default: i
@@ -11318,7 +11324,7 @@ var Vl = { exports: {} };
11318
11324
  (function(t, u) {
11319
11325
  (function(e, o) {
11320
11326
  t.exports = o(Lu.exports);
11321
- })(yu, function(e) {
11327
+ })(mu, function(e) {
11322
11328
  function o(i) {
11323
11329
  return i && cu(i) == "object" && "default" in i ? i : {
11324
11330
  default: i
@@ -11630,7 +11636,7 @@ var Wl = { exports: {} };
11630
11636
  (function(t, u) {
11631
11637
  (function(e, o) {
11632
11638
  t.exports = o(Lu.exports);
11633
- })(yu, function(e) {
11639
+ })(mu, function(e) {
11634
11640
  function o(i) {
11635
11641
  return i && cu(i) == "object" && "default" in i ? i : {
11636
11642
  default: i
@@ -11941,7 +11947,7 @@ var Gl = { exports: {} };
11941
11947
  (function(t, u) {
11942
11948
  (function(e, o) {
11943
11949
  t.exports = o(Lu.exports);
11944
- })(yu, function(e) {
11950
+ })(mu, function(e) {
11945
11951
  function o(i) {
11946
11952
  return i && cu(i) == "object" && "default" in i ? i : {
11947
11953
  default: i
@@ -12252,7 +12258,7 @@ var Kl = { exports: {} };
12252
12258
  (function(t, u) {
12253
12259
  (function(e, o) {
12254
12260
  t.exports = o(Lu.exports);
12255
- })(yu, function(e) {
12261
+ })(mu, function(e) {
12256
12262
  function o(j) {
12257
12263
  return j && cu(j) == "object" && "default" in j ? j : {
12258
12264
  default: j
@@ -12277,7 +12283,7 @@ var Kl = { exports: {} };
12277
12283
  return c.test($) ? l[x.month()] : r[x.month()];
12278
12284
  };
12279
12285
  D.s = r, D.f = l;
12280
- var m = {
12286
+ var y = {
12281
12287
  name: "ru",
12282
12288
  weekdays: "воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),
12283
12289
  weekdaysShort: "вск_пнд_втр_срд_чтв_птн_сбт".split("_"),
@@ -12316,7 +12322,7 @@ var Kl = { exports: {} };
12316
12322
  return x < 4 ? "ночи" : x < 12 ? "утра" : x < 17 ? "дня" : "вечера";
12317
12323
  }
12318
12324
  };
12319
- return n.default.locale(m, null, !0), m;
12325
+ return n.default.locale(y, null, !0), y;
12320
12326
  });
12321
12327
  })(Kl);
12322
12328
  var ql = {
@@ -12580,7 +12586,7 @@ var Jl = { exports: {} };
12580
12586
  (function(t, u) {
12581
12587
  (function(e, o) {
12582
12588
  t.exports = o(Lu.exports);
12583
- })(yu, function(e) {
12589
+ })(mu, function(e) {
12584
12590
  function o(i) {
12585
12591
  return i && cu(i) == "object" && "default" in i ? i : {
12586
12592
  default: i
@@ -12885,7 +12891,7 @@ var er = { exports: {} };
12885
12891
  (function(t, u) {
12886
12892
  (function(e, o) {
12887
12893
  t.exports = o(Lu.exports);
12888
- })(yu, function(e) {
12894
+ })(mu, function(e) {
12889
12895
  function o(c) {
12890
12896
  return c && cu(c) == "object" && "default" in c ? c : {
12891
12897
  default: c
@@ -13296,7 +13302,7 @@ const tr = { class: "gConfigProvider" }, or = /* @__PURE__ */ ne({
13296
13302
  LocaleConfigRef: n,
13297
13303
  DateLocaleConfigRef: a,
13298
13304
  SideMenuConfigRef: r
13299
- }), (D, m) => (T(), H("div", tr, [
13305
+ }), (D, y) => (T(), H("div", tr, [
13300
13306
  B(A(Ea), { globalConfig: s.value }, {
13301
13307
  default: k(() => [
13302
13308
  Pe(D.$slots, "default")
@@ -13341,7 +13347,7 @@ function jr(t, u) {
13341
13347
  const Ar = { render: jr }, Ir = {
13342
13348
  class: "result-container",
13343
13349
  id: "result"
13344
- }, mr = { class: "result-bg-img" }, yr = { class: "result-title" }, Er = { class: "result-tip" }, fr = /* @__PURE__ */ ne({
13350
+ }, yr = { class: "result-bg-img" }, mr = { class: "result-title" }, Er = { class: "result-tip" }, fr = /* @__PURE__ */ ne({
13345
13351
  __name: "Result",
13346
13352
  props: {
13347
13353
  type: {},
@@ -13362,10 +13368,10 @@ const Ar = { render: jr }, Ir = {
13362
13368
  }
13363
13369
  });
13364
13370
  return (o, n) => (T(), H("div", Ir, [
13365
- X("div", mr, [
13371
+ X("div", yr, [
13366
13372
  (T(), b(ln(e.value)))
13367
13373
  ]),
13368
- X("div", yr, ue(o.title), 1),
13374
+ X("div", mr, ue(o.title), 1),
13369
13375
  X("div", Er, ue(o.tip), 1),
13370
13376
  Pe(o.$slots, "default", {}, void 0, !0)
13371
13377
  ]));
@@ -13458,7 +13464,7 @@ const aa = /* @__PURE__ */ au(fr, [["__scopeId", "data-v-75fdffa5"]]), vM = /* @
13458
13464
  t.directive(u, on[u]);
13459
13465
  });
13460
13466
  }
13461
- }, xr = "@gonsin/gview", zr = "2.1.14", Lr = "dist/index.mjs", hr = "dist/types/index.d.ts", Or = [
13467
+ }, xr = "@gonsin/gview", zr = "2.1.15", Lr = "dist/index.mjs", hr = "dist/types/index.d.ts", Or = [
13462
13468
  "dist",
13463
13469
  "README.md",
13464
13470
  "CHANGELOG.md"
@@ -13724,7 +13730,7 @@ export {
13724
13730
  kM as PROJECT_PREFIX,
13725
13731
  En as RequestHttp,
13726
13732
  Mt as SESSION_FORM_DATA_CACHE,
13727
- mn as StorageUtils,
13733
+ yn as StorageUtils,
13728
13734
  Yo as TOKEN_EXPIRED_TIME,
13729
13735
  bo as TOKEN_NAME,
13730
13736
  gi as WS_INTERVAL_TIMEOUT,
@@ -13745,11 +13751,11 @@ export {
13745
13751
  ao as evalContext,
13746
13752
  ci as filterTreeValues,
13747
13753
  CM as flattenMenuData,
13748
- mi as formClass,
13754
+ yi as formClass,
13749
13755
  Po as formItemClass,
13750
13756
  Ou as gLoginClass,
13751
13757
  no as generateMenuTree,
13752
- yn as getBrandColor,
13758
+ mn as getBrandColor,
13753
13759
  si as getFileNameFromContentDisposition,
13754
13760
  In as getHomeUrl,
13755
13761
  hu as getUrlQuery,
@@ -13762,15 +13768,15 @@ export {
13762
13768
  ai as initTableColumns,
13763
13769
  ii as initTableDisplayColumns,
13764
13770
  fn as initTreeSelectorData,
13765
- mu as is,
13771
+ yu as is,
13766
13772
  zu as isArray,
13767
13773
  AM as isAsyncFunction,
13768
13774
  Ha as isBoolean,
13769
- mM as isClient,
13775
+ yM as isClient,
13770
13776
  TM as isDate,
13771
13777
  Ra as isDef,
13772
13778
  EM as isElement,
13773
- yt as isFormVoid,
13779
+ mt as isFormVoid,
13774
13780
  vu as isFunction,
13775
13781
  eu as isNull,
13776
13782
  pM as isNullAndUnDef,
@@ -13783,7 +13789,7 @@ export {
13783
13789
  fM as isServer,
13784
13790
  IM as isString,
13785
13791
  jn as isUnDef,
13786
- yM as isWindow,
13792
+ mM as isWindow,
13787
13793
  ou as layoutClass,
13788
13794
  Mu as loadSessionId,
13789
13795
  ge as localStorageUtils,
@@ -13791,7 +13797,7 @@ export {
13791
13797
  ju as resolveUrl,
13792
13798
  Cu as sessionStorageUtils,
13793
13799
  bM as setupStore,
13794
- yi as tabClass,
13800
+ mi as tabClass,
13795
13801
  Vu as tableClass,
13796
13802
  Nt as uploaderClass,
13797
13803
  An as urlToPath,