iking-web-ui-pro 0.0.2 → 0.0.3

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.
Files changed (53) hide show
  1. package/dist/IKApprovalProcess/index.es.js +1 -1
  2. package/dist/IKApprovalProcess/index.umd.js +1 -1
  3. package/dist/IKApprovalProcess/style.css +1 -1
  4. package/dist/IKApprovalProcessDetail/style.css +1 -1
  5. package/dist/IKCalendar/index.es.js +1 -1
  6. package/dist/IKCalendar/index.umd.js +1 -1
  7. package/dist/IKCalendar/style.css +1 -1
  8. package/dist/IKDetailPreviewFiles/index.es.js +244 -1424
  9. package/dist/IKDetailPreviewFiles/index.umd.js +1 -1
  10. package/dist/IKDetailPreviewFiles/style.css +1 -1
  11. package/dist/IKExpandCollapse/index.es.js +143 -1323
  12. package/dist/IKExpandCollapse/index.umd.js +1 -1
  13. package/dist/IKExpandCollapse/style.css +1 -1
  14. package/dist/IKSearch/index.es.js +1 -1
  15. package/dist/IKSearch/index.umd.js +1 -1
  16. package/dist/IKSearch/style.css +1 -1
  17. package/dist/IKVerticalStepBar/index.es.js +190 -1370
  18. package/dist/IKVerticalStepBar/index.umd.js +3 -3
  19. package/dist/IKVerticalStepBar/style.css +1 -1
  20. package/dist/IkBaseDialog/index.es.js +234 -0
  21. package/dist/IkBaseDialog/index.umd.js +1 -0
  22. package/dist/IkBaseDialog/style.css +1 -0
  23. package/dist/IkBtnSetting/index.es.js +336 -1517
  24. package/dist/IkBtnSetting/index.umd.js +1 -1
  25. package/dist/IkBtnSetting/style.css +1 -1
  26. package/dist/IkIconPicker/index.es.js +2885 -1449
  27. package/dist/IkIconPicker/index.umd.js +5 -1
  28. package/dist/IkIconPicker/style.css +1 -1
  29. package/dist/IkPageFull/index.es.js +1678 -2859
  30. package/dist/IkPageFull/index.umd.js +3 -3
  31. package/dist/IkPageFull/style.css +1 -1
  32. package/dist/IkPicker/index.es.js +1 -1
  33. package/dist/IkPicker/index.umd.js +1 -1
  34. package/dist/IkPicker/style.css +1 -1
  35. package/dist/IkPickerUser/index.es.js +255 -237
  36. package/dist/IkPickerUser/index.umd.js +1 -1
  37. package/dist/IkPickerUser/style.css +1 -1
  38. package/dist/IkSchedule/index.es.js +2181 -3362
  39. package/dist/IkSchedule/index.umd.js +1 -1
  40. package/dist/IkSchedule/style.css +1 -1
  41. package/dist/IkSvgIcon/index.es.js +125 -1310
  42. package/dist/IkSvgIcon/index.umd.js +1 -1
  43. package/dist/IkUploadFile/index.es.js +955 -596
  44. package/dist/IkUploadFile/index.umd.js +1 -1
  45. package/dist/IkUploadFile/style.css +1 -1
  46. package/dist/IkUploadImage/index.es.js +113 -110
  47. package/dist/IkUploadImage/index.umd.js +1 -1
  48. package/dist/IkUploadImage/style.css +1 -1
  49. package/dist/index.es.js +12914 -11169
  50. package/dist/index.umd.js +10 -6
  51. package/dist/style.css +1 -1
  52. package/package.json +3 -3
  53. package/dist/IkSvgIcon/style.css +0 -1
@@ -1,17 +1,17 @@
1
- import { openBlock as r, createElementBlock as h, createElementVNode as c, defineComponent as ne, resolveComponent as me, createBlock as C, toDisplayString as V, createCommentVNode as k, computed as B, ref as L, Fragment as S, unref as y, withCtx as P, createTextVNode as K, renderList as X, createVNode as _, pushScopeId as ge, popScopeId as ye, useCssVars as qe, watch as F, toRef as Ke, reactive as Ue, nextTick as Ve, watchEffect as Se, withModifiers as ae, normalizeStyle as Ye, normalizeClass as Je, withDirectives as re, vShow as $e } from "vue";
1
+ import { openBlock as r, createElementBlock as f, createElementVNode as c, defineComponent as ne, resolveComponent as me, createBlock as C, toDisplayString as V, createCommentVNode as k, computed as T, ref as L, Fragment as S, unref as y, withCtx as P, createTextVNode as K, renderList as X, createVNode as _, normalizeClass as De, pushScopeId as ge, popScopeId as ye, useCssVars as Ke, watch as F, toRef as Ye, reactive as Ue, nextTick as Ve, watchEffect as Se, withModifiers as ae, normalizeStyle as Je, withDirectives as re, vShow as $e } from "vue";
2
2
  import { ElCheckbox as ee, ElCheckboxGroup as xe, ElRadioGroup as Oe, ElRadio as Pe, ElDialog as et, ElButton as fe, ElInput as tt, ElBreadcrumb as lt, ElBreadcrumbItem as at, vLoading as ve } from "element-plus";
3
- import { _ as H, ikStore as De, ikEvent as st } from "iking-utils";
3
+ import { _ as H, ikStore as Ee, ikEvent as st } from "iking-utils";
4
4
  import nt from "axios";
