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