@hortiview/shared-components 0.0.7819 → 0.0.7857
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/baseView.css +1 -1
- package/dist/assets/genericCard.css +1 -1
- package/dist/assets/overflowTooltip.css +1 -0
- package/dist/baseView.module-uWbm_a5f.js +12 -0
- package/dist/components/BaseView/BaseView.js +9 -9
- package/dist/components/DeleteModal/DeleteModal.js +20 -19
- package/dist/components/Filter/Filter.js +5 -4
- package/dist/components/GenericTable/GenericTable.js +13 -12
- package/dist/components/GenericTable/Mobile/GenericCard.js +1 -1
- package/dist/components/GenericTable/Mobile/GenericCardList.js +1 -1
- package/dist/components/OverflowTooltip/OverflowTooltip.js +14 -12
- package/dist/genericCard.module-DrQu86jX.js +15 -0
- package/dist/overflowTooltip.module-BN3bp9Cj.js +7 -0
- package/package.json +1 -1
- package/dist/baseView.module-ve87u_d0.js +0 -12
- package/dist/genericCard.module-k0bicNfi.js +0 -15
package/dist/assets/baseView.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._divider_dw2rc_1{margin:0 2rem}._maxWidth_dw2rc_5{max-width:55vw}._desktopList_dw2rc_9{width:30%}._mobileList_dw2rc_13{width:100%}._desktopDetail_dw2rc_17{width:70%}._mobileDetail_dw2rc_21{width:100%}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._cardTitle_ny9m0_1{padding:.5rem!important}._cardBody_ny9m0_5{padding:.25rem .5rem!important;overflow:hidden!important}._cardContent_ny9m0_10{border-radius:.5rem}._row_ny9m0_14{padding:.25rem 0}._font_ny9m0_18{font-weight:400;align-self:end}._fontHeader_ny9m0_23{text-align:right}._title_ny9m0_27{display:inline-block;width:65vw;text-wrap:nowrap}._emptyContainer_ny9m0_33{width:inherit;height:inherit}._empty_ny9m0_33{position:relative;top:50%;left:50%;transform:translate(-50%,-25%)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._truncate_m48xn_1{display:-webkit-box;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./assets/baseView.css";
|
|
2
|
+
const t = "_divider_dw2rc_1", i = "_maxWidth_dw2rc_5", e = "_desktopList_dw2rc_9", s = "_mobileList_dw2rc_13", d = "_desktopDetail_dw2rc_17", o = "_mobileDetail_dw2rc_21", c = {
|
|
3
|
+
divider: t,
|
|
4
|
+
maxWidth: i,
|
|
5
|
+
desktopList: e,
|
|
6
|
+
mobileList: s,
|
|
7
|
+
desktopDetail: d,
|
|
8
|
+
mobileDetail: o
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
c as s
|
|
12
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as i, Fragment as
|
|
1
|
+
import { jsx as i, Fragment as k, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import { Group as o } from "@element/react-components";
|
|
3
3
|
import { useMemo as s } from "react";
|
|
4
4
|
import { BasicHeading as u } from "../BasicHeading/BasicHeading.js";
|
|
5
5
|
import { EmptyView as L } from "../EmptyView/EmptyView.js";
|
|
6
|
-
import { ListArea as
|
|
7
|
-
import { VerticalDivider as
|
|
8
|
-
import { u as
|
|
9
|
-
import { s as r } from "../../baseView.module-
|
|
6
|
+
import { ListArea as W } from "../ListArea/ListArea.js";
|
|
7
|
+
import { VerticalDivider as A } from "../VerticalDivider/VerticalDivider.js";
|
|
8
|
+
import { u as V } from "../../useBreakpoints-BNeVhjjZ.js";
|
|
9
|
+
import { s as r } from "../../baseView.module-uWbm_a5f.js";
|
|
10
10
|
const C = ({
|
|
11
11
|
action: c,
|
|
12
12
|
heading: m,
|
|
@@ -21,12 +21,12 @@ const C = ({
|
|
|
21
21
|
routerLinkElement: w,
|
|
22
22
|
searchPlaceholder: B
|
|
23
23
|
}) => {
|
|
24
|
-
const { isDesktopNavbar: e } =
|
|
24
|
+
const { isDesktopNavbar: e } = V(), t = s(() => l.find((x) => x.route === a), [a, l]), D = s(() => t?.component ?? (e ? /* @__PURE__ */ i(L, { subtitle: d }) : /* @__PURE__ */ i(k, {})), [t, e, d]), N = s(() => e ? !0 : !t, [t, e]), b = s(() => e ? !0 : t, [t, e]);
|
|
25
25
|
return /* @__PURE__ */ n(o, { className: h ?? "", gap: "", fullWidth: !0, children: [
|
|
26
26
|
N && /* @__PURE__ */ i(o, { gap: "none", className: e ? r.desktopList : r.mobileList, children: /* @__PURE__ */ n(o, { direction: "vertical", fullWidth: !0, gap: e ? "standard" : "dense", children: [
|
|
27
27
|
m && /* @__PURE__ */ i(u, { heading: m, level: 4, marginBottom: 0, children: c }),
|
|
28
28
|
/* @__PURE__ */ i(
|
|
29
|
-
|
|
29
|
+
W,
|
|
30
30
|
{
|
|
31
31
|
elements: l,
|
|
32
32
|
hasSearch: p,
|
|
@@ -39,12 +39,12 @@ const C = ({
|
|
|
39
39
|
)
|
|
40
40
|
] }) }),
|
|
41
41
|
b && /* @__PURE__ */ n(o, { gap: "none", className: e ? r.desktopDetail : r.mobileDetail, children: [
|
|
42
|
-
e && /* @__PURE__ */ i(
|
|
42
|
+
e && /* @__PURE__ */ i(A, { className: r.divider, height: "100%" }),
|
|
43
43
|
/* @__PURE__ */ n(o, { direction: "vertical", fullWidth: !0, children: [
|
|
44
44
|
/* @__PURE__ */ i(
|
|
45
45
|
u,
|
|
46
46
|
{
|
|
47
|
-
className: r.
|
|
47
|
+
className: r.maxWidth,
|
|
48
48
|
heading: t?.detailTitle ?? t?.title ?? "",
|
|
49
49
|
level: 4,
|
|
50
50
|
icon: t?.hideIconInDetail === !0 ? void 0 : t?.icon,
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx as r, jsxs as p, Fragment as s } from "react/jsx-runtime";
|
|
2
|
-
import { Modal as
|
|
3
|
-
import { uniqueId as
|
|
4
|
-
import { AvailableCustomIcons as
|
|
5
|
-
import {
|
|
2
|
+
import { Modal as D, Button as u, Group as c, Icon as N, TypoBody as t } from "@element/react-components";
|
|
3
|
+
import { uniqueId as S } from "lodash";
|
|
4
|
+
import { AvailableCustomIcons as x } from "../../enums/AvailableCustomIcons.js";
|
|
5
|
+
import { u as M } from "../../useBreakpoints-BNeVhjjZ.js";
|
|
6
|
+
import { I as j } from "../../Iconify-CY9lZjFd.js";
|
|
6
7
|
import { s as n } from "../../deleteModal.module-Ds3MDzdl.js";
|
|
7
|
-
const
|
|
8
|
+
const K = ({
|
|
8
9
|
title: e,
|
|
9
10
|
confirmButtonLabel: o,
|
|
10
11
|
cancelButtonLabel: l,
|
|
@@ -19,16 +20,16 @@ const w = ({
|
|
|
19
20
|
onDelete: b,
|
|
20
21
|
isDeletePossible: d = !0
|
|
21
22
|
}) => {
|
|
22
|
-
const C = (I) => {
|
|
23
|
+
const { isDesktop: C } = M(), k = (I) => {
|
|
23
24
|
I.detail.action === "close" && m(!1);
|
|
24
25
|
};
|
|
25
26
|
return /* @__PURE__ */ r(
|
|
26
|
-
|
|
27
|
+
D,
|
|
27
28
|
{
|
|
28
29
|
className: n.modal,
|
|
29
|
-
modalSize: "small",
|
|
30
|
+
modalSize: C ? "small" : "fullscreen",
|
|
30
31
|
open: y,
|
|
31
|
-
onClose:
|
|
32
|
+
onClose: k,
|
|
32
33
|
title: e,
|
|
33
34
|
primaryButton: /* @__PURE__ */ r(
|
|
34
35
|
u,
|
|
@@ -41,29 +42,29 @@ const w = ({
|
|
|
41
42
|
),
|
|
42
43
|
footerSupplemental: /* @__PURE__ */ r(u, { variant: "text", label: l, onClick: () => m(!1) }),
|
|
43
44
|
children: /* @__PURE__ */ p(c, { direction: "vertical", secondaryAlign: "center", children: [
|
|
44
|
-
/* @__PURE__ */ r(
|
|
45
|
+
/* @__PURE__ */ r(z, { element: /* @__PURE__ */ r(B, { icon: g }), isCrossedOut: h }),
|
|
45
46
|
/* @__PURE__ */ r(c, { direction: "vertical", children: d ? /* @__PURE__ */ r(
|
|
46
|
-
|
|
47
|
+
O,
|
|
47
48
|
{
|
|
48
49
|
deleteHeader: a,
|
|
49
50
|
deleteText: f,
|
|
50
51
|
deleteBody: i
|
|
51
52
|
}
|
|
52
|
-
) : /* @__PURE__ */ r(
|
|
53
|
+
) : /* @__PURE__ */ r(A, { impossibleDeleteHeader: v }) })
|
|
53
54
|
] })
|
|
54
55
|
}
|
|
55
56
|
);
|
|
56
|
-
},
|
|
57
|
+
}, z = ({
|
|
57
58
|
element: e,
|
|
58
59
|
isCrossedOut: o = !1
|
|
59
|
-
}) => o ? /* @__PURE__ */ r("span", { className: n.crossedOut, children: e }) : e,
|
|
60
|
-
|
|
60
|
+
}) => o ? /* @__PURE__ */ r("span", { className: n.crossedOut, children: e }) : e, B = ({ icon: e }) => e ? typeof e != "string" ? e : Object.values(x).includes(e) ? /* @__PURE__ */ r(
|
|
61
|
+
j,
|
|
61
62
|
{
|
|
62
63
|
icon: e,
|
|
63
64
|
iconSize: "xlarge",
|
|
64
65
|
className: n.colorDanger
|
|
65
66
|
}
|
|
66
|
-
) : /* @__PURE__ */ r(
|
|
67
|
+
) : /* @__PURE__ */ r(N, { icon: e, iconSize: "xlarge", className: n.colorDanger }) : /* @__PURE__ */ r(s, {}), O = ({
|
|
67
68
|
deleteHeader: e,
|
|
68
69
|
deleteText: o,
|
|
69
70
|
deleteBody: l
|
|
@@ -79,11 +80,11 @@ const w = ({
|
|
|
79
80
|
themeColor: "text-secondary-on-background",
|
|
80
81
|
children: a
|
|
81
82
|
},
|
|
82
|
-
|
|
83
|
+
S(i.toString())
|
|
83
84
|
)) })
|
|
84
|
-
] }),
|
|
85
|
+
] }), A = ({
|
|
85
86
|
impossibleDeleteHeader: e
|
|
86
87
|
}) => /* @__PURE__ */ r(t, { level: 1, themeColor: "text-primary-on-background", children: e });
|
|
87
88
|
export {
|
|
88
|
-
|
|
89
|
+
K as DeleteModal
|
|
89
90
|
};
|
|
@@ -6,6 +6,7 @@ import { u as A } from "../../useBreakpoints-BNeVhjjZ.js";
|
|
|
6
6
|
import "../../alertBanner.module-BPiKN0gh.js";
|
|
7
7
|
import { I as H } from "../../Iconify-CY9lZjFd.js";
|
|
8
8
|
import "../../react-tooltip.min-BzHiZW8k.js";
|
|
9
|
+
import "../../overflowTooltip.module-BN3bp9Cj.js";
|
|
9
10
|
import "../../basicHeading.module-BYb8xvuk.js";
|
|
10
11
|
import "../../isArray-Ca4KR8TK.js";
|
|
11
12
|
import "../../_baseToString-BNXOi2Mf.js";
|
|
@@ -14,13 +15,13 @@ import "../../iconify.module-C89oaw5b.js";
|
|
|
14
15
|
import { SearchBar as K } from "../SearchBar/SearchBar.js";
|
|
15
16
|
import "../../listArea.module-CGpHPOji.js";
|
|
16
17
|
import "../../verticalDivider.module-C3_GL-fH.js";
|
|
17
|
-
import "../../baseView.module-
|
|
18
|
+
import "../../baseView.module-uWbm_a5f.js";
|
|
18
19
|
import "../../BlockView.module-BPlNT5uh.js";
|
|
19
20
|
import "lodash";
|
|
20
21
|
import "../../contextMenu.module-DNQ8d9Aj.js";
|
|
21
22
|
import "../../deleteModal.module-Ds3MDzdl.js";
|
|
22
23
|
import "../../disclaimer.module-BZydt-Q_.js";
|
|
23
|
-
import "../../genericCard.module-
|
|
24
|
+
import "../../genericCard.module-DrQu86jX.js";
|
|
24
25
|
import "../../HashTabView.module-DUekkiTC.js";
|
|
25
26
|
import "../../HeaderFilter.module-DiBmulr5.js";
|
|
26
27
|
import "../../infoGroup.module-Cxw88dfC.js";
|
|
@@ -32,7 +33,7 @@ import "react-hook-form";
|
|
|
32
33
|
import "../../formDatePicker.module-BV3ma_7y.js";
|
|
33
34
|
import "../../formSelect.module-C18N-SsT.js";
|
|
34
35
|
import "../../formText.module-C0by6_DK.js";
|
|
35
|
-
const
|
|
36
|
+
const xt = ({
|
|
36
37
|
clearFilterText: m,
|
|
37
38
|
closeCallback: a,
|
|
38
39
|
currentFilter: i,
|
|
@@ -174,5 +175,5 @@ const Ct = ({
|
|
|
174
175
|
);
|
|
175
176
|
};
|
|
176
177
|
export {
|
|
177
|
-
|
|
178
|
+
xt as Filter
|
|
178
179
|
};
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { jsx as r, jsxs as B } from "react/jsx-runtime";
|
|
2
2
|
import { Elevation as D, Table as G, TableTopBar as u, Group as m, Padding as W, TypoDisplay as k, TypoSubtitle as C } from "@element/react-components";
|
|
3
3
|
import { Fragment as j } from "react";
|
|
4
|
-
import { a as
|
|
4
|
+
import { a as t } from "../../genericTable.module-Dk3yy2S3.js";
|
|
5
5
|
import { u as x } from "../../useBreakpoints-BNeVhjjZ.js";
|
|
6
6
|
import "../../alertBanner.module-BPiKN0gh.js";
|
|
7
7
|
import "../../iconify.module-C89oaw5b.js";
|
|
8
8
|
import "../../isArray-Ca4KR8TK.js";
|
|
9
9
|
import "../../react-tooltip.min-BzHiZW8k.js";
|
|
10
|
+
import "../../overflowTooltip.module-BN3bp9Cj.js";
|
|
10
11
|
import "../../basicHeading.module-BYb8xvuk.js";
|
|
11
12
|
import "../../_baseToString-BNXOi2Mf.js";
|
|
12
13
|
import "../../_equalByTag-DJhSpgVG.js";
|
|
13
14
|
import "../../searchBar.module-9gKyrZRT.js";
|
|
14
15
|
import "../../listArea.module-CGpHPOji.js";
|
|
15
16
|
import "../../verticalDivider.module-C3_GL-fH.js";
|
|
16
|
-
import "../../baseView.module-
|
|
17
|
+
import "../../baseView.module-uWbm_a5f.js";
|
|
17
18
|
import "../../BlockView.module-BPlNT5uh.js";
|
|
18
19
|
import "lodash";
|
|
19
20
|
import "../../contextMenu.module-DNQ8d9Aj.js";
|
|
@@ -32,7 +33,7 @@ import "../../formSelect.module-C18N-SsT.js";
|
|
|
32
33
|
import "../../formText.module-C0by6_DK.js";
|
|
33
34
|
import { useGenerateColumns as _, useGenerateTableData as $ } from "./GenericTableService.js";
|
|
34
35
|
import { GenericCardList as A } from "./Mobile/GenericCardList.js";
|
|
35
|
-
const
|
|
36
|
+
const fr = ({
|
|
36
37
|
data: l = [],
|
|
37
38
|
hiddenColumns: p = [],
|
|
38
39
|
order: f = [],
|
|
@@ -43,7 +44,7 @@ const ur = ({
|
|
|
43
44
|
pagination: y = !1,
|
|
44
45
|
getRowActions: s = void 0,
|
|
45
46
|
customColumnWidth: b,
|
|
46
|
-
title:
|
|
47
|
+
title: e,
|
|
47
48
|
cardTitleColumn: v,
|
|
48
49
|
cardSubTitleColumn: T
|
|
49
50
|
}) => {
|
|
@@ -60,26 +61,26 @@ const ur = ({
|
|
|
60
61
|
data: l,
|
|
61
62
|
getRowActions: s
|
|
62
63
|
});
|
|
63
|
-
return o ? /* @__PURE__ */ r(D, { elevation: 1, className:
|
|
64
|
+
return o ? /* @__PURE__ */ r(D, { elevation: 1, className: t.elevation, children: /* @__PURE__ */ r(
|
|
64
65
|
G,
|
|
65
66
|
{
|
|
66
|
-
className:
|
|
67
|
+
className: t.table,
|
|
67
68
|
fullWidth: !0,
|
|
68
69
|
alwaysUseDivTags: !0,
|
|
69
70
|
layout: "standard",
|
|
70
71
|
hiddenColumns: p,
|
|
71
72
|
data: c,
|
|
72
73
|
columns: a,
|
|
73
|
-
leadingContent:
|
|
74
|
+
leadingContent: e && i?.length === 0 ? /* @__PURE__ */ r(u, { title: e }) : i?.length > 0 && /* @__PURE__ */ r(
|
|
74
75
|
u,
|
|
75
76
|
{
|
|
76
|
-
className:
|
|
77
|
+
className: t.topBar,
|
|
77
78
|
filterBar: /* @__PURE__ */ B(m, { fullWidth: !0, direction: "vertical", gap: "none", children: [
|
|
78
|
-
|
|
79
|
+
e && /* @__PURE__ */ r(W, { children: /* @__PURE__ */ r(k, { level: 6, children: e }) }),
|
|
79
80
|
/* @__PURE__ */ r(
|
|
80
81
|
m,
|
|
81
82
|
{
|
|
82
|
-
className:
|
|
83
|
+
className: t.filterBar,
|
|
83
84
|
fullWidth: !0,
|
|
84
85
|
primaryAlign: "end",
|
|
85
86
|
secondaryAlign: "center",
|
|
@@ -98,7 +99,7 @@ const ur = ({
|
|
|
98
99
|
fullWidth: !0,
|
|
99
100
|
primaryAlign: "center",
|
|
100
101
|
secondaryAlign: "center",
|
|
101
|
-
className:
|
|
102
|
+
className: t.emptyTable,
|
|
102
103
|
children: /* @__PURE__ */ r(C, { children: n })
|
|
103
104
|
}
|
|
104
105
|
)
|
|
@@ -114,5 +115,5 @@ const ur = ({
|
|
|
114
115
|
);
|
|
115
116
|
};
|
|
116
117
|
export {
|
|
117
|
-
|
|
118
|
+
fr as GenericTable
|
|
118
119
|
};
|
|
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as s, Fragment as g } from "react/jsx-runtime";
|
|
|
2
2
|
import { Card as T, CardContent as v, CardBody as y, Grid as x, GridRow as b, GridCol as n, TypoSubtitle as f, CardTitle as u, CardDivider as N } from "@element/react-components";
|
|
3
3
|
import { useMemo as $ } from "react";
|
|
4
4
|
import { OverflowTooltip as c } from "../../OverflowTooltip/OverflowTooltip.js";
|
|
5
|
-
import { s as a } from "../../../genericCard.module-
|
|
5
|
+
import { s as a } from "../../../genericCard.module-DrQu86jX.js";
|
|
6
6
|
const h = {
|
|
7
7
|
desktopCol: 6,
|
|
8
8
|
phoneCol: 2,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
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 t } from "../../../genericCard.module-
|
|
4
|
+
import { s as t } from "../../../genericCard.module-DrQu86jX.js";
|
|
5
5
|
const u = ({
|
|
6
6
|
columns: n,
|
|
7
7
|
data: e,
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { TypoBody as
|
|
3
|
-
import { useState as
|
|
1
|
+
import { jsxs as p, Fragment as a, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { TypoBody as c } from "@element/react-components";
|
|
3
|
+
import { useState as d, useMemo as h, cloneElement as f } from "react";
|
|
4
4
|
import { H as w } from "../../react-tooltip.min-BzHiZW8k.js";
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
import { s as u } from "../../overflowTooltip.module-BN3bp9Cj.js";
|
|
6
|
+
const k = ({ id: e, text: l, children: t }) => {
|
|
7
|
+
const [r, i] = d(!1), m = h(
|
|
7
8
|
() => f(t, {
|
|
8
9
|
"data-tooltip-id": e,
|
|
9
10
|
onMouseEnter: ({ currentTarget: o }) => {
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
}
|
|
11
|
+
const n = o.clientWidth < o.scrollWidth || o.clientHeight < o.scrollHeight;
|
|
12
|
+
i(n);
|
|
13
|
+
},
|
|
14
|
+
className: `${u.truncate} ${t.props.className}`
|
|
13
15
|
}),
|
|
14
16
|
[t, e]
|
|
15
17
|
);
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
-
|
|
18
|
-
/* @__PURE__ */
|
|
18
|
+
return /* @__PURE__ */ p(a, { children: [
|
|
19
|
+
m,
|
|
20
|
+
/* @__PURE__ */ s(
|
|
19
21
|
w,
|
|
20
22
|
{
|
|
21
23
|
id: e,
|
|
@@ -28,7 +30,7 @@ const k = ({ id: e, text: i, children: t }) => {
|
|
|
28
30
|
maxWidth: "90%",
|
|
29
31
|
wordBreak: "break-word"
|
|
30
32
|
},
|
|
31
|
-
children: /* @__PURE__ */
|
|
33
|
+
children: /* @__PURE__ */ s(c, { level: 2, children: l })
|
|
32
34
|
}
|
|
33
35
|
)
|
|
34
36
|
] });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "./assets/genericCard.css";
|
|
2
|
+
const t = "_cardTitle_ny9m0_1", n = "_cardBody_ny9m0_5", o = "_cardContent_ny9m0_10", _ = "_row_ny9m0_14", e = "_font_ny9m0_18", r = "_fontHeader_ny9m0_23", c = "_title_ny9m0_27", y = "_emptyContainer_ny9m0_33", a = "_empty_ny9m0_33", d = {
|
|
3
|
+
cardTitle: t,
|
|
4
|
+
cardBody: n,
|
|
5
|
+
cardContent: o,
|
|
6
|
+
row: _,
|
|
7
|
+
font: e,
|
|
8
|
+
fontHeader: r,
|
|
9
|
+
title: c,
|
|
10
|
+
emptyContainer: y,
|
|
11
|
+
empty: a
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
d as s
|
|
15
|
+
};
|
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.7857",
|
|
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/baseView.css";
|
|
2
|
-
const t = "_divider_1513z_1", e = "_truncate_1513z_5", i = "_desktopList_1513z_13", s = "_mobileList_1513z_17", o = "_desktopDetail_1513z_21", _ = "_mobileDetail_1513z_25", d = {
|
|
3
|
-
divider: t,
|
|
4
|
-
truncate: e,
|
|
5
|
-
desktopList: i,
|
|
6
|
-
mobileList: s,
|
|
7
|
-
desktopDetail: o,
|
|
8
|
-
mobileDetail: _
|
|
9
|
-
};
|
|
10
|
-
export {
|
|
11
|
-
d as s
|
|
12
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import "./assets/genericCard.css";
|
|
2
|
-
const t = "_cardTitle_ecoot_1", o = "_cardBody_ecoot_5", e = "_cardContent_ecoot_10", c = "_row_ecoot_14", n = "_font_ecoot_18", _ = "_fontHeader_ecoot_28", r = "_title_ecoot_32", a = "_emptyContainer_ecoot_40", d = "_empty_ecoot_40", i = {
|
|
3
|
-
cardTitle: t,
|
|
4
|
-
cardBody: o,
|
|
5
|
-
cardContent: e,
|
|
6
|
-
row: c,
|
|
7
|
-
font: n,
|
|
8
|
-
fontHeader: _,
|
|
9
|
-
title: r,
|
|
10
|
-
emptyContainer: a,
|
|
11
|
-
empty: d
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
i as s
|
|
15
|
-
};
|