@hortiview/shared-components 0.0.7462 → 0.0.7501
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/assets/genericCard.css +1 -1
- package/dist/components/Filter/Filter.js +1 -1
- package/dist/components/GenericTable/Mobile/GenericCard.js +1 -1
- package/dist/components/GenericTable/Mobile/GenericCardList.js +12 -11
- package/dist/genericCard.module-CnQn6tMH.js +14 -0
- package/package.json +1 -1
- package/dist/genericCard.module-DzqcufuN.js +0 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._cardTitle_a6o2v_1{padding:.5rem!important}._cardBody_a6o2v_5{padding:.25rem .5rem!important;overflow:hidden!important}._cardContent_a6o2v_10{border-radius:.5rem}._row_a6o2v_14{padding:.25rem 0}._font_a6o2v_18{max-width:125px;font-weight:400;overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}._title_a6o2v_26{display:inline-block;width:65vw;overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}._emptyContainer_a6o2v_34{width:inherit;height:inherit}._empty_a6o2v_34{position:relative;top:50%;left:50%;transform:translate(-50%,-50%)}
|
|
@@ -20,7 +20,7 @@ import "lodash";
|
|
|
20
20
|
import "../../contextMenu.module-DNQ8d9Aj.js";
|
|
21
21
|
import "../../deleteModal.module-Ds3MDzdl.js";
|
|
22
22
|
import "../../disclaimer.module-BZydt-Q_.js";
|
|
23
|
-
import "../../genericCard.module-
|
|
23
|
+
import "../../genericCard.module-CnQn6tMH.js";
|
|
24
24
|
import "../../HashTabView.module-DUekkiTC.js";
|
|
25
25
|
import "../../HeaderFilter.module-DiBmulr5.js";
|
|
26
26
|
import "../../infoGroup.module-Cxw88dfC.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as s, Fragment as T } from "react/jsx-runtime";
|
|
|
2
2
|
import { Card as g, CardContent as y, CardBody as x, Grid as v, GridRow as u, GridCol as n, TypoSubtitle as f, CardTitle as N, CardDivider as b } from "@element/react-components";
|
|
3
3
|
import { useMemo as k } from "react";
|
|
4
4
|
import { OverflowTooltip as c } from "../../OverflowTooltip/OverflowTooltip.js";
|
|
5
|
-
import { s as d } from "../../../genericCard.module-
|
|
5
|
+
import { s as d } from "../../../genericCard.module-CnQn6tMH.js";
|
|
6
6
|
const h = {
|
|
7
7
|
desktopCol: 6,
|
|
8
8
|
phoneCol: 2,
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { Padding as l, TypoCaption as d, Group as s } from "@element/react-components";
|
|
3
3
|
import { GenericCard as m } from "./GenericCard.js";
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
import { s as i } from "../../../genericCard.module-CnQn6tMH.js";
|
|
5
|
+
const u = ({
|
|
6
|
+
columns: n,
|
|
6
7
|
data: e,
|
|
7
|
-
hiddenColumns:
|
|
8
|
-
noContentText:
|
|
9
|
-
}) => e?.length === 0 ? /* @__PURE__ */ r("div", { children:
|
|
8
|
+
hiddenColumns: a = [],
|
|
9
|
+
noContentText: o
|
|
10
|
+
}) => e?.length === 0 ? /* @__PURE__ */ r("div", { className: i.emptyContainer, children: /* @__PURE__ */ r(l, { variant: "standard", style: { textAlign: "center" }, className: i.empty, children: /* @__PURE__ */ r(d, { children: o }) }) }) : /* @__PURE__ */ r(s, { fullWidth: !0, direction: "vertical", primaryAlign: "center", secondaryAlign: "center", children: e?.map((t, c) => /* @__PURE__ */ r(
|
|
10
11
|
m,
|
|
11
12
|
{
|
|
12
|
-
item:
|
|
13
|
-
columns:
|
|
14
|
-
hiddenColumns:
|
|
13
|
+
item: t,
|
|
14
|
+
columns: n,
|
|
15
|
+
hiddenColumns: a
|
|
15
16
|
},
|
|
16
|
-
c
|
|
17
|
+
t.id ?? c
|
|
17
18
|
)) });
|
|
18
19
|
export {
|
|
19
|
-
|
|
20
|
+
u as GenericCardList
|
|
20
21
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import "./assets/genericCard.css";
|
|
2
|
+
const t = "_cardTitle_a6o2v_1", o = "_cardBody_a6o2v_5", n = "_cardContent_a6o2v_10", _ = "_row_a6o2v_14", a = "_font_a6o2v_18", e = "_title_a6o2v_26", c = "_emptyContainer_a6o2v_34", r = "_empty_a6o2v_34", d = {
|
|
3
|
+
cardTitle: t,
|
|
4
|
+
cardBody: o,
|
|
5
|
+
cardContent: n,
|
|
6
|
+
row: _,
|
|
7
|
+
font: a,
|
|
8
|
+
title: e,
|
|
9
|
+
emptyContainer: c,
|
|
10
|
+
empty: r
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
d as s
|
|
14
|
+
};
|
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.7501",
|
|
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>",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import "./assets/genericCard.css";
|
|
2
|
-
const t = "_cardTitle_1738q_1", o = "_cardBody_1738q_5", _ = "_cardContent_1738q_10", c = "_row_1738q_14", n = "_font_1738q_18", r = "_title_1738q_26", e = {
|
|
3
|
-
cardTitle: t,
|
|
4
|
-
cardBody: o,
|
|
5
|
-
cardContent: _,
|
|
6
|
-
row: c,
|
|
7
|
-
font: n,
|
|
8
|
-
title: r
|
|
9
|
-
};
|
|
10
|
-
export {
|
|
11
|
-
e as s
|
|
12
|
-
};
|