geneeantd 0.0.18 → 0.0.20
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/genee-antd.es.js +20 -13
- package/dist/genee-antd.umd.js +49 -49
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/genee-antd.es.js
CHANGED
|
@@ -55473,23 +55473,19 @@ const QU = oe.memo(
|
|
|
55473
55473
|
const s = t.find((u) => u.name === l);
|
|
55474
55474
|
return s ? s.label : l;
|
|
55475
55475
|
}, a = (l, s) => {
|
|
55476
|
-
const u = t.find((
|
|
55477
|
-
if (
|
|
55476
|
+
const u = t.find((f) => f.name === l), d = u?.props?.options || [];
|
|
55477
|
+
if (d.length > 0 && Array.isArray(d) && s !== void 0 && s !== null) {
|
|
55478
55478
|
if (Array.isArray(s))
|
|
55479
|
-
return s.map((
|
|
55480
|
-
const
|
|
55481
|
-
|
|
55482
|
-
);
|
|
55483
|
-
return f ? f.label : String(d);
|
|
55479
|
+
return s.map((f) => {
|
|
55480
|
+
const v = d.find((p) => p.value === f);
|
|
55481
|
+
return v ? v.label : String(f);
|
|
55484
55482
|
}).join("、");
|
|
55485
55483
|
{
|
|
55486
|
-
const
|
|
55487
|
-
|
|
55488
|
-
);
|
|
55489
|
-
return d ? d.label : String(s);
|
|
55484
|
+
const f = d.find((v) => v.value === s);
|
|
55485
|
+
return f ? f.label : String(s);
|
|
55490
55486
|
}
|
|
55491
55487
|
}
|
|
55492
|
-
return typeof s == "boolean" ? s ? "是" : "否" : Array.isArray(s) && s.length > 0 && !u?.options ? s.join(" / ") : u?.type === "custom" && s && typeof s == "object" ? Object.entries(s).filter(([
|
|
55488
|
+
return typeof s == "boolean" ? s ? "是" : "否" : Array.isArray(s) && s.length > 0 && !u?.options ? s.join(" / ") : u?.type === "custom" && s && typeof s == "object" ? Object.entries(s).filter(([f, v]) => v != null).map(([f, v]) => v ? `${f}: ${v}` : "").join(",") : s != null ? String(s) : "";
|
|
55493
55489
|
}, i = Object.keys(e).length > 0;
|
|
55494
55490
|
return xt(() => {
|
|
55495
55491
|
}, [e]), /* @__PURE__ */ se.jsx(se.Fragment, { children: i ? /* @__PURE__ */ se.jsxs("div", { className: "selected-filter-tags-container", children: [
|
|
@@ -58168,6 +58164,16 @@ const JJ = _n((e, t) => {
|
|
|
58168
58164
|
) }),
|
|
58169
58165
|
/* @__PURE__ */ se.jsx("div", { className: po.detailViewContent, children: /* @__PURE__ */ se.jsx("div", { className: po.detailViewContentItem, children: t }) })
|
|
58170
58166
|
] });
|
|
58167
|
+
}, zY = {
|
|
58168
|
+
token: {
|
|
58169
|
+
colorPrimary: "#2BA07F",
|
|
58170
|
+
colorPrimaryHover: "#36C196",
|
|
58171
|
+
colorPrimaryActive: "#258D70",
|
|
58172
|
+
colorPrimaryText: "#2BA07F",
|
|
58173
|
+
colorPrimaryTextHover: "#36C196",
|
|
58174
|
+
colorPrimaryTextActive: "#258D70",
|
|
58175
|
+
colorSuccess: "#36C196"
|
|
58176
|
+
}
|
|
58171
58177
|
};
|
|
58172
58178
|
export {
|
|
58173
58179
|
MY as AvatarUpload,
|
|
@@ -58178,5 +58184,6 @@ export {
|
|
|
58178
58184
|
rJ as FloatCard,
|
|
58179
58185
|
PY as Login,
|
|
58180
58186
|
NY as RemoteSelect,
|
|
58181
|
-
SY as TablePlus
|
|
58187
|
+
SY as TablePlus,
|
|
58188
|
+
zY as defaultTheme
|
|
58182
58189
|
};
|