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,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,7 +123,7 @@ 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
128
|
width: {}
|
|
129
129
|
},
|
|
@@ -175,7 +175,7 @@ const se = (l, c) => {
|
|
|
175
175
|
{ key: 0 },
|
|
176
176
|
[
|
|
177
177
|
e.value.notip || !e.value.title ? (n(), m(
|
|
178
|
-
"
|
|
178
|
+
"i",
|
|
179
179
|
{
|
|
180
180
|
key: 0,
|
|
181
181
|
class: re(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
@@ -198,7 +198,6 @@ const se = (l, c) => {
|
|
|
198
198
|
onMouseleave: b
|
|
199
199
|
},
|
|
200
200
|
[
|
|
201
|
-
w(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
202
201
|
k.value === "iksig" ? (n(), m(
|
|
203
202
|
"i",
|
|
204
203
|
{
|
|
@@ -235,11 +234,12 @@ const se = (l, c) => {
|
|
|
235
234
|
key: 1,
|
|
236
235
|
content: e.value.title,
|
|
237
236
|
placement: "top",
|
|
237
|
+
"popper-class": "ik-svg-icon-tooltip",
|
|
238
238
|
"hide-after": 0
|
|
239
239
|
}, {
|
|
240
240
|
default: U(() => [
|
|
241
241
|
d(
|
|
242
|
-
"
|
|
242
|
+
"i",
|
|
243
243
|
{
|
|
244
244
|
class: re(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
245
245
|
[h.name]: k.value === "unocss",
|
|
@@ -251,7 +251,8 @@ const se = (l, c) => {
|
|
|
251
251
|
primary: h.primary || e.value.type === "primary",
|
|
252
252
|
success: h.success || e.value.type === "success",
|
|
253
253
|
error: e.value.error || e.value.type === "error",
|
|
254
|
-
active: e.value.active
|
|
254
|
+
active: e.value.active,
|
|
255
|
+
disabled: e.value.disabled
|
|
255
256
|
}]),
|
|
256
257
|
style: ye(p.value),
|
|
257
258
|
onClick: v,
|
|
@@ -316,7 +317,7 @@ const se = (l, c) => {
|
|
|
316
317
|
}, 8, ["type"]));
|
|
317
318
|
};
|
|
318
319
|
}
|
|
319
|
-
}), Gt = /* @__PURE__ */ se(Wt, [["__scopeId", "data-v-
|
|
320
|
+
}), Gt = /* @__PURE__ */ se(Wt, [["__scopeId", "data-v-6889f3aa"]]), Oe = Ee(Gt), Yt = {}, Qt = {
|
|
320
321
|
t: "1672194715727",
|
|
321
322
|
class: "icon",
|
|
322
323
|
viewBox: "0 0 1024 1024",
|
|
@@ -539,7 +540,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
539
540
|
1
|
|
540
541
|
/* TEXT */
|
|
541
542
|
))
|
|
542
|
-
])) :
|
|
543
|
+
])) : B("v-if", !0)
|
|
543
544
|
]);
|
|
544
545
|
};
|
|
545
546
|
}
|
|
@@ -638,9 +639,9 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
638
639
|
var y, H, W, F;
|
|
639
640
|
const r = (y = t.handList) == null ? void 0 : y.length, o = (H = t.list) == null ? void 0 : H.length;
|
|
640
641
|
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 =
|
|
642
|
+
}), p = C(
|
|
642
643
|
t.handList.map((r) => r[t.fixPropOpt.id])
|
|
643
|
-
), x =
|
|
644
|
+
), x = C((a = (i = t.handList) == null ? void 0 : i[0]) == null ? void 0 : a[t.fixPropOpt.id]), v = c, j = (r) => {
|
|
644
645
|
const o = r ? t.list.map((y) => {
|
|
645
646
|
if (t.chooseType.includes(y[t.fixPropOpt.type].toLowerCase()) && y.available !== !1)
|
|
646
647
|
return y[t.fixPropOpt.id];
|
|
@@ -657,7 +658,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
657
658
|
q,
|
|
658
659
|
null,
|
|
659
660
|
[
|
|
660
|
-
|
|
661
|
+
B(" 遍历list多选 "),
|
|
661
662
|
d("div", yl, [
|
|
662
663
|
r.multiple && r.list && r.list.length ? (n(), D(T(Te), {
|
|
663
664
|
key: 0,
|
|
@@ -671,7 +672,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
671
672
|
])),
|
|
672
673
|
_: 1
|
|
673
674
|
/* STABLE */
|
|
674
|
-
}, 8, ["modelValue", "indeterminate"])) :
|
|
675
|
+
}, 8, ["modelValue", "indeterminate"])) : B("v-if", !0),
|
|
675
676
|
r.list && r.list.length ? (n(), m("ul", ml, [
|
|
676
677
|
r.multiple ? (n(), D(T(je), {
|
|
677
678
|
key: 0,
|
|
@@ -719,7 +720,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
719
720
|
" (" + X(y.userCount) + ") ",
|
|
720
721
|
1
|
|
721
722
|
/* TEXT */
|
|
722
|
-
)) :
|
|
723
|
+
)) : B("v-if", !0)
|
|
723
724
|
])
|
|
724
725
|
])
|
|
725
726
|
]),
|
|
@@ -755,7 +756,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
755
756
|
" (" + X(y.userCount) + ") ",
|
|
756
757
|
1
|
|
757
758
|
/* TEXT */
|
|
758
|
-
)) :
|
|
759
|
+
)) : B("v-if", !0)
|
|
759
760
|
])
|
|
760
761
|
])),
|
|
761
762
|
y[t.fixPropOpt.type] === t.fixTypeOpt.group && t.children ? (n(), m("span", {
|
|
@@ -772,7 +773,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
772
773
|
(F = p.value) == null ? void 0 : F.find((g) => g === y[t.fixPropOpt.id])
|
|
773
774
|
);
|
|
774
775
|
}
|
|
775
|
-
}, " 下级", 10, Sl)) :
|
|
776
|
+
}, " 下级", 10, Sl)) : B("v-if", !0)
|
|
776
777
|
]);
|
|
777
778
|
}),
|
|
778
779
|
128
|
|
@@ -826,7 +827,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
826
827
|
" (" + X((y == null ? void 0 : y.userCount) || 0) + ") ",
|
|
827
828
|
1
|
|
828
829
|
/* TEXT */
|
|
829
|
-
)) :
|
|
830
|
+
)) : B("v-if", !0)
|
|
830
831
|
])
|
|
831
832
|
])
|
|
832
833
|
]),
|
|
@@ -862,7 +863,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
862
863
|
" (" + X(y.userCount) + ") ",
|
|
863
864
|
1
|
|
864
865
|
/* TEXT */
|
|
865
|
-
)) :
|
|
866
|
+
)) : B("v-if", !0)
|
|
866
867
|
])
|
|
867
868
|
])),
|
|
868
869
|
y[t.fixPropOpt.type] === t.fixTypeOpt.group && t.children ? (n(), m("span", {
|
|
@@ -879,7 +880,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
879
880
|
(F = p.value) == null ? void 0 : F.find((g) => g === y[t.fixPropOpt.id])
|
|
880
881
|
);
|
|
881
882
|
}
|
|
882
|
-
}, " 下级", 10, Rl)) :
|
|
883
|
+
}, " 下级", 10, Rl)) : B("v-if", !0)
|
|
883
884
|
]);
|
|
884
885
|
}),
|
|
885
886
|
128
|
|
@@ -939,9 +940,9 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
939
940
|
var o, y, H, W;
|
|
940
941
|
const a = (o = t.handList) == null ? void 0 : o.length, r = (y = t.list) == null ? void 0 : y.length;
|
|
941
942
|
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 =
|
|
943
|
+
}), p = C(
|
|
943
944
|
t.handList.map((a) => a[t.fixPropOpt.id])
|
|
944
|
-
), x =
|
|
945
|
+
), x = C((i = (h = t.handList) == null ? void 0 : h[0]) == null ? void 0 : i[t.fixPropOpt.id]), v = c, j = (a) => {
|
|
945
946
|
const r = a ? t.list.map((o) => o[t.fixPropOpt.id]) : [];
|
|
946
947
|
v("change", r, a ? t.list : []);
|
|
947
948
|
}, b = (a) => {
|
|
@@ -953,7 +954,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
953
954
|
q,
|
|
954
955
|
null,
|
|
955
956
|
[
|
|
956
|
-
|
|
957
|
+
B(" 遍历list多选 "),
|
|
957
958
|
d("div", Fl, [
|
|
958
959
|
a.multiple && a.chooseType.includes("post") && a.list && a.list.length ? (n(), D(T(Te), {
|
|
959
960
|
key: 0,
|
|
@@ -967,7 +968,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
967
968
|
])),
|
|
968
969
|
_: 1
|
|
969
970
|
/* STABLE */
|
|
970
|
-
}, 8, ["modelValue", "indeterminate"])) :
|
|
971
|
+
}, 8, ["modelValue", "indeterminate"])) : B("v-if", !0),
|
|
971
972
|
a.list && a.list.length ? (n(), m("ul", Wl, [
|
|
972
973
|
a.multiple ? (n(), D(T(je), {
|
|
973
974
|
key: 0,
|
|
@@ -1158,9 +1159,9 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
1158
1159
|
var o, y, H, W;
|
|
1159
1160
|
const a = (o = t.handList) == null ? void 0 : o.length, r = (y = t.list) == null ? void 0 : y.length;
|
|
1160
1161
|
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 =
|
|
1162
|
+
}), p = C(
|
|
1162
1163
|
t.handList.map((a) => a[t.fixPropOpt.id])
|
|
1163
|
-
), x =
|
|
1164
|
+
), x = C((i = (h = t.handList) == null ? void 0 : h[0]) == null ? void 0 : i[t.fixPropOpt.id]), v = c, j = (a) => {
|
|
1164
1165
|
const r = a ? t.list.map((o) => o[t.fixPropOpt.id]) : [];
|
|
1165
1166
|
v("change", r, a ? t.list : []);
|
|
1166
1167
|
}, b = (a) => {
|
|
@@ -1172,7 +1173,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
1172
1173
|
q,
|
|
1173
1174
|
null,
|
|
1174
1175
|
[
|
|
1175
|
-
|
|
1176
|
+
B(" 遍历list多选 "),
|
|
1176
1177
|
d("div", na, [
|
|
1177
1178
|
a.multiple && a.chooseType.includes("role") && a.list && a.list.length ? (n(), D(T(Te), {
|
|
1178
1179
|
key: 0,
|
|
@@ -1186,7 +1187,7 @@ const pl = /* @__PURE__ */ se(ul, [["render", cl]]), fl = { class: "avatar" }, v
|
|
|
1186
1187
|
])),
|
|
1187
1188
|
_: 1
|
|
1188
1189
|
/* STABLE */
|
|
1189
|
-
}, 8, ["modelValue", "indeterminate"])) :
|
|
1190
|
+
}, 8, ["modelValue", "indeterminate"])) : B("v-if", !0),
|
|
1190
1191
|
a.list && a.list.length ? (n(), m("ul", sa, [
|
|
1191
1192
|
a.multiple ? (n(), D(T(je), {
|
|
1192
1193
|
key: 0,
|
|
@@ -1529,7 +1530,7 @@ const ka = {
|
|
|
1529
1530
|
ba(l);
|
|
1530
1531
|
(t = Ue.local.getItem("tenant")) == null || t.code;
|
|
1531
1532
|
}, Oa = (l, c) => {
|
|
1532
|
-
const t =
|
|
1533
|
+
const t = C([]), e = async (p, x) => {
|
|
1533
1534
|
var S, P, N;
|
|
1534
1535
|
const { url: v, methods: j, headers: b, param: O } = l.value || {}, h = {
|
|
1535
1536
|
// 额外参数
|
|
@@ -1601,7 +1602,7 @@ const ka = {
|
|
|
1601
1602
|
ft((s) => ({
|
|
1602
1603
|
"775d0d08": Ae.value
|
|
1603
1604
|
}));
|
|
1604
|
-
const e = l, k =
|
|
1605
|
+
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
1606
|
fe(
|
|
1606
1607
|
() => e.api,
|
|
1607
1608
|
() => {
|
|
@@ -1620,7 +1621,7 @@ const ka = {
|
|
|
1620
1621
|
post: "POST",
|
|
1621
1622
|
group: "DEPT",
|
|
1622
1623
|
...e.typeOption
|
|
1623
|
-
})), r =
|
|
1624
|
+
})), r = C([]), o = Oa(gt(e, "api"), e), y = o.handData, H = o.bannerList;
|
|
1624
1625
|
e.immediate && y(p.value, k.value);
|
|
1625
1626
|
const W = (s) => (s.forEach((f) => {
|
|
1626
1627
|
var I, _;
|
|
@@ -1694,11 +1695,11 @@ const ka = {
|
|
|
1694
1695
|
const s = e.chooseType.map((I) => I.toLocaleLowerCase());
|
|
1695
1696
|
let f = [...s];
|
|
1696
1697
|
return s.includes("dep") && (f = [...f, "dept"]), s.includes("dep_user") && (f = [...f, "user"]), f;
|
|
1697
|
-
}), z =
|
|
1698
|
+
}), z = C([]), ie = (s) => {
|
|
1698
1699
|
z.value = s, z.value.forEach((f) => {
|
|
1699
1700
|
f.readonly = f == null ? void 0 : f.disabled;
|
|
1700
1701
|
});
|
|
1701
|
-
}, M = t, K =
|
|
1702
|
+
}, M = t, K = C(!1), ee = (s = !1) => {
|
|
1702
1703
|
var I;
|
|
1703
1704
|
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
1705
|
return !s && ie(f), f;
|
|
@@ -1822,10 +1823,10 @@ const ka = {
|
|
|
1822
1823
|
() => e.chooseType.includes("role") && e.chooseType.length === 1
|
|
1823
1824
|
), R = E(
|
|
1824
1825
|
() => e.chooseType.includes("post") && e.chooseType.length === 1
|
|
1825
|
-
), V =
|
|
1826
|
-
nt(() => (
|
|
1826
|
+
), V = C(e.tabs[0]), w = C(e.tabs[0]);
|
|
1827
|
+
nt(() => (w.value = u.value ? e.tabs[1] : R.value ? e.tabs[2] : V.value, w.value));
|
|
1827
1828
|
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],
|
|
1829
|
+
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
1830
|
}, Z = () => {
|
|
1830
1831
|
var s;
|
|
1831
1832
|
M(
|
|
@@ -1862,7 +1863,7 @@ const ka = {
|
|
|
1862
1863
|
Pe(), f.forEach((_) => {
|
|
1863
1864
|
I != null && I.includes(_[i.value.id]) ? me(_) : de(_);
|
|
1864
1865
|
});
|
|
1865
|
-
}, Le =
|
|
1866
|
+
}, Le = C([]), we = (s, f) => {
|
|
1866
1867
|
e.multiple || (g.single = "");
|
|
1867
1868
|
const I = e.multiple ? s : [s];
|
|
1868
1869
|
if (!I.length) {
|
|
@@ -1879,7 +1880,7 @@ const ka = {
|
|
|
1879
1880
|
Le.value = ae.cloneDeep(P.value.role.list);
|
|
1880
1881
|
}
|
|
1881
1882
|
);
|
|
1882
|
-
const ce =
|
|
1883
|
+
const ce = C([]), Ce = (s, f) => {
|
|
1883
1884
|
e.multiple || (g.single = "");
|
|
1884
1885
|
const I = e.multiple ? s : [s];
|
|
1885
1886
|
if (!I.length) {
|
|
@@ -1978,15 +1979,15 @@ const ka = {
|
|
|
1978
1979
|
]),
|
|
1979
1980
|
_: 1
|
|
1980
1981
|
/* STABLE */
|
|
1981
|
-
}, 8, ["modelValue"])) :
|
|
1982
|
+
}, 8, ["modelValue"])) : B("v-if", !0)
|
|
1982
1983
|
]),
|
|
1983
|
-
|
|
1984
|
-
|
|
1984
|
+
B(" 过滤 "),
|
|
1985
|
+
w.value === T(Me).group ? (n(), m(
|
|
1985
1986
|
q,
|
|
1986
1987
|
{ key: 0 },
|
|
1987
1988
|
[
|
|
1988
1989
|
Ie.value ? (n(), m("div", Ca, [
|
|
1989
|
-
|
|
1990
|
+
B(" 面包屑 全选 "),
|
|
1990
1991
|
A(T(xt), {
|
|
1991
1992
|
separator: ">",
|
|
1992
1993
|
class: re(["banner", { "top-unlink": !s.topLink }])
|
|
@@ -2016,14 +2017,14 @@ const ka = {
|
|
|
2016
2017
|
_: 1
|
|
2017
2018
|
/* STABLE */
|
|
2018
2019
|
}, 8, ["class"])
|
|
2019
|
-
])) :
|
|
2020
|
+
])) : B("v-if", !0)
|
|
2020
2021
|
],
|
|
2021
2022
|
64
|
|
2022
2023
|
/* STABLE_FRAGMENT */
|
|
2023
|
-
)) :
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2024
|
+
)) : B("v-if", !0),
|
|
2025
|
+
B(" 左侧列表 "),
|
|
2026
|
+
B(" 组织架构 "),
|
|
2027
|
+
w.value === T(Me).group ? Be((n(), D(Hl, {
|
|
2027
2028
|
key: 1,
|
|
2028
2029
|
fixPropOpt: i.value,
|
|
2029
2030
|
fixTypeOpt: a.value,
|
|
@@ -2039,11 +2040,11 @@ const ka = {
|
|
|
2039
2040
|
onChange: _e
|
|
2040
2041
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "children", "choose-type"])), [
|
|
2041
2042
|
[T(qe), O.value]
|
|
2042
|
-
]) :
|
|
2043
|
+
]) : w.value === T(Me).role ? (n(), m(
|
|
2043
2044
|
q,
|
|
2044
2045
|
{ key: 2 },
|
|
2045
2046
|
[
|
|
2046
|
-
|
|
2047
|
+
B(" 角色 "),
|
|
2047
2048
|
Be(A(Aa, {
|
|
2048
2049
|
fixPropOpt: i.value,
|
|
2049
2050
|
fixTypeOpt: a.value,
|
|
@@ -2061,11 +2062,11 @@ const ka = {
|
|
|
2061
2062
|
],
|
|
2062
2063
|
64
|
|
2063
2064
|
/* STABLE_FRAGMENT */
|
|
2064
|
-
)) :
|
|
2065
|
+
)) : w.value === T(Me).post ? (n(), m(
|
|
2065
2066
|
q,
|
|
2066
2067
|
{ key: 3 },
|
|
2067
2068
|
[
|
|
2068
|
-
|
|
2069
|
+
B(" 岗位 "),
|
|
2069
2070
|
Be(A(aa, {
|
|
2070
2071
|
fixPropOpt: i.value,
|
|
2071
2072
|
fixTypeOpt: a.value,
|
|
@@ -2083,7 +2084,7 @@ const ka = {
|
|
|
2083
2084
|
],
|
|
2084
2085
|
64
|
|
2085
2086
|
/* STABLE_FRAGMENT */
|
|
2086
|
-
)) :
|
|
2087
|
+
)) : B("v-if", !0)
|
|
2087
2088
|
]),
|
|
2088
2089
|
f[5] || (f[5] = d(
|
|
2089
2090
|
"div",
|
|
@@ -2092,7 +2093,7 @@ const ka = {
|
|
|
2092
2093
|
-1
|
|
2093
2094
|
/* HOISTED */
|
|
2094
2095
|
)),
|
|
2095
|
-
|
|
2096
|
+
B(" 已选列表 "),
|
|
2096
2097
|
d("div", Ba, [
|
|
2097
2098
|
d("div", Pa, [
|
|
2098
2099
|
f[4] || (f[4] = d(
|
|
@@ -2120,7 +2121,7 @@ const ka = {
|
|
|
2120
2121
|
null,
|
|
2121
2122
|
ge(r.value, (G) => (n(), m("li", Sa, [
|
|
2122
2123
|
d("div", Ta, [
|
|
2123
|
-
|
|
2124
|
+
B(" icon前缀 "),
|
|
2124
2125
|
d("div", Ua, [
|
|
2125
2126
|
A(ve, {
|
|
2126
2127
|
fixTypeOpt: a.value,
|
|
@@ -2219,7 +2220,7 @@ const ka = {
|
|
|
2219
2220
|
}),
|
|
2220
2221
|
emits: /* @__PURE__ */ ze(["sort"], ["update:modelValue"]),
|
|
2221
2222
|
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 =
|
|
2223
|
+
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
2224
|
const S = h.value.length && h.value.length !== t.list.length;
|
|
2224
2225
|
return !S && h.value.length && (r.value = !0), !!S;
|
|
2225
2226
|
}), y = (S) => {
|
|
@@ -2283,7 +2284,7 @@ const ka = {
|
|
|
2283
2284
|
W(), fe(() => t.list, () => {
|
|
2284
2285
|
W();
|
|
2285
2286
|
}, { deep: !0 });
|
|
2286
|
-
const F =
|
|
2287
|
+
const F = C(!1), g = () => {
|
|
2287
2288
|
F.value = !0;
|
|
2288
2289
|
}, oe = (S) => {
|
|
2289
2290
|
i.value = S;
|
|
@@ -2328,7 +2329,7 @@ const ka = {
|
|
|
2328
2329
|
l.circle ? void 0 : {
|
|
2329
2330
|
name: "default",
|
|
2330
2331
|
fn: U(() => [
|
|
2331
|
-
|
|
2332
|
+
B(' {{ t("action.setting") }} '),
|
|
2332
2333
|
le(
|
|
2333
2334
|
" " + X(T(p)("设置")),
|
|
2334
2335
|
1
|
|
@@ -2339,7 +2340,7 @@ const ka = {
|
|
|
2339
2340
|
}
|
|
2340
2341
|
]), 1040, ["circle", "type", "style"])), [
|
|
2341
2342
|
[K, S.$props.role]
|
|
2342
|
-
]) :
|
|
2343
|
+
]) : B("v-if", !0),
|
|
2343
2344
|
l.btnType === "icon" ? Be((n(), D(
|
|
2344
2345
|
T(Oe),
|
|
2345
2346
|
te({
|
|
@@ -2353,7 +2354,7 @@ const ka = {
|
|
|
2353
2354
|
/* FULL_PROPS */
|
|
2354
2355
|
)), [
|
|
2355
2356
|
[K, S.$props.role]
|
|
2356
|
-
]) :
|
|
2357
|
+
]) : B("v-if", !0),
|
|
2357
2358
|
A(M, {
|
|
2358
2359
|
modelValue: F.value,
|
|
2359
2360
|
"onUpdate:modelValue": P[3] || (P[3] = (ee) => F.value = ee),
|
|
@@ -2376,7 +2377,7 @@ const ka = {
|
|
|
2376
2377
|
1
|
|
2377
2378
|
/* TEXT */
|
|
2378
2379
|
),
|
|
2379
|
-
|
|
2380
|
+
B(' {{ t("action.close") }} ')
|
|
2380
2381
|
]),
|
|
2381
2382
|
_: 1
|
|
2382
2383
|
/* STABLE */
|
|
@@ -2636,7 +2637,7 @@ const ka = {
|
|
|
2636
2637
|
props: Ra,
|
|
2637
2638
|
emits: ["change"],
|
|
2638
2639
|
setup(l, { emit: c }) {
|
|
2639
|
-
const t = l, e = c, k =
|
|
2640
|
+
const t = l, e = c, k = C([]);
|
|
2640
2641
|
fe(
|
|
2641
2642
|
() => t.list,
|
|
2642
2643
|
(b) => {
|
|
@@ -2654,7 +2655,7 @@ const ka = {
|
|
|
2654
2655
|
...ct.itemStyle,
|
|
2655
2656
|
...t.itemStyle
|
|
2656
2657
|
}
|
|
2657
|
-
})), x =
|
|
2658
|
+
})), x = C(!1), v = () => {
|
|
2658
2659
|
x.value = !0;
|
|
2659
2660
|
}, j = (b) => {
|
|
2660
2661
|
x.value = !1;
|
|
@@ -2779,16 +2780,16 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2779
2780
|
emit: c,
|
|
2780
2781
|
expose: t
|
|
2781
2782
|
}) {
|
|
2782
|
-
const e =
|
|
2783
|
+
const e = C(), k = {}, p = C({}), x = C([]), v = C({
|
|
2783
2784
|
...p.value
|
|
2784
2785
|
});
|
|
2785
2786
|
fe(x, (u, R) => {
|
|
2786
|
-
const V = R.filter((
|
|
2787
|
+
const V = R.filter((w) => !u.includes(w));
|
|
2787
2788
|
if (V.length) {
|
|
2788
|
-
let
|
|
2789
|
+
let w = !1;
|
|
2789
2790
|
V.forEach(($) => {
|
|
2790
|
-
v.value[$] !== void 0 && (
|
|
2791
|
-
}),
|
|
2791
|
+
v.value[$] !== void 0 && (w = !0), v.value[$] = void 0;
|
|
2792
|
+
}), w && c("search", v.value);
|
|
2792
2793
|
}
|
|
2793
2794
|
});
|
|
2794
2795
|
const j = () => {
|
|
@@ -2827,7 +2828,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2827
2828
|
maxlength: u,
|
|
2828
2829
|
minlength: R,
|
|
2829
2830
|
key: V,
|
|
2830
|
-
disabled:
|
|
2831
|
+
disabled: w,
|
|
2831
2832
|
placeholder: $,
|
|
2832
2833
|
formProp: Z = {},
|
|
2833
2834
|
value: J,
|
|
@@ -2838,7 +2839,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2838
2839
|
clearable: !0,
|
|
2839
2840
|
maxlength: u,
|
|
2840
2841
|
minlength: R,
|
|
2841
|
-
disabled:
|
|
2842
|
+
disabled: w,
|
|
2842
2843
|
onBlur: () => a()
|
|
2843
2844
|
}, Z, {
|
|
2844
2845
|
placeholder: (Z == null ? void 0 : Z.placeholder) || $ || `请输入${Y || ""}`
|
|
@@ -2846,7 +2847,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2846
2847
|
key: u,
|
|
2847
2848
|
placeholder: R,
|
|
2848
2849
|
max: V,
|
|
2849
|
-
min:
|
|
2850
|
+
min: w,
|
|
2850
2851
|
disabled: $,
|
|
2851
2852
|
precision: Z,
|
|
2852
2853
|
step: J = 1,
|
|
@@ -2857,7 +2858,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2857
2858
|
"onUpdate:modelValue": (Ae) => v.value[u] = Ae,
|
|
2858
2859
|
clearable: !0,
|
|
2859
2860
|
max: V,
|
|
2860
|
-
min:
|
|
2861
|
+
min: w,
|
|
2861
2862
|
disabled: $,
|
|
2862
2863
|
precision: Z,
|
|
2863
2864
|
step: J,
|
|
@@ -2868,7 +2869,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2868
2869
|
key: u,
|
|
2869
2870
|
placeholder: R,
|
|
2870
2871
|
disabled: V,
|
|
2871
|
-
options:
|
|
2872
|
+
options: w,
|
|
2872
2873
|
label: $,
|
|
2873
2874
|
multiple: Z = !1,
|
|
2874
2875
|
filterable: J = !0,
|
|
@@ -2884,7 +2885,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2884
2885
|
}, Y, {
|
|
2885
2886
|
placeholder: (Y == null ? void 0 : Y.placeholder) || R || `请选择${$ || ""}`
|
|
2886
2887
|
}), {
|
|
2887
|
-
default: () => [
|
|
2888
|
+
default: () => [w == null ? void 0 : w.map((Q) => A(it, {
|
|
2888
2889
|
key: Q.value,
|
|
2889
2890
|
label: Q.label,
|
|
2890
2891
|
value: Q.value
|
|
@@ -2893,14 +2894,14 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2893
2894
|
key: u,
|
|
2894
2895
|
disabled: R,
|
|
2895
2896
|
options: V,
|
|
2896
|
-
formProp:
|
|
2897
|
+
formProp: w = {}
|
|
2897
2898
|
}) => A(He, te({
|
|
2898
2899
|
modelValue: v.value[u],
|
|
2899
2900
|
"onUpdate:modelValue": ($) => v.value[u] = $,
|
|
2900
2901
|
disabled: R,
|
|
2901
2902
|
onChange: () => a()
|
|
2902
|
-
},
|
|
2903
|
-
default: () => [V == null ? void 0 : V.map(($) => (
|
|
2903
|
+
}, w), {
|
|
2904
|
+
default: () => [V == null ? void 0 : V.map(($) => (w == null ? void 0 : w.radioType) === "button" ? A(St, {
|
|
2904
2905
|
key: $.value,
|
|
2905
2906
|
label: $.value,
|
|
2906
2907
|
name: $.label
|
|
@@ -2913,7 +2914,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2913
2914
|
key: u,
|
|
2914
2915
|
disabled: R,
|
|
2915
2916
|
options: V,
|
|
2916
|
-
min:
|
|
2917
|
+
min: w,
|
|
2917
2918
|
max: $,
|
|
2918
2919
|
formProp: Z = {}
|
|
2919
2920
|
}) => A(je, te({
|
|
@@ -2921,7 +2922,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2921
2922
|
"onUpdate:modelValue": (J) => v.value[u] = J,
|
|
2922
2923
|
disabled: R,
|
|
2923
2924
|
max: $,
|
|
2924
|
-
min:
|
|
2925
|
+
min: w,
|
|
2925
2926
|
onChange: () => a()
|
|
2926
2927
|
}, Z), {
|
|
2927
2928
|
default: () => [V == null ? void 0 : V.map((J) => A(Te, {
|
|
@@ -2933,18 +2934,18 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2933
2934
|
key: u,
|
|
2934
2935
|
label: R,
|
|
2935
2936
|
formProp: V = {},
|
|
2936
|
-
placeholder:
|
|
2937
|
+
placeholder: w
|
|
2937
2938
|
}) => A(rt, te({
|
|
2938
2939
|
modelValue: v.value[u],
|
|
2939
2940
|
"onUpdate:modelValue": ($) => v.value[u] = $,
|
|
2940
2941
|
onChange: () => a()
|
|
2941
2942
|
}, V, {
|
|
2942
|
-
placeholder: (V == null ? void 0 : V.placeholder) ||
|
|
2943
|
+
placeholder: (V == null ? void 0 : V.placeholder) || w || `请选择${R}时间`
|
|
2943
2944
|
}), null), L = ({
|
|
2944
2945
|
key: u,
|
|
2945
2946
|
disabled: R,
|
|
2946
2947
|
editable: V = !0,
|
|
2947
|
-
startPlaceholder:
|
|
2948
|
+
startPlaceholder: w = "开始日期",
|
|
2948
2949
|
endplaceholder: $ = "结束日期",
|
|
2949
2950
|
dateType: Z = Se.date,
|
|
2950
2951
|
format: J,
|
|
@@ -2986,7 +2987,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
2986
2987
|
disabled: R,
|
|
2987
2988
|
type: Z,
|
|
2988
2989
|
editable: V,
|
|
2989
|
-
startPlaceholder:
|
|
2990
|
+
startPlaceholder: w,
|
|
2990
2991
|
endPlaceholder: $,
|
|
2991
2992
|
rangeSeparator: Ae,
|
|
2992
2993
|
format: ce,
|
|
@@ -3002,7 +3003,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3002
3003
|
key: u,
|
|
3003
3004
|
options: R,
|
|
3004
3005
|
multiple: V = !1,
|
|
3005
|
-
filterable:
|
|
3006
|
+
filterable: w = !0,
|
|
3006
3007
|
nodeKey: $ = "id",
|
|
3007
3008
|
props: Z,
|
|
3008
3009
|
highlightCurrent: J = !0,
|
|
@@ -3026,7 +3027,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3026
3027
|
multiple: V,
|
|
3027
3028
|
props: Z,
|
|
3028
3029
|
placeholder: Ae,
|
|
3029
|
-
filterable:
|
|
3030
|
+
filterable: w,
|
|
3030
3031
|
nodeKey: $,
|
|
3031
3032
|
highlightCurrent: J,
|
|
3032
3033
|
defaultExpandAll: Y,
|
|
@@ -3043,13 +3044,13 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3043
3044
|
key: u,
|
|
3044
3045
|
selectKey: R,
|
|
3045
3046
|
placeholder: V,
|
|
3046
|
-
disabled:
|
|
3047
|
+
disabled: w,
|
|
3047
3048
|
options: $,
|
|
3048
3049
|
multiple: Z = !1,
|
|
3049
3050
|
filterable: J = !0,
|
|
3050
3051
|
formProp: Y = {}
|
|
3051
3052
|
}) => A(Ne, te({
|
|
3052
|
-
disabled:
|
|
3053
|
+
disabled: w,
|
|
3053
3054
|
modelValue: v.value[u],
|
|
3054
3055
|
"onUpdate:modelValue": (Q) => v.value[u] = Q,
|
|
3055
3056
|
onBlur: () => a()
|
|
@@ -3057,7 +3058,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3057
3058
|
placeholder: (Y == null ? void 0 : Y.placeholder) || V || "全部"
|
|
3058
3059
|
}), {
|
|
3059
3060
|
prepend: () => A(ot, te({
|
|
3060
|
-
disabled:
|
|
3061
|
+
disabled: w,
|
|
3061
3062
|
multiple: Z,
|
|
3062
3063
|
filterable: J,
|
|
3063
3064
|
modelValue: v.value[R],
|
|
@@ -3070,18 +3071,18 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3070
3071
|
value: Q.value
|
|
3071
3072
|
}, null))]
|
|
3072
3073
|
})
|
|
3073
|
-
}), N = "", z = "iking", ie =
|
|
3074
|
+
}), N = "", z = "iking", ie = C(null), M = C([]), K = C(!1), ee = C(""), de = /* @__PURE__ */ new Map(), Re = (u) => {
|
|
3074
3075
|
K.value = !0, M.value = de.has(u) ? de.get(u) : v.value[u], ee.value = u;
|
|
3075
3076
|
}, me = () => {
|
|
3076
3077
|
de.set(ee.value, []), ee.value = "", a();
|
|
3077
3078
|
}, We = (u) => {
|
|
3078
3079
|
var R, V;
|
|
3079
|
-
v.value[ee.value] = (R = u.list.map((
|
|
3080
|
+
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
3081
|
}, Ge = ({
|
|
3081
3082
|
key: u,
|
|
3082
3083
|
placeholder: R,
|
|
3083
3084
|
typeOption: V,
|
|
3084
|
-
_list:
|
|
3085
|
+
_list: w,
|
|
3085
3086
|
maxlength: $,
|
|
3086
3087
|
minlength: Z,
|
|
3087
3088
|
disabled: J,
|
|
@@ -3135,10 +3136,10 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3135
3136
|
}, Ye = E(() => {
|
|
3136
3137
|
var V;
|
|
3137
3138
|
const u = [], R = b.value.length - 1;
|
|
3138
|
-
return (V = b.value) == null || V.forEach((
|
|
3139
|
+
return (V = b.value) == null || V.forEach((w, $) => {
|
|
3139
3140
|
let Z, J;
|
|
3140
|
-
if (!
|
|
3141
|
-
const Y =
|
|
3141
|
+
if (!w) return [];
|
|
3142
|
+
const Y = w.col || 1;
|
|
3142
3143
|
u.push(A(wt, {
|
|
3143
3144
|
xl: {
|
|
3144
3145
|
span: Y * 6
|
|
@@ -3158,9 +3159,9 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3158
3159
|
A("div", {
|
|
3159
3160
|
class: "last-form"
|
|
3160
3161
|
}, [A(st, {
|
|
3161
|
-
label:
|
|
3162
|
-
prop:
|
|
3163
|
-
}, pt(Z = Ie(
|
|
3162
|
+
label: w.type === "select-input" ? "" : w.label,
|
|
3163
|
+
prop: w.key
|
|
3164
|
+
}, pt(Z = Ie(w)) ? Z : {
|
|
3164
3165
|
default: () => [Z]
|
|
3165
3166
|
}), A(Oe, {
|
|
3166
3167
|
name: "icon-sousuo1",
|
|
@@ -3180,9 +3181,9 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3180
3181
|
onClick: () => o()
|
|
3181
3182
|
}, null)])
|
|
3182
3183
|
) : A(st, {
|
|
3183
|
-
label:
|
|
3184
|
-
prop:
|
|
3185
|
-
}, pt(J = Ie(
|
|
3184
|
+
label: w.type === "select-input" ? "" : w.label,
|
|
3185
|
+
prop: w.key
|
|
3186
|
+
}, pt(J = Ie(w)) ? J : {
|
|
3186
3187
|
default: () => [J]
|
|
3187
3188
|
})]
|
|
3188
3189
|
}));
|
|
@@ -3305,7 +3306,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3305
3306
|
ft((b) => ({
|
|
3306
3307
|
"59e2b6b4": j
|
|
3307
3308
|
}));
|
|
3308
|
-
const c = l, t = Ke(l, "modelValue"), e =
|
|
3309
|
+
const c = l, t = Ke(l, "modelValue"), e = C(c.defaultShow), k = () => {
|
|
3309
3310
|
e.value = !e.value;
|
|
3310
3311
|
}, p = E(() => c.fields.filter((b) => !b.onlyForm)), x = E(() => {
|
|
3311
3312
|
var b;
|
|
@@ -3330,7 +3331,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3330
3331
|
},
|
|
3331
3332
|
[
|
|
3332
3333
|
d("div", Wa, [
|
|
3333
|
-
|
|
3334
|
+
B(' 左侧标题、tab页或自定义内容 v-if="!$slots.headerLeft" '),
|
|
3334
3335
|
d(
|
|
3335
3336
|
"span",
|
|
3336
3337
|
Ga,
|
|
@@ -3340,9 +3341,9 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3340
3341
|
),
|
|
3341
3342
|
he(b.$slots, "headerLeft", {}, void 0, !0)
|
|
3342
3343
|
]),
|
|
3343
|
-
|
|
3344
|
+
B(" 默认按钮 "),
|
|
3344
3345
|
d("div", Ya, [
|
|
3345
|
-
|
|
3346
|
+
B(" 右侧操作或自定义内容 "),
|
|
3346
3347
|
he(b.$slots, "headerRight", {}, void 0, !0),
|
|
3347
3348
|
l.exportBtn ? (n(), D(T(Oe), {
|
|
3348
3349
|
key: 0,
|
|
@@ -3351,7 +3352,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3351
3352
|
title: "导出",
|
|
3352
3353
|
"show-bg": "",
|
|
3353
3354
|
size: "default"
|
|
3354
|
-
})) :
|
|
3355
|
+
})) : B("v-if", !0),
|
|
3355
3356
|
v.value ? (n(), D(T(Oe), {
|
|
3356
3357
|
key: 1,
|
|
3357
3358
|
name: "iksvg_shaixuan1",
|
|
@@ -3359,7 +3360,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3359
3360
|
title: e.value ? "收起筛选条件" : "展开筛选条件",
|
|
3360
3361
|
"show-bg": "",
|
|
3361
3362
|
onClick: k
|
|
3362
|
-
}, null, 8, ["title"])) :
|
|
3363
|
+
}, null, 8, ["title"])) : B("v-if", !0),
|
|
3363
3364
|
l.refreshBtn ? (n(), D(T(Oe), {
|
|
3364
3365
|
key: 2,
|
|
3365
3366
|
name: "iksvg_zhongzhi1",
|
|
@@ -3367,8 +3368,8 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3367
3368
|
"show-bg": "",
|
|
3368
3369
|
size: "default",
|
|
3369
3370
|
onClick: l.search
|
|
3370
|
-
}, null, 8, ["onClick"])) :
|
|
3371
|
-
|
|
3371
|
+
}, null, 8, ["onClick"])) : B("v-if", !0),
|
|
3372
|
+
B(` <IkSvgIcon\r
|
|
3372
3373
|
name="icon-shezhi"\r
|
|
3373
3374
|
show-bg\r
|
|
3374
3375
|
:width="40"\r
|
|
@@ -3562,11 +3563,11 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3562
3563
|
},
|
|
3563
3564
|
emits: ["currentChange", "sizeChange"],
|
|
3564
3565
|
setup(l, { emit: c }) {
|
|
3565
|
-
const t = l, e = c, k =
|
|
3566
|
+
const t = l, e = c, k = C(1);
|
|
3566
3567
|
fe(() => t.current, (b) => {
|
|
3567
3568
|
k.value = b;
|
|
3568
3569
|
});
|
|
3569
|
-
const p = [15, 30, 60, 100, 200, 500], x =
|
|
3570
|
+
const p = [15, 30, 60, 100, 200, 500], x = C(p[0]), v = (b) => {
|
|
3570
3571
|
e("sizeChange", b), t == null || t.search({
|
|
3571
3572
|
page: k.value,
|
|
3572
3573
|
rows: x.value
|
|
@@ -3617,7 +3618,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3617
3618
|
emits: ["selection-change", "page-change"],
|
|
3618
3619
|
setup(l, { expose: c, emit: t }) {
|
|
3619
3620
|
var i;
|
|
3620
|
-
const e = l, k = t, { attrs: p } = kt(), x =
|
|
3621
|
+
const e = l, k = t, { attrs: p } = kt(), x = C({
|
|
3621
3622
|
page: ((i = p.page) == null ? void 0 : i.page) || 1,
|
|
3622
3623
|
rows: 15
|
|
3623
3624
|
}), v = E(() => {
|
|
@@ -3627,9 +3628,9 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3627
3628
|
}), o;
|
|
3628
3629
|
}), j = (a) => {
|
|
3629
3630
|
x.value = a, k("page-change", a), e.search();
|
|
3630
|
-
}, b =
|
|
3631
|
+
}, b = C([]), O = (a) => {
|
|
3631
3632
|
b.value = a, k("selection-change", a);
|
|
3632
|
-
}, h =
|
|
3633
|
+
}, h = C();
|
|
3633
3634
|
return c({ table: h }), (a, r) => {
|
|
3634
3635
|
var W, F, g;
|
|
3635
3636
|
const o = ne("el-table-column"), y = ne("el-table"), H = Ze("loading");
|
|
@@ -3637,12 +3638,12 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3637
3638
|
q,
|
|
3638
3639
|
null,
|
|
3639
3640
|
[
|
|
3640
|
-
|
|
3641
|
+
B(" 自定义表格 "),
|
|
3641
3642
|
(W = a.$slots) != null && W.table ? he(a.$slots, "table", { key: 0 }, void 0, !0) : (n(), m(
|
|
3642
3643
|
q,
|
|
3643
3644
|
{ key: 1 },
|
|
3644
3645
|
[
|
|
3645
|
-
|
|
3646
|
+
B(" 默认表格 "),
|
|
3646
3647
|
A(vt, { name: "el-zoom-in-center" }, {
|
|
3647
3648
|
default: U(() => [
|
|
3648
3649
|
Be((n(), D(y, te({
|
|
@@ -3659,14 +3660,14 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3659
3660
|
type: "selection",
|
|
3660
3661
|
align: "center",
|
|
3661
3662
|
width: "56"
|
|
3662
|
-
})) :
|
|
3663
|
+
})) : B("v-if", !0),
|
|
3663
3664
|
a.serial ? (n(), D(o, {
|
|
3664
3665
|
key: 1,
|
|
3665
3666
|
prop: "__index",
|
|
3666
3667
|
label: "序号",
|
|
3667
3668
|
width: 60,
|
|
3668
3669
|
align: "center"
|
|
3669
|
-
})) :
|
|
3670
|
+
})) : B("v-if", !0),
|
|
3670
3671
|
he(a.$slots, "default", {}, void 0, !0)
|
|
3671
3672
|
]),
|
|
3672
3673
|
_: 3
|
|
@@ -3682,13 +3683,13 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3682
3683
|
64
|
|
3683
3684
|
/* STABLE_FRAGMENT */
|
|
3684
3685
|
)),
|
|
3685
|
-
|
|
3686
|
+
B(" 分页 "),
|
|
3686
3687
|
a.total ? (n(), D(Ja, {
|
|
3687
3688
|
key: 2,
|
|
3688
3689
|
current: ((g = (F = a.$attrs) == null ? void 0 : F.page) == null ? void 0 : g.page) || 1,
|
|
3689
3690
|
total: a.total,
|
|
3690
3691
|
search: j
|
|
3691
|
-
}, null, 8, ["current", "total"])) :
|
|
3692
|
+
}, null, 8, ["current", "total"])) : B("v-if", !0)
|
|
3692
3693
|
],
|
|
3693
3694
|
64
|
|
3694
3695
|
/* STABLE_FRAGMENT */
|
|
@@ -3732,9 +3733,9 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3732
3733
|
}, (P = e == null ? void 0 : e.search) == null || P.call(e, {
|
|
3733
3734
|
...p.value
|
|
3734
3735
|
});
|
|
3735
|
-
}, b =
|
|
3736
|
+
}, b = C([]), O = (L) => {
|
|
3736
3737
|
b.value = L, k("selection-change", L);
|
|
3737
|
-
}, h = E(() => b.value.length || e.chooseLen), i =
|
|
3738
|
+
}, 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
3739
|
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
3740
|
}, oe = E(() => e.fields.find((L) => L.isEdit));
|
|
3740
3741
|
return c({
|
|
@@ -3751,7 +3752,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3751
3752
|
q,
|
|
3752
3753
|
null,
|
|
3753
3754
|
[
|
|
3754
|
-
|
|
3755
|
+
B(" 标题 + 搜索表单 "),
|
|
3755
3756
|
A(Xa, te({
|
|
3756
3757
|
ref_key: "refHeader",
|
|
3757
3758
|
ref: o
|
|
@@ -3779,13 +3780,13 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3779
3780
|
/* STABLE */
|
|
3780
3781
|
})), [
|
|
3781
3782
|
[ie, L.role]
|
|
3782
|
-
]) :
|
|
3783
|
+
]) : B("v-if", !0)
|
|
3783
3784
|
], !0)
|
|
3784
3785
|
]),
|
|
3785
3786
|
_: 3
|
|
3786
3787
|
/* FORWARDED */
|
|
3787
3788
|
}, 16, ["modelValue", "loading", "tab-id"]),
|
|
3788
|
-
|
|
3789
|
+
B(" 选中表格项 "),
|
|
3789
3790
|
L.selection ? (n(), m(
|
|
3790
3791
|
"div",
|
|
3791
3792
|
{
|
|
@@ -3825,8 +3826,8 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3825
3826
|
],
|
|
3826
3827
|
2
|
|
3827
3828
|
/* CLASS */
|
|
3828
|
-
)) :
|
|
3829
|
-
|
|
3829
|
+
)) : B("v-if", !0),
|
|
3830
|
+
B(" 自定义表格 "),
|
|
3830
3831
|
he(L.$slots, "table", {}, () => [
|
|
3831
3832
|
A(tn, te({
|
|
3832
3833
|
ref_key: "refTable",
|
|
@@ -3880,7 +3881,7 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3880
3881
|
],
|
|
3881
3882
|
64
|
|
3882
3883
|
/* STABLE_FRAGMENT */
|
|
3883
|
-
)) :
|
|
3884
|
+
)) : B("v-if", !0)
|
|
3884
3885
|
],
|
|
3885
3886
|
64
|
|
3886
3887
|
/* STABLE_FRAGMENT */
|
|
@@ -3893,8 +3894,8 @@ const Fa = /* @__PURE__ */ ue({
|
|
|
3893
3894
|
/* FORWARDED */
|
|
3894
3895
|
}, 16, ["page"])
|
|
3895
3896
|
], !0),
|
|
3896
|
-
|
|
3897
|
-
|
|
3897
|
+
B(" 新增修改 "),
|
|
3898
|
+
B(` <IkDialog\r
|
|
3898
3899
|
v-if="needAutoForm"\r
|
|
3899
3900
|
ref="refIkDialog"\r
|
|
3900
3901
|
v-bind="{ ...dialogProp }"\r
|