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.
- 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 +142 -130
- 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/IkStatu/ik.index.es.js +47 -38
- package/dist/IkStatu/iking-web-ui-pro.css +1 -1
- package/dist/IkStatuOver/ik.index.es.js +115 -106
- 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/IkTaskResume/ik.index.es.js +23 -0
- 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 +21079 -21251
- package/dist/index.umd.js +114 -114
- 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/IkStatu/index.d.ts +3 -3
- package/dist/src/components/IkStatu/src/index.vue.d.ts +3 -3
- package/dist/src/components/IkSvgIcon/index.d.ts +3 -0
- package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +3 -0
- package/dist/src/components/IkTaskResume/index.d.ts +2 -0
- package/dist/src/components/IkTaskResume/src/index.vue.d.ts +2 -0
- package/dist/src/components/index.d.ts +1 -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/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,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
3
|
-
for (const l of [
|
|
4
|
-
|
|
5
|
-
},
|
|
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: "
|
|
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(
|
|
64
|
-
const
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
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 (
|
|
75
|
-
const
|
|
76
|
-
return
|
|
77
|
-
effect:
|
|
78
|
-
class: g(["ik-statu-tag", { disabled:
|
|
79
|
-
type:
|
|
80
|
-
style:
|
|
81
|
-
closable:
|
|
82
|
-
onClose:
|
|
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
|
-
|
|
94
|
+
t.circle ? (n(), k(
|
|
86
95
|
"span",
|
|
87
96
|
{
|
|
88
97
|
key: 0,
|
|
89
98
|
class: "inline-block rounded-full",
|
|
90
|
-
style:
|
|
91
|
-
backgroundColor:
|
|
92
|
-
width: `${
|
|
93
|
-
height: `${
|
|
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
|
-
|
|
101
|
-
" " + v(
|
|
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 = (
|
|
112
|
-
const
|
|
113
|
-
for (const [l, c] of
|
|
114
|
-
|
|
115
|
-
return
|
|
116
|
-
}, x = /* @__PURE__ */ h(
|
|
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-
|
|
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
|
|
2
|
-
import { ikDom as
|
|
3
|
-
const A = (
|
|
4
|
-
for (const o of [
|
|
5
|
-
|
|
6
|
-
},
|
|
7
|
-
const
|
|
8
|
-
for (const [o,
|
|
9
|
-
|
|
10
|
-
return
|
|
11
|
-
},
|
|
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: "
|
|
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(
|
|
70
|
-
const
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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 (
|
|
81
|
-
const k =
|
|
82
|
-
return
|
|
83
|
-
effect:
|
|
84
|
-
class:
|
|
85
|
-
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:
|
|
88
|
-
onClose:
|
|
96
|
+
closable: r.$attrs.closable && !l.disabled,
|
|
97
|
+
onClose: d
|
|
89
98
|
}, {
|
|
90
99
|
default: b(() => [
|
|
91
|
-
|
|
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:
|
|
98
|
-
width: `${
|
|
99
|
-
height: `${
|
|
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
|
-
)) :
|
|
106
|
-
|
|
107
|
-
" " +
|
|
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
|
-
}),
|
|
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(
|
|
144
|
-
const
|
|
145
|
-
var
|
|
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
|
-
...((
|
|
148
|
-
title:
|
|
159
|
+
...((s = e.data) == null ? void 0 : s[y]) || {},
|
|
160
|
+
title: n,
|
|
149
161
|
type: ""
|
|
150
162
|
};
|
|
151
|
-
}) : []),
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
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
|
|
176
|
+
return o.value;
|
|
177
|
+
} catch {
|
|
178
|
+
return o.value;
|
|
162
179
|
}
|
|
163
|
-
|
|
164
|
-
|
|
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 (
|
|
168
|
-
const
|
|
169
|
-
return
|
|
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:
|
|
189
|
+
ref: c,
|
|
174
190
|
class: "tag-container"
|
|
175
191
|
},
|
|
176
192
|
[
|
|
177
|
-
(
|
|
178
|
-
|
|
193
|
+
(a(!0), u(
|
|
194
|
+
m,
|
|
179
195
|
null,
|
|
180
|
-
W(
|
|
181
|
-
|
|
196
|
+
W(d.value, (t) => (a(), u(
|
|
197
|
+
m,
|
|
182
198
|
{
|
|
183
|
-
key:
|
|
199
|
+
key: t.title
|
|
184
200
|
},
|
|
185
201
|
[
|
|
186
|
-
|
|
202
|
+
t.title !== "--" ? (a(), g(_(N), B({
|
|
187
203
|
key: 0,
|
|
188
|
-
title:
|
|
189
|
-
onClose: (h) => x(
|
|
190
|
-
color:
|
|
191
|
-
|
|
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
|
-
},
|
|
209
|
+
}, n.$attrs, {
|
|
195
210
|
circle: !1,
|
|
196
|
-
disabled:
|
|
197
|
-
}), null, 16, ["title", "onClose", "color", "
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
231
|
-
" +" +
|
|
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
|
-
|
|
242
|
-
(
|
|
243
|
-
|
|
251
|
+
V("div", null, [
|
|
252
|
+
(a(!0), u(
|
|
253
|
+
m,
|
|
244
254
|
null,
|
|
245
|
-
W(
|
|
246
|
-
key:
|
|
247
|
-
title:
|
|
248
|
-
color:
|
|
249
|
-
onClose: (h) => x(
|
|
250
|
-
|
|
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
|
-
},
|
|
255
|
-
disabled:
|
|
256
|
-
}), null, 16, ["title", "color", "onClose", "
|
|
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
|
-
})) :
|
|
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-
|
|
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-
|
|
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}
|