asterui 0.12.68 → 0.12.70
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.
- package/dist/components/Form.d.ts +5 -2
- package/dist/components/Form.js +184 -175
- package/dist/components/Form.js.map +1 -1
- package/dist/components/Input.js +128 -123
- package/dist/components/Input.js.map +1 -1
- package/dist/components/RichTextEditor.js +18 -18
- package/dist/components/RichTextEditor.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +180 -177
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9,13 +9,13 @@ import { Breadcrumb as g } from "./components/Breadcrumb.js";
|
|
|
9
9
|
import { Button as S } from "./components/Button.js";
|
|
10
10
|
import { SizeContext as h, SizeProvider as k, useSize as v } from "./contexts/SizeContext.js";
|
|
11
11
|
import { CopyButton as b } from "./components/CopyButton.js";
|
|
12
|
-
import { Checkbox as
|
|
13
|
-
import { Chat as
|
|
12
|
+
import { Checkbox as F } from "./components/Checkbox.js";
|
|
13
|
+
import { Chat as y } from "./components/Chat.js";
|
|
14
14
|
import { ColorPicker as M } from "./components/ColorPicker.js";
|
|
15
15
|
import { Card as L } from "./components/Card.js";
|
|
16
16
|
import { Carousel as z } from "./components/Carousel.js";
|
|
17
|
-
import { Cascader as
|
|
18
|
-
import { ConfigContext as
|
|
17
|
+
import { Cascader as W } from "./components/Cascader.js";
|
|
18
|
+
import { ConfigContext as K, ConfigProvider as E, useComponentLocale as N, useConfig as J, useLocale as O } from "./providers/ConfigProvider.js";
|
|
19
19
|
import { Collapse as j } from "./components/Collapse.js";
|
|
20
20
|
import { Command as Q } from "./components/Command.js";
|
|
21
21
|
import { Container as X } from "./components/Container.js";
|
|
@@ -34,92 +34,93 @@ import { Fieldset as Po } from "./components/Fieldset.js";
|
|
|
34
34
|
import { FileInput as ko } from "./components/FileInput.js";
|
|
35
35
|
import { Filter as Ro } from "./components/Filter.js";
|
|
36
36
|
import { Flex as Do } from "./components/Flex.js";
|
|
37
|
-
import { FloatButton as
|
|
38
|
-
import { Footer as
|
|
39
|
-
import { Form as Ao,
|
|
40
|
-
import { Col as
|
|
41
|
-
import { Hero as
|
|
42
|
-
import { HoverGallery as
|
|
43
|
-
import { Image as
|
|
44
|
-
import { Dropdown as
|
|
45
|
-
import { Empty as
|
|
46
|
-
import { Input as
|
|
47
|
-
import { InputNumber as
|
|
48
|
-
import { Join as
|
|
49
|
-
import { Kbd as
|
|
50
|
-
import { Layout as
|
|
51
|
-
import { List as
|
|
52
|
-
import { Loading as
|
|
53
|
-
import { Mask as
|
|
54
|
-
import { Masonry as
|
|
55
|
-
import { Mention as
|
|
56
|
-
import { Menu as
|
|
57
|
-
import { Browser as
|
|
58
|
-
import { Code as
|
|
59
|
-
import { Phone as
|
|
60
|
-
import { Window as
|
|
61
|
-
import { Modal as
|
|
37
|
+
import { FloatButton as wo } from "./components/FloatButton.js";
|
|
38
|
+
import { Footer as Bo } from "./components/Footer.js";
|
|
39
|
+
import { Form as Ao, useForm as Lo, useFormInstance as Io } from "./components/Form.js";
|
|
40
|
+
import { Col as Ho, Grid as Wo, Row as Go } from "./components/Grid.js";
|
|
41
|
+
import { Hero as Eo } from "./components/Hero.js";
|
|
42
|
+
import { HoverGallery as Jo } from "./components/HoverGallery.js";
|
|
43
|
+
import { Image as Uo } from "./components/Image.js";
|
|
44
|
+
import { Dropdown as qo } from "./components/Dropdown.js";
|
|
45
|
+
import { Empty as Vo } from "./components/Empty.js";
|
|
46
|
+
import { Input as Yo } from "./components/Input.js";
|
|
47
|
+
import { InputNumber as _o } from "./components/InputNumber.js";
|
|
48
|
+
import { Join as or } from "./components/Join.js";
|
|
49
|
+
import { Kbd as er } from "./components/Kbd.js";
|
|
50
|
+
import { Layout as pr, useSiderContext as mr } from "./components/Layout.js";
|
|
51
|
+
import { List as xr } from "./components/List.js";
|
|
52
|
+
import { Loading as sr } from "./components/Loading.js";
|
|
53
|
+
import { Mask as ir } from "./components/Mask.js";
|
|
54
|
+
import { Masonry as lr } from "./components/Masonry.js";
|
|
55
|
+
import { Mention as Cr } from "./components/Mention.js";
|
|
56
|
+
import { Menu as gr } from "./components/Menu.js";
|
|
57
|
+
import { Browser as Sr } from "./components/Browser.js";
|
|
58
|
+
import { Code as hr } from "./components/Code.js";
|
|
59
|
+
import { Phone as vr } from "./components/Phone.js";
|
|
60
|
+
import { Window as br } from "./components/Window.js";
|
|
61
|
+
import { Modal as Fr } from "./components/Modal.js";
|
|
62
62
|
import { Navbar as yr } from "./components/Navbar.js";
|
|
63
|
-
import { notification as
|
|
64
|
-
import { MessageManager as
|
|
65
|
-
import { OTPInput as
|
|
63
|
+
import { notification as Mr } from "./components/Notification.js";
|
|
64
|
+
import { MessageManager as Lr, message as Ir } from "./components/Message.js";
|
|
65
|
+
import { OTPInput as Hr } from "./components/OTPInput.js";
|
|
66
66
|
import { Pagination as Gr } from "./components/Pagination.js";
|
|
67
|
-
import { Popconfirm as
|
|
68
|
-
import { Popover as
|
|
69
|
-
import { Progress as
|
|
70
|
-
import { Radio as
|
|
71
|
-
import { RadialProgress as
|
|
72
|
-
import { Range as
|
|
73
|
-
import { Rating as
|
|
74
|
-
import { Result as
|
|
75
|
-
import { Select as
|
|
76
|
-
import { Segmented as
|
|
77
|
-
import { Skeleton as
|
|
78
|
-
import { Space as
|
|
79
|
-
import { Splitter as
|
|
80
|
-
import { Stats as
|
|
81
|
-
import { Status as
|
|
82
|
-
import { Steps as
|
|
83
|
-
import { Table as
|
|
84
|
-
import { Tabs as
|
|
85
|
-
import { Textarea as
|
|
86
|
-
import { TextRotate as
|
|
87
|
-
import { CheckableTag as
|
|
67
|
+
import { Popconfirm as Er } from "./components/Popconfirm.js";
|
|
68
|
+
import { Popover as Jr } from "./components/Popover.js";
|
|
69
|
+
import { Progress as Ur } from "./components/Progress.js";
|
|
70
|
+
import { Radio as qr } from "./components/Radio.js";
|
|
71
|
+
import { RadialProgress as Vr } from "./components/RadialProgress.js";
|
|
72
|
+
import { Range as Yr } from "./components/Range.js";
|
|
73
|
+
import { Rating as _r } from "./components/Rating.js";
|
|
74
|
+
import { Result as oe } from "./components/Result.js";
|
|
75
|
+
import { Select as ee } from "./components/Select.js";
|
|
76
|
+
import { Segmented as pe } from "./components/Segmented.js";
|
|
77
|
+
import { Skeleton as fe } from "./components/Skeleton.js";
|
|
78
|
+
import { Space as ae } from "./components/Space.js";
|
|
79
|
+
import { Splitter as ne } from "./components/Splitter.js";
|
|
80
|
+
import { Stats as ue } from "./components/Stat.js";
|
|
81
|
+
import { Status as de } from "./components/Status.js";
|
|
82
|
+
import { Steps as ce } from "./components/Steps.js";
|
|
83
|
+
import { Table as Te } from "./components/Table.js";
|
|
84
|
+
import { Tabs as Pe } from "./components/Tabs.js";
|
|
85
|
+
import { Textarea as ke } from "./components/Textarea.js";
|
|
86
|
+
import { TextRotate as Re } from "./components/TextRotate.js";
|
|
87
|
+
import { CheckableTag as De, Tag as Fe, TagLiveRegion as we } from "./components/Tag.js";
|
|
88
88
|
import { ThemeController as Be } from "./components/ThemeController.js";
|
|
89
|
-
import { ThemeProvider as
|
|
90
|
-
import { TimePicker as
|
|
89
|
+
import { ThemeProvider as Ae, useHasThemeProvider as Le, useThemeContext as Ie } from "./providers/ThemeProvider.js";
|
|
90
|
+
import { TimePicker as He } from "./components/TimePicker.js";
|
|
91
91
|
import { Timeline as Ge } from "./components/Timeline.js";
|
|
92
|
-
import { Toggle as
|
|
93
|
-
import { Tour as
|
|
94
|
-
import { Tooltip as
|
|
95
|
-
import { Transfer as
|
|
96
|
-
import { Tree as
|
|
97
|
-
import { TreeSelect as
|
|
98
|
-
import { Typography as
|
|
99
|
-
import { Upload as
|
|
100
|
-
import { Watermark as
|
|
101
|
-
import { Hide as
|
|
102
|
-
import { useBreakpoint as
|
|
103
|
-
import { useDisclosure as
|
|
104
|
-
import { useClipboard as
|
|
105
|
-
import { useLocalStorage as
|
|
106
|
-
import { useDebounce as
|
|
107
|
-
import { useClickOutside as
|
|
108
|
-
import { usePrevious as
|
|
109
|
-
import { useHover as
|
|
110
|
-
import { useKeyPress as
|
|
111
|
-
import { useWindowSize as
|
|
92
|
+
import { Toggle as Ee } from "./components/Toggle.js";
|
|
93
|
+
import { Tour as Je } from "./components/Tour.js";
|
|
94
|
+
import { Tooltip as Ue } from "./components/Tooltip.js";
|
|
95
|
+
import { Transfer as qe } from "./components/Transfer.js";
|
|
96
|
+
import { Tree as Ve } from "./components/Tree.js";
|
|
97
|
+
import { TreeSelect as Ye, TreeSelectComponent as Ze } from "./components/TreeSelect.js";
|
|
98
|
+
import { Typography as $e } from "./components/Typography.js";
|
|
99
|
+
import { Upload as rt } from "./components/Upload.js";
|
|
100
|
+
import { Watermark as tt } from "./components/Watermark.js";
|
|
101
|
+
import { Hide as mt, Show as ft } from "./components/Responsive.js";
|
|
102
|
+
import { useBreakpoint as at } from "./hooks/useBreakpoint.js";
|
|
103
|
+
import { useDisclosure as nt } from "./hooks/useDisclosure.js";
|
|
104
|
+
import { useClipboard as ut } from "./hooks/useClipboard.js";
|
|
105
|
+
import { useLocalStorage as dt } from "./hooks/useLocalStorage.js";
|
|
106
|
+
import { useDebounce as ct } from "./hooks/useDebounce.js";
|
|
107
|
+
import { useClickOutside as Tt } from "./hooks/useClickOutside.js";
|
|
108
|
+
import { usePrevious as Pt } from "./hooks/usePrevious.js";
|
|
109
|
+
import { useHover as kt } from "./hooks/useHover.js";
|
|
110
|
+
import { useKeyPress as Rt, useKeyPressCallback as bt } from "./hooks/useKeyPress.js";
|
|
111
|
+
import { useWindowSize as Ft } from "./hooks/useWindowSize.js";
|
|
112
112
|
import { useTheme as yt } from "./hooks/useTheme.js";
|
|
113
|
-
import { default as
|
|
114
|
-
import { default as
|
|
115
|
-
import { default as
|
|
116
|
-
import { default as
|
|
113
|
+
import { default as Mt } from "./locale/en-US.js";
|
|
114
|
+
import { default as Lt } from "./locale/en-GB.js";
|
|
115
|
+
import { default as zt } from "./locale/en-CA.js";
|
|
116
|
+
import { default as Wt } from "./locale/zh-CN.js";
|
|
117
117
|
import { default as Kt } from "./locale/es-ES.js";
|
|
118
|
-
import { default as
|
|
119
|
-
import { default as
|
|
120
|
-
import { default as
|
|
121
|
-
import { default as
|
|
122
|
-
import { default as
|
|
118
|
+
import { default as Nt } from "./locale/ja-JP.js";
|
|
119
|
+
import { default as Ot } from "./locale/pt-BR.js";
|
|
120
|
+
import { default as jt } from "./locale/de-DE.js";
|
|
121
|
+
import { default as Qt } from "./locale/fr-FR.js";
|
|
122
|
+
import { default as Xt } from "./locale/ko-KR.js";
|
|
123
|
+
import { useWatch as Zt } from "react-hook-form";
|
|
123
124
|
export {
|
|
124
125
|
e as Affix,
|
|
125
126
|
a as Alert,
|
|
@@ -130,20 +131,20 @@ export {
|
|
|
130
131
|
l as AvatarGroup,
|
|
131
132
|
C as Badge,
|
|
132
133
|
g as Breadcrumb,
|
|
133
|
-
|
|
134
|
+
Sr as Browser,
|
|
134
135
|
S as Button,
|
|
135
136
|
L as Card,
|
|
136
137
|
z as Carousel,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
138
|
+
W as Cascader,
|
|
139
|
+
y as Chat,
|
|
140
|
+
De as CheckableTag,
|
|
141
|
+
F as Checkbox,
|
|
142
|
+
hr as Code,
|
|
143
|
+
Ho as Col,
|
|
143
144
|
j as Collapse,
|
|
144
145
|
M as ColorPicker,
|
|
145
146
|
Q as Command,
|
|
146
|
-
|
|
147
|
+
K as ConfigContext,
|
|
147
148
|
E as ConfigProvider,
|
|
148
149
|
X as Container,
|
|
149
150
|
Z as ContextMenu,
|
|
@@ -155,112 +156,114 @@ export {
|
|
|
155
156
|
lo as Divider,
|
|
156
157
|
io as Dock,
|
|
157
158
|
co as Drawer,
|
|
158
|
-
|
|
159
|
-
|
|
159
|
+
qo as Dropdown,
|
|
160
|
+
Vo as Empty,
|
|
160
161
|
Po as Fieldset,
|
|
161
162
|
ko as FileInput,
|
|
162
163
|
Ro as Filter,
|
|
163
164
|
Do as Flex,
|
|
164
|
-
|
|
165
|
-
|
|
165
|
+
wo as FloatButton,
|
|
166
|
+
Bo as Footer,
|
|
166
167
|
Ao as Form,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
168
|
+
Wo as Grid,
|
|
169
|
+
Eo as Hero,
|
|
170
|
+
mt as Hide,
|
|
171
|
+
Jo as HoverGallery,
|
|
172
|
+
Uo as Image,
|
|
173
|
+
Yo as Input,
|
|
174
|
+
_o as InputNumber,
|
|
175
|
+
or as Join,
|
|
176
|
+
er as Kbd,
|
|
177
|
+
pr as Layout,
|
|
178
|
+
xr as List,
|
|
179
|
+
sr as Loading,
|
|
180
|
+
ir as Mask,
|
|
181
|
+
lr as Masonry,
|
|
182
|
+
Cr as Mention,
|
|
183
|
+
gr as Menu,
|
|
184
|
+
Lr as MessageManager,
|
|
185
|
+
Fr as Modal,
|
|
185
186
|
to as MonthCalendar,
|
|
186
187
|
yr as Navbar,
|
|
187
|
-
|
|
188
|
+
Hr as OTPInput,
|
|
188
189
|
Gr as Pagination,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
190
|
+
vr as Phone,
|
|
191
|
+
Er as Popconfirm,
|
|
192
|
+
Jr as Popover,
|
|
193
|
+
Ur as Progress,
|
|
194
|
+
Vr as RadialProgress,
|
|
195
|
+
qr as Radio,
|
|
196
|
+
Yr as Range,
|
|
197
|
+
_r as Rating,
|
|
197
198
|
To as ResponsiveDrawer,
|
|
198
|
-
|
|
199
|
+
oe as Result,
|
|
199
200
|
Go as Row,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
201
|
+
pe as Segmented,
|
|
202
|
+
ee as Select,
|
|
203
|
+
ft as Show,
|
|
203
204
|
h as SizeContext,
|
|
204
205
|
k as SizeProvider,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
206
|
+
fe as Skeleton,
|
|
207
|
+
ae as Space,
|
|
208
|
+
ne as Splitter,
|
|
209
|
+
ue as Stats,
|
|
210
|
+
de as Status,
|
|
211
|
+
ce as Steps,
|
|
212
|
+
Te as Table,
|
|
213
|
+
Pe as Tabs,
|
|
214
|
+
Fe as Tag,
|
|
214
215
|
we as TagLiveRegion,
|
|
215
|
-
|
|
216
|
-
|
|
216
|
+
Re as TextRotate,
|
|
217
|
+
ke as Textarea,
|
|
217
218
|
Be as ThemeController,
|
|
218
|
-
|
|
219
|
-
|
|
219
|
+
Ae as ThemeProvider,
|
|
220
|
+
He as TimePicker,
|
|
220
221
|
Ge as Timeline,
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
222
|
+
Ee as Toggle,
|
|
223
|
+
Ue as Tooltip,
|
|
224
|
+
Je as Tour,
|
|
225
|
+
qe as Transfer,
|
|
226
|
+
Ve as Tree,
|
|
227
|
+
Ye as TreeSelect,
|
|
228
|
+
Ze as TreeSelectComponent,
|
|
229
|
+
$e as Typography,
|
|
230
|
+
rt as Upload,
|
|
231
|
+
tt as Watermark,
|
|
231
232
|
mo as WeekCalendar,
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
233
|
+
br as Window,
|
|
234
|
+
jt as deDE,
|
|
235
|
+
zt as enCA,
|
|
236
|
+
Lt as enGB,
|
|
237
|
+
Mt as enUS,
|
|
237
238
|
Kt as esES,
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
239
|
+
Qt as frFR,
|
|
240
|
+
Nt as jaJP,
|
|
241
|
+
Xt as koKR,
|
|
242
|
+
Ir as message,
|
|
243
|
+
Mr as notification,
|
|
244
|
+
Ot as ptBR,
|
|
245
|
+
at as useBreakpoint,
|
|
246
|
+
Tt as useClickOutside,
|
|
247
|
+
ut as useClipboard,
|
|
247
248
|
N as useComponentLocale,
|
|
248
249
|
J as useConfig,
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
Lo as
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
Rt as
|
|
256
|
-
|
|
250
|
+
ct as useDebounce,
|
|
251
|
+
nt as useDisclosure,
|
|
252
|
+
Lo as useForm,
|
|
253
|
+
Io as useFormInstance,
|
|
254
|
+
Le as useHasThemeProvider,
|
|
255
|
+
kt as useHover,
|
|
256
|
+
Rt as useKeyPress,
|
|
257
|
+
bt as useKeyPressCallback,
|
|
258
|
+
dt as useLocalStorage,
|
|
257
259
|
O as useLocale,
|
|
258
|
-
|
|
259
|
-
|
|
260
|
+
Pt as usePrevious,
|
|
261
|
+
mr as useSiderContext,
|
|
260
262
|
v as useSize,
|
|
261
263
|
yt as useTheme,
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
264
|
+
Ie as useThemeContext,
|
|
265
|
+
Zt as useWatch,
|
|
266
|
+
Ft as useWindowSize,
|
|
267
|
+
Wt as zhCN
|
|
265
268
|
};
|
|
266
269
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|