gasp-components 1.0.10 → 1.0.12

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 +1 -1
  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,18 +0,0 @@
1
- import * as r from "react";
2
- const {
3
- isValidElement: a
4
- } = r;
5
- function c(n) {
6
- return n && a(n) && n.type === r.Fragment;
7
- }
8
- function o(n, t, e) {
9
- return a(n) ? /* @__PURE__ */ r.cloneElement(n, typeof e == "function" ? e(n.props || {}) : e) : t;
10
- }
11
- function i(n, t) {
12
- return o(n, n, t);
13
- }
14
- export {
15
- c as a,
16
- i as c,
17
- a as i
18
- };
@@ -1,71 +0,0 @@
1
- import d from "react";
2
- import { u as h } from "./index-1KQbTQJ2.js";
3
- const m = ["xxl", "xl", "lg", "md", "sm", "xs"], x = (n) => ({
4
- xs: `(max-width: ${n.screenXSMax}px)`,
5
- sm: `(min-width: ${n.screenSM}px)`,
6
- md: `(min-width: ${n.screenMD}px)`,
7
- lg: `(min-width: ${n.screenLG}px)`,
8
- xl: `(min-width: ${n.screenXL}px)`,
9
- xxl: `(min-width: ${n.screenXXL}px)`
10
- }), u = (n) => {
11
- const e = n, t = [].concat(m).reverse();
12
- return t.forEach((o, a) => {
13
- const r = o.toUpperCase(), i = `screen${r}Min`, s = `screen${r}`;
14
- if (!(e[i] <= e[s]))
15
- throw new Error(`${i}<=${s} fails : !(${e[i]}<=${e[s]})`);
16
- if (a < t.length - 1) {
17
- const c = `screen${r}Max`;
18
- if (!(e[s] <= e[c]))
19
- throw new Error(`${s}<=${c} fails : !(${e[s]}<=${e[c]})`);
20
- const p = `screen${t[a + 1].toUpperCase()}Min`;
21
- if (!(e[c] <= e[p]))
22
- throw new Error(`${c}<=${p} fails : !(${e[c]}<=${e[p]})`);
23
- }
24
- }), n;
25
- };
26
- function f() {
27
- const [, n] = h(), e = x(u(n));
28
- return d.useMemo(() => {
29
- const t = /* @__PURE__ */ new Map();
30
- let o = -1, a = {};
31
- return {
32
- matchHandlers: {},
33
- dispatch(r) {
34
- return a = r, t.forEach((i) => i(a)), t.size >= 1;
35
- },
36
- subscribe(r) {
37
- return t.size || this.register(), o += 1, t.set(o, r), r(a), o;
38
- },
39
- unsubscribe(r) {
40
- t.delete(r), t.size || this.unregister();
41
- },
42
- unregister() {
43
- Object.keys(e).forEach((r) => {
44
- const i = e[r], s = this.matchHandlers[i];
45
- s == null || s.mql.removeListener(s == null ? void 0 : s.listener);
46
- }), t.clear();
47
- },
48
- register() {
49
- Object.keys(e).forEach((r) => {
50
- const i = e[r], s = (l) => {
51
- let {
52
- matches: p
53
- } = l;
54
- this.dispatch(Object.assign(Object.assign({}, a), {
55
- [r]: p
56
- }));
57
- }, c = window.matchMedia(i);
58
- c.addListener(s), this.matchHandlers[i] = {
59
- mql: c,
60
- listener: s
61
- }, s(c);
62
- });
63
- },
64
- responsiveMap: e
65
- };
66
- }, [n]);
67
- }
68
- export {
69
- m as r,
70
- f as u
71
- };
@@ -1,64 +0,0 @@
1
- import { d as q } from "./index-1KQbTQJ2.js";
2
- import "react";
3
- function A(c) {
4
- const {
5
- sizePopupArrow: d,
6
- borderRadiusXS: r,
7
- borderRadiusOuter: t
8
- } = c, o = d / 2, a = 0, n = o, s = t * 1 / Math.sqrt(2), e = o - t * (1 - 1 / Math.sqrt(2)), h = o - r * (1 / Math.sqrt(2)), u = t * (Math.sqrt(2) - 1) + r * (1 / Math.sqrt(2)), $ = 2 * o - h, p = u, l = 2 * o - s, w = e, g = 2 * o - a, b = n, x = o * Math.sqrt(2) + t * (Math.sqrt(2) - 2), i = t * (Math.sqrt(2) - 1), f = `polygon(${i}px 100%, 50% ${i}px, ${2 * o - i}px 100%, ${i}px 100%)`, y = `path('M ${a} ${n} A ${t} ${t} 0 0 0 ${s} ${e} L ${h} ${u} A ${r} ${r} 0 0 1 ${$} ${p} L ${l} ${w} A ${t} ${t} 0 0 0 ${g} ${b} Z')`;
9
- return {
10
- arrowShadowWidth: x,
11
- arrowPath: y,
12
- arrowPolygon: f
13
- };
14
- }
15
- const P = (c, d, r) => {
16
- const {
17
- sizePopupArrow: t,
18
- arrowPolygon: o,
19
- arrowPath: a,
20
- arrowShadowWidth: n,
21
- borderRadiusXS: s,
22
- calc: e
23
- } = c;
24
- return {
25
- pointerEvents: "none",
26
- width: t,
27
- height: t,
28
- overflow: "hidden",
29
- "&::before": {
30
- position: "absolute",
31
- bottom: 0,
32
- insetInlineStart: 0,
33
- width: t,
34
- height: e(t).div(2).equal(),
35
- background: d,
36
- clipPath: {
37
- _multi_value_: !0,
38
- value: [o, a]
39
- },
40
- content: '""'
41
- },
42
- "&::after": {
43
- content: '""',
44
- position: "absolute",
45
- width: n,
46
- height: n,
47
- bottom: 0,
48
- insetInline: 0,
49
- margin: "auto",
50
- borderRadius: {
51
- _skip_check_: !0,
52
- value: `0 0 ${q(s)} 0`
53
- },
54
- transform: "translateY(50%) rotate(-135deg)",
55
- boxShadow: r,
56
- zIndex: 0,
57
- background: "transparent"
58
- }
59
- };
60
- };
61
- export {
62
- A as a,
63
- P as g
64
- };
@@ -1,230 +0,0 @@
1
- import * as a from "react";
2
- import { createContext as B } from "react";
3
- import { c as F } from "./index-NQd_zMf0.js";
4
- import { u as q, r as y } from "./responsiveObserver-V1_1G14X.js";
5
- import { h as M, m as K, d as Q, C as U } from "./index-1KQbTQJ2.js";
6
- const Y = /* @__PURE__ */ B({}), Z = Y, z = (t) => {
7
- const {
8
- componentCls: e
9
- } = t;
10
- return {
11
- // Grid system
12
- [e]: {
13
- display: "flex",
14
- flexFlow: "row wrap",
15
- minWidth: 0,
16
- "&::before, &::after": {
17
- display: "flex"
18
- },
19
- "&-no-wrap": {
20
- flexWrap: "nowrap"
21
- },
22
- // The origin of the X-axis
23
- "&-start": {
24
- justifyContent: "flex-start"
25
- },
26
- // The center of the X-axis
27
- "&-center": {
28
- justifyContent: "center"
29
- },
30
- // The opposite of the X-axis
31
- "&-end": {
32
- justifyContent: "flex-end"
33
- },
34
- "&-space-between": {
35
- justifyContent: "space-between"
36
- },
37
- "&-space-around": {
38
- justifyContent: "space-around"
39
- },
40
- "&-space-evenly": {
41
- justifyContent: "space-evenly"
42
- },
43
- // Align at the top
44
- "&-top": {
45
- alignItems: "flex-start"
46
- },
47
- // Align at the center
48
- "&-middle": {
49
- alignItems: "center"
50
- },
51
- "&-bottom": {
52
- alignItems: "flex-end"
53
- }
54
- }
55
- };
56
- }, ee = (t) => {
57
- const {
58
- componentCls: e
59
- } = t;
60
- return {
61
- // Grid system
62
- [e]: {
63
- position: "relative",
64
- maxWidth: "100%",
65
- // Prevent columns from collapsing when empty
66
- minHeight: 1
67
- }
68
- };
69
- }, te = (t, e) => {
70
- const {
71
- componentCls: o,
72
- gridColumns: n
73
- } = t, s = {};
74
- for (let r = n; r >= 0; r--)
75
- r === 0 ? (s[`${o}${e}-${r}`] = {
76
- display: "none"
77
- }, s[`${o}-push-${r}`] = {
78
- insetInlineStart: "auto"
79
- }, s[`${o}-pull-${r}`] = {
80
- insetInlineEnd: "auto"
81
- }, s[`${o}${e}-push-${r}`] = {
82
- insetInlineStart: "auto"
83
- }, s[`${o}${e}-pull-${r}`] = {
84
- insetInlineEnd: "auto"
85
- }, s[`${o}${e}-offset-${r}`] = {
86
- marginInlineStart: 0
87
- }, s[`${o}${e}-order-${r}`] = {
88
- order: 0
89
- }) : (s[`${o}${e}-${r}`] = [
90
- // https://github.com/ant-design/ant-design/issues/44456
91
- // Form set `display: flex` on Col which will override `display: block`.
92
- // Let's get it from css variable to support override.
93
- {
94
- "--ant-display": "block",
95
- // Fallback to display if variable not support
96
- display: "block"
97
- },
98
- {
99
- display: "var(--ant-display)",
100
- flex: `0 0 ${r / n * 100}%`,
101
- maxWidth: `${r / n * 100}%`
102
- }
103
- ], s[`${o}${e}-push-${r}`] = {
104
- insetInlineStart: `${r / n * 100}%`
105
- }, s[`${o}${e}-pull-${r}`] = {
106
- insetInlineEnd: `${r / n * 100}%`
107
- }, s[`${o}${e}-offset-${r}`] = {
108
- marginInlineStart: `${r / n * 100}%`
109
- }, s[`${o}${e}-order-${r}`] = {
110
- order: r
111
- });
112
- return s;
113
- }, w = (t, e) => te(t, e), ne = (t, e, o) => ({
114
- [`@media (min-width: ${Q(e)})`]: Object.assign({}, w(t, o))
115
- }), re = () => ({}), se = () => ({}), oe = M("Grid", z, re), fe = M("Grid", (t) => {
116
- const e = K(t, {
117
- gridColumns: 24
118
- // Row is divided into 24 parts in Grid
119
- }), o = {
120
- "-sm": e.screenSMMin,
121
- "-md": e.screenMDMin,
122
- "-lg": e.screenLGMin,
123
- "-xl": e.screenXLMin,
124
- "-xxl": e.screenXXLMin
125
- };
126
- return [ee(e), w(e, ""), w(e, "-xs"), Object.keys(o).map((n) => ne(e, o[n], n)).reduce((n, s) => Object.assign(Object.assign({}, n), s), {})];
127
- }, se);
128
- var ae = function(t, e) {
129
- var o = {};
130
- for (var n in t)
131
- Object.prototype.hasOwnProperty.call(t, n) && e.indexOf(n) < 0 && (o[n] = t[n]);
132
- if (t != null && typeof Object.getOwnPropertySymbols == "function")
133
- for (var s = 0, n = Object.getOwnPropertySymbols(t); s < n.length; s++)
134
- e.indexOf(n[s]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[s]) && (o[n[s]] = t[n[s]]);
135
- return o;
136
- };
137
- function I(t, e) {
138
- const [o, n] = a.useState(typeof t == "string" ? t : ""), s = () => {
139
- if (typeof t == "string" && n(t), typeof t == "object")
140
- for (let r = 0; r < y.length; r++) {
141
- const f = y[r];
142
- if (!e[f])
143
- continue;
144
- const d = t[f];
145
- if (d !== void 0) {
146
- n(d);
147
- return;
148
- }
149
- }
150
- };
151
- return a.useEffect(() => {
152
- s();
153
- }, [JSON.stringify(t), e]), o;
154
- }
155
- const E = /* @__PURE__ */ a.forwardRef((t, e) => {
156
- const {
157
- prefixCls: o,
158
- justify: n,
159
- align: s,
160
- className: r,
161
- style: f,
162
- children: d,
163
- gutter: p = 0,
164
- wrap: g
165
- } = t, k = ae(t, ["prefixCls", "justify", "align", "className", "style", "children", "gutter", "wrap"]), {
166
- getPrefixCls: A,
167
- direction: N
168
- } = a.useContext(U), [L, V] = a.useState({
169
- xs: !0,
170
- sm: !0,
171
- md: !0,
172
- lg: !0,
173
- xl: !0,
174
- xxl: !0
175
- }), [C, _] = a.useState({
176
- xs: !1,
177
- sm: !1,
178
- md: !1,
179
- lg: !1,
180
- xl: !1,
181
- xxl: !1
182
- }), j = I(s, C), h = I(n, C), W = a.useRef(p), O = q();
183
- a.useEffect(() => {
184
- const u = O.subscribe((x) => {
185
- _(x);
186
- const i = W.current || 0;
187
- (!Array.isArray(i) && typeof i == "object" || Array.isArray(i) && (typeof i[0] == "object" || typeof i[1] == "object")) && V(x);
188
- });
189
- return () => O.unsubscribe(u);
190
- }, []);
191
- const H = () => {
192
- const u = [void 0, void 0];
193
- return (Array.isArray(p) ? p : [p, void 0]).forEach((i, G) => {
194
- if (typeof i == "object")
195
- for (let b = 0; b < y.length; b++) {
196
- const S = y[b];
197
- if (L[S] && i[S] !== void 0) {
198
- u[G] = i[S];
199
- break;
200
- }
201
- }
202
- else
203
- u[G] = i;
204
- }), u;
205
- }, c = A("row", o), [J, T, X] = oe(c), l = H(), D = F(c, {
206
- [`${c}-no-wrap`]: g === !1,
207
- [`${c}-${h}`]: h,
208
- [`${c}-${j}`]: j,
209
- [`${c}-rtl`]: N === "rtl"
210
- }, r, T, X), m = {}, $ = l[0] != null && l[0] > 0 ? l[0] / -2 : void 0;
211
- $ && (m.marginLeft = $, m.marginRight = $), [, m.rowGap] = l;
212
- const [v, R] = l, P = a.useMemo(() => ({
213
- gutter: [v, R],
214
- wrap: g
215
- }), [v, R, g]);
216
- return J(/* @__PURE__ */ a.createElement(Z.Provider, {
217
- value: P
218
- }, /* @__PURE__ */ a.createElement("div", Object.assign({}, k, {
219
- className: D,
220
- style: Object.assign(Object.assign({}, m), f),
221
- ref: e
222
- }), d)));
223
- });
224
- process.env.NODE_ENV !== "production" && (E.displayName = "Row");
225
- const de = E;
226
- export {
227
- de as R,
228
- Z as a,
229
- fe as u
230
- };
@@ -1,265 +0,0 @@
1
- import "./index-1KQbTQJ2.js";
2
- import "react";
3
- import { K as t, i as e } from "./motion-0ToOu81j.js";
4
- const m = new t("antMoveDownIn", {
5
- "0%": {
6
- transform: "translate3d(0, 100%, 0)",
7
- transformOrigin: "0 0",
8
- opacity: 0
9
- },
10
- "100%": {
11
- transform: "translate3d(0, 0, 0)",
12
- transformOrigin: "0 0",
13
- opacity: 1
14
- }
15
- }), f = new t("antMoveDownOut", {
16
- "0%": {
17
- transform: "translate3d(0, 0, 0)",
18
- transformOrigin: "0 0",
19
- opacity: 1
20
- },
21
- "100%": {
22
- transform: "translate3d(0, 100%, 0)",
23
- transformOrigin: "0 0",
24
- opacity: 0
25
- }
26
- }), c = new t("antMoveLeftIn", {
27
- "0%": {
28
- transform: "translate3d(-100%, 0, 0)",
29
- transformOrigin: "0 0",
30
- opacity: 0
31
- },
32
- "100%": {
33
- transform: "translate3d(0, 0, 0)",
34
- transformOrigin: "0 0",
35
- opacity: 1
36
- }
37
- }), l = new t("antMoveLeftOut", {
38
- "0%": {
39
- transform: "translate3d(0, 0, 0)",
40
- transformOrigin: "0 0",
41
- opacity: 1
42
- },
43
- "100%": {
44
- transform: "translate3d(-100%, 0, 0)",
45
- transformOrigin: "0 0",
46
- opacity: 0
47
- }
48
- }), y = new t("antMoveRightIn", {
49
- "0%": {
50
- transform: "translate3d(100%, 0, 0)",
51
- transformOrigin: "0 0",
52
- opacity: 0
53
- },
54
- "100%": {
55
- transform: "translate3d(0, 0, 0)",
56
- transformOrigin: "0 0",
57
- opacity: 1
58
- }
59
- }), p = new t("antMoveRightOut", {
60
- "0%": {
61
- transform: "translate3d(0, 0, 0)",
62
- transformOrigin: "0 0",
63
- opacity: 1
64
- },
65
- "100%": {
66
- transform: "translate3d(100%, 0, 0)",
67
- transformOrigin: "0 0",
68
- opacity: 0
69
- }
70
- }), O = new t("antMoveUpIn", {
71
- "0%": {
72
- transform: "translate3d(0, -100%, 0)",
73
- transformOrigin: "0 0",
74
- opacity: 0
75
- },
76
- "100%": {
77
- transform: "translate3d(0, 0, 0)",
78
- transformOrigin: "0 0",
79
- opacity: 1
80
- }
81
- }), g = new t("antMoveUpOut", {
82
- "0%": {
83
- transform: "translate3d(0, 0, 0)",
84
- transformOrigin: "0 0",
85
- opacity: 1
86
- },
87
- "100%": {
88
- transform: "translate3d(0, -100%, 0)",
89
- transformOrigin: "0 0",
90
- opacity: 0
91
- }
92
- }), d = {
93
- "move-up": {
94
- inKeyframes: O,
95
- outKeyframes: g
96
- },
97
- "move-down": {
98
- inKeyframes: m,
99
- outKeyframes: f
100
- },
101
- "move-left": {
102
- inKeyframes: c,
103
- outKeyframes: l
104
- },
105
- "move-right": {
106
- inKeyframes: y,
107
- outKeyframes: p
108
- }
109
- }, U = (n, a) => {
110
- const {
111
- antCls: o
112
- } = n, r = `${o}-${a}`, {
113
- inKeyframes: i,
114
- outKeyframes: s
115
- } = d[a];
116
- return [e(r, i, s, n.motionDurationMid), {
117
- [`
118
- ${r}-enter,
119
- ${r}-appear
120
- `]: {
121
- opacity: 0,
122
- animationTimingFunction: n.motionEaseOutCirc
123
- },
124
- [`${r}-leave`]: {
125
- animationTimingFunction: n.motionEaseInOutCirc
126
- }
127
- }];
128
- }, u = new t("antSlideUpIn", {
129
- "0%": {
130
- transform: "scaleY(0.8)",
131
- transformOrigin: "0% 0%",
132
- opacity: 0
133
- },
134
- "100%": {
135
- transform: "scaleY(1)",
136
- transformOrigin: "0% 0%",
137
- opacity: 1
138
- }
139
- }), w = new t("antSlideUpOut", {
140
- "0%": {
141
- transform: "scaleY(1)",
142
- transformOrigin: "0% 0%",
143
- opacity: 1
144
- },
145
- "100%": {
146
- transform: "scaleY(0.8)",
147
- transformOrigin: "0% 0%",
148
- opacity: 0
149
- }
150
- }), v = new t("antSlideDownIn", {
151
- "0%": {
152
- transform: "scaleY(0.8)",
153
- transformOrigin: "100% 100%",
154
- opacity: 0
155
- },
156
- "100%": {
157
- transform: "scaleY(1)",
158
- transformOrigin: "100% 100%",
159
- opacity: 1
160
- }
161
- }), K = new t("antSlideDownOut", {
162
- "0%": {
163
- transform: "scaleY(1)",
164
- transformOrigin: "100% 100%",
165
- opacity: 1
166
- },
167
- "100%": {
168
- transform: "scaleY(0.8)",
169
- transformOrigin: "100% 100%",
170
- opacity: 0
171
- }
172
- }), I = new t("antSlideLeftIn", {
173
- "0%": {
174
- transform: "scaleX(0.8)",
175
- transformOrigin: "0% 0%",
176
- opacity: 0
177
- },
178
- "100%": {
179
- transform: "scaleX(1)",
180
- transformOrigin: "0% 0%",
181
- opacity: 1
182
- }
183
- }), M = new t("antSlideLeftOut", {
184
- "0%": {
185
- transform: "scaleX(1)",
186
- transformOrigin: "0% 0%",
187
- opacity: 1
188
- },
189
- "100%": {
190
- transform: "scaleX(0.8)",
191
- transformOrigin: "0% 0%",
192
- opacity: 0
193
- }
194
- }), h = new t("antSlideRightIn", {
195
- "0%": {
196
- transform: "scaleX(0.8)",
197
- transformOrigin: "100% 0%",
198
- opacity: 0
199
- },
200
- "100%": {
201
- transform: "scaleX(1)",
202
- transformOrigin: "100% 0%",
203
- opacity: 1
204
- }
205
- }), D = new t("antSlideRightOut", {
206
- "0%": {
207
- transform: "scaleX(1)",
208
- transformOrigin: "100% 0%",
209
- opacity: 1
210
- },
211
- "100%": {
212
- transform: "scaleX(0.8)",
213
- transformOrigin: "100% 0%",
214
- opacity: 0
215
- }
216
- }), $ = {
217
- "slide-up": {
218
- inKeyframes: u,
219
- outKeyframes: w
220
- },
221
- "slide-down": {
222
- inKeyframes: v,
223
- outKeyframes: K
224
- },
225
- "slide-left": {
226
- inKeyframes: I,
227
- outKeyframes: M
228
- },
229
- "slide-right": {
230
- inKeyframes: h,
231
- outKeyframes: D
232
- }
233
- }, X = (n, a) => {
234
- const {
235
- antCls: o
236
- } = n, r = `${o}-${a}`, {
237
- inKeyframes: i,
238
- outKeyframes: s
239
- } = $[a];
240
- return [e(r, i, s, n.motionDurationMid), {
241
- [`
242
- ${r}-enter,
243
- ${r}-appear
244
- `]: {
245
- transform: "scale(0)",
246
- transformOrigin: "0% 0%",
247
- opacity: 0,
248
- animationTimingFunction: n.motionEaseOutQuint,
249
- "&-prepare": {
250
- transform: "scale(1)"
251
- }
252
- },
253
- [`${r}-leave`]: {
254
- animationTimingFunction: n.motionEaseInQuint
255
- }
256
- }];
257
- };
258
- export {
259
- v as a,
260
- w as b,
261
- K as c,
262
- U as d,
263
- X as i,
264
- u as s
265
- };
@@ -1,37 +0,0 @@
1
- import { f as u } from "./index-1KQbTQJ2.js";
2
- const l = (o) => ({
3
- // FIXME: This use link but is a operation unit. Seems should be a colorPrimary.
4
- // And Typography use this to generate link style which should not do this.
5
- color: o.colorLink,
6
- textDecoration: "none",
7
- outline: "none",
8
- cursor: "pointer",
9
- transition: `color ${o.motionDurationSlow}`,
10
- "&:focus, &:hover": {
11
- color: o.colorLinkHover
12
- },
13
- "&:active": {
14
- color: o.colorLinkActive
15
- }
16
- });
17
- var e = function(r) {
18
- if (u() && window.document.documentElement) {
19
- var t = Array.isArray(r) ? r : [r], n = window.document.documentElement;
20
- return t.some(function(i) {
21
- return i in n.style;
22
- });
23
- }
24
- return !1;
25
- }, c = function(r, t) {
26
- if (!e(r))
27
- return !1;
28
- var n = document.createElement("div"), i = n.style[r];
29
- return n.style[r] = t, n.style[r] !== i;
30
- };
31
- function p(o, r) {
32
- return !Array.isArray(o) && r !== void 0 ? c(o, r) : e(o);
33
- }
34
- export {
35
- p as i,
36
- l as o
37
- };
@@ -1,9 +0,0 @@
1
- import { u as o } from "./index-1KQbTQJ2.js";
2
- import "react";
3
- const e = (s) => {
4
- const [, , , , r] = o();
5
- return r ? `${s}-css-var` : "";
6
- };
7
- export {
8
- e as u
9
- };
@@ -1,15 +0,0 @@
1
- import a from "react";
2
- import { C as f } from "./CloseOutlined-Q3kC3EZS.js";
3
- function d(n, e, t) {
4
- return typeof n == "boolean" ? n : e === void 0 ? !!t : e !== !1 && e !== null;
5
- }
6
- function g(n, e, t) {
7
- let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : /* @__PURE__ */ a.createElement(f, null), r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1;
8
- if (!d(n, e, r))
9
- return [!1, null];
10
- const u = typeof e == "boolean" || e === void 0 || e === null ? l : e;
11
- return [!0, t ? t(u) : u];
12
- }
13
- export {
14
- g as u
15
- };