@cagatayfdn/flora-components 0.0.115 → 0.0.116
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/Accordion.css +1 -1
- package/dist/ActionButton.css +1 -1
- package/dist/AlertCard.css +1 -1
- package/dist/Autocomplete.css +1 -1
- package/dist/Button.css +1 -1
- package/dist/Card.css +1 -1
- package/dist/Checkbox.css +1 -1
- package/dist/Config.css +1 -1
- package/dist/Confirm.css +1 -1
- package/dist/ContentHeader.css +1 -1
- package/dist/Divider.css +1 -1
- package/dist/DropdownList.css +1 -1
- package/dist/ErrorLogModal.css +1 -1
- package/dist/FileUpload.css +1 -1
- package/dist/FileUpload.module-BxCEtOHx.js +32 -0
- package/dist/Heading.css +1 -1
- package/dist/IconBox.css +1 -1
- package/dist/InfoBoxList.css +1 -1
- package/dist/InfoBoxList.module-CmdO3WXi.js +8 -0
- package/dist/InfoDate.css +1 -1
- package/dist/InfoText.css +1 -1
- package/dist/Input.css +1 -1
- package/dist/Label.css +1 -1
- package/dist/Legends.css +1 -1
- package/dist/Loading.css +1 -1
- package/dist/MenuItem-Df6Zsa7E.js +53 -0
- package/dist/MenuItem.css +1 -1
- package/dist/Modal.css +1 -1
- package/dist/NoResult.css +1 -1
- package/dist/PageWrap.css +1 -1
- package/dist/Pager.css +1 -1
- package/dist/Panel.css +1 -1
- package/dist/Radio.css +1 -1
- package/dist/ResultError.css +1 -1
- package/dist/ScrollContainer.css +1 -1
- package/dist/{Select-DcLZCXNo.js → Select-BGHusr4q.js} +1 -1
- package/dist/Select.css +1 -1
- package/dist/Select.module-gwwx8i1I.js +20 -0
- package/dist/StatusTag.css +1 -1
- package/dist/StatusTypography.css +1 -1
- package/dist/Stepper.css +1 -1
- package/dist/Switch.css +1 -1
- package/dist/Tab.css +1 -1
- package/dist/Table.css +1 -1
- package/dist/Table.module-vUNIKXwV.js +29 -0
- package/dist/Textarea.css +1 -1
- package/dist/Tooltip.css +1 -1
- package/dist/TypographyText.css +1 -1
- package/dist/ValidationError.css +1 -1
- package/dist/components/Accordion/Accordion.js +22 -22
- package/dist/components/ActionButton/ActionButton.js +25 -25
- package/dist/components/AlertCard/AlertCard.js +9 -9
- package/dist/components/Autocomplete/Autocomplete.js +25 -25
- package/dist/components/Button/Button.js +43 -43
- package/dist/components/Card/Card.js +12 -12
- package/dist/components/Charts/Legends.js +8 -8
- package/dist/components/Checkbox/Checkbox.js +46 -109
- package/dist/components/Config/Config.js +14 -14
- package/dist/components/Confirm/Confirm.js +20 -20
- package/dist/components/ContentHeader/ContentHeader.js +31 -31
- package/dist/components/Datepicker/Datepicker.js +18 -18
- package/dist/components/Divider/Divider.js +19 -19
- package/dist/components/Drawer/index.js +4 -4
- package/dist/components/Dropdown/DropdownList.js +23 -23
- package/dist/components/ErrorLogModal/ErrorLogModal.js +36 -31
- package/dist/components/FileUpload/FileUpload.js +1 -1
- package/dist/components/FileUpload/ImagePreview.js +1 -1
- package/dist/components/FileUpload/LengthCard.js +1 -1
- package/dist/components/FileUpload/PreviewModal.js +1 -1
- package/dist/components/Heading/Heading.js +14 -14
- package/dist/components/IconBox/IconBox.js +4 -4
- package/dist/components/InfoBoxList/InfoBoxList.js +1 -1
- package/dist/components/InfoBoxList/helper.js +1 -1
- package/dist/components/InfoDate/InfoDate.js +5 -5
- package/dist/components/InfoText/InfoText.js +1 -1
- package/dist/components/Input/Input.js +38 -38
- package/dist/components/Label/Label.js +8 -8
- package/dist/components/Loading/Loading.js +25 -25
- package/dist/components/Modal/Modal.js +22 -22
- package/dist/components/NavigatorCard/index.js +27 -27
- package/dist/components/NoResult/NoResult.js +5 -5
- package/dist/components/PageWrapper/PageWrap.js +7 -7
- package/dist/components/Pager/Pager.js +23 -23
- package/dist/components/Panel/Panel.js +23 -23
- package/dist/components/Radio/Radio.js +32 -32
- package/dist/components/ResultError/ResultError.js +1 -1
- package/dist/components/ScrollContainer/ScrollContainer.js +7 -7
- package/dist/components/Select/NoData.js +1 -1
- package/dist/components/Select/OptionItem.js +1 -1
- package/dist/components/Select/Select.js +2 -2
- package/dist/components/Sidebar/MenuItem.js +1 -1
- package/dist/components/Sidebar/index.js +1 -1
- package/dist/components/StatusTag/StatusTag.js +10 -10
- package/dist/components/StatusTypography/StatusTypography.js +20 -20
- package/dist/components/Stepper/Stepper.js +18 -18
- package/dist/components/Switch/Switch.js +24 -24
- package/dist/components/Tab/Tab.js +7 -7
- package/dist/components/Table/Table.js +2 -2
- package/dist/components/Table/TableHeader.js +2 -2
- package/dist/components/Table/TableSort.js +1 -1
- package/dist/components/Textarea/Textarea.js +51 -51
- package/dist/components/Tooltip/Tooltip.js +19 -19
- package/dist/components/TypographyText/TypographyText.js +29 -29
- package/dist/components/ValidationError/ValidationError.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/index.css +1 -1
- package/dist/index.js +2 -2
- package/dist/index2.css +1 -1
- package/dist/main.css +1 -0
- package/dist/main.js +55 -0
- package/dist/prodivers.css +2 -2
- package/package.json +5 -2
- package/dist/FileUpload.module-bCNvwTRa.js +0 -32
- package/dist/InfoBoxList.module-C6t2KDOB.js +0 -8
- package/dist/MenuItem-DAf7NU3h.js +0 -53
- package/dist/Select.module-BVWgPUEN.js +0 -20
- package/dist/Table.module-DeJB9uZC.js +0 -29
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { j as t } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as j } from "../../index-BHf7G3IG.js";
|
|
3
3
|
import { AppearanceButton as I } from "../../enums/appearance.js";
|
|
4
4
|
import N from "../Icon/index.js";
|
|
5
5
|
import y from "../Loading/Loading.js";
|
|
6
|
-
import '../../Button.css';const $ = "
|
|
6
|
+
import '../../Button.css';const $ = "_btn_awsee_2", R = "_btn__block_awsee_2", A = "_btn__round_awsee_2", B = "_solid__success_awsee_2", h = "_solid__danger_awsee_2", C = "_solid__warning_awsee_2", E = "_solid__default_awsee_2", H = "_btn__pill_awsee_2", M = "_prefixIcon_awsee_2", P = "_btn__loading_awsee_2", Y = "_loading_awsee_2", q = "_disabled_awsee_2", v = "_btn__default_awsee_2", F = "_btn__link_awsee_2", G = "_btn__primary_awsee_2", J = "_btn__success_awsee_2", K = "_btn__warning_awsee_2", O = "_btn__danger_awsee_2", Q = "_btn__dark_awsee_2", T = "_btn__xsmall_awsee_2", U = "_btn__small_awsee_2", V = "_btn__focus_awsee_2", _ = {
|
|
7
7
|
btn: $,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
btn__block: R,
|
|
9
|
+
btn__round: A,
|
|
10
|
+
solid__success: B,
|
|
11
|
+
solid__danger: h,
|
|
12
|
+
solid__warning: C,
|
|
13
|
+
solid__default: E,
|
|
14
|
+
btn__pill: H,
|
|
15
|
+
prefixIcon: M,
|
|
16
16
|
btn__loading: P,
|
|
17
17
|
loading: Y,
|
|
18
18
|
disabled: q,
|
|
@@ -26,57 +26,57 @@ import '../../Button.css';const $ = "_btn_1ofjd_1", R = "_btn__round_1ofjd_15",
|
|
|
26
26
|
btn__xsmall: T,
|
|
27
27
|
btn__small: U,
|
|
28
28
|
btn__focus: V,
|
|
29
|
-
"no-border": "_no-
|
|
30
|
-
"no-background": "_no-
|
|
29
|
+
"no-border": "_no-border_awsee_2",
|
|
30
|
+
"no-background": "_no-background_awsee_2"
|
|
31
31
|
}, L = ({
|
|
32
|
-
children:
|
|
33
|
-
size:
|
|
32
|
+
children: d,
|
|
33
|
+
size: o,
|
|
34
34
|
isLoading: n,
|
|
35
|
-
isDisabled:
|
|
36
|
-
isBlock:
|
|
37
|
-
noBorder:
|
|
38
|
-
noBackground:
|
|
39
|
-
round:
|
|
40
|
-
isSolid:
|
|
41
|
-
isPill:
|
|
42
|
-
type:
|
|
43
|
-
focus:
|
|
44
|
-
className:
|
|
45
|
-
prefixIcon:
|
|
46
|
-
appearance:
|
|
35
|
+
isDisabled: e,
|
|
36
|
+
isBlock: r,
|
|
37
|
+
noBorder: i,
|
|
38
|
+
noBackground: u,
|
|
39
|
+
round: w,
|
|
40
|
+
isSolid: a,
|
|
41
|
+
isPill: m,
|
|
42
|
+
type: b = "button",
|
|
43
|
+
focus: g,
|
|
44
|
+
className: f,
|
|
45
|
+
prefixIcon: l,
|
|
46
|
+
appearance: s = I.PRIMARY,
|
|
47
47
|
onClick: c
|
|
48
48
|
}) => {
|
|
49
|
-
const k =
|
|
49
|
+
const k = j(
|
|
50
50
|
"btn",
|
|
51
51
|
_.btn,
|
|
52
52
|
{
|
|
53
|
-
[_.btn__block]:
|
|
54
|
-
[_[`btn__${
|
|
55
|
-
[_[`solid__${
|
|
56
|
-
[_[`btn__${
|
|
57
|
-
[_["no-border"]]:
|
|
58
|
-
[_["no-background"]]:
|
|
59
|
-
[_.btn__round]:
|
|
53
|
+
[_.btn__block]: r,
|
|
54
|
+
[_[`btn__${s}`]]: s && !a,
|
|
55
|
+
[_[`solid__${s}`]]: a,
|
|
56
|
+
[_[`btn__${o}`]]: o,
|
|
57
|
+
[_["no-border"]]: i,
|
|
58
|
+
[_["no-background"]]: u,
|
|
59
|
+
[_.btn__round]: w,
|
|
60
60
|
[_.btn__loading]: n,
|
|
61
|
-
[_.disabled]:
|
|
62
|
-
[_.btn__pill]:
|
|
63
|
-
[_.btn__focus]:
|
|
61
|
+
[_.disabled]: e,
|
|
62
|
+
[_.btn__pill]: m,
|
|
63
|
+
[_.btn__focus]: g
|
|
64
64
|
},
|
|
65
|
-
|
|
65
|
+
f
|
|
66
66
|
), p = (x) => {
|
|
67
67
|
!n && c && c(x);
|
|
68
68
|
};
|
|
69
69
|
return /* @__PURE__ */ t.jsxs(
|
|
70
70
|
"button",
|
|
71
71
|
{
|
|
72
|
-
type:
|
|
72
|
+
type: b,
|
|
73
73
|
className: k,
|
|
74
74
|
onClick: p,
|
|
75
|
-
"data-testid": `button-${
|
|
76
|
-
disabled:
|
|
75
|
+
"data-testid": `button-${b}`,
|
|
76
|
+
disabled: e,
|
|
77
77
|
children: [
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
l && /* @__PURE__ */ t.jsx(N, { name: l, className: _.prefixIcon }),
|
|
79
|
+
d,
|
|
80
80
|
n && /* @__PURE__ */ t.jsx(y, { className: _.loading, layer: !1 })
|
|
81
81
|
]
|
|
82
82
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as n } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import i from "../Heading/Heading.js";
|
|
3
3
|
import d from "../Icon/index.js";
|
|
4
|
-
import '../../Card.css';const l = "
|
|
4
|
+
import '../../Card.css';const l = "_wrap_1eugx_2", p = "_iconWrap_1eugx_2", x = "_content_1eugx_2", m = "_body_1eugx_2", e = {
|
|
5
5
|
wrap: l,
|
|
6
6
|
iconWrap: p,
|
|
7
|
-
content:
|
|
8
|
-
body:
|
|
9
|
-
},
|
|
10
|
-
const { children:
|
|
11
|
-
return /* @__PURE__ */
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
/* @__PURE__ */
|
|
7
|
+
content: x,
|
|
8
|
+
body: m
|
|
9
|
+
}, u = (s) => {
|
|
10
|
+
const { children: t, icon: o, bgColor: c, title: r, description: a } = s;
|
|
11
|
+
return /* @__PURE__ */ n.jsxs("div", { className: e.wrap, "data-testid": "card", children: [
|
|
12
|
+
/* @__PURE__ */ n.jsx("div", { className: e.iconWrap, style: { background: c }, children: o && /* @__PURE__ */ n.jsx(d, { name: o }) }),
|
|
13
|
+
/* @__PURE__ */ n.jsx("div", { className: e.content, children: t || /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
14
|
+
/* @__PURE__ */ n.jsx(i, { level: 3, children: r }),
|
|
15
|
+
/* @__PURE__ */ n.jsx("div", { className: e.body, children: a })
|
|
16
16
|
] }) })
|
|
17
17
|
] });
|
|
18
18
|
};
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
u as default
|
|
21
21
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import '../../Legends.css';const
|
|
3
|
-
legends:
|
|
4
|
-
dot:
|
|
1
|
+
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
+
import '../../Legends.css';const c = "_legends_13zf3_2", a = "_dot_13zf3_2", t = {
|
|
3
|
+
legends: c,
|
|
4
|
+
dot: a
|
|
5
5
|
};
|
|
6
6
|
function u({ items: r, colorMap: d }) {
|
|
7
|
-
const o = (
|
|
8
|
-
/* @__PURE__ */
|
|
7
|
+
const o = (s) => s == null ? void 0 : s.map((n, l) => /* @__PURE__ */ e.jsxs("li", { children: [
|
|
8
|
+
/* @__PURE__ */ e.jsx(
|
|
9
9
|
"span",
|
|
10
10
|
{
|
|
11
11
|
className: t.dot,
|
|
12
12
|
style: { backgroundColor: d[n.text] || "#037cf9" }
|
|
13
13
|
}
|
|
14
14
|
),
|
|
15
|
-
/* @__PURE__ */
|
|
15
|
+
/* @__PURE__ */ e.jsx("span", { children: n.text })
|
|
16
16
|
] }, l));
|
|
17
|
-
return /* @__PURE__ */
|
|
17
|
+
return /* @__PURE__ */ e.jsx("ul", { className: t.legends, children: o(r) });
|
|
18
18
|
}
|
|
19
19
|
export {
|
|
20
20
|
u as default
|
|
@@ -1,131 +1,68 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import '../../Checkbox.css';const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"icon-case-sensitive": "_icon-case-sensitive_nnabh_44",
|
|
15
|
-
"icon-certificate": "_icon-certificate_nnabh_48",
|
|
16
|
-
"icon-check": "_icon-check_nnabh_52",
|
|
17
|
-
"icon-chevron-left": "_icon-chevron-left_nnabh_56",
|
|
18
|
-
"icon-chevron-right": "_icon-chevron-right_nnabh_60",
|
|
19
|
-
"icon-circle-minus": "_icon-circle-minus_nnabh_64",
|
|
20
|
-
"icon-circle-plus": "_icon-circle-plus_nnabh_68",
|
|
21
|
-
"icon-clock": "_icon-clock_nnabh_72",
|
|
22
|
-
"icon-close-window": "_icon-close-window_nnabh_76",
|
|
23
|
-
"icon-close": "_icon-close_nnabh_76",
|
|
24
|
-
"icon-copy": "_icon-copy_nnabh_84",
|
|
25
|
-
"icon-credit-card": "_icon-credit-card_nnabh_88",
|
|
26
|
-
"icon-document": "_icon-document_nnabh_92",
|
|
27
|
-
"icon-domain-registration": "_icon-domain-registration_nnabh_96",
|
|
28
|
-
"icon-domains": "_icon-domains_nnabh_100",
|
|
29
|
-
"icon-down-arrow": "_icon-down-arrow_nnabh_104",
|
|
30
|
-
"icon-down-square": "_icon-down-square_nnabh_108",
|
|
31
|
-
"icon-down": "_icon-down_nnabh_104",
|
|
32
|
-
"icon-download": "_icon-download_nnabh_116",
|
|
33
|
-
"icon-edit-outline": "_icon-edit-outline_nnabh_120",
|
|
34
|
-
"icon-edit": "_icon-edit_nnabh_120",
|
|
35
|
-
"icon-email": "_icon-email_nnabh_128",
|
|
36
|
-
"icon-environment": "_icon-environment_nnabh_132",
|
|
37
|
-
"icon-error-fill": "_icon-error-fill_nnabh_136",
|
|
38
|
-
"icon-error": "_icon-error_nnabh_136",
|
|
39
|
-
"icon-expand-window": "_icon-expand-window_nnabh_144",
|
|
40
|
-
"icon-fileTextOutlined": "_icon-fileTextOutlined_nnabh_148",
|
|
41
|
-
"icon-group": "_icon-group_nnabh_152",
|
|
42
|
-
"icon-info": "_icon-info_nnabh_156",
|
|
43
|
-
"icon-install": "_icon-install_nnabh_160",
|
|
44
|
-
"icon-link": "_icon-link_nnabh_164",
|
|
45
|
-
"icon-log": "_icon-log_nnabh_168",
|
|
46
|
-
"icon-menu-close": "_icon-menu-close_nnabh_172",
|
|
47
|
-
"icon-menu-open": "_icon-menu-open_nnabh_176",
|
|
48
|
-
"icon-monitoring": "_icon-monitoring_nnabh_180",
|
|
49
|
-
"icon-network": "_icon-network_nnabh_184",
|
|
50
|
-
"icon-no-results": "_icon-no-results_nnabh_188",
|
|
51
|
-
"icon-not-edit": "_icon-not-edit_nnabh_192",
|
|
52
|
-
"icon-order_down": "_icon-order_down_nnabh_196",
|
|
53
|
-
"icon-order_up": "_icon-order_up_nnabh_200",
|
|
54
|
-
"icon-out": "_icon-out_nnabh_204",
|
|
55
|
-
"icon-path": "_icon-path_nnabh_208",
|
|
56
|
-
"icon-plus": "_icon-plus_nnabh_212",
|
|
57
|
-
"icon-preview": "_icon-preview_nnabh_216",
|
|
58
|
-
"icon-profile": "_icon-profile_nnabh_220",
|
|
59
|
-
"icon-project-list": "_icon-project-list_nnabh_224",
|
|
60
|
-
"icon-projects": "_icon-projects_nnabh_228",
|
|
61
|
-
"icon-regex": "_icon-regex_nnabh_232",
|
|
62
|
-
"icon-reload": "_icon-reload_nnabh_236",
|
|
63
|
-
"icon-retry": "_icon-retry_nnabh_240",
|
|
64
|
-
"icon-search": "_icon-search_nnabh_244",
|
|
65
|
-
"icon-settings": "_icon-settings_nnabh_248",
|
|
66
|
-
"icon-support": "_icon-support_nnabh_252",
|
|
67
|
-
"icon-trash": "_icon-trash_nnabh_256",
|
|
68
|
-
"icon-users": "_icon-users_nnabh_260",
|
|
69
|
-
"icon-warning": "_icon-warning_nnabh_264",
|
|
70
|
-
checkbox: v,
|
|
71
|
-
checkbox__filter: y,
|
|
72
|
-
switch: "_switch_nnabh_372",
|
|
73
|
-
"text-hide": "_text-hide_nnabh_379",
|
|
74
|
-
slider: C,
|
|
75
|
-
round: E
|
|
76
|
-
}, F = x.forwardRef(
|
|
1
|
+
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
+
import m, { useState as p, useEffect as u } from "react";
|
|
3
|
+
import { c as j } from "../../index-BHf7G3IG.js";
|
|
4
|
+
import C from "../Label/Label.js";
|
|
5
|
+
import w from "../ValidationError/ValidationError.js";
|
|
6
|
+
import '../../Checkbox.css';const y = "_checkbox_1kt47_2", E = "_checkbox__filter_1kt47_2", N = "_slider_1kt47_2", R = "_round_1kt47_2", t = {
|
|
7
|
+
checkbox: y,
|
|
8
|
+
checkbox__filter: E,
|
|
9
|
+
switch: "_switch_1kt47_2",
|
|
10
|
+
"text-hide": "_text-hide_1kt47_2",
|
|
11
|
+
slider: N,
|
|
12
|
+
round: R
|
|
13
|
+
}, S = m.forwardRef(
|
|
77
14
|
({
|
|
78
|
-
name:
|
|
79
|
-
label:
|
|
80
|
-
labelAppearance:
|
|
81
|
-
error:
|
|
82
|
-
isDisabled:
|
|
83
|
-
isInline:
|
|
84
|
-
checked:
|
|
85
|
-
onChange:
|
|
86
|
-
filterInput:
|
|
87
|
-
wrapperClassName:
|
|
88
|
-
...
|
|
15
|
+
name: c,
|
|
16
|
+
label: i,
|
|
17
|
+
labelAppearance: x,
|
|
18
|
+
error: r,
|
|
19
|
+
isDisabled: _ = !1,
|
|
20
|
+
isInline: h,
|
|
21
|
+
checked: s = !1,
|
|
22
|
+
onChange: a,
|
|
23
|
+
filterInput: k,
|
|
24
|
+
wrapperClassName: f,
|
|
25
|
+
...o
|
|
89
26
|
}) => {
|
|
90
|
-
const [
|
|
91
|
-
|
|
27
|
+
const [n, d] = p(
|
|
28
|
+
s || !!o.value
|
|
92
29
|
);
|
|
93
|
-
|
|
94
|
-
s
|
|
95
|
-
}, [
|
|
96
|
-
const
|
|
97
|
-
!
|
|
30
|
+
u(() => {
|
|
31
|
+
d(s);
|
|
32
|
+
}, [s]);
|
|
33
|
+
const b = (l) => {
|
|
34
|
+
!o.readOnly && !_ && (l.persist(), d(!n), a && a(l));
|
|
98
35
|
};
|
|
99
|
-
return /* @__PURE__ */
|
|
100
|
-
/* @__PURE__ */
|
|
36
|
+
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
37
|
+
/* @__PURE__ */ e.jsxs(
|
|
101
38
|
"div",
|
|
102
39
|
{
|
|
103
|
-
className:
|
|
104
|
-
[
|
|
105
|
-
[
|
|
40
|
+
className: j(t.checkbox, f, {
|
|
41
|
+
[t.inline]: h,
|
|
42
|
+
[t.checkbox__filter]: k
|
|
106
43
|
}),
|
|
107
44
|
"data-testid": "checkbox",
|
|
108
45
|
children: [
|
|
109
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ e.jsx(
|
|
110
47
|
"input",
|
|
111
48
|
{
|
|
112
49
|
type: "checkbox",
|
|
113
|
-
name:
|
|
114
|
-
id:
|
|
115
|
-
disabled:
|
|
116
|
-
checked:
|
|
117
|
-
onChange:
|
|
118
|
-
...
|
|
50
|
+
name: c,
|
|
51
|
+
id: c,
|
|
52
|
+
disabled: _,
|
|
53
|
+
checked: n,
|
|
54
|
+
onChange: b,
|
|
55
|
+
...o
|
|
119
56
|
}
|
|
120
57
|
),
|
|
121
|
-
/* @__PURE__ */
|
|
58
|
+
/* @__PURE__ */ e.jsx(C, { className: t.label, name: c, appearance: x, children: i && /* @__PURE__ */ e.jsx("span", { children: i }) })
|
|
122
59
|
]
|
|
123
60
|
}
|
|
124
61
|
),
|
|
125
|
-
|
|
62
|
+
r && /* @__PURE__ */ e.jsx(w, { ...r })
|
|
126
63
|
] });
|
|
127
64
|
}
|
|
128
65
|
);
|
|
129
66
|
export {
|
|
130
|
-
|
|
67
|
+
S as default
|
|
131
68
|
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { j as t } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import o from "../ScrollContainer/ScrollContainer.js";
|
|
3
|
-
import '../../Config.css';const m = "
|
|
3
|
+
import '../../Config.css';const m = "_configWrapper_rymlp_2", f = "_configItem_rymlp_2", p = "_configItemTitle_rymlp_2", i = {
|
|
4
4
|
configWrapper: m,
|
|
5
5
|
configItem: f,
|
|
6
|
-
configItemTitle:
|
|
6
|
+
configItemTitle: p
|
|
7
7
|
};
|
|
8
|
-
function
|
|
9
|
-
const a = () => Object.keys(
|
|
10
|
-
var
|
|
11
|
-
return (
|
|
12
|
-
/* @__PURE__ */ t.jsx("span", { className:
|
|
8
|
+
function j({ config: r, scrollProps: c }) {
|
|
9
|
+
const a = () => Object.keys(r).map((e) => {
|
|
10
|
+
var n, s, l;
|
|
11
|
+
return (n = r[e]) != null && n.isUrl ? /* @__PURE__ */ t.jsxs("li", { className: i.configItem, "data-testid": "config-list-item", children: [
|
|
12
|
+
/* @__PURE__ */ t.jsx("span", { className: i.configItemTitle, children: `${e}: ` }),
|
|
13
13
|
/* @__PURE__ */ t.jsx(
|
|
14
14
|
"a",
|
|
15
15
|
{
|
|
16
16
|
className: "link",
|
|
17
17
|
target: "_blank",
|
|
18
18
|
rel: "noreferrer",
|
|
19
|
-
href: (s =
|
|
20
|
-
children: `${(
|
|
19
|
+
href: (s = r[e]) == null ? void 0 : s.url,
|
|
20
|
+
children: `${(l = r[e]) == null ? void 0 : l.url}`
|
|
21
21
|
}
|
|
22
22
|
)
|
|
23
|
-
] }, e) : /* @__PURE__ */ t.jsxs("li", { className:
|
|
24
|
-
/* @__PURE__ */ t.jsx("span", { className:
|
|
25
|
-
/* @__PURE__ */ t.jsx("span", { children: `${
|
|
23
|
+
] }, e) : /* @__PURE__ */ t.jsxs("li", { className: i.configItem, "data-testid": "config-list-item", children: [
|
|
24
|
+
/* @__PURE__ */ t.jsx("span", { className: i.configItemTitle, children: `${e}: ` }),
|
|
25
|
+
/* @__PURE__ */ t.jsx("span", { children: `${r[e]}` })
|
|
26
26
|
] }, e);
|
|
27
27
|
});
|
|
28
|
-
return /* @__PURE__ */ t.jsx(o, { ...
|
|
28
|
+
return /* @__PURE__ */ t.jsx(o, { ...c, children: /* @__PURE__ */ t.jsx("ul", { className: i.configWrapper, "data-testid": "config-list", children: a() }) });
|
|
29
29
|
}
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
j as default
|
|
32
32
|
};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { useEffect as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { ThemeAppearance as c, AppearanceButton as
|
|
2
|
+
import { useEffect as C } from "react";
|
|
3
|
+
import h from "../Button/Button.js";
|
|
4
|
+
import w from "../Modal/Modal.js";
|
|
5
|
+
import N from "../../hooks/useNiceModal.js";
|
|
6
|
+
import { ThemeAppearance as c, AppearanceButton as b } from "../../enums/appearance.js";
|
|
7
7
|
import { c as _ } from "../../index-BHf7G3IG.js";
|
|
8
8
|
import { N as y } from "../../index-H7XbDVmH.js";
|
|
9
9
|
import { u as v } from "../../useTranslation-CnCPcxVj.js";
|
|
10
|
-
import '../../Confirm.css';const B = "
|
|
10
|
+
import '../../Confirm.css';const B = "_btnWrap_1j5qr_2", E = "_dark_1j5qr_2", l = {
|
|
11
11
|
btnWrap: B,
|
|
12
12
|
dark: E
|
|
13
|
-
}, M = (
|
|
14
|
-
const { t: n } = v(), [,
|
|
15
|
-
onClose:
|
|
13
|
+
}, M = (o) => {
|
|
14
|
+
const { t: n } = v(), [, d] = N(o.id), {
|
|
15
|
+
onClose: t,
|
|
16
16
|
okBtnCallback: r,
|
|
17
|
-
isLoading:
|
|
18
|
-
appearence:
|
|
17
|
+
isLoading: m,
|
|
18
|
+
appearence: p = c.LIGHT,
|
|
19
19
|
description: f,
|
|
20
20
|
descriptionClassName: k,
|
|
21
21
|
title: u = n("title.warning"),
|
|
22
22
|
okBtnText: x = n("button.yes_proceed"),
|
|
23
|
-
cancelBtnText:
|
|
24
|
-
} =
|
|
25
|
-
|
|
23
|
+
cancelBtnText: j = n("button.cancel")
|
|
24
|
+
} = o, a = () => {
|
|
25
|
+
d(), t && t();
|
|
26
26
|
};
|
|
27
|
-
return
|
|
27
|
+
return C(() => {
|
|
28
28
|
const s = (i) => {
|
|
29
29
|
i.key === "Enter" && (i.preventDefault(), r());
|
|
30
30
|
};
|
|
31
31
|
return window.addEventListener("keydown", s), () => {
|
|
32
32
|
window.removeEventListener("keydown", s);
|
|
33
33
|
};
|
|
34
|
-
}, []), /* @__PURE__ */ e.jsxs(
|
|
34
|
+
}, []), /* @__PURE__ */ e.jsxs(w, { title: u, appearance: p, onClose: a, children: [
|
|
35
35
|
/* @__PURE__ */ e.jsx(
|
|
36
36
|
"p",
|
|
37
37
|
{
|
|
@@ -43,15 +43,15 @@ import '../../Confirm.css';const B = "_btnWrap_ztmp0_1", E = "_dark_ztmp0_9", l
|
|
|
43
43
|
),
|
|
44
44
|
/* @__PURE__ */ e.jsxs("div", { className: l.btnWrap, children: [
|
|
45
45
|
/* @__PURE__ */ e.jsx(
|
|
46
|
-
|
|
46
|
+
h,
|
|
47
47
|
{
|
|
48
|
-
appearance:
|
|
48
|
+
appearance: b.PRIMARY,
|
|
49
49
|
onClick: r,
|
|
50
|
-
isLoading:
|
|
50
|
+
isLoading: m,
|
|
51
51
|
children: x
|
|
52
52
|
}
|
|
53
53
|
),
|
|
54
|
-
/* @__PURE__ */ e.jsx("a", { className: "link", onClick: a, children:
|
|
54
|
+
/* @__PURE__ */ e.jsx("a", { className: "link", onClick: a, children: j })
|
|
55
55
|
] })
|
|
56
56
|
] });
|
|
57
57
|
}, K = y.create(M);
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import { C as _ } from "../../react-content-loader.es-CswLCxkm.js";
|
|
3
|
-
import { c as
|
|
4
|
-
import '../../ContentHeader.css';const
|
|
5
|
-
container:
|
|
6
|
-
left:
|
|
3
|
+
import { c as t } from "../../index-BHf7G3IG.js";
|
|
4
|
+
import '../../ContentHeader.css';const x = "_container_ffrew_2", j = "_left_ffrew_2", v = "_right_ffrew_2", N = "_isActiveBorder_ffrew_2", g = "_titleWrapper_ffrew_2", w = "_title_ffrew_2", C = "_description_ffrew_2", r = {
|
|
5
|
+
container: x,
|
|
6
|
+
left: j,
|
|
7
7
|
right: v,
|
|
8
8
|
isActiveBorder: N,
|
|
9
|
-
titleWrapper:
|
|
10
|
-
title:
|
|
9
|
+
titleWrapper: g,
|
|
10
|
+
title: w,
|
|
11
11
|
description: C
|
|
12
|
-
},
|
|
12
|
+
}, A = (a) => {
|
|
13
13
|
const {
|
|
14
|
-
title:
|
|
14
|
+
title: i,
|
|
15
15
|
leftClassName: n,
|
|
16
|
-
leftComponent:
|
|
16
|
+
leftComponent: s,
|
|
17
17
|
rightClassName: d,
|
|
18
18
|
titleClassName: l,
|
|
19
|
-
titleWrapperClassName:
|
|
20
|
-
component:
|
|
21
|
-
description:
|
|
22
|
-
isActiveBorder:
|
|
19
|
+
titleWrapperClassName: f,
|
|
20
|
+
component: c,
|
|
21
|
+
description: h,
|
|
22
|
+
isActiveBorder: o,
|
|
23
23
|
isLoading: p,
|
|
24
24
|
...m
|
|
25
25
|
} = a;
|
|
26
|
-
return /* @__PURE__ */
|
|
26
|
+
return /* @__PURE__ */ e.jsxs(
|
|
27
27
|
"div",
|
|
28
28
|
{
|
|
29
|
-
className:
|
|
30
|
-
isActiveBorder:
|
|
29
|
+
className: t(r.container, {
|
|
30
|
+
isActiveBorder: o
|
|
31
31
|
}),
|
|
32
32
|
...m,
|
|
33
33
|
"data-testid": "content-header",
|
|
34
34
|
children: [
|
|
35
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ e.jsx("div", { className: t(n, r.left), children: p ? /* @__PURE__ */ e.jsxs(
|
|
36
36
|
_,
|
|
37
37
|
{
|
|
38
38
|
backgroundColor: "#8c919d",
|
|
@@ -41,35 +41,35 @@ import '../../ContentHeader.css';const j = "_container_18oux_1", u = "_left_18ou
|
|
|
41
41
|
height: 40,
|
|
42
42
|
viewBox: "0 0 150 40",
|
|
43
43
|
children: [
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
/* @__PURE__ */
|
|
44
|
+
/* @__PURE__ */ e.jsx("rect", { x: "0", y: "10", rx: "3", ry: "3", width: "100%", height: "15" }),
|
|
45
|
+
/* @__PURE__ */ e.jsx("rect", { x: "0", y: "37", rx: "3", ry: "3", width: "100%", height: "3" })
|
|
46
46
|
]
|
|
47
47
|
}
|
|
48
|
-
) : /* @__PURE__ */
|
|
49
|
-
|
|
48
|
+
) : /* @__PURE__ */ e.jsxs("div", { className: t(f), children: [
|
|
49
|
+
i && /* @__PURE__ */ e.jsx(
|
|
50
50
|
"div",
|
|
51
51
|
{
|
|
52
|
-
className:
|
|
53
|
-
[
|
|
52
|
+
className: t({
|
|
53
|
+
[r.titleWrapper]: o
|
|
54
54
|
}),
|
|
55
|
-
children: /* @__PURE__ */
|
|
55
|
+
children: /* @__PURE__ */ e.jsx(
|
|
56
56
|
"h2",
|
|
57
57
|
{
|
|
58
58
|
"data-testid": "content-header-title",
|
|
59
|
-
className:
|
|
60
|
-
children:
|
|
59
|
+
className: t(l, r.title),
|
|
60
|
+
children: i
|
|
61
61
|
}
|
|
62
62
|
)
|
|
63
63
|
}
|
|
64
64
|
),
|
|
65
|
-
|
|
66
|
-
/* @__PURE__ */
|
|
65
|
+
s && s,
|
|
66
|
+
/* @__PURE__ */ e.jsx("div", { className: r.description, children: h })
|
|
67
67
|
] }) }),
|
|
68
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ e.jsx("div", { className: t(d, r.right), children: c && c })
|
|
69
69
|
]
|
|
70
70
|
}
|
|
71
71
|
);
|
|
72
72
|
};
|
|
73
73
|
export {
|
|
74
|
-
|
|
74
|
+
A as default
|
|
75
75
|
};
|