iking-web-ui-pro 0.3.2 → 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 (109) 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 +83 -82
  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/IkStatuOver/ik.index.es.js +68 -67
  36. package/dist/IkStatuOver/iking-web-ui-pro.css +1 -1
  37. package/dist/IkSvgIcon/ik.index.es.js +51 -50
  38. package/dist/IkSvgIcon/iking-web-ui-pro.css +1 -1
  39. package/dist/IkUploadFile/ik.index.es.js +71 -71
  40. package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
  41. package/dist/IkUploadImage/ik.index.es.js +82 -86
  42. package/dist/IkUploadImage/iking-web-ui-pro.css +1 -1
  43. package/dist/IkVerticalStepBar/ik.index.es.js +75 -74
  44. package/dist/IkVerticalStepBar/iking-web-ui-pro.css +1 -1
  45. package/dist/iking-web-ui-pro.css +2 -2
  46. package/dist/index.es.js +22453 -22651
  47. package/dist/index.umd.js +115 -115
  48. package/dist/src/components/IkFullCalendar/index.d.ts +1 -63
  49. package/dist/src/components/IkFullCalendar/src/IkFullCalendar.vue.d.ts +2 -0
  50. package/dist/src/components/IkMonacoEditor/index.d.ts +3 -0
  51. package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +3 -0
  52. package/dist/src/components/IkSchedule/index.d.ts +12 -12
  53. package/dist/src/components/IkSvgIcon/index.d.ts +3 -0
  54. package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +3 -0
  55. package/package.json +1 -1
  56. package/dist/Demo/ik.index.umd.js +0 -1
  57. package/dist/IkApprovalProcess/ik.index.umd.js +0 -1
  58. package/dist/IkApprovalProcessDetail/ik.index.umd.js +0 -226
  59. package/dist/IkAutoCard/ik.index.umd.js +0 -1
  60. package/dist/IkBaseDialog/ik.index.umd.js +0 -1
  61. package/dist/IkBottomOperate/ik.index.umd.js +0 -1
  62. package/dist/IkBtnContent/ik.index.umd.js +0 -1
  63. package/dist/IkBtnSetting/ik.index.umd.js +0 -1
  64. package/dist/IkCalendar/ik.index.umd.js +0 -1
  65. package/dist/IkCollapseCard/ik.index.umd.js +0 -1
  66. package/dist/IkCurrencyInput/ik.index.umd.js +0 -1
  67. package/dist/IkDescription/ik.index.umd.js +0 -226
  68. package/dist/IkDetailPreviewFiles/ik.index.umd.js +0 -226
  69. package/dist/IkDragList/ik.index.umd.js +0 -1
  70. package/dist/IkEmpty/ik.index.umd.js +0 -1
  71. package/dist/IkExpandCollapse/ik.index.umd.js +0 -1
  72. package/dist/IkFileIcon/ik.index.umd.js +0 -1
  73. package/dist/IkFullCalendar/ik.index.umd.js +0 -1
  74. package/dist/IkFullCalendar/iking-web-ui-pro.css +0 -1
  75. package/dist/IkHorizontalStepBar/ik.index.umd.js +0 -1
  76. package/dist/IkIconPicker/ik.index.umd.js +0 -1
  77. package/dist/IkImageEditor/ik.index.umd.js +0 -1
  78. package/dist/IkImageUploadEditor/ik.index.umd.js +0 -37
  79. package/dist/IkImageViewer/ik.index.umd.js +0 -1
  80. package/dist/IkMonacoEditor/ik.index.umd.js +0 -11
  81. package/dist/IkOnlyOffice/ik.index.umd.js +0 -1
  82. package/dist/IkPage/ik.index.umd.js +0 -1
  83. package/dist/IkPageFull/ik.index.umd.js +0 -17
  84. package/dist/IkPageTabs/ik.index.umd.js +0 -1
  85. package/dist/IkPickerUser/ik.index.umd.js +0 -1
  86. package/dist/IkPlayer/ik.index.umd.js +0 -226
  87. package/dist/IkPreviewFile/ik.index.umd.js +0 -226
  88. package/dist/IkPreviewFileDialog/ik.index.umd.js +0 -226
  89. package/dist/IkPrintConfig/ik.index.umd.js +0 -1
  90. package/dist/IkPrintView/ik.index.umd.js +0 -1
  91. package/dist/IkRadioGroup/ik.index.umd.js +0 -1
  92. package/dist/IkSchedule/ik.index.umd.js +0 -1
  93. package/dist/IkSearch/ik.index.umd.js +0 -26
  94. package/dist/IkSearchHead/ik.index.umd.js +0 -1
  95. package/dist/IkSelectTag/ik.index.umd.js +0 -1
  96. package/dist/IkSideText/ik.index.umd.js +0 -1
  97. package/dist/IkStatu/ik.index.umd.js +0 -1
  98. package/dist/IkStatuOver/ik.index.umd.js +0 -1
  99. package/dist/IkSvgIcon/ik.index.umd.js +0 -1
  100. package/dist/IkTaskResume/ik.index.umd.js +0 -1
  101. package/dist/IkTemplateOfficeConfig/ik.index.umd.js +0 -1
  102. package/dist/IkTinymce/ik.index.umd.js +0 -90
  103. package/dist/IkTooltip/ik.index.umd.js +0 -1
  104. package/dist/IkTree/ik.index.umd.js +0 -1
  105. package/dist/IkUploadFile/ik.index.umd.js +0 -226
  106. package/dist/IkUploadImage/ik.index.umd.js +0 -1
  107. package/dist/IkVerticalStepBar/ik.index.umd.js +0 -9
  108. package/dist/Provider/ik.index.umd.js +0 -1
  109. package/dist/src/components/IkFullCalendar/src/ik-full-calendar.d.ts +0 -8
