iking-web-ui-pro 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/dist/IkApprovalProcessDetail/ik.index.es.js +16 -14
  2. package/dist/IkApprovalProcessDetail/iking-web-ui-pro.css +1 -1
  3. package/dist/IkBaseDialog/ik.index.es.js +28 -28
  4. package/dist/IkBaseDialog/iking-web-ui-pro.css +1 -1
  5. package/dist/IkBtnSetting/ik.index.es.js +25 -24
  6. package/dist/IkBtnSetting/iking-web-ui-pro.css +1 -1
  7. package/dist/IkCalendar/ik.index.es.js +10320 -10322
  8. package/dist/IkCollapseCard/ik.index.es.js +20 -19
  9. package/dist/IkCollapseCard/iking-web-ui-pro.css +1 -1
  10. package/dist/IkDescription/ik.index.es.js +16 -14
  11. package/dist/IkDescription/iking-web-ui-pro.css +1 -1
  12. package/dist/IkDetailPreviewFiles/ik.index.es.js +16 -14
  13. package/dist/IkDetailPreviewFiles/iking-web-ui-pro.css +1 -1
  14. package/dist/IkEmpty/ik.index.es.js +7 -7
  15. package/dist/IkEmpty/iking-web-ui-pro.css +1 -1
  16. package/dist/IkExpandCollapse/ik.index.es.js +59 -58
  17. package/dist/IkExpandCollapse/iking-web-ui-pro.css +1 -1
  18. package/dist/IkFullCalendar/ik.index.es.js +12 -9334
  19. package/dist/IkIconPicker/ik.index.es.js +22 -21
  20. package/dist/IkIconPicker/iking-web-ui-pro.css +1 -1
  21. package/dist/IkMonacoEditor/ik.index.es.js +31 -30
  22. package/dist/IkMonacoEditor/iking-web-ui-pro.css +1 -1
  23. package/dist/IkPageFull/ik.index.es.js +127 -126
  24. package/dist/IkPageFull/iking-web-ui-pro.css +1 -1
  25. package/dist/IkPreviewFile/ik.index.es.js +16 -14
  26. package/dist/IkPreviewFile/iking-web-ui-pro.css +1 -1
  27. package/dist/IkPreviewFileDialog/ik.index.es.js +50 -50
  28. package/dist/IkPreviewFileDialog/iking-web-ui-pro.css +1 -1
  29. package/dist/IkSchedule/ik.index.es.js +385 -9680
  30. package/dist/IkSchedule/iking-web-ui-pro.css +1 -1
  31. package/dist/IkSelectTag/ik.index.es.js +142 -130
  32. package/dist/IkSelectTag/iking-web-ui-pro.css +1 -1
  33. package/dist/IkSideText/ik.index.es.js +23 -22
  34. package/dist/IkSideText/iking-web-ui-pro.css +1 -1
  35. package/dist/IkStatu/ik.index.es.js +47 -38
  36. package/dist/IkStatu/iking-web-ui-pro.css +1 -1
  37. package/dist/IkStatuOver/ik.index.es.js +115 -106
  38. package/dist/IkStatuOver/iking-web-ui-pro.css +1 -1
  39. package/dist/IkSvgIcon/ik.index.es.js +51 -50
  40. package/dist/IkSvgIcon/iking-web-ui-pro.css +1 -1
  41. package/dist/IkTaskResume/ik.index.es.js +23 -0
  42. package/dist/IkUploadFile/ik.index.es.js +71 -71
  43. package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
  44. package/dist/IkUploadImage/ik.index.es.js +82 -86
  45. package/dist/IkUploadImage/iking-web-ui-pro.css +1 -1
  46. package/dist/IkVerticalStepBar/ik.index.es.js +75 -74
  47. package/dist/IkVerticalStepBar/iking-web-ui-pro.css +1 -1
  48. package/dist/iking-web-ui-pro.css +2 -2
  49. package/dist/index.es.js +21079 -21251
  50. package/dist/index.umd.js +114 -114
  51. package/dist/src/components/IkFullCalendar/index.d.ts +1 -63
  52. package/dist/src/components/IkFullCalendar/src/IkFullCalendar.vue.d.ts +2 -0
  53. package/dist/src/components/IkMonacoEditor/index.d.ts +3 -0
  54. package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +3 -0
  55. package/dist/src/components/IkSchedule/index.d.ts +12 -12
  56. package/dist/src/components/IkStatu/index.d.ts +3 -3
  57. package/dist/src/components/IkStatu/src/index.vue.d.ts +3 -3
  58. package/dist/src/components/IkSvgIcon/index.d.ts +3 -0
  59. package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +3 -0
  60. package/dist/src/components/IkTaskResume/index.d.ts +2 -0
  61. package/dist/src/components/IkTaskResume/src/index.vue.d.ts +2 -0
  62. package/dist/src/components/index.d.ts +1 -0
  63. package/package.json +1 -1
  64. package/dist/Demo/ik.index.umd.js +0 -1
  65. package/dist/IkApprovalProcess/ik.index.umd.js +0 -1
  66. package/dist/IkApprovalProcessDetail/ik.index.umd.js +0 -226
  67. package/dist/IkAutoCard/ik.index.umd.js +0 -1
  68. package/dist/IkBaseDialog/ik.index.umd.js +0 -1
  69. package/dist/IkBottomOperate/ik.index.umd.js +0 -1
  70. package/dist/IkBtnContent/ik.index.umd.js +0 -1
  71. package/dist/IkBtnSetting/ik.index.umd.js +0 -1
  72. package/dist/IkCalendar/ik.index.umd.js +0 -1
  73. package/dist/IkCollapseCard/ik.index.umd.js +0 -1
  74. package/dist/IkCurrencyInput/ik.index.umd.js +0 -1
  75. package/dist/IkDescription/ik.index.umd.js +0 -226
  76. package/dist/IkDetailPreviewFiles/ik.index.umd.js +0 -226
  77. package/dist/IkDragList/ik.index.umd.js +0 -1
  78. package/dist/IkEmpty/ik.index.umd.js +0 -1
  79. package/dist/IkExpandCollapse/ik.index.umd.js +0 -1
  80. package/dist/IkFileIcon/ik.index.umd.js +0 -1
  81. package/dist/IkFullCalendar/ik.index.umd.js +0 -1
  82. package/dist/IkFullCalendar/iking-web-ui-pro.css +0 -1
  83. package/dist/IkHorizontalStepBar/ik.index.umd.js +0 -1
  84. package/dist/IkIconPicker/ik.index.umd.js +0 -1
  85. package/dist/IkImageEditor/ik.index.umd.js +0 -1
  86. package/dist/IkImageUploadEditor/ik.index.umd.js +0 -37
  87. package/dist/IkImageViewer/ik.index.umd.js +0 -1
  88. package/dist/IkMonacoEditor/ik.index.umd.js +0 -11
  89. package/dist/IkOnlyOffice/ik.index.umd.js +0 -1
  90. package/dist/IkPage/ik.index.umd.js +0 -1
  91. package/dist/IkPageFull/ik.index.umd.js +0 -17
  92. package/dist/IkPageTabs/ik.index.umd.js +0 -1
  93. package/dist/IkPickerUser/ik.index.umd.js +0 -1
  94. package/dist/IkPlayer/ik.index.umd.js +0 -226
  95. package/dist/IkPreviewFile/ik.index.umd.js +0 -226
  96. package/dist/IkPreviewFileDialog/ik.index.umd.js +0 -226
  97. package/dist/IkPrintConfig/ik.index.umd.js +0 -1
  98. package/dist/IkPrintView/ik.index.umd.js +0 -1
  99. package/dist/IkRadioGroup/ik.index.umd.js +0 -1
  100. package/dist/IkSchedule/ik.index.umd.js +0 -1
  101. package/dist/IkSearch/ik.index.umd.js +0 -26
  102. package/dist/IkSearchHead/ik.index.umd.js +0 -1
  103. package/dist/IkSelectTag/ik.index.umd.js +0 -1
  104. package/dist/IkSideText/ik.index.umd.js +0 -1
  105. package/dist/IkStatu/ik.index.umd.js +0 -1
  106. package/dist/IkStatuOver/ik.index.umd.js +0 -1
  107. package/dist/IkSvgIcon/ik.index.umd.js +0 -1
  108. package/dist/IkTemplateOfficeConfig/ik.index.umd.js +0 -1
  109. package/dist/IkTinymce/ik.index.umd.js +0 -90
  110. package/dist/IkTooltip/ik.index.umd.js +0 -1
  111. package/dist/IkTree/ik.index.umd.js +0 -1
  112. package/dist/IkUploadFile/ik.index.umd.js +0 -226
  113. package/dist/IkUploadImage/ik.index.umd.js +0 -1
  114. package/dist/IkVerticalStepBar/ik.index.umd.js +0 -9
  115. package/dist/Provider/ik.index.umd.js +0 -1
  116. package/dist/src/components/IkFullCalendar/src/ik-full-calendar.d.ts +0 -8
