@yqg/permission 1.3.0-alpha.1 → 1.3.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- import { c as ge, Y as Ve, a as H, a1 as We, b as ot, _ as k, ae as Xe, aX as Me, aZ as _e, P as ae, $ as Fe, ar as it, as as st, aE as rt, aY as ct, a_ as ut, a0 as He, ak as Ce, aj as dt, am as vt, N as ft, R as mt, a$ as gt, b0 as pt, Q as ht, b1 as bt, b2 as yt, b3 as St, aq as Ct, aD as At, aP as W, aS as we, aQ as Ot } from "./yqg-permission-BjVCs5lN.js";
2
- import { p as It, a as wt, d as pe, c as w, G as Tt, w as xe, E as Qe, q as ze, e as V, F as Be, s as de, b as Ne, y as ne, r as Re, K as J, P as Ae, L as Oe, M as Z, S as Pe, R as _, O as xt, u as B, U as ue, N as X, a0 as Nt, Y as Vt } from "./index-wLkVeDMW.js";
3
- import { L as Pt, j as kt, p as Et, K as ee, d as Dt, F as Ft, e as Bt, f as Rt, Q as Lt } from "./apply-modal-CpmDDWWV.js";
4
- import { u as $t, b as jt, T as Mt, i as Ee, c as _t, h as Ht, j as zt, k as Ut, t as Kt, B as Gt, e as Yt, f as Wt, g as Xt } from "./index-D_0ZQip-.js";
1
+ import { c as ge, Y as Ve, a as j, a1 as We, b as ot, _ as E, ae as Xe, aX as _e, aZ as He, P as ae, $ as Be, ar as it, as as st, aE as rt, aY as ct, a_ as ut, a0 as je, ak as Ce, aj as dt, am as vt, N as mt, R as ft, a$ as gt, b0 as pt, Q as ht, b1 as bt, b2 as yt, b3 as St, aq as Ct, aD as At, aP as W, aS as we, aQ as Ot } from "./yqg-permission-DITcGx8T.js";
2
+ import { p as It, a as wt, d as pe, c as w, G as Tt, w as xe, E as Qe, q as ze, e as V, F as Re, s as de, b as Ne, y as ne, r as Le, K as J, P as Ae, L as Oe, M as Z, S as Pe, R as H, O as xt, u as R, U as ue, N as X, a0 as Nt, Y as Vt } from "./index-EF-patVm.js";
3
+ import { L as Pt, j as Et, p as Dt, K as ee, d as Ft, F as Bt, e as Rt, f as Lt, Q as kt } from "./apply-modal-DGX6gpHK.js";
4
+ import { u as $t, b as Mt, T as _t, i as De, c as Ht, h as jt, j as zt, k as Ut, t as Kt, B as Gt, e as Yt, f as Wt, g as Xt } from "./index-C28x1Vhk.js";
5
5
  function Qt() {
6
6
  return /(mac\sos|macintosh)/i.test(navigator.appVersion);
7
7
  }
