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 +1 @@
1
- [data-v-f0925ff8]{padding:0;margin:0}.demo-app[data-v-f0925ff8]{width:70%;margin:auto}.icon[data-v-f0925ff8]{width:10%!important;text-align:center}.icon svg[data-v-f0925ff8]{width:25px;height:25px;vertical-align:middle}.to[data-v-f0925ff8]{width:4%!important;display:inline-block;margin:auto;text-align:center}[data-v-f0925ff8] .fc-event{width:calc(100% - 4px);padding:0 4px}[data-v-f0925ff8] .fc-button{color:var(--el-color-white);border-color:var(--el-color-primary);background-color:var(--el-color-primary)}[data-v-f0925ff8] .fc-button:hover{color:var(--el-color-white);border-color:var(--el-color-primary-light-3);background-color:var(--el-color-primary-light-3);outline:none}[data-v-f0925ff8] .fc-button-primary:disabled{background-color:var(--el-color-primary-light-5);border-color:var(--el-color-primary-light-5);color:var(--el-color-white)}[data-v-f0925ff8] .fc-button-active{background-color:var(--el-color-primary-dark-2)!important;border-color:var(--el-color-primary-dark-2)!important;color:var(--el-color-white)!important;box-shadow:none!important}[data-v-f0925ff8] .fc .fc-button-primary:not(:disabled):active{background-color:var(--el-color-primary-dark-2)!important;border-color:var(--el-color-primary-dark-2)!important;color:var(--el-color-white)!important;box-shadow:none!important}[data-v-f0925ff8] .fc .fc-button-primary:focus{box-shadow:none!important}[data-v-f0925ff8] .fc .fc-h-event{background-color:inherit;border:none}[data-v-f0925ff8] .fc .fc-view table.fc-scrollgrid thead{line-height:40px}.title-line[data-v-f0925ff8]{width:100%;display:flex;justify-content:space-between;align-items:center;color:var(--el-color-primary-dark-2)}.title-line .title[data-v-f0925ff8]{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ik-full-calendar[data-v-f0925ff8]{width:100%;height:100%}.event-title[data-v-f0925ff8]{display:flex;align-items:center;color:var(--ik-text-color)}[data-v-f0925ff8] .fc .fc-timeGridWeek-view .fc-v-event .event-title,[data-v-f0925ff8] .fc .fc-timeGridDay-view .fc-v-event .event-title{color:var(--el-color-white)}.event-title[data-v-f0925ff8]:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px}.allday[data-v-f0925ff8]:before{background-color:var(--ik-success)}.no-allday[data-v-f0925ff8]:before{background-color:var(--ik-error)}.event-title-time[data-v-f0925ff8]{color:var(--ik-vice-text-color)}[data-v-f0925ff8] .fc .fc-timeGridWeek-view .fc-v-event .event-title .event-title-time,[data-v-f0925ff8] .fc .fc-timeGridDay-view .fc-v-event .event-title .event-title-time{color:var(--el-color-info-light-8)}.event-title-text[data-v-f0925ff8]{margin-left:4px}.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)}.ik-schedule[data-v-e308f501]{width:100%;height:100%;display:flex}.ik-schedule__left[data-v-e308f501]{height:100%;display:flex;flex-direction:column;flex-grow:1;flex-shrink:0}.ik-schedule__header[data-v-e308f501]{flex-shrink:0;flex-grow:0;text-align:left;display:flex}.ik-schedule__title[data-v-e308f501]{font-family:Arial-BoldMT,Arial Bold,Arial,sans-serif;font-weight:700;flex-shrink:0}.ik-schedule__body[data-v-e308f501]{flex-grow:1;margin-top:16px;height:calc(100% - 56px)}.ik-schedule__header-right[data-v-e308f501]{display:flex;justify-content:space-between;flex-grow:1}.ik-schedule__header-right-item[data-v-e308f501]{border-left:4px solid;line-height:32px}.ik-schedule__right-title[data-v-e308f501]{text-align:left;line-height:32px}
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)}.ik-schedule[data-v-e308f501]{width:100%;height:100%;display:flex}.ik-schedule__left[data-v-e308f501]{height:100%;display:flex;flex-direction:column;flex-grow:1;flex-shrink:0}.ik-schedule__header[data-v-e308f501]{flex-shrink:0;flex-grow:0;text-align:left;display:flex}.ik-schedule__title[data-v-e308f501]{font-family:Arial-BoldMT,Arial Bold,Arial,sans-serif;font-weight:700;flex-shrink:0}.ik-schedule__body[data-v-e308f501]{flex-grow:1;margin-top:16px;height:calc(100% - 56px)}.ik-schedule__header-right[data-v-e308f501]{display:flex;justify-content:space-between;flex-grow:1}.ik-schedule__header-right-item[data-v-e308f501]{border-left:4px solid;line-height:32px}.ik-schedule__right-title[data-v-e308f501]{text-align:left;line-height:32px}
@@ -1,14 +1,14 @@
1
- import { defineComponent as A, computed as g, resolveComponent as C, openBlock as i, createBlock as b, normalizeClass as j, normalizeStyle as N, withCtx as m, createElementBlock as v, createCommentVNode as V, createTextVNode as x, toDisplayString as _, ref as D, Fragment as h, renderList as T, unref as W, mergeProps as S, createElementVNode as L, mergeModels as w, 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 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";
2
2
  import { ikDom as F } from "iking-utils-pro";
3
- const I = (l, f) => (l.install = (e) => {
4
- for (const r of [l, ...Object.values({})])
5
- e.component(r.name, r);
3
+ const A = (l, f) => (l.install = (e) => {
4
+ for (const a of [l, ...Object.values({})])
5
+ e.component(a.name, a);
6
6
  }, l), O = (l, f) => {
7
7
  const e = l.__vccOpts || l;
8
- for (const [r, n] of f)
9
- e[r] = n;
8
+ for (const [a, n] of f)
9
+ e[a] = n;
10
10
  return e;
11
- }, U = /* @__PURE__ */ A({
11
+ }, U = /* @__PURE__ */ W({
12
12
  __name: "index",
13
13
  props: {
14
14
  title: {
@@ -67,8 +67,8 @@ const I = (l, f) => (l.install = (e) => {
67
67
  },
68
68
  emits: ["close"],
69
69
  setup(l, { emit: f }) {
70
- const e = l, r = g(() => {
71
- const o = e.type ? e.type === "danger" ? `var(--el-color-${e.type})` : {
70
+ const e = l, a = g(() => {
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,23 +77,23 @@ const I = (l, f) => (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 y = e.type ? `var(--ik-color-${e.type})` : e.color;
83
- o.backgroundColor = y, o.borderColor = y, o.color = "#fff";
83
+ r.backgroundColor = y, r.borderColor = y, r.color = "#fff";
84
84
  }
85
- return o;
85
+ return r;
86
86
  }), n = f, s = () => {
87
87
  n("close");
88
88
  };
89
- return (o, y) => {
90
- const k = C("el-tag");
89
+ return (r, y) => {
90
+ const k = h("el-tag");
91
91
  return i(), b(k, {
92
92
  effect: l.effect,
93
93
  class: j(["ik-statu-tag", { disabled: l.disabled }]),
94
94
  type: l.type,
95
- style: N(r.value),
96
- closable: o.$attrs.closable && !l.disabled,
95
+ style: I(a.value),
96
+ closable: r.$attrs.closable && !l.disabled,
97
97
  onClose: s
98
98
  }, {
99
99
  default: m(() => [
@@ -102,7 +102,7 @@ const I = (l, f) => (l.install = (e) => {
102
102
  {
103
103
  key: 0,
104
104
  class: "inline-block rounded-full",
105
- style: N({
105
+ style: I({
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`
@@ -111,9 +111,9 @@ const I = (l, f) => (l.install = (e) => {
111
111
  null,
112
112
  4
113
113
  /* STYLE */
114
- )) : V("v-if", !0),
115
- x(
116
- " " + _(l.title),
114
+ )) : _("v-if", !0),
115
+ B(
116
+ " " + V(l.title),
117
117
  1
118
118
  /* TEXT */
119
119
  )
@@ -123,7 +123,10 @@ const I = (l, f) => (l.install = (e) => {
123
123
  }, 8, ["effect", "class", "type", "style", "closable"]);
124
124
  };
125
125
  }
126
- }), q = /* @__PURE__ */ O(U, [["__scopeId", "data-v-a3967db7"]]), B = I(q), G = /* @__PURE__ */ A({
126
+ }), q = /* @__PURE__ */ O(U, [["__scopeId", "data-v-a3967db7"]]), w = A(q), G = {
127
+ key: 1,
128
+ style: { color: "var(--el-color-info-light-3)" }
129
+ }, J = /* @__PURE__ */ W({
127
130
  __name: "index",
128
131
  props: {
129
132
  // 超出长度时以 +2 这样的方式显示
@@ -150,31 +153,35 @@ const I = (l, f) => (l.install = (e) => {
150
153
  },
151
154
  emits: ["close"],
152
155
  setup(l, { emit: f }) {
153
- const e = l, r = g(() => Array.isArray(e.list) ? e.list : typeof e.list == "string" ? e.list.split(",").map((a, d) => {
156
+ const e = l, a = g(() => Array.isArray(e.list) ? e.list : typeof e.list == "string" ? e.list.split(",").map((o, d) => {
154
157
  var p;
155
158
  return {
156
159
  ...((p = e.data) == null ? void 0 : p[d]) || {},
157
- title: a,
160
+ title: o,
158
161
  type: ""
159
162
  };
160
163
  }) : []), n = D(null), s = g(() => {
161
- if (n.value) {
162
- const a = n.value.clientWidth;
163
- let d = 24;
164
- const p = [];
165
- let u = 0;
166
- for (const t of r.value) {
167
- const $ = F.useTextWidth(String((t == null ? void 0 : t.title) || t));
168
- d += $ + 40, (d <= a || !u) && p.push(t), u++;
164
+ try {
165
+ if (n.value) {
166
+ const o = n.value.clientWidth;
167
+ let d = 24;
168
+ const p = [];
169
+ let u = 0;
170
+ 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
+ }
174
+ return p;
169
175
  }
170
- return p;
176
+ return a.value;
177
+ } catch {
178
+ return a.value;
171
179
  }
172
- return r.value;
173
- }), o = g(() => r.value.length - s.value.length), y = g(() => r.value.slice(s.value.length)), k = f, c = (a) => {
174
- k("close", a);
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);
175
182
  };
176
- return (a, d) => {
177
- const p = C("el-tag"), u = C("el-popover");
183
+ return (o, d) => {
184
+ const p = h("el-tag"), u = h("el-popover");
178
185
  return i(), v(
179
186
  "div",
180
187
  {
@@ -184,36 +191,30 @@ const I = (l, f) => (l.install = (e) => {
184
191
  },
185
192
  [
186
193
  (i(!0), v(
187
- h,
194
+ C,
188
195
  null,
189
- T(s.value, (t) => (i(), v(
190
- h,
196
+ x(s.value, (t) => (i(), v(
197
+ C,
191
198
  {
192
199
  key: t.title
193
200
  },
194
201
  [
195
- t.title !== "--" ? (i(), b(W(B), S({
202
+ t.title !== "--" ? (i(), b(T(w), S({
196
203
  key: 0,
197
204
  title: t.title,
198
205
  onClose: ($) => c(t),
199
206
  color: t.color,
200
207
  type: t.type || "primary",
201
208
  ref_for: !0
202
- }, a.$attrs, {
209
+ }, o.$attrs, {
203
210
  circle: !1,
204
211
  disabled: t == null ? void 0 : t.disabled
205
212
  }), null, 16, ["title", "onClose", "color", "type", "disabled"])) : (i(), v(
206
- h,
207
- { key: 1 },
208
- [
209
- x(
210
- _(t.title),
211
- 1
212
- /* TEXT */
213
- )
214
- ],
215
- 64
216
- /* STABLE_FRAGMENT */
213
+ "span",
214
+ G,
215
+ V(t.title),
216
+ 1
217
+ /* TEXT */
217
218
  ))
218
219
  ],
219
220
  64
@@ -222,36 +223,36 @@ const I = (l, f) => (l.install = (e) => {
222
223
  128
223
224
  /* KEYED_FRAGMENT */
224
225
  )),
225
- o.value ? (i(), b(u, {
226
+ r.value ? (i(), b(u, {
226
227
  key: 0,
227
228
  placement: "bottom",
228
229
  "popper-class": "ik-statu-over",
229
230
  trigger: "hover"
230
231
  }, {
231
232
  reference: m(() => [
232
- o.value ? (i(), b(p, {
233
+ r.value ? (i(), b(p, {
233
234
  key: 0,
234
235
  class: "more-tags",
235
236
  type: "info",
236
237
  closable: !1
237
238
  }, {
238
239
  default: m(() => [
239
- x(
240
- " +" + _(o.value),
240
+ B(
241
+ " +" + V(r.value),
241
242
  1
242
243
  /* TEXT */
243
244
  )
244
245
  ]),
245
246
  _: 1
246
247
  /* STABLE */
247
- })) : V("v-if", !0)
248
+ })) : _("v-if", !0)
248
249
  ]),
249
250
  default: m(() => [
250
251
  L("div", null, [
251
252
  (i(!0), v(
252
- h,
253
+ C,
253
254
  null,
254
- T(y.value, (t) => (i(), b(W(B), S({
255
+ x(y.value, (t) => (i(), b(T(w), S({
255
256
  key: t.title,
256
257
  title: t.title,
257
258
  color: t.color,
@@ -259,7 +260,7 @@ const I = (l, f) => (l.install = (e) => {
259
260
  type: t.type || "primary",
260
261
  circle: !1,
261
262
  ref_for: !0
262
- }, a.$attrs, {
263
+ }, o.$attrs, {
263
264
  disabled: t == null ? void 0 : t.disabled
264
265
  }), null, 16, ["title", "color", "onClose", "type", "disabled"]))),
265
266
  128
@@ -269,16 +270,16 @@ const I = (l, f) => (l.install = (e) => {
269
270
  ]),
270
271
  _: 1
271
272
  /* STABLE */
272
- })) : V("v-if", !0)
273
+ })) : _("v-if", !0)
273
274
  ],
274
275
  512
275
276
  /* NEED_PATCH */
276
277
  );
277
278
  };
278
279
  }
279
- }), J = /* @__PURE__ */ O(G, [["__scopeId", "data-v-84c057e2"]]), K = I(J), Q = /* @__PURE__ */ A({
280
+ }), K = /* @__PURE__ */ O(J, [["__scopeId", "data-v-169a93dc"]]), Q = A(K), X = /* @__PURE__ */ W({
280
281
  __name: "index",
281
- props: /* @__PURE__ */ w({
282
+ props: /* @__PURE__ */ N({
282
283
  prop: {
283
284
  type: Object,
284
285
  default: () => ({})
@@ -294,48 +295,48 @@ const I = (l, f) => (l.install = (e) => {
294
295
  },
295
296
  modelModifiers: {}
296
297
  }),
297
- emits: /* @__PURE__ */ w(["close"], ["update:modelValue"]),
298
+ emits: /* @__PURE__ */ N(["close"], ["update:modelValue"]),
298
299
  setup(l, { emit: f }) {
299
- const e = l, r = P(), n = g(() => ({
300
+ const e = l, a = P(), n = g(() => ({
300
301
  label: "label",
301
302
  value: "value",
302
303
  ...e.prop
303
- })), s = M(l, "modelValue"), o = g(() => {
304
+ })), s = M(l, "modelValue"), r = g(() => {
304
305
  let c = [];
305
- const a = r == null ? void 0 : r.attrs.options;
306
- return Array.isArray(s.value) ? c = s.value.map((d) => a.find((p) => p[n.value.value] === d)) : s.value && (c = [a.find((d) => d[n.value.value] === s.value)]), {
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)]), {
307
308
  list: c.map((d) => d[n.value.label]).join(","),
308
309
  data: c
309
310
  };
310
311
  }), y = f, k = (c) => {
311
- s.value = s.value.filter((a) => a !== c[n.value.value]), y("close", c, s.value);
312
+ s.value = s.value.filter((o) => o !== c[n.value.value]), y("close", c, s.value);
312
313
  };
313
- return (c, a) => {
314
- const d = C("el-option"), p = C("el-select");
314
+ return (c, o) => {
315
+ const d = h("el-option"), p = h("el-select");
315
316
  return i(), b(p, S(c.$attrs, {
316
317
  "collapse-tags": !1,
317
318
  modelValue: s.value,
318
- "onUpdate:modelValue": a[0] || (a[0] = (u) => s.value = u),
319
+ "onUpdate:modelValue": o[0] || (o[0] = (u) => s.value = u),
319
320
  "no-data-text": "暂无数据",
320
321
  "no-match-text": "无匹配项"
321
322
  }), {
322
323
  tag: m(() => {
323
324
  var u, t;
324
325
  return [
325
- z(E(W(K), S({
326
- list: o.value.list,
327
- data: o.value.data
326
+ z(E(T(Q), S({
327
+ list: r.value.list,
328
+ data: r.value.data
328
329
  }, l.tagProps, { onClose: k }), null, 16, ["list", "data"]), [
329
- [H, (t = (u = o.value) == null ? void 0 : u.list) == null ? void 0 : t.length]
330
+ [H, (t = (u = r.value) == null ? void 0 : u.list) == null ? void 0 : t.length]
330
331
  ])
331
332
  ];
332
333
  }),
333
334
  default: m(() => [
334
335
  R(c.$slots, "default", {}, () => [
335
336
  (i(!0), v(
336
- h,
337
+ C,
337
338
  null,
338
- T(c.$attrs.options, (u) => (i(), b(d, {
339
+ x(c.$attrs.options, (u) => (i(), b(d, {
339
340
  key: u[n.value.value],
340
341
  label: u[n.value.label],
341
342
  value: u[n.value.value],
@@ -351,8 +352,8 @@ const I = (l, f) => (l.install = (e) => {
351
352
  }, 16, ["modelValue"]);
352
353
  };
353
354
  }
354
- }), Z = I(Q);
355
+ }), ee = A(X);
355
356
  export {
356
- Z as IkSelectTag,
357
- Z as default
357
+ ee as IkSelectTag,
358
+ ee as default
358
359
  };
@@ -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,4 +1,4 @@
1
- import { inject as k, computed as u, defineComponent as _, resolveComponent as z, openBlock as l, createElementBlock as c, Fragment as $, normalizeClass as m, normalizeStyle as p, createCommentVNode as b, createElementVNode as f, createBlock as x, withCtx as I, createTextVNode as T, toDisplayString as w, useCssVars as M, unref as C, ref as E } from "vue";
1
+ import { inject as k, computed as u, defineComponent as I, resolveComponent as z, openBlock as l, createElementBlock as c, Fragment as $, normalizeClass as m, normalizeStyle as p, createElementVNode as f, createBlock as b, withCtx as _, createTextVNode as T, toDisplayString as w, useCssVars as M, unref as C, ref as E, createCommentVNode as x } from "vue";
2
2
  import { ikColor as L } from "iking-utils-pro";
3
3
  const U = (t, o) => (t.install = (s) => {
4
4
  for (const e of [t, ...Object.values({})])
@@ -81,7 +81,7 @@ const U = (t, o) => (t.install = (s) => {
81
81
  key: 1,
82
82
  class: "h-[1em] w-[1em]",
83
83
  "aria-hidden": "true"
84
- }, F = ["xlink:href"], P = ["src"], X = /* @__PURE__ */ _({
84
+ }, F = ["xlink:href"], P = ["src"], X = /* @__PURE__ */ I({
85
85
  name: "IkSvgIcon",
86
86
  __name: "index",
87
87
  props: {
@@ -103,7 +103,7 @@ const U = (t, o) => (t.install = (s) => {
103
103
  success: { type: Boolean },
104
104
  tableIconType: {},
105
105
  title: {},
106
- type: {},
106
+ type: { default: "primary" },
107
107
  warning: { type: Boolean },
108
108
  width: {}
109
109
  },
@@ -155,7 +155,7 @@ const U = (t, o) => (t.install = (s) => {
155
155
  { key: 0 },
156
156
  [
157
157
  e.value.notip || !e.value.title ? (l(), c(
158
- "span",
158
+ "i",
159
159
  {
160
160
  key: 0,
161
161
  class: m(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
@@ -178,7 +178,6 @@ const U = (t, o) => (t.install = (s) => {
178
178
  onMouseleave: d
179
179
  },
180
180
  [
181
- b(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
182
181
  n.value === "iksig" ? (l(), c(
183
182
  "i",
184
183
  {
@@ -211,15 +210,16 @@ const U = (t, o) => (t.install = (s) => {
211
210
  ],
212
211
  38
213
212
  /* CLASS, STYLE, NEED_HYDRATION */
214
- )) : (l(), x(j, {
213
+ )) : (l(), b(j, {
215
214
  key: 1,
216
215
  content: e.value.title,
217
216
  placement: "top",
217
+ "popper-class": "ik-svg-icon-tooltip",
218
218
  "hide-after": 0
219
219
  }, {
220
- default: I(() => [
220
+ default: _(() => [
221
221
  f(
222
- "span",
222
+ "i",
223
223
  {
224
224
  class: m(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
225
225
  [a.name]: n.value === "unocss",
@@ -231,7 +231,8 @@ const U = (t, o) => (t.install = (s) => {
231
231
  primary: a.primary || e.value.type === "primary",
232
232
  success: a.success || e.value.type === "success",
233
233
  error: e.value.error || e.value.type === "error",
234
- active: e.value.active
234
+ active: e.value.active,
235
+ disabled: e.value.disabled
235
236
  }]),
236
237
  style: p(i.value),
237
238
  onClick: r,
@@ -280,11 +281,11 @@ const U = (t, o) => (t.install = (s) => {
280
281
  ],
281
282
  64
282
283
  /* STABLE_FRAGMENT */
283
- )) : (l(), x(N, {
284
+ )) : (l(), b(N, {
284
285
  key: 1,
285
286
  type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
286
287
  }, {
287
- default: I(() => [
288
+ default: _(() => [
288
289
  T(
289
290
  w(e.value.title),
290
291
  1
@@ -296,12 +297,12 @@ const U = (t, o) => (t.install = (s) => {
296
297
  }, 8, ["type"]));
297
298
  };
298
299
  }
299
- }), Y = /* @__PURE__ */ B(X, [["__scopeId", "data-v-c7804024"]]), q = U(Y), R = () => ({
300
+ }), Y = /* @__PURE__ */ B(X, [["__scopeId", "data-v-6889f3aa"]]), q = U(Y), R = () => ({
300
301
  getLinearGradient: (o) => {
301
302
  const s = L.hexToRGB(o).replace(/[^\d,]/g, "").split(",").map(Number);
302
303
  return `linear-gradient(to top, ${o} 4%, rgb(${s[0]},${s[1] + 50},${s[2]}) 88%)`;
303
304
  }
304
- }), A = /* @__PURE__ */ _({
305
+ }), A = /* @__PURE__ */ I({
305
306
  __name: "IkLinearIcon",
306
307
  props: {
307
308
  icon: {
@@ -343,7 +344,7 @@ const U = (t, o) => (t.install = (s) => {
343
344
  /* STYLE */
344
345
  ));
345
346
  }
346
- }), H = /* @__PURE__ */ B(A, [["__scopeId", "data-v-0bc5a180"]]), J = { class: "side-text items-center" }, K = { class: "side-left flex items-center" }, Q = { class: "side-right" }, Z = { class: "text-over-line" }, ee = { class: "text-over-line sub-title" }, te = /* @__PURE__ */ _({
347
+ }), H = /* @__PURE__ */ B(A, [["__scopeId", "data-v-0bc5a180"]]), J = { class: "side-text items-center" }, K = { class: "side-left flex items-center" }, Q = { class: "side-right" }, Z = { class: "text-over-line" }, ee = { class: "text-over-line sub-title" }, te = /* @__PURE__ */ I({
347
348
  __name: "IkSideText",
348
349
  props: {
349
350
  // 名称
@@ -409,7 +410,7 @@ const U = (t, o) => (t.install = (s) => {
409
410
  const d = z("el-avatar");
410
411
  return l(), c("div", J, [
411
412
  f("div", K, [
412
- t.avatarType === "url" ? (l(), x(d, {
413
+ t.avatarType === "url" ? (l(), b(d, {
413
414
  key: 0,
414
415
  style: { "--el-avatar-bg-color": "var(--ik-color-primary)" },
415
416
  size: t.size,
@@ -418,8 +419,8 @@ const U = (t, o) => (t.install = (s) => {
418
419
  fit: "contain",
419
420
  onError: v
420
421
  }, {
421
- default: I(() => [
422
- i.value ? b("v-if", !0) : (l(), c(
422
+ default: _(() => [
423
+ i.value ? x("v-if", !0) : (l(), c(
423
424
  $,
424
425
  { key: 0 },
425
426
  [
@@ -435,20 +436,20 @@ const U = (t, o) => (t.install = (s) => {
435
436
  ]),
436
437
  _: 1
437
438
  /* STABLE */
438
- }, 8, ["size", "shape", "src"])) : b("v-if", !0),
439
- t.avatarType === "icon" ? (l(), x(C(q), {
439
+ }, 8, ["size", "shape", "src"])) : x("v-if", !0),
440
+ t.avatarType === "icon" ? (l(), b(C(q), {
440
441
  key: 1,
441
442
  name: `iksvg_${(g = t.avatar) == null ? void 0 : g.replace("iksvg_", "")}`,
442
443
  "show-bg": t.showIconBg,
443
444
  type: t.iconType,
444
445
  style: p({ fontSize: t.showIconBg ? "34px" : "50px" }),
445
446
  size: t.iconSize
446
- }, null, 8, ["name", "show-bg", "type", "style", "size"])) : b("v-if", !0),
447
- t.avatarType === "linearIcon" ? (l(), x(H, {
447
+ }, null, 8, ["name", "show-bg", "type", "style", "size"])) : x("v-if", !0),
448
+ t.avatarType === "linearIcon" ? (l(), b(H, {
448
449
  key: 2,
449
450
  icon: t.avatar,
450
451
  "background-color": t.iconBackgroundColor
451
- }, null, 8, ["icon", "background-color"])) : b("v-if", !0)
452
+ }, null, 8, ["icon", "background-color"])) : x("v-if", !0)
452
453
  ]),
453
454
  f("div", Q, [
454
455
  f(
@@ -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)}.form-icon[data-v-0bc5a180]{--ik-color-white: #fff;display:flex;align-items:center;justify-content:center;width:var(--435077c3);height:var(--435077c3);border-radius:4px}.form-icon i[data-v-0bc5a180]{font-size:27px;color:var(--ik-color-white)}.side-text[data-v-c5366627]{display:flex}.side-text .side-left[data-v-c5366627]{margin-right:12px}.side-text .side-right[data-v-c5366627]{display:inline-flex;flex-direction:column;justify-content:center;overflow:hidden;text-overflow:ellipsis}.side-text .side-right p[data-v-c5366627]{overflow:hidden;text-overflow:ellipsis;line-height:1}.side-text .side-right p[data-v-c5366627]:first-child{padding-bottom:7px}.side-text .side-right p[data-v-c5366627]:last-child{color:var(--ik-color-font-secondary, #b5b5c3);font-size:13px}
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)}.form-icon[data-v-0bc5a180]{--ik-color-white: #fff;display:flex;align-items:center;justify-content:center;width:var(--435077c3);height:var(--435077c3);border-radius:4px}.form-icon i[data-v-0bc5a180]{font-size:27px;color:var(--ik-color-white)}.side-text[data-v-c5366627]{display:flex}.side-text .side-left[data-v-c5366627]{margin-right:12px}.side-text .side-right[data-v-c5366627]{display:inline-flex;flex-direction:column;justify-content:center;overflow:hidden;text-overflow:ellipsis}.side-text .side-right p[data-v-c5366627]{overflow:hidden;text-overflow:ellipsis;line-height:1}.side-text .side-right p[data-v-c5366627]:first-child{padding-bottom:7px}.side-text .side-right p[data-v-c5366627]:last-child{color:var(--ik-color-font-secondary, #b5b5c3);font-size:13px}