iking-web-ui-pro 1.0.46 → 1.0.48

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.
@@ -1,14 +1,14 @@
1
- import { defineComponent as ue, createElementBlock as y, openBlock as s, createElementVNode as u, inject as De, computed as R, resolveComponent as te, normalizeStyle as Me, normalizeClass as ce, createBlock as D, Fragment as Z, withCtx as P, mergeProps as le, createTextVNode as ae, toDisplayString as X, createCommentVNode as b, ref as B, watch as re, createVNode as m, unref as T, renderList as Ae, useCssVars as vt, toRef as kt, reactive as nt, nextTick as st, watchEffect as ot, withDirectives as Ce, withModifiers as Ke, vShow as bt, mergeModels as Ee, useModel as et, resolveDirective as tt, createSlots as xt, Transition as gt, renderSlot as ge, isVNode as Ot, getCurrentInstance as wt } from "vue";
2
- import { ElCheckbox as Le, ElCheckboxGroup as je, ElRadioGroup as He, ElRadio as Fe, ElDialog as Ct, ElInput as Ne, ElBreadcrumb as Bt, ElBreadcrumbItem as Pt, vLoading as Ze, ElButton as Je, ElCol as Lt, ElFormItem as it, ElCard as St, ElForm as Tt, ElRow as Ut, ElSelect as rt, ElOption as ut, ElTreeSelect as Vt, ElDatePicker as dt, ElRadioButton as It, ElInputNumber as _t } from "element-plus";
3
- import { ikColor as Dt, ikStore as Te, _ as se, ikEvent as $t } from "iking-utils-pro";
4
- import mt from "vuedraggable";
5
- import Et from "axios";
6
- const ze = (l, c) => (l.install = (e) => {
1
+ import { defineComponent as ue, createElementBlock as y, openBlock as s, createElementVNode as u, inject as De, computed as R, resolveComponent as te, normalizeStyle as ze, normalizeClass as ce, createBlock as D, Fragment as Z, withCtx as P, mergeProps as le, createTextVNode as ae, toDisplayString as X, createCommentVNode as k, ref as B, watch as re, createVNode as m, unref as T, renderList as ye, toRef as At, reactive as nt, nextTick as st, watchEffect as ot, withDirectives as Ce, withModifiers as $e, vShow as bt, mergeModels as Ee, useModel as et, resolveDirective as tt, createSlots as kt, Transition as vt, renderSlot as ve, isVNode as xt, useCssVars as Ot, getCurrentInstance as wt } from "vue";
2
+ import { ElCheckbox as Le, ElCheckboxGroup as He, ElRadioGroup as Fe, ElRadio as We, ElDialog as Ct, ElInput as je, ElBreadcrumb as Bt, ElBreadcrumbItem as Pt, vLoading as Ze, ElButton as Je, ElCol as Lt, ElFormItem as it, ElCard as St, ElForm as Tt, ElRow as Ut, ElSelect as rt, ElOption as ut, ElTreeSelect as Vt, ElDatePicker as dt, ElRadioButton as It, ElInputNumber as _t } from "element-plus";
3
+ import { ikColor as Dt, ikStore as Se, _ as se, ikEvent as $t } from "iking-utils-pro";
4
+ import gt from "vuedraggable";
5
+ import Mt from "axios";
6
+ const Re = (l, c) => (l.install = (e) => {
7
7
  for (const t of [l, ...Object.values({})])
8
8
  e.component(t.name, t);
9
9
  }, l);
10
10
  /*! Element Plus Icons Vue v2.3.1 */
11
- var Mt = /* @__PURE__ */ ue({
11
+ var Et = /* @__PURE__ */ ue({
12
12
  name: "DCaret",
13
13
  __name: "d-caret",
14
14
  setup(l) {
@@ -22,11 +22,11 @@ var Mt = /* @__PURE__ */ ue({
22
22
  })
23
23
  ]));
24
24
  }
25
- }), zt = Mt;
25
+ }), zt = Et;
26
26
  const oe = (l, c) => {
27
27
  const e = l.__vccOpts || l;
28
- for (const [t, k] of c)
29
- e[t] = k;
28
+ for (const [t, b] of c)
29
+ e[t] = b;
30
30
  return e;
31
31
  }, Rt = (l, c) => c ? c != null && c.startsWith("http") ? c : `${l || location.origin}${c}` : "", ct = [
32
32
  "csv",
@@ -84,10 +84,10 @@ const oe = (l, c) => {
84
84
  "flv",
85
85
  "tls"
86
86
  ], Nt = (l) => {
87
- const c = De("loadUrl"), e = R(() => l.loadUrl || l.fileUrl || (c == null ? void 0 : c.value)), t = De("uploadUrl"), k = R(() => l.action || l.uploadUrl || (t == null ? void 0 : t.value)), h = De("token"), O = R(() => l.token || (h == null ? void 0 : h.value)), v = De("onlyofficeConfig"), F = R(() => l.onlyofficeConfig || (v == null ? void 0 : v.value)), x = De("userInfo"), C = R(() => l.userInfo || (x == null ? void 0 : x.value)), A = [...ct, ...ct.map((o) => o.toLocaleUpperCase())];
87
+ const c = De("loadUrl"), e = R(() => l.loadUrl || l.fileUrl || (c == null ? void 0 : c.value)), t = De("uploadUrl"), b = R(() => l.action || l.uploadUrl || (t == null ? void 0 : t.value)), h = De("token"), O = R(() => l.token || (h == null ? void 0 : h.value)), v = De("onlyofficeConfig"), F = R(() => l.onlyofficeConfig || (v == null ? void 0 : v.value)), x = De("userInfo"), C = R(() => l.userInfo || (x == null ? void 0 : x.value)), A = [...ct, ...ct.map((o) => o.toLocaleUpperCase())];
88
88
  return {
89
89
  cLoadUrl: e,
90
- cUploadUrl: k,
90
+ cUploadUrl: b,
91
91
  cToken: O,
92
92
  cOnlyofficeConfig: F,
93
93
  cUserInfo: C,
@@ -130,7 +130,7 @@ const oe = (l, c) => {
130
130
  },
131
131
  emits: ["click", "mouseenter", "mouseleave", "dblclick"],
132
132
  setup(l, { emit: c }) {
133
- const e = l, t = R(() => e), k = R(() => {
133
+ const e = l, t = R(() => e), b = R(() => {
134
134
  const { name: A } = t.value;
135
135
  return /^http?:\/\//.test(A) ? "img" : /i-[^:]+:[^:]+/.test(A) ? "unocss" : A != null && A.startsWith("iksig") ? "iksig" : A != null && A.includes(":") ? "iconify" : A != null && A.startsWith("iksvg") ? "svg" : "i";
136
136
  }), h = R(() => {
@@ -153,7 +153,7 @@ const oe = (l, c) => {
153
153
  ...t.value.size && { fontSize: typeof t.value.size == "number" ? `${t.value.size}px` : t.value.size },
154
154
  ...A.length && { transform: A.join(" ") },
155
155
  padding: t.value.showBg || t.value.bg ? t.value.padding : 0,
156
- ...t.value.color && k.value !== "iksig" ? {
156
+ ...t.value.color && b.value !== "iksig" ? {
157
157
  "--ik-icon-deep-color": t.value.color,
158
158
  "--ik-icon-shallow-color": t.value.colorLight || Dt.setOpacity(t.value.color, t.value.opacity)
159
159
  } : {}
@@ -175,7 +175,7 @@ const oe = (l, c) => {
175
175
  {
176
176
  class: ce(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
177
177
  [l.iconClass]: !0,
178
- [l.name]: k.value === "unocss",
178
+ [l.name]: b.value === "unocss",
179
179
  "show-bg": t.value.showBg || t.value.bg,
180
180
  default: t.value.size === "default",
181
181
  small: t.value.size === "small",
@@ -187,7 +187,7 @@ const oe = (l, c) => {
187
187
  active: t.value.active,
188
188
  disabled: t.value.disabled
189
189
  }]),
190
- style: Me(h.value),
190
+ style: ze(h.value),
191
191
  onClick: v,
192
192
  onDblclick: C,
193
193
  onMouseenter: F,
@@ -202,7 +202,7 @@ const oe = (l, c) => {
202
202
  Z,
203
203
  { key: 0 },
204
204
  [
205
- k.value === "iksig" ? (s(), y(
205
+ b.value === "iksig" ? (s(), y(
206
206
  "i",
207
207
  {
208
208
  key: 0,
@@ -211,11 +211,11 @@ const oe = (l, c) => {
211
211
  null,
212
212
  2
213
213
  /* CLASS */
214
- )) : k.value === "svg" ? (s(), y("svg", jt, [
214
+ )) : b.value === "svg" ? (s(), y("svg", jt, [
215
215
  u("use", {
216
216
  "xlink:href": `#${t.value.name}`
217
217
  }, null, 8, Ht)
218
- ])) : k.value === "img" ? (s(), y("img", {
218
+ ])) : b.value === "img" ? (s(), y("img", {
219
219
  key: 2,
220
220
  src: t.value.name,
221
221
  class: "h-[1em] w-[1em]"
@@ -240,7 +240,7 @@ const oe = (l, c) => {
240
240
  "hide-after": 0
241
241
  }, {
242
242
  default: P(() => [
243
- k.value === "iksig" ? (s(), y(
243
+ b.value === "iksig" ? (s(), y(
244
244
  "i",
245
245
  {
246
246
  key: 0,
@@ -249,11 +249,11 @@ const oe = (l, c) => {
249
249
  null,
250
250
  2
251
251
  /* CLASS */
252
- )) : k.value === "svg" ? (s(), y("svg", Wt, [
252
+ )) : b.value === "svg" ? (s(), y("svg", Wt, [
253
253
  u("use", {
254
254
  "xlink:href": `#${t.value.name}`
255
255
  }, null, 8, Gt)
256
- ])) : k.value === "img" ? (s(), y("img", {
256
+ ])) : b.value === "img" ? (s(), y("img", {
257
257
  key: 2,
258
258
  src: t.value.name,
259
259
  class: "h-[1em] w-[1em]"
@@ -293,7 +293,7 @@ const oe = (l, c) => {
293
293
  );
294
294
  };
295
295
  }
296
- }), Xt = /* @__PURE__ */ oe(Qt, [["__scopeId", "data-v-d5c74053"]]), Oe = ze(Xt), qt = {}, Kt = {
296
+ }), Xt = /* @__PURE__ */ oe(Qt, [["__scopeId", "data-v-d5c74053"]]), Oe = Re(Xt), qt = {}, Kt = {
297
297
  t: "1672194715727",
298
298
  class: "icon",
299
299
  viewBox: "0 0 1024 1024",
@@ -500,8 +500,8 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
500
500
  }
501
501
  },
502
502
  setup(l) {
503
- const c = l, { cLoadUrl: e } = Nt(c), t = (k) => Rt(e.value, k);
504
- return (k, h) => {
503
+ const c = l, { cLoadUrl: e } = Nt(c), t = (b) => Rt(e.value, b);
504
+ return (b, h) => {
505
505
  const O = te("el-avatar");
506
506
  return s(), y("div", gl, [
507
507
  c.fixTypeOpt.group === l.element[c.fixPropOpt.type] ? (s(), D(vl, { key: 0 })) : c.fixTypeOpt.role === l.element[c.fixPropOpt.type] ? (s(), D(il, { key: 1 })) : c.fixTypeOpt.post === l.element[c.fixPropOpt.type] ? (s(), D(cl, { key: 2 })) : c.fixTypeOpt.user === l.element[c.fixPropOpt.type] ? (s(), y("div", ml, [
@@ -516,7 +516,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
516
516
  1
517
517
  /* TEXT */
518
518
  ))
519
- ])) : b("v-if", !0)
519
+ ])) : k("v-if", !0)
520
520
  ]);
521
521
  };
522
522
  }
@@ -578,7 +578,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
578
578
  // 传['dep', 'user', 'role']则选择人员、部门和角色
579
579
  default: () => ["dep"]
580
580
  }
581
- }, kl = { class: "left-pick-list" }, bl = {
581
+ }, bl = { class: "left-pick-list" }, kl = {
582
582
  key: 0,
583
583
  class: "post-view-list"
584
584
  }, xl = { class: "checkText" }, Ol = { class: "iconBox" }, wl = { class: "name_number" }, Cl = { class: "title" }, Bl = {
@@ -590,10 +590,10 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
590
590
  }, Ll = { class: "iconBox" }, Sl = { class: "name_number" }, Tl = { class: "title" }, Ul = {
591
591
  key: 0,
592
592
  class: "userCount"
593
- }, Vl = ["onClick"], Il = { class: "checkText" }, _l = { class: "iconBox" }, Dl = { class: "name_number" }, $l = { class: "title" }, El = {
593
+ }, Vl = ["onClick"], Il = { class: "checkText" }, _l = { class: "iconBox" }, Dl = { class: "name_number" }, $l = { class: "title" }, Ml = {
594
594
  key: 0,
595
595
  class: "userCount"
596
- }, Ml = {
596
+ }, El = {
597
597
  key: 1,
598
598
  class: "checkText"
599
599
  }, zl = { class: "iconBox" }, Rl = { class: "name_number" }, Nl = { class: "title" }, jl = {
@@ -628,7 +628,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
628
628
  },
629
629
  { immediate: !0 }
630
630
  );
631
- const k = R(() => {
631
+ const b = R(() => {
632
632
  var d, g, W;
633
633
  const i = (d = e.handList.filter(
634
634
  ($) => e.chooseType.includes($[e.fixPropOpt.type].toLowerCase())
@@ -661,13 +661,13 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
661
661
  Z,
662
662
  null,
663
663
  [
664
- b(" 遍历list多选 "),
665
- u("div", kl, [
664
+ k(" 遍历list多选 "),
665
+ u("div", bl, [
666
666
  i.multiple && i.list && i.list.length ? (s(), D(T(Le), {
667
667
  key: 0,
668
668
  modelValue: t.value,
669
669
  "onUpdate:modelValue": w[0] || (w[0] = (g) => t.value = g),
670
- indeterminate: k.value,
670
+ indeterminate: b.value,
671
671
  onChange: F
672
672
  }, {
673
673
  default: P(() => [...w[3] || (w[3] = [
@@ -679,11 +679,11 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
679
679
  ])]),
680
680
  _: 1
681
681
  /* STABLE */
682
- }, 8, ["modelValue", "indeterminate"])) : b("v-if", !0),
682
+ }, 8, ["modelValue", "indeterminate"])) : k("v-if", !0),
683
683
  m(d, null, {
684
684
  default: P(() => [
685
- i.list && i.list.length ? (s(), y("ul", bl, [
686
- i.multiple ? (s(), D(T(je), {
685
+ i.list && i.list.length ? (s(), y("ul", kl, [
686
+ i.multiple ? (s(), D(T(He), {
687
687
  key: 0,
688
688
  modelValue: h.value,
689
689
  "onUpdate:modelValue": w[1] || (w[1] = (g) => h.value = g),
@@ -693,7 +693,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
693
693
  (s(!0), y(
694
694
  Z,
695
695
  null,
696
- Ae(i.list, (g) => {
696
+ ye(i.list, (g) => {
697
697
  var W;
698
698
  return s(), y("li", {
699
699
  key: g[e.fixPropOpt.id]
@@ -729,7 +729,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
729
729
  " (" + X(g.userCount) + ") ",
730
730
  1
731
731
  /* TEXT */
732
- )) : b("v-if", !0)
732
+ )) : k("v-if", !0)
733
733
  ])
734
734
  ])
735
735
  ]),
@@ -765,7 +765,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
765
765
  " (" + X(g.userCount) + ") ",
766
766
  1
767
767
  /* TEXT */
768
- )) : b("v-if", !0)
768
+ )) : k("v-if", !0)
769
769
  ])
770
770
  ])),
771
771
  g[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (s(), y("span", {
@@ -782,7 +782,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
782
782
  (f = h.value) == null ? void 0 : f.find((ne) => ne === g[e.fixPropOpt.id])
783
783
  );
784
784
  }
785
- }, " 下级", 10, Vl)) : b("v-if", !0)
785
+ }, " 下级", 10, Vl)) : k("v-if", !0)
786
786
  ]);
787
787
  }),
788
788
  128
@@ -791,9 +791,9 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
791
791
  ]),
792
792
  _: 1
793
793
  /* STABLE */
794
- }, 8, ["modelValue"])) : (s(), D(T(He), {
794
+ }, 8, ["modelValue"])) : (s(), D(T(Fe), {
795
795
  key: 1,
796
- isIndeterminate: k.value,
796
+ isIndeterminate: b.value,
797
797
  modelValue: O.value,
798
798
  "onUpdate:modelValue": w[2] || (w[2] = (g) => O.value = g),
799
799
  onChange: C
@@ -802,7 +802,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
802
802
  (s(!0), y(
803
803
  Z,
804
804
  null,
805
- Ae(i.list, (g) => {
805
+ ye(i.list, (g) => {
806
806
  var W;
807
807
  return s(), y("li", {
808
808
  class: "w-full",
@@ -810,7 +810,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
810
810
  }, [
811
811
  i.chooseType.includes(
812
812
  g[e.fixPropOpt.type].toLowerCase()
813
- ) && g.available !== !1 ? (s(), D(T(Fe), {
813
+ ) && g.available !== !1 ? (s(), D(T(We), {
814
814
  key: 0,
815
815
  label: g[e.fixPropOpt.id]
816
816
  }, {
@@ -834,17 +834,17 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
834
834
  ),
835
835
  g[e.fixPropOpt.type] === e.fixTypeOpt.group ? (s(), y(
836
836
  "div",
837
- El,
837
+ Ml,
838
838
  " (" + X((g == null ? void 0 : g.userCount) || 0) + ") ",
839
839
  1
840
840
  /* TEXT */
841
- )) : b("v-if", !0)
841
+ )) : k("v-if", !0)
842
842
  ])
843
843
  ])
844
844
  ]),
845
845
  _: 2
846
846
  /* DYNAMIC */
847
- }, 1032, ["label"])) : (s(), y("div", Ml, [
847
+ }, 1032, ["label"])) : (s(), y("div", El, [
848
848
  w[5] || (w[5] = u(
849
849
  "div",
850
850
  { class: "side" },
@@ -874,7 +874,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
874
874
  " (" + X(g.userCount) + ") ",
875
875
  1
876
876
  /* TEXT */
877
- )) : b("v-if", !0)
877
+ )) : k("v-if", !0)
878
878
  ])
879
879
  ])),
880
880
  g[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (s(), y("span", {
@@ -891,7 +891,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
891
891
  (f = h.value) == null ? void 0 : f.find((ne) => ne === g[e.fixPropOpt.id])
892
892
  );
893
893
  }
894
- }, " 下级", 10, Hl)) : b("v-if", !0)
894
+ }, " 下级", 10, Hl)) : k("v-if", !0)
895
895
  ]);
896
896
  }),
897
897
  128
@@ -952,7 +952,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
952
952
  const e = l, t = R(() => {
953
953
  var a, i;
954
954
  return ((a = e.handList) == null ? void 0 : a.length) === ((i = e.list) == null ? void 0 : i.length);
955
- }), k = R(() => {
955
+ }), b = R(() => {
956
956
  var w, d, g, W;
957
957
  const a = (w = e.handList) == null ? void 0 : w.length, i = (d = e.list) == null ? void 0 : d.length;
958
958
  return e.multiple ? h.value = e.handList.map(($) => $[e.fixPropOpt.id]) : O.value = (W = (g = e.handList) == null ? void 0 : g[0]) == null ? void 0 : W[e.fixPropOpt.id], a > 0 && a < i;
@@ -972,13 +972,13 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
972
972
  Z,
973
973
  null,
974
974
  [
975
- b(" 遍历list多选 "),
975
+ k(" 遍历list多选 "),
976
976
  u("div", Yl, [
977
977
  a.multiple && a.chooseType.includes("post") && a.list && a.list.length ? (s(), D(T(Le), {
978
978
  key: 0,
979
979
  modelValue: t.value,
980
980
  "onUpdate:modelValue": i[0] || (i[0] = (d) => t.value = d),
981
- indeterminate: k.value,
981
+ indeterminate: b.value,
982
982
  onChange: F
983
983
  }, {
984
984
  default: P(() => [...i[3] || (i[3] = [
@@ -990,11 +990,11 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
990
990
  ])]),
991
991
  _: 1
992
992
  /* STABLE */
993
- }, 8, ["modelValue", "indeterminate"])) : b("v-if", !0),
993
+ }, 8, ["modelValue", "indeterminate"])) : k("v-if", !0),
994
994
  m(w, null, {
995
995
  default: P(() => [
996
996
  a.list && a.list.length ? (s(), y("ul", Ql, [
997
- a.multiple ? (s(), D(T(je), {
997
+ a.multiple ? (s(), D(T(He), {
998
998
  key: 0,
999
999
  modelValue: h.value,
1000
1000
  "onUpdate:modelValue": i[1] || (i[1] = (d) => h.value = d),
@@ -1004,7 +1004,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
1004
1004
  (s(!0), y(
1005
1005
  Z,
1006
1006
  null,
1007
- Ae(a.list, (d) => (s(), y("li", {
1007
+ ye(a.list, (d) => (s(), y("li", {
1008
1008
  key: d[e.fixPropOpt.id]
1009
1009
  }, [
1010
1010
  a.chooseType.includes(d[e.fixPropOpt.type].toLowerCase()) ? (s(), D(T(Le), {
@@ -1061,9 +1061,9 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
1061
1061
  ]),
1062
1062
  _: 1
1063
1063
  /* STABLE */
1064
- }, 8, ["modelValue"])) : (s(), D(T(He), {
1064
+ }, 8, ["modelValue"])) : (s(), D(T(Fe), {
1065
1065
  key: 1,
1066
- isIndeterminate: k.value,
1066
+ isIndeterminate: b.value,
1067
1067
  modelValue: O.value,
1068
1068
  "onUpdate:modelValue": i[2] || (i[2] = (d) => O.value = d),
1069
1069
  onChange: C
@@ -1072,11 +1072,11 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
1072
1072
  (s(!0), y(
1073
1073
  Z,
1074
1074
  null,
1075
- Ae(a.list, (d) => (s(), y("li", {
1075
+ ye(a.list, (d) => (s(), y("li", {
1076
1076
  class: "w-full",
1077
1077
  key: d[e.fixPropOpt.id]
1078
1078
  }, [
1079
- a.chooseType.includes(d[e.fixPropOpt.type].toLowerCase()) ? (s(), D(T(Fe), {
1079
+ a.chooseType.includes(d[e.fixPropOpt.type].toLowerCase()) ? (s(), D(T(We), {
1080
1080
  key: 0,
1081
1081
  label: d[e.fixPropOpt.id]
1082
1082
  }, {
@@ -1172,10 +1172,10 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
1172
1172
  }, pa = { class: "iconBox" }, fa = ["title"], ha = { class: "ik-picker-single" }, va = { class: "iconBox" }, ga = ["title"], ma = {
1173
1173
  key: 1,
1174
1174
  class: "checkText"
1175
- }, ya = { class: "iconBox" }, Aa = ["title"], ka = {
1175
+ }, ya = { class: "iconBox" }, Aa = ["title"], ba = {
1176
1176
  key: 1,
1177
1177
  class: "empty"
1178
- }, ba = /* @__PURE__ */ ue({
1178
+ }, ka = /* @__PURE__ */ ue({
1179
1179
  __name: "RoleList",
1180
1180
  props: at,
1181
1181
  emits: ["change", "check"],
@@ -1184,7 +1184,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
1184
1184
  const e = l, t = R(() => {
1185
1185
  var a, i;
1186
1186
  return ((a = e.handList) == null ? void 0 : a.length) === ((i = e.list) == null ? void 0 : i.length);
1187
- }), k = R(() => {
1187
+ }), b = R(() => {
1188
1188
  var w, d, g, W;
1189
1189
  const a = (w = e.handList) == null ? void 0 : w.length, i = (d = e.list) == null ? void 0 : d.length;
1190
1190
  return e.multiple ? h.value = e.handList.map(($) => $[e.fixPropOpt.id]) : O.value = (W = (g = e.handList) == null ? void 0 : g[0]) == null ? void 0 : W[e.fixPropOpt.id], a > 0 && a < i;
@@ -1204,13 +1204,13 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
1204
1204
  Z,
1205
1205
  null,
1206
1206
  [
1207
- b(" 遍历list多选 "),
1207
+ k(" 遍历list多选 "),
1208
1208
  u("div", ia, [
1209
1209
  a.multiple && a.chooseType.includes("role") && a.list && a.list.length ? (s(), D(T(Le), {
1210
1210
  key: 0,
1211
1211
  modelValue: t.value,
1212
1212
  "onUpdate:modelValue": i[0] || (i[0] = (d) => t.value = d),
1213
- indeterminate: k.value,
1213
+ indeterminate: b.value,
1214
1214
  onChange: F
1215
1215
  }, {
1216
1216
  default: P(() => [...i[3] || (i[3] = [
@@ -1222,11 +1222,11 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
1222
1222
  ])]),
1223
1223
  _: 1
1224
1224
  /* STABLE */
1225
- }, 8, ["modelValue", "indeterminate"])) : b("v-if", !0),
1225
+ }, 8, ["modelValue", "indeterminate"])) : k("v-if", !0),
1226
1226
  m(w, null, {
1227
1227
  default: P(() => [
1228
1228
  a.list && a.list.length ? (s(), y("ul", ra, [
1229
- a.multiple ? (s(), D(T(je), {
1229
+ a.multiple ? (s(), D(T(He), {
1230
1230
  key: 0,
1231
1231
  modelValue: h.value,
1232
1232
  "onUpdate:modelValue": i[1] || (i[1] = (d) => h.value = d),
@@ -1236,7 +1236,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
1236
1236
  (s(!0), y(
1237
1237
  Z,
1238
1238
  null,
1239
- Ae(a.list, (d) => (s(), y("li", {
1239
+ ye(a.list, (d) => (s(), y("li", {
1240
1240
  key: d[a.fixPropOpt.id]
1241
1241
  }, [
1242
1242
  a.chooseType.includes(d[e.fixPropOpt.type].toLowerCase()) ? (s(), D(T(Le), {
@@ -1288,9 +1288,9 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
1288
1288
  ]),
1289
1289
  _: 1
1290
1290
  /* STABLE */
1291
- }, 8, ["modelValue"])) : (s(), D(T(He), {
1291
+ }, 8, ["modelValue"])) : (s(), D(T(Fe), {
1292
1292
  key: 1,
1293
- indeterminate: k.value,
1293
+ indeterminate: b.value,
1294
1294
  modelValue: O.value,
1295
1295
  "onUpdate:modelValue": i[2] || (i[2] = (d) => O.value = d),
1296
1296
  onChange: C
@@ -1299,11 +1299,11 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
1299
1299
  (s(!0), y(
1300
1300
  Z,
1301
1301
  null,
1302
- Ae(a.list, (d) => (s(), y("li", {
1302
+ ye(a.list, (d) => (s(), y("li", {
1303
1303
  class: "w-full",
1304
1304
  key: d[a.fixPropOpt.id]
1305
1305
  }, [
1306
- a.chooseType.includes(d[e.fixPropOpt.type].toLowerCase()) ? (s(), D(T(Fe), {
1306
+ a.chooseType.includes(d[e.fixPropOpt.type].toLowerCase()) ? (s(), D(T(We), {
1307
1307
  key: 0,
1308
1308
  label: d[a.fixPropOpt.id],
1309
1309
  value: d[a.fixPropOpt.id],
@@ -1355,7 +1355,7 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
1355
1355
  _: 1
1356
1356
  /* STABLE */
1357
1357
  }, 8, ["indeterminate", "modelValue"]))
1358
- ])) : (s(), y("div", ka, [
1358
+ ])) : (s(), y("div", ba, [
1359
1359
  i[6] || (i[6] = u(
1360
1360
  "img",
1361
1361
  {
@@ -1385,8 +1385,8 @@ const vl = /* @__PURE__ */ oe(pl, [["render", hl]]), gl = { class: "avatar" }, m
1385
1385
  );
1386
1386
  };
1387
1387
  }
1388
- }), xa = /* @__PURE__ */ oe(ba, [["__scopeId", "data-v-5e7c0e02"]]);
1389
- var $e = /* @__PURE__ */ ((l) => (l.group = "group", l.role = "role", l.post = "post", l))($e || {});
1388
+ }), xa = /* @__PURE__ */ oe(ka, [["__scopeId", "data-v-5e7c0e02"]]);
1389
+ var Me = /* @__PURE__ */ ((l) => (l.group = "group", l.role = "role", l.post = "post", l))(Me || {});
1390
1390
  const Oa = {
1391
1391
  // 是否允许选择子集
1392
1392
  children: {
@@ -1554,12 +1554,17 @@ const Oa = {
1554
1554
  rootDepartmentOnly: {
1555
1555
  type: Boolean,
1556
1556
  default: !1
1557
+ },
1558
+ // 是否开启调试模式
1559
+ debug: {
1560
+ type: Boolean,
1561
+ default: !1
1557
1562
  }
1558
1563
  }, pt = (l) => {
1559
1564
  const c = window.location.search;
1560
1565
  return new URLSearchParams(c).get(l);
1561
1566
  }, wa = (l) => {
1562
- const c = Te.local.getItem("x_domain");
1567
+ const c = Se.local.getItem("x_domain");
1563
1568
  c && (l["X-DOMAIN"] = c);
1564
1569
  }, Ca = (l) => {
1565
1570
  var e;
@@ -1570,13 +1575,13 @@ const Oa = {
1570
1575
  c === "APPLICATION" && (l["X-APP"] = t);
1571
1576
  } else
1572
1577
  wa(l);
1573
- (e = Te.local.getItem("tenant")) == null || e.code;
1578
+ (e = Se.local.getItem("tenant")) == null || e.code;
1574
1579
  }, Ba = (l, c) => {
1575
1580
  const e = B([]), t = async (h, O) => {
1576
- var V, S, j;
1581
+ var U, L, j;
1577
1582
  const { url: v, methods: F, headers: x, param: C } = l.value || {}, A = {
1578
1583
  // 额外参数
1579
- rootDepartmentId: ((V = Te.local.getItem("now_shop")) == null ? void 0 : V.storeId) || "",
1584
+ rootDepartmentId: ((U = Se.local.getItem("now_shop")) == null ? void 0 : U.storeId) || "",
1580
1585
  parentDepartmentId: h || "",
1581
1586
  name: O || "",
1582
1587
  rootDepartmentOnly: c.rootDepartmentOnly,
@@ -1592,7 +1597,7 @@ const Oa = {
1592
1597
  data: JSON.stringify(A)
1593
1598
  };
1594
1599
  Ca(o.headers);
1595
- const a = await Et(o), { success: i, data: w } = a.data;
1600
+ const a = await Mt(o), { success: i, data: w } = a.data;
1596
1601
  if (!i)
1597
1602
  return {
1598
1603
  groupList: [],
@@ -1609,14 +1614,14 @@ const Oa = {
1609
1614
  users: $,
1610
1615
  rootOrganization: f,
1611
1616
  rootDepartment: ne
1612
- } = w, U = f || ne;
1617
+ } = w, V = f || ne;
1613
1618
  return e.value.length === 0 && (e.value[0] = c.org ? {
1614
1619
  ...c.org,
1615
1620
  id: c.elementId,
1616
- elementType: (j = (S = c.org) == null ? void 0 : S.elementType) == null ? void 0 : j.toLocaleUpperCase()
1621
+ elementType: (j = (L = c.org) == null ? void 0 : L.elementType) == null ? void 0 : j.toLocaleUpperCase()
1617
1622
  } : {
1618
- ...U,
1619
- id: U.elementId
1623
+ ...V,
1624
+ id: V.elementId
1620
1625
  }), {
1621
1626
  groupList: se.cloneDeep(d),
1622
1627
  roleList: se.cloneDeep(g),
@@ -1641,14 +1646,11 @@ const Oa = {
1641
1646
  props: Oa,
1642
1647
  emits: ["handChild", "update:show", "update:modelValue", "ok", "search"],
1643
1648
  setup(l, { expose: c, emit: e }) {
1644
- vt((n) => ({
1645
- v57dba46f: Se.value
1646
- }));
1647
- const t = l, k = B(""), h = B(""), O = B([]), v = B([]), F = B([]), x = B([]), C = B(!1), A = R(() => j.value.includes("user") ? v.value.concat(O.value) : v.value);
1649
+ const t = l, b = B(""), h = B(""), O = B([]), v = B([]), F = B([]), x = B([]), C = B(!1), A = R(() => j.value.includes("user") ? v.value.concat(O.value) : v.value);
1648
1650
  re(
1649
1651
  () => t.api,
1650
1652
  () => {
1651
- t.show && V("");
1653
+ t.show && U("");
1652
1654
  }
1653
1655
  );
1654
1656
  const o = R(() => ({
@@ -1663,34 +1665,34 @@ const Oa = {
1663
1665
  post: "POST",
1664
1666
  group: "DEPT",
1665
1667
  ...t.typeOption
1666
- })), i = B([]), w = Ba(kt(t, "api"), t), d = w.handData, g = w.bannerList;
1667
- t.immediate && d(h.value, k.value);
1668
+ })), i = B([]), w = Ba(At(t, "api"), t), d = w.handData, g = w.bannerList;
1669
+ t.immediate && d(h.value, b.value);
1668
1670
  const W = (n) => (n.forEach((p) => {
1669
- var L, G;
1670
- p.disabled = ((G = (L = t.modelValue) == null ? void 0 : L.find(
1671
- (he) => he[o.value.id] === p[o.value.id]
1671
+ var S, G;
1672
+ p.disabled = ((G = (S = t.modelValue) == null ? void 0 : S.find(
1673
+ (be) => be[o.value.id] === p[o.value.id]
1672
1674
  )) == null ? void 0 : G.disabled) || !1;
1673
1675
  }), n), $ = async () => {
1674
- var n, p, L, G, he, q, _e, qe;
1676
+ var n, p, S, G, be, q, _e, Ke;
1675
1677
  C.value = !0;
1676
1678
  try {
1677
- if ((n = t.groupList) != null && n.length || (p = t.userList) != null && p.length || (L = t.roleList) != null && L.length || (G = t.postList) != null && G.length) {
1678
- O.value = (he = t.userList) == null ? void 0 : he.filter(
1679
- (be) => be[o.value.name].includes(k.value)
1679
+ if ((n = t.groupList) != null && n.length || (p = t.userList) != null && p.length || (S = t.roleList) != null && S.length || (G = t.postList) != null && G.length) {
1680
+ O.value = (be = t.userList) == null ? void 0 : be.filter(
1681
+ (ke) => ke[o.value.name].includes(b.value)
1680
1682
  ), v.value = (q = t.groupList) == null ? void 0 : q.filter(
1681
- (be) => be[o.value.name].includes(k.value)
1683
+ (ke) => ke[o.value.name].includes(b.value)
1682
1684
  ), F.value = (_e = t.roleList) == null ? void 0 : _e.filter(
1683
- (be) => be[o.value.name].includes(k.value)
1684
- ), x.value = (qe = t.postList) == null ? void 0 : qe.filter(
1685
- (be) => be[o.value.name].includes(k.value)
1685
+ (ke) => ke[o.value.name].includes(b.value)
1686
+ ), x.value = (Ke = t.postList) == null ? void 0 : Ke.filter(
1687
+ (ke) => ke[o.value.name].includes(b.value)
1686
1688
  ), ee(), C.value = !1;
1687
1689
  return;
1688
1690
  }
1689
- const de = await d(h.value, k.value);
1691
+ const de = await d(h.value, b.value);
1690
1692
  try {
1691
1693
  O.value = W((de == null ? void 0 : de.userList) || []), v.value = W((de == null ? void 0 : de.groupList) || []), F.value = W((de == null ? void 0 : de.roleList) || []), x.value = W((de == null ? void 0 : de.postList) || []);
1692
- } catch (be) {
1693
- C.value = !1, console.info("error: ", be);
1694
+ } catch (ke) {
1695
+ C.value = !1, console.info("error: ", ke);
1694
1696
  }
1695
1697
  ee(), C.value = !1;
1696
1698
  } catch {
@@ -1714,18 +1716,18 @@ const Oa = {
1714
1716
  // 半选状态
1715
1717
  checkAll: 0
1716
1718
  // 全选状态(0: 未选, 1: 全选)
1717
- }), U = (n) => f.group.has(n) || f.user.has(n) || f.role.has(n) || f.post.has(n), V = $t.debounce($, 300), S = R(() => {
1718
- const n = Array.from(f.group.values()), p = Array.from(f.role.values()), L = Array.from(f.user.values()), G = Array.from(f.post.values());
1719
- return i.value = [...p, ...G, ...L, ...n], {
1720
- list: [...p, ...L, ...G, ...n],
1719
+ }), V = (n) => f.group.has(n) || f.user.has(n) || f.role.has(n) || f.post.has(n), U = $t.debounce($, 300), L = R(() => {
1720
+ const n = Array.from(f.group.values()), p = Array.from(f.role.values()), S = Array.from(f.user.values()), G = Array.from(f.post.values());
1721
+ return i.value = [...p, ...G, ...S, ...n], {
1722
+ list: [...p, ...S, ...G, ...n],
1721
1723
  // 所有选中项
1722
1724
  role: {
1723
1725
  list: p,
1724
1726
  len: p.length
1725
1727
  },
1726
1728
  user: {
1727
- list: L,
1728
- len: L.length
1729
+ list: S,
1730
+ len: S.length
1729
1731
  },
1730
1732
  post: {
1731
1733
  list: G,
@@ -1737,16 +1739,16 @@ const Oa = {
1737
1739
  }
1738
1740
  };
1739
1741
  }), j = R(() => {
1740
- const n = t.chooseType.map((L) => L.toLocaleLowerCase());
1742
+ const n = t.chooseType.map((S) => S.toLocaleLowerCase());
1741
1743
  let p = [...n];
1742
1744
  return n.includes("dep") && (p = [...p, "dept"]), n.includes("dep_user") && (p = [...p, "user"]), p;
1743
1745
  }), z = B([]), ie = (n) => {
1744
1746
  z.value = n, z.value.forEach((p) => {
1745
1747
  p.readonly = p == null ? void 0 : p.disabled;
1746
1748
  });
1747
- }, E = e, J = B(!1), ee = (n = !1) => {
1748
- var L;
1749
- const p = (L = t == null ? void 0 : t.userList) != null && L.length ? se.cloneDeep([...t == null ? void 0 : t.userList, ...t == null ? void 0 : t.groupList]) : [...v.value, ...O.value];
1749
+ }, M = e, J = B(!1), ee = (n = !1) => {
1750
+ var S;
1751
+ const p = (S = t == null ? void 0 : t.userList) != null && S.length ? se.cloneDeep([...t == null ? void 0 : t.userList, ...t == null ? void 0 : t.groupList]) : [...v.value, ...O.value];
1750
1752
  return !n && ie(p), p;
1751
1753
  };
1752
1754
  re(
@@ -1755,15 +1757,17 @@ const Oa = {
1755
1757
  var p;
1756
1758
  if (J.value = n, n) {
1757
1759
  h.value = ((p = t.org) == null ? void 0 : p.elementId) || t.orgPid, !t.userList.length && !t.groupList.length && !t.roleList.length && !t.postList.length ? await $() : (O.value = t.userList, v.value = t.groupList, F.value = t.roleList, x.value = t.postList), f.trans = [], ne.checkAll = 0, ne.indeterminate = !1;
1758
- const L = ee(!0);
1759
- for (const he of L)
1760
- U(he[o.value.id]) && f.trans.push(he[o.value.id]);
1761
- const G = L.length === f.trans.length;
1762
- ne.indeterminate = !!(L.length && !G), ne.checkAll = Number(L.length && G), st(() => {
1763
- var he;
1764
- (he = t.modelValue) != null && he.length ? t.modelValue.forEach((q) => {
1765
- me(q), t.multiple ? f.trans.push(q[o.value.id]) : f.single = q[o.value.id];
1766
- }) : N();
1760
+ const S = ee(!0);
1761
+ st(() => {
1762
+ var G;
1763
+ if ((G = t.modelValue) != null && G.length) {
1764
+ t.modelValue.forEach((q) => {
1765
+ ge(q), t.multiple ? f.trans.push(q[o.value.id]) : f.single = q[o.value.id];
1766
+ });
1767
+ const be = S.length === f.trans.length;
1768
+ ne.indeterminate = !!(S.length && !be), ne.checkAll = Number(S.length && be);
1769
+ } else
1770
+ N();
1767
1771
  });
1768
1772
  } else
1769
1773
  N();
@@ -1776,18 +1780,18 @@ const Oa = {
1776
1780
  () => t.modelValue,
1777
1781
  (n) => {
1778
1782
  n != null && n.length ? n.forEach((p) => {
1779
- me(p), t.multiple ? f.trans.push(p[o.value.id]) : f.single = p[o.value.id];
1783
+ ge(p), t.multiple ? f.trans.push(p[o.value.id]) : f.single = p[o.value.id];
1780
1784
  }) : N();
1781
1785
  }
1782
1786
  );
1783
1787
  const fe = (n) => {
1784
1788
  var p;
1785
- if (n) {
1789
+ if (t.debug && console.log("删除项:", n), !!n) {
1786
1790
  if (f.single = "", n[o.value.id]) {
1787
- const L = (p = f.trans) == null ? void 0 : p.findIndex(
1791
+ const S = (p = f.trans) == null ? void 0 : p.findIndex(
1788
1792
  (G) => G === n[o.value.id]
1789
1793
  );
1790
- L !== -1 && f.trans.splice(L, 1);
1794
+ S !== -1 && f.trans.splice(S, 1);
1791
1795
  }
1792
1796
  switch (n[o.value.type]) {
1793
1797
  case a.value.user:
@@ -1802,13 +1806,13 @@ const Oa = {
1802
1806
  return;
1803
1807
  }
1804
1808
  }
1805
- }, Re = (n) => {
1809
+ }, Ne = (n) => {
1806
1810
  fe(n);
1807
- }, We = () => {
1808
- }, Ge = (n) => {
1809
- Ye();
1810
- }, Ye = () => {
1811
- f.user.clear(), f.role.clear(), f.post.clear(), f.group.clear(), i.value.forEach((n) => {
1811
+ }, Ge = () => {
1812
+ }, Ye = (n) => {
1813
+ Qe();
1814
+ }, Qe = () => {
1815
+ t.debug && console.log("更新选中项的Map数据结构:", i.value), f.user.clear(), f.role.clear(), f.post.clear(), f.group.clear(), i.value.forEach((n) => {
1812
1816
  const p = n[o.value.id];
1813
1817
  switch (n[o.value.type]) {
1814
1818
  case a.value.user:
@@ -1825,8 +1829,8 @@ const Oa = {
1825
1829
  break;
1826
1830
  }
1827
1831
  });
1828
- }, me = (n) => {
1829
- if (!U(n[o.value.id])) {
1832
+ }, ge = (n) => {
1833
+ if (!V(n[o.value.id])) {
1830
1834
  const p = {
1831
1835
  ...n
1832
1836
  // readonly: item.disabled // 保留原有的禁用状态
@@ -1844,7 +1848,7 @@ const Oa = {
1844
1848
  return;
1845
1849
  }
1846
1850
  }
1847
- }, Qe = (n) => [a.value.group].includes(
1851
+ }, Xe = (n) => [a.value.group].includes(
1848
1852
  n[o.value.type]
1849
1853
  ) ? n == null ? void 0 : n.hasOwnProperty("disabled") : !1;
1850
1854
  re(
@@ -1856,10 +1860,10 @@ const Oa = {
1856
1860
  });
1857
1861
  else {
1858
1862
  const p = z.value.filter(
1859
- (L) => n.includes(L[o.value.id])
1863
+ (S) => n.includes(S[o.value.id])
1860
1864
  );
1861
- for (const L of p)
1862
- L.disabled = Qe(L), me(L);
1865
+ for (const S of p)
1866
+ S.disabled = Xe(S), ge(S);
1863
1867
  }
1864
1868
  },
1865
1869
  { deep: !0 }
@@ -1868,17 +1872,17 @@ const Oa = {
1868
1872
  (n) => {
1869
1873
  var p;
1870
1874
  if (n) {
1871
- const L = (p = z.value) == null ? void 0 : p.find((G) => G[o.value.id] === n);
1872
- L && (f.user.clear(), f.role.clear(), f.post.clear(), f.group.clear(), f.trans = [], st(() => {
1873
- me(L);
1875
+ const S = (p = z.value) == null ? void 0 : p.find((G) => G[o.value.id] === n);
1876
+ S && (f.user.clear(), f.role.clear(), f.post.clear(), f.group.clear(), f.trans = [], st(() => {
1877
+ ge(S);
1874
1878
  }));
1875
1879
  }
1876
1880
  }
1877
1881
  );
1878
1882
  const r = (n) => {
1879
1883
  h.value = n == null ? void 0 : n.elementId, $(), g.value.push(n);
1880
- }, M = R(() => g.value.length), _ = (n, p) => {
1881
- !p && !t.topLink || p !== M.value - 1 && (h.value = n == null ? void 0 : n.elementId, $(), g.value.splice(p + 1));
1884
+ }, E = R(() => g.value.length), _ = (n, p) => {
1885
+ !p && !t.topLink || p !== E.value - 1 && (h.value = n == null ? void 0 : n.elementId, $(), g.value.splice(p + 1));
1882
1886
  }, I = R(
1883
1887
  () => t.chooseType.includes("role") && t.chooseType.length === 1
1884
1888
  ), H = R(
@@ -1886,95 +1890,95 @@ const Oa = {
1886
1890
  ), K = B(t.tabs[0]), Y = B(t.tabs[0]);
1887
1891
  ot(() => (Y.value = I.value ? t.tabs[1] : H.value ? t.tabs[2] : K.value, Y.value));
1888
1892
  const N = () => {
1889
- f.user.clear(), f.role.clear(), f.post.clear(), f.group.clear(), f.trans = [], ye.value = [], Ie.value = [], K.value = t.tabs[0], Y.value = t.tabs[0], k.value = "", h.value = t.orgPid, g.value.splice(1, g.value.length), f.single = "", i.value = [];
1893
+ f.user.clear(), f.role.clear(), f.post.clear(), f.group.clear(), f.trans = [], me.value = [], Ie.value = [], K.value = t.tabs[0], Y.value = t.tabs[0], b.value = "", h.value = t.orgPid, g.value.splice(1, g.value.length), f.single = "", i.value = [];
1890
1894
  }, Q = () => {
1891
1895
  var n;
1892
- E(
1896
+ M(
1893
1897
  "ok",
1894
1898
  se.cloneDeep({
1895
1899
  // 所有选项、部门、人员、角色分别列出
1896
- ...S.value,
1900
+ ...L.value,
1897
1901
  // 排序后的列表
1898
1902
  sort: i.value
1899
1903
  })
1900
- ), E("update:modelValue", se.cloneDeep(((n = S.value) == null ? void 0 : n.list) || [])), E("update:show", !1), N();
1901
- }, ke = () => {
1902
- E("update:show", !1), N();
1904
+ ), M("update:modelValue", se.cloneDeep(((n = L.value) == null ? void 0 : n.list) || [])), M("update:show", !1), N();
1905
+ }, Ae = () => {
1906
+ M("update:show", !1), N();
1903
1907
  };
1904
1908
  c({
1905
1909
  handClear: N,
1906
1910
  // 清空所有选择
1907
- handRomeve: Re,
1911
+ handRomeve: Ne,
1908
1912
  // 移除选中项
1909
1913
  handDelete: fe
1910
1914
  // 删除选中项
1911
1915
  });
1912
- const Ue = R(() => {
1916
+ const Te = R(() => {
1913
1917
  const n = j.value;
1914
1918
  return !!((n.includes("post") || n.includes("role")) && n.length > 1);
1915
- }), Ve = R(() => [
1919
+ }), Ue = R(() => [
1916
1920
  { name: "group", label: "组织架构" },
1917
1921
  { name: "role", label: "角色列表" },
1918
1922
  { name: "post", label: "岗位列表" }
1919
- ].filter((n) => t.tabs.includes(n.name))), Se = R(
1923
+ ].filter((n) => t.tabs.includes(n.name))), Ve = R(
1920
1924
  () => `${typeof t.height == "string" ? Number.parseInt(t.height) : t.height}px`
1921
1925
  ), Be = () => {
1922
1926
  t.multiple || (f.post.clear(), f.role.clear(), f.user.clear(), f.group.clear(), f.single = "");
1923
- }, we = R(() => S.value.groups.list.concat(S.value.user.list)), ve = (n, p) => {
1927
+ }, we = R(() => L.value.groups.list.concat(L.value.user.list)), he = (n, p) => {
1924
1928
  t.multiple || (f.single = "");
1925
- const L = t.multiple ? n : [n];
1926
- if (!L.length) {
1929
+ const S = t.multiple ? n : [n];
1930
+ if (!S.length) {
1927
1931
  f.group.clear(), f.user.clear();
1928
1932
  return;
1929
1933
  }
1930
1934
  Be(), p.forEach((G) => {
1931
- L != null && L.includes(G[o.value.id]) ? me(G) : fe(G);
1935
+ S != null && S.includes(G[o.value.id]) ? ge(G) : fe(G);
1932
1936
  });
1933
- }, ye = B([]), Xe = (n, p) => {
1937
+ }, me = B([]), qe = (n, p) => {
1934
1938
  t.multiple || (f.single = "");
1935
- const L = t.multiple ? n : [n];
1936
- if (!L.length) {
1939
+ const S = t.multiple ? n : [n];
1940
+ if (!S.length) {
1937
1941
  f.role.clear();
1938
1942
  return;
1939
1943
  }
1940
1944
  Be(), p.forEach((G) => {
1941
- L != null && L.includes(G[o.value.id]) ? me(G) : fe(G);
1945
+ S != null && S.includes(G[o.value.id]) ? ge(G) : fe(G);
1942
1946
  });
1943
1947
  };
1944
1948
  re(
1945
- () => S.value.role.len,
1949
+ () => L.value.role.len,
1946
1950
  (n) => {
1947
- ye.value = se.cloneDeep(S.value.role.list);
1951
+ me.value = se.cloneDeep(L.value.role.list);
1948
1952
  }
1949
1953
  );
1950
- const Ie = B([]), At = (n, p) => {
1954
+ const Ie = B([]), yt = (n, p) => {
1951
1955
  t.multiple || (f.single = "");
1952
- const L = t.multiple ? n : [n];
1953
- if (!L.length) {
1956
+ const S = t.multiple ? n : [n];
1957
+ if (!S.length) {
1954
1958
  f.post.clear();
1955
1959
  return;
1956
1960
  }
1957
1961
  Be(), p.forEach((G) => {
1958
- L != null && L.includes(G[o.value.id]) ? me(G) : fe(G);
1962
+ S != null && S.includes(G[o.value.id]) ? ge(G) : fe(G);
1959
1963
  });
1960
1964
  };
1961
1965
  return re(
1962
- () => S.value.post.len,
1966
+ () => L.value.post.len,
1963
1967
  (n) => {
1964
- Ie.value = se.cloneDeep(S.value.post.list);
1968
+ Ie.value = se.cloneDeep(L.value.post.list);
1965
1969
  }
1966
1970
  ), re(
1967
- () => k.value,
1971
+ () => b.value,
1968
1972
  (n) => {
1969
- V("");
1973
+ U("");
1970
1974
  }
1971
1975
  ), (n, p) => {
1972
- const L = te("el-tab-pane"), G = te("el-tabs"), he = te("el-scrollbar");
1976
+ const S = te("el-tab-pane"), G = te("el-tabs"), be = te("el-scrollbar");
1973
1977
  return s(), y(
1974
1978
  Z,
1975
1979
  null,
1976
1980
  [
1977
- b(" 主弹窗容器 "),
1981
+ k(" 主弹窗容器 "),
1978
1982
  m(T(Ct), {
1979
1983
  modelValue: J.value,
1980
1984
  "onUpdate:modelValue": p[3] || (p[3] = (q) => J.value = q),
@@ -1988,12 +1992,14 @@ const Oa = {
1988
1992
  width: typeof n.width == "string" ? n.width : `${n.width}%`,
1989
1993
  class: "p_p_picker-dialog",
1990
1994
  "modal-class": "p_p_picker-dialog-modal-user",
1991
- onClose: ke
1995
+ onClose: Ae
1992
1996
  }, {
1993
1997
  footer: P(() => [
1994
1998
  u("span", _a, [
1995
- b(" 取消按钮 "),
1996
- m(T(Je), { onClick: ke }, {
1999
+ k(" 取消按钮 "),
2000
+ m(T(Je), {
2001
+ onClick: $e(Ae, ["stop"])
2002
+ }, {
1997
2003
  default: P(() => [...p[7] || (p[7] = [
1998
2004
  ae(
1999
2005
  "取消",
@@ -2004,10 +2010,10 @@ const Oa = {
2004
2010
  _: 1
2005
2011
  /* STABLE */
2006
2012
  }),
2007
- b(" 确定按钮 "),
2013
+ k(" 确定按钮 "),
2008
2014
  m(T(Je), {
2009
2015
  type: "primary",
2010
- onClick: Q
2016
+ onClick: $e(Q, ["stop"])
2011
2017
  }, {
2012
2018
  default: P(() => [...p[8] || (p[8] = [
2013
2019
  ae(
@@ -2026,23 +2032,23 @@ const Oa = {
2026
2032
  "div",
2027
2033
  {
2028
2034
  class: "dep-use-picker",
2029
- style: Me({ height: Se.value })
2035
+ style: ze({ height: Ve.value })
2030
2036
  },
2031
2037
  [
2032
- b(" 左侧选择区域 "),
2038
+ k(" 左侧选择区域 "),
2033
2039
  u("div", Pa, [
2034
- b(" 搜索框和标签页 "),
2040
+ k(" 搜索框和标签页 "),
2035
2041
  u("div", null, [
2036
- b(" 搜索输入框 "),
2037
- m(T(Ne), {
2038
- modelValue: k.value,
2039
- "onUpdate:modelValue": p[0] || (p[0] = (q) => k.value = q),
2042
+ k(" 搜索输入框 "),
2043
+ m(T(je), {
2044
+ modelValue: b.value,
2045
+ "onUpdate:modelValue": p[0] || (p[0] = (q) => b.value = q),
2040
2046
  clearable: "",
2041
2047
  placeholder: n.placeholder,
2042
2048
  "suffix-icon": Jt
2043
2049
  }, null, 8, ["modelValue", "placeholder"]),
2044
- b(" 标签页切换 "),
2045
- Ue.value ? (s(), D(G, {
2050
+ k(" 标签页切换 "),
2051
+ Te.value ? (s(), D(G, {
2046
2052
  key: 0,
2047
2053
  modelValue: K.value,
2048
2054
  "onUpdate:modelValue": p[1] || (p[1] = (q) => K.value = q),
@@ -2052,7 +2058,7 @@ const Oa = {
2052
2058
  (s(!0), y(
2053
2059
  Z,
2054
2060
  null,
2055
- Ae(Ve.value, (q) => (s(), D(L, {
2061
+ ye(Ue.value, (q) => (s(), D(S, {
2056
2062
  label: q.label,
2057
2063
  name: q.name,
2058
2064
  key: q.label
@@ -2063,15 +2069,15 @@ const Oa = {
2063
2069
  ]),
2064
2070
  _: 1
2065
2071
  /* STABLE */
2066
- }, 8, ["modelValue"])) : b("v-if", !0)
2072
+ }, 8, ["modelValue"])) : k("v-if", !0)
2067
2073
  ]),
2068
- b(" 面包屑导航区域 "),
2069
- Y.value === T($e).group ? (s(), y(
2074
+ k(" 面包屑导航区域 "),
2075
+ Y.value === T(Me).group ? (s(), y(
2070
2076
  Z,
2071
2077
  { key: 0 },
2072
2078
  [
2073
- M.value ? (s(), y("div", La, [
2074
- b(" 面包屑导航 "),
2079
+ E.value ? (s(), y("div", La, [
2080
+ k(" 面包屑导航 "),
2075
2081
  m(T(Bt), {
2076
2082
  separator: ">",
2077
2083
  class: ce(["banner", { "top-unlink": !n.topLink }])
@@ -2080,9 +2086,9 @@ const Oa = {
2080
2086
  (s(!0), y(
2081
2087
  Z,
2082
2088
  null,
2083
- Ae(T(g), (q, _e) => (s(), D(T(Pt), {
2089
+ ye(T(g), (q, _e) => (s(), D(T(Pt), {
2084
2090
  key: q[o.value.id],
2085
- onClick: Ke((qe) => _(q, _e), ["stop"])
2091
+ onClick: $e((Ke) => _(q, _e), ["stop"])
2086
2092
  }, {
2087
2093
  default: P(() => [
2088
2094
  ae(
@@ -2101,14 +2107,14 @@ const Oa = {
2101
2107
  _: 1
2102
2108
  /* STABLE */
2103
2109
  }, 8, ["class"])
2104
- ])) : b("v-if", !0)
2110
+ ])) : k("v-if", !0)
2105
2111
  ],
2106
2112
  64
2107
2113
  /* STABLE_FRAGMENT */
2108
- )) : b("v-if", !0),
2109
- b(" 数据列表区域 "),
2110
- b(" 组织架构列表 "),
2111
- Y.value === T($e).group ? Ce((s(), D(Gl, {
2114
+ )) : k("v-if", !0),
2115
+ k(" 数据列表区域 "),
2116
+ k(" 组织架构列表 "),
2117
+ Y.value === T(Me).group ? Ce((s(), D(Gl, {
2112
2118
  key: 1,
2113
2119
  fixPropOpt: o.value,
2114
2120
  fixTypeOpt: a.value,
@@ -2118,39 +2124,39 @@ const Oa = {
2118
2124
  "hand-list": we.value,
2119
2125
  imageBaseUrl: t.imageBaseUrl,
2120
2126
  emptyText: t.emptyText,
2121
- children: t.children && !k.value,
2127
+ children: t.children && !b.value,
2122
2128
  "choose-type": j.value,
2123
2129
  onHandChild: r,
2124
- onChange: ve
2130
+ onChange: he
2125
2131
  }, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "children", "choose-type"])), [
2126
2132
  [T(Ze), C.value]
2127
- ]) : Y.value === T($e).role ? (s(), y(
2133
+ ]) : Y.value === T(Me).role ? (s(), y(
2128
2134
  Z,
2129
2135
  { key: 2 },
2130
2136
  [
2131
- b(" 角色列表 "),
2137
+ k(" 角色列表 "),
2132
2138
  Ce(m(xa, {
2133
2139
  fixPropOpt: o.value,
2134
2140
  fixTypeOpt: a.value,
2135
2141
  list: F.value,
2136
2142
  max: n.max,
2137
2143
  multiple: n.multiple,
2138
- "hand-list": ye.value,
2144
+ "hand-list": me.value,
2139
2145
  imageBaseUrl: t.imageBaseUrl,
2140
2146
  emptyText: t.emptyText,
2141
2147
  "choose-type": j.value,
2142
- onChange: Xe
2148
+ onChange: qe
2143
2149
  }, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "choose-type"]), [
2144
2150
  [T(Ze), C.value]
2145
2151
  ])
2146
2152
  ],
2147
2153
  64
2148
2154
  /* STABLE_FRAGMENT */
2149
- )) : Y.value === T($e).post ? (s(), y(
2155
+ )) : Y.value === T(Me).post ? (s(), y(
2150
2156
  Z,
2151
2157
  { key: 3 },
2152
2158
  [
2153
- b(" 岗位列表 "),
2159
+ k(" 岗位列表 "),
2154
2160
  Ce(m(oa, {
2155
2161
  fixPropOpt: o.value,
2156
2162
  fixTypeOpt: a.value,
@@ -2161,16 +2167,16 @@ const Oa = {
2161
2167
  imageBaseUrl: t.imageBaseUrl,
2162
2168
  emptyText: t.emptyText,
2163
2169
  "choose-type": j.value,
2164
- onChange: At
2170
+ onChange: yt
2165
2171
  }, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "choose-type"]), [
2166
2172
  [T(Ze), C.value]
2167
2173
  ])
2168
2174
  ],
2169
2175
  64
2170
2176
  /* STABLE_FRAGMENT */
2171
- )) : b("v-if", !0)
2177
+ )) : k("v-if", !0)
2172
2178
  ]),
2173
- b(" 分割线 "),
2179
+ k(" 分割线 "),
2174
2180
  p[6] || (p[6] = u(
2175
2181
  "div",
2176
2182
  { class: "split-div" },
@@ -2178,9 +2184,9 @@ const Oa = {
2178
2184
  -1
2179
2185
  /* CACHED */
2180
2186
  )),
2181
- b(" 右侧已选区域 "),
2187
+ k(" 右侧已选区域 "),
2182
2188
  u("div", Sa, [
2183
- b(" 已选标题和清空按钮 "),
2189
+ k(" 已选标题和清空按钮 "),
2184
2190
  u("div", Ta, [
2185
2191
  p[5] || (p[5] = u(
2186
2192
  "div",
@@ -2195,7 +2201,7 @@ const Oa = {
2195
2201
  m(T(Je), {
2196
2202
  type: "primary",
2197
2203
  link: "",
2198
- onClick: Ke(N, ["stop"])
2204
+ onClick: $e(N, ["stop"])
2199
2205
  }, {
2200
2206
  default: P(() => [...p[4] || (p[4] = [
2201
2207
  ae(
@@ -2208,10 +2214,10 @@ const Oa = {
2208
2214
  /* STABLE */
2209
2215
  })
2210
2216
  ]),
2211
- m(he, null, {
2217
+ m(be, null, {
2212
2218
  default: P(() => [
2213
- b(" 已选项目列表 "),
2214
- m(T(mt), {
2219
+ k(" 已选项目列表 "),
2220
+ m(T(gt), {
2215
2221
  modelValue: i.value,
2216
2222
  "onUpdate:modelValue": p[2] || (p[2] = (q) => i.value = q),
2217
2223
  class: "choose-box",
@@ -2221,13 +2227,13 @@ const Oa = {
2221
2227
  "ghost-class": "ghost-item",
2222
2228
  "chosen-class": "chosen-item",
2223
2229
  "drag-class": "drag-item",
2224
- onStart: We,
2225
- onEnd: Ge
2230
+ onStart: Ge,
2231
+ onEnd: Ye
2226
2232
  }, {
2227
2233
  item: P(({ element: q }) => [
2228
2234
  u("li", Ua, [
2229
2235
  u("div", Va, [
2230
- b(" 头像图标 "),
2236
+ k(" 头像图标 "),
2231
2237
  u("div", Ia, [
2232
2238
  m(pe, {
2233
2239
  fixTypeOpt: a.value,
@@ -2236,7 +2242,7 @@ const Oa = {
2236
2242
  imageBaseUrl: t.imageBaseUrl
2237
2243
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
2238
2244
  ]),
2239
- b(" 项目名称 "),
2245
+ k(" 项目名称 "),
2240
2246
  u(
2241
2247
  "span",
2242
2248
  null,
@@ -2245,10 +2251,10 @@ const Oa = {
2245
2251
  /* TEXT */
2246
2252
  )
2247
2253
  ]),
2248
- b(" 删除按钮 "),
2254
+ k(" 删除按钮 "),
2249
2255
  Ce(m(al, {
2250
2256
  class: "close",
2251
- onClick: Ke((_e) => Re(q), ["stop"])
2257
+ onClick: $e((_e) => Ne(q), ["stop"])
2252
2258
  }, null, 8, ["onClick"]), [
2253
2259
  [bt, !(q != null && q.readonly)]
2254
2260
  ])
@@ -2276,7 +2282,7 @@ const Oa = {
2276
2282
  );
2277
2283
  };
2278
2284
  }
2279
- }), $a = ze(Da), Ea = { class: "check-right" }, Ma = { class: "dialog-footer" }, za = /* @__PURE__ */ ue({
2285
+ }), $a = Re(Da), Ma = { class: "check-right" }, Ea = { class: "dialog-footer" }, za = /* @__PURE__ */ ue({
2280
2286
  __name: "IkBtnSetting",
2281
2287
  props: /* @__PURE__ */ Ee({
2282
2288
  list: {
@@ -2336,65 +2342,65 @@ const Oa = {
2336
2342
  }),
2337
2343
  emits: /* @__PURE__ */ Ee(["sort"], ["update:modelValue"]),
2338
2344
  setup(l, { emit: c }) {
2339
- const e = l, t = c, k = et(l, "modelValue"), { t: h, dialog: O, path: v, user: F } = e.config, x = R(() => `${F == null ? void 0 : F.id}_${v}${e.tab !== "" ? `_${e.tab}` : ""}`), C = B([]), A = B([]), o = B([]), a = /* @__PURE__ */ new Map(), i = B(!1), w = R(() => {
2340
- const V = A.value.length && A.value.length !== e.list.length;
2341
- return !V && A.value.length && (i.value = !0), !!V;
2342
- }), d = (V) => {
2345
+ const e = l, t = c, b = et(l, "modelValue"), { t: h, dialog: O, path: v, user: F } = e.config, x = R(() => `${F == null ? void 0 : F.id}_${v}${e.tab !== "" ? `_${e.tab}` : ""}`), C = B([]), A = B([]), o = B([]), a = /* @__PURE__ */ new Map(), i = B(!1), w = R(() => {
2346
+ const U = A.value.length && A.value.length !== e.list.length;
2347
+ return !U && A.value.length && (i.value = !0), !!U;
2348
+ }), d = (U) => {
2343
2349
  var j;
2344
- const S = se.cloneDeep(o.value);
2345
- S == null || S.forEach((z) => {
2350
+ const L = se.cloneDeep(o.value);
2351
+ L == null || L.forEach((z) => {
2346
2352
  var ie;
2347
2353
  if (!A.value.length)
2348
2354
  o.value = [];
2349
2355
  else if (!A.value.includes(z == null ? void 0 : z.key)) {
2350
- const E = (ie = o.value) == null ? void 0 : ie.findIndex((J) => J.key === z.key);
2351
- E !== -1 && o.value.splice(E, 1), z.show = !1, a.set(z.key, z);
2356
+ const M = (ie = o.value) == null ? void 0 : ie.findIndex((J) => J.key === z.key);
2357
+ M !== -1 && o.value.splice(M, 1), z.show = !1, a.set(z.key, z);
2352
2358
  }
2353
2359
  }), A.value.forEach((z) => {
2354
- var E;
2355
- if (((E = o.value) == null ? void 0 : E.findIndex((J) => (J == null ? void 0 : J.key) === z)) === -1) {
2360
+ var M;
2361
+ if (((M = o.value) == null ? void 0 : M.findIndex((J) => (J == null ? void 0 : J.key) === z)) === -1) {
2356
2362
  const J = a.get(z);
2357
2363
  J && (J.show = !0, o.value.push(J));
2358
2364
  }
2359
- }), (j = o.value) != null && j.length || (o.value = se.cloneDeep(e.list)), V === !0 && (t("sort", se.cloneDeep(o.value)), k.value = se.cloneDeep(o.value));
2360
- }, g = (V) => {
2361
- if (V)
2362
- A.value = e.list.map((S) => S.key);
2365
+ }), (j = o.value) != null && j.length || (o.value = se.cloneDeep(e.list)), U === !0 && (t("sort", se.cloneDeep(o.value)), b.value = se.cloneDeep(o.value));
2366
+ }, g = (U) => {
2367
+ if (U)
2368
+ A.value = e.list.map((L) => L.key);
2363
2369
  else {
2364
- const S = e.list.find((j) => !j.key || j.label === "操作");
2365
- A.value = S ? [S.key] : [];
2370
+ const L = e.list.find((j) => !j.key || j.label === "操作");
2371
+ A.value = L ? [L.key] : [];
2366
2372
  }
2367
2373
  d();
2368
2374
  }, W = () => {
2369
- const V = Te.local.getItem(x.value);
2375
+ const U = Se.local.getItem(x.value);
2370
2376
  try {
2371
- const S = se.cloneDeep(e == null ? void 0 : e.list);
2372
- if ((!V || !(V != null && V.length)) && Te.local.setItem(
2377
+ const L = se.cloneDeep(e == null ? void 0 : e.list);
2378
+ if ((!U || !(U != null && U.length)) && Se.local.setItem(
2373
2379
  x.value,
2374
- S.map(({ show: j, type: z, key: ie, label: E, width: J, minWidth: ee, align: fe }) => ({
2380
+ L.map(({ show: j, type: z, key: ie, label: M, width: J, minWidth: ee, align: fe }) => ({
2375
2381
  show: j,
2376
2382
  key: ie,
2377
2383
  type: z,
2378
- label: E,
2384
+ label: M,
2379
2385
  width: J,
2380
2386
  minWidth: ee,
2381
2387
  align: fe
2382
2388
  }))
2383
2389
  ), C.value = [
2384
- ...(S == null ? void 0 : S.map((j) => (a.set(j.key, j), {
2390
+ ...(L == null ? void 0 : L.map((j) => (a.set(j.key, j), {
2385
2391
  ...j,
2386
2392
  show: j.show || !1
2387
2393
  }))) || []
2388
- ], V) {
2389
- const j = V.filter((z) => z.show).map((z) => z.key);
2394
+ ], U) {
2395
+ const j = U.filter((z) => z.show).map((z) => z.key);
2390
2396
  A.value = [...j];
2391
2397
  } else {
2392
2398
  const j = C.value.filter((z) => z.show);
2393
2399
  A.value = j.map((z) => z.key);
2394
2400
  }
2395
2401
  d(!0);
2396
- } catch (S) {
2397
- console.info("error: ", S);
2402
+ } catch (L) {
2403
+ console.info("error: ", L);
2398
2404
  }
2399
2405
  };
2400
2406
  W(), re(() => e.list, () => {
@@ -2402,36 +2408,36 @@ const Oa = {
2402
2408
  }, { deep: !0 });
2403
2409
  const $ = B(!1), f = () => {
2404
2410
  $.value = !0;
2405
- }, ne = (V) => {
2406
- o.value = V;
2407
- }, U = () => {
2408
- $.value = !1, Te.local.setItem(
2411
+ }, ne = (U) => {
2412
+ o.value = U;
2413
+ }, V = () => {
2414
+ $.value = !1, Se.local.setItem(
2409
2415
  x.value,
2410
- o.value.map(({ show: V, key: S, label: j, value: z, width: ie, minWidth: E, align: J }) => ({
2411
- show: V,
2412
- key: S,
2416
+ o.value.map(({ show: U, key: L, label: j, value: z, width: ie, minWidth: M, align: J }) => ({
2417
+ show: U,
2418
+ key: L,
2413
2419
  label: j,
2414
2420
  value: z,
2415
2421
  width: ie,
2416
- minWidth: E,
2422
+ minWidth: M,
2417
2423
  align: J
2418
2424
  }))
2419
- ), t("sort", se.cloneDeep(o.value)), k.value = se.cloneDeep(o.value);
2425
+ ), t("sort", se.cloneDeep(o.value)), b.value = se.cloneDeep(o.value);
2420
2426
  };
2421
- return (V, S) => {
2422
- const j = te("el-button"), z = te("el-checkbox"), ie = te("el-checkbox-group"), E = te("el-dialog"), J = tt("role");
2427
+ return (U, L) => {
2428
+ const j = te("el-button"), z = te("el-checkbox"), ie = te("el-checkbox-group"), M = te("el-dialog"), J = tt("role");
2423
2429
  return s(), y(
2424
2430
  Z,
2425
2431
  null,
2426
2432
  [
2427
- l.btnType === "button" ? Ce((s(), D(j, le({ key: 0 }, V.$attrs, {
2433
+ l.btnType === "button" ? Ce((s(), D(j, le({ key: 0 }, U.$attrs, {
2428
2434
  circle: l.circle,
2429
2435
  type: l.type,
2430
2436
  style: { minWidth: l.circle ? "40px" : "", minHeight: l.circle ? "40px" : "" },
2431
2437
  onClick: f
2432
- }), xt({
2438
+ }), kt({
2433
2439
  icon: P(() => [
2434
- S[4] || (S[4] = u(
2440
+ L[4] || (L[4] = u(
2435
2441
  "i",
2436
2442
  { class: "ik ik-shezhi" },
2437
2443
  null,
@@ -2445,7 +2451,7 @@ const Oa = {
2445
2451
  l.circle ? void 0 : {
2446
2452
  name: "default",
2447
2453
  fn: P(() => [
2448
- b(' {{ t("action.setting") }} '),
2454
+ k(' {{ t("action.setting") }} '),
2449
2455
  ae(
2450
2456
  " " + X(T(h)("设置")),
2451
2457
  1
@@ -2455,8 +2461,8 @@ const Oa = {
2455
2461
  key: "0"
2456
2462
  }
2457
2463
  ]), 1040, ["circle", "type", "style"])), [
2458
- [J, V.$props.role]
2459
- ]) : b("v-if", !0),
2464
+ [J, U.$props.role]
2465
+ ]) : k("v-if", !0),
2460
2466
  l.btnType === "icon" ? Ce((s(), D(
2461
2467
  T(Oe),
2462
2468
  le({
@@ -2464,16 +2470,16 @@ const Oa = {
2464
2470
  name: "iksvg_shezhi-daohang",
2465
2471
  "show-bg": "",
2466
2472
  size: "default"
2467
- }, V.$attrs, { onClick: f }),
2473
+ }, U.$attrs, { onClick: f }),
2468
2474
  null,
2469
2475
  16
2470
2476
  /* FULL_PROPS */
2471
2477
  )), [
2472
- [J, V.$props.role]
2473
- ]) : b("v-if", !0),
2474
- m(E, {
2478
+ [J, U.$props.role]
2479
+ ]) : k("v-if", !0),
2480
+ m(M, {
2475
2481
  modelValue: $.value,
2476
- "onUpdate:modelValue": S[3] || (S[3] = (ee) => $.value = ee),
2482
+ "onUpdate:modelValue": L[3] || (L[3] = (ee) => $.value = ee),
2477
2483
  draggable: "",
2478
2484
  width: l.inline ? T(O).l : T(O).sl,
2479
2485
  "close-on-click-modal": !1,
@@ -2483,9 +2489,9 @@ const Oa = {
2483
2489
  onOpen: W
2484
2490
  }, {
2485
2491
  footer: P(() => [
2486
- u("div", Ma, [
2492
+ u("div", Ea, [
2487
2493
  m(j, {
2488
- onClick: S[2] || (S[2] = (ee) => $.value = !1)
2494
+ onClick: L[2] || (L[2] = (ee) => $.value = !1)
2489
2495
  }, {
2490
2496
  default: P(() => [
2491
2497
  ae(
@@ -2493,7 +2499,7 @@ const Oa = {
2493
2499
  1
2494
2500
  /* TEXT */
2495
2501
  ),
2496
- b(' {{ t("action.close") }} ')
2502
+ k(' {{ t("action.close") }} ')
2497
2503
  ]),
2498
2504
  _: 1
2499
2505
  /* STABLE */
@@ -2501,7 +2507,7 @@ const Oa = {
2501
2507
  m(j, {
2502
2508
  type: "primary",
2503
2509
  disabled: o.value.length < 2,
2504
- onClick: U
2510
+ onClick: V
2505
2511
  }, {
2506
2512
  default: P(() => [
2507
2513
  ae(
@@ -2525,17 +2531,17 @@ const Oa = {
2525
2531
  u(
2526
2532
  "div",
2527
2533
  {
2528
- style: Me({ flex: l.inline ? 2 : 1 })
2534
+ style: ze({ flex: l.inline ? 2 : 1 })
2529
2535
  },
2530
2536
  [
2531
2537
  m(z, {
2532
2538
  modelValue: i.value,
2533
- "onUpdate:modelValue": S[0] || (S[0] = (ee) => i.value = ee),
2539
+ "onUpdate:modelValue": L[0] || (L[0] = (ee) => i.value = ee),
2534
2540
  class: "single-line",
2535
2541
  indeterminate: w.value,
2536
2542
  onChange: g
2537
2543
  }, {
2538
- default: P(() => [...S[5] || (S[5] = [
2544
+ default: P(() => [...L[5] || (L[5] = [
2539
2545
  ae(
2540
2546
  " 全选 ",
2541
2547
  -1
@@ -2547,14 +2553,14 @@ const Oa = {
2547
2553
  }, 8, ["modelValue", "indeterminate"]),
2548
2554
  m(ie, {
2549
2555
  modelValue: A.value,
2550
- "onUpdate:modelValue": S[1] || (S[1] = (ee) => A.value = ee),
2556
+ "onUpdate:modelValue": L[1] || (L[1] = (ee) => A.value = ee),
2551
2557
  onChange: d
2552
2558
  }, {
2553
2559
  default: P(() => [
2554
2560
  (s(!0), y(
2555
2561
  Z,
2556
2562
  null,
2557
- Ae(C.value, (ee) => (s(), D(z, {
2563
+ ye(C.value, (ee) => (s(), D(z, {
2558
2564
  key: ee.key,
2559
2565
  disabled: !ee.key,
2560
2566
  label: ee.key
@@ -2580,7 +2586,7 @@ const Oa = {
2580
2586
  4
2581
2587
  /* STYLE */
2582
2588
  ),
2583
- u("div", Ea, [
2589
+ u("div", Ma, [
2584
2590
  m(T(Wa), {
2585
2591
  list: o.value,
2586
2592
  "item-style": { bottom: 4 },
@@ -2601,7 +2607,7 @@ const Oa = {
2601
2607
  );
2602
2608
  };
2603
2609
  }
2604
- }), Ra = /* @__PURE__ */ oe(za, [["__scopeId", "data-v-b5ed17ed"]]), Na = ze(Ra), ft = {
2610
+ }), Ra = /* @__PURE__ */ oe(za, [["__scopeId", "data-v-b5ed17ed"]]), Na = Re(Ra), ft = {
2605
2611
  animation: 200,
2606
2612
  group: "gl",
2607
2613
  disabled: !1,
@@ -2757,11 +2763,11 @@ const Oa = {
2757
2763
  props: ja,
2758
2764
  emits: ["change"],
2759
2765
  setup(l, { emit: c }) {
2760
- const e = l, t = c, k = B([]);
2766
+ const e = l, t = c, b = B([]);
2761
2767
  re(
2762
2768
  () => e.list,
2763
2769
  (x) => {
2764
- k.value = se.cloneDeep(x);
2770
+ b.value = se.cloneDeep(x);
2765
2771
  },
2766
2772
  {
2767
2773
  immediate: !0,
@@ -2780,7 +2786,7 @@ const Oa = {
2780
2786
  }, F = (x) => {
2781
2787
  O.value = !1;
2782
2788
  const C = e.list[x.oldIndex];
2783
- t("change", k.value, {
2789
+ t("change", b.value, {
2784
2790
  ...C,
2785
2791
  oldIndex: x.oldIndex,
2786
2792
  newIndex: x.newIndex
@@ -2788,9 +2794,9 @@ const Oa = {
2788
2794
  };
2789
2795
  return (x, C) => {
2790
2796
  const A = te("el-icon");
2791
- return s(), D(T(mt), {
2792
- modelValue: k.value,
2793
- "onUpdate:modelValue": C[0] || (C[0] = (o) => k.value = o),
2797
+ return s(), D(T(gt), {
2798
+ modelValue: b.value,
2799
+ "onUpdate:modelValue": C[0] || (C[0] = (o) => b.value = o),
2794
2800
  class: ce(["list-group", [h.value.groupClass]]),
2795
2801
  tag: "ul",
2796
2802
  attrs: h.value,
@@ -2805,14 +2811,14 @@ const Oa = {
2805
2811
  }, {
2806
2812
  item: P(({ element: o }) => [
2807
2813
  m(
2808
- gt,
2814
+ vt,
2809
2815
  {
2810
2816
  type: "transition",
2811
2817
  name: "flip-list"
2812
2818
  },
2813
2819
  {
2814
2820
  default: P(() => [
2815
- x.$slots.item ? ge(x.$slots, "item", {
2821
+ x.$slots.item ? ve(x.$slots, "item", {
2816
2822
  key: 0,
2817
2823
  item: o
2818
2824
  }, void 0, !0) : (s(), y(
@@ -2820,7 +2826,7 @@ const Oa = {
2820
2826
  {
2821
2827
  key: 1,
2822
2828
  class: ce(["list-group-item", [h.value.itemClass]]),
2823
- style: Me({
2829
+ style: ze({
2824
2830
  borderRadius: `${h.value.itemStyle.radius}px`,
2825
2831
  marginBottom: `${h.value.itemStyle.bottom}px`,
2826
2832
  backgroundColor: `${h.value.itemStyle.background}`
@@ -2833,7 +2839,7 @@ const Oa = {
2833
2839
  ]),
2834
2840
  _: 1
2835
2841
  /* STABLE */
2836
- })) : ge(x.$slots, "icon", { key: 1 }, void 0, !0),
2842
+ })) : ve(x.$slots, "icon", { key: 1 }, void 0, !0),
2837
2843
  ae(
2838
2844
  " " + X(o.label),
2839
2845
  1
@@ -2856,10 +2862,10 @@ const Oa = {
2856
2862
  }, 8, ["modelValue", "class", "attrs", "animation", "group", "disabled", "ghost-class", "force-fallback"]);
2857
2863
  };
2858
2864
  }
2859
- }), Fa = /* @__PURE__ */ oe(Ha, [["__scopeId", "data-v-3716c05e"]]), Wa = ze(Fa);
2865
+ }), Fa = /* @__PURE__ */ oe(Ha, [["__scopeId", "data-v-3716c05e"]]), Wa = Re(Fa);
2860
2866
  var xe = /* @__PURE__ */ ((l) => (l.input = "input", l.area = "area", l.number = "number", l.select = "select", l.date = "date", l.datetime = "datetime", l.checkbox = "checkbox", l.radio = "radio", l.treeselect = "treeselect", l.choosePerson = "choosePerson", l))(xe || {}), Pe = /* @__PURE__ */ ((l) => (l.year = "year", l.month = "month", l.date = "date", l.dates = "dates", l.datetime = "datetime", l.week = "week", l.datetimerange = "datetimerange", l.daterange = "daterange", l.monthrange = "monthrange", l))(Pe || {});
2861
2867
  function ht(l) {
2862
- return typeof l == "function" || Object.prototype.toString.call(l) === "[object Object]" && !Ot(l);
2868
+ return typeof l == "function" || Object.prototype.toString.call(l) === "[object Object]" && !xt(l);
2863
2869
  }
2864
2870
  const Ga = /* @__PURE__ */ ue({
2865
2871
  name: "IkSearchAuto",
@@ -2900,11 +2906,11 @@ const Ga = /* @__PURE__ */ ue({
2900
2906
  emit: c,
2901
2907
  expose: e
2902
2908
  }) {
2903
- const t = B(), k = {}, h = B({}), O = B([]), v = B({
2909
+ const t = B(), b = {}, h = B({}), O = B([]), v = B({
2904
2910
  ...h.value
2905
2911
  });
2906
- re(O, (r, M) => {
2907
- const _ = M.filter((I) => !r.includes(I));
2912
+ re(O, (r, E) => {
2913
+ const _ = E.filter((I) => !r.includes(I));
2908
2914
  if (_.length) {
2909
2915
  let I = !1;
2910
2916
  _.forEach((H) => {
@@ -2914,21 +2920,21 @@ const Ga = /* @__PURE__ */ ue({
2914
2920
  });
2915
2921
  const F = () => {
2916
2922
  O.value = [], l.list.forEach((r) => {
2917
- var M, _;
2918
- h.value[r.key] = h.value[r.value], k[r.key] = k[r.value], O.value.push(r.key), (M = v.value)[_ = r.key] ?? (M[_] = r.value || null);
2923
+ var E, _;
2924
+ h.value[r.key] = h.value[r.value], b[r.key] = b[r.value], O.value.push(r.key), (E = v.value)[_ = r.key] ?? (E[_] = r.value || null);
2919
2925
  });
2920
2926
  };
2921
2927
  F(), re(() => l.list, () => {
2922
2928
  F();
2923
2929
  });
2924
- const x = R(() => O.value.map((r) => l.list.find((M) => M.key === r))), C = () => {
2930
+ const x = R(() => O.value.map((r) => l.list.find((E) => E.key === r))), C = () => {
2925
2931
  var r;
2926
2932
  v.value.page = 1, (r = l.search) == null || r.call(l, v.value), c("search", v.value);
2927
2933
  };
2928
2934
  e({
2929
2935
  resetForm: () => {
2930
- var r, M;
2931
- (M = (r = t.value) == null ? void 0 : r.resetFields) == null || M.call(r), C();
2936
+ var r, E;
2937
+ (E = (r = t.value) == null ? void 0 : r.resetFields) == null || E.call(r), C();
2932
2938
  },
2933
2939
  reRequest: () => {
2934
2940
  C();
@@ -2946,26 +2952,26 @@ const Ga = /* @__PURE__ */ ue({
2946
2952
  l.immediate && C();
2947
2953
  const d = ({
2948
2954
  maxlength: r,
2949
- minlength: M,
2955
+ minlength: E,
2950
2956
  key: _,
2951
2957
  disabled: I,
2952
2958
  placeholder: H,
2953
2959
  formProp: K = {},
2954
2960
  value: Y,
2955
2961
  label: N
2956
- }) => m(Ne, le({
2962
+ }) => m(je, le({
2957
2963
  modelValue: v.value[_],
2958
2964
  "onUpdate:modelValue": [(Q) => v.value[_] = Q, (Q) => v.value[_] = Q],
2959
2965
  clearable: !0,
2960
2966
  maxlength: r,
2961
- minlength: M,
2967
+ minlength: E,
2962
2968
  disabled: I,
2963
2969
  onBlur: () => a()
2964
2970
  }, K, {
2965
2971
  placeholder: (K == null ? void 0 : K.placeholder) || H || `请输入${N || ""}`
2966
2972
  }), null), g = ({
2967
2973
  key: r,
2968
- placeholder: M,
2974
+ placeholder: E,
2969
2975
  max: _,
2970
2976
  min: I,
2971
2977
  disabled: H,
@@ -2975,7 +2981,7 @@ const Ga = /* @__PURE__ */ ue({
2975
2981
  formProp: Q = {}
2976
2982
  }) => m(_t, le({
2977
2983
  modelValue: v.value[r],
2978
- "onUpdate:modelValue": (ke) => v.value[r] = ke,
2984
+ "onUpdate:modelValue": (Ae) => v.value[r] = Ae,
2979
2985
  clearable: !0,
2980
2986
  max: _,
2981
2987
  min: I,
@@ -2984,10 +2990,10 @@ const Ga = /* @__PURE__ */ ue({
2984
2990
  step: Y,
2985
2991
  onChange: () => a()
2986
2992
  }, Q, {
2987
- placeholder: (Q == null ? void 0 : Q.placeholder) || M || `请输入${N || ""}`
2993
+ placeholder: (Q == null ? void 0 : Q.placeholder) || E || `请输入${N || ""}`
2988
2994
  }), null), W = ({
2989
2995
  key: r,
2990
- placeholder: M,
2996
+ placeholder: E,
2991
2997
  disabled: _,
2992
2998
  options: I,
2993
2999
  label: H,
@@ -3003,7 +3009,7 @@ const Ga = /* @__PURE__ */ ue({
3003
3009
  filterable: Y,
3004
3010
  onChange: () => a()
3005
3011
  }, N, {
3006
- placeholder: (N == null ? void 0 : N.placeholder) || M || `请选择${H || ""}`
3012
+ placeholder: (N == null ? void 0 : N.placeholder) || E || `请选择${H || ""}`
3007
3013
  }), {
3008
3014
  default: () => [I == null ? void 0 : I.map((Q) => m(ut, {
3009
3015
  key: Q.value,
@@ -3012,35 +3018,35 @@ const Ga = /* @__PURE__ */ ue({
3012
3018
  }, null))]
3013
3019
  }), $ = ({
3014
3020
  key: r,
3015
- disabled: M,
3021
+ disabled: E,
3016
3022
  options: _,
3017
3023
  formProp: I = {}
3018
- }) => m(He, le({
3024
+ }) => m(Fe, le({
3019
3025
  modelValue: v.value[r],
3020
3026
  "onUpdate:modelValue": (H) => v.value[r] = H,
3021
- disabled: M,
3027
+ disabled: E,
3022
3028
  onChange: () => a()
3023
3029
  }, I), {
3024
3030
  default: () => [_ == null ? void 0 : _.map((H) => (I == null ? void 0 : I.radioType) === "button" ? m(It, {
3025
3031
  key: H.value,
3026
3032
  label: H.value,
3027
3033
  name: H.label
3028
- }, null) : m(Fe, {
3034
+ }, null) : m(We, {
3029
3035
  key: H.value,
3030
3036
  label: H.value,
3031
3037
  name: H.label
3032
3038
  }, null))]
3033
3039
  }), f = ({
3034
3040
  key: r,
3035
- disabled: M,
3041
+ disabled: E,
3036
3042
  options: _,
3037
3043
  min: I,
3038
3044
  max: H,
3039
3045
  formProp: K = {}
3040
- }) => m(je, le({
3046
+ }) => m(He, le({
3041
3047
  modelValue: v.value[r],
3042
3048
  "onUpdate:modelValue": (Y) => v.value[r] = Y,
3043
- disabled: M,
3049
+ disabled: E,
3044
3050
  max: H,
3045
3051
  min: I,
3046
3052
  onChange: () => a()
@@ -3052,7 +3058,7 @@ const Ga = /* @__PURE__ */ ue({
3052
3058
  }, null))]
3053
3059
  }), ne = ({
3054
3060
  key: r,
3055
- label: M,
3061
+ label: E,
3056
3062
  formProp: _ = {},
3057
3063
  placeholder: I
3058
3064
  }) => m(dt, le({
@@ -3060,10 +3066,10 @@ const Ga = /* @__PURE__ */ ue({
3060
3066
  "onUpdate:modelValue": (H) => v.value[r] = H,
3061
3067
  onChange: () => a()
3062
3068
  }, _, {
3063
- placeholder: (_ == null ? void 0 : _.placeholder) || I || `请选择${M}时间`
3064
- }), null), U = ({
3069
+ placeholder: (_ == null ? void 0 : _.placeholder) || I || `请选择${E}时间`
3070
+ }), null), V = ({
3065
3071
  key: r,
3066
- disabled: M,
3072
+ disabled: E,
3067
3073
  editable: _ = !0,
3068
3074
  startPlaceholder: I = "开始日期",
3069
3075
  endplaceholder: H = "结束日期",
@@ -3071,57 +3077,57 @@ const Ga = /* @__PURE__ */ ue({
3071
3077
  format: Y,
3072
3078
  placeholder: N = "请选择日期",
3073
3079
  popperclass: Q,
3074
- rangeSeparator: ke = "-",
3075
- defaultValue: Ue,
3076
- defaultTime: Ve,
3077
- valueFormat: Se,
3080
+ rangeSeparator: Ae = "-",
3081
+ defaultValue: Te,
3082
+ defaultTime: Ue,
3083
+ valueFormat: Ve,
3078
3084
  disabledDate: Be = () => !1,
3079
3085
  formProp: we = {}
3080
3086
  }) => {
3081
- let ve = Y;
3082
- if (ve)
3087
+ let he = Y;
3088
+ if (he)
3083
3089
  switch (K) {
3084
3090
  case Pe.date:
3085
3091
  case Pe.dates:
3086
- ve = "YYYY-MM-DD";
3092
+ he = "YYYY-MM-DD";
3087
3093
  break;
3088
3094
  case Pe.year:
3089
- ve = "YYYY";
3095
+ he = "YYYY";
3090
3096
  break;
3091
3097
  case Pe.month:
3092
- ve = "YYYY-MM";
3098
+ he = "YYYY-MM";
3093
3099
  break;
3094
3100
  case Pe.week:
3095
- ve = "YYYY-MM-DD";
3101
+ he = "YYYY-MM-DD";
3096
3102
  break;
3097
3103
  // case EDateType.dates:
3098
3104
  // _format = "YYYY";
3099
3105
  // break;
3100
3106
  default:
3101
- ve = "";
3107
+ he = "";
3102
3108
  }
3103
3109
  return m(dt, le({
3104
3110
  modelValue: v.value[r],
3105
- "onUpdate:modelValue": (ye) => v.value[r] = ye,
3111
+ "onUpdate:modelValue": (me) => v.value[r] = me,
3106
3112
  onChange: () => a(),
3107
- disabled: M,
3113
+ disabled: E,
3108
3114
  type: K,
3109
3115
  editable: _,
3110
3116
  startPlaceholder: I,
3111
3117
  endPlaceholder: H,
3112
- rangeSeparator: ke,
3113
- format: ve,
3118
+ rangeSeparator: Ae,
3119
+ format: he,
3114
3120
  popperClass: Q,
3115
- defaultValue: Ue,
3116
- defaultTime: Ve,
3117
- valueFormat: Se,
3121
+ defaultValue: Te,
3122
+ defaultTime: Ue,
3123
+ valueFormat: Ve,
3118
3124
  disabledDate: Be
3119
3125
  }, we, {
3120
3126
  placeholder: (we == null ? void 0 : we.placeholder) || N || "请选择日期"
3121
3127
  }), null);
3122
- }, V = ({
3128
+ }, U = ({
3123
3129
  key: r,
3124
- options: M,
3130
+ options: E,
3125
3131
  multiple: _ = !1,
3126
3132
  filterable: I = !0,
3127
3133
  nodeKey: H = "id",
@@ -3129,47 +3135,47 @@ const Ga = /* @__PURE__ */ ue({
3129
3135
  highlightCurrent: Y = !0,
3130
3136
  defaultExpandAll: N = !1,
3131
3137
  expandOnClickNode: Q = !1,
3132
- placeholder: ke = "全部",
3133
- checkOnClickNode: Ue = !1,
3134
- showCheckbox: Ve = !1,
3135
- checkStrictly: Se = !0,
3138
+ placeholder: Ae = "全部",
3139
+ checkOnClickNode: Te = !1,
3140
+ showCheckbox: Ue = !1,
3141
+ checkStrictly: Ve = !0,
3136
3142
  defaultCheckedKeys: Be = [],
3137
3143
  currentNodeKey: we = "",
3138
- accordion: ve = !1,
3139
- formProp: ye = {},
3140
- label: Xe
3144
+ accordion: he = !1,
3145
+ formProp: me = {},
3146
+ label: qe
3141
3147
  }) => m(Vt, le({
3142
3148
  modelValue: v.value[r],
3143
3149
  "onUpdate:modelValue": (Ie) => v.value[r] = Ie,
3144
- data: M,
3150
+ data: E,
3145
3151
  onChange: () => a(),
3146
3152
  clearable: !0,
3147
3153
  multiple: _,
3148
3154
  props: K,
3149
- placeholder: ke,
3155
+ placeholder: Ae,
3150
3156
  filterable: I,
3151
3157
  nodeKey: H,
3152
3158
  highlightCurrent: Y,
3153
3159
  defaultExpandAll: N,
3154
3160
  expandOnClickNode: Q,
3155
- checkOnClickNode: Ue,
3156
- showCheckbox: Ve,
3157
- checkStrictly: Se,
3161
+ checkOnClickNode: Te,
3162
+ showCheckbox: Ue,
3163
+ checkStrictly: Ve,
3158
3164
  defaultCheckedKeys: Be,
3159
3165
  currentNodeKey: we,
3160
- accordion: ve
3161
- }, ye, {
3162
- placeholder: (ye == null ? void 0 : ye.placeholder) || ke || `请选择${Xe || ""}`
3163
- }), null), S = ({
3166
+ accordion: he
3167
+ }, me, {
3168
+ placeholder: (me == null ? void 0 : me.placeholder) || Ae || `请选择${qe || ""}`
3169
+ }), null), L = ({
3164
3170
  key: r,
3165
- selectKey: M,
3171
+ selectKey: E,
3166
3172
  placeholder: _,
3167
3173
  disabled: I,
3168
3174
  options: H,
3169
3175
  multiple: K = !1,
3170
3176
  filterable: Y = !0,
3171
3177
  formProp: N = {}
3172
- }) => m(Ne, le({
3178
+ }) => m(je, le({
3173
3179
  disabled: I,
3174
3180
  modelValue: v.value[r],
3175
3181
  "onUpdate:modelValue": (Q) => v.value[r] = Q,
@@ -3181,8 +3187,8 @@ const Ga = /* @__PURE__ */ ue({
3181
3187
  disabled: I,
3182
3188
  multiple: K,
3183
3189
  filterable: Y,
3184
- modelValue: v.value[M],
3185
- "onUpdate:modelValue": (Q) => v.value[M] = Q,
3190
+ modelValue: v.value[E],
3191
+ "onUpdate:modelValue": (Q) => v.value[E] = Q,
3186
3192
  onChange: () => a()
3187
3193
  }, N), {
3188
3194
  default: () => [H == null ? void 0 : H.map((Q) => m(ut, {
@@ -3191,23 +3197,23 @@ const Ga = /* @__PURE__ */ ue({
3191
3197
  value: Q.value
3192
3198
  }, null))]
3193
3199
  })
3194
- }), j = "", z = "iking", ie = B(null), E = B([]), J = B(!1), ee = B(""), fe = /* @__PURE__ */ new Map(), Re = (r) => {
3195
- J.value = !0, E.value = fe.has(r) ? fe.get(r) : v.value[r], ee.value = r;
3196
- }, We = () => {
3200
+ }), j = "", z = "iking", ie = B(null), M = B([]), J = B(!1), ee = B(""), fe = /* @__PURE__ */ new Map(), Ne = (r) => {
3201
+ J.value = !0, M.value = fe.has(r) ? fe.get(r) : v.value[r], ee.value = r;
3202
+ }, Ge = () => {
3197
3203
  fe.set(ee.value, []), ee.value = "", a();
3198
- }, Ge = (r) => {
3199
- var M, _;
3200
- v.value[ee.value] = (M = r.list.map((I) => I.elementName)) == null ? void 0 : M.join(","), fe.set(ee.value, r.list), c("search", v.value), c("pickerChange", r), (_ = l.search) == null || _.call(l, v.value);
3201
- }, Ye = ({
3204
+ }, Ye = (r) => {
3205
+ var E, _;
3206
+ v.value[ee.value] = (E = r.list.map((I) => I.elementName)) == null ? void 0 : E.join(","), fe.set(ee.value, r.list), c("search", v.value), c("pickerChange", r), (_ = l.search) == null || _.call(l, v.value);
3207
+ }, Qe = ({
3202
3208
  key: r,
3203
- placeholder: M,
3209
+ placeholder: E,
3204
3210
  typeOption: _,
3205
3211
  _list: I,
3206
3212
  maxlength: H,
3207
3213
  minlength: K,
3208
3214
  disabled: Y,
3209
3215
  formProp: N
3210
- }) => m(Ne, le({
3216
+ }) => m(je, le({
3211
3217
  modelValue: v.value[r],
3212
3218
  "onUpdate:modelValue": (Q) => v.value[r] = Q,
3213
3219
  clearable: !0,
@@ -3215,10 +3221,10 @@ const Ga = /* @__PURE__ */ ue({
3215
3221
  minlength: K,
3216
3222
  disabled: Y
3217
3223
  }, N, {
3218
- onClick: () => Re(r),
3219
- onClear: () => We(),
3220
- placeholder: (N == null ? void 0 : N.placeholder) || M || `点击选择${label || "人员"}`
3221
- }), null), me = (r) => {
3224
+ onClick: () => Ne(r),
3225
+ onClear: () => Ge(),
3226
+ placeholder: (N == null ? void 0 : N.placeholder) || E || `点击选择${label || "人员"}`
3227
+ }), null), ge = (r) => {
3222
3228
  switch (r.type) {
3223
3229
  case "":
3224
3230
  case void 0:
@@ -3240,22 +3246,22 @@ const Ga = /* @__PURE__ */ ue({
3240
3246
  return $(r);
3241
3247
  case xe.date:
3242
3248
  case "el-date-picker":
3243
- return U(r);
3249
+ return V(r);
3244
3250
  case "el-time-select":
3245
3251
  return ne(r);
3246
3252
  case xe.treeselect:
3247
3253
  case "el-tree-select":
3248
- return V(r);
3254
+ return U(r);
3249
3255
  case xe.choosePerson:
3250
- return Ye(r);
3256
+ return Qe(r);
3251
3257
  case "select-input":
3252
- return S(r);
3258
+ return L(r);
3253
3259
  default:
3254
3260
  return m(Z, null, null);
3255
3261
  }
3256
- }, Qe = R(() => {
3262
+ }, Xe = R(() => {
3257
3263
  var _;
3258
- const r = [], M = x.value.length - 1;
3264
+ const r = [], E = x.value.length - 1;
3259
3265
  return (_ = x.value) == null || _.forEach((I, H) => {
3260
3266
  let K, Y;
3261
3267
  if (!I) return [];
@@ -3274,14 +3280,14 @@ const Ga = /* @__PURE__ */ ue({
3274
3280
  span: N * 24
3275
3281
  }
3276
3282
  }, {
3277
- default: () => [H === M ? (
3283
+ default: () => [H === E ? (
3278
3284
  // 最后一个form后跟上选项className="last-form"
3279
3285
  m("div", {
3280
3286
  class: "last-form"
3281
3287
  }, [m(it, {
3282
3288
  label: I.type === "select-input" ? "" : I.label,
3283
3289
  prop: I.key
3284
- }, ht(K = me(I)) ? K : {
3290
+ }, ht(K = ge(I)) ? K : {
3285
3291
  default: () => [K]
3286
3292
  }), m(Oe, {
3287
3293
  name: "icon-sousuo1",
@@ -3303,7 +3309,7 @@ const Ga = /* @__PURE__ */ ue({
3303
3309
  ) : m(it, {
3304
3310
  label: I.type === "select-input" ? "" : I.label,
3305
3311
  prop: I.key
3306
- }, ht(Y = me(I)) ? Y : {
3312
+ }, ht(Y = ge(I)) ? Y : {
3307
3313
  default: () => [Y]
3308
3314
  })]
3309
3315
  }));
@@ -3322,13 +3328,13 @@ const Ga = /* @__PURE__ */ ue({
3322
3328
  default: () => [m(Ut, {
3323
3329
  gutter: 16
3324
3330
  }, {
3325
- default: () => [Qe.value]
3331
+ default: () => [Xe.value]
3326
3332
  })]
3327
3333
  })]
3328
3334
  }), m($a, {
3329
3335
  ref: ie.value,
3330
- modelValue: E.value,
3331
- "onUpdate:modelValue": (r) => E.value = r,
3336
+ modelValue: M.value,
3337
+ "onUpdate:modelValue": (r) => M.value = r,
3332
3338
  show: J.value,
3333
3339
  "onUpdate:show": (r) => J.value = r,
3334
3340
  "append-to-body": !0,
@@ -3353,7 +3359,7 @@ const Ga = /* @__PURE__ */ ue({
3353
3359
  id: "elementId",
3354
3360
  type: "elementType"
3355
3361
  },
3356
- onOk: (r) => Ge(r)
3362
+ onOk: (r) => Ye(r)
3357
3363
  }, null)]);
3358
3364
  }
3359
3365
  }), Ya = { class: "header-left" }, Qa = { class: "title" }, Xa = { class: "flex items-center" }, qa = /* @__PURE__ */ ue({
@@ -3423,10 +3429,10 @@ const Ga = /* @__PURE__ */ ue({
3423
3429
  }),
3424
3430
  emits: ["update:modelValue"],
3425
3431
  setup(l) {
3426
- vt((x) => ({
3432
+ Ot((x) => ({
3427
3433
  v59e2b6b4: F
3428
3434
  }));
3429
- const c = l, e = et(l, "modelValue"), t = B(c.defaultShow), k = () => {
3435
+ const c = l, e = et(l, "modelValue"), t = B(c.defaultShow), b = () => {
3430
3436
  t.value = !t.value;
3431
3437
  }, h = R(() => c.fields.filter((x) => !x.onlyForm)), O = R(() => {
3432
3438
  var x;
@@ -3444,14 +3450,14 @@ const Ga = /* @__PURE__ */ ue({
3444
3450
  "div",
3445
3451
  {
3446
3452
  class: "header",
3447
- style: Me({
3453
+ style: ze({
3448
3454
  borderColor: l.headerBorder ? "var(--ik-border-color)" : "transparent",
3449
3455
  marginBottom: l.headerBorder ? "8px" : "0"
3450
3456
  })
3451
3457
  },
3452
3458
  [
3453
3459
  u("div", Ya, [
3454
- b(' 左侧标题、tab页或自定义内容 v-if="!$slots.headerLeft" '),
3460
+ k(' 左侧标题、tab页或自定义内容 v-if="!$slots.headerLeft" '),
3455
3461
  u(
3456
3462
  "span",
3457
3463
  Qa,
@@ -3459,12 +3465,12 @@ const Ga = /* @__PURE__ */ ue({
3459
3465
  1
3460
3466
  /* TEXT */
3461
3467
  ),
3462
- ge(x.$slots, "headerLeft", {}, void 0, !0)
3468
+ ve(x.$slots, "headerLeft", {}, void 0, !0)
3463
3469
  ]),
3464
- b(" 默认按钮 "),
3470
+ k(" 默认按钮 "),
3465
3471
  u("div", Xa, [
3466
- b(" 右侧操作或自定义内容 "),
3467
- ge(x.$slots, "headerRight", {}, void 0, !0),
3472
+ k(" 右侧操作或自定义内容 "),
3473
+ ve(x.$slots, "headerRight", {}, void 0, !0),
3468
3474
  l.exportBtn ? (s(), D(T(Oe), {
3469
3475
  key: 0,
3470
3476
  name: "iksvg_xiazai",
@@ -3472,15 +3478,15 @@ const Ga = /* @__PURE__ */ ue({
3472
3478
  title: "导出",
3473
3479
  "show-bg": "",
3474
3480
  size: "default"
3475
- })) : b("v-if", !0),
3481
+ })) : k("v-if", !0),
3476
3482
  v.value ? (s(), D(T(Oe), {
3477
3483
  key: 1,
3478
3484
  name: "iksvg_shaixuan1",
3479
3485
  size: "default",
3480
3486
  title: t.value ? "收起筛选条件" : "展开筛选条件",
3481
3487
  "show-bg": "",
3482
- onClick: k
3483
- }, null, 8, ["title"])) : b("v-if", !0),
3488
+ onClick: b
3489
+ }, null, 8, ["title"])) : k("v-if", !0),
3484
3490
  l.refreshBtn ? (s(), D(T(Oe), {
3485
3491
  key: 2,
3486
3492
  name: "iksvg_zhongzhi1",
@@ -3488,8 +3494,8 @@ const Ga = /* @__PURE__ */ ue({
3488
3494
  "show-bg": "",
3489
3495
  size: "default",
3490
3496
  onClick: l.search
3491
- }, null, 8, ["onClick"])) : b("v-if", !0),
3492
- b(` <IkSvgIcon\r
3497
+ }, null, 8, ["onClick"])) : k("v-if", !0),
3498
+ k(` <IkSvgIcon\r
3493
3499
  name="icon-shezhi"\r
3494
3500
  show-bg\r
3495
3501
  :width="40"\r
@@ -3519,7 +3525,7 @@ const Ga = /* @__PURE__ */ ue({
3519
3525
  }, null, 8, ["list", "search", "loading"]),
3520
3526
  u("span", {
3521
3527
  class: "hide-serch",
3522
- onClick: k
3528
+ onClick: b
3523
3529
  }, [
3524
3530
  m(T(Oe), {
3525
3531
  title: "收起",
@@ -3537,7 +3543,7 @@ const Ga = /* @__PURE__ */ ue({
3537
3543
  );
3538
3544
  };
3539
3545
  }
3540
- }), Ka = /* @__PURE__ */ oe(qa, [["__scopeId", "data-v-659625f1"]]), yt = {
3546
+ }), Ka = /* @__PURE__ */ oe(qa, [["__scopeId", "data-v-659625f1"]]), mt = {
3541
3547
  // 标题
3542
3548
  headerTitle: {
3543
3549
  type: String,
@@ -3683,26 +3689,26 @@ const Ga = /* @__PURE__ */ ue({
3683
3689
  },
3684
3690
  emits: ["currentChange", "sizeChange"],
3685
3691
  setup(l, { emit: c }) {
3686
- const e = l, t = c, k = B(1);
3692
+ const e = l, t = c, b = B(1);
3687
3693
  re(() => e.current, (x) => {
3688
- k.value = x;
3694
+ b.value = x;
3689
3695
  });
3690
3696
  const h = [15, 30, 60, 100, 200, 500], O = B(h[0]), v = (x) => {
3691
3697
  t("sizeChange", x), e == null || e.search({
3692
- page: k.value,
3698
+ page: b.value,
3693
3699
  rows: O.value
3694
3700
  });
3695
3701
  }, F = (x) => {
3696
3702
  t("currentChange", x), e == null || e.search({
3697
- page: k.value,
3703
+ page: b.value,
3698
3704
  rows: O.value
3699
3705
  });
3700
3706
  };
3701
3707
  return (x, C) => {
3702
3708
  const A = te("el-pagination");
3703
3709
  return s(), D(A, le({
3704
- "current-page": k.value,
3705
- "onUpdate:currentPage": C[0] || (C[0] = (o) => k.value = o),
3710
+ "current-page": b.value,
3711
+ "onUpdate:currentPage": C[0] || (C[0] = (o) => b.value = o),
3706
3712
  "page-size": O.value,
3707
3713
  "onUpdate:pageSize": C[1] || (C[1] = (o) => O.value = o)
3708
3714
  }, x.$attrs, {
@@ -3742,11 +3748,11 @@ const Ga = /* @__PURE__ */ ue({
3742
3748
  }
3743
3749
  }), tn = /* @__PURE__ */ oe(en, [["__scopeId", "data-v-e7b4fc6e"]]), ln = /* @__PURE__ */ ue({
3744
3750
  __name: "IkPageTable",
3745
- props: yt,
3751
+ props: mt,
3746
3752
  emits: ["selection-change", "page-change"],
3747
3753
  setup(l, { expose: c, emit: e }) {
3748
3754
  var o;
3749
- const t = l, k = e, { attrs: h } = wt(), O = B({
3755
+ const t = l, b = e, { attrs: h } = wt(), O = B({
3750
3756
  page: ((o = h.page) == null ? void 0 : o.page) || 1,
3751
3757
  rows: 15
3752
3758
  }), v = R(() => {
@@ -3755,9 +3761,9 @@ const Ga = /* @__PURE__ */ ue({
3755
3761
  d.__index = a === 1 ? g + 1 : (a - 1) * i + g + 1;
3756
3762
  }), w;
3757
3763
  }), F = (a) => {
3758
- O.value = a, k("page-change", a), t.search();
3764
+ O.value = a, b("page-change", a), t.search();
3759
3765
  }, x = B([]), C = (a) => {
3760
- x.value = a, k("selection-change", a);
3766
+ x.value = a, b("selection-change", a);
3761
3767
  }, A = B();
3762
3768
  return c({ table: A }), (a, i) => {
3763
3769
  var W, $, f;
@@ -3766,13 +3772,13 @@ const Ga = /* @__PURE__ */ ue({
3766
3772
  Z,
3767
3773
  null,
3768
3774
  [
3769
- b(" 自定义表格 "),
3770
- (W = a.$slots) != null && W.table ? ge(a.$slots, "table", { key: 0 }, void 0, !0) : (s(), y(
3775
+ k(" 自定义表格 "),
3776
+ (W = a.$slots) != null && W.table ? ve(a.$slots, "table", { key: 0 }, void 0, !0) : (s(), y(
3771
3777
  Z,
3772
3778
  { key: 1 },
3773
3779
  [
3774
- b(" 默认表格 "),
3775
- m(gt, { name: "el-zoom-in-center" }, {
3780
+ k(" 默认表格 "),
3781
+ m(vt, { name: "el-zoom-in-center" }, {
3776
3782
  default: P(() => [
3777
3783
  Ce((s(), D(d, le({
3778
3784
  ref_key: "refTable",
@@ -3788,15 +3794,15 @@ const Ga = /* @__PURE__ */ ue({
3788
3794
  type: "selection",
3789
3795
  align: "center",
3790
3796
  width: "56"
3791
- })) : b("v-if", !0),
3797
+ })) : k("v-if", !0),
3792
3798
  a.serial ? (s(), D(w, {
3793
3799
  key: 1,
3794
3800
  prop: "__index",
3795
3801
  label: "序号",
3796
3802
  width: 60,
3797
3803
  align: "center"
3798
- })) : b("v-if", !0),
3799
- ge(a.$slots, "default", {}, void 0, !0)
3804
+ })) : k("v-if", !0),
3805
+ ve(a.$slots, "default", {}, void 0, !0)
3800
3806
  ]),
3801
3807
  _: 3
3802
3808
  /* FORWARDED */
@@ -3811,13 +3817,13 @@ const Ga = /* @__PURE__ */ ue({
3811
3817
  64
3812
3818
  /* STABLE_FRAGMENT */
3813
3819
  )),
3814
- b(" 分页 "),
3820
+ k(" 分页 "),
3815
3821
  a.total ? (s(), D(tn, {
3816
3822
  key: 2,
3817
3823
  current: ((f = ($ = a.$attrs) == null ? void 0 : $.page) == null ? void 0 : f.page) || 1,
3818
3824
  total: a.total,
3819
3825
  search: F
3820
- }, null, 8, ["current", "total"])) : b("v-if", !0)
3826
+ }, null, 8, ["current", "total"])) : k("v-if", !0)
3821
3827
  ],
3822
3828
  64
3823
3829
  /* STABLE_FRAGMENT */
@@ -3826,7 +3832,7 @@ const Ga = /* @__PURE__ */ ue({
3826
3832
  }
3827
3833
  }), an = /* @__PURE__ */ oe(ln, [["__scopeId", "data-v-7e61d7f1"]]), nn = { class: "choose" }, sn = { class: "btn" }, on = /* @__PURE__ */ ue({
3828
3834
  __name: "index",
3829
- props: /* @__PURE__ */ Ee(yt, {
3835
+ props: /* @__PURE__ */ Ee(mt, {
3830
3836
  modelValue: {
3831
3837
  type: Object,
3832
3838
  default: () => ({
@@ -3838,34 +3844,34 @@ const Ga = /* @__PURE__ */ ue({
3838
3844
  }),
3839
3845
  emits: /* @__PURE__ */ Ee(["selection-change", "delete", "download", "addFunction"], ["update:modelValue"]),
3840
3846
  setup(l, { expose: c, emit: e }) {
3841
- const t = l, k = e, h = et(l, "modelValue"), O = () => {
3842
- var U;
3843
- (U = h == null ? void 0 : h.value) != null && U.page && (h.value = {
3847
+ const t = l, b = e, h = et(l, "modelValue"), O = () => {
3848
+ var V;
3849
+ (V = h == null ? void 0 : h.value) != null && V.page && (h.value = {
3844
3850
  page: 1,
3845
3851
  rows: 15
3846
3852
  });
3847
3853
  };
3848
3854
  O();
3849
- const v = (U) => {
3855
+ const v = (V) => {
3850
3856
  h.value = {
3851
3857
  ...h.value,
3852
- ...U
3858
+ ...V
3853
3859
  };
3854
- }, F = (U) => {
3855
- var S;
3860
+ }, F = (V) => {
3861
+ var L;
3856
3862
  O();
3857
- const V = (U == null ? void 0 : U.type) === "click" ? {} : U;
3863
+ const U = (V == null ? void 0 : V.type) === "click" ? {} : V;
3858
3864
  h.value = {
3859
3865
  ...h.value,
3860
- ...V
3861
- }, (S = t == null ? void 0 : t.search) == null || S.call(t, {
3866
+ ...U
3867
+ }, (L = t == null ? void 0 : t.search) == null || L.call(t, {
3862
3868
  ...h.value
3863
3869
  });
3864
- }, x = B([]), C = (U) => {
3865
- x.value = U, k("selection-change", U);
3866
- }, A = R(() => x.value.length || t.chooseLen), o = B(t.fields), a = R(() => "light"), i = B(), w = B(), d = B(), g = B(!1), W = B(void 0), $ = B(t.title || ""), f = (U) => {
3867
- W.value = U ? { ...U } : null, t.title ? t.title.includes("新增") || t.title.includes("修改") ? $.value = U ? t.title.replace(/新增/g, "修改") : t.title.replace(/修改/g, "新增") : $.value = U ? `修改${t.title}` : `新增${t.title}` : $.value = U ? "修改" : "新增", g.value = !0;
3868
- }, ne = R(() => t.fields.find((U) => U.isEdit));
3870
+ }, x = B([]), C = (V) => {
3871
+ x.value = V, b("selection-change", V);
3872
+ }, A = R(() => x.value.length || t.chooseLen), o = B(t.fields), a = R(() => "light"), i = B(), w = B(), d = B(), g = B(!1), W = B(void 0), $ = B(t.title || ""), f = (V) => {
3873
+ W.value = V ? { ...V } : null, t.title ? t.title.includes("新增") || t.title.includes("修改") ? $.value = V ? t.title.replace(/新增/g, "修改") : t.title.replace(/修改/g, "新增") : $.value = V ? `修改${t.title}` : `新增${t.title}` : $.value = V ? "修改" : "新增", g.value = !0;
3874
+ }, ne = R(() => t.fields.find((V) => V.isEdit));
3869
3875
  return c({
3870
3876
  table: i,
3871
3877
  header: w,
@@ -3874,34 +3880,34 @@ const Ga = /* @__PURE__ */ ue({
3874
3880
  pageData: h,
3875
3881
  dialog: d,
3876
3882
  handAdd: f
3877
- }), (U, V) => {
3878
- const S = te("el-button"), j = te("IkNumberDuration"), z = te("el-table-column"), ie = tt("role");
3883
+ }), (V, U) => {
3884
+ const L = te("el-button"), j = te("IkNumberDuration"), z = te("el-table-column"), ie = tt("role");
3879
3885
  return s(), y(
3880
3886
  Z,
3881
3887
  null,
3882
3888
  [
3883
- b(" 标题 + 搜索表单 "),
3889
+ k(" 标题 + 搜索表单 "),
3884
3890
  m(Ka, le({
3885
3891
  ref_key: "refHeader",
3886
3892
  ref: w
3887
- }, { ...U.$attrs, ...t }, {
3893
+ }, { ...V.$attrs, ...t }, {
3888
3894
  modelValue: o.value,
3889
- "onUpdate:modelValue": V[1] || (V[1] = (E) => o.value = E),
3890
- loading: U.loading,
3895
+ "onUpdate:modelValue": U[1] || (U[1] = (M) => o.value = M),
3896
+ loading: V.loading,
3891
3897
  search: F,
3892
- "tab-id": U.tabId
3898
+ "tab-id": V.tabId
3893
3899
  }), {
3894
3900
  headerLeft: P(() => [
3895
- ge(U.$slots, "headerLeft", {}, void 0, !0)
3901
+ ve(V.$slots, "headerLeft", {}, void 0, !0)
3896
3902
  ]),
3897
3903
  headerRight: P(() => [
3898
- ge(U.$slots, "headerRight", {}, () => [
3899
- ne.value ? Ce((s(), D(S, {
3904
+ ve(V.$slots, "headerRight", {}, () => [
3905
+ ne.value ? Ce((s(), D(L, {
3900
3906
  key: 0,
3901
3907
  type: "primary",
3902
- onClick: V[0] || (V[0] = (E) => f(null))
3908
+ onClick: U[0] || (U[0] = (M) => f(null))
3903
3909
  }, {
3904
- default: P(() => [...V[4] || (V[4] = [
3910
+ default: P(() => [...U[4] || (U[4] = [
3905
3911
  ae(
3906
3912
  " 新增 ",
3907
3913
  -1
@@ -3911,15 +3917,15 @@ const Ga = /* @__PURE__ */ ue({
3911
3917
  _: 1
3912
3918
  /* STABLE */
3913
3919
  })), [
3914
- [ie, U.role]
3915
- ]) : b("v-if", !0)
3920
+ [ie, V.role]
3921
+ ]) : k("v-if", !0)
3916
3922
  ], !0)
3917
3923
  ]),
3918
3924
  _: 3
3919
3925
  /* FORWARDED */
3920
3926
  }, 16, ["modelValue", "loading", "tab-id"]),
3921
- b(" 选中表格项 "),
3922
- U.selection ? (s(), y(
3927
+ k(" 选中表格项 "),
3928
+ V.selection ? (s(), y(
3923
3929
  "div",
3924
3930
  {
3925
3931
  key: 0,
@@ -3927,7 +3933,7 @@ const Ga = /* @__PURE__ */ ue({
3927
3933
  },
3928
3934
  [
3929
3935
  u("p", nn, [
3930
- V[5] || (V[5] = ae(
3936
+ U[5] || (U[5] = ae(
3931
3937
  " 已选 ",
3932
3938
  -1
3933
3939
  /* CACHED */
@@ -3935,14 +3941,14 @@ const Ga = /* @__PURE__ */ ue({
3935
3941
  u("span", null, [
3936
3942
  m(j, { value: A.value }, null, 8, ["value"])
3937
3943
  ]),
3938
- V[6] || (V[6] = ae(
3944
+ U[6] || (U[6] = ae(
3939
3945
  " 条 ",
3940
3946
  -1
3941
3947
  /* CACHED */
3942
3948
  ))
3943
3949
  ]),
3944
3950
  u("div", sn, [
3945
- U.$slots.selectionRight ? ge(U.$slots, "selectionRight", { key: 1 }, void 0, !0) : (s(), y(
3951
+ V.$slots.selectionRight ? ve(V.$slots, "selectionRight", { key: 1 }, void 0, !0) : (s(), y(
3946
3952
  Z,
3947
3953
  { key: 0 },
3948
3954
  [
@@ -3950,13 +3956,13 @@ const Ga = /* @__PURE__ */ ue({
3950
3956
  name: "icon-shanchu",
3951
3957
  "show-bg": "",
3952
3958
  size: "default",
3953
- onClick: V[2] || (V[2] = (E) => U.$emit("delete", x.value))
3959
+ onClick: U[2] || (U[2] = (M) => V.$emit("delete", x.value))
3954
3960
  }),
3955
3961
  m(T(Oe), {
3956
3962
  ize: "default",
3957
3963
  name: "icon-xiazai",
3958
3964
  "show-bg": "",
3959
- onClick: V[3] || (V[3] = (E) => U.$emit("download", x.value))
3965
+ onClick: U[3] || (U[3] = (M) => V.$emit("download", x.value))
3960
3966
  })
3961
3967
  ],
3962
3968
  64
@@ -3966,14 +3972,14 @@ const Ga = /* @__PURE__ */ ue({
3966
3972
  ],
3967
3973
  2
3968
3974
  /* CLASS */
3969
- )) : b("v-if", !0),
3970
- b(" 自定义表格 "),
3971
- ge(U.$slots, "table", {}, () => [
3975
+ )) : k("v-if", !0),
3976
+ k(" 自定义表格 "),
3977
+ ve(V.$slots, "table", {}, () => [
3972
3978
  m(an, le({
3973
3979
  ref_key: "refTable",
3974
3980
  ref: i,
3975
3981
  page: h.value
3976
- }, { ...U.$attrs, ...t }, {
3982
+ }, { ...V.$attrs, ...t }, {
3977
3983
  onPageChange: v,
3978
3984
  onSelectionChange: C
3979
3985
  }), {
@@ -3981,45 +3987,45 @@ const Ga = /* @__PURE__ */ ue({
3981
3987
  (s(!0), y(
3982
3988
  Z,
3983
3989
  null,
3984
- Ae(o.value, (E) => (s(), y(
3990
+ ye(o.value, (M) => (s(), y(
3985
3991
  Z,
3986
3992
  {
3987
- key: E.key
3993
+ key: M.key
3988
3994
  },
3989
3995
  [
3990
- E.show ? (s(), y(
3996
+ M.show ? (s(), y(
3991
3997
  Z,
3992
3998
  { key: 0 },
3993
3999
  [
3994
- E.tableSlot ? (s(), D(z, le({
4000
+ M.tableSlot ? (s(), D(z, le({
3995
4001
  key: 1,
3996
- align: E.align,
3997
- width: E.width,
3998
- "min-width": E.minWidth,
4002
+ align: M.align,
4003
+ width: M.width,
4004
+ "min-width": M.minWidth,
3999
4005
  "show-overflow-tooltip": {
4000
4006
  effect: a.value ?? "light"
4001
4007
  }
4002
- }, { ref_for: !0 }, { ...E, ...U.$attrs, ...t }), {
4008
+ }, { ref_for: !0 }, { ...M, ...V.$attrs, ...t }), {
4003
4009
  default: P((J) => [
4004
- ge(U.$slots, E.tableSlot, { data: J }, void 0, !0)
4010
+ ve(V.$slots, M.tableSlot, { data: J }, void 0, !0)
4005
4011
  ]),
4006
4012
  _: 2
4007
4013
  /* DYNAMIC */
4008
4014
  }, 1040, ["align", "width", "min-width", "show-overflow-tooltip"])) : (s(), D(z, le({
4009
4015
  key: 0,
4010
- prop: E.key,
4011
- width: E.width,
4012
- "min-width": E.minWidth,
4013
- align: E.align,
4016
+ prop: M.key,
4017
+ width: M.width,
4018
+ "min-width": M.minWidth,
4019
+ align: M.align,
4014
4020
  "show-overflow-tooltip": {
4015
4021
  effect: a.value ?? "light"
4016
4022
  },
4017
4023
  "show-arrow": !1
4018
- }, { ref_for: !0 }, { ...E, ...U.$attrs, ...t }), null, 16, ["prop", "width", "min-width", "align", "show-overflow-tooltip"]))
4024
+ }, { ref_for: !0 }, { ...M, ...V.$attrs, ...t }), null, 16, ["prop", "width", "min-width", "align", "show-overflow-tooltip"]))
4019
4025
  ],
4020
4026
  64
4021
4027
  /* STABLE_FRAGMENT */
4022
- )) : b("v-if", !0)
4028
+ )) : k("v-if", !0)
4023
4029
  ],
4024
4030
  64
4025
4031
  /* STABLE_FRAGMENT */
@@ -4032,8 +4038,8 @@ const Ga = /* @__PURE__ */ ue({
4032
4038
  /* FORWARDED */
4033
4039
  }, 16, ["page"])
4034
4040
  ], !0),
4035
- b(" 新增修改 "),
4036
- b(` <IkDialog\r
4041
+ k(" 新增修改 "),
4042
+ k(` <IkDialog\r
4037
4043
  v-if="needAutoForm"\r
4038
4044
  ref="refIkDialog"\r
4039
4045
  v-bind="{ ...dialogProp }"\r
@@ -4051,7 +4057,7 @@ const Ga = /* @__PURE__ */ ue({
4051
4057
  );
4052
4058
  };
4053
4059
  }
4054
- }), rn = /* @__PURE__ */ oe(on, [["__scopeId", "data-v-a4dd744c"]]), hn = ze(rn);
4060
+ }), rn = /* @__PURE__ */ oe(on, [["__scopeId", "data-v-a4dd744c"]]), hn = Re(rn);
4055
4061
  export {
4056
4062
  hn as IkPageFull,
4057
4063
  hn as default