gasp-components 1.0.3 → 1.0.5

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 (76) hide show
  1. package/dist/{CheckCircleFilled-0BksJw0a.js → CheckCircleFilled-xt-0R96Z.js} +2 -2
  2. package/dist/{CheckOutlined-uqw1dAco.js → CheckOutlined-EgxCAgj_.js} +2 -2
  3. package/dist/{CloseCircleFilled-8_PrYv1M.js → CloseCircleFilled-bIgIULWb.js} +2 -2
  4. package/dist/{CloseOutlined--jpI9Qw3.js → CloseOutlined-Q3kC3EZS.js} +2 -2
  5. package/dist/{Compact-TeM9cQzE.js → Compact-fdEKV_mF.js} +8 -8
  6. package/dist/{ExclamationCircleFilled-oQquZDmr.js → ExclamationCircleFilled-XzDBEGmA.js} +2 -2
  7. package/dist/{LoadingOutlined-UnQfEWdX.js → LoadingOutlined-6Ipqn0og.js} +2 -2
  8. package/dist/{Overflow-iob2b5Wo.js → Overflow-JFdXKgCr.js} +29 -29
  9. package/dist/{PurePanel-v_Df1Vfh.js → PurePanel-hLGnXbul.js} +2 -2
  10. package/dist/{SearchOutlined-q1KYFUUD.js → SearchOutlined-rJTFGXUi.js} +2 -2
  11. package/dist/{TextArea-wGjKg4dQ.js → TextArea-n3dknzTq.js} +127 -127
  12. package/dist/{UploadOutlined-mJrPhk1_.js → UploadOutlined-D8jfLEgv.js} +2 -2
  13. package/dist/{asyncToGenerator-IDY-s0XG.js → asyncToGenerator-t4sKr8R4.js} +1 -1
  14. package/dist/{button-HD_w_Dw4.js → button-LN5ZDad8.js} +5 -5
  15. package/dist/{colors-AE8T-s8Y.js → colors-opGg9oSz.js} +4 -4
  16. package/dist/components/button/index.js +17 -17
  17. package/dist/components/checklist/checklist-item.js +3 -3
  18. package/dist/components/checklist/index.js +3 -3
  19. package/dist/components/date-picker/index.js +22 -22
  20. package/dist/components/dragger/index.js +24 -24
  21. package/dist/components/dropdown/index.js +26 -26
  22. package/dist/components/form/index.js +28 -28
  23. package/dist/components/form-item/index.js +27 -27
  24. package/dist/components/input/index.js +20 -20
  25. package/dist/components/modal/index.js +33 -33
  26. package/dist/components/password-input/index.js +18 -18
  27. package/dist/components/progress/index.js +32 -32
  28. package/dist/components/progress-circle/index.js +17 -17
  29. package/dist/components/radio-button/index.js +26 -26
  30. package/dist/components/radio-button-group/index.js +23 -23
  31. package/dist/components/result-popup/index.js +33 -33
  32. package/dist/components/select/index.js +23 -23
  33. package/dist/components/side-menu/index.js +26 -26
  34. package/dist/components/side-menu/menu-item.js +26 -26
  35. package/dist/components/steps/index.js +11 -11
  36. package/dist/components/table/index.js +36 -36
  37. package/dist/components/tabs/index.js +28 -28
  38. package/dist/components/tabs/tab.js +29 -29
  39. package/dist/components/tag/index.js +7 -7
  40. package/dist/components/timeline-horizontal/index.js +23 -23
  41. package/dist/components/upload/index.js +45 -45
  42. package/dist/{context-bcpLewuE.js → context-h3WSVDPz.js} +4 -4
  43. package/dist/{index-rkVmCQAx.js → index--6VfGMUo.js} +2 -2
  44. package/dist/{index-jLgkaVBu.js → index-0mpuHoS5.js} +11 -11
  45. package/dist/{index-s55NV9P0.js → index-1KQbTQJ2.js} +8 -8
  46. package/dist/{index-l6CkDOfg.js → index-5Uo03BMk.js} +8 -8
  47. package/dist/{index-GRzi0tN8.js → index-BFgxz47K.js} +20 -20
  48. package/dist/{index-s920fd6h.js → index-D3LMPWyJ.js} +93 -93
  49. package/dist/{index-zaNVwFVE.js → index-DVS_nWxv.js} +16 -16
  50. package/dist/{index-4vkKu-tY.js → index-ELHBhuK9.js} +18 -18
  51. package/dist/{index-fkwpjTCF.js → index-Fn8q8B3V.js} +1 -1
  52. package/dist/{index-iLZIQa0S.js → index-GgkQrebz.js} +1 -1
  53. package/dist/{index-gSJyqTth.js → index-L-MzVDcK.js} +82 -82
  54. package/dist/{index-OcSg2uhO.js → index-M3WnMjiA.js} +32 -32
  55. package/dist/{index-1dpL-ID6.js → index-ZT64Ec6u.js} +19 -19
  56. package/dist/{index-G4mS9Q1k.js → index-aawDqn9q.js} +21 -21
  57. package/dist/{index-08tmSZyi.js → index-k04G4nlS.js} +58 -58
  58. package/dist/{isVisible-dMm2KpVt.js → isVisible-Qi9l15Ty.js} +5 -5
  59. package/dist/main.d.ts +10 -2
  60. package/dist/main.js +156 -134
  61. package/dist/{motion-HJgOMAD9.js → motion-0ToOu81j.js} +12 -12
  62. package/dist/{omit-iDLobDmh.js → omit-ylWA0ZLZ.js} +1 -1
  63. package/dist/{pickAttrs-8tivSTLL.js → pickAttrs-zaQzRTqh.js} +1 -1
  64. package/dist/{progress-KLD42eXS.js → progress-a1_pwKVT.js} +23 -23
  65. package/dist/{responsiveObserver-HzrC-TmX.js → responsiveObserver-V1_1G14X.js} +3 -3
  66. package/dist/{roundedArrow-K_0MXOnG.js → roundedArrow-p1Pmd9av.js} +1 -1
  67. package/dist/{row-fxwx4hxc.js → row-sPFiFm0C.js} +25 -25
  68. package/dist/{slide-zQQNR_XQ.js → slide-mFXPRHku.js} +2 -2
  69. package/dist/{styleChecker-CIyuwreK.js → styleChecker-pZ3k2IiY.js} +1 -1
  70. package/dist/{useCSSVarCls-dgS8HrGW.js → useCSSVarCls-GwZT_WiF.js} +3 -3
  71. package/dist/{useClosable-UlLHff74.js → useClosable-4G12n4Bp.js} +1 -1
  72. package/dist/{useLocale-fOtLWNp9.js → useLocale-eThlLZJw.js} +1 -1
  73. package/dist/{useMergedState-L_aEbDOR.js → useMergedState-qUafLuUa.js} +7 -7
  74. package/dist/{useVariants-uVtKaOT2.js → useVariants-s0IcneBD.js} +5 -5
  75. package/dist/{zoom-AOeYf6vQ.js → zoom-Ps8y0jNW.js} +2 -2
  76. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import { c as L } from "./index-NQd_zMf0.js";
