@nutui/nutui-react-taro 1.3.12-beta.2 → 1.3.12-beta.4
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 +13 -0
- package/dist/esm/Audio.js +3 -3
- package/dist/esm/Calendar.js +2 -2
- package/dist/esm/Form/style/index.js +2 -0
- package/dist/esm/Form.js +5 -0
- package/dist/esm/FormItem/style/index.js +2 -0
- package/dist/esm/FormItem.js +8 -0
- package/dist/esm/PullToRefresh.js +2 -2
- package/dist/esm/Range.js +2 -2
- package/dist/esm/TextArea.js +2 -2
- package/dist/esm/{audio.taro-b4f71d1b.js → audio.taro-6920085d.js} +1 -1
- package/dist/esm/{calendar.taro-a1f1a7f8.js → calendar.taro-0a8cbd0c.js} +6 -1
- package/dist/esm/form.taro-e086758a.js +16 -0
- package/dist/esm/formitem-9f11e314.js +237 -0
- package/dist/esm/nutui-react.es.js +8 -5
- package/dist/esm/{pulltorefresh.taro-e66c78ad.js → pulltorefresh.taro-fe2fa54c.js} +0 -1
- package/dist/esm/{range.taro-4232e6a7.js → range.taro-4e5f8f31.js} +10 -7
- package/dist/esm/{textarea.taro-0a85b8a5.js → textarea.taro-e1bf7f4d.js} +2 -2
- package/dist/esm/types/src/packages/form/demo.d.ts +3 -0
- package/dist/esm/types/src/packages/form/form.d.ts +9 -0
- package/dist/esm/types/src/packages/form/form.taro.d.ts +4 -0
- package/dist/esm/types/src/packages/form/index.d.ts +2 -0
- package/dist/esm/types/src/packages/form/index.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/form/types.d.ts +82 -0
- package/dist/esm/types/src/packages/form/useForm.d.ts +2 -0
- package/dist/esm/types/src/packages/formitem/formitem.d.ts +30 -0
- package/dist/esm/types/src/packages/formitem/formitemcontext.d.ts +6 -0
- package/dist/esm/types/src/packages/formitem/index.d.ts +2 -0
- package/dist/esm/types/src/packages/formitem/index.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/formitem/types.d.ts +82 -0
- package/dist/esm/types/src/packages/formitem/useForm.d.ts +2 -0
- package/dist/esm/types/src/packages/nutui.react.build.d.ts +3 -1
- package/dist/esm/types/src/packages/nutui.react.d.ts +5 -1
- package/dist/esm/types/src/packages/nutui.react.scss.d.ts +2 -0
- package/dist/esm/types/src/packages/nutui.react.taro.d.ts +5 -1
- package/dist/esm/types/src/packages/nutui.react.taro.scss.d.ts +2 -0
- package/dist/esm/types/src/packages/nutui.taro.react.build.d.ts +3 -1
- package/dist/esm/types/src/packages/range/range.d.ts +3 -0
- package/dist/esm/types/src/packages/range/range.taro.d.ts +3 -0
- 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/nutui.react.es.js +1833 -434
- package/dist/nutui.react.umd.js +1828 -427
- package/dist/packages/form/form.scss +27 -0
- package/dist/packages/formitem/formitem.scss +87 -0
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/themes/default.scss +2 -0
- package/dist/types/index.d.ts +234 -167
- package/dist/types/nutui.taro.react.build.ts +5 -1
- package/package.json +5 -3
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import React__default, { CSSProperties, ReactNode, FunctionComponent, ReactHTML, ReactElement, MouseEvent as MouseEvent$1, MouseEventHandler, ChangeEvent, FocusEvent, HTMLInputTypeAttribute, RefObject, ForwardRefExoticComponent, PropsWithChildren, Component } from 'react';
|
|
2
3
|
import { ButtonProps as ButtonProps$1 } from '@tarojs/components';
|
|
3
4
|
import Taro from '@tarojs/taro';
|
|
4
5
|
|
|
@@ -18,7 +19,7 @@ interface ButtonProps extends IComponent, OmitMiniProgramButtonProps {
|
|
|
18
19
|
plain: boolean;
|
|
19
20
|
loading: boolean;
|
|
20
21
|
disabled: boolean;
|
|
21
|
-
style:
|
|
22
|
+
style: React__default.CSSProperties;
|
|
22
23
|
type: ButtonType;
|
|
23
24
|
size: ButtonSize;
|
|
24
25
|
block: boolean;
|
|
@@ -47,10 +48,10 @@ interface CellProps extends IComponent {
|
|
|
47
48
|
className: string;
|
|
48
49
|
iconSlot: ReactNode;
|
|
49
50
|
linkSlot: ReactNode;
|
|
50
|
-
click: (event:
|
|
51
|
-
onClick: (event:
|
|
51
|
+
click: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
52
|
+
onClick: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
52
53
|
}
|
|
53
|
-
declare const Cell: FunctionComponent<Partial<CellProps> & Omit<
|
|
54
|
+
declare const Cell: FunctionComponent<Partial<CellProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'title'>>;
|
|
54
55
|
|
|
55
56
|
interface CellGroupProps {
|
|
56
57
|
title: ReactNode;
|
|
@@ -71,8 +72,8 @@ interface IconProps {
|
|
|
71
72
|
onClick: (e: MouseEvent) => void;
|
|
72
73
|
fontClassName: string;
|
|
73
74
|
className: string;
|
|
74
|
-
style:
|
|
75
|
-
children:
|
|
75
|
+
style: React__default.CSSProperties;
|
|
76
|
+
children: React__default.ReactNode;
|
|
76
77
|
}
|
|
77
78
|
declare function Icon<T>(props: Partial<IconProps> & T): ReactElement;
|
|
78
79
|
declare namespace Icon {
|
|
@@ -84,18 +85,18 @@ interface OverlayProps {
|
|
|
84
85
|
zIndex: number;
|
|
85
86
|
duration: number;
|
|
86
87
|
overlayClass: string;
|
|
87
|
-
overlayStyle:
|
|
88
|
+
overlayStyle: React__default.CSSProperties;
|
|
88
89
|
closeOnClickOverlay: boolean;
|
|
89
90
|
visible: boolean;
|
|
90
91
|
lockScroll: boolean;
|
|
91
92
|
}
|
|
92
|
-
declare const Overlay: FunctionComponent<Partial<OverlayProps> &
|
|
93
|
+
declare const Overlay: FunctionComponent<Partial<OverlayProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
93
94
|
|
|
94
95
|
declare type Teleport = HTMLElement | (() => HTMLElement) | null;
|
|
95
96
|
interface PopupProps extends OverlayProps, IComponent {
|
|
96
97
|
position: string;
|
|
97
98
|
transition: string;
|
|
98
|
-
style:
|
|
99
|
+
style: React__default.CSSProperties;
|
|
99
100
|
popClass: string;
|
|
100
101
|
closeable: boolean;
|
|
101
102
|
closeIconPosition: string;
|
|
@@ -112,7 +113,7 @@ interface PopupProps extends OverlayProps, IComponent {
|
|
|
112
113
|
onClickOverlay: (e: MouseEvent$1) => void;
|
|
113
114
|
onClickCloseIcon: (e: MouseEvent$1) => void;
|
|
114
115
|
}
|
|
115
|
-
declare const Popup: FunctionComponent<Partial<PopupProps> &
|
|
116
|
+
declare const Popup: FunctionComponent<Partial<PopupProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
116
117
|
|
|
117
118
|
interface BaseLang {
|
|
118
119
|
save: string;
|
|
@@ -243,11 +244,11 @@ interface BaseLang {
|
|
|
243
244
|
interface ConfigProviderProps {
|
|
244
245
|
locale: BaseLang;
|
|
245
246
|
}
|
|
246
|
-
declare const ConfigProvider: FunctionComponent<Partial<ConfigProviderProps> &
|
|
247
|
+
declare const ConfigProvider: FunctionComponent<Partial<ConfigProviderProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
247
248
|
|
|
248
249
|
interface LayoutProps {
|
|
249
250
|
}
|
|
250
|
-
declare const Layout: FunctionComponent<Partial<LayoutProps> &
|
|
251
|
+
declare const Layout: FunctionComponent<Partial<LayoutProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
251
252
|
|
|
252
253
|
declare type EventType$1 = 'row' | 'col';
|
|
253
254
|
interface ColProps {
|
|
@@ -256,7 +257,7 @@ interface ColProps {
|
|
|
256
257
|
gutter: string | number;
|
|
257
258
|
onClick: (e: any, type: EventType$1) => void;
|
|
258
259
|
}
|
|
259
|
-
declare const Col: FunctionComponent<Partial<ColProps> & Omit<
|
|
260
|
+
declare const Col: FunctionComponent<Partial<ColProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
260
261
|
|
|
261
262
|
declare type EventType = 'row' | 'col';
|
|
262
263
|
interface RowProps {
|
|
@@ -267,7 +268,7 @@ interface RowProps {
|
|
|
267
268
|
gutter: string | number;
|
|
268
269
|
onClick: (e: any, type: EventType) => void;
|
|
269
270
|
}
|
|
270
|
-
declare const Row: FunctionComponent<Partial<RowProps> & Omit<
|
|
271
|
+
declare const Row: FunctionComponent<Partial<RowProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
271
272
|
|
|
272
273
|
declare type ContentPositionType = 'left' | 'center' | 'right';
|
|
273
274
|
declare type DirectionType = 'horizontal' | 'vertical';
|
|
@@ -275,11 +276,11 @@ interface DividerProps {
|
|
|
275
276
|
contentPosition: ContentPositionType;
|
|
276
277
|
dashed: boolean;
|
|
277
278
|
hairline: boolean;
|
|
278
|
-
styles?:
|
|
279
|
+
styles?: React__default.CSSProperties;
|
|
279
280
|
className?: string;
|
|
280
281
|
direction?: DirectionType;
|
|
281
282
|
}
|
|
282
|
-
declare const Divider: FunctionComponent<Partial<DividerProps> &
|
|
283
|
+
declare const Divider: FunctionComponent<Partial<DividerProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
283
284
|
|
|
284
285
|
declare type GridDirection$1 = 'horizontal' | 'vertical';
|
|
285
286
|
interface GridProps {
|
|
@@ -295,7 +296,7 @@ interface GridProps {
|
|
|
295
296
|
iconColor?: string;
|
|
296
297
|
style?: CSSProperties;
|
|
297
298
|
}
|
|
298
|
-
declare const Grid: FunctionComponent<Partial<GridProps> &
|
|
299
|
+
declare const Grid: FunctionComponent<Partial<GridProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
299
300
|
|
|
300
301
|
declare type GridDirection = 'horizontal' | 'vertical';
|
|
301
302
|
interface GridItemProps extends IComponent {
|
|
@@ -314,11 +315,11 @@ interface GridItemProps extends IComponent {
|
|
|
314
315
|
reverse: boolean;
|
|
315
316
|
direction: GridDirection;
|
|
316
317
|
}
|
|
317
|
-
declare const GridItem: FunctionComponent<Partial<GridItemProps> &
|
|
318
|
+
declare const GridItem: FunctionComponent<Partial<GridItemProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
318
319
|
|
|
319
320
|
interface StickyProps {
|
|
320
321
|
}
|
|
321
|
-
declare const Sticky: FunctionComponent<Partial<StickyProps> &
|
|
322
|
+
declare const Sticky: FunctionComponent<Partial<StickyProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
322
323
|
|
|
323
324
|
interface NavBarProps$1 extends IComponent {
|
|
324
325
|
leftShow: boolean;
|
|
@@ -332,12 +333,12 @@ interface NavBarProps$1 extends IComponent {
|
|
|
332
333
|
border: boolean;
|
|
333
334
|
placeholder: boolean;
|
|
334
335
|
zIndex: number | string;
|
|
335
|
-
style:
|
|
336
|
-
onClickTitle: (e:
|
|
337
|
-
onClickIcon: (e:
|
|
338
|
-
onClickBack: (e:
|
|
339
|
-
onClickRight: (e:
|
|
340
|
-
children?:
|
|
336
|
+
style: React__default.CSSProperties;
|
|
337
|
+
onClickTitle: (e: React__default.MouseEvent<HTMLDivElement>) => void;
|
|
338
|
+
onClickIcon: (e: React__default.MouseEvent<HTMLDivElement>) => void;
|
|
339
|
+
onClickBack: (e: React__default.MouseEvent<HTMLElement>) => void;
|
|
340
|
+
onClickRight: (e: React__default.MouseEvent<HTMLDivElement>) => void;
|
|
341
|
+
children?: React__default.ReactNode;
|
|
341
342
|
}
|
|
342
343
|
declare const NavBar: FunctionComponent<Partial<NavBarProps$1>>;
|
|
343
344
|
|
|
@@ -357,10 +358,10 @@ interface FixedNavProps extends IComponent {
|
|
|
357
358
|
type: Direction$1;
|
|
358
359
|
onChange: (v: any) => void;
|
|
359
360
|
onSelected: (item: any, e: any) => void;
|
|
360
|
-
slotList:
|
|
361
|
-
slotBtn:
|
|
361
|
+
slotList: React__default.ReactNode;
|
|
362
|
+
slotBtn: React__default.ReactNode;
|
|
362
363
|
}
|
|
363
|
-
declare const FixedNav: FunctionComponent<Partial<FixedNavProps> &
|
|
364
|
+
declare const FixedNav: FunctionComponent<Partial<FixedNavProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
364
365
|
|
|
365
366
|
interface TabbarProps {
|
|
366
367
|
visible: number | string;
|
|
@@ -370,10 +371,10 @@ interface TabbarProps {
|
|
|
370
371
|
activeColor: string;
|
|
371
372
|
safeAreaInsetBottom: boolean;
|
|
372
373
|
className: string;
|
|
373
|
-
style:
|
|
374
|
-
tabSwitch: (child:
|
|
375
|
-
onSwitch: (child:
|
|
376
|
-
children?:
|
|
374
|
+
style: React__default.CSSProperties;
|
|
375
|
+
tabSwitch: (child: React__default.ReactElement<any>, active: number) => void;
|
|
376
|
+
onSwitch: (child: React__default.ReactElement<any>, active: number) => void;
|
|
377
|
+
children?: React__default.ReactNode;
|
|
377
378
|
}
|
|
378
379
|
declare const Tabbar: FunctionComponent<Partial<TabbarProps>>;
|
|
379
380
|
|
|
@@ -402,8 +403,8 @@ interface ElevatorProps {
|
|
|
402
403
|
spaceHeight: number;
|
|
403
404
|
titleHeight: number;
|
|
404
405
|
className: string;
|
|
405
|
-
style:
|
|
406
|
-
children:
|
|
406
|
+
style: React__default.CSSProperties;
|
|
407
|
+
children: React__default.ReactNode;
|
|
407
408
|
onClickItem: (key: string, item: ElevatorData) => void;
|
|
408
409
|
onClickIndex: (key: string) => void;
|
|
409
410
|
}
|
|
@@ -412,26 +413,26 @@ interface ElevatorData {
|
|
|
412
413
|
id: number | string;
|
|
413
414
|
[key: string]: string | number;
|
|
414
415
|
}
|
|
415
|
-
declare const Elevator: FunctionComponent<Partial<ElevatorProps> &
|
|
416
|
+
declare const Elevator: FunctionComponent<Partial<ElevatorProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
416
417
|
|
|
417
418
|
interface PaginationProps {
|
|
418
419
|
defaultValue: number;
|
|
419
420
|
modelValue: number;
|
|
420
421
|
mode: 'multi' | 'simple';
|
|
421
|
-
prevText?:
|
|
422
|
-
nextText?:
|
|
422
|
+
prevText?: React__default.ReactNode;
|
|
423
|
+
nextText?: React__default.ReactNode;
|
|
423
424
|
pageCount: string | number;
|
|
424
425
|
totalItems: string | number;
|
|
425
426
|
itemsPerPage: string | number;
|
|
426
427
|
showPageSize: string | number;
|
|
427
428
|
forceEllipses: boolean;
|
|
428
|
-
pageNodeRender: (page: any) =>
|
|
429
|
+
pageNodeRender: (page: any) => React__default.ReactNode;
|
|
429
430
|
onChange: (currPage: number) => void;
|
|
430
431
|
updatecurrent: (currPage: number) => void;
|
|
431
|
-
style?:
|
|
432
|
+
style?: React__default.CSSProperties;
|
|
432
433
|
className?: string;
|
|
433
434
|
}
|
|
434
|
-
declare const Pagination: FunctionComponent<Partial<PaginationProps> & Omit<
|
|
435
|
+
declare const Pagination: FunctionComponent<Partial<PaginationProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
435
436
|
|
|
436
437
|
declare class Title {
|
|
437
438
|
title: string;
|
|
@@ -443,8 +444,8 @@ declare class Title {
|
|
|
443
444
|
declare type TabsSize = 'large' | 'normal' | 'small';
|
|
444
445
|
interface TabsProps extends IComponent {
|
|
445
446
|
className: string;
|
|
446
|
-
style:
|
|
447
|
-
tabStyle:
|
|
447
|
+
style: React__default.CSSProperties;
|
|
448
|
+
tabStyle: React__default.CSSProperties;
|
|
448
449
|
value: string | number;
|
|
449
450
|
color: string;
|
|
450
451
|
background: string;
|
|
@@ -459,7 +460,7 @@ interface TabsProps extends IComponent {
|
|
|
459
460
|
onChange: (t: Title) => void;
|
|
460
461
|
onClick: (t: Title) => void;
|
|
461
462
|
autoHeight: boolean;
|
|
462
|
-
children?:
|
|
463
|
+
children?: React__default.ReactNode;
|
|
463
464
|
}
|
|
464
465
|
declare const Tabs: FunctionComponent<Partial<TabsProps>>;
|
|
465
466
|
|
|
@@ -473,7 +474,7 @@ interface TabPaneProps {
|
|
|
473
474
|
disabled: boolean;
|
|
474
475
|
autoHeightClassName: string;
|
|
475
476
|
className: string;
|
|
476
|
-
children?:
|
|
477
|
+
children?: React__default.ReactNode;
|
|
477
478
|
}
|
|
478
479
|
declare const TabPane: FunctionComponent<Partial<TabPaneProps & TabPanelInnerProps>>;
|
|
479
480
|
|
|
@@ -485,19 +486,19 @@ interface IndicatorProps {
|
|
|
485
486
|
fillZero: boolean;
|
|
486
487
|
vertical: boolean;
|
|
487
488
|
}
|
|
488
|
-
declare const Indicator: FunctionComponent<Partial<IndicatorProps> &
|
|
489
|
+
declare const Indicator: FunctionComponent<Partial<IndicatorProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
489
490
|
|
|
490
491
|
declare type NavBarProps = {
|
|
491
492
|
showhead?: boolean;
|
|
492
493
|
};
|
|
493
|
-
interface SideNavBarProps extends
|
|
494
|
+
interface SideNavBarProps extends React__default.HTMLAttributes<HTMLDivElement>, NavBarProps {
|
|
494
495
|
title: string;
|
|
495
496
|
visible: boolean;
|
|
496
497
|
width?: string;
|
|
497
498
|
offset?: number;
|
|
498
499
|
position?: 'left' | 'right';
|
|
499
500
|
onClose: () => void;
|
|
500
|
-
children?:
|
|
501
|
+
children?: React__default.ReactNode;
|
|
501
502
|
}
|
|
502
503
|
declare const SideNavBar: FunctionComponent<SideNavBarProps>;
|
|
503
504
|
|
|
@@ -505,7 +506,7 @@ declare type SubSideNavBarProps = {
|
|
|
505
506
|
title: string;
|
|
506
507
|
ikey: string | number;
|
|
507
508
|
open?: boolean;
|
|
508
|
-
children?:
|
|
509
|
+
children?: React__default.ReactNode;
|
|
509
510
|
onClick?: ({ title, ikey, isShow, }: {
|
|
510
511
|
title: string;
|
|
511
512
|
ikey: string | number;
|
|
@@ -521,19 +522,19 @@ declare type SideNavBarItemProps = {
|
|
|
521
522
|
title: string;
|
|
522
523
|
ikey: string | number;
|
|
523
524
|
}) => void;
|
|
524
|
-
children?:
|
|
525
|
+
children?: React__default.ReactNode;
|
|
525
526
|
};
|
|
526
527
|
declare const SideNavBarItem: FunctionComponent<SideNavBarItemProps>;
|
|
527
528
|
|
|
528
529
|
interface MenuProps extends IComponent {
|
|
529
530
|
className: string;
|
|
530
|
-
style:
|
|
531
|
+
style: React__default.CSSProperties;
|
|
531
532
|
activeColor: string;
|
|
532
533
|
closeOnClickOverlay: boolean;
|
|
533
534
|
scrollFixed: boolean | string | number;
|
|
534
535
|
lockScroll: boolean;
|
|
535
536
|
titleIcon: string;
|
|
536
|
-
children:
|
|
537
|
+
children: React__default.ReactNode;
|
|
537
538
|
}
|
|
538
539
|
declare const Menu: FunctionComponent<Partial<MenuProps>>;
|
|
539
540
|
|
|
@@ -543,8 +544,8 @@ interface OptionItem {
|
|
|
543
544
|
}
|
|
544
545
|
interface MenuItemProps extends IComponent {
|
|
545
546
|
className: string;
|
|
546
|
-
style:
|
|
547
|
-
title:
|
|
547
|
+
style: React__default.CSSProperties;
|
|
548
|
+
title: React__default.ReactNode;
|
|
548
549
|
options: OptionItem[];
|
|
549
550
|
disabled: boolean;
|
|
550
551
|
columns: number;
|
|
@@ -556,9 +557,9 @@ interface MenuItemProps extends IComponent {
|
|
|
556
557
|
iconClassPrefix: string;
|
|
557
558
|
value: string | number;
|
|
558
559
|
onChange: (event: any) => void;
|
|
559
|
-
children:
|
|
560
|
+
children: React__default.ReactNode;
|
|
560
561
|
}
|
|
561
|
-
declare const MenuItem:
|
|
562
|
+
declare const MenuItem: React__default.ForwardRefExoticComponent<Partial<MenuItemProps> & React__default.RefAttributes<unknown>>;
|
|
562
563
|
|
|
563
564
|
declare type SliderValue = number | number[];
|
|
564
565
|
interface RangeProps {
|
|
@@ -573,9 +574,12 @@ interface RangeProps {
|
|
|
573
574
|
hiddenTag: boolean;
|
|
574
575
|
min: number | string;
|
|
575
576
|
max: number | string;
|
|
577
|
+
minDesc: number | string;
|
|
578
|
+
maxDesc: number | string;
|
|
579
|
+
curValueDesc: number | string;
|
|
576
580
|
step: number | string;
|
|
577
581
|
modelValue: SliderValue;
|
|
578
|
-
button:
|
|
582
|
+
button: React__default.ReactNode;
|
|
579
583
|
vertical: boolean;
|
|
580
584
|
marks: Record<string, unknown>;
|
|
581
585
|
change?: (value: number) => void;
|
|
@@ -585,7 +589,7 @@ interface RangeProps {
|
|
|
585
589
|
onDragStart?: () => void;
|
|
586
590
|
onDragEnd?: () => void;
|
|
587
591
|
}
|
|
588
|
-
declare const Range: FunctionComponent<Partial<RangeProps> & Omit<
|
|
592
|
+
declare const Range: FunctionComponent<Partial<RangeProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick' | 'onChange'>>;
|
|
589
593
|
|
|
590
594
|
interface CalendarProps {
|
|
591
595
|
type?: string;
|
|
@@ -599,7 +603,7 @@ interface CalendarProps {
|
|
|
599
603
|
onClose?: () => void;
|
|
600
604
|
onChoose?: (param: string) => void;
|
|
601
605
|
}
|
|
602
|
-
declare const Calendar: FunctionComponent<Partial<CalendarProps> &
|
|
606
|
+
declare const Calendar: FunctionComponent<Partial<CalendarProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
603
607
|
|
|
604
608
|
interface RadioGroupOptionType {
|
|
605
609
|
label: string;
|
|
@@ -615,7 +619,7 @@ interface CheckboxGroupProps {
|
|
|
615
619
|
onChange: (value: string[]) => void;
|
|
616
620
|
options: RadioGroupOptionType[];
|
|
617
621
|
}
|
|
618
|
-
declare const CheckboxGroup:
|
|
622
|
+
declare const CheckboxGroup: React__default.ForwardRefExoticComponent<Partial<CheckboxGroupProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, "onChange"> & React__default.RefAttributes<unknown>>;
|
|
619
623
|
|
|
620
624
|
interface InheritParentProps {
|
|
621
625
|
getParentVals?: () => string[] | undefined;
|
|
@@ -635,7 +639,7 @@ interface CheckboxProps extends IComponent {
|
|
|
635
639
|
label: string;
|
|
636
640
|
onChange: (state: boolean, label: string) => void;
|
|
637
641
|
}
|
|
638
|
-
declare const Checkbox: FunctionComponent<Partial<CheckboxProps> & Omit<
|
|
642
|
+
declare const Checkbox: FunctionComponent<Partial<CheckboxProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'> & InheritParentProps> & {
|
|
639
643
|
Group: typeof CheckboxGroup;
|
|
640
644
|
};
|
|
641
645
|
|
|
@@ -657,14 +661,14 @@ interface DatePickerProps {
|
|
|
657
661
|
maxDate: Date;
|
|
658
662
|
threeDimensional: boolean;
|
|
659
663
|
className?: string;
|
|
660
|
-
style?:
|
|
664
|
+
style?: React__default.CSSProperties;
|
|
661
665
|
formatter: (type: string, option: PickerOption$1) => PickerOption$1;
|
|
662
666
|
filter: (type: string, option: PickerOption$1[]) => PickerOption$1[];
|
|
663
667
|
onCloseDatePicker: () => void;
|
|
664
668
|
onConfirmDatePicker: (values: (string | number)[], options: PickerOption$1[]) => void;
|
|
665
669
|
onChange: (columnIndex: string | number, values: (string | number)[], options: PickerOption$1[]) => void;
|
|
666
670
|
}
|
|
667
|
-
declare const DatePicker: FunctionComponent<Partial<DatePickerProps> & Omit<
|
|
671
|
+
declare const DatePicker: FunctionComponent<Partial<DatePickerProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
668
672
|
|
|
669
673
|
interface InputNumberProps extends IComponent {
|
|
670
674
|
disabled: boolean;
|
|
@@ -678,7 +682,7 @@ interface InputNumberProps extends IComponent {
|
|
|
678
682
|
decimalPlaces: string | number;
|
|
679
683
|
isAsync: boolean;
|
|
680
684
|
className: string;
|
|
681
|
-
style:
|
|
685
|
+
style: React__default.CSSProperties;
|
|
682
686
|
add: (e: MouseEvent) => void;
|
|
683
687
|
reduce: (e: MouseEvent) => void;
|
|
684
688
|
overlimit: (e: MouseEvent) => void;
|
|
@@ -692,7 +696,7 @@ interface InputNumberProps extends IComponent {
|
|
|
692
696
|
onFocus: (e: FocusEvent<HTMLInputElement>) => void;
|
|
693
697
|
onChangeFuc: (param: string | number, e: MouseEvent | ChangeEvent<HTMLInputElement>) => void;
|
|
694
698
|
}
|
|
695
|
-
declare const InputNumber: FunctionComponent<Partial<InputNumberProps> &
|
|
699
|
+
declare const InputNumber: FunctionComponent<Partial<InputNumberProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
696
700
|
|
|
697
701
|
declare type InputAlignType = 'left' | 'center' | 'right';
|
|
698
702
|
declare type InputFormatTrigger = 'onChange' | 'onBlur';
|
|
@@ -736,8 +740,8 @@ interface InputProps extends IComponent {
|
|
|
736
740
|
autofocus: boolean;
|
|
737
741
|
style?: CSSProperties;
|
|
738
742
|
className?: string;
|
|
739
|
-
slotButton?:
|
|
740
|
-
slotInput?:
|
|
743
|
+
slotButton?: React__default.ReactNode;
|
|
744
|
+
slotInput?: React__default.ReactNode;
|
|
741
745
|
formatter: (value: string) => void;
|
|
742
746
|
onChange?: (value: any, event: Event) => void;
|
|
743
747
|
onBlur?: (value: any, event: Event) => void;
|
|
@@ -757,7 +761,7 @@ interface InputProps extends IComponent {
|
|
|
757
761
|
clickRightIcon?: (value: any) => void;
|
|
758
762
|
click?: (value: any) => void;
|
|
759
763
|
}
|
|
760
|
-
declare const Input: FunctionComponent<Partial<InputProps> & Omit<
|
|
764
|
+
declare const Input: FunctionComponent<Partial<InputProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onBlur' | 'onFocus' | 'onClick'>>;
|
|
761
765
|
|
|
762
766
|
declare type Position$1 = 'left' | 'right';
|
|
763
767
|
declare type Direction = 'horizontal' | 'vertical';
|
|
@@ -768,13 +772,13 @@ interface RadioGroupProps {
|
|
|
768
772
|
onChange: (value: string | number | boolean) => void;
|
|
769
773
|
options: RadioGroupOptionType[];
|
|
770
774
|
}
|
|
771
|
-
declare const RadioGroup:
|
|
775
|
+
declare const RadioGroup: React__default.ForwardRefExoticComponent<Partial<RadioGroupProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, "onChange"> & React__default.RefAttributes<unknown>>;
|
|
772
776
|
|
|
773
777
|
declare type Shape = 'button' | 'round';
|
|
774
778
|
declare type Position = 'right' | 'left';
|
|
775
779
|
interface RadioProps extends IComponent {
|
|
776
780
|
className: string;
|
|
777
|
-
style:
|
|
781
|
+
style: React__default.CSSProperties;
|
|
778
782
|
disabled: boolean;
|
|
779
783
|
checked: boolean;
|
|
780
784
|
shape: Shape;
|
|
@@ -785,7 +789,7 @@ interface RadioProps extends IComponent {
|
|
|
785
789
|
iconSize: string | number;
|
|
786
790
|
onChange: MouseEventHandler<HTMLDivElement>;
|
|
787
791
|
}
|
|
788
|
-
declare const Radio: FunctionComponent<Partial<RadioProps> &
|
|
792
|
+
declare const Radio: FunctionComponent<Partial<RadioProps> & React__default.HTMLAttributes<HTMLDivElement>> & {
|
|
789
793
|
RadioGroup: typeof RadioGroup;
|
|
790
794
|
};
|
|
791
795
|
|
|
@@ -820,7 +824,7 @@ interface CalendarItemProps {
|
|
|
820
824
|
onUpdate?: () => void;
|
|
821
825
|
onClose?: () => void;
|
|
822
826
|
}
|
|
823
|
-
declare const CalendarItem: FunctionComponent<Partial<CalendarItemProps> &
|
|
827
|
+
declare const CalendarItem: FunctionComponent<Partial<CalendarItemProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
824
828
|
|
|
825
829
|
interface PickerOption {
|
|
826
830
|
text: string | number;
|
|
@@ -835,7 +839,7 @@ interface PickerProps {
|
|
|
835
839
|
listData: (PickerOption | PickerOption[])[];
|
|
836
840
|
defaultValueData?: (number | string)[];
|
|
837
841
|
className?: '';
|
|
838
|
-
style?:
|
|
842
|
+
style?: React__default.CSSProperties;
|
|
839
843
|
threeDimensional?: boolean;
|
|
840
844
|
swipeDuration: number | string;
|
|
841
845
|
onConfirm?: (selectedValue: (string | number)[], selectedOptions: PickerOption[]) => void;
|
|
@@ -843,7 +847,7 @@ interface PickerProps {
|
|
|
843
847
|
onCloseUpdate?: (selectedValue: (string | number)[], list: PickerOption[], pickerRef: RefObject<HTMLDivElement>) => void;
|
|
844
848
|
onChange?: (index: number, value: (string | number)[], selectedOptions: PickerOption[]) => void;
|
|
845
849
|
}
|
|
846
|
-
declare const Picker:
|
|
850
|
+
declare const Picker: React__default.ForwardRefExoticComponent<Partial<PickerProps> & React__default.RefAttributes<unknown>>;
|
|
847
851
|
|
|
848
852
|
interface ShortPasswordProps extends IComponent {
|
|
849
853
|
title: string;
|
|
@@ -864,7 +868,7 @@ interface ShortPasswordProps extends IComponent {
|
|
|
864
868
|
onTips: () => void;
|
|
865
869
|
onComplete: (value: string | number) => void;
|
|
866
870
|
}
|
|
867
|
-
declare const ShortPassword: FunctionComponent<Partial<ShortPasswordProps> & Omit<
|
|
871
|
+
declare const ShortPassword: FunctionComponent<Partial<ShortPasswordProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
868
872
|
|
|
869
873
|
interface TextAreaProps {
|
|
870
874
|
className?: string;
|
|
@@ -882,7 +886,7 @@ interface TextAreaProps {
|
|
|
882
886
|
onBlur?: (event: Event) => void;
|
|
883
887
|
onFocus?: (event: Event) => void;
|
|
884
888
|
}
|
|
885
|
-
declare const TextArea: FunctionComponent<Partial<TextAreaProps> & Omit<
|
|
889
|
+
declare const TextArea: FunctionComponent<Partial<TextAreaProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onBlur' | 'onFocus'>>;
|
|
886
890
|
|
|
887
891
|
declare class UploadOptions {
|
|
888
892
|
url: string;
|
|
@@ -948,7 +952,7 @@ interface UploaderProps extends IComponent {
|
|
|
948
952
|
isDeletable: boolean;
|
|
949
953
|
className: string;
|
|
950
954
|
defaultImg: string;
|
|
951
|
-
style:
|
|
955
|
+
style: React__default.CSSProperties;
|
|
952
956
|
onStart?: (option: UploadOptions) => void;
|
|
953
957
|
onRemove?: (file: FileItem, fileList: FileType$1<string>[]) => void;
|
|
954
958
|
onSuccess?: (param: {
|
|
@@ -985,9 +989,9 @@ declare class FileItem {
|
|
|
985
989
|
percentage: string | number;
|
|
986
990
|
formData: any;
|
|
987
991
|
}
|
|
988
|
-
declare const Uploader:
|
|
989
|
-
children?:
|
|
990
|
-
} &
|
|
992
|
+
declare const Uploader: React__default.ForwardRefExoticComponent<Partial<UploaderProps> & {
|
|
993
|
+
children?: React__default.ReactNode;
|
|
994
|
+
} & React__default.RefAttributes<unknown>>;
|
|
991
995
|
|
|
992
996
|
interface CascaderOption {
|
|
993
997
|
text?: string;
|
|
@@ -1022,9 +1026,9 @@ interface CascaderProps {
|
|
|
1022
1026
|
onChange: (value: any, params: any) => void;
|
|
1023
1027
|
onPathChange: (value: any, params: any) => void;
|
|
1024
1028
|
}
|
|
1025
|
-
declare const Cascader:
|
|
1026
|
-
children?:
|
|
1027
|
-
} &
|
|
1029
|
+
declare const Cascader: React__default.ForwardRefExoticComponent<Partial<CascaderProps> & {
|
|
1030
|
+
children?: React__default.ReactNode;
|
|
1031
|
+
} & React__default.RefAttributes<unknown>>;
|
|
1028
1032
|
|
|
1029
1033
|
interface SearchBarProps extends IComponent {
|
|
1030
1034
|
/** 文本值 */
|
|
@@ -1052,17 +1056,17 @@ interface SearchBarProps extends IComponent {
|
|
|
1052
1056
|
/** 是否自动聚焦,iOS 系统不支持该属性 */
|
|
1053
1057
|
autoFocus?: boolean;
|
|
1054
1058
|
/** 搜索框左侧文本 */
|
|
1055
|
-
label?:
|
|
1059
|
+
label?: React__default.ReactNode;
|
|
1056
1060
|
/** 输入框内 左icon */
|
|
1057
|
-
leftinIcon?:
|
|
1061
|
+
leftinIcon?: React__default.ReactNode;
|
|
1058
1062
|
/** 输入框内 右icon */
|
|
1059
|
-
rightinIcon?:
|
|
1063
|
+
rightinIcon?: React__default.ReactNode;
|
|
1060
1064
|
/** 输入框外 左icon */
|
|
1061
|
-
leftoutIcon?:
|
|
1065
|
+
leftoutIcon?: React__default.ReactNode;
|
|
1062
1066
|
/** 输入框外 右icon */
|
|
1063
|
-
rightoutIcon?:
|
|
1067
|
+
rightoutIcon?: React__default.ReactNode;
|
|
1064
1068
|
/** 取消按钮文字 */
|
|
1065
|
-
actionText?:
|
|
1069
|
+
actionText?: React__default.ReactNode;
|
|
1066
1070
|
/** 确定搜索时触发 */
|
|
1067
1071
|
onSearch?: (val: string) => void;
|
|
1068
1072
|
/** 输入框内容变化时触发 */
|
|
@@ -1086,7 +1090,7 @@ interface SearchBarProps extends IComponent {
|
|
|
1086
1090
|
/** 点击输入框外右侧图标时触发 */
|
|
1087
1091
|
onClickRightoutIcon?: (value: string, event: Event) => void;
|
|
1088
1092
|
}
|
|
1089
|
-
declare const SearchBar: FunctionComponent<Partial<SearchBarProps> & Omit<
|
|
1093
|
+
declare const SearchBar: FunctionComponent<Partial<SearchBarProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onFocus' | 'onBlur'>>;
|
|
1090
1094
|
|
|
1091
1095
|
interface NumberKeyboardProps {
|
|
1092
1096
|
confirmText: string;
|
|
@@ -1102,7 +1106,70 @@ interface NumberKeyboardProps {
|
|
|
1102
1106
|
onDelete?: () => void;
|
|
1103
1107
|
onClose: () => void;
|
|
1104
1108
|
}
|
|
1105
|
-
declare const NumberKeyboard: FunctionComponent<Partial<NumberKeyboardProps> & Omit<
|
|
1109
|
+
declare const NumberKeyboard: FunctionComponent<Partial<NumberKeyboardProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
1110
|
+
|
|
1111
|
+
interface FormProps {
|
|
1112
|
+
}
|
|
1113
|
+
declare const Form: FunctionComponent<Partial<FormProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1114
|
+
|
|
1115
|
+
interface FormItemRuleWithoutValidator {
|
|
1116
|
+
[key: string]: any;
|
|
1117
|
+
regex?: RegExp;
|
|
1118
|
+
required?: boolean;
|
|
1119
|
+
message?: string;
|
|
1120
|
+
}
|
|
1121
|
+
interface FormItemRule extends FormItemRuleWithoutValidator {
|
|
1122
|
+
validator?: (value: any, ruleCfg: FormItemRuleWithoutValidator) => boolean | string | Promise<boolean | string>;
|
|
1123
|
+
}
|
|
1124
|
+
interface BaseFormField {
|
|
1125
|
+
/**
|
|
1126
|
+
* 字段名
|
|
1127
|
+
*/
|
|
1128
|
+
name: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* label 标签的文本
|
|
1131
|
+
*/
|
|
1132
|
+
label: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* 校验规则,设置字段的校验逻辑
|
|
1135
|
+
*/
|
|
1136
|
+
rules: FormItemRule[];
|
|
1137
|
+
/**
|
|
1138
|
+
* 是否禁用表单项
|
|
1139
|
+
*/
|
|
1140
|
+
disabled: boolean;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
interface ConfigConsumerProps {
|
|
1144
|
+
[propName: string]: any;
|
|
1145
|
+
}
|
|
1146
|
+
declare const FormItemContext: React$1.Context<ConfigConsumerProps>;
|
|
1147
|
+
|
|
1148
|
+
declare type TextAlign = 'start' | 'end' | 'left' | 'right' | 'center' | 'justify' | 'match-parent';
|
|
1149
|
+
interface FormItemProps extends IComponent, BaseFormField {
|
|
1150
|
+
labelWidth: string | number;
|
|
1151
|
+
errorMessageAlign: TextAlign;
|
|
1152
|
+
showErrorLine: boolean;
|
|
1153
|
+
showErrorMessage: boolean;
|
|
1154
|
+
}
|
|
1155
|
+
declare const defaultProps: FormItemProps;
|
|
1156
|
+
declare type FieldProps = typeof defaultProps & Partial<BaseFormField>;
|
|
1157
|
+
declare class FormItem extends React__default.Component<FieldProps> {
|
|
1158
|
+
static defaultProps: FormItemProps;
|
|
1159
|
+
static contextType: any;
|
|
1160
|
+
context: React__default.ContextType<typeof FormItemContext>;
|
|
1161
|
+
private cancelRegister;
|
|
1162
|
+
componentDidMount(): void;
|
|
1163
|
+
componentWillUnmount(): void;
|
|
1164
|
+
getControlled: (children: React__default.ReactElement) => {
|
|
1165
|
+
value: any;
|
|
1166
|
+
onChange: (event: React__default.ChangeEvent<HTMLInputElement> | number | string | string[]) => void;
|
|
1167
|
+
};
|
|
1168
|
+
onStoreChange: () => void;
|
|
1169
|
+
renderLayout: (childNode: React__default.ReactNode) => JSX.Element;
|
|
1170
|
+
pxCheck: (value: string | number) => string;
|
|
1171
|
+
render(): JSX.Element;
|
|
1172
|
+
}
|
|
1106
1173
|
|
|
1107
1174
|
declare type ItemType<T> = {
|
|
1108
1175
|
[key: string]: T;
|
|
@@ -1120,9 +1187,9 @@ interface ActionSheetProps {
|
|
|
1120
1187
|
onChoose: (item: any, index: number) => void;
|
|
1121
1188
|
visible: boolean;
|
|
1122
1189
|
className: string;
|
|
1123
|
-
style:
|
|
1190
|
+
style: React__default.CSSProperties;
|
|
1124
1191
|
}
|
|
1125
|
-
declare const ActionSheet: FunctionComponent<Partial<ActionSheetProps> &
|
|
1192
|
+
declare const ActionSheet: FunctionComponent<Partial<ActionSheetProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1126
1193
|
|
|
1127
1194
|
interface BackTopProps extends IComponent {
|
|
1128
1195
|
className?: string;
|
|
@@ -1134,10 +1201,10 @@ interface BackTopProps extends IComponent {
|
|
|
1134
1201
|
isAnimation: boolean;
|
|
1135
1202
|
duration: number;
|
|
1136
1203
|
children?: HTMLElement | any;
|
|
1137
|
-
style?:
|
|
1204
|
+
style?: React__default.CSSProperties;
|
|
1138
1205
|
onClick?: (event: MouseEvent) => void;
|
|
1139
1206
|
}
|
|
1140
|
-
declare const BackTop: FunctionComponent<Partial<BackTopProps> & Omit<
|
|
1207
|
+
declare const BackTop: FunctionComponent<Partial<BackTopProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
1141
1208
|
|
|
1142
1209
|
interface DragProps {
|
|
1143
1210
|
attract: boolean;
|
|
@@ -1149,9 +1216,9 @@ interface DragProps {
|
|
|
1149
1216
|
bottom: number;
|
|
1150
1217
|
};
|
|
1151
1218
|
className: string;
|
|
1152
|
-
style:
|
|
1219
|
+
style: React__default.CSSProperties;
|
|
1153
1220
|
}
|
|
1154
|
-
declare const Drag: FunctionComponent<Partial<DragProps> &
|
|
1221
|
+
declare const Drag: FunctionComponent<Partial<DragProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1155
1222
|
|
|
1156
1223
|
declare type DialogConfigType = {
|
|
1157
1224
|
prefixCls?: string;
|
|
@@ -1213,16 +1280,16 @@ interface InfiniteloadingProps extends IComponent {
|
|
|
1213
1280
|
loadTxt: string;
|
|
1214
1281
|
loadMoreTxt: string;
|
|
1215
1282
|
className: string;
|
|
1216
|
-
style:
|
|
1283
|
+
style: React__default.CSSProperties;
|
|
1217
1284
|
onRefresh: (param: () => void) => void;
|
|
1218
1285
|
onLoadMore: (param: () => void) => void;
|
|
1219
1286
|
onScrollChange: (param: number) => void;
|
|
1220
1287
|
}
|
|
1221
|
-
declare const Infiniteloading: FunctionComponent<Partial<InfiniteloadingProps> &
|
|
1288
|
+
declare const Infiniteloading: FunctionComponent<Partial<InfiniteloadingProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1222
1289
|
|
|
1223
1290
|
interface NotifyProps {
|
|
1224
1291
|
id?: string;
|
|
1225
|
-
style?:
|
|
1292
|
+
style?: React__default.CSSProperties;
|
|
1226
1293
|
msg: string;
|
|
1227
1294
|
color: string;
|
|
1228
1295
|
duration: number;
|
|
@@ -1235,7 +1302,7 @@ interface NotifyProps {
|
|
|
1235
1302
|
onClosed: () => void;
|
|
1236
1303
|
onClick: () => void;
|
|
1237
1304
|
}
|
|
1238
|
-
declare const Notify: FunctionComponent<Partial<NotifyProps> &
|
|
1305
|
+
declare const Notify: FunctionComponent<Partial<NotifyProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1239
1306
|
|
|
1240
1307
|
interface SwitchProps {
|
|
1241
1308
|
isAsync: boolean;
|
|
@@ -1246,17 +1313,17 @@ interface SwitchProps {
|
|
|
1246
1313
|
activeText: string;
|
|
1247
1314
|
inactiveText: string;
|
|
1248
1315
|
className: string;
|
|
1249
|
-
style:
|
|
1250
|
-
onChange: (val: boolean, event:
|
|
1316
|
+
style: React__default.CSSProperties;
|
|
1317
|
+
onChange: (val: boolean, event: React__default.MouseEvent) => void;
|
|
1251
1318
|
}
|
|
1252
1319
|
declare const Switch: FunctionComponent<Partial<SwitchProps>>;
|
|
1253
1320
|
|
|
1254
1321
|
interface ToastProps {
|
|
1255
1322
|
id?: string;
|
|
1256
|
-
style?:
|
|
1323
|
+
style?: React__default.CSSProperties;
|
|
1257
1324
|
icon: string | null;
|
|
1258
1325
|
iconSize: string;
|
|
1259
|
-
msg: string |
|
|
1326
|
+
msg: string | React__default.ReactNode;
|
|
1260
1327
|
bottom: number | string;
|
|
1261
1328
|
duration: number;
|
|
1262
1329
|
center: boolean;
|
|
@@ -1272,7 +1339,7 @@ interface ToastProps {
|
|
|
1272
1339
|
visible: boolean;
|
|
1273
1340
|
onClose: () => void;
|
|
1274
1341
|
}
|
|
1275
|
-
declare const Toast: FunctionComponent<Partial<ToastProps> &
|
|
1342
|
+
declare const Toast: FunctionComponent<Partial<ToastProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1276
1343
|
|
|
1277
1344
|
declare type SwipeSide = 'left' | 'right';
|
|
1278
1345
|
declare type SwipePosition = SwipeSide | 'cell' | 'outside';
|
|
@@ -1284,7 +1351,7 @@ interface SwipeProps {
|
|
|
1284
1351
|
/** 自定义类名 */
|
|
1285
1352
|
className: string;
|
|
1286
1353
|
/** 自定义样式 */
|
|
1287
|
-
style:
|
|
1354
|
+
style: React__default.CSSProperties;
|
|
1288
1355
|
/** 标识符,可以在事件参数中获取到 */
|
|
1289
1356
|
name?: string | number;
|
|
1290
1357
|
/** 指定左侧滑动区域宽度,单位为px */
|
|
@@ -1292,9 +1359,9 @@ interface SwipeProps {
|
|
|
1292
1359
|
/** 指定右侧滑动区域宽度,单位为 px */
|
|
1293
1360
|
rightWidth?: string | number;
|
|
1294
1361
|
/** 左侧滑动区域的内容 */
|
|
1295
|
-
leftAction?:
|
|
1362
|
+
leftAction?: React__default.ReactNode;
|
|
1296
1363
|
/** 右侧滑动区域的内容 */
|
|
1297
|
-
rightAction?:
|
|
1364
|
+
rightAction?: React__default.ReactNode;
|
|
1298
1365
|
/** 关闭前的回调函数,返回 false 可阻止关闭,支持返回 Promise */
|
|
1299
1366
|
beforeClose?: (position: string) => void;
|
|
1300
1367
|
/** 是否禁用 */
|
|
@@ -1311,14 +1378,14 @@ interface SwipeProps {
|
|
|
1311
1378
|
}) => void;
|
|
1312
1379
|
/** 点击时触发 */
|
|
1313
1380
|
onActionClick?: (event: Event, position: SwipePosition) => void;
|
|
1314
|
-
children?:
|
|
1381
|
+
children?: React__default.ReactNode;
|
|
1315
1382
|
}
|
|
1316
|
-
declare const Swipe:
|
|
1383
|
+
declare const Swipe: React__default.ForwardRefExoticComponent<Partial<SwipeProps> & React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<SwipeInstance>>;
|
|
1317
1384
|
|
|
1318
1385
|
declare type PullStatus = 'pulling' | 'canRelease' | 'refreshing' | 'complete';
|
|
1319
1386
|
interface PullToRefreshProps {
|
|
1320
1387
|
className: string;
|
|
1321
|
-
style:
|
|
1388
|
+
style: React__default.CSSProperties;
|
|
1322
1389
|
onRefresh: () => Promise<any>;
|
|
1323
1390
|
pullingText: ReactNode;
|
|
1324
1391
|
canReleaseText: ReactNode;
|
|
@@ -1329,7 +1396,7 @@ interface PullToRefreshProps {
|
|
|
1329
1396
|
threshold: number;
|
|
1330
1397
|
disabled: boolean;
|
|
1331
1398
|
renderText: (status: PullStatus) => ReactNode;
|
|
1332
|
-
children:
|
|
1399
|
+
children: React__default.ReactNode;
|
|
1333
1400
|
}
|
|
1334
1401
|
declare const PullToRefresh: FunctionComponent<Partial<PullToRefreshProps>>;
|
|
1335
1402
|
|
|
@@ -1343,7 +1410,7 @@ interface CircleProgressProps {
|
|
|
1343
1410
|
clockwise?: boolean;
|
|
1344
1411
|
className?: string;
|
|
1345
1412
|
}
|
|
1346
|
-
declare const CircleProgress: FunctionComponent<CircleProgressProps &
|
|
1413
|
+
declare const CircleProgress: FunctionComponent<CircleProgressProps & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1347
1414
|
|
|
1348
1415
|
interface NoticeBarProps extends IComponent {
|
|
1349
1416
|
direction: string;
|
|
@@ -1368,18 +1435,18 @@ interface NoticeBarProps extends IComponent {
|
|
|
1368
1435
|
onClose?: (list?: any) => void;
|
|
1369
1436
|
onClick?: (item?: any) => void;
|
|
1370
1437
|
}
|
|
1371
|
-
declare const NoticeBar: FunctionComponent<Partial<NoticeBarProps> & Omit<
|
|
1438
|
+
declare const NoticeBar: FunctionComponent<Partial<NoticeBarProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
1372
1439
|
|
|
1373
1440
|
interface StepsProps {
|
|
1374
1441
|
current: number;
|
|
1375
1442
|
direction: string;
|
|
1376
1443
|
progressDot: boolean;
|
|
1377
1444
|
className: string;
|
|
1378
|
-
style:
|
|
1445
|
+
style: React__default.CSSProperties;
|
|
1379
1446
|
clickStep: (index: number) => void;
|
|
1380
1447
|
onClickStep: (index: number) => void;
|
|
1381
1448
|
}
|
|
1382
|
-
declare const Steps: FunctionComponent<Partial<StepsProps> &
|
|
1449
|
+
declare const Steps: FunctionComponent<Partial<StepsProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1383
1450
|
|
|
1384
1451
|
interface StepProps extends IComponent {
|
|
1385
1452
|
title: string;
|
|
@@ -1389,10 +1456,10 @@ interface StepProps extends IComponent {
|
|
|
1389
1456
|
iconColor: string;
|
|
1390
1457
|
size: string;
|
|
1391
1458
|
className: string;
|
|
1392
|
-
style:
|
|
1393
|
-
renderContent: () =>
|
|
1459
|
+
style: React__default.CSSProperties;
|
|
1460
|
+
renderContent: () => React__default.ReactNode;
|
|
1394
1461
|
}
|
|
1395
|
-
declare const Step: FunctionComponent<Partial<StepProps> &
|
|
1462
|
+
declare const Step: FunctionComponent<Partial<StepProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1396
1463
|
|
|
1397
1464
|
declare type SwiperRef = {
|
|
1398
1465
|
to: (index: number) => void;
|
|
@@ -1414,17 +1481,17 @@ interface SwiperProps {
|
|
|
1414
1481
|
isStopPropagation: boolean;
|
|
1415
1482
|
isCenter: boolean;
|
|
1416
1483
|
className?: string;
|
|
1417
|
-
style?:
|
|
1418
|
-
pageContent?:
|
|
1484
|
+
style?: React__default.CSSProperties;
|
|
1485
|
+
pageContent?: React__default.ReactNode;
|
|
1419
1486
|
onChange?: (currPage: number) => void;
|
|
1420
1487
|
}
|
|
1421
|
-
declare const Swiper:
|
|
1488
|
+
declare const Swiper: React__default.ForwardRefExoticComponent<Partial<SwiperProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, "onChange"> & React__default.RefAttributes<SwiperRef>>;
|
|
1422
1489
|
|
|
1423
1490
|
interface SwiperItemProps {
|
|
1424
1491
|
direction?: string;
|
|
1425
1492
|
size?: 0;
|
|
1426
1493
|
}
|
|
1427
|
-
declare const SwiperItem:
|
|
1494
|
+
declare const SwiperItem: React__default.ForwardRefExoticComponent<Partial<SwiperItemProps> & React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1428
1495
|
|
|
1429
1496
|
interface AvatarProps extends IComponent {
|
|
1430
1497
|
size: string;
|
|
@@ -1436,13 +1503,13 @@ interface AvatarProps extends IComponent {
|
|
|
1436
1503
|
prefixCls: string;
|
|
1437
1504
|
url: string;
|
|
1438
1505
|
className: string;
|
|
1439
|
-
style:
|
|
1506
|
+
style: React__default.CSSProperties;
|
|
1440
1507
|
activeAvatar: (e: MouseEvent) => void;
|
|
1441
1508
|
onActiveAvatar: (e: MouseEvent) => void;
|
|
1442
1509
|
onError: (e: any) => void;
|
|
1443
1510
|
}
|
|
1444
1511
|
declare type AvatarShape = 'round' | 'square';
|
|
1445
|
-
declare const Avatar: FunctionComponent<Partial<AvatarProps> &
|
|
1512
|
+
declare const Avatar: FunctionComponent<Partial<AvatarProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1446
1513
|
|
|
1447
1514
|
interface AvatarGroupProps {
|
|
1448
1515
|
maxContent: string;
|
|
@@ -1454,9 +1521,9 @@ interface AvatarGroupProps {
|
|
|
1454
1521
|
span: string;
|
|
1455
1522
|
zIndex: string;
|
|
1456
1523
|
className: string;
|
|
1457
|
-
style:
|
|
1524
|
+
style: React__default.CSSProperties;
|
|
1458
1525
|
}
|
|
1459
|
-
declare const AvatarGroup: FunctionComponent<Partial<AvatarGroupProps> &
|
|
1526
|
+
declare const AvatarGroup: FunctionComponent<Partial<AvatarGroupProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1460
1527
|
|
|
1461
1528
|
interface PriceProps {
|
|
1462
1529
|
price: number | string;
|
|
@@ -1467,7 +1534,7 @@ interface PriceProps {
|
|
|
1467
1534
|
position: string;
|
|
1468
1535
|
size: string;
|
|
1469
1536
|
className: string;
|
|
1470
|
-
style:
|
|
1537
|
+
style: React__default.CSSProperties;
|
|
1471
1538
|
}
|
|
1472
1539
|
declare const Price: FunctionComponent<Partial<PriceProps>>;
|
|
1473
1540
|
|
|
@@ -1495,7 +1562,7 @@ interface TagProps extends IComponent {
|
|
|
1495
1562
|
prefixCls: string;
|
|
1496
1563
|
onClick: (e: MouseEvent) => void;
|
|
1497
1564
|
onClose: (e?: any) => void;
|
|
1498
|
-
children?:
|
|
1565
|
+
children?: React__default.ReactNode;
|
|
1499
1566
|
}
|
|
1500
1567
|
declare type TagType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
1501
1568
|
declare const Tag: FunctionComponent<Partial<TagProps>>;
|
|
@@ -1515,11 +1582,11 @@ interface PopoverProps extends IComponent {
|
|
|
1515
1582
|
offset: string | number;
|
|
1516
1583
|
className: string;
|
|
1517
1584
|
style?: CSSProperties;
|
|
1518
|
-
children?:
|
|
1519
|
-
onClick: (e:
|
|
1585
|
+
children?: React__default.ReactNode;
|
|
1586
|
+
onClick: (e: React__default.MouseEvent) => void;
|
|
1520
1587
|
onChoose: (item: List, index: number) => void;
|
|
1521
1588
|
}
|
|
1522
|
-
declare const Popover: FunctionComponent<Partial<PopoverProps> &
|
|
1589
|
+
declare const Popover: FunctionComponent<Partial<PopoverProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1523
1590
|
|
|
1524
1591
|
declare type avatarShape = 'round' | 'square';
|
|
1525
1592
|
interface SkeletonProps {
|
|
@@ -1530,12 +1597,12 @@ interface SkeletonProps {
|
|
|
1530
1597
|
title: boolean;
|
|
1531
1598
|
avatar: boolean;
|
|
1532
1599
|
className?: string;
|
|
1533
|
-
style?:
|
|
1600
|
+
style?: React__default.CSSProperties;
|
|
1534
1601
|
avatarSize: string;
|
|
1535
1602
|
round: boolean;
|
|
1536
1603
|
loading: boolean;
|
|
1537
1604
|
avatarShape: avatarShape;
|
|
1538
|
-
children?:
|
|
1605
|
+
children?: React__default.ReactNode;
|
|
1539
1606
|
}
|
|
1540
1607
|
declare const Skeleton: FunctionComponent<Partial<SkeletonProps>>;
|
|
1541
1608
|
|
|
@@ -1555,11 +1622,11 @@ interface CountDownProps {
|
|
|
1555
1622
|
onUpdate: (restTime: any) => void;
|
|
1556
1623
|
children: ReactNode;
|
|
1557
1624
|
}
|
|
1558
|
-
declare const CountDown:
|
|
1625
|
+
declare const CountDown: React__default.ForwardRefExoticComponent<Partial<CountDownProps> & React__default.RefAttributes<unknown>>;
|
|
1559
1626
|
|
|
1560
1627
|
interface CollapseProps {
|
|
1561
1628
|
className: string;
|
|
1562
|
-
style:
|
|
1629
|
+
style: React__default.CSSProperties;
|
|
1563
1630
|
activeName: Array<number | string> | number | string;
|
|
1564
1631
|
accordion: boolean;
|
|
1565
1632
|
icon: string;
|
|
@@ -1567,7 +1634,7 @@ interface CollapseProps {
|
|
|
1567
1634
|
iconColor: string;
|
|
1568
1635
|
rotate: number;
|
|
1569
1636
|
onChange: (isOpen: boolean, name: string) => void;
|
|
1570
|
-
children?:
|
|
1637
|
+
children?: React__default.ReactNode;
|
|
1571
1638
|
}
|
|
1572
1639
|
declare const Collapse: FunctionComponent<Partial<CollapseProps>>;
|
|
1573
1640
|
|
|
@@ -1588,7 +1655,7 @@ interface CollapseItemProps$1 extends IComponent {
|
|
|
1588
1655
|
childnull: boolean;
|
|
1589
1656
|
onToggle: (isOpen: boolean, name: string) => void;
|
|
1590
1657
|
}
|
|
1591
|
-
declare const CollapseItem: FunctionComponent<Partial<CollapseItemProps$1> &
|
|
1658
|
+
declare const CollapseItem: FunctionComponent<Partial<CollapseItemProps$1> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1592
1659
|
|
|
1593
1660
|
interface CountUpProps {
|
|
1594
1661
|
maxLen: number;
|
|
@@ -1597,7 +1664,7 @@ interface CountUpProps {
|
|
|
1597
1664
|
easeSpeed: number;
|
|
1598
1665
|
thousands: boolean;
|
|
1599
1666
|
className: string;
|
|
1600
|
-
style:
|
|
1667
|
+
style: React__default.CSSProperties;
|
|
1601
1668
|
}
|
|
1602
1669
|
|
|
1603
1670
|
interface AnimatingNumbersProps {
|
|
@@ -1606,7 +1673,7 @@ declare type AnimatingNumbersStates = {};
|
|
|
1606
1673
|
declare class AnimatingNumbers extends Component<AnimatingNumbersProps, AnimatingNumbersStates> {
|
|
1607
1674
|
static defaultProps: AnimatingNumbersProps;
|
|
1608
1675
|
static displayName: string;
|
|
1609
|
-
static CountUp:
|
|
1676
|
+
static CountUp: React__default.FunctionComponent<Partial<CountUpProps>>;
|
|
1610
1677
|
constructor(props: AnimatingNumbersProps);
|
|
1611
1678
|
render(): JSX.Element;
|
|
1612
1679
|
}
|
|
@@ -1617,7 +1684,7 @@ interface EmptyProps {
|
|
|
1617
1684
|
description: ReactNode;
|
|
1618
1685
|
className: string;
|
|
1619
1686
|
}
|
|
1620
|
-
declare const Empty: FunctionComponent<Partial<EmptyProps> &
|
|
1687
|
+
declare const Empty: FunctionComponent<Partial<EmptyProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1621
1688
|
|
|
1622
1689
|
declare type Data = any;
|
|
1623
1690
|
interface IVirtualListProps {
|
|
@@ -1639,17 +1706,17 @@ interface IVirtualListProps {
|
|
|
1639
1706
|
}
|
|
1640
1707
|
|
|
1641
1708
|
declare type VirtualListProps = IVirtualListProps;
|
|
1642
|
-
declare const VirtualList: FunctionComponent<VirtualListProps &
|
|
1709
|
+
declare const VirtualList: FunctionComponent<VirtualListProps & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1643
1710
|
|
|
1644
1711
|
interface ITableProps extends IComponent {
|
|
1645
1712
|
className: string;
|
|
1646
|
-
style:
|
|
1713
|
+
style: React__default.CSSProperties;
|
|
1647
1714
|
columns: Array<TableColumnProps>;
|
|
1648
1715
|
data: Array<any>;
|
|
1649
1716
|
bordered: boolean;
|
|
1650
|
-
summary?:
|
|
1717
|
+
summary?: React__default.ReactNode;
|
|
1651
1718
|
striped?: boolean;
|
|
1652
|
-
noData?:
|
|
1719
|
+
noData?: React__default.ReactNode;
|
|
1653
1720
|
onSorter?: (item: TableColumnProps, data: Array<any>) => void;
|
|
1654
1721
|
}
|
|
1655
1722
|
interface TableColumnProps {
|
|
@@ -1657,11 +1724,11 @@ interface TableColumnProps {
|
|
|
1657
1724
|
title?: string;
|
|
1658
1725
|
align?: string;
|
|
1659
1726
|
sorter?: ((a: any, b: any) => number) | boolean | string;
|
|
1660
|
-
render?: (rowData?: any, rowIndex?: number) => string |
|
|
1727
|
+
render?: (rowData?: any, rowIndex?: number) => string | React__default.ReactNode;
|
|
1661
1728
|
}
|
|
1662
1729
|
|
|
1663
1730
|
declare type TableProps = ITableProps;
|
|
1664
|
-
declare const Table: FunctionComponent<Partial<TableProps> &
|
|
1731
|
+
declare const Table: FunctionComponent<Partial<TableProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1665
1732
|
|
|
1666
1733
|
interface VideoProps$1 {
|
|
1667
1734
|
source: {
|
|
@@ -1677,7 +1744,7 @@ interface VideoProps$1 {
|
|
|
1677
1744
|
loop?: boolean;
|
|
1678
1745
|
};
|
|
1679
1746
|
className: string;
|
|
1680
|
-
style:
|
|
1747
|
+
style: React__default.CSSProperties;
|
|
1681
1748
|
play: (e: HTMLVideoElement) => void;
|
|
1682
1749
|
pause: (e: HTMLVideoElement) => void;
|
|
1683
1750
|
playend: (e: HTMLVideoElement) => void;
|
|
@@ -1685,7 +1752,7 @@ interface VideoProps$1 {
|
|
|
1685
1752
|
onPauseFuc: (e: HTMLVideoElement) => void;
|
|
1686
1753
|
onPlayend: (e: HTMLVideoElement) => void;
|
|
1687
1754
|
}
|
|
1688
|
-
declare const Video: FunctionComponent<Partial<VideoProps$1> &
|
|
1755
|
+
declare const Video: FunctionComponent<Partial<VideoProps$1> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1689
1756
|
|
|
1690
1757
|
declare type ProgressSize = 'small' | 'base' | 'large';
|
|
1691
1758
|
declare type TextType = 'icon' | 'text';
|
|
@@ -1711,7 +1778,7 @@ interface ProgressProps extends IComponent {
|
|
|
1711
1778
|
rounded: boolean | string;
|
|
1712
1779
|
children: ReactNode;
|
|
1713
1780
|
}
|
|
1714
|
-
declare const Progress: FunctionComponent<Partial<ProgressProps> &
|
|
1781
|
+
declare const Progress: FunctionComponent<Partial<ProgressProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1715
1782
|
|
|
1716
1783
|
interface AudioProps extends IComponent {
|
|
1717
1784
|
className?: string;
|
|
@@ -1727,7 +1794,7 @@ interface AudioProps extends IComponent {
|
|
|
1727
1794
|
onPlayEnd?: (ctx: Taro.InnerAudioContext) => void;
|
|
1728
1795
|
onCanPlay?: (ctx: Taro.InnerAudioContext) => void;
|
|
1729
1796
|
}
|
|
1730
|
-
declare const Audio: FunctionComponent<Partial<AudioProps> & (
|
|
1797
|
+
declare const Audio: FunctionComponent<Partial<AudioProps> & (React__default.HTMLAttributes<HTMLDivElement> | Taro.InnerAudioContext)>;
|
|
1731
1798
|
|
|
1732
1799
|
interface ImagePreviewProps {
|
|
1733
1800
|
className?: string;
|
|
@@ -1821,11 +1888,11 @@ interface AddressProps extends IComponent {
|
|
|
1821
1888
|
onChange?: (cal: ChangeCallBack) => void;
|
|
1822
1889
|
onTabChecked?: (cal: string) => void;
|
|
1823
1890
|
}
|
|
1824
|
-
declare const Address: FunctionComponent<Partial<AddressProps> & Omit<
|
|
1891
|
+
declare const Address: FunctionComponent<Partial<AddressProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
1825
1892
|
|
|
1826
1893
|
interface BarrageProps {
|
|
1827
1894
|
className: string;
|
|
1828
|
-
style:
|
|
1895
|
+
style: React__default.CSSProperties;
|
|
1829
1896
|
barrageList: Array<string>;
|
|
1830
1897
|
frequency: number;
|
|
1831
1898
|
loop: boolean;
|
|
@@ -1833,7 +1900,7 @@ interface BarrageProps {
|
|
|
1833
1900
|
rows: number;
|
|
1834
1901
|
top: number;
|
|
1835
1902
|
}
|
|
1836
|
-
declare const Barrage:
|
|
1903
|
+
declare const Barrage: React__default.ForwardRefExoticComponent<Partial<BarrageProps> & React__default.RefAttributes<unknown>>;
|
|
1837
1904
|
|
|
1838
1905
|
interface FileType {
|
|
1839
1906
|
/** jpg 图片 */
|
|
@@ -1853,7 +1920,7 @@ interface SignatureProps {
|
|
|
1853
1920
|
onConfirm?: (dataurl: string) => void;
|
|
1854
1921
|
onClear?: () => void;
|
|
1855
1922
|
}
|
|
1856
|
-
declare const Signature: FunctionComponent<Partial<SignatureProps> &
|
|
1923
|
+
declare const Signature: FunctionComponent<Partial<SignatureProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1857
1924
|
|
|
1858
1925
|
interface CardProps {
|
|
1859
1926
|
imgUrl: string;
|
|
@@ -1864,13 +1931,13 @@ interface CardProps {
|
|
|
1864
1931
|
delivery: string;
|
|
1865
1932
|
shopName: string;
|
|
1866
1933
|
className: string;
|
|
1867
|
-
style:
|
|
1868
|
-
prolistTpl:
|
|
1869
|
-
shopTagTpl:
|
|
1870
|
-
originTpl:
|
|
1871
|
-
footerTpl:
|
|
1934
|
+
style: React__default.CSSProperties;
|
|
1935
|
+
prolistTpl: React__default.ReactNode;
|
|
1936
|
+
shopTagTpl: React__default.ReactNode;
|
|
1937
|
+
originTpl: React__default.ReactNode;
|
|
1938
|
+
footerTpl: React__default.ReactNode;
|
|
1872
1939
|
}
|
|
1873
|
-
declare const Card: FunctionComponent<Partial<CardProps> &
|
|
1940
|
+
declare const Card: FunctionComponent<Partial<CardProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1874
1941
|
|
|
1875
1942
|
interface TimePannelProps {
|
|
1876
1943
|
date: string;
|
|
@@ -1878,7 +1945,7 @@ interface TimePannelProps {
|
|
|
1878
1945
|
className?: string;
|
|
1879
1946
|
change: (curKey: string | number) => void;
|
|
1880
1947
|
}
|
|
1881
|
-
declare const TimePannel: FunctionComponent<Partial<TimePannelProps> &
|
|
1948
|
+
declare const TimePannel: FunctionComponent<Partial<TimePannelProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1882
1949
|
|
|
1883
1950
|
interface TimeType {
|
|
1884
1951
|
key?: string | number;
|
|
@@ -1891,7 +1958,7 @@ interface TimeDetailProps {
|
|
|
1891
1958
|
times: TimeType[];
|
|
1892
1959
|
select: (time: string) => void;
|
|
1893
1960
|
}
|
|
1894
|
-
declare const TimeDetail: FunctionComponent<Partial<TimeDetailProps> &
|
|
1961
|
+
declare const TimeDetail: FunctionComponent<Partial<TimeDetailProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1895
1962
|
|
|
1896
1963
|
interface DateType {
|
|
1897
1964
|
'pannel-key'?: string | number;
|
|
@@ -1899,7 +1966,7 @@ interface DateType {
|
|
|
1899
1966
|
}
|
|
1900
1967
|
interface TimeSelectProps {
|
|
1901
1968
|
className?: string;
|
|
1902
|
-
style:
|
|
1969
|
+
style: React__default.CSSProperties;
|
|
1903
1970
|
visible?: boolean;
|
|
1904
1971
|
height?: string;
|
|
1905
1972
|
multiple?: boolean;
|
|
@@ -1948,7 +2015,7 @@ interface VideoProps {
|
|
|
1948
2015
|
loop?: boolean;
|
|
1949
2016
|
};
|
|
1950
2017
|
className: string;
|
|
1951
|
-
style:
|
|
2018
|
+
style: React__default.CSSProperties;
|
|
1952
2019
|
play: (e: HTMLVideoElement) => void;
|
|
1953
2020
|
pause: (e: HTMLVideoElement) => void;
|
|
1954
2021
|
playend: (e: HTMLVideoElement) => void;
|
|
@@ -1957,4 +2024,4 @@ interface VideoProps {
|
|
|
1957
2024
|
onPlayend: (e: HTMLVideoElement) => void;
|
|
1958
2025
|
}
|
|
1959
2026
|
|
|
1960
|
-
export { ActionSheet, ActionSheetProps, Address, AddressProps, 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, Empty, EmptyProps, FixedNav, FixedNavProps, Grid, GridItem, GridItemProps, GridProps, Icon, IconProps, ImagePreview, ImagePreviewProps, Indicator, IndicatorProps, Infiniteloading, InfiniteloadingProps, Input, InputNumber, InputNumberProps, InputProps, Layout, LayoutProps, Menu, MenuItem, MenuItemProps, MenuProps, NavBar, NavBarProps$1 as NavBarProps, NoticeBar, NoticeBarProps, 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, Toast, ToastProps, Uploader, UploaderProps, Video, VideoProps, VirtualList, VirtualListProps };
|
|
2027
|
+
export { ActionSheet, ActionSheetProps, Address, AddressProps, 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, Empty, EmptyProps, FixedNav, FixedNavProps, Form, FormItem, FormItemProps, FormProps, Grid, GridItem, GridItemProps, GridProps, Icon, IconProps, ImagePreview, ImagePreviewProps, Indicator, IndicatorProps, Infiniteloading, InfiniteloadingProps, Input, InputNumber, InputNumberProps, InputProps, Layout, LayoutProps, Menu, MenuItem, MenuItemProps, MenuProps, NavBar, NavBarProps$1 as NavBarProps, NoticeBar, NoticeBarProps, 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, Toast, ToastProps, Uploader, UploaderProps, Video, VideoProps, VirtualList, VirtualListProps };
|