iking-web-ui-pro 1.0.8 → 1.0.10

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,4 +1,4 @@
1
- import { defineComponent as W, computed as g, resolveComponent as h, openBlock as i, createBlock as b, normalizeClass as j, normalizeStyle as I, withCtx as m, createElementBlock as v, createCommentVNode as _, createTextVNode as B, toDisplayString as V, ref as D, Fragment as C, renderList as x, unref as T, mergeProps as S, createElementVNode as L, mergeModels as N, getCurrentInstance as P, useModel as M, withDirectives as z, createVNode as E, vShow as H, renderSlot as R } from "vue";
1
+ import { defineComponent as W, computed as g, resolveComponent as h, openBlock as i, createBlock as b, normalizeClass as j, normalizeStyle as I, withCtx as m, createElementBlock as v, createCommentVNode as _, createTextVNode as B, toDisplayString as V, ref as D, Fragment as C, renderList as x, unref as T, mergeProps as $, createElementVNode as L, mergeModels as N, getCurrentInstance as P, useModel as M, withDirectives as z, createVNode as E, vShow as H, renderSlot as R } from "vue";
2
2
  import { ikDom as F } from "iking-utils-pro";
3
3
  const A = (l, f) => (l.install = (e) => {
4
4
  for (const a of [l, ...Object.values({})])
@@ -68,7 +68,7 @@ const A = (l, f) => (l.install = (e) => {
68
68
  emits: ["close"],
69
69
  setup(l, { emit: f }) {
70
70
  const e = l, a = g(() => {
71
- const r = e.type ? e.type === "danger" ? `var(--el-color-${e.type})` : {
71
+ const o = e.type ? e.type === "danger" ? `var(--el-color-${e.type})` : {
72
72
  color: `var(--ik-color-${e.type})`,
73
73
  backgroundColor: `var(--ik-color-${e.type}-light)`
74
74
  } : {
@@ -76,24 +76,26 @@ const A = (l, f) => (l.install = (e) => {
76
76
  backgroundColor: e.background,
77
77
  border: "none"
78
78
  };
79
+ if (e.color)
80
+ return o.backgroundColor = e.background || "transparent", o.borderColor = e.background ? "transparent" : e.color, o.color = e.color, o;
79
81
  if (e.effect === "plain" && e.type !== "danger")
80
- r.backgroundColor = "transparent", r.borderColor = e.type ? `var(--ik-color-${e.type})` : e.color;
82
+ o.backgroundColor = "transparent", o.borderColor = e.type ? `var(--ik-color-${e.type})` : e.color, o.color = e.type ? `var(--ik-color-${e.type})` : e.color;
81
83
  else if (e.effect === "dark" && e.type !== "danger") {
82
84
  const y = e.type ? `var(--ik-color-${e.type})` : e.color;
83
- r.backgroundColor = y, r.borderColor = y, r.color = "#fff";
85
+ o.backgroundColor = y, o.borderColor = y, o.color = "#fff";
84
86
  }
85
- return r;
87
+ return o;
86
88
  }), n = f, s = () => {
87
89
  n("close");
88
90
  };
89
- return (r, y) => {
91
+ return (o, y) => {
90
92
  const k = h("el-tag");
91
93
  return i(), b(k, {
92
94
  effect: l.effect,
93
95
  class: j(["ik-statu-tag", { disabled: l.disabled }]),
94
96
  type: l.type,
95
97
  style: I(a.value),
96
- closable: r.$attrs.closable && !l.disabled,
98
+ closable: o.$attrs.closable && !l.disabled,
97
99
  onClose: s
98
100
  }, {
99
101
  default: m(() => [
@@ -103,7 +105,7 @@ const A = (l, f) => (l.install = (e) => {
103
105
  key: 0,
104
106
  class: "inline-block rounded-full",
105
107
  style: I({
106
- backgroundColor: l.type ? l.type === "danger" ? `var(--el-color-${l.type})` : `var(--ik-color-${l.type})` : l.circleColor,
108
+ backgroundColor: l.circleColor ? l.circleColor : l.type === "danger" ? `var(--el-color-${l.type})` : `var(--ik-color-${l.type})`,
107
109
  width: `${l.circleW}px`,
108
110
  height: `${l.circleH}px`
109
111
  })
@@ -123,7 +125,7 @@ const A = (l, f) => (l.install = (e) => {
123
125
  }, 8, ["effect", "class", "type", "style", "closable"]);
124
126
  };
125
127
  }
126
- }), q = /* @__PURE__ */ O(U, [["__scopeId", "data-v-a3967db7"]]), w = A(q), G = {
128
+ }), q = /* @__PURE__ */ O(U, [["__scopeId", "data-v-afe0efa2"]]), w = A(q), G = {
127
129
  key: 1,
128
130
  style: { color: "var(--el-color-info-light-3)" }
129
131
  }, J = /* @__PURE__ */ W({
@@ -153,23 +155,23 @@ const A = (l, f) => (l.install = (e) => {
153
155
  },
154
156
  emits: ["close"],
155
157
  setup(l, { emit: f }) {
156
- const e = l, a = g(() => Array.isArray(e.list) ? e.list : typeof e.list == "string" ? e.list.split(",").map((o, d) => {
158
+ const e = l, a = g(() => Array.isArray(e.list) ? e.list : typeof e.list == "string" ? e.list.split(",").map((r, d) => {
157
159
  var p;
158
160
  return {
159
161
  ...((p = e.data) == null ? void 0 : p[d]) || {},
160
- title: o,
162
+ title: r,
161
163
  type: ""
162
164
  };
163
165
  }) : []), n = D(null), s = g(() => {
164
166
  try {
165
167
  if (n.value) {
166
- const o = n.value.clientWidth;
168
+ const r = n.value.clientWidth;
167
169
  let d = 24;
168
170
  const p = [];
169
171
  let u = 0;
170
172
  for (const t of a.value) {
171
- const $ = F.useTextWidth(String((t == null ? void 0 : t.title) || t));
172
- d += $ + 40, (d <= o || !u) && p.push(t), u++;
173
+ const S = F.useTextWidth(String((t == null ? void 0 : t.title) || t));
174
+ d += S + 40, (d <= r || !u) && p.push(t), u++;
173
175
  }
174
176
  return p;
175
177
  }
@@ -177,10 +179,10 @@ const A = (l, f) => (l.install = (e) => {
177
179
  } catch {
178
180
  return a.value;
179
181
  }
180
- }), r = g(() => a.value.length - s.value.length), y = g(() => a.value.slice(s.value.length)), k = f, c = (o) => {
181
- k("close", o);
182
+ }), o = g(() => a.value.length - s.value.length), y = g(() => a.value.slice(s.value.length)), k = f, c = (r) => {
183
+ k("close", r);
182
184
  };
183
- return (o, d) => {
185
+ return (r, d) => {
184
186
  const p = h("el-tag"), u = h("el-popover");
185
187
  return i(), v(
186
188
  "div",
@@ -199,14 +201,14 @@ const A = (l, f) => (l.install = (e) => {
199
201
  key: t.title
200
202
  },
201
203
  [
202
- t.title !== "--" ? (i(), b(T(w), S({
204
+ t.title !== "--" ? (i(), b(T(w), $({
203
205
  key: 0,
204
206
  title: t.title,
205
- onClose: ($) => c(t),
207
+ onClose: (S) => c(t),
206
208
  color: t.color,
207
209
  type: t.type || "primary",
208
210
  ref_for: !0
209
- }, o.$attrs, {
211
+ }, r.$attrs, {
210
212
  circle: !1,
211
213
  disabled: t == null ? void 0 : t.disabled
212
214
  }), null, 16, ["title", "onClose", "color", "type", "disabled"])) : (i(), v(
@@ -223,14 +225,14 @@ const A = (l, f) => (l.install = (e) => {
223
225
  128
224
226
  /* KEYED_FRAGMENT */
225
227
  )),
226
- r.value ? (i(), b(u, {
228
+ o.value ? (i(), b(u, {
227
229
  key: 0,
228
230
  placement: "bottom",
229
231
  "popper-class": "ik-statu-over",
230
232
  trigger: "hover"
231
233
  }, {
232
234
  reference: m(() => [
233
- r.value ? (i(), b(p, {
235
+ o.value ? (i(), b(p, {
234
236
  key: 0,
235
237
  class: "more-tags",
236
238
  type: "info",
@@ -238,7 +240,7 @@ const A = (l, f) => (l.install = (e) => {
238
240
  }, {
239
241
  default: m(() => [
240
242
  B(
241
- " +" + V(r.value),
243
+ " +" + V(o.value),
242
244
  1
243
245
  /* TEXT */
244
246
  )
@@ -252,15 +254,15 @@ const A = (l, f) => (l.install = (e) => {
252
254
  (i(!0), v(
253
255
  C,
254
256
  null,
255
- x(y.value, (t) => (i(), b(T(w), S({
257
+ x(y.value, (t) => (i(), b(T(w), $({
256
258
  key: t.title,
257
259
  title: t.title,
258
260
  color: t.color,
259
- onClose: ($) => c(t),
261
+ onClose: (S) => c(t),
260
262
  type: t.type || "primary",
261
263
  circle: !1,
262
264
  ref_for: !0
263
- }, o.$attrs, {
265
+ }, r.$attrs, {
264
266
  disabled: t == null ? void 0 : t.disabled
265
267
  }), null, 16, ["title", "color", "onClose", "type", "disabled"]))),
266
268
  128
@@ -301,33 +303,33 @@ const A = (l, f) => (l.install = (e) => {
301
303
  label: "label",
302
304
  value: "value",
303
305
  ...e.prop
304
- })), s = M(l, "modelValue"), r = g(() => {
306
+ })), s = M(l, "modelValue"), o = g(() => {
305
307
  let c = [];
306
- const o = a == null ? void 0 : a.attrs.options;
307
- return Array.isArray(s.value) ? c = s.value.map((d) => o.find((p) => p[n.value.value] === d)) : s.value && (c = [o.find((d) => d[n.value.value] === s.value)]), {
308
+ const r = a == null ? void 0 : a.attrs.options;
309
+ return Array.isArray(s.value) ? c = s.value.map((d) => r.find((p) => p[n.value.value] === d)) : s.value && (c = [r.find((d) => d[n.value.value] === s.value)]), {
308
310
  list: c.map((d) => d[n.value.label]).join(","),
309
311
  data: c
310
312
  };
311
313
  }), y = f, k = (c) => {
312
- s.value = s.value.filter((o) => o !== c[n.value.value]), y("close", c, s.value);
314
+ s.value = s.value.filter((r) => r !== c[n.value.value]), y("close", c, s.value);
313
315
  };
314
- return (c, o) => {
316
+ return (c, r) => {
315
317
  const d = h("el-option"), p = h("el-select");
316
- return i(), b(p, S(c.$attrs, {
318
+ return i(), b(p, $(c.$attrs, {
317
319
  "collapse-tags": !1,
318
320
  modelValue: s.value,
319
- "onUpdate:modelValue": o[0] || (o[0] = (u) => s.value = u),
321
+ "onUpdate:modelValue": r[0] || (r[0] = (u) => s.value = u),
320
322
  "no-data-text": "暂无数据",
321
323
  "no-match-text": "无匹配项"
322
324
  }), {
323
325
  tag: m(() => {
324
326
  var u, t;
325
327
  return [
326
- z(E(T(Q), S({
327
- list: r.value.list,
328
- data: r.value.data
328
+ z(E(T(Q), $({
329
+ list: o.value.list,
330
+ data: o.value.data
329
331
  }, l.tagProps, { onClose: k }), null, 16, ["list", "data"]), [
330
- [H, (t = (u = r.value) == null ? void 0 : u.list) == null ? void 0 : t.length]
332
+ [H, (t = (u = o.value) == null ? void 0 : u.list) == null ? void 0 : t.length]
331
333
  ])
332
334
  ];
333
335
  }),
@@ -1 +1 @@
1
- .ik-statu-tag[data-v-a3967db7]{margin:5px 0}.ik-statu-tag[data-v-a3967db7]:not(:first-child){margin-left:5px}.el-tag[data-v-a3967db7]:not(.el-tag--plain){border:none}.el-tag--danger[data-v-a3967db7]:not(.el-tag--plain){color:var(--ik-color-error);background-color:var(--ik-color-error-light)}.ik-statu-over{width:auto!important;min-width:0!important}.tag-container[data-v-169a93dc]{display:flex;width:100%}.tag-container .ik-statu-tag[data-v-169a93dc]{max-width:calc(100% - 46px)}.tag-container .el-tag[data-v-169a93dc]:not(:last-child){margin-right:5px}.tag-container[data-v-169a93dc] .el-tag__content{display:inline-block!important;width:100%;overflow:hidden;text-overflow:ellipsis}.more-tags[data-v-169a93dc]{margin:5px 0}
1
+ .ik-statu-tag[data-v-afe0efa2]{margin:5px 0}.ik-statu-tag[data-v-afe0efa2]:not(:first-child){margin-left:5px}.el-tag[data-v-afe0efa2]:not(.el-tag--plain){border:none}.el-tag--danger[data-v-afe0efa2]:not(.el-tag--plain){color:var(--ik-color-error);background-color:var(--ik-color-error-light)}.ik-statu-over{width:auto!important;min-width:0!important}.tag-container[data-v-169a93dc]{display:flex;width:100%}.tag-container .ik-statu-tag[data-v-169a93dc]{max-width:calc(100% - 46px)}.tag-container .el-tag[data-v-169a93dc]:not(:last-child){margin-right:5px}.tag-container[data-v-169a93dc] .el-tag__content{display:inline-block!important;width:100%;overflow:hidden;text-overflow:ellipsis}.more-tags[data-v-169a93dc]{margin:5px 0}
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, computed as y, resolveComponent as u, openBlock as n, createBlock as p, normalizeClass as g, normalizeStyle as d, withCtx as b, createElementBlock as k, createCommentVNode as m, createTextVNode as C, toDisplayString as v } from "vue";
1
+ import { defineComponent as f, computed as u, resolveComponent as y, openBlock as n, createBlock as p, normalizeClass as g, normalizeStyle as d, withCtx as b, createElementBlock as k, createCommentVNode as m, createTextVNode as C, toDisplayString as v } from "vue";
2
2
  const S = (t, r) => (t.install = (e) => {
3
3
  for (const l of [t, ...Object.values({})])
4
4
  e.component(l.name, l);
@@ -61,7 +61,7 @@ const S = (t, r) => (t.install = (e) => {
61
61
  },
62
62
  emits: ["close"],
63
63
  setup(t, { emit: r }) {
64
- const e = t, l = y(() => {
64
+ const e = t, l = u(() => {
65
65
  const o = e.type ? e.type === "danger" ? `var(--el-color-${e.type})` : {
66
66
  color: `var(--ik-color-${e.type})`,
67
67
  backgroundColor: `var(--ik-color-${e.type}-light)`
@@ -70,8 +70,10 @@ const S = (t, r) => (t.install = (e) => {
70
70
  backgroundColor: e.background,
71
71
  border: "none"
72
72
  };
73
+ if (e.color)
74
+ return o.backgroundColor = e.background || "transparent", o.borderColor = e.background ? "transparent" : e.color, o.color = e.color, o;
73
75
  if (e.effect === "plain" && e.type !== "danger")
74
- o.backgroundColor = "transparent", o.borderColor = e.type ? `var(--ik-color-${e.type})` : e.color;
76
+ o.backgroundColor = "transparent", o.borderColor = e.type ? `var(--ik-color-${e.type})` : e.color, o.color = e.type ? `var(--ik-color-${e.type})` : e.color;
75
77
  else if (e.effect === "dark" && e.type !== "danger") {
76
78
  const a = e.type ? `var(--ik-color-${e.type})` : e.color;
77
79
  o.backgroundColor = a, o.borderColor = a, o.color = "#fff";
@@ -81,7 +83,7 @@ const S = (t, r) => (t.install = (e) => {
81
83
  c("close");
82
84
  };
83
85
  return (o, a) => {
84
- const s = u("el-tag");
86
+ const s = y("el-tag");
85
87
  return n(), p(s, {
86
88
  effect: t.effect,
87
89
  class: g(["ik-statu-tag", { disabled: t.disabled }]),
@@ -97,7 +99,7 @@ const S = (t, r) => (t.install = (e) => {
97
99
  key: 0,
98
100
  class: "inline-block rounded-full",
99
101
  style: d({
100
- backgroundColor: t.type ? t.type === "danger" ? `var(--el-color-${t.type})` : `var(--ik-color-${t.type})` : t.circleColor,
102
+ backgroundColor: t.circleColor ? t.circleColor : t.type === "danger" ? `var(--el-color-${t.type})` : `var(--ik-color-${t.type})`,
101
103
  width: `${t.circleW}px`,
102
104
  height: `${t.circleH}px`
103
105
  })
@@ -122,7 +124,7 @@ const S = (t, r) => (t.install = (e) => {
122
124
  for (const [l, c] of r)
123
125
  e[l] = c;
124
126
  return e;
125
- }, x = /* @__PURE__ */ h($, [["__scopeId", "data-v-a3967db7"]]), N = S(x);
127
+ }, x = /* @__PURE__ */ h($, [["__scopeId", "data-v-afe0efa2"]]), N = S(x);
126
128
  export {
127
129
  N as IkStatu,
128
130
  N as default
@@ -1 +1 @@
1
- .ik-statu-tag[data-v-a3967db7]{margin:5px 0}.ik-statu-tag[data-v-a3967db7]:not(:first-child){margin-left:5px}.el-tag[data-v-a3967db7]:not(.el-tag--plain){border:none}.el-tag--danger[data-v-a3967db7]:not(.el-tag--plain){color:var(--ik-color-error);background-color:var(--ik-color-error-light)}
1
+ .ik-statu-tag[data-v-afe0efa2]{margin:5px 0}.ik-statu-tag[data-v-afe0efa2]:not(:first-child){margin-left:5px}.el-tag[data-v-afe0efa2]:not(.el-tag--plain){border:none}.el-tag--danger[data-v-afe0efa2]:not(.el-tag--plain){color:var(--ik-color-error);background-color:var(--ik-color-error-light)}
@@ -1,12 +1,12 @@
1
- import { defineComponent as I, computed as p, resolveComponent as C, openBlock as a, createBlock as g, normalizeClass as D, normalizeStyle as T, withCtx as b, createElementBlock as u, createCommentVNode as S, createTextVNode as w, toDisplayString as $, ref as L, Fragment as m, renderList as W, unref as _, mergeProps as B, createElementVNode as V } from "vue";
1
+ import { defineComponent as I, computed as y, resolveComponent as m, openBlock as a, createBlock as g, normalizeClass as D, normalizeStyle as T, withCtx as b, createElementBlock as u, createCommentVNode as $, createTextVNode as w, toDisplayString as S, ref as L, Fragment as h, renderList as W, unref as _, mergeProps as B, createElementVNode as V } from "vue";
2
2
  import { ikDom as z } from "iking-utils-pro";
3
- const A = (l, i) => (l.install = (e) => {
4
- for (const o of [l, ...Object.values({})])
5
- e.component(o.name, o);
6
- }, l), O = (l, i) => {
7
- const e = l.__vccOpts || l;
8
- for (const [o, c] of i)
9
- e[o] = c;
3
+ const A = (o, i) => (o.install = (e) => {
4
+ for (const r of [o, ...Object.values({})])
5
+ e.component(r.name, r);
6
+ }, o), O = (o, i) => {
7
+ const e = o.__vccOpts || o;
8
+ for (const [r, c] of i)
9
+ e[r] = c;
10
10
  return e;
11
11
  }, E = /* @__PURE__ */ I({
12
12
  __name: "index",
@@ -66,9 +66,9 @@ const A = (l, i) => (l.install = (e) => {
66
66
  }
67
67
  },
68
68
  emits: ["close"],
69
- setup(l, { emit: i }) {
70
- const e = l, o = p(() => {
71
- const r = e.type ? e.type === "danger" ? `var(--el-color-${e.type})` : {
69
+ setup(o, { emit: i }) {
70
+ const e = o, r = y(() => {
71
+ const l = e.type ? e.type === "danger" ? `var(--el-color-${e.type})` : {
72
72
  color: `var(--ik-color-${e.type})`,
73
73
  backgroundColor: `var(--ik-color-${e.type}-light)`
74
74
  } : {
@@ -76,44 +76,46 @@ const A = (l, i) => (l.install = (e) => {
76
76
  backgroundColor: e.background,
77
77
  border: "none"
78
78
  };
79
+ if (e.color)
80
+ return l.backgroundColor = e.background || "transparent", l.borderColor = e.background ? "transparent" : e.color, l.color = e.color, l;
79
81
  if (e.effect === "plain" && e.type !== "danger")
80
- r.backgroundColor = "transparent", r.borderColor = e.type ? `var(--ik-color-${e.type})` : e.color;
82
+ l.backgroundColor = "transparent", l.borderColor = e.type ? `var(--ik-color-${e.type})` : e.color, l.color = e.type ? `var(--ik-color-${e.type})` : e.color;
81
83
  else if (e.effect === "dark" && e.type !== "danger") {
82
84
  const f = e.type ? `var(--ik-color-${e.type})` : e.color;
83
- r.backgroundColor = f, r.borderColor = f, r.color = "#fff";
85
+ l.backgroundColor = f, l.borderColor = f, l.color = "#fff";
84
86
  }
85
- return r;
87
+ return l;
86
88
  }), c = i, d = () => {
87
89
  c("close");
88
90
  };
89
- return (r, f) => {
90
- const k = C("el-tag");
91
+ return (l, f) => {
92
+ const k = m("el-tag");
91
93
  return a(), g(k, {
92
- effect: l.effect,
93
- class: D(["ik-statu-tag", { disabled: l.disabled }]),
94
- type: l.type,
95
- style: T(o.value),
96
- closable: r.$attrs.closable && !l.disabled,
94
+ effect: o.effect,
95
+ class: D(["ik-statu-tag", { disabled: o.disabled }]),
96
+ type: o.type,
97
+ style: T(r.value),
98
+ closable: l.$attrs.closable && !o.disabled,
97
99
  onClose: d
98
100
  }, {
99
101
  default: b(() => [
100
- l.circle ? (a(), u(
102
+ o.circle ? (a(), u(
101
103
  "span",
102
104
  {
103
105
  key: 0,
104
106
  class: "inline-block rounded-full",
105
107
  style: T({
106
- backgroundColor: l.type ? l.type === "danger" ? `var(--el-color-${l.type})` : `var(--ik-color-${l.type})` : l.circleColor,
107
- width: `${l.circleW}px`,
108
- height: `${l.circleH}px`
108
+ backgroundColor: o.circleColor ? o.circleColor : o.type === "danger" ? `var(--el-color-${o.type})` : `var(--ik-color-${o.type})`,
109
+ width: `${o.circleW}px`,
110
+ height: `${o.circleH}px`
109
111
  })
110
112
  },
111
113
  null,
112
114
  4
113
115
  /* STYLE */
114
- )) : S("v-if", !0),
116
+ )) : $("v-if", !0),
115
117
  w(
116
- " " + $(l.title),
118
+ " " + S(o.title),
117
119
  1
118
120
  /* TEXT */
119
121
  )
@@ -123,7 +125,7 @@ const A = (l, i) => (l.install = (e) => {
123
125
  }, 8, ["effect", "class", "type", "style", "closable"]);
124
126
  };
125
127
  }
126
- }), H = /* @__PURE__ */ O(E, [["__scopeId", "data-v-a3967db7"]]), N = A(H), R = {
128
+ }), H = /* @__PURE__ */ O(E, [["__scopeId", "data-v-afe0efa2"]]), N = A(H), R = {
127
129
  key: 1,
128
130
  style: { color: "var(--el-color-info-light-3)" }
129
131
  }, j = /* @__PURE__ */ I({
@@ -152,36 +154,36 @@ const A = (l, i) => (l.install = (e) => {
152
154
  }
153
155
  },
154
156
  emits: ["close"],
155
- setup(l, { emit: i }) {
156
- const e = l, o = p(() => Array.isArray(e.list) ? e.list : typeof e.list == "string" ? e.list.split(",").map((n, y) => {
157
+ setup(o, { emit: i }) {
158
+ const e = o, r = y(() => Array.isArray(e.list) ? e.list : typeof e.list == "string" ? e.list.split(",").map((n, p) => {
157
159
  var s;
158
160
  return {
159
- ...((s = e.data) == null ? void 0 : s[y]) || {},
161
+ ...((s = e.data) == null ? void 0 : s[p]) || {},
160
162
  title: n,
161
163
  type: ""
162
164
  };
163
- }) : []), c = L(null), d = p(() => {
165
+ }) : []), c = L(null), d = y(() => {
164
166
  try {
165
167
  if (c.value) {
166
168
  const n = c.value.clientWidth;
167
- let y = 24;
169
+ let p = 24;
168
170
  const s = [];
169
171
  let v = 0;
170
- for (const t of o.value) {
171
- const h = z.useTextWidth(String((t == null ? void 0 : t.title) || t));
172
- y += h + 40, (y <= n || !v) && s.push(t), v++;
172
+ for (const t of r.value) {
173
+ const C = z.useTextWidth(String((t == null ? void 0 : t.title) || t));
174
+ p += C + 40, (p <= n || !v) && s.push(t), v++;
173
175
  }
174
176
  return s;
175
177
  }
176
- return o.value;
178
+ return r.value;
177
179
  } catch {
178
- return o.value;
180
+ return r.value;
179
181
  }
180
- }), r = p(() => o.value.length - d.value.length), f = p(() => o.value.slice(d.value.length)), k = i, x = (n) => {
182
+ }), l = y(() => r.value.length - d.value.length), f = y(() => r.value.slice(d.value.length)), k = i, x = (n) => {
181
183
  k("close", n);
182
184
  };
183
- return (n, y) => {
184
- const s = C("el-tag"), v = C("el-popover");
185
+ return (n, p) => {
186
+ const s = m("el-tag"), v = m("el-popover");
185
187
  return a(), u(
186
188
  "div",
187
189
  {
@@ -191,10 +193,10 @@ const A = (l, i) => (l.install = (e) => {
191
193
  },
192
194
  [
193
195
  (a(!0), u(
194
- m,
196
+ h,
195
197
  null,
196
198
  W(d.value, (t) => (a(), u(
197
- m,
199
+ h,
198
200
  {
199
201
  key: t.title
200
202
  },
@@ -202,7 +204,7 @@ const A = (l, i) => (l.install = (e) => {
202
204
  t.title !== "--" ? (a(), g(_(N), B({
203
205
  key: 0,
204
206
  title: t.title,
205
- onClose: (h) => x(t),
207
+ onClose: (C) => x(t),
206
208
  color: t.color,
207
209
  type: t.type || "primary",
208
210
  ref_for: !0
@@ -212,7 +214,7 @@ const A = (l, i) => (l.install = (e) => {
212
214
  }), null, 16, ["title", "onClose", "color", "type", "disabled"])) : (a(), u(
213
215
  "span",
214
216
  R,
215
- $(t.title),
217
+ S(t.title),
216
218
  1
217
219
  /* TEXT */
218
220
  ))
@@ -223,14 +225,14 @@ const A = (l, i) => (l.install = (e) => {
223
225
  128
224
226
  /* KEYED_FRAGMENT */
225
227
  )),
226
- r.value ? (a(), g(v, {
228
+ l.value ? (a(), g(v, {
227
229
  key: 0,
228
230
  placement: "bottom",
229
231
  "popper-class": "ik-statu-over",
230
232
  trigger: "hover"
231
233
  }, {
232
234
  reference: b(() => [
233
- r.value ? (a(), g(s, {
235
+ l.value ? (a(), g(s, {
234
236
  key: 0,
235
237
  class: "more-tags",
236
238
  type: "info",
@@ -238,25 +240,25 @@ const A = (l, i) => (l.install = (e) => {
238
240
  }, {
239
241
  default: b(() => [
240
242
  w(
241
- " +" + $(r.value),
243
+ " +" + S(l.value),
242
244
  1
243
245
  /* TEXT */
244
246
  )
245
247
  ]),
246
248
  _: 1
247
249
  /* STABLE */
248
- })) : S("v-if", !0)
250
+ })) : $("v-if", !0)
249
251
  ]),
250
252
  default: b(() => [
251
253
  V("div", null, [
252
254
  (a(!0), u(
253
- m,
255
+ h,
254
256
  null,
255
257
  W(f.value, (t) => (a(), g(_(N), B({
256
258
  key: t.title,
257
259
  title: t.title,
258
260
  color: t.color,
259
- onClose: (h) => x(t),
261
+ onClose: (C) => x(t),
260
262
  type: t.type || "primary",
261
263
  circle: !1,
262
264
  ref_for: !0
@@ -270,7 +272,7 @@ const A = (l, i) => (l.install = (e) => {
270
272
  ]),
271
273
  _: 1
272
274
  /* STABLE */
273
- })) : S("v-if", !0)
275
+ })) : $("v-if", !0)
274
276
  ],
275
277
  512
276
278
  /* NEED_PATCH */
@@ -1 +1 @@
1
- .ik-statu-tag[data-v-a3967db7]{margin:5px 0}.ik-statu-tag[data-v-a3967db7]:not(:first-child){margin-left:5px}.el-tag[data-v-a3967db7]:not(.el-tag--plain){border:none}.el-tag--danger[data-v-a3967db7]:not(.el-tag--plain){color:var(--ik-color-error);background-color:var(--ik-color-error-light)}.ik-statu-over{width:auto!important;min-width:0!important}.tag-container[data-v-169a93dc]{display:flex;width:100%}.tag-container .ik-statu-tag[data-v-169a93dc]{max-width:calc(100% - 46px)}.tag-container .el-tag[data-v-169a93dc]:not(:last-child){margin-right:5px}.tag-container[data-v-169a93dc] .el-tag__content{display:inline-block!important;width:100%;overflow:hidden;text-overflow:ellipsis}.more-tags[data-v-169a93dc]{margin:5px 0}
1
+ .ik-statu-tag[data-v-afe0efa2]{margin:5px 0}.ik-statu-tag[data-v-afe0efa2]:not(:first-child){margin-left:5px}.el-tag[data-v-afe0efa2]:not(.el-tag--plain){border:none}.el-tag--danger[data-v-afe0efa2]:not(.el-tag--plain){color:var(--ik-color-error);background-color:var(--ik-color-error-light)}.ik-statu-over{width:auto!important;min-width:0!important}.tag-container[data-v-169a93dc]{display:flex;width:100%}.tag-container .ik-statu-tag[data-v-169a93dc]{max-width:calc(100% - 46px)}.tag-container .el-tag[data-v-169a93dc]:not(:last-child){margin-right:5px}.tag-container[data-v-169a93dc] .el-tag__content{display:inline-block!important;width:100%;overflow:hidden;text-overflow:ellipsis}.more-tags[data-v-169a93dc]{margin:5px 0}