gasp-components 1.0.9 → 1.0.11

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 (86) hide show
  1. package/dist/UploadOutlined-9WKjHsqa.js +878 -0
  2. package/dist/components/ag-grid-table/index.js +57877 -38314
  3. package/dist/components/button/index.js +18 -18
  4. package/dist/components/checklist/checklist-item.js +3 -3
  5. package/dist/components/checklist/index.js +5 -5
  6. package/dist/components/date-picker/index.js +9 -5022
  7. package/dist/components/dragger/index.js +28 -28
  8. package/dist/components/dropdown/index.js +10 -11
  9. package/dist/components/form/index.js +8 -9
  10. package/dist/components/form-item/index.js +10 -10
  11. package/dist/components/input/index.js +8 -8
  12. package/dist/components/modal/index.js +18 -20
  13. package/dist/components/password-input/index.js +2 -2
  14. package/dist/components/progress/index.js +16 -18
  15. package/dist/components/progress-circle/index.js +3 -3
  16. package/dist/components/radio-button/index.js +8 -8
  17. package/dist/components/result-popup/index.js +13 -14
  18. package/dist/components/select/index.js +1 -1
  19. package/dist/components/side-menu/index.js +2 -2
  20. package/dist/components/side-menu/menu-item.js +4 -6
  21. package/dist/components/steps/index.js +9 -9
  22. package/dist/components/table/index.js +16 -9298
  23. package/dist/components/tabs/index.js +10 -10
  24. package/dist/components/tabs/tab.js +7 -8
  25. package/dist/components/tag/index.js +9 -258
  26. package/dist/components/timeline-horizontal/index.js +7 -7
  27. package/dist/components/upload/index.js +62 -77
  28. package/dist/index-WlPrqxgY.js +87 -0
  29. package/dist/main.js +69 -457
  30. package/package.json +4 -3
  31. package/dist/CheckCircleFilled-xt-0R96Z.js +0 -16
  32. package/dist/CheckOutlined-EgxCAgj_.js +0 -16
  33. package/dist/CloseCircleFilled-bIgIULWb.js +0 -16
  34. package/dist/CloseOutlined-Q3kC3EZS.js +0 -16
  35. package/dist/Compact-fdEKV_mF.js +0 -180
  36. package/dist/ExclamationCircleFilled-XzDBEGmA.js +0 -16
  37. package/dist/KeyCode-qFRXB1-n.js +0 -517
  38. package/dist/LoadingOutlined-6Ipqn0og.js +0 -16
  39. package/dist/Overflow-JFdXKgCr.js +0 -231
  40. package/dist/PurePanel-hLGnXbul.js +0 -60
  41. package/dist/SearchOutlined-rJTFGXUi.js +0 -16
  42. package/dist/TextArea-n3dknzTq.js +0 -716
  43. package/dist/UploadOutlined-D8jfLEgv.js +0 -27
  44. package/dist/asyncToGenerator-t4sKr8R4.js +0 -340
  45. package/dist/button-LN5ZDad8.js +0 -819
  46. package/dist/collapse-ilv4Tji1.js +0 -20
  47. package/dist/colors-opGg9oSz.js +0 -25
  48. package/dist/compact-item-jjuVmDBH.js +0 -61
  49. package/dist/context-h3WSVDPz.js +0 -2087
  50. package/dist/createFormattedComponent-FcpICAm8.js +0 -3260
  51. package/dist/index--6VfGMUo.js +0 -402
  52. package/dist/index-0mpuHoS5.js +0 -996
  53. package/dist/index-1KQbTQJ2.js +0 -4405
  54. package/dist/index-5Uo03BMk.js +0 -681
  55. package/dist/index-BFgxz47K.js +0 -89
  56. package/dist/index-D3LMPWyJ.js +0 -1437
  57. package/dist/index-DVS_nWxv.js +0 -3026
  58. package/dist/index-ELHBhuK9.js +0 -100
  59. package/dist/index-Fn8q8B3V.js +0 -107
  60. package/dist/index-GgkQrebz.js +0 -950
  61. package/dist/index-L-MzVDcK.js +0 -616
  62. package/dist/index-M3WnMjiA.js +0 -230
  63. package/dist/index-NQd_zMf0.js +0 -69
  64. package/dist/index-ZT64Ec6u.js +0 -267
  65. package/dist/index-aawDqn9q.js +0 -3337
  66. package/dist/index-k04G4nlS.js +0 -1416
  67. package/dist/index-s3u4YBl4.js +0 -8
  68. package/dist/index-vtDVJV8q.js +0 -19571
  69. package/dist/isVisible-Qi9l15Ty.js +0 -232
  70. package/dist/motion-0ToOu81j.js +0 -226
  71. package/dist/motion-NQme0FJ_.js +0 -32
  72. package/dist/omit-ylWA0ZLZ.js +0 -10
  73. package/dist/pickAttrs-zaQzRTqh.js +0 -42
  74. package/dist/progress-a1_pwKVT.js +0 -722
  75. package/dist/reactNode-R20zZQk1.js +0 -18
  76. package/dist/responsiveObserver-V1_1G14X.js +0 -71
  77. package/dist/roundedArrow-p1Pmd9av.js +0 -64
  78. package/dist/row-sPFiFm0C.js +0 -230
  79. package/dist/slide-mFXPRHku.js +0 -265
  80. package/dist/styleChecker-pZ3k2IiY.js +0 -37
  81. package/dist/useCSSVarCls-GwZT_WiF.js +0 -9
  82. package/dist/useClosable-4G12n4Bp.js +0 -15
  83. package/dist/useLocale-eThlLZJw.js +0 -16
  84. package/dist/useMergedState-qUafLuUa.js +0 -23
  85. package/dist/useVariants-s0IcneBD.js +0 -25
  86. package/dist/zoom-Ps8y0jNW.js +0 -174
