@tarojs/components 3.7.0-alpha.0 → 3.7.0-alpha.10

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 (547) 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 +3 -3
  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 +6 -5
  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 +4 -4
  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 +6 -5
  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 +38 -37
  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/button/style/index.css +12 -0
  81. package/dist/collection/components/checkbox/checkbox.js +4 -4
  82. package/dist/collection/components/image/image.js +6 -4
  83. package/dist/collection/components/input/input.js +9 -13
  84. package/dist/collection/components/picker/picker-group.js +29 -26
  85. package/dist/collection/components/picker/picker.js +42 -16
  86. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +1 -1
  87. package/dist/collection/components/pull-to-refresh/style/index.css +0 -1
  88. package/dist/collection/components/rich-text/rich-text.js +71 -0
  89. package/dist/collection/components/rich-text/style/index.css +16 -0
  90. package/dist/collection/components/scroll-view/scroll-view.js +22 -4
  91. package/dist/collection/components/swiper/swiper-item.js +34 -35
  92. package/dist/collection/components/swiper/swiper.js +2 -0
  93. package/dist/collection/components/text/style/index.css +20 -3
  94. package/dist/collection/components/text/text.js +66 -6
  95. package/dist/collection/components/textarea/textarea.js +4 -10
  96. package/dist/collection/components/video/video.js +1 -1
  97. package/dist/components/hls.js +22697 -24646
  98. package/dist/components/index2.js +12 -17
  99. package/dist/components/picker-group.js +9 -9
  100. package/dist/components/taro-button-core.js +1 -1
  101. package/dist/components/taro-checkbox-core.js +1 -1
  102. package/dist/components/taro-image-core.js +6 -4
  103. package/dist/components/taro-input-core.js +7 -12
  104. package/dist/components/taro-picker-core.js +16 -13
  105. package/dist/components/taro-pull-to-refresh.js +2 -2
  106. package/dist/components/taro-rich-text-core.js +10 -1
  107. package/dist/components/taro-scroll-view-core.js +5 -3
  108. package/dist/components/taro-swiper-core.js +2 -0
  109. package/dist/components/taro-swiper-item-core.js +34 -35
  110. package/dist/components/taro-text-core.js +13 -7
  111. package/dist/components/taro-textarea-core.js +2 -9
  112. package/dist/components/taro-video-core.js +2 -2
  113. package/dist/esm/hls-4018c7ea.js +25671 -0
  114. package/dist/{cjs/index-f9d21cc5.js → esm/index-c3e4004b.js} +12 -22
  115. package/dist/esm/loader.js +4 -4
  116. package/dist/esm/taro-ad-core.entry.js +1 -1
  117. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  118. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  119. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  120. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  121. package/dist/esm/taro-audio-core.entry.js +1 -1
  122. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  123. package/dist/esm/taro-block-core.entry.js +1 -1
  124. package/dist/esm/taro-button-core.entry.js +3 -3
  125. package/dist/esm/taro-camera-core.entry.js +1 -1
  126. package/dist/esm/taro-canvas-core.entry.js +1 -1
  127. package/dist/esm/taro-channel-live-core.entry.js +1 -1
  128. package/dist/esm/taro-channel-video-core.entry.js +1 -1
  129. package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
  130. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  131. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  132. package/dist/esm/taro-components.js +4 -4
  133. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  134. package/dist/esm/taro-cover-image-core.entry.js +1 -1
  135. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  136. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  137. package/dist/esm/taro-editor-core.entry.js +1 -1
  138. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  139. package/dist/esm/taro-form-core.entry.js +1 -1
  140. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  141. package/dist/esm/taro-grid-view-core.entry.js +1 -1
  142. package/dist/esm/taro-icon-core.entry.js +2 -2
  143. package/dist/esm/taro-image-core.entry.js +6 -5
  144. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  145. package/dist/esm/taro-input-core.entry.js +7 -12
  146. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  147. package/dist/esm/taro-label-core.entry.js +1 -1
  148. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  149. package/dist/esm/taro-like-core.entry.js +1 -1
  150. package/dist/esm/taro-list-view-core.entry.js +1 -1
  151. package/dist/esm/taro-live-player-core.entry.js +1 -1
  152. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  153. package/dist/esm/taro-login-core.entry.js +1 -1
  154. package/dist/esm/taro-lottie-core.entry.js +1 -1
  155. package/dist/esm/taro-map-core.entry.js +1 -1
  156. package/dist/esm/taro-match-media-core.entry.js +1 -1
  157. package/dist/esm/taro-movable-area-core_2.entry.js +1 -1
  158. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  159. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  160. package/dist/esm/taro-navigator-core.entry.js +2 -2
  161. package/dist/esm/taro-official-account-core.entry.js +1 -1
  162. package/dist/esm/taro-open-data-core.entry.js +1 -1
  163. package/dist/esm/taro-page-container-core.entry.js +1 -1
  164. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  165. package/dist/esm/taro-picker-core_2.entry.js +24 -21
  166. package/dist/esm/taro-picker-view-column-core_2.entry.js +2 -2
  167. package/dist/esm/taro-progress-core.entry.js +1 -1
  168. package/dist/esm/taro-pull-to-refresh.entry.js +4 -4
  169. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  170. package/dist/esm/taro-rich-text-core.entry.js +7 -1
  171. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  172. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  173. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  174. package/dist/esm/taro-scroll-view-core.entry.js +6 -5
  175. package/dist/esm/taro-share-element-core.entry.js +1 -1
  176. package/dist/esm/taro-slider-core.entry.js +1 -1
  177. package/dist/esm/taro-slot-core.entry.js +1 -1
  178. package/dist/esm/taro-sticky-header-core.entry.js +1 -1
  179. package/dist/esm/taro-sticky-section-core.entry.js +1 -1
  180. package/dist/esm/taro-swiper-core_2.entry.js +38 -37
  181. package/dist/esm/taro-switch-core.entry.js +1 -1
  182. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  183. package/dist/esm/taro-tabbar.entry.js +2 -2
  184. package/dist/esm/taro-tabs-core.entry.js +1 -1
  185. package/dist/esm/taro-text-core.entry.js +10 -7
  186. package/dist/esm/taro-textarea-core.entry.js +2 -9
  187. package/dist/esm/taro-video-control_3.entry.js +4 -4
  188. package/dist/esm/taro-view-core.entry.js +2 -2
  189. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  190. package/dist/esm/taro-web-view-core.entry.js +1 -1
  191. package/dist/esm-es5/hls-4018c7ea.js +1 -0
  192. package/dist/esm-es5/index-c3e4004b.js +7 -0
  193. package/dist/esm-es5/loader.js +1 -1
  194. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  195. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  196. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  197. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  198. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  199. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  200. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  201. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  202. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  203. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  204. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  205. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  206. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  207. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  208. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  209. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  210. package/dist/esm-es5/taro-components.js +1 -1
  211. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  212. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  213. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  214. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  215. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  216. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  217. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  218. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  219. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  220. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  221. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  222. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  223. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  224. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  225. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  226. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  227. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  228. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  229. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  230. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  231. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  232. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  233. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  234. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  235. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  236. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  237. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  238. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  239. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  240. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  241. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  242. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  243. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  244. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  245. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  246. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  247. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  248. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  249. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  250. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  251. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  252. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  253. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  254. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  255. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  256. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  257. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  258. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  259. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  260. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  261. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  262. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  263. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  264. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  265. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  266. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  267. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  268. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  269. package/dist/taro-components/{p-2bac359b.entry.js → p-0114a2e4.entry.js} +1 -1
  270. package/dist/taro-components/p-01e163f8.system.entry.js +1 -0
  271. package/dist/taro-components/{p-4402972b.system.entry.js → p-0517f107.system.entry.js} +1 -1
  272. package/dist/taro-components/{p-08bb8dfc.system.entry.js → p-052da7f0.system.entry.js} +1 -1
  273. package/dist/taro-components/{p-8027e1c6.system.entry.js → p-07302165.system.entry.js} +1 -1
  274. package/dist/taro-components/p-085076c5.system.entry.js +1 -0
  275. package/dist/taro-components/{p-70b5e81e.system.entry.js → p-0d7a705b.system.entry.js} +1 -1
  276. package/dist/taro-components/p-0fa96970.entry.js +1 -0
  277. package/dist/taro-components/{p-80f3d88d.entry.js → p-0fe855c6.entry.js} +1 -1
  278. package/dist/taro-components/{p-59590806.system.entry.js → p-117633e9.system.entry.js} +1 -1
  279. package/dist/taro-components/{p-d42e41ff.entry.js → p-137531b6.entry.js} +1 -1
  280. package/dist/taro-components/{p-8b8a8e39.entry.js → p-139e6251.entry.js} +1 -1
  281. package/dist/taro-components/{p-1e8c8ae1.entry.js → p-1404c119.entry.js} +1 -1
  282. package/dist/taro-components/{p-c6e6dab1.system.entry.js → p-1974e52e.system.entry.js} +1 -1
  283. package/dist/taro-components/{p-6dae898a.system.entry.js → p-1991cc1a.system.entry.js} +1 -1
  284. package/dist/taro-components/{p-fa36fe8e.system.entry.js → p-1b3d41d3.system.entry.js} +1 -1
  285. package/dist/taro-components/p-1c4e3899.entry.js +1 -0
  286. package/dist/taro-components/{p-88d64daa.system.entry.js → p-1e739fcb.system.entry.js} +1 -1
  287. package/dist/taro-components/{p-c4fdb669.system.entry.js → p-1f39576a.system.entry.js} +1 -1
  288. package/dist/taro-components/p-204bd245.entry.js +1 -0
  289. package/dist/taro-components/{p-6f214fc3.system.entry.js → p-208e438c.system.entry.js} +1 -1
  290. package/dist/taro-components/{p-bac3deb0.system.entry.js → p-227e33fc.system.entry.js} +1 -1
  291. package/dist/taro-components/{p-1b501f32.system.entry.js → p-2a071adf.system.entry.js} +1 -1
  292. package/dist/taro-components/{p-38de410e.entry.js → p-2af69b72.entry.js} +1 -1
  293. package/dist/taro-components/{p-b2bb02d7.system.entry.js → p-2d1b4dcc.system.entry.js} +1 -1
  294. package/dist/taro-components/{p-c6385fc2.system.entry.js → p-2de2a3fd.system.entry.js} +1 -1
  295. package/dist/taro-components/p-2ec68968.system.js +7 -0
  296. package/dist/taro-components/{p-4542b767.entry.js → p-30805bdf.entry.js} +1 -1
  297. package/dist/taro-components/{p-4190e20b.system.entry.js → p-3094bda6.system.entry.js} +1 -1
  298. package/dist/taro-components/{p-e753b776.entry.js → p-355e4dbc.entry.js} +1 -1
  299. package/dist/taro-components/{p-7dd9c8da.system.entry.js → p-357ba712.system.entry.js} +1 -1
  300. package/dist/taro-components/{p-c3d3eca2.entry.js → p-38ee526a.entry.js} +1 -1
  301. package/dist/taro-components/{p-dfc405a5.entry.js → p-3d8c9dfb.entry.js} +1 -1
  302. package/dist/taro-components/{p-38a51bd2.entry.js → p-407ca16e.entry.js} +1 -1
  303. package/dist/taro-components/{p-69f6784d.system.entry.js → p-416cc4dd.system.entry.js} +1 -1
  304. package/dist/taro-components/p-425c209a.entry.js +1 -0
  305. package/dist/taro-components/{p-58690684.entry.js → p-43720011.entry.js} +1 -1
  306. package/dist/taro-components/p-43efbf30.js +1 -0
  307. package/dist/taro-components/{p-27c4878c.entry.js → p-469ee343.entry.js} +1 -1
  308. package/dist/taro-components/{p-1be83ed3.entry.js → p-46b8f89b.entry.js} +1 -1
  309. package/dist/taro-components/{p-69fa7272.system.entry.js → p-473afc8e.system.entry.js} +1 -1
  310. package/dist/taro-components/p-478deb81.entry.js +1 -0
  311. package/dist/taro-components/p-486d0ec7.entry.js +1 -0
  312. package/dist/taro-components/{p-c4dd85b6.entry.js → p-50902cd0.entry.js} +1 -1
  313. package/dist/taro-components/{p-74bf8246.system.entry.js → p-53ef8a6c.system.entry.js} +1 -1
  314. package/dist/taro-components/{p-c3d35ae5.entry.js → p-5613907c.entry.js} +1 -1
  315. package/dist/taro-components/{p-9d4fa0d3.system.entry.js → p-5640e9f4.system.entry.js} +1 -1
  316. package/dist/taro-components/{p-f9ac515e.system.entry.js → p-57b9943c.system.entry.js} +1 -1
  317. package/dist/taro-components/{p-7c1fc8f5.system.entry.js → p-5c1e6b1c.system.entry.js} +1 -1
  318. package/dist/taro-components/{p-97782cdd.system.entry.js → p-5dab46cd.system.entry.js} +1 -1
  319. package/dist/taro-components/{p-b1c972e2.system.entry.js → p-6127b1b6.system.entry.js} +1 -1
  320. package/dist/taro-components/{p-dcb5b505.system.entry.js → p-657cb6e4.system.entry.js} +1 -1
  321. package/dist/taro-components/{p-f499c0a0.system.entry.js → p-66b0b419.system.entry.js} +1 -1
  322. package/dist/taro-components/p-66f7eea6.entry.js +1 -0
  323. package/dist/taro-components/{p-46244579.system.entry.js → p-69cd1f2a.system.entry.js} +1 -1
  324. package/dist/taro-components/p-6cde180b.entry.js +1 -0
  325. package/dist/taro-components/{p-bba8c3a7.system.entry.js → p-6d4b7e5c.system.entry.js} +1 -1
  326. package/dist/taro-components/{p-11936d9a.entry.js → p-6db97374.entry.js} +1 -1
  327. package/dist/taro-components/p-6e115968.entry.js +1 -0
  328. package/dist/taro-components/{p-badfb3be.entry.js → p-6f84e936.entry.js} +1 -1
  329. package/dist/taro-components/p-71b54f06.entry.js +1 -0
  330. package/dist/taro-components/p-72b118b0.entry.js +1 -0
  331. package/dist/taro-components/p-78e4805e.entry.js +1 -0
  332. package/dist/taro-components/{p-8e5cc8fe.system.entry.js → p-79c3fde3.system.entry.js} +1 -1
  333. package/dist/taro-components/p-7b3b8057.entry.js +1 -0
  334. package/dist/taro-components/{p-3c5ac930.entry.js → p-7b68dee8.entry.js} +1 -1
  335. package/dist/taro-components/p-7d635413.entry.js +1 -0
  336. package/dist/taro-components/{p-4d0da795.system.entry.js → p-7e8e355b.system.entry.js} +1 -1
  337. package/dist/taro-components/{p-be6050fd.system.entry.js → p-7e998213.system.entry.js} +1 -1
  338. package/dist/taro-components/p-801f09b8.entry.js +1 -0
  339. package/dist/taro-components/{p-26889f3c.system.entry.js → p-81f2ad70.system.entry.js} +1 -1
  340. package/dist/taro-components/{p-4514dc53.system.entry.js → p-8201ee31.system.entry.js} +1 -1
  341. package/dist/taro-components/{p-ef7e7d73.system.entry.js → p-85a7daeb.system.entry.js} +1 -1
  342. package/dist/taro-components/p-86280254.entry.js +1 -0
  343. package/dist/taro-components/{p-4d7182f4.system.entry.js → p-88d2b41b.system.entry.js} +1 -1
  344. package/dist/taro-components/{p-0a165ad3.system.entry.js → p-898db637.system.entry.js} +1 -1
  345. package/dist/taro-components/{p-05c757b7.entry.js → p-8c0b740e.entry.js} +1 -1
  346. package/dist/taro-components/{p-95f70aea.system.entry.js → p-90333d0a.system.entry.js} +1 -1
  347. package/dist/taro-components/p-9046110a.entry.js +1 -0
  348. package/dist/taro-components/{p-d797cdc4.entry.js → p-904df510.entry.js} +1 -1
  349. package/dist/taro-components/{p-b1249ebb.system.entry.js → p-907d9d01.system.entry.js} +1 -1
  350. package/dist/taro-components/{p-b5ad2aec.entry.js → p-962f28cb.entry.js} +1 -1
  351. package/dist/taro-components/{p-23cb8a7f.entry.js → p-968b7c1d.entry.js} +1 -1
  352. package/dist/taro-components/p-982bb5bf.entry.js +1 -0
  353. package/dist/taro-components/{p-58877ef2.system.entry.js → p-98f9f50f.system.entry.js} +1 -1
  354. package/dist/taro-components/p-9a5fbb2e.entry.js +1 -0
  355. package/dist/taro-components/{p-51b6fc09.system.entry.js → p-9ac947ac.system.entry.js} +1 -1
  356. package/dist/taro-components/{p-369fb262.entry.js → p-9aeb7995.entry.js} +1 -1
  357. package/dist/taro-components/{p-05bc0fce.entry.js → p-9b6550fc.entry.js} +1 -1
  358. package/dist/taro-components/{p-0a9b984e.system.entry.js → p-9d9ede17.system.entry.js} +1 -1
  359. package/dist/taro-components/p-9edea30f.system.entry.js +1 -0
  360. package/dist/taro-components/{p-7722f33f.entry.js → p-9fe49bab.entry.js} +1 -1
  361. package/dist/taro-components/{p-acd9a9da.entry.js → p-a1763153.entry.js} +1 -1
  362. package/dist/taro-components/{p-f44e975b.entry.js → p-a20ecd3b.entry.js} +1 -1
  363. package/dist/taro-components/p-a20fed0a.entry.js +1 -0
  364. package/dist/taro-components/p-a3a1a779.entry.js +1 -0
  365. package/dist/taro-components/{p-8d2101be.system.entry.js → p-a4882902.system.entry.js} +1 -1
  366. package/dist/taro-components/{p-f671ed7d.entry.js → p-a8565231.entry.js} +1 -1
  367. package/dist/taro-components/{p-9e8619a6.system.entry.js → p-a8925584.system.entry.js} +1 -1
  368. package/dist/taro-components/p-a8e7cf87.entry.js +1 -0
  369. package/dist/taro-components/p-a940a65b.entry.js +1 -0
  370. package/dist/taro-components/{p-da5cdbf5.system.entry.js → p-ab726c20.system.entry.js} +1 -1
  371. package/dist/taro-components/{p-895cd7c9.system.entry.js → p-af3fa859.system.entry.js} +1 -1
  372. package/dist/taro-components/{p-8d037fc0.entry.js → p-af8e521a.entry.js} +1 -1
  373. package/dist/taro-components/p-af9ef8b4.entry.js +1 -0
  374. package/dist/taro-components/{p-6f048097.system.entry.js → p-afb3895c.system.entry.js} +1 -1
  375. package/dist/taro-components/{p-58b7e960.entry.js → p-b027181b.entry.js} +1 -1
  376. package/dist/taro-components/{p-2024e133.system.entry.js → p-b1d2b575.system.entry.js} +1 -1
  377. package/dist/taro-components/{p-dccf1ae9.entry.js → p-b235e43c.entry.js} +1 -1
  378. package/dist/taro-components/p-b4ea72ea.entry.js +1 -0
  379. package/dist/taro-components/p-b4f3d0ab.entry.js +1 -0
  380. package/dist/taro-components/{p-ae3f1ed4.system.entry.js → p-b5b30493.system.entry.js} +1 -1
  381. package/dist/taro-components/{p-f9c26678.entry.js → p-b641e598.entry.js} +1 -1
  382. package/dist/taro-components/{p-78c30850.system.entry.js → p-b6d4634f.system.entry.js} +1 -1
  383. package/dist/taro-components/p-ba3b2aa5.system.entry.js +1 -0
  384. package/dist/taro-components/{p-c70dd956.system.entry.js → p-bcf80126.system.entry.js} +1 -1
  385. package/dist/taro-components/p-bdc30301.entry.js +1 -0
  386. package/dist/taro-components/{p-c2c498d9.entry.js → p-bf0e0394.entry.js} +1 -1
  387. package/dist/taro-components/{p-e3f8265d.system.entry.js → p-c1073ed6.system.entry.js} +1 -1
  388. package/dist/taro-components/p-c11a42e0.entry.js +1 -0
  389. package/dist/taro-components/p-c39a46ca.system.entry.js +1 -0
  390. package/dist/taro-components/{p-1493866a.entry.js → p-c4b8851b.entry.js} +1 -1
  391. package/dist/taro-components/{p-9318da32.entry.js → p-cc164fa3.entry.js} +1 -1
  392. package/dist/taro-components/{p-736053bb.system.entry.js → p-cc70bb7a.system.entry.js} +1 -1
  393. package/dist/taro-components/p-ce33f1f3.entry.js +1 -0
  394. package/dist/taro-components/p-d34a6c04.entry.js +1 -0
  395. package/dist/taro-components/{p-7df9de66.system.entry.js → p-da239b8b.system.entry.js} +1 -1
  396. package/dist/taro-components/p-dab28e1f.system.entry.js +1 -0
  397. package/dist/taro-components/p-de951a46.js +7 -0
  398. package/dist/taro-components/p-e09451c5.system.entry.js +1 -0
  399. package/dist/taro-components/{p-79c41bc2.entry.js → p-e33f3592.entry.js} +1 -1
  400. package/dist/taro-components/p-e3480c4c.entry.js +1 -0
  401. package/dist/taro-components/{p-087bf23a.system.entry.js → p-e53508c1.system.entry.js} +1 -1
  402. package/dist/taro-components/{p-10be7fb5.system.entry.js → p-e6481671.system.entry.js} +1 -1
  403. package/dist/taro-components/{p-c33733b3.system.entry.js → p-e67755f0.system.entry.js} +1 -1
  404. package/dist/taro-components/p-e78775ce.system.js +1 -0
  405. package/dist/taro-components/{p-518146fd.system.entry.js → p-eaa370a9.system.entry.js} +1 -1
  406. package/dist/taro-components/p-ebc7b6fc.entry.js +1 -0
  407. package/dist/taro-components/{p-02aa7366.system.entry.js → p-ebdd350f.system.entry.js} +1 -1
  408. package/dist/taro-components/p-ed331c06.system.js +1 -0
  409. package/dist/taro-components/p-f02b6f70.entry.js +1 -0
  410. package/dist/taro-components/{p-9df17ea6.entry.js → p-f0340edf.entry.js} +1 -1
  411. package/dist/taro-components/{p-c586a796.system.entry.js → p-f11c9c37.system.entry.js} +1 -1
  412. package/dist/taro-components/{p-1941d333.system.entry.js → p-f420680c.system.entry.js} +1 -1
  413. package/dist/taro-components/p-f533bc2f.entry.js +1 -0
  414. package/dist/taro-components/{p-30fe0e81.system.entry.js → p-f534057e.system.entry.js} +1 -1
  415. package/dist/taro-components/p-f6f6a996.system.entry.js +1 -0
  416. package/dist/taro-components/{p-17302fe9.system.entry.js → p-f7927285.system.entry.js} +1 -1
  417. package/dist/taro-components/p-f7b32c6b.entry.js +1 -0
  418. package/dist/taro-components/{p-33223303.system.entry.js → p-fa0f6dab.system.entry.js} +1 -1
  419. package/dist/taro-components/{p-1c320250.system.entry.js → p-fa6c022a.system.entry.js} +1 -1
  420. package/dist/taro-components/p-fb983850.entry.js +1 -0
  421. package/dist/taro-components/{p-0939fd26.system.entry.js → p-fd7ff0f3.system.entry.js} +1 -1
  422. package/dist/taro-components/taro-components.css +1 -1
  423. package/dist/taro-components/taro-components.esm.js +1 -1
  424. package/dist/taro-components/taro-components.js +1 -1
  425. package/dist/types/components/checkbox/checkbox.d.ts +1 -1
  426. package/dist/types/components/image/image.d.ts +1 -0
  427. package/dist/types/components/input/input.d.ts +2 -2
  428. package/dist/types/components/picker/picker-group.d.ts +3 -3
  429. package/dist/types/components/picker/picker.d.ts +7 -2
  430. package/dist/types/components/rich-text/rich-text.d.ts +4 -0
  431. package/dist/types/components/scroll-view/scroll-view.d.ts +1 -0
  432. package/dist/types/components/text/text.d.ts +4 -0
  433. package/dist/types/components/textarea/textarea.d.ts +0 -1
  434. package/dist/types/components.d.ts +28 -8
  435. package/lib/react/component-lib/index.d.ts +1 -1
  436. package/lib/react/component-lib/index.js +50 -50
  437. package/lib/react/component-lib/index.js.map +1 -1
  438. package/lib/react/component-lib/reactify-wc.js +1 -1
  439. package/lib/react/component-lib/reactify-wc.js.map +1 -1
  440. package/lib/react/components.d.ts +81 -83
  441. package/lib/react/components.js +2 -2
  442. package/lib/react/components.js.map +1 -1
  443. package/lib/react/helper.d.ts +1 -1
  444. package/lib/react/index.d.ts +1 -1
  445. package/lib/react/react-component-lib/createComponent.d.ts +1 -1
  446. package/lib/react/react-component-lib/createOverlayComponent.d.ts +2 -2
  447. package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
  448. package/lib/react/react-component-lib/index.d.ts +2 -2
  449. package/lib/react/react-component-lib/utils/attachProps.js +21 -5
  450. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
  451. package/lib/react/react-component-lib/utils/index.d.ts +3 -3
  452. package/lib/vue2/component-lib/index.js +0 -5
  453. package/lib/vue2/component-lib/index.js.map +1 -1
  454. package/lib/vue2/components-loader.js +1 -1
  455. package/lib/vue2/components-loader.js.map +1 -1
  456. package/lib/vue2/components.d.ts +10 -3
  457. package/lib/vue2/components.js +13 -6
  458. package/lib/vue2/components.js.map +1 -1
  459. package/lib/vue2/index.d.ts +1 -1
  460. package/lib/vue2/vue-component-lib/utils.js.map +1 -1
  461. package/lib/vue3/component-lib/index.d.ts +4 -4
  462. package/lib/vue3/component-lib/index.js +48 -48
  463. package/lib/vue3/component-lib/index.js.map +1 -1
  464. package/lib/vue3/components.d.ts +81 -81
  465. package/lib/vue3/components.js +14 -6
  466. package/lib/vue3/components.js.map +1 -1
  467. package/lib/vue3/index.d.ts +1 -1
  468. package/lib/vue3/vue-component-lib/utils.js.map +1 -1
  469. package/package.json +13 -11
  470. package/types/Button.d.ts +71 -8
  471. package/types/ChannelVideo.d.ts +4 -0
  472. package/types/Form.d.ts +11 -0
  473. package/types/Image.d.ts +5 -0
  474. package/types/Input.d.ts +6 -1
  475. package/types/LivePlayer.d.ts +17 -0
  476. package/types/LivePusher.d.ts +10 -0
  477. package/types/Picker.d.ts +9 -0
  478. package/types/Progress.d.ts +2 -2
  479. package/types/RichText.d.ts +6 -4
  480. package/types/ScrollView.d.ts +7 -7
  481. package/types/ShareElement.d.ts +39 -0
  482. package/types/StickySection.d.ts +0 -1
  483. package/types/Swiper.d.ts +10 -0
  484. package/types/Text.d.ts +8 -3
  485. package/types/Textarea.d.ts +11 -4
  486. package/types/Video.d.ts +12 -0
  487. package/types/View.d.ts +1 -1
  488. package/types/index.vue3.d.ts +18 -9
  489. package/virtual-list/index.js +2 -2
  490. package/dist/cjs/hls-67cbc62d.js +0 -27622
  491. package/dist/esm/hls-221423a1.js +0 -27620
  492. package/dist/esm-es5/hls-221423a1.js +0 -365
  493. package/dist/esm-es5/index-1d8e8acd.js +0 -7
  494. package/dist/taro-components/p-0393ed55.entry.js +0 -1
  495. package/dist/taro-components/p-07293238.entry.js +0 -1
  496. package/dist/taro-components/p-0b8b3af5.entry.js +0 -1
  497. package/dist/taro-components/p-1249cb09.entry.js +0 -1
  498. package/dist/taro-components/p-1385d50f.entry.js +0 -1
  499. package/dist/taro-components/p-16e03200.entry.js +0 -1
  500. package/dist/taro-components/p-1743a04b.system.js +0 -365
  501. package/dist/taro-components/p-1c446c65.system.js +0 -1
  502. package/dist/taro-components/p-22dc57d4.entry.js +0 -1
  503. package/dist/taro-components/p-2e28cb1c.entry.js +0 -1
  504. package/dist/taro-components/p-2f7dba29.entry.js +0 -1
  505. package/dist/taro-components/p-30f32fa2.system.entry.js +0 -1
  506. package/dist/taro-components/p-39685396.system.entry.js +0 -1
  507. package/dist/taro-components/p-3c91f59b.entry.js +0 -1
  508. package/dist/taro-components/p-3d60bd58.entry.js +0 -1
  509. package/dist/taro-components/p-429a0f99.entry.js +0 -1
  510. package/dist/taro-components/p-42bcb98a.entry.js +0 -1
  511. package/dist/taro-components/p-4915fdc1.system.entry.js +0 -1
  512. package/dist/taro-components/p-491c6272.system.entry.js +0 -1
  513. package/dist/taro-components/p-4e77bdea.entry.js +0 -1
  514. package/dist/taro-components/p-5931c82e.entry.js +0 -1
  515. package/dist/taro-components/p-61f225ef.system.js +0 -7
  516. package/dist/taro-components/p-623b3eb6.system.entry.js +0 -1
  517. package/dist/taro-components/p-651586f8.system.entry.js +0 -1
  518. package/dist/taro-components/p-6de6eb4e.entry.js +0 -1
  519. package/dist/taro-components/p-7377a117.entry.js +0 -1
  520. package/dist/taro-components/p-744a6b99.entry.js +0 -1
  521. package/dist/taro-components/p-76724e58.js +0 -7
  522. package/dist/taro-components/p-80970d8f.entry.js +0 -1
  523. package/dist/taro-components/p-8feeb7ce.entry.js +0 -1
  524. package/dist/taro-components/p-90e4274e.entry.js +0 -1
  525. package/dist/taro-components/p-a294e169.entry.js +0 -1
  526. package/dist/taro-components/p-a5afdc47.system.entry.js +0 -1
  527. package/dist/taro-components/p-a6d2e81b.entry.js +0 -1
  528. package/dist/taro-components/p-a9b51167.entry.js +0 -1
  529. package/dist/taro-components/p-ae8fd8c8.entry.js +0 -1
  530. package/dist/taro-components/p-affb28de.entry.js +0 -1
  531. package/dist/taro-components/p-b16eddaa.entry.js +0 -1
  532. package/dist/taro-components/p-b708e9fe.entry.js +0 -1
  533. package/dist/taro-components/p-beba1657.entry.js +0 -1
  534. package/dist/taro-components/p-c2391de5.entry.js +0 -1
  535. package/dist/taro-components/p-d5234e7e.js +0 -365
  536. package/dist/taro-components/p-e2f2fbe5.entry.js +0 -1
  537. package/dist/taro-components/p-e8b1ea64.entry.js +0 -1
  538. package/dist/taro-components/p-e9eeb060.entry.js +0 -1
  539. package/dist/taro-components/p-efcfdb97.entry.js +0 -1
  540. package/dist/taro-components/p-fb585037.entry.js +0 -1
  541. package/dist/taro-components/p-fcdac6ec.system.entry.js +0 -1
  542. package/dist/taro-components/p-fdecdc25.entry.js +0 -1
  543. /package/dist/cjs/{index-e1b469cd.js → index-e751dfe3.js} +0 -0
  544. /package/dist/esm/{index-c948674f.js → index-980f930f.js} +0 -0
  545. /package/dist/esm-es5/{index-c948674f.js → index-980f930f.js} +0 -0
  546. /package/dist/taro-components/{p-1a0e1932.system.js → p-7e6b54cb.system.js} +0 -0
  547. /package/dist/taro-components/{p-78e3ebb9.js → p-9137dcab.js} +0 -0
