@hortiview/shared-components 0.0.7501 → 0.0.7515
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.
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { Padding as
|
|
2
|
+
import { Padding as c, TypoCaption as o, Group as s } from "@element/react-components";
|
|
3
3
|
import { GenericCard as m } from "./GenericCard.js";
|
|
4
|
-
import { s as
|
|
4
|
+
import { s as t } from "../../../genericCard.module-CnQn6tMH.js";
|
|
5
5
|
const u = ({
|
|
6
6
|
columns: n,
|
|
7
7
|
data: e,
|
|
8
|
-
hiddenColumns:
|
|
9
|
-
noContentText:
|
|
10
|
-
}) => e?.length === 0 ? /* @__PURE__ */ r("div", { className:
|
|
11
|
-
|
|
12
|
-
{
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
8
|
+
hiddenColumns: d = [],
|
|
9
|
+
noContentText: l
|
|
10
|
+
}) => e?.length === 0 ? /* @__PURE__ */ r("div", { className: t.emptyContainer, children: /* @__PURE__ */ r(c, { variant: "standard", style: { textAlign: "center" }, className: t.empty, children: /* @__PURE__ */ r(o, { children: l }) }) }) : (
|
|
11
|
+
// needs the div to surround the Group by an element with display: block to avoid visual errors
|
|
12
|
+
/* @__PURE__ */ r("div", { style: { width: "100%" }, children: /* @__PURE__ */ r(s, { fullWidth: !0, direction: "vertical", primaryAlign: "center", secondaryAlign: "center", children: e?.map((i, a) => /* @__PURE__ */ r(
|
|
13
|
+
m,
|
|
14
|
+
{
|
|
15
|
+
item: i,
|
|
16
|
+
columns: n,
|
|
17
|
+
hiddenColumns: d
|
|
18
|
+
},
|
|
19
|
+
i.id ?? a
|
|
20
|
+
)) }) })
|
|
21
|
+
);
|
|
19
22
|
export {
|
|
20
23
|
u as GenericCardList
|
|
21
24
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hortiview/shared-components",
|
|
3
3
|
"description": "This is a shared component library. It should used in the HortiView platform and its modules.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.7515",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared",
|
|
7
7
|
"author": "Falk Menge <falk.menge.ext@bayer.com>",
|