@tarojs/components 3.5.0-alpha.9 → 3.5.0-beta.2

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 (392) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/{index-4495e5cf.js → index-cd258c8b.js} +1 -27
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/taro-ad-core.cjs.entry.js +2 -2
  5. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +2 -2
  6. package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
  7. package/dist/cjs/taro-block-core.cjs.entry.js +2 -2
  8. package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
  9. package/dist/cjs/taro-camera-core.cjs.entry.js +2 -2
  10. package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
  11. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +3 -3
  12. package/dist/cjs/taro-components.cjs.js +2 -2
  13. package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
  14. package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
  15. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +2 -2
  16. package/dist/cjs/taro-editor-core.cjs.entry.js +2 -2
  17. package/dist/cjs/taro-form-core.cjs.entry.js +2 -2
  18. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +2 -2
  19. package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
  20. package/dist/cjs/taro-image-core.cjs.entry.js +2 -2
  21. package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
  22. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +2 -2
  23. package/dist/cjs/taro-label-core.cjs.entry.js +2 -2
  24. package/dist/cjs/taro-live-player-core.cjs.entry.js +2 -2
  25. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +2 -2
  26. package/dist/cjs/taro-map-core.cjs.entry.js +2 -2
  27. package/dist/cjs/taro-match-media-core.cjs.entry.js +2 -2
  28. package/dist/cjs/taro-movable-area-core.cjs.entry.js +2 -2
  29. package/dist/cjs/taro-movable-view-core.cjs.entry.js +2 -2
  30. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +2 -2
  31. package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
  32. package/dist/cjs/taro-official-account-core.cjs.entry.js +2 -2
  33. package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
  34. package/dist/cjs/taro-page-container-core.cjs.entry.js +2 -2
  35. package/dist/cjs/taro-page-meta-core.cjs.entry.js +2 -2
  36. package/dist/cjs/taro-picker-core_2.cjs.entry.js +3 -3
  37. package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +2 -2
  38. package/dist/cjs/taro-picker-view-core.cjs.entry.js +2 -2
  39. package/dist/cjs/taro-progress-core.cjs.entry.js +2 -2
  40. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +9 -8
  41. package/dist/cjs/taro-radio-core_2.cjs.entry.js +3 -3
  42. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  43. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +2 -2
  44. package/dist/cjs/taro-share-element-core.cjs.entry.js +2 -2
  45. package/dist/cjs/taro-slider-core.cjs.entry.js +2 -2
  46. package/dist/cjs/taro-slot-core.cjs.entry.js +2 -2
  47. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +3 -3
  48. package/dist/cjs/taro-switch-core.cjs.entry.js +2 -2
  49. package/dist/cjs/taro-tabbar.cjs.entry.js +3 -3
  50. package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
  51. package/dist/cjs/taro-textarea-core.cjs.entry.js +2 -2
  52. package/dist/cjs/taro-video-control_3.cjs.entry.js +23 -17
  53. package/dist/cjs/taro-view-core.cjs.entry.js +4 -4
  54. package/dist/cjs/taro-voip-room-core.cjs.entry.js +2 -2
  55. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  56. package/dist/collection/collection-manifest.json +2 -2
  57. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +7 -6
  58. package/dist/collection/components/tabbar/tabbar.js +1 -1
  59. package/dist/collection/components/video/style/index.css +0 -1
  60. package/dist/collection/components/video/utils.js +6 -7
  61. package/dist/collection/components/video/video-control.js +3 -3
  62. package/dist/collection/components/video/video.js +10 -3
  63. package/dist/collection/components/view/view.js +2 -2
  64. package/dist/esm/{index-789b3db7.js → index-1d67274c.js} +1 -27
  65. package/dist/esm/loader.js +2 -2
  66. package/dist/esm/polyfills/css-shim.js +1 -1
  67. package/dist/esm/taro-ad-core.entry.js +2 -2
  68. package/dist/esm/taro-ad-custom-core.entry.js +2 -2
  69. package/dist/esm/taro-audio-core.entry.js +2 -2
  70. package/dist/esm/taro-block-core.entry.js +2 -2
  71. package/dist/esm/taro-button-core.entry.js +2 -2
  72. package/dist/esm/taro-camera-core.entry.js +2 -2
  73. package/dist/esm/taro-canvas-core.entry.js +2 -2
  74. package/dist/esm/taro-checkbox-core_2.entry.js +3 -3
  75. package/dist/esm/taro-components.js +2 -2
  76. package/dist/esm/taro-cover-image-core.entry.js +2 -2
  77. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  78. package/dist/esm/taro-custom-wrapper-core.entry.js +2 -2
  79. package/dist/esm/taro-editor-core.entry.js +2 -2
  80. package/dist/esm/taro-form-core.entry.js +2 -2
  81. package/dist/esm/taro-functional-page-navigator-core.entry.js +2 -2
  82. package/dist/esm/taro-icon-core.entry.js +2 -2
  83. package/dist/esm/taro-image-core.entry.js +2 -2
  84. package/dist/esm/taro-input-core.entry.js +2 -2
  85. package/dist/esm/taro-keyboard-accessory-core.entry.js +2 -2
  86. package/dist/esm/taro-label-core.entry.js +2 -2
  87. package/dist/esm/taro-live-player-core.entry.js +2 -2
  88. package/dist/esm/taro-live-pusher-core.entry.js +2 -2
  89. package/dist/esm/taro-map-core.entry.js +2 -2
  90. package/dist/esm/taro-match-media-core.entry.js +2 -2
  91. package/dist/esm/taro-movable-area-core.entry.js +2 -2
  92. package/dist/esm/taro-movable-view-core.entry.js +2 -2
  93. package/dist/esm/taro-navigation-bar-core.entry.js +2 -2
  94. package/dist/esm/taro-navigator-core.entry.js +2 -2
  95. package/dist/esm/taro-official-account-core.entry.js +2 -2
  96. package/dist/esm/taro-open-data-core.entry.js +2 -2
  97. package/dist/esm/taro-page-container-core.entry.js +2 -2
  98. package/dist/esm/taro-page-meta-core.entry.js +2 -2
  99. package/dist/esm/taro-picker-core_2.entry.js +3 -3
  100. package/dist/esm/taro-picker-view-column-core.entry.js +2 -2
  101. package/dist/esm/taro-picker-view-core.entry.js +2 -2
  102. package/dist/esm/taro-progress-core.entry.js +2 -2
  103. package/dist/esm/taro-pull-to-refresh.entry.js +9 -8
  104. package/dist/esm/taro-radio-core_2.entry.js +3 -3
  105. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  106. package/dist/esm/taro-scroll-view-core.entry.js +2 -2
  107. package/dist/esm/taro-share-element-core.entry.js +2 -2
  108. package/dist/esm/taro-slider-core.entry.js +2 -2
  109. package/dist/esm/taro-slot-core.entry.js +2 -2
  110. package/dist/esm/taro-swiper-core_2.entry.js +3 -3
  111. package/dist/esm/taro-switch-core.entry.js +2 -2
  112. package/dist/esm/taro-tabbar.entry.js +3 -3
  113. package/dist/esm/taro-text-core.entry.js +2 -2
  114. package/dist/esm/taro-textarea-core.entry.js +2 -2
  115. package/dist/esm/taro-video-control_3.entry.js +23 -17
  116. package/dist/esm/taro-view-core.entry.js +4 -4
  117. package/dist/esm/taro-voip-room-core.entry.js +2 -2
  118. package/dist/esm/taro-web-view-core.entry.js +2 -2
  119. package/dist/esm-es5/index-1d67274c.js +1 -0
  120. package/dist/esm-es5/loader.js +1 -1
  121. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  122. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  123. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  124. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  125. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  126. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  127. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  128. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  129. package/dist/esm-es5/taro-components.js +1 -1
  130. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  131. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  132. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  133. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  134. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  135. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  136. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  137. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  138. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  139. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  140. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  141. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  142. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  143. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  144. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  145. package/dist/esm-es5/taro-movable-area-core.entry.js +1 -1
  146. package/dist/esm-es5/taro-movable-view-core.entry.js +1 -1
  147. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  148. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  149. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  150. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  151. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  152. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  153. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  154. package/dist/esm-es5/taro-picker-view-column-core.entry.js +1 -1
  155. package/dist/esm-es5/taro-picker-view-core.entry.js +1 -1
  156. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  157. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  158. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  159. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  160. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  161. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  162. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  163. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  164. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  165. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  166. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  167. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  168. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  169. package/dist/esm-es5/taro-video-control_3.entry.js +2 -2
  170. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  171. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  172. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  173. package/dist/taro-components/p-06352f55.entry.js +1 -0
  174. package/dist/taro-components/p-085c4322.entry.js +1 -0
  175. package/dist/taro-components/p-087d704b.entry.js +1 -0
  176. package/dist/taro-components/p-0afc53da.entry.js +1 -0
  177. package/dist/taro-components/{p-61645135.system.entry.js → p-12615394.system.entry.js} +55 -55
  178. package/dist/taro-components/p-13359eb6.system.entry.js +1 -0
  179. package/dist/taro-components/p-1398c59d.system.entry.js +1 -0
  180. package/dist/taro-components/p-13d03572.entry.js +1 -0
  181. package/dist/taro-components/p-14484d41.entry.js +1 -0
  182. package/dist/taro-components/p-14b26b5f.system.entry.js +1 -0
  183. package/dist/taro-components/p-176374d6.system.entry.js +1 -0
  184. package/dist/taro-components/p-17b78ad7.entry.js +1 -0
  185. package/dist/taro-components/p-1b11a8d4.system.entry.js +1 -0
  186. package/dist/taro-components/p-1d5fa0f3.entry.js +1 -0
  187. package/dist/taro-components/p-1e44fcfd.entry.js +1 -0
  188. package/dist/taro-components/p-1fbf755f.entry.js +1 -0
  189. package/dist/taro-components/{p-407aada8.system.entry.js → p-221bffa0.system.entry.js} +1 -1
  190. package/dist/taro-components/{p-bfd76333.system.entry.js → p-24cc05ea.system.entry.js} +1 -1
  191. package/dist/taro-components/{p-55da9401.system.entry.js → p-2afb4d49.system.entry.js} +1 -1
  192. package/dist/taro-components/p-2c4dea36.system.entry.js +1 -0
  193. package/dist/taro-components/p-34d60fc8.entry.js +1 -0
  194. package/dist/taro-components/p-37ac3d2b.system.entry.js +1 -0
  195. package/dist/taro-components/p-3b067d1f.entry.js +1 -0
  196. package/dist/taro-components/p-3e1e4626.entry.js +1 -0
  197. package/dist/taro-components/p-3e7aced1.entry.js +1 -0
  198. package/dist/taro-components/{p-3774a0b9.system.entry.js → p-3efae2a3.system.entry.js} +1 -1
  199. package/dist/taro-components/p-44996bd6.system.js +1 -0
  200. package/dist/taro-components/p-45574a38.system.entry.js +1 -0
  201. package/dist/taro-components/{p-5ebf2333.system.entry.js → p-45b92229.system.entry.js} +1 -1
  202. package/dist/taro-components/{p-c090756b.system.entry.js → p-49df1b65.system.entry.js} +1 -1
  203. package/dist/taro-components/{p-7be1a0bb.system.entry.js → p-4a0599c1.system.entry.js} +1 -1
  204. package/dist/taro-components/{p-8554900a.system.entry.js → p-4cb60cf0.system.entry.js} +1 -1
  205. package/dist/taro-components/{p-96232b22.system.entry.js → p-52cbf36e.system.entry.js} +1 -1
  206. package/dist/taro-components/p-546f5965.system.entry.js +1 -0
  207. package/dist/taro-components/p-549636ca.entry.js +1 -0
  208. package/dist/taro-components/p-55646f03.entry.js +1 -0
  209. package/dist/taro-components/p-5656b308.system.entry.js +1 -0
  210. package/dist/taro-components/p-58cbfd17.entry.js +1 -0
  211. package/dist/taro-components/{p-c36df190.system.entry.js → p-5e48f1b4.system.entry.js} +1 -1
  212. package/dist/taro-components/p-615b87e8.entry.js +1 -0
  213. package/dist/taro-components/{p-4e108995.system.entry.js → p-617f5e2a.system.entry.js} +1 -1
  214. package/dist/taro-components/p-68246408.entry.js +1 -0
  215. package/dist/taro-components/{p-0141754f.system.entry.js → p-6946f166.system.entry.js} +1 -1
  216. package/dist/taro-components/p-6e12bd70.system.entry.js +1 -0
  217. package/dist/taro-components/{p-36727043.entry.js → p-7419e765.entry.js} +1 -1
  218. package/dist/taro-components/{p-a3933a47.system.entry.js → p-79495606.system.entry.js} +1 -1
  219. package/dist/taro-components/p-7d457a6a.entry.js +1 -0
  220. package/dist/taro-components/p-7df1437d.system.entry.js +1 -0
  221. package/dist/taro-components/{p-d6e42063.system.entry.js → p-7f2d456b.system.entry.js} +1 -1
  222. package/dist/taro-components/p-7f726d39.entry.js +1 -0
  223. package/dist/taro-components/p-7f8ddefe.entry.js +1 -0
  224. package/dist/taro-components/p-81e33437.system.entry.js +1 -0
  225. package/dist/taro-components/p-880791ee.entry.js +1 -0
  226. package/dist/taro-components/p-884e6eab.entry.js +1 -0
  227. package/dist/taro-components/p-88e3bc92.entry.js +1 -0
  228. package/dist/taro-components/p-88ee404a.system.entry.js +1 -0
  229. package/dist/taro-components/{p-780c1853.system.entry.js → p-899c6b73.system.entry.js} +1 -1
  230. package/dist/taro-components/p-8a2b7701.entry.js +1 -0
  231. package/dist/taro-components/p-8c6d8802.entry.js +1 -0
  232. package/dist/taro-components/p-8c7cf814.js +1 -0
  233. package/dist/taro-components/p-8ca394d6.entry.js +1 -0
  234. package/dist/taro-components/p-8cdc809b.system.entry.js +1 -0
  235. package/dist/taro-components/{p-a66340b0.system.entry.js → p-8e0529f2.system.entry.js} +1 -1
  236. package/dist/taro-components/{p-4c8f288d.system.entry.js → p-8ea9ceb6.system.entry.js} +1 -1
  237. package/dist/taro-components/{p-97e8bb30.system.entry.js → p-90f11b84.system.entry.js} +1 -1
  238. package/dist/taro-components/p-917185f3.entry.js +1 -0
  239. package/dist/taro-components/p-92f26e22.entry.js +1 -0
  240. package/dist/taro-components/p-96706c5c.system.entry.js +1 -0
  241. package/dist/taro-components/{p-40711024.system.entry.js → p-9c0f3f24.system.entry.js} +1 -1
  242. package/dist/taro-components/{p-b3eaf173.entry.js → p-9eb01395.entry.js} +2 -2
  243. package/dist/taro-components/{p-8194107c.system.entry.js → p-9f23c9e1.system.entry.js} +1 -1
  244. package/dist/taro-components/p-9ff180ae.entry.js +1 -0
  245. package/dist/taro-components/{p-f2fa2c75.system.js → p-a2fd3c03.system.js} +1 -1
  246. package/dist/taro-components/p-a9c3e575.entry.js +1 -0
  247. package/dist/taro-components/{p-431dd581.system.entry.js → p-ac4c4975.system.entry.js} +1 -1
  248. package/dist/taro-components/p-aca73ca4.entry.js +1 -0
  249. package/dist/taro-components/p-acb07924.system.entry.js +1 -0
  250. package/dist/taro-components/{p-99b8a7a2.system.entry.js → p-acfcb861.system.entry.js} +1 -1
  251. package/dist/taro-components/p-b31e6cf0.entry.js +1 -0
  252. package/dist/taro-components/p-b455351e.entry.js +1 -0
  253. package/dist/taro-components/p-b640bd56.entry.js +1 -0
  254. package/dist/taro-components/{p-1ae9ff34.system.entry.js → p-b7128eac.system.entry.js} +1 -1
  255. package/dist/taro-components/{p-c2a225ef.system.entry.js → p-ba984b34.system.entry.js} +1 -1
  256. package/dist/taro-components/p-c0875abf.entry.js +1 -0
  257. package/dist/taro-components/p-c1642977.entry.js +1 -0
  258. package/dist/taro-components/p-c33b552b.entry.js +1 -0
  259. package/dist/taro-components/p-c6d14c2b.entry.js +1 -0
  260. package/dist/taro-components/p-c995a3aa.entry.js +1 -0
  261. package/dist/taro-components/p-cde242bb.system.entry.js +1 -0
  262. package/dist/taro-components/p-de726095.entry.js +1 -0
  263. package/dist/taro-components/{p-a06fb894.system.entry.js → p-de95c6ac.system.entry.js} +1 -1
  264. package/dist/taro-components/{p-1a01e5a6.system.entry.js → p-deef9af1.system.entry.js} +1 -1
  265. package/dist/taro-components/p-e5486e8c.system.entry.js +1 -0
  266. package/dist/taro-components/p-e56a303b.entry.js +1 -0
  267. package/dist/taro-components/p-e5fdbc1c.entry.js +1 -0
  268. package/dist/taro-components/p-e6ec7abc.entry.js +1 -0
  269. package/dist/taro-components/{p-5d8ba574.system.entry.js → p-ed69dc55.system.entry.js} +1 -1
  270. package/dist/taro-components/p-ee1ffbb0.entry.js +1 -0
  271. package/dist/taro-components/{p-42b45ac3.system.entry.js → p-efc892d1.system.entry.js} +1 -1
  272. package/dist/taro-components/{p-954862dc.system.entry.js → p-f0c5c933.system.entry.js} +1 -1
  273. package/dist/taro-components/p-f425f3b5.entry.js +1 -0
  274. package/dist/taro-components/p-f5377a15.entry.js +1 -0
  275. package/dist/taro-components/{p-1900c26d.system.entry.js → p-f675e927.system.entry.js} +1 -1
  276. package/dist/taro-components/p-fee2ad82.entry.js +1 -0
  277. package/dist/taro-components/p-ff792cf7.system.entry.js +1 -0
  278. package/dist/taro-components/taro-components.esm.js +1 -1
  279. package/dist/taro-components/taro-components.js +1 -1
  280. package/dist/types/components/video/utils.d.ts +1 -3
  281. package/dist/types/components/video/video-control.d.ts +1 -1
  282. package/dist/types/home/runner/work/taro/taro/packages/taro-components/.stencil/types/props.d.ts +3 -3
  283. package/dist-h5/react/components/index.js +63 -0
  284. package/dist-h5/react/index.js +1 -46
  285. package/dist-h5/react/utils/reactify-wc.js +1 -1
  286. package/dist-h5/vue/components/index.js +60 -0
  287. package/dist-h5/vue/index.js +23 -26
  288. package/dist-h5/vue3/components/index.js +64 -0
  289. package/dist-h5/vue3/createFormsComponent.js +1 -1
  290. package/dist-h5/vue3/index.js +12 -65
  291. package/package.json +4 -4
  292. package/types/Ad.d.ts +6 -6
  293. package/types/Button.d.ts +12 -12
  294. package/types/Camera.d.ts +10 -10
  295. package/types/Canvas.d.ts +1 -1
  296. package/types/Checkbox.d.ts +4 -4
  297. package/types/CheckboxGroup.d.ts +3 -3
  298. package/types/Form.d.ts +2 -2
  299. package/types/Input.d.ts +19 -19
  300. package/types/LivePlayer.d.ts +8 -8
  301. package/types/Map.d.ts +28 -28
  302. package/types/MovableArea.d.ts +1 -1
  303. package/types/MovableView.d.ts +18 -18
  304. package/types/OpenData.d.ts +6 -6
  305. package/types/PageContainer.d.ts +14 -14
  306. package/types/Radio.d.ts +5 -5
  307. package/types/RadioGroup.d.ts +2 -2
  308. package/types/RichText.d.ts +6 -1
  309. package/types/Swiper.d.ts +5 -5
  310. package/types/Switch.d.ts +2 -2
  311. package/types/Textarea.d.ts +21 -21
  312. package/types/Video.d.ts +13 -13
  313. package/types/WebView.d.ts +5 -5
  314. package/types/props.ts +3 -4
  315. package/virtual-list/memoize.js +1 -0
  316. package/virtual-list/react/createListComponent.js +2 -1
  317. package/virtual-list/react/index.js +2 -1
  318. package/virtual-list/timer.js +1 -1
  319. package/virtual-list/vue/index.js +1 -1
  320. package/dist/esm-es5/index-789b3db7.js +0 -1
  321. package/dist/taro-components/p-02282c70.system.entry.js +0 -1
  322. package/dist/taro-components/p-0674e57b.system.js +0 -1
  323. package/dist/taro-components/p-0adcc512.entry.js +0 -1
  324. package/dist/taro-components/p-107c83e4.system.entry.js +0 -1
  325. package/dist/taro-components/p-15f00e71.entry.js +0 -1
  326. package/dist/taro-components/p-1da081b6.entry.js +0 -1
  327. package/dist/taro-components/p-2927361f.entry.js +0 -1
  328. package/dist/taro-components/p-29f2cbdf.system.entry.js +0 -1
  329. package/dist/taro-components/p-2e78c090.entry.js +0 -1
  330. package/dist/taro-components/p-34477097.system.entry.js +0 -1
  331. package/dist/taro-components/p-3546a833.entry.js +0 -1
  332. package/dist/taro-components/p-3eb5219a.entry.js +0 -1
  333. package/dist/taro-components/p-404fbc7c.entry.js +0 -1
  334. package/dist/taro-components/p-44aa312d.system.entry.js +0 -1
  335. package/dist/taro-components/p-4651474c.entry.js +0 -1
  336. package/dist/taro-components/p-47484bac.system.entry.js +0 -1
  337. package/dist/taro-components/p-47eb9dcc.entry.js +0 -1
  338. package/dist/taro-components/p-497a5d9a.entry.js +0 -1
  339. package/dist/taro-components/p-4d4637df.entry.js +0 -1
  340. package/dist/taro-components/p-4eda1f6b.entry.js +0 -1
  341. package/dist/taro-components/p-518e7b29.entry.js +0 -1
  342. package/dist/taro-components/p-52033dd2.entry.js +0 -1
  343. package/dist/taro-components/p-52e0c86e.system.entry.js +0 -1
  344. package/dist/taro-components/p-557d86fe.entry.js +0 -1
  345. package/dist/taro-components/p-5d51b5b0.entry.js +0 -1
  346. package/dist/taro-components/p-64e67d96.system.entry.js +0 -1
  347. package/dist/taro-components/p-720134e9.system.entry.js +0 -1
  348. package/dist/taro-components/p-7309764b.entry.js +0 -1
  349. package/dist/taro-components/p-75c07a8d.system.entry.js +0 -1
  350. package/dist/taro-components/p-76ab644c.entry.js +0 -1
  351. package/dist/taro-components/p-783af5b6.entry.js +0 -1
  352. package/dist/taro-components/p-7868d50a.system.entry.js +0 -1
  353. package/dist/taro-components/p-7b43bfe6.entry.js +0 -1
  354. package/dist/taro-components/p-7c5be4ff.entry.js +0 -1
  355. package/dist/taro-components/p-7ee03392.system.entry.js +0 -1
  356. package/dist/taro-components/p-87282837.entry.js +0 -1
  357. package/dist/taro-components/p-8870f200.entry.js +0 -1
  358. package/dist/taro-components/p-89b902ef.entry.js +0 -1
  359. package/dist/taro-components/p-8ab7c95f.entry.js +0 -1
  360. package/dist/taro-components/p-8b9fdd2d.entry.js +0 -1
  361. package/dist/taro-components/p-8e56fb48.entry.js +0 -1
  362. package/dist/taro-components/p-8fd6b016.entry.js +0 -1
  363. package/dist/taro-components/p-95bd702e.entry.js +0 -1
  364. package/dist/taro-components/p-a0c6319e.entry.js +0 -1
  365. package/dist/taro-components/p-a296ef29.entry.js +0 -1
  366. package/dist/taro-components/p-a39fc58e.entry.js +0 -1
  367. package/dist/taro-components/p-a5b29178.system.entry.js +0 -1
  368. package/dist/taro-components/p-a64d8c69.entry.js +0 -1
  369. package/dist/taro-components/p-abe4452a.entry.js +0 -1
  370. package/dist/taro-components/p-b1cf6698.system.entry.js +0 -1
  371. package/dist/taro-components/p-b6956e54.entry.js +0 -1
  372. package/dist/taro-components/p-be4406bd.system.entry.js +0 -1
  373. package/dist/taro-components/p-c28a79eb.entry.js +0 -1
  374. package/dist/taro-components/p-c503bd98.system.entry.js +0 -1
  375. package/dist/taro-components/p-ca1f541c.system.entry.js +0 -1
  376. package/dist/taro-components/p-cabc377f.entry.js +0 -1
  377. package/dist/taro-components/p-cf9e80c9.entry.js +0 -1
  378. package/dist/taro-components/p-d1c28dd0.entry.js +0 -1
  379. package/dist/taro-components/p-d21dd145.js +0 -1
  380. package/dist/taro-components/p-d5bfba7d.entry.js +0 -1
  381. package/dist/taro-components/p-df00945b.entry.js +0 -1
  382. package/dist/taro-components/p-e28a1c0e.entry.js +0 -1
  383. package/dist/taro-components/p-e43c8d69.system.entry.js +0 -1
  384. package/dist/taro-components/p-f201d652.system.entry.js +0 -1
  385. package/dist/taro-components/p-f2add48e.entry.js +0 -1
  386. package/dist/taro-components/p-f46523cb.entry.js +0 -1
  387. package/dist/taro-components/p-f4e38010.entry.js +0 -1
  388. package/dist/taro-components/p-f7fc979d.entry.js +0 -1
  389. package/dist/taro-components/p-f8eb7e74.system.entry.js +0 -1
  390. package/dist/taro-components/p-fb1de68d.entry.js +0 -1
  391. package/dist/taro-components/p-fbf0fb63.entry.js +0 -1
  392. package/dist-h5/vue/simpleComponents.js +0 -19
