@tarojs/components 3.3.11 → 3.3.15

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 (268) hide show
  1. package/dist/cjs/{index-eefce54e.js → index-7464647f.js} +156 -101
  2. package/dist/cjs/{index-cf56824f.js → index-cde74e58.js} +1 -1
  3. package/dist/cjs/loader.cjs.js +3 -3
  4. package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
  5. package/dist/cjs/taro-block-core.cjs.entry.js +2 -2
  6. package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
  7. package/dist/cjs/taro-camera-core.cjs.entry.js +2 -2
  8. package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
  9. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +6 -5
  10. package/dist/cjs/taro-components.cjs.js +5 -5
  11. package/dist/cjs/taro-cover-image-core.cjs.entry.js +19 -5
  12. package/dist/cjs/taro-cover-view-core.cjs.entry.js +51 -5
  13. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +2 -2
  14. package/dist/cjs/taro-form-core.cjs.entry.js +2 -2
  15. package/dist/cjs/taro-icon-core.cjs.entry.js +3 -3
  16. package/dist/cjs/taro-image-core.cjs.entry.js +3 -3
  17. package/dist/cjs/taro-input-core.cjs.entry.js +21 -13
  18. package/dist/cjs/taro-label-core.cjs.entry.js +2 -2
  19. package/dist/cjs/taro-movable-area-core.cjs.entry.js +2 -2
  20. package/dist/cjs/taro-movable-view-core.cjs.entry.js +2 -2
  21. package/dist/cjs/taro-navigator-core.cjs.entry.js +3 -3
  22. package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
  23. package/dist/cjs/taro-picker-core_2.cjs.entry.js +37 -12
  24. package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +2 -2
  25. package/dist/cjs/taro-picker-view-core.cjs.entry.js +2 -2
  26. package/dist/cjs/taro-progress-core.cjs.entry.js +2 -2
  27. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +3 -3
  28. package/dist/cjs/taro-radio-core_2.cjs.entry.js +3 -3
  29. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  30. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +3 -3
  31. package/dist/cjs/taro-slider-core.cjs.entry.js +2 -2
  32. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +112 -106
  33. package/dist/cjs/taro-switch-core.cjs.entry.js +2 -2
  34. package/dist/cjs/taro-tabbar.cjs.entry.js +71 -27
  35. package/dist/cjs/taro-text-core.cjs.entry.js +3 -3
  36. package/dist/cjs/taro-textarea-core.cjs.entry.js +65 -5
  37. package/dist/cjs/taro-video-control_3.cjs.entry.js +5 -5
  38. package/dist/cjs/taro-view-core.cjs.entry.js +11 -3
  39. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  40. package/dist/collection/collection-manifest.json +3 -3
  41. package/dist/collection/components/checkbox/checkbox.js +21 -2
  42. package/dist/collection/components/cover-image/cover-image.js +94 -0
  43. package/dist/collection/components/cover-image/style/index.css +5 -0
  44. package/dist/collection/components/cover-view/cover-view.js +166 -4
  45. package/dist/collection/components/cover-view/style/cover-view.css +3 -0
  46. package/dist/collection/components/input/input.js +19 -11
  47. package/dist/collection/components/picker/picker-group.js +59 -9
  48. package/dist/collection/components/swiper/swiper.js +7 -1
  49. package/dist/collection/components/tabbar/tabbar.js +72 -24
  50. package/dist/collection/components/textarea/style/index.css +6 -2
  51. package/dist/collection/components/textarea/textarea.js +98 -3
  52. package/dist/collection/components/view/view.js +9 -1
  53. package/dist/esm/{index-310de3d5.js → index-165a6222.js} +156 -101
  54. package/dist/esm/{index-ff1b322a.js → index-85e10859.js} +1 -1
  55. package/dist/esm/loader.js +3 -3
  56. package/dist/esm/taro-audio-core.entry.js +2 -2
  57. package/dist/esm/taro-block-core.entry.js +2 -2
  58. package/dist/esm/taro-button-core.entry.js +3 -3
  59. package/dist/esm/taro-camera-core.entry.js +2 -2
  60. package/dist/esm/taro-canvas-core.entry.js +2 -2
  61. package/dist/esm/taro-checkbox-core_2.entry.js +6 -5
  62. package/dist/esm/taro-components.js +5 -5
  63. package/dist/esm/taro-cover-image-core.entry.js +19 -5
  64. package/dist/esm/taro-cover-view-core.entry.js +51 -5
  65. package/dist/esm/taro-custom-wrapper-core.entry.js +2 -2
  66. package/dist/esm/taro-form-core.entry.js +2 -2
  67. package/dist/esm/taro-icon-core.entry.js +3 -3
  68. package/dist/esm/taro-image-core.entry.js +3 -3
  69. package/dist/esm/taro-input-core.entry.js +21 -13
  70. package/dist/esm/taro-label-core.entry.js +2 -2
  71. package/dist/esm/taro-movable-area-core.entry.js +2 -2
  72. package/dist/esm/taro-movable-view-core.entry.js +2 -2
  73. package/dist/esm/taro-navigator-core.entry.js +3 -3
  74. package/dist/esm/taro-open-data-core.entry.js +2 -2
  75. package/dist/esm/taro-picker-core_2.entry.js +37 -12
  76. package/dist/esm/taro-picker-view-column-core.entry.js +2 -2
  77. package/dist/esm/taro-picker-view-core.entry.js +2 -2
  78. package/dist/esm/taro-progress-core.entry.js +2 -2
  79. package/dist/esm/taro-pull-to-refresh.entry.js +3 -3
  80. package/dist/esm/taro-radio-core_2.entry.js +3 -3
  81. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  82. package/dist/esm/taro-scroll-view-core.entry.js +3 -3
  83. package/dist/esm/taro-slider-core.entry.js +2 -2
  84. package/dist/esm/taro-swiper-core_2.entry.js +112 -106
  85. package/dist/esm/taro-switch-core.entry.js +2 -2
  86. package/dist/esm/taro-tabbar.entry.js +71 -27
  87. package/dist/esm/taro-text-core.entry.js +3 -3
  88. package/dist/esm/taro-textarea-core.entry.js +65 -5
  89. package/dist/esm/taro-video-control_3.entry.js +5 -5
  90. package/dist/esm/taro-view-core.entry.js +11 -3
  91. package/dist/esm/taro-web-view-core.entry.js +2 -2
  92. package/dist/esm-es5/index-165a6222.js +1 -0
  93. package/dist/esm-es5/{index-ff1b322a.js → index-85e10859.js} +0 -0
  94. package/dist/esm-es5/loader.js +1 -1
  95. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  96. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  97. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  98. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  99. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  100. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  101. package/dist/esm-es5/taro-components.js +1 -1
  102. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  103. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  104. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  105. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  106. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  107. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  108. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  109. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  110. package/dist/esm-es5/taro-movable-area-core.entry.js +1 -1
  111. package/dist/esm-es5/taro-movable-view-core.entry.js +1 -1
  112. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  113. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  114. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  115. package/dist/esm-es5/taro-picker-view-column-core.entry.js +1 -1
  116. package/dist/esm-es5/taro-picker-view-core.entry.js +1 -1
  117. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  118. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  119. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  120. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  121. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  122. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  123. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  124. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  125. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  126. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  127. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  128. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  129. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  130. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  131. package/dist/taro-components/{p-8eb84de2.system.entry.js → p-00328ebf.system.entry.js} +1 -1
  132. package/dist/taro-components/p-016f56cc.system.entry.js +1 -0
  133. package/dist/taro-components/{p-15121391.system.entry.js → p-098f4931.system.entry.js} +1 -1
  134. package/dist/taro-components/p-0da88b1b.entry.js +1 -0
  135. package/dist/taro-components/p-0fb7f599.entry.js +1 -0
  136. package/dist/taro-components/p-139d4d14.entry.js +1 -0
  137. package/dist/taro-components/p-1507bcbf.entry.js +1 -0
  138. package/dist/taro-components/p-17c0731f.entry.js +1 -0
  139. package/dist/taro-components/{p-9a4123eb.system.entry.js → p-1ed219a6.system.entry.js} +1 -1
  140. package/dist/taro-components/p-26c08f44.entry.js +1 -0
  141. package/dist/taro-components/{p-502841e0.system.entry.js → p-26d8c60a.system.entry.js} +1 -1
  142. package/dist/taro-components/{p-970ed6da.system.entry.js → p-2b6a2449.system.entry.js} +1 -1
  143. package/dist/taro-components/{p-239bf0ca.system.entry.js → p-2ce9bc65.system.entry.js} +1 -1
  144. package/dist/taro-components/{p-1f2dfaef.system.entry.js → p-2de1a146.system.entry.js} +1 -1
  145. package/dist/taro-components/{p-a079321f.system.entry.js → p-2eda9121.system.entry.js} +1 -1
  146. package/dist/taro-components/p-30bfacb9.system.js +1 -0
  147. package/dist/taro-components/{p-921a765a.system.entry.js → p-321aeeec.system.entry.js} +1 -1
  148. package/dist/taro-components/p-33bcdee9.entry.js +1 -0
  149. package/dist/taro-components/p-3554df41.entry.js +1 -0
  150. package/dist/taro-components/p-37cfef64.entry.js +1 -0
  151. package/dist/taro-components/p-39bee235.entry.js +1 -0
  152. package/dist/taro-components/p-3e2d4793.entry.js +1 -0
  153. package/dist/taro-components/{p-e15654c4.system.entry.js → p-4168e24d.system.entry.js} +1 -1
  154. package/dist/taro-components/{p-236774f0.system.entry.js → p-4462dca4.system.entry.js} +1 -1
  155. package/dist/taro-components/{p-30c0639e.js → p-49ae5efb.js} +1 -1
  156. package/dist/taro-components/p-4a2ffc1c.entry.js +1 -0
  157. package/dist/taro-components/p-4ff67760.entry.js +1 -0
  158. package/dist/taro-components/p-5412a1d2.system.entry.js +1 -0
  159. package/dist/taro-components/{p-9242dcf7.system.entry.js → p-5a13bd63.system.entry.js} +1 -1
  160. package/dist/taro-components/{p-aed3d0e9.system.entry.js → p-5c8ba192.system.entry.js} +1 -1
  161. package/dist/taro-components/p-5d84eaf0.entry.js +1 -0
  162. package/dist/taro-components/{p-318795b9.system.entry.js → p-5e6feca6.system.entry.js} +1 -1
  163. package/dist/taro-components/{p-625158f0.js → p-6967e577.js} +0 -0
  164. package/dist/taro-components/{p-bd00f506.system.js → p-696f0d1c.system.js} +0 -0
  165. package/dist/taro-components/{p-d402dc94.system.entry.js → p-69be8189.system.entry.js} +1 -1
  166. package/dist/taro-components/p-6daacf48.entry.js +1 -0
  167. package/dist/taro-components/p-72f2b6f5.entry.js +1 -0
  168. package/dist/taro-components/p-76c00960.entry.js +1 -0
  169. package/dist/taro-components/p-79b3c05a.entry.js +1 -0
  170. package/dist/taro-components/p-7a5be745.entry.js +1 -0
  171. package/dist/taro-components/p-7b021c48.entry.js +1 -0
  172. package/dist/taro-components/p-7f3e5f09.entry.js +1 -0
  173. package/dist/taro-components/{p-c1d6c0ba.system.entry.js → p-7ffcfb05.system.entry.js} +1 -1
  174. package/dist/taro-components/p-81588c19.entry.js +1 -0
  175. package/dist/taro-components/p-8235b7b7.system.entry.js +1 -0
  176. package/dist/taro-components/{p-89fc30f0.entry.js → p-8cf16235.entry.js} +1 -1
  177. package/dist/taro-components/{p-4f139925.system.entry.js → p-8d905ff5.system.entry.js} +1 -1
  178. package/dist/taro-components/p-923c6e08.entry.js +1 -0
  179. package/dist/taro-components/p-93748645.system.js +1 -0
  180. package/dist/taro-components/p-9767491b.entry.js +1 -0
  181. package/dist/taro-components/p-9bd65170.system.entry.js +1 -0
  182. package/dist/taro-components/{p-3eb31172.system.entry.js → p-9d6a7a70.system.entry.js} +1 -1
  183. package/dist/taro-components/{p-e3e40b03.system.entry.js → p-9e807bd6.system.entry.js} +1 -1
  184. package/dist/taro-components/p-9e912454.system.entry.js +1 -0
  185. package/dist/taro-components/{p-9c9178cd.system.entry.js → p-a34988ff.system.entry.js} +1 -1
  186. package/dist/taro-components/p-a895db87.entry.js +1 -0
  187. package/dist/taro-components/{p-0f393c6d.system.entry.js → p-b685a487.system.entry.js} +1 -1
  188. package/dist/taro-components/{p-129341f2.system.entry.js → p-bd922592.system.entry.js} +1 -1
  189. package/dist/taro-components/p-be2d1c4a.system.entry.js +1 -0
  190. package/dist/taro-components/p-ca67c759.entry.js +1 -0
  191. package/dist/taro-components/p-cb8099dd.entry.js +1 -0
  192. package/dist/taro-components/p-ce093936.entry.js +1 -0
  193. package/dist/taro-components/{p-4d11f3ad.system.entry.js → p-ce49e2f4.system.entry.js} +1 -1
  194. package/dist/taro-components/p-d12592f1.entry.js +1 -0
  195. package/dist/taro-components/{p-a74d5aa5.system.entry.js → p-d52009d1.system.entry.js} +1 -1
  196. package/dist/taro-components/{p-2e9e9ca7.system.entry.js → p-d52bf5f5.system.entry.js} +1 -1
  197. package/dist/taro-components/{p-81f5977d.system.entry.js → p-d6269b5e.system.entry.js} +1 -1
  198. package/dist/taro-components/p-d6a37b93.entry.js +1 -0
  199. package/dist/taro-components/p-d8363f59.system.entry.js +1 -0
  200. package/dist/taro-components/p-d9494012.system.entry.js +1 -0
  201. package/dist/taro-components/p-de3a4828.entry.js +1 -0
  202. package/dist/taro-components/p-f4158e42.entry.js +1 -0
  203. package/dist/taro-components/p-f6c7f07c.system.entry.js +1 -0
  204. package/dist/taro-components/p-f7b6c1a6.entry.js +1 -0
  205. package/dist/taro-components/p-f991bc7b.entry.js +1 -0
  206. package/dist/taro-components/taro-components.esm.js +1 -1
  207. package/dist/taro-components/taro-components.js +1 -1
  208. package/dist/types/components/checkbox/checkbox.d.ts +1 -0
  209. package/dist/types/components/cover-image/cover-image.d.ts +11 -0
  210. package/dist/types/components/cover-view/cover-view.d.ts +14 -2
  211. package/dist/types/components/picker/picker-group.d.ts +7 -0
  212. package/dist/types/components/tabbar/tabbar.d.ts +20 -1
  213. package/dist/types/components/textarea/textarea.d.ts +6 -0
  214. package/dist/types/components/view/view.d.ts +2 -0
  215. package/dist/types/components.d.ts +20 -0
  216. package/dist/types/stencil-public-runtime.d.ts +190 -182
  217. package/dist-h5/vue/createComponent.js +4 -0
  218. package/dist-h5/vue/createFormsComponent.js +8 -1
  219. package/loader/index.d.ts +0 -1
  220. package/package.json +5 -5
  221. package/dist/collection/components/cover-view/cover-image.js +0 -11
  222. package/dist/esm-es5/index-310de3d5.js +0 -1
  223. package/dist/taro-components/p-153b839d.system.entry.js +0 -1
  224. package/dist/taro-components/p-180fd001.entry.js +0 -1
  225. package/dist/taro-components/p-1925bbdb.entry.js +0 -1
  226. package/dist/taro-components/p-1f44e8ef.system.entry.js +0 -1
  227. package/dist/taro-components/p-28348261.entry.js +0 -1
  228. package/dist/taro-components/p-31b89eb3.entry.js +0 -1
  229. package/dist/taro-components/p-31f0f881.entry.js +0 -1
  230. package/dist/taro-components/p-3bda72b4.entry.js +0 -1
  231. package/dist/taro-components/p-4591dff5.entry.js +0 -1
  232. package/dist/taro-components/p-4afe24d7.entry.js +0 -1
  233. package/dist/taro-components/p-4b632069.entry.js +0 -1
  234. package/dist/taro-components/p-4f1d45ff.entry.js +0 -1
  235. package/dist/taro-components/p-5032d822.entry.js +0 -1
  236. package/dist/taro-components/p-6287057a.entry.js +0 -1
  237. package/dist/taro-components/p-66120099.entry.js +0 -1
  238. package/dist/taro-components/p-6730fa44.entry.js +0 -1
  239. package/dist/taro-components/p-6f331ed3.entry.js +0 -1
  240. package/dist/taro-components/p-73c389e7.system.entry.js +0 -1
  241. package/dist/taro-components/p-7911ccd6.system.entry.js +0 -1
  242. package/dist/taro-components/p-8031d6b5.system.entry.js +0 -1
  243. package/dist/taro-components/p-82185d54.system.entry.js +0 -1
  244. package/dist/taro-components/p-8676c058.entry.js +0 -1
  245. package/dist/taro-components/p-906c3a0a.entry.js +0 -1
  246. package/dist/taro-components/p-9205470e.entry.js +0 -1
  247. package/dist/taro-components/p-945fa1a0.entry.js +0 -1
  248. package/dist/taro-components/p-95f5261c.entry.js +0 -1
  249. package/dist/taro-components/p-96771939.entry.js +0 -1
  250. package/dist/taro-components/p-96f1e9e7.entry.js +0 -1
  251. package/dist/taro-components/p-9c47f99e.entry.js +0 -1
  252. package/dist/taro-components/p-9fe2309f.entry.js +0 -1
  253. package/dist/taro-components/p-9ffb69e5.system.entry.js +0 -1
  254. package/dist/taro-components/p-a208926a.entry.js +0 -1
  255. package/dist/taro-components/p-a3e783c3.entry.js +0 -1
  256. package/dist/taro-components/p-af393b0b.entry.js +0 -1
  257. package/dist/taro-components/p-b2ed71a7.entry.js +0 -1
  258. package/dist/taro-components/p-b5d2597b.system.js +0 -1
  259. package/dist/taro-components/p-b7c29d05.entry.js +0 -1
  260. package/dist/taro-components/p-c2810ece.entry.js +0 -1
  261. package/dist/taro-components/p-c37d9a5d.system.entry.js +0 -1
  262. package/dist/taro-components/p-c9380fa6.entry.js +0 -1
  263. package/dist/taro-components/p-ca74a018.entry.js +0 -1
  264. package/dist/taro-components/p-cf496b3b.system.js +0 -1
  265. package/dist/taro-components/p-e256974b.system.entry.js +0 -1
  266. package/dist/taro-components/p-e28625a2.entry.js +0 -1
  267. package/dist/taro-components/p-e302b8d7.entry.js +0 -1
  268. package/dist/types/components/cover-view/cover-image.d.ts +0 -4
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-310de3d5.js';
2
- import { c as classnames } from './index-ff1b322a.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-165a6222.js';
2
+ import { c as classnames } from './index-85e10859.js';
3
3
 
