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.
- package/dist/IkApprovalProcessDetail/ik.index.es.js +16 -14
- package/dist/IkApprovalProcessDetail/iking-web-ui-pro.css +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +28 -28
- package/dist/IkBaseDialog/iking-web-ui-pro.css +1 -1
- package/dist/IkBtnSetting/ik.index.es.js +25 -24
- package/dist/IkBtnSetting/iking-web-ui-pro.css +1 -1
- package/dist/IkCalendar/ik.index.es.js +10320 -10322
- package/dist/IkCollapseCard/ik.index.es.js +20 -19
- package/dist/IkCollapseCard/iking-web-ui-pro.css +1 -1
- package/dist/IkDescription/ik.index.es.js +16 -14
- package/dist/IkDescription/iking-web-ui-pro.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +16 -14
- package/dist/IkDetailPreviewFiles/iking-web-ui-pro.css +1 -1
- package/dist/IkEmpty/ik.index.es.js +7 -7
- package/dist/IkEmpty/iking-web-ui-pro.css +1 -1
- package/dist/IkExpandCollapse/ik.index.es.js +59 -58
- package/dist/IkExpandCollapse/iking-web-ui-pro.css +1 -1
- package/dist/IkFullCalendar/ik.index.es.js +12 -9334
- package/dist/IkIconPicker/ik.index.es.js +22 -21
- package/dist/IkIconPicker/iking-web-ui-pro.css +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +31 -30
- package/dist/IkMonacoEditor/iking-web-ui-pro.css +1 -1
- package/dist/IkPageFull/ik.index.es.js +127 -126
- package/dist/IkPageFull/iking-web-ui-pro.css +1 -1
- package/dist/IkPreviewFile/ik.index.es.js +16 -14
- package/dist/IkPreviewFile/iking-web-ui-pro.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +50 -50
- package/dist/IkPreviewFileDialog/iking-web-ui-pro.css +1 -1
- package/dist/IkSchedule/ik.index.es.js +385 -9680
- package/dist/IkSchedule/iking-web-ui-pro.css +1 -1
- package/dist/IkSelectTag/ik.index.es.js +83 -82
- package/dist/IkSelectTag/iking-web-ui-pro.css +1 -1
- package/dist/IkSideText/ik.index.es.js +23 -22
- package/dist/IkSideText/iking-web-ui-pro.css +1 -1
- package/dist/IkStatuOver/ik.index.es.js +68 -67
- package/dist/IkStatuOver/iking-web-ui-pro.css +1 -1
- package/dist/IkSvgIcon/ik.index.es.js +51 -50
- package/dist/IkSvgIcon/iking-web-ui-pro.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +71 -71
- package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +82 -86
- package/dist/IkUploadImage/iking-web-ui-pro.css +1 -1
- package/dist/IkVerticalStepBar/ik.index.es.js +75 -74
- package/dist/IkVerticalStepBar/iking-web-ui-pro.css +1 -1
- package/dist/iking-web-ui-pro.css +2 -2
- package/dist/index.es.js +22453 -22651
- package/dist/index.umd.js +115 -115
- package/dist/src/components/IkFullCalendar/index.d.ts +1 -63
- package/dist/src/components/IkFullCalendar/src/IkFullCalendar.vue.d.ts +2 -0
- package/dist/src/components/IkMonacoEditor/index.d.ts +3 -0
- package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +3 -0
- package/dist/src/components/IkSchedule/index.d.ts +12 -12
- package/dist/src/components/IkSvgIcon/index.d.ts +3 -0
- package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +3 -0
- package/package.json +1 -1
- package/dist/Demo/ik.index.umd.js +0 -1
- package/dist/IkApprovalProcess/ik.index.umd.js +0 -1
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +0 -226
- package/dist/IkAutoCard/ik.index.umd.js +0 -1
- package/dist/IkBaseDialog/ik.index.umd.js +0 -1
- package/dist/IkBottomOperate/ik.index.umd.js +0 -1
- package/dist/IkBtnContent/ik.index.umd.js +0 -1
- package/dist/IkBtnSetting/ik.index.umd.js +0 -1
- package/dist/IkCalendar/ik.index.umd.js +0 -1
- package/dist/IkCollapseCard/ik.index.umd.js +0 -1
- package/dist/IkCurrencyInput/ik.index.umd.js +0 -1
- package/dist/IkDescription/ik.index.umd.js +0 -226
- package/dist/IkDetailPreviewFiles/ik.index.umd.js +0 -226
- package/dist/IkDragList/ik.index.umd.js +0 -1
- package/dist/IkEmpty/ik.index.umd.js +0 -1
- package/dist/IkExpandCollapse/ik.index.umd.js +0 -1
- package/dist/IkFileIcon/ik.index.umd.js +0 -1
- package/dist/IkFullCalendar/ik.index.umd.js +0 -1
- package/dist/IkFullCalendar/iking-web-ui-pro.css +0 -1
- package/dist/IkHorizontalStepBar/ik.index.umd.js +0 -1
- package/dist/IkIconPicker/ik.index.umd.js +0 -1
- package/dist/IkImageEditor/ik.index.umd.js +0 -1
- package/dist/IkImageUploadEditor/ik.index.umd.js +0 -37
- package/dist/IkImageViewer/ik.index.umd.js +0 -1
- package/dist/IkMonacoEditor/ik.index.umd.js +0 -11
- package/dist/IkOnlyOffice/ik.index.umd.js +0 -1
- package/dist/IkPage/ik.index.umd.js +0 -1
- package/dist/IkPageFull/ik.index.umd.js +0 -17
- package/dist/IkPageTabs/ik.index.umd.js +0 -1
- package/dist/IkPickerUser/ik.index.umd.js +0 -1
- package/dist/IkPlayer/ik.index.umd.js +0 -226
- package/dist/IkPreviewFile/ik.index.umd.js +0 -226
- package/dist/IkPreviewFileDialog/ik.index.umd.js +0 -226
- package/dist/IkPrintConfig/ik.index.umd.js +0 -1
- package/dist/IkPrintView/ik.index.umd.js +0 -1
- package/dist/IkRadioGroup/ik.index.umd.js +0 -1
- package/dist/IkSchedule/ik.index.umd.js +0 -1
- package/dist/IkSearch/ik.index.umd.js +0 -26
- package/dist/IkSearchHead/ik.index.umd.js +0 -1
- package/dist/IkSelectTag/ik.index.umd.js +0 -1
- package/dist/IkSideText/ik.index.umd.js +0 -1
- package/dist/IkStatu/ik.index.umd.js +0 -1
- package/dist/IkStatuOver/ik.index.umd.js +0 -1
- package/dist/IkSvgIcon/ik.index.umd.js +0 -1
- package/dist/IkTaskResume/ik.index.umd.js +0 -1
- package/dist/IkTemplateOfficeConfig/ik.index.umd.js +0 -1
- package/dist/IkTinymce/ik.index.umd.js +0 -90
- package/dist/IkTooltip/ik.index.umd.js +0 -1
- package/dist/IkTree/ik.index.umd.js +0 -1
- package/dist/IkUploadFile/ik.index.umd.js +0 -226
- package/dist/IkUploadImage/ik.index.umd.js +0 -1
- package/dist/IkVerticalStepBar/ik.index.umd.js +0 -9
- package/dist/Provider/ik.index.umd.js +0 -1
- package/dist/src/components/IkFullCalendar/src/ik-full-calendar.d.ts +0 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
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
|
|
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
|
|
4
|
-
for (const
|
|
5
|
-
e.component(
|
|
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 [
|
|
9
|
-
e[
|
|
8
|
+
for (const [a, n] of f)
|
|
9
|
+
e[a] = n;
|
|
10
10
|
return e;
|
|
11
|
-
}, U = /* @__PURE__ */
|
|
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,
|
|
71
|
-
const
|
|
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
|
-
|
|
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
|
-
|
|
83
|
+
r.backgroundColor = y, r.borderColor = y, r.color = "#fff";
|
|
84
84
|
}
|
|
85
|
-
return
|
|
85
|
+
return r;
|
|
86
86
|
}), n = f, s = () => {
|
|
87
87
|
n("close");
|
|
88
88
|
};
|
|
89
|
-
return (
|
|
90
|
-
const k =
|
|
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:
|
|
96
|
-
closable:
|
|
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:
|
|
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
|
-
)) :
|
|
115
|
-
|
|
116
|
-
" " +
|
|
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"]]),
|
|
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,
|
|
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:
|
|
160
|
+
title: o,
|
|
158
161
|
type: ""
|
|
159
162
|
};
|
|
160
163
|
}) : []), n = D(null), s = g(() => {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
const
|
|
168
|
-
|
|
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
|
|
176
|
+
return a.value;
|
|
177
|
+
} catch {
|
|
178
|
+
return a.value;
|
|
171
179
|
}
|
|
172
|
-
|
|
173
|
-
|
|
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 (
|
|
177
|
-
const p =
|
|
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
|
-
|
|
194
|
+
C,
|
|
188
195
|
null,
|
|
189
|
-
|
|
190
|
-
|
|
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(
|
|
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
|
-
},
|
|
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
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
240
|
-
" +" +
|
|
240
|
+
B(
|
|
241
|
+
" +" + V(r.value),
|
|
241
242
|
1
|
|
242
243
|
/* TEXT */
|
|
243
244
|
)
|
|
244
245
|
]),
|
|
245
246
|
_: 1
|
|
246
247
|
/* STABLE */
|
|
247
|
-
})) :
|
|
248
|
+
})) : _("v-if", !0)
|
|
248
249
|
]),
|
|
249
250
|
default: m(() => [
|
|
250
251
|
L("div", null, [
|
|
251
252
|
(i(!0), v(
|
|
252
|
-
|
|
253
|
+
C,
|
|
253
254
|
null,
|
|
254
|
-
|
|
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
|
-
},
|
|
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
|
-
})) :
|
|
273
|
+
})) : _("v-if", !0)
|
|
273
274
|
],
|
|
274
275
|
512
|
|
275
276
|
/* NEED_PATCH */
|
|
276
277
|
);
|
|
277
278
|
};
|
|
278
279
|
}
|
|
279
|
-
}),
|
|
280
|
+
}), K = /* @__PURE__ */ O(J, [["__scopeId", "data-v-169a93dc"]]), Q = A(K), X = /* @__PURE__ */ W({
|
|
280
281
|
__name: "index",
|
|
281
|
-
props: /* @__PURE__ */
|
|
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__ */
|
|
298
|
+
emits: /* @__PURE__ */ N(["close"], ["update:modelValue"]),
|
|
298
299
|
setup(l, { emit: f }) {
|
|
299
|
-
const e = l,
|
|
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"),
|
|
304
|
+
})), s = M(l, "modelValue"), r = g(() => {
|
|
304
305
|
let c = [];
|
|
305
|
-
const
|
|
306
|
-
return Array.isArray(s.value) ? c = s.value.map((d) =>
|
|
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((
|
|
312
|
+
s.value = s.value.filter((o) => o !== c[n.value.value]), y("close", c, s.value);
|
|
312
313
|
};
|
|
313
|
-
return (c,
|
|
314
|
-
const d =
|
|
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":
|
|
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(
|
|
326
|
-
list:
|
|
327
|
-
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 =
|
|
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
|
-
|
|
337
|
+
C,
|
|
337
338
|
null,
|
|
338
|
-
|
|
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
|
-
}),
|
|
355
|
+
}), ee = A(X);
|
|
355
356
|
export {
|
|
356
|
-
|
|
357
|
-
|
|
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-
|
|
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
|
|
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
|
-
"
|
|
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(),
|
|
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:
|
|
220
|
+
default: _(() => [
|
|
221
221
|
f(
|
|
222
|
-
"
|
|
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(),
|
|
284
|
+
)) : (l(), b(N, {
|
|
284
285
|
key: 1,
|
|
285
286
|
type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
|
|
286
287
|
}, {
|
|
287
|
-
default:
|
|
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-
|
|
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(),
|
|
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:
|
|
422
|
-
i.value ?
|
|
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"])) :
|
|
439
|
-
t.avatarType === "icon" ? (l(),
|
|
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"])) :
|
|
447
|
-
t.avatarType === "linearIcon" ? (l(),
|
|
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"])) :
|
|
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-
|
|
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}
|