cd-form 2.0.7 → 2.0.8

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 Ke, computed as ve, resolveComponent as M, createBlock as j, openBlock as l, normalizeClass as xe, withCtx as i, renderSlot as fa, createElementBlock as o, createElementVNode as e, createCommentVNode as Y, normalizeStyle as Xe, toDisplayString as V, createTextVNode as A, withModifiers as Qe, Fragment as fe, renderList as be, ref as F, watch as Fe, nextTick as na, createVNode as s, withDirectives as ha, withKeys as za, vModelText as Ca, vShow as Cl, createSlots as ya, useCssVars as Ol, onMounted as Da, onUnmounted as gl, Teleport as vl, Transition as _l, unref as ca, reactive as pa, createStaticVNode as wl, inject as fl, resolveDynamicComponent as Tl, mergeProps as Aa, provide as wa, watchEffect as xl, h as ml, normalizeProps as Nl, guardReactiveProps as Bl, isRef as ql } from "vue";
1
+ import { defineComponent as Ke, computed as ve, resolveComponent as M, createBlock as W, openBlock as l, normalizeClass as xe, withCtx as i, renderSlot as fa, createElementBlock as o, createElementVNode as e, createCommentVNode as H, normalizeStyle as Xe, toDisplayString as V, createTextVNode as A, withModifiers as Qe, Fragment as fe, renderList as be, ref as F, watch as Fe, nextTick as na, createVNode as s, withDirectives as ha, withKeys as za, vModelText as Ca, vShow as Cl, createSlots as ya, useCssVars as Ol, onMounted as Da, onUnmounted as gl, Teleport as vl, Transition as _l, unref as ca, reactive as pa, createStaticVNode as wl, inject as fl, resolveDynamicComponent as Tl, mergeProps as Aa, provide as wa, watchEffect as xl, h as ml, normalizeProps as Nl, guardReactiveProps as Bl, isRef as ql } from "vue";
2
2
  import { MessagePlugin as Ie, DialogPlugin as Ll } from "tdesign-vue-next";
3
3
  import ja from "vxe-table";
4
4
  const Fa = /* @__PURE__ */ Ke({
@@ -14,7 +14,7 @@ const Fa = /* @__PURE__ */ Ke({
14
14
  const te = a, n = ve(() => Math.max(1, Math.min(24, te.span)));
15
15
  return (y, u) => {
16
16
  const c = M("t-col");
17
- return l(), j(c, {
17
+ return l(), W(c, {
18
18
  span: n.value,
19
19
  offset: a.offset,
20
20
  push: a.push,
@@ -158,23 +158,23 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
158
158
  a.showStatus ? (l(), o("span", {
159
159
  key: 2,
160
160
  class: xe(["cd-usercard__status", `cd-usercard__status--${a.status}`])
161
- }, null, 2)) : Y("", !0)
161
+ }, null, 2)) : H("", !0)
162
162
  ]),
163
163
  e("div", Hl, [
164
164
  e("div", Jl, [
165
165
  A(V(a.name) + " ", 1),
166
- a.alias ? (l(), o("span", Kl, "(" + V(a.alias) + ")", 1)) : Y("", !0)
166
+ a.alias ? (l(), o("span", Kl, "(" + V(a.alias) + ")", 1)) : H("", !0)
167
167
  ]),
168
- a.subtitle ? (l(), o("div", Gl, V(a.subtitle), 1)) : Y("", !0),
168
+ a.subtitle ? (l(), o("div", Gl, V(a.subtitle), 1)) : H("", !0),
169
169
  a.role || a.department ? (l(), o("div", Xl, [
170
- a.role ? (l(), o("span", Ql, V(a.role), 1)) : Y("", !0),
171
- a.role && a.department ? (l(), o("span", Zl, "·")) : Y("", !0),
172
- a.department ? (l(), o("span", et, V(a.department), 1)) : Y("", !0)
173
- ])) : Y("", !0)
170
+ a.role ? (l(), o("span", Ql, V(a.role), 1)) : H("", !0),
171
+ a.role && a.department ? (l(), o("span", Zl, "·")) : H("", !0),
172
+ a.department ? (l(), o("span", et, V(a.department), 1)) : H("", !0)
173
+ ])) : H("", !0)
174
174
  ]),
175
175
  a.showActions ? (l(), o("div", at, [
176
176
  fa(D.$slots, "actions", {}, () => [
177
- a.showChat ? (l(), j(ee, {
177
+ a.showChat ? (l(), W(ee, {
178
178
  key: 0,
179
179
  theme: "default",
180
180
  variant: "text",
@@ -185,8 +185,8 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
185
185
  e("i", { class: "ri-message-3-line" }, null, -1)
186
186
  ])]),
187
187
  _: 1
188
- })) : Y("", !0),
189
- a.showPhone ? (l(), j(ee, {
188
+ })) : H("", !0),
189
+ a.showPhone ? (l(), W(ee, {
190
190
  key: 1,
191
191
  theme: "default",
192
192
  variant: "text",
@@ -197,8 +197,8 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
197
197
  e("i", { class: "ri-phone-line" }, null, -1)
198
198
  ])]),
199
199
  _: 1
200
- })) : Y("", !0),
201
- a.showMore ? (l(), j(ee, {
200
+ })) : H("", !0),
201
+ a.showMore ? (l(), W(ee, {
202
202
  key: 2,
203
203
  theme: "default",
204
204
  variant: "text",
@@ -209,9 +209,9 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
209
209
  e("i", { class: "ri-more-2-fill" }, null, -1)
210
210
  ])]),
211
211
  _: 1
212
- })) : Y("", !0)
212
+ })) : H("", !0)
213
213
  ], !0)
214
- ])) : Y("", !0)
214
+ ])) : H("", !0)
215
215
  ]),
216
216
  a.showDetails ? (l(), o("div", lt, [
217
217
  e("div", tt, [
@@ -219,7 +219,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
219
219
  q[3] || (q[3] = e("i", { class: "ri-profile-line cd-usercard__icon" }, null, -1)),
220
220
  q[4] || (q[4] = e("span", { class: "cd-usercard__label" }, "工号", -1)),
221
221
  e("span", ot, V(a.employeeId), 1)
222
- ])) : Y("", !0),
222
+ ])) : H("", !0),
223
223
  a.email ? (l(), o("div", it, [
224
224
  q[5] || (q[5] = e("i", { class: "ri-mail-line cd-usercard__icon" }, null, -1)),
225
225
  q[6] || (q[6] = e("span", { class: "cd-usercard__label" }, "邮箱", -1)),
@@ -227,35 +227,35 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
227
227
  class: "cd-usercard__value cd-usercard__value--link",
228
228
  onClick: Qe(_, ["stop"])
229
229
  }, V(a.email), 1)
230
- ])) : Y("", !0),
230
+ ])) : H("", !0),
231
231
  a.mobile ? (l(), o("div", st, [
232
232
  q[7] || (q[7] = e("i", { class: "ri-smartphone-line cd-usercard__icon" }, null, -1)),
233
233
  q[8] || (q[8] = e("span", { class: "cd-usercard__label" }, "手机", -1)),
234
234
  e("span", rt, V(a.mobile), 1)
235
- ])) : Y("", !0),
235
+ ])) : H("", !0),
236
236
  a.telephone ? (l(), o("div", dt, [
237
237
  q[9] || (q[9] = e("i", { class: "ri-phone-line cd-usercard__icon" }, null, -1)),
238
238
  q[10] || (q[10] = e("span", { class: "cd-usercard__label" }, "座机", -1)),
239
239
  e("span", ut, V(a.telephone), 1)
240
- ])) : Y("", !0),
240
+ ])) : H("", !0),
241
241
  a.location ? (l(), o("div", ct, [
242
242
  q[11] || (q[11] = e("i", { class: "ri-map-pin-line cd-usercard__icon" }, null, -1)),
243
243
  q[12] || (q[12] = e("span", { class: "cd-usercard__label" }, "地点", -1)),
244
244
  e("span", ft, V(a.location), 1)
245
- ])) : Y("", !0),
245
+ ])) : H("", !0),
246
246
  a.joinDate ? (l(), o("div", mt, [
247
247
  q[13] || (q[13] = e("i", { class: "ri-calendar-line cd-usercard__icon" }, null, -1)),
248
248
  q[14] || (q[14] = e("span", { class: "cd-usercard__label" }, "入职", -1)),
249
249
  e("span", vt, V(a.joinDate), 1)
250
- ])) : Y("", !0)
250
+ ])) : H("", !0)
251
251
  ])
252
- ])) : Y("", !0),
252
+ ])) : H("", !0),
253
253
  a.signature ? (l(), o("div", pt, [
254
254
  q[15] || (q[15] = e("i", { class: "ri-double-quotes-l cd-usercard__quote" }, null, -1)),
255
255
  e("span", null, V(a.signature), 1)
256
- ])) : Y("", !0),
256
+ ])) : H("", !0),
257
257
  a.tags && a.tags.length > 0 ? (l(), o("div", gt, [
258
- (l(!0), o(fe, null, be(u.value, (J) => (l(), j(N, {
258
+ (l(!0), o(fe, null, be(u.value, (J) => (l(), W(N, {
259
259
  key: J,
260
260
  size: "small",
261
261
  variant: "light"
@@ -265,7 +265,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
265
265
  ]),
266
266
  _: 2
267
267
  }, 1024))), 128)),
268
- a.tags.length > a.maxTags ? (l(), j(N, {
268
+ a.tags.length > a.maxTags ? (l(), W(N, {
269
269
  key: 0,
270
270
  size: "small",
271
271
  variant: "outline"
@@ -274,11 +274,11 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
274
274
  A("+" + V(a.tags.length - a.maxTags), 1)
275
275
  ]),
276
276
  _: 1
277
- })) : Y("", !0)
278
- ])) : Y("", !0),
277
+ })) : H("", !0)
278
+ ])) : H("", !0),
279
279
  D.$slots.footer ? (l(), o("div", ht, [
280
280
  fa(D.$slots, "footer", {}, void 0, !0)
281
- ])) : Y("", !0)
281
+ ])) : H("", !0)
282
282
  ], 2);
283
283
  };
284
284
  }
@@ -322,7 +322,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
322
322
  top: `${w.value.y}px`,
323
323
  width: `${w.value.width}px`,
324
324
  height: `${w.value.height}px`