4
4
  function getTimeRange(begin, end) {
5
5
  const range = [];
@@ -150,7 +150,7 @@ const MASK_HEIGHT = LINE_HEIGHT * 7;
150
150
 
151
151
  const indexCss = ".weui-picker,.weui-picker__hd{font-size:12px}";
152
152
 
153
- const Picker = class {
153
+ let Picker = class {
154
154
  constructor(hostRef) {
155
155
  registerInstance(this, hostRef);
156
156
  this.onChange = createEvent(this, "change", 7);
@@ -497,7 +497,7 @@ const Picker = class {
497
497
  };
498
498
  Picker.style = indexCss;
499
499
 
500
- const TaroPickerGroup = class {
500
+ let TaroPickerGroup = class {
501
501
  constructor(hostRef) {
502
502
  registerInstance(this, hostRef);
503
503
  this.range = [];
@@ -527,15 +527,14 @@ const TaroPickerGroup = class {
527
527
  updateHeight(relativeHeight, columnId, true);
528
528
  });
529
529
  }
530
- onTouchStart(e) {
530
+ handleMoveStart(clientY) {
531
531
  // 记录第一次的点击位置
532
- this.startY = e.changedTouches[0].clientY;
533
- this.preY = e.changedTouches[0].clientY;
532
+ this.startY = clientY;
533
+ this.preY = clientY;
534
534
  this.hadMove = false;
535
535
  }
536
- onTouchMove(e) {
537
- e.preventDefault();
538
- const y = e.changedTouches[0].clientY;
536
+ handleMoving(clientY) {
537
+ const y = clientY;
539
538
  const deltaY = y - this.preY;
540
539
  this.preY = y;
541
540
  this.touchEnd = false;
@@ -564,11 +563,11 @@ const TaroPickerGroup = class {
564
563
  }
565
564
  this.updateHeight(newPos, this.columnId);
566
565
  }
567
- onTouchEnd(e) {
566
+ handleMoveEnd(clientY) {
568
567
  const { mode, range, height, updateHeight, onColumnChange, columnId } = this;
569
568
  const max = 0;
570
569
  const min = -LINE_HEIGHT * (range.length - 1);
571
- const endY = e.changedTouches[0].clientY;
570
+ const endY = clientY;
572
571
  this.touchEnd = true;
573
572
  // touchEnd 时的高度,可能带小数点,需要再处理
574
573
  let absoluteHeight;
@@ -630,6 +629,32 @@ const TaroPickerGroup = class {
630
629
  updateHeight(relativeHeight, columnId, mode === 'time');
631
630
  onColumnChange && onColumnChange(relativeHeight, columnId);
632
631
  }
632
+ onMouseDown(e) {
633
+ this.isMove = true;
634
+ this.handleMoveStart(e.clientY);
635
+ }
636
+ onMouseMove(e) {
637
+ e.preventDefault();
638
+ if (!this.isMove)
639
+ return;
640
+ this.handleMoving(e.clientY);
641
+ }
642
+ onMouseMoveEnd(e) {
643
+ if (!this.isMove)
644
+ return;
645
+ this.isMove = false;
646
+ this.handleMoveEnd(e.clientY);
647
+ }
648
+ onTouchStart(e) {
649
+ this.handleMoveStart(e.changedTouches[0].clientY);
650
+ }
651
+ onTouchMove(e) {
652
+ e.preventDefault();
653
+ this.handleMoving(e.changedTouches[0].clientY);
654
+ }
655
+ onTouchEnd(e) {
656
+ this.handleMoveEnd(e.changedTouches[0].clientY);
657
+ }
633
658
  render() {
634
659
  const { range, rangeKey } = this;
635
660
  const pickerItem = range.map(item => {
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-310de3d5.js';
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
2
 
3
- const PickerViewColumn = class {
3
+ let PickerViewColumn = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  }
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-310de3d5.js';
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
2
 
3
- const PickerView = class {
3
+ let PickerView = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  }
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-310de3d5.js';
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
2
 
3
- const Index = class {
3
+ let Index = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  this.percent = 0;
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-310de3d5.js';
2
- import { c as classnames } from './index-ff1b322a.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-165a6222.js';
2
+ import { c as classnames } from './index-85e10859.js';
3
3
 
4
4
  const indexCss = ".rmc-pull-to-refresh-content{-webkit-transform-origin:left top 0px;transform-origin:left top 0px}.rmc-pull-to-refresh-content-wrapper{overflow:hidden}.rmc-pull-to-refresh-transition{-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s, -webkit-transform 0.3s}@-webkit-keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}@keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}.rmc-pull-to-refresh-indicator{text-align:center;height:30px;line-height:10px}.rmc-pull-to-refresh-indicator>div{background-color:grey;width:6px;height:6px;border-radius:100%;margin:3px;-webkit-animation-fill-mode:both;animation-fill-mode:both;display:inline-block;-webkit-animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear}.rmc-pull-to-refresh-indicator>div:nth-child(0){-webkit-animation-delay:-0.1s !important;animation-delay:-0.1s !important}.rmc-pull-to-refresh-indicator>div:nth-child(1){-webkit-animation-delay:-0.2s !important;animation-delay:-0.2s !important}.rmc-pull-to-refresh-indicator>div:nth-child(2){-webkit-animation-delay:-0.3s !important;animation-delay:-0.3s !important}.rmc-pull-to-refresh-down .rmc-pull-to-refresh-indicator{margin-top:-25px}";
5
5
 
@@ -28,7 +28,7 @@ try {
28
28
  }
29
29
  catch (e) { }
30
30
  const willPreventDefault = supportsPassive ? { passive: false } : false;
31
- const PullToRefresh = class {
31
+ let PullToRefresh = class {
32
32
  constructor(hostRef) {
33
33
  registerInstance(this, hostRef);
34
34
  this.onRefresh = createEvent(this, "refresh", 7);
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-310de3d5.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-165a6222.js';
2
2
 
3
- const Radio = class {
3
+ let Radio = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  this.onChange = createEvent(this, "radiochange", 7);
@@ -50,7 +50,7 @@ const Radio = class {
50
50
  }; }
51
51
  };
52
52
 
53
- const RadioGroup = class {
53
+ let RadioGroup = class {
54
54
  constructor(hostRef) {
55
55
  registerInstance(this, hostRef);
56
56
  this.onChange = createEvent(this, "change", 7);
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-310de3d5.js';
1
+ import { r as registerInstance, h, H as Host } from './index-165a6222.js';
2
2
 
3
- const RichText = class {
3
+ let RichText = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  this.renderNode = (node) => {
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-310de3d5.js';
2
- import { c as classnames } from './index-ff1b322a.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-165a6222.js';
2
+ import { c as classnames } from './index-85e10859.js';
3
3
 
4
4
  const indexCss = "taro-scroll-view-core{display:block;width:100%;-webkit-overflow-scrolling:auto}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow-x:scroll;overflow-y:hidden}.taro-scroll-view__scroll-y{overflow-x:hidden;overflow-y:scroll}";
5
5
 
@@ -34,7 +34,7 @@ function debounce(fn, delay) {
34
34
  }, delay);
35
35
  };
36
36
  }
37
- const ScrollView = class {
37
+ let ScrollView = class {
38
38
  constructor(hostRef) {
39
39
  registerInstance(this, hostRef);
40
40
  this.onScroll = createEvent(this, "scroll", 7);
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-310de3d5.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-165a6222.js';
2
2
 
3
- const Slider = class {
3
+ let Slider = class {
4
4
  constructor(hostRef) {
5
5
  registerInstance(this, hostRef);
6
6
  this.onChange = createEvent(this, "change", 7);