@cagatayfdn/flora-components 0.0.136 → 0.0.138

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/package.json +1 -1
  2. package/dist/Accordion.css +0 -1
  3. package/dist/ActionButton.css +0 -1
  4. package/dist/AlertCard.css +0 -1
  5. package/dist/Autocomplete.css +0 -1
  6. package/dist/Button.css +0 -1
  7. package/dist/Card.css +0 -1
  8. package/dist/Checkbox.css +0 -1
  9. package/dist/Config.css +0 -1
  10. package/dist/Confirm.css +0 -1
  11. package/dist/ContentHeader.css +0 -1
  12. package/dist/Datepicker.css +0 -1
  13. package/dist/Divider.css +0 -1
  14. package/dist/DropdownList.css +0 -1
  15. package/dist/ErrorLogModal.css +0 -1
  16. package/dist/FileUpload.css +0 -1
  17. package/dist/FileUpload.module-BxCEtOHx.js +0 -32
  18. package/dist/Heading.css +0 -1
  19. package/dist/IconBox.css +0 -1
  20. package/dist/InfoBoxList.css +0 -1
  21. package/dist/InfoBoxList.module-BHkAHgos.js +0 -8
  22. package/dist/InfoDate.css +0 -1
  23. package/dist/InfoText.css +0 -1
  24. package/dist/Input.css +0 -1
  25. package/dist/Label.css +0 -1
  26. package/dist/Legends.css +0 -1
  27. package/dist/Loading.css +0 -1
  28. package/dist/MenuItem-Df6Zsa7E.js +0 -53
  29. package/dist/MenuItem.css +0 -1
  30. package/dist/Modal.css +0 -1
  31. package/dist/NoResult.css +0 -1
  32. package/dist/PageWrap.css +0 -1
  33. package/dist/Pager.css +0 -1
  34. package/dist/Panel.css +0 -1
  35. package/dist/Radio.css +0 -1
  36. package/dist/ResultError.css +0 -1
  37. package/dist/ScrollContainer.css +0 -1
  38. package/dist/Select-BE_y91ZN.js +0 -1831
  39. package/dist/Select.css +0 -1
  40. package/dist/Select.module-ByPQ6qr4.js +0 -21
  41. package/dist/StatusTag.css +0 -1
  42. package/dist/StatusTypography.css +0 -1
  43. package/dist/Stepper.css +0 -1
  44. package/dist/Switch.css +0 -1
  45. package/dist/Tab.css +0 -1
  46. package/dist/Table.css +0 -1
  47. package/dist/Table.module-DUqpZOLt.js +0 -29
  48. package/dist/Textarea.css +0 -1
  49. package/dist/Tooltip.css +0 -1
  50. package/dist/Trans-B4ILpbwK.js +0 -343
  51. package/dist/TypographyText.css +0 -1
  52. package/dist/ValidationError.css +0 -1
  53. package/dist/_commonjsHelpers-CT_km90n.js +0 -30
  54. package/dist/_isArray-CBUZFxFA.js +0 -6
  55. package/dist/_isString-BUpNGP_8.js +0 -6
  56. package/dist/_reduce-DsUCMz4O.js +0 -148
  57. package/dist/assets/icons/icons.js +0 -70
  58. package/dist/assets/images/500_error_2x.gif +0 -0
  59. package/dist/assets/images/oms.png +0 -0
  60. package/dist/components/Accordion/Accordion.js +0 -60
  61. package/dist/components/ActionButton/ActionButton.js +0 -54
  62. package/dist/components/AlertCard/AlertCard.js +0 -29
  63. package/dist/components/AuthUserCan/Permission.js +0 -18
  64. package/dist/components/AuthUserCan/index.js +0 -23
  65. package/dist/components/Autocomplete/Autocomplete.js +0 -87
  66. package/dist/components/Button/Button.js +0 -87
  67. package/dist/components/Card/Card.js +0 -21
  68. package/dist/components/Charts/Bar.js +0 -18
  69. package/dist/components/Charts/Legends.js +0 -21
  70. package/dist/components/Charts/Line.js +0 -18
  71. package/dist/components/Charts/Pie.js +0 -43
  72. package/dist/components/Charts/index.js +0 -31
  73. package/dist/components/Charts/types.js +0 -1
  74. package/dist/components/Charts/utils.js +0 -12
  75. package/dist/components/Checkbox/Checkbox.js +0 -68
  76. package/dist/components/Config/Config.js +0 -32
  77. package/dist/components/Confirm/Confirm.js +0 -60
  78. package/dist/components/ContentHeader/ContentHeader.js +0 -75
  79. package/dist/components/ContentLoader/ContentLoader.js +0 -16
  80. package/dist/components/Countdown/Countdown.js +0 -20
  81. package/dist/components/Datepicker/Datepicker.js +0 -1478
  82. package/dist/components/Divider/Divider.js +0 -27
  83. package/dist/components/Drawer/Provider.js +0 -24
  84. package/dist/components/Drawer/index.js +0 -55
  85. package/dist/components/Dropdown/DropdownList.js +0 -90
  86. package/dist/components/ErrorLogModal/ErrorLogModal.js +0 -69
  87. package/dist/components/FileUpload/FileUpload.js +0 -237
  88. package/dist/components/FileUpload/ImagePreview.js +0 -19
  89. package/dist/components/FileUpload/LengthCard.js +0 -6
  90. package/dist/components/FileUpload/PreviewModal.js +0 -53
  91. package/dist/components/Grid/Column.js +0 -29
  92. package/dist/components/Grid/Row.js +0 -6
  93. package/dist/components/Heading/Heading.js +0 -22
  94. package/dist/components/Icon/index.js +0 -24
  95. package/dist/components/IconBox/IconBox.js +0 -13
  96. package/dist/components/InfiniteScroll/InfiniteScroll.js +0 -41
  97. package/dist/components/InfoBoxList/InfoBoxList.js +0 -30
  98. package/dist/components/InfoBoxList/helper.js +0 -83
  99. package/dist/components/InfoDate/InfoDate.js +0 -19
  100. package/dist/components/InfoText/InfoText.js +0 -13
  101. package/dist/components/Input/Input.js +0 -140
  102. package/dist/components/Label/Label.js +0 -22
  103. package/dist/components/Loading/Loading.js +0 -62
  104. package/dist/components/Modal/Modal.js +0 -74
  105. package/dist/components/NavigatorCard/index.js +0 -59
  106. package/dist/components/NoResult/NoResult.js +0 -12
  107. package/dist/components/Notification/Notification.js +0 -26
  108. package/dist/components/PageWrapper/PageWrap.js +0 -46
  109. package/dist/components/Pager/Pager.js +0 -103
  110. package/dist/components/Panel/Panel.js +0 -71
  111. package/dist/components/PermaLink/PermaLink.js +0 -387
  112. package/dist/components/Radio/Radio.js +0 -96
  113. package/dist/components/ResultError/ResultError.js +0 -20
  114. package/dist/components/ScrollContainer/ScrollContainer.js +0 -23
  115. package/dist/components/Select/NoData.js +0 -10
  116. package/dist/components/Select/OptionItem.js +0 -19
  117. package/dist/components/Select/Select.js +0 -13
  118. package/dist/components/Sidebar/MenuItem.js +0 -9
  119. package/dist/components/Sidebar/index.js +0 -137
  120. package/dist/components/StatusTag/StatusTag.js +0 -24
  121. package/dist/components/StatusTypography/StatusTypography.js +0 -51
  122. package/dist/components/Stepper/Stepper.js +0 -75
  123. package/dist/components/Switch/Switch.js +0 -84
  124. package/dist/components/Tab/Tab.js +0 -28
  125. package/dist/components/Table/Table.js +0 -271
  126. package/dist/components/Table/TableHeader.js +0 -137
  127. package/dist/components/Table/TableSort.js +0 -25
  128. package/dist/components/Textarea/Textarea.js +0 -95
  129. package/dist/components/Tooltip/Tooltip.js +0 -1548
  130. package/dist/components/TypographyText/TypographyText.js +0 -91
  131. package/dist/components/ValidationError/ValidationError.js +0 -7
  132. package/dist/components/index.js +0 -133
  133. package/dist/defineProperty-DeKy1XT0.js +0 -37
  134. package/dist/enums/appearance.js +0 -14
  135. package/dist/enums/applicationTypeSlug.js +0 -4
  136. package/dist/enums/index.js +0 -29
  137. package/dist/enums/isActiveColor.js +0 -4
  138. package/dist/enums/size.js +0 -4
  139. package/dist/enums/status.js +0 -11
  140. package/dist/equals-PL9KqVQf.js +0 -119
  141. package/dist/flatpickr-CRz1AV0e.js +0 -59
  142. package/dist/hooks/index.js +0 -15
  143. package/dist/hooks/useAauth.js +0 -40
  144. package/dist/hooks/useDisclosure.js +0 -14
  145. package/dist/hooks/useDrawer.js +0 -9
  146. package/dist/hooks/useMediaQuery.js +0 -21
  147. package/dist/hooks/useNiceModal.js +0 -13
  148. package/dist/i18nInstance-CiCZbaCK.js +0 -55
  149. package/dist/includes-8YTFrx85.js +0 -46
  150. package/dist/index-9ZLCCecr.js +0 -364
  151. package/dist/index-BHf7G3IG.js +0 -35
  152. package/dist/index-BJU1K2Aw.js +0 -8003
  153. package/dist/index-CB61CB0b.js +0 -669
  154. package/dist/index-H7XbDVmH.js +0 -320
  155. package/dist/index-JNaMEwgt.js +0 -1413
  156. package/dist/index.css +0 -1
  157. package/dist/index.d.mts +0 -1463
  158. package/dist/index.d.ts +0 -1463
  159. package/dist/index.js +0 -200
  160. package/dist/index2.css +0 -1
  161. package/dist/jsx-runtime-BcAkpsdy.js +0 -631
  162. package/dist/keys-B0bo5Q7o.js +0 -67
  163. package/dist/locales/en/index.js +0 -613
  164. package/dist/locales/i18n.js +0 -1417
  165. package/dist/locales/index.js +0 -5
  166. package/dist/locales/tr/index.js +0 -613
  167. package/dist/main.css +0 -1
  168. package/dist/main.js +0 -56
  169. package/dist/prodivers.css +0 -6
  170. package/dist/prodivers.js +0 -13
  171. package/dist/react-content-loader.es-CswLCxkm.js +0 -90
  172. package/dist/react-toastify.esm-BUWNP7Nm.js +0 -808
  173. package/dist/types/common/date.js +0 -1
  174. package/dist/types/common/events.js +0 -1
  175. package/dist/types/common/forms.js +0 -1
  176. package/dist/types/common/option.js +0 -1
  177. package/dist/types/index.js +0 -1
  178. package/dist/useTranslation-CnCPcxVj.js +0 -142
  179. package/dist/utils/date.js +0 -413
  180. package/dist/utils/flatpickr.js +0 -4
  181. package/dist/utils/helper.js +0 -55
  182. package/dist/utils/index.js +0 -24
  183. package/dist/utils/language.js +0 -46
  184. package/dist/utils/validation.js +0 -27
  185. package/dist/utils/yup.js +0 -2921
