@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,33 +1,33 @@
|
|
|
1
1
|
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { c as
|
|
3
|
-
import { ThemeAppearance as
|
|
4
|
-
import '../../Panel.css';const
|
|
5
|
-
box:
|
|
6
|
-
header:
|
|
7
|
-
hasBorder:
|
|
8
|
-
body:
|
|
9
|
-
noHeaders:
|
|
10
|
-
description:
|
|
11
|
-
dark:
|
|
2
|
+
import { c as r } from "../../index-BHf7G3IG.js";
|
|
3
|
+
import { ThemeAppearance as m } from "../../enums/appearance.js";
|
|
4
|
+
import '../../Panel.css';const x = "_box_1bthr_2", p = "_header_1bthr_2", j = "_hasBorder_1bthr_2", f = "_body_1bthr_2", N = "_noHeaders_1bthr_2", y = "_description_1bthr_2", u = "_dark_1bthr_2", v = "_line_1bthr_2", s = {
|
|
5
|
+
box: x,
|
|
6
|
+
header: p,
|
|
7
|
+
hasBorder: j,
|
|
8
|
+
body: f,
|
|
9
|
+
noHeaders: N,
|
|
10
|
+
description: y,
|
|
11
|
+
dark: u,
|
|
12
12
|
line: v
|
|
13
13
|
}, A = ({
|
|
14
14
|
title: n,
|
|
15
15
|
children: i,
|
|
16
|
-
description:
|
|
16
|
+
description: a,
|
|
17
17
|
className: _,
|
|
18
18
|
type: d = "box",
|
|
19
|
-
appearance:
|
|
20
|
-
headerDescription:
|
|
19
|
+
appearance: t = m.DARK,
|
|
20
|
+
headerDescription: c,
|
|
21
21
|
headerRightChild: o,
|
|
22
|
-
headerClass:
|
|
23
|
-
hasBorder:
|
|
24
|
-
bodyClass:
|
|
22
|
+
headerClass: h,
|
|
23
|
+
hasBorder: l,
|
|
24
|
+
bodyClass: b
|
|
25
25
|
}) => /* @__PURE__ */ e.jsxs(
|
|
26
26
|
"div",
|
|
27
27
|
{
|
|
28
28
|
"data-testid": "panel-container",
|
|
29
|
-
className:
|
|
30
|
-
[s[`${
|
|
29
|
+
className: r(_, s.container, {
|
|
30
|
+
[s[`${t}`]]: t,
|
|
31
31
|
[s[`${d}`]]: d
|
|
32
32
|
}),
|
|
33
33
|
children: [
|
|
@@ -35,15 +35,15 @@ import '../../Panel.css';const p = "_box_us2fa_1", u = "_header_us2fa_8", h = "_
|
|
|
35
35
|
"div",
|
|
36
36
|
{
|
|
37
37
|
"data-testid": "panel-header",
|
|
38
|
-
className:
|
|
38
|
+
className: r(s.header, h, {
|
|
39
39
|
"d-flex": o,
|
|
40
40
|
"justify-content-between": o,
|
|
41
|
-
[s.hasBorder]:
|
|
41
|
+
[s.hasBorder]: l
|
|
42
42
|
}),
|
|
43
43
|
children: [
|
|
44
44
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
45
45
|
/* @__PURE__ */ e.jsx("h1", { children: n }),
|
|
46
|
-
|
|
46
|
+
c && /* @__PURE__ */ e.jsx("p", { className: r("m-0", s.description), children: c })
|
|
47
47
|
] }),
|
|
48
48
|
o
|
|
49
49
|
]
|
|
@@ -52,11 +52,11 @@ import '../../Panel.css';const p = "_box_us2fa_1", u = "_header_us2fa_8", h = "_
|
|
|
52
52
|
/* @__PURE__ */ e.jsxs(
|
|
53
53
|
"div",
|
|
54
54
|
{
|
|
55
|
-
className:
|
|
55
|
+
className: r(b, s.body, {
|
|
56
56
|
[s.noHeaders]: !n
|
|
57
57
|
}),
|
|
58
58
|
children: [
|
|
59
|
-
|
|
59
|
+
a && /* @__PURE__ */ e.jsx("p", { "data-testid": "panel-description", className: s.description, children: a }),
|
|
60
60
|
i
|
|
61
61
|
]
|
|
62
62
|
}
|
|
@@ -1,94 +1,94 @@
|
|
|
1
1
|
import { j as a } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { c as
|
|
3
|
-
import
|
|
2
|
+
import { c as _ } from "../../index-BHf7G3IG.js";
|
|
3
|
+
import h from "../Label/Label.js";
|
|
4
4
|
import u from "../ValidationError/ValidationError.js";
|
|
5
|
-
import '../../Radio.css';const f = "
|
|
5
|
+
import '../../Radio.css';const f = "_container_a9a9s_2", N = "_checkmark_a9a9s_2", b = "_inline_a9a9s_2", v = "_disabled_a9a9s_2", g = "_text_a9a9s_2", s = {
|
|
6
6
|
container: f,
|
|
7
7
|
checkmark: N,
|
|
8
8
|
inline: b,
|
|
9
9
|
disabled: v,
|
|
10
10
|
text: g
|
|
11
11
|
}, R = ({
|
|
12
|
-
name:
|
|
13
|
-
label:
|
|
12
|
+
name: i,
|
|
13
|
+
label: n,
|
|
14
14
|
isDisabled: t,
|
|
15
15
|
checked: c,
|
|
16
16
|
isInline: l,
|
|
17
17
|
onChange: r,
|
|
18
|
-
setContext:
|
|
18
|
+
setContext: e,
|
|
19
19
|
suffixBtn: m,
|
|
20
|
-
...
|
|
20
|
+
...x
|
|
21
21
|
}) => {
|
|
22
22
|
const d = (o) => {
|
|
23
|
-
|
|
23
|
+
e && e({ label: `${n}`, value: o.currentTarget.value }), r && r(o);
|
|
24
24
|
};
|
|
25
|
-
return /* @__PURE__ */ a.jsxs("div", { className:
|
|
25
|
+
return /* @__PURE__ */ a.jsxs("div", { className: _("d-flex", s.container), "data-testid": "radio-container", children: [
|
|
26
26
|
/* @__PURE__ */ a.jsxs(
|
|
27
|
-
|
|
27
|
+
h,
|
|
28
28
|
{
|
|
29
|
-
className:
|
|
30
|
-
[
|
|
31
|
-
[
|
|
29
|
+
className: _({
|
|
30
|
+
[s.inline]: l,
|
|
31
|
+
[s.disabled]: t
|
|
32
32
|
}),
|
|
33
|
-
name:
|
|
33
|
+
name: i,
|
|
34
34
|
children: [
|
|
35
|
-
/* @__PURE__ */ a.jsx("span", { className:
|
|
35
|
+
/* @__PURE__ */ a.jsx("span", { className: s.text, children: n }),
|
|
36
36
|
/* @__PURE__ */ a.jsx(
|
|
37
37
|
"input",
|
|
38
38
|
{
|
|
39
39
|
type: "radio",
|
|
40
40
|
"data-testid": "radio-input",
|
|
41
|
-
name:
|
|
41
|
+
name: i,
|
|
42
42
|
disabled: t,
|
|
43
43
|
defaultChecked: c,
|
|
44
|
-
...
|
|
44
|
+
...x,
|
|
45
45
|
onChange: d
|
|
46
46
|
}
|
|
47
47
|
),
|
|
48
|
-
/* @__PURE__ */ a.jsx("span", { className:
|
|
48
|
+
/* @__PURE__ */ a.jsx("span", { className: s.checkmark, "data-testid": "radio-checkmark" })
|
|
49
49
|
]
|
|
50
50
|
}
|
|
51
51
|
),
|
|
52
52
|
m
|
|
53
53
|
] });
|
|
54
54
|
}, C = ({
|
|
55
|
-
name:
|
|
56
|
-
items:
|
|
55
|
+
name: i,
|
|
56
|
+
items: n,
|
|
57
57
|
value: t,
|
|
58
58
|
label: c,
|
|
59
59
|
isInline: l = !0,
|
|
60
60
|
setContext: r,
|
|
61
|
-
error:
|
|
61
|
+
error: e,
|
|
62
62
|
className: m,
|
|
63
|
-
...
|
|
63
|
+
...x
|
|
64
64
|
}) => /* @__PURE__ */ a.jsxs("div", { className: "form-group", "data-testid": "radiolist", children: [
|
|
65
|
-
c && /* @__PURE__ */ a.jsx(
|
|
65
|
+
c && /* @__PURE__ */ a.jsx(h, { children: c }),
|
|
66
66
|
/* @__PURE__ */ a.jsx(
|
|
67
67
|
"div",
|
|
68
68
|
{
|
|
69
|
-
className:
|
|
70
|
-
[
|
|
69
|
+
className: _(s.container, m, {
|
|
70
|
+
[s.error]: e
|
|
71
71
|
}),
|
|
72
|
-
children:
|
|
73
|
-
({ value: d, label: o, isDisabled:
|
|
72
|
+
children: n.map(
|
|
73
|
+
({ value: d, label: o, isDisabled: j, suffixBtn: k }, p) => /* @__PURE__ */ a.jsx(
|
|
74
74
|
R,
|
|
75
75
|
{
|
|
76
76
|
label: o,
|
|
77
|
-
name:
|
|
77
|
+
name: i,
|
|
78
78
|
checked: t === d,
|
|
79
79
|
value: d,
|
|
80
|
-
isDisabled:
|
|
80
|
+
isDisabled: j,
|
|
81
81
|
isInline: l,
|
|
82
82
|
setContext: r,
|
|
83
|
-
suffixBtn:
|
|
84
|
-
...
|
|
83
|
+
suffixBtn: k,
|
|
84
|
+
...x
|
|
85
85
|
},
|
|
86
86
|
`${t}-${p}`
|
|
87
87
|
)
|
|
88
88
|
)
|
|
89
89
|
}
|
|
90
90
|
),
|
|
91
|
-
|
|
91
|
+
e && /* @__PURE__ */ a.jsx(u, { ...e })
|
|
92
92
|
] });
|
|
93
93
|
export {
|
|
94
94
|
C as RadioList,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as r } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import p from "../Button/Button.js";
|
|
3
3
|
import { AppearanceButton as i } from "../../enums/appearance.js";
|
|
4
|
-
import '../../ResultError.css';const n = "
|
|
4
|
+
import '../../ResultError.css';const n = "_wrap_1dz1s_2", c = {
|
|
5
5
|
wrap: n
|
|
6
6
|
}, j = ({
|
|
7
7
|
title: t,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import { c as r } from "../../index-BHf7G3IG.js";
|
|
3
|
-
import '../../ScrollContainer.css';const c = "
|
|
3
|
+
import '../../ScrollContainer.css';const c = "_container_557ke_2", i = {
|
|
4
4
|
container: c
|
|
5
5
|
}, d = ({
|
|
6
6
|
children: t,
|
|
7
7
|
maxHeight: s,
|
|
8
|
-
height:
|
|
9
|
-
className:
|
|
10
|
-
onScroll:
|
|
8
|
+
height: o,
|
|
9
|
+
className: a,
|
|
10
|
+
onScroll: n
|
|
11
11
|
}) => /* @__PURE__ */ e.jsx(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
|
-
onScroll:
|
|
14
|
+
onScroll: n,
|
|
15
15
|
"data-testid": "scroll-container",
|
|
16
|
-
className: r(
|
|
17
|
-
style: { maxHeight: s, height:
|
|
16
|
+
className: r(a, i.container),
|
|
17
|
+
style: { maxHeight: s, height: o },
|
|
18
18
|
children: t
|
|
19
19
|
}
|
|
20
20
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as t } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { s as n } from "../../Select.module-
|
|
2
|
+
import { s as n } from "../../Select.module-gwwx8i1I.js";
|
|
3
3
|
import { u as r } from "../../useTranslation-CnCPcxVj.js";
|
|
4
4
|
function d({ text: s }) {
|
|
5
5
|
const { t: a } = r(), o = s || a("text.no_results");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { S as s } from "../../Select-
|
|
2
|
+
import { S as s } from "../../Select-BGHusr4q.js";
|
|
3
3
|
import "../../index-BHf7G3IG.js";
|
|
4
|
-
import "../../Select.module-
|
|
4
|
+
import "../../Select.module-gwwx8i1I.js";
|
|
5
5
|
import "../Label/Label.js";
|
|
6
6
|
import "../ValidationError/ValidationError.js";
|
|
7
7
|
import "./NoData.js";
|
|
@@ -2,7 +2,7 @@ import "../../jsx-runtime-BcAkpsdy.js";
|
|
|
2
2
|
import "../Icon/index.js";
|
|
3
3
|
import "../PermaLink/PermaLink.js";
|
|
4
4
|
import "../Tooltip/Tooltip.js";
|
|
5
|
-
import { M as e } from "../../MenuItem-
|
|
5
|
+
import { M as e } from "../../MenuItem-Df6Zsa7E.js";
|
|
6
6
|
import "../../enums/appearance.js";
|
|
7
7
|
export {
|
|
8
8
|
e as default
|
|
@@ -4,7 +4,7 @@ import x from "../AuthUserCan/index.js";
|
|
|
4
4
|
import w from "../Icon/index.js";
|
|
5
5
|
import { Icons as h } from "../../assets/icons/icons.js";
|
|
6
6
|
import { c as n } from "../../index-BHf7G3IG.js";
|
|
7
|
-
import { s as r, M as d } from "../../MenuItem-
|
|
7
|
+
import { s as r, M as d } from "../../MenuItem-Df6Zsa7E.js";
|
|
8
8
|
import { u as y } from "../../index-9ZLCCecr.js";
|
|
9
9
|
const g = ({
|
|
10
10
|
collapsed: a = !1,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { c } from "../../index-BHf7G3IG.js";
|
|
3
|
-
import '../../StatusTag.css';const
|
|
4
|
-
tag:
|
|
1
|
+
import { j as i } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
+
import { c as e } from "../../index-BHf7G3IG.js";
|
|
3
|
+
import '../../StatusTag.css';const c = "_tag_1i9wh_2", _ = "_success_1i9wh_2", n = "_failed_1i9wh_2", o = "_empty_1i9wh_2", m = "_waiting_1i9wh_2", t = {
|
|
4
|
+
tag: c,
|
|
5
5
|
success: _,
|
|
6
|
-
failed:
|
|
7
|
-
empty:
|
|
8
|
-
waiting:
|
|
9
|
-
},
|
|
6
|
+
failed: n,
|
|
7
|
+
empty: o,
|
|
8
|
+
waiting: m
|
|
9
|
+
}, d = ({ status: s, text: a }) => /* @__PURE__ */ i.jsx(
|
|
10
10
|
"div",
|
|
11
11
|
{
|
|
12
12
|
"data-testid": "status-tag",
|
|
13
|
-
className:
|
|
13
|
+
className: e(
|
|
14
14
|
t.tag,
|
|
15
15
|
{
|
|
16
16
|
[t[s]]: s
|
|
@@ -20,5 +20,5 @@ import '../../StatusTag.css';const i = "_tag_14l4s_1", _ = "_success_14l4s_11",
|
|
|
20
20
|
}
|
|
21
21
|
);
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
d as default
|
|
24
24
|
};
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import { j as n } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import r from "../Loading/Loading.js";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as o } from "../../index-BHf7G3IG.js";
|
|
4
4
|
import { AppAndServicesStatusApperenceType as g } from "../../enums/appearance.js";
|
|
5
|
-
import '../../StatusTypography.css';const
|
|
6
|
-
wrapper:
|
|
7
|
-
statusSubText:
|
|
8
|
-
spinContainer:
|
|
9
|
-
postfixSpinner:
|
|
10
|
-
spinner:
|
|
11
|
-
warning:
|
|
5
|
+
import '../../StatusTypography.css';const x = "_wrapper_bso71_2", f = "_statusSubText_bso71_2", b = "_spinContainer_bso71_2", y = "_postfixSpinner_bso71_2", N = "_spinner_bso71_2", j = "_warning_bso71_2", u = "_danger_bso71_2", w = "_success_bso71_2", m = "_initializing_bso71_2", z = "_pending_bso71_2", h = "_failed_bso71_2", T = "_queued_bso71_2", q = "_passed_bso71_2", i = {
|
|
6
|
+
wrapper: x,
|
|
7
|
+
statusSubText: f,
|
|
8
|
+
spinContainer: b,
|
|
9
|
+
postfixSpinner: y,
|
|
10
|
+
spinner: N,
|
|
11
|
+
warning: j,
|
|
12
12
|
danger: u,
|
|
13
13
|
success: w,
|
|
14
14
|
initializing: m,
|
|
15
15
|
pending: z,
|
|
16
16
|
failed: h,
|
|
17
17
|
queued: T,
|
|
18
|
-
passed:
|
|
18
|
+
passed: q
|
|
19
19
|
};
|
|
20
|
-
var
|
|
21
|
-
const k = (
|
|
20
|
+
var p = /* @__PURE__ */ ((s) => (s.addons_initializing = "initializing", s.addons_initialization_failed = "failed", s.deploying = "warning", s.failed = "failed", s.deployed = "success", s.completed = "success", s.initializing = "initializing", s.initialization_failed = "failed", s.queueing = "warning", s.queued = "queued", s.pending = "pending", s.passed = "passed", s))(p || {});
|
|
21
|
+
const k = (s) => {
|
|
22
22
|
const {
|
|
23
|
-
text:
|
|
23
|
+
text: t,
|
|
24
24
|
type: c = g.ADDONS_INITIALIZING,
|
|
25
25
|
extra: l,
|
|
26
|
-
spin:
|
|
26
|
+
spin: e,
|
|
27
27
|
condition: _,
|
|
28
28
|
spinnerLocation: d = "back"
|
|
29
|
-
} =
|
|
30
|
-
return /* @__PURE__ */ n.jsx("p", { "data-testid": "statustypography", className:
|
|
29
|
+
} = s, a = t && t.replace(/\_/g, " ");
|
|
30
|
+
return /* @__PURE__ */ n.jsx("p", { "data-testid": "statustypography", className: o(i.wrapper, [i[p[c]]]), children: _ ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
31
31
|
/* @__PURE__ */ n.jsxs("span", { className: i.spinContainer, children: [
|
|
32
|
-
|
|
32
|
+
e && d === "front" && /* @__PURE__ */ n.jsx(r, { className: o(i.spinner), layer: !1 }),
|
|
33
33
|
a,
|
|
34
|
-
|
|
34
|
+
e && d === "back" && /* @__PURE__ */ n.jsx(
|
|
35
35
|
r,
|
|
36
36
|
{
|
|
37
|
-
className:
|
|
37
|
+
className: o(i.spinner, i.postfixSpinner),
|
|
38
38
|
layer: !1
|
|
39
39
|
}
|
|
40
40
|
)
|
|
41
41
|
] }),
|
|
42
42
|
/* @__PURE__ */ n.jsx("p", { className: i.statusSubText, children: l })
|
|
43
|
-
] }) :
|
|
43
|
+
] }) : p[c] === "warning" && e ? /* @__PURE__ */ n.jsxs("span", { className: i.spinContainer, children: [
|
|
44
44
|
/* @__PURE__ */ n.jsx(r, { className: i.spinner, layer: !1 }),
|
|
45
45
|
a
|
|
46
46
|
] }) : /* @__PURE__ */ n.jsx("span", { className: i.spinContainer, children: a }) });
|
|
47
47
|
};
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
p as StatusEnum,
|
|
50
50
|
k as default
|
|
51
51
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { Icons as
|
|
5
|
-
import '../../Stepper.css';const
|
|
6
|
-
container:
|
|
7
|
-
complete:
|
|
8
|
-
active:
|
|
9
|
-
},
|
|
4
|
+
import { Icons as z } from "../../assets/icons/icons.js";
|
|
5
|
+
import '../../Stepper.css';const C = "_container_b20ez_2", N = "_complete_b20ez_2", g = "_active_b20ez_2", i = {
|
|
6
|
+
container: C,
|
|
7
|
+
complete: N,
|
|
8
|
+
active: g
|
|
9
|
+
}, w = (l) => {
|
|
10
10
|
let s = !0;
|
|
11
11
|
const {
|
|
12
12
|
items: _,
|
|
@@ -19,9 +19,9 @@ import '../../Stepper.css';const N = "_container_15acq_1", g = "_complete_15acq_
|
|
|
19
19
|
"a",
|
|
20
20
|
{
|
|
21
21
|
href: `#step-${e}`,
|
|
22
|
-
onClick: (
|
|
22
|
+
onClick: (n) => d && d(e, n),
|
|
23
23
|
children: [
|
|
24
|
-
r || (p > e ? /* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(x, { name:
|
|
24
|
+
r || (p > e ? /* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(x, { name: z.Check }) }) : /* @__PURE__ */ t.jsx("span", { children: e + 1 })),
|
|
25
25
|
c
|
|
26
26
|
]
|
|
27
27
|
}
|
|
@@ -36,14 +36,14 @@ import '../../Stepper.css';const N = "_container_15acq_1", g = "_complete_15acq_
|
|
|
36
36
|
title: e,
|
|
37
37
|
customIndexItem: c,
|
|
38
38
|
activeClass: r,
|
|
39
|
-
completeClass:
|
|
40
|
-
to:
|
|
39
|
+
completeClass: n,
|
|
40
|
+
to: b,
|
|
41
41
|
skip: h
|
|
42
|
-
},
|
|
42
|
+
}, a) => {
|
|
43
43
|
if (h)
|
|
44
44
|
return null;
|
|
45
45
|
m && (s = !0);
|
|
46
|
-
const o =
|
|
46
|
+
const o = a === p;
|
|
47
47
|
return !m && o && (s = !1), /* @__PURE__ */ t.jsx(
|
|
48
48
|
"li",
|
|
49
49
|
{
|
|
@@ -52,18 +52,18 @@ import '../../Stepper.css';const N = "_container_15acq_1", g = "_complete_15acq_
|
|
|
52
52
|
[i.active]: o,
|
|
53
53
|
[i.complete]: s,
|
|
54
54
|
[r]: o,
|
|
55
|
-
[
|
|
55
|
+
[n]: s
|
|
56
56
|
}),
|
|
57
57
|
children: f ? f({
|
|
58
58
|
title: e,
|
|
59
59
|
customIndexItem: c,
|
|
60
60
|
activeClass: r,
|
|
61
|
-
completeClass:
|
|
62
|
-
to:
|
|
61
|
+
completeClass: n,
|
|
62
|
+
to: b,
|
|
63
63
|
skip: h
|
|
64
|
-
}, l) : v({ index:
|
|
64
|
+
}, l) : v({ index: a, title: e, customIndexItem: c })
|
|
65
65
|
},
|
|
66
|
-
`stepper-item-${
|
|
66
|
+
`stepper-item-${a}`
|
|
67
67
|
);
|
|
68
68
|
}
|
|
69
69
|
) })
|
|
@@ -71,5 +71,5 @@ import '../../Stepper.css';const N = "_container_15acq_1", g = "_complete_15acq_
|
|
|
71
71
|
);
|
|
72
72
|
};
|
|
73
73
|
export {
|
|
74
|
-
|
|
74
|
+
w as default
|
|
75
75
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import
|
|
3
|
-
import { c as
|
|
2
|
+
import k, { useState as u, useEffect as j } from "react";
|
|
3
|
+
import { c as l } from "../../index-BHf7G3IG.js";
|
|
4
4
|
import N from "../Label/Label.js";
|
|
5
5
|
import { Size as y } from "../../enums/size.js";
|
|
6
6
|
import { u as b } from "../../useTranslation-CnCPcxVj.js";
|
|
7
|
-
import '../../Switch.css';const S = "
|
|
8
|
-
switch: "
|
|
7
|
+
import '../../Switch.css';const S = "_checked_1j9lv_2", O = "_disabled_1j9lv_2", R = "_switch__small_1j9lv_2", g = "_slider_1j9lv_2", C = "_active_1j9lv_2", E = "_passive_1j9lv_2", F = "_switch__large_1j9lv_2", L = "_round_1j9lv_2", t = {
|
|
8
|
+
switch: "_switch_1j9lv_2",
|
|
9
9
|
checked: S,
|
|
10
10
|
disabled: O,
|
|
11
11
|
switch__small: R,
|
|
@@ -14,41 +14,41 @@ import '../../Switch.css';const S = "_checked_5793j_14", O = "_disabled_5793j_17
|
|
|
14
14
|
passive: E,
|
|
15
15
|
switch__large: F,
|
|
16
16
|
round: L
|
|
17
|
-
}, B =
|
|
17
|
+
}, B = k.forwardRef(
|
|
18
18
|
({
|
|
19
19
|
name: a,
|
|
20
|
-
label:
|
|
20
|
+
label: d,
|
|
21
21
|
className: p,
|
|
22
22
|
isDisabled: i,
|
|
23
23
|
value: c,
|
|
24
|
-
onChange:
|
|
25
|
-
onLabelClick:
|
|
26
|
-
checkedChildren:
|
|
27
|
-
size:
|
|
28
|
-
unCheckedChildren:
|
|
24
|
+
onChange: r,
|
|
25
|
+
onLabelClick: o,
|
|
26
|
+
checkedChildren: v,
|
|
27
|
+
size: n = y.SM,
|
|
28
|
+
unCheckedChildren: f,
|
|
29
29
|
..._
|
|
30
|
-
},
|
|
31
|
-
const [s, h] =
|
|
30
|
+
}, w) => {
|
|
31
|
+
const [s, h] = u(c), { t: m } = b();
|
|
32
32
|
j(() => {
|
|
33
|
-
!_.readOnly && !i && c !== void 0 &&
|
|
33
|
+
!_.readOnly && !i && c !== void 0 && r && r(s);
|
|
34
34
|
}, [s, c]), j(() => {
|
|
35
35
|
c && h(c);
|
|
36
36
|
}, [c]);
|
|
37
|
-
const
|
|
38
|
-
!i && !_.readOnly && h(!s), !i &&
|
|
37
|
+
const x = () => {
|
|
38
|
+
!i && !_.readOnly && h(!s), !i && o && o(!s);
|
|
39
39
|
};
|
|
40
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
41
|
-
|
|
40
|
+
return /* @__PURE__ */ e.jsxs("div", { className: l(t.container, p), "data-testid": "switch-container", children: [
|
|
41
|
+
d && /* @__PURE__ */ e.jsx(N, { name: a, children: d }),
|
|
42
42
|
/* @__PURE__ */ e.jsx("div", { className: t.block, children: /* @__PURE__ */ e.jsxs(
|
|
43
43
|
"label",
|
|
44
44
|
{
|
|
45
|
-
className:
|
|
45
|
+
className: l(t.switch, {
|
|
46
46
|
[t.checked]: s,
|
|
47
47
|
[t.disabled]: i,
|
|
48
|
-
[t[`switch__${
|
|
48
|
+
[t[`switch__${n}`]]: n
|
|
49
49
|
}),
|
|
50
50
|
htmlFor: a,
|
|
51
|
-
onClick: () =>
|
|
51
|
+
onClick: () => x(),
|
|
52
52
|
children: [
|
|
53
53
|
/* @__PURE__ */ e.jsx(
|
|
54
54
|
"input",
|
|
@@ -57,7 +57,7 @@ import '../../Switch.css';const S = "_checked_5793j_14", O = "_disabled_5793j_17
|
|
|
57
57
|
name: a,
|
|
58
58
|
value: c,
|
|
59
59
|
"data-testid": "switch-input",
|
|
60
|
-
ref:
|
|
60
|
+
ref: w,
|
|
61
61
|
checked: s,
|
|
62
62
|
readOnly: !0,
|
|
63
63
|
..._
|
|
@@ -66,11 +66,11 @@ import '../../Switch.css';const S = "_checked_5793j_14", O = "_disabled_5793j_17
|
|
|
66
66
|
/* @__PURE__ */ e.jsx("span", { className: t.slider, children: /* @__PURE__ */ e.jsx(
|
|
67
67
|
"span",
|
|
68
68
|
{
|
|
69
|
-
className:
|
|
69
|
+
className: l({
|
|
70
70
|
[t.active]: s,
|
|
71
71
|
[t.passive]: !s
|
|
72
72
|
}),
|
|
73
|
-
children: s ?
|
|
73
|
+
children: s ? v || m("text.active") : f || m("text.passive")
|
|
74
74
|
}
|
|
75
75
|
) })
|
|
76
76
|
]
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { j as t } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import { c as r } from "../../index-BHf7G3IG.js";
|
|
3
|
-
import '../../Tab.css';const o = "
|
|
3
|
+
import '../../Tab.css';const o = "_tabContainer_ks20u_2", d = "_titleWrapper_ks20u_2", p = "_title_ks20u_2", _ = "_isActive_ks20u_2", e = {
|
|
4
4
|
tabContainer: o,
|
|
5
5
|
titleWrapper: d,
|
|
6
6
|
title: p,
|
|
7
7
|
isActive: _
|
|
8
8
|
};
|
|
9
|
-
function
|
|
10
|
-
return /* @__PURE__ */ t.jsx("div", { className: e.tabContainer, "data-testid": "tab-container", children:
|
|
11
|
-
const n =
|
|
9
|
+
function b({ items: l, selected: c, onChange: s }) {
|
|
10
|
+
return /* @__PURE__ */ t.jsx("div", { className: e.tabContainer, "data-testid": "tab-container", children: l.map((a, i) => {
|
|
11
|
+
const n = c == i;
|
|
12
12
|
return /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx(
|
|
13
13
|
"div",
|
|
14
14
|
{
|
|
15
15
|
"data-testid": "tab-item",
|
|
16
|
-
onClick: () =>
|
|
16
|
+
onClick: () => s && s(i),
|
|
17
17
|
className: r(e.titleWrapper, {
|
|
18
18
|
[e.isActive]: n
|
|
19
19
|
}),
|
|
20
|
-
children: /* @__PURE__ */ t.jsx("div", { title:
|
|
20
|
+
children: /* @__PURE__ */ t.jsx("div", { title: a.title, className: r(e.title), "data-testid": "tab-title", children: a.title })
|
|
21
21
|
},
|
|
22
22
|
i
|
|
23
23
|
) });
|
|
24
24
|
}) });
|
|
25
25
|
}
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
b as default
|
|
28
28
|
};
|
|
@@ -2,7 +2,7 @@ import { j as s } from "../../jsx-runtime-BcAkpsdy.js";
|
|
|
2
2
|
import { useState as Z, useEffect as I } from "react";
|
|
3
3
|
import ee from "../NoResult/NoResult.js";
|
|
4
4
|
import { c as j } from "../../index-BHf7G3IG.js";
|
|
5
|
-
import { s as c } from "../../Table.module-
|
|
5
|
+
import { s as c } from "../../Table.module-vUNIKXwV.js";
|
|
6
6
|
import { ThemeAppearance as T, AppearanceSpinner as $ } from "../../enums/appearance.js";
|
|
7
7
|
import A from "../Checkbox/Checkbox.js";
|
|
8
8
|
import te from "../Loading/Loading.js";
|
|
@@ -12,7 +12,7 @@ import ae from "./TableSort.js";
|
|
|
12
12
|
import { i as u } from "../../includes-8YTFrx85.js";
|
|
13
13
|
import { _ as D, k as se } from "../../keys-B0bo5Q7o.js";
|
|
14
14
|
import { _ as R, a as ne, b as ie } from "../../_reduce-DsUCMz4O.js";
|
|
15
|
-
import { _ as le } from "../../Select-
|
|
15
|
+
import { _ as le } from "../../Select-BGHusr4q.js";
|
|
16
16
|
function de(i, t) {
|
|
17
17
|
for (var a = 0, l = t.length, h = []; a < l; )
|
|
18
18
|
i(t[a]) && (h[h.length] = t[a]), a += 1;
|