@tarojs/components 3.5.0-canary.1 → 3.5.0

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 (462) hide show
  1. package/README.md +2 -0
  2. package/dist/cjs/{index-dd4b7ba3.js → index-13289aba.js} +62 -53
  3. package/dist/cjs/index-47a1959e.js +34 -0
  4. package/dist/{esm/index-3c78bcaf.js → cjs/index-f9d21cc5.js} +12 -1
  5. package/dist/cjs/loader.cjs.js +3 -3
  6. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  7. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  10. package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
  11. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
  13. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
  14. package/dist/cjs/taro-components.cjs.js +3 -3
  15. package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
  16. package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
  17. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  18. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  20. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  21. package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
  22. package/dist/cjs/taro-image-core.cjs.entry.js +3 -3
  23. package/dist/cjs/taro-input-core.cjs.entry.js +23 -19
  24. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  25. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-movable-area-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-movable-view-core.cjs.entry.js +1 -1
  32. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  33. package/dist/cjs/taro-navigator-core.cjs.entry.js +4 -4
  34. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  35. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  36. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  37. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
  39. package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +80 -4
  40. package/dist/cjs/taro-picker-view-core.cjs.entry.js +72 -3
  41. package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +24 -10
  43. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  44. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  45. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +6 -14
  46. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  49. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +15 -18
  50. package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-tabbar.cjs.entry.js +41 -40
  52. package/dist/cjs/taro-text-core.cjs.entry.js +3 -3
  53. package/dist/cjs/taro-textarea-core.cjs.entry.js +5 -3
  54. package/dist/cjs/taro-video-control_3.cjs.entry.js +27868 -224
  55. package/dist/cjs/taro-view-core.cjs.entry.js +5 -5
  56. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  57. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  58. package/dist/collection/collection-manifest.json +2 -2
  59. package/dist/collection/components/button/style/index.css +49 -49
  60. package/dist/collection/components/canvas/canvas.js +1 -1
  61. package/dist/collection/components/canvas/style/index.css +6 -6
  62. package/dist/collection/components/checkbox/style/index.css +21 -23
  63. package/dist/collection/components/image/image.js +1 -1
  64. package/dist/collection/components/image/style/index.css +7 -4
  65. package/dist/collection/components/input/index.css +2 -2
  66. package/dist/collection/components/input/input.js +23 -22
  67. package/dist/collection/components/navigator/navigator.js +2 -2
  68. package/dist/collection/components/navigator/{navigator.css → style/index.css} +3 -3
  69. package/dist/collection/components/picker/style/index.css +2 -1
  70. package/dist/collection/components/picker-view/picker-view-column.js +218 -4
  71. package/dist/collection/components/picker-view/picker-view.js +217 -3
  72. package/dist/collection/components/picker-view/style/column.css +12 -0
  73. package/dist/collection/components/picker-view/style/index.css +28 -0
  74. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +22 -8
  75. package/dist/collection/components/pull-to-refresh/style/index.css +53 -49
  76. package/dist/collection/components/rich-text/rich-text.js +1 -1
  77. package/dist/collection/components/scroll-view/scroll-view.js +3 -11
  78. package/dist/collection/components/swiper/style/index.css +21 -9
  79. package/dist/collection/components/swiper/swiper.js +10 -13
  80. package/dist/collection/components/tabbar/style/index.css +9 -6
  81. package/dist/collection/components/tabbar/tabbar.js +10 -15
  82. package/dist/collection/components/text/style/index.css +0 -6
  83. package/dist/collection/components/textarea/style/index.css +5 -5
  84. package/dist/collection/components/textarea/textarea.js +3 -1
  85. package/dist/collection/components/video/style/index.css +88 -109
  86. package/dist/collection/components/video/utils.js +95 -109
  87. package/dist/collection/components/video/video-control.js +9 -9
  88. package/dist/collection/components/video/video.js +57 -9
  89. package/dist/collection/components/view/style/index.css +3 -5
  90. package/dist/collection/components/view/view.js +2 -2
  91. package/dist/collection/components/web-view/style/index.css +1 -1
  92. package/dist/collection/utils/index.js +23 -83
  93. package/dist/collection/utils/style.js +10 -0
  94. package/dist/collection/utils/url.js +67 -0
  95. package/dist/{cjs/index-b9715722.js → esm/index-1d8e8acd.js} +6 -2
  96. package/dist/esm/{index-5bd7cbab.js → index-26d8b479.js} +62 -53
  97. package/dist/esm/index-cad8203e.js +31 -0
  98. package/dist/esm/loader.js +3 -3
  99. package/dist/esm/polyfills/core-js.js +0 -0
  100. package/dist/esm/polyfills/dom.js +0 -0
  101. package/dist/esm/polyfills/es5-html-element.js +0 -0
  102. package/dist/esm/polyfills/index.js +0 -0
  103. package/dist/esm/polyfills/system.js +0 -0
  104. package/dist/esm/taro-ad-core.entry.js +1 -1
  105. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  106. package/dist/esm/taro-audio-core.entry.js +1 -1
  107. package/dist/esm/taro-block-core.entry.js +1 -1
  108. package/dist/esm/taro-button-core.entry.js +3 -3
  109. package/dist/esm/taro-camera-core.entry.js +1 -1
  110. package/dist/esm/taro-canvas-core.entry.js +2 -2
  111. package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
  112. package/dist/esm/taro-components.js +3 -3
  113. package/dist/esm/taro-cover-image-core.entry.js +1 -1
  114. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  115. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  116. package/dist/esm/taro-editor-core.entry.js +1 -1
  117. package/dist/esm/taro-form-core.entry.js +1 -1
  118. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  119. package/dist/esm/taro-icon-core.entry.js +2 -2
  120. package/dist/esm/taro-image-core.entry.js +3 -3
  121. package/dist/esm/taro-input-core.entry.js +23 -19
  122. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  123. package/dist/esm/taro-label-core.entry.js +1 -1
  124. package/dist/esm/taro-live-player-core.entry.js +1 -1
  125. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  126. package/dist/esm/taro-map-core.entry.js +1 -1
  127. package/dist/esm/taro-match-media-core.entry.js +1 -1
  128. package/dist/esm/taro-movable-area-core.entry.js +1 -1
  129. package/dist/esm/taro-movable-view-core.entry.js +1 -1
  130. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  131. package/dist/esm/taro-navigator-core.entry.js +4 -4
  132. package/dist/esm/taro-official-account-core.entry.js +1 -1
  133. package/dist/esm/taro-open-data-core.entry.js +1 -1
  134. package/dist/esm/taro-page-container-core.entry.js +1 -1
  135. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  136. package/dist/esm/taro-picker-core_2.entry.js +2 -2
  137. package/dist/esm/taro-picker-view-column-core.entry.js +80 -4
  138. package/dist/esm/taro-picker-view-core.entry.js +72 -3
  139. package/dist/esm/taro-progress-core.entry.js +1 -1
  140. package/dist/esm/taro-pull-to-refresh.entry.js +24 -10
  141. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  142. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  143. package/dist/esm/taro-scroll-view-core.entry.js +5 -13
  144. package/dist/esm/taro-share-element-core.entry.js +1 -1
  145. package/dist/esm/taro-slider-core.entry.js +1 -1
  146. package/dist/esm/taro-slot-core.entry.js +1 -1
  147. package/dist/esm/taro-swiper-core_2.entry.js +12 -15
  148. package/dist/esm/taro-switch-core.entry.js +1 -1
  149. package/dist/esm/taro-tabbar.entry.js +41 -40
  150. package/dist/esm/taro-text-core.entry.js +3 -3
  151. package/dist/esm/taro-textarea-core.entry.js +5 -3
  152. package/dist/esm/taro-video-control_3.entry.js +27867 -223
  153. package/dist/esm/taro-view-core.entry.js +5 -5
  154. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  155. package/dist/esm/taro-web-view-core.entry.js +2 -2
  156. package/dist/esm-es5/index-1d8e8acd.js +7 -0
  157. package/dist/esm-es5/{index-5bd7cbab.js → index-26d8b479.js} +1 -1
  158. package/dist/esm-es5/index-cad8203e.js +1 -0
  159. package/dist/esm-es5/loader.js +1 -1
  160. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  161. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  162. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  163. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  164. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  165. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  166. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  167. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  168. package/dist/esm-es5/taro-components.js +1 -1
  169. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  170. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  171. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  172. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  173. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  174. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  175. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  176. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  177. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  178. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  179. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  180. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  181. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  182. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  183. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  184. package/dist/esm-es5/taro-movable-area-core.entry.js +1 -1
  185. package/dist/esm-es5/taro-movable-view-core.entry.js +1 -1
  186. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  187. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  188. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  189. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  190. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  191. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  192. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  193. package/dist/esm-es5/taro-picker-view-column-core.entry.js +1 -1
  194. package/dist/esm-es5/taro-picker-view-core.entry.js +1 -1
  195. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  196. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  197. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  198. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  199. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  200. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  201. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  202. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  203. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  204. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  205. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  206. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  207. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  208. package/dist/esm-es5/taro-video-control_3.entry.js +365 -1
  209. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  210. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  211. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  212. package/dist/taro-components/p-019591c8.system.entry.js +1 -0
  213. package/dist/taro-components/{p-8db237e0.entry.js → p-060858b1.entry.js} +1 -1
  214. package/dist/taro-components/{p-964692f7.system.entry.js → p-06e3d685.system.entry.js} +1 -1
  215. package/dist/taro-components/p-0996daee.entry.js +1 -0
  216. package/dist/taro-components/{p-94502fc3.entry.js → p-0ca42006.entry.js} +1 -1
  217. package/dist/taro-components/{p-3633bb84.entry.js → p-0d0b3677.entry.js} +1 -1
  218. package/dist/taro-components/{p-336f2b2a.system.entry.js → p-0d1e0e91.system.entry.js} +1 -1
  219. package/dist/taro-components/p-0ea13d67.system.entry.js +1 -0
  220. package/dist/taro-components/p-0f42b8a4.entry.js +1 -0
  221. package/dist/taro-components/{p-cdffee54.system.entry.js → p-12deba0b.system.entry.js} +1 -1
  222. package/dist/taro-components/p-133e3ac4.entry.js +1 -0
  223. package/dist/taro-components/{p-5f8b5f62.entry.js → p-16aff829.entry.js} +1 -1
  224. package/dist/taro-components/{p-14dbbb42.entry.js → p-16c1e564.entry.js} +1 -1
  225. package/dist/taro-components/{p-0c2982fc.system.entry.js → p-178a3adf.system.entry.js} +1 -1
  226. package/dist/taro-components/p-1e0406ec.system.entry.js +1 -0
  227. package/dist/taro-components/p-1e516bd0.entry.js +1 -0
  228. package/dist/taro-components/p-2241b671.system.js +1 -0
  229. package/dist/taro-components/p-26e9ce75.entry.js +1 -0
  230. package/dist/taro-components/{p-98b47fc9.system.entry.js → p-2887213d.system.entry.js} +1 -1
  231. package/dist/taro-components/{p-3334ac67.system.entry.js → p-29b7c721.system.entry.js} +1 -1
  232. package/dist/taro-components/p-29bb3ebe.entry.js +1 -0
  233. package/dist/taro-components/{p-fdd73355.system.entry.js → p-2bd2ea9a.system.entry.js} +1 -1
  234. package/dist/taro-components/{p-e03fa2d5.system.entry.js → p-2e8a1479.system.entry.js} +1 -1
  235. package/dist/taro-components/{p-9a618935.system.entry.js → p-36f2c1e1.system.entry.js} +1 -1
  236. package/dist/taro-components/{p-fd8312e5.system.entry.js → p-372f53d8.system.entry.js} +1 -1
  237. package/dist/taro-components/{p-cfbdd4e3.system.entry.js → p-3b801a38.system.entry.js} +1 -1
  238. package/dist/taro-components/p-3b85bb4b.system.entry.js +1 -0
  239. package/dist/taro-components/{p-59d38db0.entry.js → p-3bb72c08.entry.js} +1 -1
  240. package/dist/taro-components/{p-15bea37d.entry.js → p-3d3cd72f.entry.js} +1 -1
  241. package/dist/taro-components/p-3e223f2f.system.entry.js +1 -0
  242. package/dist/taro-components/p-430d72e8.entry.js +1 -0
  243. package/dist/taro-components/p-4339ad63.system.entry.js +1 -0
  244. package/dist/taro-components/p-44a199e4.entry.js +1 -0
  245. package/dist/taro-components/{p-cfbfeee8.entry.js → p-45e6f8be.entry.js} +1 -1
  246. package/dist/taro-components/p-46b7f84e.entry.js +1 -0
  247. package/dist/taro-components/p-4793e6ba.system.entry.js +1 -0
  248. package/dist/taro-components/p-49954245.system.entry.js +1 -0
  249. package/dist/taro-components/{p-74540410.entry.js → p-4c890c5d.entry.js} +1 -1
  250. package/dist/taro-components/p-53244eac.entry.js +1 -0
  251. package/dist/taro-components/p-5746d7ce.js +1 -0
  252. package/dist/taro-components/{p-1b790eb0.system.entry.js → p-5c2497a4.system.entry.js} +1 -1
  253. package/dist/taro-components/{p-df5a19b0.system.entry.js → p-5ff0e954.system.entry.js} +1 -1
  254. package/dist/taro-components/p-61f225ef.system.js +7 -0
  255. package/dist/taro-components/p-62608b28.system.entry.js +1 -0
  256. package/dist/taro-components/{p-0303f9e0.entry.js → p-62c64770.entry.js} +1 -1
  257. package/dist/taro-components/p-663d1bb9.system.js +1 -0
  258. package/dist/taro-components/{p-bd3fa355.system.entry.js → p-66b1d5f9.system.entry.js} +1 -1
  259. package/dist/taro-components/p-671defcd.entry.js +1 -0
  260. package/dist/taro-components/p-69334f7c.entry.js +1 -0
  261. package/dist/taro-components/p-6f2f468b.entry.js +1 -0
  262. package/dist/taro-components/p-70313eed.entry.js +1 -0
  263. package/dist/taro-components/{p-b87cf623.entry.js → p-74013ace.entry.js} +1 -1
  264. package/dist/taro-components/{p-264b7229.system.entry.js → p-756d56d1.system.entry.js} +1 -1
  265. package/dist/taro-components/{p-fe156231.system.entry.js → p-75811f84.system.entry.js} +1 -1
  266. package/dist/taro-components/p-76724e58.js +7 -0
  267. package/dist/taro-components/{p-1e4f1702.system.entry.js → p-78676120.system.entry.js} +1 -1
  268. package/dist/taro-components/p-7b2049b7.entry.js +1 -0
  269. package/dist/taro-components/p-7dc268ee.entry.js +1 -0
  270. package/dist/taro-components/p-7f7aa688.entry.js +1 -0
  271. package/dist/taro-components/p-80abb865.entry.js +1 -0
  272. package/dist/taro-components/{p-55b0a30b.entry.js → p-81976128.entry.js} +1 -1
  273. package/dist/taro-components/p-81dc5b7b.entry.js +1 -0
  274. package/dist/taro-components/{p-99cb65a6.system.entry.js → p-828efe43.system.entry.js} +1 -1
  275. package/dist/taro-components/{p-7cdad34e.system.entry.js → p-831ebd02.system.entry.js} +1 -1
  276. package/dist/taro-components/{p-0ee69803.entry.js → p-832cc63a.entry.js} +1 -1
  277. package/dist/taro-components/{p-b2d01686.system.js → p-83adb645.system.js} +1 -1
  278. package/dist/taro-components/p-841a2031.system.entry.js +365 -0
  279. package/dist/taro-components/{p-b6d6c744.entry.js → p-86205110.entry.js} +1 -1
  280. package/dist/taro-components/p-88063d40.system.entry.js +1 -0
  281. package/dist/taro-components/{p-703dfad8.system.entry.js → p-8b23a081.system.entry.js} +1 -1
  282. package/dist/taro-components/{p-ffe63ce9.system.entry.js → p-8b30e18c.system.entry.js} +1 -1
  283. package/dist/taro-components/p-8ba35b31.system.entry.js +1 -0
  284. package/dist/taro-components/p-8ead6b19.entry.js +1 -0
  285. package/dist/taro-components/{p-ebf5b2eb.system.entry.js → p-8f466248.system.entry.js} +1 -1
  286. package/dist/taro-components/{p-cea9a198.system.entry.js → p-9130dfca.system.entry.js} +1 -1
  287. package/dist/taro-components/{p-8a5e67cb.entry.js → p-9151ef65.entry.js} +1 -1
  288. package/dist/taro-components/p-95e51d62.entry.js +1 -0
  289. package/dist/taro-components/p-9961074d.entry.js +1 -0
  290. package/dist/taro-components/{p-3643d8f7.system.entry.js → p-9b90554b.system.entry.js} +1 -1
  291. package/dist/taro-components/{p-06af26db.system.entry.js → p-9ce624a4.system.entry.js} +1 -1
  292. package/dist/taro-components/{p-7423fc3b.system.entry.js → p-a36bfe97.system.entry.js} +1 -1
  293. package/dist/taro-components/p-a4721ae0.js +1 -0
  294. package/dist/taro-components/{p-e6298500.entry.js → p-a74f4c26.entry.js} +1 -1
  295. package/dist/taro-components/{p-7d848382.system.entry.js → p-a838e0f7.system.entry.js} +1 -1
  296. package/dist/taro-components/p-a900b437.system.entry.js +1 -0
  297. package/dist/taro-components/{p-8b2bf902.system.entry.js → p-a90bfe9d.system.entry.js} +1 -1
  298. package/dist/taro-components/{p-e2f6448d.system.entry.js → p-a9ab6434.system.entry.js} +1 -1
  299. package/dist/taro-components/p-abb9c7d0.entry.js +1 -0
  300. package/dist/taro-components/{p-99ed3ed2.system.entry.js → p-ac398961.system.entry.js} +1 -1
  301. package/dist/taro-components/{p-4dbed323.entry.js → p-ac56ffed.entry.js} +1 -1
  302. package/dist/taro-components/{p-fc4939c6.system.entry.js → p-baa5019a.system.entry.js} +1 -1
  303. package/dist/taro-components/{p-fb0959c1.system.entry.js → p-c1458fbe.system.entry.js} +1 -1
  304. package/dist/taro-components/p-c9b73495.entry.js +1 -0
  305. package/dist/taro-components/{p-8f90fca9.system.entry.js → p-ca7ad427.system.entry.js} +1 -1
  306. package/dist/taro-components/{p-8bc82aaa.entry.js → p-ce0489a6.entry.js} +1 -1
  307. package/dist/taro-components/{p-9d0ab7c4.entry.js → p-ce46f79d.entry.js} +1 -1
  308. package/dist/taro-components/{p-2d2f8064.entry.js → p-cfebd931.entry.js} +1 -1
  309. package/dist/taro-components/p-d2b6b891.entry.js +1 -0
  310. package/dist/taro-components/{p-9fc88fc1.system.entry.js → p-d56c45bf.system.entry.js} +1 -1
  311. package/dist/taro-components/{p-06bffead.entry.js → p-d636e22e.entry.js} +1 -1
  312. package/dist/taro-components/{p-b75d8a65.entry.js → p-d6c8f31d.entry.js} +1 -1
  313. package/dist/taro-components/p-d7e13592.entry.js +365 -0
  314. package/dist/taro-components/{p-0472e474.system.entry.js → p-de573939.system.entry.js} +1 -1
  315. package/dist/taro-components/p-e01af6c8.entry.js +1 -0
  316. package/dist/taro-components/{p-865c21b5.entry.js → p-e7dcb4d5.entry.js} +1 -1
  317. package/dist/taro-components/{p-527a38ee.system.entry.js → p-ec59899b.system.entry.js} +1 -1
  318. package/dist/taro-components/{p-d1c2481c.system.entry.js → p-f1da4ed7.system.entry.js} +1 -1
  319. package/dist/taro-components/p-fc226017.entry.js +1 -0
  320. package/dist/taro-components/{p-17039974.system.entry.js → p-fe252a81.system.entry.js} +1 -1
  321. package/dist/taro-components/taro-components.css +1 -1
  322. package/dist/taro-components/taro-components.esm.js +1 -1
  323. package/dist/taro-components/taro-components.js +1 -1
  324. package/dist/types/components/image/image.d.ts +1 -1
  325. package/dist/types/components/input/input.d.ts +1 -3
  326. package/dist/types/components/picker-view/picker-view-column.d.ts +15 -1
  327. package/dist/types/components/picker-view/picker-view.d.ts +24 -0
  328. package/dist/types/components/scroll-view/scroll-view.d.ts +1 -1
  329. package/dist/types/components/swiper/swiper.d.ts +2 -2
  330. package/dist/types/components/tabbar/tabbar.d.ts +3 -2
  331. package/dist/types/components/video/utils.d.ts +6 -0
  332. package/dist/types/components/video/video-control.d.ts +2 -2
  333. package/dist/types/components.d.ts +22 -0
  334. package/dist/types/home/runner/work/taro/taro/packages/taro-components/.stencil/types/props.d.ts +62 -0
  335. package/dist/types/props.js +1 -0
  336. package/dist/types/stencil-public-runtime.d.ts +6 -4
  337. package/dist/types/utils/index.d.ts +4 -8
  338. package/dist/types/utils/style.d.ts +1 -0
  339. package/dist/types/utils/url.d.ts +6 -0
  340. package/dist-h5/react/components/index.js +63 -0
  341. package/dist-h5/react/components/input.js +2 -2
  342. package/dist-h5/react/index.js +1 -46
  343. package/dist-h5/react/utils/reactify-wc.js +8 -5
  344. package/dist-h5/vue/components/index.js +60 -0
  345. package/dist-h5/vue/components/picker.js +2 -2
  346. package/dist-h5/vue/components/scroll-view.js +2 -2
  347. package/dist-h5/vue/createComponent.js +1 -0
  348. package/dist-h5/vue/createFormsComponent.js +3 -3
  349. package/dist-h5/vue/index.js +23 -26
  350. package/dist-h5/vue/mixins/listeners.js +2 -2
  351. package/dist-h5/vue3/components/icon.js +3 -0
  352. package/dist-h5/vue3/components/image.js +3 -0
  353. package/dist-h5/vue3/components/index.js +64 -0
  354. package/dist-h5/vue3/components/scroll-view.js +3 -0
  355. package/dist-h5/vue3/components/text.js +3 -0
  356. package/dist-h5/vue3/createComponent.js +3 -0
  357. package/dist-h5/vue3/createFormsComponent.js +6 -3
  358. package/dist-h5/vue3/forwardRef.js +11 -0
  359. package/dist-h5/vue3/index.js +12 -29
  360. package/package.json +37 -19
  361. package/types/Ad.d.ts +15 -15
  362. package/types/Audio.d.ts +3 -3
  363. package/types/Block.d.ts +5 -2
  364. package/types/Button.d.ts +50 -34
  365. package/types/Camera.d.ts +20 -20
  366. package/types/Canvas.d.ts +1 -1
  367. package/types/Checkbox.d.ts +5 -5
  368. package/types/CheckboxGroup.d.ts +4 -4
  369. package/types/CoverImage.d.ts +1 -1
  370. package/types/CoverView.d.ts +1 -1
  371. package/types/CustomWrapper.d.ts +2 -2
  372. package/types/Editor.d.ts +10 -10
  373. package/types/Form.d.ts +8 -8
  374. package/types/FunctionalPageNavigator.d.ts +4 -4
  375. package/types/Image.d.ts +2 -2
  376. package/types/Input.d.ts +41 -37
  377. package/types/KeyboardAccessory.d.ts +21 -8
  378. package/types/Label.d.ts +2 -2
  379. package/types/LivePlayer.d.ts +18 -18
  380. package/types/LivePusher.d.ts +14 -14
  381. package/types/Map.d.ts +33 -33
  382. package/types/MovableArea.d.ts +1 -1
  383. package/types/MovableView.d.ts +18 -18
  384. package/types/Navigator.d.ts +7 -7
  385. package/types/OfficialAccount.d.ts +7 -7
  386. package/types/OpenData.d.ts +10 -10
  387. package/types/PageContainer.d.ts +22 -22
  388. package/types/Picker.d.ts +5 -5
  389. package/types/PickerViewColumn.d.ts +5 -3
  390. package/types/Progress.d.ts +1 -1
  391. package/types/Radio.d.ts +6 -6
  392. package/types/RadioGroup.d.ts +2 -2
  393. package/types/RichText.d.ts +7 -2
  394. package/types/ScrollView.d.ts +9 -9
  395. package/types/ShareElement.d.ts +196 -3
  396. package/types/Slider.d.ts +1 -1
  397. package/types/Slot.d.ts +2 -2
  398. package/types/Swiper.d.ts +7 -7
  399. package/types/Switch.d.ts +3 -3
  400. package/types/Text.d.ts +2 -2
  401. package/types/Textarea.d.ts +21 -21
  402. package/types/Video.d.ts +23 -23
  403. package/types/View.d.ts +4 -4
  404. package/types/VoipRoom.d.ts +5 -5
  405. package/types/WebView.d.ts +6 -6
  406. package/types/common.d.ts +4 -2
  407. package/types/index.d.ts +53 -52
  408. package/types/index.vue3.d.ts +157 -0
  409. package/types/props.ts +72 -0
  410. package/virtual-list/memoize.js +1 -0
  411. package/virtual-list/react/createListComponent.js +4 -3
  412. package/virtual-list/react/index.js +2 -1
  413. package/virtual-list/timer.js +1 -1
  414. package/virtual-list/vue/index.js +1 -1
  415. package/vue3.d.ts +3 -0
  416. package/dist/esm-es5/index-3c78bcaf.js +0 -7
  417. package/dist/taro-components/p-04818461.system.entry.js +0 -1
  418. package/dist/taro-components/p-065ec61d.entry.js +0 -1
  419. package/dist/taro-components/p-11932905.entry.js +0 -1
  420. package/dist/taro-components/p-17cf8b5b.entry.js +0 -1
  421. package/dist/taro-components/p-2dc57c71.system.entry.js +0 -1
  422. package/dist/taro-components/p-32937866.entry.js +0 -1
  423. package/dist/taro-components/p-33ee636a.system.js +0 -1
  424. package/dist/taro-components/p-37cfdd8f.js +0 -7
  425. package/dist/taro-components/p-3c0230ba.entry.js +0 -1
  426. package/dist/taro-components/p-3dfb1807.entry.js +0 -1
  427. package/dist/taro-components/p-431197bc.entry.js +0 -1
  428. package/dist/taro-components/p-43de2f12.system.entry.js +0 -1
  429. package/dist/taro-components/p-50066d5e.system.entry.js +0 -1
  430. package/dist/taro-components/p-554e1039.entry.js +0 -1
  431. package/dist/taro-components/p-56618f09.entry.js +0 -1
  432. package/dist/taro-components/p-5c420456.entry.js +0 -1
  433. package/dist/taro-components/p-63ff7fa7.entry.js +0 -1
  434. package/dist/taro-components/p-7721e046.entry.js +0 -1
  435. package/dist/taro-components/p-83dedaa2.entry.js +0 -1
  436. package/dist/taro-components/p-92e95d3f.entry.js +0 -1
  437. package/dist/taro-components/p-94c20f60.system.js +0 -7
  438. package/dist/taro-components/p-95529dc0.entry.js +0 -1
  439. package/dist/taro-components/p-9dc9c615.system.entry.js +0 -1
  440. package/dist/taro-components/p-9eb7dfa8.entry.js +0 -1
  441. package/dist/taro-components/p-a1423df9.entry.js +0 -1
  442. package/dist/taro-components/p-abe415b4.system.entry.js +0 -1
  443. package/dist/taro-components/p-b15d0302.system.entry.js +0 -1
  444. package/dist/taro-components/p-b55fedc1.entry.js +0 -1
  445. package/dist/taro-components/p-b9280444.entry.js +0 -1
  446. package/dist/taro-components/p-c218c298.entry.js +0 -1
  447. package/dist/taro-components/p-c362734b.entry.js +0 -1
  448. package/dist/taro-components/p-cb395e7d.entry.js +0 -1
  449. package/dist/taro-components/p-cc818a13.entry.js +0 -1
  450. package/dist/taro-components/p-cf55a63c.entry.js +0 -1
  451. package/dist/taro-components/p-d394a61f.system.entry.js +0 -1
  452. package/dist/taro-components/p-d567b95e.entry.js +0 -1
  453. package/dist/taro-components/p-d5971476.entry.js +0 -1
  454. package/dist/taro-components/p-e0af1d0d.system.entry.js +0 -1
  455. package/dist/taro-components/p-e1040131.entry.js +0 -1
  456. package/dist/taro-components/p-e27798a4.entry.js +0 -1
  457. package/dist/taro-components/p-f05e1558.js +0 -1
  458. package/dist/taro-components/p-fb2252b7.system.entry.js +0 -1
  459. package/dist/taro-components/p-fcc1c676.system.entry.js +0 -1
  460. package/dist/taro-components/p-fd0d1168.system.entry.js +0 -1
  461. package/dist/taro-components/p-fde3a009.system.entry.js +0 -1
  462. package/dist-h5/vue/simpleComponents.js +0 -19
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,g as h}from"./p-f05e1558.js";function e(t,i,s){if("search"===i&&(t="search"),s&&(t="password"),void 0===t)return"text";if(!t)throw new Error("unexpected type");return"digit"===t&&(t="number"),t}let o=class{constructor(s){t(this,s),this.onInput=i(this,"input",7),this.onPaste=i(this,"paste",7),this.onFocus=i(this,"focus",7),this.onBlur=i(this,"blur",7),this.onConfirm=i(this,"confirm",7),this.onChange=i(this,"change",7),this.onKeyDown=i(this,"keydown",7),this.isOnComposition=!1,this.isOnPaste=!1,this.onInputExcuted=!1,this.password=!1,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.confirmType="done",this.nativeProps={},this.handleInput=t=>{t.stopPropagation();const{type:i,maxlength:s,confirmType:h,password:o}=this;if(!this.isOnComposition&&!this.onInputExcuted){let n=t.target.value;const a=e(i,h,o);this.onInputExcuted=!0,"number"===a&&n&&s<=n.length&&(n=n.substring(0,s),t.target.value=n),this._value=n,this.onInput.emit({value:n,cursor:n.length})}},this.handlePaste=t=>{this.isOnPaste=!0,this.onPaste.emit({value:t.target.value})},this.handleFocus=t=>{this.onInputExcuted=!1,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.isOnPaste&&(this.isOnPaste=!1,this.onInput.emit({value:t.target.value}))},this.handleKeyDown=t=>{const{value:i}=t.target,s=t.keyCode||t.code;this.onInputExcuted=!1,t.stopPropagation(),this.onKeyDown.emit({value:i,cursor:i.length,keyCode:s}),13===s&&this.onConfirm.emit({value:i})},this.handleComposition=t=>{t.target instanceof HTMLInputElement&&("compositionend"===t.type?(this.isOnComposition=!1,this.onInput.emit({value:t.target.value})):this.isOnComposition=!0)}}watchHandler(t,i){t!==i&&(this._value=t)}watchFocus(t,i){var s;!i&&t&&(null===(s=this.inputRef)||void 0===s||s.focus())}componentWillLoad(){this._value=this.value}componentDidLoad(){var t,i,s;"file"===this.type?(this.fileListener=()=>{this.onInput.emit()},null===(t=this.inputRef)||void 0===t||t.addEventListener("change",this.fileListener)):(null===(i=this.inputRef)||void 0===i||i.addEventListener("compositionstart",this.handleComposition),null===(s=this.inputRef)||void 0===s||s.addEventListener("compositionend",this.handleComposition)),Object.defineProperty(this.el,"value",{get:()=>{var t;return null===(t=this.inputRef)||void 0===t?void 0:t.value},set:t=>{this._value=t},configurable:!0})}disconnectedCallback(){var t;"file"===this.type&&(null===(t=this.inputRef)||void 0===t||t.removeEventListener("change",this.fileListener))}render(){const{_value:t,type:i,password:h,placeholder:o,autoFocus:n,disabled:a,maxlength:r,confirmType:l,name:u,nativeProps:c}=this;return s("input",Object.assign({ref:t=>{this.inputRef=t},class:"weui-input",value:(d=t,null!=d?d:""),type:e(i,l,h),placeholder:o,autoFocus:n,disabled:a,maxlength:r,name:u,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onCompositionStart:this.handleComposition,onCompositionEnd:this.handleComposition},c));var d}get el(){return h(this)}static get watchers(){return{value:["watchHandler"],autoFocus:["watchFocus"]}}};o.style="taro-input-core{display:block}input{display:block;height:1.4rem;text-align:inherit;text-overflow:clip;overflow:hidden;white-space:nowrap}";export{o as taro_input_core}
@@ -1 +0,0 @@
1
- import{r,h as o,H as s}from"./p-f05e1558.js";let t=class{constructor(o){r(this,o)}render(){return o(s,null)}};export{t as taro_block_core}
@@ -1 +0,0 @@
1
- import{r,h as o,H as e}from"./p-f05e1558.js";let a=class{constructor(o){r(this,o)}componentDidLoad(){console.error("H5 暂不支持 Camera 组件!")}render(){return o(e,null)}};export{a as taro_camera_core}
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as e}from"./p-f05e1558.js";let t=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 OpenData 组件!")}render(){return r(e,null)}};export{t as taro_open_data_core}
@@ -1 +0,0 @@
1
- import{r,h as e,H as o}from"./p-f05e1558.js";let s=class{constructor(e){r(this,e)}componentDidLoad(){console.error("H5 暂不支持 LivePlayer 组件!")}render(){return e(o,null)}};export{s as taro_live_player_core}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as o,H as i,g as l}from"./p-f05e1558.js";import{c as r}from"./p-37cfdd8f.js";function c(t,s,o){if(t===s||"number"!=typeof t)return;const i=s-t,l=Date.now(),r=s>=t;!function c(){var e;e=Date.now()-l,t=i*e/500+t,r&&t>=s||!r&&s>=t?o(s):(o(t),requestAnimationFrame(c))}()}let e=class{constructor(o){t(this,o),this.onScroll=s(this,"scroll",3),this.onScrollToUpper=s(this,"scrolltoupper",3),this.onScrollToLower=s(this,"scrolltolower",3),this.scrollX=!1,this.scrollY=!1,this.upperThreshold=50,this.lowerThreshold=50,this.scrollWithAnimation=!1,this.handleScroll=t=>{if(t instanceof CustomEvent)return;const{scrollLeft:s,scrollTop:o,scrollHeight:i,scrollWidth:l}=this.el;this._scrollLeft=s,this._scrollTop=o,this.uperAndLower(),this.onScroll.emit({scrollLeft:s,scrollTop:o,scrollHeight:i,scrollWidth:l})},this.uperAndLower=function(t){let s;return function(...o){clearTimeout(s),s=setTimeout((function(){t(...o)}),200)}}((()=>{const{offsetWidth:t,offsetHeight:s,scrollLeft:o,scrollTop:i,scrollHeight:l,scrollWidth:r}=this.el,c=Number(this.lowerThreshold),e=Number(this.upperThreshold);!isNaN(c)&&(this.scrollY&&s+i+c>=l||this.scrollX&&t+o+c>=r)&&this.onScrollToLower.emit({direction:this.scrollX?"right":this.scrollY?"bottom":""}),!isNaN(e)&&(this.scrollY&&i<=e||this.scrollX&&o<=e)&&this.onScrollToUpper.emit({direction:this.scrollX?"left":this.scrollY?"top":""})}))}watchScrollLeft(t){const s=Number(t);this.scrollX&&!isNaN(s)&&s!==this._scrollLeft&&(this.scrollWithAnimation?c(this._scrollLeft,s,(t=>this.el.scrollLeft=t)):this.el.scrollLeft=s,this._scrollLeft=s)}watchScrollTop(t){const s=Number(t);this.scrollY&&!isNaN(s)&&s!==this._scrollTop&&(this.scrollWithAnimation?c(this._scrollTop,s,(t=>this.el.scrollTop=t)):this.el.scrollTop=s,this._scrollTop=s)}watchScrollIntoView(t){var s;"string"==typeof t&&t&&(null===(s=document.querySelector(`#${t}`))||void 0===s||s.scrollIntoView({behavior:"smooth",block:"center",inline:"start"}))}componentDidLoad(){const{scrollY:t,scrollX:s,scrollWithAnimation:o}=this,i=Number(this.mpScrollTop),l=Number(this.mpScrollLeft);t&&!isNaN(i)&&(o?c(0,i,(t=>this.el.scrollTop=t)):this.el.scrollTop=i,this._scrollTop=i),s&&!isNaN(l)&&(o?c(0,l,(t=>this.el.scrollLeft=t)):this.el.scrollLeft=l,this._scrollLeft=l)}render(){const{scrollX:t,scrollY:s}=this,l=r({"taro-scroll-view__scroll-x":t,"taro-scroll-view__scroll-y":s});return o(i,{class:l,onScroll:this.handleScroll},o("slot",null))}get el(){return l(this)}static get watchers(){return{mpScrollLeft:["watchScrollLeft"],mpScrollTop:["watchScrollTop"],mpScrollIntoView:["watchScrollIntoView"]}}};e.style="taro-scroll-view-core{display:block;width:100%;-webkit-overflow-scrolling:auto}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow-x:scroll;overflow-y:hidden}.taro-scroll-view__scroll-y{overflow-x:hidden;overflow-y:scroll}";export{e as taro_scroll_view_core}
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as e}from"./p-f05e1558.js";let s=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 Ad 组件!")}render(){return r(e,null)}};export{s as taro_ad_core}
@@ -1 +0,0 @@
1
- var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,o,r,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(e){return l([t,e])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,o&&(r=s[0]&2?o["return"]:s[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,s[1])).done)return r;if(o=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;o=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(s[0]===6&&i.label<r[1]){i.label=r[1];r=s;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(s);break}if(r[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t];o=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e){for(var i=0,n=e.length,o=t.length;i<n;i++,o++)t[o]=e[i];return t};System.register(["./p-b2d01686.system.js","./p-94c20f60.system.js"],(function(t){"use strict";var e,i,n,o,r,s;return{setters:[function(t){e=t.r;i=t.h;n=t.H;o=t.g;r=t.c},function(t){s=t.c}],execute:function(){var a=function(t){if(t==null)return"";var e=Math.round(t%60);var i=Math.round((t-e)/60);return(i<10?"0"+i:i)+":"+(e<10?"0"+e:e)};var l=function(t,e){return Math.sqrt(Math.pow(t,2)+Math.pow(e,2))};var u=function(t){return Math.max(-1,Math.min(t,1))};var c=function(t,e){var i=0;return function(){var n=Date.now();if(n-i>e){t.apply(this,arguments);i=n}}};var d=function(){var t;var e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var i=["webkitEnterFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"];var n=0;var o=e.length;var r={};for(;n<o;n++){t=e[n];if(t&&t[1]in document){for(n=0;n<t.length;n++){r[e[0][n]]=t[n]}return r}}if(!r[e[0][0]]){for(n=0;n<i.length;n++){r[e[0][n]]=i[n]}}return r}();var h=undefined&&undefined.__awaiter||function(t,e,i,n){function o(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function s(t){try{l(n.next(t))}catch(t){r(t)}}function a(t){try{l(n["throw"](t))}catch(t){r(t)}}function l(t){t.done?i(t.value):o(t.value).then(s,a)}l((n=n.apply(t,e||[])).next())}))};var g=t("taro_video_control",function(){function t(t){var i=this;e(this,t);this.visible=false;this.isDraggingProgressBall=false;this.percentage=0;this.progressDimentions={left:0,width:0};this.calcPercentage=function(t){var e=t-i.progressDimentions.left;e=Math.max(e,0);e=Math.min(e,i.progressDimentions.width);return e/i.progressDimentions.width};this.onDragProgressBallStart=function(){i.isDraggingProgressBall=true;i.hideControlsTimer&&clearTimeout(i.hideControlsTimer)};this.onClickProgress=function(t){t.stopPropagation();var e=i.calcPercentage(t.pageX);i.seekFunc(e*i.duration);i.toggleVisibility(true)}}t.prototype.onDocumentTouchMove=function(t){if(!this.isDraggingProgressBall)return;var e=t.touches[0].pageX;this.percentage=this.calcPercentage(e);this.setProgressBall(this.percentage);this.setCurrentTime(this.percentage*this.duration)};t.prototype.onDocumentTouchEnd=function(){if(!this.isDraggingProgressBall)return;this.isDraggingProgressBall=false;this.seekFunc(this.percentage*this.duration);this.toggleVisibility(true)};t.prototype.setProgressBall=function(t){return h(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.progressBallRef){this.progressBallRef.style.left=t*100+"%"}return[2]}))}))};t.prototype.toggleVisibility=function(t){return h(this,void 0,void 0,(function(){var e;var i=this;return __generator(this,(function(n){e=t===undefined?!this.visible:t;if(e){this.hideControlsTimer&&clearTimeout(this.hideControlsTimer);if(this.isPlaying){this.hideControlsTimer=setTimeout((function(){i.toggleVisibility(false)}),2e3)}this.controlsRef.style.visibility="visible"}else{this.controlsRef.style.visibility="hidden"}this.visible=!!e;return[2]}))}))};t.prototype.getIsDraggingProgressBall=function(){return h(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.isDraggingProgressBall]}))}))};t.prototype.setCurrentTime=function(t){return h(this,void 0,void 0,(function(){return __generator(this,(function(e){this.currentTimeRef.innerHTML=a(t);return[2]}))}))};t.prototype.render=function(){var t=this;var e=this,o=e.controls,r=e.currentTime,s=e.duration,l=e.isPlaying,u=e.pauseFunc,c=e.playFunc,d=e.showPlayBtn,h=e.showProgress;var g=a(s);var f;if(!d){f=null}else if(l){f=i("div",{class:"taro-video-control-button taro-video-control-button-pause",onClick:u})}else{f=i("div",{class:"taro-video-control-button taro-video-control-button-play",onClick:c})}return i(n,{class:"taro-video-bar taro-video-bar-full"},o&&i("div",{class:"taro-video-controls"},f,h&&i("div",{class:"taro-video-current-time",ref:function(e){return t.currentTimeRef=e}},a(r)),h&&i("div",{class:"taro-video-progress-container",onClick:this.onClickProgress},i("div",{class:"taro-video-progress",ref:function(e){if(!e)return;var i=e.getBoundingClientRect();t.progressDimentions.left=i.left;t.progressDimentions.width=i.width}},i("div",{class:"taro-video-progress-buffered",style:{width:"100%"}}),i("div",{class:"taro-video-ball",ref:function(e){return t.progressBallRef=e},onTouchStart:this.onDragProgressBallStart,style:{left:(g?this.currentTime/s*100:0)+"%"}},i("div",{class:"taro-video-inner"})))),h&&i("div",{class:"taro-video-duration"},g)),i("slot",null))};Object.defineProperty(t.prototype,"controlsRef",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());var f='.taro-video{width:100%;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}.taro-video[hidden]{display:none}.taro-video-container{width:100%;height:100%;background-color:#000;display:inline-block;position:absolute;top:0;left:0;overflow:hidden;-o-object-position:inherit;object-position:inherit}.taro-video-container.taro-video-type-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{-webkit-transform:translate(-50%, -50%) rotate(-90deg);transform:translate(-50%, -50%) rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{-webkit-transform:translate(-50%, -50%) rotate(90deg);transform:translate(-50%, -50%) rotate(90deg)}.taro-video-video{width:100%;height:100%;-o-object-position:inherit;object-position:inherit}.taro-video-cover{position:absolute;top:0;left:0;bottom:0;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;background-color:rgba(1, 1, 1, 0.5);z-index:1}.taro-video-cover-play-button{width:40px;height:40px;background-size:50%;background-repeat:no-repeat;background-position:50% 50%}.taro-video-cover-duration{color:#fff;font-size:16px;line-height:1;margin-top:10px}.taro-video-bar{visibility:hidden;height:44px;background-color:rgba(0, 0, 0, 0.5);overflow:hidden;position:absolute;bottom:0;right:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:0 10px;z-index:1}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px}.taro-video-control-button{width:13px;height:15px;padding:14.5px 12.5px 14.5px 12.5px;margin-left:-8.5px;-webkit-box-sizing:content-box;box-sizing:content-box}.taro-video-control-button:after{content:"";display:block;width:100%;height:100%;background-size:100%;background-position:50% 50%;background-repeat:no-repeat}.taro-video-control-button.taro-video-control-button-play:after,.taro-video-cover-play-button{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==)}.taro-video-control-button.taro-video-control-button-pause:after{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC)}.taro-video-current-time,.taro-video-duration{height:14.5px;line-height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;color:#cbcbcb}.taro-video-progress-container{-webkit-box-flex:2;-webkit-flex-grow:2;-ms-flex-positive:2;flex-grow:2;position:relative}.taro-video-progress{height:2px;margin:21px 12px;background-color:rgba(255, 255, 255, 0.4);position:relative}.taro-video-progress-buffered{position:absolute;left:0;top:0;width:0;height:100%;-webkit-transition:width 0.1s;transition:width 0.1s;background-color:rgba(255, 255, 255, 0.8)}.taro-video-ball{width:16px;height:16px;padding:14px;position:absolute;top:-21px;-webkit-box-sizing:content-box;box-sizing:content-box;left:0;margin-left:-22px}.taro-video-inner{width:100%;height:100%;background-color:#fff;border-radius:50%}.taro-video-danmu-button{white-space:nowrap;line-height:1;padding:2px 10px;border:1px solid #fff;border-radius:5px;font-size:13px;color:#fff;margin:0 8.5px}.taro-video-danmu-button.taro-video-danmu-button-active{border-color:#48c23d;color:#48c23d}.taro-video-fullscreen,.taro-video-mute{width:17px;height:17px;padding:8.5px;-webkit-box-sizing:content-box;box-sizing:content-box;background-size:50%;background-position:50% 50%;background-repeat:no-repeat}.taro-video-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==)}.taro-video-fullscreen.taro-video-type-fullscreen{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABPUlEQVRYR+2Xu0pDURBF1/ZLxNcHKNiIlfhA7C0UBSEE8RNEBNFPUEQEEbGxFiSSSrCwEHsf5E/ccsSUuWfUhKQ40947+y42Z8+ZK/pcinzf9hhwD1xJ2q/qsb0JHAOzkl5y+lGAGnCWICQtZgAS6DxQk3TeLYA6cAo0JSXxjmW7CcwBdUkJurKiDhSA4kBvHbA9CqwBQx2O7BSw8ssU3ALPFRF4knT3nQLbr8B4LjLBOdAAFgJaLUkjbYC9n+zm+i4kXWbmwCqwnRMCHiXthuZAQOzPrxSA4kBxYDAcsH0EzATCfCLpJjOINoCtgFZabg7bk7AFDAeaGpKWgitZTu5N0kQbYBmYrujo9mX0CVxL+gidAdu9vY5zXhWA4sAgOND3X7NJ4AHYCaxkB8B62gslvecSFpoDOZH/PP8Cnt7hIaM5xCEAAAAASUVORK5CYII=)}.taro-video-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTg6MjArMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjk3YmE4Yjg0LTFhNTYtNGM1MS04NDVkLTNiZmYyMGI0ZDc0ZiIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjg1NGQ3MjlkLWUwNjctZjU0OC1hMTlhLTBlZjQ4OGRkYjJiOSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjA1ODY3ZDFlLWQ3NGEtNDgyNC04MDU3LTYzYmRmMTdjODk5ZSI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDU4NjdkMWUtZDc0YS00ODI0LTgwNTctNjNiZGYxN2M4OTllIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE4OjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6OTdiYThiODQtMWE1Ni00YzUxLTg0NWQtM2JmZjIwYjRkNzRmIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz459+FoAAABqElEQVRYhc2XPWsVQRSGnxPjF4oGRfxoRQKGWCU2Ft7CykrQWosEyf/If0hhIPgHDEmbNJZqCFxiQEgTUGxsBUVEHgvnyrjZZJO92V1fGIaZnTPvszPszNlQ6VIjnbr/DwCoDLMNak/dUVfUK0f2rQugnlcX/FevWgFQH6gf3autRgHUC+piiXHzAOmtPx9gXgug8itQx9SXwDpw47AGKXZWvXvQmNFCwE3gCXA2dY0Az4GrRzHONA9cU/vAbERsllEOyh31e8USV2mrMPdG9uyn+rDom2/BHHCm5puWKiKmgdtAnz+rvaxO5mNygEvHaZ5BfADuARvAaWBpP4DGFBHfgBngFzClTrUKkCDeA+9S837rAEnbqb7VFcCpVJ/oCmCw959aB1AfAROpudYqgDoOLKRmPyLelAF8bcD4pPoMeAtcB34AT4uDBqXXwFG8XXUU/72MIuK1OgE8Bs6l7mEvo8up7lN1Ge0n9aK6VHMFZvJTr9S3CiALaCQhqZOSvegMIAvu2UVSWpigLC1fbQ0gm6in7qpfLCQbhwGIYcyPQ53/G3YO8BtUtd35bvKcVwAAAABJRU5ErkJggg==)}.taro-video-mute.taro-video-type-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTk6MDMrMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjAzYjJmNjE2LTZmZTUtNDJjNC1iNTgwLTczNzZjZjI2NzdmNSIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjYzZjQ2NTYzLWE0ZjktOGQ0Mi1hM2FhLTY3ODJhNDBhYWNjMSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjIyYWNjMWFlLTg4ZmMtNDBlZi1iMWM1LTNmODgwY2QzYWI2MiI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MjJhY2MxYWUtODhmYy00MGVmLWIxYzUtM2Y4ODBjZDNhYjYyIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE5OjAzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDNiMmY2MTYtNmZlNS00MmM0LWI1ODAtNzM3NmNmMjY3N2Y1IiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5PmxYVAAACLklEQVRYhc2XP2sVQRRHz40hKoqaQgVBCy1EozFlGiVFxMLGh4piYWEh+hkEP4YKAVFEEFTyughaCH6DqIVpAhYWEgIxoJE8cywyi5tNHu/tJmvyg2WZO3dmzt47/zZUtoJ6Nhsg09YDiYhKDzACTAFNYH9lEpUq80TdrT5wpV5n/ZV9KoGoo+pXV2uyKkipOaLuUceAt8DhUvQd1FsCYhR4ChzaSIBMHSOi7lOfsByFWiCgEBH1GHAF2JlMPcBt4GC3HUYEaj9wF3gVEVPtfNVTwAXgWX7CDKq/1piAZTSZBmim8qJ6sQ3EgDqb/L7kU3MH2NHtl3dQX3r3Ak21UYAYAj4A/cl0JB+RF+uMRj4iQ+p8zt7KYFLdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC)}.taro-video-danmu{position:absolute;top:0;left:0;bottom:0;width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;overflow:visible}.taro-video-danmu-item{line-height:1;position:absolute;color:#fff;white-space:nowrap;left:100%;-webkit-transform:translatex(0);transform:translatex(0);-webkit-transition-property:left, -webkit-transform;transition-property:left, -webkit-transform;transition-property:left, transform;transition-property:left, transform, -webkit-transform;-webkit-transition-duration:3s;transition-duration:3s;-webkit-transition-timing-function:linear;transition-timing-function:linear}.taro-video-toast{pointer-events:none;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);border-radius:5px;background-color:rgba(255, 255, 255, 0.8);color:#000;display:block;visibility:hidden}.taro-video-toast.taro-video-toast-volume{width:100px;height:100px;display:block}.taro-video-toast-volume .taro-video-toast-title{width:100%;font-size:12px;line-height:16px;text-align:center;margin-top:10px;display:block}.taro-video-toast-volume .taro-video-toast-icon{fill:#000;width:50%;height:50%;margin-left:25%;display:block;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE+Avrj89NPyalzyuCIE6EN9BfQ1dHoPOAD40+9LE6D/5aoqSqtLsgiQC60DTiHzfGCFoaSsQAexZdlTgEuyCDgLuK8u5G7dEAHyKN8CBrtxLwDHAX8Z+l4N3GS0L3db4aN0X5opmc+2XZQAfb2LPd2eciG1lUSRJZ9qYHkZONwiYAjwSc3gs24BXWWWfzEVuMjQez13HljX8v7A28lvEgsInaBVcxLaAvr6sgJLtBWeNTrOB+4w2p8DRvoEnAPcXTVaY70QAbrbXwIONX7zBSAL/tvrk1+iviTllnRry2irr/QSEws4D7izCxMg1XQLLAQGGXpeCkw22kOWI49RMUujCJC+uwAfGtfcImAng4AtAMsBeg04pIkESOfbgQsMsNoGnxrtSrfv7rXrSlwXWN6kLZBgEBiB8iWUUZZPIN/AF1nMoiYSICDfAlt5iB4CxhpAzwXuMtqPBuY1lYB5wFEeqFeAwwyguvIUqvuiQO/xphJwP3Cmhyh0EKrOoGDIF7n+M5pKwEwXrqdBCaQSM77Ig7SSIicDs5pKwIvACA+pzFwZIF9OlKm36QyQV7jEqDDJk5VD58uFgGIGX1Se+6yJFqAKsqI6X84GdDb4Mh0Y5zUqjFYFakUTCXja5QLSmBQHbAL8ahAgT1AeYVreSKLLphGwF/CuAfLJQLldGSTFD75c5d4mNCoWyAqG9gYWGED1AOMKo12ZbiWA/idA++deY2DVTZ0Jh5UJPsFQtD/wDaAHGWl5EzgwaUi2gK4UXS11S0cTIjrMFBtYQdAk4DID0BnAAz4B6wNLgTKKG0VIDBHwqitwpOcW+OOB540FdeipNKbUWFrUtn06o5xOij4KyDuqU0IE3Obl/rLA63pTzm9XA8jKACjdniZAaSKFmUpB1yUhAlTsUEpMh913wEkuTe7rKTzPAHqO44vpKPkFhH3cWWBVV6ogJVYZUgz/tXtIYelzI3Ct0fExIGx6j7iKWBUUveyYBehv1RIjIEsfqziq8Xp4pSBJOYTVJFQcVY3wCFeKUjVGyYfQWB00+5bEVBECrNS+qsOKBpVHNCVWHs+LS7H5PV5pOu9v0+OKEOAXR39w1e1C7wM6AkJ1eLmkRcrpRQiQrqobXO5S3vL3/4kBKMsCknV0k+iasVLUMV3UX5SAPGtED8EOT+L9YENnCasUIXNO2goChFWHqAIRyxXN4qI1BCQg9dJESYq8LnbrCBAR8t50Lig6i0krCRBoVWhVlt45wkBrCRBuRZyPuAguxIPe9lXqhpd9DcZMXOvdkPF0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==);background-size:50%;background-position:50% 50%;background-repeat:no-repeat}.taro-video-toast-volume .taro-video-toast-value{width:80px;height:5px;margin-top:5px;margin-left:10px}.taro-video-toast-volume .taro-video-toast-value>.taro-video-toast-value-content{overflow:hidden}.taro-video-toast-volume-grids{width:80px;height:5px}.taro-video-toast-volume-grids-item{float:left;width:7.1px;height:5px;background-color:#000}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{background-color:rgba(0, 0, 0, 0.8);color:#fff;font-size:14px;line-height:18px;padding:6px}';var A=undefined&&undefined.__awaiter||function(t,e,i,n){function o(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function s(t){try{l(n.next(t))}catch(t){r(t)}}function a(t){try{l(n["throw"](t))}catch(t){r(t)}}function l(t){t.done?i(t.value):o(t.value).then(s,a)}l((n=n.apply(t,e||[])).next())}))};var p=t("taro_video_core",function(){function t(t){var i=this;e(this,t);this.onPlay=r(this,"play",7);this.onPause=r(this,"pause",7);this.onEnded=r(this,"ended",7);this.onTimeUpdate=r(this,"timeupdate",7);this.onError=r(this,"error",7);this.onFullScreenChange=r(this,"fullscreenchange",7);this.onProgress=r(this,"progress",7);this.onLoadedMetaData=r(this,"loadedmetadata",7);this.currentTime=0;this.isDraggingProgress=false;this.gestureType="none";this.controls=true;this.autoplay=false;this.loop=false;this.muted=false;this.initialTime=0;this.objectFit="contain";this.showProgress=true;this.showFullscreenBtn=true;this.showPlayBtn=true;this.showCenterPlayBtn=true;this.showMuteBtn=false;this.danmuBtn=false;this.enableDanmu=false;this.enablePlayGesture=false;this.enableProgressGesture=true;this.vslideGesture=false;this.vslideGestureInFullscreen=true;this.nativeProps={};this._enableDanmu=false;this.isPlaying=false;this.isFirst=true;this.isFullScreen=false;this.fullScreenTimestamp=(new Date).getTime();this.isMute=false;this.analyseGesture=function(t){var e;var n={type:"none"};var o=t.touches[0].screenX;var r=t.touches[0].screenY;var s=o-i.lastTouchScreenX;var a=r-i.lastTouchScreenY;var c=i.isFullScreen?i.vslideGestureInFullscreen:i.vslideGesture;if(i.gestureType==="none"){var d=l(s,a);if(d<10)return n;if(Math.abs(a)>=Math.abs(s)){if(c){i.gestureType="adjustVolume";i.lastVolume=i.videoRef.volume}else{return n}}else if(Math.abs(a)<Math.abs(s)){if(i.enableProgressGesture){i.gestureType="adjustProgress";i.lastPercentage=i.currentTime/((e=i.duration)!==null&&e!==void 0?e:i._duration)}else{return n}}}n.type=i.gestureType;n.dataX=u(s/200);n.dataY=u(a/200);return n};this.handlePlay=function(){i.isPlaying=true;i.isFirst=false;i.controlsRef.toggleVisibility(true);i.onPlay.emit()};this.handlePause=function(){i.isPlaying=false;i.controlsRef.toggleVisibility(true);i.onPause.emit()};this.handleEnded=function(){i.isFirst=true;i.pause();i.controlsRef.toggleVisibility();i.onEnded.emit()};this.handleTimeUpdate=c((function(t){return A(i,void 0,void 0,(function(){var e,i,n,o;return __generator(this,(function(r){switch(r.label){case 0:this.currentTime=this.videoRef.currentTime;n=this.duration||this._duration;return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:o=r.sent();if(this.controls&&this.showProgress){if(!o&&!this.isDraggingProgress){this.controlsRef.setProgressBall(this.currentTime/n);this.controlsRef.setCurrentTime(this.currentTime)}}this.danmuRef.tick(this.currentTime);this.onTimeUpdate.emit({duration:(e=t.target)===null||e===void 0?void 0:e.duration,currentTime:(i=t.target)===null||i===void 0?void 0:i.currentTime});if(this.duration){if(this.currentTime>=this.duration){this.seek(0);this.handleEnded()}}return[2]}}))}))}),250);this.handleError=function(t){var e,n;i.onError.emit({errMsg:(n=(e=t.target)===null||e===void 0?void 0:e.error)===null||n===void 0?void 0:n.message})};this.handleDurationChange=function(){i._duration=i.videoRef.duration};this.handleProgress=function(){i.onProgress.emit()};this.handleLoadedMetaData=function(t){var e=t.target;i.onLoadedMetaData.emit({width:e.videoWidth,height:e.videoHeight,duration:e.duration})};this._play=function(){return i.videoRef.play()};this._pause=function(){return i.videoRef.pause()};this._stop=function(){i.videoRef.pause();i._seek(0)};this._seek=function(t){i.videoRef.currentTime=t};this.onTouchStartContainer=function(t){i.lastTouchScreenX=t.touches[0].screenX;i.lastTouchScreenY=t.touches[0].screenY};this.onClickContainer=function(){if(i.enablePlayGesture){var t=Date.now();if(t-i.lastClickedTime<300){i.isPlaying?i.pause():i.play()}i.lastClickedTime=t}i.controlsRef.toggleVisibility()};this.onClickFullScreenBtn=function(t){t.stopPropagation();i.toggleFullScreen()};this.handleFullScreenChange=function(t){var e=(new Date).getTime();if(!t.detail&&i.isFullScreen&&!document[d.fullscreenElement]&&e-i.fullScreenTimestamp>100){i.toggleFullScreen(false)}};this.toggleFullScreen=function(t){if(t===void 0){t=!i.isFullScreen}i.isFullScreen=t;i.controlsRef.toggleVisibility(true);i.fullScreenTimestamp=(new Date).getTime();i.onFullScreenChange.emit({fullScreen:i.isFullScreen,direction:"vertical"});if(i.isFullScreen&&!document[d.fullscreenElement]){setTimeout((function(){i.videoRef[d.requestFullscreen]({navigationUI:"show"})}),0)}};this.toggleMute=function(t){t.stopPropagation();i.videoRef.muted=!i.isMute;i.controlsRef.toggleVisibility(true);i.isMute=!i.isMute};this.toggleDanmu=function(t){t.stopPropagation();i.controlsRef.toggleVisibility(true);i._enableDanmu=!i._enableDanmu}}t.prototype.componentWillLoad=function(){this._enableDanmu=this.enableDanmu};t.prototype.componentDidLoad=function(){if(this.initialTime){this.videoRef.currentTime=this.initialTime}this.danmuRef.sendDanmu(this.danmuList);if(document.addEventListener){document.addEventListener(d.fullscreenchange,this.handleFullScreenChange)}};t.prototype.componentDidRender=function(){};t.prototype.disconnectedCallback=function(){if(document.removeEventListener){document.removeEventListener(d.fullscreenchange,this.handleFullScreenChange)}};t.prototype.watchEnableDanmu=function(t){this._enableDanmu=t};t.prototype.onDocumentTouchMove=function(t){return A(this,void 0,void 0,(function(){var e,i,n;return __generator(this,(function(o){switch(o.label){case 0:if(this.lastTouchScreenX===undefined||this.lastTouchScreenY===undefined)return[2];return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:if(o.sent())return[2];e=this.analyseGesture(t);if(e.type==="adjustVolume"){this.toastVolumeRef.style.visibility="visible";i=Math.max(Math.min(this.lastVolume-e.dataY,1),0);this.videoRef.volume=i;this.toastVolumeBarRef.style.width=i*100+"%"}else if(e.type==="adjustProgress"){this.isDraggingProgress=true;this.nextPercentage=Math.max(Math.min(this.lastPercentage+e.dataX,1),0);if(this.controls&&this.showProgress){this.controlsRef.setProgressBall(this.nextPercentage);this.controlsRef.toggleVisibility(true)}n=this.duration||this._duration;this.toastProgressTitleRef.innerHTML=a(this.nextPercentage*n)+" / "+a(n);this.toastProgressRef.style.visibility="visible"}return[2]}}))}))};t.prototype.onDocumentTouchEnd=function(){var t;if(this.gestureType==="adjustVolume"){this.toastVolumeRef.style.visibility="hidden"}else if(this.gestureType==="adjustProgress"){this.toastProgressRef.style.visibility="hidden"}if(this.isDraggingProgress){this.isDraggingProgress=false;this.seek(this.nextPercentage*((t=this.duration)!==null&&t!==void 0?t:this._duration))}this.gestureType="none";this.lastTouchScreenX=undefined;this.lastTouchScreenY=undefined};t.prototype.play=function(){return A(this,void 0,void 0,(function(){return __generator(this,(function(t){this._play();return[2]}))}))};t.prototype.pause=function(){return A(this,void 0,void 0,(function(){return __generator(this,(function(t){this._pause();return[2]}))}))};t.prototype.stop=function(){return A(this,void 0,void 0,(function(){return __generator(this,(function(t){this._stop();return[2]}))}))};t.prototype.seek=function(t){return A(this,void 0,void 0,(function(){return __generator(this,(function(e){this._seek(t);return[2]}))}))};t.prototype.requestFullScreen=function(){return A(this,void 0,void 0,(function(){return __generator(this,(function(t){this.toggleFullScreen(true);return[2]}))}))};t.prototype.exitFullScreen=function(){return A(this,void 0,void 0,(function(){return __generator(this,(function(t){this.toggleFullScreen(false);return[2]}))}))};t.prototype.render=function(){var t=this;var e=this,o=e.src,r=e.controls,l=e.autoplay,u=e.loop,c=e.muted,d=e.poster,h=e.objectFit,g=e.isFirst,f=e.isMute,A=e.isFullScreen,p=e.duration,v=e._duration,b=e.showCenterPlayBtn,m=e.isPlaying,y=e._enableDanmu,w=e.showMuteBtn,E=e.danmuBtn,x=e.showFullscreenBtn,k=e.nativeProps;var T=a(p||v||null);return i(n,{class:s("taro-video-container",{"taro-video-type-fullscreen":A}),onTouchStart:this.onTouchStartContainer,onClick:this.onClickContainer},i("video",Object.assign({class:"taro-video-video",style:{"object-fit":h},ref:function(e){if(e){t.videoRef=e}},src:o,autoplay:l,loop:u,muted:c,poster:r?d:undefined,playsinline:true,"webkit-playsinline":true,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onTimeUpdate:this.handleTimeUpdate,onError:this.handleError,onDurationChange:this.handleDurationChange,onProgress:this.handleProgress,onLoadedMetaData:this.handleLoadedMetaData},k),"暂时不支持播放该视频"),i("taro-video-danmu",{ref:function(e){if(e){t.danmuRef=e}},enable:y}),g&&b&&!m&&i("div",{class:"taro-video-cover"},i("div",{class:"taro-video-cover-play-button",onClick:function(){return t.play()}}),i("p",{class:"taro-video-cover-duration"},T)),i("taro-video-control",{ref:function(e){if(e){t.controlsRef=e}},controls:r,currentTime:this.currentTime,duration:this.duration||this._duration||undefined,isPlaying:this.isPlaying,pauseFunc:this._pause,playFunc:this._play,seekFunc:this._seek,showPlayBtn:this.showPlayBtn,showProgress:this.showProgress},w&&i("div",{class:s("taro-video-mute",{"taro-video-type-mute":f}),onClick:this.toggleMute}),E&&i("div",{class:s("taro-video-danmu-button",{"taro-video-danmu-button-active":y}),onClick:this.toggleDanmu},"弹幕"),x&&i("div",{class:s("taro-video-fullscreen",{"taro-video-type-fullscreen":A}),onClick:this.onClickFullScreenBtn})),i("div",{class:"taro-video-toast taro-video-toast-volume",ref:function(e){if(e){t.toastVolumeRef=e}}},i("div",{class:"taro-video-toast-title"},"音量"),i("div",{class:"taro-video-toast-icon"}),i("div",{class:"taro-video-toast-value"},i("div",{class:"taro-video-toast-value-content",ref:function(e){if(e){t.toastVolumeBarRef=e}}},i("div",{class:"taro-video-toast-volume-grids"},Array(10).fill(1).map((function(){return i("div",{class:"taro-video-toast-volume-grids-item"})})))))),i("div",{class:"taro-video-toast taro-video-toast-progress",ref:function(e){if(e){t.toastProgressRef=e}}},i("div",{class:"taro-video-toast-title",ref:function(e){if(e){t.toastProgressTitleRef=e}}})))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{enableDanmu:["watchEnableDanmu"]}},enumerable:false,configurable:true});return t}());p.style=f;var v=undefined&&undefined.__awaiter||function(t,e,i,n){function o(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function s(t){try{l(n.next(t))}catch(t){r(t)}}function a(t){try{l(n["throw"](t))}catch(t){r(t)}}function l(t){t.done?i(t.value):o(t.value).then(s,a)}l((n=n.apply(t,e||[])).next())}))};var b=t("taro_video_danmu",function(){function t(t){e(this,t);this.list=[];this.danmuElList=[];this.currentTime=0;this.enable=false;this.danmuList=[]}t.prototype.ensureProperties=function(t){var e=Object.assign({},t);if(!("time"in t)){e.time=this.currentTime}e.key=Math.random();e.bottom=Math.random()*90+5+"%";return e};t.prototype.sendDanmu=function(t){if(t===void 0){t=[]}return v(this,void 0,void 0,(function(){var e;var i=this;return __generator(this,(function(n){if(Array.isArray(t)){this.list=__spreadArray(__spreadArray([],this.list),t.map((function(t){return i.ensureProperties(t)})))}else{e=t;this.list=__spreadArray(__spreadArray([],this.list),[Object.assign({},this.ensureProperties(e))])}return[2]}))}))};t.prototype.tick=function(t){return v(this,void 0,void 0,(function(){var e,i,n,o;return __generator(this,(function(r){this.currentTime=t;if(!this.enable)return[2];e=this.list;i=e.filter((function(e){var i=e.time;return t-i<4&&t>i}));n=false;o=this.danmuList;if(i.length!==o.length){n=true}else{n=i.some((function(t){var e=t.key;return o.every((function(t){return e!==t.key}))}))}if(n){this.danmuList=i}return[2]}))}))};t.prototype.componentDidUpdate=function(){var t=this;requestAnimationFrame((function(){setTimeout((function(){var e=t.danmuElList.splice(0);e.forEach((function(t){t.style.left="0";t.style.webkitTransform="translateX(-100%)";t.style.transform="translateX(-100%)"}))}))}))};t.prototype.render=function(){var t=this;if(!this.enable)return"";return i(n,{class:"taro-video-danmu"},this.danmuList.map((function(e){var n=e.text,o=e.color,r=e.bottom,s=e.key;return i("p",{class:"taro-video-danmu-item",key:s,style:{color:o,bottom:r},ref:function(e){if(e){t.danmuElList.push(e)}}},n)})))};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r as e,h as t,H as s}from"./p-f05e1558.js";import{c as r}from"./p-37cfdd8f.js";let o=class{constructor(t){e(this,t),this.selectable=!1}render(){const e=r({"taro-text__selectable":this.selectable});return t(s,{class:e},t("slot",null))}};o.style="taro-text-core{display:inline;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;white-space:pre-wrap}.taro-text__selectable{-moz-user-select:text;-webkit-user-select:text;-ms-user-select:text;user-select:text}";export{o as taro_text_core}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i,H as o,g as s}from"./p-f05e1558.js";let n=class{constructor(i){t(this,i),this.onChange=e(this,"checkboxchange",7),this.value="",this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1,this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:this.value})}}watchId(t){this.isWillLoadCalled&&t&&this.inputEl.setAttribute("id",t)}componentWillLoad(){this.isWillLoadCalled=!0}componentDidRender(){this.id&&this.el.removeAttribute("id")}render(){const{checked:t,name:e,color:s,value:n,disabled:r,nativeProps:c}=this;return i(o,{className:"weui-cells_checkbox"},i("input",Object.assign({ref:t=>{t&&(this.inputEl=t,this.id&&t.setAttribute("id",this.id))},type:"checkbox",value:n,name:e,class:"taro-checkbox_checked",style:{color:s},checked:t,disabled:r,onChange:this.handleChange},c)),i("slot",null))}get el(){return s(this)}static get watchers(){return{id:["watchId"]}}};n.style='@charset "UTF-8";.taro-checkbox{position:relative;display:inline-block}.taro-checkbox_checked{display:inline-block;min-height:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;font-size:23px;border:1px solid #d1d1d1;background-color:#ffffff;border-radius:3px;color:#1AAD19;width:23px;height:23px;position:relative;vertical-align:0;top:5px}.taro-checkbox_checked:checked::before{font-family:"weui";font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-align:center;speak:none;display:inline-block;vertical-align:middle;text-decoration:inherit;content:"";color:inherit;font-size:inherit;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -48%) scale(0.73);transform:translate(-50%, -48%) scale(0.73)}';let r=class{constructor(i){t(this,i),this.onChange=e(this,"change",7),this.uniqueName=Date.now().toString(36)}function(t){if(t.stopPropagation(),"TARO-CHECKBOX-CORE"!==t.target.tagName)return;const e=this.el.querySelectorAll("taro-checkbox-core");this.value=this.getValues(e),this.onChange.emit({value:this.value})}componentDidLoad(){this.el.querySelectorAll("taro-checkbox-core").forEach((t=>{t.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!this.value){const t=this.el.querySelectorAll("taro-checkbox-core");this.value=this.getValues(t)}return this.value},configurable:!0})}getValues(t){return Array.from(t).filter((t=>{const e=t.querySelector("input");return null==e?void 0:e.checked})).map((t=>t.value))}render(){return i(o,null)}get el(){return s(this)}};export{n as taro_checkbox_core,r as taro_checkbox_group_core}
@@ -1 +0,0 @@
1
- System.register(["./p-b2d01686.system.js","./p-94c20f60.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{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;color:#000000;background-color:#F8F8F8;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);overflow:hidden;width:100%;border-width:0;outline:0;-webkit-appearance:none}taro-button-core:not([disabled]):active{color:rgba(0, 0, 0, 0.6);background-color:#DEDEDE}taro-button-core:focus{outline:0}taro-button-core:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0, 0, 0, 0.2);-webkit-transform:scale(0.5);transform:scale(0.5);-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:10px}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{color:#000000;background-color:#F8F8F8}taro-button-core[type=default]:not([disabled]):visited{color:#000000}taro-button-core[type=default]:not([disabled]):active{color:rgba(0, 0, 0, 0.6);background-color:#DEDEDE}taro-button-core[size=mini]{width:auto;display:inline-block;padding:0 1.32em;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]{color:rgba(0, 0, 0, 0.3);background-color:#F7F7F7}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]{color:#1aad19;border:1px solid #1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{color:rgba(26, 173, 25, 0.6);border-color:rgba(26, 173, 25, 0.6);background-color:transparent}taro-button-core[plain][type=primary]:after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{color:#353535;border:1px solid #353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{color:rgba(53, 53, 53, 0.6);border-color:rgba(53, 53, 53, 0.6);background-color:transparent}taro-button-core[plain]:after,taro-button-core[plain][type=default]:after{border-width:0}taro-button-core[type=primary]{color:#fff;background-color:#1AAD19}taro-button-core[type=primary]:not([disabled]):visited{color:#FFFFFF}taro-button-core[type=primary]:not([disabled]):active{color:rgba(255, 255, 255, 0.6);background-color:#179B16}taro-button-core[type=warn]{color:#fff;background-color:#E64340}taro-button-core[type=warn]:not([disabled]):visited{color:#FFFFFF}taro-button-core[type=warn]:not([disabled]):active{color:rgba(255, 255, 255, 0.6);background-color:#CE3C39}taro-button-core[plain][disabled]{color:rgba(0, 0, 0, 0.3);border:1px solid rgba(0, 0, 0, 0.2);background-color:#F7F7F7}taro-button-core[plain][disabled][type=primary]{color:rgba(0, 0, 0, 0.3);border:1px solid rgba(0, 0, 0, 0.2);background-color:#F7F7F7}';var l=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,l=t.size,b=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:b,loading:d,size:l,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}());l.style=c}}}));
@@ -1 +0,0 @@
1
- import{h as t,r as a,c as r,H as e,g as s}from"./p-f05e1558.js";import o from"@tarojs/taro";import{c as i}from"./p-37cfdd8f.js";function h(t){return"/"===t.charAt(0)}function n(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 b=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},l=({index:a,isSelected:r=!1,textColor:e,iconPath:s,badgeText:o,showRedDot:h=!1,text:n,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),h&&t("span",{class:"weui-badge weui-badge_dot",style:{position:"absolute",top:"0",right:"-6px"}})),t("p",{class:"weui-tabbar__label",style:{color:e}},n))},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])=>b(a).path===b(t).path));return a.length?a[0][0]:t},this.getSelectedIndex=t=>{let a=-1;return this.list.forEach((({pagePath:r},e)=>{b(t).path===b(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),b=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];"."===_?n(s,c):".."===_?(n(s,c),d++):d&&(n(s,c),d--)}if(!b)for(;d--;d)s.unshift("..");!b||""===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=>{let a,r;if(t&&(a=t.toLocation),a&&a.path){const t=d(a.path);r=c("/"===t?this.homePage:t,this.conf.basename||"/")}else r=this.getCurrentUrl();this.selectedIndex=this.getSelectedIndex(this.getOriginUrl(r))},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"/"===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||""}},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;height:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.taro-tabbar__panel{-ms-flex:1;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;height:50px;width:100%;-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}.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}
@@ -1 +0,0 @@
1
- import{r,h as t}from"./p-f05e1558.js";let l=class{constructor(t){r(this,t)}render(){return t("label",{htmlFor:this.for},t("slot",null))}};export{l as taro_label_core}
@@ -1 +0,0 @@
1
- let e,t,l=!1,n=!1,o=!1,s=!1;const i="undefined"!=typeof window?window:{},c=i.document||{head:{}},r={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,l,n)=>e.addEventListener(t,l,n),rel:(e,t,l,n)=>e.removeEventListener(t,l,n),ce:(e,t)=>new CustomEvent(e,t)},f=e=>Promise.resolve(e),a=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),u=(e,t,l)=>{l&&l.map((([l,n,o])=>{const s=$(e,l),i=d(t,o),c=p(l);r.ael(s,n,i,c),(t.o=t.o||[]).push((()=>r.rel(s,n,i,c)))}))},d=(e,t)=>l=>{try{256&e.t?e.i[t](l):(e.u=e.u||[]).push([t,l])}catch(e){fe(e)}},$=(e,t)=>4&t?c:e,p=e=>0!=(2&e),y="http://www.w3.org/1999/xlink",h=new WeakMap,m=e=>"sc-"+e.$,b={},w=e=>"object"==(e=typeof e)||"function"===e,v=(e,t,...l)=>{let n=null,o=null,s=null,i=!1,c=!1,r=[];const f=t=>{for(let l=0;l<t.length;l++)n=t[l],Array.isArray(n)?f(n):null!=n&&"boolean"!=typeof n&&((i="function"!=typeof e&&!w(n))&&(n+=""),i&&c?r[r.length-1].p+=n:r.push(i?k(null,n):n),c=i)};if(f(l),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,S);const a=k(e,null);return a.h=t,r.length>0&&(a.m=r),a.v=o,a.k=s,a},k=(e,t)=>({t:0,g:e,p:t,S:null,m:null,h:null,v:null,k:null}),g={},S={forEach:(e,t)=>e.map(j).forEach(t),map:(e,t)=>e.map(j).map(t).map(M)},j=e=>({vattrs:e.h,vchildren:e.m,vkey:e.v,vname:e.k,vtag:e.g,vtext:e.p}),M=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),v(e.vtag,t,...e.vchildren||[])}const t=k(e.vtag,e.vtext);return t.h=e.vattrs,t.m=e.vchildren,t.v=e.vkey,t.k=e.vname,t},O=(e,t,l,n,o,s)=>{if(l!==n){let c=re(e,t),f=t.toLowerCase();if("class"===t){const t=e.classList,o=x(l),s=x(n);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in l)n&&null!=n[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in n)l&&n[t]===l[t]||(t.includes("-")?e.style.setProperty(t,n[t]):e.style[t]=n[t])}else if("key"===t);else if("ref"===t)n&&n(e);else if(c||"o"!==t[0]||"n"!==t[1]){const i=w(n);if((c||i&&null!==n)&&!o)try{if(e.tagName.includes("-"))e[t]=n;else{let o=null==n?"":n;"list"===t?c=!1:null!=l&&e[t]==o||(e[t]=o)}}catch(e){}let r=!1;f!==(f=f.replace(/^xlink\:?/,""))&&(t=f,r=!0),null==n||!1===n?!1===n&&""!==e.getAttribute(t)||(r?e.removeAttributeNS(y,t):e.removeAttribute(t)):(!c||4&s||o)&&!i&&(n=!0===n?"":n,r?e.setAttributeNS(y,t,n):e.setAttribute(t,n))}else t="-"===t[2]?t.slice(3):re(i,f)?f.slice(2):f[2]+t.slice(3),l&&r.rel(e,t,l,!1),n&&r.ael(e,t,n,!1)}},C=/\s/,x=e=>e?e.split(C):[],R=(e,t,l,n)=>{const o=11===t.S.nodeType&&t.S.host?t.S.host:t.S,s=e&&e.h||b,i=t.h||b;for(n in s)n in i||O(o,n,s[n],void 0,l,t.t);for(n in i)O(o,n,s[n],i[n],l,t.t)},P=(n,s,i)=>{let r,f,a,u=s.m[i],d=0;if(l||(o=!0,"slot"===u.g&&(u.t|=u.m?2:1)),null!==u.p)r=u.S=c.createTextNode(u.p);else if(1&u.t)r=u.S=c.createTextNode("");else if(r=u.S=c.createElement(2&u.t?"slot-fb":u.g),R(null,u,!1),u.m)for(d=0;d<u.m.length;++d)f=P(n,u,d),f&&r.appendChild(f);return r["s-hn"]=t,3&u.t&&(r["s-sr"]=!0,r["s-cr"]=e,r["s-sn"]=u.k||"",a=n&&n.m&&n.m[i],a&&a.g===u.g&&n.S&&T(n.S,!1)),r},T=(e,l)=>{r.t|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const s=n[e];s["s-hn"]!==t&&s["s-ol"]&&(D(s).insertBefore(s,W(s)),s["s-ol"].remove(),s["s-ol"]=void 0,o=!0),l&&T(s,l)}r.t&=-2},E=(e,t,l,n,o,s)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(;o<=s;++o)n[o]&&(i=P(null,l,o),i&&(n[o].S=i,c.insertBefore(i,W(t))))},L=(e,t,l,o,s)=>{for(;t<=l;++t)(o=e[t])&&(s=o.S,V(o),n=!0,s["s-ol"]?s["s-ol"].remove():T(s,!0),s.remove())},U=(e,t)=>e.g===t.g&&("slot"===e.g?e.k===t.k:e.v===t.v),W=e=>e&&e["s-ol"]||e,D=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,A=(e,t)=>{const l=t.S=e.S,n=e.m,o=t.m,s=t.p;let i;null===s?("slot"===t.g||R(e,t,!1),null!==n&&null!==o?((e,t,l,n)=>{let o,s,i=0,c=0,r=0,f=0,a=t.length-1,u=t[0],d=t[a],$=n.length-1,p=n[0],y=n[$];for(;i<=a&&c<=$;)if(null==u)u=t[++i];else if(null==d)d=t[--a];else if(null==p)p=n[++c];else if(null==y)y=n[--$];else if(U(u,p))A(u,p),u=t[++i],p=n[++c];else if(U(d,y))A(d,y),d=t[--a],y=n[--$];else if(U(u,y))"slot"!==u.g&&"slot"!==y.g||T(u.S.parentNode,!1),A(u,y),e.insertBefore(u.S,d.S.nextSibling),u=t[++i],y=n[--$];else if(U(d,p))"slot"!==u.g&&"slot"!==y.g||T(d.S.parentNode,!1),A(d,p),e.insertBefore(d.S,u.S),d=t[--a],p=n[++c];else{for(r=-1,f=i;f<=a;++f)if(t[f]&&null!==t[f].v&&t[f].v===p.v){r=f;break}r>=0?(s=t[r],s.g!==p.g?o=P(t&&t[c],l,r):(A(s,p),t[r]=void 0,o=s.S),p=n[++c]):(o=P(t&&t[c],l,c),p=n[++c]),o&&D(u.S).insertBefore(o,W(u.S))}i>a?E(e,null==n[$+1]?null:n[$+1].S,l,n,c,$):c>$&&L(t,i,a)})(l,n,t,o):null!==o?(null!==e.p&&(l.textContent=""),E(l,null,t,o,0,o.length-1)):null!==n&&L(n,0,n.length-1)):(i=l["s-cr"])?i.parentNode.textContent=s:e.p!==s&&(l.data=s)},F=e=>{let t,l,n,o,s,i,c=e.childNodes;for(l=0,n=c.length;l<n;l++)if(t=c[l],1===t.nodeType){if(t["s-sr"])for(s=t["s-sn"],t.hidden=!1,o=0;o<n;o++)if(i=c[o].nodeType,c[o]["s-hn"]!==t["s-hn"]||""!==s){if(1===i&&s===c[o].getAttribute("slot")){t.hidden=!0;break}}else if(1===i||3===i&&""!==c[o].textContent.trim()){t.hidden=!0;break}F(t)}},H=[],N=e=>{let t,l,o,s,i,c,r=0,f=e.childNodes,a=f.length;for(;r<a;r++){if(t=f[r],t["s-sr"]&&(l=t["s-cr"])&&l.parentNode)for(o=l.parentNode.childNodes,s=t["s-sn"],c=o.length-1;c>=0;c--)l=o[c],l["s-cn"]||l["s-nr"]||l["s-hn"]===t["s-hn"]||(q(l,s)?(i=H.find((e=>e.j===l)),n=!0,l["s-sn"]=l["s-sn"]||s,i?i.M=t:H.push({M:t,j:l}),l["s-sr"]&&H.map((e=>{q(e.j,l["s-sn"])&&(i=H.find((e=>e.j===l)),i&&!e.M&&(e.M=i.M))}))):H.some((e=>e.j===l))||H.push({j:l}));1===t.nodeType&&N(t)}},q=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,V=e=>{e.h&&e.h.ref&&e.h.ref(null),e.m&&e.m.map(V)},_=e=>se(e).O,z=(e,t,l)=>{const n=_(e);return{emit:e=>B(n,t,{bubbles:!!(4&l),composed:!!(2&l),cancelable:!!(1&l),detail:e})}},B=(e,t,l)=>{const n=r.ce(t,l);return e.dispatchEvent(n),n},G=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},I=(e,t)=>{if(e.t|=16,!(4&e.t))return G(e,e.R),we((()=>J(e,t)));e.t|=512},J=(e,t)=>{const l=e.i;let n;return t?(e.t|=256,e.u&&(e.u.map((([e,t])=>Z(l,e,t))),e.u=null),n=Z(l,"componentWillLoad")):n=Z(l,"componentWillUpdate"),ee(n,(()=>K(e,l,t)))},K=async(e,t,l)=>{const n=e.O,o=n["s-rc"];l&&(e=>{const t=e.P;((e,t)=>{let l=m(t),n=de.get(l);if(e=11===e.nodeType?e:c,n)if("string"==typeof n){let t,o=h.get(e=e.head||e);o||h.set(e,o=new Set),o.has(l)||(t=c.createElement("style"),t.innerHTML=n,e.insertBefore(t,e.querySelector("link")),o&&o.add(l))}else e.adoptedStyleSheets.includes(n)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,n])})(e.O.getRootNode(),t)})(e);Q(e,t),o&&(o.map((e=>e())),n["s-rc"]=void 0);{const t=n["s-p"],l=()=>X(e);0===t.length?l():(Promise.all(t).then(l),e.t|=4,t.length=0)}},Q=(s,i)=>{try{i=i.render(),s.t&=-17,s.t|=2,((s,i)=>{const f=s.O,a=s.P,u=s.T||k(null,null),d=(e=>e&&e.g===g)(i)?i:v(null,null,i);if(t=f.tagName,d.g=null,d.t|=4,s.T=d,d.S=u.S=f,e=f["s-cr"],l=0!=(1&a.t),n=!1,A(u,d),r.t|=1,o){let e,t,l,n,o,s;N(d.S);let i=0;for(;i<H.length;i++)e=H[i],t=e.j,t["s-ol"]||(l=c.createTextNode(""),l["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=l,t));for(i=0;i<H.length;i++)if(e=H[i],t=e.j,e.M){for(n=e.M.parentNode,o=e.M.nextSibling,l=t["s-ol"];l=l.previousSibling;)if(s=l["s-nr"],s&&s["s-sn"]===t["s-sn"]&&n===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&n!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),n.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}n&&F(d.S),r.t&=-2,H.length=0})(s,i)}catch(e){fe(e,s.O)}return null},X=e=>{const t=e.O,l=e.i,n=e.R;Z(l,"componentDidRender"),64&e.t?Z(l,"componentDidUpdate"):(e.t|=64,te(t),Z(l,"componentDidLoad"),e.L(t),n||Y()),e.U(t),e.C&&(e.C(),e.C=void 0),512&e.t&&be((()=>I(e,!1))),e.t&=-517},Y=()=>{te(c.documentElement),be((()=>B(i,"appload",{detail:{namespace:"taro-components"}})))},Z=(e,t,l)=>{if(e&&e[t])try{return e[t](l)}catch(e){fe(e)}},ee=(e,t)=>e&&e.then?e.then(t):t(),te=e=>e.classList.add("hydrated"),le=(e,t,l)=>{if(t.W){e.watchers&&(t.D=e.watchers);const n=Object.entries(t.W),o=e.prototype;if(n.map((([e,[n]])=>{31&n||2&l&&32&n?Object.defineProperty(o,e,{get(){return((e,t)=>se(this).A.get(t))(0,e)},set(l){((e,t,l,n)=>{const o=se(e),s=o.O,i=o.A.get(t),c=o.t,r=o.i;if(l=((e,t)=>null==e||w(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,n.W[t][0]),!(8&c&&void 0!==i||l===i)&&(o.A.set(t,l),r)){if(n.D&&128&c){const e=n.D[t];e&&e.map((e=>{try{r[e](l,i,t)}catch(e){fe(e,s)}}))}2==(18&c)&&I(o,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&n&&Object.defineProperty(o,e,{value(...t){const l=se(this);return l.F.then((()=>l.i[e](...t)))}})})),1&l){const t=new Map;o.attributeChangedCallback=function(e,l,n){r.jmp((()=>{const l=t.get(e);this.hasOwnProperty(l)&&(n=this[l],delete this[l]),this[l]=(null!==n||"boolean"!=typeof this[l])&&n}))},e.observedAttributes=n.filter((([e,t])=>15&t[0])).map((([e,l])=>{const n=l[1]||e;return t.set(n,e),n}))}}return e},ne=(e,t={})=>{const l=[],n=t.exclude||[],o=i.customElements,s=c.head,f=s.querySelector("meta[charset]"),d=c.createElement("style"),$=[];let p,y=!0;Object.assign(r,t),r.l=new URL(t.resourcesUrl||"./",c.baseURI).href,e.map((e=>e[1].map((t=>{const s={t:t[0],$:t[1],W:t[2],H:t[3]};s.W=t[2],s.H=t[3],s.D={};const i=s.$,f=class extends HTMLElement{constructor(e){super(e),ce(e=this,s)}connectedCallback(){p&&(clearTimeout(p),p=null),y?$.push(this):r.jmp((()=>(e=>{if(0==(1&r.t)){const t=se(e),l=t.P,n=()=>{};if(1&t.t)u(e,t,l.H);else{t.t|=1,12&l.t&&(e=>{const t=e["s-cr"]=c.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let l=e;for(;l=l.parentNode||l.host;)if(l["s-p"]){G(t,t.R=l);break}}l.W&&Object.entries(l.W).map((([t,[l]])=>{if(31&l&&e.hasOwnProperty(t)){const l=e[t];delete e[t],e[t]=l}})),(async(e,t,l,n,o)=>{if(0==(32&t.t)){{if(t.t|=32,(o=ue(l)).then){const e=()=>{};o=await o,e()}o.isProxied||(l.D=o.watchers,le(o,l,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(e){fe(e)}t.t&=-9,t.t|=128,e()}if(o.style){let e=o.style;const t=m(l);if(!de.has(t)){const n=()=>{};((e,t,l)=>{let n=de.get(e);a&&l?(n=n||new CSSStyleSheet,n.replace(t)):n=t,de.set(e,n)})(t,e,!!(1&l.t)),n()}}}const s=t.R,i=()=>I(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,l)}n()}})(this)))}disconnectedCallback(){r.jmp((()=>(()=>{if(0==(1&r.t)){const e=se(this),t=e.i;e.o&&(e.o.map((e=>e())),e.o=void 0),Z(t,"disconnectedCallback")}})()))}componentOnReady(){return se(this).N}};s.q=e[0],n.includes(i)||o.get(i)||(l.push(i),o.define(i,le(f,s,1)))})))),d.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),s.insertBefore(d,f?f.nextSibling:s.firstChild),y=!1,$.length?$.map((e=>e.connectedCallback())):r.jmp((()=>p=setTimeout(Y,30)))},oe=new WeakMap,se=e=>oe.get(e),ie=(e,t)=>oe.set(t.i=e,t),ce=(e,t)=>{const l={t:0,O:e,P:t,A:new Map};return l.F=new Promise((e=>l.U=e)),l.N=new Promise((e=>l.L=e)),e["s-p"]=[],e["s-rc"]=[],u(e,l,t.H),oe.set(e,l)},re=(e,t)=>t in e,fe=(e,t)=>(0,console.error)(e,t),ae=new Map,ue=e=>{const t=e.$.replace(/-/g,"_"),l=e.q,n=ae.get(l);return n?n[t]:import(`./${l}.entry.js`).then((e=>(ae.set(l,e),e[t])),fe)},de=new Map,$e=[],pe=[],ye=(e,t)=>l=>{e.push(l),s||(s=!0,t&&4&r.t?be(me):r.raf(me))},he=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){fe(e)}e.length=0},me=()=>{he($e),he(pe),(s=$e.length>0)&&r.raf(me)},be=e=>f().then(e),we=ye(pe,!0);export{g as H,ne as b,z as c,_ as g,v as h,f as p,ie as r}
@@ -1 +0,0 @@
1
- System.register(["./p-b2d01686.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_picker_view_column_core",function(){function e(e){t(this,e)}e.prototype.componentDidLoad=function(){console.error("H5 暂不支持 PickerViewColumn 组件!")};e.prototype.render=function(){return n(r,null)};return e}())}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-b2d01686.system.js","./p-94c20f60.system.js"],(function(t,i){"use strict";var o,e,r,a,s;return{setters:[function(t){o=t.r;e=t.c;r=t.h;a=t.H},function(t){s=t.c}],execute:function(){var n='img[src=""]{opacity:0}taro-image-core{display:inline-block;overflow:hidden;position:relative;font-size:0;width:auto;height:auto}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{width:100%;position:absolute;bottom:0}.taro-img__mode-left{height:100%}.taro-img__mode-right{position:absolute;height:100%;right:0}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;right:0;bottom:0}';i.import("./p-3b1d2d37.system.js");var h=t("taro_image_core",function(){function t(t){o(this,t);this.onLoad=e(this,"load",7);this.onError=e(this,"error",7);this.mode="scaleToFill";this.lazyLoad=false;this.nativeProps={};this.aspectFillMode="width"}t.prototype.componentDidLoad=function(){var t=this;if(!this.lazyLoad)return;var i=new IntersectionObserver((function(o){if(o[o.length-1].isIntersecting){i.unobserve(t.imgRef);t.imgRef.src=t.src}}),{rootMargin:"300px 0px"});i.observe(this.imgRef)};t.prototype.imageOnLoad=function(){var t=this.imgRef,i=t.width,o=t.height,e=t.naturalWidth,r=t.naturalHeight;this.onLoad.emit({width:i,height:o});this.aspectFillMode=e>r?"width":"height"};t.prototype.imageOnError=function(){this.onError.emit()};t.prototype.render=function(){var t;var i=this;var o=this,e=o.src,n=o.mode,h=n===void 0?"scaleToFill":n,m=o.lazyLoad,d=m===void 0?false:m,g=o.aspectFillMode,l=g===void 0?"width":g,c=o.imageOnLoad,f=o.imageOnError,p=o.nativeProps;var _=s({"taro-img__widthfix":h==="widthFix"});var u=s("taro-img__mode-"+h.toLowerCase().replace(/\s/g,""),(t={},t["taro-img__mode-aspectfill--"+l]=h==="aspectFill",t));return r(a,{class:_},d?r("img",Object.assign({ref:function(t){return i.imgRef=t},class:u,onLoad:c.bind(this),onError:f.bind(this)},p)):r("img",Object.assign({ref:function(t){return i.imgRef=t},class:u,src:e,onLoad:c.bind(this),onError:f.bind(this)},p)))};return t}());h.style=n}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-b2d01686.system.js","./p-94c20f60.system.js"],(function(l){"use strict";var o,r,t,e,s,i;return{setters:[function(l){o=l.r;r=l.c;t=l.h;e=l.H;s=l.g},function(l){i=l.c}],execute:function(){var c="taro-scroll-view-core{display:block;width:100%;-webkit-overflow-scrolling:auto}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow-x:scroll;overflow-y:hidden}.taro-scroll-view__scroll-y{overflow-x:hidden;overflow-y:scroll}";function n(l,o,r){if(l===o||typeof l!=="number"){return}var t=o-l;var e=500;var s=Date.now();var i=o>=l;function c(l,o,r,t){return r*l/t+o}function n(){l=c(Date.now()-s,l,t,e);if(i&&l>=o||!i&&o>=l){r(o);return}r(l);requestAnimationFrame(n)}n()}function f(l,o){var r;return function(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}clearTimeout(r);r=setTimeout((function(){l.apply(void 0,t)}),o)}}var h=l("taro_scroll_view_core",function(){function l(l){var t=this;o(this,l);this.onScroll=r(this,"scroll",3);this.onScrollToUpper=r(this,"scrolltoupper",3);this.onScrollToLower=r(this,"scrolltolower",3);this.scrollX=false;this.scrollY=false;this.upperThreshold=50;this.lowerThreshold=50;this.scrollWithAnimation=false;this.handleScroll=function(l){if(l instanceof CustomEvent)return;var o=t.el,r=o.scrollLeft,e=o.scrollTop,s=o.scrollHeight,i=o.scrollWidth;t._scrollLeft=r;t._scrollTop=e;t.uperAndLower();t.onScroll.emit({scrollLeft:r,scrollTop:e,scrollHeight:s,scrollWidth:i})};this.uperAndLower=f((function(){var l=t.el,o=l.offsetWidth,r=l.offsetHeight,e=l.scrollLeft,s=l.scrollTop,i=l.scrollHeight,c=l.scrollWidth;var n=Number(t.lowerThreshold);var f=Number(t.upperThreshold);if(!isNaN(n)&&(t.scrollY&&r+s+n>=i||t.scrollX&&o+e+n>=c)){t.onScrollToLower.emit({direction:t.scrollX?"right":t.scrollY?"bottom":""})}if(!isNaN(f)&&(t.scrollY&&s<=f||t.scrollX&&e<=f)){t.onScrollToUpper.emit({direction:t.scrollX?"left":t.scrollY?"top":""})}}),200)}l.prototype.watchScrollLeft=function(l){var o=this;var r=Number(l);if(this.scrollX&&!isNaN(r)&&r!==this._scrollLeft){if(this.scrollWithAnimation){n(this._scrollLeft,r,(function(l){return o.el.scrollLeft=l}))}else{this.el.scrollLeft=r}this._scrollLeft=r}};l.prototype.watchScrollTop=function(l){var o=this;var r=Number(l);if(this.scrollY&&!isNaN(r)&&r!==this._scrollTop){if(this.scrollWithAnimation){n(this._scrollTop,r,(function(l){return o.el.scrollTop=l}))}else{this.el.scrollTop=r}this._scrollTop=r}};l.prototype.watchScrollIntoView=function(l){var o;if(typeof l==="string"&&l){(o=document.querySelector("#"+l))===null||o===void 0?void 0:o.scrollIntoView({behavior:"smooth",block:"center",inline:"start"})}};l.prototype.componentDidLoad=function(){var l=this;var o=this,r=o.scrollY,t=o.scrollX,e=o.scrollWithAnimation;var s=Number(this.mpScrollTop);var i=Number(this.mpScrollLeft);if(r&&!isNaN(s)){if(e){n(0,s,(function(o){return l.el.scrollTop=o}))}else{this.el.scrollTop=s}this._scrollTop=s}if(t&&!isNaN(i)){if(e){n(0,i,(function(o){return l.el.scrollLeft=o}))}else{this.el.scrollLeft=i}this._scrollLeft=i}};l.prototype.render=function(){var l=this,o=l.scrollX,r=l.scrollY;var s=i({"taro-scroll-view__scroll-x":o,"taro-scroll-view__scroll-y":r});return t(e,{class:s,onScroll:this.handleScroll},t("slot",null))};Object.defineProperty(l.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(l,"watchers",{get:function(){return{mpScrollLeft:["watchScrollLeft"],mpScrollTop:["watchScrollTop"],mpScrollIntoView:["watchScrollIntoView"]}},enumerable:false,configurable:true});return l}());h.style=c}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-b2d01686.system.js"],(function(e){"use strict";var t,n,o,r,i;return{setters:[function(e){t=e.r;n=e.c;o=e.h;r=e.H;i=e.g}],execute:function(){var a='@charset "UTF-8";.taro-checkbox{position:relative;display:inline-block}.taro-checkbox_checked{display:inline-block;min-height:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;font-size:23px;border:1px solid #d1d1d1;background-color:#ffffff;border-radius:3px;color:#1AAD19;width:23px;height:23px;position:relative;vertical-align:0;top:5px}.taro-checkbox_checked:checked::before{font-family:"weui";font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-align:center;speak:none;display:inline-block;vertical-align:middle;text-decoration:inherit;content:"";color:inherit;font-size:inherit;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -48%) scale(0.73);transform:translate(-50%, -48%) scale(0.73)}';var c=e("taro_checkbox_core",function(){function e(e){var o=this;t(this,e);this.onChange=n(this,"checkboxchange",7);this.value="";this.checked=false;this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false;this.handleChange=function(e){e.stopPropagation();o.onChange.emit({value:o.value})}}e.prototype.watchId=function(e){if(!this.isWillLoadCalled)return;if(e)this.inputEl.setAttribute("id",e)};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true};e.prototype.componentDidRender=function(){this.id&&this.el.removeAttribute("id")};e.prototype.render=function(){var e=this;var t=this,n=t.checked,i=t.name,a=t.color,c=t.value,l=t.disabled,u=t.nativeProps;return o(r,{className:"weui-cells_checkbox"},o("input",Object.assign({ref:function(t){if(!t)return;e.inputEl=t;if(e.id)t.setAttribute("id",e.id)},type:"checkbox",value:c,name:i,class:"taro-checkbox_checked",style:{color:a},checked:n,disabled:l,onChange:this.handleChange},u)),o("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{id:["watchId"]}},enumerable:false,configurable:true});return e}());c.style=a;var l=e("taro_checkbox_group_core",function(){function e(e){t(this,e);this.onChange=n(this,"change",7);this.uniqueName=Date.now().toString(36)}e.prototype.function=function(e){e.stopPropagation();if(e.target.tagName!=="TARO-CHECKBOX-CORE")return;var t=this.el.querySelectorAll("taro-checkbox-core");this.value=this.getValues(t);this.onChange.emit({value:this.value})};e.prototype.componentDidLoad=function(){var e=this;var t=this.el.querySelectorAll("taro-checkbox-core");t.forEach((function(t){t.setAttribute("name",e.name||e.uniqueName)}));Object.defineProperty(this.el,"value",{get:function(){if(!e.value){var t=e.el.querySelectorAll("taro-checkbox-core");e.value=e.getValues(t)}return e.value},configurable:true})};e.prototype.getValues=function(e){return Array.from(e).filter((function(e){var t=e.querySelector("input");return t===null||t===void 0?void 0:t.checked})).map((function(e){return e.value}))};e.prototype.render=function(){return o(r,null)};Object.defineProperty(e.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return e}())}}}));
@@ -1,19 +0,0 @@
1
- export var simpleComponents = ['taro-view', 'taro-rich-text', 'taro-button', 'taro-checkbox-group', 'taro-editor', 'taro-form', 'taro-label', 'taro-picker-view', 'taro-picker-view-column', 'taro-cover-image', 'taro-cover-view', 'taro-movable-area', 'taro-movable-view', 'taro-swiper', 'taro-functional-page-navigator', 'taro-navigator', 'taro-audio', 'taro-camera', 'taro-live-player', 'taro-map', 'taro-ad', 'taro-official-account', 'taro-open-data', 'taro-web-view', 'taro-navigation-bar', 'taro-block', 'taro-canvas', 'taro-custom-wrapper', {
2
- name: 'taro-checkbox',
3
- classNames: ['weui-cells_checkbox']
4
- }, {
5
- name: 'taro-progress',
6
- classNames: ['weui-progress']
7
- }, {
8
- name: 'taro-radio-group',
9
- classNames: ['weui-cells_radiogroup']
10
- }, {
11
- name: 'taro-radio',
12
- classNames: ['weui-cells_checkbox']
13
- }, {
14
- name: 'taro-swiper-item',
15
- classNames: ['swiper-slide']
16
- }, {
17
- name: 'taro-video',
18
- classNames: ['taro-video-container']
19
- }];