@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.
Files changed (227) hide show
  1. package/README.md +54 -1
  2. package/dist/@types/action-sheet/index.d.ts +115 -0
  3. package/dist/@types/area/index.d.ts +120 -0
  4. package/dist/@types/area/index.js +2 -0
  5. package/dist/@types/base/component.d.ts +11 -0
  6. package/dist/@types/base/component.js +2 -0
  7. package/dist/@types/base/events.d.ts +27 -0
  8. package/dist/@types/base/events.js +2 -0
  9. package/dist/@types/base/external-class-name.d.ts +12 -0
  10. package/dist/@types/base/external-class-name.js +2 -0
  11. package/dist/@types/base/index.d.ts +4 -0
  12. package/dist/{card → @types/base}/index.js +4 -8
  13. package/dist/@types/base/open-type.d.ts +175 -0
  14. package/dist/@types/base/open-type.js +2 -0
  15. package/dist/@types/battery/index.d.ts +58 -0
  16. package/dist/@types/battery/index.js +2 -0
  17. package/dist/@types/button/index.d.ts +109 -0
  18. package/dist/@types/button/index.js +2 -0
  19. package/dist/@types/calendar/index.d.ts +264 -0
  20. package/dist/@types/calendar/index.js +2 -0
  21. package/dist/@types/card/index.d.ts +92 -0
  22. package/dist/@types/card/index.js +2 -0
  23. package/dist/@types/cascader/index.d.ts +139 -0
  24. package/dist/@types/cascader/index.js +2 -0
  25. package/dist/@types/cell/index.d.ts +128 -0
  26. package/dist/@types/cell/index.js +2 -0
  27. package/dist/@types/cell-group/index.d.ts +21 -0
  28. package/dist/@types/cell-group/index.js +2 -0
  29. package/dist/@types/checkbox/index.d.ts +85 -0
  30. package/dist/@types/checkbox/index.js +2 -0
  31. package/dist/@types/checkbox-group/index.d.ts +38 -0
  32. package/dist/@types/checkbox-group/index.js +2 -0
  33. package/dist/@types/circle/index.d.ts +58 -0
  34. package/dist/@types/circle/index.js +2 -0
  35. package/dist/@types/col/index.d.ts +13 -0
  36. package/dist/@types/col/index.js +2 -0
  37. package/dist/@types/collapse/index.d.ts +60 -0
  38. package/dist/@types/collapse/index.js +2 -0
  39. package/dist/@types/collapse-item/index.d.ts +62 -0
  40. package/dist/@types/collapse-item/index.js +2 -0
  41. package/dist/@types/config-provider/index.d.ts +9 -0
  42. package/dist/@types/config-provider/index.js +2 -0
  43. package/dist/@types/config-provider/theme-vars.d.ts +63 -0
  44. package/dist/@types/config-provider/theme-vars.js +2 -0
  45. package/dist/@types/count-down/index.d.ts +81 -0
  46. package/dist/@types/count-down/index.js +2 -0
  47. package/dist/@types/custom-keyboard/index.d.ts +97 -0
  48. package/dist/@types/custom-keyboard/index.js +2 -0
  49. package/dist/@types/datetime-picker/index.d.ts +150 -0
  50. package/dist/@types/datetime-picker/index.js +2 -0
  51. package/dist/@types/dialog/dialog.d.ts +137 -0
  52. package/dist/@types/dialog/dialog.js +2 -0
  53. package/dist/@types/dialog/index.d.ts +168 -0
  54. package/dist/@types/dialog/index.js +2 -0
  55. package/dist/@types/divider/index.d.ts +24 -0
  56. package/dist/@types/divider/index.js +2 -0
  57. package/dist/@types/dropdown-item/index.d.ts +92 -0
  58. package/dist/@types/dropdown-item/index.js +2 -0
  59. package/dist/@types/dropdown-menu/index.d.ts +44 -0
  60. package/dist/@types/dropdown-menu/index.js +2 -0
  61. package/dist/@types/empty/index.d.ts +14 -0
  62. package/dist/@types/empty/index.js +2 -0
  63. package/dist/@types/field/index.d.ts +332 -0
  64. package/dist/@types/field/index.js +2 -0
  65. package/dist/@types/goods-action/index.d.ts +10 -0
  66. package/dist/@types/goods-action/index.js +2 -0
  67. package/dist/@types/goods-action-button/index.d.ts +67 -0
  68. package/dist/@types/goods-action-button/index.js +2 -0
  69. package/dist/@types/goods-action-icon/index.d.ts +60 -0
  70. package/dist/@types/goods-action-icon/index.js +2 -0
  71. package/dist/@types/grid/index.d.ts +63 -0
  72. package/dist/@types/grid/index.js +2 -0
  73. package/dist/@types/grid-item/index.d.ts +70 -0
  74. package/dist/@types/grid-item/index.js +2 -0
  75. package/dist/@types/icon/index.d.ts +47 -0
  76. package/dist/@types/icon/index.js +2 -0
  77. package/dist/@types/image/index.d.ts +117 -0
  78. package/dist/@types/image/index.js +2 -0
  79. package/dist/@types/index-anchor/index.d.ts +14 -0
  80. package/dist/@types/index-anchor/index.js +2 -0
  81. package/dist/@types/index-bar/index.d.ts +50 -0
  82. package/dist/@types/index-bar/index.js +2 -0
  83. package/dist/@types/index.d.ts +71 -0
  84. package/dist/@types/index.js +87 -0
  85. package/dist/@types/loading/index.d.ts +39 -0
  86. package/dist/@types/loading/index.js +2 -0
  87. package/dist/@types/nav-bar/index.d.ts +96 -0
  88. package/dist/@types/nav-bar/index.js +2 -0
  89. package/dist/@types/notice-bar/index.d.ts +71 -0
  90. package/dist/@types/notice-bar/index.js +2 -0
  91. package/dist/@types/notify/index.d.ts +1 -0
  92. package/dist/@types/notify/index.js +2 -0
  93. package/dist/@types/notify/notify.d.ts +84 -0
  94. package/dist/@types/notify/notify.js +2 -0
  95. package/dist/@types/overlay/index.d.ts +49 -0
  96. package/dist/@types/overlay/index.js +2 -0
  97. package/dist/@types/panel/index.d.ts +26 -0
  98. package/dist/@types/panel/index.js +2 -0
  99. package/dist/@types/picker/index.d.ts +154 -0
  100. package/dist/@types/picker/index.js +2 -0
  101. package/dist/@types/popup/index.d.ts +107 -0
  102. package/dist/@types/popup/index.js +2 -0
  103. package/dist/@types/progress/index.d.ts +59 -0
  104. package/dist/@types/progress/index.js +2 -0
  105. package/dist/@types/radio/index.d.ts +69 -0
  106. package/dist/@types/radio/index.js +2 -0
  107. package/dist/@types/radio-group/index.d.ts +37 -0
  108. package/dist/@types/radio-group/index.js +2 -0
  109. package/dist/@types/rate/index.d.ts +103 -0
  110. package/dist/@types/rate/index.js +2 -0
  111. package/dist/@types/row/index.d.ts +9 -0
  112. package/dist/@types/row/index.js +2 -0
  113. package/dist/@types/search/index.d.ts +166 -0
  114. package/dist/@types/search/index.js +2 -0
  115. package/dist/@types/share-sheet/index.d.ts +95 -0
  116. package/dist/@types/share-sheet/index.js +2 -0
  117. package/dist/@types/sidebar/index.d.ts +27 -0
  118. package/dist/@types/sidebar/index.js +2 -0
  119. package/dist/@types/sidebar-item/index.d.ts +52 -0
  120. package/dist/@types/sidebar-item/index.js +2 -0
  121. package/dist/@types/skeleton/index.d.ts +56 -0
  122. package/dist/@types/skeleton/index.js +2 -0
  123. package/dist/@types/slider/index.d.ts +103 -0
  124. package/dist/@types/slider/index.js +2 -0
  125. package/dist/@types/stepper/index.d.ts +169 -0
  126. package/dist/@types/stepper/index.js +2 -0
  127. package/dist/@types/steps/index.d.ts +83 -0
  128. package/dist/@types/steps/index.js +2 -0
  129. package/dist/@types/sticky/index.d.ts +36 -0
  130. package/dist/@types/sticky/index.js +2 -0
  131. package/dist/@types/submit-bar/index.d.ts +86 -0
  132. package/dist/@types/submit-bar/index.js +2 -0
  133. package/dist/@types/swipe-cell/index.d.ts +75 -0
  134. package/dist/@types/swipe-cell/index.js +2 -0
  135. package/dist/@types/switch/index.d.ts +75 -0
  136. package/dist/@types/switch/index.js +2 -0
  137. package/dist/@types/tab/index.d.ts +41 -0
  138. package/dist/@types/tab/index.js +2 -0
  139. package/dist/@types/tabbar/index.d.ts +68 -0
  140. package/dist/@types/tabbar/index.js +2 -0
  141. package/dist/@types/tabbar-item/index.d.ts +28 -0
  142. package/dist/@types/tabbar-item/index.js +2 -0
  143. package/dist/@types/tabs/index.d.ts +174 -0
  144. package/dist/@types/tabs/index.js +2 -0
  145. package/dist/@types/tag/index.d.ts +50 -0
  146. package/dist/@types/tag/index.js +2 -0
  147. package/dist/@types/toast/index.d.ts +2 -0
  148. package/dist/@types/toast/index.js +2 -0
  149. package/dist/@types/toast/toast.d.ts +112 -0
  150. package/dist/@types/toast/toast.js +3 -0
  151. package/dist/@types/transition/index.d.ts +105 -0
  152. package/dist/@types/transition/index.js +2 -0
  153. package/dist/@types/tree-select/index.d.ts +126 -0
  154. package/dist/@types/tree-select/index.js +2 -0
  155. package/dist/@types/uploader/index.d.ts +157 -0
  156. package/dist/@types/uploader/index.js +2 -0
  157. package/dist/action-sheet/PropTypes.d.ts +1 -1
  158. package/dist/area/PropTypes.d.ts +1 -1
  159. package/dist/base/index.d.ts +1 -1
  160. package/dist/battery/PropTypes.d.ts +1 -1
  161. package/dist/button/PropTypes.d.ts +1 -1
  162. package/dist/calendar/PropTypes.d.ts +1 -1
  163. package/dist/cascader/PropTypes.d.ts +1 -1
  164. package/dist/cell/PropTypes.d.ts +1 -1
  165. package/dist/cell-group/PropTypes.d.ts +1 -1
  166. package/dist/checkbox/PropTypes.d.ts +1 -1
  167. package/dist/checkbox-group/PropTypes.d.ts +1 -1
  168. package/dist/circle/PropTypes.d.ts +1 -1
  169. package/dist/col/PropTypes.d.ts +1 -1
  170. package/dist/collapse/PropTypes.d.ts +1 -1
  171. package/dist/collapse-item/PropTypes.d.ts +1 -1
  172. package/dist/config-provider/PropTypes.d.ts +1 -1
  173. package/dist/count-down/PropTypes.d.ts +1 -1
  174. package/dist/custom-keyboard/PropTypes.d.ts +1 -1
  175. package/dist/datetime-picker/PropTypes.d.ts +1 -1
  176. package/dist/dialog/PropTypes.d.ts +1 -1
  177. package/dist/divider/PropTypes.d.ts +1 -1
  178. package/dist/dropdown-item/PropTypes.d.ts +1 -1
  179. package/dist/dropdown-menu/PropTypes.d.ts +1 -1
  180. package/dist/empty/PropTypes.d.ts +1 -1
  181. package/dist/field/PropTypes.d.ts +1 -1
  182. package/dist/grid/PropTypes.d.ts +1 -1
  183. package/dist/grid-item/PropTypes.d.ts +1 -1
  184. package/dist/icon/PropTypes.d.ts +1 -1
  185. package/dist/image/PropTypes.d.ts +1 -1
  186. package/dist/index-anchor/PropTypes.d.ts +1 -1
  187. package/dist/index-bar/PropTypes.d.ts +1 -1
  188. package/dist/loading/PropTypes.d.ts +1 -1
  189. package/dist/nav-bar/PropTypes.d.ts +1 -1
  190. package/dist/notice-bar/PropTypes.d.ts +1 -1
  191. package/dist/notify/PropTypes.d.ts +1 -1
  192. package/dist/overlay/PropTypes.d.ts +1 -1
  193. package/dist/picker/PropTypes.d.ts +1 -1
  194. package/dist/popup/PropTypes.d.ts +1 -1
  195. package/dist/radio/PropTypes.d.ts +1 -1
  196. package/dist/radio-group/PropTypes.d.ts +1 -1
  197. package/dist/rate/PropTypes.d.ts +1 -1
  198. package/dist/row/PropTypes.d.ts +1 -1
  199. package/dist/search/PropTypes.d.ts +1 -1
  200. package/dist/share-sheet/PropTypes.d.ts +1 -1
  201. package/dist/sidebar/PropTypes.d.ts +1 -1
  202. package/dist/sidebar-item/PropTypes.d.ts +1 -1
  203. package/dist/skeleton/PropTypes.d.ts +1 -1
  204. package/dist/slider/PropTypes.d.ts +1 -1
  205. package/dist/slider/index.d.ts +4 -4
  206. package/dist/stepper/PropTypes.d.ts +1 -1
  207. package/dist/steps/PropTypes.d.ts +1 -1
  208. package/dist/sticky/PropTypes.d.ts +1 -1
  209. package/dist/swipe-cell/PropTypes.d.ts +1 -1
  210. package/dist/switch/PropTypes.d.ts +1 -1
  211. package/dist/tab/PropTypes.d.ts +1 -1
  212. package/dist/tabbar/PropTypes.d.ts +1 -1
  213. package/dist/tabbar-item/PropTypes.d.ts +1 -1
  214. package/dist/tabs/PropTypes.d.ts +1 -1
  215. package/dist/tag/PropTypes.d.ts +1 -1
  216. package/dist/toast/PropTypes.d.ts +1 -1
  217. package/dist/toast/index.d.ts +2 -1
  218. package/dist/transition/PropTypes.d.ts +1 -1
  219. package/dist/tree-select/PropTypes.d.ts +1 -1
  220. package/package.json +45 -8
  221. package/dist/card/Card.d.ts +0 -2
  222. package/dist/card/Card.js +0 -8
  223. package/dist/card/PropTypes.d.ts +0 -2
  224. package/dist/card/index.d.ts +0 -5
  225. /package/dist/{card/PropTypes.js → @types/action-sheet/index.js} +0 -0
  226. /package/dist/notify/{Notify.d.ts → notify.d.ts} +0 -0
  227. /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 {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ exports.__esModule = true;
@@ -1,2 +1,2 @@
1
- import { VantActionSheet, VantActionSheetProps, VantActionSheetEvents, VantAction } from '@ray-js/smart-ui-typings';
1
+ import { VantActionSheet, VantActionSheetProps, VantActionSheetEvents, VantAction } from '../@types';
2
2
  export { VantActionSheet, VantActionSheetProps, VantActionSheetEvents, VantAction };
@@ -1,2 +1,2 @@
1
- import { VantArea, VantAreaProps, VantAreaList, VantAreaEvents, VantAreaBaseEventDetail, VantAreaChangeEventDetail, VantAreaColumn } from '@ray-js/smart-ui-typings';
1
+ import { VantArea, VantAreaProps, VantAreaList, VantAreaEvents, VantAreaBaseEventDetail, VantAreaChangeEventDetail, VantAreaColumn } from '../@types';
2
2
  export { VantArea, VantAreaProps, VantAreaList, VantAreaEvents, VantAreaBaseEventDetail, VantAreaChangeEventDetail, VantAreaColumn, };
@@ -1,2 +1,2 @@
1
- import { ComponentBase, VantComponent, VantEvent, VantTouchEvent, VantEventHandler, VantTouchEventHandler, TouchPositionDetail, VantBaseExternalClassName, VantBaseLoadingExternalClassName, WechatOpenType, VantOpenTypeProps, VantOpenTypeCamelCaseProps, VantOpenTypeEvents } from '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
1
+ import { VantBattery, VantBatteryProps } from '../@types';
2
2
  export { VantBattery, VantBatteryProps };
@@ -1,2 +1,2 @@
1
- import { VantButton, VantButtonEvents, VantButtonExternalClassName, VantButtonProps } from '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
1
+ import { VantCascader, VantCascaderProps } from '../@types';
2
2
  export { VantCascader, VantCascaderProps };
@@ -1,2 +1,2 @@
1
- import { VantCell, VantCellEvents, VantCellExternalClassName, VantCellProps } from '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
1
+ import { VantCheckboxGroup, VantCheckboxGroupEvents, VantCheckboxGroupProps } from '../@types';
2
2
  export { VantCheckboxGroup, VantCheckboxGroupEvents, VantCheckboxGroupProps };
@@ -1,2 +1,2 @@
1
- import { VantCircle, VantCircleProps } from '@ray-js/smart-ui-typings';
1
+ import { VantCircle, VantCircleProps } from '../@types';
2
2
  export { VantCircle, VantCircleProps };
@@ -1,2 +1,2 @@
1
- import { VantCol, VantColProps, VantColExternalClassName } from '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
1
+ import { VantCollapseItem, VantCollapseItemExternalClassName, VantCollapseItemProps } from '../@types';
2
2
  export { VantCollapseItem, VantCollapseItemExternalClassName, VantCollapseItemProps };
@@ -1,2 +1,2 @@
1
- import { VantConfigProvider, VantConfigProviderProps } from '@ray-js/smart-ui-typings';
1
+ import { VantConfigProvider, VantConfigProviderProps } from '../@types';
2
2
  export { VantConfigProvider, VantConfigProviderProps };
@@ -1,2 +1,2 @@
1
- import { VantCountDown, VantCountDownEvents, VantCountDownProps, VantCountDownTimeData } from '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
1
+ import { VantDialog, VantDialogProps, VantDialogInstance, VantDialogOptions } from '../@types';
2
2
  export { VantDialog, VantDialogProps, VantDialogInstance, VantDialogOptions };
@@ -1,2 +1,2 @@
1
- import { VantDivider, VantDividerProps } from '@ray-js/smart-ui-typings';
1
+ import { VantDivider, VantDividerProps } from '../@types';
2
2
  export { VantDivider, VantDividerProps };
@@ -1,2 +1,2 @@
1
- import { VantDropdownItem, VantDropdownItemEvents, VantDropdownItemOption, VantDropdownItemProps, VantDropdownItemChangeEvent } from '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
1
+ import { VantDropdownMenu, VantDropdownMenuProps } from '../@types';
2
2
  export { VantDropdownMenu, VantDropdownMenuProps };
@@ -1,2 +1,2 @@
1
- import { VantEmpty, VantEmptyProps } from '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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, };
@@ -1,2 +1,2 @@
1
- import { VantGrid, VantGridProps, VantGridExternalClassName } from '@ray-js/smart-ui-typings';
1
+ import { VantGrid, VantGridProps, VantGridExternalClassName } from '../@types';
2
2
  export { VantGrid, VantGridExternalClassName, VantGridProps };
@@ -1,2 +1,2 @@
1
- import { VantGridItem, VantGridItemEvents, VantGridItemExternalClassName, VantGridItemProps } from '@ray-js/smart-ui-typings';
1
+ import { VantGridItem, VantGridItemEvents, VantGridItemExternalClassName, VantGridItemProps } from '../@types';
2
2
  export { VantGridItem, VantGridItemEvents, VantGridItemExternalClassName, VantGridItemProps };
@@ -1,2 +1,2 @@
1
- import { VantIcon, VantIconEvents, VantIconExternalClassName, VantIconProps } from '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
1
+ import { VantIndexAnchor, VantIndexAnchorProps } from '../@types';
2
2
  export { VantIndexAnchor, VantIndexAnchorProps };
@@ -1,2 +1,2 @@
1
- import { VantIndexBar, VantIndexBarEvents, VantIndexBarProps, VantIndexBarSelectEvent } from '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
1
+ import { VantLoading, VantLoadingExternalClassName, VantLoadingProps } from '../@types';
2
2
  export { VantLoading, VantLoadingExternalClassName, VantLoadingProps };
@@ -1,2 +1,2 @@
1
- import { VantNavBar, VantNavBarEvents, VantNavBarExternalClassName, VantNavBarProps } from '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
1
+ import { VantNotifyProps, VantNotify, VantNotifyOptions } from '../@types';
2
2
  export { VantNotifyProps, VantNotify, VantNotifyOptions };
@@ -1,2 +1,2 @@
1
- import { VantOverlay, VantOverlayEvents, VantOverlayProps } from '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
1
+ import { VantRadioGroup, VantRadioGroupEvents, VantRadioGroupProps, VantRadioGroupChangeEvent } from '../@types';
2
2
  export { VantRadioGroup, VantRadioGroupEvents, VantRadioGroupProps, VantRadioGroupChangeEvent };
@@ -1,2 +1,2 @@
1
- import { VantRate, VantRateEvents, VantRateExternalClassName, VantRateProps, VantRateChangeEvent } from '@ray-js/smart-ui-typings';
1
+ import { VantRate, VantRateEvents, VantRateExternalClassName, VantRateProps, VantRateChangeEvent } from '../@types';
2
2
  export { VantRate, VantRateEvents, VantRateExternalClassName, VantRateProps, VantRateChangeEvent };
@@ -1,2 +1,2 @@
1
- import { VantRow, VantRowExternalClassName, VantRowProps } from '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
1
+ import { VantSkeleton, VantSkeletonProps } from '../@types';
2
2
  export { VantSkeleton, VantSkeletonProps };
@@ -1,2 +1,2 @@
1
- import { VantSlider, VantSliderEvents, VantSliderExternalClassName, VantSliderProps, VantSliderChangeEvent, VantSliderDragEventDetail } from '@ray-js/smart-ui-typings';
1
+ import { VantSlider, VantSliderEvents, VantSliderExternalClassName, VantSliderProps, VantSliderChangeEvent, VantSliderDragEventDetail } from '../@types';
2
2
  export { VantSlider, VantSliderEvents, VantSliderExternalClassName, VantSliderProps, VantSliderChangeEvent, VantSliderDragEventDetail, };
@@ -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("@ray-js/smart-ui-typings").VantEvent<number>, "detail"> & {
6
+ onChange?: (args: Omit<import("..").VantEvent<number>, "detail"> & {
7
7
  detail: number[];
8
8
  }) => void;
9
- onDragEnd?: import("@ray-js/smart-ui-typings").VantEventHandler<unknown>;
10
- onDragStart?: import("@ray-js/smart-ui-typings").VantEventHandler<unknown>;
11
- onDrag?: import("@ray-js/smart-ui-typings").VantEventHandler<import("@ray-js/smart-ui-typings").VantSliderDragEventDetail>;
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
1
+ import { VantSwitch, VantSwitchEvents, VantSwitchExternalClassName, VantSwitchProps, VantSwitchChangeEvent } from '../@types';
2
2
  export { VantSwitch, VantSwitchEvents, VantSwitchExternalClassName, VantSwitchProps, VantSwitchChangeEvent, };
@@ -1,2 +1,2 @@
1
- import { VantTab, VantTabProps } from '@ray-js/smart-ui-typings';
1
+ import { VantTab, VantTabProps } from '../@types';
2
2
  export { VantTab, VantTabProps };
@@ -1,2 +1,2 @@
1
- import { VantTabbar, VantTabbarEvents, VantTabbarProps, VantTabbarChangeEvent } from '@ray-js/smart-ui-typings';
1
+ import { VantTabbar, VantTabbarEvents, VantTabbarProps, VantTabbarChangeEvent } from '../@types';
2
2
  export { VantTabbar, VantTabbarEvents, VantTabbarProps, VantTabbarChangeEvent };
@@ -1,2 +1,2 @@
1
- import { VantTabbarItem, VantTabbarItemProps } from '@ray-js/smart-ui-typings';
1
+ import { VantTabbarItem, VantTabbarItemProps } from '../@types';
2
2
  export { VantTabbarItem, VantTabbarItemProps };
@@ -1,2 +1,2 @@
1
- import { VantTabs, VantTabsEvents, VantTabsExternalClassName, VantTabsProps, VantTabsScrollEventDetail, VantTabsBaseEventDetail } from '@ray-js/smart-ui-typings';
1
+ import { VantTabs, VantTabsEvents, VantTabsExternalClassName, VantTabsProps, VantTabsScrollEventDetail, VantTabsBaseEventDetail } from '../@types';
2
2
  export { VantTabs, VantTabsEvents, VantTabsExternalClassName, VantTabsProps, VantTabsScrollEventDetail, VantTabsBaseEventDetail, };
@@ -1,2 +1,2 @@
1
- import { VantTag, VantTagEvents, VantTagExternalClassName, VantTagProps } from '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
1
+ import { VantToast, VantToastOptions, ToastInstance } from '../@types';
2
2
  export { VantToast, VantToastOptions, ToastInstance };
@@ -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: 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 '@ray-js/smart-ui-typings';
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 '@ray-js/smart-ui-typings';
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
- "rimraf": "^5.0.5"
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
- "scripts": {
34
- "dev": "tsc -w",
35
- "build": "rimraf dist && tsc",
36
- "release": "pnpm build && pnpm publish --no-git-check"
37
- }
69
+ "maintainers": [
70
+ {
71
+ "name": "tuyafe",
72
+ "email": "tuyafe@tuya.com"
73
+ }
74
+ ]
38
75
  }
@@ -1,2 +0,0 @@
1
- import Card from '@tuya-miniapp/smart-ui/lib/card/index';
2
- export default Card;