cd-form 2.0.46 → 2.0.47

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
@@ -39,7 +39,7 @@ const ai = /* @__PURE__ */ Nt({
39
39
  "Content-Type": "application/json"
40
40
  }
41
41
  });
42
- function k5(e) {
42
+ function y5(e) {
43
43
  e.baseURL !== void 0 && (Rr.baseURL = e.baseURL, on.defaults.baseURL = e.baseURL), e.getToken && (Rr.getToken = e.getToken), e.getOrgId && (Rr.getOrgId = e.getOrgId);
44
44
  }
45
45
  on.interceptors.request.use((e) => {
@@ -38862,7 +38862,7 @@ ${d(M[e.config.startField])} ~ ${d(M[e.config.endField])}`,
38862
38862
  }, OA = /* @__PURE__ */ Kn(IA, [["__scopeId", "data-v-0a02ab86"]]), RA = { class: "cd-filter-bar" }, NA = { class: "filter-toolbar-row" }, MA = {
38863
38863
  key: 1,
38864
38864
  class: "inline-filter-toolbar"
38865
- }, PA = { class: "filter-action-buttons" }, LA = { class: "save-plan-content" }, BA = {
38865
+ }, PA = { class: "filter-action-buttons" }, LA = { style: { "margin-left": "auto", display: "flex", "align-items": "center" } }, BA = { class: "save-plan-content" }, $A = {
38866
38866
  __name: "cd-filter-bar",
38867
38867
  props: {
38868
38868
  fieldOptions: { type: Array, required: !0 },
@@ -39099,7 +39099,6 @@ ${z.map((W) => {
39099
39099
  ]),
39100
39100
  _: 1
39101
39101
  }, 8, ["modelValue", "size"])) : ke("", !0),
39102
- er(z.$slots, "plan-row-right", {}, void 0, !0),
39103
39102
  V(ee, {
39104
39103
  theme: "default",
39105
39104
  variant: "outline",
@@ -39195,6 +39194,9 @@ ${z.map((W) => {
39195
39194
  ]),
39196
39195
  _: 1
39197
39196
  })) : ke("", !0)
39197
+ ]),
39198
+ f("div", LA, [
39199
+ er(z.$slots, "plan-row-right", {}, void 0, !0)
39198
39200
  ])
39199
39201
  ]),
39200
39202
  V(iA, {
@@ -39228,7 +39230,7 @@ ${z.map((W) => {
39228
39230
  onClose: N
39229
39231
  }, {
39230
39232
  body: R(() => [
39231
- f("div", LA, [
39233
+ f("div", BA, [
39232
39234
  V(fe, {
39233
39235
  data: U.value,
39234
39236
  "label-width": "100px"
@@ -39294,7 +39296,7 @@ ${z.map((W) => {
39294
39296
  ]);
39295
39297
  };
39296
39298
  }
39297
- }, $A = /* @__PURE__ */ Kn(BA, [["__scopeId", "data-v-e9ae1c6e"]]);
39299
+ }, VA = /* @__PURE__ */ Kn($A, [["__scopeId", "data-v-69d78592"]]);
39298
39300
  (function() {
39299
39301
  try {
39300
39302
  if (typeof document < "u") {
@@ -39305,31 +39307,31 @@ ${z.map((W) => {
39305
39307
  console.error("vite-plugin-css-injected-by-js", a);
39306
39308
  }
39307
39309
  })();
39308
- const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA = {
39310
+ const UA = { class: "cd-share-header" }, zA = { class: "cd-share-title" }, WA = {
39309
39311
  key: 0,
39310
39312
  class: "cd-share-actions"
39311
- }, WA = {
39313
+ }, HA = {
39312
39314
  key: 0,
39313
39315
  class: "cd-share-content"
39314
- }, HA = { class: "cd-share-cooperators" }, GA = { class: "cd-share-collaborators-wrapper" }, XA = { class: "cd-share-avatar-owner" }, jA = {
39316
+ }, GA = { class: "cd-share-cooperators" }, XA = { class: "cd-share-collaborators-wrapper" }, jA = { class: "cd-share-avatar-owner" }, KA = {
39315
39317
  key: 0,
39316
39318
  class: "cd-share-selector-wrapper"
39317
- }, KA = { class: "cd-share-selector-content" }, YA = {
39319
+ }, YA = { class: "cd-share-selector-content" }, qA = {
39318
39320
  key: 1,
39319
39321
  class: "cd-share-readonly-tip"
39320
- }, qA = {
39322
+ }, JA = {
39321
39323
  key: 2,
39322
39324
  class: "cd-share-footer"
39323
- }, JA = { class: "cd-share-footer-top" }, ZA = { class: "cd-share-footer-controls" }, QA = { class: "cd-share-org-control" }, e6 = { class: "cd-share-org-content" }, t6 = { class: "cd-share-footer-bottom" }, a6 = { class: "cd-share-icon-actions" }, r6 = { class: "cd-share-icon-btn" }, n6 = {
39325
+ }, ZA = { class: "cd-share-footer-top" }, QA = { class: "cd-share-footer-controls" }, e6 = { class: "cd-share-org-control" }, t6 = { class: "cd-share-org-content" }, a6 = { class: "cd-share-footer-bottom" }, r6 = { class: "cd-share-icon-actions" }, n6 = { class: "cd-share-icon-btn" }, i6 = {
39324
39326
  key: 1,
39325
39327
  class: "cd-share-content"
39326
- }, i6 = { class: "cd-share-cooperators" }, l6 = { class: "cd-share-collaborators-wrapper" }, s6 = { class: "cd-share-avatar-owner" }, o6 = { class: "cd-share-selector-wrapper" }, c6 = { class: "cd-share-selector-content" }, u6 = { class: "cd-share-options" }, f6 = { class: "cd-share-form-actions" }, d6 = { class: "cd-permission-settings" }, h6 = { class: "cd-permission-section" }, v6 = { class: "cd-permission-item" }, m6 = { class: "cd-permission-section" }, p6 = { class: "cd-permission-item" }, g6 = { class: "cd-permission-item" }, x6 = { class: "cd-permission-item" }, _6 = { class: "cd-permission-actions" }, k6 = { class: "cd-collaborator-list-content" }, y6 = { class: "cd-collaborator-list-item" }, w6 = { class: "cd-collaborator-item-info" }, b6 = { class: "cd-collaborator-item-name" }, C6 = { class: "cd-collaborator-item-info" }, S6 = { class: "cd-collaborator-item-name" }, E6 = { class: "cd-collaborator-item-actions" }, T6 = {
39328
+ }, l6 = { class: "cd-share-cooperators" }, s6 = { class: "cd-share-collaborators-wrapper" }, o6 = { class: "cd-share-avatar-owner" }, c6 = { class: "cd-share-selector-wrapper" }, u6 = { class: "cd-share-selector-content" }, f6 = { class: "cd-share-options" }, d6 = { class: "cd-share-form-actions" }, h6 = { class: "cd-permission-settings" }, v6 = { class: "cd-permission-section" }, m6 = { class: "cd-permission-item" }, p6 = { class: "cd-permission-section" }, g6 = { class: "cd-permission-item" }, x6 = { class: "cd-permission-item" }, _6 = { class: "cd-permission-item" }, k6 = { class: "cd-permission-actions" }, y6 = { class: "cd-collaborator-list-content" }, w6 = { class: "cd-collaborator-list-item" }, b6 = { class: "cd-collaborator-item-info" }, C6 = { class: "cd-collaborator-item-name" }, S6 = { class: "cd-collaborator-item-info" }, E6 = { class: "cd-collaborator-item-name" }, T6 = { class: "cd-collaborator-item-actions" }, F6 = {
39327
39329
  key: 0,
39328
39330
  class: "cd-collaborator-item-permission-text"
39329
- }, F6 = {
39331
+ }, A6 = {
39330
39332
  key: 0,
39331
39333
  class: "cd-collaborator-item-permission-text"
39332
- }, A6 = { class: "cd-qrcode-content" }, D6 = ["src"], I6 = { class: "cd-qrcode-url" }, O6 = { class: "cd-encrypt-content" }, R6 = { class: "cd-encrypt-field" }, N6 = { class: "cd-encrypt-note" }, M6 = { class: "cd-encrypt-actions" }, P6 = /* @__PURE__ */ Nt({
39334
+ }, D6 = { class: "cd-qrcode-content" }, I6 = ["src"], O6 = { class: "cd-qrcode-url" }, R6 = { class: "cd-encrypt-content" }, N6 = { class: "cd-encrypt-field" }, M6 = { class: "cd-encrypt-note" }, P6 = { class: "cd-encrypt-actions" }, L6 = /* @__PURE__ */ Nt({
39333
39335
  name: "CdShareDialog",
39334
39336
  __name: "ShareDialog",
39335
39337
  props: {
@@ -39524,8 +39526,8 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39524
39526
  class: "cd-share-dialog"
39525
39527
  }, {
39526
39528
  header: R(() => [
39527
- f("div", VA, [
39528
- f("div", UA, [
39529
+ f("div", UA, [
39530
+ f("div", zA, [
39529
39531
  c.value ? (x(), pe(Ee, {
39530
39532
  key: 0,
39531
39533
  name: "chevron-left",
@@ -39548,7 +39550,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39548
39550
  _: 1
39549
39551
  })) : ke("", !0)
39550
39552
  ]),
39551
- c.value ? ke("", !0) : (x(), F("div", zA, [
39553
+ c.value ? ke("", !0) : (x(), F("div", WA, [
39552
39554
  er(De.$slots, "header-actions", {}, () => [
39553
39555
  L.value === "read" ? (x(), pe(Me, {
39554
39556
  key: 0,
@@ -39590,11 +39592,11 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39590
39592
  default: R(() => {
39591
39593
  var ht, pa;
39592
39594
  return [
39593
- c.value ? (x(), F("div", n6, [
39594
- f("div", i6, [
39595
+ c.value ? (x(), F("div", i6, [
39596
+ f("div", l6, [
39595
39597
  fe[35] || (fe[35] = f("div", { class: "cd-share-label" }, "邀请协作者", -1)),
39596
- f("div", l6, [
39597
- f("div", s6, [
39598
+ f("div", s6, [
39599
+ f("div", o6, [
39598
39600
  (pa = e.owner) != null && pa.avatar ? (x(), pe(At, {
39599
39601
  key: 0,
39600
39602
  image: e.owner.avatar,
@@ -39633,8 +39635,8 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39633
39635
  })
39634
39636
  ])
39635
39637
  ]),
39636
- f("div", o6, [
39637
- f("div", c6, [
39638
+ f("div", c6, [
39639
+ f("div", u6, [
39638
39640
  V(Nr(So), {
39639
39641
  modelValue: s.value,
39640
39642
  "onUpdate:modelValue": fe[9] || (fe[9] = (ot) => s.value = ot),
@@ -39647,7 +39649,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39647
39649
  }, null, 8, ["modelValue", "tabs", "organizations"])
39648
39650
  ])
39649
39651
  ]),
39650
- f("div", u6, [
39652
+ f("div", f6, [
39651
39653
  V(ta, {
39652
39654
  modelValue: d.value,
39653
39655
  "onUpdate:modelValue": fe[10] || (fe[10] = (ot) => d.value = ot)
@@ -39683,7 +39685,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39683
39685
  autosize: { minRows: 10, maxRows: 15 },
39684
39686
  style: { height: "100px" }
39685
39687
  }, null, 8, ["modelValue"]),
39686
- f("div", f6, [
39688
+ f("div", d6, [
39687
39689
  V(Me, {
39688
39690
  variant: "outline",
39689
39691
  onClick: ge
@@ -39703,11 +39705,11 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39703
39705
  _: 1
39704
39706
  })
39705
39707
  ])
39706
- ])) : (x(), F("div", WA, [
39707
- f("div", HA, [
39708
+ ])) : (x(), F("div", HA, [
39709
+ f("div", GA, [
39708
39710
  fe[29] || (fe[29] = f("div", { class: "cd-share-label" }, "邀请协作者", -1)),
39709
- f("div", GA, [
39710
- f("div", XA, [
39711
+ f("div", XA, [
39712
+ f("div", jA, [
39711
39713
  (ht = e.owner) != null && ht.avatar ? (x(), pe(At, {
39712
39714
  key: 0,
39713
39715
  image: e.owner.avatar,
@@ -39746,8 +39748,8 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39746
39748
  })
39747
39749
  ])
39748
39750
  ]),
39749
- L.value !== "read" ? (x(), F("div", jA, [
39750
- f("div", KA, [
39751
+ L.value !== "read" ? (x(), F("div", KA, [
39752
+ f("div", YA, [
39751
39753
  V(Nr(So), {
39752
39754
  modelValue: s.value,
39753
39755
  "onUpdate:modelValue": fe[2] || (fe[2] = (ot) => s.value = ot),
@@ -39759,7 +39761,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39759
39761
  onLoadUsers: B
39760
39762
  }, null, 8, ["modelValue", "tabs", "organizations"])
39761
39763
  ])
39762
- ])) : (x(), F("div", YA, [
39764
+ ])) : (x(), F("div", qA, [
39763
39765
  V(Ee, {
39764
39766
  name: "info-circle",
39765
39767
  size: "14px",
@@ -39767,17 +39769,17 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39767
39769
  }),
39768
39770
  fe[30] || (fe[30] = xe(" 您当前为只读权限,无法添加协作者 ", -1))
39769
39771
  ])),
39770
- l.value ? (x(), F("div", qA, [
39771
- f("div", JA, [
39772
+ l.value ? (x(), F("div", JA, [
39773
+ f("div", ZA, [
39772
39774
  fe[32] || (fe[32] = f("div", { class: "cd-share-footer-title" }, "链接分享", -1)),
39773
- f("div", ZA, [
39774
- f("div", QA, [
39775
+ f("div", QA, [
39776
+ f("div", e6, [
39775
39777
  V(Ee, {
39776
39778
  name: "city-1",
39777
39779
  class: "cd-share-org-icon",
39778
39780
  size: "18px"
39779
39781
  }),
39780
- f("div", e6, [
39782
+ f("div", t6, [
39781
39783
  V(bt, {
39782
39784
  modelValue: u.value,
39783
39785
  "onUpdate:modelValue": fe[3] || (fe[3] = (ot) => u.value = ot),
@@ -39813,7 +39815,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39813
39815
  }, null, 8, ["modelValue", "disabled"])
39814
39816
  ])
39815
39817
  ]),
39816
- f("div", t6, [
39818
+ f("div", a6, [
39817
39819
  f("div", {
39818
39820
  class: "cd-share-copy-action",
39819
39821
  onClick: re
@@ -39824,7 +39826,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39824
39826
  }),
39825
39827
  fe[33] || (fe[33] = xe(" 复制链接 ", -1))
39826
39828
  ]),
39827
- f("div", a6, [
39829
+ f("div", r6, [
39828
39830
  er(De.$slots, "share-channels", {}, () => [
39829
39831
  V(Re, { content: "二维码" }, {
39830
39832
  default: R(() => [
@@ -39839,7 +39841,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39839
39841
  }),
39840
39842
  V(Re, { content: "邮件" }, {
39841
39843
  default: R(() => [
39842
- f("div", r6, [
39844
+ f("div", n6, [
39843
39845
  V(Ee, { name: "mail" })
39844
39846
  ])
39845
39847
  ]),
@@ -39877,10 +39879,10 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39877
39879
  class: "cd-permission-settings-dialog"
39878
39880
  }, {
39879
39881
  default: R(() => [
39880
- f("div", d6, [
39881
- f("div", h6, [
39882
+ f("div", h6, [
39883
+ f("div", v6, [
39882
39884
  fe[41] || (fe[41] = f("div", { class: "cd-permission-section-title" }, "对外分享", -1)),
39883
- f("div", v6, [
39885
+ f("div", m6, [
39884
39886
  fe[40] || (fe[40] = f("div", { class: "cd-permission-item-label" }, "允许内容被分享到组织外", -1)),
39885
39887
  V(Kt, {
39886
39888
  modelValue: w.value.allowExternalShare,
@@ -39890,9 +39892,9 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39890
39892
  ]),
39891
39893
  fe[42] || (fe[42] = f("div", { class: "cd-permission-item-note" }, ' 仅"可管理权限"可以将内容分享到组织外 ', -1))
39892
39894
  ]),
39893
- f("div", m6, [
39895
+ f("div", p6, [
39894
39896
  fe[46] || (fe[46] = f("div", { class: "cd-permission-section-title" }, "内容操作权限", -1)),
39895
- f("div", p6, [
39897
+ f("div", g6, [
39896
39898
  fe[43] || (fe[43] = f("div", { class: "cd-permission-item-label" }, "谁可以复制内容", -1)),
39897
39899
  V(bt, {
39898
39900
  modelValue: w.value.copyPermission,
@@ -39902,7 +39904,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39902
39904
  style: { width: "200px" }
39903
39905
  }, null, 8, ["modelValue", "disabled"])
39904
39906
  ]),
39905
- f("div", g6, [
39907
+ f("div", x6, [
39906
39908
  fe[44] || (fe[44] = f("div", { class: "cd-permission-item-label" }, "谁可以创建副本、打印和下载", -1)),
39907
39909
  V(bt, {
39908
39910
  modelValue: w.value.downloadPermission,
@@ -39912,7 +39914,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39912
39914
  style: { width: "200px" }
39913
39915
  }, null, 8, ["modelValue", "disabled"])
39914
39916
  ]),
39915
- f("div", x6, [
39917
+ f("div", _6, [
39916
39918
  fe[45] || (fe[45] = f("div", { class: "cd-permission-item-label" }, "谁可以评论", -1)),
39917
39919
  V(bt, {
39918
39920
  modelValue: w.value.commentPermission,
@@ -39923,7 +39925,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39923
39925
  }, null, 8, ["modelValue", "disabled"])
39924
39926
  ])
39925
39927
  ]),
39926
- f("div", _6, [
39928
+ f("div", k6, [
39927
39929
  V(Me, {
39928
39930
  variant: "outline",
39929
39931
  onClick: fe[19] || (fe[19] = (ht) => _.value = !1)
@@ -39960,9 +39962,9 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39960
39962
  default: R(() => {
39961
39963
  var ht, pa, ot;
39962
39964
  return [
39963
- f("div", k6, [
39964
- f("div", y6, [
39965
- f("div", w6, [
39965
+ f("div", y6, [
39966
+ f("div", w6, [
39967
+ f("div", b6, [
39966
39968
  (ht = e.owner) != null && ht.avatar ? (x(), pe(At, {
39967
39969
  key: 0,
39968
39970
  image: e.owner.avatar,
@@ -39979,7 +39981,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39979
39981
  }),
39980
39982
  _: 1
39981
39983
  })),
39982
- f("span", b6, le(((pa = e.owner) == null ? void 0 : pa.displayName) || ((ot = e.owner) == null ? void 0 : ot.name) || "所有者"), 1)
39984
+ f("span", C6, le(((pa = e.owner) == null ? void 0 : pa.displayName) || ((ot = e.owner) == null ? void 0 : ot.name) || "所有者"), 1)
39983
39985
  ]),
39984
39986
  fe[49] || (fe[49] = f("div", { class: "cd-collaborator-item-role" }, "所有者", -1))
39985
39987
  ]),
@@ -39989,7 +39991,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
39989
39991
  key: ft.id,
39990
39992
  class: "cd-collaborator-list-item"
39991
39993
  }, [
39992
- f("div", C6, [
39994
+ f("div", S6, [
39993
39995
  ft.avatar ? (x(), pe(At, {
39994
39996
  key: 0,
39995
39997
  image: ft.avatar,
@@ -40003,11 +40005,11 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
40003
40005
  ]),
40004
40006
  _: 2
40005
40007
  }, 1024)),
40006
- f("span", S6, le(ft.displayName || ft.name), 1)
40008
+ f("span", E6, le(ft.displayName || ft.name), 1)
40007
40009
  ]),
40008
- f("div", E6, [
40009
- L.value === "read" ? (x(), F("div", T6, le(((Dt = N.find((it) => it.value === ft.permission)) == null ? void 0 : Dt.label) || "可阅读"), 1)) : L.value === "edit" ? (x(), F(Pe, { key: 1 }, [
40010
- ft.permission === "manage" ? (x(), F("div", F6, " 可管理 ")) : (x(), pe(bt, {
40010
+ f("div", T6, [
40011
+ L.value === "read" ? (x(), F("div", F6, le(((Dt = N.find((it) => it.value === ft.permission)) == null ? void 0 : Dt.label) || "可阅读"), 1)) : L.value === "edit" ? (x(), F(Pe, { key: 1 }, [
40012
+ ft.permission === "manage" ? (x(), F("div", A6, " 可管理 ")) : (x(), pe(bt, {
40011
40013
  key: 1,
40012
40014
  value: ft.permission,
40013
40015
  options: A.value,
@@ -40056,14 +40058,14 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
40056
40058
  class: "cd-qrcode-dialog"
40057
40059
  }, {
40058
40060
  default: R(() => [
40059
- f("div", A6, [
40061
+ f("div", D6, [
40060
40062
  j.value ? (x(), F("img", {
40061
40063
  key: 0,
40062
40064
  src: j.value,
40063
40065
  alt: "分享二维码",
40064
40066
  class: "cd-qrcode-image"
40065
- }, null, 8, D6)) : ke("", !0),
40066
- f("div", I6, le(l.value), 1),
40067
+ }, null, 8, I6)) : ke("", !0),
40068
+ f("div", O6, le(l.value), 1),
40067
40069
  fe[50] || (fe[50] = f("div", { class: "cd-qrcode-tip" }, "扫描二维码或复制链接分享", -1))
40068
40070
  ])
40069
40071
  ]),
@@ -40079,8 +40081,8 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
40079
40081
  class: "cd-encrypt-dialog"
40080
40082
  }, {
40081
40083
  default: R(() => [
40082
- f("div", O6, [
40083
- f("div", R6, [
40084
+ f("div", R6, [
40085
+ f("div", N6, [
40084
40086
  fe[52] || (fe[52] = f("div", { class: "cd-encrypt-label" }, "链接密码", -1)),
40085
40087
  V(qe, {
40086
40088
  modelValue: D.value,
@@ -40106,7 +40108,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
40106
40108
  _: 1
40107
40109
  }, 8, ["modelValue", "disabled"])
40108
40110
  ]),
40109
- f("div", N6, [
40111
+ f("div", M6, [
40110
40112
  V(Ee, {
40111
40113
  name: "info-circle",
40112
40114
  size: "14px",
@@ -40114,7 +40116,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
40114
40116
  }),
40115
40117
  fe[53] || (fe[53] = xe(" 密码仅对当前页面生效。组织外用户需要密码访问,组织内用户无需密码可直接访问 ", -1))
40116
40118
  ]),
40117
- f("div", M6, [
40119
+ f("div", P6, [
40118
40120
  V(Me, {
40119
40121
  variant: "outline",
40120
40122
  disabled: L.value === "read",
@@ -40156,33 +40158,33 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
40156
40158
  ], 64);
40157
40159
  };
40158
40160
  }
40159
- }), L6 = (e, a) => {
40161
+ }), B6 = (e, a) => {
40160
40162
  const t = e.__vccOpts || e;
40161
40163
  for (const [r, n] of a)
40162
40164
  t[r] = n;
40163
40165
  return t;
40164
- }, of = /* @__PURE__ */ L6(P6, [["__scopeId", "data-v-a175ef28"]]), B6 = { class: "cd-form-container" }, $6 = {
40166
+ }, of = /* @__PURE__ */ B6(L6, [["__scopeId", "data-v-a175ef28"]]), $6 = { class: "cd-form-container" }, V6 = {
40165
40167
  key: 0,
40166
40168
  class: "cd-form-header"
40167
- }, V6 = { class: "header-left" }, U6 = { class: "header-title" }, z6 = { class: "header-right" }, W6 = { class: "view-mode-btns" }, H6 = { class: "cd-form-toolbar" }, G6 = { class: "toolbar-left" }, X6 = {
40169
+ }, U6 = { class: "header-left" }, z6 = { class: "header-title" }, W6 = { class: "header-right" }, H6 = { class: "view-mode-btns" }, G6 = { class: "cd-form-toolbar" }, X6 = { class: "toolbar-left" }, j6 = {
40168
40170
  key: 1,
40169
40171
  class: "toolbar-filter"
40170
- }, j6 = {
40172
+ }, K6 = {
40171
40173
  key: 2,
40172
40174
  class: "toolbar-tab-group"
40173
- }, K6 = { class: "toolbar-right" }, Y6 = { class: "group-dialog-content" }, q6 = { class: "group-merge-switch" }, J6 = { class: "switch-tip" }, Z6 = {
40175
+ }, Y6 = { class: "toolbar-right" }, q6 = { class: "group-dialog-content" }, J6 = { class: "group-merge-switch" }, Z6 = { class: "switch-tip" }, Q6 = {
40174
40176
  key: 0,
40175
40177
  class: "cd-form-left-tree"
40176
- }, Q6 = { class: "left-tree-toolbar" }, e5 = { class: "left-tree-title" }, t5 = { class: "tree-context-menu" }, a5 = { class: "cd-form-right-content" }, r5 = {
40178
+ }, e5 = { class: "left-tree-toolbar" }, t5 = { class: "left-tree-title" }, a5 = { class: "tree-context-menu" }, r5 = { class: "cd-form-right-content" }, n5 = {
40177
40179
  key: 0,
40178
40180
  style: { "font-weight": "600", color: "#0052d9" }
40179
- }, n5 = { class: "expand-wrapper" }, i5 = {
40181
+ }, i5 = { class: "expand-wrapper" }, l5 = {
40180
40182
  key: 0,
40181
40183
  class: "sub-grid-section"
40182
- }, l5 = { class: "sub-grid-title" }, s5 = {
40184
+ }, s5 = { class: "sub-grid-title" }, o5 = {
40183
40185
  key: 4,
40184
40186
  class: "cd-form-pagination"
40185
- }, o5 = { style: { "white-space": "pre-wrap", "word-break": "break-all", margin: "0", "font-size": "13px" } }, c5 = /* @__PURE__ */ Nt({
40187
+ }, c5 = { style: { "white-space": "pre-wrap", "word-break": "break-all", margin: "0", "font-size": "13px" } }, u5 = /* @__PURE__ */ Nt({
40186
40188
  __name: "CdForm",
40187
40189
  props: {
40188
40190
  formData: {},
@@ -42224,13 +42226,13 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
42224
42226
  }), (p, b) => {
42225
42227
  var xo, _o, ko, yo, wo, bo;
42226
42228
  const P = de("t-button"), G = de("t-tooltip"), ce = de("t-radio-button"), me = de("t-radio-group"), be = de("t-tab-panel"), Ve = de("t-tabs"), tt = de("t-badge"), je = de("t-dropdown-item"), Je = de("t-dropdown-menu"), nt = de("t-dropdown"), kt = de("t-select"), yt = de("t-switch"), Ot = de("t-dialog"), rt = de("t-radio"), Lt = de("t-tree"), dr = de("t-popup"), Gr = de("t-tag"), Jn = de("vxe-grid"), Pi = de("t-space"), Cl = de("t-pagination"), Sl = de("t-drawer"), td = de("t-input"), ad = de("t-form-item"), rd = de("t-form");
42227
- return x(), F("div", B6, [
42228
- e.showHeader ? (x(), F("div", $6, [
42229
- f("div", V6, [
42230
- f("span", U6, le(J.value), 1)
42229
+ return x(), F("div", $6, [
42230
+ e.showHeader ? (x(), F("div", V6, [
42231
+ f("div", U6, [
42232
+ f("span", z6, le(J.value), 1)
42231
42233
  ]),
42232
- f("div", z6, [
42233
- f("div", W6, [
42234
+ f("div", W6, [
42235
+ f("div", H6, [
42234
42236
  V(G, { content: "表格" }, {
42235
42237
  default: R(() => [
42236
42238
  V(P, {
@@ -42298,8 +42300,8 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
42298
42300
  ])
42299
42301
  ])
42300
42302
  ])) : ke("", !0),
42301
- f("div", H6, [
42302
- f("div", G6, [
42303
+ f("div", G6, [
42304
+ f("div", X6, [
42303
42305
  (xo = u.value.treeConfig) != null && xo.enabled ? (x(), pe(G, {
42304
42306
  key: 0,
42305
42307
  content: Ga.value ? "切换为列表" : "切换为树形"
@@ -42321,8 +42323,8 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
42321
42323
  ]),
42322
42324
  _: 1
42323
42325
  }, 8, ["content"])) : ke("", !0),
42324
- e.showFilter && at.value && at.value.length > 0 ? (x(), F("div", X6, [
42325
- V(Nr($A), {
42326
+ e.showFilter && at.value && at.value.length > 0 ? (x(), F("div", j6, [
42327
+ V(Nr(VA), {
42326
42328
  "field-options": at.value,
42327
42329
  "filter-count": 2,
42328
42330
  "select-options": ut.value,
@@ -42381,7 +42383,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
42381
42383
  _: 1
42382
42384
  }, 8, ["field-options", "select-options", "plan-filter-options", "visible-columns"])
42383
42385
  ])) : ke("", !0),
42384
- Ar.value.length > 0 ? (x(), F("div", j6, [
42386
+ Ar.value.length > 0 ? (x(), F("div", K6, [
42385
42387
  V(Ve, {
42386
42388
  modelValue: O.value,
42387
42389
  "onUpdate:modelValue": b[7] || (b[7] = (Oe) => O.value = Oe),
@@ -42407,7 +42409,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
42407
42409
  }, 8, ["modelValue"])
42408
42410
  ])) : ke("", !0)
42409
42411
  ]),
42410
- f("div", K6, [
42412
+ f("div", Y6, [
42411
42413
  oe.value && oo.value > 0 ? (x(), pe(tt, {
42412
42414
  key: 0,
42413
42415
  count: oo.value,
@@ -42563,7 +42565,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
42563
42565
  onClose: Kf
42564
42566
  }, {
42565
42567
  default: R(() => [
42566
- f("div", Y6, [
42568
+ f("div", q6, [
42567
42569
  V(kt, {
42568
42570
  modelValue: Tt.value,
42569
42571
  "onUpdate:modelValue": b[9] || (b[9] = (Oe) => Tt.value = Oe),
@@ -42573,13 +42575,13 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
42573
42575
  multiple: "",
42574
42576
  clearable: ""
42575
42577
  }, null, 8, ["modelValue", "options"]),
42576
- f("div", q6, [
42578
+ f("div", J6, [
42577
42579
  b[57] || (b[57] = f("span", { class: "switch-label" }, "分组:", -1)),
42578
42580
  V(yt, {
42579
42581
  modelValue: Kt.value,
42580
42582
  "onUpdate:modelValue": b[10] || (b[10] = (Oe) => Kt.value = Oe)
42581
42583
  }, null, 8, ["modelValue"]),
42582
- f("span", J6, le(Kt.value ? "字段合并分组" : "独立分组"), 1)
42584
+ f("span", Z6, le(Kt.value ? "字段合并分组" : "独立分组"), 1)
42583
42585
  ])
42584
42586
  ])
42585
42587
  ]),
@@ -42648,9 +42650,9 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
42648
42650
  f("div", {
42649
42651
  class: Qe(["cd-form-body", { "has-left-tree": u.value.type === 2 }])
42650
42652
  }, [
42651
- u.value.type === 2 ? (x(), F("div", Z6, [
42652
- f("div", Q6, [
42653
- f("span", e5, le(u.value.treeTitle || "分类"), 1),
42653
+ u.value.type === 2 ? (x(), F("div", Q6, [
42654
+ f("div", e5, [
42655
+ f("span", t5, le(u.value.treeTitle || "分类"), 1),
42654
42656
  V(G, { content: "新增根节点" }, {
42655
42657
  default: R(() => [
42656
42658
  V(P, {
@@ -42729,7 +42731,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
42729
42731
  placement: "bottom-left"
42730
42732
  }, {
42731
42733
  content: R(() => [
42732
- f("div", t5, [
42734
+ f("div", a5, [
42733
42735
  f("div", {
42734
42736
  class: "tree-context-menu-item",
42735
42737
  onClick: b[18] || (b[18] = (Oe) => Se(we.value))
@@ -42750,7 +42752,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
42750
42752
  _: 1
42751
42753
  }, 8, ["visible", "attach"])
42752
42754
  ])) : ke("", !0),
42753
- f("div", a5, [
42755
+ f("div", r5, [
42754
42756
  ee.value === "table" ? (x(), F("div", {
42755
42757
  key: 0,
42756
42758
  class: "cd-form-table",
@@ -42779,7 +42781,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
42779
42781
  }
42780
42782
  }), On({
42781
42783
  checkbox_footer: R(({ $rowIndex: Oe }) => [
42782
- vt.footerData && vt.footerData[Oe] ? (x(), F("span", r5, le(vt.footerData[Oe].checkbox), 1)) : ke("", !0)
42784
+ vt.footerData && vt.footerData[Oe] ? (x(), F("span", n5, le(vt.footerData[Oe].checkbox), 1)) : ke("", !0)
42783
42785
  ]),
42784
42786
  nameGroupContent: R(({ groupContent: Oe }) => [
42785
42787
  V(Gr, {
@@ -42796,12 +42798,12 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
42796
42798
  xe(le(Oe[wt.field]), 1)
42797
42799
  ]),
42798
42800
  expand_content_unified: R(({ row: Oe }) => [
42799
- f("div", n5, [
42801
+ f("div", i5, [
42800
42802
  (x(!0), F(Pe, null, ze(vo.value, (wt) => (x(), F(Pe, {
42801
42803
  key: `content_${wt.vModel}`
42802
42804
  }, [
42803
- mo(Oe, wt.vModel) ? (x(), F("div", i5, [
42804
- f("div", l5, le(wt.label), 1),
42805
+ mo(Oe, wt.vModel) ? (x(), F("div", l5, [
42806
+ f("div", s5, le(wt.label), 1),
42805
42807
  V(Jn, Oa({ ref_for: !0 }, ed, {
42806
42808
  data: Oe[wt.vModel] || [],
42807
42809
  columns: Qf(wt)
@@ -42930,7 +42932,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
42930
42932
  config: u.value.calendarConfig || { dateField: "", titleField: "" },
42931
42933
  onEventClick: b[26] || (b[26] = (Oe) => o("row-click", Oe))
42932
42934
  }, null, 8, ["data", "config"])) : ke("", !0),
42933
- ee.value === "table" && u.value.hasPage && _a.value.length > 0 ? (x(), F("div", s5, [
42935
+ ee.value === "table" && u.value.hasPage && _a.value.length > 0 ? (x(), F("div", o5, [
42934
42936
  V(Cl, {
42935
42937
  modelValue: ta.value,
42936
42938
  "onUpdate:modelValue": b[27] || (b[27] = (Oe) => ta.value = Oe),
@@ -43076,14 +43078,14 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
43076
43078
  onClose: b[43] || (b[43] = (Oe) => ht.visible = !1)
43077
43079
  }, {
43078
43080
  default: R(() => [
43079
- f("pre", o5, le(ht.body), 1)
43081
+ f("pre", c5, le(ht.body), 1)
43080
43082
  ]),
43081
43083
  _: 1
43082
43084
  }, 8, ["visible", "header"])
43083
43085
  ]);
43084
43086
  };
43085
43087
  }
43086
- }), cf = /* @__PURE__ */ Ut(c5, [["__scopeId", "data-v-d0ff640c"]]), u5 = { class: "field-manage-header" }, f5 = { class: "field-manage-content" }, d5 = { class: "field-manage-toolbar" }, h5 = /* @__PURE__ */ Nt({
43088
+ }), cf = /* @__PURE__ */ Ut(u5, [["__scopeId", "data-v-d0ff640c"]]), f5 = { class: "field-manage-header" }, d5 = { class: "field-manage-content" }, h5 = { class: "field-manage-toolbar" }, v5 = /* @__PURE__ */ Nt({
43087
43089
  __name: "FieldManageDialog",
43088
43090
  props: {
43089
43091
  modelValue: { type: Boolean },
@@ -43370,7 +43372,7 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
43370
43372
  onClose: E
43371
43373
  }, {
43372
43374
  header: R(() => [
43373
- f("div", u5, [
43375
+ f("div", f5, [
43374
43376
  C[3] || (C[3] = f("span", null, "字段管理", -1)),
43375
43377
  V(y, {
43376
43378
  theme: "primary",
@@ -43389,8 +43391,8 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
43389
43391
  ])
43390
43392
  ]),
43391
43393
  default: R(() => [
43392
- f("div", f5, [
43393
- f("div", d5, [
43394
+ f("div", d5, [
43395
+ f("div", h5, [
43394
43396
  V(y, {
43395
43397
  theme: "primary",
43396
43398
  onClick: o,
@@ -43517,8 +43519,8 @@ const VA = { class: "cd-share-header" }, UA = { class: "cd-share-title" }, zA =
43517
43519
  }, 8, ["visible"]);
43518
43520
  };
43519
43521
  }
43520
- }), v5 = /* @__PURE__ */ Ut(h5, [["__scopeId", "data-v-36fbcb77"]]);
43521
- function y5(e) {
43522
+ }), m5 = /* @__PURE__ */ Ut(v5, [["__scopeId", "data-v-36fbcb77"]]);
43523
+ function w5(e) {
43522
43524
  const {
43523
43525
  formModel: a,
43524
43526
  formConf: t,
@@ -43736,7 +43738,7 @@ function y5(e) {
43736
43738
  }
43737
43739
  };
43738
43740
  }
43739
- async function w5(e, a, t) {
43741
+ async function b5(e, a, t) {
43740
43742
  if (!e || !e.trim())
43741
43743
  return { success: !0 };
43742
43744
  try {
@@ -43771,20 +43773,20 @@ async function w5(e, a, t) {
43771
43773
  return console.error("Script execution error:", r), { success: !1, error: r.message };
43772
43774
  }
43773
43775
  }
43774
- const b5 = {
43776
+ const C5 = {
43775
43777
  install(e) {
43776
- e.component("CdForm", cf), e.component("CdFormCol", ai), e.component("FormRender", Yc), e.component("ShareDialog", of), e.component("FieldManageDialog", v5), e.component("ImportWizard", lf);
43778
+ e.component("CdForm", cf), e.component("CdFormCol", ai), e.component("FormRender", Yc), e.component("ShareDialog", of), e.component("FieldManageDialog", m5), e.component("ImportWizard", lf);
43777
43779
  }
43778
43780
  };
43779
43781
  export {
43780
43782
  cf as CdForm,
43781
43783
  ai as CdFormCol,
43782
- v5 as FieldManageDialog,
43784
+ m5 as FieldManageDialog,
43783
43785
  Yc as FormRender,
43784
43786
  lf as ImportWizard,
43785
43787
  of as ShareDialog,
43786
- y5 as createScriptAPI,
43787
- b5 as default,
43788
- w5 as executeScript,
43789
- k5 as setupCdForm
43788
+ w5 as createScriptAPI,
43789
+ C5 as default,
43790
+ b5 as executeScript,
43791
+ y5 as setupCdForm
43790
43792
  };