@zyui/components 0.0.28 → 0.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/index.mjs CHANGED
@@ -3,7 +3,7 @@ var Jhe = (o, r, i) => r in o ? Xhe(o, r, { enumerable: !0, configurable: !0, wr
3
3
  var uu = (o, r, i) => Jhe(o, typeof r != "symbol" ? r + "" : r, i);
4
4
  import { defineComponent as qo, reactive as jR, provide as Xm, inject as qg, ref as xn, watch as rs, toValue as jt, computed as Kn, openBlock as At, createElementBlock as hn, createElementVNode as Zt, mergeModels as gl, useModel as fa, Fragment as vr, renderList as Wa, createVNode as on, unref as Ze, withCtx as Rn, createCommentVNode as Ts, toDisplayString as Rs, createTextVNode as Us, createBlock as gs, withDirectives as DU, mergeProps as A4, resolveComponent as O4, isRef as sb, onUnmounted as ld, watchEffect as yue, getCurrentScope as Aoe, onScopeDispose as bR, onMounted as kl, toRefs as WR, renderSlot as Fr, normalizeStyle as Zc, nextTick as im, onBeforeUnmount as ZR, onActivated as Qhe, onDeactivated as epe, h as ja, withModifiers as Z2, Teleport as Ooe, normalizeClass as Pd, vShow as tpe, resolveDynamicComponent as P_, createPropsRestProxy as npe, toRef as ri, effectScope as wue, getCurrentInstance as G2, useSlots as ope, onBeforeMount as spe, useAttrs as rpe, isMemoSame as ape, customRef as ipe, markRaw as yR, readonly as lpe, createStaticVNode as cpe, createSlots as upe, withKeys as GR } from "vue";
5
5
  import { ElImage as z2, ElIcon as ep, ElPopover as NU, ElForm as q2, ElFormItem as qm, ElInput as Yg, ElButton as Pu, ElScrollbar as MU, ElLoadingDirective as $oe, ElSelect as Wz, ElOption as Zz, ElDialog as RU, ElTabs as Cue, ElTabPane as Sue, ElTable as dpe, ElTableColumn as rz, ElCheckbox as my, ElMessageBox as fpe, ElRadioGroup as xue, ElRadio as Ane, ElRow as mpe, ElCol as xae, ElTree as _ue } from "element-plus";
6
- const gpe = "0.0.28";
6
+ const gpe = "0.0.30";
7
7
  var hpe = Object.defineProperty, ppe = (o, r, i) => r in o ? hpe(o, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[r] = i, gte = (o, r, i) => ppe(o, typeof r != "symbol" ? r + "" : r, i);
8
8
  function Eue(o, r) {
9
9
  return function() {
@@ -82117,10 +82117,10 @@ const koe = [
82117
82117
  return ((E = S == null ? void 0 : S.children) == null ? void 0 : E.length) > 0;
82118
82118
  });
82119
82119
  });
82120
- }, Fje = { class: "h-full flex flex-col" }, Lje = { class: "flex-grow h-1 overflow-auto" }, Hje = { class: "flex items-center gap-2" }, Vje = { class: "img" }, zje = { class: "img text-[12px]" }, Uje = {
82120
+ }, Fje = { class: "h-full flex flex-col" }, Lje = { class: "px-2" }, Hje = { class: "flex-grow h-1 overflow-auto px-2" }, Vje = { class: "flex items-center gap-2" }, zje = { class: "img" }, Uje = { class: "img text-[12px]" }, jje = {
82121
82121
  key: 2,
82122
82122
  class: "color-[#C0C4CC]"
82123
- }, jje = /* @__PURE__ */ qo({
82123
+ }, Wje = /* @__PURE__ */ qo({
82124
82124
  __name: "department",
82125
82125
  props: {
82126
82126
  modelValue: {},
@@ -82170,7 +82170,7 @@ const koe = [
82170
82170
  }), i.value = R;
82171
82171
  };
82172
82172
  return (A, N) => (At(), hn("div", Fje, [
82173
- Zt("div", null, [
82173
+ Zt("div", Lje, [
82174
82174
  on(Ze(q2), {
82175
82175
  inline: !0,
82176
82176
  model: r.value,
@@ -82201,7 +82201,7 @@ const koe = [
82201
82201
  size: "large"
82202
82202
  }, null, 8, ["modelValue"])
82203
82203
  ]),
82204
- Zt("div", Lje, [
82204
+ Zt("div", Hje, [
82205
82205
  on(Ze(_ue), {
82206
82206
  class: "tree-picker",
82207
82207
  ref_key: "treeRef",
@@ -82219,14 +82219,14 @@ const koe = [
82219
82219
  default: Rn(({ node: R, data: L }) => {
82220
82220
  var U;
82221
82221
  return [
82222
- Zt("div", Hje, [
82222
+ Zt("div", Vje, [
82223
82223
  (L == null ? void 0 : L.type) === "user" ? (At(), gs(Ze(z2), {
82224
82224
  key: 0,
82225
82225
  src: (L == null ? void 0 : L.face) || "",
82226
82226
  class: "face-img"
82227
82227
  }, {
82228
82228
  error: Rn(() => [
82229
- Zt("div", Vje, [
82229
+ Zt("div", zje, [
82230
82230
  on(Ze(ep), { size: "14" }, {
82231
82231
  default: Rn(() => [
82232
82232
  on(Ze(iI), { color: "#fff" })
@@ -82244,13 +82244,13 @@ const koe = [
82244
82244
  error: Rn(() => {
82245
82245
  var q;
82246
82246
  return [
82247
- Zt("div", zje, Rs(((q = L == null ? void 0 : L.name) == null ? void 0 : q.charAt(0)) || ""), 1)
82247
+ Zt("div", Uje, Rs(((q = L == null ? void 0 : L.name) == null ? void 0 : q.charAt(0)) || ""), 1)
82248
82248
  ];
82249
82249
  }),
82250
82250
  _: 2
82251
82251
  }, 1032, ["src"])),
82252
82252
  Zt("span", null, Rs(R.label), 1),
82253
- (L == null ? void 0 : L.type) === "group" ? (At(), hn("span", Uje, " (" + Rs((U = L == null ? void 0 : L.children) == null ? void 0 : U.length) + ") ", 1)) : Ts("", !0)
82253
+ (L == null ? void 0 : L.type) === "group" ? (At(), hn("span", jje, " (" + Rs((U = L == null ? void 0 : L.children) == null ? void 0 : U.length) + ") ", 1)) : Ts("", !0)
82254
82254
  ])
82255
82255
  ];
82256
82256
  }),
@@ -82259,7 +82259,7 @@ const koe = [
82259
82259
  ])
82260
82260
  ]));
82261
82261
  }
82262
- }), Wje = /* @__PURE__ */ hl(jje, [["__scopeId", "data-v-23d5852b"]]), Zje = { class: "h-full flex flex-col" }, Gje = { class: "px-2" }, qje = { class: "flex-grow h-1 overflow-auto" }, Yje = ["onClick"], Kje = { class: "flex items-center gap-2" }, Xje = { class: "img" }, Jje = /* @__PURE__ */ qo({
82262
+ }), Zje = /* @__PURE__ */ hl(Wje, [["__scopeId", "data-v-fd0de41f"]]), Gje = { class: "h-full flex flex-col" }, qje = { class: "px-2" }, Yje = { class: "flex-grow h-1 overflow-auto" }, Kje = ["onClick"], Xje = { class: "flex items-center gap-2" }, Jje = { class: "img" }, Qje = /* @__PURE__ */ qo({
82263
82263
  __name: "people",
82264
82264
  props: {
82265
82265
  modelValue: {},
@@ -82290,8 +82290,8 @@ const koe = [
82290
82290
  var S, E, A;
82291
82291
  w != null && w.id && ((S = i.value) != null && S.includes(w == null ? void 0 : w.id) ? i.value = (E = i.value) == null ? void 0 : E.filter((N) => N !== (w == null ? void 0 : w.id)) : (A = i.value) == null || A.push(w == null ? void 0 : w.id));
82292
82292
  };
82293
- return (w, S) => (At(), hn("div", Zje, [
82294
- Zt("div", Gje, [
82293
+ return (w, S) => (At(), hn("div", Gje, [
82294
+ Zt("div", qje, [
82295
82295
  on(Ze(q2), {
82296
82296
  inline: !0,
82297
82297
  model: r.value,
@@ -82322,7 +82322,7 @@ const koe = [
82322
82322
  size: "large"
82323
82323
  }, null, 8, ["modelValue"])
82324
82324
  ]),
82325
- Zt("div", qje, [
82325
+ Zt("div", Yje, [
82326
82326
  (At(!0), hn(vr, null, Wa(Ze(u), (E, A) => {
82327
82327
  var N;
82328
82328
  return At(), hn("div", {
@@ -82330,7 +82330,7 @@ const koe = [
82330
82330
  key: A,
82331
82331
  onClick: (R) => v(E)
82332
82332
  }, [
82333
- Zt("div", Kje, [
82333
+ Zt("div", Xje, [
82334
82334
  on(Ze(my), {
82335
82335
  "model-value": (N = i.value) == null ? void 0 : N.includes(E == null ? void 0 : E.id),
82336
82336
  size: "large"
@@ -82340,7 +82340,7 @@ const koe = [
82340
82340
  class: "face-img"
82341
82341
  }, {
82342
82342
  error: Rn(() => [
82343
- Zt("div", Xje, [
82343
+ Zt("div", Jje, [
82344
82344
  on(Ze(ep), { size: "16" }, {
82345
82345
  default: Rn(() => [
82346
82346
  on(Ze(iI), { color: "#fff" })
@@ -82353,12 +82353,12 @@ const koe = [
82353
82353
  }, 1032, ["src"]),
82354
82354
  Zt("div", null, Rs(E == null ? void 0 : E.name), 1)
82355
82355
  ])
82356
- ], 8, Yje);
82356
+ ], 8, Kje);
82357
82357
  }), 128))
82358
82358
  ])
82359
82359
  ]));
82360
82360
  }
82361
- }), Qje = /* @__PURE__ */ hl(Jje, [["__scopeId", "data-v-3d7aefcd"]]), eWe = (o) => {
82361
+ }), eWe = /* @__PURE__ */ hl(Qje, [["__scopeId", "data-v-3d7aefcd"]]), tWe = (o) => {
82362
82362
  const { allData: r } = aO({
82363
82363
  type: "roleIds"
82364
82364
  });
@@ -82377,10 +82377,10 @@ const koe = [
82377
82377
  return ((E = S == null ? void 0 : S.children) == null ? void 0 : E.length) > 0;
82378
82378
  });
82379
82379
  });
82380
- }, tWe = { class: "h-full flex flex-col" }, nWe = { class: "flex-grow h-1 overflow-auto" }, oWe = { class: "flex items-center gap-2" }, sWe = { class: "img" }, rWe = { class: "img text-[12px]" }, aWe = {
82380
+ }, nWe = { class: "h-full flex flex-col" }, oWe = { class: "px-2" }, sWe = { class: "flex-grow h-1 overflow-auto px-2" }, rWe = { class: "flex items-center gap-2" }, aWe = { class: "img" }, iWe = { class: "img text-[12px]" }, lWe = {
82381
82381
  key: 2,
82382
82382
  class: "color-[#C0C4CC]"
82383
- }, iWe = /* @__PURE__ */ qo({
82383
+ }, cWe = /* @__PURE__ */ qo({
82384
82384
  __name: "role",
82385
82385
  props: {
82386
82386
  modelValue: {},
@@ -82391,7 +82391,7 @@ const koe = [
82391
82391
  const r = xn({ keyword: "" }), i = fa(o, "modelValue"), { data: u, refresh: m } = aO({
82392
82392
  params: r,
82393
82393
  type: "userIds"
82394
- }), h = eWe(u), v = xn(null), w = Kn(() => {
82394
+ }), h = tWe(u), v = xn(null), w = Kn(() => {
82395
82395
  var N;
82396
82396
  let A = [];
82397
82397
  return (N = h.value) == null || N.forEach((R) => {
@@ -82421,8 +82421,8 @@ const koe = [
82421
82421
  (U == null ? void 0 : U.type) === "user" && R.push(U == null ? void 0 : U.id);
82422
82422
  }), i.value = R;
82423
82423
  };
82424
- return (A, N) => (At(), hn("div", tWe, [
82425
- Zt("div", null, [
82424
+ return (A, N) => (At(), hn("div", nWe, [
82425
+ Zt("div", oWe, [
82426
82426
  on(Ze(q2), {
82427
82427
  inline: !0,
82428
82428
  model: r.value,
@@ -82453,7 +82453,7 @@ const koe = [
82453
82453
  size: "large"
82454
82454
  }, null, 8, ["modelValue"])
82455
82455
  ]),
82456
- Zt("div", nWe, [
82456
+ Zt("div", sWe, [
82457
82457
  on(Ze(_ue), {
82458
82458
  class: "tree-picker",
82459
82459
  ref_key: "treeRef",
@@ -82471,14 +82471,14 @@ const koe = [
82471
82471
  default: Rn(({ node: R, data: L }) => {
82472
82472
  var U;
82473
82473
  return [
82474
- Zt("div", oWe, [
82474
+ Zt("div", rWe, [
82475
82475
  (L == null ? void 0 : L.type) === "user" ? (At(), gs(Ze(z2), {
82476
82476
  key: 0,
82477
82477
  src: (L == null ? void 0 : L.face) || "",
82478
82478
  class: "face-img"
82479
82479
  }, {
82480
82480
  error: Rn(() => [
82481
- Zt("div", sWe, [
82481
+ Zt("div", aWe, [
82482
82482
  on(Ze(ep), { size: "14" }, {
82483
82483
  default: Rn(() => [
82484
82484
  on(Ze(iI), { color: "#fff" })
@@ -82496,13 +82496,13 @@ const koe = [
82496
82496
  error: Rn(() => {
82497
82497
  var q;
82498
82498
  return [
82499
- Zt("div", rWe, Rs(((q = L == null ? void 0 : L.name) == null ? void 0 : q.charAt(0)) || ""), 1)
82499
+ Zt("div", iWe, Rs(((q = L == null ? void 0 : L.name) == null ? void 0 : q.charAt(0)) || ""), 1)
82500
82500
  ];
82501
82501
  }),
82502
82502
  _: 2
82503
82503
  }, 1032, ["src"])),
82504
82504
  Zt("span", null, Rs(R.label), 1),
82505
- (L == null ? void 0 : L.type) === "role" ? (At(), hn("span", aWe, " (" + Rs((U = L == null ? void 0 : L.children) == null ? void 0 : U.length) + ") ", 1)) : Ts("", !0)
82505
+ (L == null ? void 0 : L.type) === "role" ? (At(), hn("span", lWe, " (" + Rs((U = L == null ? void 0 : L.children) == null ? void 0 : U.length) + ") ", 1)) : Ts("", !0)
82506
82506
  ])
82507
82507
  ];
82508
82508
  }),
@@ -82511,7 +82511,7 @@ const koe = [
82511
82511
  ])
82512
82512
  ]));
82513
82513
  }
82514
- }), lWe = /* @__PURE__ */ hl(iWe, [["__scopeId", "data-v-b4a45665"]]), cWe = { class: "flex flex-row h-[420px]" }, uWe = { class: "w-[50%] border-0 border-r-1 border-solid border-gray-200" }, dWe = { class: "h-full" }, fWe = { class: "w-[50%] pl-2" }, mWe = { class: "h-full flex flex-col" }, gWe = { class: "flex-grow overflow-auto flex-shrink h-1" }, hWe = { class: "flex justify-between" }, pWe = /* @__PURE__ */ qo({
82514
+ }), uWe = /* @__PURE__ */ hl(cWe, [["__scopeId", "data-v-c02b3dd0"]]), dWe = { class: "flex flex-row h-[420px]" }, fWe = { class: "w-[50%] border-0 border-r-1 border-solid border-gray-200" }, mWe = { class: "h-full" }, gWe = { class: "w-[50%] pl-2" }, hWe = { class: "h-full flex flex-col" }, pWe = { class: "flex-grow overflow-auto flex-shrink h-1" }, vWe = { class: "flex justify-between" }, bWe = /* @__PURE__ */ qo({
82515
82515
  __name: "index",
82516
82516
  setup(o, { expose: r }) {
82517
82517
  const i = [
@@ -82546,7 +82546,7 @@ const koe = [
82546
82546
  "destroy-on-close": !0
82547
82547
  }, {
82548
82548
  footer: Rn(() => [
82549
- Zt("div", hWe, [
82549
+ Zt("div", vWe, [
82550
82550
  A[9] || (A[9] = Zt("div", null, null, -1)),
82551
82551
  Zt("div", null, [
82552
82552
  on(Ze(Pu), {
@@ -82570,17 +82570,17 @@ const koe = [
82570
82570
  ])
82571
82571
  ]),
82572
82572
  default: Rn(() => [
82573
- Zt("div", cWe, [
82574
- Zt("div", uWe, [
82575
- Zt("div", dWe, [
82573
+ Zt("div", dWe, [
82574
+ Zt("div", fWe, [
82575
+ Zt("div", mWe, [
82576
82576
  on(Pje, {
82577
82577
  modelValue: h.value,
82578
82578
  "onUpdate:modelValue": A[0] || (A[0] = (N) => h.value = N)
82579
82579
  }, null, 8, ["modelValue"])
82580
82580
  ])
82581
82581
  ]),
82582
- Zt("div", fWe, [
82583
- Zt("div", mWe, [
82582
+ Zt("div", gWe, [
82583
+ Zt("div", hWe, [
82584
82584
  on(Ze(Cue), {
82585
82585
  modelValue: v.value,
82586
82586
  "onUpdate:modelValue": A[1] || (A[1] = (N) => v.value = N)
@@ -82594,20 +82594,20 @@ const koe = [
82594
82594
  ]),
82595
82595
  _: 1
82596
82596
  }, 8, ["modelValue"]),
82597
- Zt("div", gWe, [
82598
- v.value === "department" ? (At(), gs(Wje, {
82597
+ Zt("div", pWe, [
82598
+ v.value === "department" ? (At(), gs(Zje, {
82599
82599
  key: 0,
82600
82600
  modelValue: h.value,
82601
82601
  "onUpdate:modelValue": A[2] || (A[2] = (N) => h.value = N),
82602
82602
  ref: "groupRef"
82603
82603
  }, null, 8, ["modelValue"])) : Ts("", !0),
82604
- v.value === "role" ? (At(), gs(lWe, {
82604
+ v.value === "role" ? (At(), gs(uWe, {
82605
82605
  key: 1,
82606
82606
  modelValue: h.value,
82607
82607
  "onUpdate:modelValue": A[3] || (A[3] = (N) => h.value = N),
82608
82608
  ref: "roleRef"
82609
82609
  }, null, 8, ["modelValue"])) : Ts("", !0),
82610
- v.value === "people" ? (At(), gs(Qje, {
82610
+ v.value === "people" ? (At(), gs(eWe, {
82611
82611
  key: 2,
82612
82612
  modelValue: h.value,
82613
82613
  "onUpdate:modelValue": A[4] || (A[4] = (N) => h.value = N),
@@ -82621,10 +82621,10 @@ const koe = [
82621
82621
  _: 1
82622
82622
  }, 8, ["modelValue"]));
82623
82623
  }
82624
- }), vWe = {
82624
+ }), yWe = {
82625
82625
  key: 0,
82626
82626
  class: "inline-block"
82627
- }, bWe = { class: "color-[#409EFF]" }, $he = /* @__PURE__ */ qo({
82627
+ }, wWe = { class: "color-[#409EFF]" }, $he = /* @__PURE__ */ qo({
82628
82628
  __name: "userPickerDisplay",
82629
82629
  props: {
82630
82630
  value: {
@@ -82646,9 +82646,9 @@ const koe = [
82646
82646
  var w, S, E;
82647
82647
  return At(), hn("div", null, [
82648
82648
  Us(Rs(m(u == null ? void 0 : u.value)) + " ", 1),
82649
- ((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >= 3 && (u != null && u.isAbbr) ? (At(), hn("div", vWe, [
82649
+ ((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >= 3 && (u != null && u.isAbbr) ? (At(), hn("div", yWe, [
82650
82650
  v[1] || (v[1] = Us(" 等 ")),
82651
- Zt("span", bWe, Rs((S = u == null ? void 0 : u.value) == null ? void 0 : S.length), 1),
82651
+ Zt("span", wWe, Rs((S = u == null ? void 0 : u.value) == null ? void 0 : S.length), 1),
82652
82652
  v[2] || (v[2] = Us(" 人 "))
82653
82653
  ])) : Ts("", !0),
82654
82654
  on(Ze(Pu), {
@@ -82668,7 +82668,7 @@ const koe = [
82668
82668
  ]);
82669
82669
  };
82670
82670
  }
82671
- }), yWe = /* @__PURE__ */ qo({
82671
+ }), CWe = /* @__PURE__ */ qo({
82672
82672
  __name: "index",
82673
82673
  props: /* @__PURE__ */ gl({
82674
82674
  /** 默认显示的内容,是否简写 */
@@ -82706,7 +82706,7 @@ const koe = [
82706
82706
  isAbbr: i.isAbbr
82707
82707
  }, null, 8, ["value", "isAbbr"])
82708
82708
  ]),
82709
- on(pWe, {
82709
+ on(bWe, {
82710
82710
  ref_key: "dialogRef",
82711
82711
  ref: m
82712
82712
  }, null, 512)
@@ -82714,7 +82714,7 @@ const koe = [
82714
82714
  _: 3
82715
82715
  }, 8, ["modelValue"]));
82716
82716
  }
82717
- }), wWe = Symbol("userPicker"), CWe = /* @__PURE__ */ qo({
82717
+ }), SWe = Symbol("userPicker"), xWe = /* @__PURE__ */ qo({
82718
82718
  __name: "provider",
82719
82719
  props: {
82720
82720
  modelValue: {},
@@ -82723,7 +82723,7 @@ const koe = [
82723
82723
  emits: ["update:modelValue"],
82724
82724
  setup(o) {
82725
82725
  const r = fa(o, "modelValue");
82726
- return Xm(wWe, {
82726
+ return Xm(SWe, {
82727
82727
  modelValue: r
82728
82728
  }), (i, u) => Fr(i.$slots, "default");
82729
82729
  }
@@ -82741,7 +82741,7 @@ const koe = [
82741
82741
  throw Xv[o].isFetching = !1, m;
82742
82742
  });
82743
82743
  return Xv[o].promise = u, await u;
82744
- }, SWe = async (o, r) => {
82744
+ }, _We = async (o, r) => {
82745
82745
  const i = r;
82746
82746
  if (!i) throw new Error("http 实例未提供");
82747
82747
  const u = "userSelector_" + JSON.stringify(o);
@@ -82749,7 +82749,7 @@ const koe = [
82749
82749
  u,
82750
82750
  () => i.get(`/ajax/userselectornew?${ub.stringify(o)}`)
82751
82751
  );
82752
- }, xWe = async (o, r) => {
82752
+ }, EWe = async (o, r) => {
82753
82753
  const i = r;
82754
82754
  if (!i) throw new Error("http 实例未提供");
82755
82755
  const u = "roleByGroup_" + JSON.stringify(o);
@@ -82757,14 +82757,14 @@ const koe = [
82757
82757
  u,
82758
82758
  () => i.get(`/v3role/getByGroup?${ub.stringify(o)}`)
82759
82759
  );
82760
- }, _We = (o) => {
82760
+ }, TWe = (o) => {
82761
82761
  const { params: r, type: i = "userIds" } = o, { http: u } = X4(), m = xn(!1), h = xn({
82762
82762
  userlist: [],
82763
82763
  rolelist: [],
82764
82764
  grouplist: [],
82765
82765
  positionlist: []
82766
82766
  }), v = async () => {
82767
- const w = jt(r) || {}, S = (w == null ? void 0 : w.groupIds) && jt(i) === "role", E = S ? xWe : SWe;
82767
+ const w = jt(r) || {}, S = (w == null ? void 0 : w.groupIds) && jt(i) === "role", E = S ? EWe : _We;
82768
82768
  m.value = !0, await (E == null ? void 0 : E(w, u).then((A) => {
82769
82769
  S ? h.value = {
82770
82770
  ...h.value,
@@ -82793,7 +82793,7 @@ const koe = [
82793
82793
  const { keyword: S, unitId: E, groupIds: A } = jt(r) || {};
82794
82794
  let N = { keyword: S, unitId: E };
82795
82795
  return i === "roleIds" && (N = { ...N, groupIds: A }), N = sI(N), N;
82796
- }), { loading: m, refresh: h, allData: v } = _We({ params: u, type: i }), w = Kn(() => {
82796
+ }), { loading: m, refresh: h, allData: v } = TWe({ params: u, type: i }), w = Kn(() => {
82797
82797
  var L, U, q, X, ae;
82798
82798
  let S = [];
82799
82799
  const { groupIds: E, roleIds: A } = jt(r) || {}, N = (L = E == null ? void 0 : E.split(",")) == null ? void 0 : L.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
@@ -82833,7 +82833,7 @@ const koe = [
82833
82833
  });
82834
82834
  } else
82835
82835
  return [];
82836
- }, EWe = { class: "h-full flex flex-col pr-2" }, TWe = { class: "flex py-1 mb-2 items-center justify-between border-0 border-solid border-b-1 border-[#e4e7ed]" }, kWe = { class: "color-[#333]" }, AWe = { class: "color-[#909399]" }, OWe = { class: "flex-grow h-1 overflow-auto" }, $We = { class: "flex flex-wrap gap-2" }, DWe = { class: "color-[#909399]" }, NWe = /* @__PURE__ */ qo({
82836
+ }, kWe = { class: "h-full flex flex-col pr-2" }, AWe = { class: "flex py-1 mb-2 items-center justify-between border-0 border-solid border-b-1 border-[#e4e7ed]" }, OWe = { class: "color-[#333]" }, $We = { class: "color-[#909399]" }, DWe = { class: "flex-grow h-1 overflow-auto" }, NWe = { class: "flex flex-wrap gap-2" }, MWe = { class: "color-[#909399]" }, RWe = /* @__PURE__ */ qo({
82837
82837
  __name: "list",
82838
82838
  props: {
82839
82839
  modelValue: {
@@ -82848,11 +82848,11 @@ const koe = [
82848
82848
  }, m = (h) => {
82849
82849
  r.value = r.value.filter((v) => v !== (h == null ? void 0 : h.id));
82850
82850
  };
82851
- return (h, v) => (At(), hn("div", EWe, [
82852
- Zt("div", TWe, [
82853
- Zt("div", kWe, [
82851
+ return (h, v) => (At(), hn("div", kWe, [
82852
+ Zt("div", AWe, [
82853
+ Zt("div", OWe, [
82854
82854
  v[0] || (v[0] = Us(" 已选择 ")),
82855
- Zt("span", AWe, Rs(r.value.length), 1)
82855
+ Zt("span", $We, Rs(r.value.length), 1)
82856
82856
  ]),
82857
82857
  Zt("div", {
82858
82858
  class: "flex flex-center gap-1 color-[#909399] cursor-pointer",
@@ -82862,13 +82862,13 @@ const koe = [
82862
82862
  Us(" 清空 ")
82863
82863
  ]))
82864
82864
  ]),
82865
- Zt("div", OWe, [
82866
- Zt("div", $We, [
82865
+ Zt("div", DWe, [
82866
+ Zt("div", NWe, [
82867
82867
  (At(!0), hn(vr, null, Wa(Ze(i), (w) => (At(), hn("div", {
82868
82868
  key: w == null ? void 0 : w.id,
82869
82869
  class: "flex-center gap-2 px-2 rounded-[4px] bg-[#f5f7fa] hover:bg-[#ebedf0] group"
82870
82870
  }, [
82871
- Zt("div", DWe, Rs(w == null ? void 0 : w.name), 1),
82871
+ Zt("div", MWe, Rs(w == null ? void 0 : w.name), 1),
82872
82872
  on(Ze(ep), {
82873
82873
  onClick: (S) => m(w),
82874
82874
  class: "cursor-pointer color-[#C0C4CC] group-hover:color-[#909399]"
@@ -82883,7 +82883,7 @@ const koe = [
82883
82883
  ])
82884
82884
  ]));
82885
82885
  }
82886
- }), MWe = { class: "h-full flex flex-col" }, RWe = { class: "flex-grow h-1 overflow-auto" }, IWe = ["onClick"], PWe = { class: "flex items-center gap-2" }, BWe = { class: "img" }, FWe = /* @__PURE__ */ qo({
82886
+ }), IWe = { class: "h-full flex flex-col" }, PWe = { class: "flex-grow h-1 overflow-auto" }, BWe = ["onClick"], FWe = { class: "flex items-center gap-2" }, LWe = { class: "img" }, HWe = /* @__PURE__ */ qo({
82887
82887
  __name: "department",
82888
82888
  props: {
82889
82889
  modelValue: {},
@@ -82914,7 +82914,7 @@ const koe = [
82914
82914
  var S, E, A;
82915
82915
  w != null && w.id && ((S = i.value) != null && S.includes(w == null ? void 0 : w.id) ? i.value = (E = i.value) == null ? void 0 : E.filter((N) => N !== (w == null ? void 0 : w.id)) : (A = i.value) == null || A.push(w == null ? void 0 : w.id));
82916
82916
  };
82917
- return (w, S) => (At(), hn("div", MWe, [
82917
+ return (w, S) => (At(), hn("div", IWe, [
82918
82918
  Zt("div", null, [
82919
82919
  on(Ze(q2), {
82920
82920
  inline: !0,
@@ -82946,7 +82946,7 @@ const koe = [
82946
82946
  size: "large"
82947
82947
  }, null, 8, ["modelValue"])
82948
82948
  ]),
82949
- Zt("div", RWe, [
82949
+ Zt("div", PWe, [
82950
82950
  (At(!0), hn(vr, null, Wa(Ze(u), (E, A) => {
82951
82951
  var N;
82952
82952
  return At(), hn("div", {
@@ -82954,7 +82954,7 @@ const koe = [
82954
82954
  key: A,
82955
82955
  onClick: (R) => v(E)
82956
82956
  }, [
82957
- Zt("div", PWe, [
82957
+ Zt("div", FWe, [
82958
82958
  on(Ze(my), {
82959
82959
  "model-value": (N = i.value) == null ? void 0 : N.includes(E == null ? void 0 : E.id),
82960
82960
  size: "large"
@@ -82964,7 +82964,7 @@ const koe = [
82964
82964
  class: "face-img"
82965
82965
  }, {
82966
82966
  error: Rn(() => [
82967
- Zt("div", BWe, [
82967
+ Zt("div", LWe, [
82968
82968
  on(Ze(ep), { size: "16" }, {
82969
82969
  default: Rn(() => [
82970
82970
  on(Ze(iI), { color: "#fff" })
@@ -82977,12 +82977,12 @@ const koe = [
82977
82977
  }, 1032, ["src"]),
82978
82978
  Zt("div", null, Rs(E == null ? void 0 : E.name), 1)
82979
82979
  ])
82980
- ], 8, IWe);
82980
+ ], 8, BWe);
82981
82981
  }), 128))
82982
82982
  ])
82983
82983
  ]));
82984
82984
  }
82985
- }), LWe = /* @__PURE__ */ hl(FWe, [["__scopeId", "data-v-d6e9b695"]]), HWe = { class: "flex flex-row h-[420px]" }, VWe = { class: "w-[50%] border-0 border-r-1 border-solid border-gray-200" }, zWe = { class: "h-full" }, UWe = { class: "w-[50%] pl-2" }, jWe = { class: "h-full flex flex-col" }, WWe = { class: "flex-grow overflow-auto flex-shrink h-1" }, ZWe = { class: "flex justify-between" }, GWe = /* @__PURE__ */ qo({
82985
+ }), VWe = /* @__PURE__ */ hl(HWe, [["__scopeId", "data-v-d6e9b695"]]), zWe = { class: "flex flex-row h-[420px]" }, UWe = { class: "w-[50%] border-0 border-r-1 border-solid border-gray-200" }, jWe = { class: "h-full" }, WWe = { class: "w-[50%] pl-2" }, ZWe = { class: "h-full flex flex-col" }, GWe = { class: "flex-grow overflow-auto flex-shrink h-1" }, qWe = { class: "flex justify-between" }, YWe = /* @__PURE__ */ qo({
82986
82986
  __name: "index",
82987
82987
  setup(o, { expose: r }) {
82988
82988
  const i = xn(!1);
@@ -83004,7 +83004,7 @@ const koe = [
83004
83004
  "destroy-on-close": !0
83005
83005
  }, {
83006
83006
  footer: Rn(() => [
83007
- Zt("div", ZWe, [
83007
+ Zt("div", qWe, [
83008
83008
  S[6] || (S[6] = Zt("div", null, null, -1)),
83009
83009
  Zt("div", null, [
83010
83010
  on(Ze(Pu), {
@@ -83028,19 +83028,19 @@ const koe = [
83028
83028
  ])
83029
83029
  ]),
83030
83030
  default: Rn(() => [
83031
- Zt("div", HWe, [
83032
- Zt("div", VWe, [
83033
- Zt("div", zWe, [
83034
- on(NWe, {
83031
+ Zt("div", zWe, [
83032
+ Zt("div", UWe, [
83033
+ Zt("div", jWe, [
83034
+ on(RWe, {
83035
83035
  modelValue: m.value,
83036
83036
  "onUpdate:modelValue": S[0] || (S[0] = (E) => m.value = E)
83037
83037
  }, null, 8, ["modelValue"])
83038
83038
  ])
83039
83039
  ]),
83040
- Zt("div", UWe, [
83041
- Zt("div", jWe, [
83042
- Zt("div", WWe, [
83043
- on(LWe, {
83040
+ Zt("div", WWe, [
83041
+ Zt("div", ZWe, [
83042
+ Zt("div", GWe, [
83043
+ on(VWe, {
83044
83044
  modelValue: m.value,
83045
83045
  "onUpdate:modelValue": S[1] || (S[1] = (E) => m.value = E),
83046
83046
  ref: "groupRef"
@@ -83053,10 +83053,10 @@ const koe = [
83053
83053
  _: 1
83054
83054
  }, 8, ["modelValue"]));
83055
83055
  }
83056
- }), qWe = {
83056
+ }), KWe = {
83057
83057
  key: 0,
83058
83058
  class: "inline-block"
83059
- }, YWe = { class: "color-[#409EFF]" }, Rhe = /* @__PURE__ */ qo({
83059
+ }, XWe = { class: "color-[#409EFF]" }, Rhe = /* @__PURE__ */ qo({
83060
83060
  __name: "departmentPickerDisplay",
83061
83061
  props: {
83062
83062
  value: {
@@ -83078,9 +83078,9 @@ const koe = [
83078
83078
  var w, S, E;
83079
83079
  return At(), hn("div", null, [
83080
83080
  Us(Rs(m(u == null ? void 0 : u.value)) + " ", 1),
83081
- ((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >= 3 && (u != null && u.isAbbr) ? (At(), hn("div", qWe, [
83081
+ ((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >= 3 && (u != null && u.isAbbr) ? (At(), hn("div", KWe, [
83082
83082
  v[1] || (v[1] = Us(" 等 ")),
83083
- Zt("span", YWe, Rs((S = u == null ? void 0 : u.value) == null ? void 0 : S.length), 1),
83083
+ Zt("span", XWe, Rs((S = u == null ? void 0 : u.value) == null ? void 0 : S.length), 1),
83084
83084
  v[2] || (v[2] = Us(" 部门 "))
83085
83085
  ])) : Ts("", !0),
83086
83086
  on(Ze(Pu), {
@@ -83100,7 +83100,7 @@ const koe = [
83100
83100
  ]);
83101
83101
  };
83102
83102
  }
83103
- }), KWe = /* @__PURE__ */ qo({
83103
+ }), JWe = /* @__PURE__ */ qo({
83104
83104
  __name: "index",
83105
83105
  props: /* @__PURE__ */ gl({
83106
83106
  /** 默认显示的内容,是否简写 */
@@ -83123,7 +83123,7 @@ const koe = [
83123
83123
  }
83124
83124
  });
83125
83125
  };
83126
- return (v, w) => (At(), gs(CWe, {
83126
+ return (v, w) => (At(), gs(xWe, {
83127
83127
  modelValue: i.value,
83128
83128
  "onUpdate:modelValue": w[0] || (w[0] = (S) => i.value = S)
83129
83129
  }, {
@@ -83138,7 +83138,7 @@ const koe = [
83138
83138
  isAbbr: r.isAbbr
83139
83139
  }, null, 8, ["value", "isAbbr"])
83140
83140
  ]),
83141
- on(GWe, {
83141
+ on(YWe, {
83142
83142
  ref_key: "dialogRef",
83143
83143
  ref: u
83144
83144
  }, null, 512)
@@ -83146,7 +83146,7 @@ const koe = [
83146
83146
  _: 3
83147
83147
  }, 8, ["modelValue"]));
83148
83148
  }
83149
- }), XWe = Symbol("userPicker"), JWe = /* @__PURE__ */ qo({
83149
+ }), QWe = Symbol("userPicker"), eZe = /* @__PURE__ */ qo({
83150
83150
  __name: "provider",
83151
83151
  props: {
83152
83152
  modelValue: {},
@@ -83155,7 +83155,7 @@ const koe = [
83155
83155
  emits: ["update:modelValue"],
83156
83156
  setup(o) {
83157
83157
  const r = fa(o, "modelValue");
83158
- return Xm(XWe, {
83158
+ return Xm(QWe, {
83159
83159
  modelValue: r
83160
83160
  }), (i, u) => Fr(i.$slots, "default");
83161
83161
  }
@@ -83173,7 +83173,7 @@ const koe = [
83173
83173
  throw Jv[o].isFetching = !1, m;
83174
83174
  });
83175
83175
  return Jv[o].promise = u, await u;
83176
- }, QWe = async (o, r) => {
83176
+ }, tZe = async (o, r) => {
83177
83177
  const i = r;
83178
83178
  if (!i) throw new Error("http 实例未提供");
83179
83179
  const u = "userSelector_" + JSON.stringify(o);
@@ -83181,7 +83181,7 @@ const koe = [
83181
83181
  u,
83182
83182
  () => i.get(`/ajax/userselectornew?${ub.stringify(o)}`)
83183
83183
  );
83184
- }, eZe = async (o, r) => {
83184
+ }, nZe = async (o, r) => {
83185
83185
  const i = r;
83186
83186
  if (!i) throw new Error("http 实例未提供");
83187
83187
  const u = "roleByGroup_" + JSON.stringify(o);
@@ -83189,14 +83189,14 @@ const koe = [
83189
83189
  u,
83190
83190
  () => i.get(`/v3role/getByGroup?${ub.stringify(o)}`)
83191
83191
  );
83192
- }, tZe = (o) => {
83192
+ }, oZe = (o) => {
83193
83193
  const { params: r, type: i = "roleIds" } = o, { http: u } = X4(), m = xn(!1), h = xn({
83194
83194
  userlist: [],
83195
83195
  rolelist: [],
83196
83196
  grouplist: [],
83197
83197
  positionlist: []
83198
83198
  }), v = async () => {
83199
- const w = jt(r) || {}, S = (w == null ? void 0 : w.groupIds) && jt(i) === "role", E = S ? eZe : QWe;
83199
+ const w = jt(r) || {}, S = (w == null ? void 0 : w.groupIds) && jt(i) === "role", E = S ? nZe : tZe;
83200
83200
  m.value = !0, await (E == null ? void 0 : E(w, u).then((A) => {
83201
83201
  S ? h.value = {
83202
83202
  ...h.value,
@@ -83225,7 +83225,7 @@ const koe = [
83225
83225
  const { keyword: S, unitId: E, groupIds: A } = jt(r) || {};
83226
83226
  let N = { keyword: S, unitId: E };
83227
83227
  return i === "roleIds" && (N = { ...N, groupIds: A }), N = sI(N), N;
83228
- }), { loading: m, refresh: h, allData: v } = tZe({ params: u, type: i }), w = Kn(() => {
83228
+ }), { loading: m, refresh: h, allData: v } = oZe({ params: u, type: i }), w = Kn(() => {
83229
83229
  var L, U, q, X, ae;
83230
83230
  let S = [];
83231
83231
  const { groupIds: E, roleIds: A } = jt(r) || {}, N = (L = E == null ? void 0 : E.split(",")) == null ? void 0 : L.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
@@ -83265,7 +83265,7 @@ const koe = [
83265
83265
  });
83266
83266
  } else
83267
83267
  return [];
83268
- }, nZe = { class: "h-full flex flex-col pr-2" }, oZe = { class: "flex py-1 mb-2 items-center justify-between border-0 border-solid border-b-1 border-[#e4e7ed]" }, sZe = { class: "color-[#333]" }, rZe = { class: "color-[#909399]" }, aZe = { class: "flex-grow h-1 overflow-auto" }, iZe = { class: "flex flex-wrap gap-2" }, lZe = { class: "color-[#909399]" }, cZe = /* @__PURE__ */ qo({
83268
+ }, sZe = { class: "h-full flex flex-col pr-2" }, rZe = { class: "flex py-1 mb-2 items-center justify-between border-0 border-solid border-b-1 border-[#e4e7ed]" }, aZe = { class: "color-[#333]" }, iZe = { class: "color-[#909399]" }, lZe = { class: "flex-grow h-1 overflow-auto" }, cZe = { class: "flex flex-wrap gap-2" }, uZe = { class: "color-[#909399]" }, dZe = /* @__PURE__ */ qo({
83269
83269
  __name: "list",
83270
83270
  props: {
83271
83271
  modelValue: {
@@ -83280,11 +83280,11 @@ const koe = [
83280
83280
  }, m = (h) => {
83281
83281
  r.value = r.value.filter((v) => v !== (h == null ? void 0 : h.id));
83282
83282
  };
83283
- return (h, v) => (At(), hn("div", nZe, [
83284
- Zt("div", oZe, [
83285
- Zt("div", sZe, [
83283
+ return (h, v) => (At(), hn("div", sZe, [
83284
+ Zt("div", rZe, [
83285
+ Zt("div", aZe, [
83286
83286
  v[0] || (v[0] = Us(" 已选择 ")),
83287
- Zt("span", rZe, Rs(r.value.length), 1)
83287
+ Zt("span", iZe, Rs(r.value.length), 1)
83288
83288
  ]),
83289
83289
  Zt("div", {
83290
83290
  class: "flex flex-center gap-1 color-[#909399] cursor-pointer",
@@ -83294,13 +83294,13 @@ const koe = [
83294
83294
  Us(" 清空 ")
83295
83295
  ]))
83296
83296
  ]),
83297
- Zt("div", aZe, [
83298
- Zt("div", iZe, [
83297
+ Zt("div", lZe, [
83298
+ Zt("div", cZe, [
83299
83299
  (At(!0), hn(vr, null, Wa(Ze(i), (w) => (At(), hn("div", {
83300
83300
  key: w == null ? void 0 : w.id,
83301
83301
  class: "flex-center gap-2 px-2 rounded-[4px] bg-[#f5f7fa] hover:bg-[#ebedf0] group"
83302
83302
  }, [
83303
- Zt("div", lZe, Rs(w == null ? void 0 : w.name), 1),
83303
+ Zt("div", uZe, Rs(w == null ? void 0 : w.name), 1),
83304
83304
  on(Ze(ep), {
83305
83305
  onClick: (S) => m(w),
83306
83306
  class: "cursor-pointer color-[#C0C4CC] group-hover:color-[#909399]"
@@ -83315,7 +83315,7 @@ const koe = [
83315
83315
  ])
83316
83316
  ]));
83317
83317
  }
83318
- }), uZe = { class: "h-full flex flex-col" }, dZe = { class: "flex-grow h-1 overflow-auto" }, fZe = ["onClick"], mZe = { class: "flex items-center gap-2" }, gZe = /* @__PURE__ */ qo({
83318
+ }), fZe = { class: "h-full flex flex-col" }, mZe = { class: "flex-grow h-1 overflow-auto" }, gZe = ["onClick"], hZe = { class: "flex items-center gap-2" }, pZe = /* @__PURE__ */ qo({
83319
83319
  __name: "role",
83320
83320
  props: {
83321
83321
  modelValue: {},
@@ -83346,7 +83346,7 @@ const koe = [
83346
83346
  var S, E, A;
83347
83347
  w != null && w.id && ((S = i.value) != null && S.includes(w == null ? void 0 : w.id) ? i.value = (E = i.value) == null ? void 0 : E.filter((N) => N !== (w == null ? void 0 : w.id)) : (A = i.value) == null || A.push(w == null ? void 0 : w.id));
83348
83348
  };
83349
- return (w, S) => (At(), hn("div", uZe, [
83349
+ return (w, S) => (At(), hn("div", fZe, [
83350
83350
  Zt("div", null, [
83351
83351
  on(Ze(q2), {
83352
83352
  inline: !0,
@@ -83378,7 +83378,7 @@ const koe = [
83378
83378
  size: "large"
83379
83379
  }, null, 8, ["modelValue"])
83380
83380
  ]),
83381
- Zt("div", dZe, [
83381
+ Zt("div", mZe, [
83382
83382
  (At(!0), hn(vr, null, Wa(Ze(u), (E, A) => {
83383
83383
  var N;
83384
83384
  return At(), hn("div", {
@@ -83386,7 +83386,7 @@ const koe = [
83386
83386
  key: A,
83387
83387
  onClick: (R) => v(E)
83388
83388
  }, [
83389
- Zt("div", mZe, [
83389
+ Zt("div", hZe, [
83390
83390
  on(Ze(my), {
83391
83391
  "model-value": (N = i.value) == null ? void 0 : N.includes(E == null ? void 0 : E.id),
83392
83392
  size: "large"
@@ -83404,12 +83404,12 @@ const koe = [
83404
83404
  }, 1032, ["src"]),
83405
83405
  Zt("div", null, Rs(E == null ? void 0 : E.name), 1)
83406
83406
  ])
83407
- ], 8, fZe);
83407
+ ], 8, gZe);
83408
83408
  }), 128))
83409
83409
  ])
83410
83410
  ]));
83411
83411
  }
83412
- }), hZe = /* @__PURE__ */ hl(gZe, [["__scopeId", "data-v-f7920b18"]]), pZe = { class: "flex flex-row h-[420px]" }, vZe = { class: "w-[50%] border-0 border-r-1 border-solid border-gray-200" }, bZe = { class: "h-full" }, yZe = { class: "w-[50%] pl-2" }, wZe = { class: "h-full flex flex-col" }, CZe = { class: "flex-grow overflow-auto flex-shrink h-1" }, SZe = { class: "flex justify-between" }, xZe = /* @__PURE__ */ qo({
83412
+ }), vZe = /* @__PURE__ */ hl(pZe, [["__scopeId", "data-v-f7920b18"]]), bZe = { class: "flex flex-row h-[420px]" }, yZe = { class: "w-[50%] border-0 border-r-1 border-solid border-gray-200" }, wZe = { class: "h-full" }, CZe = { class: "w-[50%] pl-2" }, SZe = { class: "h-full flex flex-col" }, xZe = { class: "flex-grow overflow-auto flex-shrink h-1" }, _Ze = { class: "flex justify-between" }, EZe = /* @__PURE__ */ qo({
83413
83413
  __name: "index",
83414
83414
  setup(o, { expose: r }) {
83415
83415
  const i = xn(!1);
@@ -83431,7 +83431,7 @@ const koe = [
83431
83431
  "destroy-on-close": !0
83432
83432
  }, {
83433
83433
  footer: Rn(() => [
83434
- Zt("div", SZe, [
83434
+ Zt("div", _Ze, [
83435
83435
  S[6] || (S[6] = Zt("div", null, null, -1)),
83436
83436
  Zt("div", null, [
83437
83437
  on(Ze(Pu), {
@@ -83455,19 +83455,19 @@ const koe = [
83455
83455
  ])
83456
83456
  ]),
83457
83457
  default: Rn(() => [
83458
- Zt("div", pZe, [
83459
- Zt("div", vZe, [
83460
- Zt("div", bZe, [
83461
- on(cZe, {
83458
+ Zt("div", bZe, [
83459
+ Zt("div", yZe, [
83460
+ Zt("div", wZe, [
83461
+ on(dZe, {
83462
83462
  modelValue: m.value,
83463
83463
  "onUpdate:modelValue": S[0] || (S[0] = (E) => m.value = E)
83464
83464
  }, null, 8, ["modelValue"])
83465
83465
  ])
83466
83466
  ]),
83467
- Zt("div", yZe, [
83468
- Zt("div", wZe, [
83469
- Zt("div", CZe, [
83470
- on(hZe, {
83467
+ Zt("div", CZe, [
83468
+ Zt("div", SZe, [
83469
+ Zt("div", xZe, [
83470
+ on(vZe, {
83471
83471
  modelValue: m.value,
83472
83472
  "onUpdate:modelValue": S[1] || (S[1] = (E) => m.value = E)
83473
83473
  }, null, 8, ["modelValue"])
@@ -83479,10 +83479,10 @@ const koe = [
83479
83479
  _: 1
83480
83480
  }, 8, ["modelValue"]));
83481
83481
  }
83482
- }), _Ze = {
83482
+ }), TZe = {
83483
83483
  key: 0,
83484
83484
  class: "inline-block"
83485
- }, EZe = { class: "color-[#409EFF]" }, Fhe = /* @__PURE__ */ qo({
83485
+ }, kZe = { class: "color-[#409EFF]" }, Fhe = /* @__PURE__ */ qo({
83486
83486
  __name: "rolePickerDisplay",
83487
83487
  props: {
83488
83488
  value: {
@@ -83504,9 +83504,9 @@ const koe = [
83504
83504
  var w, S, E;
83505
83505
  return At(), hn("div", null, [
83506
83506
  Us(Rs(m(u == null ? void 0 : u.value)) + " ", 1),
83507
- ((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >= 3 && (u != null && u.isAbbr) ? (At(), hn("div", _Ze, [
83507
+ ((w = u == null ? void 0 : u.value) == null ? void 0 : w.length) >= 3 && (u != null && u.isAbbr) ? (At(), hn("div", TZe, [
83508
83508
  v[1] || (v[1] = Us(" 等 ")),
83509
- Zt("span", EZe, Rs((S = u == null ? void 0 : u.value) == null ? void 0 : S.length), 1),
83509
+ Zt("span", kZe, Rs((S = u == null ? void 0 : u.value) == null ? void 0 : S.length), 1),
83510
83510
  v[2] || (v[2] = Us(" 岗位 "))
83511
83511
  ])) : Ts("", !0),
83512
83512
  on(Ze(Pu), {
@@ -83526,7 +83526,7 @@ const koe = [
83526
83526
  ]);
83527
83527
  };
83528
83528
  }
83529
- }), TZe = /* @__PURE__ */ qo({
83529
+ }), AZe = /* @__PURE__ */ qo({
83530
83530
  __name: "index",
83531
83531
  props: /* @__PURE__ */ gl({
83532
83532
  /** 默认显示的内容,是否简写 */
@@ -83549,7 +83549,7 @@ const koe = [
83549
83549
  }
83550
83550
  });
83551
83551
  };
83552
- return (v, w) => (At(), gs(JWe, {
83552
+ return (v, w) => (At(), gs(eZe, {
83553
83553
  modelValue: i.value,
83554
83554
  "onUpdate:modelValue": w[0] || (w[0] = (S) => i.value = S)
83555
83555
  }, {
@@ -83564,7 +83564,7 @@ const koe = [
83564
83564
  isAbbr: r.isAbbr
83565
83565
  }, null, 8, ["value", "isAbbr"])
83566
83566
  ]),
83567
- on(xZe, {
83567
+ on(EZe, {
83568
83568
  ref_key: "dialogRef",
83569
83569
  ref: u
83570
83570
  }, null, 512)
@@ -83586,7 +83586,7 @@ const koe = [
83586
83586
  throw Qv[o].isFetching = !1, m;
83587
83587
  });
83588
83588
  return Qv[o].promise = u, await u;
83589
- }, kZe = async (o, r) => {
83589
+ }, OZe = async (o, r) => {
83590
83590
  const i = r;
83591
83591
  if (!i) throw new Error("http 实例未提供");
83592
83592
  const u = "userSelector_" + JSON.stringify(o);
@@ -83594,7 +83594,7 @@ const koe = [
83594
83594
  u,
83595
83595
  () => i.get(`/ajax/userselectornew?${ub.stringify(o)}`)
83596
83596
  );
83597
- }, AZe = async (o, r) => {
83597
+ }, $Ze = async (o, r) => {
83598
83598
  const i = r;
83599
83599
  if (!i) throw new Error("http 实例未提供");
83600
83600
  const u = "roleByGroup_" + JSON.stringify(o);
@@ -83602,14 +83602,14 @@ const koe = [
83602
83602
  u,
83603
83603
  () => i.get(`/v3role/getByGroup?${ub.stringify(o)}`)
83604
83604
  );
83605
- }, OZe = (o) => {
83605
+ }, DZe = (o) => {
83606
83606
  const { params: r, type: i = "userIds" } = o, { http: u } = X4(), m = xn(!1), h = xn({
83607
83607
  userlist: [],
83608
83608
  rolelist: [],
83609
83609
  grouplist: [],
83610
83610
  positionlist: []
83611
83611
  }), v = async () => {
83612
- const w = jt(r) || {}, S = (w == null ? void 0 : w.groupIds) && jt(i) === "role", E = S ? AZe : kZe;
83612
+ const w = jt(r) || {}, S = (w == null ? void 0 : w.groupIds) && jt(i) === "role", E = S ? $Ze : OZe;
83613
83613
  m.value = !0, await (E == null ? void 0 : E(w, u).then((A) => {
83614
83614
  S ? h.value = {
83615
83615
  ...h.value,
@@ -83638,7 +83638,7 @@ const koe = [
83638
83638
  const { keyword: S, unitId: E, groupIds: A } = jt(r) || {};
83639
83639
  let N = { keyword: S, unitId: E };
83640
83640
  return i === "roleIds" && (N = { ...N, groupIds: A }), N = sI(N), N;
83641
- }), { loading: m, refresh: h, allData: v } = OZe({ params: u, type: i }), w = Kn(() => {
83641
+ }), { loading: m, refresh: h, allData: v } = DZe({ params: u, type: i }), w = Kn(() => {
83642
83642
  var L, U, q, X, ae;
83643
83643
  let S = [];
83644
83644
  const { groupIds: E, roleIds: A } = jt(r) || {}, N = (L = E == null ? void 0 : E.split(",")) == null ? void 0 : L.filter(Boolean), R = (U = A == null ? void 0 : A.split(",")) == null ? void 0 : U.filter(Boolean);
@@ -83664,13 +83664,13 @@ const koe = [
83664
83664
  refresh: h,
83665
83665
  allData: v
83666
83666
  };
83667
- }, $Ze = { class: "w-[420px] flex h-[300px]" }, DZe = { class: "h-full w-1/2 leftContent flex flex-col pr-2" }, NZe = { class: "mb-1" }, MZe = { class: "h-1 overflow-auto flex-grow" }, RZe = ["onClick"], IZe = {
83667
+ }, NZe = { class: "w-[420px] flex h-[300px]" }, MZe = { class: "h-full w-1/2 leftContent flex flex-col pr-2" }, RZe = { class: "mb-1" }, IZe = { class: "h-1 overflow-auto flex-grow" }, PZe = ["onClick"], BZe = {
83668
83668
  key: 0,
83669
83669
  class: "i-bi:check2"
83670
- }, PZe = { class: "h-full w-1/2 flex flex-col pl-2" }, BZe = { class: "mb-1" }, FZe = { class: "h-1 overflow-auto flex-grow" }, LZe = ["onClick"], HZe = {
83670
+ }, FZe = { class: "h-full w-1/2 flex flex-col pl-2" }, LZe = { class: "mb-1" }, HZe = { class: "h-1 overflow-auto flex-grow" }, VZe = ["onClick"], zZe = {
83671
83671
  key: 0,
83672
83672
  class: "i-bi:check2"
83673
- }, VZe = { class: "color-[#6B7280] text-[12px] tips flex items-center pt-2 justify-between" }, zZe = /* @__PURE__ */ qo({
83673
+ }, UZe = { class: "color-[#6B7280] text-[12px] tips flex items-center pt-2 justify-between" }, jZe = /* @__PURE__ */ qo({
83674
83674
  __name: "roleAndDepartmentSelect",
83675
83675
  props: {
83676
83676
  modelValue: {
@@ -83703,9 +83703,9 @@ const koe = [
83703
83703
  }) : A;
83704
83704
  });
83705
83705
  return (A, N) => (At(), hn("div", null, [
83706
- Zt("div", $Ze, [
83707
- Zt("div", DZe, [
83708
- Zt("div", NZe, [
83706
+ Zt("div", NZe, [
83707
+ Zt("div", MZe, [
83708
+ Zt("div", RZe, [
83709
83709
  N[2] || (N[2] = Zt("div", { class: "color-[#333] font-bold mb-2" }, "选择部门", -1)),
83710
83710
  on(Ze(Yg), {
83711
83711
  modelValue: v.value,
@@ -83716,19 +83716,19 @@ const koe = [
83716
83716
  class: "w-full"
83717
83717
  }, null, 8, ["modelValue"])
83718
83718
  ]),
83719
- Zt("div", MZe, [
83719
+ Zt("div", IZe, [
83720
83720
  (At(!0), hn(vr, null, Wa(S.value, (R) => (At(), hn("div", {
83721
83721
  class: Pd(["flex items-center justify-between hover:bg-[#F5F7FA] rounded-[4px] py-2 px-2 cursor-pointer", { "color-[#409EFF]": (R == null ? void 0 : R.id) === i.value.groupId }]),
83722
83722
  key: R == null ? void 0 : R.id,
83723
83723
  onClick: (L) => i.value.groupId = R == null ? void 0 : R.id
83724
83724
  }, [
83725
83725
  Us(Rs(R == null ? void 0 : R.name) + " ", 1),
83726
- (R == null ? void 0 : R.id) === i.value.groupId ? (At(), hn("div", IZe)) : Ts("", !0)
83727
- ], 10, RZe))), 128))
83726
+ (R == null ? void 0 : R.id) === i.value.groupId ? (At(), hn("div", BZe)) : Ts("", !0)
83727
+ ], 10, PZe))), 128))
83728
83728
  ])
83729
83729
  ]),
83730
- Zt("div", PZe, [
83731
- Zt("div", BZe, [
83730
+ Zt("div", FZe, [
83731
+ Zt("div", LZe, [
83732
83732
  N[3] || (N[3] = Zt("div", { class: "color-[#333] font-bold mb-2" }, "选择岗位", -1)),
83733
83733
  on(Ze(Yg), {
83734
83734
  modelValue: h.value,
@@ -83739,19 +83739,19 @@ const koe = [
83739
83739
  class: "w-full"
83740
83740
  }, null, 8, ["modelValue"])
83741
83741
  ]),
83742
- Zt("div", FZe, [
83742
+ Zt("div", HZe, [
83743
83743
  (At(!0), hn(vr, null, Wa(E.value, (R) => (At(), hn("div", {
83744
83744
  class: Pd(["flex items-center justify-between hover:bg-[#F5F7FA] rounded-[4px] py-2 px-2 cursor-pointer", { "color-[#409EFF]": (R == null ? void 0 : R.id) === i.value.roleId }]),
83745
83745
  key: R == null ? void 0 : R.id,
83746
83746
  onClick: (L) => i.value.roleId = R == null ? void 0 : R.id
83747
83747
  }, [
83748
83748
  Us(Rs(R == null ? void 0 : R.name) + " ", 1),
83749
- (R == null ? void 0 : R.id) === i.value.roleId ? (At(), hn("div", HZe)) : Ts("", !0)
83750
- ], 10, LZe))), 128))
83749
+ (R == null ? void 0 : R.id) === i.value.roleId ? (At(), hn("div", zZe)) : Ts("", !0)
83750
+ ], 10, VZe))), 128))
83751
83751
  ])
83752
83752
  ])
83753
83753
  ]),
83754
- Zt("div", VZe, [
83754
+ Zt("div", UZe, [
83755
83755
  N[5] || (N[5] = Zt("div", null, [
83756
83756
  Zt("span", { class: "font-bold" }, "提示:"),
83757
83757
  Us(" 若部门和岗位均选择不限则视为不限制 ")
@@ -83769,7 +83769,7 @@ const koe = [
83769
83769
  ])
83770
83770
  ]));
83771
83771
  }
83772
- }), UZe = /* @__PURE__ */ hl(zZe, [["__scopeId", "data-v-4d4aa43e"]]), jZe = (o) => {
83772
+ }), WZe = /* @__PURE__ */ hl(jZe, [["__scopeId", "data-v-4d4aa43e"]]), ZZe = (o) => {
83773
83773
  if (jt(o)) {
83774
83774
  const { allData: r } = Hhe({
83775
83775
  type: "groupIds"
@@ -83792,10 +83792,10 @@ const koe = [
83792
83792
  });
83793
83793
  } else
83794
83794
  return Kn(() => []);
83795
- }, WZe = { class: "w-full" }, ZZe = { class: "flex justify-between header items-center h-[32px]" }, GZe = { class: "flex gap-1" }, qZe = { class: "content mt-2" }, YZe = { class: "flex-center gap-1" }, KZe = ["onClick"], XZe = {
83795
+ }, GZe = { class: "w-full" }, qZe = { class: "flex justify-between header items-center h-[32px]" }, YZe = { class: "flex gap-1" }, KZe = { class: "content mt-2" }, XZe = { class: "flex-center gap-1" }, JZe = ["onClick"], QZe = {
83796
83796
  key: 0,
83797
83797
  class: "h-[100px] flex-center"
83798
- }, JZe = /* @__PURE__ */ qo({
83798
+ }, eGe = /* @__PURE__ */ qo({
83799
83799
  __name: "index",
83800
83800
  props: {
83801
83801
  modelValue: { default: [] },
@@ -83808,7 +83808,7 @@ const koe = [
83808
83808
  E != null && E.roleId && (E != null && E.groupId) && ((A = r.value) != null && A.some(
83809
83809
  (L) => L.roleId === E.roleId && L.groupId === E.groupId
83810
83810
  ) || (r.value = [...r.value || [], E])), (N = m.value) == null || N.hide();
83811
- }, m = xn(null), h = jZe(r), v = (E) => {
83811
+ }, m = xn(null), h = ZZe(r), v = (E) => {
83812
83812
  var R, L;
83813
83813
  let A = (R = E == null ? void 0 : E.role) == null ? void 0 : R.id, N = (L = E == null ? void 0 : E.group) == null ? void 0 : L.id;
83814
83814
  r.value = r.value.filter((U) => !oc(U, { roleId: A, groupId: N }));
@@ -83819,13 +83819,13 @@ const koe = [
83819
83819
  };
83820
83820
  return (E, A) => {
83821
83821
  var N;
83822
- return At(), hn("div", WZe, [
83823
- Zt("div", ZZe, [
83822
+ return At(), hn("div", GZe, [
83823
+ Zt("div", qZe, [
83824
83824
  A[3] || (A[3] = Zt("div", { class: "color-[#333]" }, [
83825
83825
  Us(" 已选择 "),
83826
83826
  Zt("span", { class: "color-[#909399] text-[13px]" }, "(3)")
83827
83827
  ], -1)),
83828
- Zt("div", GZe, [
83828
+ Zt("div", YZe, [
83829
83829
  on(Ze(NU), {
83830
83830
  ref_key: "popoverRef",
83831
83831
  ref: m,
@@ -83843,7 +83843,7 @@ const koe = [
83843
83843
  })
83844
83844
  ]),
83845
83845
  default: Rn(() => [
83846
- on(UZe, {
83846
+ on(WZe, {
83847
83847
  modelValue: i.value,
83848
83848
  "onUpdate:modelValue": A[0] || (A[0] = (R) => i.value = R),
83849
83849
  onOk: u
@@ -83863,34 +83863,34 @@ const koe = [
83863
83863
  })
83864
83864
  ])
83865
83865
  ]),
83866
- Zt("div", qZe, [
83866
+ Zt("div", KZe, [
83867
83867
  (At(!0), hn(vr, null, Wa(Ze(h), (R, L) => {
83868
83868
  var U, q;
83869
83869
  return At(), hn("div", {
83870
83870
  key: L,
83871
83871
  class: "item"
83872
83872
  }, [
83873
- Zt("div", YZe, [
83873
+ Zt("div", XZe, [
83874
83874
  A[4] || (A[4] = Zt("div", { class: "i-bi:diagram-2 color-[#D4D7DE]" }, null, -1)),
83875
83875
  Us(" " + Rs((U = R == null ? void 0 : R.group) == null ? void 0 : U.name) + " - " + Rs((q = R == null ? void 0 : R.role) == null ? void 0 : q.name), 1)
83876
83876
  ]),
83877
83877
  Zt("div", {
83878
83878
  class: "i-bi:x-circle-fill color-[#C0C4CC] hover:color-[#409EFF] cursor-pointer",
83879
83879
  onClick: () => v(R)
83880
- }, null, 8, KZe)
83880
+ }, null, 8, JZe)
83881
83881
  ]);
83882
83882
  }), 128)),
83883
- ((N = Ze(h)) == null ? void 0 : N.length) > 0 ? Ts("", !0) : (At(), hn("div", XZe, "暂无数据"))
83883
+ ((N = Ze(h)) == null ? void 0 : N.length) > 0 ? Ts("", !0) : (At(), hn("div", QZe, "暂无数据"))
83884
83884
  ])
83885
83885
  ]);
83886
83886
  };
83887
83887
  }
83888
- }), QZe = /* @__PURE__ */ hl(JZe, [["__scopeId", "data-v-6811f20c"]]), bue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83888
+ }), tGe = /* @__PURE__ */ hl(eGe, [["__scopeId", "data-v-6811f20c"]]), bue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83889
83889
  __proto__: null,
83890
83890
  ConfigProvider: Fve,
83891
83891
  ConfirmTextSetter: xje,
83892
83892
  DateFormatSetter: wje,
83893
- DepartmentPicker: KWe,
83893
+ DepartmentPicker: JWe,
83894
83894
  DepartmentPickerDisplay: Rhe,
83895
83895
  FilePreview: k6e,
83896
83896
  FormFlow: xUe,
@@ -83902,28 +83902,28 @@ const koe = [
83902
83902
  OptionsSetter: bje,
83903
83903
  ProEditor: fMe,
83904
83904
  ProEditorPreview: pMe,
83905
- RoleAndDepartmentPicker: QZe,
83906
- RolePicker: TZe,
83905
+ RoleAndDepartmentPicker: tGe,
83906
+ RolePicker: AZe,
83907
83907
  RolePickerDisplay: Fhe,
83908
- UserPicker: yWe,
83908
+ UserPicker: CWe,
83909
83909
  UserPickerDisplay: $he,
83910
83910
  UserSelector: j_e,
83911
83911
  ZyPageLayout: _6e,
83912
83912
  configProviderContextKey: Hoe,
83913
83913
  defaultConfig: gde,
83914
83914
  useConfigProvider: X4
83915
- }, Symbol.toStringTag, { value: "Module" })), eGe = gpe;
83916
- function tGe(o) {
83915
+ }, Symbol.toStringTag, { value: "Module" })), nGe = gpe;
83916
+ function oGe(o) {
83917
83917
  return Object.keys(bue).forEach((r) => {
83918
83918
  o.component(r, bue[r]);
83919
83919
  }), o;
83920
83920
  }
83921
- const dGe = { install: tGe, version: eGe };
83921
+ const mGe = { install: oGe, version: nGe };
83922
83922
  export {
83923
83923
  Fve as ConfigProvider,
83924
83924
  xje as ConfirmTextSetter,
83925
83925
  wje as DateFormatSetter,
83926
- KWe as DepartmentPicker,
83926
+ JWe as DepartmentPicker,
83927
83927
  Rhe as DepartmentPickerDisplay,
83928
83928
  k6e as FilePreview,
83929
83929
  xUe as FormFlow,
@@ -83935,17 +83935,17 @@ export {
83935
83935
  bje as OptionsSetter,
83936
83936
  fMe as ProEditor,
83937
83937
  pMe as ProEditorPreview,
83938
- QZe as RoleAndDepartmentPicker,
83939
- TZe as RolePicker,
83938
+ tGe as RoleAndDepartmentPicker,
83939
+ AZe as RolePicker,
83940
83940
  Fhe as RolePickerDisplay,
83941
- yWe as UserPicker,
83941
+ CWe as UserPicker,
83942
83942
  $he as UserPickerDisplay,
83943
83943
  j_e as UserSelector,
83944
83944
  _6e as ZyPageLayout,
83945
83945
  Hoe as configProviderContextKey,
83946
- dGe as default,
83946
+ mGe as default,
83947
83947
  gde as defaultConfig,
83948
- tGe as install,
83948
+ oGe as install,
83949
83949
  X4 as useConfigProvider,
83950
- eGe as version
83950
+ nGe as version
83951
83951
  };