2
- import { _ as K, g as Y, E as J, y as R, F as Q, C as k, c as X, s as Z, G as ee } from "./index-s55NV9P0.js";
3
- import { u as te, i as oe } from "./isVisible-dMm2KpVt.js";
2
+ import { _ as K, g as Y, E as J, y as R, F as Q, C as k, u as X, s as Z, G as ee } from "./index-1KQbTQJ2.js";
3
+ import { u as te, i as oe } from "./isVisible-Qi9l15Ty.js";
4
4
  import * as a from "react";
5
5
  import O, { useContext as ne, useRef as re } from "react";
6
6
  import { c as se } from "./reactNode-R20zZQk1.js";
7
- import { _ as $, a as E } from "./asyncToGenerator-IDY-s0XG.js";
7
+ import { _ as $, a as E } from "./asyncToGenerator-t4sKr8R4.js";
8
8
  import { R as ae } from "./index-vtDVJV8q.js";
9
9
  var h = K({}, ae), ie = h.version, ue = h.render, ce = h.unmountComponentAtNode, g;
10
10
  try {
@@ -25,14 +25,14 @@ function de(e, t) {
25
25
  function fe(e, t) {
26
26
  ue(e, t);
27
27
  }
28
- function pe(e, t) {
28
+ function me(e, t) {
29
29
  if (g) {
30
30
  de(e, t);
31
31
  return;
32
32
  }
33
33
  fe(e, t);
34
34
  }
35
- function me(e) {
35
+ function pe(e) {
36
36
  return w.apply(this, arguments);
37
37
  }
38
38
  function w() {
@@ -68,7 +68,7 @@ function N() {
68
68
  n.next = 2;
69
69
  break;
70
70
  }
71
- return n.abrupt("return", me(t));
71
+ return n.abrupt("return", pe(t));
72
72
  case 2:
73
73
  ve(t);
74
74
  case 3:
@@ -131,9 +131,9 @@ const ye = (e) => {
131
131
  className: t,
132
132
  target: o,
133
133
  component: n
134
- } = e, r = a.useRef(null), [c, d] = a.useState(null), [f, _] = a.useState([]), [l, s] = a.useState(0), [p, m] = a.useState(0), [D, U] = a.useState(0), [j, B] = a.useState(0), [F, P] = a.useState(!1), W = {
134
+ } = e, r = a.useRef(null), [c, d] = a.useState(null), [f, _] = a.useState([]), [l, s] = a.useState(0), [m, p] = a.useState(0), [D, U] = a.useState(0), [j, B] = a.useState(0), [F, P] = a.useState(!1), W = {
135
135
  left: l,
136
- top: p,
136
+ top: m,
137
137
  width: D,
138
138
  height: j,
139
139
  borderRadius: f.map((u) => `${u}px`).join(" ")
@@ -146,7 +146,7 @@ const ye = (e) => {
146
146
  borderLeftWidth: b,
147
147
  borderTopWidth: v
148
148
  } = u;
149
- s(i ? o.offsetLeft : S(-parseFloat(b))), m(i ? o.offsetTop : S(-parseFloat(v))), U(o.offsetWidth), B(o.offsetHeight);
149
+ s(i ? o.offsetLeft : S(-parseFloat(b))), p(i ? o.offsetTop : S(-parseFloat(v))), U(o.offsetWidth), B(o.offsetHeight);
150
150
  const {
151
151
  borderTopLeftRadius: z,
152
152
  borderTopRightRadius: G,
@@ -203,7 +203,7 @@ const ye = (e) => {
203
203
  if (n === "Checkbox" && !(!((o = e.querySelector("input")) === null || o === void 0) && o.checked))
204
204
  return;
205
205
  const r = document.createElement("div");
206
- r.style.position = "absolute", r.style.left = "0px", r.style.top = "0px", e == null || e.insertBefore(r, e == null ? void 0 : e.firstChild), pe(/* @__PURE__ */ a.createElement(ye, Object.assign({}, t, {
206
+ r.style.position = "absolute", r.style.left = "0px", r.style.top = "0px", e == null || e.insertBefore(r, e == null ? void 0 : e.firstChild), me(/* @__PURE__ */ a.createElement(ye, Object.assign({}, t, {
207
207
  target: e
208
208
  })), r);
209
209
  }, Ce = ge;
@@ -214,10 +214,10 @@ function Se(e, t, o) {
214
214
  const s = e.current;
215
215
  if (n != null && n.disabled || !s)
216
216
  return;
217
- const p = s.querySelector(`.${A}`) || s, {
218
- showEffect: m
217
+ const m = s.querySelector(`.${A}`) || s, {
218
+ showEffect: p
219
219
  } = n || {};
220
- (m || Ce)(p, {
220
+ (p || Ce)(m, {
221
221
  className: t,
222
222
  token: r,
223
223
  component: o,
@@ -243,12 +243,12 @@ const I = (e) => {
243
243
  const s = c.current;
244
244
  if (!s || s.nodeType !== 1 || o)
245
245
  return;
246
- const p = (m) => {
247
- !oe(m.target) || // No need wave
248
- !s.getAttribute || s.getAttribute("disabled") || s.disabled || s.className.includes("disabled") || s.className.includes("-leave") || _(m);
246
+ const m = (p) => {
247
+ !oe(p.target) || // No need wave
248
+ !s.getAttribute || s.getAttribute("disabled") || s.disabled || s.className.includes("disabled") || s.className.includes("-leave") || _(p);
249
249
  };
250
- return s.addEventListener("click", p, !0), () => {
251
- s.removeEventListener("click", p, !0);
250
+ return s.addEventListener("click", m, !0), () => {
251
+ s.removeEventListener("click", m, !0);
252
252
  };
253
253
  }, [o]), !/* @__PURE__ */ O.isValidElement(t))
254
254
  return t ?? null;
@@ -262,6 +262,6 @@ const ke = I;
262
262
  export {
263
263
  A as T,
264
264
  ke as W,
265
- pe as r,
265
+ me as r,
266
266
  be as u
267
267
  };
@@ -1,31 +1,31 @@
1
1
  import * as r from "react";
2
2
  import Et, { useState as Mt, useRef as ve, useEffect as jt, useMemo as uo, useContext as co } from "react";
3
3
  import { c as je } from "./index-NQd_zMf0.js";
4
- import { g as ft, a as k, w as so, _ as oe, G as fo, N as ie, e as Je, x as ht, H as Xe, ap as mo, h as Ze, t as vo, z as It, y as ot, q as go, p as po, v as ho, ak as So, f as bo, aq as dn, c as qt, T as Pt, i as $n, m as xt, C as Qt, r as Zt, an as Kt, d as We, ao as Mn, D as Dn, a1 as Co } from "./index-s55NV9P0.js";
5
- import { u as Ut } from "./useMergedState-L_aEbDOR.js";
6
- import { T as wo, i as yo } from "./index-gSJyqTth.js";
4
+ import { g as ft, b as k, w as so, _ as oe, G as fo, N as ie, e as Je, x as ht, H as Xe, ap as mo, i as Ze, t as vo, z as It, y as ot, q as go, p as po, v as ho, ak as So, f as bo, aq as dn, u as qt, T as Pt, h as $n, m as xt, C as Qt, r as Zt, an as Kt, d as We, ao as Mn, D as Dn, a1 as Co } from "./index-1KQbTQJ2.js";
5
+ import { u as Ut } from "./useMergedState-qUafLuUa.js";
6
+ import { T as wo, i as yo } from "./index-L-MzVDcK.js";
7
7
  import { K as X } from "./KeyCode-qFRXB1-n.js";
8
- import { p as _t } from "./pickAttrs-8tivSTLL.js";
9
- import { F as Eo } from "./Overflow-iob2b5Wo.js";
10
- import { o as Nn } from "./omit-iDLobDmh.js";
8
+ import { p as _t } from "./pickAttrs-zaQzRTqh.js";
9
+ import { F as Eo } from "./Overflow-JFdXKgCr.js";
10
+ import { o as Nn } from "./omit-ylWA0ZLZ.js";
11
11
  import { r as fn } from "./index-vtDVJV8q.js";
12
- import { R as Pn } from "./index-rkVmCQAx.js";
13
- import { u as mn, A as Io } from "./isVisible-dMm2KpVt.js";
14
- import { t as Xt, a as xo, b as Oo } from "./Compact-TeM9cQzE.js";
15
- import { u as Ro } from "./motion-HJgOMAD9.js";
12
+ import { R as Pn } from "./index--6VfGMUo.js";
13
+ import { u as mn, A as Io } from "./isVisible-Qi9l15Ty.js";
14
+ import { t as Xt, a as xo, b as Oo } from "./Compact-fdEKV_mF.js";
15
+ import { u as Ro } from "./motion-0ToOu81j.js";
16
16
  import { g as $o } from "./motion-NQme0FJ_.js";
17
- import { g as Mo } from "./PurePanel-v_Df1Vfh.js";
18
- import { u as Do, g as No, a as Po } from "./useVariants-uVtKaOT2.js";
19
- import { u as _o } from "./useLocale-fOtLWNp9.js";
20
- import { u as To } from "./useCSSVarCls-dgS8HrGW.js";
21
- import { F as zo } from "./context-bcpLewuE.js";
17
+ import { g as Mo } from "./PurePanel-hLGnXbul.js";
18
+ import { u as Do, g as No, a as Po } from "./useVariants-s0IcneBD.js";
19
+ import { u as _o } from "./useLocale-eThlLZJw.js";
20
+ import { u as To } from "./useCSSVarCls-GwZT_WiF.js";
21
+ import { F as zo } from "./context-h3WSVDPz.js";
22
22
  import { g as Vo } from "./compact-item-jjuVmDBH.js";
23
- import { s as Ho, a as Lo, b as Fo, c as Bo, i as vn, d as gn } from "./slide-zQQNR_XQ.js";
24
- import { C as Ao } from "./CheckOutlined-uqw1dAco.js";
25
- import { C as Wo } from "./CloseCircleFilled-8_PrYv1M.js";
26
- import { C as jo } from "./CloseOutlined--jpI9Qw3.js";
27
- import { L as Ko } from "./LoadingOutlined-UnQfEWdX.js";
28
- import { S as Uo } from "./SearchOutlined-q1KYFUUD.js";
23
+ import { s as Ho, a as Lo, b as Fo, c as Bo, i as vn, d as gn } from "./slide-mFXPRHku.js";
24
+ import { C as Ao } from "./CheckOutlined-EgxCAgj_.js";
25
+ import { C as Wo } from "./CloseCircleFilled-bIgIULWb.js";
26
+ import { C as jo } from "./CloseOutlined-Q3kC3EZS.js";
27
+ import { L as Ko } from "./LoadingOutlined-6Ipqn0og.js";
28
+ import { S as Uo } from "./SearchOutlined-rJTFGXUi.js";
29
29
  var zt = function(t) {
30
30
  var n = t.className, o = t.customizeIcon, a = t.customizeIconProps, i = t.children, l = t.onMouseDown, c = t.onClick, f = typeof o == "function" ? o(a) : o;
31
31
  return /* @__PURE__ */ r.createElement("span", {
@@ -1,25 +1,25 @@
1
- import { e as G, h as U, u as dt, t as ut, _ as P, a as ce, F as Ie, w as Ce, ag as ve, f as ft, ah as Re, ae as mt, i as gt, d as S, r as Ct, a0 as vt, m as pt, C as oe, D as de, B as bt, j as yt, A as Be, c as xt, ai as ht, aj as $t, af as Me, l as Et } from "./index-s55NV9P0.js";
1
+ import { e as G, i as U, a as dt, t as ut, _ as P, b as ce, F as Ie, w as Ce, ag as ve, f as ft, ah as Re, ae as mt, h as gt, d as S, r as Ct, a0 as vt, m as pt, C as oe, D as de, B as bt, j as yt, A as Be, u as xt, ai as ht, aj as $t, af as Me, l as Et } from "./index-1KQbTQJ2.js";
2
2
  import * as r from "react";
3
3
  import y, { useContext as Y, useRef as q, useEffect as pe } from "react";
4
- import { u as Ot, r as Nt } from "./index-1dpL-ID6.js";
5
- import { C as St } from "./CheckCircleFilled-0BksJw0a.js";
6
- import { C as wt } from "./CloseCircleFilled-8_PrYv1M.js";
7
- import { E as Pt } from "./ExclamationCircleFilled-oQquZDmr.js";
8
- import { A as Tt, u as It } from "./isVisible-dMm2KpVt.js";
4
+ import { u as Nt, r as Ot } from "./index-ZT64Ec6u.js";
5
+ import { C as St } from "./CheckCircleFilled-xt-0R96Z.js";
6
+ import { C as wt } from "./CloseCircleFilled-bIgIULWb.js";
7
+ import { E as Pt } from "./ExclamationCircleFilled-XzDBEGmA.js";
8
+ import { A as Tt, u as It } from "./isVisible-Qi9l15Ty.js";
9
9
  import { c as T } from "./index-NQd_zMf0.js";
10
- import { a as Rt, P as Bt, K as je, i as Mt, u as jt, z as zt, C as Ft } from "./motion-HJgOMAD9.js";
10
+ import { a as Rt, P as Bt, K as je, i as Mt, u as jt, z as zt, C as Ft } from "./motion-0ToOu81j.js";
11
11
  import { g as ne } from "./motion-NQme0FJ_.js";
12
- import { B as ue, c as ze } from "./button-HD_w_Dw4.js";
13
- import { C as Fe } from "./CloseOutlined--jpI9Qw3.js";
12
+ import { B as ue, c as ze } from "./button-LN5ZDad8.js";
13
+ import { C as Fe } from "./CloseOutlined-Q3kC3EZS.js";
14
14
  import { K as be } from "./KeyCode-qFRXB1-n.js";
15
- import { p as Dt } from "./pickAttrs-8tivSTLL.js";
16
- import { u as _t } from "./useClosable-UlLHff74.js";
17
- import { N as At } from "./context-bcpLewuE.js";
18
- import { N as Ht } from "./Compact-TeM9cQzE.js";
19
- import { u as fe } from "./useLocale-fOtLWNp9.js";
20
- import { i as Lt } from "./zoom-AOeYf6vQ.js";
21
- import { u as De } from "./useCSSVarCls-dgS8HrGW.js";
22
- import { w as Vt } from "./PurePanel-v_Df1Vfh.js";
15
+ import { p as Dt } from "./pickAttrs-zaQzRTqh.js";
16
+ import { u as _t } from "./useClosable-4G12n4Bp.js";
17
+ import { N as At } from "./context-h3WSVDPz.js";
18
+ import { N as Ht } from "./Compact-fdEKV_mF.js";
19
+ import { u as fe } from "./useLocale-eThlLZJw.js";
20
+ import { i as Lt } from "./zoom-Ps8y0jNW.js";
21
+ import { u as De } from "./useCSSVarCls-GwZT_WiF.js";
22
+ import { w as Vt } from "./PurePanel-hLGnXbul.js";
23
23
  var Wt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "info-circle", theme: "filled" };
24
24
  const qt = Wt;
25
25
  var _e = function(t, o) {
@@ -173,13 +173,13 @@ const Yt = /* @__PURE__ */ r.memo(function(e) {
173
173
  var o = t.shouldUpdate;
174
174
  return !o;
175
175
  });
176
- var Oe = {
176
+ var Ne = {
177
177
  width: 0,
178
178
  height: 0,
179
179
  overflow: "hidden",
180
180
  outline: "none"
181
181
  }, me = /* @__PURE__ */ y.forwardRef(function(e, t) {
182
- var o = e.prefixCls, n = e.className, a = e.style, l = e.title, f = e.ariaId, c = e.footer, s = e.closable, u = e.closeIcon, i = e.onClose, d = e.children, v = e.bodyStyle, g = e.bodyProps, x = e.modalRender, C = e.onMouseDown, h = e.onMouseUp, p = e.holderRef, m = e.visible, b = e.forceRender, $ = e.width, w = e.height, E = e.classNames, O = e.styles, _ = y.useContext(Le), R = _.panel, A = ut(p, R), j = q(), H = q();
182
+ var o = e.prefixCls, n = e.className, a = e.style, l = e.title, f = e.ariaId, c = e.footer, s = e.closable, u = e.closeIcon, i = e.onClose, d = e.children, v = e.bodyStyle, g = e.bodyProps, x = e.modalRender, C = e.onMouseDown, h = e.onMouseUp, p = e.holderRef, m = e.visible, b = e.forceRender, $ = e.width, w = e.height, E = e.classNames, N = e.styles, _ = y.useContext(Le), R = _.panel, A = ut(p, R), j = q(), H = q();
183
183
  y.useImperativeHandle(t, function() {
184
184
  return {
185
185
  focus: function() {
@@ -197,12 +197,12 @@ var Oe = {
197
197
  var B;
198
198
  c && (B = /* @__PURE__ */ y.createElement("div", {
199
199
  className: T("".concat(o, "-footer"), E == null ? void 0 : E.footer),
200
- style: P({}, O == null ? void 0 : O.footer)
200
+ style: P({}, N == null ? void 0 : N.footer)
201
201
  }, c));
202
202
  var z;
203
203
  l && (z = /* @__PURE__ */ y.createElement("div", {
204
204
  className: T("".concat(o, "-header"), E == null ? void 0 : E.header),
205
- style: P({}, O == null ? void 0 : O.header)
205
+ style: P({}, N == null ? void 0 : N.header)
206
206
  }, /* @__PURE__ */ y.createElement("div", {
207
207
  className: "".concat(o, "-title"),
208
208
  id: f
@@ -218,10 +218,10 @@ var Oe = {
218
218
  })));
219
219
  var W = /* @__PURE__ */ y.createElement("div", {
220
220
  className: T("".concat(o, "-content"), E == null ? void 0 : E.content),
221
- style: O == null ? void 0 : O.content
221
+ style: N == null ? void 0 : N.content
222
222
  }, L, z, /* @__PURE__ */ y.createElement("div", G({
223
223
  className: T("".concat(o, "-body"), E == null ? void 0 : E.body),
224
- style: P(P({}, v), O == null ? void 0 : O.body)
224
+ style: P(P({}, v), N == null ? void 0 : N.body)
225
225
  }, g), d), B);
226
226
  return /* @__PURE__ */ y.createElement("div", {
227
227
  key: "dialog-element",
@@ -236,14 +236,14 @@ var Oe = {
236
236
  }, /* @__PURE__ */ y.createElement("div", {
237
237
  tabIndex: 0,
238
238
  ref: j,
239
- style: Oe,
239
+ style: Ne,
240
240
  "aria-hidden": "true"
241
241
  }), /* @__PURE__ */ y.createElement(Yt, {
242
242
  shouldUpdate: m || b
243
243
  }, x ? x(W) : W), /* @__PURE__ */ y.createElement("div", {
244
244
  tabIndex: 0,
245
245
  ref: H,
246
- style: Oe,
246
+ style: Ne,
247
247
  "aria-hidden": "true"
248
248
  }));
249
249
  });
@@ -265,14 +265,14 @@ var Ve = /* @__PURE__ */ r.forwardRef(function(e, t) {
265
265
  removeOnLeave: s,
266
266
  ref: g
267
267
  }, function($, w) {
268
- var E = $.className, O = $.style;
268
+ var E = $.className, N = $.style;
269
269
  return /* @__PURE__ */ r.createElement(me, G({}, e, {
270
270
  ref: t,
271
271
  title: n,
272
272
  ariaId: i,
273
273
  prefixCls: o,
274
274
  holderRef: w,
275
- style: P(P(P({}, O), a), m),
275
+ style: P(P(P({}, N), a), m),
276
276
  className: T(l, E)
277
277
  }));
278
278
  });
@@ -295,9 +295,9 @@ function Jt(e) {
295
295
  });
296
296
  }
297
297
  function kt(e) {
298
- var t = e.prefixCls, o = t === void 0 ? "rc-dialog" : t, n = e.zIndex, a = e.visible, l = a === void 0 ? !1 : a, f = e.keyboard, c = f === void 0 ? !0 : f, s = e.focusTriggerAfterClose, u = s === void 0 ? !0 : s, i = e.wrapStyle, d = e.wrapClassName, v = e.wrapProps, g = e.onClose, x = e.afterOpenChange, C = e.afterClose, h = e.transitionName, p = e.animation, m = e.closable, b = m === void 0 ? !0 : m, $ = e.mask, w = $ === void 0 ? !0 : $, E = e.maskTransitionName, O = e.maskAnimation, _ = e.maskClosable, R = _ === void 0 ? !0 : _, A = e.maskStyle, j = e.maskProps, H = e.rootClassName, I = e.classNames, B = e.styles;
299
- process.env.NODE_ENV !== "production" && (["wrapStyle", "bodyStyle", "maskStyle"].forEach(function(N) {
300
- Ce(!(N in e), "".concat(N, " is deprecated, please use styles instead."));
298
+ var t = e.prefixCls, o = t === void 0 ? "rc-dialog" : t, n = e.zIndex, a = e.visible, l = a === void 0 ? !1 : a, f = e.keyboard, c = f === void 0 ? !0 : f, s = e.focusTriggerAfterClose, u = s === void 0 ? !0 : s, i = e.wrapStyle, d = e.wrapClassName, v = e.wrapProps, g = e.onClose, x = e.afterOpenChange, C = e.afterClose, h = e.transitionName, p = e.animation, m = e.closable, b = m === void 0 ? !0 : m, $ = e.mask, w = $ === void 0 ? !0 : $, E = e.maskTransitionName, N = e.maskAnimation, _ = e.maskClosable, R = _ === void 0 ? !0 : _, A = e.maskStyle, j = e.maskProps, H = e.rootClassName, I = e.classNames, B = e.styles;
299
+ process.env.NODE_ENV !== "production" && (["wrapStyle", "bodyStyle", "maskStyle"].forEach(function(O) {
300
+ Ce(!(O in e), "".concat(O, " is deprecated, please use styles instead."));
301
301
  }), "wrapClassName" in e && Ce(!1, "wrapClassName is deprecated, please use classNames instead."));
302
302
  var z = q(), L = q(), W = q(), Z = r.useState(l), F = ce(Z, 2), X = F[0], K = F[1], V = Rt();
303
303
  function D() {
@@ -305,12 +305,12 @@ function kt(e) {
305
305
  }
306
306
  function ee() {
307
307
  if (!ve(L.current, document.activeElement)) {
308
- var N;
309
- (N = W.current) === null || N === void 0 || N.focus();
308
+ var O;
309
+ (O = W.current) === null || O === void 0 || O.focus();
310
310
  }
311
311
  }
312
- function ae(N) {
313
- if (N)
312
+ function ae(O) {
313
+ if (O)
314
314
  ee();
315
315
  else {
316
316
  if (K(!1), w && z.current && u) {
@@ -324,10 +324,10 @@ function kt(e) {
324
324
  }
325
325
  X && (C == null || C());
326
326
  }
327
- x == null || x(N);
327
+ x == null || x(O);
328
328
  }
329
- function re(N) {
330
- g == null || g(N);
329
+ function re(O) {
330
+ g == null || g(O);
331
331
  }
332
332
  var te = q(!1), le = q(), it = function() {
333
333
  clearTimeout(le.current), te.current = !0;
@@ -339,12 +339,12 @@ function kt(e) {
339
339
  R && (ge = function(ie) {
340
340
  te.current ? te.current = !1 : L.current === ie.target && re(ie);
341
341
  });
342
- function ct(N) {
343
- if (c && N.keyCode === be.ESC) {
344
- N.stopPropagation(), re(N);
342
+ function ct(O) {
343
+ if (c && O.keyCode === be.ESC) {
344
+ O.stopPropagation(), re(O);
345
345
  return;
346
346
  }
347
- l && N.keyCode === be.TAB && W.current.changeActive(!N.shiftKey);
347
+ l && O.keyCode === be.TAB && W.current.changeActive(!O.shiftKey);
348
348
  }
349
349
  return pe(function() {
350
350
  l && (K(!0), D());
@@ -359,7 +359,7 @@ function kt(e) {
359
359
  })), /* @__PURE__ */ r.createElement(Jt, {
360
360
  prefixCls: o,
361
361
  visible: w && l,
362
- motionName: $e(o, E, O),
362
+ motionName: $e(o, E, N),
363
363
  style: P(P({
364
364
  zIndex: n
365
365
  }, A), B == null ? void 0 : B.mask),
@@ -413,11 +413,11 @@ var We = function(t) {
413
413
  };
414
414
  We.displayName = "Dialog";
415
415
  const en = () => ft() && window.document.documentElement;
416
- function Ne() {
416
+ function Oe() {
417
417
  }
418
418
  const tn = /* @__PURE__ */ r.createContext({
419
- add: Ne,
420
- remove: Ne
419
+ add: Oe,
420
+ remove: Oe
421
421
  });
422
422
  function nn(e) {
423
423
  const t = r.useContext(tn), o = r.useRef();
@@ -842,7 +842,7 @@ const gn = (e) => {
842
842
  width: $ = 520,
843
843
  footer: w,
844
844
  classNames: E,
845
- styles: O
845
+ styles: N
846
846
  } = e, _ = fn(e, ["prefixCls", "className", "rootClassName", "open", "wrapClassName", "centered", "getContainer", "closeIcon", "closable", "focusTriggerAfterClose", "style", "visible", "width", "footer", "classNames", "styles"]), R = n("modal", s), A = n(), j = De(R), [H, I, B] = Ke(R, j), z = T(v, {
847
847
  [`${R}-centered`]: !!g,
848
848
  [`${R}-wrap-rtl`]: a === "rtl"
@@ -878,7 +878,7 @@ const gn = (e) => {
878
878
  classNames: Object.assign(Object.assign({
879
879
  wrapper: z
880
880
  }, l == null ? void 0 : l.classNames), E),
881
- styles: Object.assign(Object.assign({}, l == null ? void 0 : l.styles), O),
881
+ styles: Object.assign(Object.assign({}, l == null ? void 0 : l.styles), N),
882
882
  panelRef: F
883
883
  }))))));
884
884
  }, Qe = gn, Cn = (e) => {
@@ -992,8 +992,8 @@ function Ze(e) {
992
992
  locale: u
993
993
  } = e, i = pn(e, ["prefixCls", "icon", "okText", "cancelText", "confirmPrefixCls", "type", "okCancel", "footer", "locale"]);
994
994
  if (process.env.NODE_ENV !== "production") {
995
- const O = de("Modal");
996
- process.env.NODE_ENV !== "production" && O(!(typeof o == "string" && o.length > 2), "breaking", `\`icon\` is using ReactNode instead of string naming in v4. Please check \`${o}\` at https://ant.design/components/icon`);
995
+ const N = de("Modal");
996
+ process.env.NODE_ENV !== "production" && N(!(typeof o == "string" && o.length > 2), "breaking", `\`icon\` is using ReactNode instead of string naming in v4. Please check \`${o}\` at https://ant.design/components/icon`);
997
997
  }
998
998
  let d = o;
999
999
  if (!o && o !== null)
@@ -1068,7 +1068,7 @@ const Ye = (e) => {
1068
1068
  H.deprecated(!(B in e), B, z);
1069
1069
  });
1070
1070
  }
1071
- const $ = `${i}-confirm`, w = e.width || 416, E = e.style || {}, O = e.mask === void 0 ? !0 : e.mask, _ = e.maskClosable === void 0 ? !1 : e.maskClosable, R = T($, `${$}-${e.type}`, {
1071
+ const $ = `${i}-confirm`, w = e.width || 416, E = e.style || {}, N = e.mask === void 0 ? !0 : e.mask, _ = e.maskClosable === void 0 ? !1 : e.maskClosable, R = T($, `${$}-${e.type}`, {
1072
1072
  [`${$}-rtl`]: u === "rtl"
1073
1073
  }, e.className), [, A] = xt(), j = r.useMemo(() => o !== void 0 ? o : A.zIndexPopupBase + Ft, [o, A]);
1074
1074
  return /* @__PURE__ */ r.createElement(Qe, {
@@ -1087,7 +1087,7 @@ const Ye = (e) => {
1087
1087
  footer: null,
1088
1088
  transitionName: ne(v || "", "zoom", e.transitionName),
1089
1089
  maskTransitionName: ne(v || "", "fade", e.maskTransitionName),
1090
- mask: O,
1090
+ mask: N,
1091
1091
  maskClosable: _,
1092
1092
  style: E,
1093
1093
  styles: Object.assign({
@@ -1164,12 +1164,12 @@ function k(e) {
1164
1164
  Q.splice(g, 1);
1165
1165
  break;
1166
1166
  }
1167
- Ot(o);
1167
+ Nt(o);
1168
1168
  }
1169
1169
  function f(u) {
1170
1170
  clearTimeout(a), a = setTimeout(() => {
1171
1171
  const i = t.getRootPrefixCls(), d = t.getIconPrefixCls(), v = t.getTheme(), g = /* @__PURE__ */ y.createElement(yn, Object.assign({}, u));
1172
- Nt(/* @__PURE__ */ y.createElement(Be, {
1172
+ Ot(/* @__PURE__ */ y.createElement(Be, {
1173
1173
  prefixCls: i,
1174
1174
  iconPrefixCls: d,
1175
1175
  theme: v
@@ -1273,13 +1273,13 @@ const $n = (e, t) => {
1273
1273
  }, l));
1274
1274
  }, En = /* @__PURE__ */ r.forwardRef($n);
1275
1275
  let Te = 0;
1276
- const On = /* @__PURE__ */ r.memo(/* @__PURE__ */ r.forwardRef((e, t) => {
1276
+ const Nn = /* @__PURE__ */ r.memo(/* @__PURE__ */ r.forwardRef((e, t) => {
1277
1277
  const [o, n] = Ut();
1278
1278
  return r.useImperativeHandle(t, () => ({
1279
1279
  patchElement: n
1280
1280
  }), []), /* @__PURE__ */ r.createElement(r.Fragment, null, o);
1281
1281
  }));
1282
- function Nn() {
1282
+ function On() {
1283
1283
  const e = r.useRef(null), [t, o] = r.useState([]);
1284
1284
  r.useEffect(() => {
1285
1285
  t.length && (U(t).forEach((f) => {
@@ -1331,7 +1331,7 @@ function Nn() {
1331
1331
  error: n(at),
1332
1332
  warning: n(tt),
1333
1333
  confirm: n(rt)
1334
- }), []), /* @__PURE__ */ r.createElement(On, {
1334
+ }), []), /* @__PURE__ */ r.createElement(Nn, {
1335
1335
  key: "modal-holder",
1336
1336
  ref: e
1337
1337
  })];
@@ -1386,7 +1386,7 @@ function lt(e) {
1386
1386
  return k(tt(e));
1387
1387
  }
1388
1388
  const M = Qe;
1389
- M.useModal = Nn;
1389
+ M.useModal = On;
1390
1390
  M.info = function(t) {
1391
1391
  return k(nt(t));
1392
1392
  };
@@ -1412,5 +1412,5 @@ M._InternalPanelDoNotUseOrYouWillBeFired = Pn;
1412
1412
  process.env.NODE_ENV !== "production" && (M.displayName = "Modal");
1413
1413
  const Zn = M;
1414
1414
  export {
1415
- Zn as A
1415
+ Zn as M
1416
1416
  };
@@ -1,6 +1,6 @@
1
1
  import * as s from "react";
2
2
  import x, { useContext as J, useEffect as K } from "react";
3
- import { H as L, g as R, _ as l, I as M, J as S, K as U, x as _, a as E, M as V, N as I, e as W } from "./index-s55NV9P0.js";
3
+ import { H as L, g as R, _ as l, I as M, J as S, K as U, x as _, b as E, M as V, N, e as W } from "./index-1KQbTQJ2.js";
4
4
  import { c as q } from "./index-NQd_zMf0.js";
5
5
  function un(n) {
6
6
  var o = s.useRef();
@@ -30,7 +30,7 @@ function X(n) {
30
30
  function Y(n, o) {
31
31
  L(n, "[@ant-design/icons] ".concat(o));
32
32
  }
33
- function N(n) {
33
+ function I(n) {
34
34
  return R(n) === "object" && typeof n.name == "string" && typeof n.theme == "string" && (R(n.icon) === "object" || typeof n.icon == "function");
35
35
  }
36
36
  function k() {
@@ -145,7 +145,7 @@ var g = function(o) {
145
145
  if (a && (f = {
146
146
  primaryColor: a,
147
147
  secondaryColor: u || A(a)
148
- }), nn(C), Y(N(e), "icon should be icon definiton, but got ".concat(e)), !N(e))
148
+ }), nn(C), Y(I(e), "icon should be icon definiton, but got ".concat(e)), !I(e))
149
149
  return null;
150
150
  var c = e;
151
151
  return c && typeof c.icon == "function" && (c = l(l({}, c), {}, {
@@ -181,12 +181,12 @@ function tn() {
181
181
  var an = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
182
182
  j(V.primary);
183
183
  var y = /* @__PURE__ */ s.forwardRef(function(n, o) {
184
- var e, t = n.className, r = n.icon, i = n.spin, a = n.rotate, u = n.tabIndex, m = n.onClick, C = n.twoToneColor, f = _(n, an), c = s.useContext(S), h = c.prefixCls, v = h === void 0 ? "anticon" : h, B = c.rootClassName, P = q(B, v, (e = {}, I(e, "".concat(v, "-").concat(r.name), !!r.name), I(e, "".concat(v, "-spin"), !!i || r.name === "loading"), e), t), p = u;
184
+ var e, t = n.className, r = n.icon, i = n.spin, a = n.rotate, u = n.tabIndex, m = n.onClick, C = n.twoToneColor, f = _(n, an), c = s.useContext(S), b = c.prefixCls, v = b === void 0 ? "anticon" : b, B = c.rootClassName, P = q(B, v, (e = {}, N(e, "".concat(v, "-").concat(r.name), !!r.name), N(e, "".concat(v, "-spin"), !!i || r.name === "loading"), e), t), p = u;
185
185
  p === void 0 && m && (p = -1);
186
186
  var O = a ? {
187
187
  msTransform: "rotate(".concat(a, "deg)"),
188
188
  transform: "rotate(".concat(a, "deg)")
189
- } : void 0, D = $(C), b = E(D, 2), F = b[0], H = b[1];
189
+ } : void 0, D = $(C), h = E(D, 2), F = h[0], H = h[1];
190
190
  return /* @__PURE__ */ s.createElement("span", W({
191
191
  role: "img",
192
192
  "aria-label": r.name
package/dist/main.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
2
  import { ConfigProviderProps } from "antd";
3
+ export { AgGridTable } from "./components/ag-grid-table";
3
4
  export { Button } from "./components/button";
4
5
  export { CheckList } from "./components/checklist";
5
6
  export { DatePicker } from "./components/date-picker";
@@ -8,13 +9,20 @@ export { Dropdown } from "./components/dropdown";
8
9
  export { Form } from "./components/form";
9
10
  export { FormItem } from "./components/form-item";
10
11
  export { Input } from "./components/input";
12
+ export { Modal } from "./components/modal";
13
+ export { PasswordInput } from "./components/password-input";
14
+ export { Progress } from "./components/progress";
15
+ export { ProgressCircle } from "./components/progress-circle";
16
+ export { RadioButton } from "./components/radio-button";
17
+ export { RadioButtonGroup } from "./components/radio-button-group";
18
+ export { ResultPopup } from "./components/result-popup";
19
+ export { Select } from "./components/select";
11
20
  export { SideMenu } from "./components/side-menu";
12
21
  export { Steps } from "./components/steps";
13
22
  export { Table } from "./components/table";
14
23
  export { Tabs } from "./components/tabs";
15
24
  export { Tag } from "./components/tag";
16
- export { Upload } from "./components/upload";
17
25
  export { TimelineHorizontal } from "./components/timeline-horizontal";
18
- export { AgGridTable } from "./components/ag-grid-table";
26
+ export { Upload } from "./components/upload";
19
27
  export { libTheme as theme } from "./theme";
20
28
  export declare const ConfigProvider: React.FC<ConfigProviderProps>;