@@ -1,9 +1,3 @@
1
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
-
3
- function getDefaultExportFromCjs (x) {
4
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
5
- }
6
-
7
1
  function createCommonjsModule(fn, basedir, module) {
8
2
  return module = {
9
3
  path: basedir,
@@ -20,9 +14,9 @@ function commonjsRequire () {
20
14
 
21
15
  var classnames = createCommonjsModule(function (module) {
22
16
  /*!
23
- Copyright (c) 2018 Jed Watson.
24
- Licensed under the MIT License (MIT), see
25
- http://jedwatson.github.io/classnames
17
+ Copyright (c) 2018 Jed Watson.
18
+ Licensed under the MIT License (MIT), see
19
+ http://jedwatson.github.io/classnames
26
20
  */
27
21
  /* global define */
28
22
 
@@ -49,14 +43,15 @@ var classnames = createCommonjsModule(function (module) {
49
43
  }
50
44
  }
51
45
  } else if (argType === 'object') {
52
- if (arg.toString === Object.prototype.toString) {
53
- for (var key in arg) {
54
- if (hasOwn.call(arg, key) && arg[key]) {
55
- classes.push(key);
56
- }
57
- }
58
- } else {
46
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
59
47
  classes.push(arg.toString());
48
+ continue;
49
+ }
50
+
51
+ for (var key in arg) {
52
+ if (hasOwn.call(arg, key) && arg[key]) {
53
+ classes.push(key);
54
+ }
60
55
  }
61
56
  }
62
57
  }
@@ -73,4 +68,4 @@ var classnames = createCommonjsModule(function (module) {
73
68
  }());
74
69
  });
75
70
 
76
- export { createCommonjsModule as a, commonjsGlobal as b, classnames as c, getDefaultExportFromCjs as g };
71
+ export { classnames as c };
@@ -1,4 +1,4 @@
1
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
 
3
3
  const TOP = 102;
4
4
  const LINE_HEIGHT = 34;
@@ -8,13 +8,13 @@ const TaroPickerGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
8
8
  constructor() {
9
9
  super();
10
10
  this.__registerHost();
11
+ this.onColumnChange = createEvent(this, "columnChange", 7);
11
12
  this.mode = undefined;
12
13
  this.range = [];
13
14
  this.rangeKey = undefined;
14
15
  this.height = undefined;
15
16
  this.columnId = undefined;
16
17
  this.updateHeight = undefined;
17
- this.onColumnChange = undefined;
18
18
  this.updateDay = undefined;
19
19
  this.startY = undefined;
20
20
  this.preY = undefined;
@@ -84,7 +84,7 @@ const TaroPickerGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
84
84
  this.updateHeight(newPos, this.columnId);
85
85
  }
86
86
  async handleMoveEnd(clientY) {
87
- const { mode, range, height, updateHeight, onColumnChange, columnId } = this;
87
+ const { mode, range, height, updateHeight, columnId } = this;
88
88
  const max = 0;
89
89
  const min = -LINE_HEIGHT * (range.length - 1);
90
90
  const endY = clientY;
@@ -135,7 +135,7 @@ const TaroPickerGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
135
135
  // 先按公式算出 index, 再用此 index 算出一个整数高度
136
136
  const index = Math.round(absoluteHeight / -LINE_HEIGHT);
137
137
  const relativeHeight = TOP - LINE_HEIGHT * index;
138
- if (this.mode === 'date') {
138
+ if (this.mode === 'date' && typeof this.updateDay === 'function') {
139
139
  if (this.columnId === '0') {
140
140
  this.updateDay(+this.range[index].replace(/[^0-9]/gi, ''), 0);
141
141
  }
@@ -147,14 +147,16 @@ const TaroPickerGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
147
147
  }
148
148
  }
149
149
  updateHeight(relativeHeight, columnId, mode === 'time');
150
- onColumnChange && onColumnChange(relativeHeight, columnId);
150
+ this.onColumnChange.emit({
151
+ columnId,
152
+ height: relativeHeight,
153
+ });
151
154
  }
152
155
  onMouseDown(e) {
153
156
  this.isMove = true;
154
157
  this.handleMoveStart(e.clientY);
155
158
  }
156
159
  onMouseMove(e) {
157
- e.preventDefault();
158
160
  if (!this.isMove)
159
161
  return;
160
162
  this.handleMoving(e.clientY);
@@ -169,7 +171,6 @@ const TaroPickerGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
169
171
  this.handleMoveStart(e.changedTouches[0].clientY);
170
172
  }
171
173
  onTouchMove(e) {
172
- e.preventDefault();
173
174
  this.handleMoving(e.changedTouches[0].clientY);
174
175
  }
175
176
  onTouchEnd(e) {
@@ -190,7 +191,6 @@ const TaroPickerGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
190
191
  "height": [2],
191
192
  "columnId": [1, "column-id"],
192
193
  "updateHeight": [16],
193
- "onColumnChange": [16],
194
194
  "updateDay": [16],
195
195
  "startY": [32],
196
196
  "preY": [32],
@@ -200,7 +200,7 @@ const TaroPickerGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
200
200
  "handleMoveStart": [64],
201
201
  "handleMoving": [64],
202
202
  "handleMoveEnd": [64]
203
- }, [[1, "mousedown", "onMouseDown"], [1, "mousemove", "onMouseMove"], [1, "mouseup", "onMouseMoveEnd"], [1, "mouseleave", "onMouseMoveEnd"], [1, "touchstart", "onTouchStart"], [1, "touchmove", "onTouchMove"], [1, "touchend", "onTouchEnd"]]]);
203
+ }, [[1, "mousedown", "onMouseDown"], [3, "mousemove", "onMouseMove"], [1, "mouseup", "onMouseMoveEnd"], [1, "mouseleave", "onMouseMoveEnd"], [1, "touchstart", "onTouchStart"], [3, "touchmove", "onTouchMove"], [1, "touchend", "onTouchEnd"]]]);
204
204
  function defineCustomElement() {
205
205
  if (typeof customElements === "undefined") {
206
206
  return;
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { c as classnames } from './index2.js';
3
3
 
4
- const indexCss = "taro-button-core{display:block;overflow:hidden;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;border-width:0;border-radius:5px;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#f8f8f8;line-height:2.55555556;text-decoration:none;text-align:center;font-size:18px;color:#000;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core::after{position:absolute;left:0;top:0;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid rgba(0, 0, 0, 0.2);border-radius:10px;width:200%;height:200%;content:\" \";-webkit-transform:scale(0.5);transform:scale(0.5);-webkit-transform-origin:0 0;transform-origin:0 0}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{background-color:#f8f8f8;color:#000}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core[size=mini]{display:inline-block;padding:0 1.32em;width:auto;line-height:2.3;font-size:13px}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{border-width:1px;background-color:transparent}taro-button-core[disabled]{color:rgba(255, 255, 255, 0.6)}taro-button-core[disabled][type=default]{background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-0.2em 0.34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255, 255, 255, 0.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{border:1px solid #1aad19;color:#1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{border-color:rgba(26, 173, 25, 0.6);background-color:transparent;color:rgba(26, 173, 25, 0.6)}taro-button-core[plain][type=primary]::after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{border:1px solid #353535;color:#353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{border-color:rgba(53, 53, 53, 0.6);background-color:transparent;color:rgba(53, 53, 53, 0.6)}taro-button-core[plain]::after,taro-button-core[plain][type=default]::after{border-width:0}taro-button-core[type=primary]{background-color:#1aad19;color:#fff}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{background-color:#179b16;color:rgba(255, 255, 255, 0.6)}taro-button-core[type=warn]{background-color:#e64340;color:#fff}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{background-color:#ce3c39;color:rgba(255, 255, 255, 0.6)}taro-button-core[plain][disabled]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[plain][disabled][type=primary]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}";
4
+ const indexCss = "taro-button-core{display:block;overflow:hidden;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;border-width:0;border-radius:5px;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#f8f8f8;line-height:2.55555556;text-decoration:none;text-align:center;font-size:18px;color:#000;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core::after{position:absolute;left:0;top:0;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid rgba(0, 0, 0, 0.2);border-radius:10px;width:200%;height:200%;content:\" \";-webkit-transform:scale(0.5);transform:scale(0.5);-webkit-transform-origin:0 0;transform-origin:0 0}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{background-color:#f8f8f8;color:#000}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core[size=mini]{display:inline-block;padding:0 1.32em;width:auto;line-height:2.3;font-size:13px}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{border-width:1px;background-color:transparent}taro-button-core[disabled]{color:rgba(255, 255, 255, 0.6)}taro-button-core[disabled][type=default]{background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-0.2em 0.34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255, 255, 255, 0.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{border:1px solid #1aad19;color:#1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{border-color:rgba(26, 173, 25, 0.6);background-color:transparent;color:rgba(26, 173, 25, 0.6)}taro-button-core[plain][type=primary]::after{border-width:0}taro-button-core[plain][type=warn]{border:1px solid #e64340;color:#e64340}taro-button-core[plain][type=warn]:not([disabled]):active{border-color:rgba(230, 67, 64, 0.6);background-color:transparent;color:rgba(230, 67, 64, 0.6)}taro-button-core[plain][type=warn]::after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{border:1px solid #353535;color:#353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{border-color:rgba(53, 53, 53, 0.6);background-color:transparent;color:rgba(53, 53, 53, 0.6)}taro-button-core[plain]::after,taro-button-core[plain][type=default]::after{border-width:0}taro-button-core[type=primary]{background-color:#1aad19;color:#fff}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{background-color:#179b16;color:rgba(255, 255, 255, 0.6)}taro-button-core[type=warn]{background-color:#e64340;color:#fff}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{background-color:#ce3c39;color:rgba(255, 255, 255, 0.6)}taro-button-core[plain][disabled]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[plain][disabled][type=primary]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}";
5
5
 
6
6
  const Button = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
7
  constructor() {
@@ -51,7 +51,7 @@ const Checkbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
51
51
  static get style() { return indexCss; }
52
52
  }, [4, "taro-checkbox-core", {
53
53
  "name": [1],
54
- "value": [1],
54
+ "value": [1032],
55
55
  "color": [1],
56
56
  "id": [1025],
57
57
  "checked": [4],
@@ -15,6 +15,7 @@ const Image = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
15
15
  this.lazyLoad = false;
16
16
  this.nativeProps = {};
17
17
  this.aspectFillMode = 'width';
18
+ this.didLoad = false;
18
19
  }
19
20
  componentDidLoad() {
20
21
  if (!this.lazyLoad)
@@ -23,7 +24,7 @@ const Image = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
23
24
  // 异步 api 关系
24
25
  if (entries[entries.length - 1].isIntersecting) {
25
26
  lazyImg.unobserve(this.imgRef);
26
- this.imgRef.src = this.src;
27
+ this.didLoad = true;
27
28
  }
28
29
  }, {
29
30
  rootMargin: '300px 0px'
@@ -42,14 +43,14 @@ const Image = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
42
43
  this.onError.emit(e);
43
44
  }
44
45
  render() {
45
- const { src, mode = 'scaleToFill', lazyLoad = false, aspectFillMode = 'width', imageOnLoad, imageOnError, nativeProps } = this;
46
+ const { src, mode = 'scaleToFill', lazyLoad = false, aspectFillMode = 'width', imageOnLoad, imageOnError, nativeProps, didLoad } = this;
46
47
  const cls = classnames({
47
48
  'taro-img__widthfix': mode === 'widthFix'
48
49
  });
49
50
  const imgCls = classnames(`taro-img__mode-${mode.toLowerCase().replace(/\s/g, '')}`, {
50
51
  [`taro-img__mode-aspectfill--${aspectFillMode}`]: mode === 'aspectFill'
51
52
  });
52
- return (h(Host, { class: cls }, lazyLoad ? (h("img", Object.assign({ ref: img => (this.imgRef = img), class: imgCls, onLoad: imageOnLoad.bind(this), onError: imageOnError.bind(this) }, nativeProps))) : (h("img", Object.assign({ ref: img => (this.imgRef = img), class: imgCls, src: src, onLoad: imageOnLoad.bind(this), onError: imageOnError.bind(this) }, nativeProps)))));
53
+ return (h(Host, { class: cls }, h("img", Object.assign({ ref: (img) => (this.imgRef = img), class: imgCls, src: lazyLoad && !didLoad ? undefined : src, onLoad: imageOnLoad.bind(this), onError: imageOnError.bind(this) }, nativeProps))));
53
54
  }
54
55
  static get style() { return indexCss; }
55
56
  }, [0, "taro-image-core", {
@@ -57,7 +58,8 @@ const Image = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
57
58
  "mode": [1],
58
59
  "lazyLoad": [4, "lazy-load"],
59
60
  "nativeProps": [16],
60
- "aspectFillMode": [32]
61
+ "aspectFillMode": [32],
62
+ "didLoad": [32]
61
63
  }]);
62
64
  function defineCustomElement$1() {
63
65
  if (typeof customElements === "undefined") {
@@ -126,7 +126,7 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
126
126
  this.isOnComposition = true;
127
127
  }
128
128
  };
129
- this.handleBeforeinput = (e) => {
129
+ this.handleBeforeInput = (e) => {
130
130
  if (!e.data)
131
131
  return;
132
132
  const isNumber = e.data && /[0-9]/.test(e.data);
@@ -139,7 +139,7 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
139
139
  }
140
140
  }
141
141
  };
