@cagatayfdn/flora-components 0.0.136 → 0.0.138
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/package.json +1 -1
- package/dist/Accordion.css +0 -1
- package/dist/ActionButton.css +0 -1
- package/dist/AlertCard.css +0 -1
- package/dist/Autocomplete.css +0 -1
- package/dist/Button.css +0 -1
- package/dist/Card.css +0 -1
- package/dist/Checkbox.css +0 -1
- package/dist/Config.css +0 -1
- package/dist/Confirm.css +0 -1
- package/dist/ContentHeader.css +0 -1
- package/dist/Datepicker.css +0 -1
- package/dist/Divider.css +0 -1
- package/dist/DropdownList.css +0 -1
- package/dist/ErrorLogModal.css +0 -1
- package/dist/FileUpload.css +0 -1
- package/dist/FileUpload.module-BxCEtOHx.js +0 -32
- package/dist/Heading.css +0 -1
- package/dist/IconBox.css +0 -1
- package/dist/InfoBoxList.css +0 -1
- package/dist/InfoBoxList.module-BHkAHgos.js +0 -8
- package/dist/InfoDate.css +0 -1
- package/dist/InfoText.css +0 -1
- package/dist/Input.css +0 -1
- package/dist/Label.css +0 -1
- package/dist/Legends.css +0 -1
- package/dist/Loading.css +0 -1
- package/dist/MenuItem-Df6Zsa7E.js +0 -53
- package/dist/MenuItem.css +0 -1
- package/dist/Modal.css +0 -1
- package/dist/NoResult.css +0 -1
- package/dist/PageWrap.css +0 -1
- package/dist/Pager.css +0 -1
- package/dist/Panel.css +0 -1
- package/dist/Radio.css +0 -1
- package/dist/ResultError.css +0 -1
- package/dist/ScrollContainer.css +0 -1
- package/dist/Select-BE_y91ZN.js +0 -1831
- package/dist/Select.css +0 -1
- package/dist/Select.module-ByPQ6qr4.js +0 -21
- package/dist/StatusTag.css +0 -1
- package/dist/StatusTypography.css +0 -1
- package/dist/Stepper.css +0 -1
- package/dist/Switch.css +0 -1
- package/dist/Tab.css +0 -1
- package/dist/Table.css +0 -1
- package/dist/Table.module-DUqpZOLt.js +0 -29
- package/dist/Textarea.css +0 -1
- package/dist/Tooltip.css +0 -1
- package/dist/Trans-B4ILpbwK.js +0 -343
- package/dist/TypographyText.css +0 -1
- package/dist/ValidationError.css +0 -1
- package/dist/_commonjsHelpers-CT_km90n.js +0 -30
- package/dist/_isArray-CBUZFxFA.js +0 -6
- package/dist/_isString-BUpNGP_8.js +0 -6
- package/dist/_reduce-DsUCMz4O.js +0 -148
- package/dist/assets/icons/icons.js +0 -70
- package/dist/assets/images/500_error_2x.gif +0 -0
- package/dist/assets/images/oms.png +0 -0
- package/dist/components/Accordion/Accordion.js +0 -60
- package/dist/components/ActionButton/ActionButton.js +0 -54
- package/dist/components/AlertCard/AlertCard.js +0 -29
- package/dist/components/AuthUserCan/Permission.js +0 -18
- package/dist/components/AuthUserCan/index.js +0 -23
- package/dist/components/Autocomplete/Autocomplete.js +0 -87
- package/dist/components/Button/Button.js +0 -87
- package/dist/components/Card/Card.js +0 -21
- package/dist/components/Charts/Bar.js +0 -18
- package/dist/components/Charts/Legends.js +0 -21
- package/dist/components/Charts/Line.js +0 -18
- package/dist/components/Charts/Pie.js +0 -43
- package/dist/components/Charts/index.js +0 -31
- package/dist/components/Charts/types.js +0 -1
- package/dist/components/Charts/utils.js +0 -12
- package/dist/components/Checkbox/Checkbox.js +0 -68
- package/dist/components/Config/Config.js +0 -32
- package/dist/components/Confirm/Confirm.js +0 -60
- package/dist/components/ContentHeader/ContentHeader.js +0 -75
- package/dist/components/ContentLoader/ContentLoader.js +0 -16
- package/dist/components/Countdown/Countdown.js +0 -20
- package/dist/components/Datepicker/Datepicker.js +0 -1478
- package/dist/components/Divider/Divider.js +0 -27
- package/dist/components/Drawer/Provider.js +0 -24
- package/dist/components/Drawer/index.js +0 -55
- package/dist/components/Dropdown/DropdownList.js +0 -90
- package/dist/components/ErrorLogModal/ErrorLogModal.js +0 -69
- package/dist/components/FileUpload/FileUpload.js +0 -237
- package/dist/components/FileUpload/ImagePreview.js +0 -19
- package/dist/components/FileUpload/LengthCard.js +0 -6
- package/dist/components/FileUpload/PreviewModal.js +0 -53
- package/dist/components/Grid/Column.js +0 -29
- package/dist/components/Grid/Row.js +0 -6
- package/dist/components/Heading/Heading.js +0 -22
- package/dist/components/Icon/index.js +0 -24
- package/dist/components/IconBox/IconBox.js +0 -13
- package/dist/components/InfiniteScroll/InfiniteScroll.js +0 -41
- package/dist/components/InfoBoxList/InfoBoxList.js +0 -30
- package/dist/components/InfoBoxList/helper.js +0 -83
- package/dist/components/InfoDate/InfoDate.js +0 -19
- package/dist/components/InfoText/InfoText.js +0 -13
- package/dist/components/Input/Input.js +0 -140
- package/dist/components/Label/Label.js +0 -22
- package/dist/components/Loading/Loading.js +0 -62
- package/dist/components/Modal/Modal.js +0 -74
- package/dist/components/NavigatorCard/index.js +0 -59
- package/dist/components/NoResult/NoResult.js +0 -12
- package/dist/components/Notification/Notification.js +0 -26
- package/dist/components/PageWrapper/PageWrap.js +0 -46
- package/dist/components/Pager/Pager.js +0 -103
- package/dist/components/Panel/Panel.js +0 -71
- package/dist/components/PermaLink/PermaLink.js +0 -387
- package/dist/components/Radio/Radio.js +0 -96
- package/dist/components/ResultError/ResultError.js +0 -20
- package/dist/components/ScrollContainer/ScrollContainer.js +0 -23
- package/dist/components/Select/NoData.js +0 -10
- package/dist/components/Select/OptionItem.js +0 -19
- package/dist/components/Select/Select.js +0 -13
- package/dist/components/Sidebar/MenuItem.js +0 -9
- package/dist/components/Sidebar/index.js +0 -137
- package/dist/components/StatusTag/StatusTag.js +0 -24
- package/dist/components/StatusTypography/StatusTypography.js +0 -51
- package/dist/components/Stepper/Stepper.js +0 -75
- package/dist/components/Switch/Switch.js +0 -84
- package/dist/components/Tab/Tab.js +0 -28
- package/dist/components/Table/Table.js +0 -271
- package/dist/components/Table/TableHeader.js +0 -137
- package/dist/components/Table/TableSort.js +0 -25
- package/dist/components/Textarea/Textarea.js +0 -95
- package/dist/components/Tooltip/Tooltip.js +0 -1548
- package/dist/components/TypographyText/TypographyText.js +0 -91
- package/dist/components/ValidationError/ValidationError.js +0 -7
- package/dist/components/index.js +0 -133
- package/dist/defineProperty-DeKy1XT0.js +0 -37
- package/dist/enums/appearance.js +0 -14
- package/dist/enums/applicationTypeSlug.js +0 -4
- package/dist/enums/index.js +0 -29
- package/dist/enums/isActiveColor.js +0 -4
- package/dist/enums/size.js +0 -4
- package/dist/enums/status.js +0 -11
- package/dist/equals-PL9KqVQf.js +0 -119
- package/dist/flatpickr-CRz1AV0e.js +0 -59
- package/dist/hooks/index.js +0 -15
- package/dist/hooks/useAauth.js +0 -40
- package/dist/hooks/useDisclosure.js +0 -14
- package/dist/hooks/useDrawer.js +0 -9
- package/dist/hooks/useMediaQuery.js +0 -21
- package/dist/hooks/useNiceModal.js +0 -13
- package/dist/i18nInstance-CiCZbaCK.js +0 -55
- package/dist/includes-8YTFrx85.js +0 -46
- package/dist/index-9ZLCCecr.js +0 -364
- package/dist/index-BHf7G3IG.js +0 -35
- package/dist/index-BJU1K2Aw.js +0 -8003
- package/dist/index-CB61CB0b.js +0 -669
- package/dist/index-H7XbDVmH.js +0 -320
- package/dist/index-JNaMEwgt.js +0 -1413
- package/dist/index.css +0 -1
- package/dist/index.d.mts +0 -1463
- package/dist/index.d.ts +0 -1463
- package/dist/index.js +0 -200
- package/dist/index2.css +0 -1
- package/dist/jsx-runtime-BcAkpsdy.js +0 -631
- package/dist/keys-B0bo5Q7o.js +0 -67
- package/dist/locales/en/index.js +0 -613
- package/dist/locales/i18n.js +0 -1417
- package/dist/locales/index.js +0 -5
- package/dist/locales/tr/index.js +0 -613
- package/dist/main.css +0 -1
- package/dist/main.js +0 -56
- package/dist/prodivers.css +0 -6
- package/dist/prodivers.js +0 -13
- package/dist/react-content-loader.es-CswLCxkm.js +0 -90
- package/dist/react-toastify.esm-BUWNP7Nm.js +0 -808
- package/dist/types/common/date.js +0 -1
- package/dist/types/common/events.js +0 -1
- package/dist/types/common/forms.js +0 -1
- package/dist/types/common/option.js +0 -1
- package/dist/types/index.js +0 -1
- package/dist/useTranslation-CnCPcxVj.js +0 -142
- package/dist/utils/date.js +0 -413
- package/dist/utils/flatpickr.js +0 -4
- package/dist/utils/helper.js +0 -55
- package/dist/utils/index.js +0 -24
- package/dist/utils/language.js +0 -46
- package/dist/utils/validation.js +0 -27
- package/dist/utils/yup.js +0 -2921
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { j as u } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { g as n } from "../../index-BJU1K2Aw.js";
|
|
3
|
-
function f({ data: e, options: r }) {
|
|
4
|
-
var t;
|
|
5
|
-
function s(o) {
|
|
6
|
-
switch (o) {
|
|
7
|
-
case 0:
|
|
8
|
-
case 1:
|
|
9
|
-
return 88;
|
|
10
|
-
case 2:
|
|
11
|
-
return 76;
|
|
12
|
-
case 3:
|
|
13
|
-
return 63;
|
|
14
|
-
default:
|
|
15
|
-
return 50;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return /* @__PURE__ */ u.jsx(
|
|
19
|
-
n,
|
|
20
|
-
{
|
|
21
|
-
options: {
|
|
22
|
-
responsive: !0,
|
|
23
|
-
elements: {
|
|
24
|
-
arc: {
|
|
25
|
-
borderWidth: 0,
|
|
26
|
-
offset: 0
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
plugins: {
|
|
30
|
-
filler: {
|
|
31
|
-
propagate: !1
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
cutout: `${s((t = e.datasets) == null ? void 0 : t.length)}%`,
|
|
35
|
-
...r
|
|
36
|
-
},
|
|
37
|
-
data: e
|
|
38
|
-
}
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
export {
|
|
42
|
-
f as default
|
|
43
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import a from "./Bar.js";
|
|
2
|
-
import t from "./Legends.js";
|
|
3
|
-
import r from "./Line.js";
|
|
4
|
-
import s from "./Pie.js";
|
|
5
|
-
import { C as e, a as i, L as l, b as o, A as n, P as f, c as m, i as p, p as d, d as u, e as g } from "../../index-BJU1K2Aw.js";
|
|
6
|
-
const P = {
|
|
7
|
-
Bar: a,
|
|
8
|
-
Pie: s,
|
|
9
|
-
Line: r,
|
|
10
|
-
Legends: t
|
|
11
|
-
};
|
|
12
|
-
e.defaults.color = "#fff";
|
|
13
|
-
e.defaults.borderColor = "#3C4560";
|
|
14
|
-
e.defaults.responsive = !0;
|
|
15
|
-
e.defaults.maintainAspectRatio = !0;
|
|
16
|
-
e.register(
|
|
17
|
-
i,
|
|
18
|
-
l,
|
|
19
|
-
o,
|
|
20
|
-
n,
|
|
21
|
-
f,
|
|
22
|
-
m,
|
|
23
|
-
p,
|
|
24
|
-
d,
|
|
25
|
-
u,
|
|
26
|
-
g
|
|
27
|
-
);
|
|
28
|
-
e.defaults.plugins.legend.display = !1;
|
|
29
|
-
export {
|
|
30
|
-
P as default
|
|
31
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import b, { useState as k, useEffect as p } from "react";
|
|
3
|
-
import { c as u } 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_1msjn_2", E = "_checkbox__filter_1msjn_2", N = "_slider_1msjn_2", R = "_round_1msjn_2", s = {
|
|
7
|
-
checkbox: y,
|
|
8
|
-
checkbox__filter: E,
|
|
9
|
-
switch: "_switch_1msjn_2",
|
|
10
|
-
"text-hide": "_text-hide_1msjn_2",
|
|
11
|
-
slider: N,
|
|
12
|
-
round: R
|
|
13
|
-
}, S = b.forwardRef(
|
|
14
|
-
({
|
|
15
|
-
name: c,
|
|
16
|
-
label: i,
|
|
17
|
-
labelAppearance: x,
|
|
18
|
-
error: n,
|
|
19
|
-
isDisabled: r = !1,
|
|
20
|
-
isInline: h,
|
|
21
|
-
checked: t = !1,
|
|
22
|
-
onChange: _,
|
|
23
|
-
filterInput: m,
|
|
24
|
-
wrapperClassName: f,
|
|
25
|
-
...o
|
|
26
|
-
}) => {
|
|
27
|
-
const [a, d] = k(
|
|
28
|
-
t || !!o.value
|
|
29
|
-
);
|
|
30
|
-
p(() => {
|
|
31
|
-
d(t);
|
|
32
|
-
}, [t]);
|
|
33
|
-
const j = (l) => {
|
|
34
|
-
!o.readOnly && !r && (l.persist(), d(!a), _ && _(l));
|
|
35
|
-
};
|
|
36
|
-
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
37
|
-
/* @__PURE__ */ e.jsxs(
|
|
38
|
-
"div",
|
|
39
|
-
{
|
|
40
|
-
className: u(s.checkbox, f, {
|
|
41
|
-
[s.inline]: h,
|
|
42
|
-
[s.checkbox__filter]: m
|
|
43
|
-
}),
|
|
44
|
-
"data-testid": "checkbox",
|
|
45
|
-
children: [
|
|
46
|
-
/* @__PURE__ */ e.jsx(
|
|
47
|
-
"input",
|
|
48
|
-
{
|
|
49
|
-
type: "checkbox",
|
|
50
|
-
name: c,
|
|
51
|
-
id: c,
|
|
52
|
-
disabled: r,
|
|
53
|
-
checked: a,
|
|
54
|
-
onChange: j,
|
|
55
|
-
...o
|
|
56
|
-
}
|
|
57
|
-
),
|
|
58
|
-
/* @__PURE__ */ e.jsx(C, { className: s.label, name: c, appearance: x, children: i && /* @__PURE__ */ e.jsx("span", { children: i }) })
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
),
|
|
62
|
-
n && /* @__PURE__ */ e.jsx(w, { ...n })
|
|
63
|
-
] });
|
|
64
|
-
}
|
|
65
|
-
);
|
|
66
|
-
export {
|
|
67
|
-
S as default
|
|
68
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { j as t } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import o from "../ScrollContainer/ScrollContainer.js";
|
|
3
|
-
import '../../Config.css';const m = "_configWrapper_rymlp_2", f = "_configItem_rymlp_2", p = "_configItemTitle_rymlp_2", i = {
|
|
4
|
-
configWrapper: m,
|
|
5
|
-
configItem: f,
|
|
6
|
-
configItemTitle: p
|
|
7
|
-
};
|
|
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
|
-
/* @__PURE__ */ t.jsx(
|
|
14
|
-
"a",
|
|
15
|
-
{
|
|
16
|
-
className: "link",
|
|
17
|
-
target: "_blank",
|
|
18
|
-
rel: "noreferrer",
|
|
19
|
-
href: (s = r[e]) == null ? void 0 : s.url,
|
|
20
|
-
children: `${(l = r[e]) == null ? void 0 : l.url}`
|
|
21
|
-
}
|
|
22
|
-
)
|
|
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
|
-
] }, e);
|
|
27
|
-
});
|
|
28
|
-
return /* @__PURE__ */ t.jsx(o, { ...c, children: /* @__PURE__ */ t.jsx("ul", { className: i.configWrapper, "data-testid": "config-list", children: a() }) });
|
|
29
|
-
}
|
|
30
|
-
export {
|
|
31
|
-
j as default
|
|
32
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
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
|
-
import { c as _ } from "../../index-BHf7G3IG.js";
|
|
8
|
-
import { N as y } from "../../index-H7XbDVmH.js";
|
|
9
|
-
import { u as v } from "../../useTranslation-CnCPcxVj.js";
|
|
10
|
-
import '../../Confirm.css';const B = "_btnWrap_1j5qr_2", E = "_dark_1j5qr_2", l = {
|
|
11
|
-
btnWrap: B,
|
|
12
|
-
dark: E
|
|
13
|
-
}, M = (o) => {
|
|
14
|
-
const { t: n } = v(), [, d] = N(o.id), {
|
|
15
|
-
onClose: t,
|
|
16
|
-
okBtnCallback: r,
|
|
17
|
-
isLoading: m,
|
|
18
|
-
appearence: p = c.LIGHT,
|
|
19
|
-
description: f,
|
|
20
|
-
descriptionClassName: k,
|
|
21
|
-
title: u = n("title.warning"),
|
|
22
|
-
okBtnText: x = n("button.yes_proceed"),
|
|
23
|
-
cancelBtnText: j = n("button.cancel")
|
|
24
|
-
} = o, a = () => {
|
|
25
|
-
d(), t && t();
|
|
26
|
-
};
|
|
27
|
-
return C(() => {
|
|
28
|
-
const s = (i) => {
|
|
29
|
-
i.key === "Enter" && (i.preventDefault(), r());
|
|
30
|
-
};
|
|
31
|
-
return window.addEventListener("keydown", s), () => {
|
|
32
|
-
window.removeEventListener("keydown", s);
|
|
33
|
-
};
|
|
34
|
-
}, []), /* @__PURE__ */ e.jsxs(w, { title: u, appearance: p, onClose: a, children: [
|
|
35
|
-
/* @__PURE__ */ e.jsx(
|
|
36
|
-
"p",
|
|
37
|
-
{
|
|
38
|
-
className: _(k, {
|
|
39
|
-
[l.dark]: c.DARK
|
|
40
|
-
}),
|
|
41
|
-
children: f
|
|
42
|
-
}
|
|
43
|
-
),
|
|
44
|
-
/* @__PURE__ */ e.jsxs("div", { className: l.btnWrap, children: [
|
|
45
|
-
/* @__PURE__ */ e.jsx(
|
|
46
|
-
h,
|
|
47
|
-
{
|
|
48
|
-
appearance: b.PRIMARY,
|
|
49
|
-
onClick: r,
|
|
50
|
-
isLoading: m,
|
|
51
|
-
children: x
|
|
52
|
-
}
|
|
53
|
-
),
|
|
54
|
-
/* @__PURE__ */ e.jsx("a", { className: "link", onClick: a, children: j })
|
|
55
|
-
] })
|
|
56
|
-
] });
|
|
57
|
-
}, K = y.create(M);
|
|
58
|
-
export {
|
|
59
|
-
K as default
|
|
60
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { C as _ } from "../../react-content-loader.es-CswLCxkm.js";
|
|
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
|
-
right: v,
|
|
8
|
-
isActiveBorder: N,
|
|
9
|
-
titleWrapper: g,
|
|
10
|
-
title: w,
|
|
11
|
-
description: C
|
|
12
|
-
}, A = (a) => {
|
|
13
|
-
const {
|
|
14
|
-
title: i,
|
|
15
|
-
leftClassName: n,
|
|
16
|
-
leftComponent: s,
|
|
17
|
-
rightClassName: d,
|
|
18
|
-
titleClassName: l,
|
|
19
|
-
titleWrapperClassName: f,
|
|
20
|
-
component: c,
|
|
21
|
-
description: h,
|
|
22
|
-
isActiveBorder: o,
|
|
23
|
-
isLoading: p,
|
|
24
|
-
...m
|
|
25
|
-
} = a;
|
|
26
|
-
return /* @__PURE__ */ e.jsxs(
|
|
27
|
-
"div",
|
|
28
|
-
{
|
|
29
|
-
className: t(r.container, {
|
|
30
|
-
isActiveBorder: o
|
|
31
|
-
}),
|
|
32
|
-
...m,
|
|
33
|
-
"data-testid": "content-header",
|
|
34
|
-
children: [
|
|
35
|
-
/* @__PURE__ */ e.jsx("div", { className: t(n, r.left), children: p ? /* @__PURE__ */ e.jsxs(
|
|
36
|
-
_,
|
|
37
|
-
{
|
|
38
|
-
backgroundColor: "#8c919d",
|
|
39
|
-
foregroundColor: "#dbdbdb",
|
|
40
|
-
width: 150,
|
|
41
|
-
height: 40,
|
|
42
|
-
viewBox: "0 0 150 40",
|
|
43
|
-
children: [
|
|
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
|
-
]
|
|
47
|
-
}
|
|
48
|
-
) : /* @__PURE__ */ e.jsxs("div", { className: t(f), children: [
|
|
49
|
-
i && /* @__PURE__ */ e.jsx(
|
|
50
|
-
"div",
|
|
51
|
-
{
|
|
52
|
-
className: t({
|
|
53
|
-
[r.titleWrapper]: o
|
|
54
|
-
}),
|
|
55
|
-
children: /* @__PURE__ */ e.jsx(
|
|
56
|
-
"h2",
|
|
57
|
-
{
|
|
58
|
-
"data-testid": "content-header-title",
|
|
59
|
-
className: t(l, r.title),
|
|
60
|
-
children: i
|
|
61
|
-
}
|
|
62
|
-
)
|
|
63
|
-
}
|
|
64
|
-
),
|
|
65
|
-
s && s,
|
|
66
|
-
/* @__PURE__ */ e.jsx("div", { className: r.description, children: h })
|
|
67
|
-
] }) }),
|
|
68
|
-
/* @__PURE__ */ e.jsx("div", { className: t(d, r.right), children: c && c })
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
);
|
|
72
|
-
};
|
|
73
|
-
export {
|
|
74
|
-
A as default
|
|
75
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { j as r } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { C as o } from "../../react-content-loader.es-CswLCxkm.js";
|
|
3
|
-
const f = () => /* @__PURE__ */ r.jsx(
|
|
4
|
-
o,
|
|
5
|
-
{
|
|
6
|
-
backgroundColor: "#ffffff",
|
|
7
|
-
foregroundColor: "#8c919d",
|
|
8
|
-
width: 55,
|
|
9
|
-
height: 12,
|
|
10
|
-
viewBox: "0 0 55 12",
|
|
11
|
-
children: /* @__PURE__ */ r.jsx("rect", { x: "0", y: "3", rx: "3", ry: "3", width: "100%", height: "9" })
|
|
12
|
-
}
|
|
13
|
-
);
|
|
14
|
-
export {
|
|
15
|
-
f as default
|
|
16
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { j as i } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import r from "react";
|
|
3
|
-
function c({ seconds: e, reset: f, onEnd: a }) {
|
|
4
|
-
const [t, n] = r.useState(e);
|
|
5
|
-
return r.useEffect(() => {
|
|
6
|
-
n(e);
|
|
7
|
-
}, [e, f]), r.useEffect(() => {
|
|
8
|
-
if (!t) {
|
|
9
|
-
a && a();
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
const u = setInterval(() => {
|
|
13
|
-
n(t - 1);
|
|
14
|
-
}, 1e3);
|
|
15
|
-
return () => clearInterval(u);
|
|
16
|
-
}, [t]), /* @__PURE__ */ i.jsx("span", { "data-testid": "countdown", children: t });
|
|
17
|
-
}
|
|
18
|
-
export {
|
|
19
|
-
c as default
|
|
20
|
-
};
|