iking-web-ui-pro 1.2.5 → 1.2.7
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/IkApprovalProcess/ik.index.es.js +2 -2
- package/dist/IkApprovalProcess/iking-web-ui-pro.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +4247 -4069
- package/dist/IkApprovalProcessDetail/iking-web-ui-pro.css +1 -1
- package/dist/IkAutoCard/ik.index.es.js +2 -2
- package/dist/IkBaseDialog/ik.index.es.js +12 -12
- package/dist/IkBottomOperate/ik.index.es.js +1 -1
- package/dist/IkBtnContent/ik.index.es.js +21 -21
- package/dist/IkBtnSetting/ik.index.es.js +23 -23
- package/dist/IkCalendar/ik.index.es.js +2065 -2016
- package/dist/IkCalendar/iking-web-ui-pro.css +1 -1
- package/dist/IkCollapseCard/ik.index.es.js +4 -4
- package/dist/IkCurrencyInput/ik.index.es.js +5 -5
- package/dist/IkDescription/ik.index.es.js +4185 -4007
- package/dist/IkDescription/iking-web-ui-pro.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +4336 -4158
- package/dist/IkDetailPreviewFiles/iking-web-ui-pro.css +1 -1
- package/dist/IkDragList/ik.index.es.js +10 -10
- package/dist/IkExpandCollapse/ik.index.es.js +1 -1
- package/dist/IkFileIcon/ik.index.es.js +13 -13
- package/dist/IkHorizontalStepBar/ik.index.es.js +54 -54
- package/dist/IkIconPicker/ik.index.es.js +7 -7
- package/dist/IkIconPicker/iking-web-ui-pro.css +1 -1
- package/dist/IkImageUploadEditor/ik.index.es.js +3438 -3284
- package/dist/IkImageUploadEditor/iking-web-ui-pro.css +2 -2
- package/dist/IkImageViewer/ik.index.es.js +180 -180
- package/dist/IkMonacoEditor/ik.index.es.js +221 -206
- package/dist/IkOnlyOffice/ik.index.es.js +3 -3
- package/dist/IkPageFull/ik.index.es.js +156 -156
- package/dist/IkPageFull/iking-web-ui-pro.css +1 -1
- package/dist/IkPageTabs/ik.index.es.js +6 -6
- package/dist/IkPickerUser/ik.index.es.js +1 -1
- package/dist/IkPickerUser/iking-web-ui-pro.css +1 -1
- package/dist/IkPlayer/ik.index.es.js +1318 -1140
- package/dist/IkPlayer/iking-web-ui-pro.css +1 -1
- package/dist/IkPreviewFile/ik.index.es.js +4286 -4108
- package/dist/IkPreviewFile/iking-web-ui-pro.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +4282 -4104
- package/dist/IkPreviewFileDialog/iking-web-ui-pro.css +1 -1
- package/dist/IkPrint/ik.index.es.js +106 -106
- package/dist/IkPrint/iking-web-ui-pro.css +1 -1
- package/dist/IkPrint/{index.es-DzGIwinU.mjs → index.es-OMtWcZN6.mjs} +1135 -1117
- package/dist/IkPrint/{jspdf.es.min-ByQMz4Ps.mjs → jspdf.es.min-CYsYASKt.mjs} +3153 -3140
- package/dist/IkPrint/purify.es-CiEWEeUM.mjs +605 -0
- package/dist/IkPrintConfig/ik.index.es.js +3 -3
- package/dist/IkPrintView/ik.index.es.js +1 -1
- package/dist/IkRadioGroup/ik.index.es.js +5 -5
- package/dist/IkSearch/ik.index.es.js +144 -144
- package/dist/IkSearch/iking-web-ui-pro.css +1 -1
- package/dist/IkSearchHead/ik.index.es.js +25 -25
- package/dist/IkSelectTag/ik.index.es.js +1 -1
- package/dist/IkSideText/ik.index.es.js +1 -1
- package/dist/IkStatu/ik.index.es.js +1 -1
- package/dist/IkStatuOver/ik.index.es.js +1 -1
- package/dist/IkSvgIcon/ik.index.es.js +7 -7
- package/dist/IkTemplateOfficeConfig/ik.index.es.js +1 -1
- package/dist/IkTinymce/ik.index.es.js +2 -2
- package/dist/IkTooltip/ik.index.es.js +2 -2
- package/dist/IkTree/ik.index.es.js +33 -33
- package/dist/IkUploadFile/ik.index.es.js +4543 -4361
- package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +213 -213
- package/dist/IkVerticalStepBar/ik.index.es.js +13 -13
- package/dist/iking-web-ui-pro.css +2 -2
- package/dist/{index-DTIv4saG.mjs → index-CughgR_O.mjs} +34710 -34310
- package/dist/{index.es-DJTszikI.mjs → index.es-DgqPc8il.mjs} +1195 -1177
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +203 -201
- package/dist/{jspdf.es.min-CB6UoKKF.mjs → jspdf.es.min-CVLIg3IF.mjs} +3153 -3140
- package/dist/purify.es-CiEWEeUM.mjs +605 -0
- package/dist/src/components/IkBtnContent/index.d.ts +1 -1
- package/dist/src/components/IkBtnContent/src/index.d.ts +1 -1
- package/dist/src/components/IkBtnSetting/index.d.ts +1 -1
- package/dist/src/components/IkBtnSetting/src/IkBtnSetting.vue.d.ts +1 -1
- package/dist/src/components/IkDragList/index.d.ts +3 -3
- package/dist/src/components/IkDragList/src/IkDragList.vue.d.ts +1 -1
- package/dist/src/components/IkMonacoEditor/index.d.ts +14 -14
- package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +14 -14
- package/dist/src/components/IkPageFull/index.d.ts +3 -3
- package/dist/src/components/IkPageFull/src/IkDialog.d.ts +4 -4
- package/dist/src/components/IkPageFull/src/IkPageHead.vue.d.ts +1 -1
- package/dist/src/components/IkPageFull/src/IkPageTable.vue.d.ts +1 -1
- package/dist/src/components/IkPageFull/src/IkSearchAuto.d.ts +1 -1
- package/dist/src/components/IkPageFull/src/index.vue.d.ts +1 -1
- package/dist/src/components/IkPickerUser/index.d.ts +3 -3
- package/dist/src/components/IkPickerUser/src/list/utils.d.ts +3 -1
- package/dist/src/components/IkPickerUser/src/picker.vue.d.ts +3 -3
- package/dist/src/components/IkSideText/IkSideText.vue.d.ts +1 -1
- package/dist/src/components/IkSideText/index.d.ts +1 -1
- 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 +14 -14
- package/dist/src/components/IkTooltip/index.d.ts +3 -3
- package/dist/src/components/IkTooltip/src/index.vue.d.ts +1 -1
- package/dist/src/components/IkTree/IkTree.vue.d.ts +5263 -967
- package/package.json +1 -1
- package/dist/IkPrint/purify.es-Bb-cVdCo.mjs +0 -536
- package/dist/purify.es-Bb-cVdCo.mjs +0 -536
- package/dist/src/components/IkTree/index.d.ts +0 -4693
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { defineComponent as B,
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as B, openBlock as i, createElementBlock as u, createElementVNode as r, ref as p, watch as b, nextTick as z, onMounted as F, resolveComponent as O, createVNode as C, withCtx as W, unref as N, createCommentVNode as w, normalizeStyle as m, Fragment as V, renderList as j, normalizeClass as h, renderSlot as A, createTextVNode as q, toDisplayString as L } from "vue";
|
|
2
|
+
const G = (t, v) => (t.install = (c) => {
|
|
3
3
|
for (const d of [t, ...Object.values({})])
|
|
4
4
|
c.component(d.name, d);
|
|
5
5
|
}, t);
|
|
6
|
-
/*! Element Plus Icons Vue v2.3.
|
|
7
|
-
var
|
|
6
|
+
/*! Element Plus Icons Vue v2.3.2 */
|
|
7
|
+
var J = /* @__PURE__ */ B({
|
|
8
8
|
name: "ArrowLeft",
|
|
9
9
|
__name: "arrow-left",
|
|
10
10
|
setup(t) {
|
|
11
|
-
return (v, c) => (
|
|
11
|
+
return (v, c) => (i(), u("svg", {
|
|
12
12
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13
13
|
viewBox: "0 0 1024 1024"
|
|
14
14
|
}, [
|
|
15
15
|
r("path", {
|
|
16
16
|
fill: "currentColor",
|
|
17
|
-
d: "M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.
|
|
17
|
+
d: "M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"
|
|
18
18
|
})
|
|
19
19
|
]));
|
|
20
20
|
}
|
|
21
|
-
}),
|
|
21
|
+
}), K = J, P = /* @__PURE__ */ B({
|
|
22
22
|
name: "ArrowRight",
|
|
23
23
|
__name: "arrow-right",
|
|
24
24
|
setup(t) {
|
|
25
|
-
return (v, c) => (
|
|
25
|
+
return (v, c) => (i(), u("svg", {
|
|
26
26
|
xmlns: "http://www.w3.org/2000/svg",
|
|
27
27
|
viewBox: "0 0 1024 1024"
|
|
28
28
|
}, [
|
|
29
29
|
r("path", {
|
|
30
30
|
fill: "currentColor",
|
|
31
|
-
d: "M340.864 149.312a30.
|
|
31
|
+
d: "M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"
|
|
32
32
|
})
|
|
33
33
|
]));
|
|
34
34
|
}
|
|
35
|
-
}),
|
|
36
|
-
const
|
|
35
|
+
}), Q = P;
|
|
36
|
+
const U = { class: "ik-hor-step-content" }, X = ["onClick"], Y = { class: "ik-hor-step_main" }, Z = ["id", "onClick"], x = ["id", "onClick"], D = /* @__PURE__ */ B({
|
|
37
37
|
__name: "IkHorizontalStepBar",
|
|
38
38
|
props: {
|
|
39
39
|
spaceNum: {
|
|
@@ -77,43 +77,43 @@ const Q = { class: "ik-hor-step-content" }, U = ["onClick"], X = { class: "ik-ho
|
|
|
77
77
|
},
|
|
78
78
|
emits: ["click", "update:active"],
|
|
79
79
|
setup(t, { emit: v }) {
|
|
80
|
-
const c = t, d = v, s =
|
|
80
|
+
const c = t, d = v, s = p(!1), I = p(), y = p(), f = p(!1);
|
|
81
81
|
b(
|
|
82
82
|
() => c.active,
|
|
83
83
|
(n) => {
|
|
84
|
-
let e = document.getElementById("stepItemContent"),
|
|
85
|
-
const l =
|
|
86
|
-
e &&
|
|
84
|
+
let e = document.getElementById("stepItemContent"), o = document.getElementById(`stepItem${n}`), a = document.getElementById("stepItem0");
|
|
85
|
+
const l = o && a ? (o == null ? void 0 : o.offsetLeft) - (a == null ? void 0 : a.offsetLeft) : 0;
|
|
86
|
+
e && o && (e.scrollLeft = l > (e == null ? void 0 : e.clientWidth) ? l - (e == null ? void 0 : e.offsetLeft) : 0);
|
|
87
87
|
}
|
|
88
88
|
), b(
|
|
89
89
|
() => c.list,
|
|
90
90
|
() => {
|
|
91
91
|
z(() => {
|
|
92
|
-
let e = document.getElementById("stepItemContent"),
|
|
93
|
-
s.value =
|
|
92
|
+
let e = document.getElementById("stepItemContent"), o = (e == null ? void 0 : e.scrollWidth) > (e == null ? void 0 : e.clientWidth);
|
|
93
|
+
s.value = o, window.addEventListener("resize", n, !0);
|
|
94
94
|
});
|
|
95
95
|
const n = () => {
|
|
96
|
-
let e = document.getElementById("stepItemContent"),
|
|
97
|
-
s.value =
|
|
96
|
+
let e = document.getElementById("stepItemContent"), o = (e == null ? void 0 : e.scrollWidth) > (e == null ? void 0 : e.clientWidth);
|
|
97
|
+
s.value = o;
|
|
98
98
|
};
|
|
99
99
|
},
|
|
100
100
|
{ deep: !0 }
|
|
101
101
|
), F(() => {
|
|
102
102
|
z(() => {
|
|
103
|
-
let e = document.getElementById("stepItemContent"),
|
|
104
|
-
s.value =
|
|
103
|
+
let e = document.getElementById("stepItemContent"), o = (e == null ? void 0 : e.scrollWidth) > (e == null ? void 0 : e.clientWidth);
|
|
104
|
+
s.value = o, window.addEventListener("resize", n, !0);
|
|
105
105
|
});
|
|
106
106
|
const n = () => {
|
|
107
|
-
let e = document.getElementById("stepItemContent"),
|
|
108
|
-
s.value =
|
|
107
|
+
let e = document.getElementById("stepItemContent"), o = (e == null ? void 0 : e.scrollWidth) > (e == null ? void 0 : e.clientWidth);
|
|
108
|
+
s.value = o;
|
|
109
109
|
};
|
|
110
110
|
});
|
|
111
111
|
const k = (n, e) => {
|
|
112
112
|
if (!c.needClick) return;
|
|
113
113
|
d("update:active", e), d("click", n);
|
|
114
|
-
let
|
|
115
|
-
const
|
|
116
|
-
|
|
114
|
+
let o = document.getElementById("stepItemContent"), a = document.getElementById(`stepItem${e}`), l = document.getElementById("stepItem0");
|
|
115
|
+
const g = a && l ? (a == null ? void 0 : a.offsetLeft) - (l == null ? void 0 : l.offsetLeft) : 0;
|
|
116
|
+
o && a && (o.scrollLeft = g > (o == null ? void 0 : o.clientWidth) ? g - (o == null ? void 0 : o.offsetLeft) : 0);
|
|
117
117
|
}, E = () => {
|
|
118
118
|
let n = document.getElementById("stepItemContent");
|
|
119
119
|
n && (n.scrollLeft = n.scrollLeft - 20);
|
|
@@ -138,9 +138,9 @@ const Q = { class: "ik-hor-step-content" }, U = ["onClick"], X = { class: "ik-ho
|
|
|
138
138
|
clearInterval(I.value), f.value || $();
|
|
139
139
|
};
|
|
140
140
|
return (n, e) => {
|
|
141
|
-
const
|
|
142
|
-
return
|
|
143
|
-
s.value ? (
|
|
141
|
+
const o = O("el-icon");
|
|
142
|
+
return i(), u("div", U, [
|
|
143
|
+
s.value ? (i(), u(
|
|
144
144
|
"div",
|
|
145
145
|
{
|
|
146
146
|
key: 0,
|
|
@@ -150,9 +150,9 @@ const Q = { class: "ik-hor-step-content" }, U = ["onClick"], X = { class: "ik-ho
|
|
|
150
150
|
onClick: E
|
|
151
151
|
},
|
|
152
152
|
[
|
|
153
|
-
C(
|
|
153
|
+
C(o, { class: "operation-icon" }, {
|
|
154
154
|
default: W(() => [
|
|
155
|
-
C(N(
|
|
155
|
+
C(N(K), { size: "26px" })
|
|
156
156
|
]),
|
|
157
157
|
_: 1
|
|
158
158
|
/* STABLE */
|
|
@@ -172,16 +172,16 @@ const Q = { class: "ik-hor-step-content" }, U = ["onClick"], X = { class: "ik-ho
|
|
|
172
172
|
})
|
|
173
173
|
},
|
|
174
174
|
[
|
|
175
|
-
(
|
|
175
|
+
(i(!0), u(
|
|
176
176
|
V,
|
|
177
177
|
null,
|
|
178
|
-
j(t.list, (
|
|
179
|
-
var
|
|
180
|
-
return
|
|
178
|
+
j(t.list, (a, l) => {
|
|
179
|
+
var g;
|
|
180
|
+
return i(), u(
|
|
181
181
|
"div",
|
|
182
182
|
{
|
|
183
183
|
class: h(`${t.alignCenter ? "ik-hor-step-item" : ""} step-item ${l <= t.active ? "step-item-active" : ""}`),
|
|
184
|
-
style: m({ width: t.alignCenter ? `calc(100%/${(
|
|
184
|
+
style: m({ width: t.alignCenter ? `calc(100%/${(g = t.list) == null ? void 0 : g.length})` : "" }),
|
|
185
185
|
key: l
|
|
186
186
|
},
|
|
187
187
|
[
|
|
@@ -191,7 +191,7 @@ const Q = { class: "ik-hor-step-content" }, U = ["onClick"], X = { class: "ik-ho
|
|
|
191
191
|
class: h(`${t.alignCenter ? "ik-hor-step_head" : ""} `)
|
|
192
192
|
},
|
|
193
193
|
[
|
|
194
|
-
l !== 0 ? (
|
|
194
|
+
l !== 0 ? (i(), u(
|
|
195
195
|
"div",
|
|
196
196
|
{
|
|
197
197
|
key: 0,
|
|
@@ -214,45 +214,45 @@ const Q = { class: "ik-hor-step-content" }, U = ["onClick"], X = { class: "ik-ho
|
|
|
214
214
|
)) : w("v-if", !0),
|
|
215
215
|
r("div", {
|
|
216
216
|
class: h(`step-num ${l === t.active ? "step-num-active" : l < t.active ? "step-num-greater-than" : ""}`),
|
|
217
|
-
onClick: (S) => k(
|
|
217
|
+
onClick: (S) => k(a, l),
|
|
218
218
|
style: m({
|
|
219
219
|
backgroundColor: l === t.active && t.activeColor ? t.activeColor : "",
|
|
220
|
-
cursor:
|
|
220
|
+
cursor: a && a.disabled ? "not-allowed" : t.needClick ? "pointer" : "context-menu"
|
|
221
221
|
})
|
|
222
222
|
}, [
|
|
223
223
|
A(n.$slots, "icon", {
|
|
224
|
-
data: { item:
|
|
224
|
+
data: { item: a, index: l }
|
|
225
225
|
}, () => [
|
|
226
|
-
|
|
226
|
+
q(
|
|
227
227
|
L(l + 1),
|
|
228
228
|
1
|
|
229
229
|
/* TEXT */
|
|
230
230
|
)
|
|
231
231
|
], !0)
|
|
232
|
-
], 14,
|
|
232
|
+
], 14, X)
|
|
233
233
|
],
|
|
234
234
|
2
|
|
235
235
|
/* CLASS */
|
|
236
236
|
),
|
|
237
|
-
r("div",
|
|
237
|
+
r("div", Y, [
|
|
238
238
|
r("div", {
|
|
239
239
|
id: `stepItem${l}`,
|
|
240
240
|
class: h(`step-label ${t.active === l ? "step-label-active" : l < t.active ? "step-label-greater-than" : ""} step-item-${l}`),
|
|
241
241
|
style: m({
|
|
242
242
|
color: l === t.active && t.activeColor ? t.activeColor : "",
|
|
243
|
-
cursor:
|
|
243
|
+
cursor: a && a.disabled ? "not-allowed" : t.needClick ? "pointer" : "context-menu"
|
|
244
244
|
}),
|
|
245
|
-
onClick: (S) => k(
|
|
246
|
-
}, L(
|
|
245
|
+
onClick: (S) => k(a, l)
|
|
246
|
+
}, L(a[t.propsField.title]), 15, Z),
|
|
247
247
|
r("div", {
|
|
248
248
|
id: `stepItemDesc${l}`,
|
|
249
249
|
class: h(`step-description step-label ${t.active === l ? "step-label-active" : l < t.active ? "step-label-greater-than" : ""} step-item-${l}`),
|
|
250
250
|
style: m({
|
|
251
251
|
color: l === t.active && t.activeColor ? t.activeColor : "",
|
|
252
|
-
cursor:
|
|
252
|
+
cursor: a && a.disabled ? "not-allowed" : t.needClick ? "pointer" : "context-menu"
|
|
253
253
|
}),
|
|
254
|
-
onClick: (S) => k(
|
|
255
|
-
}, L(
|
|
254
|
+
onClick: (S) => k(a, l)
|
|
255
|
+
}, L(a[t.propsField.description]), 15, x)
|
|
256
256
|
])
|
|
257
257
|
],
|
|
258
258
|
6
|
|
@@ -266,7 +266,7 @@ const Q = { class: "ik-hor-step-content" }, U = ["onClick"], X = { class: "ik-ho
|
|
|
266
266
|
4
|
|
267
267
|
/* STYLE */
|
|
268
268
|
),
|
|
269
|
-
s.value ? (
|
|
269
|
+
s.value ? (i(), u(
|
|
270
270
|
"div",
|
|
271
271
|
{
|
|
272
272
|
key: 1,
|
|
@@ -276,9 +276,9 @@ const Q = { class: "ik-hor-step-content" }, U = ["onClick"], X = { class: "ik-ho
|
|
|
276
276
|
onClick: $
|
|
277
277
|
},
|
|
278
278
|
[
|
|
279
|
-
C(
|
|
279
|
+
C(o, { class: "operation-icon" }, {
|
|
280
280
|
default: W(() => [
|
|
281
|
-
C(N(
|
|
281
|
+
C(N(Q))
|
|
282
282
|
]),
|
|
283
283
|
_: 1
|
|
284
284
|
/* STABLE */
|
|
@@ -290,12 +290,12 @@ const Q = { class: "ik-hor-step-content" }, U = ["onClick"], X = { class: "ik-ho
|
|
|
290
290
|
]);
|
|
291
291
|
};
|
|
292
292
|
}
|
|
293
|
-
}),
|
|
293
|
+
}), _ = (t, v) => {
|
|
294
294
|
const c = t.__vccOpts || t;
|
|
295
295
|
for (const [d, s] of v)
|
|
296
296
|
c[d] = s;
|
|
297
297
|
return c;
|
|
298
|
-
}, ee = /* @__PURE__ */ D
|
|
298
|
+
}, ee = /* @__PURE__ */ _(D, [["__scopeId", "data-v-50f96143"]]), le = G(ee);
|
|
299
299
|
export {
|
|
300
300
|
le as IkHorizontalStepBar,
|
|
301
301
|
le as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as D, computed as C, resolveComponent as f,
|
|
1
|
+
import { defineComponent as D, computed as C, resolveComponent as f, openBlock as e, createElementBlock as d, normalizeStyle as P, normalizeClass as z, Fragment as q, createElementVNode as B, createBlock as s, withCtx as t, mergeProps as A, createTextVNode as E, toDisplayString as U, useModel as W, ref as w, shallowRef as X, watch as Y, createVNode as x, unref as p, renderList as N, withModifiers as F, createCommentVNode as K, mergeModels as Q } from "vue";
|
|
2
2
|
import { ikColor as Z, _ as nn } from "iking-utils-pro";
|
|
3
3
|
const O = (c, g) => (c.install = (u) => {
|
|
4
4
|
for (const n of [c, ...Object.values({})])
|
|
@@ -230,7 +230,7 @@ const O = (c, g) => (c.install = (u) => {
|
|
|
230
230
|
class: "icon-list"
|
|
231
231
|
}, kn = { class: "icon-picker-header font-size-[var(--ik-margin-28)] line-height-[0]" }, wn = /* @__PURE__ */ D({
|
|
232
232
|
__name: "index",
|
|
233
|
-
props: /* @__PURE__ */
|
|
233
|
+
props: /* @__PURE__ */ Q({
|
|
234
234
|
icon: {
|
|
235
235
|
type: Object,
|
|
236
236
|
default: () => ({
|
|
@@ -251,9 +251,9 @@ const O = (c, g) => (c.install = (u) => {
|
|
|
251
251
|
}),
|
|
252
252
|
emits: ["update:modelValue"],
|
|
253
253
|
setup(c) {
|
|
254
|
-
const g = c, u =
|
|
254
|
+
const g = c, u = W(c, "modelValue"), n = w(!1);
|
|
255
255
|
let o = {};
|
|
256
|
-
const h =
|
|
256
|
+
const h = X({}), r = w(null), j = {
|
|
257
257
|
icon: T,
|
|
258
258
|
iconSingle: J,
|
|
259
259
|
...g.icon
|
|
@@ -279,7 +279,7 @@ const O = (c, g) => (c.install = (u) => {
|
|
|
279
279
|
u.value = "";
|
|
280
280
|
}
|
|
281
281
|
const i = w("");
|
|
282
|
-
|
|
282
|
+
Y(i, (m) => {
|
|
283
283
|
h.value = {
|
|
284
284
|
single: o.single.filter((l) => {
|
|
285
285
|
var _;
|
|
@@ -329,7 +329,7 @@ const O = (c, g) => (c.install = (u) => {
|
|
|
329
329
|
name: "iksvg_guanbi",
|
|
330
330
|
error: "",
|
|
331
331
|
"icon-class": "icon-delete",
|
|
332
|
-
onClick:
|
|
332
|
+
onClick: F(I, ["stop"])
|
|
333
333
|
})) : K("v-if", !0)
|
|
334
334
|
])
|
|
335
335
|
]),
|
|
@@ -422,7 +422,7 @@ const O = (c, g) => (c.install = (u) => {
|
|
|
422
422
|
);
|
|
423
423
|
};
|
|
424
424
|
}
|
|
425
|
-
}), qn = /* @__PURE__ */ L(wn, [["__scopeId", "data-v-
|
|
425
|
+
}), qn = /* @__PURE__ */ L(wn, [["__scopeId", "data-v-e15740cf"]]), $n = O(qn);
|
|
426
426
|
export {
|
|
427
427
|
$n as IkIconPicker,
|
|
428
428
|
$n as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.row-title[data-v-9ebb0a94]{display:flex}.ik-svg-icon.ik-icon-span[data-v-9ebb0a94]:not(:first-child){margin-left:var(--ik-margin-8)}.icon-picker-pop .icon-list[data-v-
|
|
1
|
+
.row-title[data-v-9ebb0a94]{display:flex}.ik-svg-icon.ik-icon-span[data-v-9ebb0a94]:not(:first-child){margin-left:var(--ik-margin-8)}.icon-picker-pop .icon-list[data-v-e15740cf]{display:grid;grid-template-columns:repeat(auto-fill,36px);grid-gap:var(--ik-margin-16);justify-content:flex-start;justify-items:flex-end;max-height:400px;margin-top:16px;overflow-y:auto;font-size:25px;content-visibility:auto}.icon-picker-pop .icon-list .ik-svg-icon[data-v-e15740cf]{content-visibility:auto}.icon-picker-header{position:relative;display:inline-flex;display:flex;align-items:center;justify-content:center;width:var(--ik-base-height);height:var(--ik-base-height);cursor:pointer;border:1px dashed var(--ik-color-divider);border-radius:var(--ik-border-radius-xs);transition:border .25s ease-in-out}.icon-picker-header:hover{border-color:var(--ik-color-primary)}.icon-picker-header .icon-delete{position:absolute;top:-6px;right:-8px;font-size:var(--ik-font-size-t2)}
|