@gonsin/gview 2.1.5 → 2.1.6

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 +361 -360
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -3,17 +3,17 @@ var aa = (t, e, u) => e in t ? na(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var cu = (t, e, u) => (aa(t, typeof e != "symbol" ? e + "" : e, u), u);
4
4
  import { useI18n as ge } from "gonsin-i18n";
5
5
  import { useI18n as kr } from "gonsin-i18n";
6
- import { defineComponent as ue, ref as F, computed as O, resolveComponent as W, openBlock as d, createBlock as w, normalizeClass as G, withCtx as L, createVNode as Q, createElementVNode as J, toDisplayString as ee, unref as j, createElementBlock as $, Fragment as se, renderList as ye, createCommentVNode as K, createTextVNode as le, withModifiers as jt, nextTick as un, inject as we, normalizeStyle as Mu, normalizeProps as hu, mergeProps as Ie, guardReactiveProps as Ju, renderSlot as Fe, onMounted as Ye, onBeforeUnmount as uu, watch as Te, isRef as ia, Transition as la, createSlots as Pu, useSlots as tn, resolveDynamicComponent as on, TransitionGroup as Ma, toRefs as ra, provide as tu, reactive as kt, onBeforeMount as tt, toRaw as pt, shallowRef as sa, watchEffect as nn, defineAsyncComponent as an, createStaticVNode as ro } from "vue";
6
+ import { defineComponent as ue, ref as F, computed as O, resolveComponent as W, openBlock as d, createBlock as S, normalizeClass as G, withCtx as L, createVNode as Q, createElementVNode as J, toDisplayString as ee, unref as j, createElementBlock as $, Fragment as se, renderList as ye, createCommentVNode as K, createTextVNode as le, withModifiers as jt, nextTick as un, inject as Se, normalizeStyle as Mu, normalizeProps as hu, mergeProps as Ie, guardReactiveProps as Ju, renderSlot as Fe, onMounted as Ye, onBeforeUnmount as uu, watch as Te, isRef as ia, Transition as la, createSlots as Pu, useSlots as tn, resolveDynamicComponent as on, TransitionGroup as Ma, toRefs as ra, provide as tu, reactive as kt, onBeforeMount as tt, toRaw as pt, shallowRef as sa, watchEffect as nn, defineAsyncComponent as an, createStaticVNode as ro } from "vue";
7
7
  import { useRouter as nu, useRoute as Iu, onBeforeRouteLeave as ln, onBeforeRouteUpdate as Mn } from "vue-router";
8
8
  import { defineStore as vu, storeToRefs as ca } from "pinia";
9
9
  import Tu from "dayjs";
10
10
  import so from "axios";
11
11
  import { customAlphabet as Na } from "nanoid";
12
12
  import Da from "nprogress";
13
- import { default as wr } from "nprogress";
13
+ import { default as Sr } from "nprogress";
14
14
  import { get as ie, set as Ze, cloneDeep as be, isPlainObject as Eo, isArray as fo, isEqual as po } from "lodash-es";
15
- import { MessagePlugin as ga, Button as Ta, Progress as rn, Tooltip as Ou, Link as da, Tree as ja, Card as Ia, DialogPlugin as St, ConfigProvider as Aa } from "tdesign-vue-next";
16
- import { CloseIcon as Eu, RefreshIcon as Tt, ArrowLeftIcon as zo, ArrowRightIcon as xo, CloseCircleIcon as Co, MoreIcon as ya, DeleteIcon as ma, ViewListIcon as Ea, PoweroffIcon as fa, ChevronDownIcon as pa, Icon as Lo, AppIcon as za, UploadIcon as ho, CheckCircleFilledIcon as xa, PlayCircleFilledIcon as Ca, PauseCircleFilledIcon as La, LinkIcon as ha, ErrorCircleFilledIcon as Oa, FileImageIcon as Xu, FilePdfIcon as sn, VideoIcon as qt, FileIconIcon as Jt, FolderOpenIcon as ka, FolderIcon as Sa, FilterIcon as wa, SearchIcon as va, EllipsisIcon as Ua, UserIcon as wt, BrowseIcon as Qa } from "tdesign-icons-vue-next";
15
+ import { MessagePlugin as ga, Button as Ta, Progress as rn, Tooltip as Ou, Link as da, Tree as ja, Card as Ia, DialogPlugin as wt, ConfigProvider as Aa } from "tdesign-vue-next";
16
+ import { CloseIcon as Eu, RefreshIcon as Tt, ArrowLeftIcon as zo, ArrowRightIcon as xo, CloseCircleIcon as Co, MoreIcon as ya, DeleteIcon as ma, ViewListIcon as Ea, PoweroffIcon as fa, ChevronDownIcon as pa, Icon as Lo, AppIcon as za, UploadIcon as ho, CheckCircleFilledIcon as xa, PlayCircleFilledIcon as Ca, PauseCircleFilledIcon as La, LinkIcon as ha, ErrorCircleFilledIcon as Oa, FileImageIcon as Xu, FilePdfIcon as sn, VideoIcon as qt, FileIconIcon as Jt, FolderOpenIcon as ka, FolderIcon as wa, FilterIcon as Sa, SearchIcon as va, EllipsisIcon as Ua, UserIcon as St, BrowseIcon as Qa } from "tdesign-icons-vue-next";
17
17
  import { useElementSize as cn, useDebounceFn as ba } from "@vueuse/core";
18
18
  import dt from "number-precision";
19
19
  import Nn from "qs";
@@ -26,7 +26,7 @@ function Re(t, e, u) {
26
26
  n.component(e || a || o.name, t), u && n.directive(u.name, u.comp);
27
27
  }, o;
28
28
  }
