@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.
Files changed (117) hide show
  1. package/dist/Accordion.css +1 -1
  2. package/dist/ActionButton.css +1 -1
  3. package/dist/AlertCard.css +1 -1
  4. package/dist/Autocomplete.css +1 -1
  5. package/dist/Button.css +1 -1
  6. package/dist/Card.css +1 -1
  7. package/dist/Checkbox.css +1 -1
  8. package/dist/Config.css +1 -1
  9. package/dist/Confirm.css +1 -1
  10. package/dist/ContentHeader.css +1 -1
  11. package/dist/Divider.css +1 -1
  12. package/dist/DropdownList.css +1 -1
  13. package/dist/ErrorLogModal.css +1 -1
  14. package/dist/FileUpload.css +1 -1
  15. package/dist/FileUpload.module-BxCEtOHx.js +32 -0
  16. package/dist/Heading.css +1 -1
  17. package/dist/IconBox.css +1 -1
  18. package/dist/InfoBoxList.css +1 -1
  19. package/dist/InfoBoxList.module-CmdO3WXi.js +8 -0
  20. package/dist/InfoDate.css +1 -1
  21. package/dist/InfoText.css +1 -1
  22. package/dist/Input.css +1 -1
  23. package/dist/Label.css +1 -1
  24. package/dist/Legends.css +1 -1
  25. package/dist/Loading.css +1 -1
  26. package/dist/MenuItem-Df6Zsa7E.js +53 -0
  27. package/dist/MenuItem.css +1 -1
  28. package/dist/Modal.css +1 -1
  29. package/dist/NoResult.css +1 -1
  30. package/dist/PageWrap.css +1 -1
  31. package/dist/Pager.css +1 -1
  32. package/dist/Panel.css +1 -1
  33. package/dist/Radio.css +1 -1
  34. package/dist/ResultError.css +1 -1
  35. package/dist/ScrollContainer.css +1 -1
  36. package/dist/{Select-DcLZCXNo.js → Select-BGHusr4q.js} +1 -1
  37. package/dist/Select.css +1 -1
  38. package/dist/Select.module-gwwx8i1I.js +20 -0
  39. package/dist/StatusTag.css +1 -1
  40. package/dist/StatusTypography.css +1 -1
  41. package/dist/Stepper.css +1 -1
  42. package/dist/Switch.css +1 -1
  43. package/dist/Tab.css +1 -1
  44. package/dist/Table.css +1 -1
  45. package/dist/Table.module-vUNIKXwV.js +29 -0
  46. package/dist/Textarea.css +1 -1
  47. package/dist/Tooltip.css +1 -1
  48. package/dist/TypographyText.css +1 -1
  49. package/dist/ValidationError.css +1 -1
  50. package/dist/components/Accordion/Accordion.js +22 -22
  51. package/dist/components/ActionButton/ActionButton.js +25 -25
  52. package/dist/components/AlertCard/AlertCard.js +9 -9
  53. package/dist/components/Autocomplete/Autocomplete.js +25 -25
  54. package/dist/components/Button/Button.js +43 -43
  55. package/dist/components/Card/Card.js +12 -12
  56. package/dist/components/Charts/Legends.js +8 -8
  57. package/dist/components/Checkbox/Checkbox.js +46 -109
  58. package/dist/components/Config/Config.js +14 -14
  59. package/dist/components/Confirm/Confirm.js +20 -20
  60. package/dist/components/ContentHeader/ContentHeader.js +31 -31
  61. package/dist/components/Datepicker/Datepicker.js +18 -18
  62. package/dist/components/Divider/Divider.js +19 -19
  63. package/dist/components/Drawer/index.js +4 -4
  64. package/dist/components/Dropdown/DropdownList.js +23 -23
  65. package/dist/components/ErrorLogModal/ErrorLogModal.js +36 -31
  66. package/dist/components/FileUpload/FileUpload.js +1 -1
  67. package/dist/components/FileUpload/ImagePreview.js +1 -1
  68. package/dist/components/FileUpload/LengthCard.js +1 -1
  69. package/dist/components/FileUpload/PreviewModal.js +1 -1
  70. package/dist/components/Heading/Heading.js +14 -14
  71. package/dist/components/IconBox/IconBox.js +4 -4
  72. package/dist/components/InfoBoxList/InfoBoxList.js +1 -1
  73. package/dist/components/InfoBoxList/helper.js +1 -1
  74. package/dist/components/InfoDate/InfoDate.js +5 -5
  75. package/dist/components/InfoText/InfoText.js +1 -1
  76. package/dist/components/Input/Input.js +38 -38
  77. package/dist/components/Label/Label.js +8 -8
  78. package/dist/components/Loading/Loading.js +25 -25
  79. package/dist/components/Modal/Modal.js +22 -22
  80. package/dist/components/NavigatorCard/index.js +27 -27
  81. package/dist/components/NoResult/NoResult.js +5 -5
  82. package/dist/components/PageWrapper/PageWrap.js +7 -7
  83. package/dist/components/Pager/Pager.js +23 -23
  84. package/dist/components/Panel/Panel.js +23 -23
  85. package/dist/components/Radio/Radio.js +32 -32
  86. package/dist/components/ResultError/ResultError.js +1 -1
  87. package/dist/components/ScrollContainer/ScrollContainer.js +7 -7
  88. package/dist/components/Select/NoData.js +1 -1
  89. package/dist/components/Select/OptionItem.js +1 -1
  90. package/dist/components/Select/Select.js +2 -2
  91. package/dist/components/Sidebar/MenuItem.js +1 -1
  92. package/dist/components/Sidebar/index.js +1 -1
  93. package/dist/components/StatusTag/StatusTag.js +10 -10
  94. package/dist/components/StatusTypography/StatusTypography.js +20 -20
  95. package/dist/components/Stepper/Stepper.js +18 -18
  96. package/dist/components/Switch/Switch.js +24 -24
  97. package/dist/components/Tab/Tab.js +7 -7
  98. package/dist/components/Table/Table.js +2 -2
  99. package/dist/components/Table/TableHeader.js +2 -2
  100. package/dist/components/Table/TableSort.js +1 -1
  101. package/dist/components/Textarea/Textarea.js +51 -51
  102. package/dist/components/Tooltip/Tooltip.js +19 -19
  103. package/dist/components/TypographyText/TypographyText.js +29 -29
  104. package/dist/components/ValidationError/ValidationError.js +1 -1
  105. package/dist/components/index.js +2 -2
  106. package/dist/index.css +1 -1
  107. package/dist/index.js +2 -2
  108. package/dist/index2.css +1 -1
  109. package/dist/main.css +1 -0
  110. package/dist/main.js +55 -0
  111. package/dist/prodivers.css +2 -2
  112. package/package.json +5 -2
  113. package/dist/FileUpload.module-bCNvwTRa.js +0 -32
  114. package/dist/InfoBoxList.module-C6t2KDOB.js +0 -8
  115. package/dist/MenuItem-DAf7NU3h.js +0 -53
  116. package/dist/Select.module-BVWgPUEN.js +0 -20
  117. 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 t } from "../../index-BHf7G3IG.js";
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 = "_counter_12ffn_1", B = "_container_12ffn_10", H = "_fieldWrap_12ffn_10", J = "_control_12ffn_16", K = "_light_12ffn_37", M = "_disabled_12ffn_46", O = "_more_dark_12ffn_49", Q = "_radius_12ffn_52", U = "_suffix_12ffn_60", X = "_error_12ffn_63", Y = "_suffixWrap_12ffn_70", Z = "_prefixWrap_12ffn_70", ee = "_prefix_12ffn_70", re = "_suffixClickable_12ffn_87", se = "_inputGroup_12ffn_104", ae = "_addonAfter_12ffn_115", e = {
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
- }, ne = N.forwardRef(
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: f,
31
- suffix: l,
30
+ prefix: l,
31
+ suffix: d,
32
32
  size: C,
33
- maxLength: i,
33
+ maxLength: n,
34
34
  isDisabled: c,
35
- error: d,
36
- appearance: u,
35
+ error: x,
36
+ appearance: f,
37
37
  className: v,
38
38
  wrapperClassName: y,
39
39
  fieldWrapClassName: A,
40
- addonAfter: p,
41
- value: n = "",
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, [_, x] = L(n), m = (r) => {
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, i);
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
- x(m(r.currentTarget.value)), W && W(r, m(r.currentTarget.value));
54
+ _(m(r.currentTarget.value)), W && W(r, m(r.currentTarget.value));
55
55
  },
