iking-web-ui-pro 0.2.26 → 0.2.28
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/IKPreviewFile/ik.index.es.js +353 -342
- package/dist/IKPreviewFile/ik.index.umd.js +44 -44
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +935 -924
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +38 -38
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +95 -85
- package/dist/IkBaseDialog/ik.index.umd.js +1 -1
- package/dist/IkBaseDialog/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +430 -419
- package/dist/IkDescription/ik.index.umd.js +45 -45
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +1028 -1017
- package/dist/IkDetailPreviewFiles/ik.index.umd.js +39 -39
- package/dist/IkDetailPreviewFiles/style.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +246 -236
- package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +151 -141
- package/dist/IkUploadFile/ik.index.umd.js +2 -2
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/index.es.js +5210 -5199
- package/dist/index.umd.js +64 -64
- package/dist/src/components/IKPreviewFile/index.d.ts +16 -4
- package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +6 -2
- package/dist/src/components/IkUploadFile/index.d.ts +6 -0
- package/dist/src/components/IkUploadFile/src/index.vue.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ikColor as
|
|
3
|
-
const I = (
|
|
4
|
-
if (
|
|
5
|
-
for (const
|
|
6
|
-
e.component(
|
|
1
|
+
import { defineComponent as g, computed as h, resolveComponent as _, openBlock as s, createElementBlock as i, normalizeClass as r, normalizeStyle as c, createCommentVNode as B, createElementVNode as f, createBlock as m, withCtx as v, createTextVNode as k, toDisplayString as b, createVNode as x, unref as w, mergeModels as V, useModel as S, ref as T, h as j, mergeProps as D, createSlots as F, renderSlot as p } from "vue";
|
|
2
|
+
import { ikColor as N } from "iking-utils-pro";
|
|
3
|
+
const I = (o, n) => {
|
|
4
|
+
if (o.install = (e) => {
|
|
5
|
+
for (const a of [o, ...Object.values(n ?? {})])
|
|
6
|
+
e.component(a.name, a);
|
|
7
7
|
}, n)
|
|
8
|
-
for (const [e,
|
|
9
|
-
|
|
10
|
-
return
|
|
11
|
-
}, $ = (
|
|
12
|
-
const e =
|
|
13
|
-
for (const [
|
|
14
|
-
e[
|
|
8
|
+
for (const [e, a] of Object.entries(n))
|
|
9
|
+
o[e] = a;
|
|
10
|
+
return o;
|
|
11
|
+
}, $ = (o, n) => {
|
|
12
|
+
const e = o.__vccOpts || o;
|
|
13
|
+
for (const [a, u] of n)
|
|
14
|
+
e[a] = u;
|
|
15
15
|
return e;
|
|
16
16
|
}, O = {
|
|
17
17
|
key: 0,
|
|
@@ -20,11 +20,11 @@ const I = (s, n) => {
|
|
|
20
20
|
key: 1,
|
|
21
21
|
class: "h-[1em] w-[1em]",
|
|
22
22
|
"aria-hidden": "true"
|
|
23
|
-
}, H = ["xlink:href"], M = ["src"],
|
|
23
|
+
}, H = ["xlink:href"], M = ["src"], q = {
|
|
24
24
|
key: 1,
|
|
25
25
|
class: "h-[1em] w-[1em]",
|
|
26
26
|
"aria-hidden": "true"
|
|
27
|
-
},
|
|
27
|
+
}, L = ["xlink:href"], W = ["src"], X = /* @__PURE__ */ g({
|
|
28
28
|
name: "IkSvgIcon",
|
|
29
29
|
__name: "index",
|
|
30
30
|
props: {
|
|
@@ -50,11 +50,11 @@ const I = (s, n) => {
|
|
|
50
50
|
warning: { type: Boolean },
|
|
51
51
|
width: {}
|
|
52
52
|
},
|
|
53
|
-
setup(
|
|
54
|
-
const n =
|
|
53
|
+
setup(o) {
|
|
54
|
+
const n = o, e = h(() => n), a = h(() => {
|
|
55
55
|
const { name: l } = e.value;
|
|
56
56
|
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";
|
|
57
|
-
}),
|
|
57
|
+
}), u = h(() => {
|
|
58
58
|
const l = [];
|
|
59
59
|
if (e.value.flip)
|
|
60
60
|
switch (e.value.flip) {
|
|
@@ -69,28 +69,28 @@ const I = (s, n) => {
|
|
|
69
69
|
break;
|
|
70
70
|
}
|
|
71
71
|
e.value.rotate && l.push(`rotate(${e.value.rotate % 360}deg)`);
|
|
72
|
-
const
|
|
72
|
+
const t = {
|
|
73
73
|
pointerEvents: e.value.disabled ? "none" : "auto",
|
|
74
74
|
...e.value.color && { color: e.value.color },
|
|
75
75
|
...e.value.size && { fontSize: typeof e.value.size == "number" ? `${e.value.size}px` : e.value.size },
|
|
76
76
|
...l.length && { transform: l.join(" ") },
|
|
77
77
|
padding: e.value.showBg || e.value.bg ? e.value.padding : 0,
|
|
78
|
-
...e.value.color &&
|
|
78
|
+
...e.value.color && a.value !== "iksig" ? {
|
|
79
79
|
"--ik-color-icon-dark": e.value.color,
|
|
80
|
-
"--ik-color-icon-light": e.value.colorLight ||
|
|
80
|
+
"--ik-color-icon-light": e.value.colorLight || N.setOpacity(e.value.color, e.value.opacity)
|
|
81
81
|
} : {}
|
|
82
82
|
};
|
|
83
|
-
return e.value.width && (
|
|
83
|
+
return e.value.width && (t.width = t.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), t;
|
|
84
84
|
});
|
|
85
|
-
return (l,
|
|
86
|
-
const
|
|
87
|
-
return e.value.tableIconType === "icon" || !e.value.tableIconType ? (
|
|
88
|
-
e.value.notip || !e.value.title ? (
|
|
85
|
+
return (l, t) => {
|
|
86
|
+
const d = _("el-tooltip"), y = _("el-button");
|
|
87
|
+
return e.value.tableIconType === "icon" || !e.value.tableIconType ? (s(), i("span", O, [
|
|
88
|
+
e.value.notip || !e.value.title ? (s(), i(
|
|
89
89
|
"i",
|
|
90
90
|
{
|
|
91
91
|
key: 0,
|
|
92
92
|
class: r(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
93
|
-
[l.name]:
|
|
93
|
+
[l.name]: a.value === "unocss",
|
|
94
94
|
"show-bg": e.value.showBg || e.value.bg,
|
|
95
95
|
default: e.value.size === "default",
|
|
96
96
|
small: e.value.size === "small",
|
|
@@ -102,34 +102,34 @@ const I = (s, n) => {
|
|
|
102
102
|
active: e.value.active,
|
|
103
103
|
disabled: e.value.disabled
|
|
104
104
|
}]),
|
|
105
|
-
style: c(
|
|
105
|
+
style: c(u.value)
|
|
106
106
|
},
|
|
107
107
|
[
|
|
108
108
|
B(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
109
|
-
|
|
109
|
+
a.value === "iksig" ? (s(), i(
|
|
110
110
|
"i",
|
|
111
111
|
{
|
|
112
112
|
key: 0,
|
|
113
113
|
class: r(`iksig ${e.value.name}`),
|
|
114
|
-
style: c(
|
|
114
|
+
style: c(u.value)
|
|
115
115
|
},
|
|
116
116
|
null,
|
|
117
117
|
6
|
|
118
118
|
/* CLASS, STYLE */
|
|
119
|
-
)) :
|
|
120
|
-
|
|
119
|
+
)) : a.value === "svg" ? (s(), i("svg", E, [
|
|
120
|
+
f("use", {
|
|
121
121
|
"xlink:href": `#${e.value.name}`
|
|
122
122
|
}, null, 8, H)
|
|
123
|
-
])) :
|
|
123
|
+
])) : a.value === "img" ? (s(), i("img", {
|
|
124
124
|
key: 2,
|
|
125
125
|
src: e.value.name,
|
|
126
126
|
class: "h-[1em] w-[1em]"
|
|
127
|
-
}, null, 8, M)) : (
|
|
127
|
+
}, null, 8, M)) : (s(), i(
|
|
128
128
|
"i",
|
|
129
129
|
{
|
|
130
130
|
key: 3,
|
|
131
131
|
class: r(e.value.name),
|
|
132
|
-
style: c(
|
|
132
|
+
style: c(u.value)
|
|
133
133
|
},
|
|
134
134
|
null,
|
|
135
135
|
6
|
|
@@ -138,17 +138,17 @@ const I = (s, n) => {
|
|
|
138
138
|
],
|
|
139
139
|
6
|
|
140
140
|
/* CLASS, STYLE */
|
|
141
|
-
)) : (
|
|
141
|
+
)) : (s(), m(d, {
|
|
142
142
|
key: 1,
|
|
143
143
|
content: e.value.title,
|
|
144
144
|
placement: "top"
|
|
145
145
|
}, {
|
|
146
146
|
default: v(() => [
|
|
147
|
-
|
|
147
|
+
f(
|
|
148
148
|
"i",
|
|
149
149
|
{
|
|
150
150
|
class: r(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
151
|
-
[l.name]:
|
|
151
|
+
[l.name]: a.value === "unocss",
|
|
152
152
|
"show-bg": e.value.showBg || e.value.bg,
|
|
153
153
|
default: e.value.size === "default",
|
|
154
154
|
small: e.value.size === "small",
|
|
@@ -159,33 +159,33 @@ const I = (s, n) => {
|
|
|
159
159
|
error: e.value.error || e.value.type === "error",
|
|
160
160
|
active: e.value.active
|
|
161
161
|
}]),
|
|
162
|
-
style: c(
|
|
162
|
+
style: c(u.value)
|
|
163
163
|
},
|
|
164
164
|
[
|
|
165
|
-
|
|
165
|
+
a.value === "iksig" ? (s(), i(
|
|
166
166
|
"i",
|
|
167
167
|
{
|
|
168
168
|
key: 0,
|
|
169
169
|
class: r(`iksig ${e.value.name}`),
|
|
170
|
-
style: c(
|
|
170
|
+
style: c(u.value)
|
|
171
171
|
},
|
|
172
172
|
null,
|
|
173
173
|
6
|
|
174
174
|
/* CLASS, STYLE */
|
|
175
|
-
)) :
|
|
176
|
-
|
|
175
|
+
)) : a.value === "svg" ? (s(), i("svg", q, [
|
|
176
|
+
f("use", {
|
|
177
177
|
"xlink:href": `#${e.value.name}`
|
|
178
|
-
}, null, 8,
|
|
179
|
-
])) :
|
|
178
|
+
}, null, 8, L)
|
|
179
|
+
])) : a.value === "img" ? (s(), i("img", {
|
|
180
180
|
key: 2,
|
|
181
181
|
src: e.value.name,
|
|
182
182
|
class: "h-[1em] w-[1em]"
|
|
183
|
-
}, null, 8,
|
|
183
|
+
}, null, 8, W)) : (s(), i(
|
|
184
184
|
"i",
|
|
185
185
|
{
|
|
186
186
|
key: 3,
|
|
187
187
|
class: r(e.value.name),
|
|
188
|
-
style: c(
|
|
188
|
+
style: c(u.value)
|
|
189
189
|
},
|
|
190
190
|
null,
|
|
191
191
|
6
|
|
@@ -199,7 +199,7 @@ const I = (s, n) => {
|
|
|
199
199
|
_: 1
|
|
200
200
|
/* STABLE */
|
|
201
201
|
}, 8, ["content"]))
|
|
202
|
-
])) : (
|
|
202
|
+
])) : (s(), m(y, {
|
|
203
203
|
key: 1,
|
|
204
204
|
type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
|
|
205
205
|
}, {
|
|
@@ -216,7 +216,7 @@ const I = (s, n) => {
|
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
218
|
});
|
|
219
|
-
const
|
|
219
|
+
const Y = /* @__PURE__ */ $(X, [["__scopeId", "data-v-52806adf"]]), z = I(Y), P = /* @__PURE__ */ g({
|
|
220
220
|
__name: "CloseIcon",
|
|
221
221
|
props: {
|
|
222
222
|
showBg: {
|
|
@@ -228,18 +228,28 @@ const X = /* @__PURE__ */ $(W, [["__scopeId", "data-v-52806adf"]]), z = I(X), Y
|
|
|
228
228
|
default: !1
|
|
229
229
|
}
|
|
230
230
|
},
|
|
231
|
-
setup(
|
|
232
|
-
return (n, e) => (
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
231
|
+
setup(o) {
|
|
232
|
+
return (n, e) => (s(), i(
|
|
233
|
+
"div",
|
|
234
|
+
{
|
|
235
|
+
class: r({ "exit-main-page-maximize": o.showBg && o.fullscreen })
|
|
236
|
+
},
|
|
237
|
+
[
|
|
238
|
+
x(w(z), {
|
|
239
|
+
name: "iksvg_guanbidanchuang",
|
|
240
|
+
title: "关闭",
|
|
241
|
+
size: 20,
|
|
242
|
+
error: ""
|
|
243
|
+
})
|
|
244
|
+
],
|
|
245
|
+
2
|
|
246
|
+
/* CLASS */
|
|
247
|
+
));
|
|
238
248
|
}
|
|
239
249
|
});
|
|
240
|
-
const
|
|
250
|
+
const U = /* @__PURE__ */ $(P, [["__scopeId", "data-v-da39e979"]]), A = { class: "base-header" }, G = /* @__PURE__ */ g({
|
|
241
251
|
__name: "IkBaseDialog",
|
|
242
|
-
props: /* @__PURE__ */
|
|
252
|
+
props: /* @__PURE__ */ V({
|
|
243
253
|
title: { default: "" },
|
|
244
254
|
cancelText: { default: "取消" },
|
|
245
255
|
confirmText: { default: "确认" },
|
|
@@ -257,65 +267,65 @@ const P = /* @__PURE__ */ $(Y, [["__scopeId", "data-v-e27fb022"]]), U = { class:
|
|
|
257
267
|
modelModifiers: {}
|
|
258
268
|
}),
|
|
259
269
|
emits: ["update:modelValue"],
|
|
260
|
-
setup(
|
|
261
|
-
const n =
|
|
262
|
-
|
|
263
|
-
}, l =
|
|
270
|
+
setup(o) {
|
|
271
|
+
const n = o, e = S(o, "modelValue"), a = T(n.fullscreen), u = () => {
|
|
272
|
+
a.value = !a.value;
|
|
273
|
+
}, l = g({
|
|
264
274
|
setup() {
|
|
265
|
-
return () =>
|
|
275
|
+
return () => j(U, {
|
|
266
276
|
showBg: n.showCloseBg,
|
|
267
277
|
fullscreen: n.fullscreen
|
|
268
278
|
});
|
|
269
279
|
}
|
|
270
280
|
});
|
|
271
|
-
return (
|
|
281
|
+
return (t, d) => {
|
|
272
282
|
const y = _("el-dialog");
|
|
273
|
-
return
|
|
283
|
+
return s(), m(y, D({
|
|
274
284
|
modelValue: e.value,
|
|
275
|
-
"onUpdate:modelValue":
|
|
276
|
-
},
|
|
285
|
+
"onUpdate:modelValue": d[0] || (d[0] = (C) => e.value = C)
|
|
286
|
+
}, t.$attrs, {
|
|
277
287
|
"close-icon": w(l),
|
|
278
|
-
class: `ik-base-dialog ${
|
|
279
|
-
fullscreen:
|
|
288
|
+
class: `ik-base-dialog ${t.noHeader ? "no-header" : ""} ${t.noFooter ? "no-footer" : ""}`,
|
|
289
|
+
fullscreen: a.value,
|
|
280
290
|
"modal-class": "baseDialog"
|
|
281
|
-
}),
|
|
291
|
+
}), F({
|
|
282
292
|
icon: v(() => [
|
|
283
|
-
|
|
293
|
+
p(t.$slots, "title", {}, () => [
|
|
284
294
|
k(
|
|
285
|
-
b(
|
|
295
|
+
b(t.title),
|
|
286
296
|
1
|
|
287
297
|
/* TEXT */
|
|
288
298
|
)
|
|
289
299
|
])
|
|
290
300
|
]),
|
|
291
301
|
header: v(() => [
|
|
292
|
-
|
|
293
|
-
|
|
302
|
+
f("div", A, [
|
|
303
|
+
p(t.$slots, "header", {}, () => [
|
|
294
304
|
k(
|
|
295
|
-
b(
|
|
305
|
+
b(t.title),
|
|
296
306
|
1
|
|
297
307
|
/* TEXT */
|
|
298
308
|
)
|
|
299
309
|
])
|
|
300
310
|
]),
|
|
301
|
-
|
|
311
|
+
t.$attrs.showClose ? (s(), m(w(z), {
|
|
302
312
|
key: 0,
|
|
303
|
-
onClick:
|
|
304
|
-
name:
|
|
313
|
+
onClick: u,
|
|
314
|
+
name: a.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
|
|
305
315
|
class: "absolute! top-[18px] right-[50px] icon-dialog-full",
|
|
306
|
-
title:
|
|
316
|
+
title: a.value ? "退出全屏" : "全屏"
|
|
307
317
|
}, null, 8, ["name", "title"])) : B("v-if", !0)
|
|
308
318
|
]),
|
|
309
319
|
default: v(() => [
|
|
310
|
-
|
|
320
|
+
p(t.$slots, "default")
|
|
311
321
|
]),
|
|
312
322
|
_: 2
|
|
313
323
|
/* DYNAMIC */
|
|
314
324
|
}, [
|
|
315
|
-
|
|
325
|
+
t.$slots.footer ? {
|
|
316
326
|
name: "footer",
|
|
317
327
|
fn: v(() => [
|
|
318
|
-
|
|
328
|
+
p(t.$slots, "footer")
|
|
319
329
|
]),
|
|
320
330
|
key: "0"
|
|
321
331
|
} : void 0
|
|
@@ -323,8 +333,8 @@ const P = /* @__PURE__ */ $(Y, [["__scopeId", "data-v-e27fb022"]]), U = { class:
|
|
|
323
333
|
};
|
|
324
334
|
}
|
|
325
335
|
});
|
|
326
|
-
const
|
|
336
|
+
const Q = I(G);
|
|
327
337
|
export {
|
|
328
|
-
|
|
329
|
-
|
|
338
|
+
Q as IkBaseDialog,
|
|
339
|
+
Q as default
|
|
330
340
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(r,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("iking-utils-pro")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro"],e):(r=typeof globalThis<"u"?globalThis:r||self,e(r.index={},r.vue,r["iking-utils-pro"]))})(this,function(r,e,g){"use strict";const
|
|
1
|
+
(function(r,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("iking-utils-pro")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro"],e):(r=typeof globalThis<"u"?globalThis:r||self,e(r.index={},r.vue,r["iking-utils-pro"]))})(this,function(r,e,g){"use strict";const d=(n,s)=>{if(n.install=l=>{for(const t of[n,...Object.values(s??{})])l.component(t.name,t)},s)for(const[l,t]of Object.entries(s))n[l]=t;return n},p=(n,s)=>{const l=n.__vccOpts||n;for(const[t,i]of s)l[t]=i;return l},y={key:0,class:"ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"},k={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},h=["xlink:href"],_=["src"],B={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},v=["xlink:href"],w=["src"],b=e.defineComponent({name:"IkSvgIcon",__name:"index",props:{active:{type:Boolean,default:!1},bg:{type:Boolean,default:!1},color:{},colorLight:{},disabled:{type:Boolean,default:!1},error:{type:Boolean},flip:{},name:{},notip:{type:Boolean,default:!1},opacity:{default:.5},padding:{default:"6px"},primary:{type:Boolean},rotate:{},showBg:{type:Boolean,default:!1},size:{default:""},success:{type:Boolean},tableIconType:{},title:{},type:{},warning:{type:Boolean},width:{}},setup(n){const s=n,l=e.computed(()=>s),t=e.computed(()=>{const{name:o}=l.value;return/^http?:\/\//.test(o)?"img":/i-[^:]+:[^:]+/.test(o)?"unocss":o!=null&&o.startsWith("iksig")?"iksig":o!=null&&o.includes(":")?"iconify":o!=null&&o.startsWith("iksvg")?"svg":"i"}),i=e.computed(()=>{const o=[];if(l.value.flip)switch(l.value.flip){case"horizontal":o.push("rotateY(180deg)");break;case"vertical":o.push("rotateX(180deg)");break;case"both":o.push("rotateX(180deg)"),o.push("rotateY(180deg)");break}l.value.rotate&&o.push(`rotate(${l.value.rotate%360}deg)`);const a={pointerEvents:l.value.disabled?"none":"auto",...l.value.color&&{color:l.value.color},...l.value.size&&{fontSize:typeof l.value.size=="number"?`${l.value.size}px`:l.value.size},...o.length&&{transform:o.join(" ")},padding:l.value.showBg||l.value.bg?l.value.padding:0,...l.value.color&&t.value!=="iksig"?{"--ik-color-icon-dark":l.value.color,"--ik-color-icon-light":l.value.colorLight||g.ikColor.setOpacity(l.value.color,l.value.opacity)}:{}};return l.value.width&&(a.width=a.height=typeof l.value.width=="number"?`${l.value.width}px`:l.value.width),a});return(o,a)=>{const c=e.resolveComponent("el-tooltip"),u=e.resolveComponent("el-button");return l.value.tableIconType==="icon"||!l.value.tableIconType?(e.openBlock(),e.createElementBlock("span",y,[l.value.notip||!l.value.title?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[o.name]:t.value==="unocss","show-bg":l.value.showBg||l.value.bg,default:l.value.size==="default",small:l.value.size==="small",big:l.value.size==="big",warning:l.value.warning||l.value.type==="warning",primary:l.value.primary||l.value.type==="primary",success:o.success||l.value.type==="success",error:l.value.error||l.value.type==="error",active:l.value.active,disabled:l.value.disabled}]),style:e.normalizeStyle(i.value)},[e.createCommentVNode(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),t.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${l.value.name}`),style:e.normalizeStyle(i.value)},null,6)):t.value==="svg"?(e.openBlock(),e.createElementBlock("svg",k,[e.createElementVNode("use",{"xlink:href":`#${l.value.name}`},null,8,h)])):t.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:l.value.name,class:"h-[1em] w-[1em]"},null,8,_)):(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(l.value.name),style:e.normalizeStyle(i.value)},null,6))],6)):(e.openBlock(),e.createBlock(c,{key:1,content:l.value.title,placement:"top"},{default:e.withCtx(()=>[e.createElementVNode("i",{class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[o.name]:t.value==="unocss","show-bg":l.value.showBg||l.value.bg,default:l.value.size==="default",small:l.value.size==="small",big:l.value.size==="big",warning:l.value.warning||l.value.type==="warning",primary:o.primary||l.value.type==="primary",success:o.success||l.value.type==="success",error:l.value.error||l.value.type==="error",active:l.value.active}]),style:e.normalizeStyle(i.value)},[t.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${l.value.name}`),style:e.normalizeStyle(i.value)},null,6)):t.value==="svg"?(e.openBlock(),e.createElementBlock("svg",B,[e.createElementVNode("use",{"xlink:href":`#${l.value.name}`},null,8,v)])):t.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:l.value.name,class:"h-[1em] w-[1em]"},null,8,w)):(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(l.value.name),style:e.normalizeStyle(i.value)},null,6))],6)]),_:1},8,["content"]))])):(e.openBlock(),e.createBlock(u,{key:1,type:["warning","error"].includes(l.value.type)?"danger":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.value.title),1)]),_:1},8,["type"]))}}}),$="",m=d(p(b,[["__scopeId","data-v-52806adf"]])),C=e.defineComponent({__name:"CloseIcon",props:{showBg:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1}},setup(n){return(s,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass({"exit-main-page-maximize":n.showBg&&n.fullscreen})},[e.createVNode(e.unref(m),{name:"iksvg_guanbidanchuang",title:"关闭",size:20,error:""})],2))}}),V="",z=p(C,[["__scopeId","data-v-da39e979"]]),I={class:"base-header"},S=e.defineComponent({__name:"IkBaseDialog",props:e.mergeModels({title:{default:""},cancelText:{default:"取消"},confirmText:{default:"确认"},noHeader:{type:Boolean},noFooter:{type:Boolean},showCloseBg:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1,noHeader:!1,noFooter:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(n){const s=n,l=e.useModel(n,"modelValue"),t=e.ref(s.fullscreen),i=()=>{t.value=!t.value},o=e.defineComponent({setup(){return()=>e.h(z,{showBg:s.showCloseBg,fullscreen:s.fullscreen})}});return(a,c)=>{const u=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(u,e.mergeProps({modelValue:l.value,"onUpdate:modelValue":c[0]||(c[0]=x=>l.value=x)},a.$attrs,{"close-icon":e.unref(o),class:`ik-base-dialog ${a.noHeader?"no-header":""} ${a.noFooter?"no-footer":""}`,fullscreen:t.value,"modal-class":"baseDialog"}),e.createSlots({icon:e.withCtx(()=>[e.renderSlot(a.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(a.title),1)])]),header:e.withCtx(()=>[e.createElementVNode("div",I,[e.renderSlot(a.$slots,"header",{},()=>[e.createTextVNode(e.toDisplayString(a.title),1)])]),a.$attrs.showClose?(e.openBlock(),e.createBlock(e.unref(m),{key:0,onClick:i,name:t.value?"iksvg_tuichuquanping":"iksvg_quanping-daohang",class:"absolute! top-[18px] right-[50px] icon-dialog-full",title:t.value?"退出全屏":"全屏"},null,8,["name","title"])):e.createCommentVNode("v-if",!0)]),default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:2},[a.$slots.footer?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"footer")]),key:"0"}:void 0]),1040,["modelValue","close-icon","class","fullscreen"])}}}),T="",f=d(S);r.IkBaseDialog=f,r.default=f,Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.row-title[data-v-52806adf]{display:flex}.ik-svg-icon.ik-icon-span[data-v-52806adf]:not(:first-child){margin-left:var(--ik-margin-s-12)}.exit-main-page-maximize[data-v-
|
|
1
|
+
.row-title[data-v-52806adf]{display:flex}.ik-svg-icon.ik-icon-span[data-v-52806adf]:not(:first-child){margin-left:var(--ik-margin-s-12)}.exit-main-page-maximize[data-v-da39e979]{position:fixed;top:-40px;right:-40px;z-index:1000;width:80px;height:80px;cursor:pointer;background-color:var(--ik-color-bg-icon);border-radius:50%}.exit-main-page-maximize span[data-v-da39e979]{position:absolute;top:47px;right:47px}.ik-svg-icon.ik-icon[data-v-da39e979]{--ik-color-icon-dark: var(--ik-color-bgicon-dark);--ik-color-icon-light: var(--ik-color-bgicon-light)}.el-dialog.ik-base-dialog.no-header .el-dialog__header{height:0}.el-dialog.ik-base-dialog.no-header .el-dialog__header .base-header{overflow:hidden;display:none}.el-dialog.ik-base-dialog.no-header .el-dialog__header:after{display:none}.el-dialog.ik-base-dialog.no-footer .el-dialog__footer{height:0;overflow:hidden}
|