@gonsin/gview 2.1.24 → 2.1.25

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 +214 -216
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -1340,7 +1340,7 @@ const Tn = Qu("column", {
1340
1340
  function x(w, y) {
1341
1341
  i.subtractTabMenuItemAhead({ path: w, itemIdx: y }), S("ahead", y);
1342
1342
  }
1343
- function P(w, y) {
1343
+ function $(w, y) {
1344
1344
  i.subtractTabMenuItemBehind({ path: w, itemIdx: y }), S("behind", y);
1345
1345
  }
1346
1346
  function v(w, y) {
@@ -1379,9 +1379,9 @@ const Tn = Qu("column", {
1379
1379
  }
1380
1380
  }
1381
1381
  return s.value.length;
1382
- }), h = Q(() => D.value > 0 ? s.value.slice(0, D.value) : []), $ = Q(
1382
+ }), h = Q(() => D.value > 0 ? s.value.slice(0, D.value) : []), P = Q(
1383
1383
  () => D.value > 0 ? s.value.slice(D.value) : s.value
1384
- ), g = Q(() => $.value.map((w) => w.path)), F = R(null), m = R(150);
1384
+ ), g = Q(() => P.value.map((w) => w.path)), F = R(null), m = R(150);
1385
1385
  R(0);
1386
1386
  const U = R(!1);
1387
1387
  function f(w) {
@@ -1528,7 +1528,7 @@ const Tn = Qu("column", {
1528
1528
  }, 1032, ["onClick"])) : q("", !0),