29
- const Dn = "VENUS_WEB", he = (t) => `${Dn}_${t}`, ko = he("WEBSITE_SETTING"), So = he("LOGIN_STATUS"), ur = he("USER"), tr = he("LOCAL_EDIFICE_INFO"), vt = he("CONFIG"), Ut = he("BASE_PERMISSIONS"), wo = he("USER_PERMISSIONS"), Qt = he("THEME_CONFIG"), Xt = he("LANG"), or = he("MENU"), Wu = he("SIDE_MENU_CONFIG"), bt = he("SIDE_MENU_WIDTH"), Yt = he("IS_SIDE_SELF_DRAGGING"), Bt = he("INIT_TAB_MENU_LIST"), Ft = he("TAB_MENU"), vo = he("TOKEN"), Uo = he("TOKEN_EXPIRED_TIME"), Qo = he("SESSION_ID"), nr = he("DATA_ID"), Gu = he("COLUMN_DATA"), eo = he("COLUMN_WIDTH_DATA"), it = he("FORM_DATA_CACHE"), Fa = {
29
+ const Dn = "VENUS_WEB", he = (t) => `${Dn}_${t}`, ko = he("WEBSITE_SETTING"), wo = he("LOGIN_STATUS"), ur = he("USER"), tr = he("LOCAL_EDIFICE_INFO"), vt = he("CONFIG"), Ut = he("BASE_PERMISSIONS"), So = he("USER_PERMISSIONS"), Qt = he("THEME_CONFIG"), Xt = he("LANG"), or = he("MENU"), Wu = he("SIDE_MENU_CONFIG"), bt = he("SIDE_MENU_WIDTH"), Yt = he("IS_SIDE_SELF_DRAGGING"), Bt = he("INIT_TAB_MENU_LIST"), Ft = he("TAB_MENU"), vo = he("TOKEN"), Uo = he("TOKEN_EXPIRED_TIME"), Qo = he("SESSION_ID"), nr = he("DATA_ID"), Gu = he("COLUMN_DATA"), eo = he("COLUMN_WIDTH_DATA"), it = he("FORM_DATA_CACHE"), Fa = {
30
30
  brandTheme: "default",
31
31
  // 主题色
32
32
  displayMode: "light"
@@ -792,7 +792,7 @@ const No = vu("column", {
792
792
  sideMenuMaxWidth: 300,
793
793
  isSideSelfDragging: ce.getItem(Yt) ?? !1,
794
794
  // 登录标志
795
- isUserLogin: ce.getItem(So) ?? !1,
795
+ isUserLogin: ce.getItem(wo) ?? !1,
796
796
  // 用户传入GView的信息与配置
797
797
  userConfig: ce.getItem(vt) ?? {
798
798
  userInfo: {
@@ -813,7 +813,7 @@ const No = vu("column", {
813
813
  // 基础权限数据
814
814
  basePermission: ce.getItem(Ut) ?? [],
815
815
  // 用户权限数据
816
- userPermission: ce.getItem(wo) ?? []
816
+ userPermission: ce.getItem(So) ?? []
817
817
  }),
818
818
  getters: {
819
819
  userType: (t) => t.userConfig.userInfo.userType ?? "",
@@ -881,7 +881,7 @@ const No = vu("column", {
881
881
  * @description 设置用户登录状态
882
882
  */
883
883
  setUserLoginStatus(t) {
884
- ce.setItem(So, t), this.isUserLogin = t;
884
+ ce.setItem(wo, t), this.isUserLogin = t;
885
885
  },
886
886
  setIsSideSelfDragging(t) {
887
887
  this.isSideSelfDragging = t, ce.setItem(Yt, t);
@@ -903,12 +903,13 @@ const No = vu("column", {
903
903
  async setUserLang(t) {
904
904
  if (t)
905
905
  try {
906
- this.userLang = t, ce.setItem(Xt, t);
907
- const { setupI18n: e, setConfig: u } = ge();
908
- u({
909
- PROJECT: "venus"
906
+ this.userLang = t, ce.setItem(Xt, t), console.log("设置用户语言", { language: t });
907
+ const { setupI18n: e } = ge({
908
+ project: "venus"
910
909
  });
911
- } catch {
910
+ await e(t);
911
+ } catch (e) {
912
+ console.log(e);
912
913
  }
913
914
  },
914
915
  /**
@@ -946,7 +947,7 @@ const No = vu("column", {
946
947
  }
947
948
  t.length && (u = u.filter(
948
949
  (o) => t.includes(o)
949
- )), this.userPermission = u, ce.setItem(wo, u);
950
+ )), this.userPermission = u, ce.setItem(So, u);
950
951
  },
951
952
  setSideMenuTree(t) {
952
953
  var o;
@@ -1282,7 +1283,7 @@ const No = vu("column", {
1282
1283
  }), Vt = "g-dialog-plugin", gi = "g-common-dialog", lt = "g-common-form", Mt = "g-common-header", Ti = "g-common-table", di = "g-board", Tr = "g-dialog", ji = "g-form", Bo = "g-form-item", dr = "g-header", Ii = "g-tab", _u = "g-table", ou = "g-layout", rt = "g-uploader", Cu = "g-login", Ai = ["title"], yi = {
1283
1284
  key: 0,
1284
1285
  class: "menu-item--close-button"
1285
- }, mi = ["title"], Ei = ["title"], fi = ["title"], pi = ["onClick"], zi = ["title"], xi = ["title"], Ci = ["onClick"], Li = ["title"], hi = ["title"], Oi = ["title"], ki = ["title"], Si = ["title"], wi = ["title"], vi = /* @__PURE__ */ ue({
1286
+ }, mi = ["title"], Ei = ["title"], fi = ["title"], pi = ["onClick"], zi = ["title"], xi = ["title"], Ci = ["onClick"], Li = ["title"], hi = ["title"], Oi = ["title"], ki = ["title"], wi = ["title"], Si = ["title"], vi = /* @__PURE__ */ ue({
1286
1287
  __name: "GLayoutHeaderTab",
1287
1288
  setup(t) {
1288
1289
  const { T: e } = ge(), u = `${ou}__layoutHeaderTab`, o = nu(), n = Iu(), a = F(""), i = Uu(), r = ke(), M = O(() => i.tabMenuList), N = O(() => r.homeUrl), l = O(() => r.displayMode);
@@ -1357,7 +1358,7 @@ const No = vu("column", {
1357
1358
  return M.value.length;
1358
1359
  }), f = O(() => c.value > 0 ? M.value.slice(0, c.value) : []), V = O(
1359
1360
  () => c.value > 0 ? M.value.slice(c.value) : M.value
1360
- ), g = O(() => V.value.map((H) => H.path)), S = F(null), y = F(150);
1361
+ ), g = O(() => V.value.map((H) => H.path)), w = F(null), y = F(150);
1361
1362
  F(0);
1362
1363
  const _ = F(!1);
1363
1364
  function B(H) {
@@ -1367,7 +1368,7 @@ const No = vu("column", {
1367
1368
  }
1368
1369
  return (H, z) => {
1369
1370
  const v = W("t-menu-item"), h = W("t-head-menu"), U = W("t-dropdown-item"), R = W("t-dropdown-menu"), q = W("t-dropdown"), ae = W("t-divider"), ze = W("t-button"), ve = W("t-submenu");
1370
- return d(), w(h, {
1371
+ return d(), S(h, {
1371
1372
  ref_key: "GLayoutHeaderRef",
1372
1373
  ref: b,
1373
1374
  class: G(`${u}`),
@@ -1391,7 +1392,7 @@ const No = vu("column", {
1391
1392
  ]),
1392
1393
  _: 1
1393
1394
  }),
1394
- (d(!0), $(se, null, ye(M.value, (ne, de) => (d(), w(v, {
1395
+ (d(!0), $(se, null, ye(M.value, (ne, de) => (d(), S(v, {
1395
1396
  key: de,
1396
1397
  value: ne.path
1397
1398
  }, {
@@ -1454,7 +1455,7 @@ const No = vu("column", {
1454
1455
  ]),
1455
1456
  _: 1
1456
1457
  }, 8, ["popup-props"]),
1457
- (d(!0), $(se, null, ye(f.value, (ne, de) => (d(), w(q, {
1458
+ (d(!0), $(se, null, ye(f.value, (ne, de) => (d(), S(q, {
1458
1459
  key: de,
1459
1460
  trigger: "context-menu",
1460
1461
  "min-column-width": 128,
@@ -1478,7 +1479,7 @@ const No = vu("column", {
1478
1479
  ]),
1479
1480
  _: 2
1480
1481
  }, 1032, ["onClick"]),
1481
- ne.isHome ? K("", !0) : (d(), w(U, {
1482
+ ne.isHome ? K("", !0) : (d(), S(U, {
1482
1483
  key: 0,
1483
1484
  onClick: () => A({ value: ne.path, index: de })
1484
1485
  }, {
@@ -1490,7 +1491,7 @@ const No = vu("column", {
1490
1491
  ]),
1491
1492
  _: 2
1492
1493
  }, 1032, ["onClick"])),
1493
- de > 0 ? (d(), w(U, {
1494
+ de > 0 ? (d(), S(U, {
1494
1495
  key: 1,
1495
1496
  onClick: () => x(ne.path, de)
1496
1497
  }, {
@@ -1502,7 +1503,7 @@ const No = vu("column", {
1502
1503
  ]),
1503
1504
  _: 2
1504
1505
  }, 1032, ["onClick"])) : K("", !0),
1505
- de < M.value.length - 1 ? (d(), w(U, {
1506
+ de < M.value.length - 1 ? (d(), S(U, {
1506
1507
  key: 2,
1507
1508
  onClick: () => P(ne.path, de)
1508
1509
  }, {
@@ -1514,7 +1515,7 @@ const No = vu("column", {
1514
1515
  ]),
1515
1516
  _: 2
1516
1517
  }, 1032, ["onClick"])) : K("", !0),
1517
- M.value.length > 1 ? (d(), w(U, {
1518
+ M.value.length > 1 ? (d(), S(U, {
1518
1519
  key: 3,
1519
1520
  onClick: () => k(ne.path, de)
1520
1521
  }, {
@@ -1561,7 +1562,7 @@ const No = vu("column", {
1561
1562
  ]),
1562
1563
  _: 2
1563
1564
  }, 1032, ["popup-props"]))), 128)),
1564
- V.value && V.value.length ? (d(), w(ve, {
1565
+ V.value && V.value.length ? (d(), S(ve, {
1565
1566
  key: 0,
1566
1567
  popupProps: {
1567
1568
  trigger: "click",
@@ -1580,7 +1581,7 @@ const No = vu("column", {
1580
1581
  (d(!0), $(se, null, ye(V.value, (ne, de) => (d(), $("div", {
1581
1582
  ref_for: !0,
1582
1583
  ref_key: "omittedMenuRef",
1583
- ref: S,
1584
+ ref: w,
1584
1585
  key: de
1585
1586
  }, [
1586
1587
  Q(q, {
@@ -1608,7 +1609,7 @@ const No = vu("column", {
1608
1609
  ]),
1609
1610
  _: 2
1610
1611
  }, 1032, ["onClick"]),
1611
- ne.isHome ? K("", !0) : (d(), w(U, {
1612
+ ne.isHome ? K("", !0) : (d(), S(U, {
1612
1613
  key: 0,
1613
1614
  onClick: () => A({
1614
1615
  value: ne.path,
@@ -1625,7 +1626,7 @@ const No = vu("column", {
1625
1626
  ]),
1626
1627
  _: 2
1627
1628
  }, 1032, ["onClick"])),
1628
- f.value.length + de > 0 ? (d(), w(U, {
1629
+ f.value.length + de > 0 ? (d(), S(U, {
1629
1630
  key: 1,
1630
1631
  onClick: () => x(
1631
1632
  ne.path,
@@ -1642,7 +1643,7 @@ const No = vu("column", {
1642
1643
  ]),
1643
1644
  _: 2
1644
1645
  }, 1032, ["onClick"])) : K("", !0),
1645
- f.value.length + de >= 0 && de < M.value.length ? (d(), w(U, {
1646
+ f.value.length + de >= 0 && de < M.value.length ? (d(), S(U, {
1646
1647
  key: 2,
1647
1648
  onClick: () => P(
1648
1649
  ne.path,
@@ -1659,7 +1660,7 @@ const No = vu("column", {
1659
1660
  ]),
1660
1661
  _: 2
1661
1662
  }, 1032, ["onClick"])) : K("", !0),
1662
- f.value.length + de > 0 && M.value.length > 2 ? (d(), w(U, {
1663
+ f.value.length + de > 0 && M.value.length > 2 ? (d(), S(U, {
1663
1664
  key: 3,
1664
1665
  onClick: () => k(
1665
1666
  ne.path,
@@ -1672,7 +1673,7 @@ const No = vu("column", {
1672
1673
  }, [
1673
1674
  Q(j(Co)),
1674
1675
  le(" " + ee(j(e).t("关闭其他")), 1)
1675
- ], 8, Si)
1676
+ ], 8, wi)
1676
1677
  ]),
1677
1678
  _: 2
1678
1679
  }, 1032, ["onClick"])) : K("", !0)
@@ -1724,7 +1725,7 @@ const No = vu("column", {
1724
1725
  }, [
1725
1726
  Q(j(ma)),
1726
1727
  le(" " + ee(j(e).t("全部清空")), 1)
1727
- ], 8, wi)
1728
+ ], 8, Si)
1728
1729
  ]),
1729
1730
  _: 1
1730
1731
  })
@@ -1784,7 +1785,7 @@ function Ri(t, e) {
1784
1785
  const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
1785
1786
  __name: "GLayoutHeader",
1786
1787
  setup(t) {
1787
- const { T: e } = ge(), u = `${ou}__header`, o = nu(), n = ke(), a = we(no, null), i = a == null ? void 0 : a.GLayoutHeaderOperationsRef, r = a == null ? void 0 : a.GLayoutHeaderConfigRef, M = a == null ? void 0 : a.SideMenuConfigRef, N = O(() => n.userType), l = O(() => {
1788
+ const { T: e } = ge(), u = `${ou}__header`, o = nu(), n = ke(), a = Se(no, null), i = a == null ? void 0 : a.GLayoutHeaderOperationsRef, r = a == null ? void 0 : a.GLayoutHeaderConfigRef, M = a == null ? void 0 : a.SideMenuConfigRef, N = O(() => n.userType), l = O(() => {
1788
1789
  if ((N.value ?? "") != "")
1789
1790
  switch (N.value) {
1790
1791
  case "normal":
@@ -1815,8 +1816,8 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
1815
1816
  }, 500);
1816
1817
  }
1817
1818
  return (p, c) => {
1818
- const f = W("t-button"), V = W("t-icon"), g = W("t-badge"), S = W("t-popup"), y = W("t-dropdown-item"), _ = W("t-dropdown-menu"), B = W("t-dropdown"), H = W("t-head-menu"), z = W("t-header");
1819
- return d(), w(z, {
1819
+ const f = W("t-button"), V = W("t-icon"), g = W("t-badge"), w = W("t-popup"), y = W("t-dropdown-item"), _ = W("t-dropdown-menu"), B = W("t-dropdown"), H = W("t-head-menu"), z = W("t-header");
1820
+ return d(), S(z, {
1820
1821
  class: G(u),
1821
1822
  onMouseleave: T
1822
1823
  }, {
@@ -1837,7 +1838,7 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
1837
1838
  J("div", {
1838
1839
  class: G(`${u}--collapse-button`)
1839
1840
  }, [
1840
- (v = j(M)) != null && v.enableSideMenu ? (d(), w(f, {
1841
+ (v = j(M)) != null && v.enableSideMenu ? (d(), S(f, {
1841
1842
  key: 0,
1842
1843
  theme: "default",
1843
1844
  shape: "square",
@@ -1845,10 +1846,10 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
1845
1846
  onClick: P
1846
1847
  }, {
1847
1848
  default: L(() => [
1848
- x.value ? (d(), w(j(Eu), {
1849
+ x.value ? (d(), S(j(Eu), {
1849
1850
  key: 1,
1850
1851
  size: "large"
1851
- })) : (d(), w(j(Ea), {
1852
+ })) : (d(), S(j(Ea), {
1852
1853
  key: 0,
1853
1854
  size: "large"
1854
1855
  }))
@@ -1865,7 +1866,7 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
1865
1866
  class: G(`${u}--operations`)
1866
1867
  }, [
1867
1868
  (d(!0), $(se, null, ye(j(i), (h, U) => (d(), $(se, { key: U }, [
1868
- h != null && h.isPopup ? (d(), w(S, hu(Ie({ key: 0 }, h == null ? void 0 : h.popupProps)), {
1869
+ h != null && h.isPopup ? (d(), S(w, hu(Ie({ key: 0 }, h == null ? void 0 : h.popupProps)), {
1869
1870
  default: L(() => [
1870
1871
  Q(g, hu(Ju(h == null ? void 0 : h.badgeProps)), {
1871
1872
  default: L(() => [
@@ -1898,7 +1899,7 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
1898
1899
  ];
1899
1900
  }),
1900
1901
  default: L(() => [
1901
- h != null && h.iconName && (h == null ? void 0 : h.iconName) != "" ? (d(), w(V, {
1902
+ h != null && h.iconName && (h == null ? void 0 : h.iconName) != "" ? (d(), S(V, {
1902
1903
  key: 0,
1903
1904
  name: h.iconName
1904
1905
  }, null, 8, ["name"])) : K("", !0),
@@ -1911,7 +1912,7 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
1911
1912
  }, 1040)
1912
1913
  ]),
1913
1914
  _: 2
1914
- }, 1040)) : (d(), w(g, hu(Ie({ key: 1 }, h == null ? void 0 : h.badgeProps)), {
1915
+ }, 1040)) : (d(), S(g, hu(Ie({ key: 1 }, h == null ? void 0 : h.badgeProps)), {
1915
1916
  default: L(() => [
1916
1917
  Q(f, Ie({
1917
1918
  theme: "default",
@@ -1942,7 +1943,7 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
1942
1943
  ];
1943
1944
  }),
1944
1945
  default: L(() => [
1945
- h != null && h.iconName && (h == null ? void 0 : h.iconName) != "" ? (d(), w(V, {
1946
+ h != null && h.iconName && (h == null ? void 0 : h.iconName) != "" ? (d(), S(V, {
1946
1947
  key: 0,
1947
1948
  name: h.iconName
1948
1949
  }, null, 8, ["name"])) : K("", !0),
@@ -2038,7 +2039,7 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
2038
2039
  const e = ke(), u = O(() => e.isSideMenuCollapse), o = O(() => e.sideMenuWidth);
2039
2040
  return (n, a) => {
2040
2041
  const i = W("t-content"), r = W("t-layout");
2041
- return d(), w(r, {
2042
+ return d(), S(r, {
2042
2043
  class: G(`${j(ou)}`)
2043
2044
  }, {
2044
2045
  default: L(() => [
@@ -2081,18 +2082,18 @@ const fn = { render: Ri }, Wi = { class: "username" }, Gi = /* @__PURE__ */ ue({
2081
2082
  return a.startsWith("g-");
2082
2083
  }
2083
2084
  return (a, i) => o.value !== "" ? (d(), $(se, { key: 0 }, [
2084
- n(o.value) ? (d(), w(j(Lo), {
2085
+ n(o.value) ? (d(), S(j(Lo), {
2085
2086
  key: 0,
2086
2087
  url: j(e),
2087
2088
  name: o.value,
2088
2089
  size: "large",
2089
2090
  class: "g-icon"
2090
- }, null, 8, ["url", "name"])) : (d(), w(j(Lo), {
2091
+ }, null, 8, ["url", "name"])) : (d(), S(j(Lo), {
2091
2092
  key: 1,
2092
2093
  name: o.value,
2093
2094
  size: "large"
2094
2095
  }, null, 8, ["name"]))
2095
- ], 64)) : (d(), w(j(za), {
2096
+ ], 64)) : (d(), S(j(za), {
2096
2097
  key: 1,
2097
2098
  size: "large"
2098
2099
  }));
@@ -2138,7 +2139,7 @@ const au = (t, e) => {
2138
2139
  class: G(`${e}`),
2139
2140
  key: l.name
2140
2141
  }, [
2141
- !l.children || !l.children.length ? (d(), w(r, {
2142
+ !l.children || !l.children.length ? (d(), S(r, {
2142
2143
  class: G(`${e}--level${l.level}`),
2143
2144
  name: l.path,
2144
2145
  value: l.path,
@@ -2146,7 +2147,7 @@ const au = (t, e) => {
2146
2147
  onClick: (s) => n(l.path)
2147
2148
  }, {
2148
2149
  icon: L(() => [
2149
- l.level == 1 ? (d(), w(yt, {
2150
+ l.level == 1 ? (d(), S(yt, {
2150
2151
  key: 0,
2151
2152
  title: l.title,
2152
2153
  icon: l.icon
@@ -2156,7 +2157,7 @@ const au = (t, e) => {
2156
2157
  Q(At, { item: l }, null, 8, ["item"])
2157
2158
  ]),
2158
2159
  _: 2
2159
- }, 1032, ["class", "name", "value", "onClick"])) : (d(), w(N, {
2160
+ }, 1032, ["class", "name", "value", "onClick"])) : (d(), S(N, {
2160
2161
  class: G(`${e}--level${l.level}`),
2161
2162
  name: l.name,
2162
2163
  value: l.name,
@@ -2166,7 +2167,7 @@ const au = (t, e) => {
2166
2167
  }
2167
2168
  }, {
2168
2169
  icon: L(() => [
2169
- l.level == 1 ? (d(), w(yt, {
2170
+ l.level == 1 ? (d(), S(yt, {
2170
2171
  key: 0,
2171
2172
  title: l.title,
2172
2173
  icon: l.icon
@@ -2176,7 +2177,7 @@ const au = (t, e) => {
2176
2177
  Q(At, { item: l }, null, 8, ["item"])
2177
2178
  ]),
2178
2179
  default: L(() => [
2179
- l.children ? (d(), w(M, {
2180
+ l.children ? (d(), S(M, {
2180
2181
  sideMenuTree: l.children,
2181
2182
  key: l.name
2182
2183
  }, null, 8, ["sideMenuTree"])) : K("", !0)
@@ -2240,7 +2241,7 @@ const au = (t, e) => {
2240
2241
  const k = O(() => r.value <= 80);
2241
2242
  return (m, C) => {
2242
2243
  const E = W("t-menu"), b = W("t-drawer");
2243
- return d(), w(b, {
2244
+ return d(), S(b, {
2244
2245
  class: G(`${e}`),
2245
2246
  size: `${r.value}px`,
2246
2247
  placement: "left",
@@ -2433,7 +2434,7 @@ const au = (t, e) => {
2433
2434
  });
2434
2435
  return (l, s) => {
2435
2436
  const D = W("t-radio-button"), A = W("t-radio-group"), I = W("t-drawer");
2436
- return d(), w(I, {
2437
+ return d(), S(I, {
2437
2438
  class: G(`${u}`),
2438
2439
  visible: r.value,
2439
2440
  "onUpdate:visible": s[2] || (s[2] = (x) => r.value = x),
@@ -2462,7 +2463,7 @@ const au = (t, e) => {
2462
2463
  }, {
2463
2464
  default: L(() => [
2464
2465
  (d(!0), $(se, null, ye(n.slice(0, n.length - 1), (x, P) => (d(), $("div", { key: P }, [
2465
- (d(), w(D, {
2466
+ (d(), S(D, {
2466
2467
  key: P,
2467
2468
  value: x,
2468
2469
  class: G(`${u}--container-color-group`)
@@ -2490,7 +2491,7 @@ const au = (t, e) => {
2490
2491
  }, {
2491
2492
  default: L(() => [
2492
2493
  (d(), $(se, null, ye(a, (x, P) => J("div", { key: P }, [
2493
- (d(), w(D, {
2494
+ (d(), S(D, {
2494
2495
  key: P,
2495
2496
  value: x.type
2496
2497
  }, {
@@ -2511,7 +2512,7 @@ const au = (t, e) => {
2511
2512
  }
2512
2513
  }), e4 = {};
2513
2514
  function u4(t, e) {
2514
- return d(), w(la, {
2515
+ return d(), S(la, {
2515
2516
  name: "scale",
2516
2517
  mode: "out-in",
2517
2518
  appear: ""
@@ -2551,8 +2552,8 @@ const t4 = /* @__PURE__ */ au(e4, [["render", u4]]), o4 = /* @__PURE__ */ ue({
2551
2552
  return;
2552
2553
  const T = o.value.$el.querySelectorAll(".t-menu__content"), p = Array.from(T).map((f) => {
2553
2554
  var y, _;
2554
- const V = parseInt(getComputedStyle(f.parentElement).paddingLeft), g = ((y = f.parentElement.querySelector(".t-icon")) == null ? void 0 : y.clientWidth) || 0, S = ((_ = f.parentElement.querySelector(".t-fake-arrow")) == null ? void 0 : _.clientWidth) || 0;
2555
- return f.clientWidth + V + g + S + 30;
2555
+ const V = parseInt(getComputedStyle(f.parentElement).paddingLeft), g = ((y = f.parentElement.querySelector(".t-icon")) == null ? void 0 : y.clientWidth) || 0, w = ((_ = f.parentElement.querySelector(".t-fake-arrow")) == null ? void 0 : _.clientWidth) || 0;
2556
+ return f.clientWidth + V + g + w + 30;
2556
2557
  }).filter(Boolean);
2557
2558
  r.value = Math.max(u.level === 1 ? 232 : 150, ...p);
2558
2559
  }, 150), k = (T) => {
@@ -2581,7 +2582,7 @@ const t4 = /* @__PURE__ */ au(e4, [["render", u4]]), o4 = /* @__PURE__ */ ue({
2581
2582
  }
2582
2583
  });
2583
2584
  return (T, p) => {
2584
- const c = W("t-menu-item"), f = W("t-submenu"), V = W("t-menu"), g = W("t-drawer"), S = W("GLayoutSideHoverMenuItem", !0);
2585
+ const c = W("t-menu-item"), f = W("t-submenu"), V = W("t-menu"), g = W("t-drawer"), w = W("GLayoutSideHoverMenuItem", !0);
2585
2586
  return d(), $(se, null, [
2586
2587
  Q(g, {
2587
2588
  class: G([s, E.value ? "" : "no-transition"]),
@@ -2611,7 +2612,7 @@ const t4 = /* @__PURE__ */ au(e4, [["render", u4]]), o4 = /* @__PURE__ */ ue({
2611
2612
  return d(), $(se, {
2612
2613
  key: y.name
2613
2614
  }, [
2614
- (_ = y.children) != null && _.length ? (d(), w(f, {
2615
+ (_ = y.children) != null && _.length ? (d(), S(f, {
2615
2616
  key: 1,
2616
2617
  class: G(I(y)),
2617
2618
  name: y.name,
@@ -2636,7 +2637,7 @@ const t4 = /* @__PURE__ */ au(e4, [["render", u4]]), o4 = /* @__PURE__ */ ue({
2636
2637
  ]),
2637
2638
  key: "0"
2638
2639
  } : void 0
2639
- ]), 1032, ["class", "name", "value", "popup-props", "onMouseenter"])) : (d(), w(c, {
2640
+ ]), 1032, ["class", "name", "value", "popup-props", "onMouseenter"])) : (d(), S(c, {
2640
2641
  key: 0,
2641
2642
  class: G(A(y)),
2642
2643
  name: y.path,
@@ -2667,7 +2668,7 @@ const t4 = /* @__PURE__ */ au(e4, [["render", u4]]), o4 = /* @__PURE__ */ ue({
2667
2668
  ]),
2668
2669
  _: 1
2669
2670
  }, 8, ["class", "size", "visible", "zIndex", "style"]),
2670
- i.value.length ? (d(), w(S, {
2671
+ i.value.length ? (d(), S(w, {
2671
2672
  key: N.value,
2672
2673
  "menu-items": i.value,
2673
2674
  level: T.level + 1,
@@ -2761,7 +2762,7 @@ const a4 = /* @__PURE__ */ ue({
2761
2762
  default: L(() => [
2762
2763
  Q(t4, null, {
2763
2764
  default: L(() => [
2764
- (d(), w(a, {
2765
+ (d(), S(a, {
2765
2766
  key: `${o.title}}`,
2766
2767
  class: G(`${u}`),
2767
2768
  bordered: !1,
@@ -2797,7 +2798,7 @@ const a4 = /* @__PURE__ */ ue({
2797
2798
  title: {}
2798
2799
  },
2799
2800
  setup(t) {
2800
- return (e, u) => (d(), w(a4, { title: e.title }, {
2801
+ return (e, u) => (d(), S(a4, { title: e.title }, {
2801
2802
  default: L(() => [
2802
2803
  Fe(e.$slots, "default")
2803
2804
  ]),
@@ -2813,7 +2814,7 @@ const To = Re(i4), zn = /* @__PURE__ */ ue({
2813
2814
  setup(t) {
2814
2815
  return (e, u) => {
2815
2816
  const o = W("t-dialog");
2816
- return d(), w(o, Ie({
2817
+ return d(), S(o, Ie({
2817
2818
  class: j(gi),
2818
2819
  placement: "center"
2819
2820
  }, e.commonDialogProps), Pu({ _: 2 }, [
@@ -2924,7 +2925,7 @@ const Ar = Re(r4), s4 = /* @__PURE__ */ ue({
2924
2925
  return d(), $("div", {
2925
2926
  class: G(`${j(Ti)}`)
2926
2927
  }, [
2927
- n.tableType === "base" ? (d(), w(i, Ie({
2928
+ n.tableType === "base" ? (d(), S(i, Ie({
2928
2929
  key: 0,
2929
2930
  ref_key: "tTableRef",
2930
2931
  ref: u
@@ -2935,7 +2936,7 @@ const Ar = Re(r4), s4 = /* @__PURE__ */ ue({
2935
2936
  Fe(n.$slots, l, hu(Ju({ ...s })))
2936
2937
  ])
2937
2938
  }))
2938
- ]), 1040)) : n.tableType == "primary" ? (d(), w(r, Ie({
2939
+ ]), 1040)) : n.tableType == "primary" ? (d(), S(r, Ie({
2939
2940
  key: 1,
2940
2941
  ref_key: "tTableRef",
2941
2942
  ref: u
@@ -2946,7 +2947,7 @@ const Ar = Re(r4), s4 = /* @__PURE__ */ ue({
2946
2947
  Fe(n.$slots, l, hu(Ju({ ...s })))
2947
2948
  ])
2948
2949
  }))
2949
- ]), 1040)) : n.tableType === "enhanced" ? (d(), w(M, Ie({
2950
+ ]), 1040)) : n.tableType === "enhanced" ? (d(), S(M, Ie({
2950
2951
  key: 2,
2951
2952
  ref_key: "tTableRef",
2952
2953
  ref: u
@@ -3022,7 +3023,7 @@ const Zu = (t) => {
3022
3023
  }
3023
3024
  function E(T, p) {
3024
3025
  let c = 0, f = 0, V = !1, g = [];
3025
- const S = T.length, y = async () => {
3026
+ const w = T.length, y = async () => {
3026
3027
  if (V)
3027
3028
  return;
3028
3029
  const B = T.shift();
@@ -3038,7 +3039,7 @@ const Zu = (t) => {
3038
3039
  D(Zu(z));
3039
3040
  return;
3040
3041
  }
3041
- if (c == S - 1) {
3042
+ if (c == w - 1) {
3042
3043
  const v = g.map((h) => Zu(h));
3043
3044
  s(v);
3044
3045
  } else
@@ -3047,7 +3048,7 @@ const Zu = (t) => {
3047
3048
  for (const v of Object.keys(o))
3048
3049
  z.setRequestHeader(v, o[v]);
3049
3050
  z.setRequestHeader("lang", k), z.send(B), g.push(z);
3050
- } else if (c === S) {
3051
+ } else if (c === w) {
3051
3052
  const H = g.map((z) => Zu(z));
3052
3053
  s(H);
3053
3054
  }
@@ -3063,7 +3064,7 @@ const Zu = (t) => {
3063
3064
  T.push(V);
3064
3065
  }
3065
3066
  const p = T == null ? void 0 : T.map((f, V) => {
3066
- const g = new FormData(), S = {
3067
+ const g = new FormData(), w = {
3067
3068
  key: r,
3068
3069
  end: V == T.length - 1,
3069
3070
  index: V,
@@ -3072,8 +3073,8 @@ const Zu = (t) => {
3072
3073
  if (I)
3073
3074
  for (const y of Object.keys(I))
3074
3075
  g.append(y, I[y]);
3075
- for (const y of Object.keys(S))
3076
- g.append(y, S[y]);
3076
+ for (const y of Object.keys(w))
3077
+ g.append(y, w[y]);
3077
3078
  return g;
3078
3079
  });
3079
3080
  let c = [];
@@ -3201,7 +3202,7 @@ const Zu = (t) => {
3201
3202
  }
3202
3203
  },
3203
3204
  setup(t) {
3204
- const e = we(bu, void 0), u = O(() => `${e == null ? void 0 : e.uploaderClass}__button`), o = O(() => [
3205
+ const e = Se(bu, void 0), u = O(() => `${e == null ? void 0 : e.uploaderClass}__button`), o = O(() => [
3205
3206
  u.value,
3206
3207
  {
3207
3208
  [`${u.value}-disabled`]: n.disabled,
@@ -3257,10 +3258,10 @@ const Zu = (t) => {
3257
3258
  var A;
3258
3259
  return [
3259
3260
  (A = j(e)) != null && A.showButtonProgress ? (d(), $(se, { key: 0 }, [
3260
- N.value == "normal" ? (d(), w(j(ho), {
3261
+ N.value == "normal" ? (d(), S(j(ho), {
3261
3262
  key: 0,
3262
3263
  size: "14"
3263
- })) : (d(), w(j(rn), {
3264
+ })) : (d(), S(j(rn), {
3264
3265
  key: 1,
3265
3266
  percentage: l.value,
3266
3267
  label: !1,
@@ -3269,7 +3270,7 @@ const Zu = (t) => {
3269
3270
  theme: "circle",
3270
3271
  style: { marginRight: "5px" }
3271
3272
  }, null, 8, ["percentage"]))
3272
- ], 64)) : (d(), w(j(ho), {
3273
+ ], 64)) : (d(), S(j(ho), {
3273
3274
  key: 1,
3274
3275
  size: "14"
3275
3276
  }))
@@ -3296,7 +3297,7 @@ const Zu = (t) => {
3296
3297
  }
3297
3298
  },
3298
3299
  setup(t) {
3299
- const { T: e } = ge(), u = we(bu, void 0), n = `${O(() => `${u == null ? void 0 : u.uploaderClass}`).value}__progress`, a = (r) => `${Math.round(r * 1e4) / 100}%`, i = (r) => Math.round(r * 1e4) / 100;
3300
+ const { T: e } = ge(), u = Se(bu, void 0), n = `${O(() => `${u == null ? void 0 : u.uploaderClass}`).value}__progress`, a = (r) => `${Math.round(r * 1e4) / 100}%`, i = (r) => Math.round(r * 1e4) / 100;
3300
3301
  return (r, M) => {
3301
3302
  var N, l, s, D, A, I;
3302
3303
  return d(), $("span", {
@@ -3332,7 +3333,7 @@ const Zu = (t) => {
3332
3333
  default: L(() => {
3333
3334
  var x;
3334
3335
  return [
3335
- (x = j(u)) != null && x.showRetryButton ? (d(), w(j(Tt), { key: 0 })) : K("", !0)
3336
+ (x = j(u)) != null && x.showRetryButton ? (d(), S(j(Tt), { key: 0 })) : K("", !0)
3336
3337
  ];
3337
3338
  }),
3338
3339
  _: 1
@@ -3342,7 +3343,7 @@ const Zu = (t) => {
3342
3343
  class: G([(A = j(u)) == null ? void 0 : A.iconClass, `${(I = j(u)) == null ? void 0 : I.iconClass}-success`])
3343
3344
  }, [
3344
3345
  Q(j(xa))
3345
- ], 2)) : t.file.status == "init" ? (d(), w(j(Ou), {
3346
+ ], 2)) : t.file.status == "init" ? (d(), S(j(Ou), {
3346
3347
  key: 3,
3347
3348
  content: j(e).t("开始上传"),
3348
3349
  placement: "mouse",
@@ -3364,7 +3365,7 @@ const Zu = (t) => {
3364
3365
  ];
3365
3366
  }),
3366
3367
  _: 1
3367
- }, 8, ["content"])) : (d(), w(j(Ou), {
3368
+ }, 8, ["content"])) : (d(), S(j(Ou), {
3368
3369
  key: 4,
3369
3370
  content: j(e).t("暂停上传"),
3370
3371
  placement: "mouse",
@@ -3399,7 +3400,7 @@ const Zu = (t) => {
3399
3400
  }
3400
3401
  },
3401
3402
  setup(t) {
3402
- const { T: e } = ge(), u = we(bu, void 0), n = `${O(() => `${u == null ? void 0 : u.uploaderClass}`).value}__operations`;
3403
+ const { T: e } = ge(), u = Se(bu, void 0), n = `${O(() => `${u == null ? void 0 : u.uploaderClass}`).value}__operations`;
3403
3404
  function a(i) {
3404
3405
  i.url && window.open(i.url, "_blank");
3405
3406
  }
@@ -3408,7 +3409,7 @@ const Zu = (t) => {
3408
3409
  return d(), $("div", {
3409
3410
  class: G(n)
3410
3411
  }, [
3411
- t.file.url ? (d(), w(j(Ou), {
3412
+ t.file.url ? (d(), S(j(Ou), {
3412
3413
  key: 0,
3413
3414
  content: j(e).t("打开文件"),
3414
3415
  placement: "mouse",
@@ -3428,7 +3429,7 @@ const Zu = (t) => {
3428
3429
  }),
3429
3430
  _: 1
3430
3431
  }, 8, ["content"])) : K("", !0),
3431
- t.file.status == "error" ? (d(), w(j(Ou), {
3432
+ t.file.status == "error" ? (d(), S(j(Ou), {
3432
3433
  key: 1,
3433
3434
  content: j(e).t("上传出错"),
3434
3435
  placement: "mouse",
@@ -3488,7 +3489,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
3488
3489
  }
3489
3490
  },
3490
3491
  setup(t) {
3491
- const e = we(bu, void 0), u = O(() => `${e == null ? void 0 : e.uploaderClass}`), n = `${`${u.value}__list`}-item`, a = t, i = O(() => {
3492
+ const e = Se(bu, void 0), u = O(() => `${e == null ? void 0 : e.uploaderClass}`), n = `${`${u.value}__list`}-item`, a = t, i = O(() => {
3492
3493
  var N;
3493
3494
  let M = "";
3494
3495
  if (a.file.file && a.file.file.type)
@@ -3514,7 +3515,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
3514
3515
  key: 0,
3515
3516
  class: G(`${u.value}--icon ${n}-file-icon`)
3516
3517
  }, [
3517
- (d(), w(on(i.value)))
3518
+ (d(), S(on(i.value)))
3518
3519
  ], 2)) : K("", !0),
3519
3520
  Q(j(Ou), {
3520
3521
  content: t.file.filename,
@@ -3525,7 +3526,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
3525
3526
  default: L(() => {
3526
3527
  var s;
3527
3528
  return [
3528
- (s = j(e)) != null && s.showLink && a.file.url ? (d(), w(j(da), {
3529
+ (s = j(e)) != null && s.showLink && a.file.url ? (d(), S(j(da), {
3529
3530
  key: 0,
3530
3531
  class: G(`${n}-name-text`),
3531
3532
  theme: "primary",
@@ -3565,16 +3566,16 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
3565
3566
  }
3566
3567
  },
3567
3568
  setup(t) {
3568
- const e = we(bu, void 0), u = O(() => `${e == null ? void 0 : e.uploaderClass}`), o = O(() => [
3569
+ const e = Se(bu, void 0), u = O(() => `${e == null ? void 0 : e.uploaderClass}`), o = O(() => [
3569
3570
  `${u.value}__list`,
3570
3571
  `${u.value}__list--type-${n.listType}`
3571
3572
  ]), n = t;
3572
- return (a, i) => (d(), w(Ma, {
3573
+ return (a, i) => (d(), S(Ma, {
3573
3574
  tag: "div",
3574
3575
  class: G(o.value)
3575
3576
  }, {
3576
3577
  default: L(() => [
3577
- (d(!0), $(se, null, ye(t.fileList, (r, M) => (d(), w(m4, {
3578
+ (d(!0), $(se, null, ye(t.fileList, (r, M) => (d(), S(m4, {
3578
3579
  key: `fileItem-${M}`,
3579
3580
  file: r,
3580
3581
  listType: t.listType
@@ -3592,11 +3593,11 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
3592
3593
  }
3593
3594
  },
3594
3595
  setup(t) {
3595
- const e = we(bu, void 0), o = `${O(() => `${e == null ? void 0 : e.uploaderClass}`).value}`, n = O(() => [`${o}__tree`]), a = t, i = (M, N) => {
3596
+ const e = Se(bu, void 0), o = `${O(() => `${e == null ? void 0 : e.uploaderClass}`).value}`, n = O(() => [`${o}__tree`]), a = t, i = (M, N) => {
3596
3597
  var s;
3597
3598
  let l = null;
3598
3599
  if (N.getChildren())
3599
- N.expanded ? l = ka : l = Sa;
3600
+ N.expanded ? l = ka : l = wa;
3600
3601
  else if (N.data.filename) {
3601
3602
  let D = "";
3602
3603
  if (N.data.type)
@@ -3612,7 +3613,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
3612
3613
  }, r = O(() => a.fileTree.childFiles);
3613
3614
  return (M, N) => {
3614
3615
  var l, s;
3615
- return t.fileTree && ((s = (l = t.fileTree) == null ? void 0 : l.childFiles) != null && s.length) ? (d(), w(j(ja), {
3616
+ return t.fileTree && ((s = (l = t.fileTree) == null ? void 0 : l.childFiles) != null && s.length) ? (d(), S(j(ja), {
3616
3617
  key: 0,
3617
3618
  hover: "",
3618
3619
  icon: i,
@@ -3624,7 +3625,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
3624
3625
  keys: { value: "fileId", label: "filename", children: "childFiles" }
3625
3626
  }, {
3626
3627
  operations: L(({ node: D }) => [
3627
- D.data.fileUploadType == "file" ? (d(), w(hn, {
3628
+ D.data.fileUploadType == "file" ? (d(), S(hn, {
3628
3629
  key: 0,
3629
3630
  file: D.data
3630
3631
  }, null, 8, ["file"])) : K("", !0)
@@ -3963,26 +3964,26 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
3963
3964
  const R = ((Ke = U.file) == null ? void 0 : Ke.size) ?? 1, q = R > n.largeLimit;
3964
3965
  let ae = "";
3965
3966
  q && (ae = await V(U.file));
3966
- const ze = (Se, Z) => {
3967
+ const ze = (we, Z) => {
3967
3968
  const te = m.get(U.fileId);
3968
- te && (te.status = "uploading", te.percent = Se, a("progress", te, Z));
3969
- }, ve = q ? (Se) => {
3969
+ te && (te.status = "uploading", te.percent = we, a("progress", te, Z));
3970
+ }, ve = q ? (we) => {
3970
3971
  const Z = m.get(U.fileId);
3971
- Z && ae != "" && Se.every((te) => te.state == 200) ? Promise.resolve(
3972
+ Z && ae != "" && we.every((te) => te.state == 200) ? Promise.resolve(
3972
3973
  D4({
3973
3974
  key: ae
3974
3975
  }).then((te) => {
3975
- te.state == 200 ? (C.delete(Z.fileId), Z.status = "done", Z.percent = 1, Z.response = te, Z.url = te.data.url, a("success", Z), f(Z)) : ne(Se);
3976
+ te.state == 200 ? (C.delete(Z.fileId), Z.status = "done", Z.percent = 1, Z.response = te, Z.url = te.data.url, a("success", Z), f(Z)) : ne(we);
3976
3977
  }).catch(() => {
3977
- ne(Se);
3978
+ ne(we);
3978
3979
  })
3979
- ) : ne(Se);
3980
- } : (Se) => {
3980
+ ) : ne(we);
3981
+ } : (we) => {
3981
3982
  const Z = m.get(U.fileId);
3982
- Z && (Se.state == 200 ? (Z.status = "done", Z.percent = 1, Z.response = Se, C.delete(Z.fileId), Z.url = Se.data.url, f(Z), a("success", Z)) : ne(Se));
3983
- }, ne = (Se) => {
3983
+ Z && (we.state == 200 ? (Z.status = "done", Z.percent = 1, Z.response = we, C.delete(Z.fileId), Z.url = we.data.url, f(Z), a("success", Z)) : ne(we));
3984
+ }, ne = (we) => {
3984
3985
  const Z = m.get(U.fileId);
3985
- console.warn("上传报错", Se, Z), Z && (Z.status = "error", Z.percent = 0, Z.response = Se, C.delete(Z.fileId), a("error", Z), f(Z));
3986
+ console.warn("上传报错", we, Z), Z && (Z.status = "error", Z.percent = 0, Z.response = we, C.delete(Z.fileId), a("error", Z), f(Z));
3986
3987
  }, de = {
3987
3988
  fileItem: U,
3988
3989
  action: n.action,
@@ -4002,7 +4003,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
4002
4003
  U.status = "uploading", U.percent = 0;
4003
4004
  const Pe = ku(n.customRequest) ? n.customRequest(de) : g4(de);
4004
4005
  C.set(U.fileId, Pe);
4005
- }, S = (U) => {
4006
+ }, w = (U) => {
4006
4007
  var q;
4007
4008
  const R = C.get(U.fileId);
4008
4009
  if (R)
@@ -4021,7 +4022,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
4021
4022
  }, y = () => {
4022
4023
  if (E.value.length > 0)
4023
4024
  for (const U of E.value)
4024
- S(U);
4025
+ w(U);
4025
4026
  }, _ = () => {
4026
4027
  if (E.value.length > 0)
4027
4028
  for (const U of E.value)
@@ -4084,7 +4085,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
4084
4085
  download: x,
4085
4086
  slots: i,
4086
4087
  onUpload: g,
4087
- onAbort: S,
4088
+ onAbort: w,
4088
4089
  onRemove: v
4089
4090
  })
4090
4091
  ), e({
@@ -4095,7 +4096,7 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
4095
4096
  return d(), $("div", {
4096
4097
  class: G([`${j(rt)}`])
4097
4098
  }, [
4098
- t.showUploadButton ? (d(), w(I4, Ie({
4099
+ t.showUploadButton ? (d(), S(I4, Ie({
4099
4100
  key: 0,
4100
4101
  disabled: j(M),
4101
4102
  listType: j(N),
@@ -4109,16 +4110,16 @@ const hn = /* @__PURE__ */ au(y4, [["__scopeId", "data-v-8a486150"]]), m4 = /* @
4109
4110
  buttonProps: t.buttonProps,
4110
4111
  fileList: E.value
4111
4112
  }, { ...(q = E.value) != null && q.length ? {} : { tip: t.tip } }), null, 16, ["disabled", "listType", "uploaderText", "multiple", "directory", "hide", "accept", "onButtonClick", "buttonProps", "fileList"])) : K("", !0),
4112
- t.showFileList && E.value.length ? (d(), w(j(Ia), {
4113
+ t.showFileList && E.value.length ? (d(), S(j(Ia), {
4113
4114
  key: 1,
4114
4115
  class: G(`${j(rt)}__card`),
4115
4116
  size: "small"
4116
4117
  }, {
4117
4118
  default: L(() => [
4118
- t.directory ? t.directory && b.value ? (d(), w(f4, {
4119
+ t.directory ? t.directory && b.value ? (d(), S(f4, {
4119
4120
  key: 1,
4120
4121
  fileTree: b.value
4121
- }, null, 8, ["fileTree"])) : K("", !0) : (d(), w(E4, {
4122
+ }, null, 8, ["fileTree"])) : K("", !0) : (d(), S(E4, {
4122
4123
  key: 0,
4123
4124
  fileList: E.value,
4124
4125
  listType: j(N)
@@ -4164,7 +4165,7 @@ const ao = Re(p4), z4 = { class: "display-column-checkbox" }, x4 = { class: "foo
4164
4165
  }
4165
4166
  return (A, I) => {
4166
4167
  const x = W("t-button"), P = W("t-checkbox"), k = W("t-checkbox-group"), m = W("t-space"), C = W("t-popup");
4167
- return d(), w(C, {
4168
+ return d(), S(C, {
4168
4169
  trigger: "click",
4169
4170
  placement: "bottom-right",
4170
4171
  visible: n.value,
@@ -4225,7 +4226,7 @@ const ao = Re(p4), z4 = { class: "display-column-checkbox" }, x4 = { class: "foo
4225
4226
  default: L(() => [
4226
4227
  Q(x, { theme: "default" }, {
4227
4228
  icon: L(() => [
4228
- Q(j(wa))
4229
+ Q(j(Sa))
4229
4230
  ]),
4230
4231
  default: L(() => [
4231
4232
  le(ee(j(o).t("表头")), 1)
@@ -4267,7 +4268,7 @@ const L4 = /* @__PURE__ */ au(C4, [["__scopeId", "data-v-05da5ebe"]]), h4 = Re(L
4267
4268
  });
4268
4269
  return (M, N) => {
4269
4270
  const l = W("t-radio-button"), s = W("t-radio-group"), D = W("t-form-item"), A = W("t-form");
4270
- return d(), w(zn, {
4271
+ return d(), S(zn, {
4271
4272
  commonDialogProps: {
4272
4273
  visible: M.visible,
4273
4274
  onClose: M.onClose,
@@ -4296,7 +4297,7 @@ const L4 = /* @__PURE__ */ au(C4, [["__scopeId", "data-v-05da5ebe"]]), h4 = Re(L
4296
4297
  }, {
4297
4298
  default: L(() => [
4298
4299
  (d(!0), $(se, null, ye(u.slice(0, u.length - 1), (I, x) => (d(), $("div", { key: x }, [
4299
- (d(), w(l, {
4300
+ (d(), S(l, {
4300
4301
  key: x,
4301
4302
  value: I,
4302
4303
  class: "color-button"
@@ -4328,7 +4329,7 @@ const L4 = /* @__PURE__ */ au(C4, [["__scopeId", "data-v-05da5ebe"]]), h4 = Re(L
4328
4329
  }, {
4329
4330
  default: L(() => [
4330
4331
  (d(!0), $(se, null, ye(o.value, (I, x) => (d(), $("div", { key: x }, [
4331
- (d(), w(l, {
4332
+ (d(), S(l, {
4332
4333
  key: x,
4333
4334
  value: I.type
4334
4335
  }, {
@@ -4370,7 +4371,7 @@ const mr = Re(O4), Ru = {
4370
4371
  confirm: "/restapi/s09/gview/active/confirm",
4371
4372
  // 触发 - 触发批量操作事件 POST
4372
4373
  batch: "/restapi/s09/gview/active/batch"
4373
- }, On = (t) => Xe.get(Ru.getOneView, t), at = (t) => Xe.post(Ru.getBoardData, t), kn = (t) => Xe.post(Ru.confirm, t), k4 = (t) => Xe.post(Ru.batch, t), S4 = (t) => Xe.post(Ru.activeFile, t), w4 = (t) => Xe.post(Ru.downloadFile, t), v4 = /* @__PURE__ */ ue({
4374
+ }, On = (t) => Xe.get(Ru.getOneView, t), at = (t) => Xe.post(Ru.getBoardData, t), kn = (t) => Xe.post(Ru.confirm, t), k4 = (t) => Xe.post(Ru.batch, t), w4 = (t) => Xe.post(Ru.activeFile, t), S4 = (t) => Xe.post(Ru.downloadFile, t), v4 = /* @__PURE__ */ ue({
4374
4375
  __name: "GFormLabel",
4375
4376
  props: {
4376
4377
  modelValue: { default: "" },
@@ -4391,7 +4392,7 @@ const mr = Re(O4), Ru = {
4391
4392
  });
4392
4393
  return (n, a) => {
4393
4394
  const i = W("t-tag");
4394
- return d(), w(i, { class: "g-label" }, {
4395
+ return d(), S(i, { class: "g-label" }, {
4395
4396
  default: L(() => [
4396
4397
  le(ee(o.value), 1)
4397
4398
  ]),
@@ -4400,7 +4401,7 @@ const mr = Re(O4), Ru = {
4400
4401
  };
4401
4402
  }
4402
4403
  });
4403
- const Sn = /* @__PURE__ */ au(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["title"], io = /* @__PURE__ */ ue({
4404
+ const wn = /* @__PURE__ */ au(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["title"], io = /* @__PURE__ */ ue({
4404
4405
  __name: "GFormInput",
4405
4406
  props: {
4406
4407
  inputType: {},
@@ -4440,7 +4441,7 @@ const Sn = /* @__PURE__ */ au(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["ti
4440
4441
  Ye(() => {
4441
4442
  l.value = $u(N.value);
4442
4443
  });
4443
- const s = we(zt);
4444
+ const s = Se(zt);
4444
4445
  return (D, A) => {
4445
4446
  const I = W("t-input");
4446
4447
  return d(), $("div", {
@@ -4463,7 +4464,7 @@ const Sn = /* @__PURE__ */ au(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["ti
4463
4464
  ], 8, U4);
4464
4465
  };
4465
4466
  }
4466
- }), wn = /* @__PURE__ */ ue({
4467
+ }), Sn = /* @__PURE__ */ ue({
4467
4468
  __name: "GFormCheckBox",
4468
4469
  props: {
4469
4470
  modelValue: {},
@@ -4489,7 +4490,7 @@ const Sn = /* @__PURE__ */ au(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["ti
4489
4490
  }
4490
4491
  return (i, r) => {
4491
4492
  const M = W("t-checkbox");
4492
- return d(), w(M, {
4493
+ return d(), S(M, {
4493
4494
  modelValue: o.value,
4494
4495
  "onUpdate:modelValue": r[0] || (r[0] = (N) => o.value = N),
4495
4496
  onChange: a,
@@ -4531,7 +4532,7 @@ const Sn = /* @__PURE__ */ au(v4, [["__scopeId", "data-v-b9a9d3f9"]]), U4 = ["ti
4531
4532
  a("update:modelValue", _e(o.value));
4532
4533
  }), (r, M) => {
4533
4534
  const N = W("t-switch");
4534
- return d(), w(N, {
4535
+ return d(), S(N, {
4535
4536
  modelValue: n.value,
4536
4537
  "onUpdate:modelValue": M[0] || (M[0] = (l) => n.value = l),
4537
4538
  onChange: i,
@@ -4660,7 +4661,7 @@ const Un = /* @__PURE__ */ ue({
4660
4661
  }), a = O(() => {
4661
4662
  var s, D;
4662
4663
  return ((D = (s = u.formItem) == null ? void 0 : s.listData) == null ? void 0 : D.dataId) ?? "";
4663
- }), i = we(Qu, void 0), { options: r } = xt({
4664
+ }), i = Se(Qu, void 0), { options: r } = xt({
4664
4665
  itemType: o.value,
4665
4666
  viewName: u.viewName,
4666
4667
  listData: n.value,
@@ -4690,14 +4691,14 @@ const Un = /* @__PURE__ */ ue({
4690
4691
  N("update:modelValue", _e(o.value));
4691
4692
  }), (s, D) => {
4692
4693
  const A = W("t-radio"), I = W("t-radio-group");
4693
- return d(), w(I, {
4694
+ return d(), S(I, {
4694
4695
  modelValue: M.value,
4695
4696
  "onUpdate:modelValue": D[0] || (D[0] = (x) => M.value = x),
4696
4697
  onChange: l,
4697
4698
  disabled: s.disabled
4698
4699
  }, {
4699
4700
  default: L(() => [
4700
- (d(!0), $(se, null, ye(j(r), (x) => (d(), w(A, {
4701
+ (d(!0), $(se, null, ye(j(r), (x) => (d(), S(A, {
4701
4702
  key: x.key,
4702
4703
  value: x.value
4703
4704
  }, {
@@ -4733,13 +4734,13 @@ const Un = /* @__PURE__ */ ue({
4733
4734
  }), i = O(() => {
4734
4735
  var m, C;
4735
4736
  return ((C = (m = o.formItem) == null ? void 0 : m.listData) == null ? void 0 : C.dataId) ?? "";
4736
- }), r = we(Qu, void 0), { options: M } = xt({
4737
+ }), r = Se(Qu, void 0), { options: M } = xt({
4737
4738
  itemType: n.value,
4738
4739
  viewName: o.viewName,
4739
4740
  listData: a.value,
4740
4741
  dataId: i.value,
4741
4742
  propsModel: r
4742
- }), N = we("isHeaderFormItem", !1), l = O(() => M.value ? N ? [{ label: u.t("全部"), value: "all" }, ...M.value] : M.value : N ? [{ label: u.t("全部"), value: "all" }] : []), s = F(o.modelValue);
4743
+ }), N = Se("isHeaderFormItem", !1), l = O(() => M.value ? N ? [{ label: u.t("全部"), value: "all" }, ...M.value] : M.value : N ? [{ label: u.t("全部"), value: "all" }] : []), s = F(o.modelValue);
4743
4744
  Te(
4744
4745
  () => o.modelValue,
4745
4746
  () => {
@@ -4769,7 +4770,7 @@ const Un = /* @__PURE__ */ ue({
4769
4770
  Ye(() => {
4770
4771
  x.value && (P.value = $u(x.value));
4771
4772
  });
4772
- const k = we(zt);
4773
+ const k = Se(zt);
4773
4774
  return (m, C) => {
4774
4775
  const E = W("t-select");
4775
4776
  return d(), $("div", {
@@ -4850,7 +4851,7 @@ const Un = /* @__PURE__ */ ue({
4850
4851
  style: { width: "100%" },
4851
4852
  title: N.value ? l.placeholder : ""
4852
4853
  }, [
4853
- ((I = l.formItem) == null ? void 0 : I.itemType) === "date_selector" || ((x = l.formItem) == null ? void 0 : x.itemType) === "date_time_selector" ? (d(), w(D, {
4854
+ ((I = l.formItem) == null ? void 0 : I.itemType) === "date_selector" || ((x = l.formItem) == null ? void 0 : x.itemType) === "date_time_selector" ? (d(), S(D, {
4854
4855
  key: 0,
4855
4856
  "enable-time-picker": ((P = l.formItem) == null ? void 0 : P.itemType) === "date_time_selector",
4856
4857
  placeholder: l.placeholder,
@@ -4863,7 +4864,7 @@ const Un = /* @__PURE__ */ ue({
4863
4864
  onBlur: r,
4864
4865
  clearable: ""
4865
4866
  }, null, 8, ["enable-time-picker", "placeholder", "modelValue", "format", "disabled"])) : K("", !0),
4866
- ((k = l.formItem) == null ? void 0 : k.itemType) === "time_selector" ? (d(), w(A, {
4867
+ ((k = l.formItem) == null ? void 0 : k.itemType) === "time_selector" ? (d(), S(A, {
4867
4868
  key: 1,
4868
4869
  placeholder: l.placeholder,
4869
4870
  disabled: l.disabled,
@@ -4907,7 +4908,7 @@ const Un = /* @__PURE__ */ ue({
4907
4908
  }), a = O(() => {
4908
4909
  var x, P;
4909
4910
  return ((P = (x = u.formItem) == null ? void 0 : x.treeData) == null ? void 0 : P.dataId) ?? "";
4910
- }), i = we(Qu, void 0), {
4911
+ }), i = Se(Qu, void 0), {
4911
4912
  options: r
4912
4913
  } = xt({
4913
4914
  itemType: o.value,
@@ -4990,7 +4991,7 @@ const Un = /* @__PURE__ */ ue({
4990
4991
  }), a = O(() => {
4991
4992
  var I, x;
4992
4993
  return ((x = (I = u.formItem) == null ? void 0 : I.treeData) == null ? void 0 : x.dataId) ?? "";
4993
- }), i = we(Qu, void 0), { options: r } = xt({
4994
+ }), i = Se(Qu, void 0), { options: r } = xt({
4994
4995
  itemType: o.value,
4995
4996
  viewName: u.viewName,
4996
4997
  treeData: n.value,
@@ -5111,7 +5112,7 @@ const Un = /* @__PURE__ */ ue({
5111
5112
  }
5112
5113
  return (N, l) => {
5113
5114
  var s, D;
5114
- return N.formItem.fileUploadType != "path" ? (d(), w(j(ao), {
5115
+ return N.formItem.fileUploadType != "path" ? (d(), S(j(ao), {
5115
5116
  key: 0,
5116
5117
  fileList: a.value,
5117
5118
  tip: N.placeholder,
@@ -5122,7 +5123,7 @@ const Un = /* @__PURE__ */ ue({
5122
5123
  onRemove: r,
5123
5124
  onChange: i,
5124
5125
  onError: M
5125
- }, null, 8, ["fileList", "tip", "disabled", "accept"])) : (d(), w(j(ao), {
5126
+ }, null, 8, ["fileList", "tip", "disabled", "accept"])) : (d(), S(j(ao), {
5126
5127
  key: 1,
5127
5128
  directory: !0,
5128
5129
  fileList: a.value,
@@ -5171,9 +5172,9 @@ var _n = { exports: {} };
5171
5172
  g.$d[x(_)] = c[_];
5172
5173
  }), this.calMilliseconds(), this;
5173
5174
  if (typeof c == "string") {
5174
- var S = c.match(s);
5175
- if (S) {
5176
- var y = S.slice(2).map(function(_) {
5175
+ var w = c.match(s);
5176
+ if (w) {
5177
+ var y = w.slice(2).map(function(_) {
5177
5178
  return _ != null ? Number(_) : 0;
5178
5179
  });
5179
5180
  return this.$d.years = y[0], this.$d.months = y[1], this.$d.weeks = y[2], this.$d.days = y[3], this.$d.hours = y[4], this.$d.minutes = y[5], this.$d.seconds = y[6], this.calMilliseconds(), this;
@@ -5193,16 +5194,16 @@ var _n = { exports: {} };
5193
5194
  }, p.toISOString = function() {
5194
5195
  var c = C(this.$d.years, "Y"), f = C(this.$d.months, "M"), V = +this.$d.days || 0;
5195
5196
  this.$d.weeks && (V += 7 * this.$d.weeks);
5196
- var g = C(V, "D"), S = C(this.$d.hours, "H"), y = C(this.$d.minutes, "M"), _ = this.$d.seconds || 0;
5197
+ var g = C(V, "D"), w = C(this.$d.hours, "H"), y = C(this.$d.minutes, "M"), _ = this.$d.seconds || 0;
5197
5198
  this.$d.milliseconds && (_ += this.$d.milliseconds / 1e3, _ = Math.round(1e3 * _) / 1e3);
5198
- var B = C(_, "S"), H = c.negative || f.negative || g.negative || S.negative || y.negative || B.negative, z = S.format || y.format || B.format ? "T" : "", v = (H ? "-" : "") + "P" + c.format + f.format + g.format + z + S.format + y.format + B.format;
5199
+ var B = C(_, "S"), H = c.negative || f.negative || g.negative || w.negative || y.negative || B.negative, z = w.format || y.format || B.format ? "T" : "", v = (H ? "-" : "") + "P" + c.format + f.format + g.format + z + w.format + y.format + B.format;
5199
5200
  return v === "P" || v === "-P" ? "P0D" : v;
5200
5201
  }, p.toJSON = function() {
5201
5202
  return this.toISOString();
5202
5203
  }, p.format = function(c) {
5203
5204
  var f = c || "YYYY-MM-DDTHH:mm:ss", V = { Y: this.$d.years, YY: o.s(this.$d.years, 2, "0"), YYYY: o.s(this.$d.years, 4, "0"), M: this.$d.months, MM: o.s(this.$d.months, 2, "0"), D: this.$d.days, DD: o.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: o.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: o.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: o.s(this.$d.seconds, 2, "0"), SSS: o.s(this.$d.milliseconds, 3, "0") };
5204
- return f.replace(M, function(g, S) {
5205
- return S || String(V[g]);
5205
+ return f.replace(M, function(g, w) {
5206
+ return w || String(V[g]);
5206
5207
  });
5207
5208
  }, p.as = function(c) {
5208
5209
  return this.$ms / D[x(c)];
@@ -5260,15 +5261,15 @@ var _n = { exports: {} };
5260
5261
  return T.add(p.years() * c, "y").add(p.months() * c, "M").add(p.days() * c, "d").add(p.hours() * c, "h").add(p.minutes() * c, "m").add(p.seconds() * c, "s").add(p.milliseconds() * c, "ms");
5261
5262
  };
5262
5263
  return function(T, p, c) {
5263
- u = c, o = c().$utils(), c.duration = function(g, S) {
5264
+ u = c, o = c().$utils(), c.duration = function(g, w) {
5264
5265
  var y = c.locale();
5265
- return I(g, { $l: y }, S);
5266
+ return I(g, { $l: y }, w);
5266
5267
  }, c.isDuration = A;
5267
5268
  var f = p.prototype.add, V = p.prototype.subtract;
5268
- p.prototype.add = function(g, S) {
5269
- return A(g) ? b(this, g, 1) : f.bind(this)(g, S);
5270
- }, p.prototype.subtract = function(g, S) {
5271
- return A(g) ? b(this, g, -1) : V.bind(this)(g, S);
5269
+ p.prototype.add = function(g, w) {
5270
+ return A(g) ? b(this, g, 1) : f.bind(this)(g, w);
5271
+ }, p.prototype.subtract = function(g, w) {
5272
+ return A(g) ? b(this, g, -1) : V.bind(this)(g, w);
5272
5273
  };
5273
5274
  };
5274
5275
  });
@@ -5490,9 +5491,9 @@ const Z4 = /* @__PURE__ */ ue({
5490
5491
  r(_e(n.value));
5491
5492
  }), (D, A) => {
5492
5493
  const I = W("t-button"), x = W("t-input"), P = W("t-input-group"), k = W("t-space");
5493
- return d(), w(k, null, {
5494
+ return d(), S(k, null, {
5494
5495
  default: L(() => [
5495
- a.value.length == 0 ? (d(), w(I, {
5496
+ a.value.length == 0 ? (d(), S(I, {
5496
5497
  key: 0,
5497
5498
  onClick: M,
5498
5499
  variant: "outline"
@@ -5501,12 +5502,12 @@ const Z4 = /* @__PURE__ */ ue({
5501
5502
  le(ee(`${j(u).t("添加")}${D.formItem.name}`), 1)
5502
5503
  ]),
5503
5504
  _: 1
5504
- })) : (d(), w(k, {
5505
+ })) : (d(), S(k, {
5505
5506
  key: 1,
5506
5507
  direction: "vertical"
5507
5508
  }, {
5508
5509
  default: L(() => [
5509
- (d(!0), $(se, null, ye(a.value, (m, C) => (d(), w(P, { key: C }, {
5510
+ (d(!0), $(se, null, ye(a.value, (m, C) => (d(), S(P, { key: C }, {
5510
5511
  default: L(() => [
5511
5512
  Q(x, {
5512
5513
  style: { width: "200px" },
@@ -5526,7 +5527,7 @@ const Z4 = /* @__PURE__ */ ue({
5526
5527
  ]),
5527
5528
  _: 2
5528
5529
  }, 1032, ["onClick"]),
5529
- C == a.value.length - 1 ? (d(), w(I, {
5530
+ C == a.value.length - 1 ? (d(), S(I, {
5530
5531
  key: 0,
5531
5532
  variant: "outline",
5532
5533
  theme: "default",
@@ -5642,7 +5643,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
5642
5643
  getDisableFlag: A,
5643
5644
  setBlockShowFlag: I
5644
5645
  }), (c, f) => {
5645
- const V = W("t-divider"), g = W("t-tooltip"), S = W("t-form-item");
5646
+ const V = W("t-divider"), g = W("t-tooltip"), w = W("t-form-item");
5646
5647
  return d(), $("div", {
5647
5648
  ref_key: "formItemRef",
5648
5649
  ref: T,
@@ -5650,7 +5651,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
5650
5651
  id: x.value
5651
5652
  }, [
5652
5653
  D.value ? (d(), $(se, { key: 0 }, [
5653
- c.formItem.itemType === "line" && c.formItem.name && j(r)(c.formItem.showIf, c.formItem) ? (d(), w(V, {
5654
+ c.formItem.itemType === "line" && c.formItem.name && j(r)(c.formItem.showIf, c.formItem) ? (d(), S(V, {
5654
5655
  key: 0,
5655
5656
  align: "left"
5656
5657
  }, {
@@ -5658,7 +5659,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
5658
5659
  le(ee(c.formItem.name), 1)
5659
5660
  ]),
5660
5661
  _: 1
5661
- })) : c.formItem.itemType !== "hidden" && j(r)(c.formItem.showIf, c.formItem) ? (d(), w(S, Ie({
5662
+ })) : c.formItem.itemType !== "hidden" && j(r)(c.formItem.showIf, c.formItem) ? (d(), S(w, Ie({
5662
5663
  key: 1,
5663
5664
  ref: `item_${c.formItem.keyName}`,
5664
5665
  id: c.formItem.keyName,
@@ -5692,13 +5693,13 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
5692
5693
  default: L(() => {
5693
5694
  var y, _, B, H;
5694
5695
  return [
5695
- c.formItem.itemType === "label" ? (d(), w(Sn, {
5696
+ c.formItem.itemType === "label" ? (d(), S(wn, {
5696
5697
  key: 0,
5697
5698
  formItem: c.formItem,
5698
5699
  formModel: i.value,
5699
5700
  modelValue: j(ie)(i.value, c.formItem.keyName)
5700
5701
  }, null, 8, ["formItem", "formModel", "modelValue"])) : K("", !0),
5701
- c.formItem.itemType === "text_input" && c.formItem.inputType != "RE_PASSWORD" ? (d(), w(io, Ie({ key: 1 }, c.componentProps, {
5702
+ c.formItem.itemType === "text_input" && c.formItem.inputType != "RE_PASSWORD" ? (d(), S(io, Ie({ key: 1 }, c.componentProps, {
5702
5703
  formItem: c.formItem,
5703
5704
  inputType: (_ = (y = c.formItem) == null ? void 0 : y.inputType) == null ? void 0 : _.toLowerCase(),
5704
5705
  modelValue: j(ie)(i.value, c.formItem.keyName),
@@ -5706,7 +5707,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
5706
5707
  disabled: s.value,
5707
5708
  "onUpdate:modelValue": f[0] || (f[0] = (z) => l(c.formItem.keyName, z))
5708
5709
  }), null, 16, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : K("", !0),
5709
- c.formItem.itemType === "text_input" && c.formItem.inputType == "RE_PASSWORD" ? (d(), w(io, Ie({ key: 2 }, c.componentProps, {
5710
+ c.formItem.itemType === "text_input" && c.formItem.inputType == "RE_PASSWORD" ? (d(), S(io, Ie({ key: 2 }, c.componentProps, {
5710
5711
  formItem: c.formItem,
5711
5712
  inputType: c.formItem.inputType.toLowerCase(),
5712
5713
  modelValue: j(ie)(i.value, "rePassword"),
@@ -5714,26 +5715,26 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
5714
5715
  disabled: s.value,
5715
5716
  "onUpdate:modelValue": f[1] || (f[1] = (z) => l("rePassword", z))
5716
5717
  }), null, 16, ["formItem", "inputType", "modelValue", "placeholder", "disabled"])) : K("", !0),
5717
- c.formItem.itemType === "check_box" ? (d(), w(wn, Ie({ key: 3 }, c.componentProps, {
5718
+ c.formItem.itemType === "check_box" ? (d(), S(Sn, Ie({ key: 3 }, c.componentProps, {
5718
5719
  modelValue: j(ie)(i.value, c.formItem.keyName, !1),
5719
5720
  disabled: s.value,
5720
5721
  "onUpdate:modelValue": f[2] || (f[2] = (z) => l(c.formItem.keyName, z))
5721
5722
  }), null, 16, ["modelValue", "disabled"])) : K("", !0),
5722
- c.formItem.itemType === "switch" ? (d(), w(vn, Ie({ key: 4 }, c.componentProps, {
5723
+ c.formItem.itemType === "switch" ? (d(), S(vn, Ie({ key: 4 }, c.componentProps, {
5723
5724
  formItem: c.formItem,
5724
5725
  viewName: c.viewName,
5725
5726
  modelValue: j(ie)(i.value, c.formItem.keyName, !1),
5726
5727
  disabled: s.value,
5727
5728
  "onUpdate:modelValue": f[3] || (f[3] = (z) => l(c.formItem.keyName, z))
5728
5729
  }), null, 16, ["formItem", "viewName", "modelValue", "disabled"])) : K("", !0),
5729
- c.formItem.itemType === "radio" ? (d(), w(Un, Ie({ key: 5 }, c.componentProps, {
5730
+ c.formItem.itemType === "radio" ? (d(), S(Un, Ie({ key: 5 }, c.componentProps, {
5730
5731
  modelValue: j(ie)(i.value, c.formItem.keyName),
5731
5732
  formItem: c.formItem,
5732
5733
  viewName: c.viewName,
5733
5734
  disabled: s.value,
5734
5735
  "onUpdate:modelValue": f[4] || (f[4] = (z) => l(c.formItem.keyName, z))
5735
5736
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled"])) : K("", !0),
5736
- c.formItem.itemType === "selector" || c.formItem.itemType === "multi_selector" ? (d(), w(Qn, Ie({ key: 6 }, c.componentProps, {
5737
+ c.formItem.itemType === "selector" || c.formItem.itemType === "multi_selector" ? (d(), S(Qn, Ie({ key: 6 }, c.componentProps, {
5737
5738
  key: (B = c.formItem.listData) == null ? void 0 : B.dataId,
5738
5739
  modelValue: j(ie)(i.value, c.formItem.keyName),
5739
5740
  formItem: c.formItem,
@@ -5743,7 +5744,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
5743
5744
  placeholder: k.value,
5744
5745
  "onUpdate:modelValue": f[5] || (f[5] = (z) => l(c.formItem.keyName, z))
5745
5746
  }), null, 16, ["modelValue", "formItem", "viewName", "multiple", "disabled", "placeholder"])) : K("", !0),
5746
- c.formItem.itemType === "date_selector" || c.formItem.itemType === "time_selector" || c.formItem.itemType === "date_time_selector" ? (d(), w(bn, Ie({ key: 7 }, c.componentProps, {
5747
+ c.formItem.itemType === "date_selector" || c.formItem.itemType === "time_selector" || c.formItem.itemType === "date_time_selector" ? (d(), S(bn, Ie({ key: 7 }, c.componentProps, {
5747
5748
  modelValue: j(ie)(i.value, c.formItem.keyName),
5748
5749
  formItem: c.formItem,
5749
5750
  viewName: c.viewName,
@@ -5751,7 +5752,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
5751
5752
  placeholder: k.value,
5752
5753
  "onUpdate:modelValue": f[6] || (f[6] = (z) => l(c.formItem.keyName, z))
5753
5754
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : K("", !0),
5754
- c.formItem.itemType == "delay_selector" ? (d(), w(H4, Ie({ key: 8 }, c.componentProps, {
5755
+ c.formItem.itemType == "delay_selector" ? (d(), S(H4, Ie({ key: 8 }, c.componentProps, {
5755
5756
  modelValue: j(ie)(i.value, c.formItem.keyName),
5756
5757
  formItem: c.formItem,
5757
5758
  viewName: c.viewName,
@@ -5759,7 +5760,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
5759
5760
  placeholder: k.value,
5760
5761
  "onUpdate:modelValue": f[7] || (f[7] = (z) => l(c.formItem.keyName, z))
5761
5762
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : K("", !0),
5762
- c.formItem.itemType === "tree_check_box" ? (d(), w(Yn, Ie({ key: 9 }, c.componentProps, {
5763
+ c.formItem.itemType === "tree_check_box" ? (d(), S(Yn, Ie({ key: 9 }, c.componentProps, {
5763
5764
  modelValue: j(ie)(i.value, c.formItem.keyName),
5764
5765
  formItem: c.formItem,
5765
5766
  viewName: c.viewName,
@@ -5767,7 +5768,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
5767
5768
  placeholder: k.value,
5768
5769
  "onUpdate:modelValue": f[8] || (f[8] = (z) => l(c.formItem.keyName, z))
5769
5770
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : K("", !0),
5770
- c.formItem.itemType === "multi_tree_selector" || c.formItem.itemType === "tree_selector" ? (d(), w(Bn, Ie({ key: 10 }, c.componentProps, {
5771
+ c.formItem.itemType === "multi_tree_selector" || c.formItem.itemType === "tree_selector" ? (d(), S(Bn, Ie({ key: 10 }, c.componentProps, {
5771
5772
  modelValue: j(ie)(i.value, c.formItem.keyName),
5772
5773
  formItem: c.formItem,
5773
5774
  viewName: c.viewName,
@@ -5776,7 +5777,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
5776
5777
  placeholder: k.value,
5777
5778
  "onUpdate:modelValue": f[9] || (f[9] = (z) => l(c.formItem.keyName, z))
5778
5779
  }), null, 16, ["modelValue", "formItem", "viewName", "multiple", "disabled", "placeholder"])) : K("", !0),
5779
- c.formItem.itemType === "file" ? (d(), w(Fn, Ie({ key: 11 }, c.componentProps, {
5780
+ c.formItem.itemType === "file" ? (d(), S(Fn, Ie({ key: 11 }, c.componentProps, {
5780
5781
  modelValue: j(ie)(i.value, c.formItem.keyName),
5781
5782
  formItem: c.formItem,
5782
5783
  viewName: c.viewName,
@@ -5786,7 +5787,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
5786
5787
  "onUpdate:fileName": f[10] || (f[10] = (z) => c.formItem.filenameKeyName && l(c.formItem.filenameKeyName, z)),
5787
5788
  "onUpdate:modelValue": f[11] || (f[11] = (z) => l(c.formItem.keyName, z))
5788
5789
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder", "fileName"])) : K("", !0),
5789
- c.formItem.itemType === "tag" ? (d(), w(K4, Ie({ key: 12 }, c.componentProps, {
5790
+ c.formItem.itemType === "tag" ? (d(), S(K4, Ie({ key: 12 }, c.componentProps, {
5790
5791
  modelValue: j(ie)(i.value, c.formItem.keyName),
5791
5792
  formItem: c.formItem,
5792
5793
  viewName: c.viewName,
@@ -5794,7 +5795,7 @@ const q4 = ["id"], J4 = /* @__PURE__ */ ue({
5794
5795
  placeholder: k.value,
5795
5796
  "onUpdate:modelValue": f[12] || (f[12] = (z) => l(c.formItem.keyName, z))
5796
5797
  }), null, 16, ["modelValue", "formItem", "viewName", "disabled", "placeholder"])) : K("", !0),
5797
- c.formItem.itemType === "rich_text" ? (d(), w(Z4, Ie({ key: 13 }, c.componentProps, {
5798
+ c.formItem.itemType === "rich_text" ? (d(), S(Z4, Ie({ key: 13 }, c.componentProps, {
5798
5799
  modelValue: j(ie)(i.value, c.formItem.keyName),
5799
5800
  formItem: c.formItem,
5800
5801
  viewName: c.viewName,
@@ -5878,8 +5879,8 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
5878
5879
  }), s = F({});
5879
5880
  async function D() {
5880
5881
  let g = [];
5881
- return I.value && (g = I == null ? void 0 : I.value.map((S) => {
5882
- const { formItem: y } = S, _ = [];
5882
+ return I.value && (g = I == null ? void 0 : I.value.map((w) => {
5883
+ const { formItem: y } = w, _ = [];
5883
5884
  return y.required && y.keyName && _.push({
5884
5885
  validator: () => {
5885
5886
  const B = ie(r.value, y.keyName);
@@ -5904,44 +5905,44 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
5904
5905
  keyName: y.inputType !== "RE_PASSWORD" ? y.keyName : "rePassword",
5905
5906
  rules: _
5906
5907
  };
5907
- })), g == null ? void 0 : g.reduce((S, y) => (y.rules.length && (S[y.keyName] = y.rules), S), {});
5908
+ })), g == null ? void 0 : g.reduce((w, y) => (y.rules.length && (w[y.keyName] = y.rules), w), {});
5908
5909
  }
5909
5910
  function A() {
5910
5911
  if (N.value) {
5911
5912
  const g = N.value.$el;
5912
5913
  if (g) {
5913
- const S = g.querySelectorAll(".t-form__label label");
5914
- if (S) {
5915
- const y = Array.from(S).map((B) => B.offsetWidth), _ = Math.max(...y);
5914
+ const w = g.querySelectorAll(".t-form__label label");
5915
+ if (w) {
5916
+ const y = Array.from(w).map((B) => B.offsetWidth), _ = Math.max(...y);
5916
5917
  a.value = _ + 30;
5917
5918
  }
5918
5919
  }
5919
5920
  }
5920
5921
  }
5921
5922
  const I = F(), x = F();
5922
- function P(g, S, y) {
5923
+ function P(g, w, y) {
5923
5924
  I.value && I.value.forEach((_) => {
5924
- _.formItemId && S.includes(_.formItemId) && _.$el.classList.contains(g) && _.setBlockShowFlag(y);
5925
+ _.formItemId && w.includes(_.formItemId) && _.$el.classList.contains(g) && _.setBlockShowFlag(y);
5925
5926
  });
5926
5927
  }
5927
5928
  Ye(async () => {
5928
5929
  s.value = await D();
5929
5930
  });
5930
- function k(g, S) {
5931
- Ze(r.value, g, S), l.value && m([g]), A();
5931
+ function k(g, w) {
5932
+ Ze(r.value, g, w), l.value && m([g]), A();
5932
5933
  }
5933
5934
  async function m(g = []) {
5934
5935
  var _;
5935
- const S = C();
5936
- return (g.length ? g.some((B) => S.includes(B)) : !0) ? (_ = l.value) == null ? void 0 : _.validate({
5937
- fields: g.length ? g : S
5936
+ const w = C();
5937
+ return (g.length ? g.some((B) => w.includes(B)) : !0) ? (_ = l.value) == null ? void 0 : _.validate({
5938
+ fields: g.length ? g : w
5938
5939
  }) : Promise.resolve({});
5939
5940
  }
5940
5941
  const C = () => {
5941
5942
  var g;
5942
- return (g = I == null ? void 0 : I.value) == null ? void 0 : g.flatMap((S) => {
5943
- const { formItem: y } = S;
5944
- return (y.keyName ?? "") != "" && !S.getDisableFlag() ? y.inputType !== "RE_PASSWORD" ? y.keyName : "rePassword" : [];
5943
+ return (g = I == null ? void 0 : I.value) == null ? void 0 : g.flatMap((w) => {
5944
+ const { formItem: y } = w;
5945
+ return (y.keyName ?? "") != "" && !w.getDisableFlag() ? y.inputType !== "RE_PASSWORD" ? y.keyName : "rePassword" : [];
5945
5946
  });
5946
5947
  }, E = O(() => {
5947
5948
  var g;
@@ -5951,36 +5952,36 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
5951
5952
  return (g = n.board) == null ? void 0 : g.cancelButton;
5952
5953
  }), T = u;
5953
5954
  function p(g) {
5954
- for (const S in g) {
5955
- const y = g[S].find((_) => _.result === !1);
5955
+ for (const w in g) {
5956
+ const y = g[w].find((_) => _.result === !1);
5956
5957
  if (y)
5957
5958
  return { ...y };
5958
5959
  }
5959
5960
  return null;
5960
5961
  }
5961
5962
  function c(g) {
5962
- let S = pt(g);
5963
- const y = Object.keys(S);
5963
+ let w = pt(g);
5964
+ const y = Object.keys(w);
5964
5965
  if (i.value && y.length) {
5965
5966
  const _ = i.value.filter((H) => H.itemType == "file" && H.fileUploadType == "path").map((H) => H.keyName);
5966
5967
  y.length && y.forEach((H) => {
5967
- _.includes(H) && S[H] && zu(S[H]) && (S[H] = S[H].filter(
5968
+ _.includes(H) && w[H] && zu(w[H]) && (w[H] = w[H].filter(
5968
5969
  (z) => z && z.url
5969
5970
  ));
5970
5971
  });
5971
5972
  const B = i.value.filter((H) => H.itemType == "hidden");
5972
5973
  B.length && B.forEach((H) => {
5973
- H.keyName && H.valueName && (S[H.keyName] = n.formData[H.valueName]);
5974
+ H.keyName && H.valueName && (w[H.keyName] = n.formData[H.valueName]);
5974
5975
  });
5975
5976
  }
5976
- return S;
5977
+ return w;
5977
5978
  }
5978
5979
  function f(g) {
5979
5980
  switch (g.action) {
5980
5981
  case "CONFIRM": {
5981
- m().then((S) => {
5982
- if (Object.keys(S).length) {
5983
- const y = p(S);
5982
+ m().then((w) => {
5983
+ if (Object.keys(w).length) {
5984
+ const y = p(w);
5984
5985
  me.warning(y == null ? void 0 : y.message);
5985
5986
  } else {
5986
5987
  const y = c(r.value);
@@ -5990,9 +5991,9 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
5990
5991
  break;
5991
5992
  }
5992
5993
  case "CONFIRM_AND_CLOSE": {
5993
- m().then((S) => {
5994
- if (Object.keys(S).length) {
5995
- const y = p(S);
5994
+ m().then((w) => {
5995
+ if (Object.keys(w).length) {
5996
+ const y = p(w);
5996
5997
  me.warning(y == null ? void 0 : y.message);
5997
5998
  } else {
5998
5999
  const y = c(r.value);
@@ -6016,9 +6017,9 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
6016
6017
  formOkButtonLoading: V
6017
6018
  }), nn(() => {
6018
6019
  A();
6019
- }), (g, S) => {
6020
+ }), (g, w) => {
6020
6021
  const y = W("t-button");
6021
- return d(), w(j(xn), {
6022
+ return d(), S(j(xn), {
6022
6023
  ref_key: "commonFormRef",
6023
6024
  ref: N,
6024
6025
  commonFormProps: {
@@ -6032,7 +6033,7 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
6032
6033
  (d(!0), $(se, null, ye(i.value, (_) => (d(), $(se, {
6033
6034
  key: `${_.name}_${_.keyName}`
6034
6035
  }, [
6035
- _.itemType === "block_start" || _.itemType === "block_end" ? (d(), w(Pn, {
6036
+ _.itemType === "block_start" || _.itemType === "block_end" ? (d(), S(Pn, {
6036
6037
  key: 0,
6037
6038
  ref_for: !0,
6038
6039
  ref_key: "formBlockRef",
@@ -6041,7 +6042,7 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
6041
6042
  blockType: _.itemType,
6042
6043
  showIf: j(M)(_.showIf),
6043
6044
  onBlockShowIfChange: P
6044
- }, null, 8, ["name", "blockType", "showIf"])) : (d(), w(Et, {
6045
+ }, null, 8, ["name", "blockType", "showIf"])) : (d(), S(Et, {
6045
6046
  key: 1,
6046
6047
  ref_for: !0,
6047
6048
  ref_key: "formItemRef",
@@ -6056,10 +6057,10 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
6056
6057
  footer: L(() => {
6057
6058
  var _;
6058
6059
  return [
6059
- b.value && b.value.name != "" && b.value.action !== "NONE" ? (d(), w(y, {
6060
+ b.value && b.value.name != "" && b.value.action !== "NONE" ? (d(), S(y, {
6060
6061
  key: 0,
6061
6062
  theme: "default",
6062
- onClick: S[0] || (S[0] = (B) => b.value && f(b.value))
6063
+ onClick: w[0] || (w[0] = (B) => b.value && f(b.value))
6063
6064
  }, {
6064
6065
  default: L(() => {
6065
6066
  var B;
@@ -6069,10 +6070,10 @@ const Et = /* @__PURE__ */ au(J4, [["__scopeId", "data-v-a507a307"]]), X4 = ["id
6069
6070
  }),
6070
6071
  _: 1
6071
6072
  })) : K("", !0),
6072
- E.value && E.value.name != "" && ((_ = E.value) == null ? void 0 : _.action) !== "NONE" ? (d(), w(y, {
6073
+ E.value && E.value.name != "" && ((_ = E.value) == null ? void 0 : _.action) !== "NONE" ? (d(), S(y, {
6073
6074
  key: 1,
6074
6075
  theme: "primary",
6075
- onClick: S[1] || (S[1] = (B) => E.value && f(E.value)),
6076
+ onClick: w[1] || (w[1] = (B) => E.value && f(E.value)),
6076
6077
  loading: V.value
6077
6078
  }, {
6078
6079
  default: L(() => {
@@ -6163,14 +6164,14 @@ const ul = /* @__PURE__ */ ue({
6163
6164
  N.value == "form" && m();
6164
6165
  }), tu(Qu, M.value), (C, E) => {
6165
6166
  const b = W("t-loading");
6166
- return N.value !== "form" ? (d(), w(j(u), {
6167
+ return N.value !== "form" ? (d(), S(j(u), {
6167
6168
  from: "dialog",
6168
6169
  key: C.viewName,
6169
6170
  viewName: C.viewName,
6170
6171
  board: C.board,
6171
6172
  dialogProps: C.dialogProps,
6172
6173
  onCloseDialog: s
6173
- }, null, 8, ["viewName", "board", "dialogProps"])) : (d(), w(b, {
6174
+ }, null, 8, ["viewName", "board", "dialogProps"])) : (d(), S(b, {
6174
6175
  key: 1,
6175
6176
  class: "g-dialog-form",
6176
6177
  loading: k.value,
@@ -6245,7 +6246,7 @@ const ul = /* @__PURE__ */ ue({
6245
6246
  }
6246
6247
  return (m, C) => {
6247
6248
  const E = W("t-loading");
6248
- return d(), w(j(l4), {
6249
+ return d(), S(j(l4), {
6249
6250
  commonDialogProps: {
6250
6251
  visible: m.isDialogVisible,
6251
6252
  width: N.value,
@@ -6262,7 +6263,7 @@ const ul = /* @__PURE__ */ ue({
6262
6263
  text: `${j(u).t("加载中")}`
6263
6264
  }, {
6264
6265
  default: L(() => [
6265
- m.dialogType === "view" ? (d(), w(ul, {
6266
+ m.dialogType === "view" ? (d(), S(ul, {
6266
6267
  key: 0,
6267
6268
  viewName: i.value,
6268
6269
  board: m.dialogViewBoard,
@@ -6297,7 +6298,7 @@ const nl = Re(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
6297
6298
  },
6298
6299
  emits: ["confirm-form", "confirm-and-close", "close-dialog"],
6299
6300
  setup(t, { expose: e, emit: u }) {
6300
- const { T: o } = ge(), n = nt(), a = Uu(), i = we(En, ""), r = t, M = F(200), N = O(() => {
6301
+ const { T: o } = ge(), n = nt(), a = Uu(), i = Se(En, ""), r = t, M = F(200), N = O(() => {
6301
6302
  var z;
6302
6303
  return (z = r.board) == null ? void 0 : z.formItems;
6303
6304
  }), l = F({}), { handleItemShowIf: s } = jo({ formModel: l }), D = Iu();
@@ -6400,7 +6401,7 @@ const nl = Re(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
6400
6401
  }), g = O(() => {
6401
6402
  var z;
6402
6403
  return (z = r.board) == null ? void 0 : z.cancelButton;
6403
- }), S = u;
6404
+ }), w = u;
6404
6405
  function y(z) {
6405
6406
  for (const v in z) {
6406
6407
  const h = z[v].find((U) => U.result === !1);
@@ -6435,7 +6436,7 @@ const nl = Re(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
6435
6436
  me.warning(h == null ? void 0 : h.message);
6436
6437
  } else {
6437
6438
  const h = _(l.value);
6438
- S("confirm-form", h, z.buttonId);
6439
+ w("confirm-form", h, z.buttonId);
6439
6440
  }
6440
6441
  });
6441
6442
  break;
@@ -6447,13 +6448,13 @@ const nl = Re(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
6447
6448
  me.warning(h == null ? void 0 : h.message);
6448
6449
  } else {
6449
6450
  const h = _(l.value);
6450
- S("confirm-and-close", h, z.buttonId);
6451
+ w("confirm-and-close", h, z.buttonId);
6451
6452
  }
6452
6453
  });
6453
6454
  break;
6454
6455
  }
6455
6456
  case "CLOSE_DIALOG": {
6456
- S("close-dialog");
6457
+ w("close-dialog");
6457
6458
  break;
6458
6459
  }
6459
6460
  default: {
@@ -6481,7 +6482,7 @@ const nl = Re(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
6481
6482
  default: L(() => {
6482
6483
  var R;
6483
6484
  return [
6484
- g.value && g.value.name != "" && g.value.action !== "NONE" ? (d(), w(h, {
6485
+ g.value && g.value.name != "" && g.value.action !== "NONE" ? (d(), S(h, {
6485
6486
  key: 0,
6486
6487
  theme: "default",
6487
6488
  onClick: v[0] || (v[0] = (q) => g.value && B(g.value))
@@ -6494,7 +6495,7 @@ const nl = Re(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
6494
6495
  }),
6495
6496
  _: 1
6496
6497
  })) : K("", !0),
6497
- V.value && V.value.name != "" && ((R = V.value) == null ? void 0 : R.action) !== "NONE" ? (d(), w(h, {
6498
+ V.value && V.value.name != "" && ((R = V.value) == null ? void 0 : R.action) !== "NONE" ? (d(), S(h, {
6498
6499
  key: 1,
6499
6500
  theme: "primary",
6500
6501
  onClick: v[1] || (v[1] = (q) => V.value && B(V.value)),
@@ -6531,7 +6532,7 @@ const nl = Re(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
6531
6532
  (d(!0), $(se, null, ye(N.value, (R) => (d(), $(se, {
6532
6533
  key: `${R.name}_${R.keyName}`
6533
6534
  }, [
6534
- R.itemType === "block_start" || R.itemType === "block_end" ? (d(), w(Pn, {
6535
+ R.itemType === "block_start" || R.itemType === "block_end" ? (d(), S(Pn, {
6535
6536
  key: 0,
6536
6537
  ref_for: !0,
6537
6538
  ref_key: "formBlockRef",
@@ -6540,7 +6541,7 @@ const nl = Re(ol), al = { class: "g-form" }, il = { class: "g-form-header" }, ll
6540
6541
  blockType: R.itemType,
6541
6542
  showIf: j(s)(R.showIf),
6542
6543
  onBlockShowIfChange: T
6543
- }, null, 8, ["name", "blockType", "showIf"])) : (d(), w(Et, {
6544
+ }, null, 8, ["name", "blockType", "showIf"])) : (d(), S(Et, {
6544
6545
  key: 1,
6545
6546
  ref_for: !0,
6546
6547
  ref_key: "formItemRef",
@@ -6579,7 +6580,7 @@ const rl = /* @__PURE__ */ au(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Re(r
6579
6580
  i({ folderTree: D });
6580
6581
  }
6581
6582
  }
6582
- const n = we(Qu, void 0), a = O(() => {
6583
+ const n = Se(Qu, void 0), a = O(() => {
6583
6584
  const { count: M, page: N, totalCount: l, pageCount: s, ...D } = n;
6584
6585
  return D;
6585
6586
  });
@@ -6595,7 +6596,7 @@ const rl = /* @__PURE__ */ au(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Re(r
6595
6596
  ...a.value
6596
6597
  }
6597
6598
  };
6598
- console.log(N), S4(N).then((I) => {
6599
+ console.log(N), w4(N).then((I) => {
6599
6600
  I.state == 200 ? me.success(`${e.t("导入成功")}`) : console.log("导入失败", I.message);
6600
6601
  });
6601
6602
  }
@@ -6605,7 +6606,7 @@ const rl = /* @__PURE__ */ au(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Re(r
6605
6606
  }
6606
6607
  return (M, N) => {
6607
6608
  var l, s, D;
6608
- return d(), w(j(ao), Ie({
6609
+ return d(), S(j(ao), Ie({
6609
6610
  limit: 1,
6610
6611
  multiple: !1,
6611
6612
  showFileList: !1,
@@ -6697,32 +6698,32 @@ const rl = /* @__PURE__ */ au(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Re(r
6697
6698
  ...T.formData
6698
6699
  }, Object.keys(D.value).length && n("header-filter-change", D.value));
6699
6700
  }), tu("isHeaderFormItem", !0);
6700
- const b = we("tableSelectedRow", F([]));
6701
+ const b = Se("tableSelectedRow", F([]));
6701
6702
  return (T, p) => {
6702
6703
  const c = W("t-button"), f = W("t-space"), V = W("t-form");
6703
- return d(), $("div", Nl, [a.value && a.value.length ? (d(), w(f, {
6704
+ return d(), $("div", Nl, [a.value && a.value.length ? (d(), S(f, {
6704
6705
  key: 0,
6705
6706
  class: "g-header-button",
6706
6707
  size: "8px"
6707
6708
  }, {
6708
6709
  default: L(() => [(d(!0), $(se, null, ye(a.value, (g) => (d(), $(se, {
6709
6710
  key: g.buttonId
6710
- }, [g.action == "UPLOAD_FILE" ? (d(), w(cl, {
6711
+ }, [g.action == "UPLOAD_FILE" ? (d(), S(cl, {
6711
6712
  key: 0,
6712
6713
  button: g,
6713
6714
  viewName: T.viewName
6714
- }, null, 8, ["button", "viewName"])) : g.action === "BATCH" ? (d(), w(c, {
6715
+ }, null, 8, ["button", "viewName"])) : g.action === "BATCH" ? (d(), S(c, {
6715
6716
  key: 1,
6716
6717
  theme: j(b).length > 0 ? "danger" : "default",
6717
6718
  disabled: j(b).length == 0,
6718
- onClick: (S) => i(g)
6719
+ onClick: (w) => i(g)
6719
6720
  }, {
6720
6721
  default: L(() => [le(ee(g.name), 1)]),
6721
6722
  _: 2
6722
- }, 1032, ["theme", "disabled", "onClick"])) : (d(), w(c, {
6723
+ }, 1032, ["theme", "disabled", "onClick"])) : (d(), S(c, {
6723
6724
  key: 2,
6724
6725
  theme: "primary",
6725
- onClick: (S) => i(g)
6726
+ onClick: (w) => i(g)
6726
6727
  }, {
6727
6728
  default: L(() => [le(ee(g.name), 1)]),
6728
6729
  _: 2
@@ -6736,10 +6737,10 @@ const rl = /* @__PURE__ */ au(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Re(r
6736
6737
  layout: "inline",
6737
6738
  colon: ""
6738
6739
  }, {
6739
- default: L(() => [(d(!0), $(se, null, ye(M.value, (g, S) => (d(), w(Et, {
6740
+ default: L(() => [(d(!0), $(se, null, ye(M.value, (g, w) => (d(), S(Et, {
6740
6741
  ref_for: !0,
6741
6742
  ref: "gFormItemRefs",
6742
- key: S,
6743
+ key: w,
6743
6744
  formItem: {
6744
6745
  ...g,
6745
6746
  required: !1
@@ -6757,8 +6758,8 @@ const rl = /* @__PURE__ */ au(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Re(r
6757
6758
  }), Q(f, {
6758
6759
  size: "8px"
6759
6760
  }, {
6760
- default: L(() => [(d(!0), $(se, null, ye(N.value, (g, S) => (d(), $("div", {
6761
- key: S
6761
+ default: L(() => [(d(!0), $(se, null, ye(N.value, (g, w) => (d(), $("div", {
6762
+ key: w
6762
6763
  }, [Q(Et, {
6763
6764
  formItem: g,
6764
6765
  formModel: D.value,
@@ -6766,7 +6767,7 @@ const rl = /* @__PURE__ */ au(Ml, [["__scopeId", "data-v-1d6a40aa"]]), sl = Re(r
6766
6767
  onAfterUpdateValue: I,
6767
6768
  isLabelNameShow: !1,
6768
6769
  componentProps: x(g)
6769
- }, null, 8, ["formItem", "formModel", "viewName", "componentProps"])]))), 128)), M.value.length || N.value.length ? (d(), w(c, {
6770
+ }, null, 8, ["formItem", "formModel", "viewName", "componentProps"])]))), 128)), M.value.length || N.value.length ? (d(), S(c, {
6770
6771
  key: 0,
6771
6772
  theme: "default",
6772
6773
  onClick: P
@@ -6811,13 +6812,13 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
6811
6812
  return d(), $("div", {
6812
6813
  key: D.keyName
6813
6814
  }, [
6814
- D.itemType === "label" ? (d(), w(Sn, {
6815
+ D.itemType === "label" ? (d(), S(wn, {
6815
6816
  key: 0,
6816
6817
  modelValue: j(ie)(r.value, l.col.colKey),
6817
6818
  formItem: D,
6818
6819
  formModel: r.value
6819
6820
  }, null, 8, ["modelValue", "formItem", "formModel"])) : K("", !0),
6820
- D.itemType == "text_input" ? (d(), w(io, {
6821
+ D.itemType == "text_input" ? (d(), S(io, {
6821
6822
  key: 1,
6822
6823
  formItem: D,
6823
6824
  viewName: l.viewName,
@@ -6827,7 +6828,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
6827
6828
  "onUpdate:modelValue": s[0] || (s[0] = (I) => l.col.colKey && M(l.col.colKey, I)),
6828
6829
  "onBlur:modelValue": (I) => N(D)
6829
6830
  }, null, 8, ["formItem", "viewName", "inputType", "originValue", "modelValue", "onBlur:modelValue"])) : K("", !0),
6830
- D.itemType === "check_box" ? (d(), w(wn, {
6831
+ D.itemType === "check_box" ? (d(), S(Sn, {
6831
6832
  key: 2,
6832
6833
  formItem: D,
6833
6834
  viewName: l.viewName,
@@ -6836,7 +6837,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
6836
6837
  "onUpdate:modelValue": s[1] || (s[1] = (I) => l.col.colKey && M(l.col.colKey, I)),
6837
6838
  "onBlur:modelValue": (I) => N(D)
6838
6839
  }, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : K("", !0),
6839
- D.itemType === "switch" ? (d(), w(vn, {
6840
+ D.itemType === "switch" ? (d(), S(vn, {
6840
6841
  key: 3,
6841
6842
  formItem: D,
6842
6843
  viewName: l.viewName,
@@ -6845,7 +6846,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
6845
6846
  "onUpdate:modelValue": s[2] || (s[2] = (I) => l.col.colKey && M(l.col.colKey, I)),
6846
6847
  "onBlur:modelValue": (I) => N(D)
6847
6848
  }, null, 8, ["formItem", "viewName", "originValue", "modelValue", "onBlur:modelValue"])) : K("", !0),
6848
- D.itemType === "radio" ? (d(), w(Un, {
6849
+ D.itemType === "radio" ? (d(), S(Un, {
6849
6850
  key: 4,
6850
6851
  originValue: j(ie)(l.row, l.col.colKey),
6851
6852
  modelValue: j(ie)(r.value, l.col.colKey),
@@ -6854,7 +6855,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
6854
6855
  "onUpdate:modelValue": s[3] || (s[3] = (I) => l.col.colKey && M(l.col.colKey, I)),
6855
6856
  "onBlur:modelValue": (I) => N(D)
6856
6857
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : K("", !0),
6857
- D.itemType === "selector" || D.itemType === "multi_selector" ? (d(), w(Qn, {
6858
+ D.itemType === "selector" || D.itemType === "multi_selector" ? (d(), S(Qn, {
6858
6859
  key: 5,
6859
6860
  originValue: j(ie)(l.row, l.col.colKey),
6860
6861
  modelValue: j(ie)(r.value, l.col.colKey),
@@ -6864,7 +6865,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
6864
6865
  "onUpdate:modelValue": s[4] || (s[4] = (I) => l.col.colKey && M(l.col.colKey, I)),
6865
6866
  "onBlur:modelValue": (I) => N(D)
6866
6867
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : K("", !0),
6867
- D.itemType === "date_selector" || D.itemType === "time_selector" || D.itemType === "date_time_selector" ? (d(), w(bn, {
6868
+ D.itemType === "date_selector" || D.itemType === "time_selector" || D.itemType === "date_time_selector" ? (d(), S(bn, {
6868
6869
  key: 6,
6869
6870
  originValue: j(ie)(l.row, l.col.colKey),
6870
6871
  modelValue: j(ie)(r.value, l.col.colKey),
@@ -6873,7 +6874,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
6873
6874
  "onUpdate:modelValue": s[5] || (s[5] = (I) => l.col.colKey && M(l.col.colKey, I)),
6874
6875
  "onBlur:modelValue": (I) => N(D)
6875
6876
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : K("", !0),
6876
- D.itemType === "tree_check_box" ? (d(), w(Yn, {
6877
+ D.itemType === "tree_check_box" ? (d(), S(Yn, {
6877
6878
  key: 7,
6878
6879
  originValue: j(ie)(l.row, l.col.colKey),
6879
6880
  modelValue: j(ie)(r.value, l.col.colKey),
@@ -6882,7 +6883,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
6882
6883
  "onUpdate:modelValue": s[6] || (s[6] = (I) => l.col.colKey && M(l.col.colKey, I)),
6883
6884
  "onBlur:modelValue": (I) => N(D)
6884
6885
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "onBlur:modelValue"])) : K("", !0),
6885
- D.itemType === "multi_tree_selector" || D.itemType === "tree_selector" ? (d(), w(Bn, {
6886
+ D.itemType === "multi_tree_selector" || D.itemType === "tree_selector" ? (d(), S(Bn, {
6886
6887
  key: 8,
6887
6888
  originValue: j(ie)(l.row, l.col.colKey),
6888
6889
  modelValue: j(ie)(r.value, l.col.colKey),
@@ -6892,7 +6893,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
6892
6893
  "onUpdate:modelValue": s[7] || (s[7] = (I) => l.col.colKey && M(l.col.colKey, I)),
6893
6894
  "onBlur:modelValue": (I) => N(D)
6894
6895
  }, null, 8, ["originValue", "modelValue", "formItem", "viewName", "multiple", "onBlur:modelValue"])) : K("", !0),
6895
- D.itemType === "file" ? (d(), w(Fn, {
6896
+ D.itemType === "file" ? (d(), S(Fn, {
6896
6897
  key: 9,
6897
6898
  modelValue: j(ie)(r.value, l.col.colKey),
6898
6899
  formItem: D,
@@ -6930,9 +6931,9 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
6930
6931
  let c = M.value, f = 0, V = st;
6931
6932
  A.value.length > s.value && (c -= Rt);
6932
6933
  for (const g of A.value) {
6933
- const S = I(g);
6934
- if (V + S < c)
6935
- V += S, f++;
6934
+ const w = I(g);
6935
+ if (V + w < c)
6936
+ V += w, f++;
6936
6937
  else
6937
6938
  break;
6938
6939
  }
@@ -6974,8 +6975,8 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
6974
6975
  },
6975
6976
  { deep: !0 }
6976
6977
  ), (c, f) => {
6977
- const V = W("t-button"), g = W("t-space"), S = W("t-popup");
6978
- return N.value ? (d(), w(g, {
6978
+ const V = W("t-button"), g = W("t-space"), w = W("t-popup");
6979
+ return N.value ? (d(), S(g, {
6979
6980
  key: 0,
6980
6981
  ref_key: "GTableOperationsRef",
6981
6982
  ref: a,
@@ -6986,7 +6987,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
6986
6987
  }
6987
6988
  }, {
6988
6989
  default: L(() => [
6989
- (d(!0), $(se, null, ye(k.value, (y) => (d(), w(V, {
6990
+ (d(!0), $(se, null, ye(k.value, (y) => (d(), S(V, {
6990
6991
  key: y.name,
6991
6992
  ref_for: !0,
6992
6993
  ref_key: "buttonRefs",
@@ -7000,7 +7001,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
7000
7001
  ]),
7001
7002
  _: 2
7002
7003
  }, 1032, ["onClick"]))), 128)),
7003
- C.value ? (d(), w(S, {
7004
+ C.value ? (d(), S(w, {
7004
7005
  key: 0,
7005
7006
  visible: o.value,
7006
7007
  "onUpdate:visible": f[0] || (f[0] = (y) => o.value = y),
@@ -7013,7 +7014,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
7013
7014
  size: "0"
7014
7015
  }, {
7015
7016
  default: L(() => [
7016
- (d(!0), $(se, null, ye(m.value, (y) => (d(), w(V, {
7017
+ (d(!0), $(se, null, ye(m.value, (y) => (d(), S(V, {
7017
7018
  key: y.name,
7018
7019
  theme: "primary",
7019
7020
  variant: "text",
@@ -7043,7 +7044,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
7043
7044
  }, 8, ["visible"])) : K("", !0)
7044
7045
  ]),
7045
7046
  _: 1
7046
- }, 512)) : (d(), w(g, {
7047
+ }, 512)) : (d(), S(g, {
7047
7048
  key: 1,
7048
7049
  ref_key: "GTableOperationsRef",
7049
7050
  ref: a,
@@ -7054,7 +7055,7 @@ const Tl = /* @__PURE__ */ au(gl, [["__scopeId", "data-v-3d6c3570"]]), dl = Re(T
7054
7055
  }
7055
7056
  }, {
7056
7057
  default: L(() => [
7057
- (d(!0), $(se, null, ye(A.value, (y) => (d(), w(V, {
7058
+ (d(!0), $(se, null, ye(A.value, (y) => (d(), S(V, {
7058
7059
  key: y.name,
7059
7060
  ref_for: !0,
7060
7061
  ref_key: "initButtonRefs",
@@ -7128,7 +7129,7 @@ function yl(t, e) {
7128
7129
  var u = e.dir || e.root, o = e.base || (e.name || "") + (e.ext || "");
7129
7130
  return u ? u === e.root ? u + o : u + t + o : o;
7130
7131
  }
7131
- var Su = {
7132
+ var wu = {
7132
7133
  // path.resolve([from ...], to)
7133
7134
  resolve: function() {
7134
7135
  for (var e = "", u = !1, o, n = arguments.length - 1; n >= -1 && !u; n--) {
@@ -7153,10 +7154,10 @@ var Su = {
7153
7154
  var o = arguments[u];
7154
7155
  iu(o), o.length > 0 && (e === void 0 ? e = o : e += "/" + o);
7155
7156
  }
7156
- return e === void 0 ? "." : Su.normalize(e);
7157
+ return e === void 0 ? "." : wu.normalize(e);
7157
7158
  },
7158
7159
  relative: function(e, u) {
7159
- if (iu(e), iu(u), e === u || (e = Su.resolve(e), u = Su.resolve(u), e === u))
7160
+ if (iu(e), iu(u), e === u || (e = wu.resolve(e), u = wu.resolve(u), e === u))
7160
7161
  return "";
7161
7162
  for (var o = 1; o < e.length && e.charCodeAt(o) === 47; ++o)
7162
7163
  ;
@@ -7279,8 +7280,8 @@ var Su = {
7279
7280
  win32: null,
7280
7281
  posix: null
7281
7282
  };
7282
- Su.posix = Su;
7283
- const ml = Su.extname, Vn = Su.basename;
7283
+ wu.posix = wu;
7284
+ const ml = wu.extname, Vn = wu.basename;
7284
7285
  class El {
7285
7286
  constructor() {
7286
7287
  let e = (() => typeof global > "u")(), u = "image/png", o = "image/jpeg", n = "image/jpeg", a = "image/webp", i = "application/pdf", r = "image/svg+xml";
@@ -7463,7 +7464,7 @@ const Io = (t, e, u, o) => {
7463
7464
  src: t
7464
7465
  })
7465
7466
  );
7466
- let Sl = class {
7467
+ let wl = class {
7467
7468
  constructor(e, u) {
7468
7469
  let o = document.createElement("canvas"), n = [];
7469
7470
  Object.defineProperty(o, "async", {
@@ -7517,7 +7518,7 @@ let Sl = class {
7517
7518
  }
7518
7519
  };
7519
7520
  const {
7520
- CanvasRenderingContext2D: wl,
7521
+ CanvasRenderingContext2D: Sl,
7521
7522
  CanvasGradient: vl,
7522
7523
  CanvasPattern: Ul,
7523
7524
  Image: Rn,
@@ -7527,9 +7528,9 @@ const {
7527
7528
  DOMRect: Bl,
7528
7529
  DOMPoint: Fl
7529
7530
  } = window, _l = {
7530
- Canvas: Sl,
7531
+ Canvas: wl,
7531
7532
  loadImage: kl,
7532
- CanvasRenderingContext2D: wl,
7533
+ CanvasRenderingContext2D: Sl,
7533
7534
  CanvasGradient: vl,
7534
7535
  CanvasPattern: Ul,
7535
7536
  Image: Rn,
@@ -7548,7 +7549,7 @@ const {
7548
7549
  Array.isArray(e[n]) ? (o[n] = {}, qu(t, e[n], u, o[n])) : o[n] = e[n](t, u, o, qu);
7549
7550
  }
7550
7551
  return u;
7551
- }, wu = (t, e) => (u, o, n, a) => {
7552
+ }, Su = (t, e) => (u, o, n, a) => {
7552
7553
  e(u, o, n) && a(u, t, o, n);
7553
7554
  }, Pl = (t, e) => (u, o, n, a) => {
7554
7555
  const i = [];
@@ -7601,7 +7602,7 @@ var Ot = {
7601
7602
  return i;
7602
7603
  }
7603
7604
  };
7604
- const Rl = wu(
7605
+ const Rl = Su(
7605
7606
  {
7606
7607
  gce: [
7607
7608
  { codes: su(2) },
@@ -7623,7 +7624,7 @@ const Rl = wu(
7623
7624
  var e = ht(2)(t);
7624
7625
  return e[0] === 33 && e[1] === 249;
7625
7626
  }
7626
- ), Wl = wu(
7627
+ ), Wl = Su(
7627
7628
  {
7628
7629
  image: [
7629
7630
  { code: Je() },
@@ -7644,7 +7645,7 @@ const Rl = wu(
7644
7645
  }
7645
7646
  ]
7646
7647
  },
7647
- wu(
7648
+ Su(
7648
7649
  {
7649
7650
  lct: Gn(3, (t, e, u) => Math.pow(2, u.descriptor.lct.size + 1))
7650
7651
  },
@@ -7654,7 +7655,7 @@ const Rl = wu(
7654
7655
  ]
7655
7656
  },
7656
7657
  (t) => Wn()(t) === 44
7657
- ), Gl = wu(
7658
+ ), Gl = Su(
7658
7659
  {
7659
7660
  text: [
7660
7661
  { codes: su(2) },
@@ -7669,7 +7670,7 @@ const Rl = wu(
7669
7670
  var e = ht(2)(t);
7670
7671
  return e[0] === 33 && e[1] === 1;
7671
7672
  }
7672
- ), Hl = wu(
7673
+ ), Hl = Su(
7673
7674
  {
7674
7675
  application: [
7675
7676
  { codes: su(2) },
@@ -7682,7 +7683,7 @@ const Rl = wu(
7682
7683
  var e = ht(2)(t);
7683
7684
  return e[0] === 33 && e[1] === 255;
7684
7685
  }
7685
- ), Zl = wu(
7686
+ ), Zl = Su(
7686
7687
  {
7687
7688
  comment: [{ codes: su(2) }, Ot]
7688
7689
  },
@@ -7708,7 +7709,7 @@ const Rl = wu(
7708
7709
  { pixelAspectRatio: Je() }
7709
7710
  ]
7710
7711
  },
7711
- wu(
7712
+ Su(
7712
7713
  {
7713
7714
  gct: Gn(
7714
7715
  3,
@@ -8531,13 +8532,13 @@ function d0(t, e) {
8531
8532
  u[m][0] -= k * (u[m][0] - C) / ct, u[m][1] -= k * (u[m][1] - E) / ct, u[m][2] -= k * (u[m][2] - b) / ct;
8532
8533
  }
8533
8534
  function l(k, m, C, E, b) {
8534
- for (var T = Math.abs(m - k), p = Math.min(m + k, Qe), c = m + 1, f = m - 1, V = 1, g, S; c < p || f > T; )
8535
- S = i[V++], c < p && (g = u[c++], g[0] -= S * (g[0] - C) / Fu, g[1] -= S * (g[1] - E) / Fu, g[2] -= S * (g[2] - b) / Fu), f > T && (g = u[f--], g[0] -= S * (g[0] - C) / Fu, g[1] -= S * (g[1] - E) / Fu, g[2] -= S * (g[2] - b) / Fu);
8535
+ for (var T = Math.abs(m - k), p = Math.min(m + k, Qe), c = m + 1, f = m - 1, V = 1, g, w; c < p || f > T; )
8536
+ w = i[V++], c < p && (g = u[c++], g[0] -= w * (g[0] - C) / Fu, g[1] -= w * (g[1] - E) / Fu, g[2] -= w * (g[2] - b) / Fu), f > T && (g = u[f--], g[0] -= w * (g[0] - C) / Fu, g[1] -= w * (g[1] - E) / Fu, g[2] -= w * (g[2] - b) / Fu);
8536
8537
  }
8537
8538
  function s(k, m, C) {
8538
- var E = 2147483647, b = E, T = -1, p = T, c, f, V, g, S;
8539
+ var E = 2147483647, b = E, T = -1, p = T, c, f, V, g, w;
8539
8540
  for (c = 0; c < Qe; c++)
8540
- f = u[c], V = Math.abs(f[0] - k) + Math.abs(f[1] - m) + Math.abs(f[2] - C), V < E && (E = V, T = c), g = V - (n[c] >> Zn - mu), g < b && (b = g, p = c), S = a[c] >> mo, a[c] -= S, n[c] += S << Kn;
8541
+ f = u[c], V = Math.abs(f[0] - k) + Math.abs(f[1] - m) + Math.abs(f[2] - C), V < E && (E = V, T = c), g = V - (n[c] >> Zn - mu), g < b && (b = g, p = c), w = a[c] >> mo, a[c] -= w, n[c] += w << Kn;
8541
8542
  return a[T] += M0, n[T] -= r0, p;
8542
8543
  }
8543
8544
  function D() {
@@ -8565,9 +8566,9 @@ function d0(t, e) {
8565
8566
  i[k] = T * ((c * c - k * k) * Ro / (c * c));
8566
8567
  var f;
8567
8568
  m < T0 ? (e = 1, f = 3) : m % Wo !== 0 ? f = 3 * Wo : m % Go !== 0 ? f = 3 * Go : m % Ho !== 0 ? f = 3 * Ho : f = 3 * Xn;
8568
- var V, g, S, y, _ = 0;
8569
+ var V, g, w, y, _ = 0;
8569
8570
  for (k = 0; k < E; )
8570
- if (V = (t[_] & 255) << mu, g = (t[_ + 1] & 255) << mu, S = (t[_ + 2] & 255) << mu, y = s(V, g, S), N(T, y, V, g, S), c !== 0 && l(c, y, V, g, S), _ += f, _ >= m && (_ -= m), k++, b === 0 && (b = 1), k % b === 0)
8571
+ if (V = (t[_] & 255) << mu, g = (t[_ + 1] & 255) << mu, w = (t[_ + 2] & 255) << mu, y = s(V, g, w), N(T, y, V, g, w), c !== 0 && l(c, y, V, g, w), _ += f, _ >= m && (_ -= m), k++, b === 0 && (b = 1), k % b === 0)
8571
8572
  for (T -= T / C, p -= p / D0, c = p >> Mo, c <= 1 && (c = 0), y = 0; y < c; y++)
8572
8573
  i[y] = T * ((c * c - y * y) * Ro / (c * c));
8573
8574
  }
@@ -8611,7 +8612,7 @@ function I0(t, e, u, o) {
8611
8612
  a[l++] = y, l >= 254 && f(_);
8612
8613
  }
8613
8614
  function b(y) {
8614
- T(Ku), s = x + 2, A = !0, S(x, y);
8615
+ T(Ku), s = x + 2, A = !0, w(x, y);
8615
8616
  }
8616
8617
  function T(y) {
8617
8618
  for (var _ = 0; _ < y; ++_)
@@ -8621,7 +8622,7 @@ function I0(t, e, u, o) {
8621
8622
  var B, H, z, v, h, U, R;
8622
8623
  for (I = y, A = !1, C = I, D = V(C), x = 1 << y - 1, P = x + 1, s = x + 2, l = 0, v = g(), R = 0, B = Ku; B < 65536; B *= 2)
8623
8624
  ++R;
8624
- R = 8 - R, U = Ku, T(U), S(x, _);
8625
+ R = 8 - R, U = Ku, T(U), w(x, _);
8625
8626
  e:
8626
8627
  for (; (H = g()) != Zo; ) {
8627
8628
  if (B = (H << Nt) + v, z = H << R ^ v, i[z] === B) {
@@ -8636,9 +8637,9 @@ function I0(t, e, u, o) {
8636
8637
  }
8637
8638
  while (i[z] >= 0);
8638
8639
  }
8639
- S(v, _), v = H, s < 1 << Nt ? (r[z] = s++, i[z] = B) : b(_);
8640
+ w(v, _), v = H, s < 1 << Nt ? (r[z] = s++, i[z] = B) : b(_);
8640
8641
  }
8641
- S(v, _), S(P, _);
8642
+ w(v, _), w(P, _);
8642
8643
  }
8643
8644
  function c(y) {
8644
8645
  y.writeByte(n), k = t * e, m = 0, p(n + 1, y), y.writeByte(0);
@@ -8656,7 +8657,7 @@ function I0(t, e, u, o) {
8656
8657
  var y = u[m++];
8657
8658
  return y & 255;
8658
8659
  }
8659
- function S(y, _) {
8660
+ function w(y, _) {
8660
8661
  for (M &= j0[N], N > 0 ? M |= y << N : M = y, N += C; N >= 8; )
8661
8662
  E(M & 255, _), M >>= 8, N -= 8;
8662
8663
  if ((s > D || A) && (A ? (D = V(C = I), A = !1) : (++C, C == Nt ? D = 1 << Nt : D = V(C))), y == P) {
@@ -9006,7 +9007,7 @@ class je {
9006
9007
  const E = (e = this.qrCode) === null || e === void 0 ? void 0 : e.moduleCount, b = this.options.size;
9007
9008
  let T = this.options.margin;
9008
9009
  (T < 0 || T * 2 >= b) && (T = 0);
9009
- const p = Math.ceil(T), c = b - 2 * T, f = this.options.whiteMargin, V = this.options.backgroundDimming, g = Math.ceil(c / E), S = g * E, y = S + 2 * p, _ = new Nu(y, y), B = _.getContext("2d");
9010
+ const p = Math.ceil(T), c = b - 2 * T, f = this.options.whiteMargin, V = this.options.backgroundDimming, g = Math.ceil(c / E), w = g * E, y = w + 2 * p, _ = new Nu(y, y), B = _.getContext("2d");
9010
9011
  this._clear(), B.save(), B.translate(p, p);
9011
9012
  const H = new Nu(y, y), z = H.getContext("2d");
9012
9013
  let v = null, h = [];
@@ -9063,7 +9064,7 @@ class je {
9063
9064
  je._drawDot(B, 8 + Z, 6, g, ne, ve), je._drawDot(B, 6, 8 + Z, g, ne, ve);
9064
9065
  const de = ((A = (D = this.options.components) === null || D === void 0 ? void 0 : D.cornerAlignment) === null || A === void 0 ? void 0 : A.scale) || gt, Pe = (1 - de) * 0.5;
9065
9066
  je._drawAlign(B, ae, ae, g, Pe, de, this.options.colorDark, ((x = (I = this.options.components) === null || I === void 0 ? void 0 : I.cornerAlignment) === null || x === void 0 ? void 0 : x.protectors) || !1);
9066
- const Ke = ((k = (P = this.options.components) === null || P === void 0 ? void 0 : P.alignment) === null || k === void 0 ? void 0 : k.scale) || gt, Se = (1 - Ke) * 0.5;
9067
+ const Ke = ((k = (P = this.options.components) === null || P === void 0 ? void 0 : P.alignment) === null || k === void 0 ? void 0 : k.scale) || gt, we = (1 - Ke) * 0.5;
9067
9068
  for (let Z = 0; Z < U.length; Z++)
9068
9069
  for (let te = 0; te < U.length; te++) {
9069
9070
  const Ne = U[te], De = U[Z];
@@ -9072,14 +9073,14 @@ class je {
9072
9073
  continue;
9073
9074
  if (Ne === ae && De === ae)
9074
9075
  continue;
9075
- je._drawAlign(B, Ne, De, g, Se, Ke, this.options.colorDark, ((C = (m = this.options.components) === null || m === void 0 ? void 0 : m.alignment) === null || C === void 0 ? void 0 : C.protectors) || !1);
9076
+ je._drawAlign(B, Ne, De, g, we, Ke, this.options.colorDark, ((C = (m = this.options.components) === null || m === void 0 ? void 0 : m.alignment) === null || C === void 0 ? void 0 : C.protectors) || !1);
9076
9077
  }
9077
9078
  }
9078
- if (f && (B.fillStyle = this.options.backgroundColor, B.fillRect(-p, -p, y, p), B.fillRect(-p, S, y, p), B.fillRect(S, -p, p, y), B.fillRect(-p, -p, p, y)), this.options.logoImage) {
9079
+ if (f && (B.fillStyle = this.options.backgroundColor, B.fillRect(-p, -p, y, p), B.fillRect(-p, w, y, p), B.fillRect(w, -p, p, y), B.fillRect(-p, -p, p, y)), this.options.logoImage) {
9079
9080
  const Z = yield Ko(this.options.logoImage);
9080
9081
  let te = this.options.logoScale, Ne = this.options.logoMargin, De = this.options.logoCornerRadius;
9081
9082
  (te <= 0 || te >= 1) && (te = 0.2), Ne < 0 && (Ne = 0), De < 0 && (De = 0);
9082
- const xe = S * te, fe = 0.5 * (y - xe), pe = fe;
9083
+ const xe = w * te, fe = 0.5 * (y - xe), pe = fe;
9083
9084
  B.restore(), B.fillStyle = this.options.logoBackgroundColor, B.save(), je._prepareRoundedCornerClip(B, fe - Ne, pe - Ne, xe + 2 * Ne, xe + 2 * Ne, De + Ne), B.clip();
9084
9085
  const We = B.globalCompositeOperation;
9085
9086
  B.globalCompositeOperation = "destination-out", B.fill(), B.globalCompositeOperation = We, B.restore(), B.save(), je._prepareRoundedCornerClip(B, fe, pe, xe, xe, De), B.clip(), B.drawImage(Z, fe, pe, xe, xe), B.restore(), B.save(), B.translate(p, p);
@@ -9351,7 +9352,7 @@ function ea(t = {}) {
9351
9352
  }
9352
9353
  };
9353
9354
  }
9354
- const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"], L0 = ["innerHTML"], h0 = { style: { "text-align": "center" } }, O0 = ["innerHTML"], k0 = ["onClick"], S0 = ["innerHTML"], w0 = /* @__PURE__ */ ue({
9355
+ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"], L0 = ["innerHTML"], h0 = { style: { "text-align": "center" } }, O0 = ["innerHTML"], k0 = ["onClick"], w0 = ["innerHTML"], S0 = /* @__PURE__ */ ue({
9355
9356
  __name: "index",
9356
9357
  props: {
9357
9358
  viewName: {},
@@ -9372,11 +9373,11 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
9372
9373
  ],
9373
9374
  setup(t, { emit: e }) {
9374
9375
  const { T: u } = ge(), { reload: o, reloadFlag: n } = ea(), a = t, i = e, r = O(() => {
9375
- var g, S, y, _;
9376
- return (S = (g = a.board) == null ? void 0 : g.tableData) != null && S.keyName ? (_ = (y = a.board) == null ? void 0 : y.tableData) == null ? void 0 : _.keyName : "";
9376
+ var g, w, y, _;
9377
+ return (w = (g = a.board) == null ? void 0 : g.tableData) != null && w.keyName ? (_ = (y = a.board) == null ? void 0 : y.tableData) == null ? void 0 : _.keyName : "";
9377
9378
  }), M = F([]);
9378
- function N(g, S) {
9379
- M.value = g, i("return-selected-key", M.value), i("return-selected-row", S.selectedRowData);
9379
+ function N(g, w) {
9380
+ M.value = g, i("return-selected-key", M.value), i("return-selected-row", w.selectedRowData);
9380
9381
  }
9381
9382
  const l = [
9382
9383
  { label: `${u.t("10/页")}`, value: 10 },
@@ -9393,41 +9394,41 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
9393
9394
  showJumper: !0,
9394
9395
  pageSizeOptions: l
9395
9396
  })), D = O(() => a.headerFilterProps);
9396
- function A(g, S) {
9397
+ function A(g, w) {
9397
9398
  if (g.value != "")
9398
9399
  try {
9399
- return ju.render(g.value, { item: S });
9400
+ return ju.render(g.value, { item: w });
9400
9401
  } catch (y) {
9401
9402
  console.error("GTable returnValue Error", y);
9402
9403
  }
9403
9404
  else
9404
- return Object.keys(D.value) ? ni(S[g.keyName], D.value) : S[g.keyName];
9405
+ return Object.keys(D.value) ? ni(w[g.keyName], D.value) : w[g.keyName];
9405
9406
  }
9406
9407
  function I(g) {
9407
9408
  return !eu(g) && g !== "";
9408
9409
  }
9409
9410
  const x = () => "<span class='empty'>----</span>";
9410
- function P(g, S) {
9411
+ function P(g, w) {
9411
9412
  var y;
9412
9413
  if (!Be(g.enums)) {
9413
9414
  let _ = g.enums.filter((B) => {
9414
- if (S[g.keyName] == null && (S[g.keyName] = ""), B.value == String(S[g.keyName]))
9415
+ if (w[g.keyName] == null && (w[g.keyName] = ""), B.value == String(w[g.keyName]))
9415
9416
  return B.text;
9416
9417
  });
9417
- return _.length ? (y = _.shift()) == null ? void 0 : y.text : I(S[g.keyName]) ? S[g.keyName] : x();
9418
+ return _.length ? (y = _.shift()) == null ? void 0 : y.text : I(w[g.keyName]) ? w[g.keyName] : x();
9418
9419
  }
9419
9420
  }
9420
- function k(g, S) {
9421
+ function k(g, w) {
9421
9422
  if (g.value != "")
9422
- return ju.render(g.value, { item: S });
9423
+ return ju.render(g.value, { item: w });
9423
9424
  if (g.value == "")
9424
- return I(S[g.keyName]) ? Tu(S[g.keyName]).format("YYYY-MM-DD HH:mm:ss") : x();
9425
+ return I(w[g.keyName]) ? Tu(w[g.keyName]).format("YYYY-MM-DD HH:mm:ss") : x();
9425
9426
  }
9426
- function m(g, S) {
9427
- i("table-button-action", g, S);
9427
+ function m(g, w) {
9428
+ i("table-button-action", g, w);
9428
9429
  }
9429
- function C(g, S) {
9430
- i("table-form-confirm", g, S);
9430
+ function C(g, w) {
9431
+ i("table-form-confirm", g, w);
9431
9432
  }
9432
9433
  Te(
9433
9434
  () => a.tableData,
@@ -9436,9 +9437,9 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
9436
9437
  );
9437
9438
  const E = F(null), { width: b } = cn(E), T = No(), p = F(/* @__PURE__ */ new Map());
9438
9439
  function c(g) {
9439
- const { columnsWidth: S } = g, y = {};
9440
+ const { columnsWidth: w } = g, y = {};
9440
9441
  f.value.forEach((z, v) => {
9441
- const h = z.colKey, U = S[h];
9442
+ const h = z.colKey, U = w[h];
9442
9443
  if (h && U)
9443
9444
  if (h === "row-select")
9444
9445
  y[h] = 50;
@@ -9458,7 +9459,7 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
9458
9459
  const q = R / z, ae = Math.floor(v * q);
9459
9460
  y[U] = R + ae;
9460
9461
  });
9461
- let h = v - _.reduce((U, [R]) => U + (y[R] - S[R]), 0);
9462
+ let h = v - _.reduce((U, [R]) => U + (y[R] - w[R]), 0);
9462
9463
  if (h > 0) {
9463
9464
  const U = _.sort(([q, ae], [ze, ve]) => ve - ae).map(([q]) => q);
9464
9465
  let R = 0;
@@ -9479,9 +9480,9 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
9479
9480
  (g) => {
9480
9481
  if (g) {
9481
9482
  f.value = g;
9482
- const S = T.getColumnWidthData(a.viewName);
9483
- S && (f.value = f.value.map((y) => {
9484
- const _ = S[y.colKey];
9483
+ const w = T.getColumnWidthData(a.viewName);
9484
+ w && (f.value = f.value.map((y) => {
9485
+ const _ = w[y.colKey];
9485
9486
  return _ && (y.width = _, p.value.set(y.colKey, _)), y;
9486
9487
  }));
9487
9488
  }
@@ -9491,11 +9492,11 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
9491
9492
  return Te(
9492
9493
  () => V.value,
9493
9494
  (g) => {
9494
- g && g.length && g.forEach((S) => {
9495
- const y = f.value.findIndex((_) => _.colKey === S);
9495
+ g && g.length && g.forEach((w) => {
9496
+ const y = f.value.findIndex((_) => _.colKey === w);
9496
9497
  if (y > -1) {
9497
9498
  const _ = f.value[y].width;
9498
- p.value.set(S, _);
9499
+ p.value.set(w, _);
9499
9500
  }
9500
9501
  });
9501
9502
  },
@@ -9503,9 +9504,9 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
9503
9504
  immediate: !0,
9504
9505
  deep: !0
9505
9506
  }
9506
- ), (g, S) => {
9507
+ ), (g, w) => {
9507
9508
  const y = W("t-button"), _ = W("t-popup"), B = W("t-image"), H = W("t-image-viewer");
9508
- return j(n) ? K("", !0) : (d(), w(j(c4), {
9509
+ return j(n) ? K("", !0) : (d(), S(j(c4), {
9509
9510
  key: 0,
9510
9511
  class: "g-table",
9511
9512
  tableType: "primary",
@@ -9569,7 +9570,7 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
9569
9570
  }, 1024)
9570
9571
  ]),
9571
9572
  FORM_ITEM: L(({ col: z, row: v }) => [
9572
- z.formItems && z.formItems.length ? (d(), w(jl, {
9573
+ z.formItems && z.formItems.length ? (d(), S(jl, {
9573
9574
  key: 0,
9574
9575
  viewName: g.viewName,
9575
9576
  col: z,
@@ -9584,7 +9585,7 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
9584
9585
  J("div", {
9585
9586
  class: G(`${j(_u)}__imageViewer`)
9586
9587
  }, [
9587
- A(z, v) ? (d(), w(H, {
9588
+ A(z, v) ? (d(), S(H, {
9588
9589
  key: 0,
9589
9590
  images: [A(z, v)]
9590
9591
  }, {
@@ -9599,10 +9600,10 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
9599
9600
  fit: "scale-down"
9600
9601
  }, {
9601
9602
  error: L(() => [
9602
- z.name == `${j(u).t("头像")}` ? (d(), w(j(wt), { key: 0 })) : (d(), w(j(Xu), { key: 1 }))
9603
+ z.name == `${j(u).t("头像")}` ? (d(), S(j(St), { key: 0 })) : (d(), S(j(Xu), { key: 1 }))
9603
9604
  ]),
9604
9605
  loading: L(() => [
9605
- z.name == `${j(u).t("头像")}` ? (d(), w(j(wt), { key: 0 })) : (d(), w(j(Xu), {
9606
+ z.name == `${j(u).t("头像")}` ? (d(), S(j(St), { key: 0 })) : (d(), S(j(Xu), {
9606
9607
  key: 1,
9607
9608
  size: "large"
9608
9609
  }))
@@ -9625,10 +9626,10 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
9625
9626
  key: 1,
9626
9627
  class: G(`${j(_u)}__imageViewer--placeholder`)
9627
9628
  }, [
9628
- z.name == `${j(u).t("头像")}` ? (d(), w(j(wt), {
9629
+ z.name == `${j(u).t("头像")}` ? (d(), S(j(St), {
9629
9630
  key: 0,
9630
9631
  size: "large"
9631
- })) : (d(), w(j(Xu), {
9632
+ })) : (d(), S(j(Xu), {
9632
9633
  key: 1,
9633
9634
  size: "large"
9634
9635
  }))
@@ -9636,7 +9637,7 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
9636
9637
  ], 2)
9637
9638
  ]),
9638
9639
  BUTTONS: L(({ col: z, row: v }) => [
9639
- z.buttons && z.buttons.length > 0 ? (d(), w(Il, {
9640
+ z.buttons && z.buttons.length > 0 ? (d(), S(Il, {
9640
9641
  key: 0,
9641
9642
  buttons: z.buttons,
9642
9643
  row: v,
@@ -9645,14 +9646,14 @@ const p0 = { key: 0 }, z0 = ["innerHTML"], x0 = ["innerHTML"], C0 = ["innerHTML"
9645
9646
  }, null, 8, ["buttons", "row", "operations-width"])) : (d(), $("span", {
9646
9647
  key: 1,
9647
9648
  innerHTML: x()
9648
- }, null, 8, S0))
9649
+ }, null, 8, w0))
9649
9650
  ]),
9650
9651
  _: 1
9651
9652
  }, 8, ["commonTableProps"]));
9652
9653
  };
9653
9654
  }
9654
9655
  });
9655
- const v0 = /* @__PURE__ */ au(w0, [["__scopeId", "data-v-a7f6de2d"]]), U0 = /* @__PURE__ */ ue({
9656
+ const v0 = /* @__PURE__ */ au(S0, [["__scopeId", "data-v-a7f6de2d"]]), U0 = /* @__PURE__ */ ue({
9656
9657
  __name: "index",
9657
9658
  props: {
9658
9659
  viewName: {},
@@ -9688,14 +9689,14 @@ const v0 = /* @__PURE__ */ au(w0, [["__scopeId", "data-v-a7f6de2d"]]), U0 = /* @
9688
9689
  }
9689
9690
  return (A, I) => {
9690
9691
  const x = W("t-card"), P = W("t-tab-panel"), k = W("t-tabs");
9691
- return d(), w(k, {
9692
+ return d(), S(k, {
9692
9693
  class: G(`${j(Ii)}`),
9693
9694
  placement: "left",
9694
9695
  value: r.value,
9695
9696
  onChange: N
9696
9697
  }, {
9697
9698
  default: L(() => [
9698
- (d(!0), $(se, null, ye(i.value, (m, C) => (d(), w(P, {
9699
+ (d(!0), $(se, null, ye(i.value, (m, C) => (d(), S(P, {
9699
9700
  key: `${C}${m.title}`,
9700
9701
  value: C,
9701
9702
  label: m.title,
@@ -9704,7 +9705,7 @@ const v0 = /* @__PURE__ */ au(w0, [["__scopeId", "data-v-a7f6de2d"]]), U0 = /* @
9704
9705
  default: L(() => [
9705
9706
  Q(x, { bordered: !1 }, {
9706
9707
  content: L(() => [
9707
- m.board ? (d(), w(j(ft), {
9708
+ m.board ? (d(), S(j(ft), {
9708
9709
  key: m.title,
9709
9710
  viewName: A.viewName,
9710
9711
  board: m.board,
@@ -9829,7 +9830,7 @@ const Q0 = /* @__PURE__ */ ue({
9829
9830
  deep: !0
9830
9831
  }
9831
9832
  );
9832
- const g = F(!1), S = F(!1), y = F(""), _ = F({}), B = F(), H = F();
9833
+ const g = F(!1), w = F(!1), y = F(""), _ = F({}), B = F(), H = F();
9833
9834
  async function z(Y, X = {}) {
9834
9835
  if ((Y ?? "") != "") {
9835
9836
  X.viewName = Y;
@@ -9846,7 +9847,7 @@ const Q0 = /* @__PURE__ */ ue({
9846
9847
  try {
9847
9848
  switch (Y.action) {
9848
9849
  case "VIEW_BY_DIALOG": {
9849
- (Y.view ?? "") != "" ? (y.value = "view", await z(Y.view), _.value = Y, r.initPropsSource({ ...X, ...M.serverProps }), await v(!0), S.value = !0) : (Y.link ?? "") != "" && (y.value = "iframe", _.value = Y, r.initPropsSource(X), B.value = {}, H.value = (Me = Y.props) == null ? void 0 : Me.map((oe) => oe.keyName), await v(!0), S.value = !0);
9850
+ (Y.view ?? "") != "" ? (y.value = "view", await z(Y.view), _.value = Y, r.initPropsSource({ ...X, ...M.serverProps }), await v(!0), w.value = !0) : (Y.link ?? "") != "" && (y.value = "iframe", _.value = Y, r.initPropsSource(X), B.value = {}, H.value = (Me = Y.props) == null ? void 0 : Me.map((oe) => oe.keyName), await v(!0), w.value = !0);
9850
9851
  break;
9851
9852
  }
9852
9853
  case "VIEW": {
@@ -9869,7 +9870,7 @@ const Q0 = /* @__PURE__ */ ue({
9869
9870
  Y.props ? Y.props.forEach((qe) => {
9870
9871
  qe.keyName && (X[qe.keyName] ?? "") != "" && (re[qe.keyName] = X[qe.keyName]);
9871
9872
  }) : re = { ...X };
9872
- const Ce = St.confirm({
9873
+ const Ce = wt.confirm({
9873
9874
  theme: "info",
9874
9875
  header: Y.name,
9875
9876
  body: oe,
@@ -9907,7 +9908,7 @@ const Q0 = /* @__PURE__ */ ue({
9907
9908
  break;
9908
9909
  }
9909
9910
  case "BATCH": {
9910
- const oe = St.confirm({
9911
+ const oe = wt.confirm({
9911
9912
  theme: "info",
9912
9913
  header: Y.name,
9913
9914
  body: `${u.t("是否继续批量操作?")} `,
@@ -10054,7 +10055,7 @@ const Q0 = /* @__PURE__ */ ue({
10054
10055
  }
10055
10056
  tu("tableSelectedRow", ze);
10056
10057
  const ne = F([]), de = F([]), Pe = F([]), Ke = No();
10057
- async function Se(Y) {
10058
+ async function we(Y) {
10058
10059
  const X = `${M.viewName}_${s.value}`;
10059
10060
  await Ke.setColumnData(X, Y) && (Pe.value = Y, me.success(u.t("设置成功")), N());
10060
10061
  }
@@ -10085,7 +10086,7 @@ const Q0 = /* @__PURE__ */ ue({
10085
10086
  count: Y.pageSize
10086
10087
  }), p();
10087
10088
  }
10088
- const De = we("handleUpdateView");
10089
+ const De = Se("handleUpdateView");
10089
10090
  async function xe(Y, X) {
10090
10091
  h.value && (h.value.formOkButtonLoading || (h.value.formOkButtonLoading = !0));
10091
10092
  let Me = {};
@@ -10099,7 +10100,7 @@ const Q0 = /* @__PURE__ */ ue({
10099
10100
  }
10100
10101
  function fe(Y, X) {
10101
10102
  if (Y.itemType == "selector" || Y.itemType == "time_selector" || Y.itemType == "date_time_selector" || Y.itemType == "tree_check_box" || Y.itemType === "multi_tree_selector" || Y.itemType === "tree_selector") {
10102
- const Me = St.confirm({
10103
+ const Me = wt.confirm({
10103
10104
  theme: "info",
10104
10105
  body: `${u.t("此操作将提交该修改,是否继续?")}`,
10105
10106
  className: Vt,
@@ -10135,7 +10136,7 @@ const Q0 = /* @__PURE__ */ ue({
10135
10136
  async function We(Y, X) {
10136
10137
  let Me = {};
10137
10138
  Object.keys(E.value).length && Object.assign(Me, E.value), Object.assign(Me, Y);
10138
- const Oe = await w4({
10139
+ const Oe = await S4({
10139
10140
  buttonId: X,
10140
10141
  props: Me,
10141
10142
  viewName: Y.viewName
@@ -10146,7 +10147,7 @@ const Q0 = /* @__PURE__ */ ue({
10146
10147
  }
10147
10148
  }
10148
10149
  function Ue() {
10149
- S.value = !1, setTimeout(() => {
10150
+ w.value = !1, setTimeout(() => {
10150
10151
  v(!1);
10151
10152
  });
10152
10153
  }
@@ -10165,7 +10166,7 @@ const Q0 = /* @__PURE__ */ ue({
10165
10166
  size: "medium"
10166
10167
  }, {
10167
10168
  default: L(() => [
10168
- s.value === "table" ? (d(), w(j(dl), {
10169
+ s.value === "table" ? (d(), S(j(dl), {
10169
10170
  key: 0,
10170
10171
  viewName: Y.viewName,
10171
10172
  board: Y.board,
@@ -10174,9 +10175,9 @@ const Q0 = /* @__PURE__ */ ue({
10174
10175
  displayColumns: Pe.value,
10175
10176
  onHeaderButtonAction: U,
10176
10177
  onHeaderFilterChange: R,
10177
- onDisplayColumnsChange: Se
10178
+ onDisplayColumnsChange: we
10178
10179
  }, null, 8, ["viewName", "board", "headerInfo", "tableColumns", "displayColumns"])) : K("", !0),
10179
- s.value === "form" ? (d(), w(j(sl), {
10180
+ s.value === "form" ? (d(), S(j(sl), {
10180
10181
  key: 1,
10181
10182
  ref_key: "gFormRef",
10182
10183
  ref: h,
@@ -10187,7 +10188,7 @@ const Q0 = /* @__PURE__ */ ue({
10187
10188
  onConfirmAndClose: Yu,
10188
10189
  onCloseDialog: yu
10189
10190
  }, null, 8, ["viewName", "board", "formData"])) : K("", !0),
10190
- s.value === "table" ? (d(), w(v0, {
10191
+ s.value === "table" ? (d(), S(v0, {
10191
10192
  key: 2,
10192
10193
  viewName: Y.viewName,
10193
10194
  board: Y.board,
@@ -10202,7 +10203,7 @@ const Q0 = /* @__PURE__ */ ue({
10202
10203
  onReturnSelectedRow: ve,
10203
10204
  onReturnPaginationProps: Ne
10204
10205
  }, null, 8, ["viewName", "board", "tableColumns", "displayColumns", "tableData", "paginationProps", "headerFilterProps"])) : K("", !0),
10205
- s.value === "tab" ? (d(), w(U0, {
10206
+ s.value === "tab" ? (d(), S(U0, {
10206
10207
  key: 3,
10207
10208
  viewName: Y.viewName,
10208
10209
  board: Y.board
@@ -10210,13 +10211,13 @@ const Q0 = /* @__PURE__ */ ue({
10210
10211
  ]),
10211
10212
  _: 1
10212
10213
  }, 8, ["class", "loading"]),
10213
- g.value ? (d(), w(j(nl), {
10214
+ g.value ? (d(), S(j(nl), {
10214
10215
  key: 0,
10215
10216
  ref: "dialogRef",
10216
10217
  dialogType: y.value,
10217
- isDialogVisible: S.value,
10218
+ isDialogVisible: w.value,
10218
10219
  "onUpdate:isDialogVisible": [
10219
- X[0] || (X[0] = (Oe) => S.value = Oe),
10220
+ X[0] || (X[0] = (Oe) => w.value = Oe),
10220
10221
  Ue
10221
10222
  ],
10222
10223
  dialogViewInfo: _.value,
@@ -10318,13 +10319,13 @@ const ft = Re(Q0), ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
10318
10319
  } : {}
10319
10320
  };
10320
10321
  });
10321
- return tu(En, r), (C, E) => (d(), w(j(To), Ie({ key: r.value }, m.value), {
10322
+ return tu(En, r), (C, E) => (d(), S(j(To), Ie({ key: r.value }, m.value), {
10322
10323
  default: L(() => {
10323
10324
  var b;
10324
10325
  return [
10325
10326
  P.value ? (d(!0), $(se, { key: 0 }, ye((b = D.value) == null ? void 0 : b.boards, (T) => {
10326
10327
  var p, c;
10327
- return d(), w(j(ft), {
10328
+ return d(), S(j(ft), {
10328
10329
  key: `${(p = D.value) == null ? void 0 : p.viewName}_${T.boardType}`,
10329
10330
  board: T,
10330
10331
  viewName: A.value,
@@ -12231,7 +12232,7 @@ const R0 = { class: "gConfigProvider" }, W0 = /* @__PURE__ */ ue({
12231
12232
  },
12232
12233
  setup(t) {
12233
12234
  const { T: e, i18n: u } = ge();
12234
- we(no, null);
12235
+ Se(no, null);
12235
12236
  const o = t, n = O(() => ({ ...o.localeConfig })), a = O(() => ({ ...o.dateLocaleConfig })), i = O(() => [...o.layoutHeaderOperations.slice(0, 5)]), r = O(() => ({
12236
12237
  enableDefaultOperations: !0,
12237
12238
  ...o.layoutHeaderConfig
@@ -12388,7 +12389,7 @@ const lM = { render: iM }, MM = {
12388
12389
  });
12389
12390
  return (o, n) => (d(), $("div", MM, [
12390
12391
  J("div", rM, [
12391
- (d(), w(on(u.value)))
12392
+ (d(), S(on(u.value)))
12392
12393
  ]),
12393
12394
  J("div", sM, ee(o.title), 1),
12394
12395
  J("div", cM, ee(o.tip), 1),
@@ -12407,7 +12408,7 @@ const ta = /* @__PURE__ */ au(NM, [["__scopeId", "data-v-75fdffa5"]]), fr = /* @
12407
12408
  }
12408
12409
  return (n, a) => {
12409
12410
  const i = W("t-button");
12410
- return d(), w(j(To), null, {
12411
+ return d(), S(j(To), null, {
12411
12412
  default: L(() => [
12412
12413
  Q(ta, {
12413
12414
  type: "404",
@@ -12440,7 +12441,7 @@ const ta = /* @__PURE__ */ au(NM, [["__scopeId", "data-v-75fdffa5"]]), fr = /* @
12440
12441
  }
12441
12442
  return (n, a) => {
12442
12443
  const i = W("t-button");
12443
- return d(), w(j(To), null, {
12444
+ return d(), S(j(To), null, {
12444
12445
  default: L(() => [
12445
12446
  Q(ta, {
12446
12447
  type: "403",
@@ -12483,7 +12484,7 @@ const ta = /* @__PURE__ */ au(NM, [["__scopeId", "data-v-75fdffa5"]]), fr = /* @
12483
12484
  t.directive(e, en[e]);
12484
12485
  });
12485
12486
  }
12486
- }, TM = "@gonsin/gview", dM = "2.1.5", jM = "dist/index.mjs", IM = "dist/types/index.d.ts", AM = [
12487
+ }, TM = "@gonsin/gview", dM = "2.1.6", jM = "dist/index.mjs", IM = "dist/types/index.d.ts", AM = [
12487
12488
  "dist",
12488
12489
  "README.md",
12489
12490
  "CHANGELOG.md"
@@ -12627,7 +12628,7 @@ const ta = /* @__PURE__ */ au(NM, [["__scopeId", "data-v-75fdffa5"]]), fr = /* @
12627
12628
  ], 2)
12628
12629
  ], 2));
12629
12630
  }
12630
- }), OM = ["poster"], kM = ["src"], SM = ["src"], wM = /* @__PURE__ */ ue({
12631
+ }), OM = ["poster"], kM = ["src"], wM = ["src"], SM = /* @__PURE__ */ ue({
12631
12632
  __name: "GLogin",
12632
12633
  props: {
12633
12634
  bgVideoMp4Src: {},
@@ -12680,12 +12681,12 @@ const ta = /* @__PURE__ */ au(NM, [["__scopeId", "data-v-75fdffa5"]]), fr = /* @
12680
12681
  J("source", {
12681
12682
  src: e.bgVideoWebmSrc,
12682
12683
  type: "video/webm"
12683
- }, null, 8, SM)
12684
+ }, null, 8, wM)
12684
12685
  ], 14, OM)
12685
12686
  ], 2));
12686
12687
  }
12687
12688
  });
12688
- const zr = Re(wM), vM = oa.name, UM = oa.version;
12689
+ const zr = Re(SM), vM = oa.name, UM = oa.version;
12689
12690
  function QM(t, e) {
12690
12691
  console.info(
12691
12692
  `%c ${vM} %c ${UM} `,
@@ -12731,7 +12732,7 @@ export {
12731
12732
  tr as LOCAL_EDIFICE_INFO,
12732
12733
  Bt as LOCAL_INIT_TAB_MENU_LIST,
12733
12734
  Yt as LOCAL_IS_SIDE_SELF_DRAGGING,
12734
- So as LOCAL_LOGIN_STATUS,
12735
+ wo as LOCAL_LOGIN_STATUS,
12735
12736
  or as LOCAL_MENU,
12736
12737
  Qo as LOCAL_SESSION_ID,
12737
12738
  Wu as LOCAL_SIDE_MENU_CONFIG,
@@ -12739,10 +12740,10 @@ export {
12739
12740
  Ft as LOCAL_TAB_MENU,
12740
12741
  Qt as LOCAL_THEME_CONFIG,
12741
12742
  ur as LOCAL_USER,
12742
- wo as LOCAL_USER_PERMISSIONS,
12743
+ So as LOCAL_USER_PERMISSIONS,
12743
12744
  ko as LOCAL_WEBSITE_SETTING_KEY,
12744
12745
  me as MessageManager,
12745
- wr as NProgress,
12746
+ Sr as NProgress,
12746
12747
  pr as NoPermission,
12747
12748
  fr as NotFound,
12748
12749
  Dn as PREFIX,