5
- const ot = (s, A) => {
6
- if (s.install = (e) => {
7
- for (const l of [s, ...Object.values(A ?? {})])
5
+ const ot = (n, A) => {
6
+ if (n.install = (e) => {
7
+ for (const l of [n, ...Object.values(A ?? {})])
8
8
  e.component(l.name, l);
9
9
  }, A)
10
10
  for (const [e, l] of Object.entries(A))
11
- s[e] = l;
12
- return s;
13
- }, N = (s, A) => {
14
- const e = s.__vccOpts || s;
11
+ n[e] = l;
12
+ return n;
13
+ }, N = (n, A) => {
14
+ const e = n.__vccOpts || n;
15
15
  for (const [l, g] of A)
16
16
  e[l] = g;
17
17
  return e;
@@ -45,8 +45,8 @@ const ot = (s, A) => {
45
45
  ut,
46
46
  pt
47
47
  ];
48
- function dt(s, A) {
49
- return r(), h("svg", rt, ct);
48
+ function dt(n, A) {
49
+ return r(), f("svg", rt, ct);
50
50
  }
51
51
  const At = /* @__PURE__ */ N(it, [["render", dt]]), ht = {}, ft = {
52
52
  t: "1710907270798",
@@ -81,8 +81,8 @@ const At = /* @__PURE__ */ N(it, [["render", dt]]), ht = {}, ft = {
81
81
  vt,
82
82
  mt
83
83
  ];
84
- function yt(s, A) {
85
- return r(), h("svg", ft, gt);
84
+ function yt(n, A) {
85
+ return r(), f("svg", ft, gt);
86
86
  }
87
87
  const xt = /* @__PURE__ */ N(ht, [["render", yt]]), Ot = {}, Pt = {
88
88
  t: "1710904463698",
@@ -117,8 +117,8 @@ const xt = /* @__PURE__ */ N(ht, [["render", yt]]), Ot = {}, Pt = {
117
117
  Lt,
118
118
  kt
119
119
  ];
120
- function wt(s, A) {
121
- return r(), h("svg", Pt, _t);
120
+ function wt(n, A) {
121
+ return r(), f("svg", Pt, _t);
122
122
  }
123
123
  const bt = /* @__PURE__ */ N(Ot, [["render", wt]]), Ct = {}, Bt = {
124
124
  t: "1710904436436",
@@ -153,8 +153,8 @@ const bt = /* @__PURE__ */ N(Ot, [["render", wt]]), Ct = {}, Bt = {
153
153
  Tt,
154
154
  Ut
155
155
  ];
156
- function St(s, A) {
157
- return r(), h("svg", Bt, Vt);
156
+ function St(n, A) {
157
+ return r(), f("svg", Bt, Vt);
158
158
  }
159
159
  const It = /* @__PURE__ */ N(Ct, [["render", St]]), Dt = {}, Et = {
160
160
  t: "1710904287393",
@@ -189,8 +189,8 @@ const It = /* @__PURE__ */ N(Ct, [["render", St]]), Dt = {}, Et = {
189
189
  Mt,
190
190
  Rt
191
191
  ];
192
- function Ht(s, A) {
193
- return r(), h("svg", Et, Wt);
192
+ function Ht(n, A) {
193
+ return r(), f("svg", Et, Wt);
194
194
  }
195
195
  const Gt = /* @__PURE__ */ N(Dt, [["render", Ht]]), jt = { class: "avatar" }, Qt = {
196
196
  key: 3,
@@ -221,20 +221,20 @@ const Gt = /* @__PURE__ */ N(Dt, [["render", Ht]]), jt = { class: "avatar" }, Qt
221
221
  default: ""
222
222
  }
223
223
  },
224
- setup(s) {
225
- const A = s, e = `${A.imageBaseUrl}/server/oss/download?fileUrl=` || `${location.origin}/server/oss/download?fileUrl=`, l = (g) => g ? g.startsWith("http") ? g : `${e}${g}` : "";
224
+ setup(n) {
225
+ const A = n, e = `${A.imageBaseUrl}/server/oss/download?fileUrl=` || `${location.origin}/server/oss/download?fileUrl=`, l = (g) => g ? g.startsWith("http") ? g : `${e}${g}` : "";
226
226
  return (g, x) => {
227
227
  const O = me("el-avatar");
228
- return r(), h("div", jt, [
229
- A.fixTypeOpt.group === s.element[A.fixPropOpt.type] ? (r(), C(Gt, { key: 0 })) : A.fixTypeOpt.role === s.element[A.fixPropOpt.type] ? (r(), C(bt, { key: 1 })) : A.fixTypeOpt.post === s.element[A.fixPropOpt.type] ? (r(), C(It, { key: 2 })) : A.fixTypeOpt.user === s.element[A.fixPropOpt.type] ? (r(), h("div", Qt, [
230
- s.element[s.fixPropOpt.avatar] ? (r(), C(O, {
228
+ return r(), f("div", jt, [
229
+ A.fixTypeOpt.group === n.element[A.fixPropOpt.type] ? (r(), C(Gt, { key: 0 })) : A.fixTypeOpt.role === n.element[A.fixPropOpt.type] ? (r(), C(bt, { key: 1 })) : A.fixTypeOpt.post === n.element[A.fixPropOpt.type] ? (r(), C(It, { key: 2 })) : A.fixTypeOpt.user === n.element[A.fixPropOpt.type] ? (r(), f("div", Qt, [
230
+ n.element[n.fixPropOpt.avatar] ? (r(), C(O, {
231
231
  key: 0,
232
232
  shape: "square",
233
- src: l(s.fixPropOpt.avatar ? s.element[s.fixPropOpt.avatar] : "")
234
- }, null, 8, ["src"])) : (r(), h(
233
+ src: l(n.fixPropOpt.avatar ? n.element[n.fixPropOpt.avatar] : "")
234
+ }, null, 8, ["src"])) : (r(), f(
235
235
  "div",
236
236
  Xt,
237
- V(s.element[s.fixPropOpt.name].slice(-2)),
237
+ V(n.element[n.fixPropOpt.name].slice(-2)),
238
238
  1
239
239
  /* TEXT */
240
240
  ))
@@ -286,8 +286,13 @@ const Y = /* @__PURE__ */ N(Nt, [["__scopeId", "data-v-bc7cca29"]]), Le = "data:
286
286
  emptyText: {
287
287
  type: String,
288
288
  default: "暂无数据"
289
+ },
290
+ // 是否允许选择子集
291
+ children: {
292
+ type: Boolean,
293
+ default: !0
289
294
  }
290
- }, Ft = (s) => (ge("data-v-0a55c123"), s = s(), ye(), s), zt = { class: "left-pick-list" }, Zt = {
295
+ }, Ft = (n) => (ge("data-v-33f94c51"), n = n(), ye(), n), zt = { class: "left-pick-list" }, Zt = {
291
296
  key: 1,
292
297
  class: "post-view-list"
293
298
  }, qt = { class: "checkText" }, Kt = { class: "iconBox" }, Yt = {
@@ -312,28 +317,28 @@ const Y = /* @__PURE__ */ N(Nt, [["__scopeId", "data-v-bc7cca29"]]), Le = "data:
312
317
  __name: "GroupList",
313
318
  props: ke,
314
319
  emits: ["change", "check", "handChild"],
315
- setup(s, { emit: A }) {
320
+ setup(n, { emit: A }) {
316
321
  var p, a;
317
- const e = s, l = B(() => {
318
- var i, n;
319
- return ((i = e.handList) == null ? void 0 : i.length) === ((n = e.list) == null ? void 0 : n.length);
320
- }), g = B(() => {
321
- var v, b, U, I;
322
- const i = (v = e.handList) == null ? void 0 : v.length, n = (b = e.list) == null ? void 0 : b.length;
323
- return e.multiple ? x.value = e.handList.map((u) => u[e.fixPropOpt.id]) : O.value = (I = (U = e.handList) == null ? void 0 : U[0]) == null ? void 0 : I[e.fixPropOpt.id], i > 0 && i < n;
322
+ const e = n, l = T(() => {
323
+ var i, s;
324
+ return ((i = e.handList) == null ? void 0 : i.length) === ((s = e.list) == null ? void 0 : s.length);
325
+ }), g = T(() => {
326
+ var h, b, B, I;
327
+ const i = (h = e.handList) == null ? void 0 : h.length, s = (b = e.list) == null ? void 0 : b.length;
328
+ return e.multiple ? x.value = e.handList.map((u) => u[e.fixPropOpt.id]) : O.value = (I = (B = e.handList) == null ? void 0 : B[0]) == null ? void 0 : I[e.fixPropOpt.id], i > 0 && i < s;
324
329
  }), x = L(
325
330
  e.handList.map((i) => i[e.fixPropOpt.id])
326
331
  ), O = L((a = (p = e.handList) == null ? void 0 : p[0]) == null ? void 0 : a[e.fixPropOpt.id]), w = A, E = (i) => {
327
- const n = i ? e.list.map((v) => v[e.fixPropOpt.id]) : [];
328
- w("change", n, i ? e.list : []);
332
+ const s = i ? e.list.map((h) => h[e.fixPropOpt.id]) : [];
333
+ w("change", s, i ? e.list : []);
329
334
  }, M = (i) => {
330
335
  w("change", i, e.list);
331
- }, T = (i) => {
336
+ }, U = (i) => {
332
337
  w("change", i, e.list);
333
- }, R = (i) => {
334
- w("handChild", i);
338
+ }, R = (i, s) => {
339
+ s || w("handChild", i);
335
340
  };
336
- return (i, n) => (r(), h(
341
+ return (i, s) => (r(), f(
337
342
  S,
338
343
  null,
339
344
  [
@@ -342,7 +347,7 @@ const Y = /* @__PURE__ */ N(Nt, [["__scopeId", "data-v-bc7cca29"]]), Le = "data:
342
347
  i.multiple ? (r(), C(y(ee), {
343
348
  key: 0,
344
349
  modelValue: l.value,
345
- "onUpdate:modelValue": n[0] || (n[0] = (v) => l.value = v),
350
+ "onUpdate:modelValue": s[0] || (s[0] = (h) => l.value = h),
346
351
  indeterminate: g.value,
347
352
  onChange: E
348
353
  }, {
@@ -352,22 +357,22 @@ const Y = /* @__PURE__ */ N(Nt, [["__scopeId", "data-v-bc7cca29"]]), Le = "data:
352
357
  _: 1
353
358
  /* STABLE */
354
359
  }, 8, ["modelValue", "indeterminate"])) : k("v-if", !0),
355
- i.list && i.list.length ? (r(), h("ul", Zt, [
360
+ i.list && i.list.length ? (r(), f("ul", Zt, [
356
361
  i.multiple ? (r(), C(y(xe), {
357
362
  key: 0,
358
363
  modelValue: x.value,
359
- "onUpdate:modelValue": n[1] || (n[1] = (v) => x.value = v),
364
+ "onUpdate:modelValue": s[1] || (s[1] = (h) => x.value = h),
360
365
  onChange: M
361
366
  }, {
362
367
  default: P(() => [
363
- (r(!0), h(
368
+ (r(!0), f(
364
369
  S,
365
370
  null,
366
- X(i.list, (v) => (r(), h("li", {
367
- key: v[e.fixPropOpt.id]
371
+ X(i.list, (h) => (r(), f("li", {
372
+ key: h[e.fixPropOpt.id]
368
373
  }, [
369
374
  _(y(ee), {
370
- label: v[e.fixPropOpt.id]
375
+ label: h[e.fixPropOpt.id]
371
376
  }, {
372
377
  default: P(() => [
373
378
  c("div", qt, [
@@ -375,7 +380,7 @@ const Y = /* @__PURE__ */ N(Nt, [["__scopeId", "data-v-bc7cca29"]]), Le = "data:
375
380
  _(Y, {
376
381
  fixTypeOpt: e.fixTypeOpt,
377
382
  fixPropOpt: e.fixPropOpt,
378
- element: v,
383
+ element: h,
379
384
  imageBaseUrl: e.imageBaseUrl
380
385
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
381
386
  ]),
@@ -383,14 +388,14 @@ const Y = /* @__PURE__ */ N(Nt, [["__scopeId", "data-v-bc7cca29"]]), Le = "data:
383
388
  c(
384
389
  "span",
385
390
  null,
386
- V(v[e.fixPropOpt.name]),
391
+ V(h[e.fixPropOpt.name]),
387
392
  1
388
393
  /* TEXT */
389
394
  ),
390
- v[e.fixPropOpt.type] === e.fixTypeOpt.group ? (r(), h(
395
+ h[e.fixPropOpt.type] === e.fixTypeOpt.group ? (r(), f(
391
396
  "span",
392
397
  Yt,
393
- "(" + V(v.userCount) + ")",
398
+ "(" + V(h.userCount) + ")",
394
399
  1
395
400
  /* TEXT */
396
401
  )) : k("v-if", !0)
@@ -400,11 +405,18 @@ const Y = /* @__PURE__ */ N(Nt, [["__scopeId", "data-v-bc7cca29"]]), Le = "data:
400
405
  _: 2
401
406
  /* DYNAMIC */
402
407
  }, 1032, ["label"]),
403
- v[e.fixPropOpt.type] === e.fixTypeOpt.group ? (r(), h("span", {
408
+ h[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (r(), f("span", {
404
409
  key: 0,
405
- class: "nextLevel",
406
- onClick: (b) => R(v)
407
- }, "下级", 8, Jt)) : k("v-if", !0)
410
+ class: De(["nextLevel", {
411
+ "is-disabled": x.value.find(
412
+ (b) => b === h[e.fixPropOpt.id]
413
+ )
414
+ }]),
415
+ onClick: (b) => R(
416
+ h,
417
+ x.value.find((B) => B === h[e.fixPropOpt.id])
418
+ )
419
+ }, " 下级", 10, Jt)) : k("v-if", !0)
408
420
  ]))),
409
421
  128
410
422
  /* KEYED_FRAGMENT */
@@ -416,19 +428,19 @@ const Y = /* @__PURE__ */ N(Nt, [["__scopeId", "data-v-bc7cca29"]]), Le = "data:
416
428
  key: 1,
417
429
  isIndeterminate: g.value,
418
430
  modelValue: O.value,
419
- "onUpdate:modelValue": n[2] || (n[2] = (v) => O.value = v),
420
- onChange: T
431
+ "onUpdate:modelValue": s[2] || (s[2] = (h) => O.value = h),
432
+ onChange: U
421
433
  }, {
422
434
  default: P(() => [
423
- (r(!0), h(
435
+ (r(!0), f(
424
436
  S,
425
437
  null,
426
- X(i.list, (v) => (r(), h("li", {
438
+ X(i.list, (h) => (r(), f("li", {
427
439
  class: "w-full",
428
- key: v[e.fixPropOpt.id]
440
+ key: h[e.fixPropOpt.id]
429
441
  }, [
430
442
  _(y(Pe), {
431
- label: v[e.fixPropOpt.id]
443
+ label: h[e.fixPropOpt.id]
432
444
  }, {
433
445
  default: P(() => [
434
446
  c("div", $t, [
@@ -436,7 +448,7 @@ const Y = /* @__PURE__ */ N(Nt, [["__scopeId", "data-v-bc7cca29"]]), Le = "data:
436
448
  _(Y, {
437
449
  fixTypeOpt: e.fixTypeOpt,
438
450
  fixPropOpt: e.fixPropOpt,
439
- element: v,
451
+ element: h,
440
452
  imageBaseUrl: e.imageBaseUrl
441
453
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
442
454
  ]),
@@ -444,14 +456,14 @@ const Y = /* @__PURE__ */ N(Nt, [["__scopeId", "data-v-bc7cca29"]]), Le = "data:
444
456
  c(
445
457
  "span",
446
458
  null,
447
- V(v[e.fixPropOpt.name]),
459
+ V(h[e.fixPropOpt.name]),
448
460
  1
449
461
  /* TEXT */
450
462
  ),
451
- v[e.fixPropOpt.type] === e.fixTypeOpt.group ? (r(), h(
463
+ h[e.fixPropOpt.type] === e.fixTypeOpt.group ? (r(), f(
452
464
  "span",
453
465
  tl,
454
- "(" + V(v.userCount) + ")",
466
+ "(" + V(h.userCount) + ")",
455
467
  1
456
468
  /* TEXT */
457
469
  )) : k("v-if", !0)
@@ -469,7 +481,7 @@ const Y = /* @__PURE__ */ N(Nt, [["__scopeId", "data-v-bc7cca29"]]), Le = "data:
469
481
  _: 1
470
482
  /* STABLE */
471
483
  }, 8, ["isIndeterminate", "modelValue"]))
472
- ])) : (r(), h("div", ll, [
484
+ ])) : (r(), f("div", ll, [
473
485
  al,
474
486
  c(
475
487
  "div",
@@ -486,7 +498,7 @@ const Y = /* @__PURE__ */ N(Nt, [["__scopeId", "data-v-bc7cca29"]]), Le = "data:
486
498
  ));
487
499
  }
488
500
  });
489
- const nl = /* @__PURE__ */ N(sl, [["__scopeId", "data-v-0a55c123"]]), ol = (s) => (ge("data-v-95cdb4dd"), s = s(), ye(), s), il = { class: "left-pick-list" }, rl = {
501
+ const nl = /* @__PURE__ */ N(sl, [["__scopeId", "data-v-33f94c51"]]), ol = (n) => (ge("data-v-95cdb4dd"), n = n(), ye(), n), il = { class: "left-pick-list" }, rl = {
490
502
  key: 1,
491
503
  class: "post-view-list"
492
504
  }, ul = { class: "iconBox" }, pl = { class: "ik-picker-single" }, cl = { class: "iconBox" }, dl = {
@@ -505,26 +517,26 @@ const nl = /* @__PURE__ */ N(sl, [["__scopeId", "data-v-0a55c123"]]), ol = (s) =
505
517
  __name: "PostList",
506
518
  props: ke,
507
519
  emits: ["change", "check"],
508
- setup(s, { emit: A }) {
520
+ setup(n, { emit: A }) {
509
521
  var R, p;
510
- const e = s, l = B(() => {
522
+ const e = n, l = T(() => {
511
523
  var a, i;
512
524
  return ((a = e.handList) == null ? void 0 : a.length) === ((i = e.list) == null ? void 0 : i.length);
513
- }), g = B(() => {
514
- var n, v, b, U;
515
- const a = (n = e.handList) == null ? void 0 : n.length, i = (v = e.list) == null ? void 0 : v.length;
516
- return e.multiple ? x.value = e.handList.map((I) => I[e.fixPropOpt.id]) : O.value = (U = (b = e.handList) == null ? void 0 : b[0]) == null ? void 0 : U[e.fixPropOpt.id], a > 0 && a < i;
525
+ }), g = T(() => {
526
+ var s, h, b, B;
527
+ const a = (s = e.handList) == null ? void 0 : s.length, i = (h = e.list) == null ? void 0 : h.length;
528
+ return e.multiple ? x.value = e.handList.map((I) => I[e.fixPropOpt.id]) : O.value = (B = (b = e.handList) == null ? void 0 : b[0]) == null ? void 0 : B[e.fixPropOpt.id], a > 0 && a < i;
517
529
  }), x = L(
518
530
  e.handList.map((a) => a[e.fixPropOpt.id])
519
531
  ), O = L((p = (R = e.handList) == null ? void 0 : R[0]) == null ? void 0 : p[e.fixPropOpt.id]), w = A, E = (a) => {
520
- const i = a ? e.list.map((n) => n[e.fixPropOpt.id]) : [];
532
+ const i = a ? e.list.map((s) => s[e.fixPropOpt.id]) : [];
521
533
  w("change", i, a ? e.list : []);
522
534
  }, M = (a) => {
523
535
  w("change", a, e.list);
524
- }, T = (a) => {
536
+ }, U = (a) => {
525
537
  w("change", a, e.list);
526
538
  };
527
- return (a, i) => (r(), h(
539
+ return (a, i) => (r(), f(
528
540
  S,
529
541
  null,
530
542
  [
@@ -533,7 +545,7 @@ const nl = /* @__PURE__ */ N(sl, [["__scopeId", "data-v-0a55c123"]]), ol = (s) =
533
545
  a.multiple ? (r(), C(y(ee), {
534
546
  key: 0,
535
547
  modelValue: l.value,
536
- "onUpdate:modelValue": i[0] || (i[0] = (n) => l.value = n),
548
+ "onUpdate:modelValue": i[0] || (i[0] = (s) => l.value = s),
537
549
  indeterminate: g.value,
538
550
  onChange: E
539
551
  }, {
@@ -543,36 +555,36 @@ const nl = /* @__PURE__ */ N(sl, [["__scopeId", "data-v-0a55c123"]]), ol = (s) =
543
555
  _: 1
544
556
  /* STABLE */
545
557
  }, 8, ["modelValue", "indeterminate"])) : k("v-if", !0),
546
- a.list && a.list.length ? (r(), h("ul", rl, [
558
+ a.list && a.list.length ? (r(), f("ul", rl, [
547
559
  a.multiple ? (r(), C(y(xe), {
548
560
  key: 0,
549
561
  modelValue: x.value,
550
- "onUpdate:modelValue": i[1] || (i[1] = (n) => x.value = n),
562
+ "onUpdate:modelValue": i[1] || (i[1] = (s) => x.value = s),
551
563
  onChange: M
552
564
  }, {
553
565
  default: P(() => [
554
- (r(!0), h(
566
+ (r(!0), f(
555
567
  S,
556
568
  null,
557
- X(a.list, (n) => (r(), h("li", {
558
- key: n[e.fixPropOpt.id]
569
+ X(a.list, (s) => (r(), f("li", {
570
+ key: s[e.fixPropOpt.id]
559
571
  }, [
560
572
  _(y(ee), {
561
- label: n[e.fixPropOpt.id]
573
+ label: s[e.fixPropOpt.id]
562
574
  }, {
563
575
  default: P(() => [
564
576
  c("div", ul, [
565
577
  _(Y, {
566
578
  fixTypeOpt: e.fixTypeOpt,
567
579
  fixPropOpt: e.fixPropOpt,
568
- element: n,
580
+ element: s,
569
581
  imageBaseUrl: e.imageBaseUrl
570
582
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
571
583
  ]),
572
584
  c(
573
585
  "p",
574
586
  null,
575
- V(n[e.fixPropOpt.name]),
587
+ V(s[e.fixPropOpt.name]),
576
588
  1
577
589
  /* TEXT */
578
590
  )
@@ -591,19 +603,19 @@ const nl = /* @__PURE__ */ N(sl, [["__scopeId", "data-v-0a55c123"]]), ol = (s) =
591
603
  key: 1,
592
604
  isIndeterminate: g.value,
593
605
  modelValue: O.value,
594
- "onUpdate:modelValue": i[2] || (i[2] = (n) => O.value = n),
595
- onChange: T
606
+ "onUpdate:modelValue": i[2] || (i[2] = (s) => O.value = s),
607
+ onChange: U
596
608
  }, {
597
609
  default: P(() => [
598
- (r(!0), h(
610
+ (r(!0), f(
599
611
  S,
600
612
  null,
601
- X(a.list, (n) => (r(), h("li", {
613
+ X(a.list, (s) => (r(), f("li", {
602
614
  class: "w-full",
603
- key: n[e.fixPropOpt.id]
615
+ key: s[e.fixPropOpt.id]
604
616
  }, [
605
617
  _(y(Pe), {
606
- label: n[e.fixPropOpt.id]
618
+ label: s[e.fixPropOpt.id]
607
619
  }, {
608
620
  default: P(() => [
609
621
  c("div", pl, [
@@ -611,14 +623,14 @@ const nl = /* @__PURE__ */ N(sl, [["__scopeId", "data-v-0a55c123"]]), ol = (s) =
611
623
  _(Y, {
612
624
  fixTypeOpt: e.fixTypeOpt,
613
625
  fixPropOpt: e.fixPropOpt,
614
- element: n,
626
+ element: s,
615
627
  imageBaseUrl: e.imageBaseUrl
616
628
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
617
629
  ]),
618
630
  c(
619
631
  "p",
620
632
  null,
621
- V(n[e.fixPropOpt.name]),
633
+ V(s[e.fixPropOpt.name]),
622
634
  1
623
635
  /* TEXT */
624
636
  )
@@ -635,7 +647,7 @@ const nl = /* @__PURE__ */ N(sl, [["__scopeId", "data-v-0a55c123"]]), ol = (s) =
635
647
  _: 1
636
648
  /* STABLE */
637
649
  }, 8, ["isIndeterminate", "modelValue"]))
638
- ])) : (r(), h("div", dl, [
650
+ ])) : (r(), f("div", dl, [
639
651
  Al,
640
652
  c(
641
653
  "div",
@@ -652,7 +664,7 @@ const nl = /* @__PURE__ */ N(sl, [["__scopeId", "data-v-0a55c123"]]), ol = (s) =
652
664
  ));
653
665
  }
654
666
  });
655
- const fl = /* @__PURE__ */ N(hl, [["__scopeId", "data-v-95cdb4dd"]]), vl = (s) => (ge("data-v-79596f8b"), s = s(), ye(), s), ml = { class: "left-pick-list" }, gl = {
667
+ const fl = /* @__PURE__ */ N(hl, [["__scopeId", "data-v-95cdb4dd"]]), vl = (n) => (ge("data-v-79596f8b"), n = n(), ye(), n), ml = { class: "left-pick-list" }, gl = {
656
668
  key: 1,
657
669
  class: "role-view-list"
658
670
  }, yl = { class: "iconBox" }, xl = ["title"], Ol = { class: "ik-picker-single" }, Pl = { class: "iconBox" }, Ll = ["title"], kl = {
@@ -671,26 +683,26 @@ const fl = /* @__PURE__ */ N(hl, [["__scopeId", "data-v-95cdb4dd"]]), vl = (s) =
671
683
  __name: "RoleList",
672
684
  props: ke,
673
685
  emits: ["change", "check"],
674
- setup(s, { emit: A }) {
686
+ setup(n, { emit: A }) {
675
687
  var R, p;
676
- const e = s, l = B(() => {
688
+ const e = n, l = T(() => {
677
689
  var a, i;
678
690
  return ((a = e.handList) == null ? void 0 : a.length) === ((i = e.list) == null ? void 0 : i.length);
679
- }), g = B(() => {
680
- var n, v, b, U;
681
- const a = (n = e.handList) == null ? void 0 : n.length, i = (v = e.list) == null ? void 0 : v.length;
682
- return e.multiple ? x.value = e.handList.map((I) => I[e.fixPropOpt.id]) : O.value = (U = (b = e.handList) == null ? void 0 : b[0]) == null ? void 0 : U[e.fixPropOpt.id], a > 0 && a < i;
691
+ }), g = T(() => {
692
+ var s, h, b, B;
693
+ const a = (s = e.handList) == null ? void 0 : s.length, i = (h = e.list) == null ? void 0 : h.length;
694
+ return e.multiple ? x.value = e.handList.map((I) => I[e.fixPropOpt.id]) : O.value = (B = (b = e.handList) == null ? void 0 : b[0]) == null ? void 0 : B[e.fixPropOpt.id], a > 0 && a < i;
683
695
  }), x = L(
684
696
  e.handList.map((a) => a[e.fixPropOpt.id])
685
697
  ), O = L((p = (R = e.handList) == null ? void 0 : R[0]) == null ? void 0 : p[e.fixPropOpt.id]), w = A, E = (a) => {
686
- const i = a ? e.list.map((n) => n[e.fixPropOpt.id]) : [];
698
+ const i = a ? e.list.map((s) => s[e.fixPropOpt.id]) : [];
687
699
  w("change", i, a ? e.list : []);
688
700
  }, M = (a) => {
689
701
  w("change", a, e.list);
690
- }, T = (a) => {
702
+ }, U = (a) => {
691
703
  w("change", a, e.list);
692
704
  };
693
- return (a, i) => (r(), h(
705
+ return (a, i) => (r(), f(
694
706
  S,
695
707
  null,
696
708
  [
@@ -699,7 +711,7 @@ const fl = /* @__PURE__ */ N(hl, [["__scopeId", "data-v-95cdb4dd"]]), vl = (s) =
699
711
  a.multiple ? (r(), C(y(ee), {
700
712
  key: 0,
701
713
  modelValue: l.value,
702
- "onUpdate:modelValue": i[0] || (i[0] = (n) => l.value = n),
714
+ "onUpdate:modelValue": i[0] || (i[0] = (s) => l.value = s),
703
715
  indeterminate: g.value,
704
716
  onChange: E
705
717
  }, {
@@ -709,37 +721,37 @@ const fl = /* @__PURE__ */ N(hl, [["__scopeId", "data-v-95cdb4dd"]]), vl = (s) =
709
721
  _: 1
710
722
  /* STABLE */
711
723
  }, 8, ["modelValue", "indeterminate"])) : k("v-if", !0),
712
- a.list && a.list.length ? (r(), h("ul", gl, [
724
+ a.list && a.list.length ? (r(), f("ul", gl, [
713
725
  a.multiple ? (r(), C(y(xe), {
714
726
  key: 0,
715
727
  modelValue: x.value,
716
- "onUpdate:modelValue": i[1] || (i[1] = (n) => x.value = n),
728
+ "onUpdate:modelValue": i[1] || (i[1] = (s) => x.value = s),
717
729
  onChange: M
718
730
  }, {
719
731
  default: P(() => [
720
- (r(!0), h(
732
+ (r(!0), f(
721
733
  S,
722
734
  null,
723
- X(a.list, (n) => (r(), h("li", {
724
- key: n[a.fixPropOpt.id]
735
+ X(a.list, (s) => (r(), f("li", {
736
+ key: s[a.fixPropOpt.id]
725
737
  }, [
726
738
  _(y(ee), {
727
- label: n[a.fixPropOpt.id],
728
- value: n[a.fixPropOpt.id],
729
- disabled: n.disabled
739
+ label: s[a.fixPropOpt.id],
740
+ value: s[a.fixPropOpt.id],
741
+ disabled: s.disabled
730
742
  }, {
731
743
  default: P(() => [
732
744
  c("div", yl, [
733
745
  _(Y, {
734
746
  fixTypeOpt: e.fixTypeOpt,
735
747
  fixPropOpt: e.fixPropOpt,
736
- element: n,
748
+ element: s,
737
749
  imageBaseUrl: e.imageBaseUrl
738
750
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
739
751
  ]),
740
752
  c("p", {
741
- title: n[a.fixPropOpt.name]
742
- }, V(n[a.fixPropOpt.name]), 9, xl)
753
+ title: s[a.fixPropOpt.name]
754
+ }, V(s[a.fixPropOpt.name]), 9, xl)
743
755
  ]),
744
756
  _: 2
745
757
  /* DYNAMIC */
@@ -755,21 +767,21 @@ const fl = /* @__PURE__ */ N(hl, [["__scopeId", "data-v-95cdb4dd"]]), vl = (s) =
755
767
  key: 1,
756
768
  indeterminate: g.value,
757
769
  modelValue: O.value,
758
- "onUpdate:modelValue": i[2] || (i[2] = (n) => O.value = n),
759
- onChange: T
770
+ "onUpdate:modelValue": i[2] || (i[2] = (s) => O.value = s),
771
+ onChange: U
760
772
  }, {
761
773
  default: P(() => [
762
- (r(!0), h(
774
+ (r(!0), f(
763
775
  S,
764
776
  null,
765
- X(a.list, (n) => (r(), h("li", {
777
+ X(a.list, (s) => (r(), f("li", {
766
778
  class: "w-full",
767
- key: n[a.fixPropOpt.id]
779
+ key: s[a.fixPropOpt.id]
768
780
  }, [
769
781
  _(y(Pe), {
770
- label: n[a.fixPropOpt.id],
771
- value: n[a.fixPropOpt.id],
772
- disabled: n.disabled
782
+ label: s[a.fixPropOpt.id],
783
+ value: s[a.fixPropOpt.id],
784
+ disabled: s.disabled
773
785
  }, {
774
786
  default: P(() => [
775
787
  c("div", Ol, [
@@ -777,13 +789,13 @@ const fl = /* @__PURE__ */ N(hl, [["__scopeId", "data-v-95cdb4dd"]]), vl = (s) =
777
789
  _(Y, {
778
790
  fixTypeOpt: e.fixTypeOpt,
779
791
  fixPropOpt: e.fixPropOpt,
780
- element: n,
792
+ element: s,
781
793
  imageBaseUrl: e.imageBaseUrl
782
794
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
783
795
  ]),
784
796
  c("p", {
785
- title: n[a.fixPropOpt.name]
786
- }, V(n[a.fixPropOpt.name]), 9, Ll)
797
+ title: s[a.fixPropOpt.name]
798
+ }, V(s[a.fixPropOpt.name]), 9, Ll)
787
799
  ])
788
800
  ]),
789
801
  _: 2
@@ -797,7 +809,7 @@ const fl = /* @__PURE__ */ N(hl, [["__scopeId", "data-v-95cdb4dd"]]), vl = (s) =
797
809
  _: 1
798
810
  /* STABLE */
799
811
  }, 8, ["indeterminate", "modelValue"]))
800
- ])) : (r(), h("div", kl, [
812
+ ])) : (r(), f("div", kl, [
801
813
  _l,
802
814
  c(
803
815
  "div",
@@ -815,8 +827,13 @@ const fl = /* @__PURE__ */ N(hl, [["__scopeId", "data-v-95cdb4dd"]]), vl = (s) =
815
827
  }
816
828
  });
817
829
  const bl = /* @__PURE__ */ N(wl, [["__scopeId", "data-v-79596f8b"]]);
818
- var se = /* @__PURE__ */ ((s) => (s.group = "group", s.role = "role", s.post = "post", s))(se || {});
830
+ var se = /* @__PURE__ */ ((n) => (n.group = "group", n.role = "role", n.post = "post", n))(se || {});
819
831
  const Cl = {
832
+ // 是否允许选择子集
833
+ children: {
834
+ type: Boolean,
835
+ default: !0
836
+ },
820
837
  // 是否允许点击根节点查询
821
838
  topLink: {
822
839
  type: Boolean,
@@ -903,11 +920,11 @@ const Cl = {
903
920
  tabs: {
904
921
  type: Array,
905
922
  // prop校验
906
- validator: (s) => {
907
- if (s === void 0)
923
+ validator: (n) => {
924
+ if (n === void 0)
908
925
  return !0;
909
- if (Array.isArray(s)) {
910
- if (!(s != null && s.length))
926
+ if (Array.isArray(n)) {
927
+ if (!(n != null && n.length))
911
928
  return !1;
912
929
  } else
913
930
  return console.error("IkingPicker参数错误:tabs必须是Array类型"), !1;
@@ -931,7 +948,7 @@ const Cl = {
931
948
  methods: "post",
932
949
  headers: {
933
950
  "Content-Type": "application/json;charset=UTF-8",
934
- Authorization: "Bearer 7035d1067ec043049e626bb79f496581"
951
+ Authorization: "Bearer 9aa65e31e86f4232ac4e4136fb1d3413"
935
952
  },
936
953
  url: `${location.origin}${location.pathname}/serve/component/pick/mix`,
937
954
  param: null,
@@ -973,28 +990,28 @@ const Cl = {
973
990
  type: String,
974
991
  default: "暂无数据"
975
992
  }
976
- }, Ie = (s) => {
993
+ }, Ie = (n) => {
977
994
  const A = window.location.search;
978
- return new URLSearchParams(A).get(s);
979
- }, Bl = (s) => {
980
- const A = De.local.getItem("x_domain");
981
- A && (s["X-DOMAIN"] = A);
982
- }, Tl = (s) => {
995
+ return new URLSearchParams(A).get(n);
996
+ }, Bl = (n) => {
997
+ const A = Ee.local.getItem("x_domain");
998
+ A && (n["X-DOMAIN"] = A);
999
+ }, Tl = (n) => {
983
1000
  var l;
984
1001
  const A = Ie("domain");
985
1002
  if (A) {
986
- s["X-DOMAIN"] = A;
1003
+ n["X-DOMAIN"] = A;
987
1004
  const g = Ie("code");
988
- A === "APPLICATION" && (s["X-APP"] = g);
1005
+ A === "APPLICATION" && (n["X-APP"] = g);
989
1006
  } else
990
- Bl(s);
991
- const e = (l = De.local.getItem("tenant")) == null ? void 0 : l.code;
992
- e && (s["X-TENANT"] = e);
993
- }, Ul = (s, A) => {
1007
+ Bl(n);
1008
+ const e = (l = Ee.local.getItem("tenant")) == null ? void 0 : l.code;
1009
+ e && (n["X-TENANT"] = e);
1010
+ }, Ul = (n, A) => {
994
1011
  const e = L([]), l = async (x, O) => {
995
1012
  var le, W;
996
- const { url: w, methods: E, headers: M, param: T } = s.value || {}, R = {
997
- ...T || {},
1013
+ const { url: w, methods: E, headers: M, param: U } = n.value || {}, R = {
1014
+ ...U || {},
998
1015
  parentDepartmentId: x || "",
999
1016
  name: O || ""
1000
1017
  }, p = {
@@ -1007,7 +1024,7 @@ const Cl = {
1007
1024
  data: JSON.stringify(R)
1008
1025
  };
1009
1026
  Tl(p.headers);
1010
- const a = await nt(p), { success: i, data: n } = a.data;
1027
+ const a = await nt(p), { success: i, data: s } = a.data;
1011
1028
  if (!i)
1012
1029
  return {
1013
1030
  groupList: [],
@@ -1018,24 +1035,24 @@ const Cl = {
1018
1035
  rootDepartment: {}
1019
1036
  };
1020
1037
  const {
1021
- departments: v,
1038
+ departments: h,
1022
1039
  roles: b,
1023
- posts: U,
1040
+ posts: B,
1024
1041
  users: I,
1025
1042
  rootOrganization: u,
1026
1043
  rootDepartment: G
1027
- } = n, te = u || G;
1028
- return e.value[0] = A.org ? {
1044
+ } = s, te = u || G;
1045
+ return e.value.length === 0 && (e.value[0] = A.org ? {
1029
1046
  ...A.org,
1030
1047
  id: A.elementId,
1031
1048
  elementType: (W = (le = A.org) == null ? void 0 : le.elementType) == null ? void 0 : W.toLocaleUpperCase()
1032
1049
  } : {
1033
1050
  ...te,
1034
1051
  id: te.elementId
1035
- }, {
1036
- groupList: H.cloneDeep(v),
1052
+ }), {
1053
+ groupList: H.cloneDeep(h),
1037
1054
  roleList: H.cloneDeep(b),
1038
- postList: H.cloneDeep(U),
1055
+ postList: H.cloneDeep(B),
1039
1056
  userList: H.cloneDeep(I),
1040
1057
  rootOrganization: u,
1041
1058
  rootDepartment: G
@@ -1067,41 +1084,41 @@ const Cl = {
1067
1084
  __name: "picker",
1068
1085
  props: Cl,
1069
1086
  emits: ["handChild", "update:show", "update:modelValue", "ok", "search"],
1070
- setup(s, { expose: A, emit: e }) {
1071
- qe((t) => ({
1072
- "402a1416": Ce.value
1087
+ setup(n, { expose: A, emit: e }) {
1088
+ Ke((t) => ({
1089
+ "33b71112": Ce.value
1073
1090
  }));
1074
- const l = s, g = L(""), x = L(""), O = L([]), w = L([]), E = L([]), M = L([]), T = L(!1), R = B(() => w.value.concat(O.value));
1091
+ const l = n, g = L(""), x = L(""), O = L([]), w = L([]), E = L([]), M = L([]), U = L(!1), R = T(() => w.value.concat(O.value));
1075
1092
  F(
1076
1093
  () => l.api,
1077
1094
  () => {
1078
1095
  l.show && le("");
1079
1096
  }
1080
1097
  );
1081
- const p = B(() => ({
1098
+ const p = T(() => ({
1082
1099
  name: "name",
1083
1100
  type: "type",
1084
1101
  id: "id",
1085
1102
  avatar: "avatar",
1086
1103
  ...l.propOption
1087
- })), a = B(() => ({
1104
+ })), a = T(() => ({
1088
1105
  user: "USER",
1089
1106
  role: "ROLE",
1090
1107
  post: "POST",
1091
1108
  group: "DEPT",
1092
1109
  ...l.typeOption
1093
- })), i = L([]), n = Ul(Ke(l, "api"), l), v = n.handData, b = n.bannerList;
1094
- l.immediate && v(x.value, g.value);
1095
- const U = (t) => (t.forEach((o) => {
1096
- var d, f;
1097
- o.disabled = ((f = (d = l.modelValue) == null ? void 0 : d.find(
1110
+ })), i = L([]), s = Ul(Ye(l, "api"), l), h = s.handData, b = s.bannerList;
1111
+ l.immediate && h(x.value, g.value);
1112
+ const B = (t) => (t.forEach((o) => {
1113
+ var d, v;
1114
+ o.disabled = ((v = (d = l.modelValue) == null ? void 0 : d.find(
1098
1115
  (m) => m[p.value.id] === o[p.value.id]
1099
- )) == null ? void 0 : f.disabled) || !1;
1116
+ )) == null ? void 0 : v.disabled) || !1;
1100
1117
  }), t), I = async () => {
1101
- var t, o, d, f, m, j, he, Te;
1102
- T.value = !0;
1118
+ var t, o, d, v, m, j, he, Te;
1119
+ U.value = !0;
1103
1120
  try {
1104
- if ((t = l.groupList) != null && t.length || (o = l.userList) != null && o.length || (d = l.roleList) != null && d.length || (f = l.postList) != null && f.length) {
1121
+ if ((t = l.groupList) != null && t.length || (o = l.userList) != null && o.length || (d = l.roleList) != null && d.length || (v = l.postList) != null && v.length) {
1105
1122
  O.value = (m = l.userList) == null ? void 0 : m.filter(
1106
1123
  (Q) => Q[p.value.name].includes(g.value)
1107
1124
  ), w.value = (j = l.groupList) == null ? void 0 : j.filter(
@@ -1110,21 +1127,21 @@ const Cl = {
1110
1127
  (Q) => Q[p.value.name].includes(g.value)
1111
1128
  ), M.value = (Te = l.postList) == null ? void 0 : Te.filter(
1112
1129
  (Q) => Q[p.value.name].includes(g.value)
1113
- ), pe(), T.value = !1;
1130
+ ), pe(), U.value = !1;
1114
1131
  return;
1115
1132
  }
1116
- const D = await v(
1133
+ const D = await h(
1117
1134
  x.value,
1118
1135
  g.value
1119
1136
  );
1120
1137
  try {
1121
- O.value = U((D == null ? void 0 : D.userList) || []), w.value = U((D == null ? void 0 : D.groupList) || []), E.value = U((D == null ? void 0 : D.roleList) || []), M.value = U((D == null ? void 0 : D.postList) || []);
1138
+ O.value = B((D == null ? void 0 : D.userList) || []), w.value = B((D == null ? void 0 : D.groupList) || []), E.value = B((D == null ? void 0 : D.roleList) || []), M.value = B((D == null ? void 0 : D.postList) || []);
1122
1139
  } catch (Q) {
1123
- T.value = !1, console.info("error: ", Q);
1140
+ U.value = !1, console.info("error: ", Q);
1124
1141
  }
1125
- pe(), T.value = !1;
1142
+ pe(), U.value = !1;
1126
1143
  } catch {
1127
- T.value = !1;
1144
+ U.value = !1;
1128
1145
  }
1129
1146
  }, u = Ue({
1130
1147
  //组织架构
@@ -1142,10 +1159,10 @@ const Cl = {
1142
1159
  }), G = Ue({
1143
1160
  indeterminate: !1,
1144
1161
  checkAll: 0
1145
- }), te = (t) => u.group.has(t) || u.user.has(t) || u.role.has(t) || u.post.has(t), le = st.debounce(I, 300), W = B(() => {
1146
- const t = Array.from(u.group.values()), o = Array.from(u.role.values()), d = Array.from(u.user.values()), f = Array.from(u.post.values());
1147
- return i.value = [...o, ...f, ...d, ...t], {
1148
- list: [...o, ...d, ...f, ...t],
1162
+ }), te = (t) => u.group.has(t) || u.user.has(t) || u.role.has(t) || u.post.has(t), le = st.debounce(I, 300), W = T(() => {
1163
+ const t = Array.from(u.group.values()), o = Array.from(u.role.values()), d = Array.from(u.user.values()), v = Array.from(u.post.values());
1164
+ return i.value = [...o, ...v, ...d, ...t], {
1165
+ list: [...o, ...d, ...v, ...t],
1149
1166
  role: {
1150
1167
  list: o,
1151
1168
  len: o.length
@@ -1155,22 +1172,22 @@ const Cl = {
1155
1172
  len: d.length
1156
1173
  },
1157
1174
  post: {
1158
- list: f,
1159
- len: f.length
1175
+ list: v,
1176
+ len: v.length
1160
1177
  },
1161
1178
  groups: {
1162
1179
  list: t,
1163
1180
  len: t.length
1164
1181
  }
1165
1182
  };
1166
- }), Ee = B(() => [...l.chooseType.map((d) => d.toLocaleLowerCase())]), z = L([]), Me = (t) => {
1183
+ }), Me = T(() => [...l.chooseType.map((d) => d.toLocaleLowerCase())]), z = L([]), Re = (t) => {
1167
1184
  z.value = t, z.value.forEach((o) => {
1168
1185
  o.readonly = o == null ? void 0 : o.disabled;
1169
1186
  });
1170
1187
  }, oe = e, ue = L(!1), pe = (t = !1) => {
1171
1188
  var d;
1172
1189
  const o = (d = l == null ? void 0 : l.userList) != null && d.length ? H.cloneDeep([...l == null ? void 0 : l.userList, ...l == null ? void 0 : l.groupList]) : [...w.value, ...O.value];
1173
- return !t && Me(o), o;
1190
+ return !t && Re(o), o;
1174
1191
  };
1175
1192
  F(
1176
1193
  () => l.show,
@@ -1181,8 +1198,8 @@ const Cl = {
1181
1198
  const d = pe(!0);
1182
1199
  for (const m of d)
1183
1200
  te(m[p.value.id]) && u.trans.push(m[p.value.id]);
1184
- const f = d.length === u.trans.length;
1185
- G.indeterminate = !!(d.length && !f), G.checkAll = Number(d.length && f), Ve(() => {
1201
+ const v = d.length === u.trans.length;
1202
+ G.indeterminate = !!(d.length && !v), G.checkAll = Number(d.length && v), Ve(() => {
1186
1203
  var m;
1187
1204
  (m = l.modelValue) != null && m.length ? l.modelValue.forEach((j) => {
1188
1205
  J(j), l.multiple ? u.trans.push(j[p.value.id]) : u.single = j[p.value.id];
@@ -1239,7 +1256,7 @@ const Cl = {
1239
1256
  return;
1240
1257
  }
1241
1258
  }
1242
- }, Re = (t) => [a.value.group].includes(
1259
+ }, We = (t) => [a.value.group].includes(
1243
1260
  t[p.value.type]
1244
1261
  ) ? t.hasOwnProperty("disabled") : !1;
1245
1262
  F(
@@ -1255,15 +1272,15 @@ const Cl = {
1255
1272
  });
1256
1273
  else {
1257
1274
  const o = z.value.filter(
1258
- (f) => !t.includes(f[p.value.id])
1275
+ (v) => !t.includes(v[p.value.id])
1259
1276
  );
1260
- for (const f of o)
1261
- f.disabled = !1, l.multiple && Z(f);
1277
+ for (const v of o)
1278
+ v.disabled = !1, l.multiple && Z(v);
1262
1279
  const d = z.value.filter(
1263
- (f) => t.includes(f[p.value.id])
1280
+ (v) => t.includes(v[p.value.id])
1264
1281
  );
1265
- for (const f of d)
1266
- f.disabled = Re(f), J(f);
1282
+ for (const v of d)
1283
+ v.disabled = We(v), J(v);
1267
1284
  }
1268
1285
  },
1269
1286
  { deep: !0 }
@@ -1278,19 +1295,19 @@ const Cl = {
1278
1295
  }
1279
1296
  }
1280
1297
  );
1281
- const We = (t) => {
1298
+ const He = (t) => {
1282
1299
  x.value = t == null ? void 0 : t.elementId, I(), b.value.push(t);
1283
- }, we = B(() => b.value.length), He = (t, o) => {
1300
+ }, we = T(() => b.value.length), Ge = (t, o) => {
1284
1301
  !o && !l.topLink || o !== we.value - 1 && (x.value = t == null ? void 0 : t.elementId, I(), b.value.splice(o + 1));
1285
- }, Ge = B(
1302
+ }, je = T(
1286
1303
  () => l.chooseType.includes("role") && l.chooseType.length === 1
1287
- ), je = B(
1304
+ ), Qe = T(
1288
1305
  () => l.chooseType.includes("post") && l.chooseType.length === 1
1289
1306
  ), ie = L(l.tabs[0]), q = L(l.tabs[0]);
1290
- Se(() => (q.value = Ge.value ? l.tabs[1] : je.value ? l.tabs[2] : ie.value, q.value));
1307
+ Se(() => (q.value = je.value ? l.tabs[1] : Qe.value ? l.tabs[2] : ie.value, q.value));
1291
1308
  const $ = () => {
1292
1309
  u.user.clear(), u.role.clear(), u.post.clear(), u.group.clear(), u.trans = [], de.value = [], Ae.value = [], ie.value = l.tabs[0], q.value = l.tabs[0], g.value = "", x.value = l.orgPid, b.value.splice(1, b.value.length), u.single = "", i.value = [];
1293
- }, Qe = () => {
1310
+ }, Xe = () => {
1294
1311
  var t;
1295
1312
  oe(
1296
1313
  "ok",
@@ -1305,26 +1322,26 @@ const Cl = {
1305
1322
  oe("update:show", !1), $();
1306
1323
  };
1307
1324
  A({ handClear: $, handRomeve: _e, handDelete: Z });
1308
- const Xe = B(() => {
1309
- const t = Ee.value;
1325
+ const Ne = T(() => {
1326
+ const t = Me.value;
1310
1327
  return !!((t.includes("post") || t.includes("role")) && t.length > 1);
1311
- }), Ne = B(() => [
1328
+ }), Fe = T(() => [
1312
1329
  { name: "group", label: "组织架构" },
1313
1330
  { name: "role", label: "角色列表" },
1314
1331
  { name: "post", label: "岗位列表" }
1315
- ].filter((t) => l.tabs.includes(t.name))), Ce = B(
1332
+ ].filter((t) => l.tabs.includes(t.name))), Ce = T(
1316
1333
  () => `${typeof l.height == "string" ? Number.parseInt(l.height) : l.height}px`
1317
1334
  ), ce = () => {
1318
1335
  l.multiple || (u.post.clear(), u.role.clear(), u.user.clear(), u.group.clear(), u.single = "");
1319
- }, Be = L([]), Fe = (t, o) => {
1336
+ }, Be = L([]), ze = (t, o) => {
1320
1337
  l.multiple || (u.single = "");
1321
1338
  const d = l.multiple ? t : [t];
1322
1339
  if (!d.length) {
1323
1340
  u.group.clear();
1324
1341
  return;
1325
1342
  }
1326
- ce(), o.forEach((f) => {
1327
- d != null && d.includes(f[p.value.id]) ? J(f) : Z(f);
1343
+ ce(), o.forEach((v) => {
1344
+ d != null && d.includes(v[p.value.id]) ? J(v) : Z(v);
1328
1345
  });
1329
1346
  };
1330
1347
  F(
@@ -1333,15 +1350,15 @@ const Cl = {
1333
1350
  Be.value = H.cloneDeep(W.value.groups.list);
1334
1351
  }
1335
1352
  );
1336
- const de = L([]), ze = (t, o) => {
1353
+ const de = L([]), Ze = (t, o) => {
1337
1354
  l.multiple || (u.single = "");
1338
1355
  const d = l.multiple ? t : [t];
1339
1356
  if (!d.length) {
1340
1357
  u.role.clear();
1341
1358
  return;
1342
1359
  }
1343
- ce(), o.forEach((f) => {
1344
- d != null && d.includes(f[p.value.id]) ? J(f) : Z(f);
1360
+ ce(), o.forEach((v) => {
1361
+ d != null && d.includes(v[p.value.id]) ? J(v) : Z(v);
1345
1362
  });
1346
1363
  };
1347
1364
  F(
@@ -1350,15 +1367,15 @@ const Cl = {
1350
1367
  de.value = H.cloneDeep(W.value.role.list);
1351
1368
  }
1352
1369
  );
1353
- const Ae = L([]), Ze = (t, o) => {
1370
+ const Ae = L([]), qe = (t, o) => {
1354
1371
  l.multiple || (u.single = "");
1355
1372
  const d = l.multiple ? t : [t];
1356
1373
  if (!d.length) {
1357
1374
  u.post.clear();
1358
1375
  return;
1359
1376
  }
1360
- ce(), o.forEach((f) => {
1361
- d != null && d.includes(f[p.value.id]) ? J(f) : Z(f);
1377
+ ce(), o.forEach((v) => {
1378
+ d != null && d.includes(v[p.value.id]) ? J(v) : Z(v);
1362
1379
  });
1363
1380
  };
1364
1381
  return F(
@@ -1372,7 +1389,7 @@ const Cl = {
1372
1389
  le("");
1373
1390
  }
1374
1391
  ), (t, o) => {
1375
- const d = me("el-tab-pane"), f = me("el-tabs");
1392
+ const d = me("el-tab-pane"), v = me("el-tabs");
1376
1393
  return r(), C(y(et), {
1377
1394
  modelValue: ue.value,
1378
1395
  "onUpdate:modelValue": o[2] || (o[2] = (m) => ue.value = m),
@@ -1400,7 +1417,7 @@ const Cl = {
1400
1417
  }),
1401
1418
  _(y(fe), {
1402
1419
  type: "primary",
1403
- onClick: ae(Qe, ["stop"])
1420
+ onClick: ae(Xe, ["stop"])
1404
1421
  }, {
1405
1422
  default: P(() => [
1406
1423
  K(" 确定 ")
@@ -1415,7 +1432,7 @@ const Cl = {
1415
1432
  "div",
1416
1433
  {
1417
1434
  class: "dep-use-picker",
1418
- style: Ye({ height: Ce.value })
1435
+ style: Je({ height: Ce.value })
1419
1436
  },
1420
1437
  [
1421
1438
  c("div", Vl, [
@@ -1427,17 +1444,17 @@ const Cl = {
1427
1444
  placeholder: t.placeholder,
1428
1445
  "suffix-icon": At
1429
1446
  }, null, 8, ["modelValue", "placeholder"]),
1430
- Xe.value ? (r(), C(f, {
1447
+ Ne.value ? (r(), C(v, {
1431
1448
  key: 0,
1432
1449
  modelValue: ie.value,
1433
1450
  "onUpdate:modelValue": o[1] || (o[1] = (m) => ie.value = m),
1434
1451
  class: "ik-picker-tab"
1435
1452
  }, {
1436
1453
  default: P(() => [
1437
- (r(!0), h(
1454
+ (r(!0), f(
1438
1455
  S,
1439
1456
  null,
1440
- X(Ne.value, (m) => (r(), C(d, {
1457
+ X(Fe.value, (m) => (r(), C(d, {
1441
1458
  label: m.label,
1442
1459
  name: m.name,
1443
1460
  key: m.label
@@ -1451,19 +1468,19 @@ const Cl = {
1451
1468
  }, 8, ["modelValue"])) : k("v-if", !0)
1452
1469
  ]),
1453
1470
  k(" 过滤 "),
1454
- q.value === y(se).group ? (r(), h("div", Sl, [
1471
+ q.value === y(se).group ? (r(), f("div", Sl, [
1455
1472
  k(" 面包屑 全选 "),
1456
1473
  _(y(lt), {
1457
1474
  separator: ">",
1458
- class: Je(["banner", { "top-unlink": !t.topLink }])
1475
+ class: De(["banner", { "top-unlink": !t.topLink }])
1459
1476
  }, {
1460
1477
  default: P(() => [
1461
- we.value ? (r(!0), h(
1478
+ we.value ? (r(!0), f(
1462
1479
  S,
1463
1480
  { key: 0 },
1464
1481
  X(y(b), (m, j) => (r(), C(y(at), {
1465
1482
  key: m[p.value.id],
1466
- onClick: ae((he) => He(m, j), ["stop"])
1483
+ onClick: ae((he) => Ge(m, j), ["stop"])
1467
1484
  }, {
1468
1485
  default: P(() => [
1469
1486
  K(
@@ -1495,11 +1512,12 @@ const Cl = {
1495
1512
  "hand-list": Be.value,
1496
1513
  imageBaseUrl: l.imageBaseUrl,
1497
1514
  emptyText: l.emptyText,
1498
- onHandChild: We,
1499
- onChange: Fe
1500
- }, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText"])), [
1501
- [y(ve), T.value]
1502
- ]) : q.value === y(se).role ? (r(), h(
1515
+ children: l.children,
1516
+ onHandChild: He,
1517
+ onChange: ze
1518
+ }, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "children"])), [
1519
+ [y(ve), U.value]
1520
+ ]) : q.value === y(se).role ? (r(), f(
1503
1521
  S,
1504
1522
  { key: 2 },
1505
1523
  [
@@ -1513,14 +1531,14 @@ const Cl = {
1513
1531
  "hand-list": de.value,
1514
1532
  imageBaseUrl: l.imageBaseUrl,
1515
1533
  emptyText: l.emptyText,
1516
- onChange: ze
1534
+ onChange: Ze
1517
1535
  }, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText"]), [
1518
- [y(ve), T.value]
1536
+ [y(ve), U.value]
1519
1537
  ])
1520
1538
  ],
1521
1539
  64
1522
1540
  /* STABLE_FRAGMENT */
1523
- )) : q.value === y(se).post ? (r(), h(
1541
+ )) : q.value === y(se).post ? (r(), f(
1524
1542
  S,
1525
1543
  { key: 3 },
1526
1544
  [
@@ -1534,9 +1552,9 @@ const Cl = {
1534
1552
  "hand-list": Ae.value,
1535
1553
  imageBaseUrl: l.imageBaseUrl,
1536
1554
  emptyText: l.emptyText,
1537
- onChange: Ze
1555
+ onChange: qe
1538
1556
  }, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText"]), [
1539
- [y(ve), T.value]
1557
+ [y(ve), U.value]
1540
1558
  ])
1541
1559
  ],
1542
1560
  64
@@ -1561,10 +1579,10 @@ const Cl = {
1561
1579
  })
1562
1580
  ]),
1563
1581
  c("ul", Rl, [
1564
- (r(!0), h(
1582
+ (r(!0), f(
1565
1583
  S,
1566
1584
  null,
1567
- X(i.value, (m) => (r(), h("li", Wl, [
1585
+ X(i.value, (m) => (r(), f("li", Wl, [
1568
1586
  c("div", Hl, [
1569
1587
  k(" icon前缀 "),
1570
1588
  c("div", Gl, [