@tarojs/components 3.8.0-canary.0 → 3.8.0-canary.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (793) hide show
  1. package/LICENSE +14 -0
  2. package/dist/cjs/helper-ad6306f6.js +31 -0
  3. package/dist/cjs/{index-e751dfe3.js → index-5b029707.js} +208 -2
  4. package/dist/cjs/{index-dfd8638f.js → index-8a70c333.js} +6 -0
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/taro-ad-core.cjs.entry.js +2 -2
  7. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +2 -2
  8. package/dist/cjs/taro-animation-video-core.cjs.entry.js +2 -2
  9. package/dist/cjs/taro-animation-view-core.cjs.entry.js +2 -2
  10. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +2 -2
  11. package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
  12. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +2 -2
  13. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  14. package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
  15. package/dist/cjs/taro-camera-core.cjs.entry.js +2 -2
  16. package/dist/cjs/taro-canvas-core.cjs.entry.js +15 -3
  17. package/dist/cjs/taro-channel-live-core.cjs.entry.js +2 -2
  18. package/dist/cjs/taro-channel-video-core.cjs.entry.js +2 -2
  19. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
  20. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +2 -2
  21. package/dist/cjs/taro-comment-list-core.cjs.entry.js +2 -2
  22. package/dist/cjs/taro-components.cjs.js +2 -2
  23. package/dist/cjs/taro-contact-button-core.cjs.entry.js +2 -2
  24. package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
  25. package/dist/cjs/taro-cover-view-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-draggable-sheet-core.cjs.entry.js +21 -0
  28. package/dist/cjs/taro-editor-core.cjs.entry.js +2 -2
  29. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +2 -2
  30. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +2 -2
  32. package/dist/cjs/taro-grid-builder-core.cjs.entry.js +21 -0
  33. package/dist/cjs/taro-grid-view-core.cjs.entry.js +2 -2
  34. package/dist/cjs/taro-icon-core.cjs.entry.js +4 -1
  35. package/dist/cjs/taro-image-core.cjs.entry.js +6 -5
  36. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +2 -2
  37. package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
  38. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +2 -2
  39. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +2 -2
  41. package/dist/cjs/taro-like-core.cjs.entry.js +2 -2
  42. package/dist/cjs/taro-list-builder-core.cjs.entry.js +21 -0
  43. package/dist/cjs/taro-list-view-core.cjs.entry.js +2 -2
  44. package/dist/cjs/taro-live-player-core.cjs.entry.js +2 -2
  45. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +2 -2
  46. package/dist/cjs/taro-login-core.cjs.entry.js +2 -2
  47. package/dist/cjs/taro-lottie-core.cjs.entry.js +2 -2
  48. package/dist/cjs/taro-map-core.cjs.entry.js +1325 -6
  49. package/dist/cjs/taro-match-media-core.cjs.entry.js +2 -2
  50. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +8 -5
  51. package/dist/cjs/taro-native-slot-core.cjs.entry.js +2 -2
  52. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +2 -2
  53. package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -1
  54. package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +21 -0
  55. package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +21 -0
  56. package/dist/cjs/taro-official-account-core.cjs.entry.js +2 -2
  57. package/dist/cjs/taro-open-container-core.cjs.entry.js +21 -0
  58. package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
  59. package/dist/cjs/taro-page-container-core.cjs.entry.js +2 -2
  60. package/dist/cjs/taro-page-meta-core.cjs.entry.js +2 -2
  61. package/dist/cjs/taro-picker-core_2.cjs.entry.js +33 -32
  62. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +39 -39
  63. package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
  64. package/dist/cjs/{taro-pull-to-refresh.cjs.entry.js → taro-pull-to-refresh-core.cjs.entry.js} +19 -14
  65. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  66. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  67. package/dist/cjs/taro-root-portal-core.cjs.entry.js +2 -2
  68. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +2 -2
  69. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +2 -2
  70. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +15 -3
  71. package/dist/cjs/taro-share-element-core.cjs.entry.js +2 -2
  72. package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
  73. package/dist/cjs/taro-slot-core.cjs.entry.js +2 -2
  74. package/dist/cjs/taro-snapshot-core.cjs.entry.js +21 -0
  75. package/dist/cjs/taro-span-core.cjs.entry.js +21 -0
  76. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +2 -2
  77. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +2 -2
  78. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +147 -9925
  79. package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
  80. package/dist/cjs/taro-tab-item-core.cjs.entry.js +2 -2
  81. package/dist/cjs/taro-tabbar.cjs.entry.js +14 -98
  82. package/dist/cjs/taro-tabs-core.cjs.entry.js +2 -2
  83. package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
  84. package/dist/cjs/taro-textarea-core.cjs.entry.js +12 -3
  85. package/dist/cjs/taro-video-control_3.cjs.entry.js +41 -7
  86. package/dist/cjs/taro-view-core.cjs.entry.js +5 -11
  87. package/dist/cjs/taro-voip-room-core.cjs.entry.js +2 -2
  88. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  89. package/dist/collection/collection-manifest.json +8 -0
  90. package/dist/collection/components/audio/style/index.css +1 -4
  91. package/dist/collection/components/button/style/index.css +1 -160
  92. package/dist/collection/components/canvas/canvas.js +48 -2
  93. package/dist/collection/components/canvas/style/index.css +1 -6
  94. package/dist/collection/components/checkbox/style/index.css +1 -39
  95. package/dist/collection/components/cover-image/style/index.css +1 -5
  96. package/dist/collection/components/cover-view/style/cover-view.css +1 -3
  97. package/dist/collection/components/draggable-sheet/draggable-sheet.js +11 -0
  98. package/dist/collection/components/grid-builder/grid-builder.js +11 -0
  99. package/dist/collection/components/icon/icon.js +10 -0
  100. package/dist/collection/components/icon/style/index.css +1 -0
  101. package/dist/collection/components/image/image.js +4 -3
  102. package/dist/collection/components/image/style/index.css +1 -73
  103. package/dist/collection/components/input/input.js +2 -2
  104. package/dist/collection/components/input/style/index.css +1 -0
  105. package/dist/collection/components/list-builder/list-builder.js +11 -0
  106. package/dist/collection/components/map/map.js +1806 -4
  107. package/dist/collection/components/map/style/map.css +1 -0
  108. package/dist/collection/components/movable-area/area.css +1 -6
  109. package/dist/collection/components/movable-area/movable-area.js +2 -1
  110. package/dist/collection/components/movable-area/movable-view.js +3 -1
  111. package/dist/collection/components/movable-area/view.css +1 -8
  112. package/dist/collection/components/navigator/style/index.css +1 -3
  113. package/dist/collection/components/nested-scroll-body/nested-scroll-body.js +11 -0
  114. package/dist/collection/components/nested-scroll-header/nested-scroll-header.js +11 -0
  115. package/dist/collection/components/open-container/open-container.js +11 -0
  116. package/dist/collection/components/picker/picker.js +31 -30
  117. package/dist/collection/components/picker/style/index.css +1 -4
  118. package/dist/collection/components/picker-view/picker-view-column.js +27 -55
  119. package/dist/collection/components/picker-view/picker-view.js +14 -2
  120. package/dist/collection/components/picker-view/style/column.css +1 -12
  121. package/dist/collection/components/picker-view/style/index.css +1 -28
  122. package/dist/collection/components/progress/progress.js +10 -0
  123. package/dist/collection/components/progress/style/index.css +1 -0
  124. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +17 -12
  125. package/dist/collection/components/pull-to-refresh/style/index.css +1 -52
  126. package/dist/collection/components/rich-text/style/index.css +1 -16
  127. package/dist/collection/components/scroll-view/scroll-view.js +18 -2
  128. package/dist/collection/components/scroll-view/style/index.css +1 -17
  129. package/dist/collection/components/slider/slider.js +10 -0
  130. package/dist/collection/components/slider/style/index.css +1 -0
  131. package/dist/collection/components/snapshot/snapshot.js +11 -0
  132. package/dist/collection/components/span/span.js +11 -0
  133. package/dist/collection/components/swiper/style/index.css +2 -19
  134. package/dist/collection/components/swiper/swiper-item.js +54 -33
  135. package/dist/collection/components/swiper/swiper.js +112 -29
  136. package/dist/collection/components/switch/style/index.css +1 -10
  137. package/dist/collection/components/switch/switch.js +12 -12
  138. package/dist/collection/components/tabbar/style/index.css +1 -49
  139. package/dist/collection/components/tabbar/tabbar.js +1 -1
  140. package/dist/collection/components/text/style/index.css +1 -26
  141. package/dist/collection/components/textarea/style/index.css +1 -22
  142. package/dist/collection/components/textarea/textarea.js +11 -0
  143. package/dist/collection/components/video/style/index.css +1 -326
  144. package/dist/collection/components/video/video.js +12 -2
  145. package/dist/collection/components/view/style/index.css +1 -9
  146. package/dist/collection/components/view/view.js +2 -9
  147. package/dist/collection/components/web-view/style/index.css +1 -12
  148. package/dist/collection/utils/helper.js +11 -0
  149. package/dist/collection/utils/index.js +10 -0
  150. package/dist/components/helper.js +12 -1
  151. package/dist/components/index.d.ts +9 -1
  152. package/dist/components/index.js +9 -1
  153. package/dist/components/index3.js +6 -1
  154. package/dist/components/taro-audio-core.js +1 -1
  155. package/dist/components/taro-button-core.js +1 -1
  156. package/dist/components/taro-canvas-core.js +17 -3
  157. package/dist/components/taro-checkbox-core.js +1 -1
  158. package/dist/components/taro-cover-image-core.js +1 -1
  159. package/dist/components/taro-draggable-sheet-core.d.ts +11 -0
  160. package/dist/components/taro-draggable-sheet-core.js +33 -0
  161. package/dist/components/taro-grid-builder-core.d.ts +11 -0
  162. package/dist/components/taro-grid-builder-core.js +33 -0
  163. package/dist/components/taro-icon-core.js +3 -0
  164. package/dist/components/taro-image-core.js +5 -4
  165. package/dist/components/taro-input-core.js +1 -1
  166. package/dist/components/taro-list-builder-core.d.ts +11 -0
  167. package/dist/components/taro-list-builder-core.js +33 -0
  168. package/dist/components/taro-map-core.js +1349 -6
  169. package/dist/components/taro-movable-area-core.js +3 -2
  170. package/dist/components/taro-movable-view-core.js +4 -2
  171. package/dist/components/taro-nested-scroll-body-core.d.ts +11 -0
  172. package/dist/components/taro-nested-scroll-body-core.js +33 -0
  173. package/dist/components/taro-nested-scroll-header-core.d.ts +11 -0
  174. package/dist/components/taro-nested-scroll-header-core.js +33 -0
  175. package/dist/components/taro-open-container-core.d.ts +11 -0
  176. package/dist/components/taro-open-container-core.js +33 -0
  177. package/dist/components/taro-picker-core.js +32 -31
  178. package/dist/components/taro-picker-view-column-core.js +27 -37
  179. package/dist/components/taro-picker-view-core.js +12 -3
  180. package/dist/components/taro-progress-core.js +3 -0
  181. package/dist/components/taro-pull-to-refresh-core.d.ts +11 -0
  182. package/dist/components/{taro-pull-to-refresh.js → taro-pull-to-refresh-core.js} +22 -17
  183. package/dist/components/taro-rich-text-core.js +1 -1
  184. package/dist/components/taro-scroll-view-core.js +13 -2
  185. package/dist/components/taro-slider-core.js +3 -0
  186. package/dist/components/{taro-pull-to-refresh.d.ts → taro-snapshot-core.d.ts} +4 -4
  187. package/dist/components/taro-snapshot-core.js +33 -0
  188. package/dist/components/taro-span-core.d.ts +11 -0
  189. package/dist/components/taro-span-core.js +33 -0
  190. package/dist/components/taro-swiper-core.js +98 -9882
  191. package/dist/components/taro-swiper-item-core.js +40 -36
  192. package/dist/components/taro-switch-core.js +13 -13
  193. package/dist/components/taro-tabbar.js +4 -89
  194. package/dist/components/taro-text-core.js +1 -1
  195. package/dist/components/taro-textarea-core.js +11 -2
  196. package/dist/components/taro-video-core.js +14 -4
  197. package/dist/components/taro-view-core.js +3 -10
  198. package/dist/components/taro-web-view-core.js +1 -1
  199. package/dist/esm/helper-8a85bb65.js +24 -0
  200. package/dist/esm/{index-d1b03e47.js → index-a00a7418.js} +6 -1
  201. package/dist/esm/{index-980f930f.js → index-ab3c86da.js} +208 -2
  202. package/dist/esm/loader.js +3 -3
  203. package/dist/esm/taro-ad-core.entry.js +2 -2
  204. package/dist/esm/taro-ad-custom-core.entry.js +2 -2
  205. package/dist/esm/taro-animation-video-core.entry.js +2 -2
  206. package/dist/esm/taro-animation-view-core.entry.js +2 -2
  207. package/dist/esm/taro-ar-camera-core.entry.js +2 -2
  208. package/dist/esm/taro-audio-core.entry.js +2 -2
  209. package/dist/esm/taro-aweme-data-core.entry.js +2 -2
  210. package/dist/esm/taro-block-core.entry.js +1 -1
  211. package/dist/esm/taro-button-core.entry.js +2 -2
  212. package/dist/esm/taro-camera-core.entry.js +2 -2
  213. package/dist/esm/taro-canvas-core.entry.js +15 -3
  214. package/dist/esm/taro-channel-live-core.entry.js +2 -2
  215. package/dist/esm/taro-channel-video-core.entry.js +2 -2
  216. package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
  217. package/dist/esm/taro-comment-detail-core.entry.js +2 -2
  218. package/dist/esm/taro-comment-list-core.entry.js +2 -2
  219. package/dist/esm/taro-components.js +3 -3
  220. package/dist/esm/taro-contact-button-core.entry.js +2 -2
  221. package/dist/esm/taro-cover-image-core.entry.js +2 -2
  222. package/dist/esm/taro-cover-view-core.entry.js +1 -1
  223. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  224. package/dist/esm/taro-draggable-sheet-core.entry.js +17 -0
  225. package/dist/esm/taro-editor-core.entry.js +2 -2
  226. package/dist/esm/taro-follow-swan-core.entry.js +2 -2
  227. package/dist/esm/taro-form-core.entry.js +1 -1
  228. package/dist/esm/taro-functional-page-navigator-core.entry.js +2 -2
  229. package/dist/esm/taro-grid-builder-core.entry.js +17 -0
  230. package/dist/esm/taro-grid-view-core.entry.js +2 -2
  231. package/dist/esm/taro-icon-core.entry.js +4 -1
  232. package/dist/esm/taro-image-core.entry.js +6 -5
  233. package/dist/esm/taro-inline-payment-panel-core.entry.js +2 -2
  234. package/dist/esm/taro-input-core.entry.js +2 -2
  235. package/dist/esm/taro-keyboard-accessory-core.entry.js +2 -2
  236. package/dist/esm/taro-label-core.entry.js +1 -1
  237. package/dist/esm/taro-lifestyle-core.entry.js +2 -2
  238. package/dist/esm/taro-like-core.entry.js +2 -2
  239. package/dist/esm/taro-list-builder-core.entry.js +17 -0
  240. package/dist/esm/taro-list-view-core.entry.js +2 -2
  241. package/dist/esm/taro-live-player-core.entry.js +2 -2
  242. package/dist/esm/taro-live-pusher-core.entry.js +2 -2
  243. package/dist/esm/taro-login-core.entry.js +2 -2
  244. package/dist/esm/taro-lottie-core.entry.js +2 -2
  245. package/dist/esm/taro-map-core.entry.js +1321 -6
  246. package/dist/esm/taro-match-media-core.entry.js +2 -2
  247. package/dist/esm/taro-movable-area-core_2.entry.js +8 -5
  248. package/dist/esm/taro-native-slot-core.entry.js +2 -2
  249. package/dist/esm/taro-navigation-bar-core.entry.js +2 -2
  250. package/dist/esm/taro-navigator-core.entry.js +1 -1
  251. package/dist/esm/taro-nested-scroll-body-core.entry.js +17 -0
  252. package/dist/esm/taro-nested-scroll-header-core.entry.js +17 -0
  253. package/dist/esm/taro-official-account-core.entry.js +2 -2
  254. package/dist/esm/taro-open-container-core.entry.js +17 -0
  255. package/dist/esm/taro-open-data-core.entry.js +2 -2
  256. package/dist/esm/taro-page-container-core.entry.js +2 -2
  257. package/dist/esm/taro-page-meta-core.entry.js +2 -2
  258. package/dist/esm/taro-picker-core_2.entry.js +33 -32
  259. package/dist/esm/taro-picker-view-column-core_2.entry.js +39 -39
  260. package/dist/esm/taro-progress-core.entry.js +4 -1
  261. package/dist/esm/{taro-pull-to-refresh.entry.js → taro-pull-to-refresh-core.entry.js} +19 -14
  262. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  263. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  264. package/dist/esm/taro-root-portal-core.entry.js +2 -2
  265. package/dist/esm/taro-rtc-room-core.entry.js +2 -2
  266. package/dist/esm/taro-rtc-room-item-core.entry.js +2 -2
  267. package/dist/esm/taro-scroll-view-core.entry.js +15 -3
  268. package/dist/esm/taro-share-element-core.entry.js +2 -2
  269. package/dist/esm/taro-slider-core.entry.js +4 -1
  270. package/dist/esm/taro-slot-core.entry.js +2 -2
  271. package/dist/esm/taro-snapshot-core.entry.js +17 -0
  272. package/dist/esm/taro-span-core.entry.js +17 -0
  273. package/dist/esm/taro-sticky-header-core.entry.js +2 -2
  274. package/dist/esm/taro-sticky-section-core.entry.js +2 -2
  275. package/dist/esm/taro-swiper-core_2.entry.js +135 -9917
  276. package/dist/esm/taro-switch-core.entry.js +13 -12
  277. package/dist/esm/taro-tab-item-core.entry.js +2 -2
  278. package/dist/esm/taro-tabbar.entry.js +5 -90
  279. package/dist/esm/taro-tabs-core.entry.js +2 -2
  280. package/dist/esm/taro-text-core.entry.js +2 -2
  281. package/dist/esm/taro-textarea-core.entry.js +12 -3
  282. package/dist/esm/taro-video-control_3.entry.js +16 -6
  283. package/dist/esm/taro-view-core.entry.js +5 -11
  284. package/dist/esm/taro-voip-room-core.entry.js +2 -2
  285. package/dist/esm/taro-web-view-core.entry.js +2 -2
  286. package/dist/esm-es5/helper-8a85bb65.js +1 -0
  287. package/dist/esm-es5/index-a00a7418.js +1 -0
  288. package/dist/esm-es5/index-ab3c86da.js +2 -0
  289. package/dist/esm-es5/loader.js +1 -1
  290. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  291. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  292. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  293. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  294. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  295. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  296. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  297. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  298. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  299. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  300. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  301. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  302. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  303. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  304. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  305. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  306. package/dist/esm-es5/taro-components.js +1 -1
  307. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  308. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  309. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  310. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  311. package/dist/esm-es5/taro-draggable-sheet-core.entry.js +1 -0
  312. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  313. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  314. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  315. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  316. package/dist/esm-es5/taro-grid-builder-core.entry.js +1 -0
  317. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  318. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  319. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  320. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  321. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  322. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  323. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  324. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  325. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  326. package/dist/esm-es5/taro-list-builder-core.entry.js +1 -0
  327. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  328. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  329. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  330. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  331. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  332. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  333. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  334. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  335. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  336. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  337. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  338. package/dist/esm-es5/taro-nested-scroll-body-core.entry.js +1 -0
  339. package/dist/esm-es5/taro-nested-scroll-header-core.entry.js +1 -0
  340. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  341. package/dist/esm-es5/taro-open-container-core.entry.js +1 -0
  342. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  343. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  344. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  345. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  346. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  347. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  348. package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -0
  349. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  350. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  351. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  352. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  353. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  354. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  355. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  356. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  357. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  358. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -0
  359. package/dist/esm-es5/taro-span-core.entry.js +1 -0
  360. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  361. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  362. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  363. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  364. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  365. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  366. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  367. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  368. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  369. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  370. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  371. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  372. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  373. package/dist/hydrate/index.d.ts +217 -0
  374. package/dist/hydrate/index.js +14586 -0
  375. package/dist/hydrate/package.json +6 -0
  376. package/dist/taro-components/p-0044961f.system.entry.js +1 -0
  377. package/dist/taro-components/p-010faa87.system.js +1 -0
  378. package/dist/taro-components/p-0132e803.entry.js +1 -0
  379. package/dist/taro-components/p-019124ae.system.entry.js +1 -0
  380. package/dist/taro-components/p-04f97133.system.entry.js +1 -0
  381. package/dist/taro-components/p-069ae782.system.entry.js +1 -0
  382. package/dist/taro-components/{p-2af69b72.entry.js → p-0d8a0733.entry.js} +1 -1
  383. package/dist/taro-components/p-0f95be56.entry.js +1 -0
  384. package/dist/taro-components/p-0fe4660a.entry.js +1 -0
  385. package/dist/taro-components/p-1087c51a.system.entry.js +1 -0
  386. package/dist/taro-components/p-11c0dc59.system.entry.js +1 -0
  387. package/dist/taro-components/p-12b967fd.entry.js +1 -0
  388. package/dist/taro-components/{p-43720011.entry.js → p-13bf0192.entry.js} +1 -1
  389. package/dist/taro-components/p-13e80cf7.entry.js +1 -0
  390. package/dist/taro-components/p-15c1ce79.entry.js +1 -0
  391. package/dist/taro-components/p-16705ca9.entry.js +1 -0
  392. package/dist/taro-components/{p-f420680c.system.entry.js → p-194ace03.system.entry.js} +1 -1
  393. package/dist/taro-components/p-19b04eb7.entry.js +1 -0
  394. package/dist/taro-components/{p-07302165.system.entry.js → p-19b993d8.system.entry.js} +1 -1
  395. package/dist/taro-components/p-1acf7537.entry.js +1 -0
  396. package/dist/taro-components/p-1d102ddb.system.entry.js +1 -0
  397. package/dist/taro-components/p-25636983.entry.js +1 -0
  398. package/dist/taro-components/p-28bc8a48.entry.js +1 -0
  399. package/dist/taro-components/p-2b70c348.system.js +2 -0
  400. package/dist/taro-components/p-2d382d0e.entry.js +1 -0
  401. package/dist/taro-components/p-2ebc3182.entry.js +1 -0
  402. package/dist/taro-components/p-2f8ebd28.system.entry.js +1 -0
  403. package/dist/taro-components/p-317c4cad.entry.js +1 -0
  404. package/dist/taro-components/p-33980e67.entry.js +1 -0
  405. package/dist/taro-components/{p-38ee526a.entry.js → p-342a2594.entry.js} +1 -1
  406. package/dist/taro-components/p-3430d520.system.entry.js +1 -0
  407. package/dist/taro-components/p-34ba9330.system.entry.js +1 -0
  408. package/dist/taro-components/{p-f11c9c37.system.entry.js → p-36ea0ac1.system.entry.js} +1 -1
  409. package/dist/taro-components/p-370cc947.entry.js +1 -0
  410. package/dist/taro-components/p-378b504c.entry.js +1 -0
  411. package/dist/taro-components/{p-ebc7b6fc.entry.js → p-37bc198d.entry.js} +1 -1
  412. package/dist/taro-components/{p-bf0e0394.entry.js → p-39b3e34d.entry.js} +1 -1
  413. package/dist/taro-components/p-3a0a05fd.system.entry.js +1 -0
  414. package/dist/taro-components/p-3a3d40de.system.entry.js +1 -0
  415. package/dist/taro-components/p-3d423adc.entry.js +1 -0
  416. package/dist/taro-components/p-3e4b5391.system.entry.js +1 -0
  417. package/dist/taro-components/p-3eedb8d7.system.entry.js +1 -0
  418. package/dist/taro-components/p-43932446.entry.js +1 -0
  419. package/dist/taro-components/p-4621b303.system.entry.js +1 -0
  420. package/dist/taro-components/{p-ab726c20.system.entry.js → p-46ccb393.system.entry.js} +1 -1
  421. package/dist/taro-components/p-477f8fbd.system.js +1 -0
  422. package/dist/taro-components/p-4824cc94.entry.js +1 -0
  423. package/dist/taro-components/p-48a84765.entry.js +1 -0
  424. package/dist/taro-components/p-49e9b2ff.entry.js +1 -0
  425. package/dist/taro-components/p-4a748c0d.entry.js +1 -0
  426. package/dist/taro-components/{p-b5b30493.system.entry.js → p-4b5f75b9.system.entry.js} +1 -1
  427. package/dist/taro-components/p-4c30ea10.entry.js +1 -0
  428. package/dist/taro-components/p-4e63d3bd.entry.js +1 -0
  429. package/dist/taro-components/p-4fcb258a.entry.js +1 -0
  430. package/dist/taro-components/{p-9fe49bab.entry.js → p-4ffae31c.entry.js} +1 -1
  431. package/dist/taro-components/p-50b21f94.entry.js +1 -0
  432. package/dist/taro-components/p-5186ab96.system.entry.js +1 -0
  433. package/dist/taro-components/p-518a9b73.entry.js +1 -0
  434. package/dist/taro-components/{p-085076c5.system.entry.js → p-52ad5213.system.entry.js} +1 -1
  435. package/dist/taro-components/{p-f534057e.system.entry.js → p-55934653.system.entry.js} +1 -1
  436. package/dist/taro-components/p-55e54f2a.system.entry.js +1 -0
  437. package/dist/taro-components/{p-0d7a705b.system.entry.js → p-562eace8.system.entry.js} +1 -1
  438. package/dist/taro-components/p-5893c3ed.js +1 -0
  439. package/dist/taro-components/p-5a78fbdf.system.entry.js +1 -0
  440. package/dist/taro-components/p-5b4de079.entry.js +1 -0
  441. package/dist/taro-components/p-5b86e66b.system.entry.js +1 -0
  442. package/dist/taro-components/p-5bfdb5f3.entry.js +1 -0
  443. package/dist/taro-components/{p-66b0b419.system.entry.js → p-5c0f97d3.system.entry.js} +1 -1
  444. package/dist/taro-components/{p-0fa96970.entry.js → p-5dbabb65.entry.js} +1 -1
  445. package/dist/taro-components/p-5f4c6ca5.entry.js +1 -0
  446. package/dist/taro-components/{p-9ac947ac.system.entry.js → p-618ee593.system.entry.js} +1 -1
  447. package/dist/taro-components/p-62df5526.entry.js +1 -0
  448. package/dist/taro-components/p-66029061.system.entry.js +1 -0
  449. package/dist/taro-components/p-69e70cd5.system.entry.js +1 -0
  450. package/dist/taro-components/{p-8201ee31.system.entry.js → p-6c06b440.system.entry.js} +1 -1
  451. package/dist/taro-components/p-6dd357b9.entry.js +1 -0
  452. package/dist/taro-components/p-6f1034a6.system.entry.js +1 -0
  453. package/dist/taro-components/p-6f3187bc.entry.js +1 -0
  454. package/dist/taro-components/p-6f8926e3.entry.js +1 -0
  455. package/dist/taro-components/p-6ffc9bda.system.entry.js +1 -0
  456. package/dist/taro-components/p-751d42cb.entry.js +1 -0
  457. package/dist/taro-components/p-756aa971.entry.js +1 -0
  458. package/dist/taro-components/p-76c0f443.entry.js +1 -0
  459. package/dist/taro-components/p-77e030e9.system.entry.js +1 -0
  460. package/dist/taro-components/p-7b3ce3af.system.entry.js +1 -0
  461. package/dist/taro-components/p-7b80637e.system.entry.js +1 -0
  462. package/dist/taro-components/p-7bc6aa36.entry.js +1 -0
  463. package/dist/taro-components/p-7e3f0837.entry.js +1 -0
  464. package/dist/taro-components/p-7f3d9184.entry.js +1 -0
  465. package/dist/taro-components/p-80228985.entry.js +1 -0
  466. package/dist/taro-components/{p-227e33fc.system.entry.js → p-80fa706c.system.entry.js} +1 -1
  467. package/dist/taro-components/{p-ebdd350f.system.entry.js → p-829157b1.system.entry.js} +1 -1
  468. package/dist/taro-components/p-82c5b9d3.entry.js +1 -0
  469. package/dist/taro-components/{p-5640e9f4.system.entry.js → p-82d52f00.system.entry.js} +1 -1
  470. package/dist/taro-components/p-87b0d22f.entry.js +1 -0
  471. package/dist/taro-components/p-8a6e93ed.entry.js +1 -0
  472. package/dist/taro-components/p-8b7e37c9.system.entry.js +1 -0
  473. package/dist/taro-components/p-8bde1f48.entry.js +1 -0
  474. package/dist/taro-components/p-8c3b906c.system.js +1 -0
  475. package/dist/taro-components/p-8d838f20.entry.js +1 -0
  476. package/dist/taro-components/{p-6d4b7e5c.system.entry.js → p-90ee19f8.system.entry.js} +1 -1
  477. package/dist/taro-components/{p-fd7ff0f3.system.entry.js → p-923aa1c8.system.entry.js} +1 -1
  478. package/dist/taro-components/p-92b7b545.entry.js +1 -0
  479. package/dist/taro-components/{p-7e8e355b.system.entry.js → p-93b39a89.system.entry.js} +1 -1
  480. package/dist/taro-components/{p-fa0f6dab.system.entry.js → p-970a4199.system.entry.js} +1 -1
  481. package/dist/taro-components/p-97177863.system.entry.js +1 -0
  482. package/dist/taro-components/p-99440bcc.system.entry.js +1 -0
  483. package/dist/taro-components/p-9f1b0ae1.entry.js +1 -0
  484. package/dist/taro-components/p-9f3e0019.system.entry.js +1 -0
  485. package/dist/taro-components/p-a2f848cc.entry.js +1 -0
  486. package/dist/taro-components/p-a6790f39.entry.js +1 -0
  487. package/dist/taro-components/p-a997cf7c.system.entry.js +1 -0
  488. package/dist/taro-components/p-aa11b00c.system.entry.js +1 -0
  489. package/dist/taro-components/p-adee7f1b.system.entry.js +1 -0
  490. package/dist/taro-components/p-ae99551a.entry.js +1 -0
  491. package/dist/taro-components/p-aed23034.system.entry.js +1 -0
  492. package/dist/taro-components/p-b0f12e64.system.entry.js +1 -0
  493. package/dist/taro-components/p-b259a558.system.entry.js +1 -0
  494. package/dist/taro-components/{p-30805bdf.entry.js → p-b3129dec.entry.js} +1 -1
  495. package/dist/taro-components/p-b3419d7f.system.entry.js +1 -0
  496. package/dist/taro-components/p-b4047b11.entry.js +1 -0
  497. package/dist/taro-components/p-b43fa9b0.entry.js +1 -0
  498. package/dist/taro-components/p-b4707cdd.entry.js +1 -0
  499. package/dist/taro-components/p-b655e854.system.entry.js +1 -0
  500. package/dist/taro-components/{p-88d2b41b.system.entry.js → p-b66dfc82.system.entry.js} +1 -1
  501. package/dist/taro-components/p-ba241824.system.entry.js +1 -0
  502. package/dist/taro-components/p-baea6a63.entry.js +1 -0
  503. package/dist/taro-components/p-c0f16127.entry.js +1 -0
  504. package/dist/taro-components/p-c253be9f.entry.js +1 -0
  505. package/dist/taro-components/p-c58627f4.entry.js +1 -0
  506. package/dist/taro-components/p-c76270f4.system.entry.js +1 -0
  507. package/dist/taro-components/p-c863ac7f.system.entry.js +1 -0
  508. package/dist/taro-components/p-cc993977.system.entry.js +1 -0
  509. package/dist/taro-components/p-cee51d71.system.entry.js +1 -0
  510. package/dist/taro-components/p-d12b6a84.system.entry.js +1 -0
  511. package/dist/taro-components/p-d184903b.entry.js +1 -0
  512. package/dist/taro-components/p-d29a59cd.entry.js +1 -0
  513. package/dist/taro-components/p-d6bd1a5b.entry.js +1 -0
  514. package/dist/taro-components/p-da4c4cad.entry.js +1 -0
  515. package/dist/taro-components/p-dbdb9de9.js +1 -0
  516. package/dist/taro-components/{p-b641e598.entry.js → p-dc366f18.entry.js} +1 -1
  517. package/dist/taro-components/p-dd7a128d.js +2 -0
  518. package/dist/taro-components/p-dde26531.entry.js +1 -0
  519. package/dist/taro-components/p-de1d495a.system.entry.js +1 -0
  520. package/dist/taro-components/p-e23769c4.entry.js +1 -0
  521. package/dist/taro-components/p-e2694a79.system.entry.js +1 -0
  522. package/dist/taro-components/p-e2a22cd1.entry.js +1 -0
  523. package/dist/taro-components/{p-898db637.system.entry.js → p-e41ed824.system.entry.js} +1 -1
  524. package/dist/taro-components/p-e5a80896.system.entry.js +1 -0
  525. package/dist/taro-components/p-e5b43c80.system.entry.js +1 -0
  526. package/dist/taro-components/{p-81f2ad70.system.entry.js → p-e6a2f1bd.system.entry.js} +1 -1
  527. package/dist/taro-components/{p-78e4805e.entry.js → p-ead6e57b.entry.js} +1 -1
  528. package/dist/taro-components/p-ebbbdde5.entry.js +1 -0
  529. package/dist/taro-components/p-ec00e517.entry.js +1 -0
  530. package/dist/taro-components/p-ec0d8c41.system.entry.js +1 -0
  531. package/dist/taro-components/p-ed081b3d.entry.js +1 -0
  532. package/dist/taro-components/{p-208e438c.system.entry.js → p-eda34d91.system.entry.js} +1 -1
  533. package/dist/taro-components/p-ee9d6467.system.entry.js +1 -0
  534. package/dist/taro-components/p-f0056aca.system.entry.js +1 -0
  535. package/dist/taro-components/p-f470ce9f.system.entry.js +1 -0
  536. package/dist/taro-components/p-f662c928.entry.js +1 -0
  537. package/dist/taro-components/p-f6743078.system.entry.js +1 -0
  538. package/dist/taro-components/p-f7198b67.system.entry.js +1 -0
  539. package/dist/taro-components/{p-473afc8e.system.entry.js → p-f782ee74.system.entry.js} +1 -1
  540. package/dist/taro-components/p-f94c0445.system.entry.js +1 -0
  541. package/dist/taro-components/p-f9a13a5c.entry.js +1 -0
  542. package/dist/taro-components/p-fa9dbb6f.system.entry.js +1 -0
  543. package/dist/taro-components/{p-0517f107.system.entry.js → p-fbb789a4.system.entry.js} +1 -1
  544. package/dist/taro-components/{p-b1d2b575.system.entry.js → p-fe1dd94f.system.entry.js} +1 -1
  545. package/dist/taro-components/p-fe8ee676.entry.js +1 -0
  546. package/dist/taro-components/p-ffaac078.system.entry.js +1 -0
  547. package/dist/taro-components/taro-components.css +1 -5
  548. package/dist/taro-components/taro-components.esm.js +1 -1
  549. package/dist/taro-components/taro-components.js +1 -1
  550. package/dist/types/components/canvas/canvas.d.ts +5 -2
  551. package/dist/types/components/draggable-sheet/draggable-sheet.d.ts +5 -0
  552. package/dist/types/components/grid-builder/grid-builder.d.ts +5 -0
  553. package/dist/types/components/list-builder/list-builder.d.ts +5 -0
  554. package/dist/types/components/map/map.d.ts +145 -2
  555. package/dist/types/components/nested-scroll-body/nested-scroll-body.d.ts +5 -0
  556. package/dist/types/components/nested-scroll-header/nested-scroll-header.d.ts +5 -0
  557. package/dist/types/components/open-container/open-container.d.ts +5 -0
  558. package/dist/types/components/picker-view/picker-view-column.d.ts +3 -3
  559. package/dist/types/components/picker-view/picker-view.d.ts +2 -0
  560. package/dist/types/components/scroll-view/scroll-view.d.ts +2 -0
  561. package/dist/types/components/snapshot/snapshot.d.ts +5 -0
  562. package/dist/types/components/span/span.d.ts +5 -0
  563. package/dist/types/components/swiper/swiper-item.d.ts +3 -0
  564. package/dist/types/components/swiper/swiper.d.ts +9 -3
  565. package/dist/types/components/switch/switch.d.ts +3 -3
  566. package/dist/types/components/tabbar/tabbar.d.ts +1 -1
  567. package/dist/types/components/textarea/textarea.d.ts +1 -0
  568. package/dist/types/components.d.ts +344 -13
  569. package/dist/types/utils/helper.d.ts +1 -0
  570. package/dist/types/utils/index.d.ts +2 -0
  571. package/lib/react/component-lib/reactify-wc.js +1 -1
  572. package/lib/react/component-lib/reactify-wc.js.map +1 -1
  573. package/lib/react/components.d.ts +10 -2
  574. package/lib/react/components.js +11 -3
  575. package/lib/react/components.js.map +1 -1
  576. package/lib/react/index.js +1 -1
  577. package/lib/react/react-component-lib/createComponent.js +3 -2
  578. package/lib/react/react-component-lib/createComponent.js.map +1 -1
  579. package/lib/react/react-component-lib/createOverlayComponent.js +1 -1
  580. package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
  581. package/lib/react/react-component-lib/utils/attachProps.d.ts +16 -7
  582. package/lib/react/react-component-lib/utils/attachProps.js +105 -10
  583. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
  584. package/lib/react/react-component-lib/utils/index.js +1 -1
  585. package/lib/vue2/components.d.ts +41 -2
  586. package/lib/vue2/components.js +61 -5
  587. package/lib/vue2/components.js.map +1 -1
  588. package/lib/vue2/index.js +1 -1
  589. package/lib/vue2/vue-component-lib/utils.js.map +1 -1
  590. package/lib/vue3/components.d.ts +10 -2
  591. package/lib/vue3/components.js +45 -5
  592. package/lib/vue3/components.js.map +1 -1
  593. package/lib/vue3/index.js +1 -1
  594. package/lib/vue3/vue-component-lib/utils.js.map +1 -1
  595. package/package.json +15 -12
  596. package/types/Audio.d.ts +11 -11
  597. package/types/Button.d.ts +43 -12
  598. package/types/Canvas.d.ts +14 -14
  599. package/types/ChannelVideo.d.ts +2 -2
  600. package/types/Checkbox.d.ts +12 -7
  601. package/types/CheckboxGroup.d.ts +3 -3
  602. package/types/CoverImage.d.ts +4 -4
  603. package/types/CoverView.d.ts +1 -1
  604. package/types/CustomWrapper.d.ts +1 -1
  605. package/types/DraggableSheet.d.ts +47 -0
  606. package/types/Form.d.ts +4 -4
  607. package/types/GridBuilder.d.ts +72 -0
  608. package/types/GridView.d.ts +19 -5
  609. package/types/Icon.d.ts +4 -4
  610. package/types/Image.d.ts +8 -8
  611. package/types/Input.d.ts +22 -17
  612. package/types/Label.d.ts +2 -2
  613. package/types/ListBuilder.d.ts +55 -0
  614. package/types/ListView.d.ts +9 -2
  615. package/types/LivePlayer.d.ts +11 -4
  616. package/types/Map.d.ts +44 -3
  617. package/types/MovableArea.d.ts +2 -2
  618. package/types/MovableView.d.ts +18 -18
  619. package/types/NativeSlot.d.ts +5 -3
  620. package/types/NavigationBar.d.ts +6 -0
  621. package/types/Navigator.d.ts +8 -8
  622. package/types/NestedScrollBody.d.ts +15 -0
  623. package/types/NestedScrollHeader.d.ts +15 -0
  624. package/types/OpenContainer.d.ts +74 -0
  625. package/types/PageMeta.d.ts +46 -0
  626. package/types/Picker.d.ts +48 -27
  627. package/types/PickerView.d.ts +6 -1
  628. package/types/PickerViewColumn.d.ts +1 -1
  629. package/types/Progress.d.ts +13 -13
  630. package/types/Radio.d.ts +11 -6
  631. package/types/RadioGroup.d.ts +2 -2
  632. package/types/RichText.d.ts +6 -6
  633. package/types/Script.d.ts +37 -0
  634. package/types/ScrollView.d.ts +99 -15
  635. package/types/ShareElement.d.ts +2 -1
  636. package/types/Slider.d.ts +18 -13
  637. package/types/Slot.d.ts +5 -3
  638. package/types/Snapshot.d.ts +25 -0
  639. package/types/Span.d.ts +14 -0
  640. package/types/StickyHeader.d.ts +15 -2
  641. package/types/StickySection.d.ts +7 -1
  642. package/types/Swiper.d.ts +19 -17
  643. package/types/SwiperItem.d.ts +7 -2
  644. package/types/Switch.d.ts +12 -7
  645. package/types/Text.d.ts +20 -4
  646. package/types/Textarea.d.ts +19 -14
  647. package/types/Video.d.ts +42 -33
  648. package/types/View.d.ts +4 -4
  649. package/types/WebView.d.ts +4 -4
  650. package/types/common.d.ts +2 -1
  651. package/types/index.d.ts +16 -5
  652. package/types/index.vue3.d.ts +25 -7
  653. package/dist/cjs/helper-db78e01a.js +0 -19
  654. package/dist/cjs/hls-00fec546.js +0 -25673
  655. package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
  656. package/dist/collection/components/input/index.css +0 -12
  657. package/dist/components/hls.js +0 -25671
  658. package/dist/components/intersection-observer.js +0 -726
  659. package/dist/esm/helper-3d0ecf0f.js +0 -13
  660. package/dist/esm/hls-4018c7ea.js +0 -25671
  661. package/dist/esm/intersection-observer-8e4c7135.js +0 -726
  662. package/dist/esm-es5/helper-3d0ecf0f.js +0 -1
  663. package/dist/esm-es5/hls-4018c7ea.js +0 -1
  664. package/dist/esm-es5/index-980f930f.js +0 -2
  665. package/dist/esm-es5/index-d1b03e47.js +0 -1
  666. package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
  667. package/dist/esm-es5/taro-pull-to-refresh.entry.js +0 -1
  668. package/dist/taro-components/p-0114a2e4.entry.js +0 -1
  669. package/dist/taro-components/p-01e163f8.system.entry.js +0 -1
  670. package/dist/taro-components/p-052da7f0.system.entry.js +0 -1
  671. package/dist/taro-components/p-0fe855c6.entry.js +0 -1
  672. package/dist/taro-components/p-117633e9.system.entry.js +0 -1
  673. package/dist/taro-components/p-137531b6.entry.js +0 -1
  674. package/dist/taro-components/p-139e6251.entry.js +0 -1
  675. package/dist/taro-components/p-1404c119.entry.js +0 -1
  676. package/dist/taro-components/p-15e45ed6.system.js +0 -1
  677. package/dist/taro-components/p-1974e52e.system.entry.js +0 -1
  678. package/dist/taro-components/p-1991cc1a.system.entry.js +0 -1
  679. package/dist/taro-components/p-1b3d41d3.system.entry.js +0 -1
  680. package/dist/taro-components/p-1c4e3899.entry.js +0 -1
  681. package/dist/taro-components/p-1e739fcb.system.entry.js +0 -1
  682. package/dist/taro-components/p-1f39576a.system.entry.js +0 -1
  683. package/dist/taro-components/p-204bd245.entry.js +0 -1
  684. package/dist/taro-components/p-2a071adf.system.entry.js +0 -1
  685. package/dist/taro-components/p-2d1b4dcc.system.entry.js +0 -1
  686. package/dist/taro-components/p-2de2a3fd.system.entry.js +0 -1
  687. package/dist/taro-components/p-3094bda6.system.entry.js +0 -1
  688. package/dist/taro-components/p-355e4dbc.entry.js +0 -1
  689. package/dist/taro-components/p-357ba712.system.entry.js +0 -1
  690. package/dist/taro-components/p-3b1d2d37.system.js +0 -1
  691. package/dist/taro-components/p-3d8c9dfb.entry.js +0 -1
  692. package/dist/taro-components/p-407ca16e.entry.js +0 -1
  693. package/dist/taro-components/p-416cc4dd.system.entry.js +0 -1
  694. package/dist/taro-components/p-425c209a.entry.js +0 -1
  695. package/dist/taro-components/p-43efbf30.js +0 -1
  696. package/dist/taro-components/p-469ee343.entry.js +0 -1
  697. package/dist/taro-components/p-46b8f89b.entry.js +0 -1
  698. package/dist/taro-components/p-478deb81.entry.js +0 -1
  699. package/dist/taro-components/p-486d0ec7.entry.js +0 -1
  700. package/dist/taro-components/p-50902cd0.entry.js +0 -1
  701. package/dist/taro-components/p-53ef8a6c.system.entry.js +0 -1
  702. package/dist/taro-components/p-5613907c.entry.js +0 -1
  703. package/dist/taro-components/p-57b9943c.system.entry.js +0 -1
  704. package/dist/taro-components/p-5c1e6b1c.system.entry.js +0 -1
  705. package/dist/taro-components/p-5dab46cd.system.entry.js +0 -1
  706. package/dist/taro-components/p-6127b1b6.system.entry.js +0 -1
  707. package/dist/taro-components/p-657cb6e4.system.entry.js +0 -1
  708. package/dist/taro-components/p-66f7eea6.entry.js +0 -1
  709. package/dist/taro-components/p-69cd1f2a.system.entry.js +0 -1
  710. package/dist/taro-components/p-6a96da58.js +0 -1
  711. package/dist/taro-components/p-6cde180b.entry.js +0 -1
  712. package/dist/taro-components/p-6db97374.entry.js +0 -1
  713. package/dist/taro-components/p-6e115968.entry.js +0 -1
  714. package/dist/taro-components/p-6f84e936.entry.js +0 -1
  715. package/dist/taro-components/p-71b54f06.entry.js +0 -1
  716. package/dist/taro-components/p-72b118b0.entry.js +0 -1
  717. package/dist/taro-components/p-72f327e1.js +0 -1
  718. package/dist/taro-components/p-79c3fde3.system.entry.js +0 -1
  719. package/dist/taro-components/p-7b3b8057.entry.js +0 -1
  720. package/dist/taro-components/p-7b68dee8.entry.js +0 -1
  721. package/dist/taro-components/p-7d635413.entry.js +0 -1
  722. package/dist/taro-components/p-7e6b54cb.system.js +0 -2
  723. package/dist/taro-components/p-7e998213.system.entry.js +0 -1
  724. package/dist/taro-components/p-801f09b8.entry.js +0 -1
  725. package/dist/taro-components/p-85a7daeb.system.entry.js +0 -1
  726. package/dist/taro-components/p-86280254.entry.js +0 -1
  727. package/dist/taro-components/p-8c0b740e.entry.js +0 -1
  728. package/dist/taro-components/p-90333d0a.system.entry.js +0 -1
  729. package/dist/taro-components/p-9046110a.entry.js +0 -1
  730. package/dist/taro-components/p-904df510.entry.js +0 -1
  731. package/dist/taro-components/p-907d9d01.system.entry.js +0 -1
  732. package/dist/taro-components/p-9137dcab.js +0 -2
  733. package/dist/taro-components/p-962f28cb.entry.js +0 -1
  734. package/dist/taro-components/p-968b7c1d.entry.js +0 -1
  735. package/dist/taro-components/p-982bb5bf.entry.js +0 -1
  736. package/dist/taro-components/p-98f9f50f.system.entry.js +0 -1
  737. package/dist/taro-components/p-9a5fbb2e.entry.js +0 -1
  738. package/dist/taro-components/p-9aeb7995.entry.js +0 -1
  739. package/dist/taro-components/p-9b6550fc.entry.js +0 -1
  740. package/dist/taro-components/p-9d9ede17.system.entry.js +0 -1
  741. package/dist/taro-components/p-9edea30f.system.entry.js +0 -1
  742. package/dist/taro-components/p-a1763153.entry.js +0 -1
  743. package/dist/taro-components/p-a20ecd3b.entry.js +0 -1
  744. package/dist/taro-components/p-a20fed0a.entry.js +0 -1
  745. package/dist/taro-components/p-a3a1a779.entry.js +0 -1
  746. package/dist/taro-components/p-a4882902.system.entry.js +0 -1
  747. package/dist/taro-components/p-a8565231.entry.js +0 -1
  748. package/dist/taro-components/p-a8925584.system.entry.js +0 -1
  749. package/dist/taro-components/p-a8e7cf87.entry.js +0 -1
  750. package/dist/taro-components/p-a940a65b.entry.js +0 -1
  751. package/dist/taro-components/p-af3fa859.system.entry.js +0 -1
  752. package/dist/taro-components/p-af8e521a.entry.js +0 -1
  753. package/dist/taro-components/p-af9ef8b4.entry.js +0 -1
  754. package/dist/taro-components/p-afb3895c.system.entry.js +0 -1
  755. package/dist/taro-components/p-b027181b.entry.js +0 -1
  756. package/dist/taro-components/p-b235e43c.entry.js +0 -1
  757. package/dist/taro-components/p-b4ea72ea.entry.js +0 -1
  758. package/dist/taro-components/p-b4f3d0ab.entry.js +0 -1
  759. package/dist/taro-components/p-b6d4634f.system.entry.js +0 -1
  760. package/dist/taro-components/p-ba3b2aa5.system.entry.js +0 -1
  761. package/dist/taro-components/p-bcf80126.system.entry.js +0 -1
  762. package/dist/taro-components/p-bd5177d3.system.js +0 -1
  763. package/dist/taro-components/p-bdc30301.entry.js +0 -1
  764. package/dist/taro-components/p-c1073ed6.system.entry.js +0 -1
  765. package/dist/taro-components/p-c11a42e0.entry.js +0 -1
  766. package/dist/taro-components/p-c39a46ca.system.entry.js +0 -1
  767. package/dist/taro-components/p-c4b8851b.entry.js +0 -1
  768. package/dist/taro-components/p-cc164fa3.entry.js +0 -1
  769. package/dist/taro-components/p-cc70bb7a.system.entry.js +0 -1
  770. package/dist/taro-components/p-ce33f1f3.entry.js +0 -1
  771. package/dist/taro-components/p-d34a6c04.entry.js +0 -1
  772. package/dist/taro-components/p-d3c7f87d.js +0 -1
  773. package/dist/taro-components/p-da239b8b.system.entry.js +0 -1
  774. package/dist/taro-components/p-dab28e1f.system.entry.js +0 -1
  775. package/dist/taro-components/p-e09451c5.system.entry.js +0 -1
  776. package/dist/taro-components/p-e33f3592.entry.js +0 -1
  777. package/dist/taro-components/p-e3480c4c.entry.js +0 -1
  778. package/dist/taro-components/p-e53508c1.system.entry.js +0 -1
  779. package/dist/taro-components/p-e6481671.system.entry.js +0 -1
  780. package/dist/taro-components/p-e67755f0.system.entry.js +0 -1
  781. package/dist/taro-components/p-e78775ce.system.js +0 -1
  782. package/dist/taro-components/p-eaa370a9.system.entry.js +0 -1
  783. package/dist/taro-components/p-ed331c06.system.js +0 -1
  784. package/dist/taro-components/p-f02b6f70.entry.js +0 -1
  785. package/dist/taro-components/p-f0340edf.entry.js +0 -1
  786. package/dist/taro-components/p-f533bc2f.entry.js +0 -1
  787. package/dist/taro-components/p-f6f6a996.system.entry.js +0 -1
  788. package/dist/taro-components/p-f7927285.system.entry.js +0 -1
  789. package/dist/taro-components/p-f7b32c6b.entry.js +0 -1
  790. package/dist/taro-components/p-fa6c022a.system.entry.js +0 -1
  791. package/dist/taro-components/p-fb983850.entry.js +0 -1
  792. package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js +0 -296
  793. package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js.map +0 -1