@@ -0,0 +1 @@
1
+ System.register(["./p-44996bd6.system.js"],(function(t){"use strict";var r,e,n;return{setters:[function(t){r=t.r;e=t.h;n=t.H}],execute:function(){var u=t("taro_block_core",function(){function t(t){r(this,t)}t.prototype.render=function(){return e(n,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-44996bd6.system.js"],(function(t){"use strict";var n,o,e,i;return{setters:[function(t){n=t.r;o=t.c;e=t.h;i=t.g}],execute:function(){var r="taro-canvas-core{display:block;position:relative;width:300px;height:150px}";var s=500;var c=t("taro_canvas_core",function(){function t(t){var e=this;n(this,t);this.onLongTap=o(this,"longtap",7);this.nativeProps={};this.onTouchStart=function(){e.timer=setTimeout((function(){e.onLongTap.emit()}),s)};this.onTouchMove=function(){clearTimeout(e.timer)};this.onTouchEnd=function(){clearTimeout(e.timer)}}t.prototype.render=function(){var t=this,n=t.canvasId,o=t.nativeProps;return e("canvas",Object.assign({"canvas-id":n,style:{width:"100%",height:"100%"},onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd},o))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());c.style=r}}}));
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as t}from"./p-8c7cf814.js";let e=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 Editor 组件!")}render(){return r(t,null)}};export{e as taro_editor_core}
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as t}from"./p-8c7cf814.js";let a=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 MatchMedia 组件!")}render(){return r(t,null)}};export{a as taro_match_media_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-44996bd6.system.js","@tarojs/taro","./p-5f4d0d5b.system.js"],(function(e){"use strict";var t,r,n,i,o,a,s;return{setters:[function(e){t=e.r;r=e.c;n=e.h;i=e.H;o=e.g},function(e){a=e.default},function(e){s=e.c}],execute:function(){var c=".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}";function l(e,t){e.transform=t;e.webkitTransform=t;e.MozTransform=t}var u=typeof navigator!=="undefined"&&/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent);var d={activate:"release",deactivate:"pull",release:"loading",finish:"finish"};var f=false;try{var h=Object.defineProperty({},"passive",{get:function(){f=true}});window.addEventListener("cancel",(function(){return{}}),h)}catch(e){}var p=f?{passive:false}:false;var m=e("taro_pull_to_refresh",function(){function e(e){var n=this;t(this,e);this.onRefresh=r(this,"refresh",7);this.prefixCls="rmc-pull-to-refresh";this.distanceToRefresh=50;this.damping=100;this.indicator=d;this.currSt="deactivate";this.dragOnEdge=false;this._ScreenY=0;this._startScreenY=0;this._lastScreenY=0;this._isMounted=false;this.triggerPullDownRefresh=function(e){if(!n.dragOnEdge&&n._isMounted){if(e){n._lastScreenY=n.distanceToRefresh+1;n.currSt="release";n.setContentStyle(n._lastScreenY)}else{n.currSt="finish";n.reset()}}};this.init=function(){var e=n.scrollContainer;var t=n.el.querySelector("rmc-pull-to-refresh-content");n.el.appendChild=t===null||t===void 0?void 0:t.appendChild.bind(t);n.el.insertBefore=t===null||t===void 0?void 0:t.insertBefore.bind(t);n.el.replaceChild=t===null||t===void 0?void 0:t.replaceChild.bind(t);n.el.removeChild=t===null||t===void 0?void 0:t.removeChild.bind(t);n._to={touchstart:n.onTouchStart.bind(n,e),touchmove:n.onTouchMove.bind(n,e),touchend:n.onTouchEnd.bind(n,e),touchcancel:n.onTouchEnd.bind(n,e)};Object.keys(n._to).forEach((function(t){e.addEventListener(t,n._to[t],p)}))};this.destroy=function(){var e=n.scrollContainer;Object.keys(n._to).forEach((function(t){e.removeEventListener(t,n._to[t])}))};this.onTouchStart=function(e,t){n._ScreenY=n._startScreenY=t.touches[0].screenY;n._lastScreenY=n._lastScreenY||0};this.isEdge=function(e){var t=n.scrollContainer;if(t&&t===document.body){var r=document.scrollingElement?document.scrollingElement:document.body;return r.scrollTop<=0}return e.scrollTop<=0};this.damp=function(e){if(Math.abs(n._lastScreenY)>n.damping){return 0}var t=Math.abs(n._ScreenY-n._startScreenY)/window.screen.height;e*=(1-t)*.6;return e};this.onTouchMove=function(e,t){var r=t.touches[0].screenY;if(n._startScreenY>r){return}if(n.isEdge(e)){if(!n.dragOnEdge){n._ScreenY=n._startScreenY=t.touches[0].screenY;n.dragOnEdge=true}if(t.cancelable){t.preventDefault()}var i=Math.round(r-n._ScreenY);n._ScreenY=r;n._lastScreenY+=n.damp(i);n.setContentStyle(n._lastScreenY);if(Math.abs(n._lastScreenY)<n.distanceToRefresh){if(n.currSt!=="deactivate"){n.currSt="deactivate"}}else{if(n.currSt==="deactivate"){n.currSt="activate"}}if(u&&t.changedTouches[0].clientY<0){n.onTouchEnd()}}};this.onTouchEnd=function(){if(n.dragOnEdge){n.dragOnEdge=false}if(n.currSt==="activate"){n.currSt="release";n.onRefresh.emit(n);n._lastScreenY=n.distanceToRefresh+1;n.setContentStyle(n._lastScreenY)}else if(n.currSt==="release"){n._lastScreenY=n.distanceToRefresh+1;n.setContentStyle(n._lastScreenY)}else{n.reset()}};this.reset=function(){n._lastScreenY=0;n.setContentStyle(0)};this.setContentStyle=function(e){if(n.contentRef){if(e){l(n.contentRef.style,"translate3d(0px,"+e+"px,0)")}else{l(n.contentRef.style,"")}}}}Object.defineProperty(e.prototype,"scrollContainer",{get:function(){return this.el.parentElement||document.querySelector(".taro_page_stationed")||document.querySelector(".taro_page")||document.querySelector(".taro_router")||document.querySelector(".taro-tabbar__panel")||document.body},enumerable:false,configurable:true});e.prototype.statusChange=function(){if(this.currSt==="release"){var e=this.el.closest(".taro_page");if(e&&e.__page){e.__page.onPullDownRefresh()}}};e.prototype.disconnectedCallback=function(){this.destroy()};e.prototype.componentDidLoad=function(){var e=this;this.init();this._isMounted=true;a.eventCenter.on("__taroStartPullDownRefresh",(function(t){var r=t.successHandler,n=t.errorHandler;try{e.triggerPullDownRefresh(true);r({errMsg:"startPullDownRefresh: ok"})}catch(e){n({errMsg:"startPullDownRefresh: fail"})}}));a.eventCenter.on("__taroStopPullDownRefresh",(function(t){var r=t.successHandler,n=t.errorHandler;try{e.triggerPullDownRefresh(false);r({errMsg:"stopPullDownRefresh: ok"})}catch(e){n({errMsg:"stopPullDownRefresh: fail"})}}))};e.prototype.render=function(){var e=this;var t=function(t){var r=e,i=r.currSt,o=r.dragOnEdge,a=r.prefixCls;var c=s(t,!o&&a+"-transition");var l=i==="activate"||i==="release";return n("div",{class:a+"-content-wrapper"},n("div",{class:c,ref:function(t){e.contentRef=t}},l&&n("div",{class:a+"-indicator"},n("div",null),n("div",null),n("div",null)),n("slot",null)))};if(this.scrollContainer){return t(this.prefixCls+"-content "+this.prefixCls+"-down")}return n(i,{class:s(this.prefixCls,this.prefixCls+"-down")},t(this.prefixCls+"-content"))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{currSt:["statusChange"]}},enumerable:false,configurable:true});return e}());m.style=c}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-44996bd6.system.js"],(function(r){"use strict";var s,t,e;return{setters:[function(r){s=r.r;t=r.h;e=r.H}],execute:function(){var o=r("taro_progress_core",function(){function r(r){s(this,r);this.percent=0;this.showInfo=false;this.borderRadius=0;this.fontSize=16;this.strokeWidth=6;this.activeColor="#09BB07";this.backgroundColor="#EBEBEB";this.active=false}r.prototype.render=function(){var r=this,s=r.percent,o=r.showInfo,i=r.borderRadius,n=r.fontSize,a=r.strokeWidth,u=r.activeColor,c=r.backgroundColor,d=r.active;var h=s>100?100:s<0?0:s;var l={height:a+"px",backgroundColor:c};var p=d?"width 1s ease-in-out":"none";var v={width:h+"%",transition:p,WebkitTransition:p,backgroundColor:u,borderRadius:i?i+"px":"0px"};return t(e,{class:"weui-progress"},t("div",{class:"weui-progress__bar",style:l},t("div",{class:"weui-progress__inner-bar",style:v})),o&&t("div",{class:"weui-progress__opr",style:{"font-size":n+"px"}},t("span",null,h,"%")))};return r}())}}}));
@@ -0,0 +1 @@
1
+ import{r as o,c as t,h as r,H as a,g as e}from"./p-8c7cf814.js";import{c as i}from"./p-7e5d2d7a.js";let n=class{constructor(r){o(this,r),this.onSubmit=t(this,"tarobuttonsubmit",7),this.onReset=t(this,"tarobuttonreset",7),this.hoverClass="button-hover",this.type="",this.hoverStartTime=20,this.hoverStayTime=70,this.loading=!1,this.formType=null,this.hover=!1,this.touch=!1}onTouchStart(){this.disabled||(this.touch=!0,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime))}onTouchEnd(){this.disabled||(this.touch=!1,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime),"submit"===this.formType?this.onSubmit.emit():"reset"===this.formType&&this.onReset.emit())}render(){const{disabled:o,hoverClass:t,type:e,size:n,plain:b,loading:c,hover:d}=this,l=i({[`${t}`]:d&&!o});return r(a,{class:l,type:e,plain:b,loading:c,size:n,disabled:o},c&&r("i",{class:"weui-loading"}),r("slot",null))}get el(){return e(this)}};n.style='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)}';export{n as taro_button_core}
@@ -0,0 +1 @@
1
+ var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,a=t.length,o=e.length;r<a;r++,o++)e[o]=t[r];return e};System.register(["./p-44996bd6.system.js","@tarojs/taro","./p-5f4d0d5b.system.js"],(function(e){"use strict";var t,r,a,o,n,i,s;return{setters:[function(e){t=e.h;r=e.r;a=e.c;o=e.H;n=e.g},function(e){i=e.default},function(e){s=e.c}],execute:function(){var l=function(e){var t=e||"";var r;var a={path:null,query:null,fragment:null};r=t.indexOf("#");if(r>-1){a.fragment=t.substring(r+1);t=t.substring(0,r)}r=t.indexOf("?");if(r>-1){a.query=t.substring(r+1);t=t.substring(0,r)}a.path=t;return a};function d(e){return e.charAt(0)==="/"}function b(e,t){for(var r=t,a=r+1,o=e.length;a<o;r+=1,a+=1){e[r]=e[a]}e.pop()}function h(e,t){if(t===undefined)t="";var r=e&&e.split("/")||[];var a=t&&t.split("/")||[];var o=e&&d(e);var n=t&&d(t);var i=o||n;if(e&&d(e)){a=r}else if(r.length){a.pop();a=a.concat(r)}if(!a.length)return"/";var s;if(a.length){var l=a[a.length-1];s=l==="."||l===".."||l===""}else{s=false}var h=0;for(var f=a.length;f>=0;f--){var c=a[f];if(c==="."){b(a,f)}else if(c===".."){b(a,f);h++}else if(h){b(a,f);h--}}if(!i)for(;h--;h)a.unshift("..");if(i&&a[0]!==""&&(!a[0]||!d(a[0])))a.unshift("");var u=a.join("/");if(s&&u.substr(-1)!=="/")u+="/";return u}var f=function(e){var r=e.index,a=e.isSelected,o=a===void 0?false:a,n=e.textColor,i=e.iconPath,l=e.badgeText,d=e.showRedDot,b=d===void 0?false:d,h=e.text,f=e.onSelect;var c=s("weui-tabbar__item",{"weui-bar__item_on":o});var u={position:"absolute",top:"-2px",right:"-13px"};var v={position:"absolute",top:"0",right:"-6px"};function g(){f(r)}return t("a",{key:r,href:"javascript:;",class:c,onClick:g},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:i,alt:"",class:"weui-tabbar__icon"}),!!l&&t("span",{class:"weui-badge taro-tabbar-badge",style:u},l),b&&t("span",{class:"weui-badge weui-badge_dot",style:v})),t("p",{class:"weui-tabbar__label",style:{color:n}},h))};var c="html,body{height:100%}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:50px;-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";var u=function(e){if(e===void 0){e=""}return e[0]==="/"?e:"/"+e};var v=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)};var g=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return v(e,t)?e.substr(t.length):e};var _=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return e.includes(t)?e.substring(0,e.length-t.length):e};var p=0;var m=1;var T=2;var B="taro-tabbar__tabbar";var H="taro-tabbar__tabbar-hide";var x="taro-tabbar__tabbar-slideout";var w=e("taro_tabbar",function(){function e(e){var t=this;r(this,e);this.onLongPress=a(this,"longpress",7);this.homePage="";this.customRoutes=[];this.tabbarPos="bottom";this.selectedIndex=-1;this.status=p;this.getOriginUrl=function(e){var r=t.customRoutes.filter((function(t){var r=t[1];var a=l(r).path;var o=l(e).path;return a===o}));return _(r.length?r[0][0]:e,".html")};this.getSelectedIndex=function(e){var r=-1;t.list.forEach((function(t,a){var o=t.pagePath;var n=l(e).path;var i=l(o).path;if(n===i){r=a}}));return r};this.switchTab=function(e){t.selectedIndex=e;i.switchTab({url:t.list[e].pagePath})};this.switchTabHandler=function(e){var r=e.url,a=e.successHandler,o=e.errorHandler;var n=t.getOriginUrl(t.getCurrentUrl()||t.homePage);var i=h(r,n);var s=t.getSelectedIndex(i);if(s>-1){t.switchTab(s);a({errMsg:"switchTab:ok"})}else{o({errMsg:'switchTab:fail page "'+i+'" is not found'})}};this.routerChangeHandler=function(e){var r;var a=(r=e===null||e===void 0?void 0:e.toLocation)===null||r===void 0?void 0:r.path;var o;if(typeof a==="string"){var n=t.conf.basename||"/";o=g(u(a||t.homePage),n)||"/"}else{o=t.getCurrentUrl()}t.selectedIndex=t.getSelectedIndex(t.getOriginUrl(o))};this.setTabBarBadgeHandler=function(e){var r=e.index,a=e.text,o=e.successHandler,n=e.errorHandler;var i=__spreadArray([],t.list);if(r in i){i[r].showRedDot=false;i[r].badgeText=a;o({errMsg:"setTabBarBadge:ok"})}else{n({errMsg:"setTabBarBadge:fail tabbar item not found"})}t.list=i};this.removeTabBarBadgeHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list);if(r in n){n[r].badgeText=null;n[r].badgeText=null;a({errMsg:"removeTabBarBadge:ok"})}else{o({errMsg:"removeTabBarBadge:fail tabbar item not found"})}t.list=n};this.showTabBarRedDotHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list);if(r in n){n[r].badgeText=null;n[r].showRedDot=true;a({errMsg:"showTabBarRedDot:ok"})}else{o({errMsg:"showTabBarRedDot:fail tabbar item not found"})}t.list=n};this.hideTabBarRedDotHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list);if(r in n){n[r].showRedDot=false;a({errMsg:"hideTabBarRedDot:ok"})}else{o({errMsg:"hideTabBarRedDot:fail tabbar item not found"})}t.list=n};this.showTabBarHandler=function(e){var r=e.successHandler;t.status=p;r({errMsg:"showTabBar:ok"})};this.hideTabBarHandler=function(e){var r=e.animation,a=e.successHandler;t.status=r?T:m;a({errMsg:"hideTabBar:ok"})};this.setTabBarStyleHandler=function(e){var r=e.color,a=e.selectedColor,o=e.backgroundColor,n=e.borderStyle,i=e.successHandler;if(o)t.backgroundColor=o;if(n)t.borderStyle=n;if(r)t.color=r;if(a)t.selectedColor=a;i({errMsg:"setTabBarStyle:ok"})};this.setTabBarItemHandler=function(e){var r=e.index,a=e.iconPath,o=e.selectedIconPath,n=e.text,i=e.successHandler,s=e.errorHandler;var l=__spreadArray([],t.list);if(r in l){if(a)l[r].iconPath=a;if(o)l[r].selectedIconPath=o;if(n)l[r].text=n;i({errMsg:"setTabBarItem:ok"})}else{s({errMsg:"setTabBarItem:fail tabbar item not found"})}t.list=l};var o=this.conf.list;var n=this.conf.customRoutes;if(Object.prototype.toString.call(o)!=="[object Array]"||o.length<2||o.length>5){throw new Error("tabBar 配置错误")}this.homePage=u(this.conf.homePage);var s=function(e){var t;var r=n[e];e=u(e);if(typeof r==="string"){d.customRoutes.push([e,u(r)])}else if((r===null||r===void 0?void 0:r.length)>0){(t=d.customRoutes).push.apply(t,r.map((function(t){return[e,u(t)]})))}};var d=this;for(var b in n){s(b)}o.forEach((function(e){if(e.pagePath.indexOf("/")!==0){e.pagePath="/"+e.pagePath}}));this.list=o;this.borderStyle=this.conf.borderStyle;this.backgroundColor=this.conf.backgroundColor;this.color=this.conf.color;this.selectedColor=this.conf.selectedColor}e.prototype.getCurrentUrl=function(){var e=this.conf.mode;var t=this.conf.basename||"/";var r;if(e==="hash"){var a=window.location.href;var o=a.indexOf("#");r=o===-1?"":a.substring(o+1)}else{r=location.pathname}var n=u(g(r,t));return decodeURI(n==="/"?this.homePage:n)};e.prototype.bindEvent=function(){i.eventCenter.on("__taroRouterChange",this.routerChangeHandler);i.eventCenter.on("__taroSwitchTab",this.switchTabHandler);i.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler);i.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);i.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);i.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);i.eventCenter.on("__taroShowTabBar",this.showTabBarHandler);i.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler);i.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler);i.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.removeEvent=function(){i.eventCenter.off("__taroRouterChange",this.routerChangeHandler);i.eventCenter.off("__taroSwitchTab",this.switchTabHandler);i.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler);i.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);i.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);i.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);i.eventCenter.off("__taroShowTabBar",this.showTabBarHandler);i.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler);i.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler);i.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.componentDidLoad=function(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom";this.bindEvent();this.routerChangeHandler()};e.prototype.disconnectedCallback=function(){this.removeEvent()};e.prototype.render=function(){var e,r;var a=this;var n=this.tabbarPos,i=n===void 0?"bottom":n;var l=this.status;var d=s("weui-tabbar",(e={},e["taro-tabbar__border-"+(this.borderStyle||"black")]=true,e));var b=this.selectedIndex===-1||l===m;var h=l===T;return t(o,{class:s(B,B+"-"+i,(r={},r[H]=b,r[x]=h,r))},t("div",{class:d,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map((function(e,r){var o=a.selectedIndex===r;var n;var i;if(o){n=a.selectedColor||"";i=e.selectedIconPath}else{n=a.color||"";i=e.iconPath}return t(f,{index:r,onSelect:a.switchTab.bind(a),isSelected:o,textColor:n,iconPath:i,text:e.text,badgeText:e.badgeText,showRedDot:e.showRedDot})}))))};Object.defineProperty(e.prototype,"tabbar",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());w.style=c}}}));
@@ -0,0 +1 @@
1
+ import{h as t,r as a,c as r,H as e,g as s}from"./p-8c7cf814.js";import o from"@tarojs/taro";import{c as i}from"./p-7e5d2d7a.js";const n=t=>{let a,r=t||"";const e={path:null,query:null,fragment:null};return a=r.indexOf("#"),a>-1&&(e.fragment=r.substring(a+1),r=r.substring(0,a)),a=r.indexOf("?"),a>-1&&(e.query=r.substring(a+1),r=r.substring(0,a)),e.path=r,e};function h(t){return"/"===t.charAt(0)}function b(t,a){for(var r=a,e=r+1,s=t.length;e<s;r+=1,e+=1)t[r]=t[e];t.pop()}const l=({index:a,isSelected:r=!1,textColor:e,iconPath:s,badgeText:o,showRedDot:n=!1,text:h,onSelect:b})=>{const l=i("weui-tabbar__item",{"weui-bar__item_on":r});return t("a",{key:a,href:"javascript:;",class:l,onClick:function(){b(a)}},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:s,alt:"",class:"weui-tabbar__icon"}),!!o&&t("span",{class:"weui-badge taro-tabbar-badge",style:{position:"absolute",top:"-2px",right:"-13px"}},o),n&&t("span",{class:"weui-badge weui-badge_dot",style:{position:"absolute",top:"0",right:"-6px"}})),t("p",{class:"weui-tabbar__label",style:{color:e}},h))},d=(t="")=>"/"===t[0]?t:`/${t}`,c=(t="",a="")=>((t="",a="")=>new RegExp("^"+a+"(\\/|\\?|#|$)","i").test(t))(t,a)?t.substr(a.length):t;let _=class{constructor(t){a(this,t),this.onLongPress=r(this,"longpress",7),this.homePage="",this.customRoutes=[],this.tabbarPos="bottom",this.selectedIndex=-1,this.status=0,this.getOriginUrl=t=>{const a=this.customRoutes.filter((([,a])=>n(a).path===n(t).path));return((t="",a="")=>t.includes(a)?t.substring(0,t.length-a.length):t)(a.length?a[0][0]:t,".html")},this.getSelectedIndex=t=>{let a=-1;return this.list.forEach((({pagePath:r},e)=>{n(t).path===n(r).path&&(a=e)})),a},this.switchTab=t=>{this.selectedIndex=t,o.switchTab({url:this.list[t].pagePath})},this.switchTabHandler=({url:t,successHandler:a,errorHandler:r})=>{const e=function(t,a){void 0===a&&(a="");var r,e=t&&t.split("/")||[],s=a&&a.split("/")||[],o=t&&h(t),i=a&&h(a),n=o||i;if(t&&h(t)?s=e:e.length&&(s.pop(),s=s.concat(e)),!s.length)return"/";if(s.length){var l=s[s.length-1];r="."===l||".."===l||""===l}else r=!1;for(var d=0,c=s.length;c>=0;c--){var _=s[c];"."===_?b(s,c):".."===_?(b(s,c),d++):d&&(b(s,c),d--)}if(!n)for(;d--;d)s.unshift("..");!n||""===s[0]||s[0]&&h(s[0])||s.unshift("");var u=s.join("/");return r&&"/"!==u.substr(-1)&&(u+="/"),u}(t,this.getOriginUrl(this.getCurrentUrl()||this.homePage)),s=this.getSelectedIndex(e);s>-1?(this.switchTab(s),a({errMsg:"switchTab:ok"})):r({errMsg:`switchTab:fail page "${e}" is not found`})},this.routerChangeHandler=t=>{var a;const r=null===(a=null==t?void 0:t.toLocation)||void 0===a?void 0:a.path;let e;if("string"==typeof r){const t=this.conf.basename||"/";e=c(d(r||this.homePage),t)||"/"}else e=this.getCurrentUrl();this.selectedIndex=this.getSelectedIndex(this.getOriginUrl(e))},this.setTabBarBadgeHandler=({index:t,text:a,successHandler:r,errorHandler:e})=>{const s=[...this.list];t in s?(s[t].showRedDot=!1,s[t].badgeText=a,r({errMsg:"setTabBarBadge:ok"})):e({errMsg:"setTabBarBadge:fail tabbar item not found"}),this.list=s},this.removeTabBarBadgeHandler=({index:t,successHandler:a,errorHandler:r})=>{const e=[...this.list];t in e?(e[t].badgeText=null,e[t].badgeText=null,a({errMsg:"removeTabBarBadge:ok"})):r({errMsg:"removeTabBarBadge:fail tabbar item not found"}),this.list=e},this.showTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:r})=>{const e=[...this.list];t in e?(e[t].badgeText=null,e[t].showRedDot=!0,a({errMsg:"showTabBarRedDot:ok"})):r({errMsg:"showTabBarRedDot:fail tabbar item not found"}),this.list=e},this.hideTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:r})=>{const e=[...this.list];t in e?(e[t].showRedDot=!1,a({errMsg:"hideTabBarRedDot:ok"})):r({errMsg:"hideTabBarRedDot:fail tabbar item not found"}),this.list=e},this.showTabBarHandler=({successHandler:t})=>{this.status=0,t({errMsg:"showTabBar:ok"})},this.hideTabBarHandler=({animation:t,successHandler:a})=>{this.status=t?2:1,a({errMsg:"hideTabBar:ok"})},this.setTabBarStyleHandler=({color:t,selectedColor:a,backgroundColor:r,borderStyle:e,successHandler:s})=>{r&&(this.backgroundColor=r),e&&(this.borderStyle=e),t&&(this.color=t),a&&(this.selectedColor=a),s({errMsg:"setTabBarStyle:ok"})},this.setTabBarItemHandler=({index:t,iconPath:a,selectedIconPath:r,text:e,successHandler:s,errorHandler:o})=>{const i=[...this.list];t in i?(a&&(i[t].iconPath=a),r&&(i[t].selectedIconPath=r),e&&(i[t].text=e),s({errMsg:"setTabBarItem:ok"})):o({errMsg:"setTabBarItem:fail tabbar item not found"}),this.list=i};const e=this.conf.list,s=this.conf.customRoutes;if("[object Array]"!==Object.prototype.toString.call(e)||e.length<2||e.length>5)throw new Error("tabBar 配置错误");this.homePage=d(this.conf.homePage);for(let t in s){const a=s[t];t=d(t),"string"==typeof a?this.customRoutes.push([t,d(a)]):(null==a?void 0:a.length)>0&&this.customRoutes.push(...a.map((a=>[t,d(a)])))}e.forEach((t=>{0!==t.pagePath.indexOf("/")&&(t.pagePath="/"+t.pagePath)})),this.list=e,this.borderStyle=this.conf.borderStyle,this.backgroundColor=this.conf.backgroundColor,this.color=this.conf.color,this.selectedColor=this.conf.selectedColor}getCurrentUrl(){const t=this.conf.basename||"/";let a;if("hash"===this.conf.mode){const t=window.location.href,r=t.indexOf("#");a=-1===r?"":t.substring(r+1)}else a=location.pathname;const r=d(c(a,t));return decodeURI("/"===r?this.homePage:r)}bindEvent(){o.eventCenter.on("__taroRouterChange",this.routerChangeHandler),o.eventCenter.on("__taroSwitchTab",this.switchTabHandler),o.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler),o.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),o.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),o.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),o.eventCenter.on("__taroShowTabBar",this.showTabBarHandler),o.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler),o.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler),o.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)}removeEvent(){o.eventCenter.off("__taroRouterChange",this.routerChangeHandler),o.eventCenter.off("__taroSwitchTab",this.switchTabHandler),o.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler),o.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),o.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),o.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),o.eventCenter.off("__taroShowTabBar",this.showTabBarHandler),o.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler),o.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler),o.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)}componentDidLoad(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom",this.bindEvent(),this.routerChangeHandler()}disconnectedCallback(){this.removeEvent()}render(){const{tabbarPos:a="bottom"}=this,r=this.status,s=i("weui-tabbar",{[`taro-tabbar__border-${this.borderStyle||"black"}`]:!0});return t(e,{class:i("taro-tabbar__tabbar",`taro-tabbar__tabbar-${a}`,{"taro-tabbar__tabbar-hide":-1===this.selectedIndex||1===r,"taro-tabbar__tabbar-slideout":2===r})},t("div",{class:s,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map(((a,r)=>{const e=this.selectedIndex===r;let s,o;return e?(s=this.selectedColor||"",o=a.selectedIconPath):(s=this.color||"",o=a.iconPath),t(l,{index:r,onSelect:this.switchTab.bind(this),isSelected:e,textColor:s,iconPath:o,text:a.text,badgeText:a.badgeText,showRedDot:a.showRedDot})}))))}get tabbar(){return s(this)}};_.style="html,body{height:100%}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:50px;-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";export{_ as taro_tabbar}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as e,H as i,g as h}from"./p-8c7cf814.js";import{c as o}from"./p-7e5d2d7a.js";let r=class{constructor(e){t(this,e),this.onLongPress=s(this,"longpress",7),this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1,this.startTime=0}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))}componentDidRender(){this.el.childNodes.forEach((t=>{t.nodeType===document.COMMENT_NODE&&t["s-cn"]&&(t["s-cn"]=!1)}))}render(){const t=o({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),e(i,Object.assign({class:t},s),e("slot",null))}get el(){return h(this)}};r.style="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";export{r as taro_view_core}
@@ -0,0 +1 @@
1
+ import{r,h as e,H as o}from"./p-8c7cf814.js";let s=class{constructor(e){r(this,e)}componentDidLoad(){console.error("H5 暂不支持 LivePusher 组件!")}render(){return e(o,null)}};export{s as taro_live_pusher_core}
@@ -1 +1 @@
1
- System.register(["./p-0674e57b.system.js"],(function(e){"use strict";var t,n,r;return{setters:[function(e){t=e.r;n=e.h;r=e.H}],execute:function(){var o=e("taro_share_element_core",function(){function e(e){t(this,e)}e.prototype.componentDidLoad=function(){console.error("H5 暂不支持 ShareElement 组件!")};e.prototype.render=function(){return n(r,null)};return e}())}}}));
1
+ System.register(["./p-44996bd6.system.js"],(function(e){"use strict";var t,n,r;return{setters:[function(e){t=e.r;n=e.h;r=e.H}],execute:function(){var o=e("taro_share_element_core",function(){function e(e){t(this,e)}e.prototype.componentDidLoad=function(){console.error("H5 暂不支持 ShareElement 组件!")};e.prototype.render=function(){return n(r,null)};return e}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-0674e57b.system.js"],(function(e){"use strict";var t,r,n,i;return{setters:[function(e){t=e.r;r=e.c;n=e.h;i=e.g}],execute:function(){var o=e("taro_form_core",function(){function e(e){t(this,e);this.onSubmit=r(this,"submit",7);this.value={}}e.prototype.watchSlotParent=function(e){if(!this.orginalAppendChild){this.orginalAppendChild=this.el.appendChild;this.orginalInsertBefore=this.el.insertBefore;this.orginalReplaceChild=this.el.replaceChild;this.orginalRemoveChild=this.el.removeChild}if(!e){this.el.appendChild=this.orginalAppendChild;this.el.insertBefore=this.orginalInsertBefore;this.el.replaceChild=this.orginalReplaceChild;this.el.removeChild=this.orginalRemoveChild;return}this.el.appendChild=function(t){return e.appendChild(t)};this.el.insertBefore=function(t,r){return e.insertBefore(t,r)};this.el.replaceChild=function(t,r){return e.replaceChild(t,r)};this.el.removeChild=function(t){return e.removeChild(t)}};e.prototype.onButtonSubmit=function(e){e.stopPropagation();this.value=this.getFormValue();this.onSubmit.emit({value:this.value})};e.prototype.onButtonReset=function(e){e.stopPropagation();this.form.reset()};e.prototype.componentDidLoad=function(){var e=this;this.value=this.getFormValue();Object.defineProperty(this.el,"value",{get:function(){return e.value},configurable:true})};e.prototype.componentDidRender=function(){this.setSlotParent(this.form)};e.prototype.getFormValue=function(){var e=this.el;var t=[];var r=e.getElementsByTagName("input");for(var n=0;n<r.length;n++){t.push(r[n])}var i={};var o={};t.forEach((function(e){if(e.className.indexOf("weui-switch")!==-1){i[e.name]=e.checked;return}if(e.type==="radio"){if(e.checked){o[e.name]=true;i[e.name]=e.value}else{if(!o[e.name]){i[e.name]=""}}return}if(e.type==="checkbox"){if(e.checked){if(o[e.name]){i[e.name].push(e.value)}else{o[e.name]=true;i[e.name]=[e.value]}}else{if(!o[e.name]){i[e.name]=[]}}return}i[e.name]=e.value}));var a=e.getElementsByTagName("textarea");var l=[];for(var s=0;s<a.length;s++){l.push(a[s])}l.forEach((function(e){i[e.name]=e.value}));return i};e.prototype.setSlotParent=function(e){this.slotParent=e};e.prototype.render=function(){var e=this;return n("form",{ref:function(t){if(t){e.form=t}}},n("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{slotParent:["watchSlotParent"]}},enumerable:false,configurable:true});return e}())}}}));
1
+ System.register(["./p-44996bd6.system.js"],(function(e){"use strict";var t,r,n,i;return{setters:[function(e){t=e.r;r=e.c;n=e.h;i=e.g}],execute:function(){var o=e("taro_form_core",function(){function e(e){t(this,e);this.onSubmit=r(this,"submit",7);this.value={}}e.prototype.watchSlotParent=function(e){if(!this.orginalAppendChild){this.orginalAppendChild=this.el.appendChild;this.orginalInsertBefore=this.el.insertBefore;this.orginalReplaceChild=this.el.replaceChild;this.orginalRemoveChild=this.el.removeChild}if(!e){this.el.appendChild=this.orginalAppendChild;this.el.insertBefore=this.orginalInsertBefore;this.el.replaceChild=this.orginalReplaceChild;this.el.removeChild=this.orginalRemoveChild;return}this.el.appendChild=function(t){return e.appendChild(t)};this.el.insertBefore=function(t,r){return e.insertBefore(t,r)};this.el.replaceChild=function(t,r){return e.replaceChild(t,r)};this.el.removeChild=function(t){return e.removeChild(t)}};e.prototype.onButtonSubmit=function(e){e.stopPropagation();this.value=this.getFormValue();this.onSubmit.emit({value:this.value})};e.prototype.onButtonReset=function(e){e.stopPropagation();this.form.reset()};e.prototype.componentDidLoad=function(){var e=this;this.value=this.getFormValue();Object.defineProperty(this.el,"value",{get:function(){return e.value},configurable:true})};e.prototype.componentDidRender=function(){this.setSlotParent(this.form)};e.prototype.getFormValue=function(){var e=this.el;var t=[];var r=e.getElementsByTagName("input");for(var n=0;n<r.length;n++){t.push(r[n])}var i={};var o={};t.forEach((function(e){if(e.className.indexOf("weui-switch")!==-1){i[e.name]=e.checked;return}if(e.type==="radio"){if(e.checked){o[e.name]=true;i[e.name]=e.value}else{if(!o[e.name]){i[e.name]=""}}return}if(e.type==="checkbox"){if(e.checked){if(o[e.name]){i[e.name].push(e.value)}else{o[e.name]=true;i[e.name]=[e.value]}}else{if(!o[e.name]){i[e.name]=[]}}return}i[e.name]=e.value}));var a=e.getElementsByTagName("textarea");var l=[];for(var s=0;s<a.length;s++){l.push(a[s])}l.forEach((function(e){i[e.name]=e.value}));return i};e.prototype.setSlotParent=function(e){this.slotParent=e};e.prototype.render=function(){var e=this;return n("form",{ref:function(t){if(t){e.form=t}}},n("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{slotParent:["watchSlotParent"]}},enumerable:false,configurable:true});return e}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-0674e57b.system.js","./p-5f4d0d5b.system.js"],(function(o){"use strict";var t,r,e,a,i,n;return{setters:[function(o){t=o.r;r=o.c;e=o.h;a=o.H;i=o.g},function(o){n=o.c}],execute:function(){var c='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)}';var b=o("taro_button_core",function(){function o(o){t(this,o);this.onSubmit=r(this,"tarobuttonsubmit",7);this.onReset=r(this,"tarobuttonreset",7);this.hoverClass="button-hover";this.type="";this.hoverStartTime=20;this.hoverStayTime=70;this.loading=false;this.formType=null;this.hover=false;this.touch=false}o.prototype.onTouchStart=function(){var o=this;if(this.disabled){return}this.touch=true;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(o.touch){o.hover=true}}),this.hoverStartTime)}};o.prototype.onTouchEnd=function(){var o=this;if(this.disabled){return}this.touch=false;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(!o.touch){o.hover=false}}),this.hoverStayTime)}if(this.formType==="submit"){this.onSubmit.emit()}else if(this.formType==="reset"){this.onReset.emit()}};o.prototype.render=function(){var o;var t=this,r=t.disabled,i=t.hoverClass,c=t.type,b=t.size,l=t.plain,d=t.loading,s=t.hover;var u=n((o={},o["".concat(i)]=s&&!r,o));return e(a,{class:u,type:c,plain:l,loading:d,size:b,disabled:r},d&&e("i",{class:"weui-loading"}),e("slot",null))};Object.defineProperty(o.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return o}());b.style=c}}}));
1
+ System.register(["./p-44996bd6.system.js","./p-5f4d0d5b.system.js"],(function(o){"use strict";var t,r,e,a,i,n;return{setters:[function(o){t=o.r;r=o.c;e=o.h;a=o.H;i=o.g},function(o){n=o.c}],execute:function(){var c='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)}';var b=o("taro_button_core",function(){function o(o){t(this,o);this.onSubmit=r(this,"tarobuttonsubmit",7);this.onReset=r(this,"tarobuttonreset",7);this.hoverClass="button-hover";this.type="";this.hoverStartTime=20;this.hoverStayTime=70;this.loading=false;this.formType=null;this.hover=false;this.touch=false}o.prototype.onTouchStart=function(){var o=this;if(this.disabled){return}this.touch=true;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(o.touch){o.hover=true}}),this.hoverStartTime)}};o.prototype.onTouchEnd=function(){var o=this;if(this.disabled){return}this.touch=false;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(!o.touch){o.hover=false}}),this.hoverStayTime)}if(this.formType==="submit"){this.onSubmit.emit()}else if(this.formType==="reset"){this.onReset.emit()}};o.prototype.render=function(){var o;var t=this,r=t.disabled,i=t.hoverClass,c=t.type,b=t.size,l=t.plain,d=t.loading,s=t.hover;var u=n((o={},o[""+i]=s&&!r,o));return e(a,{class:u,type:c,plain:l,loading:d,size:b,disabled:r},d&&e("i",{class:"weui-loading"}),e("slot",null))};Object.defineProperty(o.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return o}());b.style=c}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-44996bd6.system.js"],(function(r){"use strict";var e,t,o;return{setters:[function(r){e=r.r;t=r.h;o=r.H}],execute:function(){var n=r("taro_keyboard_accessory_core",function(){function r(r){e(this,r)}r.prototype.componentDidLoad=function(){console.error("H5 暂不支持 KeyboardAccessory 组件!")};r.prototype.render=function(){return t(o,null)};return r}())}}}));
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as i,g as h}from"./p-8c7cf814.js";function s(t){return null!=t?t:""}let a=class{constructor(i){t(this,i),this.onInput=e(this,"input",7),this.onFocus=e(this,"focus",7),this.onBlur=e(this,"blur",7),this.onChange=e(this,"change",7),this.onLineChange=e(this,"linechange",7),this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.autoHeight=!1,this.nativeProps={},this.line=1,this.handleInput=t=>{t.stopPropagation(),this.handleLineChange(),this.onInput.emit({value:t.target.value,cursor:t.target.value.length})},this.handleFocus=t=>{this.onFocus.emit({value:t.target.value})},this.handleBlur=t=>{this.onBlur.emit({value:t.target.value})},this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:t.target.value})},this.handleLineChange=()=>{const t=this.getNumberOfLines();t!==this.line&&(this.line=t,this.onLineChange.emit({height:this.textareaRef.clientHeight,lineCount:this.line}))},this.calculateContentHeight=(t,e)=>{let i=t.style.height,h=t.offsetHeight,s=t.scrollHeight,a=t.style.overflow,o=t.style.minHeight||null;if(!(h>=s))return s;if(t.style.minHeight=0,t.style.height=h+e+"px",t.style.overflow="hidden",s<t.scrollHeight){for(;t.offsetHeight>=t.scrollHeight;)t.style.height=(h-=e)+"px";for(;t.offsetHeight<t.scrollHeight;)t.style.height=h+++"px";return t.style.height=i,t.style.overflow=a,t.style.minHeight=o,h}},this.getNumberOfLines=()=>{const t=this.textareaRef,e=window.getComputedStyle?window.getComputedStyle(t):t.style,i=parseInt(e.lineHeight,10),h=this.calculateContentHeight(t,i);return Math.floor(h/i)}}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.textareaRef.value,set:t=>this.value=t,configurable:!0}),this.autoFocus&&this.textareaRef.focus()}render(){const{value:t,placeholder:e,disabled:h,maxlength:a,autoFocus:o,autoHeight:n,name:r,nativeProps:l,handleInput:u,handleFocus:c,handleBlur:p,handleChange:d}=this,g={};return n&&(g.rows=this.line),i("textarea",Object.assign({ref:t=>{t&&(this.textareaRef=t)},class:"taro-textarea "+(n?"auto-height":""),value:s(t),placeholder:e,name:r,disabled:h,maxlength:a,autofocus:o,onInput:u,onFocus:c,onBlur:p,onChange:d},l,g))}get el(){return h(this)}};a.style="taro-textarea-core{display:block;width:300px}taro-textarea-core .auto-height{height:auto}.taro-textarea{display:block;position:relative;border:0;width:100%;height:150px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto;line-height:1.5}.taro-textarea:focus{outline:none}";export{a as taro_textarea_core}
@@ -0,0 +1 @@
1
+ System.register(["./p-44996bd6.system.js"],(function(t){"use strict";var r,e,n;return{setters:[function(t){r=t.r;e=t.h;n=t.H}],execute:function(){var o=t("taro_camera_core",function(){function t(t){r(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 Camera 组件!")};t.prototype.render=function(){return e(n,null)};return t}())}}}));
@@ -0,0 +1 @@
1
+ import{r as s,c as e,h as t,H as a}from"./p-8c7cf814.js";import r from"@tarojs/taro";import{c as i}from"./p-7e5d2d7a.js";let o=class{constructor(t){s(this,t),this.onSuccess=e(this,"cuccess",7),this.onFail=e(this,"fail",7),this.onComplete=e(this,"Complete",7),this.openType="navigate",this.isHover=!1,this.delta=0}onClick(){const{openType:s,onSuccess:e,onFail:t,onComplete:a}=this;let i=Promise.resolve();switch(s){case"navigate":i=r.navigateTo({url:this.url});break;case"redirect":i=r.redirectTo({url:this.url});break;case"switchTab":i=r.switchTab({url:this.url});break;case"reLaunch":i=r.reLaunch({url:this.url});break;case"navigateBack":i=r.navigateBack({delta:this.delta});break;case"exit":i=Promise.reject(new Error('navigator:fail 暂不支持"openType: exit"'))}i&&i.then((s=>{e.emit(s)})).catch((s=>{t.emit(s)})).finally((()=>{a.emit()}))}render(){const{isHover:s,hoverClass:e}=this;return t(a,{class:i({[e]:s})})}};o.style=".navigator-hover{background:#efefef}";export{o as taro_navigator_core}
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,H as e,g as r}from"./p-8c7cf814.js";import h from"@tarojs/taro";import{c as a}from"./p-7e5d2d7a.js";const n="undefined"!=typeof navigator&&/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),o={activate:"release",deactivate:"pull",release:"loading",finish:"finish"};let l=!1;try{const t=Object.defineProperty({},"passive",{get(){l=!0}});window.addEventListener("cancel",(()=>({})),t)}catch(t){}const c=!!l&&{passive:!1};let d=class{constructor(s){t(this,s),this.onRefresh=i(this,"refresh",7),this.prefixCls="rmc-pull-to-refresh",this.distanceToRefresh=50,this.damping=100,this.indicator=o,this.currSt="deactivate",this.dragOnEdge=!1,this._ScreenY=0,this._startScreenY=0,this._lastScreenY=0,this._isMounted=!1,this.triggerPullDownRefresh=t=>{!this.dragOnEdge&&this._isMounted&&(t?(this._lastScreenY=this.distanceToRefresh+1,this.currSt="release",this.setContentStyle(this._lastScreenY)):(this.currSt="finish",this.reset()))},this.init=()=>{const t=this.scrollContainer,i=this.el.querySelector("rmc-pull-to-refresh-content");this.el.appendChild=null==i?void 0:i.appendChild.bind(i),this.el.insertBefore=null==i?void 0:i.insertBefore.bind(i),this.el.replaceChild=null==i?void 0:i.replaceChild.bind(i),this.el.removeChild=null==i?void 0:i.removeChild.bind(i),this._to={touchstart:this.onTouchStart.bind(this,t),touchmove:this.onTouchMove.bind(this,t),touchend:this.onTouchEnd.bind(this,t),touchcancel:this.onTouchEnd.bind(this,t)},Object.keys(this._to).forEach((i=>{t.addEventListener(i,this._to[i],c)}))},this.destroy=()=>{const t=this.scrollContainer;Object.keys(this._to).forEach((i=>{t.removeEventListener(i,this._to[i])}))},this.onTouchStart=(t,i)=>{this._ScreenY=this._startScreenY=i.touches[0].screenY,this._lastScreenY=this._lastScreenY||0},this.isEdge=t=>{const i=this.scrollContainer;return i&&i===document.body?(document.scrollingElement?document.scrollingElement:document.body).scrollTop<=0:t.scrollTop<=0},this.damp=t=>Math.abs(this._lastScreenY)>this.damping?0:t*(.6*(1-Math.abs(this._ScreenY-this._startScreenY)/window.screen.height)),this.onTouchMove=(t,i)=>{const s=i.touches[0].screenY;if(!(this._startScreenY>s)&&this.isEdge(t)){this.dragOnEdge||(this._ScreenY=this._startScreenY=i.touches[0].screenY,this.dragOnEdge=!0),i.cancelable&&i.preventDefault();const t=Math.round(s-this._ScreenY);this._ScreenY=s,this._lastScreenY+=this.damp(t),this.setContentStyle(this._lastScreenY),Math.abs(this._lastScreenY)<this.distanceToRefresh?"deactivate"!==this.currSt&&(this.currSt="deactivate"):"deactivate"===this.currSt&&(this.currSt="activate"),n&&i.changedTouches[0].clientY<0&&this.onTouchEnd()}},this.onTouchEnd=()=>{this.dragOnEdge&&(this.dragOnEdge=!1),"activate"===this.currSt?(this.currSt="release",this.onRefresh.emit(this),this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):"release"===this.currSt?(this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):this.reset()},this.reset=()=>{this._lastScreenY=0,this.setContentStyle(0)},this.setContentStyle=t=>{var i,s;this.contentRef&&((i=this.contentRef.style).transform=s=t?`translate3d(0px,${t}px,0)`:"",i.webkitTransform=s,i.MozTransform=s)}}get scrollContainer(){return this.el.parentElement||document.querySelector(".taro_page_stationed")||document.querySelector(".taro_page")||document.querySelector(".taro_router")||document.querySelector(".taro-tabbar__panel")||document.body}statusChange(){if("release"===this.currSt){const t=this.el.closest(".taro_page");t&&t.__page&&t.__page.onPullDownRefresh()}}disconnectedCallback(){this.destroy()}componentDidLoad(){this.init(),this._isMounted=!0,h.eventCenter.on("__taroStartPullDownRefresh",(({successHandler:t,errorHandler:i})=>{try{this.triggerPullDownRefresh(!0),t({errMsg:"startPullDownRefresh: ok"})}catch(t){i({errMsg:"startPullDownRefresh: fail"})}})),h.eventCenter.on("__taroStopPullDownRefresh",(({successHandler:t,errorHandler:i})=>{try{this.triggerPullDownRefresh(!1),t({errMsg:"stopPullDownRefresh: ok"})}catch(t){i({errMsg:"stopPullDownRefresh: fail"})}}))}render(){const t=t=>{const{currSt:i,dragOnEdge:e,prefixCls:r}=this,h=a(t,!e&&`${r}-transition`);return s("div",{class:`${r}-content-wrapper`},s("div",{class:h,ref:t=>{this.contentRef=t}},("activate"===i||"release"===i)&&s("div",{class:`${r}-indicator`},s("div",null),s("div",null),s("div",null)),s("slot",null)))};return this.scrollContainer?t(`${this.prefixCls}-content ${this.prefixCls}-down`):s(e,{class:a(this.prefixCls,`${this.prefixCls}-down`)},t(`${this.prefixCls}-content`))}get el(){return r(this)}static get watchers(){return{currSt:["statusChange"]}}};d.style=".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}";export{d as taro_pull_to_refresh}
@@ -0,0 +1 @@
1
+ import{r as e,h as o,H as r}from"./p-8c7cf814.js";let t=class{constructor(o){e(this,o)}componentDidLoad(){console.error("H5 暂不支持 PageMeta 组件!")}render(){return o(r,null)}};export{t as taro_page_meta_core}
@@ -1 +1 @@
1
- System.register(["./p-0674e57b.system.js","./p-5f4d0d5b.system.js"],(function(t){"use strict";var i,e,o,s,n;return{setters:[function(t){i=t.r;e=t.c;o=t.h;s=t.H},function(t){n=t.c}],execute:function(){var r="taro-cover-view-core{display:block}";var a=t("taro_cover_view_core",function(){function t(t){i(this,t);this.onLongPress=e(this,"longpress",7);this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false;this.startTime=0}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var i=Date.now()-this.startTime;if(i<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.render=function(){var t;var i=n((t={},t["".concat(this.hoverClass)]=this.hover,t));var e={};if(!!this.animation){e["animation"]=this.animation;e["data-animation"]=this.animation}return o(s,Object.assign({class:i},e),o("slot",null))};return t}());a.style=r}}}));
1
+ System.register(["./p-44996bd6.system.js","./p-5f4d0d5b.system.js"],(function(t){"use strict";var i,e,o,s,n;return{setters:[function(t){i=t.r;e=t.c;o=t.h;s=t.H},function(t){n=t.c}],execute:function(){var r="taro-cover-view-core{display:block}";var h=t("taro_cover_view_core",function(){function t(t){i(this,t);this.onLongPress=e(this,"longpress",7);this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false;this.startTime=0}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var i=Date.now()-this.startTime;if(i<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.render=function(){var t;var i=n((t={},t[""+this.hoverClass]=this.hover,t));var e={};if(!!this.animation){e["animation"]=this.animation;e["data-animation"]=this.animation}return o(s,Object.assign({class:i},e),o("slot",null))};return t}());h.style=r}}}));
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(r,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n))e[n]=r[n]};return e(r,n)};return function(r,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(r,n);function t(){this.constructor=r}r.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(e,r,n,t){function a(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,i){function l(e){try{s(t.next(e))}catch(e){i(e)}}function o(e){try{s(t["throw"](e))}catch(e){i(e)}}function s(e){e.done?n(e.value):a(e.value).then(l,o)}s((t=t.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,a,i,l;return l={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(e){return function(r){return s([e,r])}}function s(l){if(t)throw new TypeError("Generator is already executing.");while(n)try{if(t=1,a&&(i=l[0]&2?a["return"]:l[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;if(a=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;a=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){n.label=l[1];break}if(l[0]===6&&n.label<i[1]){n.label=i[1];i=l;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(l);break}if(i[2])n.ops.pop();n.trys.pop();continue}l=r.call(e,n)}catch(e){l=[6,e];a=0}finally{t=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r){for(var n=0,t=r.length,a=e.length;n<t;n++,a++)e[a]=r[n];return e};System.register([],(function(e,r){"use strict";return{execute:function(){var n=this;var t="taro-components";var a;var i;var l=false;var o=false;var s=false;var f=false;var $=false;var u=typeof window!=="undefined"?window:{};var c=u.document||{head:{}};var v={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,n,t){return e.addEventListener(r,n,t)},rel:function(e,r,n,t){return e.removeEventListener(r,n,t)},ce:function(e,r){return new CustomEvent(e,r)}};var d=e("p",(function(e){return Promise.resolve(e)}));var p=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var h=function(e,r,n,t){if(n){n.map((function(n){var t=n[0],a=n[1],i=n[2];var l=g(e,t);var o=m(r,i);var s=y(t);v.ael(l,a,o,s);(r.$rmListeners$=r.$rmListeners$||[]).push((function(){return v.rel(l,a,o,s)}))}))}};var m=function(e,r){return function(n){try{{if(e.$flags$&256){e.$lazyInstance$[r](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([r,n])}}}catch(e){Ee(e)}}};var g=function(e,r){if(r&4)return c;return e};var y=function(e){return(e&2)!==0};var b="{visibility:hidden}.hydrated{visibility:inherit}";var w="http://www.w3.org/1999/xlink";var N=function(e,r){if(r===void 0){r=""}{return function(){return}}};var _=function(e,r){{return function(){return}}};var R=new WeakMap;var k=function(e,r,n){var t=je.get(e);if(p&&n){t=t||new CSSStyleSheet;t.replace(r)}else{t=r}je.set(e,t)};var S=function(e,r,n,t){var a=T(r);var i=je.get(a);e=e.nodeType===11?e:c;if(i){if(typeof i==="string"){e=e.head||e;var l=R.get(e);var o=void 0;if(!l){R.set(e,l=new Set)}if(!l.has(a)){{{o=c.createElement("style");o.innerHTML=i}e.insertBefore(o,e.querySelector("link"))}if(l){l.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[i])}}return a};var x=function(e){var r=e.$cmpMeta$;var n=e.$hostElement$;var t=N("attachStyles",r.$tagName$);S(n.getRootNode(),r);t()};var T=function(e,r){return"sc-"+e.$tagName$};var C={};var E=function(e){e=typeof e;return e==="object"||e==="function"};var L=e("h",(function(e,r){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var a=null;var i=null;var l=null;var o=false;var s=false;var f=[];var $=function(r){for(var n=0;n<r.length;n++){a=r[n];if(Array.isArray(a)){$(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!E(a)){a=String(a)}if(o&&s){f[f.length-1].$text$+=a}else{f.push(o?P(null,a):a)}s=o}}};$(n);if(r){if(r.key){i=r.key}if(r.name){l=r.name}{var u=r.className||r.class;if(u){r.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}if(typeof e==="function"){return e(r===null?{}:r,f,M)}var c=P(e,null);c.$attrs$=r;if(f.length>0){c.$children$=f}{c.$key$=i}{c.$name$=l}return c}));var P=function(e,r){var n={$flags$:0,$tag$:e,$text$:r,$elm$:null,$children$:null};{n.$attrs$=null}{n.$key$=null}{n.$name$=null}return n};var j=e("H",{});var A=function(e){return e&&e.$tag$===j};var M={forEach:function(e,r){return e.map(O).forEach(r)},map:function(e,r){return e.map(O).map(r).map(I)}};var O=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var I=function(e){if(typeof e.vtag==="function"){var r=Object.assign({},e.vattrs);if(e.vkey){r.key=e.vkey}if(e.vname){r.name=e.vname}return L.apply(void 0,__spreadArray([e.vtag,r],e.vchildren||[]))}var n=P(e.vtag,e.vtext);n.$attrs$=e.vattrs;n.$children$=e.vchildren;n.$key$=e.vkey;n.$name$=e.vname;return n};var B=function(e,r,n,t,a,i){if(n!==t){var l=Ce(e,r);var o=r.toLowerCase();if(r==="class"){var s=e.classList;var f=U(n);var $=U(t);s.remove.apply(s,f.filter((function(e){return e&&!$.includes(e)})));s.add.apply(s,$.filter((function(e){return e&&!f.includes(e)})))}else if(r==="style"){{for(var c in n){if(!t||t[c]==null){if(c.includes("-")){e.style.removeProperty(c)}else{e.style[c]=""}}}}for(var c in t){if(!n||t[c]!==n[c]){if(c.includes("-")){e.style.setProperty(c,t[c])}else{e.style[c]=t[c]}}}}else if(r==="key");else if(r==="ref"){if(t){t(e)}}else if(!l&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"){r=r.slice(3)}else if(Ce(u,o)){r=o.slice(2)}else{r=o[2]+r.slice(3)}if(n){v.rel(e,r,n,false)}if(t){v.ael(e,r,t,false)}}else{var d=E(t);if((l||d&&t!==null)&&!a){try{if(!e.tagName.includes("-")){var p=t==null?"":t;if(r==="list"){l=false}else if(n==null||e[r]!=p){e[r]=p}}else{e[r]=t}}catch(e){}}var h=false;{if(o!==(o=o.replace(/^xlink\:?/,""))){r=o;h=true}}if(t==null||t===false){if(t!==false||e.getAttribute(r)===""){if(h){e.removeAttributeNS(w,r)}else{e.removeAttribute(r)}}}else if((!l||i&4||a)&&!d){t=t===true?"":t;if(h){e.setAttributeNS(w,r,t)}else{e.setAttribute(r,t)}}}}};var z=/\s/;var U=function(e){return!e?[]:e.split(z)};var q=function(e,r,n,t){var a=r.$elm$.nodeType===11&&r.$elm$.host?r.$elm$.host:r.$elm$;var i=e&&e.$attrs$||C;var l=r.$attrs$||C;{for(t in i){if(!(t in l)){B(a,t,i[t],undefined,n,r.$flags$)}}}for(t in l){B(a,t,i[t],l[t],n,r.$flags$)}};var H=function(e,r,n,t){var o=r.$children$[n];var $=0;var u;var v;var d;if(!l){s=true;if(o.$tag$==="slot"){o.$flags$|=o.$children$?2:1}}if(o.$text$!==null){u=o.$elm$=c.createTextNode(o.$text$)}else if(o.$flags$&1){u=o.$elm$=c.createTextNode("")}else{u=o.$elm$=c.createElement(o.$flags$&2?"slot-fb":o.$tag$);{q(null,o,f)}if(o.$children$){for($=0;$<o.$children$.length;++$){v=H(e,o,$);if(v){u.appendChild(v)}}}}{u["s-hn"]=i;if(o.$flags$&(2|1)){u["s-sr"]=true;u["s-cr"]=a;u["s-sn"]=o.$name$||"";d=e&&e.$children$&&e.$children$[n];if(d&&d.$tag$===o.$tag$&&e.$elm$){V(e.$elm$,false)}}}return u};var V=function(e,r){v.$flags$|=1;var n=e.childNodes;for(var t=n.length-1;t>=0;t--){var a=n[t];if(a["s-hn"]!==i&&a["s-ol"]){K(a).insertBefore(a,J(a));a["s-ol"].remove();a["s-ol"]=undefined;s=true}if(r){V(a,r)}}v.$flags$&=~1};var W=function(e,r,n,t,a,i){var l=e["s-cr"]&&e["s-cr"].parentNode||e;var o;for(;a<=i;++a){if(t[a]){o=H(null,n,a);if(o){t[a].$elm$=o;l.insertBefore(o,J(r))}}}};var D=function(e,r,n,t,a){for(;r<=n;++r){if(t=e[r]){a=t.$elm$;re(t);{o=true;if(a["s-ol"]){a["s-ol"].remove()}else{V(a,true)}}a.remove()}}};var F=function(e,r,n,t){var a=0;var i=0;var l=0;var o=0;var s=r.length-1;var f=r[0];var $=r[s];var u=t.length-1;var c=t[0];var v=t[u];var d;var p;while(a<=s&&i<=u){if(f==null){f=r[++a]}else if($==null){$=r[--s]}else if(c==null){c=t[++i]}else if(v==null){v=t[--u]}else if(G(f,c)){Q(f,c);f=r[++a];c=t[++i]}else if(G($,v)){Q($,v);$=r[--s];v=t[--u]}else if(G(f,v)){if(f.$tag$==="slot"||v.$tag$==="slot"){V(f.$elm$.parentNode,false)}Q(f,v);e.insertBefore(f.$elm$,$.$elm$.nextSibling);f=r[++a];v=t[--u]}else if(G($,c)){if(f.$tag$==="slot"||v.$tag$==="slot"){V($.$elm$.parentNode,false)}Q($,c);e.insertBefore($.$elm$,f.$elm$);$=r[--s];c=t[++i]}else{l=-1;{for(o=a;o<=s;++o){if(r[o]&&r[o].$key$!==null&&r[o].$key$===c.$key$){l=o;break}}}if(l>=0){p=r[l];if(p.$tag$!==c.$tag$){d=H(r&&r[i],n,l)}else{Q(p,c);r[l]=undefined;d=p.$elm$}c=t[++i]}else{d=H(r&&r[i],n,i);c=t[++i]}if(d){{K(f.$elm$).insertBefore(d,J(f.$elm$))}}}}if(a>s){W(e,t[u+1]==null?null:t[u+1].$elm$,n,t,i,u)}else if(i>u){D(r,a,s)}};var G=function(e,r){if(e.$tag$===r.$tag$){if(e.$tag$==="slot"){return e.$name$===r.$name$}{return e.$key$===r.$key$}}return false};var J=function(e){return e&&e["s-ol"]||e};var K=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var Q=function(e,r){var n=r.$elm$=e.$elm$;var t=e.$children$;var a=r.$children$;var i=r.$tag$;var l=r.$text$;var o;if(l===null){{if(i==="slot");else{q(e,r,f)}}if(t!==null&&a!==null){F(n,t,r,a)}else if(a!==null){if(e.$text$!==null){n.textContent=""}W(n,null,r,a,0,a.length-1)}else if(t!==null){D(t,0,t.length-1)}}else if(o=n["s-cr"]){o.parentNode.textContent=l}else if(e.$text$!==l){n.data=l}};var X=function(e){var r=e.childNodes;var n;var t;var a;var i;var l;var o;for(t=0,a=r.length;t<a;t++){n=r[t];if(n.nodeType===1){if(n["s-sr"]){l=n["s-sn"];n.hidden=false;for(i=0;i<a;i++){o=r[i].nodeType;if(r[i]["s-hn"]!==n["s-hn"]||l!==""){if(o===1&&l===r[i].getAttribute("slot")){n.hidden=true;break}}else{if(o===1||o===3&&r[i].textContent.trim()!==""){n.hidden=true;break}}}}X(n)}}};var Y=[];var Z=function(e){var r;var n;var t;var a;var i;var l;var s=0;var f=e.childNodes;var $=f.length;for(;s<$;s++){r=f[s];if(r["s-sr"]&&(n=r["s-cr"])&&n.parentNode){t=n.parentNode.childNodes;a=r["s-sn"];for(l=t.length-1;l>=0;l--){n=t[l];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==r["s-hn"]){if(ee(n,a)){i=Y.find((function(e){return e.$nodeToRelocate$===n}));o=true;n["s-sn"]=n["s-sn"]||a;if(i){i.$slotRefNode$=r}else{Y.push({$slotRefNode$:r,$nodeToRelocate$:n})}if(n["s-sr"]){Y.map((function(e){if(ee(e.$nodeToRelocate$,n["s-sn"])){i=Y.find((function(e){return e.$nodeToRelocate$===n}));if(i&&!e.$slotRefNode$){e.$slotRefNode$=i.$slotRefNode$}}}))}}else if(!Y.some((function(e){return e.$nodeToRelocate$===n}))){Y.push({$nodeToRelocate$:n})}}}}if(r.nodeType===1){Z(r)}}};var ee=function(e,r){if(e.nodeType===1){if(e.getAttribute("slot")===null&&r===""){return true}if(e.getAttribute("slot")===r){return true}return false}if(e["s-sn"]===r){return true}return r===""};var re=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(re)}};var ne=function(e,r){var n=e.$hostElement$;var t=e.$cmpMeta$;var f=e.$vnode$||P(null,null);var $=A(r)?r:L(null,null,r);i=n.tagName;$.$tag$=null;$.$flags$|=4;e.$vnode$=$;$.$elm$=f.$elm$=n;{a=n["s-cr"];l=(t.$flags$&1)!==0;o=false}Q(f,$);{v.$flags$|=1;if(s){Z($.$elm$);var u=void 0;var d=void 0;var p=void 0;var h=void 0;var m=void 0;var g=void 0;var y=0;for(;y<Y.length;y++){u=Y[y];d=u.$nodeToRelocate$;if(!d["s-ol"]){p=c.createTextNode("");p["s-nr"]=d;d.parentNode.insertBefore(d["s-ol"]=p,d)}}for(y=0;y<Y.length;y++){u=Y[y];d=u.$nodeToRelocate$;if(u.$slotRefNode$){h=u.$slotRefNode$.parentNode;m=u.$slotRefNode$.nextSibling;p=d["s-ol"];while(p=p.previousSibling){g=p["s-nr"];if(g&&g["s-sn"]===d["s-sn"]&&h===g.parentNode){g=g.nextSibling;if(!g||!g["s-nr"]){m=g;break}}}if(!m&&h!==d.parentNode||d.nextSibling!==m){if(d!==m){if(!d["s-hn"]&&d["s-ol"]){d["s-hn"]=d["s-ol"].parentNode.nodeName}h.insertBefore(d,m)}}}else{if(d.nodeType===1){d.hidden=true}}}}if(o){X($.$elm$)}v.$flags$&=~1;Y.length=0}};var te=e("g",(function(e){return Se(e).$hostElement$}));var ae=e("c",(function(e,r,n){var t=te(e);return{emit:function(e){return ie(t,r,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}}));var ie=function(e,r,n){var t=v.ce(r,n);e.dispatchEvent(t);return t};var le=function(e,r){if(r&&!e.$onRenderResolve$&&r["s-p"]){r["s-p"].push(new Promise((function(r){return e.$onRenderResolve$=r})))}};var oe=function(e,r){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}le(e,e.$ancestorComponent$);var n=function(){return se(e,r)};return Ue(n)};var se=function(e,r){var n=N("scheduleUpdate",e.$cmpMeta$.$tagName$);var t=e.$lazyInstance$;var a;if(r){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var r=e[0],n=e[1];return ve(t,r,n)}));e.$queuedListeners$=null}}{a=ve(t,"componentWillLoad")}}else{{a=ve(t,"componentWillUpdate")}}n();return de(a,(function(){return fe(e,t,r)}))};var fe=function(e,r,t){return __awaiter(n,void 0,void 0,(function(){var n,a,i,l,o,s;return __generator(this,(function(f){n=e.$hostElement$;a=N("update",e.$cmpMeta$.$tagName$);i=n["s-rc"];if(t){x(e)}l=N("render",e.$cmpMeta$.$tagName$);{$e(e,r)}if(i){i.map((function(e){return e()}));n["s-rc"]=undefined}l();a();{o=n["s-p"];s=function(){return ue(e)};if(o.length===0){s()}else{Promise.all(o).then(s);e.$flags$|=4;o.length=0}}return[2]}))}))};var $e=function(e,r,n){try{r=r.render();{e.$flags$&=~16}{e.$flags$|=2}{{{ne(e,r)}}}}catch(r){Ee(r,e.$hostElement$)}return null};var ue=function(e){var r=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var t=N("postUpdate",r);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;{ve(a,"componentDidRender")}if(!(e.$flags$&64)){e.$flags$|=64;{pe(n)}{ve(a,"componentDidLoad")}t();{e.$onReadyResolve$(n);if(!i){ce()}}}else{{ve(a,"componentDidUpdate")}t()}{e.$onInstanceResolve$(n)}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){ze((function(){return oe(e,false)}))}e.$flags$&=~(4|512)}};var ce=function(e){{pe(c.documentElement)}ze((function(){return ie(u,"appload",{detail:{namespace:t}})}))};var ve=function(e,r,n){if(e&&e[r]){try{return e[r](n)}catch(e){Ee(e)}}return undefined};var de=function(e,r){return e&&e.then?e.then(r):r()};var pe=function(e){return e.classList.add("hydrated")};var he=function(e,r){if(e!=null&&!E(e)){if(r&4){return e==="false"?false:e===""||!!e}if(r&2){return parseFloat(e)}if(r&1){return String(e)}return e}return e};var me=function(e,r){return Se(e).$instanceValues$.get(r)};var ge=function(e,r,n,t){var a=Se(e);var i=a.$hostElement$;var l=a.$instanceValues$.get(r);var o=a.$flags$;var s=a.$lazyInstance$;n=he(n,t.$members$[r][0]);if((!(o&8)||l===undefined)&&n!==l){a.$instanceValues$.set(r,n);if(s){if(t.$watchers$&&o&128){var f=t.$watchers$[r];if(f){f.map((function(e){try{s[e](n,l,r)}catch(e){Ee(e,i)}}))}}if((o&(2|16))===2){oe(a,false)}}}};var ye=function(e,r,n){if(r.$members$){if(e.watchers){r.$watchers$=e.watchers}var t=Object.entries(r.$members$);var a=e.prototype;t.map((function(e){var t=e[0],i=e[1][0];if(i&31||n&2&&i&32){Object.defineProperty(a,t,{get:function(){return me(this,t)},set:function(e){ge(this,t,e,r)},configurable:true,enumerable:true})}else if(n&1&&i&64){Object.defineProperty(a,t,{value:function(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var n=Se(this);return n.$onInstancePromise$.then((function(){var r;return(r=n.$lazyInstance$)[t].apply(r,e)}))}})}}));if(n&1){var i=new Map;a.attributeChangedCallback=function(e,r,n){var t=this;v.jmp((function(){var r=i.get(e);if(t.hasOwnProperty(r)){n=t[r];delete t[r]}else if(a.hasOwnProperty(r)&&typeof t[r]==="number"&&t[r]==n){return}t[r]=n===null&&typeof t[r]==="boolean"?false:n}))};e.observedAttributes=t.filter((function(e){var r=e[0],n=e[1];return n[0]&15})).map((function(e){var r=e[0],n=e[1];var t=n[1]||r;i.set(t,r);return t}))}}return e};var be=function(e,r,t,a,i){return __awaiter(n,void 0,void 0,(function(){var e,n,a,l,o,s,f;return __generator(this,(function($){switch($.label){case 0:if(!((r.$flags$&32)===0))return[3,3];r.$flags$|=32;i=Pe(t);if(!i.then)return[3,2];e=_();return[4,i];case 1:i=$.sent();e();$.label=2;case 2:if(!i.isProxied){{t.$watchers$=i.watchers}ye(i,t,2);i.isProxied=true}n=N("createInstance",t.$tagName$);{r.$flags$|=8}try{new i(r)}catch(e){Ee(e)}{r.$flags$&=~8}{r.$flags$|=128}n();if(i.style){a=i.style;l=T(t);if(!je.has(l)){o=N("registerStyles",t.$tagName$);k(l,a,!!(t.$flags$&1));o()}}$.label=3;case 3:s=r.$ancestorComponent$;f=function(){return oe(r,true)};if(s&&s["s-rc"]){s["s-rc"].push(f)}else{f()}return[2]}}))}))};var we=function(e){if((v.$flags$&1)===0){var r=Se(e);var n=r.$cmpMeta$;var t=N("connectedCallback",n.$tagName$);if(!(r.$flags$&1)){r.$flags$|=1;{if(n.$flags$&(4|8)){Ne(e)}}{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){le(r,r.$ancestorComponent$=a);break}}}if(n.$members$){Object.entries(n.$members$).map((function(r){var n=r[0],t=r[1][0];if(t&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{be(e,r,n)}}else{h(e,r,n.$listeners$)}t()}};var Ne=function(e){var r=e["s-cr"]=c.createComment("");r["s-cn"]=true;e.insertBefore(r,e.firstChild)};var _e=function(e){if((v.$flags$&1)===0){var r=Se(e);var n=r.$lazyInstance$;{if(r.$rmListeners$){r.$rmListeners$.map((function(e){return e()}));r.$rmListeners$=undefined}}{ve(n,"disconnectedCallback")}}};var Re=e("b",(function(e,r){if(r===void 0){r={}}var n=N();var t=[];var a=r.exclude||[];var i=u.customElements;var l=c.head;var o=l.querySelector("meta[charset]");var s=c.createElement("style");var f=[];var $;var d=true;Object.assign(v,r);v.$resourcesUrl$=new URL(r.resourcesUrl||"./",c.baseURI).href;e.map((function(e){e[1].map((function(r){var n={$flags$:r[0],$tagName$:r[1],$members$:r[2],$listeners$:r[3]};{n.$members$=r[2]}{n.$listeners$=r[3]}{n.$watchers$={}}var l=n.$tagName$;var o=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;r=t;Te(r,n);return t}r.prototype.connectedCallback=function(){var e=this;if($){clearTimeout($);$=null}if(d){f.push(this)}else{v.jmp((function(){return we(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;v.jmp((function(){return _e(e)}))};r.prototype.componentOnReady=function(){return Se(this).$onReadyPromise$};return r}(HTMLElement);n.$lazyBundleId$=e[0];if(!a.includes(l)&&!i.get(l)){t.push(l);i.define(l,ye(o,n,1))}}))}));{s.innerHTML=t+b;s.setAttribute("data-styles","");l.insertBefore(s,o?o.nextSibling:l.firstChild)}d=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{v.jmp((function(){return $=setTimeout(ce,30)}))}}n()}));var ke=new WeakMap;var Se=function(e){return ke.get(e)};var xe=e("r",(function(e,r){return ke.set(r.$lazyInstance$=e,r)}));var Te=function(e,r){var n={$flags$:0,$hostElement$:e,$cmpMeta$:r,$instanceValues$:new Map};{n.$onInstancePromise$=new Promise((function(e){return n.$onInstanceResolve$=e}))}{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}h(e,n,r.$listeners$);return ke.set(e,n)};var Ce=function(e,r){return r in e};var Ee=function(e,r){return(0,console.error)(e,r)};var Le=new Map;var Pe=function(e,n,t){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var l=Le.get(i);if(l){return l[a]}return r.import("./"+i+".entry.js"+"").then((function(e){{Le.set(i,e)}return e[a]}),Ee)};var je=new Map;var Ae=[];var Me=[];var Oe=function(e,r){return function(n){e.push(n);if(!$){$=true;if(r&&v.$flags$&4){ze(Be)}else{v.raf(Be)}}}};var Ie=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){Ee(e)}}e.length=0};var Be=function(){Ie(Ae);{Ie(Me);if($=Ae.length>0){v.raf(Be)}}};var ze=function(e){return d().then(e)};var Ue=Oe(Me,true)}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-44996bd6.system.js"],(function(t){"use strict";var n,r,e;return{setters:[function(t){n=t.r;r=t.h;e=t.H}],execute:function(){var o=t("taro_map_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 Map 组件!")};t.prototype.render=function(){return r(e,null)};return t}())}}}));
@@ -1 +1 @@
1
- System.register(["./p-0674e57b.system.js"],(function(t){"use strict";var e,n,r;return{setters:[function(t){e=t.r;n=t.h;r=t.H}],execute:function(){var o=t("taro_match_media_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 MatchMedia 组件!")};t.prototype.render=function(){return n(r,null)};return t}())}}}));
1
+ System.register(["./p-44996bd6.system.js"],(function(t){"use strict";var e,n,r;return{setters:[function(t){e=t.r;n=t.h;r=t.H}],execute:function(){var o=t("taro_match_media_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 MatchMedia 组件!")};t.prototype.render=function(){return n(r,null)};return t}())}}}));