@gonsin/gview 2.0.47 → 2.0.48

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
@@ -1,20 +1,20 @@
1
1
  var va = Object.defineProperty;
2
2
  var ya = (o, e, t) => e in o ? va(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
3
  var De = (o, e, t) => (ya(o, typeof e != "symbol" ? e + "" : e, t), t);
4
- import { defineComponent as ae, ref as j, computed as _, resolveComponent as G, openBlock as v, createBlock as L, normalizeClass as R, unref as i, withCtx as T, createElementBlock as W, Fragment as ke, renderList as Ae, createVNode as V, createElementVNode as ee, createTextVNode as re, toDisplayString as J, createCommentVNode as K, nextTick as ba, normalizeStyle as jt, renderSlot as $e, watch as we, withModifiers as $t, onMounted as Fe, onBeforeUnmount as ht, isRef as Vo, Transition as wa, mergeProps as st, createSlots as Nt, normalizeProps as oo, guardReactiveProps as no, inject as qe, useSlots as Nn, resolveDynamicComponent as Ta, TransitionGroup as Ma, toRefs as Ca, provide as Ln, reactive as Mo, defineAsyncComponent as ka, onBeforeMount as Gt, toRaw as Ho, shallowRef as Ia } from "vue";
4
+ import { defineComponent as ae, ref as j, computed as _, resolveComponent as G, openBlock as y, createBlock as L, normalizeClass as R, unref as i, withCtx as T, createElementBlock as W, Fragment as ke, renderList as Ae, createVNode as V, createElementVNode as ee, createTextVNode as re, toDisplayString as J, createCommentVNode as K, nextTick as ba, normalizeStyle as Gt, renderSlot as $e, watch as we, withModifiers as Ot, onMounted as Fe, onBeforeUnmount as ht, isRef as Bo, Transition as wa, mergeProps as st, createSlots as Nt, normalizeProps as no, guardReactiveProps as ao, inject as qe, useSlots as Nn, resolveDynamicComponent as Ta, TransitionGroup as Ma, toRefs as Ca, provide as Ln, reactive as Co, defineAsyncComponent as ka, onBeforeMount as Kt, toRaw as Ho, shallowRef as Ia } from "vue";
5
5
  import { useRouter as pt, useRoute as At } from "vue-router";
6
- import { defineStore as ho, storeToRefs as Sa } from "pinia";
6
+ import { defineStore as po, storeToRefs as Sa } from "pinia";
7
7
  import { createI18n as Na, useI18n as La } from "vue-i18n";
8
- import Kt from "axios";
8
+ import zt from "axios";
9
9
  import rt from "dayjs";
10
- import { MessagePlugin as ue, Button as xa, Loading as Aa, Tooltip as bt, Link as Ea, Tree as Da, Card as Va, DialogPlugin as ao } from "tdesign-vue-next";
11
- import { RefreshIcon as xn, ArrowLeftIcon as Ba, ArrowRightIcon as Pa, CloseCircleIcon as Ua, MenuFoldIcon as _a, MenuUnfoldIcon as Fa, PoweroffIcon as $a, UserCircleIcon as Oa, ChevronDownIcon as Ra, SettingIcon as An, AppIcon as Bo, UploadIcon as ja, CheckCircleFilledIcon as Ga, PlayCircleFilledIcon as Ka, PauseCircleFilledIcon as za, LinkIcon as Ha, ErrorCircleFilledIcon as Wa, CloseIcon as Ya, FileImageIcon as _t, FilePdfIcon as En, VideoIcon as Po, FileIconIcon as Uo, FolderOpenIcon as qa, FolderIcon as Qa, UserIcon as Co, BrowseIcon as Xa, ChevronRightIcon as Za, ChevronUpIcon as Ja, MoveIcon as el } from "tdesign-icons-vue-next";
12
- import lo from "number-precision";
10
+ import { MessagePlugin as ue, Button as xa, Loading as Aa, Tooltip as bt, Link as Ea, Tree as Da, Card as Va, DialogPlugin as lo } from "tdesign-vue-next";
11
+ import { RefreshIcon as xn, ArrowLeftIcon as Ba, ArrowRightIcon as Pa, CloseCircleIcon as Ua, MenuFoldIcon as _a, MenuUnfoldIcon as Fa, PoweroffIcon as $a, UserCircleIcon as Oa, ChevronDownIcon as Ra, SettingIcon as An, AppIcon as Po, UploadIcon as ja, CheckCircleFilledIcon as Ga, PlayCircleFilledIcon as Ka, PauseCircleFilledIcon as za, LinkIcon as Ha, ErrorCircleFilledIcon as Wa, CloseIcon as Ya, FileImageIcon as Ft, FilePdfIcon as En, VideoIcon as Uo, FileIconIcon as _o, FolderOpenIcon as qa, FolderIcon as Qa, UserIcon as ko, BrowseIcon as Xa, ChevronRightIcon as Za, ChevronUpIcon as Ja, MoveIcon as el } from "tdesign-icons-vue-next";
12
+ import ro from "number-precision";
13
13
  import { customAlphabet as tl } from "nanoid";
14
14
  import Dn from "qs";
15
15
  import ol from "nprogress";
16
16
  import { default as Nc } from "nprogress";
17
- import { get as ce, set as it, cloneDeep as Ft } from "lodash-es";
17
+ import { get as ce, set as it, cloneDeep as $t } from "lodash-es";
18
18
  import { Toolbar as nl, Editor as al } from "@wangeditor/editor-for-vue";
19
19
  import ft from "mustache";
20
20
  import nn from "he";
@@ -24,16 +24,16 @@ function He(o, e, t) {
24
24
  a.component(e || l || n.name, o), t && a.directive(t.name, t.comp);
25
25
  }, n;
26
26
  }
