@tarojs/components 3.7.0-alpha.2 → 3.7.0-alpha.3

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 (522) hide show
  1. package/dist/cjs/hls-00fec546.js +25673 -0
  2. package/dist/{esm/index-1d8e8acd.js → cjs/index-f6805218.js} +13 -16
  3. package/dist/cjs/loader.cjs.js +3 -3
  4. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  5. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  6. package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
  7. package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
  10. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
  11. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
  13. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  14. package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -1
  15. package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
  16. package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
  17. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +1 -1
  18. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
  20. package/dist/cjs/taro-components.cjs.js +3 -3
  21. package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
  22. package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
  23. package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
  24. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  25. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
  31. package/dist/cjs/taro-image-core.cjs.entry.js +2 -2
  32. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
  33. package/dist/cjs/taro-input-core.cjs.entry.js +7 -12
  34. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  35. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  36. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
  37. package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
  39. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  41. package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
  43. package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
  44. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  45. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +1 -1
  46. package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
  49. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  50. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  52. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  53. package/dist/cjs/taro-picker-core_2.cjs.entry.js +24 -21
  54. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +2 -2
  55. package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
  56. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +2 -2
  57. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  58. package/dist/cjs/taro-rich-text-core.cjs.entry.js +7 -1
  59. package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
  60. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
  61. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
  62. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +2 -2
  63. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  64. package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
  65. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  66. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
  67. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
  68. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +2 -2
  69. package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
  70. package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
  71. package/dist/cjs/taro-tabbar.cjs.entry.js +2 -2
  72. package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
  73. package/dist/cjs/taro-text-core.cjs.entry.js +10 -7
  74. package/dist/cjs/taro-textarea-core.cjs.entry.js +2 -9
  75. package/dist/cjs/taro-video-control_3.cjs.entry.js +4 -4
  76. package/dist/cjs/taro-view-core.cjs.entry.js +2 -2
  77. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  78. package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
  79. package/dist/collection/collection-manifest.json +1 -1
  80. package/dist/collection/components/checkbox/checkbox.js +4 -4
  81. package/dist/collection/components/input/input.js +9 -13
  82. package/dist/collection/components/picker/picker-group.js +29 -26
  83. package/dist/collection/components/picker/picker.js +42 -16
  84. package/dist/collection/components/rich-text/rich-text.js +71 -0
  85. package/dist/collection/components/rich-text/style/index.css +16 -0
  86. package/dist/collection/components/text/style/index.css +20 -3
  87. package/dist/collection/components/text/text.js +66 -6
  88. package/dist/collection/components/textarea/textarea.js +4 -10
  89. package/dist/collection/components/video/video.js +1 -1
  90. package/dist/components/hls.js +22697 -24646
  91. package/dist/components/index2.js +12 -17
  92. package/dist/components/picker-group.js +9 -9
  93. package/dist/components/taro-checkbox-core.js +1 -1
  94. package/dist/components/taro-input-core.js +7 -12
  95. package/dist/components/taro-picker-core.js +16 -13
  96. package/dist/components/taro-rich-text-core.js +10 -1
  97. package/dist/components/taro-text-core.js +13 -7
  98. package/dist/components/taro-textarea-core.js +2 -9
  99. package/dist/components/taro-video-core.js +2 -2
  100. package/dist/esm/hls-4018c7ea.js +25671 -0
  101. package/dist/{cjs/index-f9d21cc5.js → esm/index-c3e4004b.js} +12 -22
  102. package/dist/esm/loader.js +4 -4
  103. package/dist/esm/taro-ad-core.entry.js +1 -1
  104. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  105. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  106. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  107. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  108. package/dist/esm/taro-audio-core.entry.js +1 -1
  109. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  110. package/dist/esm/taro-block-core.entry.js +1 -1
  111. package/dist/esm/taro-button-core.entry.js +2 -2
  112. package/dist/esm/taro-camera-core.entry.js +1 -1
  113. package/dist/esm/taro-canvas-core.entry.js +1 -1
  114. package/dist/esm/taro-channel-live-core.entry.js +1 -1
  115. package/dist/esm/taro-channel-video-core.entry.js +1 -1
  116. package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
  117. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  118. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  119. package/dist/esm/taro-components.js +4 -4
  120. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  121. package/dist/esm/taro-cover-image-core.entry.js +1 -1
  122. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  123. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  124. package/dist/esm/taro-editor-core.entry.js +1 -1
  125. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  126. package/dist/esm/taro-form-core.entry.js +1 -1
  127. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  128. package/dist/esm/taro-grid-view-core.entry.js +1 -1
  129. package/dist/esm/taro-icon-core.entry.js +2 -2
  130. package/dist/esm/taro-image-core.entry.js +2 -2
  131. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  132. package/dist/esm/taro-input-core.entry.js +7 -12
  133. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  134. package/dist/esm/taro-label-core.entry.js +1 -1
  135. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  136. package/dist/esm/taro-like-core.entry.js +1 -1
  137. package/dist/esm/taro-list-view-core.entry.js +1 -1
  138. package/dist/esm/taro-live-player-core.entry.js +1 -1
  139. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  140. package/dist/esm/taro-login-core.entry.js +1 -1
  141. package/dist/esm/taro-lottie-core.entry.js +1 -1
  142. package/dist/esm/taro-map-core.entry.js +1 -1
  143. package/dist/esm/taro-match-media-core.entry.js +1 -1
  144. package/dist/esm/taro-movable-area-core_2.entry.js +1 -1
  145. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  146. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  147. package/dist/esm/taro-navigator-core.entry.js +2 -2
  148. package/dist/esm/taro-official-account-core.entry.js +1 -1
  149. package/dist/esm/taro-open-data-core.entry.js +1 -1
  150. package/dist/esm/taro-page-container-core.entry.js +1 -1
  151. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  152. package/dist/esm/taro-picker-core_2.entry.js +24 -21
  153. package/dist/esm/taro-picker-view-column-core_2.entry.js +2 -2
  154. package/dist/esm/taro-progress-core.entry.js +1 -1
  155. package/dist/esm/taro-pull-to-refresh.entry.js +2 -2
  156. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  157. package/dist/esm/taro-rich-text-core.entry.js +7 -1
  158. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  159. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  160. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  161. package/dist/esm/taro-scroll-view-core.entry.js +2 -2
  162. package/dist/esm/taro-share-element-core.entry.js +1 -1
  163. package/dist/esm/taro-slider-core.entry.js +1 -1
  164. package/dist/esm/taro-slot-core.entry.js +1 -1
  165. package/dist/esm/taro-sticky-header-core.entry.js +1 -1
  166. package/dist/esm/taro-sticky-section-core.entry.js +1 -1
  167. package/dist/esm/taro-swiper-core_2.entry.js +2 -2
  168. package/dist/esm/taro-switch-core.entry.js +1 -1
  169. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  170. package/dist/esm/taro-tabbar.entry.js +2 -2
  171. package/dist/esm/taro-tabs-core.entry.js +1 -1
  172. package/dist/esm/taro-text-core.entry.js +10 -7
  173. package/dist/esm/taro-textarea-core.entry.js +2 -9
  174. package/dist/esm/taro-video-control_3.entry.js +4 -4
  175. package/dist/esm/taro-view-core.entry.js +2 -2
  176. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  177. package/dist/esm/taro-web-view-core.entry.js +1 -1
  178. package/dist/esm-es5/hls-4018c7ea.js +1 -0
  179. package/dist/esm-es5/index-c3e4004b.js +7 -0
  180. package/dist/esm-es5/loader.js +1 -1
  181. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  182. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  183. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  184. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  185. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  186. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  187. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  188. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  189. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  190. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  191. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  192. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  193. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  194. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  195. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  196. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  197. package/dist/esm-es5/taro-components.js +1 -1
  198. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  199. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  200. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  201. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  202. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  203. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  204. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  205. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  206. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  207. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  208. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  209. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  210. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  211. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  212. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  213. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  214. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  215. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  216. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  217. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  218. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  219. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  220. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  221. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  222. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  223. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  224. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  225. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  226. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  227. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  228. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  229. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  230. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  231. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  232. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  233. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  234. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  235. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  236. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  237. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  238. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  239. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  240. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  241. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  242. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  243. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  244. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  245. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  246. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  247. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  248. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  249. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  250. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  251. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  252. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  253. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  254. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  255. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  256. package/dist/taro-components/p-01e163f8.system.entry.js +1 -0
  257. package/dist/taro-components/{p-4402972b.system.entry.js → p-0517f107.system.entry.js} +1 -1
  258. package/dist/taro-components/{p-08bb8dfc.system.entry.js → p-052da7f0.system.entry.js} +1 -1
  259. package/dist/taro-components/{p-8027e1c6.system.entry.js → p-07302165.system.entry.js} +1 -1
  260. package/dist/taro-components/p-085076c5.system.entry.js +1 -0
  261. package/dist/taro-components/{p-90e4274e.entry.js → p-091a7153.entry.js} +1 -1
  262. package/dist/taro-components/{p-623b3eb6.system.entry.js → p-0cf235de.system.entry.js} +1 -1
  263. package/dist/taro-components/{p-70b5e81e.system.entry.js → p-0d7a705b.system.entry.js} +1 -1
  264. package/dist/taro-components/p-0fa96970.entry.js +1 -0
  265. package/dist/taro-components/{p-80f3d88d.entry.js → p-0fe855c6.entry.js} +1 -1
  266. package/dist/taro-components/{p-59590806.system.entry.js → p-117633e9.system.entry.js} +1 -1
  267. package/dist/taro-components/{p-d42e41ff.entry.js → p-137531b6.entry.js} +1 -1
  268. package/dist/taro-components/{p-8b8a8e39.entry.js → p-139e6251.entry.js} +1 -1
  269. package/dist/taro-components/{p-1e8c8ae1.entry.js → p-1404c119.entry.js} +1 -1
  270. package/dist/taro-components/{p-c6e6dab1.system.entry.js → p-1974e52e.system.entry.js} +1 -1
  271. package/dist/taro-components/{p-6dae898a.system.entry.js → p-1991cc1a.system.entry.js} +1 -1
  272. package/dist/taro-components/{p-fa36fe8e.system.entry.js → p-1b3d41d3.system.entry.js} +1 -1
  273. package/dist/taro-components/p-1c4e3899.entry.js +1 -0
  274. package/dist/taro-components/{p-88d64daa.system.entry.js → p-1e739fcb.system.entry.js} +1 -1
  275. package/dist/taro-components/{p-c4fdb669.system.entry.js → p-1f39576a.system.entry.js} +1 -1
  276. package/dist/taro-components/p-204bd245.entry.js +1 -0
  277. package/dist/taro-components/{p-6f214fc3.system.entry.js → p-208e438c.system.entry.js} +1 -1
  278. package/dist/taro-components/{p-bac3deb0.system.entry.js → p-227e33fc.system.entry.js} +1 -1
  279. package/dist/taro-components/{p-1b501f32.system.entry.js → p-2a071adf.system.entry.js} +1 -1
  280. package/dist/taro-components/{p-c6385fc2.system.entry.js → p-2accb92c.system.entry.js} +1 -1
  281. package/dist/taro-components/{p-38de410e.entry.js → p-2af69b72.entry.js} +1 -1
  282. package/dist/taro-components/{p-b2bb02d7.system.entry.js → p-2d1b4dcc.system.entry.js} +1 -1
  283. package/dist/taro-components/p-2ec68968.system.js +7 -0
  284. package/dist/taro-components/{p-4542b767.entry.js → p-30805bdf.entry.js} +1 -1
  285. package/dist/taro-components/{p-4190e20b.system.entry.js → p-3094bda6.system.entry.js} +1 -1
  286. package/dist/taro-components/{p-e753b776.entry.js → p-355e4dbc.entry.js} +1 -1
  287. package/dist/taro-components/{p-7dd9c8da.system.entry.js → p-357ba712.system.entry.js} +1 -1
  288. package/dist/taro-components/{p-c3d3eca2.entry.js → p-38ee526a.entry.js} +1 -1
  289. package/dist/taro-components/{p-dfc405a5.entry.js → p-3d8c9dfb.entry.js} +1 -1
  290. package/dist/taro-components/{p-38a51bd2.entry.js → p-407ca16e.entry.js} +1 -1
  291. package/dist/taro-components/{p-69f6784d.system.entry.js → p-416cc4dd.system.entry.js} +1 -1
  292. package/dist/taro-components/p-425c209a.entry.js +1 -0
  293. package/dist/taro-components/{p-58690684.entry.js → p-43720011.entry.js} +1 -1
  294. package/dist/taro-components/p-43efbf30.js +1 -0
  295. package/dist/taro-components/{p-27c4878c.entry.js → p-469ee343.entry.js} +1 -1
  296. package/dist/taro-components/{p-1be83ed3.entry.js → p-46b8f89b.entry.js} +1 -1
  297. package/dist/taro-components/{p-69fa7272.system.entry.js → p-473afc8e.system.entry.js} +1 -1
  298. package/dist/taro-components/p-486d0ec7.entry.js +1 -0
  299. package/dist/taro-components/{p-c2391de5.entry.js → p-4874f671.entry.js} +1 -1
  300. package/dist/taro-components/{p-c4dd85b6.entry.js → p-50902cd0.entry.js} +1 -1
  301. package/dist/taro-components/{p-74bf8246.system.entry.js → p-53ef8a6c.system.entry.js} +1 -1
  302. package/dist/taro-components/{p-c3d35ae5.entry.js → p-5613907c.entry.js} +1 -1
  303. package/dist/taro-components/{p-9d4fa0d3.system.entry.js → p-5640e9f4.system.entry.js} +1 -1
  304. package/dist/taro-components/{p-f9ac515e.system.entry.js → p-57b9943c.system.entry.js} +1 -1
  305. package/dist/taro-components/{p-7c1fc8f5.system.entry.js → p-5c1e6b1c.system.entry.js} +1 -1
  306. package/dist/taro-components/{p-97782cdd.system.entry.js → p-5dab46cd.system.entry.js} +1 -1
  307. package/dist/taro-components/{p-b1c972e2.system.entry.js → p-6127b1b6.system.entry.js} +1 -1
  308. package/dist/taro-components/{p-dcb5b505.system.entry.js → p-657cb6e4.system.entry.js} +1 -1
  309. package/dist/taro-components/{p-f499c0a0.system.entry.js → p-66b0b419.system.entry.js} +1 -1
  310. package/dist/taro-components/p-66f7eea6.entry.js +1 -0
  311. package/dist/taro-components/{p-46244579.system.entry.js → p-69cd1f2a.system.entry.js} +1 -1
  312. package/dist/taro-components/p-6cde180b.entry.js +1 -0
  313. package/dist/taro-components/{p-bba8c3a7.system.entry.js → p-6d4b7e5c.system.entry.js} +1 -1
  314. package/dist/taro-components/{p-11936d9a.entry.js → p-6db97374.entry.js} +1 -1
  315. package/dist/taro-components/p-6e115968.entry.js +1 -0
  316. package/dist/taro-components/{p-badfb3be.entry.js → p-6f84e936.entry.js} +1 -1
  317. package/dist/taro-components/{p-3c5ac930.entry.js → p-7152d85b.entry.js} +1 -1
  318. package/dist/taro-components/{p-4e77bdea.entry.js → p-719e1eaf.entry.js} +1 -1
  319. package/dist/taro-components/p-71b54f06.entry.js +1 -0
  320. package/dist/taro-components/p-72b118b0.entry.js +1 -0
  321. package/dist/taro-components/p-78e4805e.entry.js +1 -0
  322. package/dist/taro-components/{p-8e5cc8fe.system.entry.js → p-79c3fde3.system.entry.js} +1 -1
  323. package/dist/taro-components/p-7b3b8057.entry.js +1 -0
  324. package/dist/taro-components/p-7d635413.entry.js +1 -0
  325. package/dist/taro-components/{p-4d0da795.system.entry.js → p-7e8e355b.system.entry.js} +1 -1
  326. package/dist/taro-components/{p-4915fdc1.system.entry.js → p-7ff654e6.system.entry.js} +1 -1
  327. package/dist/taro-components/p-801f09b8.entry.js +1 -0
  328. package/dist/taro-components/{p-26889f3c.system.entry.js → p-81f2ad70.system.entry.js} +1 -1
  329. package/dist/taro-components/{p-4514dc53.system.entry.js → p-8201ee31.system.entry.js} +1 -1
  330. package/dist/taro-components/{p-ef7e7d73.system.entry.js → p-85a7daeb.system.entry.js} +1 -1
  331. package/dist/taro-components/p-86280254.entry.js +1 -0
  332. package/dist/taro-components/{p-4d7182f4.system.entry.js → p-88d2b41b.system.entry.js} +1 -1
  333. package/dist/taro-components/{p-0a165ad3.system.entry.js → p-898db637.system.entry.js} +1 -1
  334. package/dist/taro-components/{p-05c757b7.entry.js → p-8c0b740e.entry.js} +1 -1
  335. package/dist/taro-components/{p-95f70aea.system.entry.js → p-90333d0a.system.entry.js} +1 -1
  336. package/dist/taro-components/p-9046110a.entry.js +1 -0
  337. package/dist/taro-components/{p-d797cdc4.entry.js → p-904df510.entry.js} +1 -1
  338. package/dist/taro-components/{p-b1249ebb.system.entry.js → p-907d9d01.system.entry.js} +1 -1
  339. package/dist/taro-components/{p-b5ad2aec.entry.js → p-962f28cb.entry.js} +1 -1
  340. package/dist/taro-components/{p-23cb8a7f.entry.js → p-968b7c1d.entry.js} +1 -1
  341. package/dist/taro-components/{p-58877ef2.system.entry.js → p-98f9f50f.system.entry.js} +1 -1
  342. package/dist/taro-components/p-9a5fbb2e.entry.js +1 -0
  343. package/dist/taro-components/{p-51b6fc09.system.entry.js → p-9ac947ac.system.entry.js} +1 -1
  344. package/dist/taro-components/{p-369fb262.entry.js → p-9aeb7995.entry.js} +1 -1
  345. package/dist/taro-components/{p-05bc0fce.entry.js → p-9b6550fc.entry.js} +1 -1
  346. package/dist/taro-components/{p-0a9b984e.system.entry.js → p-9d9ede17.system.entry.js} +1 -1
  347. package/dist/taro-components/p-9edea30f.system.entry.js +1 -0
  348. package/dist/taro-components/{p-7722f33f.entry.js → p-9fe49bab.entry.js} +1 -1
  349. package/dist/taro-components/{p-acd9a9da.entry.js → p-a1763153.entry.js} +1 -1
  350. package/dist/taro-components/{p-f44e975b.entry.js → p-a20ecd3b.entry.js} +1 -1
  351. package/dist/taro-components/p-a20fed0a.entry.js +1 -0
  352. package/dist/taro-components/p-a3a1a779.entry.js +1 -0
  353. package/dist/taro-components/{p-f671ed7d.entry.js → p-a8565231.entry.js} +1 -1
  354. package/dist/taro-components/{p-9e8619a6.system.entry.js → p-a8925584.system.entry.js} +1 -1
  355. package/dist/taro-components/p-a8e7cf87.entry.js +1 -0
  356. package/dist/taro-components/p-a940a65b.entry.js +1 -0
  357. package/dist/taro-components/{p-be6050fd.system.entry.js → p-a96b4b19.system.entry.js} +1 -1
  358. package/dist/taro-components/{p-da5cdbf5.system.entry.js → p-ab726c20.system.entry.js} +1 -1
  359. package/dist/taro-components/{p-895cd7c9.system.entry.js → p-af3fa859.system.entry.js} +1 -1
  360. package/dist/taro-components/{p-8d037fc0.entry.js → p-af8e521a.entry.js} +1 -1
  361. package/dist/taro-components/p-af9ef8b4.entry.js +1 -0
  362. package/dist/taro-components/{p-6f048097.system.entry.js → p-afb3895c.system.entry.js} +1 -1
  363. package/dist/taro-components/{p-58b7e960.entry.js → p-b027181b.entry.js} +1 -1
  364. package/dist/taro-components/{p-2024e133.system.entry.js → p-b1d2b575.system.entry.js} +1 -1
  365. package/dist/taro-components/{p-dccf1ae9.entry.js → p-b235e43c.entry.js} +1 -1
  366. package/dist/taro-components/p-b4ea72ea.entry.js +1 -0
  367. package/dist/taro-components/p-b4f3d0ab.entry.js +1 -0
  368. package/dist/taro-components/{p-ae3f1ed4.system.entry.js → p-b5b30493.system.entry.js} +1 -1
  369. package/dist/taro-components/{p-f9c26678.entry.js → p-b641e598.entry.js} +1 -1
  370. package/dist/taro-components/{p-78c30850.system.entry.js → p-b6d4634f.system.entry.js} +1 -1
  371. package/dist/taro-components/{p-c70dd956.system.entry.js → p-bcf80126.system.entry.js} +1 -1
  372. package/dist/taro-components/p-bdc30301.entry.js +1 -0
  373. package/dist/taro-components/{p-c2c498d9.entry.js → p-bf0e0394.entry.js} +1 -1
  374. package/dist/taro-components/{p-e3f8265d.system.entry.js → p-c1073ed6.system.entry.js} +1 -1
  375. package/dist/taro-components/p-c11a42e0.entry.js +1 -0
  376. package/dist/taro-components/p-c39a46ca.system.entry.js +1 -0
  377. package/dist/taro-components/{p-1493866a.entry.js → p-c4b8851b.entry.js} +1 -1
  378. package/dist/taro-components/{p-9318da32.entry.js → p-cc164fa3.entry.js} +1 -1
  379. package/dist/taro-components/{p-736053bb.system.entry.js → p-cc70bb7a.system.entry.js} +1 -1
  380. package/dist/taro-components/{p-8d2101be.system.entry.js → p-cdb76676.system.entry.js} +1 -1
  381. package/dist/taro-components/p-d34a6c04.entry.js +1 -0
  382. package/dist/taro-components/{p-7df9de66.system.entry.js → p-da239b8b.system.entry.js} +1 -1
  383. package/dist/taro-components/p-de951a46.js +7 -0
  384. package/dist/taro-components/p-e09451c5.system.entry.js +1 -0
  385. package/dist/taro-components/{p-79c41bc2.entry.js → p-e33f3592.entry.js} +1 -1
  386. package/dist/taro-components/p-e3480c4c.entry.js +1 -0
  387. package/dist/taro-components/{p-087bf23a.system.entry.js → p-e53508c1.system.entry.js} +1 -1
  388. package/dist/taro-components/{p-10be7fb5.system.entry.js → p-e6481671.system.entry.js} +1 -1
  389. package/dist/taro-components/{p-c33733b3.system.entry.js → p-e67755f0.system.entry.js} +1 -1
  390. package/dist/taro-components/p-e78775ce.system.js +1 -0
  391. package/dist/taro-components/{p-518146fd.system.entry.js → p-eaa370a9.system.entry.js} +1 -1
  392. package/dist/taro-components/p-ebc7b6fc.entry.js +1 -0
  393. package/dist/taro-components/{p-02aa7366.system.entry.js → p-ebdd350f.system.entry.js} +1 -1
  394. package/dist/taro-components/p-ed331c06.system.js +1 -0
  395. package/dist/taro-components/p-f02b6f70.entry.js +1 -0
  396. package/dist/taro-components/{p-9df17ea6.entry.js → p-f0340edf.entry.js} +1 -1
  397. package/dist/taro-components/{p-2bac359b.entry.js → p-f07cd1de.entry.js} +1 -1
  398. package/dist/taro-components/{p-c586a796.system.entry.js → p-f11c9c37.system.entry.js} +1 -1
  399. package/dist/taro-components/{p-1941d333.system.entry.js → p-f420680c.system.entry.js} +1 -1
  400. package/dist/taro-components/p-f533bc2f.entry.js +1 -0
  401. package/dist/taro-components/{p-30fe0e81.system.entry.js → p-f534057e.system.entry.js} +1 -1
  402. package/dist/taro-components/p-f6f6a996.system.entry.js +1 -0
  403. package/dist/taro-components/{p-17302fe9.system.entry.js → p-f7927285.system.entry.js} +1 -1
  404. package/dist/taro-components/p-f7b32c6b.entry.js +1 -0
  405. package/dist/taro-components/{p-33223303.system.entry.js → p-fa0f6dab.system.entry.js} +1 -1
  406. package/dist/taro-components/{p-1c320250.system.entry.js → p-fa6c022a.system.entry.js} +1 -1
  407. package/dist/taro-components/p-fb983850.entry.js +1 -0
  408. package/dist/taro-components/{p-0939fd26.system.entry.js → p-fd7ff0f3.system.entry.js} +1 -1
  409. package/dist/taro-components/taro-components.css +1 -1
  410. package/dist/taro-components/taro-components.esm.js +1 -1
  411. package/dist/taro-components/taro-components.js +1 -1
  412. package/dist/types/components/checkbox/checkbox.d.ts +1 -1
  413. package/dist/types/components/input/input.d.ts +2 -2
  414. package/dist/types/components/picker/picker-group.d.ts +3 -3
  415. package/dist/types/components/picker/picker.d.ts +7 -2
  416. package/dist/types/components/rich-text/rich-text.d.ts +4 -0
  417. package/dist/types/components/text/text.d.ts +4 -0
  418. package/dist/types/components/textarea/textarea.d.ts +0 -1
  419. package/dist/types/components.d.ts +26 -8
  420. package/lib/react/component-lib/index.d.ts +1 -1
  421. package/lib/react/component-lib/index.js +50 -50
  422. package/lib/react/component-lib/index.js.map +1 -1
  423. package/lib/react/component-lib/reactify-wc.js +1 -1
  424. package/lib/react/component-lib/reactify-wc.js.map +1 -1
  425. package/lib/react/components.d.ts +81 -83
  426. package/lib/react/components.js +2 -2
  427. package/lib/react/components.js.map +1 -1
  428. package/lib/react/helper.d.ts +1 -1
  429. package/lib/react/index.d.ts +1 -1
  430. package/lib/react/react-component-lib/createComponent.d.ts +1 -1
  431. package/lib/react/react-component-lib/createOverlayComponent.d.ts +2 -2
  432. package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
  433. package/lib/react/react-component-lib/index.d.ts +2 -2
  434. package/lib/react/react-component-lib/utils/attachProps.js +1 -4
  435. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
  436. package/lib/react/react-component-lib/utils/index.d.ts +3 -3
  437. package/lib/vue2/components.d.ts +9 -3
  438. package/lib/vue2/components.js +12 -6
  439. package/lib/vue2/components.js.map +1 -1
  440. package/lib/vue2/index.d.ts +1 -1
  441. package/lib/vue2/vue-component-lib/utils.js.map +1 -1
  442. package/lib/vue3/component-lib/index.d.ts +4 -4
  443. package/lib/vue3/component-lib/index.js +48 -48
  444. package/lib/vue3/component-lib/index.js.map +1 -1
  445. package/lib/vue3/components.d.ts +81 -81
  446. package/lib/vue3/components.js +13 -6
  447. package/lib/vue3/components.js.map +1 -1
  448. package/lib/vue3/index.d.ts +1 -1
  449. package/lib/vue3/vue-component-lib/utils.js.map +1 -1
  450. package/package.json +13 -11
  451. package/types/Button.d.ts +9 -7
  452. package/types/ChannelVideo.d.ts +4 -0
  453. package/types/Form.d.ts +11 -0
  454. package/types/Image.d.ts +5 -0
  455. package/types/Input.d.ts +6 -1
  456. package/types/LivePlayer.d.ts +17 -0
  457. package/types/LivePusher.d.ts +10 -0
  458. package/types/Picker.d.ts +9 -0
  459. package/types/Progress.d.ts +2 -2
  460. package/types/RichText.d.ts +6 -4
  461. package/types/ScrollView.d.ts +5 -5
  462. package/types/ShareElement.d.ts +39 -0
  463. package/types/StickySection.d.ts +0 -1
  464. package/types/Swiper.d.ts +10 -0
  465. package/types/Text.d.ts +8 -3
  466. package/types/Textarea.d.ts +10 -3
  467. package/types/Video.d.ts +12 -0
  468. package/types/View.d.ts +1 -1
  469. package/virtual-list/index.js +2 -2
  470. package/dist/cjs/hls-67cbc62d.js +0 -27622
  471. package/dist/esm/hls-221423a1.js +0 -27620
  472. package/dist/esm-es5/hls-221423a1.js +0 -365
  473. package/dist/esm-es5/index-1d8e8acd.js +0 -7
  474. package/dist/taro-components/p-0393ed55.entry.js +0 -1
  475. package/dist/taro-components/p-07293238.entry.js +0 -1
  476. package/dist/taro-components/p-0b8b3af5.entry.js +0 -1
  477. package/dist/taro-components/p-1249cb09.entry.js +0 -1
  478. package/dist/taro-components/p-1385d50f.entry.js +0 -1
  479. package/dist/taro-components/p-16e03200.entry.js +0 -1
  480. package/dist/taro-components/p-1743a04b.system.js +0 -365
  481. package/dist/taro-components/p-1c446c65.system.js +0 -1
  482. package/dist/taro-components/p-22dc57d4.entry.js +0 -1
  483. package/dist/taro-components/p-2e28cb1c.entry.js +0 -1
  484. package/dist/taro-components/p-2f7dba29.entry.js +0 -1
  485. package/dist/taro-components/p-30f32fa2.system.entry.js +0 -1
  486. package/dist/taro-components/p-39685396.system.entry.js +0 -1
  487. package/dist/taro-components/p-3c91f59b.entry.js +0 -1
  488. package/dist/taro-components/p-3d60bd58.entry.js +0 -1
  489. package/dist/taro-components/p-429a0f99.entry.js +0 -1
  490. package/dist/taro-components/p-42bcb98a.entry.js +0 -1
  491. package/dist/taro-components/p-491c6272.system.entry.js +0 -1
  492. package/dist/taro-components/p-5931c82e.entry.js +0 -1
  493. package/dist/taro-components/p-61f225ef.system.js +0 -7
  494. package/dist/taro-components/p-651586f8.system.entry.js +0 -1
  495. package/dist/taro-components/p-6de6eb4e.entry.js +0 -1
  496. package/dist/taro-components/p-7377a117.entry.js +0 -1
  497. package/dist/taro-components/p-744a6b99.entry.js +0 -1
  498. package/dist/taro-components/p-76724e58.js +0 -7
  499. package/dist/taro-components/p-80970d8f.entry.js +0 -1
  500. package/dist/taro-components/p-8feeb7ce.entry.js +0 -1
  501. package/dist/taro-components/p-a294e169.entry.js +0 -1
  502. package/dist/taro-components/p-a5afdc47.system.entry.js +0 -1
  503. package/dist/taro-components/p-a6d2e81b.entry.js +0 -1
  504. package/dist/taro-components/p-a9b51167.entry.js +0 -1
  505. package/dist/taro-components/p-ae8fd8c8.entry.js +0 -1
  506. package/dist/taro-components/p-affb28de.entry.js +0 -1
  507. package/dist/taro-components/p-b16eddaa.entry.js +0 -1
  508. package/dist/taro-components/p-b708e9fe.entry.js +0 -1
  509. package/dist/taro-components/p-beba1657.entry.js +0 -1
  510. package/dist/taro-components/p-d5234e7e.js +0 -365
  511. package/dist/taro-components/p-e2f2fbe5.entry.js +0 -1
  512. package/dist/taro-components/p-e8b1ea64.entry.js +0 -1
  513. package/dist/taro-components/p-e9eeb060.entry.js +0 -1
  514. package/dist/taro-components/p-efcfdb97.entry.js +0 -1
  515. package/dist/taro-components/p-fb585037.entry.js +0 -1
  516. package/dist/taro-components/p-fcdac6ec.system.entry.js +0 -1
  517. package/dist/taro-components/p-fdecdc25.entry.js +0 -1
  518. /package/dist/cjs/{index-e1b469cd.js → index-e751dfe3.js} +0 -0
  519. /package/dist/esm/{index-c948674f.js → index-980f930f.js} +0 -0
  520. /package/dist/esm-es5/{index-c948674f.js → index-980f930f.js} +0 -0
  521. /package/dist/taro-components/{p-1a0e1932.system.js → p-7e6b54cb.system.js} +0 -0
  522. /package/dist/taro-components/{p-78e3ebb9.js → p-9137dcab.js} +0 -0
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e1b469cd.js');
6
- const index$2 = require('./index-f9d21cc5.js');
5
+ const index = require('./index-e751dfe3.js');
6
+ const index$2 = require('./index-f6805218.js');
7
7
  const index$1 = require('./index-dfd8638f.js');