142
- this.value = undefined;
142
+ this.value = '';
143
143
  this.type = undefined;
144
144
  this.password = false;
145
145
  this.placeholder = undefined;
@@ -176,14 +176,9 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
176
176
  else {
177
177
  (_b = this.inputRef) === null || _b === void 0 ? void 0 : _b.addEventListener('compositionstart', this.handleComposition);
178
178
  (_c = this.inputRef) === null || _c === void 0 ? void 0 : _c.addEventListener('compositionend', this.handleComposition);
179
- (_d = this.inputRef) === null || _d === void 0 ? void 0 : _d.addEventListener('beforeinput', this.handleBeforeinput);
180
- (_e = this.inputRef) === null || _e === void 0 ? void 0 : _e.addEventListener('textInput', this.handleBeforeinput);
179
+ (_d = this.inputRef) === null || _d === void 0 ? void 0 : _d.addEventListener('beforeinput', this.handleBeforeInput);
180
+ (_e = this.inputRef) === null || _e === void 0 ? void 0 : _e.addEventListener('textInput', this.handleBeforeInput);
181
181
  }
182
- Object.defineProperty(this.el, 'value', {
183
- get: () => this.inputRef.value,
184
- set: value => this.value !== value && (this.value = value),
185
- configurable: true
186
- });
187
182
  }