325
- })), H = ve(() => ({
325
+ })), Y = ve(() => ({
326
326
  width: `${r.value.width}px`,
327
327
  height: `${r.value.height}px`,
328
328
  left: `${I.value.left}px`,
@@ -343,7 +343,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
343
343
  100% 0%
344
344
  )`
345
345
  };
346
- }), W = () => {
346
+ }), j = () => {
347
347
  if (!c.value || !m.value) return;
348
348
  const b = c.value, z = m.value, P = z.offsetWidth, G = z.offsetHeight, X = b.naturalWidth / b.naturalHeight, oe = P / G;
349
349
  let ne, C;
@@ -425,7 +425,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
425
425
  };
426
426
  return (b, z) => {
427
427
  const P = M("t-button"), G = M("t-dialog");
428
- return l(), j(G, {
428
+ return l(), W(G, {
429
429
  visible: u.value,
430
430
  "onUpdate:visible": z[10] || (z[10] = (X) => u.value = X),
431
431
  header: "裁剪头像",
@@ -444,7 +444,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
444
444
  class: "image-wrapper",
445
445
  ref_key: "imageWrapperRef",
446
446
  ref: U,
447
- style: Xe(H.value)
447
+ style: Xe(Y.value)
448
448
  }, [
449
449
  e("img", {
450
450
  ref_key: "imageRef",
@@ -452,7 +452,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
452
452
  src: a.imageSrc,
453
453
  class: "crop-image",
454
454
  draggable: "false",
455
- onLoad: W,
455
+ onLoad: j,
456
456
  onDragstart: z[0] || (z[0] = Qe(() => {
457
457
  }, ["prevent"])),
458
458
  onContextmenu: z[1] || (z[1] = Qe(() => {
@@ -593,23 +593,23 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
593
593
  },
594
594
  emits: ["edit", "email", "update:modelValue", "field-change", "avatar-upload"],
595
595
  setup(a, { emit: te }) {
596
- const n = a, y = te, u = F(null), c = F(""), m = F(null), U = F(null), _ = F(!1), w = F(""), r = (W, d) => {
597
- u.value = W, c.value = d, na(() => {
596
+ const n = a, y = te, u = F(null), c = F(""), m = F(null), U = F(null), _ = F(!1), w = F(""), r = (j, d) => {
597
+ u.value = j, c.value = d, na(() => {
598
598
  var S;
599
599
  return (S = m.value) == null ? void 0 : S.focus();
600
600
  });
601
601
  }, I = () => {
602
602
  if (u.value) {
603
- const W = { ...n.modelValue, [u.value]: c.value };
604
- y("update:modelValue", W), y("field-change", u.value, c.value);
603
+ const j = { ...n.modelValue, [u.value]: c.value };
604
+ y("update:modelValue", j), y("field-change", u.value, c.value);
605
605
  }
606
606
  u.value = null;
607
607
  }, D = () => {
608
- var W;
609
- (W = U.value) == null || W.click();
610
- }, q = (W) => {
608
+ var j;
609
+ (j = U.value) == null || j.click();
610
+ }, q = (j) => {
611
611
  var g;
612
- const d = W.target, S = (g = d.files) == null ? void 0 : g[0];
612
+ const d = j.target, S = (g = d.files) == null ? void 0 : g[0];
613
613
  if (S) {
614
614
  const R = new FileReader();
615
615
  R.onload = (O) => {
@@ -617,11 +617,11 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
617
617
  w.value = (de = O.target) == null ? void 0 : de.result, _.value = !0;
618
618
  }, R.readAsDataURL(S), d.value = "";
619
619
  }
620
- }, ee = (W) => {
621
- const d = new File([W], "avatar.jpg", { type: "image/jpeg" });
620
+ }, ee = (j) => {
621
+ const d = new File([j], "avatar.jpg", { type: "image/jpeg" });
622
622
  y("avatar-upload", d);
623
- }, N = ve(() => ({ online: "success", offline: "default", busy: "danger", away: "warning" })[n.modelValue.status || "online"]), J = ve(() => ({ online: "ri-checkbox-circle-fill", offline: "ri-checkbox-blank-circle-line", busy: "ri-forbid-line", away: "ri-time-line" })[n.modelValue.status || "online"]), ge = ve(() => ({ online: "在线", offline: "离线", busy: "忙碌", away: "离开" })[n.modelValue.status || "online"]), H = ve(() => (n.modelValue.displayName || "").charAt(0).toUpperCase()), E = ve(() => {
624
- const W = [
623
+ }, N = ve(() => ({ online: "success", offline: "default", busy: "danger", away: "warning" })[n.modelValue.status || "online"]), J = ve(() => ({ online: "ri-checkbox-circle-fill", offline: "ri-checkbox-blank-circle-line", busy: "ri-forbid-line", away: "ri-time-line" })[n.modelValue.status || "online"]), ge = ve(() => ({ online: "在线", offline: "离线", busy: "忙碌", away: "离开" })[n.modelValue.status || "online"]), Y = ve(() => (n.modelValue.displayName || "").charAt(0).toUpperCase()), E = ve(() => {
624
+ const j = [
625
625
  "#1890ff",
626
626
  "#52c41a",
627
627
  "#faad14",
@@ -634,9 +634,9 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
634
634
  let S = 0;
635
635
  for (let g = 0; g < d.length; g++)
636
636
  S = d.charCodeAt(g) + ((S << 5) - S);
637
- return W[Math.abs(S) % W.length];
637
+ return j[Math.abs(S) % j.length];
638
638
  });
639
- return (W, d) => {
639
+ return (j, d) => {
640
640
  var R;
641
641
  const S = M("t-tag"), g = M("t-button");
642
642
  return l(), o(fe, null, [
@@ -657,7 +657,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
657
657
  key: 1,
658
658
  class: "profile__avatar profile__avatar-placeholder",
659
659
  style: Xe({ backgroundColor: E.value })
660
- }, V(H.value), 5)),
660
+ }, V(Y.value), 5)),
661
661
  a.inlineEdit ? (l(), o("div", {
662
662
  key: 2,
663
663
  class: "profile__avatar-edit",
@@ -665,7 +665,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
665
665
  }, [...d[14] || (d[14] = [
666
666
  e("i", { class: "ri-camera-line" }, null, -1),
667
667
  e("span", null, "更换头像", -1)
668
- ])])) : Y("", !0),
668
+ ])])) : H("", !0),
669
669
  e("input", {
670
670
  ref_key: "avatarInput",
671
671
  ref: U,
@@ -700,7 +700,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
700
700
  A(" (" + V(a.modelValue.alias || "点击设置昵称") + ")", 1),
701
701
  d[17] || (d[17] = e("i", { class: "ri-edit-line edit-icon" }, null, -1))
702
702
  ]))
703
- ], 64)) : a.modelValue.alias ? (l(), o("span", Rt, "(" + V(a.modelValue.alias) + ")", 1)) : Y("", !0),
703
+ ], 64)) : a.modelValue.alias ? (l(), o("span", Rt, "(" + V(a.modelValue.alias) + ")", 1)) : H("", !0),
704
704
  s(S, {
705
705
  size: "small",
706
706
  theme: N.value,
@@ -717,12 +717,12 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
717
717
  ]),
718
718
  e("div", Et, V(a.modelValue.role) + " · " + V(a.modelValue.department), 1)
719
719
  ]),
720
- a.editable && !a.inlineEdit ? (l(), j(g, {
720
+ a.editable && !a.inlineEdit ? (l(), W(g, {
721
721
  key: 0,
722
722
  theme: "default",
723
723
  variant: "outline",
724
724
  size: "small",
725
- onClick: d[2] || (d[2] = (O) => W.$emit("edit"))
725
+ onClick: d[2] || (d[2] = (O) => j.$emit("edit"))
726
726
  }, {
727
727
  icon: i(() => [...d[18] || (d[18] = [
728
728
  e("i", { class: "ri-edit-line" }, null, -1)
@@ -731,7 +731,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
731
731
  d[19] || (d[19] = A(" 编辑 ", -1))
732
732
  ]),
733
733
  _: 1
734
- })) : Y("", !0)
734
+ })) : H("", !0)
735
735
  ]),
736
736
  e("div", Pt, [
737
737
  e("div", It, [
@@ -762,7 +762,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
762
762
  ])) : a.modelValue.email ? (l(), o("span", {
763
763
  key: 2,
764
764
  class: "value value--link",
765
- onClick: d[5] || (d[5] = (O) => W.$emit("email", a.modelValue.email))
765
+ onClick: d[5] || (d[5] = (O) => j.$emit("email", a.modelValue.email))
766
766
  }, V(a.modelValue.email), 1)) : (l(), o("span", Nt, "-"))
767
767
  ]),
768
768
  e("div", Bt, [
@@ -850,7 +850,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
850
850
  A(" 标签")
851
851
  ], -1)),
852
852
  (R = a.modelValue.tags) != null && R.length ? (l(), o("div", Qt, [
853
- (l(!0), o(fe, null, be(a.modelValue.tags, (O) => (l(), j(S, {
853
+ (l(!0), o(fe, null, be(a.modelValue.tags, (O) => (l(), W(S, {
854
854
  key: O,
855
855
  size: "small",
856
856
  variant: "light"
@@ -862,7 +862,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
862
862
  }, 1024))), 128))
863
863
  ])) : (l(), o("div", Zt, "-"))
864
864
  ]),
865
- fa(W.$slots, "extra", {}, void 0, !0)
865
+ fa(j.$slots, "extra", {}, void 0, !0)
866
866
  ])
867
867
  ]),
868
868
  s($t, {
@@ -919,7 +919,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
919
919
  };
920
920
  return (I, D) => {
921
921
  const q = M("t-dialog");
922
- return l(), j(q, {
922
+ return l(), W(q, {
923
923
  visible: u.value,
924
924
  "onUpdate:visible": D[1] || (D[1] = (ee) => u.value = ee),
925
925
  header: !1,
@@ -959,14 +959,14 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
959
959
  e("i", { class: "ri-logout-box-line" }, null, -1),
960
960
  e("span", null, "退出登录", -1)
961
961
  ])])
962
- ])) : Y("", !0)
963
- ])) : Y("", !0),
962
+ ])) : H("", !0)
963
+ ])) : H("", !0),
964
964
  e("main", sn, [
965
965
  fa(I.$slots, "default", {
966
966
  activePanel: c.value,
967
967
  profileData: a.profileData
968
968
  }, () => [
969
- c.value === "profile" ? (l(), j($l, {
969
+ c.value === "profile" ? (l(), W($l, {
970
970
  key: 0,
971
971
  "model-value": a.profileData,
972
972
  editable: a.editable,
@@ -974,7 +974,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
974
974
  onEdit: _,
975
975
  onFieldChange: w,
976
976
  onAvatarUpload: D[0] || (D[0] = (ee) => y("avatar-upload", ee))
977
- }, null, 8, ["model-value", "editable", "inline-edit"])) : Y("", !0)
977
+ }, null, 8, ["model-value", "editable", "inline-edit"])) : H("", !0)
978
978
  ])
979
979
  ])
980
980
  ], 4)
@@ -1017,11 +1017,11 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1017
1017
  m.value = "profile", c.value = !0, setTimeout(() => {
1018
1018
  u.value = !1;
1019
1019
  }, 100);
1020
- }, H = (g) => {
1020
+ }, Y = (g) => {
1021
1021
  u.value = !1, g.panel && (m.value = g.panel, c.value = !0), y("menu-click", g);
1022
1022
  }, E = (g) => {
1023
1023
  m.value = g.key;
1024
- }, W = () => {
1024
+ }, j = () => {
1025
1025
  y("edit");
1026
1026
  }, d = (g, R) => {
1027
1027
  y("field-change", g, R);
@@ -1100,7 +1100,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1100
1100
  (l(!0), o(fe, null, be(a.menuItems, (L) => (l(), o("div", {
1101
1101
  key: L.key,
1102
1102
  class: "cd-usercard-menu-item",
1103
- onClick: (x) => H(L)
1103
+ onClick: (x) => Y(L)
1104
1104
  }, [
1105
1105
  e("i", {
1106
1106
  class: xe(L.icon)
@@ -1117,7 +1117,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1117
1117
  e("i", { class: "ri-logout-box-line" }, null, -1),
1118
1118
  e("span", null, "退出登录", -1)
1119
1119
  ])])
1120
- ])) : Y("", !0)
1120
+ ])) : H("", !0)
1121
1121
  ])
1122
1122
  ];
1123
1123
  }),
@@ -1155,7 +1155,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1155
1155
  "inline-edit": a.inlineEdit,
1156
1156
  "show-logout": !1,
1157
1157
  onNavClick: E,
1158
- onEdit: W,
1158
+ onEdit: j,
1159
1159
  onFieldChange: d,
1160
1160
  onAvatarUpload: R[5] || (R[5] = (de) => y("avatar-upload", de))
1161
1161
  }, null, 8, ["visible", "profile-data", "nav-items", "default-panel", "editable", "inline-edit"])
@@ -1214,7 +1214,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1214
1214
  emits: ["update:visible", "update:modelValue", "confirm", "load-users", "search", "org-change"],
1215
1215
  setup(a, { expose: te, emit: n }) {
1216
1216
  var y, u;
1217
- const c = a, m = n, U = F(c.visible), _ = F(((u = (y = c.tabs) == null ? void 0 : y[0]) == null ? void 0 : u.key) || ""), w = F(null), r = F(""), I = F([]), D = F(/* @__PURE__ */ new Map()), q = F({}), ee = F(!1), N = F(!1), J = F([]), ge = ve(() => c.tabs || []), H = ve(() => c.organizations || []), E = ve(() => c.tips || ""), W = ve(() => c.showSearch), d = ve(() => c.showOrg), S = ve(() => c.dialogWidth), g = F({});
1217
+ const c = a, m = n, U = F(c.visible), _ = F(((u = (y = c.tabs) == null ? void 0 : y[0]) == null ? void 0 : u.key) || ""), w = F(null), r = F(""), I = F([]), D = F(/* @__PURE__ */ new Map()), q = F({}), ee = F(!1), N = F(!1), J = F([]), ge = ve(() => c.tabs || []), Y = ve(() => c.organizations || []), E = ve(() => c.tips || ""), j = ve(() => c.showSearch), d = ve(() => c.showOrg), S = ve(() => c.dialogWidth), g = F({});
1218
1218
  Fe(() => c.tabs, (ce) => {
1219
1219
  if (ce && ce.length > 0) {
1220
1220
  const T = {};
@@ -1367,7 +1367,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1367
1367
  }
1368
1368
  }), (ce, T) => {
1369
1369
  const h = M("t-icon"), Se = M("t-option"), We = M("t-select"), ye = M("t-input"), Q = M("t-button"), ae = M("t-loading"), De = M("t-checkbox"), Oe = M("t-tree"), Ve = M("t-tab-panel"), Ue = M("t-tabs"), ra = M("t-dialog");
1370
- return l(), j(ra, {
1370
+ return l(), W(ra, {
1371
1371
  visible: U.value,
1372
1372
  "onUpdate:visible": T[4] || (T[4] = (re) => U.value = re),
1373
1373
  header: "选择人员",
@@ -1383,9 +1383,9 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1383
1383
  E.value ? (l(), o("div", Sn, [
1384
1384
  s(h, { name: "info-circle" }),
1385
1385
  e("span", null, V(E.value), 1)
1386
- ])) : Y("", !0),
1387
- W.value ? (l(), o("div", Mn, [
1388
- d.value && H.value.length > 0 ? (l(), o("div", zn, [
1386
+ ])) : H("", !0),
1387
+ j.value ? (l(), o("div", Mn, [
1388
+ d.value && Y.value.length > 0 ? (l(), o("div", zn, [
1389
1389
  s(We, {
1390
1390
  modelValue: w.value,
1391
1391
  "onUpdate:modelValue": T[0] || (T[0] = (re) => w.value = re),
@@ -1394,7 +1394,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1394
1394
  onChange: z
1395
1395
  }, {
1396
1396
  default: i(() => [
1397
- (l(!0), o(fe, null, be(H.value, (re) => (l(), j(Se, {
1397
+ (l(!0), o(fe, null, be(Y.value, (re) => (l(), W(Se, {
1398
1398
  key: re.id,
1399
1399
  value: re.id,
1400
1400
  label: re.displayName || re.name
@@ -1402,7 +1402,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1402
1402
  ]),
1403
1403
  _: 1
1404
1404
  }, 8, ["modelValue"])
1405
- ])) : Y("", !0),
1405
+ ])) : H("", !0),
1406
1406
  e("div", Fn, [
1407
1407
  s(ye, {
1408
1408
  modelValue: r.value,
@@ -1418,7 +1418,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1418
1418
  _: 1
1419
1419
  }, 8, ["modelValue"])
1420
1420
  ])
1421
- ])) : Y("", !0),
1421
+ ])) : H("", !0),
1422
1422
  e("div", Dn, [
1423
1423
  e("div", An, [
1424
1424
  ee.value ? (l(), o("div", Un, [
@@ -1462,21 +1462,21 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1462
1462
  e("div", Nn, [
1463
1463
  e("div", Bn, V(re.displayName || re.name), 1),
1464
1464
  e("div", qn, [
1465
- re.position ? (l(), o("span", Ln, V(re.position), 1)) : Y("", !0),
1466
- re.department ? (l(), o("span", jn, V(re.department), 1)) : Y("", !0),
1467
- re.phone ? (l(), o("span", Wn, V(re.phone), 1)) : Y("", !0)
1465
+ re.position ? (l(), o("span", Ln, V(re.position), 1)) : H("", !0),
1466
+ re.department ? (l(), o("span", jn, V(re.department), 1)) : H("", !0),
1467
+ re.phone ? (l(), o("span", Wn, V(re.phone), 1)) : H("", !0)
1468
1468
  ])
1469
1469
  ])
1470
1470
  ], 10, On))), 128))
1471
1471
  ]))
1472
- ])) : (l(), j(Ue, {
1472
+ ])) : (l(), W(Ue, {
1473
1473
  key: 1,
1474
1474
  modelValue: _.value,
1475
1475
  "onUpdate:modelValue": T[3] || (T[3] = (re) => _.value = re),
1476
1476
  onChange: b
1477
1477
  }, {
1478
1478
  default: i(() => [
1479
- (l(!0), o(fe, null, be(ge.value, (re) => (l(), j(Ve, {
1479
+ (l(!0), o(fe, null, be(ge.value, (re) => (l(), W(Ve, {
1480
1480
  key: re.key,
1481
1481
  value: re.key,
1482
1482
  label: re.name
@@ -1485,7 +1485,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1485
1485
  var ia;
1486
1486
  return [
1487
1487
  e("div", Yn, [
1488
- ((ia = g.value[re.key]) == null ? void 0 : ia.length) > 0 ? (l(), j(Oe, {
1488
+ ((ia = g.value[re.key]) == null ? void 0 : ia.length) > 0 ? (l(), W(Oe, {
1489
1489
  key: 0,
1490
1490
  ref_for: !0,
1491
1491
  ref: (Me) => O(re.key, Me),
@@ -1508,10 +1508,10 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1508
1508
  }, null, 8, ["name"]),
1509
1509
  e("span", Hn, [
1510
1510
  A(V(Me.label) + " ", 1),
1511
- Me.data.isUser && Me.data.position ? (l(), o("span", Jn, V(Me.data.position), 1)) : Y("", !0)
1511
+ Me.data.isUser && Me.data.position ? (l(), o("span", Jn, V(Me.data.position), 1)) : H("", !0)
1512
1512
  ]),
1513
- Me.data.userCount && !Me.data.isUser ? (l(), o("span", Kn, "(" + V(Me.data.userCount) + ")", 1)) : Y("", !0),
1514
- !Me.data.isUser && !((sa = Me.data.children) != null && sa.length) && !Me.data.loaded ? (l(), j(Q, {
1513
+ Me.data.userCount && !Me.data.isUser ? (l(), o("span", Kn, "(" + V(Me.data.userCount) + ")", 1)) : H("", !0),
1514
+ !Me.data.isUser && !((sa = Me.data.children) != null && sa.length) && !Me.data.loaded ? (l(), W(Q, {
1515
1515
  key: 1,
1516
1516
  size: "small",
1517
1517
  variant: "text",
@@ -1522,7 +1522,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1522
1522
  A("显示人员", -1)
1523
1523
  ])]),
1524
1524
  _: 1
1525
- }, 8, ["onClick"])) : Y("", !0)
1525
+ }, 8, ["onClick"])) : H("", !0)
1526
1526
  ], 2)
1527
1527
  ];
1528
1528
  }),
@@ -1548,7 +1548,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1548
1548
  e("div", Qn, [
1549
1549
  T[12] || (T[12] = e("span", { class: "cd-ps-title" }, "已选择", -1)),
1550
1550
  e("span", Zn, V(ue.value.length) + " 项", 1),
1551
- ue.value.length > 0 ? (l(), j(Q, {
1551
+ ue.value.length > 0 ? (l(), W(Q, {
1552
1552
  key: 0,
1553
1553
  size: "small",
1554
1554
  variant: "text",
@@ -1558,7 +1558,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1558
1558
  A("清空", -1)
1559
1559
  ])]),
1560
1560
  _: 1
1561
- })) : Y("", !0)
1561
+ })) : H("", !0)
1562
1562
  ]),
1563
1563
  e("div", eo, [
1564
1564
  ue.value.length === 0 ? (l(), o("div", ao, [
@@ -1584,10 +1584,10 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1584
1584
  e("div", no, [
1585
1585
  e("div", oo, V(re.displayName || re.name), 1),
1586
1586
  e("div", io, [
1587
- re.isUser && re.position ? (l(), o("span", so, V(re.position), 1)) : Y("", !0),
1588
- re.isUser && re.department ? (l(), o("span", ro, V(re.department), 1)) : Y("", !0),
1589
- re.isUser ? Y("", !0) : (l(), o("span", uo, V(re.typeName || "部门"), 1)),
1590
- !re.isUser && re.userCount ? (l(), o("span", co, V(re.userCount) + "人", 1)) : Y("", !0)
1587
+ re.isUser && re.position ? (l(), o("span", so, V(re.position), 1)) : H("", !0),
1588
+ re.isUser && re.department ? (l(), o("span", ro, V(re.department), 1)) : H("", !0),
1589
+ re.isUser ? H("", !0) : (l(), o("span", uo, V(re.typeName || "部门"), 1)),
1590
+ !re.isUser && re.userCount ? (l(), o("span", co, V(re.userCount) + "人", 1)) : H("", !0)
1591
1591
  ])
1592
1592
  ])
1593
1593
  ]),
@@ -1688,11 +1688,11 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1688
1688
  }, ge = (g) => {
1689
1689
  const R = n.modelValue.filter((O) => O.id !== g);
1690
1690
  y("update:modelValue", R), w.value = R;
1691
- }, H = (g) => {
1691
+ }, Y = (g) => {
1692
1692
  g && typeof g.stopPropagation == "function" && g.stopPropagation(), g && typeof g.preventDefault == "function" && g.preventDefault(), r.value = !1, E();
1693
1693
  }, E = () => {
1694
1694
  U.value = !0;
1695
- }, W = (g) => {
1695
+ }, j = (g) => {
1696
1696
  const R = g.map((O) => {
1697
1697
  const de = O.displayName || O.name || O.title || String(O.id);
1698
1698
  return {
@@ -1745,7 +1745,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1745
1745
  onPopupVisibleChange: N
1746
1746
  }, ya({
1747
1747
  valueDisplay: i(() => [
1748
- (l(!0), o(fe, null, be(w.value, (x) => (l(), j(de, {
1748
+ (l(!0), o(fe, null, be(w.value, (x) => (l(), W(de, {
1749
1749
  key: x.id,
1750
1750
  closable: "",
1751
1751
  size: "medium",
@@ -1761,7 +1761,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1761
1761
  }, 1032, ["variant", "theme", "onClose"]))), 128))
1762
1762
  ]),
1763
1763
  default: i(() => [
1764
- (l(!0), o(fe, null, be(I.value, (x) => (l(), j(ue, {
1764
+ (l(!0), o(fe, null, be(I.value, (x) => (l(), W(ue, {
1765
1765
  key: x.id,
1766
1766
  value: x.id,
1767
1767
  label: x.name,
@@ -1784,9 +1784,9 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1784
1784
  }, V(D(x.name)), 5)),
1785
1785
  e("div", ho, [
1786
1786
  e("div", bo, V(x.name), 1),
1787
- x.department || x.position ? (l(), o("div", yo, V(x.department) + V(x.department && x.position ? " · " : "") + V(x.position), 1)) : Y("", !0)
1787
+ x.department || x.position ? (l(), o("div", yo, V(x.department) + V(x.department && x.position ? " · " : "") + V(x.position), 1)) : H("", !0)
1788
1788
  ]),
1789
- x.isUser === !1 ? (l(), o("i", _o)) : Y("", !0)
1789
+ x.isUser === !1 ? (l(), o("i", _o)) : H("", !0)
1790
1790
  ])
1791
1791
  ]),
1792
1792
  _: 2
@@ -1799,7 +1799,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1799
1799
  fn: i(() => [
1800
1800
  s(O, {
1801
1801
  name: "search",
1802
- onClick: H
1802
+ onClick: Y
1803
1803
  })
1804
1804
  ]),
1805
1805
  key: "0"
@@ -1809,13 +1809,13 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1809
1809
  fn: i(() => [
1810
1810
  e("i", {
1811
1811
  class: "ri-add-circle-line cd-input-select__add-icon",
1812
- onClick: H
1812
+ onClick: Y
1813
1813
  })
1814
1814
  ]),
1815
1815
  key: "1"
1816
1816
  } : void 0
1817
1817
  ]), 1032, ["modelValue", "multiple", "placeholder", "loading", "popup-visible"]),
1818
- a.tabs && a.tabs.length > 0 && U.value ? (l(), j(Ml, {
1818
+ a.tabs && a.tabs.length > 0 && U.value ? (l(), W(Ml, {
1819
1819
  key: 0,
1820
1820
  visible: U.value,
1821
1821
  "onUpdate:visible": R[2] || (R[2] = (x) => U.value = x),
@@ -1827,10 +1827,10 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1827
1827
  "show-search": !0,
1828
1828
  multiple: a.multiple,
1829
1829
  tips: "选择要添加的人员",
1830
- onConfirm: W,
1830
+ onConfirm: j,
1831
1831
  onLoadUsers: d,
1832
1832
  onSearch: S
1833
- }, null, 8, ["visible", "modelValue", "tabs", "organizations", "multiple"])) : Y("", !0)
1833
+ }, null, 8, ["visible", "modelValue", "tabs", "organizations", "multiple"])) : H("", !0)
1834
1834
  ]);
1835
1835
  };
1836
1836
  }
@@ -1896,7 +1896,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1896
1896
  width: `${n.avatarSize}px`,
1897
1897
  height: `${n.avatarSize}px`,
1898
1898
  fontSize: `${Math.floor(n.avatarSize / 3)}px`
1899
- })), J = ve(() => Math.floor(n.avatarSize / 3)), ge = ve(() => n.users.length <= n.maxDisplay ? n.users : n.users.slice(0, n.maxDisplay)), H = ve(() => n.users.length > n.maxDisplay), E = ve(() => n.users.length - n.maxDisplay), W = ve(() => n.users.map((ne) => ne.name).join("、")), d = (ne, C) => {
1899
+ })), J = ve(() => Math.floor(n.avatarSize / 3)), ge = ve(() => n.users.length <= n.maxDisplay ? n.users : n.users.slice(0, n.maxDisplay)), Y = ve(() => n.users.length > n.maxDisplay), E = ve(() => n.users.length - n.maxDisplay), j = ve(() => n.users.map((ne) => ne.name).join("、")), d = (ne, C) => {
1900
1900
  if (ne.isUser === !1) {
1901
1901
  b(ne, C);
1902
1902
  return;
@@ -1978,7 +1978,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
1978
1978
  const B = M("t-tooltip"), le = M("t-dropdown-item"), _e = M("t-dropdown-menu"), we = M("t-dropdown"), qe = M("t-tag");
1979
1979
  return l(), o("div", Co, [
1980
1980
  s(B, {
1981
- content: W.value,
1981
+ content: j.value,
1982
1982
  placement: "top"
1983
1983
  }, {
1984
1984
  default: i(() => [
@@ -2010,7 +2010,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2010
2010
  }, V(ue(ke.name)), 7))
2011
2011
  ], 6)
2012
2012
  ], 10, xo))), 128)),
2013
- a.edit ? (l(), j(B, {
2013
+ a.edit ? (l(), W(B, {
2014
2014
  key: 0,
2015
2015
  content: "选择人员",
2016
2016
  placement: "top"
@@ -2032,8 +2032,8 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2032
2032
  ])
2033
2033
  ]),
2034
2034
  _: 1
2035
- })) : Y("", !0),
2036
- H.value ? (l(), o("div", Vo, [
2035
+ })) : H("", !0),
2036
+ Y.value ? (l(), o("div", Vo, [
2037
2037
  e("div", {
2038
2038
  class: "cd-users-list__avatar-wrapper cd-users-list__avatar-wrapper--more",
2039
2039
  style: Xe({ width: N.value.width, height: N.value.height })
@@ -2043,12 +2043,12 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2043
2043
  style: Xe({ fontSize: N.value.fontSize })
2044
2044
  }, " +" + V(E.value), 5)
2045
2045
  ], 4)
2046
- ])) : Y("", !0)
2046
+ ])) : H("", !0)
2047
2047
  ])
2048
2048
  ]),
2049
2049
  _: 1
2050
2050
  }, 8, ["content"]),
2051
- (l(), j(vl, { to: "body" }, [
2051
+ (l(), W(vl, { to: "body" }, [
2052
2052
  s(_l, { name: "fade" }, {
2053
2053
  default: i(() => [
2054
2054
  u.value ? (l(), o("div", {
@@ -2148,18 +2148,18 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2148
2148
  c.value.department ? (l(), o("div", Uo, [
2149
2149
  C[17] || (C[17] = e("span", { class: "cd-users-list-dialog__label" }, "部门", -1)),
2150
2150
  e("span", Ro, V(c.value.department), 1)
2151
- ])) : Y("", !0),
2151
+ ])) : H("", !0),
2152
2152
  c.value.role ? (l(), o("div", Eo, [
2153
2153
  C[18] || (C[18] = e("span", { class: "cd-users-list-dialog__label" }, "职务", -1)),
2154
2154
  e("span", Po, V(c.value.role), 1)
2155
- ])) : Y("", !0),
2155
+ ])) : H("", !0),
2156
2156
  c.value.email ? (l(), o("div", Io, [
2157
2157
  C[19] || (C[19] = e("span", { class: "cd-users-list-dialog__label" }, "企业邮箱", -1)),
2158
2158
  e("span", {
2159
2159
  class: "cd-users-list-dialog__value cd-users-list-dialog__value--link",
2160
2160
  onClick: g
2161
2161
  }, V(c.value.email), 1)
2162
- ])) : Y("", !0),
2162
+ ])) : H("", !0),
2163
2163
  c.value.mobile ? (l(), o("div", Oo, [
2164
2164
  C[20] || (C[20] = e("span", { class: "cd-users-list-dialog__label" }, "手机号", -1)),
2165
2165
  e("div", To, [
@@ -2179,11 +2179,11 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2179
2179
  _: 1
2180
2180
  })
2181
2181
  ])
2182
- ])) : Y("", !0),
2182
+ ])) : H("", !0),
2183
2183
  c.value.employeeId ? (l(), o("div", No, [
2184
2184
  C[21] || (C[21] = e("span", { class: "cd-users-list-dialog__label" }, "工号", -1)),
2185
2185
  e("span", Bo, V(c.value.employeeId), 1)
2186
- ])) : Y("", !0)
2186
+ ])) : H("", !0)
2187
2187
  ]),
2188
2188
  c.value.tags && c.value.tags.length > 0 ? (l(), o("div", qo, [
2189
2189
  C[22] || (C[22] = e("div", { class: "cd-users-list-dialog__section-title" }, [
@@ -2191,7 +2191,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2191
2191
  A("标签 ")
2192
2192
  ], -1)),
2193
2193
  e("div", Lo, [
2194
- (l(!0), o(fe, null, be(c.value.tags, (ke) => (l(), j(qe, {
2194
+ (l(!0), o(fe, null, be(c.value.tags, (ke) => (l(), W(qe, {
2195
2195
  key: ke,
2196
2196
  size: "small",
2197
2197
  variant: "light"
@@ -2202,19 +2202,19 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2202
2202
  _: 2
2203
2203
  }, 1024))), 128))
2204
2204
  ])
2205
- ])) : Y("", !0),
2205
+ ])) : H("", !0),
2206
2206
  c.value.signature ? (l(), o("div", jo, [
2207
2207
  C[23] || (C[23] = e("i", { class: "ri-double-quotes-l" }, null, -1)),
2208
2208
  e("span", null, V(c.value.signature), 1)
2209
- ])) : Y("", !0)
2210
- ])) : Y("", !0)
2209
+ ])) : H("", !0)
2210
+ ])) : H("", !0)
2211
2211
  ], 4)
2212
- ])) : Y("", !0)
2212
+ ])) : H("", !0)
2213
2213
  ]),
2214
2214
  _: 1
2215
2215
  })
2216
2216
  ])),
2217
- (l(), j(vl, { to: "body" }, [
2217
+ (l(), W(vl, { to: "body" }, [
2218
2218
  s(_l, { name: "fade" }, {
2219
2219
  default: i(() => [
2220
2220
  I.value ? (l(), o("div", {
@@ -2252,7 +2252,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2252
2252
  }, V(ue(ke.name || ke.displayName)), 5),
2253
2253
  e("div", Qo, [
2254
2254
  e("div", Zo, V(ke.displayName || ke.name), 1),
2255
- ke.position ? (l(), o("div", ei, V(ke.position), 1)) : Y("", !0)
2255
+ ke.position ? (l(), o("div", ei, V(ke.position), 1)) : H("", !0)
2256
2256
  ])
2257
2257
  ]))), 128))
2258
2258
  ])
@@ -2261,14 +2261,14 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2261
2261
  e("p", null, "暂无成员", -1)
2262
2262
  ])]))
2263
2263
  ])
2264
- ])) : Y("", !0)
2264
+ ])) : H("", !0)
2265
2265
  ], 4)
2266
- ])) : Y("", !0)
2266
+ ])) : H("", !0)
2267
2267
  ]),
2268
2268
  _: 1
2269
2269
  })
2270
2270
  ])),
2271
- (a.edit || a.mode === "input") && a.personTabs && a.personTabs.length > 0 && w.value ? (l(), j(ca(Ml), {
2271
+ (a.edit || a.mode === "input") && a.personTabs && a.personTabs.length > 0 && w.value ? (l(), W(ca(Ml), {
2272
2272
  key: 0,
2273
2273
  visible: w.value,
2274
2274
  "onUpdate:visible": C[8] || (C[8] = (ke) => w.value = ke),
@@ -2282,7 +2282,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2282
2282
  onConfirm: G,
2283
2283
  onLoadUsers: X,
2284
2284
  onSearch: oe
2285
- }, null, 8, ["visible", "modelValue", "tabs", "organizations"])) : Y("", !0)
2285
+ }, null, 8, ["visible", "modelValue", "tabs", "organizations"])) : H("", !0)
2286
2286
  ]);
2287
2287
  };
2288
2288
  }
@@ -2369,9 +2369,9 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2369
2369
  e("span", ui, V(ee.label), 1),
2370
2370
  ee.key === m.value ? (l(), o("svg", ci, [...q[3] || (q[3] = [
2371
2371
  e("path", { d: "M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z" }, null, -1)
2372
- ])])) : Y("", !0)
2372
+ ])])) : H("", !0)
2373
2373
  ], 10, ri))), 128))
2374
- ])) : Y("", !0)
2374
+ ])) : H("", !0)
2375
2375
  ], 4));
2376
2376
  }
2377
2377
  }), zl = /* @__PURE__ */ aa(fi, [["__scopeId", "data-v-de3f6343"]]), mi = { class: "password-dialog-content" }, vi = { class: "method-tabs" }, pi = {
@@ -2451,7 +2451,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2451
2451
  };
2452
2452
  return (I, D) => {
2453
2453
  const q = M("t-input"), ee = M("t-button"), N = M("t-dialog");
2454
- return l(), j(N, {
2454
+ return l(), W(N, {
2455
2455
  visible: u.value,
2456
2456
  "onUpdate:visible": D[9] || (D[9] = (J) => u.value = J),
2457
2457
  header: a.title,
@@ -2640,7 +2640,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2640
2640
  };
2641
2641
  return (w, r) => {
2642
2642
  const I = M("t-input"), D = M("t-button"), q = M("t-dialog");
2643
- return l(), j(q, {
2643
+ return l(), W(q, {
2644
2644
  visible: u.value,
2645
2645
  "onUpdate:visible": r[2] || (r[2] = (ee) => u.value = ee),
2646
2646
  header: a.title,
@@ -2782,7 +2782,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2782
2782
  };
2783
2783
  return (w, r) => {
2784
2784
  const I = M("t-radio"), D = M("t-radio-group"), q = M("t-checkbox"), ee = M("t-checkbox-group"), N = M("t-button"), J = M("t-dialog");
2785
- return l(), j(J, {
2785
+ return l(), W(J, {
2786
2786
  visible: u.value,
2787
2787
  "onUpdate:visible": r[2] || (r[2] = (ge) => u.value = ge),
2788
2788
  header: a.title,
@@ -2941,8 +2941,8 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2941
2941
  y("submit", m.value), y("update", n.shortcutData.label, m.value), u.value = !1;
2942
2942
  };
2943
2943
  return (ee, N) => {
2944
- const J = M("t-input"), ge = M("t-button"), H = M("t-dialog");
2945
- return l(), j(H, {
2944
+ const J = M("t-input"), ge = M("t-button"), Y = M("t-dialog");
2945
+ return l(), W(Y, {
2946
2946
  visible: u.value,
2947
2947
  "onUpdate:visible": N[0] || (N[0] = (E) => u.value = E),
2948
2948
  header: a.title,
@@ -2972,7 +2972,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2972
2972
  e("div", Ki, [
2973
2973
  N[2] || (N[2] = e("label", { class: "form-label" }, "当前快捷键", -1)),
2974
2974
  e("div", Gi, [
2975
- (l(!0), o(fe, null, be(a.shortcutData.keys, (E, W) => (l(), o("kbd", { key: W }, V(E), 1))), 128))
2975
+ (l(!0), o(fe, null, be(a.shortcutData.keys, (E, j) => (l(), o("kbd", { key: j }, V(E), 1))), 128))
2976
2976
  ])
2977
2977
  ]),
2978
2978
  e("div", Xi, [
@@ -2984,7 +2984,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
2984
2984
  onKeydown: Qe(I, ["prevent"]),
2985
2985
  onBlur: w
2986
2986
  }, [
2987
- m.value.length > 0 ? (l(!0), o(fe, { key: 0 }, be(m.value, (E, W) => (l(), o("kbd", { key: W }, V(E), 1))), 128)) : (l(), o("span", Qi, V(c.value ? "请按下快捷键..." : "点击此处录制快捷键"), 1))
2987
+ m.value.length > 0 ? (l(!0), o(fe, { key: 0 }, be(m.value, (E, j) => (l(), o("kbd", { key: j }, V(E), 1))), 128)) : (l(), o("span", Qi, V(c.value ? "请按下快捷键..." : "点击此处录制快捷键"), 1))
2988
2988
  ], 34),
2989
2989
  N[4] || (N[4] = e("div", { class: "form-tip" }, "支持 Ctrl、Shift、Alt 等修饰键组合", -1))
2990
2990
  ]),
@@ -3055,7 +3055,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3055
3055
  e("div", ts, [
3056
3056
  a.showLegend ? (l(), o("div", ns, [...U[1] || (U[1] = [
3057
3057
  wl('<span class="legend-item" data-v-cea2996a><span class="dot dot--meeting" data-v-cea2996a></span> 会议</span><span class="legend-item" data-v-cea2996a><span class="dot dot--task" data-v-cea2996a></span> 待办</span><span class="legend-item" data-v-cea2996a><span class="dot dot--reminder" data-v-cea2996a></span> 提醒</span>', 3)
3058
- ])])) : Y("", !0),
3058
+ ])])) : H("", !0),
3059
3059
  e("div", os, [
3060
3060
  (l(!0), o(fe, null, be(a.data, (r) => (l(), o("div", {
3061
3061
  key: r.id,
@@ -3081,7 +3081,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3081
3081
  r.location ? (l(), o("span", fs, [
3082
3082
  U[2] || (U[2] = e("i", { class: "ri-map-pin-line" }, null, -1)),
3083
3083
  A(" " + V(r.location), 1)
3084
- ])) : Y("", !0)
3084
+ ])) : H("", !0)
3085
3085
  ]),
3086
3086
  e("div", ms, [
3087
3087
  s(w, {
@@ -3097,7 +3097,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3097
3097
  }, 8, ["onClick"])
3098
3098
  ])
3099
3099
  ], 8, is))), 128)),
3100
- a.data.length ? Y("", !0) : (l(), o("div", vs, [...U[4] || (U[4] = [
3100
+ a.data.length ? H("", !0) : (l(), o("div", vs, [...U[4] || (U[4] = [
3101
3101
  e("i", { class: "ri-calendar-2-line" }, null, -1),
3102
3102
  e("span", null, "暂无日程", -1)
3103
3103
  ])]))
@@ -3135,7 +3135,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3135
3135
  y("toggle", D);
3136
3136
  }, I = (D) => D >= 100 ? "#52c41a" : D >= 50 ? "#1890ff" : "#faad14";
3137
3137
  return (D, q) => {
3138
- const ee = M("t-radio-button"), N = M("t-radio-group"), J = M("t-checkbox"), ge = M("t-tag"), H = M("t-progress");
3138
+ const ee = M("t-radio-button"), N = M("t-radio-group"), J = M("t-checkbox"), ge = M("t-tag"), Y = M("t-progress");
3139
3139
  return l(), o("div", hs, [
3140
3140
  e("h3", null, [
3141
3141
  q[1] || (q[1] = e("i", { class: "ri-task-line" }, null, -1)),
@@ -3177,17 +3177,17 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3177
3177
  ]),
3178
3178
  _: 1
3179
3179
  }, 8, ["modelValue"])
3180
- ])) : Y("", !0),
3180
+ ])) : H("", !0),
3181
3181
  e("div", _s, [
3182
3182
  (l(!0), o(fe, null, be(_.value, (E) => (l(), o("div", {
3183
3183
  key: E.id,
3184
3184
  class: "task",
3185
- onClick: (W) => w(E)
3185
+ onClick: (j) => w(E)
3186
3186
  }, [
3187
3187
  e("div", Cs, [
3188
3188
  s(J, {
3189
3189
  checked: E.status === "done",
3190
- onChange: (W) => r(E)
3190
+ onChange: (j) => r(E)
3191
3191
  }, null, 8, ["checked", "onChange"])
3192
3192
  ]),
3193
3193
  e("div", ws, [
@@ -3211,26 +3211,26 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3211
3211
  E.due ? (l(), o("span", Ss, [
3212
3212
  q[6] || (q[6] = e("i", { class: "ri-time-line" }, null, -1)),
3213
3213
  A(" " + V(E.due), 1)
3214
- ])) : Y("", !0),
3214
+ ])) : H("", !0),
3215
3215
  E.priority ? (l(), o("span", {
3216
3216
  key: 1,
3217
3217
  class: xe(["priority", `priority--${E.priority}`])
3218
3218
  }, [
3219
3219
  q[7] || (q[7] = e("i", { class: "ri-flag-line" }, null, -1)),
3220
3220
  A(" " + V(U[E.priority]), 1)
3221
- ], 2)) : Y("", !0)
3221
+ ], 2)) : H("", !0)
3222
3222
  ])
3223
3223
  ]),
3224
3224
  a.showProgress && E.progress !== void 0 ? (l(), o("div", Ms, [
3225
- s(H, {
3225
+ s(Y, {
3226
3226
  percentage: E.progress,
3227
3227
  size: "small",
3228
3228
  color: I(E.progress)
3229
3229
  }, null, 8, ["percentage", "color"])
3230
- ])) : Y("", !0)
3230
+ ])) : H("", !0)
3231
3231
  ])
3232
3232
  ], 8, ks))), 128)),
3233
- _.value.length ? Y("", !0) : (l(), o("div", zs, [...q[8] || (q[8] = [
3233
+ _.value.length ? H("", !0) : (l(), o("div", zs, [...q[8] || (q[8] = [
3234
3234
  e("i", { class: "ri-checkbox-circle-line" }, null, -1),
3235
3235
  e("span", null, "暂无任务", -1)
3236
3236
  ])]))
@@ -3273,7 +3273,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3273
3273
  class: xe(["tab-item", { active: n.value === m.key }]),
3274
3274
  onClick: (U) => n.value = m.key
3275
3275
  }, V(m.label), 11, Rs))), 128))
3276
- ])) : Y("", !0),
3276
+ ])) : H("", !0),
3277
3277
  e("div", Es, [
3278
3278
  (l(!0), o(fe, null, be(y.value, (m) => (l(), o("div", {
3279
3279
  key: m.id,
@@ -3293,7 +3293,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3293
3293
  onClick: Qe((U) => u.$emit("more", m), ["stop"])
3294
3294
  }, null, 8, Bs)
3295
3295
  ], 8, Ps))), 128)),
3296
- y.value.length ? Y("", !0) : (l(), o("div", qs, [...c[1] || (c[1] = [
3296
+ y.value.length ? H("", !0) : (l(), o("div", qs, [...c[1] || (c[1] = [
3297
3297
  e("i", { class: "ri-star-line" }, null, -1),
3298
3298
  e("span", null, "暂无收藏", -1)
3299
3299
  ])]))
@@ -3373,7 +3373,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3373
3373
  A("复制", -1)
3374
3374
  ])], 8, nr)
3375
3375
  ]))), 128))
3376
- ])) : Y("", !0)
3376
+ ])) : H("", !0)
3377
3377
  ]);
3378
3378
  };
3379
3379
  }
@@ -3457,7 +3457,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3457
3457
  e("div", kr, V(a.current.email), 1)
3458
3458
  ]),
3459
3459
  n[4] || (n[4] = e("span", { class: "account-badge" }, "当前", -1))
3460
- ])) : Y("", !0),
3460
+ ])) : H("", !0),
3461
3461
  (l(!0), o(fe, null, be(a.others, (u) => (l(), o("div", {
3462
3462
  key: u.id,
3463
3463
  class: "account-card",
@@ -3484,7 +3484,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3484
3484
  }, [...n[6] || (n[6] = [
3485
3485
  wl('<div class="account-avatar add" data-v-36d182f7><i class="ri-add-line" data-v-36d182f7></i></div><div class="account-info" data-v-36d182f7><div class="account-name" data-v-36d182f7>添加账号</div><div class="account-email" data-v-36d182f7>登录其他账号</div></div>', 2)
3486
3486
  ])])
3487
- ])) : Y("", !0)
3487
+ ])) : H("", !0)
3488
3488
  ]);
3489
3489
  };
3490
3490
  }
@@ -3526,9 +3526,9 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3526
3526
  }, [
3527
3527
  e("div", Ar, [
3528
3528
  e("div", Ur, V(_.label), 1),
3529
- _.desc ? (l(), o("div", Rr, V(_.desc), 1)) : Y("", !0)
3529
+ _.desc ? (l(), o("div", Rr, V(_.desc), 1)) : H("", !0)
3530
3530
  ]),
3531
- _.type === "language" ? (l(), j(zl, {
3531
+ _.type === "language" ? (l(), W(zl, {
3532
3532
  key: 0,
3533
3533
  languages: _.languages || [],
3534
3534
  "model-value": a.modelValue[_.key],
@@ -3557,7 +3557,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3557
3557
  style: Xe({ backgroundColor: w }),
3558
3558
  onClick: (r) => u(_.key, w)
3559
3559
  }, null, 14, Nr))), 128))
3560
- ])) : Y("", !0)
3560
+ ])) : H("", !0)
3561
3561
  ]))), 128))
3562
3562
  ]))), 128))
3563
3563
  ]));
@@ -3589,7 +3589,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3589
3589
  key: m.title,
3590
3590
  class: "security-group"
3591
3591
  }, [
3592
- m.title ? (l(), o("div", jr, V(m.title), 1)) : Y("", !0),
3592
+ m.title ? (l(), o("div", jr, V(m.title), 1)) : H("", !0),
3593
3593
  (l(!0), o(fe, null, be(m.items, (U) => (l(), o("div", {
3594
3594
  key: U.key,
3595
3595
  class: "security-item"
@@ -3603,18 +3603,18 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3603
3603
  e("div", Hr, [
3604
3604
  e("div", Jr, [
3605
3605
  e("div", Kr, V(U.label), 1),
3606
- U.desc ? (l(), o("div", Gr, V(U.desc), 1)) : Y("", !0)
3606
+ U.desc ? (l(), o("div", Gr, V(U.desc), 1)) : H("", !0)
3607
3607
  ]),
3608
3608
  e("div", Xr, [
3609
3609
  U.status ? (l(), o("span", {
3610
3610
  key: 0,
3611
3611
  class: xe(["status-badge", U.statusType || "default"])
3612
- }, V(U.status), 3)) : Y("", !0),
3612
+ }, V(U.status), 3)) : H("", !0),
3613
3613
  U.action ? (l(), o("button", {
3614
3614
  key: 1,
3615
3615
  class: "action-btn",
3616
3616
  onClick: (_) => y(U.key, U.action)
3617
- }, V(U.action), 9, Qr)) : Y("", !0)
3617
+ }, V(U.action), 9, Qr)) : H("", !0)
3618
3618
  ])
3619
3619
  ])
3620
3620
  ])
@@ -3666,7 +3666,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3666
3666
  e("span", null, V(_.label), 1),
3667
3667
  c[1] || (c[1] = e("i", { class: "ri-arrow-right-s-line" }, null, -1))
3668
3668
  ], 8, td))), 128))
3669
- ])) : Y("", !0),
3669
+ ])) : H("", !0),
3670
3670
  (U = a.contacts) != null && U.length ? (l(), o("div", nd, [
3671
3671
  c[2] || (c[2] = e("h4", null, "联系客服", -1)),
3672
3672
  e("div", od, [
@@ -3693,7 +3693,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3693
3693
  }, V(_.action), 11, ud))
3694
3694
  ]))), 128))
3695
3695
  ])
3696
- ])) : Y("", !0)
3696
+ ])) : H("", !0)
3697
3697
  ]);
3698
3698
  };
3699
3699
  }
@@ -3731,7 +3731,7 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3731
3731
  ])
3732
3732
  ], 8, pd))), 128))
3733
3733
  ]),
3734
- (_ = u.value) != null && _.length ? Y("", !0) : (l(), o("div", bd, [...U[1] || (U[1] = [
3734
+ (_ = u.value) != null && _.length ? H("", !0) : (l(), o("div", bd, [...U[1] || (U[1] = [
3735
3735
  e("i", { class: "ri-keyboard-line" }, null, -1),
3736
3736
  e("span", null, "暂无快捷键", -1)
3737
3737
  ])]))
@@ -3788,11 +3788,11 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3788
3788
  a.data.updateDate ? (l(), o("div", zd, [
3789
3789
  n[2] || (n[2] = e("span", { class: "info-label" }, "更新日期", -1)),
3790
3790
  e("span", Fd, V(a.data.updateDate), 1)
3791
- ])) : Y("", !0),
3791
+ ])) : H("", !0),
3792
3792
  a.data.team ? (l(), o("div", Dd, [
3793
3793
  n[3] || (n[3] = e("span", { class: "info-label" }, "开发团队", -1)),
3794
3794
  e("span", Ad, V(a.data.team), 1)
3795
- ])) : Y("", !0)
3795
+ ])) : H("", !0)
3796
3796
  ]),
3797
3797
  (y = a.links) != null && y.length ? (l(), o("div", Ud, [
3798
3798
  (l(!0), o(fe, null, be(a.links, (u) => (l(), o("a", {
@@ -3805,8 +3805,8 @@ const jl = { class: "cd-usercard__header" }, Wl = { class: "cd-usercard__avatar-
3805
3805
  }, null, 2),
3806
3806
  A(V(u.label), 1)
3807
3807
  ], 8, Rd))), 128))
3808
- ])) : Y("", !0),
3809
- a.data.copyright ? (l(), o("div", Ed, V(a.data.copyright), 1)) : Y("", !0)
3808
+ ])) : H("", !0),
3809
+ a.data.copyright ? (l(), o("div", Ed, V(a.data.copyright), 1)) : H("", !0)
3810
3810
  ]);
3811
3811
  };
3812
3812
  }
@@ -3876,17 +3876,17 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
3876
3876
  colKey: P.value,
3877
3877
  title: P.label,
3878
3878
  ellipsis: !0
3879
- }))), H = F({});
3879
+ }))), Y = F({});
3880
3880
  Fe(() => n.searchResults, (P) => {
3881
3881
  var X, oe;
3882
3882
  if (!P || P.length === 0) return;
3883
3883
  const G = ((oe = (X = n.columnOptions) == null ? void 0 : X[0]) == null ? void 0 : oe.value) || "fname";
3884
3884
  for (const ne of P) {
3885
3885
  const C = String(ne.fid ?? ne.id ?? ""), B = ne.FNAME || ne.fname || ne[G] || C;
3886
- C && (H.value[C] = B);
3886
+ C && (Y.value[C] = B);
3887
3887
  }
3888
3888
  if (c.value.length > 0) {
3889
- const ne = c.value.map((C) => H.value[C] || C);
3889
+ const ne = c.value.map((C) => Y.value[C] || C);
3890
3890
  m.value = ne, u.value = ne.join(", ");
3891
3891
  }
3892
3892
  }, { deep: !0 }), Fe(() => n.value, (P) => {
@@ -3895,15 +3895,15 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
3895
3895
  if (typeof P == "number") {
3896
3896
  const C = String(P);
3897
3897
  if (c.value = [C], n.releaseId) {
3898
- const B = H.value[C] || C;
3899
- m.value = [B], u.value = B, H.value[C] || y("search", { keyword: "", searchFields: J.value });
3898
+ const B = Y.value[C] || C;
3899
+ m.value = [B], u.value = B, Y.value[C] || y("search", { keyword: "", searchFields: J.value });
3900
3900
  } else
3901
3901
  m.value = [C], u.value = C;
3902
3902
  } else if (typeof P == "string") {
3903
3903
  const C = P.split(",").map((le) => le.trim()).filter((le) => le);
3904
3904
  if (c.value = C, C.some((le) => /^\d+$/.test(le)) && n.releaseId) {
3905
- const le = C.map((we) => H.value[we] || we);
3906
- m.value = le, u.value = le.join(", "), C.some((we) => /^\d+$/.test(we) && !H.value[we]) && y("search", { keyword: "", searchFields: J.value });
3905
+ const le = C.map((we) => Y.value[we] || we);
3906
+ m.value = le, u.value = le.join(", "), C.some((we) => /^\d+$/.test(we) && !Y.value[we]) && y("search", { keyword: "", searchFields: J.value });
3907
3907
  } else
3908
3908
  m.value = C, u.value = C.join(", ");
3909
3909
  } else if (Array.isArray(P)) {
@@ -3920,7 +3920,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
3920
3920
  N && clearTimeout(N), N = setTimeout(() => {
3921
3921
  P ? (U.value = !0, y("search", { keyword: P, searchFields: J.value })) : U.value = !1;
3922
3922
  }, 300);
3923
- }, W = () => {
3923
+ }, j = () => {
3924
3924
  U.value = !0, y("search", { keyword: "", searchFields: J.value });
3925
3925
  }, d = () => {
3926
3926
  const P = c.value.length > 0 ? c.value.join(",") : void 0;
@@ -3930,7 +3930,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
3930
3930
  }, g = ({ row: P }) => {
3931
3931
  var oe, ne;
3932
3932
  const G = String(P.fid ?? P.id ?? ""), X = String(P.FNAME || P.fname || P[((ne = (oe = n.columnOptions) == null ? void 0 : oe[0]) == null ? void 0 : ne.value) || ""] || G);
3933
- console.log("[RelationForm] handleRowClick:", { idValue: G, displayValue: X, rowFid: P.fid }), G && (H.value[G] = X), n.multiple ? (c.value.includes(G) || (c.value.push(G), m.value.push(X)), u.value = "") : (c.value = [G], m.value = [X], u.value = X), d(), y("row-select", P), U.value = !1;
3933
+ console.log("[RelationForm] handleRowClick:", { idValue: G, displayValue: X, rowFid: P.fid }), G && (Y.value[G] = X), n.multiple ? (c.value.includes(G) || (c.value.push(G), m.value.push(X)), u.value = "") : (c.value = [G], m.value = [X], u.value = X), d(), y("row-select", P), U.value = !1;
3934
3934
  }, R = (P) => {
3935
3935
  y("dialog-search", P);
3936
3936
  }, O = () => {
@@ -3949,7 +3949,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
3949
3949
  c.value = ee.value.map((P) => String(P.fid ?? P.id ?? "")), m.value = ee.value.map((P) => String(P.FNAME || P.fname || "")), u.value = "";
3950
3950
  else {
3951
3951
  const P = ee.value[0], G = String(P.fid ?? P.id ?? ""), X = String(P.FNAME || P.fname || "");
3952
- c.value = [G], m.value = [X], G && (H.value[G] = X);
3952
+ c.value = [G], m.value = [X], G && (Y.value[G] = X);
3953
3953
  }
3954
3954
  u.value = m.value.join(", "), d(), D.value = !1;
3955
3955
  }
@@ -3991,7 +3991,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
3991
3991
  class: "relation-tags-wrapper",
3992
3992
  onClick: w
3993
3993
  }, [
3994
- (l(!0), o(fe, null, be(m.value, (_e, we) => (l(), j(X, {
3994
+ (l(!0), o(fe, null, be(m.value, (_e, we) => (l(), W(X, {
3995
3995
  key: we,
3996
3996
  size: "small",
3997
3997
  closable: "",
@@ -4011,11 +4011,11 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4011
4011
  placeholder: "搜索...",
4012
4012
  disabled: a.disabled,
4013
4013
  onInput: r,
4014
- onFocus: W
4014
+ onFocus: j
4015
4015
  }, null, 40, Bd), [
4016
4016
  [Ca, u.value]
4017
4017
  ])
4018
- ])) : (l(), j(oe, {
4018
+ ])) : (l(), W(oe, {
4019
4019
  key: 1,
4020
4020
  modelValue: u.value,
4021
4021
  "onUpdate:modelValue": G[1] || (G[1] = (_e) => u.value = _e),
@@ -4024,7 +4024,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4024
4024
  disabled: a.disabled,
4025
4025
  class: "relation-input",
4026
4026
  onInput: E,
4027
- onFocus: W
4027
+ onFocus: j
4028
4028
  }, null, 8, ["modelValue", "placeholder", "loading", "disabled"])),
4029
4029
  e("i", {
4030
4030
  class: "ri-search-line cd-relation-form-icon",
@@ -4035,16 +4035,16 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4035
4035
  ]),
4036
4036
  _: 1
4037
4037
  }, 8, ["modelValue"]),
4038
- (l(), j(vl, { to: "body" }, [
4039
- D.value ? (l(), j(le, {
4040
- key: 0,
4038
+ (l(), W(vl, { to: "body" }, [
4039
+ s(le, {
4041
4040
  visible: D.value,
4042
4041
  "onUpdate:visible": G[3] || (G[3] = (_e) => D.value = _e),
4043
4042
  header: a.dialogTitle || "选择数据",
4044
4043
  width: a.dialogWidth || "1400px",
4045
4044
  footer: !0,
4046
4045
  class: "cd-form-select-modal",
4047
- "mask-closable": !1,
4046
+ "close-on-overlay-click": !1,
4047
+ "close-on-esc-keydown": !1,
4048
4048
  placement: "center",
4049
4049
  top: 0,
4050
4050
  onConfirm: b,
@@ -4069,7 +4069,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4069
4069
  ]),
4070
4070
  default: i(() => [
4071
4071
  e("div", jd, [
4072
- a.cdFormConfig.formData && a.cdFormConfig.columnData ? (l(), j(El, {
4072
+ a.cdFormConfig.formData && a.cdFormConfig.columnData ? (l(), W(El, {
4073
4073
  key: 0,
4074
4074
  "form-data": a.cdFormConfig.formData,
4075
4075
  "column-data": a.cdFormConfig.columnData,
@@ -4085,16 +4085,16 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4085
4085
  onRowClick: de,
4086
4086
  onRowDblclick: ue,
4087
4087
  onSelectionChange: L
4088
- }, null, 8, ["form-data", "column-data", "data", "loading", "page-config", "selection-mode"])) : Y("", !0)
4088
+ }, null, 8, ["form-data", "column-data", "data", "loading", "page-config", "selection-mode"])) : H("", !0)
4089
4089
  ])
4090
4090
  ]),
4091
4091
  _: 1
4092
- }, 8, ["visible", "header", "width"])) : Y("", !0)
4092
+ }, 8, ["visible", "header", "width"])
4093
4093
  ]))
4094
4094
  ]);
4095
4095
  };
4096
4096
  }
4097
- }), Fl = /* @__PURE__ */ aa(Wd, [["__scopeId", "data-v-80b2c5a2"]]), Yd = { class: "add-container" }, Hd = { class: "panel-footer" }, Jd = { class: "column-mapping" }, Kd = { class: "mapping-label" }, Gd = { class: "mapping-preview" }, Xd = {
4097
+ }), Fl = /* @__PURE__ */ aa(Wd, [["__scopeId", "data-v-e5c15e5b"]]), Yd = { class: "add-container" }, Hd = { class: "panel-footer" }, Jd = { class: "column-mapping" }, Kd = { class: "mapping-label" }, Gd = { class: "mapping-preview" }, Xd = {
4098
4098
  key: 0,
4099
4099
  class: "more-tip"
4100
4100
  }, Qd = { class: "preview-table" }, Zd = {
@@ -4111,15 +4111,15 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4111
4111
  setup(a, { emit: te }) {
4112
4112
  const n = a, y = te, u = ve({
4113
4113
  get: () => n.visible,
4114
- set: (H) => y("update:visible", H)
4115
- }), c = F(["ai"]), m = F(""), U = F(""), _ = F("auto"), w = F([]), r = F(!1), I = ve(() => n.columns.map((H) => ({
4116
- label: H.title || H.label,
4117
- value: H.field || H.value
4114
+ set: (Y) => y("update:visible", Y)
4115
+ }), c = F(["ai"]), m = F(""), U = F(""), _ = F("auto"), w = F([]), r = F(!1), I = ve(() => n.columns.map((Y) => ({
4116
+ label: Y.title || Y.label,
4117
+ value: Y.field || Y.value
4118
4118
  }))), D = ve(() => {
4119
- const H = U.value.trim();
4120
- if (!H) return [];
4119
+ const Y = U.value.trim();
4120
+ if (!Y) return [];
4121
4121
  let E = [];
4122
- if (H.split(`
4122
+ if (Y.split(`
4123
4123
  `).filter((g) => g.trim() !== "").forEach((g) => {
4124
4124
  let R = [];
4125
4125
  if (_.value === "auto")
@@ -4154,38 +4154,38 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4154
4154
  }
4155
4155
  return S;
4156
4156
  }), q = ve(() => {
4157
- const H = D.value;
4158
- if (H.length === 0) return [];
4159
- const E = Math.max(...H.map((d) => d.length)), W = [];
4157
+ const Y = D.value;
4158
+ if (Y.length === 0) return [];
4159
+ const E = Math.max(...Y.map((d) => d.length)), j = [];
4160
4160
  for (let d = 0; d < E; d++) {
4161
4161
  const S = {
4162
4162
  _X_ROW_KEY: `row_${Date.now()}_${d}_${Math.random().toString(36).substr(2, 9)}`
4163
4163
  };
4164
- H.forEach((g, R) => {
4164
+ Y.forEach((g, R) => {
4165
4165
  const O = w.value[R];
4166
4166
  O && g[d] !== void 0 && (S[O] = g[d]);
4167
- }), W.push(S);
4167
+ }), j.push(S);
4168
4168
  }
4169
- return W;
4169
+ return j;
4170
4170
  }), ee = ve(() => {
4171
- const H = [];
4172
- return D.value.forEach((E, W) => {
4171
+ const Y = [];
4172
+ return D.value.forEach((E, j) => {
4173
4173
  var g;
4174
- const d = w.value[W], S = d ? ((g = I.value.find((R) => R.value === d)) == null ? void 0 : g.label) || d : `第 ${W + 1} 列`;
4175
- H.push({
4176
- colKey: d || `col_${W}`,
4174
+ const d = w.value[j], S = d ? ((g = I.value.find((R) => R.value === d)) == null ? void 0 : g.label) || d : `第 ${j + 1} 列`;
4175
+ Y.push({
4176
+ colKey: d || `col_${j}`,
4177
4177
  title: S,
4178
4178
  width: 150,
4179
4179
  ellipsis: !0
4180
4180
  });
4181
- }), H;
4182
- }), N = ve(() => w.value.some((H) => H !== void 0 && H !== ""));
4183
- Fe(() => D.value.length, (H) => {
4181
+ }), Y;
4182
+ }), N = ve(() => w.value.some((Y) => Y !== void 0 && Y !== ""));
4183
+ Fe(() => D.value.length, (Y) => {
4184
4184
  const E = w.value;
4185
- E.length < H ? w.value = [
4185
+ E.length < Y ? w.value = [
4186
4186
  ...E,
4187
- ...new Array(H - E.length).fill("")
4188
- ] : E.length > H && (w.value = E.slice(0, H));
4187
+ ...new Array(Y - E.length).fill("")
4188
+ ] : E.length > Y && (w.value = E.slice(0, Y));
4189
4189
  });
4190
4190
  const J = () => {
4191
4191
  if (!N.value) {
@@ -4196,33 +4196,33 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4196
4196
  Ie.warning("请输入要添加的数据");
4197
4197
  return;
4198
4198
  }
4199
- const H = q.value.map((E) => {
4200
- const W = { ...E };
4199
+ const Y = q.value.map((E) => {
4200
+ const j = { ...E };
4201
4201
  return n.fieldConfigs.forEach((d) => {
4202
4202
  var g;
4203
4203
  const S = d.__vModel__ || d.field;
4204
- if (S && W[S] === void 0)
4204
+ if (S && j[S] === void 0)
4205
4205
  switch ((g = d.__config__) == null ? void 0 : g.cdkey) {
4206
4206
  case "input":
4207
4207
  case "textarea":
4208
- W[S] = "";
4208
+ j[S] = "";
4209
4209
  break;
4210
4210
  case "number":
4211
- W[S] = 0;
4211
+ j[S] = 0;
4212
4212
  break;
4213
4213
  case "switch":
4214
- W[S] = !1;
4214
+ j[S] = !1;
4215
4215
  break;
4216
4216
  case "checkbox":
4217
4217
  case "select":
4218
- W[S] = d.multiple ? [] : null;
4218
+ j[S] = d.multiple ? [] : null;
4219
4219
  break;
4220
4220
  default:
4221
- W[S] = null;
4221
+ j[S] = null;
4222
4222
  }
4223
- }), W;
4223
+ }), j;
4224
4224
  });
4225
- y("add-data", H), Ie.success(`成功添加 ${H.length} 条数据`), U.value = "", w.value = [], u.value = !1;
4225
+ y("add-data", Y), Ie.success(`成功添加 ${Y.length} 条数据`), U.value = "", w.value = [], u.value = !1;
4226
4226
  }, ge = () => {
4227
4227
  if (!m.value.trim()) {
4228
4228
  Ie.warning("请输入描述信息");
@@ -4232,11 +4232,11 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4232
4232
  r.value = !1;
4233
4233
  }, 1e3);
4234
4234
  };
4235
- return Fe(u, (H) => {
4236
- H || (m.value = "", U.value = "", w.value = [], r.value = !1, c.value = ["ai"]);
4237
- }), (H, E) => {
4238
- const W = M("t-textarea"), d = M("t-form-item"), S = M("t-form"), g = M("t-button"), R = M("t-space"), O = M("t-collapse-panel"), de = M("t-radio"), ue = M("t-radio-group"), L = M("t-select"), x = M("t-tag"), b = M("t-table"), z = M("t-collapse"), P = M("t-dialog");
4239
- return l(), j(P, {
4235
+ return Fe(u, (Y) => {
4236
+ Y || (m.value = "", U.value = "", w.value = [], r.value = !1, c.value = ["ai"]);
4237
+ }), (Y, E) => {
4238
+ const j = M("t-textarea"), d = M("t-form-item"), S = M("t-form"), g = M("t-button"), R = M("t-space"), O = M("t-collapse-panel"), de = M("t-radio"), ue = M("t-radio-group"), L = M("t-select"), x = M("t-tag"), b = M("t-table"), z = M("t-collapse"), P = M("t-dialog");
4239
+ return l(), W(P, {
4240
4240
  visible: u.value,
4241
4241
  "onUpdate:visible": E[5] || (E[5] = (G) => u.value = G),
4242
4242
  header: "智能添加",
@@ -4262,7 +4262,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4262
4262
  default: i(() => [
4263
4263
  s(d, { label: "描述输入" }, {
4264
4264
  default: i(() => [
4265
- s(W, {
4265
+ s(j, {
4266
4266
  modelValue: m.value,
4267
4267
  "onUpdate:modelValue": E[0] || (E[0] = (G) => m.value = G),
4268
4268
  placeholder: `请用自然语言描述要添加的数据
@@ -4309,7 +4309,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4309
4309
  default: i(() => [
4310
4310
  s(d, { label: "数据输入" }, {
4311
4311
  default: i(() => [
4312
- s(W, {
4312
+ s(j, {
4313
4313
  modelValue: U.value,
4314
4314
  "onUpdate:modelValue": E[1] || (E[1] = (G) => U.value = G),
4315
4315
  placeholder: `请输入数据,支持多种分隔符:空格、逗号、|、&、Tab等
@@ -4322,7 +4322,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4322
4322
  ]),
4323
4323
  _: 1
4324
4324
  }),
4325
- D.value.length > 0 ? (l(), j(d, {
4325
+ D.value.length > 0 ? (l(), W(d, {
4326
4326
  key: 0,
4327
4327
  label: "分隔符"
4328
4328
  }, {
@@ -4373,8 +4373,8 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4373
4373
  }, 8, ["modelValue"])
4374
4374
  ]),
4375
4375
  _: 1
4376
- })) : Y("", !0),
4377
- D.value.length > 0 ? (l(), j(d, {
4376
+ })) : H("", !0),
4377
+ D.value.length > 0 ? (l(), W(d, {
4378
4378
  key: 1,
4379
4379
  label: "字段映射"
4380
4380
  }, {
@@ -4393,7 +4393,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4393
4393
  clearable: ""
4394
4394
  }, null, 8, ["modelValue", "onUpdate:modelValue", "options"]),
4395
4395
  e("div", Gd, [
4396
- (l(!0), o(fe, null, be(G.slice(0, 3), (oe, ne) => (l(), j(x, {
4396
+ (l(!0), o(fe, null, be(G.slice(0, 3), (oe, ne) => (l(), W(x, {
4397
4397
  key: ne,
4398
4398
  theme: "default",
4399
4399
  variant: "light",
@@ -4404,14 +4404,14 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4404
4404
  ]),
4405
4405
  _: 2
4406
4406
  }, 1024))), 128)),
4407
- G.length > 3 ? (l(), o("span", Xd, "等 " + V(G.length) + " 条", 1)) : Y("", !0)
4407
+ G.length > 3 ? (l(), o("span", Xd, "等 " + V(G.length) + " 条", 1)) : H("", !0)
4408
4408
  ])
4409
4409
  ]))), 128))
4410
4410
  ])
4411
4411
  ]),
4412
4412
  _: 1
4413
- })) : Y("", !0),
4414
- q.value.length > 0 ? (l(), j(d, {
4413
+ })) : H("", !0),
4414
+ q.value.length > 0 ? (l(), W(d, {
4415
4415
  key: 2,
4416
4416
  label: "数据预览"
4417
4417
  }, {
@@ -4426,11 +4426,11 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4426
4426
  stripe: "",
4427
4427
  "max-height": "300"
4428
4428
  }, null, 8, ["data", "columns"]),
4429
- q.value.length > 5 ? (l(), o("div", Zd, " 仅显示前 5 条,共 " + V(q.value.length) + " 条数据 ", 1)) : Y("", !0)
4429
+ q.value.length > 5 ? (l(), o("div", Zd, " 仅显示前 5 条,共 " + V(q.value.length) + " 条数据 ", 1)) : H("", !0)
4430
4430
  ])
4431
4431
  ]),
4432
4432
  _: 1
4433
- })) : Y("", !0)
4433
+ })) : H("", !0)
4434
4434
  ]),
