@gonsin/gview 2.0.118 → 2.0.119

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +286 -278
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -3,8 +3,8 @@ var Ja = (o, e, t) => e in o ? Xa(o, e, { enumerable: !0, configurable: !0, writ
3
3
  var ut = (o, e, t) => (Ja(o, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import { useI18n as ge } from "gonsin-i18n";
5
5
  import { useI18n as od } from "gonsin-i18n";
6
- import { defineComponent as ne, ref as H, computed as N, resolveComponent as q, openBlock as p, createBlock as S, normalizeClass as Q, withCtx as M, createVNode as A, createElementVNode as ee, unref as h, createTextVNode as de, toDisplayString as oe, createElementBlock as W, Fragment as ce, renderList as Me, createCommentVNode as X, withModifiers as go, nextTick as el, inject as Oe, normalizeStyle as Je, normalizeProps as Et, mergeProps as we, guardReactiveProps as qt, renderSlot as Ue, onMounted as je, onBeforeUnmount as st, watch as ye, isRef as tl, Transition as ol, createSlots as mo, useSlots as Xn, resolveDynamicComponent as Jn, TransitionGroup as nl, toRefs as al, provide as kt, reactive as No, onBeforeMount as Xt, toRaw as To, shallowRef as ll, defineAsyncComponent as ea, watchEffect as sl, createStaticVNode as nn } from "vue";
7
- import { useRouter as tt, useRoute as ht, onBeforeRouteLeave as ta, onBeforeRouteUpdate as oa } from "vue-router";
6
+ import { defineComponent as ne, ref as H, computed as N, resolveComponent as q, openBlock as p, createBlock as S, normalizeClass as Q, withCtx as M, createVNode as A, createElementVNode as ee, unref as h, createTextVNode as de, toDisplayString as oe, createElementBlock as W, Fragment as ce, renderList as Ie, createCommentVNode as X, withModifiers as go, nextTick as el, inject as Oe, normalizeStyle as Je, normalizeProps as Et, mergeProps as we, guardReactiveProps as Qt, renderSlot as Ue, onMounted as je, onBeforeUnmount as st, watch as ye, isRef as tl, Transition as ol, createSlots as mo, useSlots as Xn, resolveDynamicComponent as Jn, TransitionGroup as nl, toRefs as al, provide as kt, reactive as No, onBeforeMount as Jt, toRaw as To, shallowRef as ll, defineAsyncComponent as ea, watchEffect as sl, createStaticVNode as nn } from "vue";
7
+ import { useRouter as tt, useRoute as gt, onBeforeRouteLeave as ta, onBeforeRouteUpdate as oa } from "vue-router";
8
8
  import { defineStore as xt, storeToRefs as rl } from "pinia";
9
9
  import mt from "dayjs";
10
10
  import an from "axios";
@@ -13,11 +13,11 @@ import ul from "nprogress";
13
13
  import { default as ad } from "nprogress";
14
14
  import { get as re, set as Qe, cloneDeep as $e, isPlainObject as hn, isArray as gn, isEqual as vn } from "lodash-es";
15
15
  import { MessagePlugin as cl, Button as dl, Progress as na, Tooltip as Dt, Link as fl, Tree as ml, Card as pl, DialogPlugin as Eo, ConfigProvider as hl } from "tdesign-vue-next";
16
- import { RefreshIcon as po, CloseIcon as Mt, ArrowLeftIcon as yn, ArrowRightIcon as bn, CloseCircleIcon as wn, MoreIcon as gl, DeleteIcon as vl, ViewListIcon as yl, PoweroffIcon as bl, ChevronDownIcon as wl, Icon as Tn, AppIcon as It, UploadIcon as kn, CheckCircleFilledIcon as Tl, PlayCircleFilledIcon as kl, PauseCircleFilledIcon as _l, LinkIcon as Cl, ErrorCircleFilledIcon as Ml, FileImageIcon as Qt, FilePdfIcon as aa, VideoIcon as Ko, FileIconIcon as qo, FolderOpenIcon as Il, FolderIcon as Ll, FilterIcon as Sl, SearchIcon as Nl, UserIcon as Do, BrowseIcon as El } from "tdesign-icons-vue-next";
16
+ import { RefreshIcon as po, CloseIcon as Mt, ArrowLeftIcon as yn, ArrowRightIcon as bn, CloseCircleIcon as wn, MoreIcon as gl, DeleteIcon as vl, ViewListIcon as yl, PoweroffIcon as bl, ChevronDownIcon as wl, Icon as Tn, AppIcon as It, UploadIcon as kn, CheckCircleFilledIcon as Tl, PlayCircleFilledIcon as kl, PauseCircleFilledIcon as _l, LinkIcon as Cl, ErrorCircleFilledIcon as Ml, FileImageIcon as Zt, FilePdfIcon as aa, VideoIcon as Ko, FileIconIcon as qo, FolderOpenIcon as Il, FolderIcon as Ll, FilterIcon as Sl, SearchIcon as Nl, UserIcon as Do, BrowseIcon as El } from "tdesign-icons-vue-next";
17
17
  import { useElementSize as Dl, onClickOutside as _n, useEventListener as Cn, useDebounceFn as Ao } from "@vueuse/core";
18
18
  import ho from "number-precision";
19
19
  import la from "qs";
20
- import pt from "mustache";
20
+ import ht from "mustache";
21
21
  import { Toolbar as Al, Editor as Fl } from "@wangeditor/editor-for-vue";
22
22
  import Mn from "he";
23
23
  function Ke(o, e, t) {
@@ -26,41 +26,41 @@ function Ke(o, e, t) {
26
26
  a.component(e || l || n.name, o), t && a.directive(t.name, t.comp);
27
27
  }, n;
28
28
  }
29
- const sa = "VENUS_WEB", Ae = (o) => `${sa}_${o}`, In = Ae("WEBSITE_SETTING"), Ln = Ae("LOGIN_STATUS"), Lc = Ae("USER"), Sc = Ae("LOCAL_EDIFICE_INFO"), Fo = Ae("CONFIG"), Bo = Ae("BASE_PERMISSIONS"), Sn = Ae("USER_PERMISSIONS"), xo = Ae("THEME_CONFIG"), Nn = Ae("LANG"), Nc = Ae("MENU"), Ht = Ae("SIDE_MENU_CONFIG"), En = Ae("SIDE_MENU_WIDTH"), Po = Ae("INIT_TAB_MENU_LIST"), Vo = Ae("TAB_MENU"), Dn = Ae("TOKEN"), An = Ae("TOKEN_EXPIRED_TIME"), Fn = Ae("SESSION_ID"), Ec = Ae("DATA_ID"), oo = Ae("COLUMN_DATA"), no = Ae("FORM_DATA_CACHE"), Bl = {
29
+ const sa = "VENUS_WEB", Ae = (o) => `${sa}_${o}`, In = Ae("WEBSITE_SETTING"), Ln = Ae("LOGIN_STATUS"), Lc = Ae("USER"), Sc = Ae("LOCAL_EDIFICE_INFO"), Fo = Ae("CONFIG"), Bo = Ae("BASE_PERMISSIONS"), Sn = Ae("USER_PERMISSIONS"), xo = Ae("THEME_CONFIG"), Nn = Ae("LANG"), Nc = Ae("MENU"), Ht = Ae("SIDE_MENU_CONFIG"), En = Ae("SIDE_MENU_WIDTH"), Po = Ae("INIT_TAB_MENU_LIST"), Vo = Ae("TAB_MENU"), Dn = Ae("TOKEN"), An = Ae("TOKEN_EXPIRED_TIME"), Fn = Ae("SESSION_ID"), Ec = Ae("DATA_ID"), no = Ae("COLUMN_DATA"), ao = Ae("FORM_DATA_CACHE"), Bl = {
30
30
  brandTheme: "default",
31
31
  // 主题色
32
32
  displayMode: "light"
33
33
  // 主题模式 light | dark | auto
34
34
  }, xl = Object.prototype.toString;
35
- function gt(o, e) {
35
+ function vt(o, e) {
36
36
  return xl.call(o) === `[object ${e}]`;
37
37
  }
38
38
  function At(o) {
39
- return gt(o, "Function");
39
+ return vt(o, "Function");
40
40
  }
41
- const Pl = (o) => typeof o < "u", ra = (o) => !Pl(o), ln = (o) => o !== null && gt(o, "Object");
41
+ const Pl = (o) => typeof o < "u", ra = (o) => !Pl(o), ln = (o) => o !== null && vt(o, "Object");
42
42
  function Dc(o) {
43
- return gt(o, "Date");
43
+ return vt(o, "Date");
44
44
  }
45
45
  function Ac(o) {
46
- return gt(o, "Number");
46
+ return vt(o, "Number");
47
47
  }
48
48
  function Fc(o) {
49
- return gt(o, "AsyncFunction");
49
+ return vt(o, "AsyncFunction");
50
50
  }
51
51
  function Vl(o) {
52
- return gt(o, "Promise") && ln(o) && At(o.then) && At(o.catch);
52
+ return vt(o, "Promise") && ln(o) && At(o.then) && At(o.catch);
53
53
  }
54
54
  function Bc(o) {
55
- return gt(o, "String");
55
+ return vt(o, "String");
56
56
  }
57
57
  function Ol(o) {
58
- return gt(o, "Boolean");
58
+ return vt(o, "Boolean");
59
59
  }
60
60
  function Tt(o) {
61
61
  return o && Array.isArray(o);
62
62
  }
63
- const xc = () => typeof window < "u", Pc = (o) => typeof window < "u" && gt(o, "Window"), Vc = (o) => ln(o) && !!o.tagName, Oc = typeof window > "u";
63
+ const xc = () => typeof window < "u", Pc = (o) => typeof window < "u" && vt(o, "Window"), Vc = (o) => ln(o) && !!o.tagName, Oc = typeof window > "u";
64
64
  function lt(o) {
65
65
  return o === null;
66
66
  }
@@ -172,8 +172,8 @@ class ca {
172
172
  this.storage.clear();
173
173
  }
174
174
  }
175
- const yt = new ca("session"), ve = new ca("local");
176
- function Zt(o) {
175
+ const bt = new ca("session"), ve = new ca("local");
176
+ function Yt(o) {
177
177
  return il(
178
178
  "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",
179
179
  32
@@ -184,7 +184,7 @@ function ko() {
184
184
  if ((o ?? "") != "")
185
185
  return o;
186
186
  {
187
- const e = Zt(32);
187
+ const e = Yt(32);
188
188
  return localStorage.setItem(Fn, e), e;
189
189
  }
190
190
  }
@@ -320,11 +320,11 @@ function Ct(o) {
320
320
  e[n.split("=")[0]] = n.split("=")[1];
321
321
  }), e;
322
322
  }
323
- function wt(o, e, t = !0) {
323
+ function pt(o, e, t = !0) {
324
324
  const n = new URLSearchParams(e), a = `?${n.toString()}`;
325
- return t && !Jt(o) && (o = `http://${o}`), n.toString() ? `${o}${a}` : o;
325
+ return t && !eo(o) && (o = `http://${o}`), n.toString() ? `${o}${a}` : o;
326
326
  }
327
- function Jt(o) {
327
+ function eo(o) {
328
328
  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);
329
329
  }
330
330
  function xn(o) {
@@ -374,7 +374,7 @@ class Ql {
374
374
  this.addToQueue("question", e);
375
375
  }
376
376
  }
377
- const Le = new Ql({ duration: 2e3, maxCount: 3 }), Yo = {
377
+ const Me = new Ql({ duration: 2e3, maxCount: 3 }), Yo = {
378
378
  // 设置超时时间(10s)
379
379
  timeout: 1e4
380
380
  // 跨域时候允许携带凭证
@@ -414,7 +414,7 @@ class fa {
414
414
  const { data: n } = t, { state: a, message: l } = n, s = De();
415
415
  if (a && a != null) {
416
416
  if (a === 302)
417
- return Le.error(l), s && s.userLogout(), this.router && this.router.push({
417
+ return Me.error(l), s && s.userLogout(), this.router && this.router.push({
418
418
  name: "login"
419
419
  }), n;
420
420
  if (a == "-409") {
@@ -435,10 +435,10 @@ class fa {
435
435
  }
436
436
  if (a !== 200) {
437
437
  if (console.error("http response state error:", n), l)
438
- Le.error(`${l}`);
438
+ Me.error(`${l}`);
439
439
  else {
440
440
  const { T: i } = ge();
441
- Le.error(`${i.t("服务器出错")}`);
441
+ Me.error(`${i.t("服务器出错")}`);
442
442
  }
443
443
  return n;
444
444
  }
@@ -450,7 +450,7 @@ class fa {
450
450
  const { T: n } = ge();
451
451
  return t.code === "ECONNABORTED" ? Promise.reject({
452
452
  message: n.t("请求超时,请检查网络连接或尝试重新发送请求。")
453
- }) : (t.status == 500 && Le.error(n.t("服务器出错,请稍后尝试重新加载。")), Promise.reject(t));
453
+ }) : (t.status == 500 && Me.error(n.t("服务器出错,请稍后尝试重新加载。")), Promise.reject(t));
454
454
  }
455
455
  );
456
456
  }
@@ -508,7 +508,7 @@ const Zl = (o) => new fa({
508
508
  enableAuth: o.enableAuth ?? !0,
509
509
  enableToken: o.enableToken ?? !0,
510
510
  checkToken: o.checkToken ?? !0
511
- }), Xe = new fa(), { T: ao } = ge();
511
+ }), Xe = new fa(), { T: Wt } = ge();
512
512
  function Yl(o) {
513
513
  var l;
514
514
  const e = /filename\*=(UTF-8|ISO-8859-1)''([\w%\-\.]+)/gi, t = [];
@@ -527,42 +527,48 @@ function Yl(o) {
527
527
  }
528
528
  function Oo(o, e = "", t = "blob", n = {}) {
529
529
  if (o == "") {
530
- Le.info(`${ao.t("未设置下载链接")}`);
530
+ Me.info(`${Wt.t("未设置下载链接")}`);
531
531
  return;
532
532
  }
533
533
  const a = De(), l = a.token ?? "", s = a.userLang ?? "zh-CN";
534
534
  if (console.log("原下载链接", o, t), t == "blob")
535
- an.get(o, {
536
- responseType: "blob",
537
- params: {
538
- sessionId: Xe.sessionId()
539
- // ...props, // 自定义参数
540
- },
541
- headers: {
542
- Authorization: !0,
543
- "Operation-Log-Require": !0,
544
- ...l !== "" ? { token: l } : {},
545
- lang: s
546
- }
547
- }).then((i) => {
548
- if (i.status == 200) {
549
- i.data.type == "application/json" && new Blob([i.data]).text().then((g) => {
550
- const I = JSON.parse(g);
551
- if (I !== null && Object.keys(I).includes("state") && I.state !== 200)
552
- throw I.message;
553
- });
554
- let u = "";
555
- const f = i.headers["content-disposition"];
556
- f && (u = Yl(f) ?? "");
557
- const r = new Blob([i.data], { type: i.data.type }), c = window.URL.createObjectURL(r), m = document.createElement("a");
558
- m.href = c, e !== "" ? m.download = e : u !== "" && (m.download = u), console.log(`下载链接:${c}`), Le.loading(`${ao.t("开始下载文件")} ${m.download}`), document.body.appendChild(m), m.click(), window.URL.revokeObjectURL(c);
559
- }
560
- }).catch((i) => {
561
- Le.error(`${ao.t("下载失败")} ${i.message}`), console.error(i);
562
- });
535
+ try {
536
+ an.get(o, {
537
+ responseType: "blob",
538
+ params: {
539
+ sessionId: Xe.sessionId()
540
+ // ...props, // 自定义参数
541
+ },
542
+ headers: {
543
+ Authorization: !0,
544
+ "Operation-Log-Require": !0,
545
+ ...l !== "" ? { token: l } : {},
546
+ lang: s
547
+ }
548
+ }).then((i) => {
549
+ if (i.status == 200) {
550
+ if (i.data.type == "application/json") {
551
+ new Blob([i.data]).text().then((g) => {
552
+ const I = JSON.parse(g);
553
+ I !== null && Object.keys(I).includes("state") && I.state !== 200 && Me.error(
554
+ `${Wt.t("下载失败")} ${I.message}`
555
+ );
556
+ });
557
+ return;
558
+ }
559
+ let u = "";
560
+ const f = i.headers["content-disposition"];
561
+ f && (u = Yl(f) ?? "");
562
+ const r = new Blob([i.data], { type: i.data.type }), c = window.URL.createObjectURL(r), m = document.createElement("a");
563
+ m.href = c, e !== "" ? m.download = e : u !== "" && (m.download = u), console.log(`下载链接:${c}`), Me.loading(`${Wt.t("开始下载文件")} ${m.download}`), document.body.appendChild(m), m.click(), window.URL.revokeObjectURL(c);
564
+ }
565
+ });
566
+ } catch (i) {
567
+ Me.error(`${Wt.t("下载失败")} ${i.message}`), console.error(i);
568
+ }
563
569
  else if (t == "file") {
564
570
  const i = document.createElement("a");
565
- i.setAttribute("target", "_black"), i.setAttribute("download", e), i.setAttribute("href", o), document.body.appendChild(i), console.log(`下载链接:${o}`), Le.loading(`${ao.t("开始下载文件")} ${e}`), i.click(), i.remove();
571
+ i.setAttribute("target", "_black"), i.setAttribute("download", e), i.setAttribute("href", o), document.body.appendChild(i), console.log(`下载链接:${o}`), Me.loading(`${Wt.t("开始下载文件")} ${e}`), i.click(), i.remove();
566
572
  }
567
573
  }
568
574
  function Re(o, e = !1) {
@@ -584,7 +590,7 @@ function Re(o, e = !1) {
584
590
  return null;
585
591
  }
586
592
  }
587
- function Yt(o, e, t = !1) {
593
+ function Xt(o, e, t = !1) {
588
594
  if (!He(e) && e.length) {
589
595
  if (Object.keys(o).length)
590
596
  return e.forEach((n) => {
@@ -664,7 +670,7 @@ function pa(o, e, t = []) {
664
670
  const ha = xt("column", {
665
671
  state: () => ({
666
672
  columnDataMap: new Map(
667
- Object.entries(ve.getItem(oo) || {})
673
+ Object.entries(ve.getItem(no) || {})
668
674
  )
669
675
  }),
670
676
  getters: {
@@ -673,15 +679,15 @@ const ha = xt("column", {
673
679
  actions: {
674
680
  initColumnData(o) {
675
681
  o && Object.keys(o) && (this.columnDataMap = new Map(Object.entries(o)), ve.setItem(
676
- oo,
682
+ no,
677
683
  Object.fromEntries(this.columnDataMap)
678
684
  ));
679
685
  },
680
686
  async setColumnData(o, e) {
681
- return this.columnDataMap.set(o, e), ve.setItem(oo, Object.fromEntries(this.columnDataMap)), await this.saveColumnData();
687
+ return this.columnDataMap.set(o, e), ve.setItem(no, Object.fromEntries(this.columnDataMap)), await this.saveColumnData();
682
688
  },
683
689
  removeColumnData(o, e) {
684
- this.columnDataMap.delete(o), ve.setItem(oo, Object.fromEntries(this.columnDataMap));
690
+ this.columnDataMap.delete(o), ve.setItem(no, Object.fromEntries(this.columnDataMap));
685
691
  },
686
692
  async saveColumnData() {
687
693
  const e = De().userKey;
@@ -693,10 +699,10 @@ const ha = xt("column", {
693
699
  )).state == 200);
694
700
  }
695
701
  }
696
- }), eo = xt("cache", {
702
+ }), to = xt("cache", {
697
703
  state: () => ({
698
704
  formDataMap: new Map(
699
- yt.getItem(no) || []
705
+ bt.getItem(ao) || []
700
706
  )
701
707
  }),
702
708
  getters: {
@@ -707,14 +713,14 @@ const ha = xt("column", {
707
713
  },
708
714
  actions: {
709
715
  setFormData(o, e) {
710
- this.formDataMap.set(o, { path: o, data: e }), yt.setItem(
711
- no,
716
+ this.formDataMap.set(o, { path: o, data: e }), bt.setItem(
717
+ ao,
712
718
  Array.from(this.formDataMap.entries())
713
719
  );
714
720
  },
715
721
  removeFormData(o) {
716
- this.formDataMap.delete(o), yt.setItem(
717
- no,
722
+ this.formDataMap.delete(o), bt.setItem(
723
+ ao,
718
724
  Array.from(this.formDataMap.entries())
719
725
  );
720
726
  },
@@ -723,7 +729,7 @@ const ha = xt("column", {
723
729
  * @param {string} path
724
730
  */
725
731
  clearFormData() {
726
- this.formDataMap.clear(), yt.removeItem(no);
732
+ this.formDataMap.clear(), bt.removeItem(ao);
727
733
  }
728
734
  }
729
735
  }), De = xt("setting", {
@@ -921,7 +927,7 @@ const ha = xt("column", {
921
927
  * @description 用户退出登录清除存储值
922
928
  */
923
929
  async userLogout() {
924
- yt.clear(), await this.resetInitValue(), await this.setUserLoginStatus(!1), eo().clearFormData();
930
+ bt.clear(), await this.resetInitValue(), await this.setUserLoginStatus(!1), to().clearFormData();
925
931
  }
926
932
  }
927
933
  }), Pt = xt("tabMenu", {
@@ -929,7 +935,7 @@ const ha = xt("column", {
929
935
  // 初始化tab菜单列表
930
936
  initTabMenuList: ve.getItem(Po) || [],
931
937
  // tab菜单列表
932
- tabMenuList: yt.getItem(Vo) || []
938
+ tabMenuList: bt.getItem(Vo) || []
933
939
  }),
934
940
  getters: {
935
941
  returnTabMenuItemActiveTab: (o) => (e) => {
@@ -941,13 +947,13 @@ const ha = xt("column", {
941
947
  async clearTabMenu() {
942
948
  this.tabMenuList.length && this.tabMenuList.forEach((o) => {
943
949
  this.afterRemoveTab(o.path);
944
- }), ve.removeItem(Po), yt.removeItem(Vo), this.tabMenuList = [], this.initTabMenuList = [];
950
+ }), ve.removeItem(Po), bt.removeItem(Vo), this.tabMenuList = [], this.initTabMenuList = [];
945
951
  },
946
952
  setInitTabMenuList(o) {
947
953
  ve.setItem(Po, o), this.initTabMenuList = o;
948
954
  },
949
955
  setTabMenuList(o) {
950
- yt.setItem(Vo, o), this.tabMenuList = o;
956
+ bt.setItem(Vo, o), this.tabMenuList = o;
951
957
  },
952
958
  /**
953
959
  * @description 初始化tab菜单列表
@@ -1059,7 +1065,7 @@ const ha = xt("column", {
1059
1065
  * @param {string} path
1060
1066
  */
1061
1067
  afterRemoveTab(o) {
1062
- o && eo().removeFormData(o);
1068
+ o && to().removeFormData(o);
1063
1069
  }
1064
1070
  }
1065
1071
  }), Jl = (o) => {
@@ -1211,7 +1217,7 @@ const ha = xt("column", {
1211
1217
  }), Uo = "g-dialog-plugin", as = "g-common-dialog", lo = "g-common-form", so = "g-common-header", ls = "g-common-table", ss = "g-board", Uc = "g-dialog", rs = "g-form", Vn = "g-form-item", Rc = "g-header", is = "g-tab", Ut = "g-table", et = "g-layout", ro = "g-uploader", St = "g-login", us = ["title"], cs = ["title"], ds = ["title"], fs = ["onClick"], ms = ["title"], ps = ["title"], hs = ["onClick"], gs = ["title"], vs = ["title"], ys = ["title"], bs = ["title"], ws = ["title"], Ts = ["title"], ks = /* @__PURE__ */ ne({
1212
1218
  __name: "GLayoutHeaderTab",
1213
1219
  setup(o) {
1214
- const { T: e } = ge(), t = `${et}__layoutHeaderTab`, n = tt(), a = ht(), l = H(""), s = Pt(), i = De(), u = N(() => s.tabMenuList), f = N(() => i.homeUrl), r = N(() => i.displayMode);
1220
+ const { T: e } = ge(), t = `${et}__layoutHeaderTab`, n = tt(), a = gt(), l = H(""), s = Pt(), i = De(), u = N(() => s.tabMenuList), f = N(() => i.homeUrl), r = N(() => i.displayMode);
1215
1221
  function c(x, R, V) {
1216
1222
  R.trigger === "document" && (l.value = null), x && (l.value = V);
1217
1223
  }
@@ -1355,7 +1361,7 @@ const ha = xt("column", {
1355
1361
  ]),
1356
1362
  _: 1
1357
1363
  }, 8, ["popup-props"]),
1358
- (p(!0), W(ce, null, Me(b.value, (Y, se) => (p(), S(le, {
1364
+ (p(!0), W(ce, null, Ie(b.value, (Y, se) => (p(), S(le, {
1359
1365
  key: se,
1360
1366
  trigger: "context-menu",
1361
1367
  "min-column-width": 128,
@@ -1479,7 +1485,7 @@ const ha = xt("column", {
1479
1485
  A(h(gl))
1480
1486
  ]),
1481
1487
  default: M(() => [
1482
- (p(!0), W(ce, null, Me(O.value, (Y, se) => (p(), W("div", {
1488
+ (p(!0), W(ce, null, Ie(O.value, (Y, se) => (p(), W("div", {
1483
1489
  ref_for: !0,
1484
1490
  ref_key: "omittedMenuRef",
1485
1491
  ref: _,
@@ -1765,10 +1771,10 @@ const va = { render: Fs }, Bs = { class: "username" }, xs = /* @__PURE__ */ ne({
1765
1771
  ee("div", {
1766
1772
  class: Q(`${t}--operations`)
1767
1773
  }, [
1768
- (p(!0), W(ce, null, Me(h(s), (V, B) => (p(), W(ce, { key: B }, [
1774
+ (p(!0), W(ce, null, Ie(h(s), (V, B) => (p(), W(ce, { key: B }, [
1769
1775
  V != null && V.isPopup ? (p(), S(D, Et(we({ key: 0 }, V == null ? void 0 : V.popupProps)), {
1770
1776
  default: M(() => [
1771
- A(_, Et(qt(V == null ? void 0 : V.badgeProps)), {
1777
+ A(_, Et(Qt(V == null ? void 0 : V.badgeProps)), {
1772
1778
  default: M(() => [
1773
1779
  A(O, we({
1774
1780
  theme: "default",
@@ -1975,15 +1981,15 @@ const va = { render: Fs }, Bs = { class: "username" }, xs = /* @__PURE__ */ ne({
1975
1981
  },
1976
1982
  setup(o) {
1977
1983
  const e = `${et}__side-menu-content`, t = De(), n = tt(), a = (l) => {
1978
- if (Jt(l)) {
1979
- const i = wt(l, {
1984
+ if (eo(l)) {
1985
+ const i = pt(l, {
1980
1986
  token: t.token,
1981
1987
  lang: t.userLang,
1982
1988
  _venuServType: 2
1983
1989
  });
1984
1990
  window.open(i, "_blank");
1985
1991
  } else if (l.startsWith(":")) {
1986
- const i = wt(
1992
+ const i = pt(
1987
1993
  `${window.location.protocol}//${window.location.hostname}${l}`,
1988
1994
  { token: t.token, lang: t.userLang, _venuServType: 2 }
1989
1995
  );
@@ -1993,7 +1999,7 @@ const va = { render: Fs }, Bs = { class: "username" }, xs = /* @__PURE__ */ ne({
1993
1999
  };
1994
2000
  return (l, s) => {
1995
2001
  const i = q("t-menu-item"), u = q("GLayoutSideMenuContent", !0), f = q("t-submenu");
1996
- return p(!0), W(ce, null, Me(l.sideMenuTree, (r) => (p(), W("div", {
2002
+ return p(!0), W(ce, null, Ie(l.sideMenuTree, (r) => (p(), W("div", {
1997
2003
  class: Q(`${e}`),
1998
2004
  key: r.name
1999
2005
  }, [
@@ -2057,7 +2063,7 @@ const va = { render: Fs }, Bs = { class: "username" }, xs = /* @__PURE__ */ ne({
2057
2063
  setup(o) {
2058
2064
  const e = `${et}__side-menu`;
2059
2065
  tt();
2060
- const t = ht(), n = De(), a = N(() => n.sideMenuTree), l = N(() => n.displayMode), s = N({
2066
+ const t = gt(), n = De(), a = N(() => n.sideMenuTree), l = N(() => n.displayMode), s = N({
2061
2067
  get() {
2062
2068
  return n.isSideMenuCollapse;
2063
2069
  },
@@ -2314,7 +2320,7 @@ const va = { render: Fs }, Bs = { class: "username" }, xs = /* @__PURE__ */ ne({
2314
2320
  onChange: u
2315
2321
  }, {
2316
2322
  default: M(() => [
2317
- (p(!0), W(ce, null, Me(a.slice(0, a.length - 1), (I, j) => (p(), W("div", { key: j }, [
2323
+ (p(!0), W(ce, null, Ie(a.slice(0, a.length - 1), (I, j) => (p(), W("div", { key: j }, [
2318
2324
  (p(), S(m, {
2319
2325
  key: j,
2320
2326
  value: I,
@@ -2342,7 +2348,7 @@ const va = { render: Fs }, Bs = { class: "username" }, xs = /* @__PURE__ */ ne({
2342
2348
  onChange: u
2343
2349
  }, {
2344
2350
  default: M(() => [
2345
- (p(), W(ce, null, Me(l, (I, j) => ee("div", { key: j }, [
2351
+ (p(), W(ce, null, Ie(l, (I, j) => ee("div", { key: j }, [
2346
2352
  (p(), S(m, {
2347
2353
  key: j,
2348
2354
  value: I.type
@@ -2385,22 +2391,22 @@ const zs = /* @__PURE__ */ it(Rs, [["render", js]]), Hs = /* @__PURE__ */ ne({
2385
2391
  setup(o) {
2386
2392
  const { T: e, i18n: t } = ge();
2387
2393
  N(() => t.global.locale.value.toLowerCase() === "zh-cn");
2388
- const n = `${et}__side-hover-menu`, a = `${et}__side-hover-menu-content`, l = tt(), s = ht(), i = De(), u = N(() => i.sideMenuTree), f = N(() => i.displayMode), r = N({
2394
+ const n = `${et}__side-hover-menu`, a = `${et}__side-hover-menu-content`, l = tt(), s = gt(), i = De(), u = N(() => i.sideMenuTree), f = N(() => i.displayMode), r = N({
2389
2395
  get: () => i.isSideHoverMenuShow,
2390
2396
  set: (Y) => i.isSideHoverMenuShow = Y
2391
2397
  }), c = N(() => {
2392
2398
  const Y = s.fullPath.split("/").length;
2393
2399
  return s.fullPath.split("/")[Y - 1];
2394
2400
  }), m = (Y) => {
2395
- if (Jt(Y)) {
2396
- const he = wt(Y, {
2401
+ if (eo(Y)) {
2402
+ const he = pt(Y, {
2397
2403
  token: i.token,
2398
2404
  lang: i.userLang,
2399
2405
  _venuServType: 2
2400
2406
  });
2401
2407
  window.open(he, "_blank");
2402
2408
  } else if (Y.startsWith(":")) {
2403
- const he = wt(
2409
+ const he = pt(
2404
2410
  `${window.location.protocol}//${window.location.hostname}${Y}`,
2405
2411
  { token: i.token, lang: i.userLang, _venuServType: 2 }
2406
2412
  );
@@ -2556,7 +2562,7 @@ const zs = /* @__PURE__ */ it(Rs, [["render", js]]), Hs = /* @__PURE__ */ ne({
2556
2562
  expandType: "popup"
2557
2563
  }, {
2558
2564
  default: M(() => [
2559
- (p(!0), W(ce, null, Me(u.value, (G) => (p(), W(ce, {
2565
+ (p(!0), W(ce, null, Ie(u.value, (G) => (p(), W(ce, {
2560
2566
  key: G.name
2561
2567
  }, [
2562
2568
  !G.children || !G.children.length ? (p(), S(me, {
@@ -2644,7 +2650,7 @@ const zs = /* @__PURE__ */ it(Rs, [["render", js]]), Hs = /* @__PURE__ */ ne({
2644
2650
  expandType: "popup"
2645
2651
  }, {
2646
2652
  default: M(() => [
2647
- (p(!0), W(ce, null, Me(g.value, (G) => (p(), W("div", {
2653
+ (p(!0), W(ce, null, Ie(g.value, (G) => (p(), W("div", {
2648
2654
  key: G.name
2649
2655
  }, [
2650
2656
  !G.children || !G.children.length ? (p(), S(me, {
@@ -2736,7 +2742,7 @@ const zs = /* @__PURE__ */ it(Rs, [["render", js]]), Hs = /* @__PURE__ */ ne({
2736
2742
  expandType: "popup"
2737
2743
  }, {
2738
2744
  default: M(() => [
2739
- (p(!0), W(ce, null, Me(y.value, (G) => (p(), W("div", {
2745
+ (p(!0), W(ce, null, Ie(y.value, (G) => (p(), W("div", {
2740
2746
  key: G.name
2741
2747
  }, [
2742
2748
  !G.children || !G.children.length ? (p(), S(me, {
@@ -2855,10 +2861,10 @@ const un = Ke(Gs), ba = /* @__PURE__ */ ne({
2855
2861
  class: h(as),
2856
2862
  placement: "center"
2857
2863
  }, e.commonDialogProps), mo({ _: 2 }, [
2858
- Me(e.$slots, (a, l) => ({
2864
+ Ie(e.$slots, (a, l) => ({
2859
2865
  name: l,
2860
2866
  fn: M((s) => [
2861
- Ue(e.$slots, l, Et(qt({ ...s })))
2867
+ Ue(e.$slots, l, Et(Qt({ ...s })))
2862
2868
  ])
2863
2869
  }))
2864
2870
  ]), 1040, ["class"]);
@@ -2967,10 +2973,10 @@ const Hc = Ke(Qs), Zs = /* @__PURE__ */ ne({
2967
2973
  ref_key: "tTableRef",
2968
2974
  ref: t
2969
2975
  }, { ...n.value, ...a.commonTableProps }), mo({ _: 2 }, [
2970
- Me(a.$slots, (f, r) => ({
2976
+ Ie(a.$slots, (f, r) => ({
2971
2977
  name: r,
2972
2978
  fn: M((c) => [
2973
- Ue(a.$slots, r, Et(qt({ ...c })))
2979
+ Ue(a.$slots, r, Et(Qt({ ...c })))
2974
2980
  ])
2975
2981
  }))
2976
2982
  ]), 1040)) : a.tableType == "primary" ? (p(), S(i, we({
@@ -2978,10 +2984,10 @@ const Hc = Ke(Qs), Zs = /* @__PURE__ */ ne({
2978
2984
  ref_key: "tTableRef",
2979
2985
  ref: t
2980
2986
  }, { ...n.value, ...a.commonTableProps }), mo({ _: 2 }, [
2981
- Me(a.$slots, (f, r) => ({
2987
+ Ie(a.$slots, (f, r) => ({
2982
2988
  name: r,
2983
2989
  fn: M((c) => [
2984
- Ue(a.$slots, r, Et(qt({ ...c })))
2990
+ Ue(a.$slots, r, Et(Qt({ ...c })))
2985
2991
  ])
2986
2992
  }))
2987
2993
  ]), 1040)) : a.tableType === "enhanced" ? (p(), S(u, we({
@@ -2989,10 +2995,10 @@ const Hc = Ke(Qs), Zs = /* @__PURE__ */ ne({
2989
2995
  ref_key: "tTableRef",
2990
2996
  ref: t
2991
2997
  }, { ...n.value, ...a.commonTableProps }), mo({ _: 2 }, [
2992
- Me(a.$slots, (f, r) => ({
2998
+ Ie(a.$slots, (f, r) => ({
2993
2999
  name: r,
2994
3000
  fn: M((c) => [
2995
- Ue(a.$slots, r, Et(qt({ ...c })))
3001
+ Ue(a.$slots, r, Et(Qt({ ...c })))
2996
3002
  ])
2997
3003
  }))
2998
3004
  ]), 1040)) : X("", !0)
@@ -3022,7 +3028,7 @@ function Js(o) {
3022
3028
  });
3023
3029
  }
3024
3030
  ho.enableBoundaryChecking(!1);
3025
- const Wt = (o) => {
3031
+ const Gt = (o) => {
3026
3032
  const e = o.responseText || o.response;
3027
3033
  if (!e)
3028
3034
  return;
@@ -3072,11 +3078,11 @@ const Wt = (o) => {
3072
3078
  O = !0, m(R);
3073
3079
  }, $.onload = () => {
3074
3080
  if ($.status < 200 || $.status >= 300) {
3075
- m(Wt($));
3081
+ m(Gt($));
3076
3082
  return;
3077
3083
  }
3078
3084
  if (d == _ - 1) {
3079
- const x = F.map((R) => Wt(R));
3085
+ const x = F.map((R) => Gt(R));
3080
3086
  c(x);
3081
3087
  } else
3082
3088
  d++, D();
@@ -3085,7 +3091,7 @@ const Wt = (o) => {
3085
3091
  $.setRequestHeader(x, n[x]);
3086
3092
  $.send(J), F.push($);
3087
3093
  } else if (d === _) {
3088
- const U = F.map(($) => Wt($));
3094
+ const U = F.map(($) => Gt($));
3089
3095
  c(U);
3090
3096
  }
3091
3097
  }, E = () => {
@@ -3129,10 +3135,10 @@ const Wt = (o) => {
3129
3135
  m(b);
3130
3136
  }, v.onload = () => {
3131
3137
  if (v.status < 200 || v.status >= 300) {
3132
- m(Wt(v));
3138
+ m(Gt(v));
3133
3139
  return;
3134
3140
  }
3135
- c(Wt(v));
3141
+ c(Gt(v));
3136
3142
  };
3137
3143
  const T = new FormData();
3138
3144
  if (g)
@@ -3171,7 +3177,7 @@ const Wt = (o) => {
3171
3177
  return e ? t.filter((n) => tr(n, e)) : t;
3172
3178
  }, ka = (o) => {
3173
3179
  var t, n, a, l;
3174
- const e = { fileId: `${Zt(10)}-root`, filename: "root", childFiles: [] };
3180
+ const e = { fileId: `${Yt(10)}-root`, filename: "root", childFiles: [] };
3175
3181
  for (const s of o) {
3176
3182
  const i = (t = s == null ? void 0 : s.relativePath) == null ? void 0 : t.split("/");
3177
3183
  let u = e;
@@ -3181,7 +3187,7 @@ const Wt = (o) => {
3181
3187
  (c) => c.filename === f
3182
3188
  );
3183
3189
  r || (r = {
3184
- fileId: `${Zt(10)}-${f}`,
3190
+ fileId: `${Yt(10)}-${f}`,
3185
3191
  filename: f,
3186
3192
  fileUploadType: "path",
3187
3193
  childFiles: []
@@ -3533,7 +3539,7 @@ const _a = /* @__PURE__ */ it(lr, [["__scopeId", "data-v-8a486150"]]), sr = /* @
3533
3539
  const r = ((f = l.file.filename) == null ? void 0 : f.split(".")[1]) ?? "";
3534
3540
  ["png", "jpg", "jpeg", "bmp", "gif", "webp"].includes(r) ? u = "image" : ["mp4", "m2v", "mkv", "m4v", "mov"].includes(r) ? u = "video" : ["mp3", "wav", "wmv", "m4a", "acc", "flac"].includes(r) && (u = "audio");
3535
3541
  }
3536
- return u.includes("image") ? Qt : u.includes("pdf") ? aa : u.includes("video") ? Ko : qo;
3542
+ return u.includes("image") ? Zt : u.includes("pdf") ? aa : u.includes("video") ? Ko : qo;
3537
3543
  }), i = N(() => l.file.filename ? l.file.filename.length > 25 ? l.file.filename.substring(0, 20) + "..." + l.file.filename.substring(l.file.filename.length - 5) : l.file.filename : "");
3538
3544
  return (u, f) => {
3539
3545
  var r;
@@ -3610,7 +3616,7 @@ const _a = /* @__PURE__ */ it(lr, [["__scopeId", "data-v-8a486150"]]), sr = /* @
3610
3616
  class: Q(n.value)
3611
3617
  }, {
3612
3618
  default: M(() => [
3613
- (p(!0), W(ce, null, Me(o.fileList, (i, u) => (p(), S(sr, {
3619
+ (p(!0), W(ce, null, Ie(o.fileList, (i, u) => (p(), S(sr, {
3614
3620
  key: `fileItem-${u}`,
3615
3621
  file: i,
3616
3622
  listType: o.listType
@@ -3641,7 +3647,7 @@ const _a = /* @__PURE__ */ it(lr, [["__scopeId", "data-v-8a486150"]]), sr = /* @
3641
3647
  const w = ((c = f.data.filename) == null ? void 0 : c.split(".")[1]) ?? "";
3642
3648
  ["png", "jpg", "jpeg", "bmp", "gif", "webp"].includes(w) ? m = "image" : ["mp4", "m2v", "mkv", "m4v", "mov"].includes(w) ? m = "video" : ["mp3", "wav", "wmv", "m4a", "acc", "flac"].includes(w) && (m = "audio");
3643
3649
  }
3644
- m.includes("image") && (r = Qt), m.includes("pdf") && (r = aa), m.includes("audio") && (r = Ko), m.includes("video") && (r = Ko), r = qo;
3650
+ m.includes("image") && (r = Zt), m.includes("pdf") && (r = aa), m.includes("audio") && (r = Ko), m.includes("video") && (r = Ko), r = qo;
3645
3651
  } else
3646
3652
  r = qo;
3647
3653
  return r && u(r, {});
@@ -3970,7 +3976,7 @@ const _a = /* @__PURE__ */ it(lr, [["__scopeId", "data-v-8a486150"]]), sr = /* @
3970
3976
  const K = B == null ? void 0 : B.map((le, ae) => {
3971
3977
  const _e = le.status ? le.status : le.url ? "done" : "error", Fe = No({
3972
3978
  ...le,
3973
- fileId: le.fileId ?? `${Zt(10)}-${le.filename}`,
3979
+ fileId: le.fileId ?? `${Yt(10)}-${le.filename}`,
3974
3980
  status: _e,
3975
3981
  percent: le.percent ?? (["error", "init"].indexOf(_e) > -1 ? 0 : 1)
3976
3982
  });
@@ -4063,7 +4069,7 @@ const _a = /* @__PURE__ */ it(lr, [["__scopeId", "data-v-8a486150"]]), sr = /* @
4063
4069
  for (const B of k.value)
4064
4070
  x(B);
4065
4071
  }, U = async (B, K) => {
4066
- const le = `${Zt(10)}-${B.name}`, ae = void 0, _e = No({
4072
+ const le = `${Yt(10)}-${B.name}`, ae = void 0, _e = No({
4067
4073
  fileId: le,
4068
4074
  file: B,
4069
4075
  filename: B.name,
@@ -4331,7 +4337,7 @@ const mr = /* @__PURE__ */ it(fr, [["__scopeId", "data-v-05da5ebe"]]), pr = Ke(m
4331
4337
  class: "color-group"
4332
4338
  }, {
4333
4339
  default: M(() => [
4334
- (p(!0), W(ce, null, Me(t.slice(0, t.length - 1), (g, I) => (p(), W("div", { key: I }, [
4340
+ (p(!0), W(ce, null, Ie(t.slice(0, t.length - 1), (g, I) => (p(), W("div", { key: I }, [
4335
4341
  (p(), S(r, {
4336
4342
  key: I,
4337
4343
  value: g,
@@ -4363,7 +4369,7 @@ const mr = /* @__PURE__ */ it(fr, [["__scopeId", "data-v-05da5ebe"]]), pr = Ke(m
4363
4369
  onChange: s
4364
4370
  }, {
4365
4371
  default: M(() => [
4366
- (p(!0), W(ce, null, Me(n.value, (g, I) => (p(), W("div", { key: I }, [
4372
+ (p(!0), W(ce, null, Ie(n.value, (g, I) => (p(), W("div", { key: I }, [
4367
4373
  (p(), S(r, {
4368
4374
  key: I,
4369
4375
  value: g.type
@@ -4406,7 +4412,7 @@ const Wc = Ke(hr), zt = {
4406
4412
  confirm: "/restapi/s09/gview/active/confirm",
4407
4413
  // 触发 - 触发批量操作事件 POST
4408
4414
  batch: "/restapi/s09/gview/active/batch"
4409
- }, Ca = (o) => Xe.get(zt.getOneView, o), to = (o) => Xe.post(zt.getBoardData, o), Ma = (o) => Xe.post(zt.confirm, o), gr = (o) => Xe.post(zt.batch, o), vr = (o) => Xe.post(zt.activeFile, o), yr = (o) => Xe.post(zt.downloadFile, o), br = /* @__PURE__ */ ne({
4415
+ }, Ca = (o) => Xe.get(zt.getOneView, o), oo = (o) => Xe.post(zt.getBoardData, o), Ma = (o) => Xe.post(zt.confirm, o), gr = (o) => Xe.post(zt.batch, o), vr = (o) => Xe.post(zt.activeFile, o), yr = (o) => Xe.post(zt.downloadFile, o), br = /* @__PURE__ */ ne({
4410
4416
  __name: "GFormLabel",
4411
4417
  props: {
4412
4418
  modelValue: { default: "" },
@@ -4417,7 +4423,7 @@ const Wc = Ke(hr), zt = {
4417
4423
  const e = o, t = N(() => e.formItem.keyName), n = N(() => {
4418
4424
  if (e.formItem.value !== "")
4419
4425
  try {
4420
- return pt.render(e.formItem.value, { item: e.formModel });
4426
+ return ht.render(e.formItem.value, { item: e.formModel });
4421
4427
  } catch (a) {
4422
4428
  console.error("GTable returnValue Error", a);
4423
4429
  }
@@ -4574,7 +4580,7 @@ const Ia = /* @__PURE__ */ it(br, [["__scopeId", "data-v-b9a9d3f9"]]), en = /* @
4574
4580
  () => {
4575
4581
  t.disabled && l("update:modelValue", Re(n.value));
4576
4582
  }
4577
- ), Xt(() => {
4583
+ ), Jt(() => {
4578
4584
  l("update:modelValue", Re(n.value));
4579
4585
  }), (i, u) => {
4580
4586
  const f = q("t-switch");
@@ -4588,7 +4594,7 @@ const Ia = /* @__PURE__ */ it(br, [["__scopeId", "data-v-b9a9d3f9"]]), en = /* @
4588
4594
  }
4589
4595
  });
4590
4596
  async function wr(o, e, t, n) {
4591
- const a = await to({
4597
+ const a = await oo({
4592
4598
  viewName: e,
4593
4599
  dataId: t,
4594
4600
  props: n
@@ -4607,7 +4613,7 @@ async function wr(o, e, t, n) {
4607
4613
  }
4608
4614
  }
4609
4615
  async function Tr(o, e, t, n) {
4610
- const a = await to({
4616
+ const a = await oo({
4611
4617
  viewName: e,
4612
4618
  dataId: t,
4613
4619
  props: n
@@ -4626,7 +4632,7 @@ async function Tr(o, e, t, n) {
4626
4632
  }
4627
4633
  }
4628
4634
  async function kr(o, e, t, n) {
4629
- const a = await to({
4635
+ const a = await oo({
4630
4636
  viewName: e,
4631
4637
  dataId: t,
4632
4638
  props: n
@@ -4647,7 +4653,7 @@ async function kr(o, e, t, n) {
4647
4653
  }
4648
4654
  function Co(o) {
4649
4655
  const e = H([]);
4650
- return Xt(async () => {
4656
+ return Jt(async () => {
4651
4657
  switch (o.itemType) {
4652
4658
  case "tree_check_box": {
4653
4659
  const { treeData: t, viewName: n, dataId: a, propsModel: l } = o;
@@ -4733,7 +4739,7 @@ const Na = /* @__PURE__ */ ne({
4733
4739
  () => {
4734
4740
  t.disabled && f("update:modelValue", Re(n.value));
4735
4741
  }
4736
- ), Xt(() => {
4742
+ ), Jt(() => {
4737
4743
  f("update:modelValue", Re(n.value));
4738
4744
  }), (c, m) => {
4739
4745
  const w = q("t-radio"), g = q("t-radio-group");
@@ -4744,7 +4750,7 @@ const Na = /* @__PURE__ */ ne({
4744
4750
  disabled: c.disabled
4745
4751
  }, {
4746
4752
  default: M(() => [
4747
- (p(!0), W(ce, null, Me(h(i), (I) => (p(), S(w, {
4753
+ (p(!0), W(ce, null, Ie(h(i), (I) => (p(), S(w, {
4748
4754
  key: I.key,
4749
4755
  value: I.value
4750
4756
  }, {
@@ -5169,7 +5175,7 @@ const Na = /* @__PURE__ */ ne({
5169
5175
  if (n.formItem.fileUploadType == "file")
5170
5176
  if (r.length && r.every((c) => c.status == "done")) {
5171
5177
  const { response: c, filename: m, url: w } = r[0];
5172
- console.log("上传成功", c, m, w), c && c.state == 200 ? (Le.success(`${m} ${t.t("上传成功")}`), a("update:modelValue", w), a("blur:modelValue", w), a("update:fileName", m)) : Le.error(`${t.t("上传失败")} ${c.message}`);
5178
+ console.log("上传成功", c, m, w), c && c.state == 200 ? (Me.success(`${m} ${t.t("上传成功")}`), a("update:modelValue", w), a("blur:modelValue", w), a("update:fileName", m)) : Me.error(`${t.t("上传失败")} ${c.message}`);
5173
5179
  } else
5174
5180
  r.length == 0 && (a("update:modelValue", ""), a("blur:modelValue", ""), a("update:fileName", ""));
5175
5181
  else if (n.formItem.fileUploadType == "path")
@@ -5191,7 +5197,7 @@ const Na = /* @__PURE__ */ ne({
5191
5197
  function i(f) {
5192
5198
  }
5193
5199
  function u(f) {
5194
- console.error("上传失败", f), Le.error(`${f.filename} ${t.t("上传失败")}`);
5200
+ console.error("上传失败", f), Me.error(`${f.filename} ${t.t("上传失败")}`);
5195
5201
  }
5196
5202
  return (f, r) => {
5197
5203
  var c, m;
@@ -5603,7 +5609,7 @@ const Sr = /* @__PURE__ */ ne({
5603
5609
  direction: "vertical"
5604
5610
  }, {
5605
5611
  default: M(() => [
5606
- (p(!0), W(ce, null, Me(l.value, (y, C) => (p(), S(j, { key: C }, {
5612
+ (p(!0), W(ce, null, Ie(l.value, (y, C) => (p(), S(j, { key: C }, {
5607
5613
  default: M(() => [
5608
5614
  A(I, {
5609
5615
  style: { width: "200px" },
@@ -5651,7 +5657,7 @@ function cn(o = {}) {
5651
5657
  if (!He(n) && n !== 1) {
5652
5658
  let l, s;
5653
5659
  try {
5654
- return l = pt.render(n, { form: o.formModel.value }), s = Zo(l, { form: o.formModel.value }), s;
5660
+ return l = ht.render(n, { form: o.formModel.value }), s = Zo(l, { form: o.formModel.value }), s;
5655
5661
  } catch (i) {
5656
5662
  console.error(n, i.message);
5657
5663
  }
@@ -5662,7 +5668,7 @@ function cn(o = {}) {
5662
5668
  if (!He(n) && n !== 0) {
5663
5669
  let l, s;
5664
5670
  try {
5665
- l = pt.render(n, { form: o.formModel.value }), s = Zo(l, { form: o.formModel.value });
5671
+ l = ht.render(n, { form: o.formModel.value }), s = Zo(l, { form: o.formModel.value });
5666
5672
  } catch (i) {
5667
5673
  console.error(n, i.message);
5668
5674
  }
@@ -5935,7 +5941,7 @@ const bo = /* @__PURE__ */ it(Dr, [["__scopeId", "data-v-9251cb78"]]), Ar = ["id
5935
5941
  r.length && s("block-show-if-change", t.name, r, f);
5936
5942
  }
5937
5943
  }
5938
- return Xt(() => {
5944
+ return Jt(() => {
5939
5945
  a();
5940
5946
  }), je(() => {
5941
5947
  i();
@@ -5966,7 +5972,7 @@ const bo = /* @__PURE__ */ it(Dr, [["__scopeId", "data-v-9251cb78"]]), Ar = ["id
5966
5972
  ye(
5967
5973
  () => a.formData,
5968
5974
  () => {
5969
- i.value = Yt(a.formData, s.value);
5975
+ i.value = Xt(a.formData, s.value);
5970
5976
  },
5971
5977
  {
5972
5978
  immediate: !0,
@@ -6070,7 +6076,7 @@ const bo = /* @__PURE__ */ it(Dr, [["__scopeId", "data-v-9251cb78"]]), Ar = ["id
6070
6076
  L().then((_) => {
6071
6077
  if (Object.keys(_).length) {
6072
6078
  const D = T(_);
6073
- Le.warning(D == null ? void 0 : D.message);
6079
+ Me.warning(D == null ? void 0 : D.message);
6074
6080
  } else {
6075
6081
  const D = d(i.value);
6076
6082
  v("confirm-form", D, F.buttonId);
@@ -6082,7 +6088,7 @@ const bo = /* @__PURE__ */ it(Dr, [["__scopeId", "data-v-9251cb78"]]), Ar = ["id
6082
6088
  L().then((_) => {
6083
6089
  if (Object.keys(_).length) {
6084
6090
  const D = T(_);
6085
- Le.warning(D == null ? void 0 : D.message);
6091
+ Me.warning(D == null ? void 0 : D.message);
6086
6092
  } else {
6087
6093
  const D = d(i.value);
6088
6094
  v("confirm-and-close", D, F.buttonId);
@@ -6116,7 +6122,7 @@ const bo = /* @__PURE__ */ it(Dr, [["__scopeId", "data-v-9251cb78"]]), Ar = ["id
6116
6122
  }
6117
6123
  }, {
6118
6124
  body: M(() => [
6119
- (p(!0), W(ce, null, Me(s.value, (E) => (p(), W(ce, {
6125
+ (p(!0), W(ce, null, Ie(s.value, (E) => (p(), W(ce, {
6120
6126
  key: `${E.name}_${E.keyName}`
6121
6127
  }, [
6122
6128
  E.itemType === "block_start" || E.itemType === "block_end" ? (p(), S(Pa, {
@@ -6191,7 +6197,7 @@ const Br = /* @__PURE__ */ ne({
6191
6197
  },
6192
6198
  emits: ["close-dialog"],
6193
6199
  setup(o, { emit: e }) {
6194
- const t = ea(() => Promise.resolve().then(() => Qa)), { T: n } = ge(), a = ht(), l = o, s = N(() => {
6200
+ const t = ea(() => Promise.resolve().then(() => Qa)), { T: n } = ge(), a = gt(), l = o, s = N(() => {
6195
6201
  var C, k, v;
6196
6202
  return (C = l.board) != null && C.data ? (k = l.board) == null ? void 0 : k.data.dataId : (v = l.board) != null && v.tableData ? l.board.tableData.dataId : null;
6197
6203
  }), i = N(() => {
@@ -6220,7 +6226,7 @@ const Br = /* @__PURE__ */ ne({
6220
6226
  buttonId: k,
6221
6227
  props: v,
6222
6228
  viewName: l.viewName
6223
- })).state === 200 ? (Le.success(`${n.t("提交成功")}`), m.value && (m.value.formOkButtonLoading = !1), !0) : (m.value && (m.value.formOkButtonLoading = !1), !1);
6229
+ })).state === 200 ? (Me.success(`${n.t("提交成功")}`), m.value && (m.value.formOkButtonLoading = !1), !0) : (m.value && (m.value.formOkButtonLoading = !1), !1);
6224
6230
  }
6225
6231
  async function g(C, k) {
6226
6232
  await w(C, k) && I();
@@ -6232,7 +6238,7 @@ const Br = /* @__PURE__ */ ne({
6232
6238
  async function y() {
6233
6239
  try {
6234
6240
  if (L.value = !0, !lt(s.value) && !lt(l.viewName)) {
6235
- const C = await to({
6241
+ const C = await oo({
6236
6242
  dataId: s.value,
6237
6243
  viewName: l.viewName,
6238
6244
  props: u.value
@@ -6315,10 +6321,10 @@ const Br = /* @__PURE__ */ ne({
6315
6321
  a("close-dialog");
6316
6322
  }
6317
6323
  const w = tt(), g = N(() => {
6318
- const y = Jt(n.dialogViewInfo.link);
6324
+ const y = eo(n.dialogViewInfo.link);
6319
6325
  let C = "";
6320
6326
  if (y)
6321
- C = wt(n.dialogViewInfo.link ?? "", {
6327
+ C = pt(n.dialogViewInfo.link ?? "", {
6322
6328
  ...r
6323
6329
  });
6324
6330
  else {
@@ -6384,10 +6390,10 @@ const Vr = Ke(Pr), Or = { class: "g-form" }, $r = { class: "g-form-header" }, Ur
6384
6390
  },
6385
6391
  emits: ["confirm-form", "confirm-and-close", "close-dialog"],
6386
6392
  setup(o, { expose: e, emit: t }) {
6387
- const { T: n } = ge(), a = eo(), l = Pt(), s = Oe(ga, ""), i = o, u = N(() => "280px"), f = N(() => {
6393
+ const { T: n } = ge(), a = to(), l = Pt(), s = Oe(ga, ""), i = o, u = N(() => "280px"), f = N(() => {
6388
6394
  var $;
6389
6395
  return ($ = i.board) == null ? void 0 : $.formItems;
6390
- }), r = H({}), { handleItemShowIf: c } = cn({ formModel: r }), m = ht();
6396
+ }), r = H({}), { handleItemShowIf: c } = cn({ formModel: r }), m = gt();
6391
6397
  function w() {
6392
6398
  const $ = a.getFormData(m.fullPath);
6393
6399
  $ && Object.keys($).length && Object.keys(r.value).forEach((x) => {
@@ -6403,7 +6409,7 @@ const Vr = Ke(Pr), Or = { class: "g-form" }, $r = { class: "g-form-header" }, Ur
6403
6409
  ye(
6404
6410
  () => i.formData,
6405
6411
  () => {
6406
- r.value = Yt(i.formData, f.value), w();
6412
+ r.value = Xt(i.formData, f.value), w();
6407
6413
  },
6408
6414
  {
6409
6415
  immediate: !0,
@@ -6507,7 +6513,7 @@ const Vr = Ke(Pr), Or = { class: "g-form" }, $r = { class: "g-form-header" }, Ur
6507
6513
  d().then((x) => {
6508
6514
  if (Object.keys(x).length) {
6509
6515
  const R = D(x);
6510
- Le.warning(R == null ? void 0 : R.message);
6516
+ Me.warning(R == null ? void 0 : R.message);
6511
6517
  } else {
6512
6518
  const R = E(r.value);
6513
6519
  _("confirm-form", R, $.buttonId);
@@ -6519,7 +6525,7 @@ const Vr = Ke(Pr), Or = { class: "g-form" }, $r = { class: "g-form-header" }, Ur
6519
6525
  d().then((x) => {
6520
6526
  if (Object.keys(x).length) {
6521
6527
  const R = D(x);
6522
- Le.warning(R == null ? void 0 : R.message);
6528
+ Me.warning(R == null ? void 0 : R.message);
6523
6529
  } else {
6524
6530
  const R = E(r.value);
6525
6531
  _("confirm-and-close", R, $.buttonId);
@@ -6603,7 +6609,7 @@ const Vr = Ke(Pr), Or = { class: "g-form" }, $r = { class: "g-form-header" }, Ur
6603
6609
  }
6604
6610
  }, {
6605
6611
  body: M(() => [
6606
- (p(!0), W(ce, null, Me(f.value, (B) => (p(), W(ce, {
6612
+ (p(!0), W(ce, null, Ie(f.value, (B) => (p(), W(ce, {
6607
6613
  key: `${B.name}_${B.keyName}`
6608
6614
  }, [
6609
6615
  B.itemType === "block_start" || B.itemType === "block_end" ? (p(), S(Pa, {
@@ -6671,12 +6677,12 @@ const jr = /* @__PURE__ */ it(Rr, [["__scopeId", "data-v-bfa81006"]]), zr = Ke(j
6671
6677
  }
6672
6678
  };
6673
6679
  console.log(f), vr(f).then((g) => {
6674
- g.state == 200 ? Le.success(`${e.t("导入成功")}`) : console.log("导入失败", g.message);
6680
+ g.state == 200 ? Me.success(`${e.t("导入成功")}`) : console.log("导入失败", g.message);
6675
6681
  });
6676
6682
  }
6677
6683
  function i(u) {
6678
6684
  var f, r, c;
6679
- console.error("上传失败", u), u != null && u.response && ((f = u == null ? void 0 : u.response) == null ? void 0 : f.state) != 200 && (r = u.response) != null && r.message && Le.error(`${u.filename} ${e.t("上传失败")}: ${(c = u.response) == null ? void 0 : c.message}`);
6685
+ console.error("上传失败", u), u != null && u.response && ((f = u == null ? void 0 : u.response) == null ? void 0 : f.state) != 200 && (r = u.response) != null && r.message && Me.error(`${u.filename} ${e.t("上传失败")}: ${(c = u.response) == null ? void 0 : c.message}`);
6680
6686
  }
6681
6687
  return (u, f) => {
6682
6688
  var r, c, m;
@@ -6733,7 +6739,7 @@ const jr = /* @__PURE__ */ it(Rr, [["__scopeId", "data-v-bfa81006"]]), zr = Ke(j
6733
6739
  }), f = N(() => {
6734
6740
  var v;
6735
6741
  return Tt((v = n.headerInfo.searchBar) == null ? void 0 : v.filters) ? n.headerInfo.searchBar.filters.filter((T) => T.itemType === "text_input") : [];
6736
- }), r = N(() => u.value.length ? u.value.filter((v) => v.itemType === "selector").map((v) => v.keyName) : []), c = Yt({}, i.value, !0), m = H($e(c));
6742
+ }), r = N(() => u.value.length ? u.value.filter((v) => v.itemType === "selector").map((v) => v.keyName) : []), c = Xt({}, i.value, !0), m = H($e(c));
6737
6743
  let w = H(0);
6738
6744
  function g(v, T) {
6739
6745
  T !== null && typeof T < "u" ? Qe(m.value, v, T) : r.value.includes(v) ? Qe(m.value, v, "all") : Qe(m.value, v, T), w.value && clearTimeout(w.value), w.value = setTimeout(() => {
@@ -6751,7 +6757,7 @@ const jr = /* @__PURE__ */ it(Rr, [["__scopeId", "data-v-bfa81006"]]), zr = Ke(j
6751
6757
  } : {};
6752
6758
  }
6753
6759
  function j() {
6754
- m.value = $e(Yt({}, i.value, !0));
6760
+ m.value = $e(Xt({}, i.value, !0));
6755
6761
  const v = $e(m.value);
6756
6762
  Object.keys(v).forEach((T) => {
6757
6763
  r.value.includes(T) && v[T] == "all" && delete v[T], (v[T] === "" || v[T] === null) && delete v[T];
@@ -6765,7 +6771,7 @@ const jr = /* @__PURE__ */ it(Rr, [["__scopeId", "data-v-bfa81006"]]), zr = Ke(j
6765
6771
  function y(v) {
6766
6772
  a("display-columns-change", v);
6767
6773
  }
6768
- const C = ht(), k = eo();
6774
+ const C = gt(), k = to();
6769
6775
  return je(() => {
6770
6776
  const v = k.getFormData(C.fullPath);
6771
6777
  v != null && v.formData && (m.value = {
@@ -6778,7 +6784,7 @@ const jr = /* @__PURE__ */ it(Rr, [["__scopeId", "data-v-bfa81006"]]), zr = Ke(j
6778
6784
  class: "g-header-button",
6779
6785
  size: "8px"
6780
6786
  }, {
6781
- default: M(() => [(p(!0), W(ce, null, Me(l.value, (F) => (p(), W(ce, {
6787
+ default: M(() => [(p(!0), W(ce, null, Ie(l.value, (F) => (p(), W(ce, {
6782
6788
  key: F.buttonId
6783
6789
  }, [F.action == "UPLOAD_FILE" ? (p(), S(Hr, {
6784
6790
  key: 0,
@@ -6801,7 +6807,7 @@ const jr = /* @__PURE__ */ it(Rr, [["__scopeId", "data-v-bfa81006"]]), zr = Ke(j
6801
6807
  layout: "inline",
6802
6808
  colon: ""
6803
6809
  }, {
6804
- default: M(() => [(p(!0), W(ce, null, Me(u.value, (F, _) => (p(), S(bo, {
6810
+ default: M(() => [(p(!0), W(ce, null, Ie(u.value, (F, _) => (p(), S(bo, {
6805
6811
  ref_for: !0,
6806
6812
  ref: "gFormItemRefs",
6807
6813
  key: _,
@@ -6822,7 +6828,7 @@ const jr = /* @__PURE__ */ it(Rr, [["__scopeId", "data-v-bfa81006"]]), zr = Ke(j
6822
6828
  }), A(b, {
6823
6829
  size: "8px"
6824
6830
  }, {
6825
- default: M(() => [(p(!0), W(ce, null, Me(f.value, (F, _) => (p(), W("div", {
6831
+ default: M(() => [(p(!0), W(ce, null, Ie(f.value, (F, _) => (p(), W("div", {
6826
6832
  key: _
6827
6833
  }, [A(bo, {
6828
6834
  formItem: F,
@@ -6861,7 +6867,7 @@ const qr = /* @__PURE__ */ it(Kr, [["__scopeId", "data-v-f74b066f"]]), Qr = Ke(q
6861
6867
  const { T: t } = ge(), n = `${Ut}__form`, a = o, l = e, s = N(() => {
6862
6868
  var r;
6863
6869
  return (r = a.col) == null ? void 0 : r.formItems;
6864
- }), i = N(() => Yt(a.row, s.value));
6870
+ }), i = N(() => Xt(a.row, s.value));
6865
6871
  function u(r, c) {
6866
6872
  Qe(i.value, r, c);
6867
6873
  }
@@ -6871,7 +6877,7 @@ const qr = /* @__PURE__ */ it(Kr, [["__scopeId", "data-v-f74b066f"]]), Qr = Ke(q
6871
6877
  return kt(_o, {}), (r, c) => (p(), W("div", {
6872
6878
  class: Q(`${n}`)
6873
6879
  }, [
6874
- (p(!0), W(ce, null, Me(s.value, (m) => {
6880
+ (p(!0), W(ce, null, Ie(s.value, (m) => {
6875
6881
  var w;
6876
6882
  return p(), W("div", {
6877
6883
  key: m.keyName
@@ -7436,14 +7442,14 @@ const {
7436
7442
  DOMMatrix: gi,
7437
7443
  DOMRect: vi,
7438
7444
  DOMPoint: yi
7439
- }, Kt = (o, e, t = {}, n = t) => {
7445
+ }, qt = (o, e, t = {}, n = t) => {
7440
7446
  if (Array.isArray(e))
7441
- e.forEach((a) => Kt(o, a, t, n));
7447
+ e.forEach((a) => qt(o, a, t, n));
7442
7448
  else if (typeof e == "function")
7443
- e(o, t, n, Kt);
7449
+ e(o, t, n, qt);
7444
7450
  else {
7445
7451
  const a = Object.keys(e)[0];
7446
- Array.isArray(e[a]) ? (n[a] = {}, Kt(o, e[a], t, n[a])) : n[a] = e[a](o, t, n, Kt);
7452
+ Array.isArray(e[a]) ? (n[a] = {}, qt(o, e[a], t, n[a])) : n[a] = e[a](o, t, n, qt);
7447
7453
  }
7448
7454
  return t;
7449
7455
  }, Bt = (o, e) => (t, n, a, l) => {
@@ -7668,7 +7674,7 @@ const _i = Bt(
7668
7674
  return j;
7669
7675
  }, Di = (o) => {
7670
7676
  const e = new Uint8Array(o);
7671
- return Kt(Ti(e), Si);
7677
+ return qt(Ti(e), Si);
7672
7678
  }, Ai = (o) => {
7673
7679
  const e = o.pixels.length, t = new Uint8ClampedArray(e * 4);
7674
7680
  for (var n = 0; n < e; n++) {
@@ -7761,7 +7767,7 @@ class Vi {
7761
7767
  e.put(this.parsedData[t], 8);
7762
7768
  }
7763
7769
  }
7764
- class bt {
7770
+ class wt {
7765
7771
  constructor(e = -1, t = ze.L) {
7766
7772
  this.moduleCount = 0, this.dataList = [], this.typeNumber = e, this.errorCorrectLevel = t, this.moduleCount = 0, this.dataList = [];
7767
7773
  }
@@ -7795,7 +7801,7 @@ class bt {
7795
7801
  for (let a = 0; a < this.moduleCount; a++)
7796
7802
  this.modules[n][a] = null;
7797
7803
  }
7798
- this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(e, t), this.typeNumber >= 7 && this.setupTypeNumber(e), this.dataCache == null && (this.dataCache = bt.createData(this.typeNumber, this.errorCorrectLevel, this.dataList)), this.mapData(this.dataCache, t);
7804
+ this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(e, t), this.typeNumber >= 7 && this.setupTypeNumber(e), this.dataCache == null && (this.dataCache = wt.createData(this.typeNumber, this.errorCorrectLevel, this.dataList)), this.mapData(this.dataCache, t);
7799
7805
  }
7800
7806
  setupPositionProbePattern(e, t) {
7801
7807
  for (let n = -1; n <= 7; n++)
@@ -7882,9 +7888,9 @@ class bt {
7882
7888
  throw new Error(`code length overflow. (${l.getLengthInBits()}>${i * 8})`);
7883
7889
  for (l.getLengthInBits() + 4 <= i * 8 && l.put(0, 4); l.getLengthInBits() % 8 != 0; )
7884
7890
  l.putBit(!1);
7885
- for (; !(l.getLengthInBits() >= i * 8 || (l.put(bt.PAD0, 8), l.getLengthInBits() >= i * 8)); )
7886
- l.put(bt.PAD1, 8);
7887
- return bt.createBytes(l, a);
7891
+ for (; !(l.getLengthInBits() >= i * 8 || (l.put(wt.PAD0, 8), l.getLengthInBits() >= i * 8)); )
7892
+ l.put(wt.PAD1, 8);
7893
+ return wt.createBytes(l, a);
7888
7894
  }
7889
7895
  static createBytes(e, t) {
7890
7896
  let n = 0, a = 0, l = 0;
@@ -7916,8 +7922,8 @@ class bt {
7916
7922
  return c;
7917
7923
  }
7918
7924
  }
7919
- bt.PAD0 = 236;
7920
- bt.PAD1 = 17;
7925
+ wt.PAD0 = 236;
7926
+ wt.PAD1 = 17;
7921
7927
  const ze = { L: 1, M: 0, Q: 3, H: 2 }, qe = { MODE_NUMBER: 1, MODE_ALPHA_NUM: 2, MODE_8BIT_BYTE: 4, MODE_KANJI: 8 }, dt = {
7922
7928
  PATTERN000: 0,
7923
7929
  PATTERN001: 1,
@@ -7975,7 +7981,7 @@ class ke {
7975
7981
  static getErrorCorrectPolynomial(e) {
7976
7982
  let t = new Rt([1], 0);
7977
7983
  for (let n = 0; n < e; n++)
7978
- t = t.multiply(new Rt([1, Ne.gexp(n)], 0));
7984
+ t = t.multiply(new Rt([1, Ee.gexp(n)], 0));
7979
7985
  return t;
7980
7986
  }
7981
7987
  static getLengthInBits(e, t) {
@@ -8098,29 +8104,29 @@ ke.PATTERN_POSITION_TABLE = [
8098
8104
  ke.G15 = 1335;
8099
8105
  ke.G18 = 7973;
8100
8106
  ke.G15_MASK = 21522;
8101
- class Ne {
8107
+ class Ee {
8102
8108
  static glog(e) {
8103
8109
  if (e < 1)
8104
8110
  throw new Error(`glog(${e})`);
8105
- return Ne.LOG_TABLE[e];
8111
+ return Ee.LOG_TABLE[e];
8106
8112
  }
8107
8113
  static gexp(e) {
8108
8114
  for (; e < 0; )
8109
8115
  e += 255;
8110
8116
  for (; e >= 256; )
8111
8117
  e -= 255;
8112
- return Ne.EXP_TABLE[e];
8118
+ return Ee.EXP_TABLE[e];
8113
8119
  }
8114
8120
  }
8115
- Ne.EXP_TABLE = new Array(256);
8116
- Ne.LOG_TABLE = new Array(256);
8117
- Ne._constructor = function() {
8121
+ Ee.EXP_TABLE = new Array(256);
8122
+ Ee.LOG_TABLE = new Array(256);
8123
+ Ee._constructor = function() {
8118
8124
  for (var o = 0; o < 8; o++)
8119
- Ne.EXP_TABLE[o] = 1 << o;
8125
+ Ee.EXP_TABLE[o] = 1 << o;
8120
8126
  for (var o = 8; o < 256; o++)
8121
- Ne.EXP_TABLE[o] = Ne.EXP_TABLE[o - 4] ^ Ne.EXP_TABLE[o - 5] ^ Ne.EXP_TABLE[o - 6] ^ Ne.EXP_TABLE[o - 8];
8127
+ Ee.EXP_TABLE[o] = Ee.EXP_TABLE[o - 4] ^ Ee.EXP_TABLE[o - 5] ^ Ee.EXP_TABLE[o - 6] ^ Ee.EXP_TABLE[o - 8];
8122
8128
  for (var o = 0; o < 255; o++)
8123
- Ne.LOG_TABLE[Ne.EXP_TABLE[o]] = o;
8129
+ Ee.LOG_TABLE[Ee.EXP_TABLE[o]] = o;
8124
8130
  }();
8125
8131
  class Rt {
8126
8132
  constructor(e, t) {
@@ -8143,17 +8149,17 @@ class Rt {
8143
8149
  const t = new Array(this.getLength() + e.getLength() - 1);
8144
8150
  for (let n = 0; n < this.getLength(); n++)
8145
8151
  for (let a = 0; a < e.getLength(); a++)
8146
- t[n + a] ^= Ne.gexp(Ne.glog(this.get(n)) + Ne.glog(e.get(a)));
8152
+ t[n + a] ^= Ee.gexp(Ee.glog(this.get(n)) + Ee.glog(e.get(a)));
8147
8153
  return new Rt(t, 0);
8148
8154
  }
8149
8155
  mod(e) {
8150
8156
  if (this.getLength() - e.getLength() < 0)
8151
8157
  return this;
8152
- const t = Ne.glog(this.get(0)) - Ne.glog(e.get(0)), n = new Array(this.getLength());
8158
+ const t = Ee.glog(this.get(0)) - Ee.glog(e.get(0)), n = new Array(this.getLength());
8153
8159
  for (var a = 0; a < this.getLength(); a++)
8154
8160
  n[a] = this.get(a);
8155
8161
  for (var a = 0; a < e.getLength(); a++)
8156
- n[a] ^= Ne.gexp(Ne.glog(e.get(a)) + t);
8162
+ n[a] ^= Ee.gexp(Ee.glog(e.get(a)) + t);
8157
8163
  return new Rt(n, 0).mod(e);
8158
8164
  }
8159
8165
  }
@@ -8412,18 +8418,18 @@ const at = [
8412
8418
  [2809, 2213, 1579, 1219],
8413
8419
  [2953, 2331, 1663, 1273]
8414
8420
  ];
8415
- var $i = 100, Pe = 256, jn = Pe - 1, vt = 4, za = 16, mn = 1 << za, Ha = 10, pn = 10, Ui = mn >> pn, Ri = mn << Ha - pn, ji = Pe >> 3, on = 6, zi = 1 << on, Hi = ji * zi, Wi = 30, Wa = 10, io = 1 << Wa, Ga = 8, zn = 1 << Ga, Gi = Wa + Ga, $t = 1 << Gi, Hn = 499, Wn = 491, Gn = 487, Ka = 503, Ki = 3 * Ka;
8421
+ var $i = 100, Pe = 256, jn = Pe - 1, yt = 4, za = 16, mn = 1 << za, Ha = 10, pn = 10, Ui = mn >> pn, Ri = mn << Ha - pn, ji = Pe >> 3, on = 6, zi = 1 << on, Hi = ji * zi, Wi = 30, Wa = 10, io = 1 << Wa, Ga = 8, zn = 1 << Ga, Gi = Wa + Ga, $t = 1 << Gi, Hn = 499, Wn = 491, Gn = 487, Ka = 503, Ki = 3 * Ka;
8416
8422
  function qi(o, e) {
8417
8423
  var t, n, a, l, s;
8418
8424
  function i() {
8419
8425
  t = [], n = new Int32Array(256), a = new Int32Array(Pe), l = new Int32Array(Pe), s = new Int32Array(Pe >> 3);
8420
8426
  var L, y;
8421
8427
  for (L = 0; L < Pe; L++)
8422
- y = (L << vt + 8) / Pe, t[L] = new Float64Array([y, y, y, 0]), l[L] = mn / Pe, a[L] = 0;
8428
+ y = (L << yt + 8) / Pe, t[L] = new Float64Array([y, y, y, 0]), l[L] = mn / Pe, a[L] = 0;
8423
8429
  }
8424
8430
  function u() {
8425
8431
  for (var L = 0; L < Pe; L++)
8426
- t[L][0] >>= vt, t[L][1] >>= vt, t[L][2] >>= vt, t[L][3] = L;
8432
+ t[L][0] >>= yt, t[L][1] >>= yt, t[L][2] >>= yt, t[L][3] = L;
8427
8433
  }
8428
8434
  function f(L, y, C, k, v) {
8429
8435
  t[y][0] -= L * (t[y][0] - C) / io, t[y][1] -= L * (t[y][1] - k) / io, t[y][2] -= L * (t[y][2] - v) / io;
@@ -8435,7 +8441,7 @@ function qi(o, e) {
8435
8441
  function c(L, y, C) {
8436
8442
  var k = 2147483647, v = k, T = -1, d = T, b, O, F, _, D;
8437
8443
  for (b = 0; b < Pe; b++)
8438
- O = t[b], F = Math.abs(O[0] - L) + Math.abs(O[1] - y) + Math.abs(O[2] - C), F < k && (k = F, T = b), _ = F - (a[b] >> za - vt), _ < v && (v = _, d = b), D = l[b] >> pn, l[b] -= D, a[b] += D << Ha;
8444
+ O = t[b], F = Math.abs(O[0] - L) + Math.abs(O[1] - y) + Math.abs(O[2] - C), F < k && (k = F, T = b), _ = F - (a[b] >> za - yt), _ < v && (v = _, d = b), D = l[b] >> pn, l[b] -= D, a[b] += D << Ha;
8439
8445
  return l[T] += Ui, a[T] -= Ri, d;
8440
8446
  }
8441
8447
  function m() {
@@ -8465,7 +8471,7 @@ function qi(o, e) {
8465
8471
  y < Ki ? (e = 1, O = 3) : y % Hn !== 0 ? O = 3 * Hn : y % Wn !== 0 ? O = 3 * Wn : y % Gn !== 0 ? O = 3 * Gn : O = 3 * Ka;
8466
8472
  var F, _, D, E, J = 0;
8467
8473
  for (L = 0; L < k; )
8468
- if (F = (o[J] & 255) << vt, _ = (o[J + 1] & 255) << vt, D = (o[J + 2] & 255) << vt, E = c(F, _, D), f(T, E, F, _, D), b !== 0 && r(b, E, F, _, D), J += O, J >= y && (J -= y), L++, v === 0 && (v = 1), L % v === 0)
8474
+ if (F = (o[J] & 255) << yt, _ = (o[J + 1] & 255) << yt, D = (o[J + 2] & 255) << yt, E = c(F, _, D), f(T, E, F, _, D), b !== 0 && r(b, E, F, _, D), J += O, J >= y && (J -= y), L++, v === 0 && (v = 1), L % v === 0)
8469
8475
  for (T -= T / C, d -= d / Wi, b = d >> on, b <= 1 && (b = 0), E = 0; E < b; E++)
8470
8476
  s[E] = T * ((b * b - E * E) * zn / (b * b));
8471
8477
  }
@@ -8484,7 +8490,7 @@ function qi(o, e) {
8484
8490
  }
8485
8491
  this.getColormap = j, this.lookupRGB = w;
8486
8492
  }
8487
- var Kn = -1, uo = 12, Gt = 5003, Qi = [
8493
+ var Kn = -1, uo = 12, Kt = 5003, Qi = [
8488
8494
  0,
8489
8495
  1,
8490
8496
  3,
@@ -8504,12 +8510,12 @@ var Kn = -1, uo = 12, Gt = 5003, Qi = [
8504
8510
  65535
8505
8511
  ];
8506
8512
  function Zi(o, e, t, n) {
8507
- var a = Math.max(2, n), l = new Uint8Array(256), s = new Int32Array(Gt), i = new Int32Array(Gt), u, f = 0, r, c = 0, m, w = !1, g, I, j, L, y, C;
8513
+ var a = Math.max(2, n), l = new Uint8Array(256), s = new Int32Array(Kt), i = new Int32Array(Kt), u, f = 0, r, c = 0, m, w = !1, g, I, j, L, y, C;
8508
8514
  function k(E, J) {
8509
8515
  l[r++] = E, r >= 254 && O(J);
8510
8516
  }
8511
8517
  function v(E) {
8512
- T(Gt), c = I + 2, w = !0, D(I, E);
8518
+ T(Kt), c = I + 2, w = !0, D(I, E);
8513
8519
  }
8514
8520
  function T(E) {
8515
8521
  for (var J = 0; J < E; ++J)
@@ -8517,9 +8523,9 @@ function Zi(o, e, t, n) {
8517
8523
  }
8518
8524
  function d(E, J) {
8519
8525
  var U, $, x, R, V, B, K;
8520
- for (g = E, w = !1, C = g, m = F(C), I = 1 << E - 1, j = I + 1, c = I + 2, r = 0, R = _(), K = 0, U = Gt; U < 65536; U *= 2)
8526
+ for (g = E, w = !1, C = g, m = F(C), I = 1 << E - 1, j = I + 1, c = I + 2, r = 0, R = _(), K = 0, U = Kt; U < 65536; U *= 2)
8521
8527
  ++K;
8522
- K = 8 - K, B = Gt, T(B), D(I, J);
8528
+ K = 8 - K, B = Kt, T(B), D(I, J);
8523
8529
  e:
8524
8530
  for (; ($ = _()) != Kn; ) {
8525
8531
  if (U = ($ << uo) + R, x = $ << K ^ R, s[x] === U) {
@@ -8603,49 +8609,49 @@ Ge.prototype.writeBytes = function(o, e, t) {
8603
8609
  for (var n = t || o.length, a = e || 0; a < n; a++)
8604
8610
  this.writeByte(o[a]);
8605
8611
  };
8606
- function Ie(o, e) {
8612
+ function Le(o, e) {
8607
8613
  this.width = ~~o, this.height = ~~e, this.transparent = null, this.transIndex = 0, this.repeat = -1, this.delay = 0, this.image = null, this.pixels = null, this.indexedPixels = null, this.colorDepth = null, this.colorTab = null, this.neuQuant = null, this.usedEntry = new Array(), this.palSize = 7, this.dispose = -1, this.firstFrame = !0, this.sample = 10, this.dither = !1, this.globalPalette = !1, this.out = new Ge();
8608
8614
  }
8609
- Ie.prototype.setDelay = function(o) {
8615
+ Le.prototype.setDelay = function(o) {
8610
8616
  this.delay = Math.round(o / 10);
8611
8617
  };
8612
- Ie.prototype.setFrameRate = function(o) {
8618
+ Le.prototype.setFrameRate = function(o) {
8613
8619
  this.delay = Math.round(100 / o);
8614
8620
  };
8615
- Ie.prototype.setDispose = function(o) {
8621
+ Le.prototype.setDispose = function(o) {
8616
8622
  o >= 0 && (this.dispose = o);
8617
8623
  };
8618
- Ie.prototype.setRepeat = function(o) {
8624
+ Le.prototype.setRepeat = function(o) {
8619
8625
  this.repeat = o;
8620
8626
  };
8621
- Ie.prototype.setTransparent = function(o) {
8627
+ Le.prototype.setTransparent = function(o) {
8622
8628
  this.transparent = o;
8623
8629
  };
8624
- Ie.prototype.addFrame = function(o) {
8630
+ Le.prototype.addFrame = function(o) {
8625
8631
  this.image = o, this.colorTab = this.globalPalette && this.globalPalette.slice ? this.globalPalette : null, this.getImagePixels(), this.analyzePixels(), this.globalPalette === !0 && (this.globalPalette = this.colorTab), this.firstFrame && (this.writeHeader(), this.writeLSD(), this.writePalette(), this.repeat >= 0 && this.writeNetscapeExt()), this.writeGraphicCtrlExt(), this.writeImageDesc(), !this.firstFrame && !this.globalPalette && this.writePalette(), this.writePixels(), this.firstFrame = !1;
8626
8632
  };
8627
- Ie.prototype.finish = function() {
8633
+ Le.prototype.finish = function() {
8628
8634
  this.out.writeByte(59);
8629
8635
  };
8630
- Ie.prototype.setQuality = function(o) {
8636
+ Le.prototype.setQuality = function(o) {
8631
8637
  o < 1 && (o = 1), this.sample = o;
8632
8638
  };
8633
- Ie.prototype.setDither = function(o) {
8639
+ Le.prototype.setDither = function(o) {
8634
8640
  o === !0 && (o = "FloydSteinberg"), this.dither = o;
8635
8641
  };
8636
- Ie.prototype.setGlobalPalette = function(o) {
8642
+ Le.prototype.setGlobalPalette = function(o) {
8637
8643
  this.globalPalette = o;
8638
8644
  };
8639
- Ie.prototype.getGlobalPalette = function() {
8645
+ Le.prototype.getGlobalPalette = function() {
8640
8646
  return this.globalPalette && this.globalPalette.slice && this.globalPalette.slice(0) || this.globalPalette;
8641
8647
  };
8642
- Ie.prototype.writeHeader = function() {
8648
+ Le.prototype.writeHeader = function() {
8643
8649
  this.out.writeUTFBytes("GIF89a");
8644
8650
  };
8645
- Ie.prototype.analyzePixels = function() {
8651
+ Le.prototype.analyzePixels = function() {
8646
8652
  this.colorTab || (this.neuQuant = new qi(this.pixels, this.sample), this.neuQuant.buildColormap(), this.colorTab = this.neuQuant.getColormap()), this.dither ? this.ditherPixels(this.dither.replace("-serpentine", ""), this.dither.match(/-serpentine/) !== null) : this.indexPixels(), this.pixels = null, this.colorDepth = 8, this.palSize = 7, this.transparent !== null && (this.transIndex = this.findClosest(this.transparent, !0));
8647
8653
  };
8648
- Ie.prototype.indexPixels = function(o) {
8654
+ Le.prototype.indexPixels = function(o) {
8649
8655
  var e = this.pixels.length / 3;
8650
8656
  this.indexedPixels = new Uint8Array(e);
8651
8657
  for (var t = 0, n = 0; n < e; n++) {
@@ -8653,7 +8659,7 @@ Ie.prototype.indexPixels = function(o) {
8653
8659
  this.usedEntry[a] = !0, this.indexedPixels[n] = a;
8654
8660
  }
8655
8661
  };
8656
- Ie.prototype.ditherPixels = function(o, e) {
8662
+ Le.prototype.ditherPixels = function(o, e) {
8657
8663
  var t = {
8658
8664
  FalseFloydSteinberg: [
8659
8665
  [0.375, 1, 0],
@@ -8709,10 +8715,10 @@ Ie.prototype.ditherPixels = function(o, e) {
8709
8715
  }
8710
8716
  }
8711
8717
  };
8712
- Ie.prototype.findClosest = function(o, e) {
8718
+ Le.prototype.findClosest = function(o, e) {
8713
8719
  return this.findClosestRGB((o & 16711680) >> 16, (o & 65280) >> 8, o & 255, e);
8714
8720
  };
8715
- Ie.prototype.findClosestRGB = function(o, e, t, n) {
8721
+ Le.prototype.findClosestRGB = function(o, e, t, n) {
8716
8722
  if (this.colorTab === null)
8717
8723
  return -1;
8718
8724
  if (this.neuQuant && !n)
@@ -8723,14 +8729,14 @@ Ie.prototype.findClosestRGB = function(o, e, t, n) {
8723
8729
  }
8724
8730
  return a;
8725
8731
  };
8726
- Ie.prototype.getImagePixels = function() {
8732
+ Le.prototype.getImagePixels = function() {
8727
8733
  var o = this.width, e = this.height;
8728
8734
  this.pixels = new Uint8Array(o * e * 3);
8729
8735
  for (var t = this.image, n = 0, a = 0, l = 0; l < e; l++)
8730
8736
  for (var s = 0; s < o; s++)
8731
8737
  this.pixels[a++] = t[n++], this.pixels[a++] = t[n++], this.pixels[a++] = t[n++], n++;
8732
8738
  };
8733
- Ie.prototype.writeGraphicCtrlExt = function() {
8739
+ Le.prototype.writeGraphicCtrlExt = function() {
8734
8740
  this.out.writeByte(33), this.out.writeByte(249), this.out.writeByte(4);
8735
8741
  var o, e;
8736
8742
  this.transparent === null ? (o = 0, e = 0) : (o = 1, e = 2), this.dispose >= 0 && (e = this.dispose & 7), e <<= 2, this.out.writeByte(
@@ -8741,36 +8747,36 @@ Ie.prototype.writeGraphicCtrlExt = function() {
8741
8747
  // 8 transparency flag
8742
8748
  ), this.writeShort(this.delay), this.out.writeByte(this.transIndex), this.out.writeByte(0);
8743
8749
  };
8744
- Ie.prototype.writeImageDesc = function() {
8750
+ Le.prototype.writeImageDesc = function() {
8745
8751
  this.out.writeByte(44), this.writeShort(0), this.writeShort(0), this.writeShort(this.width), this.writeShort(this.height), this.firstFrame || this.globalPalette ? this.out.writeByte(0) : this.out.writeByte(
8746
8752
  128 | // 4-5 reserved
8747
8753
  this.palSize
8748
8754
  // 6-8 size of color table
8749
8755
  );
8750
8756
  };
8751
- Ie.prototype.writeLSD = function() {
8757
+ Le.prototype.writeLSD = function() {
8752
8758
  this.writeShort(this.width), this.writeShort(this.height), this.out.writeByte(
8753
8759
  240 | // 5 : gct sort flag = 0
8754
8760
  this.palSize
8755
8761
  // 6-8 : gct size
8756
8762
  ), this.out.writeByte(0), this.out.writeByte(0);
8757
8763
  };
8758
- Ie.prototype.writeNetscapeExt = function() {
8764
+ Le.prototype.writeNetscapeExt = function() {
8759
8765
  this.out.writeByte(33), this.out.writeByte(255), this.out.writeByte(11), this.out.writeUTFBytes("NETSCAPE2.0"), this.out.writeByte(3), this.out.writeByte(1), this.writeShort(this.repeat), this.out.writeByte(0);
8760
8766
  };
8761
- Ie.prototype.writePalette = function() {
8767
+ Le.prototype.writePalette = function() {
8762
8768
  this.out.writeBytes(this.colorTab);
8763
8769
  for (var o = 3 * 256 - this.colorTab.length, e = 0; e < o; e++)
8764
8770
  this.out.writeByte(0);
8765
8771
  };
8766
- Ie.prototype.writeShort = function(o) {
8772
+ Le.prototype.writeShort = function(o) {
8767
8773
  this.out.writeByte(o & 255), this.out.writeByte(o >> 8 & 255);
8768
8774
  };
8769
- Ie.prototype.writePixels = function() {
8775
+ Le.prototype.writePixels = function() {
8770
8776
  var o = new Zi(this.width, this.height, this.indexedPixels, this.colorDepth);
8771
8777
  o.encode(this.out);
8772
8778
  };
8773
- Ie.prototype.stream = function() {
8779
+ Le.prototype.stream = function() {
8774
8780
  return this.out;
8775
8781
  };
8776
8782
  var Yi = globalThis && globalThis.__awaiter || function(o, e, t, n) {
@@ -8845,7 +8851,7 @@ class be {
8845
8851
  throw new Error("dotScale should be in range (0, 1].");
8846
8852
  t.components.data.scale = t.dotScale, t.components.timing.scale = t.dotScale, t.components.alignment.scale = t.dotScale;
8847
8853
  }
8848
- this.options = t, this.canvas = new ct(e.size, e.size), this.canvasContext = this.canvas.getContext("2d"), this.qrCode = new bt(-1, this.options.correctLevel), Number.isInteger(this.options.maskPattern) && (this.qrCode.maskPattern = this.options.maskPattern), Number.isInteger(this.options.version) && (this.qrCode.typeNumber = this.options.version), this.qrCode.addData(this.options.text), this.qrCode.make();
8854
+ this.options = t, this.canvas = new ct(e.size, e.size), this.canvasContext = this.canvas.getContext("2d"), this.qrCode = new wt(-1, this.options.correctLevel), Number.isInteger(this.options.maskPattern) && (this.qrCode.maskPattern = this.options.maskPattern), Number.isInteger(this.options.version) && (this.qrCode.typeNumber = this.options.version), this.qrCode.addData(this.options.text), this.qrCode.make();
8849
8855
  }
8850
8856
  draw() {
8851
8857
  return new Promise((e) => this._draw().then(e));
@@ -8985,7 +8991,7 @@ class be {
8985
8991
  if (R) {
8986
8992
  let z, te, ie, G, Ce, Te;
8987
8993
  if (V.forEach(function(Se) {
8988
- z || (z = new Ie(v, v), z.setDelay(Se.delay), z.setRepeat(0));
8994
+ z || (z = new Le(v, v), z.setDelay(Se.delay), z.setRepeat(0));
8989
8995
  const { width: We, height: Ve } = Se.dims;
8990
8996
  te || (te = new ct(We, Ve), ie = te.getContext("2d"), ie.rect(0, 0, te.width, te.height), ie.fillStyle = "#ffffff", ie.fill()), (!G || !Te || We !== G.width || Ve !== G.height) && (G = new ct(We, Ve), Ce = G.getContext("2d"), Te = Ce.createImageData(We, Ve)), Te.data.set(Se.patch), Ce.putImageData(Te, 0, 0), ie.drawImage(G.getContext("2d").canvas, Se.dims.left, Se.dims.top);
8991
8997
  const _t = new ct(E, E), P = _t.getContext("2d");
@@ -9294,7 +9300,7 @@ const ou = { key: 0 }, nu = ["innerHTML"], au = ["innerHTML"], lu = ["innerHTML"
9294
9300
  function w(v, T) {
9295
9301
  if (v.value != "")
9296
9302
  try {
9297
- return pt.render(v.value, { item: T });
9303
+ return ht.render(v.value, { item: T });
9298
9304
  } catch (d) {
9299
9305
  console.error("GTable returnValue Error", d);
9300
9306
  }
@@ -9317,7 +9323,7 @@ const ou = { key: 0 }, nu = ["innerHTML"], au = ["innerHTML"], lu = ["innerHTML"
9317
9323
  }
9318
9324
  function L(v, T) {
9319
9325
  if (v.value != "")
9320
- return pt.render(v.value, { item: T });
9326
+ return ht.render(v.value, { item: T });
9321
9327
  if (v.value == "")
9322
9328
  return g(T[v.keyName]) ? mt(T[v.keyName]).format("YYYY-MM-DD HH:mm:ss") : I();
9323
9329
  }
@@ -9326,7 +9332,7 @@ const ou = { key: 0 }, nu = ["innerHTML"], au = ["innerHTML"], lu = ["innerHTML"
9326
9332
  if (d.showIf != "1") {
9327
9333
  let b, O;
9328
9334
  try {
9329
- b = pt.render(d.showIf, { item: T }), O = Zo(b, { item: T });
9335
+ b = ht.render(d.showIf, { item: T }), O = Zo(b, { item: T });
9330
9336
  } catch (F) {
9331
9337
  console.warn(F);
9332
9338
  }
@@ -9437,10 +9443,10 @@ const ou = { key: 0 }, nu = ["innerHTML"], au = ["innerHTML"], lu = ["innerHTML"
9437
9443
  fit: "scale-down"
9438
9444
  }, {
9439
9445
  error: M(() => [
9440
- D.name == `${h(t).t("头像")}` ? (p(), S(h(Do), { key: 0 })) : (p(), S(h(Qt), { key: 1 }))
9446
+ D.name == `${h(t).t("头像")}` ? (p(), S(h(Do), { key: 0 })) : (p(), S(h(Zt), { key: 1 }))
9441
9447
  ]),
9442
9448
  loading: M(() => [
9443
- D.name == `${h(t).t("头像")}` ? (p(), S(h(Do), { key: 0 })) : (p(), S(h(Qt), {
9449
+ D.name == `${h(t).t("头像")}` ? (p(), S(h(Do), { key: 0 })) : (p(), S(h(Zt), {
9444
9450
  key: 1,
9445
9451
  size: "large"
9446
9452
  }))
@@ -9466,7 +9472,7 @@ const ou = { key: 0 }, nu = ["innerHTML"], au = ["innerHTML"], lu = ["innerHTML"
9466
9472
  D.name == `${h(t).t("头像")}` ? (p(), S(h(Do), {
9467
9473
  key: 0,
9468
9474
  size: "large"
9469
- })) : (p(), S(h(Qt), {
9475
+ })) : (p(), S(h(Zt), {
9470
9476
  key: 1,
9471
9477
  size: "large"
9472
9478
  }))
@@ -9479,7 +9485,7 @@ const ou = { key: 0 }, nu = ["innerHTML"], au = ["innerHTML"], lu = ["innerHTML"
9479
9485
  size: "0"
9480
9486
  }, {
9481
9487
  default: M(() => [
9482
- (p(!0), W(ce, null, Me(y(D.buttons, E), (J) => (p(), S(d, {
9488
+ (p(!0), W(ce, null, Ie(y(D.buttons, E), (J) => (p(), S(d, {
9483
9489
  theme: "primary",
9484
9490
  variant: "text",
9485
9491
  key: J.buttonId,
@@ -9509,7 +9515,7 @@ const fu = /* @__PURE__ */ it(du, [["__scopeId", "data-v-260efaa7"]]), mu = /* @
9509
9515
  board: {}
9510
9516
  },
9511
9517
  setup(o) {
9512
- const e = o, t = Pt(), n = ht(), a = tt(), l = N(() => n.fullPath), s = N(() => {
9518
+ const e = o, t = Pt(), n = gt(), a = tt(), l = N(() => n.fullPath), s = N(() => {
9513
9519
  var w;
9514
9520
  return (w = e == null ? void 0 : e.board) == null ? void 0 : w.tabs;
9515
9521
  }), i = H(0), u = N(() => t.returnTabMenuItemActiveTab(l.value));
@@ -9545,7 +9551,7 @@ const fu = /* @__PURE__ */ it(du, [["__scopeId", "data-v-260efaa7"]]), mu = /* @
9545
9551
  onChange: f
9546
9552
  }, {
9547
9553
  default: M(() => [
9548
- (p(!0), W(ce, null, Me(s.value, (y, C) => (p(), S(j, {
9554
+ (p(!0), W(ce, null, Ie(s.value, (y, C) => (p(), S(j, {
9549
9555
  key: `${C}${y.title}`,
9550
9556
  value: C,
9551
9557
  label: y.title,
@@ -9585,7 +9591,7 @@ const pu = /* @__PURE__ */ ne({
9585
9591
  },
9586
9592
  emits: ["close-dialog"],
9587
9593
  setup(o, { emit: e }) {
9588
- const { T: t } = ge(), n = tt(), a = ht(), l = De(), s = sn(), i = rn(), u = o, { reload: f } = qa(), r = e, c = N(() => {
9594
+ const { T: t } = ge(), n = tt(), a = gt(), l = De(), s = sn(), i = rn(), u = o, { reload: f } = qa(), r = e, c = N(() => {
9589
9595
  var P;
9590
9596
  return (P = u.board) == null ? void 0 : P.boardType;
9591
9597
  }), m = N(() => {
@@ -9628,7 +9634,7 @@ const pu = /* @__PURE__ */ ne({
9628
9634
  });
9629
9635
  }
9630
9636
  if (!lt(m.value) && !lt(u.viewName)) {
9631
- const Z = await to({
9637
+ const Z = await oo({
9632
9638
  dataId: m.value,
9633
9639
  viewName: u.viewName,
9634
9640
  props: k.value
@@ -9655,7 +9661,7 @@ const pu = /* @__PURE__ */ ne({
9655
9661
  }), st(() => {
9656
9662
  m.value && s.sendUnregisterMessage(m.value);
9657
9663
  });
9658
- const b = Pt(), O = eo();
9664
+ const b = Pt(), O = to();
9659
9665
  function F(P) {
9660
9666
  const Z = $e(j.value), ue = $e(C.value);
9661
9667
  b.findExistTabMenuItem({ path: P }) && O.setFormData(P, {
@@ -9711,12 +9717,12 @@ const pu = /* @__PURE__ */ ne({
9711
9717
  }
9712
9718
  case "CONFIRM": {
9713
9719
  let pe;
9714
- P.confirmMessage && P.confirmMessage != "" ? pe = pt.render(P.confirmMessage, { item: Z }) : pe = `${t.t("是否进行%s")}`.replace("%s", `${P.name}`);
9720
+ P.confirmMessage && P.confirmMessage != "" ? pe = ht.render(P.confirmMessage, { item: Z }) : pe = `${t.t("是否进行%s")}`.replace("%s", `${P.name}`);
9715
9721
  let fe = {};
9716
9722
  P.props ? P.props.forEach((Ze) => {
9717
9723
  Ze.keyName && (Z[Ze.keyName] ?? "") != "" && (fe[Ze.keyName] = Z[Ze.keyName]);
9718
9724
  }) : fe = { ...Z };
9719
- const Ee = Eo.confirm({
9725
+ const Ne = Eo.confirm({
9720
9726
  theme: "info",
9721
9727
  header: P.name,
9722
9728
  body: pe,
@@ -9733,22 +9739,22 @@ const pu = /* @__PURE__ */ ne({
9733
9739
  theme: "default"
9734
9740
  },
9735
9741
  onConfirm: async () => {
9736
- Ee.update({
9742
+ Ne.update({
9737
9743
  confirmBtn: {
9738
9744
  content: `${t.t("提交中")}`,
9739
9745
  variant: "text",
9740
9746
  loading: !0
9741
9747
  }
9742
- }), P.buttonId && (await G(fe, P.buttonId) && Ee.update({
9748
+ }), P.buttonId && (await G(fe, P.buttonId) && Ne.update({
9743
9749
  confirmBtn: {
9744
9750
  content: `${t.t("确定")}`,
9745
9751
  variant: "text",
9746
9752
  loading: !1
9747
9753
  }
9748
- }), Ee.destroy());
9754
+ }), Ne.destroy());
9749
9755
  },
9750
9756
  onCancel: () => {
9751
- Le.info(`${t.t("已取消%s")}`.replace("%s", `${P.name}`));
9757
+ Me.info(`${t.t("已取消%s")}`.replace("%s", `${P.name}`));
9752
9758
  }
9753
9759
  });
9754
9760
  break;
@@ -9777,7 +9783,7 @@ const pu = /* @__PURE__ */ ne({
9777
9783
  variant: "text",
9778
9784
  loading: !0
9779
9785
  }
9780
- }), le.value.length == 0 ? (Le.error(`${t.t("请选择批量操作对象!")}`), pe.update({
9786
+ }), le.value.length == 0 ? (Me.error(`${t.t("请选择批量操作对象!")}`), pe.update({
9781
9787
  confirmBtn: {
9782
9788
  content: `${t.t("确定")}`,
9783
9789
  variant: "text",
@@ -9792,27 +9798,27 @@ const pu = /* @__PURE__ */ ne({
9792
9798
  }), pe.destroy());
9793
9799
  },
9794
9800
  onCancel: () => {
9795
- Le.info(`${t.t("已取消%s")}`.replace("%s", `${P.name}`));
9801
+ Me.info(`${t.t("已取消%s")}`.replace("%s", `${P.name}`));
9796
9802
  }
9797
9803
  });
9798
9804
  break;
9799
9805
  }
9800
9806
  case "LINK": {
9801
9807
  let pe = {};
9802
- (ot = P == null ? void 0 : P.props) == null || ot.forEach((Ee) => {
9803
- Ee.keyName && (Z[Ee.keyName] ?? "") != "" && (pe[Ee.keyName] = Z[Ee.keyName]);
9808
+ (ot = P == null ? void 0 : P.props) == null || ot.forEach((Ne) => {
9809
+ Ne.keyName && (Z[Ne.keyName] ?? "") != "" && (pe[Ne.keyName] = Z[Ne.keyName]);
9804
9810
  });
9805
- const fe = Mn.decode(pt.render(P.link, { item: Z }));
9811
+ const fe = Mn.decode(ht.render(P.link, { item: Z }));
9806
9812
  if (P.outLink) {
9807
- const Ee = wt(`${location.origin}${fe}`, {
9813
+ const Ne = pt(`${location.origin}${fe}`, {
9808
9814
  ...pe,
9809
9815
  token: l.token,
9810
9816
  lang: l.userLang
9811
9817
  });
9812
- window.open(`${Ee}`, "_blank");
9818
+ window.open(`${Ne}`, "_blank");
9813
9819
  return;
9814
9820
  }
9815
- if (!Jt(fe))
9821
+ if (!eo(fe))
9816
9822
  xn(fe) ? window.open(`${location.origin}${fe}`) : n.push({
9817
9823
  path: fe,
9818
9824
  query: {
@@ -9820,12 +9826,12 @@ const pu = /* @__PURE__ */ ne({
9820
9826
  }
9821
9827
  });
9822
9828
  else {
9823
- const Ee = wt(fe, {
9829
+ const Ne = pt(fe, {
9824
9830
  ...pe,
9825
9831
  token: l.token,
9826
9832
  lang: l.userLang
9827
9833
  });
9828
- window.open(Ee, "_blank");
9834
+ window.open(Ne, "_blank");
9829
9835
  }
9830
9836
  break;
9831
9837
  }
@@ -9834,9 +9840,9 @@ const pu = /* @__PURE__ */ ne({
9834
9840
  if (P.props && P.props.forEach((fe) => {
9835
9841
  fe.keyName && (Z[fe.keyName] ?? "") != "" && (pe[fe.keyName] = Z[fe.keyName]);
9836
9842
  }), _e.value && _e.value.length > 0 && P.props && P.props.forEach((fe) => {
9837
- _e.value.forEach((Ee) => {
9838
- if (fe.keyName && re(Ee, fe.keyName)) {
9839
- const Ze = re(Ee, fe.keyName);
9843
+ _e.value.forEach((Ne) => {
9844
+ if (fe.keyName && re(Ne, fe.keyName)) {
9845
+ const Ze = re(Ne, fe.keyName);
9840
9846
  pe[fe.keyName] ? pe[fe.keyName] = [
9841
9847
  ...pe[fe.keyName],
9842
9848
  Ze
@@ -9849,20 +9855,22 @@ const pu = /* @__PURE__ */ ne({
9849
9855
  P.buttonId
9850
9856
  );
9851
9857
  if (fe) {
9852
- const { url: Ee, filename: Ze } = fe;
9853
- Oo(Ee, Ze, "blob", pe);
9858
+ const { url: Ne, filename: Ze } = fe;
9859
+ Oo(Ne, Ze, "blob", pe);
9854
9860
  }
9855
9861
  } else if ((P.downloadUrl ?? "") != "") {
9856
- const fe = Mn.decode(pt.render(P.downloadUrl, { item: Z }));
9862
+ const fe = Mn.decode(ht.render(P.downloadUrl, { item: Z }));
9857
9863
  if (xn(fe)) {
9858
- const Ee = wt(fe, pe, !1);
9859
- if ((fe ?? "") != "" && (Ee ?? !1)) {
9864
+ const Ne = pt(fe, pe, !1);
9865
+ if ((fe ?? "") != "" && (Ne ?? !1)) {
9860
9866
  const Ze = fe.split("/").slice(-1)[0];
9861
- Oo(Ee, Ze, "file");
9867
+ Oo(Ne, Ze, "file");
9862
9868
  } else
9863
- Le.info(`${t.t("未设置下载链接")}`);
9864
- } else
9865
- Oo(fe, "", "blob", pe);
9869
+ Me.info(`${t.t("未设置下载链接")}`);
9870
+ } else {
9871
+ const Ne = pt(fe, pe, !1);
9872
+ Oo(Ne, "", "blob");
9873
+ }
9866
9874
  }
9867
9875
  break;
9868
9876
  }
@@ -9900,7 +9908,7 @@ const pu = /* @__PURE__ */ ne({
9900
9908
  ) : Be.value), se = H([]), he = H([]), me = ha();
9901
9909
  async function z(P) {
9902
9910
  const Z = `${u.viewName}_${c.value}`;
9903
- await me.setColumnData(Z, P) && (he.value = P, Le.success(t.t("设置成功")), f());
9911
+ await me.setColumnData(Z, P) && (he.value = P, Me.success(t.t("设置成功")), f());
9904
9912
  }
9905
9913
  function te() {
9906
9914
  var P, Z, ue;
@@ -9933,7 +9941,7 @@ const pu = /* @__PURE__ */ ne({
9933
9941
  buttonId: Z,
9934
9942
  props: ue,
9935
9943
  viewName: u.viewName
9936
- })).state === 200 ? (Le.success(`${t.t("提交成功")}`), V.value && (V.value.formOkButtonLoading = !1), !0) : (V.value && (V.value.formOkButtonLoading = !1), !1);
9944
+ })).state === 200 ? (Me.success(`${t.t("提交成功")}`), V.value && (V.value.formOkButtonLoading = !1), !0) : (V.value && (V.value.formOkButtonLoading = !1), !1);
9937
9945
  }
9938
9946
  function Ce(P, Z) {
9939
9947
  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") {
@@ -9945,7 +9953,7 @@ const pu = /* @__PURE__ */ ne({
9945
9953
  await G(Z, P.buttonId) && ue.destroy();
9946
9954
  },
9947
9955
  onCancel: () => {
9948
- Le.info(`${t.t("已取消修改")}`);
9956
+ Me.info(`${t.t("已取消修改")}`);
9949
9957
  },
9950
9958
  confirmBtn: {
9951
9959
  content: `${t.t("确定")}`,
@@ -9968,7 +9976,7 @@ const pu = /* @__PURE__ */ ne({
9968
9976
  buttonId: P.buttonId,
9969
9977
  props: ue,
9970
9978
  keys: Z
9971
- })).state == 200 ? (Le.success(`${P.name}${t.t("操作成功")}!`), !0) : !1;
9979
+ })).state == 200 ? (Me.success(`${P.name}${t.t("操作成功")}!`), !0) : !1;
9972
9980
  }
9973
9981
  async function Se(P, Z) {
9974
9982
  let ue = {};
@@ -10076,8 +10084,8 @@ const wo = Ke(pu), Qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
10076
10084
  config: {}
10077
10085
  },
10078
10086
  setup(o) {
10079
- const e = tt(), t = ht(), n = De(), a = Pt(), l = sn(), s = o, i = H(""), u = N(() => n.isUserLogin), f = N(() => n.homeUrl);
10080
- Xt(async () => {
10087
+ const e = tt(), t = gt(), n = De(), a = Pt(), l = sn(), s = o, i = H(""), u = N(() => n.isUserLogin), f = N(() => n.homeUrl);
10088
+ Jt(async () => {
10081
10089
  u.value || (await n.initUserConfig(s.config), await a.initTabMenu());
10082
10090
  }), je(async () => {
10083
10091
  var y;
@@ -10156,7 +10164,7 @@ const wo = Ke(pu), Qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
10156
10164
  default: M(() => {
10157
10165
  var k;
10158
10166
  return [
10159
- I.value ? (p(!0), W(ce, { key: 0 }, Me((k = m.value) == null ? void 0 : k.boards, (v) => {
10167
+ I.value ? (p(!0), W(ce, { key: 0 }, Ie((k = m.value) == null ? void 0 : k.boards, (v) => {
10160
10168
  var T, d;
10161
10169
  return p(), S(h(wo), {
10162
10170
  key: `${(T = m.value) == null ? void 0 : T.viewName}_${v.boardType}`,
@@ -10841,7 +10849,7 @@ const Za = /* @__PURE__ */ it($u, [["__scopeId", "data-v-75fdffa5"]]), Kc = /* @
10841
10849
  o.directive(e, Yn[e]);
10842
10850
  });
10843
10851
  }
10844
- }, ju = "@gonsin/gview", zu = "2.0.118", Hu = "dist/index.mjs", Wu = "dist/types/index.d.ts", Gu = [
10852
+ }, ju = "@gonsin/gview", zu = "2.0.119", Hu = "dist/index.mjs", Wu = "dist/types/index.d.ts", Gu = [
10845
10853
  "dist",
10846
10854
  "README.md",
10847
10855
  "CHANGELOG.md"
@@ -11081,7 +11089,7 @@ export {
11081
11089
  $o as INIT_WS_MODEL,
11082
11090
  Nn as LANG_CONFIG,
11083
11091
  Bo as LOCAL_BASE_PERMISSIONS,
11084
- oo as LOCAL_COLUMN_DATA,
11092
+ no as LOCAL_COLUMN_DATA,
11085
11093
  Fo as LOCAL_CONFIG,
11086
11094
  Ec as LOCAL_DATA_ID,
11087
11095
  Sc as LOCAL_EDIFICE_INFO,
@@ -11096,14 +11104,14 @@ export {
11096
11104
  Lc as LOCAL_USER,
11097
11105
  Sn as LOCAL_USER_PERMISSIONS,
11098
11106
  In as LOCAL_WEBSITE_SETTING_KEY,
11099
- Le as MessageManager,
11107
+ Me as MessageManager,
11100
11108
  ad as NProgress,
11101
11109
  qc as NoPermission,
11102
11110
  Kc as NotFound,
11103
11111
  sa as PREFIX,
11104
11112
  Qc as PROJECT_PREFIX,
11105
11113
  fa as RequestHttp,
11106
- no as SESSION_FORM_DATA_CACHE,
11114
+ ao as SESSION_FORM_DATA_CACHE,
11107
11115
  ca as StorageUtils,
11108
11116
  An as TOKEN_EXPIRED_TIME,
11109
11117
  Dn as TOKEN_NAME,
@@ -11138,11 +11146,11 @@ export {
11138
11146
  Xe as http,
11139
11147
  Xc as i18n,
11140
11148
  Re as initEmptyFormItems,
11141
- Yt as initFormModel,
11149
+ Xt as initFormModel,
11142
11150
  Gl as initTableColumns,
11143
11151
  Kl as initTableDisplayColumns,
11144
11152
  ma as initTreeSelectorData,
11145
- gt as is,
11153
+ vt as is,
11146
11154
  Tt as isArray,
11147
11155
  Fc as isAsyncFunction,
11148
11156
  Ol as isBoolean,
@@ -11157,7 +11165,7 @@ export {
11157
11165
  He as isNullOrUnDef,
11158
11166
  Ac as isNumber,
11159
11167
  ln as isObject,
11160
- Jt as isOuterUrl,
11168
+ eo as isOuterUrl,
11161
11169
  Vl as isPromise,
11162
11170
  xn as isResourceUrl,
11163
11171
  Oc as isServer,
@@ -11167,15 +11175,15 @@ export {
11167
11175
  et as layoutClass,
11168
11176
  ko as loadSessionId,
11169
11177
  ve as localStorageUtils,
11170
- Zt as nanoid,
11171
- wt as resolveUrl,
11172
- yt as sessionStorageUtils,
11178
+ Yt as nanoid,
11179
+ pt as resolveUrl,
11180
+ bt as sessionStorageUtils,
11173
11181
  Yc as setupStore,
11174
11182
  is as tabClass,
11175
11183
  Ut as tableClass,
11176
11184
  ro as uploaderClass,
11177
11185
  ia as urlToPath,
11178
- eo as useCacheStore,
11186
+ to as useCacheStore,
11179
11187
  ha as useColumnStore,
11180
11188
  od as useI18n,
11181
11189
  rn as usePropsStore,