sand-components-vben 2.1.5 → 2.1.6
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/sand-components-vben.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as $e, reactive as Cn, toRefs as dr, onMounted as Ko, watch as mt, resolveComponent as Pe, openBlock as re, createBlock as At, unref as le, isRef as Rn, withCtx as Ae, createElementBlock as Ce, Fragment as er, renderList as Ci, createTextVNode as lt, toDisplayString as
|
|
1
|
+
import { defineComponent as $e, reactive as Cn, toRefs as dr, onMounted as Ko, watch as mt, resolveComponent as Pe, openBlock as re, createBlock as At, unref as le, isRef as Rn, withCtx as Ae, createElementBlock as Ce, Fragment as er, renderList as Ci, createTextVNode as lt, toDisplayString as ze, Comment as TK, Text as PK, computed as te, inject as fa, provide as _u, ref as fr, shallowRef as _r, getCurrentInstance as AM, watchEffect as k0, onBeforeUnmount as DM, triggerRef as BK, createVNode as L, h as Qc, onBeforeMount as FK, onUpdated as IK, nextTick as Zc, Teleport as OM, onUnmounted as jK, TransitionGroup as kM, render as w7, toRaw as TM, renderSlot as OA, createElementVNode as ce, createCommentVNode as vt, normalizeStyle as go, normalizeClass as NK } from "vue";
|
|
2
2
|
const RK = /* @__PURE__ */ $e({
|
|
3
3
|
__name: "ApiSelect",
|
|
4
4
|
props: {
|
|
@@ -86,7 +86,7 @@ const RK = /* @__PURE__ */ $e({
|
|
|
86
86
|
key: c[e.fieldNames.label]
|
|
87
87
|
}, {
|
|
88
88
|
default: Ae(() => [
|
|
89
|
-
lt(
|
|
89
|
+
lt(ze(c[e.fieldNames.label]), 1)
|
|
90
90
|
]),
|
|
91
91
|
_: 2
|
|
92
92
|
}, 1032, ["value"]))), 128))
|
|
@@ -10131,7 +10131,7 @@ var xT = /* @__PURE__ */ new WeakMap(), S = { above(e) {
|
|
|
10131
10131
|
return xT.set(e, n), n;
|
|
10132
10132
|
}, isEnd(e, t, n) {
|
|
10133
10133
|
var r = S.end(e, n);
|
|
10134
|
-
return
|
|
10134
|
+
return _e.equals(t, r);
|
|
10135
10135
|
}, isEdge: (e, t, n) => S.isStart(e, t, n) || S.isEnd(e, t, n), isEmpty(e, t) {
|
|
10136
10136
|
var { children: n } = t, [r] = n;
|
|
10137
10137
|
return n.length === 0 || n.length === 1 && fe.isText(r) && r.text === "" && !e.isVoid(t);
|
|
@@ -10141,7 +10141,7 @@ var xT = /* @__PURE__ */ new WeakMap(), S = { above(e) {
|
|
|
10141
10141
|
}, isStart(e, t, n) {
|
|
10142
10142
|
if (t.offset !== 0) return !1;
|
|
10143
10143
|
var r = S.start(e, n);
|
|
10144
|
-
return
|
|
10144
|
+
return _e.equals(t, r);
|
|
10145
10145
|
}, isVoid: (e, t) => me.isElement(t) && e.isVoid(t), last(e, t) {
|
|
10146
10146
|
var n = S.path(e, t, { edge: "end" });
|
|
10147
10147
|
return S.node(e, n);
|
|
@@ -10262,7 +10262,7 @@ var xT = /* @__PURE__ */ new WeakMap(), S = { above(e) {
|
|
|
10262
10262
|
t = a;
|
|
10263
10263
|
}
|
|
10264
10264
|
}
|
|
10265
|
-
return V.isRange(t) && (t = o === "start" ? V.start(t) : o === "end" ? V.end(t) : N.common(t.anchor.path, t.focus.path)),
|
|
10265
|
+
return V.isRange(t) && (t = o === "start" ? V.start(t) : o === "end" ? V.end(t) : N.common(t.anchor.path, t.focus.path)), _e.isPoint(t) && (t = t.path), r != null && (t = t.slice(0, r)), t;
|
|
10266
10266
|
}, hasPath: (e, t) => oe.has(e, t), pathRef(e, t) {
|
|
10267
10267
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, { affinity: r = "forward" } = n, o = { current: t, affinity: r, unref() {
|
|
10268
10268
|
var { current: i } = o;
|
|
@@ -10707,10 +10707,10 @@ function AT(e) {
|
|
|
10707
10707
|
}
|
|
10708
10708
|
return e;
|
|
10709
10709
|
}
|
|
10710
|
-
var
|
|
10710
|
+
var _e = { compare(e, t) {
|
|
10711
10711
|
var n = N.compare(e.path, t.path);
|
|
10712
10712
|
return n === 0 ? e.offset < t.offset ? -1 : e.offset > t.offset ? 1 : 0 : n;
|
|
10713
|
-
}, isAfter: (e, t) =>
|
|
10713
|
+
}, isAfter: (e, t) => _e.compare(e, t) === 1, isBefore: (e, t) => _e.compare(e, t) === -1, equals: (e, t) => e.offset === t.offset && N.equals(e.path, t.path), isPoint: (e) => Jn(e) && typeof e.offset == "number" && N.isPath(e.path), transform(e, t) {
|
|
10714
10714
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
10715
10715
|
return Cb(e, (r) => {
|
|
10716
10716
|
if (r === null) return null;
|
|
@@ -10743,7 +10743,7 @@ var ze = { compare(e, t) {
|
|
|
10743
10743
|
} }, bae = { transform(e, t) {
|
|
10744
10744
|
var { current: n, affinity: r } = e;
|
|
10745
10745
|
if (n != null) {
|
|
10746
|
-
var o =
|
|
10746
|
+
var o = _e.transform(n, t, { affinity: r });
|
|
10747
10747
|
e.current = o, o == null && e.unref();
|
|
10748
10748
|
}
|
|
10749
10749
|
} }, wae = ["anchor", "focus"];
|
|
@@ -10763,17 +10763,17 @@ var V = { edges(e) {
|
|
|
10763
10763
|
}, end(e) {
|
|
10764
10764
|
var [, t] = V.edges(e);
|
|
10765
10765
|
return t;
|
|
10766
|
-
}, equals: (e, t) =>
|
|
10766
|
+
}, equals: (e, t) => _e.equals(e.anchor, t.anchor) && _e.equals(e.focus, t.focus), includes(e, t) {
|
|
10767
10767
|
if (V.isRange(t)) {
|
|
10768
10768
|
if (V.includes(e, t.anchor) || V.includes(e, t.focus)) return !0;
|
|
10769
10769
|
var [n, r] = V.edges(e), [o, i] = V.edges(t);
|
|
10770
|
-
return
|
|
10770
|
+
return _e.isBefore(n, o) && _e.isAfter(r, i);
|
|
10771
10771
|
}
|
|
10772
10772
|
var [a, u] = V.edges(e), s = !1, l = !1;
|
|
10773
|
-
return
|
|
10773
|
+
return _e.isPoint(t) ? (s = _e.compare(t, a) >= 0, l = _e.compare(t, u) <= 0) : (s = N.compare(t, a.path) >= 0, l = N.compare(t, u.path) <= 0), s && l;
|
|
10774
10774
|
}, intersection(e, t) {
|
|
10775
|
-
var n = sa(e, wae), [r, o] = V.edges(e), [i, a] = V.edges(t), u =
|
|
10776
|
-
return
|
|
10775
|
+
var n = sa(e, wae), [r, o] = V.edges(e), [i, a] = V.edges(t), u = _e.isBefore(r, i) ? i : r, s = _e.isBefore(o, a) ? o : a;
|
|
10776
|
+
return _e.isBefore(s, u) ? null : function(l) {
|
|
10777
10777
|
for (var c = 1; c < arguments.length; c++) {
|
|
10778
10778
|
var f = arguments[c] != null ? arguments[c] : {};
|
|
10779
10779
|
c % 2 ? DT(Object(f), !0).forEach(function(d) {
|
|
@@ -10786,11 +10786,11 @@ var V = { edges(e) {
|
|
|
10786
10786
|
}({ anchor: u, focus: s }, n);
|
|
10787
10787
|
}, isBackward(e) {
|
|
10788
10788
|
var { anchor: t, focus: n } = e;
|
|
10789
|
-
return
|
|
10789
|
+
return _e.isAfter(t, n);
|
|
10790
10790
|
}, isCollapsed(e) {
|
|
10791
10791
|
var { anchor: t, focus: n } = e;
|
|
10792
|
-
return
|
|
10793
|
-
}, isExpanded: (e) => !V.isCollapsed(e), isForward: (e) => !V.isBackward(e), isRange: (e) => Jn(e) &&
|
|
10792
|
+
return _e.equals(t, n);
|
|
10793
|
+
}, isExpanded: (e) => !V.isCollapsed(e), isForward: (e) => !V.isBackward(e), isRange: (e) => Jn(e) && _e.isPoint(e.anchor) && _e.isPoint(e.focus), *points(e) {
|
|
10794
10794
|
yield [e.anchor, "anchor"], yield [e.focus, "focus"];
|
|
10795
10795
|
}, start(e) {
|
|
10796
10796
|
var [t] = V.edges(e);
|
|
@@ -10804,7 +10804,7 @@ var V = { edges(e) {
|
|
|
10804
10804
|
var u = V.isCollapsed(r);
|
|
10805
10805
|
V.isForward(r) ? (o = "forward", i = u ? o : "backward") : (o = "backward", i = u ? o : "forward");
|
|
10806
10806
|
} else a === "outward" ? V.isForward(r) ? (o = "backward", i = "forward") : (o = "forward", i = "backward") : (o = a, i = a);
|
|
10807
|
-
var s =
|
|
10807
|
+
var s = _e.transform(r.anchor, t, { affinity: o }), l = _e.transform(r.focus, t, { affinity: i });
|
|
10808
10808
|
if (!s || !l) return null;
|
|
10809
10809
|
r.anchor = s, r.focus = l;
|
|
10810
10810
|
});
|
|
@@ -10912,13 +10912,13 @@ var Sae = { transform(e, t) {
|
|
|
10912
10912
|
case "insert_node":
|
|
10913
10913
|
var { path: a, node: u } = i, s = oe.parent(r, a), l = a[a.length - 1];
|
|
10914
10914
|
if (l > s.children.length) throw new Error('Cannot apply an "insert_node" operation at path ['.concat(a, "] because the destination is past the end of the node."));
|
|
10915
|
-
if (s.children.splice(l, 0, u), o) for (var [c, f] of V.points(o)) o[f] =
|
|
10915
|
+
if (s.children.splice(l, 0, u), o) for (var [c, f] of V.points(o)) o[f] = _e.transform(c, i);
|
|
10916
10916
|
break;
|
|
10917
10917
|
case "insert_text":
|
|
10918
10918
|
var { path: d, offset: p, text: m } = i;
|
|
10919
10919
|
if (m.length === 0) break;
|
|
10920
10920
|
var g = oe.leaf(r, d), v = g.text.slice(0, p), y = g.text.slice(p);
|
|
10921
|
-
if (g.text = v + m + y, o) for (var [h, b] of V.points(o)) o[b] =
|
|
10921
|
+
if (g.text = v + m + y, o) for (var [h, b] of V.points(o)) o[b] = _e.transform(h, i);
|
|
10922
10922
|
break;
|
|
10923
10923
|
case "merge_node":
|
|
10924
10924
|
var { path: w } = i, E = oe.get(r, w), C = N.previous(w), x = oe.get(r, C), A = oe.parent(r, w), D = w[w.length - 1];
|
|
@@ -10927,7 +10927,7 @@ var Sae = { transform(e, t) {
|
|
|
10927
10927
|
if (fe.isText(E) || fe.isText(x)) throw new Error('Cannot apply a "merge_node" operation at path ['.concat(w, "] to nodes of different interfaces: ").concat(E, " ").concat(x));
|
|
10928
10928
|
x.children.push(...E.children);
|
|
10929
10929
|
}
|
|
10930
|
-
if (A.children.splice(D, 1), o) for (var [_, H] of V.points(o)) o[H] =
|
|
10930
|
+
if (A.children.splice(D, 1), o) for (var [_, H] of V.points(o)) o[H] = _e.transform(_, i);
|
|
10931
10931
|
break;
|
|
10932
10932
|
case "move_node":
|
|
10933
10933
|
var { path: z, newPath: X } = i;
|
|
@@ -10935,12 +10935,12 @@ var Sae = { transform(e, t) {
|
|
|
10935
10935
|
var Y = oe.get(r, z), P = oe.parent(r, z), M = z[z.length - 1];
|
|
10936
10936
|
P.children.splice(M, 1);
|
|
10937
10937
|
var Z = N.transform(z, i), de = oe.get(r, N.parent(Z)), he = Z[Z.length - 1];
|
|
10938
|
-
if (de.children.splice(he, 0, Y), o) for (var [ge, T] of V.points(o)) o[T] =
|
|
10938
|
+
if (de.children.splice(he, 0, Y), o) for (var [ge, T] of V.points(o)) o[T] = _e.transform(ge, i);
|
|
10939
10939
|
break;
|
|
10940
10940
|
case "remove_node":
|
|
10941
10941
|
var { path: O } = i, j = O[O.length - 1];
|
|
10942
10942
|
if (oe.parent(r, O).children.splice(j, 1), o) for (var [q, $] of V.points(o)) {
|
|
10943
|
-
var K =
|
|
10943
|
+
var K = _e.transform(q, i);
|
|
10944
10944
|
if (o != null && K != null) o[$] = K;
|
|
10945
10945
|
else {
|
|
10946
10946
|
var pe = void 0, Ee = void 0;
|
|
@@ -10960,7 +10960,7 @@ var Sae = { transform(e, t) {
|
|
|
10960
10960
|
var { path: Ke, offset: Re, text: be } = i;
|
|
10961
10961
|
if (be.length === 0) break;
|
|
10962
10962
|
var Le = oe.leaf(r, Ke), Gt = Le.text.slice(0, Re), et = Le.text.slice(Re + be.length);
|
|
10963
|
-
if (Le.text = Gt + et, o) for (var [pt, It] of V.points(o)) o[It] =
|
|
10963
|
+
if (Le.text = Gt + et, o) for (var [pt, It] of V.points(o)) o[It] = _e.transform(pt, i);
|
|
10964
10964
|
break;
|
|
10965
10965
|
case "set_node":
|
|
10966
10966
|
var { path: Un, properties: Qe, newProperties: vr } = i;
|
|
@@ -11001,7 +11001,7 @@ var Sae = { transform(e, t) {
|
|
|
11001
11001
|
var zl = Dn.children.slice(0, Wn), Ju = Dn.children.slice(Wn);
|
|
11002
11002
|
Dn.children = zl, ar = Sd(Sd({}, Gn), {}, { children: Ju });
|
|
11003
11003
|
}
|
|
11004
|
-
if ($r.children.splice(ld + 1, 0, ar), o) for (var [Hl, Oo] of V.points(o)) o[Oo] =
|
|
11004
|
+
if ($r.children.splice(ld + 1, 0, ar), o) for (var [Hl, Oo] of V.points(o)) o[Oo] = _e.transform(Hl, i);
|
|
11005
11005
|
}
|
|
11006
11006
|
return o;
|
|
11007
11007
|
})(e, n, t);
|
|
@@ -11041,7 +11041,7 @@ var Oae = { insertNodes(e, t) {
|
|
|
11041
11041
|
var [, c] = V.edges(a), f = S.pointRef(e, c);
|
|
11042
11042
|
R.delete(e, { at: a }), a = f.unref();
|
|
11043
11043
|
}
|
|
11044
|
-
if (
|
|
11044
|
+
if (_e.isPoint(a)) {
|
|
11045
11045
|
u == null && (u = fe.isText(l) ? (C) => fe.isText(C) : e.isInline(l) ? (C) => fe.isText(C) || S.isInline(e, C) : (C) => S.isBlock(e, C));
|
|
11046
11046
|
var [d] = S.nodes(e, { at: a.path, match: u, mode: i, voids: o });
|
|
11047
11047
|
if (!d) return;
|
|
@@ -11358,7 +11358,7 @@ var Tae = { collapse(e) {
|
|
|
11358
11358
|
}, setSelection(e, t) {
|
|
11359
11359
|
var { selection: n } = e, r = {}, o = {};
|
|
11360
11360
|
if (n) {
|
|
11361
|
-
for (var i in t) (i === "anchor" && t.anchor != null && !
|
|
11361
|
+
for (var i in t) (i === "anchor" && t.anchor != null && !_e.equals(t.anchor, n.anchor) || i === "focus" && t.focus != null && !_e.equals(t.focus, n.focus) || i !== "anchor" && i !== "focus" && t[i] !== n[i]) && (r[i] = n[i], o[i] = t[i]);
|
|
11362
11362
|
Object.keys(r).length > 0 && e.apply({ type: "set_selection", properties: r, newProperties: o });
|
|
11363
11363
|
}
|
|
11364
11364
|
} }, Pae = { delete(e) {
|
|
@@ -11366,7 +11366,7 @@ var Tae = { collapse(e) {
|
|
|
11366
11366
|
S.withoutNormalizing(e, () => {
|
|
11367
11367
|
var { reverse: n = !1, unit: r = "character", distance: o = 1, voids: i = !1 } = t, { at: a = e.selection, hanging: u = !1 } = t;
|
|
11368
11368
|
if (a) {
|
|
11369
|
-
if (V.isRange(a) && V.isCollapsed(a) && (a = a.anchor),
|
|
11369
|
+
if (V.isRange(a) && V.isCollapsed(a) && (a = a.anchor), _e.isPoint(a)) {
|
|
11370
11370
|
var s = S.void(e, { at: a, mode: "highest" });
|
|
11371
11371
|
if (!i && s) {
|
|
11372
11372
|
var [, l] = s;
|
|
@@ -11380,7 +11380,7 @@ var Tae = { collapse(e) {
|
|
|
11380
11380
|
else if (!V.isCollapsed(a)) {
|
|
11381
11381
|
if (!u) {
|
|
11382
11382
|
var [, f] = V.edges(a), d = S.end(e, []);
|
|
11383
|
-
|
|
11383
|
+
_e.equals(f, d) || (a = S.unhangRange(e, a, { voids: i }));
|
|
11384
11384
|
}
|
|
11385
11385
|
var [p, m] = V.edges(a), g = S.above(e, { match: (Ee) => S.isBlock(e, Ee), at: p, voids: i }), v = S.above(e, { match: (Ee) => S.isBlock(e, Ee), at: m, voids: i }), y = g && v && !N.equals(g[1], v[1]), h = N.equals(p.path, m.path), b = i ? null : S.void(e, { at: p, mode: "highest" }), w = i ? null : S.void(e, { at: m, mode: "highest" });
|
|
11386
11386
|
if (b) {
|
|
@@ -17984,7 +17984,7 @@ function ahe(e) {
|
|
|
17984
17984
|
var b = h.selection;
|
|
17985
17985
|
if (b == null) return !1;
|
|
17986
17986
|
var w = tt(V.edges(b), 2), E = w[0], C = w[1], x = tt(S.edges(h, []), 2), A = x[0], D = x[1];
|
|
17987
|
-
return !(!
|
|
17987
|
+
return !(!_e.equals(E, A) || !_e.equals(C, D));
|
|
17988
17988
|
}, h.selectAll = function() {
|
|
17989
17989
|
var b = S.start(h, []), w = S.end(h, []);
|
|
17990
17990
|
R.select(h, { anchor: b, focus: w });
|
|
@@ -21243,7 +21243,7 @@ var Ome = { renderElems: [bme], elemsToHtml: [{ type: "blockquote", elemToHtml:
|
|
|
21243
21243
|
}, universal: !0 }), 1)[0];
|
|
21244
21244
|
if (!i) return t();
|
|
21245
21245
|
var a = i[0], u = k.findPath(e, a), s = S.end(e, u);
|
|
21246
|
-
if (
|
|
21246
|
+
if (_e.equals(s, o.focus)) {
|
|
21247
21247
|
var l = oe.string(a);
|
|
21248
21248
|
if (l && l.slice(-1) === `
|
|
21249
21249
|
`) return e.deleteBackward("character"), void R.insertNodes(r, { type: "paragraph", children: [{ text: "" }] }, { mode: "highest" });
|
|
@@ -24222,7 +24222,7 @@ function hN(e) {
|
|
|
24222
24222
|
} }), 1)[0];
|
|
24223
24223
|
if (n) {
|
|
24224
24224
|
var r = Yo(n, 2)[1], o = S.start(e, r);
|
|
24225
|
-
if (
|
|
24225
|
+
if (_e.equals(t.anchor, o)) return !0;
|
|
24226
24226
|
}
|
|
24227
24227
|
return !1;
|
|
24228
24228
|
}
|
|
@@ -24466,7 +24466,7 @@ var lq = pl(function(e) {
|
|
|
24466
24466
|
if (u.isDisabled()) return !1;
|
|
24467
24467
|
var l = u.selection;
|
|
24468
24468
|
if (l == null || V.isCollapsed(l)) return !0;
|
|
24469
|
-
var c = l.anchor, f = l.focus, d = k.findPath(u, s), p = S.start(u, d), m = S.end(u, d), g =
|
|
24469
|
+
var c = l.anchor, f = l.focus, d = k.findPath(u, s), p = S.start(u, d), m = S.end(u, d), g = _e.compare(c, m) <= 0 && _e.compare(c, p) >= 0, v = _e.compare(f, m) <= 0 && _e.compare(f, p) >= 0;
|
|
24470
24470
|
return !!(g && v && N.equals(c.path.slice(0, 3), f.path.slice(0, 3)));
|
|
24471
24471
|
}(n, e), o = e.width, i = o === void 0 ? "auto" : o, a = ke("div", { className: "table-container", "data-selected": k.isNodeSelected(n, e), on: { mousedown: function(u) {
|
|
24472
24472
|
if (u.target.tagName === "DIV" && u.preventDefault(), !n.isDisabled()) {
|
|
@@ -29722,7 +29722,7 @@ const CDe = /* @__PURE__ */ bZ(EDe), SDe = { class: "group-box" }, ADe = {
|
|
|
29722
29722
|
onClick: (b) => c(y.downloadPath)
|
|
29723
29723
|
}, {
|
|
29724
29724
|
default: Ae(() => [
|
|
29725
|
-
ce("span", PDe,
|
|
29725
|
+
ce("span", PDe, ze(y.originalName), 1)
|
|
29726
29726
|
]),
|
|
29727
29727
|
_: 2
|
|
29728
29728
|
}, 1032, ["onClick"]),
|
|
@@ -29772,7 +29772,7 @@ const CDe = /* @__PURE__ */ bZ(EDe), SDe = { class: "group-box" }, ADe = {
|
|
|
29772
29772
|
style: go(`width:${parseInt(e.width + "")}px`)
|
|
29773
29773
|
}, {
|
|
29774
29774
|
default: Ae(() => [
|
|
29775
|
-
lt(
|
|
29775
|
+
lt(ze(e.buttonTitle), 1)
|
|
29776
29776
|
]),
|
|
29777
29777
|
_: 1
|
|
29778
29778
|
}, 8, ["disabled", "style"])
|
|
@@ -29908,9 +29908,9 @@ const CDe = /* @__PURE__ */ bZ(EDe), SDe = { class: "group-box" }, ADe = {
|
|
|
29908
29908
|
}, [
|
|
29909
29909
|
ce("div", NDe, [
|
|
29910
29910
|
L(le(YA)),
|
|
29911
|
-
lt(" " +
|
|
29911
|
+
lt(" " + ze(e.buttonTitle), 1)
|
|
29912
29912
|
]),
|
|
29913
|
-
ce("div", RDe,
|
|
29913
|
+
ce("div", RDe, ze(e.placeholder), 1)
|
|
29914
29914
|
], 4)
|
|
29915
29915
|
]),
|
|
29916
29916
|
_: 1
|
|
@@ -29921,7 +29921,7 @@ const CDe = /* @__PURE__ */ bZ(EDe), SDe = { class: "group-box" }, ADe = {
|
|
|
29921
29921
|
}), MDe = /* @__PURE__ */ An(LDe, [["__scopeId", "data-v-db0df090"]]), _De = { class: "change-record" }, zDe = {
|
|
29922
29922
|
key: 1,
|
|
29923
29923
|
class: "mt-[20px]"
|
|
29924
|
-
}, HDe = { class: "log-item" }, UDe = { class: "log-hedaer" }, VDe = { class: "log-title" }, WDe = { class: "log-name" }, GDe = { class: "log-content" }, qDe =
|
|
29924
|
+
}, HDe = { class: "log-item" }, UDe = { class: "log-hedaer" }, VDe = { class: "log-title" }, WDe = { class: "log-name" }, GDe = { class: "log-content" }, qDe = ["innerHTML"], YDe = {
|
|
29925
29925
|
key: 2,
|
|
29926
29926
|
style: { "maring-top": "20px" }
|
|
29927
29927
|
}, KDe = {
|
|
@@ -29950,7 +29950,7 @@ const CDe = /* @__PURE__ */ bZ(EDe), SDe = { class: "group-box" }, ADe = {
|
|
|
29950
29950
|
orientation: "left"
|
|
29951
29951
|
}, {
|
|
29952
29952
|
default: Ae(() => [
|
|
29953
|
-
lt(
|
|
29953
|
+
lt(ze(e.title), 1)
|
|
29954
29954
|
]),
|
|
29955
29955
|
_: 1
|
|
29956
29956
|
})) : vt("", !0),
|
|
@@ -29964,11 +29964,14 @@ const CDe = /* @__PURE__ */ bZ(EDe), SDe = { class: "group-box" }, ADe = {
|
|
|
29964
29964
|
default: Ae(() => [
|
|
29965
29965
|
ce("div", HDe, [
|
|
29966
29966
|
ce("div", UDe, [
|
|
29967
|
-
ce("div", VDe,
|
|
29968
|
-
ce("div", WDe, "变更人:" +
|
|
29967
|
+
ce("div", VDe, ze(u.createTimeLabel), 1),
|
|
29968
|
+
ce("div", WDe, "变更人:" + ze(u.userName || u.creatorName), 1)
|
|
29969
29969
|
]),
|
|
29970
29970
|
ce("div", GDe, [
|
|
29971
|
-
u.contentList ? (re(!0), Ce(er, { key: 0 }, Ci(u.contentList, (l, c) => (re(), Ce("p", { key: c },
|
|
29971
|
+
u.contentList ? (re(!0), Ce(er, { key: 0 }, Ci(u.contentList, (l, c) => (re(), Ce("p", { key: c }, ze(u.contentList.length > 1 ? `${c + 1}、` : "") + ze(l), 1))), 128)) : (re(), Ce("div", {
|
|
29972
|
+
key: 1,
|
|
29973
|
+
innerHTML: u.action
|
|
29974
|
+
}, null, 8, qDe))
|
|
29972
29975
|
])
|
|
29973
29976
|
])
|
|
29974
29977
|
]),
|
|
@@ -29983,7 +29986,7 @@ const CDe = /* @__PURE__ */ bZ(EDe), SDe = { class: "group-box" }, ADe = {
|
|
|
29983
29986
|
]);
|
|
29984
29987
|
};
|
|
29985
29988
|
}
|
|
29986
|
-
}, XDe = /* @__PURE__ */ An(KDe, [["__scopeId", "data-v-
|
|
29989
|
+
}, XDe = /* @__PURE__ */ An(KDe, [["__scopeId", "data-v-fa46a40d"]]), JDe = async (e) => Fi.get(`${kt.VITE_GLOB_BASE_URL}/crm/follow-up-record/list`, { params: e }), QDe = async (e) => Fi.delete(`${kt.VITE_GLOB_BASE_URL}/crm/follow-up-record/delete`, { params: e }), ZDe = { class: "follow-up-record" }, $De = {
|
|
29987
29990
|
key: 1,
|
|
29988
29991
|
class: "mt-[20px]"
|
|
29989
29992
|
}, eOe = { class: "log-item" }, tOe = { class: "log-hedaer" }, nOe = { class: "log-title" }, rOe = { class: "log-name" }, oOe = { class: "log-content" }, iOe = { key: 0 }, aOe = { key: 1 }, uOe = { key: 2 }, sOe = { key: 3 }, lOe = { key: 4 }, cOe = { key: 5 }, fOe = { class: "flex" }, dOe = {
|
|
@@ -30039,7 +30042,7 @@ const CDe = /* @__PURE__ */ bZ(EDe), SDe = { class: "group-box" }, ADe = {
|
|
|
30039
30042
|
orientation: "left"
|
|
30040
30043
|
}, {
|
|
30041
30044
|
default: Ae(() => [
|
|
30042
|
-
lt(
|
|
30045
|
+
lt(ze(e.title), 1)
|
|
30043
30046
|
]),
|
|
30044
30047
|
_: 1
|
|
30045
30048
|
})) : vt("", !0),
|
|
@@ -30053,16 +30056,16 @@ const CDe = /* @__PURE__ */ bZ(EDe), SDe = { class: "group-box" }, ADe = {
|
|
|
30053
30056
|
default: Ae(() => [
|
|
30054
30057
|
ce("div", eOe, [
|
|
30055
30058
|
ce("div", tOe, [
|
|
30056
|
-
ce("div", nOe,
|
|
30057
|
-
ce("div", rOe,
|
|
30059
|
+
ce("div", nOe, ze(g.createTime), 1),
|
|
30060
|
+
ce("div", rOe, ze(g.creatorName), 1)
|
|
30058
30061
|
]),
|
|
30059
30062
|
ce("div", oOe, [
|
|
30060
|
-
g.followTime ? (re(), Ce("p", iOe, "跟进时间:" +
|
|
30061
|
-
g.followUpPurpose ? (re(), Ce("p", aOe, " 跟进目的:" +
|
|
30062
|
-
g.remark ? (re(), Ce("p", uOe, "跟进内容:" +
|
|
30063
|
-
g.followResult ? (re(), Ce("p", sOe, "跟进结果:" +
|
|
30064
|
-
g.address ? (re(), Ce("p", lOe, "地址:" +
|
|
30065
|
-
g.travelPartnerName ? (re(), Ce("p", cOe, " 同行人:" +
|
|
30063
|
+
g.followTime ? (re(), Ce("p", iOe, "跟进时间:" + ze(g.followTime), 1)) : vt("", !0),
|
|
30064
|
+
g.followUpPurpose ? (re(), Ce("p", aOe, " 跟进目的:" + ze(g.followUpPurpose), 1)) : vt("", !0),
|
|
30065
|
+
g.remark ? (re(), Ce("p", uOe, "跟进内容:" + ze(g.remark), 1)) : vt("", !0),
|
|
30066
|
+
g.followResult ? (re(), Ce("p", sOe, "跟进结果:" + ze(g.followResult), 1)) : vt("", !0),
|
|
30067
|
+
g.address ? (re(), Ce("p", lOe, "地址:" + ze(g.address), 1)) : vt("", !0),
|
|
30068
|
+
g.travelPartnerName ? (re(), Ce("p", cOe, " 同行人:" + ze(g.travelPartnerName), 1)) : vt("", !0)
|
|
30066
30069
|
]),
|
|
30067
30070
|
ce("div", fOe, [
|
|
30068
30071
|
g.isEdit ? (re(), At(c, {
|
|
@@ -30193,7 +30196,7 @@ const CDe = /* @__PURE__ */ bZ(EDe), SDe = { class: "group-box" }, ADe = {
|
|
|
30193
30196
|
width: e.layout === "horizontal" ? "100%" : "auto"
|
|
30194
30197
|
})
|
|
30195
30198
|
}, [
|
|
30196
|
-
lt(
|
|
30199
|
+
lt(ze(e.label) + " ", 1),
|
|
30197
30200
|
e.help ? (re(), At(r, {
|
|
30198
30201
|
key: 0,
|
|
30199
30202
|
title: e.help
|
|
@@ -30206,7 +30209,7 @@ const CDe = /* @__PURE__ */ bZ(EDe), SDe = { class: "group-box" }, ADe = {
|
|
|
30206
30209
|
], 4),
|
|
30207
30210
|
ce("div", gOe, [
|
|
30208
30211
|
e.value ? (re(), Ce(er, { key: 0 }, [
|
|
30209
|
-
lt(
|
|
30212
|
+
lt(ze(e.value), 1)
|
|
30210
30213
|
], 64)) : OA(t.$slots, "default", { key: 1 }, void 0, !0)
|
|
30211
30214
|
])
|
|
30212
30215
|
], 4);
|
|
@@ -30229,7 +30232,7 @@ const CDe = /* @__PURE__ */ bZ(EDe), SDe = { class: "group-box" }, ADe = {
|
|
|
30229
30232
|
setup(e) {
|
|
30230
30233
|
return (t, n) => (re(), Ce("div", yOe, [
|
|
30231
30234
|
ce("div", bOe, [
|
|
30232
|
-
lt(
|
|
30235
|
+
lt(ze(e.title) + " ", 1),
|
|
30233
30236
|
ce("div", {
|
|
30234
30237
|
class: "content-list",
|
|
30235
30238
|
style: go(`grid-template-columns: repeat(${e.span}, 1fr)`)
|
|
@@ -30519,9 +30522,9 @@ const CDe = /* @__PURE__ */ bZ(EDe), SDe = { class: "group-box" }, ADe = {
|
|
|
30519
30522
|
])) : vt("", !0),
|
|
30520
30523
|
ce("div", s7e, [
|
|
30521
30524
|
ce("div", l7e, [
|
|
30522
|
-
ce("div", c7e,
|
|
30523
|
-
ce("div", f7e,
|
|
30524
|
-
ce("div", d7e,
|
|
30525
|
+
ce("div", c7e, ze(e.userInfo.nickname), 1),
|
|
30526
|
+
ce("div", f7e, ze(e.userInfo.postName || "未知岗位") + " | " + ze(e.userInfo.deptName || "全公司"), 1),
|
|
30527
|
+
ce("div", d7e, ze(e.userInfo.jobNumber || "--"), 1)
|
|
30525
30528
|
]),
|
|
30526
30529
|
ce("div", p7e, [
|
|
30527
30530
|
e.userInfo.avatar ? (re(), Ce("img", {
|
|
@@ -30534,12 +30537,12 @@ const CDe = /* @__PURE__ */ bZ(EDe), SDe = { class: "group-box" }, ADe = {
|
|
|
30534
30537
|
ce("div", v7e, [
|
|
30535
30538
|
ce("div", m7e, [
|
|
30536
30539
|
n[0] || (n[0] = ce("div", { class: "user-entry-label" }, "入职年限", -1)),
|
|
30537
|
-
ce("div", y7e,
|
|
30540
|
+
ce("div", y7e, ze(e.userInfo.serviceLength || "--"), 1)
|
|
30538
30541
|
]),
|
|
30539
30542
|
L(o, { type: "vertical" }),
|
|
30540
30543
|
ce("div", b7e, [
|
|
30541
30544
|
n[1] || (n[1] = ce("div", { class: "user-entry-label" }, "入职日期", -1)),
|
|
30542
|
-
ce("div", w7e,
|
|
30545
|
+
ce("div", w7e, ze(e.userInfo.entryTimeLabel || "--"), 1)
|
|
30543
30546
|
]),
|
|
30544
30547
|
L(o, { type: "vertical" }),
|
|
30545
30548
|
ce("div", x7e, [
|
|
@@ -30555,11 +30558,11 @@ const CDe = /* @__PURE__ */ bZ(EDe), SDe = { class: "group-box" }, ADe = {
|
|
|
30555
30558
|
ce("div", C7e, [
|
|
30556
30559
|
ce("div", S7e, [
|
|
30557
30560
|
n[3] || (n[3] = ce("div", { class: "user-contact-label" }, "手机号码", -1)),
|
|
30558
|
-
ce("div", A7e,
|
|
30561
|
+
ce("div", A7e, ze(e.userInfo.mobile || "--"), 1)
|
|
30559
30562
|
]),
|
|
30560
30563
|
ce("div", D7e, [
|
|
30561
30564
|
n[4] || (n[4] = ce("div", { class: "user-contact-label" }, "工作邮箱", -1)),
|
|
30562
|
-
ce("div", O7e,
|
|
30565
|
+
ce("div", O7e, ze(e.userInfo.email || "--"), 1)
|
|
30563
30566
|
])
|
|
30564
30567
|
]),
|
|
30565
30568
|
n[5] || (n[5] = ce("div", { class: "star-info" }, null, -1))
|
|
@@ -30634,7 +30637,7 @@ const I7e = { class: "avatar" }, j7e = ["src"], N7e = { key: 1 }, R7e = {
|
|
|
30634
30637
|
key: 0,
|
|
30635
30638
|
src: e.userInfo.avatar,
|
|
30636
30639
|
alt: ""
|
|
30637
|
-
}, null, 8, j7e)) : (re(), Ce("span", N7e,
|
|
30640
|
+
}, null, 8, j7e)) : (re(), Ce("span", N7e, ze(e.userInfo.nickname.slice(0, 1)), 1)),
|
|
30638
30641
|
e.isEdit ? (re(), Ce("div", R7e, [
|
|
30639
30642
|
ce("div", {
|
|
30640
30643
|
class: "close-tag",
|
|
@@ -30644,7 +30647,7 @@ const I7e = { class: "avatar" }, j7e = ["src"], N7e = { key: 1 }, R7e = {
|
|
|
30644
30647
|
])
|
|
30645
30648
|
])) : vt("", !0)
|
|
30646
30649
|
]),
|
|
30647
|
-
ce("div", L7e,
|
|
30650
|
+
ce("div", L7e, ze(e.userInfo.nickname.length > 5 ? e.userInfo.nickname.slice(0, 5) + "..." : e.userInfo.nickname), 1)
|
|
30648
30651
|
], 2)
|
|
30649
30652
|
]),
|
|
30650
30653
|
_: 1
|
|
@@ -30716,10 +30719,10 @@ const I7e = { class: "avatar" }, j7e = ["src"], N7e = { key: 1 }, R7e = {
|
|
|
30716
30719
|
}, {
|
|
30717
30720
|
title: Ae(({ name: b }) => [
|
|
30718
30721
|
b.indexOf(le(i)) > -1 ? (re(), Ce("span", H7e, [
|
|
30719
|
-
lt(
|
|
30720
|
-
ce("span", U7e,
|
|
30721
|
-
lt(" " +
|
|
30722
|
-
])) : (re(), Ce("span", V7e,
|
|
30722
|
+
lt(ze(b.substring(0, b.indexOf(le(i)))) + " ", 1),
|
|
30723
|
+
ce("span", U7e, ze(le(i)), 1),
|
|
30724
|
+
lt(" " + ze(b.substring(b.indexOf(le(i)) + le(i).length)), 1)
|
|
30725
|
+
])) : (re(), Ce("span", V7e, ze(b), 1))
|
|
30723
30726
|
]),
|
|
30724
30727
|
_: 1
|
|
30725
30728
|
}, 8, ["tree-data", "autoExpandParent", "expanded-keys"])
|
|
@@ -30778,7 +30781,7 @@ const I7e = { class: "avatar" }, j7e = ["src"], N7e = { key: 1 }, R7e = {
|
|
|
30778
30781
|
});
|
|
30779
30782
|
let { open: a, formState: u, selectedRowKeys: s, table: l, selectUserList: c, oldUserList: f } = dr(i);
|
|
30780
30783
|
const d = (C = []) => {
|
|
30781
|
-
a.value = !0, f.value = C, p({ pageNo: 1 });
|
|
30784
|
+
a.value = !0, f.value = C, c.value = [], p({ pageNo: 1 });
|
|
30782
30785
|
let x = f.value.map((A) => A.id);
|
|
30783
30786
|
s.value = x;
|
|
30784
30787
|
}, p = async (C) => {
|
|
@@ -30950,7 +30953,7 @@ const I7e = { class: "avatar" }, j7e = ["src"], N7e = { key: 1 }, R7e = {
|
|
|
30950
30953
|
]),
|
|
30951
30954
|
ce("div", J7e, [
|
|
30952
30955
|
ce("div", Q7e, [
|
|
30953
|
-
ce("div", Z7e, "已选用户(" +
|
|
30956
|
+
ce("div", Z7e, "已选用户(" + ze(le(f).length) + ")", 1),
|
|
30954
30957
|
le(f).length ? (re(), Ce("div", $7e, [
|
|
30955
30958
|
(re(!0), Ce(er, null, Ci(le(f), (P) => (re(), At(H, {
|
|
30956
30959
|
key: P.id,
|
|
@@ -30960,7 +30963,7 @@ const I7e = { class: "avatar" }, j7e = ["src"], N7e = { key: 1 }, R7e = {
|
|
|
30960
30963
|
closable: ""
|
|
30961
30964
|
}, {
|
|
30962
30965
|
default: Ae(() => [
|
|
30963
|
-
lt(
|
|
30966
|
+
lt(ze(P.nickname.length > 5 ? P.nickname.slice(0, 5) + "..." : P.nickname), 1)
|
|
30964
30967
|
]),
|
|
30965
30968
|
_: 2
|
|
30966
30969
|
}, 1032, ["onClose"]))), 128))
|
|
@@ -30970,7 +30973,7 @@ const I7e = { class: "avatar" }, j7e = ["src"], N7e = { key: 1 }, R7e = {
|
|
|
30970
30973
|
}))
|
|
30971
30974
|
]),
|
|
30972
30975
|
ce("div", e9e, [
|
|
30973
|
-
ce("div", t9e, "新增选择用户(" +
|
|
30976
|
+
ce("div", t9e, "新增选择用户(" + ze(le(c).length) + ")", 1),
|
|
30974
30977
|
le(c).length ? (re(), Ce("div", n9e, [
|
|
30975
30978
|
(re(!0), Ce(er, null, Ci(le(c), (P) => (re(), At(H, {
|
|
30976
30979
|
key: P.id,
|
|
@@ -30980,7 +30983,7 @@ const I7e = { class: "avatar" }, j7e = ["src"], N7e = { key: 1 }, R7e = {
|
|
|
30980
30983
|
onClose: (M) => h(P, "selectUserList")
|
|
30981
30984
|
}, {
|
|
30982
30985
|
default: Ae(() => [
|
|
30983
|
-
lt(
|
|
30986
|
+
lt(ze(P.nickname.length > 5 ? P.nickname.slice(0, 5) + "..." : P.nickname), 1)
|
|
30984
30987
|
]),
|
|
30985
30988
|
_: 2
|
|
30986
30989
|
}, 1032, ["onClose"]))), 128))
|
|
@@ -30996,7 +30999,7 @@ const I7e = { class: "avatar" }, j7e = ["src"], N7e = { key: 1 }, R7e = {
|
|
|
30996
30999
|
}, 8, ["open"]);
|
|
30997
31000
|
};
|
|
30998
31001
|
}
|
|
30999
|
-
}), kK = /* @__PURE__ */ An(r9e, [["__scopeId", "data-v-
|
|
31002
|
+
}), kK = /* @__PURE__ */ An(r9e, [["__scopeId", "data-v-266640da"]]), o9e = { class: "select-user" }, i9e = { class: "tag-list" }, a9e = {
|
|
31000
31003
|
class: "more-content",
|
|
31001
31004
|
style: { display: "flex" }
|
|
31002
31005
|
}, u9e = { class: "more-btn" }, s9e = /* @__PURE__ */ $e({
|
|
@@ -31083,7 +31086,7 @@ const I7e = { class: "avatar" }, j7e = ["src"], N7e = { key: 1 }, R7e = {
|
|
|
31083
31086
|
})
|
|
31084
31087
|
}, [
|
|
31085
31088
|
L(le($A)),
|
|
31086
|
-
lt(" " +
|
|
31089
|
+
lt(" " + ze(e.addButtonText), 1)
|
|
31087
31090
|
], 4)) : vt("", !0),
|
|
31088
31091
|
ce("div", i9e, [
|
|
31089
31092
|
(re(!0), Ce(er, null, Ci(le(i), (g, v) => (re(), Ce(er, {
|
|
@@ -31118,7 +31121,7 @@ const I7e = { class: "avatar" }, j7e = ["src"], N7e = { key: 1 }, R7e = {
|
|
|
31118
31121
|
])
|
|
31119
31122
|
]),
|
|
31120
31123
|
default: Ae(() => [
|
|
31121
|
-
ce("div", u9e, "+ " +
|
|
31124
|
+
ce("div", u9e, "+ " + ze(le(i).length - e.maxLength), 1)
|
|
31122
31125
|
]),
|
|
31123
31126
|
_: 1
|
|
31124
31127
|
})) : vt("", !0),
|