szld-libs 0.4.57 → 0.4.59
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 +10 -5
- package/dist/szld-components.umd.js +2 -2
- package/es/components/DynamicForm/index.js +4 -3
- package/es/hooks/useDetailRender.js +14 -10
- package/es/index.js +2 -0
- package/es/mock/index.js +95 -86
- package/lib/components/DynamicForm/index.js +4 -3
- package/lib/hooks/useDetailRender.js +14 -10
- package/lib/index.js +2 -0
- package/lib/mock/index.js +95 -86
- package/package.json +1 -1
|
@@ -50845,14 +50845,15 @@ const Vbe = Zr((t, e) => {
|
|
|
50845
50845
|
// 新增:组件库固定文字语言匹配数据
|
|
50846
50846
|
});
|
|
50847
50847
|
Ct(() => {
|
|
50848
|
-
|
|
50849
|
-
}, [
|
|
50848
|
+
L && te();
|
|
50849
|
+
}, [L]);
|
|
50850
50850
|
const te = async () => {
|
|
50851
50851
|
const V = await Uz({
|
|
50852
50852
|
commonRequestWidthParams: p,
|
|
50853
50853
|
langId: L,
|
|
50854
50854
|
params: {
|
|
50855
|
-
sysid: "3"
|
|
50855
|
+
sysid: "3",
|
|
50856
|
+
dicid: L
|
|
50856
50857
|
}
|
|
50857
50858
|
});
|
|
50858
50859
|
K(V);
|
|
@@ -69373,8 +69374,12 @@ function r2e({
|
|
|
69373
69374
|
}) => C === "table" ? /* @__PURE__ */ q(Xa, { children: p({ detailList: w, attrList: g, universalHeader: _, operationColumn: A }) }) : /* @__PURE__ */ q(cE, { gutter: [10, 8], children: g == null ? void 0 : g.map((D) => {
|
|
69374
69375
|
if ((D == null ? void 0 : D.attrtype) !== 0)
|
|
69375
69376
|
return /* @__PURE__ */ q(Xa, {}, D == null ? void 0 : D.attrid);
|
|
69376
|
-
|
|
69377
|
-
|
|
69377
|
+
try {
|
|
69378
|
+
const B = D.info_base64 === 1 ? td(dp(D.info)) : td(D.info);
|
|
69379
|
+
return (B == null ? void 0 : B.input) === "image" ? u(D, E) : ["file", "audio", "video"].includes(B == null ? void 0 : B.input) ? d(D, E) : (B == null ? void 0 : B.input) === "radio-card" ? s(D, E) : c(D, E, O, R);
|
|
69380
|
+
} catch {
|
|
69381
|
+
return c(D, E, O, R);
|
|
69382
|
+
}
|
|
69378
69383
|
}) })
|
|
69379
69384
|
) };
|
|
69380
69385
|
}
|