iking-web-ui-pro 1.0.33 → 1.0.35

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 (89) hide show
  1. package/dist/IkApprovalProcess/ik.index.es.js +1111 -1034
  2. package/dist/IkApprovalProcess/iking-web-ui-pro.css +1 -1
  3. package/dist/IkApprovalProcessDetail/ik.index.es.js +7661 -6388
  4. package/dist/IkApprovalProcessDetail/iking-web-ui-pro.css +1 -1
  5. package/dist/IkAutoCard/ik.index.es.js +13 -13
  6. package/dist/IkBaseDialog/ik.index.es.js +72 -72
  7. package/dist/IkBottomOperate/ik.index.es.js +43 -19
  8. package/dist/IkBtnContent/ik.index.es.js +2 -2
  9. package/dist/IkBtnSetting/ik.index.es.js +54 -50
  10. package/dist/IkCalendar/ik.index.es.js +1426 -1362
  11. package/dist/IkCalendar/iking-web-ui-pro.css +1 -1
  12. package/dist/IkCollapseCard/ik.index.es.js +30 -30
  13. package/dist/IkCurrencyInput/ik.index.es.js +2 -2
  14. package/dist/IkDescription/ik.index.es.js +7486 -6213
  15. package/dist/IkDescription/iking-web-ui-pro.css +1 -1
  16. package/dist/IkDetailPreviewFiles/ik.index.es.js +7423 -6154
  17. package/dist/IkDetailPreviewFiles/iking-web-ui-pro.css +1 -1
  18. package/dist/IkDragList/ik.index.es.js +1 -1
  19. package/dist/IkExpandCollapse/ik.index.es.js +40 -40
  20. package/dist/IkFileIcon/ik.index.es.js +45 -45
  21. package/dist/IkHorizontalStepBar/ik.index.es.js +12 -12
  22. package/dist/IkIconPicker/ik.index.es.js +78 -78
  23. package/dist/IkImageUploadEditor/ik.index.es.js +2263 -2582
  24. package/dist/IkImageViewer/ik.index.es.js +26 -26
  25. package/dist/IkMonacoEditor/ik.index.es.js +74 -74
  26. package/dist/IkOnlyOffice/ik.index.es.js +1397 -139
  27. package/dist/IkPageFull/ik.index.es.js +1298 -1221
  28. package/dist/IkPageFull/iking-web-ui-pro.css +1 -1
  29. package/dist/IkPageTabs/ik.index.es.js +1 -1
  30. package/dist/IkPickerUser/ik.index.es.js +680 -624
  31. package/dist/IkPickerUser/iking-web-ui-pro.css +1 -1
  32. package/dist/IkPlayer/ik.index.es.js +3548 -3537
  33. package/dist/IkPlayer/iking-web-ui-pro.css +1 -1
  34. package/dist/IkPreviewFile/ik.index.es.js +7444 -6175
  35. package/dist/IkPreviewFile/iking-web-ui-pro.css +1 -1
  36. package/dist/IkPreviewFileDialog/ik.index.es.js +7375 -6106
  37. package/dist/IkPreviewFileDialog/iking-web-ui-pro.css +1 -1
  38. package/dist/IkPrint/{html2canvas.esm-DgdJBc_o.mjs → html2canvas.esm-dgT_1dIT.mjs} +78 -78
  39. package/dist/IkPrint/ik.index.es.js +132 -104
  40. package/dist/IkPrint/{index.es-CKOlDLRQ.mjs → index.es-DzGIwinU.mjs} +1800 -1762
  41. package/dist/IkPrint/jspdf.es.min-ByQMz4Ps.mjs +9956 -0
  42. package/dist/IkPrint/purify.es-Bb-cVdCo.mjs +536 -0
  43. package/dist/IkPrintConfig/ik.index.es.js +3 -3
  44. package/dist/IkPrintView/ik.index.es.js +1 -1
  45. package/dist/IkRadioGroup/ik.index.es.js +45 -45
  46. package/dist/IkSearch/ik.index.es.js +863 -807
  47. package/dist/IkSearch/iking-web-ui-pro.css +1 -1
  48. package/dist/IkSearchHead/ik.index.es.js +5 -5
  49. package/dist/IkSelectTag/ik.index.es.js +8 -10
  50. package/dist/IkSideText/ik.index.es.js +61 -61
  51. package/dist/IkSideText/iking-web-ui-pro.css +1 -1
  52. package/dist/IkStatu/ik.index.es.js +1 -1
  53. package/dist/IkStatuOver/ik.index.es.js +5 -7
  54. package/dist/IkSvgIcon/ik.index.es.js +52 -52
  55. package/dist/IkTemplateOfficeConfig/ik.index.es.js +1562 -304
  56. package/dist/IkTinymce/ik.index.es.js +29099 -29715
  57. package/dist/IkTooltip/ik.index.es.js +2 -2
  58. package/dist/IkTree/ik.index.es.js +4 -4
  59. package/dist/IkTree/iking-web-ui-pro.css +1 -1
  60. package/dist/IkUploadFile/ik.index.es.js +7646 -6377
  61. package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
  62. package/dist/IkUploadImage/ik.index.es.js +205 -205
  63. package/dist/IkUploadImage/iking-web-ui-pro.css +1 -1
  64. package/dist/IkVerticalStepBar/ik.index.es.js +66 -66
  65. package/dist/{html2canvas.esm-DgdJBc_o.mjs → html2canvas.esm-dgT_1dIT.mjs} +78 -78
  66. package/dist/iking-web-ui-pro.css +2 -2
  67. package/dist/{index-CAKmb_Mu.mjs → index-8cLb_Ghz.mjs} +42466 -41968
  68. package/dist/{index.es-CGVvoq4d.mjs → index.es-BeSZHwLo.mjs} +1799 -1761
  69. package/dist/index.es.js +1 -1
  70. package/dist/index.umd.js +275 -270
  71. package/dist/jspdf.es.min-BjAV_A3L.mjs +9956 -0
  72. package/dist/purify.es-Bb-cVdCo.mjs +536 -0
  73. package/dist/src/components/IkDescription/index.d.ts +15 -0
  74. package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +9 -0
  75. package/dist/src/components/IkDragList/index.d.ts +9 -9
  76. package/dist/src/components/IkDragList/src/IkDragList.vue.d.ts +3 -3
  77. package/dist/src/components/IkPageFull/src/IkDialog.d.ts +1 -1
  78. package/dist/src/components/IkPickerUser/index.d.ts +1 -1
  79. package/dist/src/components/IkPickerUser/src/list/GroupList.vue.d.ts +1 -1
  80. package/dist/src/components/IkPickerUser/src/list/PostList.vue.d.ts +1 -1
  81. package/dist/src/components/IkPickerUser/src/list/RoleList.vue.d.ts +1 -1
  82. package/dist/src/components/IkPickerUser/src/picker.vue.d.ts +1 -1
  83. package/dist/src/components/IkPreviewFile/index.d.ts +3 -3
  84. package/dist/src/components/IkPreviewFile/src/IkPreviewFile.vue.d.ts +2 -2
  85. package/package.json +1 -1
  86. package/dist/IkPrint/jspdf.es.min-CTJMR-3s.mjs +0 -10596
  87. package/dist/IkPrint/purify.es-ofLoJV2y.mjs +0 -537
  88. package/dist/jspdf.es.min-XzfyGVex.mjs +0 -10596
  89. package/dist/purify.es-ofLoJV2y.mjs +0 -537
