@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,9 +1,9 @@
|
|
|
1
1
|
import { j as s } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import N, { useState as L, useEffect as V } from "react";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as i } from "../../index-BHf7G3IG.js";
|
|
4
4
|
import q from "../Label/Label.js";
|
|
5
5
|
import D from "../ValidationError/ValidationError.js";
|
|
6
|
-
import '../../Input.css';const P = "
|
|
6
|
+
import '../../Input.css';const P = "_counter_1xdx7_2", B = "_container_1xdx7_2", H = "_fieldWrap_1xdx7_2", J = "_control_1xdx7_2", K = "_light_1xdx7_2", M = "_disabled_1xdx7_2", O = "_more_dark_1xdx7_2", Q = "_radius_1xdx7_2", U = "_suffix_1xdx7_2", X = "_error_1xdx7_2", Y = "_suffixWrap_1xdx7_2", Z = "_prefixWrap_1xdx7_2", ee = "_prefix_1xdx7_2", re = "_suffixClickable_1xdx7_2", se = "_inputGroup_1xdx7_2", ae = "_addonAfter_1xdx7_2", e = {
|
|
7
7
|
counter: P,
|
|
8
8
|
container: B,
|
|
9
9
|
fieldWrap: H,
|
|
@@ -20,25 +20,25 @@ import '../../Input.css';const P = "_counter_12ffn_1", B = "_container_12ffn_10"
|
|
|
20
20
|
suffixClickable: re,
|
|
21
21
|
inputGroup: se,
|
|
22
22
|
addonAfter: ae
|
|
23
|
-
},
|
|
23
|
+
}, te = N.forwardRef(
|
|
24
24
|
(g, j) => {
|
|
25
25
|
const {
|
|
26
26
|
name: b,
|
|
27
27
|
label: h,
|
|
28
28
|
id: k,
|
|
29
29
|
type: a = "text",
|
|
30
|
-
prefix:
|
|
31
|
-
suffix:
|
|
30
|
+
prefix: l,
|
|
31
|
+
suffix: d,
|
|
32
32
|
size: C,
|
|
33
|
-
maxLength:
|
|
33
|
+
maxLength: n,
|
|
34
34
|
isDisabled: c,
|
|
35
|
-
error:
|
|
36
|
-
appearance:
|
|
35
|
+
error: x,
|
|
36
|
+
appearance: f,
|
|
37
37
|
className: v,
|
|
38
38
|
wrapperClassName: y,
|
|
39
39
|
fieldWrapClassName: A,
|
|
40
|
-
addonAfter:
|
|
41
|
-
value:
|
|
40
|
+
addonAfter: u,
|
|
41
|
+
value: t = "",
|
|
42
42
|
onChange: W,
|
|
43
43
|
required: G,
|
|
44
44
|
isRadius: $,
|
|
@@ -46,23 +46,23 @@ import '../../Input.css';const P = "_counter_12ffn_1", B = "_container_12ffn_10"
|
|
|
46
46
|
suffixClickable: R,
|
|
47
47
|
isFormGroup: S = !0,
|
|
48
48
|
...T
|
|
49
|
-
} = g, [
|
|
49
|
+
} = g, [p, _] = L(t), m = (r) => {
|
|
50
50
|
var o;
|
|
51
|
-
return (o = r == null ? void 0 : r.toString()) == null ? void 0 : o.slice(0,
|
|
51
|
+
return (o = r == null ? void 0 : r.toString()) == null ? void 0 : o.slice(0, n);
|
|
52
52
|
}, w = N.useCallback(
|
|
53
53
|
(r) => {
|
|
54
|
-
|
|
54
|
+
_(m(r.currentTarget.value)), W && W(r, m(r.currentTarget.value));
|
|
55
55
|
},
|
|
56
|
-
[
|
|
56
|
+
[n, _]
|
|
57
57
|
), E = (r, o) => {
|
|
58
58
|
o == "number" && r.currentTarget.blur();
|
|
59
59
|
};
|
|
60
60
|
V(() => {
|
|
61
|
-
|
|
62
|
-
}, [
|
|
61
|
+
t != null && _(m(t));
|
|
62
|
+
}, [t]);
|
|
63
63
|
const z = {
|
|
64
64
|
[e[`type__${a}`]]: a !== "text"
|
|
65
|
-
}, I =
|
|
65
|
+
}, I = i(
|
|
66
66
|
{
|
|
67
67
|
"form-group": S,
|
|
68
68
|
[e[`size__${C}`]]: C,
|
|
@@ -75,39 +75,39 @@ import '../../Input.css';const P = "_counter_12ffn_1", B = "_container_12ffn_10"
|
|
|
75
75
|
/* @__PURE__ */ s.jsxs(
|
|
76
76
|
"div",
|
|
77
77
|
{
|
|
78
|
-
className:
|
|
79
|
-
[e[`${
|
|
78
|
+
className: i(e.container, {
|
|
79
|
+
[e[`${f}`]]: f,
|
|
80
80
|
[e.radius]: $,
|
|
81
|
-
[e.inputGroup]:
|
|
82
|
-
[e.error]:
|
|
81
|
+
[e.inputGroup]: u,
|
|
82
|
+
[e.error]: x,
|
|
83
83
|
[e.disabled]: c,
|
|
84
|
-
[e.suffixWrap]:
|
|
85
|
-
[e.prefixWrap]:
|
|
84
|
+
[e.suffixWrap]: d,
|
|
85
|
+
[e.prefixWrap]: l
|
|
86
86
|
}),
|
|
87
87
|
children: [
|
|
88
88
|
/* @__PURE__ */ s.jsxs("div", { className: e.counter, children: [
|
|
89
|
-
h && /* @__PURE__ */ s.jsxs(q, { appearance:
|
|
89
|
+
h && /* @__PURE__ */ s.jsxs(q, { appearance: f, name: b, children: [
|
|
90
90
|
h,
|
|
91
91
|
" ",
|
|
92
92
|
G && "*"
|
|
93
93
|
] }),
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
n && /* @__PURE__ */ s.jsxs("span", { children: [
|
|
95
|
+
p ? p.toString().length : 0,
|
|
96
96
|
"/",
|
|
97
|
-
|
|
97
|
+
n
|
|
98
98
|
] })
|
|
99
99
|
] }),
|
|
100
|
-
/* @__PURE__ */ s.jsxs("div", { className:
|
|
101
|
-
|
|
100
|
+
/* @__PURE__ */ s.jsxs("div", { className: i(e.fieldWrap, A), children: [
|
|
101
|
+
l && /* @__PURE__ */ s.jsx("span", { className: e.prefix, children: l }),
|
|
102
102
|
/* @__PURE__ */ s.jsx(
|
|
103
103
|
"input",
|
|
104
104
|
{
|
|
105
105
|
type: a,
|
|
106
106
|
name: b,
|
|
107
107
|
id: k,
|
|
108
|
-
value:
|
|
108
|
+
value: p,
|
|
109
109
|
"data-testid": `input-${a}`,
|
|
110
|
-
className:
|
|
110
|
+
className: i(e.control, z, v),
|
|
111
111
|
disabled: c,
|
|
112
112
|
ref: j,
|
|
113
113
|
onWheel: (r) => E(r, a),
|
|
@@ -116,25 +116,25 @@ import '../../Input.css';const P = "_counter_12ffn_1", B = "_container_12ffn_10"
|
|
|
116
116
|
style: { WebkitTextFillColor: F }
|
|
117
117
|
}
|
|
118
118
|
),
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
u && /* @__PURE__ */ s.jsx("span", { className: e.addonAfter, children: u }),
|
|
120
|
+
d && /* @__PURE__ */ s.jsx(
|
|
121
121
|
"span",
|
|
122
122
|
{
|
|
123
|
-
className:
|
|
123
|
+
className: i(e.suffix, {
|
|
124
124
|
[e.suffixClickable]: R
|
|
125
125
|
}),
|
|
126
|
-
children:
|
|
126
|
+
children: d
|
|
127
127
|
}
|
|
128
128
|
)
|
|
129
129
|
] })
|
|
130
130
|
]
|
|
131
131
|
}
|
|
132
132
|
),
|
|
133
|
-
|
|
133
|
+
x && /* @__PURE__ */ s.jsx(D, { ...x })
|
|
134
134
|
] });
|
|
135
135
|
}
|
|
136
136
|
);
|
|
137
|
-
|
|
137
|
+
te.displayName = "Input";
|
|
138
138
|
export {
|
|
139
|
-
|
|
139
|
+
te as default
|
|
140
140
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { c
|
|
3
|
-
import '../../Label.css';const
|
|
4
|
-
label:
|
|
5
|
-
light:
|
|
1
|
+
import { j as o } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
+
import { c } from "../../index-BHf7G3IG.js";
|
|
3
|
+
import '../../Label.css';const r = "_label_4ixkm_2", i = "_light_4ixkm_2", l = {
|
|
4
|
+
label: r,
|
|
5
|
+
light: i
|
|
6
6
|
}, p = (s) => {
|
|
7
|
-
const { name: e, children: t, className:
|
|
8
|
-
return /* @__PURE__ */
|
|
7
|
+
const { name: e, children: t, className: m, appearance: a } = s;
|
|
8
|
+
return /* @__PURE__ */ o.jsx(
|
|
9
9
|
"label",
|
|
10
10
|
{
|
|
11
11
|
"data-testid": "label",
|
|
12
12
|
htmlFor: e,
|
|
13
|
-
className:
|
|
13
|
+
className: c(l.label, m, {
|
|
14
14
|
[l[`${a}`]]: a
|
|
15
15
|
}),
|
|
16
16
|
children: t
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { j as c } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { c as
|
|
3
|
-
import '../../Loading.css';const t = "
|
|
2
|
+
import { c as e } from "../../index-BHf7G3IG.js";
|
|
3
|
+
import '../../Loading.css';const t = "_layer_uipj5_2", o = "_light_uipj5_2", n = "_skChild_uipj5_2", u = "_dark_uipj5_2", d = "_darkFull_uipj5_2", j = "_skCircle_uipj5_2", a = "_skcircleBounceDelay_uipj5_1", p = "_skCircle2_uipj5_2", h = "_skCircle3_uipj5_2", m = "_skCircle4_uipj5_2", y = "_skCircle5_uipj5_2", x = "_skCircle6_uipj5_2", g = "_skCircle7_uipj5_2", f = "_skCircle8_uipj5_2", N = "_skCircle9_uipj5_2", $ = "_skCircle10_uipj5_2", v = "_skCircle11_uipj5_2", B = "_skCircle12_uipj5_2", s = {
|
|
4
4
|
layer: t,
|
|
5
5
|
light: o,
|
|
6
6
|
skChild: n,
|
|
7
|
-
dark:
|
|
7
|
+
dark: u,
|
|
8
8
|
darkFull: d,
|
|
9
|
-
skCircle:
|
|
10
|
-
skcircleBounceDelay:
|
|
11
|
-
skCircle2:
|
|
12
|
-
skCircle3:
|
|
13
|
-
skCircle4:
|
|
14
|
-
skCircle5:
|
|
15
|
-
skCircle6:
|
|
16
|
-
skCircle7:
|
|
17
|
-
skCircle8:
|
|
18
|
-
skCircle9:
|
|
19
|
-
skCircle10:
|
|
20
|
-
skCircle11:
|
|
21
|
-
skCircle12:
|
|
22
|
-
},
|
|
9
|
+
skCircle: j,
|
|
10
|
+
skcircleBounceDelay: a,
|
|
11
|
+
skCircle2: p,
|
|
12
|
+
skCircle3: h,
|
|
13
|
+
skCircle4: m,
|
|
14
|
+
skCircle5: y,
|
|
15
|
+
skCircle6: x,
|
|
16
|
+
skCircle7: g,
|
|
17
|
+
skCircle8: f,
|
|
18
|
+
skCircle9: N,
|
|
19
|
+
skCircle10: $,
|
|
20
|
+
skCircle11: v,
|
|
21
|
+
skCircle12: B
|
|
22
|
+
}, b = ({
|
|
23
23
|
className: _,
|
|
24
|
-
appearance:
|
|
24
|
+
appearance: i,
|
|
25
25
|
layer: k = !0,
|
|
26
26
|
wrapperClass: C
|
|
27
27
|
}) => {
|
|
@@ -31,7 +31,7 @@ import '../../Loading.css';const t = "_layer_118em_1", o = "_light_118em_12", n
|
|
|
31
31
|
/* @__PURE__ */ c.jsx(
|
|
32
32
|
"div",
|
|
33
33
|
{
|
|
34
|
-
className:
|
|
34
|
+
className: e(s.skChild, s[`skCircle${l}`])
|
|
35
35
|
},
|
|
36
36
|
`loading-${l}`
|
|
37
37
|
)
|
|
@@ -40,16 +40,16 @@ import '../../Loading.css';const t = "_layer_118em_1", o = "_light_118em_12", n
|
|
|
40
40
|
"div",
|
|
41
41
|
{
|
|
42
42
|
"data-testid": "loading",
|
|
43
|
-
className:
|
|
44
|
-
"d-inline-block": !
|
|
43
|
+
className: e(C, {
|
|
44
|
+
"d-inline-block": !i,
|
|
45
45
|
[s.layer]: k,
|
|
46
|
-
[s[`${
|
|
46
|
+
[s[`${i}`]]: i
|
|
47
47
|
}),
|
|
48
48
|
children: /* @__PURE__ */ c.jsx(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
|
-
className:
|
|
52
|
-
[s[`${
|
|
51
|
+
className: e(_, s.skCircle, {
|
|
52
|
+
[s[`${i}`]]: i
|
|
53
53
|
}),
|
|
54
54
|
children: r
|
|
55
55
|
}
|
|
@@ -58,5 +58,5 @@ import '../../Loading.css';const t = "_layer_118em_1", o = "_light_118em_12", n
|
|
|
58
58
|
);
|
|
59
59
|
};
|
|
60
60
|
export {
|
|
61
|
-
|
|
61
|
+
b as default
|
|
62
62
|
};
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { useEffect as
|
|
2
|
+
import { useEffect as u } from "react";
|
|
3
3
|
import { c as s } from "../../index-BHf7G3IG.js";
|
|
4
4
|
import { Icons as N } from "../../assets/icons/icons.js";
|
|
5
5
|
import b from "../Icon/index.js";
|
|
6
|
-
import '../../Modal.css';const f = "
|
|
6
|
+
import '../../Modal.css';const f = "_overlay_eg6v8_2", C = "_modal_eg6v8_2", w = "_content_eg6v8_2", k = "_header_eg6v8_2", E = "_close_eg6v8_2", S = "_body_eg6v8_2", F = "_desc_eg6v8_2", B = "_modal__light_eg6v8_2", o = {
|
|
7
7
|
overlay: f,
|
|
8
|
-
modal:
|
|
9
|
-
content:
|
|
8
|
+
modal: C,
|
|
9
|
+
content: w,
|
|
10
10
|
header: k,
|
|
11
11
|
close: E,
|
|
12
12
|
body: S,
|
|
13
13
|
desc: F,
|
|
14
14
|
modal__light: B
|
|
15
|
-
}, K = (
|
|
15
|
+
}, K = (m) => {
|
|
16
16
|
const {
|
|
17
|
-
children:
|
|
17
|
+
children: i,
|
|
18
18
|
header: a,
|
|
19
19
|
title: t,
|
|
20
20
|
description: d,
|
|
21
|
-
className:
|
|
22
|
-
onClose:
|
|
21
|
+
className: _,
|
|
22
|
+
onClose: v,
|
|
23
23
|
showClose: h = !0,
|
|
24
24
|
visible: c = !0,
|
|
25
25
|
appearance: l,
|
|
26
|
-
headerClass:
|
|
27
|
-
descriptionClass:
|
|
28
|
-
} =
|
|
26
|
+
headerClass: y,
|
|
27
|
+
descriptionClass: g
|
|
28
|
+
} = m, x = () => {
|
|
29
29
|
document.body.style.width = "calc(100% - 15px)", document.body.className = "overflow-hidden";
|
|
30
|
-
},
|
|
30
|
+
}, p = () => {
|
|
31
31
|
document.body.className = "", document.body.removeAttribute("style");
|
|
32
32
|
}, n = () => {
|
|
33
|
-
|
|
33
|
+
v();
|
|
34
34
|
};
|
|
35
|
-
return
|
|
36
|
-
const r = (
|
|
37
|
-
|
|
35
|
+
return u(() => {
|
|
36
|
+
const r = (j) => {
|
|
37
|
+
j.key === "Escape" && n();
|
|
38
38
|
};
|
|
39
|
-
return document.addEventListener("keydown", r), c &&
|
|
40
|
-
|
|
39
|
+
return document.addEventListener("keydown", r), c && x(), () => {
|
|
40
|
+
p(), document.removeEventListener("keydown", r);
|
|
41
41
|
};
|
|
42
42
|
}, [c]), /* @__PURE__ */ e.jsx(e.Fragment, { children: c && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
43
43
|
/* @__PURE__ */ e.jsx(
|
|
@@ -55,14 +55,14 @@ import '../../Modal.css';const f = "_overlay_yit4w_1", g = "_modal_yit4w_10", C
|
|
|
55
55
|
[o[`modal__${l}`]]: l
|
|
56
56
|
}),
|
|
57
57
|
"data-testid": "modal-container",
|
|
58
|
-
children: /* @__PURE__ */ e.jsxs("div", { className: s(
|
|
59
|
-
t || a ? /* @__PURE__ */ e.jsxs("div", { className: s(o.header,
|
|
58
|
+
children: /* @__PURE__ */ e.jsxs("div", { className: s(_, o.content), children: [
|
|
59
|
+
t || a ? /* @__PURE__ */ e.jsxs("div", { className: s(o.header, y), children: [
|
|
60
60
|
t ? /* @__PURE__ */ e.jsx("h2", { children: t }) : a,
|
|
61
61
|
h && /* @__PURE__ */ e.jsx("span", { className: o.close, onClick: n, children: /* @__PURE__ */ e.jsx(b, { name: N.Close }) })
|
|
62
62
|
] }) : /* @__PURE__ */ e.jsx(e.Fragment, {}),
|
|
63
63
|
/* @__PURE__ */ e.jsxs("div", { className: o.body, children: [
|
|
64
|
-
d && /* @__PURE__ */ e.jsx("p", { className: s(o.desc,
|
|
65
|
-
|
|
64
|
+
d && /* @__PURE__ */ e.jsx("p", { className: s(o.desc, g), children: d }),
|
|
65
|
+
i
|
|
66
66
|
] })
|
|
67
67
|
] })
|
|
68
68
|
}
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import { j as t } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import m from "../Icon/index.js";
|
|
3
3
|
import x from "../InfoDate/InfoDate.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { Icons as
|
|
7
|
-
import { c as
|
|
8
|
-
import { u } from "../../useTranslation-CnCPcxVj.js";
|
|
9
|
-
import '../../index2.css';const
|
|
10
|
-
wrapper:
|
|
4
|
+
import u from "../PermaLink/PermaLink.js";
|
|
5
|
+
import _ from "../Tooltip/Tooltip.js";
|
|
6
|
+
import { Icons as h } from "../../assets/icons/icons.js";
|
|
7
|
+
import { c as j } from "../../index-BHf7G3IG.js";
|
|
8
|
+
import { u as f } from "../../useTranslation-CnCPcxVj.js";
|
|
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 = {
|
|
10
|
+
wrapper: v,
|
|
11
11
|
content: N,
|
|
12
|
-
iconWrapper:
|
|
13
|
-
titleGroup:
|
|
14
|
-
title:
|
|
15
|
-
textGroup:
|
|
16
|
-
footer:
|
|
12
|
+
iconWrapper: b,
|
|
13
|
+
titleGroup: G,
|
|
14
|
+
title: w,
|
|
15
|
+
textGroup: C,
|
|
16
|
+
footer: W
|
|
17
17
|
}, E = (c) => {
|
|
18
|
-
const { t:
|
|
19
|
-
id:
|
|
18
|
+
const { t: s } = f(), {
|
|
19
|
+
id: o,
|
|
20
20
|
to: l,
|
|
21
|
-
title:
|
|
21
|
+
title: r,
|
|
22
22
|
content: i,
|
|
23
|
-
icon:
|
|
24
|
-
iconClassName:
|
|
23
|
+
icon: d,
|
|
24
|
+
iconClassName: p,
|
|
25
25
|
serviceCount: n = 0,
|
|
26
26
|
appCount: a = 0
|
|
27
27
|
} = c;
|
|
28
|
-
return /* @__PURE__ */ t.jsx(
|
|
29
|
-
/* @__PURE__ */ t.jsx("div", { className:
|
|
28
|
+
return /* @__PURE__ */ t.jsx(u, { to: l, children: /* @__PURE__ */ t.jsxs("div", { className: e.wrapper, "data-testid": "navigatorcard", children: [
|
|
29
|
+
/* @__PURE__ */ t.jsx("div", { className: j(e.iconWrapper, p), children: d || /* @__PURE__ */ t.jsx(m, { name: h.Projects }) }),
|
|
30
30
|
/* @__PURE__ */ t.jsxs("div", { className: e.content, children: [
|
|
31
31
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
|
32
32
|
/* @__PURE__ */ t.jsx("div", { className: e.titleGroup, children: /* @__PURE__ */ t.jsx(
|
|
33
|
-
|
|
33
|
+
_,
|
|
34
34
|
{
|
|
35
|
-
id: `title-${
|
|
35
|
+
id: `title-${o}`,
|
|
36
36
|
className: "width90",
|
|
37
|
-
tooltipContent:
|
|
37
|
+
tooltipContent: r,
|
|
38
38
|
ellipsis: !0,
|
|
39
39
|
children: /* @__PURE__ */ t.jsxs("h2", { className: e.title, children: [
|
|
40
40
|
" ",
|
|
41
|
-
|
|
41
|
+
r
|
|
42
42
|
] })
|
|
43
43
|
}
|
|
44
44
|
) }),
|
|
45
45
|
/* @__PURE__ */ t.jsxs("div", { className: e.textGroup, hidden: !i, children: [
|
|
46
|
-
/* @__PURE__ */ t.jsx("span", { children:
|
|
46
|
+
/* @__PURE__ */ t.jsx("span", { children: s("label.date_created") }),
|
|
47
47
|
/* @__PURE__ */ t.jsx(x, { date: i })
|
|
48
48
|
] })
|
|
49
49
|
] }),
|
|
50
50
|
/* @__PURE__ */ t.jsxs("div", { className: e.footer, children: [
|
|
51
|
-
/* @__PURE__ */ t.jsx("span", { hidden: !n, children:
|
|
52
|
-
/* @__PURE__ */ t.jsx("span", { hidden: !a, children:
|
|
51
|
+
/* @__PURE__ */ t.jsx("span", { hidden: !n, children: s("title.services") + " (" + n + ")" }),
|
|
52
|
+
/* @__PURE__ */ t.jsx("span", { hidden: !a, children: s("title.applications") + " (" + a + ")" })
|
|
53
53
|
] })
|
|
54
54
|
] })
|
|
55
|
-
] }) }, `link-${
|
|
55
|
+
] }) }, `link-${o}`);
|
|
56
56
|
};
|
|
57
57
|
export {
|
|
58
58
|
E as default
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { j as t } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { u as
|
|
3
|
-
import '../../NoResult.css';const
|
|
4
|
-
noResult:
|
|
2
|
+
import { u as e } from "../../useTranslation-CnCPcxVj.js";
|
|
3
|
+
import '../../NoResult.css';const r = "_noResult_udr5k_2", u = {
|
|
4
|
+
noResult: r
|
|
5
5
|
};
|
|
6
6
|
function i({ text: s }) {
|
|
7
|
-
const { t:
|
|
8
|
-
return /* @__PURE__ */ t.jsx("div", { "data-testid": "noresult", className:
|
|
7
|
+
const { t: n } = e(), o = s || n("text.no_results");
|
|
8
|
+
return /* @__PURE__ */ t.jsx("div", { "data-testid": "noresult", className: u.noResult, children: /* @__PURE__ */ t.jsx("span", { children: o }) });
|
|
9
9
|
}
|
|
10
10
|
export {
|
|
11
11
|
i as default
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import
|
|
2
|
+
import m from "../PermaLink/PermaLink.js";
|
|
3
3
|
import { c as u } from "../../index-BHf7G3IG.js";
|
|
4
4
|
import { u as p } from "../../useTranslation-CnCPcxVj.js";
|
|
5
|
-
import '../../PageWrap.css';const x = "
|
|
5
|
+
import '../../PageWrap.css';const x = "_breadcrumb_mkbfo_2", h = "_breadcrumbItem_mkbfo_2", j = "_pageContent_mkbfo_2", r = {
|
|
6
6
|
breadcrumb: x,
|
|
7
7
|
breadcrumbItem: h,
|
|
8
8
|
pageContent: j
|
|
9
|
-
}, v = (
|
|
10
|
-
const { children: c, breadcrumbs: d, className: b, defaultRoute:
|
|
9
|
+
}, v = (s) => {
|
|
10
|
+
const { children: c, breadcrumbs: d, className: b, defaultRoute: o = "/" } = s, { t: i } = p();
|
|
11
11
|
return /* @__PURE__ */ e.jsxs(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
@@ -20,17 +20,17 @@ import '../../PageWrap.css';const x = "_breadcrumb_rb55l_1", h = "_breadcrumbIte
|
|
|
20
20
|
{
|
|
21
21
|
"data-testid": "breadcrumb-item",
|
|
22
22
|
className: r.breadcrumbItem,
|
|
23
|
-
children: /* @__PURE__ */ e.jsx(
|
|
23
|
+
children: /* @__PURE__ */ e.jsx(m, { to: o, children: i("title.home") })
|
|
24
24
|
},
|
|
25
25
|
"breadcrumb-item-home"
|
|
26
26
|
),
|
|
27
27
|
d.map(
|
|
28
|
-
({ name: a, route: t, state:
|
|
28
|
+
({ name: a, route: t, state: n }, l) => /* @__PURE__ */ e.jsx(
|
|
29
29
|
"div",
|
|
30
30
|
{
|
|
31
31
|
"data-testid": "breadcrumb-item",
|
|
32
32
|
className: r.breadcrumbItem,
|
|
33
|
-
children: t ? /* @__PURE__ */ e.jsx(
|
|
33
|
+
children: t ? /* @__PURE__ */ e.jsx(m, { to: t, state: n, children: a }) : /* @__PURE__ */ e.jsx("a", { children: a })
|
|
34
34
|
},
|
|
35
35
|
`breadcrumb-item-${l}`
|
|
36
36
|
)
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { j as a } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { c as
|
|
2
|
+
import { useState as w, useEffect as m } from "react";
|
|
3
|
+
import { c as i } from "../../index-BHf7G3IG.js";
|
|
4
4
|
import { Icons as _ } from "../../assets/icons/icons.js";
|
|
5
|
-
import { ThemeAppearance as
|
|
5
|
+
import { ThemeAppearance as F } from "../../enums/appearance.js";
|
|
6
6
|
import f from "../Icon/index.js";
|
|
7
|
-
import '../../Pager.css';const
|
|
8
|
-
wrap:
|
|
9
|
-
pager:
|
|
10
|
-
disabled:
|
|
11
|
-
inputField:
|
|
12
|
-
totalPage:
|
|
13
|
-
currentPage:
|
|
14
|
-
dark:
|
|
7
|
+
import '../../Pager.css';const I = "_wrap_17ylr_2", D = "_pager_17ylr_2", H = "_disabled_17ylr_2", L = "_inputField_17ylr_2", R = "_totalPage_17ylr_2", S = "_currentPage_17ylr_2", E = "_dark_17ylr_2", t = {
|
|
8
|
+
wrap: I,
|
|
9
|
+
pager: D,
|
|
10
|
+
disabled: H,
|
|
11
|
+
inputField: L,
|
|
12
|
+
totalPage: R,
|
|
13
|
+
currentPage: S,
|
|
14
|
+
dark: E
|
|
15
15
|
}, B = (x) => {
|
|
16
16
|
const {
|
|
17
17
|
currentPage: n = 1,
|
|
@@ -21,17 +21,17 @@ import '../../Pager.css';const D = "_wrap_necrs_1", H = "_pager_necrs_1", L = "_
|
|
|
21
21
|
className: P,
|
|
22
22
|
showInput: d = !0,
|
|
23
23
|
pageSize: v = 10,
|
|
24
|
-
appearance: g =
|
|
25
|
-
} = x, [s, u] =
|
|
24
|
+
appearance: g = F.LIGHT
|
|
25
|
+
} = x, [s, u] = w(n), r = Math.ceil(N / v), c = r >= 10, b = s === r, j = s === 1, o = (e) => {
|
|
26
26
|
u(e), p && p(e);
|
|
27
27
|
}, C = () => {
|
|
28
28
|
s > 1 && o(s - 1);
|
|
29
|
-
},
|
|
29
|
+
}, y = () => {
|
|
30
30
|
r > s && o(s + 1);
|
|
31
|
-
},
|
|
32
|
-
const
|
|
31
|
+
}, k = (e) => {
|
|
32
|
+
const T = e.target.value.slice(0, 1), l = Number(c ? e.target.value : T);
|
|
33
33
|
setTimeout(() => {
|
|
34
|
-
r >=
|
|
34
|
+
r >= l && l > 0 ? o(l) : l <= 0 ? o(1) : o(r), c || e.target.select();
|
|
35
35
|
}, 300);
|
|
36
36
|
};
|
|
37
37
|
return m(() => {
|
|
@@ -42,7 +42,7 @@ import '../../Pager.css';const D = "_wrap_necrs_1", H = "_pager_necrs_1", L = "_
|
|
|
42
42
|
"div",
|
|
43
43
|
{
|
|
44
44
|
"data-testid": "pager-container",
|
|
45
|
-
className:
|
|
45
|
+
className: i(t.wrap, P, {
|
|
46
46
|
[t[g]]: g
|
|
47
47
|
}),
|
|
48
48
|
children: /* @__PURE__ */ a.jsxs("div", { className: t.pager, children: [
|
|
@@ -50,7 +50,7 @@ import '../../Pager.css';const D = "_wrap_necrs_1", H = "_pager_necrs_1", L = "_
|
|
|
50
50
|
"a",
|
|
51
51
|
{
|
|
52
52
|
"data-testid": "pager-prev",
|
|
53
|
-
className:
|
|
53
|
+
className: i(t.prev, {
|
|
54
54
|
[t.disabled]: j
|
|
55
55
|
}),
|
|
56
56
|
onClick: C,
|
|
@@ -72,11 +72,11 @@ import '../../Pager.css';const D = "_wrap_necrs_1", H = "_pager_necrs_1", 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), k(e);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
),
|
|
79
|
-
/* @__PURE__ */ a.jsxs("span", { className:
|
|
79
|
+
/* @__PURE__ */ a.jsxs("span", { className: i(t.totalPage, {
|
|
80
80
|
[t.currentPage]: !d
|
|
81
81
|
}), children: [
|
|
82
82
|
!d && /* @__PURE__ */ a.jsx("span", { className: t.currentPage, children: n > 1 ? n : s }),
|
|
@@ -86,10 +86,10 @@ import '../../Pager.css';const D = "_wrap_necrs_1", H = "_pager_necrs_1", L = "_
|
|
|
86
86
|
/* @__PURE__ */ a.jsx(
|
|
87
87
|
"a",
|
|
88
88
|
{
|
|
89
|
-
className:
|
|
89
|
+
className: i(t.next, {
|
|
90
90
|
[t.disabled]: b
|
|
91
91
|
}),
|
|
92
|
-
onClick:
|
|
92
|
+
onClick: y,
|
|
93
93
|
"data-testid": "pager-next",
|
|
94
94
|
children: /* @__PURE__ */ a.jsx(f, { name: _.ChevronRight })
|
|
95
95
|
}
|