188
183
  disconnectedCallback() {
189
184
  var _a, _b, _c, _d, _e;
@@ -193,8 +188,8 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
193
188
  else {
194
189
  (_b = this.inputRef) === null || _b === void 0 ? void 0 : _b.removeEventListener('compositionstart', this.handleComposition);
195
190
  (_c = this.inputRef) === null || _c === void 0 ? void 0 : _c.removeEventListener('compositionend', this.handleComposition);
196
- (_d = this.inputRef) === null || _d === void 0 ? void 0 : _d.removeEventListener('beforeinput', this.handleBeforeinput);
197
- (_e = this.inputRef) === null || _e === void 0 ? void 0 : _e.removeEventListener('textInput', this.handleBeforeinput);
191
+ (_d = this.inputRef) === null || _d === void 0 ? void 0 : _d.removeEventListener('beforeinput', this.handleBeforeInput);
192
+ (_e = this.inputRef) === null || _e === void 0 ? void 0 : _e.removeEventListener('textInput', this.handleBeforeInput);
198
193
  }
199
194
  }
200
195
  render() {
@@ -218,7 +213,7 @@ const Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
218
213
  "placeholder": [1],
219
214
  "disabled": [4],
220
215
  "maxlength": [2],
221
- "autoFocus": [516, "focus"],
216
+ "autoFocus": [4, "focus"],
222
217
  "confirmType": [1, "confirm-type"],
223
218
  "name": [1],
224
219
  "nativeProps": [16],
@@ -218,11 +218,19 @@ const Picker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
218
218
  })
