cd-form 2.0.44 → 2.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cd-form.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as Nt, computed as Fe, resolveComponent as de, openBlock as x, createBlock as pe, normalizeClass as Qe, withCtx as R, renderSlot as Ka, createElementBlock as F, createElementVNode as f, normalizeStyle as St, toDisplayString as le, createCommentVNode as ke, createTextVNode as xe, withModifiers as pt, Fragment as Pe, renderList as ze, ref as se, watch as lt, nextTick as Mt, createVNode as V, withDirectives as Za, withKeys as jr, vModelText as ln, createStaticVNode as $c, onMounted as vn, onUnmounted as cl, mergeProps as Oa, useCssVars as Vc, normalizeProps as kr, vShow as Vn, Teleport as Wl, Transition as Co, unref as Nr, reactive as br, inject as Hl, resolveDynamicComponent as nd, createSlots as On, provide as Nn, watchEffect as Gl, TransitionGroup as id, h as El, guardReactiveProps as ld, isRef as sd } from "vue";
1
+ import { defineComponent as Nt, computed as Fe, resolveComponent as de, openBlock as x, createBlock as pe, normalizeClass as Qe, withCtx as R, renderSlot as er, createElementBlock as F, createElementVNode as f, normalizeStyle as St, toDisplayString as le, createCommentVNode as ke, createTextVNode as xe, withModifiers as pt, Fragment as Pe, renderList as ze, ref as se, watch as lt, nextTick as Mt, createVNode as V, withDirectives as Ja, withKeys as jr, vModelText as ln, createStaticVNode as $c, onMounted as vn, onUnmounted as cl, mergeProps as Oa, useCssVars as Vc, normalizeProps as kr, vShow as Vn, Teleport as Wl, Transition as Co, unref as Nr, reactive as br, inject as Hl, resolveDynamicComponent as nd, createSlots as On, provide as Nn, watchEffect as Gl, TransitionGroup as id, h as El, guardReactiveProps as ld, isRef as sd } from "vue";
2
2
  import { MessagePlugin as Ye, DialogPlugin as Xl } from "tdesign-vue-next";
3
3
  import Fn from "vxe-table";
4
4
  import od from "axios";
@@ -23,7 +23,7 @@ const ai = /* @__PURE__ */ Nt({
23
23
  class: Qe(["cd-form-col", e.className])
24
24
  }, {
25
25
  default: R(() => [
26
- Ka(r.$slots, "default")
26
+ er(r.$slots, "default")
27
27
  ]),
28
28
  _: 3
29
29
  }, 8, ["span", "offset", "push", "pull", "class"]);
@@ -39,7 +39,7 @@ const ai = /* @__PURE__ */ Nt({
39
39
  "Content-Type": "application/json"
40
40
  }
41
41
  });
42
- function w5(e) {
42
+ function y5(e) {
43
43
  e.baseURL !== void 0 && (Rr.baseURL = e.baseURL, on.defaults.baseURL = e.baseURL), e.getToken && (Rr.getToken = e.getToken), e.getOrgId && (Rr.getOrgId = e.getOrgId);
44
44
  }
45
45
  on.interceptors.request.use((e) => {
@@ -206,7 +206,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
206
206
  ])) : ke("", !0)
207
207
  ]),