27
- const ko = "config", an = "themeConfig", ll = "user", io = "langConfig", rc = "menu", ln = "initTabMenuList", rn = "tabMenu", Ht = "sideMenuConfig", sn = "token", cn = "tokenExpiredTime", ic = "dataId", Ot = "sessionId", rl = {
27
+ const Io = "config", an = "themeConfig", ll = "user", so = "langConfig", rc = "menu", ln = "initTabMenuList", rn = "tabMenu", Wt = "sideMenuConfig", sn = "token", cn = "tokenExpiredTime", ic = "dataId", Rt = "sessionId", rl = {
28
28
  brandTheme: "default",
29
29
  // 主题色
30
30
  displayMode: "light"
31
31
  // 主题模式 light | dark | auto
32
32
  };
33
- function so(o, e, t) {
33
+ function co(o, e, t) {
34
34
  return o.filter((n) => n.parent === e).map((n) => ({
35
35
  ...n,
36
- children: so(o, n.name, t + 1),
36
+ children: co(o, n.name, t + 1),
37
37
  path: n.url,
38
38
  // 菜单路径
39
39
  alias: n.title,
@@ -114,7 +114,7 @@ class Pn {
114
114
  }
115
115
  }
116
116
  const Ke = new Pn("session"), Ge = new Pn("local");
117
- class co {
117
+ class uo {
118
118
  //加密
119
119
  /*
120
120
  * {param} crytoJsKey 秘钥
@@ -2248,49 +2248,49 @@ function sl(o) {
2248
2248
  return (e = il.find((t) => t.code.toLowerCase() == o.toLowerCase())) == null ? void 0 : e.locale;
2249
2249
  }
2250
2250
  async function cl() {
2251
- const { data: o } = await Kt.create()({
2251
+ const { data: o } = await zt.create()({
2252
2252
  method: "POST",
2253
2253
  url: "https://api.ip.sb/geoip"
2254
2254
  });
2255
2255
  return o;
2256
2256
  }
2257
2257
  async function dn(o, e) {
2258
- const { data: t } = await Kt.create()({
2258
+ const { data: t } = await zt.create()({
2259
2259
  method: "POST",
2260
2260
  url: `/api/i18n/${o}/${e}`
2261
2261
  });
2262
2262
  return t;
2263
2263
  }
2264
2264
  async function ul(o, e, t) {
2265
- const { data: n } = await Kt.create()({
2265
+ const { data: n } = await zt.create()({
2266
2266
  method: "PUT",
2267
2267
  url: `/api/i18n/${o}/${e}?keyword=${t}`
2268
2268
  });
2269
2269
  return n;
2270
2270
  }
2271
- const _o = Ge.getItem(io) || "", dt = {
2271
+ const Fo = Ge.getItem(so) || "", dt = {
2272
2272
  IP: "",
2273
2273
  PORT: "",
2274
2274
  PROJECT: "venus",
2275
2275
  KEY: "nusTIdVQFhQs2lrz"
2276
- }, Fo = [];
2276
+ }, $o = [];
2277
2277
  function dl(o) {
2278
- const { locale: e } = zt.global;
2279
- return e.value = o, Ge.setItem(io, o), console.log("当前语言为", o), o;
2278
+ const { locale: e } = Ht.global;
2279
+ return e.value = o, Ge.setItem(so, o), console.log("当前语言为", o), o;
2280
2280
  }
2281
- async function uo(o) {
2281
+ async function mo(o) {
2282
2282
  let e = "";
2283
- const { setLocaleMessage: t } = zt.global, n = await dn(dt.PROJECT, o);
2283
+ const { setLocaleMessage: t } = Ht.global, n = await dn(dt.PROJECT, o);
2284
2284
  let a = "";
2285
2285
  if (typeof n != "object")
2286
- e = co.decrypt(dt.KEY, n), a = o;
2286
+ e = uo.decrypt(dt.KEY, n), a = o;
2287
2287
  else if (o.includes("-")) {
2288
2288
  const l = o.split("-")[0], r = await dn(dt.PROJECT, l);
2289
- typeof r != "object" && (e = co.decrypt(dt.KEY, r), a = l);
2289
+ typeof r != "object" && (e = uo.decrypt(dt.KEY, r), a = l);
2290
2290
  }
2291
2291
  if ((e ?? "") != "") {
2292
2292
  const l = JSON.parse(e);
2293
- !Fo.includes(a) && Fo.push(a), t(a, l.data), dl(a);
2293
+ !$o.includes(a) && $o.push(a), t(a, l.data), dl(a);
2294
2294
  } else
2295
2295
  throw `未找到 ${o}`;
2296
2296
  }
@@ -2301,26 +2301,26 @@ async function ml() {
2301
2301
  if (e && e.country_code) {
2302
2302
  const { country_code: t } = e;
2303
2303
  if (o = sl(t) ?? "", o ?? !1)
2304
- console.log("获取IP所在的语言为", o), await uo(o);
2304
+ console.log("获取IP所在的语言为", o), await mo(o);
2305
2305
  else
2306
2306
  throw "未找到IP所在的地区";
2307
2307
  } else
2308
2308
  throw `未找到IP所在的地区 ${e}`;
2309
2309
  } catch (e) {
2310
- console.warn("获取语言出错,转为默认语言 zh-CN", e), await uo("zh-CN");
2310
+ console.warn("获取语言出错,转为默认语言 zh-CN", e), await mo("zh-CN");
2311
2311
  }
2312
2312
  }
2313
2313
  async function fl(o, e) {
2314
- const t = zt.global.locale;
2314
+ const t = Ht.global.locale;
2315
2315
  if (o == t.value) {
2316
- const n = encodeURIComponent(co.encrypt(dt.KEY, e)), a = await ul(dt.PROJECT, o, n);
2317
- typeof a != "object" && co.decrypt(dt.KEY, a);
2316
+ const n = encodeURIComponent(uo.encrypt(dt.KEY, e)), a = await ul(dt.PROJECT, o, n);
2317
+ typeof a != "object" && uo.decrypt(dt.KEY, a);
2318
2318
  }
2319
2319
  }
2320
2320
  function hl(o, e) {
2321
- const { locale: t } = zt.global;
2321
+ const { locale: t } = Ht.global;
2322
2322
  try {
2323
- Fo.includes(o) && o == t.value && fl(o, e);
2323
+ $o.includes(o) && o == t.value && fl(o, e);
2324
2324
  } catch {
2325
2325
  }
2326
2326
  }
@@ -2339,18 +2339,18 @@ const Ve = () => ({
2339
2339
  */
2340
2340
  async setupI18n(o = "") {
2341
2341
  try {
2342
- o == "" ? _o === "" ? await ml() : await uo(_o) : await uo(o);
2342
+ o == "" ? Fo === "" ? await ml() : await mo(Fo) : await mo(o);
2343
2343
  } catch (e) {
2344
2344
  console.warn("i18n", e);
2345
2345
  }
2346
2346
  },
2347
2347
  t(o) {
2348
- const { t: e } = zt.global;
2348
+ const { t: e } = Ht.global;
2349
2349
  return e(o);
2350
2350
  }
2351
- }), zt = Na({
2351
+ }), Ht = Na({
2352
2352
  legacy: !1,
2353
- locale: _o,
2353
+ locale: Fo,
2354
2354
  messages: {},
2355
2355
  missing: hl,
2356
2356
  fallbackWarn: !1
@@ -2486,7 +2486,7 @@ const Ve = () => ({
2486
2486
  case "https:":
2487
2487
  return `${e.replace(t, "wss:")}${o}`;
2488
2488
  }
2489
- }, vl = gl("/gview/websocket"), Io = (o, e = "", t = "") => e ? {
2489
+ }, vl = gl("/gview/websocket"), So = (o, e = "", t = "") => e ? {
2490
2490
  head: "gonsin",
2491
2491
  cmd: {
2492
2492
  cmd: "gview_client",
@@ -2503,7 +2503,7 @@ const Ve = () => ({
2503
2503
  subcmd: o,
2504
2504
  response: 0
2505
2505
  }
2506
- }, yl = 3e4, bl = 3e3, ro = "g-dialog-plugin", wl = "g-common-dialog", Wt = "g-common-form", Yt = "g-common-header", Tl = "g-common-table", Ml = "g-board", dc = "g-dialog", Cl = "g-form", mn = "g-form-item", kl = "g-header", Il = "g-tab", St = "g-table", Ze = "g-layout", qt = "g-uploader", vt = "g-login";
2506
+ }, yl = 3e4, bl = 3e3, io = "g-dialog-plugin", wl = "g-common-dialog", Yt = "g-common-form", qt = "g-common-header", Tl = "g-common-table", Ml = "g-board", dc = "g-dialog", Cl = "g-form", mn = "g-form-item", kl = "g-header", Il = "g-tab", St = "g-table", Ze = "g-layout", Qt = "g-uploader", vt = "g-login";
2507
2507
  function Sl(o) {
2508
2508
  return o.replace(/([A-Z])/g, "_$1").toUpperCase();
2509
2509
  }
@@ -2524,7 +2524,7 @@ function xl(o, e) {
2524
2524
  let t = Ll(o, e);
2525
2525
  return Function(t)();
2526
2526
  }
2527
- function $o(o, e = {}) {
2527
+ function Oo(o, e = {}) {
2528
2528
  return xl(o, e)(e);
2529
2529
  }
2530
2530
  function Al(o) {
@@ -2593,11 +2593,11 @@ function Pl(o) {
2593
2593
  ellipsis: { props: { theme: "light", showArrow: !1, placement: "bottom" } },
2594
2594
  attrs: {
2595
2595
  style: {
2596
- width: `calc(${So(
2596
+ width: `calc(${No(
2597
2597
  t.weight ?? 1,
2598
2598
  a.length + 1
2599
2599
  )} * 100vw - 32px)`,
2600
- maxWidth: `calc(${So(
2600
+ maxWidth: `calc(${No(
2601
2601
  t.weight ?? 1,
2602
2602
  a.length + 1
2603
2603
  )} * 100vw - 32px)`
@@ -2609,7 +2609,7 @@ function Pl(o) {
2609
2609
  const c = ((r = t.buttons) == null ? void 0 : r.length) || 1;
2610
2610
  l.ellipsis = void 0, l.attrs = {
2611
2611
  style: {
2612
- width: `calc(${So(
2612
+ width: `calc(${No(
2613
2613
  t.weight ?? 1,
2614
2614
  a.length + 1
2615
2615
  )} * 100vw - 32px)`,
@@ -2620,10 +2620,10 @@ function Pl(o) {
2620
2620
  n == o.length - 1 && (l.ellipsis = void 0, l.fixed = "right"), e.push(l);
2621
2621
  }), e;
2622
2622
  }
2623
- function So(o, e) {
2623
+ function No(o, e) {
2624
2624
  return o / e;
2625
2625
  }
2626
- function Oo(o) {
2626
+ function Ut(o) {
2627
2627
  let e = {};
2628
2628
  return o.indexOf("?") !== -1 && o.split("?")[1].split("&").forEach((n) => {
2629
2629
  e[n.split("=")[0]] = n.split("=")[1];
@@ -2631,9 +2631,9 @@ function Oo(o) {
2631
2631
  }
2632
2632
  function Lt(o, e, t = !0) {
2633
2633
  const n = new URLSearchParams(e), a = `?${n.toString()}`;
2634
- return t && !po(o) && (o = `http://${o}`), n.toString() ? `${o}${a}` : o;
2634
+ return t && !go(o) && (o = `http://${o}`), n.toString() ? `${o}${a}` : o;
2635
2635
  }
2636
- function po(o) {
2636
+ function go(o) {
2637
2637
  return /^(?:https?|ftp):\/\/(?:(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\.)+(?:[A-Z]{2,6}\.?|[A-Z0-9-]{2,}\.?)|localhost|(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}))(:\d+)?(\/[^\s]*)?$/i.test(o);
2638
2638
  }
2639
2639
  function Ul(o) {
@@ -2643,7 +2643,7 @@ const _l = {
2643
2643
  refreshTokenUrl: "/api/base/token/refresh"
2644
2644
  };
2645
2645
  async function Fl(o) {
2646
- const e = Ke.getItem(Ot), { data: t } = await Kt.create()({
2646
+ const e = Ke.getItem(Rt), { data: t } = await zt.create()({
2647
2647
  method: "POST",
2648
2648
  url: `${_l.refreshTokenUrl}?sessionId=${e}`,
2649
2649
  headers: {
@@ -2652,7 +2652,7 @@ async function Fl(o) {
2652
2652
  });
2653
2653
  return t;
2654
2654
  }
2655
- const Pe = ho("setting", {
2655
+ const _e = po("setting", {
2656
2656
  state: () => ({
2657
2657
  // 登录标志
2658
2658
  isUserLogin: !!Ke.getItem(ll) || !1,
@@ -2667,11 +2667,11 @@ const Pe = ho("setting", {
2667
2667
  ...rl
2668
2668
  },
2669
2669
  // 侧边菜单配置
2670
- sideMenuTree: Ge.getItem(Ht) || [],
2670
+ sideMenuTree: Ge.getItem(Wt) || [],
2671
2671
  sideMenuExpanded: [],
2672
2672
  sideMenuScrollTop: 0,
2673
2673
  // 用户传入GView的信息与配置
2674
- userConfig: Ge.getItem(ko) || {
2674
+ userConfig: Ge.getItem(Io) || {
2675
2675
  userInfo: {
2676
2676
  realName: "",
2677
2677
  token: ""
@@ -2681,7 +2681,7 @@ const Pe = ho("setting", {
2681
2681
  logoUrl: ""
2682
2682
  },
2683
2683
  // 用户语言
2684
- userLang: Ge.getItem(io) ?? "zh-CN",
2684
+ userLang: Ge.getItem(so) ?? "zh-CN",
2685
2685
  // 用户token
2686
2686
  token: Ke.getItem(sn) || "",
2687
2687
  tokenExpiredTime: Ke.getItem(cn) || 0,
@@ -2691,7 +2691,7 @@ const Pe = ho("setting", {
2691
2691
  userRealName: (o) => o.userConfig.userInfo.realName || "",
2692
2692
  userEdificeKey: (o) => o.userConfig.userInfo.edificeKey || "",
2693
2693
  homeUrl: (o) => (o.userConfig.homeUrl ?? "") != "" ? o.userConfig.homeUrl : Bn(o.sideMenuTree),
2694
- logoUrl: (o) => o.userConfig.logoUrl ? o.userConfig.logoUrl : "",
2694
+ logoUrl: (o) => (o.userConfig.logoUrl ?? "") != "" ? o.userConfig.logoUrl : "",
2695
2695
  displayMode: (o) => o.themeConfig.displayMode === "auto" ? window.matchMedia("(prefers-color-scheme:dark)").matches ? "dark" : "light" : o.themeConfig.displayMode
2696
2696
  },
2697
2697
  actions: {
@@ -2723,12 +2723,12 @@ const Pe = ho("setting", {
2723
2723
  },
2724
2724
  setSideMenuConfig(o) {
2725
2725
  const e = Vn(o);
2726
- this.sideMenuTree = e, Ge.setItem(Ht, e);
2726
+ this.sideMenuTree = e, Ge.setItem(Wt, e);
2727
2727
  },
2728
2728
  async initUserLang(o) {
2729
2729
  if (o)
2730
2730
  try {
2731
- Ge.setItem(io, o), this.userLang = o;
2731
+ Ge.setItem(so, o), this.userLang = o;
2732
2732
  const { setupI18n: e } = Ve();
2733
2733
  await e(o);
2734
2734
  } catch {
@@ -2760,15 +2760,15 @@ const Pe = ho("setting", {
2760
2760
  }
2761
2761
  },
2762
2762
  setSideMenuTree(o) {
2763
- const e = so(o, null, 1);
2764
- this.sideMenuTree = e, Ge.setItem(Ht, e);
2763
+ const e = co(o, null, 1);
2764
+ this.sideMenuTree = e, Ge.setItem(Wt, e);
2765
2765
  },
2766
2766
  /**
2767
2767
  * @description 用户登录后初始化配置
2768
2768
  */
2769
2769
  async initUserConfig(o) {
2770
2770
  var n;
2771
- Ge.setItem(ko, o), this.userConfig = { ...o }, this.initUserToken(((n = o.userInfo) == null ? void 0 : n.token) ?? "");
2771
+ Ge.setItem(Io, o), this.userConfig = { ...o }, this.initUserToken(((n = o.userInfo) == null ? void 0 : n.token) ?? "");
2772
2772
  const { userMenu: e } = o;
2773
2773
  this.setSideMenuTree(e);
2774
2774
  const { language: t } = o.userInfo;
@@ -2778,7 +2778,7 @@ const Pe = ho("setting", {
2778
2778
  * @description: 初始化各种变量的值
2779
2779
  */
2780
2780
  resetInitValue() {
2781
- this.isSideMenuCollapse = !1, this.isSettingPanelShow = !1, this.sideMenuTree = [], Ge.removeItem(Ht), this.sideMenuExpanded = [], this.sideMenuScrollTop = 0, Ge.removeItem(ko), this.userConfig = {
2781
+ this.isSideMenuCollapse = !1, this.isSettingPanelShow = !1, this.sideMenuTree = [], Ge.removeItem(Wt), this.sideMenuExpanded = [], this.sideMenuScrollTop = 0, Ge.removeItem(Io), this.userConfig = {
2782
2782
  userInfo: {
2783
2783
  realName: "",
2784
2784
  token: ""
@@ -2823,7 +2823,7 @@ const Pe = ho("setting", {
2823
2823
  this.changeMode(o), this.changeBrandTheme(o), this.changeTheme(o);
2824
2824
  }
2825
2825
  }
2826
- }), Et = ho("tabMenu", {
2826
+ }), Et = po("tabMenu", {
2827
2827
  state: () => ({
2828
2828
  // 初始化tab菜单列表
2829
2829
  initTabMenuList: Ke.getItem(ln) || [],
@@ -2849,16 +2849,15 @@ const Pe = ho("setting", {
2849
2849
  /**
2850
2850
  * @description 初始化tab菜单列表
2851
2851
  */
2852
- async initTabMenu(o = "") {
2852
+ async initTabMenu() {
2853
2853
  await this.clearTabMenu();
2854
- const e = Pe();
2855
- let t = "", n = {
2854
+ let o = {
2856
2855
  itemIdx: 0,
2857
- path: "/home",
2856
+ path: "/HomePage",
2858
2857
  title: "首页",
2859
2858
  isHome: !0
2860
2859
  };
2861
- o ? n.path = `/${o}` : (t = `/${e.homeUrl}`, n.path = t), this.setInitTabMenuList([n]), this.setTabMenuList([n]);
2860
+ this.setInitTabMenuList([o]), this.setTabMenuList([o]);
2862
2861
  },
2863
2862
  findExistTabMenuItem(o) {
2864
2863
  return this.tabMenuList.find((e) => {
@@ -2919,7 +2918,7 @@ const Pe = ho("setting", {
2919
2918
  this.tabMenuList[t].activeTab = e, this.setTabMenuList(this.tabMenuList);
2920
2919
  }
2921
2920
  }
2922
- }), qo = ho("socket", {
2921
+ }), qo = po("socket", {
2923
2922
  state: () => ({
2924
2923
  socket: null,
2925
2924
  socketInterval: void 0,
@@ -2940,7 +2939,7 @@ const Pe = ho("setting", {
2940
2939
  initSocket() {
2941
2940
  const o = this;
2942
2941
  this.isSocketLinked = !1, this.socket = new WebSocket(vl), this.socket.onopen = function(e) {
2943
- let t = Io("heart");
2942
+ let t = So("heart");
2944
2943
  o.socketInterval = setInterval(function() {
2945
2944
  o.socket && o.socket.send(JSON.stringify(t));
2946
2945
  }, yl);
@@ -2964,17 +2963,17 @@ const Pe = ho("setting", {
2964
2963
  }, o.isSocketLinked = !0;
2965
2964
  },
2966
2965
  sendRegisterMessage(o) {
2967
- const t = Pe().userEdificeKey ?? "";
2968
- let n = Io("register", o, t);
2966
+ const t = _e().userEdificeKey ?? "";
2967
+ let n = So("register", o, t);
2969
2968
  fn(this.socket) || this.socket.send(JSON.stringify(n));
2970
2969
  },
2971
2970
  sendUnregisterMessage(o) {
2972
- const t = Pe().userEdificeKey ?? "";
2973
- let n = Io("unregister", o, t);
2971
+ const t = _e().userEdificeKey ?? "";
2972
+ let n = So("unregister", o, t);
2974
2973
  fn(this.socket) || this.socket.send(JSON.stringify(n));
2975
2974
  }
2976
2975
  }
2977
- }), Qo = ho("props", {
2976
+ }), Qo = po("props", {
2978
2977
  state: () => ({
2979
2978
  propsSource: {}
2980
2979
  }),
@@ -2992,17 +2991,17 @@ const Pe = ho("setting", {
2992
2991
  }), $l = /* @__PURE__ */ ae({
2993
2992
  __name: "GLayoutHeaderTab",
2994
2993
  setup(o) {
2995
- const { t: e } = Ve(), t = `${Ze}__layoutHeaderTab`, n = pt(), a = At(), l = j(""), r = Et(), c = Pe(), s = _(() => r.tabMenuList), u = _(() => c.homeUrl);
2996
- function d(I, k, y) {
2997
- k.trigger === "document" && (l.value = null), I && (l.value = y);
2994
+ const { t: e } = Ve(), t = `${Ze}__layoutHeaderTab`, n = pt(), a = At(), l = j(""), r = Et(), c = _e(), s = _(() => r.tabMenuList), u = _(() => c.homeUrl);
2995
+ function d(I, k, v) {
2996
+ k.trigger === "document" && (l.value = null), I && (l.value = v);
2998
2997
  }
2999
2998
  function f(I) {
3000
- I === "/home" ? n.push({ path: u.value, query: Oo(u.value) }) : n.push({ path: I, query: Oo(I) });
2999
+ I === "/HomePage" ? n.push({ path: u.value, query: Ut(u.value) }) : n.push({ path: I, query: Ut(I) });
3001
3000
  }
3002
3001
  function h({ value: I, index: k }) {
3003
- const { tabMenuList: y } = r;
3004
- if (y.length > 2) {
3005
- const g = y[k + 1] || y[k - 1];
3002
+ const { tabMenuList: v } = r;
3003
+ if (v.length > 2) {
3004
+ const g = v[k + 1] || v[k - 1];
3006
3005
  r.subtractCurrentTabMenuItem({ path: I, itemIdx: k });
3007
3006
  const p = decodeURIComponent(a.fullPath);
3008
3007
  I === p && n.push({
@@ -3012,11 +3011,9 @@ const Pe = ho("setting", {
3012
3011
  }
3013
3012
  }
3014
3013
  function m(I, k) {
3014
+ const { path: v } = I;
3015
3015
  ba(() => {
3016
- n.push({
3017
- path: I.path,
3018
- query: I.query
3019
- });
3016
+ v === "/HomePage" ? n.push({ path: u.value, query: Ut(u.value) }) : n.push({ path: v, query: Ut(v) });
3020
3017
  }), c.toggleGlobalReload(), l.value = null;
3021
3018
  }
3022
3019
  function N(I, k) {
@@ -3029,7 +3026,7 @@ const Pe = ho("setting", {
3029
3026
  s.value.length > 2 && (r.subtractTabMenuItemOther({ path: I, itemIdx: k }), b("other", k));
3030
3027
  }
3031
3028
  function b(I, k) {
3032
- const y = a.fullPath, { tabMenuList: g } = r, p = g.findIndex((x) => x.path === y);
3029
+ const v = a.fullPath, { tabMenuList: g } = r, p = g.findIndex((x) => x.path === v);
3033
3030
  if (I === "other" && p !== k || I === "ahead" && p < k || I === "behind" && p === -1) {
3034
3031
  const x = I === "behind" ? g.length - 1 : 1, D = g[x];
3035
3032
  n.push({
@@ -3041,8 +3038,8 @@ const Pe = ho("setting", {
3041
3038
  }
3042
3039
  const S = _(() => decodeURIComponent(a.fullPath));
3043
3040
  return (I, k) => {
3044
- const y = G("t-dropdown-item"), g = G("t-dropdown-menu"), p = G("t-dropdown"), C = G("t-tab-panel"), x = G("t-tabs");
3045
- return v(), L(x, {
3041
+ const v = G("t-dropdown-item"), g = G("t-dropdown-menu"), p = G("t-dropdown"), C = G("t-tab-panel"), x = G("t-tabs");
3042
+ return y(), L(x, {
3046
3043
  class: R(`${t}`),
3047
3044
  size: "large",
3048
3045
  value: i(S),
@@ -3050,7 +3047,7 @@ const Pe = ho("setting", {
3050
3047
  onRemove: h
3051
3048
  }, {
3052
3049
  default: T(() => [
3053
- (v(!0), W(ke, null, Ae(i(s), (D, w) => (v(), L(C, {
3050
+ (y(!0), W(ke, null, Ae(i(s), (D, w) => (y(), L(C, {
3054
3051
  key: D.path,
3055
3052
  value: D.path,
3056
3053
  removable: !D.isHome
@@ -3067,7 +3064,7 @@ const Pe = ho("setting", {
3067
3064
  dropdown: T(() => [
3068
3065
  V(g, null, {
3069
3066
  default: T(() => [
3070
- V(y, {
3067
+ V(v, {
3071
3068
  onClick: () => m(D)
3072
3069
  }, {
3073
3070
  default: T(() => [
@@ -3078,7 +3075,7 @@ const Pe = ho("setting", {
3078
3075
  ]),
3079
3076
  _: 2
3080
3077
  }, 1032, ["onClick"]),
3081
- w > 1 ? (v(), L(y, {
3078
+ w > 1 ? (y(), L(v, {
3082
3079
  key: 0,
3083
3080
  onClick: () => N(D.path, w)
3084
3081
  }, {
@@ -3090,7 +3087,7 @@ const Pe = ho("setting", {
3090
3087
  ]),
3091
3088
  _: 2
3092
3089
  }, 1032, ["onClick"])) : K("", !0),
3093
- w > 0 && w < i(s).length - 1 ? (v(), L(y, {
3090
+ w > 0 && w < i(s).length - 1 ? (y(), L(v, {
3094
3091
  key: 1,
3095
3092
  onClick: () => A(D.path, w)
3096
3093
  }, {
@@ -3102,7 +3099,7 @@ const Pe = ho("setting", {
3102
3099
  ]),
3103
3100
  _: 2
3104
3101
  }, 1032, ["onClick"])) : K("", !0),
3105
- w > 0 && i(s).length > 2 ? (v(), L(y, {
3102
+ w > 0 && i(s).length > 2 ? (y(), L(v, {
3106
3103
  key: 2,
3107
3104
  onClick: () => B(D.path, w)
3108
3105
  }, {
@@ -3119,9 +3116,9 @@ const Pe = ho("setting", {
3119
3116
  }, 1024)
3120
3117
  ]),
3121
3118
  default: T(() => [
3122
- D.isHome ? (v(), W(ke, { key: 0 }, [
3119
+ D.isHome ? (y(), W(ke, { key: 0 }, [
3123
3120
  re(J(i(e)(`${D.title}`)), 1)
3124
- ], 64)) : (v(), W(ke, { key: 1 }, [
3121
+ ], 64)) : (y(), W(ke, { key: 1 }, [
3125
3122
  re(J(D.title), 1)
3126
3123
  ], 64))
3127
3124
  ]),
@@ -3138,7 +3135,7 @@ const Pe = ho("setting", {
3138
3135
  }), Ol = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAToAAAAyCAYAAADMZheFAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAhdEVYdENyZWF0aW9uIFRpbWUAMjAyMjoxMTozMCAwODo0NDo0MviriswAACO4SURBVHhe7Z0JeFzFle+r6t5utSRvLLYx2JZaltQteQFjlpiEZ/wGskEmYRIYSL5MGGaBmSHMJEzCkrBNCBBIhkcSQhKYEIb5eElMMgmZELJiVhOCwau6W7tkgW2Mdy293Fvn/atVJpbVfW/dVsvW+77+2a2+VX37di2nTp3aWYUKFSpUqFChQoUKFSpUqFChQoUKFSpUqFChQoUKFSpUmABcvx81CL+5tbU1lN67166dMcOigzxcVWXb2XDOslxXZIgmLUwR/OM0kmns7n5Le00YxEd0NDaGsuFwyHaciOWGqinLwlLkQiJkC5bV9/Ec2cJyhy3HZURZlyhTFQqNRNLp3B/7+nKXMuaO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oTZZnPdorgAAAAASUVORK5CYII=", Rl = { class: "username" }, jl = /* @__PURE__ */ ae({
3139
3136
  __name: "GLayoutHeader",
3140
3137
  setup(o) {
3141
- const { t: e } = Ve(), t = `${Ze}__header`, n = pt(), a = Pe(), l = _(() => a.userRealName), r = _(() => a.displayMode), c = _(() => a.logoUrl), s = _(() => (c.value ?? "") != "" ? { backgroundImage: `url(${c.value})` } : { backgroundImage: `url(${Ol})` }), u = _(() => a.isSideMenuCollapse);
3138
+ const { t: e } = Ve(), t = `${Ze}__header`, n = pt(), a = _e(), l = _(() => a.userRealName), r = _(() => a.displayMode), c = _(() => a.logoUrl), s = _(() => (c.value ?? "") != "" ? { backgroundImage: `url(${c.value})` } : { backgroundImage: `url(${Ol})` }), u = _(() => a.isSideMenuCollapse);
3142
3139
  function d() {
3143
3140
  a.toggleSideMenuCollapse();
3144
3141
  }
@@ -3150,8 +3147,8 @@ const Pe = ho("setting", {
3150
3147
  n.push({ name: "login" }), a.userLogout(), h.clearTabMenu();
3151
3148
  }
3152
3149
  return (N, A) => {
3153
- const B = G("t-button"), b = G("t-dropdown-item"), S = G("t-dropdown-menu"), I = G("t-dropdown"), k = G("t-head-menu"), y = G("t-header");
3154
- return v(), L(y, {
3150
+ const B = G("t-button"), b = G("t-dropdown-item"), S = G("t-dropdown-menu"), I = G("t-dropdown"), k = G("t-head-menu"), v = G("t-header");
3151
+ return y(), L(v, {
3155
3152
  class: R(t)
3156
3153
  }, {
3157
3154
  default: T(() => [
@@ -3162,7 +3159,7 @@ const Pe = ho("setting", {
3162
3159
  }, [
3163
3160
  ee("div", {
3164
3161
  class: R(`${t}--logo-image`),
3165
- style: jt(i(s))
3162
+ style: Gt(i(s))
3166
3163
  }, null, 6)
3167
3164
  ], 2),
3168
3165
  ee("div", {
@@ -3175,10 +3172,10 @@ const Pe = ho("setting", {
3175
3172
  onClick: d
3176
3173
  }, {
3177
3174
  default: T(() => [
3178
- i(u) ? (v(), L(i(Fa), {
3175
+ i(u) ? (y(), L(i(Fa), {
3179
3176
  key: 1,
3180
3177
  size: "large"
3181
- })) : (v(), L(i(_a), {
3178
+ })) : (y(), L(i(_a), {
3182
3179
  key: 0,
3183
3180
  size: "large"
3184
3181
  }))
@@ -3256,10 +3253,10 @@ const Pe = ho("setting", {
3256
3253
  }), Gl = /* @__PURE__ */ ae({
3257
3254
  __name: "GLayoutContent",
3258
3255
  setup(o) {
3259
- const e = Pe(), t = _(() => e.isSideMenuCollapse);
3256
+ const e = _e(), t = _(() => e.isSideMenuCollapse);
3260
3257
  return (n, a) => {
3261
3258
  const l = G("t-content"), r = G("t-layout");
3262
- return v(), L(r, {
3259
+ return y(), L(r, {
3263
3260
  class: R(`${i(Ze)}`)
3264
3261
  }, {
3265
3262
  default: T(() => [
@@ -3307,7 +3304,7 @@ const Pe = ho("setting", {
3307
3304
  }
3308
3305
  ), (l, r) => {
3309
3306
  const c = G("t-tooltip");
3310
- return v(), L(c, {
3307
+ return y(), L(c, {
3311
3308
  visible: t.value,
3312
3309
  content: o.title,
3313
3310
  showArrow: !1,
@@ -3318,7 +3315,7 @@ const Pe = ho("setting", {
3318
3315
  ee("span", {
3319
3316
  ref_key: "titleRef",
3320
3317
  ref: e,
3321
- onMouseover: r[0] || (r[0] = $t((s) => n(s), ["self"])),
3318
+ onMouseover: r[0] || (r[0] = Ot((s) => n(s), ["self"])),
3322
3319
  onMouseleave: a
3323
3320
  }, J(o.title), 545)
3324
3321
  ]),
@@ -3332,8 +3329,8 @@ const Pe = ho("setting", {
3332
3329
  sideMenuTree: null
3333
3330
  },
3334
3331
  setup(o) {
3335
- const { t: e } = Ve(), t = `${Ze}__sideMenuContent`, n = Pe(), a = pt(), l = (r) => {
3336
- if (po(r)) {
3332
+ const { t: e } = Ve(), t = `${Ze}__sideMenuContent`, n = _e(), a = pt(), l = (r) => {
3333
+ if (go(r)) {
3337
3334
  const s = Lt(r, { token: n.token, _venuServType: 2 });
3338
3335
  window.open(s, "_blank");
3339
3336
  } else if (r.startsWith(":")) {
@@ -3347,11 +3344,11 @@ const Pe = ho("setting", {
3347
3344
  };
3348
3345
  return (r, c) => {
3349
3346
  const s = G("t-icon"), u = G("t-menu-item"), d = G("GLayoutSideMenuContent", !0), f = G("t-submenu");
3350
- return v(!0), W(ke, null, Ae(o.sideMenuTree, (h) => (v(), W("div", {
3347
+ return y(!0), W(ke, null, Ae(o.sideMenuTree, (h) => (y(), W("div", {
3351
3348
  class: R(`${t}`),
3352
3349
  key: h.name
3353
3350
  }, [
3354
- !h.children || !h.children.length ? (v(), L(u, {
3351
+ !h.children || !h.children.length ? (y(), L(u, {
3355
3352
  class: R(`${t}--level${h.level}`),
3356
3353
  name: h.path,
3357
3354
  value: h.path,
@@ -3359,12 +3356,12 @@ const Pe = ho("setting", {
3359
3356
  onClick: (m) => l(h.path)
3360
3357
  }, {
3361
3358
  icon: T(() => [
3362
- h.level == 1 ? (v(), W(ke, { key: 0 }, [
3363
- h.icon ? (v(), L(s, {
3359
+ h.level == 1 ? (y(), W(ke, { key: 0 }, [
3360
+ h.icon ? (y(), L(s, {
3364
3361
  key: 0,
3365
3362
  name: h.icon,
3366
3363
  size: "large"
3367
- }, null, 8, ["name"])) : (v(), L(i(Bo), {
3364
+ }, null, 8, ["name"])) : (y(), L(i(Po), {
3368
3365
  key: 1,
3369
3366
  size: "large"
3370
3367
  }))
@@ -3376,19 +3373,19 @@ const Pe = ho("setting", {
3376
3373
  }, null, 8, ["title"])
3377
3374
  ]),
3378
3375
  _: 2
3379
- }, 1032, ["class", "name", "value", "onClick"])) : (v(), L(f, {
3376
+ }, 1032, ["class", "name", "value", "onClick"])) : (y(), L(f, {
3380
3377
  class: R(`${t}--level${h.level}`),
3381
3378
  name: h.name,
3382
3379
  value: h.name,
3383
3380
  key: h.name
3384
3381
  }, {
3385
3382
  icon: T(() => [
3386
- h.level == 1 ? (v(), W(ke, { key: 0 }, [
3387
- h.icon ? (v(), L(s, {
3383
+ h.level == 1 ? (y(), W(ke, { key: 0 }, [
3384
+ h.icon ? (y(), L(s, {
3388
3385
  key: 0,
3389
3386
  name: h.icon,
3390
3387
  size: "large"
3391
- }, null, 8, ["name"])) : (v(), L(i(Bo), {
3388
+ }, null, 8, ["name"])) : (y(), L(i(Po), {
3392
3389
  key: 1,
3393
3390
  size: "large"
3394
3391
  }))
@@ -3400,7 +3397,7 @@ const Pe = ho("setting", {
3400
3397
  }, null, 8, ["title"])
3401
3398
  ]),
3402
3399
  default: T(() => [
3403
- h.children ? (v(), L(d, {
3400
+ h.children ? (y(), L(d, {
3404
3401
  sideMenuTree: h.children,
3405
3402
  key: h.name
3406
3403
  }, null, 8, ["sideMenuTree"])) : K("", !0)
@@ -3421,7 +3418,7 @@ const gt = (o, e) => {
3421
3418
  setup(o) {
3422
3419
  const e = `${Ze}__sideMenu`;
3423
3420
  pt();
3424
- const t = At(), n = Pe(), a = _(() => n.sideMenuTree), l = _(() => n.displayMode), r = _({
3421
+ const t = At(), n = _e(), a = _(() => n.sideMenuTree), l = _(() => n.displayMode), r = _({
3425
3422
  get() {
3426
3423
  return n.isSideMenuCollapse;
3427
3424
  },
@@ -3440,12 +3437,12 @@ const gt = (o, e) => {
3440
3437
  d && (u.value = d.scrollTop);
3441
3438
  }), (d, f) => {
3442
3439
  const h = G("t-menu"), m = G("t-drawer");
3443
- return v(), L(m, {
3440
+ return y(), L(m, {
3444
3441
  class: R(`${e}`),
3445
3442
  size: "232px",
3446
3443
  placement: "left",
3447
3444
  visible: i(r),
3448
- "onUpdate:visible": f[1] || (f[1] = (N) => Vo(r) ? r.value = N : null),
3445
+ "onUpdate:visible": f[1] || (f[1] = (N) => Bo(r) ? r.value = N : null),
3449
3446
  showOverlay: !1,
3450
3447
  header: !1,
3451
3448
  footer: !1,
@@ -3457,7 +3454,7 @@ const gt = (o, e) => {
3457
3454
  theme: i(l),
3458
3455
  value: i(c),
3459
3456
  expanded: i(s),
3460
- "onUpdate:expanded": f[0] || (f[0] = (N) => Vo(s) ? s.value = N : null)
3457
+ "onUpdate:expanded": f[0] || (f[0] = (N) => Bo(s) ? s.value = N : null)
3461
3458
  }, {
3462
3459
  default: T(() => [
3463
3460
  V(zl, { sideMenuTree: i(a) }, null, 8, ["sideMenuTree"])
@@ -3472,7 +3469,7 @@ const gt = (o, e) => {
3472
3469
  }), Wl = /* @__PURE__ */ ae({
3473
3470
  __name: "GLayoutSettingPanel",
3474
3471
  setup(o) {
3475
- const { t: e } = Ve(), t = `${Ze}__settingPanel`, n = Pe(), a = [
3472
+ const { t: e } = Ve(), t = `${Ze}__settingPanel`, n = _e(), a = [
3476
3473
  "default",
3477
3474
  "cyan",
3478
3475
  "green",
@@ -3500,10 +3497,10 @@ const gt = (o, e) => {
3500
3497
  });
3501
3498
  return (d, f) => {
3502
3499
  const h = G("t-radio-button"), m = G("t-radio-group"), N = G("t-drawer");
3503
- return v(), L(N, {
3500
+ return y(), L(N, {
3504
3501
  class: R(`${t}`),
3505
3502
  visible: i(c),
3506
- "onUpdate:visible": f[2] || (f[2] = (A) => Vo(c) ? c.value = A : null),
3503
+ "onUpdate:visible": f[2] || (f[2] = (A) => Bo(c) ? c.value = A : null),
3507
3504
  closeOnEscKeydown: !1,
3508
3505
  footer: !1
3509
3506
  }, {
@@ -3524,15 +3521,15 @@ const gt = (o, e) => {
3524
3521
  onChange: s
3525
3522
  }, {
3526
3523
  default: T(() => [
3527
- (v(!0), W(ke, null, Ae(a.slice(0, a.length - 1), (A, B) => (v(), W("div", { key: B }, [
3528
- (v(), L(h, {
3524
+ (y(!0), W(ke, null, Ae(a.slice(0, a.length - 1), (A, B) => (y(), W("div", { key: B }, [
3525
+ (y(), L(h, {
3529
3526
  key: B,
3530
3527
  value: A,
3531
3528
  class: R(`${t}--container-color-group`)
3532
3529
  }, {
3533
3530
  default: T(() => [
3534
3531
  ee("div", {
3535
- style: jt(u(A)),
3532
+ style: Gt(u(A)),
3536
3533
  class: R(`${t}--container-color-item`)
3537
3534
  }, null, 6)
3538
3535
  ]),
@@ -3552,8 +3549,8 @@ const gt = (o, e) => {
3552
3549
  onChange: s
3553
3550
  }, {
3554
3551
  default: T(() => [
3555
- (v(), W(ke, null, Ae(l, (A, B) => ee("div", { key: B }, [
3556
- (v(), L(h, {
3552
+ (y(), W(ke, null, Ae(l, (A, B) => ee("div", { key: B }, [
3553
+ (y(), L(h, {
3557
3554
  key: B,
3558
3555
  value: A.type
3559
3556
  }, {
@@ -3574,7 +3571,7 @@ const gt = (o, e) => {
3574
3571
  }
3575
3572
  }), Yl = {};
3576
3573
  function ql(o, e) {
3577
- return v(), L(wa, {
3574
+ return y(), L(wa, {
3578
3575
  name: "scale",
3579
3576
  mode: "out-in",
3580
3577
  appear: ""
@@ -3594,7 +3591,7 @@ const Ql = /* @__PURE__ */ gt(Yl, [["render", ql]]), Xl = /* @__PURE__ */ ae({
3594
3591
  const e = `${Ze}__main`, t = `${Ze}__card`;
3595
3592
  return (n, a) => {
3596
3593
  const l = G("t-card"), r = G("t-content"), c = G("t-layout");
3597
- return v(), W("div", {
3594
+ return y(), W("div", {
3598
3595
  class: R(`${e}`)
3599
3596
  }, [
3600
3597
  V(c, null, {
@@ -3606,7 +3603,7 @@ const Ql = /* @__PURE__ */ gt(Yl, [["render", ql]]), Xl = /* @__PURE__ */ ae({
3606
3603
  default: T(() => [
3607
3604
  V(Ql, null, {
3608
3605
  default: T(() => [
3609
- (v(), L(l, {
3606
+ (y(), L(l, {
3610
3607
  key: `${o.title}}`,
3611
3608
  class: R(`${t}`),
3612
3609
  bordered: !1,
@@ -3640,10 +3637,10 @@ const Ql = /* @__PURE__ */ gt(Yl, [["render", ql]]), Xl = /* @__PURE__ */ ae({
3640
3637
  title: null
3641
3638
  },
3642
3639
  setup(o) {
3643
- const e = Pe();
3640
+ const e = _e();
3644
3641
  return Fe(() => {
3645
3642
  e.loadLocalThemeConfig();
3646
- }), (t, n) => (v(), L(Xl, { title: o.title }, {
3643
+ }), (t, n) => (y(), L(Xl, { title: o.title }, {
3647
3644
  default: T(() => [
3648
3645
  $e(t.$slots, "default")
3649
3646
  ]),
@@ -3659,14 +3656,14 @@ const Fn = He(Zl), Jl = /* @__PURE__ */ ae({
3659
3656
  setup(o) {
3660
3657
  return (e, t) => {
3661
3658
  const n = G("t-dialog");
3662
- return v(), L(n, st({
3659
+ return y(), L(n, st({
3663
3660
  class: i(wl),
3664
3661
  placement: "center"
3665
3662
  }, o.commonDialogProps), Nt({ _: 2 }, [
3666
3663
  Ae(e.$slots, (a, l) => ({
3667
3664
  name: l,
3668
3665
  fn: T((r) => [
3669
- $e(e.$slots, l, oo(no({ ...r })))
3666
+ $e(e.$slots, l, no(ao({ ...r })))
3670
3667
  ])
3671
3668
  }))
3672
3669
  ]), 1040, ["class"]);
@@ -3684,17 +3681,17 @@ const $n = He(Jl), er = /* @__PURE__ */ ae({
3684
3681
  tFormRef: t
3685
3682
  }), (n, a) => {
3686
3683
  const l = G("t-form");
3687
- return v(), W("div", {
3688
- class: R(`${i(Wt)}`)
3684
+ return y(), W("div", {
3685
+ class: R(`${i(Yt)}`)
3689
3686
  }, [
3690
3687
  V(l, st({
3691
3688
  ref_key: "tFormRef",
3692
3689
  ref: t,
3693
- class: `${i(Wt)}--main`
3690
+ class: `${i(Yt)}--main`
3694
3691
  }, o.commonFormProps), {
3695
3692
  default: T(() => [
3696
3693
  ee("div", {
3697
- class: R(`${i(Wt)}--main-body`),
3694
+ class: R(`${i(Yt)}--main-body`),
3698
3695
  ref: "commonFormBodyRef"
3699
3696
  }, [
3700
3697
  $e(n.$slots, "body")
@@ -3703,7 +3700,7 @@ const $n = He(Jl), er = /* @__PURE__ */ ae({
3703
3700
  _: 3
3704
3701
  }, 16, ["class"]),
3705
3702
  ee("div", {
3706
- class: R(`${i(Wt)}--footer`)
3703
+ class: R(`${i(Yt)}--footer`)
3707
3704
  }, [
3708
3705
  $e(n.$slots, "footer")
3709
3706
  ], 2)
@@ -3716,16 +3713,16 @@ const On = He(er), tr = /* @__PURE__ */ ae({
3716
3713
  setup(o) {
3717
3714
  return (e, t) => {
3718
3715
  const n = G("t-row");
3719
- return v(), W("div", {
3720
- class: R(`${i(Yt)}`)
3716
+ return y(), W("div", {
3717
+ class: R(`${i(qt)}`)
3721
3718
  }, [
3722
3719
  V(n, { justify: "space-between" }, {
3723
3720
  default: T(() => [
3724
3721
  ee("div", {
3725
- class: R(`${i(Yt)}--left`)
3722
+ class: R(`${i(qt)}--left`)
3726
3723
  }, [
3727
3724
  V(n, {
3728
- class: R(`${i(Yt)}--left-row`)
3725
+ class: R(`${i(qt)}--left-row`)
3729
3726
  }, {
3730
3727
  default: T(() => [
3731
3728
  $e(e.$slots, "left-operations")
@@ -3734,7 +3731,7 @@ const On = He(er), tr = /* @__PURE__ */ ae({
3734
3731
  }, 8, ["class"])
3735
3732
  ], 2),
3736
3733
  ee("div", {
3737
- class: R(`${i(Yt)}--right`)
3734
+ class: R(`${i(qt)}--right`)
3738
3735
  }, [
3739
3736
  $e(e.$slots, "right-operations")
3740
3737
  ], 2)
@@ -3767,12 +3764,12 @@ const Rn = He(tr), or = /* @__PURE__ */ ae({
3767
3764
  tTableRef: a
3768
3765
  }), (l, r) => {
3769
3766
  const c = G("t-table"), s = G("t-primary-table"), u = G("t-enhanced-table"), d = G("t-config-provider");
3770
- return v(), W("div", {
3767
+ return y(), W("div", {
3771
3768
  class: R(`${i(Tl)}`)
3772
3769
  }, [
3773
3770
  V(d, { "global-config": n }, {
3774
3771
  default: T(() => [
3775
- o.tableType === "base" ? (v(), L(c, st({
3772
+ o.tableType === "base" ? (y(), L(c, st({
3776
3773
  key: 0,
3777
3774
  ref_key: "tTableRef",
3778
3775
  ref: a,
@@ -3786,10 +3783,10 @@ const Rn = He(tr), or = /* @__PURE__ */ ae({
3786
3783
  Ae(l.$slots, (f, h) => ({
3787
3784
  name: h,
3788
3785
  fn: T((m) => [
3789
- $e(l.$slots, h, oo(no({ ...m })))
3786
+ $e(l.$slots, h, no(ao({ ...m })))
3790
3787
  ])
3791
3788
  }))
3792
- ]), 1040)) : o.tableType == "primary" ? (v(), L(s, st({
3789
+ ]), 1040)) : o.tableType == "primary" ? (y(), L(s, st({
3793
3790
  key: 1,
3794
3791
  ref_key: "tTableRef",
3795
3792
  ref: a,
@@ -3803,10 +3800,10 @@ const Rn = He(tr), or = /* @__PURE__ */ ae({
3803
3800
  Ae(l.$slots, (f, h) => ({
3804
3801
  name: h,
3805
3802
  fn: T((m) => [
3806
- $e(l.$slots, h, oo(no({ ...m })))
3803
+ $e(l.$slots, h, no(ao({ ...m })))
3807
3804
  ])
3808
3805
  }))
3809
- ]), 1040)) : o.tableType === "enhanced" ? (v(), L(u, st({
3806
+ ]), 1040)) : o.tableType === "enhanced" ? (y(), L(u, st({
3810
3807
  key: 2,
3811
3808
  ref_key: "tTableRef",
3812
3809
  ref: a,
@@ -3820,7 +3817,7 @@ const Rn = He(tr), or = /* @__PURE__ */ ae({
3820
3817
  Ae(l.$slots, (f, h) => ({
3821
3818
  name: h,
3822
3819
  fn: T((m) => [
3823
- $e(l.$slots, h, oo(no({ ...m })))
3820
+ $e(l.$slots, h, no(ao({ ...m })))
3824
3821
  ])
3825
3822
  }))
3826
3823
  ]), 1040)) : K("", !0)
@@ -3831,21 +3828,21 @@ const Rn = He(tr), or = /* @__PURE__ */ ae({
3831
3828
  };
3832
3829
  }
3833
3830
  });
3834
- const jn = He(or), No = () => {
3831
+ const jn = He(or), Lo = () => {
3835
3832
  };
3836
- function Rt(o) {
3833
+ function jt(o) {
3837
3834
  return tl(
3838
3835
  "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
3839
3836
  32
3840
3837
  )(o);
3841
3838
  }
3842
3839
  function nr() {
3843
- const o = sessionStorage.getItem(Ot);
3840
+ const o = sessionStorage.getItem(Rt);
3844
3841
  if ((o ?? "") != "")
3845
3842
  return o;
3846
3843
  {
3847
- const e = Rt(32);
3848
- return sessionStorage.setItem(Ot, e), e;
3844
+ const e = jt(32);
3845
+ return sessionStorage.setItem(Rt, e), e;
3849
3846
  }
3850
3847
  }
3851
3848
  const ar = {
@@ -3855,7 +3852,7 @@ const ar = {
3855
3852
  // withCredentials: true,
3856
3853
  // crossDomain: true,
3857
3854
  };
3858
- function Qt(o, e) {
3855
+ function Xt(o, e) {
3859
3856
  return e ? o.indexOf("?") > -1 ? o += "&sessionId=" + e : o += "?sessionId=" + e : o;
3860
3857
  }
3861
3858
  class lr {
@@ -3863,9 +3860,9 @@ class lr {
3863
3860
  De(this, "sessionId");
3864
3861
  De(this, "service");
3865
3862
  De(this, "router");
3866
- this.sessionId = nr, this.service = Kt.create(e), this.router = null, this.service.interceptors.request.use(
3863
+ this.sessionId = nr, this.service = zt.create(e), this.router = null, this.service.interceptors.request.use(
3867
3864
  async (t) => {
3868
- const n = Pe();
3865
+ const n = _e();
3869
3866
  n.checkUserToken();
3870
3867
  const a = n.token ?? "", l = n.userLang ?? "zh-CN";
3871
3868
  return t.headers = {
@@ -3910,16 +3907,16 @@ class lr {
3910
3907
  );
3911
3908
  }
3912
3909
  get(e, t, n = {}) {
3913
- return this.service.get(`${Qt(e, this.sessionId())}`, { params: t, ...n });
3910
+ return this.service.get(`${Xt(e, this.sessionId())}`, { params: t, ...n });
3914
3911
  }
3915
3912
  post(e, t, n = {}) {
3916
- return this.service.post(`${Qt(e, this.sessionId())}`, t, n);
3913
+ return this.service.post(`${Xt(e, this.sessionId())}`, t, n);
3917
3914
  }
3918
3915
  put(e, t, n = {}) {
3919
- return this.service.put(`${Qt(e, this.sessionId())}`, t, n);
3916
+ return this.service.put(`${Xt(e, this.sessionId())}`, t, n);
3920
3917
  }
3921
3918
  delete(e, t, n = {}) {
3922
- return this.service.delete(`${Qt(e, this.sessionId())}`, {
3919
+ return this.service.delete(`${Xt(e, this.sessionId())}`, {
3923
3920
  params: t,
3924
3921
  ...n
3925
3922
  });
@@ -3928,7 +3925,7 @@ class lr {
3928
3925
  this.router = e;
3929
3926
  }
3930
3927
  }
3931
- const We = new lr(ar), mo = {
3928
+ const We = new lr(ar), fo = {
3932
3929
  // 普通上传文件 POST
3933
3930
  baseUploadFile: "/api/base/upload",
3934
3931
  // 准备上传文件 POST
@@ -3939,17 +3936,17 @@ const We = new lr(ar), mo = {
3939
3936
  getFileUrl: "/api/base/upload/files/url"
3940
3937
  };
3941
3938
  function rr(o) {
3942
- return We.post(`${mo.uploadReady}`, Dn.stringify(o));
3939
+ return We.post(`${fo.uploadReady}`, Dn.stringify(o));
3943
3940
  }
3944
3941
  function ir(o) {
3945
- const e = Ke.getItem(Ot);
3946
- return We.service.get(`${mo.getFileUrl}?sessionId=${e}`, {
3942
+ const e = Ke.getItem(Rt);
3943
+ return We.service.get(`${fo.getFileUrl}?sessionId=${e}`, {
3947
3944
  timeout: 0,
3948
3945
  params: o
3949
3946
  });
3950
3947
  }
3951
- lo.enableBoundaryChecking(!1);
3952
- const Xt = (o) => {
3948
+ ro.enableBoundaryChecking(!1);
3949
+ const Zt = (o) => {
3953
3950
  const e = o.responseText || o.response;
3954
3951
  if (!e)
3955
3952
  return;
@@ -3972,38 +3969,38 @@ const Xt = (o) => {
3972
3969
  fileReadyKey: c,
3973
3970
  thread: s,
3974
3971
  chunkSize: u,
3975
- onProgress: d = No,
3976
- onSuccess: f = No,
3977
- onError: h = No
3972
+ onProgress: d = Lo,
3973
+ onSuccess: f = Lo,
3974
+ onError: h = Lo
3978
3975
  }) => {
3979
3976
  var k;
3980
- const m = pn(e, o) || "file", N = pn(t, o), A = Ke.getItem(Ot), B = r ? `${mo.pieceUploadFiles}?sessionId=${A}` : `${mo.baseUploadFile}?sessionId=${A}`, b = [];
3981
- function S(y, g) {
3977
+ const m = pn(e, o) || "file", N = pn(t, o), A = Ke.getItem(Rt), B = r ? `${fo.pieceUploadFiles}?sessionId=${A}` : `${fo.baseUploadFile}?sessionId=${A}`, b = [];
3978
+ function S(v, g) {
3982
3979
  let p = 0;
3983
3980
  b.forEach((C) => {
3984
3981
  p += C;
3985
- }), y = p > 0 ? lo.round(p / l, 2) : 0, d(y, g);
3982
+ }), v = p > 0 ? ro.round(p / l, 2) : 0, d(v, g);
3986
3983
  }
3987
- function I(y, g) {
3984
+ function I(v, g) {
3988
3985
  let p = 0, C = 0, x = !1, D = [];
3989
- const w = y.length, O = async () => {
3986
+ const w = v.length, O = async () => {
3990
3987
  if (x)
3991
3988
  return;
3992
- const U = y.shift();
3989
+ const U = v.shift();
3993
3990
  if (U) {
3994
3991
  const le = C++, M = new XMLHttpRequest();
3995
3992
  a && (M.withCredentials = !0), M.upload.onprogress = (q) => {
3996
- const Y = q.total > 0 ? lo.round(q.loaded / q.total, 2) : 0;
3993
+ const Y = q.total > 0 ? ro.round(q.loaded / q.total, 2) : 0;
3997
3994
  b[le] = q.loaded, S(Y, q);
3998
3995
  }, M.onerror = function(Y) {
3999
3996
  x = !0, h(Y);
4000
3997
  }, M.onload = () => {
4001
3998
  if (M.status < 200 || M.status >= 300) {
4002
- h(Xt(M));
3999
+ h(Zt(M));
4003
4000
  return;
4004
4001
  }
4005
4002
  if (p == w - 1) {
4006
- const q = D.map((Y) => Xt(Y));
4003
+ const q = D.map((Y) => Zt(Y));
4007
4004
  f(q);
4008
4005
  } else
4009
4006
  p++, O();
@@ -4020,15 +4017,15 @@ const Xt = (o) => {
4020
4017
  return D;
4021
4018
  }
4022
4019
  if (r && c) {
4023
- let y = [];
4020
+ let v = [];
4024
4021
  for (let C = 0; C < l; C = C + u) {
4025
4022
  const x = (k = o.file) == null ? void 0 : k.slice(C, Math.min(C + u, l));
4026
- y.push(x);
4023
+ v.push(x);
4027
4024
  }
4028
- const g = y == null ? void 0 : y.map((C, x) => {
4025
+ const g = v == null ? void 0 : v.map((C, x) => {
4029
4026
  const D = new FormData(), w = {
4030
4027
  key: c,
4031
- end: x == y.length - 1,
4028
+ end: x == v.length - 1,
4032
4029
  index: x,
4033
4030
  piece: C
4034
4031
  };
@@ -4047,29 +4044,29 @@ const Xt = (o) => {
4047
4044
  }
4048
4045
  return p;
4049
4046
  } else {
4050
- const y = new XMLHttpRequest();
4051
- a && (y.withCredentials = a), y.upload.onprogress = (p) => {
4052
- const C = p.total > 0 ? lo.round(p.loaded / p.total, 2) : 0;
4047
+ const v = new XMLHttpRequest();
4048
+ a && (v.withCredentials = a), v.upload.onprogress = (p) => {
4049
+ const C = p.total > 0 ? ro.round(p.loaded / p.total, 2) : 0;
4053
4050
  d(C, p);
4054
- }, y.onerror = function(C) {
4051
+ }, v.onerror = function(C) {
4055
4052
  h(C);
4056
- }, y.onload = () => {
4057
- if (y.status < 200 || y.status >= 300) {
4058
- h(Xt(y));
4053
+ }, v.onload = () => {
4054
+ if (v.status < 200 || v.status >= 300) {
4055
+ h(Zt(v));
4059
4056
  return;
4060
4057
  }
4061
- f(Xt(y));
4058
+ f(Zt(v));
4062
4059
  };
4063
4060
  const g = new FormData();
4064
4061
  if (N)
4065
4062
  for (const p of Object.keys(N))
4066
4063
  g.append(p, N[p]);
4067
- o.file && g.append(m, o.file), y.open("post", B ?? "", !0);
4064
+ o.file && g.append(m, o.file), v.open("post", B ?? "", !0);
4068
4065
  for (const p of Object.keys(n))
4069
- y.setRequestHeader(p, n[p]);
4070
- return y.send(g), {
4066
+ v.setRequestHeader(p, n[p]);
4067
+ return v.send(g), {
4071
4068
  abort() {
4072
- y.abort();
4069
+ v.abort();
4073
4070
  }
4074
4071
  };
4075
4072
  }
@@ -4097,7 +4094,7 @@ const Xt = (o) => {
4097
4094
  return e ? t.filter((n) => cr(n, e)) : t;
4098
4095
  }, Kn = (o) => {
4099
4096
  var t, n, a, l;
4100
- const e = { fileId: `${Rt(10)}-root`, filename: "root", childFiles: [] };
4097
+ const e = { fileId: `${jt(10)}-root`, filename: "root", childFiles: [] };
4101
4098
  for (const r of o) {
4102
4099
  const c = (t = r == null ? void 0 : r.relativePath) == null ? void 0 : t.split("/");
4103
4100
  let s = e;
@@ -4107,7 +4104,7 @@ const Xt = (o) => {
4107
4104
  (f) => f.filename === u
4108
4105
  );
4109
4106
  d || (d = {
4110
- fileId: `${Rt(10)}-${u}`,
4107
+ fileId: `${jt(10)}-${u}`,
4111
4108
  filename: u,
4112
4109
  fileUploadType: "path",
4113
4110
  childFiles: []
@@ -4187,7 +4184,7 @@ const Xt = (o) => {
4187
4184
  const d = u.target;
4188
4185
  d.files && e.uploadFiles(gn(d.files)), d.value = "";
4189
4186
  };
4190
- return (u, d) => (v(), W("span", {
4187
+ return (u, d) => (y(), W("span", {
4191
4188
  ref_key: "dropRef",
4192
4189
  ref: r,
4193
4190
  class: R(i(a)),
@@ -4214,7 +4211,7 @@ const Xt = (o) => {
4214
4211
  ]),
4215
4212
  _: 1
4216
4213
  }, 16, ["disabled"]),
4217
- o.tip ? (v(), W("div", {
4214
+ o.tip ? (y(), W("div", {
4218
4215
  key: 0,
4219
4216
  class: R(`${i(n)}-tip`)
4220
4217
  }, J(o.tip), 3)) : K("", !0)
@@ -4232,15 +4229,15 @@ const Xt = (o) => {
4232
4229
  const e = qe(kt, void 0), n = `${_(() => `${e == null ? void 0 : e.uploaderClass}`).value}__progress`, a = (l) => `${Math.round(l * 1e4) / 100}%`;
4233
4230
  return (l, r) => {
4234
4231
  var c, s, u, d, f;
4235
- return v(), W("span", {
4232
+ return y(), W("span", {
4236
4233
  class: R(n)
4237
4234
  }, [
4238
- ["uploading"].includes(o.file.status ?? "") ? (v(), L(i(Aa), {
4235
+ ["uploading"].includes(o.file.status ?? "") ? (y(), L(i(Aa), {
4239
4236
  key: 0,
4240
4237
  size: "small",
4241
4238
  text: `${a(((c = o.file) == null ? void 0 : c.percent) ?? 1)}`
4242
4239
  }, null, 8, ["text"])) : K("", !0),
4243
- o.file.status == "error" ? (v(), W("span", {
4240
+ o.file.status == "error" ? (y(), W("span", {
4244
4241
  key: 1,
4245
4242
  class: R([(s = i(e)) == null ? void 0 : s.iconClass, `${(u = i(e)) == null ? void 0 : u.iconClass}-upload`]),
4246
4243
  onClick: r[0] || (r[0] = (h) => {
@@ -4257,17 +4254,17 @@ const Xt = (o) => {
4257
4254
  default: T(() => {
4258
4255
  var h;
4259
4256
  return [
4260
- (h = i(e)) != null && h.showRetryButton ? (v(), L(i(xn), { key: 0 })) : K("", !0)
4257
+ (h = i(e)) != null && h.showRetryButton ? (y(), L(i(xn), { key: 0 })) : K("", !0)
4261
4258
  ];
4262
4259
  }),
4263
4260
  _: 1
4264
4261
  })
4265
- ], 2)) : o.file.status == "done" ? (v(), W("span", {
4262
+ ], 2)) : o.file.status == "done" ? (y(), W("span", {
4266
4263
  key: 2,
4267
4264
  class: R([(d = i(e)) == null ? void 0 : d.iconClass, `${(f = i(e)) == null ? void 0 : f.iconClass}-success`])
4268
4265
  }, [
4269
4266
  V(i(Ga))
4270
- ], 2)) : o.file.status == "init" ? (v(), L(i(bt), {
4267
+ ], 2)) : o.file.status == "init" ? (y(), L(i(bt), {
4271
4268
  key: 3,
4272
4269
  content: "开始上传",
4273
4270
  placement: "mouse",
@@ -4289,7 +4286,7 @@ const Xt = (o) => {
4289
4286
  ];
4290
4287
  }),
4291
4288
  _: 1
4292
- })) : (v(), L(i(bt), {
4289
+ })) : (y(), L(i(bt), {
4293
4290
  key: 4,
4294
4291
  content: "暂停上传",
4295
4292
  placement: "mouse",
@@ -4330,10 +4327,10 @@ const Xt = (o) => {
4330
4327
  }
4331
4328
  return (l, r) => {
4332
4329
  var c;
4333
- return v(), W("div", {
4330
+ return y(), W("div", {
4334
4331
  class: R(n)
4335
4332
  }, [
4336
- o.file.url ? (v(), L(i(bt), {
4333
+ o.file.url ? (y(), L(i(bt), {
4337
4334
  key: 0,
4338
4335
  content: "打开文件",
4339
4336
  placement: "mouse",
@@ -4345,7 +4342,7 @@ const Xt = (o) => {
4345
4342
  return [
4346
4343
  ee("span", {
4347
4344
  class: R([(s = i(e)) == null ? void 0 : s.iconClass]),
4348
- onClick: r[0] || (r[0] = $t((u) => a(o.file), ["stop"]))
4345
+ onClick: r[0] || (r[0] = Ot((u) => a(o.file), ["stop"]))
4349
4346
  }, [
4350
4347
  V(i(Ha))
4351
4348
  ], 2)
@@ -4353,7 +4350,7 @@ const Xt = (o) => {
4353
4350
  }),
4354
4351
  _: 1
4355
4352
  })) : K("", !0),
4356
- o.file.status == "error" ? (v(), L(i(bt), {
4353
+ o.file.status == "error" ? (y(), L(i(bt), {
4357
4354
  key: 1,
4358
4355
  content: "上传出错",
4359
4356
  placement: "mouse",
@@ -4373,9 +4370,9 @@ const Xt = (o) => {
4373
4370
  _: 1
4374
4371
  })) : K("", !0),
4375
4372
  V(mr, { file: o.file }, null, 8, ["file"]),
4376
- (c = i(e)) != null && c.showRemoveButton ? (v(), W("span", {
4373
+ (c = i(e)) != null && c.showRemoveButton ? (y(), W("span", {
4377
4374
  key: 2,
4378
- onClick: r[1] || (r[1] = $t((s) => {
4375
+ onClick: r[1] || (r[1] = Ot((s) => {
4379
4376
  var u, d;
4380
4377
  return (d = (u = i(e)) == null ? void 0 : u.onRemove) == null ? void 0 : d.call(u, o.file);
4381
4378
  }, ["stop"]))
@@ -4422,11 +4419,11 @@ const zn = /* @__PURE__ */ gt(fr, [["__scopeId", "data-v-0ae4cb76"]]), hr = /* @
4422
4419
  const u = ((s = e.file.filename) == null ? void 0 : s.split(".")[1]) ?? "";
4423
4420
  ["png", "jpg", "jpeg", "bmp", "gif", "webp"].includes(u) ? c = "image" : ["mp4", "m2v", "mkv", "m4v", "mov"].includes(u) ? c = "video" : ["mp3", "wav", "wmv", "m4a", "acc", "flac"].includes(u) && (c = "audio");
4424
4421
  }
4425
- return c.includes("image") ? _t : c.includes("pdf") ? En : c.includes("video") ? Po : Uo;
4422
+ return c.includes("image") ? Ft : c.includes("pdf") ? En : c.includes("video") ? Uo : _o;
4426
4423
  });
4427
4424
  return (c, s) => {
4428
4425
  var u;
4429
- return v(), W("div", {
4426
+ return y(), W("div", {
4430
4427
  class: R([l, `${l}--${o.file.status}`])
4431
4428
  }, [
4432
4429
  ee("div", {
@@ -4435,11 +4432,11 @@ const zn = /* @__PURE__ */ gt(fr, [["__scopeId", "data-v-0ae4cb76"]]), hr = /* @
4435
4432
  ee("div", {
4436
4433
  class: R(`${l}-name`)
4437
4434
  }, [
4438
- ((u = i(t)) == null ? void 0 : u.listType) == "text" ? (v(), W("span", {
4435
+ ((u = i(t)) == null ? void 0 : u.listType) == "text" ? (y(), W("span", {
4439
4436
  key: 0,
4440
4437
  class: R(`${l}-file-icon`)
4441
4438
  }, [
4442
- (v(), L(Ta(i(r))))
4439
+ (y(), L(Ta(i(r))))
4443
4440
  ], 2)) : K("", !0),
4444
4441
  V(i(bt), {
4445
4442
  content: o.file.filename,
@@ -4450,7 +4447,7 @@ const zn = /* @__PURE__ */ gt(fr, [["__scopeId", "data-v-0ae4cb76"]]), hr = /* @
4450
4447
  default: T(() => {
4451
4448
  var d;
4452
4449
  return [
4453
- (d = i(t)) != null && d.showLink && e.file.url ? (v(), L(i(Ea), {
4450
+ (d = i(t)) != null && d.showLink && e.file.url ? (y(), L(i(Ea), {
4454
4451
  key: 0,
4455
4452
  class: R(`${l}-name-text`),
4456
4453
  theme: "primary",
@@ -4463,7 +4460,7 @@ const zn = /* @__PURE__ */ gt(fr, [["__scopeId", "data-v-0ae4cb76"]]), hr = /* @
4463
4460
  re(J(o.file.filename), 1)
4464
4461
  ]),
4465
4462
  _: 1
4466
- }, 8, ["class", "href"])) : (v(), W("span", {
4463
+ }, 8, ["class", "href"])) : (y(), W("span", {
4467
4464
  key: 1,
4468
4465
  class: R(`${l}-name-text`)
4469
4466
  }, J(o.file.filename), 3))
@@ -4494,12 +4491,12 @@ const zn = /* @__PURE__ */ gt(fr, [["__scopeId", "data-v-0ae4cb76"]]), hr = /* @
4494
4491
  `${n.value}__list`,
4495
4492
  `${n.value}__list--type-${e.listType}`
4496
4493
  ]);
4497
- return (l, r) => (v(), L(Ma, {
4494
+ return (l, r) => (y(), L(Ma, {
4498
4495
  tag: "div",
4499
4496
  class: R(i(a))
4500
4497
  }, {
4501
4498
  default: T(() => [
4502
- (v(!0), W(ke, null, Ae(o.fileList, (c, s) => (v(), L(hr, {
4499
+ (y(!0), W(ke, null, Ae(o.fileList, (c, s) => (y(), L(hr, {
4503
4500
  key: `fileItem-${s}`,
4504
4501
  file: c,
4505
4502
  listType: o.listType
@@ -4530,14 +4527,14 @@ const zn = /* @__PURE__ */ gt(fr, [["__scopeId", "data-v-0ae4cb76"]]), hr = /* @
4530
4527
  const m = ((f = u.data.filename) == null ? void 0 : f.split(".")[1]) ?? "";
4531
4528
  ["png", "jpg", "jpeg", "bmp", "gif", "webp"].includes(m) ? h = "image" : ["mp4", "m2v", "mkv", "m4v", "mov"].includes(m) ? h = "video" : ["mp3", "wav", "wmv", "m4a", "acc", "flac"].includes(m) && (h = "audio");
4532
4529
  }
4533
- h.includes("image") && (d = _t), h.includes("pdf") && (d = En), h.includes("audio") && (d = Po), h.includes("video") && (d = Po), d = Uo;
4530
+ h.includes("image") && (d = Ft), h.includes("pdf") && (d = En), h.includes("audio") && (d = Uo), h.includes("video") && (d = Uo), d = _o;
4534
4531
  } else
4535
- d = Uo;
4532
+ d = _o;
4536
4533
  return d && s(d, {});
4537
4534
  }, c = _(() => e.fileTree.childFiles);
4538
4535
  return (s, u) => {
4539
4536
  var d, f;
4540
- return o.fileTree && ((f = (d = o.fileTree) == null ? void 0 : d.childFiles) != null && f.length) ? (v(), L(i(Da), {
4537
+ return o.fileTree && ((f = (d = o.fileTree) == null ? void 0 : d.childFiles) != null && f.length) ? (y(), L(i(Da), {
4541
4538
  key: 0,
4542
4539
  hover: "",
4543
4540
  icon: r,
@@ -4549,7 +4546,7 @@ const zn = /* @__PURE__ */ gt(fr, [["__scopeId", "data-v-0ae4cb76"]]), hr = /* @
4549
4546
  keys: { value: "fileId", label: "filename", children: "childFiles" }
4550
4547
  }, {
4551
4548
  operations: T(({ node: h }) => [
4552
- h.data.fileUploadType == "file" ? (v(), L(zn, {
4549
+ h.data.fileUploadType == "file" ? (y(), L(zn, {
4553
4550
  key: 0,
4554
4551
  file: h.data
4555
4552
  }, null, 8, ["file"])) : K("", !0)
@@ -4863,12 +4860,12 @@ const vr = /* @__PURE__ */ ae({
4863
4860
  imageLoading: h,
4864
4861
  download: m,
4865
4862
  showLink: N
4866
- } = Ca(t), A = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), b = j([]), S = _(() => t.directory ? b.value.length ? Kn(b.value) : { fileId: "" } : { fileId: "" }), I = _(() => t.limit > 0 && b.value.length >= t.limit), k = _(() => t.buttonText ? t.buttonText : t.directory ? I.value ? `${n("重新选择")}` : `${n("上传文件夹")}` : I.value ? `${n("重新选择")}` : `${n("上传文件")}`), y = (M) => {
4863
+ } = Ca(t), A = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), b = j([]), S = _(() => t.directory ? b.value.length ? Kn(b.value) : { fileId: "" } : { fileId: "" }), I = _(() => t.limit > 0 && b.value.length >= t.limit), k = _(() => t.buttonText ? t.buttonText : t.directory ? I.value ? `${n("重新选择")}` : `${n("上传文件夹")}` : I.value ? `${n("重新选择")}` : `${n("上传文件")}`), v = (M) => {
4867
4864
  A.clear();
4868
4865
  const q = M == null ? void 0 : M.map((Y, ie) => {
4869
- const Me = Y.status ? Y.status : Y.url ? "done" : "error", he = Mo({
4866
+ const Me = Y.status ? Y.status : Y.url ? "done" : "error", he = Co({
4870
4867
  ...Y,
4871
- fileId: Y.fileId ?? `${Rt(10)}-${Y.filename}`,
4868
+ fileId: Y.fileId ?? `${jt(10)}-${Y.filename}`,
4872
4869
  status: Me,
4873
4870
  percent: Y.percent ?? (["error", "init"].indexOf(Me) > -1 ? 0 : 1)
4874
4871
  });
@@ -4876,10 +4873,10 @@ const vr = /* @__PURE__ */ ae({
4876
4873
  });
4877
4874
  b.value = q ?? [];
4878
4875
  };
4879
- y(t.defaultFileList), we(
4876
+ v(t.defaultFileList), we(
4880
4877
  () => l == null ? void 0 : l.value,
4881
4878
  (M) => {
4882
- M && y(M);
4879
+ M && v(M);
4883
4880
  },
4884
4881
  { immediate: !0, deep: !0 }
4885
4882
  );
@@ -4953,7 +4950,7 @@ const vr = /* @__PURE__ */ ae({
4953
4950
  ie && (ie.status = "error", ie.percent = 0, g(ie));
4954
4951
  }
4955
4952
  }, D = async (M, q) => {
4956
- const Y = `${Rt(10)}-${M.name}`, ie = void 0, Me = Mo({
4953
+ const Y = `${jt(10)}-${M.name}`, ie = void 0, Me = Co({
4957
4954
  fileId: Y,
4958
4955
  file: M,
4959
4956
  filename: M.name,
@@ -4995,11 +4992,11 @@ const vr = /* @__PURE__ */ ae({
4995
4992
  });
4996
4993
  return Ln(
4997
4994
  kt,
4998
- Mo({
4995
+ Co({
4999
4996
  disabled: r,
5000
4997
  listType: c,
5001
- uploaderClass: qt,
5002
- iconClass: `${qt}--icon`,
4998
+ uploaderClass: Qt,
4999
+ iconClass: `${Qt}--icon`,
5003
5000
  showRemoveButton: d,
5004
5001
  showRetryButton: s,
5005
5002
  showCancelButton: u,
@@ -5014,10 +5011,10 @@ const vr = /* @__PURE__ */ ae({
5014
5011
  })
5015
5012
  ), (M, q) => {
5016
5013
  var Y;
5017
- return v(), W("div", {
5018
- class: R([`${i(qt)}`])
5014
+ return y(), W("div", {
5015
+ class: R([`${i(Qt)}`])
5019
5016
  }, [
5020
- o.showUploadButton ? (v(), L(dr, st({
5017
+ o.showUploadButton ? (y(), L(dr, st({
5021
5018
  key: 0,
5022
5019
  disabled: i(r),
5023
5020
  listType: i(c),
@@ -5030,16 +5027,16 @@ const vr = /* @__PURE__ */ ae({
5030
5027
  onButtonClick: o.onButtonClick,
5031
5028
  buttonProps: o.buttonProps
5032
5029
  }, { ...(Y = b.value) != null && Y.length ? {} : { tip: o.tip } }), null, 16, ["disabled", "listType", "uploaderText", "multiple", "directory", "hide", "accept", "onButtonClick", "buttonProps"])) : K("", !0),
5033
- o.showFileList && b.value.length ? (v(), L(i(Va), {
5030
+ o.showFileList && b.value.length ? (y(), L(i(Va), {
5034
5031
  key: 1,
5035
- class: R(`${i(qt)}__card`),
5032
+ class: R(`${i(Qt)}__card`),
5036
5033
  size: "small"
5037
5034
  }, {
5038
5035
  default: T(() => [
5039
- o.directory ? o.directory && i(S) ? (v(), L(gr, {
5036
+ o.directory ? o.directory && i(S) ? (y(), L(gr, {
5040
5037
  key: 1,
5041
5038
  fileTree: i(S)
5042
- }, null, 8, ["fileTree"])) : K("", !0) : (v(), L(pr, {
5039
+ }, null, 8, ["fileTree"])) : K("", !0) : (y(), L(pr, {
5043
5040
  key: 0,
5044
5041
  fileList: b.value,
5045
5042
  listType: i(c)
@@ -5084,7 +5081,7 @@ const Ro = He(vr), yr = ["src"], br = /* @__PURE__ */ ae({
5084
5081
  e("close-dialog");
5085
5082
  }
5086
5083
  const m = pt(), N = _(() => {
5087
- const S = po(t.dialogViewInfo.link);
5084
+ const S = go(t.dialogViewInfo.link);
5088
5085
  let I = "";
5089
5086
  if (S)
5090
5087
  I = Lt(t.dialogViewInfo.link ?? "", {
@@ -5101,7 +5098,7 @@ const Ro = He(vr), yr = ["src"], br = /* @__PURE__ */ ae({
5101
5098
  }
5102
5099
  return (S, I) => {
5103
5100
  const k = G("t-loading");
5104
- return v(), L(i($n), {
5101
+ return y(), L(i($n), {
5105
5102
  commonDialogProps: {
5106
5103
  visible: o.isDialogVisible,
5107
5104
  width: i(u),
@@ -5118,13 +5115,13 @@ const Ro = He(vr), yr = ["src"], br = /* @__PURE__ */ ae({
5118
5115
  text: `${i(n)("加载中")}`
5119
5116
  }, {
5120
5117
  default: T(() => [
5121
- o.dialogType === "view" ? (v(), L(i(a), {
5118
+ o.dialogType === "view" ? (y(), L(i(a), {
5122
5119
  key: 0,
5123
5120
  viewName: i(r),
5124
5121
  board: o.dialogViewBoard,
5125
5122
  dialogProps: i(d),
5126
5123
  onCloseDialog: h
5127
- }, null, 8, ["viewName", "board", "dialogProps"])) : o.dialogType === "iframe" ? (v(), W("iframe", {
5124
+ }, null, 8, ["viewName", "board", "dialogProps"])) : o.dialogType === "iframe" ? (y(), W("iframe", {
5128
5125
  key: 1,
5129
5126
  class: "g-iframe",
5130
5127
  ref_key: "dialogIframeRef",
@@ -5154,7 +5151,7 @@ const wr = He(br), Tr = /* @__PURE__ */ ae({
5154
5151
  const e = o, t = _(() => e.formItem.keyName), n = _(() => (t.value === "startTime" || t.value === "endTime") && typeof e.modelValue == "number" ? rt(e.modelValue).format("YYYY/MM/DD HH:mm:ss") : e.modelValue);
5155
5152
  return (a, l) => {
5156
5153
  const r = G("t-tag");
5157
- return v(), L(r, { class: "g-label" }, {
5154
+ return y(), L(r, { class: "g-label" }, {
5158
5155
  default: T(() => [
5159
5156
  re(J(i(n)), 1)
5160
5157
  ]),
@@ -5164,7 +5161,7 @@ const wr = He(br), Tr = /* @__PURE__ */ ae({
5164
5161
  }
5165
5162
  });
5166
5163
  const Hn = /* @__PURE__ */ gt(Tr, [["__scopeId", "data-v-48c19901"]]);
5167
- function Ue(o) {
5164
+ function Pe(o) {
5168
5165
  switch (o) {
5169
5166
  case "check_box":
5170
5167
  case "switch":
@@ -5188,18 +5185,18 @@ function Xo(o, e) {
5188
5185
  t.keyName && _n(ce(o, t.keyName)) && (t.itemType === "check_box" || t.itemType === "switch") && it(
5189
5186
  o,
5190
5187
  t.keyName,
5191
- Ue(t.itemType)
5188
+ Pe(t.itemType)
5192
5189
  );
5193
- }), Ft(o, {});
5190
+ }), $t(o, {});
5194
5191
  {
5195
5192
  let t = {};
5196
5193
  return e.forEach((n) => {
5197
5194
  Oe(n.keyName) || it(
5198
5195
  t,
5199
5196
  n.keyName,
5200
- Ue(n.itemType)
5197
+ Pe(n.itemType)
5201
5198
  );
5202
- }), Ft(t, {});
5199
+ }), $t(t, {});
5203
5200
  }
5204
5201
  }
5205
5202
  }
@@ -5263,14 +5260,14 @@ const jo = /* @__PURE__ */ ae({
5263
5260
  t.originValue && t.originValue != d && e("blur:modelValue", d);
5264
5261
  }
5265
5262
  ht(() => {
5266
- r(Ue(n.value));
5263
+ r(Pe(n.value));
5267
5264
  });
5268
5265
  const s = j(), u = j(!1);
5269
5266
  return Fe(() => {
5270
5267
  u.value = Dt(s.value);
5271
5268
  }), (d, f) => {
5272
5269
  const h = G("t-input"), m = G("t-tooltip");
5273
- return v(), W("div", {
5270
+ return y(), W("div", {
5274
5271
  ref_key: "formInputRef",
5275
5272
  ref: s,
5276
5273
  style: { width: "100%" }
@@ -5325,7 +5322,7 @@ const jo = /* @__PURE__ */ ae({
5325
5322
  }
5326
5323
  return (l, r) => {
5327
5324
  const c = G("t-checkbox");
5328
- return v(), L(c, {
5325
+ return y(), L(c, {
5329
5326
  modelValue: n.value,
5330
5327
  "onUpdate:modelValue": r[0] || (r[0] = (s) => n.value = s),
5331
5328
  onChange: a,
@@ -5360,13 +5357,13 @@ const jo = /* @__PURE__ */ ae({
5360
5357
  return we(
5361
5358
  () => t.disabled,
5362
5359
  () => {
5363
- t.disabled && e("update:modelValue", Ue(n.value));
5360
+ t.disabled && e("update:modelValue", Pe(n.value));
5364
5361
  }
5365
- ), Gt(() => {
5366
- e("update:modelValue", Ue(n.value));
5362
+ ), Kt(() => {
5363
+ e("update:modelValue", Pe(n.value));
5367
5364
  }), (r, c) => {
5368
5365
  const s = G("t-switch");
5369
- return v(), L(s, {
5366
+ return y(), L(s, {
5370
5367
  modelValue: a.value,
5371
5368
  "onUpdate:modelValue": c[0] || (c[0] = (u) => a.value = u),
5372
5369
  onChange: l,
@@ -5391,9 +5388,9 @@ const jo = /* @__PURE__ */ ae({
5391
5388
  confirm: "/restapi/s09/gview/active/confirm",
5392
5389
  // 触发 - 触发批量操作事件 POST
5393
5390
  batch: "/restapi/s09/gview/active/batch"
5394
- }, Qn = (o) => We.get(Vt.getOneView, o), go = (o) => We.post(Vt.getBoardData, o), Mr = (o) => We.post(Vt.confirm, o), Cr = (o) => We.post(Vt.batch, o), kr = (o) => We.post(Vt.activeFile, o), Ir = (o) => We.post(Vt.downloadFile, o);
5391
+ }, Qn = (o) => We.get(Vt.getOneView, o), vo = (o) => We.post(Vt.getBoardData, o), Mr = (o) => We.post(Vt.confirm, o), Cr = (o) => We.post(Vt.batch, o), kr = (o) => We.post(Vt.activeFile, o), Ir = (o) => We.post(Vt.downloadFile, o);
5395
5392
  async function Sr(o, e, t, n) {
5396
- const a = await go({
5393
+ const a = await vo({
5397
5394
  viewName: e,
5398
5395
  dataId: t,
5399
5396
  props: n
@@ -5412,7 +5409,7 @@ async function Sr(o, e, t, n) {
5412
5409
  }
5413
5410
  }
5414
5411
  async function Nr(o, e, t, n) {
5415
- const a = await go({
5412
+ const a = await vo({
5416
5413
  viewName: e,
5417
5414
  dataId: t,
5418
5415
  props: n
@@ -5431,7 +5428,7 @@ async function Nr(o, e, t, n) {
5431
5428
  }
5432
5429
  }
5433
5430
  async function Lr(o, e, t, n) {
5434
- const a = await go({
5431
+ const a = await vo({
5435
5432
  viewName: e,
5436
5433
  dataId: t,
5437
5434
  props: n
@@ -5450,9 +5447,9 @@ async function Lr(o, e, t, n) {
5450
5447
  }
5451
5448
  }
5452
5449
  }
5453
- function vo(o) {
5450
+ function yo(o) {
5454
5451
  const e = j([]);
5455
- return Gt(async () => {
5452
+ return Kt(async () => {
5456
5453
  switch (o.itemType) {
5457
5454
  case "tree_check_box": {
5458
5455
  const { treeData: t, viewName: n, dataId: a, propsModel: l } = o;
@@ -5512,7 +5509,7 @@ const Bt = Symbol("PropsModel"), Xn = /* @__PURE__ */ ae({
5512
5509
  }), l = _(() => {
5513
5510
  var d, f;
5514
5511
  return ((f = (d = t.formItem) == null ? void 0 : d.listData) == null ? void 0 : f.dataId) ?? "";
5515
- }), r = qe(Bt, void 0), { options: c } = vo({
5512
+ }), r = qe(Bt, void 0), { options: c } = yo({
5516
5513
  itemType: n.value,
5517
5514
  viewName: t.viewName,
5518
5515
  listData: a.value,
@@ -5535,20 +5532,20 @@ const Bt = Symbol("PropsModel"), Xn = /* @__PURE__ */ ae({
5535
5532
  return we(
5536
5533
  () => t.disabled,
5537
5534
  () => {
5538
- t.disabled && e("update:modelValue", Ue(n.value));
5535
+ t.disabled && e("update:modelValue", Pe(n.value));
5539
5536
  }
5540
- ), Gt(() => {
5541
- e("update:modelValue", Ue(n.value));
5537
+ ), Kt(() => {
5538
+ e("update:modelValue", Pe(n.value));
5542
5539
  }), (d, f) => {
5543
5540
  const h = G("t-radio"), m = G("t-radio-group");
5544
- return v(), L(m, {
5541
+ return y(), L(m, {
5545
5542
  modelValue: s.value,
5546
5543
  "onUpdate:modelValue": f[0] || (f[0] = (N) => s.value = N),
5547
5544
  onChange: u,
5548
5545
  disabled: o.disabled
5549
5546
  }, {
5550
5547
  default: T(() => [
5551
- (v(!0), W(ke, null, Ae(i(c), (N) => (v(), L(h, {
5548
+ (y(!0), W(ke, null, Ae(i(c), (N) => (y(), L(h, {
5552
5549
  key: N.key,
5553
5550
  value: N.value
5554
5551
  }, {
@@ -5584,7 +5581,7 @@ const Bt = Symbol("PropsModel"), Xn = /* @__PURE__ */ ae({
5584
5581
  }), l = _(() => {
5585
5582
  var m, N;
5586
5583
  return ((N = (m = t.formItem) == null ? void 0 : m.listData) == null ? void 0 : N.dataId) ?? "";
5587
- }), r = qe(Bt, void 0), { options: c } = vo({
5584
+ }), r = qe(Bt, void 0), { options: c } = yo({
5588
5585
  itemType: n.value,
5589
5586
  viewName: t.viewName,
5590
5587
  listData: a.value,
@@ -5610,17 +5607,17 @@ const Bt = Symbol("PropsModel"), Xn = /* @__PURE__ */ ae({
5610
5607
  we(
5611
5608
  () => t.disabled,
5612
5609
  () => {
5613
- t.disabled || u(Ue(n.value));
5610
+ t.disabled || u(Pe(n.value));
5614
5611
  }
5615
5612
  ), ht(() => {
5616
- u(Ue(n.value));
5613
+ u(Pe(n.value));
5617
5614
  });
5618
5615
  const f = j(), h = j(!1);
5619
5616
  return Fe(() => {
5620
5617
  f.value && (h.value = Dt(f.value));
5621
5618
  }), (m, N) => {
5622
5619
  const A = G("t-select"), B = G("t-tooltip");
5623
- return v(), W("div", {
5620
+ return y(), W("div", {
5624
5621
  ref_key: "formSelectRef",
5625
5622
  ref: f,
5626
5623
  style: { width: "100%" }
@@ -5690,7 +5687,7 @@ const Bt = Symbol("PropsModel"), Xn = /* @__PURE__ */ ae({
5690
5687
  we(
5691
5688
  () => t.disabled,
5692
5689
  () => {
5693
- t.disabled && e("update:modelValue", Ue(n.value));
5690
+ t.disabled && e("update:modelValue", Pe(n.value));
5694
5691
  }
5695
5692
  );
5696
5693
  const c = j(), s = j(!1);
@@ -5698,7 +5695,7 @@ const Bt = Symbol("PropsModel"), Xn = /* @__PURE__ */ ae({
5698
5695
  c.value && (s.value = Dt(c.value));
5699
5696
  }), (u, d) => {
5700
5697
  const f = G("t-date-picker"), h = G("t-time-picker"), m = G("t-tooltip");
5701
- return v(), W("div", {
5698
+ return y(), W("div", {
5702
5699
  ref_key: "formSelectDateTimeRef",
5703
5700
  ref: c,
5704
5701
  style: { width: "100%" }
@@ -5714,7 +5711,7 @@ const Bt = Symbol("PropsModel"), Xn = /* @__PURE__ */ ae({
5714
5711
  default: T(() => {
5715
5712
  var N, A, B, b, S;
5716
5713
  return [
5717
- ((N = o.formItem) == null ? void 0 : N.itemType) === "date_selector" || ((A = o.formItem) == null ? void 0 : A.itemType) === "date_time_selector" ? (v(), L(f, {
5714
+ ((N = o.formItem) == null ? void 0 : N.itemType) === "date_selector" || ((A = o.formItem) == null ? void 0 : A.itemType) === "date_time_selector" ? (y(), L(f, {
5718
5715
  key: 0,
5719
5716
  "enable-time-picker": ((B = o.formItem) == null ? void 0 : B.itemType) === "date_time_selector",
5720
5717
  placeholder: o.placeholder,
@@ -5727,7 +5724,7 @@ const Bt = Symbol("PropsModel"), Xn = /* @__PURE__ */ ae({
5727
5724
  onBlur: r,
5728
5725
  clearable: ""
5729
5726
  }, null, 8, ["enable-time-picker", "placeholder", "modelValue", "format", "disabled"])) : K("", !0),
5730
- ((b = o.formItem) == null ? void 0 : b.itemType) === "time_selector" ? (v(), L(h, {
5727
+ ((b = o.formItem) == null ? void 0 : b.itemType) === "time_selector" ? (y(), L(h, {
5731
5728
  key: 1,
5732
5729
  placeholder: o.placeholder,
5733
5730
  disabled: o.disabled,
@@ -5779,7 +5776,7 @@ const Bt = Symbol("PropsModel"), Xn = /* @__PURE__ */ ae({
5779
5776
  }), r = _(() => {
5780
5777
  var m, N;
5781
5778
  return ((N = (m = t.formItem) == null ? void 0 : m.treeData) == null ? void 0 : N.dataId) ?? "";
5782
- }), c = qe(Bt, void 0), { options: s } = vo({
5779
+ }), c = qe(Bt, void 0), { options: s } = yo({
5783
5780
  itemType: a.value,
5784
5781
  viewName: t.viewName,
5785
5782
  treeData: l.value,
@@ -5795,17 +5792,17 @@ const Bt = Symbol("PropsModel"), Xn = /* @__PURE__ */ ae({
5795
5792
  we(
5796
5793
  () => t.disabled,
5797
5794
  () => {
5798
- t.disabled || u(Ue(a.value));
5795
+ t.disabled || u(Pe(a.value));
5799
5796
  }
5800
5797
  ), ht(() => {
5801
- u(Ue(a.value));
5798
+ u(Pe(a.value));
5802
5799
  });
5803
5800
  const f = j(), h = j(!1);
5804
5801
  return Fe(() => {
5805
5802
  f.value && (h.value = Dt(f.value));
5806
5803
  }), (m, N) => {
5807
5804
  const A = G("t-tree-select"), B = G("t-tooltip");
5808
- return v(), W("div", {
5805
+ return y(), W("div", {
5809
5806
  ref_key: "formTreeCheckBoxRef",
5810
5807
  ref: f,
5811
5808
  style: { width: "100%" }
@@ -5860,7 +5857,7 @@ const Bt = Symbol("PropsModel"), Xn = /* @__PURE__ */ ae({
5860
5857
  }), l = _(() => {
5861
5858
  var m, N;
5862
5859
  return ((N = (m = t.formItem) == null ? void 0 : m.treeData) == null ? void 0 : N.dataId) ?? "";
5863
- }), r = qe(Bt, void 0), { options: c } = vo({
5860
+ }), r = qe(Bt, void 0), { options: c } = yo({
5864
5861
  itemType: n.value,
5865
5862
  viewName: t.viewName,
5866
5863
  treeData: a.value,
@@ -5886,17 +5883,17 @@ const Bt = Symbol("PropsModel"), Xn = /* @__PURE__ */ ae({
5886
5883
  we(
5887
5884
  () => t.disabled,
5888
5885
  () => {
5889
- t.disabled || u(Ue(n.value));
5886
+ t.disabled || u(Pe(n.value));
5890
5887
  }
5891
5888
  ), ht(() => {
5892
- u(Ue(n.value));
5889
+ u(Pe(n.value));
5893
5890
  });
5894
5891
  const f = j(), h = j(!1);
5895
5892
  return Fe(() => {
5896
5893
  f.value && (h.value = Dt(f.value));
5897
5894
  }), (m, N) => {
5898
5895
  const A = G("t-cascader"), B = G("t-tooltip");
5899
- return v(), W("div", {
5896
+ return y(), W("div", {
5900
5897
  ref_key: "formCascaderRef",
5901
5898
  ref: f,
5902
5899
  style: { width: "100%" }
@@ -5990,7 +5987,7 @@ const Bt = Symbol("PropsModel"), Xn = /* @__PURE__ */ ae({
5990
5987
  }
5991
5988
  return (s, u) => {
5992
5989
  var d, f;
5993
- return o.formItem.fileUploadType != "path" ? (v(), L(i(Ro), {
5990
+ return o.formItem.fileUploadType != "path" ? (y(), L(i(Ro), {
5994
5991
  key: 0,
5995
5992
  fileList: a.value,
5996
5993
  tip: o.placeholder,
@@ -6001,7 +5998,7 @@ const Bt = Symbol("PropsModel"), Xn = /* @__PURE__ */ ae({
6001
5998
  onRemove: r,
6002
5999
  onChange: l,
6003
6000
  onError: c
6004
- }, null, 8, ["fileList", "tip", "disabled", "accept"])) : (v(), L(i(Ro), {
6001
+ }, null, 8, ["fileList", "tip", "disabled", "accept"])) : (y(), L(i(Ro), {
6005
6002
  key: 1,
6006
6003
  directory: !0,
6007
6004
  fileList: a.value,
@@ -6027,22 +6024,22 @@ var xr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
6027
6024
  (function(t, n) {
6028
6025
  o.exports = n();
6029
6026
  })(xr, function() {
6030
- var t, n, a = 1e3, l = 6e4, r = 36e5, c = 864e5, s = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, u = 31536e6, d = 2592e6, f = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, h = { years: u, months: d, days: c, hours: r, minutes: l, seconds: a, milliseconds: 1, weeks: 6048e5 }, m = function(y) {
6031
- return y instanceof k;
6032
- }, N = function(y, g, p) {
6033
- return new k(y, p, g.$l);
6034
- }, A = function(y) {
6035
- return n.p(y) + "s";
6036
- }, B = function(y) {
6037
- return y < 0;
6038
- }, b = function(y) {
6039
- return B(y) ? Math.ceil(y) : Math.floor(y);
6040
- }, S = function(y) {
6041
- return Math.abs(y);
6042
- }, I = function(y, g) {
6043
- return y ? B(y) ? { negative: !0, format: "" + S(y) + g } : { negative: !1, format: "" + y + g } : { negative: !1, format: "" };
6027
+ var t, n, a = 1e3, l = 6e4, r = 36e5, c = 864e5, s = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, u = 31536e6, d = 2592e6, f = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, h = { years: u, months: d, days: c, hours: r, minutes: l, seconds: a, milliseconds: 1, weeks: 6048e5 }, m = function(v) {
6028
+ return v instanceof k;
6029
+ }, N = function(v, g, p) {
6030
+ return new k(v, p, g.$l);
6031
+ }, A = function(v) {
6032
+ return n.p(v) + "s";
6033
+ }, B = function(v) {
6034
+ return v < 0;
6035
+ }, b = function(v) {
6036
+ return B(v) ? Math.ceil(v) : Math.floor(v);
6037
+ }, S = function(v) {
6038
+ return Math.abs(v);
6039
+ }, I = function(v, g) {
6040
+ return v ? B(v) ? { negative: !0, format: "" + S(v) + g } : { negative: !1, format: "" + v + g } : { negative: !1, format: "" };
6044
6041
  }, k = function() {
6045
- function y(p, C, x) {
6042
+ function v(p, C, x) {
6046
6043
  var D = this;
6047
6044
  if (this.$d = {}, this.$l = x, p === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), C)
6048
6045
  return N(p * h[A(C)], this);
@@ -6063,7 +6060,7 @@ var xr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
6063
6060
  }
6064
6061
  return this;
6065
6062
  }
6066
- var g = y.prototype;
6063
+ var g = v.prototype;
6067
6064
  return g.calMilliseconds = function() {
6068
6065
  var p = this;
6069
6066
  this.$ms = Object.keys(this.$d).reduce(function(C, x) {
@@ -6135,9 +6132,9 @@ var xr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
6135
6132
  return this.get("years");
6136
6133
  }, g.asYears = function() {
6137
6134
  return this.as("years");
6138
- }, y;
6135
+ }, v;
6139
6136
  }();
6140
- return function(y, g, p) {
6137
+ return function(v, g, p) {
6141
6138
  t = p, n = p().$utils(), p.duration = function(D, w) {
6142
6139
  var O = p.locale();
6143
6140
  return N(D, { $l: O }, w);
@@ -6197,7 +6194,7 @@ const Er = Go, Dr = /* @__PURE__ */ ae({
6197
6194
  we(
6198
6195
  () => t.disabled,
6199
6196
  () => {
6200
- t.disabled && e("update:modelValue", Ue(n.value));
6197
+ t.disabled && e("update:modelValue", Pe(n.value));
6201
6198
  }
6202
6199
  );
6203
6200
  const c = j(), s = j(!1);
@@ -6205,7 +6202,7 @@ const Er = Go, Dr = /* @__PURE__ */ ae({
6205
6202
  c.value && (s.value = Dt(c.value));
6206
6203
  }), (u, d) => {
6207
6204
  const f = G("t-time-picker"), h = G("t-tooltip");
6208
- return v(), W("div", {
6205
+ return y(), W("div", {
6209
6206
  ref_key: "formSelectDelayRef",
6210
6207
  ref: c,
6211
6208
  style: { width: "100%" }
@@ -6301,7 +6298,7 @@ const Vr = /* @__PURE__ */ ae({
6301
6298
  }
6302
6299
  ), ht(() => {
6303
6300
  e("update:modelValue", "");
6304
- }), (b, S) => (v(), W("div", {
6301
+ }), (b, S) => (y(), W("div", {
6305
6302
  class: R([`${n}`, `${h.value ? `${n}--focused` : ""}`])
6306
6303
  }, [
6307
6304
  V(i(nl), {
@@ -6376,12 +6373,12 @@ const Vr = /* @__PURE__ */ ae({
6376
6373
  e("blur:modelValue", l.value);
6377
6374
  }
6378
6375
  return ht(() => {
6379
- r(Ue(a.value));
6376
+ r(Pe(a.value));
6380
6377
  }), (f, h) => {
6381
6378
  const m = G("t-button"), N = G("t-input"), A = G("t-input-group"), B = G("t-space");
6382
- return v(), L(B, null, {
6379
+ return y(), L(B, null, {
6383
6380
  default: T(() => [
6384
- l.value.length == 0 ? (v(), L(m, {
6381
+ l.value.length == 0 ? (y(), L(m, {
6385
6382
  key: 0,
6386
6383
  onClick: c,
6387
6384
  variant: "outline"
@@ -6390,12 +6387,12 @@ const Vr = /* @__PURE__ */ ae({
6390
6387
  re(J(`${i(n)("添加")}${o.formItem.name}`), 1)
6391
6388
  ]),
6392
6389
  _: 1
6393
- })) : (v(), L(B, {
6390
+ })) : (y(), L(B, {
6394
6391
  key: 1,
6395
6392
  direction: "vertical"
6396
6393
  }, {
6397
6394
  default: T(() => [
6398
- (v(!0), W(ke, null, Ae(l.value, (b, S) => (v(), L(A, { key: S }, {
6395
+ (y(!0), W(ke, null, Ae(l.value, (b, S) => (y(), L(A, { key: S }, {
6399
6396
  default: T(() => [
6400
6397
  V(N, {
6401
6398
  style: { width: "200px" },
@@ -6415,7 +6412,7 @@ const Vr = /* @__PURE__ */ ae({
6415
6412
  ]),
6416
6413
  _: 2
6417
6414
  }, 1032, ["onClick"]),
6418
- S == l.value.length - 1 ? (v(), L(m, {
6415
+ S == l.value.length - 1 ? (y(), L(m, {
6419
6416
  key: 0,
6420
6417
  variant: "outline",
6421
6418
  theme: "default",
@@ -6443,7 +6440,7 @@ function na(o = {}) {
6443
6440
  if (!Oe(n) && n !== 1) {
6444
6441
  let l, r;
6445
6442
  try {
6446
- return l = ft.render(n, { form: o.formModel.value }), r = $o(l, { form: o.formModel.value }), r;
6443
+ return l = ft.render(n, { form: o.formModel.value }), r = Oo(l, { form: o.formModel.value }), r;
6447
6444
  } catch (c) {
6448
6445
  console.error(n, c.message);
6449
6446
  }
@@ -6454,7 +6451,7 @@ function na(o = {}) {
6454
6451
  if (!Oe(n) && n !== 0) {
6455
6452
  let l, r;
6456
6453
  try {
6457
- l = ft.render(n, { form: o.formModel.value }), r = $o(l, { form: o.formModel.value });
6454
+ l = ft.render(n, { form: o.formModel.value }), r = Oo(l, { form: o.formModel.value });
6458
6455
  } catch (c) {
6459
6456
  console.error(n, c.message);
6460
6457
  }
@@ -6478,15 +6475,15 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6478
6475
  emits: ["after-update-value"],
6479
6476
  setup(o, { expose: e, emit: t }) {
6480
6477
  const n = o, { t: a } = Ve(), l = _(() => n.formModel), { handleItemShowIf: r, handleItemDisableIf: c } = na({ formModel: l });
6481
- function s(y, g) {
6482
- t("after-update-value", y, g);
6478
+ function s(v, g) {
6479
+ t("after-update-value", v, g);
6483
6480
  }
6484
6481
  const u = _(() => n.formItem.disableIf ? c(n.formItem.disableIf, n.formItem) : !1), d = j(!0);
6485
6482
  function f() {
6486
6483
  return u.value;
6487
6484
  }
6488
- function h(y) {
6489
- d.value = y;
6485
+ function h(v) {
6486
+ d.value = v;
6490
6487
  }
6491
6488
  const m = _(
6492
6489
  () => n.formItem.keyName ? n.formItem.keyName : n.formItem.name
@@ -6512,8 +6509,8 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6512
6509
  }), A = _(() => {
6513
6510
  if (n.formItem.placeholder && n.formItem.placeholder !== "")
6514
6511
  return n.formItem.placeholder;
6515
- const y = n.formItem.name.trim().replace(/[::]/g, "").replace(/ {2,}/g, "");
6516
- return y !== "" ? `${N.value}${y}` : "";
6512
+ const v = n.formItem.name.trim().replace(/[::]/g, "").replace(/ {2,}/g, "");
6513
+ return v !== "" ? `${N.value}${v}` : "";
6517
6514
  });
6518
6515
  e({
6519
6516
  formItem: n.formItem,
@@ -6525,8 +6522,8 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6525
6522
  Fe(() => {
6526
6523
  if (b.value && n.isLabelNameShow) {
6527
6524
  I.value = b.value.parentElement.parentElement.clientWidth;
6528
- const y = b.value.clientWidth;
6529
- y && y && y - I.value > -15 && (S.value = !0);
6525
+ const v = b.value.clientWidth;
6526
+ v && v && v - I.value > -15 && (S.value = !0);
6530
6527
  }
6531
6528
  });
6532
6529
  const k = {
@@ -6576,19 +6573,19 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6576
6573
  empty: `${a("暂无数据")}`
6577
6574
  }
6578
6575
  };
6579
- return (y, g) => {
6576
+ return (v, g) => {
6580
6577
  const p = G("t-divider"), C = G("t-tooltip"), x = G("t-form-item"), D = G("t-config-provider");
6581
- return v(), W("div", {
6578
+ return y(), W("div", {
6582
6579
  ref: "formItemRef",
6583
6580
  class: R(`${i(mn)}`),
6584
6581
  id: i(m)
6585
6582
  }, [
6586
- d.value ? (v(), L(D, {
6583
+ d.value ? (y(), L(D, {
6587
6584
  key: 0,
6588
6585
  "global-config": k
6589
6586
  }, {
6590
6587
  default: T(() => [
6591
- o.formItem.itemType === "line" && o.formItem.name && i(r)(o.formItem.showIf, o.formItem) ? (v(), L(p, {
6588
+ o.formItem.itemType === "line" && o.formItem.name && i(r)(o.formItem.showIf, o.formItem) ? (y(), L(p, {
6592
6589
  key: 0,
6593
6590
  align: "left"
6594
6591
  }, {
@@ -6596,7 +6593,7 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6596
6593
  re(J(o.formItem.name), 1)
6597
6594
  ]),
6598
6595
  _: 1
6599
- })) : o.formItem.itemType !== "hidden" && i(r)(o.formItem.showIf, o.formItem) ? (v(), L(x, {
6596
+ })) : o.formItem.itemType !== "hidden" && i(r)(o.formItem.showIf, o.formItem) ? (y(), L(x, {
6600
6597
  key: 1,
6601
6598
  ref: `item_${o.formItem.keyName}`,
6602
6599
  id: o.formItem.keyName,
@@ -6621,7 +6618,7 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6621
6618
  "formItem__label",
6622
6619
  S.value ? "formItem__label--ellipsis" : ""
6623
6620
  ]),
6624
- style: jt({
6621
+ style: Gt({
6625
6622
  ...S.value ? { width: `${I.value - 20}px` } : {}
6626
6623
  })
6627
6624
  }, J(i(B)), 7)
@@ -6632,12 +6629,12 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6632
6629
  default: T(() => {
6633
6630
  var w, O, U, le;
6634
6631
  return [
6635
- o.formItem.itemType === "label" ? (v(), L(Hn, {
6632
+ o.formItem.itemType === "label" ? (y(), L(Hn, {
6636
6633
  key: 0,
6637
6634
  formItem: o.formItem,
6638
6635
  modelValue: i(ce)(i(l), o.formItem.keyName)
6639
6636
  }, null, 8, ["formItem", "modelValue"])) : K("", !0),
6640
- o.formItem.itemType === "text_input" && o.formItem.inputType != "RE_PASSWORD" ? (v(), L(jo, {
6637
+ o.formItem.itemType === "text_input" && o.formItem.inputType != "RE_PASSWORD" ? (y(), L(jo, {
6641
6638
  key: 1,
6642
6639
  formItem: o.formItem,
6643
6640
  inputType: (O = (w = o.formItem) == null ? void 0 : w.inputType) == null ? void 0 : O.toLowerCase(),
@@ -6646,7 +6643,7 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6646
6643
  disabled: i(u),
6647
6644
  "onUpdate:modelValue": g[0] || (g[0] = (M) => s(o.formItem.keyName, M))
6648
6645
  }, null, 8, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : K("", !0),
6649
- o.formItem.itemType === "text_input" && o.formItem.inputType == "RE_PASSWORD" ? (v(), L(jo, {
6646
+ o.formItem.itemType === "text_input" && o.formItem.inputType == "RE_PASSWORD" ? (y(), L(jo, {
6650
6647
  key: 2,
6651
6648
  formItem: o.formItem,
6652
6649
  inputType: o.formItem.inputType.toLowerCase(),
@@ -6655,13 +6652,13 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6655
6652
  disabled: i(u),
6656
6653
  "onUpdate:modelValue": g[1] || (g[1] = (M) => s("rePassword", M))
6657
6654
  }, null, 8, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : K("", !0),
6658
- o.formItem.itemType === "check_box" ? (v(), L(Yn, {
6655
+ o.formItem.itemType === "check_box" ? (y(), L(Yn, {
6659
6656
  key: 3,
6660
6657
  modelValue: i(ce)(i(l), o.formItem.keyName, !1),
6661
6658
  disabled: i(u),
6662
6659
  "onUpdate:modelValue": g[2] || (g[2] = (M) => s(o.formItem.keyName, M))
6663
6660
  }, null, 8, ["modelValue", "disabled"])) : K("", !0),
6664
- o.formItem.itemType === "switch" ? (v(), L(qn, {
6661
+ o.formItem.itemType === "switch" ? (y(), L(qn, {
6665
6662
  key: 4,
6666
6663
  formItem: o.formItem,
6667
6664
  viewName: o.viewName,
@@ -6669,7 +6666,7 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6669
6666
  disabled: i(u),
6670
6667
  "onUpdate:modelValue": g[3] || (g[3] = (M) => s(o.formItem.keyName, M))
6671
6668
  }, null, 8, ["formItem", "viewName", "modelValue", "disabled"])) : K("", !0),
6672
- o.formItem.itemType === "radio" ? (v(), L(Xn, {
6669
+ o.formItem.itemType === "radio" ? (y(), L(Xn, {
6673
6670
  key: 5,
6674
6671
  modelValue: i(ce)(i(l), o.formItem.keyName),
6675
6672
  formItem: o.formItem,
@@ -6677,7 +6674,7 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6677
6674
  disabled: i(u),
6678
6675
  "onUpdate:modelValue": g[4] || (g[4] = (M) => s(o.formItem.keyName, M))
6679
6676
  }, null, 8, ["modelValue", "formItem", "viewName", "disabled"])) : K("", !0),
6680
- o.formItem.itemType === "selector" || o.formItem.itemType === "multi_selector" ? (v(), L(Zn, {
6677
+ o.formItem.itemType === "selector" || o.formItem.itemType === "multi_selector" ? (y(), L(Zn, {
6681
6678
  key: (U = o.formItem.listData) == null ? void 0 : U.dataId,
6682
6679
  modelValue: i(ce)(i(l), o.formItem.keyName),
6683
6680
  formItem: o.formItem,
@@ -6687,7 +6684,7 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6687
6684
  placeholder: i(A),
6688
6685
  "onUpdate:modelValue": g[5] || (g[5] = (M) => s(o.formItem.keyName, M))
6689
6686
  }, null, 8, ["modelValue", "formItem", "viewName", "multiple", "disabled", "placeholder"])) : K("", !0),
6690
- o.formItem.itemType === "date_selector" || o.formItem.itemType === "time_selector" || o.formItem.itemType === "date_time_selector" ? (v(), L(Jn, {
6687
+ o.formItem.itemType === "date_selector" || o.formItem.itemType === "time_selector" || o.formItem.itemType === "date_time_selector" ? (y(), L(Jn, {
6691
6688
  key: 7,
6692
6689
  modelValue: i(ce)(i(l), o.formItem.keyName),
6693
6690
  formItem: o.formItem,
@@ -6696,7 +6693,7 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6696
6693
  placeholder: i(A),
6697
6694
  "onUpdate:modelValue": g[6] || (g[6] = (M) => s(o.formItem.keyName, M))
6698
6695
  }, null, 8, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : K("", !0),
6699
- o.formItem.itemType == "delay_selector" ? (v(), L(Dr, {
6696
+ o.formItem.itemType == "delay_selector" ? (y(), L(Dr, {
6700
6697
  key: 8,
6701
6698
  modelValue: i(ce)(i(l), o.formItem.keyName),
6702
6699
  formItem: o.formItem,
@@ -6705,7 +6702,7 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6705
6702
  placeholder: i(A),
6706
6703
  "onUpdate:modelValue": g[7] || (g[7] = (M) => s(o.formItem.keyName, M))
6707
6704
  }, null, 8, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : K("", !0),
6708
- o.formItem.itemType === "tree_check_box" ? (v(), L(ea, {
6705
+ o.formItem.itemType === "tree_check_box" ? (y(), L(ea, {
6709
6706
  key: 9,
6710
6707
  modelValue: i(ce)(i(l), o.formItem.keyName),
6711
6708
  formItem: o.formItem,
@@ -6714,7 +6711,7 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6714
6711
  placeholder: i(A),
6715
6712
  "onUpdate:modelValue": g[8] || (g[8] = (M) => s(o.formItem.keyName, M))
6716
6713
  }, null, 8, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : K("", !0),
6717
- o.formItem.itemType === "multi_tree_selector" || o.formItem.itemType === "tree_selector" ? (v(), L(ta, {
6714
+ o.formItem.itemType === "multi_tree_selector" || o.formItem.itemType === "tree_selector" ? (y(), L(ta, {
6718
6715
  key: 10,
6719
6716
  modelValue: i(ce)(i(l), o.formItem.keyName),
6720
6717
  formItem: o.formItem,
@@ -6724,7 +6721,7 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6724
6721
  placeholder: i(A),
6725
6722
  "onUpdate:modelValue": g[9] || (g[9] = (M) => s(o.formItem.keyName, M))
6726
6723
  }, null, 8, ["modelValue", "formItem", "viewName", "multiple", "disabled", "placeholder"])) : K("", !0),
6727
- o.formItem.itemType === "file" ? (v(), L(oa, {
6724
+ o.formItem.itemType === "file" ? (y(), L(oa, {
6728
6725
  key: 11,
6729
6726
  modelValue: i(ce)(i(l), o.formItem.keyName),
6730
6727
  formItem: o.formItem,
@@ -6735,7 +6732,7 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6735
6732
  "onUpdate:fileName": g[10] || (g[10] = (M) => o.formItem.filenameKeyName && s(o.formItem.filenameKeyName, M)),
6736
6733
  "onUpdate:modelValue": g[11] || (g[11] = (M) => s(o.formItem.keyName, M))
6737
6734
  }, null, 8, ["modelValue", "formItem", "viewName", "disabled", "placeholder", "fileName"])) : K("", !0),
6738
- o.formItem.itemType === "tag" ? (v(), L(Br, {
6735
+ o.formItem.itemType === "tag" ? (y(), L(Br, {
6739
6736
  key: 12,
6740
6737
  modelValue: i(ce)(i(l), o.formItem.keyName),
6741
6738
  formItem: o.formItem,
@@ -6744,7 +6741,7 @@ const Pr = ["id"], Ur = /* @__PURE__ */ ae({
6744
6741
  placeholder: i(A),
6745
6742
  "onUpdate:modelValue": g[12] || (g[12] = (M) => s(o.formItem.keyName, M))
6746
6743
  }, null, 8, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : K("", !0),
6747
- o.formItem.itemType === "rich_text" ? (v(), L(Vr, {
6744
+ o.formItem.itemType === "rich_text" ? (y(), L(Vr, {
6748
6745
  key: 13,
6749
6746
  modelValue: i(ce)(i(l), o.formItem.keyName),
6750
6747
  formItem: o.formItem,
@@ -6787,7 +6784,7 @@ const aa = /* @__PURE__ */ gt(Ur, [["__scopeId", "data-v-f6f3b390"]]), _r = ["id
6787
6784
  u.length && e("block-show-if-change", t.name, u, s);
6788
6785
  }
6789
6786
  }
6790
- return Gt(() => {
6787
+ return Kt(() => {
6791
6788
  a();
6792
6789
  }), Fe(() => {
6793
6790
  r();
@@ -6796,7 +6793,7 @@ const aa = /* @__PURE__ */ gt(Ur, [["__scopeId", "data-v-f6f3b390"]]), _r = ["id
6796
6793
  () => {
6797
6794
  a(), r();
6798
6795
  }
6799
- ), (c, s) => (v(), W("div", {
6796
+ ), (c, s) => (y(), W("div", {
6800
6797
  id: n.value,
6801
6798
  ref_key: "blockRef",
6802
6799
  ref: l
@@ -6899,7 +6896,7 @@ const aa = /* @__PURE__ */ gt(Ur, [["__scopeId", "data-v-f6f3b390"]]), _r = ["id
6899
6896
  }
6900
6897
  return null;
6901
6898
  }
6902
- function y(p) {
6899
+ function v(p) {
6903
6900
  let C = Ho(p);
6904
6901
  const x = Object.keys(C);
6905
6902
  if (l.value && x.length) {
@@ -6920,7 +6917,7 @@ const aa = /* @__PURE__ */ gt(Ur, [["__scopeId", "data-v-f6f3b390"]]), _r = ["id
6920
6917
  const x = k(C);
6921
6918
  ue.warning(x == null ? void 0 : x.message);
6922
6919
  } else {
6923
- const x = y(r.value);
6920
+ const x = v(r.value);
6924
6921
  e("confirm-form", x, p.buttonId);
6925
6922
  }
6926
6923
  });
@@ -6932,7 +6929,7 @@ const aa = /* @__PURE__ */ gt(Ur, [["__scopeId", "data-v-f6f3b390"]]), _r = ["id
6932
6929
  const x = k(C);
6933
6930
  ue.warning(x == null ? void 0 : x.message);
6934
6931
  } else {
6935
- const x = y(r.value);
6932
+ const x = v(r.value);
6936
6933
  e("confirm-and-close", x, p.buttonId);
6937
6934
  }
6938
6935
  });
@@ -6950,7 +6947,7 @@ const aa = /* @__PURE__ */ gt(Ur, [["__scopeId", "data-v-f6f3b390"]]), _r = ["id
6950
6947
  }
6951
6948
  return (p, C) => {
6952
6949
  const x = G("t-button");
6953
- return v(), L(i(On), {
6950
+ return y(), L(i(On), {
6954
6951
  ref_key: "commonFormRef",
6955
6952
  ref: s,
6956
6953
  commonFormProps: {
@@ -6961,10 +6958,10 @@ const aa = /* @__PURE__ */ gt(Ur, [["__scopeId", "data-v-f6f3b390"]]), _r = ["id
6961
6958
  }
6962
6959
  }, {
6963
6960
  body: T(() => [
6964
- (v(!0), W(ke, null, Ae(i(l), (D) => (v(), W(ke, {
6961
+ (y(!0), W(ke, null, Ae(i(l), (D) => (y(), W(ke, {
6965
6962
  key: `${D.name}_${D.keyName}`
6966
6963
  }, [
6967
- D.itemType === "block_start" || D.itemType === "block_end" ? (v(), L(Fr, {
6964
+ D.itemType === "block_start" || D.itemType === "block_end" ? (y(), L(Fr, {
6968
6965
  key: 0,
6969
6966
  ref_for: !0,
6970
6967
  ref_key: "formBlockRef",
@@ -6973,7 +6970,7 @@ const aa = /* @__PURE__ */ gt(Ur, [["__scopeId", "data-v-f6f3b390"]]), _r = ["id
6973
6970
  blockType: D.itemType,
6974
6971
  showIf: i(c)(D.showIf),
6975
6972
  onBlockShowIfChange: N
6976
- }, null, 8, ["name", "blockType", "showIf"])) : (v(), L(aa, {
6973
+ }, null, 8, ["name", "blockType", "showIf"])) : (y(), L(aa, {
6977
6974
  key: 1,
6978
6975
  ref_for: !0,
6979
6976
  ref_key: "formItemRef",
@@ -6988,7 +6985,7 @@ const aa = /* @__PURE__ */ gt(Ur, [["__scopeId", "data-v-f6f3b390"]]), _r = ["id
6988
6985
  footer: T(() => {
6989
6986
  var D;
6990
6987
  return [
6991
- i(I) && i(I).name != "" && i(I).action !== "NONE" ? (v(), L(x, {
6988
+ i(I) && i(I).name != "" && i(I).action !== "NONE" ? (y(), L(x, {
6992
6989
  key: 0,
6993
6990
  theme: "default",
6994
6991
  onClick: C[0] || (C[0] = (w) => i(I) && g(i(I)))
@@ -7001,7 +6998,7 @@ const aa = /* @__PURE__ */ gt(Ur, [["__scopeId", "data-v-f6f3b390"]]), _r = ["id
7001
6998
  }),
7002
6999
  _: 1
7003
7000
  })) : K("", !0),
7004
- i(S) && i(S).name != "" && ((D = i(S)) == null ? void 0 : D.action) !== "NONE" ? (v(), L(x, {
7001
+ i(S) && i(S).name != "" && ((D = i(S)) == null ? void 0 : D.action) !== "NONE" ? (y(), L(x, {
7005
7002
  key: 1,
7006
7003
  theme: "primary",
7007
7004
  onClick: C[1] || (C[1] = (w) => i(S) && g(i(S)))
@@ -7067,7 +7064,7 @@ const Or = He($r), Rr = /* @__PURE__ */ ae({
7067
7064
  }
7068
7065
  return (s, u) => {
7069
7066
  var d, f;
7070
- return v(), L(i(Ro), st({
7067
+ return y(), L(i(Ro), st({
7071
7068
  limit: 1,
7072
7069
  multiple: !1,
7073
7070
  showFileList: !1,
@@ -7109,16 +7106,16 @@ const Or = He($r), Rr = /* @__PURE__ */ ae({
7109
7106
  }
7110
7107
  return (u, d) => {
7111
7108
  const f = G("t-button");
7112
- return v(), L(i(Rn), null, Nt({
7109
+ return y(), L(i(Rn), null, Nt({
7113
7110
  "left-operations": T(() => [
7114
- (v(!0), W(ke, null, Ae(i(n), (h) => (v(), W(ke, {
7111
+ (y(!0), W(ke, null, Ae(i(n), (h) => (y(), W(ke, {
7115
7112
  key: h.buttonId
7116
7113
  }, [
7117
- h.action == "UPLOAD_FILE" ? (v(), L(Rr, {
7114
+ h.action == "UPLOAD_FILE" ? (y(), L(Rr, {
7118
7115
  key: 0,
7119
7116
  button: h,
7120
7117
  viewName: o.viewName
7121
- }, null, 8, ["button", "viewName"])) : (v(), L(f, {
7118
+ }, null, 8, ["button", "viewName"])) : (y(), L(f, {
7122
7119
  key: 1,
7123
7120
  theme: "primary",
7124
7121
  onClick: (m) => a(h)
@@ -7135,7 +7132,7 @@ const Or = He($r), Rr = /* @__PURE__ */ ae({
7135
7132
  i(l) ? {
7136
7133
  name: "right-operations",
7137
7134
  fn: T(() => [
7138
- (v(!0), W(ke, null, Ae(i(l), (h, m) => (v(), W("div", {
7135
+ (y(!0), W(ke, null, Ae(i(l), (h, m) => (y(), W("div", {
7139
7136
  class: R(`${i(kl)}--right-item`),
7140
7137
  key: m
7141
7138
  }, [
@@ -7173,20 +7170,20 @@ const Gr = /* @__PURE__ */ gt(jr, [["__scopeId", "data-v-cca3891b"]]), Kr = He(G
7173
7170
  function s(u, d) {
7174
7171
  e("blur", u, r.value);
7175
7172
  }
7176
- return (u, d) => (v(), W("div", {
7173
+ return (u, d) => (y(), W("div", {
7177
7174
  class: R(`${a}`)
7178
7175
  }, [
7179
- (v(!0), W(ke, null, Ae(i(l), (f) => {
7176
+ (y(!0), W(ke, null, Ae(i(l), (f) => {
7180
7177
  var h;
7181
- return v(), W("div", {
7178
+ return y(), W("div", {
7182
7179
  key: f.keyName
7183
7180
  }, [
7184
- f.itemType === "label" ? (v(), L(Hn, {
7181
+ f.itemType === "label" ? (y(), L(Hn, {
7185
7182
  key: 0,
7186
7183
  modelValue: i(ce)(i(r), o.col.colKey),
7187
7184
  formItem: f
7188
7185
  }, null, 8, ["modelValue", "formItem"])) : K("", !0),
7189
- f.itemType == "text_input" ? (v(), L(jo, {
7186
+ f.itemType == "text_input" ? (y(), L(jo, {
7190
7187
  key: 1,
7191
7188
  formItem: f,
7192
7189
  viewName: o.viewName,
@@ -7196,7 +7193,7 @@ const Gr = /* @__PURE__ */ gt(jr, [["__scopeId", "data-v-cca3891b"]]), Kr = He(G
7196
7193
  "onUpdate:modelValue": d[0] || (d[0] = (m) => o.col.colKey && c(o.col.colKey, m)),
7197
7194
  "onBlur:modelValue": (m) => s(f)
7198
7195
  }, null, 8, ["formItem", "viewName", "inputType", "originValue", "modelValue", "onBlur:modelValue"])) : K("", !0),
7199
- f.itemType === "check_box" ? (v(), L(Yn, {
7196
+ f.itemType === "check_box" ? (y(), L(Yn, {
7200
7197
  key: 2,
7201
7198
  formItem: f,
7202
7199
  viewName: o.viewName,
@@ -7205,7 +7202,7 @@ const Gr = /* @__PURE__ */ gt(jr, [["__scopeId", "data-v-cca3891b"]]), Kr = He(G
7205
7202
  "onUpdate:modelValue": d[1] || (d[1] = (m) => o.col.colKey && c(o.col.colKey, m)),
7206
7203
  "onBlur:modelValue": (m) => s(f)
7207
7204
  }, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : K("", !0),
7208
- f.itemType === "switch" ? (v(), L(qn, {
7205
+ f.itemType === "switch" ? (y(), L(qn, {
7209
7206
  key: 3,
7210
7207
  formItem: f,
7211
7208
  viewName: o.viewName,
@@ -7214,7 +7211,7 @@ const Gr = /* @__PURE__ */ gt(jr, [["__scopeId", "data-v-cca3891b"]]), Kr = He(G
7214
7211
  "onUpdate:modelValue": d[2] || (d[2] = (m) => o.col.colKey && c(o.col.colKey, m)),
7215
7212
  "onBlur:modelValue": (m) => s(f)
7216
7213
  }, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : K("", !0),
7217
- f.itemType === "radio" ? (v(), L(Xn, {
7214
+ f.itemType === "radio" ? (y(), L(Xn, {
7218
7215
  key: 4,
7219
7216
  originValue: i(ce)(o.row, o.col.colKey),
7220
7217
  modelValue: i(ce)(i(r), o.col.colKey),
@@ -7223,7 +7220,7 @@ const Gr = /* @__PURE__ */ gt(jr, [["__scopeId", "data-v-cca3891b"]]), Kr = He(G
7223
7220
  "onUpdate:modelValue": d[3] || (d[3] = (m) => o.col.colKey && c(o.col.colKey, m)),
7224
7221
  "onBlur:modelValue": (m) => s(f)
7225
7222
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : K("", !0),
7226
- f.itemType === "selector" || f.itemType === "multi_selector" ? (v(), L(Zn, {
7223
+ f.itemType === "selector" || f.itemType === "multi_selector" ? (y(), L(Zn, {
7227
7224
  key: 5,
7228
7225
  originValue: i(ce)(o.row, o.col.colKey),
7229
7226
  modelValue: i(ce)(i(r), o.col.colKey),
@@ -7233,7 +7230,7 @@ const Gr = /* @__PURE__ */ gt(jr, [["__scopeId", "data-v-cca3891b"]]), Kr = He(G
7233
7230
  "onUpdate:modelValue": d[4] || (d[4] = (m) => o.col.colKey && c(o.col.colKey, m)),
7234
7231
  "onBlur:modelValue": (m) => s(f)
7235
7232
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : K("", !0),
7236
- f.itemType === "date_selector" || f.itemType === "time_selector" || f.itemType === "date_time_selector" ? (v(), L(Jn, {
7233
+ f.itemType === "date_selector" || f.itemType === "time_selector" || f.itemType === "date_time_selector" ? (y(), L(Jn, {
7237
7234
  key: 6,
7238
7235
  originValue: i(ce)(o.row, o.col.colKey),
7239
7236
  modelValue: i(ce)(i(r), o.col.colKey),
@@ -7242,7 +7239,7 @@ const Gr = /* @__PURE__ */ gt(jr, [["__scopeId", "data-v-cca3891b"]]), Kr = He(G
7242
7239
  "onUpdate:modelValue": d[5] || (d[5] = (m) => o.col.colKey && c(o.col.colKey, m)),
7243
7240
  "onBlur:modelValue": (m) => s(f)
7244
7241
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : K("", !0),
7245
- f.itemType === "tree_check_box" ? (v(), L(ea, {
7242
+ f.itemType === "tree_check_box" ? (y(), L(ea, {
7246
7243
  key: 7,
7247
7244
  originValue: i(ce)(o.row, o.col.colKey),
7248
7245
  modelValue: i(ce)(i(r), o.col.colKey),
@@ -7251,7 +7248,7 @@ const Gr = /* @__PURE__ */ gt(jr, [["__scopeId", "data-v-cca3891b"]]), Kr = He(G
7251
7248
  "onUpdate:modelValue": d[6] || (d[6] = (m) => o.col.colKey && c(o.col.colKey, m)),
7252
7249
  "onBlur:modelValue": (m) => s(f)
7253
7250
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : K("", !0),
7254
- f.itemType === "multi_tree_selector" || f.itemType === "tree_selector" ? (v(), L(ta, {
7251
+ f.itemType === "multi_tree_selector" || f.itemType === "tree_selector" ? (y(), L(ta, {
7255
7252
  key: 8,
7256
7253
  originValue: i(ce)(o.row, o.col.colKey),
7257
7254
  modelValue: i(ce)(i(r), o.col.colKey),
@@ -7261,7 +7258,7 @@ const Gr = /* @__PURE__ */ gt(jr, [["__scopeId", "data-v-cca3891b"]]), Kr = He(G
7261
7258
  "onUpdate:modelValue": d[7] || (d[7] = (m) => o.col.colKey && c(o.col.colKey, m)),
7262
7259
  "onBlur:modelValue": (m) => s(f)
7263
7260
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : K("", !0),
7264
- f.itemType === "file" ? (v(), L(oa, {
7261
+ f.itemType === "file" ? (y(), L(oa, {
7265
7262
  key: 9,
7266
7263
  modelValue: i(ce)(i(r), o.col.colKey),
7267
7264
  formItem: f,
@@ -7275,7 +7272,7 @@ const Gr = /* @__PURE__ */ gt(jr, [["__scopeId", "data-v-cca3891b"]]), Kr = He(G
7275
7272
  ], 2));
7276
7273
  }
7277
7274
  });
7278
- function Lo(o) {
7275
+ function xo(o) {
7279
7276
  return o === "" ? o : o === "true" || o == "1";
7280
7277
  }
7281
7278
  function Hr(o, e) {
@@ -7523,12 +7520,12 @@ function Qr(o, {
7523
7520
  throw new RangeError(
7524
7521
  "Canvas has no associated contexts (try calling getContext or newPage first)"
7525
7522
  );
7526
- let S, I, k = e.replace(/{(\d*)}/g, (g, p) => (I = !0, p = parseInt(p, 10), S = isFinite(p) ? p : isFinite(S) ? S : -1, "{}")), y = a > 0 ? a - 1 : a < 0 ? b + a : void 0;
7527
- if (isFinite(y) && y < 0 || y >= b)
7523
+ let S, I, k = e.replace(/{(\d*)}/g, (g, p) => (I = !0, p = parseInt(p, 10), S = isFinite(p) ? p : isFinite(S) ? S : -1, "{}")), v = a > 0 ? a - 1 : a < 0 ? b + a : void 0;
7524
+ if (isFinite(v) && v < 0 || v >= b)
7528
7525
  throw new RangeError(
7529
- b == 1 ? `Canvas only has a ‘page 1’ (${y} is out of bounds)` : `Canvas has pages 1–${b} (${y} is out of bounds)`
7526
+ b == 1 ? `Canvas only has a ‘page 1’ (${v} is out of bounds)` : `Canvas has pages 1–${b} (${v} is out of bounds)`
7530
7527
  );
7531
- if (o = isFinite(y) ? [o[y]] : I || A == "pdf" ? o : o.slice(-1), l === void 0)
7528
+ if (o = isFinite(v) ? [o[v]] : I || A == "pdf" ? o : o.slice(-1), l === void 0)
7532
7529
  l = 0.92;
7533
7530
  else if (typeof l != "number" || !isFinite(l) || l < 0 || l > 1)
7534
7531
  throw new TypeError(
@@ -7553,9 +7550,9 @@ function Qr(o, {
7553
7550
  archive: m
7554
7551
  };
7555
7552
  }
7556
- class yo {
7553
+ class bo {
7557
7554
  static for(e) {
7558
- return new yo().append(e).get();
7555
+ return new bo().append(e).get();
7559
7556
  }
7560
7557
  constructor() {
7561
7558
  this.crc = -1;
@@ -7569,7 +7566,7 @@ class yo {
7569
7566
  return this.crc = t, this;
7570
7567
  }
7571
7568
  }
7572
- yo.prototype.table = (() => {
7569
+ bo.prototype.table = (() => {
7573
7570
  var o, e, t, n = [];
7574
7571
  for (o = 0; o < 256; o++) {
7575
7572
  for (t = o, e = 0; e < 8; e++)
@@ -7578,7 +7575,7 @@ yo.prototype.table = (() => {
7578
7575
  }
7579
7576
  return n;
7580
7577
  })();
7581
- function xo(o) {
7578
+ function Ao(o) {
7582
7579
  let e = new Uint8Array(o), t = new DataView(e.buffer), n = {
7583
7580
  array: e,
7584
7581
  view: t,
@@ -7598,7 +7595,7 @@ function xo(o) {
7598
7595
  };
7599
7596
  return n;
7600
7597
  }
7601
- class bo {
7598
+ class wo {
7602
7599
  constructor(e) {
7603
7600
  let t = new Date();
7604
7601
  Object.assign(this, {
@@ -7610,16 +7607,16 @@ class bo {
7610
7607
  }), this.add(e);
7611
7608
  }
7612
7609
  async add(e, t) {
7613
- let n = !t, a = bo.encoder.encode(`${this.directory}/${n ? "" : e}`), l = new Uint8Array(n ? 0 : await t.arrayBuffer()), r = 30 + a.length, c = r + l.length, s = 16, { offset: u } = this, d = xo(26).set32(0, 134742036).set16(6, this.time).set16(8, this.date).set32(10, yo.for(l)).set32(14, l.length).set32(18, l.length).set16(22, a.length);
7610
+ let n = !t, a = wo.encoder.encode(`${this.directory}/${n ? "" : e}`), l = new Uint8Array(n ? 0 : await t.arrayBuffer()), r = 30 + a.length, c = r + l.length, s = 16, { offset: u } = this, d = Ao(26).set32(0, 134742036).set16(6, this.time).set16(8, this.date).set32(10, bo.for(l)).set32(14, l.length).set32(18, l.length).set16(22, a.length);
7614
7611
  u += r;
7615
- let f = xo(r + l.length + s).set32(0, 67324752).bytes(4, d.array).bytes(30, a).bytes(r, l);
7612
+ let f = Ao(r + l.length + s).set32(0, 67324752).bytes(4, d.array).bytes(30, a).bytes(r, l);
7616
7613
  u += l.length, f.set32(c, 134695760).bytes(c + 4, d.array.slice(10, 22)), u += s, this.files.push({ offset: u, folder: n, name: a, header: d, payload: f }), this.offset = u;
7617
7614
  }
7618
7615
  toBuffer() {
7619
7616
  let e = this.files.reduce(
7620
7617
  (f, { name: h }) => 46 + h.length + f,
7621
7618
  0
7622
- ), t = xo(e + 22), n = 0;
7619
+ ), t = Ao(e + 22), n = 0;
7623
7620
  for (var { offset: a, name: l, header: r, folder: c } of this.files)
7624
7621
  t.set32(n, 33639248).set16(n + 4, 20).bytes(n + 6, r.array).set8(n + 38, c ? 16 : 0).set32(n + 42, a).bytes(n + 46, l), n += 46 + l.length;
7625
7622
  t.set32(n, 101010256).set16(n + 8, this.files.length).set16(n + 10, this.files.length).set32(n + 12, e).set32(n + 16, this.offset);
@@ -7632,7 +7629,7 @@ class bo {
7632
7629
  return new Blob([this.toBuffer()], { type: "application/zip" });
7633
7630
  }
7634
7631
  }
7635
- bo.encoder = new TextEncoder();
7632
+ wo.encoder = new TextEncoder();
7636
7633
  const Zo = (o, e, t, n) => {
7637
7634
  if (n) {
7638
7635
  let { width: a, height: l } = o, r = Object.assign(document.createElement("canvas"), { width: a, height: l }), c = r.getContext("2d");
@@ -7642,7 +7639,7 @@ const Zo = (o, e, t, n) => {
7642
7639
  }, Xr = (...o) => Zo(...o).then((e) => e.arrayBuffer()), Zr = async (o, e, t, n, a) => {
7643
7640
  ra(a, await Zo(o, e, t, n));
7644
7641
  }, Jr = async (o, e, t, n, a, l, r) => {
7645
- let c = (d) => l.replace("{}", String(d + 1).padStart(r, "0")), s = la(a, ".zip") || "archive", u = new bo(s);
7642
+ let c = (d) => l.replace("{}", String(d + 1).padStart(r, "0")), s = la(a, ".zip") || "archive", u = new wo(s);
7646
7643
  await Promise.all(
7647
7644
  o.map(async (d, f) => {
7648
7645
  let h = c(f);
@@ -7657,7 +7654,7 @@ const Zo = (o, e, t, n) => {
7657
7654
  return n.canvas;
7658
7655
  let a = document.createElement("canvas"), l = a.getContext("2d"), r = n.canvas ? n.canvas : n;
7659
7656
  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;
7660
- }), ti = { asBuffer: Xr, asDownload: Zr, asZipDownload: Jr, atScale: ei, options: Qr }, { asBuffer: Ao, asDownload: oi, asZipDownload: ni, atScale: Eo, options: Do } = ti, yn = Symbol.for("toDataURL"), ai = (o) => new Promise(
7657
+ }), ti = { asBuffer: Xr, asDownload: Zr, asZipDownload: Jr, atScale: ei, options: Qr }, { asBuffer: Eo, asDownload: oi, asZipDownload: ni, atScale: Do, options: Vo } = ti, yn = Symbol.for("toDataURL"), ai = (o) => new Promise(
7661
7658
  (e, t) => Object.assign(new ia(), {
7662
7659
  crossOrigin: "Anonymous",
7663
7660
  onload: e,
@@ -7674,8 +7671,8 @@ let li = class {
7674
7671
  enumerable: !0
7675
7672
  });
7676
7673
  for (var [l, r] of Object.entries({
7677
- png: () => Ao(n, "image/png"),
7678
- jpg: () => Ao(n, "image/jpeg"),
7674
+ png: () => Eo(n, "image/png"),
7675
+ jpg: () => Eo(n, "image/jpeg"),
7679
7676
  pages: () => a.concat(n).map((c) => c.getContext("2d"))
7680
7677
  }))
7681
7678
  Object.defineProperty(n, l, { get: r });
@@ -7693,7 +7690,7 @@ let li = class {
7693
7690
  },
7694
7691
  saveAs(c, s) {
7695
7692
  s = typeof s == "number" ? { quality: s } : s;
7696
- let u = Do(this.pages, { filename: c, ...s }), { pattern: d, padding: f, mime: h, quality: m, matte: N, density: A, archive: B } = u, b = Eo(u.pages, A);
7693
+ let u = Vo(this.pages, { filename: c, ...s }), { pattern: d, padding: f, mime: h, quality: m, matte: N, density: A, archive: B } = u, b = Do(u.pages, A);
7697
7694
  return f == null ? oi(b[0], h, m, N, c) : ni(
7698
7695
  b,
7699
7696
  h,
@@ -7706,13 +7703,13 @@ let li = class {
7706
7703
  },
7707
7704
  toBuffer(c = "png", s = {}) {
7708
7705
  s = typeof s == "number" ? { quality: s } : s;
7709
- let u = Do(this.pages, { extension: c, ...s }), { mime: d, quality: f, matte: h, pages: m, density: N } = u, A = Eo(m, N, h)[0];
7710
- return Ao(A, d, f, h);
7706
+ let u = Vo(this.pages, { extension: c, ...s }), { mime: d, quality: f, matte: h, pages: m, density: N } = u, A = Do(m, N, h)[0];
7707
+ return Eo(A, d, f, h);
7711
7708
  },
7712
7709
  [yn]: n.toDataURL.bind(n),
7713
7710
  toDataURL(c = "png", s = {}) {
7714
7711
  s = typeof s == "number" ? { quality: s } : s;
7715
- let u = Do(this.pages, { extension: c, ...s }), { mime: d, quality: f, matte: h, pages: m, density: N } = u, A = Eo(m, N, h)[0], B = A[A === n ? yn : "toDataURL"](d, f);
7712
+ let u = Vo(this.pages, { extension: c, ...s }), { mime: d, quality: f, matte: h, pages: m, density: N } = u, A = Do(m, N, h)[0], B = A[A === n ? yn : "toDataURL"](d, f);
7716
7713
  return Promise.resolve(B);
7717
7714
  }
7718
7715
  });
@@ -7740,14 +7737,14 @@ const {
7740
7737
  DOMMatrix: di,
7741
7738
  DOMRect: mi,
7742
7739
  DOMPoint: fi
7743
- }, Ut = (o, e, t = {}, n = t) => {
7740
+ }, _t = (o, e, t = {}, n = t) => {
7744
7741
  if (Array.isArray(e))
7745
- e.forEach((a) => Ut(o, a, t, n));
7742
+ e.forEach((a) => _t(o, a, t, n));
7746
7743
  else if (typeof e == "function")
7747
- e(o, t, n, Ut);
7744
+ e(o, t, n, _t);
7748
7745
  else {
7749
7746
  const a = Object.keys(e)[0];
7750
- Array.isArray(e[a]) ? (n[a] = {}, Ut(o, e[a], t, n[a])) : n[a] = e[a](o, t, n, Ut);
7747
+ Array.isArray(e[a]) ? (n[a] = {}, _t(o, e[a], t, n[a])) : n[a] = e[a](o, t, n, _t);
7751
7748
  }
7752
7749
  return t;
7753
7750
  }, Ct = (o, e) => (t, n, a, l) => {
@@ -7765,7 +7762,7 @@ const {
7765
7762
  }, gi = (o) => ({
7766
7763
  data: o,
7767
7764
  pos: 0
7768
- }), ze = () => (o) => o.data[o.pos++], sa = (o = 0) => (e) => e.data[e.pos + o], Je = (o) => (e) => e.data.subarray(e.pos, e.pos += o), wo = (o) => (e) => e.data.subarray(e.pos, e.pos + o), Ko = (o) => (e) => Array.from(Je(o)(e)).map((t) => String.fromCharCode(t)).join(""), yt = (o) => (e) => {
7765
+ }), ze = () => (o) => o.data[o.pos++], sa = (o = 0) => (e) => e.data[e.pos + o], Je = (o) => (e) => e.data.subarray(e.pos, e.pos += o), To = (o) => (e) => e.data.subarray(e.pos, e.pos + o), Ko = (o) => (e) => Array.from(Je(o)(e)).map((t) => String.fromCharCode(t)).join(""), yt = (o) => (e) => {
7769
7766
  const t = Je(2)(e);
7770
7767
  return o ? (t[1] << 8) + t[0] : (t[0] << 8) + t[1];
7771
7768
  }, ca = (o, e) => (t, n, a) => {
@@ -7786,7 +7783,7 @@ const {
7786
7783
  return c.length ? l[r] = vi(n, c.index, c.length) : l[r] = n[c.index], l;
7787
7784
  }, {});
7788
7785
  };
7789
- var To = {
7786
+ var Mo = {
7790
7787
  blocks: (o) => {
7791
7788
  const t = [], n = o.data.length;
7792
7789
  for (var a = 0, l = ze()(o); l !== 0 && l; l = ze()(o)) {
@@ -7822,7 +7819,7 @@ const yi = Ct(
7822
7819
  ]
7823
7820
  },
7824
7821
  (o) => {
7825
- var e = wo(2)(o);
7822
+ var e = To(2)(o);
7826
7823
  return e[0] === 33 && e[1] === 249;
7827
7824
  }
7828
7825
  ), bi = Ct(
@@ -7852,7 +7849,7 @@ const yi = Ct(
7852
7849
  },
7853
7850
  (o, e, t) => t.descriptor.lct.exists
7854
7851
  ),
7855
- { data: [{ minCodeSize: ze() }, To] }
7852
+ { data: [{ minCodeSize: ze() }, Mo] }
7856
7853
  ]
7857
7854
  },
7858
7855
  (o) => sa()(o) === 44
@@ -7864,11 +7861,11 @@ const yi = Ct(
7864
7861
  {
7865
7862
  preData: (o, e, t) => Je(t.text.blockSize)(o)
7866
7863
  },
7867
- To
7864
+ Mo
7868
7865
  ]
7869
7866
  },
7870
7867
  (o) => {
7871
- var e = wo(2)(o);
7868
+ var e = To(2)(o);
7872
7869
  return e[0] === 33 && e[1] === 1;
7873
7870
  }
7874
7871
  ), Ti = Ct(
@@ -7877,19 +7874,19 @@ const yi = Ct(
7877
7874
  { codes: Je(2) },
7878
7875
  { blockSize: ze() },
7879
7876
  { id: (o, e, t) => Ko(t.blockSize)(o) },
7880
- To
7877
+ Mo
7881
7878
  ]
7882
7879
  },
7883
7880
  (o) => {
7884
- var e = wo(2)(o);
7881
+ var e = To(2)(o);
7885
7882
  return e[0] === 33 && e[1] === 255;
7886
7883
  }
7887
7884
  ), Mi = Ct(
7888
7885
  {
7889
- comment: [{ codes: Je(2) }, To]
7886
+ comment: [{ codes: Je(2) }, Mo]
7890
7887
  },
7891
7888
  (o) => {
7892
- var e = wo(2)(o);
7889
+ var e = To(2)(o);
7893
7890
  return e[0] === 33 && e[1] === 254;
7894
7891
  }
7895
7892
  ), Ci = [
@@ -7940,18 +7937,18 @@ const yi = Ct(
7940
7937
  return t;
7941
7938
  }, Ii = (o, e, t) => {
7942
7939
  const l = t;
7943
- var r, c, s, u, d, f, h, y, m, N, k, A, g, p, x, C;
7940
+ var r, c, s, u, d, f, h, v, m, N, k, A, g, p, x, C;
7944
7941
  const B = new Array(t), b = new Array(4096), S = new Array(4096), I = new Array(4096 + 1);
7945
7942
  for (A = o, c = 1 << A, d = c + 1, r = c + 2, h = -1, u = A + 1, s = (1 << u) - 1, m = 0; m < c; m++)
7946
7943
  b[m] = 0, S[m] = m;
7947
- var k, y, g, p, C, x;
7948
- for (k = y = g = p = C = x = 0, N = 0; N < l; ) {
7944
+ var k, v, g, p, C, x;
7945
+ for (k = v = g = p = C = x = 0, N = 0; N < l; ) {
7949
7946
  if (p === 0) {
7950
- if (y < u) {
7951
- k += e[x] << y, y += 8, x++;
7947
+ if (v < u) {
7948
+ k += e[x] << v, v += 8, x++;
7952
7949
  continue;
7953
7950
  }
7954
- if (m = k & s, k >>= u, y -= u, m > r || m == d)
7951
+ if (m = k & s, k >>= u, v -= u, m > r || m == d)
7955
7952
  break;
7956
7953
  if (m == c) {
7957
7954
  u = A + 1, s = (1 << u) - 1, r = c + 2, h = -1;
@@ -7972,7 +7969,7 @@ const yi = Ct(
7972
7969
  return B;
7973
7970
  }, Si = (o) => {
7974
7971
  const e = new Uint8Array(o);
7975
- return Ut(gi(e), Ci);
7972
+ return _t(gi(e), Ci);
7976
7973
  }, Ni = (o) => {
7977
7974
  const e = o.pixels.length, t = new Uint8ClampedArray(e * 4);
7978
7975
  for (var n = 0; n < e; n++) {
@@ -8003,16 +8000,16 @@ function Ai(o, e, t) {
8003
8000
  const n = ua(e), a = o - 1;
8004
8001
  let l = 0;
8005
8002
  switch (t) {
8006
- case _e.L:
8003
+ case Ue.L:
8007
8004
  l = Xe[a][0];
8008
8005
  break;
8009
- case _e.M:
8006
+ case Ue.M:
8010
8007
  l = Xe[a][1];
8011
8008
  break;
8012
- case _e.Q:
8009
+ case Ue.Q:
8013
8010
  l = Xe[a][2];
8014
8011
  break;
8015
- case _e.H:
8012
+ case Ue.H:
8016
8013
  l = Xe[a][3];
8017
8014
  break;
8018
8015
  }
@@ -8022,16 +8019,16 @@ function Ei(o, e) {
8022
8019
  for (var t = 1, n = ua(o), a = 0, l = Xe.length; a < l; a++) {
8023
8020
  var r = 0;
8024
8021
  switch (e) {
8025
- case _e.L:
8022
+ case Ue.L:
8026
8023
  r = Xe[a][0];
8027
8024
  break;
8028
- case _e.M:
8025
+ case Ue.M:
8029
8026
  r = Xe[a][1];
8030
8027
  break;
8031
- case _e.Q:
8028
+ case Ue.Q:
8032
8029
  r = Xe[a][2];
8033
8030
  break;
8034
- case _e.H:
8031
+ case Ue.H:
8035
8032
  r = Xe[a][3];
8036
8033
  break;
8037
8034
  }
@@ -8066,7 +8063,7 @@ class Di {
8066
8063
  }
8067
8064
  }
8068
8065
  class mt {
8069
- constructor(e = -1, t = _e.L) {
8066
+ constructor(e = -1, t = Ue.L) {
8070
8067
  this.moduleCount = 0, this.dataList = [], this.typeNumber = e, this.errorCorrectLevel = t, this.moduleCount = 0, this.dataList = [];
8071
8068
  }
8072
8069
  addData(e) {
@@ -8222,7 +8219,7 @@ class mt {
8222
8219
  }
8223
8220
  mt.PAD0 = 236;
8224
8221
  mt.PAD1 = 17;
8225
- const _e = { L: 1, M: 0, Q: 3, H: 2 }, je = { MODE_NUMBER: 1 << 0, MODE_ALPHA_NUM: 1 << 1, MODE_8BIT_BYTE: 1 << 2, MODE_KANJI: 1 << 3 }, nt = {
8222
+ const Ue = { L: 1, M: 0, Q: 3, H: 2 }, je = { MODE_NUMBER: 1 << 0, MODE_ALPHA_NUM: 1 << 1, MODE_8BIT_BYTE: 1 << 2, MODE_KANJI: 1 << 3 }, nt = {
8226
8223
  PATTERN000: 0,
8227
8224
  PATTERN001: 1,
8228
8225
  PATTERN010: 2,
@@ -8479,13 +8476,13 @@ class lt {
8479
8476
  }
8480
8477
  static getRsBlockTable(e, t) {
8481
8478
  switch (t) {
8482
- case _e.L:
8479
+ case Ue.L:
8483
8480
  return lt.RS_BLOCK_TABLE[(e - 1) * 4 + 0];
8484
- case _e.M:
8481
+ case Ue.M:
8485
8482
  return lt.RS_BLOCK_TABLE[(e - 1) * 4 + 1];
8486
- case _e.Q:
8483
+ case Ue.Q:
8487
8484
  return lt.RS_BLOCK_TABLE[(e - 1) * 4 + 2];
8488
- case _e.H:
8485
+ case Ue.H:
8489
8486
  return lt.RS_BLOCK_TABLE[(e - 1) * 4 + 3];
8490
8487
  default:
8491
8488
  return;
@@ -8716,7 +8713,7 @@ const Xe = [
8716
8713
  [2809, 2213, 1579, 1219],
8717
8714
  [2953, 2331, 1663, 1273]
8718
8715
  ];
8719
- var Bi = 100, Ee = 256, bn = Ee - 1, ut = 4, da = 16, en = 1 << da, ma = 10, tn = 10, Pi = en >> tn, Ui = en << ma - tn, _i = Ee >> 3, zo = 6, Fi = 1 << zo, $i = _i * Fi, Oi = 30, fa = 10, Zt = 1 << fa, ha = 8, wn = 1 << ha, Ri = fa + ha, It = 1 << Ri, Tn = 499, Mn = 491, Cn = 487, pa = 503, ji = 3 * pa;
8716
+ var Bi = 100, Ee = 256, bn = Ee - 1, ut = 4, da = 16, en = 1 << da, ma = 10, tn = 10, Pi = en >> tn, Ui = en << ma - tn, _i = Ee >> 3, zo = 6, Fi = 1 << zo, $i = _i * Fi, Oi = 30, fa = 10, Jt = 1 << fa, ha = 8, wn = 1 << ha, Ri = fa + ha, It = 1 << Ri, Tn = 499, Mn = 491, Cn = 487, pa = 503, ji = 3 * pa;
8720
8717
  function Gi(o, e) {
8721
8718
  var t, n, a, l, r;
8722
8719
  function c() {
@@ -8729,25 +8726,25 @@ function Gi(o, e) {
8729
8726
  for (var b = 0; b < Ee; b++)
8730
8727
  t[b][0] >>= ut, t[b][1] >>= ut, t[b][2] >>= ut, t[b][3] = b;
8731
8728
  }
8732
- function u(b, S, I, k, y) {
8733
- t[S][0] -= b * (t[S][0] - I) / Zt, t[S][1] -= b * (t[S][1] - k) / Zt, t[S][2] -= b * (t[S][2] - y) / Zt;
8729
+ function u(b, S, I, k, v) {
8730
+ t[S][0] -= b * (t[S][0] - I) / Jt, t[S][1] -= b * (t[S][1] - k) / Jt, t[S][2] -= b * (t[S][2] - v) / Jt;
8734
8731
  }
8735
- function d(b, S, I, k, y) {
8732
+ function d(b, S, I, k, v) {
8736
8733
  for (var g = Math.abs(S - b), p = Math.min(S + b, Ee), C = S + 1, x = S - 1, D = 1, w, O; C < p || x > g; )
8737
- O = r[D++], C < p && (w = t[C++], w[0] -= O * (w[0] - I) / It, w[1] -= O * (w[1] - k) / It, w[2] -= O * (w[2] - y) / It), x > g && (w = t[x--], w[0] -= O * (w[0] - I) / It, w[1] -= O * (w[1] - k) / It, w[2] -= O * (w[2] - y) / It);
8734
+ O = r[D++], C < p && (w = t[C++], w[0] -= O * (w[0] - I) / It, w[1] -= O * (w[1] - k) / It, w[2] -= O * (w[2] - v) / It), x > g && (w = t[x--], w[0] -= O * (w[0] - I) / It, w[1] -= O * (w[1] - k) / It, w[2] -= O * (w[2] - v) / It);
8738
8735
  }
8739
8736
  function f(b, S, I) {
8740
- var k = 2147483647, y = k, g = -1, p = g, C, x, D, w, O;
8737
+ var k = 2147483647, v = k, g = -1, p = g, C, x, D, w, O;
8741
8738
  for (C = 0; C < Ee; C++)
8742
- x = t[C], D = Math.abs(x[0] - b) + Math.abs(x[1] - S) + Math.abs(x[2] - I), D < k && (k = D, g = C), w = D - (a[C] >> da - ut), w < y && (y = w, p = C), O = l[C] >> tn, l[C] -= O, a[C] += O << ma;
8739
+ x = t[C], D = Math.abs(x[0] - b) + Math.abs(x[1] - S) + Math.abs(x[2] - I), D < k && (k = D, g = C), w = D - (a[C] >> da - ut), w < v && (v = w, p = C), O = l[C] >> tn, l[C] -= O, a[C] += O << ma;
8743
8740
  return l[g] += Pi, a[g] -= Ui, p;
8744
8741
  }
8745
8742
  function h() {
8746
- var b, S, I, k, y, g, p = 0, C = 0;
8743
+ var b, S, I, k, v, g, p = 0, C = 0;
8747
8744
  for (b = 0; b < Ee; b++) {
8748
- for (I = t[b], y = b, g = I[1], S = b + 1; S < Ee; S++)
8749
- k = t[S], k[1] < g && (y = S, g = k[1]);
8750
- if (k = t[y], b != y && (S = k[0], k[0] = I[0], I[0] = S, S = k[1], k[1] = I[1], I[1] = S, S = k[2], k[2] = I[2], I[2] = S, S = k[3], k[3] = I[3], I[3] = S), g != p) {
8745
+ for (I = t[b], v = b, g = I[1], S = b + 1; S < Ee; S++)
8746
+ k = t[S], k[1] < g && (v = S, g = k[1]);
8747
+ if (k = t[v], b != v && (S = k[0], k[0] = I[0], I[0] = S, S = k[1], k[1] = I[1], I[1] = S, S = k[2], k[2] = I[2], I[2] = S, S = k[3], k[3] = I[3], I[3] = S), g != p) {
8751
8748
  for (n[p] = C + b >> 1, S = p + 1; S < g; S++)
8752
8749
  n[S] = b;
8753
8750
  p = g, C = b;
@@ -8757,19 +8754,19 @@ function Gi(o, e) {
8757
8754
  n[S] = bn;
8758
8755
  }
8759
8756
  function m(b, S, I) {
8760
- for (var k, y, g, p = 1e3, C = -1, x = n[S], D = x - 1; x < Ee || D >= 0; )
8761
- x < Ee && (y = t[x], g = y[1] - S, g >= p ? x = Ee : (x++, g < 0 && (g = -g), k = y[0] - b, k < 0 && (k = -k), g += k, g < p && (k = y[2] - I, k < 0 && (k = -k), g += k, g < p && (p = g, C = y[3])))), D >= 0 && (y = t[D], g = S - y[1], g >= p ? D = -1 : (D--, g < 0 && (g = -g), k = y[0] - b, k < 0 && (k = -k), g += k, g < p && (k = y[2] - I, k < 0 && (k = -k), g += k, g < p && (p = g, C = y[3]))));
8757
+ for (var k, v, g, p = 1e3, C = -1, x = n[S], D = x - 1; x < Ee || D >= 0; )
8758
+ x < Ee && (v = t[x], g = v[1] - S, g >= p ? x = Ee : (x++, g < 0 && (g = -g), k = v[0] - b, k < 0 && (k = -k), g += k, g < p && (k = v[2] - I, k < 0 && (k = -k), g += k, g < p && (p = g, C = v[3])))), D >= 0 && (v = t[D], g = S - v[1], g >= p ? D = -1 : (D--, g < 0 && (g = -g), k = v[0] - b, k < 0 && (k = -k), g += k, g < p && (k = v[2] - I, k < 0 && (k = -k), g += k, g < p && (p = g, C = v[3]))));
8762
8759
  return C;
8763
8760
  }
8764
8761
  function N() {
8765
- var b, S = o.length, I = 30 + (e - 1) / 3, k = S / (3 * e), y = ~~(k / Bi), g = Zt, p = $i, C = p >> zo;
8762
+ var b, S = o.length, I = 30 + (e - 1) / 3, k = S / (3 * e), v = ~~(k / Bi), g = Jt, p = $i, C = p >> zo;
8766
8763
  for (C <= 1 && (C = 0), b = 0; b < C; b++)
8767
8764
  r[b] = g * ((C * C - b * b) * wn / (C * C));
8768
8765
  var x;
8769
8766
  S < ji ? (e = 1, x = 3) : S % Tn !== 0 ? x = 3 * Tn : S % Mn !== 0 ? x = 3 * Mn : S % Cn !== 0 ? x = 3 * Cn : x = 3 * pa;
8770
8767
  var D, w, O, U, le = 0;
8771
8768
  for (b = 0; b < k; )
8772
- if (D = (o[le] & 255) << ut, w = (o[le + 1] & 255) << ut, O = (o[le + 2] & 255) << ut, U = f(D, w, O), u(g, U, D, w, O), C !== 0 && d(C, U, D, w, O), le += x, le >= S && (le -= S), b++, y === 0 && (y = 1), b % y === 0)
8769
+ if (D = (o[le] & 255) << ut, w = (o[le + 1] & 255) << ut, O = (o[le + 2] & 255) << ut, U = f(D, w, O), u(g, U, D, w, O), C !== 0 && d(C, U, D, w, O), le += x, le >= S && (le -= S), b++, v === 0 && (v = 1), b % v === 0)
8773
8770
  for (g -= g / I, p -= p / Oi, C = p >> zo, C <= 1 && (C = 0), U = 0; U < C; U++)
8774
8771
  r[U] = g * ((C * C - U * U) * wn / (C * C));
8775
8772
  }
@@ -8780,15 +8777,15 @@ function Gi(o, e) {
8780
8777
  function B() {
8781
8778
  for (var b = [], S = [], I = 0; I < Ee; I++)
8782
8779
  S[t[I][3]] = I;
8783
- for (var k = 0, y = 0; y < Ee; y++) {
8784
- var g = S[y];
8780
+ for (var k = 0, v = 0; v < Ee; v++) {
8781
+ var g = S[v];
8785
8782
  b[k++] = t[g][0], b[k++] = t[g][1], b[k++] = t[g][2];
8786
8783
  }
8787
8784
  return b;
8788
8785
  }
8789
8786
  this.getColormap = B, this.lookupRGB = m;
8790
8787
  }
8791
- var kn = -1, Jt = 12, Pt = 5003, Ki = [
8788
+ var kn = -1, eo = 12, Pt = 5003, Ki = [
8792
8789
  0,
8793
8790
  1,
8794
8791
  3,
@@ -8812,7 +8809,7 @@ function zi(o, e, t, n) {
8812
8809
  function k(U, le) {
8813
8810
  l[d++] = U, d >= 254 && x(le);
8814
8811
  }
8815
- function y(U) {
8812
+ function v(U) {
8816
8813
  g(Pt), f = A + 2, m = !0, O(A, U);
8817
8814
  }
8818
8815
  function g(U) {
@@ -8826,7 +8823,7 @@ function zi(o, e, t, n) {
8826
8823
  Ie = 8 - Ie, he = Pt, g(he), O(A, le);
8827
8824
  e:
8828
8825
  for (; (q = w()) != kn; ) {
8829
- if (M = (q << Jt) + ie, Y = q << Ie ^ ie, r[Y] === M) {
8826
+ if (M = (q << eo) + ie, Y = q << Ie ^ ie, r[Y] === M) {
8830
8827
  ie = c[Y];
8831
8828
  continue;
8832
8829
  } else if (r[Y] >= 0) {
@@ -8838,7 +8835,7 @@ function zi(o, e, t, n) {
8838
8835
  }
8839
8836
  while (r[Y] >= 0);
8840
8837
  }
8841
- O(ie, le), ie = q, f < 1 << Jt ? (c[Y] = f++, r[Y] = M) : y(le);
8838
+ O(ie, le), ie = q, f < 1 << eo ? (c[Y] = f++, r[Y] = M) : v(le);
8842
8839
  }
8843
8840
  O(ie, le), O(B, le);
8844
8841
  }
@@ -8861,7 +8858,7 @@ function zi(o, e, t, n) {
8861
8858
  function O(U, le) {
8862
8859
  for (s &= Ki[u], u > 0 ? s |= U << u : s = U, u += I; u >= 8; )
8863
8860
  k(s & 255, le), s >>= 8, u -= 8;
8864
- if ((f > h || m) && (m ? (h = D(I = N), m = !1) : (++I, I == Jt ? h = 1 << Jt : h = D(I))), U == B) {
8861
+ if ((f > h || m) && (m ? (h = D(I = N), m = !1) : (++I, I == eo ? h = 1 << eo : h = D(I))), U == B) {
8865
8862
  for (; u > 0; )
8866
8863
  k(s & 255, le), s >>= 8, u -= 8;
8867
8864
  x(le);
@@ -8874,8 +8871,8 @@ function Re() {
8874
8871
  }
8875
8872
  Re.pageSize = 4096;
8876
8873
  Re.charMap = {};
8877
- for (var eo = 0; eo < 256; eo++)
8878
- Re.charMap[eo] = String.fromCharCode(eo);
8874
+ for (var to = 0; to < 256; to++)
8875
+ Re.charMap[to] = String.fromCharCode(to);
8879
8876
  Re.prototype.newPage = function() {
8880
8877
  this.pages[++this.page] = new Uint8Array(Re.pageSize), this.cursor = 0;
8881
8878
  };
@@ -9003,11 +9000,11 @@ Te.prototype.ditherPixels = function(o, e) {
9003
9000
  a = u * r + d;
9004
9001
  var h = a * 3, m = c[h], N = c[h + 1], A = c[h + 2];
9005
9002
  h = this.findClosestRGB(m, N, A), this.usedEntry[h] = !0, this.indexedPixels[a] = h, h *= 3;
9006
- for (var B = this.colorTab[h], b = this.colorTab[h + 1], S = this.colorTab[h + 2], I = m - B, k = N - b, y = A - S, g = s == 1 ? 0 : n.length - 1, p = s == 1 ? n.length : 0; g !== p; g += s) {
9003
+ for (var B = this.colorTab[h], b = this.colorTab[h + 1], S = this.colorTab[h + 2], I = m - B, k = N - b, v = A - S, g = s == 1 ? 0 : n.length - 1, p = s == 1 ? n.length : 0; g !== p; g += s) {
9007
9004
  var C = n[g][1], x = n[g][2];
9008
9005
  if (C + d >= 0 && C + d < r && x + u >= 0 && x + u < l) {
9009
9006
  var D = n[g][0];
9010
- h = a + C + x * r, h *= 3, c[h] = Math.max(0, Math.min(255, c[h] + I * D)), c[h + 1] = Math.max(0, Math.min(255, c[h + 1] + k * D)), c[h + 2] = Math.max(0, Math.min(255, c[h + 2] + y * D));
9007
+ h = a + C + x * r, h *= 3, c[h] = Math.max(0, Math.min(255, c[h] + I * D)), c[h + 1] = Math.max(0, Math.min(255, c[h + 1] + k * D)), c[h + 2] = Math.max(0, Math.min(255, c[h + 2] + v * D));
9011
9008
  }
9012
9009
  }
9013
9010
  }
@@ -9104,7 +9101,7 @@ var Hi = globalThis && globalThis.__awaiter || function(o, e, t, n) {
9104
9101
  u((n = n.apply(o, e || [])).next());
9105
9102
  });
9106
9103
  };
9107
- const { Canvas: ot } = hi, to = 0.4;
9104
+ const { Canvas: ot } = hi, oo = 0.4;
9108
9105
  function In(o) {
9109
9106
  if (!o)
9110
9107
  return;
@@ -9205,10 +9202,10 @@ class ve {
9205
9202
  _draw() {
9206
9203
  var e, t, n, a, l, r, c, s, u, d, f, h, m, N, A, B, b, S, I;
9207
9204
  return Hi(this, void 0, void 0, function* () {
9208
- const k = (e = this.qrCode) === null || e === void 0 ? void 0 : e.moduleCount, y = this.options.size;
9205
+ const k = (e = this.qrCode) === null || e === void 0 ? void 0 : e.moduleCount, v = this.options.size;
9209
9206
  let g = this.options.margin;
9210
- (g < 0 || g * 2 >= y) && (g = 0);
9211
- const p = Math.ceil(g), C = y - 2 * g, x = this.options.whiteMargin, D = this.options.backgroundDimming, w = Math.ceil(C / k), O = w * k, U = O + 2 * p, le = new ot(U, U), M = le.getContext("2d");
9207
+ (g < 0 || g * 2 >= v) && (g = 0);
9208
+ const p = Math.ceil(g), C = v - 2 * g, x = this.options.whiteMargin, D = this.options.backgroundDimming, w = Math.ceil(C / k), O = w * k, U = O + 2 * p, le = new ot(U, U), M = le.getContext("2d");
9212
9209
  this._clear(), M.save(), M.translate(p, p);
9213
9210
  const q = new ot(U, U), Y = q.getContext("2d");
9214
9211
  let ie = null, Me = [];
@@ -9231,7 +9228,7 @@ class ve {
9231
9228
  Y.drawImage(z, 0, 0, z.width, z.height, 0, 0, U, U), Y.rect(0, 0, U, U), Y.fillStyle = D, Y.fill();
9232
9229
  } else
9233
9230
  Y.rect(0, 0, U, U), Y.fillStyle = this.options.colorLight, Y.fill();
9234
- const he = ye.getPatternPosition(this.qrCode.typeNumber), Ie = ((n = (t = this.options.components) === null || t === void 0 ? void 0 : t.data) === null || n === void 0 ? void 0 : n.scale) || to, Ye = (1 - Ie) * 0.5;
9231
+ const he = ye.getPatternPosition(this.qrCode.typeNumber), Ie = ((n = (t = this.options.components) === null || t === void 0 ? void 0 : t.data) === null || n === void 0 ? void 0 : n.scale) || oo, Ye = (1 - Ie) * 0.5;
9235
9232
  for (let z = 0; z < k; z++)
9236
9233
  for (let Z = 0; Z < k; Z++) {
9237
9234
  const ne = this.qrCode.isDark(z, Z), de = Z < 8 && (z < 8 || z >= k - 8) || Z >= k - 8 && z < 8, Le = z == 6 && Z >= 8 && Z <= k - 8 || Z == 6 && z >= 8 && z <= k - 8;
@@ -9260,12 +9257,12 @@ class ve {
9260
9257
  }
9261
9258
  }
9262
9259
  M.fillStyle = this.options.colorDark, M.fillRect(0, 0, 7 * w, w), M.fillRect((k - 7) * w, 0, 7 * w, w), M.fillRect(0, 6 * w, 7 * w, w), M.fillRect((k - 7) * w, 6 * w, 7 * w, w), M.fillRect(0, (k - 7) * w, 7 * w, w), M.fillRect(0, (k - 7 + 6) * w, 7 * w, w), M.fillRect(0, 0, w, 7 * w), M.fillRect(6 * w, 0, w, 7 * w), M.fillRect((k - 7) * w, 0, w, 7 * w), M.fillRect((k - 7 + 6) * w, 0, w, 7 * w), M.fillRect(0, (k - 7) * w, w, 7 * w), M.fillRect(6 * w, (k - 7) * w, w, 7 * w), M.fillRect(2 * w, 2 * w, 3 * w, 3 * w), M.fillRect((k - 7 + 2) * w, 2 * w, 3 * w, 3 * w), M.fillRect(2 * w, (k - 7 + 2) * w, 3 * w, 3 * w);
9263
- const oe = ((f = (d = this.options.components) === null || d === void 0 ? void 0 : d.timing) === null || f === void 0 ? void 0 : f.scale) || to, se = (1 - oe) * 0.5;
9260
+ const oe = ((f = (d = this.options.components) === null || d === void 0 ? void 0 : d.timing) === null || f === void 0 ? void 0 : f.scale) || oo, se = (1 - oe) * 0.5;
9264
9261
  for (let z = 0; z < k - 8; z += 2)
9265
9262
  ve._drawDot(M, 8 + z, 6, w, se, oe), ve._drawDot(M, 6, 8 + z, w, se, oe);
9266
- const Ne = ((m = (h = this.options.components) === null || h === void 0 ? void 0 : h.cornerAlignment) === null || m === void 0 ? void 0 : m.scale) || to, et = (1 - Ne) * 0.5;
9263
+ const Ne = ((m = (h = this.options.components) === null || h === void 0 ? void 0 : h.cornerAlignment) === null || m === void 0 ? void 0 : m.scale) || oo, et = (1 - Ne) * 0.5;
9267
9264
  ve._drawAlign(M, P, P, w, et, Ne, this.options.colorDark, ((A = (N = this.options.components) === null || N === void 0 ? void 0 : N.cornerAlignment) === null || A === void 0 ? void 0 : A.protectors) || !1);
9268
- const Ce = ((b = (B = this.options.components) === null || B === void 0 ? void 0 : B.alignment) === null || b === void 0 ? void 0 : b.scale) || to, pe = (1 - Ce) * 0.5;
9265
+ const Ce = ((b = (B = this.options.components) === null || B === void 0 ? void 0 : B.alignment) === null || b === void 0 ? void 0 : b.scale) || oo, pe = (1 - Ce) * 0.5;
9269
9266
  for (let z = 0; z < he.length; z++)
9270
9267
  for (let Z = 0; Z < he.length; Z++) {
9271
9268
  const ne = he[Z], de = he[z];
@@ -9289,13 +9286,13 @@ class ve {
9289
9286
  if (ie) {
9290
9287
  let z, Z, ne, de, Le, E;
9291
9288
  if (Me.forEach(function(F) {
9292
- z || (z = new Te(y, y), z.setDelay(F.delay), z.setRepeat(0));
9289
+ z || (z = new Te(v, v), z.setDelay(F.delay), z.setRepeat(0));
9293
9290
  const { width: H, height: me } = F.dims;
9294
9291
  Z || (Z = new ot(H, me), ne = Z.getContext("2d"), ne.rect(0, 0, Z.width, Z.height), ne.fillStyle = "#ffffff", ne.fill()), (!de || !E || H !== de.width || me !== de.height) && (de = new ot(H, me), Le = de.getContext("2d"), E = Le.createImageData(H, me)), E.data.set(F.patch), Le.putImageData(E, 0, 0), ne.drawImage(de.getContext("2d").canvas, F.dims.left, F.dims.top);
9295
9292
  const fe = new ot(U, U), te = fe.getContext("2d");
9296
9293
  te.drawImage(Z.getContext("2d").canvas, 0, 0, U, U), te.rect(0, 0, U, U), te.fillStyle = D, te.fill(), te.drawImage(le.getContext("2d").canvas, 0, 0, U, U);
9297
- const be = new ot(y, y), ge = be.getContext("2d");
9298
- ge.drawImage(fe.getContext("2d").canvas, 0, 0, y, y), z.addFrame(ge.getImageData(0, 0, be.width, be.height).data);
9294
+ const be = new ot(v, v), ge = be.getContext("2d");
9295
+ ge.drawImage(fe.getContext("2d").canvas, 0, 0, v, v), z.addFrame(ge.getImageData(0, 0, be.width, be.height).data);
9299
9296
  }), !z)
9300
9297
  throw new Error("No frames.");
9301
9298
  if (z.finish(), Sn(this.canvas)) {
@@ -9305,15 +9302,15 @@ class ve {
9305
9302
  return Promise.resolve(Buffer.from(z.stream().toFlattenUint8Array()));
9306
9303
  } else {
9307
9304
  Y.drawImage(le.getContext("2d").canvas, 0, 0, U, U), M.drawImage(q.getContext("2d").canvas, -p, -p, U, U);
9308
- const z = new ot(y, y);
9309
- z.getContext("2d").drawImage(le.getContext("2d").canvas, 0, 0, y, y), this.canvas = z;
9305
+ const z = new ot(v, v);
9306
+ z.getContext("2d").drawImage(le.getContext("2d").canvas, 0, 0, v, v), this.canvas = z;
9310
9307
  const ne = this.options.gifBackground ? "gif" : "png";
9311
9308
  return Sn(this.canvas) ? Promise.resolve(this.canvas.toDataURL(ne)) : Promise.resolve(this.canvas.toBuffer(ne));
9312
9309
  }
9313
9310
  });
9314
9311
  }
9315
9312
  }
9316
- ve.CorrectLevel = _e;
9313
+ ve.CorrectLevel = Ue;
9317
9314
  ve.defaultComponentOptions = {
9318
9315
  data: {
9319
9316
  scale: 0.4
@@ -9337,7 +9334,7 @@ ve.defaultOptions = {
9337
9334
  margin: 20,
9338
9335
  colorDark: "#000000",
9339
9336
  colorLight: "rgba(255, 255, 255, 0.6)",
9340
- correctLevel: _e.M,
9337
+ correctLevel: Ue.M,
9341
9338
  backgroundImage: void 0,
9342
9339
  backgroundDimming: "rgba(0,0,0,0)",
9343
9340
  logoImage: void 0,
@@ -9522,10 +9519,10 @@ const Wi = {
9522
9519
  correctLevel: n.correctLevel,
9523
9520
  logoMargin: n.logoMargin,
9524
9521
  logoCornerRadius: n.logoCornerRadius,
9525
- whiteMargin: Lo(n.whiteMargin),
9522
+ whiteMargin: xo(n.whiteMargin),
9526
9523
  dotScale: n.dotScale,
9527
- autoColor: Lo(n.autoColor),
9528
- binarize: Lo(n.binarize),
9524
+ autoColor: xo(n.autoColor),
9525
+ binarize: xo(n.binarize),
9529
9526
  binarizeThreshold: n.binarizeThreshold,
9530
9527
  components: n.components
9531
9528
  }).draw().then((a) => {
@@ -9535,7 +9532,7 @@ const Wi = {
9535
9532
  }
9536
9533
  }, Yi = ["src"];
9537
9534
  function qi(o, e, t, n, a, l) {
9538
- return t.bindElement ? (v(), W("img", {
9535
+ return t.bindElement ? (y(), W("img", {
9539
9536
  key: 0,
9540
9537
  style: { display: "inline-block" },
9541
9538
  src: a.imgUrl
@@ -9569,11 +9566,11 @@ const Zi = { key: 0 }, Ji = ["innerHTML"], es = ["innerHTML"], ts = ["innerHTML"
9569
9566
  ],
9570
9567
  setup(o, { emit: e }) {
9571
9568
  const t = o, { t: n } = Ve(), { reload: a, reloadFlag: l } = Xi(), r = _(() => {
9572
- var y, g, p, C;
9573
- return (g = (y = t.board) == null ? void 0 : y.tableData) != null && g.keyName ? (C = (p = t.board) == null ? void 0 : p.tableData) == null ? void 0 : C.keyName : "";
9569
+ var v, g, p, C;
9570
+ return (g = (v = t.board) == null ? void 0 : v.tableData) != null && g.keyName ? (C = (p = t.board) == null ? void 0 : p.tableData) == null ? void 0 : C.keyName : "";
9574
9571
  }), c = _(() => {
9575
- var y, g;
9576
- if ((y = t.board) != null && y.columns) {
9572
+ var v, g;
9573
+ if ((v = t.board) != null && v.columns) {
9577
9574
  let p = [];
9578
9575
  try {
9579
9576
  p = Pl((g = t.board) == null ? void 0 : g.columns);
@@ -9584,8 +9581,8 @@ const Zi = { key: 0 }, Ji = ["innerHTML"], es = ["innerHTML"], ts = ["innerHTML"
9584
9581
  } else
9585
9582
  return [];
9586
9583
  }), s = j([]);
9587
- function u(y) {
9588
- s.value = y, e("return-selected-key", s.value);
9584
+ function u(v) {
9585
+ s.value = v, e("return-selected-key", s.value);
9589
9586
  }
9590
9587
  const d = [
9591
9588
  { label: `${n("10/页")}`, value: 10 },
@@ -9596,48 +9593,48 @@ const Zi = { key: 0 }, Ji = ["innerHTML"], es = ["innerHTML"], ts = ["innerHTML"
9596
9593
  current: t.paginationProps.page + 1,
9597
9594
  pageSize: t.paginationProps.count,
9598
9595
  total: t.paginationProps.totalCount,
9599
- onChange: function(y) {
9600
- e("return-pagination-props", y);
9596
+ onChange: function(v) {
9597
+ e("return-pagination-props", v);
9601
9598
  },
9602
9599
  showJumper: !0,
9603
9600
  pageSizeOptions: d
9604
9601
  }));
9605
- function h(y, g) {
9606
- if (y.value != "")
9602
+ function h(v, g) {
9603
+ if (v.value != "")
9607
9604
  try {
9608
- return ft.render(y.value, { item: g });
9605
+ return ft.render(v.value, { item: g });
9609
9606
  } catch (p) {
9610
9607
  console.error("GTable returnValue Error", p);
9611
9608
  }
9612
9609
  else
9613
- return g[y.keyName];
9610
+ return g[v.keyName];
9614
9611
  }
9615
- function m(y) {
9616
- return !Mt(y) && y !== "";
9612
+ function m(v) {
9613
+ return !Mt(v) && v !== "";
9617
9614
  }
9618
9615
  const N = () => "<span class='empty'>----</span>";
9619
- function A(y, g) {
9616
+ function A(v, g) {
9620
9617
  var p;
9621
- if (!Oe(y.enums)) {
9622
- let C = y.enums.filter((x) => {
9623
- if (g[y.keyName] == null && (g[y.keyName] = ""), x.value == String(g[y.keyName]))
9618
+ if (!Oe(v.enums)) {
9619
+ let C = v.enums.filter((x) => {
9620
+ if (g[v.keyName] == null && (g[v.keyName] = ""), x.value == String(g[v.keyName]))
9624
9621
  return x.text;
9625
9622
  });
9626
- return C.length ? (p = C.shift()) == null ? void 0 : p.text : m(g[y.keyName]) ? g[y.keyName] : N();
9623
+ return C.length ? (p = C.shift()) == null ? void 0 : p.text : m(g[v.keyName]) ? g[v.keyName] : N();
9627
9624
  }
9628
9625
  }
9629
- function B(y, g) {
9630
- if (y.value != "")
9631
- return ft.render(y.value, { item: g });
9632
- if (y.value == "")
9633
- return m(g[y.keyName]) ? rt(g[y.keyName]).format("YYYY-MM-DD HH:mm:ss") : N();
9626
+ function B(v, g) {
9627
+ if (v.value != "")
9628
+ return ft.render(v.value, { item: g });
9629
+ if (v.value == "")
9630
+ return m(g[v.keyName]) ? rt(g[v.keyName]).format("YYYY-MM-DD HH:mm:ss") : N();
9634
9631
  }
9635
- function b(y, g) {
9636
- return y.filter((p) => {
9632
+ function b(v, g) {
9633
+ return v.filter((p) => {
9637
9634
  if (p.showIf != "1") {
9638
9635
  let C, x;
9639
9636
  try {
9640
- C = ft.render(p.showIf, { item: g }), x = $o(C, { item: g });
9637
+ C = ft.render(p.showIf, { item: g }), x = Oo(C, { item: g });
9641
9638
  } catch (D) {
9642
9639
  console.warn(D);
9643
9640
  }
@@ -9646,11 +9643,11 @@ const Zi = { key: 0 }, Ji = ["innerHTML"], es = ["innerHTML"], ts = ["innerHTML"
9646
9643
  return p;
9647
9644
  });
9648
9645
  }
9649
- function S(y, g) {
9650
- e("table-button-action", y, g);
9646
+ function S(v, g) {
9647
+ e("table-button-action", v, g);
9651
9648
  }
9652
- function I(y, g) {
9653
- e("table-form-confirm", y, g);
9649
+ function I(v, g) {
9650
+ e("table-form-confirm", v, g);
9654
9651
  }
9655
9652
  const k = {
9656
9653
  imageViewer: {
@@ -9664,9 +9661,9 @@ const Zi = { key: 0 }, Ji = ["innerHTML"], es = ["innerHTML"], ts = ["innerHTML"
9664
9661
  () => t.tableData,
9665
9662
  () => a(),
9666
9663
  { deep: !0 }
9667
- ), (y, g) => {
9664
+ ), (v, g) => {
9668
9665
  const p = G("t-button"), C = G("t-popup"), x = G("t-image"), D = G("t-image-viewer"), w = G("t-config-provider");
9669
- return i(l) ? K("", !0) : (v(), L(i(jn), {
9666
+ return i(l) ? K("", !0) : (y(), L(i(jn), {
9670
9667
  key: 0,
9671
9668
  tableType: "primary",
9672
9669
  commonTableProps: {
@@ -9679,7 +9676,7 @@ const Zi = { key: 0 }, Ji = ["innerHTML"], es = ["innerHTML"], ts = ["innerHTML"
9679
9676
  }
9680
9677
  }, {
9681
9678
  TEXT: T(({ col: O, row: U }) => [
9682
- m(h(O, U)) ? (v(), W("span", Zi, J(h(O, U)), 1)) : (v(), W("span", {
9679
+ m(h(O, U)) ? (y(), W("span", Zi, J(h(O, U)), 1)) : (y(), W("span", {
9683
9680
  key: 1,
9684
9681
  innerHTML: N()
9685
9682
  }, null, 8, Ji))
@@ -9730,7 +9727,7 @@ const Zi = { key: 0 }, Ji = ["innerHTML"], es = ["innerHTML"], ts = ["innerHTML"
9730
9727
  ee("div", {
9731
9728
  class: R(`${i(St)}__imageViewer`)
9732
9729
  }, [
9733
- h(O, U) ? (v(), L(w, {
9730
+ h(O, U) ? (y(), L(w, {
9734
9731
  key: 0,
9735
9732
  "global-config": k
9736
9733
  }, {
@@ -9749,10 +9746,10 @@ const Zi = { key: 0 }, Ji = ["innerHTML"], es = ["innerHTML"], ts = ["innerHTML"
9749
9746
  fit: "scale-down"
9750
9747
  }, {
9751
9748
  error: T(() => [
9752
- O.name == `${i(n)("头像")}` ? (v(), L(i(Co), { key: 0 })) : (v(), L(i(_t), { key: 1 }))
9749
+ O.name == `${i(n)("头像")}` ? (y(), L(i(ko), { key: 0 })) : (y(), L(i(Ft), { key: 1 }))
9753
9750
  ]),
9754
9751
  loading: T(() => [
9755
- O.name == `${i(n)("头像")}` ? (v(), L(i(Co), { key: 0 })) : (v(), L(i(_t), {
9752
+ O.name == `${i(n)("头像")}` ? (y(), L(i(ko), { key: 0 })) : (y(), L(i(Ft), {
9756
9753
  key: 1,
9757
9754
  size: "large"
9758
9755
  }))
@@ -9774,14 +9771,14 @@ const Zi = { key: 0 }, Ji = ["innerHTML"], es = ["innerHTML"], ts = ["innerHTML"
9774
9771
  }, 1032, ["images"])
9775
9772
  ]),
9776
9773
  _: 2
9777
- }, 1024)) : (v(), W("span", {
9774
+ }, 1024)) : (y(), W("span", {
9778
9775
  key: 1,
9779
9776
  class: R(`${i(St)}__imageViewer--placeholder`)
9780
9777
  }, [
9781
- O.name == `${i(n)("头像")}` ? (v(), L(i(Co), {
9778
+ O.name == `${i(n)("头像")}` ? (y(), L(i(ko), {
9782
9779
  key: 0,
9783
9780
  size: "large"
9784
- })) : (v(), L(i(_t), {
9781
+ })) : (y(), L(i(Ft), {
9785
9782
  key: 1,
9786
9783
  size: "large"
9787
9784
  }))
@@ -9789,7 +9786,7 @@ const Zi = { key: 0 }, Ji = ["innerHTML"], es = ["innerHTML"], ts = ["innerHTML"
9789
9786
  ], 2)
9790
9787
  ]),
9791
9788
  BUTTONS: T(({ col: O, row: U }) => [
9792
- (v(!0), W(ke, null, Ae(b(O.buttons, U), (le) => (v(), L(p, {
9789
+ (y(!0), W(ke, null, Ae(b(O.buttons, U), (le) => (y(), L(p, {
9793
9790
  theme: "primary",
9794
9791
  variant: "text",
9795
9792
  key: le.buttonId,
@@ -9835,21 +9832,21 @@ const ls = /* @__PURE__ */ gt(as, [["__scopeId", "data-v-7962ebce"]]), rs = /* @
9835
9832
  console.error("tab切换出错", N);
9836
9833
  }
9837
9834
  }
9838
- const d = Pe(), f = _(() => d.homeUrl);
9835
+ const d = _e(), f = _(() => d.homeUrl);
9839
9836
  function h() {
9840
9837
  const m = n.fullPath, N = t.returnPrevTabMenuPathItemByPath(m);
9841
- N && (t.removeTabMenuItemByPath(m), console.log(N), N != "/home" ? a.push(N) : f.value && a.push({ path: f.value, query: Oo(f.value) }));
9838
+ N && (t.removeTabMenuItemByPath(m), console.log(N), N != "/home" ? a.push(N) : f.value && a.push({ path: f.value, query: Ut(f.value) }));
9842
9839
  }
9843
9840
  return (m, N) => {
9844
9841
  const A = G("t-card"), B = G("t-tab-panel"), b = G("t-tabs");
9845
- return v(), L(b, {
9842
+ return y(), L(b, {
9846
9843
  class: R(`${i(Il)}`),
9847
9844
  placement: "left",
9848
9845
  value: c.value,
9849
9846
  onChange: u
9850
9847
  }, {
9851
9848
  default: T(() => [
9852
- (v(!0), W(ke, null, Ae(i(r), (S, I) => (v(), L(B, {
9849
+ (y(!0), W(ke, null, Ae(i(r), (S, I) => (y(), L(B, {
9853
9850
  key: `${I}${S.title}`,
9854
9851
  value: I,
9855
9852
  label: S.title,
@@ -9858,7 +9855,7 @@ const ls = /* @__PURE__ */ gt(as, [["__scopeId", "data-v-7962ebce"]]), rs = /* @
9858
9855
  default: T(() => [
9859
9856
  V(A, { bordered: !1 }, {
9860
9857
  content: T(() => [
9861
- S.board ? (v(), L(i(fo), {
9858
+ S.board ? (y(), L(i(ho), {
9862
9859
  key: S.title,
9863
9860
  viewName: o.viewName,
9864
9861
  board: S.board,
@@ -9886,7 +9883,7 @@ const is = /* @__PURE__ */ ae({
9886
9883
  },
9887
9884
  emits: ["close-dialog"],
9888
9885
  setup(o, { emit: e }) {
9889
- const t = o, { t: n } = Ve(), a = pt(), l = At(), r = Pe(), c = qo(), s = Qo(), u = _(() => {
9886
+ const t = o, { t: n } = Ve(), a = pt(), l = At(), r = _e(), c = qo(), s = Qo(), u = _(() => {
9890
9887
  var P;
9891
9888
  return (P = t.board) == null ? void 0 : P.boardType;
9892
9889
  }), d = _(() => {
@@ -9916,7 +9913,7 @@ const is = /* @__PURE__ */ ae({
9916
9913
  var P;
9917
9914
  try {
9918
9915
  if (!Mt(d.value) && !Mt(t.viewName)) {
9919
- const Q = await go({
9916
+ const Q = await vo({
9920
9917
  dataId: d.value,
9921
9918
  viewName: t.viewName,
9922
9919
  props: b.value
@@ -9947,7 +9944,7 @@ const is = /* @__PURE__ */ ae({
9947
9944
  deep: !0
9948
9945
  }
9949
9946
  );
9950
- const I = j(!1), k = j(!1), y = j(""), g = j({}), p = j(), C = j();
9947
+ const I = j(!1), k = j(!1), v = j(""), g = j({}), p = j(), C = j();
9951
9948
  async function x(P, Q = {}) {
9952
9949
  if ((P ?? "") != "") {
9953
9950
  Q.viewName = P;
@@ -9963,7 +9960,7 @@ const is = /* @__PURE__ */ ae({
9963
9960
  try {
9964
9961
  switch (P.action) {
9965
9962
  case "VIEW_BY_DIALOG": {
9966
- (P.view ?? "") != "" ? (y.value = "view", await x(P.view), g.value = P, s.initPropsSource(Q), await D(!0), k.value = !0) : (P.link ?? "") != "" && (y.value = "iframe", g.value = P, s.initPropsSource(Q), p.value = {}, C.value = (oe = P.props) == null ? void 0 : oe.map((Ce) => Ce.keyName), await D(!0), k.value = !0);
9963
+ (P.view ?? "") != "" ? (v.value = "view", await x(P.view), g.value = P, s.initPropsSource(Q), await D(!0), k.value = !0) : (P.link ?? "") != "" && (v.value = "iframe", g.value = P, s.initPropsSource(Q), p.value = {}, C.value = (oe = P.props) == null ? void 0 : oe.map((Ce) => Ce.keyName), await D(!0), k.value = !0);
9967
9964
  break;
9968
9965
  }
9969
9966
  case "VIEW": {
@@ -9986,11 +9983,11 @@ const is = /* @__PURE__ */ ae({
9986
9983
  P.props ? P.props.forEach((Z) => {
9987
9984
  Z.keyName && (Q[Z.keyName] ?? "") != "" && (pe[Z.keyName] = Q[Z.keyName]);
9988
9985
  }) : pe = { ...Q };
9989
- const z = ao.confirm({
9986
+ const z = lo.confirm({
9990
9987
  theme: "info",
9991
9988
  header: P.name,
9992
9989
  body: Ce,
9993
- className: ro,
9990
+ className: io,
9994
9991
  onConfirm: () => {
9995
9992
  P.buttonId && q(pe, P.buttonId), z.destroy();
9996
9993
  },
@@ -10011,11 +10008,11 @@ const is = /* @__PURE__ */ ae({
10011
10008
  break;
10012
10009
  }
10013
10010
  case "BATCH": {
10014
- const Ce = ao.confirm({
10011
+ const Ce = lo.confirm({
10015
10012
  theme: "info",
10016
10013
  header: P.name,
10017
10014
  body: `${n("是否继续批量操作?")} `,
10018
- className: ro,
10015
+ className: io,
10019
10016
  onConfirm: () => {
10020
10017
  U.value.length == 0 ? ue.error(`${n("请选择批量操作对象!")}`) : ie(P, U.value), Ce.destroy();
10021
10018
  },
@@ -10049,7 +10046,7 @@ const is = /* @__PURE__ */ ae({
10049
10046
  window.open(`${z}`, "_blank");
10050
10047
  return;
10051
10048
  }
10052
- if (!po(pe))
10049
+ if (!go(pe))
10053
10050
  Ul(pe) ? window.open(`${location.origin}${pe}`) : a.push({
10054
10051
  path: pe,
10055
10052
  query: {
@@ -10123,10 +10120,10 @@ const is = /* @__PURE__ */ ae({
10123
10120
  }
10124
10121
  function Y(P, Q) {
10125
10122
  if (P.itemType == "selector" || P.itemType == "time_selector" || P.itemType == "date_time_selector" || P.itemType == "tree_check_box" || P.itemType === "multi_tree_selector" || P.itemType === "tree_selector") {
10126
- const oe = ao.confirm({
10123
+ const oe = lo.confirm({
10127
10124
  theme: "info",
10128
10125
  body: `${n("此操作将提交该修改,是否继续?")}`,
10129
- className: ro,
10126
+ className: io,
10130
10127
  onConfirm: () => {
10131
10128
  q(Q, P.buttonId), oe.destroy();
10132
10129
  },
@@ -10180,17 +10177,17 @@ const is = /* @__PURE__ */ ae({
10180
10177
  function Ye() {
10181
10178
  e("close-dialog");
10182
10179
  }
10183
- return Ln(Bt, b.value), (P, Q) => (v(), W("div", {
10180
+ return Ln(Bt, b.value), (P, Q) => (y(), W("div", {
10184
10181
  class: R(`${i(Ml)}`)
10185
10182
  }, [
10186
- i(m) ? (v(), L(i(Kr), {
10183
+ i(m) ? (y(), L(i(Kr), {
10187
10184
  key: 0,
10188
10185
  viewName: o.viewName,
10189
10186
  headerInfo: i(m),
10190
10187
  onHeaderButtonAction: w,
10191
10188
  onHeaderFilterChange: O
10192
10189
  }, null, 8, ["viewName", "headerInfo"])) : K("", !0),
10193
- i(u) === "form" ? (v(), L(i(Or), {
10190
+ i(u) === "form" ? (y(), L(i(Or), {
10194
10191
  key: 1,
10195
10192
  viewName: o.viewName,
10196
10193
  board: o.board,
@@ -10199,7 +10196,7 @@ const is = /* @__PURE__ */ ae({
10199
10196
  onConfirmAndClose: Ie,
10200
10197
  onCloseDialog: Ye
10201
10198
  }, null, 8, ["viewName", "board", "formData"])) : K("", !0),
10202
- i(u) === "table" ? (v(), L(ls, {
10199
+ i(u) === "table" ? (y(), L(ls, {
10203
10200
  key: 2,
10204
10201
  viewName: o.viewName,
10205
10202
  board: o.board,
@@ -10210,15 +10207,15 @@ const is = /* @__PURE__ */ ae({
10210
10207
  onReturnSelectedKey: le,
10211
10208
  onReturnPaginationProps: M
10212
10209
  }, null, 8, ["viewName", "board", "tableData", "paginationProps"])) : K("", !0),
10213
- i(u) === "tab" ? (v(), L(rs, {
10210
+ i(u) === "tab" ? (y(), L(rs, {
10214
10211
  key: 3,
10215
10212
  viewName: o.viewName,
10216
10213
  board: o.board
10217
10214
  }, null, 8, ["viewName", "board"])) : K("", !0),
10218
- I.value ? (v(), L(i(wr), {
10215
+ I.value ? (y(), L(i(wr), {
10219
10216
  key: 4,
10220
10217
  ref: "dialogRef",
10221
- dialogType: y.value,
10218
+ dialogType: v.value,
10222
10219
  isDialogVisible: k.value,
10223
10220
  "onUpdate:isDialogVisible": [
10224
10221
  Q[0] || (Q[0] = (oe) => k.value = oe),
@@ -10232,18 +10229,18 @@ const is = /* @__PURE__ */ ae({
10232
10229
  ], 2));
10233
10230
  }
10234
10231
  });
10235
- const fo = He(is), ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10232
+ const ho = He(is), ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10236
10233
  __proto__: null,
10237
- GBoard: fo,
10238
- default: fo
10234
+ GBoard: ho,
10235
+ default: ho
10239
10236
  }, Symbol.toStringTag, { value: "Module" })), cs = /* @__PURE__ */ ae({
10240
10237
  __name: "index",
10241
10238
  props: {
10242
10239
  config: null
10243
10240
  },
10244
10241
  setup(o) {
10245
- const e = o, t = pt(), n = At(), a = Pe(), l = Et(), r = qo(), c = j(""), s = _(() => a.isUserLogin), u = _(() => a.homeUrl);
10246
- Gt(async () => {
10242
+ const e = o, t = pt(), n = At(), a = _e(), l = Et(), r = qo(), c = j(""), s = _(() => a.isUserLogin), u = _(() => a.homeUrl);
10243
+ Kt(async () => {
10247
10244
  s.value || (await a.initUserConfig(e.config), await l.initTabMenu());
10248
10245
  }), Fe(async () => {
10249
10246
  r.initSocket(), window.addEventListener("onSocketReload", () => {
@@ -10293,17 +10290,17 @@ const fo = He(is), ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
10293
10290
  }
10294
10291
  }
10295
10292
  const A = _(() => a.isGlobalLoaded);
10296
- return (B, b) => (v(), L(i(Fn), { title: c.value }, {
10293
+ return (B, b) => (y(), L(i(Fn), { title: c.value }, {
10297
10294
  default: T(() => {
10298
10295
  var S;
10299
10296
  return [
10300
- i(A) ? (v(!0), W(ke, { key: 0 }, Ae((S = h.value) == null ? void 0 : S.boards, (I) => {
10301
- var k, y;
10302
- return v(), L(i(fo), {
10297
+ i(A) ? (y(!0), W(ke, { key: 0 }, Ae((S = h.value) == null ? void 0 : S.boards, (I) => {
10298
+ var k, v;
10299
+ return y(), L(i(ho), {
10303
10300
  key: `${(k = h.value) == null ? void 0 : k.viewName}_${I.boardType}`,
10304
10301
  board: I,
10305
10302
  viewName: i(m),
10306
- viewProps: (y = h.value) == null ? void 0 : y.props
10303
+ viewProps: (v = h.value) == null ? void 0 : v.props
10307
10304
  }, null, 8, ["board", "viewName", "viewProps"]);
10308
10305
  }), 128)) : K("", !0)
10309
10306
  ];
@@ -10311,7 +10308,7 @@ const fo = He(is), ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
10311
10308
  _: 1
10312
10309
  }, 8, ["title"]));
10313
10310
  }
10314
- }), us = "@gonsin/gview", ds = "2.0.47", ms = "dist/index.mjs", fs = "dist/types/index.d.ts", hs = [
10311
+ }), us = "@gonsin/gview", ds = "2.0.48", ms = "dist/index.mjs", fs = "dist/types/index.d.ts", hs = [
10315
10312
  "dist",
10316
10313
  "README.md",
10317
10314
  "CHANGELOG.md"
@@ -10940,7 +10937,7 @@ const Ts = [
10940
10937
  }, Ls = /* @__PURE__ */ ae({
10941
10938
  __name: "GMenuManage",
10942
10939
  setup(o) {
10943
- const { t: e } = Ve(), t = Pe(), n = j(`${e("菜单管理")}`), a = [
10940
+ const { t: e } = Ve(), t = _e(), n = j(`${e("菜单管理")}`), a = [
10944
10941
  {
10945
10942
  title: e("排序"),
10946
10943
  colKey: "drag",
@@ -10964,7 +10961,7 @@ const Ts = [
10964
10961
  async function h() {
10965
10962
  const E = await bs();
10966
10963
  if (E.state == 200) {
10967
- const F = so(E.data, null, 1);
10964
+ const F = co(E.data, null, 1);
10968
10965
  d.value = F, f.value = F;
10969
10966
  } else
10970
10967
  console.error("getMenusApi", E);
@@ -11034,8 +11031,8 @@ const Ts = [
11034
11031
  default:
11035
11032
  return "";
11036
11033
  }
11037
- }), y = _(() => I.value ? un(I.value) : []), g = _(
11038
- () => y.value.filter((E) => !E.url).map((E) => ({
11034
+ }), v = _(() => I.value ? un(I.value) : []), g = _(
11035
+ () => v.value.filter((E) => !E.url).map((E) => ({
11039
11036
  label: E.title,
11040
11037
  value: E.name
11041
11038
  }))
@@ -11068,8 +11065,8 @@ const Ts = [
11068
11065
  });
11069
11066
  function M(E, F) {
11070
11067
  var H, me;
11071
- if (y.value && y.value.length) {
11072
- const fe = y.value.map((te) => {
11068
+ if (v.value && v.value.length) {
11069
+ const fe = v.value.map((te) => {
11073
11070
  if (u.value == "addGroup")
11074
11071
  return te.name;
11075
11072
  if (te.parent != m.value.name)
@@ -11152,10 +11149,10 @@ const Ts = [
11152
11149
  }
11153
11150
  }
11154
11151
  function P(E) {
11155
- m.value = Ft(E), E.isGroup ? u.value = "editGroup" : (u.value = "editItem", m.value.isInner = U(E)), s.value = !0;
11152
+ m.value = $t(E), E.isGroup ? u.value = "editGroup" : (u.value = "editItem", m.value.isInner = U(E)), s.value = !0;
11156
11153
  }
11157
11154
  function Q(E) {
11158
- m.value = Ft(E), s.value = !0, u.value = "moveItemTo";
11155
+ m.value = $t(E), s.value = !0, u.value = "moveItemTo";
11159
11156
  }
11160
11157
  function oe() {
11161
11158
  s.value = !1, setTimeout(() => {
@@ -11203,7 +11200,7 @@ const Ts = [
11203
11200
  }
11204
11201
  function et(E, F) {
11205
11202
  if (B.value) {
11206
- const H = y.value.find((me) => me.name == E);
11203
+ const H = v.value.find((me) => me.name == E);
11207
11204
  if (H) {
11208
11205
  const { parent: me } = H;
11209
11206
  F !== me && (m.value.parent = F, B.value.remove(E), B.value.appendTo(F, m.value));
@@ -11212,11 +11209,11 @@ const Ts = [
11212
11209
  }
11213
11210
  function Ce(E) {
11214
11211
  try {
11215
- const F = ao.confirm({
11212
+ const F = lo.confirm({
11216
11213
  theme: "info",
11217
11214
  header: `${e("撤销组")}`,
11218
11215
  body: `${e("确定要撤销 %s 吗?")}`.replace("%s", `${E.title}`),
11219
- className: ro,
11216
+ className: io,
11220
11217
  onConfirm: () => {
11221
11218
  var me, fe, te, be;
11222
11219
  let H = [];
@@ -11269,7 +11266,7 @@ const Ts = [
11269
11266
  const E = un(I.value);
11270
11267
  try {
11271
11268
  const F = await ys({ menus: [...E] });
11272
- F.state == 200 && (t.setSideMenuConfig(I.value), f.value = so(F.data, null, 1), ue.success(`${e("保存菜单方案成功!")}`));
11269
+ F.state == 200 && (t.setSideMenuConfig(I.value), f.value = co(F.data, null, 1), ue.success(`${e("保存菜单方案成功!")}`));
11273
11270
  } catch (F) {
11274
11271
  ue.error(F.message);
11275
11272
  }
@@ -11296,7 +11293,7 @@ const Ts = [
11296
11293
  const { children: te } = fe.row, be = te == null ? void 0 : te.findIndex((ge) => ge.name == E.name);
11297
11294
  te && (Le(te, F, be), ie());
11298
11295
  } else {
11299
- const te = Ft(I.value), be = te.findIndex((ge) => ge.name == E.name);
11296
+ const te = $t(I.value), be = te.findIndex((ge) => ge.name == E.name);
11300
11297
  Le(te, F, be), ie(te);
11301
11298
  }
11302
11299
  }
@@ -11321,7 +11318,7 @@ const Ts = [
11321
11318
  }
11322
11319
  return (E, F) => {
11323
11320
  const H = G("t-button"), me = G("t-icon"), fe = G("t-input"), te = G("t-form-item"), be = G("t-option"), ge = G("t-select"), Be = G("t-input-group");
11324
- return v(), L(i(Fn), { title: n.value }, {
11321
+ return y(), L(i(Fn), { title: n.value }, {
11325
11322
  default: T(() => [
11326
11323
  V(i(Rn), null, {
11327
11324
  "left-operations": T(() => [
@@ -11389,7 +11386,7 @@ const Ts = [
11389
11386
  }
11390
11387
  }, {
11391
11388
  treeExpandAndFoldIcon: T(({ type: X }) => [
11392
- X === "expand" ? (v(), L(i(Za), { key: 0 })) : (v(), L(i(Ja), { key: 1 }))
11389
+ X === "expand" ? (y(), L(i(Za), { key: 0 })) : (y(), L(i(Ja), { key: 1 }))
11393
11390
  ]),
11394
11391
  drag: T(() => [
11395
11392
  V(i(el))
@@ -11399,13 +11396,13 @@ const Ts = [
11399
11396
  ee("span", {
11400
11397
  class: R(["title", X.isGroup ? "title-bold" : "title-child"])
11401
11398
  }, [
11402
- X.level == 1 && X.isGroup ? (v(), W(ke, { key: 0 }, [
11403
- X.icon ? (v(), L(me, {
11399
+ X.level == 1 && X.isGroup ? (y(), W(ke, { key: 0 }, [
11400
+ X.icon ? (y(), L(me, {
11404
11401
  key: 0,
11405
11402
  class: "title-icon",
11406
11403
  name: X.icon,
11407
11404
  size: "large"
11408
- }, null, 8, ["name"])) : (v(), L(i(Bo), {
11405
+ }, null, 8, ["name"])) : (y(), L(i(Po), {
11409
11406
  key: 1,
11410
11407
  class: "title-icon",
11411
11408
  size: "large"
@@ -11413,7 +11410,7 @@ const Ts = [
11413
11410
  ], 64)) : K("", !0),
11414
11411
  re(" " + J(X.title), 1)
11415
11412
  ], 2),
11416
- X.isGroup ? (v(), W("span", Cs, J(X.children.length) + "项", 1)) : K("", !0)
11413
+ X.isGroup ? (y(), W("span", Cs, J(X.children.length) + "项", 1)) : K("", !0)
11417
11414
  ])
11418
11415
  ]),
11419
11416
  operations: T(({ row: X }) => [
@@ -11547,7 +11544,7 @@ const Ts = [
11547
11544
  ]),
11548
11545
  _: 1
11549
11546
  }, 8, ["label"]),
11550
- m.value.level == 1 ? (v(), L(te, {
11547
+ m.value.level == 1 ? (y(), L(te, {
11551
11548
  key: 0,
11552
11549
  name: "icon",
11553
11550
  label: i(e)("图标标识")
@@ -11562,16 +11559,16 @@ const Ts = [
11562
11559
  clearable: !0
11563
11560
  }, {
11564
11561
  valueDisplay: T(() => [
11565
- m.value.icon ? (v(), W("span", Ss, [
11562
+ m.value.icon ? (y(), W("span", Ss, [
11566
11563
  V(me, {
11567
11564
  name: m.value.icon,
11568
11565
  style: { marginRight: "8px" }
11569
11566
  }, null, 8, ["name"]),
11570
11567
  re(J(m.value.icon), 1)
11571
- ])) : (v(), W("span", Ns, J(i(e)("请选择图标标识")), 1))
11568
+ ])) : (y(), W("span", Ns, J(i(e)("请选择图标标识")), 1))
11572
11569
  ]),
11573
11570
  default: T(() => [
11574
- (v(!0), W(ke, null, Ae(i(Ts), (X) => (v(), L(be, {
11571
+ (y(!0), W(ke, null, Ae(i(Ts), (X) => (y(), L(be, {
11575
11572
  value: X.stem,
11576
11573
  key: X.stem,
11577
11574
  class: "overlay-options"
@@ -11592,7 +11589,7 @@ const Ts = [
11592
11589
  ]),
11593
11590
  _: 1
11594
11591
  }, 8, ["label"])) : K("", !0),
11595
- m.value.isGroup ? K("", !0) : (v(), L(te, {
11592
+ m.value.isGroup ? K("", !0) : (y(), L(te, {
11596
11593
  key: 1,
11597
11594
  name: "parent",
11598
11595
  label: i(e)("父菜单"),
@@ -11607,7 +11604,7 @@ const Ts = [
11607
11604
  ]),
11608
11605
  _: 1
11609
11606
  }, 8, ["label"])),
11610
- !Y(m.value.children).length && m.value.level == 1 ? (v(), L(te, {
11607
+ !Y(m.value.children).length && m.value.level == 1 ? (y(), L(te, {
11611
11608
  key: 2,
11612
11609
  name: "children",
11613
11610
  label: i(e)("分组")
@@ -11625,7 +11622,7 @@ const Ts = [
11625
11622
  ]),
11626
11623
  _: 1
11627
11624
  }, 8, ["label"])) : K("", !0),
11628
- (v(!0), W(ke, null, Ae(Y(m.value.children), (X, xe) => (v(), L(te, {
11625
+ (y(!0), W(ke, null, Ae(Y(m.value.children), (X, xe) => (y(), L(te, {
11629
11626
  name: "children",
11630
11627
  key: "group" + xe,
11631
11628
  label: xe == 0 ? i(e)("分组") : " "
@@ -11663,11 +11660,11 @@ const Ts = [
11663
11660
  ]),
11664
11661
  _: 2
11665
11662
  }, 1032, ["onClick"]),
11666
- xe == Y(m.value.children).length - 1 ? (v(), L(H, {
11663
+ xe == Y(m.value.children).length - 1 ? (y(), L(H, {
11667
11664
  key: 0,
11668
11665
  variant: "outline",
11669
11666
  theme: "default",
11670
- onClick: $t(he, ["prevent"])
11667
+ onClick: Ot(he, ["prevent"])
11671
11668
  }, {
11672
11669
  default: T(() => [
11673
11670
  re("+ ")
@@ -11680,7 +11677,7 @@ const Ts = [
11680
11677
  ]),
11681
11678
  _: 2
11682
11679
  }, 1032, ["label"]))), 128)),
11683
- !q(m.value.children).length && m.value.isGroup ? (v(), L(te, {
11680
+ !q(m.value.children).length && m.value.isGroup ? (y(), L(te, {
11684
11681
  key: 3,
11685
11682
  name: "children",
11686
11683
  label: i(e)("子菜单项")
@@ -11698,7 +11695,7 @@ const Ts = [
11698
11695
  ]),
11699
11696
  _: 1
11700
11697
  }, 8, ["label"])) : K("", !0),
11701
- (v(!0), W(ke, null, Ae(q(m.value.children), (X, xe) => (v(), L(te, {
11698
+ (y(!0), W(ke, null, Ae(q(m.value.children), (X, xe) => (y(), L(te, {
11702
11699
  name: "children",
11703
11700
  key: "item" + xe,
11704
11701
  label: xe == 0 ? i(e)("子菜单项") : " "
@@ -11736,11 +11733,11 @@ const Ts = [
11736
11733
  ]),
11737
11734
  _: 2
11738
11735
  }, 1032, ["onClick"]),
11739
- xe == q(m.value.children).length - 1 ? (v(), L(H, {
11736
+ xe == q(m.value.children).length - 1 ? (y(), L(H, {
11740
11737
  key: 0,
11741
11738
  variant: "outline",
11742
11739
  theme: "default",
11743
- onClick: $t(Ye, ["prevent"])
11740
+ onClick: Ot(Ye, ["prevent"])
11744
11741
  }, {
11745
11742
  default: T(() => [
11746
11743
  re("+ ")
@@ -11753,7 +11750,7 @@ const Ts = [
11753
11750
  ]),
11754
11751
  _: 2
11755
11752
  }, 1032, ["label"]))), 128)),
11756
- u.value == "editItem" ? (v(), W(ke, { key: 4 }, [
11753
+ u.value == "editItem" ? (y(), W(ke, { key: 4 }, [
11757
11754
  V(te, {
11758
11755
  label: i(e)("是否为内置菜单")
11759
11756
  }, {
@@ -11787,7 +11784,7 @@ const Ts = [
11787
11784
  ]),
11788
11785
  _: 1
11789
11786
  }, 8, ["label"]),
11790
- m.value.isInner ? (v(), L(te, {
11787
+ m.value.isInner ? (y(), L(te, {
11791
11788
  key: 0,
11792
11789
  label: i(e)("选择菜单")
11793
11790
  }, {
@@ -11800,7 +11797,7 @@ const Ts = [
11800
11797
  ]),
11801
11798
  _: 1
11802
11799
  }, 8, ["label"])) : K("", !0),
11803
- m.value.isInner ? K("", !0) : (v(), L(te, {
11800
+ m.value.isInner ? K("", !0) : (y(), L(te, {
11804
11801
  key: 1,
11805
11802
  label: i(e)("菜单路径")
11806
11803
  }, {
@@ -11818,7 +11815,7 @@ const Ts = [
11818
11815
  } : u.value == "moveItemTo" ? {
11819
11816
  name: "body",
11820
11817
  fn: T(() => [
11821
- m.value.isGroup ? K("", !0) : (v(), L(te, {
11818
+ m.value.isGroup ? K("", !0) : (y(), L(te, {
11822
11819
  key: 0,
11823
11820
  name: "parent",
11824
11821
  label: i(e)("转移至"),
@@ -11855,7 +11852,7 @@ const Tc = He(Ls), xs = /* @__PURE__ */ ae({
11855
11852
  },
11856
11853
  setup(o) {
11857
11854
  const e = `${vt}__title`;
11858
- return (t, n) => (v(), W("div", {
11855
+ return (t, n) => (y(), W("div", {
11859
11856
  class: R(`${e}`)
11860
11857
  }, [
11861
11858
  ee("div", {
@@ -11870,7 +11867,7 @@ const Tc = He(Ls), xs = /* @__PURE__ */ ae({
11870
11867
  __name: "GLoginForm",
11871
11868
  setup(o) {
11872
11869
  const { t: e } = Ve(), t = `${vt}__form`;
11873
- return (n, a) => (v(), W("div", {
11870
+ return (n, a) => (y(), W("div", {
11874
11871
  class: R(`${t}`)
11875
11872
  }, [
11876
11873
  $e(n.$slots, "tabs"),
@@ -11893,12 +11890,12 @@ const Tc = He(Ls), xs = /* @__PURE__ */ ae({
11893
11890
  },
11894
11891
  setup(o) {
11895
11892
  const e = `${vt}__footer`;
11896
- return (t, n) => (v(), W("div", {
11893
+ return (t, n) => (y(), W("div", {
11897
11894
  class: R(`${e}`)
11898
11895
  }, [
11899
11896
  ee("span", {
11900
11897
  class: R(`${e}--logo`),
11901
- style: jt({ backgroundImage: `url(${o.copyrightLogoSrc})` })
11898
+ style: Gt({ backgroundImage: `url(${o.copyrightLogoSrc})` })
11902
11899
  }, null, 6),
11903
11900
  ee("div", {
11904
11901
  class: R(`${e}--copyright`)
@@ -11921,12 +11918,12 @@ const Tc = He(Ls), xs = /* @__PURE__ */ ae({
11921
11918
  copyrightLogoSrc: null
11922
11919
  },
11923
11920
  setup(o) {
11924
- return (e, t) => (v(), W("div", {
11921
+ return (e, t) => (y(), W("div", {
11925
11922
  class: R(`${i(vt)}`)
11926
11923
  }, [
11927
11924
  ee("video", {
11928
11925
  class: R(`${i(vt)}__bgVideo`),
11929
- style: jt({ backgroundImage: `url(${o.bgImgSrc})` }),
11926
+ style: Gt({ backgroundImage: `url(${o.bgImgSrc})` }),
11930
11927
  poster: o.bgImgSrc,
11931
11928
  autoplay: "",
11932
11929
  muted: "",
@@ -11980,7 +11977,7 @@ function js(o, e) {
11980
11977
  }
11981
11978
  }
11982
11979
  function Cc(o) {
11983
- Pe(o), Et(o), Qo(o), qo(o);
11980
+ _e(o), Et(o), Qo(o), qo(o);
11984
11981
  }
11985
11982
  const kc = {
11986
11983
  install: js
@@ -11998,14 +11995,14 @@ export {
11998
11995
  Mc as GLogin,
11999
11996
  Tc as GMenuManage,
12000
11997
  Ro as GUploader,
12001
- Io as INIT_WS_MODEL,
12002
- io as LANG_CONFIG,
12003
- ko as LOCAL_CONFIG,
11998
+ So as INIT_WS_MODEL,
11999
+ so as LANG_CONFIG,
12000
+ Io as LOCAL_CONFIG,
12004
12001
  ic as LOCAL_DATA_ID,
12005
12002
  ln as LOCAL_INIT_TAB_MENU_LIST,
12006
12003
  rc as LOCAL_MENU,
12007
- Ot as LOCAL_SESSION_ID,
12008
- Ht as LOCAL_SIDE_MENU_CONFIG,
12004
+ Rt as LOCAL_SESSION_ID,
12005
+ Wt as LOCAL_SIDE_MENU_CONFIG,
12009
12006
  rn as LOCAL_TAB_MENU,
12010
12007
  an as LOCAL_THEME_CONFIG,
12011
12008
  ll as LOCAL_USER,
@@ -12019,24 +12016,24 @@ export {
12019
12016
  vl as WS_SERVICE_URL,
12020
12017
  Ml as boardClass,
12021
12018
  wl as commonDialogClass,
12022
- Wt as commonFormClass,
12023
- Yt as commonHeaderClass,
12019
+ Yt as commonFormClass,
12020
+ qt as commonHeaderClass,
12024
12021
  Tl as commonTableClass,
12025
12022
  kc as default,
12026
12023
  dc as dialogClass,
12027
- ro as dialogPluginClass,
12028
- $o as evalContext,
12024
+ io as dialogPluginClass,
12025
+ Oo as evalContext,
12029
12026
  un as flattenMenuData,
12030
12027
  Cl as formClass,
12031
12028
  mn as formItemClass,
12032
12029
  vt as gLoginClass,
12033
- so as generateMenuTree,
12030
+ co as generateMenuTree,
12034
12031
  Nl as getBrandColor,
12035
12032
  Bn as getHomeUrl,
12036
- Oo as getUrlQuery,
12033
+ Ut as getUrlQuery,
12037
12034
  kl as headerClass,
12038
12035
  We as http,
12039
- zt as i18n,
12036
+ Ht as i18n,
12040
12037
  Pl as initTableColumns,
12041
12038
  ct as is,
12042
12039
  Yo as isArray,
@@ -12053,7 +12050,7 @@ export {
12053
12050
  Oe as isNullOrUnDef,
12054
12051
  fc as isNumber,
12055
12052
  Wo as isObject,
12056
- po as isOuterUrl,
12053
+ go as isOuterUrl,
12057
12054
  Vl as isPromise,
12058
12055
  Ul as isResourceUrl,
12059
12056
  bc as isServer,
@@ -12063,17 +12060,17 @@ export {
12063
12060
  Ze as layoutClass,
12064
12061
  nr as loadNanoId,
12065
12062
  Ge as localStorageUtils,
12066
- Rt as nanoid,
12063
+ jt as nanoid,
12067
12064
  Lt as resolveUrl,
12068
12065
  Ke as sessionStorageUtils,
12069
12066
  Cc as setupStore,
12070
12067
  Il as tabClass,
12071
12068
  St as tableClass,
12072
- qt as uploaderClass,
12069
+ Qt as uploaderClass,
12073
12070
  Vn as urlToPath,
12074
12071
  Ve as useI18n,
12075
12072
  Qo as usePropsStore,
12076
- Pe as useSettingStore,
12073
+ _e as useSettingStore,
12077
12074
  qo as useSocketStore,
12078
12075
  Et as useTabMenuStore,
12079
12076
  Al as v,