szld-libs 0.2.88 → 0.2.90
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/szld-components.es.js +62 -54
- package/dist/szld-components.umd.js +3 -3
- package/es/utils/szxkFunc.d.ts +9 -1
- package/es/utils/szxkFunc.js +14 -2
- package/lib/utils/szxkFunc.d.ts +9 -1
- package/lib/utils/szxkFunc.js +14 -2
- package/package.json +1 -1
|
@@ -1602,7 +1602,7 @@ const C3 = _3, mO = "backheader-module_main_cac53", yO = "backheader-module_titl
|
|
|
1602
1602
|
title: yO,
|
|
1603
1603
|
sub: gO,
|
|
1604
1604
|
btn: xO
|
|
1605
|
-
}, { Title: _O, Text: CO } = Ak,
|
|
1605
|
+
}, { Title: _O, Text: CO } = Ak, rL = (n) => {
|
|
1606
1606
|
const { isBack: l = !0, title: a, extra: s, subTitle: p = null, className: v, style: h, titleStyle: g, level: S = 2, icon: d, onBack: x } = n, w = Lk(), C = () => typeof p == "string" ? /* @__PURE__ */ fe(CO, { className: Vm.sub, children: p }) : p, E = () => {
|
|
1607
1607
|
if (x) {
|
|
1608
1608
|
x == null || x();
|
|
@@ -12758,7 +12758,7 @@ Check the render method of \`` + e + "`." : "";
|
|
|
12758
12758
|
};
|
|
12759
12759
|
}
|
|
12760
12760
|
}
|
|
12761
|
-
function
|
|
12761
|
+
function ZN(e) {
|
|
12762
12762
|
return e;
|
|
12763
12763
|
}
|
|
12764
12764
|
function wD(e) {
|
|
@@ -15188,10 +15188,10 @@ Incoming: %s`, Ee, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
|
|
|
15188
15188
|
}
|
|
15189
15189
|
return [A, y];
|
|
15190
15190
|
}
|
|
15191
|
-
function ZN(e, t, o) {
|
|
15192
|
-
}
|
|
15193
15191
|
function KN(e, t, o) {
|
|
15194
15192
|
}
|
|
15193
|
+
function QN(e, t, o) {
|
|
15194
|
+
}
|
|
15195
15195
|
function Tx(e, t, o) {
|
|
15196
15196
|
var u = an, f = Jo(), y, b = Ir();
|
|
15197
15197
|
if (b) {
|
|
@@ -20595,7 +20595,7 @@ Check the render method of %s.`, mt(In) || "Unknown"));
|
|
|
20595
20595
|
var LC = /* @__PURE__ */ ((n) => (n.zip = "application/zip", n.png = "image/png", n.jpg = "image/jpg", n.jpeg = "image/jpeg", n.pdf = "application/pdf", n.doc = "application/msword", n.docx = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", n.pptx = "application/vnd.openxmlformats-officedocument.presentationml.presentation", n.ppt = "application/vnd.ms-powerpoint", n.xlsx = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", n.xls = "application/vnd.ms-excel", n.txt = "text/plain", n.csv = "text/csv", n.svg = "image/svg+xml", n))(LC || {});
|
|
20596
20596
|
const dC = new Map(Object.entries(LC));
|
|
20597
20597
|
var P0 = /* @__PURE__ */ ((n) => (n.zip = ".zip", n.png = ".png", n.jpg = ".jpg", n.jpeg = ".jpeg", n.pdf = ".pdf", n.doc = ".doc", n.docx = ".docx", n.ppt = ".ppt", n.pptx = ".pptx", n.xls = ".xls", n.xlsx = ".xlsx", n.txt = ".txt", n.csv = ".csv", n.svg = ".svg", n.rar = ".rar", n))(P0 || {});
|
|
20598
|
-
const
|
|
20598
|
+
const aL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
20599
20599
|
__proto__: null,
|
|
20600
20600
|
FileType: LC,
|
|
20601
20601
|
FileTypeMap: dC,
|
|
@@ -20676,7 +20676,7 @@ const zO = () => {
|
|
|
20676
20676
|
return JSON.parse(n.slice(l + 1));
|
|
20677
20677
|
}
|
|
20678
20678
|
return n;
|
|
20679
|
-
},
|
|
20679
|
+
}, iL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
20680
20680
|
__proto__: null,
|
|
20681
20681
|
filterObject: DO,
|
|
20682
20682
|
getBase64: E3,
|
|
@@ -25630,7 +25630,7 @@ const hM = "search-table-module_search_17add", vM = "search-table-module_table_5
|
|
|
25630
25630
|
const { onResize: l, width: a, resizeable: s, ...p } = n;
|
|
25631
25631
|
return !a || !s ? /* @__PURE__ */ fe("th", { ...p }) : /* @__PURE__ */ fe(pM, { width: a || 200, height: 0, onResize: l, draggableOpts: { enableUserSelectHack: !1 }, children: /* @__PURE__ */ fe("th", { ...p }) });
|
|
25632
25632
|
};
|
|
25633
|
-
function
|
|
25633
|
+
function lL(n) {
|
|
25634
25634
|
const { tableProps: l = {}, searchProps: a } = n, {
|
|
25635
25635
|
minColumnWidth: s = 200,
|
|
25636
25636
|
resizeable: p = !1,
|
|
@@ -25767,7 +25767,7 @@ function CM(n) {
|
|
|
25767
25767
|
}
|
|
25768
25768
|
)), /* @__PURE__ */ fe("td", { ...w, children: B });
|
|
25769
25769
|
}
|
|
25770
|
-
function
|
|
25770
|
+
function uL(n) {
|
|
25771
25771
|
const { columns: l, onChange: a, ...s } = n, p = {
|
|
25772
25772
|
body: {
|
|
25773
25773
|
row: _M,
|
|
@@ -25794,7 +25794,7 @@ function lL(n) {
|
|
|
25794
25794
|
const SM = (n) => {
|
|
25795
25795
|
const { auth: l = !0, ...a } = n;
|
|
25796
25796
|
return l ? /* @__PURE__ */ fe(G0, { ...a }) : null;
|
|
25797
|
-
},
|
|
25797
|
+
}, sL = (n) => {
|
|
25798
25798
|
const { PId: l, auths: a, ...s } = n, p = j0(() => a ? !!(typeof l == "number" && a.find((v) => v.PId === l) || Array.isArray(l) && a.filter((v) => l.includes(v.PId)).length > 0) : !1, [l, a]);
|
|
25799
25799
|
return /* @__PURE__ */ fe(SM, { ...s, auth: p });
|
|
25800
25800
|
}, EM = "LoopSlide-module_wrapper_dde90", bM = "LoopSlide-module_container_be123", wM = "LoopSlide-module_scrollContent_36ed7", DM = "LoopSlide-module_content_f392a", xh = {
|
|
@@ -25802,7 +25802,7 @@ const SM = (n) => {
|
|
|
25802
25802
|
container: bM,
|
|
25803
25803
|
scrollContent: wM,
|
|
25804
25804
|
content: DM
|
|
25805
|
-
},
|
|
25805
|
+
}, cL = ({
|
|
25806
25806
|
speed: n = 10,
|
|
25807
25807
|
delay: l = 1,
|
|
25808
25808
|
timingFunction: a = "linear",
|
|
@@ -25953,7 +25953,7 @@ const SM = (n) => {
|
|
|
25953
25953
|
typeof s == "string" ? x[s] : s(x)
|
|
25954
25954
|
))
|
|
25955
25955
|
] });
|
|
25956
|
-
},
|
|
25956
|
+
}, fL = (n) => {
|
|
25957
25957
|
const { current: l, data: a, rowKey: s, renderContent: p, currentIndex: v, ...h } = n;
|
|
25958
25958
|
return (() => {
|
|
25959
25959
|
AC.info({
|
|
@@ -25980,7 +25980,7 @@ const SM = (n) => {
|
|
|
25980
25980
|
customPagination: $M,
|
|
25981
25981
|
jumpBtns: jM
|
|
25982
25982
|
};
|
|
25983
|
-
function
|
|
25983
|
+
function dL(n) {
|
|
25984
25984
|
const { totalText: l = "共", unitText: a = "条", jumpText: s = "跳至", pageText: p = "页", paginationProps: v } = n, [h, g] = dn(""), S = (v == null ? void 0 : v.pageSize) || 10, d = (C) => {
|
|
25985
25985
|
g(C.target.value);
|
|
25986
25986
|
}, x = (C) => {
|
|
@@ -26708,7 +26708,7 @@ const KM = (n) => {
|
|
|
26708
26708
|
label: w,
|
|
26709
26709
|
value: w
|
|
26710
26710
|
}))) || [], h.options && Array.isArray(h.options) && (g = h.options)) : h.inputType === "dictionary" ? g = await S(a) : h.inputType === "system-dictionary" && (g = await S(s)), h.inputType === "url" && (h != null && h["action-url"]) && await d(), g;
|
|
26711
|
-
},
|
|
26711
|
+
}, pL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26712
26712
|
__proto__: null,
|
|
26713
26713
|
getJson: iy,
|
|
26714
26714
|
base64ToString: JC,
|
|
@@ -28139,7 +28139,7 @@ function uN(n) {
|
|
|
28139
28139
|
handleSetFormItemInitialValue: L0
|
|
28140
28140
|
};
|
|
28141
28141
|
}
|
|
28142
|
-
const
|
|
28142
|
+
const hL = Rk((n, l) => {
|
|
28143
28143
|
const {
|
|
28144
28144
|
formConfig: a,
|
|
28145
28145
|
setFormConfig: s,
|
|
@@ -28270,7 +28270,7 @@ const pL = Rk((n, l) => {
|
|
|
28270
28270
|
}, RC = (n, l) => {
|
|
28271
28271
|
let a = document.createElement("a");
|
|
28272
28272
|
a.style.display = "none", a.href = n, a.target = "_blank", a.download = l, document.body.appendChild(a), a.click(), document.body.removeChild(a);
|
|
28273
|
-
},
|
|
28273
|
+
}, vL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
28274
28274
|
__proto__: null,
|
|
28275
28275
|
downloadUrl: dN,
|
|
28276
28276
|
downloadBlob: k6
|
|
@@ -28327,7 +28327,7 @@ const pL = Rk((n, l) => {
|
|
|
28327
28327
|
pattern: /\S/,
|
|
28328
28328
|
message: "输入内容不能只有空格"
|
|
28329
28329
|
}
|
|
28330
|
-
},
|
|
28330
|
+
}, mL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
28331
28331
|
__proto__: null,
|
|
28332
28332
|
default: O6
|
|
28333
28333
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -28387,7 +28387,7 @@ class hN {
|
|
|
28387
28387
|
return "rgb(" + s + "," + p + "," + v + ")";
|
|
28388
28388
|
}
|
|
28389
28389
|
}
|
|
28390
|
-
const
|
|
28390
|
+
const yL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
28391
28391
|
__proto__: null,
|
|
28392
28392
|
getGVerify: hN
|
|
28393
28393
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -32259,7 +32259,7 @@ function IN() {
|
|
|
32259
32259
|
});
|
|
32260
32260
|
})(B6);
|
|
32261
32261
|
const su = B6.exports;
|
|
32262
|
-
class
|
|
32262
|
+
class gL {
|
|
32263
32263
|
constructor() {
|
|
32264
32264
|
Dc(this, "salt", "SzlDJd#4202");
|
|
32265
32265
|
}
|
|
@@ -32274,7 +32274,7 @@ class yL {
|
|
|
32274
32274
|
return su.AES.decrypt(l, this.salt).toString(su.enc.Utf8);
|
|
32275
32275
|
}
|
|
32276
32276
|
}
|
|
32277
|
-
class
|
|
32277
|
+
class xL {
|
|
32278
32278
|
constructor(l) {
|
|
32279
32279
|
Dc(this, "salt");
|
|
32280
32280
|
this.salt = l;
|
|
@@ -32386,21 +32386,29 @@ class M6 {
|
|
|
32386
32386
|
}
|
|
32387
32387
|
}
|
|
32388
32388
|
const VN = async (n, l, a) => {
|
|
32389
|
+
var s;
|
|
32390
|
+
try {
|
|
32391
|
+
const p = await l(a || "SERATTALLList", n);
|
|
32392
|
+
return (p == null ? void 0 : p.ReturnValue) === 1 ? ((s = p == null ? void 0 : p.data) == null ? void 0 : s.attr_list) || [] : [];
|
|
32393
|
+
} catch {
|
|
32394
|
+
}
|
|
32395
|
+
}, YN = async (n, l, a) => {
|
|
32389
32396
|
var s;
|
|
32390
32397
|
try {
|
|
32391
32398
|
const p = await l(a || "YLFWLRDataDetails", n);
|
|
32392
32399
|
return (p == null ? void 0 : p.ReturnValue) === 1 ? ((s = p == null ? void 0 : p.data) == null ? void 0 : s.list) || [] : [];
|
|
32393
32400
|
} catch {
|
|
32394
32401
|
}
|
|
32395
|
-
},
|
|
32402
|
+
}, qN = (n, l) => n.map((a) => ({
|
|
32396
32403
|
...a,
|
|
32397
32404
|
attrvalue: l[a.attrid] || ""
|
|
32398
|
-
})),
|
|
32405
|
+
})), _L = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
32399
32406
|
__proto__: null,
|
|
32400
|
-
|
|
32401
|
-
|
|
32407
|
+
handleGetAttrList: VN,
|
|
32408
|
+
handleGetAttrDetail: YN,
|
|
32409
|
+
handleObjDetailToSignleAttrList: qN
|
|
32402
32410
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
32403
|
-
function
|
|
32411
|
+
function CL(n) {
|
|
32404
32412
|
const { imgKey: l = "Img" } = n, {
|
|
32405
32413
|
data: a,
|
|
32406
32414
|
loading: s,
|
|
@@ -32429,7 +32437,7 @@ function _L(n) {
|
|
|
32429
32437
|
}
|
|
32430
32438
|
), loading: s, refresh: v };
|
|
32431
32439
|
}
|
|
32432
|
-
function
|
|
32440
|
+
function SL(n) {
|
|
32433
32441
|
const { modal: l, message: a } = Mc.useApp(), [s] = zi.useForm(), p = [
|
|
32434
32442
|
{
|
|
32435
32443
|
dataIndex: "Password",
|
|
@@ -32484,14 +32492,14 @@ function CL(n) {
|
|
|
32484
32492
|
});
|
|
32485
32493
|
}) };
|
|
32486
32494
|
}
|
|
32487
|
-
const
|
|
32488
|
-
function
|
|
32495
|
+
const GN = "SzlDJd#4202";
|
|
32496
|
+
function EL(n) {
|
|
32489
32497
|
const [l, a] = dn(null);
|
|
32490
32498
|
va(() => {
|
|
32491
32499
|
s();
|
|
32492
32500
|
}, []);
|
|
32493
32501
|
const s = () => {
|
|
32494
|
-
const p = su.AES.decrypt(n,
|
|
32502
|
+
const p = su.AES.decrypt(n, GN);
|
|
32495
32503
|
try {
|
|
32496
32504
|
const v = JSON.parse(p.toString(su.enc.Utf8));
|
|
32497
32505
|
a(v);
|
|
@@ -32500,7 +32508,7 @@ function SL(n) {
|
|
|
32500
32508
|
};
|
|
32501
32509
|
return l;
|
|
32502
32510
|
}
|
|
32503
|
-
function
|
|
32511
|
+
function bL(n) {
|
|
32504
32512
|
const { secertKey: l, storageKey: a } = n;
|
|
32505
32513
|
return { onParse: (v) => {
|
|
32506
32514
|
const h = localStorage.getItem(a);
|
|
@@ -32526,7 +32534,7 @@ function EL(n) {
|
|
|
32526
32534
|
b3(a, h.toString());
|
|
32527
32535
|
} };
|
|
32528
32536
|
}
|
|
32529
|
-
function
|
|
32537
|
+
function wL(n) {
|
|
32530
32538
|
const { dataSource: l, rowKey: a, defaultRows: s = [] } = n, p = xo(s), [v, h] = dn([]), [g, S] = dn([]);
|
|
32531
32539
|
return va(() => {
|
|
32532
32540
|
if (l && l.length > 0) {
|
|
@@ -32547,7 +32555,7 @@ function bL(n) {
|
|
|
32547
32555
|
setSelectedKeys: S
|
|
32548
32556
|
};
|
|
32549
32557
|
}
|
|
32550
|
-
function
|
|
32558
|
+
function DL({
|
|
32551
32559
|
detailInfo: n,
|
|
32552
32560
|
labelSpan: l = 3,
|
|
32553
32561
|
valueSpan: a = 9,
|
|
@@ -32640,33 +32648,33 @@ function wL({
|
|
|
32640
32648
|
} };
|
|
32641
32649
|
}
|
|
32642
32650
|
export {
|
|
32643
|
-
|
|
32651
|
+
gL as AES,
|
|
32644
32652
|
SM as AuthButton,
|
|
32645
|
-
|
|
32646
|
-
|
|
32653
|
+
rL as BackHeader,
|
|
32654
|
+
sL as CoralButton,
|
|
32647
32655
|
o6 as CreateForm,
|
|
32648
|
-
|
|
32649
|
-
|
|
32650
|
-
|
|
32651
|
-
|
|
32652
|
-
|
|
32656
|
+
dL as CustomPagination,
|
|
32657
|
+
hL as DynamicForm,
|
|
32658
|
+
uL as EditTable,
|
|
32659
|
+
mL as FormRules,
|
|
32660
|
+
xL as HmacSHA512,
|
|
32653
32661
|
M6 as HmacSM3,
|
|
32654
|
-
|
|
32655
|
-
|
|
32662
|
+
cL as LoopSlide,
|
|
32663
|
+
lL as SearchTable,
|
|
32656
32664
|
PF as UploadFile,
|
|
32657
32665
|
PM as WorkFlowNode,
|
|
32658
32666
|
HF as compressionImage,
|
|
32659
|
-
|
|
32660
|
-
|
|
32661
|
-
|
|
32662
|
-
|
|
32663
|
-
|
|
32664
|
-
|
|
32665
|
-
|
|
32666
|
-
|
|
32667
|
-
|
|
32668
|
-
|
|
32669
|
-
|
|
32670
|
-
|
|
32671
|
-
|
|
32667
|
+
vL as download,
|
|
32668
|
+
aL as fileType,
|
|
32669
|
+
pL as method,
|
|
32670
|
+
fL as showWorkFlow,
|
|
32671
|
+
_L as szxkFunc,
|
|
32672
|
+
CL as useCaptcha,
|
|
32673
|
+
SL as useChangePwd,
|
|
32674
|
+
EL as useConfig,
|
|
32675
|
+
DL as useDetailRender,
|
|
32676
|
+
bL as useRemember,
|
|
32677
|
+
wL as useRowSelection,
|
|
32678
|
+
iL as utils,
|
|
32679
|
+
yL as verfyCode
|
|
32672
32680
|
};
|