@@ -1,13 +0,0 @@
1
- import { j as n } from "../../jsx-runtime-BcAkpsdy.js";
2
- import { c as r } from "../../index-BHf7G3IG.js";
3
- import i from "../Icon/index.js";
4
- import '../../IconBox.css';const x = "_iconBox_jz84k_2", a = "_iconBox__primary_jz84k_2", t = "_iconBox__secondary_jz84k_2", c = {
5
- iconBox: x,
6
- iconBox__primary: a,
7
- iconBox__secondary: t
8
- }, j = ({ icon: s, onClick: _, type: o = "secondary" }) => /* @__PURE__ */ n.jsx("button", { className: r(c.iconBox, {
9
- [c[`iconBox__${o}`]]: o
10
- }), onClick: _, children: /* @__PURE__ */ n.jsx(i, { name: s }) });
11
- export {
12
- j as default
13
- };
@@ -1,41 +0,0 @@
1
- import { j as g } from "../../jsx-runtime-BcAkpsdy.js";
2
- import { useRef as h, useState as p, useEffect as l } from "react";
3
- function E({
4
- children: i,
5
- hasMore: c,
6
- height: f = 400,
7
- loadMore: d,
8
- treshold: m = 100
9
- }) {
10
- const t = h(null), [n, o] = p(!1), s = () => {
11
- var e, r, u;
12
- t.current && ((e = t == null ? void 0 : t.current) == null ? void 0 : e.scrollTop) + ((r = t == null ? void 0 : t.current) == null ? void 0 : r.clientHeight) >= ((u = t == null ? void 0 : t.current) == null ? void 0 : u.scrollHeight) - m && o(!0);
13
- }, a = () => {
14
- var e;
15
- d(), o(!1), (e = t.current) == null || e.scroll(
16
- 0,
17
- t.current.scrollHeight / 2
18
- );
19
- };
20
- return l(() => {
21
- n && c && setTimeout(() => a(), 300);
22
- }, [n, c]), l(() => {
23
- var e;
24
- return (e = t.current) == null || e.addEventListener("scroll", s), () => {
25
- var r;
26
- return (r = t.current) == null ? void 0 : r.removeEventListener("scroll", s);
27
- };
28
- }, []), /* @__PURE__ */ g.jsx(
29
- "div",
30
- {
31
- "data-testid": "infinitescroll",
32
- ref: t,
33
- style: { overflow: "auto", height: f },
34
- onScroll: s,
35
- children: i
36
- }
37
- );
38
- }
39
- export {
40
- E as default
41
- };
@@ -1,30 +0,0 @@
1
- import { j as t } from "../../jsx-runtime-BcAkpsdy.js";
2
- import m from "../ContentLoader/ContentLoader.js";
3
- import x from "../NoResult/NoResult.js";
4
- import p from "../TypographyText/TypographyText.js";
5
- import { s as f } from "../../InfoBoxList.module-BHkAHgos.js";
6
- const y = ({
7
- items: r,
8
- isLoading: e,
9
- className: s
10
- }) => {
11
- const d = r.every(({ value: o }) => o === void 0);
12
- return /* @__PURE__ */ t.jsx("div", { className: s, "data-testid": "infoboxlist-container", children: d ? /* @__PURE__ */ t.jsx(x, {}) : r.map(
13
- ({ label: o, value: i, copy: n }) => i !== void 0 && /* @__PURE__ */ t.jsxs("div", { className: f.item, "data-testid": "infoboxlist-item", children: [
14
- /* @__PURE__ */ t.jsx("div", { children: o }),
15
- /* @__PURE__ */ t.jsx("div", { children: e ? /* @__PURE__ */ t.jsx(m, {}) : n ? /* @__PURE__ */ t.jsx(
16
- p,
17
- {
18
- className: s,
19
- ellipsis: !0,
20
- href: `${i}`,
21
- copyable: !0,
22
- children: i
23
- }
24
- ) : i })
25
- ] }, o + i)
26
- ) });
27
- };
28
- export {
29
- y as default
30
- };
@@ -1,83 +0,0 @@
1
- import { j as c } from "../../jsx-runtime-BcAkpsdy.js";
2
- import d from "../TypographyText/TypographyText.js";
3
- import { c as p } from "../../index-BHf7G3IG.js";
4
- import { s as l } from "../../InfoBoxList.module-BHkAHgos.js";
5
- import { a as m, _ as o, b as x, k as _ } from "../../keys-B0bo5Q7o.js";
6
- import { c as f, _ as h, a as b, b as v } from "../../_reduce-DsUCMz4O.js";
7
- function y(a, t, r) {
8
- return function() {
9
- for (var n = [], e = 0, u = a, s = 0; s < t.length || e < arguments.length; ) {
10
- var i;
11
- s < t.length && (!m(t[s]) || e >= arguments.length) ? i = t[s] : (i = arguments[e], e += 1), n[s] = i, m(i) || (u -= 1), s += 1;
12
- }
13
- return u <= 0 ? r.apply(this, n) : f(u, y(a, n, r));
14
- };
15
- }
16
- var g = /* @__PURE__ */ o(function(t, r) {
17
- return t === 1 ? x(r) : f(t, y(t, [], r));
18
- });
19
- function j(a, t) {
20
- for (var r = 0, n = t.length, e = Array(n); r < n; )
21
- e[r] = a(t[r]), r += 1;
22
- return e;
23
- }
24
- var N = /* @__PURE__ */ function() {
25
- function a(t, r) {
26
- this.xf = r, this.f = t;
27
- }
28
- return a.prototype["@@transducer/init"] = h.init, a.prototype["@@transducer/result"] = h.result, a.prototype["@@transducer/step"] = function(t, r) {
29
- return this.xf["@@transducer/step"](t, this.f(r));
30
- }, a;
31
- }(), w = /* @__PURE__ */ o(function(t, r) {
32
- return new N(t, r);
33
- });
34
- const S = w;
35
- var $ = /* @__PURE__ */ o(
36
- /* @__PURE__ */ b(["fantasy-land/map", "map"], S, function(t, r) {
37
- switch (Object.prototype.toString.call(r)) {
38
- case "[object Function]":
39
- return g(r.length, function() {
40
- return t.call(this, r.apply(this, arguments));
41
- });
42
- case "[object Object]":
43
- return v(function(n, e) {
44
- return n[e] = t(r[e]), n;
45
- }, {}, _(r));
46
- default:
47
- return j(t, r);
48
- }
49
- })
50
- );
51
- const A = (a, t = !0) => {
52
- if (a && a[0])
53
- return $(
54
- (r) => /* @__PURE__ */ c.jsxs(
55
- "span",
56
- {
57
- className: p(
58
- {},
59
- {
60
- [l.connectedService]: t
61
- }
62
- ),
63
- children: [
64
- /* @__PURE__ */ c.jsx("span", { children: r.name }),
65
- r.url ? /* @__PURE__ */ c.jsx(
66
- d,
67
- {
68
- ellipsis: !0,
69
- href: `//${r.url}`,
70
- copyable: !0,
71
- className: p(l.subUrl, "cursor-pointer"),
72
- children: `https://${r.url}`
73
- }
74
- ) : "-"
75
- ]
76
- }
77
- ),
78
- a
79
- );
80
- };
81
- export {
82
- A as createConnectedService
83
- };
@@ -1,19 +0,0 @@
1
- import { j as t } from "../../jsx-runtime-BcAkpsdy.js";
2
- import e, { CLIENT_TIME_FORMAT as l, CLIENT_DATE_SHORT_FORMAT as _ } from "../../utils/date.js";
3
- import '../../InfoDate.css';const D = "_infoDateWrapper_bn5u6_2", u = "_time_bn5u6_2", a = {
4
- infoDateWrapper: D,
5
- time: u
6
- }, x = (m) => {
7
- const { date: r, time: f = !1, fromNow: i = !1 } = m, p = ((o, d) => {
8
- var n;
9
- let s = "";
10
- return i ? (s = (n = e(o)) == null ? void 0 : n.fromNow(!0), s) : e(o).format(d);
11
- })(r, _), c = e(r).format(l);
12
- return /* @__PURE__ */ t.jsxs("span", { className: a.infoDateWrapper, "data-testid": "infodate", children: [
13
- /* @__PURE__ */ t.jsx("span", { className: a.date, children: p }),
14
- f && /* @__PURE__ */ t.jsx("span", { className: a.time, children: c })
15
- ] });
16
- };
17
- export {
18
- x as default
19
- };
@@ -1,13 +0,0 @@
1
- import { j as o } from "../../jsx-runtime-BcAkpsdy.js";
2
- import i from "../Icon/index.js";
3
- import { Icons as e } from "../../assets/icons/icons.js";
4
- import '../../InfoText.css';const c = "_infoText_1gwgd_2", f = "_infoIcon_1gwgd_2", n = {
5
- infoText: c,
6
- infoIcon: f
7
- }, a = ({ text: t, className: s }) => /* @__PURE__ */ o.jsxs("div", { className: `${n.infoText} ${s}`, "data-testid": "infotext", children: [
8
- /* @__PURE__ */ o.jsx(i, { name: e.Info, className: n.infoIcon }),
9
- /* @__PURE__ */ o.jsx("span", { children: t })
10
- ] });
11
- export {
12
- a as InfoText
13
- };
@@ -1,140 +0,0 @@
1
- import { j as s } from "../../jsx-runtime-BcAkpsdy.js";
2
- import N, { useState as L, useEffect as V } from "react";
3
- import { c as i } from "../../index-BHf7G3IG.js";
4
- import q from "../Label/Label.js";
5
- import D from "../ValidationError/ValidationError.js";
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
- counter: P,
8
- container: B,
9
- fieldWrap: H,
10
- control: J,
11
- light: K,
12
- disabled: M,
13
- more_dark: O,
14
- radius: Q,
15
- suffix: U,
16
- error: X,
17
- suffixWrap: Y,
18
- prefixWrap: Z,
19
- prefix: ee,
20
- suffixClickable: re,
21
- inputGroup: se,
22
- addonAfter: ae
23
- }, te = N.forwardRef(
24
- (g, j) => {
25
- const {
26
- name: b,
27
- label: h,
28
- id: k,
29
- type: a = "text",
30
- prefix: l,
31
- suffix: d,
32
- size: C,
33
- maxLength: n,
34
- isDisabled: c,
35
- error: x,
36
- appearance: f,
37
- className: v,
38
- wrapperClassName: y,
39
- fieldWrapClassName: A,
40
- addonAfter: u,
41
- value: t = "",
42
- onChange: W,
43
- required: G,
44
- isRadius: $,
45
- textFillColor: F,
46
- suffixClickable: R,
47
- isFormGroup: S = !0,
48
- ...T
49
- } = g, [p, _] = L(t), m = (r) => {
50
- var o;
51
- return (o = r == null ? void 0 : r.toString()) == null ? void 0 : o.slice(0, n);
52
- }, w = N.useCallback(
53
- (r) => {
54
- _(m(r.currentTarget.value)), W && W(r, m(r.currentTarget.value));
55
- },
56
- [n, _]
57
- ), E = (r, o) => {
58
- o == "number" && r.currentTarget.blur();
59
- };
60
- V(() => {
61
- t != null && _(m(t));
62
- }, [t]);
63
- const z = {
64
- [e[`type__${a}`]]: a !== "text"
65
- }, I = i(
66
- {
67
- "form-group": S,
68
- [e[`size__${C}`]]: C,
69
- [e.disabled]: c,
70
- [e.hidden]: a === "hidden"
71
- },
72
- y
73
- );
74
- return /* @__PURE__ */ s.jsxs("div", { className: I, "data-testid": `input-container-${a}`, children: [
75
- /* @__PURE__ */ s.jsxs(
76
- "div",
77
- {
78
- className: i(e.container, {
79
- [e[`${f}`]]: f,
80
- [e.radius]: $,
81
- [e.inputGroup]: u,
82
- [e.error]: x,
83
- [e.disabled]: c,
84
- [e.suffixWrap]: d,
85
- [e.prefixWrap]: l
86
- }),
87
- children: [
88
- /* @__PURE__ */ s.jsxs("div", { className: e.counter, children: [
89
- h && /* @__PURE__ */ s.jsxs(q, { appearance: f, name: b, children: [
90
- h,
91
- " ",
92
- G && "*"
93
- ] }),
94
- n && /* @__PURE__ */ s.jsxs("span", { children: [
95
- p ? p.toString().length : 0,
96
- "/",
97
- n
98
- ] })
99
- ] }),
100
- /* @__PURE__ */ s.jsxs("div", { className: i(e.fieldWrap, A), children: [
101
- l && /* @__PURE__ */ s.jsx("span", { className: e.prefix, children: l }),
102
- /* @__PURE__ */ s.jsx(
103
- "input",
104
- {
105
- type: a,
106
- name: b,
107
- id: k,
108
- value: p,
109
- "data-testid": `input-${a}`,
110
- className: i(e.control, z, v),
111
- disabled: c,
112
- ref: j,
113
- onWheel: (r) => E(r, a),
114
- onChange: w,
115
- ...T,
116
- style: { WebkitTextFillColor: F }
117
- }
118
- ),
119
- u && /* @__PURE__ */ s.jsx("span", { className: e.addonAfter, children: u }),
120
- d && /* @__PURE__ */ s.jsx(
121
- "span",
122
- {
123
- className: i(e.suffix, {
124
- [e.suffixClickable]: R
125
- }),
126
- children: d
127
- }
128
- )
129
- ] })
130
- ]
131
- }
132
- ),
133
- x && /* @__PURE__ */ s.jsx(D, { ...x })
134
- ] });
135
- }
136
- );
137
- te.displayName = "Input";
138
- export {
139
- te as default
140
- };
@@ -1,22 +0,0 @@
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
- }, p = (s) => {
7
- const { name: e, children: t, className: m, appearance: a } = s;
8
- return /* @__PURE__ */ o.jsx(
9
- "label",
10
- {
11
- "data-testid": "label",
12
- htmlFor: e,
13
- className: c(l.label, m, {
14
- [l[`${a}`]]: a
15
- }),
16
- children: t
17
- }
18
- );
19
- };
20
- export {
21
- p as default
22
- };
@@ -1,62 +0,0 @@
1
- import { j as c } from "../../jsx-runtime-BcAkpsdy.js";
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", j = "_darkFull_uipj5_2", d = "_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
- layer: t,
5
- light: o,
6
- skChild: n,
7
- dark: u,
8
- darkFull: j,
9
- skCircle: d,
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
- className: _,
24
- appearance: i,
25
- layer: k = !0,
26
- wrapperClass: C
27
- }) => {
28
- const r = [];
29
- for (let l = 1; l <= 12; l++)
30
- r.push(
31
- /* @__PURE__ */ c.jsx(
32
- "div",
33
- {
34
- className: e(s.skChild, s[`skCircle${l}`])
35
- },
36
- `loading-${l}`
37
- )
38
- );
39
- return /* @__PURE__ */ c.jsx(
40
- "div",
41
- {
42
- "data-testid": "loading",
43
- className: e(C, {
44
- "block!": !i,
45
- [s.layer]: k,
46
- [s[`${i}`]]: i
47
- }),
48
- children: /* @__PURE__ */ c.jsx(
49
- "div",
50
- {
51
- className: e(_, s.skCircle, {
52
- [s[`${i}`]]: i
53
- }),
54
- children: r
55
- }
56
- )
57
- }
58
- );
59
- };
60
- export {
61
- b as default
62
- };
@@ -1,74 +0,0 @@
1
- import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
2
- import { useEffect as N } from "react";
3
- import { c as s } from "../../index-BHf7G3IG.js";
4
- import { Icons as b } from "../../assets/icons/icons.js";
5
- import f from "../Icon/index.js";
6
- import '../../Modal.css';const g = "_overlay_6ze30_2", z = "_modal_6ze30_2", C = "_content_6ze30_2", w = "_header_6ze30_2", k = "_close_6ze30_2", E = "_body_6ze30_2", S = "_desc_6ze30_2", F = "_modal__light_6ze30_2", o = {
7
- overlay: g,
8
- modal: z,
9
- content: C,
10
- header: w,
11
- close: k,
12
- body: E,
13
- desc: S,
14
- modal__light: F
15
- }, H = (m) => {
16
- const {
17
- children: i,
18
- header: a,
19
- title: t,
20
- description: d,
21
- className: _,
22
- onClose: h,
23
- showClose: y = !0,
24
- visible: c = !0,
25
- appearance: l,
26
- headerClass: v,
27
- descriptionClass: x
28
- } = m, p = () => {
29
- document.body.style.width = "calc(100% - 15px)", document.body.className = "overflow-hidden";
30
- }, j = () => {
31
- document.body.className = "", document.body.removeAttribute("style");
32
- }, n = () => {
33
- h();
34
- };
35
- return N(() => {
36
- const r = (u) => {
37
- u.key === "Escape" && n();
38
- };
39
- return document.addEventListener("keydown", r), c && p(), () => {
40
- j(), document.removeEventListener("keydown", r);
41
- };
42
- }, [c]), /* @__PURE__ */ e.jsx(e.Fragment, { children: c && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
43
- /* @__PURE__ */ e.jsx(
44
- "div",
45
- {
46
- "data-testid": "modal-overlay",
47
- onClick: n,
48
- className: o.overlay
49
- }
50
- ),
51
- /* @__PURE__ */ e.jsx(
52
- "div",
53
- {
54
- className: s(o.modal, {
55
- [o[`modal__${l}`]]: l
56
- }),
57
- "data-testid": "modal-container",
58
- children: /* @__PURE__ */ e.jsxs("div", { className: s(_, o.content), children: [
59
- t || a ? /* @__PURE__ */ e.jsxs("div", { className: s(o.header, v), children: [
60
- t ? /* @__PURE__ */ e.jsx("h2", { children: t }) : a,
61
- y && /* @__PURE__ */ e.jsx("span", { className: o.close, onClick: n, children: /* @__PURE__ */ e.jsx(f, { name: b.Close }) })
62
- ] }) : /* @__PURE__ */ e.jsx(e.Fragment, {}),
63
- /* @__PURE__ */ e.jsxs("div", { className: o.body, children: [
64
- d && /* @__PURE__ */ e.jsx("p", { className: s(o.desc, x), children: d }),
65
- i
66
- ] })
67
- ] })
68
- }
69
- )
70
- ] }) });
71
- };
72
- export {
73
- H as default
74
- };
@@ -1,59 +0,0 @@
1
- import { j as t } from "../../jsx-runtime-BcAkpsdy.js";
2
- import m from "../Icon/index.js";
3
- import x from "../InfoDate/InfoDate.js";
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
- content: N,
12
- iconWrapper: b,
13
- titleGroup: G,
14
- title: w,
15
- textGroup: C,
16
- footer: W
17
- }, E = (c) => {
18
- const { t: s } = f(), {
19
- id: o,
20
- to: l,
21
- title: r,
22
- content: i,
23
- icon: d,
24
- iconClassName: p,
25
- serviceCount: n = 0,
26
- appCount: a = 0
27
- } = c;
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
- /* @__PURE__ */ t.jsxs("div", { className: e.content, children: [
31
- /* @__PURE__ */ t.jsxs("div", { children: [
32
- /* @__PURE__ */ t.jsx("div", { className: e.titleGroup, children: /* @__PURE__ */ t.jsx(
33
- _,
34
- {
35
- id: `title-${o}`,
36
- className: "width90",
37
- tooltipContent: r,
38
- ellipsis: !0,
39
- children: /* @__PURE__ */ t.jsxs("h2", { className: e.title, children: [
40
- " ",
41
- r
42
- ] })
43
- }
44
- ) }),
45
- /* @__PURE__ */ t.jsxs("div", { className: e.textGroup, hidden: !i, children: [
46
- /* @__PURE__ */ t.jsx("span", { children: s("label.date_created") }),
47
- /* @__PURE__ */ t.jsx(x, { date: i })
48
- ] })
49
- ] }),
50
- /* @__PURE__ */ t.jsxs("div", { className: e.footer, 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
- ] })
54
- ] })
55
- ] }) }, `link-${o}`);
56
- };
57
- export {
58
- E as default
59
- };
@@ -1,12 +0,0 @@
1
- import { j as t } from "../../jsx-runtime-BcAkpsdy.js";
2
- import { u as e } from "../../useTranslation-CnCPcxVj.js";
3
- import '../../NoResult.css';const r = "_noResult_udr5k_2", u = {
4
- noResult: r
5
- };
6
- function i({ text: s }) {
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
- }
10
- export {
11
- i as default
12
- };
@@ -1,26 +0,0 @@
1
- import { j as a } from "../../jsx-runtime-BcAkpsdy.js";
2
- import { t as c } from "../../react-toastify.esm-BUWNP7Nm.js";
3
- import i from "../Icon/index.js";
4
- import { Icons as o } from "../../assets/icons/icons.js";
5
- const u = (t) => {
6
- const { message: e, type: s, closeTime: r = 5e3 } = t, n = {
7
- success: o.Check,
8
- warning: o.Warning,
9
- error: o.Close
10
- };
11
- c[s](e, {
12
- toastId: e,
13
- position: "top-center",
14
- autoClose: r,
15
- theme: "dark",
16
- closeButton: !1,
17
- hideProgressBar: !0,
18
- closeOnClick: !0,
19
- pauseOnHover: !1,
20
- draggable: !1,
21
- icon: /* @__PURE__ */ a.jsx(i, { name: n[s] })
22
- });
23
- };
24
- export {
25
- u as Notification
26
- };
@@ -1,46 +0,0 @@
1
- import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
2
- import m from "../PermaLink/PermaLink.js";
3
- import { c as u } from "../../index-BHf7G3IG.js";
4
- import { u as p } from "../../useTranslation-CnCPcxVj.js";
5
- import '../../PageWrap.css';const x = "_breadcrumb_mkbfo_2", h = "_breadcrumbItem_mkbfo_2", j = "_pageContent_mkbfo_2", r = {
6
- breadcrumb: x,
7
- breadcrumbItem: h,
8
- pageContent: j
9
- }, v = (s) => {
10
- const { children: c, breadcrumbs: d, className: b, defaultRoute: o = "/" } = s, { t: i } = p();
11
- return /* @__PURE__ */ e.jsxs(
12
- "div",
13
- {
14
- className: u(r.pageWrapper, b),
15
- "data-testid": "pagewrapper-container",
16
- children: [
17
- /* @__PURE__ */ e.jsxs("div", { className: r.breadcrumb, children: [
18
- /* @__PURE__ */ e.jsx(
19
- "div",
20
- {
21
- "data-testid": "breadcrumb-item",
22
- className: r.breadcrumbItem,
23
- children: /* @__PURE__ */ e.jsx(m, { to: o, children: i("title.home") })
24
- },
25
- "breadcrumb-item-home"
26
- ),
27
- d.map(
28
- ({ name: a, route: t, state: n }, l) => /* @__PURE__ */ e.jsx(
29
- "div",
30
- {
31
- "data-testid": "breadcrumb-item",
32
- className: r.breadcrumbItem,
33
- children: t ? /* @__PURE__ */ e.jsx(m, { to: t, state: n, children: a }) : /* @__PURE__ */ e.jsx("a", { children: a })
34
- },
35
- `breadcrumb-item-${l}`
36
- )
37
- )
38
- ] }),
39
- /* @__PURE__ */ e.jsx("div", { className: r.pageContent, children: c })
40
- ]
41
- }
42
- );
43
- };
44
- export {
45
- v as default
46
- };