iking-web-ui-pro 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/IkApprovalProcessDetail/ik.index.es.js +16 -14
- package/dist/IkApprovalProcessDetail/iking-web-ui-pro.css +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +28 -28
- package/dist/IkBaseDialog/iking-web-ui-pro.css +1 -1
- package/dist/IkBtnSetting/ik.index.es.js +25 -24
- package/dist/IkBtnSetting/iking-web-ui-pro.css +1 -1
- package/dist/IkCalendar/ik.index.es.js +10320 -10322
- package/dist/IkCollapseCard/ik.index.es.js +20 -19
- package/dist/IkCollapseCard/iking-web-ui-pro.css +1 -1
- package/dist/IkDescription/ik.index.es.js +16 -14
- package/dist/IkDescription/iking-web-ui-pro.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +16 -14
- package/dist/IkDetailPreviewFiles/iking-web-ui-pro.css +1 -1
- package/dist/IkEmpty/ik.index.es.js +7 -7
- package/dist/IkEmpty/iking-web-ui-pro.css +1 -1
- package/dist/IkExpandCollapse/ik.index.es.js +59 -58
- package/dist/IkExpandCollapse/iking-web-ui-pro.css +1 -1
- package/dist/IkFullCalendar/ik.index.es.js +12 -9334
- package/dist/IkIconPicker/ik.index.es.js +22 -21
- package/dist/IkIconPicker/iking-web-ui-pro.css +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +31 -30
- package/dist/IkMonacoEditor/iking-web-ui-pro.css +1 -1
- package/dist/IkPageFull/ik.index.es.js +127 -126
- package/dist/IkPageFull/iking-web-ui-pro.css +1 -1
- package/dist/IkPreviewFile/ik.index.es.js +16 -14
- package/dist/IkPreviewFile/iking-web-ui-pro.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +50 -50
- package/dist/IkPreviewFileDialog/iking-web-ui-pro.css +1 -1
- package/dist/IkSchedule/ik.index.es.js +385 -9680
- package/dist/IkSchedule/iking-web-ui-pro.css +1 -1
- package/dist/IkSelectTag/ik.index.es.js +83 -82
- package/dist/IkSelectTag/iking-web-ui-pro.css +1 -1
- package/dist/IkSideText/ik.index.es.js +23 -22
- package/dist/IkSideText/iking-web-ui-pro.css +1 -1
- package/dist/IkStatuOver/ik.index.es.js +68 -67
- package/dist/IkStatuOver/iking-web-ui-pro.css +1 -1
- package/dist/IkSvgIcon/ik.index.es.js +51 -50
- package/dist/IkSvgIcon/iking-web-ui-pro.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +71 -71
- package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +82 -86
- package/dist/IkUploadImage/iking-web-ui-pro.css +1 -1
- package/dist/IkVerticalStepBar/ik.index.es.js +75 -74
- package/dist/IkVerticalStepBar/iking-web-ui-pro.css +1 -1
- package/dist/iking-web-ui-pro.css +2 -2
- package/dist/index.es.js +22453 -22651
- package/dist/index.umd.js +115 -115
- package/dist/src/components/IkFullCalendar/index.d.ts +1 -63
- package/dist/src/components/IkFullCalendar/src/IkFullCalendar.vue.d.ts +2 -0
- package/dist/src/components/IkMonacoEditor/index.d.ts +3 -0
- package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +3 -0
- package/dist/src/components/IkSchedule/index.d.ts +12 -12
- package/dist/src/components/IkSvgIcon/index.d.ts +3 -0
- package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +3 -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 D, normalizeClass as c, normalizeStyle as v,
|
|
1
|
+
import { defineComponent as k, computed as w, resolveComponent as _, openBlock as t, createElementBlock as n, Fragment as D, normalizeClass as c, normalizeStyle as v, createElementVNode as h, createBlock as b, withCtx as d, createTextVNode as B, toDisplayString as $, createVNode as T, unref as z, mergeModels as F, 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,7 +38,7 @@ 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
43
|
width: {}
|
|
44
44
|
},
|
|
@@ -80,17 +80,17 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
80
80
|
a("mouseenter", l);
|
|
81
81
|
}, m = (l) => {
|
|
82
82
|
a("mouseleave", l);
|
|
83
|
-
},
|
|
83
|
+
}, C = (l) => {
|
|
84
84
|
a("dblclick", l);
|
|
85
85
|
};
|
|
86
86
|
return (l, g) => {
|
|
87
|
-
const
|
|
87
|
+
const S = _("el-tooltip"), x = _("el-button");
|
|
88
88
|
return e.value.tableIconType === "icon" || !e.value.tableIconType ? (t(), n(
|
|
89
89
|
D,
|
|
90
90
|
{ key: 0 },
|
|
91
91
|
[
|
|
92
92
|
e.value.notip || !e.value.title ? (t(), n(
|
|
93
|
-
"
|
|
93
|
+
"i",
|
|
94
94
|
{
|
|
95
95
|
key: 0,
|
|
96
96
|
class: c(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
@@ -108,12 +108,11 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
108
108
|
}]),
|
|
109
109
|
style: v(r.value),
|
|
110
110
|
onClick: p,
|
|
111
|
-
onDblclick:
|
|
111
|
+
onDblclick: C,
|
|
112
112
|
onMouseenter: f,
|
|
113
113
|
onMouseleave: m
|
|
114
114
|
},
|
|
115
115
|
[
|
|
116
|
-
C(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
117
116
|
s.value === "iksig" ? (t(), n(
|
|
118
117
|
"i",
|
|
119
118
|
{
|
|
@@ -146,15 +145,16 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
146
145
|
],
|
|
147
146
|
38
|
|
148
147
|
/* CLASS, STYLE, NEED_HYDRATION */
|
|
149
|
-
)) : (t(), b(
|
|
148
|
+
)) : (t(), b(S, {
|
|
150
149
|
key: 1,
|
|
151
150
|
content: e.value.title,
|
|
152
151
|
placement: "top",
|
|
152
|
+
"popper-class": "ik-svg-icon-tooltip",
|
|
153
153
|
"hide-after": 0
|
|
154
154
|
}, {
|
|
155
155
|
default: d(() => [
|
|
156
156
|
h(
|
|
157
|
-
"
|
|
157
|
+
"i",
|
|
158
158
|
{
|
|
159
159
|
class: c(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
160
160
|
[l.name]: s.value === "unocss",
|
|
@@ -166,11 +166,12 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
166
166
|
primary: l.primary || e.value.type === "primary",
|
|
167
167
|
success: l.success || e.value.type === "success",
|
|
168
168
|
error: e.value.error || e.value.type === "error",
|
|
169
|
-
active: e.value.active
|
|
169
|
+
active: e.value.active,
|
|
170
|
+
disabled: e.value.disabled
|
|
170
171
|
}]),
|
|
171
172
|
style: v(r.value),
|
|
172
173
|
onClick: p,
|
|
173
|
-
onDblclick:
|
|
174
|
+
onDblclick: C,
|
|
174
175
|
onMouseenter: f,
|
|
175
176
|
onMouseleave: m
|
|
176
177
|
},
|
|
@@ -215,7 +216,7 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
215
216
|
],
|
|
216
217
|
64
|
|
217
218
|
/* STABLE_FRAGMENT */
|
|
218
|
-
)) : (t(), b(
|
|
219
|
+
)) : (t(), b(x, {
|
|
219
220
|
key: 1,
|
|
220
221
|
type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
|
|
221
222
|
}, {
|
|
@@ -231,7 +232,7 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
231
232
|
}, 8, ["type"]));
|
|
232
233
|
};
|
|
233
234
|
}
|
|
234
|
-
}), J = /* @__PURE__ */
|
|
235
|
+
}), J = /* @__PURE__ */ V(G, [["__scopeId", "data-v-6889f3aa"]]), M = I(J), K = /* @__PURE__ */ k({
|
|
235
236
|
__name: "CloseIcon",
|
|
236
237
|
props: {
|
|
237
238
|
showBg: {
|
|
@@ -250,20 +251,19 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
250
251
|
class: c({ "exit-main-page-maximize": o.showBg && o.fullscreen })
|
|
251
252
|
},
|
|
252
253
|
[
|
|
253
|
-
|
|
254
|
-
name: "
|
|
254
|
+
T(z(M), {
|
|
255
|
+
name: "iksvg_guanbi",
|
|
255
256
|
title: "关闭",
|
|
256
|
-
size: 20
|
|
257
|
-
error: ""
|
|
257
|
+
size: 20
|
|
258
258
|
})
|
|
259
259
|
],
|
|
260
260
|
2
|
|
261
261
|
/* CLASS */
|
|
262
262
|
));
|
|
263
263
|
}
|
|
264
|
-
}), Q = /* @__PURE__ */
|
|
264
|
+
}), Q = /* @__PURE__ */ V(K, [["__scopeId", "data-v-d9a4ea3c"]]), R = { class: "base-header" }, Z = /* @__PURE__ */ k({
|
|
265
265
|
__name: "IkBaseDialog",
|
|
266
|
-
props: /* @__PURE__ */
|
|
266
|
+
props: /* @__PURE__ */ F({
|
|
267
267
|
title: { default: "" },
|
|
268
268
|
cancelText: { default: "取消" },
|
|
269
269
|
confirmText: { default: "确认" },
|
|
@@ -282,11 +282,11 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
282
282
|
}),
|
|
283
283
|
emits: ["update:modelValue"],
|
|
284
284
|
setup(o) {
|
|
285
|
-
const u = o, i =
|
|
285
|
+
const u = o, i = j(o, "modelValue"), e = N(u.fullscreen), s = () => {
|
|
286
286
|
e.value = !e.value;
|
|
287
287
|
}, r = k({
|
|
288
288
|
setup() {
|
|
289
|
-
return () =>
|
|
289
|
+
return () => E(Q, {
|
|
290
290
|
showBg: u.showCloseBg,
|
|
291
291
|
fullscreen: u.fullscreen
|
|
292
292
|
});
|
|
@@ -294,7 +294,7 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
294
294
|
});
|
|
295
295
|
return (a, p) => {
|
|
296
296
|
const f = _("el-dialog");
|
|
297
|
-
return t(), b(f,
|
|
297
|
+
return t(), b(f, H({
|
|
298
298
|
modelValue: i.value,
|
|
299
299
|
"onUpdate:modelValue": p[0] || (p[0] = (m) => i.value = m),
|
|
300
300
|
"align-center": ""
|
|
@@ -303,7 +303,7 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
303
303
|
class: `ik-base-dialog ${a.noHeader ? "no-header" : ""} ${a.noFooter ? "no-footer" : ""}`,
|
|
304
304
|
fullscreen: e.value,
|
|
305
305
|
"modal-class": "baseDialog"
|
|
306
|
-
}),
|
|
306
|
+
}), O({
|
|
307
307
|
icon: d(() => [
|
|
308
308
|
y(a.$slots, "title", {}, () => [
|
|
309
309
|
B(
|
|
@@ -323,13 +323,13 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
323
323
|
)
|
|
324
324
|
])
|
|
325
325
|
]),
|
|
326
|
-
a.$attrs.showClose ? (t(), b(z(
|
|
326
|
+
a.$attrs.showClose ? (t(), b(z(M), {
|
|
327
327
|
key: 0,
|
|
328
328
|
onClick: s,
|
|
329
329
|
name: e.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
|
|
330
330
|
class: "absolute! top-[18px] right-[50px] icon-dialog-full",
|
|
331
331
|
title: e.value ? "退出全屏" : "全屏"
|
|
332
|
-
}, null, 8, ["name", "title"])) :
|
|
332
|
+
}, null, 8, ["name", "title"])) : q("v-if", !0)
|
|
333
333
|
]),
|
|
334
334
|
default: d(() => [
|
|
335
335
|
y(a.$slots, "default")
|
|
@@ -347,7 +347,7 @@ const V = (o, u) => (o.install = (i) => {
|
|
|
347
347
|
]), 1040, ["modelValue", "close-icon", "class", "fullscreen"]);
|
|
348
348
|
};
|
|
349
349
|
}
|
|
350
|
-
}), ae =
|
|
350
|
+
}), ae = I(Z);
|
|
351
351
|
export {
|
|
352
352
|
ae as IkBaseDialog,
|
|
353
353
|
ae as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.row-title[data-v-
|
|
1
|
+
.row-title[data-v-6889f3aa]{display:flex}.ik-svg-icon.ik-icon-span[data-v-6889f3aa]: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{--el-dialog-padding-primary: 0 16px}.el-dialog .el-dialog__header:after,.el-dialog .el-dialog__footer:after{left:-16px;width:calc(100% + 32px)}.el-dialog .el-dialog__header{height:48px}.el-dialog .el-dialog__header .el-dialog__headerbtn{height:0px;top:16px}.el-dialog .el-dialog__footer{height:52px}.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,5 +1,5 @@
|
|
|
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
|
|
2
|
-
import { ikColor as ce, _ 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 I, createBlock as N, withCtx as f, createTextVNode as z, toDisplayString as T, ref as V, watch as Z, unref as w, createVNode as $, 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
|
+
import { ikColor as ce, _ as x, ikStore as H } from "iking-utils-pro";
|
|
3
3
|
import de from "vuedraggable";
|
|
4
4
|
const X = (o, b) => (o.install = (s) => {
|
|
5
5
|
for (const e of [o, ...Object.values({})])
|
|
@@ -56,7 +56,7 @@ 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
61
|
width: {}
|
|
62
62
|
},
|
|
@@ -108,7 +108,7 @@ const Y = (o, b) => {
|
|
|
108
108
|
{ key: 0 },
|
|
109
109
|
[
|
|
110
110
|
e.value.notip || !e.value.title ? (c(), m(
|
|
111
|
-
"
|
|
111
|
+
"i",
|
|
112
112
|
{
|
|
113
113
|
key: 0,
|
|
114
114
|
class: S(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
@@ -124,20 +124,19 @@ const Y = (o, b) => {
|
|
|
124
124
|
active: e.value.active,
|
|
125
125
|
disabled: e.value.disabled
|
|
126
126
|
}]),
|
|
127
|
-
style:
|
|
127
|
+
style: I(i.value),
|
|
128
128
|
onClick: M,
|
|
129
129
|
onDblclick: y,
|
|
130
130
|
onMouseenter: B,
|
|
131
131
|
onMouseleave: v
|
|
132
132
|
},
|
|
133
133
|
[
|
|
134
|
-
F(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
135
134
|
d.value === "iksig" ? (c(), m(
|
|
136
135
|
"i",
|
|
137
136
|
{
|
|
138
137
|
key: 0,
|
|
139
138
|
class: S(`iksig ${e.value.name}`),
|
|
140
|
-
style:
|
|
139
|
+
style: I(i.value)
|
|
141
140
|
},
|
|
142
141
|
null,
|
|
143
142
|
6
|
|
@@ -155,7 +154,7 @@ const Y = (o, b) => {
|
|
|
155
154
|
{
|
|
156
155
|
key: 3,
|
|
157
156
|
class: S(e.value.name),
|
|
158
|
-
style:
|
|
157
|
+
style: I(i.value)
|
|
159
158
|
},
|
|
160
159
|
null,
|
|
161
160
|
6
|
|
@@ -168,11 +167,12 @@ const Y = (o, b) => {
|
|
|
168
167
|
key: 1,
|
|
169
168
|
content: e.value.title,
|
|
170
169
|
placement: "top",
|
|
170
|
+
"popper-class": "ik-svg-icon-tooltip",
|
|
171
171
|
"hide-after": 0
|
|
172
172
|
}, {
|
|
173
173
|
default: f(() => [
|
|
174
174
|
C(
|
|
175
|
-
"
|
|
175
|
+
"i",
|
|
176
176
|
{
|
|
177
177
|
class: S(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
178
178
|
[t.name]: d.value === "unocss",
|
|
@@ -184,9 +184,10 @@ const Y = (o, b) => {
|
|
|
184
184
|
primary: t.primary || e.value.type === "primary",
|
|
185
185
|
success: t.success || e.value.type === "success",
|
|
186
186
|
error: e.value.error || e.value.type === "error",
|
|
187
|
-
active: e.value.active
|
|
187
|
+
active: e.value.active,
|
|
188
|
+
disabled: e.value.disabled
|
|
188
189
|
}]),
|
|
189
|
-
style:
|
|
190
|
+
style: I(i.value),
|
|
190
191
|
onClick: M,
|
|
191
192
|
onDblclick: y,
|
|
192
193
|
onMouseenter: B,
|
|
@@ -198,7 +199,7 @@ const Y = (o, b) => {
|
|
|
198
199
|
{
|
|
199
200
|
key: 0,
|
|
200
201
|
class: S(`iksig ${e.value.name}`),
|
|
201
|
-
style:
|
|
202
|
+
style: I(i.value)
|
|
202
203
|
},
|
|
203
204
|
null,
|
|
204
205
|
6
|
|
@@ -216,7 +217,7 @@ const Y = (o, b) => {
|
|
|
216
217
|
{
|
|
217
218
|
key: 3,
|
|
218
219
|
class: S(e.value.name),
|
|
219
|
-
style:
|
|
220
|
+
style: I(i.value)
|
|
220
221
|
},
|
|
221
222
|
null,
|
|
222
223
|
6
|
|
@@ -249,7 +250,7 @@ const Y = (o, b) => {
|
|
|
249
250
|
}, 8, ["type"]));
|
|
250
251
|
};
|
|
251
252
|
}
|
|
252
|
-
}), _e = /* @__PURE__ */ Y(be, [["__scopeId", "data-v-
|
|
253
|
+
}), _e = /* @__PURE__ */ Y(be, [["__scopeId", "data-v-6889f3aa"]]), we = X(_e), Q = {
|
|
253
254
|
animation: 200,
|
|
254
255
|
group: "gl",
|
|
255
256
|
disabled: !1,
|
|
@@ -409,7 +410,7 @@ const Y = (o, b) => {
|
|
|
409
410
|
Z(
|
|
410
411
|
() => s.list,
|
|
411
412
|
(v) => {
|
|
412
|
-
d.value =
|
|
413
|
+
d.value = x.cloneDeep(v);
|
|
413
414
|
},
|
|
414
415
|
{
|
|
415
416
|
immediate: !0,
|
|
@@ -468,7 +469,7 @@ const Y = (o, b) => {
|
|
|
468
469
|
{
|
|
469
470
|
key: 1,
|
|
470
471
|
class: S(["list-group-item", [i.value.itemClass]]),
|
|
471
|
-
style:
|
|
472
|
+
style: I({
|
|
472
473
|
borderRadius: `${i.value.itemStyle.radius}px`,
|
|
473
474
|
marginBottom: `${i.value.itemStyle.bottom}px`,
|
|
474
475
|
backgroundColor: `${i.value.itemStyle.background}`
|
|
@@ -504,7 +505,7 @@ const Y = (o, b) => {
|
|
|
504
505
|
}, 8, ["modelValue", "class", "attrs", "animation", "group", "disabled", "ghost-class", "force-fallback"]);
|
|
505
506
|
};
|
|
506
507
|
}
|
|
507
|
-
}), Be = /* @__PURE__ */ Y(Ce, [["__scopeId", "data-v-3716c05e"]]),
|
|
508
|
+
}), Be = /* @__PURE__ */ Y(Ce, [["__scopeId", "data-v-3716c05e"]]), xe = X(Be), Ie = { class: "check-right" }, $e = { class: "dialog-footer" }, ze = /* @__PURE__ */ A({
|
|
508
509
|
__name: "IkBtnSetting",
|
|
509
510
|
props: /* @__PURE__ */ G({
|
|
510
511
|
list: {
|
|
@@ -569,7 +570,7 @@ const Y = (o, b) => {
|
|
|
569
570
|
return !u && t.value.length && (E.value = !0), !!u;
|
|
570
571
|
}), U = (u) => {
|
|
571
572
|
var r;
|
|
572
|
-
const l =
|
|
573
|
+
const l = x.cloneDeep(a.value);
|
|
573
574
|
l == null || l.forEach((n) => {
|
|
574
575
|
var _;
|
|
575
576
|
if (!t.value.length)
|
|
@@ -584,7 +585,7 @@ const Y = (o, b) => {
|
|
|
584
585
|
const p = O.get(n);
|
|
585
586
|
p && (p.show = !0, a.value.push(p));
|
|
586
587
|
}
|
|
587
|
-
}), (r = a.value) != null && r.length || (a.value =
|
|
588
|
+
}), (r = a.value) != null && r.length || (a.value = x.cloneDeep(s.list)), u === !0 && (e("sort", x.cloneDeep(a.value)), d.value = x.cloneDeep(a.value));
|
|
588
589
|
}, te = (u) => {
|
|
589
590
|
if (u)
|
|
590
591
|
t.value = s.list.map((l) => l.key);
|
|
@@ -596,7 +597,7 @@ const Y = (o, b) => {
|
|
|
596
597
|
}, W = () => {
|
|
597
598
|
const u = H.local.getItem(v.value);
|
|
598
599
|
try {
|
|
599
|
-
const l =
|
|
600
|
+
const l = x.cloneDeep(s == null ? void 0 : s.list);
|
|
600
601
|
if ((!u || !(u != null && u.length)) && H.local.setItem(
|
|
601
602
|
v.value,
|
|
602
603
|
l.map(({ show: r, type: n, key: _, label: h, width: p, minWidth: g, align: oe }) => ({
|
|
@@ -644,7 +645,7 @@ const Y = (o, b) => {
|
|
|
644
645
|
minWidth: h,
|
|
645
646
|
align: p
|
|
646
647
|
}))
|
|
647
|
-
), e("sort",
|
|
648
|
+
), e("sort", x.cloneDeep(a.value)), d.value = x.cloneDeep(a.value);
|
|
648
649
|
};
|
|
649
650
|
return (u, l) => {
|
|
650
651
|
const r = D("el-button"), n = D("el-checkbox"), _ = D("el-checkbox-group"), h = D("el-dialog"), p = ie("role");
|
|
@@ -753,7 +754,7 @@ const Y = (o, b) => {
|
|
|
753
754
|
C(
|
|
754
755
|
"div",
|
|
755
756
|
{
|
|
756
|
-
style:
|
|
757
|
+
style: I({ flex: o.inline ? 2 : 1 })
|
|
757
758
|
},
|
|
758
759
|
[
|
|
759
760
|
$(n, {
|
|
@@ -804,8 +805,8 @@ const Y = (o, b) => {
|
|
|
804
805
|
4
|
|
805
806
|
/* STYLE */
|
|
806
807
|
),
|
|
807
|
-
C("div",
|
|
808
|
-
$(w(
|
|
808
|
+
C("div", Ie, [
|
|
809
|
+
$(w(xe), {
|
|
809
810
|
list: a.value,
|
|
810
811
|
"item-style": { bottom: 4 },
|
|
811
812
|
onChange: le
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.row-title[data-v-
|
|
1
|
+
.row-title[data-v-6889f3aa]{display:flex}.ik-svg-icon.ik-icon-span[data-v-6889f3aa]: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}
|