@cagatayfdn/flora-components 0.0.141 → 0.0.144
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/icons/{icons.js → flora-icons.js} +4 -4
- package/dist/components/Accordion/Accordion.js +5 -5
- package/dist/components/ActionButton/ActionButton.js +1 -1
- package/dist/components/AlertCard/AlertCard.js +5 -5
- package/dist/components/FileUpload/FileUpload.js +1 -1
- package/dist/components/FileUpload/PreviewModal.js +8 -8
- package/dist/components/InfoText/InfoText.js +3 -3
- package/dist/components/Modal/Modal.js +8 -8
- package/dist/components/NavigatorCard/index.js +1 -1
- package/dist/components/Notification/Notification.js +4 -4
- package/dist/components/Pager/Pager.js +6 -6
- package/dist/components/Sidebar/index.js +22 -22
- package/dist/components/Stepper/Stepper.js +1 -1
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/TableSort.js +1 -1
- package/dist/components/TypographyText/TypographyText.js +1 -1
- package/dist/index.d.mts +76 -76
- package/dist/index.d.ts +76 -76
- package/dist/prodivers.css +1 -1
- package/dist/utils/table.js +12 -12
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var
|
|
2
|
-
const
|
|
1
|
+
var t = /* @__PURE__ */ ((e) => (e.Applications = "applications", e.Attach = "attach", e.Attachment = "attachment", e.Billing = "billing", e.Box = "box", e.Calendar = "calendar", e.Cart = "cart", e.CaseSensitive = "case-sensitive", e.Certificate = "certificate", e.Check = "check", e.ChevronLeft = "chevron-left", e.ChevronRight = "chevron-right", e.CircleMinus = "circle-minus", e.CirclePlus = "circle-plus", e.Clock = "clock", e.CloseWindow = "close-window", e.Close = "close", e.Copy = "copy", e.CreditCard = "credit-card", e.Document = "document", e.DomainRegistration = "domain-registration", e.Domains = "domains", e.DownArrow = "down-arrow", e.DownSquare = "down-square", e.Down = "down", e.Download = "download", e.EditOutline = "edit-outline", e.Edit = "edit", e.Email = "email", e.Environment = "environment", e.ErrorFill = "error-fill", e.Error = "error", e.ExpandWindow = "expand-window", e.FileTextOutlined = "fileTextOutlined", e.Group = "group", e.Info = "info", e.Install = "install", e.Link = "link", e.Log = "log", e.MenuClose = "menu-close", e.MenuOpen = "menu-open", e.Monitoring = "monitoring", e.Network = "network", e.NoResults = "no-results", e.NotEdit = "not-edit", e.OrderDown = "order_down", e.OrderUp = "order_up", e.Out = "out", e.Path = "path", e.Plus = "plus", e.Preview = "preview", e.Profile = "profile", e.ProjectList = "project-list", e.Projects = "projects", e.Regex = "regex", e.Reload = "reload", e.Retry = "retry", e.Search = "search", e.Settings = "settings", e.Support = "support", e.Trash = "trash", e.Users = "users", e.Warning = "warning", e))(t || {});
|
|
2
|
+
const i = {
|
|
3
3
|
applications: "61697",
|
|
4
4
|
attach: "61698",
|
|
5
5
|
attachment: "61699",
|
|
@@ -65,6 +65,6 @@ const t = {
|
|
|
65
65
|
warning: "61759"
|
|
66
66
|
};
|
|
67
67
|
export {
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
i as FLORA_ICONS_CODEPOINTS,
|
|
69
|
+
t as FloraIcons
|
|
70
70
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { j as o } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import { useState as p } from "react";
|
|
3
3
|
import { c } from "../../index-BHf7G3IG.js";
|
|
4
|
-
import {
|
|
4
|
+
import { FloraIcons as _ } from "../../assets/icons/flora-icons.js";
|
|
5
5
|
import l from "../Icon/index.js";
|
|
6
6
|
import '../../Accordion.css';const v = "_container_1p7vt_2", x = "_header_1p7vt_2", j = "_arrow_1p7vt_2", h = "_up_1p7vt_2", r = {
|
|
7
7
|
container: v,
|
|
8
8
|
header: x,
|
|
9
9
|
arrow: j,
|
|
10
10
|
up: h
|
|
11
|
-
},
|
|
11
|
+
}, F = ({
|
|
12
12
|
children: t,
|
|
13
13
|
title: a,
|
|
14
14
|
isVisible: i,
|
|
@@ -50,11 +50,11 @@ import '../../Accordion.css';const v = "_container_1p7vt_2", x = "_header_1p7vt_
|
|
|
50
50
|
]
|
|
51
51
|
}
|
|
52
52
|
);
|
|
53
|
-
},
|
|
53
|
+
}, I = ({
|
|
54
54
|
children: t,
|
|
55
55
|
className: a
|
|
56
56
|
}) => /* @__PURE__ */ o.jsx("div", { "data-testid": "accordion", className: c(r.accordionWrap, a), children: t });
|
|
57
57
|
export {
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
I as Accordion,
|
|
59
|
+
F as AccordionItem
|
|
60
60
|
};
|
|
@@ -3,7 +3,7 @@ import i from "../Button/Button.js";
|
|
|
3
3
|
import r from "../Icon/index.js";
|
|
4
4
|
import { AppearanceButton as _ } from "../../enums/appearance.js";
|
|
5
5
|
import { c as e } from "../../index-BHf7G3IG.js";
|
|
6
|
-
import {
|
|
6
|
+
import { FloraIcons as u } from "../../assets/icons/flora-icons.js";
|
|
7
7
|
import '../../ActionButton.css';const l = "_dropdownMenu_1xfje_2", p = "_icon_1xfje_2", m = "_dropdownMenuWrapper_1xfje_2", x = "_buttonChild_1xfje_2", j = "_dropdownMenu__lg_1xfje_2", f = "_dropdownMenu__md_1xfje_2", w = "_dropdownMenu__sm_1xfje_2", M = "_title_1xfje_2", h = "_active_1xfje_2", t = {
|
|
8
8
|
dropdownMenu: l,
|
|
9
9
|
icon: p,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as r } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import
|
|
3
|
-
import { AppearanceAlertCard as
|
|
2
|
+
import l from "../Icon/index.js";
|
|
3
|
+
import { AppearanceAlertCard as n } from "../../enums/appearance.js";
|
|
4
4
|
import { c as _ } from "../../index-BHf7G3IG.js";
|
|
5
|
-
import {
|
|
5
|
+
import { FloraIcons as o } from "../../assets/icons/flora-icons.js";
|
|
6
6
|
import '../../AlertCard.css';const i = "_alert_1ryye_2", c = "_alert__warning_1ryye_23", d = "_alert__danger_1ryye_30", t = {
|
|
7
7
|
alert: i,
|
|
8
8
|
alert__warning: c,
|
|
@@ -10,7 +10,7 @@ import '../../AlertCard.css';const i = "_alert_1ryye_2", c = "_alert__warning_1r
|
|
|
10
10
|
}, g = ({
|
|
11
11
|
description: e,
|
|
12
12
|
onClose: s,
|
|
13
|
-
appearence: a =
|
|
13
|
+
appearence: a = n.WARNING
|
|
14
14
|
}) => /* @__PURE__ */ r.jsxs(
|
|
15
15
|
"div",
|
|
16
16
|
{
|
|
@@ -20,7 +20,7 @@ import '../../AlertCard.css';const i = "_alert_1ryye_2", c = "_alert__warning_1r
|
|
|
20
20
|
}),
|
|
21
21
|
children: [
|
|
22
22
|
/* @__PURE__ */ r.jsx("span", { children: e }),
|
|
23
|
-
/* @__PURE__ */ r.jsx("div", { onClick: s, children: /* @__PURE__ */ r.jsx(
|
|
23
|
+
/* @__PURE__ */ r.jsx("div", { onClick: s, children: /* @__PURE__ */ r.jsx(l, { name: o.Close }) })
|
|
24
24
|
]
|
|
25
25
|
}
|
|
26
26
|
);
|
|
@@ -4,7 +4,7 @@ import te from "../Icon/index.js";
|
|
|
4
4
|
import { Notification as se } from "../Notification/Notification.js";
|
|
5
5
|
import { c as ae } from "../../helper-lFjvXQpv.js";
|
|
6
6
|
import { c as p } from "../../index-BHf7G3IG.js";
|
|
7
|
-
import {
|
|
7
|
+
import { FloraIcons as re } from "../../assets/icons/flora-icons.js";
|
|
8
8
|
import { s as t } from "../../FileUpload.module-BxCEtOHx.js";
|
|
9
9
|
import ie from "../../assets/images/oms.png";
|
|
10
10
|
import { AppearanceDirection as le, NotificationAppearanceType as ne } from "../../enums/appearance.js";
|
|
@@ -2,13 +2,13 @@ import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
|
2
2
|
import { useState as a } from "react";
|
|
3
3
|
import n from "../Icon/index.js";
|
|
4
4
|
import j from "../Modal/Modal.js";
|
|
5
|
-
import {
|
|
5
|
+
import { FloraIcons as m } from "../../assets/icons/flora-icons.js";
|
|
6
6
|
import { s as r } from "../../FileUpload.module-BxCEtOHx.js";
|
|
7
7
|
import u from "./ImagePreview.js";
|
|
8
8
|
import { u as w } from "../../useTranslation-CnCPcxVj.js";
|
|
9
|
-
const
|
|
10
|
-
const { t: d } = w(), [p,
|
|
11
|
-
v(s),
|
|
9
|
+
const F = ({ imagePaths: o, onClose: l, onDelete: c }) => {
|
|
10
|
+
const { t: d } = w(), [p, i] = a(!1), [t, v] = a(), x = (s) => {
|
|
11
|
+
v(s), i(!0);
|
|
12
12
|
};
|
|
13
13
|
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
14
14
|
/* @__PURE__ */ e.jsx(
|
|
@@ -18,7 +18,7 @@ const O = ({ imagePaths: i, onClose: l, onDelete: c }) => {
|
|
|
18
18
|
className: r.previewModal,
|
|
19
19
|
onClose: l,
|
|
20
20
|
headerClass: r.header,
|
|
21
|
-
children: /* @__PURE__ */ e.jsx("div", { className: r.pictureContainer, children:
|
|
21
|
+
children: /* @__PURE__ */ e.jsx("div", { className: r.pictureContainer, children: o.map((s, f) => /* @__PURE__ */ e.jsxs("div", { className: r.previewContainer, children: [
|
|
22
22
|
/* @__PURE__ */ e.jsxs("div", { className: r.preview, children: [
|
|
23
23
|
/* @__PURE__ */ e.jsx(
|
|
24
24
|
n,
|
|
@@ -31,7 +31,7 @@ const O = ({ imagePaths: i, onClose: l, onDelete: c }) => {
|
|
|
31
31
|
n,
|
|
32
32
|
{
|
|
33
33
|
name: m.Trash,
|
|
34
|
-
onClick: () => c(
|
|
34
|
+
onClick: () => c(o, s)
|
|
35
35
|
}
|
|
36
36
|
)
|
|
37
37
|
] }),
|
|
@@ -43,11 +43,11 @@ const O = ({ imagePaths: i, onClose: l, onDelete: c }) => {
|
|
|
43
43
|
u,
|
|
44
44
|
{
|
|
45
45
|
src: t,
|
|
46
|
-
onClose: () =>
|
|
46
|
+
onClose: () => i(!1)
|
|
47
47
|
}
|
|
48
48
|
)
|
|
49
49
|
] });
|
|
50
50
|
};
|
|
51
51
|
export {
|
|
52
|
-
|
|
52
|
+
F as default
|
|
53
53
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { j as o } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import i from "../Icon/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { FloraIcons as e } from "../../assets/icons/flora-icons.js";
|
|
4
4
|
import '../../InfoText.css';const c = "_infoText_1gwgd_2", f = "_infoIcon_1gwgd_2", n = {
|
|
5
5
|
infoText: c,
|
|
6
6
|
infoIcon: f
|
|
7
|
-
},
|
|
7
|
+
}, m = ({ text: t, className: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${n.infoText} ${s}`, "data-testid": "infotext", children: [
|
|
8
8
|
/* @__PURE__ */ o.jsx(i, { name: e.Info, className: n.infoIcon }),
|
|
9
9
|
/* @__PURE__ */ o.jsx("span", { children: t })
|
|
10
10
|
] });
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
m as InfoText
|
|
13
13
|
};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import { useEffect as N } from "react";
|
|
3
3
|
import { c as s } from "../../index-BHf7G3IG.js";
|
|
4
|
-
import {
|
|
4
|
+
import { FloraIcons as b } from "../../assets/icons/flora-icons.js";
|
|
5
5
|
import f from "../Icon/index.js";
|
|
6
|
-
import '../../Modal.css';const g = "_overlay_6ze30_2", z = "_modal_6ze30_2", C = "_content_6ze30_2", w = "_header_6ze30_2", k = "_close_6ze30_2", E = "_body_6ze30_2",
|
|
6
|
+
import '../../Modal.css';const g = "_overlay_6ze30_2", z = "_modal_6ze30_2", C = "_content_6ze30_2", w = "_header_6ze30_2", k = "_close_6ze30_2", E = "_body_6ze30_2", F = "_desc_6ze30_2", S = "_modal__light_6ze30_2", o = {
|
|
7
7
|
overlay: g,
|
|
8
8
|
modal: z,
|
|
9
9
|
content: C,
|
|
10
10
|
header: w,
|
|
11
11
|
close: k,
|
|
12
12
|
body: E,
|
|
13
|
-
desc:
|
|
14
|
-
modal__light:
|
|
13
|
+
desc: F,
|
|
14
|
+
modal__light: S
|
|
15
15
|
}, H = (m) => {
|
|
16
16
|
const {
|
|
17
17
|
children: i,
|
|
18
18
|
header: a,
|
|
19
19
|
title: t,
|
|
20
|
-
description:
|
|
20
|
+
description: l,
|
|
21
21
|
className: _,
|
|
22
22
|
onClose: h,
|
|
23
23
|
showClose: y = !0,
|
|
24
24
|
visible: c = !0,
|
|
25
|
-
appearance:
|
|
25
|
+
appearance: d,
|
|
26
26
|
headerClass: v,
|
|
27
27
|
descriptionClass: x
|
|
28
28
|
} = m, p = () => {
|
|
@@ -52,7 +52,7 @@ import '../../Modal.css';const g = "_overlay_6ze30_2", z = "_modal_6ze30_2", C =
|
|
|
52
52
|
"div",
|
|
53
53
|
{
|
|
54
54
|
className: s(o.modal, {
|
|
55
|
-
[o[`modal__${
|
|
55
|
+
[o[`modal__${d}`]]: d
|
|
56
56
|
}),
|
|
57
57
|
"data-testid": "modal-container",
|
|
58
58
|
children: /* @__PURE__ */ e.jsxs("div", { className: s(_, o.content), children: [
|
|
@@ -61,7 +61,7 @@ import '../../Modal.css';const g = "_overlay_6ze30_2", z = "_modal_6ze30_2", C =
|
|
|
61
61
|
y && /* @__PURE__ */ e.jsx("span", { className: o.close, onClick: n, children: /* @__PURE__ */ e.jsx(f, { name: b.Close }) })
|
|
62
62
|
] }) : /* @__PURE__ */ e.jsx(e.Fragment, {}),
|
|
63
63
|
/* @__PURE__ */ e.jsxs("div", { className: o.body, children: [
|
|
64
|
-
|
|
64
|
+
l && /* @__PURE__ */ e.jsx("p", { className: s(o.desc, x), children: l }),
|
|
65
65
|
i
|
|
66
66
|
] })
|
|
67
67
|
] })
|
|
@@ -3,7 +3,7 @@ import m from "../Icon/index.js";
|
|
|
3
3
|
import x from "../InfoDate/InfoDate.js";
|
|
4
4
|
import u from "../PermaLink/PermaLink.js";
|
|
5
5
|
import _ from "../Tooltip/Tooltip.js";
|
|
6
|
-
import {
|
|
6
|
+
import { FloraIcons as h } from "../../assets/icons/flora-icons.js";
|
|
7
7
|
import { c as j } from "../../index-BHf7G3IG.js";
|
|
8
8
|
import { u as f } from "../../useTranslation-CnCPcxVj.js";
|
|
9
9
|
import '../../index2.css';const v = "_wrapper_1bxdu_2", N = "_content_1bxdu_2", b = "_iconWrapper_1bxdu_2", G = "_titleGroup_1bxdu_2", w = "_title_1bxdu_2", C = "_textGroup_1bxdu_2", W = "_footer_1bxdu_2", e = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as n } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import { t as c } from "../../react-toastify.esm-BUWNP7Nm.js";
|
|
3
3
|
import i from "../Icon/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import { FloraIcons as o } from "../../assets/icons/flora-icons.js";
|
|
5
5
|
const u = (t) => {
|
|
6
|
-
const { message: e, type: s, closeTime: r = 5e3 } = t,
|
|
6
|
+
const { message: e, type: s, closeTime: r = 5e3 } = t, a = {
|
|
7
7
|
success: o.Check,
|
|
8
8
|
warning: o.Warning,
|
|
9
9
|
error: o.Close
|
|
@@ -18,7 +18,7 @@ const u = (t) => {
|
|
|
18
18
|
closeOnClick: !0,
|
|
19
19
|
pauseOnHover: !1,
|
|
20
20
|
draggable: !1,
|
|
21
|
-
icon: /* @__PURE__ */
|
|
21
|
+
icon: /* @__PURE__ */ n.jsx(i, { name: a[s] })
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as a } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { useState as
|
|
2
|
+
import { useState as w, useEffect as g } from "react";
|
|
3
3
|
import { c as l } from "../../index-BHf7G3IG.js";
|
|
4
|
-
import {
|
|
4
|
+
import { FloraIcons as h } from "../../assets/icons/flora-icons.js";
|
|
5
5
|
import { ThemeAppearance as I } from "../../enums/appearance.js";
|
|
6
6
|
import _ from "../Icon/index.js";
|
|
7
7
|
import '../../Pager.css';const D = "_wrap_1jmhu_2", H = "_pager_1jmhu_2", L = "_disabled_1jmhu_2", R = "_inputField_1jmhu_2", S = "_totalPage_1jmhu_2", E = "_currentPage_1jmhu_2", V = "_dark_1jmhu_2", t = {
|
|
@@ -22,14 +22,14 @@ import '../../Pager.css';const D = "_wrap_1jmhu_2", H = "_pager_1jmhu_2", L = "_
|
|
|
22
22
|
showInput: u = !0,
|
|
23
23
|
pageSize: P = 10,
|
|
24
24
|
appearance: p = I.LIGHT
|
|
25
|
-
} = f, [s, d] =
|
|
25
|
+
} = f, [s, d] = w(n), r = Math.ceil(x / P), c = r >= 10, v = s === r, b = s === 1, o = (e) => {
|
|
26
26
|
d(e), m && m(e);
|
|
27
27
|
}, C = () => {
|
|
28
28
|
s > 1 && o(s - 1);
|
|
29
29
|
}, k = () => {
|
|
30
30
|
r > s && o(s + 1);
|
|
31
|
-
},
|
|
32
|
-
const
|
|
31
|
+
}, F = (e) => {
|
|
32
|
+
const T = e.target.value.slice(0, 1), i = Number(c ? e.target.value : T);
|
|
33
33
|
setTimeout(() => {
|
|
34
34
|
r >= i && i > 0 ? o(i) : i <= 0 ? o(1) : o(r), c || e.target.select();
|
|
35
35
|
}, 300);
|
|
@@ -72,7 +72,7 @@ import '../../Pager.css';const D = "_wrap_1jmhu_2", H = "_pager_1jmhu_2", L = "_
|
|
|
72
72
|
c || (e.currentTarget.setSelectionRange(0, 0), e.currentTarget.select());
|
|
73
73
|
},
|
|
74
74
|
onChange: (e) => {
|
|
75
|
-
c || (e.target.autofocus = !0),
|
|
75
|
+
c || (e.target.autofocus = !0), F(e);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
),
|
|
@@ -2,47 +2,47 @@ import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
|
2
2
|
import { useState as T, useEffect as k } from "react";
|
|
3
3
|
import x from "../AuthUserCan/index.js";
|
|
4
4
|
import w from "../Icon/index.js";
|
|
5
|
-
import {
|
|
6
|
-
import { c as
|
|
5
|
+
import { FloraIcons as h } from "../../assets/icons/flora-icons.js";
|
|
6
|
+
import { c as o } from "../../index-BHf7G3IG.js";
|
|
7
7
|
import { s as r, M as d } from "../../MenuItem-Df6Zsa7E.js";
|
|
8
8
|
import { u as y } from "../../index-9ZLCCecr.js";
|
|
9
|
-
const
|
|
9
|
+
const W = ({
|
|
10
10
|
collapsed: a = !1,
|
|
11
11
|
items: j,
|
|
12
12
|
className: v,
|
|
13
13
|
isActiveSubMenu: M
|
|
14
14
|
}) => {
|
|
15
|
-
const { pathname:
|
|
15
|
+
const { pathname: n } = y(), [I, l] = T(M);
|
|
16
16
|
return k(() => {
|
|
17
|
-
a &&
|
|
18
|
-
}, [a]), /* @__PURE__ */ e.jsx("div", { className:
|
|
17
|
+
a && l(void 0);
|
|
18
|
+
}, [a]), /* @__PURE__ */ e.jsx("div", { className: o(r.wrap, v), "data-testid": "sidebar-container", children: /* @__PURE__ */ e.jsx(
|
|
19
19
|
"ul",
|
|
20
20
|
{
|
|
21
|
-
className:
|
|
21
|
+
className: o(r.menu, {
|
|
22
22
|
[r.closeMenu]: a
|
|
23
23
|
}),
|
|
24
24
|
"data-testid": "sidebar-list",
|
|
25
|
-
children: j.map(({ to:
|
|
25
|
+
children: j.map(({ to: t, icon: m, title: u, permItem: N, permType: C, children: i }) => {
|
|
26
26
|
var p;
|
|
27
|
-
const S =
|
|
27
|
+
const S = t && ((p = n == null ? void 0 : n.replaceAll("/", "")) == null ? void 0 : p.includes(t == null ? void 0 : t.replaceAll("/", ""))), c = I === u;
|
|
28
28
|
return /* @__PURE__ */ e.jsx(x, { permType: C, permItem: N, children: /* @__PURE__ */ e.jsx(
|
|
29
29
|
"li",
|
|
30
30
|
{
|
|
31
31
|
"data-testid": "sidebar-list-item",
|
|
32
|
-
className:
|
|
32
|
+
className: o(r.menuItem, {
|
|
33
33
|
[r.selected]: S,
|
|
34
34
|
[r.subMenuWrap]: i
|
|
35
35
|
}),
|
|
36
36
|
onMouseEnter: () => {
|
|
37
|
-
i && a &&
|
|
37
|
+
i && a && l(u);
|
|
38
38
|
},
|
|
39
39
|
onMouseLeave: () => {
|
|
40
|
-
i && a &&
|
|
40
|
+
i && a && l(void 0);
|
|
41
41
|
},
|
|
42
42
|
children: i ? /* @__PURE__ */ e.jsxs(
|
|
43
43
|
"div",
|
|
44
44
|
{
|
|
45
|
-
className:
|
|
45
|
+
className: o({
|
|
46
46
|
[r.opened]: c
|
|
47
47
|
}),
|
|
48
48
|
children: [
|
|
@@ -50,13 +50,13 @@ const g = ({
|
|
|
50
50
|
"span",
|
|
51
51
|
{
|
|
52
52
|
onClick: () => {
|
|
53
|
-
a ||
|
|
53
|
+
a || l(c ? void 0 : u);
|
|
54
54
|
},
|
|
55
55
|
children: [
|
|
56
56
|
/* @__PURE__ */ e.jsx(
|
|
57
57
|
d,
|
|
58
58
|
{
|
|
59
|
-
to:
|
|
59
|
+
to: t,
|
|
60
60
|
title: u,
|
|
61
61
|
icon: m,
|
|
62
62
|
visibleTooltip: !1
|
|
@@ -65,7 +65,7 @@ const g = ({
|
|
|
65
65
|
!a && /* @__PURE__ */ e.jsx(
|
|
66
66
|
"span",
|
|
67
67
|
{
|
|
68
|
-
className:
|
|
68
|
+
className: o(r.arrow, {
|
|
69
69
|
[r.up]: c
|
|
70
70
|
}),
|
|
71
71
|
children: /* @__PURE__ */ e.jsx(w, { name: h.DownArrow })
|
|
@@ -77,13 +77,13 @@ const g = ({
|
|
|
77
77
|
c && /* @__PURE__ */ e.jsx(
|
|
78
78
|
"ul",
|
|
79
79
|
{
|
|
80
|
-
className:
|
|
80
|
+
className: o(r.subMenu, {
|
|
81
81
|
[r.hover]: a
|
|
82
82
|
}),
|
|
83
83
|
"data-testid": "sidebar-submenu-list",
|
|
84
84
|
children: i == null ? void 0 : i.map((s) => {
|
|
85
85
|
var b, f;
|
|
86
|
-
const A = s.to && ((f =
|
|
86
|
+
const A = s.to && ((f = n == null ? void 0 : n.replaceAll("/", "")) == null ? void 0 : f.includes((b = s == null ? void 0 : s.to) == null ? void 0 : b.replaceAll("/", "")));
|
|
87
87
|
return /* @__PURE__ */ e.jsx(
|
|
88
88
|
x,
|
|
89
89
|
{
|
|
@@ -94,9 +94,9 @@ const g = ({
|
|
|
94
94
|
{
|
|
95
95
|
"data-testid": "sidebar-submenu-list-item",
|
|
96
96
|
onClick: () => {
|
|
97
|
-
s.onClick && s.onClick(), a &&
|
|
97
|
+
s.onClick && s.onClick(), a && l(void 0);
|
|
98
98
|
},
|
|
99
|
-
className:
|
|
99
|
+
className: o(r.menuItem, {
|
|
100
100
|
[r.selected]: A || (s == null ? void 0 : s.isItemSelected)
|
|
101
101
|
}),
|
|
102
102
|
children: /* @__PURE__ */ e.jsx(
|
|
@@ -120,7 +120,7 @@ const g = ({
|
|
|
120
120
|
) : /* @__PURE__ */ e.jsx(
|
|
121
121
|
d,
|
|
122
122
|
{
|
|
123
|
-
to:
|
|
123
|
+
to: t,
|
|
124
124
|
title: u,
|
|
125
125
|
icon: m,
|
|
126
126
|
visibleTooltip: a
|
|
@@ -133,5 +133,5 @@ const g = ({
|
|
|
133
133
|
) });
|
|
134
134
|
};
|
|
135
135
|
export {
|
|
136
|
-
|
|
136
|
+
W as default
|
|
137
137
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as t } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import { c as j } from "../../index-BHf7G3IG.js";
|
|
3
3
|
import x from "../Icon/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import { FloraIcons as z } from "../../assets/icons/flora-icons.js";
|
|
5
5
|
import '../../Stepper.css';const C = "_container_b20ez_2", N = "_complete_b20ez_2", g = "_active_b20ez_2", i = {
|
|
6
6
|
container: C,
|
|
7
7
|
complete: N,
|
|
@@ -10,7 +10,7 @@ import le from "../ScrollContainer/ScrollContainer.js";
|
|
|
10
10
|
import V from "./TableHeader.js";
|
|
11
11
|
import de from "./TableSort.js";
|
|
12
12
|
import ie from "../Icon/index.js";
|
|
13
|
-
import {
|
|
13
|
+
import { FloraIcons as ce } from "../../assets/icons/flora-icons.js";
|
|
14
14
|
import { i as u } from "../../includes-8YTFrx85.js";
|
|
15
15
|
import { _ as W, k as pe } from "../../keys-B0bo5Q7o.js";
|
|
16
16
|
import { _ as U, a as he, b as fe } from "../../_reduce-DsUCMz4O.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as r } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import { useState as p } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { FloraIcons as s } from "../../assets/icons/flora-icons.js";
|
|
4
4
|
import o from "../Icon/index.js";
|
|
5
5
|
import { s as a } from "../../Table.module-DUqpZOLt.js";
|
|
6
6
|
import { SortEnum as t } from "../../enums/status.js";
|
|
@@ -4,7 +4,7 @@ import f from "../Icon/index.js";
|
|
|
4
4
|
import { Notification as z } from "../Notification/Notification.js";
|
|
5
5
|
import C from "../Tooltip/Tooltip.js";
|
|
6
6
|
import { c as a } from "../../index-BHf7G3IG.js";
|
|
7
|
-
import {
|
|
7
|
+
import { FloraIcons as _ } from "../../assets/icons/flora-icons.js";
|
|
8
8
|
import { NotificationAppearanceType as I, AppearanceDirection as b } from "../../enums/appearance.js";
|
|
9
9
|
import { u as w } from "../../useTranslation-CnCPcxVj.js";
|
|
10
10
|
import '../../TypographyText.css';const P = "_typography_1a64z_2", S = "_ellipsis_1a64z_2", $ = "_success_1a64z_2", A = "_copy_1a64z_2", E = "_checkCopy_1a64z_2", R = "_code_1a64z_2", e = {
|