219
219
  .join('-');
220
220
  }
221
- this.pickerValue = value;
221
+ this.value = value;
222
+ this.pickerValue = this.value;
222
223
  this.onChange.emit({
223
224
  value
224
225
  });
225
226
  };
227
+ this.handleColumnChange = (e) => {
228
+ const { columnId, height } = e.detail;
229
+ this.onColumnChange.emit({
230
+ column: Number(columnId),
231
+ value: (TOP - height) / LINE_HEIGHT
232
+ });
233
+ };
226
234
  // 点击取消按钮或蒙层
227
235
  this.handleCancel = () => {
228
236
  this.hidePicker();
@@ -260,12 +268,6 @@ const Picker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
260
268
  }
261
269
  }
262
270
  };
263
- this.handleColumnChange = (height, columnId) => {
264
- this.onColumnChange.emit({
265
- column: Number(columnId),
266
- value: (TOP - height) / LINE_HEIGHT
267
- });
268
- };
269
271
  this.updateDay = (value, fields) => {
270
272
  const { _start, _end, _updateValue } = this.pickerDate;
271
273
  _updateValue[fields] = value;
@@ -351,6 +353,7 @@ const Picker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
351
353
  this.end = '';
352
354
  this.fields = 'day';
353
355
  this.name = '';
356
+ this.textProps = {};
354
357
  this.pickerValue = [];
355
358
  this.height = [];
356
359
  this.hidden = true;
@@ -362,11 +365,6 @@ const Picker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
362
365
  this.handleProps();
363
366
  }