@@ -1,14 +1,14 @@
1
- import { defineComponent as w, computed as y, resolveComponent as h, openBlock as a, createBlock as g, normalizeClass as D, normalizeStyle as W, withCtx as k, createElementBlock as u, createCommentVNode as S, createTextVNode as $, toDisplayString as x, ref as L, Fragment as b, renderList as B, unref as N, mergeProps as _, createElementVNode as V } from "vue";
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
2
  import { ikDom as z } from "iking-utils-pro";
3
3
  const A = (l, i) => (l.install = (e) => {
4
- for (const r of [l, ...Object.values({})])
5
- e.component(r.name, r);
4
+ for (const o of [l, ...Object.values({})])
5
+ e.component(o.name, o);
6
6
  }, l), O = (l, i) => {
7
7
  const e = l.__vccOpts || l;
8
- for (const [r, c] of i)
9
- e[r] = c;
8
+ for (const [o, c] of i)
9
+ e[o] = c;
10
10
  return e;
11
- }, E = /* @__PURE__ */ w({
11
+ }, E = /* @__PURE__ */ I({
12
12
  __name: "index",
13
13
  props: {
14
14
  title: {
@@ -67,8 +67,8 @@ const A = (l, i) => (l.install = (e) => {
67
67
  },
68
68
  emits: ["close"],
69
69
  setup(l, { emit: i }) {
70
- const e = l, r = y(() => {
71
- const o = e.type ? e.type === "danger" ? `var(--el-color-${e.type})` : {
70
+ const e = l, o = p(() => {
71
+ const r = 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
  } : {
@@ -77,32 +77,32 @@ const A = (l, i) => (l.install = (e) => {
77
77
  border: "none"
78
78
  };
79
79
  if (e.effect === "plain" && e.type !== "danger")
80
- o.backgroundColor = "transparent", o.borderColor = e.type ? `var(--ik-color-${e.type})` : e.color;
80
+ r.backgroundColor = "transparent", r.borderColor = e.type ? `var(--ik-color-${e.type})` : e.color;
81
81
  else if (e.effect === "dark" && e.type !== "danger") {
82
82
  const f = e.type ? `var(--ik-color-${e.type})` : e.color;
83
- o.backgroundColor = f, o.borderColor = f, o.color = "#fff";
83
+ r.backgroundColor = f, r.borderColor = f, r.color = "#fff";
84
84
  }
85
- return o;
85
+ return r;
86
86
  }), c = i, d = () => {
87
87
  c("close");
88
88
  };
89
- return (o, f) => {
90
- const m = h("el-tag");
91
- return a(), g(m, {
89
+ return (r, f) => {
90
+ const k = C("el-tag");
91
+ return a(), g(k, {
92
92
  effect: l.effect,
93
93
  class: D(["ik-statu-tag", { disabled: l.disabled }]),
94
94
  type: l.type,
95
- style: W(r.value),
96
- closable: o.$attrs.closable && !l.disabled,
95
+ style: T(o.value),
96
+ closable: r.$attrs.closable && !l.disabled,
97
97
  onClose: d
98
98
  }, {
99
- default: k(() => [
99
+ default: b(() => [
100
100
  l.circle ? (a(), u(
101
101
  "span",
102
102
  {
103
103
  key: 0,
104
104
  class: "inline-block rounded-full",
105
- style: W({
105
+ style: T({
106
106
  backgroundColor: l.type ? l.type === "danger" ? `var(--el-color-${l.type})` : `var(--ik-color-${l.type})` : l.circleColor,
107
107
  width: `${l.circleW}px`,
108
108
  height: `${l.circleH}px`
@@ -112,8 +112,8 @@ const A = (l, i) => (l.install = (e) => {
112
112
  4
113
113
  /* STYLE */
114
114
  )) : S("v-if", !0),
115
- $(
116
- " " + x(l.title),
115
+ w(
116
+ " " + $(l.title),
117
117
  1
118
118
  /* TEXT */
119
119
  )
@@ -123,7 +123,10 @@ const A = (l, i) => (l.install = (e) => {
123
123
  }, 8, ["effect", "class", "type", "style", "closable"]);
124
124
  };
125
125
  }
126
- }), H = /* @__PURE__ */ O(E, [["__scopeId", "data-v-a3967db7"]]), I = A(H), R = /* @__PURE__ */ w({
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({
127
130
  __name: "index",
128
131
  props: {
129
132
  // 超出长度时以 +2 这样的方式显示
@@ -150,31 +153,35 @@ const A = (l, i) => (l.install = (e) => {
150
153
  },
151
154
  emits: ["close"],
152
155
  setup(l, { emit: i }) {
153
- const e = l, r = y(() => Array.isArray(e.list) ? e.list : typeof e.list == "string" ? e.list.split(",").map((n, p) => {
156
+ const e = l, o = p(() => Array.isArray(e.list) ? e.list : typeof e.list == "string" ? e.list.split(",").map((n, y) => {
154
157
  var s;
155
158
  return {
156
- ...((s = e.data) == null ? void 0 : s[p]) || {},
159
+ ...((s = e.data) == null ? void 0 : s[y]) || {},
157
160
  title: n,
158
161
  type: ""
159
162
  };
160
- }) : []), c = L(null), d = y(() => {
161
- if (c.value) {
162
- const n = c.value.clientWidth;
163
- let p = 24;
164
- const s = [];
165
- let v = 0;
166
- for (const t of r.value) {
167
- const C = z.useTextWidth(String((t == null ? void 0 : t.title) || t));
168
- p += C + 40, (p <= n || !v) && s.push(t), v++;
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;
169
175
  }
170
- return s;
176
+ return o.value;
177
+ } catch {
178
+ return o.value;
171
179
  }
172
- return r.value;
173
- }), o = y(() => r.value.length - d.value.length), f = y(() => r.value.slice(d.value.length)), m = i, T = (n) => {
174
- m("close", n);
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);
175
182
  };
176
- return (n, p) => {
177
- const s = h("el-tag"), v = h("el-popover");
183
+ return (n, y) => {
184
+ const s = C("el-tag"), v = C("el-popover");
178
185
  return a(), u(
179
186
  "div",
180
187
  {
@@ -184,18 +191,18 @@ const A = (l, i) => (l.install = (e) => {
184
191
  },
185
192
  [
186
193
  (a(!0), u(
187
- b,
194
+ m,
188
195
  null,
189
- B(d.value, (t) => (a(), u(
190
- b,
196
+ W(d.value, (t) => (a(), u(
197
+ m,
191
198
  {
192
199
  key: t.title
193
200
  },
194
201
  [
195
- t.title !== "--" ? (a(), g(N(I), _({
202
+ t.title !== "--" ? (a(), g(_(N), B({
196
203
  key: 0,
197
204
  title: t.title,
198
- onClose: (C) => T(t),
205
+ onClose: (h) => x(t),
199
206
  color: t.color,
200
207
  type: t.type || "primary",
201
208
  ref_for: !0
@@ -203,17 +210,11 @@ const A = (l, i) => (l.install = (e) => {
203
210
  circle: !1,
204
211
  disabled: t == null ? void 0 : t.disabled
205
212
  }), null, 16, ["title", "onClose", "color", "type", "disabled"])) : (a(), u(
206
- b,
207
- { key: 1 },
208
- [
209
- $(
210
- x(t.title),
211
- 1
212
- /* TEXT */
213
- )
214
- ],
215
- 64
216
- /* STABLE_FRAGMENT */
213
+ "span",
214
+ R,
215
+ $(t.title),
216
+ 1
217
+ /* TEXT */
217
218
  ))
218
219
  ],
219
220
  64
@@ -222,22 +223,22 @@ const A = (l, i) => (l.install = (e) => {
222
223
  128
223
224
  /* KEYED_FRAGMENT */
224
225
  )),
225
- o.value ? (a(), g(v, {
226
+ r.value ? (a(), g(v, {
226
227
  key: 0,
227
228
  placement: "bottom",
228
229
  "popper-class": "ik-statu-over",
229
230
  trigger: "hover"
230
231
  }, {
231
- reference: k(() => [
232
- o.value ? (a(), g(s, {
232
+ reference: b(() => [
233
+ r.value ? (a(), g(s, {
233
234
  key: 0,
234
235
  class: "more-tags",
235
236
  type: "info",
236
237
  closable: !1
237
238
  }, {
238
- default: k(() => [
239
- $(
240
- " +" + x(o.value),
239
+ default: b(() => [
240
+ w(
241
+ " +" + $(r.value),
241
242
  1
242
243
  /* TEXT */
243
244
  )
@@ -246,16 +247,16 @@ const A = (l, i) => (l.install = (e) => {
246
247
  /* STABLE */
247
248
  })) : S("v-if", !0)
248
249
  ]),
249
- default: k(() => [
250
+ default: b(() => [
250
251
  V("div", null, [
251
252
  (a(!0), u(
252
- b,
253
+ m,
253
254
  null,
254
- B(f.value, (t) => (a(), g(N(I), _({
255
+ W(f.value, (t) => (a(), g(_(N), B({
255
256
  key: t.title,
256
257
  title: t.title,
257
258
  color: t.color,
258
- onClose: (C) => T(t),
259
+ onClose: (h) => x(t),
259
260
  type: t.type || "primary",
260
261
  circle: !1,
261
262
  ref_for: !0
@@ -276,8 +277,8 @@ const A = (l, i) => (l.install = (e) => {
276
277
  );
277
278
  };
278
279
  }
279
- }), j = /* @__PURE__ */ O(R, [["__scopeId", "data-v-84c057e2"]]), q = A(j);
280
+ }), F = /* @__PURE__ */ O(j, [["__scopeId", "data-v-169a93dc"]]), G = A(F);
280
281
  export {
281
- q as IkStatuOver,
282
- q as default
282
+ G as IkStatuOver,
283
+ G as default
283
284
  };
@@ -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-84c057e2]{display:flex;width:100%}.tag-container .ik-statu-tag[data-v-84c057e2]{max-width:calc(100% - 46px)}.tag-container .el-tag[data-v-84c057e2]:not(:last-child){margin-right:5px}.tag-container[data-v-84c057e2] .el-tag__content{display:inline-block!important;width:100%;overflow:hidden;text-overflow:ellipsis}.more-tags[data-v-84c057e2]{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}
@@ -1,17 +1,17 @@
1
- import { defineComponent as z, computed as d, resolveComponent as k, openBlock as t, createElementBlock as o, Fragment as x, normalizeClass as u, normalizeStyle as r, createCommentVNode as I, createElementVNode as m, createBlock as b, withCtx as w, createTextVNode as C, toDisplayString as $ } from "vue";
2
- import { ikColor as M } from "iking-utils-pro";
3
- const S = (s, c) => (s.install = (n) => {
4
- for (const e of [s, ...Object.values({})])
5
- n.component(e.name, e);
6
- }, s), T = {
1
+ import { defineComponent as z, computed as d, resolveComponent as k, openBlock as t, createElementBlock as s, Fragment as x, normalizeClass as u, normalizeStyle as r, createElementVNode as m, createBlock as b, withCtx as w, createTextVNode as I, toDisplayString as C } from "vue";
2
+ import { ikColor as $ } from "iking-utils-pro";
3
+ const M = (o, c) => (o.install = (i) => {
4
+ for (const e of [o, ...Object.values({})])
5
+ i.component(e.name, e);
6
+ }, o), S = {
7
7
  key: 1,
8
8
  class: "h-[1em] w-[1em]",
9
9
  "aria-hidden": "true"
10
- }, j = ["xlink:href"], D = ["src"], E = {
10
+ }, T = ["xlink:href"], j = ["src"], D = {
11
11
  key: 1,
12
12
  class: "h-[1em] w-[1em]",
13
13
  "aria-hidden": "true"
14
- }, N = ["xlink:href"], O = ["src"], V = /* @__PURE__ */ z({
14
+ }, E = ["xlink:href"], O = ["src"], L = /* @__PURE__ */ z({
15
15
  name: "IkSvgIcon",
16
16
  __name: "index",
17
17
  props: {
@@ -33,16 +33,16 @@ const S = (s, c) => (s.install = (n) => {
33
33
  success: { type: Boolean },
34
34
  tableIconType: {},
35
35
  title: {},
36
- type: {},
36
+ type: { default: "primary" },
37
37
  warning: { type: Boolean },
38
38
  width: {}
39
39
  },
40
40
  emits: ["click", "mouseenter", "mouseleave", "dblclick"],
41
- setup(s, { emit: c }) {
42
- const n = s, e = d(() => n), a = d(() => {
41
+ setup(o, { emit: c }) {
42
+ const i = o, e = d(() => i), a = d(() => {
43
43
  const { name: l } = e.value;
44
44
  return /^http?:\/\//.test(l) ? "img" : /i-[^:]+:[^:]+/.test(l) ? "unocss" : l != null && l.startsWith("iksig") ? "iksig" : l != null && l.includes(":") ? "iconify" : l != null && l.startsWith("iksvg") ? "svg" : "i";
45
- }), i = d(() => {
45
+ }), n = d(() => {
46
46
  const l = [];
47
47
  if (e.value.flip)
48
48
  switch (e.value.flip) {
@@ -65,13 +65,13 @@ const S = (s, c) => (s.install = (n) => {
65
65
  padding: e.value.showBg || e.value.bg ? e.value.padding : 0,
66
66
  ...e.value.color && a.value !== "iksig" ? {
67
67
  "--ik-icon-deep-color": e.value.color,
68
- "--ik-icon-shallow-color": e.value.colorLight || M.setOpacity(e.value.color, e.value.opacity)
68
+ "--ik-icon-shallow-color": e.value.colorLight || $.setOpacity(e.value.color, e.value.opacity)
69
69
  } : {}
70
70
  };
71
71
  return e.value.width && (p.width = p.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), p;
72
- }), v = c, y = (l) => {
72
+ }), v = c, g = (l) => {
73
73
  v("click", l);
74
- }, g = (l) => {
74
+ }, y = (l) => {
75
75
  v("mouseenter", l);
76
76
  }, f = (l) => {
77
77
  v("mouseleave", l);
@@ -80,12 +80,12 @@ const S = (s, c) => (s.install = (n) => {
80
80
  };
81
81
  return (l, p) => {
82
82
  const _ = k("el-tooltip"), B = k("el-button");
83
- return e.value.tableIconType === "icon" || !e.value.tableIconType ? (t(), o(
83
+ return e.value.tableIconType === "icon" || !e.value.tableIconType ? (t(), s(
84
84
  x,
85
85
  { key: 0 },
86
86
  [
87
- e.value.notip || !e.value.title ? (t(), o(
88
- "span",
87
+ e.value.notip || !e.value.title ? (t(), s(
88
+ "i",
89
89
  {
90
90
  key: 0,
91
91
  class: u(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
@@ -101,38 +101,37 @@ const S = (s, c) => (s.install = (n) => {
101
101
  active: e.value.active,
102
102
  disabled: e.value.disabled
103
103
  }]),
104
- style: r(i.value),
105
- onClick: y,
104
+ style: r(n.value),
105
+ onClick: g,
106
106
  onDblclick: h,
107
- onMouseenter: g,
107
+ onMouseenter: y,
108
108
  onMouseleave: f
109
109
  },
110
110
  [
111
- I(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
112
- a.value === "iksig" ? (t(), o(
111
+ a.value === "iksig" ? (t(), s(
113
112
  "i",
114
113
  {
115
114
  key: 0,
116
115
  class: u(`iksig ${e.value.name}`),
117
- style: r(i.value)
116
+ style: r(n.value)
118
117
  },
119
118
  null,
120
119
  6
121
120
  /* CLASS, STYLE */
122
- )) : a.value === "svg" ? (t(), o("svg", T, [
121
+ )) : a.value === "svg" ? (t(), s("svg", S, [
123
122
  m("use", {
124
123
  "xlink:href": `#${e.value.name}`
125
- }, null, 8, j)
126
- ])) : a.value === "img" ? (t(), o("img", {
124
+ }, null, 8, T)
125
+ ])) : a.value === "img" ? (t(), s("img", {
127
126
  key: 2,
128
127
  src: e.value.name,
129
128
  class: "h-[1em] w-[1em]"
130
- }, null, 8, D)) : (t(), o(
129
+ }, null, 8, j)) : (t(), s(
131
130
  "i",
132
131
  {
133
132
  key: 3,
134
133
  class: u(e.value.name),
135
- style: r(i.value)
134
+ style: r(n.value)
136
135
  },
137
136
  null,
138
137
  6
@@ -145,11 +144,12 @@ const S = (s, c) => (s.install = (n) => {
145
144
  key: 1,
146
145
  content: e.value.title,
147
146
  placement: "top",
147
+ "popper-class": "ik-svg-icon-tooltip",
148
148
  "hide-after": 0
149
149
  }, {
150
150
  default: w(() => [
151
151
  m(
152
- "span",
152
+ "i",
153
153
  {
154
154
  class: u(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
155
155
  [l.name]: a.value === "unocss",
@@ -161,39 +161,40 @@ const S = (s, c) => (s.install = (n) => {
161
161
  primary: l.primary || e.value.type === "primary",
162
162
  success: l.success || e.value.type === "success",
163
163
  error: e.value.error || e.value.type === "error",
164
- active: e.value.active
164
+ active: e.value.active,
165
+ disabled: e.value.disabled
165
166
  }]),
166
- style: r(i.value),
167
- onClick: y,
167
+ style: r(n.value),
168
+ onClick: g,
168
169
  onDblclick: h,
169
- onMouseenter: g,
170
+ onMouseenter: y,
170
171
  onMouseleave: f
171
172
  },
172
173
  [
173
- a.value === "iksig" ? (t(), o(
174
+ a.value === "iksig" ? (t(), s(
174
175
  "i",
175
176
  {
176
177
  key: 0,
177
178
  class: u(`iksig ${e.value.name}`),
178
- style: r(i.value)
179
+ style: r(n.value)
179
180
  },
180
181
  null,
181
182
  6
182
183
  /* CLASS, STYLE */
183
- )) : a.value === "svg" ? (t(), o("svg", E, [
184
+ )) : a.value === "svg" ? (t(), s("svg", D, [
184
185
  m("use", {
185
186
  "xlink:href": `#${e.value.name}`
186
- }, null, 8, N)
187
- ])) : a.value === "img" ? (t(), o("img", {
187
+ }, null, 8, E)
188
+ ])) : a.value === "img" ? (t(), s("img", {
188
189
  key: 2,
189
190
  src: e.value.name,
190
191
  class: "h-[1em] w-[1em]"
191
- }, null, 8, O)) : (t(), o(
192
+ }, null, 8, O)) : (t(), s(
192
193
  "i",
193
194
  {
194
195
  key: 3,
195
196
  class: u(e.value.name),
196
- style: r(i.value)
197
+ style: r(n.value)
197
198
  },
198
199
  null,
199
200
  6
@@ -215,8 +216,8 @@ const S = (s, c) => (s.install = (n) => {
215
216
  type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
216
217
  }, {
217
218
  default: w(() => [
218
- C(
219
- $(e.value.title),
219
+ I(
220
+ C(e.value.title),
220
221
  1
221
222
  /* TEXT */
222
223
  )
@@ -226,13 +227,13 @@ const S = (s, c) => (s.install = (n) => {
226
227
  }, 8, ["type"]));
227
228
  };
228
229
  }
229
- }), L = (s, c) => {
230
- const n = s.__vccOpts || s;
230
+ }), N = (o, c) => {
231
+ const i = o.__vccOpts || o;
231
232
  for (const [e, a] of c)
232
- n[e] = a;
233
- return n;
234
- }, W = /* @__PURE__ */ L(V, [["__scopeId", "data-v-c7804024"]]), F = S(W);
233
+ i[e] = a;
234
+ return i;
235
+ }, V = /* @__PURE__ */ N(L, [["__scopeId", "data-v-6889f3aa"]]), Y = M(V);
235
236
  export {
236
- F as IkSvgIcon,
237
- F as default
237
+ Y as IkSvgIcon,
238
+ Y as default
238
239
  };
@@ -1 +1 @@
1
- .row-title[data-v-c7804024]{display:flex}.ik-svg-icon.ik-icon-span[data-v-c7804024]:not(:first-child){margin-left:var(--ik-margin-s-8)}
1
+ .row-title[data-v-6889f3aa]{display:flex}.ik-svg-icon.ik-icon-span[data-v-6889f3aa]:not(:first-child){margin-left:var(--ik-margin-s-8)}