iking-web-ui-pro 0.3.2 → 0.3.4
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 +21 -15
- package/dist/IkApprovalProcessDetail/iking-web-ui-pro.css +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +38 -34
- package/dist/IkBaseDialog/iking-web-ui-pro.css +1 -1
- package/dist/IkBtnSetting/ik.index.es.js +45 -40
- 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 +53 -48
- package/dist/IkCollapseCard/iking-web-ui-pro.css +1 -1
- package/dist/IkDescription/ik.index.es.js +21 -15
- package/dist/IkDescription/iking-web-ui-pro.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +21 -15
- 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 +69 -64
- 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 +189 -177
- package/dist/IkIconPicker/iking-web-ui-pro.css +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +67 -62
- package/dist/IkMonacoEditor/iking-web-ui-pro.css +1 -1
- package/dist/IkPageFull/ik.index.es.js +132 -127
- package/dist/IkPageFull/iking-web-ui-pro.css +1 -1
- package/dist/IkPreviewFile/ik.index.es.js +21 -15
- package/dist/IkPreviewFile/iking-web-ui-pro.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +55 -51
- package/dist/IkPreviewFileDialog/iking-web-ui-pro.css +1 -1
- package/dist/IkSchedule/ik.index.es.js +390 -9681
- 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 +70 -65
- 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 +63 -58
- package/dist/IkSvgIcon/iking-web-ui-pro.css +1 -1
- package/dist/IkTree/ik.index.es.js +7 -7
- package/dist/IkTree/iking-web-ui-pro.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +76 -72
- package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +188 -188
- package/dist/IkUploadImage/iking-web-ui-pro.css +1 -1
- package/dist/IkVerticalStepBar/ik.index.es.js +106 -101
- package/dist/IkVerticalStepBar/iking-web-ui-pro.css +1 -1
- package/dist/iking-web-ui-pro.css +2 -2
- package/dist/index.es.js +23272 -23459
- package/dist/index.umd.js +110 -110
- 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 +12 -0
- package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +12 -0
- package/dist/src/components/IkSchedule/index.d.ts +12 -12
- package/dist/src/components/IkSvgIcon/index.d.ts +12 -0
- package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +8 -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,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as k, computed as w, resolveComponent as _, openBlock as t, createElementBlock as n, Fragment as
|
|
1
|
+
import { defineComponent as k, computed as w, resolveComponent as _, openBlock as t, createElementBlock as n, Fragment as T, normalizeClass as c, normalizeStyle as v, createElementVNode as h, createBlock as b, withCtx as d, createTextVNode as B, toDisplayString as C, createVNode as F, unref as $, mergeModels as x, useModel as j, ref as N, h as E, mergeProps as H, createSlots as O, renderSlot as y, createCommentVNode as q } from "vue";
|
|
2
2
|
import { ikColor as L } from "iking-utils-pro";
|
|
3
|
-
const
|
|
3
|
+
const I = (o, u) => (o.install = (i) => {
|
|
4
4
|
for (const e of [o, ...Object.values({})])
|
|
5
5
|
i.component(e.name, e);
|
|
6
|
-
}, o),
|
|
6
|
+
}, o), V = (o, u) => {
|
|
7
7
|
const i = o.__vccOpts || o;
|
|
8
8
|
for (const [e, s] of u)
|
|
9
9
|
i[e] = s;
|
|
@@ -38,9 +38,10 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
38
38
|
success: { type: Boolean },
|
|
39
39
|
tableIconType: {},
|
|
40
40
|
title: {},
|
|
41
|
-
type: {},
|
|
41
|
+
type: { default: "primary" },
|
|
42
42
|
warning: { type: Boolean },
|
|
43
|
-
width: {}
|
|
43
|
+
width: {},
|
|
44
|
+
iconClass: { default: "" }
|
|
44
45
|
},
|
|
45
46
|
emits: ["click", "mouseenter", "mouseleave", "dblclick"],
|
|
46
47
|
setup(o, { emit: u }) {
|
|
@@ -80,20 +81,21 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
80
81
|
a("mouseenter", l);
|
|
81
82
|
}, m = (l) => {
|
|
82
83
|
a("mouseleave", l);
|
|
83
|
-
},
|
|
84
|
+
}, z = (l) => {
|
|
84
85
|
a("dblclick", l);
|
|
85
86
|
};
|
|
86
87
|
return (l, g) => {
|
|
87
|
-
const
|
|
88
|
+
const S = _("el-tooltip"), D = _("el-button");
|
|
88
89
|
return e.value.tableIconType === "icon" || !e.value.tableIconType ? (t(), n(
|
|
89
|
-
|
|
90
|
+
T,
|
|
90
91
|
{ key: 0 },
|
|
91
92
|
[
|
|
92
93
|
e.value.notip || !e.value.title ? (t(), n(
|
|
93
|
-
"
|
|
94
|
+
"i",
|
|
94
95
|
{
|
|
95
96
|
key: 0,
|
|
96
97
|
class: c(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
98
|
+
[l.iconClass]: !0,
|
|
97
99
|
[l.name]: s.value === "unocss",
|
|
98
100
|
"show-bg": e.value.showBg || e.value.bg,
|
|
99
101
|
default: e.value.size === "default",
|
|
@@ -108,12 +110,11 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
108
110
|
}]),
|
|
109
111
|
style: v(r.value),
|
|
110
112
|
onClick: p,
|
|
111
|
-
onDblclick:
|
|
113
|
+
onDblclick: z,
|
|
112
114
|
onMouseenter: f,
|
|
113
115
|
onMouseleave: m
|
|
114
116
|
},
|
|
115
117
|
[
|
|
116
|
-
C(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
117
118
|
s.value === "iksig" ? (t(), n(
|
|
118
119
|
"i",
|
|
119
120
|
{
|
|
@@ -146,17 +147,19 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
146
147
|
],
|
|
147
148
|
38
|
|
148
149
|
/* CLASS, STYLE, NEED_HYDRATION */
|
|
149
|
-
)) : (t(), b(
|
|
150
|
+
)) : (t(), b(S, {
|
|
150
151
|
key: 1,
|
|
151
152
|
content: e.value.title,
|
|
152
153
|
placement: "top",
|
|
154
|
+
"popper-class": "ik-svg-icon-tooltip",
|
|
153
155
|
"hide-after": 0
|
|
154
156
|
}, {
|
|
155
157
|
default: d(() => [
|
|
156
158
|
h(
|
|
157
|
-
"
|
|
159
|
+
"i",
|
|
158
160
|
{
|
|
159
161
|
class: c(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
162
|
+
[l.iconClass]: !0,
|
|
160
163
|
[l.name]: s.value === "unocss",
|
|
161
164
|
"show-bg": e.value.showBg || e.value.bg,
|
|
162
165
|
default: e.value.size === "default",
|
|
@@ -166,11 +169,13 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
166
169
|
primary: l.primary || e.value.type === "primary",
|
|
167
170
|
success: l.success || e.value.type === "success",
|
|
168
171
|
error: e.value.error || e.value.type === "error",
|
|
169
|
-
active: e.value.active
|
|
172
|
+
active: e.value.active,
|
|
173
|
+
disabled: e.value.disabled,
|
|
174
|
+
...l.$attrs.class || {}
|
|
170
175
|
}]),
|
|
171
176
|
style: v(r.value),
|
|
172
177
|
onClick: p,
|
|
173
|
-
onDblclick:
|
|
178
|
+
onDblclick: z,
|
|
174
179
|
onMouseenter: f,
|
|
175
180
|
onMouseleave: m
|
|
176
181
|
},
|
|
@@ -215,13 +220,13 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
215
220
|
],
|
|
216
221
|
64
|
|
217
222
|
/* STABLE_FRAGMENT */
|
|
218
|
-
)) : (t(), b(
|
|
223
|
+
)) : (t(), b(D, {
|
|
219
224
|
key: 1,
|
|
220
225
|
type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
|
|
221
226
|
}, {
|
|
222
227
|
default: d(() => [
|
|
223
228
|
B(
|
|
224
|
-
|
|
229
|
+
C(e.value.title),
|
|
225
230
|
1
|
|
226
231
|
/* TEXT */
|
|
227
232
|
)
|
|
@@ -231,7 +236,7 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
231
236
|
}, 8, ["type"]));
|
|
232
237
|
};
|
|
233
238
|
}
|
|
234
|
-
}), J = /* @__PURE__ */
|
|
239
|
+
}), J = /* @__PURE__ */ V(G, [["__scopeId", "data-v-64b61696"]]), M = I(J), K = /* @__PURE__ */ k({
|
|
235
240
|
__name: "CloseIcon",
|
|
236
241
|
props: {
|
|
237
242
|
showBg: {
|
|
@@ -250,20 +255,19 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
250
255
|
class: c({ "exit-main-page-maximize": o.showBg && o.fullscreen })
|
|
251
256
|
},
|
|
252
257
|
[
|
|
253
|
-
F(
|
|
254
|
-
name: "
|
|
258
|
+
F($(M), {
|
|
259
|
+
name: "iksvg_guanbi",
|
|
255
260
|
title: "关闭",
|
|
256
|
-
size: 20
|
|
257
|
-
error: ""
|
|
261
|
+
size: 20
|
|
258
262
|
})
|
|
259
263
|
],
|
|
260
264
|
2
|
|
261
265
|
/* CLASS */
|
|
262
266
|
));
|
|
263
267
|
}
|
|
264
|
-
}), Q = /* @__PURE__ */
|
|
268
|
+
}), Q = /* @__PURE__ */ V(K, [["__scopeId", "data-v-d9a4ea3c"]]), R = { class: "base-header" }, Z = /* @__PURE__ */ k({
|
|
265
269
|
__name: "IkBaseDialog",
|
|
266
|
-
props: /* @__PURE__ */
|
|
270
|
+
props: /* @__PURE__ */ x({
|
|
267
271
|
title: { default: "" },
|
|
268
272
|
cancelText: { default: "取消" },
|
|
269
273
|
confirmText: { default: "确认" },
|
|
@@ -282,11 +286,11 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
282
286
|
}),
|
|
283
287
|
emits: ["update:modelValue"],
|
|
284
288
|
setup(o) {
|
|
285
|
-
const u = o, i =
|
|
289
|
+
const u = o, i = j(o, "modelValue"), e = N(u.fullscreen), s = () => {
|
|
286
290
|
e.value = !e.value;
|
|
287
291
|
}, r = k({
|
|
288
292
|
setup() {
|
|
289
|
-
return () =>
|
|
293
|
+
return () => E(Q, {
|
|
290
294
|
showBg: u.showCloseBg,
|
|
291
295
|
fullscreen: u.fullscreen
|
|
292
296
|
});
|
|
@@ -294,20 +298,20 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
294
298
|
});
|
|
295
299
|
return (a, p) => {
|
|
296
300
|
const f = _("el-dialog");
|
|
297
|
-
return t(), b(f,
|
|
301
|
+
return t(), b(f, H({
|
|
298
302
|
modelValue: i.value,
|
|
299
303
|
"onUpdate:modelValue": p[0] || (p[0] = (m) => i.value = m),
|
|
300
304
|
"align-center": ""
|
|
301
305
|
}, a.$attrs, {
|
|
302
|
-
"close-icon":
|
|
306
|
+
"close-icon": $(r),
|
|
303
307
|
class: `ik-base-dialog ${a.noHeader ? "no-header" : ""} ${a.noFooter ? "no-footer" : ""}`,
|
|
304
308
|
fullscreen: e.value,
|
|
305
309
|
"modal-class": "baseDialog"
|
|
306
|
-
}),
|
|
310
|
+
}), O({
|
|
307
311
|
icon: d(() => [
|
|
308
312
|
y(a.$slots, "title", {}, () => [
|
|
309
313
|
B(
|
|
310
|
-
|
|
314
|
+
C(a.title),
|
|
311
315
|
1
|
|
312
316
|
/* TEXT */
|
|
313
317
|
)
|
|
@@ -317,19 +321,19 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
317
321
|
h("div", R, [
|
|
318
322
|
y(a.$slots, "header", {}, () => [
|
|
319
323
|
B(
|
|
320
|
-
|
|
324
|
+
C(a.title),
|
|
321
325
|
1
|
|
322
326
|
/* TEXT */
|
|
323
327
|
)
|
|
324
328
|
])
|
|
325
329
|
]),
|
|
326
|
-
a.$attrs.showClose ? (t(), b(
|
|
330
|
+
a.$attrs.showClose ? (t(), b($(M), {
|
|
327
331
|
key: 0,
|
|
328
332
|
onClick: s,
|
|
329
333
|
name: e.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
|
|
330
334
|
class: "absolute! top-[18px] right-[50px] icon-dialog-full",
|
|
331
335
|
title: e.value ? "退出全屏" : "全屏"
|
|
332
|
-
}, null, 8, ["name", "title"])) :
|
|
336
|
+
}, null, 8, ["name", "title"])) : q("v-if", !0)
|
|
333
337
|
]),
|
|
334
338
|
default: d(() => [
|
|
335
339
|
y(a.$slots, "default")
|
|
@@ -347,7 +351,7 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
347
351
|
]), 1040, ["modelValue", "close-icon", "class", "fullscreen"]);
|
|
348
352
|
};
|
|
349
353
|
}
|
|
350
|
-
}), ae =
|
|
354
|
+
}), ae = I(Z);
|
|
351
355
|
export {
|
|
352
356
|
ae as IkBaseDialog,
|
|
353
357
|
ae as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.row-title[data-v-
|
|
1
|
+
.row-title[data-v-64b61696]{display:flex}.ik-svg-icon.ik-icon-span[data-v-64b61696]:not(:first-child){margin-left:var(--ik-margin-s-8)}.exit-main-page-maximize[data-v-d9a4ea3c]{position:fixed;top:-40px;right:-40px;z-index:1000;width:80px;height:80px;cursor:pointer;background-color:var(--ik-icon-bg);border-radius:50%}.exit-main-page-maximize span[data-v-d9a4ea3c]{position:absolute;top:47px;right:47px}.ik-svg-icon.ik-icon[data-v-d9a4ea3c]{--ik-icon-deep-color: var(--ik-bgicon-deep-color);--ik-icon-shallow-color: var(--ik-bgicon-shallow-color)}.el-dialog.ik-base-dialog{--el-dialog-padding-primary: 0 16px}.el-dialog.ik-base-dialog .el-dialog__header{height:48px}.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}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as A, openBlock as c, createElementBlock as m, createElementVNode as C, computed as L, resolveComponent as D, Fragment as P, normalizeClass as S, normalizeStyle as
|
|
1
|
+
import { defineComponent as A, openBlock as c, createElementBlock as m, createElementVNode as C, computed as L, resolveComponent as D, Fragment as P, normalizeClass as S, normalizeStyle as $, createBlock as N, withCtx as f, createTextVNode as z, toDisplayString as T, ref as V, watch as Z, unref as _, createVNode as x, Transition as ne, renderSlot as R, mergeModels as G, useModel as se, resolveDirective as ie, withDirectives as J, mergeProps as K, createSlots as ue, createCommentVNode as F, renderList as re } from "vue";
|
|
2
2
|
import { ikColor as ce, _ as I, ikStore as H } from "iking-utils-pro";
|
|
3
3
|
import de from "vuedraggable";
|
|
4
4
|
const X = (o, b) => (o.install = (s) => {
|
|
@@ -56,9 +56,10 @@ const Y = (o, b) => {
|
|
|
56
56
|
success: { type: Boolean },
|
|
57
57
|
tableIconType: {},
|
|
58
58
|
title: {},
|
|
59
|
-
type: {},
|
|
59
|
+
type: { default: "primary" },
|
|
60
60
|
warning: { type: Boolean },
|
|
61
|
-
width: {}
|
|
61
|
+
width: {},
|
|
62
|
+
iconClass: { default: "" }
|
|
62
63
|
},
|
|
63
64
|
emits: ["click", "mouseenter", "mouseleave", "dblclick"],
|
|
64
65
|
setup(o, { emit: b }) {
|
|
@@ -108,10 +109,11 @@ const Y = (o, b) => {
|
|
|
108
109
|
{ key: 0 },
|
|
109
110
|
[
|
|
110
111
|
e.value.notip || !e.value.title ? (c(), m(
|
|
111
|
-
"
|
|
112
|
+
"i",
|
|
112
113
|
{
|
|
113
114
|
key: 0,
|
|
114
115
|
class: S(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
116
|
+
[t.iconClass]: !0,
|
|
115
117
|
[t.name]: d.value === "unocss",
|
|
116
118
|
"show-bg": e.value.showBg || e.value.bg,
|
|
117
119
|
default: e.value.size === "default",
|
|
@@ -124,20 +126,19 @@ const Y = (o, b) => {
|
|
|
124
126
|
active: e.value.active,
|
|
125
127
|
disabled: e.value.disabled
|
|
126
128
|
}]),
|
|
127
|
-
style:
|
|
129
|
+
style: $(i.value),
|
|
128
130
|
onClick: M,
|
|
129
131
|
onDblclick: y,
|
|
130
132
|
onMouseenter: B,
|
|
131
133
|
onMouseleave: v
|
|
132
134
|
},
|
|
133
135
|
[
|
|
134
|
-
F(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
135
136
|
d.value === "iksig" ? (c(), m(
|
|
136
137
|
"i",
|
|
137
138
|
{
|
|
138
139
|
key: 0,
|
|
139
140
|
class: S(`iksig ${e.value.name}`),
|
|
140
|
-
style:
|
|
141
|
+
style: $(i.value)
|
|
141
142
|
},
|
|
142
143
|
null,
|
|
143
144
|
6
|
|
@@ -155,7 +156,7 @@ const Y = (o, b) => {
|
|
|
155
156
|
{
|
|
156
157
|
key: 3,
|
|
157
158
|
class: S(e.value.name),
|
|
158
|
-
style:
|
|
159
|
+
style: $(i.value)
|
|
159
160
|
},
|
|
160
161
|
null,
|
|
161
162
|
6
|
|
@@ -168,13 +169,15 @@ const Y = (o, b) => {
|
|
|
168
169
|
key: 1,
|
|
169
170
|
content: e.value.title,
|
|
170
171
|
placement: "top",
|
|
172
|
+
"popper-class": "ik-svg-icon-tooltip",
|
|
171
173
|
"hide-after": 0
|
|
172
174
|
}, {
|
|
173
175
|
default: f(() => [
|
|
174
176
|
C(
|
|
175
|
-
"
|
|
177
|
+
"i",
|
|
176
178
|
{
|
|
177
179
|
class: S(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
180
|
+
[t.iconClass]: !0,
|
|
178
181
|
[t.name]: d.value === "unocss",
|
|
179
182
|
"show-bg": e.value.showBg || e.value.bg,
|
|
180
183
|
default: e.value.size === "default",
|
|
@@ -184,9 +187,11 @@ const Y = (o, b) => {
|
|
|
184
187
|
primary: t.primary || e.value.type === "primary",
|
|
185
188
|
success: t.success || e.value.type === "success",
|
|
186
189
|
error: e.value.error || e.value.type === "error",
|
|
187
|
-
active: e.value.active
|
|
190
|
+
active: e.value.active,
|
|
191
|
+
disabled: e.value.disabled,
|
|
192
|
+
...t.$attrs.class || {}
|
|
188
193
|
}]),
|
|
189
|
-
style:
|
|
194
|
+
style: $(i.value),
|
|
190
195
|
onClick: M,
|
|
191
196
|
onDblclick: y,
|
|
192
197
|
onMouseenter: B,
|
|
@@ -198,7 +203,7 @@ const Y = (o, b) => {
|
|
|
198
203
|
{
|
|
199
204
|
key: 0,
|
|
200
205
|
class: S(`iksig ${e.value.name}`),
|
|
201
|
-
style:
|
|
206
|
+
style: $(i.value)
|
|
202
207
|
},
|
|
203
208
|
null,
|
|
204
209
|
6
|
|
@@ -216,7 +221,7 @@ const Y = (o, b) => {
|
|
|
216
221
|
{
|
|
217
222
|
key: 3,
|
|
218
223
|
class: S(e.value.name),
|
|
219
|
-
style:
|
|
224
|
+
style: $(i.value)
|
|
220
225
|
},
|
|
221
226
|
null,
|
|
222
227
|
6
|
|
@@ -249,7 +254,7 @@ const Y = (o, b) => {
|
|
|
249
254
|
}, 8, ["type"]));
|
|
250
255
|
};
|
|
251
256
|
}
|
|
252
|
-
}),
|
|
257
|
+
}), we = /* @__PURE__ */ Y(be, [["__scopeId", "data-v-64b61696"]]), _e = X(we), Q = {
|
|
253
258
|
animation: 200,
|
|
254
259
|
group: "gl",
|
|
255
260
|
disabled: !1,
|
|
@@ -436,7 +441,7 @@ const Y = (o, b) => {
|
|
|
436
441
|
};
|
|
437
442
|
return (v, y) => {
|
|
438
443
|
const t = D("el-icon");
|
|
439
|
-
return c(), N(
|
|
444
|
+
return c(), N(_(de), {
|
|
440
445
|
modelValue: d.value,
|
|
441
446
|
"onUpdate:modelValue": y[0] || (y[0] = (a) => d.value = a),
|
|
442
447
|
class: S(["list-group", [i.value.groupClass]]),
|
|
@@ -452,7 +457,7 @@ const Y = (o, b) => {
|
|
|
452
457
|
onEnd: B
|
|
453
458
|
}, {
|
|
454
459
|
item: f(({ element: a }) => [
|
|
455
|
-
|
|
460
|
+
x(
|
|
456
461
|
ne,
|
|
457
462
|
{
|
|
458
463
|
type: "transition",
|
|
@@ -468,7 +473,7 @@ const Y = (o, b) => {
|
|
|
468
473
|
{
|
|
469
474
|
key: 1,
|
|
470
475
|
class: S(["list-group-item", [i.value.itemClass]]),
|
|
471
|
-
style:
|
|
476
|
+
style: $({
|
|
472
477
|
borderRadius: `${i.value.itemStyle.radius}px`,
|
|
473
478
|
marginBottom: `${i.value.itemStyle.bottom}px`,
|
|
474
479
|
backgroundColor: `${i.value.itemStyle.background}`
|
|
@@ -477,7 +482,7 @@ const Y = (o, b) => {
|
|
|
477
482
|
[
|
|
478
483
|
i.value.showIcon && !v.$slots.icon ? (c(), N(t, { key: 0 }, {
|
|
479
484
|
default: f(() => [
|
|
480
|
-
|
|
485
|
+
x(_(pe))
|
|
481
486
|
]),
|
|
482
487
|
_: 1
|
|
483
488
|
/* STABLE */
|
|
@@ -504,7 +509,7 @@ const Y = (o, b) => {
|
|
|
504
509
|
}, 8, ["modelValue", "class", "attrs", "animation", "group", "disabled", "ghost-class", "force-fallback"]);
|
|
505
510
|
};
|
|
506
511
|
}
|
|
507
|
-
}), Be = /* @__PURE__ */ Y(Ce, [["__scopeId", "data-v-3716c05e"]]), Ie = X(Be),
|
|
512
|
+
}), Be = /* @__PURE__ */ Y(Ce, [["__scopeId", "data-v-3716c05e"]]), Ie = X(Be), $e = { class: "check-right" }, xe = { class: "dialog-footer" }, ze = /* @__PURE__ */ A({
|
|
508
513
|
__name: "IkBtnSetting",
|
|
509
514
|
props: /* @__PURE__ */ G({
|
|
510
515
|
list: {
|
|
@@ -571,11 +576,11 @@ const Y = (o, b) => {
|
|
|
571
576
|
var r;
|
|
572
577
|
const l = I.cloneDeep(a.value);
|
|
573
578
|
l == null || l.forEach((n) => {
|
|
574
|
-
var
|
|
579
|
+
var w;
|
|
575
580
|
if (!t.value.length)
|
|
576
581
|
a.value = [];
|
|
577
582
|
else if (!t.value.includes(n == null ? void 0 : n.key)) {
|
|
578
|
-
const h = (
|
|
583
|
+
const h = (w = a.value) == null ? void 0 : w.findIndex((p) => p.key === n.key);
|
|
579
584
|
h !== -1 && a.value.splice(h, 1), n.show = !1, O.set(n.key, n);
|
|
580
585
|
}
|
|
581
586
|
}), t.value.forEach((n) => {
|
|
@@ -599,9 +604,9 @@ const Y = (o, b) => {
|
|
|
599
604
|
const l = I.cloneDeep(s == null ? void 0 : s.list);
|
|
600
605
|
if ((!u || !(u != null && u.length)) && H.local.setItem(
|
|
601
606
|
v.value,
|
|
602
|
-
l.map(({ show: r, type: n, key:
|
|
607
|
+
l.map(({ show: r, type: n, key: w, label: h, width: p, minWidth: g, align: oe }) => ({
|
|
603
608
|
show: r,
|
|
604
|
-
key:
|
|
609
|
+
key: w,
|
|
605
610
|
type: n,
|
|
606
611
|
label: h,
|
|
607
612
|
width: p,
|
|
@@ -635,19 +640,19 @@ const Y = (o, b) => {
|
|
|
635
640
|
}, ae = () => {
|
|
636
641
|
j.value = !1, H.local.setItem(
|
|
637
642
|
v.value,
|
|
638
|
-
a.value.map(({ show: u, key: l, label: r, value: n, width:
|
|
643
|
+
a.value.map(({ show: u, key: l, label: r, value: n, width: w, minWidth: h, align: p }) => ({
|
|
639
644
|
show: u,
|
|
640
645
|
key: l,
|
|
641
646
|
label: r,
|
|
642
647
|
value: n,
|
|
643
|
-
width:
|
|
648
|
+
width: w,
|
|
644
649
|
minWidth: h,
|
|
645
650
|
align: p
|
|
646
651
|
}))
|
|
647
652
|
), e("sort", I.cloneDeep(a.value)), d.value = I.cloneDeep(a.value);
|
|
648
653
|
};
|
|
649
654
|
return (u, l) => {
|
|
650
|
-
const r = D("el-button"), n = D("el-checkbox"),
|
|
655
|
+
const r = D("el-button"), n = D("el-checkbox"), w = D("el-checkbox-group"), h = D("el-dialog"), p = ie("role");
|
|
651
656
|
return c(), m(
|
|
652
657
|
P,
|
|
653
658
|
null,
|
|
@@ -675,7 +680,7 @@ const Y = (o, b) => {
|
|
|
675
680
|
fn: f(() => [
|
|
676
681
|
F(' {{ t("action.setting") }} '),
|
|
677
682
|
z(
|
|
678
|
-
" " + T(
|
|
683
|
+
" " + T(_(i)("设置")),
|
|
679
684
|
1
|
|
680
685
|
/* TEXT */
|
|
681
686
|
)
|
|
@@ -686,7 +691,7 @@ const Y = (o, b) => {
|
|
|
686
691
|
[p, u.$props.role]
|
|
687
692
|
]) : F("v-if", !0),
|
|
688
693
|
o.btnType === "icon" ? J((c(), N(
|
|
689
|
-
|
|
694
|
+
_(_e),
|
|
690
695
|
K({
|
|
691
696
|
key: 1,
|
|
692
697
|
name: "iksvg_shezhi-daohang",
|
|
@@ -699,11 +704,11 @@ const Y = (o, b) => {
|
|
|
699
704
|
)), [
|
|
700
705
|
[p, u.$props.role]
|
|
701
706
|
]) : F("v-if", !0),
|
|
702
|
-
|
|
707
|
+
x(h, {
|
|
703
708
|
modelValue: j.value,
|
|
704
709
|
"onUpdate:modelValue": l[3] || (l[3] = (g) => j.value = g),
|
|
705
710
|
draggable: "",
|
|
706
|
-
width: o.inline ?
|
|
711
|
+
width: o.inline ? _(k).l : _(k).sl,
|
|
707
712
|
"close-on-click-modal": !1,
|
|
708
713
|
"close-on-press-escape": !1,
|
|
709
714
|
title: "显示字段",
|
|
@@ -711,13 +716,13 @@ const Y = (o, b) => {
|
|
|
711
716
|
onOpen: W
|
|
712
717
|
}, {
|
|
713
718
|
footer: f(() => [
|
|
714
|
-
C("div",
|
|
715
|
-
|
|
719
|
+
C("div", xe, [
|
|
720
|
+
x(r, {
|
|
716
721
|
onClick: l[2] || (l[2] = (g) => j.value = !1)
|
|
717
722
|
}, {
|
|
718
723
|
default: f(() => [
|
|
719
724
|
z(
|
|
720
|
-
T(
|
|
725
|
+
T(_(i)("关闭")) + " ",
|
|
721
726
|
1
|
|
722
727
|
/* TEXT */
|
|
723
728
|
),
|
|
@@ -726,14 +731,14 @@ const Y = (o, b) => {
|
|
|
726
731
|
_: 1
|
|
727
732
|
/* STABLE */
|
|
728
733
|
}),
|
|
729
|
-
|
|
734
|
+
x(r, {
|
|
730
735
|
type: "primary",
|
|
731
736
|
disabled: a.value.length < 2,
|
|
732
737
|
onClick: ae
|
|
733
738
|
}, {
|
|
734
739
|
default: f(() => [
|
|
735
740
|
z(
|
|
736
|
-
T(a.value.length < 2 ? "至少选择一个字段" :
|
|
741
|
+
T(a.value.length < 2 ? "至少选择一个字段" : _(i)("确定")),
|
|
737
742
|
1
|
|
738
743
|
/* TEXT */
|
|
739
744
|
)
|
|
@@ -753,10 +758,10 @@ const Y = (o, b) => {
|
|
|
753
758
|
C(
|
|
754
759
|
"div",
|
|
755
760
|
{
|
|
756
|
-
style:
|
|
761
|
+
style: $({ flex: o.inline ? 2 : 1 })
|
|
757
762
|
},
|
|
758
763
|
[
|
|
759
|
-
|
|
764
|
+
x(n, {
|
|
760
765
|
modelValue: E.value,
|
|
761
766
|
"onUpdate:modelValue": l[0] || (l[0] = (g) => E.value = g),
|
|
762
767
|
class: "single-line",
|
|
@@ -769,7 +774,7 @@ const Y = (o, b) => {
|
|
|
769
774
|
_: 1
|
|
770
775
|
/* STABLE */
|
|
771
776
|
}, 8, ["modelValue", "indeterminate"]),
|
|
772
|
-
|
|
777
|
+
x(w, {
|
|
773
778
|
modelValue: t.value,
|
|
774
779
|
"onUpdate:modelValue": l[1] || (l[1] = (g) => t.value = g),
|
|
775
780
|
onChange: U
|
|
@@ -804,8 +809,8 @@ const Y = (o, b) => {
|
|
|
804
809
|
4
|
|
805
810
|
/* STYLE */
|
|
806
811
|
),
|
|
807
|
-
C("div",
|
|
808
|
-
|
|
812
|
+
C("div", $e, [
|
|
813
|
+
x(_(Ie), {
|
|
809
814
|
list: a.value,
|
|
810
815
|
"item-style": { bottom: 4 },
|
|
811
816
|
onChange: le
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.row-title[data-v-
|
|
1
|
+
.row-title[data-v-64b61696]{display:flex}.ik-svg-icon.ik-icon-span[data-v-64b61696]:not(:first-child){margin-left:var(--ik-margin-s-8)}.ghost[data-v-3716c05e]{opacity:.9;background:var(--el-color-primary)!important;color:var(--el-color-white)}.list-group[data-v-3716c05e]{height:100%;width:100%;color:var(--el-text-color-regular);transition:all .25s}.list-group-item[data-v-3716c05e]{cursor:move;border-radius:4px;background:var(--el-color-primary-light-9);margin-bottom:var(--base-m);padding:var(--base-p);-webkit-user-select:none;user-select:none;display:flex;align-items:center}.list-group-item[data-v-3716c05e]:hover{background:var(--el-color-primary-light-7)!important}.list-group-item i[data-v-3716c05e]{margin-right:calc(var(--base-m) / 2);cursor:pointer}.view-fields.un-inline .el-checkbox[data-v-b5ed17ed]{width:100%;background:var(--ik-sub-sidebar-menu-bg);margin:2px 0;padding:8px;border-radius:4px;height:37px}.view-fields[data-v-b5ed17ed]{display:flex;justify-content:space-between;max-height:55vh;overflow-y:auto;overflow-x:hidden}.view-fields .check-right[data-v-b5ed17ed]{margin-top:37px}.view-fields .single-line[data-v-b5ed17ed]{background-color:transparent!important}.view-fields>div[data-v-b5ed17ed]:nth-child(1){padding-right:8px;flex:2;border-right:1px solid var(--el-border-color)}.view-fields>div[data-v-b5ed17ed]:nth-child(2){flex:1;margin-left:8px}.view-fields>div:nth-child(2) .field-sort[data-v-b5ed17ed]{cursor:move;padding:calc(var(--base-p) / 2);color:var(--el-text-color-regular)}.view-fields .el-checkbox[data-v-b5ed17ed]{width:195px;margin-right:0}
|