@@ -1,8 +1,8 @@
1
- import { defineComponent as s, computed as u, resolveComponent as f, openBlock as a, createBlock as y, normalizeClass as g, normalizeStyle as r, withCtx as b, createElementBlock as p, createCommentVNode as m, createTextVNode as k, toDisplayString as v } from "vue";
2
- const C = (e, o) => (e.install = (t) => {
3
- for (const l of [e, ...Object.values({})])
4
- t.component(l.name, l);
5
- }, e), S = /* @__PURE__ */ s({
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";
2
+ const S = (t, r) => (t.install = (e) => {
3
+ for (const l of [t, ...Object.values({})])
4
+ e.component(l.name, l);
5
+ }, t), $ = /* @__PURE__ */ f({
6
6
  __name: "index",
7
7
  props: {
8
8
  title: {
@@ -11,7 +11,7 @@ const C = (e, o) => (e.install = (t) => {
11
11
  },
12
12
  type: {
13
13
  type: String,
14
- default: ""
14
+ default: "primary"
15
15
  },
16
16
  // 传了type时,color和background不生效
17
17
  // 文字颜色
@@ -30,7 +30,7 @@ const C = (e, o) => (e.install = (t) => {
30
30
  },
31
31
  effect: {
32
32
  type: String,
33
- default: "light"
33
+ default: "plain"
34
34
  },
35
35
  disabled: {
36
36
  type: Boolean,
@@ -60,45 +60,54 @@ const C = (e, o) => (e.install = (t) => {
60
60
  }
61
61
  },
62
62
  emits: ["close"],
63
- setup(e, { emit: o }) {
64
- const t = e, l = u(() => t.type ? t.type === "danger" ? `var(--el-color-${t.type})` : {
65
- color: `var(--ik-color-${t.type})`,
66
- backgroundColor: `var(--ik-color-${t.type}-light)`
67
- } : {
68
- color: t.color,
69
- backgroundColor: t.background,
70
- border: "none"
71
- }), c = o, n = () => {
63
+ setup(t, { emit: r }) {
64
+ const e = t, l = y(() => {
65
+ const o = e.type ? e.type === "danger" ? `var(--el-color-${e.type})` : {
66
+ color: `var(--ik-color-${e.type})`,
67
+ backgroundColor: `var(--ik-color-${e.type}-light)`
68
+ } : {
69
+ color: e.color,
70
+ backgroundColor: e.background,
71
+ border: "none"
72
+ };
73
+ if (e.effect === "plain" && e.type !== "danger")
74
+ o.backgroundColor = "transparent", o.borderColor = e.type ? `var(--ik-color-${e.type})` : e.color;
75
+ else if (e.effect === "dark" && e.type !== "danger") {
76
+ const a = e.type ? `var(--ik-color-${e.type})` : e.color;
77
+ o.backgroundColor = a, o.borderColor = a, o.color = "#fff";
78
+ }
79
+ return o;
80
+ }), c = r, i = () => {
72
81
  c("close");
73
82
  };
74
- return (i, $) => {
75
- const d = f("el-tag");
76
- return a(), y(d, {
77
- effect: e.effect,
78
- class: g(["ik-statu-tag", { disabled: e.disabled }]),
79
- type: e.type,
80
- style: r(l.value),
81
- closable: i.$attrs.closable && !e.disabled,
82
- onClose: n
83
+ return (o, a) => {
84
+ const s = u("el-tag");
85
+ return n(), p(s, {
86
+ effect: t.effect,
87
+ class: g(["ik-statu-tag", { disabled: t.disabled }]),
88
+ type: t.type,
89
+ style: d(l.value),
90
+ closable: o.$attrs.closable && !t.disabled,
91
+ onClose: i
83
92
  }, {
84
93
  default: b(() => [
85
- e.circle ? (a(), p(
94
+ t.circle ? (n(), k(
86
95
  "span",
87
96
  {
88
97
  key: 0,
89
98
  class: "inline-block rounded-full",
90
- style: r({
91
- backgroundColor: e.type ? e.type === "danger" ? `var(--el-color-${e.type})` : `var(--ik-color-${e.type})` : e.circleColor,
92
- width: `${e.circleW}px`,
93
- height: `${e.circleH}px`
99
+ style: d({
100
+ backgroundColor: t.type ? t.type === "danger" ? `var(--el-color-${t.type})` : `var(--ik-color-${t.type})` : t.circleColor,
101
+ width: `${t.circleW}px`,
102
+ height: `${t.circleH}px`
94
103
  })
95
104
  },
96
105
  null,
97
106
  4
98
107
  /* STYLE */
99
108
  )) : m("v-if", !0),
100
- k(
101
- " " + v(e.title),
109
+ C(
110
+ " " + v(t.title),
102
111
  1
103
112
  /* TEXT */
104
113
  )
@@ -108,12 +117,12 @@ const C = (e, o) => (e.install = (t) => {
108
117
  }, 8, ["effect", "class", "type", "style", "closable"]);
109
118
  };
110
119
  }
111
- }), h = (e, o) => {
112
- const t = e.__vccOpts || e;
113
- for (const [l, c] of o)
114
- t[l] = c;
115
- return t;
116
- }, x = /* @__PURE__ */ h(S, [["__scopeId", "data-v-5bcf3056"]]), N = C(x);
120
+ }), h = (t, r) => {
121
+ const e = t.__vccOpts || t;
122
+ for (const [l, c] of r)
123
+ e[l] = c;
124
+ return e;
125
+ }, x = /* @__PURE__ */ h($, [["__scopeId", "data-v-a3967db7"]]), N = S(x);
117
126
  export {
118
127
  N as IkStatu,
119
128
  N as default
@@ -1 +1 @@
1
- .ik-statu-tag[data-v-5bcf3056]{margin:5px 0}.ik-statu-tag[data-v-5bcf3056]:not(:first-child){margin-left:5px}.el-tag[data-v-5bcf3056]{border:none;border-radius:6px}.el-tag--danger[data-v-5bcf3056]{color:var(--ik-color-error);background-color:var(--ik-color-error-light)}
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,14 +1,14 @@
1
- import { defineComponent as I, computed as f, resolveComponent as m, openBlock as r, createBlock as v, normalizeClass as V, normalizeStyle as T, withCtx as b, createElementBlock as u, createCommentVNode as w, createTextVNode as C, toDisplayString as S, ref as D, Fragment as g, renderList as W, unref as N, mergeProps as B, createVNode as L, createElementVNode as z } from "vue";
2
- import { ikDom as E } from "iking-utils-pro";
3
- const A = (t, s) => (t.install = (l) => {
4
- for (const o of [t, ...Object.values({})])
5
- l.component(o.name, o);
6
- }, t), O = (t, s) => {
7
- const l = t.__vccOpts || t;
8
- for (const [o, n] of s)
9
- l[o] = n;
10
- return l;
11
- }, H = /* @__PURE__ */ I({
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";
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;
10
+ return e;
11
+ }, E = /* @__PURE__ */ I({
12
12
  __name: "index",
13
13
  props: {
14
14
  title: {
@@ -17,7 +17,7 @@ const A = (t, s) => (t.install = (l) => {
17
17
  },
18
18
  type: {
19
19
  type: String,
20
- default: ""
20
+ default: "primary"
21
21
  },
22
22
  // 传了type时,color和background不生效
23
23
  // 文字颜色
@@ -36,7 +36,7 @@ const A = (t, s) => (t.install = (l) => {
36
36
  },
37
37
  effect: {
38
38
  type: String,
39
- default: "light"
39
+ default: "plain"
40
40
  },
41
41
  disabled: {
42
42
  type: Boolean,
@@ -66,45 +66,54 @@ const A = (t, s) => (t.install = (l) => {
66
66
  }
67
67
  },
68
68
  emits: ["close"],
69
- setup(t, { emit: s }) {
70
- const l = t, o = f(() => l.type ? l.type === "danger" ? `var(--el-color-${l.type})` : {
71
- color: `var(--ik-color-${l.type})`,
72
- backgroundColor: `var(--ik-color-${l.type}-light)`
73
- } : {
74
- color: l.color,
75
- backgroundColor: l.background,
76
- border: "none"
77
- }), n = s, i = () => {
78
- n("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})` : {
72
+ color: `var(--ik-color-${e.type})`,
73
+ backgroundColor: `var(--ik-color-${e.type}-light)`
74
+ } : {
75
+ color: e.color,
76
+ backgroundColor: e.background,
77
+ border: "none"
78
+ };
79
+ if (e.effect === "plain" && e.type !== "danger")
80
+ r.backgroundColor = "transparent", r.borderColor = e.type ? `var(--ik-color-${e.type})` : e.color;
81
+ else if (e.effect === "dark" && e.type !== "danger") {
82
+ const f = e.type ? `var(--ik-color-${e.type})` : e.color;
83
+ r.backgroundColor = f, r.borderColor = f, r.color = "#fff";
84
+ }
85
+ return r;
86
+ }), c = i, d = () => {
87
+ c("close");
79
88
  };
80
- return (y, $) => {
81
- const k = m("el-tag");
82
- return r(), v(k, {
83
- effect: t.effect,
84
- class: V(["ik-statu-tag", { disabled: t.disabled }]),
85
- type: t.type,
89
+ return (r, f) => {
90
+ const k = C("el-tag");
91
+ return a(), g(k, {
92
+ effect: l.effect,
93
+ class: D(["ik-statu-tag", { disabled: l.disabled }]),
94
+ type: l.type,
86
95
  style: T(o.value),
87
- closable: y.$attrs.closable && !t.disabled,
88
- onClose: i
96
+ closable: r.$attrs.closable && !l.disabled,
97
+ onClose: d
89
98
  }, {
90
99
  default: b(() => [
91
- t.circle ? (r(), u(
100
+ l.circle ? (a(), u(
92
101
  "span",
93
102
  {
94
103
  key: 0,
95
104
  class: "inline-block rounded-full",
96
105
  style: T({
97
- backgroundColor: t.type ? t.type === "danger" ? `var(--el-color-${t.type})` : `var(--ik-color-${t.type})` : t.circleColor,
98
- width: `${t.circleW}px`,
99
- height: `${t.circleH}px`
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`
100
109
  })
101
110
  },
102
111
  null,
103
112
  4
104
113
  /* STYLE */
105
- )) : w("v-if", !0),
106
- C(
107
- " " + S(t.title),
114
+ )) : S("v-if", !0),
115
+ w(
116
+ " " + $(l.title),
108
117
  1
109
118
  /* TEXT */
110
119
  )
@@ -114,7 +123,10 @@ const A = (t, s) => (t.install = (l) => {
114
123
  }, 8, ["effect", "class", "type", "style", "closable"]);
115
124
  };
116
125
  }
117
- }), R = /* @__PURE__ */ O(H, [["__scopeId", "data-v-5bcf3056"]]), _ = A(R), j = /* @__PURE__ */ I({
126
+ }), H = /* @__PURE__ */ O(E, [["__scopeId", "data-v-a3967db7"]]), N = A(H), R = {
127
+ key: 1,
128
+ style: { color: "var(--el-color-info-light-3)" }
129
+ }, j = /* @__PURE__ */ I({
118
130
  __name: "index",
119
131
  props: {
120
132
  // 超出长度时以 +2 这样的方式显示
@@ -140,72 +152,69 @@ const A = (t, s) => (t.install = (l) => {
140
152
  }
141
153
  },
142
154
  emits: ["close"],
143
- setup(t, { emit: s }) {
144
- const l = t, o = f(() => Array.isArray(l.list) ? l.list : typeof l.list == "string" ? l.list.split(",").map((a, d) => {
145
- var c;
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
+ var s;
146
158
  return {
147
- ...((c = l.data) == null ? void 0 : c[d]) || {},
148
- title: a,
159
+ ...((s = e.data) == null ? void 0 : s[y]) || {},
160
+ title: n,
149
161
  type: ""
150
162
  };
151
- }) : []), n = D(null), i = f(() => {
152
- if (n.value) {
153
- const a = n.value.clientWidth;
154
- let d = 24;
155
- const c = [];
156
- let p = 0;
157
- for (const e of o.value) {
158
- const h = E.useTextWidth(String((e == null ? void 0 : e.title) || e));
159
- d += h + 40, (d <= a || !p) && c.push(e), p++;
163
+ }) : []), c = L(null), d = p(() => {
164
+ try {
165
+ if (c.value) {
166
+ const n = c.value.clientWidth;
167
+ let y = 24;
168
+ const s = [];
169
+ 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++;
173
+ }
174
+ return s;
160
175
  }
161
- return c;
176
+ return o.value;
177
+ } catch {
178
+ return o.value;
162
179
  }
163
- return o.value;
164
- }), y = f(() => o.value.length - i.value.length), $ = f(() => o.value.slice(i.value.length)), k = s, x = (a) => {
165
- k("close", a);
180
+ }), r = p(() => o.value.length - d.value.length), f = p(() => o.value.slice(d.value.length)), k = i, x = (n) => {
181
+ k("close", n);
166
182
  };
167
- return (a, d) => {
168
- const c = m("el-tag"), p = m("el-popover");
169
- return r(), u(
183
+ return (n, y) => {
184
+ const s = C("el-tag"), v = C("el-popover");
185
+ return a(), u(
170
186
  "div",
171
187
  {
172
188
  ref_key: "containerRef",
173
- ref: n,
189
+ ref: c,
174
190
  class: "tag-container"
175
191
  },
176
192
  [
177
- (r(!0), u(
178
- g,
193
+ (a(!0), u(
194
+ m,
179
195
  null,
180
- W(i.value, (e) => (r(), u(
181
- g,
196
+ W(d.value, (t) => (a(), u(
197
+ m,
182
198
  {
183
- key: e.title
199
+ key: t.title
184
200
  },
185
201
  [
186
- e.title !== "--" ? (r(), v(N(_), B({
202
+ t.title !== "--" ? (a(), g(_(N), B({
187
203
  key: 0,
188
- title: e.title,
189
- onClose: (h) => x(e),
190
- color: e.color,
191
- background: e.background,
192
- type: e.type,
204
+ title: t.title,
205
+ onClose: (h) => x(t),
206
+ color: t.color,
207
+ type: t.type || "primary",
193
208
  ref_for: !0
194
- }, a.$attrs, {
209
+ }, n.$attrs, {
195
210
  circle: !1,
196
- disabled: e == null ? void 0 : e.disabled
197
- }), null, 16, ["title", "onClose", "color", "background", "type", "disabled"])) : (r(), u(
198
- g,
199
- { key: 1 },
200
- [
201
- C(
202
- S(e.title),
203
- 1
204
- /* TEXT */
205
- )
206
- ],
207
- 64
208
- /* STABLE_FRAGMENT */
211
+ disabled: t == null ? void 0 : t.disabled
212
+ }), null, 16, ["title", "onClose", "color", "type", "disabled"])) : (a(), u(
213
+ "span",
214
+ R,
215
+ $(t.title),
216
+ 1
217
+ /* TEXT */
209
218
  ))
210
219
  ],
211
220
  64
@@ -214,46 +223,46 @@ const A = (t, s) => (t.install = (l) => {
214
223
  128
215
224
  /* KEYED_FRAGMENT */
216
225
  )),
217
- y.value ? (r(), v(p, {
226
+ r.value ? (a(), g(v, {
218
227
  key: 0,
219
228
  placement: "bottom",
220
229
  "popper-class": "ik-statu-over",
221
230
  trigger: "hover"
222
231
  }, {
223
232
  reference: b(() => [
224
- L(c, {
233
+ r.value ? (a(), g(s, {
234
+ key: 0,
225
235
  class: "more-tags",
226
236
  type: "info",
227
237
  closable: !1
228
238
  }, {
229
239
  default: b(() => [
230
- C(
231
- " +" + S(y.value),
240
+ w(
241
+ " +" + $(r.value),
232
242
  1
233
243
  /* TEXT */
234
244
  )
235
245
  ]),
236
246
  _: 1
237
247
  /* STABLE */
238
- })
248
+ })) : S("v-if", !0)
239
249
  ]),
240
250
  default: b(() => [
241
- z("div", null, [
242
- (r(!0), u(
243
- g,
251
+ V("div", null, [
252
+ (a(!0), u(
253
+ m,
244
254
  null,
245
- W($.value, (e) => (r(), v(N(_), B({
246
- key: e.title,
247
- title: e.title,
248
- color: e.color,
249
- onClose: (h) => x(e),
250
- background: e.background,
251
- type: e.type,
255
+ W(f.value, (t) => (a(), g(_(N), B({
256
+ key: t.title,
257
+ title: t.title,
258
+ color: t.color,
259
+ onClose: (h) => x(t),
260
+ type: t.type || "primary",
252
261
  circle: !1,
253
262
  ref_for: !0
254
- }, a.$attrs, {
255
- disabled: e == null ? void 0 : e.disabled
256
- }), null, 16, ["title", "color", "onClose", "background", "type", "disabled"]))),
263
+ }, n.$attrs, {
264
+ disabled: t == null ? void 0 : t.disabled
265
+ }), null, 16, ["title", "color", "onClose", "type", "disabled"]))),
257
266
  128
258
267
  /* KEYED_FRAGMENT */
259
268
  ))
@@ -261,14 +270,14 @@ const A = (t, s) => (t.install = (l) => {
261
270
  ]),
262
271
  _: 1
263
272
  /* STABLE */
264
- })) : w("v-if", !0)
273
+ })) : S("v-if", !0)
265
274
  ],
266
275
  512
267
276
  /* NEED_PATCH */
268
277
  );
269
278
  };
270
279
  }
271
- }), F = /* @__PURE__ */ O(j, [["__scopeId", "data-v-e872e623"]]), G = A(F);
280
+ }), F = /* @__PURE__ */ O(j, [["__scopeId", "data-v-169a93dc"]]), G = A(F);
272
281
  export {
273
282
  G as IkStatuOver,
274
283
  G as default
@@ -1 +1 @@
1
- .ik-statu-tag[data-v-5bcf3056]{margin:5px 0}.ik-statu-tag[data-v-5bcf3056]:not(:first-child){margin-left:5px}.el-tag[data-v-5bcf3056]{border:none;border-radius:6px}.el-tag--danger[data-v-5bcf3056]{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-e872e623]{display:flex;width:100%}.tag-container .ik-statu-tag[data-v-e872e623]{max-width:calc(100% - 46px)}.tag-container .el-tag[data-v-e872e623]:not(:last-child){margin-right:5px}.tag-container[data-v-e872e623] .el-tag__content{display:inline-block!important;width:100%;overflow:hidden;text-overflow:ellipsis}.more-tags[data-v-e872e623]{margin:5px 0}
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}