@@ -1,26 +1 @@
1
- taro-text-core {
2
- display: inline;
3
- user-select: none;
4
- }
5
- taro-text-core[selectable=true], taro-text-core[user-select=true] {
6
- display: inline-block;
7
- user-select: text;
8
- }
9
- taro-text-core[space] {
10
- white-space: pre-wrap;
11
- }
12
- taro-text-core[space=ensp] {
13
- word-spacing: 0.5em;
14
- }
15
- taro-text-core[space=nbsp] {
16
- word-spacing: 1em;
17
- }
18
- taro-text-core[number-of-lines] {
19
- --line-clamp: 2;
20
- display: -webkit-box;
21
- -webkit-box-orient: vertical;
22
- word-wrap: break-word;
23
- overflow: hidden;
24
- text-overflow: ellipsis;
25
- -webkit-line-clamp: var(--line-clamp);
26
- }
1
+ taro-text-core{user-select:none;display:inline}taro-text-core[selectable=true],taro-text-core[user-select=true]{user-select:text;display:inline-block}taro-text-core[space]{white-space:pre-wrap}taro-text-core[space=ensp]{word-spacing:.5em}taro-text-core[space=nbsp]{word-spacing:1em}taro-text-core[number-of-lines]{--line-clamp:2;word-wrap:break-word;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}
@@ -1,22 +1 @@
1
- taro-textarea-core {
2
- display: block;
3
- width: 300px;
4
- }
5
-
6
- taro-textarea-core .auto-height {
7
- height: auto;
8
- }
9
-
10
- .taro-textarea {
11
- display: block;
12
- position: relative;
13
- border: 0;
14
- width: 100%;
15
- height: inherit;
16
- appearance: none;
17
- cursor: auto;
18
- line-height: 1.5;
19
- }
20
- .taro-textarea:focus {
21
- outline: none;
22
- }
1
+ taro-textarea-core{width:300px;display:block}taro-textarea-core .auto-height{height:auto}.taro-textarea{height:inherit;appearance:none;cursor:auto;border:0;width:100%;line-height:1.5;display:block;position:relative}.taro-textarea:focus{outline:none}
@@ -8,6 +8,7 @@ export class Textarea {
8
8
  e.stopPropagation();
9
9
  this.handleLineChange();
10
10
  const value = e.target.value || '';
11
+ this.value = value;
11
12
  this.onInput.emit({
12
13
  value,
13
14
  cursor: value.length
@@ -112,6 +113,13 @@ export class Textarea {
112
113
  (_a = this.textareaRef) === null || _a === void 0 ? void 0 : _a.focus();
113
114
  }
114
115
  }
116
+ watchValue(newValue) {
117
+ // hack: 在事件回调中,props.value 变化不知为何不会触发 Stencil 更新,因此这里手动更新一下
118
+ const value = fixControlledValue(newValue);
119
+ if (this.textareaRef.value !== value) {
120
+ this.textareaRef.value = value;
121
+ }
122
+ }
115
123
  async focus() {
116
124
  this.textareaRef.focus();
117
125
  }
@@ -422,6 +430,9 @@ export class Textarea {
422
430
  return [{
423
431
  "propName": "autoFocus",
424
432
  "methodName": "watchAutoFocus"
433
+ }, {
434
+ "propName": "value",
435
+ "methodName": "watchValue"
425
436
  }];
426
437
  }
427
438
  }
@@ -1,326 +1 @@
1
- .taro-video {
2
- display: inline-block;
3
- overflow: hidden;
4
- position: relative;
5
- width: 100%;
6
- height: 225px;
7
- line-height: 0;
8
- }
9
-
10
- .taro-video[hidden] {
11
- display: none;
12
- }
13
-
14
- .taro-video-container {
15
- display: inline-block;
16
- position: absolute;
17
- left: 0;
18
- top: 0;
19
- width: 100%;
20
- height: 100%;
21
- background-color: #000;
22
- object-position: inherit;
23
- }
24
-
25
- .taro-video-container.taro-video-type-fullscreen {
26
- position: fixed;
27
- left: 0;
28
- right: 0;
29
- top: 0;
30
- bottom: 0;
31
- z-index: 999;
32
- }
33
-
34
- .taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left {
35
- transform: translate(-50%, -50%) rotate(-90deg);
36
- }
37
-
38
- .taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right {
39
- transform: translate(-50%, -50%) rotate(90deg);
40
- }
41
-
42
- .taro-video-video {
43
- width: 100%;
44
- height: 100%;
45
- object-position: inherit;
46
- }
47
-
48
- .taro-video-cover {
49
- display: flex;
50
- position: absolute;
51
- left: 0;
52
- top: 0;
53
- bottom: 0;
54
- z-index: 1;
55
- flex-direction: column;
56
- justify-content: center;
57
- align-items: center;
58
- width: 100%;
59
- background-color: rgba(1, 1, 1, 0.5);
60
- -webkit-box-orient: vertical;
61
- -webkit-box-direction: normal;
62
- -webkit-box-pack: center;
63
- -webkit-box-align: center;
64
- }
65
-
66
- .taro-video-cover-play-button {
67
- width: 40px;
68
- height: 40px;
69
- background-repeat: no-repeat;
70
- background-position: 50% 50%;
71
- background-size: 50%;
72
- }
73
-
74
- .taro-video-cover-duration {
75
- margin-top: 10px;
76
- line-height: 1;
77
- font-size: 16px;
78
- color: #fff;
79
- }
80
-
81
- .taro-video-bar {
82
- display: flex;
83
- visibility: hidden;
84
- overflow: hidden;
85
- position: absolute;
86
- right: 0;
87
- bottom: 0;
88
- z-index: 1;
89
- align-items: center;
90
- padding: 0 10px;
91
- height: 44px;
92
- background-color: rgba(0, 0, 0, 0.5);
93
- -webkit-box-align: center;
94
- }
95
-
96
- .taro-video-bar.taro-video-bar-full {
97
- left: 0;
98
- }
99
-
100
- .taro-video-controls {
101
- display: flex;
102
- -webkit-box-flex: 1;
103
- flex-grow: 1;
104
- margin: 0 8.5px;
105
- }
106
-
107
- .taro-video-control-button {
108
- box-sizing: content-box;
109
- margin-left: -8.5px;
110
- padding: 14.5px 12.5px;
111
- width: 13px;
112
- height: 15px;
113
- }
114
-
115
- .taro-video-control-button::after {
116
- display: block;
117
- width: 100%;
118
- height: 100%;
119
- background-repeat: no-repeat;
120
- background-position: 50% 50%;
121
- background-size: 100%;
122
- content: "";
123
- }
124
-
125
- .taro-video-control-button.taro-video-control-button-play::after,
126
- .taro-video-cover-play-button {
127
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==");
128
- }
129
-
130
- .taro-video-control-button.taro-video-control-button-pause::after {
131
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC");
132
- }
133
-
134
- .taro-video-current-time,
135
- .taro-video-duration {
136
- margin-top: 15px;
137
- margin-bottom: 14.5px;
138
- height: 14.5px;
139
- line-height: 14.5px;
140
- font-size: 12px;
141
- color: #cbcbcb;
142
- }
143
-
144
- .taro-video-progress-container {
145
- position: relative;
146
- flex-grow: 2;
147
- -webkit-box-flex: 2;
148
- }
149
-
150
- .taro-video-progress {
151
- position: relative;
152
- margin: 21px 12px;
153
- height: 2px;
154
- background-color: rgba(255, 255, 255, 0.4);
155
- }
156
-
157
- .taro-video-progress-buffered {
158
- position: absolute;
159
- left: 0;
160
- top: 0;
161
- width: 0;
162
- height: 100%;
163
- background-color: rgba(255, 255, 255, 0.8);
164
- transition: width 0.1s;
165
- }
166
-
167
- .taro-video-ball {
168
- position: absolute;
169
- left: 0;
170
- top: -21px;
171
- box-sizing: content-box;
172
- margin-left: -22px;
173
- padding: 14px;
174
- width: 16px;
175
- height: 16px;
176
- }
177
-
178
- .taro-video-inner {
179
- border-radius: 50%;
180
- width: 100%;
181
- height: 100%;
182
- background-color: #fff;
183
- }
184
-
185
- .taro-video-danmu-button {
186
- margin: 0 8.5px;
187
- padding: 2px 10px;
188
- border: 1px solid #fff;
189
- border-radius: 5px;
190
- line-height: 1;
191
- font-size: 13px;
192
- color: #fff;
193
- white-space: nowrap;
194
- }
195
-
196
- .taro-video-danmu-button.taro-video-danmu-button-active {
197
- border-color: #48c23d;
198
- color: #48c23d;
199
- }
200
-
201
- .taro-video-fullscreen,
202
- .taro-video-mute {
203
- box-sizing: content-box;
204
- padding: 8.5px;
205
- width: 17px;
206
- height: 17px;
207
- background-repeat: no-repeat;
208
- background-position: 50% 50%;
209
- background-size: 50%;
210
- }
211
-
212
- .taro-video-fullscreen {
213
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==");
214
- }
215
-
216
- .taro-video-fullscreen.taro-video-type-fullscreen {
217
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABPUlEQVRYR+2Xu0pDURBF1/ZLxNcHKNiIlfhA7C0UBSEE8RNEBNFPUEQEEbGxFiSSSrCwEHsf5E/ccsSUuWfUhKQ40947+y42Z8+ZK/pcinzf9hhwD1xJ2q/qsb0JHAOzkl5y+lGAGnCWICQtZgAS6DxQk3TeLYA6cAo0JSXxjmW7CcwBdUkJurKiDhSA4kBvHbA9CqwBQx2O7BSw8ssU3ALPFRF4knT3nQLbr8B4LjLBOdAAFgJaLUkjbYC9n+zm+i4kXWbmwCqwnRMCHiXthuZAQOzPrxSA4kBxYDAcsH0EzATCfCLpJjOINoCtgFZabg7bk7AFDAeaGpKWgitZTu5N0kQbYBmYrujo9mX0CVxL+gidAdu9vY5zXhWA4sAgOND3X7NJ4AHYCaxkB8B62gslvecSFpoDOZH/PP8Cnt7hIaM5xCEAAAAASUVORK5CYII=");
218
- }
219
-
220
- .taro-video-mute {
221
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAA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z459+FoAAABqElEQVRYhc2XPWsVQRSGnxPjF4oGRfxoRQKGWCU2Ft7CykrQWosEyf/If0hhIPgHDEmbNJZqCFxiQEgTUGxsBUVEHgvnyrjZZJO92V1fGIaZnTPvszPszNlQ6VIjnbr/DwCoDLMNak/dUVfUK0f2rQugnlcX/FevWgFQH6gf3autRgHUC+piiXHzAOmtPx9gXgug8itQx9SXwDpw47AGKXZWvXvQmNFCwE3gCXA2dY0Az4GrRzHONA9cU/vAbERsllEOyh31e8USV2mrMPdG9uyn+rDom2/BHHCm5puWKiKmgdtAnz+rvaxO5mNygEvHaZ5BfADuARvAaWBpP4DGFBHfgBngFzClTrUKkCDeA+9S837rAEnbqb7VFcCpVJ/oCmCw959aB1AfAROpudYqgDoOLKRmPyLelAF8bcD4pPoMeAtcB34AT4uDBqXXwFG8XXUU/72MIuK1OgE8Bs6l7mEvo8up7lN1Ge0n9aK6VHMFZvJTr9S3CiALaCQhqZOSvegMIAvu2UVSWpigLC1fbQ0gm6in7qpfLCQbhwGIYcyPQ53/G3YO8BtUtd35bvKcVwAAAABJRU5ErkJggg==");
222
- }
223
-
224
- .taro-video-mute.taro-video-type-mute {
225
- background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2N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LdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC");
226
- }
227
-
228
- .taro-video-danmu {
229
- overflow: visible;
230
- position: absolute;
231
- left: 0;
232
- top: 0;
233
- bottom: 0;
234
- margin-top: 14px;
235
- margin-bottom: 44px;
236
- width: 100%;
237
- line-height: 14px;
238
- font-size: 14px;
239
- }
240
-
241
- .taro-video-danmu-item {
242
- position: absolute;
243
- left: 100%;
244
- line-height: 1;
245
- color: #fff;
246
- white-space: nowrap;
247
- transform: translateX(0);
248
- transition-property: left, transform;
249
- transition-duration: 3s;
250
- transition-timing-function: linear;
251
- }
252
-
253
- .taro-video-toast {
254
- display: block;
255
- visibility: hidden;
256
- position: absolute;
257
- left: 50%;
258
- top: 50%;
259
- border-radius: 5px;
260
- background-color: rgba(255, 255, 255, 0.8);
261
- pointer-events: none;
262
- color: #000;
263
- transform: translate(-50%, -50%);
264
- }
265
-
266
- .taro-video-toast.taro-video-toast-volume {
267
- display: block;
268
- width: 100px;
269
- height: 100px;
270
- }
271
-
272
- .taro-video-toast-volume .taro-video-toast-title {
273
- display: block;
274
- margin-top: 10px;
275
- width: 100%;
276
- line-height: 16px;
277
- text-align: center;
278
- font-size: 12px;
279
- }
280
-
281
- .taro-video-toast-volume .taro-video-toast-icon {
282
- display: block;
283
- margin-left: 25%;
284
- width: 50%;
285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QSM77Ig7SSIicDs5pKwIvACA+pzFwZIF9OlKm36QyQV7jEqDDJk5VD58uFgGIGX1Se+6yJFqAKsqI6X84GdDb4Mh0Y5zUqjFYFakUTCXja5QLSmBQHbAL8ahAgT1AeYVreSKLLphGwF/CuAfLJQLldGSTFD75c5d4mNCoWyAqG9gYWGED1AOMKo12ZbiWA/idA++deY2DVTZ0Jh5UJPsFQtD/wDaAHGWl5EzgwaUi2gK4UXS11S0cTIjrMFBtYQdAk4DID0BnAAz4B6wNLgTKKG0VIDBHwqitwpOcW+OOB540FdeipNKbUWFrUtn06o5xOij4KyDuqU0IE3Obl/rLA63pTzm9XA8jKACjdniZAaSKFmUpB1yUhAlTsUEpMh913wEkuTe7rKTzPAHqO44vpKPkFhH3cWWBVV6ogJVYZUgz/tXtIYelzI3Ct0fExIGx6j7iKWBUUveyYBehv1RIjIEsfqziq8Xp4pSBJOYTVJFQcVY3wCFeKUjVGyYfQWB00+5bEVBECrNS+qsOKBpVHNCVWHs+LS7H5PV5pOu9v0+OKEOAXR39w1e1C7wM6AkJ1eLmkRcrpRQiQrqobXO5S3vL3/4kBKMsCknV0k+iasVLUMV3UX5SAPGtED8EOT+L9YENnCasUIXNO2goChFWHqAIRyxXN4qI1BCQg9dJESYq8LnbrCBAR8t50Lig6i0krCRBoVWhVlt45wkBrCRBuRZyPuAguxIPe9lXqhpd9DcZMXOvdkPF0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==");
287
- background-repeat: no-repeat;
288
- background-position: 50% 50%;
289
- background-size: 50%;
290
- fill: #000;
291
- }
292
-
293
- .taro-video-toast-volume .taro-video-toast-value {
294
- margin-left: 10px;
295
- margin-top: 5px;
296
- width: 80px;
297
- height: 5px;
298
- }
299
-
300
- .taro-video-toast-volume .taro-video-toast-value > .taro-video-toast-value-content {
301
- overflow: hidden;
302
- }
303
-
304
- .taro-video-toast-volume-grids {
305
- width: 80px;
306
- height: 5px;
307
- }
308
-
309
- .taro-video-toast-volume-grids-item {
310
- float: left;
311
- width: 7.1px;
312
- height: 5px;
313
- background-color: #000;
314
- }
315
-
316
- .taro-video-toast-volume-grids-item:not(:first-child) {
317
- margin-left: 1px;
318
- }
319
-
320
- .taro-video-toast.taro-video-toast-progress {
321
- padding: 6px;
322
- background-color: rgba(0, 0, 0, 0.8);
323
- line-height: 18px;
324
- font-size: 14px;
325
- color: #fff;
326
- }
1
+ .taro-video{width:100%;height:225px;line-height:0;display:inline-block;position:relative;overflow:hidden}.taro-video[hidden]{display:none}.taro-video-container{object-position:inherit;background-color:#000;width:100%;height:100%;display:inline-block;position:absolute;top:0;left:0}.taro-video-container.taro-video-type-fullscreen{z-index:999;position:fixed;inset:0}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{transform:translate(-50%,-50%)rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{transform:translate(-50%,-50%)rotate(90deg)}.taro-video-video{object-position:inherit;width:100%;height:100%;display:block}.taro-video-cover{z-index:1;background-color:rgba(1,1,1,.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;-webkit-box-pack:center;justify-content:center;align-items:center;width:100%;display:flex;position:absolute;top:0;bottom:0;left:0}.taro-video-cover-play-button{background-position:50%;background-repeat:no-repeat;background-size:50%;width:40px;height:40px}.taro-video-cover-duration{color:#fff;margin-top:10px;font-size:16px;line-height:1}.taro-video-bar{visibility:hidden;z-index:1;background-color:rgba(0,0,0,.5);-webkit-box-align:center;align-items:center;height:44px;padding:0 10px;display:flex;position:absolute;bottom:0;right:0;overflow:hidden}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{-webkit-box-flex:1;flex-grow:1;margin:0 8.5px;display:flex}.taro-video-control-button{box-sizing:content-box;width:13px;height:15px;margin-left:-8.5px;padding:14.5px 12.5px}.taro-video-control-button:after{content:"";background-position:50%;background-repeat:no-repeat;background-size:100%;width:100%;height:100%;display:block}.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{color:#cbcbcb;height:14.5px;margin-top:15px;margin-bottom:14.5px;font-size:12px;line-height:14.5px}.taro-video-progress-container{-webkit-box-flex:2;flex-grow:2;position:relative}.taro-video-progress{background-color:rgba(255,255,255,.4);height:2px;margin:21px 12px;position:relative}.taro-video-progress-buffered{background-color:rgba(255,255,255,.8);width:0;height:100%;transition:width .1s;position:absolute;top:0;left:0}.taro-video-ball{box-sizing:content-box;width:16px;height:16px;margin-left:-22px;padding:14px;position:absolute;top:-21px;left:0}.taro-video-inner{background-color:#fff;border-radius:50%;width:100%;height:100%}.taro-video-danmu-button{color:#fff;white-space:nowrap;border:1px solid #fff;border-radius:5px;margin:0 8.5px;padding:2px 10px;font-size:13px;line-height:1}.taro-video-danmu-button.taro-video-danmu-button-active{color:#48c23d;border-color:#48c23d}.taro-video-fullscreen,.taro-video-mute{box-sizing:content-box;background-position:50%;background-repeat:no-repeat;background-size:50%;width:17px;height:17px;padding:8.5px}.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+i4kXWbmwCqwnRMCHiXthuZAQOzPrxSA4kBxYDA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yZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+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,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp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KkipOaLuUceAt8DhUvQd1FsCYhR4ChzaSIBMHSOi7lOfsByFWiCgEBH1GHAF2JlMPcBt4GC3HUYEaj9wF3gVEVPtfNVTwAXgWX7CDKq/1piAZTSZBmim8qJ6sQ3EgDqb/L7kU3MH2NHtl3dQX3r3Ak21UYAYAj4A/cl0JB+RF+uMRj4iQ+p8zt7KYFLdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC)}.taro-video-danmu{width:100%;margin-top:14px;margin-bottom:44px;font-size:14px;line-height:14px;position:absolute;top:0;bottom:0;left:0;overflow:visible}.taro-video-danmu-item{color:#fff;white-space:nowrap;line-height:1;transition-property:left,transform;transition-duration:3s;transition-timing-function:linear;position:absolute;left:100%;transform:translate(0)}.taro-video-toast{visibility:hidden;pointer-events:none;color:#000;background-color:rgba(255,255,255,.8);border-radius:5px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.taro-video-toast.taro-video-toast-volume{width:100px;height:100px;display:block}.taro-video-toast-volume .taro-video-toast-title{text-align:center;width:100%;margin-top:10px;font-size:12px;line-height:16px;display:block}.taro-video-toast-volume .taro-video-toast-icon{fill:#000;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxe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QHbAL8ahAgT1AeYVreSKLLphGwF/CuAfLJQLldGSTFD75c5d4mNCoWyAqG9gYWGED1AOMKo12ZbiWA/idA++deY2DVTZ0Jh5UJPsFQtD/wDaAHGWl5EzgwaUi2gK4UXS11S0cTIjrMFBtYQdAk4DID0BnAAz4B6wNLgTKKG0VIDBHwqitwpOcW+OOB540FdeipNKbUWFrUtn06o5xOij4KyDuqU0IE3Obl/rLA63pTzm9XA8jKACjdniZAaSKFmUpB1yUhAlTsUEpMh913wEkuTe7rKTzPAHqO44vpKPkFhH3cWWBVV6ogJVYZUgz/tXtIYelzI3Ct0fExIGx6j7iKWBUUveyYBehv1RIjIEsfqziq8Xp4pSBJOYTVJFQcVY3wCFeKUjVGyYfQWB00+5bEVBECrNS+qsOKBpVHNCVWHs+LS7H5PV5pOu9v0+OKEOAXR39w1e1C7wM6AkJ1eLmkRcrpRQiQrqobXO5S3vL3/4kBKMsCknV0k+iasVLUMV3UX5SAPGtED8EOT+L9YENnCasUIXNO2goChFWHqAIRyxXN4qI1BCQg9dJESYq8LnbrCBAR8t50Lig6i0krCRBoVWhVlt45wkBrCRBuRZyPuAguxIPe9lXqhpd9DcZMXOvdkPF0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==);background-position:50%;background-repeat:no-repeat;background-size:50%;width:50%;height:50%;margin-left:25%;display:block}.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;background-color:#000;width:7.1px;height:5px}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{color:#fff;background-color:rgba(0,0,0,.8);padding:6px;font-size:14px;line-height:18px}
@@ -1,4 +1,5 @@
1
1
  import { h, Host } from '@stencil/core';
2
+ import Taro from '@tarojs/taro';
2
3
  import classNames from 'classnames';
3
4
  import { throttle } from '../../utils';
4
5
  import { formatTime, calcDist, normalizeNumber, screenFn, isHls, scene } from './utils';
@@ -199,10 +200,10 @@ export class Video {
199
200
  // 全屏后,"退出"走的是浏览器事件,在此同步状态
200
201
  const timestamp = new Date().getTime();
201
202
  if (!e.detail && this.isFullScreen && !document[screenFn.fullscreenElement] && timestamp - this.fullScreenTimestamp > 100) {
202
- this.toggleFullScreen(false);
203
+ this.toggleFullScreen(false, true);
203
204
  }
204
205
  };
205
- this.toggleFullScreen = (isFullScreen = !this.isFullScreen) => {
206
+ this.toggleFullScreen = (isFullScreen = !this.isFullScreen, fromBrowser = false) => {
206
207
  this.isFullScreen = isFullScreen; // this.videoRef?.['webkitDisplayingFullscreen']
207
208
  this.controlsRef.toggleVisibility(true);
208
209
  this.fullScreenTimestamp = new Date().getTime();
@@ -213,8 +214,16 @@ export class Video {
213
214
  if (this.isFullScreen && !document[screenFn.fullscreenElement]) {
214
215
  setTimeout(() => {
215
216
  this.videoRef[screenFn.requestFullscreen]({ navigationUI: 'auto' });
217
+ Taro.eventCenter.trigger('__taroEnterFullScreen', {});
216
218
  }, 0);
217
219
  }
220
+ else {
221
+ if (!fromBrowser) {
222
+ // Note: 全屏后,"退出全屏"是浏览器按钮是浏览器内部按钮,非html按钮,点击"退出全屏"按钮是浏览器内部实现功能。此时再次调用exitFullscreen反而会报错,因此不再调用
223
+ document[screenFn.exitFullscreen]();
224
+ }
225
+ Taro.eventCenter.trigger('__taroExitFullScreen', {});
226
+ }
218
227
  };
219
228
  this.toggleMute = (e) => {
220
229
  e.stopPropagation();
@@ -259,6 +268,7 @@ export class Video {
259
268
  }
260
269
  componentWillLoad() {
261
270
  this._enableDanmu = this.enableDanmu;
271
+ this.isMute = this.muted;
262
272
  }
263
273
  componentDidLoad() {
264
274
  var _a, _b;
@@ -1,9 +1 @@
1
- body,
2
- html {
3
- user-select: none;
4
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
5
- }
6
-
7
- taro-view-core {
8
- display: block;
9
- }
1
+ body,html{user-select:none;-webkit-tap-highlight-color:transparent}taro-view-core{display:block}
@@ -1,5 +1,6 @@
1
1
  import { h, Host } from '@stencil/core';
2
2
  import classNames from 'classnames';
3
+ import { handleStencilNodes } from '../../utils';
3
4
  export class View {
4
5
  constructor() {
5
6
  this.startTime = 0;
@@ -42,15 +43,7 @@ export class View {
42
43
  }
43
44
  }
44
45
  componentDidRender() {
45
- const el = this.el;
46
- el.childNodes.forEach(item => {
47
- // Note: ['s-cn'] Content Reference Node
48
- if (item.nodeType === document.COMMENT_NODE && item['s-cn'])
49
- item['s-cn'] = false;
50
- // Note: ['s-sr'] Is a slot reference node (渲染完成后禁用 slotRelocation 特性, 避免 Stencil 组件相互调用时内置排序与第三方 UI 框架冲突导致组件顺序混乱)
51
- if (item.nodeType !== document.COMMENT_NODE && item['s-sr'])
52
- item['s-sr'] = false;
53
- });
46
+ handleStencilNodes(this.el);
54
47
  }
55
48
  render() {
56
49
  const cls = classNames({
@@ -1,12 +1 @@
1
- iframe {
2
- border: none;
3
- }
4
-
5
- .taro-webview {
6
- position: fixed;
7
- top: 0;
8
- bottom: 0;
9
- z-index: 999;
10
- width: 100%;
11
- height: 100%;
12
- }
1
+ iframe{border:none}.taro-webview{z-index:999;width:100%;height:100%;position:fixed;top:0;bottom:0}
@@ -8,3 +8,14 @@ export function notSupport(name = '', instance = {}) {
8
8
  category: 'temporarily',
9
9
  });
10
10
  }
11
+ export function handleStencilNodes(el) {
12
+ var _a;
13
+ (_a = el === null || el === void 0 ? void 0 : el.childNodes) === null || _a === void 0 ? void 0 : _a.forEach(item => {
14
+ // Note: ['s-cn'] Content Reference Node
15
+ if (item.nodeType === document.COMMENT_NODE && item['s-cn'])
16
+ item['s-cn'] = false;
17
+ // Note: ['s-sr'] Is a slot reference node (渲染完成后禁用 slotRelocation 特性, 避免 Stencil 组件相互调用时内置排序与第三方 UI 框架冲突导致组件顺序混乱)
18
+ if (item.nodeType !== document.COMMENT_NODE && item['s-sr'])
19
+ item['s-sr'] = false;
20
+ });
21
+ }
@@ -33,3 +33,13 @@ export * from './url';
33
33
  export function isVisible(e) {
34
34
  return !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length);
35
35
  }
36
+ export function isElement(e) {
37
+ return typeof HTMLElement === 'object'
38
+ ? e instanceof HTMLElement
39
+ : e && typeof e === 'object' && e !== null && e.nodeType === 1 && typeof e.nodeName === 'string';
40
+ }
41
+ export function isNode(e) {
42
+ return typeof Node === 'object'
43
+ ? e instanceof Node
44
+ : e && typeof e === 'object' && e !== null && typeof e.nodeType === 'number' && typeof e.nodeName === 'string';
45
+ }
@@ -9,5 +9,16 @@ function notSupport(name = '', instance = {}) {
9
9
  category: 'temporarily',
10
10
  });
11
11
  }
12
+ function handleStencilNodes(el) {
13
+ var _a;
14
+ (_a = el === null || el === void 0 ? void 0 : el.childNodes) === null || _a === void 0 ? void 0 : _a.forEach(item => {
15
+ // Note: ['s-cn'] Content Reference Node
16
+ if (item.nodeType === document.COMMENT_NODE && item['s-cn'])
17
+ item['s-cn'] = false;
18
+ // Note: ['s-sr'] Is a slot reference node (渲染完成后禁用 slotRelocation 特性, 避免 Stencil 组件相互调用时内置排序与第三方 UI 框架冲突导致组件顺序混乱)
19
+ if (item.nodeType !== document.COMMENT_NODE && item['s-sr'])
20
+ item['s-sr'] = false;
21
+ });
22
+ }
12
23
 
13
- export { notSupport as n };
24
+ export { handleStencilNodes as h, notSupport as n };
@@ -20,10 +20,12 @@ export { ContactButton as TaroContactButtonCore } from '../types/components/cont
20
20
  export { CoverImage as TaroCoverImageCore } from '../types/components/cover-image/cover-image';
21
21
  export { CoverView as TaroCoverViewCore } from '../types/components/cover-view/cover-view';
22
22
  export { CustomWrapper as TaroCustomWrapperCore } from '../types/components/custom-wrapper/custom-wrapper';
23
+ export { DraggableSheet as TaroDraggableSheetCore } from '../types/components/draggable-sheet/draggable-sheet';
23
24
  export { Editor as TaroEditorCore } from '../types/components/editor/editor';
24
25
  export { FollowSwan as TaroFollowSwanCore } from '../types/components/follow-swan/follow-swan';
25
26
  export { Form as TaroFormCore } from '../types/components/form/form';
26
27
  export { FunctionalPageNavigator as TaroFunctionalPageNavigatorCore } from '../types/components/functional-page-navigator/functional-page-navigator';
28
+ export { GridBuilder as TaroGridBuilderCore } from '../types/components/grid-builder/grid-builder';
27
29
  export { GridView as TaroGridViewCore } from '../types/components/grid-view/grid-view';
28
30
  export { Icon as TaroIconCore } from '../types/components/icon/icon';
29
31
  export { Image as TaroImageCore } from '../types/components/image/image';
@@ -33,6 +35,7 @@ export { KeyboardAccessory as TaroKeyboardAccessoryCore } from '../types/compone
33
35
  export { Label as TaroLabelCore } from '../types/components/label/label';
34
36
  export { Lifestyle as TaroLifestyleCore } from '../types/components/lifestyle/lifestyle';
35
37
  export { Like as TaroLikeCore } from '../types/components/like/like';
38
+ export { ListBuilder as TaroListBuilderCore } from '../types/components/list-builder/list-builder';
36
39
  export { ListView as TaroListViewCore } from '../types/components/list-view/list-view';
37
40
  export { LivePlayer as TaroLivePlayerCore } from '../types/components/live-player/live-player';
38
41
  export { LivePusher as TaroLivePusherCore } from '../types/components/live-pusher/live-pusher';
@@ -45,7 +48,10 @@ export { MovableView as TaroMovableViewCore } from '../types/components/movable-
45
48
  export { NativeSlot as TaroNativeSlotCore } from '../types/components/slot/native-slot';
46
49
  export { NavigationBar as TaroNavigationBarCore } from '../types/components/navigation-bar/navigation-bar';
47
50
  export { Navigator as TaroNavigatorCore } from '../types/components/navigator/navigator';
51
+ export { NestedScrollBody as TaroNestedScrollBodyCore } from '../types/components/nested-scroll-body/nested-scroll-body';
52
+ export { NestedScrollHeader as TaroNestedScrollHeaderCore } from '../types/components/nested-scroll-header/nested-scroll-header';
48
53
  export { OfficialAccount as TaroOfficialAccountCore } from '../types/components/official-account/official-account';
54
+ export { OpenContainer as TaroOpenContainerCore } from '../types/components/open-container/open-container';
49
55
  export { OpenData as TaroOpenDataCore } from '../types/components/open-data/open-data';
50
56
  export { PageContainer as TaroPageContainerCore } from '../types/components/page-container/page-container';
51
57
  export { PageMeta as TaroPageMetaCore } from '../types/components/page-meta/page-meta';
@@ -54,7 +60,7 @@ export { TaroPickerGroup as TaroPickerGroup } from '../types/components/picker/p
54
60
  export { PickerViewColumn as TaroPickerViewColumnCore } from '../types/components/picker-view/picker-view-column';
55
61
  export { PickerView as TaroPickerViewCore } from '../types/components/picker-view/picker-view';
56
62
  export { Progress as TaroProgressCore } from '../types/components/progress/progress';
57
- export { PullToRefresh as TaroPullToRefresh } from '../types/components/pull-to-refresh/pull-to-refresh';
63
+ export { PullToRefresh as TaroPullToRefreshCore } from '../types/components/pull-to-refresh/pull-to-refresh';
58
64
  export { Radio as TaroRadioCore } from '../types/components/radio/radio';
59
65
  export { RadioGroup as TaroRadioGroupCore } from '../types/components/radio/radio-group';
60
66
  export { RichText as TaroRichTextCore } from '../types/components/rich-text/rich-text';
@@ -65,6 +71,8 @@ export { ScrollView as TaroScrollViewCore } from '../types/components/scroll-vie
65
71
  export { ShareElement as TaroShareElementCore } from '../types/components/share-element/share-element';
66
72
  export { Slider as TaroSliderCore } from '../types/components/slider/slider';
67
73
  export { Slot as TaroSlotCore } from '../types/components/slot/slot';
74
+ export { Snapshot as TaroSnapshotCore } from '../types/components/snapshot/snapshot';
75
+ export { Span as TaroSpanCore } from '../types/components/span/span';
68
76
  export { StickyHeader as TaroStickyHeaderCore } from '../types/components/sticky-header/sticky-header';
69
77
  export { StickySection as TaroStickySectionCore } from '../types/components/sticky-section/sticky-section';
70
78
  export { Swiper as TaroSwiperCore } from '../types/components/swiper/swiper';