@tarojs/components 3.5.0-alpha.1 → 3.5.0-alpha.12

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 (342) hide show
  1. package/README.md +2 -0
  2. package/dist/cjs/{index-dd4b7ba3.js → index-cd258c8b.js} +62 -53
  3. package/dist/{esm/index-3c78bcaf.js → cjs/index-dffbd352.js} +12 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  6. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  7. package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
  10. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  11. package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
  13. package/dist/cjs/taro-components.cjs.js +2 -2
  14. package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
  15. package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
  16. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  17. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  18. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  20. package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
  21. package/dist/cjs/taro-image-core.cjs.entry.js +2 -2
  22. package/dist/cjs/taro-input-core.cjs.entry.js +1 -1
  23. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  24. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  25. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-movable-area-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-movable-view-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  32. package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
  33. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  34. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  35. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  36. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  37. package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
  38. package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +1 -1
  39. package/dist/cjs/taro-picker-view-core.cjs.entry.js +2 -2
  40. package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
  41. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +2 -2
  42. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  43. package/dist/cjs/taro-rich-text-core.cjs.entry.js +1 -1
  44. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +2 -2
  45. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  46. package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +2 -2
  49. package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
  50. package/dist/cjs/taro-tabbar.cjs.entry.js +2 -2
  51. package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
  52. package/dist/cjs/taro-textarea-core.cjs.entry.js +1 -1
  53. package/dist/cjs/taro-video-control_3.cjs.entry.js +27674 -23
  54. package/dist/cjs/taro-view-core.cjs.entry.js +2 -2
  55. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  56. package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
  57. package/dist/collection/collection-manifest.json +2 -2
  58. package/dist/collection/components/checkbox/style/index.css +1 -2
  59. package/dist/collection/components/video/utils.js +4 -3
  60. package/dist/collection/components/video/video-control.js +6 -6
  61. package/dist/collection/components/video/video.js +47 -7
  62. package/dist/esm/{index-5bd7cbab.js → index-1d67274c.js} +62 -53
  63. package/dist/{cjs/index-b9715722.js → esm/index-cd1a2d33.js} +6 -2
  64. package/dist/esm/loader.js +2 -2
  65. package/dist/esm/taro-ad-core.entry.js +1 -1
  66. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  67. package/dist/esm/taro-audio-core.entry.js +1 -1
  68. package/dist/esm/taro-block-core.entry.js +1 -1
  69. package/dist/esm/taro-button-core.entry.js +2 -2
  70. package/dist/esm/taro-camera-core.entry.js +1 -1
  71. package/dist/esm/taro-canvas-core.entry.js +1 -1
  72. package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
  73. package/dist/esm/taro-components.js +2 -2
  74. package/dist/esm/taro-cover-image-core.entry.js +1 -1
  75. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  76. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  77. package/dist/esm/taro-editor-core.entry.js +1 -1
  78. package/dist/esm/taro-form-core.entry.js +1 -1
  79. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  80. package/dist/esm/taro-icon-core.entry.js +2 -2
  81. package/dist/esm/taro-image-core.entry.js +2 -2
  82. package/dist/esm/taro-input-core.entry.js +1 -1
  83. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  84. package/dist/esm/taro-label-core.entry.js +1 -1
  85. package/dist/esm/taro-live-player-core.entry.js +1 -1
  86. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  87. package/dist/esm/taro-map-core.entry.js +1 -1
  88. package/dist/esm/taro-match-media-core.entry.js +1 -1
  89. package/dist/esm/taro-movable-area-core.entry.js +1 -1
  90. package/dist/esm/taro-movable-view-core.entry.js +1 -1
  91. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  92. package/dist/esm/taro-navigator-core.entry.js +2 -2
  93. package/dist/esm/taro-official-account-core.entry.js +1 -1
  94. package/dist/esm/taro-open-data-core.entry.js +1 -1
  95. package/dist/esm/taro-page-container-core.entry.js +1 -1
  96. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  97. package/dist/esm/taro-picker-core_2.entry.js +2 -2
  98. package/dist/esm/taro-picker-view-column-core.entry.js +1 -1
  99. package/dist/esm/taro-picker-view-core.entry.js +2 -2
  100. package/dist/esm/taro-progress-core.entry.js +1 -1
  101. package/dist/esm/taro-pull-to-refresh.entry.js +2 -2
  102. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  103. package/dist/esm/taro-rich-text-core.entry.js +1 -1
  104. package/dist/esm/taro-scroll-view-core.entry.js +2 -2
  105. package/dist/esm/taro-share-element-core.entry.js +1 -1
  106. package/dist/esm/taro-slider-core.entry.js +1 -1
  107. package/dist/esm/taro-slot-core.entry.js +1 -1
  108. package/dist/esm/taro-swiper-core_2.entry.js +2 -2
  109. package/dist/esm/taro-switch-core.entry.js +1 -1
  110. package/dist/esm/taro-tabbar.entry.js +2 -2
  111. package/dist/esm/taro-text-core.entry.js +2 -2
  112. package/dist/esm/taro-textarea-core.entry.js +1 -1
  113. package/dist/esm/taro-video-control_3.entry.js +27669 -18
  114. package/dist/esm/taro-view-core.entry.js +2 -2
  115. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  116. package/dist/esm/taro-web-view-core.entry.js +1 -1
  117. package/dist/esm-es5/{index-5bd7cbab.js → index-1d67274c.js} +1 -1
  118. package/dist/esm-es5/index-cd1a2d33.js +7 -0
  119. package/dist/esm-es5/loader.js +1 -1
  120. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  121. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  122. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  123. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  124. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  125. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  126. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  127. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  128. package/dist/esm-es5/taro-components.js +1 -1
  129. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  130. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  131. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  132. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  133. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  134. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  135. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  136. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  137. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  138. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  139. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  140. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  141. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  142. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  143. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  144. package/dist/esm-es5/taro-movable-area-core.entry.js +1 -1
  145. package/dist/esm-es5/taro-movable-view-core.entry.js +1 -1
  146. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  147. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  148. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  149. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  150. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  151. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  152. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  153. package/dist/esm-es5/taro-picker-view-column-core.entry.js +1 -1
  154. package/dist/esm-es5/taro-picker-view-core.entry.js +1 -1
  155. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  156. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  157. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  158. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  159. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  160. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  161. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  162. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  163. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  164. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  165. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  166. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  167. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  168. package/dist/esm-es5/taro-video-control_3.entry.js +365 -1
  169. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  170. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  171. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  172. package/dist/taro-components/{p-06bffead.entry.js → p-06352f55.entry.js} +1 -1
  173. package/dist/taro-components/{p-b6d6c744.entry.js → p-085c4322.entry.js} +1 -1
  174. package/dist/taro-components/{p-3c0230ba.entry.js → p-087d704b.entry.js} +1 -1
  175. package/dist/taro-components/{p-aae3e479.entry.js → p-0afc53da.entry.js} +1 -1
  176. package/dist/taro-components/{p-8f90fca9.system.entry.js → p-13359eb6.system.entry.js} +1 -1
  177. package/dist/taro-components/{p-8e0150eb.system.entry.js → p-1398c59d.system.entry.js} +1 -1
  178. package/dist/taro-components/{p-94502fc3.entry.js → p-13d03572.entry.js} +1 -1
  179. package/dist/taro-components/p-14484d41.entry.js +1 -0
  180. package/dist/taro-components/{p-cea9a198.system.entry.js → p-176374d6.system.entry.js} +1 -1
  181. package/dist/taro-components/{p-1c625d7d.entry.js → p-17b78ad7.entry.js} +1 -1
  182. package/dist/taro-components/{p-0ee69803.entry.js → p-1fbf755f.entry.js} +1 -1
  183. package/dist/taro-components/{p-336f2b2a.system.entry.js → p-221bffa0.system.entry.js} +1 -1
  184. package/dist/taro-components/{p-1b790eb0.system.entry.js → p-24cc05ea.system.entry.js} +1 -1
  185. package/dist/taro-components/{p-4aa4de0f.system.entry.js → p-2afb4d49.system.entry.js} +1 -1
  186. package/dist/taro-components/{p-0c2982fc.system.entry.js → p-2c4dea36.system.entry.js} +1 -1
  187. package/dist/taro-components/{p-5c6aeb55.entry.js → p-34d60fc8.entry.js} +1 -1
  188. package/dist/taro-components/{p-bd3fa355.system.entry.js → p-37ac3d2b.system.entry.js} +1 -1
  189. package/dist/taro-components/{p-2d2f8064.entry.js → p-3b067d1f.entry.js} +1 -1
  190. package/dist/taro-components/{p-7721e046.entry.js → p-3e7aced1.entry.js} +1 -1
  191. package/dist/taro-components/{p-99ed3ed2.system.entry.js → p-3efae2a3.system.entry.js} +1 -1
  192. package/dist/taro-components/{p-b2d01686.system.js → p-44996bd6.system.js} +1 -1
  193. package/dist/taro-components/{p-ebf5b2eb.system.entry.js → p-45574a38.system.entry.js} +1 -1
  194. package/dist/taro-components/{p-cdffee54.system.entry.js → p-45b92229.system.entry.js} +1 -1
  195. package/dist/taro-components/{p-08ea5931.system.entry.js → p-49df1b65.system.entry.js} +1 -1
  196. package/dist/taro-components/{p-964692f7.system.entry.js → p-4a0599c1.system.entry.js} +1 -1
  197. package/dist/taro-components/{p-fdd73355.system.entry.js → p-4cb60cf0.system.entry.js} +1 -1
  198. package/dist/taro-components/{p-98b47fc9.system.entry.js → p-52cbf36e.system.entry.js} +1 -1
  199. package/dist/taro-components/{p-9a618935.system.entry.js → p-546f5965.system.entry.js} +1 -1
  200. package/dist/taro-components/p-549636ca.entry.js +1 -0
  201. package/dist/taro-components/{p-8db237e0.entry.js → p-55646f03.entry.js} +1 -1
  202. package/dist/taro-components/{p-c5a86c19.system.entry.js → p-5656b308.system.entry.js} +1 -1
  203. package/dist/taro-components/{p-e6298500.entry.js → p-58cbfd17.entry.js} +1 -1
  204. package/dist/taro-components/{p-4cd044c4.system.entry.js → p-5e48f1b4.system.entry.js} +1 -1
  205. package/dist/taro-components/{p-1b48afb1.entry.js → p-5f276ea1.entry.js} +1 -1
  206. package/dist/taro-components/p-5f4d0d5b.system.js +7 -0
  207. package/dist/taro-components/{p-cb395e7d.entry.js → p-615b87e8.entry.js} +1 -1
  208. package/dist/taro-components/{p-3643d8f7.system.entry.js → p-617f5e2a.system.entry.js} +1 -1
  209. package/dist/taro-components/p-64f6f87c.system.entry.js +365 -0
  210. package/dist/taro-components/p-68246408.entry.js +1 -0
  211. package/dist/taro-components/{p-d91ab597.system.entry.js → p-6946f166.system.entry.js} +1 -1
  212. package/dist/taro-components/{p-fc4939c6.system.entry.js → p-6e12bd70.system.entry.js} +1 -1
  213. package/dist/taro-components/{p-cc36cee7.entry.js → p-7419e765.entry.js} +1 -1
  214. package/dist/taro-components/{p-264b7229.system.entry.js → p-79495606.system.entry.js} +1 -1
  215. package/dist/taro-components/{p-07062966.entry.js → p-7d457a6a.entry.js} +1 -1
  216. package/dist/taro-components/{p-8b2bf902.system.entry.js → p-7df1437d.system.entry.js} +1 -1
  217. package/dist/taro-components/p-7e5d2d7a.js +7 -0
  218. package/dist/taro-components/{p-08aba8db.system.entry.js → p-7f2d456b.system.entry.js} +1 -1
  219. package/dist/taro-components/p-7f726d39.entry.js +1 -0
  220. package/dist/taro-components/{p-3633bb84.entry.js → p-7f8ddefe.entry.js} +1 -1
  221. package/dist/taro-components/{p-d1c2481c.system.entry.js → p-81e33437.system.entry.js} +1 -1
  222. package/dist/taro-components/{p-9d0ab7c4.entry.js → p-880791ee.entry.js} +1 -1
  223. package/dist/taro-components/{p-5f8b5f62.entry.js → p-884e6eab.entry.js} +1 -1
  224. package/dist/taro-components/{p-e35230e0.entry.js → p-88e3bc92.entry.js} +1 -1
  225. package/dist/taro-components/{p-3334ac67.system.entry.js → p-88ee404a.system.entry.js} +1 -1
  226. package/dist/taro-components/{p-703dfad8.system.entry.js → p-899c6b73.system.entry.js} +1 -1
  227. package/dist/taro-components/{p-55b0a30b.entry.js → p-8a2b7701.entry.js} +1 -1
  228. package/dist/taro-components/p-8c6d8802.entry.js +1 -0
  229. package/dist/taro-components/p-8c7cf814.js +1 -0
  230. package/dist/taro-components/p-8ca394d6.entry.js +1 -0
  231. package/dist/taro-components/{p-7d848382.system.entry.js → p-8cdc809b.system.entry.js} +1 -1
  232. package/dist/taro-components/{p-58623cdd.system.entry.js → p-8e0529f2.system.entry.js} +1 -1
  233. package/dist/taro-components/{p-fb0959c1.system.entry.js → p-8ea9ceb6.system.entry.js} +1 -1
  234. package/dist/taro-components/{p-ffe63ce9.system.entry.js → p-90f11b84.system.entry.js} +1 -1
  235. package/dist/taro-components/{p-554e1039.entry.js → p-917185f3.entry.js} +1 -1
  236. package/dist/taro-components/{p-5d5baadf.entry.js → p-92f26e22.entry.js} +1 -1
  237. package/dist/taro-components/{p-7423fc3b.system.entry.js → p-96706c5c.system.entry.js} +1 -1
  238. package/dist/taro-components/{p-078230a0.system.entry.js → p-97af3986.system.entry.js} +1 -1
  239. package/dist/taro-components/{p-0472e474.system.entry.js → p-9c0f3f24.system.entry.js} +1 -1
  240. package/dist/taro-components/{p-da8edf69.system.entry.js → p-9dcfe647.system.entry.js} +1 -1
  241. package/dist/taro-components/p-9ff180ae.entry.js +1 -0
  242. package/dist/taro-components/{p-34188530.system.entry.js → p-a16053fa.system.entry.js} +1 -1
  243. package/dist/taro-components/{p-33ee636a.system.js → p-a2fd3c03.system.js} +1 -1
  244. package/dist/taro-components/{p-4039bcb5.entry.js → p-a9a84796.entry.js} +1 -1
  245. package/dist/taro-components/{p-f5fe8711.entry.js → p-a9c3e575.entry.js} +1 -1
  246. package/dist/taro-components/{p-527a38ee.system.entry.js → p-ac4c4975.system.entry.js} +1 -1
  247. package/dist/taro-components/{p-8a5e67cb.entry.js → p-aca73ca4.entry.js} +1 -1
  248. package/dist/taro-components/{p-17039974.system.entry.js → p-acb07924.system.entry.js} +1 -1
  249. package/dist/taro-components/{p-1e4f1702.system.entry.js → p-acfcb861.system.entry.js} +1 -1
  250. package/dist/taro-components/p-b31e6cf0.entry.js +1 -0
  251. package/dist/taro-components/{p-cfbfeee8.entry.js → p-b455351e.entry.js} +1 -1
  252. package/dist/taro-components/{p-065ec61d.entry.js → p-b640bd56.entry.js} +1 -1
  253. package/dist/taro-components/{p-0c18bd18.system.entry.js → p-b7128eac.system.entry.js} +1 -1
  254. package/dist/taro-components/{p-df5a19b0.system.entry.js → p-ba984b34.system.entry.js} +1 -1
  255. package/dist/taro-components/p-bb3d337d.entry.js +365 -0
  256. package/dist/taro-components/p-c0875abf.entry.js +1 -0
  257. package/dist/taro-components/{p-74540410.entry.js → p-c1642977.entry.js} +1 -1
  258. package/dist/taro-components/p-c33b552b.entry.js +1 -0
  259. package/dist/taro-components/p-c6d14c2b.entry.js +1 -0
  260. package/dist/taro-components/p-c995a3aa.entry.js +1 -0
  261. package/dist/taro-components/{p-06af26db.system.entry.js → p-cde242bb.system.entry.js} +1 -1
  262. package/dist/taro-components/p-de726095.entry.js +1 -0
  263. package/dist/taro-components/p-de95c6ac.system.entry.js +1 -0
  264. package/dist/taro-components/{p-a05d66d1.system.entry.js → p-deef9af1.system.entry.js} +1 -1
  265. package/dist/taro-components/{p-99cb65a6.system.entry.js → p-e5486e8c.system.entry.js} +1 -1
  266. package/dist/taro-components/{p-15bea37d.entry.js → p-e56a303b.entry.js} +1 -1
  267. package/dist/taro-components/{p-865c21b5.entry.js → p-e5fdbc1c.entry.js} +1 -1
  268. package/dist/taro-components/{p-14dbbb42.entry.js → p-e6ec7abc.entry.js} +1 -1
  269. package/dist/taro-components/{p-7cdad34e.system.entry.js → p-ed69dc55.system.entry.js} +1 -1
  270. package/dist/taro-components/{p-b75d8a65.entry.js → p-ee1ffbb0.entry.js} +1 -1
  271. package/dist/taro-components/{p-cfbdd4e3.system.entry.js → p-efc892d1.system.entry.js} +1 -1
  272. package/dist/taro-components/{p-e61d2113.system.entry.js → p-f0c5c933.system.entry.js} +1 -1
  273. package/dist/taro-components/{p-b87cf623.entry.js → p-f425f3b5.entry.js} +1 -1
  274. package/dist/taro-components/{p-e0ad978e.entry.js → p-f5377a15.entry.js} +1 -1
  275. package/dist/taro-components/{p-e03fa2d5.system.entry.js → p-f675e927.system.entry.js} +1 -1
  276. package/dist/taro-components/{p-a1863c96.entry.js → p-fc28dbdd.entry.js} +1 -1
  277. package/dist/taro-components/p-fee2ad82.entry.js +1 -0
  278. package/dist/taro-components/{p-e2f6448d.system.entry.js → p-ff792cf7.system.entry.js} +1 -1
  279. package/dist/taro-components/taro-components.esm.js +1 -1
  280. package/dist/taro-components/taro-components.js +1 -1
  281. package/dist/types/components/video/utils.d.ts +2 -1
  282. package/dist/types/components/video/video-control.d.ts +1 -1
  283. package/dist/types/home/runner/work/taro/taro/packages/taro-components/.stencil/types/props.d.ts +62 -0
  284. package/dist/types/props.js +1 -0
  285. package/dist/types/stencil-public-runtime.d.ts +6 -4
  286. package/dist-h5/react/components/index.js +63 -0
  287. package/dist-h5/react/index.js +1 -46
  288. package/dist-h5/vue/components/index.js +60 -0
  289. package/dist-h5/vue/index.js +23 -26
  290. package/dist-h5/vue3/components/index.js +64 -0
  291. package/dist-h5/vue3/index.js +12 -65
  292. package/package.json +22 -9
  293. package/types/Block.d.ts +5 -2
  294. package/types/Checkbox.d.ts +1 -1
  295. package/types/CheckboxGroup.d.ts +1 -1
  296. package/types/CoverImage.d.ts +1 -1
  297. package/types/CoverView.d.ts +1 -1
  298. package/types/CustomWrapper.d.ts +2 -2
  299. package/types/Editor.d.ts +10 -10
  300. package/types/Form.d.ts +6 -6
  301. package/types/Label.d.ts +2 -2
  302. package/types/OfficialAccount.d.ts +3 -3
  303. package/types/PickerViewColumn.d.ts +3 -1
  304. package/types/Progress.d.ts +1 -1
  305. package/types/Radio.d.ts +1 -1
  306. package/types/RichText.d.ts +1 -1
  307. package/types/ScrollView.d.ts +6 -6
  308. package/types/Slider.d.ts +1 -1
  309. package/types/Slot.d.ts +2 -2
  310. package/types/Swiper.d.ts +2 -2
  311. package/types/Switch.d.ts +1 -1
  312. package/types/Text.d.ts +2 -2
  313. package/types/Video.d.ts +1 -1
  314. package/types/View.d.ts +2 -2
  315. package/types/WebView.d.ts +1 -1
  316. package/types/common.d.ts +2 -0
  317. package/types/index.d.ts +53 -52
  318. package/types/index.vue3.d.ts +71 -73
  319. package/types/props.ts +73 -0
  320. package/vue3.d.ts +3 -0
  321. package/dist/esm-es5/index-3c78bcaf.js +0 -7
  322. package/dist/taro-components/p-0303f9e0.entry.js +0 -1
  323. package/dist/taro-components/p-11932905.entry.js +0 -1
  324. package/dist/taro-components/p-37cfdd8f.js +0 -7
  325. package/dist/taro-components/p-3dfb1807.entry.js +0 -1
  326. package/dist/taro-components/p-44b60b72.entry.js +0 -1
  327. package/dist/taro-components/p-59d38db0.entry.js +0 -1
  328. package/dist/taro-components/p-758fb1ba.entry.js +0 -1
  329. package/dist/taro-components/p-786653af.system.entry.js +0 -1
  330. package/dist/taro-components/p-7fdd59f0.entry.js +0 -1
  331. package/dist/taro-components/p-92a31933.system.entry.js +0 -1
  332. package/dist/taro-components/p-92e95d3f.entry.js +0 -1
  333. package/dist/taro-components/p-94c20f60.system.js +0 -7
  334. package/dist/taro-components/p-a1423df9.entry.js +0 -1
  335. package/dist/taro-components/p-b9280444.entry.js +0 -1
  336. package/dist/taro-components/p-c218c298.entry.js +0 -1
  337. package/dist/taro-components/p-c362734b.entry.js +0 -1
  338. package/dist/taro-components/p-cf55a63c.entry.js +0 -1
  339. package/dist/taro-components/p-d0c608a8.entry.js +0 -1
  340. package/dist/taro-components/p-e27798a4.entry.js +0 -1
  341. package/dist/taro-components/p-f05e1558.js +0 -1
  342. package/dist-h5/vue/simpleComponents.js +0 -19
