@gonsin/gview 2.0.89 → 2.0.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -3,22 +3,22 @@ var Ka = (n, e, t) => e in n ? Ha(n, e, { enumerable: !0, configurable: !0, writ
3
3
  var zt = (n, e, t) => (Ka(n, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import { useI18n as ke } from "gonsin-i18n";
5
5
  import { useI18n as Bc } from "gonsin-i18n";
6
- import { defineComponent as ue, ref as Y, computed as V, resolveComponent as Q, openBlock as v, createBlock as $, normalizeClass as Z, withCtx as C, createElementBlock as W, Fragment as de, renderList as Se, createVNode as F, createElementVNode as ne, unref as h, createTextVNode as re, toDisplayString as te, createCommentVNode as X, withModifiers as Vt, nextTick as Wa, inject as ze, normalizeStyle as yt, normalizeProps as Lt, mergeProps as Ee, guardReactiveProps as Yt, renderSlot as Ke, onMounted as Ue, onBeforeUnmount as Tt, isRef as Ya, Transition as qa, watch as De, createSlots as qt, useSlots as Ho, resolveDynamicComponent as Qa, TransitionGroup as Xa, toRefs as Za, provide as At, reactive as $n, onBeforeMount as Jt, toRaw as Mn, shallowRef as Ja, defineAsyncComponent as Ko, watchEffect as el } from "vue";
7
- import { useRouter as mt, useRoute as rt, onBeforeRouteLeave as Wo, onBeforeRouteUpdate as Yo } from "vue-router";
6
+ import { defineComponent as ue, ref as Y, computed as V, resolveComponent as Q, openBlock as v, createBlock as $, normalizeClass as Z, withCtx as C, createElementBlock as W, Fragment as de, renderList as Se, createVNode as F, createElementVNode as ne, unref as h, createTextVNode as re, toDisplayString as te, createCommentVNode as X, withModifiers as Vt, nextTick as Wa, inject as ze, normalizeStyle as bt, normalizeProps as Lt, mergeProps as Ee, guardReactiveProps as Yt, renderSlot as Ke, onMounted as Ue, onBeforeUnmount as Tt, isRef as Ya, Transition as qa, watch as De, createSlots as qt, useSlots as Ko, resolveDynamicComponent as Qa, TransitionGroup as Xa, toRefs as Za, provide as At, reactive as $n, onBeforeMount as Jt, toRaw as _n, shallowRef as Ja, defineAsyncComponent as Wo, watchEffect as el } from "vue";
7
+ import { useRouter as ft, useRoute as rt, onBeforeRouteLeave as Yo, onBeforeRouteUpdate as qo } from "vue-router";
8
8
  import { defineStore as Ut, storeToRefs as tl } from "pinia";
9
9
  import ct from "dayjs";
10
10
  import to from "axios";
11
- import { MessagePlugin as he, Button as nl, Progress as qo, Tooltip as St, Link as ol, Tree as al, Card as ll, DialogPlugin as vn, ConfigProvider as rl } from "tdesign-vue-next";
12
- import { get as fe, set as je, cloneDeep as Xe, isPlainObject as po, isArray as ho, isEqual as vo } from "lodash-es";
11
+ import { MessagePlugin as he, Button as nl, Progress as Qo, Tooltip as St, Link as ol, Tree as al, Card as ll, DialogPlugin as vn, ConfigProvider as rl } from "tdesign-vue-next";
12
+ import { get as fe, set as je, cloneDeep as Xe, isPlainObject as ho, isArray as vo, isEqual as go } from "lodash-es";
13
13
  import { customAlphabet as sl } from "nanoid";
14
- import { RefreshIcon as Hn, CloseIcon as xt, ArrowLeftIcon as go, ArrowRightIcon as yo, CloseCircleIcon as bo, MoreIcon as il, DeleteIcon as ul, ViewListIcon as cl, PoweroffIcon as dl, ChevronDownIcon as ml, Icon as wo, AppIcon as vt, UploadIcon as To, CheckCircleFilledIcon as fl, PlayCircleFilledIcon as pl, PauseCircleFilledIcon as hl, LinkIcon as vl, ErrorCircleFilledIcon as gl, FileImageIcon as Qt, FilePdfIcon as Qo, VideoIcon as Kn, FileIconIcon as Wn, FolderOpenIcon as yl, FolderIcon as bl, FilterIcon as wl, SearchIcon as Tl, UserIcon as Bn, BrowseIcon as Cl, ChevronRightIcon as kl, ChevronUpIcon as _l, MoveIcon as Ml } from "tdesign-icons-vue-next";
15
- import { useElementSize as Il, onClickOutside as Co, useEventListener as ko } from "@vueuse/core";
14
+ import { RefreshIcon as Hn, CloseIcon as xt, ArrowLeftIcon as yo, ArrowRightIcon as bo, CloseCircleIcon as wo, MoreIcon as il, DeleteIcon as ul, ViewListIcon as cl, PoweroffIcon as dl, ChevronDownIcon as ml, Icon as To, AppIcon as gt, UploadIcon as Co, CheckCircleFilledIcon as fl, PlayCircleFilledIcon as pl, PauseCircleFilledIcon as hl, LinkIcon as vl, ErrorCircleFilledIcon as gl, FileImageIcon as Qt, FilePdfIcon as Xo, VideoIcon as Kn, FileIconIcon as Wn, FolderOpenIcon as yl, FolderIcon as bl, FilterIcon as wl, SearchIcon as Tl, UserIcon as Bn, BrowseIcon as Cl, ChevronRightIcon as kl, ChevronUpIcon as Ml, MoveIcon as _l } from "tdesign-icons-vue-next";
15
+ import { useElementSize as Il, onClickOutside as ko, useEventListener as Mo } from "@vueuse/core";
16
16
  import gn from "number-precision";
17
- import Xo from "qs";
17
+ import no from "qs";
18
18
  import Ll from "nprogress";
19
19
  import { default as xc } from "nprogress";
20
+ import dt from "mustache";
20
21
  import { Toolbar as Sl, Editor as Dl } from "@wangeditor/editor-for-vue";
21
- import bt from "mustache";
22
22
  import _o from "he";
23
23
  function Ye(n, e, t) {
24
24
  const o = n;
@@ -26,7 +26,7 @@ function Ye(n, e, t) {
26
26
  a.component(e || l || o.name, n), t && a.directive(t.name, t.comp);
27
27
  }, o;
28
28
  }
29
- const nn = "config", Mo = "themeConfig", Nl = "user", Io = "langConfig", cc = "menu", Pn = "initTabMenuList", xn = "tabMenu", on = "sideMenuConfig", Lo = "token", So = "tokenExpiredTime", dc = "dataId", Xt = "sessionId", an = "formDataCache", ln = "columnData", El = {
29
+ const nn = "config", Io = "themeConfig", Nl = "user", Lo = "langConfig", cc = "menu", Pn = "initTabMenuList", xn = "tabMenu", on = "sideMenuConfig", So = "token", Do = "tokenExpiredTime", dc = "dataId", Xt = "sessionId", an = "formDataCache", ln = "columnData", El = {
30
30
  brandTheme: "default",
31
31
  // 主题色
32
32
  displayMode: "light"
@@ -266,7 +266,7 @@ const Be = new ea("session"), et = new ea("local"), mc = [
266
266
  subcmd: n,
267
267
  response: 0
268
268
  }
269
- }, $l = 3e4, Bl = 3e3, yn = "g-dialog-plugin", Pl = "g-common-dialog", rn = "g-common-form", sn = "g-common-header", xl = "g-common-table", Vl = "g-board", hc = "g-dialog", Ol = "g-form", Do = "g-form-item", vc = "g-header", Ul = "g-tab", Pt = "g-table", tt = "g-layout", un = "g-uploader", Mt = "g-login";
269
+ }, $l = 3e4, Bl = 3e3, yn = "g-dialog-plugin", Pl = "g-common-dialog", rn = "g-common-form", sn = "g-common-header", xl = "g-common-table", Vl = "g-board", hc = "g-dialog", Ol = "g-form", No = "g-form-item", vc = "g-header", Ul = "g-tab", Pt = "g-table", tt = "g-layout", un = "g-uploader", _t = "g-login";
270
270
  function Rl(n) {
271
271
  return n.replace(/([A-Z])/g, "_$1").toUpperCase();
272
272
  }
@@ -295,43 +295,43 @@ function Gl(n) {
295
295
  }
296
296
  window.v = Gl;
297
297
  const Hl = Object.prototype.toString;
298
- function ft(n, e) {
298
+ function pt(n, e) {
299
299
  return Hl.call(n) === `[object ${e}]`;
300
300
  }
301
301
  function Dt(n) {
302
- return ft(n, "Function");
302
+ return pt(n, "Function");
303
303
  }
304
- const Kl = (n) => typeof n < "u", oa = (n) => !Kl(n), no = (n) => n !== null && ft(n, "Object");
304
+ const Kl = (n) => typeof n < "u", oa = (n) => !Kl(n), oo = (n) => n !== null && pt(n, "Object");
305
305
  function gc(n) {
306
- return ft(n, "Date");
306
+ return pt(n, "Date");
307
307
  }
308
308
  function yc(n) {
309
- return ft(n, "Number");
309
+ return pt(n, "Number");
310
310
  }
311
311
  function bc(n) {
312
- return ft(n, "AsyncFunction");
312
+ return pt(n, "AsyncFunction");
313
313
  }
314
314
  function Wl(n) {
315
- return ft(n, "Promise") && no(n) && Dt(n.then) && Dt(n.catch);
315
+ return pt(n, "Promise") && oo(n) && Dt(n.then) && Dt(n.catch);
316
316
  }
317
317
  function wc(n) {
318
- return ft(n, "String");
318
+ return pt(n, "String");
319
319
  }
320
320
  function Yl(n) {
321
- return ft(n, "Boolean");
321
+ return pt(n, "Boolean");
322
322
  }
323
323
  function Ct(n) {
324
324
  return n && Array.isArray(n);
325
325
  }
326
- const Tc = () => typeof window < "u", Cc = (n) => typeof window < "u" && ft(n, "Window"), kc = (n) => no(n) && !!n.tagName, _c = typeof window > "u";
327
- function dt(n) {
326
+ const Tc = () => typeof window < "u", Cc = (n) => typeof window < "u" && pt(n, "Window"), kc = (n) => oo(n) && !!n.tagName, Mc = typeof window > "u";
327
+ function mt(n) {
328
328
  return n === null;
329
329
  }
330
- function No(n) {
331
- return oa(n) && dt(n);
330
+ function Eo(n) {
331
+ return oa(n) && mt(n);
332
332
  }
333
333
  function We(n) {
334
- return oa(n) || dt(n);
334
+ return oa(n) || mt(n);
335
335
  }
336
336
  function wn(n) {
337
337
  return We(n) || (n + "").trim() == "";
@@ -360,11 +360,11 @@ function ql(n) {
360
360
  ellipsis: { props: { theme: "light", showArrow: !1, placement: "bottom" } },
361
361
  attrs: {
362
362
  style: {
363
- minWidth: `calc(${Eo(
363
+ minWidth: `calc(${Ao(
364
364
  t.weight ?? 1,
365
365
  a.length + 1
366
366
  )} * 100vw - 32px)`,
367
- width: `calc(${Eo(
367
+ width: `calc(${Ao(
368
368
  t.weight ?? 1,
369
369
  a.length + 1
370
370
  )} * 100vw - 32px)`
@@ -394,7 +394,7 @@ function Ql(n) {
394
394
  title: e.name
395
395
  })) : [];
396
396
  }
397
- function Eo(n, e) {
397
+ function Ao(n, e) {
398
398
  return n / e;
399
399
  }
400
400
  function Xl(n, e) {
@@ -426,7 +426,7 @@ function Zl(n) {
426
426
  return n.startsWith("/files") || n.startsWith("/temp") || n.startsWith("/lang");
427
427
  }
428
428
  const { T: cn } = ke();
429
- function Ao(n, e = "", t = "file") {
429
+ function Fo(n, e = "", t = "file") {
430
430
  if (n == "") {
431
431
  he.info(`${cn.t("未设置下载链接")}`);
432
432
  return;
@@ -528,11 +528,11 @@ function la(n, e, t = []) {
528
528
  if (!t.includes(a))
529
529
  if (!(a in e))
530
530
  je(o, a, n[a]);
531
- else if (po(n[a]) && po(e[a])) {
531
+ else if (ho(n[a]) && ho(e[a])) {
532
532
  const l = la(n[a], e[a]);
533
533
  Object.keys(l).length > 0 && je(o, a, l);
534
534
  } else
535
- ho(n[a]) || ho(e[a]) ? vo(n[a], e[a]) || je(o, a, n[a]) : vo(n[a], e[a]) || je(o, a, n[a]);
535
+ vo(n[a]) || vo(e[a]) ? go(n[a], e[a]) || je(o, a, n[a]) : go(n[a], e[a]) || je(o, a, n[a]);
536
536
  for (let a in e)
537
537
  t.includes(a) || a in n || je(o, a, e[a]);
538
538
  return o;
@@ -575,7 +575,7 @@ function nr() {
575
575
  function dn(n, e) {
576
576
  return e ? n.indexOf("?") > -1 ? n += "&sessionId=" + e : n += "?sessionId=" + e : n;
577
577
  }
578
- const Mc = {
578
+ const _c = {
579
579
  ...ra
580
580
  };
581
581
  class or {
@@ -590,7 +590,9 @@ class or {
590
590
  const a = o.token ?? "", l = o.userLang ?? "zh-CN";
591
591
  return t.headers = {
592
592
  ...t == null ? void 0 : t.headers,
593
- ...a ? { token: a } : {},
593
+ Authorization: !0,
594
+ "Operation-Log-Require": !0,
595
+ ...a !== "" ? { token: a } : {},
594
596
  lang: l
595
597
  }, {
596
598
  ...t
@@ -710,7 +712,7 @@ const Ze = new or(ra), sa = Ut("column", {
710
712
  // 设置面板是否显示
711
713
  isSettingPanelShow: !1,
712
714
  // 主题配置
713
- themeConfig: et.getItem(Mo) || {
715
+ themeConfig: et.getItem(Io) || {
714
716
  ...El
715
717
  },
716
718
  // 侧边菜单配置
@@ -729,10 +731,10 @@ const Ze = new or(ra), sa = Ut("column", {
729
731
  logoUrl: ""
730
732
  },
731
733
  // 用户语言
732
- userLang: et.getItem(Io) ?? "zh-CN",
734
+ userLang: et.getItem(Lo) ?? "zh-CN",
733
735
  // 用户token
734
- token: Be.getItem(Lo) || "",
735
- tokenExpiredTime: Be.getItem(So) || 0,
736
+ token: Be.getItem(So) || "",
737
+ tokenExpiredTime: Be.getItem(Do) || 0,
736
738
  isTokenRefreshing: !1
737
739
  }),
738
740
  getters: {
@@ -784,14 +786,14 @@ const Ze = new or(ra), sa = Ut("column", {
784
786
  async initUserLang(n) {
785
787
  if (n)
786
788
  try {
787
- this.userLang = n, et.setItem(Io, n);
789
+ this.userLang = n, et.setItem(Lo, n);
788
790
  const { setupI18n: e } = ke();
789
791
  await e(n);
790
792
  } catch {
791
793
  }
792
794
  },
793
795
  setUserToken(n, e) {
794
- this.token = n, this.tokenExpiredTime = e, Be.setItem(Lo, this.token), Be.setItem(So, this.tokenExpiredTime);
796
+ this.token = n, this.tokenExpiredTime = e, Be.setItem(So, this.token), Be.setItem(Do, this.tokenExpiredTime);
795
797
  },
796
798
  initUserToken(n) {
797
799
  const e = +ct().add(24, "hours");
@@ -855,7 +857,7 @@ const Ze = new or(ra), sa = Ut("column", {
855
857
  * @description 更改主题
856
858
  */
857
859
  changeTheme(n) {
858
- this.changeMode(n), this.changeBrandTheme(n), et.setItem(Mo, n), this.themeConfig = { ...n };
860
+ this.changeMode(n), this.changeBrandTheme(n), et.setItem(Io, n), this.themeConfig = { ...n };
859
861
  },
860
862
  /**
861
863
  * @description 更改颜色模式
@@ -1058,7 +1060,7 @@ const Ze = new or(ra), sa = Ut("column", {
1058
1060
  n && Ln().removeFormData(n);
1059
1061
  }
1060
1062
  }
1061
- }), oo = Ut("socket", {
1063
+ }), ao = Ut("socket", {
1062
1064
  state: () => ({
1063
1065
  socket: null,
1064
1066
  socketInterval: void 0,
@@ -1106,15 +1108,15 @@ const Ze = new or(ra), sa = Ut("column", {
1106
1108
  sendRegisterMessage(n) {
1107
1109
  const t = Ve().userEdificeKey ?? "";
1108
1110
  let o = Vn("register", n, t);
1109
- No(this.socket) || this.socket.send(JSON.stringify(o));
1111
+ Eo(this.socket) || this.socket.send(JSON.stringify(o));
1110
1112
  },
1111
1113
  sendUnregisterMessage(n) {
1112
1114
  const t = Ve().userEdificeKey ?? "";
1113
1115
  let o = Vn("unregister", n, t);
1114
- No(this.socket) || this.socket.send(JSON.stringify(o));
1116
+ Eo(this.socket) || this.socket.send(JSON.stringify(o));
1115
1117
  }
1116
1118
  }
1117
- }), ao = Ut("props", {
1119
+ }), lo = Ut("props", {
1118
1120
  state: () => ({
1119
1121
  propsSource: {}
1120
1122
  }),
@@ -1132,17 +1134,17 @@ const Ze = new or(ra), sa = Ut("column", {
1132
1134
  }), ar = ["title"], lr = ["title"], rr = ["onClick"], sr = ["title"], ir = ["title"], ur = ["onClick"], cr = ["title"], dr = ["title"], mr = ["title"], fr = ["title"], pr = ["title"], hr = ["title"], vr = /* @__PURE__ */ ue({
1133
1135
  __name: "GLayoutHeaderTab",
1134
1136
  setup(n) {
1135
- const { T: e } = ke(), t = `${tt}__layoutHeaderTab`, o = mt(), a = rt(), l = Y(""), r = kt(), u = Ve(), i = V(() => r.tabMenuList), d = V(() => u.homeUrl), s = V(() => u.displayMode);
1136
- function c(k, x, S) {
1137
- x.trigger === "document" && (l.value = null), k && (l.value = S);
1137
+ const { T: e } = ke(), t = `${tt}__layoutHeaderTab`, o = ft(), a = rt(), l = Y(""), r = kt(), u = Ve(), i = V(() => r.tabMenuList), d = V(() => u.homeUrl), s = V(() => u.displayMode);
1138
+ function c(k, x, D) {
1139
+ x.trigger === "document" && (l.value = null), k && (l.value = D);
1138
1140
  }
1139
1141
  function f(k) {
1140
1142
  k === "/HomePage" ? o.push({ path: d.value, query: Kt(d.value) }) : o.push({ path: k, query: Kt(k) });
1141
1143
  }
1142
1144
  function p({ value: k, index: x }) {
1143
- const { tabMenuList: S } = r;
1144
- if (S.length > 1) {
1145
- const A = S[x + 1] || S[x - 1];
1145
+ const { tabMenuList: D } = r;
1146
+ if (D.length > 1) {
1147
+ const A = D[x + 1] || D[x - 1];
1146
1148
  r.subtractCurrentTabMenuItem({ path: k, itemIdx: x });
1147
1149
  const T = decodeURIComponent(a.fullPath);
1148
1150
  k === T && o.push({
@@ -1152,9 +1154,9 @@ const Ze = new or(ra), sa = Ut("column", {
1152
1154
  }
1153
1155
  }
1154
1156
  function y(k, x) {
1155
- const { path: S } = k;
1157
+ const { path: D } = k;
1156
1158
  Wa(() => {
1157
- S === "/HomePage" ? o.push({ path: d.value, query: Kt(d.value) }) : o.push({ path: S, query: Kt(S) });
1159
+ D === "/HomePage" ? o.push({ path: d.value, query: Kt(d.value) }) : o.push({ path: D, query: Kt(D) });
1158
1160
  }), u.toggleGlobalReload(), l.value = null;
1159
1161
  }
1160
1162
  function N(k, x) {
@@ -1166,11 +1168,11 @@ const Ze = new or(ra), sa = Ut("column", {
1166
1168
  function E(k, x) {
1167
1169
  i.value.length > 2 && (r.subtractTabMenuItemOther({ path: k, itemIdx: x }), L("other", x));
1168
1170
  }
1169
- function D() {
1171
+ function S() {
1170
1172
  i.value.length > 2 && (r.subtractTabMenuItemOther({ itemIdx: 0, path: "/" }), L("all", 0));
1171
1173
  }
1172
1174
  function L(k, x) {
1173
- const S = a.fullPath, { tabMenuList: A } = r, T = A.findIndex((g) => g.path === S);
1175
+ const D = a.fullPath, { tabMenuList: A } = r, T = A.findIndex((g) => g.path === D);
1174
1176
  if (k === "other" && T !== x || k === "ahead" && T < x || k === "behind" && T === -1 || k == "all") {
1175
1177
  const g = k !== "all" ? k === "behind" ? A.length - 1 : 1 : 0, b = A[g];
1176
1178
  o.push({
@@ -1180,24 +1182,24 @@ const Ze = new or(ra), sa = Ut("column", {
1180
1182
  }
1181
1183
  l.value = null;
1182
1184
  }
1183
- const M = V(() => decodeURIComponent(a.fullPath)), I = Y(null), { width: m } = Il(I, { width: 1e3, height: 64 }), w = V(() => m.value > 0 ? m.value / 140 : 5), _ = V(
1185
+ const _ = V(() => decodeURIComponent(a.fullPath)), I = Y(null), { width: m } = Il(I, { width: 1e3, height: 64 }), w = V(() => m.value > 0 ? m.value / 140 : 5), M = V(
1184
1186
  () => w.value > 0 ? i.value.slice(0, w.value) : i.value.slice(0)
1185
1187
  ), U = V(
1186
1188
  () => w.value > 0 ? i.value.slice(w.value) : []
1187
1189
  ), P = V(() => U.value.map((k) => k.path));
1188
1190
  return (k, x) => {
1189
- const S = Q("t-menu-item"), A = Q("t-dropdown-item"), T = Q("t-dropdown-menu"), B = Q("t-dropdown"), g = Q("t-divider"), b = Q("t-button"), z = Q("t-submenu"), G = Q("t-head-menu");
1191
+ const D = Q("t-menu-item"), A = Q("t-dropdown-item"), T = Q("t-dropdown-menu"), B = Q("t-dropdown"), g = Q("t-divider"), b = Q("t-button"), z = Q("t-submenu"), G = Q("t-head-menu");
1190
1192
  return v(), $(G, {
1191
1193
  ref_key: "GLayoutHeaderRef",
1192
1194
  ref: I,
1193
1195
  class: Z(`${t}`),
1194
1196
  theme: s.value,
1195
- value: M.value,
1197
+ value: _.value,
1196
1198
  onChange: f,
1197
1199
  "expand-type": "popup"
1198
1200
  }, {
1199
1201
  default: C(() => [
1200
- (v(!0), W(de, null, Se(_.value, (H, ae) => (v(), $(B, {
1202
+ (v(!0), W(de, null, Se(M.value, (H, ae) => (v(), $(B, {
1201
1203
  key: ae,
1202
1204
  trigger: "context-menu",
1203
1205
  "min-column-width": 128,
@@ -1238,7 +1240,7 @@ const Ze = new or(ra), sa = Ut("column", {
1238
1240
  }, {
1239
1241
  default: C(() => [
1240
1242
  ne("span", null, [
1241
- F(h(go)),
1243
+ F(h(yo)),
1242
1244
  re(" " + te(h(e).t("关闭左侧")), 1)
1243
1245
  ])
1244
1246
  ]),
@@ -1250,7 +1252,7 @@ const Ze = new or(ra), sa = Ut("column", {
1250
1252
  }, {
1251
1253
  default: C(() => [
1252
1254
  ne("span", null, [
1253
- F(h(yo)),
1255
+ F(h(bo)),
1254
1256
  re(" " + te(h(e).t("关闭右侧")), 1)
1255
1257
  ])
1256
1258
  ]),
@@ -1262,7 +1264,7 @@ const Ze = new or(ra), sa = Ut("column", {
1262
1264
  }, {
1263
1265
  default: C(() => [
1264
1266
  ne("span", null, [
1265
- F(h(bo)),
1267
+ F(h(wo)),
1266
1268
  re(" " + te(h(e).t("关闭其他")), 1)
1267
1269
  ])
1268
1270
  ]),
@@ -1273,7 +1275,7 @@ const Ze = new or(ra), sa = Ut("column", {
1273
1275
  }, 1024)
1274
1276
  ]),
1275
1277
  default: C(() => [
1276
- F(S, {
1278
+ F(D, {
1277
1279
  value: H.path
1278
1280
  }, {
1279
1281
  default: C(() => [
@@ -1312,7 +1314,7 @@ const Ze = new or(ra), sa = Ut("column", {
1312
1314
  width: "150px"
1313
1315
  }
1314
1316
  },
1315
- value: P.value.includes(M.value) ? M.value : ""
1317
+ value: P.value.includes(_.value) ? _.value : ""
1316
1318
  }, {
1317
1319
  title: C(() => [
1318
1320
  F(h(il))
@@ -1331,7 +1333,7 @@ const Ze = new or(ra), sa = Ut("column", {
1331
1333
  F(T, null, {
1332
1334
  default: C(() => [
1333
1335
  F(A, {
1334
- onClick: () => y(H, _.value.length + ae - 1)
1336
+ onClick: () => y(H, M.value.length + ae - 1)
1335
1337
  }, {
1336
1338
  default: C(() => [
1337
1339
  ne("span", {
@@ -1347,7 +1349,7 @@ const Ze = new or(ra), sa = Ut("column", {
1347
1349
  key: 0,
1348
1350
  onClick: () => p({
1349
1351
  value: H.path,
1350
- index: _.value.length + ae
1352
+ index: M.value.length + ae
1351
1353
  })
1352
1354
  }, {
1353
1355
  default: C(() => [
@@ -1360,52 +1362,52 @@ const Ze = new or(ra), sa = Ut("column", {
1360
1362
  ]),
1361
1363
  _: 2
1362
1364
  }, 1032, ["onClick"])),
1363
- _.value.length + ae > 1 ? (v(), $(A, {
1365
+ M.value.length + ae > 1 ? (v(), $(A, {
1364
1366
  key: 1,
1365
1367
  onClick: () => N(
1366
1368
  H.path,
1367
- _.value.length + ae
1369
+ M.value.length + ae
1368
1370
  )
1369
1371
  }, {
1370
1372
  default: C(() => [
1371
1373
  ne("span", {
1372
1374
  title: h(e).t("关闭左侧")
1373
1375
  }, [
1374
- F(h(go)),
1376
+ F(h(yo)),
1375
1377
  re(" " + te(h(e).t("关闭左侧")), 1)
1376
1378
  ], 8, mr)
1377
1379
  ]),
1378
1380
  _: 2
1379
1381
  }, 1032, ["onClick"])) : X("", !0),
1380
- _.value.length + ae > 0 && ae < i.value.length ? (v(), $(A, {
1382
+ M.value.length + ae > 0 && ae < i.value.length ? (v(), $(A, {
1381
1383
  key: 2,
1382
1384
  onClick: () => j(
1383
1385
  H.path,
1384
- _.value.length + ae
1386
+ M.value.length + ae
1385
1387
  )
1386
1388
  }, {
1387
1389
  default: C(() => [
1388
1390
  ne("span", {
1389
1391
  title: h(e).t("关闭右侧")
1390
1392
  }, [
1391
- F(h(yo)),
1393
+ F(h(bo)),
1392
1394
  re(" " + te(h(e).t("关闭右侧")), 1)
1393
1395
  ], 8, fr)
1394
1396
  ]),
1395
1397
  _: 2
1396
1398
  }, 1032, ["onClick"])) : X("", !0),
1397
- _.value.length + ae > 0 && i.value.length > 2 ? (v(), $(A, {
1399
+ M.value.length + ae > 0 && i.value.length > 2 ? (v(), $(A, {
1398
1400
  key: 3,
1399
1401
  onClick: () => E(
1400
1402
  H.path,
1401
- _.value.length + ae
1403
+ M.value.length + ae
1402
1404
  )
1403
1405
  }, {
1404
1406
  default: C(() => [
1405
1407
  ne("span", {
1406
1408
  title: h(e).t("关闭其他")
1407
1409
  }, [
1408
- F(h(bo)),
1410
+ F(h(wo)),
1409
1411
  re(" " + te(h(e).t("关闭其他")), 1)
1410
1412
  ], 8, pr)
1411
1413
  ]),
@@ -1416,7 +1418,7 @@ const Ze = new or(ra), sa = Ut("column", {
1416
1418
  }, 1024)
1417
1419
  ]),
1418
1420
  default: C(() => [
1419
- F(S, {
1421
+ F(D, {
1420
1422
  value: H.path
1421
1423
  }, {
1422
1424
  default: C(() => [
@@ -1432,7 +1434,7 @@ const Ze = new or(ra), sa = Ut("column", {
1432
1434
  onClick: Vt(
1433
1435
  () => p({
1434
1436
  value: H.path,
1435
- index: _.value.length + ae
1437
+ index: M.value.length + ae
1436
1438
  }),
1437
1439
  ["stop"]
1438
1440
  )
@@ -1450,7 +1452,7 @@ const Ze = new or(ra), sa = Ut("column", {
1450
1452
  variant: "text",
1451
1453
  theme: "danger",
1452
1454
  block: "",
1453
- onClick: x[0] || (x[0] = (H) => D())
1455
+ onClick: x[0] || (x[0] = (H) => S())
1454
1456
  }, {
1455
1457
  default: C(() => [
1456
1458
  ne("span", {
@@ -1496,21 +1498,21 @@ const Cr = { render: Tr }, kr = {
1496
1498
  height: "24",
1497
1499
  fill: "none",
1498
1500
  viewBox: "0 0 48 48"
1499
- }, _r = /* @__PURE__ */ ne("path", {
1501
+ }, Mr = /* @__PURE__ */ ne("path", {
1500
1502
  fill: "currentColor",
1501
1503
  stroke: "currentColor",
1502
1504
  "stroke-linejoin": "round",
1503
1505
  "stroke-width": "4",
1504
1506
  d: "m34 41 10-17L34 7H14L4 24l10 17h20Z"
1505
- }, null, -1), Mr = /* @__PURE__ */ ne("path", {
1507
+ }, null, -1), _r = /* @__PURE__ */ ne("path", {
1506
1508
  fill: "var(--td-bg-color-container)",
1507
1509
  stroke: "var(--td-bg-color-container)",
1508
1510
  "stroke-linejoin": "round",
1509
1511
  "stroke-width": "4",
1510
1512
  d: "M24 29a5 5 0 1 0 0-10 5 5 0 0 0 0 10Z"
1511
1513
  }, null, -1), Ir = [
1512
- _r,
1513
- Mr
1514
+ Mr,
1515
+ _r
1514
1516
  ];
1515
1517
  function Lr(n, e) {
1516
1518
  return v(), W("svg", kr, [...Ir]);
@@ -1518,7 +1520,7 @@ function Lr(n, e) {
1518
1520
  const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
1519
1521
  __name: "GLayoutHeader",
1520
1522
  setup(n) {
1521
- const { T: e } = ke(), t = `${tt}__header`, o = mt(), a = Ve(), l = ze(Qn, null), r = l == null ? void 0 : l.GLayoutHeaderOperationsRef, u = l == null ? void 0 : l.GLayoutHeaderConfigRef, i = l == null ? void 0 : l.SideMenuConfigRef, d = V(() => a.userType), s = V(() => {
1523
+ const { T: e } = ke(), t = `${tt}__header`, o = ft(), a = Ve(), l = ze(Qn, null), r = l == null ? void 0 : l.GLayoutHeaderOperationsRef, u = l == null ? void 0 : l.GLayoutHeaderConfigRef, i = l == null ? void 0 : l.SideMenuConfigRef, d = V(() => a.userType), s = V(() => {
1522
1524
  if ((d.value ?? "") != "")
1523
1525
  switch (d.value) {
1524
1526
  case "normal":
@@ -1536,11 +1538,11 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
1536
1538
  a.toggleSettingPanel();
1537
1539
  }
1538
1540
  const E = kt();
1539
- function D() {
1541
+ function S() {
1540
1542
  o.push({ name: "login" }), a.userLogout(), E.clearTabMenu();
1541
1543
  }
1542
1544
  const L = V(() => a.sideHoverMenuTimer);
1543
- function M() {
1545
+ function _() {
1544
1546
  i != null && i.value.enableHoverMenu && !a.isSideMenuCollapse && (clearTimeout(L.value), a.isSideHoverMenuShow = !0);
1545
1547
  }
1546
1548
  function I() {
@@ -1549,7 +1551,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
1549
1551
  }, 500);
1550
1552
  }
1551
1553
  return (m, w) => {
1552
- const _ = Q("t-button"), U = Q("t-icon"), P = Q("t-badge"), k = Q("t-popup"), x = Q("t-dropdown-item"), S = Q("t-dropdown-menu"), A = Q("t-dropdown"), T = Q("t-head-menu"), B = Q("t-header");
1554
+ const M = Q("t-button"), U = Q("t-icon"), P = Q("t-badge"), k = Q("t-popup"), x = Q("t-dropdown-item"), D = Q("t-dropdown-menu"), A = Q("t-dropdown"), T = Q("t-head-menu"), B = Q("t-header");
1553
1555
  return v(), $(B, {
1554
1556
  class: Z(t),
1555
1557
  onMouseleave: I
@@ -1561,17 +1563,17 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
1561
1563
  return [
1562
1564
  ne("div", {
1563
1565
  class: Z(`${t}--logo`),
1564
- onMouseenter: M
1566
+ onMouseenter: _
1565
1567
  }, [
1566
1568
  ne("div", {
1567
1569
  class: Z(`${t}--logo-image`),
1568
- style: yt(p.value)
1570
+ style: bt(p.value)
1569
1571
  }, null, 6)
1570
1572
  ], 34),
1571
1573
  ne("div", {
1572
1574
  class: Z(`${t}--collapse-button`)
1573
1575
  }, [
1574
- (g = h(i)) != null && g.enableSideMenu ? (v(), $(_, {
1576
+ (g = h(i)) != null && g.enableSideMenu ? (v(), $(M, {
1575
1577
  key: 0,
1576
1578
  theme: "default",
1577
1579
  shape: "square",
@@ -1603,7 +1605,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
1603
1605
  default: C(() => [
1604
1606
  F(P, Lt(Yt(b == null ? void 0 : b.badgeProps)), {
1605
1607
  default: C(() => [
1606
- F(_, Ee({
1608
+ F(M, Ee({
1607
1609
  theme: "default",
1608
1610
  shape: "square",
1609
1611
  variant: "text",
@@ -1618,7 +1620,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
1618
1620
  b != null && b.iconSrc && (b == null ? void 0 : b.iconSrc) != "" ? (v(), W("span", {
1619
1621
  key: 0,
1620
1622
  class: Z(`${t}--operations-icon`),
1621
- style: yt({
1623
+ style: bt({
1622
1624
  width: "20px",
1623
1625
  height: "20px",
1624
1626
  ...(G = b.buttonProps) != null && G.disabled ? {
@@ -1647,7 +1649,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
1647
1649
  _: 2
1648
1650
  }, 1040)) : (v(), $(P, Lt(Ee({ key: 1 }, b == null ? void 0 : b.badgeProps)), {
1649
1651
  default: C(() => [
1650
- F(_, Ee({
1652
+ F(M, Ee({
1651
1653
  theme: "default",
1652
1654
  shape: "square",
1653
1655
  variant: "text",
@@ -1662,7 +1664,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
1662
1664
  b != null && b.iconSrc && (b == null ? void 0 : b.iconSrc) != "" ? (v(), W("span", {
1663
1665
  key: 0,
1664
1666
  class: Z(`${t}--operations-icon`),
1665
- style: yt({
1667
+ style: bt({
1666
1668
  width: "20px",
1667
1669
  height: "20px",
1668
1670
  ...(G = b.buttonProps) != null && G.disabled ? {
@@ -1695,10 +1697,10 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
1695
1697
  class: Z(`${t}--operations-userInfo`)
1696
1698
  }, {
1697
1699
  dropdown: C(() => [
1698
- F(S, null, {
1700
+ F(D, null, {
1699
1701
  default: C(() => [
1700
1702
  F(x, {
1701
- onClick: D,
1703
+ onClick: S,
1702
1704
  title: h(e).t("退出登录")
1703
1705
  }, {
1704
1706
  default: C(() => [
@@ -1712,7 +1714,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
1712
1714
  })
1713
1715
  ]),
1714
1716
  default: C(() => [
1715
- F(_, {
1717
+ F(M, {
1716
1718
  theme: "default",
1717
1719
  variant: "text",
1718
1720
  style: { width: "150px" },
@@ -1734,7 +1736,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
1734
1736
  ]),
1735
1737
  _: 1
1736
1738
  }, 8, ["class"]),
1737
- F(_, {
1739
+ F(M, {
1738
1740
  theme: "default",
1739
1741
  shape: "square",
1740
1742
  variant: "text",
@@ -1792,7 +1794,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
1792
1794
  }, 8, ["class"]);
1793
1795
  };
1794
1796
  }
1795
- }), Er = ["title"], _t = /* @__PURE__ */ ue({
1797
+ }), Er = ["title"], Mt = /* @__PURE__ */ ue({
1796
1798
  __name: "GLayoutSideMenuTitle",
1797
1799
  props: {
1798
1800
  item: {}
@@ -1807,7 +1809,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
1807
1809
  sideMenuTree: {}
1808
1810
  },
1809
1811
  setup(n) {
1810
- const e = `${tt}__side-menu-content`, t = Ve(), o = mt(), a = (l) => {
1812
+ const e = `${tt}__side-menu-content`, t = Ve(), o = ft(), a = (l) => {
1811
1813
  if (en(l)) {
1812
1814
  const u = wt(l, {
1813
1815
  token: t.token,
@@ -1839,18 +1841,18 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
1839
1841
  }, {
1840
1842
  icon: C(() => [
1841
1843
  s.level == 1 ? (v(), W(de, { key: 0 }, [
1842
- s.icon ? (v(), $(h(wo), {
1844
+ s.icon ? (v(), $(h(To), {
1843
1845
  key: 0,
1844
1846
  name: s.icon,
1845
1847
  size: "large"
1846
- }, null, 8, ["name"])) : (v(), $(h(vt), {
1848
+ }, null, 8, ["name"])) : (v(), $(h(gt), {
1847
1849
  key: 1,
1848
1850
  size: "large"
1849
1851
  }))
1850
1852
  ], 64)) : X("", !0)
1851
1853
  ]),
1852
1854
  content: C(() => [
1853
- F(_t, { item: s }, null, 8, ["item"])
1855
+ F(Mt, { item: s }, null, 8, ["item"])
1854
1856
  ]),
1855
1857
  _: 2
1856
1858
  }, 1032, ["class", "name", "value", "onClick"])) : (v(), $(d, {
@@ -1861,18 +1863,18 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
1861
1863
  }, {
1862
1864
  icon: C(() => [
1863
1865
  s.level == 1 ? (v(), W(de, { key: 0 }, [
1864
- s.icon ? (v(), $(h(wo), {
1866
+ s.icon ? (v(), $(h(To), {
1865
1867
  key: 0,
1866
1868
  name: s.icon,
1867
1869
  size: "large"
1868
- }, null, 8, ["name"])) : (v(), $(h(vt), {
1870
+ }, null, 8, ["name"])) : (v(), $(h(gt), {
1869
1871
  key: 1,
1870
1872
  size: "large"
1871
1873
  }))
1872
1874
  ], 64)) : X("", !0)
1873
1875
  ]),
1874
1876
  title: C(() => [
1875
- F(_t, { item: s }, null, 8, ["item"])
1877
+ F(Mt, { item: s }, null, 8, ["item"])
1876
1878
  ]),
1877
1879
  default: C(() => [
1878
1880
  s.children ? (v(), $(i, {
@@ -1889,7 +1891,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
1889
1891
  __name: "GLayoutSideMenu",
1890
1892
  setup(n) {
1891
1893
  const e = `${tt}__side-menu`;
1892
- mt();
1894
+ ft();
1893
1895
  const t = rt(), o = Ve(), a = V(() => o.sideMenuTree), l = V(() => o.displayMode), r = V({
1894
1896
  get() {
1895
1897
  return o.isSideMenuCollapse;
@@ -2006,7 +2008,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
2006
2008
  }, {
2007
2009
  default: C(() => [
2008
2010
  ne("div", {
2009
- style: yt(d(N)),
2011
+ style: bt(d(N)),
2010
2012
  class: Z(`${t}--container-color-item`)
2011
2013
  }, null, 6)
2012
2014
  ]),
@@ -2046,7 +2048,7 @@ const ua = { render: Lr }, Sr = { class: "username" }, Dr = /* @__PURE__ */ ue({
2046
2048
  }, 8, ["class", "visible"]);
2047
2049
  };
2048
2050
  }
2049
- }), pt = (n, e) => {
2051
+ }), ht = (n, e) => {
2050
2052
  const t = n.__vccOpts || n;
2051
2053
  for (const [o, a] of e)
2052
2054
  t[o] = a;
@@ -2064,12 +2066,12 @@ function Pr(n, e) {
2064
2066
  _: 3
2065
2067
  });
2066
2068
  }
2067
- const xr = /* @__PURE__ */ pt(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
2069
+ const xr = /* @__PURE__ */ ht(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
2068
2070
  __name: "GLayoutSideHoverMenu",
2069
2071
  setup(n) {
2070
2072
  const { T: e, i18n: t } = ke();
2071
2073
  V(() => t.global.locale.value.toLowerCase() === "zh-cn");
2072
- const o = `${tt}__side-hover-menu`, a = `${tt}__side-hover-menu-content`, l = mt(), r = rt(), u = Ve(), i = V(() => u.sideMenuTree), d = V(() => u.displayMode), s = V({
2074
+ const o = `${tt}__side-hover-menu`, a = `${tt}__side-hover-menu-content`, l = ft(), r = rt(), u = Ve(), i = V(() => u.sideMenuTree), d = V(() => u.displayMode), s = V({
2073
2075
  get: () => u.isSideHoverMenuShow,
2074
2076
  set: (g) => u.isSideHoverMenuShow = g
2075
2077
  }), c = V(() => {
@@ -2094,18 +2096,18 @@ const xr = /* @__PURE__ */ pt(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
2094
2096
  u.isSideHoverMenuShow = !1;
2095
2097
  }, p = Y(!1), y = Y([]), N = Y("");
2096
2098
  function j(g) {
2097
- y.value = [], D.value = [], p.value = !1, E.value = !1, N.value = "", setTimeout(() => {
2099
+ y.value = [], S.value = [], p.value = !1, E.value = !1, N.value = "", setTimeout(() => {
2098
2100
  g && g.children && (p.value = !0, y.value = [...g.children], N.value = g.name, L.value = "");
2099
2101
  }, 100);
2100
2102
  }
2101
- const E = Y(!1), D = Y([]), L = Y("");
2102
- function M(g) {
2103
+ const E = Y(!1), S = Y([]), L = Y("");
2104
+ function _(g) {
2103
2105
  E.value = !1, L.value = "", setTimeout(() => {
2104
- g && g.children && (E.value = !0, D.value = [...g.children], L.value = g.name);
2106
+ g && g.children && (E.value = !0, S.value = [...g.children], L.value = g.name);
2105
2107
  }, 100);
2106
2108
  }
2107
2109
  function I() {
2108
- D.value = [], E.value = !1, L.value = "";
2110
+ S.value = [], E.value = !1, L.value = "";
2109
2111
  }
2110
2112
  De(
2111
2113
  () => s.value,
@@ -2113,23 +2115,23 @@ const xr = /* @__PURE__ */ pt(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
2113
2115
  g || (p.value = !1, E.value = !1, N.value = "", L.value = "");
2114
2116
  }
2115
2117
  );
2116
- const m = Y(null), w = Y(null), _ = Y(null);
2117
- Co(
2118
+ const m = Y(null), w = Y(null), M = Y(null);
2119
+ ko(
2118
2120
  w,
2119
2121
  () => {
2120
2122
  p.value = !1;
2121
2123
  },
2122
2124
  {
2123
- ignore: [m, _, w],
2125
+ ignore: [m, M, w],
2124
2126
  capture: !1
2125
2127
  }
2126
- ), Co(
2127
- _,
2128
+ ), ko(
2129
+ M,
2128
2130
  () => {
2129
2131
  E.value = !1;
2130
2132
  },
2131
2133
  {
2132
- ignore: [m, _, w],
2134
+ ignore: [m, M, w],
2133
2135
  capture: !1
2134
2136
  }
2135
2137
  );
@@ -2150,17 +2152,17 @@ const xr = /* @__PURE__ */ pt(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
2150
2152
  }), x = V(() => {
2151
2153
  var g;
2152
2154
  return (g = U.value.find((b) => b.url === c.value)) == null ? void 0 : g.parent;
2153
- }), S = V(() => u.sideHoverMenuTimer);
2155
+ }), D = V(() => u.sideHoverMenuTimer);
2154
2156
  function A(g) {
2155
2157
  u.sideHoverMenuTimer = setTimeout(() => {
2156
- u.isSideHoverMenuShow && (u.isSideHoverMenuShow = !1), clearTimeout(S.value);
2158
+ u.isSideHoverMenuShow && (u.isSideHoverMenuShow = !1), clearTimeout(D.value);
2157
2159
  }, 500);
2158
2160
  }
2159
2161
  function T() {
2160
- clearTimeout(S.value), u.isSideHoverMenuShow = !0;
2162
+ clearTimeout(D.value), u.isSideHoverMenuShow = !0;
2161
2163
  }
2162
2164
  const B = Y(null);
2163
- return ko(B, "mouseleave", A), ko(B, "mouseenter", T), (g, b) => {
2165
+ return Mo(B, "mouseleave", A), Mo(B, "mouseenter", T), (g, b) => {
2164
2166
  const z = Q("t-icon"), G = Q("t-menu-item"), H = Q("t-submenu"), ae = Q("t-menu"), me = Q("t-drawer");
2165
2167
  return v(), W("div", {
2166
2168
  ref_key: "menuRef",
@@ -2196,7 +2198,7 @@ const xr = /* @__PURE__ */ pt(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
2196
2198
  name: J.path,
2197
2199
  value: J.path,
2198
2200
  key: J.name,
2199
- onClick: (_e) => f(J.path)
2201
+ onClick: (Me) => f(J.path)
2200
2202
  }, {
2201
2203
  icon: C(() => [
2202
2204
  J.level == 1 ? (v(), W(de, { key: 0 }, [
@@ -2204,14 +2206,14 @@ const xr = /* @__PURE__ */ pt(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
2204
2206
  key: 0,
2205
2207
  name: J.icon,
2206
2208
  size: "large"
2207
- }, null, 8, ["name"])) : (v(), $(h(vt), {
2209
+ }, null, 8, ["name"])) : (v(), $(h(gt), {
2208
2210
  key: 1,
2209
2211
  size: "large"
2210
2212
  }))
2211
2213
  ], 64)) : X("", !0)
2212
2214
  ]),
2213
2215
  content: C(() => [
2214
- F(_t, { item: J }, null, 8, ["item"])
2216
+ F(Mt, { item: J }, null, 8, ["item"])
2215
2217
  ]),
2216
2218
  _: 2
2217
2219
  }, 1032, ["class", "name", "value", "onClick"])) : (v(), $(H, {
@@ -2228,7 +2230,7 @@ const xr = /* @__PURE__ */ pt(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
2228
2230
  visible: !1,
2229
2231
  overlayInnerClassName: `${a}--popup`
2230
2232
  },
2231
- onMouseenter: (_e) => j(J)
2233
+ onMouseenter: (Me) => j(J)
2232
2234
  }, {
2233
2235
  icon: C(() => [
2234
2236
  J.level == 1 ? (v(), W(de, { key: 0 }, [
@@ -2236,14 +2238,14 @@ const xr = /* @__PURE__ */ pt(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
2236
2238
  key: 0,
2237
2239
  name: J.icon,
2238
2240
  size: "large"
2239
- }, null, 8, ["name"])) : (v(), $(h(vt), {
2241
+ }, null, 8, ["name"])) : (v(), $(h(gt), {
2240
2242
  key: 1,
2241
2243
  size: "large"
2242
2244
  }))
2243
2245
  ], 64)) : X("", !0)
2244
2246
  ]),
2245
2247
  title: C(() => [
2246
- F(_t, { item: J }, null, 8, ["item"])
2248
+ F(Mt, { item: J }, null, 8, ["item"])
2247
2249
  ]),
2248
2250
  _: 2
2249
2251
  }, 1032, ["class", "name", "value", "popup-props", "onMouseenter"]))
@@ -2287,7 +2289,7 @@ const xr = /* @__PURE__ */ pt(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
2287
2289
  name: J.path,
2288
2290
  value: J.path,
2289
2291
  key: J.name,
2290
- onClick: (_e) => f(J.path),
2292
+ onClick: (Me) => f(J.path),
2291
2293
  onMouseenter: I
2292
2294
  }, {
2293
2295
  icon: C(() => [
@@ -2296,14 +2298,14 @@ const xr = /* @__PURE__ */ pt(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
2296
2298
  key: 0,
2297
2299
  name: J.icon,
2298
2300
  size: "large"
2299
- }, null, 8, ["name"])) : (v(), $(h(vt), {
2301
+ }, null, 8, ["name"])) : (v(), $(h(gt), {
2300
2302
  key: 1,
2301
2303
  size: "large"
2302
2304
  }))
2303
2305
  ], 64)) : X("", !0)
2304
2306
  ]),
2305
2307
  content: C(() => [
2306
- F(_t, { item: J }, null, 8, ["item"])
2308
+ F(Mt, { item: J }, null, 8, ["item"])
2307
2309
  ]),
2308
2310
  _: 2
2309
2311
  }, 1032, ["class", "name", "value", "onClick"])) : (v(), $(H, {
@@ -2320,7 +2322,7 @@ const xr = /* @__PURE__ */ pt(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
2320
2322
  visible: !1,
2321
2323
  overlayInnerClassName: `${a}--popup`
2322
2324
  },
2323
- onMouseenter: (_e) => M(J)
2325
+ onMouseenter: (Me) => _(J)
2324
2326
  }, {
2325
2327
  icon: C(() => [
2326
2328
  J.level == 1 ? (v(), W(de, { key: 0 }, [
@@ -2328,14 +2330,14 @@ const xr = /* @__PURE__ */ pt(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
2328
2330
  key: 0,
2329
2331
  name: J.icon,
2330
2332
  size: "large"
2331
- }, null, 8, ["name"])) : (v(), $(h(vt), {
2333
+ }, null, 8, ["name"])) : (v(), $(h(gt), {
2332
2334
  key: 1,
2333
2335
  size: "large"
2334
2336
  }))
2335
2337
  ], 64)) : X("", !0)
2336
2338
  ]),
2337
2339
  title: C(() => [
2338
- F(_t, { item: J }, null, 8, ["item"])
2340
+ F(Mt, { item: J }, null, 8, ["item"])
2339
2341
  ]),
2340
2342
  _: 2
2341
2343
  }, 1032, ["class", "name", "value", "popup-props", "onMouseenter"]))
@@ -2361,14 +2363,14 @@ const xr = /* @__PURE__ */ pt(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
2361
2363
  default: C(() => [
2362
2364
  F(ae, {
2363
2365
  ref_key: "sideMenuLevel3Ref",
2364
- ref: _,
2366
+ ref: M,
2365
2367
  width: "100%",
2366
2368
  theme: d.value,
2367
2369
  value: c.value,
2368
2370
  expandType: "popup"
2369
2371
  }, {
2370
2372
  default: C(() => [
2371
- (v(!0), W(de, null, Se(D.value, (J) => (v(), W("div", {
2373
+ (v(!0), W(de, null, Se(S.value, (J) => (v(), W("div", {
2372
2374
  key: J.name
2373
2375
  }, [
2374
2376
  !J.children || !J.children.length ? (v(), $(G, {
@@ -2379,7 +2381,7 @@ const xr = /* @__PURE__ */ pt(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
2379
2381
  name: J.path,
2380
2382
  value: J.path,
2381
2383
  key: J.name,
2382
- onClick: (_e) => f(J.path)
2384
+ onClick: (Me) => f(J.path)
2383
2385
  }, {
2384
2386
  icon: C(() => [
2385
2387
  J.level == 1 ? (v(), W(de, { key: 0 }, [
@@ -2387,14 +2389,14 @@ const xr = /* @__PURE__ */ pt(Br, [["render", Pr]]), Vr = /* @__PURE__ */ ue({
2387
2389
  key: 0,
2388
2390
  name: J.icon,
2389
2391
  size: "large"
2390
- }, null, 8, ["name"])) : (v(), $(h(vt), {
2392
+ }, null, 8, ["name"])) : (v(), $(h(gt), {
2391
2393
  key: 1,
2392
2394
  size: "large"
2393
2395
  }))
2394
2396
  ], 64)) : X("", !0)
2395
2397
  ]),
2396
2398
  content: C(() => [
2397
- F(_t, { item: J }, null, 8, ["item"])
2399
+ F(Mt, { item: J }, null, 8, ["item"])
2398
2400
  ]),
2399
2401
  _: 2
2400
2402
  }, 1032, ["class", "name", "value", "onClick"])) : X("", !0)
@@ -2538,7 +2540,7 @@ const ma = Ye(da), Rr = /* @__PURE__ */ ue({
2538
2540
  };
2539
2541
  }
2540
2542
  });
2541
- const lo = Ye(Rr), jr = /* @__PURE__ */ ue({
2543
+ const ro = Ye(Rr), jr = /* @__PURE__ */ ue({
2542
2544
  __name: "GCommonHeader",
2543
2545
  setup(n) {
2544
2546
  return (e, t) => {
@@ -2646,7 +2648,7 @@ const fa = Ye(Gr), On = () => {
2646
2648
  getFileUrl: "/api/base/upload/files/url"
2647
2649
  };
2648
2650
  function Hr(n) {
2649
- return Ze.post(`${Tn.uploadReady}`, Xo.stringify(n));
2651
+ return Ze.post(`${Tn.uploadReady}`, no.stringify(n));
2650
2652
  }
2651
2653
  function Kr(n) {
2652
2654
  const e = Be.getItem(Xt);
@@ -2668,7 +2670,7 @@ const Gt = (n) => {
2668
2670
  return e;
2669
2671
  }
2670
2672
  return e;
2671
- }, Fo = (n, e) => Dt(n) ? n(e) : n, Wr = ({
2673
+ }, $o = (n, e) => Dt(n) ? n(e) : n, Wr = ({
2672
2674
  fileItem: n,
2673
2675
  name: e,
2674
2676
  data: t,
@@ -2683,25 +2685,25 @@ const Gt = (n) => {
2683
2685
  onSuccess: c = On,
2684
2686
  onError: f = On
2685
2687
  }) => {
2686
- var M;
2687
- const p = Fo(e, n) || "file", y = Fo(t, n), N = Be.getItem(Xt), j = r ? `${Tn.pieceUploadFiles}?sessionId=${N}` : `${Tn.baseUploadFile}?sessionId=${N}`, E = [];
2688
- function D(I, m) {
2688
+ var _;
2689
+ const p = $o(e, n) || "file", y = $o(t, n), N = Be.getItem(Xt), j = r ? `${Tn.pieceUploadFiles}?sessionId=${N}` : `${Tn.baseUploadFile}?sessionId=${N}`, E = [];
2690
+ function S(I, m) {
2689
2691
  let w = 0;
2690
- E.forEach((_) => {
2691
- w += _;
2692
+ E.forEach((M) => {
2693
+ w += M;
2692
2694
  }), I = w > 0 ? gn.round(w / l, 2) : 0, s(I, m);
2693
2695
  }
2694
2696
  function L(I, m) {
2695
- let w = 0, _ = 0, U = !1, P = [];
2697
+ let w = 0, M = 0, U = !1, P = [];
2696
2698
  const k = I.length, x = async () => {
2697
2699
  if (U)
2698
2700
  return;
2699
2701
  const A = I.shift();
2700
2702
  if (A) {
2701
- const T = _++, B = new XMLHttpRequest();
2703
+ const T = M++, B = new XMLHttpRequest();
2702
2704
  a && (B.withCredentials = !0), B.upload.onprogress = (g) => {
2703
2705
  const b = g.total > 0 ? gn.round(g.loaded / g.total, 2) : 0;
2704
- E[T] = g.loaded, D(b, g);
2706
+ E[T] = g.loaded, S(b, g);
2705
2707
  }, B.onerror = function(b) {
2706
2708
  U = !0, f(b);
2707
2709
  }, B.onload = () => {
@@ -2722,23 +2724,23 @@ const Gt = (n) => {
2722
2724
  const T = P.map((B) => Gt(B));
2723
2725
  c(T);
2724
2726
  }
2725
- }, S = () => {
2726
- m <= 0 || U || (x(), setTimeout(S, Math.random() * 1e3), m--);
2727
+ }, D = () => {
2728
+ m <= 0 || U || (x(), setTimeout(D, Math.random() * 1e3), m--);
2727
2729
  };
2728
- return S(), P;
2730
+ return D(), P;
2729
2731
  }
2730
2732
  if (r && u) {
2731
2733
  let I = [];
2732
- for (let _ = 0; _ < l; _ = _ + d) {
2733
- const U = (M = n.file) == null ? void 0 : M.slice(_, Math.min(_ + d, l));
2734
+ for (let M = 0; M < l; M = M + d) {
2735
+ const U = (_ = n.file) == null ? void 0 : _.slice(M, Math.min(M + d, l));
2734
2736
  I.push(U);
2735
2737
  }
2736
- const m = I == null ? void 0 : I.map((_, U) => {
2738
+ const m = I == null ? void 0 : I.map((M, U) => {
2737
2739
  const P = new FormData(), k = {
2738
2740
  key: u,
2739
2741
  end: U == I.length - 1,
2740
2742
  index: U,
2741
- piece: _
2743
+ piece: M
2742
2744
  };
2743
2745
  if (y)
2744
2746
  for (const x of Object.keys(y))
@@ -2750,17 +2752,17 @@ const Gt = (n) => {
2750
2752
  let w = [];
2751
2753
  try {
2752
2754
  w = L(m, i ?? 1);
2753
- } catch (_) {
2754
- f(_);
2755
+ } catch (M) {
2756
+ f(M);
2755
2757
  }
2756
2758
  return w;
2757
2759
  } else {
2758
2760
  const I = new XMLHttpRequest();
2759
2761
  a && (I.withCredentials = a), I.upload.onprogress = (w) => {
2760
- const _ = w.total > 0 ? gn.round(w.loaded / w.total, 2) : 0;
2761
- s(_, w);
2762
- }, I.onerror = function(_) {
2763
- f(_);
2762
+ const M = w.total > 0 ? gn.round(w.loaded / w.total, 2) : 0;
2763
+ s(M, w);
2764
+ }, I.onerror = function(M) {
2765
+ f(M);
2764
2766
  }, I.onload = () => {
2765
2767
  if (I.status < 200 || I.status >= 300) {
2766
2768
  f(Gt(I));
@@ -2798,7 +2800,7 @@ const Gt = (n) => {
2798
2800
  });
2799
2801
  }
2800
2802
  return !!n;
2801
- }, $o = (n, e) => {
2803
+ }, Bo = (n, e) => {
2802
2804
  if (!n)
2803
2805
  return [];
2804
2806
  const t = Array.from(n);
@@ -2879,7 +2881,7 @@ const Gt = (n) => {
2879
2881
  [`${t.value}-hide`]: a.hide
2880
2882
  }
2881
2883
  ]), a = n;
2882
- Ho(), Y(!1);
2884
+ Ko(), Y(!1);
2883
2885
  const l = Y(null), r = Y(null);
2884
2886
  Y(0);
2885
2887
  const u = (c) => {
@@ -2888,7 +2890,7 @@ const Gt = (n) => {
2888
2890
  const f = a.onButtonClick(c);
2889
2891
  if (Wl(f)) {
2890
2892
  f.then((p) => {
2891
- a.uploadFiles($o(p));
2893
+ a.uploadFiles(Bo(p));
2892
2894
  });
2893
2895
  return;
2894
2896
  }
@@ -2897,7 +2899,7 @@ const Gt = (n) => {
2897
2899
  }
2898
2900
  }, i = (c) => {
2899
2901
  const f = c.target;
2900
- f.files && a.uploadFiles($o(f.files)), f.value = "";
2902
+ f.files && a.uploadFiles(Bo(f.files)), f.value = "";
2901
2903
  }, d = V(() => a.fileList && Array.isArray(a.fileList) && a.fileList.some((c) => c.status === "uploading") ? "uploading" : "normal"), s = V(() => {
2902
2904
  if (a.fileList && Array.isArray(a.fileList) && a.fileList.length > 0) {
2903
2905
  const f = a.fileList.reduce((p, y) => p + (y.percent || 0), 0) / a.fileList.length * 100;
@@ -2928,10 +2930,10 @@ const Gt = (n) => {
2928
2930
  var p;
2929
2931
  return [
2930
2932
  (p = h(e)) != null && p.showButtonProgress ? (v(), W(de, { key: 0 }, [
2931
- d.value == "normal" ? (v(), $(h(To), {
2933
+ d.value == "normal" ? (v(), $(h(Co), {
2932
2934
  key: 0,
2933
2935
  size: "14"
2934
- })) : (v(), $(h(qo), {
2936
+ })) : (v(), $(h(Qo), {
2935
2937
  key: 1,
2936
2938
  percentage: s.value,
2937
2939
  label: !1,
@@ -2940,7 +2942,7 @@ const Gt = (n) => {
2940
2942
  theme: "circle",
2941
2943
  style: { marginRight: "5px" }
2942
2944
  }, null, 8, ["percentage"]))
2943
- ], 64)) : (v(), $(h(To), {
2945
+ ], 64)) : (v(), $(h(Co), {
2944
2946
  key: 1,
2945
2947
  size: "14"
2946
2948
  }))
@@ -2973,7 +2975,7 @@ const Gt = (n) => {
2973
2975
  class: Z(o)
2974
2976
  }, [
2975
2977
  ["uploading"].includes(n.file.status ?? "") ? (v(), W(de, { key: 0 }, [
2976
- F(h(qo), {
2978
+ F(h(Qo), {
2977
2979
  percentage: l(((i = n.file) == null ? void 0 : i.percent) ?? 100),
2978
2980
  label: !1,
2979
2981
  size: 12,
@@ -3145,7 +3147,7 @@ const Gt = (n) => {
3145
3147
  };
3146
3148
  }
3147
3149
  });
3148
- const va = /* @__PURE__ */ pt(Zr, [["__scopeId", "data-v-8a486150"]]), Jr = /* @__PURE__ */ ue({
3150
+ const va = /* @__PURE__ */ ht(Zr, [["__scopeId", "data-v-8a486150"]]), Jr = /* @__PURE__ */ ue({
3149
3151
  __name: "GUploaderListItem",
3150
3152
  props: {
3151
3153
  file: {
@@ -3167,7 +3169,7 @@ const va = /* @__PURE__ */ pt(Zr, [["__scopeId", "data-v-8a486150"]]), Jr = /* @
3167
3169
  const s = ((d = l.file.filename) == null ? void 0 : d.split(".")[1]) ?? "";
3168
3170
  ["png", "jpg", "jpeg", "bmp", "gif", "webp"].includes(s) ? i = "image" : ["mp4", "m2v", "mkv", "m4v", "mov"].includes(s) ? i = "video" : ["mp3", "wav", "wmv", "m4a", "acc", "flac"].includes(s) && (i = "audio");
3169
3171
  }
3170
- return i.includes("image") ? Qt : i.includes("pdf") ? Qo : i.includes("video") ? Kn : Wn;
3172
+ return i.includes("image") ? Qt : i.includes("pdf") ? Xo : i.includes("video") ? Kn : Wn;
3171
3173
  }), u = V(() => l.file.filename ? l.file.filename.length > 25 ? l.file.filename.substring(0, 20) + "..." + l.file.filename.substring(l.file.filename.length - 5) : l.file.filename : "");
3172
3174
  return (i, d) => {
3173
3175
  var s;
@@ -3275,7 +3277,7 @@ const va = /* @__PURE__ */ pt(Zr, [["__scopeId", "data-v-8a486150"]]), Jr = /* @
3275
3277
  const p = ((c = d.data.filename) == null ? void 0 : c.split(".")[1]) ?? "";
3276
3278
  ["png", "jpg", "jpeg", "bmp", "gif", "webp"].includes(p) ? f = "image" : ["mp4", "m2v", "mkv", "m4v", "mov"].includes(p) ? f = "video" : ["mp3", "wav", "wmv", "m4a", "acc", "flac"].includes(p) && (f = "audio");
3277
3279
  }
3278
- f.includes("image") && (s = Qt), f.includes("pdf") && (s = Qo), f.includes("audio") && (s = Kn), f.includes("video") && (s = Kn), s = Wn;
3280
+ f.includes("image") && (s = Qt), f.includes("pdf") && (s = Xo), f.includes("audio") && (s = Kn), f.includes("video") && (s = Kn), s = Wn;
3279
3281
  } else
3280
3282
  s = Wn;
3281
3283
  return s && i(s, {});
@@ -3601,7 +3603,7 @@ const ns = /* @__PURE__ */ ue({
3601
3603
  error: (n) => !0
3602
3604
  },
3603
3605
  setup(n, { emit: e }) {
3604
- const { T: t } = ke(), o = n, a = e, l = Ho(), {
3606
+ const { T: t } = ke(), o = n, a = e, l = Ko(), {
3605
3607
  fileList: r,
3606
3608
  disabled: u,
3607
3609
  listType: i,
@@ -3613,7 +3615,7 @@ const ns = /* @__PURE__ */ ue({
3613
3615
  download: y,
3614
3616
  showLink: N,
3615
3617
  showButtonProgress: j
3616
- } = Za(o), E = /* @__PURE__ */ new Map(), D = /* @__PURE__ */ new Map(), L = Y([]), M = V(() => o.directory ? L.value.length ? ha(L.value) : { fileId: "" } : { fileId: "" }), I = V(() => o.limit > 0 && L.value.length >= o.limit), m = V(() => o.buttonText ? o.buttonText : o.directory ? I.value ? `${t.t("重新选择")}` : `${t.t("上传文件夹")}` : I.value ? `${t.t("重新选择")}` : `${t.t("上传文件")}`), w = (g) => {
3618
+ } = Za(o), E = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map(), L = Y([]), _ = V(() => o.directory ? L.value.length ? ha(L.value) : { fileId: "" } : { fileId: "" }), I = V(() => o.limit > 0 && L.value.length >= o.limit), m = V(() => o.buttonText ? o.buttonText : o.directory ? I.value ? `${t.t("重新选择")}` : `${t.t("上传文件夹")}` : I.value ? `${t.t("重新选择")}` : `${t.t("上传文件")}`), w = (g) => {
3617
3619
  E.clear();
3618
3620
  const b = g == null ? void 0 : g.map((z, G) => {
3619
3621
  const H = z.status ? z.status : z.url ? "done" : "error", ae = $n({
@@ -3633,7 +3635,7 @@ const ns = /* @__PURE__ */ ue({
3633
3635
  },
3634
3636
  { immediate: !0, deep: !0 }
3635
3637
  );
3636
- const _ = (g) => {
3638
+ const M = (g) => {
3637
3639
  a("update:fileList", L.value), a("change", L.value, g);
3638
3640
  }, U = async (g) => {
3639
3641
  const b = await Hr({
@@ -3647,26 +3649,26 @@ const ns = /* @__PURE__ */ ue({
3647
3649
  const b = ((Re = g.file) == null ? void 0 : Re.size) ?? 1, z = b > o.largeLimit;
3648
3650
  let G = "";
3649
3651
  z && (G = await U(g.file));
3650
- const H = (Me, ge) => {
3652
+ const H = (_e, ge) => {
3651
3653
  const Ie = E.get(g.fileId);
3652
- Ie && (Ie.status = "uploading", Ie.percent = Me, a("progress", Ie, ge));
3653
- }, ae = z ? (Me) => {
3654
+ Ie && (Ie.status = "uploading", Ie.percent = _e, a("progress", Ie, ge));
3655
+ }, ae = z ? (_e) => {
3654
3656
  const ge = E.get(g.fileId);
3655
- ge && G != "" && Me.every((Ie) => Ie.state == 200) ? Promise.resolve(
3657
+ ge && G != "" && _e.every((Ie) => Ie.state == 200) ? Promise.resolve(
3656
3658
  Kr({
3657
3659
  key: G
3658
3660
  }).then((Ie) => {
3659
- Ie.state == 200 ? (D.delete(ge.fileId), ge.status = "done", ge.percent = 1, ge.response = Ie, ge.url = Ie.data.url, a("success", ge), _(ge)) : me(Me);
3661
+ Ie.state == 200 ? (S.delete(ge.fileId), ge.status = "done", ge.percent = 1, ge.response = Ie, ge.url = Ie.data.url, a("success", ge), M(ge)) : me(_e);
3660
3662
  }).catch(() => {
3661
- me(Me);
3663
+ me(_e);
3662
3664
  })
3663
- ) : me(Me);
3664
- } : (Me) => {
3665
+ ) : me(_e);
3666
+ } : (_e) => {
3665
3667
  const ge = E.get(g.fileId);
3666
- ge && (Me.state == 200 ? (ge.status = "done", ge.percent = 1, ge.response = Me, D.delete(ge.fileId), ge.url = Me.data.url, _(ge), a("success", ge)) : me(Me));
3667
- }, me = (Me) => {
3668
+ ge && (_e.state == 200 ? (ge.status = "done", ge.percent = 1, ge.response = _e, S.delete(ge.fileId), ge.url = _e.data.url, M(ge), a("success", ge)) : me(_e));
3669
+ }, me = (_e) => {
3668
3670
  const ge = E.get(g.fileId);
3669
- console.warn("上传报错", Me, ge), ge && (ge.status = "error", ge.percent = 0, ge.response = Me, D.delete(ge.fileId), a("error", ge), _(ge));
3671
+ console.warn("上传报错", _e, ge), ge && (ge.status = "error", ge.percent = 0, ge.response = _e, S.delete(ge.fileId), a("error", ge), M(ge));
3670
3672
  }, J = {
3671
3673
  fileItem: g,
3672
3674
  action: o.action,
@@ -3684,11 +3686,11 @@ const ns = /* @__PURE__ */ ue({
3684
3686
  onError: me
3685
3687
  };
3686
3688
  g.status = "uploading", g.percent = 0;
3687
- const _e = Dt(o.customRequest) ? o.customRequest(J) : Wr(J);
3688
- D.set(g.fileId, _e);
3689
+ const Me = Dt(o.customRequest) ? o.customRequest(J) : Wr(J);
3690
+ S.set(g.fileId, Me);
3689
3691
  }, k = (g) => {
3690
3692
  var z;
3691
- const b = D.get(g.fileId);
3693
+ const b = S.get(g.fileId);
3692
3694
  if (b)
3693
3695
  if (Ct(b)) {
3694
3696
  b.forEach((H) => {
@@ -3696,11 +3698,11 @@ const ns = /* @__PURE__ */ ue({
3696
3698
  (ae = H.abort) == null || ae.call(H);
3697
3699
  });
3698
3700
  const G = E.get(g.fileId);
3699
- G && (G.status = "error", G.percent = 0, _(G));
3701
+ G && (G.status = "error", G.percent = 0, M(G));
3700
3702
  } else {
3701
- (z = b == null ? void 0 : b.abort) == null || z.call(b), D.delete(g.fileId);
3703
+ (z = b == null ? void 0 : b.abort) == null || z.call(b), S.delete(g.fileId);
3702
3704
  const G = E.get(g.fileId);
3703
- G && (G.status = "error", G.percent = 0, _(G));
3705
+ G && (G.status = "error", G.percent = 0, M(G));
3704
3706
  }
3705
3707
  }, x = async (g, b) => {
3706
3708
  const z = `${Zt(10)}-${g.name}`, G = void 0, H = $n({
@@ -3713,8 +3715,8 @@ const ns = /* @__PURE__ */ ue({
3713
3715
  percent: 0,
3714
3716
  fileUploadType: "file"
3715
3717
  });
3716
- E.set(z, H), L.value = [...L.value, H], _(H), o.autoUpload && P(H);
3717
- }, S = (g) => {
3718
+ E.set(z, H), L.value = [...L.value, H], M(H), o.autoUpload && P(H);
3719
+ }, D = (g) => {
3718
3720
  if (o.limit > 0 && L.value.length + g.length > o.limit) {
3719
3721
  if (L.value.length > g.length)
3720
3722
  return;
@@ -3730,7 +3732,7 @@ const ns = /* @__PURE__ */ ue({
3730
3732
  }) : x(z);
3731
3733
  }
3732
3734
  }, A = (g) => {
3733
- L.value = L.value.filter((b) => b.fileId !== g.fileId), _(g);
3735
+ L.value = L.value.filter((b) => b.fileId !== g.fileId), M(g);
3734
3736
  }, T = (g) => {
3735
3737
  Dt(o.onBeforeRemove) ? Promise.resolve(o.onBeforeRemove(g)).then((b) => {
3736
3738
  b && A(g);
@@ -3773,10 +3775,10 @@ const ns = /* @__PURE__ */ ue({
3773
3775
  disabled: h(u),
3774
3776
  listType: h(i),
3775
3777
  uploaderText: m.value,
3776
- uploadFiles: S,
3778
+ uploadFiles: D,
3777
3779
  multiple: n.multiple,
3778
3780
  directory: n.directory,
3779
- hide: !n.showUploadButton || I.value && !(h(no)(n.showUploadButton) && n.showUploadButton.showOnExceedLimit),
3781
+ hide: !n.showUploadButton || I.value && !(h(oo)(n.showUploadButton) && n.showUploadButton.showOnExceedLimit),
3780
3782
  accept: B.value,
3781
3783
  onButtonClick: n.onButtonClick,
3782
3784
  buttonProps: n.buttonProps,
@@ -3788,9 +3790,9 @@ const ns = /* @__PURE__ */ ue({
3788
3790
  size: "small"
3789
3791
  }, {
3790
3792
  default: C(() => [
3791
- n.directory ? n.directory && M.value ? (v(), $(ts, {
3793
+ n.directory ? n.directory && _.value ? (v(), $(ts, {
3792
3794
  key: 1,
3793
- fileTree: M.value
3795
+ fileTree: _.value
3794
3796
  }, null, 8, ["fileTree"])) : X("", !0) : (v(), $(es, {
3795
3797
  key: 0,
3796
3798
  fileList: L.value,
@@ -3836,17 +3838,17 @@ const Xn = Ye(ns), os = { class: "display-column-checkbox" }, as = { class: "foo
3836
3838
  }, 1e3);
3837
3839
  }
3838
3840
  return (p, y) => {
3839
- const N = Q("t-button"), j = Q("t-checkbox"), E = Q("t-checkbox-group"), D = Q("t-space"), L = Q("t-popup");
3841
+ const N = Q("t-button"), j = Q("t-checkbox"), E = Q("t-checkbox-group"), S = Q("t-space"), L = Q("t-popup");
3840
3842
  return v(), $(L, {
3841
3843
  trigger: "click",
3842
3844
  placement: "bottom-right",
3843
3845
  visible: a.value,
3844
- "onUpdate:visible": y[2] || (y[2] = (M) => a.value = M),
3846
+ "onUpdate:visible": y[2] || (y[2] = (_) => a.value = _),
3845
3847
  onVisibleChange: r
3846
3848
  }, {
3847
3849
  content: C(() => [
3848
3850
  ne("div", os, [
3849
- F(D, {
3851
+ F(S, {
3850
3852
  size: "8px",
3851
3853
  direction: "vertical",
3852
3854
  class: "checkbox"
@@ -3864,7 +3866,7 @@ const Xn = Ye(ns), os = { class: "display-column-checkbox" }, as = { class: "foo
3864
3866
  }, 8, ["checked", "indeterminate"]),
3865
3867
  F(E, {
3866
3868
  modelValue: l.value,
3867
- "onUpdate:modelValue": y[0] || (y[0] = (M) => l.value = M),
3869
+ "onUpdate:modelValue": y[0] || (y[0] = (_) => l.value = _),
3868
3870
  options: p.columnOptions
3869
3871
  }, null, 8, ["modelValue", "options"])
3870
3872
  ]),
@@ -3874,7 +3876,7 @@ const Xn = Ye(ns), os = { class: "display-column-checkbox" }, as = { class: "foo
3874
3876
  F(N, {
3875
3877
  theme: "default",
3876
3878
  size: "small",
3877
- onClick: y[1] || (y[1] = (M) => u(!0))
3879
+ onClick: y[1] || (y[1] = (_) => u(!0))
3878
3880
  }, {
3879
3881
  default: C(() => [
3880
3882
  re(te(h(o).t("重置")), 1)
@@ -3911,7 +3913,7 @@ const Xn = Ye(ns), os = { class: "display-column-checkbox" }, as = { class: "foo
3911
3913
  };
3912
3914
  }
3913
3915
  });
3914
- const rs = /* @__PURE__ */ pt(ls, [["__scopeId", "data-v-05da5ebe"]]), ss = Ye(rs), is = /* @__PURE__ */ ue({
3916
+ const rs = /* @__PURE__ */ ht(ls, [["__scopeId", "data-v-05da5ebe"]]), ss = Ye(rs), is = /* @__PURE__ */ ue({
3915
3917
  __name: "GSettingDialog",
3916
3918
  props: {
3917
3919
  visible: { type: Boolean },
@@ -3976,7 +3978,7 @@ const rs = /* @__PURE__ */ pt(ls, [["__scopeId", "data-v-05da5ebe"]]), ss = Ye(r
3976
3978
  }, {
3977
3979
  default: C(() => [
3978
3980
  ne("div", {
3979
- style: yt(u(y)),
3981
+ style: bt(u(y)),
3980
3982
  class: "color-item"
3981
3983
  }, null, 4)
3982
3984
  ]),
@@ -4046,11 +4048,22 @@ const Ic = Ye(is), jt = {
4046
4048
  }, ga = (n) => Ze.get(jt.getOneView, n), tn = (n) => Ze.post(jt.getBoardData, n), ya = (n) => Ze.post(jt.confirm, n), us = (n) => Ze.post(jt.batch, n), cs = (n) => Ze.post(jt.activeFile, n), ds = (n) => Ze.post(jt.downloadFile, n), ms = /* @__PURE__ */ ue({
4047
4049
  __name: "GFormLabel",
4048
4050
  props: {
4049
- modelValue: {},
4050
- formItem: {}
4051
+ modelValue: { default: "" },
4052
+ formItem: {},
4053
+ formModel: { default: () => ({}) }
4051
4054
  },
4052
4055
  setup(n) {
4053
- const e = n, t = V(() => e.formItem.keyName), o = V(() => (t.value === "startTime" || t.value === "endTime") && typeof e.modelValue == "number" ? ct(e.modelValue).format("YYYY/MM/DD HH:mm:ss") : e.modelValue);
4056
+ const e = n, t = V(() => e.formItem.keyName), o = V(() => {
4057
+ if (e.formItem.value !== "")
4058
+ try {
4059
+ return dt.render(e.formItem.value, { item: e.formModel });
4060
+ } catch (a) {
4061
+ console.error("GTable returnValue Error", a);
4062
+ }
4063
+ else if ((t.value === "startTime" || t.value === "endTime") && typeof e.modelValue == "number")
4064
+ return ct(e.modelValue).format("YYYY/MM/DD HH:mm:ss");
4065
+ return e.modelValue;
4066
+ });
4054
4067
  return (a, l) => {
4055
4068
  const r = Q("t-tag");
4056
4069
  return v(), $(r, { class: "g-label" }, {
@@ -4062,7 +4075,7 @@ const Ic = Ye(is), jt = {
4062
4075
  };
4063
4076
  }
4064
4077
  });
4065
- const ba = /* @__PURE__ */ pt(ms, [["__scopeId", "data-v-48c19901"]]), Zn = /* @__PURE__ */ ue({
4078
+ const ba = /* @__PURE__ */ ht(ms, [["__scopeId", "data-v-b9a9d3f9"]]), Zn = /* @__PURE__ */ ue({
4066
4079
  __name: "GFormInput",
4067
4080
  props: {
4068
4081
  inputType: {},
@@ -4444,13 +4457,13 @@ const Ca = /* @__PURE__ */ ue({
4444
4457
  });
4445
4458
  const y = ze(Sn);
4446
4459
  return (N, j) => {
4447
- const E = Q("t-select"), D = Q("t-tooltip");
4460
+ const E = Q("t-select"), S = Q("t-tooltip");
4448
4461
  return v(), W("div", {
4449
4462
  ref_key: "formSelectRef",
4450
4463
  ref: f,
4451
4464
  style: { width: "100%" }
4452
4465
  }, [
4453
- F(D, {
4466
+ F(S, {
4454
4467
  trigger: "hover",
4455
4468
  theme: "light",
4456
4469
  disabled: !p.value,
@@ -4468,6 +4481,7 @@ const Ca = /* @__PURE__ */ ue({
4468
4481
  multiple: N.multiple,
4469
4482
  "min-collapsed-num": 2,
4470
4483
  disabled: N.disabled,
4484
+ filterable: !0,
4471
4485
  clearable: !0,
4472
4486
  onChange: s,
4473
4487
  onBlur: c
@@ -4478,7 +4492,7 @@ const Ca = /* @__PURE__ */ ue({
4478
4492
  ], 512);
4479
4493
  };
4480
4494
  }
4481
- }), _a = /* @__PURE__ */ ue({
4495
+ }), Ma = /* @__PURE__ */ ue({
4482
4496
  __name: "GFormSelectDateTime",
4483
4497
  props: {
4484
4498
  modelValue: {},
@@ -4499,7 +4513,7 @@ const Ca = /* @__PURE__ */ ue({
4499
4513
  () => t.modelValue,
4500
4514
  () => {
4501
4515
  var s;
4502
- if (t.modelValue == 0 || dt(t.modelValue))
4516
+ if (t.modelValue == 0 || mt(t.modelValue))
4503
4517
  return "";
4504
4518
  t.modelValue && ((s = t.formItem) == null ? void 0 : s.itemType) == "time_selector" ? a.value = ct(t.modelValue).format("HH:mm:ss") : a.value = t.modelValue;
4505
4519
  },
@@ -4540,14 +4554,14 @@ const Ca = /* @__PURE__ */ ue({
4540
4554
  placement: "bottom"
4541
4555
  }, {
4542
4556
  default: C(() => {
4543
- var N, j, E, D, L;
4557
+ var N, j, E, S, L;
4544
4558
  return [
4545
4559
  ((N = s.formItem) == null ? void 0 : N.itemType) === "date_selector" || ((j = s.formItem) == null ? void 0 : j.itemType) === "date_time_selector" ? (v(), $(f, {
4546
4560
  key: 0,
4547
4561
  "enable-time-picker": ((E = s.formItem) == null ? void 0 : E.itemType) === "date_time_selector",
4548
4562
  placeholder: s.placeholder,
4549
4563
  modelValue: a.value,
4550
- "onUpdate:modelValue": c[0] || (c[0] = (M) => a.value = M),
4564
+ "onUpdate:modelValue": c[0] || (c[0] = (_) => a.value = _),
4551
4565
  format: s.formItem.format || "YYYY-MM-DD HH:mm",
4552
4566
  valueType: "time-stamp",
4553
4567
  disabled: s.disabled,
@@ -4555,12 +4569,12 @@ const Ca = /* @__PURE__ */ ue({
4555
4569
  onBlur: u,
4556
4570
  clearable: ""
4557
4571
  }, null, 8, ["enable-time-picker", "placeholder", "modelValue", "format", "disabled"])) : X("", !0),
4558
- ((D = s.formItem) == null ? void 0 : D.itemType) === "time_selector" ? (v(), $(p, {
4572
+ ((S = s.formItem) == null ? void 0 : S.itemType) === "time_selector" ? (v(), $(p, {
4559
4573
  key: 1,
4560
4574
  placeholder: s.placeholder,
4561
4575
  disabled: s.disabled,
4562
4576
  modelValue: a.value,
4563
- "onUpdate:modelValue": c[1] || (c[1] = (M) => a.value = M),
4577
+ "onUpdate:modelValue": c[1] || (c[1] = (_) => a.value = _),
4564
4578
  onChange: r,
4565
4579
  onBlur: u,
4566
4580
  format: ((L = s.formItem) == null ? void 0 : L.format) || "HH:mm:ss",
@@ -4574,7 +4588,7 @@ const Ca = /* @__PURE__ */ ue({
4574
4588
  ], 512);
4575
4589
  };
4576
4590
  }
4577
- }), Ma = /* @__PURE__ */ ue({
4591
+ }), _a = /* @__PURE__ */ ue({
4578
4592
  __name: "GFormTreeCheckBox",
4579
4593
  props: {
4580
4594
  modelValue: {},
@@ -4649,7 +4663,7 @@ const Ca = /* @__PURE__ */ ue({
4649
4663
  default: C(() => [
4650
4664
  F(j, {
4651
4665
  modelValue: p.value,
4652
- "onUpdate:modelValue": N[0] || (N[0] = (D) => p.value = D),
4666
+ "onUpdate:modelValue": N[0] || (N[0] = (S) => p.value = S),
4653
4667
  data: h(u),
4654
4668
  placeholder: y.placeholder,
4655
4669
  multiple: y.multiple,
@@ -4741,7 +4755,7 @@ const Ca = /* @__PURE__ */ ue({
4741
4755
  default: C(() => [
4742
4756
  F(j, {
4743
4757
  modelValue: p.value,
4744
- "onUpdate:modelValue": N[0] || (N[0] = (D) => p.value = D),
4758
+ "onUpdate:modelValue": N[0] || (N[0] = (S) => p.value = S),
4745
4759
  options: h(u),
4746
4760
  multiple: y.multiple,
4747
4761
  disabled: y.disabled,
@@ -4790,7 +4804,7 @@ const Ca = /* @__PURE__ */ ue({
4790
4804
  }
4791
4805
  );
4792
4806
  function r(d) {
4793
- const s = Mn(d);
4807
+ const s = _n(d);
4794
4808
  if (o.formItem.fileUploadType == "file")
4795
4809
  if (s.length && s.every((c) => c.status == "done")) {
4796
4810
  const { response: c, filename: f, url: p } = s[0];
@@ -4855,81 +4869,81 @@ var Sa = { exports: {} };
4855
4869
  n.exports = o();
4856
4870
  })(vs, function() {
4857
4871
  var t, o, a = 1e3, l = 6e4, r = 36e5, u = 864e5, i = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, d = 31536e6, s = 2628e6, c = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, f = { years: d, months: s, days: u, hours: r, minutes: l, seconds: a, milliseconds: 1, weeks: 6048e5 }, p = function(m) {
4858
- return m instanceof M;
4859
- }, y = function(m, w, _) {
4860
- return new M(m, _, w.$l);
4872
+ return m instanceof _;
4873
+ }, y = function(m, w, M) {
4874
+ return new _(m, M, w.$l);
4861
4875
  }, N = function(m) {
4862
4876
  return o.p(m) + "s";
4863
4877
  }, j = function(m) {
4864
4878
  return m < 0;
4865
4879
  }, E = function(m) {
4866
4880
  return j(m) ? Math.ceil(m) : Math.floor(m);
4867
- }, D = function(m) {
4881
+ }, S = function(m) {
4868
4882
  return Math.abs(m);
4869
4883
  }, L = function(m, w) {
4870
- return m ? j(m) ? { negative: !0, format: "" + D(m) + w } : { negative: !1, format: "" + m + w } : { negative: !1, format: "" };
4871
- }, M = function() {
4872
- function m(_, U, P) {
4884
+ return m ? j(m) ? { negative: !0, format: "" + S(m) + w } : { negative: !1, format: "" + m + w } : { negative: !1, format: "" };
4885
+ }, _ = function() {
4886
+ function m(M, U, P) {
4873
4887
  var k = this;
4874
- if (this.$d = {}, this.$l = P, _ === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), U)
4875
- return y(_ * f[N(U)], this);
4876
- if (typeof _ == "number")
4877
- return this.$ms = _, this.parseFromMilliseconds(), this;
4878
- if (typeof _ == "object")
4879
- return Object.keys(_).forEach(function(A) {
4880
- k.$d[N(A)] = _[A];
4888
+ if (this.$d = {}, this.$l = P, M === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), U)
4889
+ return y(M * f[N(U)], this);
4890
+ if (typeof M == "number")
4891
+ return this.$ms = M, this.parseFromMilliseconds(), this;
4892
+ if (typeof M == "object")
4893
+ return Object.keys(M).forEach(function(A) {
4894
+ k.$d[N(A)] = M[A];
4881
4895
  }), this.calMilliseconds(), this;
4882
- if (typeof _ == "string") {
4883
- var x = _.match(c);
4896
+ if (typeof M == "string") {
4897
+ var x = M.match(c);
4884
4898
  if (x) {
4885
- var S = x.slice(2).map(function(A) {
4899
+ var D = x.slice(2).map(function(A) {
4886
4900
  return A != null ? Number(A) : 0;
4887
4901
  });
4888
- return this.$d.years = S[0], this.$d.months = S[1], this.$d.weeks = S[2], this.$d.days = S[3], this.$d.hours = S[4], this.$d.minutes = S[5], this.$d.seconds = S[6], this.calMilliseconds(), this;
4902
+ return this.$d.years = D[0], this.$d.months = D[1], this.$d.weeks = D[2], this.$d.days = D[3], this.$d.hours = D[4], this.$d.minutes = D[5], this.$d.seconds = D[6], this.calMilliseconds(), this;
4889
4903
  }
4890
4904
  }
4891
4905
  return this;
4892
4906
  }
4893
4907
  var w = m.prototype;
4894
4908
  return w.calMilliseconds = function() {
4895
- var _ = this;
4909
+ var M = this;
4896
4910
  this.$ms = Object.keys(this.$d).reduce(function(U, P) {
4897
- return U + (_.$d[P] || 0) * f[P];
4911
+ return U + (M.$d[P] || 0) * f[P];
4898
4912
  }, 0);
4899
4913
  }, w.parseFromMilliseconds = function() {
4900
- var _ = this.$ms;
4901
- this.$d.years = E(_ / d), _ %= d, this.$d.months = E(_ / s), _ %= s, this.$d.days = E(_ / u), _ %= u, this.$d.hours = E(_ / r), _ %= r, this.$d.minutes = E(_ / l), _ %= l, this.$d.seconds = E(_ / a), _ %= a, this.$d.milliseconds = _;
4914
+ var M = this.$ms;
4915
+ this.$d.years = E(M / d), M %= d, this.$d.months = E(M / s), M %= s, this.$d.days = E(M / u), M %= u, this.$d.hours = E(M / r), M %= r, this.$d.minutes = E(M / l), M %= l, this.$d.seconds = E(M / a), M %= a, this.$d.milliseconds = M;
4902
4916
  }, w.toISOString = function() {
4903
- var _ = L(this.$d.years, "Y"), U = L(this.$d.months, "M"), P = +this.$d.days || 0;
4917
+ var M = L(this.$d.years, "Y"), U = L(this.$d.months, "M"), P = +this.$d.days || 0;
4904
4918
  this.$d.weeks && (P += 7 * this.$d.weeks);
4905
- var k = L(P, "D"), x = L(this.$d.hours, "H"), S = L(this.$d.minutes, "M"), A = this.$d.seconds || 0;
4919
+ var k = L(P, "D"), x = L(this.$d.hours, "H"), D = L(this.$d.minutes, "M"), A = this.$d.seconds || 0;
4906
4920
  this.$d.milliseconds && (A += this.$d.milliseconds / 1e3, A = Math.round(1e3 * A) / 1e3);
4907
- var T = L(A, "S"), B = _.negative || U.negative || k.negative || x.negative || S.negative || T.negative, g = x.format || S.format || T.format ? "T" : "", b = (B ? "-" : "") + "P" + _.format + U.format + k.format + g + x.format + S.format + T.format;
4921
+ var T = L(A, "S"), B = M.negative || U.negative || k.negative || x.negative || D.negative || T.negative, g = x.format || D.format || T.format ? "T" : "", b = (B ? "-" : "") + "P" + M.format + U.format + k.format + g + x.format + D.format + T.format;
4908
4922
  return b === "P" || b === "-P" ? "P0D" : b;
4909
4923
  }, w.toJSON = function() {
4910
4924
  return this.toISOString();
4911
- }, w.format = function(_) {
4912
- var U = _ || "YYYY-MM-DDTHH:mm:ss", P = { Y: this.$d.years, YY: o.s(this.$d.years, 2, "0"), YYYY: o.s(this.$d.years, 4, "0"), M: this.$d.months, MM: o.s(this.$d.months, 2, "0"), D: this.$d.days, DD: o.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: o.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: o.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: o.s(this.$d.seconds, 2, "0"), SSS: o.s(this.$d.milliseconds, 3, "0") };
4925
+ }, w.format = function(M) {
4926
+ var U = M || "YYYY-MM-DDTHH:mm:ss", P = { Y: this.$d.years, YY: o.s(this.$d.years, 2, "0"), YYYY: o.s(this.$d.years, 4, "0"), M: this.$d.months, MM: o.s(this.$d.months, 2, "0"), D: this.$d.days, DD: o.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: o.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: o.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: o.s(this.$d.seconds, 2, "0"), SSS: o.s(this.$d.milliseconds, 3, "0") };
4913
4927
  return U.replace(i, function(k, x) {
4914
4928
  return x || String(P[k]);
4915
4929
  });
4916
- }, w.as = function(_) {
4917
- return this.$ms / f[N(_)];
4918
- }, w.get = function(_) {
4919
- var U = this.$ms, P = N(_);
4930
+ }, w.as = function(M) {
4931
+ return this.$ms / f[N(M)];
4932
+ }, w.get = function(M) {
4933
+ var U = this.$ms, P = N(M);
4920
4934
  return P === "milliseconds" ? U %= 1e3 : U = P === "weeks" ? E(U / f[P]) : this.$d[P], U || 0;
4921
- }, w.add = function(_, U, P) {
4935
+ }, w.add = function(M, U, P) {
4922
4936
  var k;
4923
- return k = U ? _ * f[N(U)] : p(_) ? _.$ms : y(_, this).$ms, y(this.$ms + k * (P ? -1 : 1), this);
4924
- }, w.subtract = function(_, U) {
4925
- return this.add(_, U, !0);
4926
- }, w.locale = function(_) {
4937
+ return k = U ? M * f[N(U)] : p(M) ? M.$ms : y(M, this).$ms, y(this.$ms + k * (P ? -1 : 1), this);
4938
+ }, w.subtract = function(M, U) {
4939
+ return this.add(M, U, !0);
4940
+ }, w.locale = function(M) {
4927
4941
  var U = this.clone();
4928
- return U.$l = _, U;
4942
+ return U.$l = M, U;
4929
4943
  }, w.clone = function() {
4930
4944
  return y(this.$ms, this);
4931
- }, w.humanize = function(_) {
4932
- return t().add(this.$ms, "ms").locale(this.$l).fromNow(!_);
4945
+ }, w.humanize = function(M) {
4946
+ return t().add(this.$ms, "ms").locale(this.$l).fromNow(!M);
4933
4947
  }, w.valueOf = function() {
4934
4948
  return this.asMilliseconds();
4935
4949
  }, w.milliseconds = function() {
@@ -4965,14 +4979,14 @@ var Sa = { exports: {} };
4965
4979
  }, w.asYears = function() {
4966
4980
  return this.as("years");
4967
4981
  }, m;
4968
- }(), I = function(m, w, _) {
4969
- return m.add(w.years() * _, "y").add(w.months() * _, "M").add(w.days() * _, "d").add(w.hours() * _, "h").add(w.minutes() * _, "m").add(w.seconds() * _, "s").add(w.milliseconds() * _, "ms");
4982
+ }(), I = function(m, w, M) {
4983
+ return m.add(w.years() * M, "y").add(w.months() * M, "M").add(w.days() * M, "d").add(w.hours() * M, "h").add(w.minutes() * M, "m").add(w.seconds() * M, "s").add(w.milliseconds() * M, "ms");
4970
4984
  };
4971
- return function(m, w, _) {
4972
- t = _, o = _().$utils(), _.duration = function(k, x) {
4973
- var S = _.locale();
4974
- return y(k, { $l: S }, x);
4975
- }, _.isDuration = p;
4985
+ return function(m, w, M) {
4986
+ t = M, o = M().$utils(), M.duration = function(k, x) {
4987
+ var D = M.locale();
4988
+ return y(k, { $l: D }, x);
4989
+ }, M.isDuration = p;
4976
4990
  var U = w.prototype.add, P = w.prototype.subtract;
4977
4991
  w.prototype.add = function(k, x) {
4978
4992
  return p(k) ? I(this, k, 1) : U.bind(this)(k, x);
@@ -5003,7 +5017,7 @@ const bs = /* @__PURE__ */ gs(ys), ws = /* @__PURE__ */ ue({
5003
5017
  De(
5004
5018
  () => t.modelValue,
5005
5019
  () => {
5006
- t.modelValue == 0 || dt(t.modelValue) ? a.value = "" : a.value = ct.duration(t.modelValue).format("HH:mm:ss");
5020
+ t.modelValue == 0 || mt(t.modelValue) ? a.value = "" : a.value = ct.duration(t.modelValue).format("HH:mm:ss");
5007
5021
  }
5008
5022
  );
5009
5023
  const l = e;
@@ -5084,8 +5098,8 @@ const Ts = /* @__PURE__ */ ue({
5084
5098
  setup(n, { emit: e }) {
5085
5099
  const t = `${Ol}__editor`, o = n;
5086
5100
  V(() => {
5087
- var D;
5088
- return (D = o.formItem) == null ? void 0 : D.itemType;
5101
+ var S;
5102
+ return (S = o.formItem) == null ? void 0 : S.itemType;
5089
5103
  });
5090
5104
  const a = Y(o.modelValue);
5091
5105
  De(
@@ -5107,24 +5121,24 @@ const Ts = /* @__PURE__ */ ue({
5107
5121
  placeholder: o.placeholder
5108
5122
  };
5109
5123
  Tt(() => {
5110
- const D = r.value;
5111
- D != null && D.destroy();
5124
+ const S = r.value;
5125
+ S != null && S.destroy();
5112
5126
  });
5113
- const d = e, s = (D) => {
5114
- r.value = D;
5115
- }, c = (D) => {
5116
- d("update:modelValue", D.getHtml());
5117
- }, f = (D) => {
5118
- }, p = Y(!1), y = (D) => {
5127
+ const d = e, s = (S) => {
5128
+ r.value = S;
5129
+ }, c = (S) => {
5130
+ d("update:modelValue", S.getHtml());
5131
+ }, f = (S) => {
5132
+ }, p = Y(!1), y = (S) => {
5119
5133
  p.value = !0;
5120
- }, N = (D) => {
5121
- p.value = !1, o.originValue != D.getHtml() && d("blur:modelValue", D.getHtml());
5134
+ }, N = (S) => {
5135
+ p.value = !1, o.originValue != S.getHtml() && d("blur:modelValue", S.getHtml());
5122
5136
  }, j = () => {
5123
- const D = r.value;
5124
- D != null && D.disable();
5137
+ const S = r.value;
5138
+ S != null && S.disable();
5125
5139
  }, E = () => {
5126
- const D = r.value;
5127
- D != null && D.enable();
5140
+ const S = r.value;
5141
+ S != null && S.enable();
5128
5142
  };
5129
5143
  return De(
5130
5144
  () => o.disabled,
@@ -5133,7 +5147,7 @@ const Ts = /* @__PURE__ */ ue({
5133
5147
  }
5134
5148
  ), Tt(() => {
5135
5149
  d("update:modelValue", "");
5136
- }), (D, L) => (v(), W("div", {
5150
+ }), (S, L) => (v(), W("div", {
5137
5151
  class: Z([`${t}`, `${p.value ? `${t}--focused` : ""}`])
5138
5152
  }, [
5139
5153
  F(h(Sl), {
@@ -5148,7 +5162,7 @@ const Ts = /* @__PURE__ */ ue({
5148
5162
  defaultConfig: i,
5149
5163
  mode: l.value,
5150
5164
  modelValue: a.value,
5151
- "onUpdate:modelValue": L[0] || (L[0] = (M) => a.value = M),
5165
+ "onUpdate:modelValue": L[0] || (L[0] = (_) => a.value = _),
5152
5166
  onOnCreated: s,
5153
5167
  onOnChange: c,
5154
5168
  onOnDestroyed: f,
@@ -5228,20 +5242,20 @@ const Ts = /* @__PURE__ */ ue({
5228
5242
  direction: "vertical"
5229
5243
  }, {
5230
5244
  default: C(() => [
5231
- (v(!0), W(de, null, Se(l.value, (D, L) => (v(), $(j, { key: L }, {
5245
+ (v(!0), W(de, null, Se(l.value, (S, L) => (v(), $(j, { key: L }, {
5232
5246
  default: C(() => [
5233
5247
  F(N, {
5234
5248
  style: { width: "200px" },
5235
- value: D,
5249
+ value: S,
5236
5250
  placeholder: f.placeholder,
5237
- onChange: (M) => d(M, L),
5251
+ onChange: (_) => d(_, L),
5238
5252
  onBlur: c,
5239
5253
  clearable: ""
5240
5254
  }, null, 8, ["value", "placeholder", "onChange"]),
5241
5255
  F(y, {
5242
5256
  variant: "outline",
5243
5257
  theme: "default",
5244
- onClick: (M) => s(L)
5258
+ onClick: (_) => s(L)
5245
5259
  }, {
5246
5260
  default: C(() => [
5247
5261
  re("- ")
@@ -5271,12 +5285,12 @@ const Ts = /* @__PURE__ */ ue({
5271
5285
  };
5272
5286
  }
5273
5287
  });
5274
- function ro(n = {}) {
5288
+ function so(n = {}) {
5275
5289
  function e(o, a = {}) {
5276
5290
  if (!We(o) && o !== 1) {
5277
5291
  let l, r;
5278
5292
  try {
5279
- return l = bt.render(o, { form: n.formModel.value }), r = qn(l, { form: n.formModel.value }), r;
5293
+ return l = dt.render(o, { form: n.formModel.value }), r = qn(l, { form: n.formModel.value }), r;
5280
5294
  } catch (u) {
5281
5295
  console.error(o, u.message);
5282
5296
  }
@@ -5287,7 +5301,7 @@ function ro(n = {}) {
5287
5301
  if (!We(o) && o !== 0) {
5288
5302
  let l, r;
5289
5303
  try {
5290
- l = bt.render(o, { form: n.formModel.value }), r = qn(l, { form: n.formModel.value });
5304
+ l = dt.render(o, { form: n.formModel.value }), r = qn(l, { form: n.formModel.value });
5291
5305
  } catch (u) {
5292
5306
  console.error(o, u.message);
5293
5307
  }
@@ -5300,7 +5314,7 @@ function ro(n = {}) {
5300
5314
  handleItemDisableIf: t
5301
5315
  };
5302
5316
  }
5303
- const ks = ["id"], _s = /* @__PURE__ */ ue({
5317
+ const ks = ["id"], Ms = /* @__PURE__ */ ue({
5304
5318
  __name: "GFormItem",
5305
5319
  props: {
5306
5320
  formItem: {},
@@ -5311,7 +5325,7 @@ const ks = ["id"], _s = /* @__PURE__ */ ue({
5311
5325
  },
5312
5326
  emits: ["after-update-value"],
5313
5327
  setup(n, { expose: e, emit: t }) {
5314
- const { T: o, localLanguage: a } = ke(), l = n, r = V(() => l.formModel), { handleItemShowIf: u, handleItemDisableIf: i } = ro({ formModel: r }), d = t;
5328
+ const { T: o, localLanguage: a } = ke(), l = n, r = V(() => l.formModel), { handleItemShowIf: u, handleItemDisableIf: i } = so({ formModel: r }), d = t;
5315
5329
  function s(m, w) {
5316
5330
  d("after-update-value", m, w);
5317
5331
  }
@@ -5355,22 +5369,22 @@ const ks = ["id"], _s = /* @__PURE__ */ ue({
5355
5369
  getDisableFlag: p,
5356
5370
  setBlockShowFlag: y
5357
5371
  });
5358
- const D = V(() => l.formItem.name.replace(/:|:/, "")), L = Y(), M = Y(!1), I = Y(0);
5372
+ const S = V(() => l.formItem.name.replace(/:|:/, "")), L = Y(), _ = Y(!1), I = Y(0);
5359
5373
  return Ue(() => {
5360
5374
  if (L.value && l.isLabelNameShow) {
5361
5375
  I.value = L.value.parentElement.parentElement.clientWidth;
5362
5376
  const m = L.value.clientWidth;
5363
- m && m && m - I.value > -15 && (M.value = !0);
5377
+ m && m && m - I.value > -15 && (_.value = !0);
5364
5378
  }
5365
5379
  }), At(Sn, l.componentProps), (m, w) => {
5366
- const _ = Q("t-divider"), U = Q("t-tooltip"), P = Q("t-form-item");
5380
+ const M = Q("t-divider"), U = Q("t-tooltip"), P = Q("t-form-item");
5367
5381
  return v(), W("div", {
5368
5382
  ref: "formItemRef",
5369
- class: Z(`${h(Do)}`),
5383
+ class: Z(`${h(No)}`),
5370
5384
  id: N.value
5371
5385
  }, [
5372
5386
  f.value ? (v(), W(de, { key: 0 }, [
5373
- m.formItem.itemType === "line" && m.formItem.name && h(u)(m.formItem.showIf, m.formItem) ? (v(), $(_, {
5387
+ m.formItem.itemType === "line" && m.formItem.name && h(u)(m.formItem.showIf, m.formItem) ? (v(), $(M, {
5374
5388
  key: 0,
5375
5389
  align: "left"
5376
5390
  }, {
@@ -5384,15 +5398,15 @@ const ks = ["id"], _s = /* @__PURE__ */ ue({
5384
5398
  id: m.formItem.keyName,
5385
5399
  requiredMark: m.formItem.required && !c.value,
5386
5400
  name: m.formItem.inputType != "RE_PASSWORD" ? m.formItem.keyName : "rePassword",
5387
- class: Z([`${m.isLabelNameShow ? "" : `${h(Do)}-label--hidden`}`])
5401
+ class: Z([`${m.isLabelNameShow ? "" : `${h(No)}-label--hidden`}`])
5388
5402
  }, {
5389
5403
  label: C(() => [
5390
5404
  F(U, {
5391
5405
  trigger: "hover",
5392
5406
  theme: "light",
5393
- disabled: !M.value,
5407
+ disabled: !_.value,
5394
5408
  showArrow: !1,
5395
- content: D.value,
5409
+ content: S.value,
5396
5410
  placement: "mouse"
5397
5411
  }, {
5398
5412
  default: C(() => [
@@ -5401,24 +5415,25 @@ const ks = ["id"], _s = /* @__PURE__ */ ue({
5401
5415
  ref: L,
5402
5416
  class: Z([
5403
5417
  "formItem__label",
5404
- M.value ? "formItem__label--ellipsis" : ""
5418
+ _.value ? "formItem__label--ellipsis" : ""
5405
5419
  ]),
5406
- style: yt({
5407
- ...M.value ? { width: `${I.value - 20}px` } : {}
5420
+ style: bt({
5421
+ ..._.value ? { width: `${I.value - 20}px` } : {}
5408
5422
  })
5409
- }, te(D.value), 7)
5423
+ }, te(S.value), 7)
5410
5424
  ]),
5411
5425
  _: 1
5412
5426
  }, 8, ["disabled", "content"])
5413
5427
  ]),
5414
5428
  default: C(() => {
5415
- var k, x, S, A;
5429
+ var k, x, D, A;
5416
5430
  return [
5417
5431
  m.formItem.itemType === "label" ? (v(), $(ba, {
5418
5432
  key: 0,
5419
5433
  formItem: m.formItem,
5434
+ formModel: r.value,
5420
5435
  modelValue: h(fe)(r.value, m.formItem.keyName)
5421
- }, null, 8, ["formItem", "modelValue"])) : X("", !0),
5436
+ }, null, 8, ["formItem", "formModel", "modelValue"])) : X("", !0),
5422
5437
  m.formItem.itemType === "text_input" && m.formItem.inputType != "RE_PASSWORD" ? (v(), $(Zn, Ee({ key: 1 }, m.componentProps, {
5423
5438
  formItem: m.formItem,
5424
5439
  inputType: (x = (k = m.formItem) == null ? void 0 : k.inputType) == null ? void 0 : x.toLowerCase(),
@@ -5455,7 +5470,7 @@ const ks = ["id"], _s = /* @__PURE__ */ ue({
5455
5470
  "onUpdate:modelValue": w[4] || (w[4] = (T) => s(m.formItem.keyName, T))
5456
5471
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled"])) : X("", !0),
5457
5472
  m.formItem.itemType === "selector" || m.formItem.itemType === "multi_selector" ? (v(), $(ka, Ee({ key: 6 }, m.componentProps, {
5458
- key: (S = m.formItem.listData) == null ? void 0 : S.dataId,
5473
+ key: (D = m.formItem.listData) == null ? void 0 : D.dataId,
5459
5474
  modelValue: h(fe)(r.value, m.formItem.keyName),
5460
5475
  formItem: m.formItem,
5461
5476
  viewName: m.viewName,
@@ -5464,7 +5479,7 @@ const ks = ["id"], _s = /* @__PURE__ */ ue({
5464
5479
  placeholder: E.value,
5465
5480
  "onUpdate:modelValue": w[5] || (w[5] = (T) => s(m.formItem.keyName, T))
5466
5481
  }), null, 16, ["modelValue", "formItem", "viewName", "multiple", "disabled", "placeholder"])) : X("", !0),
5467
- m.formItem.itemType === "date_selector" || m.formItem.itemType === "time_selector" || m.formItem.itemType === "date_time_selector" ? (v(), $(_a, Ee({ key: 7 }, m.componentProps, {
5482
+ m.formItem.itemType === "date_selector" || m.formItem.itemType === "time_selector" || m.formItem.itemType === "date_time_selector" ? (v(), $(Ma, Ee({ key: 7 }, m.componentProps, {
5468
5483
  modelValue: h(fe)(r.value, m.formItem.keyName),
5469
5484
  formItem: m.formItem,
5470
5485
  viewName: m.viewName,
@@ -5480,7 +5495,7 @@ const ks = ["id"], _s = /* @__PURE__ */ ue({
5480
5495
  placeholder: E.value,
5481
5496
  "onUpdate:modelValue": w[7] || (w[7] = (T) => s(m.formItem.keyName, T))
5482
5497
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : X("", !0),
5483
- m.formItem.itemType === "tree_check_box" ? (v(), $(Ma, Ee({ key: 9 }, m.componentProps, {
5498
+ m.formItem.itemType === "tree_check_box" ? (v(), $(_a, Ee({ key: 9 }, m.componentProps, {
5484
5499
  modelValue: h(fe)(r.value, m.formItem.keyName),
5485
5500
  formItem: m.formItem,
5486
5501
  viewName: m.viewName,
@@ -5532,7 +5547,7 @@ const ks = ["id"], _s = /* @__PURE__ */ ue({
5532
5547
  };
5533
5548
  }
5534
5549
  });
5535
- const Cn = /* @__PURE__ */ pt(_s, [["__scopeId", "data-v-56963e7e"]]), Ms = ["id"], Da = /* @__PURE__ */ ue({
5550
+ const Cn = /* @__PURE__ */ ht(Ms, [["__scopeId", "data-v-9b1bb63e"]]), _s = ["id"], Da = /* @__PURE__ */ ue({
5536
5551
  __name: "GFormBlock",
5537
5552
  props: {
5538
5553
  name: {},
@@ -5568,7 +5583,7 @@ const Cn = /* @__PURE__ */ pt(_s, [["__scopeId", "data-v-56963e7e"]]), Ms = ["id
5568
5583
  id: o.value,
5569
5584
  ref_key: "blockRef",
5570
5585
  ref: l
5571
- }, null, 8, Ms));
5586
+ }, null, 8, _s));
5572
5587
  }
5573
5588
  }), Is = /* @__PURE__ */ ue({
5574
5589
  __name: "GDialogForm",
@@ -5582,7 +5597,7 @@ const Cn = /* @__PURE__ */ pt(_s, [["__scopeId", "data-v-56963e7e"]]), Ms = ["id
5582
5597
  const { T: o } = ke(), a = n, l = V(() => "280px"), r = V(() => {
5583
5598
  var P;
5584
5599
  return (P = a.board) == null ? void 0 : P.formItems;
5585
- }), u = Y({}), { handleItemShowIf: i } = ro({ formModel: u });
5600
+ }), u = Y({}), { handleItemShowIf: i } = so({ formModel: u });
5586
5601
  De(
5587
5602
  () => a.formData,
5588
5603
  () => {
@@ -5600,8 +5615,8 @@ const Cn = /* @__PURE__ */ pt(_s, [["__scopeId", "data-v-56963e7e"]]), Ms = ["id
5600
5615
  async function f() {
5601
5616
  let P = [];
5602
5617
  return p.value && (P = p == null ? void 0 : p.value.map((k) => {
5603
- const { formItem: x } = k, S = [];
5604
- return x.required && x.keyName && S.push({
5618
+ const { formItem: x } = k, D = [];
5619
+ return x.required && x.keyName && D.push({
5605
5620
  validator: () => {
5606
5621
  const A = fe(u.value, x.keyName);
5607
5622
  return wn(A) ? {
@@ -5610,27 +5625,27 @@ const Cn = /* @__PURE__ */ pt(_s, [["__scopeId", "data-v-56963e7e"]]), Ms = ["id
5610
5625
  } : { result: !0 };
5611
5626
  },
5612
5627
  trigger: "blur"
5613
- }), x.inputType === "RE_PASSWORD" && S.push({
5628
+ }), x.inputType === "RE_PASSWORD" && D.push({
5614
5629
  validator: () => ({
5615
5630
  result: fe(u.value, "password") === fe(u.value, "rePassword"),
5616
5631
  message: `${o.t("两次输入密码不一致")}`
5617
5632
  }),
5618
5633
  trigger: "blur"
5619
- }), (x.keyName === "startTime" || x.keyName === "endTime") && S.push({
5634
+ }), (x.keyName === "startTime" || x.keyName === "endTime") && D.push({
5620
5635
  validator: () => ({
5621
5636
  result: fe(u.value, "endTime") - fe(u.value, "startTime") > 0,
5622
5637
  message: `${o.t("结束时间不能早于开始时间")}`
5623
5638
  })
5624
5639
  }), {
5625
5640
  keyName: x.inputType !== "RE_PASSWORD" ? x.keyName : "rePassword",
5626
- rules: S
5641
+ rules: D
5627
5642
  };
5628
5643
  })), P == null ? void 0 : P.reduce((k, x) => (x.rules.length && (k[x.keyName] = x.rules), k), {});
5629
5644
  }
5630
5645
  const p = Y(), y = Y();
5631
5646
  function N(P, k, x) {
5632
- p.value && p.value.forEach((S) => {
5633
- S.formItemId && k.includes(S.formItemId) && S.$el.classList.contains(P) && S.setBlockShowFlag(x);
5647
+ p.value && p.value.forEach((D) => {
5648
+ D.formItemId && k.includes(D.formItemId) && D.$el.classList.contains(P) && D.setBlockShowFlag(x);
5634
5649
  });
5635
5650
  }
5636
5651
  Ue(async () => {
@@ -5640,13 +5655,13 @@ const Cn = /* @__PURE__ */ pt(_s, [["__scopeId", "data-v-56963e7e"]]), Ms = ["id
5640
5655
  je(u.value, P, k), s.value && E([P]);
5641
5656
  }
5642
5657
  async function E(P = []) {
5643
- var S;
5644
- const k = D();
5645
- return (P.length ? P.some((A) => k.includes(A)) : !0) ? (S = s.value) == null ? void 0 : S.validate({
5658
+ var D;
5659
+ const k = S();
5660
+ return (P.length ? P.some((A) => k.includes(A)) : !0) ? (D = s.value) == null ? void 0 : D.validate({
5646
5661
  fields: P.length ? P : k
5647
5662
  }) : Promise.resolve({});
5648
5663
  }
5649
- const D = () => {
5664
+ const S = () => {
5650
5665
  var P;
5651
5666
  return (P = p == null ? void 0 : p.value) == null ? void 0 : P.flatMap((k) => {
5652
5667
  const { formItem: x } = k;
@@ -5655,25 +5670,25 @@ const Cn = /* @__PURE__ */ pt(_s, [["__scopeId", "data-v-56963e7e"]]), Ms = ["id
5655
5670
  }, L = V(() => {
5656
5671
  var P;
5657
5672
  return (P = a.board) == null ? void 0 : P.okButton;
5658
- }), M = V(() => {
5673
+ }), _ = V(() => {
5659
5674
  var P;
5660
5675
  return (P = a.board) == null ? void 0 : P.cancelButton;
5661
5676
  }), I = t;
5662
5677
  function m(P) {
5663
5678
  for (const k in P) {
5664
- const x = P[k].find((S) => S.result === !1);
5679
+ const x = P[k].find((D) => D.result === !1);
5665
5680
  if (x)
5666
5681
  return { ...x };
5667
5682
  }
5668
5683
  return null;
5669
5684
  }
5670
5685
  function w(P) {
5671
- let k = Mn(P);
5686
+ let k = _n(P);
5672
5687
  const x = Object.keys(k);
5673
5688
  if (r.value && x.length) {
5674
- const S = r.value.filter((T) => T.itemType == "file" && T.fileUploadType == "path").map((T) => T.keyName);
5689
+ const D = r.value.filter((T) => T.itemType == "file" && T.fileUploadType == "path").map((T) => T.keyName);
5675
5690
  x.length && x.forEach((T) => {
5676
- S.includes(T) && k[T] && Ct(k[T]) && (k[T] = k[T].filter(
5691
+ D.includes(T) && k[T] && Ct(k[T]) && (k[T] = k[T].filter(
5677
5692
  (B) => B && B.url
5678
5693
  ));
5679
5694
  });
@@ -5684,7 +5699,7 @@ const Cn = /* @__PURE__ */ pt(_s, [["__scopeId", "data-v-56963e7e"]]), Ms = ["id
5684
5699
  }
5685
5700
  return k;
5686
5701
  }
5687
- function _(P) {
5702
+ function M(P) {
5688
5703
  switch (P.action) {
5689
5704
  case "CONFIRM": {
5690
5705
  E().then((k) => {
@@ -5725,7 +5740,7 @@ const Cn = /* @__PURE__ */ pt(_s, [["__scopeId", "data-v-56963e7e"]]), Ms = ["id
5725
5740
  formOkButtonLoading: U
5726
5741
  }), (P, k) => {
5727
5742
  const x = Q("t-button");
5728
- return v(), $(h(lo), {
5743
+ return v(), $(h(ro), {
5729
5744
  ref_key: "commonFormRef",
5730
5745
  ref: d,
5731
5746
  commonFormProps: {
@@ -5736,17 +5751,17 @@ const Cn = /* @__PURE__ */ pt(_s, [["__scopeId", "data-v-56963e7e"]]), Ms = ["id
5736
5751
  }
5737
5752
  }, {
5738
5753
  body: C(() => [
5739
- (v(!0), W(de, null, Se(r.value, (S) => (v(), W(de, {
5740
- key: `${S.name}_${S.keyName}`
5754
+ (v(!0), W(de, null, Se(r.value, (D) => (v(), W(de, {
5755
+ key: `${D.name}_${D.keyName}`
5741
5756
  }, [
5742
- S.itemType === "block_start" || S.itemType === "block_end" ? (v(), $(Da, {
5757
+ D.itemType === "block_start" || D.itemType === "block_end" ? (v(), $(Da, {
5743
5758
  key: 0,
5744
5759
  ref_for: !0,
5745
5760
  ref_key: "formBlockRef",
5746
5761
  ref: y,
5747
- name: S.name,
5748
- blockType: S.itemType,
5749
- showIf: h(i)(S.showIf),
5762
+ name: D.name,
5763
+ blockType: D.itemType,
5764
+ showIf: h(i)(D.showIf),
5750
5765
  onBlockShowIfChange: N
5751
5766
  }, null, 8, ["name", "blockType", "showIf"])) : (v(), $(Cn, {
5752
5767
  key: 1,
@@ -5754,32 +5769,32 @@ const Cn = /* @__PURE__ */ pt(_s, [["__scopeId", "data-v-56963e7e"]]), Ms = ["id
5754
5769
  ref_key: "formItemRef",
5755
5770
  ref: p,
5756
5771
  formModel: u.value,
5757
- formItem: S,
5772
+ formItem: D,
5758
5773
  viewName: P.viewName,
5759
5774
  onAfterUpdateValue: j
5760
5775
  }, null, 8, ["formModel", "formItem", "viewName"]))
5761
5776
  ], 64))), 128))
5762
5777
  ]),
5763
5778
  footer: C(() => {
5764
- var S;
5779
+ var D;
5765
5780
  return [
5766
- M.value && M.value.name != "" && M.value.action !== "NONE" ? (v(), $(x, {
5781
+ _.value && _.value.name != "" && _.value.action !== "NONE" ? (v(), $(x, {
5767
5782
  key: 0,
5768
5783
  theme: "default",
5769
- onClick: k[0] || (k[0] = (A) => M.value && _(M.value))
5784
+ onClick: k[0] || (k[0] = (A) => _.value && M(_.value))
5770
5785
  }, {
5771
5786
  default: C(() => {
5772
5787
  var A;
5773
5788
  return [
5774
- re(te((A = M.value) == null ? void 0 : A.name), 1)
5789
+ re(te((A = _.value) == null ? void 0 : A.name), 1)
5775
5790
  ];
5776
5791
  }),
5777
5792
  _: 1
5778
5793
  })) : X("", !0),
5779
- L.value && L.value.name != "" && ((S = L.value) == null ? void 0 : S.action) !== "NONE" ? (v(), $(x, {
5794
+ L.value && L.value.name != "" && ((D = L.value) == null ? void 0 : D.action) !== "NONE" ? (v(), $(x, {
5780
5795
  key: 1,
5781
5796
  theme: "primary",
5782
- onClick: k[1] || (k[1] = (A) => L.value && _(L.value)),
5797
+ onClick: k[1] || (k[1] = (A) => L.value && M(L.value)),
5783
5798
  loading: U.value
5784
5799
  }, {
5785
5800
  default: C(() => {
@@ -5811,20 +5826,20 @@ const Ls = /* @__PURE__ */ ue({
5811
5826
  },
5812
5827
  emits: ["close-dialog"],
5813
5828
  setup(n, { emit: e }) {
5814
- const t = Ko(() => Promise.resolve().then(() => ja)), { T: o } = ke(), a = rt(), l = n, r = V(() => {
5815
- var L, M, I;
5816
- return (L = l.board) != null && L.data ? (M = l.board) == null ? void 0 : M.data.dataId : (I = l.board) != null && I.tableData ? l.board.tableData.dataId : null;
5829
+ const t = Wo(() => Promise.resolve().then(() => ja)), { T: o } = ke(), a = rt(), l = n, r = V(() => {
5830
+ var L, _, I;
5831
+ return (L = l.board) != null && L.data ? (_ = l.board) == null ? void 0 : _.data.dataId : (I = l.board) != null && I.tableData ? l.board.tableData.dataId : null;
5817
5832
  }), u = V(() => {
5818
5833
  if (We(a.query))
5819
5834
  return {};
5820
5835
  {
5821
- const { viewName: L, ...M } = a.query;
5822
- return M;
5836
+ const { viewName: L, ..._ } = a.query;
5837
+ return _;
5823
5838
  }
5824
5839
  }), i = V(() => {
5825
- var M;
5840
+ var _;
5826
5841
  let L = {};
5827
- return l.dialogProps && ((M = Object.keys(l.dialogProps)) != null && M.length) && Object.assign(L, l.dialogProps), Object.assign(L, u.value), L;
5842
+ return l.dialogProps && ((_ = Object.keys(l.dialogProps)) != null && _.length) && Object.assign(L, l.dialogProps), Object.assign(L, u.value), L;
5828
5843
  }), d = V(() => {
5829
5844
  var L;
5830
5845
  return (L = l.board) == null ? void 0 : L.boardType;
@@ -5833,25 +5848,25 @@ const Ls = /* @__PURE__ */ ue({
5833
5848
  s("close-dialog");
5834
5849
  }
5835
5850
  const f = Y();
5836
- async function p(L, M) {
5851
+ async function p(L, _) {
5837
5852
  f.value && (f.value.formOkButtonLoading || (f.value.formOkButtonLoading = !0));
5838
5853
  let I = {};
5839
5854
  return Object.keys(i.value).length && Object.assign(I, i.value), Object.assign(I, L), (await ya({
5840
- buttonId: M,
5855
+ buttonId: _,
5841
5856
  props: I,
5842
5857
  viewName: l.viewName
5843
5858
  })).state === 200 ? (he.success(`${o.t("提交成功")}`), f.value && (f.value.formOkButtonLoading = !1), !0) : (f.value && (f.value.formOkButtonLoading = !1), !1);
5844
5859
  }
5845
- async function y(L, M) {
5846
- await p(L, M) && N();
5860
+ async function y(L, _) {
5861
+ await p(L, _) && N();
5847
5862
  }
5848
5863
  function N() {
5849
5864
  s("close-dialog");
5850
5865
  }
5851
5866
  const j = Y({}), E = Y(!1);
5852
- async function D() {
5867
+ async function S() {
5853
5868
  try {
5854
- if (E.value = !0, !dt(r.value) && !dt(l.viewName)) {
5869
+ if (E.value = !0, !mt(r.value) && !mt(l.viewName)) {
5855
5870
  const L = await tn({
5856
5871
  dataId: r.value,
5857
5872
  viewName: l.viewName,
@@ -5866,8 +5881,8 @@ const Ls = /* @__PURE__ */ ue({
5866
5881
  }
5867
5882
  }
5868
5883
  return Ue(() => {
5869
- d.value == "form" && D();
5870
- }), At(Ft, i.value), (L, M) => {
5884
+ d.value == "form" && S();
5885
+ }), At(Ft, i.value), (L, _) => {
5871
5886
  const I = Q("t-loading");
5872
5887
  return d.value !== "form" ? (v(), $(h(t), {
5873
5888
  from: "dialog",
@@ -5911,10 +5926,10 @@ const Ls = /* @__PURE__ */ ue({
5911
5926
  emits: ["update:isDialogVisible", "close-dialog"],
5912
5927
  setup(n, { emit: e }) {
5913
5928
  const { T: t } = ke();
5914
- Ko(() => Promise.resolve().then(() => ja));
5915
- const o = n, a = e, l = ao(), r = V(() => o.dialogViewInfo.view), u = V(() => o.dialogViewInfo.name), i = V(() => {
5916
- var D;
5917
- return ((D = o.dialogViewBoard) == null ? void 0 : D.boardType) ?? "default";
5929
+ Wo(() => Promise.resolve().then(() => ja));
5930
+ const o = n, a = e, l = lo(), r = V(() => o.dialogViewInfo.view), u = V(() => o.dialogViewInfo.name), i = V(() => {
5931
+ var S;
5932
+ return ((S = o.dialogViewBoard) == null ? void 0 : S.boardType) ?? "default";
5918
5933
  }), d = V(() => {
5919
5934
  switch (i.value) {
5920
5935
  case "table":
@@ -5927,33 +5942,33 @@ const Ls = /* @__PURE__ */ ue({
5927
5942
  return "80vw";
5928
5943
  }
5929
5944
  }), s = V(() => o.dialogViewProps.length ? l.getPropsByPropsKey(o.dialogViewProps) : []);
5930
- function c(D) {
5931
- a("update:isDialogVisible", D);
5945
+ function c(S) {
5946
+ a("update:isDialogVisible", S);
5932
5947
  }
5933
5948
  function f() {
5934
5949
  a("close-dialog");
5935
5950
  }
5936
- const p = mt(), y = V(() => {
5937
- const D = en(o.dialogViewInfo.link);
5951
+ const p = ft(), y = V(() => {
5952
+ const S = en(o.dialogViewInfo.link);
5938
5953
  let L = "";
5939
- if (D)
5954
+ if (S)
5940
5955
  L = wt(o.dialogViewInfo.link ?? "", {
5941
5956
  ...s
5942
5957
  });
5943
5958
  else {
5944
- const M = o.dialogViewInfo.link && p.resolve({ path: o.dialogViewInfo.link, query: { ...s.value } }).href;
5945
- L = `${location.origin}/${M}`;
5959
+ const _ = o.dialogViewInfo.link && p.resolve({ path: o.dialogViewInfo.link, query: { ...s.value } }).href;
5960
+ L = `${location.origin}/${_}`;
5946
5961
  }
5947
5962
  return o.dialogViewInfo.link ? L : "";
5948
5963
  }), N = Y(), j = Y(!0);
5949
5964
  function E() {
5950
5965
  j.value = !1;
5951
5966
  }
5952
- return (D, L) => {
5953
- const M = Q("t-loading");
5967
+ return (S, L) => {
5968
+ const _ = Q("t-loading");
5954
5969
  return v(), $(h(ma), {
5955
5970
  commonDialogProps: {
5956
- visible: D.isDialogVisible,
5971
+ visible: S.isDialogVisible,
5957
5972
  width: d.value,
5958
5973
  header: u.value,
5959
5974
  footer: !1,
@@ -5962,19 +5977,19 @@ const Ls = /* @__PURE__ */ ue({
5962
5977
  }
5963
5978
  }, {
5964
5979
  body: C(() => [
5965
- F(M, {
5966
- loading: D.dialogType === "iframe" && j.value,
5980
+ F(_, {
5981
+ loading: S.dialogType === "iframe" && j.value,
5967
5982
  size: "medium",
5968
5983
  text: `${h(t).t("加载中")}`
5969
5984
  }, {
5970
5985
  default: C(() => [
5971
- D.dialogType === "view" ? (v(), $(Ls, {
5986
+ S.dialogType === "view" ? (v(), $(Ls, {
5972
5987
  key: 0,
5973
5988
  viewName: r.value,
5974
- board: D.dialogViewBoard,
5989
+ board: S.dialogViewBoard,
5975
5990
  dialogProps: s.value,
5976
5991
  onCloseDialog: f
5977
- }, null, 8, ["viewName", "board", "dialogProps"])) : D.dialogType === "iframe" ? (v(), W("iframe", {
5992
+ }, null, 8, ["viewName", "board", "dialogProps"])) : S.dialogType === "iframe" ? (v(), W("iframe", {
5978
5993
  key: 1,
5979
5994
  class: "g-iframe",
5980
5995
  ref_key: "dialogIframeRef",
@@ -6006,7 +6021,7 @@ const Ns = Ye(Ds), Es = { class: "g-form" }, As = { class: "g-form-header" }, Fs
6006
6021
  const { T: o } = ke(), a = Ln(), l = kt(), r = ze(ia, ""), u = n, i = V(() => "280px"), d = V(() => {
6007
6022
  var B;
6008
6023
  return (B = u.board) == null ? void 0 : B.formItems;
6009
- }), s = Y({}), { handleItemShowIf: c } = ro({ formModel: s }), f = rt();
6024
+ }), s = Y({}), { handleItemShowIf: c } = so({ formModel: s }), f = rt();
6010
6025
  function p() {
6011
6026
  const B = a.getFormData(f.fullPath);
6012
6027
  B && Object.keys(B).length && Object.keys(s.value).forEach((g) => {
@@ -6033,7 +6048,7 @@ const Ns = Ye(Ds), Es = { class: "g-form" }, As = { class: "g-form-header" }, Fs
6033
6048
  var B;
6034
6049
  return (B = N.value) == null ? void 0 : B.tFormRef;
6035
6050
  }), E = Y({});
6036
- async function D() {
6051
+ async function S() {
6037
6052
  let B = [];
6038
6053
  return L.value && (B = L == null ? void 0 : L.value.map((g) => {
6039
6054
  const { formItem: b } = g, z = [];
@@ -6063,26 +6078,26 @@ const Ns = Ye(Ds), Es = { class: "g-form" }, As = { class: "g-form-header" }, Fs
6063
6078
  };
6064
6079
  })), B == null ? void 0 : B.reduce((g, b) => (b.rules.length && (g[b.keyName] = b.rules), g), {});
6065
6080
  }
6066
- const L = Y(), M = Y();
6081
+ const L = Y(), _ = Y();
6067
6082
  function I(B, g, b) {
6068
6083
  L.value && L.value.forEach((z) => {
6069
6084
  z.formItemId && g.includes(z.formItemId) && z.$el.classList.contains(B) && z.setBlockShowFlag(b);
6070
6085
  });
6071
6086
  }
6072
6087
  Ue(async () => {
6073
- E.value = await D();
6088
+ E.value = await S();
6074
6089
  });
6075
6090
  function m(B, g) {
6076
6091
  je(s.value, B, g), j.value && w([B]);
6077
6092
  }
6078
6093
  async function w(B = []) {
6079
6094
  var z;
6080
- const g = _();
6095
+ const g = M();
6081
6096
  return (B.length ? B.some((G) => g.includes(G)) : !0) ? (z = j.value) == null ? void 0 : z.validate({
6082
6097
  fields: B.length ? B : g
6083
6098
  }) : Promise.resolve({});
6084
6099
  }
6085
- const _ = () => {
6100
+ const M = () => {
6086
6101
  var B;
6087
6102
  return (B = L == null ? void 0 : L.value) == null ? void 0 : B.flatMap((g) => {
6088
6103
  const { formItem: b } = g;
@@ -6103,8 +6118,8 @@ const Ns = Ye(Ds), Es = { class: "g-form" }, As = { class: "g-form-header" }, Fs
6103
6118
  }
6104
6119
  return null;
6105
6120
  }
6106
- function S(B) {
6107
- let g = Mn(B);
6121
+ function D(B) {
6122
+ let g = _n(B);
6108
6123
  const b = Object.keys(g);
6109
6124
  if (d.value && b.length) {
6110
6125
  const z = d.value.filter((H) => H.itemType == "file" && H.fileUploadType == "path").map((H) => H.keyName);
@@ -6128,7 +6143,7 @@ const Ns = Ye(Ds), Es = { class: "g-form" }, As = { class: "g-form-header" }, Fs
6128
6143
  const b = x(g);
6129
6144
  he.warning(b == null ? void 0 : b.message);
6130
6145
  } else {
6131
- const b = S(s.value);
6146
+ const b = D(s.value);
6132
6147
  k("confirm-form", b, B.buttonId);
6133
6148
  }
6134
6149
  });
@@ -6140,7 +6155,7 @@ const Ns = Ye(Ds), Es = { class: "g-form" }, As = { class: "g-form-header" }, Fs
6140
6155
  const b = x(g);
6141
6156
  he.warning(b == null ? void 0 : b.message);
6142
6157
  } else {
6143
- const b = S(s.value);
6158
+ const b = D(s.value);
6144
6159
  k("confirm-and-close", b, B.buttonId);
6145
6160
  }
6146
6161
  });
@@ -6159,9 +6174,9 @@ const Ns = Ye(Ds), Es = { class: "g-form" }, As = { class: "g-form-header" }, Fs
6159
6174
  const T = Y(!1);
6160
6175
  return e({
6161
6176
  formOkButtonLoading: T
6162
- }), V(() => l.tabMenuList), Wo((B, g) => {
6177
+ }), V(() => l.tabMenuList), Yo((B, g) => {
6163
6178
  y(g.fullPath);
6164
- }), Yo((B, g) => {
6179
+ }), qo((B, g) => {
6165
6180
  y(g.fullPath);
6166
6181
  }), (B, g) => {
6167
6182
  const b = Q("t-button"), z = Q("t-space");
@@ -6211,7 +6226,7 @@ const Ns = Ye(Ds), Es = { class: "g-form" }, As = { class: "g-form-header" }, Fs
6211
6226
  _: 1
6212
6227
  })
6213
6228
  ]),
6214
- F(h(lo), {
6229
+ F(h(ro), {
6215
6230
  ref_key: "commonFormRef",
6216
6231
  ref: N,
6217
6232
  commonFormProps: {
@@ -6229,7 +6244,7 @@ const Ns = Ye(Ds), Es = { class: "g-form" }, As = { class: "g-form-header" }, Fs
6229
6244
  key: 0,
6230
6245
  ref_for: !0,
6231
6246
  ref_key: "formBlockRef",
6232
- ref: M,
6247
+ ref: _,
6233
6248
  name: G.name,
6234
6249
  blockType: G.itemType,
6235
6250
  showIf: h(c)(G.showIf),
@@ -6252,7 +6267,7 @@ const Ns = Ye(Ds), Es = { class: "g-form" }, As = { class: "g-form-header" }, Fs
6252
6267
  };
6253
6268
  }
6254
6269
  });
6255
- const Bs = /* @__PURE__ */ pt($s, [["__scopeId", "data-v-24093af1"]]), Ps = Ye(Bs), xs = /* @__PURE__ */ ue({
6270
+ const Bs = /* @__PURE__ */ ht($s, [["__scopeId", "data-v-24093af1"]]), Ps = Ye(Bs), xs = /* @__PURE__ */ ue({
6256
6271
  __name: "GHeaderUpload",
6257
6272
  props: {
6258
6273
  button: {},
@@ -6262,7 +6277,7 @@ const Bs = /* @__PURE__ */ pt($s, [["__scopeId", "data-v-24093af1"]]), Ps = Ye(B
6262
6277
  const { T: e } = ke(), t = n;
6263
6278
  function o(i) {
6264
6279
  var s, c;
6265
- const d = Mn(i);
6280
+ const d = _n(i);
6266
6281
  if (((s = t.button) == null ? void 0 : s.fileUploadType) == "file") {
6267
6282
  if (d.length && d.every((f) => f.status == "done")) {
6268
6283
  const { response: f, filename: p, url: y } = d[0];
@@ -6338,103 +6353,103 @@ const Bs = /* @__PURE__ */ pt($s, [["__scopeId", "data-v-24093af1"]]), Ps = Ye(B
6338
6353
  const {
6339
6354
  T: t
6340
6355
  } = ke(), o = n, a = e, l = V(() => {
6341
- var M;
6342
- return ((M = o.headerInfo) == null ? void 0 : M.buttons) || [];
6356
+ var _;
6357
+ return ((_ = o.headerInfo) == null ? void 0 : _.buttons) || [];
6343
6358
  });
6344
- function r(M) {
6345
- a("header-button-action", M);
6359
+ function r(_) {
6360
+ a("header-button-action", _);
6346
6361
  }
6347
6362
  const u = V(() => {
6348
- var M;
6349
- return (M = o.headerInfo.searchBar) == null ? void 0 : M.filters;
6363
+ var _;
6364
+ return (_ = o.headerInfo.searchBar) == null ? void 0 : _.filters;
6350
6365
  }), i = V(() => {
6351
- var M;
6352
- return Ct((M = o.headerInfo.searchBar) == null ? void 0 : M.filters) ? o.headerInfo.searchBar.filters.filter((I) => I.itemType !== "text_input") : [];
6366
+ var _;
6367
+ return Ct((_ = o.headerInfo.searchBar) == null ? void 0 : _.filters) ? o.headerInfo.searchBar.filters.filter((I) => I.itemType !== "text_input") : [];
6353
6368
  }), d = V(() => {
6354
- var M;
6355
- return Ct((M = o.headerInfo.searchBar) == null ? void 0 : M.filters) ? o.headerInfo.searchBar.filters.filter((I) => I.itemType === "text_input") : [];
6369
+ var _;
6370
+ return Ct((_ = o.headerInfo.searchBar) == null ? void 0 : _.filters) ? o.headerInfo.searchBar.filters.filter((I) => I.itemType === "text_input") : [];
6356
6371
  }), s = In({}, u.value), c = Y(Xe(s));
6357
6372
  let f = Y(0);
6358
- function p(M, I) {
6359
- je(c.value, M, I), f.value && clearTimeout(f.value), f.value = setTimeout(() => {
6373
+ function p(_, I) {
6374
+ je(c.value, _, I), f.value && clearTimeout(f.value), f.value = setTimeout(() => {
6360
6375
  Object.keys(c.value).forEach((m) => {
6361
6376
  (c.value[m] === "" || c.value[m] === null) && delete c.value[m];
6362
6377
  }), a("header-filter-change", c.value);
6363
6378
  }, 500);
6364
6379
  }
6365
- function y(M) {
6366
- return M.itemType == "selector" ? {
6380
+ function y(_) {
6381
+ return _.itemType == "selector" ? {
6367
6382
  filterable: !0
6368
- } : M.itemType == "text_input" ? {
6383
+ } : _.itemType == "text_input" ? {
6369
6384
  suffixIcon: () => F(Tl, null, null)
6370
6385
  } : {};
6371
6386
  }
6372
6387
  function N() {
6373
- Object.keys(c.value).forEach((M) => {
6374
- je(c.value, M, "");
6388
+ Object.keys(c.value).forEach((_) => {
6389
+ je(c.value, _, "");
6375
6390
  }), a("header-filter-change", c.value);
6376
6391
  }
6377
- const j = V(() => o.tableColumns && o.tableColumns.length ? o.tableColumns.map((M, I) => ({
6392
+ const j = V(() => o.tableColumns && o.tableColumns.length ? o.tableColumns.map((_, I) => ({
6378
6393
  disabled: I == 0 || I == o.tableColumns.length - 1,
6379
- label: M.title,
6380
- value: M.colKey
6394
+ label: _.title,
6395
+ value: _.colKey
6381
6396
  })) : []);
6382
- function E(M) {
6383
- a("display-columns-change", M);
6397
+ function E(_) {
6398
+ a("display-columns-change", _);
6384
6399
  }
6385
- const D = rt(), L = Ln();
6400
+ const S = rt(), L = Ln();
6386
6401
  return Ue(() => {
6387
- const M = L.getFormData(D.fullPath);
6388
- M != null && M.formData && (c.value = {
6389
- ...M.formData
6402
+ const _ = L.getFormData(S.fullPath);
6403
+ _ != null && _.formData && (c.value = {
6404
+ ..._.formData
6390
6405
  }, a("header-filter-change", c.value));
6391
- }), (M, I) => {
6406
+ }), (_, I) => {
6392
6407
  const m = Q("t-button"), w = Q("t-space");
6393
6408
  return v(), W("div", Vs, [F(w, {
6394
6409
  class: "g-header-button",
6395
6410
  size: "8px"
6396
6411
  }, {
6397
- default: C(() => [(v(!0), W(de, null, Se(l.value, (_) => (v(), W(de, {
6398
- key: _.buttonId
6399
- }, [_.action == "UPLOAD_FILE" ? (v(), $(xs, {
6412
+ default: C(() => [(v(!0), W(de, null, Se(l.value, (M) => (v(), W(de, {
6413
+ key: M.buttonId
6414
+ }, [M.action == "UPLOAD_FILE" ? (v(), $(xs, {
6400
6415
  key: 0,
6401
- button: _,
6402
- viewName: M.viewName
6416
+ button: M,
6417
+ viewName: _.viewName
6403
6418
  }, null, 8, ["button", "viewName"])) : (v(), $(m, {
6404
6419
  key: 1,
6405
6420
  theme: "primary",
6406
- onClick: (U) => r(_)
6421
+ onClick: (U) => r(M)
6407
6422
  }, {
6408
- default: C(() => [re(te(_.name), 1)]),
6423
+ default: C(() => [re(te(M.name), 1)]),
6409
6424
  _: 2
6410
6425
  }, 1032, ["onClick"]))], 64))), 128))]),
6411
6426
  _: 1
6412
6427
  }), i.value.length || d.value.length ? (v(), W("div", Os, [F(w, {
6413
6428
  size: "8px"
6414
6429
  }, {
6415
- default: C(() => [(v(!0), W(de, null, Se(i.value, (_, U) => (v(), W("div", {
6430
+ default: C(() => [(v(!0), W(de, null, Se(i.value, (M, U) => (v(), W("div", {
6416
6431
  key: U
6417
6432
  }, [F(Cn, {
6418
- formItem: _,
6433
+ formItem: M,
6419
6434
  formModel: c.value,
6420
- viewName: M.viewName,
6435
+ viewName: _.viewName,
6421
6436
  onAfterUpdateValue: p,
6422
6437
  isLabelNameShow: !1,
6423
- componentProps: y(_)
6438
+ componentProps: y(M)
6424
6439
  }, null, 8, ["formItem", "formModel", "viewName", "componentProps"])]))), 128))]),
6425
6440
  _: 1
6426
6441
  }), F(w, {
6427
6442
  size: "8px"
6428
6443
  }, {
6429
- default: C(() => [(v(!0), W(de, null, Se(d.value, (_, U) => (v(), W("div", {
6444
+ default: C(() => [(v(!0), W(de, null, Se(d.value, (M, U) => (v(), W("div", {
6430
6445
  key: U
6431
6446
  }, [F(Cn, {
6432
- formItem: _,
6447
+ formItem: M,
6433
6448
  formModel: c.value,
6434
- viewName: M.viewName,
6449
+ viewName: _.viewName,
6435
6450
  onAfterUpdateValue: p,
6436
6451
  isLabelNameShow: !1,
6437
- componentProps: y(_)
6452
+ componentProps: y(M)
6438
6453
  }, null, 8, ["formItem", "formModel", "viewName", "componentProps"])]))), 128)), F(m, {
6439
6454
  theme: "default",
6440
6455
  onClick: N
@@ -6443,7 +6458,7 @@ const Bs = /* @__PURE__ */ pt($s, [["__scopeId", "data-v-24093af1"]]), Ps = Ye(B
6443
6458
  _: 1
6444
6459
  }), F(h(ss), {
6445
6460
  columnOptions: j.value,
6446
- displayColumns: M.displayColumns,
6461
+ displayColumns: _.displayColumns,
6447
6462
  onConfirm: E
6448
6463
  }, null, 8, ["columnOptions", "displayColumns"])]),
6449
6464
  _: 1
@@ -6451,7 +6466,7 @@ const Bs = /* @__PURE__ */ pt($s, [["__scopeId", "data-v-24093af1"]]), Ps = Ye(B
6451
6466
  };
6452
6467
  }
6453
6468
  });
6454
- const Rs = /* @__PURE__ */ pt(Us, [["__scopeId", "data-v-0d8085b8"]]), js = Ye(Rs), zs = /* @__PURE__ */ ue({
6469
+ const Rs = /* @__PURE__ */ ht(Us, [["__scopeId", "data-v-0d8085b8"]]), js = Ye(Rs), zs = /* @__PURE__ */ ue({
6455
6470
  __name: "GTableForm",
6456
6471
  props: {
6457
6472
  col: {},
@@ -6482,8 +6497,9 @@ const Rs = /* @__PURE__ */ pt(Us, [["__scopeId", "data-v-0d8085b8"]]), js = Ye(R
6482
6497
  f.itemType === "label" ? (v(), $(ba, {
6483
6498
  key: 0,
6484
6499
  modelValue: h(fe)(u.value, s.col.colKey),
6485
- formItem: f
6486
- }, null, 8, ["modelValue", "formItem"])) : X("", !0),
6500
+ formItem: f,
6501
+ formModel: u.value
6502
+ }, null, 8, ["modelValue", "formItem", "formModel"])) : X("", !0),
6487
6503
  f.itemType == "text_input" ? (v(), $(Zn, {
6488
6504
  key: 1,
6489
6505
  formItem: f,
@@ -6531,7 +6547,7 @@ const Rs = /* @__PURE__ */ pt(Us, [["__scopeId", "data-v-0d8085b8"]]), js = Ye(R
6531
6547
  "onUpdate:modelValue": c[4] || (c[4] = (y) => s.col.colKey && i(s.col.colKey, y)),
6532
6548
  "onBlur:modelValue": (y) => d(f)
6533
6549
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : X("", !0),
6534
- f.itemType === "date_selector" || f.itemType === "time_selector" || f.itemType === "date_time_selector" ? (v(), $(_a, {
6550
+ f.itemType === "date_selector" || f.itemType === "time_selector" || f.itemType === "date_time_selector" ? (v(), $(Ma, {
6535
6551
  key: 6,
6536
6552
  originValue: h(fe)(s.row, s.col.colKey),
6537
6553
  modelValue: h(fe)(u.value, s.col.colKey),
@@ -6540,7 +6556,7 @@ const Rs = /* @__PURE__ */ pt(Us, [["__scopeId", "data-v-0d8085b8"]]), js = Ye(R
6540
6556
  "onUpdate:modelValue": c[5] || (c[5] = (y) => s.col.colKey && i(s.col.colKey, y)),
6541
6557
  "onBlur:modelValue": (y) => d(f)
6542
6558
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : X("", !0),
6543
- f.itemType === "tree_check_box" ? (v(), $(Ma, {
6559
+ f.itemType === "tree_check_box" ? (v(), $(_a, {
6544
6560
  key: 7,
6545
6561
  originValue: h(fe)(s.row, s.col.colKey),
6546
6562
  modelValue: h(fe)(u.value, s.col.colKey),
@@ -6591,7 +6607,7 @@ function ot(n) {
6591
6607
  if (typeof n != "string")
6592
6608
  throw new TypeError("Path must be a string. Received " + JSON.stringify(n));
6593
6609
  }
6594
- function Bo(n, e) {
6610
+ function Po(n, e) {
6595
6611
  for (var t = "", o = 0, a = -1, l = 0, r, u = 0; u <= n.length; ++u) {
6596
6612
  if (u < n.length)
6597
6613
  r = n.charCodeAt(u);
@@ -6635,13 +6651,13 @@ var Nt = {
6635
6651
  var l;
6636
6652
  a >= 0 ? l = arguments[a] : (o === void 0 && (o = process.cwd()), l = o), ot(l), l.length !== 0 && (e = l + "/" + e, t = l.charCodeAt(0) === 47);
6637
6653
  }
6638
- return e = Bo(e, !t), t ? e.length > 0 ? "/" + e : "/" : e.length > 0 ? e : ".";
6654
+ return e = Po(e, !t), t ? e.length > 0 ? "/" + e : "/" : e.length > 0 ? e : ".";
6639
6655
  },
6640
6656
  normalize: function(e) {
6641
6657
  if (ot(e), e.length === 0)
6642
6658
  return ".";
6643
6659
  var t = e.charCodeAt(0) === 47, o = e.charCodeAt(e.length - 1) === 47;
6644
- return e = Bo(e, !t), e.length === 0 && !t && (e = "."), e.length > 0 && o && (e += "/"), t ? "/" + e : e;
6660
+ return e = Po(e, !t), e.length === 0 && !t && (e = "."), e.length > 0 && o && (e += "/"), t ? "/" + e : e;
6645
6661
  },
6646
6662
  isAbsolute: function(e) {
6647
6663
  return ot(e), e.length > 0 && e.charCodeAt(0) === 47;
@@ -6821,7 +6837,7 @@ function Ys(n, {
6821
6837
  throw new RangeError(
6822
6838
  "Canvas has no associated contexts (try calling getContext or newPage first)"
6823
6839
  );
6824
- let D, L, M = e.replace(/{(\d*)}/g, (m, w) => (L = !0, w = parseInt(w, 10), D = isFinite(w) ? w : isFinite(D) ? D : -1, "{}")), I = a > 0 ? a - 1 : a < 0 ? E + a : void 0;
6840
+ let S, L, _ = e.replace(/{(\d*)}/g, (m, w) => (L = !0, w = parseInt(w, 10), S = isFinite(w) ? w : isFinite(S) ? S : -1, "{}")), I = a > 0 ? a - 1 : a < 0 ? E + a : void 0;
6825
6841
  if (isFinite(I) && I < 0 || I >= E)
6826
6842
  throw new RangeError(
6827
6843
  E == 1 ? `Canvas only has a ‘page 1’ (${I} is out of bounds)` : `Canvas has pages 1–${E} (${I} is out of bounds)`
@@ -6839,11 +6855,11 @@ function Ys(n, {
6839
6855
  throw new TypeError("The density option must be a non-negative integer");
6840
6856
  return i === void 0 ? i = !0 : N == "svg" && (i = !!i), {
6841
6857
  filename: e,
6842
- pattern: M,
6858
+ pattern: _,
6843
6859
  format: N,
6844
6860
  mime: j,
6845
6861
  pages: n,
6846
- padding: D,
6862
+ padding: S,
6847
6863
  quality: l,
6848
6864
  matte: r,
6849
6865
  density: u,
@@ -6931,20 +6947,20 @@ class En {
6931
6947
  }
6932
6948
  }
6933
6949
  En.encoder = new TextEncoder();
6934
- const so = (n, e, t, o) => {
6950
+ const io = (n, e, t, o) => {
6935
6951
  if (o) {
6936
6952
  let { width: a, height: l } = n, r = Object.assign(document.createElement("canvas"), { width: a, height: l }), u = r.getContext("2d");
6937
6953
  u.fillStyle = o, u.fillRect(0, 0, a, l), u.drawImage(n, 0, 0), n = r;
6938
6954
  }
6939
6955
  return new Promise((a, l) => n.toBlob(a, e, t));
6940
- }, qs = (...n) => so(...n).then((e) => e.arrayBuffer()), Qs = async (n, e, t, o, a) => {
6941
- Ea(a, await so(n, e, t, o));
6956
+ }, qs = (...n) => io(...n).then((e) => e.arrayBuffer()), Qs = async (n, e, t, o, a) => {
6957
+ Ea(a, await io(n, e, t, o));
6942
6958
  }, Xs = async (n, e, t, o, a, l, r) => {
6943
6959
  let u = (s) => l.replace("{}", String(s + 1).padStart(r, "0")), i = Na(a, ".zip") || "archive", d = new En(i);
6944
6960
  await Promise.all(
6945
6961
  n.map(async (s, c) => {
6946
6962
  let f = u(c);
6947
- await d.add(f, await so(s, e, t, o));
6963
+ await d.add(f, await io(s, e, t, o));
6948
6964
  })
6949
6965
  ), Ea(`${i}.zip`, d.blob);
6950
6966
  }, Ea = (n, e) => {
@@ -6955,7 +6971,7 @@ const so = (n, e, t, o) => {
6955
6971
  return o.canvas;
6956
6972
  let a = document.createElement("canvas"), l = a.getContext("2d"), r = o.canvas ? o.canvas : o;
6957
6973
  return a.width = r.width * e, a.height = r.height * e, t && (l.fillStyle = t, l.fillRect(0, 0, a.width, a.height)), l.scale(e, e), l.drawImage(r, 0, 0), a;
6958
- }), Js = { asBuffer: qs, asDownload: Qs, asZipDownload: Xs, atScale: Zs, options: Ys }, { asBuffer: jn, asDownload: ei, asZipDownload: ti, atScale: zn, options: Gn } = Js, Po = Symbol.for("toDataURL"), ni = (n) => new Promise(
6974
+ }), Js = { asBuffer: qs, asDownload: Qs, asZipDownload: Xs, atScale: Zs, options: Ys }, { asBuffer: jn, asDownload: ei, asZipDownload: ti, atScale: zn, options: Gn } = Js, xo = Symbol.for("toDataURL"), ni = (n) => new Promise(
6959
6975
  (e, t) => Object.assign(new Aa(), {
6960
6976
  crossOrigin: "Anonymous",
6961
6977
  onload: e,
@@ -7007,10 +7023,10 @@ let oi = class {
7007
7023
  let d = Gn(this.pages, { extension: u, ...i }), { mime: s, quality: c, matte: f, pages: p, density: y } = d, N = zn(p, y, f)[0];
7008
7024
  return jn(N, s, c, f);
7009
7025
  },
7010
- [Po]: o.toDataURL.bind(o),
7026
+ [xo]: o.toDataURL.bind(o),
7011
7027
  toDataURL(u = "png", i = {}) {
7012
7028
  i = typeof i == "number" ? { quality: i } : i;
7013
- let d = Gn(this.pages, { extension: u, ...i }), { mime: s, quality: c, matte: f, pages: p, density: y } = d, N = zn(p, y, f)[0], j = N[N === o ? Po : "toDataURL"](s, c);
7029
+ let d = Gn(this.pages, { extension: u, ...i }), { mime: s, quality: c, matte: f, pages: p, density: y } = d, N = zn(p, y, f)[0], j = N[N === o ? xo : "toDataURL"](s, c);
7014
7030
  return Promise.resolve(j);
7015
7031
  }
7016
7032
  });
@@ -7075,7 +7091,7 @@ const {
7075
7091
  for (var o = 0, a = 0; a < t; a++)
7076
7092
  o += n[e + a] && 2 ** (t - a - 1);
7077
7093
  return o;
7078
- }, io = (n) => (e) => {
7094
+ }, uo = (n) => (e) => {
7079
7095
  const t = nt()(e), o = new Array(8);
7080
7096
  for (var a = 0; a < 8; a++)
7081
7097
  o[7 - a] = !!(t & 1 << a);
@@ -7107,7 +7123,7 @@ const vi = Et(
7107
7123
  { codes: lt(2) },
7108
7124
  { byteSize: nt() },
7109
7125
  {
7110
- extras: io({
7126
+ extras: uo({
7111
7127
  future: { index: 0, length: 3 },
7112
7128
  disposal: { index: 3, length: 3 },
7113
7129
  userInput: { index: 6 },
@@ -7134,7 +7150,7 @@ const vi = Et(
7134
7150
  { width: It(!0) },
7135
7151
  { height: It(!0) },
7136
7152
  {
7137
- lct: io({
7153
+ lct: uo({
7138
7154
  exists: { index: 0 },
7139
7155
  interlaced: { index: 1 },
7140
7156
  sort: { index: 2 },
@@ -7197,7 +7213,7 @@ const vi = Et(
7197
7213
  { width: It(!0) },
7198
7214
  { height: It(!0) },
7199
7215
  {
7200
- gct: io({
7216
+ gct: uo({
7201
7217
  exists: { index: 0 },
7202
7218
  resolution: { index: 1, length: 3 },
7203
7219
  sort: { index: 4 },
@@ -7238,40 +7254,40 @@ const vi = Et(
7238
7254
  return t;
7239
7255
  }, ki = (n, e, t) => {
7240
7256
  const l = t;
7241
- var r, u, i, d, s, c, f, I, p, y, M, N, m, w, U, _;
7242
- const j = new Array(t), E = new Array(4096), D = new Array(4096), L = new Array(4096 + 1);
7257
+ var r, u, i, d, s, c, f, I, p, y, _, N, m, w, U, M;
7258
+ const j = new Array(t), E = new Array(4096), S = new Array(4096), L = new Array(4096 + 1);
7243
7259
  for (N = n, u = 1 << N, s = u + 1, r = u + 2, f = -1, d = N + 1, i = (1 << d) - 1, p = 0; p < u; p++)
7244
- E[p] = 0, D[p] = p;
7245
- var M, I, m, w, _, U;
7246
- for (M = I = m = w = _ = U = 0, y = 0; y < l; ) {
7260
+ E[p] = 0, S[p] = p;
7261
+ var _, I, m, w, M, U;
7262
+ for (_ = I = m = w = M = U = 0, y = 0; y < l; ) {
7247
7263
  if (w === 0) {
7248
7264
  if (I < d) {
7249
- M += e[U] << I, I += 8, U++;
7265
+ _ += e[U] << I, I += 8, U++;
7250
7266
  continue;
7251
7267
  }
7252
- if (p = M & i, M >>= d, I -= d, p > r || p == s)
7268
+ if (p = _ & i, _ >>= d, I -= d, p > r || p == s)
7253
7269
  break;
7254
7270
  if (p == u) {
7255
7271
  d = N + 1, i = (1 << d) - 1, r = u + 2, f = -1;
7256
7272
  continue;
7257
7273
  }
7258
7274
  if (f == -1) {
7259
- L[w++] = D[p], f = p, m = p;
7275
+ L[w++] = S[p], f = p, m = p;
7260
7276
  continue;
7261
7277
  }
7262
7278
  for (c = p, p == r && (L[w++] = m, p = f); p > u; )
7263
- L[w++] = D[p], p = E[p];
7264
- m = D[p] & 255, L[w++] = m, r < 4096 && (E[r] = f, D[r] = m, r++, !(r & i) && r < 4096 && (d++, i += r)), f = c;
7279
+ L[w++] = S[p], p = E[p];
7280
+ m = S[p] & 255, L[w++] = m, r < 4096 && (E[r] = f, S[r] = m, r++, !(r & i) && r < 4096 && (d++, i += r)), f = c;
7265
7281
  }
7266
- w--, j[_++] = L[w], y++;
7282
+ w--, j[M++] = L[w], y++;
7267
7283
  }
7268
- for (y = _; y < l; y++)
7284
+ for (y = M; y < l; y++)
7269
7285
  j[y] = 0;
7270
7286
  return j;
7271
- }, _i = (n) => {
7287
+ }, Mi = (n) => {
7272
7288
  const e = new Uint8Array(n);
7273
7289
  return Wt(pi(e), Ti);
7274
- }, Mi = (n) => {
7290
+ }, _i = (n) => {
7275
7291
  const e = n.pixels.length, t = new Uint8ClampedArray(e * 4);
7276
7292
  for (var o = 0; o < e; o++) {
7277
7293
  const a = o * 4, l = n.pixels[o], r = n.colorTable[l];
@@ -7295,7 +7311,7 @@ const vi = Et(
7295
7311
  height: n.image.descriptor.height
7296
7312
  }
7297
7313
  };
7298
- return o.descriptor.lct && o.descriptor.lct.exists ? r.colorTable = o.lct : r.colorTable = e, n.gce && (r.delay = (n.gce.delay || 10) * 10, r.disposalType = n.gce.extras.disposal, n.gce.extras.transparentColorGiven && (r.transparentIndex = n.gce.transparentColorIndex)), t && (r.patch = Mi(r)), r;
7314
+ return o.descriptor.lct && o.descriptor.lct.exists ? r.colorTable = o.lct : r.colorTable = e, n.gce && (r.delay = (n.gce.delay || 10) * 10, r.disposalType = n.gce.extras.disposal, n.gce.extras.transparentColorGiven && (r.transparentIndex = n.gce.transparentColorIndex)), t && (r.patch = _i(r)), r;
7299
7315
  }, Li = (n, e) => n.frames.filter((t) => t.image).map((t) => Ii(t, n.gct, e));
7300
7316
  function Si(n, e, t) {
7301
7317
  const o = Ba(e), a = n - 1;
@@ -7363,7 +7379,7 @@ class Ni {
7363
7379
  e.put(this.parsedData[t], 8);
7364
7380
  }
7365
7381
  }
7366
- class gt {
7382
+ class yt {
7367
7383
  constructor(e = -1, t = He.L) {
7368
7384
  this.moduleCount = 0, this.dataList = [], this.typeNumber = e, this.errorCorrectLevel = t, this.moduleCount = 0, this.dataList = [];
7369
7385
  }
@@ -7397,7 +7413,7 @@ class gt {
7397
7413
  for (let a = 0; a < this.moduleCount; a++)
7398
7414
  this.modules[o][a] = null;
7399
7415
  }
7400
- this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(e, t), this.typeNumber >= 7 && this.setupTypeNumber(e), this.dataCache == null && (this.dataCache = gt.createData(this.typeNumber, this.errorCorrectLevel, this.dataList)), this.mapData(this.dataCache, t);
7416
+ this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(e, t), this.typeNumber >= 7 && this.setupTypeNumber(e), this.dataCache == null && (this.dataCache = yt.createData(this.typeNumber, this.errorCorrectLevel, this.dataList)), this.mapData(this.dataCache, t);
7401
7417
  }
7402
7418
  setupPositionProbePattern(e, t) {
7403
7419
  for (let o = -1; o <= 7; o++)
@@ -7484,9 +7500,9 @@ class gt {
7484
7500
  throw new Error(`code length overflow. (${l.getLengthInBits()}>${u * 8})`);
7485
7501
  for (l.getLengthInBits() + 4 <= u * 8 && l.put(0, 4); l.getLengthInBits() % 8 != 0; )
7486
7502
  l.putBit(!1);
7487
- for (; !(l.getLengthInBits() >= u * 8 || (l.put(gt.PAD0, 8), l.getLengthInBits() >= u * 8)); )
7488
- l.put(gt.PAD1, 8);
7489
- return gt.createBytes(l, a);
7503
+ for (; !(l.getLengthInBits() >= u * 8 || (l.put(yt.PAD0, 8), l.getLengthInBits() >= u * 8)); )
7504
+ l.put(yt.PAD1, 8);
7505
+ return yt.createBytes(l, a);
7490
7506
  }
7491
7507
  static createBytes(e, t) {
7492
7508
  let o = 0, a = 0, l = 0;
@@ -7518,8 +7534,8 @@ class gt {
7518
7534
  return c;
7519
7535
  }
7520
7536
  }
7521
- gt.PAD0 = 236;
7522
- gt.PAD1 = 17;
7537
+ yt.PAD0 = 236;
7538
+ yt.PAD1 = 17;
7523
7539
  const He = { L: 1, M: 0, Q: 3, H: 2 }, Qe = { MODE_NUMBER: 1, MODE_ALPHA_NUM: 2, MODE_8BIT_BYTE: 4, MODE_KANJI: 8 }, it = {
7524
7540
  PATTERN000: 0,
7525
7541
  PATTERN001: 1,
@@ -8014,79 +8030,79 @@ const at = [
8014
8030
  [2809, 2213, 1579, 1219],
8015
8031
  [2953, 2331, 1663, 1273]
8016
8032
  ];
8017
- var Ai = 100, Oe = 256, xo = Oe - 1, ht = 4, Pa = 16, uo = 1 << Pa, xa = 10, co = 10, Fi = uo >> co, $i = uo << xa - co, Bi = Oe >> 3, eo = 6, Pi = 1 << eo, xi = Bi * Pi, Vi = 30, Va = 10, mn = 1 << Va, Oa = 8, Vo = 1 << Oa, Oi = Va + Oa, Bt = 1 << Oi, Oo = 499, Uo = 491, Ro = 487, Ua = 503, Ui = 3 * Ua;
8033
+ var Ai = 100, Oe = 256, Vo = Oe - 1, vt = 4, Pa = 16, co = 1 << Pa, xa = 10, mo = 10, Fi = co >> mo, $i = co << xa - mo, Bi = Oe >> 3, eo = 6, Pi = 1 << eo, xi = Bi * Pi, Vi = 30, Va = 10, mn = 1 << Va, Oa = 8, Oo = 1 << Oa, Oi = Va + Oa, Bt = 1 << Oi, Uo = 499, Ro = 491, jo = 487, Ua = 503, Ui = 3 * Ua;
8018
8034
  function Ri(n, e) {
8019
8035
  var t, o, a, l, r;
8020
8036
  function u() {
8021
8037
  t = [], o = new Int32Array(256), a = new Int32Array(Oe), l = new Int32Array(Oe), r = new Int32Array(Oe >> 3);
8022
- var E, D;
8038
+ var E, S;
8023
8039
  for (E = 0; E < Oe; E++)
8024
- D = (E << ht + 8) / Oe, t[E] = new Float64Array([D, D, D, 0]), l[E] = uo / Oe, a[E] = 0;
8040
+ S = (E << vt + 8) / Oe, t[E] = new Float64Array([S, S, S, 0]), l[E] = co / Oe, a[E] = 0;
8025
8041
  }
8026
8042
  function i() {
8027
8043
  for (var E = 0; E < Oe; E++)
8028
- t[E][0] >>= ht, t[E][1] >>= ht, t[E][2] >>= ht, t[E][3] = E;
8044
+ t[E][0] >>= vt, t[E][1] >>= vt, t[E][2] >>= vt, t[E][3] = E;
8029
8045
  }
8030
- function d(E, D, L, M, I) {
8031
- t[D][0] -= E * (t[D][0] - L) / mn, t[D][1] -= E * (t[D][1] - M) / mn, t[D][2] -= E * (t[D][2] - I) / mn;
8046
+ function d(E, S, L, _, I) {
8047
+ t[S][0] -= E * (t[S][0] - L) / mn, t[S][1] -= E * (t[S][1] - _) / mn, t[S][2] -= E * (t[S][2] - I) / mn;
8032
8048
  }
8033
- function s(E, D, L, M, I) {
8034
- for (var m = Math.abs(D - E), w = Math.min(D + E, Oe), _ = D + 1, U = D - 1, P = 1, k, x; _ < w || U > m; )
8035
- x = r[P++], _ < w && (k = t[_++], k[0] -= x * (k[0] - L) / Bt, k[1] -= x * (k[1] - M) / Bt, k[2] -= x * (k[2] - I) / Bt), U > m && (k = t[U--], k[0] -= x * (k[0] - L) / Bt, k[1] -= x * (k[1] - M) / Bt, k[2] -= x * (k[2] - I) / Bt);
8049
+ function s(E, S, L, _, I) {
8050
+ for (var m = Math.abs(S - E), w = Math.min(S + E, Oe), M = S + 1, U = S - 1, P = 1, k, x; M < w || U > m; )
8051
+ x = r[P++], M < w && (k = t[M++], k[0] -= x * (k[0] - L) / Bt, k[1] -= x * (k[1] - _) / Bt, k[2] -= x * (k[2] - I) / Bt), U > m && (k = t[U--], k[0] -= x * (k[0] - L) / Bt, k[1] -= x * (k[1] - _) / Bt, k[2] -= x * (k[2] - I) / Bt);
8036
8052
  }
8037
- function c(E, D, L) {
8038
- var M = 2147483647, I = M, m = -1, w = m, _, U, P, k, x;
8039
- for (_ = 0; _ < Oe; _++)
8040
- U = t[_], P = Math.abs(U[0] - E) + Math.abs(U[1] - D) + Math.abs(U[2] - L), P < M && (M = P, m = _), k = P - (a[_] >> Pa - ht), k < I && (I = k, w = _), x = l[_] >> co, l[_] -= x, a[_] += x << xa;
8053
+ function c(E, S, L) {
8054
+ var _ = 2147483647, I = _, m = -1, w = m, M, U, P, k, x;
8055
+ for (M = 0; M < Oe; M++)
8056
+ U = t[M], P = Math.abs(U[0] - E) + Math.abs(U[1] - S) + Math.abs(U[2] - L), P < _ && (_ = P, m = M), k = P - (a[M] >> Pa - vt), k < I && (I = k, w = M), x = l[M] >> mo, l[M] -= x, a[M] += x << xa;
8041
8057
  return l[m] += Fi, a[m] -= $i, w;
8042
8058
  }
8043
8059
  function f() {
8044
- var E, D, L, M, I, m, w = 0, _ = 0;
8060
+ var E, S, L, _, I, m, w = 0, M = 0;
8045
8061
  for (E = 0; E < Oe; E++) {
8046
- for (L = t[E], I = E, m = L[1], D = E + 1; D < Oe; D++)
8047
- M = t[D], M[1] < m && (I = D, m = M[1]);
8048
- if (M = t[I], E != I && (D = M[0], M[0] = L[0], L[0] = D, D = M[1], M[1] = L[1], L[1] = D, D = M[2], M[2] = L[2], L[2] = D, D = M[3], M[3] = L[3], L[3] = D), m != w) {
8049
- for (o[w] = _ + E >> 1, D = w + 1; D < m; D++)
8050
- o[D] = E;
8051
- w = m, _ = E;
8062
+ for (L = t[E], I = E, m = L[1], S = E + 1; S < Oe; S++)
8063
+ _ = t[S], _[1] < m && (I = S, m = _[1]);
8064
+ if (_ = t[I], E != I && (S = _[0], _[0] = L[0], L[0] = S, S = _[1], _[1] = L[1], L[1] = S, S = _[2], _[2] = L[2], L[2] = S, S = _[3], _[3] = L[3], L[3] = S), m != w) {
8065
+ for (o[w] = M + E >> 1, S = w + 1; S < m; S++)
8066
+ o[S] = E;
8067
+ w = m, M = E;
8052
8068
  }
8053
8069
  }
8054
- for (o[w] = _ + xo >> 1, D = w + 1; D < 256; D++)
8055
- o[D] = xo;
8070
+ for (o[w] = M + Vo >> 1, S = w + 1; S < 256; S++)
8071
+ o[S] = Vo;
8056
8072
  }
8057
- function p(E, D, L) {
8058
- for (var M, I, m, w = 1e3, _ = -1, U = o[D], P = U - 1; U < Oe || P >= 0; )
8059
- U < Oe && (I = t[U], m = I[1] - D, m >= w ? U = Oe : (U++, m < 0 && (m = -m), M = I[0] - E, M < 0 && (M = -M), m += M, m < w && (M = I[2] - L, M < 0 && (M = -M), m += M, m < w && (w = m, _ = I[3])))), P >= 0 && (I = t[P], m = D - I[1], m >= w ? P = -1 : (P--, m < 0 && (m = -m), M = I[0] - E, M < 0 && (M = -M), m += M, m < w && (M = I[2] - L, M < 0 && (M = -M), m += M, m < w && (w = m, _ = I[3]))));
8060
- return _;
8073
+ function p(E, S, L) {
8074
+ for (var _, I, m, w = 1e3, M = -1, U = o[S], P = U - 1; U < Oe || P >= 0; )
8075
+ U < Oe && (I = t[U], m = I[1] - S, m >= w ? U = Oe : (U++, m < 0 && (m = -m), _ = I[0] - E, _ < 0 && (_ = -_), m += _, m < w && (_ = I[2] - L, _ < 0 && (_ = -_), m += _, m < w && (w = m, M = I[3])))), P >= 0 && (I = t[P], m = S - I[1], m >= w ? P = -1 : (P--, m < 0 && (m = -m), _ = I[0] - E, _ < 0 && (_ = -_), m += _, m < w && (_ = I[2] - L, _ < 0 && (_ = -_), m += _, m < w && (w = m, M = I[3]))));
8076
+ return M;
8061
8077
  }
8062
8078
  function y() {
8063
- var E, D = n.length, L = 30 + (e - 1) / 3, M = D / (3 * e), I = ~~(M / Ai), m = mn, w = xi, _ = w >> eo;
8064
- for (_ <= 1 && (_ = 0), E = 0; E < _; E++)
8065
- r[E] = m * ((_ * _ - E * E) * Vo / (_ * _));
8079
+ var E, S = n.length, L = 30 + (e - 1) / 3, _ = S / (3 * e), I = ~~(_ / Ai), m = mn, w = xi, M = w >> eo;
8080
+ for (M <= 1 && (M = 0), E = 0; E < M; E++)
8081
+ r[E] = m * ((M * M - E * E) * Oo / (M * M));
8066
8082
  var U;
8067
- D < Ui ? (e = 1, U = 3) : D % Oo !== 0 ? U = 3 * Oo : D % Uo !== 0 ? U = 3 * Uo : D % Ro !== 0 ? U = 3 * Ro : U = 3 * Ua;
8068
- var P, k, x, S, A = 0;
8069
- for (E = 0; E < M; )
8070
- if (P = (n[A] & 255) << ht, k = (n[A + 1] & 255) << ht, x = (n[A + 2] & 255) << ht, S = c(P, k, x), d(m, S, P, k, x), _ !== 0 && s(_, S, P, k, x), A += U, A >= D && (A -= D), E++, I === 0 && (I = 1), E % I === 0)
8071
- for (m -= m / L, w -= w / Vi, _ = w >> eo, _ <= 1 && (_ = 0), S = 0; S < _; S++)
8072
- r[S] = m * ((_ * _ - S * S) * Vo / (_ * _));
8083
+ S < Ui ? (e = 1, U = 3) : S % Uo !== 0 ? U = 3 * Uo : S % Ro !== 0 ? U = 3 * Ro : S % jo !== 0 ? U = 3 * jo : U = 3 * Ua;
8084
+ var P, k, x, D, A = 0;
8085
+ for (E = 0; E < _; )
8086
+ if (P = (n[A] & 255) << vt, k = (n[A + 1] & 255) << vt, x = (n[A + 2] & 255) << vt, D = c(P, k, x), d(m, D, P, k, x), M !== 0 && s(M, D, P, k, x), A += U, A >= S && (A -= S), E++, I === 0 && (I = 1), E % I === 0)
8087
+ for (m -= m / L, w -= w / Vi, M = w >> eo, M <= 1 && (M = 0), D = 0; D < M; D++)
8088
+ r[D] = m * ((M * M - D * D) * Oo / (M * M));
8073
8089
  }
8074
8090
  function N() {
8075
8091
  u(), y(), i(), f();
8076
8092
  }
8077
8093
  this.buildColormap = N;
8078
8094
  function j() {
8079
- for (var E = [], D = [], L = 0; L < Oe; L++)
8080
- D[t[L][3]] = L;
8081
- for (var M = 0, I = 0; I < Oe; I++) {
8082
- var m = D[I];
8083
- E[M++] = t[m][0], E[M++] = t[m][1], E[M++] = t[m][2];
8095
+ for (var E = [], S = [], L = 0; L < Oe; L++)
8096
+ S[t[L][3]] = L;
8097
+ for (var _ = 0, I = 0; I < Oe; I++) {
8098
+ var m = S[I];
8099
+ E[_++] = t[m][0], E[_++] = t[m][1], E[_++] = t[m][2];
8084
8100
  }
8085
8101
  return E;
8086
8102
  }
8087
8103
  this.getColormap = j, this.lookupRGB = p;
8088
8104
  }
8089
- var jo = -1, fn = 12, Ht = 5003, ji = [
8105
+ var zo = -1, fn = 12, Ht = 5003, ji = [
8090
8106
  0,
8091
8107
  1,
8092
8108
  3,
@@ -8106,24 +8122,24 @@ var jo = -1, fn = 12, Ht = 5003, ji = [
8106
8122
  65535
8107
8123
  ];
8108
8124
  function zi(n, e, t, o) {
8109
- var a = Math.max(2, o), l = new Uint8Array(256), r = new Int32Array(Ht), u = new Int32Array(Ht), i, d = 0, s, c = 0, f, p = !1, y, N, j, E, D, L;
8110
- function M(S, A) {
8111
- l[s++] = S, s >= 254 && U(A);
8125
+ var a = Math.max(2, o), l = new Uint8Array(256), r = new Int32Array(Ht), u = new Int32Array(Ht), i, d = 0, s, c = 0, f, p = !1, y, N, j, E, S, L;
8126
+ function _(D, A) {
8127
+ l[s++] = D, s >= 254 && U(A);
8112
8128
  }
8113
- function I(S) {
8114
- m(Ht), c = N + 2, p = !0, x(N, S);
8129
+ function I(D) {
8130
+ m(Ht), c = N + 2, p = !0, x(N, D);
8115
8131
  }
8116
- function m(S) {
8117
- for (var A = 0; A < S; ++A)
8132
+ function m(D) {
8133
+ for (var A = 0; A < D; ++A)
8118
8134
  r[A] = -1;
8119
8135
  }
8120
- function w(S, A) {
8136
+ function w(D, A) {
8121
8137
  var T, B, g, b, z, G, H;
8122
- for (y = S, p = !1, L = y, f = P(L), N = 1 << S - 1, j = N + 1, c = N + 2, s = 0, b = k(), H = 0, T = Ht; T < 65536; T *= 2)
8138
+ for (y = D, p = !1, L = y, f = P(L), N = 1 << D - 1, j = N + 1, c = N + 2, s = 0, b = k(), H = 0, T = Ht; T < 65536; T *= 2)
8123
8139
  ++H;
8124
8140
  H = 8 - H, G = Ht, m(G), x(N, A);
8125
8141
  e:
8126
- for (; (B = k()) != jo; ) {
8142
+ for (; (B = k()) != zo; ) {
8127
8143
  if (T = (B << fn) + b, g = B << H ^ b, r[g] === T) {
8128
8144
  b = u[g];
8129
8145
  continue;
@@ -8140,32 +8156,32 @@ function zi(n, e, t, o) {
8140
8156
  }
8141
8157
  x(b, A), x(j, A);
8142
8158
  }
8143
- function _(S) {
8144
- S.writeByte(a), E = n * e, D = 0, w(a + 1, S), S.writeByte(0);
8159
+ function M(D) {
8160
+ D.writeByte(a), E = n * e, S = 0, w(a + 1, D), D.writeByte(0);
8145
8161
  }
8146
- function U(S) {
8147
- s > 0 && (S.writeByte(s), S.writeBytes(l, 0, s), s = 0);
8162
+ function U(D) {
8163
+ s > 0 && (D.writeByte(s), D.writeBytes(l, 0, s), s = 0);
8148
8164
  }
8149
- function P(S) {
8150
- return (1 << S) - 1;
8165
+ function P(D) {
8166
+ return (1 << D) - 1;
8151
8167
  }
8152
8168
  function k() {
8153
8169
  if (E === 0)
8154
- return jo;
8170
+ return zo;
8155
8171
  --E;
8156
- var S = t[D++];
8157
- return S & 255;
8172
+ var D = t[S++];
8173
+ return D & 255;
8158
8174
  }
8159
- function x(S, A) {
8160
- for (i &= ji[d], d > 0 ? i |= S << d : i = S, d += L; d >= 8; )
8161
- M(i & 255, A), i >>= 8, d -= 8;
8162
- if ((c > f || p) && (p ? (f = P(L = y), p = !1) : (++L, L == fn ? f = 1 << fn : f = P(L))), S == j) {
8175
+ function x(D, A) {
8176
+ for (i &= ji[d], d > 0 ? i |= D << d : i = D, d += L; d >= 8; )
8177
+ _(i & 255, A), i >>= 8, d -= 8;
8178
+ if ((c > f || p) && (p ? (f = P(L = y), p = !1) : (++L, L == fn ? f = 1 << fn : f = P(L))), D == j) {
8163
8179
  for (; d > 0; )
8164
- M(i & 255, A), i >>= 8, d -= 8;
8180
+ _(i & 255, A), i >>= 8, d -= 8;
8165
8181
  U(A);
8166
8182
  }
8167
8183
  }
8168
- this.encode = _;
8184
+ this.encode = M;
8169
8185
  }
8170
8186
  function qe() {
8171
8187
  this.page = -1, this.pages = [], this.newPage();
@@ -8301,11 +8317,11 @@ Fe.prototype.ditherPixels = function(n, e) {
8301
8317
  a = d * r + s;
8302
8318
  var f = a * 3, p = u[f], y = u[f + 1], N = u[f + 2];
8303
8319
  f = this.findClosestRGB(p, y, N), this.usedEntry[f] = !0, this.indexedPixels[a] = f, f *= 3;
8304
- for (var j = this.colorTab[f], E = this.colorTab[f + 1], D = this.colorTab[f + 2], L = p - j, M = y - E, I = N - D, m = i == 1 ? 0 : o.length - 1, w = i == 1 ? o.length : 0; m !== w; m += i) {
8305
- var _ = o[m][1], U = o[m][2];
8306
- if (_ + s >= 0 && _ + s < r && U + d >= 0 && U + d < l) {
8320
+ for (var j = this.colorTab[f], E = this.colorTab[f + 1], S = this.colorTab[f + 2], L = p - j, _ = y - E, I = N - S, m = i == 1 ? 0 : o.length - 1, w = i == 1 ? o.length : 0; m !== w; m += i) {
8321
+ var M = o[m][1], U = o[m][2];
8322
+ if (M + s >= 0 && M + s < r && U + d >= 0 && U + d < l) {
8307
8323
  var P = o[m][0];
8308
- f = a + _ + U * r, f *= 3, u[f] = Math.max(0, Math.min(255, u[f] + L * P)), u[f + 1] = Math.max(0, Math.min(255, u[f + 1] + M * P)), u[f + 2] = Math.max(0, Math.min(255, u[f + 2] + I * P));
8324
+ f = a + M + U * r, f *= 3, u[f] = Math.max(0, Math.min(255, u[f] + L * P)), u[f + 1] = Math.max(0, Math.min(255, u[f + 1] + _ * P)), u[f + 2] = Math.max(0, Math.min(255, u[f + 2] + I * P));
8309
8325
  }
8310
8326
  }
8311
8327
  }
@@ -8403,7 +8419,7 @@ var Gi = globalThis && globalThis.__awaiter || function(n, e, t, o) {
8403
8419
  });
8404
8420
  };
8405
8421
  const { Canvas: st } = mi, hn = 0.4;
8406
- function zo(n) {
8422
+ function Go(n) {
8407
8423
  if (!n)
8408
8424
  return;
8409
8425
  function e(t) {
@@ -8447,7 +8463,7 @@ class Le {
8447
8463
  throw new Error("dotScale should be in range (0, 1].");
8448
8464
  t.components.data.scale = t.dotScale, t.components.timing.scale = t.dotScale, t.components.alignment.scale = t.dotScale;
8449
8465
  }
8450
- this.options = t, this.canvas = new st(e.size, e.size), this.canvasContext = this.canvas.getContext("2d"), this.qrCode = new gt(-1, this.options.correctLevel), Number.isInteger(this.options.maskPattern) && (this.qrCode.maskPattern = this.options.maskPattern), Number.isInteger(this.options.version) && (this.qrCode.typeNumber = this.options.version), this.qrCode.addData(this.options.text), this.qrCode.make();
8466
+ this.options = t, this.canvas = new st(e.size, e.size), this.canvasContext = this.canvas.getContext("2d"), this.qrCode = new yt(-1, this.options.correctLevel), Number.isInteger(this.options.maskPattern) && (this.qrCode.maskPattern = this.options.maskPattern), Number.isInteger(this.options.version) && (this.qrCode.typeNumber = this.options.version), this.qrCode.addData(this.options.text), this.qrCode.make();
8451
8467
  }
8452
8468
  draw() {
8453
8469
  return new Promise((e) => this._draw().then(e));
@@ -8501,17 +8517,17 @@ class Le {
8501
8517
  })), e.fillStyle = d;
8502
8518
  }
8503
8519
  _draw() {
8504
- var e, t, o, a, l, r, u, i, d, s, c, f, p, y, N, j, E, D, L;
8520
+ var e, t, o, a, l, r, u, i, d, s, c, f, p, y, N, j, E, S, L;
8505
8521
  return Gi(this, void 0, void 0, function* () {
8506
- const M = (e = this.qrCode) === null || e === void 0 ? void 0 : e.moduleCount, I = this.options.size;
8522
+ const _ = (e = this.qrCode) === null || e === void 0 ? void 0 : e.moduleCount, I = this.options.size;
8507
8523
  let m = this.options.margin;
8508
8524
  (m < 0 || m * 2 >= I) && (m = 0);
8509
- const w = Math.ceil(m), _ = I - 2 * m, U = this.options.whiteMargin, P = this.options.backgroundDimming, k = Math.ceil(_ / M), x = k * M, S = x + 2 * w, A = new st(S, S), T = A.getContext("2d");
8525
+ const w = Math.ceil(m), M = I - 2 * m, U = this.options.whiteMargin, P = this.options.backgroundDimming, k = Math.ceil(M / _), x = k * _, D = x + 2 * w, A = new st(D, D), T = A.getContext("2d");
8510
8526
  this._clear(), T.save(), T.translate(w, w);
8511
- const B = new st(S, S), g = B.getContext("2d");
8527
+ const B = new st(D, D), g = B.getContext("2d");
8512
8528
  let b = null, z = [];
8513
8529
  if (this.options.gifBackground) {
8514
- const le = _i(this.options.gifBackground);
8530
+ const le = Mi(this.options.gifBackground);
8515
8531
  if (b = le, z = Li(le, !0), this.options.autoColor) {
8516
8532
  let ce = 0, ve = 0, we = 0, Ae = 0;
8517
8533
  for (let R = 0; R < z[0].colorTable.length; R++) {
@@ -8521,18 +8537,18 @@ class Le {
8521
8537
  ce = ~~(ce / Ae), ve = ~~(ve / Ae), we = ~~(we / Ae), this.options.colorDark = `rgb(${ce},${ve},${we})`;
8522
8538
  }
8523
8539
  } else if (this.options.backgroundImage) {
8524
- const le = yield zo(this.options.backgroundImage);
8540
+ const le = yield Go(this.options.backgroundImage);
8525
8541
  if (this.options.autoColor) {
8526
8542
  const ce = Le._getAverageRGB(le);
8527
8543
  this.options.colorDark = `rgb(${ce.r},${ce.g},${ce.b})`;
8528
8544
  }
8529
- g.drawImage(le, 0, 0, le.width, le.height, 0, 0, S, S), g.rect(0, 0, S, S), g.fillStyle = P, g.fill();
8545
+ g.drawImage(le, 0, 0, le.width, le.height, 0, 0, D, D), g.rect(0, 0, D, D), g.fillStyle = P, g.fill();
8530
8546
  } else
8531
- g.rect(0, 0, S, S), g.fillStyle = this.options.colorLight, g.fill();
8547
+ g.rect(0, 0, D, D), g.fillStyle = this.options.colorLight, g.fill();
8532
8548
  const G = Ne.getPatternPosition(this.qrCode.typeNumber), H = ((o = (t = this.options.components) === null || t === void 0 ? void 0 : t.data) === null || o === void 0 ? void 0 : o.scale) || hn, ae = (1 - H) * 0.5;
8533
- for (let le = 0; le < M; le++)
8534
- for (let ce = 0; ce < M; ce++) {
8535
- const ve = this.qrCode.isDark(le, ce), we = ce < 8 && (le < 8 || le >= M - 8) || ce >= M - 8 && le < 8, Ae = le == 6 && ce >= 8 && ce <= M - 8 || ce == 6 && le >= 8 && le <= M - 8;
8549
+ for (let le = 0; le < _; le++)
8550
+ for (let ce = 0; ce < _; ce++) {
8551
+ const ve = this.qrCode.isDark(le, ce), we = ce < 8 && (le < 8 || le >= _ - 8) || ce >= _ - 8 && le < 8, Ae = le == 6 && ce >= 8 && ce <= _ - 8 || ce == 6 && le >= 8 && le <= _ - 8;
8536
8552
  let R = we || Ae;
8537
8553
  for (let ye = 1; ye < G.length - 1; ye++)
8538
8554
  R = R || le >= G[ye] - 2 && le <= G[ye] + 2 && ce >= G[ye] - 2 && ce <= G[ye] + 2;
@@ -8540,12 +8556,12 @@ class Le {
8540
8556
  if (T.strokeStyle = ve ? this.options.colorDark : this.options.colorLight, T.lineWidth = 0.5, T.fillStyle = ve ? this.options.colorDark : this.options.colorLight, G.length === 0)
8541
8557
  R || T.fillRect(q, oe, (R ? 1 : H) * k, (R ? 1 : H) * k);
8542
8558
  else {
8543
- const ye = ce < M - 4 && ce >= M - 4 - 5 && le < M - 4 && le >= M - 4 - 5;
8559
+ const ye = ce < _ - 4 && ce >= _ - 4 - 5 && le < _ - 4 && le >= _ - 4 - 5;
8544
8560
  !R && !ye && T.fillRect(q, oe, (R ? 1 : H) * k, (R ? 1 : H) * k);
8545
8561
  }
8546
8562
  }
8547
8563
  const me = G[G.length - 1], J = this.options.colorLight;
8548
- if (T.fillStyle = J, T.fillRect(0, 0, 8 * k, 8 * k), T.fillRect(0, (M - 8) * k, 8 * k, 8 * k), T.fillRect((M - 8) * k, 0, 8 * k, 8 * k), !((l = (a = this.options.components) === null || a === void 0 ? void 0 : a.timing) === null || l === void 0) && l.protectors && (T.fillRect(8 * k, 6 * k, (M - 8 - 8) * k, k), T.fillRect(6 * k, 8 * k, k, (M - 8 - 8) * k)), !((u = (r = this.options.components) === null || r === void 0 ? void 0 : r.cornerAlignment) === null || u === void 0) && u.protectors && Le._drawAlignProtector(T, me, me, k), !((d = (i = this.options.components) === null || i === void 0 ? void 0 : i.alignment) === null || d === void 0) && d.protectors)
8564
+ if (T.fillStyle = J, T.fillRect(0, 0, 8 * k, 8 * k), T.fillRect(0, (_ - 8) * k, 8 * k, 8 * k), T.fillRect((_ - 8) * k, 0, 8 * k, 8 * k), !((l = (a = this.options.components) === null || a === void 0 ? void 0 : a.timing) === null || l === void 0) && l.protectors && (T.fillRect(8 * k, 6 * k, (_ - 8 - 8) * k, k), T.fillRect(6 * k, 8 * k, k, (_ - 8 - 8) * k)), !((u = (r = this.options.components) === null || r === void 0 ? void 0 : r.cornerAlignment) === null || u === void 0) && u.protectors && Le._drawAlignProtector(T, me, me, k), !((d = (i = this.options.components) === null || i === void 0 ? void 0 : i.alignment) === null || d === void 0) && d.protectors)
8549
8565
  for (let le = 0; le < G.length; le++)
8550
8566
  for (let ce = 0; ce < G.length; ce++) {
8551
8567
  const ve = G[ce], we = G[le];
@@ -8557,12 +8573,12 @@ class Le {
8557
8573
  Le._drawAlignProtector(T, ve, we, k);
8558
8574
  }
8559
8575
  }
8560
- T.fillStyle = this.options.colorDark, T.fillRect(0, 0, 7 * k, k), T.fillRect((M - 7) * k, 0, 7 * k, k), T.fillRect(0, 6 * k, 7 * k, k), T.fillRect((M - 7) * k, 6 * k, 7 * k, k), T.fillRect(0, (M - 7) * k, 7 * k, k), T.fillRect(0, (M - 7 + 6) * k, 7 * k, k), T.fillRect(0, 0, k, 7 * k), T.fillRect(6 * k, 0, k, 7 * k), T.fillRect((M - 7) * k, 0, k, 7 * k), T.fillRect((M - 7 + 6) * k, 0, k, 7 * k), T.fillRect(0, (M - 7) * k, k, 7 * k), T.fillRect(6 * k, (M - 7) * k, k, 7 * k), T.fillRect(2 * k, 2 * k, 3 * k, 3 * k), T.fillRect((M - 7 + 2) * k, 2 * k, 3 * k, 3 * k), T.fillRect(2 * k, (M - 7 + 2) * k, 3 * k, 3 * k);
8561
- const _e = ((c = (s = this.options.components) === null || s === void 0 ? void 0 : s.timing) === null || c === void 0 ? void 0 : c.scale) || hn, Re = (1 - _e) * 0.5;
8562
- for (let le = 0; le < M - 8; le += 2)
8563
- Le._drawDot(T, 8 + le, 6, k, Re, _e), Le._drawDot(T, 6, 8 + le, k, Re, _e);
8564
- const Me = ((p = (f = this.options.components) === null || f === void 0 ? void 0 : f.cornerAlignment) === null || p === void 0 ? void 0 : p.scale) || hn, ge = (1 - Me) * 0.5;
8565
- Le._drawAlign(T, me, me, k, ge, Me, this.options.colorDark, ((N = (y = this.options.components) === null || y === void 0 ? void 0 : y.cornerAlignment) === null || N === void 0 ? void 0 : N.protectors) || !1);
8576
+ T.fillStyle = this.options.colorDark, T.fillRect(0, 0, 7 * k, k), T.fillRect((_ - 7) * k, 0, 7 * k, k), T.fillRect(0, 6 * k, 7 * k, k), T.fillRect((_ - 7) * k, 6 * k, 7 * k, k), T.fillRect(0, (_ - 7) * k, 7 * k, k), T.fillRect(0, (_ - 7 + 6) * k, 7 * k, k), T.fillRect(0, 0, k, 7 * k), T.fillRect(6 * k, 0, k, 7 * k), T.fillRect((_ - 7) * k, 0, k, 7 * k), T.fillRect((_ - 7 + 6) * k, 0, k, 7 * k), T.fillRect(0, (_ - 7) * k, k, 7 * k), T.fillRect(6 * k, (_ - 7) * k, k, 7 * k), T.fillRect(2 * k, 2 * k, 3 * k, 3 * k), T.fillRect((_ - 7 + 2) * k, 2 * k, 3 * k, 3 * k), T.fillRect(2 * k, (_ - 7 + 2) * k, 3 * k, 3 * k);
8577
+ const Me = ((c = (s = this.options.components) === null || s === void 0 ? void 0 : s.timing) === null || c === void 0 ? void 0 : c.scale) || hn, Re = (1 - Me) * 0.5;
8578
+ for (let le = 0; le < _ - 8; le += 2)
8579
+ Le._drawDot(T, 8 + le, 6, k, Re, Me), Le._drawDot(T, 6, 8 + le, k, Re, Me);
8580
+ const _e = ((p = (f = this.options.components) === null || f === void 0 ? void 0 : f.cornerAlignment) === null || p === void 0 ? void 0 : p.scale) || hn, ge = (1 - _e) * 0.5;
8581
+ Le._drawAlign(T, me, me, k, ge, _e, this.options.colorDark, ((N = (y = this.options.components) === null || y === void 0 ? void 0 : y.cornerAlignment) === null || N === void 0 ? void 0 : N.protectors) || !1);
8566
8582
  const Ie = ((E = (j = this.options.components) === null || j === void 0 ? void 0 : j.alignment) === null || E === void 0 ? void 0 : E.scale) || hn, $e = (1 - Ie) * 0.5;
8567
8583
  for (let le = 0; le < G.length; le++)
8568
8584
  for (let ce = 0; ce < G.length; ce++) {
@@ -8572,14 +8588,14 @@ class Le {
8572
8588
  continue;
8573
8589
  if (ve === me && we === me)
8574
8590
  continue;
8575
- Le._drawAlign(T, ve, we, k, $e, Ie, this.options.colorDark, ((L = (D = this.options.components) === null || D === void 0 ? void 0 : D.alignment) === null || L === void 0 ? void 0 : L.protectors) || !1);
8591
+ Le._drawAlign(T, ve, we, k, $e, Ie, this.options.colorDark, ((L = (S = this.options.components) === null || S === void 0 ? void 0 : S.alignment) === null || L === void 0 ? void 0 : L.protectors) || !1);
8576
8592
  }
8577
8593
  }
8578
- if (U && (T.fillStyle = this.options.backgroundColor, T.fillRect(-w, -w, S, w), T.fillRect(-w, x, S, w), T.fillRect(x, -w, w, S), T.fillRect(-w, -w, w, S)), this.options.logoImage) {
8579
- const le = yield zo(this.options.logoImage);
8594
+ if (U && (T.fillStyle = this.options.backgroundColor, T.fillRect(-w, -w, D, w), T.fillRect(-w, x, D, w), T.fillRect(x, -w, w, D), T.fillRect(-w, -w, w, D)), this.options.logoImage) {
8595
+ const le = yield Go(this.options.logoImage);
8580
8596
  let ce = this.options.logoScale, ve = this.options.logoMargin, we = this.options.logoCornerRadius;
8581
8597
  (ce <= 0 || ce >= 1) && (ce = 0.2), ve < 0 && (ve = 0), we < 0 && (we = 0);
8582
- const Ae = x * ce, R = 0.5 * (S - Ae), q = R;
8598
+ const Ae = x * ce, R = 0.5 * (D - Ae), q = R;
8583
8599
  T.restore(), T.fillStyle = this.options.logoBackgroundColor, T.save(), Le._prepareRoundedCornerClip(T, R - ve, q - ve, Ae + 2 * ve, Ae + 2 * ve, we + ve), T.clip();
8584
8600
  const oe = T.globalCompositeOperation;
8585
8601
  T.globalCompositeOperation = "destination-out", T.fill(), T.globalCompositeOperation = oe, T.restore(), T.save(), Le._prepareRoundedCornerClip(T, R, q, Ae, Ae, we), T.clip(), T.drawImage(le, R, q, Ae, Ae), T.restore(), T.save(), T.translate(w, w);
@@ -8590,23 +8606,23 @@ class Le {
8590
8606
  le || (le = new Fe(I, I), le.setDelay(q.delay), le.setRepeat(0));
8591
8607
  const { width: oe, height: ye } = q.dims;
8592
8608
  ce || (ce = new st(oe, ye), ve = ce.getContext("2d"), ve.rect(0, 0, ce.width, ce.height), ve.fillStyle = "#ffffff", ve.fill()), (!we || !R || oe !== we.width || ye !== we.height) && (we = new st(oe, ye), Ae = we.getContext("2d"), R = Ae.createImageData(oe, ye)), R.data.set(q.patch), Ae.putImageData(R, 0, 0), ve.drawImage(we.getContext("2d").canvas, q.dims.left, q.dims.top);
8593
- const Te = new st(S, S), ie = Te.getContext("2d");
8594
- ie.drawImage(ce.getContext("2d").canvas, 0, 0, S, S), ie.rect(0, 0, S, S), ie.fillStyle = P, ie.fill(), ie.drawImage(A.getContext("2d").canvas, 0, 0, S, S);
8609
+ const Te = new st(D, D), ie = Te.getContext("2d");
8610
+ ie.drawImage(ce.getContext("2d").canvas, 0, 0, D, D), ie.rect(0, 0, D, D), ie.fillStyle = P, ie.fill(), ie.drawImage(A.getContext("2d").canvas, 0, 0, D, D);
8595
8611
  const O = new st(I, I), K = O.getContext("2d");
8596
8612
  K.drawImage(Te.getContext("2d").canvas, 0, 0, I, I), le.addFrame(K.getImageData(0, 0, O.width, O.height).data);
8597
8613
  }), !le)
8598
8614
  throw new Error("No frames.");
8599
- if (le.finish(), Go(this.canvas)) {
8615
+ if (le.finish(), Ho(this.canvas)) {
8600
8616
  const oe = le.stream().toFlattenUint8Array().reduce((ye, Te) => ye + String.fromCharCode(Te), "");
8601
8617
  return Promise.resolve(`data:image/gif;base64,${window.btoa(oe)}`);
8602
8618
  }
8603
8619
  return Promise.resolve(Buffer.from(le.stream().toFlattenUint8Array()));
8604
8620
  } else {
8605
- g.drawImage(A.getContext("2d").canvas, 0, 0, S, S), T.drawImage(B.getContext("2d").canvas, -w, -w, S, S);
8621
+ g.drawImage(A.getContext("2d").canvas, 0, 0, D, D), T.drawImage(B.getContext("2d").canvas, -w, -w, D, D);
8606
8622
  const le = new st(I, I);
8607
8623
  le.getContext("2d").drawImage(A.getContext("2d").canvas, 0, 0, I, I), this.canvas = le;
8608
8624
  const ve = this.options.gifBackground ? "gif" : "png";
8609
- return Go(this.canvas) ? Promise.resolve(this.canvas.toDataURL(ve)) : Promise.resolve(this.canvas.toBuffer(ve));
8625
+ return Ho(this.canvas) ? Promise.resolve(this.canvas.toDataURL(ve)) : Promise.resolve(this.canvas.toBuffer(ve));
8610
8626
  }
8611
8627
  });
8612
8628
  }
@@ -8648,7 +8664,7 @@ Le.defaultOptions = {
8648
8664
  logoBackgroundColor: "#ffffff",
8649
8665
  backgroundColor: "#ffffff"
8650
8666
  };
8651
- function Go(n) {
8667
+ function Ho(n) {
8652
8668
  try {
8653
8669
  return n instanceof HTMLElement;
8654
8670
  } catch {
@@ -8839,7 +8855,7 @@ function Wi(n, e, t, o, a, l) {
8839
8855
  src: a.imgUrl
8840
8856
  }, null, 8, Ki)) : X("", !0);
8841
8857
  }
8842
- const Yi = /* @__PURE__ */ pt(Hi, [["render", Wi]]);
8858
+ const Yi = /* @__PURE__ */ ht(Hi, [["render", Wi]]);
8843
8859
  function Ra(n = {}) {
8844
8860
  const e = Y(!1);
8845
8861
  return {
@@ -8872,8 +8888,8 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
8872
8888
  ],
8873
8889
  setup(n, { emit: e }) {
8874
8890
  const { T: t } = ke(), { reload: o, reloadFlag: a } = Ra(), l = n, r = e, u = V(() => {
8875
- var I, m, w, _;
8876
- return (m = (I = l.board) == null ? void 0 : I.tableData) != null && m.keyName ? (_ = (w = l.board) == null ? void 0 : w.tableData) == null ? void 0 : _.keyName : "";
8891
+ var I, m, w, M;
8892
+ return (m = (I = l.board) == null ? void 0 : I.tableData) != null && m.keyName ? (M = (w = l.board) == null ? void 0 : w.tableData) == null ? void 0 : M.keyName : "";
8877
8893
  }), i = Y([]);
8878
8894
  function d(I, m) {
8879
8895
  i.value = I, r("return-selected-key", i.value), r("return-selected-row", m.selectedRowData);
@@ -8896,7 +8912,7 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
8896
8912
  function p(I, m) {
8897
8913
  if (I.value != "")
8898
8914
  try {
8899
- return bt.render(I.value, { item: m });
8915
+ return dt.render(I.value, { item: m });
8900
8916
  } catch (w) {
8901
8917
  console.error("GTable returnValue Error", w);
8902
8918
  }
@@ -8904,31 +8920,31 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
8904
8920
  return Object.keys(f.value) ? Xl(m[I.keyName], f.value) : m[I.keyName];
8905
8921
  }
8906
8922
  function y(I) {
8907
- return !dt(I) && I !== "";
8923
+ return !mt(I) && I !== "";
8908
8924
  }
8909
8925
  const N = () => "<span class='empty'>----</span>";
8910
8926
  function j(I, m) {
8911
8927
  var w;
8912
8928
  if (!We(I.enums)) {
8913
- let _ = I.enums.filter((U) => {
8929
+ let M = I.enums.filter((U) => {
8914
8930
  if (m[I.keyName] == null && (m[I.keyName] = ""), U.value == String(m[I.keyName]))
8915
8931
  return U.text;
8916
8932
  });
8917
- return _.length ? (w = _.shift()) == null ? void 0 : w.text : y(m[I.keyName]) ? m[I.keyName] : N();
8933
+ return M.length ? (w = M.shift()) == null ? void 0 : w.text : y(m[I.keyName]) ? m[I.keyName] : N();
8918
8934
  }
8919
8935
  }
8920
8936
  function E(I, m) {
8921
8937
  if (I.value != "")
8922
- return bt.render(I.value, { item: m });
8938
+ return dt.render(I.value, { item: m });
8923
8939
  if (I.value == "")
8924
8940
  return y(m[I.keyName]) ? ct(m[I.keyName]).format("YYYY-MM-DD HH:mm:ss") : N();
8925
8941
  }
8926
- function D(I, m) {
8942
+ function S(I, m) {
8927
8943
  return I.filter((w) => {
8928
8944
  if (w.showIf != "1") {
8929
- let _, U;
8945
+ let M, U;
8930
8946
  try {
8931
- _ = bt.render(w.showIf, { item: m }), U = qn(_, { item: m });
8947
+ M = dt.render(w.showIf, { item: m }), U = qn(M, { item: m });
8932
8948
  } catch (P) {
8933
8949
  console.warn(P);
8934
8950
  }
@@ -8940,7 +8956,7 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
8940
8956
  function L(I, m) {
8941
8957
  r("table-button-action", I, m);
8942
8958
  }
8943
- function M(I, m) {
8959
+ function _(I, m) {
8944
8960
  r("table-form-confirm", I, m);
8945
8961
  }
8946
8962
  return De(
@@ -8948,7 +8964,7 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
8948
8964
  () => o(),
8949
8965
  { deep: !0 }
8950
8966
  ), (I, m) => {
8951
- const w = Q("t-button"), _ = Q("t-popup"), U = Q("t-image"), P = Q("t-image-viewer"), k = Q("t-space");
8967
+ const w = Q("t-button"), M = Q("t-popup"), U = Q("t-image"), P = Q("t-image-viewer"), k = Q("t-space");
8952
8968
  return h(a) ? X("", !0) : (v(), $(h(fa), {
8953
8969
  key: 0,
8954
8970
  class: "g-table",
@@ -8964,10 +8980,10 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
8964
8980
  tableLayout: "auto"
8965
8981
  }
8966
8982
  }, {
8967
- TEXT: C(({ col: x, row: S }) => [
8968
- y(p(x, S)) ? (v(), W("span", qi, [
8983
+ TEXT: C(({ col: x, row: D }) => [
8984
+ y(p(x, D)) ? (v(), W("span", qi, [
8969
8985
  ne("span", {
8970
- innerHTML: p(x, S),
8986
+ innerHTML: p(x, D),
8971
8987
  style: { "white-space": "pre-wrap" }
8972
8988
  }, null, 8, Qi)
8973
8989
  ])) : (v(), W("span", {
@@ -8975,25 +8991,25 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
8975
8991
  innerHTML: N()
8976
8992
  }, null, 8, Xi))
8977
8993
  ]),
8978
- ENUMS: C(({ col: x, row: S }) => [
8994
+ ENUMS: C(({ col: x, row: D }) => [
8979
8995
  ne("span", {
8980
- innerHTML: j(x, S)
8996
+ innerHTML: j(x, D)
8981
8997
  }, null, 8, Zi)
8982
8998
  ]),
8983
- DATE: C(({ col: x, row: S }) => [
8999
+ DATE: C(({ col: x, row: D }) => [
8984
9000
  ne("span", {
8985
- innerHTML: E(x, S)
9001
+ innerHTML: E(x, D)
8986
9002
  }, null, 8, Ji)
8987
9003
  ]),
8988
- QR_CODE: C(({ col: x, row: S }) => [
8989
- F(_, null, {
9004
+ QR_CODE: C(({ col: x, row: D }) => [
9005
+ F(M, null, {
8990
9006
  content: C(() => [
8991
9007
  F(Yi, {
8992
- text: p(x, S),
9008
+ text: p(x, D),
8993
9009
  size: 80,
8994
9010
  margin: 0
8995
9011
  }, null, 8, ["text"]),
8996
- ne("div", eu, te(S.code), 1)
9012
+ ne("div", eu, te(D.code), 1)
8997
9013
  ]),
8998
9014
  default: C(() => [
8999
9015
  F(w, {
@@ -9009,21 +9025,21 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
9009
9025
  _: 2
9010
9026
  }, 1024)
9011
9027
  ]),
9012
- FORM_ITEM: C(({ col: x, row: S }) => [
9028
+ FORM_ITEM: C(({ col: x, row: D }) => [
9013
9029
  F(zs, {
9014
9030
  viewName: I.viewName,
9015
9031
  col: x,
9016
- row: S,
9017
- onBlur: M
9032
+ row: D,
9033
+ onBlur: _
9018
9034
  }, null, 8, ["viewName", "col", "row"])
9019
9035
  ]),
9020
- IMAGE: C(({ col: x, row: S }) => [
9036
+ IMAGE: C(({ col: x, row: D }) => [
9021
9037
  ne("div", {
9022
9038
  class: Z(`${h(Pt)}__imageViewer`)
9023
9039
  }, [
9024
- p(x, S) ? (v(), $(P, {
9040
+ p(x, D) ? (v(), $(P, {
9025
9041
  key: 0,
9026
- images: [p(x, S)]
9042
+ images: [p(x, D)]
9027
9043
  }, {
9028
9044
  trigger: C(({ open: A }) => [
9029
9045
  ne("div", {
@@ -9031,7 +9047,7 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
9031
9047
  }, [
9032
9048
  F(U, {
9033
9049
  class: Z(`${h(Pt)}__imageViewer--image-img`),
9034
- src: p(x, S),
9050
+ src: p(x, D),
9035
9051
  shape: "round",
9036
9052
  fit: "scale-down"
9037
9053
  }, {
@@ -9072,14 +9088,14 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
9072
9088
  ], 2))
9073
9089
  ], 2)
9074
9090
  ]),
9075
- BUTTONS: C(({ col: x, row: S }) => [
9091
+ BUTTONS: C(({ col: x, row: D }) => [
9076
9092
  F(k, { size: "0" }, {
9077
9093
  default: C(() => [
9078
- (v(!0), W(de, null, Se(D(x.buttons, S), (A) => (v(), $(w, {
9094
+ (v(!0), W(de, null, Se(S(x.buttons, D), (A) => (v(), $(w, {
9079
9095
  theme: "primary",
9080
9096
  variant: "text",
9081
9097
  key: A.buttonId,
9082
- onClick: (T) => L(A, S)
9098
+ onClick: (T) => L(A, D)
9083
9099
  }, {
9084
9100
  default: C(() => [
9085
9101
  re(te(A.name), 1)
@@ -9095,14 +9111,14 @@ const qi = { key: 0 }, Qi = ["innerHTML"], Xi = ["innerHTML"], Zi = ["innerHTML"
9095
9111
  };
9096
9112
  }
9097
9113
  });
9098
- const ou = /* @__PURE__ */ pt(nu, [["__scopeId", "data-v-45aeff49"]]), au = /* @__PURE__ */ ue({
9114
+ const ou = /* @__PURE__ */ ht(nu, [["__scopeId", "data-v-45aeff49"]]), au = /* @__PURE__ */ ue({
9099
9115
  __name: "index",
9100
9116
  props: {
9101
9117
  viewName: {},
9102
9118
  board: {}
9103
9119
  },
9104
9120
  setup(n) {
9105
- const e = n, t = kt(), o = rt(), a = mt(), l = V(() => o.fullPath), r = V(() => {
9121
+ const e = n, t = kt(), o = rt(), a = ft(), l = V(() => o.fullPath), r = V(() => {
9106
9122
  var p;
9107
9123
  return (p = e == null ? void 0 : e.board) == null ? void 0 : p.tabs;
9108
9124
  }), u = Y(0), i = V(() => t.returnTabMenuItemActiveTab(l.value));
@@ -9138,20 +9154,20 @@ const ou = /* @__PURE__ */ pt(nu, [["__scopeId", "data-v-45aeff49"]]), au = /* @
9138
9154
  onChange: d
9139
9155
  }, {
9140
9156
  default: C(() => [
9141
- (v(!0), W(de, null, Se(r.value, (D, L) => (v(), $(j, {
9142
- key: `${L}${D.title}`,
9157
+ (v(!0), W(de, null, Se(r.value, (S, L) => (v(), $(j, {
9158
+ key: `${L}${S.title}`,
9143
9159
  value: L,
9144
- label: D.title,
9160
+ label: S.title,
9145
9161
  destroyOnHide: !0
9146
9162
  }, {
9147
9163
  default: C(() => [
9148
9164
  F(N, { bordered: !1 }, {
9149
9165
  content: C(() => [
9150
- D.board ? (v(), $(h(kn), {
9151
- key: D.title,
9166
+ S.board ? (v(), $(h(kn), {
9167
+ key: S.title,
9152
9168
  viewName: p.viewName,
9153
- board: D.board,
9154
- serverProps: D.serverProps,
9169
+ board: S.board,
9170
+ serverProps: S.serverProps,
9155
9171
  onCloseDialog: f
9156
9172
  }, null, 8, ["viewName", "board", "serverProps"])) : X("", !0)
9157
9173
  ]),
@@ -9178,7 +9194,7 @@ const lu = /* @__PURE__ */ ue({
9178
9194
  },
9179
9195
  emits: ["close-dialog"],
9180
9196
  setup(n, { emit: e }) {
9181
- const { T: t } = ke(), o = mt(), a = rt(), l = Ve(), r = oo(), u = ao(), i = n, { reload: d } = Ra(), s = e, c = V(() => {
9197
+ const { T: t } = ke(), o = ft(), a = rt(), l = Ve(), r = ao(), u = lo(), i = n, { reload: d } = Ra(), s = e, c = V(() => {
9182
9198
  var O;
9183
9199
  return (O = i.board) == null ? void 0 : O.boardType;
9184
9200
  }), f = V(() => {
@@ -9187,7 +9203,7 @@ const lu = /* @__PURE__ */ ue({
9187
9203
  }), p = Y([]), y = Y({}), N = V(() => {
9188
9204
  var O;
9189
9205
  return (O = i.board) == null ? void 0 : O.header;
9190
- }), j = Y({}), E = Y({}), D = V(
9206
+ }), j = Y({}), E = Y({}), S = V(
9191
9207
  () => {
9192
9208
  var O, K;
9193
9209
  return N.value && (Ct(N.value.buttons) && N.value.buttons.length || Ct((O = N.value.searchBar) == null ? void 0 : O.filters) && ((K = N.value.searchBar) == null ? void 0 : K.filters.length));
@@ -9199,7 +9215,7 @@ const lu = /* @__PURE__ */ ue({
9199
9215
  const { viewName: O, ...K } = a.query;
9200
9216
  return K;
9201
9217
  }
9202
- }), M = Y({
9218
+ }), _ = Y({
9203
9219
  count: 15,
9204
9220
  page: 0,
9205
9221
  totalCount: 0,
@@ -9207,24 +9223,24 @@ const lu = /* @__PURE__ */ ue({
9207
9223
  }), I = V(() => {
9208
9224
  var K, se;
9209
9225
  let O = {};
9210
- return N.value && j.value && Object.assign(O, j.value), i.dialogProps && ((K = Object.keys(i.dialogProps)) != null && K.length) && Object.assign(O, i.dialogProps), c.value === "table" && Object.assign(O, M.value), i.serverProps && ((se = Object.keys(i.serverProps)) != null && se.length) && Object.assign(O, i.serverProps), Object.assign(O, L.value), O;
9226
+ return N.value && j.value && Object.assign(O, j.value), i.dialogProps && ((K = Object.keys(i.dialogProps)) != null && K.length) && Object.assign(O, i.dialogProps), c.value === "table" && Object.assign(O, _.value), i.serverProps && ((se = Object.keys(i.serverProps)) != null && se.length) && Object.assign(O, i.serverProps), Object.assign(O, L.value), O;
9211
9227
  }), m = Y(!1), w = Y(!0);
9212
- async function _() {
9228
+ async function M() {
9213
9229
  var O;
9214
9230
  try {
9215
9231
  if (m.value = !0, w.value && i.from == "view" && c.value == "table") {
9216
9232
  const K = P.getFormData(a.fullPath);
9217
- K != null && K.pagination && (M.value = {
9233
+ K != null && K.pagination && (_.value = {
9218
9234
  ...K.pagination
9219
9235
  });
9220
9236
  }
9221
- if (!dt(f.value) && !dt(i.viewName)) {
9237
+ if (!mt(f.value) && !mt(i.viewName)) {
9222
9238
  const K = await tn({
9223
9239
  dataId: f.value,
9224
9240
  viewName: i.viewName,
9225
9241
  props: I.value
9226
9242
  });
9227
- K.state === 200 && K.data && (c.value == "table" && (M.value = {
9243
+ K.state === 200 && K.data && (c.value == "table" && (_.value = {
9228
9244
  count: K.data.count,
9229
9245
  page: K.data.page,
9230
9246
  pageCount: K.data.pageCount,
@@ -9238,34 +9254,34 @@ const lu = /* @__PURE__ */ ue({
9238
9254
  }
9239
9255
  }
9240
9256
  Ue(() => {
9241
- w.value = !0, _(), ve(), window.addEventListener("onUpdateMessage", (O) => {
9257
+ w.value = !0, M(), ve(), window.addEventListener("onUpdateMessage", (O) => {
9242
9258
  var se;
9243
9259
  const K = (se = O == null ? void 0 : O.detail) == null ? void 0 : se.args.dataId;
9244
- f.value === K && _();
9260
+ f.value === K && M();
9245
9261
  });
9246
9262
  });
9247
9263
  const U = kt(), P = Ln();
9248
9264
  function k(O) {
9249
- const K = Xe(j.value), se = Xe(M.value);
9265
+ const K = Xe(j.value), se = Xe(_.value);
9250
9266
  U.findExistTabMenuItem({ path: O }) && P.setFormData(O, {
9251
9267
  formData: K,
9252
9268
  pagination: se
9253
9269
  });
9254
9270
  }
9255
- Yo((O, K) => {
9271
+ qo((O, K) => {
9256
9272
  i.from != "dialog" && k(K.fullPath);
9257
- }), Wo((O, K) => {
9273
+ }), Yo((O, K) => {
9258
9274
  i.from != "dialog" && k(K.fullPath);
9259
9275
  }), De(
9260
9276
  () => i.board,
9261
9277
  async () => {
9262
- await _();
9278
+ await M();
9263
9279
  },
9264
9280
  {
9265
9281
  deep: !0
9266
9282
  }
9267
9283
  );
9268
- const x = Y(!1), S = Y(!1), A = Y(""), T = Y({}), B = Y(), g = Y();
9284
+ const x = Y(!1), D = Y(!1), A = Y(""), T = Y({}), B = Y(), g = Y();
9269
9285
  async function b(O, K = {}) {
9270
9286
  if ((O ?? "") != "") {
9271
9287
  K.viewName = O;
@@ -9282,7 +9298,7 @@ const lu = /* @__PURE__ */ ue({
9282
9298
  try {
9283
9299
  switch (O.action) {
9284
9300
  case "VIEW_BY_DIALOG": {
9285
- (O.view ?? "") != "" ? (A.value = "view", await b(O.view), T.value = O, u.initPropsSource({ ...K, ...i.serverProps }), await z(!0), S.value = !0) : (O.link ?? "") != "" && (A.value = "iframe", T.value = O, u.initPropsSource(K), B.value = {}, g.value = (se = O.props) == null ? void 0 : se.map((pe) => pe.keyName), await z(!0), S.value = !0);
9301
+ (O.view ?? "") != "" ? (A.value = "view", await b(O.view), T.value = O, u.initPropsSource({ ...K, ...i.serverProps }), await z(!0), D.value = !0) : (O.link ?? "") != "" && (A.value = "iframe", T.value = O, u.initPropsSource(K), B.value = {}, g.value = (se = O.props) == null ? void 0 : se.map((pe) => pe.keyName), await z(!0), D.value = !0);
9286
9302
  break;
9287
9303
  }
9288
9304
  case "VIEW": {
@@ -9300,7 +9316,7 @@ const lu = /* @__PURE__ */ ue({
9300
9316
  }
9301
9317
  case "CONFIRM": {
9302
9318
  let pe;
9303
- O.confirmMessage && O.confirmMessage != "" ? pe = bt.render(O.confirmMessage, { item: K }) : pe = `${t.t("是否进行%s")}`.replace("%s", `${O.name}`);
9319
+ O.confirmMessage && O.confirmMessage != "" ? pe = dt.render(O.confirmMessage, { item: K }) : pe = `${t.t("是否进行%s")}`.replace("%s", `${O.name}`);
9304
9320
  let be = {};
9305
9321
  O.props ? O.props.forEach((Je) => {
9306
9322
  Je.keyName && (K[Je.keyName] ?? "") != "" && (be[Je.keyName] = K[Je.keyName]);
@@ -9391,7 +9407,7 @@ const lu = /* @__PURE__ */ ue({
9391
9407
  (Ce = O == null ? void 0 : O.props) == null || Ce.forEach((xe) => {
9392
9408
  xe.keyName && (K[xe.keyName] ?? "") != "" && (pe[xe.keyName] = K[xe.keyName]);
9393
9409
  });
9394
- const be = _o.decode(bt.render(O.link, { item: K }));
9410
+ const be = _o.decode(dt.render(O.link, { item: K }));
9395
9411
  if (O.outLink) {
9396
9412
  const xe = wt(`${location.origin}${be}`, {
9397
9413
  ...pe,
@@ -9422,8 +9438,8 @@ const lu = /* @__PURE__ */ ue({
9422
9438
  let pe = {};
9423
9439
  if (O.props && O.props.forEach((be) => {
9424
9440
  be.keyName && (K[be.keyName] ?? "") != "" && (pe[be.keyName] = K[be.keyName]);
9425
- }), _e.value && _e.value.length > 0 && O.props && O.props.forEach((be) => {
9426
- _e.value.forEach((xe) => {
9441
+ }), Me.value && Me.value.length > 0 && O.props && O.props.forEach((be) => {
9442
+ Me.value.forEach((xe) => {
9427
9443
  if (be.keyName && fe(xe, be.keyName)) {
9428
9444
  const Je = fe(xe, be.keyName);
9429
9445
  pe[be.keyName] ? pe[be.keyName] = [
@@ -9439,13 +9455,13 @@ const lu = /* @__PURE__ */ ue({
9439
9455
  );
9440
9456
  if (be) {
9441
9457
  const { url: xe, filename: Je } = be;
9442
- Ao(xe, Je, "blob");
9458
+ Fo(xe, Je, "blob");
9443
9459
  }
9444
9460
  } else if ((O.downloadUrl ?? "") != "") {
9445
- const be = _o.decode(bt.render(O.downloadUrl, { item: K })), xe = wt(be, pe, !1);
9461
+ const be = _o.decode(dt.render(O.downloadUrl, { item: K })), xe = wt(be, pe, !1);
9446
9462
  if ((be ?? "") != "" && (xe ?? !1)) {
9447
9463
  const Je = be.split("/").slice(-1)[0];
9448
- Ao(xe, Je, "file");
9464
+ Fo(xe, Je, "file");
9449
9465
  } else
9450
9466
  he.info(`${t.t("未设置下载链接")}`);
9451
9467
  }
@@ -9460,12 +9476,12 @@ const lu = /* @__PURE__ */ ue({
9460
9476
  }
9461
9477
  function ae(O) {
9462
9478
  var se, ee;
9463
- j.value = O, M.value = {
9479
+ j.value = O, _.value = {
9464
9480
  count: 15,
9465
9481
  page: 0,
9466
9482
  totalCount: 0,
9467
9483
  pageCount: 0
9468
- }, _();
9484
+ }, M();
9469
9485
  let K = Xe(O);
9470
9486
  if (Object.keys(K).length)
9471
9487
  for (const Ce in K)
@@ -9476,13 +9492,13 @@ const lu = /* @__PURE__ */ ue({
9476
9492
  function J(O) {
9477
9493
  me.value = O;
9478
9494
  }
9479
- const _e = Y([]);
9495
+ const Me = Y([]);
9480
9496
  function Re(O) {
9481
- _e.value = O;
9497
+ Me.value = O;
9482
9498
  }
9483
- const Me = Y([]), ge = V(() => $e.value.length ? Me.value.filter(
9499
+ const _e = Y([]), ge = V(() => $e.value.length ? _e.value.filter(
9484
9500
  (K) => K.colKey == "row-select" || $e.value.indexOf(K.colKey) !== -1
9485
- ) : Me.value), Ie = Y([]), $e = Y([]), le = sa();
9501
+ ) : _e.value), Ie = Y([]), $e = Y([]), le = sa();
9486
9502
  async function ce(O) {
9487
9503
  const K = `${i.viewName}_${c.value}`;
9488
9504
  await le.setColumnData(K, O) && ($e.value = O, he.success(t.t("设置成功")), d());
@@ -9496,7 +9512,7 @@ const lu = /* @__PURE__ */ ue({
9496
9512
  } catch (be) {
9497
9513
  console.error("生成tableColumn出错", be);
9498
9514
  }
9499
- Me.value = ee, Ie.value = Ql(
9515
+ _e.value = ee, Ie.value = Ql(
9500
9516
  (se = i.board) == null ? void 0 : se.columns
9501
9517
  );
9502
9518
  const Ce = `${i.viewName}_${c.value}`, pe = le.getColumnData(Ce);
@@ -9506,10 +9522,10 @@ const lu = /* @__PURE__ */ ue({
9506
9522
  }
9507
9523
  }
9508
9524
  function we(O) {
9509
- Object.assign(M.value, {
9525
+ Object.assign(_.value, {
9510
9526
  page: O.current - 1,
9511
9527
  count: O.pageSize
9512
- }), _();
9528
+ }), M();
9513
9529
  }
9514
9530
  async function Ae(O, K) {
9515
9531
  G.value && (G.value.formOkButtonLoading || (G.value.formOkButtonLoading = !0));
@@ -9569,7 +9585,7 @@ const lu = /* @__PURE__ */ ue({
9569
9585
  }
9570
9586
  }
9571
9587
  function ye() {
9572
- S.value = !1, setTimeout(() => {
9588
+ D.value = !1, setTimeout(() => {
9573
9589
  z(!1);
9574
9590
  });
9575
9591
  }
@@ -9588,7 +9604,7 @@ const lu = /* @__PURE__ */ ue({
9588
9604
  size: "medium"
9589
9605
  }, {
9590
9606
  default: C(() => [
9591
- D.value ? (v(), $(h(js), {
9607
+ S.value ? (v(), $(h(js), {
9592
9608
  key: 0,
9593
9609
  viewName: O.viewName,
9594
9610
  board: O.board,
@@ -9617,7 +9633,7 @@ const lu = /* @__PURE__ */ ue({
9617
9633
  tableColumns: ge.value,
9618
9634
  displayColumns: $e.value,
9619
9635
  tableData: p.value,
9620
- paginationProps: M.value,
9636
+ paginationProps: _.value,
9621
9637
  headerFilterProps: E.value,
9622
9638
  onTableButtonAction: H,
9623
9639
  onTableFormConfirm: R,
@@ -9637,9 +9653,9 @@ const lu = /* @__PURE__ */ ue({
9637
9653
  key: 0,
9638
9654
  ref: "dialogRef",
9639
9655
  dialogType: A.value,
9640
- isDialogVisible: S.value,
9656
+ isDialogVisible: D.value,
9641
9657
  "onUpdate:isDialogVisible": [
9642
- K[0] || (K[0] = (ee) => S.value = ee),
9658
+ K[0] || (K[0] = (ee) => D.value = ee),
9643
9659
  ye
9644
9660
  ],
9645
9661
  dialogViewInfo: T.value,
@@ -9661,27 +9677,37 @@ const kn = Ye(lu), ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
9661
9677
  config: {}
9662
9678
  },
9663
9679
  setup(n) {
9664
- const e = mt(), t = rt(), o = Ve(), a = kt(), l = oo(), r = n, u = Y(""), i = V(() => o.isUserLogin), d = V(() => o.homeUrl);
9680
+ const e = ft(), t = rt(), o = Ve(), a = kt(), l = ao(), r = n, u = Y(""), i = V(() => o.isUserLogin), d = V(() => o.homeUrl);
9665
9681
  Jt(async () => {
9666
9682
  i.value || (await o.initUserConfig(r.config), await a.initTabMenu());
9667
9683
  }), Ue(async () => {
9668
- l.initSocket(), window.addEventListener("onSocketReload", () => {
9684
+ var S;
9685
+ if (l.initSocket(), window.addEventListener("onSocketReload", () => {
9669
9686
  o.toggleGlobalReload();
9670
- }), t.fullPath === "/view" && e.push(d.value);
9687
+ }), (S = t.query) != null && S.redirect) {
9688
+ const L = t.query, _ = decodeURIComponent(L.redirect), I = no.parse(_.split("?")[1]), m = _.split("?")[0];
9689
+ m === "/view" && Object.keys(I).length == 0 ? e.push(d.value) : e.push({
9690
+ path: m,
9691
+ query: {
9692
+ ...I
9693
+ }
9694
+ });
9695
+ } else
9696
+ t.fullPath === "/view" && e.push(d.value);
9671
9697
  });
9672
9698
  const s = V(() => {
9673
- var D;
9674
- return t.query && ((D = t.query) != null && D.viewName) ? t.query.viewName : null;
9699
+ var S;
9700
+ return t.query && ((S = t.query) != null && S.viewName) ? t.query.viewName : null;
9675
9701
  }), c = V(() => {
9676
9702
  if (We(t.query))
9677
9703
  return {};
9678
9704
  {
9679
- const { viewName: D, ...L } = t.query;
9705
+ const { viewName: S, ...L } = t.query;
9680
9706
  return L;
9681
9707
  }
9682
9708
  }), f = Y(), p = V(() => {
9683
- var D;
9684
- return ((D = f.value) == null ? void 0 : D.viewName) ?? "";
9709
+ var S;
9710
+ return ((S = f.value) == null ? void 0 : S.viewName) ?? "";
9685
9711
  });
9686
9712
  De(
9687
9713
  () => s.value,
@@ -9693,16 +9719,16 @@ const kn = Ye(lu), ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
9693
9719
  immediate: !0
9694
9720
  }
9695
9721
  );
9696
- async function y(D, L, M = void 0) {
9722
+ async function y(S, L, _ = void 0) {
9697
9723
  var w;
9698
9724
  const I = {};
9699
- I.viewName = D;
9725
+ I.viewName = S;
9700
9726
  let m = "";
9701
9727
  We(L) || (m = JSON.stringify(L)), I.props = m;
9702
9728
  try {
9703
- const _ = await ga(I);
9704
- if (_.state === 200 && _.data) {
9705
- f.value = _.data, u.value = (w = _.data) == null ? void 0 : w.title;
9729
+ const M = await ga(I);
9730
+ if (M.state === 200 && M.data) {
9731
+ f.value = M.data, u.value = (w = M.data) == null ? void 0 : w.title;
9706
9732
  const U = decodeURIComponent(t.fullPath);
9707
9733
  a.appendTabMenuItem({
9708
9734
  title: u.value,
@@ -9710,26 +9736,26 @@ const kn = Ye(lu), ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
9710
9736
  query: t.query
9711
9737
  });
9712
9738
  }
9713
- } catch (_) {
9714
- console.log("getOneViewApi", _);
9739
+ } catch (M) {
9740
+ console.log("getOneViewApi", M);
9715
9741
  }
9716
9742
  }
9717
9743
  const N = V(() => o.isGlobalLoaded), j = V(() => {
9718
- var D;
9719
- return ((D = f.value) == null ? void 0 : D.boards.map((L) => L.boardType)) ?? [];
9744
+ var S;
9745
+ return ((S = f.value) == null ? void 0 : S.boards.map((L) => L.boardType)) ?? [];
9720
9746
  }), E = V(() => {
9721
- var D;
9747
+ var S;
9722
9748
  return {
9723
- ...(D = j.value) != null && D.includes("tab") ? {
9749
+ ...(S = j.value) != null && S.includes("tab") ? {
9724
9750
  title: u.value
9725
9751
  } : {}
9726
9752
  };
9727
9753
  });
9728
- return At(ia, u), (D, L) => (v(), $(h(ca), Ee({ key: u.value }, E.value), {
9754
+ return At(ia, u), (S, L) => (v(), $(h(ca), Ee({ key: u.value }, E.value), {
9729
9755
  default: C(() => {
9730
- var M;
9756
+ var _;
9731
9757
  return [
9732
- N.value ? (v(!0), W(de, { key: 0 }, Se((M = f.value) == null ? void 0 : M.boards, (I) => {
9758
+ N.value ? (v(!0), W(de, { key: 0 }, Se((_ = f.value) == null ? void 0 : _.boards, (I) => {
9733
9759
  var m, w;
9734
9760
  return v(), $(h(kn), {
9735
9761
  key: `${(m = f.value) == null ? void 0 : m.viewName}_${I.boardType}`,
@@ -9749,7 +9775,7 @@ const kn = Ye(lu), ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
9749
9775
  * (c) 2023 tdesign
9750
9776
  * @license MIT
9751
9777
  */
9752
- var mo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
9778
+ var fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
9753
9779
  /**
9754
9780
  * tdesign v1.5.1
9755
9781
  * (c) 2023 tdesign
@@ -9759,7 +9785,7 @@ var su = { exports: {} };
9759
9785
  (function(n, e) {
9760
9786
  (function(t, o) {
9761
9787
  n.exports = o();
9762
- })(mo, function() {
9788
+ })(fo, function() {
9763
9789
  return {
9764
9790
  name: "en",
9765
9791
  weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
@@ -9985,13 +10011,13 @@ var iu = {
9985
10011
  * (c) 2023 tdesign
9986
10012
  * @license MIT
9987
10013
  */
9988
- function _n(n) {
10014
+ function Mn(n) {
9989
10015
  "@babel/helpers - typeof";
9990
- return _n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
10016
+ return Mn = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
9991
10017
  return typeof e;
9992
10018
  } : function(e) {
9993
10019
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
9994
- }, _n(n);
10020
+ }, Mn(n);
9995
10021
  }
9996
10022
  /**
9997
10023
  * tdesign v1.5.1
@@ -10002,8 +10028,8 @@ var za = { exports: {} };
10002
10028
  (function(n, e) {
10003
10029
  (function(t, o) {
10004
10030
  n.exports = o();
10005
- })(mo, function() {
10006
- var t = 1e3, o = 6e4, a = 36e5, l = "millisecond", r = "second", u = "minute", i = "hour", d = "day", s = "week", c = "month", f = "quarter", p = "year", y = "date", N = "Invalid Date", j = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, E = /\[([^\]]+)]|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, D = {
10031
+ })(fo, function() {
10032
+ var t = 1e3, o = 6e4, a = 36e5, l = "millisecond", r = "second", u = "minute", i = "hour", d = "day", s = "week", c = "month", f = "quarter", p = "year", y = "date", N = "Invalid Date", j = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, E = /\[([^\]]+)]|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, S = {
10007
10033
  name: "en",
10008
10034
  weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
10009
10035
  months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
@@ -10014,15 +10040,15 @@ var za = { exports: {} };
10014
10040
  }, L = function(A, T, B) {
10015
10041
  var g = String(A);
10016
10042
  return !g || g.length >= T ? A : "" + Array(T + 1 - g.length).join(B) + A;
10017
- }, M = {
10043
+ }, _ = {
10018
10044
  s: L,
10019
10045
  z: function(A) {
10020
10046
  var T = -A.utcOffset(), B = Math.abs(T), g = Math.floor(B / 60), b = B % 60;
10021
10047
  return (T <= 0 ? "+" : "-") + L(g, 2, "0") + ":" + L(b, 2, "0");
10022
10048
  },
10023
- m: function S(A, T) {
10049
+ m: function D(A, T) {
10024
10050
  if (A.date() < T.date())
10025
- return -S(T, A);
10051
+ return -D(T, A);
10026
10052
  var B = 12 * (T.year() - A.year()) + (T.month() - A.month()), g = A.clone().add(B, c), b = T - g < 0, z = A.clone().add(B + (b ? -1 : 1), c);
10027
10053
  return +(-(B + (T - g) / (b ? g - z : z - g)) || 0);
10028
10054
  },
@@ -10047,10 +10073,10 @@ var za = { exports: {} };
10047
10073
  return A === void 0;
10048
10074
  }
10049
10075
  }, I = "en", m = {};
10050
- m[I] = D;
10076
+ m[I] = S;
10051
10077
  var w = function(A) {
10052
10078
  return A instanceof k;
10053
- }, _ = function S(A, T, B) {
10079
+ }, M = function D(A, T, B) {
10054
10080
  var g;
10055
10081
  if (!A)
10056
10082
  return I;
@@ -10059,7 +10085,7 @@ var za = { exports: {} };
10059
10085
  m[b] && (g = b), T && (m[b] = T, g = b);
10060
10086
  var z = A.split("-");
10061
10087
  if (!g && z.length > 1)
10062
- return S(z[0]);
10088
+ return D(z[0]);
10063
10089
  } else {
10064
10090
  var G = A.name;
10065
10091
  m[G] = A, g = G;
@@ -10068,11 +10094,11 @@ var za = { exports: {} };
10068
10094
  }, U = function(A, T) {
10069
10095
  if (w(A))
10070
10096
  return A.clone();
10071
- var B = _n(T) == "object" ? T : {};
10097
+ var B = Mn(T) == "object" ? T : {};
10072
10098
  return B.date = A, B.args = arguments, new k(B);
10073
- }, P = M;
10074
- P.l = _, P.i = w, P.w = function(S, A) {
10075
- return U(S, {
10099
+ }, P = _;
10100
+ P.l = M, P.i = w, P.w = function(D, A) {
10101
+ return U(D, {
10076
10102
  locale: A.$L,
10077
10103
  utc: A.$u,
10078
10104
  x: A.$x,
@@ -10080,10 +10106,10 @@ var za = { exports: {} };
10080
10106
  });
10081
10107
  };
10082
10108
  var k = function() {
10083
- function S(T) {
10084
- this.$L = _(T.locale, null, !0), this.parse(T);
10109
+ function D(T) {
10110
+ this.$L = M(T.locale, null, !0), this.parse(T);
10085
10111
  }
10086
- var A = S.prototype;
10112
+ var A = D.prototype;
10087
10113
  return A.parse = function(T) {
10088
10114
  this.$d = function(B) {
10089
10115
  var g = B.date, b = B.utc;
@@ -10128,24 +10154,24 @@ var za = { exports: {} };
10128
10154
  return b ? le : le.endOf(d);
10129
10155
  }, H = function(Ie, $e) {
10130
10156
  return P.w(g.toDate()[Ie].apply(g.toDate("s"), (b ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($e)), g);
10131
- }, ae = this.$W, me = this.$M, J = this.$D, _e = "set" + (this.$u ? "UTC" : "");
10157
+ }, ae = this.$W, me = this.$M, J = this.$D, Me = "set" + (this.$u ? "UTC" : "");
10132
10158
  switch (z) {
10133
10159
  case p:
10134
10160
  return b ? G(1, 0) : G(31, 11);
10135
10161
  case c:
10136
10162
  return b ? G(1, me) : G(0, me + 1);
10137
10163
  case s:
10138
- var Re = this.$locale().weekStart || 0, Me = (ae < Re ? ae + 7 : ae) - Re;
10139
- return G(b ? J - Me : J + (6 - Me), me);
10164
+ var Re = this.$locale().weekStart || 0, _e = (ae < Re ? ae + 7 : ae) - Re;
10165
+ return G(b ? J - _e : J + (6 - _e), me);
10140
10166
  case d:
10141
10167
  case y:
10142
- return H(_e + "Hours", 0);
10168
+ return H(Me + "Hours", 0);
10143
10169
  case i:
10144
- return H(_e + "Minutes", 1);
10170
+ return H(Me + "Minutes", 1);
10145
10171
  case u:
10146
- return H(_e + "Seconds", 2);
10172
+ return H(Me + "Seconds", 2);
10147
10173
  case r:
10148
- return H(_e + "Milliseconds", 3);
10174
+ return H(Me + "Milliseconds", 3);
10149
10175
  default:
10150
10176
  return this.clone();
10151
10177
  }
@@ -10167,8 +10193,8 @@ var za = { exports: {} };
10167
10193
  var g, b = this;
10168
10194
  T = Number(T);
10169
10195
  var z = P.p(B), G = function(J) {
10170
- var _e = U(b);
10171
- return P.w(_e.date(_e.date() + Math.round(J * T)), b);
10196
+ var Me = U(b);
10197
+ return P.w(Me.date(Me.date() + Math.round(J * T)), b);
10172
10198
  };
10173
10199
  if (z === c)
10174
10200
  return this.set(c, this.$M + T);
@@ -10186,11 +10212,11 @@ var za = { exports: {} };
10186
10212
  var B = this, g = this.$locale();
10187
10213
  if (!this.isValid())
10188
10214
  return g.invalidDate || N;
10189
- var b = T || "YYYY-MM-DDTHH:mm:ssZ", z = P.z(this), G = this.$H, H = this.$m, ae = this.$M, me = g.weekdays, J = g.months, _e = g.meridiem, Re = function($e, le, ce, ve) {
10215
+ var b = T || "YYYY-MM-DDTHH:mm:ssZ", z = P.z(this), G = this.$H, H = this.$m, ae = this.$M, me = g.weekdays, J = g.months, Me = g.meridiem, Re = function($e, le, ce, ve) {
10190
10216
  return $e && ($e[le] || $e(B, b)) || ce[le].slice(0, ve);
10191
- }, Me = function($e) {
10217
+ }, _e = function($e) {
10192
10218
  return P.s(G % 12 || 12, $e, "0");
10193
- }, ge = _e || function(Ie, $e, le) {
10219
+ }, ge = Me || function(Ie, $e, le) {
10194
10220
  var ce = Ie < 12 ? "AM" : "PM";
10195
10221
  return le ? ce.toLowerCase() : ce;
10196
10222
  };
@@ -10226,9 +10252,9 @@ var za = { exports: {} };
10226
10252
  case "HH":
10227
10253
  return P.s(G, 2, "0");
10228
10254
  case "h":
10229
- return Me(1);
10255
+ return _e(1);
10230
10256
  case "hh":
10231
- return Me(2);
10257
+ return _e(2);
10232
10258
  case "a":
10233
10259
  return ge(G, H, !0);
10234
10260
  case "A":
@@ -10291,7 +10317,7 @@ var za = { exports: {} };
10291
10317
  }, A.locale = function(T, B) {
10292
10318
  if (!T)
10293
10319
  return this.$L;
10294
- var g = this.clone(), b = _(T, B, !0);
10320
+ var g = this.clone(), b = M(T, B, !0);
10295
10321
  return b && (g.$L = b), g;
10296
10322
  }, A.clone = function() {
10297
10323
  return P.w(this.$d, this);
@@ -10303,16 +10329,16 @@ var za = { exports: {} };
10303
10329
  return this.$d.toISOString();
10304
10330
  }, A.toString = function() {
10305
10331
  return this.$d.toUTCString();
10306
- }, S;
10332
+ }, D;
10307
10333
  }(), x = k.prototype;
10308
- return U.prototype = x, [["$ms", l], ["$s", r], ["$m", u], ["$H", i], ["$W", d], ["$M", c], ["$y", p], ["$D", y]].forEach(function(S) {
10309
- x[S[1]] = function(A) {
10310
- return this.$g(A, S[0], S[1]);
10334
+ return U.prototype = x, [["$ms", l], ["$s", r], ["$m", u], ["$H", i], ["$W", d], ["$M", c], ["$y", p], ["$D", y]].forEach(function(D) {
10335
+ x[D[1]] = function(A) {
10336
+ return this.$g(A, D[0], D[1]);
10311
10337
  };
10312
- }), U.extend = function(S, A) {
10313
- return S.$i || (S(A, k, U), S.$i = !0), U;
10314
- }, U.locale = _, U.isDayjs = w, U.unix = function(S) {
10315
- return U(1e3 * S);
10338
+ }), U.extend = function(D, A) {
10339
+ return D.$i || (D(A, k, U), D.$i = !0), U;
10340
+ }, U.locale = M, U.isDayjs = w, U.unix = function(D) {
10341
+ return U(1e3 * D);
10316
10342
  }, U.en = m[I], U.Ls = m, U.p = {}, U;
10317
10343
  });
10318
10344
  })(za);
@@ -10325,9 +10351,9 @@ var uu = { exports: {} };
10325
10351
  (function(n, e) {
10326
10352
  (function(t, o) {
10327
10353
  n.exports = o(za.exports);
10328
- })(mo, function(t) {
10354
+ })(fo, function(t) {
10329
10355
  function o(r) {
10330
- return r && _n(r) == "object" && "default" in r ? r : {
10356
+ return r && Mn(r) == "object" && "default" in r ? r : {
10331
10357
  default: r
10332
10358
  };
10333
10359
  }
@@ -10628,7 +10654,7 @@ const du = { class: "gConfigProvider" }, mu = /* @__PURE__ */ ue({
10628
10654
  }, 8, ["globalConfig"])
10629
10655
  ]));
10630
10656
  }
10631
- }), fu = Ye(mu), pu = "@gonsin/gview", hu = "2.0.89", vu = "dist/index.mjs", gu = "dist/types/index.d.ts", yu = [
10657
+ }), fu = Ye(mu), pu = "@gonsin/gview", hu = "2.0.91", vu = "dist/index.mjs", gu = "dist/types/index.d.ts", yu = [
10632
10658
  "dist",
10633
10659
  "README.md",
10634
10660
  "CHANGELOG.md"
@@ -10713,20 +10739,20 @@ const du = { class: "gConfigProvider" }, mu = /* @__PURE__ */ ue({
10713
10739
  scripts: bu,
10714
10740
  dependencies: wu,
10715
10741
  devDependencies: Tu
10716
- }, fo = {
10742
+ }, po = {
10717
10743
  getMenus: "/restapi/menus",
10718
10744
  saveMenus: "/restapi/menus"
10719
10745
  };
10720
10746
  function Cu(n) {
10721
- return Ze.put(fo.saveMenus, n);
10747
+ return Ze.put(po.saveMenus, n);
10722
10748
  }
10723
10749
  function ku() {
10724
- return Ze.post(fo.getMenus);
10750
+ return Ze.post(po.getMenus);
10725
10751
  }
10726
- function _u() {
10727
- return Ze.post(fo.getMenus, Xo.stringify({ currentMenu: !1 }));
10752
+ function Mu() {
10753
+ return Ze.post(po.getMenus, no.stringify({ currentMenu: !1 }));
10728
10754
  }
10729
- const Mu = [
10755
+ const _u = [
10730
10756
  {
10731
10757
  stem: "app",
10732
10758
  icon: "App"
@@ -11343,10 +11369,10 @@ const Mu = [
11343
11369
  type: "error"
11344
11370
  }
11345
11371
  ]
11346
- }, N = Y(), j = V(() => N.value.tTableRef), E = Y(), D = V(() => E.value.tFormRef), L = V(() => {
11372
+ }, N = Y(), j = V(() => N.value.tTableRef), E = Y(), S = V(() => E.value.tFormRef), L = V(() => {
11347
11373
  var R;
11348
11374
  return (R = j.value) == null ? void 0 : R.getTreeNode();
11349
- }), M = V(() => {
11375
+ }), _ = V(() => {
11350
11376
  switch (d.value) {
11351
11377
  case "addGroup":
11352
11378
  return `${e.t("添加菜单组")}`;
@@ -11364,10 +11390,10 @@ const Mu = [
11364
11390
  label: R.title,
11365
11391
  value: R.name
11366
11392
  }))
11367
- ), w = rt(), _ = kt();
11393
+ ), w = rt(), M = kt();
11368
11394
  function U() {
11369
11395
  const { fullPath: R, query: q } = w, oe = decodeURIComponent(R);
11370
- _.appendTabMenuItem({
11396
+ M.appendTabMenuItem({
11371
11397
  title: o.value,
11372
11398
  path: oe,
11373
11399
  query: q
@@ -11381,11 +11407,11 @@ const Mu = [
11381
11407
  label: `${R.title}-${R.url}`,
11382
11408
  value: R.url
11383
11409
  })));
11384
- function S(R) {
11410
+ function D(R) {
11385
11411
  return P.value.length ? P.value.some((q) => q.url === R.url) : !1;
11386
11412
  }
11387
11413
  async function A() {
11388
- const R = await _u();
11414
+ const R = await Mu();
11389
11415
  R.state == 200 ? P.value = k(R.data) : console.error(`getInnerMenuOptionList ${R.message}`);
11390
11416
  }
11391
11417
  Ue(() => {
@@ -11479,19 +11505,19 @@ const Mu = [
11479
11505
  }
11480
11506
  }
11481
11507
  function me(R) {
11482
- p.value = Xe(R), R.isGroup ? d.value = "editGroup" : (d.value = "editItem", p.value.isInner = S(R)), i.value = !0;
11508
+ p.value = Xe(R), R.isGroup ? d.value = "editGroup" : (d.value = "editItem", p.value.isInner = D(R)), i.value = !0;
11483
11509
  }
11484
11510
  function J(R) {
11485
11511
  p.value = Xe(R), i.value = !0, d.value = "moveItemTo";
11486
11512
  }
11487
- function _e() {
11513
+ function Me() {
11488
11514
  i.value = !1, setTimeout(() => {
11489
11515
  Re();
11490
11516
  }, 100);
11491
11517
  }
11492
11518
  function Re() {
11493
11519
  var R;
11494
- (R = D.value) == null || R.reset(), p.value = {
11520
+ (R = S.value) == null || R.reset(), p.value = {
11495
11521
  edificeKey: l.value,
11496
11522
  parent: null,
11497
11523
  name: "",
@@ -11504,9 +11530,9 @@ const Mu = [
11504
11530
  children: []
11505
11531
  };
11506
11532
  }
11507
- function Me() {
11533
+ function _e() {
11508
11534
  var R;
11509
- (R = D.value) == null || R.validate().then((q) => {
11535
+ (R = S.value) == null || R.validate().then((q) => {
11510
11536
  var oe, ye, Te, ie, O, K, se;
11511
11537
  if (!Object.keys(q).length)
11512
11538
  d.value == "addGroup" ? (p.value.edificeKey = l.value, p.value.children && ((oe = p.value.children) != null && oe.length) && p.value.children.forEach((ee) => {
@@ -11520,7 +11546,7 @@ const Mu = [
11520
11546
  ), he.success(`${e.t("编辑菜单成功!")}`))) : d.value == "moveItemTo" && (ge(
11521
11547
  p.value.name,
11522
11548
  p.value.parent
11523
- ), he.success(`${e.t("转移组成功!")}`)), b(), _e();
11549
+ ), he.success(`${e.t("转移组成功!")}`)), b(), Me();
11524
11550
  else {
11525
11551
  const ee = (se = (K = Object.values(q)[0]) == null ? void 0 : K.filter(
11526
11552
  (Ce) => Ce.result === !1
@@ -11717,10 +11743,10 @@ const Mu = [
11717
11743
  }
11718
11744
  }, {
11719
11745
  treeExpandAndFoldIcon: C(({ type: ee }) => [
11720
- ee === "expand" ? (v(), $(h(kl), { key: 0 })) : (v(), $(h(_l), { key: 1 }))
11746
+ ee === "expand" ? (v(), $(h(kl), { key: 0 })) : (v(), $(h(Ml), { key: 1 }))
11721
11747
  ]),
11722
11748
  drag: C(() => [
11723
- F(h(Ml))
11749
+ F(h(_l))
11724
11750
  ]),
11725
11751
  title: C(({ row: ee }) => [
11726
11752
  ne("span", Iu, [
@@ -11733,7 +11759,7 @@ const Mu = [
11733
11759
  class: "title-icon",
11734
11760
  name: ee.icon,
11735
11761
  size: "large"
11736
- }, null, 8, ["name"])) : (v(), $(h(vt), {
11762
+ }, null, 8, ["name"])) : (v(), $(h(gt), {
11737
11763
  key: 1,
11738
11764
  class: "title-icon",
11739
11765
  size: "large"
@@ -11805,14 +11831,14 @@ const Mu = [
11805
11831
  F(h(ma), {
11806
11832
  commonDialogProps: {
11807
11833
  visible: i.value,
11808
- onClose: _e,
11809
- header: M.value,
11834
+ onClose: Me,
11835
+ header: _.value,
11810
11836
  footer: !1,
11811
11837
  width: "650px"
11812
11838
  }
11813
11839
  }, {
11814
11840
  default: C(() => [
11815
- F(h(lo), {
11841
+ F(h(ro), {
11816
11842
  ref_key: "commonFormRef",
11817
11843
  ref: E,
11818
11844
  commonFormProps: {
@@ -11825,14 +11851,14 @@ const Mu = [
11825
11851
  footer: C(() => [
11826
11852
  F(oe, {
11827
11853
  theme: "default",
11828
- onClick: _e
11854
+ onClick: Me
11829
11855
  }, {
11830
11856
  default: C(() => [
11831
11857
  re(te(h(e).t("取消")), 1)
11832
11858
  ]),
11833
11859
  _: 1
11834
11860
  }),
11835
- F(oe, { onClick: Me }, {
11861
+ F(oe, { onClick: _e }, {
11836
11862
  default: C(() => [
11837
11863
  re(te(h(e).t("确定")), 1)
11838
11864
  ]),
@@ -11899,7 +11925,7 @@ const Mu = [
11899
11925
  ])) : (v(), W("span", Eu, te(h(e).t("请选择图标标识")), 1))
11900
11926
  ]),
11901
11927
  default: C(() => [
11902
- (v(!0), W(de, null, Se(h(Mu), (ee) => (v(), $(O, {
11928
+ (v(!0), W(de, null, Se(h(_u), (ee) => (v(), $(O, {
11903
11929
  value: ee.stem,
11904
11930
  key: ee.stem,
11905
11931
  class: "overlay-options"
@@ -12182,7 +12208,7 @@ const Sc = Ye(Au), Fu = /* @__PURE__ */ ue({
12182
12208
  subTitle: { default: "Gonsin Conference affairs management system" }
12183
12209
  },
12184
12210
  setup(n) {
12185
- const e = `${Mt}__title`;
12211
+ const e = `${_t}__title`;
12186
12212
  return (t, o) => (v(), W("div", {
12187
12213
  class: Z(`${e}`)
12188
12214
  }, [
@@ -12197,7 +12223,7 @@ const Sc = Ye(Au), Fu = /* @__PURE__ */ ue({
12197
12223
  }), $u = /* @__PURE__ */ ue({
12198
12224
  __name: "GLoginForm",
12199
12225
  setup(n) {
12200
- const { T: e } = ke(), t = `${Mt}__form`;
12226
+ const { T: e } = ke(), t = `${_t}__form`;
12201
12227
  return (o, a) => (v(), W("div", {
12202
12228
  class: Z(`${t}`)
12203
12229
  }, [
@@ -12217,13 +12243,13 @@ const Sc = Ye(Au), Fu = /* @__PURE__ */ ue({
12217
12243
  copyrightLogoSrc: { default: Bu }
12218
12244
  },
12219
12245
  setup(n) {
12220
- const e = `${Mt}__footer`;
12246
+ const e = `${_t}__footer`;
12221
12247
  return (t, o) => (v(), W("div", {
12222
12248
  class: Z(`${e}`)
12223
12249
  }, [
12224
12250
  ne("span", {
12225
12251
  class: Z(`${e}--logo`),
12226
- style: yt({ backgroundImage: `url(${t.copyrightLogoSrc})` })
12252
+ style: bt({ backgroundImage: `url(${t.copyrightLogoSrc})` })
12227
12253
  }, null, 6),
12228
12254
  ne("div", {
12229
12255
  class: Z(`${e}--copyright`)
@@ -12247,11 +12273,11 @@ const Sc = Ye(Au), Fu = /* @__PURE__ */ ue({
12247
12273
  },
12248
12274
  setup(n) {
12249
12275
  return (e, t) => (v(), W("div", {
12250
- class: Z(`${h(Mt)}`)
12276
+ class: Z(`${h(_t)}`)
12251
12277
  }, [
12252
12278
  ne("video", {
12253
- class: Z(`${h(Mt)}__bgVideo`),
12254
- style: yt({ backgroundImage: `url(${e.bgImgSrc})` }),
12279
+ class: Z(`${h(_t)}__bgVideo`),
12280
+ style: bt({ backgroundImage: `url(${e.bgImgSrc})` }),
12255
12281
  poster: e.bgImgSrc,
12256
12282
  autoplay: "",
12257
12283
  muted: "",
@@ -12267,10 +12293,10 @@ const Sc = Ye(Au), Fu = /* @__PURE__ */ ue({
12267
12293
  }, null, 8, Ru)
12268
12294
  ], 14, Ou),
12269
12295
  ne("div", {
12270
- class: Z(`${h(Mt)}__overlay`)
12296
+ class: Z(`${h(_t)}__overlay`)
12271
12297
  }, null, 2),
12272
12298
  ne("div", {
12273
- class: Z(`${h(Mt)}__container`)
12299
+ class: Z(`${h(_t)}__container`)
12274
12300
  }, [
12275
12301
  F(Fu, {
12276
12302
  title: e.title,
@@ -12305,7 +12331,7 @@ function Hu(n, e) {
12305
12331
  }
12306
12332
  }
12307
12333
  function Nc(n) {
12308
- Ve(n), kt(n), ao(n), oo(n);
12334
+ Ve(n), kt(n), lo(n), ao(n);
12309
12335
  }
12310
12336
  const { i18n: Ec } = ke({
12311
12337
  project: "venus"
@@ -12319,7 +12345,7 @@ export {
12319
12345
  El as DEFAULT_THEME_CONFIG,
12320
12346
  ss as GColumnController,
12321
12347
  ma as GCommonDialog,
12322
- lo as GCommonForm,
12348
+ ro as GCommonForm,
12323
12349
  zr as GCommonHeader,
12324
12350
  fa as GCommonTable,
12325
12351
  fu as GConfigProvider,
@@ -12329,7 +12355,7 @@ export {
12329
12355
  Ic as GSettingDialog,
12330
12356
  Xn as GUploader,
12331
12357
  Vn as INIT_WS_MODEL,
12332
- Io as LANG_CONFIG,
12358
+ Lo as LANG_CONFIG,
12333
12359
  nn as LOCAL_CONFIG,
12334
12360
  dc as LOCAL_DATA_ID,
12335
12361
  Pn as LOCAL_INIT_TAB_MENU_LIST,
@@ -12337,17 +12363,17 @@ export {
12337
12363
  Xt as LOCAL_SESSION_ID,
12338
12364
  on as LOCAL_SIDE_MENU_CONFIG,
12339
12365
  xn as LOCAL_TAB_MENU,
12340
- Mo as LOCAL_THEME_CONFIG,
12366
+ Io as LOCAL_THEME_CONFIG,
12341
12367
  Nl as LOCAL_USER,
12342
12368
  xc as NProgress,
12343
12369
  pc as PROJECT_PREFIX,
12344
- Mc as RequestConfig,
12370
+ _c as RequestConfig,
12345
12371
  or as RequestHttp,
12346
12372
  ln as SESSION_COLUMN_DATA,
12347
12373
  an as SESSION_FORM_DATA_CACHE,
12348
12374
  ea as StorageUtils,
12349
- So as TOKEN_EXPIRED_TIME,
12350
- Lo as TOKEN_NAME,
12375
+ Do as TOKEN_EXPIRED_TIME,
12376
+ So as TOKEN_NAME,
12351
12377
  $l as WS_INTERVAL_TIMEOUT,
12352
12378
  Bl as WS_RESET_TIMEOUT,
12353
12379
  Fl as WS_SERVICE_URL,
@@ -12361,13 +12387,13 @@ export {
12361
12387
  Ac as default,
12362
12388
  hc as dialogClass,
12363
12389
  yn as dialogPluginClass,
12364
- Ao as downloadFile,
12390
+ Fo as downloadFile,
12365
12391
  qn as evalContext,
12366
12392
  Jl as filterTreeValues,
12367
12393
  Yn as flattenMenuData,
12368
12394
  Ol as formClass,
12369
- Do as formItemClass,
12370
- Mt as gLoginClass,
12395
+ No as formItemClass,
12396
+ _t as gLoginClass,
12371
12397
  bn as generateMenuTree,
12372
12398
  na as getBrandColor,
12373
12399
  Jo as getHomeUrl,
@@ -12381,7 +12407,7 @@ export {
12381
12407
  ql as initTableColumns,
12382
12408
  Ql as initTableDisplayColumns,
12383
12409
  aa as initTreeSelectorData,
12384
- ft as is,
12410
+ pt as is,
12385
12411
  Ct as isArray,
12386
12412
  bc as isAsyncFunction,
12387
12413
  Yl as isBoolean,
@@ -12391,15 +12417,15 @@ export {
12391
12417
  kc as isElement,
12392
12418
  wn as isFormVoid,
12393
12419
  Dt as isFunction,
12394
- dt as isNull,
12395
- No as isNullAndUnDef,
12420
+ mt as isNull,
12421
+ Eo as isNullAndUnDef,
12396
12422
  We as isNullOrUnDef,
12397
12423
  yc as isNumber,
12398
- no as isObject,
12424
+ oo as isObject,
12399
12425
  en as isOuterUrl,
12400
12426
  Wl as isPromise,
12401
12427
  Zl as isResourceUrl,
12402
- _c as isServer,
12428
+ Mc as isServer,
12403
12429
  wc as isString,
12404
12430
  oa as isUnDef,
12405
12431
  Cc as isWindow,
@@ -12417,9 +12443,9 @@ export {
12417
12443
  Ln as useCacheStore,
12418
12444
  sa as useColumnStore,
12419
12445
  Bc as useI18n,
12420
- ao as usePropsStore,
12446
+ lo as usePropsStore,
12421
12447
  Ve as useSettingStore,
12422
- oo as useSocketStore,
12448
+ ao as useSocketStore,
12423
12449
  kt as useTabMenuStore,
12424
12450
  Gl as v,
12425
12451
  Ye as withInstall