@nutui/nutui-react 2.0.0-alpha.1 → 2.0.0-alpha.10
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/CHANGELOG.md +105 -0
- package/dist/esm/Address.js +1 -1
- package/dist/esm/Animate.js +6 -7
- package/dist/esm/Audio.js +12 -8
- package/dist/esm/Avatar.js +30 -25
- package/dist/esm/AvatarGroup.js +10 -15
- package/dist/esm/Badge.js +4 -73
- package/dist/esm/CalendarItem.js +2 -12
- package/dist/esm/Cascader.js +67 -69
- package/dist/esm/Checkbox.js +1 -2
- package/dist/esm/CheckboxGroup.js +18 -20
- package/dist/esm/CircleProgress.js +20 -25
- package/dist/esm/DatePicker.js +10 -10
- package/dist/esm/Dialog.js +162 -171
- package/dist/esm/Divider.js +4 -3
- package/dist/esm/Drag.js +7 -9
- package/dist/esm/Elevator.js +39 -41
- package/dist/esm/Ellipsis.js +13 -12
- package/dist/esm/Empty.js +18 -26
- package/dist/esm/Image.js +5 -10
- package/dist/esm/ImagePreview.js +67 -58
- package/dist/esm/Indicator.js +4 -4
- package/dist/esm/Input.js +87 -193
- package/dist/esm/Menu.js +75 -73
- package/dist/esm/MenuItem.js +29 -27
- package/dist/esm/NavBar.js +17 -48
- package/dist/esm/NoticeBar.js +50 -87
- package/dist/esm/Notify.js +35 -46
- package/dist/esm/NumberKeyboard.js +137 -195
- package/dist/esm/Picker.js +175 -160
- package/dist/esm/Popup.js +2 -4
- package/dist/esm/Price.js +22 -23
- package/dist/esm/Progress.js +74 -67
- package/dist/esm/PullToRefresh.js +8 -8
- package/dist/esm/Radio.js +2 -0
- package/dist/esm/RadioGroup.js +31 -51
- package/dist/esm/Range/style/index.js +1 -1
- package/dist/esm/Range.js +119 -174
- package/dist/esm/Skeleton.js +1 -1
- package/dist/esm/Step.js +23 -28
- package/dist/esm/Steps/style/index.js +1 -1
- package/dist/esm/Steps.js +10 -11
- package/dist/esm/Swipe.js +4 -10
- package/dist/esm/Swiper.js +86 -91
- package/dist/esm/SwiperItem.js +1 -1
- package/dist/esm/Switch.js +16 -30
- package/dist/esm/TabPane.js +39 -5
- package/dist/esm/Tabbar/style/index.js +1 -1
- package/dist/esm/Tabbar.js +29 -33
- package/dist/esm/TabbarItem.js +5 -75
- package/dist/esm/Table.js +20 -34
- package/dist/esm/Tabs.js +2 -2
- package/dist/esm/TextArea.js +53 -81
- package/dist/esm/Uploader.js +2 -3
- package/dist/esm/badge2.js +69 -0
- package/dist/esm/cellgroup2.js +5 -4
- package/dist/esm/checkbox2.js +34 -47
- package/dist/esm/nutui-react.es.js +170 -170
- package/dist/esm/overlay2.js +12 -14
- package/dist/esm/radio2.js +52 -54
- package/dist/esm/raf.js +16 -0
- package/dist/esm/tabbaritem2.js +61 -0
- package/dist/esm/tabs2.js +126 -95
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/locales/zh-UG.js +1 -1
- package/dist/nutui.react.mjs +21778 -22695
- package/dist/nutui.react.umd.js +21776 -22693
- package/dist/packages/badge/badge.scss +8 -18
- package/dist/packages/cascader/cascader.scss +0 -26
- package/dist/packages/cellgroup/cellgroup.scss +20 -16
- package/dist/packages/checkbox/checkbox.scss +8 -11
- package/dist/packages/circleprogress/circleprogress.scss +0 -9
- package/dist/packages/dialog/dialog.scss +36 -65
- package/dist/packages/elevator/elevator.scss +2 -28
- package/dist/packages/empty/empty.scss +0 -9
- package/dist/packages/imagepreview/imagepreview.scss +52 -16
- package/dist/packages/input/input.scss +13 -180
- package/dist/packages/menu/menu.scss +44 -55
- package/dist/packages/menuitem/menuitem.scss +16 -26
- package/dist/packages/navbar/navbar.scss +16 -115
- package/dist/packages/noticebar/noticebar.scss +18 -19
- package/dist/packages/notify/notify.scss +1 -1
- package/dist/packages/numberkeyboard/numberkeyboard.scss +29 -77
- package/dist/packages/overlay/overlay.scss +11 -4
- package/dist/packages/picker/picker.scss +66 -137
- package/dist/packages/price/price.scss +8 -0
- package/dist/packages/progress/progress.scss +19 -58
- package/dist/packages/pulltorefresh/pulltorefresh.scss +0 -8
- package/dist/packages/radio/radio.scss +13 -32
- package/dist/packages/radiogroup/radiogroup.scss +17 -51
- package/dist/packages/range/range.scss +24 -49
- package/dist/packages/step/step.scss +9 -62
- package/dist/packages/steps/steps.scss +2 -0
- package/dist/packages/swiper/swiper.scss +3 -18
- package/dist/packages/switch/switch.scss +13 -31
- package/dist/packages/tabbar/tabbar.scss +16 -22
- package/dist/packages/tabbaritem/tabbaritem.scss +9 -70
- package/dist/packages/table/table.scss +0 -56
- package/dist/packages/tabs/tabs.scss +196 -225
- package/dist/packages/textarea/textarea.scss +5 -12
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/styles/themes/default.scss +17 -18
- package/dist/styles/variables-jmapp.scss +120 -240
- package/dist/styles/variables.scss +139 -252
- package/dist/types/index.d.ts +541 -680
- package/package.json +2 -2
- package/dist/esm/Icon.js +0 -83
- package/dist/esm/tabpane2.js +0 -44
- package/dist/packages/icon/icon.scss +0 -0
- /package/dist/esm/{AvatarContext.js → context.js} +0 -0
- /package/dist/esm/{UserContext2.js → context2.js} +0 -0
- /package/dist/esm/{UserContext3.js → context3.js} +0 -0
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { CSSProperties, ReactNode, FunctionComponent, MouseEvent as MouseEvent$1,
|
|
2
|
+
import React__default, { CSSProperties, ReactNode, FunctionComponent, MouseEvent as MouseEvent$1, HTMLInputTypeAttribute, ChangeEvent, FocusEvent, RefObject, ForwardRefExoticComponent, PropsWithChildren, Component, ReactEventHandler } from 'react';
|
|
3
3
|
|
|
4
4
|
interface BasicComponent {
|
|
5
5
|
className?: string;
|
|
@@ -39,6 +39,7 @@ interface CellGroupProps extends BasicComponent {
|
|
|
39
39
|
title: ReactNode;
|
|
40
40
|
description: ReactNode;
|
|
41
41
|
children?: ReactNode;
|
|
42
|
+
divider: boolean;
|
|
42
43
|
}
|
|
43
44
|
declare const CellGroup: FunctionComponent<Partial<CellGroupProps>>;
|
|
44
45
|
|
|
@@ -204,32 +205,12 @@ interface OverlayProps extends BasicComponent {
|
|
|
204
205
|
closeOnOverlayClick: boolean;
|
|
205
206
|
visible: boolean;
|
|
206
207
|
lockScroll: boolean;
|
|
208
|
+
onClick: (event: MouseEvent$1) => void;
|
|
207
209
|
afterShow: () => void;
|
|
208
210
|
afterClose: () => void;
|
|
209
211
|
}
|
|
210
212
|
declare const Overlay: FunctionComponent<Partial<OverlayProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
211
213
|
|
|
212
|
-
type Teleport = HTMLElement | (() => HTMLElement) | null;
|
|
213
|
-
interface PopupProps extends OverlayProps {
|
|
214
|
-
position: string;
|
|
215
|
-
transition: string;
|
|
216
|
-
overlayStyle: React__default.CSSProperties;
|
|
217
|
-
overlayClassName: string;
|
|
218
|
-
closeable: boolean;
|
|
219
|
-
closeIconPosition: string;
|
|
220
|
-
closeIcon: React__default.ReactNode;
|
|
221
|
-
destroyOnClose: boolean;
|
|
222
|
-
portal: Teleport;
|
|
223
|
-
overlay: boolean;
|
|
224
|
-
round: boolean;
|
|
225
|
-
onOpen: () => void;
|
|
226
|
-
onClose: () => void;
|
|
227
|
-
onClick: (e: MouseEvent$1) => void;
|
|
228
|
-
onClickOverlay: (e: MouseEvent$1) => boolean | void;
|
|
229
|
-
onClickCloseIcon: (e: MouseEvent$1) => boolean | void;
|
|
230
|
-
}
|
|
231
|
-
declare const Popup: FunctionComponent<Partial<PopupProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
232
|
-
|
|
233
214
|
type EventType$1 = 'row' | 'col';
|
|
234
215
|
interface ColProps extends BasicComponent {
|
|
235
216
|
span: string | number;
|
|
@@ -241,10 +222,8 @@ declare const Col: FunctionComponent<Partial<ColProps> & Omit<React__default.HTM
|
|
|
241
222
|
|
|
242
223
|
type ContentPositionType = 'left' | 'center' | 'right';
|
|
243
224
|
type DirectionType = 'horizontal' | 'vertical';
|
|
244
|
-
interface DividerProps {
|
|
225
|
+
interface DividerProps extends BasicComponent {
|
|
245
226
|
contentPosition: ContentPositionType;
|
|
246
|
-
style?: React__default.CSSProperties;
|
|
247
|
-
className?: string;
|
|
248
227
|
direction?: DirectionType;
|
|
249
228
|
}
|
|
250
229
|
declare const Divider: FunctionComponent<Partial<DividerProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -303,16 +282,24 @@ interface StickyProps extends BasicComponent {
|
|
|
303
282
|
}
|
|
304
283
|
declare const Sticky: FunctionComponent<Partial<StickyProps>>;
|
|
305
284
|
|
|
285
|
+
interface BackTopProps extends BasicComponent {
|
|
286
|
+
target: string;
|
|
287
|
+
threshold: number;
|
|
288
|
+
zIndex: number;
|
|
289
|
+
duration: number;
|
|
290
|
+
onClick?: (event: MouseEvent) => void;
|
|
291
|
+
}
|
|
292
|
+
declare const BackTop: FunctionComponent<Partial<BackTopProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
293
|
+
|
|
306
294
|
declare const elevatorContext: React__default.Context<ElevatorData>;
|
|
307
|
-
interface ElevatorProps {
|
|
295
|
+
interface ElevatorProps extends BasicComponent {
|
|
308
296
|
height: number | string;
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
297
|
+
floorKey: string;
|
|
298
|
+
list: any[];
|
|
299
|
+
sticky: boolean;
|
|
312
300
|
spaceHeight: number;
|
|
313
301
|
titleHeight: number;
|
|
314
|
-
|
|
315
|
-
style: React__default.CSSProperties;
|
|
302
|
+
showKeys: boolean;
|
|
316
303
|
children: React__default.ReactNode;
|
|
317
304
|
onClickItem: (key: string, item: ElevatorData) => void;
|
|
318
305
|
onClickIndex: (key: string) => void;
|
|
@@ -326,7 +313,7 @@ declare const Elevator: FunctionComponent<Partial<ElevatorProps> & React__defaul
|
|
|
326
313
|
Context: typeof elevatorContext;
|
|
327
314
|
};
|
|
328
315
|
|
|
329
|
-
type Direction$
|
|
316
|
+
type Direction$2 = 'right' | 'left';
|
|
330
317
|
type Position$2 = {
|
|
331
318
|
top?: string;
|
|
332
319
|
bottom?: string;
|
|
@@ -338,88 +325,26 @@ interface FixedNavProps extends BasicComponent {
|
|
|
338
325
|
activeText: string;
|
|
339
326
|
inactiveText: string;
|
|
340
327
|
position: Position$2;
|
|
341
|
-
type: Direction$
|
|
328
|
+
type: Direction$2;
|
|
342
329
|
onChange: (item: any) => void;
|
|
343
330
|
onSelect: (item: any, event: MouseEvent$1) => void;
|
|
344
331
|
content: React__default.ReactNode;
|
|
345
332
|
}
|
|
346
333
|
declare const FixedNav: FunctionComponent<Partial<FixedNavProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onSelect' | 'content'>>;
|
|
347
334
|
|
|
348
|
-
interface IndicatorProps {
|
|
349
|
-
total: number;
|
|
350
|
-
current: number;
|
|
351
|
-
direction: string;
|
|
352
|
-
}
|
|
353
|
-
declare const Indicator: FunctionComponent<Partial<IndicatorProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
354
|
-
|
|
355
|
-
interface MenuProps extends BasicComponent {
|
|
356
|
-
className: string;
|
|
357
|
-
style: React__default.CSSProperties;
|
|
358
|
-
activeColor: string;
|
|
359
|
-
closeOnClickOverlay: boolean;
|
|
360
|
-
scrollFixed: boolean | string | number;
|
|
361
|
-
lockScroll: boolean;
|
|
362
|
-
titleIcon: React__default.ReactNode;
|
|
363
|
-
children: React__default.ReactNode;
|
|
364
|
-
}
|
|
365
|
-
declare const Menu: FunctionComponent<Partial<MenuProps>>;
|
|
366
|
-
|
|
367
|
-
interface OptionItem {
|
|
368
|
-
text: string;
|
|
369
|
-
value: string | number;
|
|
370
|
-
}
|
|
371
|
-
interface MenuItemProps extends BasicComponent {
|
|
372
|
-
className: string;
|
|
373
|
-
style: React__default.CSSProperties;
|
|
374
|
-
title: React__default.ReactNode;
|
|
375
|
-
options: OptionItem[];
|
|
376
|
-
disabled: boolean;
|
|
377
|
-
columns: number;
|
|
378
|
-
optionsIcon: React__default.ReactNode;
|
|
379
|
-
direction: string;
|
|
380
|
-
activeTitleClass: string;
|
|
381
|
-
inactiveTitleClass: string;
|
|
382
|
-
value: string | number;
|
|
383
|
-
onChange: (event: any) => void;
|
|
384
|
-
children: React__default.ReactNode;
|
|
385
|
-
}
|
|
386
|
-
declare const MenuItem: React__default.ForwardRefExoticComponent<Partial<MenuItemProps> & React__default.RefAttributes<unknown>>;
|
|
387
|
-
|
|
388
335
|
interface NavBarProps$1 extends BasicComponent {
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
description: string;
|
|
393
|
-
className: string;
|
|
336
|
+
left: React__default.ReactNode;
|
|
337
|
+
back: React__default.ReactNode;
|
|
338
|
+
right: React__default.ReactNode;
|
|
394
339
|
fixed: boolean;
|
|
395
340
|
safeAreaInsetTop: boolean;
|
|
396
|
-
border: boolean;
|
|
397
341
|
placeholder: boolean;
|
|
398
342
|
zIndex: number | string;
|
|
399
|
-
style: React__default.CSSProperties;
|
|
400
|
-
onClickTitle: (e: React__default.MouseEvent<HTMLDivElement>) => void;
|
|
401
|
-
onClickIcon: (e: React__default.MouseEvent<HTMLDivElement>) => void;
|
|
402
343
|
onClickBack: (e: React__default.MouseEvent<HTMLElement>) => void;
|
|
403
|
-
onClickRight: (e: React__default.MouseEvent<HTMLDivElement>) => void;
|
|
404
344
|
children?: React__default.ReactNode;
|
|
405
345
|
}
|
|
406
346
|
declare const NavBar: FunctionComponent<Partial<NavBarProps$1>>;
|
|
407
347
|
|
|
408
|
-
interface PaginationProps extends BasicComponent {
|
|
409
|
-
value: number;
|
|
410
|
-
defaultValue: number;
|
|
411
|
-
mode: 'multi' | 'simple';
|
|
412
|
-
prev: ReactNode;
|
|
413
|
-
next: ReactNode;
|
|
414
|
-
total: number;
|
|
415
|
-
pageSize: number;
|
|
416
|
-
itemSize: number;
|
|
417
|
-
ellipse: boolean;
|
|
418
|
-
itemRender: (page: any) => ReactNode;
|
|
419
|
-
onChange: (currPage: number) => void;
|
|
420
|
-
}
|
|
421
|
-
declare const Pagination: FunctionComponent<Partial<PaginationProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
422
|
-
|
|
423
348
|
type NavBarProps = {
|
|
424
349
|
showhead?: boolean;
|
|
425
350
|
};
|
|
@@ -458,75 +383,64 @@ type SubSideNavBarProps = {
|
|
|
458
383
|
};
|
|
459
384
|
declare const SubSideNavBar: FunctionComponent<SubSideNavBarProps>;
|
|
460
385
|
|
|
461
|
-
interface
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
safeAreaInsetBottom: boolean;
|
|
469
|
-
className: string;
|
|
470
|
-
style: React__default.CSSProperties;
|
|
471
|
-
onSwitch: (child: React__default.ReactElement<any>, active: number) => void;
|
|
472
|
-
children?: React__default.ReactNode;
|
|
386
|
+
interface BadgeProps extends BasicComponent {
|
|
387
|
+
value: ReactNode;
|
|
388
|
+
dot: boolean;
|
|
389
|
+
max: number;
|
|
390
|
+
top: string;
|
|
391
|
+
right: string;
|
|
392
|
+
color: string;
|
|
473
393
|
}
|
|
474
|
-
declare const
|
|
394
|
+
declare const Badge: FunctionComponent<Partial<BadgeProps>>;
|
|
475
395
|
|
|
476
|
-
interface TabbarItemProps extends
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
tabTitle: string;
|
|
480
|
-
icon: React__default.ReactNode;
|
|
481
|
-
href: string;
|
|
482
|
-
num: string | number;
|
|
396
|
+
interface TabbarItemProps extends BadgeProps {
|
|
397
|
+
title: ReactNode;
|
|
398
|
+
icon: ReactNode;
|
|
483
399
|
active: boolean;
|
|
484
400
|
activeColor: string;
|
|
485
|
-
|
|
401
|
+
inactiveColor: string;
|
|
486
402
|
index: number;
|
|
487
403
|
handleClick: (idx: number) => void;
|
|
488
404
|
}
|
|
489
405
|
declare const TabbarItem: FunctionComponent<Partial<TabbarItemProps>>;
|
|
490
406
|
|
|
407
|
+
interface TabbarProps extends BasicComponent {
|
|
408
|
+
defaultValue: number;
|
|
409
|
+
value?: number;
|
|
410
|
+
fixed: boolean;
|
|
411
|
+
inactiveColor: string;
|
|
412
|
+
activeColor: string;
|
|
413
|
+
safeArea: boolean;
|
|
414
|
+
onSwitch: (value: number) => void;
|
|
415
|
+
}
|
|
416
|
+
declare const Tabbar: FunctionComponent<Partial<TabbarProps>> & {
|
|
417
|
+
Item: typeof TabbarItem;
|
|
418
|
+
};
|
|
419
|
+
|
|
491
420
|
interface TabPanelInnerProps {
|
|
492
421
|
autoHeightClassName: string;
|
|
493
422
|
}
|
|
494
423
|
interface TabPaneProps {
|
|
495
424
|
title: string | number;
|
|
496
|
-
|
|
497
|
-
activeKey: string | number;
|
|
425
|
+
value: string | number;
|
|
498
426
|
disabled: boolean;
|
|
499
427
|
className: string;
|
|
500
428
|
children?: React__default.ReactNode;
|
|
501
429
|
}
|
|
502
430
|
declare const TabPane: FunctionComponent<Partial<TabPaneProps & TabPanelInnerProps>>;
|
|
503
431
|
|
|
504
|
-
declare class Title {
|
|
505
|
-
title: string;
|
|
506
|
-
paneKey: string;
|
|
507
|
-
disabled: boolean;
|
|
508
|
-
index: number;
|
|
509
|
-
constructor();
|
|
510
|
-
}
|
|
511
|
-
type TabsSize = 'large' | 'normal' | 'small';
|
|
512
432
|
interface TabsProps extends BasicComponent {
|
|
513
|
-
className: string;
|
|
514
|
-
style: React__default.CSSProperties;
|
|
515
433
|
tabStyle: React__default.CSSProperties;
|
|
516
434
|
value: string | number;
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
direction:
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
leftAlign: boolean;
|
|
527
|
-
titleNode: () => JSX.Element[];
|
|
528
|
-
onChange: (t: Title) => void;
|
|
529
|
-
onClick: (t: Title) => void;
|
|
435
|
+
defaultValue: string | number;
|
|
436
|
+
activeColor: string;
|
|
437
|
+
direction: 'horizontal' | 'vertical';
|
|
438
|
+
activeType: 'line' | 'smile';
|
|
439
|
+
duration: number | string;
|
|
440
|
+
align: 'left' | 'right';
|
|
441
|
+
title: () => JSX.Element[];
|
|
442
|
+
onChange: (index: string | number) => void;
|
|
443
|
+
onClick: (index: string | number) => void;
|
|
530
444
|
autoHeight: boolean;
|
|
531
445
|
children?: React__default.ReactNode;
|
|
532
446
|
}
|
|
@@ -534,6 +448,74 @@ declare const Tabs: FunctionComponent<Partial<TabsProps>> & {
|
|
|
534
448
|
TabPane: typeof TabPane;
|
|
535
449
|
};
|
|
536
450
|
|
|
451
|
+
interface RegionData {
|
|
452
|
+
name?: string;
|
|
453
|
+
[key: string]: any;
|
|
454
|
+
}
|
|
455
|
+
interface ChangeCallBack {
|
|
456
|
+
next: string;
|
|
457
|
+
value: string | RegionData;
|
|
458
|
+
custom: string;
|
|
459
|
+
}
|
|
460
|
+
interface CloseCallBackData extends SelectedRegionObj {
|
|
461
|
+
addressIdStr: string;
|
|
462
|
+
addressStr: string;
|
|
463
|
+
}
|
|
464
|
+
interface CloseCallBack {
|
|
465
|
+
data: CloseCallBackData | AddressList;
|
|
466
|
+
type: string;
|
|
467
|
+
}
|
|
468
|
+
interface AddressList {
|
|
469
|
+
id?: string | number;
|
|
470
|
+
provinceName: string;
|
|
471
|
+
cityName: string;
|
|
472
|
+
countyName: string;
|
|
473
|
+
townName: string;
|
|
474
|
+
addressDetail: string;
|
|
475
|
+
selectedAddress: boolean;
|
|
476
|
+
name?: string;
|
|
477
|
+
phone?: string;
|
|
478
|
+
}
|
|
479
|
+
interface SelectedRegionObj {
|
|
480
|
+
province: RegionData;
|
|
481
|
+
city: RegionData;
|
|
482
|
+
country: RegionData;
|
|
483
|
+
town: RegionData;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
interface AddressProps extends BasicComponent {
|
|
487
|
+
className?: string;
|
|
488
|
+
style?: CSSProperties;
|
|
489
|
+
modelValue: boolean;
|
|
490
|
+
modelSelect: (string | number)[];
|
|
491
|
+
type: string;
|
|
492
|
+
customAddressTitle: string;
|
|
493
|
+
province: RegionData[];
|
|
494
|
+
city: RegionData[];
|
|
495
|
+
country: RegionData[];
|
|
496
|
+
town: RegionData[];
|
|
497
|
+
isShowCustomAddress: boolean;
|
|
498
|
+
existAddress: AddressList[];
|
|
499
|
+
existAddressTitle: string;
|
|
500
|
+
customAndExistTitle: string;
|
|
501
|
+
height: string | number;
|
|
502
|
+
defaultIcon: React__default.ReactNode;
|
|
503
|
+
selectedIcon: React__default.ReactNode;
|
|
504
|
+
closeBtnIcon: React__default.ReactNode;
|
|
505
|
+
backBtnIcon: React__default.ReactNode;
|
|
506
|
+
onSelected?: (prevExistAdd: AddressList, item: AddressList, copyExistAdd: AddressList[]) => void;
|
|
507
|
+
onClose?: (cal: CloseCallBack) => void;
|
|
508
|
+
onCancel?: (cal: {
|
|
509
|
+
closeWay: string;
|
|
510
|
+
}) => void;
|
|
511
|
+
onSwitch?: (cal: {
|
|
512
|
+
type: string;
|
|
513
|
+
}) => void;
|
|
514
|
+
onChange?: (cal: ChangeCallBack) => void;
|
|
515
|
+
onTabChecked?: (cal: string) => void;
|
|
516
|
+
}
|
|
517
|
+
declare const Address: FunctionComponent<Partial<AddressProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
518
|
+
|
|
537
519
|
type CalendarRef$1 = {
|
|
538
520
|
scrollToDate: (date: string) => void;
|
|
539
521
|
};
|
|
@@ -614,30 +596,32 @@ interface CascaderOption {
|
|
|
614
596
|
loading?: boolean;
|
|
615
597
|
root?: boolean;
|
|
616
598
|
}
|
|
599
|
+
type CascaderValue = Exclude<CascaderOption['value'], undefined>[];
|
|
600
|
+
interface optionKey {
|
|
601
|
+
textKey: string;
|
|
602
|
+
valueKey: string;
|
|
603
|
+
childrenKey: string;
|
|
604
|
+
}
|
|
617
605
|
|
|
618
|
-
interface CascaderProps {
|
|
619
|
-
|
|
620
|
-
style: CSSProperties;
|
|
621
|
-
activeColor: string;
|
|
622
|
-
checkedIcon: string;
|
|
623
|
-
tabsColor: string;
|
|
624
|
-
poppable: boolean;
|
|
606
|
+
interface CascaderProps extends BasicComponent {
|
|
607
|
+
popup: boolean;
|
|
625
608
|
visible: boolean;
|
|
609
|
+
activeColor: string;
|
|
610
|
+
activeIcon: string;
|
|
626
611
|
options: CascaderOption[];
|
|
627
|
-
value
|
|
612
|
+
value?: CascaderValue;
|
|
613
|
+
defaultValue?: CascaderValue;
|
|
628
614
|
title: string;
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
childrenKey: string;
|
|
632
|
-
convertConfig: Record<string, string | number | null>;
|
|
615
|
+
optionKey: optionKey;
|
|
616
|
+
format: Record<string, string | number | null>;
|
|
633
617
|
closeable: boolean;
|
|
634
618
|
closeIconPosition: string;
|
|
635
619
|
closeIcon: string;
|
|
636
620
|
lazy: boolean;
|
|
637
|
-
|
|
621
|
+
onLoad: (node: any, resolve: any) => void;
|
|
638
622
|
onClose?: () => void;
|
|
639
|
-
onChange: (value:
|
|
640
|
-
onPathChange: (value:
|
|
623
|
+
onChange: (value: CascaderValue, params?: any) => void;
|
|
624
|
+
onPathChange: (value: CascaderValue, params: any) => void;
|
|
641
625
|
}
|
|
642
626
|
declare const Cascader: React__default.ForwardRefExoticComponent<Partial<CascaderProps> & {
|
|
643
627
|
children?: React__default.ReactNode;
|
|
@@ -647,20 +631,20 @@ interface RadioGroupOptionType {
|
|
|
647
631
|
label: string;
|
|
648
632
|
value: string;
|
|
649
633
|
disabled?: boolean;
|
|
650
|
-
onChange?:
|
|
634
|
+
onChange?: (checked: boolean) => void;
|
|
651
635
|
}
|
|
652
636
|
|
|
653
|
-
type
|
|
637
|
+
type CheckboxLabelPosition = 'left' | 'right';
|
|
654
638
|
type CheckboxDirection = 'horizontal' | 'vertical';
|
|
655
639
|
interface CheckboxGroupProps {
|
|
656
|
-
disabled
|
|
640
|
+
disabled?: boolean;
|
|
657
641
|
value?: string[];
|
|
658
642
|
defaultValue?: string[];
|
|
659
643
|
max: number | undefined;
|
|
660
|
-
|
|
644
|
+
labelPosition: CheckboxLabelPosition;
|
|
661
645
|
direction: CheckboxDirection;
|
|
662
|
-
onChange: (value: string[]) => void;
|
|
663
646
|
options: RadioGroupOptionType[];
|
|
647
|
+
onChange: (value: string[]) => void;
|
|
664
648
|
}
|
|
665
649
|
declare const CheckboxGroup: React__default.ForwardRefExoticComponent<Partial<CheckboxGroupProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, "onChange"> & React__default.RefAttributes<unknown>>;
|
|
666
650
|
|
|
@@ -668,16 +652,14 @@ interface CheckboxProps extends BasicComponent {
|
|
|
668
652
|
checked: boolean;
|
|
669
653
|
disabled: boolean;
|
|
670
654
|
defaultChecked: boolean;
|
|
671
|
-
|
|
672
|
-
iconSize: string | number;
|
|
655
|
+
labelPosition: 'left' | 'right';
|
|
673
656
|
icon: React__default.ReactNode;
|
|
674
|
-
|
|
657
|
+
activeIcon: React__default.ReactNode;
|
|
675
658
|
indeterminateIcon: React__default.ReactNode;
|
|
676
|
-
|
|
677
|
-
iconFontClassName: string;
|
|
659
|
+
value: string | number;
|
|
678
660
|
indeterminate: boolean;
|
|
679
661
|
label: string | number;
|
|
680
|
-
onChange: (
|
|
662
|
+
onChange: (value: boolean) => void;
|
|
681
663
|
}
|
|
682
664
|
declare const Checkbox: FunctionComponent<Partial<CheckboxProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>> & {
|
|
683
665
|
Group: typeof CheckboxGroup;
|
|
@@ -686,7 +668,7 @@ declare const Checkbox: FunctionComponent<Partial<CheckboxProps> & Omit<React__d
|
|
|
686
668
|
interface PickerOption$1 {
|
|
687
669
|
text: string | number;
|
|
688
670
|
value: string | number;
|
|
689
|
-
disabled?:
|
|
671
|
+
disabled?: boolean;
|
|
690
672
|
children?: PickerOption$1[];
|
|
691
673
|
className?: string | number;
|
|
692
674
|
}
|
|
@@ -705,8 +687,8 @@ interface DatePickerProps {
|
|
|
705
687
|
formatter: (type: string, option: PickerOption$1) => PickerOption$1;
|
|
706
688
|
filter: (type: string, option: PickerOption$1[]) => PickerOption$1[];
|
|
707
689
|
onCloseDatePicker: () => void;
|
|
708
|
-
onConfirmDatePicker: (
|
|
709
|
-
onChange?: (
|
|
690
|
+
onConfirmDatePicker: (selectedOptions: PickerOption$1[], selectedValue: (string | number)[]) => void;
|
|
691
|
+
onChange?: (selectedOptions: PickerOption$1[], selectedValue: (string | number)[], columnIndex: number) => void;
|
|
710
692
|
}
|
|
711
693
|
declare const DatePicker: FunctionComponent<Partial<DatePickerProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
712
694
|
|
|
@@ -835,57 +817,30 @@ declare const Form: FunctionComponent<Partial<FormProps> & React__default.HTMLAt
|
|
|
835
817
|
type InputAlignType = 'left' | 'center' | 'right';
|
|
836
818
|
type InputFormatTrigger = 'onChange' | 'onBlur';
|
|
837
819
|
type InputType = HTMLInputTypeAttribute;
|
|
838
|
-
type
|
|
839
|
-
pattern?: RegExp;
|
|
840
|
-
message?: string;
|
|
841
|
-
required?: boolean;
|
|
842
|
-
};
|
|
820
|
+
type ConfirmTextType = 'send' | 'search' | 'next' | 'go' | 'done';
|
|
843
821
|
interface InputProps extends BasicComponent {
|
|
844
822
|
type: InputType;
|
|
845
823
|
name: string;
|
|
846
|
-
defaultValue
|
|
824
|
+
defaultValue?: string;
|
|
825
|
+
value?: string;
|
|
847
826
|
placeholder: string;
|
|
848
|
-
|
|
849
|
-
labelClass: string;
|
|
850
|
-
labelWidth: string | number;
|
|
851
|
-
labelAlign: InputAlignType;
|
|
852
|
-
colon: boolean;
|
|
853
|
-
inputAlign: InputAlignType;
|
|
854
|
-
center: boolean;
|
|
855
|
-
required: boolean;
|
|
827
|
+
align: InputAlignType;
|
|
856
828
|
disabled: boolean;
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
maxlength: any;
|
|
860
|
-
leftIcon: React__default.ReactNode;
|
|
861
|
-
rightIcon: React__default.ReactNode;
|
|
829
|
+
readOnly: boolean;
|
|
830
|
+
maxLength: number;
|
|
862
831
|
clearable: boolean;
|
|
863
832
|
clearIcon: React__default.ReactNode;
|
|
864
|
-
clearSize: string | number;
|
|
865
|
-
border: boolean;
|
|
866
833
|
formatTrigger: InputFormatTrigger;
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
formatter: (value: string) => void;
|
|
878
|
-
onChange?: (value: any, event: Event) => void;
|
|
879
|
-
onBlur?: (value: any, event: Event) => void;
|
|
880
|
-
onFocus?: (value: any, event: Event) => void;
|
|
881
|
-
onClear?: (value: any, event: Event) => void;
|
|
882
|
-
keypress?: (value: any, event: Event) => void;
|
|
883
|
-
onClickInput?: (value: any) => void;
|
|
884
|
-
onClickLeftIcon?: (value: any) => void;
|
|
885
|
-
onClickRightIcon?: (value: any) => void;
|
|
886
|
-
onClick?: (value: any) => void;
|
|
887
|
-
}
|
|
888
|
-
declare const Input: FunctionComponent<Partial<InputProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onBlur' | 'onFocus' | 'onClick'>>;
|
|
834
|
+
autoFocus: boolean;
|
|
835
|
+
confirmType: ConfirmTextType;
|
|
836
|
+
formatter?: (value: string) => void;
|
|
837
|
+
onChange?: (value: string) => void;
|
|
838
|
+
onBlur?: (value: string) => void;
|
|
839
|
+
onFocus?: (value: string) => void;
|
|
840
|
+
onClear?: (value: string) => void;
|
|
841
|
+
onClick?: (value: MouseEvent$1<HTMLDivElement>) => void;
|
|
842
|
+
}
|
|
843
|
+
declare const Input: React__default.ForwardRefExoticComponent<Partial<InputProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, "onClick" | "onFocus" | "onBlur" | "onChange"> & React__default.RefAttributes<unknown>>;
|
|
889
844
|
|
|
890
845
|
interface InputNumberProps extends BasicComponent {
|
|
891
846
|
disabled: boolean;
|
|
@@ -898,8 +853,6 @@ interface InputNumberProps extends BasicComponent {
|
|
|
898
853
|
step: string | number;
|
|
899
854
|
digits: string | number;
|
|
900
855
|
async: boolean;
|
|
901
|
-
className: string;
|
|
902
|
-
style: React__default.CSSProperties;
|
|
903
856
|
formatter?: (displayValue: string | number) => string;
|
|
904
857
|
onPlus: (e: MouseEvent) => void;
|
|
905
858
|
onMinus: (e: MouseEvent) => void;
|
|
@@ -910,104 +863,143 @@ interface InputNumberProps extends BasicComponent {
|
|
|
910
863
|
}
|
|
911
864
|
declare const InputNumber: FunctionComponent<Partial<InputNumberProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onBlur'>>;
|
|
912
865
|
|
|
913
|
-
interface
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
randomKeys: boolean;
|
|
921
|
-
popClass: string;
|
|
922
|
-
className: string;
|
|
923
|
-
style?: CSSProperties;
|
|
924
|
-
onChange?: (value: string) => void;
|
|
925
|
-
onDelete?: () => void;
|
|
926
|
-
onClose: () => void;
|
|
866
|
+
interface MenuProps extends BasicComponent {
|
|
867
|
+
activeColor: string;
|
|
868
|
+
closeOnOverlayClick: boolean;
|
|
869
|
+
scrollFixed: boolean | string | number;
|
|
870
|
+
lockScroll: boolean;
|
|
871
|
+
icon: React__default.ReactNode;
|
|
872
|
+
children: React__default.ReactNode;
|
|
927
873
|
}
|
|
928
|
-
declare const
|
|
874
|
+
declare const Menu: FunctionComponent<Partial<MenuProps>>;
|
|
929
875
|
|
|
930
|
-
interface
|
|
931
|
-
text: string
|
|
876
|
+
interface OptionItem {
|
|
877
|
+
text: string;
|
|
932
878
|
value: string | number;
|
|
933
|
-
disabled?: string;
|
|
934
|
-
children?: PickerOption[];
|
|
935
|
-
className?: string | number;
|
|
936
879
|
}
|
|
937
|
-
interface
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
880
|
+
interface MenuItemProps extends BasicComponent {
|
|
881
|
+
title: React__default.ReactNode;
|
|
882
|
+
options: OptionItem[];
|
|
883
|
+
disabled: boolean;
|
|
884
|
+
columns: number;
|
|
885
|
+
icon: React__default.ReactNode;
|
|
886
|
+
closeOnClickAway: boolean;
|
|
887
|
+
direction: string;
|
|
888
|
+
activeTitleClass: string;
|
|
889
|
+
inactiveTitleClass: string;
|
|
890
|
+
value: string | number;
|
|
891
|
+
onChange: (event: any) => void;
|
|
892
|
+
children: React__default.ReactNode;
|
|
893
|
+
}
|
|
894
|
+
declare const MenuItem: React__default.ForwardRefExoticComponent<Partial<MenuItemProps> & React__default.RefAttributes<unknown>>;
|
|
895
|
+
|
|
896
|
+
type Teleport = HTMLElement | (() => HTMLElement) | null;
|
|
897
|
+
interface PopupProps extends OverlayProps {
|
|
898
|
+
position: string;
|
|
899
|
+
transition: string;
|
|
900
|
+
overlayStyle: React__default.CSSProperties;
|
|
901
|
+
overlayClassName: string;
|
|
902
|
+
closeable: boolean;
|
|
903
|
+
closeIconPosition: string;
|
|
904
|
+
closeIcon: React__default.ReactNode;
|
|
905
|
+
destroyOnClose: boolean;
|
|
906
|
+
portal: Teleport;
|
|
907
|
+
overlay: boolean;
|
|
908
|
+
round: boolean;
|
|
909
|
+
onOpen: () => void;
|
|
910
|
+
onClose: () => void;
|
|
911
|
+
onClickOverlay: (e: MouseEvent$1) => boolean | void;
|
|
912
|
+
onClickCloseIcon: (e: MouseEvent$1) => boolean | void;
|
|
913
|
+
}
|
|
914
|
+
declare const Popup: FunctionComponent<Partial<PopupProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
915
|
+
|
|
916
|
+
interface NumberKeyboardProps extends PopupProps {
|
|
917
|
+
visible: boolean;
|
|
918
|
+
title?: ReactNode;
|
|
919
|
+
confirmText?: string;
|
|
920
|
+
type: 'default' | 'rightColumn';
|
|
921
|
+
custom: Array<string>;
|
|
922
|
+
random: boolean;
|
|
923
|
+
onChange?: (value: string) => void;
|
|
924
|
+
onDelete?: () => void;
|
|
925
|
+
onClose: () => void;
|
|
926
|
+
onConfirm?: () => void;
|
|
927
|
+
}
|
|
928
|
+
declare const NumberKeyboard: FunctionComponent<Partial<NumberKeyboardProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onClick' | 'title'>>;
|
|
929
|
+
|
|
930
|
+
interface PickerOption {
|
|
931
|
+
text: string | number;
|
|
932
|
+
value: string | number;
|
|
933
|
+
disabled?: boolean;
|
|
934
|
+
children?: PickerOption[];
|
|
935
|
+
className?: string | number;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
interface PickerProps extends BasicComponent {
|
|
939
|
+
visible: boolean;
|
|
940
|
+
title?: string;
|
|
941
|
+
options: (PickerOption | PickerOption[])[];
|
|
942
|
+
value?: (number | string)[];
|
|
943
|
+
defaultValue?: (number | string)[];
|
|
944
944
|
threeDimensional?: boolean;
|
|
945
|
-
|
|
946
|
-
onConfirm?: (selectedValue: (string | number)[]
|
|
947
|
-
onClose?: (selectedValue: (string | number)[]
|
|
948
|
-
|
|
949
|
-
onChange?: (
|
|
945
|
+
duration: number | string;
|
|
946
|
+
onConfirm?: (selectedOptions: PickerOption[], selectedValue: (string | number)[]) => void;
|
|
947
|
+
onClose?: (selectedOptions: PickerOption[], selectedValue: (string | number)[]) => void;
|
|
948
|
+
afterClose?: (selectedOptions: PickerOption[], selectedValue: (string | number)[], pickerRef: RefObject<HTMLDivElement>) => void;
|
|
949
|
+
onChange?: (selectedOptions: PickerOption[], selectedValue: (string | number)[], columnIndex: number) => void;
|
|
950
950
|
}
|
|
951
951
|
declare const Picker: React__default.ForwardRefExoticComponent<Partial<PickerProps> & React__default.RefAttributes<unknown>>;
|
|
952
952
|
|
|
953
953
|
type Position$1 = 'left' | 'right';
|
|
954
|
-
type Direction = 'horizontal' | 'vertical';
|
|
954
|
+
type Direction$1 = 'horizontal' | 'vertical';
|
|
955
955
|
interface RadioGroupProps {
|
|
956
|
-
value
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
956
|
+
value?: string | number;
|
|
957
|
+
defaultValue?: string | number;
|
|
958
|
+
labelPosition: Position$1;
|
|
959
|
+
direction: Direction$1;
|
|
960
|
+
disabled?: boolean;
|
|
960
961
|
options: RadioGroupOptionType[];
|
|
962
|
+
onChange: (value: string | number) => void;
|
|
961
963
|
}
|
|
962
964
|
declare const RadioGroup: React__default.ForwardRefExoticComponent<Partial<RadioGroupProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, "onChange"> & React__default.RefAttributes<unknown>>;
|
|
963
965
|
|
|
964
966
|
type Shape = 'button' | 'round';
|
|
965
967
|
type Position = 'right' | 'left';
|
|
966
968
|
interface RadioProps extends BasicComponent {
|
|
967
|
-
className: string;
|
|
968
|
-
style: React__default.CSSProperties;
|
|
969
969
|
disabled: boolean;
|
|
970
970
|
checked: boolean;
|
|
971
|
+
defaultChecked: boolean;
|
|
971
972
|
shape: Shape;
|
|
972
|
-
|
|
973
|
-
value: string | number | boolean;
|
|
973
|
+
labelPosition: Position;
|
|
974
974
|
icon: React__default.ReactNode;
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
onChange:
|
|
975
|
+
activeIcon: React__default.ReactNode;
|
|
976
|
+
value: string | number;
|
|
977
|
+
onChange: (checked: boolean) => void;
|
|
978
978
|
}
|
|
979
|
-
declare const Radio: FunctionComponent<Partial<RadioProps> & React__default.HTMLAttributes<HTMLDivElement>> & {
|
|
980
|
-
|
|
979
|
+
declare const Radio: FunctionComponent<Partial<RadioProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>> & {
|
|
980
|
+
Group: typeof RadioGroup;
|
|
981
981
|
};
|
|
982
982
|
|
|
983
|
-
type
|
|
984
|
-
interface RangeProps {
|
|
985
|
-
|
|
986
|
-
|
|
983
|
+
type RangeValue = number | number[];
|
|
984
|
+
interface RangeProps extends BasicComponent {
|
|
985
|
+
value: RangeValue;
|
|
986
|
+
defaultValue: RangeValue;
|
|
987
987
|
range: boolean;
|
|
988
988
|
disabled: boolean;
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
max: number | string;
|
|
996
|
-
minDesc: number | string;
|
|
997
|
-
maxDesc: number | string;
|
|
998
|
-
curValueDesc: number | string;
|
|
999
|
-
step: number | string;
|
|
1000
|
-
modelValue: SliderValue;
|
|
1001
|
-
button: React__default.ReactNode;
|
|
989
|
+
min: number;
|
|
990
|
+
max: number;
|
|
991
|
+
step: number;
|
|
992
|
+
minDescription: ReactNode;
|
|
993
|
+
maxDescription: ReactNode;
|
|
994
|
+
button: ReactNode;
|
|
1002
995
|
vertical: boolean;
|
|
1003
996
|
marks: Record<string, unknown>;
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
onDragEnd?: () => void;
|
|
997
|
+
currentDescription: ((value: RangeValue) => ReactNode) | null;
|
|
998
|
+
onChange: (value: RangeValue) => void;
|
|
999
|
+
onStart: () => void;
|
|
1000
|
+
onEnd: (value: RangeValue) => void;
|
|
1009
1001
|
}
|
|
1010
|
-
declare const Range: FunctionComponent<Partial<RangeProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick' | 'onChange'>>;
|
|
1002
|
+
declare const Range: FunctionComponent<Partial<RangeProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick' | 'onChange' | 'defaultValue'>>;
|
|
1011
1003
|
|
|
1012
1004
|
interface RateProps extends BasicComponent {
|
|
1013
1005
|
count: number;
|
|
@@ -1110,23 +1102,44 @@ interface ShortPasswordProps extends BasicComponent {
|
|
|
1110
1102
|
}
|
|
1111
1103
|
declare const ShortPassword: FunctionComponent<Partial<ShortPasswordProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
1112
1104
|
|
|
1113
|
-
interface
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1105
|
+
interface SignatureProps {
|
|
1106
|
+
type: string;
|
|
1107
|
+
lineWidth: number;
|
|
1108
|
+
strokeStyle: string;
|
|
1109
|
+
unSupportTpl: string;
|
|
1110
|
+
className: string;
|
|
1111
|
+
confirm?: (canvas: HTMLCanvasElement, dataurl: string) => void;
|
|
1112
|
+
clear?: () => void;
|
|
1113
|
+
onConfirm?: (canvas: HTMLCanvasElement, dataurl: string) => void;
|
|
1114
|
+
onClear?: () => void;
|
|
1115
|
+
}
|
|
1116
|
+
declare const Signature: FunctionComponent<Partial<SignatureProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1117
|
+
|
|
1118
|
+
interface SwitchProps extends BasicComponent {
|
|
1119
|
+
checked: boolean;
|
|
1120
|
+
defaultChecked: boolean;
|
|
1121
|
+
disabled: boolean;
|
|
1122
|
+
activeText: string;
|
|
1123
|
+
inactiveText: string;
|
|
1124
|
+
onChange: (val: boolean, event: React__default.MouseEvent) => void;
|
|
1125
|
+
}
|
|
1126
|
+
declare const Switch: FunctionComponent<Partial<SwitchProps>>;
|
|
1127
|
+
|
|
1128
|
+
interface TextAreaProps extends BasicComponent {
|
|
1129
|
+
value: string;
|
|
1130
|
+
defaultValue: string;
|
|
1131
|
+
showCount: boolean;
|
|
1132
|
+
maxLength: number;
|
|
1133
|
+
rows: number;
|
|
1134
|
+
placeholder: string;
|
|
1135
|
+
readOnly: boolean;
|
|
1136
|
+
disabled: boolean;
|
|
1137
|
+
autoSize: boolean;
|
|
1138
|
+
onChange: (value: string) => void;
|
|
1139
|
+
onBlur: (event: Event) => void;
|
|
1140
|
+
onFocus: (event: Event) => void;
|
|
1128
1141
|
}
|
|
1129
|
-
declare const TextArea: FunctionComponent<Partial<TextAreaProps> & Omit<React__default.HTMLAttributes<
|
|
1142
|
+
declare const TextArea: FunctionComponent<Partial<TextAreaProps> & Omit<React__default.HTMLAttributes<HTMLTextAreaElement>, 'onChange' | 'onBlur' | 'onFocus'>>;
|
|
1130
1143
|
|
|
1131
1144
|
declare class UploadOptions {
|
|
1132
1145
|
url: string;
|
|
@@ -1242,43 +1255,30 @@ interface ActionSheetProps {
|
|
|
1242
1255
|
}
|
|
1243
1256
|
declare const ActionSheet: FunctionComponent<Partial<ActionSheetProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1244
1257
|
|
|
1245
|
-
interface BackTopProps extends BasicComponent {
|
|
1246
|
-
target: string;
|
|
1247
|
-
threshold: number;
|
|
1248
|
-
zIndex: number;
|
|
1249
|
-
duration: number;
|
|
1250
|
-
onClick?: (event: MouseEvent) => void;
|
|
1251
|
-
}
|
|
1252
|
-
declare const BackTop: FunctionComponent<Partial<BackTopProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
1253
|
-
|
|
1254
1258
|
type DialogConfigType = {
|
|
1255
1259
|
prefixCls?: string;
|
|
1256
1260
|
simple?: boolean;
|
|
1257
1261
|
};
|
|
1258
1262
|
interface BasicDialogProps {
|
|
1259
|
-
className?: string;
|
|
1260
|
-
style?: CSSProperties;
|
|
1261
1263
|
visible?: boolean;
|
|
1262
1264
|
title?: ReactNode;
|
|
1263
1265
|
content?: ReactNode;
|
|
1264
1266
|
footer?: ReactNode;
|
|
1265
1267
|
confirmText?: ReactNode;
|
|
1266
1268
|
cancelText?: ReactNode;
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
closeOnClickOverlay?: boolean;
|
|
1273
|
-
cancelAutoClose?: boolean;
|
|
1274
|
-
textAlign?: string;
|
|
1269
|
+
overlay?: boolean;
|
|
1270
|
+
hideConfirmButton?: boolean;
|
|
1271
|
+
hideCancelButton?: boolean;
|
|
1272
|
+
disableConfirmButton?: boolean;
|
|
1273
|
+
closeOnOverlayClick?: boolean;
|
|
1275
1274
|
footerDirection?: string;
|
|
1276
1275
|
lockScroll?: boolean;
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
onClickSelf?: () => void;
|
|
1276
|
+
beforeClose?: () => boolean;
|
|
1277
|
+
beforeCancel?: () => boolean;
|
|
1278
|
+
onClose?: () => void;
|
|
1281
1279
|
onConfirm?: (e?: MouseEvent) => Promise<() => void> | void;
|
|
1280
|
+
onCancel?: () => void;
|
|
1281
|
+
onClick?: () => void;
|
|
1282
1282
|
}
|
|
1283
1283
|
type DialogReturnProps = {
|
|
1284
1284
|
update: (newConfig: ConfirmProps) => void;
|
|
@@ -1300,7 +1300,7 @@ interface DialogComponent extends ForwardRefExoticComponent<PropsWithChildren<Ba
|
|
|
1300
1300
|
type DialogProps = BasicDialogProps;
|
|
1301
1301
|
declare const Dialog: DialogComponent;
|
|
1302
1302
|
|
|
1303
|
-
interface DragProps {
|
|
1303
|
+
interface DragProps extends BasicComponent {
|
|
1304
1304
|
attract: boolean;
|
|
1305
1305
|
direction: 'x' | 'y' | 'lock' | undefined;
|
|
1306
1306
|
boundary: {
|
|
@@ -1309,11 +1309,17 @@ interface DragProps {
|
|
|
1309
1309
|
right: number;
|
|
1310
1310
|
bottom: number;
|
|
1311
1311
|
};
|
|
1312
|
-
className: string;
|
|
1313
|
-
style: React__default.CSSProperties;
|
|
1314
1312
|
}
|
|
1315
1313
|
declare const Drag: FunctionComponent<Partial<DragProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1316
1314
|
|
|
1315
|
+
interface EmptyProps extends BasicComponent {
|
|
1316
|
+
image?: ReactNode;
|
|
1317
|
+
imageSize: number | string;
|
|
1318
|
+
description: ReactNode;
|
|
1319
|
+
status: 'empty' | 'error' | 'network';
|
|
1320
|
+
}
|
|
1321
|
+
declare const Empty: FunctionComponent<Partial<EmptyProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1322
|
+
|
|
1317
1323
|
interface InfiniteloadingProps extends BasicComponent {
|
|
1318
1324
|
hasMore: boolean;
|
|
1319
1325
|
threshold: number;
|
|
@@ -1334,31 +1340,67 @@ interface InfiniteloadingProps extends BasicComponent {
|
|
|
1334
1340
|
}
|
|
1335
1341
|
declare const Infiniteloading: FunctionComponent<Partial<InfiniteloadingProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1336
1342
|
|
|
1337
|
-
interface
|
|
1343
|
+
interface NoticeBarProps extends BasicComponent {
|
|
1344
|
+
direction: string;
|
|
1345
|
+
list: any;
|
|
1346
|
+
duration: number;
|
|
1347
|
+
height: number;
|
|
1348
|
+
content: string;
|
|
1349
|
+
closeable: boolean;
|
|
1350
|
+
wrap: boolean;
|
|
1351
|
+
leftIcon: ReactNode;
|
|
1352
|
+
rightIcon: ReactNode;
|
|
1353
|
+
delay: string | number;
|
|
1354
|
+
scrollable: boolean | null;
|
|
1355
|
+
speed: number;
|
|
1356
|
+
close?: (event: any) => void;
|
|
1357
|
+
click?: (event: any) => void;
|
|
1358
|
+
onClose?: (event: any) => void;
|
|
1359
|
+
onClick?: (event: any) => void;
|
|
1360
|
+
onClickItem?: (event: any, value: any) => void;
|
|
1361
|
+
}
|
|
1362
|
+
declare const NoticeBar: FunctionComponent<Partial<NoticeBarProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
1363
|
+
|
|
1364
|
+
interface NotifyProps extends BasicComponent {
|
|
1338
1365
|
id: string;
|
|
1339
|
-
color?: string;
|
|
1340
|
-
msg: string;
|
|
1341
1366
|
duration: number;
|
|
1342
|
-
className?: string;
|
|
1343
|
-
background?: string;
|
|
1344
1367
|
type: string;
|
|
1345
1368
|
position: string;
|
|
1346
1369
|
onClick: () => void;
|
|
1347
|
-
|
|
1370
|
+
onClose: () => void;
|
|
1348
1371
|
}
|
|
1349
1372
|
declare const _default$1: {
|
|
1350
|
-
text(
|
|
1351
|
-
success(
|
|
1352
|
-
primary(
|
|
1353
|
-
danger(
|
|
1354
|
-
warn(
|
|
1373
|
+
text(message: string | React$1.ReactNode, option?: {}): void;
|
|
1374
|
+
success(message: string | React$1.ReactNode, option?: {}): void;
|
|
1375
|
+
primary(message: string | React$1.ReactNode, option?: {}): void;
|
|
1376
|
+
danger(message: string | React$1.ReactNode, option?: {}): void;
|
|
1377
|
+
warn(message: string | React$1.ReactNode, option?: {}): void;
|
|
1355
1378
|
hide(): void;
|
|
1356
1379
|
};
|
|
1357
1380
|
|
|
1358
|
-
type
|
|
1359
|
-
|
|
1381
|
+
type PopoverTheme = 'light' | 'dark';
|
|
1382
|
+
type PopoverLocation = 'bottom' | 'top' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
|
1383
|
+
interface List {
|
|
1384
|
+
name: string;
|
|
1385
|
+
icon?: React__default.ReactNode;
|
|
1386
|
+
disabled?: boolean;
|
|
1387
|
+
}
|
|
1388
|
+
interface PopoverProps extends BasicComponent {
|
|
1389
|
+
list: List[];
|
|
1390
|
+
theme: PopoverTheme;
|
|
1391
|
+
location: PopoverLocation | string;
|
|
1392
|
+
visible: boolean;
|
|
1393
|
+
offset: string | number;
|
|
1360
1394
|
className: string;
|
|
1361
|
-
style
|
|
1395
|
+
style?: CSSProperties;
|
|
1396
|
+
children?: React__default.ReactNode;
|
|
1397
|
+
onClick: (e: React__default.MouseEvent) => void;
|
|
1398
|
+
onChoose: (item: List, index: number) => void;
|
|
1399
|
+
}
|
|
1400
|
+
declare const Popover: FunctionComponent<Partial<PopoverProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1401
|
+
|
|
1402
|
+
type PullStatus = 'pulling' | 'canRelease' | 'refreshing' | 'complete';
|
|
1403
|
+
interface PullToRefreshProps extends BasicComponent {
|
|
1362
1404
|
onRefresh: () => Promise<any>;
|
|
1363
1405
|
pullingText: ReactNode;
|
|
1364
1406
|
canReleaseText: ReactNode;
|
|
@@ -1369,12 +1411,28 @@ interface PullToRefreshProps {
|
|
|
1369
1411
|
threshold: number;
|
|
1370
1412
|
disabled: boolean;
|
|
1371
1413
|
renderText: (status: PullStatus) => ReactNode;
|
|
1372
|
-
children: React__default.ReactNode;
|
|
1373
1414
|
}
|
|
1374
1415
|
declare const PullToRefresh: FunctionComponent<Partial<PullToRefreshProps>>;
|
|
1375
1416
|
|
|
1417
|
+
type avatarShape = 'round' | 'square';
|
|
1418
|
+
interface SkeletonProps {
|
|
1419
|
+
width: string;
|
|
1420
|
+
height: string;
|
|
1421
|
+
animated: boolean;
|
|
1422
|
+
row: number;
|
|
1423
|
+
title: boolean;
|
|
1424
|
+
avatar: boolean;
|
|
1425
|
+
className?: string;
|
|
1426
|
+
style?: React__default.CSSProperties;
|
|
1427
|
+
avatarSize: string;
|
|
1428
|
+
round: boolean;
|
|
1429
|
+
loading: boolean;
|
|
1430
|
+
avatarShape: avatarShape;
|
|
1431
|
+
children?: React__default.ReactNode;
|
|
1432
|
+
}
|
|
1433
|
+
declare const Skeleton: FunctionComponent<Partial<SkeletonProps>>;
|
|
1434
|
+
|
|
1376
1435
|
type SwipeSide = 'left' | 'right';
|
|
1377
|
-
type SwipePosition = SwipeSide | 'cell' | 'outside';
|
|
1378
1436
|
interface SwipeInstance {
|
|
1379
1437
|
open: (side: SwipeSide) => void;
|
|
1380
1438
|
close: () => void;
|
|
@@ -1386,10 +1444,6 @@ interface SwipeProps {
|
|
|
1386
1444
|
style: React__default.CSSProperties;
|
|
1387
1445
|
/** 标识符,可以在事件参数中获取到 */
|
|
1388
1446
|
name?: string | number;
|
|
1389
|
-
/** 指定左侧滑动区域宽度,单位为px */
|
|
1390
|
-
leftWidth?: string | number;
|
|
1391
|
-
/** 指定右侧滑动区域宽度,单位为 px */
|
|
1392
|
-
rightWidth?: string | number;
|
|
1393
1447
|
/** 左侧滑动区域的内容 */
|
|
1394
1448
|
leftAction?: React__default.ReactNode;
|
|
1395
1449
|
/** 右侧滑动区域的内容 */
|
|
@@ -1406,10 +1460,10 @@ interface SwipeProps {
|
|
|
1406
1460
|
/** 关闭时触发 */
|
|
1407
1461
|
onClose?: ({ name, position, }: {
|
|
1408
1462
|
name: string | number;
|
|
1409
|
-
position:
|
|
1463
|
+
position: SwipeSide;
|
|
1410
1464
|
}) => void;
|
|
1411
1465
|
/** 点击时触发 */
|
|
1412
|
-
onActionClick?: (event: Event, position:
|
|
1466
|
+
onActionClick?: (event: Event, position: SwipeSide) => void;
|
|
1413
1467
|
onTouchStart?: (event: Event) => void;
|
|
1414
1468
|
onTouchEnd?: (event: Event) => void;
|
|
1415
1469
|
onTouchMove?: (event: Event) => void;
|
|
@@ -1417,20 +1471,6 @@ interface SwipeProps {
|
|
|
1417
1471
|
}
|
|
1418
1472
|
declare const Swipe: React__default.ForwardRefExoticComponent<Partial<SwipeProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, "onTouchEnd" | "onTouchMove" | "onTouchStart"> & React__default.RefAttributes<SwipeInstance>>;
|
|
1419
1473
|
|
|
1420
|
-
interface SwitchProps extends BasicComponent {
|
|
1421
|
-
isAsync: boolean;
|
|
1422
|
-
checked: boolean;
|
|
1423
|
-
disable: boolean;
|
|
1424
|
-
activeColor: string;
|
|
1425
|
-
inactiveColor: string;
|
|
1426
|
-
activeText: string;
|
|
1427
|
-
inactiveText: string;
|
|
1428
|
-
className: string;
|
|
1429
|
-
style: React__default.CSSProperties;
|
|
1430
|
-
onChange: (val: boolean, event: React__default.MouseEvent) => void;
|
|
1431
|
-
}
|
|
1432
|
-
declare const Switch: FunctionComponent<Partial<SwitchProps>>;
|
|
1433
|
-
|
|
1434
1474
|
interface ToastProps {
|
|
1435
1475
|
id?: string;
|
|
1436
1476
|
msg: string;
|
|
@@ -1465,12 +1505,10 @@ declare const _default: {
|
|
|
1465
1505
|
type AnimateType = 'shake' | 'ripple' | 'breath' | 'float' | 'slide-right' | 'slide-left' | 'slide-top' | 'slide-bottom' | 'jump' | 'twinkle' | 'flicker';
|
|
1466
1506
|
type AnimateAction = 'initial' | 'click';
|
|
1467
1507
|
|
|
1468
|
-
interface AnimateProps {
|
|
1508
|
+
interface AnimateProps extends BasicComponent {
|
|
1469
1509
|
type: AnimateType;
|
|
1470
1510
|
action: AnimateAction;
|
|
1471
1511
|
loop: boolean;
|
|
1472
|
-
className: string;
|
|
1473
|
-
style: React__default.CSSProperties;
|
|
1474
1512
|
onClick: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
1475
1513
|
}
|
|
1476
1514
|
declare const Animate: FunctionComponent<Partial<AnimateProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -1499,7 +1537,7 @@ declare class AnimatingNumbers extends Component<AnimatingNumbersProps, Animatin
|
|
|
1499
1537
|
interface AudioProps extends BasicComponent {
|
|
1500
1538
|
src: string;
|
|
1501
1539
|
muted: boolean;
|
|
1502
|
-
|
|
1540
|
+
autoPlay: boolean;
|
|
1503
1541
|
loop: boolean;
|
|
1504
1542
|
preload: string;
|
|
1505
1543
|
type: string;
|
|
@@ -1515,59 +1553,40 @@ declare const Audio: FunctionComponent<Partial<AudioProps> & React__default.HTML
|
|
|
1515
1553
|
interface AvatarProps extends BasicComponent {
|
|
1516
1554
|
size: string;
|
|
1517
1555
|
icon: React__default.ReactNode;
|
|
1556
|
+
fit: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
|
|
1518
1557
|
shape: AvatarShape;
|
|
1519
|
-
|
|
1558
|
+
background: string;
|
|
1520
1559
|
color: string;
|
|
1521
|
-
|
|
1522
|
-
url: string;
|
|
1523
|
-
className: string;
|
|
1560
|
+
src: string;
|
|
1524
1561
|
alt: string;
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
onActiveAvatar: (e: MouseEvent) => void;
|
|
1528
|
-
onError: (e: any) => void;
|
|
1562
|
+
onClick: (e: MouseEvent) => void;
|
|
1563
|
+
onError: () => void;
|
|
1529
1564
|
}
|
|
1530
1565
|
type AvatarShape = 'round' | 'square';
|
|
1531
|
-
declare const Avatar: FunctionComponent<Partial<AvatarProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1566
|
+
declare const Avatar: FunctionComponent<Partial<AvatarProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
1532
1567
|
|
|
1533
|
-
interface AvatarGroupProps {
|
|
1568
|
+
interface AvatarGroupProps extends BasicComponent {
|
|
1534
1569
|
maxContent: string;
|
|
1535
|
-
|
|
1536
|
-
|
|
1570
|
+
max: string | number;
|
|
1571
|
+
maxBackground: string;
|
|
1537
1572
|
maxColor: string;
|
|
1538
|
-
size:
|
|
1539
|
-
shape:
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
className: string;
|
|
1543
|
-
style: React__default.CSSProperties;
|
|
1573
|
+
size: 'large' | 'normal' | 'small';
|
|
1574
|
+
shape: 'round' | 'square';
|
|
1575
|
+
gap: string;
|
|
1576
|
+
level: 'left' | 'right';
|
|
1544
1577
|
}
|
|
1545
1578
|
declare const AvatarGroup: FunctionComponent<Partial<AvatarGroupProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1546
1579
|
|
|
1547
|
-
interface
|
|
1548
|
-
|
|
1549
|
-
dot: boolean;
|
|
1550
|
-
max: number;
|
|
1551
|
-
top: string;
|
|
1552
|
-
right: string;
|
|
1553
|
-
zIndex: string;
|
|
1554
|
-
color: string;
|
|
1555
|
-
icon: ReactNode;
|
|
1556
|
-
children?: ReactNode;
|
|
1557
|
-
}
|
|
1558
|
-
declare const Badge: FunctionComponent<Partial<BadgeProps>>;
|
|
1559
|
-
|
|
1560
|
-
interface CircleProgressProps {
|
|
1561
|
-
progress: string | number;
|
|
1580
|
+
interface CircleProgressProps extends BasicComponent {
|
|
1581
|
+
percent: string | number;
|
|
1562
1582
|
strokeWidth?: string | number;
|
|
1563
1583
|
radius?: number | string;
|
|
1564
|
-
strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit'
|
|
1565
|
-
|
|
1566
|
-
|
|
1584
|
+
strokeLinecap?: 'butt' | 'round' | 'square' | 'inherit';
|
|
1585
|
+
color?: object | string;
|
|
1586
|
+
background?: string;
|
|
1567
1587
|
clockwise?: boolean;
|
|
1568
|
-
className?: string;
|
|
1569
1588
|
}
|
|
1570
|
-
declare const CircleProgress: FunctionComponent<CircleProgressProps & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1589
|
+
declare const CircleProgress: FunctionComponent<CircleProgressProps & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'color'>>;
|
|
1571
1590
|
|
|
1572
1591
|
interface CollapseProps {
|
|
1573
1592
|
className: string;
|
|
@@ -1612,9 +1631,10 @@ interface CountDownProps {
|
|
|
1612
1631
|
}
|
|
1613
1632
|
declare const CountDown: React__default.ForwardRefExoticComponent<Partial<CountDownProps> & React__default.RefAttributes<unknown>>;
|
|
1614
1633
|
|
|
1615
|
-
|
|
1634
|
+
type Direction = 'start' | 'end' | 'middle';
|
|
1635
|
+
interface EllipsisProps extends BasicComponent {
|
|
1616
1636
|
content: string;
|
|
1617
|
-
direction:
|
|
1637
|
+
direction: Direction;
|
|
1618
1638
|
rows: number | string;
|
|
1619
1639
|
expandText: string;
|
|
1620
1640
|
collapseText: string;
|
|
@@ -1625,16 +1645,7 @@ interface EllipsisProps {
|
|
|
1625
1645
|
}
|
|
1626
1646
|
declare const Ellipsis: FunctionComponent<Partial<EllipsisProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick' | 'onChange'>>;
|
|
1627
1647
|
|
|
1628
|
-
interface
|
|
1629
|
-
image: ReactNode;
|
|
1630
|
-
imageSize: number | string;
|
|
1631
|
-
description: ReactNode;
|
|
1632
|
-
className: string;
|
|
1633
|
-
}
|
|
1634
|
-
declare const Empty: FunctionComponent<Partial<EmptyProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1635
|
-
|
|
1636
|
-
interface ImagePreviewProps {
|
|
1637
|
-
className?: string;
|
|
1648
|
+
interface ImagePreviewProps extends BasicComponent {
|
|
1638
1649
|
images: Array<{
|
|
1639
1650
|
src: string;
|
|
1640
1651
|
}>;
|
|
@@ -1648,138 +1659,98 @@ interface ImagePreviewProps {
|
|
|
1648
1659
|
controls: boolean;
|
|
1649
1660
|
};
|
|
1650
1661
|
}>;
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1662
|
+
visible: boolean;
|
|
1663
|
+
autoPlay: number | string;
|
|
1664
|
+
value?: number;
|
|
1665
|
+
defaultValue: number;
|
|
1666
|
+
closeOnContentClick: boolean;
|
|
1667
|
+
indicator: boolean;
|
|
1668
|
+
indicatorColor: string;
|
|
1669
|
+
onChange: (value: number) => void;
|
|
1658
1670
|
onClose: () => void;
|
|
1659
1671
|
}
|
|
1660
1672
|
declare const ImagePreview: FunctionComponent<Partial<ImagePreviewProps>>;
|
|
1661
1673
|
|
|
1662
|
-
interface
|
|
1674
|
+
interface IndicatorProps {
|
|
1675
|
+
total: number;
|
|
1676
|
+
current: number;
|
|
1663
1677
|
direction: string;
|
|
1678
|
+
}
|
|
1679
|
+
declare const Indicator: FunctionComponent<Partial<IndicatorProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1680
|
+
|
|
1681
|
+
type Data = any;
|
|
1682
|
+
interface BasicVirtualListProps {
|
|
1664
1683
|
className?: string;
|
|
1665
|
-
style?: CSSProperties;
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
speed: number;
|
|
1680
|
-
close?: (event: any) => void;
|
|
1681
|
-
click?: (event: any) => void;
|
|
1682
|
-
onClose?: (event: any) => void;
|
|
1683
|
-
onClick?: (event: any) => void;
|
|
1684
|
-
onClickItem?: (event: any, value: any) => void;
|
|
1684
|
+
style?: React.CSSProperties;
|
|
1685
|
+
sourceData: Array<Data>;
|
|
1686
|
+
containerSize?: number;
|
|
1687
|
+
ItemRender?: React.FC<any>;
|
|
1688
|
+
itemSize?: number;
|
|
1689
|
+
itemEqualSize?: boolean;
|
|
1690
|
+
horizontal?: boolean;
|
|
1691
|
+
overscan?: number;
|
|
1692
|
+
handleScroll?: (...args: any[]) => any;
|
|
1693
|
+
onScroll?: (...args: any[]) => any;
|
|
1694
|
+
key?: string;
|
|
1695
|
+
locale?: {
|
|
1696
|
+
[key in string]: string;
|
|
1697
|
+
};
|
|
1685
1698
|
}
|
|
1686
|
-
declare const NoticeBar: FunctionComponent<Partial<NoticeBarProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
1687
1699
|
|
|
1688
|
-
type
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
children?: React__default.ReactNode;
|
|
1704
|
-
onClick: (e: React__default.MouseEvent) => void;
|
|
1705
|
-
onChoose: (item: List, index: number) => void;
|
|
1700
|
+
type VirtualListProps = BasicVirtualListProps;
|
|
1701
|
+
declare const VirtualList: FunctionComponent<VirtualListProps>;
|
|
1702
|
+
|
|
1703
|
+
interface PaginationProps extends BasicComponent {
|
|
1704
|
+
value: number;
|
|
1705
|
+
defaultValue: number;
|
|
1706
|
+
mode: 'multi' | 'simple';
|
|
1707
|
+
prev: ReactNode;
|
|
1708
|
+
next: ReactNode;
|
|
1709
|
+
total: number;
|
|
1710
|
+
pageSize: number;
|
|
1711
|
+
itemSize: number;
|
|
1712
|
+
ellipse: boolean;
|
|
1713
|
+
itemRender: (page: any) => ReactNode;
|
|
1714
|
+
onChange: (currPage: number) => void;
|
|
1706
1715
|
}
|
|
1707
|
-
declare const
|
|
1716
|
+
declare const Pagination: FunctionComponent<Partial<PaginationProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
1708
1717
|
|
|
1709
|
-
interface PriceProps {
|
|
1718
|
+
interface PriceProps extends BasicComponent {
|
|
1710
1719
|
price: number | string;
|
|
1711
|
-
needSymbol: boolean;
|
|
1712
1720
|
symbol: string;
|
|
1713
|
-
|
|
1721
|
+
digits: number;
|
|
1714
1722
|
thousands: boolean;
|
|
1715
1723
|
position: string;
|
|
1716
1724
|
size: string;
|
|
1717
|
-
|
|
1718
|
-
style: React__default.CSSProperties;
|
|
1725
|
+
line: boolean;
|
|
1719
1726
|
}
|
|
1720
1727
|
declare const Price: FunctionComponent<Partial<PriceProps>>;
|
|
1721
1728
|
|
|
1722
|
-
type ProgressSize = 'small' | 'base' | 'large';
|
|
1723
|
-
type TextType = 'icon' | 'text';
|
|
1724
1729
|
interface ProgressProps extends BasicComponent {
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
percentage: number;
|
|
1729
|
-
fillColor: string;
|
|
1730
|
-
strokeColor: string;
|
|
1730
|
+
percent: number;
|
|
1731
|
+
background: string;
|
|
1732
|
+
color: string;
|
|
1731
1733
|
strokeWidth: string;
|
|
1732
|
-
size: ProgressSize;
|
|
1733
|
-
textColor: string;
|
|
1734
|
-
textWidth: string;
|
|
1735
1734
|
showText: boolean;
|
|
1736
|
-
textInside: boolean;
|
|
1737
|
-
textBackground: string;
|
|
1738
|
-
textType: TextType;
|
|
1739
|
-
status: boolean;
|
|
1740
|
-
icon: ReactNode;
|
|
1741
|
-
children: ReactNode;
|
|
1742
|
-
}
|
|
1743
|
-
declare const Progress: FunctionComponent<Partial<ProgressProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1744
|
-
|
|
1745
|
-
type avatarShape = 'round' | 'square';
|
|
1746
|
-
interface SkeletonProps {
|
|
1747
|
-
width: string;
|
|
1748
|
-
height: string;
|
|
1749
1735
|
animated: boolean;
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
avatar: boolean;
|
|
1753
|
-
className?: string;
|
|
1754
|
-
style?: React__default.CSSProperties;
|
|
1755
|
-
avatarSize: string;
|
|
1756
|
-
round: boolean;
|
|
1757
|
-
loading: boolean;
|
|
1758
|
-
avatarShape: avatarShape;
|
|
1759
|
-
children?: React__default.ReactNode;
|
|
1736
|
+
lazy: boolean;
|
|
1737
|
+
delay: number;
|
|
1760
1738
|
}
|
|
1761
|
-
declare const
|
|
1739
|
+
declare const Progress: FunctionComponent<Partial<ProgressProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1762
1740
|
|
|
1763
1741
|
interface StepProps extends BasicComponent {
|
|
1764
|
-
title:
|
|
1765
|
-
|
|
1766
|
-
|
|
1742
|
+
title: ReactNode;
|
|
1743
|
+
description: ReactNode;
|
|
1744
|
+
value: number;
|
|
1767
1745
|
icon: ReactNode;
|
|
1768
|
-
iconColor: string;
|
|
1769
|
-
className: string;
|
|
1770
|
-
style: React__default.CSSProperties;
|
|
1771
|
-
renderContent: () => React__default.ReactNode;
|
|
1772
1746
|
}
|
|
1773
|
-
declare const Step: FunctionComponent<Partial<StepProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1747
|
+
declare const Step: FunctionComponent<Partial<StepProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'title'>>;
|
|
1774
1748
|
|
|
1775
|
-
interface StepsProps {
|
|
1776
|
-
|
|
1749
|
+
interface StepsProps extends BasicComponent {
|
|
1750
|
+
value: number;
|
|
1777
1751
|
direction: string;
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
style: React__default.CSSProperties;
|
|
1781
|
-
clickStep: (index: number) => void;
|
|
1782
|
-
onClickStep: (index: number) => void;
|
|
1752
|
+
dot: boolean;
|
|
1753
|
+
onStepClick: (index: number) => void;
|
|
1783
1754
|
}
|
|
1784
1755
|
declare const Steps: FunctionComponent<Partial<StepsProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1785
1756
|
|
|
@@ -1788,25 +1759,20 @@ type SwiperRef = {
|
|
|
1788
1759
|
next: () => void;
|
|
1789
1760
|
prev: () => void;
|
|
1790
1761
|
};
|
|
1791
|
-
interface SwiperProps {
|
|
1762
|
+
interface SwiperProps extends BasicComponent {
|
|
1792
1763
|
width: number | string;
|
|
1793
1764
|
height: number | string;
|
|
1794
1765
|
duration: number | string;
|
|
1795
|
-
|
|
1766
|
+
defaultValue: number | string;
|
|
1796
1767
|
autoPlay: number | string;
|
|
1797
1768
|
direction: 'horizontal' | 'vertical';
|
|
1798
|
-
|
|
1799
|
-
paginationBgColor: string;
|
|
1800
|
-
paginationVisible: boolean;
|
|
1769
|
+
indicator: ReactNode;
|
|
1801
1770
|
loop: boolean;
|
|
1802
1771
|
touchable: boolean;
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
style?: React__default.CSSProperties;
|
|
1808
|
-
pageContent?: React__default.ReactNode;
|
|
1809
|
-
onChange?: (currPage: number) => void;
|
|
1772
|
+
preventDefault: boolean;
|
|
1773
|
+
stopPropagation: boolean;
|
|
1774
|
+
center: boolean;
|
|
1775
|
+
onChange?: (current: number) => void;
|
|
1810
1776
|
}
|
|
1811
1777
|
declare const Swiper: React__default.ForwardRefExoticComponent<Partial<SwiperProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, "onChange"> & React__default.RefAttributes<SwiperRef>>;
|
|
1812
1778
|
|
|
@@ -1817,8 +1783,6 @@ interface SwiperItemProps {
|
|
|
1817
1783
|
declare const SwiperItem: React__default.ForwardRefExoticComponent<Partial<SwiperItemProps> & React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1818
1784
|
|
|
1819
1785
|
interface BasicTableProps extends BasicComponent {
|
|
1820
|
-
className: string;
|
|
1821
|
-
style: React__default.CSSProperties;
|
|
1822
1786
|
columns: Array<TableColumnProps>;
|
|
1823
1787
|
data: Array<any>;
|
|
1824
1788
|
bordered: boolean;
|
|
@@ -1826,7 +1790,7 @@ interface BasicTableProps extends BasicComponent {
|
|
|
1826
1790
|
striped?: boolean;
|
|
1827
1791
|
noData?: React__default.ReactNode;
|
|
1828
1792
|
sorterIcon?: React__default.ReactNode;
|
|
1829
|
-
|
|
1793
|
+
onSort?: (item: TableColumnProps, data: Array<any>) => void;
|
|
1830
1794
|
showHeader?: boolean;
|
|
1831
1795
|
}
|
|
1832
1796
|
interface TableColumnProps {
|
|
@@ -1857,24 +1821,6 @@ interface TagProps extends BasicComponent {
|
|
|
1857
1821
|
type TagType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
1858
1822
|
declare const Tag: FunctionComponent<Partial<TagProps>>;
|
|
1859
1823
|
|
|
1860
|
-
interface TrendArrowProps {
|
|
1861
|
-
rate: number;
|
|
1862
|
-
digits: number;
|
|
1863
|
-
showSign: boolean;
|
|
1864
|
-
showZero: boolean;
|
|
1865
|
-
arrowLeft: boolean;
|
|
1866
|
-
syncTextColor: boolean;
|
|
1867
|
-
textColor: string;
|
|
1868
|
-
riseColor: string;
|
|
1869
|
-
dropColor: string;
|
|
1870
|
-
iconSize: string;
|
|
1871
|
-
upIcon: React__default.ReactNode;
|
|
1872
|
-
downIcon: React__default.ReactNode;
|
|
1873
|
-
className: string;
|
|
1874
|
-
style: React__default.CSSProperties;
|
|
1875
|
-
}
|
|
1876
|
-
declare const TrendArrow: FunctionComponent<Partial<TrendArrowProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1877
|
-
|
|
1878
1824
|
interface VideoProps {
|
|
1879
1825
|
source: {
|
|
1880
1826
|
type: string;
|
|
@@ -1899,118 +1845,6 @@ interface VideoProps {
|
|
|
1899
1845
|
}
|
|
1900
1846
|
declare const Video: FunctionComponent<Partial<VideoProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onPause' | 'onPlay'>>;
|
|
1901
1847
|
|
|
1902
|
-
type Data = any;
|
|
1903
|
-
interface BasicVirtualListProps {
|
|
1904
|
-
className?: string;
|
|
1905
|
-
style?: React.CSSProperties;
|
|
1906
|
-
sourceData: Array<Data>;
|
|
1907
|
-
containerSize?: number;
|
|
1908
|
-
ItemRender?: React.FC<any>;
|
|
1909
|
-
itemSize?: number;
|
|
1910
|
-
itemEqualSize?: boolean;
|
|
1911
|
-
horizontal?: boolean;
|
|
1912
|
-
overscan?: number;
|
|
1913
|
-
handleScroll?: (...args: any[]) => any;
|
|
1914
|
-
onScroll?: (...args: any[]) => any;
|
|
1915
|
-
key?: string;
|
|
1916
|
-
locale?: {
|
|
1917
|
-
[key in string]: string;
|
|
1918
|
-
};
|
|
1919
|
-
}
|
|
1920
|
-
|
|
1921
|
-
type VirtualListProps = BasicVirtualListProps;
|
|
1922
|
-
declare const VirtualList: FunctionComponent<VirtualListProps>;
|
|
1923
|
-
|
|
1924
|
-
interface WaterMarkProps {
|
|
1925
|
-
content: string;
|
|
1926
|
-
fullPage: boolean;
|
|
1927
|
-
zIndex: number;
|
|
1928
|
-
className: string;
|
|
1929
|
-
gapX: number;
|
|
1930
|
-
gapY: number;
|
|
1931
|
-
width: number;
|
|
1932
|
-
height: number;
|
|
1933
|
-
image: string;
|
|
1934
|
-
imageWidth: number;
|
|
1935
|
-
imageHeight: number;
|
|
1936
|
-
rotate: number;
|
|
1937
|
-
fontColor: string;
|
|
1938
|
-
fontStyle: string;
|
|
1939
|
-
fontFamily: string;
|
|
1940
|
-
fontWeight: string;
|
|
1941
|
-
fontSize: string | number;
|
|
1942
|
-
style: React__default.CSSProperties;
|
|
1943
|
-
}
|
|
1944
|
-
declare const WaterMark: FunctionComponent<Partial<WaterMarkProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1945
|
-
|
|
1946
|
-
interface RegionData {
|
|
1947
|
-
name?: string;
|
|
1948
|
-
[key: string]: any;
|
|
1949
|
-
}
|
|
1950
|
-
interface ChangeCallBack {
|
|
1951
|
-
next: string;
|
|
1952
|
-
value: string | RegionData;
|
|
1953
|
-
custom: string;
|
|
1954
|
-
}
|
|
1955
|
-
interface CloseCallBackData extends SelectedRegionObj {
|
|
1956
|
-
addressIdStr: string;
|
|
1957
|
-
addressStr: string;
|
|
1958
|
-
}
|
|
1959
|
-
interface CloseCallBack {
|
|
1960
|
-
data: CloseCallBackData | AddressList;
|
|
1961
|
-
type: string;
|
|
1962
|
-
}
|
|
1963
|
-
interface AddressList {
|
|
1964
|
-
id?: string | number;
|
|
1965
|
-
provinceName: string;
|
|
1966
|
-
cityName: string;
|
|
1967
|
-
countyName: string;
|
|
1968
|
-
townName: string;
|
|
1969
|
-
addressDetail: string;
|
|
1970
|
-
selectedAddress: boolean;
|
|
1971
|
-
name?: string;
|
|
1972
|
-
phone?: string;
|
|
1973
|
-
}
|
|
1974
|
-
interface SelectedRegionObj {
|
|
1975
|
-
province: RegionData;
|
|
1976
|
-
city: RegionData;
|
|
1977
|
-
country: RegionData;
|
|
1978
|
-
town: RegionData;
|
|
1979
|
-
}
|
|
1980
|
-
|
|
1981
|
-
interface AddressProps extends BasicComponent {
|
|
1982
|
-
className?: string;
|
|
1983
|
-
style?: CSSProperties;
|
|
1984
|
-
modelValue: boolean;
|
|
1985
|
-
modelSelect: (string | number)[];
|
|
1986
|
-
type: string;
|
|
1987
|
-
customAddressTitle: string;
|
|
1988
|
-
province: RegionData[];
|
|
1989
|
-
city: RegionData[];
|
|
1990
|
-
country: RegionData[];
|
|
1991
|
-
town: RegionData[];
|
|
1992
|
-
isShowCustomAddress: boolean;
|
|
1993
|
-
existAddress: AddressList[];
|
|
1994
|
-
existAddressTitle: string;
|
|
1995
|
-
customAndExistTitle: string;
|
|
1996
|
-
height: string | number;
|
|
1997
|
-
defaultIcon: React__default.ReactNode;
|
|
1998
|
-
selectedIcon: React__default.ReactNode;
|
|
1999
|
-
closeBtnIcon: React__default.ReactNode;
|
|
2000
|
-
backBtnIcon: React__default.ReactNode;
|
|
2001
|
-
onSelected?: (prevExistAdd: AddressList, item: AddressList, copyExistAdd: AddressList[]) => void;
|
|
2002
|
-
onClose?: (cal: CloseCallBack) => void;
|
|
2003
|
-
onCancel?: (cal: {
|
|
2004
|
-
closeWay: string;
|
|
2005
|
-
}) => void;
|
|
2006
|
-
onSwitch?: (cal: {
|
|
2007
|
-
type: string;
|
|
2008
|
-
}) => void;
|
|
2009
|
-
onChange?: (cal: ChangeCallBack) => void;
|
|
2010
|
-
onTabChecked?: (cal: string) => void;
|
|
2011
|
-
}
|
|
2012
|
-
declare const Address: FunctionComponent<Partial<AddressProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
2013
|
-
|
|
2014
1848
|
interface BarrageProps {
|
|
2015
1849
|
className: string;
|
|
2016
1850
|
style: React__default.CSSProperties;
|
|
@@ -2040,19 +1874,6 @@ interface CardProps {
|
|
|
2040
1874
|
}
|
|
2041
1875
|
declare const Card: FunctionComponent<Partial<CardProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
2042
1876
|
|
|
2043
|
-
interface SignatureProps {
|
|
2044
|
-
type: string;
|
|
2045
|
-
lineWidth: number;
|
|
2046
|
-
strokeStyle: string;
|
|
2047
|
-
unSupportTpl: string;
|
|
2048
|
-
className: string;
|
|
2049
|
-
confirm?: (canvas: HTMLCanvasElement, dataurl: string) => void;
|
|
2050
|
-
clear?: () => void;
|
|
2051
|
-
onConfirm?: (canvas: HTMLCanvasElement, dataurl: string) => void;
|
|
2052
|
-
onClear?: () => void;
|
|
2053
|
-
}
|
|
2054
|
-
declare const Signature: FunctionComponent<Partial<SignatureProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
2055
|
-
|
|
2056
1877
|
interface TimeType {
|
|
2057
1878
|
key?: string | number;
|
|
2058
1879
|
list: string[];
|
|
@@ -2098,4 +1919,44 @@ interface TimeSelectProps {
|
|
|
2098
1919
|
}
|
|
2099
1920
|
declare const TimeSelect: FunctionComponent<Partial<TimeSelectProps>>;
|
|
2100
1921
|
|
|
1922
|
+
interface TrendArrowProps {
|
|
1923
|
+
rate: number;
|
|
1924
|
+
digits: number;
|
|
1925
|
+
showSign: boolean;
|
|
1926
|
+
showZero: boolean;
|
|
1927
|
+
arrowLeft: boolean;
|
|
1928
|
+
syncTextColor: boolean;
|
|
1929
|
+
textColor: string;
|
|
1930
|
+
riseColor: string;
|
|
1931
|
+
dropColor: string;
|
|
1932
|
+
iconSize: string;
|
|
1933
|
+
upIcon: React__default.ReactNode;
|
|
1934
|
+
downIcon: React__default.ReactNode;
|
|
1935
|
+
className: string;
|
|
1936
|
+
style: React__default.CSSProperties;
|
|
1937
|
+
}
|
|
1938
|
+
declare const TrendArrow: FunctionComponent<Partial<TrendArrowProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1939
|
+
|
|
1940
|
+
interface WaterMarkProps {
|
|
1941
|
+
content: string;
|
|
1942
|
+
fullPage: boolean;
|
|
1943
|
+
zIndex: number;
|
|
1944
|
+
className: string;
|
|
1945
|
+
gapX: number;
|
|
1946
|
+
gapY: number;
|
|
1947
|
+
width: number;
|
|
1948
|
+
height: number;
|
|
1949
|
+
image: string;
|
|
1950
|
+
imageWidth: number;
|
|
1951
|
+
imageHeight: number;
|
|
1952
|
+
rotate: number;
|
|
1953
|
+
fontColor: string;
|
|
1954
|
+
fontStyle: string;
|
|
1955
|
+
fontFamily: string;
|
|
1956
|
+
fontWeight: string;
|
|
1957
|
+
fontSize: string | number;
|
|
1958
|
+
style: React__default.CSSProperties;
|
|
1959
|
+
}
|
|
1960
|
+
declare const WaterMark: FunctionComponent<Partial<WaterMarkProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1961
|
+
|
|
2101
1962
|
export { ActionSheet, ActionSheetProps, Address, AddressProps, Animate, AnimateProps, AnimatingNumbers, AnimatingNumbersProps, Audio, AudioProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, BackTop, BackTopProps, Badge, BadgeProps, Barrage, BarrageProps, Button, ButtonProps, Calendar, CalendarItem, CalendarItemProps, CalendarProps, Card, CardProps, Cascader, CascaderProps, Cell, CellGroup, CellGroupProps, CellProps, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, CircleProgress, CircleProgressProps, Col, ColProps, Collapse, CollapseItem, CollapseItemProps, CollapseProps, ConfigProvider, ConfigProviderProps, CountDown, CountDownProps, DatePicker, DatePickerProps, Dialog, DialogProps, Divider, DividerProps, Drag, DragProps, Elevator, ElevatorProps, Ellipsis, EllipsisProps, Empty, EmptyProps, FixedNav, FixedNavProps, Form, FormItem, FormItemProps, FormProps, Grid, GridItem, GridItemProps, GridProps, Image, ImagePreview, ImagePreviewProps, ImageProps, Indicator, IndicatorProps, Infiniteloading, InfiniteloadingProps, Input, InputNumber, InputNumberProps, InputProps, Layout, LayoutProps, Menu, MenuItem, MenuItemProps, MenuProps, NavBar, NavBarProps$1 as NavBarProps, NoticeBar, NoticeBarProps, _default$1 as Notify, NotifyProps, NumberKeyboard, NumberKeyboardProps, Overlay, OverlayProps, Pagination, PaginationProps, Picker, PickerProps, Popover, PopoverProps, Popup, PopupProps, Price, PriceProps, Progress, ProgressProps, PullToRefresh, PullToRefreshProps, Radio, RadioGroup, RadioGroupProps, RadioProps, Range, RangeProps, Rate, RateProps, Row, RowProps, SearchBar, SearchBarProps, ShortPassword, ShortPasswordProps, SideNavBar, SideNavBarItem, SideNavBarItemProps, SideNavBarProps, Signature, SignatureProps, Skeleton, SkeletonProps, Step, StepProps, Steps, StepsProps, Sticky, StickyProps, SubSideNavBar, SubSideNavBarProps, Swipe, SwipeProps, Swiper, SwiperItem, SwiperItemProps, SwiperProps, Switch, SwitchProps, TabPane, TabPaneProps, Tabbar, TabbarItem, TabbarItemProps, TabbarProps, Table, TableProps, Tabs, TabsProps, Tag, TagProps, TextArea, TextAreaProps, TimeDetail, TimeDetailProps, TimePannel, TimePannelProps, TimeSelect, TimeSelectProps, _default as Toast, ToastProps, TrendArrow, TrendArrowProps, Uploader, UploaderProps, Video, VideoProps, VirtualList, VirtualListProps, WaterMark, WaterMarkProps };
|