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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (444) hide show
  1. package/dist/cjs/{hls-67cbc62d.js → hls-0f2d4d85.js} +8924 -9869
  2. package/dist/cjs/{index-f9d21cc5.js → index-067a58c1.js} +11 -10
  3. package/dist/cjs/loader.cjs.js +2 -2
  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 +2 -2
  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 +1 -1
  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 +2 -2
  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 +1 -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 +2 -2
  74. package/dist/cjs/taro-textarea-core.cjs.entry.js +1 -1
  75. package/dist/cjs/taro-video-control_3.cjs.entry.js +3 -3
  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/components/hls.js +8923 -9868
  81. package/dist/components/index2.js +11 -10
  82. package/dist/esm/{hls-221423a1.js → hls-0e83e558.js} +8924 -9869
  83. package/dist/esm/{index-1d8e8acd.js → index-394db4c1.js} +11 -10
  84. package/dist/esm/loader.js +3 -3
  85. package/dist/esm/taro-ad-core.entry.js +1 -1
  86. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  87. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  88. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  89. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  90. package/dist/esm/taro-audio-core.entry.js +1 -1
  91. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  92. package/dist/esm/taro-block-core.entry.js +1 -1
  93. package/dist/esm/taro-button-core.entry.js +2 -2
  94. package/dist/esm/taro-camera-core.entry.js +1 -1
  95. package/dist/esm/taro-canvas-core.entry.js +1 -1
  96. package/dist/esm/taro-channel-live-core.entry.js +1 -1
  97. package/dist/esm/taro-channel-video-core.entry.js +1 -1
  98. package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
  99. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  100. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  101. package/dist/esm/taro-components.js +3 -3
  102. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  103. package/dist/esm/taro-cover-image-core.entry.js +1 -1
  104. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  105. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  106. package/dist/esm/taro-editor-core.entry.js +1 -1
  107. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  108. package/dist/esm/taro-form-core.entry.js +1 -1
  109. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  110. package/dist/esm/taro-grid-view-core.entry.js +1 -1
  111. package/dist/esm/taro-icon-core.entry.js +2 -2
  112. package/dist/esm/taro-image-core.entry.js +2 -2
  113. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  114. package/dist/esm/taro-input-core.entry.js +1 -1
  115. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  116. package/dist/esm/taro-label-core.entry.js +1 -1
  117. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  118. package/dist/esm/taro-like-core.entry.js +1 -1
  119. package/dist/esm/taro-list-view-core.entry.js +1 -1
  120. package/dist/esm/taro-live-player-core.entry.js +1 -1
  121. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  122. package/dist/esm/taro-login-core.entry.js +1 -1
  123. package/dist/esm/taro-lottie-core.entry.js +1 -1
  124. package/dist/esm/taro-map-core.entry.js +1 -1
  125. package/dist/esm/taro-match-media-core.entry.js +1 -1
  126. package/dist/esm/taro-movable-area-core_2.entry.js +1 -1
  127. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  128. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  129. package/dist/esm/taro-navigator-core.entry.js +2 -2
  130. package/dist/esm/taro-official-account-core.entry.js +1 -1
  131. package/dist/esm/taro-open-data-core.entry.js +1 -1
  132. package/dist/esm/taro-page-container-core.entry.js +1 -1
  133. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  134. package/dist/esm/taro-picker-core_2.entry.js +2 -2
  135. package/dist/esm/taro-picker-view-column-core_2.entry.js +2 -2
  136. package/dist/esm/taro-progress-core.entry.js +1 -1
  137. package/dist/esm/taro-pull-to-refresh.entry.js +2 -2
  138. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  139. package/dist/esm/taro-rich-text-core.entry.js +1 -1
  140. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  141. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  142. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  143. package/dist/esm/taro-scroll-view-core.entry.js +2 -2
  144. package/dist/esm/taro-share-element-core.entry.js +1 -1
  145. package/dist/esm/taro-slider-core.entry.js +1 -1
  146. package/dist/esm/taro-slot-core.entry.js +1 -1
  147. package/dist/esm/taro-sticky-header-core.entry.js +1 -1
  148. package/dist/esm/taro-sticky-section-core.entry.js +1 -1
  149. package/dist/esm/taro-swiper-core_2.entry.js +2 -2
  150. package/dist/esm/taro-switch-core.entry.js +1 -1
  151. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  152. package/dist/esm/taro-tabbar.entry.js +2 -2
  153. package/dist/esm/taro-tabs-core.entry.js +1 -1
  154. package/dist/esm/taro-text-core.entry.js +2 -2
  155. package/dist/esm/taro-textarea-core.entry.js +1 -1
  156. package/dist/esm/taro-video-control_3.entry.js +3 -3
  157. package/dist/esm/taro-view-core.entry.js +2 -2
  158. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  159. package/dist/esm/taro-web-view-core.entry.js +1 -1
  160. package/dist/esm-es5/hls-0e83e558.js +289 -0
  161. package/dist/esm-es5/index-394db4c1.js +7 -0
  162. package/dist/esm-es5/loader.js +1 -1
  163. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  164. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  165. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  166. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  167. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  168. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  169. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  170. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  171. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  172. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  173. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  174. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  175. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  176. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  177. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  178. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  179. package/dist/esm-es5/taro-components.js +1 -1
  180. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  181. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  182. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  183. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  184. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  185. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  186. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  187. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  188. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  189. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  190. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  191. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  192. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  193. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  194. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  195. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  196. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  197. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  198. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  199. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  200. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  201. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  202. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  203. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  204. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  205. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  206. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  207. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  208. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  209. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  210. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  211. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  212. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  213. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  214. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  215. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  216. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  217. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  218. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  219. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  220. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  221. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  222. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  223. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  224. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  225. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  226. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  227. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  228. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  229. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  230. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  231. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  232. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  233. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  234. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  235. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  236. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  237. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  238. package/dist/taro-components/{p-4402972b.system.entry.js → p-0517f107.system.entry.js} +1 -1
  239. package/dist/taro-components/{p-08bb8dfc.system.entry.js → p-052da7f0.system.entry.js} +1 -1
  240. package/dist/taro-components/{p-8027e1c6.system.entry.js → p-07302165.system.entry.js} +1 -1
  241. package/dist/taro-components/{p-70b5e81e.system.entry.js → p-0d7a705b.system.entry.js} +1 -1
  242. package/dist/taro-components/{p-80f3d88d.entry.js → p-0fe855c6.entry.js} +1 -1
  243. package/dist/taro-components/{p-59590806.system.entry.js → p-117633e9.system.entry.js} +1 -1
  244. package/dist/taro-components/{p-d42e41ff.entry.js → p-137531b6.entry.js} +1 -1
  245. package/dist/taro-components/{p-8b8a8e39.entry.js → p-139e6251.entry.js} +1 -1
  246. package/dist/taro-components/{p-1e8c8ae1.entry.js → p-1404c119.entry.js} +1 -1
  247. package/dist/taro-components/{p-58877ef2.system.entry.js → p-16336cc6.system.entry.js} +1 -1
  248. package/dist/taro-components/{p-69f6784d.system.entry.js → p-18703731.system.entry.js} +1 -1
  249. package/dist/taro-components/{p-c6e6dab1.system.entry.js → p-1974e52e.system.entry.js} +1 -1
  250. package/dist/taro-components/p-198000d8.system.js +289 -0
  251. package/dist/taro-components/{p-fa36fe8e.system.entry.js → p-1b3d41d3.system.entry.js} +1 -1
  252. package/dist/taro-components/p-1c4e3899.entry.js +1 -0
  253. package/dist/taro-components/{p-2bac359b.entry.js → p-1e43a2d5.entry.js} +1 -1
  254. package/dist/taro-components/{p-88d64daa.system.entry.js → p-1e739fcb.system.entry.js} +1 -1
  255. package/dist/taro-components/{p-c4fdb669.system.entry.js → p-1f39576a.system.entry.js} +1 -1
  256. package/dist/taro-components/p-204bd245.entry.js +1 -0
  257. package/dist/taro-components/{p-6f214fc3.system.entry.js → p-208e438c.system.entry.js} +1 -1
  258. package/dist/taro-components/{p-bac3deb0.system.entry.js → p-227e33fc.system.entry.js} +1 -1
  259. package/dist/taro-components/{p-90e4274e.entry.js → p-25adb80c.entry.js} +1 -1
  260. package/dist/taro-components/{p-1b501f32.system.entry.js → p-2a071adf.system.entry.js} +1 -1
  261. package/dist/taro-components/{p-38de410e.entry.js → p-2af69b72.entry.js} +1 -1
  262. package/dist/taro-components/{p-dcb5b505.system.entry.js → p-2c89af5b.system.entry.js} +1 -1
  263. package/dist/taro-components/{p-b2bb02d7.system.entry.js → p-2d1b4dcc.system.entry.js} +1 -1
  264. package/dist/taro-components/p-2fad2a65.js +7 -0
  265. package/dist/taro-components/{p-4542b767.entry.js → p-30805bdf.entry.js} +1 -1
  266. package/dist/taro-components/{p-4190e20b.system.entry.js → p-3094bda6.system.entry.js} +1 -1
  267. package/dist/taro-components/{p-f44e975b.entry.js → p-31bba7c3.entry.js} +1 -1
  268. package/dist/taro-components/{p-e753b776.entry.js → p-355e4dbc.entry.js} +1 -1
  269. package/dist/taro-components/{p-7dd9c8da.system.entry.js → p-357ba712.system.entry.js} +1 -1
  270. package/dist/taro-components/{p-c2391de5.entry.js → p-385d8aed.entry.js} +1 -1
  271. package/dist/taro-components/p-387314fa.system.js +7 -0
  272. package/dist/taro-components/{p-c3d3eca2.entry.js → p-38ee526a.entry.js} +1 -1
  273. package/dist/taro-components/{p-dfc405a5.entry.js → p-3d8c9dfb.entry.js} +1 -1
  274. package/dist/taro-components/p-3e701660.js +289 -0
  275. package/dist/taro-components/{p-7722f33f.entry.js → p-3f9f3448.entry.js} +1 -1
  276. package/dist/taro-components/{p-38a51bd2.entry.js → p-407ca16e.entry.js} +1 -1
  277. package/dist/taro-components/{p-58690684.entry.js → p-43720011.entry.js} +1 -1
  278. package/dist/taro-components/{p-27c4878c.entry.js → p-469ee343.entry.js} +1 -1
  279. package/dist/taro-components/{p-1be83ed3.entry.js → p-46b8f89b.entry.js} +1 -1
  280. package/dist/taro-components/{p-69fa7272.system.entry.js → p-473afc8e.system.entry.js} +1 -1
  281. package/dist/taro-components/p-486d0ec7.entry.js +1 -0
  282. package/dist/taro-components/p-4e9bd4f6.entry.js +1 -0
  283. package/dist/taro-components/{p-c4dd85b6.entry.js → p-50902cd0.entry.js} +1 -1
  284. package/dist/taro-components/{p-74bf8246.system.entry.js → p-53ef8a6c.system.entry.js} +1 -1
  285. package/dist/taro-components/{p-c3d35ae5.entry.js → p-5613907c.entry.js} +1 -1
  286. package/dist/taro-components/{p-9d4fa0d3.system.entry.js → p-5640e9f4.system.entry.js} +1 -1
  287. package/dist/taro-components/{p-f9ac515e.system.entry.js → p-57b9943c.system.entry.js} +1 -1
  288. package/dist/taro-components/{p-affb28de.entry.js → p-589293fd.entry.js} +1 -1
  289. package/dist/taro-components/p-58b19305.system.entry.js +1 -0
  290. package/dist/taro-components/{p-be6050fd.system.entry.js → p-5905e3ef.system.entry.js} +1 -1
  291. package/dist/taro-components/p-5b67a98e.entry.js +1 -0
  292. package/dist/taro-components/{p-7c1fc8f5.system.entry.js → p-5c1e6b1c.system.entry.js} +1 -1
  293. package/dist/taro-components/{p-97782cdd.system.entry.js → p-5dab46cd.system.entry.js} +1 -1
  294. package/dist/taro-components/{p-b1c972e2.system.entry.js → p-6127b1b6.system.entry.js} +1 -1
  295. package/dist/taro-components/{p-f499c0a0.system.entry.js → p-66b0b419.system.entry.js} +1 -1
  296. package/dist/taro-components/p-66f7eea6.entry.js +1 -0
  297. package/dist/taro-components/{p-4915fdc1.system.entry.js → p-6800ccdc.system.entry.js} +1 -1
  298. package/dist/taro-components/{p-46244579.system.entry.js → p-69cd1f2a.system.entry.js} +1 -1
  299. package/dist/taro-components/{p-bba8c3a7.system.entry.js → p-6d4b7e5c.system.entry.js} +1 -1
  300. package/dist/taro-components/{p-11936d9a.entry.js → p-6db97374.entry.js} +1 -1
  301. package/dist/taro-components/p-6e115968.entry.js +1 -0
  302. package/dist/taro-components/{p-badfb3be.entry.js → p-6f84e936.entry.js} +1 -1
  303. package/dist/taro-components/p-71b54f06.entry.js +1 -0
  304. package/dist/taro-components/p-72b118b0.entry.js +1 -0
  305. package/dist/taro-components/{p-39685396.system.entry.js → p-735c2a72.system.entry.js} +1 -1
  306. package/dist/taro-components/{p-8e5cc8fe.system.entry.js → p-79c3fde3.system.entry.js} +1 -1
  307. package/dist/taro-components/p-7b3b8057.entry.js +1 -0
  308. package/dist/taro-components/{p-9e8619a6.system.entry.js → p-7c2454dd.system.entry.js} +1 -1
  309. package/dist/taro-components/p-7d635413.entry.js +1 -0
  310. package/dist/taro-components/{p-4d0da795.system.entry.js → p-7e8e355b.system.entry.js} +1 -1
  311. package/dist/taro-components/p-801f09b8.entry.js +1 -0
  312. package/dist/taro-components/{p-26889f3c.system.entry.js → p-81f2ad70.system.entry.js} +1 -1
  313. package/dist/taro-components/{p-4514dc53.system.entry.js → p-8201ee31.system.entry.js} +1 -1
  314. package/dist/taro-components/{p-ef7e7d73.system.entry.js → p-85a7daeb.system.entry.js} +1 -1
  315. package/dist/taro-components/p-86280254.entry.js +1 -0
  316. package/dist/taro-components/{p-4d7182f4.system.entry.js → p-88d2b41b.system.entry.js} +1 -1
  317. package/dist/taro-components/{p-0a165ad3.system.entry.js → p-898db637.system.entry.js} +1 -1
  318. package/dist/taro-components/{p-05c757b7.entry.js → p-8c0b740e.entry.js} +1 -1
  319. package/dist/taro-components/{p-95f70aea.system.entry.js → p-90333d0a.system.entry.js} +1 -1
  320. package/dist/taro-components/p-9046110a.entry.js +1 -0
  321. package/dist/taro-components/{p-d797cdc4.entry.js → p-904df510.entry.js} +1 -1
  322. package/dist/taro-components/{p-b1249ebb.system.entry.js → p-907d9d01.system.entry.js} +1 -1
  323. package/dist/taro-components/{p-b5ad2aec.entry.js → p-962f28cb.entry.js} +1 -1
  324. package/dist/taro-components/{p-23cb8a7f.entry.js → p-968b7c1d.entry.js} +1 -1
  325. package/dist/taro-components/{p-491c6272.system.entry.js → p-97f0ad72.system.entry.js} +1 -1
  326. package/dist/taro-components/p-9a5fbb2e.entry.js +1 -0
  327. package/dist/taro-components/{p-51b6fc09.system.entry.js → p-9ac947ac.system.entry.js} +1 -1
  328. package/dist/taro-components/{p-369fb262.entry.js → p-9aeb7995.entry.js} +1 -1
  329. package/dist/taro-components/{p-05bc0fce.entry.js → p-9b6550fc.entry.js} +1 -1
  330. package/dist/taro-components/{p-0a9b984e.system.entry.js → p-9d9ede17.system.entry.js} +1 -1
  331. package/dist/taro-components/{p-0b8b3af5.entry.js → p-a132ebb9.entry.js} +1 -1
  332. package/dist/taro-components/{p-acd9a9da.entry.js → p-a1763153.entry.js} +1 -1
  333. package/dist/taro-components/p-a3a1a779.entry.js +1 -0
  334. package/dist/taro-components/{p-f671ed7d.entry.js → p-a8565231.entry.js} +1 -1
  335. package/dist/taro-components/p-a940a65b.entry.js +1 -0
  336. package/dist/taro-components/{p-4e77bdea.entry.js → p-ab2d4f12.entry.js} +1 -1
  337. package/dist/taro-components/{p-da5cdbf5.system.entry.js → p-ab726c20.system.entry.js} +1 -1
  338. package/dist/taro-components/{p-895cd7c9.system.entry.js → p-af3fa859.system.entry.js} +1 -1
  339. package/dist/taro-components/{p-8d037fc0.entry.js → p-af8e521a.entry.js} +1 -1
  340. package/dist/taro-components/p-af9ef8b4.entry.js +1 -0
  341. package/dist/taro-components/{p-6f048097.system.entry.js → p-afb3895c.system.entry.js} +1 -1
  342. package/dist/taro-components/{p-58b7e960.entry.js → p-b027181b.entry.js} +1 -1
  343. package/dist/taro-components/{p-dccf1ae9.entry.js → p-b235e43c.entry.js} +1 -1
  344. package/dist/taro-components/p-b4ea72ea.entry.js +1 -0
  345. package/dist/taro-components/p-b4f3d0ab.entry.js +1 -0
  346. package/dist/taro-components/{p-ae3f1ed4.system.entry.js → p-b5b30493.system.entry.js} +1 -1
  347. package/dist/taro-components/{p-f9c26678.entry.js → p-b641e598.entry.js} +1 -1
  348. package/dist/taro-components/{p-78c30850.system.entry.js → p-b6d4634f.system.entry.js} +1 -1
  349. package/dist/taro-components/p-b898d734.entry.js +1 -0
  350. package/dist/taro-components/{p-c70dd956.system.entry.js → p-bcf80126.system.entry.js} +1 -1
  351. package/dist/taro-components/p-bdc30301.entry.js +1 -0
  352. package/dist/taro-components/{p-c2c498d9.entry.js → p-bf0e0394.entry.js} +1 -1
  353. package/dist/taro-components/{p-c6385fc2.system.entry.js → p-c0ec2f41.system.entry.js} +1 -1
  354. package/dist/taro-components/{p-e3f8265d.system.entry.js → p-c1073ed6.system.entry.js} +1 -1
  355. package/dist/taro-components/p-c11a42e0.entry.js +1 -0
  356. package/dist/taro-components/{p-2024e133.system.entry.js → p-c2322741.system.entry.js} +1 -1
  357. package/dist/taro-components/{p-fcdac6ec.system.entry.js → p-c43c5e89.system.entry.js} +1 -1
  358. package/dist/taro-components/{p-3c5ac930.entry.js → p-c490cd45.entry.js} +1 -1
  359. package/dist/taro-components/{p-1493866a.entry.js → p-ca3a269f.entry.js} +1 -1
  360. package/dist/taro-components/{p-9318da32.entry.js → p-cc164fa3.entry.js} +1 -1
  361. package/dist/taro-components/{p-736053bb.system.entry.js → p-cc70bb7a.system.entry.js} +1 -1
  362. package/dist/taro-components/{p-a5afdc47.system.entry.js → p-cc7b95fd.system.entry.js} +1 -1
  363. package/dist/taro-components/{p-623b3eb6.system.entry.js → p-cd90bead.system.entry.js} +1 -1
  364. package/dist/taro-components/p-d34a6c04.entry.js +1 -0
  365. package/dist/taro-components/{p-b708e9fe.entry.js → p-d9e2e3aa.entry.js} +1 -1
  366. package/dist/taro-components/{p-7df9de66.system.entry.js → p-da239b8b.system.entry.js} +1 -1
  367. package/dist/taro-components/{p-8feeb7ce.entry.js → p-dcbb7b2d.entry.js} +1 -1
  368. package/dist/taro-components/{p-79c41bc2.entry.js → p-df4c2f21.entry.js} +1 -1
  369. package/dist/taro-components/p-e3480c4c.entry.js +1 -0
  370. package/dist/taro-components/{p-087bf23a.system.entry.js → p-e53508c1.system.entry.js} +1 -1
  371. package/dist/taro-components/{p-8d2101be.system.entry.js → p-e5f78321.system.entry.js} +1 -1
  372. package/dist/taro-components/{p-10be7fb5.system.entry.js → p-e6481671.system.entry.js} +1 -1
  373. package/dist/taro-components/{p-c33733b3.system.entry.js → p-e67755f0.system.entry.js} +1 -1
  374. package/dist/taro-components/{p-518146fd.system.entry.js → p-eaa370a9.system.entry.js} +1 -1
  375. package/dist/taro-components/{p-02aa7366.system.entry.js → p-ebdd350f.system.entry.js} +1 -1
  376. package/dist/taro-components/{p-1385d50f.entry.js → p-ed011ff9.entry.js} +1 -1
  377. package/dist/taro-components/{p-1c446c65.system.js → p-ed331c06.system.js} +1 -1
  378. package/dist/taro-components/{p-6dae898a.system.entry.js → p-edbb1a17.system.entry.js} +1 -1
  379. package/dist/taro-components/{p-9df17ea6.entry.js → p-f0340edf.entry.js} +1 -1
  380. package/dist/taro-components/{p-c586a796.system.entry.js → p-f11c9c37.system.entry.js} +1 -1
  381. package/dist/taro-components/{p-1941d333.system.entry.js → p-f420680c.system.entry.js} +1 -1
  382. package/dist/taro-components/p-f533bc2f.entry.js +1 -0
  383. package/dist/taro-components/{p-30fe0e81.system.entry.js → p-f534057e.system.entry.js} +1 -1
  384. package/dist/taro-components/{p-17302fe9.system.entry.js → p-f7927285.system.entry.js} +1 -1
  385. package/dist/taro-components/p-f7b32c6b.entry.js +1 -0
  386. package/dist/taro-components/{p-33223303.system.entry.js → p-fa0f6dab.system.entry.js} +1 -1
  387. package/dist/taro-components/{p-651586f8.system.entry.js → p-fa43177b.system.entry.js} +1 -1
  388. package/dist/taro-components/{p-1c320250.system.entry.js → p-fa6c022a.system.entry.js} +1 -1
  389. package/dist/taro-components/p-fb983850.entry.js +1 -0
  390. package/dist/taro-components/{p-0939fd26.system.entry.js → p-fd7ff0f3.system.entry.js} +1 -1
  391. package/dist/taro-components/taro-components.esm.js +1 -1
  392. package/dist/taro-components/taro-components.js +1 -1
  393. package/lib/react/component-lib/index.d.ts +1 -1
  394. package/lib/react/components.d.ts +80 -80
  395. package/lib/react/index.d.ts +1 -1
  396. package/lib/react/react-component-lib/createComponent.d.ts +1 -1
  397. package/lib/react/react-component-lib/createOverlayComponent.d.ts +2 -2
  398. package/lib/react/react-component-lib/index.d.ts +2 -2
  399. package/lib/react/react-component-lib/utils/index.d.ts +3 -3
  400. package/lib/vue2/index.d.ts +1 -1
  401. package/lib/vue3/component-lib/index.d.ts +4 -4
  402. package/lib/vue3/components.d.ts +80 -80
  403. package/lib/vue3/index.d.ts +1 -1
  404. package/package.json +4 -4
  405. package/dist/esm-es5/hls-221423a1.js +0 -365
  406. package/dist/esm-es5/index-1d8e8acd.js +0 -7
  407. package/dist/taro-components/p-0393ed55.entry.js +0 -1
  408. package/dist/taro-components/p-07293238.entry.js +0 -1
  409. package/dist/taro-components/p-1249cb09.entry.js +0 -1
  410. package/dist/taro-components/p-16e03200.entry.js +0 -1
  411. package/dist/taro-components/p-1743a04b.system.js +0 -365
  412. package/dist/taro-components/p-22dc57d4.entry.js +0 -1
  413. package/dist/taro-components/p-2e28cb1c.entry.js +0 -1
  414. package/dist/taro-components/p-2f7dba29.entry.js +0 -1
  415. package/dist/taro-components/p-30f32fa2.system.entry.js +0 -1
  416. package/dist/taro-components/p-3c91f59b.entry.js +0 -1
  417. package/dist/taro-components/p-3d60bd58.entry.js +0 -1
  418. package/dist/taro-components/p-429a0f99.entry.js +0 -1
  419. package/dist/taro-components/p-42bcb98a.entry.js +0 -1
  420. package/dist/taro-components/p-5931c82e.entry.js +0 -1
  421. package/dist/taro-components/p-61f225ef.system.js +0 -7
  422. package/dist/taro-components/p-6de6eb4e.entry.js +0 -1
  423. package/dist/taro-components/p-7377a117.entry.js +0 -1
  424. package/dist/taro-components/p-744a6b99.entry.js +0 -1
  425. package/dist/taro-components/p-76724e58.js +0 -7
  426. package/dist/taro-components/p-80970d8f.entry.js +0 -1
  427. package/dist/taro-components/p-a294e169.entry.js +0 -1
  428. package/dist/taro-components/p-a6d2e81b.entry.js +0 -1
  429. package/dist/taro-components/p-a9b51167.entry.js +0 -1
  430. package/dist/taro-components/p-ae8fd8c8.entry.js +0 -1
  431. package/dist/taro-components/p-b16eddaa.entry.js +0 -1
  432. package/dist/taro-components/p-beba1657.entry.js +0 -1
  433. package/dist/taro-components/p-d5234e7e.js +0 -365
  434. package/dist/taro-components/p-e2f2fbe5.entry.js +0 -1
  435. package/dist/taro-components/p-e8b1ea64.entry.js +0 -1
  436. package/dist/taro-components/p-e9eeb060.entry.js +0 -1
  437. package/dist/taro-components/p-efcfdb97.entry.js +0 -1
  438. package/dist/taro-components/p-fb585037.entry.js +0 -1
  439. package/dist/taro-components/p-fdecdc25.entry.js +0 -1
  440. /package/dist/cjs/{index-e1b469cd.js → index-e751dfe3.js} +0 -0
  441. /package/dist/esm/{index-c948674f.js → index-980f930f.js} +0 -0
  442. /package/dist/esm-es5/{index-c948674f.js → index-980f930f.js} +0 -0
  443. /package/dist/taro-components/{p-1a0e1932.system.js → p-7e6b54cb.system.js} +0 -0
  444. /package/dist/taro-components/{p-78e3ebb9.js → p-9137dcab.js} +0 -0
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as h}from"./p-78e3ebb9.js";import{c as o}from"./p-76724e58.js";const e=class{constructor(i){t(this,i),this.onLongPress=s(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}render(){const t=o({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),i(h,Object.assign({class:t},s),i("slot",null))}};e.style="taro-cover-view-core{display:block}";export{e as taro_cover_view_core}
1
+ import{r as t,c as s,h as i,H as h}from"./p-9137dcab.js";import{c as o}from"./p-2fad2a65.js";const e=class{constructor(i){t(this,i),this.onLongPress=s(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}render(){const t=o({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),i(h,Object.assign({class:t},s),i("slot",null))}};e.style="taro-cover-view-core{display:block}";export{e as taro_cover_view_core}
@@ -1 +1 @@
1
- import{r,h as o,H as t}from"./p-78e3ebb9.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(o){r(this,o)}componentDidLoad(){s("Like",this)}render(){return o(t,null)}};export{a as taro_like_core}
1
+ import{r,h as o,H as t}from"./p-9137dcab.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(o){r(this,o)}componentDidLoad(){s("Like",this)}render(){return o(t,null)}};export{a as taro_like_core}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,g as s}from"./p-78e3ebb9.js";var r,o=function(t,e,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(t,i):r?r.value=i:e.set(t,i),i},h=function(t,e,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(t):s?s.value:e.get(t)};const n=class{constructor(i){t(this,i),this.onSubmit=e(this,"submit",7),r.set(this,{})}onButtonSubmit(t){t.stopPropagation(),o(this,r,this.getFormValue(),"f"),this.onSubmit.emit({value:h(this,r,"f")})}onButtonReset(t){t.stopPropagation(),this.form.reset()}componentDidLoad(){o(this,r,this.getFormValue(),"f"),Object.defineProperty(this.el,"value",{get:()=>h(this,r,"f"),configurable:!0})}componentDidRender(){if(this.originalAppendChild||(this.originalAppendChild=this.el.appendChild,this.originalInsertBefore=this.el.insertBefore,this.originalReplaceChild=this.el.replaceChild,this.originalRemoveChild=this.el.removeChild),!this.form)return this.el.appendChild=this.originalAppendChild,this.el.insertBefore=this.originalInsertBefore,this.el.replaceChild=this.originalReplaceChild,void(this.el.removeChild=this.originalRemoveChild);this.el.appendChild=t=>this.form.appendChild(t),this.el.insertBefore=(t,e)=>this.form.insertBefore(t,e),this.el.replaceChild=(t,e)=>this.form.replaceChild(t,e),this.el.removeChild=t=>this.form.removeChild(t)}getFormValue(){const t=this.el,e=[],i=t.getElementsByTagName("input");for(let t=0;t<i.length;t++)e.push(i[t]);const s={},r={};e.forEach((t=>{"string"==typeof t.name&&(-1===t.className.indexOf("weui-switch")?"radio"!==t.type?"checkbox"!==t.type?s[t.name]=t.value:t.checked?r[t.name]?s[t.name].push(t.value):(r[t.name]=!0,s[t.name]=[t.value]):r[t.name]||(s[t.name]=[]):t.checked?(r[t.name]=!0,s[t.name]=t.value):r[t.name]||(s[t.name]=""):s[t.name]=t.checked)}));const o=t.getElementsByTagName("textarea"),h=[];for(let t=0;t<o.length;t++)h.push(o[t]);return h.forEach((t=>{"string"==typeof t.name&&(s[t.name]=t.value)})),s}render(){return i("form",{ref:t=>{this.form=t}},i("slot",null))}get el(){return s(this)}};r=new WeakMap;export{n as taro_form_core}
1
+ import{r as t,c as i,h as e,g as s}from"./p-9137dcab.js";var r,o=function(t,i,e,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof i?t!==i||!r:!i.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(t,e):r?r.value=e:i.set(t,e),e},h=function(t,i,e,s){if("a"===e&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof i?t!==i||!s:!i.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===e?s:"a"===e?s.call(t):s?s.value:i.get(t)};const n=class{constructor(e){t(this,e),this.onSubmit=i(this,"submit",7),r.set(this,{})}onButtonSubmit(t){t.stopPropagation(),o(this,r,this.getFormValue(),"f"),this.onSubmit.emit({value:h(this,r,"f")})}onButtonReset(t){t.stopPropagation(),this.form.reset()}componentDidLoad(){o(this,r,this.getFormValue(),"f"),Object.defineProperty(this.el,"value",{get:()=>h(this,r,"f"),configurable:!0})}componentDidRender(){if(this.originalAppendChild||(this.originalAppendChild=this.el.appendChild,this.originalInsertBefore=this.el.insertBefore,this.originalReplaceChild=this.el.replaceChild,this.originalRemoveChild=this.el.removeChild),!this.form)return this.el.appendChild=this.originalAppendChild,this.el.insertBefore=this.originalInsertBefore,this.el.replaceChild=this.originalReplaceChild,void(this.el.removeChild=this.originalRemoveChild);this.el.appendChild=t=>this.form.appendChild(t),this.el.insertBefore=(t,i)=>this.form.insertBefore(t,i),this.el.replaceChild=(t,i)=>this.form.replaceChild(t,i),this.el.removeChild=t=>this.form.removeChild(t)}getFormValue(){const t=this.el,i=[],e=t.getElementsByTagName("input");for(let t=0;t<e.length;t++)i.push(e[t]);const s={},r={};i.forEach((t=>{"string"==typeof t.name&&(-1===t.className.indexOf("weui-switch")?"radio"!==t.type?"checkbox"!==t.type?s[t.name]=t.value:t.checked?r[t.name]?s[t.name].push(t.value):(r[t.name]=!0,s[t.name]=[t.value]):r[t.name]||(s[t.name]=[]):t.checked?(r[t.name]=!0,s[t.name]=t.value):r[t.name]||(s[t.name]=""):s[t.name]=t.checked)}));const o=t.getElementsByTagName("textarea"),h=[];for(let t=0;t<o.length;t++)h.push(o[t]);return h.forEach((t=>{"string"==typeof t.name&&(s[t.name]=t.value)})),s}render(){return e("form",{ref:t=>{this.form=t}},e("slot",null))}get el(){return s(this)}};r=new WeakMap;export{n as taro_form_core}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,g as o}from"./p-78e3ebb9.js";const h=class{constructor(i){t(this,i),this.onLongTap=s(this,"longtap",7),this.onTouchStart=()=>{this.timer=setTimeout((()=>{this.onLongTap.emit()}),500)},this.onTouchMove=()=>{clearTimeout(this.timer)},this.onTouchEnd=()=>{clearTimeout(this.timer)},this.canvasId=void 0,this.nativeProps={}}render(){const{canvasId:t,nativeProps:s}=this;return i("canvas",Object.assign({"canvas-id":t,style:{width:"100%",height:"100%"},onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd},s))}get el(){return o(this)}};h.style="taro-canvas-core{display:block;position:relative;width:300px;height:150px}";export{h as taro_canvas_core}
1
+ import{r as t,c as s,h as i,g as o}from"./p-9137dcab.js";const h=class{constructor(i){t(this,i),this.onLongTap=s(this,"longtap",7),this.onTouchStart=()=>{this.timer=setTimeout((()=>{this.onLongTap.emit()}),500)},this.onTouchMove=()=>{clearTimeout(this.timer)},this.onTouchEnd=()=>{clearTimeout(this.timer)},this.canvasId=void 0,this.nativeProps={}}render(){const{canvasId:t,nativeProps:s}=this;return i("canvas",Object.assign({"canvas-id":t,style:{width:"100%",height:"100%"},onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd},s))}get el(){return o(this)}};h.style="taro-canvas-core{display:block;position:relative;width:300px;height:150px}";export{h as taro_canvas_core}
@@ -1 +1 @@
1
- import{r as o,h as r,H as t}from"./p-78e3ebb9.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("RtcRoomItem",this)}render(){return r(t,null)}};export{a as taro_rtc_room_item_core}
1
+ import{r as o,h as r,H as t}from"./p-9137dcab.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("RtcRoomItem",this)}render(){return r(t,null)}};export{a as taro_rtc_room_item_core}
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js"],(function(t){"use strict";var e,n,i;return{setters:[function(t){e=t.r;n=t.c;i=t.h}],execute:function(){var o="audio{max-width:100%;outline:none}";var r=t("taro_audio_core",function(){function t(t){e(this,t);this.onError=n(this,"error",7);this.onPlay=n(this,"play",7);this.onPause=n(this,"pause",7);this.onTimeUpdate=n(this,"timeupdate",7);this.onEnded=n(this,"ended",7);this.src=undefined;this.controls=true;this.autoplay=false;this.loop=false;this.muted=false;this.nativeProps={}}t.prototype.bindevent=function(){var t=this;this.audio.addEventListener("timeupdate",(function(e){t.onTimeUpdate.emit({duration:e.srcElement.duration,currentTime:e.srcElement.duration})}));this.audio.addEventListener("ended",(function(){t.onEnded.emit()}));this.audio.addEventListener("play",(function(){t.onPlay.emit()}));this.audio.addEventListener("pause",(function(e){t.onPause.emit(e)}));this.audio.addEventListener("error",(function(e){var n;t.onError.emit({errMsg:(n=e.srcElement.error)===null||n===void 0?void 0:n.code})}))};t.prototype.componentDidLoad=function(){this.bindevent()};t.prototype.render=function(){var t=this;var e=this,n=e.src,o=e.controls,r=e.autoplay,s=e.loop,a=e.muted,d=e.nativeProps;return i("audio",Object.assign({src:n,controls:o,autoplay:r,loop:s,muted:a,ref:function(e){t.audio=e}},d))};return t}());r.style=o}}}));
1
+ System.register(["./p-7e6b54cb.system.js"],(function(t){"use strict";var e,n,i;return{setters:[function(t){e=t.r;n=t.c;i=t.h}],execute:function(){var o="audio{max-width:100%;outline:none}";var r=t("taro_audio_core",function(){function t(t){e(this,t);this.onError=n(this,"error",7);this.onPlay=n(this,"play",7);this.onPause=n(this,"pause",7);this.onTimeUpdate=n(this,"timeupdate",7);this.onEnded=n(this,"ended",7);this.src=undefined;this.controls=true;this.autoplay=false;this.loop=false;this.muted=false;this.nativeProps={}}t.prototype.bindevent=function(){var t=this;this.audio.addEventListener("timeupdate",(function(e){t.onTimeUpdate.emit({duration:e.srcElement.duration,currentTime:e.srcElement.duration})}));this.audio.addEventListener("ended",(function(){t.onEnded.emit()}));this.audio.addEventListener("play",(function(){t.onPlay.emit()}));this.audio.addEventListener("pause",(function(e){t.onPause.emit(e)}));this.audio.addEventListener("error",(function(e){var n;t.onError.emit({errMsg:(n=e.srcElement.error)===null||n===void 0?void 0:n.code})}))};t.prototype.componentDidLoad=function(){this.bindevent()};t.prototype.render=function(){var t=this;var e=this,n=e.src,o=e.controls,r=e.autoplay,s=e.loop,a=e.muted,d=e.nativeProps;return i("audio",Object.assign({src:n,controls:o,autoplay:r,loop:s,muted:a,ref:function(e){t.audio=e}},d))};return t}());r.style=o}}}));
@@ -0,0 +1 @@
1
+ import{r,h as o,H as t}from"./p-9137dcab.js";import{n as a}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){a("ShareElement",this)}render(){return o(t,null)}};export{s as taro_share_element_core}
@@ -0,0 +1 @@
1
+ import{r as o,h as s,H as t}from"./p-9137dcab.js";import{c as r}from"./p-2fad2a65.js";const i=class{constructor(s){o(this,s),this.type=void 0,this.size="23",this.color=void 0}render(){const{type:o,size:i,color:c}=this,a=null==o?void 0:o.replace(/_/g,"-"),e=r({[`weui-icon-${a}`]:!0});return s(t,{class:e,style:{"font-size":`${i}px`,color:c}})}};export{i as taro_icon_core}
@@ -1 +1 @@
1
- import{r as o,h as r,H as t}from"./p-78e3ebb9.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("Login",this)}render(){return r(t,null)}};export{a as taro_login_core}
1
+ import{r as o,h as r,H as t}from"./p-9137dcab.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("Login",this)}render(){return r(t,null)}};export{a as taro_login_core}
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_rtc_room_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("RtcRoom",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_rtc_room_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("RtcRoom",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
@@ -1 +1 @@
1
- import{r as o,h as r,H as t}from"./p-78e3ebb9.js";import{n as a}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(r){o(this,r)}componentDidLoad(){a("RootPortal",this)}render(){return r(t,null)}};export{s as taro_root_portal_core}
1
+ import{r as o,h as r,H as t}from"./p-9137dcab.js";import{n as a}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(r){o(this,r)}componentDidLoad(){a("RootPortal",this)}render(){return r(t,null)}};export{s as taro_root_portal_core}
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var i=t("taro_animation_view_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("AnimationView",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var i=t("taro_animation_view_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("AnimationView",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_official_account_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("OfficialAccount",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
1
+ System.register(["./p-7e6b54cb.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_official_account_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("OfficialAccount",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as e,g as h}from"./p-78e3ebb9.js";import{c as n}from"./p-76724e58.js";function o(t,i){const s=[];for(let e=t;e<=i;e++)s.push(`${e<10?"0":""}${e}`);return s}const r=["20","21","22","23",...o(0,23),"00","01","02","03"],a=["56","57","58","59",...o(0,59),"00","01","02","03"];function c(t,i){return!isNaN(+t)&&t>=0&&t<i.length}function u(t){if(!/^\d{1,2}:\d{1,2}$/.test(t))return!1;const i=t.split(":").map((t=>+t));return!(i[0]<0||i[0]>23||i[1]<0||i[1]>59)}function d(t,i){const s=t.split(":").map((t=>+t)),e=i.split(":").map((t=>+t));return s[0]<e[0]||s[0]===e[0]&&s[1]<=e[1]}function l(t){if(!t)return!1;const i=new Date(t.replace(/-/g,"/"));return!isNaN(i.getMonth())&&i}function p(t){let i;return i=Array.isArray(t)?t.map((t=>String(t))):t,i}function m(t,i){const s=[];for(let e=t;e<=i;e++)s.push(e);return s}function g(t,i){return m(t,i)}function f(t,i,s){let e=1,h=12;return t.getFullYear()===s&&(e=t.getMonth()+1),i.getFullYear()===s&&(h=i.getMonth()+1),m(e,h)}function v(t,i,s,e){let h=1,n=function(t,i){return 4===i||6===i||9===i||11===i?30:2===i?t%4==0&&t%100!=0||t%400==0?29:28:31}(s,e);return t.getFullYear()===s&&t.getMonth()+1===e&&(h=t.getDate()),i.getFullYear()===s&&i.getMonth()+1===e&&(n=i.getDate()),m(h,n)}const _=102,k=34,w=class{constructor(e){t(this,e),this.onChange=i(this,"change",7),this.onColumnChange=i(this,"columnchange",7),this.onCancel=i(this,"cancel",7),this.index=[],this.showPicker=()=>{this.disabled||(this.height=this.getHeightByIndex(),this.hidden=!1)},this.getHeightByIndex=()=>this.index.map((t=>{let i=0;return"time"===this.mode&&(i=136),_-k*t-i})),this.hidePicker=()=>{this.fadeOut=!0,setTimeout((()=>{this.hidden=!0,this.fadeOut=!1}),350)},this.handleChange=()=>{this.hidePicker(),this.index=this.height.map((t=>(_-t)/k));let t=this.index.length&&"selector"!==this.mode?this.index:this.index[0];if("time"===this.mode){const i=[r.slice(),a.slice()],s=this.index.map(((t,s)=>i[s][t]));this.index=s.map((t=>parseInt(t))),t=s.join(":")}if("date"===this.mode){const{_start:i,_end:s,_updateValue:e}=this.pickerDate,h=e[0],n=e[1],o=g(i.getFullYear(),s.getFullYear()),r=f(i,s,h),a=v(i,s,h,n),c=o[this.index[0]],u=r[this.index[1]];t="year"===this.fields?[c]:"month"===this.fields?[c,u]:[c,u,a[this.index[2]]],t=t.map((t=>t<10?`0${t}`:t)).join("-")}this.pickerValue=t,this.onChange.emit({value:t})},this.handleCancel=()=>{this.hidePicker(),this.onCancel.emit()},this.updateHeight=(t,i,s=!1)=>{const e=[...this.height];if(e[i]=t,this.height=e,s){let{start:t,end:i}=this;if(u(t)||(t="00:00"),u(i)||(i="23:59"),!d(t,i))return;const s=[r.slice(),a.slice()],e=this.height.map((t=>(_-t)/k)),h=e.map(((t,i)=>s[i][t])).join(":");if(d(t,h)){if(!d(h,i)){const t=i.split(":").map((t=>_-k*(+t+4)));requestAnimationFrame((()=>this.height=t))}}else{const i=t.split(":").map((t=>_-k*(+t+4)));requestAnimationFrame((()=>this.height=i))}}},this.handleColumnChange=(t,i)=>{this.onColumnChange.emit({column:Number(i),value:(_-t)/k})},this.updateDay=(t,i)=>{const{_start:s,_end:e,_updateValue:h}=this.pickerDate;h[i]=t;const n=h[0],o=h[1],r=h[2];if(0===i){const t=f(s,e,n),i=t[t.length-1],r=t[0];o>i&&(h[1]=i),o<r&&(h[1]=r);const a=t.indexOf(h[1]),c=_-k*a;this.updateDay(h[1],1),this.updateHeight(c,"1")}else if(1===i){const t=v(s,e,n,o),i=t[t.length-1],a=t[0];r>i&&(h[2]=i),r<a&&(h[2]=a);const c=t.indexOf(h[2]),u=_-k*c;this.updateDay(h[2],2),this.updateHeight(u,"2")}},this.getSelector=()=>s("taro-picker-group",{range:this.range,rangeKey:this.rangeKey,height:this.height[0],updateHeight:this.updateHeight,columnId:"0"}),this.getMultiSelector=()=>this.range.map(((t,i)=>s("taro-picker-group",{range:t,rangeKey:this.rangeKey,height:this.height[i],updateHeight:this.updateHeight,onColumnChange:this.handleColumnChange,columnId:String(i)}))),this.getTimeSelector=()=>{const t=r.slice(),i=a.slice();return[s("taro-picker-group",{mode:"time",range:t,height:this.height[0],updateHeight:this.updateHeight,columnId:"0"}),s("taro-picker-group",{mode:"time",range:i,height:this.height[1],updateHeight:this.updateHeight,columnId:"1"})]},this.getDateSelector=()=>{const{fields:t,height:i}=this,{_start:e,_end:h,_updateValue:n}=this.pickerDate,o=n[0],r=n[1],a=g(e.getFullYear(),h.getFullYear()).map((t=>`${t}年`)),c=f(e,h,o).map((t=>`${t<10?`0${t}`:t}月`)),u=v(e,h,o,r).map((t=>`${t<10?`0${t}`:t}日`)),d=[s("taro-picker-group",{mode:"date",range:a,height:i[0],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"0"})];return"month"!==t&&"day"!==t||d.push(s("taro-picker-group",{mode:"date",range:c,height:i[1],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"1"})),"day"===t&&d.push(s("taro-picker-group",{mode:"date",range:u,height:i[2],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"2"})),d},this.mode="selector",this.disabled=!1,this.range=[],this.rangeKey=void 0,this.value=void 0,this.start="",this.end="",this.fields="day",this.name="",this.pickerValue=[],this.height=[],this.hidden=!0,this.fadeOut=!1,this.isWillLoadCalled=!1}componentWillLoad(){this.isWillLoadCalled=!0,this.handleProps()}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.pickerValue,set:t=>this.value!==t&&(this.value=t),configurable:!0}),this.overlay&&document.body.appendChild(this.overlay)}disconnectedCallback(){var t;this.overlay&&(null===(t=this.overlay.parentNode)||void 0===t||t.removeChild(this.overlay))}onPropsChange(){this.isWillLoadCalled&&this.handleProps()}handleProps(){const{mode:t,start:i,end:s}=this;if("selector"===t){const t=this.value;this.index=[c(t,this.range)?Math.floor(t):0]}else if("multiSelector"===t){const t=this.value;this.index=[],this.range.forEach(((i,s)=>{const e=null==t?void 0:t[s],h=c(e,i)?Math.floor(e):0;this.index.push(h)}))}else if("time"===t){let t=this.value;u(t)||(console.warn("time picker value illegal"),t="0:0");const i=t.split(":").map((t=>+t));this.index=i}else if("date"===t){const t=l(this.value)||new Date((new Date).setHours(0,0,0,0)),e=l(i)||new Date("1970/01/01"),h=l(s)||new Date("2999/01/01");if(!(t>=e&&t<=h))throw new Error("Date Interval Error");{const i=t.getFullYear(),s=t.getMonth()+1,n=t.getDate(),o=g(e.getFullYear(),h.getFullYear()),r=f(e,h,i),a=v(e,h,i,s);this.index=[o.indexOf(i),r.indexOf(s),a.indexOf(n)],this.pickerDate&&this.pickerDate._value.getTime()===t.getTime()&&this.pickerDate._start.getTime()===e.getTime()&&this.pickerDate._end.getTime()===h.getTime()||(this.pickerDate={_value:t,_start:e,_end:h,_updateValue:[i,s,n]})}}if(this.height=this.getHeightByIndex(),this.pickerValue=this.value,"date"===t){const t=this.pickerValue;"month"===this.fields?this.pickerValue=t.split("-").slice(0,2).join("-"):"year"===this.fields&&(this.pickerValue=t.split("-")[0])}}render(){const{name:t,mode:i,fadeOut:h,hidden:o}=this;let r;switch(i){case"multiSelector":r=this.getMultiSelector();break;case"time":r=this.getTimeSelector();break;case"date":r=this.getDateSelector();break;default:r=this.getSelector()}const a=n("weui-mask","weui-animate-fade-in",{"weui-animate-fade-out":h}),c=n("weui-picker","weui-animate-slide-up",{"weui-animate-slide-down":h}),u=o?{display:"none"}:{};return s(e,null,s("div",{onClick:this.showPicker},s("slot",null),s("input",{type:"hidden",name:t,value:p(this.pickerValue)})),s("div",{class:"weui-picker__overlay",style:u,ref:t=>{this.overlay=t}},s("div",{class:a,onClick:this.handleCancel}),s("div",{class:c},s("div",{class:"weui-picker__hd"},s("div",{class:"weui-picker__action",onClick:this.handleCancel},"取消"),s("div",{class:"weui-picker__action",onClick:this.handleChange},"确定")),s("div",{class:"weui-picker__bd"},r),s("input",{type:"hidden",name:t,value:p(this.pickerValue)}))))}get el(){return h(this)}static get watchers(){return{mode:["onPropsChange"],value:["onPropsChange"],range:["onPropsChange"],start:["onPropsChange"],end:["onPropsChange"]}}};w.style=".weui-picker,.weui-picker__hd{font-size:12px}";const y=class{constructor(i){t(this,i),this.mode=void 0,this.range=[],this.rangeKey=void 0,this.height=void 0,this.columnId=void 0,this.updateHeight=void 0,this.onColumnChange=void 0,this.updateDay=void 0,this.startY=void 0,this.preY=void 0,this.hadMove=void 0,this.touchEnd=void 0,this.isMove=void 0}getPosition(){const t=`translate3d(0, ${this.height}px, 0)`,i=`transform ${this.touchEnd?.3:0}s`;return{transform:t,"-webkit-transform":t,transition:i,"-webkit-transition":i}}formulaUnlimitedScroll(t,i,s){const{height:e,updateHeight:h,columnId:n}=this,o="up"===s?1:-1;this.touchEnd=!1,h(-t*o*k+e,n),requestAnimationFrame((()=>{this.touchEnd=!0;const s=Math.round(i/-34)+t*o;h(_-k*s,n,!0)}))}async handleMoveStart(t){this.startY=t,this.preY=t,this.hadMove=!1}async handleMoving(t){const i=t,s=i-this.preY;this.preY=i,this.touchEnd=!1,Math.abs(i-this.startY)>10&&(this.hadMove=!0);let e=this.height+s;"time"===this.mode&&("0"===this.columnId?(e>0&&(e=-816+s),e<-850&&(e=-34+s)):"1"===this.columnId&&(e>0&&(e=-2040+s),e<-2074&&(e=-34+s))),this.updateHeight(e,this.columnId)}async handleMoveEnd(t){const{mode:i,range:s,height:e,updateHeight:h,onColumnChange:n,columnId:o}=this,r=-34*(s.length-1),a=t;let c;if(this.touchEnd=!0,this.hadMove)c=e-_;else{const t=window.innerHeight;if(c=e-_-(a-(t-119)),"time"===i)if("0"===o){if(c>-85)return this.formulaUnlimitedScroll(24,c,"up");if(c<-969)return this.formulaUnlimitedScroll(24,c,"down")}else if("1"===o){if(c>-85)return this.formulaUnlimitedScroll(60,c,"up");if(c<-2193)return this.formulaUnlimitedScroll(60,c,"down")}}c>0&&(c=0),c<r&&(c=r);const u=Math.round(c/-34),d=_-k*u;"date"===this.mode&&("0"===this.columnId&&this.updateDay(+this.range[u].replace(/[^0-9]/gi,""),0),"1"===this.columnId&&this.updateDay(+this.range[u].replace(/[^0-9]/gi,""),1),"2"===this.columnId&&this.updateDay(+this.range[u].replace(/[^0-9]/gi,""),2)),h(d,o,"time"===i),n&&n(d,o)}onMouseDown(t){this.isMove=!0,this.handleMoveStart(t.clientY)}onMouseMove(t){t.preventDefault(),this.isMove&&this.handleMoving(t.clientY)}onMouseMoveEnd(t){this.isMove&&(this.isMove=!1,this.handleMoveEnd(t.clientY))}onTouchStart(t){this.handleMoveStart(t.changedTouches[0].clientY)}onTouchMove(t){t.preventDefault(),this.handleMoving(t.changedTouches[0].clientY)}onTouchEnd(t){this.handleMoveEnd(t.changedTouches[0].clientY)}render(){const{range:t,rangeKey:i}=this,h=t.map((t=>s("div",{class:"weui-picker__item"},i?t[i]:t)));return s(e,{class:"weui-picker__group"},s("div",{class:"weui-picker__mask"}),s("div",{class:"weui-picker__indicator"}),s("div",{class:"weui-picker__content",style:this.getPosition()},h))}};export{w as taro_picker_core,y as taro_picker_group}
1
+ import{r as t,c as i,h as s,H as e,g as h}from"./p-9137dcab.js";import{c as n}from"./p-2fad2a65.js";function o(t,i){const s=[];for(let e=t;e<=i;e++)s.push(`${e<10?"0":""}${e}`);return s}const r=["20","21","22","23",...o(0,23),"00","01","02","03"],a=["56","57","58","59",...o(0,59),"00","01","02","03"];function c(t,i){return!isNaN(+t)&&t>=0&&t<i.length}function u(t){if(!/^\d{1,2}:\d{1,2}$/.test(t))return!1;const i=t.split(":").map((t=>+t));return!(i[0]<0||i[0]>23||i[1]<0||i[1]>59)}function d(t,i){const s=t.split(":").map((t=>+t)),e=i.split(":").map((t=>+t));return s[0]<e[0]||s[0]===e[0]&&s[1]<=e[1]}function l(t){if(!t)return!1;const i=new Date(t.replace(/-/g,"/"));return!isNaN(i.getMonth())&&i}function p(t){let i;return i=Array.isArray(t)?t.map((t=>String(t))):t,i}function m(t,i){const s=[];for(let e=t;e<=i;e++)s.push(e);return s}function g(t,i){return m(t,i)}function f(t,i,s){let e=1,h=12;return t.getFullYear()===s&&(e=t.getMonth()+1),i.getFullYear()===s&&(h=i.getMonth()+1),m(e,h)}function v(t,i,s,e){let h=1,n=function(t,i){return 4===i||6===i||9===i||11===i?30:2===i?t%4==0&&t%100!=0||t%400==0?29:28:31}(s,e);return t.getFullYear()===s&&t.getMonth()+1===e&&(h=t.getDate()),i.getFullYear()===s&&i.getMonth()+1===e&&(n=i.getDate()),m(h,n)}const _=102,k=34,w=class{constructor(e){t(this,e),this.onChange=i(this,"change",7),this.onColumnChange=i(this,"columnchange",7),this.onCancel=i(this,"cancel",7),this.index=[],this.showPicker=()=>{this.disabled||(this.height=this.getHeightByIndex(),this.hidden=!1)},this.getHeightByIndex=()=>this.index.map((t=>{let i=0;return"time"===this.mode&&(i=136),_-k*t-i})),this.hidePicker=()=>{this.fadeOut=!0,setTimeout((()=>{this.hidden=!0,this.fadeOut=!1}),350)},this.handleChange=()=>{this.hidePicker(),this.index=this.height.map((t=>(_-t)/k));let t=this.index.length&&"selector"!==this.mode?this.index:this.index[0];if("time"===this.mode){const i=[r.slice(),a.slice()],s=this.index.map(((t,s)=>i[s][t]));this.index=s.map((t=>parseInt(t))),t=s.join(":")}if("date"===this.mode){const{_start:i,_end:s,_updateValue:e}=this.pickerDate,h=e[0],n=e[1],o=g(i.getFullYear(),s.getFullYear()),r=f(i,s,h),a=v(i,s,h,n),c=o[this.index[0]],u=r[this.index[1]];t="year"===this.fields?[c]:"month"===this.fields?[c,u]:[c,u,a[this.index[2]]],t=t.map((t=>t<10?`0${t}`:t)).join("-")}this.pickerValue=t,this.onChange.emit({value:t})},this.handleCancel=()=>{this.hidePicker(),this.onCancel.emit()},this.updateHeight=(t,i,s=!1)=>{const e=[...this.height];if(e[i]=t,this.height=e,s){let{start:t,end:i}=this;if(u(t)||(t="00:00"),u(i)||(i="23:59"),!d(t,i))return;const s=[r.slice(),a.slice()],e=this.height.map((t=>(_-t)/k)),h=e.map(((t,i)=>s[i][t])).join(":");if(d(t,h)){if(!d(h,i)){const t=i.split(":").map((t=>_-k*(+t+4)));requestAnimationFrame((()=>this.height=t))}}else{const i=t.split(":").map((t=>_-k*(+t+4)));requestAnimationFrame((()=>this.height=i))}}},this.handleColumnChange=(t,i)=>{this.onColumnChange.emit({column:Number(i),value:(_-t)/k})},this.updateDay=(t,i)=>{const{_start:s,_end:e,_updateValue:h}=this.pickerDate;h[i]=t;const n=h[0],o=h[1],r=h[2];if(0===i){const t=f(s,e,n),i=t[t.length-1],r=t[0];o>i&&(h[1]=i),o<r&&(h[1]=r);const a=t.indexOf(h[1]),c=_-k*a;this.updateDay(h[1],1),this.updateHeight(c,"1")}else if(1===i){const t=v(s,e,n,o),i=t[t.length-1],a=t[0];r>i&&(h[2]=i),r<a&&(h[2]=a);const c=t.indexOf(h[2]),u=_-k*c;this.updateDay(h[2],2),this.updateHeight(u,"2")}},this.getSelector=()=>s("taro-picker-group",{range:this.range,rangeKey:this.rangeKey,height:this.height[0],updateHeight:this.updateHeight,columnId:"0"}),this.getMultiSelector=()=>this.range.map(((t,i)=>s("taro-picker-group",{range:t,rangeKey:this.rangeKey,height:this.height[i],updateHeight:this.updateHeight,onColumnChange:this.handleColumnChange,columnId:String(i)}))),this.getTimeSelector=()=>{const t=r.slice(),i=a.slice();return[s("taro-picker-group",{mode:"time",range:t,height:this.height[0],updateHeight:this.updateHeight,columnId:"0"}),s("taro-picker-group",{mode:"time",range:i,height:this.height[1],updateHeight:this.updateHeight,columnId:"1"})]},this.getDateSelector=()=>{const{fields:t,height:i}=this,{_start:e,_end:h,_updateValue:n}=this.pickerDate,o=n[0],r=n[1],a=g(e.getFullYear(),h.getFullYear()).map((t=>`${t}年`)),c=f(e,h,o).map((t=>`${t<10?`0${t}`:t}月`)),u=v(e,h,o,r).map((t=>`${t<10?`0${t}`:t}日`)),d=[s("taro-picker-group",{mode:"date",range:a,height:i[0],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"0"})];return"month"!==t&&"day"!==t||d.push(s("taro-picker-group",{mode:"date",range:c,height:i[1],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"1"})),"day"===t&&d.push(s("taro-picker-group",{mode:"date",range:u,height:i[2],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"2"})),d},this.mode="selector",this.disabled=!1,this.range=[],this.rangeKey=void 0,this.value=void 0,this.start="",this.end="",this.fields="day",this.name="",this.pickerValue=[],this.height=[],this.hidden=!0,this.fadeOut=!1,this.isWillLoadCalled=!1}componentWillLoad(){this.isWillLoadCalled=!0,this.handleProps()}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.pickerValue,set:t=>this.value!==t&&(this.value=t),configurable:!0}),this.overlay&&document.body.appendChild(this.overlay)}disconnectedCallback(){var t;this.overlay&&(null===(t=this.overlay.parentNode)||void 0===t||t.removeChild(this.overlay))}onPropsChange(){this.isWillLoadCalled&&this.handleProps()}handleProps(){const{mode:t,start:i,end:s}=this;if("selector"===t){const t=this.value;this.index=[c(t,this.range)?Math.floor(t):0]}else if("multiSelector"===t){const t=this.value;this.index=[],this.range.forEach(((i,s)=>{const e=null==t?void 0:t[s],h=c(e,i)?Math.floor(e):0;this.index.push(h)}))}else if("time"===t){let t=this.value;u(t)||(console.warn("time picker value illegal"),t="0:0");const i=t.split(":").map((t=>+t));this.index=i}else if("date"===t){const t=l(this.value)||new Date((new Date).setHours(0,0,0,0)),e=l(i)||new Date("1970/01/01"),h=l(s)||new Date("2999/01/01");if(!(t>=e&&t<=h))throw new Error("Date Interval Error");{const i=t.getFullYear(),s=t.getMonth()+1,n=t.getDate(),o=g(e.getFullYear(),h.getFullYear()),r=f(e,h,i),a=v(e,h,i,s);this.index=[o.indexOf(i),r.indexOf(s),a.indexOf(n)],this.pickerDate&&this.pickerDate._value.getTime()===t.getTime()&&this.pickerDate._start.getTime()===e.getTime()&&this.pickerDate._end.getTime()===h.getTime()||(this.pickerDate={_value:t,_start:e,_end:h,_updateValue:[i,s,n]})}}if(this.height=this.getHeightByIndex(),this.pickerValue=this.value,"date"===t){const t=this.pickerValue;"month"===this.fields?this.pickerValue=t.split("-").slice(0,2).join("-"):"year"===this.fields&&(this.pickerValue=t.split("-")[0])}}render(){const{name:t,mode:i,fadeOut:h,hidden:o}=this;let r;switch(i){case"multiSelector":r=this.getMultiSelector();break;case"time":r=this.getTimeSelector();break;case"date":r=this.getDateSelector();break;default:r=this.getSelector()}const a=n("weui-mask","weui-animate-fade-in",{"weui-animate-fade-out":h}),c=n("weui-picker","weui-animate-slide-up",{"weui-animate-slide-down":h}),u=o?{display:"none"}:{};return s(e,null,s("div",{onClick:this.showPicker},s("slot",null),s("input",{type:"hidden",name:t,value:p(this.pickerValue)})),s("div",{class:"weui-picker__overlay",style:u,ref:t=>{this.overlay=t}},s("div",{class:a,onClick:this.handleCancel}),s("div",{class:c},s("div",{class:"weui-picker__hd"},s("div",{class:"weui-picker__action",onClick:this.handleCancel},"取消"),s("div",{class:"weui-picker__action",onClick:this.handleChange},"确定")),s("div",{class:"weui-picker__bd"},r),s("input",{type:"hidden",name:t,value:p(this.pickerValue)}))))}get el(){return h(this)}static get watchers(){return{mode:["onPropsChange"],value:["onPropsChange"],range:["onPropsChange"],start:["onPropsChange"],end:["onPropsChange"]}}};w.style=".weui-picker,.weui-picker__hd{font-size:12px}";const y=class{constructor(i){t(this,i),this.mode=void 0,this.range=[],this.rangeKey=void 0,this.height=void 0,this.columnId=void 0,this.updateHeight=void 0,this.onColumnChange=void 0,this.updateDay=void 0,this.startY=void 0,this.preY=void 0,this.hadMove=void 0,this.touchEnd=void 0,this.isMove=void 0}getPosition(){const t=`translate3d(0, ${this.height}px, 0)`,i=`transform ${this.touchEnd?.3:0}s`;return{transform:t,"-webkit-transform":t,transition:i,"-webkit-transition":i}}formulaUnlimitedScroll(t,i,s){const{height:e,updateHeight:h,columnId:n}=this,o="up"===s?1:-1;this.touchEnd=!1,h(-t*o*k+e,n),requestAnimationFrame((()=>{this.touchEnd=!0;const s=Math.round(i/-34)+t*o;h(_-k*s,n,!0)}))}async handleMoveStart(t){this.startY=t,this.preY=t,this.hadMove=!1}async handleMoving(t){const i=t,s=i-this.preY;this.preY=i,this.touchEnd=!1,Math.abs(i-this.startY)>10&&(this.hadMove=!0);let e=this.height+s;"time"===this.mode&&("0"===this.columnId?(e>0&&(e=-816+s),e<-850&&(e=-34+s)):"1"===this.columnId&&(e>0&&(e=-2040+s),e<-2074&&(e=-34+s))),this.updateHeight(e,this.columnId)}async handleMoveEnd(t){const{mode:i,range:s,height:e,updateHeight:h,onColumnChange:n,columnId:o}=this,r=-34*(s.length-1),a=t;let c;if(this.touchEnd=!0,this.hadMove)c=e-_;else{const t=window.innerHeight;if(c=e-_-(a-(t-119)),"time"===i)if("0"===o){if(c>-85)return this.formulaUnlimitedScroll(24,c,"up");if(c<-969)return this.formulaUnlimitedScroll(24,c,"down")}else if("1"===o){if(c>-85)return this.formulaUnlimitedScroll(60,c,"up");if(c<-2193)return this.formulaUnlimitedScroll(60,c,"down")}}c>0&&(c=0),c<r&&(c=r);const u=Math.round(c/-34),d=_-k*u;"date"===this.mode&&("0"===this.columnId&&this.updateDay(+this.range[u].replace(/[^0-9]/gi,""),0),"1"===this.columnId&&this.updateDay(+this.range[u].replace(/[^0-9]/gi,""),1),"2"===this.columnId&&this.updateDay(+this.range[u].replace(/[^0-9]/gi,""),2)),h(d,o,"time"===i),n&&n(d,o)}onMouseDown(t){this.isMove=!0,this.handleMoveStart(t.clientY)}onMouseMove(t){t.preventDefault(),this.isMove&&this.handleMoving(t.clientY)}onMouseMoveEnd(t){this.isMove&&(this.isMove=!1,this.handleMoveEnd(t.clientY))}onTouchStart(t){this.handleMoveStart(t.changedTouches[0].clientY)}onTouchMove(t){t.preventDefault(),this.handleMoving(t.changedTouches[0].clientY)}onTouchEnd(t){this.handleMoveEnd(t.changedTouches[0].clientY)}render(){const{range:t,rangeKey:i}=this,h=t.map((t=>s("div",{class:"weui-picker__item"},i?t[i]:t)));return s(e,{class:"weui-picker__group"},s("div",{class:"weui-picker__mask"}),s("div",{class:"weui-picker__indicator"}),s("div",{class:"weui-picker__content",style:this.getPosition()},h))}};export{w as taro_picker_core,y as taro_picker_group}
@@ -0,0 +1 @@
1
+ System.register(["./p-7e6b54cb.system.js","./p-387314fa.system.js"],(function(t){"use strict";var e,n,r,i;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){i=t.c}],execute:function(){var o=t("taro_icon_core",function(){function t(t){e(this,t);this.type=undefined;this.size="23";this.color=undefined}t.prototype.render=function(){var t;var e=this,o=e.type,c=e.size,s=e.color;var u=o===null||o===void 0?void 0:o.replace(/_/g,"-");var a=i((t={},t["weui-icon-".concat(u)]=true,t));var f={"font-size":"".concat(c,"px"),color:s};return n(r,{class:a,style:f})};return t}())}}}));