364
367
  componentDidLoad() {
365
- Object.defineProperty(this.el, 'value', {
366
- get: () => this.pickerValue,
367
- set: value => this.value !== value && (this.value = value),
368
- configurable: true
369
- });
370
368
  if (this.overlay) {
371
369
  document.body.appendChild(this.overlay);
372
370
  }
@@ -445,6 +443,9 @@ const Picker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
445
443
  throw new Error('Date Interval Error');
446
444
  }
447
445
  }
446
+ else {
447
+ throw new Error(`Picker not support "${mode}" mode.`);
448
+ }
448
449
  // Prop 变化时,无论是否正在显示弹层,都更新 height 值
449
450
  this.height = this.getHeightByIndex();
450
451
  // 同步表单 value 值,用于 form submit
@@ -460,6 +461,7 @@ const Picker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
460
461
  }
461
462
  }
462
463
  render() {
464
+ var _a, _b;
463
465
  const { name, mode, fadeOut, hidden } = this;
464
466
  // 选项条
465
467
  let pickerGroup;
@@ -484,7 +486,7 @@ const Picker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
484
486
  'weui-animate-slide-down': fadeOut
485
487
  });
486
488
  const shouldDivHidden = hidden ? { display: 'none' } : {};
487
- 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) })))));
489
+ 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) })))));
488
490
  }
