@tarojs/components 4.0.0-canary.9 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (695) hide show
  1. package/LICENSE +8 -8
  2. package/README.md +1 -1
  3. package/dist/cjs/{index-dbbe9dde.js → index-09efe07d.js} +208 -5
  4. package/dist/cjs/{index-dfd8638f.js → index-8a70c333.js} +6 -0
  5. package/dist/cjs/{index-f6805218.js → index-b873e40f.js} +45 -27
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
  10. package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
  11. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
  13. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
  14. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  15. package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
  16. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  17. package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -1
  18. package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
  20. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +1 -1
  21. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
  22. package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
  23. package/dist/cjs/taro-components.cjs.js +2 -2
  24. package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
  25. package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
  27. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-draggable-sheet-core.cjs.entry.js +21 -0
  29. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  32. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  33. package/dist/cjs/taro-grid-builder-core.cjs.entry.js +21 -0
  34. package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
  35. package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
  36. package/dist/cjs/taro-image-core.cjs.entry.js +2 -2
  37. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
  39. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  41. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
  43. package/dist/cjs/taro-list-builder-core.cjs.entry.js +21 -0
  44. package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
  45. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  46. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
  49. package/dist/cjs/taro-map-core.cjs.entry.js +1325 -6
  50. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +6 -3
  52. package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
  53. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  54. package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
  55. package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +21 -0
  56. package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +21 -0
  57. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  58. package/dist/cjs/taro-open-container-core.cjs.entry.js +21 -0
  59. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  60. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  61. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  62. package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
  63. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +3 -3
  64. package/dist/cjs/taro-progress-core.cjs.entry.js +2 -2
  65. package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +5 -2
  66. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  67. package/dist/cjs/taro-rich-text-core.cjs.entry.js +1 -1
  68. package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
  69. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
  70. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
  71. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +3 -3
  72. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  73. package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
  74. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  75. package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
  76. package/dist/cjs/taro-span-core.cjs.entry.js +21 -0
  77. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
  78. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
  79. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +42 -8
  80. package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
  81. package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
  82. package/dist/cjs/taro-tabbar.cjs.entry.js +4 -4
  83. package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
  84. package/dist/cjs/taro-text-core.cjs.entry.js +1 -1
  85. package/dist/cjs/taro-textarea-core.cjs.entry.js +1 -1
  86. package/dist/cjs/taro-video-control_3.cjs.entry.js +15 -6
  87. package/dist/cjs/taro-view-core.cjs.entry.js +3 -3
  88. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  89. package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
  90. package/dist/collection/collection-manifest.json +7 -0
  91. package/dist/collection/components/draggable-sheet/draggable-sheet.js +11 -0
  92. package/dist/collection/components/grid-builder/grid-builder.js +11 -0
  93. package/dist/collection/components/input/style/index.css +1 -1
  94. package/dist/collection/components/list-builder/list-builder.js +11 -0
  95. package/dist/collection/components/map/map.js +1806 -4
  96. package/dist/collection/components/map/style/map.css +1 -0
  97. package/dist/collection/components/movable-area/movable-area.js +2 -1
  98. package/dist/collection/components/movable-area/movable-view.js +3 -1
  99. package/dist/collection/components/nested-scroll-body/nested-scroll-body.js +11 -0
  100. package/dist/collection/components/nested-scroll-header/nested-scroll-header.js +11 -0
  101. package/dist/collection/components/open-container/open-container.js +11 -0
  102. package/dist/collection/components/progress/style/index.css +1 -1
  103. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +3 -0
  104. package/dist/collection/components/span/span.js +11 -0
  105. package/dist/collection/components/swiper/swiper.js +59 -5
  106. package/dist/collection/components/tabbar/style/index.css +1 -1
  107. package/dist/collection/components/video/video.js +8 -3
  108. package/dist/collection/components/view/style/index.css +1 -1
  109. package/dist/collection/utils/index.js +10 -0
  110. package/dist/components/index.d.ts +7 -0
  111. package/dist/components/index.js +7 -0
  112. package/dist/components/index2.js +45 -27
  113. package/dist/components/index3.js +6 -1
  114. package/dist/components/taro-draggable-sheet-core.d.ts +11 -0
  115. package/dist/components/taro-draggable-sheet-core.js +33 -0
  116. package/dist/components/taro-grid-builder-core.d.ts +11 -0
  117. package/dist/components/taro-grid-builder-core.js +33 -0
  118. package/dist/components/taro-input-core.js +1 -1
  119. package/dist/components/taro-list-builder-core.d.ts +11 -0
  120. package/dist/components/taro-list-builder-core.js +33 -0
  121. package/dist/components/taro-map-core.js +1349 -6
  122. package/dist/components/taro-movable-area-core.js +2 -1
  123. package/dist/components/taro-movable-view-core.js +3 -1
  124. package/dist/components/taro-nested-scroll-body-core.d.ts +11 -0
  125. package/dist/components/taro-nested-scroll-body-core.js +33 -0
  126. package/dist/components/taro-nested-scroll-header-core.d.ts +11 -0
  127. package/dist/components/taro-nested-scroll-header-core.js +33 -0
  128. package/dist/components/taro-open-container-core.d.ts +11 -0
  129. package/dist/components/taro-open-container-core.js +33 -0
  130. package/dist/components/taro-progress-core.js +1 -1
  131. package/dist/components/taro-pull-to-refresh-core.js +3 -0
  132. package/dist/components/taro-span-core.d.ts +11 -0
  133. package/dist/components/taro-span-core.js +33 -0
  134. package/dist/components/taro-swiper-core.js +40 -5
  135. package/dist/components/taro-tabbar.js +2 -2
  136. package/dist/components/taro-video-core.js +8 -3
  137. package/dist/components/taro-view-core.js +1 -1
  138. package/dist/esm/{index-486e187e.js → index-9924aee9.js} +209 -5
  139. package/dist/esm/{index-d1b03e47.js → index-a00a7418.js} +6 -1
  140. package/dist/esm/{index-c3e4004b.js → index-b9522531.js} +45 -27
  141. package/dist/esm/loader.js +3 -3
  142. package/dist/esm/taro-ad-core.entry.js +1 -1
  143. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  144. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  145. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  146. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  147. package/dist/esm/taro-audio-core.entry.js +1 -1
  148. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  149. package/dist/esm/taro-block-core.entry.js +1 -1
  150. package/dist/esm/taro-button-core.entry.js +2 -2
  151. package/dist/esm/taro-camera-core.entry.js +1 -1
  152. package/dist/esm/taro-canvas-core.entry.js +1 -1
  153. package/dist/esm/taro-channel-live-core.entry.js +1 -1
  154. package/dist/esm/taro-channel-video-core.entry.js +1 -1
  155. package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
  156. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  157. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  158. package/dist/esm/taro-components.js +3 -3
  159. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  160. package/dist/esm/taro-cover-image-core.entry.js +1 -1
  161. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  162. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  163. package/dist/esm/taro-draggable-sheet-core.entry.js +17 -0
  164. package/dist/esm/taro-editor-core.entry.js +1 -1
  165. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  166. package/dist/esm/taro-form-core.entry.js +1 -1
  167. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  168. package/dist/esm/taro-grid-builder-core.entry.js +17 -0
  169. package/dist/esm/taro-grid-view-core.entry.js +1 -1
  170. package/dist/esm/taro-icon-core.entry.js +2 -2
  171. package/dist/esm/taro-image-core.entry.js +2 -2
  172. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  173. package/dist/esm/taro-input-core.entry.js +2 -2
  174. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  175. package/dist/esm/taro-label-core.entry.js +1 -1
  176. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  177. package/dist/esm/taro-like-core.entry.js +1 -1
  178. package/dist/esm/taro-list-builder-core.entry.js +17 -0
  179. package/dist/esm/taro-list-view-core.entry.js +1 -1
  180. package/dist/esm/taro-live-player-core.entry.js +1 -1
  181. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  182. package/dist/esm/taro-login-core.entry.js +1 -1
  183. package/dist/esm/taro-lottie-core.entry.js +1 -1
  184. package/dist/esm/taro-map-core.entry.js +1321 -6
  185. package/dist/esm/taro-match-media-core.entry.js +1 -1
  186. package/dist/esm/taro-movable-area-core_2.entry.js +6 -3
  187. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  188. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  189. package/dist/esm/taro-navigator-core.entry.js +2 -2
  190. package/dist/esm/taro-nested-scroll-body-core.entry.js +17 -0
  191. package/dist/esm/taro-nested-scroll-header-core.entry.js +17 -0
  192. package/dist/esm/taro-official-account-core.entry.js +1 -1
  193. package/dist/esm/taro-open-container-core.entry.js +17 -0
  194. package/dist/esm/taro-open-data-core.entry.js +1 -1
  195. package/dist/esm/taro-page-container-core.entry.js +1 -1
  196. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  197. package/dist/esm/taro-picker-core_2.entry.js +2 -2
  198. package/dist/esm/taro-picker-view-column-core_2.entry.js +3 -3
  199. package/dist/esm/taro-progress-core.entry.js +2 -2
  200. package/dist/esm/taro-pull-to-refresh-core.entry.js +5 -2
  201. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  202. package/dist/esm/taro-rich-text-core.entry.js +1 -1
  203. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  204. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  205. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  206. package/dist/esm/taro-scroll-view-core.entry.js +3 -3
  207. package/dist/esm/taro-share-element-core.entry.js +1 -1
  208. package/dist/esm/taro-slider-core.entry.js +1 -1
  209. package/dist/esm/taro-slot-core.entry.js +1 -1
  210. package/dist/esm/taro-snapshot-core.entry.js +1 -1
  211. package/dist/esm/taro-span-core.entry.js +17 -0
  212. package/dist/esm/taro-sticky-header-core.entry.js +1 -1
  213. package/dist/esm/taro-sticky-section-core.entry.js +1 -1
  214. package/dist/esm/taro-swiper-core_2.entry.js +42 -8
  215. package/dist/esm/taro-switch-core.entry.js +1 -1
  216. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  217. package/dist/esm/taro-tabbar.entry.js +4 -4
  218. package/dist/esm/taro-tabs-core.entry.js +1 -1
  219. package/dist/esm/taro-text-core.entry.js +1 -1
  220. package/dist/esm/taro-textarea-core.entry.js +1 -1
  221. package/dist/esm/taro-video-control_3.entry.js +11 -6
  222. package/dist/esm/taro-view-core.entry.js +3 -3
  223. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  224. package/dist/esm/taro-web-view-core.entry.js +1 -1
  225. package/dist/esm-es5/index-9924aee9.js +2 -0
  226. package/dist/esm-es5/index-a00a7418.js +1 -0
  227. package/dist/esm-es5/index-b9522531.js +7 -0
  228. package/dist/esm-es5/loader.js +1 -1
  229. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  230. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  231. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  232. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  233. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  234. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  235. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  236. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  237. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  238. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  239. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  240. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  241. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  242. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  243. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  244. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  245. package/dist/esm-es5/taro-components.js +1 -1
  246. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  247. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  248. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  249. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  250. package/dist/esm-es5/taro-draggable-sheet-core.entry.js +1 -0
  251. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  252. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  253. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  254. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  255. package/dist/esm-es5/taro-grid-builder-core.entry.js +1 -0
  256. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  257. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  258. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  259. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  260. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  261. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  262. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  263. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  264. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  265. package/dist/esm-es5/taro-list-builder-core.entry.js +1 -0
  266. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  267. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  268. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  269. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  270. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  271. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  272. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  273. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  274. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  275. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  276. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  277. package/dist/esm-es5/taro-nested-scroll-body-core.entry.js +1 -0
  278. package/dist/esm-es5/taro-nested-scroll-header-core.entry.js +1 -0
  279. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  280. package/dist/esm-es5/taro-open-container-core.entry.js +1 -0
  281. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  282. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  283. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  284. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  285. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  286. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  287. package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -1
  288. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  289. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  290. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  291. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  292. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  293. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  294. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  295. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  296. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  297. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
  298. package/dist/esm-es5/taro-span-core.entry.js +1 -0
  299. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  300. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  301. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  302. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  303. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  304. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  305. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  306. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  307. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  308. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  309. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  310. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  311. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  312. package/dist/hydrate/index.d.ts +217 -0
  313. package/dist/hydrate/index.js +14603 -0
  314. package/dist/hydrate/package.json +6 -0
  315. package/dist/taro-components/p-010faa87.system.js +1 -0
  316. package/dist/taro-components/p-02465454.system.entry.js +1 -0
  317. package/dist/taro-components/{p-600d9210.entry.js → p-02d4d104.entry.js} +1 -1
  318. package/dist/taro-components/{p-74129eac.entry.js → p-03dc0283.entry.js} +1 -1
  319. package/dist/taro-components/p-047e4bfe.entry.js +1 -0
  320. package/dist/taro-components/{p-7b6f6526.system.entry.js → p-06adeb65.system.entry.js} +1 -1
  321. package/dist/taro-components/{p-95058ee1.entry.js → p-078cb65e.entry.js} +1 -1
  322. package/dist/taro-components/{p-bcf5d78a.system.entry.js → p-07ae6678.system.entry.js} +1 -1
  323. package/dist/taro-components/p-07f27474.entry.js +1 -0
  324. package/dist/taro-components/{p-014534ca.system.entry.js → p-083c3147.system.entry.js} +1 -1
  325. package/dist/taro-components/{p-e09e8b51.system.entry.js → p-0a64f78c.system.entry.js} +1 -1
  326. package/dist/taro-components/p-0f2c1ecc.entry.js +1 -0
  327. package/dist/taro-components/{p-d03136d7.system.entry.js → p-0f480c38.system.entry.js} +1 -1
  328. package/dist/taro-components/{p-ff7dfc5c.system.entry.js → p-0fc790c0.system.entry.js} +1 -1
  329. package/dist/taro-components/{p-e7d82e00.entry.js → p-0ff5a55b.entry.js} +1 -1
  330. package/dist/taro-components/p-12582166.entry.js +1 -0
  331. package/dist/taro-components/p-156e9634.system.entry.js +1 -0
  332. package/dist/taro-components/p-160d710a.js +7 -0
  333. package/dist/taro-components/{p-1ee83d63.system.entry.js → p-17938fa0.system.entry.js} +1 -1
  334. package/dist/taro-components/{p-758e3319.system.entry.js → p-17b9f865.system.entry.js} +1 -1
  335. package/dist/taro-components/{p-4cbd26dd.entry.js → p-17e72555.entry.js} +1 -1
  336. package/dist/taro-components/{p-dca5e9ee.entry.js → p-18c039ef.entry.js} +1 -1
  337. package/dist/taro-components/{p-3ca9aa19.system.entry.js → p-1bd4da3b.system.entry.js} +1 -1
  338. package/dist/taro-components/{p-67ff5a50.system.entry.js → p-1c37143a.system.entry.js} +1 -1
  339. package/dist/taro-components/{p-d36f8c4f.entry.js → p-1eea2828.entry.js} +1 -1
  340. package/dist/taro-components/p-204996e7.entry.js +1 -0
  341. package/dist/taro-components/{p-00d05751.entry.js → p-2649c7ae.entry.js} +1 -1
  342. package/dist/taro-components/p-26eb2f3f.entry.js +1 -0
  343. package/dist/taro-components/{p-3dadbe4c.system.entry.js → p-27041d86.system.entry.js} +1 -1
  344. package/dist/taro-components/{p-2059cbc0.system.entry.js → p-27d372b4.system.entry.js} +1 -1
  345. package/dist/taro-components/{p-c0f710ae.entry.js → p-280795f2.entry.js} +1 -1
  346. package/dist/taro-components/p-292470e5.entry.js +1 -0
  347. package/dist/taro-components/{p-8d437a7f.entry.js → p-2d537212.entry.js} +1 -1
  348. package/dist/taro-components/p-2f177716.entry.js +1 -0
  349. package/dist/taro-components/{p-9623f19c.system.entry.js → p-3293c5d9.system.entry.js} +1 -1
  350. package/dist/taro-components/{p-5bb60b5e.entry.js → p-32c0f326.entry.js} +1 -1
  351. package/dist/taro-components/{p-9e138188.entry.js → p-35dec732.entry.js} +1 -1
  352. package/dist/taro-components/{p-9b4e5578.entry.js → p-38b29261.entry.js} +1 -1
  353. package/dist/taro-components/{p-48e5ddaa.entry.js → p-3a180dc7.entry.js} +1 -1
  354. package/dist/taro-components/{p-ebf38559.system.entry.js → p-3b36196b.system.entry.js} +1 -1
  355. package/dist/taro-components/{p-445810cb.entry.js → p-3bfe9260.entry.js} +1 -1
  356. package/dist/taro-components/{p-e26c787b.entry.js → p-3cf08137.entry.js} +1 -1
  357. package/dist/taro-components/{p-4e4cc6ab.entry.js → p-402c7f93.entry.js} +1 -1
  358. package/dist/taro-components/p-425d1d69.entry.js +1 -0
  359. package/dist/taro-components/{p-a17b1a7e.entry.js → p-43367dd1.entry.js} +1 -1
  360. package/dist/taro-components/p-443b9a72.system.js +7 -0
  361. package/dist/taro-components/p-443e31ab.system.entry.js +1 -0
  362. package/dist/taro-components/{p-dc98486d.entry.js → p-4523b1c7.entry.js} +1 -1
  363. package/dist/taro-components/{p-16954dd6.entry.js → p-46a66c43.entry.js} +1 -1
  364. package/dist/taro-components/{p-015b3025.system.entry.js → p-47790dc0.system.entry.js} +1 -1
  365. package/dist/taro-components/{p-6229bb7d.system.entry.js → p-4979e93c.system.entry.js} +1 -1
  366. package/dist/taro-components/{p-caba17c6.system.entry.js → p-4a8b4d58.system.entry.js} +1 -1
  367. package/dist/taro-components/{p-1b42ba7e.system.entry.js → p-4ac48df1.system.entry.js} +1 -1
  368. package/dist/taro-components/{p-74b1be20.system.entry.js → p-4fad4beb.system.entry.js} +1 -1
  369. package/dist/taro-components/{p-35e96af8.system.entry.js → p-50849470.system.entry.js} +1 -1
  370. package/dist/taro-components/p-53e62840.system.entry.js +1 -0
  371. package/dist/taro-components/{p-2f403f7f.entry.js → p-55e12654.entry.js} +1 -1
  372. package/dist/taro-components/p-56552c9e.entry.js +1 -0
  373. package/dist/taro-components/{p-3bd04d38.entry.js → p-56a82bf3.entry.js} +1 -1
  374. package/dist/taro-components/{p-e457a83a.system.entry.js → p-57911e2c.system.entry.js} +1 -1
  375. package/dist/taro-components/{p-10d3c795.system.entry.js → p-57b77f17.system.entry.js} +1 -1
  376. package/dist/taro-components/{p-25bbf4aa.system.entry.js → p-5884c108.system.entry.js} +1 -1
  377. package/dist/taro-components/p-5893c3ed.js +1 -0
  378. package/dist/taro-components/{p-dbb47d14.system.entry.js → p-5b9aa4b0.system.entry.js} +1 -1
  379. package/dist/taro-components/{p-f554428f.system.entry.js → p-5c156db3.system.entry.js} +1 -1
  380. package/dist/taro-components/{p-846aa5ec.entry.js → p-5c98f478.entry.js} +1 -1
  381. package/dist/taro-components/p-5f23dc41.system.entry.js +1 -0
  382. package/dist/taro-components/{p-7f084a29.system.entry.js → p-61a325d2.system.entry.js} +1 -1
  383. package/dist/taro-components/{p-9a5bfa2a.system.entry.js → p-6282bdee.system.entry.js} +1 -1
  384. package/dist/taro-components/{p-9937cf08.system.entry.js → p-65d11e99.system.entry.js} +1 -1
  385. package/dist/taro-components/{p-80106cc2.system.entry.js → p-6654374e.system.entry.js} +1 -1
  386. package/dist/taro-components/{p-8e45a207.system.entry.js → p-6664a2ca.system.entry.js} +1 -1
  387. package/dist/taro-components/p-68197378.entry.js +1 -0
  388. package/dist/taro-components/p-6989c232.entry.js +1 -0
  389. package/dist/taro-components/{p-578f19ea.system.entry.js → p-6b83388c.system.entry.js} +1 -1
  390. package/dist/taro-components/p-6ba08ce0.system.entry.js +1 -0
  391. package/dist/taro-components/{p-61cb688a.entry.js → p-6cc0bcb9.entry.js} +1 -1
  392. package/dist/taro-components/p-7163d09e.system.js +1 -0
  393. package/dist/taro-components/{p-b8858af9.system.entry.js → p-75b4c1fc.system.entry.js} +1 -1
  394. package/dist/taro-components/p-75d01c60.system.js +2 -0
  395. package/dist/taro-components/{p-de3e1cee.system.entry.js → p-75ded8a0.system.entry.js} +1 -1
  396. package/dist/taro-components/p-77e82dfa.entry.js +1 -0
  397. package/dist/taro-components/{p-870e0d9d.entry.js → p-79cad66b.entry.js} +1 -1
  398. package/dist/taro-components/p-7ca2d075.system.entry.js +1 -0
  399. package/dist/taro-components/{p-34933f34.system.entry.js → p-7e054ae7.system.entry.js} +1 -1
  400. package/dist/taro-components/p-7e692c70.entry.js +1 -0
  401. package/dist/taro-components/p-7ebd4310.entry.js +1 -0
  402. package/dist/taro-components/p-7fdbcf4d.entry.js +1 -0
  403. package/dist/taro-components/{p-88c5f0eb.system.entry.js → p-8179438b.system.entry.js} +1 -1
  404. package/dist/taro-components/{p-2d6d4850.entry.js → p-84998109.entry.js} +1 -1
  405. package/dist/taro-components/{p-5a1bb2d3.system.entry.js → p-855619b6.system.entry.js} +1 -1
  406. package/dist/taro-components/{p-1d25f4e3.entry.js → p-8b0c9d3f.entry.js} +1 -1
  407. package/dist/taro-components/{p-ba50342b.system.entry.js → p-91ee1f8a.system.entry.js} +1 -1
  408. package/dist/taro-components/p-937a6c36.entry.js +1 -0
  409. package/dist/taro-components/{p-8df92f90.system.entry.js → p-938f9036.system.entry.js} +1 -1
  410. package/dist/taro-components/{p-87422c88.entry.js → p-93a2b2e9.entry.js} +1 -1
  411. package/dist/taro-components/p-93b02321.entry.js +1 -0
  412. package/dist/taro-components/p-9571836f.entry.js +1 -0
  413. package/dist/taro-components/{p-1e3d7899.system.entry.js → p-97b09fb4.system.entry.js} +1 -1
  414. package/dist/taro-components/p-9b6b17c4.system.entry.js +1 -0
  415. package/dist/taro-components/{p-26545e4e.system.entry.js → p-9e359fff.system.entry.js} +1 -1
  416. package/dist/taro-components/{p-bdee068b.system.entry.js → p-9f53e26c.system.entry.js} +1 -1
  417. package/dist/taro-components/{p-d78ab2de.system.entry.js → p-a25aca16.system.entry.js} +1 -1
  418. package/dist/taro-components/p-a50c6736.entry.js +1 -0
  419. package/dist/taro-components/{p-205a0692.system.entry.js → p-a96f8f60.system.entry.js} +1 -1
  420. package/dist/taro-components/{p-75b927b4.system.entry.js → p-a9ca8247.system.entry.js} +1 -1
  421. package/dist/taro-components/p-aabac550.entry.js +1 -0
  422. package/dist/taro-components/p-ab0e0366.system.entry.js +1 -0
  423. package/dist/taro-components/p-ac2be5f3.entry.js +1 -0
  424. package/dist/taro-components/{p-170ce205.system.entry.js → p-ac714300.system.entry.js} +1 -1
  425. package/dist/taro-components/{p-54941baf.system.entry.js → p-ac9fb309.system.entry.js} +1 -1
  426. package/dist/taro-components/p-acb113bd.entry.js +1 -0
  427. package/dist/taro-components/p-b087ad2a.system.entry.js +1 -0
  428. package/dist/taro-components/{p-d60b66c2.entry.js → p-b1f80b6b.entry.js} +1 -1
  429. package/dist/taro-components/{p-92daad3f.system.entry.js → p-b4577a12.system.entry.js} +1 -1
  430. package/dist/taro-components/{p-55be4215.entry.js → p-b4c7bb48.entry.js} +1 -1
  431. package/dist/taro-components/p-ba11ef7d.entry.js +1 -0
  432. package/dist/taro-components/{p-3d76b46e.system.entry.js → p-ba5e7ec4.system.entry.js} +1 -1
  433. package/dist/taro-components/{p-861834ce.entry.js → p-bb67318d.entry.js} +1 -1
  434. package/dist/taro-components/{p-970623a1.entry.js → p-bd57edcd.entry.js} +1 -1
  435. package/dist/taro-components/{p-8b70fd1d.entry.js → p-be055537.entry.js} +1 -1
  436. package/dist/taro-components/{p-6e9d509a.entry.js → p-be1701b2.entry.js} +1 -1
  437. package/dist/taro-components/{p-6cf765b7.system.entry.js → p-c056d527.system.entry.js} +1 -1
  438. package/dist/taro-components/{p-b04cdd9a.system.entry.js → p-c0c567e5.system.entry.js} +1 -1
  439. package/dist/taro-components/{p-9890bb7b.entry.js → p-c3dc7072.entry.js} +1 -1
  440. package/dist/taro-components/{p-0cf04b3d.system.entry.js → p-c677414d.system.entry.js} +1 -1
  441. package/dist/taro-components/p-c71d5745.system.entry.js +1 -0
  442. package/dist/taro-components/{p-510a69b3.entry.js → p-c7836e2b.entry.js} +1 -1
  443. package/dist/taro-components/p-c7d8c076.system.entry.js +1 -0
  444. package/dist/taro-components/{p-37593ce7.entry.js → p-c8cd6e16.entry.js} +1 -1
  445. package/dist/taro-components/p-c95d2b90.entry.js +1 -0
  446. package/dist/taro-components/{p-a197cbae.system.entry.js → p-ca6a5916.system.entry.js} +1 -1
  447. package/dist/taro-components/{p-07e94301.system.entry.js → p-cae6c5d0.system.entry.js} +1 -1
  448. package/dist/taro-components/{p-50e1ba06.system.entry.js → p-cafbb3d9.system.entry.js} +1 -1
  449. package/dist/taro-components/{p-2f683899.entry.js → p-ccbaba23.entry.js} +1 -1
  450. package/dist/taro-components/{p-940d41e9.system.entry.js → p-d05eb105.system.entry.js} +1 -1
  451. package/dist/taro-components/{p-352b6b6b.system.entry.js → p-d2203687.system.entry.js} +1 -1
  452. package/dist/taro-components/{p-bb712e32.entry.js → p-d5603857.entry.js} +1 -1
  453. package/dist/taro-components/{p-290fd78b.system.entry.js → p-d73b3a94.system.entry.js} +1 -1
  454. package/dist/taro-components/p-d87a68f6.entry.js +1 -0
  455. package/dist/taro-components/{p-bdd7b5a9.entry.js → p-d973d536.entry.js} +1 -1
  456. package/dist/taro-components/{p-e25c2a22.entry.js → p-d9884371.entry.js} +1 -1
  457. package/dist/taro-components/p-dc08715a.entry.js +1 -0
  458. package/dist/taro-components/{p-4928ee37.entry.js → p-dc25fa81.entry.js} +1 -1
  459. package/dist/taro-components/p-dcf5747c.system.entry.js +1 -0
  460. package/dist/taro-components/{p-581e844d.system.entry.js → p-ddf75d6a.system.entry.js} +1 -1
  461. package/dist/taro-components/{p-02dd30fa.system.entry.js → p-ded98693.system.entry.js} +1 -1
  462. package/dist/taro-components/{p-2dea35fd.entry.js → p-dedf50a9.entry.js} +1 -1
  463. package/dist/taro-components/{p-040f15f2.system.entry.js → p-df7c6216.system.entry.js} +1 -1
  464. package/dist/taro-components/{p-64f5abce.entry.js → p-e1cce2f1.entry.js} +1 -1
  465. package/dist/taro-components/p-e2e7bc16.entry.js +1 -0
  466. package/dist/taro-components/p-e3d825d1.system.entry.js +1 -0
  467. package/dist/taro-components/p-e5ef41f2.system.entry.js +1 -0
  468. package/dist/taro-components/p-e62a1287.js +2 -0
  469. package/dist/taro-components/p-e681d764.entry.js +1 -0
  470. package/dist/taro-components/{p-a2a70581.system.entry.js → p-e853a2c8.system.entry.js} +1 -1
  471. package/dist/taro-components/{p-2bbdbe9c.system.entry.js → p-ebad862a.system.entry.js} +1 -1
  472. package/dist/taro-components/{p-b8e2465a.entry.js → p-ebb1ae64.entry.js} +1 -1
  473. package/dist/taro-components/{p-80278124.entry.js → p-f034a433.entry.js} +1 -1
  474. package/dist/taro-components/{p-ba195b39.entry.js → p-f168fffc.entry.js} +1 -1
  475. package/dist/taro-components/p-f367a754.entry.js +1 -0
  476. package/dist/taro-components/{p-128f9eb0.entry.js → p-f43f26cf.entry.js} +1 -1
  477. package/dist/taro-components/{p-bba220a9.entry.js → p-f5f3a111.entry.js} +1 -1
  478. package/dist/taro-components/{p-3e9bf572.entry.js → p-f8f2461f.entry.js} +1 -1
  479. package/dist/taro-components/{p-c11fcb25.system.entry.js → p-f9935901.system.entry.js} +1 -1
  480. package/dist/taro-components/{p-7cecf08e.system.entry.js → p-fa31b2de.system.entry.js} +1 -1
  481. package/dist/taro-components/{p-1ced140d.entry.js → p-fab63183.entry.js} +1 -1
  482. package/dist/taro-components/{p-114f89d6.system.entry.js → p-fbf13159.system.entry.js} +1 -1
  483. package/dist/taro-components/{p-dc6db06e.system.entry.js → p-fe5eefdc.system.entry.js} +1 -1
  484. package/dist/taro-components/{p-28bf8423.system.entry.js → p-feb89474.system.entry.js} +1 -1
  485. package/dist/taro-components/p-ff772345.entry.js +1 -0
  486. package/dist/taro-components/taro-components.css +1 -1
  487. package/dist/taro-components/taro-components.esm.js +1 -1
  488. package/dist/taro-components/taro-components.js +1 -1
  489. package/dist/types/components/draggable-sheet/draggable-sheet.d.ts +5 -0
  490. package/dist/types/components/grid-builder/grid-builder.d.ts +5 -0
  491. package/dist/types/components/list-builder/list-builder.d.ts +5 -0
  492. package/dist/types/components/map/map.d.ts +145 -2
  493. package/dist/types/components/nested-scroll-body/nested-scroll-body.d.ts +5 -0
  494. package/dist/types/components/nested-scroll-header/nested-scroll-header.d.ts +5 -0
  495. package/dist/types/components/open-container/open-container.d.ts +5 -0
  496. package/dist/types/components/span/span.d.ts +5 -0
  497. package/dist/types/components/swiper/swiper.d.ts +5 -0
  498. package/dist/types/components.d.ts +313 -1
  499. package/dist/types/utils/index.d.ts +2 -0
  500. package/global.css +1 -0
  501. package/lib/react/component-lib/index.d.ts +53 -53
  502. package/lib/react/component-lib/input.d.ts +1 -1
  503. package/lib/react/component-lib/input.js.map +1 -1
  504. package/lib/react/component-lib/reactify-wc.d.ts +1 -1
  505. package/lib/react/component-lib/reactify-wc.js.map +1 -1
  506. package/lib/react/components.d.ts +92 -85
  507. package/lib/react/components.js +11 -2
  508. package/lib/react/components.js.map +1 -1
  509. package/lib/react/helper.d.ts +4 -2
  510. package/lib/react/helper.js.map +1 -1
  511. package/lib/react/index.d.ts +1 -1
  512. package/lib/react/index.js +1 -1
  513. package/lib/react/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.18.0_tslib@2.6.2_typescript@5.4.5/node_modules/tslib/tslib.es6.js +373 -0
  514. package/lib/react/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.18.0_tslib@2.6.2_typescript@5.4.5/node_modules/tslib/tslib.es6.js.map +1 -0
  515. package/lib/react/react-component-lib/createComponent.d.ts +3 -3
  516. package/lib/react/react-component-lib/createComponent.js +1 -1
  517. package/lib/react/react-component-lib/createComponent.js.map +1 -1
  518. package/lib/react/react-component-lib/createOverlayComponent.d.ts +5 -5
  519. package/lib/react/react-component-lib/createOverlayComponent.js +1 -1
  520. package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
  521. package/lib/react/react-component-lib/index.d.ts +2 -2
  522. package/lib/react/{interfaces-f526f1a2.d.ts → react-component-lib/interfaces.d.ts} +4 -5
  523. package/lib/react/react-component-lib/utils/attachProps.d.ts +6 -6
  524. package/lib/react/react-component-lib/utils/attachProps.js +2 -2
  525. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
  526. package/lib/react/react-component-lib/utils/case.d.ts +2 -3
  527. package/lib/react/react-component-lib/utils/dev.d.ts +6 -0
  528. package/lib/react/react-component-lib/utils/index.d.ts +9 -10
  529. package/lib/react/react-component-lib/utils/index.js.map +1 -1
  530. package/lib/solid/component-lib/index.d.ts +53 -0
  531. package/lib/solid/component-lib/index.js +69 -0
  532. package/lib/solid/component-lib/index.js.map +1 -0
  533. package/lib/solid/components.d.ts +92 -0
  534. package/lib/solid/components.js +102 -0
  535. package/lib/solid/components.js.map +1 -0
  536. package/lib/solid/helper.d.ts +3 -0
  537. package/lib/solid/helper.js +7 -0
  538. package/lib/solid/helper.js.map +1 -0
  539. package/lib/solid/index.d.ts +1 -0
  540. package/lib/solid/index.js +2 -0
  541. package/lib/solid/solid-component-lib/createComponent.d.ts +10 -0
  542. package/lib/solid/solid-component-lib/createComponent.js +67 -0
  543. package/lib/solid/solid-component-lib/createComponent.js.map +1 -0
  544. package/lib/solid/solid-component-lib/index.d.ts +1 -0
  545. package/lib/solid/solid-component-lib/index.js +2 -0
  546. package/lib/solid/solid-component-lib/index.js.map +1 -0
  547. package/lib/solid/solid-component-lib/interfaces.d.ts +33 -0
  548. package/lib/solid/solid-component-lib/utils/case.d.ts +3 -0
  549. package/lib/solid/solid-component-lib/utils/case.js +6 -0
  550. package/lib/solid/solid-component-lib/utils/case.js.map +1 -0
  551. package/lib/solid/solid-component-lib/utils/element.d.ts +6 -0
  552. package/lib/solid/solid-component-lib/utils/element.js +48 -0
  553. package/lib/solid/solid-component-lib/utils/element.js.map +1 -0
  554. package/lib/solid/solid-component-lib/utils/index.d.ts +2 -0
  555. package/lib/solid/solid-component-lib/utils/index.js +3 -0
  556. package/lib/solid/solid-component-lib/utils/index.js.map +1 -0
  557. package/lib/vue3/component-lib/createComponent.d.ts +1 -2
  558. package/lib/vue3/component-lib/createFormsComponent.d.ts +1 -2
  559. package/lib/vue3/component-lib/createFormsComponent.js.map +1 -1
  560. package/lib/vue3/component-lib/forwardRef.d.ts +1 -2
  561. package/lib/vue3/component-lib/icon.d.ts +1 -1
  562. package/lib/vue3/component-lib/image.d.ts +1 -1
  563. package/lib/vue3/component-lib/index.d.ts +52 -53
  564. package/lib/vue3/component-lib/scroll-view.d.ts +1 -1
  565. package/lib/vue3/component-lib/scroll-view.js.map +1 -1
  566. package/lib/vue3/component-lib/text.d.ts +1 -1
  567. package/lib/vue3/components-loader.d.ts +1 -2
  568. package/lib/vue3/components-loader.js.map +1 -1
  569. package/lib/vue3/components.d.ts +91 -85
  570. package/lib/vue3/components.js +41 -3
  571. package/lib/vue3/components.js.map +1 -1
  572. package/lib/vue3/index.d.ts +1 -1
  573. package/lib/vue3/index.js +1 -1
  574. package/lib/vue3/vue-component-lib/utils.d.ts +2 -3
  575. package/lib/vue3/vue-component-lib/utils.js.map +1 -1
  576. package/package.json +30 -21
  577. package/types/Canvas.d.ts +1 -1
  578. package/types/DraggableSheet.d.ts +47 -0
  579. package/types/GridBuilder.d.ts +72 -0
  580. package/types/GridView.d.ts +18 -4
  581. package/types/Input.d.ts +2 -1
  582. package/types/ListBuilder.d.ts +55 -0
  583. package/types/ListView.d.ts +9 -2
  584. package/types/Map.d.ts +0 -2
  585. package/types/NavigationBar.d.ts +5 -5
  586. package/types/NestedScrollBody.d.ts +15 -0
  587. package/types/NestedScrollHeader.d.ts +15 -0
  588. package/types/OpenContainer.d.ts +74 -0
  589. package/types/PageMeta.d.ts +13 -7
  590. package/types/Picker.d.ts +6 -1
  591. package/types/PickerView.d.ts +1 -0
  592. package/types/Script.d.ts +37 -0
  593. package/types/ScrollView.d.ts +8 -2
  594. package/types/ShareElement.d.ts +1 -0
  595. package/types/Slider.d.ts +3 -2
  596. package/types/Snapshot.d.ts +12 -3
  597. package/types/Span.d.ts +14 -0
  598. package/types/StickyHeader.d.ts +15 -2
  599. package/types/StickySection.d.ts +7 -1
  600. package/types/Swiper.d.ts +1 -3
  601. package/types/Switch.d.ts +2 -1
  602. package/types/Text.d.ts +16 -0
  603. package/types/Textarea.d.ts +2 -1
  604. package/types/common.d.ts +2 -2
  605. package/types/index.d.ts +8 -0
  606. package/types/index.vue3.d.ts +4 -0
  607. package/dist/esm-es5/index-486e187e.js +0 -2
  608. package/dist/esm-es5/index-c3e4004b.js +0 -7
  609. package/dist/esm-es5/index-d1b03e47.js +0 -1
  610. package/dist/taro-components/p-06cf6b18.system.entry.js +0 -1
  611. package/dist/taro-components/p-0e3d8ada.entry.js +0 -1
  612. package/dist/taro-components/p-101f49dd.entry.js +0 -1
  613. package/dist/taro-components/p-1182efdd.system.entry.js +0 -1
  614. package/dist/taro-components/p-2ec68968.system.js +0 -7
  615. package/dist/taro-components/p-30623371.entry.js +0 -1
  616. package/dist/taro-components/p-387f300a.entry.js +0 -1
  617. package/dist/taro-components/p-3afbae36.entry.js +0 -1
  618. package/dist/taro-components/p-4408d796.entry.js +0 -1
  619. package/dist/taro-components/p-449f60fa.entry.js +0 -1
  620. package/dist/taro-components/p-46661961.entry.js +0 -1
  621. package/dist/taro-components/p-4e4ac1fe.system.entry.js +0 -1
  622. package/dist/taro-components/p-5307637c.system.entry.js +0 -1
  623. package/dist/taro-components/p-6066e633.entry.js +0 -1
  624. package/dist/taro-components/p-69e747dc.entry.js +0 -1
  625. package/dist/taro-components/p-6bbb639a.system.js +0 -2
  626. package/dist/taro-components/p-6f027b85.entry.js +0 -1
  627. package/dist/taro-components/p-72b954ce.system.entry.js +0 -1
  628. package/dist/taro-components/p-764cd497.entry.js +0 -1
  629. package/dist/taro-components/p-7bd1345f.entry.js +0 -1
  630. package/dist/taro-components/p-83699a53.entry.js +0 -1
  631. package/dist/taro-components/p-95e88e0f.entry.js +0 -1
  632. package/dist/taro-components/p-98b1fc13.js +0 -2
  633. package/dist/taro-components/p-a61e195b.entry.js +0 -1
  634. package/dist/taro-components/p-a972aa1d.system.js +0 -1
  635. package/dist/taro-components/p-ae128150.entry.js +0 -1
  636. package/dist/taro-components/p-b317674b.entry.js +0 -1
  637. package/dist/taro-components/p-b6694eb3.system.entry.js +0 -1
  638. package/dist/taro-components/p-b9f19e77.entry.js +0 -1
  639. package/dist/taro-components/p-bb87373d.entry.js +0 -1
  640. package/dist/taro-components/p-bd5177d3.system.js +0 -1
  641. package/dist/taro-components/p-bf0d2c21.system.entry.js +0 -1
  642. package/dist/taro-components/p-cbc19d63.entry.js +0 -1
  643. package/dist/taro-components/p-d3c7f87d.js +0 -1
  644. package/dist/taro-components/p-de951a46.js +0 -7
  645. package/dist/taro-components/p-e1c2e636.entry.js +0 -1
  646. package/dist/taro-components/p-eeb6aeb5.system.entry.js +0 -1
  647. package/dist/taro-components/p-ef0aff29.entry.js +0 -1
  648. package/dist/taro-components/p-fd1d75db.entry.js +0 -1
  649. package/lib/vue2/component-lib/components.d.ts +0 -111
  650. package/lib/vue2/component-lib/components.js +0 -74
  651. package/lib/vue2/component-lib/components.js.map +0 -1
  652. package/lib/vue2/component-lib/createComponent.d.ts +0 -14
  653. package/lib/vue2/component-lib/createComponent.js +0 -23
  654. package/lib/vue2/component-lib/createComponent.js.map +0 -1
  655. package/lib/vue2/component-lib/createFormsComponent.d.ts +0 -22
  656. package/lib/vue2/component-lib/createFormsComponent.js +0 -53
  657. package/lib/vue2/component-lib/createFormsComponent.js.map +0 -1
  658. package/lib/vue2/component-lib/icon.d.ts +0 -16
  659. package/lib/vue2/component-lib/icon.js +0 -23
  660. package/lib/vue2/component-lib/icon.js.map +0 -1
  661. package/lib/vue2/component-lib/image.d.ts +0 -16
  662. package/lib/vue2/component-lib/image.js +0 -24
  663. package/lib/vue2/component-lib/image.js.map +0 -1
  664. package/lib/vue2/component-lib/index.d.ts +0 -1
  665. package/lib/vue2/component-lib/index.js +0 -25
  666. package/lib/vue2/component-lib/index.js.map +0 -1
  667. package/lib/vue2/component-lib/mixins/listeners.d.ts +0 -6
  668. package/lib/vue2/component-lib/mixins/listeners.js +0 -14
  669. package/lib/vue2/component-lib/mixins/listeners.js.map +0 -1
  670. package/lib/vue2/component-lib/mixins/refs.d.ts +0 -5
  671. package/lib/vue2/component-lib/mixins/refs.js +0 -53
  672. package/lib/vue2/component-lib/mixins/refs.js.map +0 -1
  673. package/lib/vue2/component-lib/picker.d.ts +0 -25
  674. package/lib/vue2/component-lib/picker.js +0 -41
  675. package/lib/vue2/component-lib/picker.js.map +0 -1
  676. package/lib/vue2/component-lib/scroll-view.d.ts +0 -17
  677. package/lib/vue2/component-lib/scroll-view.js +0 -35
  678. package/lib/vue2/component-lib/scroll-view.js.map +0 -1
  679. package/lib/vue2/component-lib/text.d.ts +0 -16
  680. package/lib/vue2/component-lib/text.js +0 -24
  681. package/lib/vue2/component-lib/text.js.map +0 -1
  682. package/lib/vue2/components-loader.d.ts +0 -2
  683. package/lib/vue2/components-loader.js +0 -21
  684. package/lib/vue2/components-loader.js.map +0 -1
  685. package/lib/vue2/components.d.ts +0 -373
  686. package/lib/vue2/components.js +0 -583
  687. package/lib/vue2/components.js.map +0 -1
  688. package/lib/vue2/index.d.ts +0 -1
  689. package/lib/vue2/index.js +0 -2
  690. package/lib/vue2/node_modules/.pnpm/registry.npmjs.org_vue-fragment@1.6.0_vue@2.7.14/node_modules/vue-fragment/dist/vue-fragment.esm.js +0 -4
  691. package/lib/vue2/node_modules/.pnpm/registry.npmjs.org_vue-fragment@1.6.0_vue@2.7.14/node_modules/vue-fragment/dist/vue-fragment.esm.js.map +0 -1
  692. package/lib/vue2/vue-component-lib/utils.d.ts +0 -10
  693. package/lib/vue2/vue-component-lib/utils.js +0 -51
  694. package/lib/vue2/vue-component-lib/utils.js.map +0 -1
  695. /package/lib/{vue2 → solid}/index.js.map +0 -0