@@ -1,31 +1,31 @@
1
1
  import { jsxs as i, jsx as a, Fragment as h } from "react/jsx-runtime";
2
- import { c as N } from "../../index-NQd_zMf0.js";
2
+ import { Typography as p } from "antd";
3
+ import N from "classnames";
3
4
  import { useState as T, useRef as _, useEffect as u } from "react";
4
- import O from "../../icons/file-icon/index.js";
5
- import A from "../../icons/upload-icon/index.js";
6
- import { D as k, U as F } from "../../UploadOutlined-D8jfLEgv.js";
7
- import { T as p } from "../../index-0mpuHoS5.js";
8
- import { F as w } from "../../createFormattedComponent-FcpICAm8.js";
5
+ import { FormattedNumberParts as O } from "react-intl";
6
+ import A from "../../icons/file-icon/index.js";
7
+ import k from "../../icons/upload-icon/index.js";
8
+ import { D as w, U as B } from "../../UploadOutlined-9WKjHsqa.js";
9
9
  const C = ({
10
10
  multiple: f = !1,
11
11
  onChange: c,
12
12
  value: m,
13
13
  placeholder: g
14
14
  }) => {
15
- const [s, n] = T([]), d = _(null), x = (e) => {
15
+ const [o, n] = T([]), d = _(null), x = (e) => {
16
16
  var l;
17
17
  (l = e.target.files) != null && l.length && n(f ? [
18
- ...s,
18
+ ...o,
19
19
  ...Array.from(Array(e.target.files.length)).map(
20
- (r, o) => {
20
+ (r, s) => {
21
21
  var t;
22
- return (t = e.target.files) == null ? void 0 : t.item(o);
22
+ return (t = e.target.files) == null ? void 0 : t.item(s);
23
23
  }
24
24
  )
25
25
  ] : Array.from(Array(e.target.files.length)).map(
26
- (r, o) => {
26
+ (r, s) => {
27
27
  var t;
28
- return (t = e.target.files) == null ? void 0 : t.item(o);
28
+ return (t = e.target.files) == null ? void 0 : t.item(s);
29
29
  }
30
30
  ));
31
31
  }, y = (e) => {
@@ -35,33 +35,33 @@ const C = ({
35
35
  }, b = (e) => {
36
36
  var l;
37
37
  e.preventDefault(), (l = e.dataTransfer.files) != null && l.length && n(f ? [
38
- ...s,
38
+ ...o,
39
39
  ...Array.from(Array(e.dataTransfer.files.length)).map(
40
- (r, o) => {
40
+ (r, s) => {
41
41
  var t;
42
- return (t = e.dataTransfer.files) == null ? void 0 : t.item(o);
42
+ return (t = e.dataTransfer.files) == null ? void 0 : t.item(s);
43
43
  }
44
44
  )
45
45
  ] : Array.from(Array(e.dataTransfer.files.length)).map(
46
- (r, o) => {
46
+ (r, s) => {
47
47
  var t;
48
- return (t = e.dataTransfer.files) == null ? void 0 : t.item(o);
48
+ return (t = e.dataTransfer.files) == null ? void 0 : t.item(s);
49
49
  }
50
50
  ));
51
51
  }, D = (e, l) => {
52
52
  e.stopPropagation();
53
53
  const r = [
54
- ...s.slice(0, l),
55
- ...s.slice(l + 1)
54
+ ...o.slice(0, l),
55
+ ...o.slice(l + 1)
56
56
  ];
57
57
  n(r), c && c(r.length === 0 ? null : r), d.current && (d.current.value = "");
58
58
  };
59
59
  return u(() => {
60
60
  m && m.length > 0 && n(m);
61
61
  }, [m]), u(() => {
62
- s.length > 0 && c && c(s);
63
- }, [s, c]), /* @__PURE__ */ i("div", { className: "flex flex-wrap gap-4", children: [
64
- s.map((e, l) => /* @__PURE__ */ i(
62
+ o.length > 0 && c && c(o);
63
+ }, [o, c]), /* @__PURE__ */ i("div", { className: "flex flex-wrap gap-4", children: [
64
+ o.map((e, l) => /* @__PURE__ */ i(
65
65
  "div",
66
66
  {
67
67
  className: "relative group basis-full max-h-48 flex items-center gap-x-3 py-12 pe-2 ps-4 bg-lightBlue rounded-2xl hover:cursor-pointer",
@@ -76,18 +76,18 @@ const C = ({
76
76
  {
77
77
  className: "absolute opacity-0 group-hover:opacity-100 transition-opacity -left-2 -top-2 flex items-center justify-center text-ghostWhite bg-coral rounded-full w-6 h-6",
78
78
  onClick: (r) => D(r, l),
79
- children: /* @__PURE__ */ a(k, { size: 4 })
79
+ children: /* @__PURE__ */ a(w, { size: 4 })
80
80
  }
81
81
  ),
82
- /* @__PURE__ */ a(F, { className: "flex-1 text-slateGray" }),
82
+ /* @__PURE__ */ a(B, { className: "flex-1 text-slateGray" }),
83
83
  /* @__PURE__ */ i("div", { className: "flex flex-col items-end gap-y-1", children: [
84
84
  /* @__PURE__ */ a(p.Text, { className: "text-xs font-semibold text-ellipsis overflow-hidden whitespace-nowrap", children: e.name }),
85
- /* @__PURE__ */ a(p.Text, { className: "text-xs", children: /* @__PURE__ */ a(w, { value: e.size, children: (r) => /* @__PURE__ */ i(h, { children: [
85
+ /* @__PURE__ */ a(p.Text, { className: "text-xs", children: /* @__PURE__ */ a(O, { value: e.size, children: (r) => /* @__PURE__ */ i(h, { children: [
86
86
  r[0].value,
87
87
  " Kb"
88
88
  ] }) }) })
89
89
  ] }),
90
- /* @__PURE__ */ a(O, {})
90
+ /* @__PURE__ */ a(A, {})
91
91
  ]
92
92
  },
93
93
  e.name
@@ -98,7 +98,7 @@ const C = ({
98
98
  className: N(
99
99
  "basis-full max-h-48 flex flex-col items-center justify-center py-12 bg-ghostWhite rounded-2xl border-dashed border border-gainsboro hover:border-dodgerBlue hover:cursor-pointer transition-colors duration-200",
100
100
  {
101
- hidden: !f && s.length > 0
101
+ hidden: !f && o.length > 0
102
102
  }
103
103
  ),
104
104
  role: "button",
@@ -120,7 +120,7 @@ const C = ({
120
120
  onChange: x
121
121
  }
122
122
  ),
123
- /* @__PURE__ */ a(A, {}),
123
+ /* @__PURE__ */ a(k, {}),
124
124
  /* @__PURE__ */ a(p.Text, { className: "mt-3 font-normal", children: g || /* @__PURE__ */ i(h, { children: [
125
125
  /* @__PURE__ */ a("span", { className: "text-dodgerBlue", children: "click_here_to" }),
126
126
  " ",
@@ -1,26 +1,25 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { c as m } from "../../index-NQd_zMf0.js";
3
- import "../../index-s3u4YBl4.js";
4
- import { u as p } from "../../createFormattedComponent-FcpICAm8.js";
5
- import { A as c } from "../../index-DVS_nWxv.js";
2
+ import { Dropdown as p } from "antd";
3
+ import e from "classnames";
4
+ import { useIntl as m } from "react-intl";
6
5
  const f = ({
7
- children: r,
6
+ children: t,
8
7
  menu: o,
9
8
  ...s
10
9
  }) => {
11
- const { locale: t } = p();
10
+ const { locale: r } = m();
12
11
  return /* @__PURE__ */ a(
13
- c,
12
+ p,
14
13
  {
15
14
  ...s,
16
15
  menu: {
17
16
  ...o,
18
- className: m(o == null ? void 0 : o.className, {
19
- "text-end": t === "ar",
20
- "text-start": t === "en"
17
+ className: e(o == null ? void 0 : o.className, {
18
+ "text-end": r === "ar",
19
+ "text-start": r === "en"
21
20
  })
22
21
  },
23
- children: r
22
+ children: t
24
23
  }
25
24
  );
26
25
  };
@@ -1,17 +1,16 @@
1
1
  import { jsx as s, Fragment as t } from "react/jsx-runtime";
2
- import { c as i } from "../../index-NQd_zMf0.js";
3
- import "../../index-s3u4YBl4.js";
4
- import { u as l } from "../../createFormattedComponent-FcpICAm8.js";
5
- import { A as c } from "../../index-D3LMPWyJ.js";
6
- const x = ({
2
+ import { Form as i } from "antd";
3
+ import l from "classnames";
4
+ import { useIntl as c } from "react-intl";
5
+ const g = ({
7
6
  className: e,
8
7
  children: r,
9
8
  validateMessages: m,
10
9
  ...o
11
10
  }) => {
12
- const { formatMessage: a } = l();
11
+ const { formatMessage: a } = c();
13
12
  return /* @__PURE__ */ s(
14
- c,
13
+ i,
15
14
  {
16
15
  ...o,
17
16
  validateMessages: {
@@ -20,11 +19,11 @@ const x = ({
20
19
  }),
21
20
  ...m
22
21
  },
23
- className: i([e, "flex flex-col gap-y-8"]),
22
+ className: l([e, "flex flex-col gap-y-8"]),
24
23
  children: /* @__PURE__ */ s(t, { children: r })
25
24
  }
26
25
  );
27
26
  };
28
27
  export {
29
- x as Form
28
+ g as Form
30
29
  };
@@ -1,30 +1,30 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { c as a } from "../../index-NQd_zMf0.js";
3
- import { A as p } from "../../index-D3LMPWyJ.js";
2
+ import { Form as i } from "antd";
3
+ import e from "classnames";
4
4
  const x = ({
5
5
  name: t,
6
6
  label: s,
7
7
  labelCol: m,
8
- className: e,
9
- children: o,
8
+ className: o,
9
+ children: a,
10
10
  messageVariables: c,
11
- ...n
11
+ ...p
12
12
  }) => /* @__PURE__ */ r(
13
- p.Item,
13
+ i.Item,
14
14
  {
15
- ...n,
15
+ ...p,
16
16
  name: t,
17
- className: a(e, "text-sm font-bold mb-0"),
17
+ className: e(o, "text-sm font-bold mb-0"),
18
18
  label: s && /* @__PURE__ */ r("span", { className: "text-sm", children: s }),
19
19
  labelCol: {
20
20
  ...m,
21
- className: a(m == null ? void 0 : m.className, "!pb-4")
21
+ className: e(m == null ? void 0 : m.className, "!pb-4")
22
22
  },
23
23
  messageVariables: {
24
24
  name: typeof s == "string" ? s : t,
25
25
  ...c
26
26
  },
27
- children: o
27
+ children: a
28
28
  }
29
29
  );
30
30
  export {
@@ -1,18 +1,18 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
- import { c as r } from "../../index-NQd_zMf0.js";
3
- import { I as o } from "../../index-M3WnMjiA.js";
2
+ import { Input as o } from "antd";
3
+ import r from "classnames";
4
4
  const b = ({
5
- className: f,
5
+ className: n,
6
6
  classNames: p,
7
- isPassword: n = !1,
8
- ...t
7
+ isPassword: t = !1,
8
+ ...f
9
9
  }) => {
10
- const i = "rounded-xl px-4 leading-none font-semibold !bg-transparent h-[56px]", x = n ? o.Password : o;
10
+ const i = "rounded-xl px-4 leading-none font-semibold !bg-transparent h-[56px]", x = t ? o.Password : o;
11
11
  return /* @__PURE__ */ u(
12
12
  x,
13
13
  {
14
- ...t,
15
- className: r(f, i),
14
+ ...f,
15
+ className: r(n, i),
16
16
  classNames: {
17
17
  ...p,
18
18
  affixWrapper: r(p == null ? void 0 : p.affixWrapper, "ps-4"),
@@ -1,43 +1,41 @@
1
1
  import { jsx as t, jsxs as x } from "react/jsx-runtime";
2
- import { useState as h, useEffect as g } from "react";
3
- import "../../index-s3u4YBl4.js";
4
- import y from "../../icons/close-outlined-icon/index.js";
5
- import { c as r } from "../../index-NQd_zMf0.js";
6
- import { u as B } from "../../createFormattedComponent-FcpICAm8.js";
7
- import { M as c } from "../../index-k04G4nlS.js";
8
- import { B as j } from "../../button-LN5ZDad8.js";
9
- const w = ({
2
+ import { Modal as h, Button as g } from "antd";
3
+ import { useState as y, useEffect as j } from "react";
4
+ import { useIntl as v } from "react-intl";
5
+ import B from "../../icons/close-outlined-icon/index.js";
6
+ import r from "classnames";
7
+ const k = ({
10
8
  title: p,
11
9
  children: b,
12
10
  classNames: o,
13
- onCancel: i,
11
+ onCancel: n,
14
12
  ...e
15
13
  }) => {
16
- const { locale: n } = B(), [f, d] = h(!1), l = (u) => {
17
- d(!1), i && i(u);
14
+ const { locale: i } = v(), [l, d] = y(!1), f = (u) => {
15
+ d(!1), n && n(u);
18
16
  };
19
- return g(() => {
17
+ return j(() => {
20
18
  d(e.open);
21
19
  }, [e.open, d]), /* @__PURE__ */ t(
22
- c,
20
+ h,
23
21
  {
24
22
  ...e,
25
- open: f,
23
+ open: l,
26
24
  closeIcon: null,
27
25
  title: /* @__PURE__ */ x(
28
26
  "div",
29
27
  {
30
28
  className: "flex justify-between items-center",
31
- dir: n === "ar" ? "rtl" : "ltr",
29
+ dir: i === "ar" ? "rtl" : "ltr",
32
30
  children: [
33
31
  p,
34
32
  /* @__PURE__ */ t(
35
- j,
33
+ g,
36
34
  {
37
35
  className: "bg-ghostWhite hover:!bg-ghostWhite ms-auto",
38
36
  type: "text",
39
- onClick: l,
40
- icon: /* @__PURE__ */ t(y, {})
37
+ onClick: f,
38
+ icon: /* @__PURE__ */ t(B, {})
41
39
  }
42
40
  )
43
41
  ]
@@ -56,10 +54,10 @@ const w = ({
56
54
  "!px-6 !pt-6 !pb-7 !border-t !border-solid !border-0 !border-aliceBlue"
57
55
  )
58
56
  },
59
- children: /* @__PURE__ */ t("div", { dir: n === "ar" ? "rtl" : "ltr", children: b })
57
+ children: /* @__PURE__ */ t("div", { dir: i === "ar" ? "rtl" : "ltr", children: b })
60
58
  }
61
59
  );
62
60
  };
63
61
  export {
64
- w as Modal
62
+ k as Modal
65
63
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { c as r } from "../../index-NQd_zMf0.js";
3
- import { I as n } from "../../index-M3WnMjiA.js";
2
+ import { Input as n } from "antd";
3
+ import r from "classnames";
4
4
  const e = ({
5
5
  className: o,
6
6
  classNames: p,
@@ -1,32 +1,30 @@
1
- import { jsxs as t, jsx as r } from "react/jsx-runtime";
2
- import { c as m } from "../../index-NQd_zMf0.js";
3
- import { R as f } from "../../row-sPFiFm0C.js";
4
- import { T as l } from "../../index-0mpuHoS5.js";
5
- import { P as p } from "../../progress-a1_pwKVT.js";
6
- const h = ({
1
+ import { jsxs as t, jsx as o } from "react/jsx-runtime";
2
+ import { Row as l, Typography as x, Progress as n } from "antd";
3
+ import e from "classnames";
4
+ const p = ({
7
5
  percent: s = 0,
8
- className: a,
9
- format: o,
10
- showInfo: e = !0,
6
+ className: m,
7
+ format: r,
8
+ showInfo: a = !0,
11
9
  ...i
12
- }) => /* @__PURE__ */ t(f, { justify: "end", children: [
13
- /* @__PURE__ */ r(
14
- l.Text,
10
+ }) => /* @__PURE__ */ t(l, { justify: "end", children: [
11
+ /* @__PURE__ */ o(
12
+ x.Text,
15
13
  {
16
- className: m("mb-1 font-medium text-xs leading-[18px]"),
17
- children: e && (o ? o(s) : `${s}%`)
14
+ className: e("mb-1 font-medium text-xs leading-[18px]"),
15
+ children: a && (r ? r(s) : `${s}%`)
18
16
  }
19
17
  ),
20
- /* @__PURE__ */ r(
21
- p,
18
+ /* @__PURE__ */ o(
19
+ n,
22
20
  {
23
21
  ...i,
24
22
  percent: s,
25
23
  showInfo: !1,
26
- className: m(a, "m-0 leading-[0px]")
24
+ className: e(m, "m-0 leading-[0px]")
27
25
  }
28
26
  )
29
27
  ] });
30
28
  export {
31
- h as Progress
29
+ p as Progress
32
30
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { c as e } from "../../index-NQd_zMf0.js";
3
- import { P as a } from "../../progress-a1_pwKVT.js";
2
+ import { Progress as i } from "antd";
3
+ import e from "classnames";
4
4
  const m = ({
5
5
  containerClassName: s,
6
6
  className: t,
@@ -13,7 +13,7 @@ const m = ({
13
13
  "w-fit bg-gray-100 rounded-full"
14
14
  ]),
15
15
  children: /* @__PURE__ */ r(
16
- a,
16
+ i,
17
17
  {
18
18
  className: e([t, "flex items-center justify-center"]),
19
19
  trailColor: "transparent",
@@ -1,28 +1,28 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { c as n } from "../../index-NQd_zMf0.js";
3
- import { useContext as i } from "react";
2
+ import { Typography as n } from "antd";
3
+ import i from "classnames";
4
+ import { useContext as p } from "react";
4
5
  import { radioButtonGroupContext as a } from "../radio-button-group/context.js";
5
- import { T as p } from "../../index-0mpuHoS5.js";
6
6
  const u = ({
7
7
  value: t,
8
8
  onChange: o,
9
- children: s
9
+ children: m
10
10
  }) => {
11
- const r = i(a), m = () => {
11
+ const r = p(a), s = () => {
12
12
  o && o(t);
13
13
  };
14
14
  return /* @__PURE__ */ e(
15
15
  "div",
16
16
  {
17
- className: n(
17
+ className: i(
18
18
  "min-w-[94px] text-center rounded-lg px-4 py-2 hover:cursor-pointer",
19
19
  {
20
20
  "bg-ghostWhite": r !== t,
21
21
  "bg-lightBlue": r === t
22
22
  }
23
23
  ),
24
- onClick: m,
25
- children: /* @__PURE__ */ e(p.Text, { className: "text-sm text-slateGray font-medium", children: s })
24
+ onClick: s,
25
+ children: /* @__PURE__ */ e(n.Text, { className: "text-sm text-slateGray font-medium", children: m })
26
26
  }
27
27
  );
28
28
  };
@@ -1,35 +1,34 @@
1
- import { jsx as o, jsxs as l } from "react/jsx-runtime";
2
- import f from "../../icons/success-icon/index.js";
3
- import i from "../../icons/failed-icon/index.js";
4
- import { T as n } from "../../index-0mpuHoS5.js";
5
- import { M as u } from "../../index-k04G4nlS.js";
6
- const T = ({
1
+ import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
+ import { Typography as n, Modal as f } from "antd";
3
+ import i from "../../icons/success-icon/index.js";
4
+ import u from "../../icons/failed-icon/index.js";
5
+ const N = ({
7
6
  status: m = "success",
8
7
  title: s,
9
- subtitle: e,
8
+ subtitle: o,
10
9
  extra: c,
11
10
  classNames: r,
12
11
  ...t
13
12
  }) => {
14
- const p = typeof s == "string" ? /* @__PURE__ */ o(n.Text, { className: "font-bold text-2xl m-0", children: s }) : s, a = typeof e == "string" ? /* @__PURE__ */ o(n.Text, { className: "text-sm font-normal m-0", children: e }) : e;
15
- return /* @__PURE__ */ o(
16
- u,
13
+ const p = typeof s == "string" ? /* @__PURE__ */ e(n.Text, { className: "font-bold text-2xl m-0", children: s }) : s, d = typeof o == "string" ? /* @__PURE__ */ e(n.Text, { className: "text-sm font-normal m-0", children: o }) : o;
14
+ return /* @__PURE__ */ e(
15
+ f,
17
16
  {
18
17
  ...t,
19
18
  classNames: { ...r, content: "!p-10 !rounded-2xl" },
20
19
  footer: null,
21
20
  closeIcon: null,
22
21
  children: /* @__PURE__ */ l("div", { className: "flex flex-col items-center gap-y-8", children: [
23
- m === "success" ? /* @__PURE__ */ o(f, {}) : /* @__PURE__ */ o(i, {}),
22
+ m === "success" ? /* @__PURE__ */ e(i, {}) : /* @__PURE__ */ e(u, {}),
24
23
  /* @__PURE__ */ l("div", { className: "flex flex-col items-center gap-y-2", children: [
25
24
  p,
26
- e && a
25
+ o && d
27
26
  ] }),
28
- c == null ? void 0 : c.map((d) => d)
27
+ c == null ? void 0 : c.map((a) => a)
29
28
  ] })
30
29
  }
31
30
  );
32
31
  };
33
32
  export {
34
- T as ResultPopup
33
+ N as ResultPopup
35
34
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
- import { A as d } from "../../index-aawDqn9q.js";
2
+ import { Select as d } from "antd";
3
3
  const m = ({ options: r, ...s }) => {
4
4
  const a = r == null ? void 0 : r.map((e) => typeof e.label == "string" ? {
5
5
  ...e,
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
- import { H as r, S as p } from "../../index-BFgxz47K.js";
2
+ import "antd";
3
+ import { H as r, S as p } from "../../index-WlPrqxgY.js";
3
4
  import "react";
4
- import "../../index-ELHBhuK9.js";
5
5
  export {
6
6
  r as HighlightSideMenuItemContext,
7
7
  p as SideMenu
@@ -1,12 +1,10 @@
1
1
  import "react/jsx-runtime";
2
- import "../../index-NQd_zMf0.js";
2
+ import "antd";
3
+ import "classnames";
3
4
  import "react";
4
5
  import "../../icons/dashboard-icon/index.js";
5
- import { a as n } from "../../index-BFgxz47K.js";
6
+ import { a as d } from "../../index-WlPrqxgY.js";
6
7
  import "../../theme.js";
7
- import "../../index-Fn8q8B3V.js";
8
- import "../../index-0mpuHoS5.js";
9
- import "../../index-ELHBhuK9.js";
10
8
  export {
11
- n as SideMenuItem
9
+ d as SideMenuItem
12
10
  };
@@ -1,5 +1,5 @@
1
- import { jsx as o, jsxs as m } from "react/jsx-runtime";
2
- import { c as l } from "../../index-NQd_zMf0.js";
1
+ import { jsx as a, jsxs as m } from "react/jsx-runtime";
2
+ import l from "classnames";
3
3
  import { useState as p, useEffect as h } from "react";
4
4
  const v = ({
5
5
  className: f,
@@ -8,14 +8,14 @@ const v = ({
8
8
  onChange: n,
9
9
  items: d
10
10
  }) => {
11
- const [t, a] = p(i);
11
+ const [t, o] = p(i);
12
12
  h(() => {
13
- s && a(s);
14
- }, [s, a]);
13
+ s && o(s);
14
+ }, [s, o]);
15
15
  const c = (r) => {
16
- a(r), n && n(r);
16
+ o(r), n && n(r);
17
17
  };
18
- return /* @__PURE__ */ o("div", { className: l(f, "flex font-sans"), children: d.map((r, b) => {
18
+ return /* @__PURE__ */ a("div", { className: l(f, "flex font-sans"), children: d.map((r, b) => {
19
19
  const e = b + 1;
20
20
  return /* @__PURE__ */ m(
21
21
  "div",
@@ -28,7 +28,7 @@ const v = ({
28
28
  }
29
29
  ),
30
30
  children: [
31
- /* @__PURE__ */ o(
31
+ /* @__PURE__ */ a(
32
32
  "span",
33
33
  {
34
34
  onClick: () => c(e),
@@ -42,7 +42,7 @@ const v = ({
42
42
  children: e
43
43
  }
44
44
  ),
45
- /* @__PURE__ */ o("span", { className: "text-center", children: r.title })
45
+ /* @__PURE__ */ a("span", { className: "text-center", children: r.title })
46
46
  ]
47
47
  },
48
48
  e