iking-web-ui-pro 0.2.24 → 0.2.26
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/IKSearch/ik.index.es.js +41 -33
- package/dist/IKSearch/ik.index.umd.js +1 -1
- package/dist/IKSearch/style.css +1 -1
- package/dist/IkApprovalProcess/ik.index.es.js +167 -159
- package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcess/style.css +1 -1
- package/dist/IkCalendar/ik.index.es.js +73 -65
- package/dist/IkCalendar/ik.index.umd.js +1 -1
- package/dist/IkCalendar/style.css +1 -1
- package/dist/IkPageFull/ik.index.es.js +303 -295
- package/dist/IkPageFull/ik.index.umd.js +2 -2
- package/dist/IkPageFull/style.css +1 -1
- package/dist/IkPickerUser/ik.index.es.js +41 -33
- package/dist/IkPickerUser/ik.index.umd.js +1 -1
- package/dist/IkPickerUser/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +1454 -1448
- package/dist/IkUploadFile/ik.index.umd.js +57 -57
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/index.es.js +11726 -11712
- package/dist/index.umd.js +84 -84
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as re, openBlock as w, createElementBlock as T, createElementVNode as _, h as Bt, Fragment as
|
|
1
|
+
import { defineComponent as re, openBlock as w, createElementBlock as T, createElementVNode as _, h as Bt, Fragment as X, Teleport as mo, resolveComponent as zt, createBlock as Q, toDisplayString as G, createCommentVNode as j, computed as Z, ref as $, unref as R, withCtx as N, createTextVNode as Ae, renderList as fe, createVNode as x, normalizeClass as Vn, pushScopeId as ln, popScopeId as on, useCssVars as vo, watch as Re, toRef as yo, reactive as jn, nextTick as zn, watchEffect as Jr, withModifiers as ye, normalizeStyle as ss, withDirectives as Ct, vShow as bo } from "vue";
|
|
2
2
|
import { _ as be, ikStore as ls, ikEvent as Ao, ikDate as Te } from "iking-utils-pro";
|
|
3
3
|
import { ElCheckbox as st, ElCheckboxGroup as lr, ElRadioGroup as or, ElRadio as ar, ElDialog as os, ElButton as ft, ElInput as Wn, ElBreadcrumb as Eo, ElBreadcrumbItem as So, vLoading as _n, ElIcon as Je, ElForm as _o, ElFormItem as Rt, ElSelect as wo, ElOption as Kr, ElDatePicker as Ke, ElTimePicker as ei, ElMessageBox as Do, ElMessage as Co } from "element-plus";
|
|
4
4
|
import Ro from "axios";
|
|
@@ -307,8 +307,8 @@ function cr(n, e, t, r, i, s, l, o, a) {
|
|
|
307
307
|
O.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), c.componentDidMount != null && c.__h.push(c.componentDidMount);
|
|
308
308
|
else {
|
|
309
309
|
if (O.getDerivedStateFromProps == null && m !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(m, b), !c.__e && c.shouldComponentUpdate != null && c.shouldComponentUpdate(m, c.__s, b) === !1 || e.__v === t.__v) {
|
|
310
|
-
for (e.__v !== t.__v && (c.props = m, c.state = c.__s, c.__d = !1), e.__e = t.__e, e.__k = t.__k, e.__k.forEach(function(
|
|
311
|
-
|
|
310
|
+
for (e.__v !== t.__v && (c.props = m, c.state = c.__s, c.__d = !1), e.__e = t.__e, e.__k = t.__k, e.__k.forEach(function(J) {
|
|
311
|
+
J && (J.__ = e);
|
|
312
312
|
}), D = 0; D < c._sb.length; D++)
|
|
313
313
|
c.__h.push(c._sb[D]);
|
|
314
314
|
c._sb = [], c.__h.length && l.push(c);
|
|
@@ -330,8 +330,8 @@ function cr(n, e, t, r, i, s, l, o, a) {
|
|
|
330
330
|
} else
|
|
331
331
|
s == null && e.__v === t.__v ? (e.__k = t.__k, e.__e = t.__e) : e.__e = Wo(t.__e, e, t, r, i, s, l, a);
|
|
332
332
|
(d = k.diffed) && d(e);
|
|
333
|
-
} catch (
|
|
334
|
-
e.__v = null, (a || s != null) && (e.__e = o, e.__h = !!a, s[s.indexOf(o)] = null), k.__e(
|
|
333
|
+
} catch (J) {
|
|
334
|
+
e.__v = null, (a || s != null) && (e.__e = o, e.__h = !!a, s[s.indexOf(o)] = null), k.__e(J, e, t);
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
function As(n, e) {
|
|
@@ -4673,8 +4673,8 @@ function Jd(n, e, t, r) {
|
|
|
4673
4673
|
}
|
|
4674
4674
|
let L = i.eventStore;
|
|
4675
4675
|
for (let B of A.allows) {
|
|
4676
|
-
let U = Object.assign(Object.assign({}, t), { range: h.range, allDay: b.allDay }), O = L.defs[b.defId],
|
|
4677
|
-
if (O ? ie = new q(e, O,
|
|
4676
|
+
let U = Object.assign(Object.assign({}, t), { range: h.range, allDay: b.allDay }), O = L.defs[b.defId], J = L.instances[v], ie;
|
|
4677
|
+
if (O ? ie = new q(e, O, J) : ie = new q(e, b), !B(Rr(U, e), ie))
|
|
4678
4678
|
return !1;
|
|
4679
4679
|
}
|
|
4680
4680
|
}
|
|
@@ -6697,7 +6697,7 @@ const jf = {
|
|
|
6697
6697
|
return Bt("div", {
|
|
6698
6698
|
// when renderId is changed, Vue will trigger a real-DOM async rerender, calling beforeUpdate/updated
|
|
6699
6699
|
attrs: { "data-fc-render-id": this.renderId }
|
|
6700
|
-
}, Bt(
|
|
6700
|
+
}, Bt(X, n));
|
|
6701
6701
|
},
|
|
6702
6702
|
mounted() {
|
|
6703
6703
|
const n = new Du();
|
|
@@ -8163,10 +8163,10 @@ class Fh extends z {
|
|
|
8163
8163
|
null,
|
|
8164
8164
|
this.renderHiddenGroups(D, e),
|
|
8165
8165
|
b.map((E) => {
|
|
8166
|
-
let { seg: L, rect: B } = E, U = L.eventRange.instance.instanceId, O = m || !!(!t[U] && B),
|
|
8166
|
+
let { seg: L, rect: B } = E, U = L.eventRange.instance.instanceId, O = m || !!(!t[U] && B), J = Un(B && B.span), ie = !m && B ? this.computeSegHStyle(B) : { left: 0, right: 0 }, mn = !!B && B.stackForward > 0, Xe = !!B && B.span.end - B.span.start < a;
|
|
8167
8167
|
return g(
|
|
8168
8168
|
"div",
|
|
8169
|
-
{ className: "fc-timegrid-event-harness" + (mn ? " fc-timegrid-event-harness-inset" : ""), key: l || U, style: Object.assign(Object.assign({ visibility: O ? "" : "hidden" },
|
|
8169
|
+
{ className: "fc-timegrid-event-harness" + (mn ? " fc-timegrid-event-harness-inset" : ""), key: l || U, style: Object.assign(Object.assign({ visibility: O ? "" : "hidden" }, J), ie) },
|
|
8170
8170
|
g(Zl, Object.assign({ seg: L, isDragging: r, isResizing: i, isDateSelecting: s, isSelected: U === u, isShort: Xe }, Oe(L, v, h)))
|
|
8171
8171
|
);
|
|
8172
8172
|
})
|
|
@@ -9663,7 +9663,7 @@ const le = /* @__PURE__ */ pe(fg, [["__scopeId", "data-v-4069f4f8"]]), zr = "dat
|
|
|
9663
9663
|
h || o("handChild", v);
|
|
9664
9664
|
};
|
|
9665
9665
|
return (v, h) => (w(), T(
|
|
9666
|
-
|
|
9666
|
+
X,
|
|
9667
9667
|
null,
|
|
9668
9668
|
[
|
|
9669
9669
|
j(" 遍历list多选 "),
|
|
@@ -9690,7 +9690,7 @@ const le = /* @__PURE__ */ pe(fg, [["__scopeId", "data-v-4069f4f8"]]), zr = "dat
|
|
|
9690
9690
|
}, {
|
|
9691
9691
|
default: N(() => [
|
|
9692
9692
|
(w(!0), T(
|
|
9693
|
-
|
|
9693
|
+
X,
|
|
9694
9694
|
null,
|
|
9695
9695
|
fe(v.list, (m) => {
|
|
9696
9696
|
var A;
|
|
@@ -9793,7 +9793,7 @@ const le = /* @__PURE__ */ pe(fg, [["__scopeId", "data-v-4069f4f8"]]), zr = "dat
|
|
|
9793
9793
|
}, {
|
|
9794
9794
|
default: N(() => [
|
|
9795
9795
|
(w(!0), T(
|
|
9796
|
-
|
|
9796
|
+
X,
|
|
9797
9797
|
null,
|
|
9798
9798
|
fe(v.list, (m) => {
|
|
9799
9799
|
var A;
|
|
@@ -9960,7 +9960,7 @@ const zg = /* @__PURE__ */ pe(jg, [["__scopeId", "data-v-f7a5199f"]]), Gr = (n)
|
|
|
9960
9960
|
o("change", u, t.list);
|
|
9961
9961
|
};
|
|
9962
9962
|
return (u, v) => (w(), T(
|
|
9963
|
-
|
|
9963
|
+
X,
|
|
9964
9964
|
null,
|
|
9965
9965
|
[
|
|
9966
9966
|
j(" 遍历list多选 "),
|
|
@@ -9987,7 +9987,7 @@ const zg = /* @__PURE__ */ pe(jg, [["__scopeId", "data-v-f7a5199f"]]), Gr = (n)
|
|
|
9987
9987
|
}, {
|
|
9988
9988
|
default: N(() => [
|
|
9989
9989
|
(w(!0), T(
|
|
9990
|
-
|
|
9990
|
+
X,
|
|
9991
9991
|
null,
|
|
9992
9992
|
fe(u.list, (h) => (w(), T("li", {
|
|
9993
9993
|
key: h[t.fixPropOpt.id]
|
|
@@ -10049,7 +10049,7 @@ const zg = /* @__PURE__ */ pe(jg, [["__scopeId", "data-v-f7a5199f"]]), Gr = (n)
|
|
|
10049
10049
|
}, {
|
|
10050
10050
|
default: N(() => [
|
|
10051
10051
|
(w(!0), T(
|
|
10052
|
-
|
|
10052
|
+
X,
|
|
10053
10053
|
null,
|
|
10054
10054
|
fe(u.list, (h) => (w(), T("li", {
|
|
10055
10055
|
class: "w-full",
|
|
@@ -10180,7 +10180,7 @@ const sm = /* @__PURE__ */ pe(im, [["__scopeId", "data-v-e03f0d36"]]), Qr = (n)
|
|
|
10180
10180
|
o("change", u, t.list);
|
|
10181
10181
|
};
|
|
10182
10182
|
return (u, v) => (w(), T(
|
|
10183
|
-
|
|
10183
|
+
X,
|
|
10184
10184
|
null,
|
|
10185
10185
|
[
|
|
10186
10186
|
j(" 遍历list多选 "),
|
|
@@ -10207,7 +10207,7 @@ const sm = /* @__PURE__ */ pe(im, [["__scopeId", "data-v-e03f0d36"]]), Qr = (n)
|
|
|
10207
10207
|
}, {
|
|
10208
10208
|
default: N(() => [
|
|
10209
10209
|
(w(!0), T(
|
|
10210
|
-
|
|
10210
|
+
X,
|
|
10211
10211
|
null,
|
|
10212
10212
|
fe(u.list, (h) => (w(), T("li", {
|
|
10213
10213
|
key: h[u.fixPropOpt.id]
|
|
@@ -10264,7 +10264,7 @@ const sm = /* @__PURE__ */ pe(im, [["__scopeId", "data-v-e03f0d36"]]), Qr = (n)
|
|
|
10264
10264
|
}, {
|
|
10265
10265
|
default: N(() => [
|
|
10266
10266
|
(w(!0), T(
|
|
10267
|
-
|
|
10267
|
+
X,
|
|
10268
10268
|
null,
|
|
10269
10269
|
fe(u.list, (h) => (w(), T("li", {
|
|
10270
10270
|
class: "w-full",
|
|
@@ -10602,9 +10602,9 @@ const Dm = {
|
|
|
10602
10602
|
emits: ["handChild", "update:show", "update:modelValue", "ok", "search"],
|
|
10603
10603
|
setup(n, { expose: e, emit: t }) {
|
|
10604
10604
|
vo((S) => ({
|
|
10605
|
-
|
|
10605
|
+
"204e6f3a": Zr.value
|
|
10606
10606
|
}));
|
|
10607
|
-
const r = n, i = $(""), s = $(""), l = $([]), o = $([]), a = $([]), d = $([]), c = $(!1), p = Z(() =>
|
|
10607
|
+
const r = n, i = $(""), s = $(""), l = $([]), o = $([]), a = $([]), d = $([]), c = $(!1), p = Z(() => J.value.includes("user") ? o.value.concat(l.value) : o.value);
|
|
10608
10608
|
Re(
|
|
10609
10609
|
() => r.api,
|
|
10610
10610
|
() => {
|
|
@@ -10693,7 +10693,7 @@ const Dm = {
|
|
|
10693
10693
|
len: S.length
|
|
10694
10694
|
}
|
|
10695
10695
|
};
|
|
10696
|
-
}),
|
|
10696
|
+
}), J = Z(() => {
|
|
10697
10697
|
const S = r.chooseType.map((I) => I.toLocaleLowerCase());
|
|
10698
10698
|
let C = [...S];
|
|
10699
10699
|
return S.includes("dep") && (C = [...C, "dept"]), S.includes("dep_user") && (C = [...C, "user"]), C;
|
|
@@ -10849,7 +10849,7 @@ const Dm = {
|
|
|
10849
10849
|
};
|
|
10850
10850
|
e({ handClear: Ue, handRomeve: qr, handDelete: Be });
|
|
10851
10851
|
const co = Z(() => {
|
|
10852
|
-
const S =
|
|
10852
|
+
const S = J.value;
|
|
10853
10853
|
return !!((S.includes("post") || S.includes("role")) && S.length > 1);
|
|
10854
10854
|
}), uo = Z(() => [
|
|
10855
10855
|
{ name: "group", label: "组织架构" },
|
|
@@ -10972,7 +10972,7 @@ const Dm = {
|
|
|
10972
10972
|
}, {
|
|
10973
10973
|
default: N(() => [
|
|
10974
10974
|
(w(!0), T(
|
|
10975
|
-
|
|
10975
|
+
X,
|
|
10976
10976
|
null,
|
|
10977
10977
|
fe(uo.value, (V) => (w(), Q(I, {
|
|
10978
10978
|
label: V.label,
|
|
@@ -10988,38 +10988,46 @@ const Dm = {
|
|
|
10988
10988
|
}, 8, ["modelValue"])) : j("v-if", !0)
|
|
10989
10989
|
]),
|
|
10990
10990
|
j(" 过滤 "),
|
|
10991
|
-
Le.value === R(ut).group ? (w(), T(
|
|
10992
|
-
|
|
10993
|
-
|
|
10994
|
-
|
|
10995
|
-
|
|
10996
|
-
|
|
10997
|
-
|
|
10998
|
-
|
|
10999
|
-
|
|
11000
|
-
|
|
11001
|
-
|
|
11002
|
-
|
|
11003
|
-
|
|
11004
|
-
|
|
11005
|
-
|
|
11006
|
-
|
|
11007
|
-
|
|
11008
|
-
|
|
11009
|
-
|
|
11010
|
-
|
|
11011
|
-
|
|
11012
|
-
|
|
11013
|
-
|
|
11014
|
-
|
|
11015
|
-
|
|
11016
|
-
|
|
11017
|
-
|
|
11018
|
-
|
|
11019
|
-
|
|
11020
|
-
|
|
11021
|
-
|
|
11022
|
-
|
|
10991
|
+
Le.value === R(ut).group ? (w(), T(
|
|
10992
|
+
X,
|
|
10993
|
+
{ key: 0 },
|
|
10994
|
+
[
|
|
10995
|
+
Yr.value ? (w(), T("div", km, [
|
|
10996
|
+
j(" 面包屑 全选 "),
|
|
10997
|
+
x(R(Eo), {
|
|
10998
|
+
separator: ">",
|
|
10999
|
+
class: Vn(["banner", { "top-unlink": !S.topLink }])
|
|
11000
|
+
}, {
|
|
11001
|
+
default: N(() => [
|
|
11002
|
+
(w(!0), T(
|
|
11003
|
+
X,
|
|
11004
|
+
null,
|
|
11005
|
+
fe(R(A), (V, me) => (w(), Q(R(So), {
|
|
11006
|
+
key: V[f.value.id],
|
|
11007
|
+
onClick: ye((Sn) => so(V, me), ["stop"])
|
|
11008
|
+
}, {
|
|
11009
|
+
default: N(() => [
|
|
11010
|
+
Ae(
|
|
11011
|
+
G(V[f.value.name]),
|
|
11012
|
+
1
|
|
11013
|
+
/* TEXT */
|
|
11014
|
+
)
|
|
11015
|
+
]),
|
|
11016
|
+
_: 2
|
|
11017
|
+
/* DYNAMIC */
|
|
11018
|
+
}, 1032, ["onClick"]))),
|
|
11019
|
+
128
|
|
11020
|
+
/* KEYED_FRAGMENT */
|
|
11021
|
+
))
|
|
11022
|
+
]),
|
|
11023
|
+
_: 1
|
|
11024
|
+
/* STABLE */
|
|
11025
|
+
}, 8, ["class"])
|
|
11026
|
+
])) : j("v-if", !0)
|
|
11027
|
+
],
|
|
11028
|
+
64
|
|
11029
|
+
/* STABLE_FRAGMENT */
|
|
11030
|
+
)) : j("v-if", !0),
|
|
11023
11031
|
j(" 左侧列表 "),
|
|
11024
11032
|
j(" 组织架构 "),
|
|
11025
11033
|
Le.value === R(ut).group ? Ct((w(), Q(zg, {
|
|
@@ -11033,13 +11041,13 @@ const Dm = {
|
|
|
11033
11041
|
imageBaseUrl: r.imageBaseUrl,
|
|
11034
11042
|
emptyText: r.emptyText,
|
|
11035
11043
|
children: r.children,
|
|
11036
|
-
"choose-type":
|
|
11044
|
+
"choose-type": J.value,
|
|
11037
11045
|
onHandChild: io,
|
|
11038
11046
|
onChange: ho
|
|
11039
11047
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "children", "choose-type"])), [
|
|
11040
11048
|
[R(_n), c.value]
|
|
11041
11049
|
]) : Le.value === R(ut).role ? (w(), T(
|
|
11042
|
-
|
|
11050
|
+
X,
|
|
11043
11051
|
{ key: 2 },
|
|
11044
11052
|
[
|
|
11045
11053
|
j(" 角色 "),
|
|
@@ -11052,7 +11060,7 @@ const Dm = {
|
|
|
11052
11060
|
"hand-list": An.value,
|
|
11053
11061
|
imageBaseUrl: r.imageBaseUrl,
|
|
11054
11062
|
emptyText: r.emptyText,
|
|
11055
|
-
"choose-type":
|
|
11063
|
+
"choose-type": J.value,
|
|
11056
11064
|
onChange: po
|
|
11057
11065
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "choose-type"]), [
|
|
11058
11066
|
[R(_n), c.value]
|
|
@@ -11061,7 +11069,7 @@ const Dm = {
|
|
|
11061
11069
|
64
|
|
11062
11070
|
/* STABLE_FRAGMENT */
|
|
11063
11071
|
)) : Le.value === R(ut).post ? (w(), T(
|
|
11064
|
-
|
|
11072
|
+
X,
|
|
11065
11073
|
{ key: 3 },
|
|
11066
11074
|
[
|
|
11067
11075
|
j(" 岗位 "),
|
|
@@ -11074,7 +11082,7 @@ const Dm = {
|
|
|
11074
11082
|
"hand-list": En.value,
|
|
11075
11083
|
imageBaseUrl: r.imageBaseUrl,
|
|
11076
11084
|
emptyText: r.emptyText,
|
|
11077
|
-
"choose-type":
|
|
11085
|
+
"choose-type": J.value,
|
|
11078
11086
|
onChange: go
|
|
11079
11087
|
}, null, 8, ["fixPropOpt", "fixTypeOpt", "list", "max", "multiple", "hand-list", "imageBaseUrl", "emptyText", "choose-type"]), [
|
|
11080
11088
|
[R(_n), c.value]
|
|
@@ -11103,7 +11111,7 @@ const Dm = {
|
|
|
11103
11111
|
]),
|
|
11104
11112
|
_("ul", Nm, [
|
|
11105
11113
|
(w(!0), T(
|
|
11106
|
-
|
|
11114
|
+
X,
|
|
11107
11115
|
null,
|
|
11108
11116
|
fe(v.value, (V) => (w(), T("li", Bm, [
|
|
11109
11117
|
_("div", Hm, [
|
|
@@ -11273,8 +11281,8 @@ const wt = (n) => (ln("data-v-1fa0e0e1"), n = n(), on(), n), Qm = { class: "demo
|
|
|
11273
11281
|
const { success: E, data: L } = D;
|
|
11274
11282
|
if (!E)
|
|
11275
11283
|
return;
|
|
11276
|
-
const { departments: B, users: U, roles: O, posts:
|
|
11277
|
-
o.depList = B, o.userList = U, o.roleList = O, o.postList =
|
|
11284
|
+
const { departments: B, users: U, roles: O, posts: J } = L;
|
|
11285
|
+
o.depList = B, o.userList = U, o.roleList = O, o.postList = J;
|
|
11278
11286
|
});
|
|
11279
11287
|
}).catch((b) => {
|
|
11280
11288
|
console.info("error: ", b);
|
|
@@ -11586,7 +11594,7 @@ const wt = (n) => (ln("data-v-1fa0e0e1"), n = n(), on(), n), Qm = { class: "demo
|
|
|
11586
11594
|
onClick: ye(f, ["stop"])
|
|
11587
11595
|
}, [
|
|
11588
11596
|
o.form.personList.length ? (w(!0), T(
|
|
11589
|
-
|
|
11597
|
+
X,
|
|
11590
11598
|
{ key: 1 },
|
|
11591
11599
|
fe(o.form.personList, (b, D) => (w(), T("div", {
|
|
11592
11600
|
key: D,
|