@@ -1 +0,0 @@
1
- import{r as t,h as i,H as e,g as o,c as s}from"./p-98b1fc13.js";import{c as a}from"./p-de951a46.js";import{t as r}from"./p-d3c7f87d.js";const n=t=>{if(!t)return"";const i=Math.round(t%60),e=Math.round((t-i)/60);return`${e<10?`0${e}`:e}:${i<10?`0${i}`:i}`},h=t=>Math.max(-1,Math.min(t,1));let l="default";const d=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","webkitCurrentFullScreenElement","webkitSupportsFullscreen","fullscreenchange","fullscreenerror"];let o=0;const s=i.length,a={};for(;o<s;o++)if(t=i[o],t&&t[1]in document){for(o=0;o<t.length;o++)a[i[0][o]]=t[o];return a}if(!a[i[0][0]])for(l="iOS",o=0;o<e.length;o++)a[i[0][o]]=e[o];return a}(),A=class{constructor(i){t(this,i),this.visible=!1,this.isDraggingProgressBall=!1,this.percentage=0,this.progressDimensions={left:0,width:0},this.calcPercentage=t=>{let i=t-this.progressDimensions.left;return i=Math.max(i,0),i=Math.min(i,this.progressDimensions.width),i/this.progressDimensions.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)},this.controls=void 0,this.currentTime=void 0,this.duration=void 0,this.isPlaying=void 0,this.pauseFunc=void 0,this.playFunc=void 0,this.seekFunc=void 0,this.showPlayBtn=void 0,this.showProgress=void 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))}async setProgressBall(t){this.progressBallRef&&(this.progressBallRef.style.left=100*t+"%")}async toggleVisibility(t){const i=void 0===t?!this.visible:t;i?(this.hideControlsTimer&&clearTimeout(this.hideControlsTimer),this.isPlaying&&(this.hideControlsTimer=setTimeout((()=>{this.toggleVisibility(!1)}),2e3)),this.el.style.visibility="visible"):this.el.style.visibility="hidden",this.visible=!!i}async getIsDraggingProgressBall(){return this.isDraggingProgressBall}async setCurrentTime(t){this.currentTimeRef.innerHTML=n(t)}render(){const{controls:t,currentTime:o,duration:s,isPlaying:a,pauseFunc:r,playFunc:h,showPlayBtn:l,showProgress:d}=this,A=n(s);let c;return c=l?i("div",a?{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"},c,d&&i("div",{class:"taro-video-current-time",ref:t=>this.currentTimeRef=t},n(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.progressDimensions.left=i.left,this.progressDimensions.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:(A?this.currentTime/s*100:0)+"%"}},i("div",{class:"taro-video-inner"})))),d&&i("div",{class:"taro-video-duration"},A)),i("slot",null))}get el(){return o(this)}},c=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.analyzeGesture=t=>{var i;const e={type:"none"},o=t.touches[0].screenX-this.lastTouchScreenX,s=t.touches[0].screenY-this.lastTouchScreenY,a=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(!a)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.loadNativePlayer=()=>{var t,i;this.videoRef&&(this.videoRef.src=this.src,null===(i=(t=this.videoRef).load)||void 0===i||i.call(t))},this.init=()=>{const{src:t,videoRef:i}=this;/\.(m3u8)($|\?)/i.test(t)?import("hls.js").then((e=>{const o=e.default;this.HLS=o,o.isSupported()?(this.hls&&this.hls.destroy(),this.hls=new o,this.hls.loadSource(t),this.hls.attachMedia(i),this.hls.on(o.Events.MANIFEST_PARSED,(()=>{this.autoplay&&this.play()})),this.hls.on(o.Events.ERROR,((t,i)=>{this.handleError(i)}))):i.canPlayType("application/vnd.apple.mpegurl")?this.loadNativePlayer():console.error("该浏览器不支持 HLS 播放")})):this.loadNativePlayer()},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((async t=>{var i,e;this.currentTime=this.videoRef.currentTime;const o=this.duration||this._duration,s=await 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;if(this.hls)switch(t.type){case this.HLS.ErrorTypes.NETWORK_ERROR:this.onError.emit({errMsg:t.response}),this.hls.startLoad();break;case this.HLS.ErrorTypes.MEDIA_ERROR:this.onError.emit({errMsg:t.reason||"媒体错误,请重试"}),this.hls.recoverMediaError()}else 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[d.fullscreenElement]&&i-this.fullScreenTimestamp>100&&this.toggleFullScreen(!1,!0)},this.toggleFullScreen=(t=!this.isFullScreen,i=!1)=>{this.isFullScreen=t,this.controlsRef.toggleVisibility(!0),this.fullScreenTimestamp=(new Date).getTime(),this.onFullScreenChange.emit({fullScreen:this.isFullScreen,direction:"vertical"}),this.isFullScreen&&!document[d.fullscreenElement]?setTimeout((()=>{this.videoRef[d.requestFullscreen]({navigationUI:"auto"})}),0):i||document[d.exitFullscreen]()},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},this.src=void 0,this.duration=void 0,this.controls=!0,this.autoplay=!1,this.loop=!1,this.muted=!1,this.initialTime=0,this.poster=void 0,this.objectFit="contain",this.showProgress=!0,this.showFullscreenBtn=!0,this.showPlayBtn=!0,this.showCenterPlayBtn=!0,this.showMuteBtn=!1,this.danmuList=void 0,this.danmuBtn=!1,this.enableDanmu=!1,this.enablePlayGesture=!1,this.enableProgressGesture=!0,this.vslideGesture=!1,this.vslideGestureInFullscreen=!0,this.nativeProps={},this._duration=void 0,this._enableDanmu=!1,this.isPlaying=!1,this.isFirst=!0,this.isFullScreen=!1,this.fullScreenTimestamp=(new Date).getTime(),this.isMute=!1}componentWillLoad(){this._enableDanmu=this.enableDanmu}componentDidLoad(){var t,i;this.init(),this.initialTime&&(this.videoRef.currentTime=this.initialTime),null===(i=(t=this.danmuRef).sendDanmu)||void 0===i||i.call(t,this.danmuList),document.addEventListener&&document.addEventListener(d.fullscreenchange,this.handleFullScreenChange),this.videoRef&&"iOS"===l&&this.videoRef.addEventListener("webkitendfullscreen",this.handleFullScreenChange)}componentDidRender(){}disconnectedCallback(){document.removeEventListener&&document.removeEventListener(d.fullscreenchange,this.handleFullScreenChange),this.videoRef&&"iOS"===l&&this.videoRef.removeEventListener("webkitendfullscreen",this.handleFullScreenChange)}watchEnableDanmu(t){this._enableDanmu=t}watchSrc(){this.init()}async onDocumentTouchMove(t){if(void 0===this.lastTouchScreenX||void 0===this.lastTouchScreenY)return;if(await this.controlsRef.getIsDraggingProgressBall())return;const i=this.analyzeGesture(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||0),1),0),this.controls&&this.showProgress&&(this.controlsRef.setProgressBall(this.nextPercentage),this.controlsRef.toggleVisibility(!0));const t=this.duration||this._duration;this.toastProgressTitleRef.innerHTML=`${n(this.nextPercentage*t)} / ${n(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}async getHlsObject(){return this.hls}async play(){this._play()}async pause(){this._pause()}async stop(){this._stop()}async seek(t){this._seek(t)}async requestFullScreen(){this.toggleFullScreen(!0)}async exitFullScreen(){this.toggleFullScreen(!1)}render(){const{controls:t,autoplay:o,loop:s,muted:r,poster:h,objectFit:l,isFirst:d,isMute:A,isFullScreen:c,showCenterPlayBtn:u,isPlaying:g,_enableDanmu:b,showMuteBtn:v,danmuBtn:p,showFullscreenBtn:m,nativeProps:w}=this,E=this.duration||this._duration,I=n(E);return i(e,{class:a("taro-video-container",{"taro-video-type-fullscreen":c}),onTouchStart:this.onTouchStartContainer,onClick:this.onClickContainer},i("video",Object.assign({class:"taro-video-video",style:{"object-fit":l},ref:t=>{t&&(this.videoRef=t)},autoplay:o,loop:s,muted:r,poster:t?h: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},w),"暂时不支持播放该视频"),i("taro-video-danmu",{ref:t=>{t&&(this.danmuRef=t)},enable:b}),d&&u&&!g&&i("div",{class:"taro-video-cover"},i("div",{class:"taro-video-cover-play-button",onClick:()=>this.play()}),i("p",{class:"taro-video-cover-duration"},I)),i("taro-video-control",{ref:t=>{t&&(this.controlsRef=t)},controls:t,currentTime:this.currentTime,duration:E,isPlaying:this.isPlaying,pauseFunc:this._pause,playFunc:this._play,seekFunc:this._seek,showPlayBtn:this.showPlayBtn,showProgress:this.showProgress},v&&i("div",{class:a("taro-video-mute",{"taro-video-type-mute":A}),onClick:this.toggleMute}),p&&i("div",{class:a("taro-video-danmu-button",{"taro-video-danmu-button-active":b}),onClick:this.toggleDanmu},"弹幕"),m&&i("div",{class:a("taro-video-fullscreen",{"taro-video-type-fullscreen":c}),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"],src:["watchSrc"]}}};c.style='.taro-video{width:100%;height:225px;line-height:0;display:inline-block;position:relative;overflow:hidden}.taro-video[hidden]{display:none}.taro-video-container{-o-object-position:inherit;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{-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{-o-object-position:inherit;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;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;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;-ms-flex-align:center;align-items:center;height:44px;padding:0 10px;display:-ms-flexbox;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;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px;display:-ms-flexbox;display:flex}.taro-video-control-button{-webkit-box-sizing:content-box;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;-ms-flex-positive: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%;-webkit-transition:width .1s;transition:width .1s;position:absolute;top:0;left:0}.taro-video-ball{-webkit-box-sizing:content-box;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{-webkit-box-sizing:content-box;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,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCA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8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5PmxYVAAACLklEQVRYhc2XP2sVQRRHz40hKoqaQgVBCy1EozFlGiVFxMLGh4piYWEh+hkEP4YKAVFEEFTyughaCH6DqIVpAhYWEgIxoJE8cywyi5tNHu/tJmvyg2WZO3dmzt47/zZUtoJ6Nhsg09YDiYhKDzACTAFNYH9lEpUq80TdrT5wpV5n/ZV9KoGoo+pXV2uyKkipOaLuUceAt8DhUvQd1FsCYhR4ChzaSIBMHSOi7lOfsByFWiCgEBH1GHAF2JlMPcBt4GC3HUYEaj9wF3gVEVPtfNVTwAXgWX7CDKq/1piAZTSZBmim8qJ6sQ3EgDqb/L7kU3MH2NHtl3dQX3r3Ak21UYAYAj4A/cl0JB+RF+uMRj4iQ+p8zt7KYFLdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC)}.taro-video-danmu{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;-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;position:absolute;left:100%;-webkit-transform:translate(0);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%;-webkit-transform:translate(-50%,-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,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE+Avrj89NPyalzyuCIE6EN9BfQ1dHoPOAD40+9LE6D/5aoqSqtLsgiQC60DTiHzfGCFoaSsQAexZdlTgEuyCDgLuK8u5G7dEAHyKN8CBrtxLwDHAX8Z+l4N3GS0L3db4aN0X5opmc+2XZQAfb2LPd2eciG1lUSRJZ9qYHkZONwiYAjwSc3gs24BXWWWfzEVuMjQez13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0Xu/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}';const u=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}async sendDanmu(t=[]){this.list=Array.isArray(t)?[...this.list,...t.map((t=>this.ensureProperties(t)))]:[...this.list,Object.assign({},this.ensureProperties(t))]}async tick(t){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{A as taro_video_control,c as taro_video_core,u as taro_video_danmu}
@@ -1 +0,0 @@
1
- System.register([],(function(t){"use strict";return{execute:function(){t({d:i,i:n,t:e});function e(t,e,i){if(e===void 0){e=250}var n=0;var r;return function(){var o=[];for(var u=0;u<arguments.length;u++){o[u]=arguments[u]}var f=i||this;var a=Date.now();if(a-n>e){t.apply(this,o);n=a}else{clearTimeout(r);r=setTimeout((function(){n=a;t.apply(f,o)}),e)}}}function i(t,e,i){if(e===void 0){e=250}var n;return function(){var r=[];for(var o=0;o<arguments.length;o++){r[o]=arguments[o]}var u=i||this;clearTimeout(n);n=setTimeout((function(){t.apply(u,r)}),e)}}function n(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,r){function o(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function s(e){try{l(r.next(e))}catch(e){n(e)}}function a(e){try{l(r["throw"](e))}catch(e){n(e)}}function l(e){e.done?i(e.value):o(e.value).then(s,a)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,o,n,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(i=0)),i)try{if(r=1,o&&(n=a[0]&2?o["return"]:a[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,a[1])).done)return n;if(o=0,n)a=[a[0]&2,n.value];switch(a[0]){case 0:case 1:n=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;o=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){i.label=a[1];break}if(a[0]===6&&i.label<n[1]){i.label=n[1];n=a;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(a);break}if(n[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];o=0}finally{r=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var r=0,o=t.length,n;r<o;r++){if(n||!(r in t)){if(!n)n=Array.prototype.slice.call(t,0,r);n[r]=t[r]}}return e.concat(n||Array.prototype.slice.call(t))};System.register(["./p-6bbb639a.system.js","./p-2ec68968.system.js","./p-bd5177d3.system.js"],(function(e,t){"use strict";var i,r,o,n,s,a,l;return{setters:[function(e){i=e.r;r=e.h;o=e.H;n=e.g;s=e.c},function(e){a=e.c},function(e){l=e.t}],execute:function(){var u=function(e){if(!e)return"";var t=Math.round(e%60);var i=Math.round((e-t)/60);return"".concat(i<10?"0".concat(i):i,":").concat(t<10?"0".concat(t):t)};var c=function(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))};var d=function(e){return Math.max(-1,Math.min(e,1))};var h="default";var g=function(){var e;var t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var i=["webkitEnterFullscreen","webkitExitFullscreen","webkitCurrentFullScreenElement","webkitSupportsFullscreen","fullscreenchange","fullscreenerror"];var r=0;var o=t.length;var n={};for(;r<o;r++){e=t[r];if(e&&e[1]in document){for(r=0;r<e.length;r++){n[t[0][r]]=e[r]}return n}}if(!n[t[0][0]]){h="iOS";for(r=0;r<i.length;r++){n[t[0][r]]=i[r]}}return n}();var f=function(e){return/\.(m3u8)($|\?)/i.test(e)};var p=e("taro_video_control",function(){function e(e){var t=this;i(this,e);this.visible=false;this.isDraggingProgressBall=false;this.percentage=0;this.progressDimensions={left:0,width:0};this.calcPercentage=function(e){var i=e-t.progressDimensions.left;i=Math.max(i,0);i=Math.min(i,t.progressDimensions.width);return i/t.progressDimensions.width};this.onDragProgressBallStart=function(){t.isDraggingProgressBall=true;t.hideControlsTimer&&clearTimeout(t.hideControlsTimer)};this.onClickProgress=function(e){e.stopPropagation();var i=t.calcPercentage(e.pageX);t.seekFunc(i*t.duration);t.toggleVisibility(true)};this.controls=undefined;this.currentTime=undefined;this.duration=undefined;this.isPlaying=undefined;this.pauseFunc=undefined;this.playFunc=undefined;this.seekFunc=undefined;this.showPlayBtn=undefined;this.showProgress=undefined}e.prototype.onDocumentTouchMove=function(e){if(!this.isDraggingProgressBall)return;var t=e.touches[0].pageX;this.percentage=this.calcPercentage(t);this.setProgressBall(this.percentage);this.setCurrentTime(this.percentage*this.duration)};e.prototype.onDocumentTouchEnd=function(){if(!this.isDraggingProgressBall)return;this.isDraggingProgressBall=false;this.seekFunc(this.percentage*this.duration);this.toggleVisibility(true)};e.prototype.setProgressBall=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.progressBallRef){this.progressBallRef.style.left="".concat(e*100,"%")}return[2]}))}))};e.prototype.toggleVisibility=function(e){return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(r){t=e===undefined?!this.visible:e;if(t){this.hideControlsTimer&&clearTimeout(this.hideControlsTimer);if(this.isPlaying){this.hideControlsTimer=setTimeout((function(){i.toggleVisibility(false)}),2e3)}this.el.style.visibility="visible"}else{this.el.style.visibility="hidden"}this.visible=!!t;return[2]}))}))};e.prototype.getIsDraggingProgressBall=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.isDraggingProgressBall]}))}))};e.prototype.setCurrentTime=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentTimeRef.innerHTML=u(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,i=t.controls,n=t.currentTime,s=t.duration,a=t.isPlaying,l=t.pauseFunc,c=t.playFunc,d=t.showPlayBtn,h=t.showProgress;var g=u(s);var f;if(!d){f=null}else if(a){f=r("div",{class:"taro-video-control-button taro-video-control-button-pause",onClick:l})}else{f=r("div",{class:"taro-video-control-button taro-video-control-button-play",onClick:c})}return r(o,{class:"taro-video-bar taro-video-bar-full"},i&&r("div",{class:"taro-video-controls"},f,h&&r("div",{class:"taro-video-current-time",ref:function(t){return e.currentTimeRef=t}},u(n)),h&&r("div",{class:"taro-video-progress-container",onClick:this.onClickProgress},r("div",{class:"taro-video-progress",ref:function(t){if(!t)return;var i=t.getBoundingClientRect();e.progressDimensions.left=i.left;e.progressDimensions.width=i.width}},r("div",{class:"taro-video-progress-buffered",style:{width:"100%"}}),r("div",{class:"taro-video-ball",ref:function(t){return e.progressBallRef=t},onTouchStart:this.onDragProgressBallStart,style:{left:"".concat(g?this.currentTime/s*100:0,"%")}},r("div",{class:"taro-video-inner"})))),h&&r("div",{class:"taro-video-duration"},g)),r("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());var A='.taro-video{width:100%;height:225px;line-height:0;display:inline-block;position:relative;overflow:hidden}.taro-video[hidden]{display:none}.taro-video-container{-o-object-position:inherit;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{-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{-o-object-position:inherit;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;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;display:-ms-flexbox;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;-ms-flex-align:center;align-items:center;height:44px;padding:0 10px;display:-ms-flexbox;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;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px;display:-ms-flexbox;display:flex}.taro-video-control-button{-webkit-box-sizing:content-box;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;-ms-flex-positive: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%;-webkit-transition:width .1s;transition:width .1s;position:absolute;top:0;left:0}.taro-video-ball{-webkit-box-sizing:content-box;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{-webkit-box-sizing:content-box;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+i4kXWbmwCqwnRMCHiXthuZAQOzPrxSA4kBxYDAcsH0EzATCfCLpJjOINoCtgFZabg7bk7AFDAeaGpKWgitZTu5N0kQbYBmYrujo9mX0CVxL+gidAdu9vY5zXhWA4sAgOND3X7NJ4AHYCaxkB8B62gslvecSFpoDOZH/PP8Cnt7hIaM5xCEAAAAASUVORK5CYII=)}.taro-video-mute{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luP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nyrjZZJO92V1fGIaZnTPvszPszNlQ6VIjnbr/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,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZ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wHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/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;-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;position:absolute;left:100%;-webkit-transform:translate(0);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%;-webkit-transform:translate(-50%,-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,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZ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ipNKbUWFrUtn06o5xOij4KyDuqU0IE3Obl/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}';var v=e("taro_video_core",function(){function e(e){var r=this;i(this,e);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=false;this.gestureType="none";this.analyzeGesture=function(e){var t;var i={type:"none"};var o=e.touches[0].screenX;var n=e.touches[0].screenY;var s=o-r.lastTouchScreenX;var a=n-r.lastTouchScreenY;var l=r.isFullScreen?r.vslideGestureInFullscreen:r.vslideGesture;if(r.gestureType==="none"){var u=c(s,a);if(u<10)return i;if(Math.abs(a)>=Math.abs(s)){if(l){r.gestureType="adjustVolume";r.lastVolume=r.videoRef.volume}else{return i}}else if(Math.abs(a)<Math.abs(s)){if(r.enableProgressGesture){r.gestureType="adjustProgress";r.lastPercentage=r.currentTime/((t=r.duration)!==null&&t!==void 0?t:r._duration)}else{return i}}}i.type=r.gestureType;i.dataX=d(s/200);i.dataY=d(a/200);return i};this.loadNativePlayer=function(){var e,t;if(r.videoRef){r.videoRef.src=r.src;(t=(e=r.videoRef).load)===null||t===void 0?void 0:t.call(e)}};this.init=function(){var e=r,i=e.src,o=e.videoRef;if(f(i)){t.import("hls.js").then((function(e){var t=e.default;r.HLS=t;if(t.isSupported()){if(r.hls){r.hls.destroy()}r.hls=new t;r.hls.loadSource(i);r.hls.attachMedia(o);r.hls.on(t.Events.MANIFEST_PARSED,(function(){r.autoplay&&r.play()}));r.hls.on(t.Events.ERROR,(function(e,t){r.handleError(t)}))}else if(o.canPlayType("application/vnd.apple.mpegurl")){r.loadNativePlayer()}else{console.error("该浏览器不支持 HLS 播放")}}))}else{r.loadNativePlayer()}};this.handlePlay=function(){r.isPlaying=true;r.isFirst=false;r.controlsRef.toggleVisibility(true);r.onPlay.emit()};this.handlePause=function(){r.isPlaying=false;r.controlsRef.toggleVisibility(true);r.onPause.emit()};this.handleEnded=function(){r.isFirst=true;r.pause();r.controlsRef.toggleVisibility();r.onEnded.emit()};this.handleTimeUpdate=l((function(e){return __awaiter(r,void 0,void 0,(function(){var t,i,r,o;return __generator(this,(function(n){switch(n.label){case 0:this.currentTime=this.videoRef.currentTime;r=this.duration||this._duration;return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:o=n.sent();if(this.controls&&this.showProgress){if(!o&&!this.isDraggingProgress){this.controlsRef.setProgressBall(this.currentTime/r);this.controlsRef.setCurrentTime(this.currentTime)}}this.danmuRef.tick(this.currentTime);this.onTimeUpdate.emit({duration:(t=e.target)===null||t===void 0?void 0:t.duration,currentTime:(i=e.target)===null||i===void 0?void 0:i.currentTime});if(this.duration){if(this.currentTime>=this.duration){this.seek(0);this.handleEnded()}}return[2]}}))}))}),250);this.handleError=function(e){var t,i;if(r.hls){switch(e.type){case r.HLS.ErrorTypes.NETWORK_ERROR:r.onError.emit({errMsg:e.response});r.hls.startLoad();break;case r.HLS.ErrorTypes.MEDIA_ERROR:r.onError.emit({errMsg:e.reason||"媒体错误,请重试"});r.hls.recoverMediaError();break}}else{r.onError.emit({errMsg:(i=(t=e.target)===null||t===void 0?void 0:t.error)===null||i===void 0?void 0:i.message})}};this.handleDurationChange=function(){r._duration=r.videoRef.duration};this.handleProgress=function(){r.onProgress.emit()};this.handleLoadedMetaData=function(e){var t=e.target;r.onLoadedMetaData.emit({width:t.videoWidth,height:t.videoHeight,duration:t.duration})};this._play=function(){return r.videoRef.play()};this._pause=function(){return r.videoRef.pause()};this._stop=function(){r.videoRef.pause();r._seek(0)};this._seek=function(e){r.videoRef.currentTime=e};this.onTouchStartContainer=function(e){r.lastTouchScreenX=e.touches[0].screenX;r.lastTouchScreenY=e.touches[0].screenY};this.onClickContainer=function(){if(r.enablePlayGesture){var e=Date.now();if(e-r.lastClickedTime<300){r.isPlaying?r.pause():r.play()}r.lastClickedTime=e}r.controlsRef.toggleVisibility()};this.onClickFullScreenBtn=function(e){e.stopPropagation();r.toggleFullScreen()};this.handleFullScreenChange=function(e){var t=(new Date).getTime();if(!e.detail&&r.isFullScreen&&!document[g.fullscreenElement]&&t-r.fullScreenTimestamp>100){r.toggleFullScreen(false,true)}};this.toggleFullScreen=function(e,t){if(e===void 0){e=!r.isFullScreen}if(t===void 0){t=false}r.isFullScreen=e;r.controlsRef.toggleVisibility(true);r.fullScreenTimestamp=(new Date).getTime();r.onFullScreenChange.emit({fullScreen:r.isFullScreen,direction:"vertical"});if(r.isFullScreen&&!document[g.fullscreenElement]){setTimeout((function(){r.videoRef[g.requestFullscreen]({navigationUI:"auto"})}),0)}else if(!t){document[g.exitFullscreen]()}};this.toggleMute=function(e){e.stopPropagation();r.videoRef.muted=!r.isMute;r.controlsRef.toggleVisibility(true);r.isMute=!r.isMute};this.toggleDanmu=function(e){e.stopPropagation();r.controlsRef.toggleVisibility(true);r._enableDanmu=!r._enableDanmu};this.src=undefined;this.duration=undefined;this.controls=true;this.autoplay=false;this.loop=false;this.muted=false;this.initialTime=0;this.poster=undefined;this.objectFit="contain";this.showProgress=true;this.showFullscreenBtn=true;this.showPlayBtn=true;this.showCenterPlayBtn=true;this.showMuteBtn=false;this.danmuList=undefined;this.danmuBtn=false;this.enableDanmu=false;this.enablePlayGesture=false;this.enableProgressGesture=true;this.vslideGesture=false;this.vslideGestureInFullscreen=true;this.nativeProps={};this._duration=undefined;this._enableDanmu=false;this.isPlaying=false;this.isFirst=true;this.isFullScreen=false;this.fullScreenTimestamp=(new Date).getTime();this.isMute=false}e.prototype.componentWillLoad=function(){this._enableDanmu=this.enableDanmu};e.prototype.componentDidLoad=function(){var e,t;this.init();if(this.initialTime){this.videoRef.currentTime=this.initialTime}(t=(e=this.danmuRef).sendDanmu)===null||t===void 0?void 0:t.call(e,this.danmuList);if(document.addEventListener){document.addEventListener(g.fullscreenchange,this.handleFullScreenChange)}if(this.videoRef&&h==="iOS"){this.videoRef.addEventListener("webkitendfullscreen",this.handleFullScreenChange)}};e.prototype.componentDidRender=function(){};e.prototype.disconnectedCallback=function(){if(document.removeEventListener){document.removeEventListener(g.fullscreenchange,this.handleFullScreenChange)}if(this.videoRef&&h==="iOS"){this.videoRef.removeEventListener("webkitendfullscreen",this.handleFullScreenChange)}};e.prototype.watchEnableDanmu=function(e){this._enableDanmu=e};e.prototype.watchSrc=function(){this.init()};e.prototype.onDocumentTouchMove=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r;return __generator(this,(function(o){switch(o.label){case 0:if(this.lastTouchScreenX===undefined||this.lastTouchScreenY===undefined)return[2];return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:if(o.sent())return[2];t=this.analyzeGesture(e);if(t.type==="adjustVolume"){this.toastVolumeRef.style.visibility="visible";i=Math.max(Math.min(this.lastVolume-t.dataY,1),0);this.videoRef.volume=i;this.toastVolumeBarRef.style.width="".concat(i*100,"%")}else if(t.type==="adjustProgress"){this.isDraggingProgress=true;this.nextPercentage=Math.max(Math.min(this.lastPercentage+(t.dataX||0),1),0);if(this.controls&&this.showProgress){this.controlsRef.setProgressBall(this.nextPercentage);this.controlsRef.toggleVisibility(true)}r=this.duration||this._duration;this.toastProgressTitleRef.innerHTML="".concat(u(this.nextPercentage*r)," / ").concat(u(r));this.toastProgressRef.style.visibility="visible"}return[2]}}))}))};e.prototype.onDocumentTouchEnd=function(){var e;if(this.gestureType==="adjustVolume"){this.toastVolumeRef.style.visibility="hidden"}else if(this.gestureType==="adjustProgress"){this.toastProgressRef.style.visibility="hidden"}if(this.isDraggingProgress){this.isDraggingProgress=false;this.seek(this.nextPercentage*((e=this.duration)!==null&&e!==void 0?e:this._duration))}this.gestureType="none";this.lastTouchScreenX=undefined;this.lastTouchScreenY=undefined};e.prototype.getHlsObject=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.hls]}))}))};e.prototype.play=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._play();return[2]}))}))};e.prototype.pause=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._pause();return[2]}))}))};e.prototype.stop=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._stop();return[2]}))}))};e.prototype.seek=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this._seek(e);return[2]}))}))};e.prototype.requestFullScreen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleFullScreen(true);return[2]}))}))};e.prototype.exitFullScreen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleFullScreen(false);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,i=t.controls,n=t.autoplay,s=t.loop,l=t.muted,c=t.poster,d=t.objectFit,h=t.isFirst,g=t.isMute,f=t.isFullScreen,p=t.showCenterPlayBtn,A=t.isPlaying,v=t._enableDanmu,m=t.showMuteBtn,b=t.danmuBtn,y=t.showFullscreenBtn,w=t.nativeProps;var E=this.duration||this._duration;var T=u(E);return r(o,{class:a("taro-video-container",{"taro-video-type-fullscreen":f}),onTouchStart:this.onTouchStartContainer,onClick:this.onClickContainer},r("video",Object.assign({class:"taro-video-video",style:{"object-fit":d},ref:function(t){if(t){e.videoRef=t}},autoplay:n,loop:s,muted:l,poster:i?c:undefined,playsinline:true,"webkit-playsinline":true,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onTimeUpdate:this.handleTimeUpdate,onError:this.handleError,onDurationChange:this.handleDurationChange,onProgress:this.handleProgress,onLoadedMetaData:this.handleLoadedMetaData},w),"暂时不支持播放该视频"),r("taro-video-danmu",{ref:function(t){if(t){e.danmuRef=t}},enable:v}),h&&p&&!A&&r("div",{class:"taro-video-cover"},r("div",{class:"taro-video-cover-play-button",onClick:function(){return e.play()}}),r("p",{class:"taro-video-cover-duration"},T)),r("taro-video-control",{ref:function(t){if(t){e.controlsRef=t}},controls:i,currentTime:this.currentTime,duration:E,isPlaying:this.isPlaying,pauseFunc:this._pause,playFunc:this._play,seekFunc:this._seek,showPlayBtn:this.showPlayBtn,showProgress:this.showProgress},m&&r("div",{class:a("taro-video-mute",{"taro-video-type-mute":g}),onClick:this.toggleMute}),b&&r("div",{class:a("taro-video-danmu-button",{"taro-video-danmu-button-active":v}),onClick:this.toggleDanmu},"弹幕"),y&&r("div",{class:a("taro-video-fullscreen",{"taro-video-type-fullscreen":f}),onClick:this.onClickFullScreenBtn})),r("div",{class:"taro-video-toast taro-video-toast-volume",ref:function(t){if(t){e.toastVolumeRef=t}}},r("div",{class:"taro-video-toast-title"},"音量"),r("div",{class:"taro-video-toast-icon"}),r("div",{class:"taro-video-toast-value"},r("div",{class:"taro-video-toast-value-content",ref:function(t){if(t){e.toastVolumeBarRef=t}}},r("div",{class:"taro-video-toast-volume-grids"},Array(10).fill(1).map((function(){return r("div",{class:"taro-video-toast-volume-grids-item"})})))))),r("div",{class:"taro-video-toast taro-video-toast-progress",ref:function(t){if(t){e.toastProgressRef=t}}},r("div",{class:"taro-video-toast-title",ref:function(t){if(t){e.toastProgressTitleRef=t}}})))};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{enableDanmu:["watchEnableDanmu"],src:["watchSrc"]}},enumerable:false,configurable:true});return e}());v.style=A;var m=e("taro_video_danmu",function(){function e(e){i(this,e);this.list=[];this.danmuElList=[];this.currentTime=0;this.enable=false;this.danmuList=[]}e.prototype.ensureProperties=function(e){var t=Object.assign({},e);if(!("time"in e)){t.time=this.currentTime}t.key=Math.random();t.bottom="".concat(Math.random()*90+5,"%");return t};e.prototype.sendDanmu=function(e){if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(r){if(Array.isArray(e)){this.list=__spreadArray(__spreadArray([],this.list,true),e.map((function(e){return i.ensureProperties(e)})),true)}else{t=e;this.list=__spreadArray(__spreadArray([],this.list,true),[Object.assign({},this.ensureProperties(t))],false)}return[2]}))}))};e.prototype.tick=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r,o;return __generator(this,(function(n){this.currentTime=e;if(!this.enable)return[2];t=this.list;i=t.filter((function(t){var i=t.time;return e-i<4&&e>i}));r=false;o=this.danmuList;if(i.length!==o.length){r=true}else{r=i.some((function(e){var t=e.key;return o.every((function(e){return t!==e.key}))}))}if(r){this.danmuList=i}return[2]}))}))};e.prototype.componentDidUpdate=function(){var e=this;requestAnimationFrame((function(){setTimeout((function(){var t=e.danmuElList.splice(0);t.forEach((function(e){e.style.left="0";e.style.webkitTransform="translateX(-100%)";e.style.transform="translateX(-100%)"}))}))}))};e.prototype.render=function(){var e=this;if(!this.enable)return"";return r(o,{class:"taro-video-danmu"},this.danmuList.map((function(t){var i=t.text,o=t.color,n=t.bottom,s=t.key;return r("p",{class:"taro-video-danmu-item",key:s,style:{color:o,bottom:n},ref:function(t){if(t){e.danmuElList.push(t)}}},i)})))};return e}())}}}));
@@ -1 +0,0 @@
1
- import{r as t,h as o,H as r}from"./p-98b1fc13.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const n=class{constructor(o){t(this,o)}componentDidLoad(){s("ContactButton",this)}render(){return o(r,null)}};export{n as taro_contact_button_core}
@@ -1 +0,0 @@
1
- function t(t,n=250,e){let i,o=0;return function(...u){const c=e||this,s=Date.now();s-o>n?(t.apply(this,u),o=s):(clearTimeout(i),i=setTimeout((()=>{o=s,t.apply(c,u)}),n))}}function n(t,n=250,e){let i;return function(...o){const u=e||this;clearTimeout(i),i=setTimeout((function(){t.apply(u,o)}),n)}}function e(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}export{n as d,e as i,t}
@@ -1,7 +0,0 @@
1
- var r,n,e=(r=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&&!o.toString.toString().includes("[native code]")){r.push(o.toString());continue}for(var f in o)n.call(o,f)&&o[f]&&r.push(f)}}}return r.join(" ")}r.exports?(e.default=e,r.exports=e):window.classNames=e}()},r(n={path:undefined,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}}),n.exports);export{e as c}
@@ -1 +0,0 @@
1
- import{r,h as o,H as t}from"./p-98b1fc13.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(o){r(this,o)}componentDidLoad(){s("Map",this)}render(){return o(t,null)}};export{a as taro_map_core}
@@ -1 +0,0 @@
1
- System.register(["./p-6bbb639a.system.js"],(function(e){"use strict";var r,s,t;return{setters:[function(e){r=e.r;s=e.h;t=e.H}],execute:function(){var i=".weui-progress{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}";var o=e("taro_progress_core",function(){function e(e){r(this,e);this.percent=0;this.showInfo=false;this.borderRadius=0;this.fontSize=16;this.strokeWidth=6;this.activeColor="#09BB07";this.backgroundColor="#EBEBEB";this.active=false}e.prototype.render=function(){var e=this,r=e.percent,i=e.showInfo,o=e.borderRadius,n=e.fontSize,a=e.strokeWidth,c=e.activeColor,l=e.backgroundColor,u=e.active;var d=r>100?100:r<0?0:r;var h={height:a+"px",backgroundColor:l};var p=u?"width 1s ease-in-out":"none";var f={width:"".concat(d,"%"),transition:p,WebkitTransition:p,backgroundColor:c,borderRadius:o?"".concat(o,"px"):"0px"};return s(t,{class:"weui-progress"},s("div",{class:"weui-progress__bar",style:h},s("div",{class:"weui-progress__inner-bar",style:f})),i&&s("div",{class:"weui-progress__opr",style:{"font-size":"".concat(n,"px")}},s("span",null,d,"%")))};return e}());o.style=i}}}));
@@ -1 +0,0 @@
1
- import{r as s,h as r,H as e}from"./p-98b1fc13.js";const i=class{constructor(r){s(this,r),this.percent=0,this.showInfo=!1,this.borderRadius=0,this.fontSize=16,this.strokeWidth=6,this.activeColor="#09BB07",this.backgroundColor="#EBEBEB",this.active=!1}render(){const{percent:s,showInfo:i,borderRadius:o,fontSize:t,strokeWidth:n,activeColor:a,backgroundColor:l,active:c}=this,p=s>100?100:s<0?0:s,d=c?"width 1s ease-in-out":"none";return r(e,{class:"weui-progress"},r("div",{class:"weui-progress__bar",style:{height:n+"px",backgroundColor:l}},r("div",{class:"weui-progress__inner-bar",style:{width:`${p}%`,transition:d,WebkitTransition:d,backgroundColor:a,borderRadius:o?`${o}px`:"0px"}})),i&&r("div",{class:"weui-progress__opr",style:{"font-size":`${t}px`}},r("span",null,p,"%")))}};i.style=".weui-progress{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}";export{i as taro_progress_core}
@@ -1 +0,0 @@
1
- import{r,h as o,H as t}from"./p-98b1fc13.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const i=class{constructor(o){r(this,o)}componentDidLoad(){s("ListView",this)}render(){return o(t,null)}};export{i as taro_list_view_core}
@@ -1,111 +0,0 @@
1
- declare const components: (string | (string | {
2
- type: string;
3
- component: {
4
- name: string;
5
- mixins: ({
6
- computed: {
7
- listeners(): any;
8
- };
9
- } | {
10
- mounted(): void;
11
- beforeDestroy(): void;
12
- })[];
13
- props: {
14
- scrollX: BooleanConstructor;
15
- scrollY: BooleanConstructor;
16
- };
17
- render(createElement: any): any;
18
- };
19
- })[] | (string | {
20
- classNames: string[];
21
- })[] | (string | {
22
- type: string;
23
- component: {
24
- name: string;
25
- mixins: ({
26
- computed: {
27
- listeners(): any;
28
- };
29
- } | {
30
- mounted(): void;
31
- beforeDestroy(): void;
32
- })[];
33
- props: {
34
- type: StringConstructor;
35
- };
36
- render(createElement: any): any;
37
- };
38
- })[] | (string | {
39
- type: string;
40
- component: {
41
- name: string;
42
- mixins: ({
43
- computed: {
44
- listeners(): any;
45
- };
46
- } | {
47
- mounted(): void;
48
- beforeDestroy(): void;
49
- })[];
50
- props: {
51
- selectable: BooleanConstructor;
52
- };
53
- render(createElement: any): any;
54
- };
55
- })[] | (string | {
56
- type: string;
57
- event: string;
58
- })[] | (string | {
59
- type: string;
60
- component: {
61
- name: string;
62
- mixins: ({
63
- computed: {
64
- listeners(): any;
65
- };
66
- } | {
67
- mounted(): void;
68
- beforeDestroy(): void;
69
- })[];
70
- model: {
71
- event: string;
72
- };
73
- props: {
74
- range: ArrayConstructor;
75
- rangeKey: StringConstructor;
76
- value: (ArrayConstructor | StringConstructor | NumberConstructor)[];
77
- };
78
- mounted(): void;
79
- watch: {
80
- value(newVal: any): void;
81
- };
82
- render(createElement: any): any;
83
- };
84
- })[] | (string | {
85
- type: string;
86
- event: string;
87
- modelValue: string;
88
- classNames: string[];
89
- })[] | (string | {
90
- type: string;
91
- event: string;
92
- modelValue: string;
93
- })[] | (string | {
94
- type: string;
95
- component: {
96
- name: string;
97
- mixins: ({
98
- computed: {
99
- listeners(): any;
100
- };
101
- } | {
102
- mounted(): void;
103
- beforeDestroy(): void;
104
- })[];
105
- props: {
106
- mode: StringConstructor;
107
- };
108
- render(createElement: any): any;
109
- };
110
- })[])[];
111
- export { components as default };
@@ -1,74 +0,0 @@
1
- import Icon from './icon.js';
2
- import Image from './image.js';
3
- import Picker from './picker.js';
4
- import ScrollView from './scroll-view.js';
5
- import Text from './text.js';
6
-
7
- const components = [
8
- // 视图容器
9
- 'taro-cover-image',
10
- 'taro-cover-view',
11
- 'taro-match-media',
12
- 'taro-movable-area',
13
- 'taro-movable-view',
14
- 'taro-page-container',
15
- 'taro-root-portal',
16
- ['taro-scroll-view', { type: 'component', component: ScrollView }],
17
- 'taro-share-element',
18
- 'taro-swiper',
19
- ['taro-swiper-item', { classNames: ['swiper-slide'] }],
20
- 'taro-view',
21
- // 基础内容
22
- ['taro-icon', { type: 'component', component: Icon }],
23
- ['taro-progress', { classNames: ['weui-progress'] }],
24
- 'taro-rich-text',
25
- ['taro-text', { type: 'component', component: Text }],
26
- // 表单组件
27
- 'taro-button',
28
- ['taro-checkbox', { classNames: ['weui-cells_checkbox'] }],
29
- 'taro-checkbox-group',
30
- 'taro-editor',
31
- 'taro-form',
32
- ['taro-input', { type: 'forms', event: 'input' }],
33
- 'taro-keyboard-accessory',
34
- 'taro-label',
35
- ['taro-picker', { type: 'component', component: Picker }],
36
- 'taro-picker-view',
37
- 'taro-picker-view-column',
38
- ['taro-radio', { classNames: ['weui-cells_checkbox'] }],
39
- ['taro-radio-group', { classNames: ['weui-cells_radiogroup'] }],
40
- ['taro-slider', { type: 'forms', event: 'change', modelValue: 'value', classNames: ['weui-slider-box'] }],
41
- ['taro-switch', { type: 'forms', event: 'change', modelValue: 'checked' }],
42
- ['taro-textarea', { type: 'forms', event: 'input' }],
43
- // 导航
44
- 'taro-functional-page-navigator',
45
- 'taro-navigator',
46
- // 媒体组件
47
- 'taro-audio',
48
- 'taro-camera',
49
- ['taro-image', { type: 'component', component: Image }],
50
- 'taro-live-player',
51
- ['taro-video', { classNames: ['taro-video-container'] }],
52
- 'taro-voip-room',
53
- // 地图
54
- 'taro-map',
55
- // 画布
56
- 'taro-canvas',
57
- // 开放能力
58
- 'taro-web-view',
59
- 'taro-ad',
60
- 'taro-ad-custom',
61
- 'taro-official-account',
62
- 'taro-open-data',
63
- // 导航栏
64
- 'taro-navigation-bar',
65
- // 页面属性配置节点
66
- 'taro-page-meta',
67
- // 其他
68
- 'taro-block',
69
- 'taro-custom-wrapper',
70
- 'taro-slot'
71
- ];
72
-
73
- export { components as default };
74
- //# sourceMappingURL=components.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"components.js","sources":["../../../../taro-components-library-vue2/src/component-lib/components.ts"],"sourcesContent":["import Icon from './icon'\nimport Image from './image'\nimport Picker from './picker'\nimport ScrollView from './scroll-view'\nimport Text from './text'\n\nconst components = [\n // 视图容器\n 'taro-cover-image',\n 'taro-cover-view',\n 'taro-match-media',\n 'taro-movable-area',\n 'taro-movable-view',\n 'taro-page-container',\n 'taro-root-portal',\n ['taro-scroll-view', { type: 'component', component: ScrollView }],\n 'taro-share-element',\n 'taro-swiper',\n ['taro-swiper-item', { classNames: ['swiper-slide'] }],\n 'taro-view',\n\n // 基础内容\n ['taro-icon', { type: 'component', component: Icon }],\n ['taro-progress', { classNames: ['weui-progress'] }],\n 'taro-rich-text',\n ['taro-text', { type: 'component', component: Text }],\n\n // 表单组件\n 'taro-button',\n ['taro-checkbox', { classNames: ['weui-cells_checkbox'] }],\n 'taro-checkbox-group',\n 'taro-editor',\n 'taro-form',\n ['taro-input', { type: 'forms', event: 'input' }],\n 'taro-keyboard-accessory',\n 'taro-label',\n ['taro-picker', { type: 'component', component: Picker }],\n 'taro-picker-view',\n 'taro-picker-view-column',\n ['taro-radio', { classNames: ['weui-cells_checkbox'] }],\n ['taro-radio-group', { classNames: ['weui-cells_radiogroup'] }],\n ['taro-slider', { type: 'forms', event: 'change', modelValue: 'value', classNames: ['weui-slider-box'] }],\n ['taro-switch', { type: 'forms', event: 'change', modelValue: 'checked' }],\n ['taro-textarea', { type: 'forms', event: 'input' }],\n\n // 导航\n 'taro-functional-page-navigator',\n 'taro-navigator',\n\n // 媒体组件\n 'taro-audio',\n 'taro-camera',\n ['taro-image', { type: 'component', component: Image }],\n 'taro-live-player',\n ['taro-video', { classNames: ['taro-video-container'] }],\n 'taro-voip-room',\n\n // 地图\n 'taro-map',\n\n // 画布\n 'taro-canvas',\n\n // 开放能力\n 'taro-web-view',\n 'taro-ad',\n 'taro-ad-custom',\n 'taro-official-account',\n 'taro-open-data',\n\n // 导航栏\n 'taro-navigation-bar',\n\n // 页面属性配置节点\n 'taro-page-meta',\n\n // 其他\n 'taro-block',\n 'taro-custom-wrapper',\n 'taro-slot'\n]\n\nexport default components\n"],"names":[],"mappings":";;;;;;AAMA,MAAM,UAAU,GAAG;;IAEjB,kBAAkB;IAClB,iBAAiB;IACjB,kBAAkB;IAClB,mBAAmB;IACnB,mBAAmB;IACnB,qBAAqB;IACrB,kBAAkB;IAClB,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;IAClE,oBAAoB;IACpB,aAAa;IACb,CAAC,kBAAkB,EAAE,EAAE,UAAU,EAAE,CAAC,cAAc,C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E,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;IACvD,kBAAkB;IAClB,CAAC,YAAY,EAAE,EAAE,UAAU,EAAE,CAAC,sBAAsB,CAAC,EAAE,CAAC;IACxD,gBAAgB;;IAGhB,UAAU;;IAGV,aAAa;;IAGb,eAAe;IACf,SAAS;IACT,gBAAgB;IAChB,uBAAuB;IACvB,gBAAgB;;IAGhB,qBAAqB;;IAGrB,gBAAgB;;IAGhB,YAAY;IACZ,qBAAqB;IACrB,WAAW;;;;;"}
@@ -1,14 +0,0 @@
1
- declare function createComponent(name: any, classNames?: any[]): {
2
- name: any;
3
- mixins: ({
4
- computed: {
5
- listeners(): any;
6
- };
7
- } | {
8
- mounted(): void;
9
- beforeDestroy(): void;
10
- })[];
11
- props: string[];
12
- render(createElement: any): any;
13
- };
14
- export { createComponent as default };
@@ -1,23 +0,0 @@
1
- import { listeners } from './mixins/listeners.js';
2
- import { refs } from './mixins/refs.js';
3
-
4
- function createComponent(name, classNames = []) {
5
- return {
6
- name,
7
- mixins: [listeners, refs],
8
- props: ['nativeProps'],
9
- render(createElement) {
10
- return createElement(`${name}-core`, {
11
- class: ['hydrated', ...classNames],
12
- domProps: {
13
- nativeProps: this.nativeProps
14
- },
15
- attrs: this.$attrs,
16
- on: this.listeners
17
- }, this.$slots.default);
18
- }
19
- };
20
- }
21
-
22
- export { createComponent as default };
23
- //# sourceMappingURL=createComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createComponent.js","sources":["../../../../taro-components-library-vue2/src/component-lib/createComponent.ts"],"sourcesContent":["import { listeners } from './mixins/listeners'\nimport { refs } from './mixins/refs'\n\nexport default function createComponent (name, classNames = []) {\n return {\n name,\n mixins: [listeners, refs],\n props: ['nativeProps'],\n render (createElement) {\n return createElement(`${name}-core`, {\n class: ['hydrated', ...classNames],\n domProps: {\n nativeProps: this.nativeProps\n },\n attrs: this.$attrs,\n on: this.listeners\n }, this.$slots.default)\n }\n }\n}\n"],"names":[],"mappings":";;;AAGwB,SAAA,eAAe,CAAE,IAAI,EAAE,UAAU,GAAG,EAAE,EAAA;IAC5D,OAAO;QACL,IAAI;AACJ,QAAA,MAAM,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;QACzB,KAAK,EAAE,CAAC,aAAa,CAAC;AACtB,QAAA,MAAM,CAAE,aAAa,EAAA;AACnB,YAAA,OAAO,aAAa,CAAC,CAAG,EAAA,IAAI,OAAO,EAAE;AACnC,gBAAA,KAAK,EAAE,CAAC,UAAU,EAAE,GAAG,UAAU,CAAC;AAClC,gBAAA,QAAQ,EAAE;oBACR,WAAW,EAAE,IAAI,CAAC,WAAW;AAC9B,iBAAA;gBACD,KAAK,EAAE,IAAI,CAAC,MAAM;gBAClB,EAAE,EAAE,IAAI,CAAC,SAAS;AACnB,aAAA,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;SACxB;KACF,CAAA;AACH;;;;"}
@@ -1,22 +0,0 @@
1
- declare function createFormsComponent(name: any, event: any, modelValue?: string, classNames?: any[]): {
2
- name: any;
3
- mixins: ({
4
- computed: {
5
- listeners(): any;
6
- };
7
- } | {
8
- mounted(): void;
9
- beforeDestroy(): void;
10
- })[];
11
- model: {
12
- prop: string;
13
- event: string;
14
- };
15
- props: Record<string, any>;
16
- methods: {
17
- input(e: any): void;
18
- change(e: any): void;
19
- };
20
- render(createElement: any): any;
21
- };
22
- export { createFormsComponent as default };
@@ -1,53 +0,0 @@
1
- import { listeners } from './mixins/listeners.js';
2
- import { refs } from './mixins/refs.js';
3
-
4
- function createFormsComponent(name, event, modelValue = 'value', classNames = []) {
5
- const props = {
6
- nativeProps: {
7
- type: Object
8
- }
9
- };
10
- if (name === 'taro-input') {
11
- props.focus = Boolean;
12
- }
13
- return {
14
- name,
15
- mixins: [listeners, refs],
16
- model: {
17
- prop: modelValue,
18
- event: 'model'
19
- },
20
- props,
21
- methods: {
22
- input(e) {
23
- this.$emit('input', e);
24
- this.$emit('model', e.target.value);
25
- },
26
- change(e) {
27
- this.$emit('change', e);
28
- this.$emit('model', e.target.value);
29
- }
30
- },
31
- render(createElement) {
32
- // eslint-disable-next-line
33
- const self = this;
34
- const attrs = this.$attrs || {};
35
- if (name === 'taro-input') {
36
- attrs['auto-focus'] = self.focus;
37
- }
38
- const on = Object.assign({}, self.listeners);
39
- on[event] = self[event];
40
- return createElement(`${name}-core`, {
41
- class: ['hydrated', ...classNames],
42
- domProps: {
43
- nativeProps: this.nativeProps
44
- },
45
- attrs,
46
- on
47
- }, self.$slots.default);
48
- }
49
- };
50
- }
51
-
52
- export { createFormsComponent as default };
53
- //# sourceMappingURL=createFormsComponent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createFormsComponent.js","sources":["../../../../taro-components-library-vue2/src/component-lib/createFormsComponent.ts"],"sourcesContent":["import { listeners } from './mixins/listeners'\nimport { refs } from './mixins/refs'\n\nexport default function createFormsComponent (name, event, modelValue = 'value', classNames = []) {\n const props: Record<string, any> = {\n nativeProps: {\n type: Object\n }\n }\n if (name === 'taro-input') {\n props.focus = Boolean\n }\n\n return {\n name,\n mixins: [listeners, refs],\n model: {\n prop: modelValue,\n event: 'model'\n },\n props,\n methods: {\n input (e) {\n this.$emit('input', e)\n this.$emit('model', e.target.value)\n },\n change (e) {\n this.$emit('change', e)\n this.$emit('model', e.target.value)\n }\n },\n render (createElement) {\n // eslint-disable-next-line\n const self = this;\n\n const attrs = this.$attrs || {}\n if (name === 'taro-input') {\n attrs['auto-focus'] = self.focus\n }\n\n const on = { ...self.listeners }\n on[event] = self[event]\n\n return createElement(`${name}-core`, {\n class: ['hydrated', ...classNames],\n domProps: {\n nativeProps: this.nativeProps\n },\n attrs,\n on\n }, self.$slots.default)\n }\n }\n}\n"],"names":[],"mappings":";;;AAGwB,SAAA,oBAAoB,CAAE,IAAI,EAAE,KAAK,EAAE,UAAU,GAAG,OAAO,EAAE,UAAU,GAAG,EAAE,EAAA;AAC9F,IAAA,MAAM,KAAK,GAAwB;AACjC,QAA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O,EAAE;AACnC,gBAAA,KAAK,EAAE,CAAC,UAAU,EAAE,GAAG,UAAU,CAAC;AAClC,gBAAA,QAAQ,EAAE;oBACR,WAAW,EAAE,IAAI,CAAC,WAAW;AAC9B,iBAAA;gBACD,KAAK;gBACL,EAAE;AACH,aAAA,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;SACxB;KACF,CAAA;AACH;;;;"}
@@ -1,16 +0,0 @@
1
- declare const _default: {
2
- name: string;
3
- mixins: ({
4
- computed: {
5
- listeners(): any;
6
- };
7
- } | {
8
- mounted(): void;
9
- beforeDestroy(): void;
10
- })[];
11
- props: {
12
- type: StringConstructor;
13
- };
14
- render(createElement: any): any;
15
- };
16
- export { _default as default };
@@ -1,23 +0,0 @@
1
- import { listeners } from './mixins/listeners.js';
2
- import { refs } from './mixins/refs.js';
3
-
4
- var Icon = {
5
- name: 'taro-icon',
6
- mixins: [listeners, refs],
7
- props: {
8
- type: String
9
- },
10
- render(createElement) {
11
- const iconType = this.type.replace(/_/g, '-');
12
- return createElement('taro-icon-core', {
13
- class: ['hydrated', `weui-icon-${iconType}`],
14
- attrs: {
15
- type: this.type
16
- },
17
- on: this.listeners
18
- }, this.$slots.default);
19
- }
20
- };
21
-
22
- export { Icon as default };
23
- //# sourceMappingURL=icon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon.js","sources":["../../../../taro-components-library-vue2/src/component-lib/icon.ts"],"sourcesContent":["import { listeners } from './mixins/listeners'\nimport { refs } from './mixins/refs'\n\nexport default {\n name: 'taro-icon',\n mixins: [listeners, refs],\n props: {\n type: String\n },\n render (createElement) {\n const iconType = this.type.replace(/_/g, '-')\n return createElement('taro-icon-core', {\n class: ['hydrated', `weui-icon-${iconType}`],\n attrs: {\n type: this.type\n },\n on: this.listeners\n }, this.$slots.default)\n }\n}\n"],"names":[],"mappings":";;;AAGA,WAAe;AACb,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,MAAM,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;AACzB,IAAA,KAAK,EAAE;AACL,QAAA,IAAI,EAAE,MAAM;AACb,KAAA;AACD,IAAA,MAAM,CAAE,aAAa,EAAA;AACnB,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;QAC7C,OAAO,aAAa,CAAC,gBAAgB,EAAE;AACrC,YAAA,KAAK,EAAE,CAAC,UAAU,EAAE,CAAa,UAAA,EAAA,QAAQ,EAAE,CAAC;AAC5C,YAAA,KAAK,EAAE;gBACL,IAAI,EAAE,IAAI,CAAC,IAAI;AAChB,aAAA;YACD,EAAE,EAAE,IAAI,CAAC,SAAS;AACnB,SAAA,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;KACxB;CACF;;;;"}
@@ -1,16 +0,0 @@
1
- declare const _default: {
2
- name: string;
3
- mixins: ({
4
- computed: {
5
- listeners(): any;
6
- };
7
- } | {
8
- mounted(): void;
9
- beforeDestroy(): void;
10
- })[];
11
- props: {
12
- mode: StringConstructor;
13
- };
14
- render(createElement: any): any;
15
- };
16
- export { _default as default };
@@ -1,24 +0,0 @@
1
- import { listeners } from './mixins/listeners.js';
2
- import { refs } from './mixins/refs.js';
3
-
4
- var Image = {
5
- name: 'taro-image',
6
- mixins: [listeners, refs],
7
- props: {
8
- mode: String
9
- },
10
- render(createElement) {
11
- return createElement('taro-image-core', {
12
- class: ['hydrated', {
13
- 'taro-img__widthfix': this.mode === 'widthFix'
14
- }],
15
- attrs: {
16
- mode: this.mode
17
- },
18
- on: this.listeners
19
- }, this.$slots.default);
20
- }
21
- };
22
-
23
- export { Image as default };
24
- //# sourceMappingURL=image.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"image.js","sources":["../../../../taro-components-library-vue2/src/component-lib/image.ts"],"sourcesContent":["import { listeners } from './mixins/listeners'\nimport { refs } from './mixins/refs'\n\nexport default {\n name: 'taro-image',\n mixins: [listeners, refs],\n props: {\n mode: String\n },\n render (createElement) {\n return createElement('taro-image-core', {\n class: ['hydrated', {\n 'taro-img__widthfix': this.mode === 'widthFix'\n }],\n attrs: {\n mode: this.mode\n },\n on: this.listeners\n }, this.$slots.default)\n }\n}\n"],"names":[],"mappings":";;;AAGA,YAAe;AACb,IAAA,IAAI,EAAE,YAAY;AAClB,IAAA,MAAM,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;AACzB,IAAA,KAAK,EAAE;AACL,QAAA,IAAI,EAAE,MAAM;AACb,KAAA;AACD,IAAA,MAAM,CAAE,aAAa,EAAA;QACnB,OAAO,aAAa,CAAC,iBAAiB,EAAE;YACtC,KAAK,EAAE,CAAC,UAAU,EAAE;AAClB,oBAAA,oBAAoB,EAAE,IAAI,CAAC,IAAI,KAAK,UAAU;iBAC/C,CAAC;AACF,YAAA,KAAK,EAAE;gBACL,IAAI,EAAE,IAAI,CAAC,IAAI;AAChB,aAAA;YACD,EAAE,EAAE,IAAI,CAAC,SAAS;AACnB,SAAA,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;KACxB;CACF;;;;"}
@@ -1 +0,0 @@
1
- export {};