@hortiview/shared-components 0.0.11176 → 0.0.11587
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/README.md +58 -8
- package/dist/BigLoadingSpinner-iegTbDcD.js +16 -0
- package/dist/GenericCard-6J558OgP.js +350 -0
- package/dist/ListAreaService-DOwtdRa4.js +109 -0
- package/dist/_MapCache-B75yWNNd.js +376 -0
- package/dist/_baseIsEqual-D0Dsajdb.js +317 -0
- package/dist/_getTag-BCf9b56Z.js +81 -0
- package/dist/animationframe-EMBh6XeO.js +54 -0
- package/dist/assets/HashTabView.css +1 -1
- package/dist/assets/Select.css +1 -0
- package/dist/component-DsB0poTj.js +571 -0
- package/dist/component-neHBNHRu.js +114 -0
- package/dist/components/AlertBanner/AlertBanner.d.ts +0 -1
- package/dist/components/AlertBanner/AlertBanner.js +15 -15
- package/dist/components/AlertBanner/AlertBanner.test.js +11 -9
- package/dist/components/BaseView/BaseView.d.ts +1 -1
- package/dist/components/BaseView/BaseView.js +27 -28
- package/dist/components/BaseView/BaseView.test.js +25 -25
- package/dist/components/BasicHeading/BasicHeading.d.ts +1 -0
- package/dist/components/BasicHeading/BasicHeading.js +17 -17
- package/dist/components/BasicHeading/BasicHeading.test.js +10 -10
- package/dist/components/BlockView/BlockView.d.ts +1 -0
- package/dist/components/BlockView/BlockView.js +24 -25
- package/dist/components/BlockView/BlockView.test.js +2 -2
- package/dist/components/ChipCard/ChipCard.js +1765 -15
- package/dist/components/ChipCard/ChipCard.test.js +2 -2
- package/dist/components/ContextMenu/ContextMenu.d.ts +3 -2
- package/dist/components/ContextMenu/ContextMenu.js +28 -28
- package/dist/components/ContextMenu/ContextMenu.test.js +2 -2
- package/dist/components/DeleteModal/DeleteModal.d.ts +0 -1
- package/dist/components/DeleteModal/DeleteModal.js +53 -51
- package/dist/components/DeleteModal/DeleteModal.test.js +2 -2
- package/dist/components/Disclaimer/Disclaimer.js +12 -11
- package/dist/components/Disclaimer/Disclaimer.test.js +2 -2
- package/dist/components/EmptyView/EmptyView.d.ts +1 -0
- package/dist/components/EmptyView/EmptyView.js +258 -19
- package/dist/components/EmptyView/EmptyView.test.js +2 -2
- package/dist/components/Filter/Filter.d.ts +1 -0
- package/dist/components/Filter/Filter.js +81 -77
- package/dist/components/Filter/Filter.test.js +2 -2
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.d.ts +1 -0
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.js +13 -11
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.test.js +2 -2
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.d.ts +3 -2
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +5975 -6389
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.test.js +2 -2
- package/dist/components/FormComponents/FormNumber/CustomTextField.d.ts +2 -1
- package/dist/components/FormComponents/FormNumber/CustomTextField.js +13 -14
- package/dist/components/FormComponents/FormNumber/FormNumber.d.ts +2 -1
- package/dist/components/FormComponents/FormNumber/FormNumber.js +2 -2
- package/dist/components/FormComponents/FormNumber/FormNumber.test.js +4 -4
- package/dist/components/FormComponents/FormRadio/FormRadio.d.ts +1 -0
- package/dist/components/FormComponents/FormRadio/FormRadio.js +4 -4
- package/dist/components/FormComponents/FormRadio/FormRadio.test.js +2 -2
- package/dist/components/FormComponents/FormSelect/FormSelect.d.ts +4 -7
- package/dist/components/FormComponents/FormSelect/FormSelect.js +100 -110
- package/dist/components/FormComponents/FormSelect/FormSelect.test.js +3 -3
- package/dist/components/FormComponents/FormSelect/SelectTooltipText.d.ts +1 -0
- package/dist/components/FormComponents/FormSelect/SelectTooltipText.js +6 -5
- package/dist/components/FormComponents/FormSlider/FormSlider.d.ts +1 -0
- package/dist/components/FormComponents/FormSlider/FormSlider.js +1155 -27
- package/dist/components/FormComponents/FormSlider/FormSlider.test.js +2 -2
- package/dist/components/FormComponents/FormText/FormText.d.ts +2 -1
- package/dist/components/FormComponents/FormText/FormText.js +28 -28
- package/dist/components/FormComponents/FormText/FormText.test.js +13 -13
- package/dist/components/FormComponents/FormToggle/FormToggle.d.ts +2 -1
- package/dist/components/FormComponents/FormToggle/FormToggle.js +17 -15
- package/dist/components/FormComponents/FormToggle/FormToggle.test.js +2 -2
- package/dist/components/FormattedNumberDisplay/FormattedNumberDisplay.d.ts +2 -1
- package/dist/components/FormattedNumberDisplay/FormattedNumberDisplay.js +1 -1
- package/dist/components/GenericTable/GenericTable.d.ts +1 -0
- package/dist/components/GenericTable/GenericTable.js +10487 -76
- package/dist/components/GenericTable/GenericTable.test.js +2 -2
- package/dist/components/GenericTable/GenericTableService.d.ts +1 -0
- package/dist/components/GenericTable/GenericTableService.js +41 -41
- package/dist/components/GenericTable/Mobile/GenericCard.d.ts +1 -1
- package/dist/components/GenericTable/Mobile/GenericCard.js +4 -3
- package/dist/components/GenericTable/Mobile/GenericCard.test.js +3 -3
- package/dist/components/GenericTable/Mobile/GenericCardList.d.ts +1 -1
- package/dist/components/GenericTable/Mobile/GenericCardList.js +10 -8
- package/dist/components/GenericTable/Mobile/GenericCardList.test.js +2 -2
- package/dist/components/HashTabView/HashTabView.d.ts +6 -1
- package/dist/components/HashTabView/HashTabView.js +1805 -72
- package/dist/components/HashTabView/HashTabView.test.js +2 -2
- package/dist/components/HeaderFilter/HeaderFilter.d.ts +3 -2
- package/dist/components/HeaderFilter/HeaderFilter.js +14 -14
- package/dist/components/HeaderFilter/HeaderFilter.test.js +2 -2
- package/dist/components/HealthCheckFailed/HealthCheckFailed.js +19 -17
- package/dist/components/HealthCheckFailed/HealthCheckFailed.test.js +2 -2
- package/dist/components/Iconify/Iconify.d.ts +2 -3
- package/dist/components/Iconify/Iconify.js +44 -45
- package/dist/components/Iconify/Iconify.test.js +2 -2
- package/dist/components/InfoGroup/InfoGroup.d.ts +4 -3
- package/dist/components/InfoGroup/InfoGroup.js +30 -29
- package/dist/components/InfoGroup/InfoGroup.test.js +2 -2
- package/dist/components/ListArea/ListArea.d.ts +1 -1
- package/dist/components/ListArea/ListArea.js +29 -27
- package/dist/components/ListArea/ListArea.test.js +5 -5
- package/dist/components/ListArea/ListAreaService.d.ts +9 -8
- package/dist/components/ListArea/ListAreaService.js +7 -5
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +2 -2
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +3 -3
- package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +506 -38
- package/dist/components/LoadingSpinner/Default/LoadingSpinner.test.js +2 -2
- package/dist/components/Modal/Modal.d.ts +2 -1
- package/dist/components/Modal/Modal.js +926 -10
- package/dist/components/ModulePadding/ModulePadding.d.ts +7 -0
- package/dist/components/ModulePadding/ModulePadding.js +28 -0
- package/dist/components/ModulePadding/ModulePadding.test.d.ts +1 -0
- package/dist/components/ModulePadding/ModulePadding.test.js +22 -0
- package/dist/components/OverflowTooltip/OverflowTooltip.d.ts +0 -1
- package/dist/components/OverflowTooltip/OverflowTooltip.js +13 -14
- package/dist/components/OverflowTooltip/OverflowTooltip.test.js +4 -4
- package/dist/components/Scrollbar/Scrollbar.js +5 -6
- package/dist/components/Scrollbar/scrollbar.test.js +2 -2
- package/dist/components/SearchBar/SearchBar.js +11 -11
- package/dist/components/SearchBar/SearchBar.test.js +2 -2
- package/dist/components/Select/Select.d.ts +14 -0
- package/dist/components/Select/Select.js +34 -0
- package/dist/components/Select/Select.test.d.ts +1 -0
- package/dist/components/Select/Select.test.js +28 -0
- package/dist/components/VerticalDivider/VerticalDivider.js +4 -5
- package/dist/components/VerticalDivider/VerticalDivider.test.js +2 -2
- package/dist/floating-ui.dom-CeD8zknG.js +978 -0
- package/dist/get-7ACccM2X.js +114 -0
- package/dist/{get-BiqanC9_.js → get-DFv1gXfq.js} +1 -1
- package/dist/hooks/useBreakpoints.test.js +2 -2
- package/dist/hooks/useHelperText.d.ts +1 -0
- package/dist/hooks/useHelperText.js +1 -1
- package/dist/identity-DLWZln-X.js +1763 -0
- package/dist/{index-DzM8o582.js → index-CrcXCSzI.js} +1940 -1796
- package/dist/index.es-0lQcz8m1.js +444 -0
- package/dist/index.es-25EARqhH.js +2027 -0
- package/dist/index.es-3043KTnb.js +1066 -0
- package/dist/index.es-41ztjcFT.js +724 -0
- package/dist/index.es-6TJ1S8Jr.js +954 -0
- package/dist/index.es-8GOVkuo-.js +374 -0
- package/dist/index.es-B-_jXDuz.js +216 -0
- package/dist/index.es-BWgXLqXn.js +102 -0
- package/dist/index.es-BtjV0oNv.js +360 -0
- package/dist/index.es-BvrQnJ3j.js +509 -0
- package/dist/index.es-CF_xy2ns.js +674 -0
- package/dist/index.es-CL_Heu1n.js +54 -0
- package/dist/index.es-CiqbARoC.js +306 -0
- package/dist/index.es-D-CKRzIB.js +63 -0
- package/dist/index.es-D6N-XWHe.js +56 -0
- package/dist/index.es-DKDgy7Kt.js +45 -0
- package/dist/index.es-DntoATwO.js +159 -0
- package/dist/index.es-UHKFl8Da.js +7075 -0
- package/dist/index.es-d5xhUpJZ.js +3242 -0
- package/dist/index.es-da0cf7oE.js +569 -0
- package/dist/index.es-h2lMdt7G.js +107 -0
- package/dist/index.es-zr101OF5.js +4853 -0
- package/dist/{isArray-2zMxXFEr.js → isArray-DN9s620O.js} +3 -3
- package/dist/{isArray-C_5XvIlE.js → isArray-Dub1wGJM.js} +1 -1
- package/dist/isEmpty-B4GG2s-V.js +31 -0
- package/dist/isPlainObject-C273y67K.js +40 -0
- package/dist/isString-BW9UHONv.js +21 -0
- package/dist/keyboard-Bpt0aBqQ.js +107 -0
- package/dist/main.d.ts +3 -0
- package/dist/main.js +58 -54
- package/dist/orderBy-Bd48bw88.js +316 -0
- package/dist/{react-number-format.es-BD3_OvMU.js → react-number-format.es-BK1EpVXq.js} +151 -151
- package/dist/react-tooltip.min-DSY6KDqS.js +431 -0
- package/dist/{react.esm-FR1-H8iU.js → react.esm-DNwojocF.js} +5289 -4990
- package/dist/services/BlockService.d.ts +1 -0
- package/dist/services/NumberService.d.ts +1 -0
- package/dist/services/UtilService.d.ts +1 -0
- package/dist/services/UtilService.js +2 -2
- package/dist/services/services.test.js +1 -1
- package/dist/toString-CrgB_7Pe.js +54 -0
- package/dist/tslib.es6-BDCynO9F.js +162 -0
- package/dist/types/GenericTable.d.ts +2 -2
- package/dist/types/HashTab.d.ts +0 -1
- package/dist/types/ListElement.d.ts +0 -1
- package/dist/types/internal/ReactRouterTypes.d.ts +0 -1
- package/dist/uniqueId-NU3-C36A.js +18 -0
- package/dist/util-DA21pZXj.js +78 -0
- package/dist/{vi.CjhMlMwf-DWv7vrn7.js → vi.CjhMlMwf-BCJNwXvu.js} +1 -1
- package/package.json +15 -15
- package/dist/BigLoadingSpinner-C3wTbTD0.js +0 -17
- package/dist/GenericCard-B8x1DMa8.js +0 -81
- package/dist/ListAreaService-CRX4eEUJ.js +0 -108
- package/dist/_Map-Dtlps7IZ.js +0 -113
- package/dist/_overArg-_0pUmCsX.js +0 -14
- package/dist/get-P-5PYZOE.js +0 -426
- package/dist/isEmpty-BimaZd5G.js +0 -225
- package/dist/isString-BOHPtrlm.js +0 -44
- package/dist/orderBy-BVQIswlJ.js +0 -765
- package/dist/react-tooltip.min-c2wVkjF2.js +0 -1354
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { a, s as i } from "../../react.esm-
|
|
2
|
+
import { a, s as i } from "../../react.esm-DNwojocF.js";
|
|
3
3
|
import { ChipCard as n } from "./ChipCard.js";
|
|
4
|
-
import { d as s, t as c, g as t } from "../../vi.CjhMlMwf-
|
|
4
|
+
import { d as s, t as c, g as t } from "../../vi.CjhMlMwf-BCJNwXvu.js";
|
|
5
5
|
s("ChipCard Component", () => {
|
|
6
6
|
const r = "Test Label", o = "domain";
|
|
7
7
|
c("renders the correct label and icon", () => {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ListItemProps } from '@element/react-
|
|
1
|
+
import { ListItemProps } from '@element-public/react-list';
|
|
2
|
+
|
|
2
3
|
type ContextMenuProps = {
|
|
3
4
|
/**
|
|
4
5
|
* If not null, the menu will be open
|
|
@@ -23,7 +24,7 @@ export type ActionProps = ListItemProps & {
|
|
|
23
24
|
* @param {boolean} triggerOpen indicates if the menu should be open
|
|
24
25
|
* @param {ListItemProps[]} actions list of actions to display in the context menu as ListItems
|
|
25
26
|
* @recommended `primaryText`, `onClick`, `leadingBlock`
|
|
26
|
-
* @requires `ListItemProps` from `@element/react-components`
|
|
27
|
+
* @requires `ListItemProps` from `@element-public/react-components`
|
|
27
28
|
* @example const actions = [
|
|
28
29
|
* { primaryText: 'Open', onClick: () => openSomeModal(), leadingBlock: 'add' },
|
|
29
30
|
* { primaryText: 'Delete', onClick: () => DeleteSomeThing(), leadingBlock: 'delete_outline'},
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { useState as p, useCallback as
|
|
5
|
-
import {
|
|
6
|
-
const y = "_menu_ol91v_1", C = "_icon_ol91v_5", k = "_listItem_ol91v_9",
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { I as u } from "../../index.es-0lQcz8m1.js";
|
|
3
|
+
import { M as f, L as d, a as _ } from "../../index.es-d5xhUpJZ.js";
|
|
4
|
+
import { useState as p, useCallback as a, useEffect as I } from "react";
|
|
5
|
+
import { u as v } from "../../uniqueId-NU3-C36A.js";
|
|
6
|
+
import '../../assets/ContextMenu.css';const y = "_menu_ol91v_1", C = "_icon_ol91v_5", k = "_listItem_ol91v_9", l = {
|
|
7
7
|
menu: y,
|
|
8
8
|
icon: C,
|
|
9
9
|
listItem: k
|
|
10
|
-
},
|
|
11
|
-
triggerOpen:
|
|
10
|
+
}, b = ({
|
|
11
|
+
triggerOpen: s = null,
|
|
12
12
|
actions: m,
|
|
13
|
-
iconOrientation:
|
|
13
|
+
iconOrientation: c = "vertical"
|
|
14
14
|
}) => {
|
|
15
|
-
const [t,
|
|
16
|
-
|
|
17
|
-
}, [t]),
|
|
18
|
-
|
|
15
|
+
const [t, o] = p(!1), r = a(() => {
|
|
16
|
+
o(!t);
|
|
17
|
+
}, [t]), i = a(() => {
|
|
18
|
+
o(!1);
|
|
19
19
|
}, []);
|
|
20
20
|
return I(() => {
|
|
21
|
-
|
|
22
|
-
}, [
|
|
23
|
-
|
|
21
|
+
o(s !== null ? s : !1);
|
|
22
|
+
}, [s]), /* @__PURE__ */ n(
|
|
23
|
+
f,
|
|
24
24
|
{
|
|
25
|
-
className:
|
|
25
|
+
className: l.menu,
|
|
26
26
|
"data-testid": "selection-menu",
|
|
27
27
|
open: t,
|
|
28
28
|
surfaceOnly: !0,
|
|
29
29
|
hoistToBody: !0,
|
|
30
|
-
onClose:
|
|
31
|
-
trigger: /* @__PURE__ */
|
|
32
|
-
|
|
30
|
+
onClose: i,
|
|
31
|
+
trigger: /* @__PURE__ */ n(
|
|
32
|
+
u,
|
|
33
33
|
{
|
|
34
|
-
className:
|
|
34
|
+
className: l.icon,
|
|
35
35
|
variant: t ? "filled-primary" : void 0,
|
|
36
36
|
"data-testid": "open-button",
|
|
37
|
-
icon:
|
|
38
|
-
onClick:
|
|
37
|
+
icon: c === "vertical" ? "more_vert" : "more_horiz",
|
|
38
|
+
onClick: r
|
|
39
39
|
}
|
|
40
40
|
),
|
|
41
|
-
children: /* @__PURE__ */
|
|
42
|
-
|
|
41
|
+
children: /* @__PURE__ */ n(d, { children: m.map((e) => /* @__PURE__ */ n(
|
|
42
|
+
_,
|
|
43
43
|
{
|
|
44
|
-
className:
|
|
44
|
+
className: l.listItem,
|
|
45
45
|
...e,
|
|
46
46
|
leadingBlockType: "icon",
|
|
47
47
|
"data-testid": `list-item-button-${e.primaryText}`,
|
|
48
48
|
onClick: () => {
|
|
49
|
-
e?.onClick?.(), e.closeOnClick !== !1 &&
|
|
49
|
+
e?.onClick?.(), e.closeOnClick !== !1 && i();
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
v(`LI_${e.primaryText?.toString()}_`)
|
|
@@ -56,5 +56,5 @@ const y = "_menu_ol91v_1", C = "_icon_ol91v_5", k = "_listItem_ol91v_9", i = {
|
|
|
56
56
|
);
|
|
57
57
|
};
|
|
58
58
|
export {
|
|
59
|
-
|
|
59
|
+
b as ContextMenu
|
|
60
60
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { a as B, s as t, f as o, w as s } from "../../react.esm-
|
|
2
|
+
import { a as B, s as t, f as o, w as s } from "../../react.esm-DNwojocF.js";
|
|
3
3
|
import { ContextMenu as p } from "./ContextMenu.js";
|
|
4
|
-
import { v as l, d as k, t as T, g as e } from "../../vi.CjhMlMwf-
|
|
4
|
+
import { v as l, d as k, t as T, g as e } from "../../vi.CjhMlMwf-BCJNwXvu.js";
|
|
5
5
|
const C = l.fn(), a = l.fn(), i = l.fn(), g = [
|
|
6
6
|
{ primaryText: "Open", onClick: C, leadingBlock: "add" },
|
|
7
7
|
{ primaryText: "Delete", onClick: i, leadingBlock: "delete_outline" },
|
|
@@ -1,51 +1,53 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { jsx as o, jsxs as p, Fragment as i } from "react/jsx-runtime";
|
|
2
|
+
import { B as u } from "../../index.es-CiqbARoC.js";
|
|
3
|
+
import { G as c } from "../../index.es-DntoATwO.js";
|
|
4
|
+
import { I } from "../../index.es-3043KTnb.js";
|
|
5
|
+
import { b as l } from "../../index.es-CF_xy2ns.js";
|
|
6
|
+
import { u as O } from "../../uniqueId-NU3-C36A.js";
|
|
5
7
|
import { AvailableCustomIcons as N } from "../../enums/AvailableCustomIcons.js";
|
|
6
8
|
import { u as S } from "../../useBreakpoints-MzTZ0tCT.js";
|
|
7
9
|
import { Iconify as x } from "../Iconify/Iconify.js";
|
|
8
|
-
import { Modal as
|
|
9
|
-
const
|
|
10
|
-
bulletPoint:
|
|
11
|
-
modal:
|
|
12
|
-
colorDanger:
|
|
10
|
+
import { Modal as B } from "../Modal/Modal.js";
|
|
11
|
+
import '../../assets/DeleteModal.css';const M = "_bulletPoint_1kyg0_1", j = "_modal_1kyg0_6", z = "_colorDanger_1kyg0_10", P = "_crossedOut_1kyg0_14", t = {
|
|
12
|
+
bulletPoint: M,
|
|
13
|
+
modal: j,
|
|
14
|
+
colorDanger: z,
|
|
13
15
|
crossedOut: P
|
|
14
|
-
},
|
|
15
|
-
title:
|
|
16
|
-
confirmButtonLabel:
|
|
16
|
+
}, W = ({
|
|
17
|
+
title: r,
|
|
18
|
+
confirmButtonLabel: e,
|
|
17
19
|
cancelButtonLabel: n,
|
|
18
20
|
deleteHeader: a,
|
|
19
21
|
deleteBody: s,
|
|
20
|
-
deleteText:
|
|
21
|
-
icon:
|
|
22
|
-
isIconCrossedOut:
|
|
23
|
-
impossibleDeleteHeader:
|
|
24
|
-
open:
|
|
25
|
-
setOpen:
|
|
22
|
+
deleteText: f,
|
|
23
|
+
icon: g,
|
|
24
|
+
isIconCrossedOut: b,
|
|
25
|
+
impossibleDeleteHeader: h,
|
|
26
|
+
open: y,
|
|
27
|
+
setOpen: m,
|
|
26
28
|
onDelete: k,
|
|
27
|
-
onCancel:
|
|
28
|
-
isDeletePossible:
|
|
29
|
+
onCancel: v,
|
|
30
|
+
isDeletePossible: d = !0
|
|
29
31
|
}) => {
|
|
30
|
-
const { isDesktop:
|
|
31
|
-
D.detail.action === "close" &&
|
|
32
|
+
const { isDesktop: _ } = S(), C = (D) => {
|
|
33
|
+
D.detail.action === "close" && m(!1);
|
|
32
34
|
};
|
|
33
35
|
return /* @__PURE__ */ o(
|
|
34
|
-
|
|
36
|
+
B,
|
|
35
37
|
{
|
|
36
38
|
className: t.modal,
|
|
37
|
-
modalSize:
|
|
38
|
-
open:
|
|
39
|
+
modalSize: _ ? "small" : "fullscreen",
|
|
40
|
+
open: y,
|
|
39
41
|
onClose: C,
|
|
40
|
-
title:
|
|
42
|
+
title: r,
|
|
41
43
|
primaryButton: /* @__PURE__ */ o(
|
|
42
44
|
u,
|
|
43
45
|
{
|
|
44
46
|
"data-testid": "delete-button",
|
|
45
47
|
variant: "danger",
|
|
46
|
-
label:
|
|
48
|
+
label: e,
|
|
47
49
|
onClick: k,
|
|
48
|
-
disabled: !
|
|
50
|
+
disabled: !d
|
|
49
51
|
}
|
|
50
52
|
),
|
|
51
53
|
footerSupplemental: /* @__PURE__ */ o(
|
|
@@ -55,42 +57,42 @@ const j = "_bulletPoint_1kyg0_1", z = "_modal_1kyg0_6", B = "_colorDanger_1kyg0_
|
|
|
55
57
|
variant: "text",
|
|
56
58
|
label: n,
|
|
57
59
|
onClick: () => {
|
|
58
|
-
|
|
60
|
+
v?.(), m(!1);
|
|
59
61
|
}
|
|
60
62
|
}
|
|
61
63
|
),
|
|
62
|
-
children: /* @__PURE__ */ p(
|
|
63
|
-
/* @__PURE__ */ o(A, { element: /* @__PURE__ */ o(
|
|
64
|
-
/* @__PURE__ */ o(
|
|
65
|
-
|
|
64
|
+
children: /* @__PURE__ */ p(c, { direction: "vertical", secondaryAlign: "center", children: [
|
|
65
|
+
/* @__PURE__ */ o(A, { element: /* @__PURE__ */ o(G, { icon: g }), isCrossedOut: b }),
|
|
66
|
+
/* @__PURE__ */ o(c, { direction: "vertical", children: d ? /* @__PURE__ */ o(
|
|
67
|
+
q,
|
|
66
68
|
{
|
|
67
69
|
deleteHeader: a,
|
|
68
|
-
deleteText:
|
|
70
|
+
deleteText: f,
|
|
69
71
|
deleteBody: s
|
|
70
72
|
}
|
|
71
|
-
) : /* @__PURE__ */ o(
|
|
73
|
+
) : /* @__PURE__ */ o(F, { impossibleDeleteHeader: h }) })
|
|
72
74
|
] })
|
|
73
75
|
}
|
|
74
76
|
);
|
|
75
77
|
}, A = ({
|
|
76
|
-
element:
|
|
77
|
-
isCrossedOut:
|
|
78
|
-
}) =>
|
|
78
|
+
element: r,
|
|
79
|
+
isCrossedOut: e = !1
|
|
80
|
+
}) => e ? /* @__PURE__ */ o("span", { className: t.crossedOut, children: r }) : r, G = ({ icon: r }) => r ? typeof r != "string" ? r : Object.values(N).includes(r) ? /* @__PURE__ */ o(
|
|
79
81
|
x,
|
|
80
82
|
{
|
|
81
|
-
icon:
|
|
83
|
+
icon: r,
|
|
82
84
|
iconSize: "xlarge",
|
|
83
85
|
className: t.colorDanger
|
|
84
86
|
}
|
|
85
|
-
) : /* @__PURE__ */ o(I, { icon:
|
|
86
|
-
deleteHeader:
|
|
87
|
-
deleteText:
|
|
87
|
+
) : /* @__PURE__ */ o(I, { icon: r, iconSize: "xlarge", className: t.colorDanger }) : /* @__PURE__ */ o(i, {}), q = ({
|
|
88
|
+
deleteHeader: r,
|
|
89
|
+
deleteText: e,
|
|
88
90
|
deleteBody: n
|
|
89
|
-
}) => /* @__PURE__ */ p(
|
|
90
|
-
/* @__PURE__ */ o(l, { level: 1, themeColor: "text-primary-on-background", children:
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
n &&
|
|
91
|
+
}) => /* @__PURE__ */ p(i, { children: [
|
|
92
|
+
/* @__PURE__ */ o(l, { level: 1, themeColor: "text-primary-on-background", children: r }),
|
|
93
|
+
e && typeof e == "string" && /* @__PURE__ */ o(l, { level: 2, themeColor: "text-secondary-on-background", children: e }),
|
|
94
|
+
e && typeof e != "string" && /* @__PURE__ */ o(i, { children: e }),
|
|
95
|
+
n && e === void 0 && /* @__PURE__ */ o(c, { direction: "vertical", gap: "none", children: n.map((a, s) => /* @__PURE__ */ o(
|
|
94
96
|
l,
|
|
95
97
|
{
|
|
96
98
|
level: 2,
|
|
@@ -100,9 +102,9 @@ const j = "_bulletPoint_1kyg0_1", z = "_modal_1kyg0_6", B = "_colorDanger_1kyg0_
|
|
|
100
102
|
},
|
|
101
103
|
O(s.toString())
|
|
102
104
|
)) })
|
|
103
|
-
] }),
|
|
104
|
-
impossibleDeleteHeader:
|
|
105
|
-
}) => /* @__PURE__ */ o(l, { level: 1, themeColor: "text-primary-on-background", children:
|
|
105
|
+
] }), F = ({
|
|
106
|
+
impossibleDeleteHeader: r
|
|
107
|
+
}) => /* @__PURE__ */ o(l, { level: 1, themeColor: "text-primary-on-background", children: r });
|
|
106
108
|
export {
|
|
107
|
-
|
|
109
|
+
W as DeleteModal
|
|
108
110
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { a as c, s as e } from "../../react.esm-
|
|
2
|
+
import { a as c, s as e } from "../../react.esm-DNwojocF.js";
|
|
3
3
|
import { DeleteModal as b } from "./DeleteModal.js";
|
|
4
|
-
import { d as B, t as a, v as o, g as t } from "../../vi.CjhMlMwf-
|
|
4
|
+
import { d as B, t as a, v as o, g as t } from "../../vi.CjhMlMwf-BCJNwXvu.js";
|
|
5
5
|
B("DeleteModal Test", () => {
|
|
6
6
|
a("should render the DeleteModal properly", () => {
|
|
7
7
|
c(
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { jsxs as l, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { G as n } from "../../index.es-DntoATwO.js";
|
|
3
|
+
import { I as m } from "../../index.es-3043KTnb.js";
|
|
4
|
+
import { d as t, b as d } from "../../index.es-CF_xy2ns.js";
|
|
5
|
+
import '../../assets/Disclaimer.css';const p = "_disclaimer_1k38t_1", y = "_iconArea_1k38t_7", c = {
|
|
5
6
|
disclaimer: p,
|
|
6
7
|
iconArea: y
|
|
7
|
-
},
|
|
8
|
-
|
|
8
|
+
}, g = ({ text: o, subtext: i, icon: e, level: a = 2, bold: s = !1 }) => /* @__PURE__ */ l(
|
|
9
|
+
n,
|
|
9
10
|
{
|
|
10
|
-
direction:
|
|
11
|
+
direction: e || i ? "vertical" : "horizontal",
|
|
11
12
|
secondaryAlign: "center",
|
|
12
13
|
primaryAlign: "center",
|
|
13
14
|
children: [
|
|
14
|
-
/* @__PURE__ */ r(t, { className: c.disclaimer, level:
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
/* @__PURE__ */ r(t, { className: c.disclaimer, level: a, bold: s, children: o }),
|
|
16
|
+
i && /* @__PURE__ */ r(d, { level: 2, children: i }),
|
|
17
|
+
e && /* @__PURE__ */ r("div", { className: c.iconArea, children: /* @__PURE__ */ r(m, { className: c.Icon, icon: e, iconSize: "large" }) })
|
|
17
18
|
]
|
|
18
19
|
}
|
|
19
20
|
);
|
|
20
21
|
export {
|
|
21
|
-
|
|
22
|
+
g as Disclaimer
|
|
22
23
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { a as r, s as t } from "../../react.esm-
|
|
2
|
+
import { a as r, s as t } from "../../react.esm-DNwojocF.js";
|
|
3
3
|
import { Disclaimer as s } from "./Disclaimer.js";
|
|
4
|
-
import { d as i, t as m, g as e } from "../../vi.CjhMlMwf-
|
|
4
|
+
import { d as i, t as m, g as e } from "../../vi.CjhMlMwf-BCJNwXvu.js";
|
|
5
5
|
i("Disclaimer test", () => {
|
|
6
6
|
m("should render with default text", () => {
|
|
7
7
|
r(/* @__PURE__ */ o(s, { text: "disclaimer.default" })), e(t.getByText("disclaimer.default")).toBeInTheDocument();
|
|
@@ -1,32 +1,271 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { jsx as m, jsxs as $ } from "react/jsx-runtime";
|
|
2
|
+
import { G as _ } from "../../index.es-DntoATwO.js";
|
|
3
|
+
import { c as P, _ as C, P as e } from "../../identity-DLWZln-X.js";
|
|
4
|
+
import c, { forwardRef as T, useRef as H, useImperativeHandle as w, useMemo as y } from "react";
|
|
5
|
+
import { e as N, b as O } from "../../index.es-CF_xy2ns.js";
|
|
6
|
+
import { I as B } from "../../index.es-3043KTnb.js";
|
|
7
|
+
const j = {
|
|
8
|
+
/**
|
|
9
|
+
* Aligns the Hero contents.
|
|
10
|
+
*
|
|
11
|
+
* Defaults to **'centered'**.
|
|
12
|
+
*/
|
|
13
|
+
alignment: e.oneOf(["center-bottom", "center-top", "centered", "left-bottom", "left-center", "left-top", "right-bottom", "right-center", "right-top"]),
|
|
14
|
+
/**
|
|
15
|
+
* Content to be rendered inside the Hero.
|
|
16
|
+
*
|
|
17
|
+
* Defaults to **null**.
|
|
18
|
+
*/
|
|
19
|
+
children: e.node,
|
|
20
|
+
/**
|
|
21
|
+
* The css class name to be passed through to the component markup.
|
|
22
|
+
*
|
|
23
|
+
* Defaults to **undefined**.
|
|
24
|
+
*/
|
|
25
|
+
className: e.string,
|
|
26
|
+
/**
|
|
27
|
+
* Image Url for Hero background image
|
|
28
|
+
*
|
|
29
|
+
* Defaults to **null**.
|
|
30
|
+
*/
|
|
31
|
+
imageUrl: e.string,
|
|
32
|
+
/**
|
|
33
|
+
* Adds an overlay over the Hero. Use `overlayProps` to send props to the Hero Overlay component. See Hero Overlay for prop details.
|
|
34
|
+
*
|
|
35
|
+
* Defaults to **false**.
|
|
36
|
+
*/
|
|
37
|
+
overlay: e.bool,
|
|
38
|
+
/**
|
|
39
|
+
* Props sent to Hero Overlay. See Hero Overlay for prop details.
|
|
40
|
+
*
|
|
41
|
+
* Defaults to **{}**.
|
|
42
|
+
*/
|
|
43
|
+
overlayProps: e.object,
|
|
44
|
+
/**
|
|
45
|
+
* Override the default background color. Can only be used if background image is omitted.
|
|
46
|
+
*
|
|
47
|
+
* Defaults to **empty string**.
|
|
48
|
+
*/
|
|
49
|
+
themeColor: e.oneOf(["", "surface", "primary", "secondary"])
|
|
50
|
+
}, A = {
|
|
51
|
+
alignment: "centered",
|
|
52
|
+
children: null,
|
|
53
|
+
className: void 0,
|
|
54
|
+
imageUrl: null,
|
|
55
|
+
overlay: !1,
|
|
56
|
+
overlayProps: {},
|
|
57
|
+
themeColor: ""
|
|
58
|
+
}, I = {
|
|
59
|
+
/**
|
|
60
|
+
* Content to be rendered inside the Hero Content. Will take precedence over props.
|
|
61
|
+
*
|
|
62
|
+
* Defaults to **null**.
|
|
63
|
+
*/
|
|
64
|
+
children: e.node,
|
|
65
|
+
/**
|
|
66
|
+
* The css class name to be passed through to the component markup.
|
|
67
|
+
*
|
|
68
|
+
* Defaults to **undefined**.
|
|
69
|
+
*/
|
|
70
|
+
className: e.string,
|
|
71
|
+
/**
|
|
72
|
+
* Button to be rendered inside the Hero Content.
|
|
73
|
+
*
|
|
74
|
+
* Defaults to **null**.
|
|
75
|
+
*/
|
|
76
|
+
heroBtn: e.node,
|
|
77
|
+
/**
|
|
78
|
+
* Logo to be rendered inside the Hero Content.
|
|
79
|
+
*
|
|
80
|
+
* Defaults to **null**.
|
|
81
|
+
*/
|
|
82
|
+
logo: e.node,
|
|
83
|
+
/**
|
|
84
|
+
* Overline text for the Hero Content. Cannot be used with children.
|
|
85
|
+
*
|
|
86
|
+
* Defaults to **'Overline'**.
|
|
87
|
+
*/
|
|
88
|
+
overline: e.string,
|
|
89
|
+
/**
|
|
90
|
+
* Adds a padding style to the Hero. Must be a valid CSS padding declaration. i.e. 38px 30px
|
|
91
|
+
*
|
|
92
|
+
* Defaults to **null**.
|
|
93
|
+
*/
|
|
94
|
+
padding: e.string,
|
|
95
|
+
/**
|
|
96
|
+
* Passthrough style object.
|
|
97
|
+
*
|
|
98
|
+
* Defaults to **null**.
|
|
99
|
+
*/
|
|
100
|
+
style: e.object,
|
|
101
|
+
/**
|
|
102
|
+
* Subtitle text for the Hero Content. Cannot be used with children.
|
|
103
|
+
*
|
|
104
|
+
* Defaults to **'Subtitle'**.
|
|
105
|
+
*/
|
|
106
|
+
subtitle: e.string,
|
|
107
|
+
/**
|
|
108
|
+
* Set the color of the text. Make sure to check for accessibility compliance.
|
|
109
|
+
*
|
|
110
|
+
* Defaults to **'on-unknown-black-active'**.
|
|
111
|
+
*/
|
|
112
|
+
textColor: e.oneOf(["on-unknown-black-active", "on-unknown-white-active", "primary", "secondary", "on-primary", "on-secondary"]),
|
|
113
|
+
/**
|
|
114
|
+
* Title text for the Hero Content. Cannot be used with children.
|
|
115
|
+
*
|
|
116
|
+
* Defaults to **'Title'**.
|
|
117
|
+
*/
|
|
118
|
+
title: e.string
|
|
119
|
+
}, D = {
|
|
120
|
+
children: null,
|
|
121
|
+
className: void 0,
|
|
122
|
+
heroBtn: null,
|
|
123
|
+
logo: null,
|
|
124
|
+
overline: "Overline",
|
|
125
|
+
padding: null,
|
|
126
|
+
style: null,
|
|
127
|
+
subtitle: "Subtitle",
|
|
128
|
+
textColor: "on-unknown-black-active",
|
|
129
|
+
title: "Title"
|
|
130
|
+
}, R = {
|
|
131
|
+
/**
|
|
132
|
+
* Content to be rendered inside the Hero Overlay. Useful for angles or other non semantic elements displayed in the Hero.
|
|
133
|
+
*
|
|
134
|
+
* Defaults to **null**.
|
|
135
|
+
*/
|
|
136
|
+
children: e.node,
|
|
137
|
+
/**
|
|
138
|
+
* The css class name to be passed through to the component markup.
|
|
139
|
+
*
|
|
140
|
+
* Defaults to **undefined**.
|
|
141
|
+
*/
|
|
142
|
+
className: e.string,
|
|
143
|
+
/**
|
|
144
|
+
* Overlay theme color.
|
|
145
|
+
*
|
|
146
|
+
* Defaults to **'dark'**.
|
|
147
|
+
*/
|
|
148
|
+
overlayThemeColor: e.oneOf(["dark", "light", "surface", "linear-gradient-white-to-bottom", "linear-gradient-white-to-top", "linear-gradient-black-to-bottom", "linear-gradient-black-to-top", "linear-gradient-primary-dark-to-bottom", "linear-gradient-primary-dark-to-top", "linear-gradient-primary-darker-to-bottom", "linear-gradient-primary-darker-to-top", "linear-gradient-primary-to-bottom", "linear-gradient-primary-to-top", "linear-gradient-secondary-dark-to-bottom", "linear-gradient-secondary-dark-to-top", "linear-gradient-secondary-darker-to-bottom", "linear-gradient-secondary-darker-to-top", "linear-gradient-secondary-to-bottom", "linear-gradient-secondary-to-top"]),
|
|
149
|
+
/**
|
|
150
|
+
* Position of the Overlay. Use `overlayThemeColor` to change the theme color. If set to leading or trailing be sure to set `alignment` on Hero accordingly to have Hero Content over the overlay.
|
|
151
|
+
*
|
|
152
|
+
* Defaults to **'full'**.
|
|
153
|
+
*/
|
|
154
|
+
position: e.oneOf(["full", "leading", "trailing"])
|
|
155
|
+
}, U = {
|
|
156
|
+
children: null,
|
|
157
|
+
className: void 0,
|
|
158
|
+
overlayThemeColor: "dark",
|
|
159
|
+
position: "full"
|
|
160
|
+
}, f = /* @__PURE__ */ T((t, o) => {
|
|
161
|
+
const {
|
|
162
|
+
children: l,
|
|
163
|
+
className: a,
|
|
164
|
+
position: n,
|
|
165
|
+
overlayThemeColor: r,
|
|
166
|
+
...i
|
|
167
|
+
} = t, s = H();
|
|
168
|
+
w(o, () => s.current, []);
|
|
169
|
+
const d = y(() => n !== "none" && P("lmnt", "lmnt-hero-overlay ", !r.includes("gradient") && r !== "surface" && `lmnt-hero-overlay__${r}`, r.includes("gradient") && r !== "surface" && `lmnt-theme--bg-${r}`, r === "surface" && "lmnt-theme-surface-bg", `lmnt-hero-overlay__${n}`, a), [r, n, a]);
|
|
170
|
+
return /* @__PURE__ */ c.createElement("div", C({
|
|
171
|
+
className: d
|
|
172
|
+
}, i), l && l);
|
|
173
|
+
});
|
|
174
|
+
f.displayName = "HeroOverlay";
|
|
175
|
+
f.propTypes = R;
|
|
176
|
+
f.defaultProps = U;
|
|
177
|
+
const v = /* @__PURE__ */ T((t, o) => {
|
|
178
|
+
const {
|
|
179
|
+
alignment: l,
|
|
180
|
+
children: a,
|
|
181
|
+
className: n,
|
|
182
|
+
imageUrl: r,
|
|
183
|
+
style: i,
|
|
184
|
+
themeColor: s,
|
|
185
|
+
overlay: d,
|
|
186
|
+
overlayProps: g,
|
|
187
|
+
...u
|
|
188
|
+
} = t, p = H();
|
|
189
|
+
w(o, () => p.current, []);
|
|
190
|
+
const k = y(() => P("lmnt lmnt-hero", s && `lmnt-theme-${s}-bg`, `lmnt-hero__align-${l}`, n), [l, n, s]), h = y(() => r ? {
|
|
191
|
+
...i,
|
|
192
|
+
backgroundImage: `url(${r})`
|
|
193
|
+
} : i, [r, i]);
|
|
194
|
+
return /* @__PURE__ */ c.createElement("div", C({
|
|
195
|
+
ref: p,
|
|
196
|
+
className: k,
|
|
197
|
+
style: h
|
|
198
|
+
}, u), d && /* @__PURE__ */ c.createElement(f, g), a);
|
|
199
|
+
});
|
|
200
|
+
v.displayName = "Hero";
|
|
201
|
+
v.propTypes = j;
|
|
202
|
+
v.defaultProps = A;
|
|
203
|
+
const b = /* @__PURE__ */ T((t, o) => {
|
|
204
|
+
const {
|
|
205
|
+
children: l,
|
|
206
|
+
className: a,
|
|
207
|
+
heroBtn: n,
|
|
208
|
+
logo: r,
|
|
209
|
+
overline: i,
|
|
210
|
+
padding: s,
|
|
211
|
+
title: d,
|
|
212
|
+
style: g,
|
|
213
|
+
subtitle: u,
|
|
214
|
+
textColor: p,
|
|
215
|
+
...k
|
|
216
|
+
} = t, h = H(), E = y(() => P("lmnt lmnt-hero-content", `lmnt-theme-${p}`, a), [a, p]);
|
|
217
|
+
w(o, () => h.current, []);
|
|
218
|
+
const x = y(() => ({
|
|
219
|
+
...g,
|
|
220
|
+
padding: s
|
|
221
|
+
}), [s, g]);
|
|
222
|
+
return /* @__PURE__ */ c.createElement("div", C({
|
|
223
|
+
ref: h,
|
|
224
|
+
className: E
|
|
225
|
+
}, k, {
|
|
226
|
+
style: x
|
|
227
|
+
}), l || /* @__PURE__ */ c.createElement(_, {
|
|
228
|
+
gap: "dense",
|
|
229
|
+
direction: "vertical",
|
|
230
|
+
secondaryAlign: "center"
|
|
231
|
+
}, r && r, i && /* @__PURE__ */ c.createElement(N, {
|
|
232
|
+
type: "overline"
|
|
233
|
+
}, i), d && /* @__PURE__ */ c.createElement(N, {
|
|
234
|
+
type: "display2"
|
|
235
|
+
}, d), u && /* @__PURE__ */ c.createElement(N, {
|
|
236
|
+
type: "display6"
|
|
237
|
+
}, u), n && n));
|
|
238
|
+
});
|
|
239
|
+
b.displayName = "HeroContent";
|
|
240
|
+
b.propTypes = I;
|
|
241
|
+
b.defaultProps = D;
|
|
242
|
+
const F = ({
|
|
243
|
+
title: t = "",
|
|
5
244
|
subtitle: o = "",
|
|
6
|
-
icon:
|
|
7
|
-
text:
|
|
8
|
-
action:
|
|
9
|
-
}) => /* @__PURE__ */
|
|
10
|
-
|
|
245
|
+
icon: l = "dashbord",
|
|
246
|
+
text: a = "",
|
|
247
|
+
action: n
|
|
248
|
+
}) => /* @__PURE__ */ m(
|
|
249
|
+
v,
|
|
11
250
|
{
|
|
12
251
|
"data-testid": "empty-view-container",
|
|
13
252
|
style: { width: "100%", height: "25vh" },
|
|
14
253
|
themeColor: "surface",
|
|
15
|
-
children: /* @__PURE__ */
|
|
16
|
-
|
|
254
|
+
children: /* @__PURE__ */ m(
|
|
255
|
+
b,
|
|
17
256
|
{
|
|
18
|
-
logo: /* @__PURE__ */
|
|
257
|
+
logo: /* @__PURE__ */ m(B, { iconSize: "large", icon: l }),
|
|
19
258
|
overline: "",
|
|
20
259
|
subtitle: o,
|
|
21
|
-
title:
|
|
22
|
-
heroBtn: /* @__PURE__ */
|
|
260
|
+
title: t,
|
|
261
|
+
heroBtn: /* @__PURE__ */ m(G, { action: n, text: a })
|
|
23
262
|
}
|
|
24
263
|
)
|
|
25
264
|
}
|
|
26
|
-
),
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
|
|
29
|
-
] }) : /* @__PURE__ */
|
|
265
|
+
), G = ({ action: t, text: o }) => o ? t ? /* @__PURE__ */ $(_, { direction: "vertical", primaryAlign: "center", secondaryAlign: "center", children: [
|
|
266
|
+
/* @__PURE__ */ m(O, { level: 2, children: o }),
|
|
267
|
+
t
|
|
268
|
+
] }) : /* @__PURE__ */ m(O, { level: 2, children: o }) : t;
|
|
30
269
|
export {
|
|
31
|
-
|
|
270
|
+
F as EmptyView
|
|
32
271
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { a as s, s as o, w as r, f as l } from "../../react.esm-
|
|
2
|
+
import { a as s, s as o, w as r, f as l } from "../../react.esm-DNwojocF.js";
|
|
3
3
|
import { EmptyView as c } from "./EmptyView.js";
|
|
4
|
-
import { d as h, t as T, g as e, v as d } from "../../vi.CjhMlMwf-
|
|
4
|
+
import { d as h, t as T, g as e, v as d } from "../../vi.CjhMlMwf-BCJNwXvu.js";
|
|
5
5
|
h("EmptyView", () => {
|
|
6
6
|
T("should render", () => {
|
|
7
7
|
s(/* @__PURE__ */ n(c, {})), e(o.getByText("dashbord")).toBeInTheDocument();
|