4435
4435
  _: 1
4436
4436
  }),
@@ -4729,11 +4729,11 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
4729
4729
  // return true;
4730
4730
  // }
4731
4731
  }), v;
4732
- }), H = (p) => {
4732
+ }), Y = (p) => {
4733
4733
  N.value = p;
4734
4734
  }, E = (p) => {
4735
- p && p.value && W(p.value);
4736
- }, W = (p) => {
4735
+ p && p.value && j(p.value);
4736
+ }, j = (p) => {
4737
4737
  switch (typeof p == "string" ? p : p.value) {
4738
4738
  case "add":
4739
4739
  d();
@@ -5039,7 +5039,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5039
5039
  };
5040
5040
  return (p, v) => {
5041
5041
  const ie = M("t-input"), Te = M("t-textarea"), Ae = M("t-input-number"), ea = M("t-select"), Ye = M("t-date-picker"), la = M("t-date-range-picker"), oa = M("t-time-picker"), _a = M("t-time-range-picker"), Wa = M("t-switch"), Ya = M("vxe-rate"), Ha = M("t-radio"), Ja = M("t-radio-group"), xa = M("t-checkbox"), Ka = M("t-checkbox-group"), Ra = M("t-cascader"), Ga = M("t-tree-select"), Xa = M("t-auto-complete"), Ea = M("t-upload"), ma = M("t-button"), Qa = M("t-color-picker"), Pa = M("t-slider"), Za = M("t-progress"), el = M("t-alert"), ka = M("t-link"), al = M("t-tag-input"), ll = M("t-dropdown-item"), tl = M("t-dropdown-menu"), nl = M("t-dropdown"), ol = M("vxe-grid"), ba = M("render-form-item", !0), $a = M("t-row"), il = M("t-divider"), sl = M("t-tab-panel"), rl = M("t-tabs"), Ia = M("t-collapse-panel"), dl = M("t-collapse"), Oa = M("t-popconfirm"), Ta = M("t-space"), ul = M("t-table");
5042
- return a.field.__config__.layout === "colFormItem" ? (l(), j(Tl(a.tableMode ? "div" : "t-form-item"), Aa({
5042
+ return a.field.__config__.layout === "colFormItem" ? (l(), W(Tl(a.tableMode ? "div" : "t-form-item"), Aa({
5043
5043
  key: 0,
5044
5044
  class: a.tableMode ? "table-cell-editor" : ""
5045
5045
  }, a.tableMode ? {} : {
@@ -5050,7 +5050,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5050
5050
  default: i(() => {
5051
5051
  var Ce, Ee;
5052
5052
  return [
5053
- b.value === "input" && !((Ce = a.field.__config__) != null && Ce.i18n) ? (l(), j(ie, {
5053
+ b.value === "input" && !((Ce = a.field.__config__) != null && Ce.i18n) ? (l(), W(ie, {
5054
5054
  key: 0,
5055
5055
  modelValue: z.value,
5056
5056
  "onUpdate:modelValue": v[0] || (v[0] = (me) => z.value = me),
@@ -5063,7 +5063,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5063
5063
  onInput: ne,
5064
5064
  onClear: C,
5065
5065
  onChange: oe
5066
- }, null, 8, ["modelValue", "placeholder", "disabled", "clearable", "maxlength", "readonly"])) : b.value === "input" && ((Ee = a.field.__config__) != null && Ee.i18n) ? (l(), j(ie, {
5066
+ }, null, 8, ["modelValue", "placeholder", "disabled", "clearable", "maxlength", "readonly"])) : b.value === "input" && ((Ee = a.field.__config__) != null && Ee.i18n) ? (l(), W(ie, {
5067
5067
  key: 1,
5068
5068
  modelValue: z.value,
5069
5069
  "onUpdate:modelValue": v[1] || (v[1] = (me) => z.value = me),
@@ -5090,7 +5090,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5090
5090
  }, null, 8, nu)
5091
5091
  ]),
5092
5092
  _: 1
5093
- }, 8, ["modelValue", "placeholder", "disabled", "clearable", "maxlength", "readonly"])) : b.value === "textarea" ? (l(), j(Te, {
5093
+ }, 8, ["modelValue", "placeholder", "disabled", "clearable", "maxlength", "readonly"])) : b.value === "textarea" ? (l(), W(Te, {
5094
5094
  key: 2,
5095
5095
  modelValue: z.value,
5096
5096
  "onUpdate:modelValue": v[3] || (v[3] = (me) => z.value = me),
@@ -5103,7 +5103,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5103
5103
  onInput: ne,
5104
5104
  onClear: C,
5105
5105
  onChange: oe
5106
- }, null, 8, ["modelValue", "placeholder", "disabled", "readonly", "maxlength", "rows"])) : b.value === "number" ? (l(), j(Ae, {
5106
+ }, null, 8, ["modelValue", "placeholder", "disabled", "readonly", "maxlength", "rows"])) : b.value === "number" ? (l(), W(Ae, {
5107
5107
  key: 3,
5108
5108
  modelValue: z.value,
5109
5109
  "onUpdate:modelValue": v[4] || (v[4] = (me) => z.value = me),
@@ -5113,7 +5113,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5113
5113
  max: a.field.max,
5114
5114
  step: a.field.step || 1,
5115
5115
  onChange: oe
5116
- }, null, 8, ["modelValue", "placeholder", "disabled", "min", "max", "step"])) : b.value === "select" ? (l(), j(ea, {
5116
+ }, null, 8, ["modelValue", "placeholder", "disabled", "min", "max", "step"])) : b.value === "select" ? (l(), W(ea, {
5117
5117
  key: 4,
5118
5118
  modelValue: z.value,
5119
5119
  "onUpdate:modelValue": v[5] || (v[5] = (me) => z.value = me),
@@ -5125,7 +5125,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5125
5125
  options: Array.isArray(a.field.options) ? a.field.options : [],
5126
5126
  keys: a.field.props || { label: "label", value: "value" },
5127
5127
  onChange: oe
5128
- }, null, 8, ["modelValue", "placeholder", "disabled", "clearable", "filterable", "multiple", "options", "keys"])) : b.value === "date" ? (l(), j(Ye, {
5128
+ }, null, 8, ["modelValue", "placeholder", "disabled", "clearable", "filterable", "multiple", "options", "keys"])) : b.value === "date" ? (l(), W(Ye, {
5129
5129
  key: 5,
5130
5130
  modelValue: z.value,
5131
5131
  "onUpdate:modelValue": v[6] || (v[6] = (me) => z.value = me),
@@ -5136,7 +5136,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5136
5136
  "enable-time-picker": a.field.type === "datetime",
5137
5137
  format: G(a.field.type),
5138
5138
  onChange: oe
5139
- }, null, 8, ["modelValue", "placeholder", "disabled", "clearable", "mode", "enable-time-picker", "format"])) : b.value === "dateRange" ? (l(), j(la, {
5139
+ }, null, 8, ["modelValue", "placeholder", "disabled", "clearable", "mode", "enable-time-picker", "format"])) : b.value === "dateRange" ? (l(), W(la, {
5140
5140
  key: 6,
5141
5141
  modelValue: z.value,
5142
5142
  "onUpdate:modelValue": v[7] || (v[7] = (me) => z.value = me),
@@ -5146,7 +5146,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5146
5146
  "enable-time-picker": a.field.type === "datetime",
5147
5147
  format: G(a.field.type),
5148
5148
  onChange: qe
5149
- }, null, 8, ["modelValue", "placeholder", "disabled", "clearable", "enable-time-picker", "format"])) : b.value === "time" ? (l(), j(oa, {
5149
+ }, null, 8, ["modelValue", "placeholder", "disabled", "clearable", "enable-time-picker", "format"])) : b.value === "time" ? (l(), W(oa, {
5150
5150
  key: 7,
5151
5151
  modelValue: z.value,
5152
5152
  "onUpdate:modelValue": v[8] || (v[8] = (me) => z.value = me),
@@ -5154,7 +5154,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5154
5154
  disabled: L.value,
5155
5155
  clearable: a.field.clearable !== !1,
5156
5156
  onChange: oe
5157
- }, null, 8, ["modelValue", "placeholder", "disabled", "clearable"])) : b.value === "rangeTime" ? (l(), j(_a, {
5157
+ }, null, 8, ["modelValue", "placeholder", "disabled", "clearable"])) : b.value === "rangeTime" ? (l(), W(_a, {
5158
5158
  key: 8,
5159
5159
  modelValue: z.value,
5160
5160
  "onUpdate:modelValue": v[9] || (v[9] = (me) => z.value = me),
@@ -5162,13 +5162,13 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5162
5162
  disabled: L.value,
5163
5163
  clearable: a.field.clearable !== !1,
5164
5164
  onChange: qe
5165
- }, null, 8, ["modelValue", "placeholder", "disabled", "clearable"])) : b.value === "switch" ? (l(), j(Wa, {
5165
+ }, null, 8, ["modelValue", "placeholder", "disabled", "clearable"])) : b.value === "switch" ? (l(), W(Wa, {
5166
5166
  key: 9,
5167
5167
  modelValue: z.value,
5168
5168
  "onUpdate:modelValue": v[10] || (v[10] = (me) => z.value = me),
5169
5169
  disabled: L.value,
5170
5170
  onChange: oe
5171
- }, null, 8, ["modelValue", "disabled"])) : b.value === "rate" ? (l(), j(Ya, {
5171
+ }, null, 8, ["modelValue", "disabled"])) : b.value === "rate" ? (l(), W(Ya, {
5172
5172
  key: 10,
5173
5173
  modelValue: z.value,
5174
5174
  "onUpdate:modelValue": v[11] || (v[11] = (me) => z.value = me),
@@ -5176,7 +5176,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5176
5176
  max: a.field.max || 5,
5177
5177
  half: a.field.allowHalf,
5178
5178
  onChange: oe
5179
- }, null, 8, ["modelValue", "disabled", "max", "half"])) : b.value === "radio" ? (l(), j(Ja, {
5179
+ }, null, 8, ["modelValue", "disabled", "max", "half"])) : b.value === "radio" ? (l(), W(Ja, {
5180
5180
  key: 11,
5181
5181
  modelValue: z.value,
5182
5182
  "onUpdate:modelValue": v[12] || (v[12] = (me) => z.value = me),
@@ -5184,7 +5184,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5184
5184
  onChange: oe
5185
5185
  }, {
5186
5186
  default: i(() => [
5187
- (l(!0), o(fe, null, be(Array.isArray(a.field.options) ? a.field.options : [], (me) => (l(), j(Ha, {
5187
+ (l(!0), o(fe, null, be(Array.isArray(a.field.options) ? a.field.options : [], (me) => (l(), W(Ha, {
5188
5188
  key: me.value,
5189
5189
  value: me.value
5190
5190
  }, {
@@ -5195,7 +5195,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5195
5195
  }, 1032, ["value"]))), 128))
5196
5196
  ]),
5197
5197
  _: 1
5198
- }, 8, ["modelValue", "disabled"])) : b.value === "checkbox" ? (l(), j(Ka, {
5198
+ }, 8, ["modelValue", "disabled"])) : b.value === "checkbox" ? (l(), W(Ka, {
5199
5199
  key: 12,
5200
5200
  modelValue: z.value,
5201
5201
  "onUpdate:modelValue": v[13] || (v[13] = (me) => z.value = me),
@@ -5203,7 +5203,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5203
5203
  onChange: oe
5204
5204
  }, {
5205
5205
  default: i(() => [
5206
- (l(!0), o(fe, null, be(Array.isArray(a.field.options) ? a.field.options : [], (me) => (l(), j(xa, {
5206
+ (l(!0), o(fe, null, be(Array.isArray(a.field.options) ? a.field.options : [], (me) => (l(), W(xa, {
5207
5207
  key: me.value,
5208
5208
  value: me.value
5209
5209
  }, {
@@ -5214,7 +5214,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5214
5214
  }, 1032, ["value"]))), 128))
5215
5215
  ]),
5216
5216
  _: 1
5217
- }, 8, ["modelValue", "disabled"])) : b.value === "cascader" ? (l(), j(Ra, {
5217
+ }, 8, ["modelValue", "disabled"])) : b.value === "cascader" ? (l(), W(Ra, {
5218
5218
  key: 13,
5219
5219
  modelValue: z.value,
5220
5220
  "onUpdate:modelValue": v[14] || (v[14] = (me) => z.value = me),
@@ -5224,7 +5224,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5224
5224
  options: Array.isArray(a.field.options) ? a.field.options : [],
5225
5225
  keys: a.field.props || { label: "label", value: "value", children: "children" },
5226
5226
  onChange: oe
5227
- }, null, 8, ["modelValue", "placeholder", "disabled", "clearable", "options", "keys"])) : b.value === "treeSelect" ? (l(), j(Ga, {
5227
+ }, null, 8, ["modelValue", "placeholder", "disabled", "clearable", "options", "keys"])) : b.value === "treeSelect" ? (l(), W(Ga, {
5228
5228
  key: 14,
5229
5229
  modelValue: z.value,
5230
5230
  "onUpdate:modelValue": v[15] || (v[15] = (me) => z.value = me),
@@ -5236,7 +5236,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5236
5236
  data: We(a.field),
5237
5237
  "tree-props": a.field.props || { keys: { label: "label", value: "value", children: "children" } },
5238
5238
  onChange: oe
5239
- }, null, 8, ["modelValue", "placeholder", "disabled", "clearable", "filterable", "multiple", "data", "tree-props"])) : b.value === "autoComplete" ? (l(), j(Xa, {
5239
+ }, null, 8, ["modelValue", "placeholder", "disabled", "clearable", "filterable", "multiple", "data", "tree-props"])) : b.value === "autoComplete" ? (l(), W(Xa, {
5240
5240
  key: 15,
5241
5241
  modelValue: z.value,
5242
5242
  "onUpdate:modelValue": v[16] || (v[16] = (me) => z.value = me),
@@ -5245,7 +5245,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5245
5245
  clearable: a.field.clearable !== !1,
5246
5246
  options: Array.isArray(a.field.options) ? a.field.options : [],
5247
5247
  onChange: oe
5248
- }, null, 8, ["modelValue", "placeholder", "disabled", "clearable", "options"])) : b.value === "uploadImg" ? (l(), j(Ea, {
5248
+ }, null, 8, ["modelValue", "placeholder", "disabled", "clearable", "options"])) : b.value === "uploadImg" ? (l(), W(Ea, {
5249
5249
  key: 16,
5250
5250
  modelValue: z.value,
5251
5251
  "onUpdate:modelValue": v[17] || (v[17] = (me) => z.value = me),
@@ -5263,7 +5263,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5263
5263
  }
5264
5264
  },
5265
5265
  onChange: oe
5266
- }, null, 8, ["modelValue", "disabled", "max", "accept", "size-limit", "action", "auto-upload", "show-image-file-name"])) : b.value === "upload" ? (l(), j(Ea, {
5266
+ }, null, 8, ["modelValue", "disabled", "max", "accept", "size-limit", "action", "auto-upload", "show-image-file-name"])) : b.value === "upload" ? (l(), W(Ea, {
5267
5267
  key: 17,
5268
5268
  modelValue: z.value,
5269
5269
  "onUpdate:modelValue": v[18] || (v[18] = (me) => z.value = me),
@@ -5285,13 +5285,13 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5285
5285
  }, 8, ["disabled"])
5286
5286
  ]),
5287
5287
  _: 1
5288
- }, 8, ["modelValue", "disabled", "max", "accept", "size-limit"])) : b.value === "colorPicker" ? (l(), j(Qa, {
5288
+ }, 8, ["modelValue", "disabled", "max", "accept", "size-limit"])) : b.value === "colorPicker" ? (l(), W(Qa, {
5289
5289
  key: 18,
5290
5290
  modelValue: z.value,
5291
5291
  "onUpdate:modelValue": v[19] || (v[19] = (me) => z.value = me),
5292
5292
  disabled: L.value,
5293
5293
  onChange: oe
5294
- }, null, 8, ["modelValue", "disabled"])) : b.value === "slider" ? (l(), j(Pa, {
5294
+ }, null, 8, ["modelValue", "disabled"])) : b.value === "slider" ? (l(), W(Pa, {
5295
5295
  key: 19,
5296
5296
  modelValue: z.value,
5297
5297
  "onUpdate:modelValue": v[20] || (v[20] = (me) => z.value = me),
@@ -5300,20 +5300,20 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5300
5300
  max: a.field.max || 100,
5301
5301
  step: a.field.step || 1,
5302
5302
  onChange: oe
5303
- }, null, 8, ["modelValue", "disabled", "min", "max", "step"])) : b.value === "progress" ? (l(), j(Za, {
5303
+ }, null, 8, ["modelValue", "disabled", "min", "max", "step"])) : b.value === "progress" ? (l(), W(Za, {
5304
5304
  key: 20,
5305
5305
  percentage: z.value || a.field.defaultValue || 0,
5306
5306
  status: a.field.status,
5307
5307
  "stroke-width": a.field.strokeWidth,
5308
5308
  color: a.field.color,
5309
5309
  label: a.field.showText !== !1
5310
- }, null, 8, ["percentage", "status", "stroke-width", "color", "label"])) : b.value === "alert" ? (l(), j(el, {
5310
+ }, null, 8, ["percentage", "status", "stroke-width", "color", "label"])) : b.value === "alert" ? (l(), W(el, {
5311
5311
  key: 21,
5312
5312
  theme: a.field.type || "info",
5313
5313
  message: a.field.title || a.field.defaultValue,
5314
5314
  close: a.field.closable,
5315
5315
  icon: a.field.showIcon !== !1
5316
- }, null, 8, ["theme", "message", "close", "icon"])) : b.value === "link" ? (l(), j(ka, {
5316
+ }, null, 8, ["theme", "message", "close", "icon"])) : b.value === "link" ? (l(), W(ka, {
5317
5317
  key: 22,
5318
5318
  href: a.field.href || a.field.defaultValue,
5319
5319
  target: a.field.target || "_blank",
@@ -5324,7 +5324,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5324
5324
  A(V(a.field.content || a.field.__config__.label), 1)
5325
5325
  ]),
5326
5326
  _: 1
5327
- }, 8, ["href", "target", "theme", "disabled"])) : b.value === "button" ? (l(), j(ma, {
5327
+ }, 8, ["href", "target", "theme", "disabled"])) : b.value === "button" ? (l(), W(ma, {
5328
5328
  key: 23,
5329
5329
  theme: a.field.type || "primary",
5330
5330
  disabled: L.value,
@@ -5336,7 +5336,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5336
5336
  key: 0,
5337
5337
  class: xe(a.field.icon),
5338
5338
  style: { "margin-right": "4px" }
5339
- }, null, 2)) : Y("", !0),
5339
+ }, null, 2)) : H("", !0),
5340
5340
  A(" " + V(a.field.content || a.field.__config__.label), 1)
5341
5341
  ]),
5342
5342
  _: 1
@@ -5374,7 +5374,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5374
5374
  e("i", { class: "ri-stamp-line" }, null, -1),
5375
5375
  e("span", null, "点击盖章", -1)
5376
5376
  ])]))
5377
- ])) : b.value === "tag" ? (l(), j(al, {
5377
+ ])) : b.value === "tag" ? (l(), W(al, {
5378
5378
  key: 27,
5379
5379
  modelValue: z.value,
5380
5380
  "onUpdate:modelValue": v[22] || (v[22] = (me) => z.value = me),
@@ -5387,7 +5387,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5387
5387
  }, null, 8, ["modelValue", "placeholder", "disabled", "clearable", "max", "min-collapsed-num"])) : b.value === "billno" ? (l(), o(fe, { key: 28 }, [
5388
5388
  L.value ? (l(), o("div", uu, [
5389
5389
  e("span", cu, V(z.value), 1)
5390
- ])) : (l(), j(ie, {
5390
+ ])) : (l(), W(ie, {
5391
5391
  key: 1,
5392
5392
  modelValue: z.value,
5393
5393
  "onUpdate:modelValue": v[23] || (v[23] = (me) => z.value = me),
@@ -5398,7 +5398,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5398
5398
  onClear: C,
5399
5399
  onChange: oe
5400
5400
  }, null, 8, ["modelValue", "placeholder", "clearable"]))
5401
- ], 64)) : b.value === "relationFormAttr" ? (l(), j(ie, {
5401
+ ], 64)) : b.value === "relationFormAttr" ? (l(), W(ie, {
5402
5402
  key: 29,
5403
5403
  modelValue: P.value,
5404
5404
  "onUpdate:modelValue": v[24] || (v[24] = (me) => P.value = me),
@@ -5414,7 +5414,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5414
5414
  fontWeight: a.field.fontWeight,
5415
5415
  textAlign: a.field.textAlign
5416
5416
  })
5417
- }, V(a.field.defaultValue || z.value), 5)) : b.value === "relationForm" ? (l(), j(Fl, {
5417
+ }, V(a.field.defaultValue || z.value), 5)) : b.value === "relationForm" ? (l(), W(Fl, {
5418
5418
  key: 31,
5419
5419
  value: z.value,
5420
5420
  "onUpdate:value": v[25] || (v[25] = (me) => z.value = me),
@@ -5444,14 +5444,14 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5444
5444
  onDialogPageChange: v[29] || (v[29] = (me) => Oe(a.field, me))
5445
5445
  }, null, 8, ["value", "release-id", "relation-field", "search-fields", "form-type", "column-options", "has-page", "page-size", "multiple", "popup-type", "popup-title", "popup-width", "placeholder", "disabled", "clearable", "search-results", "dialog-table-data", "dialog-loading", "dialog-pagination", "cd-form-config"])) : ["organizeSelect", "depSelect", "posSelect", "userSelect", "roleSelect", "groupSelect", "popupSelect", "popupTableSelect"].includes(b.value) ? (l(), o(fe, { key: 32 }, [
5446
5446
  L.value ? (l(), o("div", fu, [
5447
- b.value === "userSelect" && z.value ? (l(), j(ca(Od), {
5447
+ b.value === "userSelect" && z.value ? (l(), W(ca(Od), {
5448
5448
  key: 0,
5449
5449
  "user-id": z.value,
5450
5450
  name: ke(),
5451
5451
  "show-avatar": "",
5452
5452
  clickable: ""
5453
5453
  }, null, 8, ["user-id", "name"])) : (l(), o("span", mu, V(ke()), 1))
5454
- ])) : (l(), j(ie, {
5454
+ ])) : (l(), W(ie, {
5455
5455
  key: 1,
5456
5456
  "model-value": ke(),
5457
5457
  placeholder: a.field.placeholder || `请选择${a.field.__config__.label}`,
@@ -5470,7 +5470,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5470
5470
  ]),
5471
5471
  _: 1
5472
5472
  }, 8, ["model-value", "placeholder", "disabled", "clearable"]))
5473
- ], 64)) : (l(), j(ie, {
5473
+ ], 64)) : (l(), W(ie, {
5474
5474
  key: 33,
5475
5475
  modelValue: z.value,
5476
5476
  "onUpdate:modelValue": v[30] || (v[30] = (me) => z.value = me),
@@ -5495,7 +5495,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5495
5495
  (l(!0), o(fe, null, be(U.value, (Ce) => (l(), o(fe, {
5496
5496
  key: Ce.value
5497
5497
  }, [
5498
- Ce.children && Ce.children.length > 0 ? (l(), j(nl, {
5498
+ Ce.children && Ce.children.length > 0 ? (l(), W(nl, {
5499
5499
  key: 0,
5500
5500
  onClick: E
5501
5501
  }, {
@@ -5515,7 +5515,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5515
5515
  }, 1024),
5516
5516
  s(tl, null, {
5517
5517
  default: i(() => [
5518
- (l(!0), o(fe, null, be(Ce.children.filter((Ee) => Ee.show !== !1), (Ee) => (l(), j(ll, {
5518
+ (l(!0), o(fe, null, be(Ce.children.filter((Ee) => Ee.show !== !1), (Ee) => (l(), W(ll, {
5519
5519
  key: Ee.value || Math.random(),
5520
5520
  value: Ee.value,
5521
5521
  disabled: Ee.disabled,
@@ -5531,28 +5531,28 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5531
5531
  }, 1024)
5532
5532
  ]),
5533
5533
  _: 2
5534
- }, 1024)) : Ce.show !== !1 ? (l(), j(ma, {
5534
+ }, 1024)) : Ce.show !== !1 ? (l(), W(ma, {
5535
5535
  key: 1,
5536
5536
  variant: "outline",
5537
5537
  size: "small",
5538
5538
  theme: r(Ce.value),
5539
- onClick: Qe((Ee) => W(Ce.value), ["stop"])
5539
+ onClick: Qe((Ee) => j(Ce.value), ["stop"])
5540
5540
  }, {
5541
5541
  default: i(() => [
5542
5542
  A(V(Ce.label), 1)
5543
5543
  ]),
5544
5544
  _: 2
5545
- }, 1032, ["theme", "onClick"])) : Y("", !0)
5545
+ }, 1032, ["theme", "onClick"])) : H("", !0)
5546
5546
  ], 64))), 128))
5547
- ])) : Y("", !0)
5548
- ])) : Y("", !0),
5547
+ ])) : H("", !0)
5548
+ ])) : H("", !0),
5549
5549
  s(ol, Aa({
5550
5550
  ref_key: "vxeGridRef",
5551
5551
  ref: c
5552
5552
  }, ge.value, {
5553
5553
  data: N.value,
5554
5554
  columns: J.value,
5555
- "onUpdate:data": H,
5555
+ "onUpdate:data": Y,
5556
5556
  onEditClosed: O,
5557
5557
  "keyboard-config": _.value
5558
5558
  }), null, 16, ["data", "columns", "keyboard-config"]),
@@ -5570,7 +5570,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5570
5570
  }, [
5571
5571
  a.field.__config__.showLabel ? (l(), o("div", hu, [
5572
5572
  e("span", bu, V(a.field.__config__.label), 1)
5573
- ])) : Y("", !0),
5573
+ ])) : H("", !0),
5574
5574
  s($a, {
5575
5575
  gutter: 0,
5576
5576
  class: "cd-row",
@@ -5581,7 +5581,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5581
5581
  (l(!0), o(fe, null, be(a.field.__config__.children, (Ce) => (l(), o(fe, {
5582
5582
  key: Ce.__config__.formId
5583
5583
  }, [
5584
- Ce.__config__.noShow ? Y("", !0) : (l(), j(Fa, {
5584
+ Ce.__config__.noShow ? H("", !0) : (l(), W(Fa, {
5585
5585
  key: 0,
5586
5586
  span: Ce.__config__.span,
5587
5587
  class: xe(Ce.__config__.className)
@@ -5601,7 +5601,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5601
5601
  ]),
5602
5602
  _: 1
5603
5603
  }, 8, ["justify", "align"])
5604
- ], 2)) : b.value === "divider" ? (l(), j(il, {
5604
+ ], 2)) : b.value === "divider" ? (l(), W(il, {
5605
5605
  key: 3,
5606
5606
  class: xe(a.field.__config__.className),
5607
5607
  align: a.field.contentPosition || "center"
@@ -5614,8 +5614,8 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5614
5614
  key: 4,
5615
5615
  class: xe(["blank-component", a.field.__config__.className])
5616
5616
  }, [
5617
- a.field.content ? (l(), o("span", yu, V(a.field.content), 1)) : Y("", !0)
5618
- ], 2)) : b.value === "tab" ? (l(), j(rl, {
5617
+ a.field.content ? (l(), o("span", yu, V(a.field.content), 1)) : H("", !0)
5618
+ ], 2)) : b.value === "tab" ? (l(), W(rl, {
5619
5619
  key: 5,
5620
5620
  modelValue: y.value,
5621
5621
  "onUpdate:modelValue": v[34] || (v[34] = (Ce) => y.value = Ce),
@@ -5625,7 +5625,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5625
5625
  size: "medium"
5626
5626
  }, {
5627
5627
  default: i(() => [
5628
- (l(!0), o(fe, null, be(a.field.__config__.children, (Ce) => (l(), j(sl, {
5628
+ (l(!0), o(fe, null, be(a.field.__config__.children, (Ce) => (l(), W(sl, {
5629
5629
  key: Ce.name,
5630
5630
  value: Ce.name,
5631
5631
  label: Ce.title
@@ -5639,7 +5639,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5639
5639
  (l(!0), o(fe, null, be(Ce.__config__.children, (Ee) => (l(), o(fe, {
5640
5640
  key: Ee.__config__.formId
5641
5641
  }, [
5642
- Ee.__config__.noShow ? Y("", !0) : (l(), j(Fa, {
5642
+ Ee.__config__.noShow ? H("", !0) : (l(), W(Fa, {
5643
5643
  key: 0,
5644
5644
  span: Ee.__config__.span,
5645
5645
  class: xe(Ee.__config__.className)
@@ -5687,7 +5687,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5687
5687
  (l(!0), o(fe, null, be(me.__config__.children, (ua) => (l(), o(fe, {
5688
5688
  key: ua.__config__.formId
5689
5689
  }, [
5690
- ua.__config__.noShow ? Y("", !0) : (l(), j(ba, {
5690
+ ua.__config__.noShow ? H("", !0) : (l(), W(ba, {
5691
5691
  key: 0,
5692
5692
  field: ua,
5693
5693
  "form-model": a.formModel,
@@ -5700,7 +5700,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5700
5700
  ]))), 128))
5701
5701
  ])
5702
5702
  ])
5703
- ], 6)) : b.value === "collapse" ? (l(), j(dl, {
5703
+ ], 6)) : b.value === "collapse" ? (l(), W(dl, {
5704
5704
  key: 7,
5705
5705
  modelValue: u.value,
5706
5706
  "onUpdate:modelValue": v[37] || (v[37] = (Ce) => u.value = Ce),
@@ -5710,7 +5710,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5710
5710
  borderless: a.field.ghost
5711
5711
  }, {
5712
5712
  default: i(() => [
5713
- (l(!0), o(fe, null, be(a.field.__config__.children, (Ce) => (l(), j(Ia, {
5713
+ (l(!0), o(fe, null, be(a.field.__config__.children, (Ce) => (l(), W(Ia, {
5714
5714
  key: Ce.name,
5715
5715
  value: Ce.name,
5716
5716
  header: Ce.title
@@ -5724,7 +5724,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5724
5724
  (l(!0), o(fe, null, be(Ce.__config__.children, (Ee) => (l(), o(fe, {
5725
5725
  key: Ee.__config__.formId
5726
5726
  }, [
5727
- Ee.__config__.noShow ? Y("", !0) : (l(), j(Fa, {
5727
+ Ee.__config__.noShow ? H("", !0) : (l(), W(Fa, {
5728
5728
  key: 0,
5729
5729
  span: Ee.__config__.span,
5730
5730
  class: xe(Ee.__config__.className)
@@ -5755,12 +5755,12 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5755
5755
  }, [
5756
5756
  a.field.__config__.showLabel !== !1 ? (l(), o("div", ku, [
5757
5757
  e("span", Cu, V(a.field.__config__.label), 1),
5758
- L.value ? Y("", !0) : (l(), j(Ta, { key: 0 }, {
5758
+ L.value ? H("", !0) : (l(), W(Ta, { key: 0 }, {
5759
5759
  default: i(() => [
5760
5760
  (l(!0), o(fe, null, be(ee.value, (Ce) => (l(), o(fe, {
5761
5761
  key: Ce.value
5762
5762
  }, [
5763
- Ce.value === "add" ? (l(), j(ma, {
5763
+ Ce.value === "add" ? (l(), W(ma, {
5764
5764
  key: 0,
5765
5765
  theme: Ce.btnType || "primary",
5766
5766
  variant: "outline",
@@ -5776,7 +5776,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5776
5776
  A(" " + V(Ce.label), 1)
5777
5777
  ]),
5778
5778
  _: 2
5779
- }, 1032, ["theme"])) : Ce.showConfirm ? (l(), j(Oa, {
5779
+ }, 1032, ["theme"])) : Ce.showConfirm ? (l(), W(Oa, {
5780
5780
  key: 1,
5781
5781
  content: `确定${Ce.label}吗?`,
5782
5782
  onConfirm: (Ee) => ia(Ce)
@@ -5799,7 +5799,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5799
5799
  }, 1032, ["theme"])
5800
5800
  ]),
5801
5801
  _: 2
5802
- }, 1032, ["content", "onConfirm"])) : (l(), j(ma, {
5802
+ }, 1032, ["content", "onConfirm"])) : (l(), W(ma, {
5803
5803
  key: 2,
5804
5804
  theme: Ce.btnType || "default",
5805
5805
  variant: "outline",
@@ -5820,7 +5820,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5820
5820
  ]),
5821
5821
  _: 1
5822
5822
  }))
5823
- ])) : Y("", !0),
5823
+ ])) : H("", !0),
5824
5824
  s(ul, {
5825
5825
  data: I.value,
5826
5826
  columns: D.value,
@@ -5851,7 +5851,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5851
5851
  (l(!0), o(fe, null, be(q.value, (Ee) => (l(), o(fe, {
5852
5852
  key: Ee.value
5853
5853
  }, [
5854
- Ee.value === "copy" ? (l(), j(ka, {
5854
+ Ee.value === "copy" ? (l(), W(ka, {
5855
5855
  key: 0,
5856
5856
  theme: "primary",
5857
5857
  onClick: (me) => ra(Ce)
@@ -5863,7 +5863,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5863
5863
  A(" " + V(Ee.label), 1)
5864
5864
  ]),
5865
5865
  _: 2
5866
- }, 1032, ["onClick"])) : Ee.value === "remove" && Ee.showConfirm ? (l(), j(Oa, {
5866
+ }, 1032, ["onClick"])) : Ee.value === "remove" && Ee.showConfirm ? (l(), W(Oa, {
5867
5867
  key: 1,
5868
5868
  content: "确定删除该行吗?",
5869
5869
  onConfirm: (me) => Ue(Ce)
@@ -5882,7 +5882,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5882
5882
  }, 1032, ["theme"])
5883
5883
  ]),
5884
5884
  _: 2
5885
- }, 1032, ["onConfirm"])) : Ee.value === "remove" ? (l(), j(ka, {
5885
+ }, 1032, ["onConfirm"])) : Ee.value === "remove" ? (l(), W(ka, {
5886
5886
  key: 2,
5887
5887
  theme: Ee.btnType === "error" ? "danger" : "default",
5888
5888
  onClick: (me) => Ue(Ce)
@@ -5894,7 +5894,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5894
5894
  A(" " + V(Ee.label), 1)
5895
5895
  ]),
5896
5896
  _: 2
5897
- }, 1032, ["theme", "onClick"])) : Y("", !0)
5897
+ }, 1032, ["theme", "onClick"])) : H("", !0)
5898
5898
  ], 64))), 128))
5899
5899
  ]),
5900
5900
  _: 2
@@ -5903,7 +5903,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
5903
5903
  key: "0"
5904
5904
  }
5905
5905
  ]), 1032, ["data", "columns", "stripe"])
5906
- ], 2)) : Y("", !0);
5906
+ ], 2)) : H("", !0);
5907
5907
  };
5908
5908
  }
5909
5909
  }), Dl = /* @__PURE__ */ aa(xu, [["__scopeId", "data-v-158cd013"]]), $u = /* @__PURE__ */ Ke({
@@ -6026,11 +6026,11 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
6026
6026
  });
6027
6027
  }, ge = (x) => {
6028
6028
  u("select-org-data", x);
6029
- }, H = (x) => {
6029
+ }, Y = (x) => {
6030
6030
  u("relation-form-search", x);
6031
6031
  }, E = (x) => {
6032
6032
  u("relation-form-advanced", x);
6033
- }, W = (x) => {
6033
+ }, j = (x) => {
6034
6034
  u("relation-form-dialog-search", x);
6035
6035
  }, d = (x) => {
6036
6036
  u("relation-form-page-change", x);
@@ -6183,7 +6183,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
6183
6183
  initFormData: g
6184
6184
  }), wa("formModel", _), wa("formConf", y.formConf), (x, b) => {
6185
6185
  const z = M("t-row"), P = M("t-form");
6186
- return l(), j(P, {
6186
+ return l(), W(P, {
6187
6187
  ref_key: "formRef",
6188
6188
  ref: c,
6189
6189
  model: _,
@@ -6205,7 +6205,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
6205
6205
  return l(), o(fe, {
6206
6206
  key: ((oe = G.__config__) == null ? void 0 : oe.formId) || G.__vModel__ || X
6207
6207
  }, [
6208
- !G.__config__.noShow && D(G) ? (l(), j(Fa, {
6208
+ !G.__config__.noShow && D(G) ? (l(), W(Fa, {
6209
6209
  key: 0,
6210
6210
  span: G.__config__.span,
6211
6211
  class: xe(G.__config__.className)
@@ -6219,14 +6219,14 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
6219
6219
  onChange: ee,
6220
6220
  onI18nClick: N,
6221
6221
  onSelectOrgData: ge,
6222
- onRelationFormSearch: H,
6222
+ onRelationFormSearch: Y,
6223
6223
  onRelationFormAdvanced: E,
6224
- onRelationFormDialogSearch: W,
6224
+ onRelationFormDialogSearch: j,
6225
6225
  onRelationFormPageChange: d
6226
6226
  }, null, 8, ["field", "form-model", "form-conf", "disabled"])
6227
6227
  ]),
6228
6228
  _: 2
6229
- }, 1032, ["span", "class"])) : Y("", !0)
6229
+ }, 1032, ["span", "class"])) : H("", !0)
6230
6230
  ], 64);
6231
6231
  }), 128))
6232
6232
  ]),
@@ -11778,20 +11778,20 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
11778
11778
  const c = ["北京市", "上海市", "天津市", "重庆市", "香港特别行政区", "澳门特别行政区"], m = ve(() => Vu.map((E) => c.includes(E.name) ? {
11779
11779
  label: E.name,
11780
11780
  value: E.name,
11781
- children: E.city[0].area.map((W) => ({
11782
- label: W,
11783
- value: `${E.name}/${W}`,
11781
+ children: E.city[0].area.map((j) => ({
11782
+ label: j,
11783
+ value: `${E.name}/${j}`,
11784
11784
  children: void 0
11785
11785
  }))
11786
11786
  } : {
11787
11787
  label: E.name,
11788
11788
  value: E.name,
11789
- children: E.city.map((W) => ({
11790
- label: W.name,
11791
- value: `${E.name}/${W.name}`,
11792
- children: W.area.map((d) => ({
11789
+ children: E.city.map((j) => ({
11790
+ label: j.name,
11791
+ value: `${E.name}/${j.name}`,
11792
+ children: j.area.map((d) => ({
11793
11793
  label: d,
11794
- value: `${E.name}/${W.name}/${d}`,
11794
+ value: `${E.name}/${j.name}/${d}`,
11795
11795
  children: void 0
11796
11796
  }))
11797
11797
  }))
@@ -11812,11 +11812,11 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
11812
11812
  if (r.selectOptions && r.selectOptions[E])
11813
11813
  return r.selectOptions[E];
11814
11814
  if (r.selectOptions && Array.isArray(r.selectOptions)) {
11815
- const W = r.selectOptions.find(
11815
+ const j = r.selectOptions.find(
11816
11816
  (d) => d.columnName === E
11817
11817
  );
11818
- if (W && W.value)
11819
- return w(W.value.map((d) => ({
11818
+ if (j && j.value)
11819
+ return w(j.value.map((d) => ({
11820
11820
  label: d,
11821
11821
  value: d
11822
11822
  })));
@@ -11824,7 +11824,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
11824
11824
  return [];
11825
11825
  };
11826
11826
  function w(E) {
11827
- return [...E].sort((W, d) => W.value.localeCompare(d.value, "zh-CN"));
11827
+ return [...E].sort((j, d) => j.value.localeCompare(d.value, "zh-CN"));
11828
11828
  }
11829
11829
  const r = a, I = te, D = F({
11830
11830
  field: ((n = r.filterCondition) == null ? void 0 : n.field) || "",
@@ -11835,8 +11835,8 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
11835
11835
  E && (D.value = { ...E });
11836
11836
  }, { deep: !0 });
11837
11837
  const q = (E) => {
11838
- const W = r.fieldOptions.find((d) => d.value === E);
11839
- return W ? W.type : "text";
11838
+ const j = r.fieldOptions.find((d) => d.value === E);
11839
+ return j ? j.type : "text";
11840
11840
  }, ee = () => {
11841
11841
  typeof r.filterCondition.value == "string" && (r.filterCondition.value = r.filterCondition.value.trim()), na(() => {
11842
11842
  I("search", { ...r.filterCondition });
@@ -11849,8 +11849,8 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
11849
11849
  r.filterCondition.value = E, I("search", { ...r.filterCondition });
11850
11850
  }, ge = ve(() => {
11851
11851
  var E;
11852
- const W = r.filterCondition.field;
11853
- switch (((E = r.fieldOptions.find((d) => d.value === W)) == null ? void 0 : E.type) || "text") {
11852
+ const j = r.filterCondition.field;
11853
+ switch (((E = r.fieldOptions.find((d) => d.value === j)) == null ? void 0 : E.type) || "text") {
11854
11854
  case "number":
11855
11855
  return [
11856
11856
  { key: "eq", label: "等于", value: "eq" },
@@ -11928,28 +11928,28 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
11928
11928
  { key: "ends_with", label: "结尾是", value: "ends_with" }
11929
11929
  ];
11930
11930
  }
11931
- }), H = () => {
11931
+ }), Y = () => {
11932
11932
  na(() => {
11933
11933
  I("search", { ...r.filterCondition });
11934
11934
  });
11935
11935
  };
11936
- return Fe(() => r.filterCondition.field, (E, W) => {
11937
- E && W && (r.filterCondition.operator = "eq", r.filterCondition.value = null);
11938
- }), (E, W) => {
11936
+ return Fe(() => r.filterCondition.field, (E, j) => {
11937
+ E && j && (r.filterCondition.operator = "eq", r.filterCondition.value = null);
11938
+ }), (E, j) => {
11939
11939
  var d;
11940
11940
  const S = M("t-option"), g = M("t-select"), R = M("t-input"), O = M("t-date-picker"), de = M("t-cascader");
11941
11941
  return l(), o("div", Su, [
11942
11942
  s(g, {
11943
11943
  modelValue: r.filterCondition.field,
11944
- "onUpdate:modelValue": W[0] || (W[0] = (ue) => r.filterCondition.field = ue),
11944
+ "onUpdate:modelValue": j[0] || (j[0] = (ue) => r.filterCondition.field = ue),
11945
11945
  placeholder: "请选择字段",
11946
11946
  size: r.size,
11947
11947
  style: { "min-width": "80px", "max-width": "110px" },
11948
- onChange: H,
11948
+ onChange: Y,
11949
11949
  filterable: ""
11950
11950
  }, {
11951
11951
  default: i(() => [
11952
- (l(!0), o(fe, null, be(r.fieldOptions, (ue) => (l(), j(S, {
11952
+ (l(!0), o(fe, null, be(r.fieldOptions, (ue) => (l(), W(S, {
11953
11953
  key: ue.key,
11954
11954
  label: ue.key,
11955
11955
  value: ue.value
@@ -11959,7 +11959,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
11959
11959
  }, 8, ["modelValue", "size"]),
11960
11960
  s(g, {
11961
11961
  modelValue: r.filterCondition.operator,
11962
- "onUpdate:modelValue": W[1] || (W[1] = (ue) => r.filterCondition.operator = ue),
11962
+ "onUpdate:modelValue": j[1] || (j[1] = (ue) => r.filterCondition.operator = ue),
11963
11963
  placeholder: "请选择条件",
11964
11964
  size: r.size,
11965
11965
  style: { width: "80px" },
@@ -11967,7 +11967,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
11967
11967
  onChange: N
11968
11968
  }, {
11969
11969
  default: i(() => [
11970
- (l(!0), o(fe, null, be(ge.value, (ue) => (l(), j(S, {
11970
+ (l(!0), o(fe, null, be(ge.value, (ue) => (l(), W(S, {
11971
11971
  key: ue.key,
11972
11972
  label: ue.label,
11973
11973
  value: ue.value
@@ -11975,47 +11975,47 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
11975
11975
  ]),
11976
11976
  _: 1
11977
11977
  }, 8, ["modelValue", "size"]),
11978
- q(r.filterCondition.field) === "number" ? (l(), j(R, {
11978
+ q(r.filterCondition.field) === "number" ? (l(), W(R, {
11979
11979
  key: 0,
11980
11980
  type: "number",
11981
11981
  modelValue: r.filterCondition.value,
11982
- "onUpdate:modelValue": W[2] || (W[2] = (ue) => r.filterCondition.value = ue),
11982
+ "onUpdate:modelValue": j[2] || (j[2] = (ue) => r.filterCondition.value = ue),
11983
11983
  placeholder: "请输入数字",
11984
11984
  size: r.size,
11985
11985
  style: { width: "80px" },
11986
11986
  onChange: ee,
11987
11987
  clearable: ""
11988
- }, null, 8, ["modelValue", "size"])) : q(r.filterCondition.field) === "money" ? (l(), j(R, {
11988
+ }, null, 8, ["modelValue", "size"])) : q(r.filterCondition.field) === "money" ? (l(), W(R, {
11989
11989
  key: 1,
11990
11990
  type: "number",
11991
11991
  modelValue: r.filterCondition.value,
11992
- "onUpdate:modelValue": W[3] || (W[3] = (ue) => r.filterCondition.value = ue),
11992
+ "onUpdate:modelValue": j[3] || (j[3] = (ue) => r.filterCondition.value = ue),
11993
11993
  placeholder: "请输入金额",
11994
11994
  size: r.size,
11995
11995
  style: { width: "80px" },
11996
11996
  onChange: ee,
11997
11997
  clearable: ""
11998
11998
  }, null, 8, ["modelValue", "size"])) : q(r.filterCondition.field) === "date" ? (l(), o(fe, { key: 2 }, [
11999
- U(r.filterCondition.operator) ? (l(), j(R, {
11999
+ U(r.filterCondition.operator) ? (l(), W(R, {
12000
12000
  key: 1,
12001
12001
  value: (d = ge.value.find((ue) => ue.value === r.filterCondition.operator)) == null ? void 0 : d.label,
12002
12002
  disabled: "",
12003
12003
  size: r.size,
12004
12004
  style: { "min-width": "80px", "max-width": "120px" }
12005
- }, null, 8, ["value", "size"])) : (l(), j(O, {
12005
+ }, null, 8, ["value", "size"])) : (l(), W(O, {
12006
12006
  key: 0,
12007
12007
  modelValue: r.filterCondition.value,
12008
- "onUpdate:modelValue": W[4] || (W[4] = (ue) => r.filterCondition.value = ue),
12008
+ "onUpdate:modelValue": j[4] || (j[4] = (ue) => r.filterCondition.value = ue),
12009
12009
  placeholder: "请选择日期",
12010
12010
  size: r.size,
12011
12011
  style: { "min-width": "80px", "max-width": "120px" },
12012
12012
  onChange: ee,
12013
12013
  clearable: ""
12014
12014
  }, null, 8, ["modelValue", "size"]))
12015
- ], 64)) : q(r.filterCondition.field) === "time" ? (l(), j(O, {
12015
+ ], 64)) : q(r.filterCondition.field) === "time" ? (l(), W(O, {
12016
12016
  key: 3,
12017
12017
  modelValue: r.filterCondition.value,
12018
- "onUpdate:modelValue": W[5] || (W[5] = (ue) => r.filterCondition.value = ue),
12018
+ "onUpdate:modelValue": j[5] || (j[5] = (ue) => r.filterCondition.value = ue),
12019
12019
  placeholder: "请选择日期时间",
12020
12020
  size: r.size,
12021
12021
  style: { "min-width": "80px", "max-width": "120px" },
@@ -12023,20 +12023,20 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
12023
12023
  format: "YYYY-MM-DD HH:mm:ss",
12024
12024
  onChange: ee,
12025
12025
  clearable: ""
12026
- }, null, 8, ["modelValue", "size"])) : q(r.filterCondition.field) === "select" ? (l(), j(g, {
12026
+ }, null, 8, ["modelValue", "size"])) : q(r.filterCondition.field) === "select" ? (l(), W(g, {
12027
12027
  key: 4,
12028
12028
  modelValue: r.filterCondition.value,
12029
- "onUpdate:modelValue": W[6] || (W[6] = (ue) => r.filterCondition.value = ue),
12029
+ "onUpdate:modelValue": j[6] || (j[6] = (ue) => r.filterCondition.value = ue),
12030
12030
  options: _(r.filterCondition.field),
12031
12031
  placeholder: "请选择",
12032
12032
  size: r.size,
12033
12033
  style: { "min-width": "80px", "max-width": "120px" },
12034
12034
  onChange: ee,
12035
12035
  clearable: ""
12036
- }, null, 8, ["modelValue", "options", "size"])) : q(r.filterCondition.field) === "selectProvince" ? (l(), j(de, {
12036
+ }, null, 8, ["modelValue", "options", "size"])) : q(r.filterCondition.field) === "selectProvince" ? (l(), W(de, {
12037
12037
  key: 5,
12038
12038
  modelValue: r.filterCondition.value,
12039
- "onUpdate:modelValue": W[7] || (W[7] = (ue) => r.filterCondition.value = ue),
12039
+ "onUpdate:modelValue": j[7] || (j[7] = (ue) => r.filterCondition.value = ue),
12040
12040
  options: m.value,
12041
12041
  placeholder: "请选择地区",
12042
12042
  size: r.size,
@@ -12044,10 +12044,10 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
12044
12044
  clearable: "",
12045
12045
  loading: !1,
12046
12046
  onChange: J
12047
- }, null, 8, ["modelValue", "options", "size"])) : (l(), j(R, {
12047
+ }, null, 8, ["modelValue", "options", "size"])) : (l(), W(R, {
12048
12048
  key: 6,
12049
12049
  modelValue: r.filterCondition.value,
12050
- "onUpdate:modelValue": W[8] || (W[8] = (ue) => r.filterCondition.value = ue),
12050
+ "onUpdate:modelValue": j[8] || (j[8] = (ue) => r.filterCondition.value = ue),
12051
12051
  placeholder: "请输入关键字",
12052
12052
  size: r.size,
12053
12053
  style: { "min-width": "80px", "max-width": "100px" },
@@ -12168,8 +12168,8 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
12168
12168
  y("close"), y("update:visible", !1);
12169
12169
  };
12170
12170
  return (N, J) => {
12171
- const ge = M("t-input"), H = M("t-form-item"), E = M("t-radio"), W = M("t-tooltip"), d = M("t-radio-group"), S = M("t-form"), g = M("t-button"), R = M("t-dialog");
12172
- return l(), j(R, {
12171
+ const ge = M("t-input"), Y = M("t-form-item"), E = M("t-radio"), j = M("t-tooltip"), d = M("t-radio-group"), S = M("t-form"), g = M("t-button"), R = M("t-dialog");
12172
+ return l(), W(R, {
12173
12173
  header: a.isEditing ? "编辑筛选方案" : "保存筛选方案",
12174
12174
  visible: a.visible,
12175
12175
  "onUpdate:visible": J[3] || (J[3] = (O) => N.$emit("update:visible", O)),
@@ -12186,7 +12186,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
12186
12186
  "label-width": "100px"
12187
12187
  }, {
12188
12188
  default: i(() => [
12189
- s(H, {
12189
+ s(Y, {
12190
12190
  label: "方案名称",
12191
12191
  required: ""
12192
12192
  }, {
@@ -12199,7 +12199,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
12199
12199
  ]),
12200
12200
  _: 1
12201
12201
  }),
12202
- s(H, { label: "共享设置" }, {
12202
+ s(Y, { label: "共享设置" }, {
12203
12203
  default: i(() => [
12204
12204
  s(d, {
12205
12205
  modelValue: u.value.shareMode,
@@ -12219,7 +12219,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
12219
12219
  ])]),
12220
12220
  _: 1
12221
12221
  }),
12222
- s(W, {
12222
+ s(j, {
12223
12223
  content: "复制方案只支持复制一次,建议共享方案",
12224
12224
  placement: "top"
12225
12225
  }, {
@@ -12239,7 +12239,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
12239
12239
  ]),
12240
12240
  _: 1
12241
12241
  }),
12242
- u.value.shareMode === "share" ? (l(), j(H, {
12242
+ u.value.shareMode === "share" ? (l(), W(Y, {
12243
12243
  key: 0,
12244
12244
  label: "共享范围"
12245
12245
  }, {
@@ -12266,8 +12266,8 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
12266
12266
  }, 8, ["modelValue"])
12267
12267
  ]),
12268
12268
  _: 1
12269
- })) : Y("", !0),
12270
- u.value.shareMode === "share" && u.value.shareType === "specific" || u.value.shareMode === "copy" ? (l(), j(H, {
12269
+ })) : H("", !0),
12270
+ u.value.shareMode === "share" && u.value.shareType === "specific" || u.value.shareMode === "copy" ? (l(), W(Y, {
12271
12271
  key: 1,
12272
12272
  label: "共享人员"
12273
12273
  }, {
@@ -12287,7 +12287,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
12287
12287
  }, null, 8, ["users", "person-tabs", "person-organizations", "dept-members-data"])
12288
12288
  ]),
12289
12289
  _: 1
12290
- })) : Y("", !0)
12290
+ })) : H("", !0)
12291
12291
  ]),
12292
12292
  _: 1
12293
12293
  }, 8, ["data"])
@@ -12412,7 +12412,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
12412
12412
  connector: "and",
12413
12413
  conditions: [{ field: "", operator: "eq", value: "" }]
12414
12414
  });
12415
- }, H = (Q) => {
12415
+ }, Y = (Q) => {
12416
12416
  u.value.length > 1 ? u.value.splice(Q, 1) : Ie.warning("至少需要保留一个筛选卡片");
12417
12417
  }, E = (Q) => {
12418
12418
  Q >= 0 && Q < u.value.length && u.value[Q].conditions.push({
@@ -12420,7 +12420,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
12420
12420
  operator: "eq",
12421
12421
  value: ""
12422
12422
  });
12423
- }, W = (Q, ae) => {
12423
+ }, j = (Q, ae) => {
12424
12424
  if (Q >= 0 && Q < u.value.length) {
12425
12425
  const De = u.value[Q];
12426
12426
  De.conditions.length > 1 && ae >= 0 && ae < De.conditions.length ? De.conditions.splice(ae, 1) : De.conditions.length <= 1 && Ie.warning("每个卡片至少需要一个筛选条件");
@@ -12651,7 +12651,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
12651
12651
  _: 1
12652
12652
  }, 8, ["size", "modelValue"])
12653
12653
  ])
12654
- ])) : Y("", !0),
12654
+ ])) : H("", !0),
12655
12655
  e("div", Tu, [
12656
12656
  (l(!0), o(fe, null, be(u.value, (p, v) => (l(), o("div", {
12657
12657
  key: p.id,
@@ -12687,7 +12687,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
12687
12687
  theme: "default",
12688
12688
  variant: "text",
12689
12689
  size: a.size,
12690
- onClick: (ie) => H(v),
12690
+ onClick: (ie) => Y(v),
12691
12691
  disabled: u.value.length === 1
12692
12692
  }, {
12693
12693
  icon: i(() => [
@@ -12711,7 +12711,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
12711
12711
  theme: "default",
12712
12712
  variant: "text",
12713
12713
  size: a.size,
12714
- onClick: (Ae) => W(v, Te),
12714
+ onClick: (Ae) => j(v, Te),
12715
12715
  disabled: p.conditions.length === 1
12716
12716
  }, {
12717
12717
  icon: i(() => [
@@ -13127,15 +13127,15 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
13127
13127
  }
13128
13128
  ]);
13129
13129
  Fe(() => n.visible, (ge) => {
13130
- u.value = ge, ge && n.initialRules.length > 0 && (_.value = JSON.parse(JSON.stringify(n.initialRules)).map((H) => ({
13131
- ...H,
13130
+ u.value = ge, ge && n.initialRules.length > 0 && (_.value = JSON.parse(JSON.stringify(n.initialRules)).map((Y) => ({
13131
+ ...Y,
13132
13132
  showColorPicker: !1
13133
13133
  })));
13134
13134
  }), Fe(u, (ge) => {
13135
13135
  y("update:visible", ge);
13136
13136
  });
13137
- const w = (ge, H) => {
13138
- _.value[ge].backgroundColor = H, _.value[ge].showColorPicker = !1;
13137
+ const w = (ge, Y) => {
13138
+ _.value[ge].backgroundColor = Y, _.value[ge].showColorPicker = !1;
13139
13139
  }, r = () => {
13140
13140
  _.value.push({
13141
13141
  field: "",
@@ -13154,33 +13154,33 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
13154
13154
  y("clear"), u.value = !1;
13155
13155
  }, ee = () => {
13156
13156
  const ge = _.value.filter(
13157
- (H) => H.field && H.operator && H.value
13158
- ).map((H) => ({
13159
- field: H.field,
13160
- operator: H.operator,
13161
- value: H.value,
13162
- backgroundColor: H.backgroundColor,
13163
- isBold: H.isBold,
13164
- applyTo: H.applyTo
13157
+ (Y) => Y.field && Y.operator && Y.value
13158
+ ).map((Y) => ({
13159
+ field: Y.field,
13160
+ operator: Y.operator,
13161
+ value: Y.value,
13162
+ backgroundColor: Y.backgroundColor,
13163
+ isBold: Y.isBold,
13164
+ applyTo: Y.applyTo
13165
13165
  }));
13166
13166
  y("confirm", ge), u.value = !1;
13167
13167
  }, N = ve(() => {
13168
- const ge = _.value.length, H = Math.floor(c.length / ge), E = [];
13169
- for (let W = 0; W < ge; W++) {
13170
- const d = W * H % c.length;
13168
+ const ge = _.value.length, Y = Math.floor(c.length / ge), E = [];
13169
+ for (let j = 0; j < ge; j++) {
13170
+ const d = j * Y % c.length;
13171
13171
  E.push(c[d]);
13172
13172
  }
13173
13173
  return E;
13174
13174
  }), J = () => {
13175
- _.value.forEach((ge, H) => {
13176
- H < N.value.length && (ge.backgroundColor = N.value[H]);
13175
+ _.value.forEach((ge, Y) => {
13176
+ Y < N.value.length && (ge.backgroundColor = N.value[Y]);
13177
13177
  }), y("smart-colors-change", N.value);
13178
13178
  };
13179
- return (ge, H) => {
13180
- const E = M("t-button"), W = M("t-checkbox"), d = M("t-popup"), S = M("t-radio-button"), g = M("t-radio-group"), R = M("t-select"), O = M("t-input"), de = M("t-icon"), ue = M("t-dialog");
13181
- return l(), j(ue, {
13179
+ return (ge, Y) => {
13180
+ const E = M("t-button"), j = M("t-checkbox"), d = M("t-popup"), S = M("t-radio-button"), g = M("t-radio-group"), R = M("t-select"), O = M("t-input"), de = M("t-icon"), ue = M("t-dialog");
13181
+ return l(), W(ue, {
13182
13182
  visible: u.value,
13183
- "onUpdate:visible": H[0] || (H[0] = (L) => u.value = L),
13183
+ "onUpdate:visible": Y[0] || (Y[0] = (L) => u.value = L),
13184
13184
  width: "800px",
13185
13185
  "confirm-btn": null,
13186
13186
  "cancel-btn": null,
@@ -13188,18 +13188,18 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
13188
13188
  }, {
13189
13189
  header: i(() => [
13190
13190
  e("div", cc, [
13191
- H[3] || (H[3] = e("span", null, "颜色筛选", -1)),
13191
+ Y[3] || (Y[3] = e("span", null, "颜色筛选", -1)),
13192
13192
  s(E, {
13193
13193
  theme: "primary",
13194
13194
  variant: "outline",
13195
13195
  size: "small",
13196
13196
  onClick: J
13197
13197
  }, {
13198
- icon: i(() => [...H[1] || (H[1] = [
13198
+ icon: i(() => [...Y[1] || (Y[1] = [
13199
13199
  e("i", { class: "ri-palette-line" }, null, -1)
13200
13200
  ])]),
13201
13201
  default: i(() => [
13202
- H[2] || (H[2] = A(" 智能配色 ", -1))
13202
+ Y[2] || (Y[2] = A(" 智能配色 ", -1))
13203
13203
  ]),
13204
13204
  _: 1
13205
13205
  })
@@ -13231,11 +13231,11 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
13231
13231
  }, null, 14, _c)), 64))
13232
13232
  ]),
13233
13233
  e("div", kc, [
13234
- s(W, {
13234
+ s(j, {
13235
13235
  modelValue: L.isBold,
13236
13236
  "onUpdate:modelValue": (b) => L.isBold = b
13237
13237
  }, {
13238
- default: i(() => [...H[4] || (H[4] = [
13238
+ default: i(() => [...Y[4] || (Y[4] = [
13239
13239
  e("span", { class: "bold-text" }, "加粗", -1)
13240
13240
  ])]),
13241
13241
  _: 1
@@ -13249,7 +13249,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
13249
13249
  class: "color-block",
13250
13250
  style: Xe({ backgroundColor: L.backgroundColor })
13251
13251
  }, [
13252
- L.isBold ? (l(), o("span", hc, "B")) : Y("", !0)
13252
+ L.isBold ? (l(), o("span", hc, "B")) : H("", !0)
13253
13253
  ], 4)
13254
13254
  ])
13255
13255
  ]),
@@ -13265,19 +13265,19 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
13265
13265
  }, {
13266
13266
  default: i(() => [
13267
13267
  s(S, { value: "cell" }, {
13268
- default: i(() => [...H[5] || (H[5] = [
13268
+ default: i(() => [...Y[5] || (Y[5] = [
13269
13269
  A("单元格", -1)
13270
13270
  ])]),
13271
13271
  _: 1
13272
13272
  }),
13273
13273
  s(S, { value: "row" }, {
13274
- default: i(() => [...H[6] || (H[6] = [
13274
+ default: i(() => [...Y[6] || (Y[6] = [
13275
13275
  A("整行", -1)
13276
13276
  ])]),
13277
13277
  _: 1
13278
13278
  }),
13279
13279
  s(S, { value: "column" }, {
13280
- default: i(() => [...H[7] || (H[7] = [
13280
+ default: i(() => [...Y[7] || (Y[7] = [
13281
13281
  A("整列", -1)
13282
13282
  ])]),
13283
13283
  _: 1
@@ -13321,7 +13321,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
13321
13321
  onClick: (b) => I(x),
13322
13322
  disabled: _.value.length === 1
13323
13323
  }, {
13324
- icon: i(() => [...H[8] || (H[8] = [
13324
+ icon: i(() => [...Y[8] || (Y[8] = [
13325
13325
  e("i", { class: "ri-close-fill" }, null, -1)
13326
13326
  ])]),
13327
13327
  _: 1
@@ -13339,7 +13339,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
13339
13339
  s(de, { name: "add" })
13340
13340
  ]),
13341
13341
  default: i(() => [
13342
- H[9] || (H[9] = A(" 添加规则 ", -1))
13342
+ Y[9] || (Y[9] = A(" 添加规则 ", -1))
13343
13343
  ]),
13344
13344
  _: 1
13345
13345
  }, 8, ["size"])
@@ -13352,7 +13352,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
13352
13352
  size: a.size,
13353
13353
  onClick: D
13354
13354
  }, {
13355
- default: i(() => [...H[10] || (H[10] = [
13355
+ default: i(() => [...Y[10] || (Y[10] = [
13356
13356
  A("取消", -1)
13357
13357
  ])]),
13358
13358
  _: 1
@@ -13362,7 +13362,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
13362
13362
  size: a.size,
13363
13363
  onClick: q
13364
13364
  }, {
13365
- default: i(() => [...H[11] || (H[11] = [
13365
+ default: i(() => [...Y[11] || (Y[11] = [
13366
13366
  A("清除", -1)
13367
13367
  ])]),
13368
13368
  _: 1
@@ -13372,7 +13372,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
13372
13372
  size: a.size,
13373
13373
  onClick: ee
13374
13374
  }, {
13375
- default: i(() => [...H[12] || (H[12] = [
13375
+ default: i(() => [...Y[12] || (Y[12] = [
13376
13376
  A("确定", -1)
13377
13377
  ])]),
13378
13378
  _: 1
@@ -13463,7 +13463,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
13463
13463
  const _e = C.precepts[0];
13464
13464
  _e && _e.conditions && (u.value = Array.from({ length: n.filterCount }, (we, qe) => _e.conditions[qe] ? JSON.parse(JSON.stringify(_e.conditions[qe])) : c()));
13465
13465
  }
13466
- const B = W(C.precepts), le = d(B, C.sqlConnectType);
13466
+ const B = j(C.precepts), le = d(B, C.sqlConnectType);
13467
13467
  if (y("confirm", le), C.columns && C.columns.length > 0) {
13468
13468
  const _e = C.columns.filter((we) => we.show !== !1);
13469
13469
  y("column-change", _e);
@@ -13475,15 +13475,15 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
13475
13475
  y("search", { conditions: { and: [] } });
13476
13476
  return;
13477
13477
  }
13478
- const C = W([
13478
+ const C = j([
13479
13479
  { id: 1, connector: w.value, conditions: u.value }
13480
13480
  ]), B = d(C, "and");
13481
13481
  y("search", B);
13482
- }, H = () => {
13482
+ }, Y = () => {
13483
13483
  _.value = !0;
13484
13484
  }, E = () => {
13485
13485
  _.value = !1;
13486
- }, W = (C) => C.map((B) => {
13486
+ }, j = (C) => C.map((B) => {
13487
13487
  const le = B.conditions.filter((_e) => !(!_e.field || _e.field.trim() === "" || _e.value === null || _e.value === void 0 || _e.value === "" || Array.isArray(_e.value) && _e.value.length === 0)).map((_e) => {
13488
13488
  let we = "";
13489
13489
  return _e.value !== null && _e.value !== void 0 && (Array.isArray(_e.value) ? we = _e.value.join("/") : we = String(_e.value).trim()), {
@@ -13535,7 +13535,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
13535
13535
  }, R = () => {
13536
13536
  const C = ue.value.name.trim();
13537
13537
  if (I.value) {
13538
- const B = W(r.value);
13538
+ const B = j(r.value);
13539
13539
  y("update-plan", {
13540
13540
  name: C,
13541
13541
  precepts: B,
@@ -13545,7 +13545,7 @@ const Td = { class: "cd-relation-form" }, Nd = { class: "input-wrapper" }, Bd =
13545
13545
  // 包含当前列配置
13546
13546
  });
13547
13547
  } else {
13548
- const B = W(r.value);
13548
+ const B = j(r.value);
13549
13549
  y("save-plan", {
13550
13550
  name: C,
13551
13551
  precepts: B,
@@ -13595,7 +13595,7 @@ ${C.map((B) => {
13595
13595
  const le = M("t-radio-button"), _e = M("t-radio-group"), we = M("t-icon"), qe = M("t-button"), ke = M("t-badge"), Be = M("t-tooltip"), ce = M("t-dropdown"), T = M("t-input"), h = M("t-form-item"), Se = M("t-form"), We = M("t-dialog");
13596
13596
  return l(), o("div", Sc, [
13597
13597
  a.filterCount > 0 ? (l(), o("div", Mc, [
13598
- (l(!0), o(fe, null, be(u.value, (ye, Q) => (l(), j(Ul, {
13598
+ (l(!0), o(fe, null, be(u.value, (ye, Q) => (l(), W(Ul, {
13599
13599
  key: Q,
13600
13600
  "field-options": a.fieldOptions,
13601
13601
  size: a.size,
@@ -13603,7 +13603,7 @@ ${C.map((B) => {
13603
13603
  "select-options": a.selectOptions,
13604
13604
  onSearch: J
13605
13605
  }, null, 8, ["field-options", "size", "filter-condition", "select-options"]))), 128))
13606
- ])) : Y("", !0),
13606
+ ])) : H("", !0),
13607
13607
  a.filterCount === 0 && a.planFilterOptions.length > 0 ? (l(), o("div", zc, [
13608
13608
  B[12] || (B[12] = e("span", { class: "plan-label" }, "我的方案:", -1)),
13609
13609
  s(_e, {
@@ -13613,7 +13613,7 @@ ${C.map((B) => {
13613
13613
  onChange: ee
13614
13614
  }, {
13615
13615
  default: i(() => [
13616
- (l(!0), o(fe, null, be(a.planFilterOptions, (ye) => (l(), j(le, {
13616
+ (l(!0), o(fe, null, be(a.planFilterOptions, (ye) => (l(), W(le, {
13617
13617
  key: ye.value,
13618
13618
  value: ye.value,
13619
13619
  disabled: ye.disabled
@@ -13630,7 +13630,7 @@ ${C.map((B) => {
13630
13630
  theme: "default",
13631
13631
  variant: "outline",
13632
13632
  size: a.size,
13633
- onClick: H,
13633
+ onClick: Y,
13634
13634
  title: "高级筛选"
13635
13635
  }, {
13636
13636
  icon: i(() => [
@@ -13638,21 +13638,21 @@ ${C.map((B) => {
13638
13638
  ]),
13639
13639
  _: 1
13640
13640
  }, 8, ["size"])
13641
- ])) : Y("", !0),
13641
+ ])) : H("", !0),
13642
13642
  e("div", Fc, [
13643
- a.filterCount > 0 ? (l(), j(qe, {
13643
+ a.filterCount > 0 ? (l(), W(qe, {
13644
13644
  key: 0,
13645
13645
  theme: "primary",
13646
13646
  size: a.size,
13647
- onClick: H,
13647
+ onClick: Y,
13648
13648
  title: "高级筛选"
13649
13649
  }, {
13650
13650
  icon: i(() => [
13651
13651
  s(we, { name: "filter" })
13652
13652
  ]),
13653
13653
  _: 1
13654
- }, 8, ["size"])) : Y("", !0),
13655
- a.filterCount > 0 ? (l(), j(Be, {
13654
+ }, 8, ["size"])) : H("", !0),
13655
+ a.filterCount > 0 ? (l(), W(Be, {
13656
13656
  key: 1,
13657
13657
  content: oe.value,
13658
13658
  placement: "top"
@@ -13678,8 +13678,8 @@ ${C.map((B) => {
13678
13678
  }, 8, ["count"])
13679
13679
  ]),
13680
13680
  _: 1
13681
- }, 8, ["content"])) : Y("", !0),
13682
- a.filterCount > 0 ? (l(), j(ce, {
13681
+ }, 8, ["content"])) : H("", !0),
13682
+ a.filterCount > 0 ? (l(), W(ce, {
13683
13683
  key: 2,
13684
13684
  options: q.value,
13685
13685
  onClick: N,
@@ -13701,7 +13701,7 @@ ${C.map((B) => {
13701
13701
  }, 8, ["size"])
13702
13702
  ]),
13703
13703
  _: 1
13704
- }, 8, ["options"])) : Y("", !0)
13704
+ }, 8, ["options"])) : H("", !0)
13705
13705
  ]),
13706
13706
  s(uc, {
13707
13707
  visible: _.value,
@@ -13848,7 +13848,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
13848
13848
  emits: ["update:visible", "confirm", "search", "load-users", "request-permission", "permission-settings-change", "manage-collaborators", "remove-collaborator", "collaborator-permission-change"],
13849
13849
  setup(a, { emit: te }) {
13850
13850
  var n;
13851
- const y = a, u = te, c = F(y.visible), m = F(y.shareUrl), U = F([]), _ = F(!1), w = F(1), r = F("read"), I = F(!0), D = F(!1), q = F(""), ee = F(""), N = F(!1), J = F(!1), ge = F(!1), H = F(!1), E = F(""), W = F({
13851
+ const y = a, u = te, c = F(y.visible), m = F(y.shareUrl), U = F([]), _ = F(!1), w = F(1), r = F("read"), I = F(!0), D = F(!1), q = F(""), ee = F(""), N = F(!1), J = F(!1), ge = F(!1), Y = F(!1), E = F(""), j = F({
13852
13852
  allowExternalShare: ((n = y.defaultPermissionSettings) == null ? void 0 : n.allowExternalShare) ?? !1,
13853
13853
  collaboratorManagement: "org-only",
13854
13854
  copyPermission: "edit",
@@ -13930,7 +13930,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
13930
13930
  Ie.warning("只有管理员才能修改权限设置");
13931
13931
  return;
13932
13932
  }
13933
- u("permission-settings-change", W.value), Ie.success("权限设置已保存"), N.value = !1;
13933
+ u("permission-settings-change", j.value), Ie.success("权限设置已保存"), N.value = !1;
13934
13934
  }, le = (T) => {
13935
13935
  console.log("点击协作者:", T);
13936
13936
  }, _e = (T) => {
@@ -13985,9 +13985,9 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
13985
13985
  Ie.warning("请输入6位密码");
13986
13986
  return;
13987
13987
  }
13988
- Ie.success("密码设置成功"), H.value = !1, console.log("链接密码:", E.value);
13988
+ Ie.success("密码设置成功"), Y.value = !1, console.log("链接密码:", E.value);
13989
13989
  };
13990
- return Fe(H, (T) => {
13990
+ return Fe(Y, (T) => {
13991
13991
  T && !E.value && ke();
13992
13992
  }), (T, h) => {
13993
13993
  const Se = M("t-icon"), We = M("t-tooltip"), ye = M("t-button"), Q = M("t-avatar"), ae = M("t-select"), De = M("t-checkbox"), Oe = M("t-input"), Ve = M("t-textarea"), Ue = M("t-dialog"), ra = M("t-switch"), re = M("t-radio"), ia = M("t-radio-group");
@@ -14005,15 +14005,15 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14005
14005
  header: i(() => [
14006
14006
  e("div", Rc, [
14007
14007
  e("div", Ec, [
14008
- _.value ? (l(), j(Se, {
14008
+ _.value ? (l(), W(Se, {
14009
14009
  key: 0,
14010
14010
  name: "chevron-left",
14011
14011
  size: "18px",
14012
14012
  class: "cd-share-back-icon",
14013
14013
  onClick: b
14014
- })) : Y("", !0),
14014
+ })) : H("", !0),
14015
14015
  A(" " + V(a.title) + " ", 1),
14016
- !_.value && a.helpUrl ? (l(), j(We, {
14016
+ !_.value && a.helpUrl ? (l(), W(We, {
14017
14017
  key: 1,
14018
14018
  content: "查看详情"
14019
14019
  }, {
@@ -14025,11 +14025,11 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14025
14025
  })
14026
14026
  ]),
14027
14027
  _: 1
14028
- })) : Y("", !0)
14028
+ })) : H("", !0)
14029
14029
  ]),
14030
- _.value ? Y("", !0) : (l(), o("div", Pc, [
14030
+ _.value ? H("", !0) : (l(), o("div", Pc, [
14031
14031
  fa(T.$slots, "header-actions", {}, () => [
14032
- O.value === "read" ? (l(), j(ye, {
14032
+ O.value === "read" ? (l(), W(ye, {
14033
14033
  key: 0,
14034
14034
  variant: "text",
14035
14035
  size: "small",
@@ -14045,7 +14045,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14045
14045
  h[27] || (h[27] = A(" 申请编辑权限 ", -1))
14046
14046
  ]),
14047
14047
  _: 1
14048
- })) : O.value === "manage" ? (l(), j(ye, {
14048
+ })) : O.value === "manage" ? (l(), W(ye, {
14049
14049
  key: 1,
14050
14050
  variant: "text",
14051
14051
  size: "small",
@@ -14061,7 +14061,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14061
14061
  h[28] || (h[28] = A(" 权限设置 ", -1))
14062
14062
  ]),
14063
14063
  _: 1
14064
- })) : Y("", !0)
14064
+ })) : H("", !0)
14065
14065
  ], !0)
14066
14066
  ]))
14067
14067
  ])
@@ -14074,11 +14074,11 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14074
14074
  h[36] || (h[36] = e("div", { class: "cd-share-label" }, "邀请协作者", -1)),
14075
14075
  e("div", ef, [
14076
14076
  e("div", af, [
14077
- (sa = a.owner) != null && sa.avatar ? (l(), j(Q, {
14077
+ (sa = a.owner) != null && sa.avatar ? (l(), W(Q, {
14078
14078
  key: 0,
14079
14079
  image: a.owner.avatar,
14080
14080
  size: "medium"
14081
- }, null, 8, ["image"])) : (l(), j(Q, {
14081
+ }, null, 8, ["image"])) : (l(), W(Q, {
14082
14082
  key: 1,
14083
14083
  size: "medium"
14084
14084
  }, {
@@ -14146,7 +14146,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14146
14146
  ])]),
14147
14147
  _: 1
14148
14148
  }, 8, ["modelValue"]),
14149
- D.value ? (l(), j(Oe, {
14149
+ D.value ? (l(), W(Oe, {
14150
14150
  key: 0,
14151
14151
  modelValue: q.value,
14152
14152
  "onUpdate:modelValue": h[11] || (h[11] = (Le) => q.value = Le),
@@ -14154,7 +14154,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14154
14154
  placeholder: "设置密码",
14155
14155
  size: "small",
14156
14156
  style: { width: "200px", "margin-left": "10px" }
14157
- }, null, 8, ["modelValue"])) : Y("", !0)
14157
+ }, null, 8, ["modelValue"])) : H("", !0)
14158
14158
  ]),
14159
14159
  s(Ve, {
14160
14160
  modelValue: ee.value,
@@ -14188,11 +14188,11 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14188
14188
  h[30] || (h[30] = e("div", { class: "cd-share-label" }, "邀请协作者", -1)),
14189
14189
  e("div", Tc, [
14190
14190
  e("div", Nc, [
14191
- (Me = a.owner) != null && Me.avatar ? (l(), j(Q, {
14191
+ (Me = a.owner) != null && Me.avatar ? (l(), W(Q, {
14192
14192
  key: 0,
14193
14193
  image: a.owner.avatar,
14194
14194
  size: "medium"
14195
- }, null, 8, ["image"])) : (l(), j(Q, {
14195
+ }, null, 8, ["image"])) : (l(), W(Q, {
14196
14196
  key: 1,
14197
14197
  size: "medium"
14198
14198
  }, {
@@ -14322,7 +14322,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14322
14322
  default: i(() => [
14323
14323
  e("div", {
14324
14324
  class: xe(["cd-share-icon-btn", { "is-disabled": O.value === "read" }]),
14325
- onClick: h[6] || (h[6] = (Le) => O.value !== "read" && (H.value = !0))
14325
+ onClick: h[6] || (h[6] = (Le) => O.value !== "read" && (Y.value = !0))
14326
14326
  }, [
14327
14327
  s(Se, { name: "lock-on" })
14328
14328
  ], 2)
@@ -14332,7 +14332,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14332
14332
  ], !0)
14333
14333
  ])
14334
14334
  ])
14335
- ])) : Y("", !0)
14335
+ ])) : H("", !0)
14336
14336
  ]))
14337
14337
  ];
14338
14338
  }),
@@ -14354,8 +14354,8 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14354
14354
  e("div", df, [
14355
14355
  h[41] || (h[41] = e("div", { class: "cd-permission-item-label" }, "允许内容被分享到组织外", -1)),
14356
14356
  s(ra, {
14357
- modelValue: W.value.allowExternalShare,
14358
- "onUpdate:modelValue": h[14] || (h[14] = (Me) => W.value.allowExternalShare = Me),
14357
+ modelValue: j.value.allowExternalShare,
14358
+ "onUpdate:modelValue": h[14] || (h[14] = (Me) => j.value.allowExternalShare = Me),
14359
14359
  disabled: O.value !== "manage"
14360
14360
  }, null, 8, ["modelValue", "disabled"])
14361
14361
  ]),
@@ -14364,8 +14364,8 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14364
14364
  e("div", uf, [
14365
14365
  h[46] || (h[46] = e("div", { class: "cd-permission-section-title" }, "谁可以查看、添加、移除协作者", -1)),
14366
14366
  s(ia, {
14367
- modelValue: W.value.collaboratorManagement,
14368
- "onUpdate:modelValue": h[15] || (h[15] = (Me) => W.value.collaboratorManagement = Me),
14367
+ modelValue: j.value.collaboratorManagement,
14368
+ "onUpdate:modelValue": h[15] || (h[15] = (Me) => j.value.collaboratorManagement = Me),
14369
14369
  disabled: O.value !== "manage"
14370
14370
  }, {
14371
14371
  default: i(() => [
@@ -14390,8 +14390,8 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14390
14390
  e("div", ff, [
14391
14391
  h[47] || (h[47] = e("div", { class: "cd-permission-item-label" }, "谁可以复制内容", -1)),
14392
14392
  s(ae, {
14393
- modelValue: W.value.copyPermission,
14394
- "onUpdate:modelValue": h[16] || (h[16] = (Me) => W.value.copyPermission = Me),
14393
+ modelValue: j.value.copyPermission,
14394
+ "onUpdate:modelValue": h[16] || (h[16] = (Me) => j.value.copyPermission = Me),
14395
14395
  options: R,
14396
14396
  disabled: O.value !== "manage",
14397
14397
  style: { width: "200px" }
@@ -14400,8 +14400,8 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14400
14400
  e("div", mf, [
14401
14401
  h[48] || (h[48] = e("div", { class: "cd-permission-item-label" }, "谁可以创建副本、打印和下载", -1)),
14402
14402
  s(ae, {
14403
- modelValue: W.value.downloadPermission,
14404
- "onUpdate:modelValue": h[17] || (h[17] = (Me) => W.value.downloadPermission = Me),
14403
+ modelValue: j.value.downloadPermission,
14404
+ "onUpdate:modelValue": h[17] || (h[17] = (Me) => j.value.downloadPermission = Me),
14405
14405
  options: R,
14406
14406
  disabled: O.value !== "manage",
14407
14407
  style: { width: "200px" }
@@ -14410,8 +14410,8 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14410
14410
  e("div", vf, [
14411
14411
  h[49] || (h[49] = e("div", { class: "cd-permission-item-label" }, "谁可以评论", -1)),
14412
14412
  s(ae, {
14413
- modelValue: W.value.commentPermission,
14414
- "onUpdate:modelValue": h[18] || (h[18] = (Me) => W.value.commentPermission = Me),
14413
+ modelValue: j.value.commentPermission,
14414
+ "onUpdate:modelValue": h[18] || (h[18] = (Me) => j.value.commentPermission = Me),
14415
14415
  options: R,
14416
14416
  disabled: O.value !== "manage",
14417
14417
  style: { width: "200px" }
@@ -14423,8 +14423,8 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14423
14423
  e("div", gf, [
14424
14424
  h[51] || (h[51] = e("div", { class: "cd-permission-item-label" }, "谁可以查看访问者头像和点赞者头像", -1)),
14425
14425
  s(ae, {
14426
- modelValue: W.value.viewerAvatarsPermission,
14427
- "onUpdate:modelValue": h[19] || (h[19] = (Me) => W.value.viewerAvatarsPermission = Me),
14426
+ modelValue: j.value.viewerAvatarsPermission,
14427
+ "onUpdate:modelValue": h[19] || (h[19] = (Me) => j.value.viewerAvatarsPermission = Me),
14428
14428
  options: R,
14429
14429
  disabled: O.value !== "manage",
14430
14430
  style: { width: "200px" }
@@ -14471,11 +14471,11 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14471
14471
  e("div", bf, [
14472
14472
  e("div", yf, [
14473
14473
  e("div", _f, [
14474
- (Me = a.owner) != null && Me.avatar ? (l(), j(Q, {
14474
+ (Me = a.owner) != null && Me.avatar ? (l(), W(Q, {
14475
14475
  key: 0,
14476
14476
  image: a.owner.avatar,
14477
14477
  size: "small"
14478
- }, null, 8, ["image"])) : (l(), j(Q, {
14478
+ }, null, 8, ["image"])) : (l(), W(Q, {
14479
14479
  key: 1,
14480
14480
  size: "small"
14481
14481
  }, {
@@ -14498,11 +14498,11 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14498
14498
  class: "cd-collaborator-list-item"
14499
14499
  }, [
14500
14500
  e("div", Cf, [
14501
- je.avatar ? (l(), j(Q, {
14501
+ je.avatar ? (l(), W(Q, {
14502
14502
  key: 0,
14503
14503
  image: je.avatar,
14504
14504
  size: "small"
14505
- }, null, 8, ["image"])) : (l(), j(Q, {
14505
+ }, null, 8, ["image"])) : (l(), W(Q, {
14506
14506
  key: 1,
14507
14507
  size: "small"
14508
14508
  }, {
@@ -14515,7 +14515,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14515
14515
  ]),
14516
14516
  e("div", xf, [
14517
14517
  O.value === "read" ? (l(), o("div", $f, V(((da = S.find((p) => p.value === je.permission)) == null ? void 0 : da.label) || "可阅读"), 1)) : O.value === "edit" ? (l(), o(fe, { key: 1 }, [
14518
- je.permission === "manage" ? (l(), o("div", Vf, " 可管理 ")) : (l(), j(ae, {
14518
+ je.permission === "manage" ? (l(), o("div", Vf, " 可管理 ")) : (l(), W(ae, {
14519
14519
  key: 1,
14520
14520
  value: je.permission,
14521
14521
  options: g.value,
@@ -14570,7 +14570,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14570
14570
  src: ue.value,
14571
14571
  alt: "分享二维码",
14572
14572
  class: "cd-qrcode-image"
14573
- }, null, 8, Mf)) : Y("", !0),
14573
+ }, null, 8, Mf)) : H("", !0),
14574
14574
  e("div", zf, V(m.value), 1),
14575
14575
  h[56] || (h[56] = e("div", { class: "cd-qrcode-tip" }, "扫描二维码或复制链接分享", -1))
14576
14576
  ])
@@ -14578,8 +14578,8 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14578
14578
  _: 1
14579
14579
  }, 8, ["visible"]),
14580
14580
  s(Ue, {
14581
- visible: H.value,
14582
- "onUpdate:visible": h[26] || (h[26] = (Me) => H.value = Me),
14581
+ visible: Y.value,
14582
+ "onUpdate:visible": h[26] || (h[26] = (Me) => Y.value = Me),
14583
14583
  header: "设置链接密码",
14584
14584
  width: "450px",
14585
14585
  footer: !1,
@@ -14639,7 +14639,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14639
14639
  h[63] || (h[63] = e("div", { style: { flex: "1" } }, null, -1)),
14640
14640
  s(ye, {
14641
14641
  variant: "outline",
14642
- onClick: h[25] || (h[25] = (Me) => H.value = !1)
14642
+ onClick: h[25] || (h[25] = (Me) => Y.value = !1)
14643
14643
  }, {
14644
14644
  default: i(() => [...h[61] || (h[61] = [
14645
14645
  A("取消", -1)
@@ -14865,7 +14865,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
14865
14865
  mode: "cell",
14866
14866
  showStatus: !0
14867
14867
  };
14868
- }), ge = F(!1), H = F(/* @__PURE__ */ new Map()), E = F(/* @__PURE__ */ new Map()), W = F(/* @__PURE__ */ new Set()), d = F(((bl = m.pageConfig) == null ? void 0 : bl.currentPage) || 1), S = F(((yl = m.pageConfig) == null ? void 0 : yl.pageSize) || 20), g = F(!1), R = F([]), O = F(!0), de = F(!1), ue = F(""), L = F("add"), x = F(null);
14868
+ }), ge = F(!1), Y = F(/* @__PURE__ */ new Map()), E = F(/* @__PURE__ */ new Map()), j = F(/* @__PURE__ */ new Set()), d = F(((bl = m.pageConfig) == null ? void 0 : bl.currentPage) || 1), S = F(((yl = m.pageConfig) == null ? void 0 : yl.pageSize) || 20), g = F(!1), R = F([]), O = F(!0), de = F(!1), ue = F(""), L = F("add"), x = F(null);
14869
14869
  let b = pa({});
14870
14870
  const z = ve(() => {
14871
14871
  var Re, Pe;
@@ -15729,7 +15729,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
15729
15729
  const $ = t.fid, k = { _originalId: $ };
15730
15730
  for (const [K, Z] of Object.entries(t))
15731
15731
  Z !== void 0 && (k[K] = Z);
15732
- H.value.set($, k), r.value && (r.value.setCheckboxRow(t, !0), W.value.add($)), ge.value = !0;
15732
+ Y.value.set($, k), r.value && (r.value.setCheckboxRow(t, !0), j.value.add($)), ge.value = !0;
15733
15733
  }, Ha = ({ row: t, column: f }) => {
15734
15734
  if (N.value)
15735
15735
  if (t._isEmpty) {
@@ -15755,18 +15755,18 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
15755
15755
  }
15756
15756
  }
15757
15757
  }, Ja = async () => {
15758
- if (!ge.value || H.value.size === 0) {
15758
+ if (!ge.value || Y.value.size === 0) {
15759
15759
  Ie.warning("没有需要保存的更改");
15760
15760
  return;
15761
15761
  }
15762
15762
  try {
15763
- const t = Array.from(H.value.values()).map((f) => {
15763
+ const t = Array.from(Y.value.values()).map((f) => {
15764
15764
  const $ = {};
15765
15765
  for (const [k, K] of Object.entries(f))
15766
15766
  K !== void 0 && ($[k] = K);
15767
15767
  return $;
15768
15768
  });
15769
- w("inline-save", t), H.value.clear(), W.value.clear(), ge.value = !1, r.value && r.value.clearCheckboxRow();
15769
+ w("inline-save", t), Y.value.clear(), j.value.clear(), ge.value = !1, r.value && r.value.clearCheckboxRow();
15770
15770
  } catch {
15771
15771
  Ie.error("保存失败");
15772
15772
  }
@@ -16081,13 +16081,13 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16081
16081
  onColorFilterChange: il,
16082
16082
  onColorFilterClear: sl
16083
16083
  }, null, 8, ["field-options", "select-options", "plan-filter-options"])
16084
- ])) : Y("", !0)
16084
+ ])) : H("", !0)
16085
16085
  ]),
16086
16086
  e("div", Nf, [
16087
16087
  (l(!0), o(fe, null, be(_.value.btnsList || [], (he) => (l(), o(fe, {
16088
16088
  key: he.label
16089
16089
  }, [
16090
- he.children && he.children.length > 0 ? (l(), j(Z, {
16090
+ he.children && he.children.length > 0 ? (l(), W(Z, {
16091
16091
  key: 0,
16092
16092
  onClick: je,
16093
16093
  "overlay-class-name": "filter-dropdown"
@@ -16120,7 +16120,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16120
16120
  onClick: f[0] || (f[0] = (Je) => je({ value: Je.value }))
16121
16121
  }, {
16122
16122
  default: i(() => [
16123
- (l(!0), o(fe, null, be(he.children.filter((Je) => Je.show !== !1), (Je) => (l(), j(k, {
16123
+ (l(!0), o(fe, null, be(he.children.filter((Je) => Je.show !== !1), (Je) => (l(), W(k, {
16124
16124
  key: Je.value || Math.random(),
16125
16125
  value: Je.value,
16126
16126
  disabled: Je.disabled,
@@ -16136,7 +16136,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16136
16136
  }, 1024)
16137
16137
  ]),
16138
16138
  _: 2
16139
- }, 1024)) : he.show && !T(he.value) ? (l(), j($, {
16139
+ }, 1024)) : he.show && !T(he.value) ? (l(), W($, {
16140
16140
  key: 1,
16141
16141
  variant: "outline",
16142
16142
  size: "small",
@@ -16153,9 +16153,9 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16153
16153
  fn: i(() => []),
16154
16154
  key: "0"
16155
16155
  } : void 0
16156
- ]), 1032, ["onClick"])) : Y("", !0)
16156
+ ]), 1032, ["onClick"])) : H("", !0)
16157
16157
  ], 64))), 128)),
16158
- (l(!0), o(fe, null, be(_.value.customBtnsList || [], (he) => ha((l(), j($, {
16158
+ (l(!0), o(fe, null, be(_.value.customBtnsList || [], (he) => ha((l(), W($, {
16159
16159
  variant: "outline",
16160
16160
  size: "small",
16161
16161
  key: he.value,
@@ -16175,7 +16175,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16175
16175
  [Cl, he.show]
16176
16176
  ])), 128)),
16177
16177
  fa(t.$slots, "toolbar-right", {}, void 0, !0),
16178
- rl.value ? (l(), j($, {
16178
+ rl.value ? (l(), W($, {
16179
16179
  key: 0,
16180
16180
  variant: "outline",
16181
16181
  size: "small",
@@ -16189,7 +16189,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16189
16189
  f[21] || (f[21] = A(" 下推 ", -1))
16190
16190
  ]),
16191
16191
  _: 1
16192
- })) : Y("", !0)
16192
+ })) : H("", !0)
16193
16193
  ])
16194
16194
  ]),
16195
16195
  s($e, {
@@ -16242,7 +16242,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16242
16242
  default: i(() => {
16243
16243
  var he;
16244
16244
  return [
16245
- (l(!0), o(fe, null, be(((he = a.businessFlow) == null ? void 0 : he.downstream) || [], (Je) => (l(), j(Re, {
16245
+ (l(!0), o(fe, null, be(((he = a.businessFlow) == null ? void 0 : he.downstream) || [], (Je) => (l(), W(Re, {
16246
16246
  key: Je.formId,
16247
16247
  value: Je
16248
16248
  }, {
@@ -16316,7 +16316,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16316
16316
  ]),
16317
16317
  _: 1
16318
16318
  }, 8, ["visible"]),
16319
- B.value ? (l(), j(ca(Rl), {
16319
+ B.value ? (l(), W(ca(Rl), {
16320
16320
  key: 0,
16321
16321
  visible: B.value,
16322
16322
  "onUpdate:visible": f[9] || (f[9] = (he) => B.value = he),
@@ -16328,7 +16328,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16328
16328
  tabs: ((qa = m.shareConfig) == null ? void 0 : qa.tabs) || [],
16329
16329
  organizations: ((La = m.shareConfig) == null ? void 0 : La.organizations) || [],
16330
16330
  onConfirm: va
16331
- }, null, 8, ["visible", "shareUrl", "currentPermission", "owner", "collaborators", "tabs", "organizations"])) : Y("", !0),
16331
+ }, null, 8, ["visible", "shareUrl", "currentPermission", "owner", "collaborators", "tabs", "organizations"])) : H("", !0),
16332
16332
  e("div", {
16333
16333
  class: "cd-form-table",
16334
16334
  ref_key: "tableContainerRef",
@@ -16354,7 +16354,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16354
16354
  }
16355
16355
  }), ya({
16356
16356
  checkbox_footer: i(({ $rowIndex: he }) => [
16357
- re.footerData && re.footerData[he] ? (l(), o("span", Yf, V(re.footerData[he].checkbox), 1)) : Y("", !0)
16357
+ re.footerData && re.footerData[he] ? (l(), o("span", Yf, V(re.footerData[he].checkbox), 1)) : H("", !0)
16358
16358
  ]),
16359
16359
  nameGroupContent: i(({ groupContent: he }) => [
16360
16360
  s(He, {
@@ -16381,7 +16381,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16381
16381
  data: he[Je.vModel] || [],
16382
16382
  columns: Pl(Je)
16383
16383
  }), null, 16, ["data", "columns"])
16384
- ])) : Y("", !0)
16384
+ ])) : H("", !0)
16385
16385
  ], 64))), 128))
16386
16386
  ])
16387
16387
  ]),
@@ -16433,7 +16433,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16433
16433
  onChange: Xa,
16434
16434
  onPageSizeChange: Ea
16435
16435
  }, null, 8, ["modelValue", "pageSize", "total", "page-size-options"])
16436
- ])) : Y("", !0),
16436
+ ])) : H("", !0),
16437
16437
  s(ga, {
16438
16438
  visible: de.value,
16439
16439
  "onUpdate:visible": f[18] || (f[18] = (he) => de.value = he),
@@ -16472,7 +16472,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16472
16472
  fn: i(() => [
16473
16473
  s(Ze, null, {
16474
16474
  default: i(() => [
16475
- a.formData.hasCancelBtn ? (l(), j($, {
16475
+ a.formData.hasCancelBtn ? (l(), W($, {
16476
16476
  key: 0,
16477
16477
  theme: "default",
16478
16478
  onClick: Ra
@@ -16481,8 +16481,8 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16481
16481
  A(V(a.formData.cancelButtonText), 1)
16482
16482
  ]),
16483
16483
  _: 1
16484
- })) : Y("", !0),
16485
- a.formData.hasConfirmBtn ? (l(), j($, {
16484
+ })) : H("", !0),
16485
+ a.formData.hasConfirmBtn ? (l(), W($, {
16486
16486
  key: 1,
16487
16487
  theme: "primary",
16488
16488
  onClick: xa
@@ -16491,8 +16491,8 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16491
16491
  A(V(a.formData.confirmButtonText), 1)
16492
16492
  ]),
16493
16493
  _: 1
16494
- })) : Y("", !0),
16495
- a.formData.hasConfirmAndAddBtn && L.value === "add" ? (l(), j($, {
16494
+ })) : H("", !0),
16495
+ a.formData.hasConfirmAndAddBtn && L.value === "add" ? (l(), W($, {
16496
16496
  key: 2,
16497
16497
  theme: "primary",
16498
16498
  variant: "outline",
@@ -16502,7 +16502,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16502
16502
  A(" 保存并继续 ", -1)
16503
16503
  ])]),
16504
16504
  _: 1
16505
- })) : Y("", !0)
16505
+ })) : H("", !0)
16506
16506
  ]),
16507
16507
  _: 1
16508
16508
  })
@@ -16780,16 +16780,16 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16780
16780
  placeholder: S.placeholder || `请输入${S.label}`
16781
16781
  } : I(S));
16782
16782
  y("save", d), u.value = !1, Ie.success("字段配置已保存");
16783
- }, H = () => {
16783
+ }, Y = () => {
16784
16784
  u.value = !1;
16785
16785
  }, E = () => {
16786
16786
  y("advanced-edit");
16787
- }, W = () => {
16787
+ }, j = () => {
16788
16788
  y("advanced-design");
16789
16789
  };
16790
16790
  return (d, S) => {
16791
16791
  const g = M("t-button"), R = M("t-space"), O = M("t-select"), de = M("t-switch"), ue = M("vxe-grid"), L = M("t-dialog");
16792
- return l(), j(L, {
16792
+ return l(), W(L, {
16793
16793
  visible: u.value,
16794
16794
  "onUpdate:visible": S[0] || (S[0] = (x) => u.value = x),
16795
16795
  header: "字段管理",
@@ -16797,7 +16797,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16797
16797
  placement: "center",
16798
16798
  footer: !1,
16799
16799
  class: "field-manage-dialog",
16800
- onClose: H
16800
+ onClose: Y
16801
16801
  }, {
16802
16802
  header: i(() => [
16803
16803
  e("div", Qf, [
@@ -16837,7 +16837,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16837
16837
  s(R, null, {
16838
16838
  default: i(() => [
16839
16839
  s(g, {
16840
- onClick: W,
16840
+ onClick: j,
16841
16841
  theme: "warning",
16842
16842
  size: "small"
16843
16843
  }, {
@@ -16863,7 +16863,7 @@ const Rc = { class: "cd-share-header" }, Ec = { class: "cd-share-title" }, Pc =
16863
16863
  }),
16864
16864
  s(g, {
16865
16865
  variant: "outline",
16866
- onClick: H,
16866
+ onClick: Y,
16867
16867
  size: "small"
16868
16868
  }, {
16869
16869
  default: i(() => [...S[10] || (S[10] = [