@@ -12,11 +12,11 @@ function qt(e) {
12
12
  function Jt() {
13
13
  return wt(qe, {});
14
14
  }
15
- var Zt = function(e, m) {
15
+ var Zt = function(e, f) {
16
16
  var i = {};
17
- for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && m.indexOf(a) < 0 && (i[a] = e[a]);
17
+ for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && f.indexOf(a) < 0 && (i[a] = e[a]);
18
18
  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var t = 0, a = Object.getOwnPropertySymbols(e); t < a.length; t++)
19
- m.indexOf(a[t]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[t]) && (i[a[t]] = e[a[t]]);
19
+ f.indexOf(a[t]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[t]) && (i[a[t]] = e[a[t]]);
20
20
  return i;
21
21
  };
22
22
  function Ue(e) {
@@ -28,12 +28,12 @@ const el = pe({
28
28
  },
29
29
  name: "OptionList",
30
30
  inheritAttrs: !1,
31
- setup(e, m) {
31
+ setup(e, f) {
32
32
  let {
33
33
  expose: i,
34
34
  slots: a
35
- } = m;
36
- const t = $t(), l = Jt(), d = w(() => `${t.prefixCls}-item`), f = jt(() => l.flattenOptions, [() => t.open, () => l.flattenOptions], (r) => r[0]), g = kt(), p = (r) => {
35
+ } = f;
36
+ const t = $t(), l = Jt(), d = w(() => `${t.prefixCls}-item`), m = Mt(() => l.flattenOptions, [() => t.open, () => l.flattenOptions], (r) => r[0]), g = Et(), p = (r) => {
37
37
  r.preventDefault();
38
38
  }, s = (r) => {
39
39
  g.current && g.current.scrollTo(typeof r == "number" ? {
@@ -41,14 +41,14 @@ const el = pe({
41
41
  } : r);
42
42
  }, C = function(r) {
43
43
  let T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
44
- const N = f.value.length;
44
+ const N = m.value.length;
45
45
  for (let y = 0; y < N; y += 1) {
46
- const D = (r + y * T + N) % N, {
46
+ const F = (r + y * T + N) % N, {
47
47
  group: z,
48
- data: j
49
- } = f.value[D];
50
- if (!z && !j.disabled)
51
- return D;
48
+ data: M
49
+ } = m.value[F];
50
+ if (!z && !M.disabled)
51
+ return F;
52
52
  }
53
53
  return -1;
54
54
  }, b = Tt({
@@ -58,14 +58,14 @@ const el = pe({
58
58
  b.activeIndex = r;
59
59
  const N = {
60
60
  source: T ? "keyboard" : "mouse"
61
- }, y = f.value[r];
61
+ }, y = m.value[r];
62
62
  if (!y) {
63
63
  l.onActiveValue(null, -1, N);
64
64
  return;
65
65
  }
66
66
  l.onActiveValue(y.value, r, N);
67
67
  };
68
- xe([() => f.value.length, () => t.searchValue], () => {
68
+ xe([() => m.value.length, () => t.searchValue], () => {
69
69
  A(l.defaultActiveFirstOption !== !1 ? C(0) : -1);
70
70
  }, {
71
71
  immediate: !0
@@ -73,7 +73,7 @@ const el = pe({
73
73
  const v = (r) => l.rawValues.has(r) && t.mode !== "combobox";
74
74
  xe([() => t.open, () => t.searchValue], () => {
75
75
  if (!t.multiple && t.open && l.rawValues.size === 1) {
76
- const r = Array.from(l.rawValues)[0], T = Qe(f.value).findIndex((N) => {
76
+ const r = Array.from(l.rawValues)[0], T = Qe(m.value).findIndex((N) => {
77
77
  let {
78
78
  data: y
79
79
  } = N;
@@ -97,18 +97,18 @@ const el = pe({
97
97
  }), t.multiple || t.toggleOpen(!1);
98
98
  }, x = (r) => typeof r.label == "function" ? r.label() : r.label;
99
99
  function O(r) {
100
- const T = f.value[r];
100
+ const T = m.value[r];
101
101
  if (!T) return null;
102
102
  const N = T.data || {}, {
103
103
  value: y
104
104
  } = N, {
105
- group: D
106
- } = T, z = Et(N, !0), j = x(T);
107
- return T ? V("div", H(H({
108
- "aria-label": typeof j == "string" && !D ? j : null
105
+ group: F
106
+ } = T, z = Dt(N, !0), M = x(T);
107
+ return T ? V("div", j(j({
108
+ "aria-label": typeof M == "string" && !F ? M : null
109
109
  }, z), {}, {
110
110
  key: r,
111
- role: D ? "presentation" : "option",
111
+ role: F ? "presentation" : "option",
112
112
  id: `${t.id}_list_${r}`,
113
113
  "aria-selected": v(y)
114
114
  }), [y]) : null;
@@ -126,13 +126,13 @@ const el = pe({
126
126
  case ee.DOWN: {
127
127
  let y = 0;
128
128
  if (T === ee.UP ? y = -1 : T === ee.DOWN ? y = 1 : Qt() && N && (T === ee.N ? y = 1 : T === ee.P && (y = -1)), y !== 0) {
129
- const D = C(b.activeIndex + y, y);
130
- s(D), A(D, !0);
129
+ const F = C(b.activeIndex + y, y);
130
+ s(F), A(F, !0);
131
131
  }
132
132
  break;
133
133
  }
134
134
  case ee.ENTER: {
135
- const y = f.value[b.activeIndex];
135
+ const y = m.value[b.activeIndex];
136
136
  y && !y.data.disabled ? S(y.value) : S(void 0), t.open && r.preventDefault();
137
137
  break;
138
138
  }
@@ -152,19 +152,19 @@ const el = pe({
152
152
  onPopupScroll: N
153
153
  } = t, {
154
154
  menuItemSelectedIcon: y,
155
- fieldNames: D,
155
+ fieldNames: F,
156
156
  virtual: z,
157
- listHeight: j,
157
+ listHeight: M,
158
158
  listItemHeight: he
159
159
  } = l, Q = a.option, {
160
160
  activeIndex: U
161
- } = b, be = Object.keys(D).map((M) => D[M]);
162
- return f.value.length === 0 ? V("div", {
161
+ } = b, be = Object.keys(F).map((_) => F[_]);
162
+ return m.value.length === 0 ? V("div", {
163
163
  role: "listbox",
164
164
  id: `${r}_list`,
165
165
  class: `${d.value}-empty`,
166
166
  onMousedown: p
167
- }, [T]) : V(Be, null, [V("div", {
167
+ }, [T]) : V(Re, null, [V("div", {
168
168
  role: "listbox",
169
169
  id: `${r}_list`,
170
170
  style: {
@@ -175,30 +175,30 @@ const el = pe({
175
175
  }, [O(U - 1), O(U), O(U + 1)]), V(Pt, {
176
176
  itemKey: "key",
177
177
  ref: g,
178
- data: f.value,
179
- height: j,
178
+ data: m.value,
179
+ height: M,
180
180
  itemHeight: he,
181
181
  fullHeight: !1,
182
182
  onMousedown: p,
183
183
  onScroll: N,
184
184
  virtual: z
185
185
  }, {
186
- default: (M, oe) => {
186
+ default: (_, oe) => {
187
187
  var ie;
188
188
  const {
189
189
  group: ye,
190
190
  groupOption: ve,
191
191
  data: K,
192
192
  value: I
193
- } = M, {
194
- key: L
195
- } = K, $ = typeof M.label == "function" ? M.label() : M.label;
193
+ } = _, {
194
+ key: k
195
+ } = K, $ = typeof _.label == "function" ? _.label() : _.label;
196
196
  if (ye) {
197
197
  const ce = (ie = K.title) !== null && ie !== void 0 ? ie : Ue($) && $;
198
198
  return V("div", {
199
199
  class: ge(d.value, `${d.value}-group`),
200
200
  title: ce
201
- }, [Q ? Q(K) : $ !== void 0 ? $ : L]);
201
+ }, [Q ? Q(K) : $ !== void 0 ? $ : k]);
202
202
  }
203
203
  const {
204
204
  disabled: q,
@@ -207,14 +207,14 @@ const el = pe({
207
207
  style: Se,
208
208
  class: n,
209
209
  className: o
210
- } = K, c = Zt(K, ["disabled", "title", "children", "style", "class", "className"]), h = Ve(c, be), u = v(I), F = `${d.value}-option`, le = ge(d.value, F, n, o, {
211
- [`${F}-grouped`]: ve,
212
- [`${F}-active`]: U === oe && !q,
213
- [`${F}-disabled`]: q,
214
- [`${F}-selected`]: u
215
- }), Y = x(M), fe = !y || typeof y == "function" || u, P = typeof Y == "number" ? Y : Y || I;
210
+ } = K, c = Zt(K, ["disabled", "title", "children", "style", "class", "className"]), h = Ve(c, be), u = v(I), B = `${d.value}-option`, le = ge(d.value, B, n, o, {
211
+ [`${B}-grouped`]: ve,
212
+ [`${B}-active`]: U === oe && !q,
213
+ [`${B}-disabled`]: q,
214
+ [`${B}-selected`]: u
215
+ }), Y = x(_), me = !y || typeof y == "function" || u, P = typeof Y == "number" ? Y : Y || I;
216
216
  let Ie = Ue(P) ? P.toString() : void 0;
217
- return se !== void 0 && (Ie = se), V("div", H(H({}, h), {}, {
217
+ return se !== void 0 && (Ie = se), V("div", j(j({}, h), {}, {
218
218
  "aria-selected": u,
219
219
  class: le,
220
220
  title: Ie,
@@ -226,8 +226,8 @@ const el = pe({
226
226
  },
227
227
  style: Se
228
228
  }), [V("div", {
229
- class: `${F}-content`
230
- }, [Q ? Q(K) : P]), We(y) || u, fe && V(Mt, {
229
+ class: `${B}-content`
230
+ }, [Q ? Q(K) : P]), We(y) || u, me && V(_t, {
231
231
  class: `${d.value}-option-state`,
232
232
  customizeIcon: y,
233
233
  customizeIconProps: {
@@ -241,30 +241,30 @@ const el = pe({
241
241
  };
242
242
  }
243
243
  });
244
- var tl = function(e, m) {
244
+ var tl = function(e, f) {
245
245
  var i = {};
246
- for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && m.indexOf(a) < 0 && (i[a] = e[a]);
246
+ for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && f.indexOf(a) < 0 && (i[a] = e[a]);
247
247
  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var t = 0, a = Object.getOwnPropertySymbols(e); t < a.length; t++)
248
- m.indexOf(a[t]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[t]) && (i[a[t]] = e[a[t]]);
248
+ f.indexOf(a[t]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[t]) && (i[a[t]] = e[a[t]]);
249
249
  return i;
250
250
  };
251
251
  function ll(e) {
252
- const m = e, {
252
+ const f = e, {
253
253
  key: i,
254
254
  children: a
255
- } = m, t = m.props, {
255
+ } = f, t = f.props, {
256
256
  value: l,
257
257
  disabled: d
258
- } = t, f = tl(t, ["value", "disabled"]), g = a == null ? void 0 : a.default;
259
- return k({
258
+ } = t, m = tl(t, ["value", "disabled"]), g = a == null ? void 0 : a.default;
259
+ return E({
260
260
  key: i,
261
261
  value: l !== void 0 ? l : i,
262
262
  children: g,
263
263
  disabled: d || d === ""
264
- }, f);
264
+ }, m);
265
265
  }
266
266
  function Je(e) {
267
- let m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
267
+ let f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
268
268
  return ot(e).map((a, t) => {
269
269
  var l;
270
270
  if (!We(a) || !a.type)
@@ -273,30 +273,30 @@ function Je(e) {
273
273
  type: {
274
274
  isSelectOptGroup: d
275
275
  },
276
- key: f,
276
+ key: m,
277
277
  children: g,
278
278
  props: p
279
279
  } = a;
280
- if (m || !d)
280
+ if (f || !d)
281
281
  return ll(a);
282
- const s = g && g.default ? g.default() : void 0, C = (p == null ? void 0 : p.label) || ((l = g.label) === null || l === void 0 ? void 0 : l.call(g)) || f;
283
- return k(k({
284
- key: `__RC_SELECT_GRP__${f === null ? t : String(f)}__`
282
+ const s = g && g.default ? g.default() : void 0, C = (p == null ? void 0 : p.label) || ((l = g.label) === null || l === void 0 ? void 0 : l.call(g)) || m;
283
+ return E(E({
284
+ key: `__RC_SELECT_GRP__${m === null ? t : String(m)}__`
285
285
  }, p), {
286
286
  label: C,
287
287
  options: Je(s || [])
288
288
  });
289
289
  }).filter((a) => a);
290
290
  }
291
- function nl(e, m, i) {
291
+ function nl(e, f, i) {
292
292
  const a = de(), t = de(), l = de(), d = de([]);
293
- return xe([e, m], () => {
294
- e.value ? d.value = Qe(e.value).slice() : d.value = Je(m.value);
293
+ return xe([e, f], () => {
294
+ e.value ? d.value = Qe(e.value).slice() : d.value = Je(f.value);
295
295
  }, {
296
296
  immediate: !0,
297
297
  deep: !0
298
298
  }), Ne(() => {
299
- const f = d.value, g = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), s = i.value;
299
+ const m = d.value, g = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), s = i.value;
300
300
  function C(b) {
301
301
  let A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
302
302
  for (let v = 0; v < b.length; v += 1) {
@@ -304,7 +304,7 @@ function nl(e, m, i) {
304
304
  !S[s.options] || A ? (g.set(S[s.value], S), p.set(S[s.label], S)) : C(S[s.options], !0);
305
305
  }
306
306
  }
307
- C(f), a.value = f, t.value = g, l.value = p;
307
+ C(m), a.value = m, t.value = g, l.value = p;
308
308
  }), {
309
309
  options: a,
310
310
  valueOptions: t,
@@ -314,33 +314,33 @@ function nl(e, m, i) {
314
314
  function Ze(e) {
315
315
  return Array.isArray(e) ? e : e !== void 0 ? [e] : [];
316
316
  }
317
- function ke(e, m) {
318
- return Ze(e).join("").toUpperCase().includes(m);
317
+ function Ee(e, f) {
318
+ return Ze(e).join("").toUpperCase().includes(f);
319
319
  }
320
- const al = (e, m, i, a, t) => w(() => {
321
- const l = i.value, d = t == null ? void 0 : t.value, f = a == null ? void 0 : a.value;
322
- if (!l || f === !1)
320
+ const al = (e, f, i, a, t) => w(() => {
321
+ const l = i.value, d = t == null ? void 0 : t.value, m = a == null ? void 0 : a.value;
322
+ if (!l || m === !1)
323
323
  return e.value;
324
324
  const {
325
325
  options: g,
326
326
  label: p,
327
327
  value: s
328
- } = m.value, C = [], b = typeof f == "function", A = l.toUpperCase(), v = b ? f : (x, O) => d ? ke(O[d], A) : O[g] ? ke(O[p !== "children" ? p : "label"], A) : ke(O[s], A), S = b ? (x) => Ee(x) : (x) => x;
328
+ } = f.value, C = [], b = typeof m == "function", A = l.toUpperCase(), v = b ? m : (x, O) => d ? Ee(O[d], A) : O[g] ? Ee(O[p !== "children" ? p : "label"], A) : Ee(O[s], A), S = b ? (x) => De(x) : (x) => x;
329
329
  return e.value.forEach((x) => {
330
330
  if (x[g]) {
331
331
  if (v(l, S(x)))
332
332
  C.push(x);
333
333
  else {
334
- const R = x[g].filter((G) => v(l, S(G)));
335
- R.length && C.push(k(k({}, x), {
336
- [g]: R
334
+ const L = x[g].filter((G) => v(l, S(G)));
335
+ L.length && C.push(E(E({}, x), {
336
+ [g]: L
337
337
  }));
338
338
  }
339
339
  return;
340
340
  }
341
341
  v(l, S(x)) && C.push(x);
342
342
  }), C;
343
- }), ol = (e, m) => {
343
+ }), ol = (e, f) => {
344
344
  const i = de({
345
345
  values: /* @__PURE__ */ new Map(),
346
346
  options: /* @__PURE__ */ new Map()
@@ -349,19 +349,19 @@ const al = (e, m, i, a, t) => w(() => {
349
349
  const {
350
350
  values: l,
351
351
  options: d
352
- } = i.value, f = e.value.map((s) => {
352
+ } = i.value, m = e.value.map((s) => {
353
353
  var C;
354
- return s.label === void 0 ? k(k({}, s), {
354
+ return s.label === void 0 ? E(E({}, s), {
355
355
  label: (C = l.get(s.value)) === null || C === void 0 ? void 0 : C.label
356
356
  }) : s;
357
357
  }), g = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map();
358
- return f.forEach((s) => {
359
- g.set(s.value, s), p.set(s.value, m.value.get(s.value) || d.get(s.value));
360
- }), i.value.values = g, i.value.options = p, f;
361
- }), (l) => m.value.get(l) || i.value.options.get(l)];
358
+ return m.forEach((s) => {
359
+ g.set(s.value, s), p.set(s.value, f.value.get(s.value) || d.get(s.value));
360
+ }), i.value.values = g, i.value.options = p, m;
361
+ }), (l) => f.value.get(l) || i.value.options.get(l)];
362
362
  }, il = ["inputValue"];
363
363
  function et() {
364
- return k(k({}, Yt()), {
364
+ return E(E({}, Yt()), {
365
365
  prefixCls: String,
366
366
  id: String,
367
367
  backfill: {
@@ -435,13 +435,13 @@ const rl = pe({
435
435
  listItemHeight: 20,
436
436
  dropdownMatchSelectWidth: !0
437
437
  }),
438
- setup(e, m) {
438
+ setup(e, f) {
439
439
  let {
440
440
  expose: i,
441
441
  attrs: a,
442
442
  slots: t
443
- } = m;
444
- const l = _t(ne(e, "id")), d = w(() => Ht(e.mode)), f = w(() => !!(!e.options && e.children)), g = w(() => e.filterOption === void 0 && e.mode === "combobox" ? !1 : e.filterOption), p = w(() => zt(e.fieldNames, f.value)), [s, C] = Me("", {
443
+ } = f;
444
+ const l = Ht(ne(e, "id")), d = w(() => jt(e.mode)), m = w(() => !!(!e.options && e.children)), g = w(() => e.filterOption === void 0 && e.mode === "combobox" ? !1 : e.filterOption), p = w(() => zt(e.fieldNames, m.value)), [s, C] = _e("", {
445
445
  value: w(() => e.searchValue !== void 0 ? e.searchValue : e.inputValue),
446
446
  postState: (n) => n || ""
447
447
  }), b = nl(ne(e, "options"), ne(e, "children"), p), {
@@ -450,39 +450,39 @@ const rl = pe({
450
450
  options: S
451
451
  } = b, x = (n) => Ze(n).map((c) => {
452
452
  var h, u;
453
- let F, le, Y, fe;
454
- sl(c) ? F = c : (Y = c.key, le = c.label, F = (h = c.value) !== null && h !== void 0 ? h : Y);
455
- const P = A.value.get(F);
456
- return P && (le === void 0 && (le = P == null ? void 0 : P[e.optionLabelProp || p.value.label]), Y === void 0 && (Y = (u = P == null ? void 0 : P.key) !== null && u !== void 0 ? u : F), fe = P == null ? void 0 : P.disabled), {
453
+ let B, le, Y, me;
454
+ sl(c) ? B = c : (Y = c.key, le = c.label, B = (h = c.value) !== null && h !== void 0 ? h : Y);
455
+ const P = A.value.get(B);
456
+ return P && (le === void 0 && (le = P == null ? void 0 : P[e.optionLabelProp || p.value.label]), Y === void 0 && (Y = (u = P == null ? void 0 : P.key) !== null && u !== void 0 ? u : B), me = P == null ? void 0 : P.disabled), {
457
457
  label: le,
458
- value: F,
458
+ value: B,
459
459
  key: Y,
460
- disabled: fe,
460
+ disabled: me,
461
461
  option: P
462
462
  };
463
- }), [O, R] = Me(e.defaultValue, {
463
+ }), [O, L] = _e(e.defaultValue, {
464
464
  value: ne(e, "value")
465
465
  }), G = w(() => {
466
466
  var n;
467
467
  const o = x(O.value);
468
468
  return e.mode === "combobox" && !(!((n = o[0]) === null || n === void 0) && n.value) ? [] : o;
469
- }), [E, r] = ol(G, A), T = w(() => {
470
- if (!e.mode && E.value.length === 1) {
471
- const n = E.value[0];
469
+ }), [D, r] = ol(G, A), T = w(() => {
470
+ if (!e.mode && D.value.length === 1) {
471
+ const n = D.value[0];
472
472
  if (n.value === null && (n.label === null || n.label === void 0))
473
473
  return [];
474
474
  }
475
- return E.value.map((n) => {
475
+ return D.value.map((n) => {
476
476
  var o;
477
- return k(k({}, n), {
477
+ return E(E({}, n), {
478
478
  label: (o = typeof n.label == "function" ? n.label() : n.label) !== null && o !== void 0 ? o : n.value
479
479
  });
480
480
  });
481
- }), N = w(() => new Set(E.value.map((n) => n.value)));
481
+ }), N = w(() => new Set(D.value.map((n) => n.value)));
482
482
  Ne(() => {
483
483
  var n;
484
484
  if (e.mode === "combobox") {
485
- const o = (n = E.value[0]) === null || n === void 0 ? void 0 : n.value;
485
+ const o = (n = D.value[0]) === null || n === void 0 ? void 0 : n.value;
486
486
  o != null && C(String(o));
487
487
  }
488
488
  }, {
@@ -494,32 +494,32 @@ const rl = pe({
494
494
  [p.value.value]: n,
495
495
  [p.value.label]: c
496
496
  };
497
- }, D = de();
497
+ }, F = de();
498
498
  Ne(() => {
499
499
  if (e.mode !== "tags") {
500
- D.value = S.value;
500
+ F.value = S.value;
501
501
  return;
502
502
  }
503
503
  const n = S.value.slice(), o = (c) => A.value.has(c);
504
- [...E.value].sort((c, h) => c.value < h.value ? -1 : 1).forEach((c) => {
504
+ [...D.value].sort((c, h) => c.value < h.value ? -1 : 1).forEach((c) => {
505
505
  const h = c.value;
506
506
  o(h) || n.push(y(h, c.label));
507
- }), D.value = n;
507
+ }), F.value = n;
508
508
  });
509
- const z = al(D, p, s, g, ne(e, "optionFilterProp")), j = w(() => e.mode !== "tags" || !s.value || z.value.some((n) => n[e.optionFilterProp || "value"] === s.value) ? z.value : [y(s.value), ...z.value]), he = w(() => e.filterSort ? [...j.value].sort((n, o) => e.filterSort(n, o)) : j.value), Q = w(() => Ut(he.value, {
509
+ const z = al(F, p, s, g, ne(e, "optionFilterProp")), M = w(() => e.mode !== "tags" || !s.value || z.value.some((n) => n[e.optionFilterProp || "value"] === s.value) ? z.value : [y(s.value), ...z.value]), he = w(() => e.filterSort ? [...M.value].sort((n, o) => e.filterSort(n, o)) : M.value), Q = w(() => Ut(he.value, {
510
510
  fieldNames: p.value,
511
- childrenAsData: f.value
511
+ childrenAsData: m.value
512
512
  })), U = (n) => {
513
513
  const o = x(n);
514
- if (R(o), e.onChange && // Trigger event only when value changed
515
- (o.length !== E.value.length || o.some((c, h) => {
514
+ if (L(o), e.onChange && // Trigger event only when value changed
515
+ (o.length !== D.value.length || o.some((c, h) => {
516
516
  var u;
517
- return ((u = E.value[h]) === null || u === void 0 ? void 0 : u.value) !== (c == null ? void 0 : c.value);
517
+ return ((u = D.value[h]) === null || u === void 0 ? void 0 : u.value) !== (c == null ? void 0 : c.value);
518
518
  }))) {
519
- const c = e.labelInValue ? o.map((u) => k(k({}, u), {
519
+ const c = e.labelInValue ? o.map((u) => E(E({}, u), {
520
520
  originLabel: u.label,
521
521
  label: typeof u.label == "function" ? u.label() : u.label
522
- })) : o.map((u) => u.value), h = o.map((u) => Ee(r(u.value)));
522
+ })) : o.map((u) => u.value), h = o.map((u) => De(r(u.value)));
523
523
  e.onChange(
524
524
  // Value
525
525
  d.value ? c : c[0],
@@ -527,21 +527,21 @@ const rl = pe({
527
527
  d.value ? h : h[0]
528
528
  );
529
529
  }
530
- }, [be, M] = _e(null), [oe, ie] = _e(0), ye = w(() => e.defaultActiveFirstOption !== void 0 ? e.defaultActiveFirstOption : e.mode !== "combobox"), ve = function(n, o) {
530
+ }, [be, _] = He(null), [oe, ie] = He(0), ye = w(() => e.defaultActiveFirstOption !== void 0 ? e.defaultActiveFirstOption : e.mode !== "combobox"), ve = function(n, o) {
531
531
  let {
532
532
  source: c = "keyboard"
533
533
  } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
534
- ie(o), e.backfill && e.mode === "combobox" && n !== null && c === "keyboard" && M(String(n));
534
+ ie(o), e.backfill && e.mode === "combobox" && n !== null && c === "keyboard" && _(String(n));
535
535
  }, K = (n, o) => {
536
536
  const c = () => {
537
537
  var h;
538
- const u = r(n), F = u == null ? void 0 : u[p.value.label];
538
+ const u = r(n), B = u == null ? void 0 : u[p.value.label];
539
539
  return [e.labelInValue ? {
540
- label: typeof F == "function" ? F() : F,
541
- originLabel: F,
540
+ label: typeof B == "function" ? B() : B,
541
+ originLabel: B,
542
542
  value: n,
543
543
  key: (h = u == null ? void 0 : u.key) !== null && h !== void 0 ? h : n
544
- } : n, Ee(u)];
544
+ } : n, De(u)];
545
545
  };
546
546
  if (o && e.onSelect) {
547
547
  const [h, u] = c();
@@ -553,14 +553,14 @@ const rl = pe({
553
553
  }, I = (n, o) => {
554
554
  let c;
555
555
  const h = d.value ? o.selected : !0;
556
- h ? c = d.value ? [...E.value, n] : [n] : c = E.value.filter((u) => u.value !== n), U(c), K(n, h), e.mode === "combobox" ? M("") : (!d.value || e.autoClearSearchValue) && (C(""), M(""));
557
- }, L = (n, o) => {
556
+ h ? c = d.value ? [...D.value, n] : [n] : c = D.value.filter((u) => u.value !== n), U(c), K(n, h), e.mode === "combobox" ? _("") : (!d.value || e.autoClearSearchValue) && (C(""), _(""));
557
+ }, k = (n, o) => {
558
558
  U(n), (o.type === "remove" || o.type === "clear") && o.values.forEach((c) => {
559
559
  K(c.value, !1);
560
560
  });
561
561
  }, $ = (n, o) => {
562
562
  var c;
563
- if (C(n), M(null), o.source === "submit") {
563
+ if (C(n), _(null), o.source === "submit") {
564
564
  const h = (n || "").trim();
565
565
  if (h) {
566
566
  const u = Array.from(/* @__PURE__ */ new Set([...N.value, h]));
@@ -580,7 +580,7 @@ const rl = pe({
580
580
  K(h, !0);
581
581
  });
582
582
  }, se = w(() => e.virtual !== !1 && e.dropdownMatchSelectWidth !== !1);
583
- qt(Kt(k(k({}, b), {
583
+ qt(Kt(E(E({}, b), {
584
584
  flattenOptions: Q,
585
585
  onActiveValue: ve,
586
586
  defaultActiveFirstOption: ye,
@@ -591,9 +591,9 @@ const rl = pe({
591
591
  virtual: se,
592
592
  listHeight: ne(e, "listHeight"),
593
593
  listItemHeight: ne(e, "listItemHeight"),
594
- childrenAsData: f
594
+ childrenAsData: m
595
595
  })));
596
- const re = Re();
596
+ const re = Le();
597
597
  i({
598
598
  focus() {
599
599
  var n;
@@ -641,14 +641,14 @@ const rl = pe({
641
641
  "labelInValue",
642
642
  "onChange"
643
643
  ]));
644
- return () => V(Gt, H(H(H({}, Se.value), a), {}, {
644
+ return () => V(Gt, j(j(j({}, Se.value), a), {}, {
645
645
  id: l,
646
646
  prefixCls: e.prefixCls,
647
647
  ref: re,
648
648
  omitDomProps: il,
649
649
  mode: e.mode,
650
650
  displayValues: T.value,
651
- onDisplayValuesChange: L,
651
+ onDisplayValuesChange: k,
652
652
  searchValue: s.value,
653
653
  onSearch: $,
654
654
  onSearchSplit: q,
@@ -659,15 +659,15 @@ const rl = pe({
659
659
  activeDescendantId: `${l}_list_${oe.value}`
660
660
  }), t);
661
661
  }
662
- }), Le = () => null;
663
- Le.isSelectOption = !0;
664
- Le.displayName = "ASelectOption";
662
+ }), ke = () => null;
663
+ ke.isSelectOption = !0;
664
+ ke.displayName = "ASelectOption";
665
665
  const $e = () => null;
666
666
  $e.isSelectOptGroup = !0;
667
667
  $e.displayName = "ASelectOptGroup";
668
- const cl = () => k(k({}, Ve(et(), ["inputIcon", "mode", "getInputElement", "getRawInputElement", "backfill"])), {
669
- value: He([Array, Object, String, Number]),
670
- defaultValue: He([Array, Object, String, Number]),
668
+ const cl = () => E(E({}, Ve(et(), ["inputIcon", "mode", "getInputElement", "getRawInputElement", "backfill"])), {
669
+ value: je([Array, Object, String, Number]),
670
+ defaultValue: je([Array, Object, String, Number]),
671
671
  notFoundContent: ae.any,
672
672
  suffixIcon: ae.any,
673
673
  itemIcon: ae.any,
@@ -687,7 +687,7 @@ const cl = () => k(k({}, Ve(et(), ["inputIcon", "mode", "getInputElement", "getR
687
687
  MODE: 3
688
688
  },
689
689
  name: "ASelect",
690
- Option: Le,
690
+ Option: ke,
691
691
  OptGroup: $e,
692
692
  inheritAttrs: !1,
693
693
  props: Xe(cl(), {
@@ -696,22 +696,22 @@ const cl = () => k(k({}, Ve(et(), ["inputIcon", "mode", "getInputElement", "getR
696
696
  }),
697
697
  SECRET_COMBOBOX_MODE_DO_NOT_USE: Ke,
698
698
  slots: Object,
699
- setup(e, m) {
699
+ setup(e, f) {
700
700
  let {
701
701
  attrs: i,
702
702
  emit: a,
703
703
  slots: t,
704
704
  expose: l
705
- } = m;
706
- const d = Re(), f = Dt(), g = Ft.useInject(), p = w(() => Bt(g.status, e.status)), s = () => {
705
+ } = f;
706
+ const d = Le(), m = Ft(), g = Bt.useInject(), p = w(() => Rt(g.status, e.status)), s = () => {
707
707
  var I;
708
708
  (I = d.value) === null || I === void 0 || I.focus();
709
709
  }, C = () => {
710
710
  var I;
711
711
  (I = d.value) === null || I === void 0 || I.blur();
712
712
  }, b = (I) => {
713
- var L;
714
- (L = d.value) === null || L === void 0 || L.scrollTo(I);
713
+ var k;
714
+ (k = d.value) === null || k === void 0 || k.scrollTo(I);
715
715
  }, A = w(() => {
716
716
  const {
717
717
  mode: I
@@ -723,29 +723,29 @@ const cl = () => k(k({}, Ve(et(), ["inputIcon", "mode", "getInputElement", "getR
723
723
  direction: S,
724
724
  configProvider: x,
725
725
  renderEmpty: O,
726
- size: R,
726
+ size: L,
727
727
  getPrefixCls: G,
728
- getPopupContainer: E,
728
+ getPopupContainer: D,
729
729
  disabled: r,
730
730
  select: T
731
- } = Fe("select", e), {
731
+ } = Be("select", e), {
732
732
  compactSize: N,
733
733
  compactItemClassnames: y
734
- } = it(v, S), D = w(() => N.value || R.value), z = st(), j = w(() => {
734
+ } = it(v, S), F = w(() => N.value || L.value), z = st(), M = w(() => {
735
735
  var I;
736
736
  return (I = r.value) !== null && I !== void 0 ? I : z.value;
737
- }), [he, Q] = Wt(v), U = w(() => G()), be = w(() => e.placement !== void 0 ? e.placement : S.value === "rtl" ? "bottomRight" : "bottomLeft"), M = w(() => rt(U.value, ct(be.value), e.transitionName)), oe = w(() => ge({
738
- [`${v.value}-lg`]: D.value === "large",
739
- [`${v.value}-sm`]: D.value === "small",
737
+ }), [he, Q] = Wt(v), U = w(() => G()), be = w(() => e.placement !== void 0 ? e.placement : S.value === "rtl" ? "bottomRight" : "bottomLeft"), _ = w(() => rt(U.value, ct(be.value), e.transitionName)), oe = w(() => ge({
738
+ [`${v.value}-lg`]: F.value === "large",
739
+ [`${v.value}-sm`]: F.value === "small",
740
740
  [`${v.value}-rtl`]: S.value === "rtl",
741
741
  [`${v.value}-borderless`]: !e.bordered,
742
742
  [`${v.value}-in-form-item`]: g.isFormItemInput
743
- }, Rt(v.value, p.value, g.hasFeedback), y.value, Q.value)), ie = function() {
744
- for (var I = arguments.length, L = new Array(I), $ = 0; $ < I; $++)
745
- L[$] = arguments[$];
746
- a("update:value", L[0]), a("change", ...L), f.onFieldChange();
743
+ }, Lt(v.value, p.value, g.hasFeedback), y.value, Q.value)), ie = function() {
744
+ for (var I = arguments.length, k = new Array(I), $ = 0; $ < I; $++)
745
+ k[$] = arguments[$];
746
+ a("update:value", k[0]), a("change", ...k), m.onFieldChange();
747
747
  }, ye = (I) => {
748
- a("blur", I), f.onFieldBlur();
748
+ a("blur", I), m.onFieldBlur();
749
749
  };
750
750
  l({
751
751
  blur: C,
@@ -754,7 +754,7 @@ const cl = () => k(k({}, Ve(et(), ["inputIcon", "mode", "getInputElement", "getR
754
754
  });
755
755
  const ve = w(() => A.value === "multiple" || A.value === "tags"), K = w(() => e.showArrow !== void 0 ? e.showArrow : e.loading || !(ve.value || A.value === "combobox"));
756
756
  return () => {
757
- var I, L, $, q;
757
+ var I, k, $, q;
758
758
  const {
759
759
  notFoundContent: se,
760
760
  listHeight: re = 256,
@@ -763,12 +763,12 @@ const cl = () => k(k({}, Ve(et(), ["inputIcon", "mode", "getInputElement", "getR
763
763
  dropdownClassName: o,
764
764
  virtual: c,
765
765
  dropdownMatchSelectWidth: h,
766
- id: u = f.id.value,
767
- placeholder: F = (I = t.placeholder) === null || I === void 0 ? void 0 : I.call(t),
766
+ id: u = m.id.value,
767
+ placeholder: B = (I = t.placeholder) === null || I === void 0 ? void 0 : I.call(t),
768
768
  showArrow: le
769
769
  } = e, {
770
770
  hasFeedback: Y,
771
- feedbackIcon: fe
771
+ feedbackIcon: me
772
772
  } = g;
773
773
  let P;
774
774
  se !== void 0 ? P = se : t.notFoundContent ? P = t.notFoundContent() : A.value === "combobox" ? P = null : P = (O == null ? void 0 : O("Select")) || V(ut, {
@@ -779,22 +779,22 @@ const cl = () => k(k({}, Ve(et(), ["inputIcon", "mode", "getInputElement", "getR
779
779
  itemIcon: ce,
780
780
  removeIcon: lt,
781
781
  clearIcon: nt
782
- } = Xt(k(k({}, e), {
782
+ } = Xt(E(E({}, e), {
783
783
  multiple: ve.value,
784
784
  prefixCls: v.value,
785
785
  hasFeedback: Y,
786
- feedbackIcon: fe,
786
+ feedbackIcon: me,
787
787
  showArrow: K.value
788
- }), t), je = Ve(e, ["prefixCls", "suffixIcon", "itemIcon", "removeIcon", "clearIcon", "size", "bordered", "status"]), at = ge(n || o, {
788
+ }), t), Me = Ve(e, ["prefixCls", "suffixIcon", "itemIcon", "removeIcon", "clearIcon", "size", "bordered", "status"]), at = ge(n || o, {
789
789
  [`${v.value}-dropdown-${S.value}`]: S.value === "rtl"
790
790
  }, Q.value);
791
- return he(V(rl, H(H(H({
791
+ return he(V(rl, j(j(j({
792
792
  ref: d,
793
793
  virtual: c,
794
794
  dropdownMatchSelectWidth: h
795
- }, je), i), {}, {
796
- showSearch: (L = e.showSearch) !== null && L !== void 0 ? L : ($ = T == null ? void 0 : T.value) === null || $ === void 0 ? void 0 : $.showSearch,
797
- placeholder: F,
795
+ }, Me), i), {}, {
796
+ showSearch: (k = e.showSearch) !== null && k !== void 0 ? k : ($ = T == null ? void 0 : T.value) === null || $ === void 0 ? void 0 : $.showSearch,
797
+ placeholder: B,
798
798
  listHeight: re,
799
799
  listItemHeight: Se,
800
800
  mode: A.value,
@@ -806,19 +806,19 @@ const cl = () => k(k({}, Ve(et(), ["inputIcon", "mode", "getInputElement", "getR
806
806
  clearIcon: nt,
807
807
  notFoundContent: P,
808
808
  class: [oe.value, i.class],
809
- getPopupContainer: E == null ? void 0 : E.value,
809
+ getPopupContainer: D == null ? void 0 : D.value,
810
810
  dropdownClassName: at,
811
811
  onChange: ie,
812
812
  onBlur: ye,
813
813
  id: u,
814
- dropdownRender: je.dropdownRender || t.dropdownRender,
815
- transitionName: M.value,
814
+ dropdownRender: Me.dropdownRender || t.dropdownRender,
815
+ transitionName: _.value,
816
816
  children: (q = t.default) === null || q === void 0 ? void 0 : q.call(t),
817
817
  tagRender: e.tagRender || t.tagRender,
818
818
  optionLabelRender: t.optionLabel,
819
819
  maxTagPlaceholder: e.maxTagPlaceholder || t.maxTagPlaceholder,
820
820
  showArrow: Y || le,
821
- disabled: j.value
821
+ disabled: M.value
822
822
  }), {
823
823
  option: t.option
824
824
  }));
@@ -830,10 +830,10 @@ te.install = function(e) {
830
830
  };
831
831
  te.Option;
832
832
  te.OptGroup;
833
- const Te = (e, m, i) => {
833
+ const Te = (e, f, i) => {
834
834
  const a = gt(i);
835
835
  return {
836
- [`${e.componentCls}-${m}`]: {
836
+ [`${e.componentCls}-${f}`]: {
837
837
  color: e[`color${i}`],
838
838
  background: e[`color${a}Bg`],
839
839
  borderColor: e[`color${a}Border`],
@@ -842,7 +842,7 @@ const Te = (e, m, i) => {
842
842
  }
843
843
  }
844
844
  };
845
- }, ul = (e) => pt(e, (m, i) => {
845
+ }, ul = (e) => pt(e, (f, i) => {
846
846
  let {
847
847
  textColor: a,
848
848
  lightBorderColor: t,
@@ -850,7 +850,7 @@ const Te = (e, m, i) => {
850
850
  darkColor: d
851
851
  } = i;
852
852
  return {
853
- [`${e.componentCls}-${m}`]: {
853
+ [`${e.componentCls}-${f}`]: {
854
854
  color: a,
855
855
  background: l,
856
856
  borderColor: t,
@@ -867,14 +867,14 @@ const Te = (e, m, i) => {
867
867
  };
868
868
  }), dl = (e) => {
869
869
  const {
870
- paddingXXS: m,
870
+ paddingXXS: f,
871
871
  lineWidth: i,
872
872
  tagPaddingHorizontal: a,
873
873
  componentCls: t
874
- } = e, l = a - i, d = m - i;
874
+ } = e, l = a - i, d = f - i;
875
875
  return {
876
876
  // Result
877
- [t]: k(k({}, ht(e)), {
877
+ [t]: E(E({}, ht(e)), {
878
878
  display: "inline-block",
879
879
  height: "auto",
880
880
  marginInlineEnd: e.marginXS,
@@ -945,15 +945,15 @@ const Te = (e, m, i) => {
945
945
  background: e.tagBorderlessBg
946
946
  }
947
947
  };
948
- }, tt = ft("Tag", (e) => {
948
+ }, tt = mt("Tag", (e) => {
949
949
  const {
950
- fontSize: m,
950
+ fontSize: f,
951
951
  lineHeight: i,
952
952
  lineWidth: a,
953
953
  fontSizeIcon: t
954
- } = e, l = Math.round(m * i), d = e.fontSizeSM, f = l - a * 2, g = e.colorFillAlter, p = e.colorText, s = mt(e, {
954
+ } = e, l = Math.round(f * i), d = e.fontSizeSM, m = l - a * 2, g = e.colorFillAlter, p = e.colorText, s = ft(e, {
955
955
  tagFontSize: d,
956
- tagLineHeight: f,
956
+ tagLineHeight: m,
957
957
  tagDefaultBg: g,
958
958
  tagDefaultColor: p,
959
959
  tagIconSize: t - 2 * a,
@@ -974,7 +974,7 @@ const Te = (e, m, i) => {
974
974
  type: Function
975
975
  },
976
976
  "onUpdate:checked": Function
977
- }), De = pe({
977
+ }), Fe = pe({
978
978
  compatConfig: {
979
979
  MODE: 3
980
980
  },
@@ -982,32 +982,32 @@ const Te = (e, m, i) => {
982
982
  inheritAttrs: !1,
983
983
  props: vl(),
984
984
  // emits: ['update:checked', 'change', 'click'],
985
- setup(e, m) {
985
+ setup(e, f) {
986
986
  let {
987
987
  slots: i,
988
988
  emit: a,
989
989
  attrs: t
990
- } = m;
990
+ } = f;
991
991
  const {
992
992
  prefixCls: l
993
- } = Fe("tag", e), [d, f] = tt(l), g = (s) => {
993
+ } = Be("tag", e), [d, m] = tt(l), g = (s) => {
994
994
  const {
995
995
  checked: C
996
996
  } = e;
997
997
  a("update:checked", !C), a("change", !C), a("click", s);
998
- }, p = w(() => ge(l.value, f.value, {
998
+ }, p = w(() => ge(l.value, m.value, {
999
999
  [`${l.value}-checkable`]: !0,
1000
1000
  [`${l.value}-checkable-checked`]: e.checked
1001
1001
  }));
1002
1002
  return () => {
1003
1003
  var s;
1004
- return d(V("span", H(H({}, t), {}, {
1004
+ return d(V("span", j(j({}, t), {}, {
1005
1005
  class: [p.value, t.class],
1006
1006
  onClick: g
1007
1007
  }), [(s = i.default) === null || s === void 0 ? void 0 : s.call(i)]));
1008
1008
  };
1009
1009
  }
1010
- }), fl = () => ({
1010
+ }), ml = () => ({
1011
1011
  prefixCls: String,
1012
1012
  color: {
1013
1013
  type: String
@@ -1032,25 +1032,25 @@ const Te = (e, m, i) => {
1032
1032
  type: Boolean,
1033
1033
  default: !0
1034
1034
  }
1035
- }), me = pe({
1035
+ }), fe = pe({
1036
1036
  compatConfig: {
1037
1037
  MODE: 3
1038
1038
  },
1039
1039
  name: "ATag",
1040
1040
  inheritAttrs: !1,
1041
- props: fl(),
1041
+ props: ml(),
1042
1042
  // emits: ['update:visible', 'close'],
1043
1043
  slots: Object,
1044
- setup(e, m) {
1044
+ setup(e, f) {
1045
1045
  let {
1046
1046
  slots: i,
1047
1047
  emit: a,
1048
1048
  attrs: t
1049
- } = m;
1049
+ } = f;
1050
1050
  const {
1051
1051
  prefixCls: l,
1052
1052
  direction: d
1053
- } = Fe("tag", e), [f, g] = tt(l), p = de(!0);
1053
+ } = Be("tag", e), [m, g] = tt(l), p = de(!0);
1054
1054
  Ne(() => {
1055
1055
  e.visible !== void 0 && (p.value = e.visible);
1056
1056
  });
@@ -1069,33 +1069,33 @@ const Te = (e, m, i) => {
1069
1069
  var v, S, x;
1070
1070
  const {
1071
1071
  icon: O = (v = i.icon) === null || v === void 0 ? void 0 : v.call(i),
1072
- color: R,
1072
+ color: L,
1073
1073
  closeIcon: G = (S = i.closeIcon) === null || S === void 0 ? void 0 : S.call(i),
1074
- closable: E = !1
1075
- } = e, r = () => E ? G ? V("span", {
1074
+ closable: D = !1
1075
+ } = e, r = () => D ? G ? V("span", {
1076
1076
  class: `${l.value}-close-icon`,
1077
1077
  onClick: s
1078
1078
  }, [G]) : V(At, {
1079
1079
  class: `${l.value}-close-icon`,
1080
1080
  onClick: s
1081
1081
  }, null) : null, T = {
1082
- backgroundColor: R && !C.value ? R : void 0
1083
- }, N = O || null, y = (x = i.default) === null || x === void 0 ? void 0 : x.call(i), D = N ? V(Be, null, [N, V("span", null, [y])]) : y, z = e.onClick !== void 0, j = V("span", H(H({}, t), {}, {
1082
+ backgroundColor: L && !C.value ? L : void 0
1083
+ }, N = O || null, y = (x = i.default) === null || x === void 0 ? void 0 : x.call(i), F = N ? V(Re, null, [N, V("span", null, [y])]) : y, z = e.onClick !== void 0, M = V("span", j(j({}, t), {}, {
1084
1084
  onClick: A,
1085
1085
  class: [b.value, t.class],
1086
1086
  style: [T, t.style]
1087
- }), [D, r()]);
1088
- return f(z ? V(St, null, {
1089
- default: () => [j]
1090
- }) : j);
1087
+ }), [F, r()]);
1088
+ return m(z ? V(St, null, {
1089
+ default: () => [M]
1090
+ }) : M);
1091
1091
  };
1092
1092
  }
1093
1093
  });
1094
- me.CheckableTag = De;
1095
- me.install = function(e) {
1096
- return e.component(me.name, me), e.component(De.name, De), e;
1094
+ fe.CheckableTag = Fe;
1095
+ fe.install = function(e) {
1096
+ return e.component(fe.name, fe), e.component(Fe.name, Fe), e;
1097
1097
  };
1098
- const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGXSURBVHgBlVNLTgJBEK1qOrjtI4w34AhwAuQEZBJc4yyVBbCRxE2HrZoQT4CcAI7AEeYIbDUM5asGZYj0KJX0J1WvX9eXqUIm/qUpbNp6ZzHT+yzNY1iOGR796w2sc1w3B5Ujoc5D1ns/hzcxImb2OPJPqV3rwn0NYh/DR4mEJBGhxShLN7pEZAF1EsPbmAExr7C1kad9KGy6oF/RpR6R1FIGkzAvw4KPqqv4OC4jP3N1LpZ6R55aGiJd7JES4SF+CquK5JdHWnKE48o6YenjcCw8PtGTbMqtwGWSQ9/8X0p9ZY+M7DShLNKCOq9m2Cb7Ahy9P1N+m1eNgsrEz7AXJ7qQ7Cf/3IBLw71rxQzApIIkUUyAsgzDWyXSEhdcm2tY6N4xuqXxDTwrsCkGXT/VPtuyWSqHuaJtQ8cBuUkH2e0IgDcAmzEeteHD6SDr3eHMoHLKYT/IruuIF0PaR+UczjaIc4rLGpguRmfFTN1dUNncHAZyDEUoP0iclV0nxgLbz+joG32rxeGTJKKs6uFfXaw50XDK2C8hpcmbpfjHLAAAAABJRU5ErkJggg==", gl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGxSURBVHgB1VQ9TsNQDLYTKtYeIUeAjQXRboztESLoTDIGhqZLA1OSua3CEdqRidygPULYGDsipMTYLy9Sq/yIbuDqqe99tr989nMC8NcNu5xBmFiAeUIAF3zsGwBrItP1XDs7mVDICPOtEHFQKhgTD/hvj2RetpEabYRMFioyoqHn3Ksle8FEdVteKyHbSJR57iStANkLpltwMuG+w9c/mZCV7KRnQbgYVJjsBePSN215Z20OINPmXm0J8T2IlqmC9KVwmtOWZjaBfpj0TcivCOgDEYXE0guI6EWor2/Hn+nb5gvqlR3bc7x8KAh86OiTtozZ40d3Eh2CRz0M4tWUySJVFpGrllIFsR4ZsR0S2ihaEMN5uHAaCdUgE/ny5G8eXHkygrEvg2hdjgxmcvbcu1cgY6jOiFNpUYPCYlCqwZnv2oqIoFCBfDHJPFqF3FOrilZvCsFMWtODYlQjLKBQwT3IdxUmKlm1JLGPnLJcc3xQYKqzrQaFpeXQOxroJ3fis5KxEHMrhl0fBrH6HPJ7ynNXh/l3DvnNoY8g77cSGmBkIKOg5+03pmcuI31Z/8N+AJZHvSBz6IiBAAAAAElFTkSuQmCC", pl = { class: "crane-flex-center permission-item-wraper" }, hl = { style: { "flex-shrink": "0" } }, bl = { style: { "max-width": "400px" } }, yl = { class: "crane-text-overflow" }, Sl = { style: { "max-width": "400px" } }, Cl = { style: { "max-width": "400px" } }, Al = { class: "crane-flex-center crane-margin-left-4" }, Ol = ["src"], Il = { class: "crane-weak-color crane-margin-left-4" }, wl = ["src"], Tl = { style: { "max-width": "400px" } }, xl = { class: "crane-weak-color crane-margin-left-4 crane-text-overflow" }, Nl = {
1098
+ const fl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGXSURBVHgBlVNLTgJBEK1qOrjtI4w34AhwAuQEZBJc4yyVBbCRxE2HrZoQT4CcAI7AEeYIbDUM5asGZYj0KJX0J1WvX9eXqUIm/qUpbNp6ZzHT+yzNY1iOGR796w2sc1w3B5Ujoc5D1ns/hzcxImb2OPJPqV3rwn0NYh/DR4mEJBGhxShLN7pEZAF1EsPbmAExr7C1kad9KGy6oF/RpR6R1FIGkzAvw4KPqqv4OC4jP3N1LpZ6R55aGiJd7JES4SF+CquK5JdHWnKE48o6YenjcCw8PtGTbMqtwGWSQ9/8X0p9ZY+M7DShLNKCOq9m2Cb7Ahy9P1N+m1eNgsrEz7AXJ7qQ7Cf/3IBLw71rxQzApIIkUUyAsgzDWyXSEhdcm2tY6N4xuqXxDTwrsCkGXT/VPtuyWSqHuaJtQ8cBuUkH2e0IgDcAmzEeteHD6SDr3eHMoHLKYT/IruuIF0PaR+UczjaIc4rLGpguRmfFTN1dUNncHAZyDEUoP0iclV0nxgLbz+joG32rxeGTJKKs6uFfXaw50XDK2C8hpcmbpfjHLAAAAABJRU5ErkJggg==", gl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGxSURBVHgB1VQ9TsNQDLYTKtYeIUeAjQXRboztESLoTDIGhqZLA1OSua3CEdqRidygPULYGDsipMTYLy9Sq/yIbuDqqe99tr989nMC8NcNu5xBmFiAeUIAF3zsGwBrItP1XDs7mVDICPOtEHFQKhgTD/hvj2RetpEabYRMFioyoqHn3Ksle8FEdVteKyHbSJR57iStANkLpltwMuG+w9c/mZCV7KRnQbgYVJjsBePSN215Z20OINPmXm0J8T2IlqmC9KVwmtOWZjaBfpj0TcivCOgDEYXE0guI6EWor2/Hn+nb5gvqlR3bc7x8KAh86OiTtozZ40d3Eh2CRz0M4tWUySJVFpGrllIFsR4ZsR0S2ihaEMN5uHAaCdUgE/ny5G8eXHkygrEvg2hdjgxmcvbcu1cgY6jOiFNpUYPCYlCqwZnv2oqIoFCBfDHJPFqF3FOrilZvCsFMWtODYlQjLKBQwT3IdxUmKlm1JLGPnLJcc3xQYKqzrQaFpeXQOxroJ3fis5KxEHMrhl0fBrH6HPJ7ynNXh/l3DvnNoY8g77cSGmBkIKOg5+03pmcuI31Z/8N+AJZHvSBz6IiBAAAAAElFTkSuQmCC", pl = { class: "crane-flex-center permission-item-wraper" }, hl = { style: { "flex-shrink": "0" } }, bl = { style: { "max-width": "400px" } }, yl = { class: "crane-text-overflow" }, Sl = { style: { "max-width": "400px" } }, Cl = { style: { "max-width": "400px" } }, Al = { class: "crane-flex-center crane-margin-left-4" }, Ol = ["src"], Il = { class: "crane-weak-color crane-margin-left-4" }, wl = ["src"], Tl = { style: { "max-width": "400px" } }, xl = { class: "crane-weak-color crane-margin-left-4 crane-text-overflow" }, Nl = {
1099
1099
  key: 6,
1100
1100
  class: "crane-weak-color crane-margin-left-12"
1101
1101
  }, Ge = "OWNER", Ye = "PENDING", Vl = /* @__PURE__ */ pe({
@@ -1116,7 +1116,7 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1116
1116
  }
1117
1117
  },
1118
1118
  emits: ["onChangeTime", "updateTime"],
1119
- setup(e, { emit: m }) {
1119
+ setup(e, { emit: f }) {
1120
1120
  const i = [Ge, Ye], a = {
1121
1121
  L1: {
1122
1122
  color: "#1AA83B",
@@ -1134,8 +1134,8 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1134
1134
  background: "#FDCDC5"
1135
1135
  }
1136
1136
  };
1137
- let t = m, l = e;
1138
- const d = W("status"), f = Re(""), g = w(() => l.validTimeOptions.filter((b) => b.value !== "FOREVER")), p = (b) => {
1137
+ let t = f, l = e;
1138
+ const d = W("status"), m = Le(""), g = w(() => l.validTimeOptions.filter((b) => b.value !== "FOREVER")), p = (b) => {
1139
1139
  var O;
1140
1140
  if (Ge.includes(b.businessApplyType))
1141
1141
  return (O = b.virtualOwnState) == null ? void 0 : O.timeStatus;
@@ -1152,7 +1152,7 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1152
1152
  return `【${b.categoryName}】:${((v = (A = b.attributeValues) == null ? void 0 : A.map((S) => S.attributeName)) == null ? void 0 : v.join("、")) || W("empty")}`;
1153
1153
  };
1154
1154
  xe(() => l.checkedKeys, (b, A) => {
1155
- A && !A.includes(l.item.feature) && b.includes(l.item.feature) && (f.value = p(l.item), l.item.validTime = p(l.item), t("updateTime", l.item));
1155
+ A && !A.includes(l.item.feature) && b.includes(l.item.feature) && (m.value = p(l.item), l.item.validTime = p(l.item), t("updateTime", l.item));
1156
1156
  }, { immediate: !0 });
1157
1157
  const C = (b) => {
1158
1158
  l.item.validTime = b, t("updateTime", l.item), t("onChangeTime", l.item);
@@ -1160,96 +1160,96 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1160
1160
  return (b, A) => {
1161
1161
  var v, S, x;
1162
1162
  return J(), Ae("div", pl, [
1163
- e.item.securityLevel ? (J(), Oe(B(me), {
1163
+ e.item.securityLevel ? (J(), Oe(R(fe), {
1164
1164
  key: 0,
1165
1165
  bordered: !1,
1166
1166
  style: xt({ color: a[e.item.securityLevel].color, background: a[e.item.securityLevel].background }),
1167
1167
  class: "crane-tag-position"
1168
1168
  }, {
1169
1169
  default: Z(() => [
1170
- Pe(_(a[e.item.securityLevel].text), 1)
1170
+ Pe(H(a[e.item.securityLevel].text), 1)
1171
1171
  ]),
1172
1172
  _: 1
1173
1173
  }, 8, ["style"])) : ue("", !0),
1174
- X("div", hl, _(B(W)(`operationType.${e.item.operationType}`)) + "| ", 1),
1175
- V(B(we), null, {
1174
+ X("div", hl, H(R(W)(`operationType.${e.item.operationType}`)) + "| ", 1),
1175
+ V(R(we), null, {
1176
1176
  content: Z(() => [
1177
- X("div", bl, _(e.item.name), 1)
1177
+ X("div", bl, H(e.item.name), 1)
1178
1178
  ]),
1179
1179
  default: Z(() => [
1180
- X("div", yl, _(e.item.shortName), 1)
1180
+ X("div", yl, H(e.item.shortName), 1)
1181
1181
  ]),
1182
1182
  _: 1
1183
1183
  }),
1184
- e.item.businessApplyType ? (J(), Oe(B(me), {
1184
+ e.item.businessApplyType ? (J(), Oe(R(fe), {
1185
1185
  key: 1,
1186
1186
  bordered: !1,
1187
1187
  class: Nt(["crane-tag-position crane-margin-left-4 crane-margin-right-0", ["PENDING"].includes(e.item.businessApplyType) ? "" : "crane-disabled-color"])
1188
1188
  }, {
1189
1189
  default: Z(() => {
1190
- var O, R, G, E;
1190
+ var O, L, G, D;
1191
1191
  return [
1192
- Pe(_(B(d)[e.item.businessApplyType]) + " " + _(e.item.businessApplyType === "TEMP_OWNER" ? `(${((R = (O = e.item) == null ? void 0 : O.ownStatusVO) == null ? void 0 : R.dayDiff) > 0 ? B(W)("lastDays", {
1193
- count: (E = (G = e.item) == null ? void 0 : G.ownStatusVO) == null ? void 0 : E.dayDiff
1194
- }) : B(W)("today")})` : ""), 1)
1192
+ Pe(H(R(d)[e.item.businessApplyType]) + " " + H(e.item.businessApplyType === "TEMP_OWNER" ? `(${((L = (O = e.item) == null ? void 0 : O.ownStatusVO) == null ? void 0 : L.dayDiff) > 0 ? R(W)("lastDays", {
1193
+ count: (D = (G = e.item) == null ? void 0 : G.ownStatusVO) == null ? void 0 : D.dayDiff
1194
+ }) : R(W)("today")})` : ""), 1)
1195
1195
  ];
1196
1196
  }),
1197
1197
  _: 1
1198
1198
  }, 8, ["class"])) : ue("", !0),
1199
- e.item.desc ? (J(), Oe(B(we), { key: 2 }, {
1199
+ e.item.desc ? (J(), Oe(R(we), { key: 2 }, {
1200
1200
  content: Z(() => [
1201
- X("div", Sl, _(e.item.desc), 1)
1201
+ X("div", Sl, H(e.item.desc), 1)
1202
1202
  ]),
1203
1203
  default: Z(() => [
1204
- V(B(Lt), { class: "crane-weak-color crane-margin-left-4" })
1204
+ V(R(kt), { class: "crane-weak-color crane-margin-left-4" })
1205
1205
  ]),
1206
1206
  _: 1
1207
1207
  })) : ue("", !0),
1208
- (v = e.item.relatedCompleteNames) != null && v.length ? (J(), Oe(B(we), { key: 3 }, {
1208
+ (v = e.item.relatedCompleteNames) != null && v.length ? (J(), Oe(R(we), { key: 3 }, {
1209
1209
  content: Z(() => [
1210
- X("div", Cl, _(B(W)("adaptDepartment")) + ":" + _(e.item.relatedCompleteNames.map((O) => O).join("、")), 1)
1210
+ X("div", Cl, H(R(W)("adaptDepartment")) + ":" + H(e.item.relatedCompleteNames.map((O) => O).join("、")), 1)
1211
1211
  ]),
1212
1212
  default: Z(() => [
1213
1213
  X("div", Al, [
1214
1214
  X("img", {
1215
- src: B(ml),
1215
+ src: R(fl),
1216
1216
  height: "14",
1217
1217
  width: "14"
1218
1218
  }, null, 8, Ol),
1219
- X("span", Il, _(e.item.relatedCompleteNames.length), 1)
1219
+ X("span", Il, H(e.item.relatedCompleteNames.length), 1)
1220
1220
  ])
1221
1221
  ]),
1222
1222
  _: 1
1223
1223
  })) : ue("", !0),
1224
1224
  (S = e.item.categoryVOS) != null && S.length ? (J(), Ae("img", {
1225
1225
  key: 4,
1226
- src: B(gl),
1226
+ src: R(gl),
1227
1227
  height: "16",
1228
1228
  width: "16",
1229
1229
  class: "crane-margin-left-4"
1230
1230
  }, null, 8, wl)) : ue("", !0),
1231
- (x = e.item.categoryVOS) != null && x.length ? (J(), Oe(B(we), { key: 5 }, {
1231
+ (x = e.item.categoryVOS) != null && x.length ? (J(), Oe(R(we), { key: 5 }, {
1232
1232
  content: Z(() => [
1233
1233
  X("div", Tl, [
1234
- X("div", null, _(B(W)("categoryTips")), 1),
1235
- (J(!0), Ae(Be, null, Vt(e.item.categoryVOS, (O) => (J(), Ae("div", {
1234
+ X("div", null, H(R(W)("categoryTips")), 1),
1235
+ (J(!0), Ae(Re, null, Vt(e.item.categoryVOS, (O) => (J(), Ae("div", {
1236
1236
  key: O.id
1237
- }, _(s(O)), 1))), 128))
1237
+ }, H(s(O)), 1))), 128))
1238
1238
  ])
1239
1239
  ]),
1240
1240
  default: Z(() => {
1241
1241
  var O;
1242
1242
  return [
1243
- X("div", xl, _((O = e.item.categoryVOS) == null ? void 0 : O.map((R) => R.categoryName).join("、")) + "325kjfhkjdhfkdshfkjdshglkjshdfgkjkjdhfkdshfkjdshglkjshdfgkjkjdhfkdshfkjdshglkjshdfgkjkjdhfkdshfkjdshglkjshdfgkjsfd ", 1)
1243
+ X("div", xl, H((O = e.item.categoryVOS) == null ? void 0 : O.map((L) => L.categoryName).join("、")), 1)
1244
1244
  ];
1245
1245
  }),
1246
1246
  _: 1
1247
1247
  })) : ue("", !0),
1248
1248
  e.checkedKeys.includes(e.item.feature) ? (J(), Ae("span", Nl, [
1249
- Pe(_(B(W)("availableTime")) + ": ", 1),
1250
- V(B(te), {
1251
- value: f.value,
1252
- "onUpdate:value": A[0] || (A[0] = (O) => f.value = O),
1249
+ Pe(H(R(W)("availableTime")) + ": ", 1),
1250
+ V(R(te), {
1251
+ value: m.value,
1252
+ "onUpdate:value": A[0] || (A[0] = (O) => m.value = O),
1253
1253
  style: { width: "100px" },
1254
1254
  disabled: i.includes(e.item.businessApplyType),
1255
1255
  options: i.includes(e.item.businessApplyType) ? e.validTimeOptions : g.value,
@@ -1260,7 +1260,7 @@ const ml = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAA
1260
1260
  ]);
1261
1261
  };
1262
1262
  }
1263
- }), Fl = /* @__PURE__ */ Ot(Vl, [["__scopeId", "data-v-c5531cfd"]]);
1263
+ }), Bl = /* @__PURE__ */ Ot(Vl, [["__scopeId", "data-v-fa6b2cd2"]]);
1264
1264
  export {
1265
- Fl as default
1265
+ Bl as default
1266
1266
  };