8
8
 
9
9
  const formatTime = (time) => {
@@ -275,8 +275,8 @@ const Video = class {
275
275
  const { src, videoRef } = this;
276
276
  if (isHls(src)) {
277
277
  Promise.resolve().then(function () { return require(
278
- /* webpackMode: "weak" */
279
- './hls-67cbc62d.js'); }).then(function (n) { return n.hls; }).then(e => {
278
+ /* webpackExports: ["default"] */
279
+ './hls-00fec546.js'); }).then(e => {
280
280
  const Hls = e.default;
281
281
  this.HLS = Hls;
282
282
  if (Hls.isSupported()) {
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e1b469cd.js');
6
- const index$1 = require('./index-f9d21cc5.js');
5
+ const index = require('./index-e751dfe3.js');
6
+ const index$1 = require('./index-f6805218.js');
7
7
 
8
8
  const indexCss = "body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";
9
9
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e1b469cd.js');
5
+ const index = require('./index-e751dfe3.js');
6
6
  const helper = require('./helper-db78e01a.js');
7
7
  require('@tarojs/taro');
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-e1b469cd.js');
5
+ const index = require('./index-e751dfe3.js');
6
6
 
7
7
  const indexCss = "iframe{border:none}.taro-webview{position:fixed;top:0;bottom:0;z-index:999;width:100%;height:100%}";
8
8
 
@@ -85,7 +85,7 @@
85
85
  ],
86
86
  "compiler": {
87
87
  "name": "@stencil/core",
88
- "version": "2.22.2",
88
+ "version": "2.22.3",
89
89
  "typescriptVersion": "4.9.4"
90
90
  },
91
91
  "collections": [],
@@ -69,11 +69,11 @@ export class Checkbox {
69
69
  "reflect": false
70
70
  },
71
71
  "value": {
72
- "type": "string",
73
- "mutable": false,
72
+ "type": "any",
73
+ "mutable": true,
74
74
  "complexType": {
75
- "original": "string",
76
- "resolved": "string",
75
+ "original": "string | number",
76
+ "resolved": "number | string",
77
77
  "references": {}
78
78
  },
79
79
  "required": false,
@@ -114,7 +114,7 @@ export class Input {
114
114
  this.isOnComposition = true;
115
115
  }
116
116
  };
117
- this.handleBeforeinput = (e) => {
117
+ this.handleBeforeInput = (e) => {
118
118
  if (!e.data)
119
119
  return;
120
120
  const isNumber = e.data && /[0-9]/.test(e.data);
@@ -127,7 +127,7 @@ export class Input {
127
127
  }
128
128
  }
129
129
  };
130
- this.value = undefined;
130
+ this.value = '';
131
131
  this.type = undefined;
132
132
  this.password = false;
133
133
  this.placeholder = undefined;
@@ -164,14 +164,9 @@ export class Input {
164
164
  else {
165
165
  (_b = this.inputRef) === null || _b === void 0 ? void 0 : _b.addEventListener('compositionstart', this.handleComposition);
166
166
  (_c = this.inputRef) === null || _c === void 0 ? void 0 : _c.addEventListener('compositionend', this.handleComposition);
167
- (_d = this.inputRef) === null || _d === void 0 ? void 0 : _d.addEventListener('beforeinput', this.handleBeforeinput);
168
- (_e = this.inputRef) === null || _e === void 0 ? void 0 : _e.addEventListener('textInput', this.handleBeforeinput);
167
+ (_d = this.inputRef) === null || _d === void 0 ? void 0 : _d.addEventListener('beforeinput', this.handleBeforeInput);
168
+ (_e = this.inputRef) === null || _e === void 0 ? void 0 : _e.addEventListener('textInput', this.handleBeforeInput);
169
169
  }
170
- Object.defineProperty(this.el, 'value', {
171
- get: () => this.inputRef.value,
172
- set: value => this.value !== value && (this.value = value),
173
- configurable: true
174
- });
175
170
  }
176
171
  disconnectedCallback() {
177
172
  var _a, _b, _c, _d, _e;
@@ -181,8 +176,8 @@ export class Input {
181
176
  else {
182
177
  (_b = this.inputRef) === null || _b === void 0 ? void 0 : _b.removeEventListener('compositionstart', this.handleComposition);
183
178
  (_c = this.inputRef) === null || _c === void 0 ? void 0 : _c.removeEventListener('compositionend', this.handleComposition);
184
- (_d = this.inputRef) === null || _d === void 0 ? void 0 : _d.removeEventListener('beforeinput', this.handleBeforeinput);
185
- (_e = this.inputRef) === null || _e === void 0 ? void 0 : _e.removeEventListener('textInput', this.handleBeforeinput);
179
+ (_d = this.inputRef) === null || _d === void 0 ? void 0 : _d.removeEventListener('beforeinput', this.handleBeforeInput);
180
+ (_e = this.inputRef) === null || _e === void 0 ? void 0 : _e.removeEventListener('textInput', this.handleBeforeInput);
186
181
  }
187
182
  }
188
183
  render() {
@@ -221,7 +216,8 @@ export class Input {
221
216
  "text": ""
222
217
  },
223
218
  "attribute": "value",
224
- "reflect": false
219
+ "reflect": false,
220
+ "defaultValue": "''"
225
221
  },
226
222
  "type": {
227
223
  "type": "string",
@@ -326,7 +322,7 @@ export class Input {
326
322
  "text": ""
327
323
  },
328
324
  "attribute": "focus",
329
- "reflect": true,
325
+ "reflect": false,
330
326
  "defaultValue": "false"
331
327
  },
332
328
  "confirmType": {
@@ -1,4 +1,4 @@
1
- import { h, Host } from '@stencil/core';
1
+ import { Host, h } from '@stencil/core';
2
2
  import { TOP, LINE_HEIGHT, MASK_HEIGHT } from './constant';
3
3
  export class TaroPickerGroup {
4
4
  constructor() {
@@ -8,7 +8,6 @@ export class TaroPickerGroup {
8
8
  this.height = undefined;
9
9
  this.columnId = undefined;
10
10
  this.updateHeight = undefined;
11
- this.onColumnChange = undefined;
12
11
  this.updateDay = undefined;
13
12
  this.startY = undefined;
14
13
  this.preY = undefined;
@@ -78,7 +77,7 @@ export class TaroPickerGroup {
78
77
  this.updateHeight(newPos, this.columnId);
79
78
  }
80
79
  async handleMoveEnd(clientY) {
81
- const { mode, range, height, updateHeight, onColumnChange, columnId } = this;
80
+ const { mode, range, height, updateHeight, columnId } = this;
82
81
  const max = 0;
83
82
  const min = -LINE_HEIGHT * (range.length - 1);
84
83
  const endY = clientY;
@@ -129,7 +128,7 @@ export class TaroPickerGroup {
129
128
  // 先按公式算出 index, 再用此 index 算出一个整数高度
130
129
  const index = Math.round(absoluteHeight / -LINE_HEIGHT);
131
130
  const relativeHeight = TOP - LINE_HEIGHT * index;
132
- if (this.mode === 'date') {
131
+ if (this.mode === 'date' && typeof this.updateDay === 'function') {
133
132
  if (this.columnId === '0') {
134
133
  this.updateDay(+this.range[index].replace(/[^0-9]/gi, ''), 0);
135
134
  }
@@ -141,14 +140,16 @@ export class TaroPickerGroup {
141
140
  }
142
141
  }
143
142
  updateHeight(relativeHeight, columnId, mode === 'time');
144
- onColumnChange && onColumnChange(relativeHeight, columnId);
143
+ this.onColumnChange.emit({
144
+ columnId,
145
+ height: relativeHeight,
146
+ });
145
147
  }
146
148
  onMouseDown(e) {
147
149
  this.isMove = true;
148
150
  this.handleMoveStart(e.clientY);
149
151
  }
150
152
  onMouseMove(e) {
151
- e.preventDefault();
152
153
  if (!this.isMove)
153
154
  return;
154
155
  this.handleMoving(e.clientY);
@@ -163,7 +164,6 @@ export class TaroPickerGroup {
163
164
  this.handleMoveStart(e.changedTouches[0].clientY);
164
165
  }
165
166
  onTouchMove(e) {
166
- e.preventDefault();
167
167
  this.handleMoving(e.changedTouches[0].clientY);
168
168
  }
169
169
  onTouchEnd(e) {
@@ -279,31 +279,16 @@ export class TaroPickerGroup {
279
279
  "text": ""
280
280
  }
281
281
  },
282
- "onColumnChange": {
283
- "type": "unknown",
284
- "mutable": false,
285
- "complexType": {
286
- "original": "(height: number, columnId: string) => void",
287
- "resolved": "(height: number, columnId: string) => void",
288
- "references": {}
289
- },
290
- "required": false,
291
- "optional": false,
292
- "docs": {
293
- "tags": [],
294
- "text": ""
295
- }
296
- },
297
282
  "updateDay": {
298
283
  "type": "unknown",
299
284
  "mutable": false,
300
285
  "complexType": {
301
286
  "original": "(value: number, fields: number) => void",
302
- "resolved": "(value: number, fields: number) => void",
287
+ "resolved": "((value: number, fields: number) => void) | undefined",
303
288
  "references": {}
304
289
  },
305
290
  "required": false,
306
- "optional": false,
291
+ "optional": true,
307
292
  "docs": {
308
293
  "tags": [],
309
294
  "text": ""
@@ -320,6 +305,24 @@ export class TaroPickerGroup {
320
305
  "isMove": {}
321
306
  };
322
307
  }
308
+ static get events() {
309
+ return [{
310
+ "method": "onColumnChange",
311
+ "name": "columnChange",
312
+ "bubbles": true,
313
+ "cancelable": true,
314
+ "composed": true,
315
+ "docs": {
316
+ "tags": [],
317
+ "text": ""
318
+ },
319
+ "complexType": {
320
+ "original": "any",
321
+ "resolved": "any",
322
+ "references": {}
323
+ }
324
+ }];
325
+ }
323
326
  static get methods() {
324
327
  return {
325
328
  "handleMoveStart": {
@@ -392,7 +395,7 @@ export class TaroPickerGroup {
392
395
  "name": "mousemove",
393
396
  "method": "onMouseMove",
394
397
  "target": undefined,
395
- "capture": false,
398
+ "capture": true,
396
399
  "passive": true
397
400
  }, {
398
401
  "name": "mouseup",
@@ -416,7 +419,7 @@ export class TaroPickerGroup {
416
419
  "name": "touchmove",
417
420
  "method": "onTouchMove",
418
421
  "target": undefined,
419
- "capture": false,
422
+ "capture": true,
420
423
  "passive": true
421
424
  }, {
422
425
  "name": "touchend",
@@ -1,4 +1,4 @@
1
- import { h, Host } from '@stencil/core';
1
+ import { Host, h } from '@stencil/core';
2
2
  import classNames from 'classnames';
3
3
  import { hoursRange, minutesRange, compareTime, verifyValue, verifyTime, verifyDate, getYearRange, getMonthRange, getDayRange, formatValue } from './utils';
4
4
  import { TOP, LINE_HEIGHT } from './constant';
@@ -68,11 +68,19 @@ export class Picker {
68
68
  })
69
69
  .join('-');
70
70
  }
71
- this.pickerValue = value;
71
+ this.value = value;
72
+ this.pickerValue = this.value;
72
73
  this.onChange.emit({
73
74
  value
74
75
  });
75
76
  };
77
+ this.handleColumnChange = (e) => {
78
+ const { columnId, height } = e.detail;
79
+ this.onColumnChange.emit({
80
+ column: Number(columnId),
81
+ value: (TOP - height) / LINE_HEIGHT
82
+ });
83
+ };
76
84
  // 点击取消按钮或蒙层
77
85
  this.handleCancel = () => {
78
86
  this.hidePicker();
@@ -110,12 +118,6 @@ export class Picker {
110
118
  }
111
119
  }
112
120
  };
113
- this.handleColumnChange = (height, columnId) => {
114
- this.onColumnChange.emit({
115
- column: Number(columnId),
116
- value: (TOP - height) / LINE_HEIGHT
117
- });
118
- };
119
121
  this.updateDay = (value, fields) => {
120
122
  const { _start, _end, _updateValue } = this.pickerDate;
121
123
  _updateValue[fields] = value;
@@ -201,6 +203,7 @@ export class Picker {
201
203
  this.end = '';
202
204
  this.fields = 'day';
203
205
  this.name = '';
206
+ this.textProps = {};
204
207
  this.pickerValue = [];
205
208
  this.height = [];
206
209
  this.hidden = true;
@@ -212,11 +215,6 @@ export class Picker {
212
215
  this.handleProps();
213
216
  }
214
217
  componentDidLoad() {
215
- Object.defineProperty(this.el, 'value', {
216
- get: () => this.pickerValue,
217
- set: value => this.value !== value && (this.value = value),
218
- configurable: true
219
- });
220
218
  if (this.overlay) {
221
219
  document.body.appendChild(this.overlay);
222
220
  }
@@ -295,6 +293,9 @@ export class Picker {
295
293
  throw new Error('Date Interval Error');
296
294
  }
297
295
  }
296
+ else {
297
+ throw new Error(`Picker not support "${mode}" mode.`);
298
+ }
298
299
  // Prop 变化时,无论是否正在显示弹层,都更新 height 值
299
300
  this.height = this.getHeightByIndex();
300
301
  // 同步表单 value 值,用于 form submit
@@ -310,6 +311,7 @@ export class Picker {
310
311
  }
311
312
  }
312
313
  render() {
314
+ var _a, _b;
313
315
  const { name, mode, fadeOut, hidden } = this;
314
316
  // 选项条
315
317
  let pickerGroup;
@@ -334,7 +336,7 @@ export class Picker {
334
336
  'weui-animate-slide-down': fadeOut
335
337
  });
336
338
  const shouldDivHidden = hidden ? { display: 'none' } : {};
337
- return (h(Host, null, h("div", { onClick: this.showPicker }, h("slot", null), h("input", { type: 'hidden', name: name, value: formatValue(this.pickerValue) })), h("div", { class: 'weui-picker__overlay', style: shouldDivHidden, ref: el => { this.overlay = el; } }, h("div", { class: clsMask, onClick: this.handleCancel }), h("div", { class: clsSlider }, h("div", { class: 'weui-picker__hd' }, h("div", { class: 'weui-picker__action', onClick: this.handleCancel }, "\u53D6\u6D88"), h("div", { class: 'weui-picker__action', onClick: this.handleChange }, "\u786E\u5B9A")), h("div", { class: 'weui-picker__bd' }, pickerGroup), h("input", { type: 'hidden', name: name, value: formatValue(this.pickerValue) })))));
339
+ return (h(Host, null, h("div", { onClick: this.showPicker }, h("slot", null), h("input", { type: 'hidden', name: name, value: formatValue(this.pickerValue) })), h("div", { class: 'weui-picker__overlay', style: shouldDivHidden, ref: el => { this.overlay = el; } }, h("div", { class: clsMask, onClick: this.handleCancel }), h("div", { class: clsSlider }, h("div", { class: 'weui-picker__hd' }, h("div", { class: 'weui-picker__action', onClick: this.handleCancel }, (_a = this.textProps.cancelText) !== null && _a !== void 0 ? _a : '取消'), h("div", { class: 'weui-picker__action', onClick: this.handleChange }, (_b = this.textProps.okText) !== null && _b !== void 0 ? _b : '确定')), h("div", { class: 'weui-picker__bd' }, pickerGroup), h("input", { type: 'hidden', name: name, value: formatValue(this.pickerValue) })))));
338
340
  }
339
341
  static get is() { return "taro-picker-core"; }
340
342
  static get originalStyleUrls() {
@@ -426,9 +428,13 @@ export class Picker {
426
428
  "type": "any",
427
429
  "mutable": true,
428
430
  "complexType": {
429
- "original": "number | number[] | string",
431
+ "original": "PickerValue",
430
432
  "resolved": "number | number[] | string",
431
- "references": {}
433
+ "references": {
434
+ "PickerValue": {
435
+ "location": "local"
436
+ }
437
+ }
432
438
  },
433
439
  "required": false,
434
440
  "optional": false,
@@ -514,6 +520,26 @@ export class Picker {
514
520
  "attribute": "name",
515
521
  "reflect": false,
516
522
  "defaultValue": "''"
523
+ },
524
+ "textProps": {
525
+ "type": "unknown",
526
+ "mutable": false,
527
+ "complexType": {
528
+ "original": "PickerText",
529
+ "resolved": "PickerText",
530
+ "references": {
531
+ "PickerText": {
532
+ "location": "local"
533
+ }
534
+ }
535
+ },
536
+ "required": false,
537
+ "optional": false,
538
+ "docs": {
539
+ "tags": [],
540
+ "text": ""
541
+ },
542
+ "defaultValue": "{}"
517
543
  }
518
544
  };
519
545
  }
@@ -48,6 +48,9 @@ export class RichText {
48
48
  return null;
49
49
  };
50
50
  this.nodes = undefined;
51
+ this.selectable = false;
52
+ this.userSelect = false;
53
+ this.space = undefined;
51
54
  }
52
55
  render() {
53
56
  const { nodes, renderNode } = this;
@@ -59,6 +62,16 @@ export class RichText {
59
62
  }
60
63
  }
61
64
  static get is() { return "taro-rich-text-core"; }
65
+ static get originalStyleUrls() {
66
+ return {
67
+ "$": ["./style/index.scss"]
68
+ };
69
+ }
70
+ static get styleUrls() {
71
+ return {
72
+ "$": ["./style/index.css"]
73
+ };
74
+ }
62
75
  static get properties() {
63
76
  return {
64
77
  "nodes": {
@@ -81,6 +94,64 @@ export class RichText {
81
94
  },
82
95
  "attribute": "nodes",
83
96
  "reflect": false
97
+ },
98
+ "selectable": {
99
+ "type": "boolean",
100
+ "mutable": true,
101
+ "complexType": {
102
+ "original": "boolean",
103
+ "resolved": "boolean",
104
+ "references": {}
105
+ },
106
+ "required": false,
107
+ "optional": false,
108
+ "docs": {
109
+ "tags": [],
110
+ "text": ""
111
+ },
112
+ "attribute": "selectable",
113
+ "reflect": false,
114
+ "defaultValue": "false"
115
+ },
116
+ "userSelect": {
117
+ "type": "boolean",
118
+ "mutable": true,
119
+ "complexType": {
120
+ "original": "boolean",
121
+ "resolved": "boolean",
122
+ "references": {}
123
+ },
124
+ "required": false,
125
+ "optional": false,
126
+ "docs": {
127
+ "tags": [],
128
+ "text": ""
129
+ },
130
+ "attribute": "user-select",
131
+ "reflect": false,
132
+ "defaultValue": "false"
133
+ },
134
+ "space": {
135
+ "type": "string",
136
+ "mutable": false,
137
+ "complexType": {
138
+ "original": "keyof TextProps.TSpace",
139
+ "resolved": "\"emsp\" | \"ensp\" | \"nbsp\" | undefined",
140
+ "references": {
141
+ "TextProps": {
142
+ "location": "import",
143
+ "path": "types"
144
+ }
145
+ }
146
+ },
147
+ "required": false,
148
+ "optional": true,
149
+ "docs": {
150
+ "tags": [],
151
+ "text": ""
152
+ },
153
+ "attribute": "space",
154
+ "reflect": false
84
155
  }
85
156
  };
86
157
  }
@@ -0,0 +1,16 @@
1
+ taro-rich-text-core {
2
+ user-select: none;
3
+ }
4
+ taro-rich-text-core[selectable=true], taro-rich-text-core[user-select=true] {
5
+ display: block;
6
+ user-select: text;
7
+ }
8
+ taro-rich-text-core[space] {
9
+ white-space: pre-wrap;
10
+ }
11
+ taro-rich-text-core[space=ensp] {
12
+ word-spacing: 0.5em;
13
+ }
14
+ taro-rich-text-core[space=nbsp] {
15
+ word-spacing: 1em;
16
+ }
@@ -1,9 +1,26 @@
1
1
  taro-text-core {
2
2
  display: inline;
3
3
  user-select: none;
4
- white-space: pre-wrap;
5
4
  }
6
-
7
- .taro-text__selectable {
5
+ taro-text-core[selectable=true], taro-text-core[user-select=true] {
6
+ display: inline-block;
8
7
  user-select: text;
8
+ }
9
+ taro-text-core[space] {
10
+ white-space: pre-wrap;
11
+ }
12
+ taro-text-core[space=ensp] {
13
+ word-spacing: 0.5em;
14
+ }
15
+ taro-text-core[space=nbsp] {
16
+ word-spacing: 1em;
17
+ }
18
+ taro-text-core[number-of-lines] {
19
+ --line-clamp: 2;
20
+ display: -webkit-box;
21
+ -webkit-box-orient: vertical;
22
+ word-wrap: break-word;
23
+ overflow: hidden;
24
+ text-overflow: ellipsis;
25
+ -webkit-line-clamp: var(--line-clamp);
9
26
  }
@@ -1,14 +1,17 @@
1
1
  import { h, Host } from '@stencil/core';
2
- import classNames from 'classnames';
3
2
  export class Text {
4
3
  constructor() {
5
4
  this.selectable = false;
5
+ this.userSelect = false;
6
+ this.space = undefined;
7
+ this.numberOfLines = undefined;
6
8
  }
7
9
  render() {
8
- const cls = classNames({
9
- 'taro-text__selectable': this.selectable
10
- });
11
- return (h(Host, { class: cls }, h("slot", null)));
10
+ const style = {};
11
+ if (typeof this.numberOfLines === 'number') {
12
+ style['--line-clamp'] = this.numberOfLines;
13
+ }
14
+ return (h(Host, { style: style }, h("slot", null)));
12
15
  }
13
16
  static get is() { return "taro-text-core"; }
14
17
  static get originalStyleUrls() {
@@ -25,7 +28,7 @@ export class Text {
25
28
  return {
26
29
  "selectable": {
27
30
  "type": "boolean",
28
- "mutable": false,
31
+ "mutable": true,
29
32
  "complexType": {
30
33
  "original": "boolean",
31
34
  "resolved": "boolean",
@@ -40,6 +43,63 @@ export class Text {
40
43
  "attribute": "selectable",
41
44
  "reflect": false,
42
45
  "defaultValue": "false"
46
+ },
47
+ "userSelect": {
48
+ "type": "boolean",
49
+ "mutable": true,
50
+ "complexType": {
51
+ "original": "boolean",
52
+ "resolved": "boolean",
53
+ "references": {}
54
+ },
55
+ "required": false,
56
+ "optional": false,
57
+ "docs": {
58
+ "tags": [],
59
+ "text": ""
60
+ },
61
+ "attribute": "user-select",
62
+ "reflect": false,
63
+ "defaultValue": "false"
64
+ },
65
+ "space": {
66
+ "type": "string",
67
+ "mutable": true,
68
+ "complexType": {
69
+ "original": "keyof TextProps.TSpace",
70
+ "resolved": "\"emsp\" | \"ensp\" | \"nbsp\" | undefined",
71
+ "references": {
72
+ "TextProps": {
73
+ "location": "import",
74
+ "path": "types"
75
+ }
76
+ }
77
+ },
78
+ "required": false,
79
+ "optional": true,
80
+ "docs": {
81
+ "tags": [],
82
+ "text": ""
83
+ },
84
+ "attribute": "space",
85
+ "reflect": false
86
+ },
87
+ "numberOfLines": {
88
+ "type": "number",
89
+ "mutable": false,
90
+ "complexType": {
91
+ "original": "number",
92
+ "resolved": "number | undefined",
93
+ "references": {}
94
+ },
95
+ "required": false,
96
+ "optional": true,
97
+ "docs": {
98
+ "tags": [],
99
+ "text": ""
100
+ },
101
+ "attribute": "number-of-lines",
102
+ "reflect": false
43
103
  }
44
104
  };
45
105
  }
@@ -96,7 +96,7 @@ export class Textarea {
96
96
  numberOfLines = Math.floor(taHeight / taLineHeight);
97
97
  return numberOfLines;
98
98
  };
99
- this.value = undefined;
99
+ this.value = '';
100
100
  this.placeholder = undefined;
101
101
  this.disabled = false;
102
102
  this.maxlength = 140;
@@ -115,13 +115,6 @@ export class Textarea {
115
115
  async focus() {
116
116
  this.textareaRef.focus();
117
117
  }
118
- componentDidLoad() {
119
- Object.defineProperty(this.el, 'value', {
120
- get: () => this.textareaRef.value,
121
- set: value => this.value !== value && (this.value = value),
122
- configurable: true
123
- });
124
- }
125
118
  render() {
126
119
  const { value, placeholder, disabled, maxlength, autoFocus, autoHeight, name, nativeProps, handleInput, handleFocus, handleBlur, handleChange } = this;
127
120
  const otherProps = {};
@@ -164,7 +157,8 @@ export class Textarea {
164
157
  "text": ""
165
158
  },
166
159
  "attribute": "value",
167
- "reflect": false
160
+ "reflect": false,
161
+ "defaultValue": "''"
168
162
  },
169
163
  "placeholder": {
170
164
  "type": "string",
@@ -234,7 +228,7 @@ export class Textarea {
234
228
  "text": ""
235
229
  },
236
230
  "attribute": "focus",
237
- "reflect": true,
231
+ "reflect": false,
238
232
  "defaultValue": "false"
239
233
  },
240
234
  "autoHeight": {