489
491
  get el() { return this; }
490
492
  static get watchers() { return {
@@ -505,6 +507,7 @@ const Picker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
505
507
  "end": [1],
506
508
  "fields": [1],
507
509
  "name": [1],
510
+ "textProps": [16],
508
511
  "pickerValue": [32],
509
512
  "height": [32],
510
513
  "hidden": [32],
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
2
2
  import Taro from '@tarojs/taro';
3
3
  import { c as classnames } from './index2.js';
4
4
 
5
- const indexCss = ".rmc-pull-to-refresh-content{-webkit-transform-origin:left top 0;transform-origin:left top 0}.rmc-pull-to-refresh-content-wrapper{overflow:hidden;min-height:100vh}.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{height:30px;line-height:10px;text-align:center}.rmc-pull-to-refresh-indicator>div{display:inline-block;margin:3px;border-radius:100%;width:6px;height:6px;background-color:grey;-webkit-animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;-webkit-animation-fill-mode:both;animation-fill-mode:both}.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
+ const indexCss = ".rmc-pull-to-refresh-content{-webkit-transform-origin:left top 0;transform-origin:left top 0}.rmc-pull-to-refresh-content-wrapper{min-height:100vh}.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{height:30px;line-height:10px;text-align:center}.rmc-pull-to-refresh-indicator>div{display:inline-block;margin:3px;border-radius:100%;width:6px;height:6px;background-color:grey;-webkit-animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;-webkit-animation-fill-mode:both;animation-fill-mode:both}.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}";
6
6
 
7
7
  function setTransform(nodeStyle, value) {
8
8
  nodeStyle.transform = value;
@@ -55,7 +55,7 @@ const PullToRefresh = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
55
55
  };
56
56
  this.init = () => {
57
57
  const ele = this.scrollContainer;
58
- const child = this.el.querySelector('rmc-pull-to-refresh-content');
58
+ const child = this.el.querySelector('.rmc-pull-to-refresh-content');
59
59
  this.el.appendChild = child === null || child === void 0 ? void 0 : child.appendChild.bind(child);
60
60
  this.el.insertBefore = child === null || child === void 0 ? void 0 : child.insertBefore.bind(child);
61
61
  this.el.replaceChild = child === null || child === void 0 ? void 0 : child.replaceChild.bind(child);
@@ -1,5 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
+ const indexCss = "taro-rich-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-rich-text-core[selectable=true],taro-rich-text-core[user-select=true]{display:block;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}taro-rich-text-core[space]{white-space:pre-wrap}taro-rich-text-core[space=ensp]{word-spacing:0.5em}taro-rich-text-core[space=nbsp]{word-spacing:1em}";
4
+
3
5
  const RichText = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
4
6
  constructor() {
5
7
  super();
@@ -51,6 +53,9 @@ const RichText = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
51
53
  return null;
52
54
  };
53
55
  this.nodes = undefined;
56
+ this.selectable = false;
57
+ this.userSelect = false;
58
+ this.space = undefined;
54
59
  }
55
60
  render() {
56
61
  const { nodes, renderNode } = this;
@@ -61,8 +66,12 @@ const RichText = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
61
66
  return h(Host, { innerHTML: nodes });
62
67
  }
63
68
  }
69
+ static get style() { return indexCss; }
64
70
  }, [0, "taro-rich-text-core", {
65
- "nodes": [1]
71
+ "nodes": [1],
72
+ "selectable": [1028],
73
+ "userSelect": [1028, "user-select"],
74
+ "space": [1]
66
75
  }]);
67
76
  function defineCustomElement$1() {
68
77
  if (typeof customElements === "undefined") {
@@ -60,6 +60,7 @@ const ScrollView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
60
60
  this.mpScrollTop = undefined;
61
61
  this.mpScrollLeft = undefined;
62
62
  this.mpScrollIntoView = undefined;
63
+ this.mpScrollIntoViewAlignment = undefined;
63
64
  this.animated = false;
64
65
  }
65
66
  watchScrollLeft(newVal) {
@@ -119,9 +120,9 @@ const ScrollView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
119
120
  var _a;
120
121
  if (typeof selector === 'string' && selector) {
121
122
  (_a = document.querySelector(`#${selector}`)) === null || _a === void 0 ? void 0 : _a.scrollIntoView({
122
- behavior: 'smooth',
123
- block: 'center',
124
- inline: 'start'
123
+ behavior: this.animated ? 'smooth' : 'auto',
124
+ block: this.scrollY ? (this.mpScrollIntoViewAlignment || 'center') : 'center',
125
+ inline: this.scrollX ? (this.mpScrollIntoViewAlignment || 'start') : 'start'
125
126
  });
126
127
  }
127
128
  }
@@ -156,6 +157,7 @@ const ScrollView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
156
157
  "mpScrollTop": [520, "scroll-top"],
157
158
  "mpScrollLeft": [520, "scroll-left"],
158
159
  "mpScrollIntoView": [513, "scroll-into-view"],
160
+ "mpScrollIntoViewAlignment": [1, "scroll-into-view-alignment"],
159
161
  "animated": [4, "scroll-with-animation"],
160
162
  "mpScrollToMethod": [64],
161
163
  "mpScrollIntoViewMethod": [64]
@@ -9988,6 +9988,7 @@ const Swiper = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
9988
9988
  };
9989
9989
  this.el.addEventListener('DOMNodeInserted', this.handleSwiperSize);
9990
9990
  this.el.addEventListener('DOMNodeRemoved', this.handleSwiperSize);
9991
+ this.el.addEventListener('MutationObserver', this.handleSwiperSize);
9991
9992
  }