208
208
  e.showActions ? (x(), F("div", kd, [
209
- Ka(d.$slots, "actions", {}, () => [
209
+ er(d.$slots, "actions", {}, () => [
210
210
  e.showChat ? (x(), pe(g, {
211
211
  key: 0,
212
212
  theme: "default",
@@ -310,7 +310,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
310
310
  })) : ke("", !0)
311
311
  ])) : ke("", !0),
312
312
  d.$slots.footer ? (x(), F("div", Pd, [
313
- Ka(d.$slots, "footer", {}, void 0, !0)
313
+ er(d.$slots, "footer", {}, void 0, !0)
314
314
  ])) : ke("", !0)
315
315
  ], 2);
316
316
  };
@@ -714,7 +714,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
714
714
  e.inlineEdit ? (x(), F(Pe, { key: 0 }, [
715
715
  n.value === "alias" ? (x(), F("span", Zd, [
716
716
  w[15] || (w[15] = xe(" (", -1)),
717
- Za(f("input", {
717
+ Ja(f("input", {
718
718
  "onUpdate:modelValue": w[0] || (w[0] = (S) => i.value = S),
719
719
  class: "inline-input inline-input--sm",
720
720
  onBlur: h,
@@ -775,7 +775,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
775
775
  f("div", nh, [
776
776
  w[23] || (w[23] = f("i", { class: "ri-mail-line" }, null, -1)),
777
777
  w[24] || (w[24] = f("span", { class: "label" }, "邮箱", -1)),
778
- e.inlineEdit && n.value === "email" ? Za((x(), F("input", {
778
+ e.inlineEdit && n.value === "email" ? Ja((x(), F("input", {
779
779
  key: 0,
780
780
  "onUpdate:modelValue": w[3] || (w[3] = (S) => i.value = S),
781
781
  class: "inline-input",
@@ -801,7 +801,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
801
801
  f("div", lh, [
802
802
  w[26] || (w[26] = f("i", { class: "ri-smartphone-line" }, null, -1)),
803
803
  w[27] || (w[27] = f("span", { class: "label" }, "手机", -1)),
804
- e.inlineEdit && n.value === "mobile" ? Za((x(), F("input", {
804
+ e.inlineEdit && n.value === "mobile" ? Ja((x(), F("input", {
805
805
  key: 0,
806
806
  "onUpdate:modelValue": w[6] || (w[6] = (S) => i.value = S),
807
807
  class: "inline-input",
@@ -823,7 +823,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
823
823
  f("div", oh, [
824
824
  w[29] || (w[29] = f("i", { class: "ri-phone-line" }, null, -1)),
825
825
  w[30] || (w[30] = f("span", { class: "label" }, "座机", -1)),
826
- e.inlineEdit && n.value === "telephone" ? Za((x(), F("input", {
826
+ e.inlineEdit && n.value === "telephone" ? Ja((x(), F("input", {
827
827
  key: 0,
828
828
  "onUpdate:modelValue": w[8] || (w[8] = (S) => i.value = S),
829
829
  class: "inline-input",
@@ -858,7 +858,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
858
858
  f("i", { class: "ri-double-quotes-l" }),
859
859
  xe(" 个性签名")
860
860
  ], -1)),
861
- e.inlineEdit && n.value === "signature" ? Za((x(), F("input", {
861
+ e.inlineEdit && n.value === "signature" ? Ja((x(), F("input", {
862
862
  key: 0,
863
863
  "onUpdate:modelValue": w[10] || (w[10] = (S) => i.value = S),
864
864
  class: "inline-input inline-input--full",
@@ -895,7 +895,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
895
895
  }, 1024))), 128))
896
896
  ])) : (x(), F("div", xh, "-"))
897
897
  ]),
898
- Ka(D.$slots, "extra", {}, void 0, !0)
898
+ er(D.$slots, "extra", {}, void 0, !0)
899
899
  ])
900
900
  ]),
901
901
  V(Hd, {
@@ -1883,7 +1883,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
1883
1883
  ])) : ke("", !0)
1884
1884
  ])) : ke("", !0),
1885
1885
  f("main", lm, [
1886
- Ka(h.$slots, "default", {
1886
+ er(h.$slots, "default", {
1887
1887
  activePanel: i.value,
1888
1888
  profileData: e.profileData
1889
1889
  }, () => [
@@ -2000,7 +2000,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
2000
2000
  function u(h) {
2001
2001
  l.value = h, r("select", h), r("update:activeKey", h);
2002
2002
  }
2003
- return (h, d) => Za((x(), F("div", {
2003
+ return (h, d) => Ja((x(), F("div", {
2004
2004
  class: "cd-ucd-overlay",
2005
2005
  onClick: c
2006
2006
  }, [
@@ -2031,7 +2031,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
2031
2031
  onClick: s
2032
2032
  }),
2033
2033
  f("div", fm, [
2034
- Ka(h.$slots, "default", {
2034
+ er(h.$slots, "default", {
2035
2035
  activeKey: l.value,
2036
2036
  profileData: e.profileData
2037
2037
  }, () => [
@@ -2123,7 +2123,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
2123
2123
  class: "cd-user-dropdown__trigger",
2124
2124
  onClick: m
2125
2125
  }, [
2126
- Ka(S.$slots, "trigger", { userInfo: e.userInfo }, () => [
2126
+ er(S.$slots, "trigger", { userInfo: e.userInfo }, () => [
2127
2127
  e.userInfo.avatar ? (x(), F("img", {
2128
2128
  key: 0,
2129
2129
  class: "cd-user-dropdown__avatar",
@@ -2133,7 +2133,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
2133
2133
  ])]))
2134
2134
  ], !0)
2135
2135
  ]),
2136
- Za((x(), F("div", pm, [
2136
+ Ja((x(), F("div", pm, [
2137
2137
  f("div", gm, [
2138
2138
  f("div", xm, [
2139
2139
  f("img", {
@@ -2155,7 +2155,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
2155
2155
  class: Qe(["cd-user-dropdown__status-badge", `cd-user-dropdown__status-badge--${c.value}`]),
2156
2156
  onClick: E
2157
2157
  }, le(v.value), 3),
2158
- Za(f("div", Sm, [
2158
+ Ja(f("div", Sm, [
2159
2159
  (x(), F(Pe, null, ze(d, (U) => f("div", {
2160
2160
  key: U.value,
2161
2161
  class: Qe(["cd-user-dropdown__status-option", `cd-user-dropdown__status-badge--${U.value}`]),
@@ -2173,7 +2173,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
2173
2173
  class: "cd-user-dropdown__signature",
2174
2174
  onClick: D
2175
2175
  }, [
2176
- u.value ? Za((x(), F("input", {
2176
+ u.value ? Ja((x(), F("input", {
2177
2177
  key: 1,
2178
2178
  "onUpdate:modelValue": A[0] || (A[0] = (U) => o.value = U),
2179
2179
  type: "text",
@@ -2330,7 +2330,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
2330
2330
  class: Qe(["cd-usercard-status-text cd-usercard-cursor-pointer cd-usercard-ml-2", v.value]),
2331
2331
  onClick: k
2332
2332
  }, le(g.value), 3),
2333
- Za(f("div", Wm, [
2333
+ Ja(f("div", Wm, [
2334
2334
  f("div", {
2335
2335
  class: Qe(["cd-usercard-status-option cd-usercard-status-badge--online", { "cd-usercard-status-option--active": c.value === "online" }]),
2336
2336
  onClick: j[0] || (j[0] = (J) => D("online"))
@@ -2403,7 +2403,7 @@ const cd = { class: "cd-usercard__header" }, ud = { class: "cd-usercard__avatar-
2403
2403
  ];
2404
2404
  }),
2405
2405
  default: R(() => [
2406
- Ka(U.$slots, "default", {}, () => {
2406
+ er(U.$slots, "default", {}, () => {
2407
2407
  var ue, ge;
2408
2408
  return [
2409
2409
  f("div", {
@@ -4450,7 +4450,7 @@ const wx = { class: "cd-relation-form" }, bx = { class: "input-wrapper" }, Cx =
4450
4450
  ]),
4451
4451
  _: 2
4452
4452
  }, 1032, ["disabled", "onClose"]))), 128)),
4453
- Za(f("input", {
4453
+ Ja(f("input", {
4454
4454
  ref_key: "tagInputRef",
4455
4455
  ref: m,
4456
4456
  "onUpdate:modelValue": ne[0] || (ne[0] = (fe) => h.value = fe),
@@ -7059,13 +7059,13 @@ function qr(e) {
7059
7059
  function Io(e) {
7060
7060
  return It ? Buffer.allocUnsafe ? Buffer.allocUnsafe(e) : new Buffer(e) : typeof Uint8Array < "u" ? new Uint8Array(e) : new Array(e);
7061
7061
  }
7062
- var Qa = function(a) {
7062
+ var Za = function(a) {
7063
7063
  return It ? Ur(a, "binary") : a.split("").map(function(t) {
7064
7064
  return t.charCodeAt(0) & 255;
7065
7065
  });
7066
7066
  };
7067
7067
  function ul(e) {
7068
- if (typeof ArrayBuffer > "u") return Qa(e);
7068
+ if (typeof ArrayBuffer > "u") return Za(e);
7069
7069
  for (var a = new ArrayBuffer(e.length), t = new Uint8Array(a), r = 0; r != e.length; ++r) t[r] = e.charCodeAt(r) & 255;
7070
7070
  return a;
7071
7071
  }
@@ -8448,7 +8448,7 @@ var q_ = /* @__PURE__ */ function() {
8448
8448
  }
8449
8449
  }
8450
8450
  function D(O, Z) {
8451
- return new Date((Ja(O, Z + 4) / 1e7 * Math.pow(2, 32) + Ja(O, Z) / 1e7 - 11644473600) * 1e3);
8451
+ return new Date((qa(O, Z + 4) / 1e7 * Math.pow(2, 32) + qa(O, Z) / 1e7 - 11644473600) * 1e3);
8452
8452
  }
8453
8453
  function w(O, Z) {
8454
8454
  return u(), o(c.readFileSync(O), Z);
@@ -8459,9 +8459,9 @@ var q_ = /* @__PURE__ */ function() {
8459
8459
  case "file":
8460
8460
  return w(O, Z);
8461
8461
  case "base64":
8462
- return o(Qa(tr(O)), Z);
8462
+ return o(Za(tr(O)), Z);
8463
8463
  case "binary":
8464
- return o(Qa(O), Z);
8464
+ return o(Za(O), Z);
8465
8465
  }
8466
8466
  return o(
8467
8467
  /*::typeof blob == 'string' ? new Buffer(blob, 'utf-8') : */
@@ -8662,7 +8662,7 @@ var q_ = /* @__PURE__ */ function() {
8662
8662
  case "buffer":
8663
8663
  if (It) return Buffer.isBuffer(H) ? H : Ur(H);
8664
8664
  case "array":
8665
- return typeof H == "string" ? Qa(H) : H;
8665
+ return typeof H == "string" ? Za(H) : H;
8666
8666
  }
8667
8667
  return H;
8668
8668
  }
@@ -9059,7 +9059,7 @@ var q_ = /* @__PURE__ */ function() {
9059
9059
  for (var Q = 0; Q < Z.length; ++Q) Z[Q] = Z[Q].replace(/[=][0-9A-Fa-f]{2}/g, function(ae) {
9060
9060
  return String.fromCharCode(parseInt(ae.slice(1), 16));
9061
9061
  });
9062
- return Qa(Z.join(`\r
9062
+ return Za(Z.join(`\r
9063
9063
  `));
9064
9064
  }
9065
9065
  function Ca(O, Z, H) {
@@ -9081,7 +9081,7 @@ var q_ = /* @__PURE__ */ function() {
9081
9081
  }
9082
9082
  switch (++Ie, Q.toLowerCase()) {
9083
9083
  case "base64":
9084
- we = Qa(tr(Z.slice(Ie).join("")));
9084
+ we = Za(tr(Z.slice(Ie).join("")));
9085
9085
  break;
9086
9086
  case "quoted-printable":
9087
9087
  we = Tr(Z.slice(Ie));
@@ -9438,11 +9438,11 @@ function va(e, a, t) {
9438
9438
  return null;
9439
9439
  }
9440
9440
  }
9441
- function er(e, a, t) {
9441
+ function Qa(e, a, t) {
9442
9442
  if (!t) return f0(ws(e, a));
9443
9443
  if (!a) return null;
9444
9444
  try {
9445
- return er(e, a);
9445
+ return Qa(e, a);
9446
9446
  } catch {
9447
9447
  return null;
9448
9448
  }
@@ -9726,7 +9726,7 @@ var pi = /<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/mg, ga = {
9726
9726
  "http://purl.oclc.org/ooxml/spreadsheetml/main",
9727
9727
  "http://schemas.microsoft.com/office/excel/2006/main",
9728
9728
  "http://schemas.microsoft.com/office/excel/2006/2"
9729
- ], qa = {
9729
+ ], Ya = {
9730
9730
  o: "urn:schemas-microsoft-com:office:office",
9731
9731
  x: "urn:schemas-microsoft-com:office:excel",
9732
9732
  ss: "urn:schemas-microsoft-com:office:spreadsheet",
@@ -9768,19 +9768,19 @@ var Yo = function(e) {
9768
9768
  }, Ei = It ? function(a, t, r) {
9769
9769
  return Buffer.isBuffer(a) ? a.toString("utf8", t, r) : Qo(a, t, r);
9770
9770
  } : Qo, _0 = function(e, a) {
9771
- var t = Ja(e, a);
9771
+ var t = qa(e, a);
9772
9772
  return t > 0 ? Ei(e, a + 4, a + 4 + t - 1) : "";
9773
9773
  }, k0 = _0, y0 = function(e, a) {
9774
- var t = Ja(e, a);
9774
+ var t = qa(e, a);
9775
9775
  return t > 0 ? Ei(e, a + 4, a + 4 + t - 1) : "";
9776
9776
  }, w0 = y0, b0 = function(e, a) {
9777
- var t = 2 * Ja(e, a);
9777
+ var t = 2 * qa(e, a);
9778
9778
  return t > 0 ? Ei(e, a + 4, a + 4 + t - 1) : "";
9779
9779
  }, C0 = b0, S0 = function(a, t) {
9780
- var r = Ja(a, t);
9780
+ var r = qa(a, t);
9781
9781
  return r > 0 ? Fs(a, t + 4, t + 4 + r) : "";
9782
9782
  }, E0 = S0, T0 = function(e, a) {
9783
- var t = Ja(e, a);
9783
+ var t = qa(e, a);
9784
9784
  return t > 0 ? Ei(e, a + 4, a + 4 + t) : "";
9785
9785
  }, F0 = T0, A0 = function(e, a) {
9786
9786
  return x2(e, a);
@@ -9819,7 +9819,7 @@ var Rn = function(e, a) {
9819
9819
  }, k2 = function(e, a) {
9820
9820
  var t = e[a + 1] * 256 + e[a];
9821
9821
  return t < 32768 ? t : (65535 - t + 1) * -1;
9822
- }, Ja = function(e, a) {
9822
+ }, qa = function(e, a) {
9823
9823
  return e[a + 3] * (1 << 24) + (e[a + 2] << 16) + (e[a + 1] << 8) + e[a];
9824
9824
  }, sn = function(e, a) {
9825
9825
  return e[a + 3] << 24 | e[a + 2] << 16 | e[a + 1] << 8 | e[a];
@@ -9844,19 +9844,19 @@ function ri(e, a) {
9844
9844
  case "wstr":
9845
9845
  return ri.call(this, e, "dbcs");
9846
9846
  case "lpstr-ansi":
9847
- t = k0(this, this.l), e = 4 + Ja(this, this.l);
9847
+ t = k0(this, this.l), e = 4 + qa(this, this.l);
9848
9848
  break;
9849
9849
  case "lpstr-cp":
9850
- t = w0(this, this.l), e = 4 + Ja(this, this.l);
9850
+ t = w0(this, this.l), e = 4 + qa(this, this.l);
9851
9851
  break;
9852
9852
  case "lpwstr":
9853
- t = C0(this, this.l), e = 4 + 2 * Ja(this, this.l);
9853
+ t = C0(this, this.l), e = 4 + 2 * qa(this, this.l);
9854
9854
  break;
9855
9855
  case "lpp4":
9856
- e = 4 + Ja(this, this.l), t = E0(this, this.l), e & 2 && (e += 2);
9856
+ e = 4 + qa(this, this.l), t = E0(this, this.l), e & 2 && (e += 2);
9857
9857
  break;
9858
9858
  case "8lpp4":
9859
- e = 4 + Ja(this, this.l), t = F0(this, this.l), e & 3 && (e += 4 - (e & 3));
9859
+ e = 4 + qa(this, this.l), t = F0(this, this.l), e & 3 && (e += 4 - (e & 3));
9860
9860
  break;
9861
9861
  case "cstr":
9862
9862
  for (e = 0, t = ""; (l = Rn(this, this.l + e++)) !== 0; ) i.push(Li(l));
@@ -9892,7 +9892,7 @@ function ri(e, a) {
9892
9892
  return r = (a === "i" ? k2 : Mr)(this, this.l), this.l += 2, r;
9893
9893
  case 4:
9894
9894
  case -4:
9895
- return a === "i" || !(this[this.l + 3] & 128) ? (r = (e > 0 ? sn : y2)(this, this.l), this.l += 4, r) : (n = Ja(this, this.l), this.l += 4, n);
9895
+ return a === "i" || !(this[this.l + 3] & 128) ? (r = (e > 0 ? sn : y2)(this, this.l), this.l += 4, r) : (n = qa(this, this.l), this.l += 4, n);
9896
9896
  case 8:
9897
9897
  case -8:
9898
9898
  if (a === "f")
@@ -10085,7 +10085,7 @@ function xt(e) {
10085
10085
  for (var a = e.c + 1, t = ""; a; a = (a - 1) / 26 | 0) t = String.fromCharCode((a - 1) % 26 + 65) + t;
10086
10086
  return t + (e.r + 1);
10087
10087
  }
10088
- function Ya(e) {
10088
+ function Ka(e) {
10089
10089
  var a = e.indexOf(":");
10090
10090
  return a == -1 ? { s: ra(e), e: ra(e) } : { s: ra(e.slice(0, a)), e: ra(e.slice(a + 1)) };
10091
10091
  }
@@ -11439,7 +11439,7 @@ function uk(e, a) {
11439
11439
  }
11440
11440
  typeof n == "number" ? n = String(n) : n === !0 || n === !1 ? n = n ? "1" : "0" : n instanceof Date && (n = new Date(n).toISOString().replace(/\.\d*Z/, "")), t.push(Ta(Zl[r[1]] || r[1], n));
11441
11441
  }
11442
- }), He("DocumentProperties", t.join(""), { xmlns: qa.o });
11442
+ }), He("DocumentProperties", t.join(""), { xmlns: Ya.o });
11443
11443
  }
11444
11444
  function fk(e, a) {
11445
11445
  var t = ["Worksheets", "SheetNames"], r = "CustomDocumentProperties", n = [];
@@ -11456,7 +11456,7 @@ function fk(e, a) {
11456
11456
  var l = a[i], s = "string";
11457
11457
  typeof l == "number" ? (s = "float", l = String(l)) : l === !0 || l === !1 ? (s = "boolean", l = l ? "1" : "0") : l instanceof Date ? (s = "dateTime.tz", l = l.toISOString()) : l = String(l), n.push(He(Ho(i), l, { "dt:dt": s }));
11458
11458
  }
11459
- }), "<" + r + ' xmlns="' + qa.o + '">' + n.join("") + "</" + r + ">";
11459
+ }), "<" + r + ' xmlns="' + Ya.o + '">' + n.join("") + "</" + r + ">";
11460
11460
  }
11461
11461
  function Bs(e) {
11462
11462
  var a = e.read_shift(4), t = e.read_shift(4);
@@ -12827,10 +12827,10 @@ var ow = [2, 3, 48, 49, 131, 139, 140, 245], es = /* @__PURE__ */ function() {
12827
12827
  var u = [], o = qr(1);
12828
12828
  switch (c.type) {
12829
12829
  case "base64":
12830
- o = Qa(tr(s));
12830
+ o = Za(tr(s));
12831
12831
  break;
12832
12832
  case "binary":
12833
- o = Qa(s);
12833
+ o = Za(s);
12834
12834
  break;
12835
12835
  case "buffer":
12836
12836
  case "array":
@@ -13531,7 +13531,7 @@ var ow = [2, 3, 48, 49, 131, 139, 140, 245], es = /* @__PURE__ */ function() {
13531
13531
  `), c = "--SocialCalcSpreadsheetControlSave--";
13532
13532
  function u(h) {
13533
13533
  if (!h || !h["!ref"]) return "";
13534
- for (var d = [], v = [], g, m = "", _ = Ya(h["!ref"]), T = Array.isArray(h), E = _.s.r; E <= _.e.r; ++E)
13534
+ for (var d = [], v = [], g, m = "", _ = Ka(h["!ref"]), T = Array.isArray(h), E = _.s.r; E <= _.e.r; ++E)
13535
13535
  for (var k = _.s.c; k <= _.e.c; ++k)
13536
13536
  if (m = xt({ r: E, c: k }), g = T ? (h[E] || [])[k] : h[m], !(!g || g.v == null || g.t === "z")) {
13537
13537
  switch (v = ["cell", m, "t"], g.t) {
@@ -13734,9 +13734,9 @@ var dn = /* @__PURE__ */ function() {
13734
13734
  function a(I, B) {
13735
13735
  switch (B.type) {
13736
13736
  case "base64":
13737
- return t(Qa(tr(I)), B);
13737
+ return t(Za(tr(I)), B);
13738
13738
  case "binary":
13739
- return t(Qa(I), B);
13739
+ return t(Za(I), B);
13740
13740
  case "buffer":
13741
13741
  case "array":
13742
13742
  return t(I, B);
@@ -13866,7 +13866,7 @@ var dn = /* @__PURE__ */ function() {
13866
13866
  var ee = I.SheetNames[ne], oe = I.Sheets[ee];
13867
13867
  if (!(!oe || !oe["!ref"])) {
13868
13868
  ++Y;
13869
- var ye = Ya(oe["!ref"]);
13869
+ var ye = Ka(oe["!ref"]);
13870
13870
  z < ye.e.r && (z = ye.e.r), W < ye.e.c && (W = ye.e.c);
13871
13871
  }
13872
13872
  }
@@ -15932,7 +15932,7 @@ function Mb(e, a, t) {
15932
15932
  } catch {
15933
15933
  return;
15934
15934
  }
15935
- var s = er(l, "theme/theme/theme1.xml", !0);
15935
+ var s = Qa(l, "theme/theme/theme1.xml", !0);
15936
15936
  if (s)
15937
15937
  return yu(s, t);
15938
15938
  }
@@ -16260,7 +16260,7 @@ function r4(e, a) {
16260
16260
  var Mn = 1024;
16261
16261
  function bu(e, a) {
16262
16262
  for (var t = [21600, 21600], r = ["m0,0l0", t[1], t[0], t[1], t[0], "0xe"].join(","), n = [
16263
- He("xml", null, { "xmlns:v": qa.v, "xmlns:o": qa.o, "xmlns:x": qa.x, "xmlns:mv": qa.mv }).replace(/\/>/, ">"),
16263
+ He("xml", null, { "xmlns:v": Ya.v, "xmlns:o": Ya.o, "xmlns:x": Ya.x, "xmlns:mv": Ya.mv }).replace(/\/>/, ">"),
16264
16264
  He("o:shapelayout", He("o:idmap", null, { "v:ext": "edit", data: e }), { "v:ext": "edit" }),
16265
16265
  He("v:shapetype", [
16266
16266
  He("v:stroke", null, { joinstyle: "miter" }),
@@ -16638,7 +16638,7 @@ function Eu(e, a) {
16638
16638
  });
16639
16639
  }
16640
16640
  function w4(e, a, t) {
16641
- var r = Ya(a), n = r.s, i = ra(t), l = { r: i.r - n.r, c: i.c - n.c };
16641
+ var r = Ka(a), n = r.s, i = ra(t), l = { r: i.r - n.r, c: i.c - n.c };
16642
16642
  return Eu(e, l);
16643
16643
  }
16644
16644
  function b4(e) {
@@ -19011,8 +19011,8 @@ function kS(e) {
19011
19011
  function yS(e, a, t, r) {
19012
19012
  var n = typeof e.ref == "string" ? e.ref : Et(e.ref);
19013
19013
  t.Workbook || (t.Workbook = { Sheets: [] }), t.Workbook.Names || (t.Workbook.Names = []);
19014
- var i = t.Workbook.Names, l = Ya(n);
19015
- l.s.r == l.e.r && (l.e.r = Ya(a["!ref"]).e.r, n = Et(l));
19014
+ var i = t.Workbook.Names, l = Ka(n);
19015
+ l.s.r == l.e.r && (l.e.r = Ka(a["!ref"]).e.r, n = Et(l));
19016
19016
  for (var s = 0; s < i.length; ++s) {
19017
19017
  var c = i[s];
19018
19018
  if (c.Name == "_xlnm._FilterDatabase" && c.Sheet == r) {
@@ -19851,8 +19851,8 @@ function $E(e, a, t, r) {
19851
19851
  if (a["!autofilter"]) {
19852
19852
  var n = a["!autofilter"], i = typeof n.ref == "string" ? n.ref : Et(n.ref);
19853
19853
  t.Workbook || (t.Workbook = { Sheets: [] }), t.Workbook.Names || (t.Workbook.Names = []);
19854
- var l = t.Workbook.Names, s = Ya(i);
19855
- s.s.r == s.e.r && (s.e.r = Ya(a["!ref"]).e.r, i = Et(s));
19854
+ var l = t.Workbook.Names, s = Ka(i);
19855
+ s.s.r == s.e.r && (s.e.r = Ka(a["!ref"]).e.r, i = Et(s));
19856
19856
  for (var c = 0; c < l.length; ++c) {
19857
19857
  var u = l[c];
19858
19858
  if (u.Name == "_xlnm._FilterDatabase" && u.Sheet == r) {
@@ -21627,7 +21627,7 @@ function G3(e, a, t, r) {
21627
21627
  ["pivotTables", "AllowUsePivotTables"]
21628
21628
  ].forEach(function(l) {
21629
21629
  e["!protect"][l[0]] && n.push("<" + l[1] + "/>");
21630
- })), n.length == 0 ? "" : He("WorksheetOptions", n.join(""), { xmlns: qa.x });
21630
+ })), n.length == 0 ? "" : He("WorksheetOptions", n.join(""), { xmlns: Ya.x });
21631
21631
  }
21632
21632
  function X3(e) {
21633
21633
  return e.map(function(a) {
@@ -21711,12 +21711,12 @@ function J3(e, a) {
21711
21711
  for (var r = 0; r < e.SheetNames.length; ++r)
21712
21712
  t.push(He("Worksheet", q3(r, a, e), { "ss:Name": Xt(e.SheetNames[r]) }));
21713
21713
  return t[2] = z3(e, a), t[3] = W3(e), ua + He("Workbook", t.join(""), {
21714
- xmlns: qa.ss,
21715
- "xmlns:o": qa.o,
21716
- "xmlns:x": qa.x,
21717
- "xmlns:ss": qa.ss,
21718
- "xmlns:dt": qa.dt,
21719
- "xmlns:html": qa.html
21714
+ xmlns: Ya.ss,
21715
+ "xmlns:o": Ya.o,
21716
+ "xmlns:x": Ya.x,
21717
+ "xmlns:ss": Ya.ss,
21718
+ "xmlns:dt": Ya.dt,
21719
+ "xmlns:html": Ya.html
21720
21720
  });
21721
21721
  }
21722
21722
  function Z3(e) {
@@ -22226,10 +22226,10 @@ function Gu(e, a) {
22226
22226
  } else {
22227
22227
  switch (a.type) {
22228
22228
  case "base64":
22229
- e = Qa(tr(e));
22229
+ e = Za(tr(e));
22230
22230
  break;
22231
22231
  case "binary":
22232
- e = Qa(e);
22232
+ e = Za(e);
22233
22233
  break;
22234
22234
  case "buffer":
22235
22235
  break;
@@ -28461,7 +28461,7 @@ function Xu(e, a) {
28461
28461
  for (var t = 0; t <= e.SheetNames.length; ++t) {
28462
28462
  var r = e.Sheets[e.SheetNames[t]];
28463
28463
  if (!(!r || !r["!ref"])) {
28464
- var n = Ya(r["!ref"]);
28464
+ var n = Ka(r["!ref"]);
28465
28465
  n.e.c > 255 && typeof console < "u" && console.error && console.error("Worksheet '" + e.SheetNames[t] + "' extends beyond column IV (255). Data may be lost.");
28466
28466
  }
28467
28467
  }
@@ -28556,7 +28556,7 @@ function ST(e, a, t) {
28556
28556
  return r.join("") + "<table" + (t && t.id ? ' id="' + t.id + '"' : "") + ">";
28557
28557
  }
28558
28558
  function ju(e, a) {
28559
- var t = a || {}, r = t.header != null ? t.header : wT, n = t.footer != null ? t.footer : bT, i = [r], l = Ya(e["!ref"]);
28559
+ var t = a || {}, r = t.header != null ? t.header : wT, n = t.footer != null ? t.footer : bT, i = [r], l = Ka(e["!ref"]);
28560
28560
  t.dense = Array.isArray(e), i.push(ST(e, l, t));
28561
28561
  for (var s = l.s.r; s <= l.e.r; ++s) i.push(yT(e, l, s, t));
28562
28562
  return i.push("</table>" + n), i.join("");
@@ -28571,7 +28571,7 @@ function Ku(e, a, t) {
28571
28571
  }
28572
28572
  var s = a.getElementsByTagName("tr"), c = Math.min(r.sheetRows || 1e7, s.length), u = { s: { r: 0, c: 0 }, e: { r: n, c: i } };
28573
28573
  if (e["!ref"]) {
28574
- var o = Ya(e["!ref"]);
28574
+ var o = Ka(e["!ref"]);
28575
28575
  u.s.r = Math.min(u.s.r, o.s.r), u.s.c = Math.min(u.s.c, o.s.c), u.e.r = Math.max(u.e.r, o.e.r), u.e.c = Math.max(u.e.c, o.e.c), n == -1 && (u.e.r = n = o.e.r + 1);
28576
28576
  }
28577
28577
  var h = [], d = 0, v = e["!rows"] || (e["!rows"] = []), g = 0, m = 0, _ = 0, T = 0, E = 0, k = 0;
@@ -29081,7 +29081,7 @@ function qu(e, a) {
29081
29081
  }
29082
29082
  function Oc(e, a) {
29083
29083
  a = a || {}, lr(e, "META-INF/manifest.xml") && tk(va(e, "META-INF/manifest.xml"), a);
29084
- var t = er(e, "content.xml");
29084
+ var t = Qa(e, "content.xml");
29085
29085
  if (!t) throw new Error("Missing content.xml in ODS / UOF file");
29086
29086
  var r = qu(jt(t), a);
29087
29087
  return lr(e, "meta.xml") && (r.Props = V0(va(e, "meta.xml"))), r;
@@ -29127,7 +29127,7 @@ var AT = /* @__PURE__ */ function() {
29127
29127
  var c = [];
29128
29128
  c.push(' <table:table table:name="' + Xt(l.SheetNames[s]) + `" table:style-name="ta1">
29129
29129
  `);
29130
- var u = 0, o = 0, h = Ya(i["!ref"] || "A1"), d = i["!merges"] || [], v = 0, g = Array.isArray(i);
29130
+ var u = 0, o = 0, h = Ka(i["!ref"] || "A1"), d = i["!merges"] || [], v = 0, g = Array.isArray(i);
29131
29131
  if (i["!cols"])
29132
29132
  for (o = 0; o <= h.e.c; ++o) c.push(" <table:table-column" + (i["!cols"][o] ? ' table:style-name="co' + i["!cols"][o].ods + '"' : "") + `></table:table-column>
29133
29133
  `);
@@ -29151,7 +29151,7 @@ var AT = /* @__PURE__ */ function() {
29151
29151
  }
29152
29152
  var D = xt({ r: u, c: o }), w = g ? (i[u] || [])[o] : i[D];
29153
29153
  if (w && w.f && (E["table:formula"] = Xt(YC(w.f)), w.F && w.F.slice(0, D.length) == D)) {
29154
- var C = Ya(w.F);
29154
+ var C = Ka(w.F);
29155
29155
  E["table:number-matrix-columns-spanned"] = C.e.c - C.s.c + 1, E["table:number-matrix-rows-spanned"] = C.e.r - C.s.r + 1;
29156
29156
  }
29157
29157
  if (!w) {
@@ -29312,7 +29312,7 @@ function rs(e) {
29312
29312
  return typeof TextDecoder < "u" ? new TextDecoder().decode(e) : jt(en(e));
29313
29313
  }
29314
29314
  function DT(e) {
29315
- return typeof TextEncoder < "u" ? new TextEncoder().encode(e) : Qa(Cr(e));
29315
+ return typeof TextEncoder < "u" ? new TextEncoder().encode(e) : Za(Cr(e));
29316
29316
  }
29317
29317
  function IT(e, a) {
29318
29318
  e:
@@ -29828,7 +29828,7 @@ function GT(e, a) {
29828
29828
  throw new Error("Must pass a `numbers` option -- check the README");
29829
29829
  var t = e.Sheets[e.SheetNames[0]];
29830
29830
  e.SheetNames.length > 1 && console.error("The Numbers writer currently writes only the first table");
29831
- var r = Ya(t["!ref"]);
29831
+ var r = Ka(t["!ref"]);
29832
29832
  r.s.r = r.s.c = 0;
29833
29833
  var n = !1;
29834
29834
  r.e.c > 9 && (n = !0, r.e.c = 9), r.e.r > 49 && (n = !0, r.e.r = 49), n && console.error("The Numbers writer is currently limited to ".concat(Et(r)));
@@ -30060,7 +30060,7 @@ function jT(e, a) {
30060
30060
  }
30061
30061
  function KT(e, a, t, r, n, i, l, s, c, u, o, h) {
30062
30062
  try {
30063
- i[r] = li(er(e, t, !0), a);
30063
+ i[r] = li(Qa(e, t, !0), a);
30064
30064
  var d = va(e, a), v;
30065
30065
  switch (s) {
30066
30066
  case "sheet":
@@ -30068,8 +30068,8 @@ function KT(e, a, t, r, n, i, l, s, c, u, o, h) {
30068
30068
  break;
30069
30069
  case "chart":
30070
30070
  if (v = g3(d, a, n, c, i[r], u, o, h), !v || !v["!drawel"]) break;
30071
- var g = ti(v["!drawel"].Target, a), m = gi(g), _ = r4(er(e, g, !0), li(er(e, m, !0), g)), T = ti(_, g), E = gi(T);
30072
- v = HE(er(e, T, !0), T, c, li(er(e, E, !0), T), u, v);
30071
+ var g = ti(v["!drawel"].Target, a), m = gi(g), _ = r4(Qa(e, g, !0), li(Qa(e, m, !0), g)), T = ti(_, g), E = gi(T);
30072
+ v = HE(Qa(e, T, !0), T, c, li(Qa(e, E, !0), T), u, v);
30073
30073
  break;
30074
30074
  case "macro":
30075
30075
  v = x3(d, a, n, c, i[r], u, o, h);
@@ -30114,7 +30114,7 @@ function YT(e, a) {
30114
30114
  }
30115
30115
  if (!lr(e, "[Content_Types].xml"))
30116
30116
  throw lr(e, "index.xml.gz") ? new Error("Unsupported NUMBERS 08 file") : lr(e, "index.xml") ? new Error("Unsupported NUMBERS 09 file") : new Error("Unsupported ZIP file");
30117
- var r = zo(e), n = Q2(er(e, "[Content_Types].xml")), i = !1, l, s;
30117
+ var r = zo(e), n = Q2(Qa(e, "[Content_Types].xml")), i = !1, l, s;
30118
30118
  if (n.workbooks.length === 0 && (s = "xl/workbook.xml", va(e, s, !0) && n.workbooks.push(s)), n.workbooks.length === 0) {
30119
30119
  if (s = "xl/workbook.bin", !va(e, s, !0)) throw new Error("Could not find workbook");
30120
30120
  n.workbooks.push(s), i = !0;
@@ -30127,11 +30127,11 @@ function YT(e, a) {
30127
30127
  } catch (j) {
30128
30128
  if (a.WTF) throw j;
30129
30129
  }
30130
- a.cellStyles && n.themes.length && (c = y3(er(e, n.themes[0].replace(/^\//, ""), !0) || "", n.themes[0], a)), n.style && (u = k3(va(e, ar(n.style)), n.style, c, a));
30130
+ a.cellStyles && n.themes.length && (c = y3(Qa(e, n.themes[0].replace(/^\//, ""), !0) || "", n.themes[0], a)), n.style && (u = k3(va(e, ar(n.style)), n.style, c, a));
30131
30131
  }
30132
30132
  n.links.map(function(j) {
30133
30133
  try {
30134
- var ie = li(er(e, gi(ar(j))), j);
30134
+ var ie = li(Qa(e, gi(ar(j))), j);
30135
30135
  return S3(va(e, ar(j)), ie, j, a);
30136
30136
  } catch {
30137
30137
  }
@@ -30139,7 +30139,7 @@ function YT(e, a) {
30139
30139
  var o = m3(va(e, ar(n.workbooks[0])), n.workbooks[0], a), h = {}, d = "";
30140
30140
  n.coreprops.length && (d = va(e, ar(n.coreprops[0]), !0), d && (h = V0(d)), n.extprops.length !== 0 && (d = va(e, ar(n.extprops[0]), !0), d && lk(d, h, a)));
30141
30141
  var v = {};
30142
- (!a.bookSheets || a.bookProps) && n.custprops.length !== 0 && (d = er(e, ar(n.custprops[0]), !0), d && (v = ok(d, a)));
30142
+ (!a.bookSheets || a.bookProps) && n.custprops.length !== 0 && (d = Qa(e, ar(n.custprops[0]), !0), d && (v = ok(d, a)));
30143
30143
  var g = {};
30144
30144
  if ((a.bookSheets || a.bookProps) && (o.Sheets ? l = o.Sheets.map(function(ie) {
30145
30145
  return ie.name;
@@ -30157,7 +30157,7 @@ function YT(e, a) {
30157
30157
  }
30158
30158
  var C = i ? "bin" : "xml", y = n.workbooks[0].lastIndexOf("/"), N = (n.workbooks[0].slice(0, y + 1) + "_rels/" + n.workbooks[0].slice(y + 1) + ".rels").replace(/^\//, "");
30159
30159
  lr(e, N) || (N = "xl/_rels/workbook." + C + ".rels");
30160
- var S = li(er(e, N, !0), N.replace(/_rels.*/, "s5s"));
30160
+ var S = li(Qa(e, N, !0), N.replace(/_rels.*/, "s5s"));
30161
30161
  (n.metadata || []).length >= 1 && (a.xlmeta = E3(va(e, ar(n.metadata[0])), n.metadata[0], a)), (n.people || []).length >= 1 && (a.people = s4(va(e, ar(n.people[0])), a)), S && (S = jT(S, o.Sheets));
30162
30162
  var A = va(e, "xl/worksheets/sheet.xml", !0) ? 1 : 0;
30163
30163
  e: for (_ = 0; _ != h.Worksheets; ++_) {
@@ -30861,7 +30861,7 @@ var Ki = {
30861
30861
  decode_row: Ds,
30862
30862
  split_cell: D2,
30863
30863
  decode_cell: ra,
30864
- decode_range: Ya,
30864
+ decode_range: Ka,
30865
30865
  format_cell: $r,
30866
30866
  sheet_add_aoa: I0,
30867
30867
  sheet_add_json: rf,
@@ -38862,13 +38862,10 @@ ${d(M[e.config.startField])} ~ ${d(M[e.config.endField])}`,
38862
38862
  }, OA = /* @__PURE__ */ Kn(IA, [["__scopeId", "data-v-0a02ab86"]]), RA = { class: "cd-filter-bar" }, NA = {
38863
38863
  key: 0,
38864
38864
  class: "plan-radio-group"
38865
- }, MA = {
38866
- key: 0,
38867
- class: "plan-label"
38868
- }, PA = { class: "filter-toolbar-row" }, LA = {
38865
+ }, MA = { class: "filter-toolbar-row" }, PA = {
38869
38866
  key: 0,
38870
38867
  class: "inline-filter-toolbar"
38871
- }, BA = { class: "filter-action-buttons" }, $A = { class: "save-plan-content" }, VA = {
38868
+ }, LA = { class: "filter-action-buttons" }, BA = { class: "save-plan-content" }, $A = {
38872
38869
  __name: "cd-filter-bar",
38873
38870
  props: {
38874
38871
  fieldOptions: { type: Array, required: !0 },
@@ -39084,9 +39081,8 @@ ${z.map((W) => {
39084
39081
  const Y = de("t-radio-button"), ne = de("t-radio-group"), ee = de("t-button"), oe = de("t-icon"), ye = de("t-badge"), Ne = de("t-tooltip"), X = de("t-input"), De = de("t-form-item"), fe = de("t-form"), Ee = de("t-dialog");
39085
39082
  return x(), F("div", RA, [
39086
39083
  e.planFilterOptions.length > 0 || z.$slots["plan-row-right"] ? (x(), F("div", NA, [
39087
- e.planFilterOptions.length > 0 ? (x(), F("span", MA, le(s.value || "我的方案"), 1)) : ke("", !0),
39088
39084
  e.planFilterOptions.length > 0 ? (x(), pe(ne, {
39089
- key: 1,
39085
+ key: 0,
39090
39086
  modelValue: v.value,
39091
39087
  "onUpdate:modelValue": W[0] || (W[0] = (Re) => v.value = Re),
39092
39088
  size: e.size,
@@ -39106,9 +39102,9 @@ ${z.map((W) => {
39106
39102
  ]),
39107
39103
  _: 1
39108
39104
  }, 8, ["modelValue", "size"])) : ke("", !0),
39109
- Ka(z.$slots, "plan-row-right", {}, void 0, !0)
39105
+ er(z.$slots, "plan-row-right", {}, void 0, !0)
39110
39106
  ])) : ke("", !0),
39111
- f("div", PA, [
39107
+ f("div", MA, [
39112
39108
  V(ee, {
39113
39109
  theme: "default",
39114
39110
  variant: "outline",
@@ -39121,7 +39117,7 @@ ${z.map((W) => {
39121
39117
  ])]),
39122
39118
  _: 1
39123
39119
  }, 8, ["size"]),
39124
- e.filterCount > 0 ? (x(), F("div", LA, [
39120
+ e.filterCount > 0 ? (x(), F("div", PA, [
39125
39121
  (x(!0), F(Pe, null, ze(n.value, (Re, Me) => (x(), pe(sf, {
39126
39122
  key: Me,
39127
39123
  "field-options": e.fieldOptions,
@@ -39131,7 +39127,7 @@ ${z.map((W) => {
39131
39127
  onSearch: _
39132
39128
  }, null, 8, ["field-options", "size", "filter-condition", "select-options"]))), 128))
39133
39129
  ])) : ke("", !0),
39134
- f("div", BA, [
39130
+ f("div", LA, [
39135
39131
  e.filterCount > 0 ? (x(), pe(ee, {
39136
39132
  key: 0,
39137
39133
  theme: "primary",
@@ -39189,7 +39185,7 @@ ${z.map((W) => {
39189
39185
  placement: "top"
39190
39186
  }, {
39191
39187
  default: R(() => [
39192
- Za(V(ee, {
39188
+ Ja(V(ee, {
39193
39189
  theme: "primary",
39194
39190
  size: e.size,
39195
39191
  onClick: y
@@ -39204,8 +39200,7 @@ ${z.map((W) => {
39204
39200
  ]),
39205
39201
  _: 1
39206
39202
  })) : ke("", !0)
39207
- ]),
39208
- Ka(z.$slots, "toolbar-right", {}, void 0, !0)
39203
+ ])
39209
39204
  ]),
39210
39205
  V(iA, {
39211
39206
  visible: c.value,
@@ -39238,7 +39233,7 @@ ${z.map((W) => {
39238
39233
  onClose: N
39239
39234
  }, {
39240
39235
  body: R(() => [
39241
- f("div", $A, [
39236
+ f("div", BA, [
39242
39237
  V(fe, {
39243
39238
  data: U.value,
39244
39239
  "label-width": "100px"
@@ -39304,7 +39299,7 @@ ${z.map((W) => {
39304
39299
  ]);
39305
39300
  };
39306
39301
  }
39307
- }, UA = /* @__PURE__ */ Kn(VA, [["__scopeId", "data-v-c40c25de"]]);
39302
+ }, VA = /* @__PURE__ */ Kn($A, [["__scopeId", "data-v-833ea58a"]]);
39308
39303
  (function() {
39309
39304
  try {
39310
39305
  if (typeof document < "u") {
@@ -39315,31 +39310,31 @@ ${z.map((W) => {
39315
39310
  console.error("vite-plugin-css-injected-by-js", a);
39316
39311
  }
39317
39312
  })();
39318
- const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA = {
39313
+ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA = {
39319
39314
  key: 0,
39320
39315
  class: "cd-share-actions"
39321
- }, GA = {
39316
+ }, HA = {
39322
39317
  key: 0,
39323
39318
  class: "cd-share-content"
39324
- }, XA = { class: "cd-share-cooperators" }, jA = { class: "cd-share-collaborators-wrapper" }, KA = { class: "cd-share-avatar-owner" }, YA = {
39319
+ }, GA = { class: "cd-share-cooperators" }, XA = { class: "cd-share-collaborators-wrapper" }, jA = { class: "cd-share-avatar-owner" }, KA = {
39325
39320
  key: 0,
39326
39321
  class: "cd-share-selector-wrapper"
39327
- }, qA = { class: "cd-share-selector-content" }, JA = {
39322
+ }, YA = { class: "cd-share-selector-content" }, qA = {
39328
39323
  key: 1,
39329
39324
  class: "cd-share-readonly-tip"
39330
- }, ZA = {
39325
+ }, JA = {
39331
39326
  key: 2,
39332
39327
  class: "cd-share-footer"
39333
- }, QA = { class: "cd-share-footer-top" }, e6 = { class: "cd-share-footer-controls" }, t6 = { class: "cd-share-org-control" }, a6 = { class: "cd-share-org-content" }, r6 = { class: "cd-share-footer-bottom" }, n6 = { class: "cd-share-icon-actions" }, i6 = { class: "cd-share-icon-btn" }, l6 = {
39328
+ }, ZA = { class: "cd-share-footer-top" }, QA = { class: "cd-share-footer-controls" }, e6 = { class: "cd-share-org-control" }, t6 = { class: "cd-share-org-content" }, a6 = { class: "cd-share-footer-bottom" }, r6 = { class: "cd-share-icon-actions" }, n6 = { class: "cd-share-icon-btn" }, i6 = {
39334
39329
  key: 1,
39335
39330
  class: "cd-share-content"
39336
- }, s6 = { class: "cd-share-cooperators" }, o6 = { class: "cd-share-collaborators-wrapper" }, c6 = { class: "cd-share-avatar-owner" }, u6 = { class: "cd-share-selector-wrapper" }, f6 = { class: "cd-share-selector-content" }, d6 = { class: "cd-share-options" }, h6 = { class: "cd-share-form-actions" }, v6 = { class: "cd-permission-settings" }, m6 = { class: "cd-permission-section" }, p6 = { class: "cd-permission-item" }, g6 = { class: "cd-permission-section" }, x6 = { class: "cd-permission-item" }, _6 = { class: "cd-permission-item" }, k6 = { class: "cd-permission-item" }, y6 = { class: "cd-permission-actions" }, w6 = { class: "cd-collaborator-list-content" }, b6 = { class: "cd-collaborator-list-item" }, C6 = { class: "cd-collaborator-item-info" }, S6 = { class: "cd-collaborator-item-name" }, E6 = { class: "cd-collaborator-item-info" }, T6 = { class: "cd-collaborator-item-name" }, F6 = { class: "cd-collaborator-item-actions" }, A6 = {
39331
+ }, l6 = { class: "cd-share-cooperators" }, s6 = { class: "cd-share-collaborators-wrapper" }, o6 = { class: "cd-share-avatar-owner" }, c6 = { class: "cd-share-selector-wrapper" }, u6 = { class: "cd-share-selector-content" }, f6 = { class: "cd-share-options" }, d6 = { class: "cd-share-form-actions" }, h6 = { class: "cd-permission-settings" }, v6 = { class: "cd-permission-section" }, m6 = { class: "cd-permission-item" }, p6 = { class: "cd-permission-section" }, g6 = { class: "cd-permission-item" }, x6 = { class: "cd-permission-item" }, _6 = { class: "cd-permission-item" }, k6 = { class: "cd-permission-actions" }, y6 = { class: "cd-collaborator-list-content" }, w6 = { class: "cd-collaborator-list-item" }, b6 = { class: "cd-collaborator-item-info" }, C6 = { class: "cd-collaborator-item-name" }, S6 = { class: "cd-collaborator-item-info" }, E6 = { class: "cd-collaborator-item-name" }, T6 = { class: "cd-collaborator-item-actions" }, F6 = {
39337
39332
  key: 0,
39338
39333
  class: "cd-collaborator-item-permission-text"
39339
- }, D6 = {
39334
+ }, A6 = {
39340
39335
  key: 0,
39341
39336
  class: "cd-collaborator-item-permission-text"
39342
- }, I6 = { class: "cd-qrcode-content" }, O6 = ["src"], R6 = { class: "cd-qrcode-url" }, N6 = { class: "cd-encrypt-content" }, M6 = { class: "cd-encrypt-field" }, P6 = { class: "cd-encrypt-note" }, L6 = { class: "cd-encrypt-actions" }, B6 = /* @__PURE__ */ Nt({
39337
+ }, D6 = { class: "cd-qrcode-content" }, I6 = ["src"], O6 = { class: "cd-qrcode-url" }, R6 = { class: "cd-encrypt-content" }, N6 = { class: "cd-encrypt-field" }, M6 = { class: "cd-encrypt-note" }, P6 = { class: "cd-encrypt-actions" }, L6 = /* @__PURE__ */ Nt({
39343
39338
  name: "CdShareDialog",
39344
39339
  __name: "ShareDialog",
39345
39340
  props: {
@@ -39534,8 +39529,8 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39534
39529
  class: "cd-share-dialog"
39535
39530
  }, {
39536
39531
  header: R(() => [
39537
- f("div", zA, [
39538
- f("div", WA, [
39532
+ f("div", UA, [
39533
+ f("div", zA, [
39539
39534
  c.value ? (x(), pe(Ee, {
39540
39535
  key: 0,
39541
39536
  name: "chevron-left",
@@ -39558,8 +39553,8 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39558
39553
  _: 1
39559
39554
  })) : ke("", !0)
39560
39555
  ]),
39561
- c.value ? ke("", !0) : (x(), F("div", HA, [
39562
- Ka(De.$slots, "header-actions", {}, () => [
39556
+ c.value ? ke("", !0) : (x(), F("div", WA, [
39557
+ er(De.$slots, "header-actions", {}, () => [
39563
39558
  L.value === "read" ? (x(), pe(Me, {
39564
39559
  key: 0,
39565
39560
  variant: "text",
@@ -39600,11 +39595,11 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39600
39595
  default: R(() => {
39601
39596
  var ht, pa;
39602
39597
  return [
39603
- c.value ? (x(), F("div", l6, [
39604
- f("div", s6, [
39598
+ c.value ? (x(), F("div", i6, [
39599
+ f("div", l6, [
39605
39600
  fe[35] || (fe[35] = f("div", { class: "cd-share-label" }, "邀请协作者", -1)),
39606
- f("div", o6, [
39607
- f("div", c6, [
39601
+ f("div", s6, [
39602
+ f("div", o6, [
39608
39603
  (pa = e.owner) != null && pa.avatar ? (x(), pe(At, {
39609
39604
  key: 0,
39610
39605
  image: e.owner.avatar,
@@ -39643,8 +39638,8 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39643
39638
  })
39644
39639
  ])
39645
39640
  ]),
39646
- f("div", u6, [
39647
- f("div", f6, [
39641
+ f("div", c6, [
39642
+ f("div", u6, [
39648
39643
  V(Nr(So), {
39649
39644
  modelValue: s.value,
39650
39645
  "onUpdate:modelValue": fe[9] || (fe[9] = (ot) => s.value = ot),
@@ -39657,7 +39652,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39657
39652
  }, null, 8, ["modelValue", "tabs", "organizations"])
39658
39653
  ])
39659
39654
  ]),
39660
- f("div", d6, [
39655
+ f("div", f6, [
39661
39656
  V(ta, {
39662
39657
  modelValue: d.value,
39663
39658
  "onUpdate:modelValue": fe[10] || (fe[10] = (ot) => d.value = ot)
@@ -39693,7 +39688,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39693
39688
  autosize: { minRows: 10, maxRows: 15 },
39694
39689
  style: { height: "100px" }
39695
39690
  }, null, 8, ["modelValue"]),
39696
- f("div", h6, [
39691
+ f("div", d6, [
39697
39692
  V(Me, {
39698
39693
  variant: "outline",
39699
39694
  onClick: ge
@@ -39713,11 +39708,11 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39713
39708
  _: 1
39714
39709
  })
39715
39710
  ])
39716
- ])) : (x(), F("div", GA, [
39717
- f("div", XA, [
39711
+ ])) : (x(), F("div", HA, [
39712
+ f("div", GA, [
39718
39713
  fe[29] || (fe[29] = f("div", { class: "cd-share-label" }, "邀请协作者", -1)),
39719
- f("div", jA, [
39720
- f("div", KA, [
39714
+ f("div", XA, [
39715
+ f("div", jA, [
39721
39716
  (ht = e.owner) != null && ht.avatar ? (x(), pe(At, {
39722
39717
  key: 0,
39723
39718
  image: e.owner.avatar,
@@ -39756,8 +39751,8 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39756
39751
  })
39757
39752
  ])
39758
39753
  ]),
39759
- L.value !== "read" ? (x(), F("div", YA, [
39760
- f("div", qA, [
39754
+ L.value !== "read" ? (x(), F("div", KA, [
39755
+ f("div", YA, [
39761
39756
  V(Nr(So), {
39762
39757
  modelValue: s.value,
39763
39758
  "onUpdate:modelValue": fe[2] || (fe[2] = (ot) => s.value = ot),
@@ -39769,7 +39764,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39769
39764
  onLoadUsers: B
39770
39765
  }, null, 8, ["modelValue", "tabs", "organizations"])
39771
39766
  ])
39772
- ])) : (x(), F("div", JA, [
39767
+ ])) : (x(), F("div", qA, [
39773
39768
  V(Ee, {
39774
39769
  name: "info-circle",
39775
39770
  size: "14px",
@@ -39777,17 +39772,17 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39777
39772
  }),
39778
39773
  fe[30] || (fe[30] = xe(" 您当前为只读权限,无法添加协作者 ", -1))
39779
39774
  ])),
39780
- l.value ? (x(), F("div", ZA, [
39781
- f("div", QA, [
39775
+ l.value ? (x(), F("div", JA, [
39776
+ f("div", ZA, [
39782
39777
  fe[32] || (fe[32] = f("div", { class: "cd-share-footer-title" }, "链接分享", -1)),
39783
- f("div", e6, [
39784
- f("div", t6, [
39778
+ f("div", QA, [
39779
+ f("div", e6, [
39785
39780
  V(Ee, {
39786
39781
  name: "city-1",
39787
39782
  class: "cd-share-org-icon",
39788
39783
  size: "18px"
39789
39784
  }),
39790
- f("div", a6, [
39785
+ f("div", t6, [
39791
39786
  V(bt, {
39792
39787
  modelValue: u.value,
39793
39788
  "onUpdate:modelValue": fe[3] || (fe[3] = (ot) => u.value = ot),
@@ -39823,7 +39818,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39823
39818
  }, null, 8, ["modelValue", "disabled"])
39824
39819
  ])
39825
39820
  ]),
39826
- f("div", r6, [
39821
+ f("div", a6, [
39827
39822
  f("div", {
39828
39823
  class: "cd-share-copy-action",
39829
39824
  onClick: re
@@ -39834,8 +39829,8 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39834
39829
  }),
39835
39830
  fe[33] || (fe[33] = xe(" 复制链接 ", -1))
39836
39831
  ]),
39837
- f("div", n6, [
39838
- Ka(De.$slots, "share-channels", {}, () => [
39832
+ f("div", r6, [
39833
+ er(De.$slots, "share-channels", {}, () => [
39839
39834
  V(Re, { content: "二维码" }, {
39840
39835
  default: R(() => [
39841
39836
  f("div", {
@@ -39849,7 +39844,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39849
39844
  }),
39850
39845
  V(Re, { content: "邮件" }, {
39851
39846
  default: R(() => [
39852
- f("div", i6, [
39847
+ f("div", n6, [
39853
39848
  V(Ee, { name: "mail" })
39854
39849
  ])
39855
39850
  ]),
@@ -39887,10 +39882,10 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39887
39882
  class: "cd-permission-settings-dialog"
39888
39883
  }, {
39889
39884
  default: R(() => [
39890
- f("div", v6, [
39891
- f("div", m6, [
39885
+ f("div", h6, [
39886
+ f("div", v6, [
39892
39887
  fe[41] || (fe[41] = f("div", { class: "cd-permission-section-title" }, "对外分享", -1)),
39893
- f("div", p6, [
39888
+ f("div", m6, [
39894
39889
  fe[40] || (fe[40] = f("div", { class: "cd-permission-item-label" }, "允许内容被分享到组织外", -1)),
39895
39890
  V(Kt, {
39896
39891
  modelValue: w.value.allowExternalShare,
@@ -39900,9 +39895,9 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39900
39895
  ]),
39901
39896
  fe[42] || (fe[42] = f("div", { class: "cd-permission-item-note" }, ' 仅"可管理权限"可以将内容分享到组织外 ', -1))
39902
39897
  ]),
39903
- f("div", g6, [
39898
+ f("div", p6, [
39904
39899
  fe[46] || (fe[46] = f("div", { class: "cd-permission-section-title" }, "内容操作权限", -1)),
39905
- f("div", x6, [
39900
+ f("div", g6, [
39906
39901
  fe[43] || (fe[43] = f("div", { class: "cd-permission-item-label" }, "谁可以复制内容", -1)),
39907
39902
  V(bt, {
39908
39903
  modelValue: w.value.copyPermission,
@@ -39912,7 +39907,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39912
39907
  style: { width: "200px" }
39913
39908
  }, null, 8, ["modelValue", "disabled"])
39914
39909
  ]),
39915
- f("div", _6, [
39910
+ f("div", x6, [
39916
39911
  fe[44] || (fe[44] = f("div", { class: "cd-permission-item-label" }, "谁可以创建副本、打印和下载", -1)),
39917
39912
  V(bt, {
39918
39913
  modelValue: w.value.downloadPermission,
@@ -39922,7 +39917,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39922
39917
  style: { width: "200px" }
39923
39918
  }, null, 8, ["modelValue", "disabled"])
39924
39919
  ]),
39925
- f("div", k6, [
39920
+ f("div", _6, [
39926
39921
  fe[45] || (fe[45] = f("div", { class: "cd-permission-item-label" }, "谁可以评论", -1)),
39927
39922
  V(bt, {
39928
39923
  modelValue: w.value.commentPermission,
@@ -39933,7 +39928,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39933
39928
  }, null, 8, ["modelValue", "disabled"])
39934
39929
  ])
39935
39930
  ]),
39936
- f("div", y6, [
39931
+ f("div", k6, [
39937
39932
  V(Me, {
39938
39933
  variant: "outline",
39939
39934
  onClick: fe[19] || (fe[19] = (ht) => _.value = !1)
@@ -39970,9 +39965,9 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39970
39965
  default: R(() => {
39971
39966
  var ht, pa, ot;
39972
39967
  return [
39973
- f("div", w6, [
39974
- f("div", b6, [
39975
- f("div", C6, [
39968
+ f("div", y6, [
39969
+ f("div", w6, [
39970
+ f("div", b6, [
39976
39971
  (ht = e.owner) != null && ht.avatar ? (x(), pe(At, {
39977
39972
  key: 0,
39978
39973
  image: e.owner.avatar,
@@ -39989,7 +39984,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39989
39984
  }),
39990
39985
  _: 1
39991
39986
  })),
39992
- f("span", S6, le(((pa = e.owner) == null ? void 0 : pa.displayName) || ((ot = e.owner) == null ? void 0 : ot.name) || "所有者"), 1)
39987
+ f("span", C6, le(((pa = e.owner) == null ? void 0 : pa.displayName) || ((ot = e.owner) == null ? void 0 : ot.name) || "所有者"), 1)
39993
39988
  ]),
39994
39989
  fe[49] || (fe[49] = f("div", { class: "cd-collaborator-item-role" }, "所有者", -1))
39995
39990
  ]),
@@ -39999,7 +39994,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
39999
39994
  key: ft.id,
40000
39995
  class: "cd-collaborator-list-item"
40001
39996
  }, [
40002
- f("div", E6, [
39997
+ f("div", S6, [
40003
39998
  ft.avatar ? (x(), pe(At, {
40004
39999
  key: 0,
40005
40000
  image: ft.avatar,
@@ -40013,11 +40008,11 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
40013
40008
  ]),
40014
40009
  _: 2
40015
40010
  }, 1024)),
40016
- f("span", T6, le(ft.displayName || ft.name), 1)
40011
+ f("span", E6, le(ft.displayName || ft.name), 1)
40017
40012
  ]),
40018
- f("div", F6, [
40019
- L.value === "read" ? (x(), F("div", A6, le(((Dt = N.find((it) => it.value === ft.permission)) == null ? void 0 : Dt.label) || "可阅读"), 1)) : L.value === "edit" ? (x(), F(Pe, { key: 1 }, [
40020
- ft.permission === "manage" ? (x(), F("div", D6, " 可管理 ")) : (x(), pe(bt, {
40013
+ f("div", T6, [
40014
+ L.value === "read" ? (x(), F("div", F6, le(((Dt = N.find((it) => it.value === ft.permission)) == null ? void 0 : Dt.label) || "可阅读"), 1)) : L.value === "edit" ? (x(), F(Pe, { key: 1 }, [
40015
+ ft.permission === "manage" ? (x(), F("div", A6, " 可管理 ")) : (x(), pe(bt, {
40021
40016
  key: 1,
40022
40017
  value: ft.permission,
40023
40018
  options: A.value,
@@ -40066,14 +40061,14 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
40066
40061
  class: "cd-qrcode-dialog"
40067
40062
  }, {
40068
40063
  default: R(() => [
40069
- f("div", I6, [
40064
+ f("div", D6, [
40070
40065
  j.value ? (x(), F("img", {
40071
40066
  key: 0,
40072
40067
  src: j.value,
40073
40068
  alt: "分享二维码",
40074
40069
  class: "cd-qrcode-image"
40075
- }, null, 8, O6)) : ke("", !0),
40076
- f("div", R6, le(l.value), 1),
40070
+ }, null, 8, I6)) : ke("", !0),
40071
+ f("div", O6, le(l.value), 1),
40077
40072
  fe[50] || (fe[50] = f("div", { class: "cd-qrcode-tip" }, "扫描二维码或复制链接分享", -1))
40078
40073
  ])
40079
40074
  ]),
@@ -40089,8 +40084,8 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
40089
40084
  class: "cd-encrypt-dialog"
40090
40085
  }, {
40091
40086
  default: R(() => [
40092
- f("div", N6, [
40093
- f("div", M6, [
40087
+ f("div", R6, [
40088
+ f("div", N6, [
40094
40089
  fe[52] || (fe[52] = f("div", { class: "cd-encrypt-label" }, "链接密码", -1)),
40095
40090
  V(qe, {
40096
40091
  modelValue: D.value,
@@ -40116,7 +40111,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
40116
40111
  _: 1
40117
40112
  }, 8, ["modelValue", "disabled"])
40118
40113
  ]),
40119
- f("div", P6, [
40114
+ f("div", M6, [
40120
40115
  V(Ee, {
40121
40116
  name: "info-circle",
40122
40117
  size: "14px",
@@ -40124,7 +40119,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
40124
40119
  }),
40125
40120
  fe[53] || (fe[53] = xe(" 密码仅对当前页面生效。组织外用户需要密码访问,组织内用户无需密码可直接访问 ", -1))
40126
40121
  ]),
40127
- f("div", L6, [
40122
+ f("div", P6, [
40128
40123
  V(Me, {
40129
40124
  variant: "outline",
40130
40125
  disabled: L.value === "read",
@@ -40166,33 +40161,33 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
40166
40161
  ], 64);
40167
40162
  };
40168
40163
  }
40169
- }), $6 = (e, a) => {
40164
+ }), B6 = (e, a) => {
40170
40165
  const t = e.__vccOpts || e;
40171
40166
  for (const [r, n] of a)
40172
40167
  t[r] = n;
40173
40168
  return t;
40174
- }, of = /* @__PURE__ */ $6(B6, [["__scopeId", "data-v-a175ef28"]]), V6 = { class: "cd-form-container" }, U6 = {
40169
+ }, of = /* @__PURE__ */ B6(L6, [["__scopeId", "data-v-a175ef28"]]), $6 = { class: "cd-form-container" }, V6 = {
40175
40170
  key: 0,
40176
40171
  class: "cd-form-header"
40177
- }, z6 = { class: "header-left" }, W6 = { class: "header-title" }, H6 = { class: "header-right" }, G6 = { class: "view-mode-btns" }, X6 = { class: "cd-form-toolbar" }, j6 = { class: "toolbar-left" }, K6 = {
40172
+ }, U6 = { class: "header-left" }, z6 = { class: "header-title" }, W6 = { class: "header-right" }, H6 = { class: "view-mode-btns" }, G6 = { class: "cd-form-toolbar" }, X6 = { class: "toolbar-left" }, j6 = {
40178
40173
  key: 1,
40179
40174
  class: "toolbar-filter"
40180
- }, Y6 = {
40175
+ }, K6 = {
40181
40176
  key: 2,
40182
40177
  class: "toolbar-tab-group"
40183
- }, q6 = { class: "toolbar-right" }, J6 = { class: "group-dialog-content" }, Z6 = { class: "group-merge-switch" }, Q6 = { class: "switch-tip" }, e5 = {
40178
+ }, Y6 = { class: "toolbar-right" }, q6 = { class: "group-dialog-content" }, J6 = { class: "group-merge-switch" }, Z6 = { class: "switch-tip" }, Q6 = {
40184
40179
  key: 0,
40185
40180
  class: "cd-form-left-tree"
40186
- }, t5 = { class: "left-tree-toolbar" }, a5 = { class: "left-tree-title" }, r5 = { class: "tree-context-menu" }, n5 = { class: "cd-form-right-content" }, i5 = {
40181
+ }, e5 = { class: "left-tree-toolbar" }, t5 = { class: "left-tree-title" }, a5 = { class: "tree-context-menu" }, r5 = { class: "cd-form-right-content" }, n5 = {
40187
40182
  key: 0,
40188
40183
  style: { "font-weight": "600", color: "#0052d9" }
40189
- }, l5 = { class: "expand-wrapper" }, s5 = {
40184
+ }, i5 = { class: "expand-wrapper" }, l5 = {
40190
40185
  key: 0,
40191
40186
  class: "sub-grid-section"
40192
- }, o5 = { class: "sub-grid-title" }, c5 = {
40187
+ }, s5 = { class: "sub-grid-title" }, o5 = {
40193
40188
  key: 4,
40194
40189
  class: "cd-form-pagination"
40195
- }, u5 = { style: { "white-space": "pre-wrap", "word-break": "break-all", margin: "0", "font-size": "13px" } }, f5 = /* @__PURE__ */ Nt({
40190
+ }, c5 = { style: { "white-space": "pre-wrap", "word-break": "break-all", margin: "0", "font-size": "13px" } }, u5 = /* @__PURE__ */ Nt({
40196
40191
  __name: "CdForm",
40197
40192
  props: {
40198
40193
  formData: {},
@@ -42234,13 +42229,13 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42234
42229
  }), (p, b) => {
42235
42230
  var xo, _o, ko, yo, wo, bo;
42236
42231
  const P = de("t-button"), G = de("t-tooltip"), ce = de("t-radio-button"), me = de("t-radio-group"), be = de("t-tab-panel"), Ve = de("t-tabs"), tt = de("t-badge"), je = de("t-dropdown-item"), Je = de("t-dropdown-menu"), nt = de("t-dropdown"), kt = de("t-select"), yt = de("t-switch"), Ot = de("t-dialog"), rt = de("t-radio"), Lt = de("t-tree"), dr = de("t-popup"), Gr = de("t-tag"), Jn = de("vxe-grid"), Pi = de("t-space"), Cl = de("t-pagination"), Sl = de("t-drawer"), td = de("t-input"), ad = de("t-form-item"), rd = de("t-form");
42237
- return x(), F("div", V6, [
42238
- e.showHeader ? (x(), F("div", U6, [
42239
- f("div", z6, [
42240
- f("span", W6, le(J.value), 1)
42232
+ return x(), F("div", $6, [
42233
+ e.showHeader ? (x(), F("div", V6, [
42234
+ f("div", U6, [
42235
+ f("span", z6, le(J.value), 1)
42241
42236
  ]),
42242
- f("div", H6, [
42243
- f("div", G6, [
42237
+ f("div", W6, [
42238
+ f("div", H6, [
42244
42239
  V(G, { content: "表格" }, {
42245
42240
  default: R(() => [
42246
42241
  V(P, {
@@ -42308,8 +42303,8 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42308
42303
  ])
42309
42304
  ])
42310
42305
  ])) : ke("", !0),
42311
- f("div", X6, [
42312
- f("div", j6, [
42306
+ f("div", G6, [
42307
+ f("div", X6, [
42313
42308
  (xo = u.value.treeConfig) != null && xo.enabled ? (x(), pe(G, {
42314
42309
  key: 0,
42315
42310
  content: Ga.value ? "切换为列表" : "切换为树形"
@@ -42331,8 +42326,8 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42331
42326
  ]),
42332
42327
  _: 1
42333
42328
  }, 8, ["content"])) : ke("", !0),
42334
- e.showFilter && at.value && at.value.length > 0 ? (x(), F("div", K6, [
42335
- V(Nr(UA), {
42329
+ e.showFilter && at.value && at.value.length > 0 ? (x(), F("div", j6, [
42330
+ V(Nr(VA), {
42336
42331
  "field-options": at.value,
42337
42332
  "filter-count": 2,
42338
42333
  "select-options": ut.value,
@@ -42356,7 +42351,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42356
42351
  onColorFilterClear: $f,
42357
42352
  onRefresh: b[6] || (b[6] = (Oe) => o("refresh"))
42358
42353
  }, {
42359
- "toolbar-right": R(() => [
42354
+ "plan-row-right": R(() => [
42360
42355
  V(me, {
42361
42356
  value: oe.value ? "inline" : "drawer",
42362
42357
  variant: "default-filled",
@@ -42391,7 +42386,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42391
42386
  _: 1
42392
42387
  }, 8, ["field-options", "select-options", "plan-filter-options", "visible-columns"])
42393
42388
  ])) : ke("", !0),
42394
- Ar.value.length > 0 ? (x(), F("div", Y6, [
42389
+ Ar.value.length > 0 ? (x(), F("div", K6, [
42395
42390
  V(Ve, {
42396
42391
  modelValue: O.value,
42397
42392
  "onUpdate:modelValue": b[7] || (b[7] = (Oe) => O.value = Oe),
@@ -42417,7 +42412,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42417
42412
  }, 8, ["modelValue"])
42418
42413
  ])) : ke("", !0)
42419
42414
  ]),
42420
- f("div", q6, [
42415
+ f("div", Y6, [
42421
42416
  oe.value && oo.value > 0 ? (x(), pe(tt, {
42422
42417
  key: 0,
42423
42418
  count: oo.value,
@@ -42512,7 +42507,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42512
42507
  } : void 0
42513
42508
  ]), 1032, ["onClick"])) : ke("", !0)
42514
42509
  ], 64))), 128)),
42515
- (x(!0), F(Pe, null, ze(u.value.customBtnsList || [], (Oe) => Za((x(), pe(P, {
42510
+ (x(!0), F(Pe, null, ze(u.value.customBtnsList || [], (Oe) => Ja((x(), pe(P, {
42516
42511
  variant: "outline",
42517
42512
  size: "small",
42518
42513
  key: Oe.value,
@@ -42531,7 +42526,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42531
42526
  ]), 1032, ["onClick"])), [
42532
42527
  [Vn, Oe.show]
42533
42528
  ])), 128)),
42534
- Ka(p.$slots, "toolbar-right", {}, void 0, !0),
42529
+ er(p.$slots, "toolbar-right", {}, void 0, !0),
42535
42530
  Uf.value ? (x(), pe(P, {
42536
42531
  key: 1,
42537
42532
  variant: "outline",
@@ -42573,7 +42568,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42573
42568
  onClose: Kf
42574
42569
  }, {
42575
42570
  default: R(() => [
42576
- f("div", J6, [
42571
+ f("div", q6, [
42577
42572
  V(kt, {
42578
42573
  modelValue: Tt.value,
42579
42574
  "onUpdate:modelValue": b[9] || (b[9] = (Oe) => Tt.value = Oe),
@@ -42583,13 +42578,13 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42583
42578
  multiple: "",
42584
42579
  clearable: ""
42585
42580
  }, null, 8, ["modelValue", "options"]),
42586
- f("div", Z6, [
42581
+ f("div", J6, [
42587
42582
  b[57] || (b[57] = f("span", { class: "switch-label" }, "分组:", -1)),
42588
42583
  V(yt, {
42589
42584
  modelValue: Kt.value,
42590
42585
  "onUpdate:modelValue": b[10] || (b[10] = (Oe) => Kt.value = Oe)
42591
42586
  }, null, 8, ["modelValue"]),
42592
- f("span", Q6, le(Kt.value ? "字段合并分组" : "独立分组"), 1)
42587
+ f("span", Z6, le(Kt.value ? "字段合并分组" : "独立分组"), 1)
42593
42588
  ])
42594
42589
  ])
42595
42590
  ]),
@@ -42658,9 +42653,9 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42658
42653
  f("div", {
42659
42654
  class: Qe(["cd-form-body", { "has-left-tree": u.value.type === 2 }])
42660
42655
  }, [
42661
- u.value.type === 2 ? (x(), F("div", e5, [
42662
- f("div", t5, [
42663
- f("span", a5, le(u.value.treeTitle || "分类"), 1),
42656
+ u.value.type === 2 ? (x(), F("div", Q6, [
42657
+ f("div", e5, [
42658
+ f("span", t5, le(u.value.treeTitle || "分类"), 1),
42664
42659
  V(G, { content: "新增根节点" }, {
42665
42660
  default: R(() => [
42666
42661
  V(P, {
@@ -42739,7 +42734,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42739
42734
  placement: "bottom-left"
42740
42735
  }, {
42741
42736
  content: R(() => [
42742
- f("div", r5, [
42737
+ f("div", a5, [
42743
42738
  f("div", {
42744
42739
  class: "tree-context-menu-item",
42745
42740
  onClick: b[18] || (b[18] = (Oe) => Se(we.value))
@@ -42760,7 +42755,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42760
42755
  _: 1
42761
42756
  }, 8, ["visible", "attach"])
42762
42757
  ])) : ke("", !0),
42763
- f("div", n5, [
42758
+ f("div", r5, [
42764
42759
  ee.value === "table" ? (x(), F("div", {
42765
42760
  key: 0,
42766
42761
  class: "cd-form-table",
@@ -42789,7 +42784,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42789
42784
  }
42790
42785
  }), On({
42791
42786
  checkbox_footer: R(({ $rowIndex: Oe }) => [
42792
- vt.footerData && vt.footerData[Oe] ? (x(), F("span", i5, le(vt.footerData[Oe].checkbox), 1)) : ke("", !0)
42787
+ vt.footerData && vt.footerData[Oe] ? (x(), F("span", n5, le(vt.footerData[Oe].checkbox), 1)) : ke("", !0)
42793
42788
  ]),
42794
42789
  nameGroupContent: R(({ groupContent: Oe }) => [
42795
42790
  V(Gr, {
@@ -42806,12 +42801,12 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42806
42801
  xe(le(Oe[wt.field]), 1)
42807
42802
  ]),
42808
42803
  expand_content_unified: R(({ row: Oe }) => [
42809
- f("div", l5, [
42804
+ f("div", i5, [
42810
42805
  (x(!0), F(Pe, null, ze(vo.value, (wt) => (x(), F(Pe, {
42811
42806
  key: `content_${wt.vModel}`
42812
42807
  }, [
42813
- mo(Oe, wt.vModel) ? (x(), F("div", s5, [
42814
- f("div", o5, le(wt.label), 1),
42808
+ mo(Oe, wt.vModel) ? (x(), F("div", l5, [
42809
+ f("div", s5, le(wt.label), 1),
42815
42810
  V(Jn, Oa({ ref_for: !0 }, ed, {
42816
42811
  data: Oe[wt.vModel] || [],
42817
42812
  columns: Qf(wt)
@@ -42914,7 +42909,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42914
42909
  ze(p.$slots, (Oe, wt) => ({
42915
42910
  name: wt,
42916
42911
  fn: R((Tn) => [
42917
- Ka(p.$slots, wt, kr(ld(Tn)), void 0, !0)
42912
+ er(p.$slots, wt, kr(ld(Tn)), void 0, !0)
42918
42913
  ])
42919
42914
  }))
42920
42915
  ]), 1040, ["edit-config"])
@@ -42940,7 +42935,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
42940
42935
  config: u.value.calendarConfig || { dateField: "", titleField: "" },
42941
42936
  onEventClick: b[26] || (b[26] = (Oe) => o("row-click", Oe))
42942
42937
  }, null, 8, ["data", "config"])) : ke("", !0),
42943
- ee.value === "table" && u.value.hasPage && _a.value.length > 0 ? (x(), F("div", c5, [
42938
+ ee.value === "table" && u.value.hasPage && _a.value.length > 0 ? (x(), F("div", o5, [
42944
42939
  V(Cl, {
42945
42940
  modelValue: ta.value,
42946
42941
  "onUpdate:modelValue": b[27] || (b[27] = (Oe) => ta.value = Oe),
@@ -43086,14 +43081,14 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
43086
43081
  onClose: b[43] || (b[43] = (Oe) => ht.visible = !1)
43087
43082
  }, {
43088
43083
  default: R(() => [
43089
- f("pre", u5, le(ht.body), 1)
43084
+ f("pre", c5, le(ht.body), 1)
43090
43085
  ]),
43091
43086
  _: 1
43092
43087
  }, 8, ["visible", "header"])
43093
43088
  ]);
43094
43089
  };
43095
43090
  }
43096
- }), cf = /* @__PURE__ */ Ut(f5, [["__scopeId", "data-v-db6c173b"]]), d5 = { class: "field-manage-header" }, h5 = { class: "field-manage-content" }, v5 = { class: "field-manage-toolbar" }, m5 = /* @__PURE__ */ Nt({
43091
+ }), cf = /* @__PURE__ */ Ut(u5, [["__scopeId", "data-v-d0ff640c"]]), f5 = { class: "field-manage-header" }, d5 = { class: "field-manage-content" }, h5 = { class: "field-manage-toolbar" }, v5 = /* @__PURE__ */ Nt({
43097
43092
  __name: "FieldManageDialog",
43098
43093
  props: {
43099
43094
  modelValue: { type: Boolean },
@@ -43380,7 +43375,7 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
43380
43375
  onClose: E
43381
43376
  }, {
43382
43377
  header: R(() => [
43383
- f("div", d5, [
43378
+ f("div", f5, [
43384
43379
  C[3] || (C[3] = f("span", null, "字段管理", -1)),
43385
43380
  V(y, {
43386
43381
  theme: "primary",
@@ -43399,8 +43394,8 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
43399
43394
  ])
43400
43395
  ]),
43401
43396
  default: R(() => [
43402
- f("div", h5, [
43403
- f("div", v5, [
43397
+ f("div", d5, [
43398
+ f("div", h5, [
43404
43399
  V(y, {
43405
43400
  theme: "primary",
43406
43401
  onClick: o,
@@ -43527,8 +43522,8 @@ const zA = { class: "cd-share-header" }, WA = { class: "cd-share-title" }, HA =
43527
43522
  }, 8, ["visible"]);
43528
43523
  };
43529
43524
  }
43530
- }), p5 = /* @__PURE__ */ Ut(m5, [["__scopeId", "data-v-36fbcb77"]]);
43531
- function b5(e) {
43525
+ }), m5 = /* @__PURE__ */ Ut(v5, [["__scopeId", "data-v-36fbcb77"]]);
43526
+ function w5(e) {
43532
43527
  const {
43533
43528
  formModel: a,
43534
43529
  formConf: t,
@@ -43746,7 +43741,7 @@ function b5(e) {
43746
43741
  }
43747
43742
  };
43748
43743
  }
43749
- async function C5(e, a, t) {
43744
+ async function b5(e, a, t) {
43750
43745
  if (!e || !e.trim())
43751
43746
  return { success: !0 };
43752
43747
  try {
@@ -43781,20 +43776,20 @@ async function C5(e, a, t) {
43781
43776
  return console.error("Script execution error:", r), { success: !1, error: r.message };
43782
43777
  }
43783
43778
  }
43784
- const S5 = {
43779
+ const C5 = {
43785
43780
  install(e) {
43786
- e.component("CdForm", cf), e.component("CdFormCol", ai), e.component("FormRender", Yc), e.component("ShareDialog", of), e.component("FieldManageDialog", p5), e.component("ImportWizard", lf);
43781
+ e.component("CdForm", cf), e.component("CdFormCol", ai), e.component("FormRender", Yc), e.component("ShareDialog", of), e.component("FieldManageDialog", m5), e.component("ImportWizard", lf);
43787
43782
  }
43788
43783
  };
43789
43784
  export {
43790
43785
  cf as CdForm,
43791
43786
  ai as CdFormCol,
43792
- p5 as FieldManageDialog,
43787
+ m5 as FieldManageDialog,
43793
43788
  Yc as FormRender,
43794
43789
  lf as ImportWizard,
43795
43790
  of as ShareDialog,
43796
- b5 as createScriptAPI,
43797
- S5 as default,
43798
- C5 as executeScript,
43799
- w5 as setupCdForm
43791
+ w5 as createScriptAPI,
43792
+ C5 as default,
43793
+ b5 as executeScript,
43794
+ y5 as setupCdForm
43800
43795
  };