@@ -1,16 +1,17 @@
1
- import { inject as re, computed as S, openBlock as a, createElementBlock as c, createElementVNode as n, defineComponent as oe, resolveComponent as Ae, createBlock as I, toDisplayString as P, createCommentVNode as m, ref as E, watch as X, Fragment as V, unref as O, withCtx as _, createTextVNode as Y, renderList as H, createVNode as w, normalizeClass as le, useCssVars as et, toRef as tt, reactive as Te, nextTick as ke, watchEffect as Ve, withModifiers as pe, normalizeStyle as Re, withDirectives as fe, vShow as lt, mergeProps as Ne } from "vue";
2
- import { ikStore as se, _ as q, ikEvent as st } from "iking-utils-pro";
3
- import { ElCheckbox as ae, ElCheckboxGroup as Le, ElRadioGroup as be, ElRadio as Ce, ElDialog as at, ElButton as Oe, ElInput as ot, ElBreadcrumb as nt, ElBreadcrumbItem as it, vLoading as Pe } from "element-plus";
4
- import rt from "axios";
5
- const Me = (d, v) => (d.install = (e) => {
6
- for (const l of [d, ...Object.values({})])
7
- e.component(l.name, l);
8
- }, d), G = (d, v) => {
1
+ import { inject as de, computed as E, createElementBlock as f, openBlock as s, createElementVNode as i, defineComponent as ue, resolveComponent as he, createBlock as _, createCommentVNode as g, toDisplayString as T, ref as I, watch as Y, Fragment as N, unref as P, withCtx as w, createTextVNode as ee, renderList as z, createVNode as S, normalizeClass as ie, useCssVars as st, toRef as ot, reactive as ke, nextTick as Te, watchEffect as Ve, normalizeStyle as Re, withDirectives as ve, withModifiers as ce, vShow as nt, mergeProps as De } from "vue";
2
+ import { ikStore as re, _ as J, ikEvent as it } from "iking-utils-pro";
3
+ import Me from "vuedraggable";
4
+ import { ElCheckbox as pe, ElCheckboxGroup as Le, ElRadioGroup as be, ElRadio as Ce, ElDialog as rt, ElInput as pt, ElBreadcrumb as ut, ElBreadcrumbItem as dt, vLoading as Oe, ElButton as Pe } from "element-plus";
5
+ import ct from "axios";
6
+ const We = (d, A) => (d.install = (e) => {
7
+ for (const a of [d, ...Object.values({})])
8
+ e.component(a.name, a);
9
+ }, d), Q = (d, A) => {
9
10
  const e = d.__vccOpts || d;
10
- for (const [l, L] of v)
11
- e[l] = L;
11
+ for (const [a, b] of A)
12
+ e[a] = b;
12
13
  return e;
13
- }, pt = (d, v) => v ? v != null && v.startsWith("http") ? v : `${d || location.origin}${v}` : "", ut = (d) => ({
14
+ }, ft = (d, A) => A ? A != null && A.startsWith("http") ? A : `${d || location.origin}${A}` : "", At = (d) => ({
14
15
  // ================all================
15
16
  nodeType: {
16
17
  发起人节点: "INITIATOR",
@@ -98,29 +99,29 @@ const Me = (d, v) => (d.install = (e) => {
98
99
  ...d.defaultStatus
99
100
  },
100
101
  listData: []
101
- }), dt = (d, v, e) => {
102
- let l = "";
103
- switch (v) {
102
+ }), vt = (d, A, e) => {
103
+ let a = "";
104
+ switch (A) {
104
105
  case d.nodeType.审批节点:
105
- e && e.length == 1 ? l = "ikapprove-ziyuan" : l = "ikapprove-shenpi";
106
+ e && e.length == 1 ? a = "ikapprove-ziyuan" : a = "ikapprove-shenpi";
106
107
  break;
107
108
  case d.nodeType.办理节点:
108
- l = "ikapprove-bianji";
109
+ a = "ikapprove-bianji";
109
110
  break;
110
111
  case d.nodeType.抄送节点:
111
- l = "ikapprove-chaosong";
112
+ a = "ikapprove-chaosong";
112
113
  break;
113
114
  case d.nodeType.并行分支:
114
- l = "ikapprove-fenzhi";
115
+ a = "ikapprove-fenzhi";
115
116
  break;
116
117
  case d.nodeType.子流程:
117
- l = "ikapprove-ziliucheng1";
118
+ a = "ikapprove-ziliucheng1";
118
119
  break;
119
120
  default:
120
- l = "ikapprove-ziyuan";
121
+ a = "ikapprove-ziyuan";
121
122
  }
122
- return `ikapprove ${l}`;
123
- }, De = [
123
+ return `ikapprove ${a}`;
124
+ }, Ne = [
124
125
  "csv",
125
126
  "djvu",
126
127
  "doc",
@@ -175,26 +176,26 @@ const Me = (d, v) => (d.install = (e) => {
175
176
  "mp4",
176
177
  "flv",
177
178
  "tls"
178
- ], We = (d) => {
179
- const v = re("loadUrl"), e = S(() => d.loadUrl || d.fileUrl || (v == null ? void 0 : v.value)), l = re("uploadUrl"), L = S(() => d.action || d.uploadUrl || (l == null ? void 0 : l.value)), x = re("token"), C = S(() => d.token || (x == null ? void 0 : x.value)), U = re("onlyofficeConfig"), p = S(() => d.onlyofficeConfig || (U == null ? void 0 : U.value)), D = re("userInfo"), N = S(() => d.userInfo || (D == null ? void 0 : D.value)), F = [...De, ...De.map((y) => y.toLocaleUpperCase())];
179
+ ], je = (d) => {
180
+ const A = de("loadUrl"), e = E(() => d.loadUrl || d.fileUrl || (A == null ? void 0 : A.value)), a = de("uploadUrl"), b = E(() => d.action || d.uploadUrl || (a == null ? void 0 : a.value)), O = de("token"), C = E(() => d.token || (O == null ? void 0 : O.value)), U = de("onlyofficeConfig"), u = E(() => d.onlyofficeConfig || (U == null ? void 0 : U.value)), F = de("userInfo"), D = E(() => d.userInfo || (F == null ? void 0 : F.value)), R = [...Ne, ...Ne.map((y) => y.toLocaleUpperCase())];
180
181
  return {
181
182
  cLoadUrl: e,
182
- cUploadUrl: L,
183
+ cUploadUrl: b,
183
184
  cToken: C,
184
- cOnlyofficeConfig: p,
185
- cUserInfo: N,
186
- cOnlyofficePreviewType: F
185
+ cOnlyofficeConfig: u,
186
+ cUserInfo: D,
187
+ cOnlyofficePreviewType: R
187
188
  };
188
- }, ct = {}, ft = {
189
+ }, ht = {}, yt = {
189
190
  t: "1672194715727",
190
191
  class: "icon",
191
192
  viewBox: "0 0 1024 1024",
192
193
  version: "1.1",
193
194
  "p-id": "2667"
194
195
  };
195
- function At(d, v) {
196
- return a(), c("svg", ft, v[0] || (v[0] = [
197
- n(
196
+ function mt(d, A) {
197
+ return s(), f("svg", yt, [...A[0] || (A[0] = [
198
+ i(
198
199
  "path",
199
200
  {
200
201
  d: "M809.246403 771.926938 777.737782 803.458071 924.965961 950.667831 956.476629 919.157163Z",
@@ -203,9 +204,9 @@ function At(d, v) {
203
204
  },
204
205
  null,
205
206
  -1
206
- /* HOISTED */
207
+ /* CACHED */
207
208
  ),
208
- n(
209
+ i(
209
210
  "path",
210
211
  {
211
212
  d: "M454.878536 70.285786C239.51556 70.285786 64.93236 244.847497 64.93236 460.231963c0 215.341486 174.583201 389.945153 389.945153 389.945153 215.362976 0 389.9472-174.603667 389.9472-389.945153C844.825736 244.847497 670.241512 70.285786 454.878536 70.285786zM454.878536 805.611108c-190.750415 0-345.381192-154.626683-345.381192-345.379145 0-190.751439 154.629753-345.380168 345.381192-345.380168 190.752462 0 345.382215 154.62873 345.382215 345.380168C800.259728 650.983401 645.630998 805.611108 454.878536 805.611108z",
@@ -214,11 +215,11 @@ function At(d, v) {
214
215
  },
215
216
  null,
216
217
  -1
217
- /* HOISTED */
218
+ /* CACHED */
218
219
  )
219
- ]));
220
+ ])]);
220
221
  }
221
- const vt = /* @__PURE__ */ G(ct, [["render", At]]), ht = {}, yt = {
222
+ const gt = /* @__PURE__ */ Q(ht, [["render", mt]]), xt = {}, Ot = {
222
223
  t: "1710907270798",
223
224
  class: "icon",
224
225
  viewBox: "0 0 1024 1024",
@@ -228,9 +229,9 @@ const vt = /* @__PURE__ */ G(ct, [["render", At]]), ht = {}, yt = {
228
229
  width: "200",
229
230
  height: "200"
230
231
  };
231
- function mt(d, v) {
232
- return a(), c("svg", yt, v[0] || (v[0] = [
233
- n(
232
+ function Pt(d, A) {
233
+ return s(), f("svg", Ot, [...A[0] || (A[0] = [
234
+ i(
234
235
  "path",
235
236
  {
236
237
  d: "M512 1024A512 512 0 1 0 512 0a512 512 0 0 0 0 1024z",
@@ -239,9 +240,9 @@ function mt(d, v) {
239
240
  },
240
241
  null,
241
242
  -1
242
- /* HOISTED */
243
+ /* CACHED */
243
244
  ),
244
- n(
245
+ i(
245
246
  "path",
246
247
  {
247
248
  d: "M655.701333 327.082667a41.216 41.216 0 0 1 57.002667-1.194667 39.082667 39.082667 0 0 1 1.109333 56.490667l-145.237333 145.92 145.237333 146.005333c13.824 13.909333 15.189333 35.072 4.266667 50.346667l-5.376 6.144a41.216 41.216 0 0 1-57.002667-1.109334L511.914667 585.130667 368.298667 729.685333a40.96 40.96 0 0 1-42.24 9.557334l-7.68-3.242667-7.082667-5.12a39.082667 39.082667 0 0 1-1.109333-56.576l145.066666-146.005333-145.066666-145.92a39.082667 39.082667 0 0 1-4.266667-50.346667l5.376-6.144a41.216 41.216 0 0 1 57.002667 1.194667L512 471.381333z",
@@ -250,11 +251,11 @@ function mt(d, v) {
250
251
  },
251
252
  null,
252
253
  -1
253
- /* HOISTED */
254
+ /* CACHED */
254
255
  )
255
- ]));
256
+ ])]);
256
257
  }
257
- const gt = /* @__PURE__ */ G(ht, [["render", mt]]), xt = {}, Ot = {
258
+ const kt = /* @__PURE__ */ Q(xt, [["render", Pt]]), Tt = {}, Lt = {
258
259
  t: "1710904463698",
259
260
  class: "icon",
260
261
  viewBox: "0 0 1024 1024",
@@ -264,9 +265,9 @@ const gt = /* @__PURE__ */ G(ht, [["render", mt]]), xt = {}, Ot = {
264
265
  width: "200",
265
266
  height: "200"
266
267
  };
267
- function Pt(d, v) {
268
- return a(), c("svg", Ot, v[0] || (v[0] = [
269
- n(
268
+ function bt(d, A) {
269
+ return s(), f("svg", Lt, [...A[0] || (A[0] = [
270
+ i(
270
271
  "path",
271
272
  {
272
273
  d: "M512 512a235.392 235.392 0 0 0 235.2-235.52A235.392 235.392 0 0 0 512 40.96a235.392 235.392 0 0 0-235.2 235.52A235.392 235.392 0 0 0 512 512z",
@@ -275,9 +276,9 @@ function Pt(d, v) {
275
276
  },
276
277
  null,
277
278
  -1
278
- /* HOISTED */
279
+ /* CACHED */
279
280
  ),
280
- n(
281
+ i(
281
282
  "path",
282
283
  {
283
284
  d: "M41.984 901.12c0 57.408 46.784 103.872 104.512 103.872h731.52c57.664 0 104.448-46.464 104.448-103.808v-51.968c0-143.36-116.992-259.648-261.248-259.648H303.232c-144.256 0-261.248 116.224-261.248 259.648v51.968z",
@@ -286,11 +287,11 @@ function Pt(d, v) {
286
287
  },
287
288
  null,
288
289
  -1
289
- /* HOISTED */
290
+ /* CACHED */
290
291
  )
291
- ]));
292
+ ])]);
292
293
  }
293
- const Tt = /* @__PURE__ */ G(xt, [["render", Pt]]), kt = {}, Lt = {
294
+ const Ct = /* @__PURE__ */ Q(Tt, [["render", bt]]), Ut = {}, St = {
294
295
  t: "1710904436436",
295
296
  class: "icon",
296
297
  viewBox: "0 0 1024 1024",
@@ -300,9 +301,9 @@ const Tt = /* @__PURE__ */ G(xt, [["render", Pt]]), kt = {}, Lt = {
300
301
  width: "200",
301
302
  height: "200"
302
303
  };
303
- function bt(d, v) {
304
- return a(), c("svg", Lt, v[0] || (v[0] = [
305
- n(
304
+ function Bt(d, A) {
305
+ return s(), f("svg", St, [...A[0] || (A[0] = [
306
+ i(
306
307
  "path",
307
308
  {
308
309
  d: "M421.952281 288.898297a42.687867 42.687867 0 0 0-42.111868 31.167903l-122.367618 461.694557a49.919844 49.919844 0 0 0 19.19994 52.223837l232.319274 173.503458a57.59982 57.59982 0 0 0 67.45579 0.447998l234.175268-169.59947a49.983844 49.983844 0 0 0 19.967937-52.351836l-118.783628-465.598545a42.623867 42.623867 0 0 0-41.919869-31.487902H421.952281z",
@@ -311,9 +312,9 @@ function bt(d, v) {
311
312
  },
312
313
  null,
313
314
  -1
314
- /* HOISTED */
315
+ /* CACHED */
315
316
  ),
316
- n(
317
+ i(
317
318
  "path",
318
319
  {
319
320
  d: "M354.048494 0.0032a44.67186 44.67186 0 0 0-36.479886 18.175943 39.103878 39.103878 0 0 0-4.223987 38.59188L377.792419 206.722554c6.591979 15.359952 22.39993 25.47192 40.127875 25.407921h255.487202c17.919944 0 33.919894-10.431967 40.319874-26.239918L774.39918 56.003025a39.167878 39.167878 0 0 0-4.863985-38.079881A44.67186 44.67186 0 0 0 733.439308 0.0032H354.048494z",
@@ -322,11 +323,11 @@ function bt(d, v) {
322
323
  },
323
324
  null,
324
325
  -1
325
- /* HOISTED */
326
+ /* CACHED */
326
327
  )
327
- ]));
328
+ ])]);
328
329
  }
329
- const Ct = /* @__PURE__ */ G(kt, [["render", bt]]), Ut = {}, Bt = {
330
+ const wt = /* @__PURE__ */ Q(Ut, [["render", Bt]]), Et = {}, It = {
330
331
  t: "1710904287393",
331
332
  class: "icon",
332
333
  viewBox: "0 0 1024 1024",
@@ -336,9 +337,9 @@ const Ct = /* @__PURE__ */ G(kt, [["render", bt]]), Ut = {}, Bt = {
336
337
  width: "200",
337
338
  height: "200"
338
339
  };
339
- function St(d, v) {
340
- return a(), c("svg", Bt, v[0] || (v[0] = [
341
- n(
340
+ function _t(d, A) {
341
+ return s(), f("svg", It, [...A[0] || (A[0] = [
342
+ i(
342
343
  "path",
343
344
  {
344
345
  d: "M512 271.296c27.264 0 49.792 22.336 51.136 50.816l0.064 2.688v147.072H832c62.272 0 113.28 51.776 115.2 116.8v103.872c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752l-0.064-2.688V592.256a13.184 13.184 0 0 0-11.328-13.312L832 578.88H563.2v113.664c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752L460.8 692.48V578.88H192a12.992 12.992 0 0 0-12.736 11.776l-0.064 1.6v100.288c0 28.992-22.144 52.736-49.92 53.44-27.776 0.768-51.008-21.76-52.416-50.752L76.8 692.48V592.256c0-65.088 49.536-118.4 111.808-120.32H460.8v-147.2c0-29.504 22.912-53.44 51.2-53.44z",
@@ -347,9 +348,9 @@ function St(d, v) {
347
348
  },
348
349
  null,
349
350
  -1
350
- /* HOISTED */
351
+ /* CACHED */
351
352
  ),
352
- n(
353
+ i(
353
354
  "path",
354
355
  {
355
356
  d: "M204.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504H51.2c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM588.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504H435.2c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM972.8 692.48c13.568 0 26.624 5.696 36.224 15.744 9.6 9.984 14.976 23.616 14.976 37.76v160.512c0 29.568-22.912 53.504-51.2 53.504h-153.6c-28.288 0-51.2-23.936-51.2-53.504v-160.448c0-29.568 22.912-53.504 51.2-53.504h153.6zM665.6 64c28.288 0 51.2 23.936 51.2 53.504v213.952c0 29.568-22.912 53.504-51.2 53.504H358.4c-28.288 0-51.2-23.936-51.2-53.504V117.504c0-29.568 22.912-53.504 51.2-53.504h307.2z",
@@ -358,17 +359,17 @@ function St(d, v) {
358
359
  },
359
360
  null,
360
361
  -1
361
- /* HOISTED */
362
+ /* CACHED */
362
363
  )
363
- ]));
364
+ ])]);
364
365
  }
365
- const wt = /* @__PURE__ */ G(Ut, [["render", St]]), _t = { class: "avatar" }, It = {
366
+ const Vt = /* @__PURE__ */ Q(Et, [["render", _t]]), Dt = { class: "avatar" }, Nt = {
366
367
  key: 3,
367
368
  class: "user_box"
368
- }, Et = {
369
+ }, Ft = {
369
370
  key: 1,
370
371
  class: "avatar_name"
371
- }, Vt = /* @__PURE__ */ oe({
372
+ }, Rt = /* @__PURE__ */ ue({
372
373
  __name: "Avatar",
373
374
  props: {
374
375
  fixPropOpt: {
@@ -392,27 +393,27 @@ const wt = /* @__PURE__ */ G(Ut, [["render", St]]), _t = { class: "avatar" }, It
392
393
  }
393
394
  },
394
395
  setup(d) {
395
- const v = d, { cLoadUrl: e } = We(v), l = (L) => pt(e.value, L);
396
- return (L, x) => {
397
- const C = Ae("el-avatar");
398
- return a(), c("div", _t, [
399
- v.fixTypeOpt.group === d.element[v.fixPropOpt.type] ? (a(), I(wt, { key: 0 })) : v.fixTypeOpt.role === d.element[v.fixPropOpt.type] ? (a(), I(Tt, { key: 1 })) : v.fixTypeOpt.post === d.element[v.fixPropOpt.type] ? (a(), I(Ct, { key: 2 })) : v.fixTypeOpt.user === d.element[v.fixPropOpt.type] ? (a(), c("div", It, [
400
- d.element[d.fixPropOpt.avatar] ? (a(), I(C, {
396
+ const A = d, { cLoadUrl: e } = je(A), a = (b) => ft(e.value, b);
397
+ return (b, O) => {
398
+ const C = he("el-avatar");
399
+ return s(), f("div", Dt, [
400
+ A.fixTypeOpt.group === d.element[A.fixPropOpt.type] ? (s(), _(Vt, { key: 0 })) : A.fixTypeOpt.role === d.element[A.fixPropOpt.type] ? (s(), _(Ct, { key: 1 })) : A.fixTypeOpt.post === d.element[A.fixPropOpt.type] ? (s(), _(wt, { key: 2 })) : A.fixTypeOpt.user === d.element[A.fixPropOpt.type] ? (s(), f("div", Nt, [
401
+ d.element[d.fixPropOpt.avatar] ? (s(), _(C, {
401
402
  key: 0,
402
403
  shape: "square",
403
- src: l(d.fixPropOpt.avatar ? d.element[d.fixPropOpt.avatar] : "")
404
- }, null, 8, ["src"])) : (a(), c(
404
+ src: a(d.fixPropOpt.avatar ? d.element[d.fixPropOpt.avatar] : "")
405
+ }, null, 8, ["src"])) : (s(), f(
405
406
  "div",
406
- Et,
407
- P(d.element[d.fixPropOpt.name].slice(-2)),
407
+ Ft,
408
+ T(d.element[d.fixPropOpt.name].slice(-2)),
408
409
  1
409
410
  /* TEXT */
410
411
  ))
411
- ])) : m("v-if", !0)
412
+ ])) : g("v-if", !0)
412
413
  ]);
413
414
  };
414
415
  }
415
- }), W = /* @__PURE__ */ G(Vt, [["__scopeId", "data-v-8031ce9b"]]), Ue = "data:image/webp;base64,UklGRogSAABXRUJQVlA4WAoAAAAwAAAAxwAAzQAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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khi0cBoqF2quLyff3S3y9RMN/xM9oPh7cT8+rNF9azivisDh4AIyAlaYTSsoJ6JFmrxFP//iZ//3US//7kyGHqb0JWaRZPd5LjuIc4b3Pdxeirqg3w8ux5nlN/CW5YYPR8ygYwahr/iqudOg0NhFAVNXbgNGCTQRj2YmxoT259SWlnA1dtgjuRe2cZOmxqn+mvuyGdvAd9XjPSV4VVEAnROrjCwrgbhyKFpb8s12Za8/F4cSrPOSuadvlSXDEdhrb27ok+DnCnJqOg8Kj9Gqlca2xL+KvTh1u+NuUBnWJWF2Y9f3+xrM9KPN55AGLwUs8yRaGNKw9ngyAAfv8bf7tO4JOhTqKsM4JbfTtFKmlQhMS77J/ZyxsS7I+u5WO0/gjo83E7/80LOn4Ple50oLNP3yW4yTSnlNCwg+COLMFER8MfaIeAHTLvnkH3eDLow61YfoXxUp6SIMiBAHJ75Y1CrZeW1DvEoWdfnDhpz06KBs12oE7Ob6wCwc+FXeaKHfhDxAz/7xTqCDxZf++IGd1QQAB/TN8qRAl4EZQF8tbRrVQIKm2g8cbO8potBMoXyVFfUtI4r31krwmWYxDz2AAAAAAAA", Se = {
416
417
  // 所有数据
417
418
  list: {
418
419
  type: Array,
@@ -470,180 +471,184 @@ const wt = /* @__PURE__ */ G(Ut, [["render", St]]), _t = { class: "avatar" }, It
470
471
  // 传['dep', 'user', 'role']则选择人员、部门和角色
471
472
  default: () => ["dep"]
472
473
  }
473
- }, Nt = { class: "left-pick-list" }, Dt = {
474
+ }, Mt = { class: "left-pick-list" }, Wt = {
474
475
  key: 1,
475
476
  class: "post-view-list"
476
- }, Ft = { class: "checkText" }, Rt = { class: "iconBox" }, Mt = { class: "name_number" }, Wt = { class: "title" }, jt = {
477
+ }, jt = { class: "checkText" }, Ht = { class: "iconBox" }, Gt = { class: "name_number" }, $t = { class: "title" }, zt = {
477
478
  key: 0,
478
479
  class: "userCount"
479
- }, Ht = {
480
+ }, Qt = {
480
481
  key: 1,
481
482
  class: "checkText"
482
- }, Gt = { class: "iconBox" }, $t = { class: "name_number" }, zt = { class: "title" }, Qt = {
483
+ }, Xt = { class: "iconBox" }, qt = { class: "name_number" }, Zt = { class: "title" }, Kt = {
483
484
  key: 0,
484
485
  class: "userCount"
485
- }, Xt = ["onClick"], qt = { class: "checkText" }, Zt = { class: "iconBox" }, Kt = { class: "name_number" }, Yt = { class: "title" }, Jt = {
486
+ }, Yt = ["onClick"], Jt = { class: "checkText" }, el = { class: "iconBox" }, tl = { class: "name_number" }, ll = { class: "title" }, al = {
486
487
  key: 0,
487
488
  class: "userCount"
488
- }, el = {
489
+ }, sl = {
489
490
  key: 1,
490
491
  class: "checkText"
491
- }, tl = { class: "iconBox" }, ll = { class: "name_number" }, sl = { class: "title" }, al = {
492
+ }, ol = { class: "iconBox" }, nl = { class: "name_number" }, il = { class: "title" }, rl = {
492
493
  key: 0,
493
494
  class: "userCount"
494
- }, ol = ["onClick"], nl = {
495
+ }, pl = ["onClick"], ul = {
495
496
  key: 2,
496
497
  class: "empty"
497
- }, il = /* @__PURE__ */ oe({
498
+ }, dl = /* @__PURE__ */ ue({
498
499
  __name: "GroupList",
499
- props: Be,
500
+ props: Se,
500
501
  emits: ["change", "check", "handChild"],
501
- setup(d, { emit: v }) {
502
- var y, i;
503
- const e = d, l = S(() => {
504
- var r, t;
505
- return ((r = e.handList) == null ? void 0 : r.length) === ((t = e.list) == null ? void 0 : t.length);
506
- }), L = S(() => {
507
- var o, h, f, B;
508
- const r = (o = e.handList) == null ? void 0 : o.length, t = (h = e.list) == null ? void 0 : h.length;
509
- return e.multiple ? x.value = e.handList.map((A) => A[e.fixPropOpt.id]) : C.value = (B = (f = e.handList) == null ? void 0 : f[0]) == null ? void 0 : B[e.fixPropOpt.id], r > 0 && r < t;
510
- }), x = E(
502
+ setup(d, { emit: A }) {
503
+ var y, n;
504
+ const e = d, a = E(() => {
505
+ var r, o;
506
+ return ((r = e.handList) == null ? void 0 : r.length) === ((o = e.list) == null ? void 0 : o.length);
507
+ }), b = E(() => {
508
+ var v, B, c, m;
509
+ const r = (v = e.handList) == null ? void 0 : v.length, o = (B = e.list) == null ? void 0 : B.length;
510
+ return e.multiple ? O.value = e.handList.map((l) => l[e.fixPropOpt.id]) : C.value = (m = (c = e.handList) == null ? void 0 : c[0]) == null ? void 0 : m[e.fixPropOpt.id], r > 0 && r < o;
511
+ }), O = I(
511
512
  e.handList.map((r) => r[e.fixPropOpt.id])
512
- ), C = E((i = (y = e.handList) == null ? void 0 : y[0]) == null ? void 0 : i[e.fixPropOpt.id]), U = v, p = (r) => {
513
- const t = r ? e.list.map((o) => {
514
- if (e.chooseType.includes(o[e.fixPropOpt.type].toLowerCase()) && o.available !== !1)
515
- return o[e.fixPropOpt.id];
513
+ ), C = I((n = (y = e.handList) == null ? void 0 : y[0]) == null ? void 0 : n[e.fixPropOpt.id]), U = A, u = (r) => {
514
+ const o = r ? e.list.map((v) => {
515
+ if (e.chooseType.includes(v[e.fixPropOpt.type].toLowerCase()) && v.available !== !1)
516
+ return v[e.fixPropOpt.id];
516
517
  }) : [];
517
- U("change", t, r ? e.list : []);
518
- }, D = (r) => {
518
+ U("change", o, r ? e.list : []);
519
+ }, F = (r) => {
519
520
  U("change", r, e.list);
520
- }, N = (r) => {
521
+ }, D = (r) => {
521
522
  U("change", r, e.list);
522
- }, F = (r, t) => {
523
- t || U("handChild", r);
523
+ }, R = (r, o) => {
524
+ o || U("handChild", r);
524
525
  };
525
- return X(() => e, (r) => {
526
+ return Y(() => e, (r) => {
526
527
  console.log(r);
527
- }, { deep: !0 }), (r, t) => (a(), c(
528
- V,
528
+ }, { deep: !0 }), (r, o) => (s(), f(
529
+ N,
529
530
  null,
530
531
  [
531
- m(" 遍历list多选 "),
532
- n("div", Nt, [
533
- r.multiple && r.list && r.list.length ? (a(), I(O(ae), {
532
+ g(" 遍历list多选 "),
533
+ i("div", Mt, [
534
+ r.multiple && r.list && r.list.length ? (s(), _(P(pe), {
534
535
  key: 0,
535
- modelValue: l.value,
536
- "onUpdate:modelValue": t[0] || (t[0] = (o) => l.value = o),
537
- indeterminate: L.value,
538
- onChange: p
536
+ modelValue: a.value,
537
+ "onUpdate:modelValue": o[0] || (o[0] = (v) => a.value = v),
538
+ indeterminate: b.value,
539
+ onChange: u
539
540
  }, {
540
- default: _(() => t[3] || (t[3] = [
541
- Y("全选")
542
- ])),
541
+ default: w(() => [...o[3] || (o[3] = [
542
+ ee(
543
+ "全选",
544
+ -1
545
+ /* CACHED */
546
+ )
547
+ ])]),
543
548
  _: 1
544
549
  /* STABLE */
545
- }, 8, ["modelValue", "indeterminate"])) : m("v-if", !0),
546
- r.list && r.list.length ? (a(), c("ul", Dt, [
547
- r.multiple ? (a(), I(O(Le), {
550
+ }, 8, ["modelValue", "indeterminate"])) : g("v-if", !0),
551
+ r.list && r.list.length ? (s(), f("ul", Wt, [
552
+ r.multiple ? (s(), _(P(Le), {
548
553
  key: 0,
549
- modelValue: x.value,
550
- "onUpdate:modelValue": t[1] || (t[1] = (o) => x.value = o),
551
- onChange: D
554
+ modelValue: O.value,
555
+ "onUpdate:modelValue": o[1] || (o[1] = (v) => O.value = v),
556
+ onChange: F
552
557
  }, {
553
- default: _(() => [
554
- (a(!0), c(
555
- V,
558
+ default: w(() => [
559
+ (s(!0), f(
560
+ N,
556
561
  null,
557
- H(r.list, (o) => {
558
- var h;
559
- return a(), c("li", {
560
- key: o[e.fixPropOpt.id]
562
+ z(r.list, (v) => {
563
+ var B;
564
+ return s(), f("li", {
565
+ key: v[e.fixPropOpt.id]
561
566
  }, [
562
567
  r.chooseType.includes(
563
- o[e.fixPropOpt.type].toLowerCase()
564
- ) && o.available !== !1 ? (a(), I(O(ae), {
568
+ v[e.fixPropOpt.type].toLowerCase()
569
+ ) && v.available !== !1 ? (s(), _(P(pe), {
565
570
  key: 0,
566
- label: o[e.fixPropOpt.id],
567
- disabled: o.available === !1
571
+ label: v[e.fixPropOpt.id],
572
+ disabled: v.available === !1
568
573
  }, {
569
- default: _(() => [
570
- n("div", Ft, [
571
- n("div", Rt, [
572
- w(W, {
574
+ default: w(() => [
575
+ i("div", jt, [
576
+ i("div", Ht, [
577
+ S(H, {
573
578
  fixTypeOpt: e.fixTypeOpt,
574
579
  fixPropOpt: e.fixPropOpt,
575
- element: o,
580
+ element: v,
576
581
  imageBaseUrl: e.imageBaseUrl
577
582
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
578
583
  ]),
579
- n("div", Mt, [
580
- n(
584
+ i("div", Gt, [
585
+ i(
581
586
  "div",
582
- Wt,
583
- P(o[e.fixPropOpt.name]),
587
+ $t,
588
+ T(v[e.fixPropOpt.name]),
584
589
  1
585
590
  /* TEXT */
586
591
  ),
587
- o[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), c(
592
+ v[e.fixPropOpt.type] === e.fixTypeOpt.group ? (s(), f(
588
593
  "div",
589
- jt,
590
- " (" + P(o.userCount) + ") ",
594
+ zt,
595
+ " (" + T(v.userCount) + ") ",
591
596
  1
592
597
  /* TEXT */
593
- )) : m("v-if", !0)
598
+ )) : g("v-if", !0)
594
599
  ])
595
600
  ])
596
601
  ]),
597
602
  _: 2
598
603
  /* DYNAMIC */
599
- }, 1032, ["label", "disabled"])) : (a(), c("div", Ht, [
600
- t[4] || (t[4] = n(
604
+ }, 1032, ["label", "disabled"])) : (s(), f("div", Qt, [
605
+ o[4] || (o[4] = i(
601
606
  "div",
602
607
  { class: "side" },
603
608
  null,
604
609
  -1
605
- /* HOISTED */
610
+ /* CACHED */
606
611
  )),
607
- n("div", Gt, [
608
- w(W, {
612
+ i("div", Xt, [
613
+ S(H, {
609
614
  fixTypeOpt: e.fixTypeOpt,
610
615
  fixPropOpt: e.fixPropOpt,
611
- element: o,
616
+ element: v,
612
617
  imageBaseUrl: e.imageBaseUrl
613
618
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
614
619
  ]),
615
- n("div", $t, [
616
- n(
620
+ i("div", qt, [
621
+ i(
617
622
  "div",
618
- zt,
619
- P(o[e.fixPropOpt.name]),
623
+ Zt,
624
+ T(v[e.fixPropOpt.name]),
620
625
  1
621
626
  /* TEXT */
622
627
  ),
623
- o[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), c(
628
+ v[e.fixPropOpt.type] === e.fixTypeOpt.group ? (s(), f(
624
629
  "div",
625
- Qt,
626
- " (" + P(o.userCount) + ") ",
630
+ Kt,
631
+ " (" + T(v.userCount) + ") ",
627
632
  1
628
633
  /* TEXT */
629
- )) : m("v-if", !0)
634
+ )) : g("v-if", !0)
630
635
  ])
631
636
  ])),
632
- o[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(), c("span", {
637
+ v[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (s(), f("span", {
633
638
  key: 2,
634
- class: le(["nextLevel", {
635
- "is-disabled": (h = x.value) == null ? void 0 : h.find(
636
- (f) => f === o[e.fixPropOpt.id]
639
+ class: ie(["nextLevel", {
640
+ "is-disabled": (B = O.value) == null ? void 0 : B.find(
641
+ (c) => c === v[e.fixPropOpt.id]
637
642
  )
638
643
  }]),
639
- onClick: (f) => {
640
- var B;
641
- return F(
642
- o,
643
- (B = x.value) == null ? void 0 : B.find((A) => A === o[e.fixPropOpt.id])
644
+ onClick: (c) => {
645
+ var m;
646
+ return R(
647
+ v,
648
+ (m = O.value) == null ? void 0 : m.find((l) => l === v[e.fixPropOpt.id])
644
649
  );
645
650
  }
646
- }, " 下级", 10, Xt)) : m("v-if", !0)
651
+ }, " 下级", 10, Yt)) : g("v-if", !0)
647
652
  ]);
648
653
  }),
649
654
  128
@@ -652,105 +657,105 @@ const wt = /* @__PURE__ */ G(Ut, [["render", St]]), _t = { class: "avatar" }, It
652
657
  ]),
653
658
  _: 1
654
659
  /* STABLE */
655
- }, 8, ["modelValue"])) : (a(), I(O(be), {
660
+ }, 8, ["modelValue"])) : (s(), _(P(be), {
656
661
  key: 1,
657
- isIndeterminate: L.value,
662
+ isIndeterminate: b.value,
658
663
  modelValue: C.value,
659
- "onUpdate:modelValue": t[2] || (t[2] = (o) => C.value = o),
660
- onChange: N
664
+ "onUpdate:modelValue": o[2] || (o[2] = (v) => C.value = v),
665
+ onChange: D
661
666
  }, {
662
- default: _(() => [
663
- (a(!0), c(
664
- V,
667
+ default: w(() => [
668
+ (s(!0), f(
669
+ N,
665
670
  null,
666
- H(r.list, (o) => {
667
- var h;
668
- return a(), c("li", {
671
+ z(r.list, (v) => {
672
+ var B;
673
+ return s(), f("li", {
669
674
  class: "w-full",
670
- key: o[e.fixPropOpt.id]
675
+ key: v[e.fixPropOpt.id]
671
676
  }, [
672
- r.chooseType.includes(o[e.fixPropOpt.type].toLowerCase()) && o.available !== !1 ? (a(), I(O(Ce), {
677
+ r.chooseType.includes(v[e.fixPropOpt.type].toLowerCase()) && v.available !== !1 ? (s(), _(P(Ce), {
673
678
  key: 0,
674
- label: o[e.fixPropOpt.id]
679
+ label: v[e.fixPropOpt.id]
675
680
  }, {
676
- default: _(() => [
677
- n("div", qt, [
678
- n("div", Zt, [
679
- w(W, {
681
+ default: w(() => [
682
+ i("div", Jt, [
683
+ i("div", el, [
684
+ S(H, {
680
685
  fixTypeOpt: e.fixTypeOpt,
681
686
  fixPropOpt: e.fixPropOpt,
682
- element: o,
687
+ element: v,
683
688
  imageBaseUrl: e.imageBaseUrl
684
689
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
685
690
  ]),
686
- n("div", Kt, [
687
- n(
691
+ i("div", tl, [
692
+ i(
688
693
  "div",
689
- Yt,
690
- P(o[e.fixPropOpt.name]),
694
+ ll,
695
+ T(v[e.fixPropOpt.name]),
691
696
  1
692
697
  /* TEXT */
693
698
  ),
694
- o[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), c(
699
+ v[e.fixPropOpt.type] === e.fixTypeOpt.group ? (s(), f(
695
700
  "div",
696
- Jt,
697
- " (" + P((o == null ? void 0 : o.userCount) || 0) + ") ",
701
+ al,
702
+ " (" + T((v == null ? void 0 : v.userCount) || 0) + ") ",
698
703
  1
699
704
  /* TEXT */
700
- )) : m("v-if", !0)
705
+ )) : g("v-if", !0)
701
706
  ])
702
707
  ])
703
708
  ]),
704
709
  _: 2
705
710
  /* DYNAMIC */
706
- }, 1032, ["label"])) : (a(), c("div", el, [
707
- t[5] || (t[5] = n(
711
+ }, 1032, ["label"])) : (s(), f("div", sl, [
712
+ o[5] || (o[5] = i(
708
713
  "div",
709
714
  { class: "side" },
710
715
  null,
711
716
  -1
712
- /* HOISTED */
717
+ /* CACHED */
713
718
  )),
714
- n("div", tl, [
715
- w(W, {
719
+ i("div", ol, [
720
+ S(H, {
716
721
  fixTypeOpt: e.fixTypeOpt,
717
722
  fixPropOpt: e.fixPropOpt,
718
- element: o,
723
+ element: v,
719
724
  imageBaseUrl: e.imageBaseUrl
720
725
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
721
726
  ]),
722
- n("div", ll, [
723
- n(
727
+ i("div", nl, [
728
+ i(
724
729
  "div",
725
- sl,
726
- P(o[e.fixPropOpt.name]),
730
+ il,
731
+ T(v[e.fixPropOpt.name]),
727
732
  1
728
733
  /* TEXT */
729
734
  ),
730
- o[e.fixPropOpt.type] === e.fixTypeOpt.group ? (a(), c(
735
+ v[e.fixPropOpt.type] === e.fixTypeOpt.group ? (s(), f(
731
736
  "div",
732
- al,
733
- " (" + P(o.userCount) + ") ",
737
+ rl,
738
+ " (" + T(v.userCount) + ") ",
734
739
  1
735
740
  /* TEXT */
736
- )) : m("v-if", !0)
741
+ )) : g("v-if", !0)
737
742
  ])
738
743
  ])),
739
- o[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (a(), c("span", {
744
+ v[e.fixPropOpt.type] === e.fixTypeOpt.group && e.children ? (s(), f("span", {
740
745
  key: 2,
741
- class: le(["nextLevel", {
742
- "is-disabled": (h = x.value) == null ? void 0 : h.find(
743
- (f) => f === o[e.fixPropOpt.id]
746
+ class: ie(["nextLevel", {
747
+ "is-disabled": (B = O.value) == null ? void 0 : B.find(
748
+ (c) => c === v[e.fixPropOpt.id]
744
749
  )
745
750
  }]),
746
- onClick: (f) => {
747
- var B;
748
- return F(
749
- o,
750
- (B = x.value) == null ? void 0 : B.find((A) => A === o[e.fixPropOpt.id])
751
+ onClick: (c) => {
752
+ var m;
753
+ return R(
754
+ v,
755
+ (m = O.value) == null ? void 0 : m.find((l) => l === v[e.fixPropOpt.id])
751
756
  );
752
757
  }
753
- }, " 下级", 10, ol)) : m("v-if", !0)
758
+ }, " 下级", 10, pl)) : g("v-if", !0)
754
759
  ]);
755
760
  }),
756
761
  128
@@ -760,8 +765,8 @@ const wt = /* @__PURE__ */ G(Ut, [["render", St]]), _t = { class: "avatar" }, It
760
765
  _: 1
761
766
  /* STABLE */
762
767
  }, 8, ["isIndeterminate", "modelValue"]))
763
- ])) : (a(), c("div", nl, [
764
- t[6] || (t[6] = n(
768
+ ])) : (s(), f("div", ul, [
769
+ o[6] || (o[6] = i(
765
770
  "img",
766
771
  {
767
772
  src: Ue,
@@ -769,12 +774,12 @@ const wt = /* @__PURE__ */ G(Ut, [["render", St]]), _t = { class: "avatar" }, It
769
774
  },
770
775
  null,
771
776
  -1
772
- /* HOISTED */
777
+ /* CACHED */
773
778
  )),
774
- n(
779
+ i(
775
780
  "div",
776
781
  null,
777
- P(e.emptyText),
782
+ T(e.emptyText),
778
783
  1
779
784
  /* TEXT */
780
785
  )
@@ -785,117 +790,121 @@ const wt = /* @__PURE__ */ G(Ut, [["render", St]]), _t = { class: "avatar" }, It
785
790
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
786
791
  ));
787
792
  }
788
- }), rl = /* @__PURE__ */ G(il, [["__scopeId", "data-v-ad552fa7"]]), pl = { class: "left-pick-list" }, ul = {
793
+ }), cl = /* @__PURE__ */ Q(dl, [["__scopeId", "data-v-ad552fa7"]]), fl = { class: "left-pick-list" }, Al = {
789
794
  key: 1,
790
795
  class: "post-view-list"
791
- }, dl = { class: "iconBox" }, cl = {
796
+ }, vl = { class: "iconBox" }, hl = {
792
797
  key: 1,
793
798
  class: "checkText"
794
- }, fl = { class: "iconBox" }, Al = { class: "title" }, vl = { class: "ik-picker-single" }, hl = { class: "iconBox" }, yl = {
799
+ }, yl = { class: "iconBox" }, ml = { class: "title" }, gl = { class: "ik-picker-single" }, xl = { class: "iconBox" }, Ol = {
795
800
  key: 1,
796
801
  class: "checkText"
797
- }, ml = { class: "iconBox" }, gl = { class: "title" }, xl = {
802
+ }, Pl = { class: "iconBox" }, kl = { class: "title" }, Tl = {
798
803
  key: 2,
799
804
  class: "empty"
800
- }, Ol = /* @__PURE__ */ oe({
805
+ }, Ll = /* @__PURE__ */ ue({
801
806
  __name: "PostList",
802
- props: Be,
807
+ props: Se,
803
808
  emits: ["change", "check"],
804
- setup(d, { emit: v }) {
805
- var F, y;
806
- const e = d, l = S(() => {
807
- var i, r;
808
- return ((i = e.handList) == null ? void 0 : i.length) === ((r = e.list) == null ? void 0 : r.length);
809
- }), L = S(() => {
810
- var t, o, h, f;
811
- const i = (t = e.handList) == null ? void 0 : t.length, r = (o = e.list) == null ? void 0 : o.length;
812
- return e.multiple ? x.value = e.handList.map((B) => B[e.fixPropOpt.id]) : C.value = (f = (h = e.handList) == null ? void 0 : h[0]) == null ? void 0 : f[e.fixPropOpt.id], i > 0 && i < r;
813
- }), x = E(
814
- e.handList.map((i) => i[e.fixPropOpt.id])
815
- ), C = E((y = (F = e.handList) == null ? void 0 : F[0]) == null ? void 0 : y[e.fixPropOpt.id]), U = v, p = (i) => {
816
- const r = i ? e.list.map((t) => t[e.fixPropOpt.id]) : [];
817
- U("change", r, i ? e.list : []);
818
- }, D = (i) => {
819
- U("change", i, e.list);
820
- }, N = (i) => {
821
- U("change", i, e.list);
809
+ setup(d, { emit: A }) {
810
+ var R, y;
811
+ const e = d, a = E(() => {
812
+ var n, r;
813
+ return ((n = e.handList) == null ? void 0 : n.length) === ((r = e.list) == null ? void 0 : r.length);
814
+ }), b = E(() => {
815
+ var o, v, B, c;
816
+ const n = (o = e.handList) == null ? void 0 : o.length, r = (v = e.list) == null ? void 0 : v.length;
817
+ return e.multiple ? O.value = e.handList.map((m) => m[e.fixPropOpt.id]) : C.value = (c = (B = e.handList) == null ? void 0 : B[0]) == null ? void 0 : c[e.fixPropOpt.id], n > 0 && n < r;
818
+ }), O = I(
819
+ e.handList.map((n) => n[e.fixPropOpt.id])
820
+ ), C = I((y = (R = e.handList) == null ? void 0 : R[0]) == null ? void 0 : y[e.fixPropOpt.id]), U = A, u = (n) => {
821
+ const r = n ? e.list.map((o) => o[e.fixPropOpt.id]) : [];
822
+ U("change", r, n ? e.list : []);
823
+ }, F = (n) => {
824
+ U("change", n, e.list);
825
+ }, D = (n) => {
826
+ U("change", n, e.list);
822
827
  };
823
- return (i, r) => (a(), c(
824
- V,
828
+ return (n, r) => (s(), f(
829
+ N,
825
830
  null,
826
831
  [
827
- m(" 遍历list多选 "),
828
- n("div", pl, [
829
- i.multiple && i.chooseType.includes("post") && i.list && i.list.length ? (a(), I(O(ae), {
832
+ g(" 遍历list多选 "),
833
+ i("div", fl, [
834
+ n.multiple && n.chooseType.includes("post") && n.list && n.list.length ? (s(), _(P(pe), {
830
835
  key: 0,
831
- modelValue: l.value,
832
- "onUpdate:modelValue": r[0] || (r[0] = (t) => l.value = t),
833
- indeterminate: L.value,
834
- onChange: p
836
+ modelValue: a.value,
837
+ "onUpdate:modelValue": r[0] || (r[0] = (o) => a.value = o),
838
+ indeterminate: b.value,
839
+ onChange: u
835
840
  }, {
836
- default: _(() => r[3] || (r[3] = [
837
- Y("全选")
838
- ])),
841
+ default: w(() => [...r[3] || (r[3] = [
842
+ ee(
843
+ "全选",
844
+ -1
845
+ /* CACHED */
846
+ )
847
+ ])]),
839
848
  _: 1
840
849
  /* STABLE */
841
- }, 8, ["modelValue", "indeterminate"])) : m("v-if", !0),
842
- i.list && i.list.length ? (a(), c("ul", ul, [
843
- i.multiple ? (a(), I(O(Le), {
850
+ }, 8, ["modelValue", "indeterminate"])) : g("v-if", !0),
851
+ n.list && n.list.length ? (s(), f("ul", Al, [
852
+ n.multiple ? (s(), _(P(Le), {
844
853
  key: 0,
845
- modelValue: x.value,
846
- "onUpdate:modelValue": r[1] || (r[1] = (t) => x.value = t),
847
- onChange: D
854
+ modelValue: O.value,
855
+ "onUpdate:modelValue": r[1] || (r[1] = (o) => O.value = o),
856
+ onChange: F
848
857
  }, {
849
- default: _(() => [
850
- (a(!0), c(
851
- V,
858
+ default: w(() => [
859
+ (s(!0), f(
860
+ N,
852
861
  null,
853
- H(i.list, (t) => (a(), c("li", {
854
- key: t[e.fixPropOpt.id]
862
+ z(n.list, (o) => (s(), f("li", {
863
+ key: o[e.fixPropOpt.id]
855
864
  }, [
856
- i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), I(O(ae), {
865
+ n.chooseType.includes(o[e.fixPropOpt.type].toLowerCase()) ? (s(), _(P(pe), {
857
866
  key: 0,
858
- label: t[e.fixPropOpt.id]
867
+ label: o[e.fixPropOpt.id]
859
868
  }, {
860
- default: _(() => [
861
- n("div", dl, [
862
- w(W, {
869
+ default: w(() => [
870
+ i("div", vl, [
871
+ S(H, {
863
872
  fixTypeOpt: e.fixTypeOpt,
864
873
  fixPropOpt: e.fixPropOpt,
865
- element: t,
874
+ element: o,
866
875
  imageBaseUrl: e.imageBaseUrl
867
876
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
868
877
  ]),
869
- n(
878
+ i(
870
879
  "p",
871
880
  null,
872
- P(t[e.fixPropOpt.name]),
881
+ T(o[e.fixPropOpt.name]),
873
882
  1
874
883
  /* TEXT */
875
884
  )
876
885
  ]),
877
886
  _: 2
878
887
  /* DYNAMIC */
879
- }, 1032, ["label"])) : (a(), c("div", cl, [
880
- r[4] || (r[4] = n(
888
+ }, 1032, ["label"])) : (s(), f("div", hl, [
889
+ r[4] || (r[4] = i(
881
890
  "div",
882
891
  { class: "side" },
883
892
  null,
884
893
  -1
885
- /* HOISTED */
894
+ /* CACHED */
886
895
  )),
887
- n("div", fl, [
888
- w(W, {
896
+ i("div", yl, [
897
+ S(H, {
889
898
  fixTypeOpt: e.fixTypeOpt,
890
899
  fixPropOpt: e.fixPropOpt,
891
- element: t,
900
+ element: o,
892
901
  imageBaseUrl: e.imageBaseUrl
893
902
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
894
903
  ]),
895
- n(
904
+ i(
896
905
  "div",
897
- Al,
898
- P(t[e.fixPropOpt.name]),
906
+ ml,
907
+ T(o[e.fixPropOpt.name]),
899
908
  1
900
909
  /* TEXT */
901
910
  )
@@ -907,39 +916,39 @@ const wt = /* @__PURE__ */ G(Ut, [["render", St]]), _t = { class: "avatar" }, It
907
916
  ]),
908
917
  _: 1
909
918
  /* STABLE */
910
- }, 8, ["modelValue"])) : (a(), I(O(be), {
919
+ }, 8, ["modelValue"])) : (s(), _(P(be), {
911
920
  key: 1,
912
- isIndeterminate: L.value,
921
+ isIndeterminate: b.value,
913
922
  modelValue: C.value,
914
- "onUpdate:modelValue": r[2] || (r[2] = (t) => C.value = t),
915
- onChange: N
923
+ "onUpdate:modelValue": r[2] || (r[2] = (o) => C.value = o),
924
+ onChange: D
916
925
  }, {
917
- default: _(() => [
918
- (a(!0), c(
919
- V,
926
+ default: w(() => [
927
+ (s(!0), f(
928
+ N,
920
929
  null,
921
- H(i.list, (t) => (a(), c("li", {
930
+ z(n.list, (o) => (s(), f("li", {
922
931
  class: "w-full",
923
- key: t[e.fixPropOpt.id]
932
+ key: o[e.fixPropOpt.id]
924
933
  }, [
925
- i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), I(O(Ce), {
934
+ n.chooseType.includes(o[e.fixPropOpt.type].toLowerCase()) ? (s(), _(P(Ce), {
926
935
  key: 0,
927
- label: t[e.fixPropOpt.id]
936
+ label: o[e.fixPropOpt.id]
928
937
  }, {
929
- default: _(() => [
930
- n("div", vl, [
931
- n("div", hl, [
932
- w(W, {
938
+ default: w(() => [
939
+ i("div", gl, [
940
+ i("div", xl, [
941
+ S(H, {
933
942
  fixTypeOpt: e.fixTypeOpt,
934
943
  fixPropOpt: e.fixPropOpt,
935
- element: t,
944
+ element: o,
936
945
  imageBaseUrl: e.imageBaseUrl
937
946
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
938
947
  ]),
939
- n(
948
+ i(
940
949
  "p",
941
950
  null,
942
- P(t[e.fixPropOpt.name]),
951
+ T(o[e.fixPropOpt.name]),
943
952
  1
944
953
  /* TEXT */
945
954
  )
@@ -947,26 +956,26 @@ const wt = /* @__PURE__ */ G(Ut, [["render", St]]), _t = { class: "avatar" }, It
947
956
  ]),
948
957
  _: 2
949
958
  /* DYNAMIC */
950
- }, 1032, ["label"])) : (a(), c("div", yl, [
951
- r[5] || (r[5] = n(
959
+ }, 1032, ["label"])) : (s(), f("div", Ol, [
960
+ r[5] || (r[5] = i(
952
961
  "div",
953
962
  { class: "side" },
954
963
  null,
955
964
  -1
956
- /* HOISTED */
965
+ /* CACHED */
957
966
  )),
958
- n("div", ml, [
959
- w(W, {
967
+ i("div", Pl, [
968
+ S(H, {
960
969
  fixTypeOpt: e.fixTypeOpt,
961
970
  fixPropOpt: e.fixPropOpt,
962
- element: t,
971
+ element: o,
963
972
  imageBaseUrl: e.imageBaseUrl
964
973
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
965
974
  ]),
966
- n(
975
+ i(
967
976
  "div",
968
- gl,
969
- P(t[e.fixPropOpt.name]),
977
+ kl,
978
+ T(o[e.fixPropOpt.name]),
970
979
  1
971
980
  /* TEXT */
972
981
  )
@@ -979,8 +988,8 @@ const wt = /* @__PURE__ */ G(Ut, [["render", St]]), _t = { class: "avatar" }, It
979
988
  _: 1
980
989
  /* STABLE */
981
990
  }, 8, ["isIndeterminate", "modelValue"]))
982
- ])) : (a(), c("div", xl, [
983
- r[6] || (r[6] = n(
991
+ ])) : (s(), f("div", Tl, [
992
+ r[6] || (r[6] = i(
984
993
  "img",
985
994
  {
986
995
  src: Ue,
@@ -988,12 +997,12 @@ const wt = /* @__PURE__ */ G(Ut, [["render", St]]), _t = { class: "avatar" }, It
988
997
  },
989
998
  null,
990
999
  -1
991
- /* HOISTED */
1000
+ /* CACHED */
992
1001
  )),
993
- n(
1002
+ i(
994
1003
  "div",
995
1004
  null,
996
- P(e.emptyText),
1005
+ T(e.emptyText),
997
1006
  1
998
1007
  /* TEXT */
999
1008
  )
@@ -1004,115 +1013,119 @@ const wt = /* @__PURE__ */ G(Ut, [["render", St]]), _t = { class: "avatar" }, It
1004
1013
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1005
1014
  ));
1006
1015
  }
1007
- }), Pl = /* @__PURE__ */ G(Ol, [["__scopeId", "data-v-e03f0d36"]]), Tl = { class: "left-pick-list" }, kl = {
1016
+ }), bl = /* @__PURE__ */ Q(Ll, [["__scopeId", "data-v-e03f0d36"]]), Cl = { class: "left-pick-list" }, Ul = {
1008
1017
  key: 1,
1009
1018
  class: "role-view-list"
1010
- }, Ll = { class: "iconBox" }, bl = ["title"], Cl = {
1019
+ }, Sl = { class: "iconBox" }, Bl = ["title"], wl = {
1011
1020
  key: 1,
1012
1021
  class: "checkText"
1013
- }, Ul = { class: "iconBox" }, Bl = ["title"], Sl = { class: "ik-picker-single" }, wl = { class: "iconBox" }, _l = ["title"], Il = {
1022
+ }, El = { class: "iconBox" }, Il = ["title"], _l = { class: "ik-picker-single" }, Vl = { class: "iconBox" }, Dl = ["title"], Nl = {
1014
1023
  key: 1,
1015
1024
  class: "checkText"
1016
- }, El = { class: "iconBox" }, Vl = ["title"], Nl = {
1025
+ }, Fl = { class: "iconBox" }, Rl = ["title"], Ml = {
1017
1026
  key: 2,
1018
1027
  class: "empty"
1019
- }, Dl = /* @__PURE__ */ oe({
1028
+ }, Wl = /* @__PURE__ */ ue({
1020
1029
  __name: "RoleList",
1021
- props: Be,
1030
+ props: Se,
1022
1031
  emits: ["change", "check"],
1023
- setup(d, { emit: v }) {
1024
- var F, y;
1025
- const e = d, l = S(() => {
1026
- var i, r;
1027
- return ((i = e.handList) == null ? void 0 : i.length) === ((r = e.list) == null ? void 0 : r.length);
1028
- }), L = S(() => {
1029
- var t, o, h, f;
1030
- const i = (t = e.handList) == null ? void 0 : t.length, r = (o = e.list) == null ? void 0 : o.length;
1031
- return e.multiple ? x.value = e.handList.map((B) => B[e.fixPropOpt.id]) : C.value = (f = (h = e.handList) == null ? void 0 : h[0]) == null ? void 0 : f[e.fixPropOpt.id], i > 0 && i < r;
1032
- }), x = E(
1033
- e.handList.map((i) => i[e.fixPropOpt.id])
1034
- ), C = E((y = (F = e.handList) == null ? void 0 : F[0]) == null ? void 0 : y[e.fixPropOpt.id]), U = v, p = (i) => {
1035
- const r = i ? e.list.map((t) => t[e.fixPropOpt.id]) : [];
1036
- U("change", r, i ? e.list : []);
1037
- }, D = (i) => {
1038
- U("change", i, e.list);
1039
- }, N = (i) => {
1040
- U("change", i, e.list);
1032
+ setup(d, { emit: A }) {
1033
+ var R, y;
1034
+ const e = d, a = E(() => {
1035
+ var n, r;
1036
+ return ((n = e.handList) == null ? void 0 : n.length) === ((r = e.list) == null ? void 0 : r.length);
1037
+ }), b = E(() => {
1038
+ var o, v, B, c;
1039
+ const n = (o = e.handList) == null ? void 0 : o.length, r = (v = e.list) == null ? void 0 : v.length;
1040
+ return e.multiple ? O.value = e.handList.map((m) => m[e.fixPropOpt.id]) : C.value = (c = (B = e.handList) == null ? void 0 : B[0]) == null ? void 0 : c[e.fixPropOpt.id], n > 0 && n < r;
1041
+ }), O = I(
1042
+ e.handList.map((n) => n[e.fixPropOpt.id])
1043
+ ), C = I((y = (R = e.handList) == null ? void 0 : R[0]) == null ? void 0 : y[e.fixPropOpt.id]), U = A, u = (n) => {
1044
+ const r = n ? e.list.map((o) => o[e.fixPropOpt.id]) : [];
1045
+ U("change", r, n ? e.list : []);
1046
+ }, F = (n) => {
1047
+ U("change", n, e.list);
1048
+ }, D = (n) => {
1049
+ U("change", n, e.list);
1041
1050
  };
1042
- return (i, r) => (a(), c(
1043
- V,
1051
+ return (n, r) => (s(), f(
1052
+ N,
1044
1053
  null,
1045
1054
  [
1046
- m(" 遍历list多选 "),
1047
- n("div", Tl, [
1048
- i.multiple && i.chooseType.includes("role") && i.list && i.list.length ? (a(), I(O(ae), {
1055
+ g(" 遍历list多选 "),
1056
+ i("div", Cl, [
1057
+ n.multiple && n.chooseType.includes("role") && n.list && n.list.length ? (s(), _(P(pe), {
1049
1058
  key: 0,
1050
- modelValue: l.value,
1051
- "onUpdate:modelValue": r[0] || (r[0] = (t) => l.value = t),
1052
- indeterminate: L.value,
1053
- onChange: p
1059
+ modelValue: a.value,
1060
+ "onUpdate:modelValue": r[0] || (r[0] = (o) => a.value = o),
1061
+ indeterminate: b.value,
1062
+ onChange: u
1054
1063
  }, {
1055
- default: _(() => r[3] || (r[3] = [
1056
- Y("全选")
1057
- ])),
1064
+ default: w(() => [...r[3] || (r[3] = [
1065
+ ee(
1066
+ "全选",
1067
+ -1
1068
+ /* CACHED */
1069
+ )
1070
+ ])]),
1058
1071
  _: 1
1059
1072
  /* STABLE */
1060
- }, 8, ["modelValue", "indeterminate"])) : m("v-if", !0),
1061
- i.list && i.list.length ? (a(), c("ul", kl, [
1062
- i.multiple ? (a(), I(O(Le), {
1073
+ }, 8, ["modelValue", "indeterminate"])) : g("v-if", !0),
1074
+ n.list && n.list.length ? (s(), f("ul", Ul, [
1075
+ n.multiple ? (s(), _(P(Le), {
1063
1076
  key: 0,
1064
- modelValue: x.value,
1065
- "onUpdate:modelValue": r[1] || (r[1] = (t) => x.value = t),
1066
- onChange: D
1077
+ modelValue: O.value,
1078
+ "onUpdate:modelValue": r[1] || (r[1] = (o) => O.value = o),
1079
+ onChange: F
1067
1080
  }, {
1068
- default: _(() => [
1069
- (a(!0), c(
1070
- V,
1081
+ default: w(() => [
1082
+ (s(!0), f(
1083
+ N,
1071
1084
  null,
1072
- H(i.list, (t) => (a(), c("li", {
1073
- key: t[i.fixPropOpt.id]
1085
+ z(n.list, (o) => (s(), f("li", {
1086
+ key: o[n.fixPropOpt.id]
1074
1087
  }, [
1075
- i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), I(O(ae), {
1088
+ n.chooseType.includes(o[e.fixPropOpt.type].toLowerCase()) ? (s(), _(P(pe), {
1076
1089
  key: 0,
1077
- label: t[i.fixPropOpt.id],
1078
- value: t[i.fixPropOpt.id],
1079
- disabled: t.disabled
1090
+ label: o[n.fixPropOpt.id],
1091
+ value: o[n.fixPropOpt.id],
1092
+ disabled: o.disabled
1080
1093
  }, {
1081
- default: _(() => [
1082
- n("div", Ll, [
1083
- w(W, {
1094
+ default: w(() => [
1095
+ i("div", Sl, [
1096
+ S(H, {
1084
1097
  fixTypeOpt: e.fixTypeOpt,
1085
1098
  fixPropOpt: e.fixPropOpt,
1086
- element: t,
1099
+ element: o,
1087
1100
  imageBaseUrl: e.imageBaseUrl
1088
1101
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
1089
1102
  ]),
1090
- n("p", {
1091
- title: t[i.fixPropOpt.name]
1092
- }, P(t[i.fixPropOpt.name]), 9, bl)
1103
+ i("p", {
1104
+ title: o[n.fixPropOpt.name]
1105
+ }, T(o[n.fixPropOpt.name]), 9, Bl)
1093
1106
  ]),
1094
1107
  _: 2
1095
1108
  /* DYNAMIC */
1096
- }, 1032, ["label", "value", "disabled"])) : (a(), c("div", Cl, [
1097
- r[4] || (r[4] = n(
1109
+ }, 1032, ["label", "value", "disabled"])) : (s(), f("div", wl, [
1110
+ r[4] || (r[4] = i(
1098
1111
  "div",
1099
1112
  { class: "side" },
1100
1113
  null,
1101
1114
  -1
1102
- /* HOISTED */
1115
+ /* CACHED */
1103
1116
  )),
1104
- n("div", Ul, [
1105
- w(W, {
1117
+ i("div", El, [
1118
+ S(H, {
1106
1119
  fixTypeOpt: e.fixTypeOpt,
1107
1120
  fixPropOpt: e.fixPropOpt,
1108
- element: t,
1121
+ element: o,
1109
1122
  imageBaseUrl: e.imageBaseUrl
1110
1123
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
1111
1124
  ]),
1112
- n("div", {
1125
+ i("div", {
1113
1126
  class: "title",
1114
- title: t[i.fixPropOpt.name]
1115
- }, P(t[i.fixPropOpt.name]), 9, Bl)
1127
+ title: o[n.fixPropOpt.name]
1128
+ }, T(o[n.fixPropOpt.name]), 9, Il)
1116
1129
  ]))
1117
1130
  ]))),
1118
1131
  128
@@ -1121,64 +1134,64 @@ const wt = /* @__PURE__ */ G(Ut, [["render", St]]), _t = { class: "avatar" }, It
1121
1134
  ]),
1122
1135
  _: 1
1123
1136
  /* STABLE */
1124
- }, 8, ["modelValue"])) : (a(), I(O(be), {
1137
+ }, 8, ["modelValue"])) : (s(), _(P(be), {
1125
1138
  key: 1,
1126
- indeterminate: L.value,
1139
+ indeterminate: b.value,
1127
1140
  modelValue: C.value,
1128
- "onUpdate:modelValue": r[2] || (r[2] = (t) => C.value = t),
1129
- onChange: N
1141
+ "onUpdate:modelValue": r[2] || (r[2] = (o) => C.value = o),
1142
+ onChange: D
1130
1143
  }, {
1131
- default: _(() => [
1132
- (a(!0), c(
1133
- V,
1144
+ default: w(() => [
1145
+ (s(!0), f(
1146
+ N,
1134
1147
  null,
1135
- H(i.list, (t) => (a(), c("li", {
1148
+ z(n.list, (o) => (s(), f("li", {
1136
1149
  class: "w-full",
1137
- key: t[i.fixPropOpt.id]
1150
+ key: o[n.fixPropOpt.id]
1138
1151
  }, [
1139
- i.chooseType.includes(t[e.fixPropOpt.type].toLowerCase()) ? (a(), I(O(Ce), {
1152
+ n.chooseType.includes(o[e.fixPropOpt.type].toLowerCase()) ? (s(), _(P(Ce), {
1140
1153
  key: 0,
1141
- label: t[i.fixPropOpt.id],
1142
- value: t[i.fixPropOpt.id],
1143
- disabled: t.disabled
1154
+ label: o[n.fixPropOpt.id],
1155
+ value: o[n.fixPropOpt.id],
1156
+ disabled: o.disabled
1144
1157
  }, {
1145
- default: _(() => [
1146
- n("div", Sl, [
1147
- n("div", wl, [
1148
- w(W, {
1158
+ default: w(() => [
1159
+ i("div", _l, [
1160
+ i("div", Vl, [
1161
+ S(H, {
1149
1162
  fixTypeOpt: e.fixTypeOpt,
1150
1163
  fixPropOpt: e.fixPropOpt,
1151
- element: t,
1164
+ element: o,
1152
1165
  imageBaseUrl: e.imageBaseUrl
1153
1166
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
1154
1167
  ]),
1155
- n("p", {
1156
- title: t[i.fixPropOpt.name]
1157
- }, P(t[i.fixPropOpt.name]), 9, _l)
1168
+ i("p", {
1169
+ title: o[n.fixPropOpt.name]
1170
+ }, T(o[n.fixPropOpt.name]), 9, Dl)
1158
1171
  ])
1159
1172
  ]),
1160
1173
  _: 2
1161
1174
  /* DYNAMIC */
1162
- }, 1032, ["label", "value", "disabled"])) : (a(), c("div", Il, [
1163
- r[5] || (r[5] = n(
1175
+ }, 1032, ["label", "value", "disabled"])) : (s(), f("div", Nl, [
1176
+ r[5] || (r[5] = i(
1164
1177
  "div",
1165
1178
  { class: "side" },
1166
1179
  null,
1167
1180
  -1
1168
- /* HOISTED */
1181
+ /* CACHED */
1169
1182
  )),
1170
- n("div", El, [
1171
- w(W, {
1183
+ i("div", Fl, [
1184
+ S(H, {
1172
1185
  fixTypeOpt: e.fixTypeOpt,
1173
1186
  fixPropOpt: e.fixPropOpt,
1174
- element: t,
1187
+ element: o,
1175
1188
  imageBaseUrl: e.imageBaseUrl
1176
1189
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
1177
1190
  ]),
1178
- n("div", {
1191
+ i("div", {
1179
1192
  class: "title",
1180
- title: t[i.fixPropOpt.name]
1181
- }, P(t[i.fixPropOpt.name]), 9, Vl)
1193
+ title: o[n.fixPropOpt.name]
1194
+ }, T(o[n.fixPropOpt.name]), 9, Rl)
1182
1195
  ]))
1183
1196
  ]))),
1184
1197
  128
@@ -1188,8 +1201,8 @@ const wt = /* @__PURE__ */ G(Ut, [["render", St]]), _t = { class: "avatar" }, It
1188
1201
  _: 1
1189
1202
  /* STABLE */
1190
1203
  }, 8, ["indeterminate", "modelValue"]))
1191
- ])) : (a(), c("div", Nl, [
1192
- r[6] || (r[6] = n(
1204
+ ])) : (s(), f("div", Ml, [
1205
+ r[6] || (r[6] = i(
1193
1206
  "img",
1194
1207
  {
1195
1208
  src: Ue,
@@ -1197,12 +1210,12 @@ const wt = /* @__PURE__ */ G(Ut, [["render", St]]), _t = { class: "avatar" }, It
1197
1210
  },
1198
1211
  null,
1199
1212
  -1
1200
- /* HOISTED */
1213
+ /* CACHED */
1201
1214
  )),
1202
- n(
1215
+ i(
1203
1216
  "div",
1204
1217
  null,
1205
- P(e.emptyText),
1218
+ T(e.emptyText),
1206
1219
  1
1207
1220
  /* TEXT */
1208
1221
  )
@@ -1213,9 +1226,9 @@ const wt = /* @__PURE__ */ G(Ut, [["render", St]]), _t = { class: "avatar" }, It
1213
1226
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
1214
1227
  ));
1215
1228
  }
1216
- }), Fl = /* @__PURE__ */ G(Dl, [["__scopeId", "data-v-be3b3e45"]]);
1217
- var ue = /* @__PURE__ */ ((d) => (d.group = "group", d.role = "role", d.post = "post", d))(ue || {});
1218
- const Rl = {
1229
+ }), jl = /* @__PURE__ */ Q(Wl, [["__scopeId", "data-v-be3b3e45"]]);
1230
+ var fe = /* @__PURE__ */ ((d) => (d.group = "group", d.role = "role", d.post = "post", d))(fe || {});
1231
+ const Hl = {
1219
1232
  // 是否允许选择子集
1220
1233
  children: {
1221
1234
  type: Boolean,
@@ -1384,43 +1397,43 @@ const Rl = {
1384
1397
  default: !1
1385
1398
  }
1386
1399
  }, Fe = (d) => {
1387
- const v = window.location.search;
1388
- return new URLSearchParams(v).get(d);
1389
- }, Ml = (d) => {
1390
- const v = se.local.getItem("x_domain");
1391
- v && (d["X-DOMAIN"] = v);
1392
- }, Wl = (d) => {
1400
+ const A = window.location.search;
1401
+ return new URLSearchParams(A).get(d);
1402
+ }, Gl = (d) => {
1403
+ const A = re.local.getItem("x_domain");
1404
+ A && (d["X-DOMAIN"] = A);
1405
+ }, $l = (d) => {
1393
1406
  var e;
1394
- const v = Fe("domain");
1395
- if (v) {
1396
- d["X-DOMAIN"] = v;
1397
- const l = Fe("code");
1398
- v === "APPLICATION" && (d["X-APP"] = l);
1407
+ const A = Fe("domain");
1408
+ if (A) {
1409
+ d["X-DOMAIN"] = A;
1410
+ const a = Fe("code");
1411
+ A === "APPLICATION" && (d["X-APP"] = a);
1399
1412
  } else
1400
- Ml(d);
1401
- (e = se.local.getItem("tenant")) == null || e.code;
1402
- }, jl = (d, v) => {
1403
- const e = E([]), l = async (x, C) => {
1404
- var K, b, R;
1405
- const { url: U, methods: p, headers: D, param: N } = d.value || {}, F = {
1413
+ Gl(d);
1414
+ (e = re.local.getItem("tenant")) == null || e.code;
1415
+ }, zl = (d, A) => {
1416
+ const e = I([]), a = async (O, C) => {
1417
+ var M, W, $;
1418
+ const { url: U, methods: u, headers: F, param: D } = d.value || {}, R = {
1406
1419
  // 额外参数
1407
- rootDepartmentId: ((K = se.local.getItem("now_shop")) == null ? void 0 : K.storeId) || "",
1408
- parentDepartmentId: x || "",
1420
+ rootDepartmentId: ((M = re.local.getItem("now_shop")) == null ? void 0 : M.storeId) || "",
1421
+ parentDepartmentId: O || "",
1409
1422
  name: C || "",
1410
- rootDepartmentOnly: v.rootDepartmentOnly,
1411
- dataScopeOnly: v.dataScopeOnly,
1412
- ...N || {}
1423
+ rootDepartmentOnly: A.rootDepartmentOnly,
1424
+ dataScopeOnly: A.dataScopeOnly,
1425
+ ...D || {}
1413
1426
  }, y = {
1414
- method: p,
1427
+ method: u,
1415
1428
  url: U,
1416
1429
  headers: {
1417
1430
  "Content-Type": "application/json;charset=UTF-8",
1418
- ...D
1431
+ ...F
1419
1432
  },
1420
- data: JSON.stringify(F)
1433
+ data: JSON.stringify(R)
1421
1434
  };
1422
- Wl(y.headers);
1423
- const i = await rt(y), { success: r, data: t } = i.data;
1435
+ $l(y.headers);
1436
+ const n = await ct(y), { success: r, data: o } = n.data;
1424
1437
  if (!r)
1425
1438
  return {
1426
1439
  groupList: [],
@@ -1431,100 +1444,100 @@ const Rl = {
1431
1444
  rootDepartment: {}
1432
1445
  };
1433
1446
  const {
1434
- departments: o,
1435
- roles: h,
1436
- posts: f,
1437
- users: B,
1438
- rootOrganization: A,
1439
- rootDepartment: j
1440
- } = t, Z = A || j;
1441
- return e.value.length === 0 && (e.value[0] = v.org ? {
1442
- ...v.org,
1443
- id: v.elementId,
1444
- elementType: (R = (b = v.org) == null ? void 0 : b.elementType) == null ? void 0 : R.toLocaleUpperCase()
1447
+ departments: v,
1448
+ roles: B,
1449
+ posts: c,
1450
+ users: m,
1451
+ rootOrganization: l,
1452
+ rootDepartment: h
1453
+ } = o, G = l || h;
1454
+ return e.value.length === 0 && (e.value[0] = A.org ? {
1455
+ ...A.org,
1456
+ id: A.elementId,
1457
+ elementType: ($ = (W = A.org) == null ? void 0 : W.elementType) == null ? void 0 : $.toLocaleUpperCase()
1445
1458
  } : {
1446
- ...Z,
1447
- id: Z.elementId
1459
+ ...G,
1460
+ id: G.elementId
1448
1461
  }), {
1449
- groupList: q.cloneDeep(o),
1450
- roleList: q.cloneDeep(h),
1451
- postList: q.cloneDeep(f),
1452
- userList: q.cloneDeep(B),
1453
- rootOrganization: A,
1454
- rootDepartment: j
1462
+ groupList: J.cloneDeep(v),
1463
+ roleList: J.cloneDeep(B),
1464
+ postList: J.cloneDeep(c),
1465
+ userList: J.cloneDeep(m),
1466
+ rootOrganization: l,
1467
+ rootDepartment: h
1455
1468
  };
1456
1469
  };
1457
1470
  return {
1458
- handData: l,
1459
- handSetChild: (x, C) => {
1460
- l(x == null ? void 0 : x.elementId, C);
1471
+ handData: a,
1472
+ handSetChild: (O, C) => {
1473
+ a(O == null ? void 0 : O.elementId, C);
1461
1474
  },
1462
1475
  bannerList: e
1463
1476
  };
1464
- }, Hl = {
1477
+ }, Ql = {
1465
1478
  shadow: "hover",
1466
1479
  class: "sel-list"
1467
- }, Gl = { key: 0 }, $l = { class: "choose-list" }, zl = { class: "choose-item" }, Ql = { class: "choose-box" }, Xl = { class: "list-group-item" }, ql = { class: "item_info" }, Zl = { class: "avatar_box" }, Kl = { class: "dialog-footer" }, Yl = /* @__PURE__ */ oe({
1480
+ }, Xl = { key: 0 }, ql = { class: "choose-list" }, Zl = { class: "choose-item" }, Kl = { class: "list-group-item draggable-item" }, Yl = { class: "item_info" }, Jl = { class: "avatar_box" }, ea = { class: "dialog-footer" }, ta = /* @__PURE__ */ ue({
1468
1481
  __name: "picker",
1469
- props: Rl,
1482
+ props: Hl,
1470
1483
  emits: ["handChild", "update:show", "update:modelValue", "ok", "search"],
1471
- setup(d, { expose: v, emit: e }) {
1472
- et((s) => ({
1473
- "4ac82df4": Ie.value
1484
+ setup(d, { expose: A, emit: e }) {
1485
+ st((t) => ({
1486
+ v53eacca0: Ie.value
1474
1487
  }));
1475
- const l = d, L = E(""), x = E(""), C = E([]), U = E([]), p = E([]), D = E([]), N = E(!1), F = S(() => R.value.includes("user") ? U.value.concat(C.value) : U.value);
1476
- X(
1477
- () => l.api,
1488
+ const a = d, b = I(""), O = I(""), C = I([]), U = I([]), u = I([]), F = I([]), D = I(!1), R = E(() => $.value.includes("user") ? U.value.concat(C.value) : U.value);
1489
+ Y(
1490
+ () => a.api,
1478
1491
  () => {
1479
- l.show && K("");
1492
+ a.show && M("");
1480
1493
  }
1481
1494
  );
1482
- const y = S(() => ({
1495
+ const y = E(() => ({
1483
1496
  name: "name",
1484
1497
  type: "type",
1485
1498
  id: "id",
1486
1499
  avatar: "avatar",
1487
- ...l.propOption
1488
- })), i = S(() => ({
1500
+ ...a.propOption
1501
+ })), n = E(() => ({
1489
1502
  user: "USER",
1490
1503
  role: "ROLE",
1491
1504
  post: "POST",
1492
1505
  group: "DEPT",
1493
- ...l.typeOption
1494
- })), r = E([]), t = jl(tt(l, "api"), l), o = t.handData, h = t.bannerList;
1495
- l.immediate && o(x.value, L.value);
1496
- const f = (s) => (s.forEach((u) => {
1497
- var g, T;
1498
- u.disabled = ((T = (g = l.modelValue) == null ? void 0 : g.find(
1499
- (k) => k[y.value.id] === u[y.value.id]
1500
- )) == null ? void 0 : T.disabled) || !1;
1501
- }), s), B = async () => {
1502
- var s, u, g, T, k, z, xe, Ee;
1503
- N.value = !0;
1506
+ ...a.typeOption
1507
+ })), r = I([]), o = zl(ot(a, "api"), a), v = o.handData, B = o.bannerList;
1508
+ a.immediate && v(O.value, b.value);
1509
+ const c = (t) => (t.forEach((p) => {
1510
+ var x, L;
1511
+ p.disabled = ((L = (x = a.modelValue) == null ? void 0 : x.find(
1512
+ (k) => k[y.value.id] === p[y.value.id]
1513
+ )) == null ? void 0 : L.disabled) || !1;
1514
+ }), t), m = async () => {
1515
+ var t, p, x, L, k, Z, xe, _e;
1516
+ D.value = !0;
1504
1517
  try {
1505
- if ((s = l.groupList) != null && s.length || (u = l.userList) != null && u.length || (g = l.roleList) != null && g.length || (T = l.postList) != null && T.length) {
1506
- C.value = (k = l.userList) == null ? void 0 : k.filter(
1507
- (Q) => Q[y.value.name].includes(L.value)
1508
- ), U.value = (z = l.groupList) == null ? void 0 : z.filter(
1509
- (Q) => Q[y.value.name].includes(L.value)
1510
- ), p.value = (xe = l.roleList) == null ? void 0 : xe.filter(
1511
- (Q) => Q[y.value.name].includes(L.value)
1512
- ), D.value = (Ee = l.postList) == null ? void 0 : Ee.filter(
1513
- (Q) => Q[y.value.name].includes(L.value)
1514
- ), he(), N.value = !1;
1518
+ if ((t = a.groupList) != null && t.length || (p = a.userList) != null && p.length || (x = a.roleList) != null && x.length || (L = a.postList) != null && L.length) {
1519
+ C.value = (k = a.userList) == null ? void 0 : k.filter(
1520
+ (K) => K[y.value.name].includes(b.value)
1521
+ ), U.value = (Z = a.groupList) == null ? void 0 : Z.filter(
1522
+ (K) => K[y.value.name].includes(b.value)
1523
+ ), u.value = (xe = a.roleList) == null ? void 0 : xe.filter(
1524
+ (K) => K[y.value.name].includes(b.value)
1525
+ ), F.value = (_e = a.postList) == null ? void 0 : _e.filter(
1526
+ (K) => K[y.value.name].includes(b.value)
1527
+ ), oe(), D.value = !1;
1515
1528
  return;
1516
1529
  }
1517
- const M = await o(x.value, L.value);
1530
+ const j = await v(O.value, b.value);
1518
1531
  try {
1519
- C.value = f((M == null ? void 0 : M.userList) || []), U.value = f((M == null ? void 0 : M.groupList) || []), p.value = f((M == null ? void 0 : M.roleList) || []), D.value = f((M == null ? void 0 : M.postList) || []);
1520
- } catch (Q) {
1521
- N.value = !1, console.info("error: ", Q);
1532
+ C.value = c((j == null ? void 0 : j.userList) || []), U.value = c((j == null ? void 0 : j.groupList) || []), u.value = c((j == null ? void 0 : j.roleList) || []), F.value = c((j == null ? void 0 : j.postList) || []);
1533
+ } catch (K) {
1534
+ D.value = !1, console.info("error: ", K);
1522
1535
  }
1523
- he(), N.value = !1;
1536
+ oe(), D.value = !1;
1524
1537
  } catch {
1525
- N.value = !1;
1538
+ D.value = !1;
1526
1539
  }
1527
- }, A = Te({
1540
+ }, l = ke({
1528
1541
  group: /* @__PURE__ */ new Map(),
1529
1542
  // 组织架构选中项 Map<id, item>
1530
1543
  user: /* @__PURE__ */ new Map(),
@@ -1537,323 +1550,352 @@ const Rl = {
1537
1550
  // 当前页面已选项的 ID 数组(用于多选状态管理)
1538
1551
  single: ""
1539
1552
  // 单选模式下选中的项 ID
1540
- }), j = Te({
1553
+ }), h = ke({
1541
1554
  indeterminate: !1,
1542
1555
  // 半选状态
1543
1556
  checkAll: 0
1544
1557
  // 全选状态(0: 未选, 1: 全选)
1545
- }), Z = (s) => A.group.has(s) || A.user.has(s) || A.role.has(s) || A.post.has(s), K = st.debounce(B, 300), b = S(() => {
1546
- const s = Array.from(A.group.values()), u = Array.from(A.role.values()), g = Array.from(A.user.values()), T = Array.from(A.post.values());
1547
- return r.value = [...u, ...T, ...g, ...s], {
1548
- list: [...u, ...g, ...T, ...s],
1558
+ }), G = (t) => l.group.has(t) || l.user.has(t) || l.role.has(t) || l.post.has(t), M = it.debounce(m, 300), W = E(() => {
1559
+ const t = Array.from(l.group.values()), p = Array.from(l.role.values()), x = Array.from(l.user.values()), L = Array.from(l.post.values());
1560
+ return r.value = [...p, ...L, ...x, ...t], {
1561
+ list: [...p, ...x, ...L, ...t],
1549
1562
  // 所有选中项
1550
1563
  role: {
1551
- list: u,
1552
- len: u.length
1564
+ list: p,
1565
+ len: p.length
1553
1566
  },
1554
1567
  user: {
1555
- list: g,
1556
- len: g.length
1568
+ list: x,
1569
+ len: x.length
1557
1570
  },
1558
1571
  post: {
1559
- list: T,
1560
- len: T.length
1572
+ list: L,
1573
+ len: L.length
1561
1574
  },
1562
1575
  groups: {
1563
- list: s,
1564
- len: s.length
1576
+ list: t,
1577
+ len: t.length
1565
1578
  }
1566
1579
  };
1567
- }), R = S(() => {
1568
- const s = l.chooseType.map((g) => g.toLocaleLowerCase());
1569
- let u = [...s];
1570
- return s.includes("dep") && (u = [...u, "dept"]), s.includes("dep_user") && (u = [...u, "user"]), u;
1571
- }), $ = E([]), de = (s) => {
1572
- $.value = s, $.value.forEach((u) => {
1573
- u.readonly = u == null ? void 0 : u.disabled;
1580
+ }), $ = E(() => {
1581
+ const t = a.chooseType.map((x) => x.toLocaleLowerCase());
1582
+ let p = [...t];
1583
+ return t.includes("dep") && (p = [...p, "dept"]), t.includes("dep_user") && (p = [...p, "user"]), p;
1584
+ }), X = I([]), V = (t) => {
1585
+ X.value = t, X.value.forEach((p) => {
1586
+ p.readonly = p == null ? void 0 : p.disabled;
1574
1587
  });
1575
- }, ne = e, ve = E(!1), he = (s = !1) => {
1576
- var g;
1577
- const u = (g = l == null ? void 0 : l.userList) != null && g.length ? q.cloneDeep([...l == null ? void 0 : l.userList, ...l == null ? void 0 : l.groupList]) : [...U.value, ...C.value];
1578
- return !s && de(u), u;
1588
+ }, q = e, se = I(!1), oe = (t = !1) => {
1589
+ var x;
1590
+ const p = (x = a == null ? void 0 : a.userList) != null && x.length ? J.cloneDeep([...a == null ? void 0 : a.userList, ...a == null ? void 0 : a.groupList]) : [...U.value, ...C.value];
1591
+ return !t && V(p), p;
1579
1592
  };
1580
- X(
1581
- () => l.show,
1582
- async (s) => {
1583
- var u;
1584
- if (ve.value = s, s) {
1585
- x.value = ((u = l.org) == null ? void 0 : u.elementId) || l.orgPid, !l.userList.length && !l.groupList.length && !l.roleList.length && !l.postList.length ? await B() : (C.value = l.userList, U.value = l.groupList, p.value = l.roleList, D.value = l.postList), A.trans = [], j.checkAll = 0, j.indeterminate = !1;
1586
- const g = he(!0);
1587
- for (const k of g)
1588
- Z(k[y.value.id]) && A.trans.push(k[y.value.id]);
1589
- const T = g.length === A.trans.length;
1590
- j.indeterminate = !!(g.length && !T), j.checkAll = Number(g.length && T), ke(() => {
1593
+ Y(
1594
+ () => a.show,
1595
+ async (t) => {
1596
+ var p;
1597
+ if (se.value = t, t) {
1598
+ O.value = ((p = a.org) == null ? void 0 : p.elementId) || a.orgPid, !a.userList.length && !a.groupList.length && !a.roleList.length && !a.postList.length ? await m() : (C.value = a.userList, U.value = a.groupList, u.value = a.roleList, F.value = a.postList), l.trans = [], h.checkAll = 0, h.indeterminate = !1;
1599
+ const x = oe(!0);
1600
+ for (const k of x)
1601
+ G(k[y.value.id]) && l.trans.push(k[y.value.id]);
1602
+ const L = x.length === l.trans.length;
1603
+ h.indeterminate = !!(x.length && !L), h.checkAll = Number(x.length && L), Te(() => {
1591
1604
  var k;
1592
- (k = l.modelValue) != null && k.length ? l.modelValue.forEach((z) => {
1593
- J(z), l.multiple ? A.trans.push(z[y.value.id]) : A.single = z[y.value.id];
1594
- }) : te();
1605
+ (k = a.modelValue) != null && k.length ? a.modelValue.forEach((Z) => {
1606
+ te(Z), a.multiple ? l.trans.push(Z[y.value.id]) : l.single = Z[y.value.id];
1607
+ }) : ae();
1595
1608
  });
1596
1609
  } else
1597
- te();
1610
+ ae();
1598
1611
  }
1599
1612
  ), Ve(() => {
1600
- let s = $.value.length;
1601
- const u = A.trans.length;
1602
- j.indeterminate = A.trans.length ? u !== s : !1, j.checkAll = +(s !== 0 && u === s);
1603
- }), X(
1604
- () => l.modelValue,
1605
- (s) => {
1606
- s != null && s.length ? s.forEach((u) => {
1607
- J(u), l.multiple ? A.trans.push(u[y.value.id]) : A.single = u[y.value.id];
1608
- }) : te();
1613
+ let t = X.value.length;
1614
+ const p = l.trans.length;
1615
+ h.indeterminate = l.trans.length ? p !== t : !1, h.checkAll = +(t !== 0 && p === t);
1616
+ }), Y(
1617
+ () => a.modelValue,
1618
+ (t) => {
1619
+ t != null && t.length ? t.forEach((p) => {
1620
+ te(p), a.multiple ? l.trans.push(p[y.value.id]) : l.single = p[y.value.id];
1621
+ }) : ae();
1609
1622
  }
1610
1623
  );
1611
- const ie = (s) => {
1612
- var u;
1613
- if (s) {
1614
- if (A.single = "", s[y.value.id]) {
1615
- const g = (u = A.trans) == null ? void 0 : u.findIndex(
1616
- (T) => T === s[y.value.id]
1624
+ const ne = (t) => {
1625
+ var p;
1626
+ if (t) {
1627
+ if (l.single = "", t[y.value.id]) {
1628
+ const x = (p = l.trans) == null ? void 0 : p.findIndex(
1629
+ (L) => L === t[y.value.id]
1617
1630
  );
1618
- g !== -1 && A.trans.splice(g, 1);
1631
+ x !== -1 && l.trans.splice(x, 1);
1619
1632
  }
1620
- switch (s[y.value.type]) {
1621
- case i.value.user:
1622
- return A.user.delete(s[y.value.id]);
1623
- case i.value.role:
1624
- return A.role.delete(s[y.value.id]);
1625
- case i.value.post:
1626
- return A.post.delete(s[y.value.id]);
1627
- case i.value.group:
1628
- return A.group.delete(s[y.value.id]);
1633
+ switch (t[y.value.type]) {
1634
+ case n.value.user:
1635
+ return l.user.delete(t[y.value.id]);
1636
+ case n.value.role:
1637
+ return l.role.delete(t[y.value.id]);
1638
+ case n.value.post:
1639
+ return l.post.delete(t[y.value.id]);
1640
+ case n.value.group:
1641
+ return l.group.delete(t[y.value.id]);
1629
1642
  default:
1630
1643
  return;
1631
1644
  }
1632
1645
  }
1633
- }, Se = (s) => {
1634
- ie(s);
1635
- }, J = (s) => {
1636
- if (!Z(s[y.value.id])) {
1637
- const u = {
1638
- ...s
1646
+ }, Be = (t) => {
1647
+ ne(t);
1648
+ }, He = () => {
1649
+ }, Ge = (t) => {
1650
+ $e();
1651
+ }, $e = () => {
1652
+ l.user.clear(), l.role.clear(), l.post.clear(), l.group.clear(), r.value.forEach((t) => {
1653
+ const p = t[y.value.id];
1654
+ switch (t[y.value.type]) {
1655
+ case n.value.user:
1656
+ l.user.set(p, t);
1657
+ break;
1658
+ case n.value.role:
1659
+ l.role.set(p, t);
1660
+ break;
1661
+ case n.value.post:
1662
+ l.post.set(p, t);
1663
+ break;
1664
+ case n.value.group:
1665
+ l.group.set(p, t);
1666
+ break;
1667
+ }
1668
+ });
1669
+ }, te = (t) => {
1670
+ if (!G(t[y.value.id])) {
1671
+ const p = {
1672
+ ...t
1639
1673
  // readonly: item.disabled // 保留原有的禁用状态
1640
1674
  };
1641
- switch (s[y.value.type]) {
1642
- case i.value.user:
1643
- return A.user.set(s[y.value.id], u);
1644
- case i.value.role:
1645
- return A.role.set(s[y.value.id], u);
1646
- case i.value.post:
1647
- return A.post.set(s[y.value.id], u);
1648
- case i.value.group:
1649
- return A.group.set(s[y.value.id], u);
1675
+ switch (t[y.value.type]) {
1676
+ case n.value.user:
1677
+ return l.user.set(t[y.value.id], p);
1678
+ case n.value.role:
1679
+ return l.role.set(t[y.value.id], p);
1680
+ case n.value.post:
1681
+ return l.post.set(t[y.value.id], p);
1682
+ case n.value.group:
1683
+ return l.group.set(t[y.value.id], p);
1650
1684
  default:
1651
1685
  return;
1652
1686
  }
1653
1687
  }
1654
- }, je = (s) => [i.value.group].includes(
1655
- s[y.value.type]
1656
- ) ? s == null ? void 0 : s.hasOwnProperty("disabled") : !1;
1657
- X(
1658
- () => A.trans,
1659
- (s) => {
1660
- if (!s.length)
1661
- $.value.forEach((u) => {
1662
- u.disabled = !1;
1688
+ }, ze = (t) => [n.value.group].includes(
1689
+ t[y.value.type]
1690
+ ) ? t == null ? void 0 : t.hasOwnProperty("disabled") : !1;
1691
+ Y(
1692
+ () => l.trans,
1693
+ (t) => {
1694
+ if (!t.length)
1695
+ X.value.forEach((p) => {
1696
+ p.disabled = !1;
1663
1697
  });
1664
1698
  else {
1665
- const u = $.value.filter(
1666
- (g) => s.includes(g[y.value.id])
1699
+ const p = X.value.filter(
1700
+ (x) => t.includes(x[y.value.id])
1667
1701
  );
1668
- for (const g of u)
1669
- g.disabled = je(g), J(g);
1702
+ for (const x of p)
1703
+ x.disabled = ze(x), te(x);
1670
1704
  }
1671
1705
  },
1672
1706
  { deep: !0 }
1673
- ), X(
1674
- () => A.single,
1675
- (s) => {
1676
- var u;
1677
- if (s) {
1678
- const g = (u = $.value) == null ? void 0 : u.find((T) => T[y.value.id] === s);
1679
- g && (A.user.clear(), A.role.clear(), A.post.clear(), A.group.clear(), A.trans = [], ke(() => {
1680
- J(g);
1707
+ ), Y(
1708
+ () => l.single,
1709
+ (t) => {
1710
+ var p;
1711
+ if (t) {
1712
+ const x = (p = X.value) == null ? void 0 : p.find((L) => L[y.value.id] === t);
1713
+ x && (l.user.clear(), l.role.clear(), l.post.clear(), l.group.clear(), l.trans = [], Te(() => {
1714
+ te(x);
1681
1715
  }));
1682
1716
  }
1683
1717
  }
1684
1718
  );
1685
- const He = (s) => {
1686
- x.value = s == null ? void 0 : s.elementId, B(), h.value.push(s);
1687
- }, we = S(() => h.value.length), Ge = (s, u) => {
1688
- !u && !l.topLink || u !== we.value - 1 && (x.value = s == null ? void 0 : s.elementId, B(), h.value.splice(u + 1));
1689
- }, $e = S(
1690
- () => l.chooseType.includes("role") && l.chooseType.length === 1
1691
- ), ze = S(
1692
- () => l.chooseType.includes("post") && l.chooseType.length === 1
1693
- ), ce = E(l.tabs[0]), ee = E(l.tabs[0]);
1694
- Ve(() => (ee.value = $e.value ? l.tabs[1] : ze.value ? l.tabs[2] : ce.value, ee.value));
1695
- const te = () => {
1696
- A.user.clear(), A.role.clear(), A.post.clear(), A.group.clear(), A.trans = [], me.value = [], ge.value = [], ce.value = l.tabs[0], ee.value = l.tabs[0], L.value = "", x.value = l.orgPid, h.value.splice(1, h.value.length), A.single = "", r.value = [];
1697
- }, Qe = () => {
1698
- var s;
1699
- ne(
1719
+ const Qe = (t) => {
1720
+ O.value = t == null ? void 0 : t.elementId, m(), B.value.push(t);
1721
+ }, we = E(() => B.value.length), Xe = (t, p) => {
1722
+ !p && !a.topLink || p !== we.value - 1 && (O.value = t == null ? void 0 : t.elementId, m(), B.value.splice(p + 1));
1723
+ }, qe = E(
1724
+ () => a.chooseType.includes("role") && a.chooseType.length === 1
1725
+ ), Ze = E(
1726
+ () => a.chooseType.includes("post") && a.chooseType.length === 1
1727
+ ), Ae = I(a.tabs[0]), le = I(a.tabs[0]);
1728
+ Ve(() => (le.value = qe.value ? a.tabs[1] : Ze.value ? a.tabs[2] : Ae.value, le.value));
1729
+ const ae = () => {
1730
+ l.user.clear(), l.role.clear(), l.post.clear(), l.group.clear(), l.trans = [], me.value = [], ge.value = [], Ae.value = a.tabs[0], le.value = a.tabs[0], b.value = "", O.value = a.orgPid, B.value.splice(1, B.value.length), l.single = "", r.value = [];
1731
+ }, Ke = () => {
1732
+ var t;
1733
+ q(
1700
1734
  "ok",
1701
- q.cloneDeep({
1735
+ J.cloneDeep({
1702
1736
  // 所有选项、部门、人员、角色分别列出
1703
- ...b.value,
1737
+ ...W.value,
1704
1738
  // 排序后的列表
1705
1739
  sort: r.value
1706
1740
  })
1707
- ), ne("update:modelValue", q.cloneDeep(((s = b.value) == null ? void 0 : s.list) || [])), ne("update:show", !1), te();
1708
- }, _e = () => {
1709
- ne("update:show", !1), te();
1741
+ ), q("update:modelValue", J.cloneDeep(((t = W.value) == null ? void 0 : t.list) || [])), q("update:show", !1), ae();
1742
+ }, Ee = () => {
1743
+ q("update:show", !1), ae();
1710
1744
  };
1711
- v({
1712
- handClear: te,
1745
+ A({
1746
+ handClear: ae,
1713
1747
  // 清空所有选择
1714
- handRomeve: Se,
1748
+ handRomeve: Be,
1715
1749
  // 移除选中项
1716
- handDelete: ie
1750
+ handDelete: ne
1717
1751
  // 删除选中项
1718
1752
  });
1719
- const Xe = S(() => {
1720
- const s = R.value;
1721
- return !!((s.includes("post") || s.includes("role")) && s.length > 1);
1722
- }), qe = S(() => [
1753
+ const Ye = E(() => {
1754
+ const t = $.value;
1755
+ return !!((t.includes("post") || t.includes("role")) && t.length > 1);
1756
+ }), Je = E(() => [
1723
1757
  { name: "group", label: "组织架构" },
1724
1758
  { name: "role", label: "角色列表" },
1725
1759
  { name: "post", label: "岗位列表" }
1726
- ].filter((s) => l.tabs.includes(s.name))), Ie = S(
1727
- () => `${typeof l.height == "string" ? Number.parseInt(l.height) : l.height}px`
1760
+ ].filter((t) => a.tabs.includes(t.name))), Ie = E(
1761
+ () => `${typeof a.height == "string" ? Number.parseInt(a.height) : a.height}px`
1728
1762
  ), ye = () => {
1729
- l.multiple || (A.post.clear(), A.role.clear(), A.user.clear(), A.group.clear(), A.single = "");
1730
- }, Ze = S(() => b.value.groups.list.concat(b.value.user.list)), Ke = (s, u) => {
1731
- l.multiple || (A.single = "");
1732
- const g = l.multiple ? s : [s];
1733
- if (!g.length) {
1734
- A.group.clear(), A.user.clear();
1763
+ a.multiple || (l.post.clear(), l.role.clear(), l.user.clear(), l.group.clear(), l.single = "");
1764
+ }, et = E(() => W.value.groups.list.concat(W.value.user.list)), tt = (t, p) => {
1765
+ a.multiple || (l.single = "");
1766
+ const x = a.multiple ? t : [t];
1767
+ if (!x.length) {
1768
+ l.group.clear(), l.user.clear();
1735
1769
  return;
1736
1770
  }
1737
- ye(), u.forEach((T) => {
1738
- g != null && g.includes(T[y.value.id]) ? J(T) : ie(T);
1771
+ ye(), p.forEach((L) => {
1772
+ x != null && x.includes(L[y.value.id]) ? te(L) : ne(L);
1739
1773
  });
1740
- }, me = E([]), Ye = (s, u) => {
1741
- l.multiple || (A.single = "");
1742
- const g = l.multiple ? s : [s];
1743
- if (!g.length) {
1744
- A.role.clear();
1774
+ }, me = I([]), lt = (t, p) => {
1775
+ a.multiple || (l.single = "");
1776
+ const x = a.multiple ? t : [t];
1777
+ if (!x.length) {
1778
+ l.role.clear();
1745
1779
  return;
1746
1780
  }
1747
- ye(), u.forEach((T) => {
1748
- g != null && g.includes(T[y.value.id]) ? J(T) : ie(T);
1781
+ ye(), p.forEach((L) => {
1782
+ x != null && x.includes(L[y.value.id]) ? te(L) : ne(L);
1749
1783
  });
1750
1784
  };
1751
- X(
1752
- () => b.value.role.len,
1753
- (s) => {
1754
- me.value = q.cloneDeep(b.value.role.list);
1785
+ Y(
1786
+ () => W.value.role.len,
1787
+ (t) => {
1788
+ me.value = J.cloneDeep(W.value.role.list);
1755
1789
  }
1756
1790
  );
1757
- const ge = E([]), Je = (s, u) => {
1758
- l.multiple || (A.single = "");
1759
- const g = l.multiple ? s : [s];
1760
- if (!g.length) {
1761
- A.post.clear();
1791
+ const ge = I([]), at = (t, p) => {
1792
+ a.multiple || (l.single = "");
1793
+ const x = a.multiple ? t : [t];
1794
+ if (!x.length) {
1795
+ l.post.clear();
1762
1796
  return;
1763
1797
  }
1764
- ye(), u.forEach((T) => {
1765
- g != null && g.includes(T[y.value.id]) ? J(T) : ie(T);
1798
+ ye(), p.forEach((L) => {
1799
+ x != null && x.includes(L[y.value.id]) ? te(L) : ne(L);
1766
1800
  });
1767
1801
  };
1768
- return X(
1769
- () => b.value.post.len,
1770
- (s) => {
1771
- ge.value = q.cloneDeep(b.value.post.list);
1802
+ return Y(
1803
+ () => W.value.post.len,
1804
+ (t) => {
1805
+ ge.value = J.cloneDeep(W.value.post.list);
1772
1806
  }
1773
- ), X(
1774
- () => L.value,
1775
- (s) => {
1776
- K("");
1807
+ ), Y(
1808
+ () => b.value,
1809
+ (t) => {
1810
+ M("");
1777
1811
  }
1778
- ), (s, u) => {
1779
- const g = Ae("el-tab-pane"), T = Ae("el-tabs");
1780
- return a(), c(
1781
- V,
1812
+ ), (t, p) => {
1813
+ const x = he("el-tab-pane"), L = he("el-tabs");
1814
+ return s(), f(
1815
+ N,
1782
1816
  null,
1783
1817
  [
1784
- m(" 主弹窗容器 "),
1785
- w(O(at), {
1786
- modelValue: ve.value,
1787
- "onUpdate:modelValue": u[2] || (u[2] = (k) => ve.value = k),
1788
- title: s.title,
1818
+ g(" 主弹窗容器 "),
1819
+ S(P(rt), {
1820
+ modelValue: se.value,
1821
+ "onUpdate:modelValue": p[3] || (p[3] = (k) => se.value = k),
1822
+ title: t.title,
1789
1823
  "destroy-on-close": "",
1790
1824
  "append-to-body": "",
1791
1825
  "close-on-click-modal": !1,
1792
1826
  "close-on-click-escape": !1,
1793
1827
  draggable: "",
1794
1828
  "align-center": "",
1795
- width: typeof s.width == "string" ? s.width : `${s.width}%`,
1829
+ width: typeof t.width == "string" ? t.width : `${t.width}%`,
1796
1830
  class: "p_p_picker-dialog",
1797
1831
  "modal-class": "p_p_picker-dialog-modal-user",
1798
- onClose: _e
1832
+ onClose: Ee
1799
1833
  }, {
1800
- footer: _(() => [
1801
- n("span", Kl, [
1802
- m(" 取消按钮 "),
1803
- w(O(Oe), {
1804
- onClick: pe(_e, ["stop"])
1834
+ footer: w(() => [
1835
+ i("span", ea, [
1836
+ g(" 取消按钮 "),
1837
+ S(P(Pe), {
1838
+ onClick: ce(Ee, ["stop"])
1805
1839
  }, {
1806
- default: _(() => u[6] || (u[6] = [
1807
- Y("取消")
1808
- ])),
1840
+ default: w(() => [...p[7] || (p[7] = [
1841
+ ee(
1842
+ "取消",
1843
+ -1
1844
+ /* CACHED */
1845
+ )
1846
+ ])]),
1809
1847
  _: 1
1810
1848
  /* STABLE */
1811
1849
  }),
1812
- m(" 确定按钮 "),
1813
- w(O(Oe), {
1850
+ g(" 确定按钮 "),
1851
+ S(P(Pe), {
1814
1852
  type: "primary",
1815
- onClick: pe(Qe, ["stop"])
1853
+ onClick: ce(Ke, ["stop"])
1816
1854
  }, {
1817
- default: _(() => u[7] || (u[7] = [
1818
- Y(" 确定 ")
1819
- ])),
1855
+ default: w(() => [...p[8] || (p[8] = [
1856
+ ee(
1857
+ " 确定 ",
1858
+ -1
1859
+ /* CACHED */
1860
+ )
1861
+ ])]),
1820
1862
  _: 1
1821
1863
  /* STABLE */
1822
1864
  })
1823
1865
  ])
1824
1866
  ]),
1825
- default: _(() => [
1826
- n(
1867
+ default: w(() => [
1868
+ i(
1827
1869
  "div",
1828
1870
  {
1829
1871
  class: "dep-use-picker",
1830
1872
  style: Re({ height: Ie.value })
1831
1873
  },
1832
1874
  [
1833
- m(" 左侧选择区域 "),
1834
- n("div", Hl, [
1835
- m(" 搜索框和标签页 "),
1836
- n("div", null, [
1837
- m(" 搜索输入框 "),
1838
- w(O(ot), {
1839
- modelValue: L.value,
1840
- "onUpdate:modelValue": u[0] || (u[0] = (k) => L.value = k),
1875
+ g(" 左侧选择区域 "),
1876
+ i("div", Ql, [
1877
+ g(" 搜索框和标签页 "),
1878
+ i("div", null, [
1879
+ g(" 搜索输入框 "),
1880
+ S(P(pt), {
1881
+ modelValue: b.value,
1882
+ "onUpdate:modelValue": p[0] || (p[0] = (k) => b.value = k),
1841
1883
  clearable: "",
1842
- placeholder: s.placeholder,
1843
- "suffix-icon": vt
1884
+ placeholder: t.placeholder,
1885
+ "suffix-icon": gt
1844
1886
  }, null, 8, ["modelValue", "placeholder"]),
1845
- m(" 标签页切换 "),
1846
- Xe.value ? (a(), I(T, {
1887
+ g(" 标签页切换 "),
1888
+ Ye.value ? (s(), _(L, {
1847
1889
  key: 0,
1848
- modelValue: ce.value,
1849
- "onUpdate:modelValue": u[1] || (u[1] = (k) => ce.value = k),
1890
+ modelValue: Ae.value,
1891
+ "onUpdate:modelValue": p[1] || (p[1] = (k) => Ae.value = k),
1850
1892
  class: "ik-picker-tab"
1851
1893
  }, {
1852
- default: _(() => [
1853
- (a(!0), c(
1854
- V,
1894
+ default: w(() => [
1895
+ (s(!0), f(
1896
+ N,
1855
1897
  null,
1856
- H(qe.value, (k) => (a(), I(g, {
1898
+ z(Je.value, (k) => (s(), _(x, {
1857
1899
  label: k.label,
1858
1900
  name: k.name,
1859
1901
  key: k.label
@@ -1864,30 +1906,30 @@ const Rl = {
1864
1906
  ]),
1865
1907
  _: 1
1866
1908
  /* STABLE */
1867
- }, 8, ["modelValue"])) : m("v-if", !0)
1909
+ }, 8, ["modelValue"])) : g("v-if", !0)
1868
1910
  ]),
1869
- m(" 面包屑导航区域 "),
1870
- ee.value === O(ue).group ? (a(), c(
1871
- V,
1911
+ g(" 面包屑导航区域 "),
1912
+ le.value === P(fe).group ? (s(), f(
1913
+ N,
1872
1914
  { key: 0 },
1873
1915
  [
1874
- we.value ? (a(), c("div", Gl, [
1875
- m(" 面包屑导航 "),
1876
- w(O(nt), {
1916
+ we.value ? (s(), f("div", Xl, [
1917
+ g(" 面包屑导航 "),
1918
+ S(P(ut), {
1877
1919
  separator: ">",
1878
- class: le(["banner", { "top-unlink": !s.topLink }])
1920
+ class: ie(["banner", { "top-unlink": !t.topLink }])
1879
1921
  }, {
1880
- default: _(() => [
1881
- (a(!0), c(
1882
- V,
1922
+ default: w(() => [
1923
+ (s(!0), f(
1924
+ N,
1883
1925
  null,
1884
- H(O(h), (k, z) => (a(), I(O(it), {
1926
+ z(P(B), (k, Z) => (s(), _(P(dt), {
1885
1927
  key: k[y.value.id],
1886
- onClick: pe((xe) => Ge(k, z), ["stop"])
1928
+ onClick: ce((xe) => Xe(k, Z), ["stop"])
1887
1929
  }, {
1888
- default: _(() => [
1889
- Y(
1890
- P(k[y.value.name]),
1930
+ default: w(() => [
1931
+ ee(
1932
+ T(k[y.value.name]),
1891
1933
  1
1892
1934
  /* TEXT */
1893
1935
  )
@@ -1902,143 +1944,157 @@ const Rl = {
1902
1944
  _: 1
1903
1945
  /* STABLE */
1904
1946
  }, 8, ["class"])
1905
- ])) : m("v-if", !0)
1947
+ ])) : g("v-if", !0)
1906
1948
  ],
1907
1949
  64
1908
1950
  /* STABLE_FRAGMENT */
1909
- )) : m("v-if", !0),
1910
- m(" 数据列表区域 "),
1911
- m(" 组织架构列表 "),
1912
- ee.value === O(ue).group ? fe((a(), I(rl, {
1951
+ )) : g("v-if", !0),
1952
+ g(" 数据列表区域 "),
1953
+ g(" 组织架构列表 "),
1954
+ le.value === P(fe).group ? ve((s(), _(cl, {
1913
1955
  key: 1,
1914
1956
  fixPropOpt: y.value,
1915
- fixTypeOpt: i.value,
1916
- list: F.value,
1917
- max: s.max,
1918
- multiple: s.multiple,
1919
- "hand-list": Ze.value,
1920
- imageBaseUrl: l.imageBaseUrl,
1921
- emptyText: l.emptyText,
1922
- children: l.children && !L.value,
1923
- "choose-type": R.value,
1924
- onHandChild: He,
1925
- onChange: Ke
1957
+ fixTypeOpt: n.value,
1958
+ list: R.value,
1959
+ max: t.max,
1960
+ multiple: t.multiple,
1961
+ "hand-list": et.value,
1962
+ imageBaseUrl: a.imageBaseUrl,
1963
+ emptyText: a.emptyText,
1964
+ children: a.children && !b.value,
1965
+ "choose-type": $.value,
1966
+ onHandChild: Qe,
1967
+ onChange: tt
1926
1968
  }, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "children", "choose-type"])), [
1927
- [O(Pe), N.value]
1928
- ]) : ee.value === O(ue).role ? (a(), c(
1929
- V,
1969
+ [P(Oe), D.value]
1970
+ ]) : le.value === P(fe).role ? (s(), f(
1971
+ N,
1930
1972
  { key: 2 },
1931
1973
  [
1932
- m(" 角色列表 "),
1933
- fe(w(Fl, {
1974
+ g(" 角色列表 "),
1975
+ ve(S(jl, {
1934
1976
  fixPropOpt: y.value,
1935
- fixTypeOpt: i.value,
1936
- list: p.value,
1937
- max: s.max,
1938
- multiple: s.multiple,
1977
+ fixTypeOpt: n.value,
1978
+ list: u.value,
1979
+ max: t.max,
1980
+ multiple: t.multiple,
1939
1981
  "hand-list": me.value,
1940
- imageBaseUrl: l.imageBaseUrl,
1941
- emptyText: l.emptyText,
1942
- "choose-type": R.value,
1943
- onChange: Ye
1982
+ imageBaseUrl: a.imageBaseUrl,
1983
+ emptyText: a.emptyText,
1984
+ "choose-type": $.value,
1985
+ onChange: lt
1944
1986
  }, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "choose-type"]), [
1945
- [O(Pe), N.value]
1987
+ [P(Oe), D.value]
1946
1988
  ])
1947
1989
  ],
1948
1990
  64
1949
1991
  /* STABLE_FRAGMENT */
1950
- )) : ee.value === O(ue).post ? (a(), c(
1951
- V,
1992
+ )) : le.value === P(fe).post ? (s(), f(
1993
+ N,
1952
1994
  { key: 3 },
1953
1995
  [
1954
- m(" 岗位列表 "),
1955
- fe(w(Pl, {
1996
+ g(" 岗位列表 "),
1997
+ ve(S(bl, {
1956
1998
  fixPropOpt: y.value,
1957
- fixTypeOpt: i.value,
1958
- list: D.value,
1959
- max: s.max,
1960
- multiple: s.multiple,
1999
+ fixTypeOpt: n.value,
2000
+ list: F.value,
2001
+ max: t.max,
2002
+ multiple: t.multiple,
1961
2003
  "hand-list": ge.value,
1962
- imageBaseUrl: l.imageBaseUrl,
1963
- emptyText: l.emptyText,
1964
- "choose-type": R.value,
1965
- onChange: Je
2004
+ imageBaseUrl: a.imageBaseUrl,
2005
+ emptyText: a.emptyText,
2006
+ "choose-type": $.value,
2007
+ onChange: at
1966
2008
  }, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "choose-type"]), [
1967
- [O(Pe), N.value]
2009
+ [P(Oe), D.value]
1968
2010
  ])
1969
2011
  ],
1970
2012
  64
1971
2013
  /* STABLE_FRAGMENT */
1972
- )) : m("v-if", !0)
2014
+ )) : g("v-if", !0)
1973
2015
  ]),
1974
- m(" 分割线 "),
1975
- u[5] || (u[5] = n(
2016
+ g(" 分割线 "),
2017
+ p[6] || (p[6] = i(
1976
2018
  "div",
1977
2019
  { class: "split-div" },
1978
2020
  null,
1979
2021
  -1
1980
- /* HOISTED */
2022
+ /* CACHED */
1981
2023
  )),
1982
- m(" 右侧已选区域 "),
1983
- n("div", $l, [
1984
- m(" 已选标题和清空按钮 "),
1985
- n("div", zl, [
1986
- u[4] || (u[4] = n(
2024
+ g(" 右侧已选区域 "),
2025
+ i("div", ql, [
2026
+ g(" 已选标题和清空按钮 "),
2027
+ i("div", Zl, [
2028
+ p[5] || (p[5] = i(
1987
2029
  "div",
1988
2030
  null,
1989
2031
  "已选",
1990
2032
  -1
1991
- /* HOISTED */
2033
+ /* CACHED */
1992
2034
  )),
1993
- w(O(Oe), {
2035
+ S(P(Pe), {
1994
2036
  type: "primary",
1995
2037
  link: "",
1996
- onClick: pe(te, ["stop"])
2038
+ onClick: ce(ae, ["stop"])
1997
2039
  }, {
1998
- default: _(() => u[3] || (u[3] = [
1999
- Y("清空")
2000
- ])),
2040
+ default: w(() => [...p[4] || (p[4] = [
2041
+ ee(
2042
+ "清空",
2043
+ -1
2044
+ /* CACHED */
2045
+ )
2046
+ ])]),
2001
2047
  _: 1
2002
2048
  /* STABLE */
2003
2049
  })
2004
2050
  ]),
2005
- m(" 已选项目列表 "),
2006
- n("ul", Ql, [
2007
- (a(!0), c(
2008
- V,
2009
- null,
2010
- H(r.value, (k) => (a(), c("li", Xl, [
2011
- n("div", ql, [
2012
- m(" 头像图标 "),
2013
- n("div", Zl, [
2014
- w(W, {
2015
- fixTypeOpt: i.value,
2051
+ g(" 已选项目列表 "),
2052
+ S(P(Me), {
2053
+ modelValue: r.value,
2054
+ "onUpdate:modelValue": p[2] || (p[2] = (k) => r.value = k),
2055
+ class: "choose-box",
2056
+ tag: "ul",
2057
+ "item-key": "id",
2058
+ animation: 200,
2059
+ "ghost-class": "ghost-item",
2060
+ "chosen-class": "chosen-item",
2061
+ "drag-class": "drag-item",
2062
+ onStart: He,
2063
+ onEnd: Ge
2064
+ }, {
2065
+ item: w(({ element: k }) => [
2066
+ i("li", Kl, [
2067
+ i("div", Yl, [
2068
+ g(" 头像图标 "),
2069
+ i("div", Jl, [
2070
+ S(H, {
2071
+ fixTypeOpt: n.value,
2016
2072
  fixPropOpt: y.value,
2017
2073
  element: k,
2018
- imageBaseUrl: l.imageBaseUrl
2074
+ imageBaseUrl: a.imageBaseUrl
2019
2075
  }, null, 8, ["fixTypeOpt", "fixPropOpt", "element", "imageBaseUrl"])
2020
2076
  ]),
2021
- m(" 项目名称 "),
2022
- n(
2077
+ g(" 项目名称 "),
2078
+ i(
2023
2079
  "span",
2024
2080
  null,
2025
- P(k[y.value.name]),
2081
+ T(k[y.value.name]),
2026
2082
  1
2027
2083
  /* TEXT */
2028
2084
  )
2029
2085
  ]),
2030
- m(" 删除按钮 "),
2031
- fe(w(gt, {
2086
+ g(" 删除按钮 "),
2087
+ ve(S(kt, {
2032
2088
  class: "close",
2033
- onClick: pe((z) => Se(k), ["stop"])
2089
+ onClick: ce((Z) => Be(k), ["stop"])
2034
2090
  }, null, 8, ["onClick"]), [
2035
- [lt, !(k != null && k.readonly)]
2091
+ [nt, !(k != null && k.readonly)]
2036
2092
  ])
2037
- ]))),
2038
- 256
2039
- /* UNKEYED_FRAGMENT */
2040
- ))
2041
- ])
2093
+ ])
2094
+ ]),
2095
+ _: 1
2096
+ /* STABLE */
2097
+ }, 8, ["modelValue"])
2042
2098
  ])
2043
2099
  ],
2044
2100
  4
@@ -2054,28 +2110,28 @@ const Rl = {
2054
2110
  );
2055
2111
  };
2056
2112
  }
2057
- }), Jl = Me(Yl), es = {
2113
+ }), la = We(ta), aa = {
2058
2114
  class: "approveProcess",
2059
2115
  id: "approveProcess"
2060
- }, ts = { class: "node" }, ls = { class: "nodeBg" }, ss = {
2116
+ }, sa = { class: "node" }, oa = { class: "nodeBg" }, na = {
2061
2117
  key: 0,
2062
2118
  class: "info"
2063
- }, as = { class: "explain" }, os = { key: 0 }, ns = { key: 0 }, is = { key: 1 }, rs = { key: 0 }, ps = { key: 1 }, us = { class: "personlist" }, ds = { style: { width: "58px" } }, cs = { class: "avatar" }, fs = ["src"], As = {
2119
+ }, ia = { class: "explain" }, ra = { key: 0 }, pa = { key: 0 }, ua = { key: 1 }, da = { key: 0 }, ca = { key: 1 }, fa = { class: "personlist" }, Aa = { style: { width: "58px" } }, va = { class: "avatar" }, ha = ["src"], ya = {
2064
2120
  key: 1,
2065
2121
  class: "nodeBg"
2066
- }, vs = ["onClick"], hs = ["title"], ys = {
2122
+ }, ma = ["onClick"], ga = ["title"], xa = {
2067
2123
  key: 0,
2068
2124
  class: "sign"
2069
- }, ms = { key: 0 }, gs = ["onClick"], xs = {
2125
+ }, Oa = { key: 0 }, Pa = ["onClick"], ka = {
2070
2126
  key: 0,
2071
2127
  class: "required"
2072
- }, Os = {
2128
+ }, Ta = {
2073
2129
  key: 1,
2074
2130
  class: "node-branchs"
2075
- }, Ps = { style: { flex: "1" } }, Ts = { class: "node-branch" }, ks = {
2131
+ }, La = { style: { flex: "1" } }, ba = { class: "node-branch" }, Ca = {
2076
2132
  name: "IkApprovalProcess"
2077
- }, Ls = /* @__PURE__ */ oe({
2078
- ...ks,
2133
+ }, Ua = /* @__PURE__ */ ue({
2134
+ ...Ca,
2079
2135
  props: {
2080
2136
  // 选人组件请求地址
2081
2137
  pickerUrl: {
@@ -2112,72 +2168,72 @@ const Rl = {
2112
2168
  default: () => ({})
2113
2169
  }
2114
2170
  },
2115
- setup(d, { expose: v }) {
2116
- const e = d, { cLoadUrl: l } = We(e), L = se.local.getItem("token") || "Bearer 4db1039f04334180849002932f6a1fc6", x = E("sys");
2117
- function C(t) {
2171
+ setup(d, { expose: A }) {
2172
+ const e = d, { cLoadUrl: a } = je(e), b = re.local.getItem("token") || "Bearer 07bc08192f1b43959d99143f71311f0b", O = I("sys");
2173
+ function C(c) {
2118
2174
  try {
2119
- const o = window.location.search;
2120
- return new URLSearchParams(o).get(t);
2175
+ const m = window.location.search;
2176
+ return new URLSearchParams(m).get(c);
2121
2177
  } catch {
2122
2178
  return "";
2123
2179
  }
2124
2180
  }
2125
2181
  function U() {
2126
- var t;
2182
+ var c;
2127
2183
  try {
2128
- const o = C("xTenant") || ((t = se.local.getItem("tenant")) == null ? void 0 : t.code);
2129
- o && (x.value = o);
2184
+ const m = C("xTenant") || ((c = re.local.getItem("tenant")) == null ? void 0 : c.code);
2185
+ m && (O.value = m);
2130
2186
  } catch {
2131
2187
  }
2132
2188
  }
2133
2189
  U();
2134
- const p = Te(ut(e)), D = async (t) => {
2135
- var o;
2136
- if (t.multiple = !t[p.defaultFile.singleApproval] || t[p.defaultFile.isShowAddCopy], t.handList = t[p.defaultFile.approvePersonList] ? t[p.defaultFile.approvePersonList] : [], t[p.defaultFile.nodeType] === p.nodeType.抄送节点)
2137
- t.handList.forEach((h) => {
2138
- h.elementName || (h.elementName = h.userName, h.elementId = h.userId, h.avatar = h.userAvatar), h.elementType = "USER", h.disabled = !0;
2139
- }), t.chooseType = ["user"], t.userList = [], t.depList = [];
2190
+ const u = ke(At(e)), F = async (c) => {
2191
+ var m;
2192
+ if (c.multiple = !c[u.defaultFile.singleApproval] || c[u.defaultFile.isShowAddCopy], c.handList = c[u.defaultFile.approvePersonList] ? c[u.defaultFile.approvePersonList] : [], c[u.defaultFile.nodeType] === u.nodeType.抄送节点)
2193
+ c.handList.forEach((l) => {
2194
+ l.elementName || (l.elementName = l.userName, l.elementId = l.userId, l.avatar = l.userAvatar), l.elementType = "USER", l.disabled = !0;
2195
+ }), c.chooseType = ["user"], c.userList = [], c.depList = [];
2140
2196
  else
2141
- switch (t[p.defaultFile.initiatorSpecifiedScopeType]) {
2197
+ switch (c[u.defaultFile.initiatorSpecifiedScopeType]) {
2142
2198
  // 全公司时,用后台返回的人员中去选择
2143
2199
  case "ALL":
2144
- t.chooseType = ["dep_user"], t.userList = [], t.depList = [];
2200
+ c.chooseType = ["dep_user"], c.userList = [], c.depList = [];
2145
2201
  break;
2146
2202
  // 否则就从后端返回的initiatorSpecifiedScope数组中选人
2147
2203
  default:
2148
- t.chooseType = ["user"], t.userList = t.userList ? t.userList : (o = t[p.defaultFile.initiatorSpecifiedScope]) == null ? void 0 : o.map((h) => ({
2149
- ...h,
2150
- elementName: (h == null ? void 0 : h.executorName) || (h == null ? void 0 : h.userName),
2151
- elementId: (h == null ? void 0 : h.executorId) || (h == null ? void 0 : h.userId),
2152
- avatar: ((h == null ? void 0 : h.executorAvatar) || (h == null ? void 0 : h.userAvatar)) && N((h == null ? void 0 : h.executorAvatar) || (h == null ? void 0 : h.userAvatar)) || "",
2204
+ c.chooseType = ["user"], c.userList = c.userList ? c.userList : (m = c[u.defaultFile.initiatorSpecifiedScope]) == null ? void 0 : m.map((l) => ({
2205
+ ...l,
2206
+ elementName: (l == null ? void 0 : l.executorName) || (l == null ? void 0 : l.userName),
2207
+ elementId: (l == null ? void 0 : l.executorId) || (l == null ? void 0 : l.userId),
2208
+ avatar: ((l == null ? void 0 : l.executorAvatar) || (l == null ? void 0 : l.userAvatar)) && D((l == null ? void 0 : l.executorAvatar) || (l == null ? void 0 : l.userAvatar)) || "",
2153
2209
  elementType: "USER"
2154
2210
  }));
2155
2211
  }
2156
- ke(() => {
2157
- t.isShow = !0;
2212
+ Te(() => {
2213
+ c.isShow = !0;
2158
2214
  });
2159
- }, N = (t) => {
2160
- let o = "";
2161
- return t.includes("http") || t.includes("https") ? o = t : o = l.value ? `${t.includes(l.value) ? "" : l.value}${t}` : `${location.origin + location.pathname}server/oss/download?fileUrl=${t}`, o;
2162
- }, F = (t, o) => {
2163
- e.dataList[o].handList = t.list;
2164
- let f = (e.dataList[o][p.defaultFile.approvePersonList] || []).filter((A) => !A.canDele), B = t.list.map((A) => ({
2165
- ...A,
2166
- userName: A.elementName,
2167
- userAvatar: A.avatar,
2215
+ }, D = (c) => {
2216
+ let m = "";
2217
+ return c.includes("http") || c.includes("https") ? m = c : m = a.value ? `${c.includes(a.value) ? "" : a.value}${c}` : `${location.origin + location.pathname}server/oss/download?fileUrl=${c}`, m;
2218
+ }, R = (c, m) => {
2219
+ e.dataList[m].handList = c.list;
2220
+ let h = (e.dataList[m][u.defaultFile.approvePersonList] || []).filter((M) => !M.canDele), G = c.list.map((M) => ({
2221
+ ...M,
2222
+ userName: M.elementName,
2223
+ userAvatar: M.avatar,
2168
2224
  canDele: !0
2169
2225
  }));
2170
- e.dataList[o][p.defaultFile.approvePersonList] = f.concat(B);
2171
- }, y = (t, o) => {
2172
- e.dataList[t][p.defaultFile.approvePersonList].splice(o, 1), e.dataList[t].handList = e.dataList[t][p.defaultFile.approvePersonList];
2173
- }, i = () => {
2174
- let t = !0;
2175
- return e.dataList.forEach((o) => {
2176
- var h;
2177
- o.required = !1, o[p.defaultFile.nodeType] == p.nodeType.审批节点 && o[p.defaultFile.isShowAdd] && ((h = o[p.defaultFile.approvePersonList]) != null && h.length || (t = !1, o.required = !0));
2178
- }), t;
2179
- }, r = S(() => {
2180
- var t;
2226
+ e.dataList[m][u.defaultFile.approvePersonList] = h.concat(G);
2227
+ }, y = (c, m) => {
2228
+ e.dataList[c][u.defaultFile.approvePersonList].splice(m, 1), e.dataList[c].handList = e.dataList[c][u.defaultFile.approvePersonList];
2229
+ }, n = () => {
2230
+ let c = !0;
2231
+ return e.dataList.forEach((m) => {
2232
+ var l;
2233
+ m.required = !1, m[u.defaultFile.nodeType] == u.nodeType.审批节点 && m[u.defaultFile.isShowAdd] && ((l = m[u.defaultFile.approvePersonList]) != null && l.length || (c = !1, m.required = !0));
2234
+ }), c;
2235
+ }, r = E(() => {
2236
+ var c;
2181
2237
  return {
2182
2238
  propOption: {
2183
2239
  name: "elementName",
@@ -2196,103 +2252,112 @@ const Rl = {
2196
2252
  url: e.pickerUrl,
2197
2253
  headers: {
2198
2254
  "Content-Type": "application/json;charset=UTF-8",
2199
- Authorization: L,
2200
- "X-Tenant": x.value
2255
+ Authorization: b,
2256
+ "X-Tenant": O.value
2201
2257
  },
2202
2258
  param: {
2203
- rootDepartmentId: ((t = se.local.getItem("now_shop")) == null ? void 0 : t.storeId) || "",
2259
+ rootDepartmentId: ((c = re.local.getItem("now_shop")) == null ? void 0 : c.storeId) || "",
2204
2260
  rootDepartmentOnly: !1
2205
2261
  }
2206
2262
  },
2207
2263
  ...e.pickerConfig
2208
2264
  };
2209
- });
2210
- return v({ requiredVerification: i }), (t, o) => {
2211
- const h = Ae("IkApprovalProcess", !0);
2212
- return a(), c("div", es, [
2213
- (a(!0), c(
2214
- V,
2265
+ }), o = I(null), v = (c) => {
2266
+ o.value = c;
2267
+ }, B = (c) => {
2268
+ const { oldIndex: m, newIndex: l } = c;
2269
+ o.value.splice(l, 0, ...o.value.splice(m, 1));
2270
+ };
2271
+ return A({ requiredVerification: n }), (c, m) => {
2272
+ const l = he("IkApprovalProcess", !0);
2273
+ return s(), f("div", aa, [
2274
+ (s(!0), f(
2275
+ N,
2215
2276
  null,
2216
- H(e.dataList, (f, B) => {
2217
- var A, j, Z, K;
2218
- return a(), c("div", {
2277
+ z(e.dataList, (h, G) => {
2278
+ var M, W, $, X;
2279
+ return s(), f("div", {
2219
2280
  class: "content",
2220
- key: f.id
2281
+ key: h.id
2221
2282
  }, [
2222
- m(" 审批节点类型 "),
2223
- n("div", ts, [
2224
- n("span", ls, [
2225
- n(
2283
+ g(" 审批节点类型 "),
2284
+ i("div", sa, [
2285
+ i("span", oa, [
2286
+ i(
2226
2287
  "i",
2227
2288
  {
2228
- class: le(O(dt)(p, f[p.defaultFile.nodeType]))
2289
+ class: ie(P(vt)(u, h[u.defaultFile.nodeType]))
2229
2290
  },
2230
2291
  null,
2231
2292
  2
2232
2293
  /* CLASS */
2233
2294
  )
2234
2295
  ]),
2235
- n(
2296
+ i(
2236
2297
  "div",
2237
2298
  {
2238
2299
  class: "line",
2239
- style: Re({ "border-left": B === e.dataList.length - 1 ? "" : "2px solid var(--el-border-color)" })
2300
+ style: Re({ "border-left": G === e.dataList.length - 1 ? "" : "2px solid var(--el-border-color)" })
2240
2301
  },
2241
2302
  null,
2242
2303
  4
2243
2304
  /* STYLE */
2244
2305
  )
2245
2306
  ]),
2246
- f[p.defaultFile.nodeType] !== p.nodeType.并行分支 ? (a(), c("div", ss, [
2247
- n("div", null, [
2248
- n(
2307
+ h[u.defaultFile.nodeType] !== u.nodeType.并行分支 ? (s(), f("div", na, [
2308
+ i("div", null, [
2309
+ i(
2249
2310
  "div",
2250
2311
  null,
2251
- P(f[p.defaultFile.nodeTypeName]),
2312
+ T(h[u.defaultFile.nodeTypeName]),
2252
2313
  1
2253
2314
  /* TEXT */
2254
2315
  ),
2255
- n("div", as, [
2256
- m(" 抄送节点 "),
2257
- f[p.defaultFile.nodeType] == p.nodeType.抄送节点 ? (a(), c("span", os, [
2258
- f[p.defaultFile.approvePersonList].length ? (a(), c(
2316
+ i("div", ia, [
2317
+ g(" 抄送节点 "),
2318
+ h[u.defaultFile.nodeType] == u.nodeType.抄送节点 ? (s(), f("span", ra, [
2319
+ h[u.defaultFile.approvePersonList].length ? (s(), f(
2259
2320
  "span",
2260
- ns,
2261
- P(`抄送${f[p.defaultFile.approvePersonList].length}人`),
2321
+ pa,
2322
+ T(`抄送${h[u.defaultFile.approvePersonList].length}人`),
2262
2323
  1
2263
2324
  /* TEXT */
2264
- )) : m("v-if", !0),
2265
- f[p.defaultFile.isShowAdd] ? (a(), c("span", is, ",可添加抄送人")) : m("v-if", !0)
2266
- ])) : (a(), c(
2267
- V,
2325
+ )) : g("v-if", !0),
2326
+ h[u.defaultFile.isShowAdd] ? (s(), f("span", ua, ",可添加抄送人")) : g("v-if", !0)
2327
+ ])) : (s(), f(
2328
+ N,
2268
2329
  { key: 1 },
2269
2330
  [
2270
- m(" 审批节点 "),
2271
- n("span", null, [
2272
- m(" 存在审批人时 "),
2273
- (A = f[p.defaultFile.approvePersonList]) != null && A.length ? (a(), c(
2331
+ g(" 审批节点 "),
2332
+ i("span", null, [
2333
+ g(" 存在审批人时 "),
2334
+ (M = h[u.defaultFile.approvePersonList]) != null && M.length ? (s(), f(
2274
2335
  "span",
2275
- rs,
2276
- P(((j = f[p.defaultFile.approvePersonList]) == null ? void 0 : j.length) == 1 ? "1人审批" : `${(Z = f[p.defaultFile.approvePersonList]) == null ? void 0 : Z.length}人${f[p.defaultFile.multiExecutorTypeName]}`),
2336
+ da,
2337
+ T(((W = h[u.defaultFile.approvePersonList]) == null ? void 0 : W.length) == 1 ? "1人审批" : `${($ = h[u.defaultFile.approvePersonList]) == null ? void 0 : $.length}人${h[u.defaultFile.multiExecutorTypeName]}`),
2277
2338
  1
2278
2339
  /* TEXT */
2279
- )) : [p.statusWithoutApprover.自动通过, p.statusWithoutApprover.自动拒绝].includes(f[p.defaultFile.approveType]) ? (a(), c(
2340
+ )) : [u.statusWithoutApprover.自动通过, u.statusWithoutApprover.自动拒绝].includes(h[u.defaultFile.approveType]) ? (s(), f(
2280
2341
  "span",
2281
- ps,
2282
- P(f[p.defaultFile.approveTypeName]),
2342
+ ca,
2343
+ T(h[u.defaultFile.approveTypeName]),
2283
2344
  1
2284
2345
  /* TEXT */
2285
- )) : f[p.defaultFile.executorEmptyStrategy] && f[p.defaultFile.executorEmpty] ? (a(), c(
2286
- V,
2346
+ )) : h[u.defaultFile.executorEmptyStrategy] && h[u.defaultFile.executorEmpty] ? (s(), f(
2347
+ N,
2287
2348
  { key: 2 },
2288
2349
  [
2289
- m(" 没有审批人,并且有指定默认审批方式 "),
2290
- n("span", null, [
2291
- o[0] || (o[0] = Y(" 未找到审批人,")),
2292
- n(
2350
+ g(" 没有审批人,并且有指定默认审批方式 "),
2351
+ i("span", null, [
2352
+ m[0] || (m[0] = ee(
2353
+ " 未找到审批人,",
2354
+ -1
2355
+ /* CACHED */
2356
+ )),
2357
+ i(
2293
2358
  "span",
2294
2359
  null,
2295
- P(f[p.defaultFile.executorEmptyStrategy] == p.statusWithoutApprover.自动通过 ? "将自动通过" : f[p.defaultFile.executorEmptyStrategy] == p.statusWithoutApprover.自动转交管理员 ? "自动转交给管理员" : f[p.defaultFile.executorEmptyStrategy] == p.statusWithoutApprover.指定人员审批 ? `将自动转给指定成员${f[p.defaultFile.reserveExecutorUsers] && f[p.defaultFile.reserveExecutorUsers][0].userName}` : ""),
2360
+ T(h[u.defaultFile.executorEmptyStrategy] == u.statusWithoutApprover.自动通过 ? "将自动通过" : h[u.defaultFile.executorEmptyStrategy] == u.statusWithoutApprover.自动转交管理员 ? "自动转交给管理员" : h[u.defaultFile.executorEmptyStrategy] == u.statusWithoutApprover.指定人员审批 ? `将自动转给指定成员${h[u.defaultFile.reserveExecutorUsers] && h[u.defaultFile.reserveExecutorUsers][0].userName}` : ""),
2296
2361
  1
2297
2362
  /* TEXT */
2298
2363
  )
@@ -2300,13 +2365,13 @@ const Rl = {
2300
2365
  ],
2301
2366
  2112
2302
2367
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
2303
- )) : [p.nodeType.并行分支, p.nodeType.子流程].includes(f[p.defaultFile.nodeType]) ? m("v-if", !0) : (a(), c(
2368
+ )) : [u.nodeType.并行分支, u.nodeType.子流程].includes(h[u.defaultFile.nodeType]) ? g("v-if", !0) : (s(), f(
2304
2369
  "span",
2305
2370
  {
2306
2371
  key: 3,
2307
- class: le(f.required ? "warn" : "")
2372
+ class: ie(h.required ? "warn" : "")
2308
2373
  },
2309
- " 请选择" + P(f[p.defaultFile.nodeType] === p.nodeType.办理节点 ? "办理人" : "审批人"),
2374
+ " 请选择" + T(h[u.defaultFile.nodeType] === u.nodeType.办理节点 ? "办理人" : "审批人"),
2310
2375
  3
2311
2376
  /* TEXT, CLASS */
2312
2377
  ))
@@ -2317,126 +2382,138 @@ const Rl = {
2317
2382
  ))
2318
2383
  ])
2319
2384
  ]),
2320
- n("div", us, [
2321
- (a(!0), c(
2322
- V,
2323
- null,
2324
- H(f[p.defaultFile.approvePersonList], (b, R) => {
2325
- var $, de;
2326
- return a(), c("div", {
2327
- class: "list",
2328
- key: b.userId
2329
- }, [
2330
- n("div", ds, [
2331
- n("div", cs, [
2332
- b.userAvatar ? (a(), c("img", {
2333
- key: 0,
2334
- src: N(b.userAvatar),
2335
- alt: ""
2336
- }, null, 8, fs)) : (a(), c("div", As, [
2337
- n(
2338
- "span",
2339
- null,
2340
- P(($ = b.userName) == null ? void 0 : $.slice(-2)),
2341
- 1
2342
- /* TEXT */
2343
- )
2344
- ])),
2345
- b.canDele ? (a(), c("i", {
2346
- key: 2,
2347
- onClick: (ne) => y(B, R),
2348
- class: "ikapprove ikapprove-shanchu1"
2349
- }, null, 8, vs)) : m("v-if", !0)
2385
+ i("div", fa, [
2386
+ S(P(Me), {
2387
+ modelValue: h[u.defaultFile.approvePersonList],
2388
+ "onUpdate:modelValue": (V) => h[u.defaultFile.approvePersonList] = V,
2389
+ group: { name: "people", pull: !1, put: !1 },
2390
+ "item-key": "userId",
2391
+ handle: ".draggable-item",
2392
+ animation: 200,
2393
+ "ghost-class": "ghost-item",
2394
+ "chosen-class": "chosen-item",
2395
+ "drag-class": "drag-item",
2396
+ onStart: (V) => v(h[u.defaultFile.approvePersonList]),
2397
+ onEnd: B,
2398
+ class: "draggable-container"
2399
+ }, {
2400
+ item: w(({ element: V, index: q }) => {
2401
+ var se, oe;
2402
+ return [
2403
+ (s(), f("div", {
2404
+ class: "list draggable-item",
2405
+ key: V.userId
2406
+ }, [
2407
+ i("div", Aa, [
2408
+ i("div", va, [
2409
+ V.userAvatar ? (s(), f("img", {
2410
+ key: 0,
2411
+ src: D(V.userAvatar),
2412
+ alt: ""
2413
+ }, null, 8, ha)) : (s(), f("div", ya, [
2414
+ i(
2415
+ "span",
2416
+ null,
2417
+ T((se = V.userName) == null ? void 0 : se.slice(-2)),
2418
+ 1
2419
+ /* TEXT */
2420
+ )
2421
+ ])),
2422
+ V.canDele ? (s(), f("i", {
2423
+ key: 2,
2424
+ onClick: (ne) => y(G, q),
2425
+ class: "ikapprove ikapprove-shanchu1"
2426
+ }, null, 8, ma)) : g("v-if", !0)
2427
+ ]),
2428
+ i("div", {
2429
+ class: "name",
2430
+ title: V.userName
2431
+ }, T(V.userName), 9, ga)
2350
2432
  ]),
2351
- n("div", {
2352
- class: "name",
2353
- title: b.userName
2354
- }, P(b.userName), 9, hs)
2355
- ]),
2356
- m(" 显示添加人按钮,不是单选且已选中一个人的情况,显示图标 "),
2357
- f[p.defaultFile.isShowAdd] && !(f[p.defaultFile.singleApproval] && ((de = f[p.defaultFile.approvePersonList]) == null ? void 0 : de.length) == 1) ? (a(), c("span", ys, [
2358
- m(" 抄送默认 "),
2359
- f[p.defaultFile.nodeType] == p.nodeType.抄送节点 ? (a(), c("span", ms, "+")) : (a(), c(
2360
- V,
2361
- { key: 1 },
2362
- [
2363
- m(" 审批 "),
2364
- n(
2365
- "span",
2366
- null,
2367
- P(f[p.defaultFile.multiExecutorType] == "ANY" ? "/" : f[p.defaultFile.multiExecutorType] == "ALL" ? "+" : ">"),
2368
- 1
2369
- /* TEXT */
2370
- )
2371
- ],
2372
- 2112
2373
- /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
2374
- ))
2375
- ])) : m("v-if", !0)
2376
- ]);
2433
+ g(" 显示添加人按钮,不是单选且已选中一个人的情况,显示图标 "),
2434
+ h[u.defaultFile.isShowAdd] && !(h[u.defaultFile.singleApproval] && ((oe = h[u.defaultFile.approvePersonList]) == null ? void 0 : oe.length) == 1) ? (s(), f("span", xa, [
2435
+ g(" 抄送默认 "),
2436
+ h[u.defaultFile.nodeType] == u.nodeType.抄送节点 ? (s(), f("span", Oa, "+")) : (s(), f(
2437
+ N,
2438
+ { key: 1 },
2439
+ [
2440
+ g(" 审批 "),
2441
+ i(
2442
+ "span",
2443
+ null,
2444
+ T(h[u.defaultFile.multiExecutorType] == "ANY" ? "/" : h[u.defaultFile.multiExecutorType] == "ALL" ? "+" : ">"),
2445
+ 1
2446
+ /* TEXT */
2447
+ )
2448
+ ],
2449
+ 2112
2450
+ /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
2451
+ ))
2452
+ ])) : g("v-if", !0)
2453
+ ]))
2454
+ ];
2377
2455
  }),
2378
- 128
2379
- /* KEYED_FRAGMENT */
2380
- )),
2381
- m(" 显示添加人按钮,不是单选且已选中一个人的情况,显示按钮 (item[state.defaultFile.isShowAdd] && "),
2382
- f[p.defaultFile.isShowAdd] && !(f[p.defaultFile.singleApproval] && ((K = f[p.defaultFile.approvePersonList]) == null ? void 0 : K.length) == 1) || f[p.defaultFile.isShowAddCopy] ? (a(), c("span", {
2456
+ _: 2
2457
+ /* DYNAMIC */
2458
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onStart"]),
2459
+ g(" 显示添加人按钮,不是单选且已选中一个人的情况,显示按钮 (item[state.defaultFile.isShowAdd] && "),
2460
+ h[u.defaultFile.isShowAdd] && !(h[u.defaultFile.singleApproval] && ((X = h[u.defaultFile.approvePersonList]) == null ? void 0 : X.length) == 1) || h[u.defaultFile.isShowAddCopy] ? (s(), f("span", {
2383
2461
  key: 0,
2384
2462
  class: "addBg",
2385
- onClick: (b) => D(f)
2463
+ onClick: (V) => F(h)
2386
2464
  }, [
2387
- f[p.defaultFile.nodeType] == p.nodeType.审批节点 ? (a(), c("span", xs)) : m("v-if", !0),
2388
- o[1] || (o[1] = n(
2465
+ h[u.defaultFile.nodeType] == u.nodeType.审批节点 ? (s(), f("span", ka)) : g("v-if", !0),
2466
+ m[1] || (m[1] = i(
2389
2467
  "i",
2390
2468
  { class: "ikapprove ikapprove-xinzeng" },
2391
2469
  null,
2392
2470
  -1
2393
- /* HOISTED */
2471
+ /* CACHED */
2394
2472
  ))
2395
- ], 8, gs)) : m("v-if", !0),
2396
- m(" 添加人组件 "),
2397
- w(O(Jl), Ne({
2398
- modelValue: f.handList,
2399
- "onUpdate:modelValue": (b) => f.handList = b,
2400
- show: f.isShow,
2401
- "onUpdate:show": (b) => f.isShow = b,
2402
- onOk: (b) => F(b, B),
2403
- multiple: f.multiple,
2404
- "dep-list": f.depList,
2405
- "user-list": f.userList,
2406
- "organization-list": f.organizationList,
2407
- ref_for: !0
2408
- }, r.value, {
2409
- chooseType: f.chooseType
2473
+ ], 8, Pa)) : g("v-if", !0),
2474
+ g(" 添加人组件 "),
2475
+ S(P(la), De({
2476
+ modelValue: h.handList,
2477
+ "onUpdate:modelValue": (V) => h.handList = V,
2478
+ show: h.isShow,
2479
+ "onUpdate:show": (V) => h.isShow = V,
2480
+ onOk: (V) => R(V, G),
2481
+ multiple: h.multiple,
2482
+ "dep-list": h.depList,
2483
+ "user-list": h.userList,
2484
+ "organization-list": h.organizationList
2485
+ }, { ref_for: !0 }, r.value, {
2486
+ chooseType: h.chooseType
2410
2487
  }), null, 16, ["modelValue", "onUpdate:modelValue", "show", "onUpdate:show", "onOk", "multiple", "dep-list", "user-list", "organization-list", "chooseType"])
2411
2488
  ])
2412
- ])) : (a(), c("div", Os, [
2413
- o[2] || (o[2] = n(
2489
+ ])) : (s(), f("div", Ta, [
2490
+ m[2] || (m[2] = i(
2414
2491
  "div",
2415
2492
  { class: "branch-line" },
2416
2493
  null,
2417
2494
  -1
2418
- /* HOISTED */
2495
+ /* CACHED */
2419
2496
  )),
2420
- n("div", Ps, [
2421
- (a(!0), c(
2422
- V,
2497
+ i("div", La, [
2498
+ (s(!0), f(
2499
+ N,
2423
2500
  null,
2424
- H(f.parallelInstances, (b, R) => (a(), c(
2501
+ z(h.parallelInstances, (V, q) => (s(), f(
2425
2502
  "div",
2426
2503
  {
2427
- key: R,
2428
- class: le(`branch branch-${R}`)
2504
+ key: q,
2505
+ class: ie(`branch branch-${q}`)
2429
2506
  },
2430
2507
  [
2431
- n(
2508
+ i(
2432
2509
  "div",
2433
- Ts,
2434
- P(b.name),
2510
+ ba,
2511
+ T(V.name),
2435
2512
  1
2436
2513
  /* TEXT */
2437
2514
  ),
2438
- w(h, Ne({ ref_for: !0 }, e, {
2439
- dataList: b.processInstanceNodes,
2515
+ S(l, De({ ref_for: !0 }, e, {
2516
+ dataList: V.processInstanceNodes,
2440
2517
  style: { "margin-left": "20px" }
2441
2518
  }), null, 16, ["dataList"])
2442
2519
  ],
@@ -2456,8 +2533,8 @@ const Rl = {
2456
2533
  ]);
2457
2534
  };
2458
2535
  }
2459
- }), bs = /* @__PURE__ */ G(Ls, [["__scopeId", "data-v-cd8ce15a"]]), ws = Me(bs);
2536
+ }), Sa = /* @__PURE__ */ Q(Ua, [["__scopeId", "data-v-f817ba46"]]), Va = We(Sa);
2460
2537
  export {
2461
- ws as IkApprovalProcess,
2462
- ws as default
2538
+ Va as IkApprovalProcess,
2539
+ Va as default
2463
2540
  };