1529
1529
  Me < s.value.length - 1 ? (d(), b(L, {
1530
1530
  key: 2,
1531
- onClick: () => P(ne.path, Me)
1531
+ onClick: () => $(ne.path, Me)
1532
1532
  }, {
1533
1533
  default: k(() => [
1534
1534
  X("span", null, [
@@ -1585,7 +1585,7 @@ const Tn = Qu("column", {
1585
1585
  ]),
1586
1586
  _: 2
1587
1587
  }, 1032, ["popup-props"]))), 128)),
1588
- $.value && $.value.length ? (d(), b(Ae, {
1588
+ P.value && P.value.length ? (d(), b(Ae, {
1589
1589
  key: 0,
1590
1590
  popupProps: {
1591
1591
  trigger: "click",
@@ -1601,7 +1601,7 @@ const Tn = Qu("column", {
1601
1601
  B(A(xa))
1602
1602
  ]),
1603
1603
  default: k(() => [
1604
- (d(!0), H(De, null, pe($.value, (ne, Me) => (d(), H("div", {
1604
+ (d(!0), H(De, null, pe(P.value, (ne, Me) => (d(), H("div", {
1605
1605
  ref_for: !0,
1606
1606
  ref_key: "omittedMenuRef",
1607
1607
  ref: F,
@@ -1668,7 +1668,7 @@ const Tn = Qu("column", {
1668
1668
  }, 1032, ["onClick"])) : q("", !0),
1669
1669
  h.value.length + Me >= 0 && Me < s.value.length ? (d(), b(L, {
1670
1670
  key: 2,
1671
- onClick: () => P(
1671
+ onClick: () => $(
1672
1672
  ne.path,
1673
1673
  h.value.length + Me
1674
1674
  )
@@ -1819,7 +1819,7 @@ const Co = { render: qi }, Ji = { class: "username" }, Xi = /* @__PURE__ */ oe({
1819
1819
  }
1820
1820
  return o.userRealName;
1821
1821
  }), M = Q(() => o.displayMode), N = mi(), I = Q(() => N.logoUrl), j = Q(() => (I.value ?? "") != "" ? { backgroundImage: `url(${I.value})` } : { backgroundImage: `url(${Fi})` }), x = Q(() => o.isSideMenuCollapse);
1822
- function P() {
1822
+ function $() {
1823
1823
  o.toggleSideMenuCollapse(), o.isSideHoverMenuShow && (o.isSideHoverMenuShow = !1);
1824
1824
  }
1825
1825
  function v() {
@@ -1839,7 +1839,7 @@ const Co = { render: qi }, Ji = { class: "username" }, Xi = /* @__PURE__ */ oe({
1839
1839
  }, 500);
1840
1840
  }
1841
1841
  return (p, D) => {
1842
- const h = Z("t-button"), $ = Z("t-icon"), g = Z("t-badge"), F = Z("t-popup"), m = Z("t-dropdown-item"), U = Z("t-dropdown-menu"), f = Z("t-dropdown"), w = Z("t-head-menu"), y = Z("t-header");
1842
+ const h = Z("t-button"), P = Z("t-icon"), g = Z("t-badge"), F = Z("t-popup"), m = Z("t-dropdown-item"), U = Z("t-dropdown-menu"), f = Z("t-dropdown"), w = Z("t-head-menu"), y = Z("t-header");
1843
1843
  return d(), b(y, {
1844
1844
  class: K(e),
1845
1845
  onMouseleave: T
@@ -1866,7 +1866,7 @@ const Co = { render: qi }, Ji = { class: "username" }, Xi = /* @__PURE__ */ oe({
1866
1866
  theme: "default",
1867
1867
  shape: "square",
1868
1868
  variant: "text",
1869
- onClick: P
1869
+ onClick: $
1870
1870
  }, {
1871
1871
  default: k(() => [
1872
1872
  x.value ? (d(), b(A(xu), {
@@ -1922,7 +1922,7 @@ const Co = { render: qi }, Ji = { class: "username" }, Xi = /* @__PURE__ */ oe({
1922
1922
  ];
1923
1923
  }),
1924
1924
  default: k(() => [
1925
- C != null && C.iconName && (C == null ? void 0 : C.iconName) != "" ? (d(), b($, {
1925
+ C != null && C.iconName && (C == null ? void 0 : C.iconName) != "" ? (d(), b(P, {
1926
1926
  key: 0,
1927
1927
  name: C.iconName
1928
1928
  }, null, 8, ["name"])) : q("", !0),
@@ -1966,7 +1966,7 @@ const Co = { render: qi }, Ji = { class: "username" }, Xi = /* @__PURE__ */ oe({
1966
1966
  ];
1967
1967
  }),
1968
1968
  default: k(() => [
1969
- C != null && C.iconName && (C == null ? void 0 : C.iconName) != "" ? (d(), b($, {
1969
+ C != null && C.iconName && (C == null ? void 0 : C.iconName) != "" ? (d(), b(P, {
1970
1970
  key: 0,
1971
1971
  name: C.iconName
1972
1972
  }, null, 8, ["name"])) : q("", !0),
@@ -2239,8 +2239,8 @@ const au = (t, u) => {
2239
2239
  if (!N.value && M.value) {
2240
2240
  const E = (S = M.value.$el) == null ? void 0 : S.querySelectorAll(".t-menu__content"), _ = Array.from(E).map((p) => {
2241
2241
  var g, F;
2242
- const D = parseInt(getComputedStyle(p.parentElement).paddingLeft), h = ((g = p == null ? void 0 : p.parentElement.querySelector(".t-icon")) == null ? void 0 : g.clientWidth) || 0, $ = ((F = p == null ? void 0 : p.parentElement.querySelector(".t-fake-arrow")) == null ? void 0 : F.clientWidth) || 0;
2243
- return p.clientWidth + D + h + $;
2242
+ const D = parseInt(getComputedStyle(p.parentElement).paddingLeft), h = ((g = p == null ? void 0 : p.parentElement.querySelector(".t-icon")) == null ? void 0 : g.clientWidth) || 0, P = ((F = p == null ? void 0 : p.parentElement.querySelector(".t-fake-arrow")) == null ? void 0 : F.clientWidth) || 0;
2243
+ return p.clientWidth + D + h + P;
2244
2244
  }).filter((p) => p > 0), T = Math.max(..._);
2245
2245
  n.setSideMenuWidth(T + 50), n.sideMenuMaxWidth = l.value + 100;
2246
2246
  }
@@ -2258,7 +2258,7 @@ const au = (t, u) => {
2258
2258
  }
2259
2259
  Q(() => n.sideMenuMinWidth);
2260
2260
  const x = Q(() => n.sideMenuMaxWidth);
2261
- function P({ size: S }) {
2261
+ function $({ size: S }) {
2262
2262
  n.setSideMenuWidth(S), n.setIsSideSelfDragging(!0);
2263
2263
  }
2264
2264
  const v = Q(() => l.value <= 80), z = R(!1);
@@ -2283,7 +2283,7 @@ const au = (t, u) => {
2283
2283
  min: 64,
2284
2284
  max: x.value
2285
2285
  },
2286
- onSizeDragEnd: P,
2286
+ onSizeDragEnd: $,
2287
2287
  lazy: !0
2288
2288
  }, {
2289
2289
  default: k(() => [
@@ -2491,9 +2491,9 @@ const Ss = [
2491
2491
  onChange: s
2492
2492
  }, {
2493
2493
  default: k(() => [
2494
- (d(!0), H(De, null, pe(o.slice(0, o.length - 1), (x, P) => (d(), H("div", { key: P }, [
2494
+ (d(!0), H(De, null, pe(o.slice(0, o.length - 1), (x, $) => (d(), H("div", { key: $ }, [
2495
2495
  (d(), b(N, {
2496
- key: P,
2496
+ key: $,
2497
2497
  value: x,
2498
2498
  class: K(`${e}--container-color-group`)
2499
2499
  }, {
@@ -2519,9 +2519,9 @@ const Ss = [
2519
2519
  onChange: s
2520
2520
  }, {
2521
2521
  default: k(() => [
2522
- (d(), H(De, null, pe(a, (x, P) => X("div", { key: P }, [
2522
+ (d(), H(De, null, pe(a, (x, $) => X("div", { key: $ }, [
2523
2523
  (d(), b(N, {
2524
- key: P,
2524
+ key: $,
2525
2525
  value: x.type
2526
2526
  }, {
2527
2527
  default: k(() => [
@@ -2575,14 +2575,14 @@ const r0 = /* @__PURE__ */ au(i0, [["render", l0]]), s0 = /* @__PURE__ */ oe({
2575
2575
  { "t-is-active": ((p = s.value) == null ? void 0 : p.name) === T.name },
2576
2576
  { "t-is-selected": o.value === T.name }
2577
2577
  ];
2578
- }, P = Pa(() => {
2578
+ }, $ = Pa(() => {
2579
2579
  var D;
2580
2580
  if (!((D = n.value) != null && D.$el))
2581
2581
  return;
2582
2582
  const T = n.value.$el.querySelectorAll(".t-menu__content"), p = Array.from(T).map((h) => {
2583
2583
  var m, U;
2584
- const $ = parseInt(getComputedStyle(h.parentElement).paddingLeft), g = ((m = h.parentElement.querySelector(".t-icon")) == null ? void 0 : m.clientWidth) || 0, F = ((U = h.parentElement.querySelector(".t-fake-arrow")) == null ? void 0 : U.clientWidth) || 0;
2585
- return h.clientWidth + $ + g + F + 30;
2584
+ const P = parseInt(getComputedStyle(h.parentElement).paddingLeft), g = ((m = h.parentElement.querySelector(".t-icon")) == null ? void 0 : m.clientWidth) || 0, F = ((U = h.parentElement.querySelector(".t-fake-arrow")) == null ? void 0 : U.clientWidth) || 0;
2585
+ return h.clientWidth + P + g + F + 30;
2586
2586
  }).filter(Boolean);
2587
2587
  l.value = Math.max(e.level === 1 ? 232 : 150, ...p);
2588
2588
  }, 150), v = (T) => {
@@ -2596,7 +2596,7 @@ const r0 = /* @__PURE__ */ au(i0, [["render", l0]]), s0 = /* @__PURE__ */ oe({
2596
2596
  je(
2597
2597
  () => e.isVisible,
2598
2598
  (T) => {
2599
- T ? P() : (a.value = !1, i.value = [], s.value = null, c.value = "", o.value = "");
2599
+ T ? $() : (a.value = !1, i.value = [], s.value = null, c.value = "", o.value = "");
2600
2600
  },
2601
2601
  {
2602
2602
  immediate: !0
@@ -2611,7 +2611,7 @@ const r0 = /* @__PURE__ */ au(i0, [["render", l0]]), s0 = /* @__PURE__ */ oe({
2611
2611
  }
2612
2612
  });
2613
2613
  return (T, p) => {
2614
- const D = Z("t-menu-item"), h = Z("t-submenu"), $ = Z("t-menu"), g = Z("t-drawer"), F = Z("GLayoutSideHoverMenuItem", !0);
2614
+ const D = Z("t-menu-item"), h = Z("t-submenu"), P = Z("t-menu"), g = Z("t-drawer"), F = Z("GLayoutSideHoverMenuItem", !0);
2615
2615
  return d(), H(De, null, [
2616
2616
  B(g, {
2617
2617
  class: K([M, E.value ? "" : "no-transition"]),
@@ -2627,7 +2627,7 @@ const r0 = /* @__PURE__ */ au(i0, [["render", l0]]), s0 = /* @__PURE__ */ oe({
2627
2627
  style: su({ marginLeft: `${T.parentWidth}px` })
2628
2628
  }, {
2629
2629
  default: k(() => [
2630
- B($, {
2630
+ B(P, {
2631
2631
  ref_key: "menuRef",
2632
2632
  ref: n,
2633
2633
  width: "100%",
@@ -3049,7 +3049,7 @@ const Xu = (t) => {
3049
3049
  onError: N = Wt
3050
3050
  }) => {
3051
3051
  var _;
3052
- const I = Vn(u, t) || "file", j = Vn(e, t), x = Mu(), P = i ? `${ft.pieceUploadFiles}?sessionId=${x}` : `${ft.baseUploadFile}?sessionId=${x}`, v = ge.getItem(tn) ?? "zh-CN", z = [];
3052
+ const I = Vn(u, t) || "file", j = Vn(e, t), x = Mu(), $ = i ? `${ft.pieceUploadFiles}?sessionId=${x}` : `${ft.baseUploadFile}?sessionId=${x}`, v = ge.getItem(tn) ?? "zh-CN", z = [];
3053
3053
  function S(T, p) {
3054
3054
  let D = 0;
3055
3055
  z.forEach((h) => {
@@ -3057,9 +3057,9 @@ const Xu = (t) => {
3057
3057
  }), T = D > 0 ? Math.min(Math.floor(D / a * 100), 99) / 100 : 0, r(T, p);
3058
3058
  }
3059
3059
  function E(T, p) {
3060
- let D = 0, h = 0, $ = !1, g = [];
3060
+ let D = 0, h = 0, P = !1, g = [];
3061
3061
  const F = T.length, m = async () => {
3062
- if ($)
3062
+ if (P)
3063
3063
  return;
3064
3064
  const f = T.shift();
3065
3065
  if (f) {
@@ -3068,7 +3068,7 @@ const Xu = (t) => {
3068
3068
  const C = O.total > 0 ? un.round(O.loaded / O.total, 2) : 0;
3069
3069
  z[w] = O.loaded, S(C, O);
3070
3070
  }, y.onerror = function(C) {
3071
- $ = !0, N(C);
3071
+ P = !0, N(C);
3072
3072
  }, y.onload = () => {
3073
3073
  if (y.status < 200 || y.status >= 300) {
3074
3074
  N(Xu(y));
@@ -3079,7 +3079,7 @@ const Xu = (t) => {
3079
3079
  M(O);
3080
3080
  } else
3081
3081
  D++, m();
3082
- }, y.open("post", P ?? "", !0);
3082
+ }, y.open("post", $ ?? "", !0);
3083
3083
  for (const O of Object.keys(n))
3084
3084
  y.setRequestHeader(O, n[O]);
3085
3085
  y.setRequestHeader("lang", v), y.send(f), g.push(y);
@@ -3088,21 +3088,21 @@ const Xu = (t) => {
3088
3088
  M(w);
3089
3089
  }
3090
3090
  }, U = () => {
3091
- p <= 0 || $ || (m(), setTimeout(U, Math.random() * 1e3), p--);
3091
+ p <= 0 || P || (m(), setTimeout(U, Math.random() * 1e3), p--);
3092
3092
  };
3093
3093
  return U(), g;
3094
3094
  }
3095
3095
  if (i && l) {
3096
3096
  let T = [];
3097
3097
  for (let h = 0; h < a; h = h + c) {
3098
- const $ = (_ = t.file) == null ? void 0 : _.slice(h, Math.min(h + c, a));
3099
- T.push($);
3098
+ const P = (_ = t.file) == null ? void 0 : _.slice(h, Math.min(h + c, a));
3099
+ T.push(P);
3100
3100
  }
3101
- const p = T == null ? void 0 : T.map((h, $) => {
3101
+ const p = T == null ? void 0 : T.map((h, P) => {
3102
3102
  const g = new FormData(), F = {
3103
3103
  key: l,
3104
- end: $ == T.length - 1,
3105
- index: $,
3104
+ end: P == T.length - 1,
3105
+ index: P,
3106
3106
  piece: h
3107
3107
  };
3108
3108
  if (j)
@@ -3137,7 +3137,7 @@ const Xu = (t) => {
3137
3137
  if (j)
3138
3138
  for (const D of Object.keys(j))
3139
3139
  p.append(D, j[D]);
3140
- t.file && p.append(I, t.file), T.open("post", P ?? "", !0);
3140
+ t.file && p.append(I, t.file), T.open("post", $ ?? "", !0);
3141
3141
  for (const D of Object.keys(n))
3142
3142
  T.setRequestHeader(D, n[D]);
3143
3143
  return T.setRequestHeader("lang", v), T.send(p), {
@@ -3360,8 +3360,8 @@ const Xu = (t) => {
3360
3360
  key: 1,
3361
3361
  class: K([(M = A(e)) == null ? void 0 : M.iconClass, `${(N = A(e)) == null ? void 0 : N.iconClass}-upload`]),
3362
3362
  onClick: s[0] || (s[0] = (x) => {
3363
- var P;
3364
- return (P = A(e)) == null ? void 0 : P.onUpload(t.file);
3363
+ var $;
3364
+ return ($ = A(e)) == null ? void 0 : $.onUpload(t.file);
3365
3365
  })
3366
3366
  }, [
3367
3367
  B(A(Su), {
@@ -3391,10 +3391,10 @@ const Xu = (t) => {
3391
3391
  theme: "light"
3392
3392
  }, {
3393
3393
  default: k(() => {
3394
- var x, P;
3394
+ var x, $;
3395
3395
  return [
3396
3396
  X("span", {
3397
- class: K([(x = A(e)) == null ? void 0 : x.iconClass, `${(P = A(e)) == null ? void 0 : P.iconClass}-start`]),
3397
+ class: K([(x = A(e)) == null ? void 0 : x.iconClass, `${($ = A(e)) == null ? void 0 : $.iconClass}-start`]),
3398
3398
  onClick: s[1] || (s[1] = (v) => {
3399
3399
  var z;
3400
3400
  return (z = A(e)) == null ? void 0 : z.onUpload(t.file);
@@ -3413,10 +3413,10 @@ const Xu = (t) => {
3413
3413
  theme: "light"
3414
3414
  }, {
3415
3415
  default: k(() => {
3416
- var x, P;
3416
+ var x, $;
3417
3417
  return [
3418
3418
  X("span", {
3419
- class: K([(x = A(e)) == null ? void 0 : x.iconClass, `${(P = A(e)) == null ? void 0 : P.iconClass}-cancel`]),
3419
+ class: K([(x = A(e)) == null ? void 0 : x.iconClass, `${($ = A(e)) == null ? void 0 : $.iconClass}-cancel`]),
3420
3420
  onClick: s[2] || (s[2] = (v) => {
3421
3421
  var z;
3422
3422
  return (z = A(e)) == null ? void 0 : z.onAbort(t.file);
@@ -3968,7 +3968,7 @@ const So = /* @__PURE__ */ au(C0, [["__scopeId", "data-v-8a486150"]]), z0 = /* @
3968
3968
  showPreviewButton: I,
3969
3969
  imageLoading: j,
3970
3970
  download: x,
3971
- showLink: P,
3971
+ showLink: $,
3972
3972
  showButtonProgress: v
3973
3973
  } = Na(o), z = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map(), E = R([]), _ = Q(() => o.directory ? E.value.length ? ko(E.value) : { fileId: "" } : { fileId: "" }), T = Q(() => o.limit > 0 && E.value.length >= o.limit), p = Q(() => o.buttonText ? o.buttonText : o.directory ? T.value ? `${n.t("重新选择")}` : `${n.t("上传文件夹")}` : T.value ? `${n.t("重新选择")}` : `${n.t("上传文件")}`), D = (L) => {
3974
3974
  z.clear();
@@ -3992,7 +3992,7 @@ const So = /* @__PURE__ */ au(C0, [["__scopeId", "data-v-8a486150"]]), z0 = /* @
3992
3992
  );
3993
3993
  const h = (L) => {
3994
3994
  a("update:fileList", E.value), a("change", E.value, L);
3995
- }, $ = async (L) => {
3995
+ }, P = async (L) => {
3996
3996
  const Y = await A0({
3997
3997
  suffix: Oo(L.name).split(".")[1]
3998
3998
  // url: file.name,
@@ -4003,7 +4003,7 @@ const So = /* @__PURE__ */ au(C0, [["__scopeId", "data-v-8a486150"]]), z0 = /* @
4003
4003
  var Be;
4004
4004
  const Y = ((Be = L.file) == null ? void 0 : Be.size) ?? 1, W = Y > o.largeLimit;
4005
4005
  let J = "";
4006
- W && (J = await $(L.file));
4006
+ W && (J = await P(L.file));
4007
4007
  const re = (me, G) => {
4008
4008
  const te = z.get(L.fileId);
4009
4009
  te && (te.status = "uploading", te.percent = me, a("progress", te, G));
@@ -4119,7 +4119,7 @@ const So = /* @__PURE__ */ au(C0, [["__scopeId", "data-v-8a486150"]]), z0 = /* @
4119
4119
  showRetryButton: r,
4120
4120
  showCancelButton: M,
4121
4121
  showPreviewButton: I,
4122
- showLink: P,
4122
+ showLink: $,
4123
4123
  showButtonProgress: v,
4124
4124
  imageLoading: j,
4125
4125
  download: x,
@@ -4204,7 +4204,7 @@ const sn = We(O0), k0 = { class: "display-column-checkbox" }, S0 = { class: "foo
4204
4204
  }, 1e3);
4205
4205
  }
4206
4206
  return (I, j) => {
4207
- const x = Z("t-button"), P = Z("t-checkbox"), v = Z("t-checkbox-group"), z = Z("t-space"), S = Z("t-popup");
4207
+ const x = Z("t-button"), $ = Z("t-checkbox"), v = Z("t-checkbox-group"), z = Z("t-space"), S = Z("t-popup");
4208
4208
  return d(), b(S, {
4209
4209
  trigger: "click",
4210
4210
  placement: "bottom-right",
@@ -4220,7 +4220,7 @@ const sn = We(O0), k0 = { class: "display-column-checkbox" }, S0 = { class: "foo
4220
4220
  class: "checkbox"
4221
4221
  }, {
4222
4222
  default: k(() => [
4223
- B(P, {
4223
+ B($, {
4224
4224
  checked: s.value,
4225
4225
  indeterminate: c.value,
4226
4226
  "on-change": l
@@ -4806,9 +4806,9 @@ const Yo = /* @__PURE__ */ oe({
4806
4806
  ), uu(() => {
4807
4807
  I($e(o.value, c));
4808
4808
  });
4809
- const x = R(), P = R(!1);
4809
+ const x = R(), $ = R(!1);
4810
4810
  Ye(() => {
4811
- x.value && (P.value = Gu(x.value));
4811
+ x.value && ($.value = Gu(x.value));
4812
4812
  });
4813
4813
  const v = Ue(zt);
4814
4814
  return (z, S) => {
@@ -4817,7 +4817,7 @@ const Yo = /* @__PURE__ */ oe({
4817
4817
  ref_key: "formSelectRef",
4818
4818
  ref: x,
4819
4819
  style: { width: "100%" },
4820
- title: P.value ? z.placeholder : ""
4820
+ title: $.value ? z.placeholder : ""
4821
4821
  }, [
4822
4822
  B(E, ye({
4823
4823
  modelValue: M.value,
@@ -4883,7 +4883,7 @@ const Yo = /* @__PURE__ */ oe({
4883
4883
  return Ye(() => {
4884
4884
  s.value && (c.value = Gu(s.value));
4885
4885
  }), (r, M) => {
4886
- var j, x, P, v, z;
4886
+ var j, x, $, v, z;
4887
4887
  const N = Z("t-date-picker"), I = Z("t-time-picker");
4888
4888
  return d(), H("div", {
4889
4889
  ref_key: "formSelectDateTimeRef",
@@ -4893,7 +4893,7 @@ const Yo = /* @__PURE__ */ oe({
4893
4893
  }, [
4894
4894
  ((j = r.formItem) == null ? void 0 : j.itemType) === "date_selector" || ((x = r.formItem) == null ? void 0 : x.itemType) === "date_time_selector" ? (d(), b(N, {
4895
4895
  key: 0,
4896
- "enable-time-picker": ((P = r.formItem) == null ? void 0 : P.itemType) === "date_time_selector",
4896
+ "enable-time-picker": (($ = r.formItem) == null ? void 0 : $.itemType) === "date_time_selector",
4897
4897
  placeholder: r.placeholder,
4898
4898
  modelValue: o.value,
4899
4899
  "onUpdate:modelValue": M[0] || (M[0] = (S) => o.value = S),
@@ -4946,8 +4946,8 @@ const Yo = /* @__PURE__ */ oe({
4946
4946
  var x;
4947
4947
  return (x = e.formItem) == null ? void 0 : x.treeData;
4948
4948
  }), a = Q(() => {
4949
- var x, P;
4950
- return ((P = (x = e.formItem) == null ? void 0 : x.treeData) == null ? void 0 : P.dataId) ?? "";
4949
+ var x, $;
4950
+ return (($ = (x = e.formItem) == null ? void 0 : x.treeData) == null ? void 0 : $.dataId) ?? "";
4951
4951
  }), i = Ue(Yu, void 0), {
4952
4952
  options: l
4953
4953
  } = ht({
@@ -4957,8 +4957,8 @@ const Yo = /* @__PURE__ */ oe({
4957
4957
  dataId: a.value,
4958
4958
  propsModel: i
4959
4959
  }), s = u;
4960
- function c(x, P) {
4961
- P && console.log(P), s("update:modelValue", x);
4960
+ function c(x) {
4961
+ s("update:modelValue", x);
4962
4962
  }
4963
4963
  function r(x) {
4964
4964
  e.originValue != x && s("blur:modelValue", x);
@@ -4979,10 +4979,10 @@ const Yo = /* @__PURE__ */ oe({
4979
4979
  deep: !0,
4980
4980
  immediate: !0
4981
4981
  });
4982
- const j = (x, P) => B("span", {
4983
- title: P.label
4984
- }, [P.label]);
4985
- return (x, P) => {
4982
+ const j = (x, $) => B("span", {
4983
+ title: $.label
4984
+ }, [$.label]);
4985
+ return (x, $) => {
4986
4986
  const v = Z("t-tree-select");
4987
4987
  return d(), H("div", {
4988
4988
  ref_key: "formTreeCheckBoxRef",
@@ -4993,7 +4993,7 @@ const Yo = /* @__PURE__ */ oe({
4993
4993
  title: N.value ? x.placeholder : ""
4994
4994
  }, [B(v, {
4995
4995
  modelValue: I.value,
4996
- "onUpdate:modelValue": P[0] || (P[0] = (z) => I.value = z),
4996
+ "onUpdate:modelValue": $[0] || ($[0] = (z) => I.value = z),
4997
4997
  data: A(l),
4998
4998
  placeholder: x.placeholder,
4999
4999
  multiple: x.multiple,
@@ -5003,11 +5003,9 @@ const Yo = /* @__PURE__ */ oe({
5003
5003
  label: j
5004
5004
  },
5005
5005
  disabled: x.disabled,
5006
- expandOnClickNode: !1,
5006
+ clearable: !0,
5007
5007
  onChange: c,
5008
- onBlur: r,
5009
- clearable: "",
5010
- filterable: ""
5008
+ onBlur: r
5011
5009
  }, null, 8, ["modelValue", "data", "placeholder", "multiple", "treeProps", "disabled"])], 8, H0);
5012
5010
  };
5013
5011
  }
@@ -5069,14 +5067,14 @@ const Yo = /* @__PURE__ */ oe({
5069
5067
  immediate: !0
5070
5068
  }
5071
5069
  ), (j, x) => {
5072
- const P = Z("t-cascader");
5070
+ const $ = Z("t-cascader");
5073
5071
  return d(), H("div", {
5074
5072
  ref_key: "formCascaderRef",
5075
5073
  ref: M,
5076
5074
  style: { width: "100%" },
5077
5075
  title: N.value ? j.placeholder : ""
5078
5076
  }, [
5079
- B(P, {
5077
+ B($, {
5080
5078
  modelValue: I.value,
5081
5079
  "onUpdate:modelValue": x[0] || (x[0] = (v) => I.value = v),
5082
5080
  options: A(l),
@@ -5134,13 +5132,13 @@ const Yo = /* @__PURE__ */ oe({
5134
5132
  else if (n.formItem.fileUploadType == "path")
5135
5133
  if (r.length) {
5136
5134
  const M = r.map((N) => {
5137
- const { fileId: I, filename: j, relativePath: x, url: P, file: v } = N;
5135
+ const { fileId: I, filename: j, relativePath: x, url: $, file: v } = N;
5138
5136
  return {
5139
5137
  fileId: I,
5140
5138
  filename: j,
5141
5139
  relativePath: x,
5142
- url: P,
5143
- ...P ? {} : { file: v }
5140
+ url: $,
5141
+ ...$ ? {} : { file: v }
5144
5142
  };
5145
5143
  });
5146
5144
  o("update:modelValue", M), o("blur:modelValue", M);
@@ -5194,18 +5192,18 @@ var Vo = { exports: {} };
5194
5192
  return new E(T, D, p.$l);
5195
5193
  }, x = function(T) {
5196
5194
  return n.p(T) + "s";
5197
- }, P = function(T) {
5195
+ }, $ = function(T) {
5198
5196
  return T < 0;
5199
5197
  }, v = function(T) {
5200
- return P(T) ? Math.ceil(T) : Math.floor(T);
5198
+ return $(T) ? Math.ceil(T) : Math.floor(T);
5201
5199
  }, z = function(T) {
5202
5200
  return Math.abs(T);
5203
5201
  }, S = function(T, p) {
5204
- return T ? P(T) ? { negative: !0, format: "" + z(T) + p } : { negative: !1, format: "" + T + p } : { negative: !1, format: "" };
5202
+ return T ? $(T) ? { negative: !0, format: "" + z(T) + p } : { negative: !1, format: "" + T + p } : { negative: !1, format: "" };
5205
5203
  }, E = function() {
5206
- function T(D, h, $) {
5204
+ function T(D, h, P) {
5207
5205
  var g = this;
5208
- if (this.$d = {}, this.$l = $, D === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), h)
5206
+ if (this.$d = {}, this.$l = P, D === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), h)
5209
5207
  return j(D * N[x(h)], this);
5210
5208
  if (typeof D == "number")
5211
5209
  return this.$ms = D, this.parseFromMilliseconds(), this;
@@ -5227,34 +5225,34 @@ var Vo = { exports: {} };
5227
5225
  var p = T.prototype;
5228
5226
  return p.calMilliseconds = function() {
5229
5227
  var D = this;
5230
- this.$ms = Object.keys(this.$d).reduce(function(h, $) {
5231
- return h + (D.$d[$] || 0) * N[$];
5228
+ this.$ms = Object.keys(this.$d).reduce(function(h, P) {
5229
+ return h + (D.$d[P] || 0) * N[P];
5232
5230
  }, 0);
5233
5231
  }, p.parseFromMilliseconds = function() {
5234
5232
  var D = this.$ms;
5235
5233
  this.$d.years = v(D / c), D %= c, this.$d.months = v(D / r), D %= r, this.$d.days = v(D / l), D %= l, this.$d.hours = v(D / i), D %= i, this.$d.minutes = v(D / a), D %= a, this.$d.seconds = v(D / o), D %= o, this.$d.milliseconds = D;
5236
5234
  }, p.toISOString = function() {
5237
- var D = S(this.$d.years, "Y"), h = S(this.$d.months, "M"), $ = +this.$d.days || 0;
5238
- this.$d.weeks && ($ += 7 * this.$d.weeks);
5239
- var g = S($, "D"), F = S(this.$d.hours, "H"), m = S(this.$d.minutes, "M"), U = this.$d.seconds || 0;
5235
+ var D = S(this.$d.years, "Y"), h = S(this.$d.months, "M"), P = +this.$d.days || 0;
5236
+ this.$d.weeks && (P += 7 * this.$d.weeks);
5237
+ var g = S(P, "D"), F = S(this.$d.hours, "H"), m = S(this.$d.minutes, "M"), U = this.$d.seconds || 0;
5240
5238
  this.$d.milliseconds && (U += this.$d.milliseconds / 1e3, U = Math.round(1e3 * U) / 1e3);
5241
5239
  var f = S(U, "S"), w = D.negative || h.negative || g.negative || F.negative || m.negative || f.negative, y = F.format || m.format || f.format ? "T" : "", O = (w ? "-" : "") + "P" + D.format + h.format + g.format + y + F.format + m.format + f.format;
5242
5240
  return O === "P" || O === "-P" ? "P0D" : O;
5243
5241
  }, p.toJSON = function() {
5244
5242
  return this.toISOString();
5245
5243
  }, p.format = function(D) {
5246
- var h = D || "YYYY-MM-DDTHH:mm:ss", $ = { Y: this.$d.years, YY: n.s(this.$d.years, 2, "0"), YYYY: n.s(this.$d.years, 4, "0"), M: this.$d.months, MM: n.s(this.$d.months, 2, "0"), D: this.$d.days, DD: n.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: n.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: n.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: n.s(this.$d.seconds, 2, "0"), SSS: n.s(this.$d.milliseconds, 3, "0") };
5244
+ var h = D || "YYYY-MM-DDTHH:mm:ss", P = { Y: this.$d.years, YY: n.s(this.$d.years, 2, "0"), YYYY: n.s(this.$d.years, 4, "0"), M: this.$d.months, MM: n.s(this.$d.months, 2, "0"), D: this.$d.days, DD: n.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: n.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: n.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: n.s(this.$d.seconds, 2, "0"), SSS: n.s(this.$d.milliseconds, 3, "0") };
5247
5245
  return h.replace(s, function(g, F) {
5248
- return F || String($[g]);
5246
+ return F || String(P[g]);
5249
5247
  });
5250
5248
  }, p.as = function(D) {
5251
5249
  return this.$ms / N[x(D)];
5252
5250
  }, p.get = function(D) {
5253
- var h = this.$ms, $ = x(D);
5254
- return $ === "milliseconds" ? h %= 1e3 : h = $ === "weeks" ? v(h / N[$]) : this.$d[$], h || 0;
5255
- }, p.add = function(D, h, $) {
5251
+ var h = this.$ms, P = x(D);
5252
+ return P === "milliseconds" ? h %= 1e3 : h = P === "weeks" ? v(h / N[P]) : this.$d[P], h || 0;
5253
+ }, p.add = function(D, h, P) {
5256
5254
  var g;
5257
- return g = h ? D * N[x(h)] : I(D) ? D.$ms : j(D, this).$ms, j(this.$ms + g * ($ ? -1 : 1), this);
5255
+ return g = h ? D * N[x(h)] : I(D) ? D.$ms : j(D, this).$ms, j(this.$ms + g * (P ? -1 : 1), this);
5258
5256
  }, p.subtract = function(D, h) {
5259
5257
  return this.add(D, h, !0);
5260
5258
  }, p.locale = function(D) {
@@ -5307,11 +5305,11 @@ var Vo = { exports: {} };
5307
5305
  var m = D.locale();
5308
5306
  return j(g, { $l: m }, F);
5309
5307
  }, D.isDuration = I;
5310
- var h = p.prototype.add, $ = p.prototype.subtract;
5308
+ var h = p.prototype.add, P = p.prototype.subtract;
5311
5309
  p.prototype.add = function(g, F) {
5312
5310
  return I(g) ? _(this, g, 1) : h.bind(this)(g, F);
5313
5311
  }, p.prototype.subtract = function(g, F) {
5314
- return I(g) ? _(this, g, -1) : $.bind(this)(g, F);
5312
+ return I(g) ? _(this, g, -1) : P.bind(this)(g, F);
5315
5313
  };
5316
5314
  };
5317
5315
  });
@@ -5353,12 +5351,12 @@ const J0 = /* @__PURE__ */ K0(q0), X0 = ["title"], e4 = /* @__PURE__ */ oe({
5353
5351
  a("update:modelValue", "");
5354
5352
  }
5355
5353
  function l(r) {
5356
- const { value: M } = r, N = M.split(":"), [I, j, x] = N, P = ju.duration({
5354
+ const { value: M } = r, N = M.split(":"), [I, j, x] = N, $ = ju.duration({
5357
5355
  hours: I,
5358
5356
  minutes: j,
5359
5357
  seconds: x
5360
5358
  }).asMilliseconds();
5361
- e.originValue != P && a("blur:modelValue", P);
5359
+ e.originValue != $ && a("blur:modelValue", $);
5362
5360
  }
5363
5361
  je(
5364
5362
  () => e.disabled,
@@ -5440,7 +5438,7 @@ const u4 = /* @__PURE__ */ oe({
5440
5438
  I.value = !0;
5441
5439
  }, x = (z) => {
5442
5440
  I.value = !1, n.originValue != z.getHtml() && c("blur:modelValue", z.getHtml());
5443
- }, P = () => {
5441
+ }, $ = () => {
5444
5442
  const z = i.value;
5445
5443
  z != null && z.disable();
5446
5444
  }, v = () => {
@@ -5450,7 +5448,7 @@ const u4 = /* @__PURE__ */ oe({
5450
5448
  return je(
5451
5449
  () => n.disabled,
5452
5450
  () => {
5453
- n.disabled ? P() : v();
5451
+ n.disabled ? $() : v();
5454
5452
  }
5455
5453
  ), uu(() => {
5456
5454
  c("update:modelValue", "");
@@ -5532,7 +5530,7 @@ const u4 = /* @__PURE__ */ oe({
5532
5530
  return uu(() => {
5533
5531
  l($e(o.value));
5534
5532
  }), (N, I) => {
5535
- const j = Z("t-button"), x = Z("t-input"), P = Z("t-input-group"), v = Z("t-space");
5533
+ const j = Z("t-button"), x = Z("t-input"), $ = Z("t-input-group"), v = Z("t-space");
5536
5534
  return d(), b(v, null, {
5537
5535
  default: k(() => [
5538
5536
  a.value.length == 0 ? (d(), b(j, {
@@ -5549,7 +5547,7 @@ const u4 = /* @__PURE__ */ oe({
5549
5547
  direction: "vertical"
5550
5548
  }, {
5551
5549
  default: k(() => [
5552
- (d(!0), H(De, null, pe(a.value, (z, S) => (d(), b(P, { key: S }, {
5550
+ (d(!0), H(De, null, pe(a.value, (z, S) => (d(), b($, { key: S }, {
5553
5551
  default: k(() => [
5554
5552
  B(x, {
5555
5553
  style: { width: "200px" },
@@ -5646,7 +5644,7 @@ const n4 = ["id"], o4 = /* @__PURE__ */ oe({
5646
5644
  }
5647
5645
  const x = Q(
5648
5646
  () => a.formItem.keyName ? a.formItem.keyName : a.formItem.name
5649
- ), P = Q(() => {
5647
+ ), $ = Q(() => {
5650
5648
  switch (a.formItem.itemType) {
5651
5649
  case "text_input":
5652
5650
  case "rich_text":
@@ -5669,7 +5667,7 @@ const n4 = ["id"], o4 = /* @__PURE__ */ oe({
5669
5667
  if (a.formItem.placeholder && a.formItem.placeholder !== "")
5670
5668
  return a.formItem.placeholder;
5671
5669
  const D = a.formItem.name.trim().replace(/[::]/g, "").replace(/ {2,}/g, "");
5672
- return D !== "" ? `${P.value}${D}` : "";
5670
+ return D !== "" ? `${$.value}${D}` : "";
5673
5671
  }), z = Q(() => a.formItem.name.replace(/:|:/, "")), S = R(!1), E = R(150), _ = Q(() => E.value + 20), T = R(null);
5674
5672
  function p() {
5675
5673
  if (T.value) {
@@ -5685,7 +5683,7 @@ const n4 = ["id"], o4 = /* @__PURE__ */ oe({
5685
5683
  getDisableFlag: I,
5686
5684
  setBlockShowFlag: j
5687
5685
  }), (D, h) => {
5688
- const $ = Z("t-divider"), g = Z("t-tooltip"), F = Z("t-form-item");
5686
+ const P = Z("t-divider"), g = Z("t-tooltip"), F = Z("t-form-item");
5689
5687
  return d(), H("div", {
5690
5688
  ref_key: "formItemRef",
5691
5689
  ref: T,
@@ -5693,7 +5691,7 @@ const n4 = ["id"], o4 = /* @__PURE__ */ oe({
5693
5691
  id: x.value
5694
5692
  }, [
5695
5693
  N.value ? (d(), H(De, { key: 0 }, [
5696
- D.formItem.itemType === "line" && D.formItem.name && A(l)(D.formItem.showIf, D.formItem) ? (d(), b($, {
5694
+ D.formItem.itemType === "line" && D.formItem.name && A(l)(D.formItem.showIf, D.formItem) ? (d(), b(P, {
5697
5695
  key: 0,
5698
5696
  align: "left"
5699
5697
  }, {
@@ -5962,7 +5960,7 @@ const pt = /* @__PURE__ */ au(o4, [["__scopeId", "data-v-a507a307"]]), a4 = ["id
5962
5960
  }
5963
5961
  }
5964
5962
  const j = R(), x = R();
5965
- function P(g, F, m) {
5963
+ function $(g, F, m) {
5966
5964
  j.value && j.value.forEach((U) => {
5967
5965
  U.formItemId && F.includes(U.formItemId) && U.$el.classList.contains(g) && U.setBlockShowFlag(m);
5968
5966
  });
@@ -6054,9 +6052,9 @@ const pt = /* @__PURE__ */ au(o4, [["__scopeId", "data-v-a507a307"]]), a4 = ["id
6054
6052
  }
6055
6053
  }
6056
6054
  }
6057
- const $ = R(!1);
6055
+ const P = R(!1);
6058
6056
  return u({
6059
- formOkButtonLoading: $
6057
+ formOkButtonLoading: P
6060
6058
  }), je(
6061
6059
  () => o.formData,
6062
6060
  () => {
@@ -6092,7 +6090,7 @@ const pt = /* @__PURE__ */ au(o4, [["__scopeId", "data-v-a507a307"]]), a4 = ["id
6092
6090
  name: U.name,
6093
6091
  blockType: U.itemType,
6094
6092
  showIf: A(s)(U.showIf),
6095
- onBlockShowIfChange: P
6093
+ onBlockShowIfChange: $
6096
6094
  }, null, 8, ["name", "blockType", "showIf"])) : (d(), b(pt, {
6097
6095
  key: 1,
6098
6096
  ref_for: !0,
@@ -6125,12 +6123,12 @@ const pt = /* @__PURE__ */ au(o4, [["__scopeId", "data-v-a507a307"]]), a4 = ["id
6125
6123
  key: 1,
6126
6124
  theme: "primary",
6127
6125
  onClick: F[1] || (F[1] = (f) => E.value && h(E.value)),
6128
- loading: $.value
6126
+ loading: P.value
6129
6127
  }, {
6130
6128
  default: k(() => {
6131
6129
  var f;
6132
6130
  return [
6133
- $.value ? (d(), H(De, { key: 1 }, [
6131
+ P.value ? (d(), H(De, { key: 1 }, [
6134
6132
  ie(ue(A(n).t("提交中")), 1)
6135
6133
  ], 64)) : (d(), H(De, { key: 0 }, [
6136
6134
  ie(ue((f = E.value) == null ? void 0 : f.name), 1)
@@ -6193,7 +6191,7 @@ const l4 = /* @__PURE__ */ oe({
6193
6191
  function x() {
6194
6192
  r("close-dialog");
6195
6193
  }
6196
- const P = R({}), v = R(!1);
6194
+ const $ = R({}), v = R(!1);
6197
6195
  async function z() {
6198
6196
  try {
6199
6197
  if (v.value = !0, !eu(i.value) && !eu(a.viewName)) {
@@ -6202,9 +6200,9 @@ const l4 = /* @__PURE__ */ oe({
6202
6200
  viewName: a.viewName,
6203
6201
  props: s.value
6204
6202
  });
6205
- S.state === 200 && S.data && (P.value = S.data);
6203
+ S.state === 200 && S.data && ($.value = S.data);
6206
6204
  }
6207
- eu(i.value) && (P.value = { ...s.value });
6205
+ eu(i.value) && ($.value = { ...s.value });
6208
6206
  } catch (S) {
6209
6207
  console.warn("getViewDataApi", S);
6210
6208
  } finally {
@@ -6235,7 +6233,7 @@ const l4 = /* @__PURE__ */ oe({
6235
6233
  viewName: S.viewName,
6236
6234
  board: S.board,
6237
6235
  dialogProps: S.dialogProps,
6238
- formData: P.value,
6236
+ formData: $.value,
6239
6237
  onConfirmForm: I,
6240
6238
  onConfirmAndClose: j,
6241
6239
  onCloseDialog: x
@@ -6291,9 +6289,9 @@ const l4 = /* @__PURE__ */ oe({
6291
6289
  S = `${location.origin}/${E}`;
6292
6290
  }
6293
6291
  return n.dialogViewInfo.link ? S : "";
6294
- }), x = R(), P = R(!0);
6292
+ }), x = R(), $ = R(!0);
6295
6293
  function v() {
6296
- P.value = !1;
6294
+ $.value = !1;
6297
6295
  }
6298
6296
  return (z, S) => {
6299
6297
  const E = Z("t-loading");
@@ -6314,7 +6312,7 @@ const l4 = /* @__PURE__ */ oe({
6314
6312
  }, {
6315
6313
  body: k(() => [
6316
6314
  B(E, {
6317
- loading: z.dialogType === "iframe" && P.value,
6315
+ loading: z.dialogType === "iframe" && $.value,
6318
6316
  size: "medium",
6319
6317
  text: `${A(e).t("加载中")}`
6320
6318
  }, {
@@ -6380,7 +6378,7 @@ const M4 = We(s4), c4 = { class: "g-form" }, D4 = { class: "g-form-header" }, N4
6380
6378
  deep: !0
6381
6379
  }
6382
6380
  );
6383
- const x = R(), P = Q(() => {
6381
+ const x = R(), $ = Q(() => {
6384
6382
  var y;
6385
6383
  return (y = x.value) == null ? void 0 : y.tFormRef;
6386
6384
  }), v = R({});
@@ -6436,12 +6434,12 @@ const M4 = We(s4), c4 = { class: "g-form" }, D4 = { class: "g-form-header" }, N4
6436
6434
  v.value = await z(), S();
6437
6435
  });
6438
6436
  function p(y, O) {
6439
- Ke(r.value, y, O), P.value && D([y]);
6437
+ Ke(r.value, y, O), $.value && D([y]);
6440
6438
  }
6441
6439
  async function D(y = []) {
6442
6440
  var L;
6443
6441
  const O = h();
6444
- return (y.length ? y.some((Y) => O.includes(Y)) : !0) ? (L = P.value) == null ? void 0 : L.validate({
6442
+ return (y.length ? y.some((Y) => O.includes(Y)) : !0) ? (L = $.value) == null ? void 0 : L.validate({
6445
6443
  fields: y.length ? y : O
6446
6444
  }) : Promise.resolve({});
6447
6445
  }
@@ -6451,7 +6449,7 @@ const M4 = We(s4), c4 = { class: "g-form" }, D4 = { class: "g-form-header" }, N4
6451
6449
  const { formItem: C } = O;
6452
6450
  return (C.keyName ?? "") != "" && !O.getDisableFlag() ? C.inputType !== "RE_PASSWORD" ? C.keyName : "rePassword" : [];
6453
6451
  });
6454
- }, $ = Q(() => {
6452
+ }, P = Q(() => {
6455
6453
  var y;
6456
6454
  return (y = l.board) == null ? void 0 : y.okButton;
6457
6455
  }), g = Q(() => {
@@ -6551,10 +6549,10 @@ const M4 = We(s4), c4 = { class: "g-form" }, D4 = { class: "g-form-header" }, N4
6551
6549
  }),
6552
6550
  _: 1
6553
6551
  })) : q("", !0),
6554
- $.value && $.value.name != "" && ((Y = $.value) == null ? void 0 : Y.action) !== "NONE" ? (d(), b(C, {
6552
+ P.value && P.value.name != "" && ((Y = P.value) == null ? void 0 : Y.action) !== "NONE" ? (d(), b(C, {
6555
6553
  key: 1,
6556
6554
  theme: "primary",
6557
- onClick: O[1] || (O[1] = (W) => $.value && f($.value)),
6555
+ onClick: O[1] || (O[1] = (W) => P.value && f(P.value)),
6558
6556
  loading: w.value
6559
6557
  }, {
6560
6558
  default: k(() => {
@@ -6563,7 +6561,7 @@ const M4 = We(s4), c4 = { class: "g-form" }, D4 = { class: "g-form-header" }, N4
6563
6561
  w.value ? (d(), H(De, { key: 1 }, [
6564
6562
  ie(ue(A(n).t("提交中")), 1)
6565
6563
  ], 64)) : (d(), H(De, { key: 0 }, [
6566
- ie(ue((W = $.value) == null ? void 0 : W.name), 1)
6564
+ ie(ue((W = P.value) == null ? void 0 : W.name), 1)
6567
6565
  ], 64))
6568
6566
  ];
6569
6567
  }),
@@ -6732,7 +6730,7 @@ const d4 = /* @__PURE__ */ au(g4, [["__scopeId", "data-v-0e96ba67"]]), T4 = We(d
6732
6730
  suffixIcon: () => B(Ba, null, null)
6733
6731
  } : {};
6734
6732
  }
6735
- function P() {
6733
+ function $() {
6736
6734
  N.value = _e(at({}, l.value, !0));
6737
6735
  const T = _e(N.value);
6738
6736
  Object.keys(T).forEach((p) => {
@@ -6756,7 +6754,7 @@ const d4 = /* @__PURE__ */ au(g4, [["__scopeId", "data-v-0e96ba67"]]), T4 = We(d
6756
6754
  }), tu("isHeaderFormItem", !0);
6757
6755
  const _ = Ue("tableSelectedRow", R([]));
6758
6756
  return (T, p) => {
6759
- const D = Z("t-button"), h = Z("t-space"), $ = Z("t-form");
6757
+ const D = Z("t-button"), h = Z("t-space"), P = Z("t-form");
6760
6758
  return d(), H("div", A4, [a.value && a.value.length ? (d(), b(h, {
6761
6759
  key: 0,
6762
6760
  class: "g-header-button",
@@ -6788,7 +6786,7 @@ const d4 = /* @__PURE__ */ au(g4, [["__scopeId", "data-v-0e96ba67"]]), T4 = We(d
6788
6786
  })) : q("", !0), X("div", m4, [B(h, {
6789
6787
  size: "8px"
6790
6788
  }, {
6791
- default: k(() => [B($, {
6789
+ default: k(() => [B(P, {
6792
6790
  labelAlign: "left",
6793
6791
  layout: "inline",
6794
6792
  colon: ""
@@ -6826,7 +6824,7 @@ const d4 = /* @__PURE__ */ au(g4, [["__scopeId", "data-v-0e96ba67"]]), T4 = We(d
6826
6824
  }, null, 8, ["formItem", "formModel", "viewName", "componentProps"])]))), 128)), s.value.length || c.value.length ? (d(), b(D, {
6827
6825
  key: 0,
6828
6826
  theme: "default",
6829
- onClick: P
6827
+ onClick: $
6830
6828
  }, {
6831
6829
  default: k(() => [ie(ue(A(e).t("重置")), 1)]),
6832
6830
  _: 1
@@ -6980,25 +6978,25 @@ const y4 = /* @__PURE__ */ au(I4, [["__scopeId", "data-v-63db2f69"]]), E4 = We(y
6980
6978
  } catch (h) {
6981
6979
  return console.warn("Button filter evaluation error:", h), !1;
6982
6980
  }
6983
- })), j = (D) => D.name ? r.value.get(D.name) ?? 0 : 0, x = Q(() => I.value.reduce((D, h) => D + j(h), 0)), P = Q(() => {
6981
+ })), j = (D) => D.name ? r.value.get(D.name) ?? 0 : 0, x = Q(() => I.value.reduce((D, h) => D + j(h), 0)), $ = Q(() => {
6984
6982
  if (!c.value || !s.value)
6985
6983
  return I.value.length;
6986
6984
  if (s.value < N.value) {
6987
- let D = s.value, h = 0, $ = Nt;
6985
+ let D = s.value, h = 0, P = Nt;
6988
6986
  I.value.length > M.value && (D -= Ht);
6989
6987
  for (const g of I.value) {
6990
6988
  const F = j(g);
6991
- if ($ + F < D)
6992
- $ += F, h++;
6989
+ if (P + F < D)
6990
+ P += F, h++;
6993
6991
  else
6994
6992
  break;
6995
6993
  }
6996
6994
  return Math.max(M.value, h);
6997
6995
  } else
6998
6996
  return I.value.length;
6999
- }), v = Q(() => I.value.slice(0, P.value)), z = Q(() => I.value.slice(P.value)), S = Q(() => z.value.length > 0);
6997
+ }), v = Q(() => I.value.slice(0, $.value)), z = Q(() => I.value.slice($.value)), S = Q(() => z.value.length > 0);
7000
6998
  je(
7001
- () => P.value,
6999
+ () => $.value,
7002
7000
  (D) => {
7003
7001
  D <= 0 && (s.value = Ht);
7004
7002
  }
@@ -7006,8 +7004,8 @@ const y4 = /* @__PURE__ */ au(I4, [["__scopeId", "data-v-63db2f69"]]), E4 = We(y
7006
7004
  const E = (D, h) => {
7007
7005
  n.value && (n.value = !1), o("table-button-action", D, h);
7008
7006
  }, _ = async () => {
7009
- l.value.forEach((h, $) => {
7010
- const g = I.value[$];
7007
+ l.value.forEach((h, P) => {
7008
+ const g = I.value[P];
7011
7009
  g && g.name && (h != null && h.$el) && r.value.set(g.name, h.$el.offsetWidth);
7012
7010
  }), await ao();
7013
7011
  const D = x.value + Nt;
@@ -7031,7 +7029,7 @@ const y4 = /* @__PURE__ */ au(I4, [["__scopeId", "data-v-63db2f69"]]), E4 = We(y
7031
7029
  },
7032
7030
  { deep: !0 }
7033
7031
  ), (D, h) => {
7034
- const $ = Z("t-button"), g = Z("t-space"), F = Z("t-popup");
7032
+ const P = Z("t-button"), g = Z("t-space"), F = Z("t-popup");
7035
7033
  return c.value ? (d(), b(g, {
7036
7034
  key: 0,
7037
7035
  ref_key: "GTableOperationsRef",
@@ -7043,7 +7041,7 @@ const y4 = /* @__PURE__ */ au(I4, [["__scopeId", "data-v-63db2f69"]]), E4 = We(y
7043
7041
  }
7044
7042
  }, {
7045
7043
  default: k(() => [
7046
- (d(!0), H(De, null, pe(v.value, (m) => (d(), b($, {
7044
+ (d(!0), H(De, null, pe(v.value, (m) => (d(), b(P, {
7047
7045
  key: m.name,
7048
7046
  ref_for: !0,
7049
7047
  ref_key: "buttonRefs",
@@ -7070,7 +7068,7 @@ const y4 = /* @__PURE__ */ au(I4, [["__scopeId", "data-v-63db2f69"]]), E4 = We(y
7070
7068
  size: "0"
7071
7069
  }, {
7072
7070
  default: k(() => [
7073
- (d(!0), H(De, null, pe(z.value, (m) => (d(), b($, {
7071
+ (d(!0), H(De, null, pe(z.value, (m) => (d(), b(P, {
7074
7072
  key: m.name,
7075
7073
  theme: "primary",
7076
7074
  variant: "text",
@@ -7086,7 +7084,7 @@ const y4 = /* @__PURE__ */ au(I4, [["__scopeId", "data-v-63db2f69"]]), E4 = We(y
7086
7084
  })
7087
7085
  ]),
7088
7086
  default: k(() => [
7089
- B($, {
7087
+ B(P, {
7090
7088
  variant: "text",
7091
7089
  shape: "circle"
7092
7090
  }, {
@@ -7111,7 +7109,7 @@ const y4 = /* @__PURE__ */ au(I4, [["__scopeId", "data-v-63db2f69"]]), E4 = We(y
7111
7109
  }
7112
7110
  }, {
7113
7111
  default: k(() => [
7114
- (d(!0), H(De, null, pe(I.value, (m) => (d(), b($, {
7112
+ (d(!0), H(De, null, pe(I.value, (m) => (d(), b(P, {
7115
7113
  key: m.name,
7116
7114
  ref_for: !0,
7117
7115
  ref_key: "initButtonRefs",
@@ -7367,7 +7365,7 @@ function L4(t, {
7367
7365
  outline: s,
7368
7366
  archive: I
7369
7367
  } = {}) {
7370
- var { fromMime: r, toMime: M, expected: N } = new h4(), I = I || "canvas", j = x || e.replace(/@\d+x$/i, "") || z4(u), x = r(M(j) || j), P = M(x), v = t.length;
7368
+ var { fromMime: r, toMime: M, expected: N } = new h4(), I = I || "canvas", j = x || e.replace(/@\d+x$/i, "") || z4(u), x = r(M(j) || j), $ = M(x), v = t.length;
7371
7369
  if (!j)
7372
7370
  throw new Error(
7373
7371
  "Cannot determine image format (use a filename extension or 'format' argument)"
@@ -7398,7 +7396,7 @@ function L4(t, {
7398
7396
  filename: u,
7399
7397
  pattern: E,
7400
7398
  format: x,
7401
- mime: P,
7399
+ mime: $,
7402
7400
  pages: t,
7403
7401
  padding: z,
7404
7402
  quality: a,
@@ -7548,13 +7546,13 @@ let Y4 = class {
7548
7546
  },
7549
7547
  saveAs(l, s) {
7550
7548
  s = typeof s == "number" ? { quality: s } : s;
7551
- let c = Jt(this.pages, { filename: l, ...s }), { pattern: r, padding: M, mime: N, quality: I, matte: j, density: x, archive: P } = c, v = qt(c.pages, x);
7549
+ let c = Jt(this.pages, { filename: l, ...s }), { pattern: r, padding: M, mime: N, quality: I, matte: j, density: x, archive: $ } = c, v = qt(c.pages, x);
7552
7550
  return M == null ? U4(v[0], N, I, j, l) : Q4(
7553
7551
  v,
7554
7552
  N,
7555
7553
  I,
7556
7554
  j,
7557
- P,
7555
+ $,
7558
7556
  r,
7559
7557
  M
7560
7558
  );
@@ -7567,8 +7565,8 @@ let Y4 = class {
7567
7565
  [Hn]: n.toDataURL.bind(n),
7568
7566
  toDataURL(l = "png", s = {}) {
7569
7567
  s = typeof s == "number" ? { quality: s } : s;
7570
- let c = Jt(this.pages, { extension: l, ...s }), { mime: r, quality: M, matte: N, pages: I, density: j } = c, x = qt(I, j, N)[0], P = x[x === n ? Hn : "toDataURL"](r, M);
7571
- return Promise.resolve(P);
7568
+ let c = Jt(this.pages, { extension: l, ...s }), { mime: r, quality: M, matte: N, pages: I, density: j } = c, x = qt(I, j, N)[0], $ = x[x === n ? Hn : "toDataURL"](r, M);
7569
+ return Promise.resolve($);
7572
7570
  }
7573
7571
  });
7574
7572
  }
@@ -7796,7 +7794,7 @@ const q4 = Uu(
7796
7794
  }, ol = (t, u, e) => {
7797
7795
  const a = e;
7798
7796
  var i, l, s, c, r, M, N, _, I, j, E, x, T, p, h, D;
7799
- const P = new Array(e), v = new Array(4096), z = new Array(4096), S = new Array(4096 + 1);
7797
+ const $ = new Array(e), v = new Array(4096), z = new Array(4096), S = new Array(4096 + 1);
7800
7798
  for (x = t, l = 1 << x, r = l + 1, i = l + 2, N = -1, c = x + 1, s = (1 << c) - 1, I = 0; I < l; I++)
7801
7799
  v[I] = 0, z[I] = I;
7802
7800
  var E, _, T, p, D, h;
@@ -7820,11 +7818,11 @@ const q4 = Uu(
7820
7818
  S[p++] = z[I], I = v[I];
7821
7819
  T = z[I] & 255, S[p++] = T, i < 4096 && (v[i] = N, z[i] = T, i++, !(i & s) && i < 4096 && (c++, s += i)), N = M;
7822
7820
  }
7823
- p--, P[D++] = S[p], j++;
7821
+ p--, $[D++] = S[p], j++;
7824
7822
  }
7825
7823
  for (j = D; j < a; j++)
7826
- P[j] = 0;
7827
- return P;
7824
+ $[j] = 0;
7825
+ return $;
7828
7826
  }, al = (t) => {
7829
7827
  const u = new Uint8Array(t);
7830
7828
  return ut(Z4(u), tl);
@@ -8588,13 +8586,13 @@ function El(t, u) {
8588
8586
  e[z][0] -= v * (e[z][0] - S) / gt, e[z][1] -= v * (e[z][1] - E) / gt, e[z][2] -= v * (e[z][2] - _) / gt;
8589
8587
  }
8590
8588
  function r(v, z, S, E, _) {
8591
- for (var T = Math.abs(z - v), p = Math.min(z + v, be), D = z + 1, h = z - 1, $ = 1, g, F; D < p || h > T; )
8592
- F = i[$++], D < p && (g = e[D++], g[0] -= F * (g[0] - S) / $u, g[1] -= F * (g[1] - E) / $u, g[2] -= F * (g[2] - _) / $u), h > T && (g = e[h--], g[0] -= F * (g[0] - S) / $u, g[1] -= F * (g[1] - E) / $u, g[2] -= F * (g[2] - _) / $u);
8589
+ for (var T = Math.abs(z - v), p = Math.min(z + v, be), D = z + 1, h = z - 1, P = 1, g, F; D < p || h > T; )
8590
+ F = i[P++], D < p && (g = e[D++], g[0] -= F * (g[0] - S) / $u, g[1] -= F * (g[1] - E) / $u, g[2] -= F * (g[2] - _) / $u), h > T && (g = e[h--], g[0] -= F * (g[0] - S) / $u, g[1] -= F * (g[1] - E) / $u, g[2] -= F * (g[2] - _) / $u);
8593
8591
  }
8594
8592
  function M(v, z, S) {
8595
- var E = 2147483647, _ = E, T = -1, p = T, D, h, $, g, F;
8593
+ var E = 2147483647, _ = E, T = -1, p = T, D, h, P, g, F;
8596
8594
  for (D = 0; D < be; D++)
8597
- h = e[D], $ = Math.abs(h[0] - v) + Math.abs(h[1] - z) + Math.abs(h[2] - S), $ < E && (E = $, T = D), g = $ - (o[D] >> Jo - pu), g < _ && (_ = g, p = D), F = a[D] >> pn, a[D] -= F, o[D] += F << Xo;
8595
+ h = e[D], P = Math.abs(h[0] - v) + Math.abs(h[1] - z) + Math.abs(h[2] - S), P < E && (E = P, T = D), g = P - (o[D] >> Jo - pu), g < _ && (_ = g, p = D), F = a[D] >> pn, a[D] -= F, o[D] += F << Xo;
8598
8596
  return a[T] += gl, o[T] -= dl, p;
8599
8597
  }
8600
8598
  function N() {
@@ -8612,8 +8610,8 @@ function El(t, u) {
8612
8610
  n[z] = Gn;
8613
8611
  }
8614
8612
  function I(v, z, S) {
8615
- for (var E, _, T, p = 1e3, D = -1, h = n[z], $ = h - 1; h < be || $ >= 0; )
8616
- h < be && (_ = e[h], T = _[1] - z, T >= p ? h = be : (h++, T < 0 && (T = -T), E = _[0] - v, E < 0 && (E = -E), T += E, T < p && (E = _[2] - S, E < 0 && (E = -E), T += E, T < p && (p = T, D = _[3])))), $ >= 0 && (_ = e[$], T = z - _[1], T >= p ? $ = -1 : ($--, T < 0 && (T = -T), E = _[0] - v, E < 0 && (E = -E), T += E, T < p && (E = _[2] - S, E < 0 && (E = -E), T += E, T < p && (p = T, D = _[3]))));
8613
+ for (var E, _, T, p = 1e3, D = -1, h = n[z], P = h - 1; h < be || P >= 0; )
8614
+ h < be && (_ = e[h], T = _[1] - z, T >= p ? h = be : (h++, T < 0 && (T = -T), E = _[0] - v, E < 0 && (E = -E), T += E, T < p && (E = _[2] - S, E < 0 && (E = -E), T += E, T < p && (p = T, D = _[3])))), P >= 0 && (_ = e[P], T = z - _[1], T >= p ? P = -1 : (P--, T < 0 && (T = -T), E = _[0] - v, E < 0 && (E = -E), T += E, T < p && (E = _[2] - S, E < 0 && (E = -E), T += E, T < p && (p = T, D = _[3]))));
8617
8615
  return D;
8618
8616
  }
8619
8617
  function j() {
@@ -8622,9 +8620,9 @@ function El(t, u) {
8622
8620
  i[v] = T * ((D * D - v * v) * Zn / (D * D));
8623
8621
  var h;
8624
8622
  z < yl ? (u = 1, h = 3) : z % Kn !== 0 ? h = 3 * Kn : z % qn !== 0 ? h = 3 * qn : z % Jn !== 0 ? h = 3 * Jn : h = 3 * ta;
8625
- var $, g, F, m, U = 0;
8623
+ var P, g, F, m, U = 0;
8626
8624
  for (v = 0; v < E; )
8627
- if ($ = (t[U] & 255) << pu, g = (t[U + 1] & 255) << pu, F = (t[U + 2] & 255) << pu, m = M($, g, F), c(T, m, $, g, F), D !== 0 && r(D, m, $, g, F), U += h, U >= z && (U -= z), v++, _ === 0 && (_ = 1), v % _ === 0)
8625
+ if (P = (t[U] & 255) << pu, g = (t[U + 1] & 255) << pu, F = (t[U + 2] & 255) << pu, m = M(P, g, F), c(T, m, P, g, F), D !== 0 && r(D, m, P, g, F), U += h, U >= z && (U -= z), v++, _ === 0 && (_ = 1), v % _ === 0)
8628
8626
  for (T -= T / S, p -= p / ml, D = p >> Dn, D <= 1 && (D = 0), m = 0; m < D; m++)
8629
8627
  i[m] = T * ((D * D - m * m) * Zn / (D * D));
8630
8628
  }
@@ -8632,7 +8630,7 @@ function El(t, u) {
8632
8630
  l(), j(), s(), N();
8633
8631
  }
8634
8632
  this.buildColormap = x;
8635
- function P() {
8633
+ function $() {
8636
8634
  for (var v = [], z = [], S = 0; S < be; S++)
8637
8635
  z[e[S][3]] = S;
8638
8636
  for (var E = 0, _ = 0; _ < be; _++) {
@@ -8641,7 +8639,7 @@ function El(t, u) {
8641
8639
  }
8642
8640
  return v;
8643
8641
  }
8644
- this.getColormap = P, this.lookupRGB = I;
8642
+ this.getColormap = $, this.lookupRGB = I;
8645
8643
  }
8646
8644
  var Xn = -1, dt = 12, et = 5003, fl = [
8647
8645
  0,
@@ -8663,7 +8661,7 @@ var Xn = -1, dt = 12, et = 5003, fl = [
8663
8661
  65535
8664
8662
  ];
8665
8663
  function pl(t, u, e, n) {
8666
- var o = Math.max(2, n), a = new Uint8Array(256), i = new Int32Array(et), l = new Int32Array(et), s, c = 0, r, M = 0, N, I = !1, j, x, P, v, z, S;
8664
+ var o = Math.max(2, n), a = new Uint8Array(256), i = new Int32Array(et), l = new Int32Array(et), s, c = 0, r, M = 0, N, I = !1, j, x, $, v, z, S;
8667
8665
  function E(m, U) {
8668
8666
  a[r++] = m, r >= 254 && h(U);
8669
8667
  }
@@ -8676,7 +8674,7 @@ function pl(t, u, e, n) {
8676
8674
  }
8677
8675
  function p(m, U) {
8678
8676
  var f, w, y, O, C, L, Y;
8679
- for (j = m, I = !1, S = j, N = $(S), x = 1 << m - 1, P = x + 1, M = x + 2, r = 0, O = g(), Y = 0, f = et; f < 65536; f *= 2)
8677
+ for (j = m, I = !1, S = j, N = P(S), x = 1 << m - 1, $ = x + 1, M = x + 2, r = 0, O = g(), Y = 0, f = et; f < 65536; f *= 2)
8680
8678
  ++Y;
8681
8679
  Y = 8 - Y, L = et, T(L), F(x, U);
8682
8680
  e:
@@ -8695,7 +8693,7 @@ function pl(t, u, e, n) {
8695
8693
  }
8696
8694
  F(O, U), O = w, M < 1 << dt ? (l[y] = M++, i[y] = f) : _(U);
8697
8695
  }
8698
- F(O, U), F(P, U);
8696
+ F(O, U), F($, U);
8699
8697
  }
8700
8698
  function D(m) {
8701
8699
  m.writeByte(o), v = t * u, z = 0, p(o + 1, m), m.writeByte(0);
@@ -8703,7 +8701,7 @@ function pl(t, u, e, n) {
8703
8701
  function h(m) {
8704
8702
  r > 0 && (m.writeByte(r), m.writeBytes(a, 0, r), r = 0);
8705
8703
  }
8706
- function $(m) {
8704
+ function P(m) {
8707
8705
  return (1 << m) - 1;
8708
8706
  }
8709
8707
  function g() {
@@ -8716,7 +8714,7 @@ function pl(t, u, e, n) {
8716
8714
  function F(m, U) {
8717
8715
  for (s &= fl[c], c > 0 ? s |= m << c : s = m, c += S; c >= 8; )
8718
8716
  E(s & 255, U), s >>= 8, c -= 8;
8719
- if ((M > N || I) && (I ? (N = $(S = j), I = !1) : (++S, S == dt ? N = 1 << dt : N = $(S))), m == P) {
8717
+ if ((M > N || I) && (I ? (N = P(S = j), I = !1) : (++S, S == dt ? N = 1 << dt : N = P(S))), m == $) {
8720
8718
  for (; c > 0; )
8721
8719
  E(s & 255, U), s >>= 8, c -= 8;
8722
8720
  h(U);
@@ -8858,11 +8856,11 @@ xe.prototype.ditherPixels = function(t, u) {
8858
8856
  o = c * i + r;
8859
8857
  var N = o * 3, I = l[N], j = l[N + 1], x = l[N + 2];
8860
8858
  N = this.findClosestRGB(I, j, x), this.usedEntry[N] = !0, this.indexedPixels[o] = N, N *= 3;
8861
- for (var P = this.colorTab[N], v = this.colorTab[N + 1], z = this.colorTab[N + 2], S = I - P, E = j - v, _ = x - z, T = s == 1 ? 0 : n.length - 1, p = s == 1 ? n.length : 0; T !== p; T += s) {
8859
+ for (var $ = this.colorTab[N], v = this.colorTab[N + 1], z = this.colorTab[N + 2], S = I - $, E = j - v, _ = x - z, T = s == 1 ? 0 : n.length - 1, p = s == 1 ? n.length : 0; T !== p; T += s) {
8862
8860
  var D = n[T][1], h = n[T][2];
8863
8861
  if (D + r >= 0 && D + r < i && h + c >= 0 && h + c < a) {
8864
- var $ = n[T][0];
8865
- N = o + D + h * i, N *= 3, l[N] = Math.max(0, Math.min(255, l[N] + S * $)), l[N + 1] = Math.max(0, Math.min(255, l[N + 1] + E * $)), l[N + 2] = Math.max(0, Math.min(255, l[N + 2] + _ * $));
8862
+ var P = n[T][0];
8863
+ N = o + D + h * i, N *= 3, l[N] = Math.max(0, Math.min(255, l[N] + S * P)), l[N + 1] = Math.max(0, Math.min(255, l[N + 1] + E * P)), l[N + 2] = Math.max(0, Math.min(255, l[N + 2] + _ * P));
8866
8864
  }
8867
8865
  }
8868
8866
  }
@@ -9058,12 +9056,12 @@ class Ie {
9058
9056
  })), u.fillStyle = c;
9059
9057
  }
9060
9058
  _draw() {
9061
- var u, e, n, o, a, i, l, s, c, r, M, N, I, j, x, P, v, z, S;
9059
+ var u, e, n, o, a, i, l, s, c, r, M, N, I, j, x, $, v, z, S;
9062
9060
  return xl(this, void 0, void 0, function* () {
9063
9061
  const E = (u = this.qrCode) === null || u === void 0 ? void 0 : u.moduleCount, _ = this.options.size;
9064
9062
  let T = this.options.margin;
9065
9063
  (T < 0 || T * 2 >= _) && (T = 0);
9066
- const p = Math.ceil(T), D = _ - 2 * T, h = this.options.whiteMargin, $ = this.options.backgroundDimming, g = Math.ceil(D / E), F = g * E, m = F + 2 * p, U = new gu(m, m), f = U.getContext("2d");
9064
+ const p = Math.ceil(T), D = _ - 2 * T, h = this.options.whiteMargin, P = this.options.backgroundDimming, g = Math.ceil(D / E), F = g * E, m = F + 2 * p, U = new gu(m, m), f = U.getContext("2d");
9067
9065
  this._clear(), f.save(), f.translate(p, p);
9068
9066
  const w = new gu(m, m), y = w.getContext("2d");
9069
9067
  let O = null, C = [];
@@ -9083,7 +9081,7 @@ class Ie {
9083
9081
  const te = Ie._getAverageRGB(G);
9084
9082
  this.options.colorDark = `rgb(${te.r},${te.g},${te.b})`;
9085
9083
  }
9086
- y.drawImage(G, 0, 0, G.width, G.height, 0, 0, m, m), y.rect(0, 0, m, m), y.fillStyle = $, y.fill();
9084
+ y.drawImage(G, 0, 0, G.width, G.height, 0, 0, m, m), y.rect(0, 0, m, m), y.fillStyle = P, y.fill();
9087
9085
  } else
9088
9086
  y.rect(0, 0, m, m), y.fillStyle = this.options.colorLight, y.fill();
9089
9087
  const L = Ee.getPatternPosition(this.qrCode.typeNumber), Y = ((n = (e = this.options.components) === null || e === void 0 ? void 0 : e.data) === null || n === void 0 ? void 0 : n.scale) || jt, W = (1 - Y) * 0.5;
@@ -9120,7 +9118,7 @@ class Ie {
9120
9118
  Ie._drawDot(f, 8 + G, 6, g, ne, Ae), Ie._drawDot(f, 6, 8 + G, g, ne, Ae);
9121
9119
  const Me = ((I = (N = this.options.components) === null || N === void 0 ? void 0 : N.cornerAlignment) === null || I === void 0 ? void 0 : I.scale) || jt, Se = (1 - Me) * 0.5;
9122
9120
  Ie._drawAlign(f, J, J, g, Se, Me, this.options.colorDark, ((x = (j = this.options.components) === null || j === void 0 ? void 0 : j.cornerAlignment) === null || x === void 0 ? void 0 : x.protectors) || !1);
9123
- const Be = ((v = (P = this.options.components) === null || P === void 0 ? void 0 : P.alignment) === null || v === void 0 ? void 0 : v.scale) || jt, me = (1 - Be) * 0.5;
9121
+ const Be = ((v = ($ = this.options.components) === null || $ === void 0 ? void 0 : $.alignment) === null || v === void 0 ? void 0 : v.scale) || jt, me = (1 - Be) * 0.5;
9124
9122
  for (let G = 0; G < L.length; G++)
9125
9123
  for (let te = 0; te < L.length; te++) {
9126
9124
  const ce = L[te], de = L[G];
@@ -9148,7 +9146,7 @@ class Ie {
9148
9146
  const { width: He, height: Qe } = ze.dims;
9149
9147
  te || (te = new gu(He, Qe), ce = te.getContext("2d"), ce.rect(0, 0, te.width, te.height), ce.fillStyle = "#ffffff", ce.fill()), (!de || !Ce || He !== de.width || Qe !== de.height) && (de = new gu(He, Qe), he = de.getContext("2d"), Ce = he.createImageData(He, Qe)), Ce.data.set(ze.patch), he.putImageData(Ce, 0, 0), ce.drawImage(de.getContext("2d").canvas, ze.dims.left, ze.dims.top);
9150
9148
  const Fu = new gu(m, m), fu = Fu.getContext("2d");
9151
- fu.drawImage(te.getContext("2d").canvas, 0, 0, m, m), fu.rect(0, 0, m, m), fu.fillStyle = $, fu.fill(), fu.drawImage(U.getContext("2d").canvas, 0, 0, m, m);
9149
+ fu.drawImage(te.getContext("2d").canvas, 0, 0, m, m), fu.rect(0, 0, m, m), fu.fillStyle = P, fu.fill(), fu.drawImage(U.getContext("2d").canvas, 0, 0, m, m);
9152
9150
  const V = new gu(_, _), ee = V.getContext("2d");
9153
9151
  ee.drawImage(Fu.getContext("2d").canvas, 0, 0, _, _), G.addFrame(ee.getImageData(0, 0, V.width, V.height).data);
9154
9152
  }), !G)
@@ -9492,7 +9490,7 @@ const Ol = { key: 0 }, kl = ["innerHTML"], Sl = ["innerHTML"], wl = ["innerHTML"
9492
9490
  return w.length ? (f = w.shift()) == null ? void 0 : f.text : I(U[m.keyName]) ? U[m.keyName] : j();
9493
9491
  }
9494
9492
  }
9495
- function P(m, U) {
9493
+ function $(m, U) {
9496
9494
  if (m.value != "")
9497
9495
  return mu.render(m.value, { item: U });
9498
9496
  if (m.value == "")
@@ -9565,9 +9563,9 @@ const Ol = { key: 0 }, kl = ["innerHTML"], Sl = ["innerHTML"], wl = ["innerHTML"
9565
9563
  }
9566
9564
  }
9567
9565
  );
9568
- const $ = Q(() => h.value.filter((m) => m.cell === "BUTTONS").map((m) => m.colKey));
9566
+ const P = Q(() => h.value.filter((m) => m.cell === "BUTTONS").map((m) => m.colKey));
9569
9567
  je(
9570
- () => $.value,
9568
+ () => P.value,
9571
9569
  (m) => {
9572
9570
  m && m.length && m.forEach((U) => {
9573
9571
  const f = h.value.findIndex((w) => w.colKey === U);
@@ -9642,7 +9640,7 @@ const Ol = { key: 0 }, kl = ["innerHTML"], Sl = ["innerHTML"], wl = ["innerHTML"
9642
9640
  ]),
9643
9641
  DATE: k(({ col: L, row: Y }) => [
9644
9642
  X("span", {
9645
- innerHTML: P(L, Y)
9643
+ innerHTML: $(L, Y)
9646
9644
  }, null, 8, vl)
9647
9645
  ]),
9648
9646
  QR_CODE: k(({ col: L, row: Y }) => [
@@ -9788,7 +9786,7 @@ const _l = /* @__PURE__ */ au(Bl, [["__scopeId", "data-v-55cacda1"]]), Fl = /* @
9788
9786
  j && (e.removeTabMenuItemByPath(I), console.log(j), j != "/home" ? o.push(j) : M.value && o.push({ path: M.value, query: hu(M.value) }));
9789
9787
  }
9790
9788
  return (I, j) => {
9791
- const x = Z("t-card"), P = Z("t-tab-panel"), v = Z("t-tabs");
9789
+ const x = Z("t-card"), $ = Z("t-tab-panel"), v = Z("t-tabs");
9792
9790
  return d(), b(v, {
9793
9791
  class: K(`${A(pi)}`),
9794
9792
  placement: "left",
@@ -9796,7 +9794,7 @@ const _l = /* @__PURE__ */ au(Bl, [["__scopeId", "data-v-55cacda1"]]), Fl = /* @
9796
9794
  onChange: c
9797
9795
  }, {
9798
9796
  default: k(() => [
9799
- (d(!0), H(De, null, pe(i.value, (z, S) => (d(), b(P, {
9797
+ (d(!0), H(De, null, pe(i.value, (z, S) => (d(), b($, {
9800
9798
  key: `${S}${z.title}`,
9801
9799
  value: S,
9802
9800
  label: z.title,
@@ -9845,7 +9843,7 @@ const Pl = /* @__PURE__ */ oe({
9845
9843
  }), I = R([]), j = R({}), x = Q(() => {
9846
9844
  var V;
9847
9845
  return (V = s.board) == null ? void 0 : V.header;
9848
- }), P = R({}), v = R({});
9846
+ }), $ = R({}), v = R({});
9849
9847
  Q(
9850
9848
  () => {
9851
9849
  var V, ee;
@@ -9867,7 +9865,7 @@ const Pl = /* @__PURE__ */ oe({
9867
9865
  }), E = Q(() => {
9868
9866
  var ee, se;
9869
9867
  let V = {};
9870
- return x.value && P.value && Object.assign(V, P.value), s.dialogProps && ((ee = Object.keys(s.dialogProps)) != null && ee.length) && Object.assign(V, s.dialogProps), M.value === "table" && Object.assign(V, S.value), s.serverProps && ((se = Object.keys(s.serverProps)) != null && se.length) && Object.assign(V, s.serverProps), Object.assign(V, z.value), V;
9868
+ return x.value && $.value && Object.assign(V, $.value), s.dialogProps && ((ee = Object.keys(s.dialogProps)) != null && ee.length) && Object.assign(V, s.dialogProps), M.value === "table" && Object.assign(V, S.value), s.serverProps && ((se = Object.keys(s.serverProps)) != null && se.length) && Object.assign(V, s.serverProps), Object.assign(V, z.value), V;
9871
9869
  }), _ = R(!1), T = R(!0);
9872
9870
  async function p() {
9873
9871
  var V, ee, se, we, Ge;
@@ -9910,17 +9908,17 @@ const Pl = /* @__PURE__ */ oe({
9910
9908
  N.value && i.sendUnregisterMessage(N.value);
9911
9909
  });
9912
9910
  const D = bu(), h = Wu();
9913
- function $(V) {
9914
- const ee = _e(P.value), se = _e(S.value);
9911
+ function P(V) {
9912
+ const ee = _e($.value), se = _e(S.value);
9915
9913
  D.findExistTabMenuItem({ path: V }) && h.setFormData(V, {
9916
9914
  ...ee && Object.keys(ee).length ? { formData: ee } : {},
9917
9915
  pagination: se
9918
9916
  });
9919
9917
  }
9920
9918
  Mo((V, ee) => {
9921
- s.from != "dialog" && $(ee.fullPath);
9919
+ s.from != "dialog" && P(ee.fullPath);
9922
9920
  }), so((V, ee) => {
9923
- s.from != "dialog" && $(ee.fullPath);
9921
+ s.from != "dialog" && P(ee.fullPath);
9924
9922
  }), je(
9925
9923
  () => s.board,
9926
9924
  async () => {
@@ -10133,7 +10131,7 @@ const Pl = /* @__PURE__ */ oe({
10133
10131
  }
10134
10132
  function Y(V) {
10135
10133
  var se, we;
10136
- P.value = V, S.value = {
10134
+ $.value = V, S.value = {
10137
10135
  count: 15,
10138
10136
  page: 0,
10139
10137
  totalCount: 0,
@@ -10383,7 +10381,7 @@ const xt = We(Pl), oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
10383
10381
  je(
10384
10382
  () => M.value,
10385
10383
  async () => {
10386
- Fe(M.value) || await P(M.value, N.value);
10384
+ Fe(M.value) || await $(M.value, N.value);
10387
10385
  },
10388
10386
  {
10389
10387
  deep: !0,
@@ -10391,19 +10389,19 @@ const xt = We(Pl), oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
10391
10389
  }
10392
10390
  );
10393
10391
  async function x() {
10394
- Fe(M.value) || await P(M.value, N.value);
10392
+ Fe(M.value) || await $(M.value, N.value);
10395
10393
  }
10396
10394
  tu("handleUpdateView", x);
10397
- async function P(E, _, T = void 0) {
10395
+ async function $(E, _, T = void 0) {
10398
10396
  var h;
10399
10397
  const p = {};
10400
10398
  p.viewName = E;
10401
10399
  let D = "";
10402
10400
  Fe(_) || (D = JSON.stringify(_)), p.props = D;
10403
10401
  try {
10404
- const $ = await wo(p);
10405
- if ($.state === 200 && $.data) {
10406
- I.value = $.data, l.value = (h = $.data) == null ? void 0 : h.title;
10402
+ const P = await wo(p);
10403
+ if (P.state === 200 && P.data) {
10404
+ I.value = P.data, l.value = (h = P.data) == null ? void 0 : h.title;
10407
10405
  const g = decodeURIComponent(e.fullPath);
10408
10406
  o.appendTabMenuItem({
10409
10407
  title: l.value,
@@ -10411,8 +10409,8 @@ const xt = We(Pl), oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.def
10411
10409
  query: e.query
10412
10410
  });
10413
10411
  }
10414
- } catch ($) {
10415
- console.log("getOneViewApi", $);
10412
+ } catch (P) {
10413
+ console.log("getOneViewApi", P);
10416
10414
  }
10417
10415
  }
10418
10416
  const v = Q(() => n.isGlobalLoaded), z = Q(() => {
@@ -10756,7 +10754,7 @@ var aa = { exports: {} };
10756
10754
  (function(e, n) {
10757
10755
  t.exports = n();
10758
10756
  })(Eu, function() {
10759
- var e = 1e3, n = 6e4, o = 36e5, a = "millisecond", i = "second", l = "minute", s = "hour", c = "day", r = "week", M = "month", N = "quarter", I = "year", j = "date", x = "Invalid Date", P = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, z = {
10757
+ var e = 1e3, n = 6e4, o = 36e5, a = "millisecond", i = "second", l = "minute", s = "hour", c = "day", r = "week", M = "month", N = "quarter", I = "year", j = "date", x = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, z = {
10760
10758
  name: "en",
10761
10759
  weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
10762
10760
  months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
@@ -10818,14 +10816,14 @@ var aa = { exports: {} };
10818
10816
  T[Y] = f, O = Y;
10819
10817
  }
10820
10818
  return !y && O && (_ = O), O || !y && _;
10821
- }, $ = function(f, w) {
10819
+ }, P = function(f, w) {
10822
10820
  if (D(f))
10823
10821
  return f.clone();
10824
10822
  var y = Du(w) == "object" ? w : {};
10825
10823
  return y.date = f, y.args = arguments, new F(y);
10826
10824
  }, g = E;
10827
10825
  g.l = h, g.i = D, g.w = function(U, f) {
10828
- return $(U, {
10826
+ return P(U, {
10829
10827
  locale: f.$L,
10830
10828
  utc: f.$u,
10831
10829
  x: f.$x,
@@ -10847,7 +10845,7 @@ var aa = { exports: {} };
10847
10845
  if (O instanceof Date)
10848
10846
  return new Date(O);
10849
10847
  if (typeof O == "string" && !/Z$/i.test(O)) {
10850
- var L = O.match(P);
10848
+ var L = O.match($);
10851
10849
  if (L) {
10852
10850
  var Y = L[2] - 1 || 0, W = (L[7] || "0").substring(0, 3);
10853
10851
  return C ? new Date(Date.UTC(L[1], Y, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, W)) : new Date(L[1], Y, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, W);
@@ -10863,12 +10861,12 @@ var aa = { exports: {} };
10863
10861
  }, f.isValid = function() {
10864
10862
  return this.$d.toString() !== x;
10865
10863
  }, f.isSame = function(w, y) {
10866
- var O = $(w);
10864
+ var O = P(w);
10867
10865
  return this.startOf(y) <= O && O <= this.endOf(y);
10868
10866
  }, f.isAfter = function(w, y) {
10869
- return $(w) < this.startOf(y);
10867
+ return P(w) < this.startOf(y);
10870
10868
  }, f.isBefore = function(w, y) {
10871
- return this.endOf(y) < $(w);
10869
+ return this.endOf(y) < P(w);
10872
10870
  }, f.$g = function(w, y, O) {
10873
10871
  return g.u(w) ? this[y] : this.set(O, w);
10874
10872
  }, f.unix = function() {
@@ -10920,7 +10918,7 @@ var aa = { exports: {} };
10920
10918
  var O, C = this;
10921
10919
  w = Number(w);
10922
10920
  var L = g.p(y), Y = function(Ae) {
10923
- var ne = $(C);
10921
+ var ne = P(C);
10924
10922
  return g.w(ne.date(ne.date() + Math.round(Ae * w)), C);
10925
10923
  };
10926
10924
  if (L === M)
@@ -11005,7 +11003,7 @@ var aa = { exports: {} };
11005
11003
  }, f.utcOffset = function() {
11006
11004
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
11007
11005
  }, f.diff = function(w, y, O) {
11008
- var C, L = this, Y = g.p(y), W = $(w), J = (W.utcOffset() - this.utcOffset()) * n, re = this - W, Ae = function() {
11006
+ var C, L = this, Y = g.p(y), W = P(w), J = (W.utcOffset() - this.utcOffset()) * n, re = this - W, Ae = function() {
11009
11007
  return g.m(L, W);
11010
11008
  };
11011
11009
  switch (Y) {
@@ -11058,15 +11056,15 @@ var aa = { exports: {} };
11058
11056
  return this.$d.toUTCString();
11059
11057
  }, U;
11060
11058
  }(), m = F.prototype;
11061
- return $.prototype = m, [["$ms", a], ["$s", i], ["$m", l], ["$H", s], ["$W", c], ["$M", M], ["$y", I], ["$D", j]].forEach(function(U) {
11059
+ return P.prototype = m, [["$ms", a], ["$s", i], ["$m", l], ["$H", s], ["$W", c], ["$M", M], ["$y", I], ["$D", j]].forEach(function(U) {
11062
11060
  m[U[1]] = function(f) {
11063
11061
  return this.$g(f, U[0], U[1]);
11064
11062
  };
11065
- }), $.extend = function(U, f) {
11066
- return U.$i || (U(f, F, $), U.$i = !0), $;
11067
- }, $.locale = h, $.isDayjs = D, $.unix = function(U) {
11068
- return $(1e3 * U);
11069
- }, $.en = T[_], $.Ls = T, $.p = {}, $;
11063
+ }), P.extend = function(U, f) {
11064
+ return U.$i || (U(f, F, P), U.$i = !0), P;
11065
+ }, P.locale = h, P.isDayjs = D, P.unix = function(U) {
11066
+ return P(1e3 * U);
11067
+ }, P.en = T[_], P.Ls = T, P.p = {}, P;
11070
11068
  });
11071
11069
  })(aa);
11072
11070
  var _u = aa.exports;
@@ -12370,22 +12368,22 @@ var Xl = { exports: {} };
12370
12368
  };
12371
12369
  }
12372
12370
  var o = n(e), a = "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"), i = "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"), l = "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"), s = "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"), c = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
12373
- function r(j, x, P) {
12371
+ function r(j, x, $) {
12374
12372
  var v, z;
12375
- return P === "m" ? x ? "минута" : "минуту" : j + " " + (v = +j, z = {
12373
+ return $ === "m" ? x ? "минута" : "минуту" : j + " " + (v = +j, z = {
12376
12374
  mm: x ? "минута_минуты_минут" : "минуту_минуты_минут",
12377
12375
  hh: "час_часа_часов",
12378
12376
  dd: "день_дня_дней",
12379
12377
  MM: "месяц_месяца_месяцев",
12380
12378
  yy: "год_года_лет"
12381
- }[P].split("_"), v % 10 == 1 && v % 100 != 11 ? z[0] : v % 10 >= 2 && v % 10 <= 4 && (v % 100 < 10 || v % 100 >= 20) ? z[1] : z[2]);
12379
+ }[$].split("_"), v % 10 == 1 && v % 100 != 11 ? z[0] : v % 10 >= 2 && v % 10 <= 4 && (v % 100 < 10 || v % 100 >= 20) ? z[1] : z[2]);
12382
12380
  }
12383
- var M = function(x, P) {
12384
- return c.test(P) ? a[x.month()] : i[x.month()];
12381
+ var M = function(x, $) {
12382
+ return c.test($) ? a[x.month()] : i[x.month()];
12385
12383
  };
12386
12384
  M.s = i, M.f = a;
12387
- var N = function(x, P) {
12388
- return c.test(P) ? l[x.month()] : s[x.month()];
12385
+ var N = function(x, $) {
12386
+ return c.test($) ? l[x.month()] : s[x.month()];
12389
12387
  };
12390
12388
  N.s = s, N.f = l;
12391
12389
  var I = {
@@ -13852,7 +13850,7 @@ const ia = /* @__PURE__ */ au(zr, [["__scopeId", "data-v-75fdffa5"]]), Ys = /* @
13852
13850
  t.directive(u, oo[u]);
13853
13851
  });
13854
13852
  }
13855
- }, Or = "@gonsin/gview", kr = "2.1.24", Sr = "dist/index.mjs", wr = "dist/types/index.d.ts", vr = [
13853
+ }, Or = "@gonsin/gview", kr = "2.1.25", Sr = "dist/index.mjs", wr = "dist/types/index.d.ts", vr = [
13856
13854
  "dist",
13857
13855
  "README.md",
13858
13856
  "CHANGELOG.md"
@@ -13879,7 +13877,7 @@ const ia = /* @__PURE__ */ au(zr, [["__scopeId", "data-v-75fdffa5"]]), Ys = /* @
13879
13877
  "@wangeditor/editor-for-vue": "^5.1.12",
13880
13878
  axios: "^1.3.4",
13881
13879
  dayjs: "^1.11.7",
13882
- "gonsin-i18n": "^0.2.4",
13880
+ "gonsin-i18n": "^0.2.7",
13883
13881
  he: "^1.2.0",
13884
13882
  "lodash-es": "^4.17.21",
13885
13883
  mustache: "^4.2.0",