9992
9993
  watchCircular() {
9993
9994
  if (this.swiper) {
@@ -10031,6 +10032,7 @@ const Swiper = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
10031
10032
  var _a, _b, _c, _d, _e, _f;
10032
10033
  this.el.removeEventListener('DOMNodeInserted', this.handleSwiperSize);
10033
10034
  this.el.removeEventListener('DOMNodeRemoved', this.handleSwiperSize);
10035
+ this.el.removeEventListener('MutationObserver', this.handleSwiperSize);
10034
10036
  (_b = (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect) === null || _b === void 0 ? void 0 : _b.call(_a);
10035
10037
  (_d = (_c = this.observerFirst) === null || _c === void 0 ? void 0 : _c.disconnect) === null || _d === void 0 ? void 0 : _d.call(_c);
10036
10038
  (_f = (_e = this.observerLast) === null || _e === void 0 ? void 0 : _e.disconnect) === null || _f === void 0 ? void 0 : _f.call(_e);
@@ -1,34 +1,40 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- function isEqualTag(a, b) {
4
- return typeof a.tagName === 'undefined' ? a.nodeType === b.nodeType : a.tagName === b.tagName;
5
- }
6
- function parseChildNodes(items, targets, needClean = false) {
7
- const list = Array.from(targets.values());
8
- for (let i = 0, j = 0; i < list.length; i++) {
9
- const target = list[i];
10
- if (!target)
11
- return;
12
- let item = items.item(j);
13
- while (item) {
14
- if (!isEqualTag(item, target) || needClean) {
15
- item.remove();
16
- j++;
17
- item = items.item(j);
18
- continue;
19
- }
20
- if (target.childNodes.length > 0) {
21
- const cleanAll = ['taro-image-core'].includes(target.tagName.toLocaleLowerCase());
22
- parseChildNodes(item.childNodes, target.childNodes, cleanAll);
3
+ const nativeCloneNode = Node.prototype.cloneNode;
4
+ function cloneNode(node, deep) {
5
+ const clonedNode = nativeCloneNode.call(node, false);
6
+ const srcChildNodes = childNodes(node);
7
+ if (deep) {
8
+ for (let i = 0; i < srcChildNodes.length; i++) {
9
+ const srcNode = srcChildNodes[i];
10
+ let srcDeep = deep;
11
+ if (srcNode.nodeType !== 2 && srcNode.nodeType !== 8) {
12
+ // Note: 没有引用节点(s-cr[reference comment])的情况下,不复制子节点避免冗余(例如:Image 组件)
13
+ if (!srcNode['s-cr']) {
14
+ srcDeep = false;
15
+ }
16
+ const childClone = cloneNode(srcNode, srcDeep);
17
+ clonedNode.appendChild(childClone);
23
18
  }
24
- break;
25
19
  }
26
- while (i === list.length - 1 && j < items.length) {
27
- j++;
28
- item = items.item(j);
29
- item === null || item === void 0 ? void 0 : item.remove();
20
+ }
21
+ return clonedNode;
22
+ }
23
+ function childNodes(node) {
24
+ const childNodes = node.childNodes;
25
+ // check if element is stencil element without shadow dom
26
+ // and then detect elements that were slotted into the element
27
+ if (node['s-sc']) {
28
+ const result = [];
29
+ for (let i = 0; i < childNodes.length; i++) {
30
+ const slot = childNodes[i]['s-nr'];
31
+ if (slot) {
32
+ result.push(slot);
33
+ }
30
34
  }
35
+ return result;
31
36
  }
37
+ return Array.from(childNodes);
32
38
  }
33
39
  const SwiperItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
34
40
  constructor() {
@@ -37,16 +43,9 @@ const SwiperItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
37
43
  this.itemId = undefined;
38
44
  }
39
45
  componentDidRender() {
40
- var _a, _b, _c;
41
- const el = this.el;
42
- if (el.classList.contains('swiper-slide-duplicate')) {
43
- const list = Array
44
- .from(((_b = (_a = el.parentElement) === null || _a === void 0 ? void 0 : _a.childNodes) === null || _b === void 0 ? void 0 : _b.values()) || [])
45
- .filter((e) => e.tagName === 'TARO-SWIPER-ITEM-CORE');
46
- if (list.length > 0) {
47
- parseChildNodes(el.childNodes, (_c = list[list.indexOf(el) === 0 ? list.length - 2 : 1]) === null || _c === void 0 ? void 0 : _c.childNodes);
48
- }
49
- }
46
+ this.el.cloneNode = (deep = false) => {
47
+ return cloneNode.call(null, this.el, deep);
48
+ };
50
49
  }
51
50
  render() {
52
51
  return (h(Host, { class: 'swiper-slide', "item-id": this.itemId }));
@@ -1,23 +1,29 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { c as classnames } from './index2.js';
3
2
 
4
- const indexCss = "taro-text-core{display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:pre-wrap}.taro-text__selectable{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}";
3
+ const indexCss = "taro-text-core{display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-text-core[selectable=true],taro-text-core[user-select=true]{display:inline-block;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}taro-text-core[space]{white-space:pre-wrap}taro-text-core[space=ensp]{word-spacing:0.5em}taro-text-core[space=nbsp]{word-spacing:1em}taro-text-core[number-of-lines]{--line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp)}";
5
4
 
6
5
  const Text = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
6
  constructor() {
8
7
  super();
9
8
  this.__registerHost();
10
9
  this.selectable = false;
10
+ this.userSelect = false;
11
+ this.space = undefined;
12
+ this.numberOfLines = undefined;
11
13
  }
12
14
  render() {
13
- const cls = classnames({
14
- 'taro-text__selectable': this.selectable
15
- });
16
- return (h(Host, { class: cls }, h("slot", null)));
15
+ const style = {};
16
+ if (typeof this.numberOfLines === 'number') {
17
+ style['--line-clamp'] = this.numberOfLines;
18
+ }
19
+ return (h(Host, { style: style }, h("slot", null)));
17
20
  }
18
21
  static get style() { return indexCss; }
19
22
  }, [4, "taro-text-core", {
20
- "selectable": [4]
23
+ "selectable": [1028],
24
+ "userSelect": [1028, "user-select"],
25
+ "space": [1025],
26
+ "numberOfLines": [2, "number-of-lines"]
21
27
  }]);
22
28
  function defineCustomElement$1() {
23
29
  if (typeof customElements === "undefined") {
@@ -108,7 +108,7 @@ const Textarea = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
108
108
  numberOfLines = Math.floor(taHeight / taLineHeight);
109
109
  return numberOfLines;
110
110
  };
111
- this.value = undefined;
111
+ this.value = '';
112
112
  this.placeholder = undefined;
113
113
  this.disabled = false;
114
114
  this.maxlength = 140;
@@ -127,13 +127,6 @@ const Textarea = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
127
127
  async focus() {
128
128
  this.textareaRef.focus();
129
129
  }
130
- componentDidLoad() {
131
- Object.defineProperty(this.el, 'value', {
132
- get: () => this.textareaRef.value,
133
- set: value => this.value !== value && (this.value = value),
134
- configurable: true
135
- });
136
- }
137
130
  render() {
138
131
  const { value, placeholder, disabled, maxlength, autoFocus, autoHeight, name, nativeProps, handleInput, handleFocus, handleBlur, handleChange } = this;
139
132
  const otherProps = {};
@@ -158,7 +151,7 @@ const Textarea = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
158
151
  "placeholder": [1],
159
152
  "disabled": [4],
160
153
  "maxlength": [2],
161
- "autoFocus": [516, "focus"],
154
+ "autoFocus": [4, "focus"],
162
155
  "autoHeight": [4, "auto-height"],
163
156
  "name": [1],
164
157
  "nativeProps": [16],
@@ -74,8 +74,8 @@ const Video = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
74
74
  const { src, videoRef } = this;
75
75
  if (isHls(src)) {
76
76
  import(
77
- /* webpackMode: "weak" */
78
- './hls.js').then(function (n) { return n.h; }).then(e => {
77
+ /* webpackExports: ["default"] */
78
+ './hls.js').then(e => {
79
79
  const Hls = e.default;
80
80
  this.HLS = Hls;
81
81
  if (Hls.isSupported()) {