iking-web-ui-pro 0.2.4 → 0.2.6
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/IKDetailPreviewFiles/ik.index.es.js +586 -571
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IKDetailPreviewFiles/style.css +1 -1
- package/dist/IKExpandCollapse/ik.index.es.js +123 -120
- package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
- package/dist/IKExpandCollapse/style.css +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +491 -476
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IKVerticalStepBar/ik.index.es.js +142 -139
- package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
- package/dist/IKVerticalStepBar/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +756 -741
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +125 -122
- package/dist/IkBaseDialog/ik.index.umd.js +1 -1
- package/dist/IkBaseDialog/style.css +1 -1
- package/dist/IkBtnSetting/ik.index.es.js +252 -249
- package/dist/IkBtnSetting/ik.index.umd.js +1 -1
- package/dist/IkBtnSetting/style.css +1 -1
- package/dist/IkCollapseCard/ik.index.es.js +129 -126
- package/dist/IkCollapseCard/ik.index.umd.js +1 -1
- package/dist/IkCollapseCard/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +530 -515
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkIconPicker/ik.index.es.js +196 -193
- package/dist/IkIconPicker/ik.index.umd.js +1 -1
- package/dist/IkIconPicker/style.css +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +397 -394
- package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
- package/dist/IkMonacoEditor/style.css +1 -1
- package/dist/IkPageFull/ik.index.es.js +1122 -1119
- package/dist/IkPageFull/ik.index.umd.js +2 -2
- package/dist/IkPageFull/style.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +314 -308
- package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/style.css +1 -1
- package/dist/IkSchedule/ik.index.es.js +968 -965
- package/dist/IkSchedule/ik.index.umd.js +1 -1
- package/dist/IkSchedule/style.css +1 -1
- package/dist/IkSideText/ik.index.es.js +148 -145
- package/dist/IkSideText/ik.index.umd.js +1 -1
- package/dist/IkSideText/style.css +1 -1
- package/dist/IkSvgIcon/ik.index.es.js +106 -103
- package/dist/IkSvgIcon/ik.index.umd.js +1 -1
- package/dist/IkSvgIcon/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +963 -944
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +265 -253
- package/dist/IkUploadImage/ik.index.umd.js +1 -1
- package/dist/IkUploadImage/style.css +1 -1
- package/dist/Provider/ik.index.es.js +1611 -0
- package/dist/Provider/ik.index.umd.js +17 -0
- package/dist/index.es.js +38689 -37072
- package/dist/index.umd.js +95 -79
- package/dist/src/components/IKDetailPreviewFiles/index.d.ts +1 -1
- package/dist/src/components/IKDetailPreviewFiles/src/IKDetailPreviewFiles.vue.d.ts +1 -1
- package/dist/src/components/IKPreviewFile/index.d.ts +3 -3
- package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +1 -1
- package/dist/src/components/IkApprovalProcess/index.d.ts +1 -1
- package/dist/src/components/IkApprovalProcess/src/IKApprovalProcess.vue.d.ts +1 -1
- package/dist/src/components/IkDescription/index.d.ts +3 -3
- package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +1 -1
- package/dist/src/components/IkPreviewFileDialog/index.d.ts +1 -1
- package/dist/src/components/IkPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +1 -1
- package/dist/src/components/IkTinymce/index.d.ts +1 -1
- package/dist/src/components/IkTinymce/src/index.vue.d.ts +1 -1
- package/dist/src/components/IkUploadFile/index.d.ts +3 -3
- package/dist/src/components/IkUploadFile/src/index.vue.d.ts +1 -1
- package/dist/src/components/IkUploadImage/index.d.ts +3 -3
- package/dist/src/components/IkUploadImage/src/index.vue.d.ts +1 -1
- package/dist/src/components/Provider/ProviderConfig.vue.d.ts +66 -0
- package/dist/src/components/Provider/index.d.ts +139 -0
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/utils/use-provider.d.ts +8 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ikColor as
|
|
3
|
-
const
|
|
4
|
-
if (
|
|
5
|
-
for (const
|
|
6
|
-
s.component(
|
|
7
|
-
},
|
|
8
|
-
for (const [s,
|
|
9
|
-
|
|
10
|
-
return
|
|
11
|
-
},
|
|
1
|
+
import { defineComponent as k, inject as _, computed as p, resolveComponent as d, openBlock as t, createElementBlock as o, normalizeClass as r, normalizeStyle as c, createCommentVNode as b, createElementVNode as y, createBlock as g, withCtx as f, createTextVNode as w, toDisplayString as B } from "vue";
|
|
2
|
+
import { ikColor as z } from "iking-utils-pro";
|
|
3
|
+
const x = (i, n) => {
|
|
4
|
+
if (i.install = (s) => {
|
|
5
|
+
for (const e of [i, ...Object.values(n ?? {})])
|
|
6
|
+
s.component(e.name, e);
|
|
7
|
+
}, n)
|
|
8
|
+
for (const [s, e] of Object.entries(n))
|
|
9
|
+
i[s] = e;
|
|
10
|
+
return i;
|
|
11
|
+
}, I = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
|
|
14
|
-
},
|
|
14
|
+
}, j = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "h-[1em] w-[1em]",
|
|
17
17
|
"aria-hidden": "true"
|
|
18
|
-
},
|
|
18
|
+
}, C = ["xlink:href"], $ = ["src"], S = {
|
|
19
19
|
key: 1,
|
|
20
20
|
class: "h-[1em] w-[1em]",
|
|
21
21
|
"aria-hidden": "true"
|
|
22
|
-
},
|
|
22
|
+
}, T = ["xlink:href"], O = ["src"], N = /* @__PURE__ */ k({
|
|
23
23
|
name: "IkSvgIcon",
|
|
24
24
|
__name: "index",
|
|
25
25
|
props: {
|
|
@@ -45,85 +45,88 @@ const B = (l, t) => {
|
|
|
45
45
|
disabled: { type: Boolean, default: !1 },
|
|
46
46
|
tableIconType: { default: "icon" }
|
|
47
47
|
},
|
|
48
|
-
setup(
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}),
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
|
|
48
|
+
setup(i) {
|
|
49
|
+
const n = i, s = _("iconConfig"), e = p(() => ({
|
|
50
|
+
...(s == null ? void 0 : s.value) || {},
|
|
51
|
+
...n
|
|
52
|
+
})), a = p(() => {
|
|
53
|
+
const { name: l } = e.value;
|
|
54
|
+
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";
|
|
55
|
+
}), u = p(() => {
|
|
56
|
+
const l = [];
|
|
57
|
+
if (e.value.flip)
|
|
58
|
+
switch (e.value.flip) {
|
|
56
59
|
case "horizontal":
|
|
57
|
-
|
|
60
|
+
l.push("rotateY(180deg)");
|
|
58
61
|
break;
|
|
59
62
|
case "vertical":
|
|
60
|
-
|
|
63
|
+
l.push("rotateX(180deg)");
|
|
61
64
|
break;
|
|
62
65
|
case "both":
|
|
63
|
-
|
|
66
|
+
l.push("rotateX(180deg)"), l.push("rotateY(180deg)");
|
|
64
67
|
break;
|
|
65
68
|
}
|
|
66
|
-
|
|
67
|
-
const
|
|
68
|
-
...
|
|
69
|
-
...
|
|
70
|
-
...
|
|
71
|
-
padding:
|
|
72
|
-
...
|
|
73
|
-
"--ik-color-icon-dark":
|
|
74
|
-
"--ik-color-icon-light":
|
|
69
|
+
e.value.rotate && l.push(`rotate(${e.value.rotate % 360}deg)`);
|
|
70
|
+
const v = {
|
|
71
|
+
...e.value.color && { color: e.value.color },
|
|
72
|
+
...e.value.size && { fontSize: typeof e.value.size == "number" ? `${e.value.size}px` : e.value.size },
|
|
73
|
+
...l.length && { transform: l.join(" ") },
|
|
74
|
+
padding: e.value.showBg || e.value.bg ? e.value.padding : 0,
|
|
75
|
+
...e.value.color && a.value !== "iksig" ? {
|
|
76
|
+
"--ik-color-icon-dark": e.value.color,
|
|
77
|
+
"--ik-color-icon-light": e.value.colorLight || z.setOpacity(e.value.color, e.value.opacity)
|
|
75
78
|
} : {}
|
|
76
79
|
};
|
|
77
|
-
return
|
|
80
|
+
return e.value.width && (v.width = v.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), v;
|
|
78
81
|
});
|
|
79
|
-
return (
|
|
80
|
-
const
|
|
81
|
-
return e.tableIconType === "icon" ? (
|
|
82
|
-
e.notip || !e.title ? (
|
|
82
|
+
return (l, v) => {
|
|
83
|
+
const m = d("el-tooltip"), h = d("el-button");
|
|
84
|
+
return e.value.tableIconType === "icon" ? (t(), o("span", I, [
|
|
85
|
+
e.value.notip || !e.value.title ? (t(), o(
|
|
83
86
|
"i",
|
|
84
87
|
{
|
|
85
88
|
key: 0,
|
|
86
89
|
class: r(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
87
|
-
[
|
|
88
|
-
"show-bg": e.showBg || e.bg,
|
|
89
|
-
default: e.size === "default",
|
|
90
|
-
small: e.size === "small",
|
|
91
|
-
big: e.size === "big",
|
|
92
|
-
warning: e.warning ||
|
|
93
|
-
primary: e.primary ||
|
|
94
|
-
success:
|
|
95
|
-
error: e.error ||
|
|
96
|
-
active: e.active,
|
|
97
|
-
disabled: e.disabled
|
|
90
|
+
[l.name]: a.value === "unocss",
|
|
91
|
+
"show-bg": e.value.showBg || e.value.bg,
|
|
92
|
+
default: e.value.size === "default",
|
|
93
|
+
small: e.value.size === "small",
|
|
94
|
+
big: e.value.size === "big",
|
|
95
|
+
warning: e.value.warning || e.value.type === "warning",
|
|
96
|
+
primary: e.value.primary || e.value.type === "primary",
|
|
97
|
+
success: l.success || e.value.type === "success",
|
|
98
|
+
error: e.value.error || e.value.type === "error",
|
|
99
|
+
active: e.value.active,
|
|
100
|
+
disabled: e.value.disabled
|
|
98
101
|
}]),
|
|
99
|
-
style: c(
|
|
102
|
+
style: c(u.value)
|
|
100
103
|
},
|
|
101
104
|
[
|
|
102
|
-
|
|
103
|
-
|
|
105
|
+
b(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
106
|
+
a.value === "iksig" ? (t(), o(
|
|
104
107
|
"i",
|
|
105
108
|
{
|
|
106
109
|
key: 0,
|
|
107
|
-
class: r(`iksig ${e.name}`),
|
|
108
|
-
style: c(
|
|
110
|
+
class: r(`iksig ${e.value.name}`),
|
|
111
|
+
style: c(u.value)
|
|
109
112
|
},
|
|
110
113
|
null,
|
|
111
114
|
6
|
|
112
115
|
/* CLASS, STYLE */
|
|
113
|
-
)) :
|
|
114
|
-
|
|
115
|
-
"xlink:href": `#${e.name}`
|
|
116
|
-
}, null, 8,
|
|
117
|
-
])) :
|
|
116
|
+
)) : a.value === "svg" ? (t(), o("svg", j, [
|
|
117
|
+
y("use", {
|
|
118
|
+
"xlink:href": `#${e.value.name}`
|
|
119
|
+
}, null, 8, C)
|
|
120
|
+
])) : a.value === "img" ? (t(), o("img", {
|
|
118
121
|
key: 2,
|
|
119
|
-
src: e.name,
|
|
122
|
+
src: e.value.name,
|
|
120
123
|
class: "h-[1em] w-[1em]"
|
|
121
|
-
}, null, 8, $)) : (
|
|
124
|
+
}, null, 8, $)) : (t(), o(
|
|
122
125
|
"i",
|
|
123
126
|
{
|
|
124
127
|
key: 3,
|
|
125
|
-
class: r(e.name),
|
|
126
|
-
style: c(
|
|
128
|
+
class: r(e.value.name),
|
|
129
|
+
style: c(u.value)
|
|
127
130
|
},
|
|
128
131
|
null,
|
|
129
132
|
6
|
|
@@ -132,54 +135,54 @@ const B = (l, t) => {
|
|
|
132
135
|
],
|
|
133
136
|
6
|
|
134
137
|
/* CLASS, STYLE */
|
|
135
|
-
)) : (
|
|
138
|
+
)) : (t(), g(m, {
|
|
136
139
|
key: 1,
|
|
137
|
-
content: e.title,
|
|
140
|
+
content: e.value.title,
|
|
138
141
|
placement: "top"
|
|
139
142
|
}, {
|
|
140
|
-
default:
|
|
141
|
-
|
|
143
|
+
default: f(() => [
|
|
144
|
+
y(
|
|
142
145
|
"i",
|
|
143
146
|
{
|
|
144
147
|
class: r(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
145
|
-
[
|
|
146
|
-
"show-bg": e.showBg || e.bg,
|
|
147
|
-
default: e.size === "default",
|
|
148
|
-
small: e.size === "small",
|
|
149
|
-
big: e.size === "big",
|
|
150
|
-
warning: e.warning ||
|
|
151
|
-
primary:
|
|
152
|
-
success:
|
|
153
|
-
error: e.error ||
|
|
154
|
-
active: e.active
|
|
148
|
+
[l.name]: a.value === "unocss",
|
|
149
|
+
"show-bg": e.value.showBg || e.value.bg,
|
|
150
|
+
default: e.value.size === "default",
|
|
151
|
+
small: e.value.size === "small",
|
|
152
|
+
big: e.value.size === "big",
|
|
153
|
+
warning: e.value.warning || e.value.type === "warning",
|
|
154
|
+
primary: l.primary || e.value.type === "primary",
|
|
155
|
+
success: l.success || e.value.type === "success",
|
|
156
|
+
error: e.value.error || e.value.type === "error",
|
|
157
|
+
active: e.value.active
|
|
155
158
|
}]),
|
|
156
|
-
style: c(
|
|
159
|
+
style: c(u.value)
|
|
157
160
|
},
|
|
158
161
|
[
|
|
159
|
-
|
|
162
|
+
a.value === "iksig" ? (t(), o(
|
|
160
163
|
"i",
|
|
161
164
|
{
|
|
162
165
|
key: 0,
|
|
163
|
-
class: r(`iksig ${e.name}`),
|
|
164
|
-
style: c(
|
|
166
|
+
class: r(`iksig ${e.value.name}`),
|
|
167
|
+
style: c(u.value)
|
|
165
168
|
},
|
|
166
169
|
null,
|
|
167
170
|
6
|
|
168
171
|
/* CLASS, STYLE */
|
|
169
|
-
)) :
|
|
170
|
-
|
|
171
|
-
"xlink:href": `#${e.name}`
|
|
172
|
-
}, null, 8,
|
|
173
|
-
])) :
|
|
172
|
+
)) : a.value === "svg" ? (t(), o("svg", S, [
|
|
173
|
+
y("use", {
|
|
174
|
+
"xlink:href": `#${e.value.name}`
|
|
175
|
+
}, null, 8, T)
|
|
176
|
+
])) : a.value === "img" ? (t(), o("img", {
|
|
174
177
|
key: 2,
|
|
175
|
-
src: e.name,
|
|
178
|
+
src: e.value.name,
|
|
176
179
|
class: "h-[1em] w-[1em]"
|
|
177
|
-
}, null, 8,
|
|
180
|
+
}, null, 8, O)) : (t(), o(
|
|
178
181
|
"i",
|
|
179
182
|
{
|
|
180
183
|
key: 3,
|
|
181
|
-
class: r(e.name),
|
|
182
|
-
style: c(
|
|
184
|
+
class: r(e.value.name),
|
|
185
|
+
style: c(u.value)
|
|
183
186
|
},
|
|
184
187
|
null,
|
|
185
188
|
6
|
|
@@ -193,13 +196,13 @@ const B = (l, t) => {
|
|
|
193
196
|
_: 1
|
|
194
197
|
/* STABLE */
|
|
195
198
|
}, 8, ["content"]))
|
|
196
|
-
])) : (
|
|
199
|
+
])) : (t(), g(h, {
|
|
197
200
|
key: 1,
|
|
198
|
-
type: ["warning", "error"].includes(e.type) ? "danger" : ""
|
|
201
|
+
type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
|
|
199
202
|
}, {
|
|
200
|
-
default:
|
|
201
|
-
|
|
202
|
-
|
|
203
|
+
default: f(() => [
|
|
204
|
+
w(
|
|
205
|
+
B(e.value.title),
|
|
203
206
|
1
|
|
204
207
|
/* TEXT */
|
|
205
208
|
)
|
|
@@ -210,13 +213,13 @@ const B = (l, t) => {
|
|
|
210
213
|
};
|
|
211
214
|
}
|
|
212
215
|
});
|
|
213
|
-
const
|
|
214
|
-
const s =
|
|
215
|
-
for (const [
|
|
216
|
-
s[
|
|
216
|
+
const V = (i, n) => {
|
|
217
|
+
const s = i.__vccOpts || i;
|
|
218
|
+
for (const [e, a] of n)
|
|
219
|
+
s[e] = a;
|
|
217
220
|
return s;
|
|
218
|
-
},
|
|
221
|
+
}, E = /* @__PURE__ */ V(N, [["__scopeId", "data-v-1be337e4"]]), X = x(E);
|
|
219
222
|
export {
|
|
220
|
-
|
|
221
|
-
|
|
223
|
+
X as IkSvgIcon,
|
|
224
|
+
X as default
|
|
222
225
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(n,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("vue"),require("iking-utils-pro")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro"],l):(n=typeof globalThis<"u"?globalThis:n||self,l(n.index={},n.vue,n["iking-utils-pro"]))})(this,function(n,l,p){"use strict";const m=(i,s)=>{if(i.install=a=>{for(const e of[i,...Object.values(s??{})])a.component(e.name,e)},s)for(const[a,e]of Object.entries(s))i[a]=e;return i},d={key:0,class:"ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"},y={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},f=["xlink:href"],g=["src"],k={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},v=["xlink:href"],h=["src"],_=l.defineComponent({name:"IkSvgIcon",__name:"index",props:{name:{},flip:{},rotate:{},color:{},colorLight:{},opacity:{default:.5},size:{default:""},width:{},bg:{type:Boolean,default:!1},showBg:{type:Boolean,default:!1},padding:{default:"6px"},primary:{type:Boolean},warning:{type:Boolean},success:{type:Boolean},error:{type:Boolean},notip:{type:Boolean,default:!1},title:{},type:{},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},tableIconType:{default:"icon"}},setup(i){const s=i,a=l.inject("iconConfig"),e=l.computed(()=>({...(a==null?void 0:a.value)||{},...s})),o=l.computed(()=>{const{name:t}=e.value;return/^http?:\/\//.test(t)?"img":/i-[^:]+:[^:]+/.test(t)?"unocss":t!=null&&t.startsWith("iksig")?"iksig":t!=null&&t.includes(":")?"iconify":t!=null&&t.startsWith("iksvg")?"svg":"i"}),r=l.computed(()=>{const t=[];if(e.value.flip)switch(e.value.flip){case"horizontal":t.push("rotateY(180deg)");break;case"vertical":t.push("rotateX(180deg)");break;case"both":t.push("rotateX(180deg)"),t.push("rotateY(180deg)");break}e.value.rotate&&t.push(`rotate(${e.value.rotate%360}deg)`);const c={...e.value.color&&{color:e.value.color},...e.value.size&&{fontSize:typeof e.value.size=="number"?`${e.value.size}px`:e.value.size},...t.length&&{transform:t.join(" ")},padding:e.value.showBg||e.value.bg?e.value.padding:0,...e.value.color&&o.value!=="iksig"?{"--ik-color-icon-dark":e.value.color,"--ik-color-icon-light":e.value.colorLight||p.ikColor.setOpacity(e.value.color,e.value.opacity)}:{}};return e.value.width&&(c.width=c.height=typeof e.value.width=="number"?`${e.value.width}px`:e.value.width),c});return(t,c)=>{const B=l.resolveComponent("el-tooltip"),b=l.resolveComponent("el-button");return e.value.tableIconType==="icon"?(l.openBlock(),l.createElementBlock("span",d,[e.value.notip||!e.value.title?(l.openBlock(),l.createElementBlock("i",{key:0,class:l.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[t.name]:o.value==="unocss","show-bg":e.value.showBg||e.value.bg,default:e.value.size==="default",small:e.value.size==="small",big:e.value.size==="big",warning:e.value.warning||e.value.type==="warning",primary:e.value.primary||e.value.type==="primary",success:t.success||e.value.type==="success",error:e.value.error||e.value.type==="error",active:e.value.active,disabled:e.value.disabled}]),style:l.normalizeStyle(r.value)},[l.createCommentVNode(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),o.value==="iksig"?(l.openBlock(),l.createElementBlock("i",{key:0,class:l.normalizeClass(`iksig ${e.value.name}`),style:l.normalizeStyle(r.value)},null,6)):o.value==="svg"?(l.openBlock(),l.createElementBlock("svg",y,[l.createElementVNode("use",{"xlink:href":`#${e.value.name}`},null,8,f)])):o.value==="img"?(l.openBlock(),l.createElementBlock("img",{key:2,src:e.value.name,class:"h-[1em] w-[1em]"},null,8,g)):(l.openBlock(),l.createElementBlock("i",{key:3,class:l.normalizeClass(e.value.name),style:l.normalizeStyle(r.value)},null,6))],6)):(l.openBlock(),l.createBlock(B,{key:1,content:e.value.title,placement:"top"},{default:l.withCtx(()=>[l.createElementVNode("i",{class:l.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[t.name]:o.value==="unocss","show-bg":e.value.showBg||e.value.bg,default:e.value.size==="default",small:e.value.size==="small",big:e.value.size==="big",warning:e.value.warning||e.value.type==="warning",primary:t.primary||e.value.type==="primary",success:t.success||e.value.type==="success",error:e.value.error||e.value.type==="error",active:e.value.active}]),style:l.normalizeStyle(r.value)},[o.value==="iksig"?(l.openBlock(),l.createElementBlock("i",{key:0,class:l.normalizeClass(`iksig ${e.value.name}`),style:l.normalizeStyle(r.value)},null,6)):o.value==="svg"?(l.openBlock(),l.createElementBlock("svg",k,[l.createElementVNode("use",{"xlink:href":`#${e.value.name}`},null,8,v)])):o.value==="img"?(l.openBlock(),l.createElementBlock("img",{key:2,src:e.value.name,class:"h-[1em] w-[1em]"},null,8,h)):(l.openBlock(),l.createElementBlock("i",{key:3,class:l.normalizeClass(e.value.name),style:l.normalizeStyle(r.value)},null,6))],6)]),_:1},8,["content"]))])):(l.openBlock(),l.createBlock(b,{key:1,type:["warning","error"].includes(e.value.type)?"danger":""},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(e.value.title),1)]),_:1},8,["type"]))}}}),w="",u=m(((i,s)=>{const a=i.__vccOpts||i;for(const[e,o]of s)a[e]=o;return a})(_,[["__scopeId","data-v-1be337e4"]]));n.IkSvgIcon=u,n.default=u,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/dist/IkSvgIcon/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.row-title[data-v-
|
|
1
|
+
.row-title[data-v-1be337e4]{display:flex}
|