@ray-js/smart-ui 1.0.0-beta.2 → 1.0.1-beta-1
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/README.md +54 -1
- package/dist/@types/action-sheet/index.d.ts +115 -0
- package/dist/@types/area/index.d.ts +120 -0
- package/dist/@types/area/index.js +2 -0
- package/dist/@types/base/component.d.ts +11 -0
- package/dist/@types/base/component.js +2 -0
- package/dist/@types/base/events.d.ts +27 -0
- package/dist/@types/base/events.js +2 -0
- package/dist/@types/base/external-class-name.d.ts +12 -0
- package/dist/@types/base/external-class-name.js +2 -0
- package/dist/@types/base/index.d.ts +4 -0
- package/dist/{card → @types/base}/index.js +4 -8
- package/dist/@types/base/open-type.d.ts +175 -0
- package/dist/@types/base/open-type.js +2 -0
- package/dist/@types/battery/index.d.ts +58 -0
- package/dist/@types/battery/index.js +2 -0
- package/dist/@types/button/index.d.ts +109 -0
- package/dist/@types/button/index.js +2 -0
- package/dist/@types/calendar/index.d.ts +264 -0
- package/dist/@types/calendar/index.js +2 -0
- package/dist/@types/card/index.d.ts +92 -0
- package/dist/@types/card/index.js +2 -0
- package/dist/@types/cascader/index.d.ts +139 -0
- package/dist/@types/cascader/index.js +2 -0
- package/dist/@types/cell/index.d.ts +128 -0
- package/dist/@types/cell/index.js +2 -0
- package/dist/@types/cell-group/index.d.ts +21 -0
- package/dist/@types/cell-group/index.js +2 -0
- package/dist/@types/checkbox/index.d.ts +85 -0
- package/dist/@types/checkbox/index.js +2 -0
- package/dist/@types/checkbox-group/index.d.ts +38 -0
- package/dist/@types/checkbox-group/index.js +2 -0
- package/dist/@types/circle/index.d.ts +58 -0
- package/dist/@types/circle/index.js +2 -0
- package/dist/@types/col/index.d.ts +13 -0
- package/dist/@types/col/index.js +2 -0
- package/dist/@types/collapse/index.d.ts +60 -0
- package/dist/@types/collapse/index.js +2 -0
- package/dist/@types/collapse-item/index.d.ts +62 -0
- package/dist/@types/collapse-item/index.js +2 -0
- package/dist/@types/config-provider/index.d.ts +9 -0
- package/dist/@types/config-provider/index.js +2 -0
- package/dist/@types/config-provider/theme-vars.d.ts +63 -0
- package/dist/@types/config-provider/theme-vars.js +2 -0
- package/dist/@types/count-down/index.d.ts +81 -0
- package/dist/@types/count-down/index.js +2 -0
- package/dist/@types/custom-keyboard/index.d.ts +97 -0
- package/dist/@types/custom-keyboard/index.js +2 -0
- package/dist/@types/datetime-picker/index.d.ts +150 -0
- package/dist/@types/datetime-picker/index.js +2 -0
- package/dist/@types/dialog/dialog.d.ts +137 -0
- package/dist/@types/dialog/dialog.js +2 -0
- package/dist/@types/dialog/index.d.ts +168 -0
- package/dist/@types/dialog/index.js +2 -0
- package/dist/@types/divider/index.d.ts +24 -0
- package/dist/@types/divider/index.js +2 -0
- package/dist/@types/dropdown-item/index.d.ts +92 -0
- package/dist/@types/dropdown-item/index.js +2 -0
- package/dist/@types/dropdown-menu/index.d.ts +44 -0
- package/dist/@types/dropdown-menu/index.js +2 -0
- package/dist/@types/empty/index.d.ts +14 -0
- package/dist/@types/empty/index.js +2 -0
- package/dist/@types/field/index.d.ts +332 -0
- package/dist/@types/field/index.js +2 -0
- package/dist/@types/goods-action/index.d.ts +10 -0
- package/dist/@types/goods-action/index.js +2 -0
- package/dist/@types/goods-action-button/index.d.ts +67 -0
- package/dist/@types/goods-action-button/index.js +2 -0
- package/dist/@types/goods-action-icon/index.d.ts +60 -0
- package/dist/@types/goods-action-icon/index.js +2 -0
- package/dist/@types/grid/index.d.ts +63 -0
- package/dist/@types/grid/index.js +2 -0
- package/dist/@types/grid-item/index.d.ts +70 -0
- package/dist/@types/grid-item/index.js +2 -0
- package/dist/@types/icon/index.d.ts +47 -0
- package/dist/@types/icon/index.js +2 -0
- package/dist/@types/image/index.d.ts +117 -0
- package/dist/@types/image/index.js +2 -0
- package/dist/@types/index-anchor/index.d.ts +14 -0
- package/dist/@types/index-anchor/index.js +2 -0
- package/dist/@types/index-bar/index.d.ts +50 -0
- package/dist/@types/index-bar/index.js +2 -0
- package/dist/@types/index.d.ts +71 -0
- package/dist/@types/index.js +87 -0
- package/dist/@types/loading/index.d.ts +39 -0
- package/dist/@types/loading/index.js +2 -0
- package/dist/@types/nav-bar/index.d.ts +96 -0
- package/dist/@types/nav-bar/index.js +2 -0
- package/dist/@types/notice-bar/index.d.ts +71 -0
- package/dist/@types/notice-bar/index.js +2 -0
- package/dist/@types/notify/index.d.ts +1 -0
- package/dist/@types/notify/index.js +2 -0
- package/dist/@types/notify/notify.d.ts +84 -0
- package/dist/@types/notify/notify.js +2 -0
- package/dist/@types/overlay/index.d.ts +49 -0
- package/dist/@types/overlay/index.js +2 -0
- package/dist/@types/panel/index.d.ts +26 -0
- package/dist/@types/panel/index.js +2 -0
- package/dist/@types/picker/index.d.ts +154 -0
- package/dist/@types/picker/index.js +2 -0
- package/dist/@types/popup/index.d.ts +107 -0
- package/dist/@types/popup/index.js +2 -0
- package/dist/@types/progress/index.d.ts +59 -0
- package/dist/@types/progress/index.js +2 -0
- package/dist/@types/radio/index.d.ts +69 -0
- package/dist/@types/radio/index.js +2 -0
- package/dist/@types/radio-group/index.d.ts +37 -0
- package/dist/@types/radio-group/index.js +2 -0
- package/dist/@types/rate/index.d.ts +103 -0
- package/dist/@types/rate/index.js +2 -0
- package/dist/@types/row/index.d.ts +9 -0
- package/dist/@types/row/index.js +2 -0
- package/dist/@types/search/index.d.ts +166 -0
- package/dist/@types/search/index.js +2 -0
- package/dist/@types/share-sheet/index.d.ts +95 -0
- package/dist/@types/share-sheet/index.js +2 -0
- package/dist/@types/sidebar/index.d.ts +27 -0
- package/dist/@types/sidebar/index.js +2 -0
- package/dist/@types/sidebar-item/index.d.ts +52 -0
- package/dist/@types/sidebar-item/index.js +2 -0
- package/dist/@types/skeleton/index.d.ts +56 -0
- package/dist/@types/skeleton/index.js +2 -0
- package/dist/@types/slider/index.d.ts +103 -0
- package/dist/@types/slider/index.js +2 -0
- package/dist/@types/stepper/index.d.ts +169 -0
- package/dist/@types/stepper/index.js +2 -0
- package/dist/@types/steps/index.d.ts +83 -0
- package/dist/@types/steps/index.js +2 -0
- package/dist/@types/sticky/index.d.ts +36 -0
- package/dist/@types/sticky/index.js +2 -0
- package/dist/@types/submit-bar/index.d.ts +86 -0
- package/dist/@types/submit-bar/index.js +2 -0
- package/dist/@types/swipe-cell/index.d.ts +75 -0
- package/dist/@types/swipe-cell/index.js +2 -0
- package/dist/@types/switch/index.d.ts +75 -0
- package/dist/@types/switch/index.js +2 -0
- package/dist/@types/tab/index.d.ts +41 -0
- package/dist/@types/tab/index.js +2 -0
- package/dist/@types/tabbar/index.d.ts +68 -0
- package/dist/@types/tabbar/index.js +2 -0
- package/dist/@types/tabbar-item/index.d.ts +28 -0
- package/dist/@types/tabbar-item/index.js +2 -0
- package/dist/@types/tabs/index.d.ts +174 -0
- package/dist/@types/tabs/index.js +2 -0
- package/dist/@types/tag/index.d.ts +50 -0
- package/dist/@types/tag/index.js +2 -0
- package/dist/@types/toast/index.d.ts +2 -0
- package/dist/@types/toast/index.js +2 -0
- package/dist/@types/toast/toast.d.ts +112 -0
- package/dist/@types/toast/toast.js +3 -0
- package/dist/@types/transition/index.d.ts +105 -0
- package/dist/@types/transition/index.js +2 -0
- package/dist/@types/tree-select/index.d.ts +126 -0
- package/dist/@types/tree-select/index.js +2 -0
- package/dist/@types/uploader/index.d.ts +157 -0
- package/dist/@types/uploader/index.js +2 -0
- package/dist/action-sheet/PropTypes.d.ts +1 -1
- package/dist/area/PropTypes.d.ts +1 -1
- package/dist/base/index.d.ts +1 -1
- package/dist/battery/PropTypes.d.ts +1 -1
- package/dist/button/PropTypes.d.ts +1 -1
- package/dist/calendar/PropTypes.d.ts +1 -1
- package/dist/cascader/PropTypes.d.ts +1 -1
- package/dist/cell/PropTypes.d.ts +1 -1
- package/dist/cell-group/PropTypes.d.ts +1 -1
- package/dist/checkbox/PropTypes.d.ts +1 -1
- package/dist/checkbox-group/PropTypes.d.ts +1 -1
- package/dist/circle/PropTypes.d.ts +1 -1
- package/dist/col/PropTypes.d.ts +1 -1
- package/dist/collapse/PropTypes.d.ts +1 -1
- package/dist/collapse-item/PropTypes.d.ts +1 -1
- package/dist/config-provider/PropTypes.d.ts +1 -1
- package/dist/count-down/PropTypes.d.ts +1 -1
- package/dist/custom-keyboard/PropTypes.d.ts +1 -1
- package/dist/datetime-picker/PropTypes.d.ts +1 -1
- package/dist/dialog/PropTypes.d.ts +1 -1
- package/dist/divider/PropTypes.d.ts +1 -1
- package/dist/dropdown-item/PropTypes.d.ts +1 -1
- package/dist/dropdown-menu/PropTypes.d.ts +1 -1
- package/dist/empty/PropTypes.d.ts +1 -1
- package/dist/field/PropTypes.d.ts +1 -1
- package/dist/grid/PropTypes.d.ts +1 -1
- package/dist/grid-item/PropTypes.d.ts +1 -1
- package/dist/icon/PropTypes.d.ts +1 -1
- package/dist/image/PropTypes.d.ts +1 -1
- package/dist/index-anchor/PropTypes.d.ts +1 -1
- package/dist/index-bar/PropTypes.d.ts +1 -1
- package/dist/loading/PropTypes.d.ts +1 -1
- package/dist/nav-bar/PropTypes.d.ts +1 -1
- package/dist/notice-bar/PropTypes.d.ts +1 -1
- package/dist/notify/PropTypes.d.ts +1 -1
- package/dist/overlay/PropTypes.d.ts +1 -1
- package/dist/picker/PropTypes.d.ts +1 -1
- package/dist/popup/PropTypes.d.ts +1 -1
- package/dist/radio/PropTypes.d.ts +1 -1
- package/dist/radio-group/PropTypes.d.ts +1 -1
- package/dist/rate/PropTypes.d.ts +1 -1
- package/dist/row/PropTypes.d.ts +1 -1
- package/dist/search/PropTypes.d.ts +1 -1
- package/dist/share-sheet/PropTypes.d.ts +1 -1
- package/dist/sidebar/PropTypes.d.ts +1 -1
- package/dist/sidebar-item/PropTypes.d.ts +1 -1
- package/dist/skeleton/PropTypes.d.ts +1 -1
- package/dist/slider/PropTypes.d.ts +1 -1
- package/dist/slider/index.d.ts +4 -4
- package/dist/stepper/PropTypes.d.ts +1 -1
- package/dist/steps/PropTypes.d.ts +1 -1
- package/dist/sticky/PropTypes.d.ts +1 -1
- package/dist/swipe-cell/PropTypes.d.ts +1 -1
- package/dist/switch/PropTypes.d.ts +1 -1
- package/dist/tab/PropTypes.d.ts +1 -1
- package/dist/tabbar/PropTypes.d.ts +1 -1
- package/dist/tabbar-item/PropTypes.d.ts +1 -1
- package/dist/tabs/PropTypes.d.ts +1 -1
- package/dist/tag/PropTypes.d.ts +1 -1
- package/dist/toast/PropTypes.d.ts +1 -1
- package/dist/toast/index.d.ts +2 -1
- package/dist/transition/PropTypes.d.ts +1 -1
- package/dist/tree-select/PropTypes.d.ts +1 -1
- package/package.json +45 -8
- package/dist/card/Card.d.ts +0 -2
- package/dist/card/Card.js +0 -8
- package/dist/card/PropTypes.d.ts +0 -2
- package/dist/card/index.d.ts +0 -5
- /package/dist/{card/PropTypes.js → @types/action-sheet/index.js} +0 -0
- /package/dist/notify/{Notify.d.ts → notify.d.ts} +0 -0
- /package/dist/notify/{Notify.js → notify.js} +0 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { VantComponent, VantEventHandler } from '../base';
|
|
2
|
+
type VantUploaderPreviewSize = string | number;
|
|
3
|
+
export interface VantUploaderProps {
|
|
4
|
+
/**
|
|
5
|
+
* 标识符,可以在回调函数的第二项参数中获取
|
|
6
|
+
*/
|
|
7
|
+
name?: string | number;
|
|
8
|
+
/**
|
|
9
|
+
* 接受的文件类型
|
|
10
|
+
*
|
|
11
|
+
* @default 'image'
|
|
12
|
+
*/
|
|
13
|
+
accept?: 'all' | 'media' | 'image' | 'file' | 'video';
|
|
14
|
+
/**
|
|
15
|
+
* 所选的图片的尺寸, 当`accept`为`image`类型时设置所选图片的尺寸
|
|
16
|
+
*
|
|
17
|
+
* @default ['original','compressed']
|
|
18
|
+
*/
|
|
19
|
+
sizeType?: ('original' | 'compressed')[];
|
|
20
|
+
/**
|
|
21
|
+
* 预览图和上传区域的尺寸,默认单位为`px`
|
|
22
|
+
*
|
|
23
|
+
* @default '80px'
|
|
24
|
+
*
|
|
25
|
+
* 数组模式
|
|
26
|
+
*
|
|
27
|
+
* @since `v1.10.3`
|
|
28
|
+
*/
|
|
29
|
+
'preview-size'?: VantUploaderPreviewSize | [VantUploaderPreviewSize, VantUploaderPreviewSize];
|
|
30
|
+
/**
|
|
31
|
+
* 是否在上传完成后展示预览图
|
|
32
|
+
*
|
|
33
|
+
* @default true
|
|
34
|
+
*/
|
|
35
|
+
'preview-image'?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* 是否在点击预览图后展示全屏图片预览
|
|
38
|
+
*
|
|
39
|
+
* @default true
|
|
40
|
+
*/
|
|
41
|
+
'preview-full-image'?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* 是否开启图片多选,部分安卓机型不支持
|
|
44
|
+
*
|
|
45
|
+
* @default false
|
|
46
|
+
*/
|
|
47
|
+
multiple?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* 是否禁用文件上传
|
|
50
|
+
*
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
53
|
+
disabled?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* 是否展示文件上传按钮
|
|
56
|
+
*
|
|
57
|
+
* @default true
|
|
58
|
+
*/
|
|
59
|
+
'show-upload'?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* 是否展示删除按钮
|
|
62
|
+
*
|
|
63
|
+
* @default true
|
|
64
|
+
*/
|
|
65
|
+
deletable?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* 图片或者视频选取模式,当`accept`为`image`类型时设置`capture`可选值为`camera`可以直接调起摄像头
|
|
68
|
+
*
|
|
69
|
+
* @default ['album','camera']
|
|
70
|
+
*/
|
|
71
|
+
capture?: ('album' | 'camera') | ('album' | 'camera')[];
|
|
72
|
+
/**
|
|
73
|
+
* 文件大小限制,单位为`byte`
|
|
74
|
+
*/
|
|
75
|
+
'max-size'?: number;
|
|
76
|
+
/**
|
|
77
|
+
* 文件上传数量限制
|
|
78
|
+
*/
|
|
79
|
+
'max-count'?: number;
|
|
80
|
+
/**
|
|
81
|
+
* 上传区域文字提示
|
|
82
|
+
*/
|
|
83
|
+
'upload-text'?: string;
|
|
84
|
+
/**
|
|
85
|
+
* 预览图裁剪模式,可选值参考小程序`image`组件的`mode`属性
|
|
86
|
+
*
|
|
87
|
+
* @default 'scaleToFill'
|
|
88
|
+
*/
|
|
89
|
+
'image-fit'?: string;
|
|
90
|
+
/**
|
|
91
|
+
* 是否开启文件读取前事件
|
|
92
|
+
*/
|
|
93
|
+
'use-before-read'?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* 当`accept`为`video`时生效
|
|
96
|
+
*/
|
|
97
|
+
camera?: 'back' | 'front';
|
|
98
|
+
/**
|
|
99
|
+
* 当`accept`为`video`时生效,是否压缩视频
|
|
100
|
+
*
|
|
101
|
+
* @default true
|
|
102
|
+
*/
|
|
103
|
+
compressed?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* 当`accept`为 `video` 时生效,拍摄视频最长拍摄时间,单位秒
|
|
106
|
+
*/
|
|
107
|
+
'max-duration'?: number;
|
|
108
|
+
/**
|
|
109
|
+
* 上传区域图标,可选值见 `Icon` 组件
|
|
110
|
+
*
|
|
111
|
+
* @default 'plus'
|
|
112
|
+
*/
|
|
113
|
+
'upload-icon'?: string;
|
|
114
|
+
}
|
|
115
|
+
export interface VantUploaderFile {
|
|
116
|
+
size: number;
|
|
117
|
+
type: string;
|
|
118
|
+
url: string;
|
|
119
|
+
thumb: string;
|
|
120
|
+
duration?: number;
|
|
121
|
+
height?: number;
|
|
122
|
+
width?: number;
|
|
123
|
+
}
|
|
124
|
+
export interface VantUploaderIndexDetail {
|
|
125
|
+
index: number;
|
|
126
|
+
}
|
|
127
|
+
export interface VantUploaderBaseReadEventDetail extends VantUploaderIndexDetail {
|
|
128
|
+
file: VantUploaderFile;
|
|
129
|
+
name: string;
|
|
130
|
+
}
|
|
131
|
+
export interface VantUploaderBeforeReadEventDetail extends VantUploaderBaseReadEventDetail {
|
|
132
|
+
callback: (ok: boolean) => void;
|
|
133
|
+
}
|
|
134
|
+
export interface VantUploaderEvents {
|
|
135
|
+
/**
|
|
136
|
+
* 文件读取前,在回调函数中返回 `false` 可终止文件读取,绑定事件的同时需要将`use-before-read`属性设置为`true`
|
|
137
|
+
*/
|
|
138
|
+
'bind:before-read'?: VantEventHandler<VantUploaderBeforeReadEventDetail>;
|
|
139
|
+
/**
|
|
140
|
+
* 文件读取完成后触发
|
|
141
|
+
*/
|
|
142
|
+
'bind:after-read'?: VantEventHandler<VantUploaderBaseReadEventDetail>;
|
|
143
|
+
/**
|
|
144
|
+
* 文件超出大小限制
|
|
145
|
+
*/
|
|
146
|
+
'bind:oversize'?: VantEventHandler<VantUploaderBaseReadEventDetail>;
|
|
147
|
+
/**
|
|
148
|
+
* 点击预览图片
|
|
149
|
+
*/
|
|
150
|
+
'bind:click-preview'?: VantEventHandler<VantUploaderIndexDetail>;
|
|
151
|
+
/**
|
|
152
|
+
* 删除图片
|
|
153
|
+
*/
|
|
154
|
+
'bind:delete'?: VantEventHandler<VantUploaderIndexDetail>;
|
|
155
|
+
}
|
|
156
|
+
export type VantUploader = VantComponent<VantUploaderProps, VantUploaderEvents>;
|
|
157
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantActionSheet, VantActionSheetProps, VantActionSheetEvents, VantAction } from '
|
|
1
|
+
import { VantActionSheet, VantActionSheetProps, VantActionSheetEvents, VantAction } from '../@types';
|
|
2
2
|
export { VantActionSheet, VantActionSheetProps, VantActionSheetEvents, VantAction };
|
package/dist/area/PropTypes.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantArea, VantAreaProps, VantAreaList, VantAreaEvents, VantAreaBaseEventDetail, VantAreaChangeEventDetail, VantAreaColumn } from '
|
|
1
|
+
import { VantArea, VantAreaProps, VantAreaList, VantAreaEvents, VantAreaBaseEventDetail, VantAreaChangeEventDetail, VantAreaColumn } from '../@types';
|
|
2
2
|
export { VantArea, VantAreaProps, VantAreaList, VantAreaEvents, VantAreaBaseEventDetail, VantAreaChangeEventDetail, VantAreaColumn, };
|
package/dist/base/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ComponentBase, VantComponent, VantEvent, VantTouchEvent, VantEventHandler, VantTouchEventHandler, TouchPositionDetail, VantBaseExternalClassName, VantBaseLoadingExternalClassName, WechatOpenType, VantOpenTypeProps, VantOpenTypeCamelCaseProps, VantOpenTypeEvents } from '
|
|
1
|
+
import { ComponentBase, VantComponent, VantEvent, VantTouchEvent, VantEventHandler, VantTouchEventHandler, TouchPositionDetail, VantBaseExternalClassName, VantBaseLoadingExternalClassName, WechatOpenType, VantOpenTypeProps, VantOpenTypeCamelCaseProps, VantOpenTypeEvents } from '../@types';
|
|
2
2
|
export { ComponentBase, VantComponent, VantEvent, VantTouchEvent, VantEventHandler, VantTouchEventHandler, TouchPositionDetail, VantBaseExternalClassName, VantBaseLoadingExternalClassName, WechatOpenType, VantOpenTypeProps, VantOpenTypeCamelCaseProps, VantOpenTypeEvents, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantBattery, VantBatteryProps } from '
|
|
1
|
+
import { VantBattery, VantBatteryProps } from '../@types';
|
|
2
2
|
export { VantBattery, VantBatteryProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantButton, VantButtonEvents, VantButtonExternalClassName, VantButtonProps } from '
|
|
1
|
+
import { VantButton, VantButtonEvents, VantButtonExternalClassName, VantButtonProps } from '../@types';
|
|
2
2
|
export { VantButton, VantButtonEvents, VantButtonExternalClassName, VantButtonProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantCalendar, VantCalendarProps, VantCalendarEvents, VantCalendarRangeProps, VantCalendarPoppableProps, Day } from '
|
|
1
|
+
import { VantCalendar, VantCalendarProps, VantCalendarEvents, VantCalendarRangeProps, VantCalendarPoppableProps, Day } from '../@types';
|
|
2
2
|
export { VantCalendar, VantCalendarEvents, VantCalendarPoppableProps, VantCalendarProps, VantCalendarRangeProps, Day, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantCascader, VantCascaderProps } from '
|
|
1
|
+
import { VantCascader, VantCascaderProps } from '../@types';
|
|
2
2
|
export { VantCascader, VantCascaderProps };
|
package/dist/cell/PropTypes.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantCell, VantCellEvents, VantCellExternalClassName, VantCellProps } from '
|
|
1
|
+
import { VantCell, VantCellEvents, VantCellExternalClassName, VantCellProps } from '../@types';
|
|
2
2
|
export { VantCellExternalClassName, VantCell, VantCellEvents, VantCellProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantCellGroup, VantCellGroupExternalClassName, VantCellGroupProps } from '
|
|
1
|
+
import { VantCellGroup, VantCellGroupExternalClassName, VantCellGroupProps } from '../@types';
|
|
2
2
|
export { VantCellGroup, VantCellGroupExternalClassName, VantCellGroupProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantCheckbox, VantCheckboxEvents, VantCheckboxExternalClassName, VantCheckboxProps, VantCheckboxChangeEvent } from '
|
|
1
|
+
import { VantCheckbox, VantCheckboxEvents, VantCheckboxExternalClassName, VantCheckboxProps, VantCheckboxChangeEvent } from '../@types';
|
|
2
2
|
export { VantCheckbox, VantCheckboxEvents, VantCheckboxProps, VantCheckboxExternalClassName, VantCheckboxChangeEvent, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantCheckboxGroup, VantCheckboxGroupEvents, VantCheckboxGroupProps } from '
|
|
1
|
+
import { VantCheckboxGroup, VantCheckboxGroupEvents, VantCheckboxGroupProps } from '../@types';
|
|
2
2
|
export { VantCheckboxGroup, VantCheckboxGroupEvents, VantCheckboxGroupProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantCircle, VantCircleProps } from '
|
|
1
|
+
import { VantCircle, VantCircleProps } from '../@types';
|
|
2
2
|
export { VantCircle, VantCircleProps };
|
package/dist/col/PropTypes.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantCol, VantColProps, VantColExternalClassName } from '
|
|
1
|
+
import { VantCol, VantColProps, VantColExternalClassName } from '../@types';
|
|
2
2
|
export { VantCol, VantColProps, VantColExternalClassName };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantCollapse, VantCollapseEvents, VantCollapseExternalClassName, VantCollapseProps, VantCollapseBaseEvent, VantCollapseChangeEvent } from '
|
|
1
|
+
import { VantCollapse, VantCollapseEvents, VantCollapseExternalClassName, VantCollapseProps, VantCollapseBaseEvent, VantCollapseChangeEvent } from '../@types';
|
|
2
2
|
export { VantCollapse, VantCollapseEvents, VantCollapseExternalClassName, VantCollapseProps, VantCollapseBaseEvent, VantCollapseChangeEvent, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantCollapseItem, VantCollapseItemExternalClassName, VantCollapseItemProps } from '
|
|
1
|
+
import { VantCollapseItem, VantCollapseItemExternalClassName, VantCollapseItemProps } from '../@types';
|
|
2
2
|
export { VantCollapseItem, VantCollapseItemExternalClassName, VantCollapseItemProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantConfigProvider, VantConfigProviderProps } from '
|
|
1
|
+
import { VantConfigProvider, VantConfigProviderProps } from '../@types';
|
|
2
2
|
export { VantConfigProvider, VantConfigProviderProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantCountDown, VantCountDownEvents, VantCountDownProps, VantCountDownTimeData } from '
|
|
1
|
+
import { VantCountDown, VantCountDownEvents, VantCountDownProps, VantCountDownTimeData } from '../@types';
|
|
2
2
|
export { VantCountDown, VantCountDownEvents, VantCountDownProps, VantCountDownTimeData };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantCustomKeyboard, VantCustomKeyboardProps, VantCustomKeyboardEvents } from '
|
|
1
|
+
import { VantCustomKeyboard, VantCustomKeyboardProps, VantCustomKeyboardEvents } from '../@types';
|
|
2
2
|
export { VantCustomKeyboard, VantCustomKeyboardProps, VantCustomKeyboardEvents };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantDateTimePicker, VantDateTimePickerEvents, VantDateTimePickerExternalClassName, VantDateTimePickerProps, VantDateTimePickerBaseEvent } from '
|
|
1
|
+
import { VantDateTimePicker, VantDateTimePickerEvents, VantDateTimePickerExternalClassName, VantDateTimePickerProps, VantDateTimePickerBaseEvent } from '../@types';
|
|
2
2
|
export { VantDateTimePicker, VantDateTimePickerEvents, VantDateTimePickerProps, VantDateTimePickerExternalClassName, VantDateTimePickerBaseEvent, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantDialog, VantDialogProps, VantDialogInstance, VantDialogOptions } from '
|
|
1
|
+
import { VantDialog, VantDialogProps, VantDialogInstance, VantDialogOptions } from '../@types';
|
|
2
2
|
export { VantDialog, VantDialogProps, VantDialogInstance, VantDialogOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantDivider, VantDividerProps } from '
|
|
1
|
+
import { VantDivider, VantDividerProps } from '../@types';
|
|
2
2
|
export { VantDivider, VantDividerProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantDropdownItem, VantDropdownItemEvents, VantDropdownItemOption, VantDropdownItemProps, VantDropdownItemChangeEvent } from '
|
|
1
|
+
import { VantDropdownItem, VantDropdownItemEvents, VantDropdownItemOption, VantDropdownItemProps, VantDropdownItemChangeEvent } from '../@types';
|
|
2
2
|
export { VantDropdownItem, VantDropdownItemEvents, VantDropdownItemOption, VantDropdownItemProps, VantDropdownItemChangeEvent, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantDropdownMenu, VantDropdownMenuProps } from '
|
|
1
|
+
import { VantDropdownMenu, VantDropdownMenuProps } from '../@types';
|
|
2
2
|
export { VantDropdownMenu, VantDropdownMenuProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantEmpty, VantEmptyProps } from '
|
|
1
|
+
import { VantEmpty, VantEmptyProps } from '../@types';
|
|
2
2
|
export { VantEmpty, VantEmptyProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantField, VantFieldEvents, VantFieldExternalClassName, VantFieldProps, VantFieldInputEvent, VantFieldBlurEventDetail, VantFieldFocusEventDetail, VantFieldKeyboardHeightChangeEventDetail, VantFieldLineChangeEventDetail } from '
|
|
1
|
+
import { VantField, VantFieldEvents, VantFieldExternalClassName, VantFieldProps, VantFieldInputEvent, VantFieldBlurEventDetail, VantFieldFocusEventDetail, VantFieldKeyboardHeightChangeEventDetail, VantFieldLineChangeEventDetail } from '../@types';
|
|
2
2
|
export { VantField, VantFieldEvents, VantFieldExternalClassName, VantFieldProps, VantFieldInputEvent, VantFieldBlurEventDetail, VantFieldFocusEventDetail, VantFieldKeyboardHeightChangeEventDetail, VantFieldLineChangeEventDetail, };
|
package/dist/grid/PropTypes.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantGrid, VantGridProps, VantGridExternalClassName } from '
|
|
1
|
+
import { VantGrid, VantGridProps, VantGridExternalClassName } from '../@types';
|
|
2
2
|
export { VantGrid, VantGridExternalClassName, VantGridProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantGridItem, VantGridItemEvents, VantGridItemExternalClassName, VantGridItemProps } from '
|
|
1
|
+
import { VantGridItem, VantGridItemEvents, VantGridItemExternalClassName, VantGridItemProps } from '../@types';
|
|
2
2
|
export { VantGridItem, VantGridItemEvents, VantGridItemExternalClassName, VantGridItemProps };
|
package/dist/icon/PropTypes.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantIcon, VantIconEvents, VantIconExternalClassName, VantIconProps } from '
|
|
1
|
+
import { VantIcon, VantIconEvents, VantIconExternalClassName, VantIconProps } from '../@types';
|
|
2
2
|
export { VantIcon, VantIconEvents, VantIconExternalClassName, VantIconProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantImage, VantImageEvents, VantImageExternalClassName, VantImageProps, VantImageErrorEventDetail, VantImageLoadEventDetail } from '
|
|
1
|
+
import { VantImage, VantImageEvents, VantImageExternalClassName, VantImageProps, VantImageErrorEventDetail, VantImageLoadEventDetail } from '../@types';
|
|
2
2
|
export { VantImage, VantImageEvents, VantImageExternalClassName, VantImageProps, VantImageErrorEventDetail, VantImageLoadEventDetail, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantIndexAnchor, VantIndexAnchorProps } from '
|
|
1
|
+
import { VantIndexAnchor, VantIndexAnchorProps } from '../@types';
|
|
2
2
|
export { VantIndexAnchor, VantIndexAnchorProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantIndexBar, VantIndexBarEvents, VantIndexBarProps, VantIndexBarSelectEvent } from '
|
|
1
|
+
import { VantIndexBar, VantIndexBarEvents, VantIndexBarProps, VantIndexBarSelectEvent } from '../@types';
|
|
2
2
|
export { VantIndexBar, VantIndexBarEvents, VantIndexBarProps, VantIndexBarSelectEvent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantLoading, VantLoadingExternalClassName, VantLoadingProps } from '
|
|
1
|
+
import { VantLoading, VantLoadingExternalClassName, VantLoadingProps } from '../@types';
|
|
2
2
|
export { VantLoading, VantLoadingExternalClassName, VantLoadingProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantNavBar, VantNavBarEvents, VantNavBarExternalClassName, VantNavBarProps } from '
|
|
1
|
+
import { VantNavBar, VantNavBarEvents, VantNavBarExternalClassName, VantNavBarProps } from '../@types';
|
|
2
2
|
export { VantNavBar, VantNavBarEvents, VantNavBarExternalClassName, VantNavBarProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantNoticeBar, VantNoticeBarEvents, VantNoticeBarProps, VantNavBarProps } from '
|
|
1
|
+
import { VantNoticeBar, VantNoticeBarEvents, VantNoticeBarProps, VantNavBarProps } from '../@types';
|
|
2
2
|
export { VantNavBarProps, VantNoticeBar, VantNoticeBarEvents, VantNoticeBarProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantNotifyProps, VantNotify, VantNotifyOptions } from '
|
|
1
|
+
import { VantNotifyProps, VantNotify, VantNotifyOptions } from '../@types';
|
|
2
2
|
export { VantNotifyProps, VantNotify, VantNotifyOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantOverlay, VantOverlayEvents, VantOverlayProps } from '
|
|
1
|
+
import { VantOverlay, VantOverlayEvents, VantOverlayProps } from '../@types';
|
|
2
2
|
export { VantOverlay, VantOverlayEvents, VantOverlayProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantPicker, VantPickerEvents, VantPickerExternalClassName, VantPickerMultipleColumn, VantPickerProps, VantPickerSingleColumn, VantPickerBaseEventDetail, VantPickerChangeEventDetail } from '
|
|
1
|
+
import { VantPicker, VantPickerEvents, VantPickerExternalClassName, VantPickerMultipleColumn, VantPickerProps, VantPickerSingleColumn, VantPickerBaseEventDetail, VantPickerChangeEventDetail } from '../@types';
|
|
2
2
|
export { VantPicker, VantPickerEvents, VantPickerExternalClassName, VantPickerSingleColumn, VantPickerMultipleColumn, VantPickerProps, VantPickerBaseEventDetail, VantPickerChangeEventDetail, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantPopup, VantPopupProps, VantPopupEvents, VantPopupExternalClassName } from '
|
|
1
|
+
import { VantPopup, VantPopupProps, VantPopupEvents, VantPopupExternalClassName } from '../@types';
|
|
2
2
|
export { VantPopup, VantPopupEvents, VantPopupExternalClassName, VantPopupProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantRadio, VantRadioEvents, VantRadioExternalClassName, VantRadioProps, VantRadioChangeEvent } from '
|
|
1
|
+
import { VantRadio, VantRadioEvents, VantRadioExternalClassName, VantRadioProps, VantRadioChangeEvent } from '../@types';
|
|
2
2
|
export { VantRadio, VantRadioEvents, VantRadioExternalClassName, VantRadioProps, VantRadioChangeEvent, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantRadioGroup, VantRadioGroupEvents, VantRadioGroupProps, VantRadioGroupChangeEvent } from '
|
|
1
|
+
import { VantRadioGroup, VantRadioGroupEvents, VantRadioGroupProps, VantRadioGroupChangeEvent } from '../@types';
|
|
2
2
|
export { VantRadioGroup, VantRadioGroupEvents, VantRadioGroupProps, VantRadioGroupChangeEvent };
|
package/dist/rate/PropTypes.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantRate, VantRateEvents, VantRateExternalClassName, VantRateProps, VantRateChangeEvent } from '
|
|
1
|
+
import { VantRate, VantRateEvents, VantRateExternalClassName, VantRateProps, VantRateChangeEvent } from '../@types';
|
|
2
2
|
export { VantRate, VantRateEvents, VantRateExternalClassName, VantRateProps, VantRateChangeEvent };
|
package/dist/row/PropTypes.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantRow, VantRowExternalClassName, VantRowProps } from '
|
|
1
|
+
import { VantRow, VantRowExternalClassName, VantRowProps } from '../@types';
|
|
2
2
|
export { VantRow, VantRowExternalClassName, VantRowProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantSearch, VantSearchEvents, VantSearchExternalClassName, VantSearchProps, VantSearchBaseEvent } from '
|
|
1
|
+
import { VantSearch, VantSearchEvents, VantSearchExternalClassName, VantSearchProps, VantSearchBaseEvent } from '../@types';
|
|
2
2
|
export { VantSearch, VantSearchEvents, VantSearchExternalClassName, VantSearchProps, VantSearchBaseEvent, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantShareSheet, VantShareSheetEvents, VantShareSheetOption, VantShareSheetProps, VantShareSheetSelectEventDetail } from '
|
|
1
|
+
import { VantShareSheet, VantShareSheetEvents, VantShareSheetOption, VantShareSheetProps, VantShareSheetSelectEventDetail } from '../@types';
|
|
2
2
|
export { VantShareSheet, VantShareSheetEvents, VantShareSheetOption, VantShareSheetProps, VantShareSheetSelectEventDetail, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantSidebar, VantSidebarEvents, VantSidebarExternalClassName, VantSidebarProps, VantSidebarChangeEvent } from '
|
|
1
|
+
import { VantSidebar, VantSidebarEvents, VantSidebarExternalClassName, VantSidebarProps, VantSidebarChangeEvent } from '../@types';
|
|
2
2
|
export { VantSidebar, VantSidebarEvents, VantSidebarExternalClassName, VantSidebarProps, VantSidebarChangeEvent, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantSidebarItem, VantSidebarItemEvents, VantSidebarItemExternalClassName, VantSidebarItemProps, VantSidebarItemClickEvent } from '
|
|
1
|
+
import { VantSidebarItem, VantSidebarItemEvents, VantSidebarItemExternalClassName, VantSidebarItemProps, VantSidebarItemClickEvent } from '../@types';
|
|
2
2
|
export { VantSidebarItem, VantSidebarItemEvents, VantSidebarItemExternalClassName, VantSidebarItemProps, VantSidebarItemClickEvent, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantSkeleton, VantSkeletonProps } from '
|
|
1
|
+
import { VantSkeleton, VantSkeletonProps } from '../@types';
|
|
2
2
|
export { VantSkeleton, VantSkeletonProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantSlider, VantSliderEvents, VantSliderExternalClassName, VantSliderProps, VantSliderChangeEvent, VantSliderDragEventDetail } from '
|
|
1
|
+
import { VantSlider, VantSliderEvents, VantSliderExternalClassName, VantSliderProps, VantSliderChangeEvent, VantSliderDragEventDetail } from '../@types';
|
|
2
2
|
export { VantSlider, VantSliderEvents, VantSliderExternalClassName, VantSliderProps, VantSliderChangeEvent, VantSliderDragEventDetail, };
|
package/dist/slider/index.d.ts
CHANGED
|
@@ -3,12 +3,12 @@ import { RangeSliderProps } from './RangeSlider';
|
|
|
3
3
|
declare function Slider(props: IProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare namespace Slider {
|
|
5
5
|
var RangeSlider: (props: Omit<RangeSliderProps, "bar-height" | "active-color" | "inactive-color" | "bind:drag" | "bind:change" | "bind:drag-start" | "bind:drag-end"> & {
|
|
6
|
-
onChange?: (args: Omit<import("
|
|
6
|
+
onChange?: (args: Omit<import("..").VantEvent<number>, "detail"> & {
|
|
7
7
|
detail: number[];
|
|
8
8
|
}) => void;
|
|
9
|
-
onDragEnd?: import("
|
|
10
|
-
onDragStart?: import("
|
|
11
|
-
onDrag?: import("
|
|
9
|
+
onDragEnd?: import("..").VantEventHandler<unknown>;
|
|
10
|
+
onDragStart?: import("..").VantEventHandler<unknown>;
|
|
11
|
+
onDrag?: import("..").VantEventHandler<import("./PropTypes").VantSliderDragEventDetail>;
|
|
12
12
|
barHeight?: string | number;
|
|
13
13
|
activeColor?: string;
|
|
14
14
|
inActiveColor?: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantStepper, VantStepperEvents, VantStepperProps, VantStepperExternalClassName, VantStepperChangeEvent, VantStepperOverLimitEvent, VantStepperBlurEventDetail, VantStepperFocusEventDetail } from '
|
|
1
|
+
import { VantStepper, VantStepperEvents, VantStepperProps, VantStepperExternalClassName, VantStepperChangeEvent, VantStepperOverLimitEvent, VantStepperBlurEventDetail, VantStepperFocusEventDetail } from '../@types';
|
|
2
2
|
export { VantStepper, VantStepperEvents, VantStepperExternalClassName, VantStepperProps, VantStepperChangeEvent, VantStepperOverLimitEvent, VantStepperBlurEventDetail, VantStepperFocusEventDetail, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantSteps, VantStepsEvents, VantStepsProps, VantStepsExternalClassName, VantStepsOption, VantStepsClickStepEvent } from '
|
|
1
|
+
import { VantSteps, VantStepsEvents, VantStepsProps, VantStepsExternalClassName, VantStepsOption, VantStepsClickStepEvent } from '../@types';
|
|
2
2
|
export { VantSteps, VantStepsEvents, VantStepsExternalClassName, VantStepsProps, VantStepsOption, VantStepsClickStepEvent, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantSticky, VantStickyEvents, VantStickyProps, VantStickyScrollEventDetail } from '
|
|
1
|
+
import { VantSticky, VantStickyEvents, VantStickyProps, VantStickyScrollEventDetail } from '../@types';
|
|
2
2
|
export { VantSticky, VantStickyEvents, VantStickyProps, VantStickyScrollEventDetail };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantSwipeCell, VantSwipeCellEvents, VantSwipeCellProps, VantSwipeCellBaseEventDetail, VantSwipeCellPosition, VantSwipeCellClickEvent, VantSwipeCellClickPosition, VantSwipeCellCloseEventDetail } from '
|
|
1
|
+
import { VantSwipeCell, VantSwipeCellEvents, VantSwipeCellProps, VantSwipeCellBaseEventDetail, VantSwipeCellPosition, VantSwipeCellClickEvent, VantSwipeCellClickPosition, VantSwipeCellCloseEventDetail } from '../@types';
|
|
2
2
|
export { VantSwipeCell, VantSwipeCellEvents, VantSwipeCellProps, VantSwipeCellBaseEventDetail, VantSwipeCellPosition, VantSwipeCellClickEvent, VantSwipeCellClickPosition, VantSwipeCellCloseEventDetail, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantSwitch, VantSwitchEvents, VantSwitchExternalClassName, VantSwitchProps, VantSwitchChangeEvent } from '
|
|
1
|
+
import { VantSwitch, VantSwitchEvents, VantSwitchExternalClassName, VantSwitchProps, VantSwitchChangeEvent } from '../@types';
|
|
2
2
|
export { VantSwitch, VantSwitchEvents, VantSwitchExternalClassName, VantSwitchProps, VantSwitchChangeEvent, };
|
package/dist/tab/PropTypes.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantTab, VantTabProps } from '
|
|
1
|
+
import { VantTab, VantTabProps } from '../@types';
|
|
2
2
|
export { VantTab, VantTabProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantTabbar, VantTabbarEvents, VantTabbarProps, VantTabbarChangeEvent } from '
|
|
1
|
+
import { VantTabbar, VantTabbarEvents, VantTabbarProps, VantTabbarChangeEvent } from '../@types';
|
|
2
2
|
export { VantTabbar, VantTabbarEvents, VantTabbarProps, VantTabbarChangeEvent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantTabbarItem, VantTabbarItemProps } from '
|
|
1
|
+
import { VantTabbarItem, VantTabbarItemProps } from '../@types';
|
|
2
2
|
export { VantTabbarItem, VantTabbarItemProps };
|
package/dist/tabs/PropTypes.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantTabs, VantTabsEvents, VantTabsExternalClassName, VantTabsProps, VantTabsScrollEventDetail, VantTabsBaseEventDetail } from '
|
|
1
|
+
import { VantTabs, VantTabsEvents, VantTabsExternalClassName, VantTabsProps, VantTabsScrollEventDetail, VantTabsBaseEventDetail } from '../@types';
|
|
2
2
|
export { VantTabs, VantTabsEvents, VantTabsExternalClassName, VantTabsProps, VantTabsScrollEventDetail, VantTabsBaseEventDetail, };
|
package/dist/tag/PropTypes.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantTag, VantTagEvents, VantTagExternalClassName, VantTagProps } from '
|
|
1
|
+
import { VantTag, VantTagEvents, VantTagExternalClassName, VantTagProps } from '../@types';
|
|
2
2
|
export { VantTag, VantTagEvents, VantTagExternalClassName, VantTagProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantToast, VantToastOptions, ToastInstance } from '
|
|
1
|
+
import { VantToast, VantToastOptions, ToastInstance } from '../@types';
|
|
2
2
|
export { VantToast, VantToastOptions, ToastInstance };
|
package/dist/toast/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { ToastInstance as _ToastInstance } from './toast';
|
|
2
3
|
import type { ToastInstance, VantToastOptions } from './PropTypes';
|
|
3
4
|
declare const Toast: import("react").FC<VantToastOptions>;
|
|
4
|
-
declare const ToastInstance:
|
|
5
|
+
declare const ToastInstance: typeof _ToastInstance;
|
|
5
6
|
export { Toast, ToastInstance };
|
|
6
7
|
export * from './PropTypes';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantTransition, VantTransitionEvents, VantTransitionExternalClassName, VantTransitionProps } from '
|
|
1
|
+
import { VantTransition, VantTransitionEvents, VantTransitionExternalClassName, VantTransitionProps } from '../@types';
|
|
2
2
|
export { VantTransition, VantTransitionEvents, VantTransitionExternalClassName, VantTransitionProps, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { VantTreeSelect, VantTreeSelectEvents, VantTreeSelectExternalClassName, VantTreeSelectItem, VantTreeSelectProps, VantTreeSelectClickNavDetail } from '
|
|
1
|
+
import { VantTreeSelect, VantTreeSelectEvents, VantTreeSelectExternalClassName, VantTreeSelectItem, VantTreeSelectProps, VantTreeSelectClickNavDetail } from '../@types';
|
|
2
2
|
export { VantTreeSelect, VantTreeSelectEvents, VantTreeSelectExternalClassName, VantTreeSelectItem, VantTreeSelectProps, VantTreeSelectClickNavDetail, };
|
package/package.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/smart-ui",
|
|
3
|
+
"version": "1.0.1-beta-1",
|
|
3
4
|
"author": "MiniApp Team",
|
|
4
5
|
"description": "轻量、可靠的智能小程序 UI 组件库",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "ts-node scripts/dev.ts",
|
|
8
|
+
"build": "rimraf dist && tsc"
|
|
9
|
+
},
|
|
5
10
|
"main": "dist/index.js",
|
|
6
11
|
"files": [
|
|
7
12
|
"dist"
|
|
@@ -16,23 +21,55 @@
|
|
|
16
21
|
"weapp"
|
|
17
22
|
],
|
|
18
23
|
"license": "MIT",
|
|
24
|
+
"lint-staged": {
|
|
25
|
+
"*.{js,ts,md,json}": [
|
|
26
|
+
"prettier --write"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"husky": {
|
|
30
|
+
"hooks": {
|
|
31
|
+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS --config commitlint.config.js",
|
|
32
|
+
"pre-commit": "lint-staged"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
19
35
|
"dependencies": {
|
|
20
36
|
"lodash-es": "^4.17.21",
|
|
21
|
-
"@ray-js/smart-ui-typings": "1.0.0-beta.0",
|
|
22
37
|
"@ray-js/components-ty-slider": "^0.2.43",
|
|
23
38
|
"@ray-js/components-ty-progress-bar": "^0.1.1",
|
|
24
39
|
"@ray-js/components-ty-progress-circle": "^0.1.6",
|
|
25
40
|
"@tuya-miniapp/smart-ui": "^0.0.1-beta-1"
|
|
26
41
|
},
|
|
27
|
-
"version": "1.0.0-beta.2",
|
|
28
42
|
"devDependencies": {
|
|
43
|
+
"@changesets/cli": "^2.27.1",
|
|
44
|
+
"@commitlint/cli": "^7.2.1",
|
|
45
|
+
"@commitlint/config-conventional": "^9.0.1",
|
|
46
|
+
"@tuya-miniapp/icons": "^0.0.2-beta.0",
|
|
47
|
+
"@ray-js/cli": "^1.5.6",
|
|
48
|
+
"@ray-js/ray": "^1.5.6",
|
|
49
|
+
"@types/fs-extra": "^9.0.13",
|
|
29
50
|
"@types/lodash-es": "^4.17.12",
|
|
30
51
|
"@types/react": "^17.0.25",
|
|
31
|
-
"
|
|
52
|
+
"@types/react-dom": "^17.0.9",
|
|
53
|
+
"@types/wechat-miniprogram": "^3.4.0",
|
|
54
|
+
"ahooks": "^3.7.11",
|
|
55
|
+
"clsx": "^1.2.1",
|
|
56
|
+
"concurrently": "^8.2.2",
|
|
57
|
+
"core-js": "^3.23.5",
|
|
58
|
+
"eslint-config-tuya-panel": "^0.4.1",
|
|
59
|
+
"fast-glob": "^3.2.11",
|
|
60
|
+
"fs-extra": "^10.0.1",
|
|
61
|
+
"husky": "^9.0.11",
|
|
62
|
+
"lint-staged": "^11.1.2",
|
|
63
|
+
"prettier": "^2.6.2",
|
|
64
|
+
"rimraf": "^3.0.2",
|
|
65
|
+
"ts-node": "^10.5.0",
|
|
66
|
+
"typescript": "^4.4.3",
|
|
67
|
+
"yorkie": "^2.0.0"
|
|
32
68
|
},
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
69
|
+
"maintainers": [
|
|
70
|
+
{
|
|
71
|
+
"name": "tuyafe",
|
|
72
|
+
"email": "tuyafe@tuya.com"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
38
75
|
}
|
package/dist/card/Card.d.ts
DELETED