56
- [i, x]
56
+ [n, _]
57
57
  ), E = (r, o) => {
58
58
  o == "number" && r.currentTarget.blur();
59
59
  };
60
60
  V(() => {
61
- n != null && x(m(n));
62
- }, [n]);
61
+ t != null && _(m(t));
62
+ }, [t]);
63
63
  const z = {
64
64
  [e[`type__${a}`]]: a !== "text"
65
- }, I = t(
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: t(e.container, {
79
- [e[`${u}`]]: u,
78
+ className: i(e.container, {
79
+ [e[`${f}`]]: f,
80
80
  [e.radius]: $,
81
- [e.inputGroup]: p,
82
- [e.error]: d,
81
+ [e.inputGroup]: u,
82
+ [e.error]: x,
83
83
  [e.disabled]: c,
84
- [e.suffixWrap]: l,
85
- [e.prefixWrap]: f
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: u, name: b, children: [
89
+ h && /* @__PURE__ */ s.jsxs(q, { appearance: f, name: b, children: [
90
90
  h,
91
91
  " ",
92
92
  G && "*"
93
93
  ] }),
94
- i && /* @__PURE__ */ s.jsxs("span", { children: [
95
- _ ? _.toString().length : 0,
94
+ n && /* @__PURE__ */ s.jsxs("span", { children: [
95
+ p ? p.toString().length : 0,
96
96
  "/",
97
- i
97
+ n
98
98
  ] })
99
99
  ] }),
100
- /* @__PURE__ */ s.jsxs("div", { className: t(e.fieldWrap, A), children: [
101
- f && /* @__PURE__ */ s.jsx("span", { className: e.prefix, children: f }),
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: t(e.control, z, v),
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
- p && /* @__PURE__ */ s.jsx("span", { className: e.addonAfter, children: p }),
120
- l && /* @__PURE__ */ s.jsx(
119
+ u && /* @__PURE__ */ s.jsx("span", { className: e.addonAfter, children: u }),
120
+ d && /* @__PURE__ */ s.jsx(
121
121
  "span",
122
122
  {
123
- className: t(e.suffix, {
123
+ className: i(e.suffix, {
124
124
  [e.suffixClickable]: R
125
125
  }),
126
- children: l
126
+ children: d
127
127
  }
128
128
  )
129
129
  ] })
130
130
  ]
131
131
  }
132
132
  ),
133
- d && /* @__PURE__ */ s.jsx(D, { ...d })
133
+ x && /* @__PURE__ */ s.jsx(D, { ...x })
134
134
  ] });
135
135
  }
136
136
  );
137
- ne.displayName = "Input";
137
+ te.displayName = "Input";
138
138
  export {
139
- ne as default
139
+ te as default
140
140
  };
@@ -1,16 +1,16 @@
1
- import { j as c } from "../../jsx-runtime-BcAkpsdy.js";
2
- import { c as r } from "../../index-BHf7G3IG.js";
3
- import '../../Label.css';const m = "_label_vjkb7_1", n = "_light_vjkb7_8", l = {
4
- label: m,
5
- light: n
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: o, appearance: a } = s;
8
- return /* @__PURE__ */ c.jsx(
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: r(l.label, o, {
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 i } from "../../index-BHf7G3IG.js";
3
- import '../../Loading.css';const t = "_layer_118em_1", o = "_light_118em_12", n = "_skChild_118em_16", m = "_dark_118em_23", d = "_darkFull_118em_23", a = "_skCircle_118em_38", u = "_skcircleBounceDelay_118em_1", h = "_skCircle2_118em_61", y = "_skCircle3_118em_70", x = "_skCircle4_118em_79", g = "_skCircle5_118em_88", j = "_skCircle6_118em_97", f = "_skCircle7_118em_106", N = "_skCircle8_118em_115", $ = "_skCircle9_118em_124", v = "_skCircle10_118em_133", B = "_skCircle11_118em_142", D = "_skCircle12_118em_151", s = {
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: m,
7
+ dark: u,
8
8
  darkFull: d,
9
- skCircle: a,
10
- skcircleBounceDelay: u,
11
- skCircle2: h,
12
- skCircle3: y,
13
- skCircle4: x,
14
- skCircle5: g,
15
- skCircle6: j,
16
- skCircle7: f,
17
- skCircle8: N,
18
- skCircle9: $,
19
- skCircle10: v,
20
- skCircle11: B,
21
- skCircle12: D
22
- }, E = ({
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: e,
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: i(s.skChild, s[`skCircle${l}`])
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: i(C, {
44
- "d-inline-block": !e,
43
+ className: e(C, {
44
+ "d-inline-block": !i,
45
45
  [s.layer]: k,
46
- [s[`${e}`]]: e
46
+ [s[`${i}`]]: i
47
47
  }),
48
48
  children: /* @__PURE__ */ c.jsx(
49
49
  "div",
50
50
  {
51
- className: i(_, s.skCircle, {
52
- [s[`${e}`]]: e
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
- E as default
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 w } from "react";
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 = "_overlay_yit4w_1", g = "_modal_yit4w_10", C = "_content_yit4w_25", k = "_header_yit4w_35", E = "_close_yit4w_55", S = "_body_yit4w_62", F = "_desc_yit4w_66", B = "_modal__light_yit4w_70", o = {
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: g,
9
- content: C,
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 = (i) => {
15
+ }, K = (m) => {
16
16
  const {
17
- children: m,
17
+ children: i,
18
18
  header: a,
19
19
  title: t,
20
20
  description: d,
21
- className: y,
22
- onClose: _,
21
+ className: _,
22
+ onClose: v,
23
23
  showClose: h = !0,
24
24
  visible: c = !0,
25
25
  appearance: l,
26
- headerClass: v,
27
- descriptionClass: x
28
- } = i, p = () => {
26
+ headerClass: y,
27
+ descriptionClass: g
28
+ } = m, x = () => {
29
29
  document.body.style.width = "calc(100% - 15px)", document.body.className = "overflow-hidden";
30
- }, j = () => {
30
+ }, p = () => {
31
31
  document.body.className = "", document.body.removeAttribute("style");
32
32
  }, n = () => {
33
- _();
33
+ v();
34
34
  };
35
- return w(() => {
36
- const r = (u) => {
37
- u.key === "Escape" && n();
35
+ return u(() => {
36
+ const r = (j) => {
37
+ j.key === "Escape" && n();
38
38
  };
39
- return document.addEventListener("keydown", r), c && p(), () => {
40
- j(), document.removeEventListener("keydown", r);
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(y, o.content), children: [
59
- t || a ? /* @__PURE__ */ e.jsxs("div", { className: s(o.header, v), children: [
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, x), children: d }),
65
- m
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 _ from "../PermaLink/PermaLink.js";
5
- import h from "../Tooltip/Tooltip.js";
6
- import { Icons as j } from "../../assets/icons/icons.js";
7
- import { c as v } from "../../index-BHf7G3IG.js";
8
- import { u } from "../../useTranslation-CnCPcxVj.js";
9
- import '../../index2.css';const f = "_wrapper_14erv_1", N = "_content_14erv_11", G = "_iconWrapper_14erv_19", w = "_titleGroup_14erv_30", C = "_title_14erv_30", W = "_textGroup_14erv_46", I = "_footer_14erv_51", e = {
10
- wrapper: f,
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: G,
13
- titleGroup: w,
14
- title: C,
15
- textGroup: W,
16
- footer: I
12
+ iconWrapper: b,
13
+ titleGroup: G,
14
+ title: w,
15
+ textGroup: C,
16
+ footer: W
17
17
  }, E = (c) => {
18
- const { t: r } = u(), {
19
- id: s,
18
+ const { t: s } = f(), {
19
+ id: o,
20
20
  to: l,
21
- title: o,
21
+ title: r,
22
22
  content: i,
23
- icon: p,
24
- iconClassName: d,
23
+ icon: d,
24
+ iconClassName: p,
25
25
  serviceCount: n = 0,
26
26
  appCount: a = 0
27
27
  } = c;
28
- return /* @__PURE__ */ t.jsx(_, { to: l, children: /* @__PURE__ */ t.jsxs("div", { className: e.wrapper, "data-testid": "navigatorcard", children: [
29
- /* @__PURE__ */ t.jsx("div", { className: v(e.iconWrapper, d), children: p || /* @__PURE__ */ t.jsx(m, { name: j.Projects }) }),
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
- h,
33
+ _,
34
34
  {
35
- id: `title-${s}`,
35
+ id: `title-${o}`,
36
36
  className: "width90",
37
- tooltipContent: o,
37
+ tooltipContent: r,
38
38
  ellipsis: !0,
39
39
  children: /* @__PURE__ */ t.jsxs("h2", { className: e.title, children: [
40
40
  " ",
41
- o
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: r("label.date_created") }),
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: r("title.services") + " (" + n + ")" }),
52
- /* @__PURE__ */ t.jsx("span", { hidden: !a, children: r("title.applications") + " (" + a + ")" })
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-${s}`);
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 o } from "../../useTranslation-CnCPcxVj.js";
3
- import '../../NoResult.css';const l = "_noResult_19yve_1", r = {
4
- noResult: l
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: e } = o(), n = s || e("text.no_results");
8
- return /* @__PURE__ */ t.jsx("div", { "data-testid": "noresult", className: r.noResult, children: /* @__PURE__ */ t.jsx("span", { children: n }) });
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 s from "../PermaLink/PermaLink.js";
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 = "_breadcrumb_rb55l_1", h = "_breadcrumbItem_rb55l_9", j = "_pageContent_rb55l_29", r = {
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 = (m) => {
10
- const { children: c, breadcrumbs: d, className: b, defaultRoute: i = "/" } = m, { t: n } = p();
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(s, { to: i, children: n("title.home") })
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: o }, l) => /* @__PURE__ */ e.jsx(
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(s, { to: t, state: o, children: a }) : /* @__PURE__ */ e.jsx("a", { children: a })
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 F, useEffect as m } from "react";
3
- import { c as l } from "../../index-BHf7G3IG.js";
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 I } from "../../enums/appearance.js";
5
+ import { ThemeAppearance as F } from "../../enums/appearance.js";
6
6
  import f from "../Icon/index.js";
7
- import '../../Pager.css';const D = "_wrap_necrs_1", H = "_pager_necrs_1", L = "_disabled_necrs_20", R = "_inputField_necrs_36", S = "_totalPage_necrs_58", E = "_currentPage_necrs_66", V = "_dark_necrs_74", t = {
8
- wrap: D,
9
- pager: H,
10
- disabled: L,
11
- inputField: R,
12
- totalPage: S,
13
- currentPage: E,
14
- dark: V
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 = I.LIGHT
25
- } = x, [s, u] = F(n), r = Math.ceil(N / v), c = r >= 10, b = s === r, j = s === 1, o = (e) => {
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
- }, k = () => {
29
+ }, y = () => {
30
30
  r > s && o(s + 1);
31
- }, T = (e) => {
32
- const w = e.target.value.slice(0, 1), i = Number(c ? e.target.value : w);
31
+ }, k = (e) => {
32
+ const T = e.target.value.slice(0, 1), l = Number(c ? e.target.value : T);
33
33
  setTimeout(() => {
34
- r >= i && i > 0 ? o(i) : i <= 0 ? o(1) : o(r), c || e.target.select();
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: l(t.wrap, P, {
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: l(t.prev, {
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), T(e);
75
+ c || (e.target.autofocus = !0), k(e);
76
76
  }
77
77
  }
78
78
  ),
79
- /* @__PURE__ */ a.jsxs("span", { className: l(t.totalPage, {
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: l(t.next, {
89
+ className: i(t.next, {
90
90
  [t.disabled]: b
91
91
  }),
92
- onClick: k,
92
+ onClick: y,
93
93
  "data-testid": "pager-next",
94
94
  children: /* @__PURE__ */ a.jsx(f, { name: _.ChevronRight })
95
95
  }