ss-component-new 1.1.151 → 1.1.152
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/{crypto-BRyGpjGR.js → JSEncrypt-B36c1iN5.js} +227 -248
- package/dist/{crypto-CRbcEKIz.cjs → JSEncrypt-IYbV4kRj.cjs} +11 -11
- package/dist/array-B5nxRJHp.cjs +7 -0
- package/dist/array-C-lwCO1i.js +2202 -0
- package/dist/{cloneDeep-Cm2ut66T.js → cloneDeep-CgCzY78k.js} +48 -54
- package/dist/cloneDeep-CxrTGRsH.cjs +1 -0
- package/dist/{index-DcuEMWMM.js → index-8K6mkF_E.js} +5 -5
- package/dist/{index-BH36LQch.js → index-9KKNbfsI.js} +1 -1
- package/dist/{index-DyhHmlGD.js → index-AGAoe6VG.js} +1 -1
- package/dist/{index-CcxZZo6K.cjs → index-B3mhZiQc.cjs} +1 -1
- package/dist/{index-DqOy9nnX.js → index-BE7Nv7hp.js} +4 -4
- package/dist/{index-CsK9LWak.cjs → index-BTrQjr1x.cjs} +1 -1
- package/dist/{index-BQK2DuaH.js → index-BZRHBGvW.js} +57 -57
- package/dist/{index-dm-zOhNm.cjs → index-BZRbicur.cjs} +1 -1
- package/dist/{index-BUkyNn3m.cjs → index-BbsmiTkh.cjs} +1 -1
- package/dist/{index-BgY5srT7.cjs → index-BliW6t9E.cjs} +1 -1
- package/dist/{index-DoHr_nug.js → index-C9MD_Vo2.js} +4 -4
- package/dist/{index-BHjs6gMr.js → index-CH33xxMO.js} +2 -2
- package/dist/{index-wsyih2HQ.cjs → index-CJclws9U.cjs} +1 -1
- package/dist/{index-BZaGIyxe.cjs → index-CJdkK-Tq.cjs} +1 -1
- package/dist/index-CUmMX7CV.cjs +1 -0
- package/dist/{index-GvkFEReE.js → index-CZWm6qbu.js} +4 -4
- package/dist/{index-Bel0p329.js → index-ClNLhrtG.js} +39 -39
- package/dist/{index-Ckrm7F4u.js → index-Cqkb2uUU.js} +1 -1
- package/dist/{index-D-6CVrZh.js → index-D2EJHSnu.js} +1 -1
- package/dist/{index-Cxz9ADeg.cjs → index-D8EolGmN.cjs} +3 -3
- package/dist/{index-ODNyDte9.js → index-D91Wj22J.js} +5 -5
- package/dist/{index-C8mv9PET.js → index-DAGxCefs.js} +6 -6
- package/dist/{index-YajCTD4A.cjs → index-DFHrtGuu.cjs} +1 -1
- package/dist/{index-Ch7zPabE.cjs → index-DKGLFy-2.cjs} +1 -1
- package/dist/{index-CtTbyHOu.js → index-DODmz1Q7.js} +8 -9
- package/dist/{index-DjlDuRvf.cjs → index-DSzPe1Z2.cjs} +1 -1
- package/dist/index-DUWRIeGS.cjs +1 -0
- package/dist/{index-Nb7mXZOf.js → index-DVTwGhbs.js} +3 -3
- package/dist/{index-D9hjyDNL.cjs → index-D_RdY--B.cjs} +1 -1
- package/dist/{index-BaSc02sA.cjs → index-DrHrIV8U.cjs} +1 -1
- package/dist/{index-D_JFO4Ed.js → index-DwqHfSsz.js} +60 -60
- package/dist/{index-DORM2j0-.js → index-Dx-wXRtL.js} +262 -249
- package/dist/{index-CMue5Zek.cjs → index-DxlKtIWw.cjs} +1 -1
- package/dist/{index-C_Ek6N_z.js → index-F6nuN5lZ.js} +4 -4
- package/dist/{index-Cy23PxmQ.cjs → index-MpEh0WVC.cjs} +1 -1
- package/dist/{index-BlNU-ya_.js → index-d4tpMS9t.js} +5 -5
- package/dist/{index-C1sMNKRi.cjs → index-xMHtCwmX.cjs} +1 -1
- package/dist/{index-DXQEaxeL.cjs → index-y1F5FFwJ.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-ClNwGHXE.cjs → index.vue_vue_type_script_setup_true_lang-COi-xyWc.cjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CuQ3xcyC.js → index.vue_vue_type_script_setup_true_lang-SUEsaZWz.js} +2 -2
- package/dist/index.vue_vue_type_style_index_0_scoped_baf99455_lang-2MY1GUPK.cjs +1 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_baf99455_lang-CQWVBok8.js +9 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-ClRL5aRq.cjs → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-BhPhB5YO.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-BAlbShP-.js → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-Drc1rCns.js} +3 -3
- package/dist/{login-DnBDEGHt.js → login-C63RqIyU.js} +2 -2
- package/dist/{login-aDjal4KC.cjs → login-DtKN5c4A.cjs} +1 -1
- package/dist/{main-Do8E5J_V.js → main-Cz1fAcOm.js} +4 -4
- package/dist/{main-ChEDt98s.cjs → main-Sh9ep4jh.cjs} +1 -1
- package/dist/{request-RC5ET7Nr.js → request-BLCreYdS.js} +1 -1
- package/dist/{request-BId7xEpo.cjs → request-DyC7pN3w.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +6 -6
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +1 -1
- package/package.json +1 -1
- package/dist/array-C09NLiVl.cjs +0 -7
- package/dist/array-CqhTXR28.js +0 -2348
- package/dist/cloneDeep-B6Av9vYT.cjs +0 -1
- package/dist/index-1TcDjOsz.cjs +0 -1
- package/dist/index-LX4uBOi3.cjs +0 -1
- package/dist/index.vue_vue_type_style_index_0_scoped_baf99455_lang-FY_pjpOg.js +0 -478
- package/dist/index.vue_vue_type_style_index_0_scoped_baf99455_lang-W4auoQ9V.cjs +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ref as k, watch as L, nextTick as oa, resolveComponent as Ve, createBlock as ce, openBlock as
|
|
2
|
-
import { g as ue, d as ta, c as ua, u as da, p as Ie } from "./index-
|
|
3
|
-
import {
|
|
4
|
-
import { s as Ue, a as fa, b as pa } from "./index-
|
|
5
|
-
import { c as A } from "./cloneDeep-
|
|
1
|
+
import { ref as k, watch as L, nextTick as oa, resolveComponent as Ve, createBlock as ce, openBlock as j, withCtx as V, createElementVNode as S, renderSlot as He, onMounted as Me, createElementBlock as P, createCommentVNode as Re, Fragment as Pe, renderList as We, normalizeStyle as ze, toDisplayString as ne, createVNode as X, unref as sa, createSlots as ra } from "vue";
|
|
2
|
+
import { g as ue, d as ta, c as ua, u as da, p as Ie } from "./index-9KKNbfsI.js";
|
|
3
|
+
import { $ as ca } from "./index-DwqHfSsz.js";
|
|
4
|
+
import { s as Ue, a as fa, b as pa } from "./index-C9MD_Vo2.js";
|
|
5
|
+
import { c as A } from "./cloneDeep-CgCzY78k.js";
|
|
6
6
|
import { _ as Ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
import { d as Je, u as ha, s as de } from "./menu-XcYMZJLY.js";
|
|
8
8
|
const ya = {
|
|
@@ -40,7 +40,7 @@ const ya = {
|
|
|
40
40
|
{ deep: !0, immediate: !0 }
|
|
41
41
|
), (o, b) => {
|
|
42
42
|
const h = Ve("el-popover");
|
|
43
|
-
return
|
|
43
|
+
return j(), ce(h, {
|
|
44
44
|
visible: a.value,
|
|
45
45
|
placement: "bottom",
|
|
46
46
|
title: t == null ? void 0 : t.title,
|
|
@@ -50,7 +50,7 @@ const ya = {
|
|
|
50
50
|
}, {
|
|
51
51
|
reference: V(() => [
|
|
52
52
|
S("div", null, [
|
|
53
|
-
|
|
53
|
+
He(o.$slots, "reference", {
|
|
54
54
|
ref_key: "referenceRef",
|
|
55
55
|
ref: l
|
|
56
56
|
})
|
|
@@ -58,7 +58,7 @@ const ya = {
|
|
|
58
58
|
]),
|
|
59
59
|
default: V(() => [
|
|
60
60
|
S("div", null, [
|
|
61
|
-
|
|
61
|
+
He(o.$slots, "content")
|
|
62
62
|
])
|
|
63
63
|
]),
|
|
64
64
|
_: 3
|
|
@@ -137,8 +137,8 @@ const ya = {
|
|
|
137
137
|
const e = t, a = r, l = k(!1), o = k([]), b = k([{ label: "取消" }, { label: "确认" }]), h = (v) => {
|
|
138
138
|
e("buttonClick", v);
|
|
139
139
|
}, D = (v) => {
|
|
140
|
-
var
|
|
141
|
-
o.value = (B = (
|
|
140
|
+
var $, B;
|
|
141
|
+
o.value = (B = ($ = qe(A(v))) == null ? void 0 : $.filter((y) => (y == null ? void 0 : y.label) !== "" && (y == null ? void 0 : y.label) !== "操作")) == null ? void 0 : B.map((y) => ({
|
|
142
142
|
label: (y == null ? void 0 : y.label) ?? "",
|
|
143
143
|
value: "",
|
|
144
144
|
name: (y == null ? void 0 : y.prop) ?? "",
|
|
@@ -155,12 +155,12 @@ const ya = {
|
|
|
155
155
|
D(a.columns);
|
|
156
156
|
},
|
|
157
157
|
{ deep: !0, immediate: !0 }
|
|
158
|
-
), (v,
|
|
158
|
+
), (v, $) => {
|
|
159
159
|
var y;
|
|
160
160
|
const B = Ve("el-tooltip");
|
|
161
|
-
return
|
|
162
|
-
a != null && a.buttons && ((y = a == null ? void 0 : a.buttons) == null ? void 0 : y.length) > 0 ? (
|
|
163
|
-
(
|
|
161
|
+
return j(), P("div", ba, [
|
|
162
|
+
a != null && a.buttons && ((y = a == null ? void 0 : a.buttons) == null ? void 0 : y.length) > 0 ? (j(), P("div", ma, [
|
|
163
|
+
(j(!0), P(Pe, null, We(a == null ? void 0 : a.buttons, (T, M) => (j(), P("div", {
|
|
164
164
|
class: "extra-contents",
|
|
165
165
|
key: M
|
|
166
166
|
}, [
|
|
@@ -185,7 +185,7 @@ const ya = {
|
|
|
185
185
|
default: V(() => [
|
|
186
186
|
S("div", {
|
|
187
187
|
class: "button-style",
|
|
188
|
-
onClick:
|
|
188
|
+
onClick: $[0] || ($[0] = (T) => l.value = !l.value)
|
|
189
189
|
}, [
|
|
190
190
|
X(sa(ca))
|
|
191
191
|
])
|
|
@@ -195,7 +195,7 @@ const ya = {
|
|
|
195
195
|
]),
|
|
196
196
|
content: V(() => [
|
|
197
197
|
S("div", Aa, [
|
|
198
|
-
(
|
|
198
|
+
(j(), ce(Ue, {
|
|
199
199
|
rowContents: o.value,
|
|
200
200
|
buttonValue: b.value,
|
|
201
201
|
isRowFlex: !0,
|
|
@@ -293,7 +293,7 @@ const ya = {
|
|
|
293
293
|
let a = r, l = t;
|
|
294
294
|
return (l == null ? void 0 : l.length) === 0 ? a.children = e : a.children = (o = a.children) == null ? void 0 : o.map((b) => (b.id.toString() === (l == null ? void 0 : l[0]) && (l == null || l.shift(), b = Ze(b, l, e)), b)), a;
|
|
295
295
|
}, Ba = async (r, t, e = "") => {
|
|
296
|
-
var v,
|
|
296
|
+
var v, $, B, y, T, M;
|
|
297
297
|
const a = await ue({
|
|
298
298
|
key: {
|
|
299
299
|
pageKey: r,
|
|
@@ -315,7 +315,7 @@ const ya = {
|
|
|
315
315
|
})), h = await Promise.all(b), D = [];
|
|
316
316
|
h == null || h.forEach((C) => {
|
|
317
317
|
var I, W, N, z;
|
|
318
|
-
const
|
|
318
|
+
const H = (I = C.data.result) == null ? void 0 : I.map((ee) => {
|
|
319
319
|
const F = ee.value.tableData;
|
|
320
320
|
return F.unshift({
|
|
321
321
|
id: ee.id
|
|
@@ -323,23 +323,23 @@ const ya = {
|
|
|
323
323
|
}), Q = (z = (N = (W = C.data.result) == null ? void 0 : W[0]) == null ? void 0 : N.key) == null ? void 0 : z.tableId;
|
|
324
324
|
D.push({
|
|
325
325
|
key: Q,
|
|
326
|
-
contents:
|
|
326
|
+
contents: H
|
|
327
327
|
});
|
|
328
328
|
});
|
|
329
329
|
const _ = [];
|
|
330
|
-
return (
|
|
330
|
+
return ($ = a.data.result) == null || $.forEach((C) => {
|
|
331
331
|
var I, W;
|
|
332
|
-
const
|
|
332
|
+
const H = C.value.pageData, Q = A(H.compData);
|
|
333
333
|
if (Q.push({
|
|
334
334
|
key: "tableContents",
|
|
335
335
|
contents: (I = D == null ? void 0 : D.find((N) => (N == null ? void 0 : N.key) === C.id)) == null ? void 0 : I.contents
|
|
336
|
-
}),
|
|
337
|
-
_.push(
|
|
336
|
+
}), H.compData = Q, H.id = C.id, ((W = C.key) == null ? void 0 : W.type) !== "method")
|
|
337
|
+
_.push(H);
|
|
338
338
|
else {
|
|
339
339
|
let N;
|
|
340
340
|
N = {
|
|
341
341
|
name: "",
|
|
342
|
-
compData: [
|
|
342
|
+
compData: [H],
|
|
343
343
|
comp: "calculator"
|
|
344
344
|
}, _.push(N);
|
|
345
345
|
}
|
|
@@ -377,10 +377,10 @@ const ya = {
|
|
|
377
377
|
},
|
|
378
378
|
id: a
|
|
379
379
|
});
|
|
380
|
-
}, Na = { class: "table-content" }, Fa = ["onClick"],
|
|
380
|
+
}, Na = { class: "table-content" }, Fa = ["onClick"], $a = { class: "form-content" }, ja = {
|
|
381
381
|
key: 0,
|
|
382
382
|
class: "dialog-footer"
|
|
383
|
-
},
|
|
383
|
+
}, Ha = {
|
|
384
384
|
__name: "index",
|
|
385
385
|
props: {
|
|
386
386
|
itemData: {
|
|
@@ -402,7 +402,7 @@ const ya = {
|
|
|
402
402
|
setup(r, { emit: t }) {
|
|
403
403
|
const e = r, a = t, l = k([]), o = ha(), { activeMenuPath: b } = de(o), h = k([]), D = k("");
|
|
404
404
|
k();
|
|
405
|
-
const _ = k(!0), v = k(0),
|
|
405
|
+
const _ = k(!0), v = k(0), $ = k(!1), B = k(""), y = k(!1), T = k([]), M = k(!1), C = k([]), H = k([]), Q = k(), I = k(), W = Ta(Ie), N = k(), z = va(Ie), { selectIndex: ee, selectMenu: F, selectTitle: oe } = de(z), { selectString: U } = de(W), Ke = k(720), Le = () => {
|
|
406
406
|
y.value = !1;
|
|
407
407
|
}, ea = async (n) => {
|
|
408
408
|
var m, p, f, s, g, w, Z;
|
|
@@ -479,7 +479,7 @@ const ya = {
|
|
|
479
479
|
width: 1,
|
|
480
480
|
isFormColHidden: s == null ? void 0 : s.isFormColHidden
|
|
481
481
|
});
|
|
482
|
-
}), n === "" || !n || (D.value = n == null ? void 0 : n.id),
|
|
482
|
+
}), n === "" || !n || (D.value = n == null ? void 0 : n.id), H.value = c;
|
|
483
483
|
};
|
|
484
484
|
Me(() => {
|
|
485
485
|
});
|
|
@@ -503,7 +503,7 @@ const ya = {
|
|
|
503
503
|
const n = (Z = A(e.itemData)) == null ? void 0 : Z.filter((u) => (u == null ? void 0 : u.key) === "header");
|
|
504
504
|
(G = A(e.itemData)) == null || G.filter((u) => (u == null ? void 0 : u.key) === "tableIndexColumn")[0];
|
|
505
505
|
const c = (K = A(e.itemData)) == null ? void 0 : K.find((u) => (u == null ? void 0 : u.key) === "page"), m = (pe = A(e.itemData)) == null ? void 0 : pe.find((u) => (u == null ? void 0 : u.key) === "rowButton"), p = (he = A(e.itemData)) == null ? void 0 : he.find((u) => (u == null ? void 0 : u.key) === "extraButton"), f = (ye = A(e.itemData)) == null ? void 0 : ye.filter((u) => (u == null ? void 0 : u.key) === "tableContents"), s = (ge = A(e.itemData)) == null ? void 0 : ge.filter((u) => (u == null ? void 0 : u.key) === "tableIndex");
|
|
506
|
-
|
|
506
|
+
$.value = (c == null ? void 0 : c.contents) ?? !0;
|
|
507
507
|
let g = [];
|
|
508
508
|
U.value === "" ? g = n == null ? void 0 : n[0] : g = (n == null ? void 0 : n.find((u) => (u == null ? void 0 : u.selectLabel) === "(" + U.value + ")")) ?? (n == null ? void 0 : n.find((u) => !(u != null && u.selectLabel)));
|
|
509
509
|
let w = [];
|
|
@@ -558,8 +558,8 @@ const ya = {
|
|
|
558
558
|
var q;
|
|
559
559
|
let x = {};
|
|
560
560
|
Array.isArray(d) ? d == null || d.filter((E) => !E.id).forEach((E, le) => {
|
|
561
|
-
var
|
|
562
|
-
(
|
|
561
|
+
var $e, je;
|
|
562
|
+
($e = R == null ? void 0 : R[le]) != null && $e.prop && !Array.isArray(E) ? x[R[le].prop] = E : Array.isArray(E) && (E.find((te) => (te == null ? void 0 : te.key) === "tableContentName") && ((je = R[le]) != null && je.prop) ? x[R[le].prop] = E : x.children = Qe(E, R));
|
|
563
563
|
}) : x = d, Array.isArray(d) && d.some((E) => E == null ? void 0 : E.id) ? ae.push(Object.assign(x, { id: (q = d == null ? void 0 : d.find((E) => E.id)) == null ? void 0 : q.id })) : x.id ? ae.push(x) : ae.push(Object.assign(x, { id: i }));
|
|
564
564
|
}), h.value = ae;
|
|
565
565
|
} else
|
|
@@ -569,12 +569,12 @@ const ya = {
|
|
|
569
569
|
{ deep: !0, immediate: !0 }
|
|
570
570
|
), (n, c) => {
|
|
571
571
|
var m;
|
|
572
|
-
return
|
|
573
|
-
(
|
|
572
|
+
return j(), P("div", Na, [
|
|
573
|
+
(j(), ce(fa, {
|
|
574
574
|
columns: l.value,
|
|
575
575
|
key: l.value,
|
|
576
576
|
tableData: h.value,
|
|
577
|
-
isShowPagination:
|
|
577
|
+
isShowPagination: $.value,
|
|
578
578
|
isShowEdit: !1,
|
|
579
579
|
isShowDelete: !1,
|
|
580
580
|
onDbClickRow: ea,
|
|
@@ -594,7 +594,7 @@ const ya = {
|
|
|
594
594
|
((m = T.value) == null ? void 0 : m.length) > 0 ? {
|
|
595
595
|
name: "actions",
|
|
596
596
|
fn: V(({ item: p }) => [
|
|
597
|
-
(
|
|
597
|
+
(j(!0), P(Pe, null, We(T.value, (f, s) => (j(), P("div", { key: s }, [
|
|
598
598
|
S("div", {
|
|
599
599
|
style: ze({ color: f == null ? void 0 : f.textColor }),
|
|
600
600
|
class: "extra-button-label",
|
|
@@ -612,9 +612,9 @@ const ya = {
|
|
|
612
612
|
onBeforeDestroy: Le
|
|
613
613
|
}, {
|
|
614
614
|
default: V(() => [
|
|
615
|
-
S("div",
|
|
615
|
+
S("div", $a, [
|
|
616
616
|
X(Ue, {
|
|
617
|
-
rowContents:
|
|
617
|
+
rowContents: H.value,
|
|
618
618
|
isEnableWrap: !1,
|
|
619
619
|
onChange: na,
|
|
620
620
|
isEdit: _.value
|
|
@@ -622,7 +622,7 @@ const ya = {
|
|
|
622
622
|
])
|
|
623
623
|
]),
|
|
624
624
|
footer: V(() => [
|
|
625
|
-
M.value ? (
|
|
625
|
+
M.value ? (j(), P("div", ja, [
|
|
626
626
|
S("div", {
|
|
627
627
|
onClick: c[2] || (c[2] = (p) => y.value = !1),
|
|
628
628
|
class: "cancel-button"
|
|
@@ -638,7 +638,7 @@ const ya = {
|
|
|
638
638
|
]);
|
|
639
639
|
};
|
|
640
640
|
}
|
|
641
|
-
}, Ja = /* @__PURE__ */ Ge(
|
|
641
|
+
}, Ja = /* @__PURE__ */ Ge(Ha, [["__scopeId", "data-v-4958c395"]]);
|
|
642
642
|
export {
|
|
643
643
|
va as a,
|
|
644
644
|
Ua as b,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as c } from "./index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-
|
|
1
|
+
import { _ as c } from "./index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-Drc1rCns.js";
|
|
2
2
|
import { resolveComponent as o, createBlock as a, openBlock as u, withCtx as r, createVNode as l, createElementVNode as i, toDisplayString as p } from "vue";
|
|
3
3
|
import { _ as m } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
function M(e, _, d, f, C, y) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as o, defineComponent as s, reactive as n, createElementBlock as r, openBlock as p, createElementVNode as t, createVNode as i } from "vue";
|
|
2
|
-
import { _ as b } from "./index.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as b } from "./index.vue_vue_type_script_setup_true_lang-SUEsaZWz.js";
|
|
3
3
|
import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const c = o([
|
|
5
5
|
{
|