package/types/Swiper.d.ts CHANGED
@@ -112,7 +112,7 @@ interface SwiperProps extends StandardProps {
112
112
  * @supported weapp, swan, h5, rn
113
113
  */
114
114
  onAnimationFinish?: SwiperProps['onChange']
115
-
115
+
116
116
  /** 是否禁止用户 touch 操作
117
117
  * @default false
118
118
  * @supported alipay
@@ -151,7 +151,7 @@ declare namespace SwiperProps {
151
151
  /** 导致变更的原因 */
152
152
  source: keyof SwiperProps.TChangeSource
153
153
  /** SwiperItem的itemId参数值 */
154
- currentItemId?: string
154
+ currentItemId?: string
155
155
  }
156
156
 
157
157
  interface onTransitionEventDetail {
package/types/Switch.d.ts CHANGED
@@ -51,7 +51,7 @@ declare namespace SwitchProps {
51
51
  * constructor() {
52
52
  * super(...arguments)
53
53
  * }
54
- *
54
+ *
55
55
  * render() {
56
56
  * return (
57
57
  * <View className='components-page'>
package/types/Text.d.ts CHANGED
@@ -94,7 +94,7 @@ declare namespace TextProps {
94
94
  * <button class="btn-max-w button_style" :plain="true" type="default" `@tap="add">add line</button>
95
95
  * <button class="btn-max-w button_style" :plain="true" type="default" :disabled="contentsLen ? false : true" `@tap="remove">remove line</button>
96
96
  * </template>
97
- *
97
+ *
98
98
  * <script>
99
99
  * export default {
100
100
  * data() {
@@ -110,7 +110,7 @@ declare namespace TextProps {
110
110
  * this.contents = cot
111
111
  * this.contentsLen = cot.length
112
112
  * },
113
- *
113
+ *
114
114
  * remove () {
115
115
  * const cot = this.contents.slice()
116
116
  * cot.pop()
package/types/Video.d.ts CHANGED
@@ -382,7 +382,7 @@ declare namespace VideoProps {
382
382
  * id='video'
383
383
  * src='https://wxsnsdy.tc.qq.com/105/20210/snsdyvideodownload?filekey=30280201010421301f0201690402534804102ca905ce620b1241b726bc41dcff44e00204012882540400&bizid=1023&hy=SH&fileparam=302c020101042530230204136ffd93020457e3c4ff02024ef202031e8d7f02030f42400204045a320a0201000400'
384
384
  * poster='https://misc.aotu.io/booxood/mobile-video/cover_900x500.jpg'
385
- * initialTime='0'
385
+ * initialTime={0}
386
386
  * controls={true}
387
387
  * autoplay={false}
388
388
  * loop={false}
package/types/View.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ComponentType } from 'react'
2
- import { StandardProps } from './common'
3
2
  import { StyleProp, ViewStyle } from 'react-native'
3
+ import { StandardProps } from './common'
4
4
 
5
5
  interface ViewProps extends StandardProps {
6
6
  /** 指定按下去的样式类。当 `hover-class="none"` 时,没有点击态效果
@@ -86,7 +86,7 @@ interface ViewProps extends StandardProps {
86
86
  * </view>
87
87
  * </view>
88
88
  * </template>
89
- *
89
+ *
90
90
  * <style>
91
91
  * .flex-wrp { display: flex; }
92
92
  * .flex-wrp-column{ flex-direction: column; }
@@ -45,7 +45,7 @@ declare namespace WebViewProps {
45
45
  * ```tsx
46
46
  * class App extends Component {
47
47
  * handleMessage () {}
48
- *
48
+ *
49
49
  * render () {
50
50
  * return (
51
51
  * <WebView src='https://mp.weixin.qq.com/' onMessage={this.handleMessage} />
package/types/common.d.ts CHANGED
@@ -7,6 +7,8 @@ export interface StandardProps<T = any, TouchEvent extends BaseTouchEvent<any> =
7
7
  className?: string
8
8
  /** 组件的内联样式, 可以动态设置的内联样式 */
9
9
  style?: string | CSSProperties
10
+ /** 子节点 */
11
+ children?: ReactNode
10
12
  /** 如果列表中项目的位置会动态改变或者有新的项目添加到列表中,
11
13
  * 需要使用 `wx:key` 来指定列表中项目的唯一的标识符。
12
14
  */
package/types/index.d.ts CHANGED
@@ -1,75 +1,76 @@
1
1
  export * from './common'
2
2
  export * from './event'
3
+ export * from './props'
3
4
 
4
5
  /** 视图容器 */
5
6
  export { Block } from './Block'
6
- export { CoverImage, CoverImageProps } from './CoverImage'
7
- export { CoverView, CoverViewProps } from './CoverView'
8
- export { MatchMedia, MatchMediaProps } from './MatchMedia'
9
- export { MovableArea, MovableAreaProps } from './MovableArea'
10
- export { MovableView, MovableViewProps } from './MovableView'
11
- export { PageContainer, PageContainerProps } from './PageContainer'
12
- export { ScrollView, ScrollViewProps } from './ScrollView'
13
- export { ShareElement, ShareElementProps } from './ShareElement'
14
- export { Swiper, SwiperProps } from './Swiper'
15
- export { SwiperItem, SwiperItemProps } from './SwiperItem'
16
- export { View, ViewProps } from './View'
7
+ export { CoverImage } from './CoverImage'
8
+ export { CoverView } from './CoverView'
9
+ export { MatchMedia } from './MatchMedia'
10
+ export { MovableArea } from './MovableArea'
11
+ export { MovableView } from './MovableView'
12
+ export { PageContainer } from './PageContainer'
13
+ export { ScrollView } from './ScrollView'
14
+ export { ShareElement } from './ShareElement'
15
+ export { Swiper } from './Swiper'
16
+ export { SwiperItem } from './SwiperItem'
17
+ export { View } from './View'
17
18
 
18
19
  /** 基础内容 */
19
- export { Icon, IconProps } from './Icon'
20
- export { Progress, ProgressProps } from './Progress'
21
- export { RichText, RichTextProps } from './RichText'
22
- export { Text, TextProps } from './Text'
20
+ export { Icon } from './Icon'
21
+ export { Progress } from './Progress'
22
+ export { RichText } from './RichText'
23
+ export { Text } from './Text'
23
24
 
24
25
  /** 表单组件 */
25
- export { Button, ButtonProps } from './Button'
26
- export { Checkbox, CheckboxProps } from './Checkbox'
27
- export { CheckboxGroup, CheckboxGroupProps } from './CheckboxGroup'
28
- export { Editor, EditorProps } from './Editor'
29
- export { Form, FormProps } from './Form'
30
- export { Input, InputProps } from './Input'
31
- export { KeyboardAccessory, KeyboardAccessoryProps } from './KeyboardAccessory'
32
- export { Label, LabelProps } from './Label'
33
- export { Picker, PickerDateProps, PickerTimeProps, PickerRegionProps, PickerSelectorProps, PickerStandardProps, PickerMultiSelectorProps } from './Picker'
34
- export { PickerView, PickerViewProps } from './PickerView'
26
+ export { Button } from './Button'
27
+ export { Checkbox } from './Checkbox'
28
+ export { CheckboxGroup } from './CheckboxGroup'
29
+ export { Editor } from './Editor'
30
+ export { Form } from './Form'
31
+ export { Input } from './Input'
32
+ export { KeyboardAccessory } from './KeyboardAccessory'
33
+ export { Label } from './Label'
34
+ export { Picker } from './Picker'
35
+ export { PickerView } from './PickerView'
35
36
  export { PickerViewColumn } from './PickerViewColumn'
36
- export { Radio, RadioProps } from './Radio'
37
- export { RadioGroup, RadioGroupProps } from './RadioGroup'
38
- export { Slider, SliderProps } from './Slider'
39
- export { Switch, SwitchProps } from './Switch'
40
- export { Textarea, TextareaProps } from './Textarea'
37
+ export { Radio } from './Radio'
38
+ export { RadioGroup } from './RadioGroup'
39
+ export { Slider } from './Slider'
40
+ export { Switch } from './Switch'
41
+ export { Textarea } from './Textarea'
41
42
 
42
43
  /** 导航 */
43
- export { FunctionalPageNavigator, FunctionalPageNavigatorProps } from './FunctionalPageNavigator'
44
- export { Navigator, NavigatorProps } from './Navigator'
45
- export { NavigationBar, NavigationBarProps } from './NavigationBar'
46
- // export { Tabbar, TabbarProps } from './Tabbar'
47
- // export { TabbarItem, TabbarProps } from './TabbarItem'
44
+ export { FunctionalPageNavigator } from './FunctionalPageNavigator'
45
+ export { Navigator } from './Navigator'
46
+ export { NavigationBar } from './NavigationBar'
47
+ // export { Tabbar } from './Tabbar'
48
+ // export { TabbarItem } from './TabbarItem'
48
49
 
49
50
  /** 媒体组件 */
50
- export { Audio, AudioProps } from './Audio'
51
- export { Camera, CameraProps } from './Camera'
52
- export { Image, ImageProps } from './Image'
53
- export { LivePlayer, LivePlayerProps } from './LivePlayer'
54
- export { LivePusher, LivePusherProps } from './LivePusher'
55
- export { Video, VideoProps } from './Video'
56
- export { VoipRoom, VoipRoomProps } from './VoipRoom'
51
+ export { Audio } from './Audio'
52
+ export { Camera } from './Camera'
53
+ export { Image } from './Image'
54
+ export { LivePlayer } from './LivePlayer'
55
+ export { LivePusher } from './LivePusher'
56
+ export { Video } from './Video'
57
+ export { VoipRoom } from './VoipRoom'
57
58
 
58
59
  /** 地图 */
59
- export { Map, MapProps } from './Map'
60
+ export { Map } from './Map'
60
61
 
61
62
  /** 画布 */
62
- export { Canvas, CanvasProps } from './Canvas'
63
+ export { Canvas } from './Canvas'
63
64
 
64
65
  /** 开放能力 */
65
- export { Ad, AdProps } from './Ad'
66
- export { AdCustom, AdCustomProps } from './AdCustom'
67
- export { OfficialAccount, OfficialAccountProps } from './OfficialAccount'
68
- export { OpenData, OpenDataProps } from './OpenData'
69
- export { WebView, WebViewProps } from './WebView'
66
+ export { Ad } from './Ad'
67
+ export { AdCustom } from './AdCustom'
68
+ export { OfficialAccount } from './OfficialAccount'
69
+ export { OpenData } from './OpenData'
70
+ export { WebView } from './WebView'
70
71
 
71
72
  /** 配置节点 */
72
- export { PageMeta, PageMetaProps } from './PageMeta'
73
+ export { PageMeta } from './PageMeta'
73
74
 
74
- export { CustomWrapper, CustomWrapperProps } from './CustomWrapper'
75
- export { Slot, SlotProps } from './Slot'
75
+ export { CustomWrapper } from './CustomWrapper'
76
+ export { Slot } from './Slot'
@@ -1,16 +1,19 @@
1
1
  /**
2
2
  * vue tsx @tarojs/components 类型提示文件
3
- * 如何使用?
3
+ *
4
+ * ## 如何使用?
5
+
4
6
  * 请在醒目全局的类型文件中写入以下代码,覆盖默认的组件类型提示
5
7
  * ```typescript
6
- * export declare module '@tarojs/components' {
7
- * export * from '@tarojs/components/types/index.vue3'
8
- * }
8
+ * export declare module '@tarojs/components' {
9
+ * export * from '@tarojs/components/types/index.vue3'
10
+ * }
9
11
  * ```
10
12
  */
11
- import { TaroElement } from '@tarojs/runtime'
12
- import { StandardProps } from './common'
13
13
  import * as CSS from 'csstype'
14
+ import { Component } from 'vue'
15
+
16
+ import { StandardProps } from './common'
14
17
  /** 视图容器 */
15
18
  import { CoverImageProps } from './CoverImage'
16
19
  import { CoverViewProps } from './CoverView'
@@ -72,88 +75,83 @@ import { PageMetaProps } from './PageMeta'
72
75
  import { CustomWrapperProps } from './CustomWrapper'
73
76
  import { SlotProps } from './Slot'
74
77
 
75
- // 联合类型不能用omit(比如picker)
76
- type DistributiveOmit<T, K extends keyof T> = T extends unknown
77
- ? Omit<T, K>
78
- : never;
78
+ /** 联合类型不能用omit(比如picker) */
79
+ type DistributiveOmit<T, K extends keyof T> = T extends unknown ? Omit<T, K> : never
79
80
 
80
- type SlimProps = {
81
+ interface SlimProps {
81
82
  class?: any
82
83
  style?: CSS.Properties<string | number>
83
84
  innerHTML?: string
84
85
  }
85
86
 
86
- /** 转换react的类型到vue */
87
- type RemoveReactAttribute = keyof Omit<StandardProps, 'id' | 'hidden' | 'animation'>
88
- export type TransformReact2VueType<P extends StandardProps = Record<string, never>> = DistributiveOmit<P, RemoveReactAttribute> & SlimProps
87
+ /** 转换 react 的类型到 vue */
88
+ type RemoveReactAttribute = 'className' | 'style' | 'key' | 'ref' | 'dangerouslySetInnerHTML'
89
+ type TransformReact2VueType<P extends StandardProps = Record<string, never>> = DistributiveOmit<P, RemoveReactAttribute> & SlimProps
90
+ export type VueComponentType<P = Record<string, never>> = Component<TransformReact2VueType<P>>
89
91
 
90
- export declare class VueComponentType<P = Record<string, never>> extends TaroElement {
91
- $props: TransformReact2VueType<P>
92
- /** WebStorm 提示貌似找的是props */
93
- props: this['$props']
94
- }
92
+ export * from './common'
93
+ export * from './event'
94
+ export * from './props'
95
95
 
96
96
  /** 视图容器 */
97
- export declare class Block extends VueComponentType {}
98
- export declare class CoverImage extends VueComponentType<CoverImageProps> {}
99
- export declare class CoverView extends VueComponentType<CoverViewProps> {}
100
- export declare class MatchMedia extends VueComponentType<MatchMediaProps> {}
101
- export declare class MovableArea extends VueComponentType<MovableAreaProps> {}
102
- export declare class MovableView extends VueComponentType<MovableViewProps> {}
103
- export declare class PageContainer extends VueComponentType<PageContainerProps> {}
104
- export declare class ScrollView extends VueComponentType<ScrollViewProps> {}
105
- export declare class ShareElement extends VueComponentType<ShareElementProps> {}
106
- export declare class Swiper extends VueComponentType<SwiperProps> {}
107
- export declare class SwiperItem extends VueComponentType<SwiperItemProps> {}
108
- export declare class View extends VueComponentType<ViewProps> {}
97
+ export declare const Block: VueComponentType<StandardProps>
98
+ export declare const CoverImage: VueComponentType<CoverImageProps>
99
+ export declare const CoverView: VueComponentType<CoverViewProps>
100
+ export declare const MatchMedia: VueComponentType<MatchMediaProps>
101
+ export declare const MovableArea: VueComponentType<MovableAreaProps>
102
+ export declare const MovableView: VueComponentType<MovableViewProps>
103
+ export declare const PageContainer: VueComponentType<PageContainerProps>
104
+ export declare const ScrollView: VueComponentType<ScrollViewProps>
105
+ export declare const ShareElement: VueComponentType<ShareElementProps>
106
+ export declare const Swiper: VueComponentType<SwiperProps>
107
+ export declare const SwiperItem: VueComponentType<SwiperItemProps>
108
+ export declare const View: VueComponentType<ViewProps>
109
109
  /** 基础内容 */
110
- export declare class Icon extends VueComponentType<IconProps> {}
111
- export declare class Progress extends VueComponentType<ProgressProps> {}
112
- export declare class RichText extends VueComponentType<RichTextProps> {}
113
- export declare class Text extends VueComponentType<TextProps> {}
110
+ export declare const Icon: VueComponentType<IconProps>
111
+ export declare const Progress: VueComponentType<ProgressProps>
112
+ export declare const RichText: VueComponentType<RichTextProps>
113
+ export declare const Text: VueComponentType<TextProps>
114
114
  /** 表单组件 */
115
- export declare class Button extends VueComponentType<ButtonProps> {}
116
- export declare class Checkbox extends VueComponentType<CheckboxProps> {}
117
- export declare class CheckboxGroup extends VueComponentType<CheckboxGroupProps> {}
118
- export declare class Editor extends VueComponentType<EditorProps> {}
119
- export declare class Form extends VueComponentType<FormProps> {}
120
- export declare class Input extends VueComponentType<InputProps> {}
121
- export declare class KeyboardAccessory extends VueComponentType<KeyboardAccessoryProps> {}
122
- export declare class Label extends VueComponentType<LabelProps> {}
123
- export declare class Picker extends VueComponentType<PickerMultiSelectorProps | PickerTimeProps | PickerDateProps | PickerRegionProps | PickerSelectorProps> {}
124
- export declare class PickerView extends VueComponentType<PickerViewProps> {}
125
- export declare class PickerViewColumn extends VueComponentType {}
126
- export declare class Radio extends VueComponentType<RadioProps> {}
127
- export declare class RadioGroup extends VueComponentType<RadioGroupProps> {}
128
- export declare class Slider extends VueComponentType<SliderProps> {}
129
- export declare class Switch extends VueComponentType<SwitchProps> {}
130
- export declare class Textarea extends VueComponentType<TextareaProps> {}
115
+ export declare const Button: VueComponentType<ButtonProps>
116
+ export declare const Checkbox: VueComponentType<CheckboxProps>
117
+ export declare const CheckboxGroup: VueComponentType<CheckboxGroupProps>
118
+ export declare const Editor: VueComponentType<EditorProps>
119
+ export declare const Form: VueComponentType<FormProps>
120
+ export declare const Input: VueComponentType<InputProps>
121
+ export declare const KeyboardAccessory: VueComponentType<KeyboardAccessoryProps>
122
+ export declare const Label: VueComponentType<LabelProps>
123
+ export declare const Picker: VueComponentType<PickerMultiSelectorProps | PickerTimeProps | PickerDateProps | PickerRegionProps | PickerSelectorProps>
124
+ export declare const PickerView: VueComponentType<PickerViewProps>
125
+ export declare const PickerViewColumn: VueComponentType
126
+ export declare const Radio: VueComponentType<RadioProps>
127
+ export declare const RadioGroup: VueComponentType<RadioGroupProps>
128
+ export declare const Slider: VueComponentType<SliderProps>
129
+ export declare const Switch: VueComponentType<SwitchProps>
130
+ export declare const Textarea: VueComponentType<TextareaProps>
131
131
  /** 导航 */
132
- export declare class FunctionalPageNavigator extends VueComponentType<FunctionalPageNavigatorProps> {}
133
- export declare class Navigator extends VueComponentType<NavigatorProps> {}
134
- export declare class NavigationBar extends VueComponentType<NavigationBarProps> {}
132
+ export declare const FunctionalPageNavigator: VueComponentType<FunctionalPageNavigatorProps>
133
+ export declare const Navigator: VueComponentType<NavigatorProps>
134
+ export declare const NavigationBar: VueComponentType<NavigationBarProps>
135
135
  /** 媒体组件 */
136
- export declare class Audio extends VueComponentType<AudioProps> {}
137
- export declare class Camera extends VueComponentType<CameraProps> {}
138
- export declare class Image extends VueComponentType<ImageProps> {}
139
- export declare class LivePlayer extends VueComponentType<LivePlayerProps> {}
140
- export declare class LivePusher extends VueComponentType<LivePusherProps> {}
141
- export declare class Video extends VueComponentType<VideoProps> {}
142
- export declare class VoipRoom extends VueComponentType<VoipRoomProps> {}
136
+ export declare const Audio: VueComponentType<AudioProps>
137
+ export declare const Camera: VueComponentType<CameraProps>
138
+ export declare const Image: VueComponentType<ImageProps>
139
+ export declare const LivePlayer: VueComponentType<LivePlayerProps>
140
+ export declare const LivePusher: VueComponentType<LivePusherProps>
141
+ export declare const Video: VueComponentType<VideoProps>
142
+ export declare const VoipRoom: VueComponentType<VoipRoomProps>
143
143
  /** 地图 */
144
- export declare class Map extends VueComponentType<MapProps> {}
144
+ export declare const Map: VueComponentType<MapProps>
145
145
  /** 画布 */
146
- export declare class Canvas extends VueComponentType<CanvasProps> {}
146
+ export declare const Canvas: VueComponentType<CanvasProps>
147
147
  /** 开放能力 */
148
- export declare class Ad extends VueComponentType<AdProps> {}
149
- export declare class AdCustom extends VueComponentType<AdCustomProps> {}
150
- export declare class OfficialAccount extends VueComponentType<OfficialAccountProps> {}
151
- export declare class OpenData extends VueComponentType<OpenDataProps> {}
152
- export declare class WebView extends VueComponentType<WebViewProps> {}
148
+ export declare const Ad: VueComponentType<AdProps>
149
+ export declare const AdCustom: VueComponentType<AdCustomProps>
150
+ export declare const OfficialAccount: VueComponentType<OfficialAccountProps>
151
+ export declare const OpenData: VueComponentType<OpenDataProps>
152
+ export declare const WebView: VueComponentType<WebViewProps>
153
153
  /** 配置节点 */
154
- export declare class PageMeta extends VueComponentType<PageMetaProps> {}
155
-
156
- export declare class CustomWrapper extends VueComponentType<CustomWrapperProps> {}
157
- export declare class Slot extends VueComponentType<SlotProps> {}
154
+ export declare const PageMeta: VueComponentType<PageMetaProps>
158
155
 
159
- export * from './index'
156
+ export declare const CustomWrapper: VueComponentType<CustomWrapperProps>
157
+ export declare const Slot: VueComponentType<SlotProps>
package/types/props.ts ADDED
@@ -0,0 +1,73 @@
1
+ export { StandardProps } from './common'
2
+ /** 视图容器 */
3
+ export { BlockProps } from './Block'
4
+ export { CoverImageProps } from './CoverImage'
5
+ export { CoverViewProps } from './CoverView'
6
+ export { MatchMediaProps } from './MatchMedia'
7
+ export { MovableAreaProps } from './MovableArea'
8
+ export { MovableViewProps } from './MovableView'
9
+ export { PageContainerProps } from './PageContainer'
10
+ export { ScrollViewProps } from './ScrollView'
11
+ export { ShareElementProps } from './ShareElement'
12
+ export { SwiperProps } from './Swiper'
13
+ export { SwiperItemProps } from './SwiperItem'
14
+ export { ViewProps } from './View'
15
+
16
+ /** 基础内容 */
17
+ export { IconProps } from './Icon'
18
+ export { ProgressProps } from './Progress'
19
+ export { RichTextProps } from './RichText'
20
+ export { TextProps } from './Text'
21
+
22
+ /** 表单组件 */
23
+ export { ButtonProps } from './Button'
24
+ export { CheckboxProps } from './Checkbox'
25
+ export { CheckboxGroupProps } from './CheckboxGroup'
26
+ export { EditorProps } from './Editor'
27
+ export { FormProps } from './Form'
28
+ export { InputProps } from './Input'
29
+ export { KeyboardAccessoryProps } from './KeyboardAccessory'
30
+ export { LabelProps } from './Label'
31
+ export { PickerDateProps, PickerTimeProps, PickerRegionProps, PickerSelectorProps, PickerMultiSelectorProps } from './Picker'
32
+ export { PickerViewProps } from './PickerView'
33
+ export { PickerViewColumnProps } from './PickerViewColumn'
34
+ export { RadioProps } from './Radio'
35
+ export { RadioGroupProps } from './RadioGroup'
36
+ export { SliderProps } from './Slider'
37
+ export { SwitchProps } from './Switch'
38
+ export { TextareaProps } from './Textarea'
39
+
40
+ /** 导航 */
41
+ export { FunctionalPageNavigatorProps } from './FunctionalPageNavigator'
42
+ export { NavigatorProps } from './Navigator'
43
+ export { NavigationBarProps } from './NavigationBar'
44
+ // export { TabbarProps } from './Tabbar'
45
+ // export { TabbarItemProps } from './TabbarItem'
46
+
47
+ /** 媒体组件 */
48
+ export { AudioProps } from './Audio'
49
+ export { CameraProps } from './Camera'
50
+ export { ImageProps } from './Image'
51
+ export { LivePlayerProps } from './LivePlayer'
52
+ export { LivePusherProps } from './LivePusher'
53
+ export { VideoProps } from './Video'
54
+ export { VoipRoomProps } from './VoipRoom'
55
+
56
+ /** 地图 */
57
+ export { MapProps } from './Map'
58
+
59
+ /** 画布 */
60
+ export { CanvasProps } from './Canvas'
61
+
62
+ /** 开放能力 */
63
+ export { AdProps } from './Ad'
64
+ export { AdCustomProps } from './AdCustom'
65
+ export { OfficialAccountProps } from './OfficialAccount'
66
+ export { OpenDataProps } from './OpenData'
67
+ export { WebViewProps } from './WebView'
68
+
69
+ /** 配置节点 */
70
+ export { PageMetaProps } from './PageMeta'
71
+
72
+ export { CustomWrapperProps } from './CustomWrapper'
73
+ export { SlotProps } from './Slot'
package/vue3.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ declare module '@tarojs/components' {
2
+ export * from '@tarojs/components/types/index.vue3'
3
+ }
@@ -1,7 +0,0 @@
1
- function createCommonjsModule(r,e,o){return o={path:e,exports:{},require:function(r,e){return commonjsRequire()}},r(o,o.exports),o.exports}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var classnames=createCommonjsModule((function(r){
2
- /*!
3
- Copyright (c) 2018 Jed Watson.
4
- Licensed under the MIT License (MIT), see
5
- http://jedwatson.github.io/classnames
6
- */
7
- (function(){var e={}.hasOwnProperty;function o(){var r=[];for(var n=0;n<arguments.length;n++){var t=arguments[n];if(!t)continue;var s=typeof t;if(s==="string"||s==="number"){r.push(t)}else if(Array.isArray(t)){if(t.length){var i=o.apply(null,t);if(i){r.push(i)}}}else if(s==="object"){if(t.toString===Object.prototype.toString){for(var u in t){if(e.call(t,u)&&t[u]){r.push(u)}}}else{r.push(t.toString())}}}return r.join(" ")}if(r.exports){o.default=o;r.exports=o}else{window.classNames=o}})()}));export{classnames as c};
@@ -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 暂不支持 KeyboardAccessory 组件!")}render(){return r(e,null)}};export{s as taro_keyboard_accessory_core}
@@ -1 +0,0 @@
1
- import{r as o,h as s,H as r}from"./p-f05e1558.js";import{c as t}from"./p-37cfdd8f.js";let c=class{constructor(s){o(this,s),this.size="23"}render(){const{type:o,size:c,color:e}=this,i=null==o?void 0:o.replace(/_/g,"-"),l=t({[`weui-icon-${i}`]:!0});return s(r,{class:l,style:{"font-size":`${c}px`,color:e}})}};export{c as taro_icon_core}
@@ -1,7 +0,0 @@
1
- var r,n=(function(r){
2
- /*!
3
- Copyright (c) 2018 Jed Watson.
4
- Licensed under the MIT License (MIT), see
5
- http://jedwatson.github.io/classnames
6
- */
7
- !function(){var n={}.hasOwnProperty;function e(){for(var r=[],i=0;i<arguments.length;i++){var o=arguments[i];if(o){var t=typeof o;if("string"===t||"number"===t)r.push(o);else if(Array.isArray(o)){if(o.length){var u=e.apply(null,o);u&&r.push(u)}}else if("object"===t)if(o.toString===Object.prototype.toString)for(var f in o)n.call(o,f)&&o[f]&&r.push(f);else r.push(o.toString())}}return r.join(" ")}r.exports?(e.default=e,r.exports=e):window.classNames=e}()}(r={path:undefined,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}}),r.exports);export{n as c}
@@ -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 暂不支持 Map 组件!")}render(){return r(e,null)}};export{s as taro_map_core}
@@ -1 +0,0 @@
1
- import{r as t,h as i,H as e,g as o,c as s}from"./p-f05e1558.js";import{c as n}from"./p-37cfdd8f.js";import{t as r}from"./p-5746d7ce.js";const a=t=>{if(null===t)return"";const i=Math.round(t/1e3%60),e=Math.floor((t-i)/1e3/60);return`${e<10?`0${e}`:e}:${i<10?`0${i}`:i}`},h=t=>Math.max(-1,Math.min(t,1)),l=function(){let t;const i=[["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 e=["webkitEnterFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"];let o=0;const s=i.length,n={};for(;o<s;o++)if(t=i[o],t&&t[1]in document){for(o=0;o<t.length;o++)n[i[0][o]]=t[o];return n}if(!n[i[0][0]])for(o=0;o<e.length;o++)n[i[0][o]]=e[o];return n}();var d=function(t,i,e,o){return new(e||(e=Promise))((function(s,n){function r(t){try{h(o.next(t))}catch(t){n(t)}}function a(t){try{h(o.throw(t))}catch(t){n(t)}}function h(t){var i;t.done?s(t.value):(i=t.value,i instanceof e?i:new e((function(t){t(i)}))).then(r,a)}h((o=o.apply(t,i||[])).next())}))};let c=class{constructor(i){t(this,i),this.visible=!1,this.isDraggingProgressBall=!1,this.percentage=0,this.progressDimentions={left:0,width:0},this.calcPercentage=t=>{let i=t-this.progressDimentions.left;return i=Math.max(i,0),i=Math.min(i,this.progressDimentions.width),i/this.progressDimentions.width},this.onDragProgressBallStart=()=>{this.isDraggingProgressBall=!0,this.hideControlsTimer&&clearTimeout(this.hideControlsTimer)},this.onClickProgress=t=>{t.stopPropagation();const i=this.calcPercentage(t.pageX);this.seekFunc(i*this.duration),this.toggleVisibility(!0)}}onDocumentTouchMove(t){this.isDraggingProgressBall&&(this.percentage=this.calcPercentage(t.touches[0].pageX),this.setProgressBall(this.percentage),this.setCurrentTime(this.percentage*this.duration))}onDocumentTouchEnd(){this.isDraggingProgressBall&&(this.isDraggingProgressBall=!1,this.seekFunc(this.percentage*this.duration),this.toggleVisibility(!0))}setProgressBall(t){return d(this,void 0,void 0,(function*(){this.progressBallRef&&(this.progressBallRef.style.left=100*t+"%")}))}toggleVisibility(t){return d(this,void 0,void 0,(function*(){const i=void 0===t?!this.visible:t;i?(this.hideControlsTimer&&clearTimeout(this.hideControlsTimer),this.isPlaying&&(this.hideControlsTimer=setTimeout((()=>{this.toggleVisibility(!1)}),2e3)),this.controlsRef.style.visibility="visible"):this.controlsRef.style.visibility="hidden",this.visible=!!i}))}getIsDraggingProgressBall(){return d(this,void 0,void 0,(function*(){return this.isDraggingProgressBall}))}setCurrentTime(t){return d(this,void 0,void 0,(function*(){this.currentTimeRef.innerHTML=a(t)}))}render(){const{controls:t,currentTime:o,duration:s,isPlaying:n,pauseFunc:r,playFunc:h,showPlayBtn:l,showProgress:d}=this,c=a(s);let A;return A=l?i("div",n?{class:"taro-video-control-button taro-video-control-button-pause",onClick:r}:{class:"taro-video-control-button taro-video-control-button-play",onClick:h}):null,i(e,{class:"taro-video-bar taro-video-bar-full"},t&&i("div",{class:"taro-video-controls"},A,d&&i("div",{class:"taro-video-current-time",ref:t=>this.currentTimeRef=t},a(o)),d&&i("div",{class:"taro-video-progress-container",onClick:this.onClickProgress},i("div",{class:"taro-video-progress",ref:t=>{if(!t)return;const i=t.getBoundingClientRect();this.progressDimentions.left=i.left,this.progressDimentions.width=i.width}},i("div",{class:"taro-video-progress-buffered",style:{width:"100%"}}),i("div",{class:"taro-video-ball",ref:t=>this.progressBallRef=t,onTouchStart:this.onDragProgressBallStart,style:{left:(c?this.currentTime/s*100:0)+"%"}},i("div",{class:"taro-video-inner"})))),d&&i("div",{class:"taro-video-duration"},c)),i("slot",null))}get controlsRef(){return o(this)}};var A=function(t,i,e,o){return new(e||(e=Promise))((function(s,n){function r(t){try{h(o.next(t))}catch(t){n(t)}}function a(t){try{h(o.throw(t))}catch(t){n(t)}}function h(t){var i;t.done?s(t.value):(i=t.value,i instanceof e?i:new e((function(t){t(i)}))).then(r,a)}h((o=o.apply(t,i||[])).next())}))};let u=class{constructor(i){t(this,i),this.onPlay=s(this,"play",7),this.onPause=s(this,"pause",7),this.onEnded=s(this,"ended",7),this.onTimeUpdate=s(this,"timeupdate",7),this.onError=s(this,"error",7),this.onFullScreenChange=s(this,"fullscreenchange",7),this.onProgress=s(this,"progress",7),this.onLoadedMetaData=s(this,"loadedmetadata",7),this.currentTime=0,this.isDraggingProgress=!1,this.gestureType="none",this.controls=!0,this.autoplay=!1,this.loop=!1,this.muted=!1,this.initialTime=0,this.objectFit="contain",this.showProgress=!0,this.showFullscreenBtn=!0,this.showPlayBtn=!0,this.showCenterPlayBtn=!0,this.showMuteBtn=!1,this.danmuBtn=!1,this.enableDanmu=!1,this.enablePlayGesture=!1,this.enableProgressGesture=!0,this.vslideGesture=!1,this.vslideGestureInFullscreen=!0,this.nativeProps={},this._enableDanmu=!1,this.isPlaying=!1,this.isFirst=!0,this.isFullScreen=!1,this.fullScreenTimestamp=(new Date).getTime(),this.isMute=!1,this.analyseGesture=t=>{var i;const e={type:"none"},o=t.touches[0].screenX-this.lastTouchScreenX,s=t.touches[0].screenY-this.lastTouchScreenY,n=this.isFullScreen?this.vslideGestureInFullscreen:this.vslideGesture;if("none"===this.gestureType){if(r=s,Math.sqrt(Math.pow(o,2)+Math.pow(r,2))<10)return e;if(Math.abs(s)>=Math.abs(o)){if(!n)return e;this.gestureType="adjustVolume",this.lastVolume=this.videoRef.volume}else if(Math.abs(s)<Math.abs(o)){if(!this.enableProgressGesture)return e;this.gestureType="adjustProgress",this.lastPercentage=this.currentTime/(null!==(i=this.duration)&&void 0!==i?i:this._duration)}}var r;return e.type=this.gestureType,e.dataX=h(o/200),e.dataY=h(s/200),e},this.handlePlay=()=>{this.isPlaying=!0,this.isFirst=!1,this.controlsRef.toggleVisibility(!0),this.onPlay.emit()},this.handlePause=()=>{this.isPlaying=!1,this.controlsRef.toggleVisibility(!0),this.onPause.emit()},this.handleEnded=()=>{this.isFirst=!0,this.pause(),this.controlsRef.toggleVisibility(),this.onEnded.emit()},this.handleTimeUpdate=r((t=>A(this,void 0,void 0,(function*(){var i,e;this.currentTime=this.videoRef.currentTime;const o=this.duration||this._duration,s=yield this.controlsRef.getIsDraggingProgressBall();this.controls&&this.showProgress&&(s||this.isDraggingProgress||(this.controlsRef.setProgressBall(this.currentTime/o),this.controlsRef.setCurrentTime(this.currentTime))),this.danmuRef.tick(this.currentTime),this.onTimeUpdate.emit({duration:null===(i=t.target)||void 0===i?void 0:i.duration,currentTime:null===(e=t.target)||void 0===e?void 0:e.currentTime}),this.duration&&this.currentTime>=this.duration&&(this.seek(0),this.handleEnded())}))),250),this.handleError=t=>{var i,e;this.onError.emit({errMsg:null===(e=null===(i=t.target)||void 0===i?void 0:i.error)||void 0===e?void 0:e.message})},this.handleDurationChange=()=>{this._duration=this.videoRef.duration},this.handleProgress=()=>{this.onProgress.emit()},this.handleLoadedMetaData=t=>{const i=t.target;this.onLoadedMetaData.emit({width:i.videoWidth,height:i.videoHeight,duration:i.duration})},this._play=()=>this.videoRef.play(),this._pause=()=>this.videoRef.pause(),this._stop=()=>{this.videoRef.pause(),this._seek(0)},this._seek=t=>{this.videoRef.currentTime=t},this.onTouchStartContainer=t=>{this.lastTouchScreenX=t.touches[0].screenX,this.lastTouchScreenY=t.touches[0].screenY},this.onClickContainer=()=>{if(this.enablePlayGesture){const t=Date.now();t-this.lastClickedTime<300&&(this.isPlaying?this.pause():this.play()),this.lastClickedTime=t}this.controlsRef.toggleVisibility()},this.onClickFullScreenBtn=t=>{t.stopPropagation(),this.toggleFullScreen()},this.handleFullScreenChange=t=>{const i=(new Date).getTime();!t.detail&&this.isFullScreen&&!document[l.fullscreenElement]&&i-this.fullScreenTimestamp>100&&this.toggleFullScreen(!1)},this.toggleFullScreen=(t=!this.isFullScreen)=>{this.isFullScreen=t,this.controlsRef.toggleVisibility(!0),this.fullScreenTimestamp=(new Date).getTime(),this.onFullScreenChange.emit({fullScreen:this.isFullScreen,direction:"vertical"}),this.isFullScreen&&!document[l.fullscreenElement]&&setTimeout((()=>{this.videoRef[l.requestFullscreen]({navigationUI:"show"})}),0)},this.toggleMute=t=>{t.stopPropagation(),this.videoRef.muted=!this.isMute,this.controlsRef.toggleVisibility(!0),this.isMute=!this.isMute},this.toggleDanmu=t=>{t.stopPropagation(),this.controlsRef.toggleVisibility(!0),this._enableDanmu=!this._enableDanmu}}componentWillLoad(){this._enableDanmu=this.enableDanmu}componentDidLoad(){this.initialTime&&(this.videoRef.currentTime=this.initialTime),this.danmuRef.sendDanmu(this.danmuList),document.addEventListener&&document.addEventListener(l.fullscreenchange,this.handleFullScreenChange)}componentDidRender(){}disconnectedCallback(){document.removeEventListener&&document.removeEventListener(l.fullscreenchange,this.handleFullScreenChange)}watchEnableDanmu(t){this._enableDanmu=t}onDocumentTouchMove(t){return A(this,void 0,void 0,(function*(){if(void 0===this.lastTouchScreenX||void 0===this.lastTouchScreenY)return;if(yield this.controlsRef.getIsDraggingProgressBall())return;const i=this.analyseGesture(t);if("adjustVolume"===i.type){this.toastVolumeRef.style.visibility="visible";const t=Math.max(Math.min(this.lastVolume-i.dataY,1),0);this.videoRef.volume=t,this.toastVolumeBarRef.style.width=100*t+"%"}else if("adjustProgress"===i.type){this.isDraggingProgress=!0,this.nextPercentage=Math.max(Math.min(this.lastPercentage+i.dataX,1),0),this.controls&&this.showProgress&&(this.controlsRef.setProgressBall(this.nextPercentage),this.controlsRef.toggleVisibility(!0));const t=this.duration||this._duration;this.toastProgressTitleRef.innerHTML=`${a(this.nextPercentage*t)} / ${a(t)}`,this.toastProgressRef.style.visibility="visible"}}))}onDocumentTouchEnd(){var t;"adjustVolume"===this.gestureType?this.toastVolumeRef.style.visibility="hidden":"adjustProgress"===this.gestureType&&(this.toastProgressRef.style.visibility="hidden"),this.isDraggingProgress&&(this.isDraggingProgress=!1,this.seek(this.nextPercentage*(null!==(t=this.duration)&&void 0!==t?t:this._duration))),this.gestureType="none",this.lastTouchScreenX=void 0,this.lastTouchScreenY=void 0}play(){return A(this,void 0,void 0,(function*(){this._play()}))}pause(){return A(this,void 0,void 0,(function*(){this._pause()}))}stop(){return A(this,void 0,void 0,(function*(){this._stop()}))}seek(t){return A(this,void 0,void 0,(function*(){this._seek(t)}))}requestFullScreen(){return A(this,void 0,void 0,(function*(){this.toggleFullScreen(!0)}))}exitFullScreen(){return A(this,void 0,void 0,(function*(){this.toggleFullScreen(!1)}))}render(){const{src:t,controls:o,autoplay:s,loop:r,muted:h,poster:l,objectFit:d,isFirst:c,isMute:A,isFullScreen:u,duration:g,_duration:v,showCenterPlayBtn:b,isPlaying:p,_enableDanmu:m,showMuteBtn:w,danmuBtn:f,showFullscreenBtn:E,nativeProps:I}=this,x=a(g||v||null);return i(e,{class:n("taro-video-container",{"taro-video-type-fullscreen":u}),onTouchStart:this.onTouchStartContainer,onClick:this.onClickContainer},i("video",Object.assign({class:"taro-video-video",style:{"object-fit":d},ref:t=>{t&&(this.videoRef=t)},src:t,autoplay:s,loop:r,muted:h,poster:o?l:void 0,playsinline:!0,"webkit-playsinline":!0,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onTimeUpdate:this.handleTimeUpdate,onError:this.handleError,onDurationChange:this.handleDurationChange,onProgress:this.handleProgress,onLoadedMetaData:this.handleLoadedMetaData},I),"暂时不支持播放该视频"),i("taro-video-danmu",{ref:t=>{t&&(this.danmuRef=t)},enable:m}),c&&b&&!p&&i("div",{class:"taro-video-cover"},i("div",{class:"taro-video-cover-play-button",onClick:()=>this.play()}),i("p",{class:"taro-video-cover-duration"},x)),i("taro-video-control",{ref:t=>{t&&(this.controlsRef=t)},controls:o,currentTime:this.currentTime,duration:this.duration||this._duration||void 0,isPlaying:this.isPlaying,pauseFunc:this._pause,playFunc:this._play,seekFunc:this._seek,showPlayBtn:this.showPlayBtn,showProgress:this.showProgress},w&&i("div",{class:n("taro-video-mute",{"taro-video-type-mute":A}),onClick:this.toggleMute}),f&&i("div",{class:n("taro-video-danmu-button",{"taro-video-danmu-button-active":m}),onClick:this.toggleDanmu},"弹幕"),E&&i("div",{class:n("taro-video-fullscreen",{"taro-video-type-fullscreen":u}),onClick:this.onClickFullScreenBtn})),i("div",{class:"taro-video-toast taro-video-toast-volume",ref:t=>{t&&(this.toastVolumeRef=t)}},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:t=>{t&&(this.toastVolumeBarRef=t)}},i("div",{class:"taro-video-toast-volume-grids"},Array(10).fill(1).map((()=>i("div",{class:"taro-video-toast-volume-grids-item"}))))))),i("div",{class:"taro-video-toast taro-video-toast-progress",ref:t=>{t&&(this.toastProgressRef=t)}},i("div",{class:"taro-video-toast-title",ref:t=>{t&&(this.toastProgressTitleRef=t)}})))}get el(){return o(this)}static get watchers(){return{enableDanmu:["watchEnableDanmu"]}}};u.style='.taro-video{display:inline-block;overflow:hidden;position:relative;width:100%;height:225px;line-height:0}.taro-video[hidden]{display:none}.taro-video-container{display:inline-block;overflow:hidden;position:absolute;left:0;top:0;width:100%;height:100%;background-color:#000;-o-object-position:inherit;object-position:inherit}.taro-video-container.taro-video-type-fullscreen{position:fixed;left:0;right:0;top: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{display:-ms-flexbox;display:flex;position:absolute;left:0;top:0;bottom:0;z-index:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;background-color:rgba(1, 1, 1, 0.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-pack:center;-webkit-box-align:center}.taro-video-cover-play-button{width:40px;height:40px;background-repeat:no-repeat;background-position:50% 50%;background-size:50%}.taro-video-cover-duration{margin-top:10px;line-height:1;font-size:16px;color:#fff}.taro-video-bar{display:-ms-flexbox;display:flex;visibility:hidden;overflow:hidden;position:absolute;right:0;bottom:0;z-index:1;-ms-flex-align:center;align-items:center;padding:0 10px;height:44px;background-color:rgba(0, 0, 0, 0.5);-webkit-box-align:center}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px}.taro-video-control-button{-webkit-box-sizing:content-box;box-sizing:content-box;margin-left:-8.5px;padding:14.5px 12.5px;width:13px;height:15px}.taro-video-control-button::after{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:50% 50%;background-size:100%;content:""}.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{margin-top:15px;margin-bottom:14.5px;height:14.5px;line-height:14.5px;font-size:12px;color:#cbcbcb}.taro-video-progress-container{position:relative;-ms-flex-positive:2;flex-grow:2;-webkit-box-flex:2}.taro-video-progress{position:relative;margin:21px 12px;height:2px;background-color:rgba(255, 255, 255, 0.4)}.taro-video-progress-buffered{position:absolute;left:0;top:0;width:0;height:100%;background-color:rgba(255, 255, 255, 0.8);-webkit-transition:width 0.1s;transition:width 0.1s}.taro-video-ball{position:absolute;left:0;top:-21px;-webkit-box-sizing:content-box;box-sizing:content-box;margin-left:-22px;padding:14px;width:16px;height:16px}.taro-video-inner{border-radius:50%;width:100%;height:100%;background-color:#fff}.taro-video-danmu-button{margin:0 8.5px;padding:2px 10px;border:1px solid #fff;border-radius:5px;line-height:1;font-size:13px;color:#fff;white-space:nowrap}.taro-video-danmu-button.taro-video-danmu-button-active{border-color:#48c23d;color:#48c23d}.taro-video-fullscreen,.taro-video-mute{-webkit-box-sizing:content-box;box-sizing:content-box;padding:8.5px;width:17px;height:17px;background-repeat:no-repeat;background-position:50% 50%;background-size:50%}.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/ZLxNcHKNiIlfhA7C0UBSEE8RNEBNFPUEQEEbGxFiSSSrCwEHs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ldGE+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{overflow:visible;position:absolute;left:0;top:0;bottom:0;margin-top:14px;margin-bottom:44px;width:100%;line-height:14px;font-size:14px}.taro-video-danmu-item{position:absolute;left:100%;line-height:1;color:#fff;white-space:nowrap;-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{display:block;visibility:hidden;position:absolute;left:50%;top:50%;border-radius:5px;background-color:rgba(255, 255, 255, 0.8);pointer-events:none;color:#000;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-video-toast.taro-video-toast-volume{display:block;width:100px;height:100px}.taro-video-toast-volume .taro-video-toast-title{display:block;margin-top:10px;width:100%;line-height:16px;text-align:center;font-size:12px}.taro-video-toast-volume .taro-video-toast-icon{display:block;margin-left:25%;width:50%;height:50%;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+4w2p8DRvoEnAPcXTVaY70QAb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WZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==");background-repeat:no-repeat;background-position:50% 50%;background-size:50%;fill:#000}.taro-video-toast-volume .taro-video-toast-value{margin-left:10px;margin-top:5px;width:80px;height:5px}.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{padding:6px;background-color:rgba(0, 0, 0, 0.8);line-height:18px;font-size:14px;color:#fff}';var g=function(t,i,e,o){return new(e||(e=Promise))((function(s,n){function r(t){try{h(o.next(t))}catch(t){n(t)}}function a(t){try{h(o.throw(t))}catch(t){n(t)}}function h(t){var i;t.done?s(t.value):(i=t.value,i instanceof e?i:new e((function(t){t(i)}))).then(r,a)}h((o=o.apply(t,i||[])).next())}))};let v=class{constructor(i){t(this,i),this.list=[],this.danmuElList=[],this.currentTime=0,this.enable=!1,this.danmuList=[]}ensureProperties(t){const i=Object.assign({},t);return"time"in t||(i.time=this.currentTime),i.key=Math.random(),i.bottom=90*Math.random()+5+"%",i}sendDanmu(t=[]){return g(this,void 0,void 0,(function*(){this.list=Array.isArray(t)?[...this.list,...t.map((t=>this.ensureProperties(t)))]:[...this.list,Object.assign({},this.ensureProperties(t))]}))}tick(t){return g(this,void 0,void 0,(function*(){if(this.currentTime=t,!this.enable)return;const i=this.list.filter((({time:i})=>t-i<4&&t>i));let e=!1;const o=this.danmuList;e=i.length!==o.length||i.some((({key:t})=>o.every((i=>t!==i.key)))),e&&(this.danmuList=i)}))}componentDidUpdate(){requestAnimationFrame((()=>{setTimeout((()=>{this.danmuElList.splice(0).forEach((t=>{t.style.left="0",t.style.webkitTransform="translateX(-100%)",t.style.transform="translateX(-100%)"}))}))}))}render(){return this.enable?i(e,{class:"taro-video-danmu"},this.danmuList.map((({text:t,color:e,bottom:o,key:s})=>i("p",{class:"taro-video-danmu-item",key:s,style:{color:e,bottom:o},ref:t=>{t&&this.danmuElList.push(t)}},t)))):""}};export{c as taro_video_control,u as taro_video_core,v as taro_video_danmu}
@@ -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 暂不支持 VoipRoom 组件!")}render(){return r(e,null)}};export{s as taro_voip_room_core}
@@ -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;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:pre-wrap}.taro-text__selectable{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}";export{o as taro_text_core}