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,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ue, openBlock as n, createElementBlock as m, createElementVNode as d, inject as De, computed as E, resolveComponent as ne, Fragment as q, normalizeClass as re, normalizeStyle as ye,
|
|
1
|
+
import { defineComponent as ue, openBlock as n, createElementBlock as m, createElementVNode as d, inject as De, computed as E, resolveComponent as ne, Fragment as q, normalizeClass as re, normalizeStyle as ye, createBlock as D, withCtx as U, createTextVNode as le, toDisplayString as X, createCommentVNode as B, ref as C, unref as T, renderList as ge, createVNode as A, useCssVars as ft, watch as fe, toRef as gt, reactive as lt, nextTick as at, watchEffect as nt, withModifiers as $e, withDirectives as Be, vShow as yt, mergeModels as ze, useModel as Ke, resolveDirective as Ze, mergeProps as te, createSlots as mt, Transition as vt, renderSlot as he, isVNode as At, getCurrentInstance as kt } from "vue";
|
|
2
2
|
import { ElCheckbox as Te, ElCheckboxGroup as je, ElRadioGroup as He, ElRadio as Fe, ElDialog as bt, ElButton as Xe, ElInput as Ne, ElBreadcrumb as xt, ElBreadcrumbItem as Ot, vLoading as qe, ElCol as wt, ElFormItem as st, ElCard as Ct, ElForm as Bt, ElRow as Pt, ElInputNumber as Lt, ElSelect as ot, ElOption as it, ElRadioButton as St, ElDatePicker as rt, ElTreeSelect as Tt } from "element-plus";
|
|
3
3
|
import { ikColor as Ut, ikStore as Ue, _ as ae, ikEvent as It } from "iking-utils-pro";
|
|
4
4
|
import Vt from "axios";
|
|
@@ -123,9 +123,10 @@ const se = (l, c) => {
|
|
|
123
123
|
success: { type: Boolean },
|
|
124
124
|
tableIconType: {},
|
|
125
125
|
title: {},
|
|
126
|
-
type: {},
|
|
126
|
+
type: { default: "primary" },
|
|
127
127
|
warning: { type: Boolean },
|
|
128
|
-
width: {}
|
|
128
|
+
width: {},
|
|
129
|
+
iconClass: { default: "" }
|
|
129
130
|
},
|
|
130
131
|
emits: ["click", "mouseenter", "mouseleave", "dblclick"],
|
|
131
132
|
setup(l, { emit: c }) {
|
|
@@ -175,10 +176,11 @@ const se = (l, c) => {
|
|
|
175
176
|
{ key: 0 },
|
|
176
177
|
[
|
|
177
178
|
e.value.notip || !e.value.title ? (n(), m(
|
|
178
|
-
"
|
|
179
|
+
"i",
|
|
179
180
|
{
|
|
180
181
|
key: 0,
|
|
181
182
|
class: re(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
183
|
+
[h.iconClass]: !0,
|
|
182
184
|
[h.name]: k.value === "unocss",
|
|
183
185
|
"show-bg": e.value.showBg || e.value.bg,
|
|
184
186
|
default: e.value.size === "default",
|
|
@@ -198,7 +200,6 @@ const se = (l, c) => {
|
|
|
198
200
|
onMouseleave: b
|
|
199
201
|
},
|
|
200
202
|
[
|
|
201
|
-
w(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
202
203
|
k.value === "iksig" ? (n(), m(
|
|
203
204
|
"i",
|
|
204
205
|
{
|
|
@@ -235,13 +236,15 @@ const se = (l, c) => {
|
|
|
235
236
|
key: 1,
|
|
236
237
|
content: e.value.title,
|
|
237
238
|
placement: "top",
|
|
239
|
+
"popper-class": "ik-svg-icon-tooltip",
|
|
238
240
|
"hide-after": 0
|
|
239
241
|
}, {
|
|
240
242
|
default: U(() => [
|
|
241
243
|
d(
|
|
242
|
-
"
|
|
244
|
+
"i",
|
|
243
245
|
{
|
|
244
246
|
class: re(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
247
|
+
[h.iconClass]: !0,
|
|
245
248
|
[h.name]: k.value === "unocss",
|
|
246
249
|
"show-bg": e.value.showBg || e.value.bg,
|
|
247
250
|
default: e.value.size === "default",
|
|
@@ -251,7 +254,9 @@ const se = (l, c) => {
|
|
|
251
254
|
primary: h.primary || e.value.type === "primary",
|
|
252
255
|
success: h.success || e.value.type === "success",
|
|
253
256
|
error: e.value.error || e.value.type === "error",
|
|
254
|
-
active: e.value.active
|
|
257
|
+
active: e.value.active,
|
|
258
|
+
disabled: e.value.disabled,
|
|
259
|
+
...h.$attrs.class || {}
|
|
255
260
|
}]),
|
|
256
261
|
style: ye(p.value),
|
|
257
262
|
onClick: v,
|
|
@@ -316,7 +321,7 @@ const se = (l, c) => {
|
|
|
316
321
|
}, 8, ["type"]));
|
|
317
322
|
};
|
|
318
323
|
}
|
|
319
|
-
}), Gt = /* @__PURE__ */ se(Wt, [["__scopeId", "data-v-
|
|
324
|
+
}), Gt = /* @__PURE__ */ se(Wt, [["__scopeId", "data-v-64b61696"]]), Oe = Ee(Gt), Yt = {}, Qt = {
|
|
320
325
|
t: "1672194715727",
|
|
321
326
|
class: "icon",
|
|
322
327
|
viewBox: "0 0 1024 1024",
|
|
@@ -539,7 +544,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
539
544
|
1
|
|
540
545
|
/* TEXT */
|
|
541
546
|
))
|
|
542
|
-
])) :
|
|
547
|
+
])) : B("v-if", !0)
|
|
543
548
|
]);
|
|
544
549
|
};
|
|
545
550
|
}
|
|
@@ -638,9 +643,9 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
638
643
|
var y, H, W, F;
|
|
639
644
|
const r = (y = t.handList) == null ? void 0 : y.length, o = (H = t.list) == null ? void 0 : H.length;
|
|
640
645
|
return t.multiple ? p.value = t.handList.map((g) => g[t.fixPropOpt.id]) : x.value = (F = (W = t.handList) == null ? void 0 : W[0]) == null ? void 0 : F[t.fixPropOpt.id], r > 0 && r < o;
|
|
641
|
-
}), p =
|
|
646
|
+
}), p = C(
|
|
642
647
|
t.handList.map((r) => r[t.fixPropOpt.id])
|
|
643
|
-
), x =
|
|
648
|
+
), x = C((a = (i = t.handList) == null ? void 0 : i[0]) == null ? void 0 : a[t.fixPropOpt.id]), v = c, j = (r) => {
|
|
644
649
|
const o = r ? t.list.map((y) => {
|
|
645
650
|
if (t.chooseType.includes(y[t.fixPropOpt.type].toLowerCase()) && y.available !== !1)
|
|
646
651
|
return y[t.fixPropOpt.id];
|
|
@@ -657,7 +662,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
657
662
|
q,
|
|
658
663
|
null,
|
|
659
664
|
[
|
|
660
|
-
|
|
665
|
+
B(" 遍历list多选 "),
|
|
661
666
|
d("div", yl, [
|
|
662
667
|
r.multiple && r.list && r.list.length ? (n(), D(T(Te), {
|
|
663
668
|
key: 0,
|
|
@@ -671,7 +676,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
671
676
|
])),
|
|
672
677
|
_: 1
|
|
673
678
|
/* STABLE */
|
|
674
|
-
}, 8, ["modelValue", "indeterminate"])) :
|
|
679
|
+
}, 8, ["modelValue", "indeterminate"])) : B("v-if", !0),
|
|
675
680
|
r.list && r.list.length ? (n(), m("ul", ml, [
|
|
676
681
|
r.multiple ? (n(), D(T(je), {
|
|
677
682
|
key: 0,
|
|
@@ -719,7 +724,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
719
724
|
" (" + X(y.userCount) + ") ",
|
|
720
725
|
1
|
|
721
726
|
/* TEXT */
|
|
722
|
-
)) :
|
|
727
|
+
)) : B("v-if", !0)
|
|
723
728
|
])
|
|
724
729
|
])
|
|
725
730
|
]),
|
|
@@ -755,7 +760,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
755
760
|
" (" + X(y.userCount) + ") ",
|
|
756
761
|
1
|
|
757
762
|
/* TEXT */
|
|
758
|
-
)) :
|
|
763
|
+
)) : B("v-if", !0)
|
|
759
764
|
])
|
|
760
765
|
])),
|
|
761
766
|
y[t.fixPropOpt.type] === t.fixTypeOpt.group && t.children ? (n(), m("span", {
|
|
@@ -772,7 +777,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
772
777
|
(F = p.value) == null ? void 0 : F.find((g) => g === y[t.fixPropOpt.id])
|
|
773
778
|
);
|
|
774
779
|
}
|
|
775
|
-
}, " 下级", 10, Sl)) :
|
|
780
|
+
}, " 下级", 10, Sl)) : B("v-if", !0)
|
|
776
781
|
]);
|
|
777
782
|
}),
|
|
778
783
|
128
|
|
@@ -826,7 +831,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
826
831
|
" (" + X((y == null ? void 0 : y.userCount) || 0) + ") ",
|
|
827
832
|
1
|
|
828
833
|
/* TEXT */
|
|
829
|
-
)) :
|
|
834
|
+
)) : B("v-if", !0)
|
|
830
835
|
])
|
|
831
836
|
])
|
|
832
837
|
]),
|
|
@@ -862,7 +867,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
862
867
|
" (" + X(y.userCount) + ") ",
|
|
863
868
|
1
|
|
864
869
|
/* TEXT */
|
|
865
|
-
)) :
|
|
870
|
+
)) : B("v-if", !0)
|
|
866
871
|
])
|
|
867
872
|
])),
|
|
868
873
|
y[t.fixPropOpt.type] === t.fixTypeOpt.group && t.children ? (n(), m("span", {
|
|
@@ -879,7 +884,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
879
884
|
(F = p.value) == null ? void 0 : F.find((g) => g === y[t.fixPropOpt.id])
|
|
880
885
|
);
|
|
881
886
|
}
|
|
882
|
-
}, " 下级", 10, Rl)) :
|
|
887
|
+
}, " 下级", 10, Rl)) : B("v-if", !0)
|
|
883
888
|
]);
|
|
884
889
|
}),
|
|
885
890
|
128
|
|
@@ -939,9 +944,9 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
939
944
|
var o, y, H, W;
|
|
940
945
|
const a = (o = t.handList) == null ? void 0 : o.length, r = (y = t.list) == null ? void 0 : y.length;
|
|
941
946
|
return t.multiple ? p.value = t.handList.map((F) => F[t.fixPropOpt.id]) : x.value = (W = (H = t.handList) == null ? void 0 : H[0]) == null ? void 0 : W[t.fixPropOpt.id], a > 0 && a < r;
|
|
942
|
-
}), p =
|
|
947
|
+
}), p = C(
|
|
943
948
|
t.handList.map((a) => a[t.fixPropOpt.id])
|
|
944
|
-
), x =
|
|
949
|
+
), x = C((i = (h = t.handList) == null ? void 0 : h[0]) == null ? void 0 : i[t.fixPropOpt.id]), v = c, j = (a) => {
|
|
945
950
|
const r = a ? t.list.map((o) => o[t.fixPropOpt.id]) : [];
|
|
946
951
|
v("change", r, a ? t.list : []);
|
|
947
952
|
}, b = (a) => {
|
|
@@ -953,7 +958,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
953
958
|
q,
|
|
954
959
|
null,
|
|
955
960
|
[
|
|
956
|
-
|
|
961
|
+
B(" 遍历list多选 "),
|
|
957
962
|
d("div", Fl, [
|
|
958
963
|
a.multiple && a.chooseType.includes("post") && a.list && a.list.length ? (n(), D(T(Te), {
|
|
959
964
|
key: 0,
|
|
@@ -967,7 +972,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
967
972
|
])),
|
|
968
973
|
_: 1
|
|
969
974
|
/* STABLE */
|
|
970
|
-
}, 8, ["modelValue", "indeterminate"])) :
|
|
975
|
+
}, 8, ["modelValue", "indeterminate"])) : B("v-if", !0),
|
|
971
976
|
a.list && a.list.length ? (n(), m("ul", Wl, [
|
|
972
977
|
a.multiple ? (n(), D(T(je), {
|
|
973
978
|
key: 0,
|
|
@@ -1158,9 +1163,9 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
1158
1163
|
var o, y, H, W;
|
|
1159
1164
|
const a = (o = t.handList) == null ? void 0 : o.length, r = (y = t.list) == null ? void 0 : y.length;
|
|
1160
1165
|
return t.multiple ? p.value = t.handList.map((F) => F[t.fixPropOpt.id]) : x.value = (W = (H = t.handList) == null ? void 0 : H[0]) == null ? void 0 : W[t.fixPropOpt.id], a > 0 && a < r;
|
|
1161
|
-
}), p =
|
|
1166
|
+
}), p = C(
|
|
1162
1167
|
t.handList.map((a) => a[t.fixPropOpt.id])
|
|
1163
|
-
), x =
|
|
1168
|
+
), x = C((i = (h = t.handList) == null ? void 0 : h[0]) == null ? void 0 : i[t.fixPropOpt.id]), v = c, j = (a) => {
|
|
1164
1169
|
const r = a ? t.list.map((o) => o[t.fixPropOpt.id]) : [];
|
|
1165
1170
|
v("change", r, a ? t.list : []);
|
|
1166
1171
|
}, b = (a) => {
|
|
@@ -1172,7 +1177,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
1172
1177
|
q,
|
|
1173
1178
|
null,
|
|
1174
1179
|
[
|
|
1175
|
-
|
|
1180
|
+
B(" 遍历list多选 "),
|
|
1176
1181
|
d("div", na, [
|
|
1177
1182
|
a.multiple && a.chooseType.includes("role") && a.list && a.list.length ? (n(), D(T(Te), {
|
|
1178
1183
|
key: 0,
|
|
@@ -1186,7 +1191,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
1186
1191
|
])),
|
|
1187
1192
|
_: 1
|
|
1188
1193
|
/* STABLE */
|
|
1189
|
-
}, 8, ["modelValue", "indeterminate"])) :
|
|
1194
|
+
}, 8, ["modelValue", "indeterminate"])) : B("v-if", !0),
|
|
1190
1195
|
a.list && a.list.length ? (n(), m("ul", sa, [
|
|
1191
1196
|
a.multiple ? (n(), D(T(je), {
|
|
1192
1197
|
key: 0,
|
|
@@ -1529,7 +1534,7 @@ const ka = {
|
|
|
1529
1534
|
ba(l);
|
|
1530
1535
|
(t = Ue.local.getItem("tenant")) == null || t.code;
|
|
1531
1536
|
}, Oa = (l, c) => {
|
|
1532
|
-
const t =
|
|
1537
|
+
const t = C([]), e = async (p, x) => {
|
|
1533
1538
|
var S, P, N;
|
|
1534
1539
|
const { url: v, methods: j, headers: b, param: O } = l.value || {}, h = {
|
|
1535
1540
|
// 额外参数
|
|
@@ -1601,7 +1606,7 @@ const ka = {
|
|
|
1601
1606
|
ft((s) => ({
|
|
1602
1607
|
"775d0d08": Ae.value
|
|
1603
1608
|
}));
|
|
1604
|
-
const e = l, k =
|
|
1609
|
+
const e = l, k = C(""), p = C(""), x = C([]), v = C([]), j = C([]), b = C([]), O = C(!1), h = E(() => N.value.includes("user") ? v.value.concat(x.value) : v.value);
|
|
1605
1610
|
fe(
|
|
1606
1611
|
() => e.api,
|
|
1607
1612
|
() => {
|
|
@@ -1620,7 +1625,7 @@ const ka = {
|
|
|
1620
1625
|
post: "POST",
|
|
1621
1626
|
group: "DEPT",
|
|
1622
1627
|
...e.typeOption
|
|
1623
|
-
})), r =
|
|
1628
|
+
})), r = C([]), o = Oa(gt(e, "api"), e), y = o.handData, H = o.bannerList;
|
|
1624
1629
|
e.immediate && y(p.value, k.value);
|
|
1625
1630
|
const W = (s) => (s.forEach((f) => {
|
|
1626
1631
|
var I, _;
|
|
@@ -1694,11 +1699,11 @@ const ka = {
|
|
|
1694
1699
|
const s = e.chooseType.map((I) => I.toLocaleLowerCase());
|
|
1695
1700
|
let f = [...s];
|
|
1696
1701
|
return s.includes("dep") && (f = [...f, "dept"]), s.includes("dep_user") && (f = [...f, "user"]), f;
|
|
1697
|
-
}), z =
|
|
1702
|
+
}), z = C([]), ie = (s) => {
|
|
1698
1703
|
z.value = s, z.value.forEach((f) => {
|
|
1699
1704
|
f.readonly = f == null ? void 0 : f.disabled;
|
|
1700
1705
|
});
|
|
1701
|
-
}, M = t, K =
|
|
1706
|
+
}, M = t, K = C(!1), ee = (s = !1) => {
|
|
1702
1707
|
var I;
|
|
1703
1708
|
const f = (I = e == null ? void 0 : e.userList) != null && I.length ? ae.cloneDeep([...e == null ? void 0 : e.userList, ...e == null ? void 0 : e.groupList]) : [...v.value, ...x.value];
|
|
1704
1709
|
return !s && ie(f), f;
|
|
@@ -1822,10 +1827,10 @@ const ka = {
|
|
|
1822
1827
|
() => e.chooseType.includes("role") && e.chooseType.length === 1
|
|
1823
1828
|
), R = E(
|
|
1824
1829
|
() => e.chooseType.includes("post") && e.chooseType.length === 1
|
|
1825
|
-
), V =
|
|
1826
|
-
nt(() => (
|
|
1830
|
+
), V = C(e.tabs[0]), w = C(e.tabs[0]);
|
|
1831
|
+
nt(() => (w.value = u.value ? e.tabs[1] : R.value ? e.tabs[2] : V.value, w.value));
|
|
1827
1832
|
const $ = () => {
|
|
1828
|
-
g.user.clear(), g.role.clear(), g.post.clear(), g.group.clear(), g.trans = [], Le.value = [], ce.value = [], V.value = e.tabs[0],
|
|
1833
|
+
g.user.clear(), g.role.clear(), g.post.clear(), g.group.clear(), g.trans = [], Le.value = [], ce.value = [], V.value = e.tabs[0], w.value = e.tabs[0], k.value = "", p.value = e.orgPid, H.value.splice(1, H.value.length), g.single = "", r.value = [];
|
|
1829
1834
|
}, Z = () => {
|
|
1830
1835
|
var s;
|
|
1831
1836
|
M(
|
|
@@ -1862,7 +1867,7 @@ const ka = {
|
|
|
1862
1867
|
Pe(), f.forEach((_) => {
|
|
1863
1868
|
I != null && I.includes(_[i.value.id]) ? me(_) : de(_);
|
|
1864
1869
|
});
|
|
1865
|
-
}, Le =
|
|
1870
|
+
}, Le = C([]), we = (s, f) => {
|
|
1866
1871
|
e.multiple || (g.single = "");
|
|
1867
1872
|
const I = e.multiple ? s : [s];
|
|
1868
1873
|
if (!I.length) {
|
|
@@ -1879,7 +1884,7 @@ const ka = {
|
|
|
1879
1884
|
Le.value = ae.cloneDeep(P.value.role.list);
|
|
1880
1885
|
}
|
|
1881
1886
|
);
|
|
1882
|
-
const ce =
|
|
1887
|
+
const ce = C([]), Ce = (s, f) => {
|
|
1883
1888
|
e.multiple || (g.single = "");
|
|
1884
1889
|
const I = e.multiple ? s : [s];
|
|
1885
1890
|
if (!I.length) {
|
|
@@ -1978,15 +1983,15 @@ const ka = {
|
|
|
1978
1983
|
]),
|
|
1979
1984
|
_: 1
|
|
1980
1985
|
/* STABLE */
|
|
1981
|
-
}, 8, ["modelValue"])) :
|
|
1986
|
+
}, 8, ["modelValue"])) : B("v-if", !0)
|
|
1982
1987
|
]),
|
|
1983
|
-
|
|
1984
|
-
|
|
1988
|
+
B(" 过滤 "),
|
|
1989
|
+
w.value === T(Me).group ? (n(), m(
|
|
1985
1990
|
q,
|
|
1986
1991
|
{ key: 0 },
|
|
1987
1992
|
[
|
|
1988
1993
|
Ie.value ? (n(), m("div", Ca, [
|
|
1989
|
-
|
|
1994
|
+
B(" 面包屑 全选 "),
|
|
1990
1995
|
A(T(xt), {
|
|
1991
1996
|
separator: ">",
|
|
1992
1997
|
class: re(["banner", { "top-unlink": !s.topLink }])
|
|
@@ -2016,14 +2021,14 @@ const ka = {
|
|
|
2016
2021
|
_: 1
|
|
2017
2022
|
/* STABLE */
|
|
2018
2023
|
}, 8, ["class"])
|
|
2019
|
-
])) :
|
|
2024
|
+
])) : B("v-if", !0)
|
|
2020
2025
|
],
|
|
2021
2026
|
64
|
|
2022
2027
|
/* STABLE_FRAGMENT */
|
|
2023
|
-
)) :
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2028
|
+
)) : B("v-if", !0),
|
|
2029
|
+
B(" 左侧列表 "),
|
|
2030
|
+
B(" 组织架构 "),
|
|
2031
|
+
w.value === T(Me).group ? Be((n(), D(Hl, {
|
|
2027
2032
|
key: 1,
|
|
2028
2033
|
fixPropOpt: i.value,
|
|
2029
2034
|
fixTypeOpt: a.value,
|
|
@@ -2039,11 +2044,11 @@ const ka = {
|
|
|
2039
2044
|
onChange: _e
|
|
2040
2045
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "children", "choose-type"])), [
|
|
2041
2046
|
[T(qe), O.value]
|
|
2042
|
-
]) :
|
|
2047
|
+
]) : w.value === T(Me).role ? (n(), m(
|
|
2043
2048
|
q,
|
|
2044
2049
|
{ key: 2 },
|
|
2045
2050
|
[
|
|
2046
|
-
|
|
2051
|
+
B(" 角色 "),
|
|
2047
2052
|
Be(A(Aa, {
|
|
2048
2053
|
fixPropOpt: i.value,
|
|
2049
2054
|
fixTypeOpt: a.value,
|
|
@@ -2061,11 +2066,11 @@ const ka = {
|
|
|
2061
2066
|
],
|
|
2062
2067
|
64
|
|
2063
2068
|
/* STABLE_FRAGMENT */
|
|
2064
|
-
)) :
|
|
2069
|
+
)) : w.value === T(Me).post ? (n(), m(
|
|
2065
2070
|
q,
|
|
2066
2071
|
{ key: 3 },
|
|
2067
2072
|
[
|
|
2068
|
-
|
|
2073
|
+
B(" 岗位 "),
|
|
2069
2074
|
Be(A(aa, {
|
|
2070
2075
|
fixPropOpt: i.value,
|
|
2071
2076
|
fixTypeOpt: a.value,
|
|
@@ -2083,7 +2088,7 @@ const ka = {
|
|
|
2083
2088
|
],
|
|
2084
2089
|
64
|
|
2085
2090
|
/* STABLE_FRAGMENT */
|
|
2086
|
-
)) :
|
|
2091
|
+
)) : B("v-if", !0)
|
|
2087
2092
|
]),
|
|
2088
2093
|
f[5] || (f[5] = d(
|
|
2089
2094
|
"div",
|
|
@@ -2092,7 +2097,7 @@ const ka = {
|
|
|
2092
2097
|
-1
|
|
2093
2098
|
/* HOISTED */
|
|
2094
2099
|
)),
|
|
2095
|
-
|
|
2100
|
+
B(" 已选列表 "),
|
|
2096
2101
|
d("div", Ba, [
|
|
2097
2102
|
d("div", Pa, [
|
|
2098
2103
|
f[4] || (f[4] = d(
|
|
@@ -2120,7 +2125,7 @@ const ka = {
|
|
|
2120
2125
|
null,
|
|
2121
2126
|
ge(r.value, (G) => (n(), m("li", Sa, [
|
|
2122
2127
|
d("div", Ta, [
|
|
2123
|
-
|
|
2128
|
+
B(" icon前缀 "),
|
|
2124
2129
|
d("div", Ua, [
|
|
2125
2130
|
A(ve, {
|
|
2126
2131
|
fixTypeOpt: a.value,
|
|
@@ -2219,7 +2224,7 @@ const ka = {
|
|
|
2219
2224
|
}),
|
|
2220
2225
|
emits: /* @__PURE__ */ ze(["sort"], ["update:modelValue"]),
|
|
2221
2226
|
setup(l, { emit: c }) {
|
|
2222
|
-
const t = l, e = c, k = Ke(l, "modelValue"), { t: p, dialog: x, path: v, user: j } = t.config, b = E(() => `${j == null ? void 0 : j.id}_${v}${t.tab !== "" ? `_${t.tab}` : ""}`), O =
|
|
2227
|
+
const t = l, e = c, k = Ke(l, "modelValue"), { t: p, dialog: x, path: v, user: j } = t.config, b = E(() => `${j == null ? void 0 : j.id}_${v}${t.tab !== "" ? `_${t.tab}` : ""}`), O = C([]), h = C([]), i = C([]), a = /* @__PURE__ */ new Map(), r = C(!1), o = E(() => {
|
|
2223
2228
|
const S = h.value.length && h.value.length !== t.list.length;
|
|
2224
2229
|
return !S && h.value.length && (r.value = !0), !!S;
|
|
2225
2230
|
}), y = (S) => {
|
|
@@ -2283,7 +2288,7 @@ const ka = {
|
|
|
2283
2288
|
W(), fe(() => t.list, () => {
|
|
2284
2289
|
W();
|
|
2285
2290
|
}, { deep: !0 });
|
|
2286
|
-
const F =
|
|
2291
|
+
const F = C(!1), g = () => {
|
|
2287
2292
|
F.value = !0;
|
|
2288
2293
|
}, oe = (S) => {
|
|
2289
2294
|
i.value = S;
|
|
@@ -2328,7 +2333,7 @@ const ka = {
|
|
|
2328
2333
|
l.circle ? void 0 : {
|
|
2329
2334
|
name: "default",
|
|
2330
2335
|
fn: U(() => [
|
|
2331
|
-
|
|
2336
|
+
B(' {{ t("action.setting") }} '),
|
|
2332
2337
|
le(
|
|
2333
2338
|
" " + X(T(p)("设置")),
|
|
2334
2339
|
1
|
|
@@ -2339,7 +2344,7 @@ const ka = {
|
|
|
2339
2344
|
}
|
|
2340
2345
|
]), 1040, ["circle", "type", "style"])), [
|
|
2341
2346
|
[K, S.$props.role]
|
|
2342
|
-
]) :
|
|
2347
|
+
]) : B("v-if", !0),
|
|
2343
2348
|
l.btnType === "icon" ? Be((n(), D(
|
|
2344
2349
|
T(Oe),
|
|
2345
2350
|
te({
|
|
@@ -2353,7 +2358,7 @@ const ka = {
|
|
|
2353
2358
|
/* FULL_PROPS */
|
|
2354
2359
|
)), [
|
|
2355
2360
|
[K, S.$props.role]
|
|
2356
|
-
]) :
|
|
2361
|
+
]) : B("v-if", !0),
|
|
2357
2362
|
A(M, {
|
|
2358
2363
|
modelValue: F.value,
|
|
2359
2364
|
"onUpdate:modelValue": P[3] || (P[3] = (ee) => F.value = ee),
|
|
@@ -2376,7 +2381,7 @@ const ka = {
|
|
|
2376
2381
|
1
|
|
2377
2382
|
/* TEXT */
|
|
2378
2383
|
),
|
|
2379
|
-
|
|
2384
|
+
B(' {{ t("action.close") }} ')
|
|
2380
2385
|
]),
|
|
2381
2386
|
_: 1
|
|
2382
2387
|
/* STABLE */
|
|
@@ -2636,7 +2641,7 @@ const ka = {
|
|
|
2636
2641
|
props: Ra,
|
|
2637
2642
|
emits: ["change"],
|
|
2638
2643
|
setup(l, { emit: c }) {
|
|
2639
|
-
const t = l, e = c, k =
|
|
2644
|
+
const t = l, e = c, k = C([]);
|
|
2640
2645
|
fe(
|
|
2641
2646
|
() => t.list,
|
|
2642
2647
|
(b) => {
|
|
@@ -2654,7 +2659,7 @@ const ka = {
|
|
|
2654
2659
|
...ct.itemStyle,
|
|
2655
2660
|
...t.itemStyle
|
|
2656
2661
|
}
|
|
2657
|
-
})), x =
|
|
2662
|
+
})), x = C(!1), v = () => {
|
|
2658
2663
|
x.value = !0;
|
|
2659
2664
|
}, j = (b) => {
|
|
2660
2665
|
x.value = !1;
|
|
@@ -2779,16 +2784,16 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2779
2784
|
emit: c,
|
|
2780
2785
|
expose: t
|
|
2781
2786
|
}) {
|
|
2782
|
-
const e =
|
|
2787
|
+
const e = C(), k = {}, p = C({}), x = C([]), v = C({
|
|
2783
2788
|
...p.value
|
|
2784
2789
|
});
|
|
2785
2790
|
fe(x, (u, R) => {
|
|
2786
|
-
const V = R.filter((
|
|
2791
|
+
const V = R.filter((w) => !u.includes(w));
|
|
2787
2792
|
if (V.length) {
|
|
2788
|
-
let
|
|
2793
|
+
let w = !1;
|
|
2789
2794
|
V.forEach(($) => {
|
|
2790
|
-
v.value[$] !== void 0 && (
|
|
2791
|
-
}),
|
|
2795
|
+
v.value[$] !== void 0 && (w = !0), v.value[$] = void 0;
|
|
2796
|
+
}), w && c("search", v.value);
|
|
2792
2797
|
}
|
|
2793
2798
|
});
|
|
2794
2799
|
const j = () => {
|
|
@@ -2827,7 +2832,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2827
2832
|
maxlength: u,
|
|
2828
2833
|
minlength: R,
|
|
2829
2834
|
key: V,
|
|
2830
|
-
disabled:
|
|
2835
|
+
disabled: w,
|
|
2831
2836
|
placeholder: $,
|
|
2832
2837
|
formProp: Z = {},
|
|
2833
2838
|
value: J,
|
|
@@ -2838,7 +2843,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2838
2843
|
clearable: !0,
|
|
2839
2844
|
maxlength: u,
|
|
2840
2845
|
minlength: R,
|
|
2841
|
-
disabled:
|
|
2846
|
+
disabled: w,
|
|
2842
2847
|
onBlur: () => a()
|
|
2843
2848
|
}, Z, {
|
|
2844
2849
|
placeholder: (Z == null ? void 0 : Z.placeholder) || $ || `请输入${Y || ""}`
|
|
@@ -2846,7 +2851,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2846
2851
|
key: u,
|
|
2847
2852
|
placeholder: R,
|
|
2848
2853
|
max: V,
|
|
2849
|
-
min:
|
|
2854
|
+
min: w,
|
|
2850
2855
|
disabled: $,
|
|
2851
2856
|
precision: Z,
|
|
2852
2857
|
step: J = 1,
|
|
@@ -2857,7 +2862,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2857
2862
|
"onUpdate:modelValue": (Ae) => v.value[u] = Ae,
|
|
2858
2863
|
clearable: !0,
|
|
2859
2864
|
max: V,
|
|
2860
|
-
min:
|
|
2865
|
+
min: w,
|
|
2861
2866
|
disabled: $,
|
|
2862
2867
|
precision: Z,
|
|
2863
2868
|
step: J,
|
|
@@ -2868,7 +2873,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2868
2873
|
key: u,
|
|
2869
2874
|
placeholder: R,
|
|
2870
2875
|
disabled: V,
|
|
2871
|
-
options:
|
|
2876
|
+
options: w,
|
|
2872
2877
|
label: $,
|
|
2873
2878
|
multiple: Z = !1,
|
|
2874
2879
|
filterable: J = !0,
|
|
@@ -2884,7 +2889,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2884
2889
|
}, Y, {
|
|
2885
2890
|
placeholder: (Y == null ? void 0 : Y.placeholder) || R || `请选择${$ || ""}`
|
|
2886
2891
|
}), {
|
|
2887
|
-
default: () => [
|
|
2892
|
+
default: () => [w == null ? void 0 : w.map((Q) => A(it, {
|
|
2888
2893
|
key: Q.value,
|
|
2889
2894
|
label: Q.label,
|
|
2890
2895
|
value: Q.value
|
|
@@ -2893,14 +2898,14 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2893
2898
|
key: u,
|
|
2894
2899
|
disabled: R,
|
|
2895
2900
|
options: V,
|
|
2896
|
-
formProp:
|
|
2901
|
+
formProp: w = {}
|
|
2897
2902
|
}) => A(He, te({
|
|
2898
2903
|
modelValue: v.value[u],
|
|
2899
2904
|
"onUpdate:modelValue": ($) => v.value[u] = $,
|
|
2900
2905
|
disabled: R,
|
|
2901
2906
|
onChange: () => a()
|
|
2902
|
-
},
|
|
2903
|
-
default: () => [V == null ? void 0 : V.map(($) => (
|
|
2907
|
+
}, w), {
|
|
2908
|
+
default: () => [V == null ? void 0 : V.map(($) => (w == null ? void 0 : w.radioType) === "button" ? A(St, {
|
|
2904
2909
|
key: $.value,
|
|
2905
2910
|
label: $.value,
|
|
2906
2911
|
name: $.label
|
|
@@ -2913,7 +2918,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2913
2918
|
key: u,
|
|
2914
2919
|
disabled: R,
|
|
2915
2920
|
options: V,
|
|
2916
|
-
min:
|
|
2921
|
+
min: w,
|
|
2917
2922
|
max: $,
|
|
2918
2923
|
formProp: Z = {}
|
|
2919
2924
|
}) => A(je, te({
|
|
@@ -2921,7 +2926,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2921
2926
|
"onUpdate:modelValue": (J) => v.value[u] = J,
|
|
2922
2927
|
disabled: R,
|
|
2923
2928
|
max: $,
|
|
2924
|
-
min:
|
|
2929
|
+
min: w,
|
|
2925
2930
|
onChange: () => a()
|
|
2926
2931
|
}, Z), {
|
|
2927
2932
|
default: () => [V == null ? void 0 : V.map((J) => A(Te, {
|
|
@@ -2933,18 +2938,18 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2933
2938
|
key: u,
|
|
2934
2939
|
label: R,
|
|
2935
2940
|
formProp: V = {},
|
|
2936
|
-
placeholder:
|
|
2941
|
+
placeholder: w
|
|
2937
2942
|
}) => A(rt, te({
|
|
2938
2943
|
modelValue: v.value[u],
|
|
2939
2944
|
"onUpdate:modelValue": ($) => v.value[u] = $,
|
|
2940
2945
|
onChange: () => a()
|
|
2941
2946
|
}, V, {
|
|
2942
|
-
placeholder: (V == null ? void 0 : V.placeholder) ||
|
|
2947
|
+
placeholder: (V == null ? void 0 : V.placeholder) || w || `请选择${R}时间`
|
|
2943
2948
|
}), null), L = ({
|
|
2944
2949
|
key: u,
|
|
2945
2950
|
disabled: R,
|
|
2946
2951
|
editable: V = !0,
|
|
2947
|
-
startPlaceholder:
|
|
2952
|
+
startPlaceholder: w = "开始日期",
|
|
2948
2953
|
endplaceholder: $ = "结束日期",
|
|
2949
2954
|
dateType: Z = Se.date,
|
|
2950
2955
|
format: J,
|
|
@@ -2986,7 +2991,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2986
2991
|
disabled: R,
|
|
2987
2992
|
type: Z,
|
|
2988
2993
|
editable: V,
|
|
2989
|
-
startPlaceholder:
|
|
2994
|
+
startPlaceholder: w,
|
|
2990
2995
|
endPlaceholder: $,
|
|
2991
2996
|
rangeSeparator: Ae,
|
|
2992
2997
|
format: ce,
|
|
@@ -3002,7 +3007,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3002
3007
|
key: u,
|
|
3003
3008
|
options: R,
|
|
3004
3009
|
multiple: V = !1,
|
|
3005
|
-
filterable:
|
|
3010
|
+
filterable: w = !0,
|
|
3006
3011
|
nodeKey: $ = "id",
|
|
3007
3012
|
props: Z,
|
|
3008
3013
|
highlightCurrent: J = !0,
|
|
@@ -3026,7 +3031,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3026
3031
|
multiple: V,
|
|
3027
3032
|
props: Z,
|
|
3028
3033
|
placeholder: Ae,
|
|
3029
|
-
filterable:
|
|
3034
|
+
filterable: w,
|
|
3030
3035
|
nodeKey: $,
|
|
3031
3036
|
highlightCurrent: J,
|
|
3032
3037
|
defaultExpandAll: Y,
|
|
@@ -3043,13 +3048,13 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3043
3048
|
key: u,
|
|
3044
3049
|
selectKey: R,
|
|
3045
3050
|
placeholder: V,
|
|
3046
|
-
disabled:
|
|
3051
|
+
disabled: w,
|
|
3047
3052
|
options: $,
|
|
3048
3053
|
multiple: Z = !1,
|
|
3049
3054
|
filterable: J = !0,
|
|
3050
3055
|
formProp: Y = {}
|
|
3051
3056
|
}) => A(Ne, te({
|
|
3052
|
-
disabled:
|
|
3057
|
+
disabled: w,
|
|
3053
3058
|
modelValue: v.value[u],
|
|
3054
3059
|
"onUpdate:modelValue": (Q) => v.value[u] = Q,
|
|
3055
3060
|
onBlur: () => a()
|
|
@@ -3057,7 +3062,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3057
3062
|
placeholder: (Y == null ? void 0 : Y.placeholder) || V || "全部"
|
|
3058
3063
|
}), {
|
|
3059
3064
|
prepend: () => A(ot, te({
|
|
3060
|
-
disabled:
|
|
3065
|
+
disabled: w,
|
|
3061
3066
|
multiple: Z,
|
|
3062
3067
|
filterable: J,
|
|
3063
3068
|
modelValue: v.value[R],
|
|
@@ -3070,18 +3075,18 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3070
3075
|
value: Q.value
|
|
3071
3076
|
}, null))]
|
|
3072
3077
|
})
|
|
3073
|
-
}), N = "", z = "iking", ie =
|
|
3078
|
+
}), N = "", z = "iking", ie = C(null), M = C([]), K = C(!1), ee = C(""), de = /* @__PURE__ */ new Map(), Re = (u) => {
|
|
3074
3079
|
K.value = !0, M.value = de.has(u) ? de.get(u) : v.value[u], ee.value = u;
|
|
3075
3080
|
}, me = () => {
|
|
3076
3081
|
de.set(ee.value, []), ee.value = "", a();
|
|
3077
3082
|
}, We = (u) => {
|
|
3078
3083
|
var R, V;
|
|
3079
|
-
v.value[ee.value] = (R = u.list.map((
|
|
3084
|
+
v.value[ee.value] = (R = u.list.map((w) => w.elementName)) == null ? void 0 : R.join(","), de.set(ee.value, u.list), c("search", v.value), c("pickerChange", u), (V = l.search) == null || V.call(l, v.value);
|
|
3080
3085
|
}, Ge = ({
|
|
3081
3086
|
key: u,
|
|
3082
3087
|
placeholder: R,
|
|
3083
3088
|
typeOption: V,
|
|
3084
|
-
_list:
|
|
3089
|
+
_list: w,
|
|
3085
3090
|
maxlength: $,
|
|
3086
3091
|
minlength: Z,
|
|
3087
3092
|
disabled: J,
|
|
@@ -3135,10 +3140,10 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3135
3140
|
}, Ye = E(() => {
|
|
3136
3141
|
var V;
|
|
3137
3142
|
const u = [], R = b.value.length - 1;
|
|
3138
|
-
return (V = b.value) == null || V.forEach((
|
|
3143
|
+
return (V = b.value) == null || V.forEach((w, $) => {
|
|
3139
3144
|
let Z, J;
|
|
3140
|
-
if (!
|
|
3141
|
-
const Y =
|
|
3145
|
+
if (!w) return [];
|
|
3146
|
+
const Y = w.col || 1;
|
|
3142
3147
|
u.push(A(wt, {
|
|
3143
3148
|
xl: {
|
|
3144
3149
|
span: Y * 6
|
|
@@ -3158,9 +3163,9 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3158
3163
|
A("div", {
|
|
3159
3164
|
class: "last-form"
|
|
3160
3165
|
}, [A(st, {
|
|
3161
|
-
label:
|
|
3162
|
-
prop:
|
|
3163
|
-
}, pt(Z = Ie(
|
|
3166
|
+
label: w.type === "select-input" ? "" : w.label,
|
|
3167
|
+
prop: w.key
|
|
3168
|
+
}, pt(Z = Ie(w)) ? Z : {
|
|
3164
3169
|
default: () => [Z]
|
|
3165
3170
|
}), A(Oe, {
|
|
3166
3171
|
name: "icon-sousuo1",
|
|
@@ -3180,9 +3185,9 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3180
3185
|
onClick: () => o()
|
|
3181
3186
|
}, null)])
|
|
3182
3187
|
) : A(st, {
|
|
3183
|
-
label:
|
|
3184
|
-
prop:
|
|
3185
|
-
}, pt(J = Ie(
|
|
3188
|
+
label: w.type === "select-input" ? "" : w.label,
|
|
3189
|
+
prop: w.key
|
|
3190
|
+
}, pt(J = Ie(w)) ? J : {
|
|
3186
3191
|
default: () => [J]
|
|
3187
3192
|
})]
|
|
3188
3193
|
}));
|
|
@@ -3305,7 +3310,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3305
3310
|
ft((b) => ({
|
|
3306
3311
|
"59e2b6b4": j
|
|
3307
3312
|
}));
|
|
3308
|
-
const c = l, t = Ke(l, "modelValue"), e =
|
|
3313
|
+
const c = l, t = Ke(l, "modelValue"), e = C(c.defaultShow), k = () => {
|
|
3309
3314
|
e.value = !e.value;
|
|
3310
3315
|
}, p = E(() => c.fields.filter((b) => !b.onlyForm)), x = E(() => {
|
|
3311
3316
|
var b;
|
|
@@ -3330,7 +3335,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3330
3335
|
},
|
|
3331
3336
|
[
|
|
3332
3337
|
d("div", Wa, [
|
|
3333
|
-
|
|
3338
|
+
B(' 左侧标题、tab页或自定义内容 v-if="!$slots.headerLeft" '),
|
|
3334
3339
|
d(
|
|
3335
3340
|
"span",
|
|
3336
3341
|
Ga,
|
|
@@ -3340,9 +3345,9 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3340
3345
|
),
|
|
3341
3346
|
he(b.$slots, "headerLeft", {}, void 0, !0)
|
|
3342
3347
|
]),
|
|
3343
|
-
|
|
3348
|
+
B(" 默认按钮 "),
|
|
3344
3349
|
d("div", Ya, [
|
|
3345
|
-
|
|
3350
|
+
B(" 右侧操作或自定义内容 "),
|
|
3346
3351
|
he(b.$slots, "headerRight", {}, void 0, !0),
|
|
3347
3352
|
l.exportBtn ? (n(), D(T(Oe), {
|
|
3348
3353
|
key: 0,
|
|
@@ -3351,7 +3356,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3351
3356
|
title: "导出",
|
|
3352
3357
|
"show-bg": "",
|
|
3353
3358
|
size: "default"
|
|
3354
|
-
})) :
|
|
3359
|
+
})) : B("v-if", !0),
|
|
3355
3360
|
v.value ? (n(), D(T(Oe), {
|
|
3356
3361
|
key: 1,
|
|
3357
3362
|
name: "iksvg_shaixuan1",
|
|
@@ -3359,7 +3364,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3359
3364
|
title: e.value ? "收起筛选条件" : "展开筛选条件",
|
|
3360
3365
|
"show-bg": "",
|
|
3361
3366
|
onClick: k
|
|
3362
|
-
}, null, 8, ["title"])) :
|
|
3367
|
+
}, null, 8, ["title"])) : B("v-if", !0),
|
|
3363
3368
|
l.refreshBtn ? (n(), D(T(Oe), {
|
|
3364
3369
|
key: 2,
|
|
3365
3370
|
name: "iksvg_zhongzhi1",
|
|
@@ -3367,8 +3372,8 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3367
3372
|
"show-bg": "",
|
|
3368
3373
|
size: "default",
|
|
3369
3374
|
onClick: l.search
|
|
3370
|
-
}, null, 8, ["onClick"])) :
|
|
3371
|
-
|
|
3375
|
+
}, null, 8, ["onClick"])) : B("v-if", !0),
|
|
3376
|
+
B(` <IkSvgIcon\r
|
|
3372
3377
|
name="icon-shezhi"\r
|
|
3373
3378
|
show-bg\r
|
|
3374
3379
|
:width="40"\r
|
|
@@ -3562,11 +3567,11 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3562
3567
|
},
|
|
3563
3568
|
emits: ["currentChange", "sizeChange"],
|
|
3564
3569
|
setup(l, { emit: c }) {
|
|
3565
|
-
const t = l, e = c, k =
|
|
3570
|
+
const t = l, e = c, k = C(1);
|
|
3566
3571
|
fe(() => t.current, (b) => {
|
|
3567
3572
|
k.value = b;
|
|
3568
3573
|
});
|
|
3569
|
-
const p = [15, 30, 60, 100, 200, 500], x =
|
|
3574
|
+
const p = [15, 30, 60, 100, 200, 500], x = C(p[0]), v = (b) => {
|
|
3570
3575
|
e("sizeChange", b), t == null || t.search({
|
|
3571
3576
|
page: k.value,
|
|
3572
3577
|
rows: x.value
|
|
@@ -3617,7 +3622,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3617
3622
|
emits: ["selection-change", "page-change"],
|
|
3618
3623
|
setup(l, { expose: c, emit: t }) {
|
|
3619
3624
|
var i;
|
|
3620
|
-
const e = l, k = t, { attrs: p } = kt(), x =
|
|
3625
|
+
const e = l, k = t, { attrs: p } = kt(), x = C({
|
|
3621
3626
|
page: ((i = p.page) == null ? void 0 : i.page) || 1,
|
|
3622
3627
|
rows: 15
|
|
3623
3628
|
}), v = E(() => {
|
|
@@ -3627,9 +3632,9 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3627
3632
|
}), o;
|
|
3628
3633
|
}), j = (a) => {
|
|
3629
3634
|
x.value = a, k("page-change", a), e.search();
|
|
3630
|
-
}, b =
|
|
3635
|
+
}, b = C([]), O = (a) => {
|
|
3631
3636
|
b.value = a, k("selection-change", a);
|
|
3632
|
-
}, h =
|
|
3637
|
+
}, h = C();
|
|
3633
3638
|
return c({ table: h }), (a, r) => {
|
|
3634
3639
|
var W, F, g;
|
|
3635
3640
|
const o = ne("el-table-column"), y = ne("el-table"), H = Ze("loading");
|
|
@@ -3637,12 +3642,12 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3637
3642
|
q,
|
|
3638
3643
|
null,
|
|
3639
3644
|
[
|
|
3640
|
-
|
|
3645
|
+
B(" 自定义表格 "),
|
|
3641
3646
|
(W = a.$slots) != null && W.table ? he(a.$slots, "table", { key: 0 }, void 0, !0) : (n(), m(
|
|
3642
3647
|
q,
|
|
3643
3648
|
{ key: 1 },
|
|
3644
3649
|
[
|
|
3645
|
-
|
|
3650
|
+
B(" 默认表格 "),
|
|
3646
3651
|
A(vt, { name: "el-zoom-in-center" }, {
|
|
3647
3652
|
default: U(() => [
|
|
3648
3653
|
Be((n(), D(y, te({
|
|
@@ -3659,14 +3664,14 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3659
3664
|
type: "selection",
|
|
3660
3665
|
align: "center",
|
|
3661
3666
|
width: "56"
|
|
3662
|
-
})) :
|
|
3667
|
+
})) : B("v-if", !0),
|
|
3663
3668
|
a.serial ? (n(), D(o, {
|
|
3664
3669
|
key: 1,
|
|
3665
3670
|
prop: "__index",
|
|
3666
3671
|
label: "序号",
|
|
3667
3672
|
width: 60,
|
|
3668
3673
|
align: "center"
|
|
3669
|
-
})) :
|
|
3674
|
+
})) : B("v-if", !0),
|
|
3670
3675
|
he(a.$slots, "default", {}, void 0, !0)
|
|
3671
3676
|
]),
|
|
3672
3677
|
_: 3
|
|
@@ -3682,13 +3687,13 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3682
3687
|
64
|
|
3683
3688
|
/* STABLE_FRAGMENT */
|
|
3684
3689
|
)),
|
|
3685
|
-
|
|
3690
|
+
B(" 分页 "),
|
|
3686
3691
|
a.total ? (n(), D(Ja, {
|
|
3687
3692
|
key: 2,
|
|
3688
3693
|
current: ((g = (F = a.$attrs) == null ? void 0 : F.page) == null ? void 0 : g.page) || 1,
|
|
3689
3694
|
total: a.total,
|
|
3690
3695
|
search: j
|
|
3691
|
-
}, null, 8, ["current", "total"])) :
|
|
3696
|
+
}, null, 8, ["current", "total"])) : B("v-if", !0)
|
|
3692
3697
|
],
|
|
3693
3698
|
64
|
|
3694
3699
|
/* STABLE_FRAGMENT */
|
|
@@ -3732,9 +3737,9 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3732
3737
|
}, (P = e == null ? void 0 : e.search) == null || P.call(e, {
|
|
3733
3738
|
...p.value
|
|
3734
3739
|
});
|
|
3735
|
-
}, b =
|
|
3740
|
+
}, b = C([]), O = (L) => {
|
|
3736
3741
|
b.value = L, k("selection-change", L);
|
|
3737
|
-
}, h = E(() => b.value.length || e.chooseLen), i =
|
|
3742
|
+
}, h = E(() => b.value.length || e.chooseLen), i = C(e.fields), a = E(() => "light"), r = C(), o = C(), y = C(), H = C(!1), W = C(void 0), F = C(e.title || ""), g = (L) => {
|
|
3738
3743
|
W.value = L ? { ...L } : null, e.title ? e.title.includes("新增") || e.title.includes("修改") ? F.value = L ? e.title.replace(/新增/g, "修改") : e.title.replace(/修改/g, "新增") : F.value = L ? `修改${e.title}` : `新增${e.title}` : F.value = L ? "修改" : "新增", H.value = !0;
|
|
3739
3744
|
}, oe = E(() => e.fields.find((L) => L.isEdit));
|
|
3740
3745
|
return c({
|
|
@@ -3751,7 +3756,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3751
3756
|
q,
|
|
3752
3757
|
null,
|
|
3753
3758
|
[
|
|
3754
|
-
|
|
3759
|
+
B(" 标题 + 搜索表单 "),
|
|
3755
3760
|
A(Xa, te({
|
|
3756
3761
|
ref_key: "refHeader",
|
|
3757
3762
|
ref: o
|
|
@@ -3779,13 +3784,13 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3779
3784
|
/* STABLE */
|
|
3780
3785
|
})), [
|
|
3781
3786
|
[ie, L.role]
|
|
3782
|
-
]) :
|
|
3787
|
+
]) : B("v-if", !0)
|
|
3783
3788
|
], !0)
|
|
3784
3789
|
]),
|
|
3785
3790
|
_: 3
|
|
3786
3791
|
/* FORWARDED */
|
|
3787
3792
|
}, 16, ["modelValue", "loading", "tab-id"]),
|
|
3788
|
-
|
|
3793
|
+
B(" 选中表格项 "),
|
|
3789
3794
|
L.selection ? (n(), m(
|
|
3790
3795
|
"div",
|
|
3791
3796
|
{
|
|
@@ -3825,8 +3830,8 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3825
3830
|
],
|
|
3826
3831
|
2
|
|
3827
3832
|
/* CLASS */
|
|
3828
|
-
)) :
|
|
3829
|
-
|
|
3833
|
+
)) : B("v-if", !0),
|
|
3834
|
+
B(" 自定义表格 "),
|
|
3830
3835
|
he(L.$slots, "table", {}, () => [
|
|
3831
3836
|
A(tn, te({
|
|
3832
3837
|
ref_key: "refTable",
|
|
@@ -3880,7 +3885,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3880
3885
|
],
|
|
3881
3886
|
64
|
|
3882
3887
|
/* STABLE_FRAGMENT */
|
|
3883
|
-
)) :
|
|
3888
|
+
)) : B("v-if", !0)
|
|
3884
3889
|
],
|
|
3885
3890
|
64
|
|
3886
3891
|
/* STABLE_FRAGMENT */
|
|
@@ -3893,8 +3898,8 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3893
3898
|
/* FORWARDED */
|
|
3894
3899
|
}, 16, ["page"])
|
|
3895
3900
|
], !0),
|
|
3896
|
-
|
|
3897
|
-
|
|
3901
|
+
B(" 新增修改 "),
|
|
3902
|
+
B(` <IkDialog\r
|
|
3898
3903
|
v-if="needAutoForm"\r
|
|
3899
3904
|
ref="refIkDialog"\r
|
|
3900
3905
|
v-bind="{ ...dialogProp }"\r
|